@povio/ui 6.0.0-rc.12 → 6.0.0-rc.14
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 +523 -42
- package/dist/{Accordion-ORBin0EZ.js → Accordion-BNHpv7Zj.js} +42 -42
- package/dist/{Accordion-Cup5eRZz.d.ts → Accordion-CR9oomZY.d.ts} +29 -17
- package/dist/Alert-xHGPLUpt.d.ts +36 -0
- package/dist/AlertDialog-CKcUZ6l9.d.ts +70 -0
- package/dist/Autocomplete-CkWTSFoj.d.ts +123 -0
- package/dist/Autocomplete-CrNDRxvg.js +319 -0
- package/dist/Badge-B25YEMEw.d.ts +67 -0
- package/dist/BottomSheet-CtcPZG82.d.ts +65 -0
- package/dist/{BottomSheet-CGipksM_.js → BottomSheet-tUXH3NjS.js} +9 -9
- package/dist/{BottomSheet.lazy-CuJMUeJP.d.ts → BottomSheet.lazy-DuwAJSaI.d.ts} +1 -1
- package/dist/{Breadcrumbs-CcB0oOF8.d.ts → Breadcrumbs-BrtRh_dX.d.ts} +6 -3
- package/dist/{Breadcrumbs-a1-q_he0.js → Breadcrumbs-D8WXqOLN.js} +36 -20
- package/dist/{Button-BaODzvZd.js → Button-C1Jv1Plk.js} +1 -1
- package/dist/{Button-0SswSdDg.d.ts → Button-DDuk3hJ3.d.ts} +2 -2
- package/dist/{Button-C1YB5dOw.js → Button-DF6sbTuF.js} +3 -7
- package/dist/{ButtonBase-s-VV7oCa.js → ButtonBase-BYJz1JkH.js} +12 -20
- package/dist/ButtonBase-Bn_FT89h.d.ts +47 -0
- package/dist/{ButtonContent-Dztbuz3q.js → ButtonContent-2KsbdWRO.js} +5 -5
- package/dist/{Calendar-yaQubCWK.js → Calendar-DdneUEhM.js} +71 -35
- package/dist/{Calendar.lazy-DcVss9Bk.js → Calendar.lazy-BY0kLoYH.js} +7 -7
- package/dist/Checkbox-Bwl6MA-V.d.ts +49 -0
- package/dist/{Checkbox-Bjsbx-wK.js → Checkbox-E2bns_n0.js} +40 -14
- package/dist/CheckboxCheckmark-Beu8T1g9.js +42 -0
- package/dist/CheckboxGroup-0rzsn-bA.d.ts +52 -0
- package/dist/{CheckboxGroup-B3O3IUiu.js → CheckboxGroup-C7epIEpW.js} +75 -35
- package/dist/ColumnConfigContent-LNq-6Brf.js +1025 -0
- package/dist/ColumnListContent-Dzze5R7T.js +133 -0
- package/dist/DatePicker-B70SCKfT.d.ts +80 -0
- package/dist/{DatePicker-bme8zGBo.js → DatePicker-BU-34fCk.js} +117 -46
- package/dist/{DatePickerInput-vLlL5ATh.d.ts → DatePickerInput-BCuz08Ws.d.ts} +3 -3
- package/dist/{DatePickerInput-C2881tvS.js → DatePickerInput-CMEJmZSQ.js} +41 -30
- package/dist/{DateRangePicker-Blg158JD.js → DateRangePicker-D0RtqeBM.js} +90 -162
- package/dist/DateRangePicker-jovxcWGk.d.ts +102 -0
- package/dist/{DateTimePicker-CdRFt8WM.js → DateTimePicker-Cbdt76CL.js} +94 -40
- package/dist/DateTimePicker-Cfi3ruFy.d.ts +83 -0
- package/dist/Dialog-BWNQjIgo.d.ts +66 -0
- package/dist/{Dialog-C9H9_BmK.js → Dialog-Bpwr1nuy.js} +15 -15
- package/dist/{Dialog-DN5703sy.js → Dialog-ebjPH22i.js} +23 -19
- package/dist/{Disclosure-BRSkMbZQ.js → Disclosure-D_aym2zh.js} +3 -3
- package/dist/Drawer-o018RqIt.d.ts +42 -0
- package/dist/DropdownMenu-3V-G7fZ7.d.ts +51 -0
- package/dist/{DropdownMenu-DS0RaEfH.js → DropdownMenu-C4WitobV.js} +33 -21
- package/dist/{DropdownMenuDesktop-DGPIfex-.js → DropdownMenuDesktop-BM7659Sk.js} +14 -8
- package/dist/{FileInput-BUwtAF2-.js → FileInput-Bc_E1M1X.js} +76 -81
- package/dist/FileInput-CWRW7OzZ.d.ts +61 -0
- package/dist/{FileTrigger-DlryDp2T.js → FileTrigger-tGSUFrb2.js} +6 -6
- package/dist/FileUpload-DVnp9xxv.d.ts +181 -0
- package/dist/FileUpload-Dk6ZmgWF.js +1105 -0
- package/dist/{Form-CqF1SaVw.js → Form-4jZarkjk.js} +2 -2
- package/dist/FormField-BgiWLGjf.d.ts +70 -0
- package/dist/{FormField-dduTMkNH.js → FormField-DOZ7eXjA.js} +11 -11
- package/dist/{FormFieldError-BT4uxbKY.d.ts → FormFieldError-C7yOdjzQ.d.ts} +1 -0
- package/dist/FormFieldHeaderTooltip-DW9sqJWl.js +22 -0
- package/dist/{Heading-D4XFYv__.js → Heading-B9G3z6Es.js} +2 -2
- package/dist/HiddenFormValue-DZ2d9eoA.js +20 -0
- package/dist/IconButton-Bjjf5cQL.d.ts +24 -0
- package/dist/{IconSlot-CqNuZl0E.js → IconSlot-TAWTJ6iK.js} +2 -4
- package/dist/{InlineTooltipWrapper-CKTiFpZn.js → InlineTooltipWrapper-CcdpMJa6.js} +1 -1
- package/dist/{Input-BG0Xjw5X.js → Input-BkR3jkvt.js} +2 -2
- package/dist/{Input-CG5LQ0zs.js → Input-CvYyjMWx.js} +95 -60
- package/dist/Input-lppNS8wM.d.ts +56 -0
- package/dist/{InputContent-Fx2E4UXl.js → InputContent-B5YjsLDE.js} +15 -13
- package/dist/InputContent-Bgalf6R1.d.ts +39 -0
- package/dist/{Label-BGvF9vWx.js → Label-VTcaaLO8.js} +2 -2
- package/dist/{Link-Chux-Clm.js → Link-8zP_NC_c.js} +2 -2
- package/dist/Link-HJ4y-xiW.d.ts +15 -0
- package/dist/{ListBox-DhR5kojP.js → ListBox-Ck-B1Jae.js} +9 -9
- package/dist/{Modal-DcLWF9cB.js → Modal-xT-Wz5GH.js} +3 -3
- package/dist/{NumberField-DxuikBcr.js → NumberField-BXLzNb2T.js} +92 -63
- package/dist/NumberField-Q-4y3jpb.d.ts +41 -0
- package/dist/{NumberFormatter-DYarfm5F.js → NumberFormatter-D5csbNXm.js} +1 -1
- package/dist/{NumberRangeInput-8bOjNEnS.js → NumberRangeInput-BBzZCC54.js} +153 -102
- package/dist/NumberRangeInput-DuWOdSdU.d.ts +89 -0
- package/dist/{OverlayArrow-DF0jMwul.js → OverlayArrow-BptI-A_7.js} +2 -2
- package/dist/{PageHeader-DTfzf-dA.d.ts → PageHeader-jVaC3Z9L.d.ts} +6 -5
- package/dist/PasswordInput-DtTnGHRD.d.ts +16 -0
- package/dist/{PasswordInput.bound-Dfq5c3JQ.js → PasswordInput-U0QhNsMp.js} +6 -6
- package/dist/Popover-ClCEOP3e.d.ts +51 -0
- package/dist/Progress-DlXY0dv_.js +180 -0
- package/dist/Progress-VkkXbIh7.d.ts +26 -0
- package/dist/ProgressBar-mpNpV7ow.js +46 -0
- package/dist/{RadioGroup-IL4Y8XHO.js → RadioGroup-BPPJyA1s.js} +72 -32
- package/dist/RadioGroup-BbcrP56w.d.ts +52 -0
- package/dist/{RangeCalendar-DT63UD8K.js → RangeCalendar-DIVjIl0T.js} +12 -10
- package/dist/Select-D1qIWZCv.d.ts +248 -0
- package/dist/{Select-BM8PNrjC.js → Select-DlbVDCz8.js} +452 -191
- package/dist/{SelectListBox-BFSZxDSi.js → SelectListBox-CCr5YY86.js} +55 -43
- package/dist/{SelectionIndicator-C3hniBa2.js → SelectionIndicator-CvuKjZRP.js} +3 -3
- package/dist/{SharedElementTransition-CZ2bE7yo.js → SharedElementTransition-BkyYit3Q.js} +2 -2
- package/dist/{SidebarWorkspaces-DJknAfS9.js → SidebarWorkspaces-CIpFJGOa.js} +283 -366
- package/dist/{SidebarWorkspaces-DDHJAdNH.d.ts → SidebarWorkspaces-DcwA_jv7.d.ts} +31 -17
- package/dist/Slider-CLViwkE1.d.ts +57 -0
- package/dist/{Slider-DCsCCPFx.js → Slider-_RsgBJcg.js} +72 -15
- package/dist/Spinner-GMEauCHv.d.ts +13 -0
- package/dist/SplitButton-BdP4xjFQ.d.ts +25 -0
- package/dist/{Stepper-Dyhxp0Tl.js → Stepper-D4z7JNsD.js} +116 -88
- package/dist/Stepper-DBb0qfla.d.ts +49 -0
- package/dist/{Switch-BfpSMMpv.js → Switch-Bi3_bUw1.js} +56 -14
- package/dist/Switch-DCxONL2Q.d.ts +42 -0
- package/dist/TableDnd-CG1yOlxh.js +238 -0
- package/dist/TableDragHandle-CXApnuUm.js +51 -0
- package/dist/{TabsFilters-DybNturW.js → TabsFilters-BPogry73.js} +46 -35
- package/dist/TabsFilters-CPfGBODw.d.ts +59 -0
- package/dist/Tag-xhcJOv_X.d.ts +26 -0
- package/dist/{Text-D72yc4S6.js → Text-D7Nqkw1l.js} +1 -1
- package/dist/TextArea-BYX9Kk_v.d.ts +33 -0
- package/dist/{TextArea-Blsip3ZC.js → TextArea-CuJS3-Nv.js} +62 -35
- package/dist/{TimePicker-4hV5zbgd.js → TimePicker-ByfjqkLp.js} +120 -56
- package/dist/TimePicker-UTo9C6gz.d.ts +64 -0
- package/dist/TimePickerForm-CaIHR0PV.js +532 -0
- package/dist/{ToastContainer-Dd0LPykL.js → ToastContainer-tr7Zxahc.js} +4 -4
- package/dist/{ToggleButton-HUZ8ij6i.d.ts → ToggleButton-BX8o7ECO.d.ts} +2 -2
- package/dist/{ToggleButton-P1z1pxzT.js → ToggleButton-D8BT67FO.js} +5 -5
- package/dist/ToggleGroup-18c-FZ_r.js +500 -0
- package/dist/ToggleGroup-UazUtgU1.d.ts +95 -0
- package/dist/{Tooltip-DRB6lo0U.js → Tooltip-Dl3sf8fq.js} +5 -5
- package/dist/Tooltip-FcJ29dhq.d.ts +33 -0
- package/dist/TooltipEllipsis-7QF00kXk.d.ts +21 -0
- package/dist/{TooltipWrapper-BSY31JMc.js → TooltipWrapper-bvNpM6ku.js} +6 -6
- package/dist/{Typography-DJojwiXV.d.ts → Typography-auHWN282.d.ts} +5 -1
- package/dist/{badgeButton.cva-t5PQOH4M.js → badge.cva-C9mE8CMf.js} +23 -24
- package/dist/{button.cva-Ciga0rdG.js → button.cva-C2aoXMh-.js} +10 -16
- package/dist/{buttonContent.cva-BapnODby.d.ts → buttonContent.cva-CeGnrjoA.d.ts} +2 -2
- package/dist/calendarHeader.cva-D3sXR7ox.js +23 -0
- package/dist/{checkbox.cva-aLJS7v4z.js → checkbox.cva-qU_q0lSX.js} +14 -14
- package/dist/columnConfig.cva-CERwSZRN.js +29 -0
- package/dist/components/accordion.d.ts +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +2 -2
- package/dist/components/alert-dialog.js +174 -128
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/alert.js +17 -15
- package/dist/components/autocomplete.d.ts +2 -2
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/badge.d.ts +2 -2
- package/dist/components/badge.js +166 -81
- package/dist/components/bottom-sheet-header.d.ts +1 -1
- package/dist/components/bottom-sheet-header.js +25 -21
- package/dist/components/bottom-sheet.d.ts +2 -2
- package/dist/components/bottom-sheet.js +2 -2
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button.d.ts +2 -2
- package/dist/components/button.js +1 -1
- package/dist/components/checkbox-group.d.ts +2 -2
- package/dist/components/checkbox-group.js +1 -1
- package/dist/components/checkbox.d.ts +2 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/date-picker.d.ts +2 -2
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.d.ts +4 -41
- package/dist/components/date-range-picker.js +4 -2
- package/dist/components/date-range-presets.d.ts +2 -0
- package/dist/components/date-range-presets.js +3 -0
- package/dist/components/date-time-picker.d.ts +2 -2
- package/dist/components/date-time-picker.js +1 -1
- package/dist/components/dialog.d.ts +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/drawer.d.ts +1 -1
- package/dist/components/drawer.js +16 -80
- package/dist/components/dropdown-menu.d.ts +2 -3
- package/dist/components/dropdown-menu.js +2 -3
- package/dist/components/file-input.d.ts +2 -2
- package/dist/components/file-input.js +1 -1
- package/dist/components/file-upload.d.ts +2 -3
- package/dist/components/file-upload.js +1 -1
- package/dist/components/form-field.d.ts +3 -2
- package/dist/components/form-field.js +1 -1
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/icon-button.js +22 -25
- package/dist/components/icon-slot.d.ts +1 -2
- package/dist/components/icon-slot.js +2 -2
- package/dist/components/input-frame.d.ts +6 -10
- package/dist/components/input-frame.js +31 -28
- package/dist/components/input.d.ts +2 -2
- package/dist/components/input.js +2 -2
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +2 -2
- package/dist/components/number-field.d.ts +2 -2
- package/dist/components/number-field.js +2 -2
- package/dist/components/number-range-input.d.ts +2 -2
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/page-header.d.ts +1 -1
- package/dist/components/page-header.js +5 -5
- package/dist/components/password-input.d.ts +2 -2
- package/dist/components/password-input.js +1 -22
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +105 -87
- package/dist/components/progress.d.ts +2 -2
- package/dist/components/progress.js +1 -1
- package/dist/components/radio-group.d.ts +2 -2
- package/dist/components/radio-group.js +1 -1
- package/dist/components/select.d.ts +2 -2
- package/dist/components/select.js +1 -1
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/slider.d.ts +2 -2
- package/dist/components/slider.js +1 -1
- package/dist/components/spinner.d.ts +1 -1
- package/dist/components/spinner.js +71 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/split-button.js +15 -4
- package/dist/components/stepper.d.ts +1 -1
- package/dist/components/stepper.js +1 -1
- package/dist/components/style-definitions.d.ts +3 -3
- package/dist/components/style-definitions.js +62 -20
- package/dist/components/switch.d.ts +2 -2
- package/dist/components/switch.js +1 -1
- package/dist/components/tabs-filters.d.ts +1 -1
- package/dist/components/tabs-filters.js +1 -1
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/tag.js +50 -64
- package/dist/components/text-area.d.ts +2 -2
- package/dist/components/text-area.js +1 -1
- package/dist/components/time-picker.d.ts +2 -2
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast.d.ts +3 -3
- package/dist/components/toast.js +4 -3
- package/dist/components/toggle-button.d.ts +1 -1
- package/dist/components/toggle-button.js +1 -1
- package/dist/components/toggle-group.d.ts +2 -2
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/tooltip-ellipsis.d.ts +1 -1
- package/dist/components/tooltip-ellipsis.js +1 -1
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/typography.d.ts +2 -2
- package/dist/components/use-toast.d.ts +2 -2
- package/dist/components/use-toast.js +1 -41
- package/dist/config/component-configuration.d.ts +2 -2
- package/dist/config/component-configuration.js +53 -2
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/confirmation.js +1 -1
- package/dist/config/link-context.d.ts +3 -3
- package/dist/config/link-context.js +1 -1
- package/dist/config/resources.d.ts +1 -1
- package/dist/config/resources.js +1 -1
- package/dist/config/ui-config.d.ts +2 -2
- package/dist/config/ui-config.js +1 -1
- package/dist/config/ui-overrides.d.ts +1 -1
- package/dist/config/ui-router.d.ts +1 -1
- package/dist/config/ui-router.js +1 -1
- package/dist/confirmation.context-C_-uADGJ.js +93 -0
- package/dist/confirmation.context-DkWyR2aT.d.ts +32 -0
- package/dist/{datePickerInput.cva-Du0Zn04v.js → datePickerInput.cva-CWkV2fut.js} +1 -1
- package/dist/dateRangePreset.utils-Bnb-rjTt.js +116 -0
- package/dist/{dialog.cva-BIpz6HcA.js → dialog.cva-BjVggO5l.js} +1 -1
- package/dist/{dist-DEZzXa0W.js → dist-CP6vV22I.js} +68 -39
- package/dist/{dom.utils-BPooTXtC.js → dom.utils-CqejLWIQ.js} +1 -1
- package/dist/{dropdownMenu.cva-DwSOcbmR.js → dropdownMenu.cva-BopsvbOy.js} +19 -7
- package/dist/{exports-BNrTn8Tj.js → exports-DeBGRThC.js} +3 -3
- package/dist/{file.utils-Crb-mIHs.d.ts → file.utils-DUADtzdt.d.ts} +3 -3
- package/dist/{file.utils-DqQxnuAm.js → file.utils-X6tkeWaz.js} +2 -6
- package/dist/fileInputButton.cva-gbqRUf1g.js +39 -0
- package/dist/{fileUpload.cva-BYzXGc9C.js → fileUpload.cva-SrF6v406.js} +3 -3
- package/dist/form-field-C735uXsi.d.ts +1 -0
- package/dist/form.binding-Brdjq2yr.js +161 -0
- package/dist/form.binding-DSXB2AOD.d.ts +127 -0
- package/dist/form.types-a2WVJDQX.d.ts +43 -0
- package/dist/formReset-CnZl_yze.js +35 -0
- package/dist/hints-B09_WDhL.d.ts +17 -0
- package/dist/hooks/use-async-list.d.ts +1 -1
- package/dist/hooks/use-async-list.js +1 -1
- package/dist/hooks/use-breakpoint.d.ts +3 -0
- package/dist/hooks/use-breakpoint.js +2 -0
- package/dist/hooks/use-filters.d.ts +2 -2
- package/dist/hooks/use-filters.js +1 -1
- package/dist/{i18n-D8vXIoiq.js → i18n-DaIHnR2n.js} +123 -9
- package/dist/{i18n-DM-PUcxQ.d.ts → i18n-xXkHgzet.d.ts} +124 -4
- package/dist/iconSlot.cva-DyhOI7EK.js +5 -0
- package/dist/{import-C7W0Wv2r.js → import-Cz8NlFqm.js} +40 -16
- package/dist/index.d.ts +66 -84
- package/dist/index.js +57 -92
- package/dist/{input.cva-DZii82eS.js → input.cva-mm1dnfKP.js} +27 -23
- package/dist/inputLayout-CIVpuUBq.js +7 -0
- package/dist/inputRow.clsx-BbcaXVta.js +6 -0
- package/dist/{intlStrings-Cu1YN1tA.js → intlStrings-ClpdCJmU.js} +35 -35
- package/dist/{isEqual-LFw0W5rU.js → isEqual-BdJdNr5O.js} +1 -1
- package/dist/{label.cva-DTfT6FrX.js → label.cva-DJ5Dmbz5.js} +7 -7
- package/dist/link.context-BxVK2yQ5.d.ts +20 -0
- package/dist/{link.context-TPjDtjw3.js → link.context-CD5h_b5O.js} +12 -11
- package/dist/link.cva-ZhpQz3P0.d.ts +2277 -0
- package/dist/{progress.cva-CsGaGVJ-.js → progress.cva-mkJxrrac.js} +2 -2
- package/dist/{radio.cva-DistaZtZ.js → radio.cva-Dt5N2ul2.js} +7 -7
- package/dist/rich-text-editor.d.ts +44 -2
- package/dist/rich-text-editor.js +733 -1
- package/dist/router.context-B6j_M4cN.js +151 -0
- package/dist/router.context-CSd9JYQ4.d.ts +33 -0
- package/dist/{selectDesktop.cva-DStkOdwm.js → selectDesktop.cva-30JAvtgB.js} +1 -1
- package/dist/{selectItem.cva-B6vxey2R.js → selectItem.cva-DsOZSSPx.js} +2 -1
- package/dist/sidebar.cva-BgxTCejU.js +150 -0
- package/dist/spinner.cva-j4kGmIWC.js +17 -0
- package/dist/{staticDateTimeSegments-CVuAhDDl.js → staticDateTimeSegments-BgUrcqXD.js} +379 -94
- package/dist/{status.cva-CYgi3Htz.js → status.cva-WLEqUAjH.js} +9 -9
- package/dist/styles/input.d.ts +1 -1
- package/dist/{table.cva-DkcsOmZG.js → table.cva-n9TO_vu1.js} +68 -17
- package/dist/tableCells.cva-Br0_kgRM.js +18 -0
- package/dist/tableColumnConfigStorage-Cciq8gVe.js +215 -0
- package/dist/tableVirtualStore-whSmFzTV.js +67 -0
- package/dist/tanstack/form.d.ts +3 -3
- package/dist/tanstack/form.js +3 -3
- package/dist/tanstack/table-context.d.ts +2 -0
- package/dist/tanstack/table-context.js +2 -0
- package/dist/tanstack/table-types.d.ts +55 -0
- package/dist/tanstack/table.d.ts +5 -3
- package/dist/tanstack/table.js +3 -2
- package/dist/tanstack-JB8VmS9j.js +73 -0
- package/dist/tanstack-cQOW9-Q2.d.ts +165 -0
- package/dist/tanstack-table-DdWYwCZM.d.ts +858 -0
- package/dist/tanstack-table-M1M26UQJ.js +5299 -0
- package/dist/tanstack.d.ts +66 -84
- package/dist/tanstack.js +57 -92
- package/dist/{toast.cva-B6NXTwbZ.js → toast.cva-DusQwZw-.js} +13 -9
- package/dist/toast.runtime-ZN5q4T9X.js +25 -0
- package/dist/{toggleGroup.cva-CJ-3Ps7j.js → toggleGroup.cva-CvNS5QO1.js} +2 -2
- package/dist/{uiConfig.context-3DN9w6oU.js → uiConfig.context-NWmBJ2Hc.js} +72 -10
- package/dist/uiConfig.context-ykH4E2js.d.ts +19 -0
- package/dist/uiConfig.types-BsyPKepP.d.ts +291 -0
- package/dist/{uiOverrides.context-DHHzLSnq.d.ts → uiOverrides.context-C5Maic5Q.d.ts} +106 -0
- package/dist/{useAsyncList-Ct74ve3i.js → useAsyncList-DkIjhlce.js} +142 -37
- package/dist/useAsyncList-F-328rtE.d.ts +25 -0
- package/dist/useAutoFocus-K-bfNxa2.js +16 -0
- package/dist/useBreakpoint-BPrZNuNl.d.ts +9 -0
- package/dist/{useBreakpoint-CJ3mx7UF.js → useBreakpoint-DtYSRweq.js} +6 -2
- package/dist/{useControlledState-CuU1VIh1.js → useControlledState-C1-Mt2i0.js} +1 -1
- package/dist/useDebounceCallback-C7YKfjXW.js +96 -0
- package/dist/useFilters-CybBXUAA.js +217 -0
- package/dist/useFilters-DrfBFNLw.d.ts +57 -0
- package/dist/useFormAutosave-BzCGqFqi.js +419 -0
- package/dist/{useFormAutosave-BBLm3Ujo.d.ts → useFormAutosave-ClMnzVE7.d.ts} +1 -1
- package/dist/{useIntersectionObserver-DFAhTsV0.js → useIntersectionObserver-B8msnQTR.js} +15 -3
- package/dist/{numberStatic.utils-BIyZuILs.js → useLiveNumberFieldState-npiqOvyB.js} +107 -6
- package/dist/useRemoveButton-zhlA1Pbc.js +98 -0
- package/dist/useResolveDateRangePreset-DOSzJR-N.d.ts +64 -0
- package/dist/useResolveDateRangePreset-k_h_XJBG.js +26 -0
- package/dist/{useScrollableListBox-oYKqU3Hp.js → useScrollableListBox-4pieApqz.js} +1 -1
- package/dist/{useStaticInputHandoff-BN0fOerH.js → useStaticInputHandoff-DrNFrvD7.js} +6 -1
- package/dist/useTableVirtualizer-sFInQiH-.d.ts +162 -0
- package/dist/useToast-BHqkSByv.d.ts +78 -0
- package/dist/useToast-DgqC6Ta_.js +63 -0
- package/dist/utils/file.d.ts +1 -1
- package/dist/utils/file.js +1 -1
- package/dist/{utils-BkLF-JA3.js → utils-Q5Oc6oX2.js} +1 -1
- package/llms.txt +3201 -0
- package/package.json +22 -118
- package/MIGRATION.md +0 -655
- package/dist/Alert-D4X7OWiv.d.ts +0 -34
- package/dist/AlertDialog-DklLDjmw.d.ts +0 -26
- package/dist/Autocomplete-BgFz3kuR.d.ts +0 -23
- package/dist/Autocomplete-Bn13u0zu.js +0 -145
- package/dist/Autocomplete.bound-CpHZZ3C9.d.ts +0 -9
- package/dist/Autocomplete.bound-Dwh__y-Z.js +0 -28
- package/dist/Badge-Db1ndK67.d.ts +0 -30
- package/dist/BadgeButton-BPhWDAnc.d.ts +0 -15
- package/dist/BottomSheet-BZmDJBR-.d.ts +0 -33
- package/dist/ButtonBase-CZuEy3Pk.d.ts +0 -32
- package/dist/Checkbox-w2j5hLOQ.d.ts +0 -27
- package/dist/Checkbox.bound-D2nBglJz.js +0 -33
- package/dist/Checkbox.bound-DD_RCjVm.d.ts +0 -9
- package/dist/CheckboxCheckmark-DWsYVZuu.js +0 -25
- package/dist/CheckboxGroup-BYI15Y09.d.ts +0 -30
- package/dist/CheckboxGroup.bound-DY0HKGSh.js +0 -32
- package/dist/CheckboxGroup.bound-QiJ-P0KR.d.ts +0 -9
- package/dist/ComboBox-ChsdI0lt.js +0 -212
- package/dist/DatePicker-QzfQf21b.d.ts +0 -56
- package/dist/DatePicker.bound-DoCAqhM4.d.ts +0 -9
- package/dist/DatePicker.bound-M2cjR37s.js +0 -36
- package/dist/DateRangePicker-32D4pWJg.d.ts +0 -97
- package/dist/DateRangePicker.bound-CVtoVsho.d.ts +0 -9
- package/dist/DateRangePicker.bound-CkIDsAUf.js +0 -35
- package/dist/DateTimePicker-BTRIUagV.d.ts +0 -55
- package/dist/DateTimePicker.bound-X4DTyQ1b.d.ts +0 -9
- package/dist/DateTimePicker.bound-nSCVUqd0.js +0 -32
- package/dist/Dialog-CO9xljD3.d.ts +0 -21
- package/dist/Drawer-D1cHiBFO.d.ts +0 -18
- package/dist/DropdownMenu-D_9z9ond.d.ts +0 -25
- package/dist/FileInput-BEaECoBS.d.ts +0 -75
- package/dist/FileInput.bound-C12mOKpg.js +0 -30
- package/dist/FileInput.bound-D2HuuqSb.d.ts +0 -8
- package/dist/FileUpload-BUTSqHVk.d.ts +0 -11
- package/dist/FileUpload-D7FMYm-k.js +0 -749
- package/dist/FileUpload.bound-CGQXb4iT.d.ts +0 -16
- package/dist/FileUpload.bound-DmkuulOi.js +0 -30
- package/dist/FileUploadContainer-Dzg5aXXZ.d.ts +0 -5
- package/dist/FormField-DGyCDxOp.d.ts +0 -42
- package/dist/FormFieldHeaderTooltip-Dt-g40Tc.js +0 -17
- package/dist/IconButton-shH_9wcl.d.ts +0 -25
- package/dist/Input-CTp_9mS9.d.ts +0 -34
- package/dist/Input.bound-B9a62ylL.d.ts +0 -9
- package/dist/Input.bound-DYoXyRGy.js +0 -31
- package/dist/InputContent-BCNkN4Fx.d.ts +0 -27
- package/dist/Link-PvYB_M-j.d.ts +0 -30
- package/dist/MenuItem-U3-pu1j5.d.ts +0 -6
- package/dist/NumberField-WXebfxjK.d.ts +0 -34
- package/dist/NumberField.bound-ChJnNyJS.js +0 -32
- package/dist/NumberField.bound-Dy0A5iVc.d.ts +0 -9
- package/dist/NumberRangeInput-BCKQaGpy.d.ts +0 -50
- package/dist/NumberRangeInput.bound-BF6P_ega.js +0 -32
- package/dist/NumberRangeInput.bound-BNXxIQ0b.d.ts +0 -9
- package/dist/PasswordInput-EhQjYyJS.d.ts +0 -11
- package/dist/PasswordInput.bound-CK5GwKL4.d.ts +0 -9
- package/dist/Popover-D_t1XDPA.d.ts +0 -20
- package/dist/Progress-Ckfpi_-M.d.ts +0 -45
- package/dist/Progress-RiEGGxNG.js +0 -119
- package/dist/RadioGroup-6e-Z6jW8.d.ts +0 -26
- package/dist/RadioGroup.bound-BFWSq-on.js +0 -32
- package/dist/RadioGroup.bound-w3SZqSkH.d.ts +0 -9
- package/dist/RichTextEditor-DHhuBeT6.d.ts +0 -28
- package/dist/RichTextEditor-DfwVdm45.js +0 -651
- package/dist/Select-C34ENdjq.d.ts +0 -119
- package/dist/Select.bound--Az1Xwgm.js +0 -34
- package/dist/Select.bound-qOihchei.d.ts +0 -17
- package/dist/Slider-DRg8zKRM.d.ts +0 -23
- package/dist/Slider.bound-CByTXPTr.js +0 -31
- package/dist/Slider.bound-CaEF19um.d.ts +0 -9
- package/dist/Spinner-Cvy_6zgD.d.ts +0 -30
- package/dist/Spinner-DqjP06T1.js +0 -101
- package/dist/SplitButton-V1f2NWfh.d.ts +0 -15
- package/dist/Stepper-k91x_m-E.d.ts +0 -114
- package/dist/Switch-ELVPkPx0.d.ts +0 -24
- package/dist/Switch.bound-DeEdVvZV.d.ts +0 -9
- package/dist/Switch.bound-Dv0cHsMM.js +0 -33
- package/dist/TableDnd-CuHxANWh.js +0 -133
- package/dist/TableRowDetails-D8HFTghI.d.ts +0 -109
- package/dist/TabsFilters-DePddjCk.d.ts +0 -30
- package/dist/Tag-B2_ZiSE-.d.ts +0 -44
- package/dist/TextArea-iqUeB2QY.d.ts +0 -26
- package/dist/TextArea.bound-BJHyCogp.d.ts +0 -9
- package/dist/TextArea.bound-DeaskY6r.js +0 -28
- package/dist/TimePicker-BZ1ocsBX.d.ts +0 -45
- package/dist/TimePicker.bound-8DmjMXuE.d.ts +0 -9
- package/dist/TimePicker.bound-BFSXJvE_.js +0 -32
- package/dist/TimePickerForm-DD9VA_td.js +0 -225
- package/dist/Toast-D9pdadZ4.d.ts +0 -16
- package/dist/ToggleGroup-CrDoeLN0.js +0 -333
- package/dist/ToggleGroup-DvjnSinl.d.ts +0 -42
- package/dist/ToggleGroup.bound-B03ISHQ8.d.ts +0 -9
- package/dist/ToggleGroup.bound-DCnYwmBt.js +0 -67
- package/dist/Tooltip-B8DTURLQ.d.ts +0 -16
- package/dist/TooltipEllipsis-Di9Dvd4x.d.ts +0 -11
- package/dist/badgeButton.cva-CBFIhr1S.d.ts +0 -41
- package/dist/button.cva-C8LGtNJ3.d.ts +0 -94
- package/dist/checkbox.cva-CCh_UlrC.d.ts +0 -76
- package/dist/components/badge-button.d.ts +0 -2
- package/dist/components/badge-button.js +0 -74
- package/dist/components/file-upload-container.d.ts +0 -3
- package/dist/components/file-upload-container.js +0 -15
- package/dist/confirmation.context-Bc2yEVp_.js +0 -114
- package/dist/confirmation.context-C_GDRn3a.d.ts +0 -23
- package/dist/fileUpload.types-C-ke21yY.d.ts +0 -110
- package/dist/form.binding-DOR5gIQf.js +0 -49
- package/dist/form.types-C8P4sznq.d.ts +0 -22
- package/dist/formFieldHelper.cva-DRmSyRZN.js +0 -14
- package/dist/iconSlot.cva-CLB5Tlsr.d.ts +0 -9
- package/dist/icons.d.ts +0 -4
- package/dist/icons.js +0 -3
- package/dist/input.cva-BjuHsDGy.d.ts +0 -80
- package/dist/inputLayout-KdAtunGk.js +0 -5
- package/dist/link.context-BCHn7NSy.d.ts +0 -12
- package/dist/radio.cva-D7M1hqLe.d.ts +0 -56
- package/dist/router.context-CtafjXV7.d.ts +0 -16
- package/dist/router.context-MckTbHw9.js +0 -63
- package/dist/routing.utils-DfxEt0_Y.js +0 -30
- package/dist/style-definitions-Dx6aFDiR.d.ts +0 -1038
- package/dist/switch.cva-r6vcS25Q.d.ts +0 -16
- package/dist/tanstack/autocomplete.d.ts +0 -3
- package/dist/tanstack/autocomplete.js +0 -2
- package/dist/tanstack/checkbox-group.d.ts +0 -3
- package/dist/tanstack/checkbox-group.js +0 -2
- package/dist/tanstack/checkbox.d.ts +0 -3
- package/dist/tanstack/checkbox.js +0 -2
- package/dist/tanstack/date-picker.d.ts +0 -3
- package/dist/tanstack/date-picker.js +0 -2
- package/dist/tanstack/date-range-picker.d.ts +0 -3
- package/dist/tanstack/date-range-picker.js +0 -2
- package/dist/tanstack/date-time-picker.d.ts +0 -3
- package/dist/tanstack/date-time-picker.js +0 -2
- package/dist/tanstack/file-input.d.ts +0 -3
- package/dist/tanstack/file-input.js +0 -2
- package/dist/tanstack/file-upload.d.ts +0 -4
- package/dist/tanstack/file-upload.js +0 -2
- package/dist/tanstack/input.d.ts +0 -3
- package/dist/tanstack/input.js +0 -2
- package/dist/tanstack/number-field.d.ts +0 -3
- package/dist/tanstack/number-field.js +0 -2
- package/dist/tanstack/number-range-input.d.ts +0 -3
- package/dist/tanstack/number-range-input.js +0 -2
- package/dist/tanstack/password-input.d.ts +0 -2
- package/dist/tanstack/password-input.js +0 -2
- package/dist/tanstack/radio-group.d.ts +0 -3
- package/dist/tanstack/radio-group.js +0 -2
- package/dist/tanstack/rich-text-editor.d.ts +0 -9
- package/dist/tanstack/rich-text-editor.js +0 -28
- package/dist/tanstack/select.d.ts +0 -3
- package/dist/tanstack/select.js +0 -2
- package/dist/tanstack/slider.d.ts +0 -3
- package/dist/tanstack/slider.js +0 -2
- package/dist/tanstack/switch.d.ts +0 -3
- package/dist/tanstack/switch.js +0 -2
- package/dist/tanstack/text-area.d.ts +0 -3
- package/dist/tanstack/text-area.js +0 -2
- package/dist/tanstack/time-picker.d.ts +0 -3
- package/dist/tanstack/time-picker.js +0 -2
- package/dist/tanstack/toggle-group.d.ts +0 -3
- package/dist/tanstack/toggle-group.js +0 -2
- package/dist/tanstack-Bgdv0qU1.js +0 -19
- package/dist/tanstack-wNbE6b-h.d.ts +0 -566
- package/dist/toast.cva-AmLw6Cf5.d.ts +0 -61
- package/dist/toast.runtime-Drd2IJ_j.js +0 -17
- package/dist/toastActivation.store-BELtcr76.js +0 -16
- package/dist/toggleGroup.cva-DA4U21gn.d.ts +0 -26
- package/dist/typography.cva-BCHlTHdM.d.ts +0 -36
- package/dist/uiConfig.context-BnCORTNm.d.ts +0 -132
- package/dist/useAsyncList-Cu-Y8If2.d.ts +0 -9
- package/dist/useFilters-BxRScJdn.d.ts +0 -11
- package/dist/useFilters-DMi94RZK.js +0 -190
- package/dist/useForm-Cb7KWLds.js +0 -217
- package/dist/useForm-I6z23FXf.d.ts +0 -51
- package/dist/useFormAutosave-BPGlChiY.js +0 -216
- package/dist/useTableColumnConfig-CXYgj5xi.js +0 -1906
- package/dist/useTableNav-BusSFEVC.d.ts +0 -197
- package/dist/useToast-DsA8CVoY.d.ts +0 -16
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
import { c as $7230ffa83bc0c2cf$export$ef03459518577ad4, i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, l as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a } from "./utils-BkLF-JA3.js";
|
|
2
|
-
import { _ as $4b38b5b75ecc6208$export$698f465ec27e93df, i as $f2ff30fde7b014be$export$d2f961adcb0afbe, u as $542a13ca2fa5b484$export$9b9a0cd73afb7ca4 } from "./Dialog-C9H9_BmK.js";
|
|
3
|
-
import { t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-BGvF9vWx.js";
|
|
4
|
-
import { t as $7705c033048f6da7$export$24d547caef80ccd1 } from "./Button-C1YB5dOw.js";
|
|
5
|
-
import { t as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-D72yc4S6.js";
|
|
6
|
-
import { n as $1f3c3b1a70cec653$export$ff05c3ac10437e03, t as $cdaed739b1139372$export$c24727297075ec6a } from "./Form-CqF1SaVw.js";
|
|
7
|
-
import { t as $41fb335299a4a39e$export$37fb8590cf2c088c } from "./Input-BG0Xjw5X.js";
|
|
8
|
-
import { n as $928221da08ecbc62$export$7c5906fe4f1f2af2, r as $928221da08ecbc62$export$7ff8f37d2d81a48d } from "./ListBox-DhR5kojP.js";
|
|
9
|
-
import $ahdqC$react, { createContext, useCallback, useMemo, useRef, useState } from "react";
|
|
10
|
-
import "react-aria/mergeProps";
|
|
11
|
-
import { CollectionBuilder } from "react-aria/CollectionBuilder";
|
|
12
|
-
import { filterDOMProps } from "react-aria/filterDOMProps";
|
|
13
|
-
import "react-aria/useFocusRing";
|
|
14
|
-
import "react-aria/useHover";
|
|
15
|
-
import { createHideableComponent } from "react-aria/private/collections/Hidden";
|
|
16
|
-
import { useResizeObserver } from "react-aria/private/utils/useResizeObserver";
|
|
17
|
-
import { useComboBox } from "react-aria/useComboBox";
|
|
18
|
-
import { useComboBoxState } from "react-stately/useComboBoxState";
|
|
19
|
-
import { useFilter } from "react-aria/useFilter";
|
|
20
|
-
import "react-aria/useListFormatter";
|
|
21
|
-
//#region ../../node_modules/.bun/react-aria-components@1.22.1+67f6792bdf102c28/node_modules/react-aria-components/dist/private/Group.mjs
|
|
22
|
-
const $3a442827418ebe87$export$f9c6924e160136d1 = /*#__PURE__*/ createContext({});
|
|
23
|
-
//#endregion
|
|
24
|
-
//#region ../../node_modules/.bun/react-aria-components@1.22.1+67f6792bdf102c28/node_modules/react-aria-components/dist/private/ComboBox.mjs
|
|
25
|
-
const $dbdc5e6e7ce01b4b$export$d414ccceff7063c3 = /*#__PURE__*/ createContext(null);
|
|
26
|
-
const $dbdc5e6e7ce01b4b$export$c02625b26074192c = /*#__PURE__*/ createContext(null);
|
|
27
|
-
const $dbdc5e6e7ce01b4b$export$72b9695b8216309a = /*#__PURE__*/ createHideableComponent(function ComboBox(props, ref) {
|
|
28
|
-
[props, ref] = $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, ref, $dbdc5e6e7ce01b4b$export$d414ccceff7063c3);
|
|
29
|
-
let { children, isDisabled = false, isInvalid = false, isRequired = false, isReadOnly = false } = props;
|
|
30
|
-
let content = useMemo(() => /*#__PURE__*/ $ahdqC$react.createElement($928221da08ecbc62$export$7ff8f37d2d81a48d.Provider, { value: { items: props.items ?? props.defaultItems } }, typeof children === "function" ? children({
|
|
31
|
-
isOpen: false,
|
|
32
|
-
isDisabled,
|
|
33
|
-
isInvalid,
|
|
34
|
-
isRequired,
|
|
35
|
-
defaultChildren: null,
|
|
36
|
-
isReadOnly
|
|
37
|
-
}) : children), [
|
|
38
|
-
children,
|
|
39
|
-
isDisabled,
|
|
40
|
-
isInvalid,
|
|
41
|
-
isRequired,
|
|
42
|
-
isReadOnly,
|
|
43
|
-
props.items,
|
|
44
|
-
props.defaultItems
|
|
45
|
-
]);
|
|
46
|
-
return /*#__PURE__*/ $ahdqC$react.createElement(CollectionBuilder, { content }, (collection) => /*#__PURE__*/ $ahdqC$react.createElement($dbdc5e6e7ce01b4b$var$ComboBoxInner, {
|
|
47
|
-
props,
|
|
48
|
-
collection,
|
|
49
|
-
comboBoxRef: ref
|
|
50
|
-
}));
|
|
51
|
-
});
|
|
52
|
-
const $dbdc5e6e7ce01b4b$var$CLEAR_CONTEXTS = [
|
|
53
|
-
$43a3b93638fe5db9$export$75b6ee27786ba447,
|
|
54
|
-
$7705c033048f6da7$export$24d547caef80ccd1,
|
|
55
|
-
$41fb335299a4a39e$export$37fb8590cf2c088c,
|
|
56
|
-
$4b38b5b75ecc6208$export$698f465ec27e93df,
|
|
57
|
-
$3a442827418ebe87$export$f9c6924e160136d1,
|
|
58
|
-
$efe09c6d1c304b50$export$9afb8bc826b033ea
|
|
59
|
-
];
|
|
60
|
-
function $dbdc5e6e7ce01b4b$var$ComboBoxInner({ props, collection, comboBoxRef: ref }) {
|
|
61
|
-
let { name, formValue = "key", allowsCustomValue } = props;
|
|
62
|
-
if (allowsCustomValue) formValue = "text";
|
|
63
|
-
let { validationBehavior: formValidationBehavior } = $7230ffa83bc0c2cf$export$fabf2dc03a41866e($cdaed739b1139372$export$c24727297075ec6a) || {};
|
|
64
|
-
let validationBehavior = props.validationBehavior ?? formValidationBehavior ?? "native";
|
|
65
|
-
let { contains } = useFilter({ sensitivity: "base" });
|
|
66
|
-
let state = useComboBoxState({
|
|
67
|
-
...props,
|
|
68
|
-
defaultFilter: props.defaultFilter || contains,
|
|
69
|
-
items: props.items,
|
|
70
|
-
children: void 0,
|
|
71
|
-
collection,
|
|
72
|
-
validationBehavior
|
|
73
|
-
});
|
|
74
|
-
let buttonRef = useRef(null);
|
|
75
|
-
let inputRef = useRef(null);
|
|
76
|
-
let groupRef = useRef(null);
|
|
77
|
-
let listBoxRef = useRef(null);
|
|
78
|
-
let popoverRef = useRef(null);
|
|
79
|
-
let [labelRef, label] = $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8(!props["aria-label"] && !props["aria-labelledby"]);
|
|
80
|
-
let [labelElementType, setLabelElementType] = useState("label");
|
|
81
|
-
let { buttonProps, inputProps, listBoxProps, labelProps, descriptionProps, errorMessageProps, valueProps, ...validation } = useComboBox({
|
|
82
|
-
...$7230ffa83bc0c2cf$export$ef03459518577ad4(props),
|
|
83
|
-
label,
|
|
84
|
-
inputRef,
|
|
85
|
-
buttonRef,
|
|
86
|
-
listBoxRef,
|
|
87
|
-
popoverRef,
|
|
88
|
-
name: formValue === "text" ? name : void 0,
|
|
89
|
-
validationBehavior,
|
|
90
|
-
labelElementType
|
|
91
|
-
}, state);
|
|
92
|
-
let [menuWidth, setMenuWidth] = useState(null);
|
|
93
|
-
let onResize = useCallback(() => {
|
|
94
|
-
if (inputRef.current && !groupRef.current) {
|
|
95
|
-
let buttonRect = buttonRef.current?.getBoundingClientRect();
|
|
96
|
-
let inputRect = inputRef.current.getBoundingClientRect();
|
|
97
|
-
let minX = buttonRect ? Math.min(buttonRect.left, inputRect.left) : inputRect.left;
|
|
98
|
-
let maxX = buttonRect ? Math.max(buttonRect.right, inputRect.right) : inputRect.right;
|
|
99
|
-
setMenuWidth(maxX - minX + "px");
|
|
100
|
-
}
|
|
101
|
-
}, [
|
|
102
|
-
buttonRef,
|
|
103
|
-
inputRef,
|
|
104
|
-
setMenuWidth
|
|
105
|
-
]);
|
|
106
|
-
useResizeObserver({
|
|
107
|
-
ref: inputRef,
|
|
108
|
-
onResize
|
|
109
|
-
});
|
|
110
|
-
let triggerRef = useMemo(() => ({ get current() {
|
|
111
|
-
return groupRef.current || inputRef.current;
|
|
112
|
-
} }), [groupRef, inputRef]);
|
|
113
|
-
let renderPropsState = useMemo(() => ({
|
|
114
|
-
isOpen: state.isOpen,
|
|
115
|
-
isDisabled: props.isDisabled || false,
|
|
116
|
-
isInvalid: validation.isInvalid || false,
|
|
117
|
-
isRequired: props.isRequired || false,
|
|
118
|
-
isReadOnly: props.isReadOnly || false
|
|
119
|
-
}), [
|
|
120
|
-
state.isOpen,
|
|
121
|
-
props.isDisabled,
|
|
122
|
-
validation.isInvalid,
|
|
123
|
-
props.isRequired,
|
|
124
|
-
props.isReadOnly
|
|
125
|
-
]);
|
|
126
|
-
let renderProps = $7230ffa83bc0c2cf$export$4d86445c2cf5e3({
|
|
127
|
-
...props,
|
|
128
|
-
values: renderPropsState,
|
|
129
|
-
defaultClassName: "react-aria-ComboBox"
|
|
130
|
-
});
|
|
131
|
-
let DOMProps = filterDOMProps(props, { global: true });
|
|
132
|
-
delete DOMProps.id;
|
|
133
|
-
let inputs = [];
|
|
134
|
-
if (name && formValue === "key") {
|
|
135
|
-
let values = Array.isArray(state.value) ? state.value : [state.value];
|
|
136
|
-
if (values.length === 0) values = [null];
|
|
137
|
-
inputs = values.map((value, i) => /*#__PURE__*/ $ahdqC$react.createElement("input", {
|
|
138
|
-
key: i,
|
|
139
|
-
type: "hidden",
|
|
140
|
-
name,
|
|
141
|
-
form: props.form,
|
|
142
|
-
value: value ?? ""
|
|
143
|
-
}));
|
|
144
|
-
}
|
|
145
|
-
return /*#__PURE__*/ $ahdqC$react.createElement($7230ffa83bc0c2cf$export$2881499e37b75b9a, { values: [
|
|
146
|
-
[$dbdc5e6e7ce01b4b$export$c02625b26074192c, state],
|
|
147
|
-
[$43a3b93638fe5db9$export$75b6ee27786ba447, {
|
|
148
|
-
...labelProps,
|
|
149
|
-
elementType: labelElementType,
|
|
150
|
-
ref: labelRef
|
|
151
|
-
}],
|
|
152
|
-
[$7705c033048f6da7$export$24d547caef80ccd1, {
|
|
153
|
-
...buttonProps,
|
|
154
|
-
ref: buttonRef,
|
|
155
|
-
isPressed: state.isOpen
|
|
156
|
-
}],
|
|
157
|
-
[$41fb335299a4a39e$export$37fb8590cf2c088c, {
|
|
158
|
-
...inputProps,
|
|
159
|
-
ref: inputRef
|
|
160
|
-
}],
|
|
161
|
-
[$4b38b5b75ecc6208$export$698f465ec27e93df, {
|
|
162
|
-
...inputProps,
|
|
163
|
-
ref: useCallback((el) => {
|
|
164
|
-
inputRef.current = el;
|
|
165
|
-
if (el) setLabelElementType(el.tagName.toLowerCase() === "input" ? "label" : "span");
|
|
166
|
-
}, []),
|
|
167
|
-
value: state.inputValue,
|
|
168
|
-
onChange: (v) => state.setInputValue(v)
|
|
169
|
-
}],
|
|
170
|
-
[$f2ff30fde7b014be$export$d2f961adcb0afbe, state],
|
|
171
|
-
[$542a13ca2fa5b484$export$9b9a0cd73afb7ca4, {
|
|
172
|
-
ref: popoverRef,
|
|
173
|
-
triggerRef,
|
|
174
|
-
scrollRef: listBoxRef,
|
|
175
|
-
placement: "bottom start",
|
|
176
|
-
isNonModal: true,
|
|
177
|
-
trigger: "ComboBox",
|
|
178
|
-
style: { "--trigger-width": menuWidth },
|
|
179
|
-
clearContexts: $dbdc5e6e7ce01b4b$var$CLEAR_CONTEXTS
|
|
180
|
-
}],
|
|
181
|
-
[$928221da08ecbc62$export$7ff8f37d2d81a48d, {
|
|
182
|
-
...listBoxProps,
|
|
183
|
-
ref: listBoxRef
|
|
184
|
-
}],
|
|
185
|
-
[$928221da08ecbc62$export$7c5906fe4f1f2af2, state],
|
|
186
|
-
[$efe09c6d1c304b50$export$9afb8bc826b033ea, { slots: {
|
|
187
|
-
description: descriptionProps,
|
|
188
|
-
errorMessage: errorMessageProps
|
|
189
|
-
} }],
|
|
190
|
-
[$3a442827418ebe87$export$f9c6924e160136d1, {
|
|
191
|
-
ref: groupRef,
|
|
192
|
-
isInvalid: validation.isInvalid,
|
|
193
|
-
isDisabled: props.isDisabled || false
|
|
194
|
-
}],
|
|
195
|
-
[$1f3c3b1a70cec653$export$ff05c3ac10437e03, validation],
|
|
196
|
-
[$dbdc5e6e7ce01b4b$export$5c804022b41722df, valueProps]
|
|
197
|
-
] }, /*#__PURE__*/ $ahdqC$react.createElement($7230ffa83bc0c2cf$export$df3a06d6289f983e.div, {
|
|
198
|
-
...DOMProps,
|
|
199
|
-
...renderProps,
|
|
200
|
-
ref,
|
|
201
|
-
slot: props.slot || void 0,
|
|
202
|
-
"data-focused": state.isFocused || void 0,
|
|
203
|
-
"data-open": state.isOpen || void 0,
|
|
204
|
-
"data-disabled": props.isDisabled || void 0,
|
|
205
|
-
"data-readonly": props.isReadOnly || void 0,
|
|
206
|
-
"data-invalid": validation.isInvalid || void 0,
|
|
207
|
-
"data-required": props.isRequired || void 0
|
|
208
|
-
}, renderProps.children, inputs));
|
|
209
|
-
}
|
|
210
|
-
const $dbdc5e6e7ce01b4b$export$5c804022b41722df = /*#__PURE__*/ createContext(null);
|
|
211
|
-
//#endregion
|
|
212
|
-
export { $dbdc5e6e7ce01b4b$export$c02625b26074192c as n, $dbdc5e6e7ce01b4b$export$72b9695b8216309a as t };
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { n as FormFieldProps } from "./FormField-DGyCDxOp.js";
|
|
2
|
-
import { n as InputVariantProps } from "./input.cva-BjuHsDGy.js";
|
|
3
|
-
import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-vLlL5ATh.js";
|
|
4
|
-
import { FocusEvent, Ref } from "react";
|
|
5
|
-
import { CalendarDate, DateValue } from "@internationalized/date";
|
|
6
|
-
import { DatePickerStateOptions } from "react-stately";
|
|
7
|
-
//#region src/components/inputs/DateTime/DatePicker/DatePicker.d.ts
|
|
8
|
-
type DatePickerGranularity = "day" | "month" | "year";
|
|
9
|
-
interface DatePickerBaseProps extends FormFieldProps, InputVariantProps, Omit<DatePickerStateOptions<CalendarDate>, "granularity" | "shouldCloseOnSelect" | "label" | "onBlur"> {
|
|
10
|
-
"aria-describedby"?: string;
|
|
11
|
-
"aria-label"?: string;
|
|
12
|
-
"aria-labelledby"?: string;
|
|
13
|
-
ref?: Ref<DatePickerInputHandle & HTMLDivElement>;
|
|
14
|
-
disableDropdown?: boolean;
|
|
15
|
-
isClearable?: boolean;
|
|
16
|
-
isClearableIfDisabled?: boolean;
|
|
17
|
-
className?: string;
|
|
18
|
-
showWeekNumbers?: boolean;
|
|
19
|
-
todayIcon?: DatePickerTodayIcon;
|
|
20
|
-
todayIconButtonSize?: DatePickerTodayIconButtonSize;
|
|
21
|
-
todayIconButtonComponent?: DatePickerTodayIconButtonComponent;
|
|
22
|
-
todayIconPlacement?: DatePickerTodayIconPlacement;
|
|
23
|
-
isDirty?: boolean;
|
|
24
|
-
disableManualEntry?: boolean;
|
|
25
|
-
autoFixYear?: boolean;
|
|
26
|
-
placeholder?: string;
|
|
27
|
-
inputClassName?: string;
|
|
28
|
-
onBlur?: (e: FocusEvent<HTMLInputElement>) => void;
|
|
29
|
-
onValueCommit?: () => void;
|
|
30
|
-
shouldUpdateDateOnMonthYearChange?: boolean;
|
|
31
|
-
granularity?: DatePickerGranularity;
|
|
32
|
-
format?: string;
|
|
33
|
-
}
|
|
34
|
-
interface DatePickerProps extends Omit<DatePickerBaseProps, "value" | "onChange" | "defaultValue" | "minValue" | "maxValue" | "onValueCommit"> {
|
|
35
|
-
field?: never;
|
|
36
|
-
/** Initial value in the fullIso format; used only when value is undefined. */
|
|
37
|
-
defaultValue?: string | null;
|
|
38
|
-
/** Controlled UTC-calendar date in the fullIso format; null clears the field. */
|
|
39
|
-
value?: string | null;
|
|
40
|
-
/** Emits UTC midnight ISO (fullIso=true) or YYYY-MM-DD (false), or null when cleared. */
|
|
41
|
-
onChange?: (value: string | null) => void;
|
|
42
|
-
/** Defaults to true: YYYY-MM-DDT00:00:00.000Z. False uses YYYY-MM-DD for inputs and outputs. */
|
|
43
|
-
fullIso?: boolean;
|
|
44
|
-
minValue?: DateValue | string;
|
|
45
|
-
maxValue?: DateValue | string;
|
|
46
|
-
renderStaticInput?: boolean;
|
|
47
|
-
}
|
|
48
|
-
type DatePickerInnerProps = DatePickerProps & {
|
|
49
|
-
isFormControlDisabled?: boolean;
|
|
50
|
-
onValueCommit?: () => void;
|
|
51
|
-
};
|
|
52
|
-
declare const DatePickerInner: ({ defaultValue: _defaultValue, fullIso, granularity, minValue, maxValue, renderStaticInput, isFormControlDisabled, ...props }: DatePickerInnerProps) => import("react").JSX.Element;
|
|
53
|
-
declare const DatePickerComponent: ({ defaultValue, value, onChange, ...props }: DatePickerProps) => import("react").JSX.Element;
|
|
54
|
-
declare const DatePicker: import("react").MemoExoticComponent<typeof DatePickerComponent>;
|
|
55
|
-
//#endregion
|
|
56
|
-
export { DatePickerProps as i, DatePickerComponent as n, DatePickerInner as r, DatePicker as t };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { i as DatePickerProps$1 } from "./DatePicker-QzfQf21b.js";
|
|
2
|
-
import { n as FieldValues, t as FormControlProps } from "./form.types-C8P4sznq.js";
|
|
3
|
-
//#region src/components/inputs/DateTime/DatePicker/DatePicker.bound.d.ts
|
|
4
|
-
type ControlledDatePickerProps<TFieldValues extends FieldValues> = FormControlProps<DatePickerProps$1, TFieldValues>;
|
|
5
|
-
type DatePickerProps<TFieldValues extends FieldValues = FieldValues> = ControlledDatePickerProps<TFieldValues>;
|
|
6
|
-
declare const DatePickerComponent: <TFieldValues extends FieldValues>({ fullIso, granularity, minValue, maxValue, renderStaticInput, ...props }: ControlledDatePickerProps<TFieldValues>) => import("react").JSX.Element;
|
|
7
|
-
declare const DatePicker: typeof DatePickerComponent;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { DatePicker as n, DatePickerProps as r, ControlledDatePickerProps as t };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
|
-
import { t as FieldController } from "./form.binding-DOR5gIQf.js";
|
|
3
|
-
import { n as DatePickerInner } from "./DatePicker-bme8zGBo.js";
|
|
4
|
-
import { memo } from "react";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
//#region src/components/inputs/DateTime/DatePicker/DatePicker.bound.tsx
|
|
7
|
-
const DatePickerComponent = ({ fullIso = true, granularity = "day", minValue, maxValue, renderStaticInput, ...props }) => {
|
|
8
|
-
const { field, ref, ...innerProps } = props;
|
|
9
|
-
const controlWithOptions = field.form;
|
|
10
|
-
return /* @__PURE__ */ jsx(FieldController, {
|
|
11
|
-
control: field.form,
|
|
12
|
-
name: field.name,
|
|
13
|
-
onValueChange: field.onValueChange,
|
|
14
|
-
onBlur: field.onBlur,
|
|
15
|
-
render: ({ field, fieldState: { error, isDirty } }) => /* @__PURE__ */ jsx(DatePickerInner, {
|
|
16
|
-
...innerProps,
|
|
17
|
-
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, field.ref),
|
|
18
|
-
value: field.value ?? null,
|
|
19
|
-
onChange: (value) => field.onChange(value ?? null),
|
|
20
|
-
onValueCommit: field.onValueCommit,
|
|
21
|
-
onBlur: field.onBlur,
|
|
22
|
-
isDirty,
|
|
23
|
-
isDisabled: field.disabled || props.isDisabled,
|
|
24
|
-
isFormControlDisabled: !!controlWithOptions._options?.disabled,
|
|
25
|
-
error: props.error ?? error?.message,
|
|
26
|
-
fullIso,
|
|
27
|
-
granularity,
|
|
28
|
-
minValue,
|
|
29
|
-
maxValue,
|
|
30
|
-
renderStaticInput
|
|
31
|
-
})
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
|
-
const DatePicker = memo(DatePickerComponent);
|
|
35
|
-
//#endregion
|
|
36
|
-
export { DatePicker as t };
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { n as FormFieldProps } from "./FormField-DGyCDxOp.js";
|
|
2
|
-
import { n as InputVariantProps } from "./input.cva-BjuHsDGy.js";
|
|
3
|
-
import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-vLlL5ATh.js";
|
|
4
|
-
import { FocusEvent, Ref } from "react";
|
|
5
|
-
import { DateValue } from "react-aria";
|
|
6
|
-
import { CalendarDate } from "@internationalized/date";
|
|
7
|
-
import { DateRangePickerStateOptions } from "react-stately";
|
|
8
|
-
//#region src/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts
|
|
9
|
-
interface DateRangePickerBaseProps extends FormFieldProps, InputVariantProps, Omit<DateRangePickerStateOptions<CalendarDate>, "granularity" | "shouldCloseOnSelect" | "label" | "onBlur"> {
|
|
10
|
-
"aria-describedby"?: string;
|
|
11
|
-
"aria-label"?: string;
|
|
12
|
-
"aria-labelledby"?: string;
|
|
13
|
-
ref?: Ref<DatePickerInputHandle & HTMLDivElement>;
|
|
14
|
-
disableDropdown?: boolean;
|
|
15
|
-
isClearable?: boolean;
|
|
16
|
-
isClearableIfDisabled?: boolean;
|
|
17
|
-
hideSidebar?: boolean;
|
|
18
|
-
className?: string;
|
|
19
|
-
showWeekNumbers?: boolean;
|
|
20
|
-
todayIcon?: DatePickerTodayIcon;
|
|
21
|
-
todayIconButtonSize?: DatePickerTodayIconButtonSize;
|
|
22
|
-
todayIconButtonComponent?: DatePickerTodayIconButtonComponent;
|
|
23
|
-
todayIconPlacement?: DatePickerTodayIconPlacement;
|
|
24
|
-
isDirty?: boolean;
|
|
25
|
-
disableManualEntry?: boolean;
|
|
26
|
-
autoFixYear?: boolean;
|
|
27
|
-
placeholder?: string;
|
|
28
|
-
inputClassName?: string;
|
|
29
|
-
onBlur?: (e: FocusEvent<HTMLInputElement>) => void;
|
|
30
|
-
onValueCommit?: () => void;
|
|
31
|
-
/** Allows one null endpoint; otherwise an incomplete range emits null. Defaults to UIConfig.dateInput.allowPartialRange (false). */
|
|
32
|
-
allowPartialRange?: boolean;
|
|
33
|
-
mode?: "absolute" | "relative";
|
|
34
|
-
relativeValue?: string | null;
|
|
35
|
-
relativeOptions?: DateRangeRelativeOption[];
|
|
36
|
-
onRelativeChange?: (value: string | null, resolvedValue: DateRange | null) => void;
|
|
37
|
-
enableRelativeMode?: boolean;
|
|
38
|
-
onModeChange?: (isRelative: boolean) => void;
|
|
39
|
-
}
|
|
40
|
-
interface DateRange {
|
|
41
|
-
start: DateValue;
|
|
42
|
-
end: DateValue;
|
|
43
|
-
}
|
|
44
|
-
interface DateRangeRelativeOption {
|
|
45
|
-
/** Stable value emitted by DateRangePicker when mode is `relative`. */
|
|
46
|
-
value: string;
|
|
47
|
-
/** Human-readable value shown in the input and options list. */
|
|
48
|
-
label: string;
|
|
49
|
-
/** Resolves this relative option to its current concrete range. */
|
|
50
|
-
getValue: () => DateRangeResolvedValue;
|
|
51
|
-
isDisabled?: boolean;
|
|
52
|
-
}
|
|
53
|
-
interface DateRangeResolvedValue {
|
|
54
|
-
start: string;
|
|
55
|
-
end: string;
|
|
56
|
-
}
|
|
57
|
-
interface DateRangePickerSharedProps extends Omit<DateRangePickerBaseProps, "value" | "onChange" | "minValue" | "maxValue" | "mode" | "relativeValue" | "relativeOptions" | "onRelativeChange" | "onModeChange" | "onValueCommit"> {
|
|
58
|
-
/** Defaults to true: UTC midnight start and 23:59:59.999Z end. False uses YYYY-MM-DD endpoints. */
|
|
59
|
-
fullIso?: boolean;
|
|
60
|
-
minValue?: DateValue | string;
|
|
61
|
-
maxValue?: DateValue | string;
|
|
62
|
-
renderStaticInput?: boolean;
|
|
63
|
-
}
|
|
64
|
-
/** UTC-calendar endpoints in the fullIso format; null means no range. */
|
|
65
|
-
type AbsoluteDateRangePickerValue = {
|
|
66
|
-
start: string | null;
|
|
67
|
-
end: string | null;
|
|
68
|
-
} | null;
|
|
69
|
-
type DateRangePickerProps = Omit<DateRangePickerSharedProps, "defaultValue"> & {
|
|
70
|
-
field?: never;
|
|
71
|
-
/** Initial range in the fullIso format; used only when value is undefined. */
|
|
72
|
-
defaultValue?: AbsoluteDateRangePickerValue;
|
|
73
|
-
/** Allows switching between concrete date ranges and relative preset values. */
|
|
74
|
-
enableRelativeMode?: boolean;
|
|
75
|
-
/** Controlled UTC-calendar range in the fullIso format; null clears it. */
|
|
76
|
-
value?: AbsoluteDateRangePickerValue;
|
|
77
|
-
/** Emits formatted endpoints (including resolved relative ranges), or null when cleared/incomplete without allowPartialRange. */
|
|
78
|
-
onChange?: (value: AbsoluteDateRangePickerValue) => void;
|
|
79
|
-
/** Selected relative preset key or day offsets when enableRelativeMode is true; null means no selection. */
|
|
80
|
-
relativeValue?: string | null;
|
|
81
|
-
/** Emits a preset or option value, or day offsets such as `days:-7:+3`; null when cleared or switching modes. */
|
|
82
|
-
onRelativeChange?: (value: string | null) => void;
|
|
83
|
-
};
|
|
84
|
-
type DateRangePickerInnerProps = DateRangePickerSharedProps & {
|
|
85
|
-
value?: AbsoluteDateRangePickerValue;
|
|
86
|
-
onChange?: (value: AbsoluteDateRangePickerValue) => void;
|
|
87
|
-
enableRelativeMode?: boolean;
|
|
88
|
-
relativeValue?: string | null;
|
|
89
|
-
onRelativeChange?: (value: string | null) => void;
|
|
90
|
-
isFormControlDisabled?: boolean;
|
|
91
|
-
onValueCommit?: () => void;
|
|
92
|
-
};
|
|
93
|
-
declare const DateRangePickerInner: ({ fullIso, minValue, maxValue, renderStaticInput, isFormControlDisabled, ...props }: DateRangePickerInnerProps) => import("react").JSX.Element;
|
|
94
|
-
declare const DateRangePickerComponent: ({ defaultValue, value, onChange, ...props }: DateRangePickerProps) => import("react").JSX.Element;
|
|
95
|
-
declare const DateRangePicker: import("react").MemoExoticComponent<typeof DateRangePickerComponent>;
|
|
96
|
-
//#endregion
|
|
97
|
-
export { DateRangePickerProps as a, DateRangePickerInner as i, DateRangePicker as n, DateRangeRelativeOption as o, DateRangePickerComponent as r, DateRangeResolvedValue as s, AbsoluteDateRangePickerValue as t };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { a as DateRangePickerProps$1 } from "./DateRangePicker-32D4pWJg.js";
|
|
2
|
-
import { n as FieldValues, t as FormControlProps } from "./form.types-C8P4sznq.js";
|
|
3
|
-
//#region src/components/inputs/DateTime/DateRangePicker/DateRangePicker.bound.d.ts
|
|
4
|
-
type ControlledDateRangePickerProps<TFieldValues extends FieldValues> = FormControlProps<DateRangePickerProps$1, TFieldValues>;
|
|
5
|
-
type DateRangePickerProps<TFieldValues extends FieldValues = FieldValues> = ControlledDateRangePickerProps<TFieldValues>;
|
|
6
|
-
declare const DateRangePickerComponent: <TFieldValues extends FieldValues>({ fullIso, minValue, maxValue, renderStaticInput, ...props }: ControlledDateRangePickerProps<TFieldValues>) => import("react").JSX.Element;
|
|
7
|
-
declare const DateRangePicker: typeof DateRangePickerComponent;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { DateRangePicker as n, DateRangePickerProps as r, ControlledDateRangePickerProps as t };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
|
-
import { t as FieldController } from "./form.binding-DOR5gIQf.js";
|
|
3
|
-
import { n as DateRangePickerInner } from "./DateRangePicker-Blg158JD.js";
|
|
4
|
-
import { memo } from "react";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
//#region src/components/inputs/DateTime/DateRangePicker/DateRangePicker.bound.tsx
|
|
7
|
-
const DateRangePickerComponent = ({ fullIso = true, minValue, maxValue, renderStaticInput, ...props }) => {
|
|
8
|
-
const { field, ref, ...innerProps } = props;
|
|
9
|
-
const controlWithOptions = field.form;
|
|
10
|
-
return /* @__PURE__ */ jsx(FieldController, {
|
|
11
|
-
control: field.form,
|
|
12
|
-
name: field.name,
|
|
13
|
-
onValueChange: field.onValueChange,
|
|
14
|
-
onBlur: field.onBlur,
|
|
15
|
-
render: ({ field, fieldState: { error, isDirty } }) => /* @__PURE__ */ jsx(DateRangePickerInner, {
|
|
16
|
-
...innerProps,
|
|
17
|
-
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, field.ref),
|
|
18
|
-
value: field.value ?? null,
|
|
19
|
-
onChange: (value) => field.onChange(value ?? null),
|
|
20
|
-
onBlur: field.onBlur,
|
|
21
|
-
onValueCommit: field.onValueCommit,
|
|
22
|
-
isDirty,
|
|
23
|
-
isDisabled: field.disabled || props.isDisabled,
|
|
24
|
-
isFormControlDisabled: !!controlWithOptions._options?.disabled,
|
|
25
|
-
error: props.error ?? error?.message,
|
|
26
|
-
fullIso,
|
|
27
|
-
minValue,
|
|
28
|
-
maxValue,
|
|
29
|
-
renderStaticInput
|
|
30
|
-
})
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
const DateRangePicker = memo(DateRangePickerComponent);
|
|
34
|
-
//#endregion
|
|
35
|
-
export { DateRangePicker as t };
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { n as FormFieldProps } from "./FormField-DGyCDxOp.js";
|
|
2
|
-
import { n as InputVariantProps } from "./input.cva-BjuHsDGy.js";
|
|
3
|
-
import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-vLlL5ATh.js";
|
|
4
|
-
import { FocusEvent, Ref } from "react";
|
|
5
|
-
import { DateValue } from "react-aria";
|
|
6
|
-
import { DatePickerStateOptions } from "react-stately";
|
|
7
|
-
//#region src/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts
|
|
8
|
-
interface DateTimePickerBaseProps extends FormFieldProps, InputVariantProps, Omit<DatePickerStateOptions<DateValue>, "granularity" | "shouldCloseOnSelect" | "label" | "onBlur"> {
|
|
9
|
-
"aria-describedby"?: string;
|
|
10
|
-
"aria-label"?: string;
|
|
11
|
-
"aria-labelledby"?: string;
|
|
12
|
-
ref?: Ref<DatePickerInputHandle & HTMLDivElement>;
|
|
13
|
-
disableDropdown?: boolean;
|
|
14
|
-
isTimeOptional?: boolean;
|
|
15
|
-
isClearable?: boolean;
|
|
16
|
-
isClearableIfDisabled?: boolean;
|
|
17
|
-
showWeekNumbers?: boolean;
|
|
18
|
-
todayIcon?: DatePickerTodayIcon;
|
|
19
|
-
todayIconButtonSize?: DatePickerTodayIconButtonSize;
|
|
20
|
-
todayIconButtonComponent?: DatePickerTodayIconButtonComponent;
|
|
21
|
-
todayIconPlacement?: DatePickerTodayIconPlacement;
|
|
22
|
-
isDirty?: boolean;
|
|
23
|
-
disableManualEntry?: boolean;
|
|
24
|
-
autoFixYear?: boolean;
|
|
25
|
-
setDateValueOnDateSelection?: boolean;
|
|
26
|
-
placeholder?: string;
|
|
27
|
-
inputClassName?: string;
|
|
28
|
-
shouldShrinkInput?: boolean;
|
|
29
|
-
shouldUpdateDateOnMonthYearChange?: boolean;
|
|
30
|
-
timeZone?: string;
|
|
31
|
-
format?: string;
|
|
32
|
-
onBlur?: (e: FocusEvent<HTMLInputElement>) => void;
|
|
33
|
-
onValueCommit?: () => void;
|
|
34
|
-
}
|
|
35
|
-
interface DateTimePickerProps extends Omit<DateTimePickerBaseProps, "value" | "onChange" | "defaultValue" | "onValueCommit"> {
|
|
36
|
-
field?: never;
|
|
37
|
-
/** Initial ISO timestamp with Z or an explicit offset; used only when value is undefined. */
|
|
38
|
-
defaultValue?: string | null;
|
|
39
|
-
/** Controlled ISO timestamp with Z or an explicit offset; null clears the field. */
|
|
40
|
-
value?: string | null;
|
|
41
|
-
/** Emits a UTC ISO timestamp (YYYY-MM-DDTHH:mm:ss.sssZ), or null when cleared. */
|
|
42
|
-
onChange?: (value: string | null) => void;
|
|
43
|
-
renderStaticInput?: boolean;
|
|
44
|
-
/** Display/edit zone; defaults to UIConfig.dateInput.timeZone (clientLocal uses the browser zone). Output stays UTC. */
|
|
45
|
-
timeZone?: string;
|
|
46
|
-
}
|
|
47
|
-
type DateTimePickerInnerProps = DateTimePickerProps & {
|
|
48
|
-
isFormControlDisabled?: boolean;
|
|
49
|
-
onValueCommit?: () => void;
|
|
50
|
-
};
|
|
51
|
-
declare const DateTimePickerInner: ({ defaultValue: _defaultValue, renderStaticInput, isFormControlDisabled, ...props }: DateTimePickerInnerProps) => import("react").JSX.Element;
|
|
52
|
-
declare const DateTimePickerComponent: ({ defaultValue, value, onChange, ...props }: DateTimePickerProps) => import("react").JSX.Element;
|
|
53
|
-
declare const DateTimePicker: import("react").MemoExoticComponent<typeof DateTimePickerComponent>;
|
|
54
|
-
//#endregion
|
|
55
|
-
export { DateTimePickerProps as i, DateTimePickerComponent as n, DateTimePickerInner as r, DateTimePicker as t };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { i as DateTimePickerProps$1 } from "./DateTimePicker-BTRIUagV.js";
|
|
2
|
-
import { n as FieldValues, t as FormControlProps } from "./form.types-C8P4sznq.js";
|
|
3
|
-
//#region src/components/inputs/DateTime/DateTimePicker/DateTimePicker.bound.d.ts
|
|
4
|
-
type ControlledDateTimePickerProps<TFieldValues extends FieldValues> = FormControlProps<DateTimePickerProps$1, TFieldValues>;
|
|
5
|
-
type DateTimePickerProps<TFieldValues extends FieldValues = FieldValues> = ControlledDateTimePickerProps<TFieldValues>;
|
|
6
|
-
declare const DateTimePickerComponent: <TFieldValues extends FieldValues>({ renderStaticInput, ...props }: ControlledDateTimePickerProps<TFieldValues>) => import("react").JSX.Element;
|
|
7
|
-
declare const DateTimePicker: typeof DateTimePickerComponent;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { DateTimePicker as n, DateTimePickerProps as r, ControlledDateTimePickerProps as t };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
|
-
import { t as FieldController } from "./form.binding-DOR5gIQf.js";
|
|
3
|
-
import { n as DateTimePickerInner } from "./DateTimePicker-CdRFt8WM.js";
|
|
4
|
-
import { memo } from "react";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
//#region src/components/inputs/DateTime/DateTimePicker/DateTimePicker.bound.tsx
|
|
7
|
-
const DateTimePickerComponent = ({ renderStaticInput, ...props }) => {
|
|
8
|
-
const { field, ref, ...innerProps } = props;
|
|
9
|
-
const controlWithOptions = field.form;
|
|
10
|
-
return /* @__PURE__ */ jsx(FieldController, {
|
|
11
|
-
control: field.form,
|
|
12
|
-
name: field.name,
|
|
13
|
-
onValueChange: field.onValueChange,
|
|
14
|
-
onBlur: field.onBlur,
|
|
15
|
-
render: ({ field, fieldState: { error, isDirty } }) => /* @__PURE__ */ jsx(DateTimePickerInner, {
|
|
16
|
-
...innerProps,
|
|
17
|
-
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, field.ref),
|
|
18
|
-
value: field.value ?? null,
|
|
19
|
-
onChange: (value) => field.onChange(value ?? null),
|
|
20
|
-
onBlur: field.onBlur,
|
|
21
|
-
onValueCommit: field.onValueCommit,
|
|
22
|
-
isDirty,
|
|
23
|
-
isDisabled: field.disabled || props.isDisabled,
|
|
24
|
-
isFormControlDisabled: !!controlWithOptions._options?.disabled,
|
|
25
|
-
error: props.error ?? error?.message,
|
|
26
|
-
renderStaticInput
|
|
27
|
-
})
|
|
28
|
-
});
|
|
29
|
-
};
|
|
30
|
-
const DateTimePicker = memo(DateTimePickerComponent);
|
|
31
|
-
//#endregion
|
|
32
|
-
export { DateTimePicker as t };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { l as DialogVariantProps } from "./style-definitions-Dx6aFDiR.js";
|
|
2
|
-
import { PropsWithChildren, RefObject } from "react";
|
|
3
|
-
import { DialogProps } from "react-aria-components";
|
|
4
|
-
//#region src/components/overlays/Dialog/Dialog.d.ts
|
|
5
|
-
interface DialogProps$1 extends DialogVariantProps, Partial<Pick<DialogProps, "aria-label" | "aria-labelledby">> {
|
|
6
|
-
isOpen: boolean;
|
|
7
|
-
portalContainerRef?: RefObject<HTMLElement>;
|
|
8
|
-
/** Standard controlled-overlay callback. */
|
|
9
|
-
onOpenChange?: (isOpen: boolean) => void;
|
|
10
|
-
onClose?: () => void;
|
|
11
|
-
dialogClassName?: string;
|
|
12
|
-
closeIconClassName?: string;
|
|
13
|
-
overlayClassName?: string;
|
|
14
|
-
showCloseIcon?: boolean;
|
|
15
|
-
isDismissable?: boolean;
|
|
16
|
-
isKeyboardDismissable?: boolean;
|
|
17
|
-
shouldCloseOnInteractOutside?: () => boolean;
|
|
18
|
-
}
|
|
19
|
-
declare const Dialog: ({ isOpen, portalContainerRef, onClose, onOpenChange, aside, children, dialogClassName, closeIconClassName, overlayClassName, showCloseIcon, isDismissable, isKeyboardDismissable, shouldCloseOnInteractOutside, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy }: PropsWithChildren<DialogProps$1>) => import("react").JSX.Element;
|
|
20
|
-
//#endregion
|
|
21
|
-
export { DialogProps$1 as n, Dialog as t };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ReactNode, RefObject } from "react";
|
|
2
|
-
//#region src/components/overlays/Drawer/Drawer.d.ts
|
|
3
|
-
interface DrawerProps {
|
|
4
|
-
label: string;
|
|
5
|
-
isOpen?: boolean;
|
|
6
|
-
portalContainerRef?: RefObject<HTMLElement>;
|
|
7
|
-
onOpenChange?: (isOpen: boolean) => void;
|
|
8
|
-
trigger?: ReactNode;
|
|
9
|
-
children: (close: () => void) => ReactNode;
|
|
10
|
-
isDismissable?: boolean;
|
|
11
|
-
overlayClassName?: string;
|
|
12
|
-
dialogClassName?: string;
|
|
13
|
-
className?: string;
|
|
14
|
-
shouldCloseOnInteractOutside?: () => boolean;
|
|
15
|
-
}
|
|
16
|
-
declare const Drawer: ({ label, isOpen, portalContainerRef, onOpenChange, trigger, children, isDismissable, overlayClassName, dialogClassName, className, shouldCloseOnInteractOutside }: DrawerProps) => import("react").JSX.Element;
|
|
17
|
-
//#endregion
|
|
18
|
-
export { DrawerProps as n, Drawer as t };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { g as MenuPopoverWrapperVariantProps, h as MenuPopoverVariantProps, m as MenuItemVariantProps, p as DropdownMenuCvaVariantProps } from "./style-definitions-Dx6aFDiR.js";
|
|
2
|
-
import { t as BottomSheetProps } from "./BottomSheet-BZmDJBR-.js";
|
|
3
|
-
import { ReactElement } from "react";
|
|
4
|
-
import { Key, MenuItemProps } from "react-aria-components";
|
|
5
|
-
import { Placement } from "react-aria";
|
|
6
|
-
//#region src/components/DropdownMenu/dropdownMenu.types.d.ts
|
|
7
|
-
interface MenuItem extends Omit<MenuItemProps, "aria-label" | "textValue" | "children">, MenuItemVariantProps, DropdownMenuCvaVariantProps, MenuPopoverVariantProps, MenuPopoverWrapperVariantProps {
|
|
8
|
-
label: string;
|
|
9
|
-
content?: string | ReactElement;
|
|
10
|
-
children?: MenuItem[];
|
|
11
|
-
}
|
|
12
|
-
type MenuBottomSheetProps = Partial<Omit<BottomSheetProps, "children" | "isOpen" | "onOpenChange" | "trigger">>;
|
|
13
|
-
interface DropdownMenuProps {
|
|
14
|
-
trigger: ReactElement;
|
|
15
|
-
items: MenuItem[];
|
|
16
|
-
closeDelay?: number;
|
|
17
|
-
placement?: Placement;
|
|
18
|
-
onAction?: (key: Key, e: any) => void;
|
|
19
|
-
bottomSheetProps?: MenuBottomSheetProps;
|
|
20
|
-
}
|
|
21
|
-
//#endregion
|
|
22
|
-
//#region src/components/DropdownMenu/DropdownMenu.d.ts
|
|
23
|
-
declare const DropdownMenu: (props: DropdownMenuProps) => import("react").JSX.Element;
|
|
24
|
-
//#endregion
|
|
25
|
-
export { DropdownMenuProps as n, MenuItem as r, DropdownMenu as t };
|