@eightshift/ui-components 8.5.0 → 9.0.0-beta.1
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/README.md +73 -4
- package/dist/AnimatePresence-d1_liqRo.js +9 -0
- package/dist/Autocomplete-CQH-8_68.js +1 -0
- package/dist/Button-DhaWFe8e.js +1 -0
- package/dist/Checkbox-CrF0YJpD.js +1 -0
- package/dist/Dialog-CapEn0UN.js +5 -0
- package/dist/FocusScope-BoxZvmWP.js +1 -0
- package/dist/Form-BRnR5K3X.js +1 -0
- package/dist/Heading-DMnq9QZH.js +1 -0
- package/dist/Hidden-BK7EwYvz.js +1 -0
- package/dist/I18nProvider-BEh6VvSv.js +1 -0
- package/dist/Input-DldfdALf.js +1 -0
- package/dist/ListBox-fe9bhB2y.js +1 -0
- package/dist/NumberFormatter-nhsGk7J2.js +1 -0
- package/dist/PortalProvider-CJT9hS6n.js +1 -0
- package/dist/RadioGroup-yAsG5Pon.js +1 -0
- package/dist/SearchField-BtcWW7kv.js +1 -0
- package/dist/SelectionIndicator-Bslc4sCw.js +1 -0
- package/dist/Slider-B_pPPuRp.js +1 -0
- package/dist/Text-CKNC-T46.js +1 -0
- package/dist/VisuallyHidden-D5n5kSd7.js +1 -0
- package/dist/animation-CmxZG3Hu.js +1 -0
- package/dist/assets/font-allo.css +11 -0
- package/dist/assets/font-dm-mono.css +1 -0
- package/dist/assets/fonts/Allo-OFL.txt +93 -0
- package/dist/assets/fonts/AlloVariable.woff2 +0 -0
- package/dist/assets/fonts/dm-mono-latin-300-normal.woff2 +0 -0
- package/dist/assets/fonts/dm-mono-latin-400-normal.woff2 +0 -0
- package/dist/assets/fonts/dm-mono-latin-500-normal.woff2 +0 -0
- package/dist/assets/fonts/dm-mono-latin-ext-300-normal.woff2 +0 -0
- package/dist/assets/fonts/dm-mono-latin-ext-400-normal.woff2 +0 -0
- package/dist/assets/fonts/dm-mono-latin-ext-500-normal.woff2 +0 -0
- package/dist/assets/fonts-manifest.json +13 -49
- package/dist/assets/style-admin.css +2 -4
- package/dist/assets/style-editor.css +2 -4
- package/dist/assets/style.css +2 -4
- package/dist/assets/wp-overrides/allow-full-width-blocks.css +1 -1
- package/dist/assets/wp-overrides/fix-label-text-case.css +2 -2
- package/dist/assets/wp-overrides/increase-sidebar-width.css +2 -2
- package/dist/assets/wp-overrides/make-block-messages-nicer.css +2 -2
- package/dist/assets/wp-overrides/replace-fonts.css +2 -2
- package/dist/assets/wp-overrides/restyle-tooltips.css +2 -2
- package/dist/assets/wp-overrides/round-corners.css +2 -2
- package/dist/assets/wp-overrides/unify-button-sizes.css +2 -2
- package/dist/build-module-CslE_kF6.js +1 -0
- package/dist/button-C_B2CkrL.js +1 -0
- package/dist/clsx-DB0hHKMi.js +1 -0
- package/dist/color-swatch-DUJ3Q4oy.js +1 -0
- package/dist/components/animated-visibility/animated-visibility.js +1 -82
- package/dist/components/base-control/base-control.d.ts +3 -1
- package/dist/components/base-control/base-control.js +1 -69
- package/dist/components/base-control/{container.d.ts → control-group.d.ts} +19 -26
- package/dist/components/base-control/control-group.js +1 -0
- package/dist/components/breakpoint-preview/breakpoint-preview.js +1 -151
- package/dist/components/button/button.d.ts +16 -22
- package/dist/components/button/button.js +1 -2
- package/dist/components/button/styles.d.ts +15 -0
- package/dist/components/button/styles.js +1 -0
- package/dist/components/checkbox/checkbox.d.ts +2 -4
- package/dist/components/checkbox/checkbox.js +1 -2
- package/dist/components/color-pickers/color-picker.js +1 -158
- package/dist/components/color-pickers/color-swatch.d.ts +0 -2
- package/dist/components/color-pickers/color-swatch.js +1 -2
- package/dist/components/color-pickers/gradient-editor.js +1 -2
- package/dist/components/color-pickers/solid-color-picker.js +1 -2
- package/dist/components/contextual-help/contextual-help.d.ts +2 -1
- package/dist/components/contextual-help/contextual-help.js +1 -82
- package/dist/components/{expandable/expandable.d.ts → disclosure/disclosure.d.ts} +15 -10
- package/dist/components/disclosure/disclosure.js +1 -0
- package/dist/components/draggable/draggable-context.js +1 -9
- package/dist/components/draggable/draggable-handle.js +1 -29
- package/dist/components/draggable/draggable.d.ts +9 -4
- package/dist/components/draggable/draggable.js +1 -2
- package/dist/components/draggable-list/draggable-list-context.js +1 -5
- package/dist/components/draggable-list/draggable-list-item.js +1 -61
- package/dist/components/draggable-list/draggable-list.d.ts +9 -2
- package/dist/components/draggable-list/draggable-list.js +1 -109
- package/dist/components/empty-state/empty-state.d.ts +19 -0
- package/dist/components/empty-state/empty-state.js +1 -0
- package/dist/components/index.d.ts +10 -19
- package/dist/components/index.js +1 -60
- package/dist/components/input-field/date-controls.d.ts +28 -0
- package/dist/components/input-field/date-controls.js +1 -0
- package/dist/components/input-field/input-clear-button.d.ts +8 -0
- package/dist/components/input-field/input-clear-button.js +1 -0
- package/dist/components/input-field/input-field.d.ts +12 -23
- package/dist/components/input-field/input-field.js +1 -2
- package/dist/components/input-field/input.d.ts +17 -0
- package/dist/components/input-field/input.js +1 -0
- package/dist/components/input-field/styles.d.ts +7 -0
- package/dist/components/input-field/styles.js +1 -0
- package/dist/components/intro-card/intro-card.d.ts +29 -0
- package/dist/components/intro-card/intro-card.js +1 -0
- package/dist/components/item-collection/item-collection.js +1 -52
- package/dist/components/layout/hstack.js +1 -25
- package/dist/components/layout/vstack.js +1 -25
- package/dist/components/link-input/link-input.d.ts +3 -3
- package/dist/components/link-input/link-input.js +1 -2
- package/dist/components/list/list.d.ts +7 -0
- package/dist/components/list/list.js +1 -0
- package/dist/components/list/reorderable-grid.d.ts +36 -0
- package/dist/components/list/reorderable-grid.js +1 -0
- package/dist/components/list/use-reorderable-rows.d.ts +4 -0
- package/dist/components/list/use-reorderable-rows.js +1 -0
- package/dist/components/matrix-align/matrix-align.js +1 -123
- package/dist/components/menu/menu.js +1 -239
- package/dist/components/modal/modal.js +1 -2
- package/dist/components/notice/notice.d.ts +0 -2
- package/dist/components/notice/notice.js +1 -92
- package/dist/components/number-picker/number-picker.d.ts +2 -4
- package/dist/components/number-picker/number-picker.js +1 -2
- package/dist/components/option-checkmark.d.ts +3 -0
- package/dist/components/option-checkmark.js +1 -0
- package/dist/components/option-picker/buttons.d.ts +20 -0
- package/dist/components/option-picker/buttons.js +1 -0
- package/dist/components/option-picker/checkboxes.d.ts +17 -0
- package/dist/components/option-picker/checkboxes.js +1 -0
- package/dist/components/option-picker/menu.d.ts +41 -0
- package/dist/components/option-picker/menu.js +1 -0
- package/dist/components/option-picker/option-picker.d.ts +26 -0
- package/dist/components/option-picker/option-picker.js +1 -0
- package/dist/components/option-picker/point.d.ts +18 -0
- package/dist/components/option-picker/point.js +1 -0
- package/dist/components/option-picker/radios.d.ts +16 -0
- package/dist/components/option-picker/radios.js +1 -0
- package/dist/components/option-picker/shared.d.ts +30 -0
- package/dist/components/option-picker/shared.js +1 -0
- package/dist/components/page-header/page-header.d.ts +32 -0
- package/dist/components/page-header/page-header.js +1 -0
- package/dist/components/panel/panel.d.ts +2 -0
- package/dist/components/panel/panel.js +1 -0
- package/dist/components/placeholders/file-picker-shell.d.ts +24 -55
- package/dist/components/placeholders/file-picker-shell.js +1 -87
- package/dist/components/placeholders/file-placeholder.d.ts +4 -2
- package/dist/components/placeholders/file-placeholder.js +1 -42
- package/dist/components/placeholders/image-placeholder.d.ts +0 -9
- package/dist/components/placeholders/image-placeholder.js +1 -53
- package/dist/components/popover/popover.d.ts +12 -7
- package/dist/components/popover/popover.js +1 -125
- package/dist/components/popover/resizing-popover.d.ts +14 -0
- package/dist/components/popover/resizing-popover.js +1 -0
- package/dist/components/popover/styles.d.ts +1 -0
- package/dist/components/popover/styles.js +1 -0
- package/dist/components/popover/suggestion-empty-state.d.ts +1 -0
- package/dist/components/popover/suggestion-empty-state.js +1 -0
- package/dist/components/portal-provider/portal-provider.js +1 -26
- package/dist/components/prompt-popover/prompt-popover.d.ts +4 -4
- package/dist/components/prompt-popover/prompt-popover.js +1 -83
- package/dist/components/radio/radio.d.ts +3 -14
- package/dist/components/radio/radio.js +1 -254
- package/dist/components/repeater/repeater-context.d.ts +4 -5
- package/dist/components/repeater/repeater-context.js +1 -5
- package/dist/components/repeater/repeater-item.d.ts +2 -2
- package/dist/components/repeater/repeater-item.js +1 -92
- package/dist/components/repeater/repeater.d.ts +5 -2
- package/dist/components/repeater/repeater.js +1 -198
- package/dist/components/responsive/mini-responsive.js +1 -409
- package/dist/components/responsive/responsive-legacy.d.ts +1 -1
- package/dist/components/responsive/responsive-legacy.js +1 -272
- package/dist/components/responsive/responsive.js +1 -449
- package/dist/components/responsive-preview/responsive-preview.js +1 -93
- package/dist/components/rich-label/rich-label.d.ts +2 -0
- package/dist/components/rich-label/rich-label.js +1 -70
- package/dist/components/select/async-multi-select.d.ts +8 -21
- package/dist/components/select/async-multi-select.js +1 -371
- package/dist/components/select/async-select-loader.d.ts +38 -0
- package/dist/components/select/async-select-loader.js +1 -0
- package/dist/components/select/async-select.d.ts +8 -21
- package/dist/components/select/async-select.js +1 -288
- package/dist/components/select/multi-select.d.ts +5 -3
- package/dist/components/select/multi-select.js +1 -341
- package/dist/components/select/selected-items-popover.d.ts +15 -0
- package/dist/components/select/selected-items-popover.js +1 -0
- package/dist/components/select/shared.d.ts +12 -3
- package/dist/components/select/shared.js +1 -2
- package/dist/components/select/single-select.d.ts +5 -3
- package/dist/components/select/single-select.js +1 -269
- package/dist/components/select/styles.d.ts +5 -3
- package/dist/components/select/styles.js +1 -108
- package/dist/components/selection-indicator.d.ts +8 -0
- package/dist/components/selection-indicator.js +1 -0
- package/dist/components/slider/column-config-slider.d.ts +0 -2
- package/dist/components/slider/column-config-slider.js +1 -175
- package/dist/components/slider/slider.d.ts +0 -2
- package/dist/components/slider/slider.js +1 -235
- package/dist/components/slider/styles.d.ts +2 -0
- package/dist/components/slider/styles.js +1 -0
- package/dist/components/slider/utils.js +1 -73
- package/dist/components/smart-image/smart-image.js +1 -288
- package/dist/components/spacer/spacer.js +1 -76
- package/dist/components/tabs/tabs.d.ts +33 -22
- package/dist/components/tabs/tabs.js +1 -2
- package/dist/components/toggle/switch.d.ts +2 -4
- package/dist/components/toggle/switch.js +1 -2
- package/dist/components/toggle/toggle.d.ts +0 -2
- package/dist/components/toggle/toggle.js +1 -47
- package/dist/components/toggle-button/toggle-button.d.ts +4 -17
- package/dist/components/toggle-button/toggle-button.js +1 -2
- package/dist/components/tooltip/tooltip.d.ts +4 -4
- package/dist/components/tooltip/tooltip.js +1 -2
- package/dist/date-controls-CX5bNUtF.js +1 -0
- package/dist/debounce-throttle-BlCrtRhZ.js +1 -0
- package/dist/disclosure-DYBM7fJk.js +1 -0
- package/dist/dist-BogNzeK9.js +1 -0
- package/dist/dist-C7IRUxSh.js +1 -0
- package/dist/draggable-9cdMY-oW.js +67 -0
- package/dist/es-dash-Fi4--j2S.js +1 -0
- package/dist/filterDOMProps-DKemR-4v.js +1 -0
- package/dist/gradient-editor-DB-RPeth.js +1 -0
- package/dist/icons/block-icon.js +1 -33
- package/dist/icons/generated-icon-loaders.js +1 -760
- package/dist/icons/generic-color-swatch.js +1 -83
- package/dist/icons/icon.js +1 -79
- package/dist/icons/icons.js +1 -219
- package/dist/icons/index.js +1 -759
- package/dist/icons/internal.js +1 -758
- package/dist/icons/jsx-svg.js +1 -2
- package/dist/icons/spinner.d.ts +1 -1
- package/dist/icons/spinner.js +1 -17
- package/dist/icons/ui-icons/a11y-warning.js +1 -34
- package/dist/icons/ui-icons/a11y.js +1 -29
- package/dist/icons/ui-icons/accelerometer.js +1 -51
- package/dist/icons/ui-icons/activity-log.js +1 -53
- package/dist/icons/ui-icons/add.js +1 -20
- package/dist/icons/ui-icons/alert.js +1 -31
- package/dist/icons/ui-icons/align-horizontal-vertical-alt.js +1 -37
- package/dist/icons/ui-icons/align-horizontal-vertical-alt2.js +1 -36
- package/dist/icons/ui-icons/align-horizontal-vertical.js +1 -34
- package/dist/icons/ui-icons/alt-text-generic-alt.js +1 -19
- package/dist/icons/ui-icons/alt-text-generic.js +1 -25
- package/dist/icons/ui-icons/alt-text.js +1 -36
- package/dist/icons/ui-icons/anchor-page.js +1 -44
- package/dist/icons/ui-icons/anchor.js +1 -28
- package/dist/icons/ui-icons/angle.js +1 -24
- package/dist/icons/ui-icons/animation-file.js +1 -66
- package/dist/icons/ui-icons/animation-generic.js +1 -36
- package/dist/icons/ui-icons/animation-list-generic.js +1 -41
- package/dist/icons/ui-icons/animation-settings-generic.js +1 -41
- package/dist/icons/ui-icons/animation.js +1 -55
- package/dist/icons/ui-icons/archive-file.js +1 -24
- package/dist/icons/ui-icons/archive.js +1 -39
- package/dist/icons/ui-icons/aria-label.js +1 -42
- package/dist/icons/ui-icons/arrow-down-circle-alt.js +1 -28
- package/dist/icons/ui-icons/arrow-down-circle.js +1 -28
- package/dist/icons/ui-icons/arrow-down-square-alt.js +1 -28
- package/dist/icons/ui-icons/arrow-down-square.js +1 -28
- package/dist/icons/ui-icons/arrow-down.js +1 -20
- package/dist/icons/ui-icons/arrow-left-circle-alt.js +1 -28
- package/dist/icons/ui-icons/arrow-left-circle.js +1 -28
- package/dist/icons/ui-icons/arrow-left-square-alt.js +1 -28
- package/dist/icons/ui-icons/arrow-left-square.js +1 -28
- package/dist/icons/ui-icons/arrow-left.js +1 -20
- package/dist/icons/ui-icons/arrow-right-circle-alt.js +1 -28
- package/dist/icons/ui-icons/arrow-right-circle.js +1 -28
- package/dist/icons/ui-icons/arrow-right-square-alt.js +1 -28
- package/dist/icons/ui-icons/arrow-right-square.js +1 -28
- package/dist/icons/ui-icons/arrow-right.js +1 -20
- package/dist/icons/ui-icons/arrow-up-circle-alt.js +1 -28
- package/dist/icons/ui-icons/arrow-up-circle.js +1 -28
- package/dist/icons/ui-icons/arrow-up-square-alt.js +1 -28
- package/dist/icons/ui-icons/arrow-up-square.js +1 -28
- package/dist/icons/ui-icons/arrow-up.js +1 -20
- package/dist/icons/ui-icons/arrows-down.js +1 -38
- package/dist/icons/ui-icons/arrows-horizontal.js +1 -20
- package/dist/icons/ui-icons/arrows-left-diagonal.js +1 -20
- package/dist/icons/ui-icons/arrows-left.js +1 -38
- package/dist/icons/ui-icons/arrows-right-diagonal.js +1 -20
- package/dist/icons/ui-icons/arrows-right.js +1 -38
- package/dist/icons/ui-icons/arrows-up.js +1 -38
- package/dist/icons/ui-icons/arrows-vertical.js +1 -20
- package/dist/icons/ui-icons/aspect-ratio-auto.js +1 -38
- package/dist/icons/ui-icons/aspect-ratio-nine-sixteen.js +1 -28
- package/dist/icons/ui-icons/aspect-ratio-sixteen-nine.js +1 -28
- package/dist/icons/ui-icons/aspect-ratio-square.js +1 -28
- package/dist/icons/ui-icons/aspect-ratio-three-two.js +1 -28
- package/dist/icons/ui-icons/aspect-ratio-twenty-one-nine.js +1 -28
- package/dist/icons/ui-icons/aspect-ratio.js +1 -27
- package/dist/icons/ui-icons/attachment.js +1 -19
- package/dist/icons/ui-icons/auto-close.js +1 -26
- package/dist/icons/ui-icons/auto-pause-scroll.js +1 -39
- package/dist/icons/ui-icons/auto-pause.js +1 -26
- package/dist/icons/ui-icons/automatic-alt.js +1 -19
- package/dist/icons/ui-icons/automatic.js +1 -20
- package/dist/icons/ui-icons/autoplay-alt.js +1 -34
- package/dist/icons/ui-icons/autoplay-alt2.js +1 -23
- package/dist/icons/ui-icons/autoplay.js +1 -36
- package/dist/icons/ui-icons/award.js +1 -39
- package/dist/icons/ui-icons/background-blur.js +1 -66
- package/dist/icons/ui-icons/background-color-swatch.js +1 -48
- package/dist/icons/ui-icons/background-image.js +1 -41
- package/dist/icons/ui-icons/background-repeat.js +1 -95
- package/dist/icons/ui-icons/background-type-alt.js +1 -38
- package/dist/icons/ui-icons/background-type-alt2.js +1 -27
- package/dist/icons/ui-icons/background-type.js +1 -27
- package/dist/icons/ui-icons/block-parts.js +1 -54
- package/dist/icons/ui-icons/bold.js +1 -21
- package/dist/icons/ui-icons/book.js +1 -40
- package/dist/icons/ui-icons/bookmark.js +1 -18
- package/dist/icons/ui-icons/boolean-exclude.js +1 -24
- package/dist/icons/ui-icons/boolean-intersect.js +1 -31
- package/dist/icons/ui-icons/boolean-subtract.js +1 -27
- package/dist/icons/ui-icons/boolean-union.js +1 -33
- package/dist/icons/ui-icons/border-color.js +1 -79
- package/dist/icons/ui-icons/border.js +1 -60
- package/dist/icons/ui-icons/bot-deny.js +1 -61
- package/dist/icons/ui-icons/bot.js +1 -47
- package/dist/icons/ui-icons/box.js +1 -35
- package/dist/icons/ui-icons/brain.js +1 -20
- package/dist/icons/ui-icons/branch-fork.js +1 -46
- package/dist/icons/ui-icons/branch.js +1 -46
- package/dist/icons/ui-icons/briefcase.js +1 -26
- package/dist/icons/ui-icons/browser.js +1 -60
- package/dist/icons/ui-icons/button-disabled.js +1 -30
- package/dist/icons/ui-icons/button-filled.js +1 -19
- package/dist/icons/ui-icons/button-ghost.js +1 -28
- package/dist/icons/ui-icons/button-outline.js +1 -27
- package/dist/icons/ui-icons/calculator.js +1 -139
- package/dist/icons/ui-icons/calendar-add.js +1 -51
- package/dist/icons/ui-icons/calendar-download.js +1 -62
- package/dist/icons/ui-icons/calendar-remove.js +1 -51
- package/dist/icons/ui-icons/calendar.js +1 -34
- package/dist/icons/ui-icons/caption-generic.js +1 -25
- package/dist/icons/ui-icons/card-featured.js +1 -28
- package/dist/icons/ui-icons/caret-down-fill.js +1 -19
- package/dist/icons/ui-icons/caret-down.js +1 -19
- package/dist/icons/ui-icons/caret-left-fill.js +1 -19
- package/dist/icons/ui-icons/caret-left.js +1 -19
- package/dist/icons/ui-icons/caret-right-fill.js +1 -19
- package/dist/icons/ui-icons/caret-right.js +1 -19
- package/dist/icons/ui-icons/caret-up-fill.js +1 -19
- package/dist/icons/ui-icons/caret-up.js +1 -19
- package/dist/icons/ui-icons/center-point.js +1 -25
- package/dist/icons/ui-icons/chat-bubble-alt.js +1 -25
- package/dist/icons/ui-icons/chat-bubble.js +1 -19
- package/dist/icons/ui-icons/chat.js +1 -25
- package/dist/icons/ui-icons/check-circle-fill-transparent.js +1 -24
- package/dist/icons/ui-icons/check-circle-fill.js +1 -17
- package/dist/icons/ui-icons/check-circle.js +1 -27
- package/dist/icons/ui-icons/check-square.js +1 -28
- package/dist/icons/ui-icons/check.js +1 -20
- package/dist/icons/ui-icons/checks-circle.js +1 -26
- package/dist/icons/ui-icons/checks.js +1 -26
- package/dist/icons/ui-icons/chevron-down.js +1 -20
- package/dist/icons/ui-icons/chevron-left.js +1 -20
- package/dist/icons/ui-icons/chevron-right.js +1 -20
- package/dist/icons/ui-icons/chevron-up.js +1 -20
- package/dist/icons/ui-icons/clear-alt.js +1 -25
- package/dist/icons/ui-icons/clear.js +1 -20
- package/dist/icons/ui-icons/clipboard-plain.js +1 -35
- package/dist/icons/ui-icons/clipboard.js +1 -43
- package/dist/icons/ui-icons/clock.js +1 -26
- package/dist/icons/ui-icons/closed-captions.js +1 -27
- package/dist/icons/ui-icons/code-variable.js +1 -20
- package/dist/icons/ui-icons/code.js +1 -20
- package/dist/icons/ui-icons/color-alt.js +1 -40
- package/dist/icons/ui-icons/color-fill-swatch.js +1 -61
- package/dist/icons/ui-icons/color-picker-fill.js +1 -42
- package/dist/icons/ui-icons/color-picker-list-marker.js +1 -41
- package/dist/icons/ui-icons/color-picker-text-highlight.js +1 -19
- package/dist/icons/ui-icons/color-picker-text.js +1 -20
- package/dist/icons/ui-icons/color-select.js +1 -33
- package/dist/icons/ui-icons/color.js +1 -22
- package/dist/icons/ui-icons/column-gutters-lr.js +1 -54
- package/dist/icons/ui-icons/columns.js +1 -42
- package/dist/icons/ui-icons/columns3366.js +1 -30
- package/dist/icons/ui-icons/columns6633.js +1 -30
- package/dist/icons/ui-icons/component-generic.js +1 -27
- package/dist/icons/ui-icons/component-options.js +1 -36
- package/dist/icons/ui-icons/condition-h.js +1 -20
- package/dist/icons/ui-icons/condition-v.js +1 -20
- package/dist/icons/ui-icons/conditional-visibility.js +1 -26
- package/dist/icons/ui-icons/container-height.js +1 -68
- package/dist/icons/ui-icons/container-spacing-h.js +1 -41
- package/dist/icons/ui-icons/container-spacing.js +1 -41
- package/dist/icons/ui-icons/container-width.js +1 -68
- package/dist/icons/ui-icons/content-bottom-left.js +1 -31
- package/dist/icons/ui-icons/content-bottom-right.js +1 -31
- package/dist/icons/ui-icons/content-center.js +1 -31
- package/dist/icons/ui-icons/content-top-left.js +1 -31
- package/dist/icons/ui-icons/content-top-right.js +1 -31
- package/dist/icons/ui-icons/contrast-alt.js +1 -27
- package/dist/icons/ui-icons/contrast.js +1 -26
- package/dist/icons/ui-icons/cookie-alt.js +1 -124
- package/dist/icons/ui-icons/cookie.js +1 -76
- package/dist/icons/ui-icons/copy.js +1 -26
- package/dist/icons/ui-icons/currency.js +1 -48
- package/dist/icons/ui-icons/current-page.js +1 -42
- package/dist/icons/ui-icons/cursor-disabled.js +1 -35
- package/dist/icons/ui-icons/cursor-move.js +1 -20
- package/dist/icons/ui-icons/dark-mode.js +1 -20
- package/dist/icons/ui-icons/data.js +1 -33
- package/dist/icons/ui-icons/date-time.js +1 -67
- package/dist/icons/ui-icons/defer.js +1 -26
- package/dist/icons/ui-icons/description-link.js +1 -40
- package/dist/icons/ui-icons/design.js +1 -48
- package/dist/icons/ui-icons/dice.js +1 -59
- package/dist/icons/ui-icons/divider-bottom.js +1 -23
- package/dist/icons/ui-icons/divider-side.js +1 -53
- package/dist/icons/ui-icons/divider-status.js +1 -53
- package/dist/icons/ui-icons/divider-top.js +1 -23
- package/dist/icons/ui-icons/divider.js +1 -23
- package/dist/icons/ui-icons/door-in.js +1 -32
- package/dist/icons/ui-icons/door-out.js +1 -32
- package/dist/icons/ui-icons/door.js +1 -27
- package/dist/icons/ui-icons/download.js +1 -20
- package/dist/icons/ui-icons/dropdown-caret-alt.js +1 -17
- package/dist/icons/ui-icons/dropdown-caret.js +1 -20
- package/dist/icons/ui-icons/dropdown-close.js +1 -52
- package/dist/icons/ui-icons/dropdown-open.js +1 -38
- package/dist/icons/ui-icons/dropdown.js +1 -38
- package/dist/icons/ui-icons/dummy-spacer.js +1 -17
- package/dist/icons/ui-icons/edit-options.js +1 -32
- package/dist/icons/ui-icons/edit.js +1 -22
- package/dist/icons/ui-icons/email-remove.js +1 -42
- package/dist/icons/ui-icons/email.js +1 -28
- package/dist/icons/ui-icons/embed.js +1 -28
- package/dist/icons/ui-icons/empty-circle.js +1 -23
- package/dist/icons/ui-icons/empty-rect.js +1 -25
- package/dist/icons/ui-icons/equal-columns.js +1 -25
- package/dist/icons/ui-icons/equal-rows.js +1 -25
- package/dist/icons/ui-icons/equals.js +1 -20
- package/dist/icons/ui-icons/error-circle-fill-transparent.js +1 -23
- package/dist/icons/ui-icons/error-circle-fill.js +1 -17
- package/dist/icons/ui-icons/error-circle.js +1 -24
- package/dist/icons/ui-icons/exclude-item-alt.js +1 -38
- package/dist/icons/ui-icons/exclude-item.js +1 -42
- package/dist/icons/ui-icons/exclude.js +1 -29
- package/dist/icons/ui-icons/expand-xl.js +1 -20
- package/dist/icons/ui-icons/expand.js +1 -20
- package/dist/icons/ui-icons/experiment.js +1 -33
- package/dist/icons/ui-icons/external-link.js +1 -25
- package/dist/icons/ui-icons/extract-alt.js +1 -25
- package/dist/icons/ui-icons/extract.js +1 -25
- package/dist/icons/ui-icons/eyedropper.js +1 -36
- package/dist/icons/ui-icons/fast-forward.js +1 -26
- package/dist/icons/ui-icons/fast-reverse.js +1 -26
- package/dist/icons/ui-icons/field-after-text.js +1 -54
- package/dist/icons/ui-icons/field-before-text.js +1 -46
- package/dist/icons/ui-icons/field-disabled.js +1 -35
- package/dist/icons/ui-icons/field-help.js +1 -46
- package/dist/icons/ui-icons/field-label.js +1 -38
- package/dist/icons/ui-icons/field-name.js +1 -45
- package/dist/icons/ui-icons/field-placeholder.js +1 -49
- package/dist/icons/ui-icons/field-readonly.js +1 -36
- package/dist/icons/ui-icons/field-required.js +1 -37
- package/dist/icons/ui-icons/field-type.js +1 -36
- package/dist/icons/ui-icons/field-value.js +1 -46
- package/dist/icons/ui-icons/field-width.js +1 -27
- package/dist/icons/ui-icons/file-download.js +1 -33
- package/dist/icons/ui-icons/file-error.js +1 -25
- package/dist/icons/ui-icons/file-metadata.js +1 -41
- package/dist/icons/ui-icons/file-pdf.js +1 -34
- package/dist/icons/ui-icons/file-size-max.js +1 -33
- package/dist/icons/ui-icons/file-size-min.js +1 -33
- package/dist/icons/ui-icons/file-size.js +1 -34
- package/dist/icons/ui-icons/file-type.js +1 -42
- package/dist/icons/ui-icons/file-upload.js +1 -33
- package/dist/icons/ui-icons/file.js +1 -24
- package/dist/icons/ui-icons/files.js +1 -34
- package/dist/icons/ui-icons/fill-color.js +1 -49
- package/dist/icons/ui-icons/filter-alt.js +1 -24
- package/dist/icons/ui-icons/filter.js +1 -20
- package/dist/icons/ui-icons/flag-alt.js +1 -24
- package/dist/icons/ui-icons/flag.js +1 -24
- package/dist/icons/ui-icons/flip-h.js +1 -27
- package/dist/icons/ui-icons/flip-v.js +1 -27
- package/dist/icons/ui-icons/focus.js +1 -21
- package/dist/icons/ui-icons/folder-add.js +1 -22
- package/dist/icons/ui-icons/folder-open-solid.js +1 -17
- package/dist/icons/ui-icons/folder-open.js +1 -19
- package/dist/icons/ui-icons/folder-solid.js +1 -17
- package/dist/icons/ui-icons/folder-top-level.js +1 -22
- package/dist/icons/ui-icons/folder.js +1 -19
- package/dist/icons/ui-icons/font-family.js +1 -24
- package/dist/icons/ui-icons/footer.js +1 -23
- package/dist/icons/ui-icons/form-alt.js +1 -71
- package/dist/icons/ui-icons/form.js +1 -53
- package/dist/icons/ui-icons/four-columns.js +1 -38
- package/dist/icons/ui-icons/frame.js +1 -33
- package/dist/icons/ui-icons/full-max-shield.js +1 -26
- package/dist/icons/ui-icons/full-max-text.js +1 -20
- package/dist/icons/ui-icons/full-width-image.js +1 -35
- package/dist/icons/ui-icons/gears-fill.js +1 -19
- package/dist/icons/ui-icons/gears.js +1 -38
- package/dist/icons/ui-icons/generic-color-swatch.js +1 -6
- package/dist/icons/ui-icons/generic-shapes-alt.js +1 -33
- package/dist/icons/ui-icons/generic-shapes.js +1 -38
- package/dist/icons/ui-icons/globe-anchor.js +1 -55
- package/dist/icons/ui-icons/globe-hash.js +1 -40
- package/dist/icons/ui-icons/globe.js +1 -37
- package/dist/icons/ui-icons/google-tag-manager.js +1 -36
- package/dist/icons/ui-icons/gradient-repeat.js +1 -41
- package/dist/icons/ui-icons/gradient-stop.js +1 -36
- package/dist/icons/ui-icons/gradient.js +1 -54
- package/dist/icons/ui-icons/grid-alt.js +1 -19
- package/dist/icons/ui-icons/grid-auto-cols.js +1 -46
- package/dist/icons/ui-icons/grid-auto-rows.js +1 -41
- package/dist/icons/ui-icons/grid-col.js +1 -22
- package/dist/icons/ui-icons/grid-height.js +1 -22
- package/dist/icons/ui-icons/grid-list-toggle.js +1 -48
- package/dist/icons/ui-icons/grid-manual.js +1 -18
- package/dist/icons/ui-icons/grid-row.js +1 -22
- package/dist/icons/ui-icons/grid-width.js +1 -22
- package/dist/icons/ui-icons/group.js +1 -33
- package/dist/icons/ui-icons/gutter.js +1 -28
- package/dist/icons/ui-icons/gyroscope.js +1 -53
- package/dist/icons/ui-icons/h1.js +1 -28
- package/dist/icons/ui-icons/h2.js +1 -28
- package/dist/icons/ui-icons/h3.js +1 -28
- package/dist/icons/ui-icons/h4.js +1 -28
- package/dist/icons/ui-icons/h5.js +1 -28
- package/dist/icons/ui-icons/h6.js +1 -28
- package/dist/icons/ui-icons/hamburger-menu.js +1 -19
- package/dist/icons/ui-icons/hard-drive.js +1 -35
- package/dist/icons/ui-icons/header.js +1 -23
- package/dist/icons/ui-icons/heading-level-alt.js +1 -28
- package/dist/icons/ui-icons/heading-level.js +1 -28
- package/dist/icons/ui-icons/heading.js +1 -20
- package/dist/icons/ui-icons/heart-fill-transparent.js +1 -19
- package/dist/icons/ui-icons/heart-fill.js +1 -18
- package/dist/icons/ui-icons/heart.js +1 -18
- package/dist/icons/ui-icons/height.js +1 -30
- package/dist/icons/ui-icons/help-alt.js +1 -25
- package/dist/icons/ui-icons/help-fill.js +1 -17
- package/dist/icons/ui-icons/help.js +1 -35
- package/dist/icons/ui-icons/hide.js +1 -29
- package/dist/icons/ui-icons/highlighted-checkmark.js +1 -24
- package/dist/icons/ui-icons/highlighted-exclamation-mark.js +1 -33
- package/dist/icons/ui-icons/history.js +1 -26
- package/dist/icons/ui-icons/horizontal-align-alt.js +1 -27
- package/dist/icons/ui-icons/horizontal-align-around.js +1 -37
- package/dist/icons/ui-icons/horizontal-align-between-alt.js +1 -37
- package/dist/icons/ui-icons/horizontal-align-between.js +1 -46
- package/dist/icons/ui-icons/horizontal-align-center.js +1 -41
- package/dist/icons/ui-icons/horizontal-align-evenly.js +1 -37
- package/dist/icons/ui-icons/horizontal-align-left.js +1 -44
- package/dist/icons/ui-icons/horizontal-align-right.js +1 -48
- package/dist/icons/ui-icons/horizontal-align-stretch.js +1 -37
- package/dist/icons/ui-icons/horizontal-align.js +1 -35
- package/dist/icons/ui-icons/hover-background-glow.js +1 -61
- package/dist/icons/ui-icons/hover-background-type.js +1 -34
- package/dist/icons/ui-icons/hover-invert-object.js +1 -42
- package/dist/icons/ui-icons/hover-invert-text.js +1 -32
- package/dist/icons/ui-icons/hover-rotate.js +1 -20
- package/dist/icons/ui-icons/hover-zoom.js +1 -25
- package/dist/icons/ui-icons/hyphenate-alt.js +1 -20
- package/dist/icons/ui-icons/hyphenate-alt2.js +1 -20
- package/dist/icons/ui-icons/hyphenate.js +1 -25
- package/dist/icons/ui-icons/icon-generic.js +1 -23
- package/dist/icons/ui-icons/id-card.js +1 -45
- package/dist/icons/ui-icons/id.js +1 -28
- package/dist/icons/ui-icons/image-blur.js +1 -50
- package/dist/icons/ui-icons/image-caption.js +1 -36
- package/dist/icons/ui-icons/image-error.js +1 -36
- package/dist/icons/ui-icons/image-file.js +1 -40
- package/dist/icons/ui-icons/image-lazy-load.js +1 -52
- package/dist/icons/ui-icons/image-opacity.js +1 -31
- package/dist/icons/ui-icons/image-overlay-alt.js +1 -93
- package/dist/icons/ui-icons/image-overlay-alt2.js +1 -93
- package/dist/icons/ui-icons/image-overlay.js +1 -92
- package/dist/icons/ui-icons/image-remove.js +1 -46
- package/dist/icons/ui-icons/image.js +1 -25
- package/dist/icons/ui-icons/index.js +1 -753
- package/dist/icons/ui-icons/info-circle-fill-transparent.js +1 -21
- package/dist/icons/ui-icons/info-circle-fill.js +1 -17
- package/dist/icons/ui-icons/info-circle.js +1 -24
- package/dist/icons/ui-icons/info.js +1 -17
- package/dist/icons/ui-icons/inherit.js +1 -41
- package/dist/icons/ui-icons/inline-gradient-format.js +1 -62
- package/dist/icons/ui-icons/input-field.js +1 -27
- package/dist/icons/ui-icons/italic.js +1 -20
- package/dist/icons/ui-icons/item-limit.js +1 -35
- package/dist/icons/ui-icons/item-select.js +1 -33
- package/dist/icons/ui-icons/item-wrap.js +1 -60
- package/dist/icons/ui-icons/items-per-page.js +1 -48
- package/dist/icons/ui-icons/items-per-row.js +1 -45
- package/dist/icons/ui-icons/key.js +1 -25
- package/dist/icons/ui-icons/keyboard.js +1 -19
- package/dist/icons/ui-icons/large.js +1 -24
- package/dist/icons/ui-icons/latest-posts.js +1 -44
- package/dist/icons/ui-icons/layer-off.js +1 -20
- package/dist/icons/ui-icons/layer.js +1 -19
- package/dist/icons/ui-icons/layers.js +1 -33
- package/dist/icons/ui-icons/layout-alt.js +1 -19
- package/dist/icons/ui-icons/layout-alt2.js +1 -23
- package/dist/icons/ui-icons/layout-alt3.js +1 -19
- package/dist/icons/ui-icons/layout-alt4.js +1 -19
- package/dist/icons/ui-icons/layout-bento-box.js +1 -19
- package/dist/icons/ui-icons/layout-masonry.js +1 -79
- package/dist/icons/ui-icons/layout.js +1 -43
- package/dist/icons/ui-icons/left-panel-alt.js +1 -25
- package/dist/icons/ui-icons/left-panel.js +1 -22
- package/dist/icons/ui-icons/light-bulb-alt.js +1 -30
- package/dist/icons/ui-icons/light-bulb.js +1 -33
- package/dist/icons/ui-icons/light-mode.js +1 -26
- package/dist/icons/ui-icons/limit-width.js +1 -26
- package/dist/icons/ui-icons/line-break-alt-off.js +1 -26
- package/dist/icons/ui-icons/line-break-alt.js +1 -25
- package/dist/icons/ui-icons/line-break-off-alt.js +1 -35
- package/dist/icons/ui-icons/line-break-off.js +1 -41
- package/dist/icons/ui-icons/line-break.js +1 -29
- package/dist/icons/ui-icons/line-breaks-hyphenation.js +1 -36
- package/dist/icons/ui-icons/link-add.js +1 -41
- package/dist/icons/ui-icons/link-nav.js +1 -59
- package/dist/icons/ui-icons/link-remove.js +1 -41
- package/dist/icons/ui-icons/link.js +1 -19
- package/dist/icons/ui-icons/list-indent.js +1 -26
- package/dist/icons/ui-icons/list-ordered.js +1 -43
- package/dist/icons/ui-icons/list-outdent.js +1 -26
- package/dist/icons/ui-icons/list-unordered.js +1 -43
- package/dist/icons/ui-icons/loader-alt.js +1 -19
- package/dist/icons/ui-icons/loader.js +1 -19
- package/dist/icons/ui-icons/location-add.js +1 -44
- package/dist/icons/ui-icons/location-allow.js +1 -44
- package/dist/icons/ui-icons/location-deny.js +1 -44
- package/dist/icons/ui-icons/location-settings.js +1 -36
- package/dist/icons/ui-icons/location.js +1 -26
- package/dist/icons/ui-icons/lock.js +1 -44
- package/dist/icons/ui-icons/loop-mode.js +1 -20
- package/dist/icons/ui-icons/magic-alt-fill-transparent.js +1 -20
- package/dist/icons/ui-icons/magic-alt-fill.js +1 -19
- package/dist/icons/ui-icons/magic-alt.js +1 -19
- package/dist/icons/ui-icons/magic-fill-transparent.js +1 -20
- package/dist/icons/ui-icons/magic-fill.js +1 -19
- package/dist/icons/ui-icons/magic.js +1 -19
- package/dist/icons/ui-icons/map-layer-json.js +1 -35
- package/dist/icons/ui-icons/map-layer-raster.js +1 -121
- package/dist/icons/ui-icons/map-layer-vector.js +1 -81
- package/dist/icons/ui-icons/map-layer.js +1 -26
- package/dist/icons/ui-icons/map-pin.js +1 -41
- package/dist/icons/ui-icons/matrix-align-control-dot-active.js +1 -23
- package/dist/icons/ui-icons/matrix-align-control-dot-inactive.js +1 -21
- package/dist/icons/ui-icons/media.js +1 -49
- package/dist/icons/ui-icons/medium.js +1 -24
- package/dist/icons/ui-icons/menu-item-check.js +1 -20
- package/dist/icons/ui-icons/menu-item-circle.js +1 -19
- package/dist/icons/ui-icons/microphone.js +1 -23
- package/dist/icons/ui-icons/migration-alt-v.js +1 -20
- package/dist/icons/ui-icons/migration-alt.js +1 -20
- package/dist/icons/ui-icons/migration.js +1 -26
- package/dist/icons/ui-icons/module.js +1 -24
- package/dist/icons/ui-icons/money-paper.js +1 -58
- package/dist/icons/ui-icons/more-h-circle.js +1 -40
- package/dist/icons/ui-icons/more-h.js +1 -33
- package/dist/icons/ui-icons/more-v-circle.js +1 -44
- package/dist/icons/ui-icons/more-v.js +1 -36
- package/dist/icons/ui-icons/mouse-cursor.js +1 -20
- package/dist/icons/ui-icons/mouse-wheel.js +1 -27
- package/dist/icons/ui-icons/multi-item-left-inset-mobile.js +1 -58
- package/dist/icons/ui-icons/multi-item-left-inset.js +1 -39
- package/dist/icons/ui-icons/multi-item-right-inset-mobile.js +1 -55
- package/dist/icons/ui-icons/multi-item-right-inset.js +1 -36
- package/dist/icons/ui-icons/multiple.js +1 -34
- package/dist/icons/ui-icons/music-note.js +1 -40
- package/dist/icons/ui-icons/mute-centered.js +1 -20
- package/dist/icons/ui-icons/mute.js +1 -20
- package/dist/icons/ui-icons/narrow-bottom.js +1 -49
- package/dist/icons/ui-icons/narrow-left.js +1 -49
- package/dist/icons/ui-icons/narrow-right.js +1 -49
- package/dist/icons/ui-icons/narrow-top.js +1 -49
- package/dist/icons/ui-icons/navigation-buttons.js +1 -39
- package/dist/icons/ui-icons/new-tab.js +1 -27
- package/dist/icons/ui-icons/newspaper.js +1 -45
- package/dist/icons/ui-icons/none.js +1 -25
- package/dist/icons/ui-icons/notebook.js +1 -44
- package/dist/icons/ui-icons/num0-circle-alt.js +1 -24
- package/dist/icons/ui-icons/num0-circle.js +1 -24
- package/dist/icons/ui-icons/num0-square-alt.js +1 -26
- package/dist/icons/ui-icons/num0-square.js +1 -26
- package/dist/icons/ui-icons/num1-circle-alt.js +1 -26
- package/dist/icons/ui-icons/num1-circle.js +1 -26
- package/dist/icons/ui-icons/num1-square-alt.js +1 -28
- package/dist/icons/ui-icons/num1-square.js +1 -28
- package/dist/icons/ui-icons/num2-circle-alt.js +1 -26
- package/dist/icons/ui-icons/num2-circle.js +1 -26
- package/dist/icons/ui-icons/num2-square-alt.js +1 -28
- package/dist/icons/ui-icons/num2-square.js +1 -28
- package/dist/icons/ui-icons/num3-circle-alt.js +1 -26
- package/dist/icons/ui-icons/num3-circle.js +1 -26
- package/dist/icons/ui-icons/num3-square-alt.js +1 -28
- package/dist/icons/ui-icons/num3-square.js +1 -28
- package/dist/icons/ui-icons/num4-circle-alt.js +1 -26
- package/dist/icons/ui-icons/num4-circle.js +1 -26
- package/dist/icons/ui-icons/num4-square-alt.js +1 -28
- package/dist/icons/ui-icons/num4-square.js +1 -28
- package/dist/icons/ui-icons/num5-circle-alt.js +1 -26
- package/dist/icons/ui-icons/num5-circle.js +1 -26
- package/dist/icons/ui-icons/num5-square-alt.js +1 -28
- package/dist/icons/ui-icons/num5-square.js +1 -28
- package/dist/icons/ui-icons/num6-circle-alt.js +1 -26
- package/dist/icons/ui-icons/num6-circle.js +1 -26
- package/dist/icons/ui-icons/num6-square-alt.js +1 -28
- package/dist/icons/ui-icons/num6-square.js +1 -28
- package/dist/icons/ui-icons/num7-circle-alt.js +1 -26
- package/dist/icons/ui-icons/num7-circle.js +1 -26
- package/dist/icons/ui-icons/num7-square-alt.js +1 -28
- package/dist/icons/ui-icons/num7-square.js +1 -28
- package/dist/icons/ui-icons/num8-circle-alt.js +1 -24
- package/dist/icons/ui-icons/num8-circle.js +1 -24
- package/dist/icons/ui-icons/num8-square-alt.js +1 -26
- package/dist/icons/ui-icons/num8-square.js +1 -26
- package/dist/icons/ui-icons/num9-circle-alt.js +1 -26
- package/dist/icons/ui-icons/num9-circle.js +1 -26
- package/dist/icons/ui-icons/num9-square-alt.js +1 -28
- package/dist/icons/ui-icons/num9-square.js +1 -28
- package/dist/icons/ui-icons/office-building.js +1 -203
- package/dist/icons/ui-icons/office-buildings.js +1 -256
- package/dist/icons/ui-icons/offset-auto.js +1 -46
- package/dist/icons/ui-icons/offset.js +1 -39
- package/dist/icons/ui-icons/option-list-alt.js +1 -61
- package/dist/icons/ui-icons/option-list.js +1 -63
- package/dist/icons/ui-icons/options.js +1 -24
- package/dist/icons/ui-icons/order.js +1 -49
- package/dist/icons/ui-icons/padding-bottom.js +1 -35
- package/dist/icons/ui-icons/padding-top.js +1 -35
- package/dist/icons/ui-icons/padding.js +1 -34
- package/dist/icons/ui-icons/pagination.js +1 -49
- package/dist/icons/ui-icons/palette-color.js +1 -111
- package/dist/icons/ui-icons/panel-collapse.js +1 -41
- package/dist/icons/ui-icons/panel-expand.js +1 -41
- package/dist/icons/ui-icons/paragraph.js +1 -24
- package/dist/icons/ui-icons/paste.js +1 -52
- package/dist/icons/ui-icons/pause.js +1 -20
- package/dist/icons/ui-icons/people-group.js +1 -57
- package/dist/icons/ui-icons/people.js +1 -43
- package/dist/icons/ui-icons/person.js +1 -26
- package/dist/icons/ui-icons/photo-camera.js +1 -26
- package/dist/icons/ui-icons/picture-in-picture.js +1 -33
- package/dist/icons/ui-icons/play-reverse.js +1 -20
- package/dist/icons/ui-icons/play.js +1 -20
- package/dist/icons/ui-icons/playback-options.js +1 -24
- package/dist/icons/ui-icons/plus-circle-fill-alt.js +1 -23
- package/dist/icons/ui-icons/plus-circle-fill.js +1 -17
- package/dist/icons/ui-icons/plus-circle.js +1 -26
- package/dist/icons/ui-icons/plus-minus-buttons-h.js +1 -25
- package/dist/icons/ui-icons/plus-minus-buttons-v.js +1 -25
- package/dist/icons/ui-icons/plus-square-fill-transparent.js +1 -27
- package/dist/icons/ui-icons/plus-square-fill.js +1 -17
- package/dist/icons/ui-icons/plus-square.js +1 -27
- package/dist/icons/ui-icons/pointer-hand-disabled.js +1 -34
- package/dist/icons/ui-icons/pointer-hand.js +1 -20
- package/dist/icons/ui-icons/position-arrows-h.js +1 -26
- package/dist/icons/ui-icons/position-arrows-inverted-h.js +1 -26
- package/dist/icons/ui-icons/position-arrows-inverted-v.js +1 -26
- package/dist/icons/ui-icons/position-arrows-inverted.js +1 -26
- package/dist/icons/ui-icons/position-arrows-v.js +1 -26
- package/dist/icons/ui-icons/position-arrows.js +1 -26
- package/dist/icons/ui-icons/position-h-center.js +1 -43
- package/dist/icons/ui-icons/position-h-end.js +1 -43
- package/dist/icons/ui-icons/position-h-start.js +1 -43
- package/dist/icons/ui-icons/position-left.js +1 -31
- package/dist/icons/ui-icons/position-right.js +1 -31
- package/dist/icons/ui-icons/position-v-center.js +1 -43
- package/dist/icons/ui-icons/position-v-end.js +1 -43
- package/dist/icons/ui-icons/position-v-start.js +1 -43
- package/dist/icons/ui-icons/position2x2-bottom-left.js +1 -52
- package/dist/icons/ui-icons/position2x2-bottom-right.js +1 -52
- package/dist/icons/ui-icons/position2x2-empty.js +1 -51
- package/dist/icons/ui-icons/position2x2-top-left.js +1 -52
- package/dist/icons/ui-icons/position2x2-top-right.js +1 -52
- package/dist/icons/ui-icons/position3x3-bottom-center.js +1 -97
- package/dist/icons/ui-icons/position3x3-bottom-left.js +1 -97
- package/dist/icons/ui-icons/position3x3-bottom-right.js +1 -97
- package/dist/icons/ui-icons/position3x3-center-center.js +1 -97
- package/dist/icons/ui-icons/position3x3-center-left.js +1 -97
- package/dist/icons/ui-icons/position3x3-center-right.js +1 -97
- package/dist/icons/ui-icons/position3x3-empty.js +1 -96
- package/dist/icons/ui-icons/position3x3-top-center.js +1 -97
- package/dist/icons/ui-icons/position3x3-top-left.js +1 -97
- package/dist/icons/ui-icons/position3x3-top-right.js +1 -97
- package/dist/icons/ui-icons/positioning-guide-alt.js +1 -30
- package/dist/icons/ui-icons/positioning-guide.js +1 -30
- package/dist/icons/ui-icons/positioning-width-guide.js +1 -40
- package/dist/icons/ui-icons/preload.js +1 -44
- package/dist/icons/ui-icons/preview-responsive.js +1 -48
- package/dist/icons/ui-icons/preview.js +1 -35
- package/dist/icons/ui-icons/progressbar-intermittent.js +1 -26
- package/dist/icons/ui-icons/progressbar.js +1 -30
- package/dist/icons/ui-icons/range-max.js +1 -48
- package/dist/icons/ui-icons/range-mid.js +1 -40
- package/dist/icons/ui-icons/range-min.js +1 -48
- package/dist/icons/ui-icons/range.js +1 -61
- package/dist/icons/ui-icons/read-only.js +1 -25
- package/dist/icons/ui-icons/reduce-height-bottom.js +1 -49
- package/dist/icons/ui-icons/reduce-height-top.js +1 -49
- package/dist/icons/ui-icons/regex.js +1 -39
- package/dist/icons/ui-icons/remove.js +1 -20
- package/dist/icons/ui-icons/rename.js +1 -24
- package/dist/icons/ui-icons/reorder-grabber-h.js +1 -51
- package/dist/icons/ui-icons/reorder-grabber-v.js +1 -57
- package/dist/icons/ui-icons/reorder.js +1 -35
- package/dist/icons/ui-icons/required-alt.js +1 -20
- package/dist/icons/ui-icons/required.js +1 -19
- package/dist/icons/ui-icons/reset-to-zero.js +1 -33
- package/dist/icons/ui-icons/reset.js +1 -25
- package/dist/icons/ui-icons/responsive-overrides-alt-fill.js +1 -26
- package/dist/icons/ui-icons/responsive-overrides-alt.js +1 -49
- package/dist/icons/ui-icons/responsive-overrides-alt2-fill.js +1 -34
- package/dist/icons/ui-icons/responsive-overrides-alt2.js +1 -45
- package/dist/icons/ui-icons/responsive-overrides-alt3-fill.js +1 -33
- package/dist/icons/ui-icons/responsive-overrides.js +1 -39
- package/dist/icons/ui-icons/responsive.js +1 -33
- package/dist/icons/ui-icons/right-panel-alt.js +1 -23
- package/dist/icons/ui-icons/right-panel.js +1 -22
- package/dist/icons/ui-icons/rotate-left.js +1 -20
- package/dist/icons/ui-icons/rotate-right.js +1 -20
- package/dist/icons/ui-icons/rounded-corners.js +1 -19
- package/dist/icons/ui-icons/route.js +1 -27
- package/dist/icons/ui-icons/row-add.js +1 -45
- package/dist/icons/ui-icons/row-empty.js +1 -51
- package/dist/icons/ui-icons/row.js +1 -45
- package/dist/icons/ui-icons/rows.js +1 -42
- package/dist/icons/ui-icons/ruler.js +1 -28
- package/dist/icons/ui-icons/save.js +1 -26
- package/dist/icons/ui-icons/screen-desktop.js +1 -32
- package/dist/icons/ui-icons/screen-large.js +1 -23
- package/dist/icons/ui-icons/screen-mobile.js +1 -39
- package/dist/icons/ui-icons/screen-tablet-large.js +1 -36
- package/dist/icons/ui-icons/screen-tablet.js +1 -36
- package/dist/icons/ui-icons/scrollbar-h.js +1 -40
- package/dist/icons/ui-icons/scrollbar-v.js +1 -41
- package/dist/icons/ui-icons/scrollbars.js +1 -55
- package/dist/icons/ui-icons/search-empty.js +1 -37
- package/dist/icons/ui-icons/search.js +1 -25
- package/dist/icons/ui-icons/separator-h.js +1 -41
- package/dist/icons/ui-icons/separator-v.js +1 -39
- package/dist/icons/ui-icons/shadow.js +1 -61
- package/dist/icons/ui-icons/share.js +1 -26
- package/dist/icons/ui-icons/shield-plus-alt.js +1 -27
- package/dist/icons/ui-icons/shield-plus.js +1 -20
- package/dist/icons/ui-icons/shield.js +1 -20
- package/dist/icons/ui-icons/shrink-diagonal-left-xl.js +1 -20
- package/dist/icons/ui-icons/shrink-diagonal-left.js +1 -20
- package/dist/icons/ui-icons/shrink-diagonal-right-xl.js +1 -20
- package/dist/icons/ui-icons/shrink-diagonal-right.js +1 -20
- package/dist/icons/ui-icons/shrink-xl.js +1 -20
- package/dist/icons/ui-icons/shrink.js +1 -20
- package/dist/icons/ui-icons/shuffle.js +1 -20
- package/dist/icons/ui-icons/sidebar-flip.js +1 -22
- package/dist/icons/ui-icons/sidebar.js +1 -22
- package/dist/icons/ui-icons/single-item-left-inset-mobile.js +1 -48
- package/dist/icons/ui-icons/single-item-left-inset.js +1 -23
- package/dist/icons/ui-icons/single-item-right-inset-mobile.js +1 -50
- package/dist/icons/ui-icons/single-item-right-inset.js +1 -23
- package/dist/icons/ui-icons/size-alt.js +1 -33
- package/dist/icons/ui-icons/size.js +1 -29
- package/dist/icons/ui-icons/slider.js +1 -31
- package/dist/icons/ui-icons/sliders.js +1 -68
- package/dist/icons/ui-icons/small.js +1 -24
- package/dist/icons/ui-icons/solid-circle-fill-transparent.js +1 -22
- package/dist/icons/ui-icons/solid-circle-filled.js +1 -21
- package/dist/icons/ui-icons/solid-circle-gradient.js +1 -31
- package/dist/icons/ui-icons/solid-circle.js +1 -21
- package/dist/icons/ui-icons/solid-color.js +1 -19
- package/dist/icons/ui-icons/solid-rect-fill-transparent.js +1 -24
- package/dist/icons/ui-icons/solid-rect-filled.js +1 -23
- package/dist/icons/ui-icons/solid-rect-gradient.js +1 -33
- package/dist/icons/ui-icons/solid-rect.js +1 -23
- package/dist/icons/ui-icons/sort-asc.js +1 -20
- package/dist/icons/ui-icons/sort-desc.js +1 -20
- package/dist/icons/ui-icons/sort-generic.js +1 -25
- package/dist/icons/ui-icons/spacing-bottom-in.js +1 -23
- package/dist/icons/ui-icons/spacing-bottom.js +1 -23
- package/dist/icons/ui-icons/spacing-left-in.js +1 -23
- package/dist/icons/ui-icons/spacing-left.js +1 -23
- package/dist/icons/ui-icons/spacing-right-in.js +1 -23
- package/dist/icons/ui-icons/spacing-right.js +1 -23
- package/dist/icons/ui-icons/spacing-top-in.js +1 -23
- package/dist/icons/ui-icons/spacing-top.js +1 -23
- package/dist/icons/ui-icons/speed.js +1 -25
- package/dist/icons/ui-icons/stagger.js +1 -53
- package/dist/icons/ui-icons/star.js +1 -18
- package/dist/icons/ui-icons/step.js +1 -27
- package/dist/icons/ui-icons/stop.js +1 -20
- package/dist/icons/ui-icons/swap.js +1 -41
- package/dist/icons/ui-icons/tag-alt.js +1 -24
- package/dist/icons/ui-icons/tag.js +1 -26
- package/dist/icons/ui-icons/text-abc.js +1 -40
- package/dist/icons/ui-icons/text-above.js +1 -25
- package/dist/icons/ui-icons/text-align-center.js +1 -20
- package/dist/icons/ui-icons/text-align-generic.js +1 -20
- package/dist/icons/ui-icons/text-align-justify.js +1 -20
- package/dist/icons/ui-icons/text-align-left.js +1 -20
- package/dist/icons/ui-icons/text-align-right.js +1 -20
- package/dist/icons/ui-icons/text-below.js +1 -25
- package/dist/icons/ui-icons/text-box-edit.js +1 -35
- package/dist/icons/ui-icons/text-color-swatch.js +1 -40
- package/dist/icons/ui-icons/text-highlight-color-swatch-alt.js +1 -49
- package/dist/icons/ui-icons/text-highlight-color-swatch.js +1 -48
- package/dist/icons/ui-icons/text-larger.js +1 -23
- package/dist/icons/ui-icons/text-length.js +1 -20
- package/dist/icons/ui-icons/text-size-alt.js +1 -23
- package/dist/icons/ui-icons/text-size.js +1 -20
- package/dist/icons/ui-icons/text-smaller.js +1 -23
- package/dist/icons/ui-icons/text-strikethrough.js +1 -26
- package/dist/icons/ui-icons/text-uppercase.js +1 -25
- package/dist/icons/ui-icons/text-write.js +1 -39
- package/dist/icons/ui-icons/thumbs-down.js +1 -22
- package/dist/icons/ui-icons/thumbs-up.js +1 -22
- package/dist/icons/ui-icons/title-generic.js +1 -25
- package/dist/icons/ui-icons/toggle-off.js +1 -33
- package/dist/icons/ui-icons/toggle-on-alt.js +1 -19
- package/dist/icons/ui-icons/toggle-on.js +1 -31
- package/dist/icons/ui-icons/tools.js +1 -25
- package/dist/icons/ui-icons/total-items.js +1 -45
- package/dist/icons/ui-icons/trash-alt.js +1 -44
- package/dist/icons/ui-icons/trash.js +1 -33
- package/dist/icons/ui-icons/tree-alt.js +1 -62
- package/dist/icons/ui-icons/tree-alt2.js +1 -79
- package/dist/icons/ui-icons/tree.js +1 -70
- package/dist/icons/ui-icons/troubleshoot-alt.js +1 -39
- package/dist/icons/ui-icons/two-cards-left.js +1 -32
- package/dist/icons/ui-icons/two-cards-right.js +1 -32
- package/dist/icons/ui-icons/two-columns.js +1 -30
- package/dist/icons/ui-icons/typography-options.js +1 -77
- package/dist/icons/ui-icons/typography.js +1 -71
- package/dist/icons/ui-icons/underline.js +1 -19
- package/dist/icons/ui-icons/ungroup.js +1 -39
- package/dist/icons/ui-icons/upload.js +1 -20
- package/dist/icons/ui-icons/venn-diagram-alt.js +1 -34
- package/dist/icons/ui-icons/venn-diagram-alt2.js +1 -34
- package/dist/icons/ui-icons/venn-diagram-alt3.js +1 -34
- package/dist/icons/ui-icons/venn-diagram-alt4.js +1 -34
- package/dist/icons/ui-icons/venn-diagram-alt5.js +1 -34
- package/dist/icons/ui-icons/venn-diagram-alt6.js +1 -34
- package/dist/icons/ui-icons/venn-diagram-alt7.js +1 -39
- package/dist/icons/ui-icons/venn-diagram.js +1 -26
- package/dist/icons/ui-icons/vertical-align-alt.js +1 -27
- package/dist/icons/ui-icons/vertical-align-around.js +1 -39
- package/dist/icons/ui-icons/vertical-align-between-alt.js +1 -39
- package/dist/icons/ui-icons/vertical-align-between.js +1 -48
- package/dist/icons/ui-icons/vertical-align-bottom.js +1 -44
- package/dist/icons/ui-icons/vertical-align-center.js +1 -39
- package/dist/icons/ui-icons/vertical-align-evenly.js +1 -39
- package/dist/icons/ui-icons/vertical-align-stretch.js +1 -39
- package/dist/icons/ui-icons/vertical-align-top.js +1 -46
- package/dist/icons/ui-icons/vertical-align.js +1 -35
- package/dist/icons/ui-icons/vertical-spacing.js +1 -28
- package/dist/icons/ui-icons/video-chapters.js +1 -25
- package/dist/icons/ui-icons/video-controls.js +1 -67
- package/dist/icons/ui-icons/video-file.js +1 -40
- package/dist/icons/ui-icons/video-poster-image.js +1 -40
- package/dist/icons/ui-icons/video-subtitle-alt.js +1 -39
- package/dist/icons/ui-icons/video-subtitle.js +1 -27
- package/dist/icons/ui-icons/video.js +1 -36
- package/dist/icons/ui-icons/visibility-alt.js +1 -40
- package/dist/icons/ui-icons/visibility-alt2.js +1 -41
- package/dist/icons/ui-icons/visibility.js +1 -45
- package/dist/icons/ui-icons/visible.js +1 -28
- package/dist/icons/ui-icons/volume.js +1 -25
- package/dist/icons/ui-icons/warning-circle-fill-transparent.js +1 -30
- package/dist/icons/ui-icons/warning-circle-fill.js +1 -17
- package/dist/icons/ui-icons/warning-circle.js +1 -33
- package/dist/icons/ui-icons/warning-fill-transparent.js +1 -30
- package/dist/icons/ui-icons/warning-fill.js +1 -17
- package/dist/icons/ui-icons/warning.js +1 -30
- package/dist/icons/ui-icons/web-video.js +1 -63
- package/dist/icons/ui-icons/wide-bottom.js +1 -49
- package/dist/icons/ui-icons/wide-left.js +1 -49
- package/dist/icons/ui-icons/wide-right.js +1 -49
- package/dist/icons/ui-icons/wide-top.js +1 -49
- package/dist/icons/ui-icons/width.js +1 -29
- package/dist/icons/ui-icons/wordpress.js +1 -17
- package/dist/icons/ui-icons/wrapper-alt.js +1 -71
- package/dist/icons/ui-icons/wrapper-config.js +1 -41
- package/dist/icons/ui-icons/wrapper-off-alt.js +1 -19
- package/dist/icons/ui-icons/wrapper-overflow.js +1 -31
- package/dist/icons/ui-icons/wrapper-simple-alt.js +1 -58
- package/dist/icons/ui-icons/wrapper-simple.js +1 -32
- package/dist/icons/ui-icons/wrapper.js +1 -42
- package/dist/icons/ui-icons/wrench.js +1 -19
- package/dist/icons/ui-icons/zap-fill.js +1 -20
- package/dist/icons/ui-icons/zap.js +1 -19
- package/dist/index.js +1 -62
- package/dist/input-field-fSivrDer.js +1 -0
- package/dist/jsx-svg-zli3d0qY.js +68 -0
- package/dist/keyboard-BzlG0aH2.js +1 -0
- package/dist/link-input-D9t6cjWZ.js +1 -0
- package/dist/modal-DBnLSJmx.js +1 -0
- package/dist/number-C1r4kgNV.js +1 -0
- package/dist/number-picker-BIXieDJ6.js +1 -0
- package/dist/react-BSpnyKxv.js +1 -0
- package/dist/reorderable-grid-BAYa6mTs.js +2 -0
- package/dist/shared-CVfujbDV.js +1 -0
- package/dist/solid-color-picker-BYZhRF7V.js +1 -0
- package/dist/sprintf-jxGppDDY.js +1 -0
- package/dist/switch-35fHzULo.js +1 -0
- package/dist/tabs-eEqiNYD8.js +1 -0
- package/dist/text-helpers-Bs5upvzH.js +1 -0
- package/dist/toggle-button-BroScPLM.js +1 -0
- package/dist/tooltip-Cpzgu8xY.js +1 -0
- package/dist/useAsyncList-cN2_5xNF.js +1 -0
- package/dist/useButton-CUbkFkS6.js +1 -0
- package/dist/useCollection-BqmrVZIy.js +1 -0
- package/dist/useControlledState-DuIQl7AI.js +1 -0
- package/dist/useEvent-BlCQMrO9.js +1 -0
- package/dist/useField-KKAxOCpq.js +1 -0
- package/dist/useFilter-c6g6MH-o.js +1 -0
- package/dist/useFocusRing-iqZqZ3LT.js +7 -0
- package/dist/useFormReset-BR6FFFlJ.js +1 -0
- package/dist/useFormValidation-Bh9mXXQp.js +1 -0
- package/dist/useHasTabbableChild-B5OQsxku.js +1 -0
- package/dist/useHover-B7zqOZ-m.js +1 -0
- package/dist/useLabels-BrjiKdsE.js +1 -0
- package/dist/useListState-CPL-VMhR.js +1 -0
- package/dist/useLocalizedStringFormatter-B693_Wcz.js +1 -0
- package/dist/useNumberFieldState-Cz03G3Lt.js +1 -0
- package/dist/useObjectRef-BjjTnUOY.js +1 -0
- package/dist/useOverlayTriggerState-DKUl8FBy.js +1 -0
- package/dist/useSlot-IUqvn2jp.js +1 -0
- package/dist/useSpinButton-B4eYBjz0.js +1 -0
- package/dist/useTextField-CFwJQKgI.js +1 -0
- package/dist/useToggle-CFFHpBO3.js +1 -0
- package/dist/useToggleState-CTvAIp3u.js +1 -0
- package/dist/useUpdateEffect-ydebgl8a.js +1 -0
- package/dist/utilities/array-helpers.js +1 -46
- package/dist/utilities/debounce-throttle.js +1 -2
- package/dist/utilities/es-dash.js +1 -2
- package/dist/utilities/general.js +1 -36
- package/dist/utilities/hash.js +1 -35
- package/dist/utilities/index.js +1 -9
- package/dist/utilities/text-helpers.js +1 -2
- package/dist/utilities/web-workers.js +1 -78
- package/dist/utilities-CQP2zvrh.js +1 -0
- package/dist/utils-a89BELgQ.js +1 -0
- package/package.json +17 -24
- package/dist/Autocomplete-DWofaS1k.js +0 -462
- package/dist/Button-DcI8gSfH.js +0 -229
- package/dist/Dialog-CSqjSLlO.js +0 -2764
- package/dist/Disclosure-CkaUMe7J.js +0 -191
- package/dist/FocusScope-DLpr7Rq0.js +0 -739
- package/dist/Form-BWMVEpwR.js +0 -5
- package/dist/Heading-BQje2nS2.js +0 -16
- package/dist/Hidden-C4Saxkx9.js +0 -51
- package/dist/I18nProvider-R_4IDnf9.js +0 -93
- package/dist/Label-C4bJkVti.js +0 -17
- package/dist/List-BKcyZ8tT.js +0 -506
- package/dist/ListBox-D8_U8eBS.js +0 -562
- package/dist/NumberFormatter-BbOYa3Kg.js +0 -91
- package/dist/PortalProvider-Dbcc7pHq.js +0 -13
- package/dist/RadioGroup-BZkgf6tl.js +0 -341
- package/dist/SearchField-N1nXzeWK.js +0 -325
- package/dist/SelectionIndicator-CyOcB5ps.js +0 -5
- package/dist/SharedElementTransition-D1LPCrSc.js +0 -10
- package/dist/Slider-Dryu0gH7.js +0 -811
- package/dist/Text-CA2_mHEB.js +0 -17
- package/dist/VisuallyHidden-2DfCzdKo.js +0 -43
- package/dist/animation-COu1iBGW.js +0 -65
- package/dist/assets/fonts/geist-latin-400-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-latin-500-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-latin-700-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-latin-ext-400-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-latin-ext-500-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-latin-ext-700-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-400-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-500-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-700-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-ext-400-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-ext-500-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-ext-700-normal.woff2 +0 -0
- package/dist/assets/fonts/google-sans-flex-latin-ext-full-normal.woff2 +0 -0
- package/dist/assets/fonts/google-sans-flex-latin-full-normal.woff2 +0 -0
- package/dist/assets/fonts/google-sans-flex-symbols-full-normal.woff2 +0 -0
- package/dist/assets/style-admin-no-fonts.css +0 -2
- package/dist/assets/style-editor-no-fonts.css +0 -2
- package/dist/assets/style-no-fonts.css +0 -2
- package/dist/build-module-BISCoQjQ.js +0 -730
- package/dist/button-CCtgOh0o.js +0 -583
- package/dist/checkbox-d1lNvf65.js +0 -333
- package/dist/clsx-DQoRUQAf.js +0 -16
- package/dist/color-swatch-BstCWUIZ.js +0 -2579
- package/dist/components/base-control/container.js +0 -168
- package/dist/components/component-toggle/component-toggle.d.ts +0 -57
- package/dist/components/component-toggle/component-toggle.js +0 -100
- package/dist/components/container-panel/container-panel.d.ts +0 -50
- package/dist/components/container-panel/container-panel.js +0 -82
- package/dist/components/expandable/expandable.js +0 -88
- package/dist/components/option-select/option-select.d.ts +0 -96
- package/dist/components/option-select/option-select.js +0 -178
- package/dist/components/options-panel/options-panel.d.ts +0 -97
- package/dist/components/options-panel/options-panel.js +0 -114
- package/dist/components/placeholders/media-placeholder.d.ts +0 -34
- package/dist/components/placeholders/media-placeholder.js +0 -56
- package/dist/debounce-throttle-DklGQQrz.js +0 -120
- package/dist/dist-DpXluZqJ.js +0 -56
- package/dist/draggable-CE4MJU75.js +0 -7496
- package/dist/es-dash-DPtJSRjw.js +0 -298
- package/dist/filterDOMProps-BV6v3Ytq.js +0 -70
- package/dist/getMetaValue-Cpc6U0mQ.js +0 -18
- package/dist/gradient-editor-D2zB_7Wi.js +0 -1650
- package/dist/input-field-DVNpRfYE.js +0 -278
- package/dist/jsx-svg-DRwJdRpA.js +0 -11153
- package/dist/keyboard-DwWaJveG.js +0 -205
- package/dist/link-input-XaVrI3wP.js +0 -1865
- package/dist/modal-BXSwfGkf.js +0 -349
- package/dist/number-BeC0ySe4.js +0 -41
- package/dist/number-picker-DLLqEAsq.js +0 -257
- package/dist/react-c-t8odpE.js +0 -10967
- package/dist/shared-CsO_if0Q.js +0 -1030
- package/dist/solid-color-picker-1QabIOpX.js +0 -1423
- package/dist/sprintf-xJRAt4p0.js +0 -129
- package/dist/switch-CfgDFjqQ.js +0 -297
- package/dist/tabs-ORp17BEr.js +0 -1056
- package/dist/text-helpers-QrwKKaOh.js +0 -254
- package/dist/textSelection-BYhA9uWK.js +0 -45
- package/dist/toggle-button-B0nKYFlk.js +0 -463
- package/dist/tooltip-Dxr7aiIX.js +0 -421
- package/dist/useAsyncList-CjKVLGN0.js +0 -396
- package/dist/useButton-BO_4n6_e.js +0 -57
- package/dist/useCollection-BVUc8URe.js +0 -2243
- package/dist/useEvent-5yhOs2HC.js +0 -18
- package/dist/useField-B_ibsWst.js +0 -36
- package/dist/useFilter-Yp-QyW1S.js +0 -44
- package/dist/useFocusRing-DxPoGWMJ.js +0 -99
- package/dist/useFormReset-DFy_BhX1.js +0 -17
- package/dist/useFormValidation-CZPIMeNw.js +0 -207
- package/dist/useHover-DgudzTcf.js +0 -1158
- package/dist/useLabel-gfFDE4bn.js +0 -27
- package/dist/useLabels-Dcg-cEyM.js +0 -16
- package/dist/useListState-DTn91yqB.js +0 -130
- package/dist/useLocalizedStringFormatter-CTCqjYu4.js +0 -113
- package/dist/useNumberFieldState-D-Bsp98Z.js +0 -1393
- package/dist/useNumberFormatter-DNUGdm93.js +0 -10
- package/dist/useOverlayTriggerState-uzs8mam6.js +0 -557
- package/dist/usePress-BpGYwCwy.js +0 -609
- package/dist/useSlot-CnQHcvd4.js +0 -25
- package/dist/useTextField-C9dxy3po.js +0 -159
- package/dist/useToggle-CudcGIyz.js +0 -115
- package/dist/useToggleState-CYfSFy4b.js +0 -22
- package/dist/utilities-COki58KB.js +0 -7
- package/dist/utils-ClM91CuL.js +0 -382
|
@@ -1,1393 +0,0 @@
|
|
|
1
|
-
import { h as $c4867b2f328c2698$export$e5c5a5f917a5871c, p as $390e54f620492c70$export$f680877a34711e37, u as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./utils-ClM91CuL.js";
|
|
2
|
-
import { T as $2add3ce32c6007eb$export$186c6964ca17d99, U as $23f2114a1b82827e$export$e58f029f0fbfdb29, V as $23f2114a1b82827e$export$cd4e5573fbe2b576, c as $1e74c67db218ce67$export$f8168d8dd8fd66e6, d as $3e6197669829fe11$export$40bfa8c7b0832715, f as $fe16bffc7a557bf0$export$7f54fc3180508a52, j as $2add3ce32c6007eb$export$fedb369cb70207f1, k as $2add3ce32c6007eb$export$a11b0059900ceec8, n as $48a7d519b337145d$export$4eaf04e54aa8eed6, s as $8296dad1a4c5e0dc$export$8f71654801c2f7cd } from "./useHover-DgudzTcf.js";
|
|
3
|
-
import { t as $600b3cf69ae46262$export$90fc3a17d93f704c } from "./useEvent-5yhOs2HC.js";
|
|
4
|
-
import { t as $cf2482eff2eeeec2$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-CTCqjYu4.js";
|
|
5
|
-
import { t as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f } from "./filterDOMProps-BV6v3Ytq.js";
|
|
6
|
-
import { n as $2c9edc598a03d523$export$420e68273165f4ec } from "./useFocusRing-DxPoGWMJ.js";
|
|
7
|
-
import { t as $1dfb119a85e764e5$export$cc77c4ff7e8673c5 } from "./NumberFormatter-BbOYa3Kg.js";
|
|
8
|
-
import { t as $bd90acf18e792be6$export$b7a616150fdb9f44 } from "./useNumberFormatter-DNUGdm93.js";
|
|
9
|
-
import { r as $240e9101ba2842f5$export$cb6e0bb50bc19463, t as $240e9101ba2842f5$export$7d15b64cf5a3a4c4 } from "./number-BeC0ySe4.js";
|
|
10
|
-
import { i as $a46cf152bb926da5$export$d10ae4f68404609a, r as $a46cf152bb926da5$export$a9b970dcc4ae71a9 } from "./Button-DcI8gSfH.js";
|
|
11
|
-
import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10, n as $fd2148440a13ec26$export$a763b9476acd3eb } from "./useFormValidation-CZPIMeNw.js";
|
|
12
|
-
import { t as $3274bf1495747a7b$export$5add1d006293d136 } from "./useFormReset-DFy_BhX1.js";
|
|
13
|
-
import { t as $054f71d2330da2e3$export$712718f7aec83d5 } from "./useTextField-C9dxy3po.js";
|
|
14
|
-
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
15
|
-
import { flushSync } from "react-dom";
|
|
16
|
-
//#region node_modules/@internationalized/number/dist/private/NumberParser.mjs
|
|
17
|
-
var $eb76cf4feb040f77$var$CURRENCY_SIGN_REGEX = new RegExp("^.*\\(.*\\).*$");
|
|
18
|
-
var $eb76cf4feb040f77$var$NUMBERING_SYSTEMS = [
|
|
19
|
-
"latn",
|
|
20
|
-
"arab",
|
|
21
|
-
"hanidec",
|
|
22
|
-
"deva",
|
|
23
|
-
"beng",
|
|
24
|
-
"fullwide"
|
|
25
|
-
];
|
|
26
|
-
var $eb76cf4feb040f77$export$cd11ab140839f11d = class {
|
|
27
|
-
constructor(locale, options = {}) {
|
|
28
|
-
this.locale = locale;
|
|
29
|
-
this.options = options;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Parses the given string to a number. Returns NaN if a valid number could not be parsed.
|
|
33
|
-
*/ parse(value) {
|
|
34
|
-
return $eb76cf4feb040f77$var$getNumberParserImpl(this.locale, this.options, value).parse(value);
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Returns whether the given string could potentially be a valid number. This should be used to
|
|
38
|
-
* validate user input as the user types. If a `minValue` or `maxValue` is provided, the validity
|
|
39
|
-
* of the minus/plus sign characters can be checked.
|
|
40
|
-
*/ isValidPartialNumber(value, minValue, maxValue) {
|
|
41
|
-
return $eb76cf4feb040f77$var$getNumberParserImpl(this.locale, this.options, value).isValidPartialNumber(value, minValue, maxValue);
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Returns a numbering system for which the given string is valid in the current locale.
|
|
45
|
-
* If no numbering system could be detected, the default numbering system for the current
|
|
46
|
-
* locale is returned.
|
|
47
|
-
*/ getNumberingSystem(value) {
|
|
48
|
-
return $eb76cf4feb040f77$var$getNumberParserImpl(this.locale, this.options, value).options.numberingSystem;
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
var $eb76cf4feb040f77$var$numberParserCache = new Map();
|
|
52
|
-
function $eb76cf4feb040f77$var$getNumberParserImpl(locale, options, value) {
|
|
53
|
-
let defaultParser = $eb76cf4feb040f77$var$getCachedNumberParser(locale, options);
|
|
54
|
-
if (!locale.includes("-nu-") && !defaultParser.isValidPartialNumber(value)) {
|
|
55
|
-
for (let numberingSystem of $eb76cf4feb040f77$var$NUMBERING_SYSTEMS) if (numberingSystem !== defaultParser.options.numberingSystem) {
|
|
56
|
-
let parser = $eb76cf4feb040f77$var$getCachedNumberParser(locale + (locale.includes("-u-") ? "-nu-" : "-u-nu-") + numberingSystem, options);
|
|
57
|
-
if (parser.isValidPartialNumber(value)) return parser;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
return defaultParser;
|
|
61
|
-
}
|
|
62
|
-
function $eb76cf4feb040f77$var$getCachedNumberParser(locale, options) {
|
|
63
|
-
let cacheKey = locale + (options ? Object.entries(options).sort((a, b) => a[0] < b[0] ? -1 : 1).join() : "");
|
|
64
|
-
let parser = $eb76cf4feb040f77$var$numberParserCache.get(cacheKey);
|
|
65
|
-
if (!parser) {
|
|
66
|
-
parser = new $eb76cf4feb040f77$var$NumberParserImpl(locale, options);
|
|
67
|
-
$eb76cf4feb040f77$var$numberParserCache.set(cacheKey, parser);
|
|
68
|
-
}
|
|
69
|
-
return parser;
|
|
70
|
-
}
|
|
71
|
-
var $eb76cf4feb040f77$var$NumberParserImpl = class {
|
|
72
|
-
constructor(locale, options = {}) {
|
|
73
|
-
this.locale = locale;
|
|
74
|
-
if (options.roundingIncrement !== 1 && options.roundingIncrement != null) {
|
|
75
|
-
if (options.maximumFractionDigits == null && options.minimumFractionDigits == null) {
|
|
76
|
-
options.maximumFractionDigits = 0;
|
|
77
|
-
options.minimumFractionDigits = 0;
|
|
78
|
-
} else if (options.maximumFractionDigits == null) options.maximumFractionDigits = options.minimumFractionDigits;
|
|
79
|
-
else if (options.minimumFractionDigits == null) options.minimumFractionDigits = options.maximumFractionDigits;
|
|
80
|
-
}
|
|
81
|
-
this.formatter = new Intl.NumberFormat(locale, options);
|
|
82
|
-
this.options = this.formatter.resolvedOptions();
|
|
83
|
-
this.symbols = $eb76cf4feb040f77$var$getSymbols(locale, this.formatter, this.options, options);
|
|
84
|
-
if (this.options.style === "percent" && ((this.options.minimumFractionDigits ?? 0) > 18 || (this.options.maximumFractionDigits ?? 0) > 18)) console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.");
|
|
85
|
-
}
|
|
86
|
-
parse(value) {
|
|
87
|
-
let isGroupSymbolAllowed = this.formatter.resolvedOptions().useGrouping;
|
|
88
|
-
let fullySanitizedValue = this.sanitize(value);
|
|
89
|
-
if (!isGroupSymbolAllowed && this.symbols.group && fullySanitizedValue.includes(this.symbols.group)) return NaN;
|
|
90
|
-
else if (this.symbols.group) fullySanitizedValue = fullySanitizedValue.replaceAll(this.symbols.group, "");
|
|
91
|
-
if (this.symbols.decimal) fullySanitizedValue = fullySanitizedValue.replace(this.symbols.decimal, ".");
|
|
92
|
-
if (this.symbols.minusSign) fullySanitizedValue = fullySanitizedValue.replace(this.symbols.minusSign, "-");
|
|
93
|
-
fullySanitizedValue = fullySanitizedValue.replace(this.symbols.numeral, this.symbols.index);
|
|
94
|
-
if (this.options.style === "percent") {
|
|
95
|
-
let isNegative = fullySanitizedValue.indexOf("-");
|
|
96
|
-
fullySanitizedValue = fullySanitizedValue.replace("-", "");
|
|
97
|
-
fullySanitizedValue = fullySanitizedValue.replace("+", "");
|
|
98
|
-
let index = fullySanitizedValue.indexOf(".");
|
|
99
|
-
if (index === -1) index = fullySanitizedValue.length;
|
|
100
|
-
fullySanitizedValue = fullySanitizedValue.replace(".", "");
|
|
101
|
-
if (index - 2 === 0) fullySanitizedValue = `0.${fullySanitizedValue}`;
|
|
102
|
-
else if (index - 2 === -1) fullySanitizedValue = `0.0${fullySanitizedValue}`;
|
|
103
|
-
else if (index - 2 === -2) fullySanitizedValue = "0.00";
|
|
104
|
-
else fullySanitizedValue = `${fullySanitizedValue.slice(0, index - 2)}.${fullySanitizedValue.slice(index - 2)}`;
|
|
105
|
-
if (isNegative > -1) fullySanitizedValue = `-${fullySanitizedValue}`;
|
|
106
|
-
}
|
|
107
|
-
let newValue = fullySanitizedValue ? +fullySanitizedValue : NaN;
|
|
108
|
-
if (isNaN(newValue)) return NaN;
|
|
109
|
-
if (this.options.style === "percent") {
|
|
110
|
-
let options = {
|
|
111
|
-
...this.options,
|
|
112
|
-
style: "decimal",
|
|
113
|
-
minimumFractionDigits: Math.min((this.options.minimumFractionDigits ?? 0) + 2, 20),
|
|
114
|
-
maximumFractionDigits: Math.min((this.options.maximumFractionDigits ?? 0) + 2, 20)
|
|
115
|
-
};
|
|
116
|
-
return new $eb76cf4feb040f77$export$cd11ab140839f11d(this.locale, options).parse(new $1dfb119a85e764e5$export$cc77c4ff7e8673c5(this.locale, options).format(newValue));
|
|
117
|
-
}
|
|
118
|
-
if (this.options.currencySign === "accounting" && $eb76cf4feb040f77$var$CURRENCY_SIGN_REGEX.test(value)) newValue = -1 * newValue;
|
|
119
|
-
return newValue;
|
|
120
|
-
}
|
|
121
|
-
sanitize(value) {
|
|
122
|
-
let isGroupSymbolAllowed = this.formatter.resolvedOptions().useGrouping;
|
|
123
|
-
if (this.symbols.noNumeralUnits.length > 0 && this.symbols.noNumeralUnits.find((obj) => obj.unit === value)) return this.symbols.noNumeralUnits.find((obj) => obj.unit === value).value.toString();
|
|
124
|
-
value = value.replace(this.symbols.literals, "");
|
|
125
|
-
if (this.symbols.minusSign) value = value.replace("-", this.symbols.minusSign);
|
|
126
|
-
if (this.options.numberingSystem === "arab") {
|
|
127
|
-
if (this.symbols.decimal) {
|
|
128
|
-
value = $eb76cf4feb040f77$var$replaceAll(value, ",", this.symbols.decimal);
|
|
129
|
-
value = $eb76cf4feb040f77$var$replaceAll(value, String.fromCharCode(1548), this.symbols.decimal);
|
|
130
|
-
}
|
|
131
|
-
if (this.symbols.group && isGroupSymbolAllowed) value = $eb76cf4feb040f77$var$replaceAll(value, ".", this.symbols.group);
|
|
132
|
-
}
|
|
133
|
-
if (this.symbols.group === "’" && value.includes("'") && isGroupSymbolAllowed) value = $eb76cf4feb040f77$var$replaceAll(value, "'", this.symbols.group);
|
|
134
|
-
if (this.symbols.group === "'" && value.includes("’") && isGroupSymbolAllowed) value = $eb76cf4feb040f77$var$replaceAll(value, "’", this.symbols.group);
|
|
135
|
-
if (this.options.locale === "fr-FR" && this.symbols.group && isGroupSymbolAllowed) {
|
|
136
|
-
value = $eb76cf4feb040f77$var$replaceAll(value, " ", this.symbols.group);
|
|
137
|
-
value = $eb76cf4feb040f77$var$replaceAll(value, /\u00A0/g, this.symbols.group);
|
|
138
|
-
}
|
|
139
|
-
return value;
|
|
140
|
-
}
|
|
141
|
-
isValidPartialNumber(value, minValue = -Infinity, maxValue = Infinity) {
|
|
142
|
-
let isGroupSymbolAllowed = this.formatter.resolvedOptions().useGrouping;
|
|
143
|
-
value = this.sanitize(value);
|
|
144
|
-
if (this.symbols.minusSign && value.startsWith(this.symbols.minusSign) && minValue < 0) value = value.slice(this.symbols.minusSign.length);
|
|
145
|
-
else if (this.symbols.plusSign && value.startsWith(this.symbols.plusSign) && maxValue > 0) value = value.slice(this.symbols.plusSign.length);
|
|
146
|
-
if (this.symbols.decimal && value.indexOf(this.symbols.decimal) > -1 && this.options.maximumFractionDigits === 0) return false;
|
|
147
|
-
if (this.symbols.group && isGroupSymbolAllowed) value = $eb76cf4feb040f77$var$replaceAll(value, this.symbols.group, "");
|
|
148
|
-
value = value.replace(this.symbols.numeral, "");
|
|
149
|
-
if (this.symbols.decimal) value = value.replace(this.symbols.decimal, "");
|
|
150
|
-
return value.length === 0;
|
|
151
|
-
}
|
|
152
|
-
};
|
|
153
|
-
var $eb76cf4feb040f77$var$nonLiteralParts = new Set([
|
|
154
|
-
"decimal",
|
|
155
|
-
"fraction",
|
|
156
|
-
"integer",
|
|
157
|
-
"minusSign",
|
|
158
|
-
"plusSign",
|
|
159
|
-
"group"
|
|
160
|
-
]);
|
|
161
|
-
var $eb76cf4feb040f77$var$pluralNumbers = [
|
|
162
|
-
0,
|
|
163
|
-
4,
|
|
164
|
-
2,
|
|
165
|
-
1,
|
|
166
|
-
11,
|
|
167
|
-
20,
|
|
168
|
-
3,
|
|
169
|
-
7,
|
|
170
|
-
100,
|
|
171
|
-
21,
|
|
172
|
-
.1,
|
|
173
|
-
1.1
|
|
174
|
-
];
|
|
175
|
-
function $eb76cf4feb040f77$var$getSymbols(locale, formatter, intlOptions, originalOptions) {
|
|
176
|
-
let symbolFormatter = new Intl.NumberFormat(locale, {
|
|
177
|
-
...intlOptions,
|
|
178
|
-
minimumSignificantDigits: 1,
|
|
179
|
-
maximumSignificantDigits: 21,
|
|
180
|
-
roundingIncrement: 1,
|
|
181
|
-
roundingPriority: "auto",
|
|
182
|
-
roundingMode: "halfExpand",
|
|
183
|
-
useGrouping: true
|
|
184
|
-
});
|
|
185
|
-
let allParts = symbolFormatter.formatToParts(-10000.111);
|
|
186
|
-
let posAllParts = symbolFormatter.formatToParts(10000.111);
|
|
187
|
-
let pluralParts = $eb76cf4feb040f77$var$pluralNumbers.map((n) => symbolFormatter.formatToParts(n));
|
|
188
|
-
let noNumeralUnits = pluralParts.map((p, i) => {
|
|
189
|
-
let unit = p.find((p) => p.type === "unit");
|
|
190
|
-
if (unit && !p.some((p) => p.type === "integer" || p.type === "fraction")) return {
|
|
191
|
-
unit: unit.value,
|
|
192
|
-
value: $eb76cf4feb040f77$var$pluralNumbers[i]
|
|
193
|
-
};
|
|
194
|
-
return null;
|
|
195
|
-
}).filter((p) => !!p);
|
|
196
|
-
let minusSign = allParts.find((p) => p.type === "minusSign")?.value ?? "-";
|
|
197
|
-
let plusSign = posAllParts.find((p) => p.type === "plusSign")?.value;
|
|
198
|
-
if (!plusSign && (originalOptions?.signDisplay === "exceptZero" || originalOptions?.signDisplay === "always")) plusSign = "+";
|
|
199
|
-
let decimal = new Intl.NumberFormat(locale, {
|
|
200
|
-
...intlOptions,
|
|
201
|
-
minimumFractionDigits: 2,
|
|
202
|
-
maximumFractionDigits: 2
|
|
203
|
-
}).formatToParts(.001).find((p) => p.type === "decimal")?.value;
|
|
204
|
-
let group = allParts.find((p) => p.type === "group")?.value;
|
|
205
|
-
let allPartsLiterals = allParts.filter((p) => !$eb76cf4feb040f77$var$nonLiteralParts.has(p.type)).map((p) => $eb76cf4feb040f77$var$escapeRegex(p.value));
|
|
206
|
-
let pluralPartsLiterals = pluralParts.flatMap((p) => p.filter((p) => !$eb76cf4feb040f77$var$nonLiteralParts.has(p.type)).map((p) => $eb76cf4feb040f77$var$escapeRegex(p.value)));
|
|
207
|
-
let sortedLiterals = [...new Set([...allPartsLiterals, ...pluralPartsLiterals])].sort((a, b) => b.length - a.length);
|
|
208
|
-
let literals = sortedLiterals.length === 0 ? new RegExp("\\p{White_Space}|\\p{Cf}", "gu") : new RegExp(`${sortedLiterals.join("|")}|\\p{White_Space}|\\p{Cf}`, "gu");
|
|
209
|
-
let numerals = [...new Intl.NumberFormat(intlOptions.locale, { useGrouping: false }).format(9876543210)].reverse();
|
|
210
|
-
let indexes = new Map(numerals.map((d, i) => [d, i]));
|
|
211
|
-
let numeral = new RegExp(`[${numerals.join("")}]`, "g");
|
|
212
|
-
let index = (d) => String(indexes.get(d));
|
|
213
|
-
return {
|
|
214
|
-
minusSign,
|
|
215
|
-
plusSign,
|
|
216
|
-
decimal,
|
|
217
|
-
group,
|
|
218
|
-
literals,
|
|
219
|
-
numeral,
|
|
220
|
-
numerals,
|
|
221
|
-
index,
|
|
222
|
-
noNumeralUnits
|
|
223
|
-
};
|
|
224
|
-
}
|
|
225
|
-
function $eb76cf4feb040f77$var$replaceAll(str, find, replace) {
|
|
226
|
-
if (str.replaceAll) return str.replaceAll(find, replace);
|
|
227
|
-
return str.split(find).join(replace);
|
|
228
|
-
}
|
|
229
|
-
function $eb76cf4feb040f77$var$escapeRegex(string) {
|
|
230
|
-
return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
231
|
-
}
|
|
232
|
-
//#endregion
|
|
233
|
-
//#region node_modules/react-aria/dist/private/textfield/useFormattedTextField.mjs
|
|
234
|
-
function $62888b2ec35be488$var$supportsNativeBeforeInputEvent() {
|
|
235
|
-
return typeof window !== "undefined" && window.InputEvent && typeof InputEvent.prototype.getTargetRanges === "function";
|
|
236
|
-
}
|
|
237
|
-
function $62888b2ec35be488$export$4f384c9210e583c3(props, state, inputRef) {
|
|
238
|
-
let onBeforeInputFallback = $fe16bffc7a557bf0$export$7f54fc3180508a52((e) => {
|
|
239
|
-
let input = inputRef.current;
|
|
240
|
-
if (!input) return;
|
|
241
|
-
let nextValue = null;
|
|
242
|
-
switch (e.inputType) {
|
|
243
|
-
case "historyUndo":
|
|
244
|
-
case "historyRedo": return;
|
|
245
|
-
case "insertLineBreak": return;
|
|
246
|
-
case "deleteContent":
|
|
247
|
-
case "deleteByCut":
|
|
248
|
-
case "deleteByDrag":
|
|
249
|
-
nextValue = input.value.slice(0, input.selectionStart) + input.value.slice(input.selectionEnd);
|
|
250
|
-
break;
|
|
251
|
-
case "deleteContentForward":
|
|
252
|
-
nextValue = input.selectionEnd === input.selectionStart ? input.value.slice(0, input.selectionStart) + input.value.slice(input.selectionEnd + 1) : input.value.slice(0, input.selectionStart) + input.value.slice(input.selectionEnd);
|
|
253
|
-
break;
|
|
254
|
-
case "deleteContentBackward":
|
|
255
|
-
nextValue = input.selectionEnd === input.selectionStart ? input.value.slice(0, input.selectionStart - 1) + input.value.slice(input.selectionStart) : input.value.slice(0, input.selectionStart) + input.value.slice(input.selectionEnd);
|
|
256
|
-
break;
|
|
257
|
-
case "deleteSoftLineBackward":
|
|
258
|
-
case "deleteHardLineBackward":
|
|
259
|
-
nextValue = input.value.slice(input.selectionStart);
|
|
260
|
-
break;
|
|
261
|
-
default: if (e.data != null) nextValue = input.value.slice(0, input.selectionStart) + e.data + input.value.slice(input.selectionEnd);
|
|
262
|
-
}
|
|
263
|
-
if (nextValue == null || !state.validate(nextValue)) e.preventDefault();
|
|
264
|
-
});
|
|
265
|
-
useEffect(() => {
|
|
266
|
-
if (!$62888b2ec35be488$var$supportsNativeBeforeInputEvent() || !inputRef.current) return;
|
|
267
|
-
let input = inputRef.current;
|
|
268
|
-
input.addEventListener("beforeinput", onBeforeInputFallback, false);
|
|
269
|
-
return () => {
|
|
270
|
-
input.removeEventListener("beforeinput", onBeforeInputFallback, false);
|
|
271
|
-
};
|
|
272
|
-
}, [inputRef]);
|
|
273
|
-
let onBeforeInput = !$62888b2ec35be488$var$supportsNativeBeforeInputEvent() ? (e) => {
|
|
274
|
-
let nextValue = $23f2114a1b82827e$export$e58f029f0fbfdb29(e).value.slice(0, $23f2114a1b82827e$export$e58f029f0fbfdb29(e).selectionStart) + e.data + $23f2114a1b82827e$export$e58f029f0fbfdb29(e).value.slice($23f2114a1b82827e$export$e58f029f0fbfdb29(e).selectionEnd);
|
|
275
|
-
if (!state.validate(nextValue)) e.preventDefault();
|
|
276
|
-
} : null;
|
|
277
|
-
let { labelProps, inputProps: textFieldProps, descriptionProps, errorMessageProps, ...validation } = $054f71d2330da2e3$export$712718f7aec83d5(props, inputRef);
|
|
278
|
-
let compositionStartState = useRef(null);
|
|
279
|
-
return {
|
|
280
|
-
inputProps: $bbaa08b3cd72f041$export$9d1611c77c2fe928(textFieldProps, {
|
|
281
|
-
onBeforeInput,
|
|
282
|
-
onCompositionStart() {
|
|
283
|
-
let { value, selectionStart, selectionEnd } = inputRef.current;
|
|
284
|
-
compositionStartState.current = {
|
|
285
|
-
value,
|
|
286
|
-
selectionStart,
|
|
287
|
-
selectionEnd
|
|
288
|
-
};
|
|
289
|
-
},
|
|
290
|
-
onCompositionEnd() {
|
|
291
|
-
if (inputRef.current && !state.validate(inputRef.current.value)) {
|
|
292
|
-
let { value, selectionStart, selectionEnd } = compositionStartState.current;
|
|
293
|
-
inputRef.current.value = value;
|
|
294
|
-
inputRef.current.setSelectionRange(selectionStart, selectionEnd);
|
|
295
|
-
state.setInputValue(value);
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
}),
|
|
299
|
-
labelProps,
|
|
300
|
-
descriptionProps,
|
|
301
|
-
errorMessageProps,
|
|
302
|
-
...validation
|
|
303
|
-
};
|
|
304
|
-
}
|
|
305
|
-
//#endregion
|
|
306
|
-
//#region node_modules/react-aria/dist/private/interactions/useScrollWheel.mjs
|
|
307
|
-
function $14554ba6a2007b17$export$2123ff2b87c81ca(props, ref) {
|
|
308
|
-
let { onScroll, isDisabled } = props;
|
|
309
|
-
let onScrollHandler = useCallback((e) => {
|
|
310
|
-
if (e.ctrlKey) return;
|
|
311
|
-
e.preventDefault();
|
|
312
|
-
e.stopPropagation();
|
|
313
|
-
if (onScroll) onScroll({
|
|
314
|
-
deltaX: e.deltaX,
|
|
315
|
-
deltaY: e.deltaY
|
|
316
|
-
});
|
|
317
|
-
}, [onScroll]);
|
|
318
|
-
$600b3cf69ae46262$export$90fc3a17d93f704c(ref, "wheel", isDisabled ? void 0 : onScrollHandler);
|
|
319
|
-
}
|
|
320
|
-
//#endregion
|
|
321
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/ar-AE.mjs
|
|
322
|
-
var $c03aa2dde3f54f51$exports = {};
|
|
323
|
-
$c03aa2dde3f54f51$exports = { "Empty": `\u{641}\u{627}\u{631}\u{63A}` };
|
|
324
|
-
//#endregion
|
|
325
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/bg-BG.mjs
|
|
326
|
-
var $d612b270ee5ea6ca$exports = {};
|
|
327
|
-
$d612b270ee5ea6ca$exports = { "Empty": `\u{418}\u{437}\u{43F}\u{440}\u{430}\u{437}\u{43D}\u{438}` };
|
|
328
|
-
//#endregion
|
|
329
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/cs-CZ.mjs
|
|
330
|
-
var $9516ade4a4f015ec$exports = {};
|
|
331
|
-
$9516ade4a4f015ec$exports = { "Empty": `Pr\xe1zdn\xe9` };
|
|
332
|
-
//#endregion
|
|
333
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/da-DK.mjs
|
|
334
|
-
var $41d49e6197917be1$exports = {};
|
|
335
|
-
$41d49e6197917be1$exports = { "Empty": `Tom` };
|
|
336
|
-
//#endregion
|
|
337
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/de-DE.mjs
|
|
338
|
-
var $23b4dd964f7cc840$exports = {};
|
|
339
|
-
$23b4dd964f7cc840$exports = { "Empty": `Leer` };
|
|
340
|
-
//#endregion
|
|
341
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/el-GR.mjs
|
|
342
|
-
var $18cf3acc4056ec0e$exports = {};
|
|
343
|
-
$18cf3acc4056ec0e$exports = { "Empty": `\u{386}\u{3B4}\u{3B5}\u{3B9}\u{3BF}` };
|
|
344
|
-
//#endregion
|
|
345
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/en-US.mjs
|
|
346
|
-
var $df59f74ff621f180$exports = {};
|
|
347
|
-
$df59f74ff621f180$exports = { "Empty": `Empty` };
|
|
348
|
-
//#endregion
|
|
349
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/es-ES.mjs
|
|
350
|
-
var $1a750506d5a4610f$exports = {};
|
|
351
|
-
$1a750506d5a4610f$exports = { "Empty": `Vac\xedo` };
|
|
352
|
-
//#endregion
|
|
353
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/et-EE.mjs
|
|
354
|
-
var $8e1ed6a70b6e99d0$exports = {};
|
|
355
|
-
$8e1ed6a70b6e99d0$exports = { "Empty": `T\xfchjenda` };
|
|
356
|
-
//#endregion
|
|
357
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/fi-FI.mjs
|
|
358
|
-
var $bda17b3c68ec60e0$exports = {};
|
|
359
|
-
$bda17b3c68ec60e0$exports = { "Empty": `Tyhj\xe4` };
|
|
360
|
-
//#endregion
|
|
361
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/fr-FR.mjs
|
|
362
|
-
var $dfccc3416d8619f2$exports = {};
|
|
363
|
-
$dfccc3416d8619f2$exports = { "Empty": `Vide` };
|
|
364
|
-
//#endregion
|
|
365
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/he-IL.mjs
|
|
366
|
-
var $03ad7cde4af17dbc$exports = {};
|
|
367
|
-
$03ad7cde4af17dbc$exports = { "Empty": `\u{5E8}\u{5D9}\u{5E7}` };
|
|
368
|
-
//#endregion
|
|
369
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/hr-HR.mjs
|
|
370
|
-
var $3d83efd6529bcc21$exports = {};
|
|
371
|
-
$3d83efd6529bcc21$exports = { "Empty": `Prazno` };
|
|
372
|
-
//#endregion
|
|
373
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/hu-HU.mjs
|
|
374
|
-
var $3cf52fb2bf374b1e$exports = {};
|
|
375
|
-
$3cf52fb2bf374b1e$exports = { "Empty": `\xdcres` };
|
|
376
|
-
//#endregion
|
|
377
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/it-IT.mjs
|
|
378
|
-
var $6a6f2c49f92bd42e$exports = {};
|
|
379
|
-
$6a6f2c49f92bd42e$exports = { "Empty": `Vuoto` };
|
|
380
|
-
//#endregion
|
|
381
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/ja-JP.mjs
|
|
382
|
-
var $3cc0319ead4d5f7a$exports = {};
|
|
383
|
-
$3cc0319ead4d5f7a$exports = { "Empty": `\u{7A7A}` };
|
|
384
|
-
//#endregion
|
|
385
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/ko-KR.mjs
|
|
386
|
-
var $24d65dbbedc50cf8$exports = {};
|
|
387
|
-
$24d65dbbedc50cf8$exports = { "Empty": `\u{BE44}\u{C5B4} \u{C788}\u{C74C}` };
|
|
388
|
-
//#endregion
|
|
389
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/lt-LT.mjs
|
|
390
|
-
var $9022dcf5dfa5b508$exports = {};
|
|
391
|
-
$9022dcf5dfa5b508$exports = { "Empty": `Tu\u{161}\u{10D}ias` };
|
|
392
|
-
//#endregion
|
|
393
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/lv-LV.mjs
|
|
394
|
-
var $6746207c35f8a73d$exports = {};
|
|
395
|
-
$6746207c35f8a73d$exports = { "Empty": `Tuk\u{161}s` };
|
|
396
|
-
//#endregion
|
|
397
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/nb-NO.mjs
|
|
398
|
-
var $e23e2c12aa0580ab$exports = {};
|
|
399
|
-
$e23e2c12aa0580ab$exports = { "Empty": `Tom` };
|
|
400
|
-
//#endregion
|
|
401
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/nl-NL.mjs
|
|
402
|
-
var $7a42c3dae25ebf3e$exports = {};
|
|
403
|
-
$7a42c3dae25ebf3e$exports = { "Empty": `Leeg` };
|
|
404
|
-
//#endregion
|
|
405
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/pl-PL.mjs
|
|
406
|
-
var $f033322c769d9228$exports = {};
|
|
407
|
-
$f033322c769d9228$exports = { "Empty": `Pusty` };
|
|
408
|
-
//#endregion
|
|
409
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/pt-BR.mjs
|
|
410
|
-
var $bff6557112f09a21$exports = {};
|
|
411
|
-
$bff6557112f09a21$exports = { "Empty": `Vazio` };
|
|
412
|
-
//#endregion
|
|
413
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/pt-PT.mjs
|
|
414
|
-
var $69371b06c393f3b9$exports = {};
|
|
415
|
-
$69371b06c393f3b9$exports = { "Empty": `Vazio` };
|
|
416
|
-
//#endregion
|
|
417
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/ro-RO.mjs
|
|
418
|
-
var $76fd2ca03adf7a37$exports = {};
|
|
419
|
-
$76fd2ca03adf7a37$exports = { "Empty": `Gol` };
|
|
420
|
-
//#endregion
|
|
421
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/ru-RU.mjs
|
|
422
|
-
var $fa02fe0d4c09a614$exports = {};
|
|
423
|
-
$fa02fe0d4c09a614$exports = { "Empty": `\u{41D}\u{435} \u{437}\u{430}\u{43F}\u{43E}\u{43B}\u{43D}\u{435}\u{43D}\u{43E}` };
|
|
424
|
-
//#endregion
|
|
425
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/sk-SK.mjs
|
|
426
|
-
var $a240aba809e2b311$exports = {};
|
|
427
|
-
$a240aba809e2b311$exports = { "Empty": `Pr\xe1zdne` };
|
|
428
|
-
//#endregion
|
|
429
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/sl-SI.mjs
|
|
430
|
-
var $2c29d48084ee6251$exports = {};
|
|
431
|
-
$2c29d48084ee6251$exports = { "Empty": `Prazen` };
|
|
432
|
-
//#endregion
|
|
433
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/sr-SP.mjs
|
|
434
|
-
var $254c7eb682749050$exports = {};
|
|
435
|
-
$254c7eb682749050$exports = { "Empty": `Prazno` };
|
|
436
|
-
//#endregion
|
|
437
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/sv-SE.mjs
|
|
438
|
-
var $add997722e4d4b6e$exports = {};
|
|
439
|
-
$add997722e4d4b6e$exports = { "Empty": `Tomt` };
|
|
440
|
-
//#endregion
|
|
441
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/tr-TR.mjs
|
|
442
|
-
var $542f020fc9285606$exports = {};
|
|
443
|
-
$542f020fc9285606$exports = { "Empty": `Bo\u{15F}` };
|
|
444
|
-
//#endregion
|
|
445
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/uk-UA.mjs
|
|
446
|
-
var $3135b03c5e7cb78f$exports = {};
|
|
447
|
-
$3135b03c5e7cb78f$exports = { "Empty": `\u{41F}\u{443}\u{441}\u{442}\u{43E}` };
|
|
448
|
-
//#endregion
|
|
449
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/zh-CN.mjs
|
|
450
|
-
var $29092b8c778be040$exports = {};
|
|
451
|
-
$29092b8c778be040$exports = { "Empty": `\u{7A7A}` };
|
|
452
|
-
//#endregion
|
|
453
|
-
//#region node_modules/react-aria/dist/private/intl/spinbutton/zh-TW.mjs
|
|
454
|
-
var $94b34635baf16223$exports = {};
|
|
455
|
-
$94b34635baf16223$exports = { "Empty": `\u{7A7A}\u{767D}` };
|
|
456
|
-
//#endregion
|
|
457
|
-
//#region node_modules/react-aria/dist/private/spinbutton/intlStrings.mjs
|
|
458
|
-
var $6279e3628ec747df$exports = {};
|
|
459
|
-
$6279e3628ec747df$exports = {
|
|
460
|
-
"ar-AE": $c03aa2dde3f54f51$exports,
|
|
461
|
-
"bg-BG": $d612b270ee5ea6ca$exports,
|
|
462
|
-
"cs-CZ": $9516ade4a4f015ec$exports,
|
|
463
|
-
"da-DK": $41d49e6197917be1$exports,
|
|
464
|
-
"de-DE": $23b4dd964f7cc840$exports,
|
|
465
|
-
"el-GR": $18cf3acc4056ec0e$exports,
|
|
466
|
-
"en-US": $df59f74ff621f180$exports,
|
|
467
|
-
"es-ES": $1a750506d5a4610f$exports,
|
|
468
|
-
"et-EE": $8e1ed6a70b6e99d0$exports,
|
|
469
|
-
"fi-FI": $bda17b3c68ec60e0$exports,
|
|
470
|
-
"fr-FR": $dfccc3416d8619f2$exports,
|
|
471
|
-
"he-IL": $03ad7cde4af17dbc$exports,
|
|
472
|
-
"hr-HR": $3d83efd6529bcc21$exports,
|
|
473
|
-
"hu-HU": $3cf52fb2bf374b1e$exports,
|
|
474
|
-
"it-IT": $6a6f2c49f92bd42e$exports,
|
|
475
|
-
"ja-JP": $3cc0319ead4d5f7a$exports,
|
|
476
|
-
"ko-KR": $24d65dbbedc50cf8$exports,
|
|
477
|
-
"lt-LT": $9022dcf5dfa5b508$exports,
|
|
478
|
-
"lv-LV": $6746207c35f8a73d$exports,
|
|
479
|
-
"nb-NO": $e23e2c12aa0580ab$exports,
|
|
480
|
-
"nl-NL": $7a42c3dae25ebf3e$exports,
|
|
481
|
-
"pl-PL": $f033322c769d9228$exports,
|
|
482
|
-
"pt-BR": $bff6557112f09a21$exports,
|
|
483
|
-
"pt-PT": $69371b06c393f3b9$exports,
|
|
484
|
-
"ro-RO": $76fd2ca03adf7a37$exports,
|
|
485
|
-
"ru-RU": $fa02fe0d4c09a614$exports,
|
|
486
|
-
"sk-SK": $a240aba809e2b311$exports,
|
|
487
|
-
"sl-SI": $2c29d48084ee6251$exports,
|
|
488
|
-
"sr-SP": $254c7eb682749050$exports,
|
|
489
|
-
"sv-SE": $add997722e4d4b6e$exports,
|
|
490
|
-
"tr-TR": $542f020fc9285606$exports,
|
|
491
|
-
"uk-UA": $3135b03c5e7cb78f$exports,
|
|
492
|
-
"zh-CN": $29092b8c778be040$exports,
|
|
493
|
-
"zh-TW": $94b34635baf16223$exports
|
|
494
|
-
};
|
|
495
|
-
//#endregion
|
|
496
|
-
//#region node_modules/react-aria/dist/private/spinbutton/useSpinButton.mjs
|
|
497
|
-
function $parcel$interopDefault$1(a) {
|
|
498
|
-
return a && a.__esModule ? a.default : a;
|
|
499
|
-
}
|
|
500
|
-
var $757ec6630f26125c$var$noop = () => {};
|
|
501
|
-
function $757ec6630f26125c$export$e908e06f4b8e3402(props) {
|
|
502
|
-
const _async = useRef(void 0);
|
|
503
|
-
let { value, textValue, minValue, maxValue, isDisabled, isReadOnly, isRequired, onIncrement, onIncrementPage, onDecrement, onDecrementPage, onDecrementToMin, onIncrementToMax } = props;
|
|
504
|
-
const stringFormatter = $cf2482eff2eeeec2$export$f12b703ca79dfbb1($parcel$interopDefault$1($6279e3628ec747df$exports), "@react-aria/spinbutton");
|
|
505
|
-
let isSpinning = useRef(false);
|
|
506
|
-
const clearAsync = useCallback(() => {
|
|
507
|
-
clearTimeout(_async.current);
|
|
508
|
-
isSpinning.current = false;
|
|
509
|
-
}, []);
|
|
510
|
-
const clearAsyncEvent = $fe16bffc7a557bf0$export$7f54fc3180508a52(() => {
|
|
511
|
-
clearAsync();
|
|
512
|
-
});
|
|
513
|
-
useEffect(() => {
|
|
514
|
-
return () => clearAsyncEvent();
|
|
515
|
-
}, []);
|
|
516
|
-
let { keyboardProps } = $8296dad1a4c5e0dc$export$8f71654801c2f7cd({
|
|
517
|
-
isDisabled: isDisabled || isReadOnly,
|
|
518
|
-
shortcuts: {
|
|
519
|
-
PageUp: () => {
|
|
520
|
-
if (onIncrementPage) {
|
|
521
|
-
onIncrementPage();
|
|
522
|
-
return;
|
|
523
|
-
}
|
|
524
|
-
if (onIncrement) {
|
|
525
|
-
onIncrement();
|
|
526
|
-
return;
|
|
527
|
-
}
|
|
528
|
-
return false;
|
|
529
|
-
},
|
|
530
|
-
ArrowUp: () => {
|
|
531
|
-
if (onIncrement) {
|
|
532
|
-
onIncrement();
|
|
533
|
-
return;
|
|
534
|
-
}
|
|
535
|
-
return false;
|
|
536
|
-
},
|
|
537
|
-
PageDown: () => {
|
|
538
|
-
if (onDecrementPage) {
|
|
539
|
-
onDecrementPage();
|
|
540
|
-
return;
|
|
541
|
-
}
|
|
542
|
-
if (onDecrement) {
|
|
543
|
-
onDecrement();
|
|
544
|
-
return;
|
|
545
|
-
}
|
|
546
|
-
return false;
|
|
547
|
-
},
|
|
548
|
-
ArrowDown: () => {
|
|
549
|
-
if (onDecrement) {
|
|
550
|
-
onDecrement();
|
|
551
|
-
return;
|
|
552
|
-
}
|
|
553
|
-
return false;
|
|
554
|
-
},
|
|
555
|
-
Home: () => {
|
|
556
|
-
if (onDecrementToMin) {
|
|
557
|
-
onDecrementToMin();
|
|
558
|
-
return;
|
|
559
|
-
}
|
|
560
|
-
return false;
|
|
561
|
-
},
|
|
562
|
-
End: () => {
|
|
563
|
-
if (onIncrementToMax) {
|
|
564
|
-
onIncrementToMax();
|
|
565
|
-
return;
|
|
566
|
-
}
|
|
567
|
-
return false;
|
|
568
|
-
}
|
|
569
|
-
},
|
|
570
|
-
allowRepeats: true
|
|
571
|
-
});
|
|
572
|
-
let isFocused = useRef(false);
|
|
573
|
-
let onFocus = () => {
|
|
574
|
-
isFocused.current = true;
|
|
575
|
-
};
|
|
576
|
-
let onBlur = () => {
|
|
577
|
-
isFocused.current = false;
|
|
578
|
-
};
|
|
579
|
-
let ariaTextValue = textValue === "" ? stringFormatter.format("Empty") : (textValue || `${value}`).replace("-", "−");
|
|
580
|
-
useEffect(() => {
|
|
581
|
-
if (isFocused.current) {
|
|
582
|
-
$a46cf152bb926da5$export$d10ae4f68404609a("assertive");
|
|
583
|
-
$a46cf152bb926da5$export$a9b970dcc4ae71a9(ariaTextValue, "assertive");
|
|
584
|
-
}
|
|
585
|
-
}, [ariaTextValue]);
|
|
586
|
-
let onPointerCancel = useCallback(() => {
|
|
587
|
-
clearAsync();
|
|
588
|
-
}, [clearAsync]);
|
|
589
|
-
const onIncrementEvent = $fe16bffc7a557bf0$export$7f54fc3180508a52(onIncrement ?? $757ec6630f26125c$var$noop);
|
|
590
|
-
const onDecrementEvent = $fe16bffc7a557bf0$export$7f54fc3180508a52(onDecrement ?? $757ec6630f26125c$var$noop);
|
|
591
|
-
const stepUpEvent = $fe16bffc7a557bf0$export$7f54fc3180508a52(() => {
|
|
592
|
-
if (maxValue === void 0 || isNaN(maxValue) || value === void 0 || isNaN(value) || value < maxValue) {
|
|
593
|
-
onIncrementEvent();
|
|
594
|
-
onIncrementPressStartEvent(60);
|
|
595
|
-
}
|
|
596
|
-
});
|
|
597
|
-
const onIncrementPressStartEvent = $fe16bffc7a557bf0$export$7f54fc3180508a52((initialStepDelay) => {
|
|
598
|
-
clearAsyncEvent();
|
|
599
|
-
isSpinning.current = true;
|
|
600
|
-
_async.current = window.setTimeout(stepUpEvent, initialStepDelay);
|
|
601
|
-
});
|
|
602
|
-
const stepDownEvent = $fe16bffc7a557bf0$export$7f54fc3180508a52(() => {
|
|
603
|
-
if (minValue === void 0 || isNaN(minValue) || value === void 0 || isNaN(value) || value > minValue) {
|
|
604
|
-
onDecrementEvent();
|
|
605
|
-
onDecrementPressStartEvent(60);
|
|
606
|
-
}
|
|
607
|
-
});
|
|
608
|
-
const onDecrementPressStartEvent = $fe16bffc7a557bf0$export$7f54fc3180508a52((initialStepDelay) => {
|
|
609
|
-
clearAsyncEvent();
|
|
610
|
-
isSpinning.current = true;
|
|
611
|
-
_async.current = window.setTimeout(stepDownEvent, initialStepDelay);
|
|
612
|
-
});
|
|
613
|
-
let cancelContextMenu = (e) => {
|
|
614
|
-
e.preventDefault();
|
|
615
|
-
};
|
|
616
|
-
let { addGlobalListener, removeAllGlobalListeners } = $48a7d519b337145d$export$4eaf04e54aa8eed6();
|
|
617
|
-
let isUp = useRef(false);
|
|
618
|
-
let [isIncrementPressed, setIsIncrementPressed] = useState(null);
|
|
619
|
-
useEffect(() => {
|
|
620
|
-
if (isIncrementPressed === "touch") onIncrementPressStartEvent(600);
|
|
621
|
-
else if (isIncrementPressed) onIncrementPressStartEvent(400);
|
|
622
|
-
else if (!isIncrementPressed) clearAsyncEvent();
|
|
623
|
-
}, [isIncrementPressed]);
|
|
624
|
-
let [isDecrementPressed, setIsDecrementPressed] = useState(null);
|
|
625
|
-
useEffect(() => {
|
|
626
|
-
if (isDecrementPressed === "touch") onDecrementPressStartEvent(600);
|
|
627
|
-
else if (isDecrementPressed) onDecrementPressStartEvent(400);
|
|
628
|
-
else if (!isDecrementPressed) clearAsyncEvent();
|
|
629
|
-
}, [isDecrementPressed]);
|
|
630
|
-
return {
|
|
631
|
-
spinButtonProps: {
|
|
632
|
-
role: "spinbutton",
|
|
633
|
-
"aria-valuenow": value !== void 0 && !isNaN(value) ? value : void 0,
|
|
634
|
-
"aria-valuetext": ariaTextValue,
|
|
635
|
-
"aria-valuemin": minValue,
|
|
636
|
-
"aria-valuemax": maxValue,
|
|
637
|
-
"aria-disabled": isDisabled || void 0,
|
|
638
|
-
"aria-readonly": isReadOnly || void 0,
|
|
639
|
-
"aria-required": isRequired || void 0,
|
|
640
|
-
...keyboardProps,
|
|
641
|
-
onFocus,
|
|
642
|
-
onBlur
|
|
643
|
-
},
|
|
644
|
-
incrementButtonProps: {
|
|
645
|
-
onPressStart: (e) => {
|
|
646
|
-
clearAsync();
|
|
647
|
-
if (e.pointerType !== "touch") {
|
|
648
|
-
onIncrement?.();
|
|
649
|
-
setIsIncrementPressed("mouse");
|
|
650
|
-
} else {
|
|
651
|
-
addGlobalListener(window, "pointercancel", onPointerCancel, { capture: true });
|
|
652
|
-
isUp.current = false;
|
|
653
|
-
setIsIncrementPressed("touch");
|
|
654
|
-
}
|
|
655
|
-
addGlobalListener(window, "contextmenu", cancelContextMenu);
|
|
656
|
-
},
|
|
657
|
-
onPressUp: (e) => {
|
|
658
|
-
clearAsync();
|
|
659
|
-
if (e.pointerType === "touch") isUp.current = true;
|
|
660
|
-
removeAllGlobalListeners();
|
|
661
|
-
setIsIncrementPressed(null);
|
|
662
|
-
},
|
|
663
|
-
onPressEnd: (e) => {
|
|
664
|
-
clearAsync();
|
|
665
|
-
if (e.pointerType === "touch") {
|
|
666
|
-
if (!isSpinning.current && isUp.current) onIncrement?.();
|
|
667
|
-
}
|
|
668
|
-
isUp.current = false;
|
|
669
|
-
setIsIncrementPressed(null);
|
|
670
|
-
},
|
|
671
|
-
onFocus,
|
|
672
|
-
onBlur
|
|
673
|
-
},
|
|
674
|
-
decrementButtonProps: {
|
|
675
|
-
onPressStart: (e) => {
|
|
676
|
-
clearAsync();
|
|
677
|
-
if (e.pointerType !== "touch") {
|
|
678
|
-
onDecrement?.();
|
|
679
|
-
setIsDecrementPressed("mouse");
|
|
680
|
-
} else {
|
|
681
|
-
addGlobalListener(window, "pointercancel", onPointerCancel, { capture: true });
|
|
682
|
-
isUp.current = false;
|
|
683
|
-
setIsDecrementPressed("touch");
|
|
684
|
-
}
|
|
685
|
-
},
|
|
686
|
-
onPressUp: (e) => {
|
|
687
|
-
clearAsync();
|
|
688
|
-
if (e.pointerType === "touch") isUp.current = true;
|
|
689
|
-
removeAllGlobalListeners();
|
|
690
|
-
setIsDecrementPressed(null);
|
|
691
|
-
},
|
|
692
|
-
onPressEnd: (e) => {
|
|
693
|
-
clearAsync();
|
|
694
|
-
if (e.pointerType === "touch") {
|
|
695
|
-
if (!isSpinning.current && isUp.current) onDecrement?.();
|
|
696
|
-
}
|
|
697
|
-
isUp.current = false;
|
|
698
|
-
setIsDecrementPressed(null);
|
|
699
|
-
},
|
|
700
|
-
onFocus,
|
|
701
|
-
onBlur
|
|
702
|
-
}
|
|
703
|
-
};
|
|
704
|
-
}
|
|
705
|
-
//#endregion
|
|
706
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/ar-AE.mjs
|
|
707
|
-
var $50f1093a6d23d116$exports = {};
|
|
708
|
-
$50f1093a6d23d116$exports = {
|
|
709
|
-
"decrease": (args) => `\u{62E}\u{641}\u{636} ${args.fieldLabel}`,
|
|
710
|
-
"increase": (args) => `\u{632}\u{64A}\u{627}\u{62F}\u{629} ${args.fieldLabel}`,
|
|
711
|
-
"numberField": `\u{62D}\u{642}\u{644} \u{631}\u{642}\u{645}\u{64A}`
|
|
712
|
-
};
|
|
713
|
-
//#endregion
|
|
714
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/bg-BG.mjs
|
|
715
|
-
var $8f4fd2367d49b0f4$exports = {};
|
|
716
|
-
$8f4fd2367d49b0f4$exports = {
|
|
717
|
-
"decrease": (args) => `\u{41D}\u{430}\u{43C}\u{430}\u{43B}\u{44F}\u{432}\u{430}\u{43D}\u{435} ${args.fieldLabel}`,
|
|
718
|
-
"increase": (args) => `\u{423}\u{441}\u{438}\u{43B}\u{432}\u{430}\u{43D}\u{435} ${args.fieldLabel}`,
|
|
719
|
-
"numberField": `\u{41D}\u{43E}\u{43C}\u{435}\u{440} \u{43D}\u{430} \u{43F}\u{43E}\u{43B}\u{435}\u{442}\u{43E}`
|
|
720
|
-
};
|
|
721
|
-
//#endregion
|
|
722
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/cs-CZ.mjs
|
|
723
|
-
var $060018a1c3ec2fce$exports = {};
|
|
724
|
-
$060018a1c3ec2fce$exports = {
|
|
725
|
-
"decrease": (args) => `Sn\xed\u{17E}it ${args.fieldLabel}`,
|
|
726
|
-
"increase": (args) => `Zv\xfd\u{161}it ${args.fieldLabel}`,
|
|
727
|
-
"numberField": `\u{10C}\xedseln\xe9 pole`
|
|
728
|
-
};
|
|
729
|
-
//#endregion
|
|
730
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/da-DK.mjs
|
|
731
|
-
var $34605f3e0266a8f3$exports = {};
|
|
732
|
-
$34605f3e0266a8f3$exports = {
|
|
733
|
-
"decrease": (args) => `Reducer ${args.fieldLabel}`,
|
|
734
|
-
"increase": (args) => `\xd8g ${args.fieldLabel}`,
|
|
735
|
-
"numberField": `Talfelt`
|
|
736
|
-
};
|
|
737
|
-
//#endregion
|
|
738
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/de-DE.mjs
|
|
739
|
-
var $64f20e1112866bbd$exports = {};
|
|
740
|
-
$64f20e1112866bbd$exports = {
|
|
741
|
-
"decrease": (args) => `${args.fieldLabel} verringern`,
|
|
742
|
-
"increase": (args) => `${args.fieldLabel} erh\xf6hen`,
|
|
743
|
-
"numberField": `Nummernfeld`
|
|
744
|
-
};
|
|
745
|
-
//#endregion
|
|
746
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/el-GR.mjs
|
|
747
|
-
var $bfa0aaf1a402f382$exports = {};
|
|
748
|
-
$bfa0aaf1a402f382$exports = {
|
|
749
|
-
"decrease": (args) => `\u{39C}\u{3B5}\u{3AF}\u{3C9}\u{3C3}\u{3B7} ${args.fieldLabel}`,
|
|
750
|
-
"increase": (args) => `\u{391}\u{3CD}\u{3BE}\u{3B7}\u{3C3}\u{3B7} ${args.fieldLabel}`,
|
|
751
|
-
"numberField": `\u{3A0}\u{3B5}\u{3B4}\u{3AF}\u{3BF} \u{3B1}\u{3C1}\u{3B9}\u{3B8}\u{3BC}\u{3BF}\u{3CD}`
|
|
752
|
-
};
|
|
753
|
-
//#endregion
|
|
754
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/en-US.mjs
|
|
755
|
-
var $2656ce930519213b$exports = {};
|
|
756
|
-
$2656ce930519213b$exports = {
|
|
757
|
-
"decrease": (args) => `Decrease ${args.fieldLabel}`,
|
|
758
|
-
"increase": (args) => `Increase ${args.fieldLabel}`,
|
|
759
|
-
"numberField": `Number field`
|
|
760
|
-
};
|
|
761
|
-
//#endregion
|
|
762
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/es-ES.mjs
|
|
763
|
-
var $260cc0fc04d161dd$exports = {};
|
|
764
|
-
$260cc0fc04d161dd$exports = {
|
|
765
|
-
"decrease": (args) => `Reducir ${args.fieldLabel}`,
|
|
766
|
-
"increase": (args) => `Aumentar ${args.fieldLabel}`,
|
|
767
|
-
"numberField": `Campo de n\xfamero`
|
|
768
|
-
};
|
|
769
|
-
//#endregion
|
|
770
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/et-EE.mjs
|
|
771
|
-
var $5929126f62332a39$exports = {};
|
|
772
|
-
$5929126f62332a39$exports = {
|
|
773
|
-
"decrease": (args) => `V\xe4henda ${args.fieldLabel}`,
|
|
774
|
-
"increase": (args) => `Suurenda ${args.fieldLabel}`,
|
|
775
|
-
"numberField": `Numbri v\xe4li`
|
|
776
|
-
};
|
|
777
|
-
//#endregion
|
|
778
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/fi-FI.mjs
|
|
779
|
-
var $fc98374bce6a8f49$exports = {};
|
|
780
|
-
$fc98374bce6a8f49$exports = {
|
|
781
|
-
"decrease": (args) => `V\xe4henn\xe4 ${args.fieldLabel}`,
|
|
782
|
-
"increase": (args) => `Lis\xe4\xe4 ${args.fieldLabel}`,
|
|
783
|
-
"numberField": `Numerokentt\xe4`
|
|
784
|
-
};
|
|
785
|
-
//#endregion
|
|
786
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/fr-FR.mjs
|
|
787
|
-
var $574239e9a0c4ce9f$exports = {};
|
|
788
|
-
$574239e9a0c4ce9f$exports = {
|
|
789
|
-
"decrease": (args) => `Diminuer ${args.fieldLabel}`,
|
|
790
|
-
"increase": (args) => `Augmenter ${args.fieldLabel}`,
|
|
791
|
-
"numberField": `Champ de nombre`
|
|
792
|
-
};
|
|
793
|
-
//#endregion
|
|
794
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/he-IL.mjs
|
|
795
|
-
var $a80db10c45105af6$exports = {};
|
|
796
|
-
$a80db10c45105af6$exports = {
|
|
797
|
-
"decrease": (args) => `\u{5D4}\u{5E7}\u{5D8}\u{5DF} ${args.fieldLabel}`,
|
|
798
|
-
"increase": (args) => `\u{5D4}\u{5D2}\u{5D3}\u{5DC} ${args.fieldLabel}`,
|
|
799
|
-
"numberField": `\u{5E9}\u{5D3}\u{5D4} \u{5DE}\u{5E1}\u{5E4}\u{5E8}`
|
|
800
|
-
};
|
|
801
|
-
//#endregion
|
|
802
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/hr-HR.mjs
|
|
803
|
-
var $1df8c58f234da60a$exports = {};
|
|
804
|
-
$1df8c58f234da60a$exports = {
|
|
805
|
-
"decrease": (args) => `Smanji ${args.fieldLabel}`,
|
|
806
|
-
"increase": (args) => `Pove\u{107}aj ${args.fieldLabel}`,
|
|
807
|
-
"numberField": `Polje broja`
|
|
808
|
-
};
|
|
809
|
-
//#endregion
|
|
810
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/hu-HU.mjs
|
|
811
|
-
var $c990249689bb58d0$exports = {};
|
|
812
|
-
$c990249689bb58d0$exports = {
|
|
813
|
-
"decrease": (args) => `${args.fieldLabel} cs\xf6kkent\xe9se`,
|
|
814
|
-
"increase": (args) => `${args.fieldLabel} n\xf6vel\xe9se`,
|
|
815
|
-
"numberField": `Sz\xe1mmez\u{151}`
|
|
816
|
-
};
|
|
817
|
-
//#endregion
|
|
818
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/it-IT.mjs
|
|
819
|
-
var $03e73e050e75c075$exports = {};
|
|
820
|
-
$03e73e050e75c075$exports = {
|
|
821
|
-
"decrease": (args) => `Riduci ${args.fieldLabel}`,
|
|
822
|
-
"increase": (args) => `Aumenta ${args.fieldLabel}`,
|
|
823
|
-
"numberField": `Campo numero`
|
|
824
|
-
};
|
|
825
|
-
//#endregion
|
|
826
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/ja-JP.mjs
|
|
827
|
-
var $1486a16b22508ab9$exports = {};
|
|
828
|
-
$1486a16b22508ab9$exports = {
|
|
829
|
-
"decrease": (args) => `${args.fieldLabel}\u{3092}\u{7E2E}\u{5C0F}`,
|
|
830
|
-
"increase": (args) => `${args.fieldLabel}\u{3092}\u{62E1}\u{5927}`,
|
|
831
|
-
"numberField": `\u{6570}\u{5024}\u{30D5}\u{30A3}\u{30FC}\u{30EB}\u{30C9}`
|
|
832
|
-
};
|
|
833
|
-
//#endregion
|
|
834
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/ko-KR.mjs
|
|
835
|
-
var $da3ce82ad291e297$exports = {};
|
|
836
|
-
$da3ce82ad291e297$exports = {
|
|
837
|
-
"decrease": (args) => `${args.fieldLabel} \u{AC10}\u{C18C}`,
|
|
838
|
-
"increase": (args) => `${args.fieldLabel} \u{C99D}\u{AC00}`,
|
|
839
|
-
"numberField": `\u{BC88}\u{D638} \u{D544}\u{B4DC}`
|
|
840
|
-
};
|
|
841
|
-
//#endregion
|
|
842
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/lt-LT.mjs
|
|
843
|
-
var $f06e9c465fb83243$exports = {};
|
|
844
|
-
$f06e9c465fb83243$exports = {
|
|
845
|
-
"decrease": (args) => `Suma\u{17E}inti ${args.fieldLabel}`,
|
|
846
|
-
"increase": (args) => `Padidinti ${args.fieldLabel}`,
|
|
847
|
-
"numberField": `Numerio laukas`
|
|
848
|
-
};
|
|
849
|
-
//#endregion
|
|
850
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/lv-LV.mjs
|
|
851
|
-
var $02ed0f44dca8e510$exports = {};
|
|
852
|
-
$02ed0f44dca8e510$exports = {
|
|
853
|
-
"decrease": (args) => `Samazin\u{101}\u{161}ana ${args.fieldLabel}`,
|
|
854
|
-
"increase": (args) => `Palielin\u{101}\u{161}ana ${args.fieldLabel}`,
|
|
855
|
-
"numberField": `Skait\u{13C}u lauks`
|
|
856
|
-
};
|
|
857
|
-
//#endregion
|
|
858
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/nb-NO.mjs
|
|
859
|
-
var $7d2396d9fde5f3f5$exports = {};
|
|
860
|
-
$7d2396d9fde5f3f5$exports = {
|
|
861
|
-
"decrease": (args) => `Reduser ${args.fieldLabel}`,
|
|
862
|
-
"increase": (args) => `\xd8k ${args.fieldLabel}`,
|
|
863
|
-
"numberField": `Tallfelt`
|
|
864
|
-
};
|
|
865
|
-
//#endregion
|
|
866
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/nl-NL.mjs
|
|
867
|
-
var $294f579ef11ab713$exports = {};
|
|
868
|
-
$294f579ef11ab713$exports = {
|
|
869
|
-
"decrease": (args) => `${args.fieldLabel} verlagen`,
|
|
870
|
-
"increase": (args) => `${args.fieldLabel} verhogen`,
|
|
871
|
-
"numberField": `Getalveld`
|
|
872
|
-
};
|
|
873
|
-
//#endregion
|
|
874
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/pl-PL.mjs
|
|
875
|
-
var $46b77281e4caa836$exports = {};
|
|
876
|
-
$46b77281e4caa836$exports = {
|
|
877
|
-
"decrease": (args) => `Zmniejsz ${args.fieldLabel}`,
|
|
878
|
-
"increase": (args) => `Zwi\u{119}ksz ${args.fieldLabel}`,
|
|
879
|
-
"numberField": `Pole numeru`
|
|
880
|
-
};
|
|
881
|
-
//#endregion
|
|
882
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/pt-BR.mjs
|
|
883
|
-
var $f12d8c9bdaa0bcb1$exports = {};
|
|
884
|
-
$f12d8c9bdaa0bcb1$exports = {
|
|
885
|
-
"decrease": (args) => `Diminuir ${args.fieldLabel}`,
|
|
886
|
-
"increase": (args) => `Aumentar ${args.fieldLabel}`,
|
|
887
|
-
"numberField": `Campo de n\xfamero`
|
|
888
|
-
};
|
|
889
|
-
//#endregion
|
|
890
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/pt-PT.mjs
|
|
891
|
-
var $8b1446e7064e2ed7$exports = {};
|
|
892
|
-
$8b1446e7064e2ed7$exports = {
|
|
893
|
-
"decrease": (args) => `Diminuir ${args.fieldLabel}`,
|
|
894
|
-
"increase": (args) => `Aumentar ${args.fieldLabel}`,
|
|
895
|
-
"numberField": `Campo num\xe9rico`
|
|
896
|
-
};
|
|
897
|
-
//#endregion
|
|
898
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/ro-RO.mjs
|
|
899
|
-
var $c709bb06dc2a8e23$exports = {};
|
|
900
|
-
$c709bb06dc2a8e23$exports = {
|
|
901
|
-
"decrease": (args) => `Sc\u{103}dere ${args.fieldLabel}`,
|
|
902
|
-
"increase": (args) => `Cre\u{219}tere ${args.fieldLabel}`,
|
|
903
|
-
"numberField": `C\xe2mp numeric`
|
|
904
|
-
};
|
|
905
|
-
//#endregion
|
|
906
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/ru-RU.mjs
|
|
907
|
-
var $915fe8001bee7d0a$exports = {};
|
|
908
|
-
$915fe8001bee7d0a$exports = {
|
|
909
|
-
"decrease": (args) => `\u{423}\u{43C}\u{435}\u{43D}\u{44C}\u{448}\u{435}\u{43D}\u{438}\u{435} ${args.fieldLabel}`,
|
|
910
|
-
"increase": (args) => `\u{423}\u{432}\u{435}\u{43B}\u{438}\u{447}\u{435}\u{43D}\u{438}\u{435} ${args.fieldLabel}`,
|
|
911
|
-
"numberField": `\u{427}\u{438}\u{441}\u{43B}\u{43E}\u{432}\u{43E}\u{435} \u{43F}\u{43E}\u{43B}\u{435}`
|
|
912
|
-
};
|
|
913
|
-
//#endregion
|
|
914
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/sk-SK.mjs
|
|
915
|
-
var $79e778f6a71e6e7d$exports = {};
|
|
916
|
-
$79e778f6a71e6e7d$exports = {
|
|
917
|
-
"decrease": (args) => `Zn\xed\u{17E}i\u{165} ${args.fieldLabel}`,
|
|
918
|
-
"increase": (args) => `Zv\xfd\u{161}i\u{165} ${args.fieldLabel}`,
|
|
919
|
-
"numberField": `\u{10C}\xedseln\xe9 pole`
|
|
920
|
-
};
|
|
921
|
-
//#endregion
|
|
922
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/sl-SI.mjs
|
|
923
|
-
var $6799bde136a492e8$exports = {};
|
|
924
|
-
$6799bde136a492e8$exports = {
|
|
925
|
-
"decrease": (args) => `Upadati ${args.fieldLabel}`,
|
|
926
|
-
"increase": (args) => `Pove\u{10D}ajte ${args.fieldLabel}`,
|
|
927
|
-
"numberField": `\u{160}tevil\u{10D}no polje`
|
|
928
|
-
};
|
|
929
|
-
//#endregion
|
|
930
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/sr-SP.mjs
|
|
931
|
-
var $ca2ffb0adac8e2d5$exports = {};
|
|
932
|
-
$ca2ffb0adac8e2d5$exports = {
|
|
933
|
-
"decrease": (args) => `Smanji ${args.fieldLabel}`,
|
|
934
|
-
"increase": (args) => `Pove\u{107}aj ${args.fieldLabel}`,
|
|
935
|
-
"numberField": `Polje broja`
|
|
936
|
-
};
|
|
937
|
-
//#endregion
|
|
938
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/sv-SE.mjs
|
|
939
|
-
var $23a41be500b56b00$exports = {};
|
|
940
|
-
$23a41be500b56b00$exports = {
|
|
941
|
-
"decrease": (args) => `Minska ${args.fieldLabel}`,
|
|
942
|
-
"increase": (args) => `\xd6ka ${args.fieldLabel}`,
|
|
943
|
-
"numberField": `Nummerf\xe4lt`
|
|
944
|
-
};
|
|
945
|
-
//#endregion
|
|
946
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/tr-TR.mjs
|
|
947
|
-
var $5847a002bd1a8278$exports = {};
|
|
948
|
-
$5847a002bd1a8278$exports = {
|
|
949
|
-
"decrease": (args) => `${args.fieldLabel} azalt`,
|
|
950
|
-
"increase": (args) => `${args.fieldLabel} artt\u{131}r`,
|
|
951
|
-
"numberField": `Say\u{131} alan\u{131}`
|
|
952
|
-
};
|
|
953
|
-
//#endregion
|
|
954
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/uk-UA.mjs
|
|
955
|
-
var $e802b0c478fad83f$exports = {};
|
|
956
|
-
$e802b0c478fad83f$exports = {
|
|
957
|
-
"decrease": (args) => `\u{417}\u{43C}\u{435}\u{43D}\u{448}\u{438}\u{442}\u{438} ${args.fieldLabel}`,
|
|
958
|
-
"increase": (args) => `\u{417}\u{431}\u{456}\u{43B}\u{44C}\u{448}\u{438}\u{442}\u{438} ${args.fieldLabel}`,
|
|
959
|
-
"numberField": `\u{41F}\u{43E}\u{43B}\u{435} \u{43D}\u{43E}\u{43C}\u{435}\u{440}\u{430}`
|
|
960
|
-
};
|
|
961
|
-
//#endregion
|
|
962
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/zh-CN.mjs
|
|
963
|
-
var $9bee35dcd8ee2f43$exports = {};
|
|
964
|
-
$9bee35dcd8ee2f43$exports = {
|
|
965
|
-
"decrease": (args) => `\u{964D}\u{4F4E} ${args.fieldLabel}`,
|
|
966
|
-
"increase": (args) => `\u{63D0}\u{9AD8} ${args.fieldLabel}`,
|
|
967
|
-
"numberField": `\u{6570}\u{5B57}\u{5B57}\u{6BB5}`
|
|
968
|
-
};
|
|
969
|
-
//#endregion
|
|
970
|
-
//#region node_modules/react-aria/dist/private/intl/numberfield/zh-TW.mjs
|
|
971
|
-
var $7f5044f0e0d68e7e$exports = {};
|
|
972
|
-
$7f5044f0e0d68e7e$exports = {
|
|
973
|
-
"decrease": (args) => `\u{7E2E}\u{5C0F} ${args.fieldLabel}`,
|
|
974
|
-
"increase": (args) => `\u{653E}\u{5927} ${args.fieldLabel}`,
|
|
975
|
-
"numberField": `\u{6578}\u{5B57}\u{6B04}\u{4F4D}`
|
|
976
|
-
};
|
|
977
|
-
//#endregion
|
|
978
|
-
//#region node_modules/react-aria/dist/private/numberfield/intlStrings.mjs
|
|
979
|
-
var $fda7dc186b468fdb$exports = {};
|
|
980
|
-
$fda7dc186b468fdb$exports = {
|
|
981
|
-
"ar-AE": $50f1093a6d23d116$exports,
|
|
982
|
-
"bg-BG": $8f4fd2367d49b0f4$exports,
|
|
983
|
-
"cs-CZ": $060018a1c3ec2fce$exports,
|
|
984
|
-
"da-DK": $34605f3e0266a8f3$exports,
|
|
985
|
-
"de-DE": $64f20e1112866bbd$exports,
|
|
986
|
-
"el-GR": $bfa0aaf1a402f382$exports,
|
|
987
|
-
"en-US": $2656ce930519213b$exports,
|
|
988
|
-
"es-ES": $260cc0fc04d161dd$exports,
|
|
989
|
-
"et-EE": $5929126f62332a39$exports,
|
|
990
|
-
"fi-FI": $fc98374bce6a8f49$exports,
|
|
991
|
-
"fr-FR": $574239e9a0c4ce9f$exports,
|
|
992
|
-
"he-IL": $a80db10c45105af6$exports,
|
|
993
|
-
"hr-HR": $1df8c58f234da60a$exports,
|
|
994
|
-
"hu-HU": $c990249689bb58d0$exports,
|
|
995
|
-
"it-IT": $03e73e050e75c075$exports,
|
|
996
|
-
"ja-JP": $1486a16b22508ab9$exports,
|
|
997
|
-
"ko-KR": $da3ce82ad291e297$exports,
|
|
998
|
-
"lt-LT": $f06e9c465fb83243$exports,
|
|
999
|
-
"lv-LV": $02ed0f44dca8e510$exports,
|
|
1000
|
-
"nb-NO": $7d2396d9fde5f3f5$exports,
|
|
1001
|
-
"nl-NL": $294f579ef11ab713$exports,
|
|
1002
|
-
"pl-PL": $46b77281e4caa836$exports,
|
|
1003
|
-
"pt-BR": $f12d8c9bdaa0bcb1$exports,
|
|
1004
|
-
"pt-PT": $8b1446e7064e2ed7$exports,
|
|
1005
|
-
"ro-RO": $c709bb06dc2a8e23$exports,
|
|
1006
|
-
"ru-RU": $915fe8001bee7d0a$exports,
|
|
1007
|
-
"sk-SK": $79e778f6a71e6e7d$exports,
|
|
1008
|
-
"sl-SI": $6799bde136a492e8$exports,
|
|
1009
|
-
"sr-SP": $ca2ffb0adac8e2d5$exports,
|
|
1010
|
-
"sv-SE": $23a41be500b56b00$exports,
|
|
1011
|
-
"tr-TR": $5847a002bd1a8278$exports,
|
|
1012
|
-
"uk-UA": $e802b0c478fad83f$exports,
|
|
1013
|
-
"zh-CN": $9bee35dcd8ee2f43$exports,
|
|
1014
|
-
"zh-TW": $7f5044f0e0d68e7e$exports
|
|
1015
|
-
};
|
|
1016
|
-
//#endregion
|
|
1017
|
-
//#region node_modules/react-aria/dist/private/numberfield/useNumberField.mjs
|
|
1018
|
-
function $parcel$interopDefault(a) {
|
|
1019
|
-
return a && a.__esModule ? a.default : a;
|
|
1020
|
-
}
|
|
1021
|
-
function $cd2fa56213693c5e$export$23f548e970bdf099(props, state, inputRef) {
|
|
1022
|
-
let { id, decrementAriaLabel, incrementAriaLabel, isDisabled, isReadOnly, isRequired, minValue, maxValue, autoFocus, label, formatOptions, onBlur = () => {}, onFocus, onFocusChange, onKeyDown, onKeyUp, description, errorMessage, isWheelDisabled, ...otherProps } = props;
|
|
1023
|
-
let { increment, incrementToMax, decrement, decrementToMin, numberValue, inputValue, commit, commitValidation } = state;
|
|
1024
|
-
const stringFormatter = $cf2482eff2eeeec2$export$f12b703ca79dfbb1($parcel$interopDefault($fda7dc186b468fdb$exports), "@react-aria/numberfield");
|
|
1025
|
-
let commitAndAnnounce = useCallback(() => {
|
|
1026
|
-
let oldValue = inputRef.current?.value ?? "";
|
|
1027
|
-
flushSync(() => {
|
|
1028
|
-
commit();
|
|
1029
|
-
});
|
|
1030
|
-
if (inputRef.current?.value !== oldValue) $a46cf152bb926da5$export$a9b970dcc4ae71a9(inputRef.current?.value ?? "", "assertive");
|
|
1031
|
-
}, [commit, inputRef]);
|
|
1032
|
-
let inputId = $390e54f620492c70$export$f680877a34711e37(id);
|
|
1033
|
-
let { focusProps } = $1e74c67db218ce67$export$f8168d8dd8fd66e6({ onBlur() {
|
|
1034
|
-
commitAndAnnounce();
|
|
1035
|
-
} });
|
|
1036
|
-
let numberFormatter = $bd90acf18e792be6$export$b7a616150fdb9f44(formatOptions);
|
|
1037
|
-
let intlOptions = useMemo(() => numberFormatter.resolvedOptions(), [numberFormatter]);
|
|
1038
|
-
let textValueFormatter = $bd90acf18e792be6$export$b7a616150fdb9f44({
|
|
1039
|
-
...formatOptions,
|
|
1040
|
-
currencySign: void 0
|
|
1041
|
-
});
|
|
1042
|
-
let textValue = useMemo(() => isNaN(numberValue) ? "" : textValueFormatter.format(numberValue), [textValueFormatter, numberValue]);
|
|
1043
|
-
let { spinButtonProps, incrementButtonProps: incButtonProps, decrementButtonProps: decButtonProps } = $757ec6630f26125c$export$e908e06f4b8e3402({
|
|
1044
|
-
isDisabled,
|
|
1045
|
-
isReadOnly,
|
|
1046
|
-
isRequired,
|
|
1047
|
-
maxValue,
|
|
1048
|
-
minValue,
|
|
1049
|
-
onIncrement: increment,
|
|
1050
|
-
onIncrementToMax: incrementToMax,
|
|
1051
|
-
onDecrement: decrement,
|
|
1052
|
-
onDecrementToMin: decrementToMin,
|
|
1053
|
-
value: numberValue,
|
|
1054
|
-
textValue
|
|
1055
|
-
});
|
|
1056
|
-
let [focusWithin, setFocusWithin] = useState(false);
|
|
1057
|
-
let { focusWithinProps } = $2c9edc598a03d523$export$420e68273165f4ec({
|
|
1058
|
-
isDisabled,
|
|
1059
|
-
onFocusWithinChange: setFocusWithin
|
|
1060
|
-
});
|
|
1061
|
-
let onWheel = useCallback((e) => {
|
|
1062
|
-
if (Math.abs(e.deltaY) <= Math.abs(e.deltaX)) return;
|
|
1063
|
-
if (e.deltaY > 0) increment();
|
|
1064
|
-
else if (e.deltaY < 0) decrement();
|
|
1065
|
-
}, [decrement, increment]);
|
|
1066
|
-
$14554ba6a2007b17$export$2123ff2b87c81ca({
|
|
1067
|
-
onScroll: onWheel,
|
|
1068
|
-
isDisabled: isWheelDisabled || isDisabled || isReadOnly || !focusWithin
|
|
1069
|
-
}, inputRef);
|
|
1070
|
-
let hasDecimals = (intlOptions.maximumFractionDigits ?? 0) > 0;
|
|
1071
|
-
let hasNegative = state.minValue === void 0 || isNaN(state.minValue) || state.minValue < 0;
|
|
1072
|
-
let inputMode = "numeric";
|
|
1073
|
-
if ($2add3ce32c6007eb$export$186c6964ca17d99()) {
|
|
1074
|
-
if (hasNegative) inputMode = "text";
|
|
1075
|
-
else if (hasDecimals) inputMode = "decimal";
|
|
1076
|
-
} else if ($2add3ce32c6007eb$export$a11b0059900ceec8()) {
|
|
1077
|
-
if (hasNegative) inputMode = "numeric";
|
|
1078
|
-
else if (hasDecimals) inputMode = "decimal";
|
|
1079
|
-
}
|
|
1080
|
-
let onChange = (value) => {
|
|
1081
|
-
if (state.validate(value)) state.setInputValue(value);
|
|
1082
|
-
};
|
|
1083
|
-
let onPaste = (e) => {
|
|
1084
|
-
props.onPaste?.(e);
|
|
1085
|
-
let inputElement = $23f2114a1b82827e$export$e58f029f0fbfdb29(e);
|
|
1086
|
-
if (inputElement && (inputElement.selectionEnd ?? -1) - (inputElement.selectionStart ?? 0) === inputElement.value.length) {
|
|
1087
|
-
e.preventDefault();
|
|
1088
|
-
commit(e.clipboardData?.getData?.("text/plain")?.trim() ?? "");
|
|
1089
|
-
}
|
|
1090
|
-
};
|
|
1091
|
-
let domProps = $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props);
|
|
1092
|
-
let { keyboardProps } = $8296dad1a4c5e0dc$export$8f71654801c2f7cd({
|
|
1093
|
-
isDisabled: isDisabled || isReadOnly,
|
|
1094
|
-
shortcuts: { Enter: () => {
|
|
1095
|
-
flushSync(() => {
|
|
1096
|
-
commit();
|
|
1097
|
-
});
|
|
1098
|
-
commitValidation();
|
|
1099
|
-
return { shouldPreventDefault: false };
|
|
1100
|
-
} },
|
|
1101
|
-
onKeyDown,
|
|
1102
|
-
onKeyUp
|
|
1103
|
-
});
|
|
1104
|
-
let { isInvalid, validationErrors, validationDetails } = state.displayValidation;
|
|
1105
|
-
let { labelProps, inputProps: textFieldPropsFromHook, descriptionProps, errorMessageProps } = $62888b2ec35be488$export$4f384c9210e583c3({
|
|
1106
|
-
...otherProps,
|
|
1107
|
-
...domProps,
|
|
1108
|
-
name: void 0,
|
|
1109
|
-
form: void 0,
|
|
1110
|
-
label,
|
|
1111
|
-
autoFocus,
|
|
1112
|
-
isDisabled,
|
|
1113
|
-
isReadOnly,
|
|
1114
|
-
isRequired,
|
|
1115
|
-
validate: void 0,
|
|
1116
|
-
[$fd2148440a13ec26$export$a763b9476acd3eb]: state,
|
|
1117
|
-
value: inputValue,
|
|
1118
|
-
defaultValue: "!",
|
|
1119
|
-
autoComplete: "off",
|
|
1120
|
-
"aria-label": props["aria-label"] || void 0,
|
|
1121
|
-
"aria-labelledby": props["aria-labelledby"] || void 0,
|
|
1122
|
-
id: inputId,
|
|
1123
|
-
type: "text",
|
|
1124
|
-
inputMode,
|
|
1125
|
-
onChange,
|
|
1126
|
-
onBlur,
|
|
1127
|
-
onFocus,
|
|
1128
|
-
onFocusChange,
|
|
1129
|
-
onPaste,
|
|
1130
|
-
description,
|
|
1131
|
-
errorMessage
|
|
1132
|
-
}, state, inputRef);
|
|
1133
|
-
let textFieldProps = $bbaa08b3cd72f041$export$9d1611c77c2fe928(keyboardProps, textFieldPropsFromHook);
|
|
1134
|
-
$3274bf1495747a7b$export$5add1d006293d136(inputRef, state.defaultNumberValue, state.setNumberValue);
|
|
1135
|
-
$cd2fa56213693c5e$var$useNativeValidation(state, props.validationBehavior, props.commitBehavior, inputRef, state.minValue, state.maxValue, props.step, state.numberValue);
|
|
1136
|
-
let inputProps = $bbaa08b3cd72f041$export$9d1611c77c2fe928(spinButtonProps, focusProps, textFieldProps, {
|
|
1137
|
-
role: null,
|
|
1138
|
-
"aria-roledescription": !$2add3ce32c6007eb$export$fedb369cb70207f1() ? stringFormatter.format("numberField") : null,
|
|
1139
|
-
"aria-valuemax": null,
|
|
1140
|
-
"aria-valuemin": null,
|
|
1141
|
-
"aria-valuenow": null,
|
|
1142
|
-
"aria-valuetext": null,
|
|
1143
|
-
autoCorrect: "off",
|
|
1144
|
-
spellCheck: "false"
|
|
1145
|
-
});
|
|
1146
|
-
if (props.validationBehavior === "native") inputProps["aria-required"] = void 0;
|
|
1147
|
-
let onButtonPressStart = (e) => {
|
|
1148
|
-
if ($23f2114a1b82827e$export$cd4e5573fbe2b576() === inputRef.current) return;
|
|
1149
|
-
if (e.pointerType === "mouse") inputRef.current?.focus();
|
|
1150
|
-
else e.target.focus();
|
|
1151
|
-
};
|
|
1152
|
-
let fieldLabel = props["aria-label"] || (typeof props.label === "string" ? props.label : "");
|
|
1153
|
-
let ariaLabelledby;
|
|
1154
|
-
if (!fieldLabel) ariaLabelledby = props.label != null ? labelProps.id : props["aria-labelledby"];
|
|
1155
|
-
let incrementId = $390e54f620492c70$export$f680877a34711e37();
|
|
1156
|
-
let decrementId = $390e54f620492c70$export$f680877a34711e37();
|
|
1157
|
-
let incrementButtonProps = $bbaa08b3cd72f041$export$9d1611c77c2fe928(incButtonProps, {
|
|
1158
|
-
"aria-label": incrementAriaLabel || stringFormatter.format("increase", { fieldLabel }).trim(),
|
|
1159
|
-
id: ariaLabelledby && !incrementAriaLabel ? incrementId : null,
|
|
1160
|
-
"aria-labelledby": ariaLabelledby && !incrementAriaLabel ? `${incrementId} ${ariaLabelledby}` : null,
|
|
1161
|
-
"aria-controls": inputId,
|
|
1162
|
-
excludeFromTabOrder: true,
|
|
1163
|
-
preventFocusOnPress: true,
|
|
1164
|
-
allowFocusWhenDisabled: true,
|
|
1165
|
-
isDisabled: !state.canIncrement,
|
|
1166
|
-
onPressStart: onButtonPressStart
|
|
1167
|
-
});
|
|
1168
|
-
let decrementButtonProps = $bbaa08b3cd72f041$export$9d1611c77c2fe928(decButtonProps, {
|
|
1169
|
-
"aria-label": decrementAriaLabel || stringFormatter.format("decrease", { fieldLabel }).trim(),
|
|
1170
|
-
id: ariaLabelledby && !decrementAriaLabel ? decrementId : null,
|
|
1171
|
-
"aria-labelledby": ariaLabelledby && !decrementAriaLabel ? `${decrementId} ${ariaLabelledby}` : null,
|
|
1172
|
-
"aria-controls": inputId,
|
|
1173
|
-
excludeFromTabOrder: true,
|
|
1174
|
-
preventFocusOnPress: true,
|
|
1175
|
-
allowFocusWhenDisabled: true,
|
|
1176
|
-
isDisabled: !state.canDecrement,
|
|
1177
|
-
onPressStart: onButtonPressStart
|
|
1178
|
-
});
|
|
1179
|
-
return {
|
|
1180
|
-
groupProps: {
|
|
1181
|
-
...focusWithinProps,
|
|
1182
|
-
role: "group",
|
|
1183
|
-
"aria-disabled": isDisabled,
|
|
1184
|
-
"aria-invalid": isInvalid ? "true" : void 0
|
|
1185
|
-
},
|
|
1186
|
-
labelProps,
|
|
1187
|
-
inputProps,
|
|
1188
|
-
incrementButtonProps,
|
|
1189
|
-
decrementButtonProps,
|
|
1190
|
-
errorMessageProps,
|
|
1191
|
-
descriptionProps,
|
|
1192
|
-
isInvalid,
|
|
1193
|
-
validationErrors,
|
|
1194
|
-
validationDetails
|
|
1195
|
-
};
|
|
1196
|
-
}
|
|
1197
|
-
var $cd2fa56213693c5e$var$numberInput = null;
|
|
1198
|
-
function $cd2fa56213693c5e$var$useNativeValidation(state, validationBehavior, commitBehavior, inputRef, min, max, step, value) {
|
|
1199
|
-
$c4867b2f328c2698$export$e5c5a5f917a5871c(() => {
|
|
1200
|
-
let input = inputRef.current;
|
|
1201
|
-
if (commitBehavior !== "validate" || state.realtimeValidation.isInvalid || !input || input.disabled) return;
|
|
1202
|
-
if (!$cd2fa56213693c5e$var$numberInput && typeof document !== "undefined") {
|
|
1203
|
-
$cd2fa56213693c5e$var$numberInput = document.createElement("input");
|
|
1204
|
-
$cd2fa56213693c5e$var$numberInput.type = "number";
|
|
1205
|
-
}
|
|
1206
|
-
if (!$cd2fa56213693c5e$var$numberInput) return;
|
|
1207
|
-
$cd2fa56213693c5e$var$numberInput.min = min != null && !isNaN(min) ? String(min) : "";
|
|
1208
|
-
$cd2fa56213693c5e$var$numberInput.max = max != null && !isNaN(max) ? String(max) : "";
|
|
1209
|
-
$cd2fa56213693c5e$var$numberInput.step = step != null && !isNaN(step) ? String(step) : "";
|
|
1210
|
-
$cd2fa56213693c5e$var$numberInput.value = value != null && !isNaN(value) ? String(value) : "";
|
|
1211
|
-
let valid = input.validity.valid && $cd2fa56213693c5e$var$numberInput.validity.valid;
|
|
1212
|
-
let validationMessage = input.validationMessage || $cd2fa56213693c5e$var$numberInput.validationMessage;
|
|
1213
|
-
let validity = {
|
|
1214
|
-
isInvalid: !valid,
|
|
1215
|
-
validationErrors: validationMessage ? [validationMessage] : [],
|
|
1216
|
-
validationDetails: {
|
|
1217
|
-
badInput: input.validity.badInput,
|
|
1218
|
-
customError: input.validity.customError,
|
|
1219
|
-
patternMismatch: input.validity.patternMismatch,
|
|
1220
|
-
rangeOverflow: $cd2fa56213693c5e$var$numberInput.validity.rangeOverflow,
|
|
1221
|
-
rangeUnderflow: $cd2fa56213693c5e$var$numberInput.validity.rangeUnderflow,
|
|
1222
|
-
stepMismatch: $cd2fa56213693c5e$var$numberInput.validity.stepMismatch,
|
|
1223
|
-
tooLong: input.validity.tooLong,
|
|
1224
|
-
tooShort: input.validity.tooShort,
|
|
1225
|
-
typeMismatch: input.validity.typeMismatch,
|
|
1226
|
-
valueMissing: input.validity.valueMissing,
|
|
1227
|
-
valid
|
|
1228
|
-
}
|
|
1229
|
-
};
|
|
1230
|
-
state.updateValidation(validity);
|
|
1231
|
-
if (validationBehavior === "native" && !$cd2fa56213693c5e$var$numberInput.validity.valid) input.setCustomValidity($cd2fa56213693c5e$var$numberInput.validationMessage);
|
|
1232
|
-
});
|
|
1233
|
-
}
|
|
1234
|
-
//#endregion
|
|
1235
|
-
//#region node_modules/react-stately/dist/private/numberfield/useNumberFieldState.mjs
|
|
1236
|
-
function $3d0ee518c6f3d04f$export$7f629e9dc1ecf37c(props) {
|
|
1237
|
-
let { minValue, maxValue, step, formatOptions, value, defaultValue = NaN, onChange, locale, isDisabled, isReadOnly, commitBehavior = "snap" } = props;
|
|
1238
|
-
if (value === null) value = NaN;
|
|
1239
|
-
let snapValue = useCallback((value) => {
|
|
1240
|
-
return step === void 0 || isNaN(step) ? $240e9101ba2842f5$export$7d15b64cf5a3a4c4(value, minValue, maxValue) : $240e9101ba2842f5$export$cb6e0bb50bc19463(value, minValue, maxValue, step);
|
|
1241
|
-
}, [
|
|
1242
|
-
step,
|
|
1243
|
-
minValue,
|
|
1244
|
-
maxValue
|
|
1245
|
-
]);
|
|
1246
|
-
if (value !== void 0 && !isNaN(value) && commitBehavior === "snap") value = snapValue(value);
|
|
1247
|
-
if (!isNaN(defaultValue) && commitBehavior === "snap") defaultValue = snapValue(defaultValue);
|
|
1248
|
-
let [numberValue, setNumberValue] = $3e6197669829fe11$export$40bfa8c7b0832715(value, isNaN(defaultValue) ? NaN : defaultValue, onChange);
|
|
1249
|
-
let [initialValue] = useState(numberValue);
|
|
1250
|
-
let [inputValue, setInputValue] = useState(() => isNaN(numberValue) ? "" : new $1dfb119a85e764e5$export$cc77c4ff7e8673c5(locale, formatOptions).format(numberValue));
|
|
1251
|
-
let numberParser = useMemo(() => new $eb76cf4feb040f77$export$cd11ab140839f11d(locale, formatOptions), [locale, formatOptions]);
|
|
1252
|
-
let numberingSystem = useMemo(() => numberParser.getNumberingSystem(inputValue), [numberParser, inputValue]);
|
|
1253
|
-
let formatter = useMemo(() => new $1dfb119a85e764e5$export$cc77c4ff7e8673c5(locale, {
|
|
1254
|
-
...formatOptions,
|
|
1255
|
-
numberingSystem
|
|
1256
|
-
}), [
|
|
1257
|
-
locale,
|
|
1258
|
-
formatOptions,
|
|
1259
|
-
numberingSystem
|
|
1260
|
-
]);
|
|
1261
|
-
let intlOptions = useMemo(() => formatter.resolvedOptions(), [formatter]);
|
|
1262
|
-
let format = useCallback((value) => isNaN(value) || value === null ? "" : formatter.format(value), [formatter]);
|
|
1263
|
-
let validation = $fd2148440a13ec26$export$fc1a364ae1f3ff10({
|
|
1264
|
-
...props,
|
|
1265
|
-
value: numberValue
|
|
1266
|
-
});
|
|
1267
|
-
let clampStep = step !== void 0 && !isNaN(step) ? step : 1;
|
|
1268
|
-
if (intlOptions.style === "percent" && (step === void 0 || isNaN(step))) clampStep = .01;
|
|
1269
|
-
let [prevValue, setPrevValue] = useState(numberValue);
|
|
1270
|
-
let [prevLocale, setPrevLocale] = useState(locale);
|
|
1271
|
-
let [prevFormatOptions, setPrevFormatOptions] = useState(formatOptions);
|
|
1272
|
-
if (!Object.is(numberValue, prevValue) || locale !== prevLocale || !$3d0ee518c6f3d04f$var$isEqualFormatOptions(formatOptions, prevFormatOptions)) {
|
|
1273
|
-
setInputValue(format(numberValue));
|
|
1274
|
-
setPrevValue(numberValue);
|
|
1275
|
-
setPrevLocale(locale);
|
|
1276
|
-
setPrevFormatOptions(formatOptions);
|
|
1277
|
-
}
|
|
1278
|
-
let parsedValue = useMemo(() => numberParser.parse(inputValue), [numberParser, inputValue]);
|
|
1279
|
-
let commit = (overrideValue) => {
|
|
1280
|
-
let newInputValue = overrideValue === void 0 ? inputValue : overrideValue;
|
|
1281
|
-
let newParsedValue = parsedValue;
|
|
1282
|
-
if (overrideValue !== void 0) newParsedValue = numberParser.parse(newInputValue);
|
|
1283
|
-
if (!newInputValue.length) {
|
|
1284
|
-
setNumberValue(NaN);
|
|
1285
|
-
setInputValue(value === void 0 ? "" : format(numberValue));
|
|
1286
|
-
return;
|
|
1287
|
-
}
|
|
1288
|
-
if (isNaN(newParsedValue)) {
|
|
1289
|
-
setInputValue(format(numberValue));
|
|
1290
|
-
return;
|
|
1291
|
-
}
|
|
1292
|
-
let clampedValue = commitBehavior === "snap" ? snapValue(newParsedValue) : newParsedValue;
|
|
1293
|
-
clampedValue = numberParser.parse(format(clampedValue));
|
|
1294
|
-
let shouldValidate = clampedValue !== numberValue;
|
|
1295
|
-
setNumberValue(clampedValue);
|
|
1296
|
-
setInputValue(format(value === void 0 ? clampedValue : numberValue));
|
|
1297
|
-
if (shouldValidate) validation.commitValidation();
|
|
1298
|
-
};
|
|
1299
|
-
let safeNextStep = (operation, minMax = 0) => {
|
|
1300
|
-
let prev = parsedValue;
|
|
1301
|
-
if (isNaN(prev)) return $240e9101ba2842f5$export$cb6e0bb50bc19463(isNaN(minMax) ? 0 : minMax, minValue, maxValue, clampStep);
|
|
1302
|
-
else {
|
|
1303
|
-
let newValue = $240e9101ba2842f5$export$cb6e0bb50bc19463(prev, minValue, maxValue, clampStep);
|
|
1304
|
-
if (operation === "+" && newValue > prev || operation === "-" && newValue < prev) return newValue;
|
|
1305
|
-
return $240e9101ba2842f5$export$cb6e0bb50bc19463($3d0ee518c6f3d04f$var$handleDecimalOperation(operation, prev, clampStep), minValue, maxValue, clampStep);
|
|
1306
|
-
}
|
|
1307
|
-
};
|
|
1308
|
-
let increment = () => {
|
|
1309
|
-
let newValue = safeNextStep("+", minValue);
|
|
1310
|
-
if (newValue === numberValue) setInputValue(format(newValue));
|
|
1311
|
-
setNumberValue(newValue);
|
|
1312
|
-
validation.commitValidation();
|
|
1313
|
-
};
|
|
1314
|
-
let decrement = () => {
|
|
1315
|
-
let newValue = safeNextStep("-", maxValue);
|
|
1316
|
-
if (newValue === numberValue) setInputValue(format(newValue));
|
|
1317
|
-
setNumberValue(newValue);
|
|
1318
|
-
validation.commitValidation();
|
|
1319
|
-
};
|
|
1320
|
-
let incrementToMax = () => {
|
|
1321
|
-
if (maxValue != null) {
|
|
1322
|
-
setNumberValue($240e9101ba2842f5$export$cb6e0bb50bc19463(maxValue, minValue, maxValue, clampStep));
|
|
1323
|
-
validation.commitValidation();
|
|
1324
|
-
}
|
|
1325
|
-
};
|
|
1326
|
-
let decrementToMin = () => {
|
|
1327
|
-
if (minValue != null) {
|
|
1328
|
-
setNumberValue(minValue);
|
|
1329
|
-
validation.commitValidation();
|
|
1330
|
-
}
|
|
1331
|
-
};
|
|
1332
|
-
let canIncrement = useMemo(() => !isDisabled && !isReadOnly && (isNaN(parsedValue) || maxValue === void 0 || isNaN(maxValue) || $240e9101ba2842f5$export$cb6e0bb50bc19463(parsedValue, minValue, maxValue, clampStep) > parsedValue || $3d0ee518c6f3d04f$var$handleDecimalOperation("+", parsedValue, clampStep) <= maxValue), [
|
|
1333
|
-
isDisabled,
|
|
1334
|
-
isReadOnly,
|
|
1335
|
-
minValue,
|
|
1336
|
-
maxValue,
|
|
1337
|
-
clampStep,
|
|
1338
|
-
parsedValue
|
|
1339
|
-
]);
|
|
1340
|
-
let canDecrement = useMemo(() => !isDisabled && !isReadOnly && (isNaN(parsedValue) || minValue === void 0 || isNaN(minValue) || $240e9101ba2842f5$export$cb6e0bb50bc19463(parsedValue, minValue, maxValue, clampStep) < parsedValue || $3d0ee518c6f3d04f$var$handleDecimalOperation("-", parsedValue, clampStep) >= minValue), [
|
|
1341
|
-
isDisabled,
|
|
1342
|
-
isReadOnly,
|
|
1343
|
-
minValue,
|
|
1344
|
-
maxValue,
|
|
1345
|
-
clampStep,
|
|
1346
|
-
parsedValue
|
|
1347
|
-
]);
|
|
1348
|
-
let validate = (value) => numberParser.isValidPartialNumber(value, minValue, maxValue);
|
|
1349
|
-
return {
|
|
1350
|
-
...validation,
|
|
1351
|
-
validate,
|
|
1352
|
-
increment,
|
|
1353
|
-
incrementToMax,
|
|
1354
|
-
decrement,
|
|
1355
|
-
decrementToMin,
|
|
1356
|
-
canIncrement,
|
|
1357
|
-
canDecrement,
|
|
1358
|
-
minValue,
|
|
1359
|
-
maxValue,
|
|
1360
|
-
numberValue: parsedValue,
|
|
1361
|
-
defaultNumberValue: isNaN(defaultValue) ? initialValue : defaultValue,
|
|
1362
|
-
setNumberValue,
|
|
1363
|
-
setInputValue,
|
|
1364
|
-
inputValue,
|
|
1365
|
-
commit
|
|
1366
|
-
};
|
|
1367
|
-
}
|
|
1368
|
-
function $3d0ee518c6f3d04f$var$isEqualFormatOptions(a, b) {
|
|
1369
|
-
if (a === b) return true;
|
|
1370
|
-
if (!a || !b) return false;
|
|
1371
|
-
let aKeys = Object.keys(a);
|
|
1372
|
-
let bKeys = Object.keys(b);
|
|
1373
|
-
if (aKeys.length !== bKeys.length) return false;
|
|
1374
|
-
for (let key of aKeys) if (b[key] !== a[key]) return false;
|
|
1375
|
-
return true;
|
|
1376
|
-
}
|
|
1377
|
-
function $3d0ee518c6f3d04f$var$handleDecimalOperation(operator, value1, value2) {
|
|
1378
|
-
let result = operator === "+" ? value1 + value2 : value1 - value2;
|
|
1379
|
-
if (value1 % 1 !== 0 || value2 % 1 !== 0) {
|
|
1380
|
-
const value1Decimal = value1.toString().split(".");
|
|
1381
|
-
const value2Decimal = value2.toString().split(".");
|
|
1382
|
-
const value1DecimalLength = value1Decimal[1] && value1Decimal[1].length || 0;
|
|
1383
|
-
const value2DecimalLength = value2Decimal[1] && value2Decimal[1].length || 0;
|
|
1384
|
-
const multiplier = Math.pow(10, Math.max(value1DecimalLength, value2DecimalLength));
|
|
1385
|
-
value1 = Math.round(value1 * multiplier);
|
|
1386
|
-
value2 = Math.round(value2 * multiplier);
|
|
1387
|
-
result = operator === "+" ? value1 + value2 : value1 - value2;
|
|
1388
|
-
result /= multiplier;
|
|
1389
|
-
}
|
|
1390
|
-
return result;
|
|
1391
|
-
}
|
|
1392
|
-
//#endregion
|
|
1393
|
-
export { $62888b2ec35be488$export$4f384c9210e583c3 as a, $14554ba6a2007b17$export$2123ff2b87c81ca as i, $cd2fa56213693c5e$export$23f548e970bdf099 as n, $757ec6630f26125c$export$e908e06f4b8e3402 as r, $3d0ee518c6f3d04f$export$7f629e9dc1ecf37c as t };
|