2026-07-31 17:41:55 +03:00
|
|
|
// Register all Stimulus controllers here.
|
|
|
|
|
// Example:
|
|
|
|
|
// import HelloController from './controllers/hello_controller';
|
|
|
|
|
// application.register('hello', HelloController);
|
|
|
|
|
|
2026-08-08 14:50:10 +03:00
|
|
|
import AppearController from './appear-controller'
|
2026-08-31 22:56:40 +03:00
|
|
|
import AutoSubmitController from './auto-submit-controller'
|
2026-07-31 17:41:55 +03:00
|
|
|
import BackToTopController from './back-to-top-controller'
|
2026-09-04 19:39:37 +03:00
|
|
|
import CartCountController from './cart-count-controller'
|
2026-08-08 14:50:10 +03:00
|
|
|
import CarouselController from './carousel-controller'
|
2026-09-23 17:53:23 +03:00
|
|
|
import CustomFieldUploadController from './custom-field-upload-controller'
|
2026-08-31 21:52:47 +03:00
|
|
|
import DropdownController from './dropdown-controller'
|
2026-09-03 16:28:10 +03:00
|
|
|
import FrameScrollController from './frame-scroll-controller'
|
|
|
|
|
import NavSearchController from './nav-search-controller'
|
2026-07-31 17:41:55 +03:00
|
|
|
import ProductFormController from './product-form-controller'
|
|
|
|
|
import ProductGalleryController from './product-gallery-controller'
|
|
|
|
|
import QuantityController from './quantity-controller'
|
2026-08-31 21:52:47 +03:00
|
|
|
import RangeSliderController from './range-slider-controller'
|
2026-07-31 17:41:55 +03:00
|
|
|
import StarRatingController from './star-rating-controller'
|
2026-09-22 19:18:55 +03:00
|
|
|
import TabLinkController from './tab-link-controller'
|
2026-07-31 17:41:55 +03:00
|
|
|
import TabsController from './tabs-controller'
|
2026-09-24 17:27:58 +03:00
|
|
|
import WishlistController from './wishlist-controller'
|
2026-07-31 17:41:55 +03:00
|
|
|
|
|
|
|
|
export function registerControllers(application) {
|
2026-08-08 14:50:10 +03:00
|
|
|
application.register('appear', AppearController)
|
2026-08-31 22:56:40 +03:00
|
|
|
application.register('auto-submit', AutoSubmitController)
|
2026-07-31 17:41:55 +03:00
|
|
|
application.register('back-to-top', BackToTopController)
|
2026-09-04 19:39:37 +03:00
|
|
|
application.register('cart-count', CartCountController)
|
2026-08-08 14:50:10 +03:00
|
|
|
application.register('carousel', CarouselController)
|
2026-09-23 17:53:23 +03:00
|
|
|
application.register('custom-field-upload', CustomFieldUploadController)
|
2026-08-31 21:52:47 +03:00
|
|
|
application.register('dropdown', DropdownController)
|
2026-09-03 16:28:10 +03:00
|
|
|
application.register('frame-scroll', FrameScrollController)
|
|
|
|
|
application.register('nav-search', NavSearchController)
|
2026-07-31 17:41:55 +03:00
|
|
|
application.register('product-form', ProductFormController)
|
|
|
|
|
application.register('product-gallery', ProductGalleryController)
|
|
|
|
|
application.register('quantity', QuantityController)
|
2026-08-31 21:52:47 +03:00
|
|
|
application.register('range-slider', RangeSliderController)
|
2026-07-31 17:41:55 +03:00
|
|
|
application.register('star-rating', StarRatingController)
|
2026-09-22 19:18:55 +03:00
|
|
|
application.register('tab-link', TabLinkController)
|
2026-07-31 17:41:55 +03:00
|
|
|
application.register('tabs', TabsController)
|
2026-09-24 17:27:58 +03:00
|
|
|
application.register('wishlist', WishlistController)
|
2026-07-31 17:41:55 +03:00
|
|
|
}
|