2022-05-06 19:40:17 +02:00
|
|
|
import { Application } from '@hotwired/stimulus';
|
|
|
|
|
2022-05-06 19:42:40 +02:00
|
|
|
import { AutosaveController } from './autosave_controller';
|
2022-05-06 19:43:07 +02:00
|
|
|
import { AutosaveStatusController } from './autosave_status_controller';
|
2022-05-11 16:29:18 +02:00
|
|
|
import { GeoAreaController } from './geo_area_controller';
|
2022-05-11 09:50:57 +02:00
|
|
|
import { MenuButtonController } from './menu_button_controller';
|
2022-05-18 12:41:01 +02:00
|
|
|
import { PersistedFormController } from './persisted_form_controller';
|
2022-05-11 16:29:18 +02:00
|
|
|
import { ReactController } from './react_controller';
|
2022-05-18 12:41:01 +02:00
|
|
|
import { ScrollToController } from './scroll_to_controller';
|
2022-05-11 16:29:18 +02:00
|
|
|
import { TurboEventController } from './turbo_event_controller';
|
|
|
|
import { TurboInputController } from './turbo_input_controller';
|
|
|
|
import { TurboPollController } from './turbo_poll_controller';
|
2022-05-06 19:40:17 +02:00
|
|
|
|
|
|
|
const Stimulus = Application.start();
|
2022-05-11 16:29:18 +02:00
|
|
|
Stimulus.register('autosave-status', AutosaveStatusController);
|
|
|
|
Stimulus.register('autosave', AutosaveController);
|
|
|
|
Stimulus.register('geo-area', GeoAreaController);
|
|
|
|
Stimulus.register('menu-button', MenuButtonController);
|
2022-05-18 12:41:01 +02:00
|
|
|
Stimulus.register('persisted-form', PersistedFormController);
|
2022-05-06 19:40:17 +02:00
|
|
|
Stimulus.register('react', ReactController);
|
2022-05-18 12:41:01 +02:00
|
|
|
Stimulus.register('scroll-to', ScrollToController);
|
2022-05-06 19:40:17 +02:00
|
|
|
Stimulus.register('turbo-event', TurboEventController);
|
|
|
|
Stimulus.register('turbo-input', TurboInputController);
|
2022-05-11 16:29:18 +02:00
|
|
|
Stimulus.register('turbo-poll', TurboPollController);
|