@powerhousedao/design-system 2.5.0-dev.4 → 2.5.0-dev.40
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/dist/src/assets/home-bg.avif +0 -0
- package/dist/src/connect/components/account-popover/account-popover-login.d.ts +1 -1
- package/dist/src/connect/components/account-popover/account-popover-login.d.ts.map +1 -1
- package/dist/src/connect/components/account-popover/account-popover-login.js +7 -3
- package/dist/src/connect/components/account-popover/account-popover-login.js.map +1 -1
- package/dist/src/connect/components/account-popover/account-popover-user.d.ts +1 -1
- package/dist/src/connect/components/account-popover/account-popover-user.d.ts.map +1 -1
- package/dist/src/connect/components/account-popover/account-popover-user.js +4 -1
- package/dist/src/connect/components/account-popover/account-popover-user.js.map +1 -1
- package/dist/src/connect/components/account-popover/account-popover.d.ts.map +1 -1
- package/dist/src/connect/components/account-popover/account-popover.js +2 -2
- package/dist/src/connect/components/account-popover/account-popover.js.map +1 -1
- package/dist/src/connect/components/cookie-banner/cookie-banner.d.ts.map +1 -1
- package/dist/src/connect/components/cookie-banner/cookie-banner.js +1 -1
- package/dist/src/connect/components/cookie-banner/cookie-banner.js.map +1 -1
- package/dist/src/connect/components/home-screen/home-background-image.d.ts +2 -0
- package/dist/src/connect/components/home-screen/home-background-image.d.ts.map +1 -0
- package/dist/src/connect/components/home-screen/home-background-image.js +7 -0
- package/dist/src/connect/components/home-screen/home-background-image.js.map +1 -0
- package/dist/src/connect/components/home-screen/home-screen.d.ts.map +1 -1
- package/dist/src/connect/components/home-screen/home-screen.js +2 -2
- package/dist/src/connect/components/home-screen/home-screen.js.map +1 -1
- package/dist/src/connect/components/home-screen/index.d.ts +2 -1
- package/dist/src/connect/components/home-screen/index.d.ts.map +1 -1
- package/dist/src/connect/components/home-screen/index.js +2 -1
- package/dist/src/connect/components/home-screen/index.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.js +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/default-editor.d.ts +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/default-editor.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/default-editor.js +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/default-editor.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.js +1 -2
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.d.ts +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.js +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.js.map +1 -1
- package/dist/src/connect/components/search-bar/search-bar.js +1 -1
- package/dist/src/connect/components/search-bar/search-bar.js.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-footer.d.ts +3 -3
- package/dist/src/connect/components/sidebar/sidebar-footer.d.ts.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-footer.js +1 -1
- package/dist/src/connect/components/sidebar/sidebar-footer.js.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-header.d.ts.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-header.js +1 -1
- package/dist/src/connect/components/sidebar/sidebar-header.js.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-login.d.ts +1 -1
- package/dist/src/connect/components/sidebar/sidebar-login.d.ts.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-login.js +2 -1
- package/dist/src/connect/components/sidebar/sidebar-login.js.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-user.d.ts +1 -1
- package/dist/src/connect/components/sidebar/sidebar-user.d.ts.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar.d.ts +2 -2
- package/dist/src/connect/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/src/connect/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/src/connect/components/tooltip/tooltip.js +2 -2
- package/dist/src/connect/components/tooltip/tooltip.js.map +1 -1
- package/dist/src/powerhouse/components/icon/icon.d.ts +1 -1
- package/dist/src/powerhouse/components/icon/icon.d.ts.map +1 -1
- package/dist/src/powerhouse/components/icon/icon.js +2 -2
- package/dist/src/powerhouse/components/icon/icon.js.map +1 -1
- package/dist/src/powerhouse/utils/index.d.ts +2 -0
- package/dist/src/powerhouse/utils/index.d.ts.map +1 -1
- package/dist/src/powerhouse/utils/index.js +5 -0
- package/dist/src/powerhouse/utils/index.js.map +1 -1
- package/dist/src/ui/components/amount-input/types.d.ts +52 -0
- package/dist/src/ui/components/amount-input/types.d.ts.map +1 -0
- package/dist/src/ui/components/amount-input/types.js.map +1 -0
- package/dist/src/ui/components/button/button.d.ts.map +1 -0
- package/dist/src/ui/components/button/button.js +23 -0
- package/dist/src/ui/components/button/button.js.map +1 -0
- package/dist/src/ui/components/button/index.d.ts.map +1 -0
- package/dist/src/ui/components/button/index.js.map +1 -0
- package/dist/src/ui/components/character-counter/character-counter.d.ts.map +1 -0
- package/dist/src/ui/components/character-counter/character-counter.js.map +1 -0
- package/dist/src/ui/components/character-counter/index.d.ts.map +1 -0
- package/dist/src/ui/components/character-counter/index.js.map +1 -0
- package/dist/src/ui/components/checkbox/checkbox-base.d.ts.map +1 -0
- package/dist/src/ui/components/checkbox/checkbox-base.js +29 -0
- package/dist/src/ui/components/checkbox/checkbox-base.js.map +1 -0
- package/dist/src/ui/components/checkbox/checkbox.d.ts +10 -0
- package/dist/src/ui/components/checkbox/checkbox.d.ts.map +1 -0
- package/dist/src/ui/components/checkbox/checkbox.js +22 -0
- package/dist/src/ui/components/checkbox/checkbox.js.map +1 -0
- package/dist/src/ui/components/checkbox/index.d.ts.map +1 -0
- package/dist/src/ui/components/checkbox/index.js.map +1 -0
- package/dist/src/ui/components/command/command.d.ts +80 -0
- package/dist/src/ui/components/command/command.d.ts.map +1 -0
- package/dist/src/ui/components/command/command.js +20 -0
- package/dist/src/ui/components/command/command.js.map +1 -0
- package/dist/src/ui/components/command/index.d.ts.map +1 -0
- package/dist/src/ui/components/command/index.js.map +1 -0
- package/dist/src/ui/components/date-picker/index.d.ts +2 -0
- package/dist/src/ui/components/date-picker/index.d.ts.map +1 -0
- package/dist/src/ui/components/date-picker/index.js +2 -0
- package/dist/src/ui/components/date-picker/index.js.map +1 -0
- package/dist/src/ui/components/date-picker/types.d.ts.map +1 -0
- package/dist/src/ui/components/date-picker/types.js.map +1 -0
- package/dist/src/ui/components/date-picker/utils.d.ts +7 -0
- package/dist/src/ui/components/date-picker/utils.d.ts.map +1 -0
- package/dist/src/ui/components/date-picker/utils.js +29 -0
- package/dist/src/ui/components/date-picker/utils.js.map +1 -0
- package/dist/src/ui/components/date-time-picker/index.d.ts +2 -0
- package/dist/src/ui/components/date-time-picker/index.d.ts.map +1 -0
- package/dist/src/ui/components/date-time-picker/index.js +2 -0
- package/dist/src/ui/components/date-time-picker/index.js.map +1 -0
- package/dist/src/ui/components/date-time-picker/utils.d.ts +31 -0
- package/dist/src/ui/components/date-time-picker/utils.d.ts.map +1 -0
- package/dist/src/ui/components/date-time-picker/utils.js +99 -0
- package/dist/src/ui/components/date-time-picker/utils.js.map +1 -0
- package/dist/src/ui/components/enum-field/enum-field.d.ts +12 -0
- package/dist/src/ui/components/enum-field/enum-field.d.ts.map +1 -0
- package/dist/src/ui/components/enum-field/enum-field.js +18 -0
- package/dist/src/ui/components/enum-field/enum-field.js.map +1 -0
- package/dist/src/ui/components/enum-field/index.d.ts.map +1 -0
- package/dist/src/ui/components/enum-field/index.js.map +1 -0
- package/dist/src/ui/components/enum-field/types.d.ts.map +1 -0
- package/dist/src/ui/components/enum-field/types.js.map +1 -0
- package/dist/src/ui/components/form/form.d.ts.map +1 -0
- package/dist/src/ui/components/form/form.js +138 -0
- package/dist/src/ui/components/form/form.js.map +1 -0
- package/dist/src/ui/components/form/index.d.ts.map +1 -0
- package/dist/src/ui/components/form/index.js.map +1 -0
- package/dist/src/ui/components/form/utils.d.ts.map +1 -0
- package/dist/src/ui/components/form/utils.js.map +1 -0
- package/dist/src/ui/components/form-description/form-description.d.ts.map +1 -0
- package/dist/src/ui/components/form-description/form-description.js +8 -0
- package/dist/src/ui/components/form-description/form-description.js.map +1 -0
- package/dist/src/ui/components/form-description/index.d.ts.map +1 -0
- package/dist/src/ui/components/form-description/index.js.map +1 -0
- package/dist/src/ui/components/form-group/form-group.d.ts.map +1 -0
- package/dist/src/ui/components/form-group/form-group.js.map +1 -0
- package/dist/src/ui/components/form-group/index.d.ts.map +1 -0
- package/dist/src/ui/components/form-group/index.js.map +1 -0
- package/dist/src/ui/components/form-label/form-label.d.ts.map +1 -0
- package/dist/src/ui/components/form-label/form-label.js +19 -0
- package/dist/src/ui/components/form-label/form-label.js.map +1 -0
- package/dist/src/ui/components/form-label/index.d.ts.map +1 -0
- package/dist/src/ui/components/form-label/index.js.map +1 -0
- package/dist/src/ui/components/form-message/form-message.d.ts.map +1 -0
- package/dist/src/ui/components/form-message/form-message.js +15 -0
- package/dist/src/ui/components/form-message/form-message.js.map +1 -0
- package/dist/src/ui/components/form-message/form-server-error-message.d.ts.map +1 -0
- package/dist/src/ui/components/form-message/form-server-error-message.js.map +1 -0
- package/dist/src/ui/components/form-message/index.d.ts.map +1 -0
- package/dist/src/ui/components/form-message/index.js.map +1 -0
- package/dist/src/ui/components/form-message/message-list.d.ts.map +1 -0
- package/dist/src/ui/components/form-message/message-list.js +22 -0
- package/dist/src/ui/components/form-message/message-list.js.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-context.d.ts.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-context.js.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-input-container.d.ts.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-input-container.js +71 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-input-container.js.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-list-option.d.ts.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-list-option.js +47 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-list-option.js.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-list.d.ts.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-list.js +31 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-list.js.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete.d.ts.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete.js +88 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete.js.map +1 -0
- package/dist/src/ui/components/id-autocomplete/index.d.ts.map +1 -0
- package/dist/src/ui/components/id-autocomplete/index.js.map +1 -0
- package/dist/src/ui/components/id-autocomplete/types.d.ts.map +1 -0
- package/dist/src/ui/components/id-autocomplete/types.js.map +1 -0
- package/dist/src/ui/components/id-autocomplete/use-id-autocomplete.d.ts.map +1 -0
- package/dist/src/ui/components/id-autocomplete/use-id-autocomplete.js.map +1 -0
- package/dist/src/ui/components/index.d.ts +13 -14
- package/dist/src/ui/components/index.d.ts.map +1 -1
- package/dist/src/ui/components/index.js +13 -20
- package/dist/src/ui/components/index.js.map +1 -1
- package/dist/src/ui/components/input/index.d.ts.map +1 -0
- package/dist/src/ui/components/input/index.js.map +1 -0
- package/dist/src/ui/components/input/input.d.ts.map +1 -0
- package/dist/src/ui/components/input/input.js +22 -0
- package/dist/src/ui/components/input/input.js.map +1 -0
- package/dist/src/ui/components/input/splitted-input-diff.d.ts +8 -0
- package/dist/src/ui/components/input/splitted-input-diff.d.ts.map +1 -0
- package/dist/src/ui/components/input/splitted-input-diff.js +35 -0
- package/dist/src/ui/components/input/splitted-input-diff.js.map +1 -0
- package/dist/src/ui/components/input/subcomponent/input-diff.d.ts.map +1 -0
- package/dist/src/ui/components/input/subcomponent/input-diff.js +8 -0
- package/dist/src/ui/components/input/subcomponent/input-diff.js.map +1 -0
- package/dist/src/ui/components/input/subcomponent/text-diff.d.ts +9 -0
- package/dist/src/ui/components/input/subcomponent/text-diff.d.ts.map +1 -0
- package/dist/src/ui/components/input/subcomponent/text-diff.js +27 -0
- package/dist/src/ui/components/input/subcomponent/text-diff.js.map +1 -0
- package/dist/src/ui/components/popover/index.d.ts.map +1 -0
- package/dist/src/ui/components/popover/index.js.map +1 -0
- package/dist/src/ui/components/popover/popover.d.ts.map +1 -0
- package/dist/src/ui/components/popover/popover.js +17 -0
- package/dist/src/ui/components/popover/popover.js.map +1 -0
- package/dist/src/ui/components/radio-group-field/index.d.ts.map +1 -0
- package/dist/src/ui/components/radio-group-field/index.js.map +1 -0
- package/dist/src/ui/components/radio-group-field/radio-group-field.d.ts +12 -0
- package/dist/src/ui/components/radio-group-field/radio-group-field.d.ts.map +1 -0
- package/dist/src/ui/components/radio-group-field/radio-group-field.js +20 -0
- package/dist/src/ui/components/radio-group-field/radio-group-field.js.map +1 -0
- package/dist/src/ui/components/radio-group-field/radio-group.d.ts.map +1 -0
- package/dist/src/ui/components/radio-group-field/radio-group.js.map +1 -0
- package/dist/src/ui/components/radio-group-field/radio.d.ts.map +1 -0
- package/dist/src/ui/components/radio-group-field/radio.js +24 -0
- package/dist/src/ui/components/radio-group-field/radio.js.map +1 -0
- package/dist/src/ui/components/select-field/content.d.ts +17 -0
- package/dist/src/ui/components/select-field/content.d.ts.map +1 -0
- package/dist/src/ui/components/select-field/content.js +34 -0
- package/dist/src/ui/components/select-field/content.js.map +1 -0
- package/dist/src/ui/components/select-field/index.d.ts.map +1 -0
- package/dist/src/ui/components/select-field/index.js.map +1 -0
- package/dist/src/ui/components/select-field/select-field.d.ts +18 -0
- package/dist/src/ui/components/select-field/select-field.d.ts.map +1 -0
- package/dist/src/ui/components/select-field/select-field.js +66 -0
- package/dist/src/ui/components/select-field/select-field.js.map +1 -0
- package/dist/src/ui/components/select-field/selected-content.d.ts +13 -0
- package/dist/src/ui/components/select-field/selected-content.d.ts.map +1 -0
- package/dist/src/ui/components/select-field/selected-content.js +26 -0
- package/dist/src/ui/components/select-field/selected-content.js.map +1 -0
- package/dist/src/ui/components/select-field/subcomponents/CommandItemList.d.ts +15 -0
- package/dist/src/ui/components/select-field/subcomponents/CommandItemList.d.ts.map +1 -0
- package/dist/src/ui/components/select-field/subcomponents/CommandItemList.js +24 -0
- package/dist/src/ui/components/select-field/subcomponents/CommandItemList.js.map +1 -0
- package/dist/src/ui/components/select-field/use-select-field.d.ts +19 -0
- package/dist/src/ui/components/select-field/use-select-field.d.ts.map +1 -0
- package/dist/src/ui/components/select-field/use-select-field.js.map +1 -0
- package/dist/src/ui/components/text-field/index.d.ts.map +1 -0
- package/dist/src/ui/components/text-field/index.js.map +1 -0
- package/dist/src/ui/components/text-field/text-field.d.ts +5 -0
- package/dist/src/ui/components/text-field/text-field.d.ts.map +1 -0
- package/dist/src/ui/components/text-field/text-field.js +5 -0
- package/dist/src/ui/components/text-field/text-field.js.map +1 -0
- package/dist/src/ui/components/text-input/index.d.ts.map +1 -0
- package/dist/src/ui/components/text-input/index.js.map +1 -0
- package/dist/src/ui/components/text-input/text-input-diff.d.ts +9 -0
- package/dist/src/ui/components/text-input/text-input-diff.d.ts.map +1 -0
- package/dist/src/ui/components/text-input/text-input-diff.js +9 -0
- package/dist/src/ui/components/text-input/text-input-diff.js.map +1 -0
- package/dist/src/ui/components/text-input/text-input.d.ts +10 -0
- package/dist/src/ui/components/text-input/text-input.d.ts.map +1 -0
- package/dist/src/ui/components/text-input/text-input.js +38 -0
- package/dist/src/ui/components/text-input/text-input.js.map +1 -0
- package/dist/src/ui/components/text-input/types.d.ts.map +1 -0
- package/dist/src/ui/components/text-input/types.js.map +1 -0
- package/dist/src/ui/components/tooltip/tooltip.d.ts +1 -1
- package/dist/src/ui/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/src/ui/components/tooltip/tooltip.js +2 -2
- package/dist/src/ui/components/tooltip/tooltip.js.map +1 -1
- package/dist/src/ui/components/value-transformer/index.d.ts.map +1 -0
- package/dist/src/ui/components/value-transformer/index.js.map +1 -0
- package/dist/src/ui/components/value-transformer/value-transformer.d.ts.map +1 -0
- package/dist/src/ui/components/value-transformer/value-transformer.js +142 -0
- package/dist/src/ui/components/value-transformer/value-transformer.js.map +1 -0
- package/dist/src/ui/components/with-field-validation/index.d.ts.map +1 -0
- package/dist/src/ui/components/with-field-validation/index.js.map +1 -0
- package/dist/src/ui/components/with-field-validation/with-field-validation.d.ts.map +1 -0
- package/dist/src/ui/components/with-field-validation/with-field-validation.js.map +1 -0
- package/dist/src/ui/index.d.ts +1 -0
- package/dist/src/ui/index.d.ts.map +1 -1
- package/dist/src/ui/index.js +1 -0
- package/dist/src/ui/index.js.map +1 -1
- package/dist/src/ui/lib/cn.d.ts +3 -0
- package/dist/src/ui/lib/cn.d.ts.map +1 -0
- package/dist/src/ui/lib/cn.js +6 -0
- package/dist/src/ui/lib/cn.js.map +1 -0
- package/dist/src/ui/lib/decorators.d.ts.map +1 -0
- package/dist/src/ui/lib/decorators.js +96 -0
- package/dist/src/ui/lib/decorators.js.map +1 -0
- package/dist/src/ui/lib/deep-equal.d.ts.map +1 -0
- package/dist/src/ui/lib/deep-equal.js.map +1 -0
- package/dist/src/ui/lib/index.d.ts +9 -0
- package/dist/src/ui/lib/index.d.ts.map +1 -0
- package/dist/src/ui/lib/index.js +9 -0
- package/dist/src/ui/lib/index.js.map +1 -0
- package/dist/src/ui/lib/is-empty.d.ts.map +1 -0
- package/dist/src/ui/lib/is-empty.js.map +1 -0
- package/dist/src/ui/lib/shared-value-transformers.d.ts +3 -0
- package/dist/src/ui/lib/shared-value-transformers.d.ts.map +1 -0
- package/dist/src/ui/lib/shared-value-transformers.js.map +1 -0
- package/dist/src/ui/lib/storybook-arg-types.d.ts.map +1 -0
- package/dist/src/ui/lib/storybook-arg-types.js.map +1 -0
- package/dist/src/ui/lib/testing.d.ts.map +1 -0
- package/dist/src/ui/lib/testing.js.map +1 -0
- package/dist/src/ui/lib/value-cast.d.ts.map +1 -0
- package/dist/src/ui/lib/value-cast.js +57 -0
- package/dist/src/ui/lib/value-cast.js.map +1 -0
- package/dist/src/ui/types.d.ts.map +1 -0
- package/dist/src/ui/types.js.map +1 -0
- package/dist/style.css +6 -992
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +4 -9
- package/dist/src/scalars/EthereumAddress/EthereumAddress.d.ts +0 -5
- package/dist/src/scalars/EthereumAddress/EthereumAddress.d.ts.map +0 -1
- package/dist/src/scalars/EthereumAddress/EthereumAddress.js +0 -14
- package/dist/src/scalars/EthereumAddress/EthereumAddress.js.map +0 -1
- package/dist/src/scalars/EthereumAddress/index.d.ts +0 -2
- package/dist/src/scalars/EthereumAddress/index.d.ts.map +0 -1
- package/dist/src/scalars/EthereumAddress/index.js +0 -2
- package/dist/src/scalars/EthereumAddress/index.js.map +0 -1
- package/dist/src/scalars/components/aid-field/aid-field.d.ts +0 -4
- package/dist/src/scalars/components/aid-field/aid-field.d.ts.map +0 -1
- package/dist/src/scalars/components/aid-field/aid-field.js +0 -49
- package/dist/src/scalars/components/aid-field/aid-field.js.map +0 -1
- package/dist/src/scalars/components/aid-field/index.d.ts +0 -3
- package/dist/src/scalars/components/aid-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/aid-field/index.js +0 -2
- package/dist/src/scalars/components/aid-field/index.js.map +0 -1
- package/dist/src/scalars/components/aid-field/types.d.ts +0 -5
- package/dist/src/scalars/components/aid-field/types.d.ts.map +0 -1
- package/dist/src/scalars/components/aid-field/types.js.map +0 -1
- package/dist/src/scalars/components/amount-field/amount-currency-validations.d.ts +0 -3
- package/dist/src/scalars/components/amount-field/amount-currency-validations.d.ts.map +0 -1
- package/dist/src/scalars/components/amount-field/amount-currency-validations.js +0 -13
- package/dist/src/scalars/components/amount-field/amount-currency-validations.js.map +0 -1
- package/dist/src/scalars/components/amount-field/amount-field-validations.d.ts +0 -4
- package/dist/src/scalars/components/amount-field/amount-field-validations.d.ts.map +0 -1
- package/dist/src/scalars/components/amount-field/amount-field-validations.js +0 -77
- package/dist/src/scalars/components/amount-field/amount-field-validations.js.map +0 -1
- package/dist/src/scalars/components/amount-field/amount-field.d.ts +0 -6
- package/dist/src/scalars/components/amount-field/amount-field.d.ts.map +0 -1
- package/dist/src/scalars/components/amount-field/amount-field.js +0 -13
- package/dist/src/scalars/components/amount-field/amount-field.js.map +0 -1
- package/dist/src/scalars/components/amount-field/index.d.ts +0 -2
- package/dist/src/scalars/components/amount-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/amount-field/index.js +0 -2
- package/dist/src/scalars/components/amount-field/index.js.map +0 -1
- package/dist/src/scalars/components/boolean-field/boolean-field.d.ts +0 -10
- package/dist/src/scalars/components/boolean-field/boolean-field.d.ts.map +0 -1
- package/dist/src/scalars/components/boolean-field/boolean-field.js +0 -12
- package/dist/src/scalars/components/boolean-field/boolean-field.js.map +0 -1
- package/dist/src/scalars/components/boolean-field/index.d.ts +0 -2
- package/dist/src/scalars/components/boolean-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/boolean-field/index.js +0 -2
- package/dist/src/scalars/components/boolean-field/index.js.map +0 -1
- package/dist/src/scalars/components/country-code-field/country-code-field.d.ts +0 -8
- package/dist/src/scalars/components/country-code-field/country-code-field.d.ts.map +0 -1
- package/dist/src/scalars/components/country-code-field/country-code-field.js +0 -58
- package/dist/src/scalars/components/country-code-field/country-code-field.js.map +0 -1
- package/dist/src/scalars/components/country-code-field/index.d.ts +0 -2
- package/dist/src/scalars/components/country-code-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/country-code-field/index.js +0 -2
- package/dist/src/scalars/components/country-code-field/index.js.map +0 -1
- package/dist/src/scalars/components/country-code-field/types.d.ts +0 -11
- package/dist/src/scalars/components/country-code-field/types.d.ts.map +0 -1
- package/dist/src/scalars/components/country-code-field/types.js.map +0 -1
- package/dist/src/scalars/components/currency-code-field/currency-code-field.d.ts +0 -21
- package/dist/src/scalars/components/currency-code-field/currency-code-field.d.ts.map +0 -1
- package/dist/src/scalars/components/currency-code-field/currency-code-field.js +0 -72
- package/dist/src/scalars/components/currency-code-field/currency-code-field.js.map +0 -1
- package/dist/src/scalars/components/currency-code-field/defaults.d.ts +0 -4
- package/dist/src/scalars/components/currency-code-field/defaults.d.ts.map +0 -1
- package/dist/src/scalars/components/currency-code-field/defaults.js +0 -43
- package/dist/src/scalars/components/currency-code-field/defaults.js.map +0 -1
- package/dist/src/scalars/components/currency-code-field/index.d.ts +0 -5
- package/dist/src/scalars/components/currency-code-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/currency-code-field/index.js +0 -4
- package/dist/src/scalars/components/currency-code-field/index.js.map +0 -1
- package/dist/src/scalars/components/currency-code-field/types.d.ts +0 -13
- package/dist/src/scalars/components/currency-code-field/types.d.ts.map +0 -1
- package/dist/src/scalars/components/currency-code-field/types.js.map +0 -1
- package/dist/src/scalars/components/currency-code-field/utils.d.ts +0 -38
- package/dist/src/scalars/components/currency-code-field/utils.d.ts.map +0 -1
- package/dist/src/scalars/components/currency-code-field/utils.js +0 -40
- package/dist/src/scalars/components/currency-code-field/utils.js.map +0 -1
- package/dist/src/scalars/components/date-picker-field/date-picker-field.d.ts +0 -7
- package/dist/src/scalars/components/date-picker-field/date-picker-field.d.ts.map +0 -1
- package/dist/src/scalars/components/date-picker-field/date-picker-field.js +0 -11
- package/dist/src/scalars/components/date-picker-field/date-picker-field.js.map +0 -1
- package/dist/src/scalars/components/date-picker-field/date-picker-validations.d.ts +0 -3
- package/dist/src/scalars/components/date-picker-field/date-picker-validations.d.ts.map +0 -1
- package/dist/src/scalars/components/date-picker-field/date-picker-validations.js +0 -73
- package/dist/src/scalars/components/date-picker-field/date-picker-validations.js.map +0 -1
- package/dist/src/scalars/components/date-picker-field/index.d.ts +0 -2
- package/dist/src/scalars/components/date-picker-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/date-picker-field/index.js +0 -2
- package/dist/src/scalars/components/date-picker-field/index.js.map +0 -1
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.d.ts +0 -3
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.d.ts.map +0 -1
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.js +0 -78
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.js.map +0 -1
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.d.ts +0 -7
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.d.ts.map +0 -1
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.js +0 -11
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.js.map +0 -1
- package/dist/src/scalars/components/date-time-picker-field/index.d.ts +0 -2
- package/dist/src/scalars/components/date-time-picker-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/date-time-picker-field/index.js +0 -2
- package/dist/src/scalars/components/date-time-picker-field/index.js.map +0 -1
- package/dist/src/scalars/components/enum-field/enum-field.d.ts +0 -12
- package/dist/src/scalars/components/enum-field/enum-field.d.ts.map +0 -1
- package/dist/src/scalars/components/enum-field/enum-field.js +0 -18
- package/dist/src/scalars/components/enum-field/enum-field.js.map +0 -1
- package/dist/src/scalars/components/enum-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/enum-field/index.js.map +0 -1
- package/dist/src/scalars/components/enum-field/types.d.ts.map +0 -1
- package/dist/src/scalars/components/enum-field/types.js.map +0 -1
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.d.ts +0 -3
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.d.ts.map +0 -1
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.js +0 -27
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.js.map +0 -1
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.d.ts +0 -3
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.d.ts.map +0 -1
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.js +0 -31
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.js.map +0 -1
- package/dist/src/scalars/components/examples/reset-button/reset-button.d.ts +0 -3
- package/dist/src/scalars/components/examples/reset-button/reset-button.d.ts.map +0 -1
- package/dist/src/scalars/components/examples/reset-button/reset-button.js +0 -12
- package/dist/src/scalars/components/examples/reset-button/reset-button.js.map +0 -1
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.d.ts +0 -3
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.d.ts.map +0 -1
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.js +0 -16
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.js.map +0 -1
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.d.ts +0 -4
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.d.ts.map +0 -1
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.js +0 -75
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.js.map +0 -1
- package/dist/src/scalars/components/form/form.d.ts.map +0 -1
- package/dist/src/scalars/components/form/form.js +0 -138
- package/dist/src/scalars/components/form/form.js.map +0 -1
- package/dist/src/scalars/components/form/index.d.ts.map +0 -1
- package/dist/src/scalars/components/form/index.js.map +0 -1
- package/dist/src/scalars/components/form/utils.d.ts.map +0 -1
- package/dist/src/scalars/components/form/utils.js.map +0 -1
- package/dist/src/scalars/components/fragments/button/button.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/button/button.js +0 -23
- package/dist/src/scalars/components/fragments/button/button.js.map +0 -1
- package/dist/src/scalars/components/fragments/button/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/button/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/character-counter/character-counter.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/character-counter/character-counter.js.map +0 -1
- package/dist/src/scalars/components/fragments/character-counter/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/character-counter/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.d.ts +0 -4
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.js +0 -6
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.js.map +0 -1
- package/dist/src/scalars/components/fragments/checkbox-field/index.d.ts +0 -2
- package/dist/src/scalars/components/fragments/checkbox-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/checkbox-field/index.js +0 -2
- package/dist/src/scalars/components/fragments/checkbox-field/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/command/command.d.ts +0 -80
- package/dist/src/scalars/components/fragments/command/command.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/command/command.js +0 -21
- package/dist/src/scalars/components/fragments/command/command.js.map +0 -1
- package/dist/src/scalars/components/fragments/command/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/command/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/form-description/form-description.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/form-description/form-description.js +0 -8
- package/dist/src/scalars/components/fragments/form-description/form-description.js.map +0 -1
- package/dist/src/scalars/components/fragments/form-description/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/form-description/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/form-group/form-group.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/form-group/form-group.js.map +0 -1
- package/dist/src/scalars/components/fragments/form-group/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/form-group/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/form-label/form-label.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/form-label/form-label.js +0 -20
- package/dist/src/scalars/components/fragments/form-label/form-label.js.map +0 -1
- package/dist/src/scalars/components/fragments/form-label/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/form-label/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/form-message/form-message.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/form-message/form-message.js +0 -15
- package/dist/src/scalars/components/fragments/form-message/form-message.js.map +0 -1
- package/dist/src/scalars/components/fragments/form-message/form-server-error-message.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/form-message/form-server-error-message.js.map +0 -1
- package/dist/src/scalars/components/fragments/form-message/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/form-message/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/form-message/message-list.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/form-message/message-list.js +0 -22
- package/dist/src/scalars/components/fragments/form-message/message-list.js.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-context.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-context.js.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.js +0 -71
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.js.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.js +0 -47
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.js.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.js +0 -31
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.js.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.js +0 -88
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.js.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/types.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/types.js.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.js.map +0 -1
- package/dist/src/scalars/components/fragments/index.d.ts +0 -8
- package/dist/src/scalars/components/fragments/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/index.js +0 -8
- package/dist/src/scalars/components/fragments/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/popover/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/popover/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/popover/popover.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/popover/popover.js +0 -17
- package/dist/src/scalars/components/fragments/popover/popover.js.map +0 -1
- package/dist/src/scalars/components/fragments/radio-group-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/radio-group-field/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.d.ts +0 -12
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.js +0 -18
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.js.map +0 -1
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group.js.map +0 -1
- package/dist/src/scalars/components/fragments/radio-group-field/radio.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/radio-group-field/radio.js +0 -24
- package/dist/src/scalars/components/fragments/radio-group-field/radio.js.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/content.d.ts +0 -17
- package/dist/src/scalars/components/fragments/select-field/content.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/content.js +0 -34
- package/dist/src/scalars/components/fragments/select-field/content.js.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/select-field.d.ts +0 -19
- package/dist/src/scalars/components/fragments/select-field/select-field.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/select-field.js +0 -62
- package/dist/src/scalars/components/fragments/select-field/select-field.js.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/selected-content.d.ts +0 -13
- package/dist/src/scalars/components/fragments/select-field/selected-content.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/selected-content.js +0 -26
- package/dist/src/scalars/components/fragments/select-field/selected-content.js.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/subcomponents/CommandItemList.d.ts +0 -15
- package/dist/src/scalars/components/fragments/select-field/subcomponents/CommandItemList.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/subcomponents/CommandItemList.js +0 -24
- package/dist/src/scalars/components/fragments/select-field/subcomponents/CommandItemList.js.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/use-select-field.d.ts +0 -19
- package/dist/src/scalars/components/fragments/select-field/use-select-field.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/use-select-field.js.map +0 -1
- package/dist/src/scalars/components/fragments/tabs/tabs.d.ts +0 -8
- package/dist/src/scalars/components/fragments/tabs/tabs.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/tabs/tabs.js +0 -14
- package/dist/src/scalars/components/fragments/tabs/tabs.js.map +0 -1
- package/dist/src/scalars/components/fragments/text-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/text-field/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/text-field/text-field.d.ts +0 -5
- package/dist/src/scalars/components/fragments/text-field/text-field.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/text-field/text-field.js +0 -5
- package/dist/src/scalars/components/fragments/text-field/text-field.js.map +0 -1
- package/dist/src/scalars/components/fragments/textarea-field/index.d.ts +0 -2
- package/dist/src/scalars/components/fragments/textarea-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/textarea-field/index.js +0 -2
- package/dist/src/scalars/components/fragments/textarea-field/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.d.ts +0 -6
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.js +0 -6
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.js.map +0 -1
- package/dist/src/scalars/components/fragments/toggle-field/index.d.ts +0 -2
- package/dist/src/scalars/components/fragments/toggle-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/toggle-field/index.js +0 -2
- package/dist/src/scalars/components/fragments/toggle-field/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.d.ts +0 -6
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.js +0 -6
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.js.map +0 -1
- package/dist/src/scalars/components/fragments/value-transformer/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/value-transformer/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.js +0 -142
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.js.map +0 -1
- package/dist/src/scalars/components/fragments/with-field-validation/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/with-field-validation/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.js.map +0 -1
- package/dist/src/scalars/components/id-field/id-field.d.ts +0 -9
- package/dist/src/scalars/components/id-field/id-field.d.ts.map +0 -1
- package/dist/src/scalars/components/id-field/id-field.js +0 -23
- package/dist/src/scalars/components/id-field/id-field.js.map +0 -1
- package/dist/src/scalars/components/id-field/index.d.ts +0 -2
- package/dist/src/scalars/components/id-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/id-field/index.js +0 -2
- package/dist/src/scalars/components/id-field/index.js.map +0 -1
- package/dist/src/scalars/components/index.d.ts +0 -122
- package/dist/src/scalars/components/index.d.ts.map +0 -1
- package/dist/src/scalars/components/index.js +0 -94
- package/dist/src/scalars/components/index.js.map +0 -1
- package/dist/src/scalars/components/number-field/index.d.ts +0 -2
- package/dist/src/scalars/components/number-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/number-field/index.js +0 -2
- package/dist/src/scalars/components/number-field/index.js.map +0 -1
- package/dist/src/scalars/components/number-field/number-field-validations.d.ts +0 -7
- package/dist/src/scalars/components/number-field/number-field-validations.d.ts.map +0 -1
- package/dist/src/scalars/components/number-field/number-field-validations.js +0 -117
- package/dist/src/scalars/components/number-field/number-field-validations.js.map +0 -1
- package/dist/src/scalars/components/number-field/number-field.d.ts +0 -12
- package/dist/src/scalars/components/number-field/number-field.d.ts.map +0 -1
- package/dist/src/scalars/components/number-field/number-field.js +0 -50
- package/dist/src/scalars/components/number-field/number-field.js.map +0 -1
- package/dist/src/scalars/components/number-field/types.d.ts +0 -20
- package/dist/src/scalars/components/number-field/types.d.ts.map +0 -1
- package/dist/src/scalars/components/number-field/types.js.map +0 -1
- package/dist/src/scalars/components/number-field/use-number-field.d.ts +0 -29
- package/dist/src/scalars/components/number-field/use-number-field.d.ts.map +0 -1
- package/dist/src/scalars/components/number-field/use-number-field.js +0 -140
- package/dist/src/scalars/components/number-field/use-number-field.js.map +0 -1
- package/dist/src/scalars/components/number-field/utils.d.ts +0 -10
- package/dist/src/scalars/components/number-field/utils.d.ts.map +0 -1
- package/dist/src/scalars/components/number-field/utils.js +0 -38
- package/dist/src/scalars/components/number-field/utils.js.map +0 -1
- package/dist/src/scalars/components/oid-field/index.d.ts +0 -3
- package/dist/src/scalars/components/oid-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/oid-field/index.js +0 -2
- package/dist/src/scalars/components/oid-field/index.js.map +0 -1
- package/dist/src/scalars/components/oid-field/oid-field.d.ts +0 -4
- package/dist/src/scalars/components/oid-field/oid-field.d.ts.map +0 -1
- package/dist/src/scalars/components/oid-field/oid-field.js +0 -20
- package/dist/src/scalars/components/oid-field/oid-field.js.map +0 -1
- package/dist/src/scalars/components/oid-field/types.d.ts +0 -5
- package/dist/src/scalars/components/oid-field/types.d.ts.map +0 -1
- package/dist/src/scalars/components/oid-field/types.js +0 -2
- package/dist/src/scalars/components/oid-field/types.js.map +0 -1
- package/dist/src/scalars/components/phid-field/index.d.ts +0 -3
- package/dist/src/scalars/components/phid-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/phid-field/index.js +0 -2
- package/dist/src/scalars/components/phid-field/index.js.map +0 -1
- package/dist/src/scalars/components/phid-field/phid-field.d.ts +0 -4
- package/dist/src/scalars/components/phid-field/phid-field.d.ts.map +0 -1
- package/dist/src/scalars/components/phid-field/phid-field.js +0 -51
- package/dist/src/scalars/components/phid-field/phid-field.js.map +0 -1
- package/dist/src/scalars/components/phid-field/types.d.ts +0 -5
- package/dist/src/scalars/components/phid-field/types.d.ts.map +0 -1
- package/dist/src/scalars/components/phid-field/types.js +0 -2
- package/dist/src/scalars/components/phid-field/types.js.map +0 -1
- package/dist/src/scalars/components/string-field/index.d.ts +0 -2
- package/dist/src/scalars/components/string-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/string-field/index.js +0 -2
- package/dist/src/scalars/components/string-field/index.js.map +0 -1
- package/dist/src/scalars/components/string-field/string-field.d.ts +0 -7
- package/dist/src/scalars/components/string-field/string-field.d.ts.map +0 -1
- package/dist/src/scalars/components/string-field/string-field.js +0 -13
- package/dist/src/scalars/components/string-field/string-field.js.map +0 -1
- package/dist/src/scalars/components/time-picker-field/index.d.ts +0 -2
- package/dist/src/scalars/components/time-picker-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/time-picker-field/index.js +0 -2
- package/dist/src/scalars/components/time-picker-field/index.js.map +0 -1
- package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.d.ts +0 -3
- package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.d.ts.map +0 -1
- package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.js +0 -48
- package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.js.map +0 -1
- package/dist/src/scalars/components/time-picker-field/time-picker-field.d.ts +0 -7
- package/dist/src/scalars/components/time-picker-field/time-picker-field.d.ts.map +0 -1
- package/dist/src/scalars/components/time-picker-field/time-picker-field.js +0 -11
- package/dist/src/scalars/components/time-picker-field/time-picker-field.js.map +0 -1
- package/dist/src/scalars/components/types.d.ts.map +0 -1
- package/dist/src/scalars/components/types.js +0 -2
- package/dist/src/scalars/components/types.js.map +0 -1
- package/dist/src/scalars/components/url-field/index.d.ts +0 -3
- package/dist/src/scalars/components/url-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/url-field/index.js +0 -3
- package/dist/src/scalars/components/url-field/index.js.map +0 -1
- package/dist/src/scalars/components/url-field/url-favicon.d.ts +0 -8
- package/dist/src/scalars/components/url-field/url-favicon.d.ts.map +0 -1
- package/dist/src/scalars/components/url-field/url-favicon.js +0 -36
- package/dist/src/scalars/components/url-field/url-favicon.js.map +0 -1
- package/dist/src/scalars/components/url-field/url-field.d.ts +0 -9
- package/dist/src/scalars/components/url-field/url-field.d.ts.map +0 -1
- package/dist/src/scalars/components/url-field/url-field.js +0 -48
- package/dist/src/scalars/components/url-field/url-field.js.map +0 -1
- package/dist/src/scalars/components/url-field/url-input.d.ts +0 -11
- package/dist/src/scalars/components/url-field/url-input.d.ts.map +0 -1
- package/dist/src/scalars/components/url-field/url-input.js +0 -34
- package/dist/src/scalars/components/url-field/url-input.js.map +0 -1
- package/dist/src/scalars/components/url-field/useURLWarnings.d.ts +0 -5
- package/dist/src/scalars/components/url-field/useURLWarnings.d.ts.map +0 -1
- package/dist/src/scalars/components/url-field/useURLWarnings.js +0 -77
- package/dist/src/scalars/components/url-field/useURLWarnings.js.map +0 -1
- package/dist/src/scalars/hooks/useEllipsis.d.ts +0 -7
- package/dist/src/scalars/hooks/useEllipsis.d.ts.map +0 -1
- package/dist/src/scalars/hooks/useEllipsis.js +0 -21
- package/dist/src/scalars/hooks/useEllipsis.js.map +0 -1
- package/dist/src/scalars/index.d.ts +0 -4
- package/dist/src/scalars/index.d.ts.map +0 -1
- package/dist/src/scalars/index.js +0 -5
- package/dist/src/scalars/index.js.map +0 -1
- package/dist/src/scalars/lib/decorators.d.ts.map +0 -1
- package/dist/src/scalars/lib/decorators.js +0 -96
- package/dist/src/scalars/lib/decorators.js.map +0 -1
- package/dist/src/scalars/lib/deep-equal.d.ts.map +0 -1
- package/dist/src/scalars/lib/deep-equal.js.map +0 -1
- package/dist/src/scalars/lib/index.d.ts +0 -7
- package/dist/src/scalars/lib/index.d.ts.map +0 -1
- package/dist/src/scalars/lib/index.js +0 -7
- package/dist/src/scalars/lib/index.js.map +0 -1
- package/dist/src/scalars/lib/is-empty.d.ts.map +0 -1
- package/dist/src/scalars/lib/is-empty.js.map +0 -1
- package/dist/src/scalars/lib/share-number-validations.d.ts +0 -5
- package/dist/src/scalars/lib/share-number-validations.d.ts.map +0 -1
- package/dist/src/scalars/lib/share-number-validations.js +0 -32
- package/dist/src/scalars/lib/share-number-validations.js.map +0 -1
- package/dist/src/scalars/lib/shared-value-transformers.d.ts +0 -3
- package/dist/src/scalars/lib/shared-value-transformers.d.ts.map +0 -1
- package/dist/src/scalars/lib/shared-value-transformers.js.map +0 -1
- package/dist/src/scalars/lib/storybook-arg-types.d.ts.map +0 -1
- package/dist/src/scalars/lib/storybook-arg-types.js.map +0 -1
- package/dist/src/scalars/lib/testing.d.ts.map +0 -1
- package/dist/src/scalars/lib/testing.js.map +0 -1
- package/dist/src/scalars/lib/utils.d.ts +0 -3
- package/dist/src/scalars/lib/utils.d.ts.map +0 -1
- package/dist/src/scalars/lib/utils.js +0 -6
- package/dist/src/scalars/lib/utils.js.map +0 -1
- package/dist/src/scalars/lib/value-cast.d.ts.map +0 -1
- package/dist/src/scalars/lib/value-cast.js +0 -57
- package/dist/src/scalars/lib/value-cast.js.map +0 -1
- package/dist/src/ui/components/data-entry/aid-input/aid-input.d.ts +0 -5
- package/dist/src/ui/components/data-entry/aid-input/aid-input.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/aid-input/aid-input.js +0 -25
- package/dist/src/ui/components/data-entry/aid-input/aid-input.js.map +0 -1
- package/dist/src/ui/components/data-entry/aid-input/index.d.ts +0 -3
- package/dist/src/ui/components/data-entry/aid-input/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/aid-input/index.js +0 -2
- package/dist/src/ui/components/data-entry/aid-input/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/aid-input/mocks.d.ts +0 -7
- package/dist/src/ui/components/data-entry/aid-input/mocks.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/aid-input/mocks.js +0 -319
- package/dist/src/ui/components/data-entry/aid-input/mocks.js.map +0 -1
- package/dist/src/ui/components/data-entry/aid-input/types.d.ts +0 -25
- package/dist/src/ui/components/data-entry/aid-input/types.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/aid-input/types.js +0 -2
- package/dist/src/ui/components/data-entry/aid-input/types.js.map +0 -1
- package/dist/src/ui/components/data-entry/amount-input/amount-input.d.ts +0 -24
- package/dist/src/ui/components/data-entry/amount-input/amount-input.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/amount-input/amount-input.js +0 -34
- package/dist/src/ui/components/data-entry/amount-input/amount-input.js.map +0 -1
- package/dist/src/ui/components/data-entry/amount-input/index.d.ts +0 -2
- package/dist/src/ui/components/data-entry/amount-input/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/amount-input/index.js +0 -2
- package/dist/src/ui/components/data-entry/amount-input/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/amount-input/types.d.ts +0 -43
- package/dist/src/ui/components/data-entry/amount-input/types.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/amount-input/types.js +0 -2
- package/dist/src/ui/components/data-entry/amount-input/types.js.map +0 -1
- package/dist/src/ui/components/data-entry/amount-input/use-amount-input.d.ts +0 -34
- package/dist/src/ui/components/data-entry/amount-input/use-amount-input.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/amount-input/use-amount-input.js +0 -311
- package/dist/src/ui/components/data-entry/amount-input/use-amount-input.js.map +0 -1
- package/dist/src/ui/components/data-entry/amount-input/utils.d.ts +0 -17
- package/dist/src/ui/components/data-entry/amount-input/utils.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/amount-input/utils.js +0 -92
- package/dist/src/ui/components/data-entry/amount-input/utils.js.map +0 -1
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.js +0 -29
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.js.map +0 -1
- package/dist/src/ui/components/data-entry/checkbox/checkbox.d.ts +0 -10
- package/dist/src/ui/components/data-entry/checkbox/checkbox.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/checkbox/checkbox.js +0 -22
- package/dist/src/ui/components/data-entry/checkbox/checkbox.js.map +0 -1
- package/dist/src/ui/components/data-entry/checkbox/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/checkbox/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/date-picker.d.ts +0 -25
- package/dist/src/ui/components/data-entry/date-picker/date-picker.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/date-picker.js +0 -47
- package/dist/src/ui/components/data-entry/date-picker/date-picker.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/index.d.ts +0 -3
- package/dist/src/ui/components/data-entry/date-picker/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/index.js +0 -2
- package/dist/src/ui/components/data-entry/date-picker/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.d.ts +0 -49
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.js +0 -112
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.d.ts +0 -8
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.js +0 -8
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.d.ts +0 -22
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.js +0 -81
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.d.ts +0 -9
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.js +0 -15
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.d.ts +0 -8
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.js +0 -8
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.d.ts +0 -2
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.js +0 -15
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.d.ts +0 -16
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.js +0 -13
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.d.ts +0 -18
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.js +0 -8
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/types.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/types.js +0 -2
- package/dist/src/ui/components/data-entry/date-picker/types.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/use-date-picker.d.ts +0 -38
- package/dist/src/ui/components/data-entry/date-picker/use-date-picker.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/use-date-picker.js +0 -130
- package/dist/src/ui/components/data-entry/date-picker/use-date-picker.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/utils.d.ts +0 -50
- package/dist/src/ui/components/data-entry/date-picker/utils.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/utils.js +0 -104
- package/dist/src/ui/components/data-entry/date-picker/utils.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/base-picker.d.ts +0 -25
- package/dist/src/ui/components/data-entry/date-time-picker/base-picker.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/base-picker.js +0 -16
- package/dist/src/ui/components/data-entry/date-time-picker/base-picker.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.d.ts +0 -33
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.js +0 -37
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.d.ts +0 -30
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.js +0 -50
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/index.d.ts +0 -2
- package/dist/src/ui/components/data-entry/date-time-picker/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/index.js +0 -2
- package/dist/src/ui/components/data-entry/date-time-picker/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.d.ts +0 -72
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.js +0 -291
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/utils.d.ts +0 -70
- package/dist/src/ui/components/data-entry/date-time-picker/utils.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/utils.js +0 -217
- package/dist/src/ui/components/data-entry/date-time-picker/utils.js.map +0 -1
- package/dist/src/ui/components/data-entry/input/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/input/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/input/input.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/input/input.js +0 -22
- package/dist/src/ui/components/data-entry/input/input.js.map +0 -1
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.d.ts +0 -8
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.js +0 -35
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.js.map +0 -1
- package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.js +0 -8
- package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.js.map +0 -1
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.d.ts +0 -9
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.js +0 -27
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.js.map +0 -1
- package/dist/src/ui/components/data-entry/oid-input/index.d.ts +0 -3
- package/dist/src/ui/components/data-entry/oid-input/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/oid-input/index.js +0 -2
- package/dist/src/ui/components/data-entry/oid-input/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/oid-input/mocks.d.ts +0 -7
- package/dist/src/ui/components/data-entry/oid-input/mocks.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/oid-input/mocks.js +0 -119
- package/dist/src/ui/components/data-entry/oid-input/mocks.js.map +0 -1
- package/dist/src/ui/components/data-entry/oid-input/oid-input.d.ts +0 -5
- package/dist/src/ui/components/data-entry/oid-input/oid-input.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/oid-input/oid-input.js +0 -21
- package/dist/src/ui/components/data-entry/oid-input/oid-input.js.map +0 -1
- package/dist/src/ui/components/data-entry/oid-input/types.d.ts +0 -16
- package/dist/src/ui/components/data-entry/oid-input/types.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/oid-input/types.js +0 -2
- package/dist/src/ui/components/data-entry/oid-input/types.js.map +0 -1
- package/dist/src/ui/components/data-entry/phid-input/index.d.ts +0 -3
- package/dist/src/ui/components/data-entry/phid-input/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/phid-input/index.js +0 -2
- package/dist/src/ui/components/data-entry/phid-input/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/phid-input/mocks.d.ts +0 -7
- package/dist/src/ui/components/data-entry/phid-input/mocks.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/phid-input/mocks.js +0 -224
- package/dist/src/ui/components/data-entry/phid-input/mocks.js.map +0 -1
- package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.d.ts +0 -13
- package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.js +0 -52
- package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.js.map +0 -1
- package/dist/src/ui/components/data-entry/phid-input/phid-input.d.ts +0 -5
- package/dist/src/ui/components/data-entry/phid-input/phid-input.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/phid-input/phid-input.js +0 -28
- package/dist/src/ui/components/data-entry/phid-input/phid-input.js.map +0 -1
- package/dist/src/ui/components/data-entry/phid-input/types.d.ts +0 -30
- package/dist/src/ui/components/data-entry/phid-input/types.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/phid-input/types.js +0 -2
- package/dist/src/ui/components/data-entry/phid-input/types.js.map +0 -1
- package/dist/src/ui/components/data-entry/text-input/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/text-input/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/text-input/text-input-diff.d.ts +0 -9
- package/dist/src/ui/components/data-entry/text-input/text-input-diff.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/text-input/text-input-diff.js +0 -8
- package/dist/src/ui/components/data-entry/text-input/text-input-diff.js.map +0 -1
- package/dist/src/ui/components/data-entry/text-input/text-input.d.ts +0 -10
- package/dist/src/ui/components/data-entry/text-input/text-input.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/text-input/text-input.js +0 -37
- package/dist/src/ui/components/data-entry/text-input/text-input.js.map +0 -1
- package/dist/src/ui/components/data-entry/text-input/types.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/text-input/types.js +0 -2
- package/dist/src/ui/components/data-entry/text-input/types.js.map +0 -1
- package/dist/src/ui/components/data-entry/textarea/index.d.ts +0 -2
- package/dist/src/ui/components/data-entry/textarea/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/textarea/index.js +0 -2
- package/dist/src/ui/components/data-entry/textarea/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.d.ts +0 -13
- package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.js +0 -9
- package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.js.map +0 -1
- package/dist/src/ui/components/data-entry/textarea/textarea.d.ts +0 -12
- package/dist/src/ui/components/data-entry/textarea/textarea.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/textarea/textarea.js +0 -103
- package/dist/src/ui/components/data-entry/textarea/textarea.js.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/index.d.ts +0 -3
- package/dist/src/ui/components/data-entry/time-picker/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/index.js +0 -2
- package/dist/src/ui/components/data-entry/time-picker/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.d.ts +0 -8
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.js +0 -8
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.js.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.d.ts +0 -25
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.js +0 -12
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.js.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.d.ts +0 -5
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.js +0 -5
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.js.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.d.ts +0 -5
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.js +0 -28
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.js.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.d.ts +0 -13
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.js +0 -106
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.js.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/time-picker.d.ts +0 -23
- package/dist/src/ui/components/data-entry/time-picker/time-picker.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/time-picker.js +0 -27
- package/dist/src/ui/components/data-entry/time-picker/time-picker.js.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/type.d.ts +0 -9
- package/dist/src/ui/components/data-entry/time-picker/type.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/type.js +0 -2
- package/dist/src/ui/components/data-entry/time-picker/type.js.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/use-time-picker.d.ts +0 -42
- package/dist/src/ui/components/data-entry/time-picker/use-time-picker.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/use-time-picker.js +0 -144
- package/dist/src/ui/components/data-entry/time-picker/use-time-picker.js.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/utils.d.ts +0 -207
- package/dist/src/ui/components/data-entry/time-picker/utils.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/utils.js +0 -475
- package/dist/src/ui/components/data-entry/time-picker/utils.js.map +0 -1
- package/dist/src/ui/components/data-entry/toggle/index.d.ts +0 -2
- package/dist/src/ui/components/data-entry/toggle/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/toggle/index.js +0 -2
- package/dist/src/ui/components/data-entry/toggle/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/toggle/toggle-base.d.ts +0 -11
- package/dist/src/ui/components/data-entry/toggle/toggle-base.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/toggle/toggle-base.js +0 -10
- package/dist/src/ui/components/data-entry/toggle/toggle-base.js.map +0 -1
- package/dist/src/ui/components/data-entry/toggle/toggle.d.ts +0 -11
- package/dist/src/ui/components/data-entry/toggle/toggle.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/toggle/toggle.js +0 -17
- package/dist/src/ui/components/data-entry/toggle/toggle.js.map +0 -1
- package/dist/src/ui/components/dropdown/dropdown-example.d.ts +0 -3
- package/dist/src/ui/components/dropdown/dropdown-example.d.ts.map +0 -1
- package/dist/src/ui/components/dropdown/dropdown-example.js +0 -13
- package/dist/src/ui/components/dropdown/dropdown-example.js.map +0 -1
- package/dist/src/ui/components/dropdown/index.d.ts +0 -8
- package/dist/src/ui/components/dropdown/index.d.ts.map +0 -1
- package/dist/src/ui/components/dropdown/index.js +0 -8
- package/dist/src/ui/components/dropdown/index.js.map +0 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.d.ts +0 -4
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.d.ts.map +0 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.js +0 -17
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.js.map +0 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.d.ts +0 -6
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.d.ts.map +0 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.js +0 -13
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.js.map +0 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.d.ts +0 -6
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.d.ts.map +0 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.js +0 -7
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.js.map +0 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.d.ts +0 -5
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.d.ts.map +0 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.js +0 -7
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.js.map +0 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.d.ts +0 -3
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.d.ts.map +0 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.js +0 -6
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.js.map +0 -1
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.d.ts +0 -3
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.js +0 -48
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.js.map +0 -1
- package/dist/src/ui/components/object-set-table/index.d.ts +0 -2
- package/dist/src/ui/components/object-set-table/index.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/index.js +0 -5
- package/dist/src/ui/components/object-set-table/index.js.map +0 -1
- package/dist/src/ui/components/object-set-table/logic/selection-manager.d.ts +0 -49
- package/dist/src/ui/components/object-set-table/logic/selection-manager.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/logic/selection-manager.js +0 -97
- package/dist/src/ui/components/object-set-table/logic/selection-manager.js.map +0 -1
- package/dist/src/ui/components/object-set-table/logic/table-api.d.ts +0 -52
- package/dist/src/ui/components/object-set-table/logic/table-api.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/logic/table-api.js +0 -105
- package/dist/src/ui/components/object-set-table/logic/table-api.js.map +0 -1
- package/dist/src/ui/components/object-set-table/mock-data.d.ts +0 -16
- package/dist/src/ui/components/object-set-table/mock-data.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/mock-data.js +0 -101
- package/dist/src/ui/components/object-set-table/mock-data.js.map +0 -1
- package/dist/src/ui/components/object-set-table/object-set-table.d.ts +0 -12
- package/dist/src/ui/components/object-set-table/object-set-table.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/object-set-table.js +0 -53
- package/dist/src/ui/components/object-set-table/object-set-table.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/body.d.ts +0 -8
- package/dist/src/ui/components/object-set-table/subcomponents/body.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/body.js +0 -114
- package/dist/src/ui/components/object-set-table/subcomponents/body.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.d.ts +0 -3
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.js +0 -7
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.d.ts +0 -7
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.js +0 -8
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.d.ts +0 -3
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.js +0 -7
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.d.ts +0 -8
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.js +0 -15
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.d.ts +0 -4
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.js +0 -14
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.d.ts +0 -3
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.js +0 -6
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.d.ts +0 -3
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.js +0 -6
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.d.ts +0 -3
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.js +0 -11
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.d.ts +0 -4
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.js +0 -6
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.d.ts +0 -3
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.js +0 -7
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.d.ts +0 -7
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.js +0 -13
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header.d.ts +0 -8
- package/dist/src/ui/components/object-set-table/subcomponents/header.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header.js +0 -19
- package/dist/src/ui/components/object-set-table/subcomponents/header.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.d.ts +0 -6
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.js +0 -18
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.d.ts +0 -5
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.js +0 -16
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.d.ts +0 -24
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.js +0 -41
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.d.ts +0 -49
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.js +0 -109
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.js.map +0 -1
- package/dist/src/ui/components/object-set-table/types.d.ts +0 -242
- package/dist/src/ui/components/object-set-table/types.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/types.js +0 -2
- package/dist/src/ui/components/object-set-table/types.js.map +0 -1
- package/dist/src/ui/components/object-set-table/utils.d.ts +0 -90
- package/dist/src/ui/components/object-set-table/utils.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/utils.js +0 -172
- package/dist/src/ui/components/object-set-table/utils.js.map +0 -1
- package/dist/src/ui/components/sidebar/index.d.ts +0 -4
- package/dist/src/ui/components/sidebar/index.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/index.js +0 -3
- package/dist/src/ui/components/sidebar/index.js.map +0 -1
- package/dist/src/ui/components/sidebar/mocked_tree.json +0 -5230
- package/dist/src/ui/components/sidebar/sidebar.d.ts +0 -81
- package/dist/src/ui/components/sidebar/sidebar.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/sidebar.js +0 -62
- package/dist/src/ui/components/sidebar/sidebar.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts +0 -7
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.js +0 -17
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.d.ts +0 -8
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.js +0 -17
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.d.ts +0 -19
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.js +0 -82
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.d.ts +0 -2
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.js +0 -13
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.d.ts +0 -2
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.js +0 -2
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts +0 -37
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.js +0 -292
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts +0 -93
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.js +0 -135
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.d.ts +0 -4
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.js +0 -4
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.d.ts +0 -8
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.js +0 -6
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.d.ts +0 -8
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.js +0 -8
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.d.ts +0 -6
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js +0 -36
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.d.ts +0 -8
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.js +0 -32
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.js.map +0 -1
- package/dist/src/ui/components/sidebar/types.d.ts +0 -23
- package/dist/src/ui/components/sidebar/types.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/types.js +0 -10
- package/dist/src/ui/components/sidebar/types.js.map +0 -1
- package/dist/src/ui/components/sidebar/use-sidebar-resize.d.ts +0 -33
- package/dist/src/ui/components/sidebar/use-sidebar-resize.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/use-sidebar-resize.js +0 -97
- package/dist/src/ui/components/sidebar/use-sidebar-resize.js.map +0 -1
- package/dist/src/ui/components/sidebar/utils.d.ts +0 -52
- package/dist/src/ui/components/sidebar/utils.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/utils.js +0 -238
- package/dist/src/ui/components/sidebar/utils.js.map +0 -1
- /package/dist/src/{scalars/components/aid-field → ui/components/amount-input}/types.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/button/button.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/button/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/button/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/character-counter/character-counter.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/character-counter/character-counter.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/character-counter/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/character-counter/index.js +0 -0
- /package/dist/src/ui/components/{data-entry/checkbox → checkbox}/checkbox-base.d.ts +0 -0
- /package/dist/src/ui/components/{data-entry/checkbox → checkbox}/index.d.ts +0 -0
- /package/dist/src/ui/components/{data-entry/checkbox → checkbox}/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/command/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/command/index.js +0 -0
- /package/dist/src/ui/components/{data-entry/date-picker → date-picker}/types.d.ts +0 -0
- /package/dist/src/{scalars/components/country-code-field → ui/components/date-picker}/types.js +0 -0
- /package/dist/src/{scalars → ui}/components/enum-field/index.d.ts +0 -0
- /package/dist/src/{scalars → ui}/components/enum-field/index.js +0 -0
- /package/dist/src/{scalars → ui}/components/enum-field/types.d.ts +0 -0
- /package/dist/src/{scalars/components/currency-code-field → ui/components/enum-field}/types.js +0 -0
- /package/dist/src/{scalars → ui}/components/form/form.d.ts +0 -0
- /package/dist/src/{scalars → ui}/components/form/index.d.ts +0 -0
- /package/dist/src/{scalars → ui}/components/form/index.js +0 -0
- /package/dist/src/{scalars → ui}/components/form/utils.d.ts +0 -0
- /package/dist/src/{scalars → ui}/components/form/utils.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-description/form-description.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-description/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-description/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-group/form-group.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-group/form-group.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-group/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-group/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-label/form-label.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-label/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-label/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-message/form-message.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-message/form-server-error-message.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-message/form-server-error-message.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-message/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-message/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-message/message-list.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/id-autocomplete-context.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/id-autocomplete-context.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/id-autocomplete-input-container.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/id-autocomplete-list-option.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/id-autocomplete-list.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/id-autocomplete.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/types.d.ts +0 -0
- /package/dist/src/{scalars/components/enum-field → ui/components/id-autocomplete}/types.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/use-id-autocomplete.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/use-id-autocomplete.js +0 -0
- /package/dist/src/ui/components/{data-entry/input → input}/index.d.ts +0 -0
- /package/dist/src/ui/components/{data-entry/input → input}/index.js +0 -0
- /package/dist/src/ui/components/{data-entry/input → input}/input.d.ts +0 -0
- /package/dist/src/ui/components/{data-entry/input → input}/subcomponent/input-diff.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/popover/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/popover/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/popover/popover.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/radio-group-field/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/radio-group-field/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/radio-group-field/radio-group.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/radio-group-field/radio-group.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/radio-group-field/radio.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/select-field/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/select-field/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/select-field/use-select-field.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/text-field/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/text-field/index.js +0 -0
- /package/dist/src/ui/components/{data-entry/text-input → text-input}/index.d.ts +0 -0
- /package/dist/src/ui/components/{data-entry/text-input → text-input}/index.js +0 -0
- /package/dist/src/ui/components/{data-entry/text-input → text-input}/types.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments/id-autocomplete → ui/components/text-input}/types.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/value-transformer/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/value-transformer/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/value-transformer/value-transformer.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/with-field-validation/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/with-field-validation/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/with-field-validation/with-field-validation.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/with-field-validation/with-field-validation.js +0 -0
- /package/dist/src/{scalars → ui}/lib/decorators.d.ts +0 -0
- /package/dist/src/{scalars → ui}/lib/deep-equal.d.ts +0 -0
- /package/dist/src/{scalars → ui}/lib/deep-equal.js +0 -0
- /package/dist/src/{scalars → ui}/lib/is-empty.d.ts +0 -0
- /package/dist/src/{scalars → ui}/lib/is-empty.js +0 -0
- /package/dist/src/{scalars → ui}/lib/shared-value-transformers.js +0 -0
- /package/dist/src/{scalars → ui}/lib/storybook-arg-types.d.ts +0 -0
- /package/dist/src/{scalars → ui}/lib/storybook-arg-types.js +0 -0
- /package/dist/src/{scalars → ui}/lib/testing.d.ts +0 -0
- /package/dist/src/{scalars → ui}/lib/testing.js +0 -0
- /package/dist/src/{scalars → ui}/lib/value-cast.d.ts +0 -0
- /package/dist/src/{scalars/components → ui}/types.d.ts +0 -0
- /package/dist/src/{scalars/components/number-field → ui}/types.js +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { cn } from "#powerhouse";
|
|
3
4
|
import { Content, Portal, Provider, Root, Trigger, } from "@radix-ui/react-tooltip";
|
|
4
5
|
import * as React from "react";
|
|
5
|
-
import { cn } from "../../../scalars/lib/utils.js";
|
|
6
6
|
const TooltipContent = React.forwardRef(({ children, className, ...props }, ref) => {
|
|
7
7
|
return (_jsx(Content, { ref: ref, ...props, className: cn(
|
|
8
8
|
// Base styles
|
|
@@ -20,5 +20,5 @@ const Tooltip = ({ content, children, triggerAsChild = false, delayDuration = 0,
|
|
|
20
20
|
const { open, defaultOpen, onOpenChange, ...rest } = props;
|
|
21
21
|
return (_jsxs(Root, { defaultOpen: defaultOpen, delayDuration: delayDuration, onOpenChange: onOpenChange, open: open, children: [_jsx(Trigger, { asChild: triggerAsChild, type: triggerAsChild ? undefined : "button", children: children }), _jsx(Portal, { children: _jsx(TooltipContent, { sideOffset: 3, ...rest, children: content }) })] }));
|
|
22
22
|
};
|
|
23
|
-
export { Tooltip, TooltipContent, Provider as TooltipProvider, Root as TooltipRoot, Trigger as TooltipTrigger
|
|
23
|
+
export { Tooltip, TooltipContent, Provider as TooltipProvider, Root as TooltipRoot, Trigger as TooltipTrigger };
|
|
24
24
|
//# sourceMappingURL=tooltip.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.js","sourceRoot":"","sources":["../../../../../src/ui/components/tooltip/tooltip.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EACL,OAAO,EACP,MAAM,EACN,QAAQ,EACR,IAAI,EAGJ,OAAO,GACR,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"tooltip.js","sourceRoot":"","sources":["../../../../../src/ui/components/tooltip/tooltip.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EACL,OAAO,EACP,MAAM,EACN,QAAQ,EACR,IAAI,EAGJ,OAAO,GACR,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,MAAM,cAAc,GAAG,KAAK,CAAC,UAAU,CAGrC,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAC3C,OAAO,CACL,KAAC,OAAO,IACN,GAAG,EAAE,GAAG,KACJ,KAAK,EACT,SAAS,EAAE,EAAE;QACX,cAAc;QACd,yCAAyC;QACzC,kBAAkB;QAClB,yGAAyG;QACzG,mBAAmB;QACnB,uBAAuB;QACvB,aAAa;QACb,qEAAqE,EACrE,2EAA2E;QAC3E,qCAAqC;QACrC,8CAA8C,EAC9C,8CAA8C,EAC9C,8CAA8C,EAC9C,8CAA8C,EAC9C,SAAS,CACV,YAEA,QAAQ,GACD,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,OAAO,GAA2B,CAAC,EACvC,OAAO,EACP,QAAQ,EACR,cAAc,GAAG,KAAK,EACtB,aAAa,GAAG,CAAC,EACjB,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAE3D,OAAO,CACL,MAAC,IAAI,IACH,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,aAAa,EAC5B,YAAY,EAAE,YAAY,EAC1B,IAAI,EAAE,IAAI,aAEV,KAAC,OAAO,IACN,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,YAE1C,QAAQ,GACD,EACV,KAAC,MAAM,cACL,KAAC,cAAc,IAAC,UAAU,EAAE,CAAC,KAAM,IAAI,YACpC,OAAO,GACO,GACV,IACJ,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EACL,OAAO,EACP,cAAc,EACd,QAAQ,IAAI,eAAe,EAC3B,IAAI,IAAI,WAAW,EACnB,OAAO,IAAI,cAAc,EAE1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/value-transformer/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/value-transformer/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"value-transformer.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/value-transformer/value-transformer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,MAAM,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,EAAE,GAAG,KAAK,GAAG,CAAC;AAEpD,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE/D,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,WAAW,EAAE,gBAAgB,CAAC;IAC9B,OAAO,CAAC,EAAE;QACR;;;WAGG;QACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;QAC7B;;;WAGG;QACH,EAAE,CAAC,EAAE,OAAO,CAAC;KACd,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,iBAAiB,EAAE,GAAG,gBAAgB,EAAE,CAAC;AAEvE,UAAU,qBAAqB;IAC7B,YAAY,EAAE,eAAe,CAAC;IAC9B,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;CAC9B;AAoDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,iBAAS,gBAAgB,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,EAAE,qBAAqB,sEA0F1E;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import React, { useEffect } from "react";
|
|
2
|
+
import { useFormContext } from "react-hook-form";
|
|
3
|
+
import { deepEqual } from "../../lib/index.js";
|
|
4
|
+
// Workaround to set the value of an input element
|
|
5
|
+
// following react core team recommendation
|
|
6
|
+
// https://github.com/facebook/react/issues/10135
|
|
7
|
+
function setNativeValue(element, value) {
|
|
8
|
+
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
9
|
+
const valueSetter = Object.getOwnPropertyDescriptor(element, "value")?.set;
|
|
10
|
+
const prototype = Object.getPrototypeOf(element);
|
|
11
|
+
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
12
|
+
const prototypeValueSetter = Object.getOwnPropertyDescriptor(prototype, "value")?.set;
|
|
13
|
+
if (valueSetter && valueSetter !== prototypeValueSetter) {
|
|
14
|
+
prototypeValueSetter?.call(element, value);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
valueSetter?.call(element, value);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
// apply transformers to the value
|
|
21
|
+
function _applyTransformers(transformers, value, filter = "blur") {
|
|
22
|
+
return transformers.reduce((value, transformer) => {
|
|
23
|
+
if (typeof transformer === "function") {
|
|
24
|
+
if (filter === "blur" || filter === "all") {
|
|
25
|
+
// array of transformers are only applied on blur
|
|
26
|
+
return transformer(value);
|
|
27
|
+
}
|
|
28
|
+
return value;
|
|
29
|
+
}
|
|
30
|
+
// it is a transformer object
|
|
31
|
+
if ((transformer.options?.trigger ?? "blur") !== filter &&
|
|
32
|
+
filter !== "all") {
|
|
33
|
+
return value;
|
|
34
|
+
}
|
|
35
|
+
// if no set, we assume true
|
|
36
|
+
if (transformer.options?.if === undefined || transformer.options.if) {
|
|
37
|
+
return transformer.transformer(value);
|
|
38
|
+
}
|
|
39
|
+
return value;
|
|
40
|
+
}, value);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Apply transformers to the value of the input element. A transformer is a function that
|
|
44
|
+
* will be applied to the value of the input element modifying the value.
|
|
45
|
+
*
|
|
46
|
+
* @param transformers - An array of transformers. A transformer is an object with a
|
|
47
|
+
* `transformer` property, which is a function that will be applied to the value of
|
|
48
|
+
* the input element, and an optional `options` property. The `options` property can
|
|
49
|
+
* have a `trigger` property, which is the event that triggers the transformer, and
|
|
50
|
+
* an `if` property, which is a boolean that indicates if the transformer should be
|
|
51
|
+
* applied.
|
|
52
|
+
* @param children - The input element to apply the transformers to as children
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* <ValueTransformer transformers={[
|
|
56
|
+
* {
|
|
57
|
+
* transformer: (value) => value.toUpperCase(),
|
|
58
|
+
* options: {
|
|
59
|
+
* trigger: "change",
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* ]}>
|
|
63
|
+
* <Input />
|
|
64
|
+
* </ValueTransformer>
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* <ValueTransformer transformers={[
|
|
68
|
+
* {
|
|
69
|
+
* // trim the value on blur
|
|
70
|
+
* transformer: (value) => (value as string).trim(),
|
|
71
|
+
* },
|
|
72
|
+
* ]}>
|
|
73
|
+
* <Input />
|
|
74
|
+
* </ValueTransformer>
|
|
75
|
+
*/
|
|
76
|
+
function ValueTransformer({ transformers, children }) {
|
|
77
|
+
const formContext = useFormContext();
|
|
78
|
+
const setValue = formContext?.setValue;
|
|
79
|
+
useEffect(() => {
|
|
80
|
+
// apply all the transformers on mount to prevent untransformed values
|
|
81
|
+
// if the field is not touched by the user
|
|
82
|
+
const value = children.props.value;
|
|
83
|
+
const transformedValue = _applyTransformers(transformers, value, "all");
|
|
84
|
+
if (!deepEqual(transformedValue, value)) {
|
|
85
|
+
if (typeof setValue === "function") {
|
|
86
|
+
setValue(children.props.name, transformedValue);
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
// if setValue is not available, then we're not inside a form context
|
|
90
|
+
// so we need to update the value using onChange if available
|
|
91
|
+
children.props.onChange?.({
|
|
92
|
+
target: { value: transformedValue },
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}, [transformers, setValue]);
|
|
97
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
98
|
+
return React.cloneElement(children, {
|
|
99
|
+
...children.props,
|
|
100
|
+
onChange: (event) => {
|
|
101
|
+
// apply transformers on change
|
|
102
|
+
const transformedValue = _applyTransformers(transformers, event.target.value, "change");
|
|
103
|
+
if (transformedValue !== event.target.value && setValue) {
|
|
104
|
+
setValue(children.props.name, transformedValue);
|
|
105
|
+
setNativeValue(event.target, transformedValue);
|
|
106
|
+
}
|
|
107
|
+
// call the original onChange
|
|
108
|
+
children.props.onChange?.(event);
|
|
109
|
+
},
|
|
110
|
+
// apply transformers on blur
|
|
111
|
+
onBlur: (event) => {
|
|
112
|
+
// call the original onBlur
|
|
113
|
+
children.props.onBlur?.(event);
|
|
114
|
+
// apply the transformers
|
|
115
|
+
const target = event.target;
|
|
116
|
+
const transformedValue = _applyTransformers(transformers, target.value, "blur");
|
|
117
|
+
if (!deepEqual(transformedValue, target.value)) {
|
|
118
|
+
// only dispatch change if the value has changed
|
|
119
|
+
setNativeValue(target, transformedValue);
|
|
120
|
+
const changeEvent = new Event("change", { bubbles: true });
|
|
121
|
+
target.dispatchEvent(changeEvent);
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
onKeyDown: (event) => {
|
|
125
|
+
// call the original onKeyDown
|
|
126
|
+
children.props.onKeyDown?.(event);
|
|
127
|
+
// apply the transformers
|
|
128
|
+
if (event.key === "Enter") {
|
|
129
|
+
const target = event.target;
|
|
130
|
+
const transformedValue = _applyTransformers(transformers, target.value, "keyDown");
|
|
131
|
+
// only dispatch change if the value has changed
|
|
132
|
+
if (!deepEqual(transformedValue, target.value)) {
|
|
133
|
+
setNativeValue(target, transformedValue);
|
|
134
|
+
const changeEvent = new Event("change", { bubbles: true });
|
|
135
|
+
target.dispatchEvent(changeEvent);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
export default ValueTransformer;
|
|
142
|
+
//# sourceMappingURL=value-transformer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"value-transformer.js","sourceRoot":"","sources":["../../../../../src/ui/components/value-transformer/value-transformer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,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B,MAAM,MAAM,GAAG,KAAK,CAAC,MAA0B,CAAC;gBAChD,MAAM,gBAAgB,GAAG,kBAAkB,CACzC,YAAY,EACZ,MAAM,CAAC,KAAK,EACZ,SAAS,CACV,CAAC;gBAEF,gDAAgD;gBAChD,IAAI,CAAC,SAAS,CAAC,gBAAgB,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;oBAC/C,cAAc,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;oBACzC,MAAM,WAAW,GAAG,IAAI,KAAK,CAAC,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;oBAC3D,MAAM,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;gBACpC,CAAC;YACH,CAAC;QACH,CAAC;KACF,CAAC,CAAC;AACL,CAAC;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/with-field-validation/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/with-field-validation/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-field-validation.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/with-field-validation/with-field-validation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAEhE,OAAO,KAAK,EACV,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EACjB,MAAM,gBAAgB,CAAC;AAExB,UAAU,aAAc,SAAQ,cAAc,CAAC,OAAO,CAAC,EAAE,kBAAkB;IACzE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAOD,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE,CAAC,KAAK,gBAAgB,CAAC,CAAC;IACnE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,GAAG,CAAC;CACtC;AAED,eAAO,MAAM,mBAAmB,GAC9B,CAAC,SAAS,aAAa,EACvB,CAAC,SAAS,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,EAEvD,WAAW,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,EACjC,UAAU,iBAAiB,CAAC,CAAC,CAAC,KAC7B,KAAK,CAAC,yBAAyB,CAChC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAkSlD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-field-validation.js","sourceRoot":"","sources":["../../../../../src/ui/components/with-field-validation/with-field-validation.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAyB3E,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAIjC,SAAiC,EACjC,OAA8B,EAG9B,EAAE;IACF,OAAO,KAAK,CAAC,UAAU,CACrB,CACE,EACE,KAAK,EACL,IAAI,EACJ,eAAe,EACf,iBAAiB,EACjB,UAAU,EAAE,gBAAgB,EAC5B,GAAG,KAAK,EACT,EACD,GAAG,EACH,EAAE;QACF,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM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OAAO,EAAE,WAAW;wBACtB,CAAC,CAAC,MAAM,CAAC,WAAW,CAChB,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,GAAG,CACrC,CAAC,CAAC,GAAG,EAAE,gBAAgB,CAAC,EAAE,EAAE;4BAC1B,MAAM,eAAe,GAAG;gCACtB,KAAK,EAAE,SAAS,CAAC,IAAI,CAAY,EAAE,gDAAgD;gCACnF,IAAI;gCACJ,eAAe;gCACf,iBAAiB;gCACjB,GAAG,KAAK;6BACT,CAAC;4BACF,OAAO;gCACL,GAAG;gCACH,gBAAgB,CAAC,eAA+B,CAAC;6BAClD,CAAC;wBACJ,CAAC,CACF,CACF;wBACH,CAAC,CAAC,EAAE,CAAC;oBACP,2CAA2C;oBAC3C,GAAG,CAAC,gBAAgB,KAAK,SAAS;wBAChC,CAAC,CAAC,MAAM,CAAC,WAAW,CAChB,CAAC,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC;4BAC9B,CAAC,CAAC,gBAAgB;4BAClB,CAAC,CAAC,CAAC,gBAAgB,CAAC,CACrB,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,KAAK,EAAE,EAAE,CAAC;4BAC1B,mBAAmB,KAAK,EAAE;4BAC1B,SAAS;yBACV,CAAC,CACH;wBACH,CAAC,CAAC,EAAE,CAAC;iBACR;aACF,GACD,CACH,CAAC;IACJ,CAAC,CACF,CAAC;AACJ,CAAC,CAAC"}
|
package/dist/src/ui/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC"}
|
package/dist/src/ui/index.js
CHANGED
package/dist/src/ui/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../../../src/ui/lib/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAG7C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cn.js","sourceRoot":"","sources":["../../../../src/ui/lib/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAmB,MAAM,MAAM,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC,MAAM,UAAU,EAAE,CAAC,GAAG,MAAoB;IACxC,OAAO,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;AAC/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decorators.d.ts","sourceRoot":"","sources":["../../../../src/ui/lib/decorators.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAa,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAuBrE,eAAO,MAAM,QAAQ,EAAE,SAwGtB,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,iBAAiB,CAAC,GAAG,CAoC7D,CAAC"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Button } from "#powerhouse";
|
|
3
|
+
import { format } from "date-fns";
|
|
4
|
+
import { useCallback, useId, useRef, useState } from "react";
|
|
5
|
+
import { Checkbox } from "../components/checkbox/checkbox.js";
|
|
6
|
+
import { Form } from "../components/form/index.js";
|
|
7
|
+
function _isValidRegex(pattern) {
|
|
8
|
+
try {
|
|
9
|
+
new RegExp(pattern);
|
|
10
|
+
return true;
|
|
11
|
+
}
|
|
12
|
+
catch {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export const withForm = (Story, context) => {
|
|
17
|
+
const formRef = useRef(null);
|
|
18
|
+
const [showFormButtons, setShowFormButtons] = useState(false);
|
|
19
|
+
const [resetKey, setResetKey] = useState(0);
|
|
20
|
+
const checkboxId = useId();
|
|
21
|
+
const { viewMode, parameters } = context;
|
|
22
|
+
const isDocs = viewMode === "docs";
|
|
23
|
+
// Ensure we're properly accessing the parameters
|
|
24
|
+
const formParameters = parameters.form;
|
|
25
|
+
const resetBehavior = formParameters?.resetBehavior ?? "reset";
|
|
26
|
+
const onReset = useCallback(() => {
|
|
27
|
+
if (resetBehavior === "unmount") {
|
|
28
|
+
setResetKey((prev) => prev + 1);
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
const defaultValues = Object.fromEntries(Object.keys(formRef.current?.control._fields ?? {}).map((fieldName) => [
|
|
32
|
+
fieldName,
|
|
33
|
+
formParameters?.defaultValues?.[fieldName] ?? "",
|
|
34
|
+
]));
|
|
35
|
+
formRef.current?.reset(defaultValues);
|
|
36
|
+
}
|
|
37
|
+
}, [formParameters, resetBehavior]);
|
|
38
|
+
const onSubmit = useCallback((data) => {
|
|
39
|
+
// Allow to show bigInt values in the alert
|
|
40
|
+
const serializedData = JSON.stringify(data, (key, value) => typeof value === "bigint" ? `BigInt(${value.toString()})` : value, 2);
|
|
41
|
+
// delay the alert to allow component JS to finish the execution
|
|
42
|
+
setTimeout(() => {
|
|
43
|
+
alert(serializedData);
|
|
44
|
+
}, 300);
|
|
45
|
+
}, []);
|
|
46
|
+
const onShowFormButtonsChange = useCallback((checked) => {
|
|
47
|
+
setShowFormButtons(checked);
|
|
48
|
+
}, []);
|
|
49
|
+
// override the warnings in the args to avoid breaking the storybook
|
|
50
|
+
// as storybook set by default an object instead of an array
|
|
51
|
+
const overrideArgs = {
|
|
52
|
+
...context.args,
|
|
53
|
+
...(Array.isArray(context.args.warnings)
|
|
54
|
+
? { warnings: context.args.warnings }
|
|
55
|
+
: { warnings: undefined }),
|
|
56
|
+
...(context.args.pattern !== undefined
|
|
57
|
+
? _isValidRegex(context.args.pattern)
|
|
58
|
+
? { pattern: context.args.pattern }
|
|
59
|
+
: { pattern: "" }
|
|
60
|
+
: {}),
|
|
61
|
+
};
|
|
62
|
+
return (_jsxs("div", { children: [_jsxs(Form, { ref: formRef, onSubmit: onSubmit, children: [_jsx(Story, { args: overrideArgs }), showFormButtons || isDocs ? (_jsxs("div", { className: "flex gap-2", children: [_jsx(Button, { className: "mt-4 w-full", color: "light", type: "reset", onClick: onReset, children: "Reset" }), _jsx(Button, { className: "mt-4 w-full", color: "dark", type: "submit", children: "Submit" })] })) : (
|
|
63
|
+
// allow to "submit" the form from the story
|
|
64
|
+
// it is needed as some browsers do not submit on Enter key press when there're several inputs and no submit button
|
|
65
|
+
_jsx("input", { type: "submit", className: "hidden" }))] }, resetKey), !isDocs && (_jsx("div", { className: "absolute bottom-5 right-5 z-50", children: _jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Checkbox, { id: checkboxId, value: showFormButtons, onChange: onShowFormButtonsChange }), _jsx("label", { className: "cursor-pointer dark:text-gray-400", htmlFor: checkboxId, children: "Show form buttons" })] }) }))] }));
|
|
66
|
+
};
|
|
67
|
+
export const withTimestampsAsISOStrings = (Story, context) => {
|
|
68
|
+
const { args } = context;
|
|
69
|
+
// Function to convert timestamps to Date objects
|
|
70
|
+
const convertTimestampsToDates = (args) => {
|
|
71
|
+
const newArgs = { ...args };
|
|
72
|
+
// Iterate through all args properties
|
|
73
|
+
Object.keys(newArgs).forEach((key) => {
|
|
74
|
+
const value = newArgs[key];
|
|
75
|
+
if ((key === "minDate" || key === "maxDate") &&
|
|
76
|
+
typeof value === "string") {
|
|
77
|
+
const timestamp = new Date(value).getTime();
|
|
78
|
+
if (!isNaN(timestamp)) {
|
|
79
|
+
const date = new Date(timestamp);
|
|
80
|
+
date.setHours(12, 0, 0, 0);
|
|
81
|
+
// Format that Storybook accepts: "22-Mar-2025"
|
|
82
|
+
newArgs[key] = format(date, "dd-MMM-yyyy");
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
if (typeof value === "number" && value > 1609459200000) {
|
|
86
|
+
const date = new Date(value);
|
|
87
|
+
date.setHours(12, 0, 0, 0);
|
|
88
|
+
newArgs[key] = format(date, "dd-MMM-yyyy");
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
return newArgs;
|
|
92
|
+
};
|
|
93
|
+
const convertedArgs = convertTimestampsToDates(args);
|
|
94
|
+
return _jsx(Story, { ...context, args: convertedArgs });
|
|
95
|
+
};
|
|
96
|
+
//# sourceMappingURL=decorators.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decorators.js","sourceRoot":"","sources":["../../../../src/ui/lib/decorators.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAGrC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAEnD,SAAS,aAAa,CAAC,OAAgB;IACrC,IAAI,CAAC;QACH,IAAI,MAAM,CAAC,OAAiB,CAAC,CAAC;QAC9B,OAA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AC,CAAC,EACjB,CAAC;QACD,IAAI,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC;YACzB,OAAO,IAAI,CAAC,CAAC,mCAAmC;QAClD,CAAC;QACD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QAClB,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAC7B,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAC7B,OAAO,CACL,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,MAAM;YAC7B,KAAK,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;gBAClB,OAAO,CACL,GAAG,IAAI,CAAC;oBACR,SAAS,CACN,CAA6B,CAAC,GAAG,CAAC,EAClC,CAA6B,CAAC,GAAG,CAAC,EACnC,OAAO,CACR,CACF,CAAC;YACJ,CAAC,CAAC,CACH,CAAC;IACJ,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./cn.js";
|
|
2
|
+
export * from "./decorators.js";
|
|
3
|
+
export * from "./deep-equal.js";
|
|
4
|
+
export * from "./is-empty.js";
|
|
5
|
+
export * from "./shared-value-transformers.js";
|
|
6
|
+
export * from "./storybook-arg-types.js";
|
|
7
|
+
export * from "./testing.js";
|
|
8
|
+
export * from "./value-cast.js";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./cn.js";
|
|
2
|
+
export * from "./decorators.js";
|
|
3
|
+
export * from "./deep-equal.js";
|
|
4
|
+
export * from "./is-empty.js";
|
|
5
|
+
export * from "./shared-value-transformers.js";
|
|
6
|
+
export * from "./storybook-arg-types.js";
|
|
7
|
+
export * from "./testing.js";
|
|
8
|
+
export * from "./value-cast.js";
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-empty.d.ts","sourceRoot":"","sources":["../../../../src/ui/lib/is-empty.ts"],"names":[],"mappings":"AAAA,wBAAgB,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CA8B/C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-empty.js","sourceRoot":"","sources":["../../../../src/ui/lib/is-empty.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,OAAO,CAAC,KAAc;IACpC,IACE,KAAK,KAAK,IAAI;QACd,KAAK,KAAK,SAAS;QACnB,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,EAC3C,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,OAAO,KAAK,KAAK,SAAS,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC5D,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,KAAK,YAAY,MAAM,IAAI,KAAK,YAAY,IAAI,EAAE,CAAC;QACrD,OAAO,KAAK,CAAC,CAAC,0CAA0C;IAC1D,CAAC;IAED,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACtD,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC;IAC5B,CAAC;IAED,IAAI,KAAK,YAAY,GAAG,IAAI,KAAK,YAAY,GAAG,EAAE,CAAC;QACjD,OAAO,KAAK,CAAC,IAAI,KAAK,CAAC,CAAC;IAC1B,CAAC;IAED,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9B,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC;IACzC,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared-value-transformers.d.ts","sourceRoot":"","sources":["../../../../src/ui/lib/shared-value-transformers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,sDAAsD,CAAC;AAE9F,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAC1C,MAAM,EACN,CAAC,OAAO,CAAC,EAAE,OAAO,KAAK,iBAAiB,CA8BzC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared-value-transformers.js","sourceRoot":"","sources":["../../../../src/ui/lib/shared-value-transformers.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,uBAAuB,GAGhC;IACF,UAAU,EAAE,CAAC,OAAO,GAAG,IAAI,EAAE,EAAE,CAAC,CAAC;QAC/B,WAAW,EAAE,CAAC,KAAc,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE;QAC9C,OAAO,EAAE;YACP,OAAO,EAAE,MAA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CAAC,QAAQ,KAAK,KAAK,IAAI,gBAAgB,CAAC,QAAQ,CAAC;QAC7D,GAAG,CAAC,QAAQ,CAAC,MAAM,KAAK,KAAK,IAAI,gBAAgB,CAAC,MAAM,CAAC;QACzD,GAAG,CAAC,QAAQ,CAAC,QAAQ,KAAK,KAAK,IAAI,gBAAgB,CAAC,QAAQ,CAAC;KAC3C,CAAC;AACvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../src/ui/lib/testing.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAGnE,eAAO,MAAM,cAAc,GACzB,UAAU,KAAK,CAAC,SAAS,EACzB,WAAW,MAAM,IAAI,KACpB,YAMF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testing.js","sourceRoot":"","sources":["../../../../src/ui/lib/testing.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAqB,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,QAAyB,EACzB,QAAqB,EACP,EAAE;IAChB,OAAO,MAAM,CAAC,QAAQ,EAAE;QACtB,OAAO,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACzB,KAAC,IAAI,IAAC,QAAQ,EAAE,QAAQ,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,YAAG,QAAQ,GAAQ,CAC5D;KACF,CAAC,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"value-cast.d.ts","sourceRoot":"","sources":["../../../../src/ui/lib/value-cast.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,SAAS,GACjB,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,cAAc,GACd,cAAc,GACd,YAAY,GACZ,gBAAgB,CAAC;AAErB,eAAO,MAAM,aAAa,EAAE,MAAM,CAChC,SAAS,EACT,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,CAAC,EAAE,MAAM,KAAK,GAAG,CA+DzC,CAAC;AAEF,wBAAgB,SAAS,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,GAAG,GAAG,CAGvD"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { format, parse } from "date-fns";
|
|
2
|
+
import { getDateFromValue } from "../components/date-picker/utils.js";
|
|
3
|
+
import { getDateFormat, normalizeMonthFormat, parseInputString, } from "../components/date-time-picker/utils.js";
|
|
4
|
+
export const castFunctions = {
|
|
5
|
+
BigInt: (value) => BigInt(value),
|
|
6
|
+
Number: (value) => Number(value),
|
|
7
|
+
URLTrim: (value) => value?.trim(),
|
|
8
|
+
AmountNumber: (value) => {
|
|
9
|
+
if (typeof value === "object" && "unit" in value) {
|
|
10
|
+
return {
|
|
11
|
+
...value,
|
|
12
|
+
amount: value.amount !== undefined ? Number(value.amount) : null,
|
|
13
|
+
unit: value.unit !== "" ? value.unit : null,
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
if (typeof value === "object") {
|
|
17
|
+
return {
|
|
18
|
+
...value,
|
|
19
|
+
amount: Number(value.amount),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
return Number(value);
|
|
23
|
+
},
|
|
24
|
+
AmountBigInt: (value) => {
|
|
25
|
+
if (typeof value === "object" && "unit" in value) {
|
|
26
|
+
return {
|
|
27
|
+
...value,
|
|
28
|
+
amount: value.amount !== undefined ? BigInt(value.amount) : null,
|
|
29
|
+
unit: value.unit !== "" ? value.unit : null,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
DateString: (value, dateFormat = "yyyy-MM-dd") => {
|
|
34
|
+
const momentDate = getDateFromValue(value);
|
|
35
|
+
const date = normalizeMonthFormat(momentDate);
|
|
36
|
+
const correctFormat = getDateFormat(dateFormat);
|
|
37
|
+
const newValue = parseInputString(date, correctFormat);
|
|
38
|
+
const fechaUTC = parse(newValue, correctFormat ?? "yyyy-MM-dd", new Date());
|
|
39
|
+
const isoDate = format(fechaUTC, "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
|
|
40
|
+
return isoDate;
|
|
41
|
+
},
|
|
42
|
+
DateTimeString: (value, dateFormat = "yyyy-MM-dd") => {
|
|
43
|
+
const [datePart, timePart] = value.split("T");
|
|
44
|
+
const unFormattedDate = getDateFromValue(datePart);
|
|
45
|
+
const date = normalizeMonthFormat(unFormattedDate);
|
|
46
|
+
const correctFormat = getDateFormat(dateFormat);
|
|
47
|
+
const normalizedDate = parseInputString(date, correctFormat);
|
|
48
|
+
const parsedDate = parse(normalizedDate, correctFormat ?? "yyyy-MM-dd", new Date());
|
|
49
|
+
const isoDate = format(parsedDate, "yyyy-MM-dd");
|
|
50
|
+
return `${isoDate}T${timePart}`;
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
export function castValue(value, cast) {
|
|
54
|
+
const [castType, ...params] = cast.split(":");
|
|
55
|
+
return castFunctions[castType](value, ...params);
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=value-cast.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"value-cast.js","sourceRoot":"","sources":["../../../../src/ui/lib/value-cast.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,gBAAgB,GACjB,MAAM,yCAAyC,CAAC;AAWjD,MAAM,CAAC,MAAM,aAAa,GAGtB;IACF,MAAM,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC;IACxC,MAAM,EA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