@povio/ui 3.4.0-rc.9 → 4.0.0-rc.2
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 +56 -2
- package/dist/Accordion-Cup5eRZz.d.ts +58 -0
- package/dist/Accordion-rZ9P9dZy.js +416 -0
- package/dist/Alert-BALBsBrP.js +240 -0
- package/dist/Alert-CbEhRaU5.d.ts +33 -0
- package/dist/AlertDialog-PjYM6lDo.d.ts +26 -0
- package/dist/Autocomplete-DE2lQi5o.d.ts +15 -0
- package/dist/Badge-CjPpYa50.d.ts +28 -0
- package/dist/BottomSheet-ByyAU_dJ.js +404 -0
- package/dist/BottomSheet-CT0zuola.d.ts +33 -0
- package/dist/BottomSheet.lazy-7AwnB4vS.d.ts +5 -0
- package/dist/Breadcrumbs-D-3YEuem.d.ts +19 -0
- package/dist/Breadcrumbs-UfRbfiqU.js +351 -0
- package/dist/Button-CRlZqaJq.js +89 -0
- package/dist/Button-CbwNjdRz.js +761 -0
- package/dist/Button-DTNjsGx5.d.ts +42 -0
- package/dist/ButtonContent-CohuJJzG.js +136 -0
- package/dist/Calendar-Ci0ysyfZ.js +753 -0
- package/dist/CheckContent-DzWpxKGq.js +19 -0
- package/dist/Checkbox-BJ7flpwA.js +227 -0
- package/dist/Checkbox-CBybJbLm.d.ts +26 -0
- package/dist/CheckboxCheckmark-C1X9yBT6.js +195 -0
- package/dist/CheckboxGroup-4xoWgmxr.d.ts +28 -0
- package/dist/DatePicker-CgCr_Z8r.js +434 -0
- package/dist/DatePicker-DyjAwAh6.d.ts +44 -0
- package/dist/DatePickerInput-B9Z_AUkC.js +945 -0
- package/dist/DatePickerInput-CdCtVE9z.d.ts +18 -0
- package/dist/DateRangePicker-CS69o2pD.js +1858 -0
- package/dist/DateRangePicker-Cdu1Sx37.d.ts +76 -0
- package/dist/DateTimePicker-ClSa8hFs.d.ts +44 -0
- package/dist/DateTimePicker-Xzc1ve3a.js +387 -0
- package/dist/Dialog-CLWfxiie.js +595 -0
- package/dist/Dialog-DEbI_9S-.d.ts +55 -0
- package/dist/Dialog-DLfOkNe9.js +60 -0
- package/dist/Drawer-D1cHiBFO.d.ts +18 -0
- package/dist/DropdownMenu-CZQRzOBb.d.ts +61 -0
- package/dist/DropdownMenu-hkpycd0j.js +178 -0
- package/dist/DropdownMenuDesktop-B0MKN0op.js +248 -0
- package/dist/FileInput-BQS6TAH7.js +236 -0
- package/dist/FileInput-CI8D_wf_.d.ts +70 -0
- package/dist/FileTrigger-C5r_5hvS.js +145 -0
- package/dist/FileUpload-BrnJdN3M.d.ts +7 -0
- package/dist/FileUpload-cS3NOaES.js +791 -0
- package/dist/FileUploadContainer-CkBENy6n.d.ts +5 -0
- package/dist/FocusScope-CNjWJz3s.js +343 -0
- package/dist/Form-Bam3kea-.js +10 -0
- package/dist/Form-NZGvsbuM.d.ts +49 -0
- package/dist/FormField-BHPdCLEV.js +211 -0
- package/dist/FormField-DTDj3F0A.d.ts +37 -0
- package/dist/FormFieldError-BT4uxbKY.d.ts +10 -0
- package/dist/FormFieldError-CFg0Wn3i.js +26 -0
- package/dist/FormFieldHeaderTooltip-b-kY0DgB.js +38 -0
- package/dist/Heading-D0cYUzVa.js +16 -0
- package/dist/IconButton-CYazzM7I.d.ts +16 -0
- package/dist/InlineIconButton-Rp5bXWcQ.d.ts +15 -0
- package/dist/InlineTooltipWrapper-BqLlgdD7.js +24 -0
- package/dist/Input-BmIahisJ.js +47 -0
- package/dist/Input-DSHFNEVl.d.ts +30 -0
- package/dist/InputContent-CvWm6GAv.d.ts +27 -0
- package/dist/InputItem-AU6mq7o-.js +63 -0
- package/dist/Inputs-AqKRElPz.js +17 -0
- package/dist/Inputs-DiFAIBZS.d.ts +13 -0
- package/dist/Label-C6BonuOp.js +17 -0
- package/dist/Link-D7QEPw-L.js +47 -0
- package/dist/Link-DS9-0Ijl.d.ts +27 -0
- package/dist/Link-e4ZWZNrO.js +42 -0
- package/dist/ListBox-Dx42Gif4.js +418 -0
- package/dist/MenuItem-CROWrE2A.d.ts +6 -0
- package/dist/Modal-C5Oi8GZF.js +152 -0
- package/dist/NumberField-BICDQ2gN.d.ts +30 -0
- package/dist/NumberRangeInput-BlGXChNR.d.ts +45 -0
- package/dist/NumberRangeInput-xjkniTH0.js +428 -0
- package/dist/OverlayArrow-BRnQo6-8.js +33 -0
- package/dist/Pagination-CumQED8X.d.ts +12 -0
- package/dist/PaginationList-D79ApWLm.d.ts +18 -0
- package/dist/PaginationList-Du7qn_AS.js +228 -0
- package/dist/PasswordInput-BdrYD1D3.d.ts +10 -0
- package/dist/PasswordInput-DTScGauT.js +63 -0
- package/dist/PillButton-CihEPQye.d.ts +15 -0
- package/dist/Popover-C0_-TLl_.d.ts +20 -0
- package/dist/Progress-CYfDXJKs.d.ts +44 -0
- package/dist/Progress-_jkt2pQw.js +145 -0
- package/dist/QuerySelect-V9C2b67x.d.ts +23 -0
- package/dist/RadioGroup-B9g4uT4E.js +380 -0
- package/dist/RadioGroup-WHWosz7K.d.ts +24 -0
- package/dist/RichTextEditor-CbgjRfiU.d.ts +26 -0
- package/dist/RichTextEditor-DWgaZLRW.js +925 -0
- package/dist/Select-O9dprkTa.js +159 -0
- package/dist/Select-wzB2aQ_X.d.ts +15 -0
- package/dist/SelectBase-DefgAEzh.d.ts +96 -0
- package/dist/SelectionIndicator-C9TY9dkk.js +5 -0
- package/dist/SharedElementTransition-lGqrCNlI.js +12 -0
- package/dist/Slider-CZMNmk6P.d.ts +22 -0
- package/dist/Slider-IDDtzb2P.js +246 -0
- package/dist/Spinner-BOgO9bS6.d.ts +29 -0
- package/dist/Spinner-owSXOEzg.js +113 -0
- package/dist/SplitButton-BPZbQeYC.d.ts +15 -0
- package/dist/Stepper-Coe3PAl_.js +336 -0
- package/dist/Stepper-PcHlxDD5.d.ts +113 -0
- package/dist/Switch-BaNEe9Nx.js +192 -0
- package/dist/Switch-C0S5Juhf.d.ts +22 -0
- package/dist/TableDnd-CuHxANWh.js +133 -0
- package/dist/Tag-1N-2yYCH.js +148 -0
- package/dist/Tag-CgPeLVXM.d.ts +44 -0
- package/dist/Text-D_lEB52w.js +5 -0
- package/dist/TextArea-BcIy_nZ2.js +181 -0
- package/dist/TextArea-CBWJ7w-p.d.ts +24 -0
- package/dist/TextButton-D7e_YBLe.d.ts +15 -0
- package/dist/TimePicker-BZ4WrI5Z.d.ts +33 -0
- package/dist/TimePicker-vbrwgBc5.js +428 -0
- package/dist/Toast-DIlYlUQk.d.ts +16 -0
- package/dist/ToastContainer-1H_IxvyH.d.ts +5 -0
- package/dist/ToastContainer-gdpK8d8m.js +55 -0
- package/dist/ToggleButton-C966bfpT.js +92 -0
- package/dist/ToggleButton-D4y2fLmN.d.ts +11 -0
- package/dist/ToggleGroup-BMZsbHY9.js +435 -0
- package/dist/ToggleGroup-D9CFdM5-.d.ts +7 -0
- package/dist/Tooltip-B-2AxyjP.d.ts +56 -0
- package/dist/Tooltip-BNAubrgG.js +299 -0
- package/dist/TooltipEllipsis-Di9Dvd4x.d.ts +11 -0
- package/dist/TooltipWrapper-DYfZF2Ly.js +58 -0
- package/dist/Typography-AcUd9df8.js +31 -0
- package/dist/Typography-BWmZd20e.d.ts +12 -0
- package/dist/autocomplete-CaQSVRrw.d.ts +16 -0
- package/dist/button.cva-ChabF4Am.d.ts +106 -0
- package/dist/buttonContent.cva-CP857foM.d.ts +6 -0
- package/dist/chain-BKPAL-J_.js +10 -0
- package/dist/check-DefmU9oJ.js +13 -0
- package/dist/checkbox-D8CPWRlM.d.ts +9 -0
- package/dist/checkbox-group-BuPUA_Qj.d.ts +9 -0
- package/dist/checkbox.cva-DwnPS5df.d.ts +77 -0
- package/dist/chevron-down-RksSwG1O.js +13 -0
- package/dist/chevron-left-Dem1_TuL.js +13 -0
- package/dist/chevron-right-DXbvvsay.js +13 -0
- package/dist/chevron-up-CgEFpORu.js +13 -0
- package/dist/chevrons-right--HrJEes-.js +29 -0
- package/dist/clsx-CnD0nOiA.js +16 -0
- package/dist/common-UBFya8WY.d.ts +11 -0
- package/dist/components/accordion.d.ts +2 -0
- package/dist/components/accordion.js +2 -0
- package/dist/components/alert-dialog.d.ts +2 -0
- package/dist/components/alert-dialog.js +188 -0
- package/dist/components/alert.d.ts +2 -0
- package/dist/components/alert.js +2 -0
- package/dist/components/autocomplete/react-aria.d.ts +1 -0
- package/dist/components/autocomplete/react-aria.js +1 -0
- package/dist/components/autocomplete.d.ts +2 -0
- package/dist/components/autocomplete.js +134 -0
- package/dist/components/badge.d.ts +2 -0
- package/dist/components/badge.js +98 -0
- package/dist/components/bottom-sheet.d.ts +3 -0
- package/dist/components/bottom-sheet.js +109 -0
- package/dist/components/breadcrumb/react-aria.d.ts +1 -0
- package/dist/components/breadcrumb/react-aria.js +1 -0
- package/dist/components/breadcrumbs/react-aria.d.ts +1 -0
- package/dist/components/breadcrumbs/react-aria.js +1 -0
- package/dist/components/breadcrumbs.d.ts +2 -0
- package/dist/components/breadcrumbs.js +2 -0
- package/dist/components/button/react-aria.d.ts +1 -0
- package/dist/components/button/react-aria.js +1 -0
- package/dist/components/button.d.ts +3 -0
- package/dist/components/button.js +2 -0
- package/dist/components/calendar/react-aria.d.ts +1 -0
- package/dist/components/calendar/react-aria.js +1 -0
- package/dist/components/calendar-cell/react-aria.d.ts +1 -0
- package/dist/components/calendar-cell/react-aria.js +1 -0
- package/dist/components/calendar-grid/react-aria.d.ts +1 -0
- package/dist/components/calendar-grid/react-aria.js +1 -0
- package/dist/components/calendar-grid-body/react-aria.d.ts +1 -0
- package/dist/components/calendar-grid-body/react-aria.js +1 -0
- package/dist/components/calendar-grid-header/react-aria.d.ts +1 -0
- package/dist/components/calendar-grid-header/react-aria.js +1 -0
- package/dist/components/calendar-header-cell/react-aria.d.ts +1 -0
- package/dist/components/calendar-header-cell/react-aria.js +1 -0
- package/dist/components/cell/react-aria.d.ts +1 -0
- package/dist/components/cell/react-aria.js +1 -0
- package/dist/components/checkbox/react-aria.d.ts +1 -0
- package/dist/components/checkbox/react-aria.js +1 -0
- package/dist/components/checkbox-group/react-aria.d.ts +1 -0
- package/dist/components/checkbox-group/react-aria.js +1 -0
- package/dist/components/checkbox-group.d.ts +2 -0
- package/dist/components/checkbox-group.js +164 -0
- package/dist/components/checkbox.d.ts +2 -0
- package/dist/components/checkbox.js +2 -0
- package/dist/components/collection/react-aria.d.ts +1 -0
- package/dist/components/collection/react-aria.js +1 -0
- package/dist/components/color-area/react-aria.d.ts +1 -0
- package/dist/components/color-area/react-aria.js +1 -0
- package/dist/components/color-field/react-aria.d.ts +1 -0
- package/dist/components/color-field/react-aria.js +1 -0
- package/dist/components/color-picker/react-aria.d.ts +1 -0
- package/dist/components/color-picker/react-aria.js +1 -0
- package/dist/components/color-slider/react-aria.d.ts +1 -0
- package/dist/components/color-slider/react-aria.js +1 -0
- package/dist/components/color-swatch/react-aria.d.ts +1 -0
- package/dist/components/color-swatch/react-aria.js +1 -0
- package/dist/components/color-swatch-picker/react-aria.d.ts +5 -0
- package/dist/components/color-swatch-picker/react-aria.js +1 -0
- package/dist/components/color-swatch-picker-item/react-aria.d.ts +5 -0
- package/dist/components/color-swatch-picker-item/react-aria.js +1 -0
- package/dist/components/color-thumb/react-aria.d.ts +1 -0
- package/dist/components/color-thumb/react-aria.js +1 -0
- package/dist/components/color-wheel/react-aria.d.ts +1 -0
- package/dist/components/color-wheel/react-aria.js +1 -0
- package/dist/components/color-wheel-track/react-aria.d.ts +1 -0
- package/dist/components/color-wheel-track/react-aria.js +1 -0
- package/dist/components/column/react-aria.d.ts +1 -0
- package/dist/components/column/react-aria.js +1 -0
- package/dist/components/column-resizer/react-aria.d.ts +1 -0
- package/dist/components/column-resizer/react-aria.js +1 -0
- package/dist/components/combo-box/react-aria.d.ts +1 -0
- package/dist/components/combo-box/react-aria.js +1 -0
- package/dist/components/date-field/react-aria.d.ts +1 -0
- package/dist/components/date-field/react-aria.js +1 -0
- package/dist/components/date-input/react-aria.d.ts +1 -0
- package/dist/components/date-input/react-aria.js +1 -0
- package/dist/components/date-picker/react-aria.d.ts +1 -0
- package/dist/components/date-picker/react-aria.js +1 -0
- package/dist/components/date-picker.d.ts +2 -0
- package/dist/components/date-picker.js +2 -0
- package/dist/components/date-range-picker/react-aria.d.ts +1 -0
- package/dist/components/date-range-picker/react-aria.js +1 -0
- package/dist/components/date-range-picker.d.ts +27 -0
- package/dist/components/date-range-picker.js +2 -0
- package/dist/components/date-segment/react-aria.d.ts +1 -0
- package/dist/components/date-segment/react-aria.js +1 -0
- package/dist/components/date-time-picker.d.ts +2 -0
- package/dist/components/date-time-picker.js +2 -0
- package/dist/components/default-collection-renderer/react-aria.d.ts +1 -0
- package/dist/components/default-collection-renderer/react-aria.js +1 -0
- package/dist/components/dialog/react-aria.d.ts +1 -0
- package/dist/components/dialog/react-aria.js +1 -0
- package/dist/components/dialog-trigger/react-aria.d.ts +1 -0
- package/dist/components/dialog-trigger/react-aria.js +1 -0
- package/dist/components/dialog.d.ts +2 -0
- package/dist/components/dialog.js +2 -0
- package/dist/components/disclosure/react-aria.d.ts +1 -0
- package/dist/components/disclosure/react-aria.js +1 -0
- package/dist/components/disclosure-group/react-aria.d.ts +1 -0
- package/dist/components/disclosure-group/react-aria.js +1 -0
- package/dist/components/disclosure-panel/react-aria.d.ts +1 -0
- package/dist/components/disclosure-panel/react-aria.js +1 -0
- package/dist/components/dom-attributes/react-aria.d.ts +1 -0
- package/dist/components/dom-attributes/react-aria.js +0 -0
- package/dist/components/drawer.d.ts +2 -0
- package/dist/components/drawer.js +96 -0
- package/dist/components/drop-indicator/react-aria.d.ts +1 -0
- package/dist/components/drop-indicator/react-aria.js +1 -0
- package/dist/components/drop-zone/react-aria.d.ts +1 -0
- package/dist/components/drop-zone/react-aria.js +1 -0
- package/dist/components/dropdown-menu.d.ts +3 -0
- package/dist/components/dropdown-menu.js +3 -0
- package/dist/components/field-error/react-aria.d.ts +1 -0
- package/dist/components/field-error/react-aria.js +1 -0
- package/dist/components/file-input.d.ts +2 -0
- package/dist/components/file-input.js +2 -0
- package/dist/components/file-trigger/react-aria.d.ts +1 -0
- package/dist/components/file-trigger/react-aria.js +1 -0
- package/dist/components/file-upload-container.d.ts +3 -0
- package/dist/components/file-upload-container.js +15 -0
- package/dist/components/file-upload.d.ts +3 -0
- package/dist/components/file-upload.js +2 -0
- package/dist/components/focusable/react-aria.d.ts +1 -0
- package/dist/components/focusable/react-aria.js +1 -0
- package/dist/components/form/react-aria.d.ts +1 -0
- package/dist/components/form/react-aria.js +1 -0
- package/dist/components/form-field.d.ts +2 -0
- package/dist/components/form-field.js +2 -0
- package/dist/components/grid-list/react-aria.d.ts +1 -0
- package/dist/components/grid-list/react-aria.js +1 -0
- package/dist/components/grid-list-header/react-aria.d.ts +1 -0
- package/dist/components/grid-list-header/react-aria.js +1 -0
- package/dist/components/grid-list-item/react-aria.d.ts +1 -0
- package/dist/components/grid-list-item/react-aria.js +1 -0
- package/dist/components/grid-list-load-more-item/react-aria.d.ts +1 -0
- package/dist/components/grid-list-load-more-item/react-aria.js +1 -0
- package/dist/components/grid-list-section/react-aria.d.ts +1 -0
- package/dist/components/grid-list-section/react-aria.js +1 -0
- package/dist/components/group/react-aria.d.ts +1 -0
- package/dist/components/group/react-aria.js +1 -0
- package/dist/components/header/react-aria.d.ts +1 -0
- package/dist/components/header/react-aria.js +1 -0
- package/dist/components/heading/react-aria.d.ts +1 -0
- package/dist/components/heading/react-aria.js +1 -0
- package/dist/components/i18n-provider/react-aria.d.ts +1 -0
- package/dist/components/i18n-provider/react-aria.js +1 -0
- package/dist/components/icon-button.d.ts +2 -0
- package/dist/components/icon-button.js +55 -0
- package/dist/components/inline-icon-button.d.ts +2 -0
- package/dist/components/inline-icon-button.js +40 -0
- package/dist/components/input/react-aria.d.ts +1 -0
- package/dist/components/input/react-aria.js +1 -0
- package/dist/components/input.d.ts +2 -0
- package/dist/components/input.js +242 -0
- package/dist/components/key/react-aria.d.ts +1 -0
- package/dist/components/key/react-aria.js +0 -0
- package/dist/components/keyboard/react-aria.d.ts +1 -0
- package/dist/components/keyboard/react-aria.js +1 -0
- package/dist/components/label/react-aria.d.ts +1 -0
- package/dist/components/label/react-aria.js +1 -0
- package/dist/components/link/react-aria.d.ts +1 -0
- package/dist/components/link/react-aria.js +1 -0
- package/dist/components/link.d.ts +2 -0
- package/dist/components/link.js +2 -0
- package/dist/components/list-box/react-aria.d.ts +1 -0
- package/dist/components/list-box/react-aria.js +1 -0
- package/dist/components/list-box-item/react-aria.d.ts +1 -0
- package/dist/components/list-box-item/react-aria.js +1 -0
- package/dist/components/list-box-load-more-item/react-aria.d.ts +1 -0
- package/dist/components/list-box-load-more-item/react-aria.js +1 -0
- package/dist/components/list-box-section/react-aria.d.ts +1 -0
- package/dist/components/list-box-section/react-aria.js +1 -0
- package/dist/components/menu/react-aria.d.ts +1 -0
- package/dist/components/menu/react-aria.js +1 -0
- package/dist/components/menu-item/react-aria.d.ts +1 -0
- package/dist/components/menu-item/react-aria.js +1 -0
- package/dist/components/menu-section/react-aria.d.ts +1 -0
- package/dist/components/menu-section/react-aria.js +1 -0
- package/dist/components/menu-trigger/react-aria.d.ts +1 -0
- package/dist/components/menu-trigger/react-aria.js +1 -0
- package/dist/components/meter/react-aria.d.ts +1 -0
- package/dist/components/meter/react-aria.js +1 -0
- package/dist/components/modal/react-aria.d.ts +1 -0
- package/dist/components/modal/react-aria.js +1 -0
- package/dist/components/modal-overlay/react-aria.d.ts +1 -0
- package/dist/components/modal-overlay/react-aria.js +1 -0
- package/dist/components/number-field/react-aria.d.ts +1 -0
- package/dist/components/number-field/react-aria.js +1 -0
- package/dist/components/number-field.d.ts +2 -0
- package/dist/components/number-field.js +245 -0
- package/dist/components/number-range-input.d.ts +2 -0
- package/dist/components/number-range-input.js +2 -0
- package/dist/components/overlay-arrow/react-aria.d.ts +1 -0
- package/dist/components/overlay-arrow/react-aria.js +1 -0
- package/dist/components/pagination-list.d.ts +2 -0
- package/dist/components/pagination-list.js +2 -0
- package/dist/components/pagination.d.ts +2 -0
- package/dist/components/pagination.js +131 -0
- package/dist/components/password-input.d.ts +2 -0
- package/dist/components/password-input.js +2 -0
- package/dist/components/pill-button.d.ts +2 -0
- package/dist/components/pill-button.js +73 -0
- package/dist/components/popover/react-aria.d.ts +1 -0
- package/dist/components/popover/react-aria.js +1 -0
- package/dist/components/popover.d.ts +2 -0
- package/dist/components/popover.js +126 -0
- package/dist/components/pressable/react-aria.d.ts +1 -0
- package/dist/components/pressable/react-aria.js +1 -0
- package/dist/components/progress-bar/react-aria.d.ts +1 -0
- package/dist/components/progress-bar/react-aria.js +1 -0
- package/dist/components/progress.d.ts +2 -0
- package/dist/components/progress.js +2 -0
- package/dist/components/provider/react-aria.d.ts +1 -0
- package/dist/components/provider/react-aria.js +1 -0
- package/dist/components/query-autocomplete.d.ts +8 -0
- package/dist/components/query-autocomplete.js +126 -0
- package/dist/components/query-select.d.ts +2 -0
- package/dist/components/query-select.js +138 -0
- package/dist/components/radio/react-aria.d.ts +1 -0
- package/dist/components/radio/react-aria.js +1 -0
- package/dist/components/radio-group/react-aria.d.ts +1 -0
- package/dist/components/radio-group/react-aria.js +1 -0
- package/dist/components/radio-group.d.ts +2 -0
- package/dist/components/radio-group.js +2 -0
- package/dist/components/range-calendar/react-aria.d.ts +1 -0
- package/dist/components/range-calendar/react-aria.js +1 -0
- package/dist/components/resizable-table-container/react-aria.d.ts +1 -0
- package/dist/components/resizable-table-container/react-aria.js +1 -0
- package/dist/components/router-provider/react-aria.d.ts +1 -0
- package/dist/components/router-provider/react-aria.js +1 -0
- package/dist/components/row/react-aria.d.ts +1 -0
- package/dist/components/row/react-aria.js +1 -0
- package/dist/components/search-field/react-aria.d.ts +1 -0
- package/dist/components/search-field/react-aria.js +1 -0
- package/dist/components/section/react-aria.d.ts +1 -0
- package/dist/components/section/react-aria.js +1 -0
- package/dist/components/select/react-aria.d.ts +1 -0
- package/dist/components/select/react-aria.js +1 -0
- package/dist/components/select-value/react-aria.d.ts +1 -0
- package/dist/components/select-value/react-aria.js +1 -0
- package/dist/components/select.d.ts +3 -0
- package/dist/components/select.js +2 -0
- package/dist/components/selection/react-aria.d.ts +1 -0
- package/dist/components/selection/react-aria.js +0 -0
- package/dist/components/selection-indicator/react-aria.d.ts +1 -0
- package/dist/components/selection-indicator/react-aria.js +1 -0
- package/dist/components/separator/react-aria.d.ts +1 -0
- package/dist/components/separator/react-aria.js +1 -0
- package/dist/components/shared-element/react-aria.d.ts +1 -0
- package/dist/components/shared-element/react-aria.js +1 -0
- package/dist/components/shared-element-transition/react-aria.d.ts +1 -0
- package/dist/components/shared-element-transition/react-aria.js +1 -0
- package/dist/components/slider/react-aria.d.ts +1 -0
- package/dist/components/slider/react-aria.js +1 -0
- package/dist/components/slider-output/react-aria.d.ts +1 -0
- package/dist/components/slider-output/react-aria.js +1 -0
- package/dist/components/slider-thumb/react-aria.d.ts +1 -0
- package/dist/components/slider-thumb/react-aria.js +1 -0
- package/dist/components/slider-track/react-aria.d.ts +1 -0
- package/dist/components/slider-track/react-aria.js +1 -0
- package/dist/components/slider.d.ts +2 -0
- package/dist/components/slider.js +2 -0
- package/dist/components/spinner.d.ts +2 -0
- package/dist/components/spinner.js +2 -0
- package/dist/components/split-button.d.ts +2 -0
- package/dist/components/split-button.js +123 -0
- package/dist/components/ssr-provider/react-aria.d.ts +1 -0
- package/dist/components/ssr-provider/react-aria.js +1 -0
- package/dist/components/stepper.d.ts +2 -0
- package/dist/components/stepper.js +2 -0
- package/dist/components/submenu-trigger/react-aria.d.ts +1 -0
- package/dist/components/submenu-trigger/react-aria.js +1 -0
- package/dist/components/switch/react-aria.d.ts +1 -0
- package/dist/components/switch/react-aria.js +1 -0
- package/dist/components/switch.d.ts +2 -0
- package/dist/components/switch.js +2 -0
- package/dist/components/tab/react-aria.d.ts +1 -0
- package/dist/components/tab/react-aria.js +1 -0
- package/dist/components/tab-list/react-aria.d.ts +1 -0
- package/dist/components/tab-list/react-aria.js +1 -0
- package/dist/components/tab-panel/react-aria.d.ts +1 -0
- package/dist/components/tab-panel/react-aria.js +1 -0
- package/dist/components/tab-panels/react-aria.d.ts +1 -0
- package/dist/components/tab-panels/react-aria.js +1 -0
- package/dist/components/table/react-aria.d.ts +1 -0
- package/dist/components/table/react-aria.js +1 -0
- package/dist/components/table-body/react-aria.d.ts +1 -0
- package/dist/components/table-body/react-aria.js +1 -0
- package/dist/components/table-header/react-aria.d.ts +1 -0
- package/dist/components/table-header/react-aria.js +1 -0
- package/dist/components/table-load-more-item/react-aria.d.ts +1 -0
- package/dist/components/table-load-more-item/react-aria.js +1 -0
- package/dist/components/tabs/react-aria.d.ts +1 -0
- package/dist/components/tabs/react-aria.js +1 -0
- package/dist/components/tag/react-aria.d.ts +1 -0
- package/dist/components/tag/react-aria.js +1 -0
- package/dist/components/tag-group/react-aria.d.ts +1 -0
- package/dist/components/tag-group/react-aria.js +1 -0
- package/dist/components/tag-list/react-aria.d.ts +1 -0
- package/dist/components/tag-list/react-aria.js +1 -0
- package/dist/components/tag.d.ts +2 -0
- package/dist/components/tag.js +2 -0
- package/dist/components/text/react-aria.d.ts +1 -0
- package/dist/components/text/react-aria.js +1 -0
- package/dist/components/text-area/react-aria.d.ts +1 -0
- package/dist/components/text-area/react-aria.js +1 -0
- package/dist/components/text-area.d.ts +2 -0
- package/dist/components/text-area.js +2 -0
- package/dist/components/text-button.d.ts +2 -0
- package/dist/components/text-button.js +36 -0
- package/dist/components/text-field/react-aria.d.ts +1 -0
- package/dist/components/text-field/react-aria.js +1 -0
- package/dist/components/time-field/react-aria.d.ts +1 -0
- package/dist/components/time-field/react-aria.js +1 -0
- package/dist/components/time-picker.d.ts +2 -0
- package/dist/components/time-picker.js +2 -0
- package/dist/components/toast/react-aria.d.ts +1 -0
- package/dist/components/toast/react-aria.js +1 -0
- package/dist/components/toast-content/react-aria.d.ts +1 -0
- package/dist/components/toast-content/react-aria.js +1 -0
- package/dist/components/toast-list/react-aria.d.ts +1 -0
- package/dist/components/toast-list/react-aria.js +1 -0
- package/dist/components/toast-region/react-aria.d.ts +1 -0
- package/dist/components/toast-region/react-aria.js +1 -0
- package/dist/components/toast.d.ts +4 -0
- package/dist/components/toast.js +3 -0
- package/dist/components/toggle-button/react-aria.d.ts +1 -0
- package/dist/components/toggle-button/react-aria.js +1 -0
- package/dist/components/toggle-button-group/react-aria.d.ts +5 -0
- package/dist/components/toggle-button-group/react-aria.js +1 -0
- package/dist/components/toggle-button.d.ts +2 -0
- package/dist/components/toggle-button.js +38 -0
- package/dist/components/toggle-group.d.ts +3 -0
- package/dist/components/toggle-group.js +2 -0
- package/dist/components/toolbar/react-aria.d.ts +1 -0
- package/dist/components/toolbar/react-aria.js +1 -0
- package/dist/components/tooltip/react-aria.d.ts +1 -0
- package/dist/components/tooltip/react-aria.js +1 -0
- package/dist/components/tooltip-ellipsis.d.ts +2 -0
- package/dist/components/tooltip-ellipsis.js +46 -0
- package/dist/components/tooltip-trigger/react-aria.d.ts +1 -0
- package/dist/components/tooltip-trigger/react-aria.js +1 -0
- package/dist/components/tooltip.d.ts +2 -0
- package/dist/components/tooltip.js +2 -0
- package/dist/components/tree/react-aria.d.ts +1 -0
- package/dist/components/tree/react-aria.js +1 -0
- package/dist/components/tree-item/react-aria.d.ts +1 -0
- package/dist/components/tree-item/react-aria.js +1 -0
- package/dist/components/tree-item-content/react-aria.d.ts +1 -0
- package/dist/components/tree-item-content/react-aria.js +1 -0
- package/dist/components/tree-load-more-item/react-aria.d.ts +1 -0
- package/dist/components/tree-load-more-item/react-aria.js +1 -0
- package/dist/components/typography.d.ts +3 -0
- package/dist/components/typography.js +2 -0
- package/dist/components/use-focus-visible/react-aria.d.ts +1 -0
- package/dist/components/use-focus-visible/react-aria.js +1 -0
- package/dist/components/use-focus-within/react-aria.d.ts +1 -0
- package/dist/components/use-focus-within/react-aria.js +1 -0
- package/dist/components/use-hover/react-aria.d.ts +1 -0
- package/dist/components/use-hover/react-aria.js +1 -0
- package/dist/components/use-label/react-aria.d.ts +1 -0
- package/dist/components/use-label/react-aria.js +1 -0
- package/dist/components/use-text-field/react-aria.d.ts +1 -0
- package/dist/components/use-text-field/react-aria.js +1 -0
- package/dist/components/use-toast.d.ts +2 -0
- package/dist/components/use-toast.js +42 -0
- package/dist/components/virtualizer/react-aria.d.ts +1 -0
- package/dist/components/virtualizer/react-aria.js +1 -0
- package/dist/components/visually-hidden/react-aria.d.ts +1 -0
- package/dist/components/visually-hidden/react-aria.js +1 -0
- package/dist/compoundMapper-CMoX98D2.d.ts +17 -0
- package/dist/compoundMapper-Di3SKZnS.js +13 -0
- package/dist/config/confirmation.d.ts +2 -0
- package/dist/config/confirmation.js +2 -0
- package/dist/config/link-context.d.ts +3 -0
- package/dist/config/link-context.js +2 -0
- package/dist/config/resources.d.ts +2 -0
- package/dist/config/resources.js +2 -0
- package/dist/config/theme-context.d.ts +2 -0
- package/dist/config/theme-context.js +2 -0
- package/dist/config/ui-config.d.ts +3 -0
- package/dist/config/ui-config.js +2 -0
- package/dist/config/ui-overrides.d.ts +2 -0
- package/dist/config/ui-overrides.js +2 -0
- package/dist/config/ui-router.d.ts +2 -0
- package/dist/config/ui-router.js +2 -0
- package/dist/confirmation.context-BcX0qVEy.js +114 -0
- package/dist/confirmation.context-fKfUTsLF.d.ts +23 -0
- package/dist/createLucideIcon-LS26Bb1M.js +125 -0
- package/dist/date-picker-DiMaoYoA.d.ts +9 -0
- package/dist/date-range-picker-DSkNEa35.d.ts +9 -0
- package/dist/date-time-picker-B5s2PMFw.d.ts +9 -0
- package/dist/date-time.utils-0F9qduim.js +190 -0
- package/dist/date-time.utils-Cu9TVj46.d.ts +45 -0
- package/dist/date.transforms-DLg-eFcE.js +15 -0
- package/dist/date.utils-B8_QF9y6.js +42 -0
- package/dist/date.utils-BoQnMRlF.d.ts +7 -0
- package/dist/datePickerValue.utils-BxOJpTbb.js +223 -0
- package/dist/dialog.cva-5qNq9YfM.js +43 -0
- package/dist/dist-BAT04RMQ.js +1740 -0
- package/dist/dom.utils-D08rHcQ2.js +49 -0
- package/dist/dynamicInputs-CRMWIpHA.js +194 -0
- package/dist/dynamicInputs-m_DQu5q0.js +214 -0
- package/dist/dynamicInputs-uIhp1Ly-.d.ts +771 -0
- package/dist/exports-DUKqxyno.js +20 -0
- package/dist/fieldAdapter-BaQgRGA9.js +61 -0
- package/dist/fieldAdapter-C4sDFC8f.d.ts +9 -0
- package/dist/file-input-D-46wS5j.d.ts +9 -0
- package/dist/file-upload-BG20Bhrn.d.ts +10 -0
- package/dist/file.utils-Crb-mIHs.d.ts +21 -0
- package/dist/file.utils-DqQxnuAm.js +61 -0
- package/dist/fileUpload.types-xFzuCT_m.d.ts +110 -0
- package/dist/focusSafely-BDIcvqPb.js +437 -0
- package/dist/form.binding-DLM7NA2s.js +179 -0
- package/dist/form.binding-DVJ5F0JE.d.ts +51 -0
- package/dist/form.types-CecYaerF.d.ts +13 -0
- package/dist/form.types-ZNGbcqJS.d.ts +13 -0
- package/dist/getScrollParent-WT3K8H_b.js +36 -0
- package/dist/hooks/use-filters.d.ts +2 -0
- package/dist/hooks/use-filters.js +2 -0
- package/dist/hooks/use-local-storage.d.ts +2 -0
- package/dist/hooks/use-local-storage.js +2 -0
- package/dist/hooks/use-translation-memo.d.ts +2 -0
- package/dist/hooks/use-translation-memo.js +2 -0
- package/dist/i18n-BDjNuy4Z.js +302 -0
- package/dist/i18n-D0Pz0p2u.d.ts +318 -0
- package/dist/icons.d.ts +2 -0
- package/dist/icons.js +2 -0
- package/dist/import-DDGNxVX8.js +45 -0
- package/dist/index.d.ts +105 -1
- package/dist/index.js +113 -120
- package/dist/input-CKGPYwfB.d.ts +8 -0
- package/dist/input.cva-ByFuAEIS.d.ts +83 -0
- package/dist/input.cva-KYGD4Bdz.js +324 -0
- package/dist/intl.utils-NaOZUD2G.d.ts +9 -0
- package/dist/intl.utils-zwAFoZ0U.js +38 -0
- package/dist/intlStrings-A7XlNdi7.js +346 -0
- package/dist/link.context-C5ZgwVM5.d.ts +12 -0
- package/dist/link.context-J7aQtMOr.js +35 -0
- package/dist/logger-CqZjM-sn.js +333 -0
- package/dist/logger-N35Xhi14.d.ts +10 -0
- package/dist/number-field-CyP6XgJh.d.ts +8 -0
- package/dist/number-range-input-DMmlk7Bl.d.ts +8 -0
- package/dist/numberStatic.utils-DAI7Bef3.js +902 -0
- package/dist/openLink-BrfLaWo4.js +121 -0
- package/dist/outline.clsx-50W_vNDl.js +6 -0
- package/dist/outline.clsx-B1hjrX9t.d.ts +4 -0
- package/dist/password-input-BWpfQe0G.d.ts +8 -0
- package/dist/pillButton.cva-6tjADUQ6.js +265 -0
- package/dist/pillButton.cva-BVsxGnqF.d.ts +36 -0
- package/dist/platform-3R53zj-n.js +42 -0
- package/dist/popover.cva-CXha_UMQ.js +5 -0
- package/dist/queries.utils-CmbhAoHU.js +18 -0
- package/dist/query-autocomplete-BeNfRDM_.d.ts +14 -0
- package/dist/query-select-Ded04eju.d.ts +15 -0
- package/dist/queryAutocomplete.types-BlpCYzfA.d.ts +26 -0
- package/dist/radio-group-CmUtsjqP.d.ts +9 -0
- package/dist/radio.cva-DAq2M13H.d.ts +51 -0
- package/dist/rhf/autocomplete.d.ts +3 -0
- package/dist/rhf/autocomplete.js +8 -0
- package/dist/rhf/checkbox-group.d.ts +3 -0
- package/dist/rhf/checkbox-group.js +8 -0
- package/dist/rhf/checkbox.d.ts +3 -0
- package/dist/rhf/checkbox.js +8 -0
- package/dist/rhf/date-picker.d.ts +3 -0
- package/dist/rhf/date-picker.js +9 -0
- package/dist/rhf/date-range-picker.d.ts +3 -0
- package/dist/rhf/date-range-picker.js +9 -0
- package/dist/rhf/date-time-picker.d.ts +3 -0
- package/dist/rhf/date-time-picker.js +9 -0
- package/dist/rhf/file-input.d.ts +3 -0
- package/dist/rhf/file-input.js +6 -0
- package/dist/rhf/file-upload.d.ts +3 -0
- package/dist/rhf/file-upload.js +6 -0
- package/dist/rhf/input.d.ts +3 -0
- package/dist/rhf/input.js +6 -0
- package/dist/rhf/inputs.d.ts +4 -0
- package/dist/rhf/inputs.js +2 -0
- package/dist/rhf/number-field.d.ts +3 -0
- package/dist/rhf/number-field.js +6 -0
- package/dist/rhf/number-range-input.d.ts +3 -0
- package/dist/rhf/number-range-input.js +6 -0
- package/dist/rhf/password-input.d.ts +3 -0
- package/dist/rhf/password-input.js +6 -0
- package/dist/rhf/query-autocomplete.d.ts +2 -0
- package/dist/rhf/query-autocomplete.js +8 -0
- package/dist/rhf/query-select.d.ts +2 -0
- package/dist/rhf/query-select.js +8 -0
- package/dist/rhf/radio-group.d.ts +3 -0
- package/dist/rhf/radio-group.js +8 -0
- package/dist/rhf/rich-text-editor.d.ts +3 -0
- package/dist/rhf/rich-text-editor.js +6 -0
- package/dist/rhf/select.d.ts +3 -0
- package/dist/rhf/select.js +8 -0
- package/dist/rhf/slider.d.ts +3 -0
- package/dist/rhf/slider.js +6 -0
- package/dist/rhf/switch.d.ts +3 -0
- package/dist/rhf/switch.js +8 -0
- package/dist/rhf/text-area.d.ts +3 -0
- package/dist/rhf/text-area.js +6 -0
- package/dist/rhf/time-picker.d.ts +3 -0
- package/dist/rhf/time-picker.js +9 -0
- package/dist/rhf/toggle-group.d.ts +3 -0
- package/dist/rhf/toggle-group.js +6 -0
- package/dist/rhf-C52xZuFt.js +256 -0
- package/dist/rhf.d.ts +105 -225
- package/dist/rhf.js +101 -0
- package/dist/rich-text-editor-Db3XWWFo.d.ts +8 -0
- package/dist/rich-text-editor.d.ts +2 -0
- package/dist/rich-text-editor.js +2 -0
- package/dist/router.context-Bft1psqn.js +63 -0
- package/dist/router.context-CtafjXV7.d.ts +16 -0
- package/dist/routing.utils-UTQonIhB.js +25 -0
- package/dist/select-DXGbGkZM.d.ts +16 -0
- package/dist/slider-JQh0ypfU.d.ts +8 -0
- package/dist/staticDateTimeSegments-B9kkwiDz.js +3601 -0
- package/dist/staticSelect.utils-CBmV4sam.js +1834 -0
- package/dist/string.utils-BPgv6QwA.js +12 -0
- package/dist/string.utils-Cj6AB7uZ.d.ts +7 -0
- package/dist/styles/input.d.ts +2 -0
- package/dist/styles/input.js +0 -0
- package/dist/styles/outline.d.ts +2 -0
- package/dist/styles/outline.js +2 -0
- package/dist/switch-Lm3xl1rQ.d.ts +9 -0
- package/dist/switch.cva-BIioyegR.d.ts +15 -0
- package/dist/tanstack/autocomplete.d.ts +2 -0
- package/dist/tanstack/autocomplete.js +2 -0
- package/dist/tanstack/checkbox-group.d.ts +2 -0
- package/dist/tanstack/checkbox-group.js +2 -0
- package/dist/tanstack/checkbox.d.ts +2 -0
- package/dist/tanstack/checkbox.js +2 -0
- package/dist/tanstack/date-picker.d.ts +2 -0
- package/dist/tanstack/date-picker.js +2 -0
- package/dist/tanstack/date-range-picker.d.ts +2 -0
- package/dist/tanstack/date-range-picker.js +2 -0
- package/dist/tanstack/date-time-picker.d.ts +2 -0
- package/dist/tanstack/date-time-picker.js +2 -0
- package/dist/tanstack/file-input.d.ts +2 -0
- package/dist/tanstack/file-input.js +2 -0
- package/dist/tanstack/file-upload.d.ts +3 -0
- package/dist/tanstack/file-upload.js +2 -0
- package/dist/tanstack/form.d.ts +3 -0
- package/dist/tanstack/form.js +3 -0
- package/dist/tanstack/input.d.ts +2 -0
- package/dist/tanstack/input.js +2 -0
- package/dist/tanstack/inputs.d.ts +5 -0
- package/dist/tanstack/inputs.js +3 -0
- package/dist/tanstack/number-field.d.ts +2 -0
- package/dist/tanstack/number-field.js +2 -0
- package/dist/tanstack/number-range-input.d.ts +2 -0
- package/dist/tanstack/number-range-input.js +2 -0
- package/dist/tanstack/password-input.d.ts +2 -0
- package/dist/tanstack/password-input.js +2 -0
- package/dist/tanstack/query-autocomplete.d.ts +2 -0
- package/dist/tanstack/query-autocomplete.js +2 -0
- package/dist/tanstack/query-select.d.ts +2 -0
- package/dist/tanstack/query-select.js +2 -0
- package/dist/tanstack/radio-group.d.ts +2 -0
- package/dist/tanstack/radio-group.js +2 -0
- package/dist/tanstack/rich-text-editor.d.ts +2 -0
- package/dist/tanstack/rich-text-editor.js +2 -0
- package/dist/tanstack/select.d.ts +2 -0
- package/dist/tanstack/select.js +2 -0
- package/dist/tanstack/slider.d.ts +2 -0
- package/dist/tanstack/slider.js +2 -0
- package/dist/tanstack/switch.d.ts +2 -0
- package/dist/tanstack/switch.js +2 -0
- package/dist/tanstack/table.d.ts +2 -0
- package/dist/tanstack/table.js +2 -0
- package/dist/tanstack/text-area.d.ts +2 -0
- package/dist/tanstack/text-area.js +2 -0
- package/dist/tanstack/time-picker.d.ts +2 -0
- package/dist/tanstack/time-picker.js +2 -0
- package/dist/tanstack/toggle-group.d.ts +3 -0
- package/dist/tanstack/toggle-group.js +2 -0
- package/dist/tanstack.d.ts +92 -224
- package/dist/tanstack.js +97 -141
- package/dist/text-area-I5MNcGp_.d.ts +8 -0
- package/dist/theme.context-B3wQDJ-i.js +120 -0
- package/dist/theme.context-DfBt5Pz6.d.ts +20 -0
- package/dist/time-picker-DdhW8GmD.d.ts +9 -0
- package/dist/toast.cva-LU7TGprV.d.ts +60 -0
- package/dist/toast.runtime-BZQH-7Ba.js +17 -0
- package/dist/toastActivation.store-BELtcr76.js +16 -0
- package/dist/toggle-group-CPkKHm1t.d.ts +9 -0
- package/dist/toggleGroup.types-DD6uRI5G.d.ts +58 -0
- package/dist/tooltipWrapper.cva-CUu8pI-a.js +5 -0
- package/dist/tw-ui-plugin.d.ts +4 -2
- package/dist/tw-ui-plugin.js +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +0 -0
- package/dist/typography.cva-BI0FyIqm.js +129 -0
- package/dist/typography.cva-YaO6JLqU.d.ts +51 -0
- package/dist/uiConfig.context-BB7_zyOU.d.ts +126 -0
- package/dist/uiConfig.context-BvBsrMFI.js +366 -0
- package/dist/uiOverrides.context-Bfm2n-n8.js +399 -0
- package/dist/uiOverrides.context-C3xb4Ttq.d.ts +243 -0
- package/dist/useBreakpoint-CDKDB0E2.js +70 -0
- package/dist/useControlledState-BMVd3AOQ.js +189 -0
- package/dist/useFieldAccessibility-Bq-m3qhs.js +96 -0
- package/dist/useFilters-BxRScJdn.d.ts +11 -0
- package/dist/useFilters-KS2CQs_j.js +190 -0
- package/dist/useFocusable-BIU1drrg.js +63 -0
- package/dist/useFormAutosave-Bcbvu28I.js +198 -0
- package/dist/useFormValidationState-Dl-Nh0G1.js +1345 -0
- package/dist/useIntersectionObserver-DYfHnGGU.js +98 -0
- package/dist/useLayoutEffect-DN7Dbrb9.js +58 -0
- package/dist/useLocalStorage-DGsBUCT6.d.ts +13 -0
- package/dist/useLocalStorage-PlcaJ1tP.js +70 -0
- package/dist/useQueryAutocomplete-CraXvRm_.js +152 -0
- package/dist/useStaticInputHandoff-Denoy4V_.js +332 -0
- package/dist/useSyncRef-Dsn4Ybiw.js +338 -0
- package/dist/useTableColumnConfig-DSJeSKeA.js +1620 -0
- package/dist/useTableNav-Tu8UZxHA.d.ts +291 -0
- package/dist/useToast-NBGlVeFP.d.ts +16 -0
- package/dist/useTranslationMemo-CrZbeyBv.js +32 -0
- package/dist/useTranslationMemo-Dy3p6m1g.d.ts +6 -0
- package/dist/utils/compound-mapper.d.ts +2 -0
- package/dist/utils/compound-mapper.js +2 -0
- package/dist/utils/date-time.d.ts +2 -0
- package/dist/utils/date-time.js +2 -0
- package/dist/utils/date.d.ts +2 -0
- package/dist/utils/date.js +2 -0
- package/dist/utils/file.d.ts +2 -0
- package/dist/utils/file.js +2 -0
- package/dist/utils/intl.d.ts +2 -0
- package/dist/utils/intl.js +2 -0
- package/dist/utils/logger.d.ts +2 -7
- package/dist/utils/logger.js +1 -18
- package/dist/utils/string.d.ts +2 -0
- package/dist/utils/string.js +2 -0
- package/dist/utils-D3gCeElo.js +145 -0
- package/dist/x-BD2AijMA.js +16 -0
- package/dist/zod.utils-DrrPDT9v.js +24 -0
- package/package.json +1376 -25
- package/dist/assets/locales/en/translation.json.d.ts +0 -158
- package/dist/assets/locales/en/translation.json.js +0 -147
- package/dist/assets/locales/sl/translation.json.d.ts +0 -154
- package/dist/assets/locales/sl/translation.json.js +0 -145
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +0 -16
- package/dist/components/Breadcrumbs/Breadcrumbs.js +0 -112
- package/dist/components/Breadcrumbs/breadcrumbs.cva.d.ts +0 -45
- package/dist/components/Breadcrumbs/breadcrumbs.cva.js +0 -27
- package/dist/components/Menu/Menu.d.ts +0 -21
- package/dist/components/Menu/Menu.js +0 -27
- package/dist/components/Menu/MenuDesktop.d.ts +0 -2
- package/dist/components/Menu/MenuDesktop.js +0 -48
- package/dist/components/Menu/MenuItem.d.ts +0 -3
- package/dist/components/Menu/MenuItem.js +0 -46
- package/dist/components/Menu/MenuMobile.d.ts +0 -2
- package/dist/components/Menu/MenuMobile.js +0 -142
- package/dist/components/Menu/MenuPopover.d.ts +0 -5
- package/dist/components/Menu/MenuPopover.js +0 -121
- package/dist/components/Menu/menu.cva.d.ts +0 -39
- package/dist/components/Menu/menu.cva.js +0 -34
- package/dist/components/buttons/Button/Button.d.ts +0 -28
- package/dist/components/buttons/Button/Button.js +0 -66
- package/dist/components/buttons/Button/button.cva.d.ts +0 -99
- package/dist/components/buttons/Button/button.cva.js +0 -661
- package/dist/components/buttons/IconButton/IconButton.d.ts +0 -11
- package/dist/components/buttons/IconButton/IconButton.js +0 -51
- package/dist/components/buttons/InlineIconButton/InlineIconButton.d.ts +0 -13
- package/dist/components/buttons/InlineIconButton/InlineIconButton.js +0 -15
- package/dist/components/buttons/PillButton/PillButton.d.ts +0 -12
- package/dist/components/buttons/PillButton/PillButton.js +0 -72
- package/dist/components/buttons/PillButton/pillButton.cva.d.ts +0 -40
- package/dist/components/buttons/PillButton/pillButton.cva.js +0 -264
- package/dist/components/buttons/SplitButton/SplitButton.d.ts +0 -12
- package/dist/components/buttons/SplitButton/SplitButton.js +0 -123
- package/dist/components/buttons/TextButton/TextButton.d.ts +0 -12
- package/dist/components/buttons/TextButton/TextButton.js +0 -36
- package/dist/components/buttons/ToggleButton/ToggleButton.d.ts +0 -9
- package/dist/components/buttons/ToggleButton/ToggleButton.js +0 -34
- package/dist/components/buttons/shared/ButtonContent.d.ts +0 -14
- package/dist/components/buttons/shared/ButtonContent.js +0 -37
- package/dist/components/buttons/shared/buttonContent.cva.d.ts +0 -8
- package/dist/components/buttons/shared/buttonContent.cva.js +0 -30
- package/dist/components/inputs/Checkbox/Checkbox.d.ts +0 -20
- package/dist/components/inputs/Checkbox/Checkbox.js +0 -236
- package/dist/components/inputs/Checkbox/CheckboxCheckmark.d.ts +0 -9
- package/dist/components/inputs/Checkbox/CheckboxCheckmark.js +0 -25
- package/dist/components/inputs/Checkbox/CheckboxGroup.d.ts +0 -26
- package/dist/components/inputs/Checkbox/CheckboxGroup.js +0 -392
- package/dist/components/inputs/Checkbox/checkbox.cva.d.ts +0 -94
- package/dist/components/inputs/Checkbox/checkbox.cva.js +0 -161
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.d.ts +0 -41
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +0 -423
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +0 -46
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +0 -884
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +0 -41
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +0 -383
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.d.ts +0 -29
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +0 -649
- package/dist/components/inputs/DateTime/shared/Calendar.d.ts +0 -29
- package/dist/components/inputs/DateTime/shared/Calendar.js +0 -177
- package/dist/components/inputs/DateTime/shared/CalendarCell.d.ts +0 -22
- package/dist/components/inputs/DateTime/shared/CalendarCell.js +0 -145
- package/dist/components/inputs/DateTime/shared/CalendarGrid.d.ts +0 -27
- package/dist/components/inputs/DateTime/shared/CalendarGrid.js +0 -54
- package/dist/components/inputs/DateTime/shared/CalendarHeader.d.ts +0 -18
- package/dist/components/inputs/DateTime/shared/CalendarHeader.js +0 -118
- package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.d.ts +0 -17
- package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +0 -173
- package/dist/components/inputs/DateTime/shared/DateField.d.ts +0 -21
- package/dist/components/inputs/DateTime/shared/DateField.js +0 -156
- package/dist/components/inputs/DateTime/shared/DatePickerInput.d.ts +0 -46
- package/dist/components/inputs/DateTime/shared/DatePickerInput.js +0 -197
- package/dist/components/inputs/DateTime/shared/DateSegmentItem.d.ts +0 -28
- package/dist/components/inputs/DateTime/shared/DateSegmentItem.js +0 -124
- package/dist/components/inputs/DateTime/shared/DateTimeDialog.d.ts +0 -18
- package/dist/components/inputs/DateTime/shared/DateTimeDialog.js +0 -101
- package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.d.ts +0 -8
- package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.js +0 -27
- package/dist/components/inputs/DateTime/shared/MonthPicker.d.ts +0 -11
- package/dist/components/inputs/DateTime/shared/MonthPicker.js +0 -135
- package/dist/components/inputs/DateTime/shared/RangeCalendar.d.ts +0 -26
- package/dist/components/inputs/DateTime/shared/RangeCalendar.js +0 -209
- package/dist/components/inputs/DateTime/shared/TimeField.d.ts +0 -12
- package/dist/components/inputs/DateTime/shared/TimeField.js +0 -38
- package/dist/components/inputs/DateTime/shared/TimePickerForm.d.ts +0 -10
- package/dist/components/inputs/DateTime/shared/TimePickerForm.js +0 -328
- package/dist/components/inputs/DateTime/shared/TimePickerInput.d.ts +0 -25
- package/dist/components/inputs/DateTime/shared/TimePickerInput.js +0 -244
- package/dist/components/inputs/DateTime/shared/YearPicker.d.ts +0 -12
- package/dist/components/inputs/DateTime/shared/YearPicker.js +0 -151
- package/dist/components/inputs/DateTime/shared/datePicker.types.d.ts +0 -5
- package/dist/components/inputs/DateTime/shared/datePickerInput.cva.d.ts +0 -16
- package/dist/components/inputs/DateTime/shared/datePickerInput.cva.js +0 -16
- package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.d.ts +0 -15
- package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.js +0 -77
- package/dist/components/inputs/DateTime/shared/dateSegment.utils.d.ts +0 -2
- package/dist/components/inputs/DateTime/shared/dateSegment.utils.spec.d.ts +0 -1
- package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.d.ts +0 -41
- package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.js +0 -99
- package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.spec.d.ts +0 -1
- package/dist/components/inputs/DateTime/shared/useFirefoxDateSegmentSelectionGuard.d.ts +0 -2
- package/dist/components/inputs/DateTime/shared/useFirefoxDateSegmentSelectionGuard.js +0 -33
- package/dist/components/inputs/File/FileUpload.d.ts +0 -4
- package/dist/components/inputs/File/FileUpload.js +0 -253
- package/dist/components/inputs/File/FileUploadContainer.d.ts +0 -3
- package/dist/components/inputs/File/FileUploadContainer.js +0 -22
- package/dist/components/inputs/File/InputUpload.d.ts +0 -4
- package/dist/components/inputs/File/InputUpload.js +0 -157
- package/dist/components/inputs/File/fileUpload.types.d.ts +0 -96
- package/dist/components/inputs/File/index.d.ts +0 -9
- package/dist/components/inputs/File/inputUpload.types.d.ts +0 -37
- package/dist/components/inputs/File/inputUpload.types.js +0 -9
- package/dist/components/inputs/File/shared/FileCard.d.ts +0 -9
- package/dist/components/inputs/File/shared/FileCard.js +0 -121
- package/dist/components/inputs/File/shared/FileCardList.d.ts +0 -9
- package/dist/components/inputs/File/shared/FileCardList.js +0 -60
- package/dist/components/inputs/File/shared/FileUploadContent.d.ts +0 -10
- package/dist/components/inputs/File/shared/FileUploadContent.js +0 -208
- package/dist/components/inputs/File/shared/FileUploadContentEmpty.d.ts +0 -9
- package/dist/components/inputs/File/shared/FileUploadContentEmpty.js +0 -58
- package/dist/components/inputs/File/shared/FileUploadContentError.d.ts +0 -11
- package/dist/components/inputs/File/shared/FileUploadContentError.js +0 -112
- package/dist/components/inputs/File/shared/FileUploadContentFilled.d.ts +0 -11
- package/dist/components/inputs/File/shared/FileUploadContentFilled.js +0 -117
- package/dist/components/inputs/File/shared/FileUploadContentLoading.d.ts +0 -9
- package/dist/components/inputs/File/shared/FileUploadContentLoading.js +0 -79
- package/dist/components/inputs/File/shared/InputUploadContent.d.ts +0 -9
- package/dist/components/inputs/File/shared/InputUploadContent.js +0 -169
- package/dist/components/inputs/File/shared/InputUploadFilled.d.ts +0 -8
- package/dist/components/inputs/File/shared/InputUploadFilled.js +0 -69
- package/dist/components/inputs/File/shared/ProgressBar.d.ts +0 -6
- package/dist/components/inputs/File/shared/ProgressBar.js +0 -33
- package/dist/components/inputs/File/shared/fileUpload.cva.d.ts +0 -17
- package/dist/components/inputs/File/shared/fileUpload.cva.js +0 -42
- package/dist/components/inputs/File/shared/inputUploadButton.cva.d.ts +0 -27
- package/dist/components/inputs/File/shared/inputUploadButton.cva.js +0 -39
- package/dist/components/inputs/File/shared/progressBar.cva.d.ts +0 -38
- package/dist/components/inputs/File/shared/progressBar.cva.js +0 -28
- package/dist/components/inputs/FormField/FormField.d.ts +0 -20
- package/dist/components/inputs/FormField/FormField.js +0 -127
- package/dist/components/inputs/FormField/FormFieldError.d.ts +0 -7
- package/dist/components/inputs/FormField/FormFieldError.js +0 -33
- package/dist/components/inputs/FormField/FormFieldHeader.d.ts +0 -14
- package/dist/components/inputs/FormField/FormFieldHeader.js +0 -97
- package/dist/components/inputs/FormField/FormFieldHeaderClose.d.ts +0 -5
- package/dist/components/inputs/FormField/FormFieldHeaderClose.js +0 -41
- package/dist/components/inputs/FormField/FormFieldHelper.d.ts +0 -8
- package/dist/components/inputs/FormField/FormFieldHelper.js +0 -34
- package/dist/components/inputs/FormField/FormFieldLabel.d.ts +0 -13
- package/dist/components/inputs/FormField/FormFieldLabel.js +0 -59
- package/dist/components/inputs/FormField/formFieldError.cva.d.ts +0 -13
- package/dist/components/inputs/FormField/formFieldError.cva.js +0 -14
- package/dist/components/inputs/FormField/formFieldHeader.cva.d.ts +0 -13
- package/dist/components/inputs/FormField/formFieldHeader.cva.js +0 -14
- package/dist/components/inputs/FormField/formFieldHelper.cva.d.ts +0 -13
- package/dist/components/inputs/FormField/formFieldHelper.cva.js +0 -14
- package/dist/components/inputs/Input/NumberInput/NumberInput.d.ts +0 -23
- package/dist/components/inputs/Input/NumberInput/NumberInput.js +0 -494
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.d.ts +0 -46
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.js +0 -582
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.d.ts +0 -36
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.js +0 -338
- package/dist/components/inputs/Input/PasswordInput/PasswordInput.d.ts +0 -7
- package/dist/components/inputs/Input/PasswordInput/PasswordInput.js +0 -61
- package/dist/components/inputs/Input/TextArea/TextArea.cva.d.ts +0 -8
- package/dist/components/inputs/Input/TextArea/TextArea.cva.js +0 -5
- package/dist/components/inputs/Input/TextArea/TextArea.d.ts +0 -19
- package/dist/components/inputs/Input/TextArea/TextArea.js +0 -346
- package/dist/components/inputs/Input/TextInput/TextInput.d.ts +0 -23
- package/dist/components/inputs/Input/TextInput/TextInput.js +0 -470
- package/dist/components/inputs/Input/shared/InputContent.d.ts +0 -29
- package/dist/components/inputs/Input/shared/InputContent.js +0 -213
- package/dist/components/inputs/Input/shared/numberStatic.utils.d.ts +0 -1
- package/dist/components/inputs/Input/shared/numberStatic.utils.js +0 -7
- package/dist/components/inputs/Inputs/Form.d.ts +0 -26
- package/dist/components/inputs/Inputs/Form.js +0 -73
- package/dist/components/inputs/Inputs/InputItem.d.ts +0 -67
- package/dist/components/inputs/Inputs/InputItem.js +0 -112
- package/dist/components/inputs/Inputs/Inputs.d.ts +0 -10
- package/dist/components/inputs/Inputs/Inputs.js +0 -43
- package/dist/components/inputs/RadioGroup/RadioGroup.d.ts +0 -22
- package/dist/components/inputs/RadioGroup/RadioGroup.js +0 -371
- package/dist/components/inputs/RadioGroup/radio.cva.d.ts +0 -62
- package/dist/components/inputs/RadioGroup/radio.cva.js +0 -85
- package/dist/components/inputs/Selection/Autocomplete/Autocomplete.d.ts +0 -12
- package/dist/components/inputs/Selection/Autocomplete/Autocomplete.js +0 -165
- package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.d.ts +0 -4
- package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.js +0 -176
- package/dist/components/inputs/Selection/Autocomplete/queryAutocomplete.types.d.ts +0 -39
- package/dist/components/inputs/Selection/Select/QuerySelect.d.ts +0 -15
- package/dist/components/inputs/Selection/Select/QuerySelect.js +0 -172
- package/dist/components/inputs/Selection/Select/Select.d.ts +0 -12
- package/dist/components/inputs/Selection/Select/Select.js +0 -235
- package/dist/components/inputs/Selection/shared/SelectBase.d.ts +0 -38
- package/dist/components/inputs/Selection/shared/SelectBase.js +0 -82
- package/dist/components/inputs/Selection/shared/SelectDesktop.d.ts +0 -5
- package/dist/components/inputs/Selection/shared/SelectDesktop.js +0 -421
- package/dist/components/inputs/Selection/shared/SelectInput.d.ts +0 -15
- package/dist/components/inputs/Selection/shared/SelectInput.js +0 -470
- package/dist/components/inputs/Selection/shared/SelectInputTags.d.ts +0 -12
- package/dist/components/inputs/Selection/shared/SelectInputTags.js +0 -105
- package/dist/components/inputs/Selection/shared/SelectListBox.d.ts +0 -9
- package/dist/components/inputs/Selection/shared/SelectListBox.js +0 -75
- package/dist/components/inputs/Selection/shared/SelectListBoxItem.d.ts +0 -7
- package/dist/components/inputs/Selection/shared/SelectListBoxItem.js +0 -104
- package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.d.ts +0 -4
- package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.js +0 -88
- package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.d.ts +0 -6
- package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.js +0 -89
- package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.d.ts +0 -5
- package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.js +0 -76
- package/dist/components/inputs/Selection/shared/SelectMobile.d.ts +0 -5
- package/dist/components/inputs/Selection/shared/SelectMobile.js +0 -128
- package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.d.ts +0 -9
- package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.js +0 -47
- package/dist/components/inputs/Selection/shared/querySelect.utils.d.ts +0 -15
- package/dist/components/inputs/Selection/shared/querySelect.utils.js +0 -44
- package/dist/components/inputs/Selection/shared/select.context.d.ts +0 -32
- package/dist/components/inputs/Selection/shared/select.context.js +0 -231
- package/dist/components/inputs/Selection/shared/select.types.d.ts +0 -64
- package/dist/components/inputs/Selection/shared/selectDesktop.cva.d.ts +0 -6
- package/dist/components/inputs/Selection/shared/selectDesktop.cva.js +0 -5
- package/dist/components/inputs/Selection/shared/selectInput.cva.d.ts +0 -12
- package/dist/components/inputs/Selection/shared/selectInput.cva.js +0 -8
- package/dist/components/inputs/Selection/shared/selectItem.cva.d.ts +0 -16
- package/dist/components/inputs/Selection/shared/selectItem.cva.js +0 -24
- package/dist/components/inputs/Selection/shared/staticSelect.utils.d.ts +0 -23
- package/dist/components/inputs/Selection/shared/staticSelect.utils.js +0 -54
- package/dist/components/inputs/Selection/shared/staticSelect.utils.spec.d.ts +0 -1
- package/dist/components/inputs/Selection/shared/useSelectItems.d.ts +0 -23
- package/dist/components/inputs/Selection/shared/useSelectItems.js +0 -84
- package/dist/components/inputs/Skeleton/InputFrame.d.ts +0 -84
- package/dist/components/inputs/Skeleton/InputFrame.js +0 -242
- package/dist/components/inputs/Slider/Slider.d.ts +0 -19
- package/dist/components/inputs/Slider/Slider.js +0 -285
- package/dist/components/inputs/TextEditor/TextEditor.d.ts +0 -22
- package/dist/components/inputs/TextEditor/TextEditor.js +0 -199
- package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.d.ts +0 -7
- package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.js +0 -44
- package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.d.ts +0 -10
- package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.js +0 -128
- package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.js +0 -221
- package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.js +0 -103
- package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.js +0 -58
- package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.d.ts +0 -6
- package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.js +0 -79
- package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.js +0 -59
- package/dist/components/inputs/TextEditor/Toolbar/TextListActions.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +0 -103
- package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +0 -138
- package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.js +0 -157
- package/dist/components/inputs/TextEditor/textEditor.types.d.ts +0 -5
- package/dist/components/inputs/TextEditor/textEditor.types.js +0 -40
- package/dist/components/inputs/Toggle/Toggle.d.ts +0 -16
- package/dist/components/inputs/Toggle/Toggle.js +0 -234
- package/dist/components/inputs/Toggle/toggle.cva.d.ts +0 -19
- package/dist/components/inputs/Toggle/toggle.cva.js +0 -35
- package/dist/components/inputs/shared/CheckContent.d.ts +0 -9
- package/dist/components/inputs/shared/CheckContent.js +0 -29
- package/dist/components/inputs/shared/InputClear.d.ts +0 -10
- package/dist/components/inputs/shared/InputClear.js +0 -117
- package/dist/components/inputs/shared/TooltipWrapper.d.ts +0 -10
- package/dist/components/inputs/shared/TooltipWrapper.js +0 -60
- package/dist/components/inputs/shared/form.binding.d.ts +0 -27
- package/dist/components/inputs/shared/form.binding.js +0 -57
- package/dist/components/inputs/shared/form.types.d.ts +0 -13
- package/dist/components/inputs/shared/form.types.js +0 -8
- package/dist/components/inputs/shared/input.cva.d.ts +0 -90
- package/dist/components/inputs/shared/input.cva.js +0 -334
- package/dist/components/inputs/shared/label.cva.d.ts +0 -19
- package/dist/components/inputs/shared/label.cva.js +0 -74
- package/dist/components/inputs/shared/tooltipWrapper.cva.d.ts +0 -8
- package/dist/components/inputs/shared/tooltipWrapper.cva.js +0 -5
- package/dist/components/inputs/shared/useStaticInputHandoff.d.ts +0 -15
- package/dist/components/inputs/shared/useStaticInputHandoff.js +0 -138
- package/dist/components/navigation/Accordion/Accordion.d.ts +0 -3
- package/dist/components/navigation/Accordion/Accordion.js +0 -34
- package/dist/components/navigation/Accordion/AccordionItem.d.ts +0 -2
- package/dist/components/navigation/Accordion/AccordionItem.js +0 -63
- package/dist/components/navigation/Accordion/accordion.cva.d.ts +0 -110
- package/dist/components/navigation/Accordion/accordion.cva.js +0 -129
- package/dist/components/navigation/Accordion/accordion.types.d.ts +0 -52
- package/dist/components/navigation/Stepper/Stepper.d.ts +0 -2
- package/dist/components/navigation/Stepper/Stepper.js +0 -34
- package/dist/components/navigation/Stepper/StepperItem.d.ts +0 -2
- package/dist/components/navigation/Stepper/StepperItem.js +0 -126
- package/dist/components/navigation/Stepper/StepperSeparator.d.ts +0 -5
- package/dist/components/navigation/Stepper/StepperSeparator.js +0 -30
- package/dist/components/navigation/Stepper/stepper.cva.d.ts +0 -93
- package/dist/components/navigation/Stepper/stepper.cva.js +0 -116
- package/dist/components/navigation/Stepper/stepper.types.d.ts +0 -41
- package/dist/components/outline.clsx.d.ts +0 -2
- package/dist/components/outline.clsx.js +0 -6
- package/dist/components/overlays/ActionModal/ActionModal.d.ts +0 -24
- package/dist/components/overlays/ActionModal/ActionModal.js +0 -54
- package/dist/components/overlays/BottomSheet/BottomSheet.d.ts +0 -32
- package/dist/components/overlays/BottomSheet/BottomSheet.js +0 -328
- package/dist/components/overlays/BottomSheet/BottomSheetHeader.d.ts +0 -13
- package/dist/components/overlays/BottomSheet/BottomSheetHeader.js +0 -78
- package/dist/components/overlays/Drawer/Drawer.d.ts +0 -15
- package/dist/components/overlays/Drawer/Drawer.js +0 -95
- package/dist/components/overlays/Modal/Modal.d.ts +0 -15
- package/dist/components/overlays/Modal/Modal.js +0 -55
- package/dist/components/overlays/Modal/modal.cva.d.ts +0 -37
- package/dist/components/overlays/Modal/modal.cva.js +0 -44
- package/dist/components/overlays/ResponsivePopover/ResponsivePopover.d.ts +0 -17
- package/dist/components/overlays/ResponsivePopover/ResponsivePopover.js +0 -45
- package/dist/components/overlays/Tooltip/Tooltip.d.ts +0 -13
- package/dist/components/overlays/Tooltip/Tooltip.js +0 -170
- package/dist/components/overlays/Tooltip/TooltipEllipsis.d.ts +0 -8
- package/dist/components/overlays/Tooltip/TooltipEllipsis.js +0 -46
- package/dist/components/overlays/Tooltip/tooltip.cva.d.ts +0 -49
- package/dist/components/overlays/Tooltip/tooltip.cva.js +0 -44
- package/dist/components/segment/Segment.d.ts +0 -4
- package/dist/components/segment/Segment.js +0 -245
- package/dist/components/segment/SegmentItem.d.ts +0 -2
- package/dist/components/segment/SegmentItem.js +0 -85
- package/dist/components/segment/segment.cva.d.ts +0 -20
- package/dist/components/segment/segment.cva.js +0 -30
- package/dist/components/segment/segment.types.d.ts +0 -36
- package/dist/components/shared/pagination/Pagination.d.ts +0 -9
- package/dist/components/shared/pagination/Pagination.js +0 -45
- package/dist/components/shared/pagination/PaginationList.d.ts +0 -15
- package/dist/components/shared/pagination/PaginationList.js +0 -207
- package/dist/components/shared/pagination/minWidth.cva.d.ts +0 -3
- package/dist/components/shared/pagination/minWidth.cva.js +0 -11
- package/dist/components/shared/popover.cva.d.ts +0 -8
- package/dist/components/shared/popover.cva.js +0 -5
- package/dist/components/status/Alert/Alert.d.ts +0 -11
- package/dist/components/status/Alert/Alert.js +0 -47
- package/dist/components/status/Alert/alert.cva.d.ts +0 -19
- package/dist/components/status/Alert/alert.cva.js +0 -67
- package/dist/components/status/Loader/Loader.d.ts +0 -5
- package/dist/components/status/Loader/Loader.js +0 -89
- package/dist/components/status/Loader/loader.cva.d.ts +0 -28
- package/dist/components/status/Loader/loader.cva.js +0 -27
- package/dist/components/status/Toast/Toast.d.ts +0 -14
- package/dist/components/status/Toast/Toast.js +0 -82
- package/dist/components/status/Toast/toast.cva.d.ts +0 -80
- package/dist/components/status/Toast/toast.cva.js +0 -211
- package/dist/components/status/Toast/useToast.d.ts +0 -13
- package/dist/components/status/Toast/useToast.js +0 -70
- package/dist/components/status/shared/status.cva.d.ts +0 -30
- package/dist/components/status/shared/status.cva.js +0 -65
- package/dist/components/table/CellText.d.ts +0 -8
- package/dist/components/table/CellText.js +0 -21
- package/dist/components/table/ColumnConfig.d.ts +0 -10
- package/dist/components/table/ColumnConfig.js +0 -187
- package/dist/components/table/HeaderText.d.ts +0 -8
- package/dist/components/table/HeaderText.js +0 -20
- package/dist/components/table/InfiniteTable.d.ts +0 -9
- package/dist/components/table/InfiniteTable.js +0 -28
- package/dist/components/table/PaginatedTable.d.ts +0 -11
- package/dist/components/table/PaginatedTable.js +0 -94
- package/dist/components/table/Table.d.ts +0 -37
- package/dist/components/table/Table.js +0 -265
- package/dist/components/table/table.cva.d.ts +0 -65
- package/dist/components/table/table.cva.js +0 -49
- package/dist/components/text/Link/Link.d.ts +0 -9
- package/dist/components/text/Link/Link.js +0 -33
- package/dist/components/text/Link/link.cva.d.ts +0 -12
- package/dist/components/text/Link/link.cva.js +0 -12
- package/dist/components/text/Pill/Pill.d.ts +0 -15
- package/dist/components/text/Pill/Pill.js +0 -44
- package/dist/components/text/Tag/Tag.d.ts +0 -15
- package/dist/components/text/Tag/Tag.js +0 -43
- package/dist/components/text/Tag/tag.cva.d.ts +0 -16
- package/dist/components/text/Tag/tag.cva.js +0 -55
- package/dist/components/text/Typography/Typography.d.ts +0 -11
- package/dist/components/text/Typography/Typography.js +0 -16
- package/dist/components/text/Typography/typography.cva.d.ts +0 -49
- package/dist/components/text/Typography/typography.cva.js +0 -129
- package/dist/config/confirmation.context.d.ts +0 -20
- package/dist/config/confirmation.context.js +0 -80
- package/dist/config/i18n.d.ts +0 -313
- package/dist/config/i18n.js +0 -10
- package/dist/config/link.context.d.ts +0 -10
- package/dist/config/link.context.js +0 -35
- package/dist/config/router.context.d.ts +0 -14
- package/dist/config/router.context.js +0 -63
- package/dist/config/theme.context.d.ts +0 -17
- package/dist/config/theme.context.js +0 -67
- package/dist/config/uiConfig.context.d.ts +0 -77
- package/dist/config/uiConfig.context.js +0 -132
- package/dist/config/uiOverrides.context.d.ts +0 -205
- package/dist/config/uiOverrides.context.js +0 -113
- package/dist/helpers/dynamicColumns.d.ts +0 -44
- package/dist/helpers/dynamicColumns.js +0 -275
- package/dist/helpers/dynamicInputs.d.ts +0 -86
- package/dist/helpers/dynamicInputs.js +0 -193
- package/dist/hooks/useAutosave.d.ts +0 -10
- package/dist/hooks/useAutosave.js +0 -87
- package/dist/hooks/useBreakpoint.d.ts +0 -3
- package/dist/hooks/useBreakpoint.js +0 -43
- package/dist/hooks/useDebounceCallback.d.ts +0 -6
- package/dist/hooks/useDebounceCallback.js +0 -25
- package/dist/hooks/useDeepCompare.d.ts +0 -4
- package/dist/hooks/useDeepCompare.js +0 -23
- package/dist/hooks/useFilters.d.ts +0 -8
- package/dist/hooks/useFilters.js +0 -188
- package/dist/hooks/useForm.d.ts +0 -42
- package/dist/hooks/useForm.js +0 -101
- package/dist/hooks/useFormAutosave.d.ts +0 -14
- package/dist/hooks/useFormAutosave.js +0 -73
- package/dist/hooks/useFormAutosave.spec.d.ts +0 -1
- package/dist/hooks/useIntersectionObserver.d.ts +0 -8
- package/dist/hooks/useIntersectionObserver.js +0 -98
- package/dist/hooks/useKeyInteractions.d.ts +0 -20
- package/dist/hooks/useKeyInteractions.js +0 -54
- package/dist/hooks/useKeyInteractions.spec.d.ts +0 -1
- package/dist/hooks/useLocalStorage.d.ts +0 -11
- package/dist/hooks/useLocalStorage.js +0 -70
- package/dist/hooks/useLongPressRepeat.d.ts +0 -9
- package/dist/hooks/useLongPressRepeat.js +0 -29
- package/dist/hooks/usePagination.d.ts +0 -7
- package/dist/hooks/usePagination.js +0 -62
- package/dist/hooks/useQueryAutocomplete.d.ts +0 -13
- package/dist/hooks/useQueryAutocomplete.js +0 -103
- package/dist/hooks/useScrollableListBox.d.ts +0 -3
- package/dist/hooks/useScrollableListBox.js +0 -47
- package/dist/hooks/useSorting.d.ts +0 -6
- package/dist/hooks/useSorting.js +0 -80
- package/dist/hooks/useStateAndRef.d.ts +0 -4
- package/dist/hooks/useStateAndRef.js +0 -31
- package/dist/hooks/useTableColumnConfig.d.ts +0 -16
- package/dist/hooks/useTableColumnConfig.js +0 -133
- package/dist/hooks/useTableNav.d.ts +0 -84
- package/dist/hooks/useTableNav.js +0 -383
- package/dist/hooks/useTranslationMemo.d.ts +0 -4
- package/dist/hooks/useTranslationMemo.js +0 -32
- package/dist/rhf/Inputs.d.ts +0 -60
- package/dist/rhf/Inputs.js +0 -148
- package/dist/rhf/components.d.ts +0 -80
- package/dist/rhf/components.js +0 -101
- package/dist/rhf/dynamicInputs.d.ts +0 -18
- package/dist/rhf/dynamicInputs.js +0 -5
- package/dist/rhf/entrypoints.type-test.d.ts +0 -1
- package/dist/rhf/fieldAdapter.d.ts +0 -7
- package/dist/rhf/fieldAdapter.js +0 -40
- package/dist/rhf/form.types.d.ts +0 -12
- package/dist/rhf/useAutosave.d.ts +0 -10
- package/dist/rhf/useAutosave.js +0 -71
- package/dist/rhf/useForm.d.ts +0 -18
- package/dist/rhf/useForm.js +0 -48
- package/dist/rhf/useFormAutosave.d.ts +0 -15
- package/dist/rhf/useFormAutosave.js +0 -59
- package/dist/text-editor.d.ts +0 -2
- package/dist/text-editor.js +0 -2
- package/dist/types/common.d.ts +0 -12
- package/dist/types/error-handling.d.ts +0 -6
- package/dist/types/react-query.d.ts +0 -6
- package/dist/utils/array.utils.d.ts +0 -3
- package/dist/utils/array.utils.js +0 -10
- package/dist/utils/array.utils.spec.d.ts +0 -1
- package/dist/utils/compoundMapper.d.ts +0 -19
- package/dist/utils/compoundMapper.js +0 -13
- package/dist/utils/compoundMapper.spec.d.ts +0 -1
- package/dist/utils/date-time.utils.d.ts +0 -42
- package/dist/utils/date-time.utils.js +0 -192
- package/dist/utils/date-time.utils.spec.d.ts +0 -1
- package/dist/utils/date.utils.d.ts +0 -5
- package/dist/utils/date.utils.js +0 -19
- package/dist/utils/date.utils.spec.d.ts +0 -1
- package/dist/utils/dom.utils.d.ts +0 -5
- package/dist/utils/dom.utils.js +0 -19
- package/dist/utils/file.utils.d.ts +0 -13
- package/dist/utils/file.utils.js +0 -50
- package/dist/utils/intl.utils.d.ts +0 -7
- package/dist/utils/intl.utils.js +0 -38
- package/dist/utils/intl.utils.spec.d.ts +0 -1
- package/dist/utils/isEqual.d.ts +0 -1
- package/dist/utils/isEqual.js +0 -59
- package/dist/utils/object.utils.d.ts +0 -10
- package/dist/utils/object.utils.js +0 -38
- package/dist/utils/queries.utils.d.ts +0 -4
- package/dist/utils/queries.utils.js +0 -9
- package/dist/utils/query.utils.d.ts +0 -4
- package/dist/utils/query.utils.js +0 -8
- package/dist/utils/rest.utils.d.ts +0 -10
- package/dist/utils/rest.utils.js +0 -33
- package/dist/utils/routing.utils.d.ts +0 -4
- package/dist/utils/routing.utils.js +0 -25
- package/dist/utils/string.utils.d.ts +0 -4
- package/dist/utils/string.utils.js +0 -12
- package/dist/utils/style-merge.util.d.ts +0 -43
- package/dist/utils/style-merge.util.js +0 -233
- package/dist/utils/style-merge.util.spec.d.ts +0 -1
- package/dist/utils/zod.utils.d.ts +0 -20
- package/dist/utils/zod.utils.js +0 -24
- /package/dist/styles/{editor.css → styles/editor.css} +0 -0
|
@@ -0,0 +1,1345 @@
|
|
|
1
|
+
import { a as $d447af545b77c9f1$export$b204af158042fbac, i as $23f2114a1b82827e$export$e58f029f0fbfdb29, n as $23f2114a1b82827e$export$4282f70798064fe0, r as $23f2114a1b82827e$export$cd4e5573fbe2b576, t as $c4867b2f328c2698$export$e5c5a5f917a5871c } from "./useLayoutEffect-DN7Dbrb9.js";
|
|
2
|
+
import { c as $a92dc41f639950be$export$525bc4921d56d4a, l as $a92dc41f639950be$export$715c682d09d639cc, r as $8f5a2122b0992be3$export$8397ddfc504fdb9a, u as $a92dc41f639950be$export$c2b7abe5d61ec696 } from "./focusSafely-BDIcvqPb.js";
|
|
3
|
+
import { a as $390e54f620492c70$export$f680877a34711e37, i as $390e54f620492c70$export$b4cc09c592e8fdb8, n as $8296dad1a4c5e0dc$export$8f71654801c2f7cd, r as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./useSyncRef-Dsn4Ybiw.js";
|
|
4
|
+
import { r as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./useControlledState-BMVd3AOQ.js";
|
|
5
|
+
import $ahdqC$react, { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
6
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
|
|
7
|
+
const $fe16bffc7a557bf0$var$useEarlyEffect = $ahdqC$react["useInsertionEffect"] ?? $c4867b2f328c2698$export$e5c5a5f917a5871c;
|
|
8
|
+
function $fe16bffc7a557bf0$export$7f54fc3180508a52(fn) {
|
|
9
|
+
const ref = useRef(null);
|
|
10
|
+
$fe16bffc7a557bf0$var$useEarlyEffect(() => {
|
|
11
|
+
ref.current = fn;
|
|
12
|
+
}, [fn]);
|
|
13
|
+
return useCallback((...args) => {
|
|
14
|
+
const f = ref.current;
|
|
15
|
+
return f?.(...args);
|
|
16
|
+
}, []);
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/useEvent.mjs
|
|
20
|
+
function $600b3cf69ae46262$export$90fc3a17d93f704c(ref, event, handler, options) {
|
|
21
|
+
let handleEvent = $fe16bffc7a557bf0$export$7f54fc3180508a52(handler);
|
|
22
|
+
let isDisabled = handler == null;
|
|
23
|
+
useEffect(() => {
|
|
24
|
+
if (isDisabled || !ref.current) return;
|
|
25
|
+
let element = ref.current;
|
|
26
|
+
element.addEventListener(event, handleEvent, options);
|
|
27
|
+
return () => {
|
|
28
|
+
element.removeEventListener(event, handleEvent, options);
|
|
29
|
+
};
|
|
30
|
+
}, [
|
|
31
|
+
ref,
|
|
32
|
+
event,
|
|
33
|
+
options,
|
|
34
|
+
isDisabled
|
|
35
|
+
]);
|
|
36
|
+
}
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/useLabels.mjs
|
|
39
|
+
function $e8ac3c3f5d4bae7f$export$d6875122194c7b44(props, defaultLabel) {
|
|
40
|
+
let { id, "aria-label": label, "aria-labelledby": labelledBy } = props;
|
|
41
|
+
id = $390e54f620492c70$export$f680877a34711e37(id);
|
|
42
|
+
if (labelledBy && label) labelledBy = [.../* @__PURE__ */ new Set([id, ...labelledBy.trim().split(/\s+/)])].join(" ");
|
|
43
|
+
else if (labelledBy) labelledBy = labelledBy.trim().split(/\s+/).join(" ");
|
|
44
|
+
if (!label && !labelledBy && defaultLabel) label = defaultLabel;
|
|
45
|
+
return {
|
|
46
|
+
id,
|
|
47
|
+
"aria-label": label,
|
|
48
|
+
"aria-labelledby": labelledBy
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region ../../node_modules/.bun/@internationalized+string@3.2.10/node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
|
|
53
|
+
const $a747a10fe70a57da$var$localeSymbol = Symbol.for("react-aria.i18n.locale");
|
|
54
|
+
const $a747a10fe70a57da$var$stringsSymbol = Symbol.for("react-aria.i18n.strings");
|
|
55
|
+
let $a747a10fe70a57da$var$cachedGlobalStrings = void 0;
|
|
56
|
+
var $a747a10fe70a57da$export$c17fa47878dc55b6 = class $a747a10fe70a57da$export$c17fa47878dc55b6 {
|
|
57
|
+
constructor(messages, defaultLocale = "en-US") {
|
|
58
|
+
this.strings = Object.fromEntries(Object.entries(messages).filter(([, v]) => v));
|
|
59
|
+
this.defaultLocale = defaultLocale;
|
|
60
|
+
}
|
|
61
|
+
/** Returns a localized string for the given key and locale. */ getStringForLocale(key, locale) {
|
|
62
|
+
let string = this.getStringsForLocale(locale)[key];
|
|
63
|
+
if (!string) throw new Error(`Could not find intl message ${key} in ${locale} locale`);
|
|
64
|
+
return string;
|
|
65
|
+
}
|
|
66
|
+
/** Returns all localized strings for the given locale. */ getStringsForLocale(locale) {
|
|
67
|
+
let strings = this.strings[locale];
|
|
68
|
+
if (!strings) {
|
|
69
|
+
strings = $a747a10fe70a57da$var$getStringsForLocale(locale, this.strings, this.defaultLocale);
|
|
70
|
+
this.strings[locale] = strings;
|
|
71
|
+
}
|
|
72
|
+
return strings;
|
|
73
|
+
}
|
|
74
|
+
static getGlobalDictionaryForPackage(packageName) {
|
|
75
|
+
if (typeof window === "undefined") return null;
|
|
76
|
+
let locale = window[$a747a10fe70a57da$var$localeSymbol];
|
|
77
|
+
if ($a747a10fe70a57da$var$cachedGlobalStrings === void 0) {
|
|
78
|
+
let globalStrings = window[$a747a10fe70a57da$var$stringsSymbol];
|
|
79
|
+
if (!globalStrings) return null;
|
|
80
|
+
$a747a10fe70a57da$var$cachedGlobalStrings = {};
|
|
81
|
+
for (let pkg in globalStrings) $a747a10fe70a57da$var$cachedGlobalStrings[pkg] = new $a747a10fe70a57da$export$c17fa47878dc55b6({ [locale]: globalStrings[pkg] }, locale);
|
|
82
|
+
}
|
|
83
|
+
let dictionary = $a747a10fe70a57da$var$cachedGlobalStrings?.[packageName];
|
|
84
|
+
if (!dictionary) throw new Error(`Strings for package "${packageName}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);
|
|
85
|
+
return dictionary;
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
function $a747a10fe70a57da$var$getStringsForLocale(locale, strings, defaultLocale = "en-US") {
|
|
89
|
+
if (strings[locale]) return strings[locale];
|
|
90
|
+
let language = $a747a10fe70a57da$var$getLanguage(locale);
|
|
91
|
+
let script = $a747a10fe70a57da$var$getScript(locale);
|
|
92
|
+
if (script && strings[`${language}-${script}`]) return strings[`${language}-${script}`];
|
|
93
|
+
if (strings[language]) return strings[language];
|
|
94
|
+
for (let key in strings) if (key.startsWith(language + "-")) return strings[key];
|
|
95
|
+
return strings[defaultLocale];
|
|
96
|
+
}
|
|
97
|
+
function $a747a10fe70a57da$var$getLanguage(locale) {
|
|
98
|
+
if (Intl.Locale) return new Intl.Locale(locale).language;
|
|
99
|
+
return locale.split("-")[0];
|
|
100
|
+
}
|
|
101
|
+
function $a747a10fe70a57da$var$getScript(locale) {
|
|
102
|
+
if (Intl.Locale) return new Intl.Locale(locale).script;
|
|
103
|
+
}
|
|
104
|
+
//#endregion
|
|
105
|
+
//#region ../../node_modules/.bun/@internationalized+string@3.2.10/node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
|
|
106
|
+
const $b27c684a33948c64$var$pluralRulesCache = /* @__PURE__ */ new Map();
|
|
107
|
+
const $b27c684a33948c64$var$numberFormatCache = /* @__PURE__ */ new Map();
|
|
108
|
+
var $b27c684a33948c64$export$2f817fcdc4b89ae0 = class {
|
|
109
|
+
constructor(locale, strings) {
|
|
110
|
+
this.locale = locale;
|
|
111
|
+
this.strings = strings;
|
|
112
|
+
}
|
|
113
|
+
/** Formats a localized string for the given key with the provided variables. */ format(key, variables) {
|
|
114
|
+
let message = this.strings.getStringForLocale(key, this.locale);
|
|
115
|
+
return typeof message === "function" ? message(variables, this) : message;
|
|
116
|
+
}
|
|
117
|
+
plural(count, options, type = "cardinal") {
|
|
118
|
+
let opt = options["=" + count];
|
|
119
|
+
if (opt) return typeof opt === "function" ? opt() : opt;
|
|
120
|
+
let key = this.locale + ":" + type;
|
|
121
|
+
let pluralRules = $b27c684a33948c64$var$pluralRulesCache.get(key);
|
|
122
|
+
if (!pluralRules) {
|
|
123
|
+
pluralRules = new Intl.PluralRules(this.locale, { type });
|
|
124
|
+
$b27c684a33948c64$var$pluralRulesCache.set(key, pluralRules);
|
|
125
|
+
}
|
|
126
|
+
opt = options[pluralRules.select(count)] || options.other;
|
|
127
|
+
return typeof opt === "function" ? opt() : opt;
|
|
128
|
+
}
|
|
129
|
+
number(value) {
|
|
130
|
+
let numberFormat = $b27c684a33948c64$var$numberFormatCache.get(this.locale);
|
|
131
|
+
if (!numberFormat) {
|
|
132
|
+
numberFormat = new Intl.NumberFormat(this.locale);
|
|
133
|
+
$b27c684a33948c64$var$numberFormatCache.set(this.locale, numberFormat);
|
|
134
|
+
}
|
|
135
|
+
return numberFormat.format(value);
|
|
136
|
+
}
|
|
137
|
+
select(options, value) {
|
|
138
|
+
let opt = options[value] || options.other;
|
|
139
|
+
return typeof opt === "function" ? opt() : opt;
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
//#endregion
|
|
143
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/i18n/useLocalizedStringFormatter.mjs
|
|
144
|
+
const $cf2482eff2eeeec2$var$cache = /* @__PURE__ */ new WeakMap();
|
|
145
|
+
function $cf2482eff2eeeec2$var$getCachedDictionary(strings) {
|
|
146
|
+
let dictionary = $cf2482eff2eeeec2$var$cache.get(strings);
|
|
147
|
+
if (!dictionary) {
|
|
148
|
+
dictionary = new $a747a10fe70a57da$export$c17fa47878dc55b6(strings);
|
|
149
|
+
$cf2482eff2eeeec2$var$cache.set(strings, dictionary);
|
|
150
|
+
}
|
|
151
|
+
return dictionary;
|
|
152
|
+
}
|
|
153
|
+
function $cf2482eff2eeeec2$export$87b761675e8eaa10(strings, packageName) {
|
|
154
|
+
return packageName && $a747a10fe70a57da$export$c17fa47878dc55b6.getGlobalDictionaryForPackage(packageName) || $cf2482eff2eeeec2$var$getCachedDictionary(strings);
|
|
155
|
+
}
|
|
156
|
+
function $cf2482eff2eeeec2$export$f12b703ca79dfbb1(strings, packageName) {
|
|
157
|
+
let { locale } = $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7();
|
|
158
|
+
let dictionary = $cf2482eff2eeeec2$export$87b761675e8eaa10(strings, packageName);
|
|
159
|
+
return useMemo(() => new $b27c684a33948c64$export$2f817fcdc4b89ae0(locale, dictionary), [locale, dictionary]);
|
|
160
|
+
}
|
|
161
|
+
//#endregion
|
|
162
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
|
|
163
|
+
function $48a7d519b337145d$export$4eaf04e54aa8eed6() {
|
|
164
|
+
let globalListeners = useRef(/* @__PURE__ */ new Map());
|
|
165
|
+
let addGlobalListener = useCallback((eventTarget, type, listener, options) => {
|
|
166
|
+
let fn = options?.once ? (...args) => {
|
|
167
|
+
globalListeners.current.delete(listener);
|
|
168
|
+
listener(...args);
|
|
169
|
+
} : listener;
|
|
170
|
+
globalListeners.current.set(listener, {
|
|
171
|
+
type,
|
|
172
|
+
eventTarget,
|
|
173
|
+
fn,
|
|
174
|
+
options
|
|
175
|
+
});
|
|
176
|
+
eventTarget.addEventListener(type, fn, options);
|
|
177
|
+
}, []);
|
|
178
|
+
let removeGlobalListener = useCallback((eventTarget, type, listener, options) => {
|
|
179
|
+
let fn = globalListeners.current.get(listener)?.fn || listener;
|
|
180
|
+
eventTarget.removeEventListener(type, fn, options);
|
|
181
|
+
globalListeners.current.delete(listener);
|
|
182
|
+
}, []);
|
|
183
|
+
let removeAllGlobalListeners = useCallback(() => {
|
|
184
|
+
globalListeners.current.forEach((value, key) => {
|
|
185
|
+
removeGlobalListener(value.eventTarget, value.type, key, value.options);
|
|
186
|
+
});
|
|
187
|
+
}, [removeGlobalListener]);
|
|
188
|
+
useEffect(() => {
|
|
189
|
+
return removeAllGlobalListeners;
|
|
190
|
+
}, [removeAllGlobalListeners]);
|
|
191
|
+
return {
|
|
192
|
+
addGlobalListener,
|
|
193
|
+
removeGlobalListener,
|
|
194
|
+
removeAllGlobalListeners
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
//#endregion
|
|
198
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/live-announcer/LiveAnnouncer.mjs
|
|
199
|
+
const $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY = 7e3;
|
|
200
|
+
let $a46cf152bb926da5$var$liveAnnouncer = null;
|
|
201
|
+
function $a46cf152bb926da5$export$a9b970dcc4ae71a9(message, assertiveness = "assertive", timeout = $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY) {
|
|
202
|
+
if (!$a46cf152bb926da5$var$liveAnnouncer) {
|
|
203
|
+
$a46cf152bb926da5$var$liveAnnouncer = new $a46cf152bb926da5$var$LiveAnnouncer();
|
|
204
|
+
if (!(typeof IS_REACT_ACT_ENVIRONMENT === "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest !== "undefined")) setTimeout(() => {
|
|
205
|
+
if ($a46cf152bb926da5$var$liveAnnouncer?.isAttached()) $a46cf152bb926da5$var$liveAnnouncer?.announce(message, assertiveness, timeout);
|
|
206
|
+
}, 100);
|
|
207
|
+
else $a46cf152bb926da5$var$liveAnnouncer.announce(message, assertiveness, timeout);
|
|
208
|
+
} else $a46cf152bb926da5$var$liveAnnouncer.announce(message, assertiveness, timeout);
|
|
209
|
+
}
|
|
210
|
+
function $a46cf152bb926da5$export$d10ae4f68404609a(assertiveness) {
|
|
211
|
+
if ($a46cf152bb926da5$var$liveAnnouncer) $a46cf152bb926da5$var$liveAnnouncer.clear(assertiveness);
|
|
212
|
+
}
|
|
213
|
+
var $a46cf152bb926da5$var$LiveAnnouncer = class {
|
|
214
|
+
constructor() {
|
|
215
|
+
this.node = null;
|
|
216
|
+
this.assertiveLog = null;
|
|
217
|
+
this.politeLog = null;
|
|
218
|
+
if (typeof document !== "undefined") {
|
|
219
|
+
this.node = document.createElement("div");
|
|
220
|
+
this.node.dataset.liveAnnouncer = "true";
|
|
221
|
+
Object.assign(this.node.style, {
|
|
222
|
+
border: 0,
|
|
223
|
+
clip: "rect(0 0 0 0)",
|
|
224
|
+
clipPath: "inset(50%)",
|
|
225
|
+
height: "1px",
|
|
226
|
+
margin: "-1px",
|
|
227
|
+
overflow: "hidden",
|
|
228
|
+
padding: 0,
|
|
229
|
+
position: "absolute",
|
|
230
|
+
width: "1px",
|
|
231
|
+
whiteSpace: "nowrap"
|
|
232
|
+
});
|
|
233
|
+
this.assertiveLog = this.createLog("assertive");
|
|
234
|
+
this.node.appendChild(this.assertiveLog);
|
|
235
|
+
this.politeLog = this.createLog("polite");
|
|
236
|
+
this.node.appendChild(this.politeLog);
|
|
237
|
+
document.body.prepend(this.node);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
isAttached() {
|
|
241
|
+
return this.node?.isConnected;
|
|
242
|
+
}
|
|
243
|
+
createLog(ariaLive) {
|
|
244
|
+
let node = document.createElement("div");
|
|
245
|
+
node.setAttribute("role", "log");
|
|
246
|
+
node.setAttribute("aria-live", ariaLive);
|
|
247
|
+
node.setAttribute("aria-relevant", "additions");
|
|
248
|
+
return node;
|
|
249
|
+
}
|
|
250
|
+
destroy() {
|
|
251
|
+
if (!this.node) return;
|
|
252
|
+
document.body.removeChild(this.node);
|
|
253
|
+
this.node = null;
|
|
254
|
+
}
|
|
255
|
+
announce(message, assertiveness = "assertive", timeout = $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY) {
|
|
256
|
+
if (!this.node) return;
|
|
257
|
+
let node = document.createElement("div");
|
|
258
|
+
if (typeof message === "object") {
|
|
259
|
+
node.setAttribute("role", "img");
|
|
260
|
+
node.setAttribute("aria-labelledby", message["aria-labelledby"]);
|
|
261
|
+
} else node.textContent = message;
|
|
262
|
+
if (assertiveness === "assertive") this.assertiveLog?.appendChild(node);
|
|
263
|
+
else this.politeLog?.appendChild(node);
|
|
264
|
+
if (message !== "") setTimeout(() => {
|
|
265
|
+
node.remove();
|
|
266
|
+
}, timeout);
|
|
267
|
+
}
|
|
268
|
+
clear(assertiveness) {
|
|
269
|
+
if (!this.node) return;
|
|
270
|
+
if ((!assertiveness || assertiveness === "assertive") && this.assertiveLog) this.assertiveLog.innerHTML = "";
|
|
271
|
+
if ((!assertiveness || assertiveness === "polite") && this.politeLog) this.politeLog.innerHTML = "";
|
|
272
|
+
}
|
|
273
|
+
};
|
|
274
|
+
//#endregion
|
|
275
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/useFormReset.mjs
|
|
276
|
+
function $3274bf1495747a7b$export$5add1d006293d136(ref, initialValue, onReset) {
|
|
277
|
+
let handleReset = $fe16bffc7a557bf0$export$7f54fc3180508a52((e) => {
|
|
278
|
+
if (onReset && !e.defaultPrevented) onReset(initialValue);
|
|
279
|
+
});
|
|
280
|
+
useEffect(() => {
|
|
281
|
+
let form = ref?.current?.form;
|
|
282
|
+
form?.addEventListener("reset", handleReset);
|
|
283
|
+
return () => {
|
|
284
|
+
form?.removeEventListener("reset", handleReset);
|
|
285
|
+
};
|
|
286
|
+
}, [ref]);
|
|
287
|
+
}
|
|
288
|
+
//#endregion
|
|
289
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/form/useFormValidation.mjs
|
|
290
|
+
function $860f7da480e22816$export$b8473d3665f3a75a(props, state, ref) {
|
|
291
|
+
let { validationBehavior, focus } = props;
|
|
292
|
+
$c4867b2f328c2698$export$e5c5a5f917a5871c(() => {
|
|
293
|
+
if (validationBehavior === "native" && ref?.current && "setCustomValidity" in ref.current && !ref.current.disabled) {
|
|
294
|
+
let errorMessage = state.realtimeValidation.isInvalid ? state.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
|
|
295
|
+
ref.current.setCustomValidity(errorMessage);
|
|
296
|
+
if (!ref.current.hasAttribute("title")) ref.current.title = "";
|
|
297
|
+
if (!state.realtimeValidation.isInvalid) state.updateValidation($860f7da480e22816$var$getNativeValidity(ref.current));
|
|
298
|
+
}
|
|
299
|
+
});
|
|
300
|
+
let isIgnoredReset = useRef(false);
|
|
301
|
+
let onReset = $fe16bffc7a557bf0$export$7f54fc3180508a52(() => {
|
|
302
|
+
if (!isIgnoredReset.current) state.resetValidation();
|
|
303
|
+
});
|
|
304
|
+
let onInvalid = $fe16bffc7a557bf0$export$7f54fc3180508a52((e) => {
|
|
305
|
+
if (!state.displayValidation.isInvalid) state.commitValidation();
|
|
306
|
+
let form = ref?.current?.form;
|
|
307
|
+
if (!e.defaultPrevented && ref && form && $860f7da480e22816$var$getFirstInvalidInput(form) === ref.current) {
|
|
308
|
+
if (focus) focus();
|
|
309
|
+
else ref.current?.focus();
|
|
310
|
+
$8f5a2122b0992be3$export$8397ddfc504fdb9a("keyboard");
|
|
311
|
+
}
|
|
312
|
+
e.preventDefault();
|
|
313
|
+
});
|
|
314
|
+
let onChange = $fe16bffc7a557bf0$export$7f54fc3180508a52(() => {
|
|
315
|
+
state.commitValidation();
|
|
316
|
+
});
|
|
317
|
+
useEffect(() => {
|
|
318
|
+
let input = ref?.current;
|
|
319
|
+
if (!input) return;
|
|
320
|
+
let form = input.form;
|
|
321
|
+
let reset = form?.reset;
|
|
322
|
+
if (form) form.reset = () => {
|
|
323
|
+
isIgnoredReset.current = !window.event || window.event.type === "message" && $23f2114a1b82827e$export$e58f029f0fbfdb29(window.event) instanceof MessagePort;
|
|
324
|
+
reset?.call(form);
|
|
325
|
+
isIgnoredReset.current = false;
|
|
326
|
+
};
|
|
327
|
+
input.addEventListener("invalid", onInvalid);
|
|
328
|
+
input.addEventListener("change", onChange);
|
|
329
|
+
form?.addEventListener("reset", onReset);
|
|
330
|
+
return () => {
|
|
331
|
+
input.removeEventListener("invalid", onInvalid);
|
|
332
|
+
input.removeEventListener("change", onChange);
|
|
333
|
+
form?.removeEventListener("reset", onReset);
|
|
334
|
+
if (form) form.reset = reset;
|
|
335
|
+
};
|
|
336
|
+
}, [ref, validationBehavior]);
|
|
337
|
+
}
|
|
338
|
+
function $860f7da480e22816$var$getValidity(input) {
|
|
339
|
+
let validity = input.validity;
|
|
340
|
+
return {
|
|
341
|
+
badInput: validity.badInput,
|
|
342
|
+
customError: validity.customError,
|
|
343
|
+
patternMismatch: validity.patternMismatch,
|
|
344
|
+
rangeOverflow: validity.rangeOverflow,
|
|
345
|
+
rangeUnderflow: validity.rangeUnderflow,
|
|
346
|
+
stepMismatch: validity.stepMismatch,
|
|
347
|
+
tooLong: validity.tooLong,
|
|
348
|
+
tooShort: validity.tooShort,
|
|
349
|
+
typeMismatch: validity.typeMismatch,
|
|
350
|
+
valueMissing: validity.valueMissing,
|
|
351
|
+
valid: validity.valid
|
|
352
|
+
};
|
|
353
|
+
}
|
|
354
|
+
function $860f7da480e22816$var$getNativeValidity(input) {
|
|
355
|
+
return {
|
|
356
|
+
isInvalid: !input.validity.valid,
|
|
357
|
+
validationDetails: $860f7da480e22816$var$getValidity(input),
|
|
358
|
+
validationErrors: input.validationMessage ? [input.validationMessage] : []
|
|
359
|
+
};
|
|
360
|
+
}
|
|
361
|
+
function $860f7da480e22816$var$getFirstInvalidInput(form) {
|
|
362
|
+
for (let i = 0; i < form.elements.length; i++) {
|
|
363
|
+
let element = form.elements[i];
|
|
364
|
+
if (element.validity?.valid === false) return element;
|
|
365
|
+
}
|
|
366
|
+
return null;
|
|
367
|
+
}
|
|
368
|
+
//#endregion
|
|
369
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/label/useLabel.mjs
|
|
370
|
+
function $0beb20c9744a2065$export$8467354a121f1b9f(props) {
|
|
371
|
+
let { id, label, "aria-labelledby": ariaLabelledby, "aria-label": ariaLabel, labelElementType = "label" } = props;
|
|
372
|
+
id = $390e54f620492c70$export$f680877a34711e37(id);
|
|
373
|
+
let labelId = $390e54f620492c70$export$f680877a34711e37();
|
|
374
|
+
let labelProps = {};
|
|
375
|
+
if (label) {
|
|
376
|
+
ariaLabelledby = ariaLabelledby ? `${labelId} ${ariaLabelledby}` : labelId;
|
|
377
|
+
labelProps = {
|
|
378
|
+
id: labelId,
|
|
379
|
+
htmlFor: labelElementType === "label" ? id : void 0
|
|
380
|
+
};
|
|
381
|
+
} else if (!ariaLabelledby && !ariaLabel && true) console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");
|
|
382
|
+
let fieldProps = $e8ac3c3f5d4bae7f$export$d6875122194c7b44({
|
|
383
|
+
id,
|
|
384
|
+
"aria-label": ariaLabel,
|
|
385
|
+
"aria-labelledby": ariaLabelledby
|
|
386
|
+
});
|
|
387
|
+
return {
|
|
388
|
+
labelProps,
|
|
389
|
+
fieldProps
|
|
390
|
+
};
|
|
391
|
+
}
|
|
392
|
+
//#endregion
|
|
393
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/label/useField.mjs
|
|
394
|
+
function $191c9b6d48a0a4e2$export$294aa081a6c6f55d(props) {
|
|
395
|
+
let { description, errorMessage, isInvalid, validationState } = props;
|
|
396
|
+
let { labelProps, fieldProps } = $0beb20c9744a2065$export$8467354a121f1b9f(props);
|
|
397
|
+
let descriptionId = $390e54f620492c70$export$b4cc09c592e8fdb8([
|
|
398
|
+
Boolean(description),
|
|
399
|
+
Boolean(errorMessage),
|
|
400
|
+
isInvalid,
|
|
401
|
+
validationState
|
|
402
|
+
]);
|
|
403
|
+
let errorMessageId = $390e54f620492c70$export$b4cc09c592e8fdb8([
|
|
404
|
+
Boolean(description),
|
|
405
|
+
Boolean(errorMessage),
|
|
406
|
+
isInvalid,
|
|
407
|
+
validationState
|
|
408
|
+
]);
|
|
409
|
+
fieldProps = $bbaa08b3cd72f041$export$9d1611c77c2fe928(fieldProps, { "aria-describedby": [
|
|
410
|
+
descriptionId,
|
|
411
|
+
errorMessageId,
|
|
412
|
+
props["aria-describedby"]
|
|
413
|
+
].filter(Boolean).join(" ") || void 0 });
|
|
414
|
+
return {
|
|
415
|
+
labelProps,
|
|
416
|
+
fieldProps,
|
|
417
|
+
descriptionProps: { id: descriptionId },
|
|
418
|
+
errorMessageProps: { id: errorMessageId }
|
|
419
|
+
};
|
|
420
|
+
}
|
|
421
|
+
//#endregion
|
|
422
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
|
|
423
|
+
function $2c9edc598a03d523$export$420e68273165f4ec(props) {
|
|
424
|
+
let { isDisabled, onBlurWithin, onFocusWithin, onFocusWithinChange } = props;
|
|
425
|
+
let state = useRef({ isFocusWithin: false });
|
|
426
|
+
let { addGlobalListener, removeAllGlobalListeners } = $48a7d519b337145d$export$4eaf04e54aa8eed6();
|
|
427
|
+
let onBlur = useCallback((e) => {
|
|
428
|
+
if (!$23f2114a1b82827e$export$4282f70798064fe0(e.currentTarget, $23f2114a1b82827e$export$e58f029f0fbfdb29(e))) return;
|
|
429
|
+
if (state.current.isFocusWithin && !$23f2114a1b82827e$export$4282f70798064fe0(e.currentTarget, e.relatedTarget)) {
|
|
430
|
+
state.current.isFocusWithin = false;
|
|
431
|
+
removeAllGlobalListeners();
|
|
432
|
+
if (onBlurWithin) onBlurWithin(e);
|
|
433
|
+
if (onFocusWithinChange) onFocusWithinChange(false);
|
|
434
|
+
}
|
|
435
|
+
}, [
|
|
436
|
+
onBlurWithin,
|
|
437
|
+
onFocusWithinChange,
|
|
438
|
+
state,
|
|
439
|
+
removeAllGlobalListeners
|
|
440
|
+
]);
|
|
441
|
+
let onSyntheticFocus = $a92dc41f639950be$export$715c682d09d639cc(onBlur);
|
|
442
|
+
let onFocus = useCallback((e) => {
|
|
443
|
+
if (!$23f2114a1b82827e$export$4282f70798064fe0(e.currentTarget, $23f2114a1b82827e$export$e58f029f0fbfdb29(e))) return;
|
|
444
|
+
let eventTarget = $23f2114a1b82827e$export$e58f029f0fbfdb29(e);
|
|
445
|
+
const ownerDocument = $d447af545b77c9f1$export$b204af158042fbac(eventTarget);
|
|
446
|
+
const activeElement = $23f2114a1b82827e$export$cd4e5573fbe2b576(ownerDocument);
|
|
447
|
+
if (!state.current.isFocusWithin && activeElement === eventTarget) {
|
|
448
|
+
if (onFocusWithin) onFocusWithin(e);
|
|
449
|
+
if (onFocusWithinChange) onFocusWithinChange(true);
|
|
450
|
+
state.current.isFocusWithin = true;
|
|
451
|
+
onSyntheticFocus(e);
|
|
452
|
+
let currentTarget = e.currentTarget;
|
|
453
|
+
addGlobalListener(ownerDocument, "focus", (e) => {
|
|
454
|
+
let eventTarget = $23f2114a1b82827e$export$e58f029f0fbfdb29(e);
|
|
455
|
+
if (state.current.isFocusWithin && !$23f2114a1b82827e$export$4282f70798064fe0(currentTarget, eventTarget)) {
|
|
456
|
+
let nativeEvent = new ownerDocument.defaultView.FocusEvent("blur", { relatedTarget: eventTarget });
|
|
457
|
+
$a92dc41f639950be$export$c2b7abe5d61ec696(nativeEvent, currentTarget);
|
|
458
|
+
let event = $a92dc41f639950be$export$525bc4921d56d4a(nativeEvent);
|
|
459
|
+
onBlur(event);
|
|
460
|
+
}
|
|
461
|
+
}, { capture: true });
|
|
462
|
+
}
|
|
463
|
+
}, [
|
|
464
|
+
onFocusWithin,
|
|
465
|
+
onFocusWithinChange,
|
|
466
|
+
onSyntheticFocus,
|
|
467
|
+
addGlobalListener,
|
|
468
|
+
onBlur
|
|
469
|
+
]);
|
|
470
|
+
if (isDisabled) return { focusWithinProps: {
|
|
471
|
+
onFocus: void 0,
|
|
472
|
+
onBlur: void 0
|
|
473
|
+
} };
|
|
474
|
+
return { focusWithinProps: {
|
|
475
|
+
onFocus,
|
|
476
|
+
onBlur
|
|
477
|
+
} };
|
|
478
|
+
}
|
|
479
|
+
//#endregion
|
|
480
|
+
//#region ../../node_modules/.bun/@internationalized+number@3.6.7/node_modules/@internationalized/number/dist/private/NumberFormatter.mjs
|
|
481
|
+
let $1dfb119a85e764e5$var$formatterCache = /* @__PURE__ */ new Map();
|
|
482
|
+
let $1dfb119a85e764e5$var$supportsSignDisplay = false;
|
|
483
|
+
try {
|
|
484
|
+
$1dfb119a85e764e5$var$supportsSignDisplay = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
|
|
485
|
+
} catch {}
|
|
486
|
+
let $1dfb119a85e764e5$var$supportsUnit = false;
|
|
487
|
+
try {
|
|
488
|
+
$1dfb119a85e764e5$var$supportsUnit = new Intl.NumberFormat("de-DE", {
|
|
489
|
+
style: "unit",
|
|
490
|
+
unit: "degree"
|
|
491
|
+
}).resolvedOptions().style === "unit";
|
|
492
|
+
} catch {}
|
|
493
|
+
const $1dfb119a85e764e5$var$UNITS = { degree: { narrow: {
|
|
494
|
+
default: "°",
|
|
495
|
+
"ja-JP": " 度",
|
|
496
|
+
"zh-TW": "度",
|
|
497
|
+
"sl-SI": " °"
|
|
498
|
+
} } };
|
|
499
|
+
var $1dfb119a85e764e5$export$cc77c4ff7e8673c5 = class {
|
|
500
|
+
constructor(locale, options = {}) {
|
|
501
|
+
this.numberFormatter = $1dfb119a85e764e5$var$getCachedNumberFormatter(locale, options);
|
|
502
|
+
this.options = options;
|
|
503
|
+
}
|
|
504
|
+
/**
|
|
505
|
+
* Formats a number value as a string, according to the locale and options provided to the
|
|
506
|
+
* constructor.
|
|
507
|
+
*/ format(value) {
|
|
508
|
+
let res = "";
|
|
509
|
+
if (!$1dfb119a85e764e5$var$supportsSignDisplay && this.options.signDisplay != null) res = $1dfb119a85e764e5$export$711b50b3c525e0f2(this.numberFormatter, this.options.signDisplay, value);
|
|
510
|
+
else res = this.numberFormatter.format(value);
|
|
511
|
+
if (this.options.style === "unit" && !$1dfb119a85e764e5$var$supportsUnit) {
|
|
512
|
+
let { unit, unitDisplay = "short", locale } = this.resolvedOptions();
|
|
513
|
+
if (!unit) return res;
|
|
514
|
+
let values = $1dfb119a85e764e5$var$UNITS[unit]?.[unitDisplay];
|
|
515
|
+
res += values[locale] || values.default;
|
|
516
|
+
}
|
|
517
|
+
return res;
|
|
518
|
+
}
|
|
519
|
+
/** Formats a number to an array of parts such as separators, digits, punctuation, and more. */ formatToParts(value) {
|
|
520
|
+
return this.numberFormatter.formatToParts(value);
|
|
521
|
+
}
|
|
522
|
+
/** Formats a number range as a string. */ formatRange(start, end) {
|
|
523
|
+
if (typeof this.numberFormatter.formatRange === "function") return this.numberFormatter.formatRange(start, end);
|
|
524
|
+
if (end < start) throw new RangeError("End date must be >= start date");
|
|
525
|
+
return `${this.format(start)} \u{2013} ${this.format(end)}`;
|
|
526
|
+
}
|
|
527
|
+
/** Formats a number range as an array of parts. */ formatRangeToParts(start, end) {
|
|
528
|
+
if (typeof this.numberFormatter.formatRangeToParts === "function") return this.numberFormatter.formatRangeToParts(start, end);
|
|
529
|
+
if (end < start) throw new RangeError("End date must be >= start date");
|
|
530
|
+
let startParts = this.numberFormatter.formatToParts(start);
|
|
531
|
+
let endParts = this.numberFormatter.formatToParts(end);
|
|
532
|
+
return [
|
|
533
|
+
...startParts.map((p) => ({
|
|
534
|
+
...p,
|
|
535
|
+
source: "startRange"
|
|
536
|
+
})),
|
|
537
|
+
{
|
|
538
|
+
type: "literal",
|
|
539
|
+
value: " – ",
|
|
540
|
+
source: "shared"
|
|
541
|
+
},
|
|
542
|
+
...endParts.map((p) => ({
|
|
543
|
+
...p,
|
|
544
|
+
source: "endRange"
|
|
545
|
+
}))
|
|
546
|
+
];
|
|
547
|
+
}
|
|
548
|
+
/** Returns the resolved formatting options based on the values passed to the constructor. */ resolvedOptions() {
|
|
549
|
+
let options = this.numberFormatter.resolvedOptions();
|
|
550
|
+
if (!$1dfb119a85e764e5$var$supportsSignDisplay && this.options.signDisplay != null) options = {
|
|
551
|
+
...options,
|
|
552
|
+
signDisplay: this.options.signDisplay
|
|
553
|
+
};
|
|
554
|
+
if (!$1dfb119a85e764e5$var$supportsUnit && this.options.style === "unit") options = {
|
|
555
|
+
...options,
|
|
556
|
+
style: "unit",
|
|
557
|
+
unit: this.options.unit,
|
|
558
|
+
unitDisplay: this.options.unitDisplay
|
|
559
|
+
};
|
|
560
|
+
return options;
|
|
561
|
+
}
|
|
562
|
+
};
|
|
563
|
+
function $1dfb119a85e764e5$var$getCachedNumberFormatter(locale, options = {}) {
|
|
564
|
+
let { numberingSystem } = options;
|
|
565
|
+
if (numberingSystem && locale.includes("-nu-")) {
|
|
566
|
+
if (!locale.includes("-u-")) locale += "-u-";
|
|
567
|
+
locale += `-nu-${numberingSystem}`;
|
|
568
|
+
}
|
|
569
|
+
if (options.style === "unit" && !$1dfb119a85e764e5$var$supportsUnit) {
|
|
570
|
+
let { unit, unitDisplay = "short" } = options;
|
|
571
|
+
if (!unit) throw new Error("unit option must be provided with style: \"unit\"");
|
|
572
|
+
if (!$1dfb119a85e764e5$var$UNITS[unit]?.[unitDisplay]) throw new Error(`Unsupported unit ${unit} with unitDisplay = ${unitDisplay}`);
|
|
573
|
+
options = {
|
|
574
|
+
...options,
|
|
575
|
+
style: "decimal"
|
|
576
|
+
};
|
|
577
|
+
}
|
|
578
|
+
let cacheKey = locale + (options ? Object.entries(options).sort((a, b) => a[0] < b[0] ? -1 : 1).join() : "");
|
|
579
|
+
if ($1dfb119a85e764e5$var$formatterCache.has(cacheKey)) return $1dfb119a85e764e5$var$formatterCache.get(cacheKey);
|
|
580
|
+
let numberFormatter = new Intl.NumberFormat(locale, options);
|
|
581
|
+
$1dfb119a85e764e5$var$formatterCache.set(cacheKey, numberFormatter);
|
|
582
|
+
return numberFormatter;
|
|
583
|
+
}
|
|
584
|
+
function $1dfb119a85e764e5$export$711b50b3c525e0f2(numberFormat, signDisplay, num) {
|
|
585
|
+
if (signDisplay === "auto") return numberFormat.format(num);
|
|
586
|
+
else if (signDisplay === "never") return numberFormat.format(Math.abs(num));
|
|
587
|
+
else {
|
|
588
|
+
let needsPositiveSign = false;
|
|
589
|
+
if (signDisplay === "always") needsPositiveSign = num > 0 || Object.is(num, 0);
|
|
590
|
+
else if (signDisplay === "exceptZero") {
|
|
591
|
+
if (Object.is(num, -0) || Object.is(num, 0)) num = Math.abs(num);
|
|
592
|
+
else needsPositiveSign = num > 0;
|
|
593
|
+
}
|
|
594
|
+
if (needsPositiveSign) {
|
|
595
|
+
let negative = numberFormat.format(-num);
|
|
596
|
+
let noSign = numberFormat.format(num);
|
|
597
|
+
let minus = negative.replace(noSign, "").replace(/\u200e|\u061C/, "");
|
|
598
|
+
if ([...minus].length !== 1) console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case");
|
|
599
|
+
return negative.replace(noSign, "!!!").replace(minus, "+").replace("!!!", noSign);
|
|
600
|
+
} else return numberFormat.format(num);
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
//#endregion
|
|
604
|
+
//#region ../../node_modules/.bun/@internationalized+number@3.6.7/node_modules/@internationalized/number/dist/private/NumberParser.mjs
|
|
605
|
+
const $eb76cf4feb040f77$var$CURRENCY_SIGN_REGEX = /* @__PURE__ */ new RegExp("^.*\\(.*\\).*$");
|
|
606
|
+
const $eb76cf4feb040f77$var$NUMBERING_SYSTEMS = [
|
|
607
|
+
"latn",
|
|
608
|
+
"arab",
|
|
609
|
+
"hanidec",
|
|
610
|
+
"deva",
|
|
611
|
+
"beng",
|
|
612
|
+
"fullwide"
|
|
613
|
+
];
|
|
614
|
+
var $eb76cf4feb040f77$export$cd11ab140839f11d = class {
|
|
615
|
+
constructor(locale, options = {}) {
|
|
616
|
+
this.locale = locale;
|
|
617
|
+
this.options = options;
|
|
618
|
+
}
|
|
619
|
+
/**
|
|
620
|
+
* Parses the given string to a number. Returns NaN if a valid number could not be parsed.
|
|
621
|
+
*/ parse(value) {
|
|
622
|
+
return $eb76cf4feb040f77$var$getNumberParserImpl(this.locale, this.options, value).parse(value);
|
|
623
|
+
}
|
|
624
|
+
/**
|
|
625
|
+
* Returns whether the given string could potentially be a valid number. This should be used to
|
|
626
|
+
* validate user input as the user types. If a `minValue` or `maxValue` is provided, the validity
|
|
627
|
+
* of the minus/plus sign characters can be checked.
|
|
628
|
+
*/ isValidPartialNumber(value, minValue, maxValue) {
|
|
629
|
+
return $eb76cf4feb040f77$var$getNumberParserImpl(this.locale, this.options, value).isValidPartialNumber(value, minValue, maxValue);
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
* Returns a numbering system for which the given string is valid in the current locale.
|
|
633
|
+
* If no numbering system could be detected, the default numbering system for the current
|
|
634
|
+
* locale is returned.
|
|
635
|
+
*/ getNumberingSystem(value) {
|
|
636
|
+
return $eb76cf4feb040f77$var$getNumberParserImpl(this.locale, this.options, value).options.numberingSystem;
|
|
637
|
+
}
|
|
638
|
+
};
|
|
639
|
+
const $eb76cf4feb040f77$var$numberParserCache = /* @__PURE__ */ new Map();
|
|
640
|
+
function $eb76cf4feb040f77$var$getNumberParserImpl(locale, options, value) {
|
|
641
|
+
let defaultParser = $eb76cf4feb040f77$var$getCachedNumberParser(locale, options);
|
|
642
|
+
if (!locale.includes("-nu-") && !defaultParser.isValidPartialNumber(value)) {
|
|
643
|
+
for (let numberingSystem of $eb76cf4feb040f77$var$NUMBERING_SYSTEMS) if (numberingSystem !== defaultParser.options.numberingSystem) {
|
|
644
|
+
let parser = $eb76cf4feb040f77$var$getCachedNumberParser(locale + (locale.includes("-u-") ? "-nu-" : "-u-nu-") + numberingSystem, options);
|
|
645
|
+
if (parser.isValidPartialNumber(value)) return parser;
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
return defaultParser;
|
|
649
|
+
}
|
|
650
|
+
function $eb76cf4feb040f77$var$getCachedNumberParser(locale, options) {
|
|
651
|
+
let cacheKey = locale + (options ? Object.entries(options).sort((a, b) => a[0] < b[0] ? -1 : 1).join() : "");
|
|
652
|
+
let parser = $eb76cf4feb040f77$var$numberParserCache.get(cacheKey);
|
|
653
|
+
if (!parser) {
|
|
654
|
+
parser = new $eb76cf4feb040f77$var$NumberParserImpl(locale, options);
|
|
655
|
+
$eb76cf4feb040f77$var$numberParserCache.set(cacheKey, parser);
|
|
656
|
+
}
|
|
657
|
+
return parser;
|
|
658
|
+
}
|
|
659
|
+
var $eb76cf4feb040f77$var$NumberParserImpl = class {
|
|
660
|
+
constructor(locale, options = {}) {
|
|
661
|
+
this.locale = locale;
|
|
662
|
+
if (options.roundingIncrement !== 1 && options.roundingIncrement != null) {
|
|
663
|
+
if (options.maximumFractionDigits == null && options.minimumFractionDigits == null) {
|
|
664
|
+
options.maximumFractionDigits = 0;
|
|
665
|
+
options.minimumFractionDigits = 0;
|
|
666
|
+
} else if (options.maximumFractionDigits == null) options.maximumFractionDigits = options.minimumFractionDigits;
|
|
667
|
+
else if (options.minimumFractionDigits == null) options.minimumFractionDigits = options.maximumFractionDigits;
|
|
668
|
+
}
|
|
669
|
+
this.formatter = new Intl.NumberFormat(locale, options);
|
|
670
|
+
this.options = this.formatter.resolvedOptions();
|
|
671
|
+
this.symbols = $eb76cf4feb040f77$var$getSymbols(locale, this.formatter, this.options, options);
|
|
672
|
+
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.");
|
|
673
|
+
}
|
|
674
|
+
parse(value) {
|
|
675
|
+
let isGroupSymbolAllowed = this.formatter.resolvedOptions().useGrouping;
|
|
676
|
+
let fullySanitizedValue = this.sanitize(value);
|
|
677
|
+
if (!isGroupSymbolAllowed && this.symbols.group && fullySanitizedValue.includes(this.symbols.group)) return NaN;
|
|
678
|
+
else if (this.symbols.group) fullySanitizedValue = fullySanitizedValue.replaceAll(this.symbols.group, "");
|
|
679
|
+
if (this.symbols.decimal) fullySanitizedValue = fullySanitizedValue.replace(this.symbols.decimal, ".");
|
|
680
|
+
if (this.symbols.minusSign) fullySanitizedValue = fullySanitizedValue.replace(this.symbols.minusSign, "-");
|
|
681
|
+
fullySanitizedValue = fullySanitizedValue.replace(this.symbols.numeral, this.symbols.index);
|
|
682
|
+
if (this.options.style === "percent") {
|
|
683
|
+
let isNegative = fullySanitizedValue.indexOf("-");
|
|
684
|
+
fullySanitizedValue = fullySanitizedValue.replace("-", "");
|
|
685
|
+
fullySanitizedValue = fullySanitizedValue.replace("+", "");
|
|
686
|
+
let index = fullySanitizedValue.indexOf(".");
|
|
687
|
+
if (index === -1) index = fullySanitizedValue.length;
|
|
688
|
+
fullySanitizedValue = fullySanitizedValue.replace(".", "");
|
|
689
|
+
if (index - 2 === 0) fullySanitizedValue = `0.${fullySanitizedValue}`;
|
|
690
|
+
else if (index - 2 === -1) fullySanitizedValue = `0.0${fullySanitizedValue}`;
|
|
691
|
+
else if (index - 2 === -2) fullySanitizedValue = "0.00";
|
|
692
|
+
else fullySanitizedValue = `${fullySanitizedValue.slice(0, index - 2)}.${fullySanitizedValue.slice(index - 2)}`;
|
|
693
|
+
if (isNegative > -1) fullySanitizedValue = `-${fullySanitizedValue}`;
|
|
694
|
+
}
|
|
695
|
+
let newValue = fullySanitizedValue ? +fullySanitizedValue : NaN;
|
|
696
|
+
if (isNaN(newValue)) return NaN;
|
|
697
|
+
if (this.options.style === "percent") {
|
|
698
|
+
let options = {
|
|
699
|
+
...this.options,
|
|
700
|
+
style: "decimal",
|
|
701
|
+
minimumFractionDigits: Math.min((this.options.minimumFractionDigits ?? 0) + 2, 20),
|
|
702
|
+
maximumFractionDigits: Math.min((this.options.maximumFractionDigits ?? 0) + 2, 20)
|
|
703
|
+
};
|
|
704
|
+
return new $eb76cf4feb040f77$export$cd11ab140839f11d(this.locale, options).parse(new $1dfb119a85e764e5$export$cc77c4ff7e8673c5(this.locale, options).format(newValue));
|
|
705
|
+
}
|
|
706
|
+
if (this.options.currencySign === "accounting" && $eb76cf4feb040f77$var$CURRENCY_SIGN_REGEX.test(value)) newValue = -1 * newValue;
|
|
707
|
+
return newValue;
|
|
708
|
+
}
|
|
709
|
+
sanitize(value) {
|
|
710
|
+
let isGroupSymbolAllowed = this.formatter.resolvedOptions().useGrouping;
|
|
711
|
+
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();
|
|
712
|
+
value = value.replace(this.symbols.literals, "");
|
|
713
|
+
if (this.symbols.minusSign) value = value.replace("-", this.symbols.minusSign);
|
|
714
|
+
if (this.options.numberingSystem === "arab") {
|
|
715
|
+
if (this.symbols.decimal) {
|
|
716
|
+
value = $eb76cf4feb040f77$var$replaceAll(value, ",", this.symbols.decimal);
|
|
717
|
+
value = $eb76cf4feb040f77$var$replaceAll(value, String.fromCharCode(1548), this.symbols.decimal);
|
|
718
|
+
}
|
|
719
|
+
if (this.symbols.group && isGroupSymbolAllowed) value = $eb76cf4feb040f77$var$replaceAll(value, ".", this.symbols.group);
|
|
720
|
+
}
|
|
721
|
+
if (this.symbols.group === "’" && value.includes("'") && isGroupSymbolAllowed) value = $eb76cf4feb040f77$var$replaceAll(value, "'", this.symbols.group);
|
|
722
|
+
if (this.symbols.group === "'" && value.includes("’") && isGroupSymbolAllowed) value = $eb76cf4feb040f77$var$replaceAll(value, "’", this.symbols.group);
|
|
723
|
+
if (this.options.locale === "fr-FR" && this.symbols.group && isGroupSymbolAllowed) {
|
|
724
|
+
value = $eb76cf4feb040f77$var$replaceAll(value, " ", this.symbols.group);
|
|
725
|
+
value = $eb76cf4feb040f77$var$replaceAll(value, /\u00A0/g, this.symbols.group);
|
|
726
|
+
}
|
|
727
|
+
return value;
|
|
728
|
+
}
|
|
729
|
+
isValidPartialNumber(value, minValue = -Infinity, maxValue = Infinity) {
|
|
730
|
+
let isGroupSymbolAllowed = this.formatter.resolvedOptions().useGrouping;
|
|
731
|
+
value = this.sanitize(value);
|
|
732
|
+
if (this.symbols.minusSign && value.startsWith(this.symbols.minusSign) && minValue < 0) value = value.slice(this.symbols.minusSign.length);
|
|
733
|
+
else if (this.symbols.plusSign && value.startsWith(this.symbols.plusSign) && maxValue > 0) value = value.slice(this.symbols.plusSign.length);
|
|
734
|
+
if (this.symbols.decimal && value.indexOf(this.symbols.decimal) > -1 && this.options.maximumFractionDigits === 0) return false;
|
|
735
|
+
if (this.symbols.group && isGroupSymbolAllowed) value = $eb76cf4feb040f77$var$replaceAll(value, this.symbols.group, "");
|
|
736
|
+
value = value.replace(this.symbols.numeral, "");
|
|
737
|
+
if (this.symbols.decimal) value = value.replace(this.symbols.decimal, "");
|
|
738
|
+
return value.length === 0;
|
|
739
|
+
}
|
|
740
|
+
};
|
|
741
|
+
const $eb76cf4feb040f77$var$nonLiteralParts = /* @__PURE__ */ new Set([
|
|
742
|
+
"decimal",
|
|
743
|
+
"fraction",
|
|
744
|
+
"integer",
|
|
745
|
+
"minusSign",
|
|
746
|
+
"plusSign",
|
|
747
|
+
"group"
|
|
748
|
+
]);
|
|
749
|
+
const $eb76cf4feb040f77$var$pluralNumbers = [
|
|
750
|
+
0,
|
|
751
|
+
4,
|
|
752
|
+
2,
|
|
753
|
+
1,
|
|
754
|
+
11,
|
|
755
|
+
20,
|
|
756
|
+
3,
|
|
757
|
+
7,
|
|
758
|
+
100,
|
|
759
|
+
21,
|
|
760
|
+
.1,
|
|
761
|
+
1.1
|
|
762
|
+
];
|
|
763
|
+
function $eb76cf4feb040f77$var$getSymbols(locale, formatter, intlOptions, originalOptions) {
|
|
764
|
+
let symbolFormatter = new Intl.NumberFormat(locale, {
|
|
765
|
+
...intlOptions,
|
|
766
|
+
minimumSignificantDigits: 1,
|
|
767
|
+
maximumSignificantDigits: 21,
|
|
768
|
+
roundingIncrement: 1,
|
|
769
|
+
roundingPriority: "auto",
|
|
770
|
+
roundingMode: "halfExpand",
|
|
771
|
+
useGrouping: true
|
|
772
|
+
});
|
|
773
|
+
let allParts = symbolFormatter.formatToParts(-10000.111);
|
|
774
|
+
let posAllParts = symbolFormatter.formatToParts(10000.111);
|
|
775
|
+
let pluralParts = $eb76cf4feb040f77$var$pluralNumbers.map((n) => symbolFormatter.formatToParts(n));
|
|
776
|
+
let noNumeralUnits = pluralParts.map((p, i) => {
|
|
777
|
+
let unit = p.find((p) => p.type === "unit");
|
|
778
|
+
if (unit && !p.some((p) => p.type === "integer" || p.type === "fraction")) return {
|
|
779
|
+
unit: unit.value,
|
|
780
|
+
value: $eb76cf4feb040f77$var$pluralNumbers[i]
|
|
781
|
+
};
|
|
782
|
+
return null;
|
|
783
|
+
}).filter((p) => !!p);
|
|
784
|
+
let minusSign = allParts.find((p) => p.type === "minusSign")?.value ?? "-";
|
|
785
|
+
let plusSign = posAllParts.find((p) => p.type === "plusSign")?.value;
|
|
786
|
+
if (!plusSign && (originalOptions?.signDisplay === "exceptZero" || originalOptions?.signDisplay === "always")) plusSign = "+";
|
|
787
|
+
let decimal = new Intl.NumberFormat(locale, {
|
|
788
|
+
...intlOptions,
|
|
789
|
+
minimumFractionDigits: 2,
|
|
790
|
+
maximumFractionDigits: 2
|
|
791
|
+
}).formatToParts(.001).find((p) => p.type === "decimal")?.value;
|
|
792
|
+
let group = allParts.find((p) => p.type === "group")?.value;
|
|
793
|
+
let allPartsLiterals = allParts.filter((p) => !$eb76cf4feb040f77$var$nonLiteralParts.has(p.type)).map((p) => $eb76cf4feb040f77$var$escapeRegex(p.value));
|
|
794
|
+
let pluralPartsLiterals = pluralParts.flatMap((p) => p.filter((p) => !$eb76cf4feb040f77$var$nonLiteralParts.has(p.type)).map((p) => $eb76cf4feb040f77$var$escapeRegex(p.value)));
|
|
795
|
+
let sortedLiterals = [.../* @__PURE__ */ new Set([...allPartsLiterals, ...pluralPartsLiterals])].sort((a, b) => b.length - a.length);
|
|
796
|
+
let literals = sortedLiterals.length === 0 ? /* @__PURE__ */ new RegExp("\\p{White_Space}|\\p{Cf}", "gu") : new RegExp(`${sortedLiterals.join("|")}|\\p{White_Space}|\\p{Cf}`, "gu");
|
|
797
|
+
let numerals = [...new Intl.NumberFormat(intlOptions.locale, { useGrouping: false }).format(9876543210)].reverse();
|
|
798
|
+
let indexes = new Map(numerals.map((d, i) => [d, i]));
|
|
799
|
+
let numeral = new RegExp(`[${numerals.join("")}]`, "g");
|
|
800
|
+
let index = (d) => String(indexes.get(d));
|
|
801
|
+
return {
|
|
802
|
+
minusSign,
|
|
803
|
+
plusSign,
|
|
804
|
+
decimal,
|
|
805
|
+
group,
|
|
806
|
+
literals,
|
|
807
|
+
numeral,
|
|
808
|
+
numerals,
|
|
809
|
+
index,
|
|
810
|
+
noNumeralUnits
|
|
811
|
+
};
|
|
812
|
+
}
|
|
813
|
+
function $eb76cf4feb040f77$var$replaceAll(str, find, replace) {
|
|
814
|
+
if (str.replaceAll) return str.replaceAll(find, replace);
|
|
815
|
+
return str.split(find).join(replace);
|
|
816
|
+
}
|
|
817
|
+
function $eb76cf4feb040f77$var$escapeRegex(string) {
|
|
818
|
+
return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
819
|
+
}
|
|
820
|
+
//#endregion
|
|
821
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/ar-AE.mjs
|
|
822
|
+
var $c03aa2dde3f54f51$exports = {};
|
|
823
|
+
$c03aa2dde3f54f51$exports = { "Empty": `\u{641}\u{627}\u{631}\u{63A}` };
|
|
824
|
+
//#endregion
|
|
825
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/bg-BG.mjs
|
|
826
|
+
var $d612b270ee5ea6ca$exports = {};
|
|
827
|
+
$d612b270ee5ea6ca$exports = { "Empty": `\u{418}\u{437}\u{43F}\u{440}\u{430}\u{437}\u{43D}\u{438}` };
|
|
828
|
+
//#endregion
|
|
829
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/cs-CZ.mjs
|
|
830
|
+
var $9516ade4a4f015ec$exports = {};
|
|
831
|
+
$9516ade4a4f015ec$exports = { "Empty": `Pr\xe1zdn\xe9` };
|
|
832
|
+
//#endregion
|
|
833
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/da-DK.mjs
|
|
834
|
+
var $41d49e6197917be1$exports = {};
|
|
835
|
+
$41d49e6197917be1$exports = { "Empty": `Tom` };
|
|
836
|
+
//#endregion
|
|
837
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/de-DE.mjs
|
|
838
|
+
var $23b4dd964f7cc840$exports = {};
|
|
839
|
+
$23b4dd964f7cc840$exports = { "Empty": `Leer` };
|
|
840
|
+
//#endregion
|
|
841
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/el-GR.mjs
|
|
842
|
+
var $18cf3acc4056ec0e$exports = {};
|
|
843
|
+
$18cf3acc4056ec0e$exports = { "Empty": `\u{386}\u{3B4}\u{3B5}\u{3B9}\u{3BF}` };
|
|
844
|
+
//#endregion
|
|
845
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/en-US.mjs
|
|
846
|
+
var $df59f74ff621f180$exports = {};
|
|
847
|
+
$df59f74ff621f180$exports = { "Empty": `Empty` };
|
|
848
|
+
//#endregion
|
|
849
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/es-ES.mjs
|
|
850
|
+
var $1a750506d5a4610f$exports = {};
|
|
851
|
+
$1a750506d5a4610f$exports = { "Empty": `Vac\xedo` };
|
|
852
|
+
//#endregion
|
|
853
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/et-EE.mjs
|
|
854
|
+
var $8e1ed6a70b6e99d0$exports = {};
|
|
855
|
+
$8e1ed6a70b6e99d0$exports = { "Empty": `T\xfchjenda` };
|
|
856
|
+
//#endregion
|
|
857
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/fi-FI.mjs
|
|
858
|
+
var $bda17b3c68ec60e0$exports = {};
|
|
859
|
+
$bda17b3c68ec60e0$exports = { "Empty": `Tyhj\xe4` };
|
|
860
|
+
//#endregion
|
|
861
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/fr-FR.mjs
|
|
862
|
+
var $dfccc3416d8619f2$exports = {};
|
|
863
|
+
$dfccc3416d8619f2$exports = { "Empty": `Vide` };
|
|
864
|
+
//#endregion
|
|
865
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/he-IL.mjs
|
|
866
|
+
var $03ad7cde4af17dbc$exports = {};
|
|
867
|
+
$03ad7cde4af17dbc$exports = { "Empty": `\u{5E8}\u{5D9}\u{5E7}` };
|
|
868
|
+
//#endregion
|
|
869
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/hr-HR.mjs
|
|
870
|
+
var $3d83efd6529bcc21$exports = {};
|
|
871
|
+
$3d83efd6529bcc21$exports = { "Empty": `Prazno` };
|
|
872
|
+
//#endregion
|
|
873
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/hu-HU.mjs
|
|
874
|
+
var $3cf52fb2bf374b1e$exports = {};
|
|
875
|
+
$3cf52fb2bf374b1e$exports = { "Empty": `\xdcres` };
|
|
876
|
+
//#endregion
|
|
877
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/it-IT.mjs
|
|
878
|
+
var $6a6f2c49f92bd42e$exports = {};
|
|
879
|
+
$6a6f2c49f92bd42e$exports = { "Empty": `Vuoto` };
|
|
880
|
+
//#endregion
|
|
881
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/ja-JP.mjs
|
|
882
|
+
var $3cc0319ead4d5f7a$exports = {};
|
|
883
|
+
$3cc0319ead4d5f7a$exports = { "Empty": `\u{7A7A}` };
|
|
884
|
+
//#endregion
|
|
885
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/ko-KR.mjs
|
|
886
|
+
var $24d65dbbedc50cf8$exports = {};
|
|
887
|
+
$24d65dbbedc50cf8$exports = { "Empty": `\u{BE44}\u{C5B4} \u{C788}\u{C74C}` };
|
|
888
|
+
//#endregion
|
|
889
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/lt-LT.mjs
|
|
890
|
+
var $9022dcf5dfa5b508$exports = {};
|
|
891
|
+
$9022dcf5dfa5b508$exports = { "Empty": `Tu\u{161}\u{10D}ias` };
|
|
892
|
+
//#endregion
|
|
893
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/lv-LV.mjs
|
|
894
|
+
var $6746207c35f8a73d$exports = {};
|
|
895
|
+
$6746207c35f8a73d$exports = { "Empty": `Tuk\u{161}s` };
|
|
896
|
+
//#endregion
|
|
897
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/nb-NO.mjs
|
|
898
|
+
var $e23e2c12aa0580ab$exports = {};
|
|
899
|
+
$e23e2c12aa0580ab$exports = { "Empty": `Tom` };
|
|
900
|
+
//#endregion
|
|
901
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/nl-NL.mjs
|
|
902
|
+
var $7a42c3dae25ebf3e$exports = {};
|
|
903
|
+
$7a42c3dae25ebf3e$exports = { "Empty": `Leeg` };
|
|
904
|
+
//#endregion
|
|
905
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/pl-PL.mjs
|
|
906
|
+
var $f033322c769d9228$exports = {};
|
|
907
|
+
$f033322c769d9228$exports = { "Empty": `Pusty` };
|
|
908
|
+
//#endregion
|
|
909
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/pt-BR.mjs
|
|
910
|
+
var $bff6557112f09a21$exports = {};
|
|
911
|
+
$bff6557112f09a21$exports = { "Empty": `Vazio` };
|
|
912
|
+
//#endregion
|
|
913
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/pt-PT.mjs
|
|
914
|
+
var $69371b06c393f3b9$exports = {};
|
|
915
|
+
$69371b06c393f3b9$exports = { "Empty": `Vazio` };
|
|
916
|
+
//#endregion
|
|
917
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/ro-RO.mjs
|
|
918
|
+
var $76fd2ca03adf7a37$exports = {};
|
|
919
|
+
$76fd2ca03adf7a37$exports = { "Empty": `Gol` };
|
|
920
|
+
//#endregion
|
|
921
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/ru-RU.mjs
|
|
922
|
+
var $fa02fe0d4c09a614$exports = {};
|
|
923
|
+
$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}` };
|
|
924
|
+
//#endregion
|
|
925
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/sk-SK.mjs
|
|
926
|
+
var $a240aba809e2b311$exports = {};
|
|
927
|
+
$a240aba809e2b311$exports = { "Empty": `Pr\xe1zdne` };
|
|
928
|
+
//#endregion
|
|
929
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/sl-SI.mjs
|
|
930
|
+
var $2c29d48084ee6251$exports = {};
|
|
931
|
+
$2c29d48084ee6251$exports = { "Empty": `Prazen` };
|
|
932
|
+
//#endregion
|
|
933
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/sr-SP.mjs
|
|
934
|
+
var $254c7eb682749050$exports = {};
|
|
935
|
+
$254c7eb682749050$exports = { "Empty": `Prazno` };
|
|
936
|
+
//#endregion
|
|
937
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/sv-SE.mjs
|
|
938
|
+
var $add997722e4d4b6e$exports = {};
|
|
939
|
+
$add997722e4d4b6e$exports = { "Empty": `Tomt` };
|
|
940
|
+
//#endregion
|
|
941
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/tr-TR.mjs
|
|
942
|
+
var $542f020fc9285606$exports = {};
|
|
943
|
+
$542f020fc9285606$exports = { "Empty": `Bo\u{15F}` };
|
|
944
|
+
//#endregion
|
|
945
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/uk-UA.mjs
|
|
946
|
+
var $3135b03c5e7cb78f$exports = {};
|
|
947
|
+
$3135b03c5e7cb78f$exports = { "Empty": `\u{41F}\u{443}\u{441}\u{442}\u{43E}` };
|
|
948
|
+
//#endregion
|
|
949
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/zh-CN.mjs
|
|
950
|
+
var $29092b8c778be040$exports = {};
|
|
951
|
+
$29092b8c778be040$exports = { "Empty": `\u{7A7A}` };
|
|
952
|
+
//#endregion
|
|
953
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/spinbutton/zh-TW.mjs
|
|
954
|
+
var $94b34635baf16223$exports = {};
|
|
955
|
+
$94b34635baf16223$exports = { "Empty": `\u{7A7A}\u{767D}` };
|
|
956
|
+
//#endregion
|
|
957
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/spinbutton/intlStrings.mjs
|
|
958
|
+
var $6279e3628ec747df$exports = {};
|
|
959
|
+
$6279e3628ec747df$exports = {
|
|
960
|
+
"ar-AE": $c03aa2dde3f54f51$exports,
|
|
961
|
+
"bg-BG": $d612b270ee5ea6ca$exports,
|
|
962
|
+
"cs-CZ": $9516ade4a4f015ec$exports,
|
|
963
|
+
"da-DK": $41d49e6197917be1$exports,
|
|
964
|
+
"de-DE": $23b4dd964f7cc840$exports,
|
|
965
|
+
"el-GR": $18cf3acc4056ec0e$exports,
|
|
966
|
+
"en-US": $df59f74ff621f180$exports,
|
|
967
|
+
"es-ES": $1a750506d5a4610f$exports,
|
|
968
|
+
"et-EE": $8e1ed6a70b6e99d0$exports,
|
|
969
|
+
"fi-FI": $bda17b3c68ec60e0$exports,
|
|
970
|
+
"fr-FR": $dfccc3416d8619f2$exports,
|
|
971
|
+
"he-IL": $03ad7cde4af17dbc$exports,
|
|
972
|
+
"hr-HR": $3d83efd6529bcc21$exports,
|
|
973
|
+
"hu-HU": $3cf52fb2bf374b1e$exports,
|
|
974
|
+
"it-IT": $6a6f2c49f92bd42e$exports,
|
|
975
|
+
"ja-JP": $3cc0319ead4d5f7a$exports,
|
|
976
|
+
"ko-KR": $24d65dbbedc50cf8$exports,
|
|
977
|
+
"lt-LT": $9022dcf5dfa5b508$exports,
|
|
978
|
+
"lv-LV": $6746207c35f8a73d$exports,
|
|
979
|
+
"nb-NO": $e23e2c12aa0580ab$exports,
|
|
980
|
+
"nl-NL": $7a42c3dae25ebf3e$exports,
|
|
981
|
+
"pl-PL": $f033322c769d9228$exports,
|
|
982
|
+
"pt-BR": $bff6557112f09a21$exports,
|
|
983
|
+
"pt-PT": $69371b06c393f3b9$exports,
|
|
984
|
+
"ro-RO": $76fd2ca03adf7a37$exports,
|
|
985
|
+
"ru-RU": $fa02fe0d4c09a614$exports,
|
|
986
|
+
"sk-SK": $a240aba809e2b311$exports,
|
|
987
|
+
"sl-SI": $2c29d48084ee6251$exports,
|
|
988
|
+
"sr-SP": $254c7eb682749050$exports,
|
|
989
|
+
"sv-SE": $add997722e4d4b6e$exports,
|
|
990
|
+
"tr-TR": $542f020fc9285606$exports,
|
|
991
|
+
"uk-UA": $3135b03c5e7cb78f$exports,
|
|
992
|
+
"zh-CN": $29092b8c778be040$exports,
|
|
993
|
+
"zh-TW": $94b34635baf16223$exports
|
|
994
|
+
};
|
|
995
|
+
//#endregion
|
|
996
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/spinbutton/useSpinButton.mjs
|
|
997
|
+
function $parcel$interopDefault(a) {
|
|
998
|
+
return a && a.__esModule ? a.default : a;
|
|
999
|
+
}
|
|
1000
|
+
const $757ec6630f26125c$var$noop = () => {};
|
|
1001
|
+
function $757ec6630f26125c$export$e908e06f4b8e3402(props) {
|
|
1002
|
+
const _async = useRef(void 0);
|
|
1003
|
+
let { value, textValue, minValue, maxValue, isDisabled, isReadOnly, isRequired, onIncrement, onIncrementPage, onDecrement, onDecrementPage, onDecrementToMin, onIncrementToMax } = props;
|
|
1004
|
+
const stringFormatter = $cf2482eff2eeeec2$export$f12b703ca79dfbb1($parcel$interopDefault($6279e3628ec747df$exports), "@react-aria/spinbutton");
|
|
1005
|
+
let isSpinning = useRef(false);
|
|
1006
|
+
const clearAsync = useCallback(() => {
|
|
1007
|
+
clearTimeout(_async.current);
|
|
1008
|
+
isSpinning.current = false;
|
|
1009
|
+
}, []);
|
|
1010
|
+
const clearAsyncEvent = $fe16bffc7a557bf0$export$7f54fc3180508a52(() => {
|
|
1011
|
+
clearAsync();
|
|
1012
|
+
});
|
|
1013
|
+
useEffect(() => {
|
|
1014
|
+
return () => clearAsyncEvent();
|
|
1015
|
+
}, []);
|
|
1016
|
+
let { keyboardProps } = $8296dad1a4c5e0dc$export$8f71654801c2f7cd({
|
|
1017
|
+
isDisabled: isDisabled || isReadOnly,
|
|
1018
|
+
shortcuts: {
|
|
1019
|
+
PageUp: () => {
|
|
1020
|
+
if (onIncrementPage) {
|
|
1021
|
+
onIncrementPage();
|
|
1022
|
+
return;
|
|
1023
|
+
}
|
|
1024
|
+
if (onIncrement) {
|
|
1025
|
+
onIncrement();
|
|
1026
|
+
return;
|
|
1027
|
+
}
|
|
1028
|
+
return false;
|
|
1029
|
+
},
|
|
1030
|
+
ArrowUp: () => {
|
|
1031
|
+
if (onIncrement) {
|
|
1032
|
+
onIncrement();
|
|
1033
|
+
return;
|
|
1034
|
+
}
|
|
1035
|
+
return false;
|
|
1036
|
+
},
|
|
1037
|
+
PageDown: () => {
|
|
1038
|
+
if (onDecrementPage) {
|
|
1039
|
+
onDecrementPage();
|
|
1040
|
+
return;
|
|
1041
|
+
}
|
|
1042
|
+
if (onDecrement) {
|
|
1043
|
+
onDecrement();
|
|
1044
|
+
return;
|
|
1045
|
+
}
|
|
1046
|
+
return false;
|
|
1047
|
+
},
|
|
1048
|
+
ArrowDown: () => {
|
|
1049
|
+
if (onDecrement) {
|
|
1050
|
+
onDecrement();
|
|
1051
|
+
return;
|
|
1052
|
+
}
|
|
1053
|
+
return false;
|
|
1054
|
+
},
|
|
1055
|
+
Home: () => {
|
|
1056
|
+
if (onDecrementToMin) {
|
|
1057
|
+
onDecrementToMin();
|
|
1058
|
+
return;
|
|
1059
|
+
}
|
|
1060
|
+
return false;
|
|
1061
|
+
},
|
|
1062
|
+
End: () => {
|
|
1063
|
+
if (onIncrementToMax) {
|
|
1064
|
+
onIncrementToMax();
|
|
1065
|
+
return;
|
|
1066
|
+
}
|
|
1067
|
+
return false;
|
|
1068
|
+
}
|
|
1069
|
+
},
|
|
1070
|
+
allowRepeats: true
|
|
1071
|
+
});
|
|
1072
|
+
let isFocused = useRef(false);
|
|
1073
|
+
let onFocus = () => {
|
|
1074
|
+
isFocused.current = true;
|
|
1075
|
+
};
|
|
1076
|
+
let onBlur = () => {
|
|
1077
|
+
isFocused.current = false;
|
|
1078
|
+
};
|
|
1079
|
+
let ariaTextValue = textValue === "" ? stringFormatter.format("Empty") : (textValue || `${value}`).replace("-", "−");
|
|
1080
|
+
useEffect(() => {
|
|
1081
|
+
if (isFocused.current) {
|
|
1082
|
+
$a46cf152bb926da5$export$d10ae4f68404609a("assertive");
|
|
1083
|
+
$a46cf152bb926da5$export$a9b970dcc4ae71a9(ariaTextValue, "assertive");
|
|
1084
|
+
}
|
|
1085
|
+
}, [ariaTextValue]);
|
|
1086
|
+
let onPointerCancel = useCallback(() => {
|
|
1087
|
+
clearAsync();
|
|
1088
|
+
}, [clearAsync]);
|
|
1089
|
+
const onIncrementEvent = $fe16bffc7a557bf0$export$7f54fc3180508a52(onIncrement ?? $757ec6630f26125c$var$noop);
|
|
1090
|
+
const onDecrementEvent = $fe16bffc7a557bf0$export$7f54fc3180508a52(onDecrement ?? $757ec6630f26125c$var$noop);
|
|
1091
|
+
const stepUpEvent = $fe16bffc7a557bf0$export$7f54fc3180508a52(() => {
|
|
1092
|
+
if (maxValue === void 0 || isNaN(maxValue) || value === void 0 || isNaN(value) || value < maxValue) {
|
|
1093
|
+
onIncrementEvent();
|
|
1094
|
+
onIncrementPressStartEvent(60);
|
|
1095
|
+
}
|
|
1096
|
+
});
|
|
1097
|
+
const onIncrementPressStartEvent = $fe16bffc7a557bf0$export$7f54fc3180508a52((initialStepDelay) => {
|
|
1098
|
+
clearAsyncEvent();
|
|
1099
|
+
isSpinning.current = true;
|
|
1100
|
+
_async.current = window.setTimeout(stepUpEvent, initialStepDelay);
|
|
1101
|
+
});
|
|
1102
|
+
const stepDownEvent = $fe16bffc7a557bf0$export$7f54fc3180508a52(() => {
|
|
1103
|
+
if (minValue === void 0 || isNaN(minValue) || value === void 0 || isNaN(value) || value > minValue) {
|
|
1104
|
+
onDecrementEvent();
|
|
1105
|
+
onDecrementPressStartEvent(60);
|
|
1106
|
+
}
|
|
1107
|
+
});
|
|
1108
|
+
const onDecrementPressStartEvent = $fe16bffc7a557bf0$export$7f54fc3180508a52((initialStepDelay) => {
|
|
1109
|
+
clearAsyncEvent();
|
|
1110
|
+
isSpinning.current = true;
|
|
1111
|
+
_async.current = window.setTimeout(stepDownEvent, initialStepDelay);
|
|
1112
|
+
});
|
|
1113
|
+
let cancelContextMenu = (e) => {
|
|
1114
|
+
e.preventDefault();
|
|
1115
|
+
};
|
|
1116
|
+
let { addGlobalListener, removeAllGlobalListeners } = $48a7d519b337145d$export$4eaf04e54aa8eed6();
|
|
1117
|
+
let isUp = useRef(false);
|
|
1118
|
+
let [isIncrementPressed, setIsIncrementPressed] = useState(null);
|
|
1119
|
+
useEffect(() => {
|
|
1120
|
+
if (isIncrementPressed === "touch") onIncrementPressStartEvent(600);
|
|
1121
|
+
else if (isIncrementPressed) onIncrementPressStartEvent(400);
|
|
1122
|
+
else if (!isIncrementPressed) clearAsyncEvent();
|
|
1123
|
+
}, [isIncrementPressed]);
|
|
1124
|
+
let [isDecrementPressed, setIsDecrementPressed] = useState(null);
|
|
1125
|
+
useEffect(() => {
|
|
1126
|
+
if (isDecrementPressed === "touch") onDecrementPressStartEvent(600);
|
|
1127
|
+
else if (isDecrementPressed) onDecrementPressStartEvent(400);
|
|
1128
|
+
else if (!isDecrementPressed) clearAsyncEvent();
|
|
1129
|
+
}, [isDecrementPressed]);
|
|
1130
|
+
return {
|
|
1131
|
+
spinButtonProps: {
|
|
1132
|
+
role: "spinbutton",
|
|
1133
|
+
"aria-valuenow": value !== void 0 && !isNaN(value) ? value : void 0,
|
|
1134
|
+
"aria-valuetext": ariaTextValue,
|
|
1135
|
+
"aria-valuemin": minValue,
|
|
1136
|
+
"aria-valuemax": maxValue,
|
|
1137
|
+
"aria-disabled": isDisabled || void 0,
|
|
1138
|
+
"aria-readonly": isReadOnly || void 0,
|
|
1139
|
+
"aria-required": isRequired || void 0,
|
|
1140
|
+
...keyboardProps,
|
|
1141
|
+
onFocus,
|
|
1142
|
+
onBlur
|
|
1143
|
+
},
|
|
1144
|
+
incrementButtonProps: {
|
|
1145
|
+
onPressStart: (e) => {
|
|
1146
|
+
clearAsync();
|
|
1147
|
+
if (e.pointerType !== "touch") {
|
|
1148
|
+
onIncrement?.();
|
|
1149
|
+
setIsIncrementPressed("mouse");
|
|
1150
|
+
} else {
|
|
1151
|
+
addGlobalListener(window, "pointercancel", onPointerCancel, { capture: true });
|
|
1152
|
+
isUp.current = false;
|
|
1153
|
+
setIsIncrementPressed("touch");
|
|
1154
|
+
}
|
|
1155
|
+
addGlobalListener(window, "contextmenu", cancelContextMenu);
|
|
1156
|
+
},
|
|
1157
|
+
onPressUp: (e) => {
|
|
1158
|
+
clearAsync();
|
|
1159
|
+
if (e.pointerType === "touch") isUp.current = true;
|
|
1160
|
+
removeAllGlobalListeners();
|
|
1161
|
+
setIsIncrementPressed(null);
|
|
1162
|
+
},
|
|
1163
|
+
onPressEnd: (e) => {
|
|
1164
|
+
clearAsync();
|
|
1165
|
+
if (e.pointerType === "touch") {
|
|
1166
|
+
if (!isSpinning.current && isUp.current) onIncrement?.();
|
|
1167
|
+
}
|
|
1168
|
+
isUp.current = false;
|
|
1169
|
+
setIsIncrementPressed(null);
|
|
1170
|
+
},
|
|
1171
|
+
onFocus,
|
|
1172
|
+
onBlur
|
|
1173
|
+
},
|
|
1174
|
+
decrementButtonProps: {
|
|
1175
|
+
onPressStart: (e) => {
|
|
1176
|
+
clearAsync();
|
|
1177
|
+
if (e.pointerType !== "touch") {
|
|
1178
|
+
onDecrement?.();
|
|
1179
|
+
setIsDecrementPressed("mouse");
|
|
1180
|
+
} else {
|
|
1181
|
+
addGlobalListener(window, "pointercancel", onPointerCancel, { capture: true });
|
|
1182
|
+
isUp.current = false;
|
|
1183
|
+
setIsDecrementPressed("touch");
|
|
1184
|
+
}
|
|
1185
|
+
},
|
|
1186
|
+
onPressUp: (e) => {
|
|
1187
|
+
clearAsync();
|
|
1188
|
+
if (e.pointerType === "touch") isUp.current = true;
|
|
1189
|
+
removeAllGlobalListeners();
|
|
1190
|
+
setIsDecrementPressed(null);
|
|
1191
|
+
},
|
|
1192
|
+
onPressEnd: (e) => {
|
|
1193
|
+
clearAsync();
|
|
1194
|
+
if (e.pointerType === "touch") {
|
|
1195
|
+
if (!isSpinning.current && isUp.current) onDecrement?.();
|
|
1196
|
+
}
|
|
1197
|
+
isUp.current = false;
|
|
1198
|
+
setIsDecrementPressed(null);
|
|
1199
|
+
},
|
|
1200
|
+
onFocus,
|
|
1201
|
+
onBlur
|
|
1202
|
+
}
|
|
1203
|
+
};
|
|
1204
|
+
}
|
|
1205
|
+
//#endregion
|
|
1206
|
+
//#region ../../node_modules/.bun/react-stately@3.49.0+83d5fd7b249dbeef/node_modules/react-stately/dist/private/form/useFormValidationState.mjs
|
|
1207
|
+
const $fd2148440a13ec26$export$aca958c65c314e6c = {
|
|
1208
|
+
badInput: false,
|
|
1209
|
+
customError: false,
|
|
1210
|
+
patternMismatch: false,
|
|
1211
|
+
rangeOverflow: false,
|
|
1212
|
+
rangeUnderflow: false,
|
|
1213
|
+
stepMismatch: false,
|
|
1214
|
+
tooLong: false,
|
|
1215
|
+
tooShort: false,
|
|
1216
|
+
typeMismatch: false,
|
|
1217
|
+
valueMissing: false,
|
|
1218
|
+
valid: true
|
|
1219
|
+
};
|
|
1220
|
+
const $fd2148440a13ec26$var$CUSTOM_VALIDITY_STATE = {
|
|
1221
|
+
...$fd2148440a13ec26$export$aca958c65c314e6c,
|
|
1222
|
+
customError: true,
|
|
1223
|
+
valid: false
|
|
1224
|
+
};
|
|
1225
|
+
const $fd2148440a13ec26$export$dad6ae84456c676a = {
|
|
1226
|
+
isInvalid: false,
|
|
1227
|
+
validationDetails: $fd2148440a13ec26$export$aca958c65c314e6c,
|
|
1228
|
+
validationErrors: []
|
|
1229
|
+
};
|
|
1230
|
+
const $fd2148440a13ec26$export$571b5131b7e65c11 = createContext({});
|
|
1231
|
+
const $fd2148440a13ec26$export$a763b9476acd3eb = "__reactAriaFormValidationState";
|
|
1232
|
+
function $fd2148440a13ec26$export$fc1a364ae1f3ff10(props) {
|
|
1233
|
+
if (props["__reactAriaFormValidationState"]) {
|
|
1234
|
+
let { realtimeValidation, displayValidation, updateValidation, resetValidation, commitValidation } = props[$fd2148440a13ec26$export$a763b9476acd3eb];
|
|
1235
|
+
return {
|
|
1236
|
+
realtimeValidation,
|
|
1237
|
+
displayValidation,
|
|
1238
|
+
updateValidation,
|
|
1239
|
+
resetValidation,
|
|
1240
|
+
commitValidation
|
|
1241
|
+
};
|
|
1242
|
+
}
|
|
1243
|
+
return $fd2148440a13ec26$var$useFormValidationStateImpl(props);
|
|
1244
|
+
}
|
|
1245
|
+
function $fd2148440a13ec26$var$useFormValidationStateImpl(props) {
|
|
1246
|
+
let { isInvalid, validationState, name, value, builtinValidation, validate, validationBehavior = "aria" } = props;
|
|
1247
|
+
if (validationState) isInvalid ||= validationState === "invalid";
|
|
1248
|
+
let controlledError = isInvalid !== void 0 ? {
|
|
1249
|
+
isInvalid,
|
|
1250
|
+
validationErrors: [],
|
|
1251
|
+
validationDetails: $fd2148440a13ec26$var$CUSTOM_VALIDITY_STATE
|
|
1252
|
+
} : null;
|
|
1253
|
+
let clientError = useMemo(() => {
|
|
1254
|
+
if (!validate || value == null) return null;
|
|
1255
|
+
return $fd2148440a13ec26$var$getValidationResult($fd2148440a13ec26$var$runValidate(validate, value));
|
|
1256
|
+
}, [validate, value]);
|
|
1257
|
+
if (builtinValidation?.validationDetails.valid) builtinValidation = void 0;
|
|
1258
|
+
let serverErrors = useContext($fd2148440a13ec26$export$571b5131b7e65c11);
|
|
1259
|
+
let serverErrorMessages = useMemo(() => {
|
|
1260
|
+
if (name) return Array.isArray(name) ? name.flatMap((name) => $fd2148440a13ec26$var$asArray(serverErrors[name])) : $fd2148440a13ec26$var$asArray(serverErrors[name]);
|
|
1261
|
+
return [];
|
|
1262
|
+
}, [serverErrors, name]);
|
|
1263
|
+
let [lastServerErrors, setLastServerErrors] = useState(serverErrors);
|
|
1264
|
+
let [isServerErrorCleared, setServerErrorCleared] = useState(false);
|
|
1265
|
+
if (serverErrors !== lastServerErrors) {
|
|
1266
|
+
setLastServerErrors(serverErrors);
|
|
1267
|
+
setServerErrorCleared(false);
|
|
1268
|
+
}
|
|
1269
|
+
let serverError = useMemo(() => $fd2148440a13ec26$var$getValidationResult(isServerErrorCleared ? [] : serverErrorMessages), [isServerErrorCleared, serverErrorMessages]);
|
|
1270
|
+
let nextValidation = useRef($fd2148440a13ec26$export$dad6ae84456c676a);
|
|
1271
|
+
let [currentValidity, setCurrentValidity] = useState($fd2148440a13ec26$export$dad6ae84456c676a);
|
|
1272
|
+
let lastError = useRef($fd2148440a13ec26$export$dad6ae84456c676a);
|
|
1273
|
+
let commitValidation = () => {
|
|
1274
|
+
if (!commitQueued) return;
|
|
1275
|
+
setCommitQueued(false);
|
|
1276
|
+
let error = clientError || builtinValidation || nextValidation.current;
|
|
1277
|
+
if (!$fd2148440a13ec26$var$isEqualValidation(error, lastError.current)) {
|
|
1278
|
+
lastError.current = error;
|
|
1279
|
+
setCurrentValidity(error);
|
|
1280
|
+
}
|
|
1281
|
+
};
|
|
1282
|
+
let [commitQueued, setCommitQueued] = useState(false);
|
|
1283
|
+
useEffect(commitValidation);
|
|
1284
|
+
return {
|
|
1285
|
+
realtimeValidation: controlledError || serverError || clientError || builtinValidation || $fd2148440a13ec26$export$dad6ae84456c676a,
|
|
1286
|
+
displayValidation: validationBehavior === "native" ? controlledError || serverError || currentValidity : controlledError || serverError || clientError || builtinValidation || currentValidity,
|
|
1287
|
+
updateValidation(value) {
|
|
1288
|
+
if (validationBehavior === "aria" && !$fd2148440a13ec26$var$isEqualValidation(currentValidity, value)) setCurrentValidity(value);
|
|
1289
|
+
else nextValidation.current = value;
|
|
1290
|
+
},
|
|
1291
|
+
resetValidation() {
|
|
1292
|
+
let error = $fd2148440a13ec26$export$dad6ae84456c676a;
|
|
1293
|
+
if (!$fd2148440a13ec26$var$isEqualValidation(error, lastError.current)) {
|
|
1294
|
+
lastError.current = error;
|
|
1295
|
+
setCurrentValidity(error);
|
|
1296
|
+
}
|
|
1297
|
+
if (validationBehavior === "native") setCommitQueued(false);
|
|
1298
|
+
setServerErrorCleared(true);
|
|
1299
|
+
},
|
|
1300
|
+
commitValidation() {
|
|
1301
|
+
if (validationBehavior === "native") setCommitQueued(true);
|
|
1302
|
+
setServerErrorCleared(true);
|
|
1303
|
+
}
|
|
1304
|
+
};
|
|
1305
|
+
}
|
|
1306
|
+
function $fd2148440a13ec26$var$asArray(v) {
|
|
1307
|
+
if (!v) return [];
|
|
1308
|
+
return Array.isArray(v) ? v : [v];
|
|
1309
|
+
}
|
|
1310
|
+
function $fd2148440a13ec26$var$runValidate(validate, value) {
|
|
1311
|
+
if (typeof validate === "function") {
|
|
1312
|
+
let e = validate(value);
|
|
1313
|
+
if (e && typeof e !== "boolean") return $fd2148440a13ec26$var$asArray(e);
|
|
1314
|
+
}
|
|
1315
|
+
return [];
|
|
1316
|
+
}
|
|
1317
|
+
function $fd2148440a13ec26$var$getValidationResult(errors) {
|
|
1318
|
+
return errors.length ? {
|
|
1319
|
+
isInvalid: true,
|
|
1320
|
+
validationErrors: errors,
|
|
1321
|
+
validationDetails: $fd2148440a13ec26$var$CUSTOM_VALIDITY_STATE
|
|
1322
|
+
} : null;
|
|
1323
|
+
}
|
|
1324
|
+
function $fd2148440a13ec26$var$isEqualValidation(a, b) {
|
|
1325
|
+
if (a === b) return true;
|
|
1326
|
+
return !!a && !!b && a.isInvalid === b.isInvalid && a.validationErrors.length === b.validationErrors.length && a.validationErrors.every((a, i) => a === b.validationErrors[i]) && Object.entries(a.validationDetails).every(([k, v]) => b.validationDetails[k] === v);
|
|
1327
|
+
}
|
|
1328
|
+
function $fd2148440a13ec26$export$75ee7c75d68f5b0e(...results) {
|
|
1329
|
+
let errors = /* @__PURE__ */ new Set();
|
|
1330
|
+
let isInvalid = false;
|
|
1331
|
+
let validationDetails = { ...$fd2148440a13ec26$export$aca958c65c314e6c };
|
|
1332
|
+
for (let v of results) {
|
|
1333
|
+
for (let e of v.validationErrors) errors.add(e);
|
|
1334
|
+
isInvalid ||= v.isInvalid;
|
|
1335
|
+
for (let key in validationDetails) validationDetails[key] ||= v.validationDetails[key];
|
|
1336
|
+
}
|
|
1337
|
+
validationDetails.valid = !isInvalid;
|
|
1338
|
+
return {
|
|
1339
|
+
isInvalid,
|
|
1340
|
+
validationErrors: [...errors],
|
|
1341
|
+
validationDetails
|
|
1342
|
+
};
|
|
1343
|
+
}
|
|
1344
|
+
//#endregion
|
|
1345
|
+
export { $e8ac3c3f5d4bae7f$export$d6875122194c7b44 as _, $eb76cf4feb040f77$export$cd11ab140839f11d as a, $191c9b6d48a0a4e2$export$294aa081a6c6f55d as c, $a46cf152bb926da5$export$a9b970dcc4ae71a9 as d, $48a7d519b337145d$export$4eaf04e54aa8eed6 as f, $a747a10fe70a57da$export$c17fa47878dc55b6 as g, $b27c684a33948c64$export$2f817fcdc4b89ae0 as h, $757ec6630f26125c$export$e908e06f4b8e3402 as i, $860f7da480e22816$export$b8473d3665f3a75a as l, $cf2482eff2eeeec2$export$f12b703ca79dfbb1 as m, $fd2148440a13ec26$export$aca958c65c314e6c as n, $1dfb119a85e764e5$export$cc77c4ff7e8673c5 as o, $cf2482eff2eeeec2$export$87b761675e8eaa10 as p, $fd2148440a13ec26$export$fc1a364ae1f3ff10 as r, $2c9edc598a03d523$export$420e68273165f4ec as s, $fd2148440a13ec26$export$75ee7c75d68f5b0e as t, $3274bf1495747a7b$export$5add1d006293d136 as u, $600b3cf69ae46262$export$90fc3a17d93f704c as v, $fe16bffc7a557bf0$export$7f54fc3180508a52 as y };
|