@hokulea/ember 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/config.js +10 -0
- package/lib/css-modules-plugin.js +43 -0
- package/lib/index.js +30 -0
- package/lib/webpack-asset-loader-plugin.js +23 -0
- package/package.json +5 -4
- package/declarations/-private/form/components/description.d.ts +0 -10
- package/declarations/-private/form/components/description.d.ts.map +0 -1
- package/declarations/-private/form/components/errors.d.ts +0 -15
- package/declarations/-private/form/components/errors.d.ts.map +0 -1
- package/declarations/-private/form/components/field.d.ts +0 -141
- package/declarations/-private/form/components/field.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/checkbox.d.ts +0 -15
- package/declarations/-private/form/components/fields/checkbox.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/currency.d.ts +0 -15
- package/declarations/-private/form/components/fields/currency.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/date.d.ts +0 -15
- package/declarations/-private/form/components/fields/date.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/email.d.ts +0 -15
- package/declarations/-private/form/components/fields/email.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/list.d.ts +0 -27
- package/declarations/-private/form/components/fields/list.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/multiple-choice.d.ts +0 -58
- package/declarations/-private/form/components/fields/multiple-choice.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/number.d.ts +0 -15
- package/declarations/-private/form/components/fields/number.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/password.d.ts +0 -15
- package/declarations/-private/form/components/fields/password.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/phone.d.ts +0 -15
- package/declarations/-private/form/components/fields/phone.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/select.d.ts +0 -16
- package/declarations/-private/form/components/fields/select.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/singular-choice.d.ts +0 -56
- package/declarations/-private/form/components/fields/singular-choice.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/stories-utils.d.ts +0 -50
- package/declarations/-private/form/components/fields/stories-utils.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/text-area.d.ts +0 -15
- package/declarations/-private/form/components/fields/text-area.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/text.d.ts +0 -15
- package/declarations/-private/form/components/fields/text.d.ts.map +0 -1
- package/declarations/-private/form/components/label.d.ts +0 -16
- package/declarations/-private/form/components/label.d.ts.map +0 -1
- package/declarations/-private/form/components/reset.d.ts +0 -24
- package/declarations/-private/form/components/reset.d.ts.map +0 -1
- package/declarations/-private/form/components/submit.d.ts +0 -24
- package/declarations/-private/form/components/submit.d.ts.map +0 -1
- package/declarations/-private/form/index.d.ts +0 -49
- package/declarations/-private/form/index.d.ts.map +0 -1
- package/declarations/-private/form/modifiers/capture-events.d.ts +0 -21
- package/declarations/-private/form/modifiers/capture-events.d.ts.map +0 -1
- package/declarations/-private/form/modifiers/manage-validation.d.ts +0 -21
- package/declarations/-private/form/modifiers/manage-validation.d.ts.map +0 -1
- package/declarations/-private/helpers.d.ts +0 -10
- package/declarations/-private/helpers.d.ts.map +0 -1
- package/declarations/-private/modifiers/disabled.d.ts +0 -20
- package/declarations/-private/modifiers/disabled.d.ts.map +0 -1
- package/declarations/components/-input.d.ts +0 -7
- package/declarations/components/-input.d.ts.map +0 -1
- package/declarations/components/-menu.d.ts +0 -22
- package/declarations/components/-menu.d.ts.map +0 -1
- package/declarations/components/app-header.d.ts +0 -49
- package/declarations/components/app-header.d.ts.map +0 -1
- package/declarations/components/box.d.ts +0 -16
- package/declarations/components/box.d.ts.map +0 -1
- package/declarations/components/button.d.ts +0 -26
- package/declarations/components/button.d.ts.map +0 -1
- package/declarations/components/card.d.ts +0 -13
- package/declarations/components/card.d.ts.map +0 -1
- package/declarations/components/checkbox.d.ts +0 -9
- package/declarations/components/checkbox.d.ts.map +0 -1
- package/declarations/components/currency-input.d.ts +0 -9
- package/declarations/components/currency-input.d.ts.map +0 -1
- package/declarations/components/date-input.d.ts +0 -9
- package/declarations/components/date-input.d.ts.map +0 -1
- package/declarations/components/dialog.d.ts +0 -26
- package/declarations/components/dialog.d.ts.map +0 -1
- package/declarations/components/email-input.d.ts +0 -9
- package/declarations/components/email-input.d.ts.map +0 -1
- package/declarations/components/form.d.ts +0 -312
- package/declarations/components/form.d.ts.map +0 -1
- package/declarations/components/icon-button.d.ts +0 -27
- package/declarations/components/icon-button.d.ts.map +0 -1
- package/declarations/components/icon.d.ts +0 -13698
- package/declarations/components/icon.d.ts.map +0 -1
- package/declarations/components/input-builder.d.ts +0 -29
- package/declarations/components/input-builder.d.ts.map +0 -1
- package/declarations/components/list.d.ts +0 -51
- package/declarations/components/list.d.ts.map +0 -1
- package/declarations/components/list.stories copy.d.ts +0 -27
- package/declarations/components/list.stories copy.d.ts.map +0 -1
- package/declarations/components/main.d.ts +0 -18
- package/declarations/components/main.d.ts.map +0 -1
- package/declarations/components/menu.d.ts +0 -36
- package/declarations/components/menu.d.ts.map +0 -1
- package/declarations/components/menu.stories copy.d.ts +0 -25
- package/declarations/components/menu.stories copy.d.ts.map +0 -1
- package/declarations/components/number-input.d.ts +0 -9
- package/declarations/components/number-input.d.ts.map +0 -1
- package/declarations/components/page copy.d.ts +0 -17
- package/declarations/components/page copy.d.ts.map +0 -1
- package/declarations/components/page-header.d.ts +0 -16
- package/declarations/components/page-header.d.ts.map +0 -1
- package/declarations/components/page.d.ts +0 -32
- package/declarations/components/page.d.ts.map +0 -1
- package/declarations/components/password-input.d.ts +0 -9
- package/declarations/components/password-input.d.ts.map +0 -1
- package/declarations/components/phone-input.d.ts +0 -9
- package/declarations/components/phone-input.d.ts.map +0 -1
- package/declarations/components/popover.d.ts +0 -10
- package/declarations/components/popover.d.ts.map +0 -1
- package/declarations/components/radio.d.ts +0 -9
- package/declarations/components/radio.d.ts.map +0 -1
- package/declarations/components/section.d.ts +0 -19
- package/declarations/components/section.d.ts.map +0 -1
- package/declarations/components/section.stories copy.d.ts +0 -18
- package/declarations/components/section.stories copy.d.ts.map +0 -1
- package/declarations/components/select.d.ts +0 -36
- package/declarations/components/select.d.ts.map +0 -1
- package/declarations/components/test.d.ts +0 -26
- package/declarations/components/test.d.ts.map +0 -1
- package/declarations/components/text-area.d.ts +0 -9
- package/declarations/components/text-area.d.ts.map +0 -1
- package/declarations/components/text-input.d.ts +0 -9
- package/declarations/components/text-input.d.ts.map +0 -1
- package/declarations/helpers/popover.d.ts +0 -30
- package/declarations/helpers/popover.d.ts.map +0 -1
- package/declarations/index.d.ts +0 -27
- package/declarations/index.d.ts.map +0 -1
- package/declarations/modifiers/popover.d.ts +0 -31
- package/declarations/modifiers/popover.d.ts.map +0 -1
- package/declarations/src/-private/form/components/description.d.ts +0 -11
- package/declarations/src/-private/form/components/description.d.ts.map +0 -1
- package/declarations/src/-private/form/components/errors.d.ts +0 -15
- package/declarations/src/-private/form/components/errors.d.ts.map +0 -1
- package/declarations/src/-private/form/components/field.d.ts +0 -141
- package/declarations/src/-private/form/components/field.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/checkbox.d.ts +0 -15
- package/declarations/src/-private/form/components/fields/checkbox.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/currency.d.ts +0 -15
- package/declarations/src/-private/form/components/fields/currency.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/date.d.ts +0 -15
- package/declarations/src/-private/form/components/fields/date.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/email.d.ts +0 -15
- package/declarations/src/-private/form/components/fields/email.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/list.d.ts +0 -27
- package/declarations/src/-private/form/components/fields/list.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/multiple-choice.d.ts +0 -58
- package/declarations/src/-private/form/components/fields/multiple-choice.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/number.d.ts +0 -15
- package/declarations/src/-private/form/components/fields/number.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/password.d.ts +0 -15
- package/declarations/src/-private/form/components/fields/password.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/phone.d.ts +0 -15
- package/declarations/src/-private/form/components/fields/phone.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/select.d.ts +0 -16
- package/declarations/src/-private/form/components/fields/select.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/singular-choice.d.ts +0 -56
- package/declarations/src/-private/form/components/fields/singular-choice.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/stories-utils.d.ts +0 -50
- package/declarations/src/-private/form/components/fields/stories-utils.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/text-area.d.ts +0 -15
- package/declarations/src/-private/form/components/fields/text-area.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/text.d.ts +0 -15
- package/declarations/src/-private/form/components/fields/text.d.ts.map +0 -1
- package/declarations/src/-private/form/components/label.d.ts +0 -17
- package/declarations/src/-private/form/components/label.d.ts.map +0 -1
- package/declarations/src/-private/form/components/reset.d.ts +0 -25
- package/declarations/src/-private/form/components/reset.d.ts.map +0 -1
- package/declarations/src/-private/form/components/submit.d.ts +0 -25
- package/declarations/src/-private/form/components/submit.d.ts.map +0 -1
- package/declarations/src/-private/form/index.d.ts +0 -49
- package/declarations/src/-private/form/index.d.ts.map +0 -1
- package/declarations/src/-private/form/modifiers/capture-events.d.ts +0 -21
- package/declarations/src/-private/form/modifiers/capture-events.d.ts.map +0 -1
- package/declarations/src/-private/form/modifiers/manage-validation.d.ts +0 -21
- package/declarations/src/-private/form/modifiers/manage-validation.d.ts.map +0 -1
- package/declarations/src/-private/helpers.d.ts +0 -10
- package/declarations/src/-private/helpers.d.ts.map +0 -1
- package/declarations/src/-private/modifiers/disabled.d.ts +0 -20
- package/declarations/src/-private/modifiers/disabled.d.ts.map +0 -1
- package/declarations/src/components/-input.d.ts +0 -7
- package/declarations/src/components/-input.d.ts.map +0 -1
- package/declarations/src/components/-menu.d.ts +0 -22
- package/declarations/src/components/-menu.d.ts.map +0 -1
- package/declarations/src/components/app-header.d.ts +0 -48
- package/declarations/src/components/app-header.d.ts.map +0 -1
- package/declarations/src/components/box.d.ts +0 -16
- package/declarations/src/components/box.d.ts.map +0 -1
- package/declarations/src/components/button.d.ts +0 -27
- package/declarations/src/components/button.d.ts.map +0 -1
- package/declarations/src/components/card.d.ts +0 -14
- package/declarations/src/components/card.d.ts.map +0 -1
- package/declarations/src/components/checkbox.d.ts +0 -10
- package/declarations/src/components/checkbox.d.ts.map +0 -1
- package/declarations/src/components/currency-input.d.ts +0 -10
- package/declarations/src/components/currency-input.d.ts.map +0 -1
- package/declarations/src/components/date-input.d.ts +0 -10
- package/declarations/src/components/date-input.d.ts.map +0 -1
- package/declarations/src/components/email-input.d.ts +0 -10
- package/declarations/src/components/email-input.d.ts.map +0 -1
- package/declarations/src/components/form.d.ts +0 -313
- package/declarations/src/components/form.d.ts.map +0 -1
- package/declarations/src/components/icon-button.d.ts +0 -23
- package/declarations/src/components/icon-button.d.ts.map +0 -1
- package/declarations/src/components/icon.d.ts +0 -11
- package/declarations/src/components/icon.d.ts.map +0 -1
- package/declarations/src/components/input-builder.d.ts +0 -30
- package/declarations/src/components/input-builder.d.ts.map +0 -1
- package/declarations/src/components/list.d.ts +0 -55
- package/declarations/src/components/list.d.ts.map +0 -1
- package/declarations/src/components/menu.d.ts +0 -40
- package/declarations/src/components/menu.d.ts.map +0 -1
- package/declarations/src/components/number-input.d.ts +0 -10
- package/declarations/src/components/number-input.d.ts.map +0 -1
- package/declarations/src/components/password-input.d.ts +0 -10
- package/declarations/src/components/password-input.d.ts.map +0 -1
- package/declarations/src/components/phone-input.d.ts +0 -10
- package/declarations/src/components/phone-input.d.ts.map +0 -1
- package/declarations/src/components/radio.d.ts +0 -10
- package/declarations/src/components/radio.d.ts.map +0 -1
- package/declarations/src/components/section.d.ts +0 -20
- package/declarations/src/components/section.d.ts.map +0 -1
- package/declarations/src/components/select.d.ts +0 -37
- package/declarations/src/components/select.d.ts.map +0 -1
- package/declarations/src/components/text-area.d.ts +0 -10
- package/declarations/src/components/text-area.d.ts.map +0 -1
- package/declarations/src/components/text-input.d.ts +0 -10
- package/declarations/src/components/text-input.d.ts.map +0 -1
- package/declarations/src/helpers/popover.d.ts +0 -32
- package/declarations/src/helpers/popover.d.ts.map +0 -1
- package/declarations/src/index.d.ts +0 -25
- package/declarations/src/index.d.ts.map +0 -1
- package/declarations/src/template-registry.d.ts +0 -49
- package/declarations/src/template-registry.d.ts.map +0 -1
- package/declarations/src/test-support/index.d.ts +0 -16
- package/declarations/src/test-support/index.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/-menu.d.ts +0 -11
- package/declarations/src/test-support/page-objects/-menu.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/-private/choices.d.ts +0 -61
- package/declarations/src/test-support/page-objects/-private/choices.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/-private/field.d.ts +0 -50
- package/declarations/src/test-support/page-objects/-private/field.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/app-header.d.ts +0 -73
- package/declarations/src/test-support/page-objects/app-header.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/button.d.ts +0 -14
- package/declarations/src/test-support/page-objects/button.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/choice.d.ts +0 -12
- package/declarations/src/test-support/page-objects/choice.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/form.d.ts +0 -15
- package/declarations/src/test-support/page-objects/form.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/icon-button.d.ts +0 -13
- package/declarations/src/test-support/page-objects/icon-button.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/icon.d.ts +0 -8
- package/declarations/src/test-support/page-objects/icon.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/input-builder.d.ts +0 -15
- package/declarations/src/test-support/page-objects/input-builder.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/input.d.ts +0 -17
- package/declarations/src/test-support/page-objects/input.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/list.d.ts +0 -10
- package/declarations/src/test-support/page-objects/list.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/menu.d.ts +0 -19
- package/declarations/src/test-support/page-objects/menu.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/pill-button.d.ts +0 -14
- package/declarations/src/test-support/page-objects/pill-button.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/section.d.ts +0 -9
- package/declarations/src/test-support/page-objects/section.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/select.d.ts +0 -10
- package/declarations/src/test-support/page-objects/select.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/text-area.d.ts +0 -9
- package/declarations/src/test-support/page-objects/text-area.d.ts.map +0 -1
- package/declarations/template-registry.d.ts +0 -53
- package/declarations/template-registry.d.ts.map +0 -1
- package/declarations/test-support/index.d.ts +0 -18
- package/declarations/test-support/index.d.ts.map +0 -1
- package/declarations/test-support/page-objects/-menu.d.ts +0 -12
- package/declarations/test-support/page-objects/-menu.d.ts.map +0 -1
- package/declarations/test-support/page-objects/-private/choices.d.ts +0 -15
- package/declarations/test-support/page-objects/-private/choices.d.ts.map +0 -1
- package/declarations/test-support/page-objects/-private/field.d.ts +0 -51
- package/declarations/test-support/page-objects/-private/field.d.ts.map +0 -1
- package/declarations/test-support/page-objects/app-header.d.ts +0 -103
- package/declarations/test-support/page-objects/app-header.d.ts.map +0 -1
- package/declarations/test-support/page-objects/button.d.ts +0 -14
- package/declarations/test-support/page-objects/button.d.ts.map +0 -1
- package/declarations/test-support/page-objects/choice.d.ts +0 -12
- package/declarations/test-support/page-objects/choice.d.ts.map +0 -1
- package/declarations/test-support/page-objects/form.d.ts +0 -15
- package/declarations/test-support/page-objects/form.d.ts.map +0 -1
- package/declarations/test-support/page-objects/icon-button.d.ts +0 -13
- package/declarations/test-support/page-objects/icon-button.d.ts.map +0 -1
- package/declarations/test-support/page-objects/icon.d.ts +0 -9
- package/declarations/test-support/page-objects/icon.d.ts.map +0 -1
- package/declarations/test-support/page-objects/input-builder.d.ts +0 -15
- package/declarations/test-support/page-objects/input-builder.d.ts.map +0 -1
- package/declarations/test-support/page-objects/input.d.ts +0 -17
- package/declarations/test-support/page-objects/input.d.ts.map +0 -1
- package/declarations/test-support/page-objects/list copy.d.ts +0 -10
- package/declarations/test-support/page-objects/list copy.d.ts.map +0 -1
- package/declarations/test-support/page-objects/list.d.ts +0 -10
- package/declarations/test-support/page-objects/list.d.ts.map +0 -1
- package/declarations/test-support/page-objects/menu copy.d.ts +0 -9
- package/declarations/test-support/page-objects/menu copy.d.ts.map +0 -1
- package/declarations/test-support/page-objects/menu.d.ts +0 -20
- package/declarations/test-support/page-objects/menu.d.ts.map +0 -1
- package/declarations/test-support/page-objects/page.d.ts +0 -12
- package/declarations/test-support/page-objects/page.d.ts.map +0 -1
- package/declarations/test-support/page-objects/pill-button.d.ts +0 -14
- package/declarations/test-support/page-objects/pill-button.d.ts.map +0 -1
- package/declarations/test-support/page-objects/popover.d.ts +0 -7
- package/declarations/test-support/page-objects/popover.d.ts.map +0 -1
- package/declarations/test-support/page-objects/section copy.d.ts +0 -9
- package/declarations/test-support/page-objects/section copy.d.ts.map +0 -1
- package/declarations/test-support/page-objects/section.d.ts +0 -9
- package/declarations/test-support/page-objects/section.d.ts.map +0 -1
- package/declarations/test-support/page-objects/select.d.ts +0 -10
- package/declarations/test-support/page-objects/select.d.ts.map +0 -1
- package/declarations/test-support/page-objects/text-area.d.ts +0 -9
- package/declarations/test-support/page-objects/text-area.d.ts.map +0 -1
- package/dist/-input-DGR-n9U_.js +0 -9
- package/dist/-input-DGR-n9U_.js.map +0 -1
- package/dist/_app_/components/app-header.js +0 -1
- package/dist/_app_/components/box.js +0 -1
- package/dist/_app_/components/button.js +0 -1
- package/dist/_app_/components/card.js +0 -1
- package/dist/_app_/components/checkbox.js +0 -1
- package/dist/_app_/components/currency-input.js +0 -1
- package/dist/_app_/components/date-input.js +0 -1
- package/dist/_app_/components/email-input.js +0 -1
- package/dist/_app_/components/form.js +0 -1
- package/dist/_app_/components/icon-button.js +0 -1
- package/dist/_app_/components/icon.js +0 -1
- package/dist/_app_/components/input-builder.js +0 -1
- package/dist/_app_/components/list.js +0 -1
- package/dist/_app_/components/menu.js +0 -1
- package/dist/_app_/components/number-input.js +0 -1
- package/dist/_app_/components/page.js +0 -1
- package/dist/_app_/components/password-input.js +0 -1
- package/dist/_app_/components/phone-input.js +0 -1
- package/dist/_app_/components/popover.js +0 -1
- package/dist/_app_/components/radio.js +0 -1
- package/dist/_app_/components/section.js +0 -1
- package/dist/_app_/components/select.js +0 -1
- package/dist/_app_/components/text-area.js +0 -1
- package/dist/_app_/components/text-input.js +0 -1
- package/dist/_app_/helpers/popover.js +0 -1
- package/dist/components/app-header.js +0 -126
- package/dist/components/app-header.js.map +0 -1
- package/dist/components/box.js +0 -20
- package/dist/components/box.js.map +0 -1
- package/dist/components/button.js +0 -47
- package/dist/components/button.js.map +0 -1
- package/dist/components/card.js +0 -16
- package/dist/components/card.js.map +0 -1
- package/dist/components/checkbox.js +0 -18
- package/dist/components/checkbox.js.map +0 -1
- package/dist/components/currency-input.js +0 -22
- package/dist/components/currency-input.js.map +0 -1
- package/dist/components/date-input.js +0 -18
- package/dist/components/date-input.js.map +0 -1
- package/dist/components/email-input.js +0 -18
- package/dist/components/email-input.js.map +0 -1
- package/dist/components/form.js +0 -826
- package/dist/components/form.js.map +0 -1
- package/dist/components/icon-button.js +0 -29
- package/dist/components/icon-button.js.map +0 -1
- package/dist/components/icon.js +0 -41
- package/dist/components/icon.js.map +0 -1
- package/dist/components/input-builder.js +0 -20
- package/dist/components/input-builder.js.map +0 -1
- package/dist/components/list.js +0 -66
- package/dist/components/list.js.map +0 -1
- package/dist/components/menu.js +0 -106
- package/dist/components/menu.js.map +0 -1
- package/dist/components/number-input.js +0 -20
- package/dist/components/number-input.js.map +0 -1
- package/dist/components/page.js +0 -65
- package/dist/components/page.js.map +0 -1
- package/dist/components/password-input.js +0 -18
- package/dist/components/password-input.js.map +0 -1
- package/dist/components/phone-input.js +0 -18
- package/dist/components/phone-input.js.map +0 -1
- package/dist/components/popover.js +0 -14
- package/dist/components/popover.js.map +0 -1
- package/dist/components/radio.js +0 -18
- package/dist/components/radio.js.map +0 -1
- package/dist/components/section.js +0 -25
- package/dist/components/section.js.map +0 -1
- package/dist/components/select.js +0 -39
- package/dist/components/select.js.map +0 -1
- package/dist/components/text-area.js +0 -18
- package/dist/components/text-area.js.map +0 -1
- package/dist/components/text-input.js +0 -18
- package/dist/components/text-input.js.map +0 -1
- package/dist/disabled-B_FQ0Z51.js +0 -27
- package/dist/disabled-B_FQ0Z51.js.map +0 -1
- package/dist/helpers/popover.js +0 -74
- package/dist/helpers/popover.js.map +0 -1
- package/dist/helpers-DApiJrHl.js +0 -28
- package/dist/helpers-DApiJrHl.js.map +0 -1
- package/dist/index.js +0 -26
- package/dist/index.js.map +0 -1
- package/dist/template-registry.js +0 -2
- package/dist/template-registry.js.map +0 -1
- package/dist/test-support/index.js +0 -381
- package/dist/test-support/index.js.map +0 -1
package/lib/config.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
const ModulesMap = {
|
|
2
|
+
'@hokulea/core/actions.css': '@hokulea/core/actions.module.css',
|
|
3
|
+
'@hokulea/core/content.css': '@hokulea/core/content.module.css',
|
|
4
|
+
// '@hokulea/core/icons.css': '@hokulea/core/icons.module.css',
|
|
5
|
+
'@hokulea/core/layouts.css': '@hokulea/core/layouts.module.css'
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
module.exports = {
|
|
9
|
+
ModulesMap
|
|
10
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// eslint-disable-next-line n/no-unpublished-require, n/no-missing-require
|
|
2
|
+
const Plugin = require('ember-css-modules/lib/plugin');
|
|
3
|
+
const { ModulesMap } = require('./config');
|
|
4
|
+
const debug = require('debug')('hokulea:css-module');
|
|
5
|
+
|
|
6
|
+
class HokuleaCssModulesPlugin extends Plugin {
|
|
7
|
+
virtualModules = {};
|
|
8
|
+
|
|
9
|
+
constructor(parent) {
|
|
10
|
+
super(parent);
|
|
11
|
+
|
|
12
|
+
const app = this.isForAddon() ? parent.parent : parent;
|
|
13
|
+
|
|
14
|
+
this.buildVirtualModules(app);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
buildVirtualModules(app) {
|
|
18
|
+
const virtualModules = {};
|
|
19
|
+
|
|
20
|
+
for (const [css, js] of Object.entries(ModulesMap)) {
|
|
21
|
+
try {
|
|
22
|
+
virtualModules[css] = require(
|
|
23
|
+
require.resolve(js, {
|
|
24
|
+
paths: [app.root]
|
|
25
|
+
})
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
debug(css);
|
|
29
|
+
} catch (_) {
|
|
30
|
+
// ok, we ignore this
|
|
31
|
+
console.error(_);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
this.virtualModules = virtualModules;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
config() {
|
|
39
|
+
return { virtualModules: this.virtualModules };
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
module.exports = { HokuleaCssModulesPlugin };
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const fs = require('node:fs');
|
|
2
|
+
const { HokuleaAssetLoaderWebpackPlugin } = require('./webpack-asset-loader-plugin');
|
|
3
|
+
|
|
4
|
+
function importAssets(app) {
|
|
5
|
+
const paths = [
|
|
6
|
+
// pnpm
|
|
7
|
+
'node_modules/@hokulea/ember/node_modules/@hokulea/core/dist/index.css'
|
|
8
|
+
];
|
|
9
|
+
|
|
10
|
+
let found = false;
|
|
11
|
+
|
|
12
|
+
for (const stylesPath of paths) {
|
|
13
|
+
if (!found && fs.existsSync(stylesPath)) {
|
|
14
|
+
app.import(stylesPath);
|
|
15
|
+
found = true;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const HOKULEA_CONFIG = {
|
|
21
|
+
theemo: {
|
|
22
|
+
defaultTheme: 'moana'
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
module.exports = {
|
|
27
|
+
importAssets,
|
|
28
|
+
HOKULEA_CONFIG,
|
|
29
|
+
HokuleaAssetLoaderWebpackPlugin
|
|
30
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const { dirname } = require('node:path');
|
|
2
|
+
const readPkgUp = require('read-pkg-up');
|
|
3
|
+
|
|
4
|
+
async function isPartOfHokulea(filepath) {
|
|
5
|
+
const { packageJson } = await readPkgUp({ cwd: dirname(filepath) });
|
|
6
|
+
|
|
7
|
+
return packageJson.name.includes('@hokulea');
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class HokuleaAssetLoaderWebpackPlugin {
|
|
11
|
+
apply(compiler) {
|
|
12
|
+
compiler.options?.module?.rules?.push({
|
|
13
|
+
test: /.svg$/,
|
|
14
|
+
include: isPartOfHokulea,
|
|
15
|
+
type: 'asset/resource',
|
|
16
|
+
generator: {
|
|
17
|
+
filename: 'hokulea/[hash][ext][query]'
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
module.exports = { HokuleaAssetLoaderWebpackPlugin };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hokulea/ember",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Hokulea Design System for Ember",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"author": "gossi",
|
|
10
10
|
"files": [
|
|
11
11
|
"addon-main.js",
|
|
12
|
+
"lib",
|
|
12
13
|
"dist",
|
|
13
14
|
"declarations"
|
|
14
15
|
],
|
|
@@ -113,12 +114,12 @@
|
|
|
113
114
|
"stylelint": "^16.1.0",
|
|
114
115
|
"typescript": "^5.5.2",
|
|
115
116
|
"webpack": "^5.92.0",
|
|
117
|
+
"@hokulea/config-postcss": "0.0.0",
|
|
116
118
|
"@hokulea/config-stylelint": "0.0.0",
|
|
117
|
-
"@hokulea/config-targets": "0.0.0",
|
|
118
119
|
"@hokulea/config-eslint": "0.0.0",
|
|
119
|
-
"@hokulea/config-
|
|
120
|
-
"@hokulea/config-template-lint": "0.0.0",
|
|
120
|
+
"@hokulea/config-targets": "0.0.0",
|
|
121
121
|
"@hokulea/config-prettier": "0.0.0",
|
|
122
|
+
"@hokulea/config-template-lint": "0.0.0",
|
|
122
123
|
"@hokulea/config-typescript": "0.0.0",
|
|
123
124
|
"@hokulea/rollup-plugin-postcss": "0.0.0",
|
|
124
125
|
"@hokulea/tokens": "0.0.1"
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { TOC } from '@ember/component/template-only';
|
|
2
|
-
export interface DescriptionSignature {
|
|
3
|
-
Element: HTMLParagraphElement;
|
|
4
|
-
Blocks: {
|
|
5
|
-
default: [];
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
declare const Description: TOC<DescriptionSignature>;
|
|
9
|
-
export default Description;
|
|
10
|
-
//# sourceMappingURL=description.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"description.d.ts","sourceRoot":"","sources":["../../../../src/-private/form/components/description.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAE1D,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,oBAAoB,CAAC;IAC9B,MAAM,EAAE;QACN,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,WAAW,EAAE,GAAG,CAAC,oBAAoB,CAWzC,CAAC;AAEH,eAAe,WAAW,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import type { ValidationError } from '../';
|
|
3
|
-
export interface ErrorsSignature<VALUE> {
|
|
4
|
-
Element: HTMLDivElement;
|
|
5
|
-
Args: {
|
|
6
|
-
errors: ValidationError<VALUE>[];
|
|
7
|
-
id: string;
|
|
8
|
-
};
|
|
9
|
-
Blocks: {
|
|
10
|
-
default?: [ValidationError<VALUE>[]];
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export default class Errors<VALUE> extends Component<ErrorsSignature<VALUE>> {
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../src/-private/form/components/errors.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,KAAK,CAAC;AAE3C,MAAM,WAAW,eAAe,CAAC,KAAK;IACpC,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QAMJ,MAAM,EAAE,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC;QAKjC,EAAE,EAAE,MAAM,CAAC;KACZ,CAAC;IACF,MAAM,EAAE;QACN,OAAO,CAAC,EAAE,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;KACtC,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,MAAM,CAAC,KAAK,CAAE,SAAQ,SAAS,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;CAuC3E"}
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import type { ErrorRecord, FieldValidateCallback, FormData, FormKey, RegisterFieldCallback, UnregisterFieldCallback, UserData, ValidationError } from '../';
|
|
3
|
-
import type { CaptureEventsModifierSignature } from '../modifiers/capture-events';
|
|
4
|
-
import type { ManagaValidationSignature } from '../modifiers/manage-validation';
|
|
5
|
-
import type { LabelSignature } from './label';
|
|
6
|
-
import type { ComponentLike, ModifierLike, WithBoundArgs } from '@glint/template';
|
|
7
|
-
export type BoundField<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> = WithBoundArgs<typeof Field<DATA, KEY>, 'data' | 'set' | 'errors' | 'registerField' | 'unregisterField' | 'triggerValidationFor' | 'fieldValidationEvent' | 'fieldRevalidationEvent' | 'manageValidation'>;
|
|
8
|
-
export interface FieldArgs<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> {
|
|
9
|
-
/**
|
|
10
|
-
* The name of your field, which must match a property of the `@data` passed to the form
|
|
11
|
-
*/
|
|
12
|
-
name: KEY;
|
|
13
|
-
/**
|
|
14
|
-
* Provide a custom validation function, that operates only on this specific field. Eventual validation errors are merged with native validation errors to determine the effective set of errors rendered for the field.
|
|
15
|
-
*
|
|
16
|
-
* Return undefined when no validation errors are present, otherwise an array of (one or multiple) `ValidationError`s.
|
|
17
|
-
*/
|
|
18
|
-
validate?: FieldValidateCallback<FormData<DATA>, KEY>;
|
|
19
|
-
/**
|
|
20
|
-
* The label for your field.
|
|
21
|
-
*
|
|
22
|
-
* Alternatively you can use `<:label>` block for more fine-control (which
|
|
23
|
-
* takes precendence if both are given)
|
|
24
|
-
*/
|
|
25
|
-
label: string;
|
|
26
|
-
/**
|
|
27
|
-
* The description for your field.
|
|
28
|
-
*
|
|
29
|
-
* Alternatively you can use `<:description>` block for more fine-control (which
|
|
30
|
-
* takes precendence if both are given)
|
|
31
|
-
*/
|
|
32
|
-
description?: string;
|
|
33
|
-
}
|
|
34
|
-
export interface FieldBlock<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> {
|
|
35
|
-
/**
|
|
36
|
-
* The current value of the field's form data.
|
|
37
|
-
*
|
|
38
|
-
* If you don't use one of the supplied control components, then use this to pass the value to your custom component.
|
|
39
|
-
*/
|
|
40
|
-
value?: DATA[KEY];
|
|
41
|
-
/**
|
|
42
|
-
* Action to update the (internal) form data for this field.
|
|
43
|
-
*
|
|
44
|
-
* If you don't use one of the supplied control components, then use this to update the value whenever your custom component's value has changed.
|
|
45
|
-
*/
|
|
46
|
-
setValue: (value: DATA[KEY]) => void;
|
|
47
|
-
/**
|
|
48
|
-
* Unique ID of this field, used to associate the control with its label.
|
|
49
|
-
*
|
|
50
|
-
* If you don't use the supplied components, then you can use this as the `id` of the control and the `for` attribute of the `<label>`.
|
|
51
|
-
*/
|
|
52
|
-
id: string;
|
|
53
|
-
/**
|
|
54
|
-
* Unique error ID of this field, used to associate the control with its validation error message.
|
|
55
|
-
*
|
|
56
|
-
* If you don't use the supplied components, then you can use this as the `id` of the validation error element and the `aria-errormessage` or `aria-describedby` attribute of the control.
|
|
57
|
-
*/
|
|
58
|
-
errorId: string;
|
|
59
|
-
/**
|
|
60
|
-
* Will be `true` when validation was triggered and this field is invalid.
|
|
61
|
-
*
|
|
62
|
-
* You can use this to customize your markup, e.g. apply HTML classes for error styling.
|
|
63
|
-
*/
|
|
64
|
-
invalid: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* An array of raw ValidationError objects, for custom rendering of error output
|
|
67
|
-
*/
|
|
68
|
-
rawErrors?: ValidationError<DATA[KEY]>[];
|
|
69
|
-
/**
|
|
70
|
-
* When calling this action, validation will be triggered.
|
|
71
|
-
*
|
|
72
|
-
* Can be used for custom controls that don't emit the `@validateOn` events that would normally trigger a dynamic validation.
|
|
73
|
-
*/
|
|
74
|
-
triggerValidation: () => void;
|
|
75
|
-
/**
|
|
76
|
-
* Yielded modifier that when applied to the control element or any other element wrapping it will be able to recognize the `@validateOn` events and associate them to this field.
|
|
77
|
-
*
|
|
78
|
-
* This is only needed for very special cases, where the control is not a native form control or does not have the `@name` of the field assigned to the `name` attribute of the control.
|
|
79
|
-
*/
|
|
80
|
-
captureEvents: WithBoundArgs<ModifierLike<CaptureEventsModifierSignature>, 'event' | 'triggerValidation'>;
|
|
81
|
-
manageValidation: WithBoundArgs<ModifierLike<ManagaValidationSignature<DATA>>, 'invalid' | 'errorMessageId' | 'name' | 'showErrorsFor'>;
|
|
82
|
-
}
|
|
83
|
-
export type MultipleFieldBlock<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> = FieldBlock<DATA, KEY> & {
|
|
84
|
-
/**
|
|
85
|
-
* The current value of the field's form data.
|
|
86
|
-
*
|
|
87
|
-
* If you don't use one of the supplied control components, then use this to pass the value to your custom component.
|
|
88
|
-
*/
|
|
89
|
-
value?: DATA[KEY][];
|
|
90
|
-
/**
|
|
91
|
-
* Action to update the (internal) form data for this field.
|
|
92
|
-
*
|
|
93
|
-
* If you don't use one of the supplied control components, then use this to update the value whenever your custom component's value has changed.
|
|
94
|
-
*/
|
|
95
|
-
setValue: (value: DATA[KEY][]) => void;
|
|
96
|
-
};
|
|
97
|
-
export interface FieldSignature<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> {
|
|
98
|
-
Element: HTMLDivElement;
|
|
99
|
-
Args: FieldArgs<DATA, KEY> & {
|
|
100
|
-
data: FormData<DATA>;
|
|
101
|
-
set: (key: KEY, value: DATA[KEY]) => void;
|
|
102
|
-
errors?: ErrorRecord<DATA, KEY>;
|
|
103
|
-
registerField: RegisterFieldCallback<FormData<DATA>, KEY>;
|
|
104
|
-
unregisterField: UnregisterFieldCallback<FormData<DATA>, KEY>;
|
|
105
|
-
triggerValidationFor(name: KEY): Promise<void>;
|
|
106
|
-
fieldValidationEvent: 'focusout' | 'change' | 'input' | undefined;
|
|
107
|
-
fieldRevalidationEvent: 'focusout' | 'change' | 'input' | undefined;
|
|
108
|
-
/**
|
|
109
|
-
* @internal
|
|
110
|
-
*/
|
|
111
|
-
element?: ComponentLike<{
|
|
112
|
-
Element: HTMLElement;
|
|
113
|
-
Blocks: {
|
|
114
|
-
default: [];
|
|
115
|
-
};
|
|
116
|
-
}>;
|
|
117
|
-
/**
|
|
118
|
-
* @internal
|
|
119
|
-
*/
|
|
120
|
-
labelComponent?: ComponentLike<LabelSignature>;
|
|
121
|
-
/**
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
124
|
-
manageValidation: WithBoundArgs<ModifierLike<ManagaValidationSignature<DATA>>, 'showErrorsFor'>;
|
|
125
|
-
};
|
|
126
|
-
Blocks: {
|
|
127
|
-
default: [FieldBlock<DATA, KEY>];
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
export default class Field<DATA extends FormData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> extends Component<FieldSignature<DATA, KEY>> {
|
|
131
|
-
constructor(owner: unknown, args: FieldSignature<DATA, KEY>['Args']);
|
|
132
|
-
willDestroy(): void;
|
|
133
|
-
get value(): FormData<DATA>[KEY];
|
|
134
|
-
get errors(): ValidationError<DATA[KEY]>[] | undefined;
|
|
135
|
-
get invalid(): boolean;
|
|
136
|
-
get valueAsString(): string | undefined;
|
|
137
|
-
get valueAsStringOrNumber(): string | number | undefined;
|
|
138
|
-
get valueAsBoolean(): boolean | undefined;
|
|
139
|
-
setValue: (value: DATA[KEY]) => void;
|
|
140
|
-
}
|
|
141
|
-
//# sourceMappingURL=field.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../../src/-private/form/components/field.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAc3C,OAAO,KAAK,EACV,WAAW,EACX,qBAAqB,EACrB,QAAQ,EACR,OAAO,EACP,qBAAqB,EACrB,uBAAuB,EACvB,QAAQ,EACR,eAAe,EAChB,MAAM,KAAK,CAAC;AACb,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,6BAA6B,CAAC;AAClF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,KAAK,EAAE,cAAc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AAK,EAAE,OAAO,EAAE,IAAI,EAAE,cAAc,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,MAAM,CAAC;IAanE,WAAW,IAAI,IAAI;IAMnB,IAAI,KAAK,wBAIR;IAED,IAAI,MAAM,IAAI,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,SAAS,CAErD;IAED,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,IAAI,aAAa,IAAI,MAAM,GAAG,SAAS,CAQtC;IAED,IAAI,qBAAqB,IAAI,MAAM,GAAG,MAAM,GAAG,SAAS,CAWvD;IAED,IAAI,cAAc,IAAI,OAAO,GAAG,SAAS,CAQxC;IAED,QAAQ,UAAW,IAAI,CAAC,GAAG,CAAC,KAAG,IAAI,CAEjC;CAuEH"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import type { CheckboxSignature } from '../../../../components/checkbox';
|
|
3
|
-
import type { FormData, FormKey, UserData } from '../../';
|
|
4
|
-
import type { BoundField, FieldArgs } from '../field';
|
|
5
|
-
export interface RadioFieldSignature<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> {
|
|
6
|
-
Element: CheckboxSignature['Element'];
|
|
7
|
-
Args: FieldArgs<DATA, KEY> & Omit<CheckboxSignature['Args'], 'value' | 'update'> & {
|
|
8
|
-
Field: BoundField<DATA, KEY>;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export default class RadioField<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> extends Component<RadioFieldSignature<DATA, KEY>> {
|
|
12
|
-
Field: BoundField<DATA, KEY>;
|
|
13
|
-
setBooleanValue: (setValue: (value: DATA[KEY]) => void) => (value: boolean) => void;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/-private/form/components/fields/checkbox.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAS3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,WAAW,mBAAmB,CAClC,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE7D,OAAO,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAC;IACtC,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,GAAG,CAAC,GACxB,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC,GAAG;QACpD,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;KAC9B,CAAC;CACL;AAED,MAAM,CAAC,OAAO,OAAO,UAAU,CAC7B,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAC7D,SAAQ,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IACjD,KAAK,wBAAmB;IAExB,eAAe,aAAc,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,IAAI,aACtC,OAAO,UACtB;CAiEH"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import type { CurrencyInputSignature } from '../../../../components/currency-input';
|
|
3
|
-
import type { FormData, FormKey, UserData } from '../../';
|
|
4
|
-
import type { BoundField, FieldArgs } from '../field';
|
|
5
|
-
export interface CurrencyFieldSignature<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> {
|
|
6
|
-
Element: CurrencyInputSignature['Element'];
|
|
7
|
-
Args: FieldArgs<DATA, KEY> & Omit<CurrencyInputSignature['Args'], 'value' | 'update'> & {
|
|
8
|
-
Field: BoundField<DATA, KEY>;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export default class CurrencyField<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> extends Component<CurrencyFieldSignature<DATA, KEY>> {
|
|
12
|
-
Field: BoundField<DATA, KEY>;
|
|
13
|
-
setNumberValue: (setValue: (value: DATA[KEY]) => void) => (value: number) => void;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=currency.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"currency.d.ts","sourceRoot":"","sources":["../../../../../src/-private/form/components/fields/currency.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AACpF,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,WAAW,sBAAsB,CACrC,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE7D,OAAO,EAAE,sBAAsB,CAAC,SAAS,CAAC,CAAC;IAC3C,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,GAAG,CAAC,GACxB,IAAI,CAAC,sBAAsB,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC,GAAG;QACzD,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;KAC9B,CAAC;CACL;AAED,MAAM,CAAC,OAAO,OAAO,aAAa,CAChC,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAC7D,SAAQ,SAAS,CAAC,sBAAsB,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IACpD,KAAK,wBAAmB;IAExB,cAAc,aAAc,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,IAAI,aACrC,MAAM,UACrB;CAuBH"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import type { DateInputSignature } from '../../../../components/date-input';
|
|
3
|
-
import type { FormData, FormKey, UserData } from '../../';
|
|
4
|
-
import type { BoundField, FieldArgs } from '../field';
|
|
5
|
-
export interface DateFieldSignature<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> {
|
|
6
|
-
Element: DateInputSignature['Element'];
|
|
7
|
-
Args: FieldArgs<DATA, KEY> & Omit<DateInputSignature['Args'], 'value' | 'update'> & {
|
|
8
|
-
Field: BoundField<DATA, KEY>;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export default class DateField<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> extends Component<DateFieldSignature<DATA, KEY>> {
|
|
12
|
-
Field: BoundField<DATA, KEY>;
|
|
13
|
-
setStringValue: (setValue: (value: DATA[KEY]) => void) => (value: string) => void;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=date.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../../../src/-private/form/components/fields/date.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,WAAW,kBAAkB,CACjC,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE7D,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;IACvC,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,GAAG,CAAC,GACxB,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC,GAAG;QACrD,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;KAC9B,CAAC;CACL;AAED,MAAM,CAAC,OAAO,OAAO,SAAS,CAC5B,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAC7D,SAAQ,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAChD,KAAK,wBAAmB;IAExB,cAAc,aAAc,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,IAAI,aACrC,MAAM,UACrB;CAuBH"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import type { EmailInputSignature } from '../../../../components/email-input';
|
|
3
|
-
import type { FormData, FormKey, UserData } from '../../';
|
|
4
|
-
import type { BoundField, FieldArgs } from '../field';
|
|
5
|
-
export interface EmailFieldSignature<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> {
|
|
6
|
-
Element: EmailInputSignature['Element'];
|
|
7
|
-
Args: FieldArgs<DATA, KEY> & Omit<EmailInputSignature['Args'], 'value' | 'update'> & {
|
|
8
|
-
Field: BoundField<DATA, KEY>;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export default class EmailField<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> extends Component<EmailFieldSignature<DATA, KEY>> {
|
|
12
|
-
Field: BoundField<DATA, KEY>;
|
|
13
|
-
setStringValue: (setValue: (value: DATA[KEY]) => void) => (value: string) => void;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=email.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"email.d.ts","sourceRoot":"","sources":["../../../../../src/-private/form/components/fields/email.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,WAAW,mBAAmB,CAClC,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE7D,OAAO,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC;IACxC,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,GAAG,CAAC,GACxB,IAAI,CAAC,mBAAmB,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC,GAAG;QACtD,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;KAC9B,CAAC;CACL;AAED,MAAM,CAAC,OAAO,OAAO,UAAU,CAC7B,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAC7D,SAAQ,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IACjD,KAAK,wBAAmB;IAExB,cAAc,aAAc,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,IAAI,aACrC,MAAM,UACrB;CAuBH"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import List from '../../../../components/list';
|
|
3
|
-
import type { ListSignature } from '../../../../components/list';
|
|
4
|
-
import type { FormData, FormKey, UserData } from '../../';
|
|
5
|
-
import type { BoundField, FieldArgs } from '../field';
|
|
6
|
-
export interface ListFieldSignature<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> {
|
|
7
|
-
Element: ListSignature<DATA[KEY]>['Element'];
|
|
8
|
-
Args: FieldArgs<DATA, KEY> & Omit<ListSignature<DATA[KEY]>['Args'], 'selection' | 'update'> & {
|
|
9
|
-
Field: BoundField<DATA, KEY>;
|
|
10
|
-
};
|
|
11
|
-
Blocks: ListSignature<DATA[KEY]>['Blocks'];
|
|
12
|
-
}
|
|
13
|
-
export default class ListField<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> extends Component<ListFieldSignature<DATA, KEY>> {
|
|
14
|
-
Field: BoundField<DATA, KEY>;
|
|
15
|
-
List: {
|
|
16
|
-
new (owner: unknown, args: {
|
|
17
|
-
multiple?: boolean;
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
value?: DATA[KEY] | DATA[KEY][] | undefined;
|
|
20
|
-
update?: ((value: DATA[KEY] | DATA[KEY][]) => void) | undefined;
|
|
21
|
-
activateItem?: ((value: DATA[KEY]) => void) | undefined;
|
|
22
|
-
}): List<DATA[KEY]>;
|
|
23
|
-
};
|
|
24
|
-
setValue: (setValue: (value: DATA[KEY]) => void) => (value: DATA[KEY] | DATA[KEY][]) => void;
|
|
25
|
-
asValue: (value: unknown) => DATA[KEY];
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=list.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../../src/-private/form/components/fields/list.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,IAAI,MAAM,6BAA6B,CAAC;AAG/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AA4BtD,MAAM,WAAW,kBAAkB,CACjC,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE7D,OAAO,EAAE,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAC7C,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,GAAG,CAAC,GACxB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,WAAW,GAAG,QAAQ,CAAC,GAAG;QAC/D,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;KAC9B,CAAC;IACJ,MAAM,EAAE,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;CAC5C;AAED,MAAM,CAAC,OAAO,OAAO,SAAS,CAC5B,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAC7D,SAAQ,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAChD,KAAK,wBAAmB;IACxB,IAAI;;;;;;;;MAAmB;IAEvB,QAAQ,aAAc,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,IAAI,aAC/B,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,UACtC;IAEF,OAAO,UAAW,OAAO,KAAc,IAAI,CAAC,GAAG,CAAC,CAAC;CAmClD"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import type { RadioSignature } from '../../../../components/radio';
|
|
3
|
-
import type { FormData, FormKey, UserData } from '../../';
|
|
4
|
-
import type { BoundField, FieldArgs, FieldBlock, MultipleFieldBlock } from '../field';
|
|
5
|
-
import type { WithBoundArgs } from '@glint/template';
|
|
6
|
-
export interface OptionSignature<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> {
|
|
7
|
-
Element: RadioSignature['Element'];
|
|
8
|
-
Args: {
|
|
9
|
-
value: string;
|
|
10
|
-
label: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
/** @internal */
|
|
13
|
-
name: string;
|
|
14
|
-
/** @internal */
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
/** @internal */
|
|
17
|
-
field: MultipleFieldBlock<DATA, KEY>;
|
|
18
|
-
};
|
|
19
|
-
Blocks: {
|
|
20
|
-
default: [];
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
declare class Option<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> extends Component<OptionSignature<DATA, KEY>> {
|
|
24
|
-
select: (checked: boolean) => void;
|
|
25
|
-
get checked(): boolean | undefined;
|
|
26
|
-
}
|
|
27
|
-
export interface MultipleChoiceFieldSignature<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> {
|
|
28
|
-
Args: FieldArgs<DATA, KEY> & {
|
|
29
|
-
disabled?: boolean;
|
|
30
|
-
Field: BoundField<DATA, KEY>;
|
|
31
|
-
};
|
|
32
|
-
Blocks: {
|
|
33
|
-
default: [
|
|
34
|
-
{
|
|
35
|
-
Option: WithBoundArgs<typeof Option<DATA, KEY>, 'field' | 'name'>;
|
|
36
|
-
}
|
|
37
|
-
];
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
export default class MultipleChoiceField<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> extends Component<MultipleChoiceFieldSignature<DATA, KEY>> {
|
|
41
|
-
Field: BoundField<DATA, KEY>;
|
|
42
|
-
Option: {
|
|
43
|
-
new (owner: unknown, args: {
|
|
44
|
-
value: string;
|
|
45
|
-
label: string;
|
|
46
|
-
description?: string;
|
|
47
|
-
/** @internal */
|
|
48
|
-
name: string;
|
|
49
|
-
/** @internal */
|
|
50
|
-
disabled?: boolean;
|
|
51
|
-
/** @internal */
|
|
52
|
-
field: MultipleFieldBlock<DATA, KEY>;
|
|
53
|
-
}): Option<DATA, KEY>;
|
|
54
|
-
};
|
|
55
|
-
asMultiField: (field: FieldBlock<DATA, KEY>) => MultipleFieldBlock<DATA, KEY>;
|
|
56
|
-
}
|
|
57
|
-
export {};
|
|
58
|
-
//# sourceMappingURL=multiple-choice.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"multiple-choice.d.ts","sourceRoot":"","sources":["../../../../../src/-private/form/components/fields/multiple-choice.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAW3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AC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE7D,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG;QAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;KAC9B,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE;YACP;gBACE,MAAM,EAAE,aAAa,CAAC,OAAO,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC,CAAC;aACnE;SACF,CAAC;KACH,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,mBAAmB,CACtC,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAC7D,SAAQ,SAAS,CAAC,4BAA4B,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1D,KAAK,wBAAmB;IACxB,MAAM;;mBA5HG,MAAM;mBACN,MAAM;0BACC,MAAM;YAEpB,gBAAgB;kBACV,MAAM;YAEZ,gBAAgB;uBACL,OAAO;YAElB,gBAAgB;;;MAkHS;IAE3B,YAAY,UAAW,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,KAC1B,kBAAkB,CAAC,IAAI,EAAE,GAAG,CAAC,CAC7C;CAuBH"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import type { NumberInputSignature } from '../../../../components/number-input';
|
|
3
|
-
import type { FormData, FormKey, UserData } from '../../';
|
|
4
|
-
import type { BoundField, FieldArgs } from '../field';
|
|
5
|
-
export interface NumberFieldSignature<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> {
|
|
6
|
-
Element: NumberInputSignature['Element'];
|
|
7
|
-
Args: FieldArgs<DATA, KEY> & Omit<NumberInputSignature['Args'], 'value' | 'update'> & {
|
|
8
|
-
Field: BoundField<DATA, KEY>;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export default class NumberField<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> extends Component<NumberFieldSignature<DATA, KEY>> {
|
|
12
|
-
Field: BoundField<DATA, KEY>;
|
|
13
|
-
setNumberValue: (setValue: (value: DATA[KEY]) => void) => (value: number) => void;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=number.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"number.d.ts","sourceRoot":"","sources":["../../../../../src/-private/form/components/fields/number.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,WAAW,oBAAoB,CACnC,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE7D,OAAO,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;IACzC,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,GAAG,CAAC,GACxB,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC,GAAG;QACvD,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;KAC9B,CAAC;CACL;AAED,MAAM,CAAC,OAAO,OAAO,WAAW,CAC9B,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAC7D,SAAQ,SAAS,CAAC,oBAAoB,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAClD,KAAK,wBAAmB;IAExB,cAAc,aAAc,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,IAAI,aACrC,MAAM,UACrB;CAuBH"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import type { PasswordInputSignature } from '../../../../components/password-input';
|
|
3
|
-
import type { FormData, FormKey, UserData } from '../../';
|
|
4
|
-
import type { BoundField, FieldArgs } from '../field';
|
|
5
|
-
export interface PasswordFieldSignature<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> {
|
|
6
|
-
Element: PasswordInputSignature['Element'];
|
|
7
|
-
Args: FieldArgs<DATA, KEY> & Omit<PasswordInputSignature['Args'], 'value' | 'update'> & {
|
|
8
|
-
Field: BoundField<DATA, KEY>;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export default class PasswordField<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> extends Component<PasswordFieldSignature<DATA, KEY>> {
|
|
12
|
-
Field: BoundField<DATA, KEY>;
|
|
13
|
-
setStringValue: (setValue: (value: DATA[KEY]) => void) => (value: string) => void;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=password.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"password.d.ts","sourceRoot":"","sources":["../../../../../src/-private/form/components/fields/password.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AACpF,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,WAAW,sBAAsB,CACrC,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE7D,OAAO,EAAE,sBAAsB,CAAC,SAAS,CAAC,CAAC;IAC3C,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,GAAG,CAAC,GACxB,IAAI,CAAC,sBAAsB,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC,GAAG;QACzD,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;KAC9B,CAAC;CACL;AAED,MAAM,CAAC,OAAO,OAAO,aAAa,CAChC,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAC7D,SAAQ,SAAS,CAAC,sBAAsB,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IACpD,KAAK,wBAAmB;IAExB,cAAc,aAAc,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,IAAI,aACrC,MAAM,UACrB;CAuBH"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import type { PhoneInputSignature } from '../../../../components/phone-input';
|
|
3
|
-
import type { FormData, FormKey, UserData } from '../../';
|
|
4
|
-
import type { BoundField, FieldArgs } from '../field';
|
|
5
|
-
export interface PhoneFieldSignature<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> {
|
|
6
|
-
Element: PhoneInputSignature['Element'];
|
|
7
|
-
Args: FieldArgs<DATA, KEY> & Omit<PhoneInputSignature['Args'], 'value' | 'update'> & {
|
|
8
|
-
Field: BoundField<DATA, KEY>;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export default class PhoneField<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> extends Component<PhoneFieldSignature<DATA, KEY>> {
|
|
12
|
-
Field: BoundField<DATA, KEY>;
|
|
13
|
-
setStringValue: (setValue: (value: DATA[KEY]) => void) => (value: string) => void;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=phone.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"phone.d.ts","sourceRoot":"","sources":["../../../../../src/-private/form/components/fields/phone.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,WAAW,mBAAmB,CAClC,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE7D,OAAO,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC;IACxC,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,GAAG,CAAC,GACxB,IAAI,CAAC,mBAAmB,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC,GAAG;QACtD,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;KAC9B,CAAC;CACL;AAED,MAAM,CAAC,OAAO,OAAO,UAAU,CAC7B,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAC7D,SAAQ,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IACjD,KAAK,wBAAmB;IAExB,cAAc,aAAc,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,IAAI,aACrC,MAAM,UACrB;CAuBH"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import type { SelectSignature, Value } from '../../../../components/select';
|
|
3
|
-
import type { FormData, FormKey, UserData } from '../../';
|
|
4
|
-
import type { BoundField, FieldArgs } from '../field';
|
|
5
|
-
export interface SelectFieldSignature<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> {
|
|
6
|
-
Element: SelectSignature['Element'];
|
|
7
|
-
Args: FieldArgs<DATA, KEY> & Omit<SelectSignature['Args'], 'selection' | 'update'> & {
|
|
8
|
-
Field: BoundField<DATA, KEY>;
|
|
9
|
-
};
|
|
10
|
-
Blocks: SelectSignature['Blocks'];
|
|
11
|
-
}
|
|
12
|
-
export default class SelectField<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> extends Component<SelectFieldSignature<DATA, KEY>> {
|
|
13
|
-
Field: BoundField<DATA, KEY>;
|
|
14
|
-
setValue: (setValue: (value: DATA[KEY]) => void) => (value: Value | Value[]) => void;
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=select.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../../src/-private/form/components/fields/select.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO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