Sha256: 6c26830c6ed89d3a34496d701e1be6872aa41294002699c73ac57f8468613e80

Contents?: true

Size: 1.73 KB

Versions: 41

Compression:

Stored size: 1.73 KB

Contents

import { identifierForContextKey } from "@hotwired/stimulus-webpack-helpers"

import FieldController from './fields/field_controller'
import ButtonToggleController from './fields/button_toggle_controller'
import CloudinaryImageController from './fields/cloudinary_image_controller'
import ColorPickerController from './fields/color_picker_controller'
import DateController from './fields/date_controller'
import EmojiPickerController from './fields/emoji_picker_controller'
import FileFieldController from './fields/file_field_controller'
import PasswordController from './fields/password_controller'
import PhoneController from './fields/phone_controller'
import SuperSelectController from './fields/super_select_controller'

export const controllerDefinitions = [
  [FieldController, 'fields/field_controller.js'],
  [ButtonToggleController, 'fields/button_toggle_controller.js'],
  [CloudinaryImageController, 'fields/cloudinary_image_controller.js'],
  [ColorPickerController, 'fields/color_picker_controller.js'],
  [DateController, 'fields/date_controller.js'],
  [EmojiPickerController, 'fields/emoji_picker_controller.js'],
  [FileFieldController, 'fields/file_field_controller.js'],
  [PasswordController, 'fields/password_controller.js'],
  [PhoneController, 'fields/phone_controller.js'],
  [SuperSelectController, 'fields/super_select_controller.js'],
].map(function(d) {
  const key = d[1]
  const controller = d[0]
  return {
    identifier: identifierForContextKey(key),
    controllerConstructor: controller
  }
})

export {
  FieldController,
  ButtonToggleController,
  CloudinaryImageController,
  ColorPickerController,
  DateController,
  EmojiPickerController,
  FileFieldController,
  PasswordController,
  PhoneController,
  SuperSelectController,
}

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
bullet_train-fields-1.2.20 app/javascript/controllers/index.js
bullet_train-fields-1.2.19 app/javascript/controllers/index.js
bullet_train-fields-1.2.18 app/javascript/controllers/index.js
bullet_train-fields-1.2.17 app/javascript/controllers/index.js
bullet_train-fields-1.2.16 app/javascript/controllers/index.js
bullet_train-fields-1.2.15 app/javascript/controllers/index.js
bullet_train-fields-1.2.14 app/javascript/controllers/index.js
bullet_train-fields-1.2.13 app/javascript/controllers/index.js
bullet_train-fields-1.2.12 app/javascript/controllers/index.js
bullet_train-fields-1.2.11 app/javascript/controllers/index.js
bullet_train-fields-1.2.10 app/javascript/controllers/index.js
bullet_train-fields-1.2.9 app/javascript/controllers/index.js
bullet_train-fields-1.2.8 app/javascript/controllers/index.js
bullet_train-fields-1.2.7 app/javascript/controllers/index.js
bullet_train-fields-1.2.6 app/javascript/controllers/index.js
bullet_train-fields-1.2.5 app/javascript/controllers/index.js
bullet_train-fields-1.2.4 app/javascript/controllers/index.js
bullet_train-fields-1.2.3 app/javascript/controllers/index.js
bullet_train-fields-1.2.2 app/javascript/controllers/index.js
bullet_train-fields-1.2.1 app/javascript/controllers/index.js