@povio/ui 6.0.0-rc.13 → 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 +55 -1
- package/dist/{Accordion-gUW7u1Zn.js → Accordion-BNHpv7Zj.js} +3 -3
- package/dist/{Alert-DwnALnFY.d.ts → Alert-xHGPLUpt.d.ts} +1 -1
- package/dist/{AlertDialog-BcRiqY_n.d.ts → AlertDialog-CKcUZ6l9.d.ts} +3 -3
- package/dist/{Autocomplete-DRwQxx0U.d.ts → Autocomplete-CkWTSFoj.d.ts} +1 -1
- package/dist/{Autocomplete-CV4Aa1Ok.js → Autocomplete-CrNDRxvg.js} +10 -10
- package/dist/{Badge-CO-ZsmbR.d.ts → Badge-B25YEMEw.d.ts} +3 -3
- package/dist/{BottomSheet-Be0HtQzP.d.ts → BottomSheet-CtcPZG82.d.ts} +1 -1
- package/dist/{BottomSheet-APVu5TUd.js → BottomSheet-tUXH3NjS.js} +4 -4
- package/dist/{BottomSheet.lazy-NNB7ivkW.d.ts → BottomSheet.lazy-DuwAJSaI.d.ts} +1 -1
- package/dist/{Breadcrumbs-Bn3fqVYx.d.ts → Breadcrumbs-BrtRh_dX.d.ts} +1 -1
- package/dist/{Breadcrumbs-Cd75RPbS.js → Breadcrumbs-D8WXqOLN.js} +8 -8
- package/dist/{Button-CzEs3tcV.js → Button-C1Jv1Plk.js} +1 -1
- package/dist/{Button-Hk8zm9q_.d.ts → Button-DDuk3hJ3.d.ts} +1 -1
- package/dist/{Button-BJJkLVNj.js → Button-DF6sbTuF.js} +3 -3
- package/dist/{ButtonBase-aGz6DYum.js → ButtonBase-BYJz1JkH.js} +4 -4
- package/dist/{ButtonBase-Cp1w00t2.d.ts → ButtonBase-Bn_FT89h.d.ts} +3 -3
- package/dist/{Calendar-DN-i_b-_.js → Calendar-DdneUEhM.js} +58 -24
- package/dist/{Calendar.lazy-CqmyDSND.js → Calendar.lazy-BY0kLoYH.js} +6 -6
- package/dist/{Checkbox-D32MOIhF.d.ts → Checkbox-Bwl6MA-V.d.ts} +1 -1
- package/dist/{Checkbox-CzKXZw_w.js → Checkbox-E2bns_n0.js} +7 -7
- package/dist/{CheckboxCheckmark-DDU_Ie7-.js → CheckboxCheckmark-Beu8T1g9.js} +2 -2
- package/dist/{CheckboxGroup-B5Mn1G3u.d.ts → CheckboxGroup-0rzsn-bA.d.ts} +2 -2
- package/dist/{CheckboxGroup-BqWt09kZ.js → CheckboxGroup-C7epIEpW.js} +3 -3
- package/dist/ColumnConfigContent-LNq-6Brf.js +1025 -0
- package/dist/ColumnListContent-Dzze5R7T.js +133 -0
- package/dist/{DatePicker-CmoVbapu.d.ts → DatePicker-B70SCKfT.d.ts} +3 -3
- package/dist/{DatePicker-DQewd1By.js → DatePicker-BU-34fCk.js} +44 -12
- package/dist/{DatePickerInput-B9VnExeA.d.ts → DatePickerInput-BCuz08Ws.d.ts} +3 -3
- package/dist/{DatePickerInput-Bp9ZIN5E.js → DatePickerInput-CMEJmZSQ.js} +10 -10
- package/dist/{DateRangePicker-DRZ1hLlR.js → DateRangePicker-D0RtqeBM.js} +13 -13
- package/dist/{DateRangePicker-LX1VJlnD.d.ts → DateRangePicker-jovxcWGk.d.ts} +4 -4
- package/dist/{DateTimePicker-DWtKPaE6.js → DateTimePicker-Cbdt76CL.js} +30 -11
- package/dist/{DateTimePicker-D9pODhAj.d.ts → DateTimePicker-Cfi3ruFy.d.ts} +3 -3
- package/dist/{Dialog-D0SeePPz.d.ts → Dialog-BWNQjIgo.d.ts} +1 -1
- package/dist/{Dialog-BJ13KRQo.js → Dialog-Bpwr1nuy.js} +15 -15
- package/dist/{Dialog-BzQYDPJ9.js → Dialog-ebjPH22i.js} +3 -3
- package/dist/{Disclosure-Bjm5IOpg.js → Disclosure-D_aym2zh.js} +3 -3
- package/dist/{DropdownMenu-DTr7b-XO.d.ts → DropdownMenu-3V-G7fZ7.d.ts} +2 -2
- package/dist/{DropdownMenu-DrshB60h.js → DropdownMenu-C4WitobV.js} +4 -4
- package/dist/{DropdownMenuDesktop-DxGA0yvx.js → DropdownMenuDesktop-BM7659Sk.js} +1 -1
- package/dist/{FileInput-LMhFxlqB.js → FileInput-Bc_E1M1X.js} +5 -5
- package/dist/{FileInput-Bokcp9nH.d.ts → FileInput-CWRW7OzZ.d.ts} +2 -2
- package/dist/{FileTrigger-DlryDp2T.js → FileTrigger-tGSUFrb2.js} +6 -6
- package/dist/{FileUpload-BqXd4_nz.d.ts → FileUpload-DVnp9xxv.d.ts} +2 -2
- package/dist/{FileUpload-CJZrkr_U.js → FileUpload-Dk6ZmgWF.js} +501 -75
- package/dist/{Form-CqF1SaVw.js → Form-4jZarkjk.js} +2 -2
- package/dist/{FormField-XQbjfGSv.d.ts → FormField-BgiWLGjf.d.ts} +1 -1
- package/dist/{FormField-TI8Vx5aC.js → FormField-DOZ7eXjA.js} +2 -2
- package/dist/{FormFieldHeaderTooltip-DB7KrrcD.js → FormFieldHeaderTooltip-DW9sqJWl.js} +3 -3
- package/dist/{Heading-D4XFYv__.js → Heading-B9G3z6Es.js} +2 -2
- package/dist/{IconButton-CQLHX8-Y.d.ts → IconButton-Bjjf5cQL.d.ts} +1 -1
- package/dist/{InlineTooltipWrapper-CjDUsi2I.js → InlineTooltipWrapper-CcdpMJa6.js} +1 -1
- package/dist/{Input-BG0Xjw5X.js → Input-BkR3jkvt.js} +2 -2
- package/dist/{Input-CeRJeAoR.js → Input-CvYyjMWx.js} +5 -5
- package/dist/{Input-onUj0DKg.d.ts → Input-lppNS8wM.d.ts} +3 -3
- package/dist/{InputContent-B8OCdbVP.js → InputContent-B5YjsLDE.js} +2 -2
- package/dist/{InputContent-D5ZkB9hO.d.ts → InputContent-Bgalf6R1.d.ts} +2 -2
- 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-BdnWVYL9.d.ts → Link-HJ4y-xiW.d.ts} +1 -1
- package/dist/{ListBox-gR4iSV7N.js → ListBox-Ck-B1Jae.js} +7 -7
- package/dist/{Modal-DAMsCwzb.js → Modal-xT-Wz5GH.js} +3 -3
- package/dist/{NumberField-6Q9LHGSo.js → NumberField-BXLzNb2T.js} +6 -6
- package/dist/{NumberField-Sb30Qao3.d.ts → NumberField-Q-4y3jpb.d.ts} +3 -3
- package/dist/{NumberFormatter-DYarfm5F.js → NumberFormatter-D5csbNXm.js} +1 -1
- package/dist/{NumberRangeInput-BDSkcHVJ.js → NumberRangeInput-BBzZCC54.js} +6 -6
- package/dist/{NumberRangeInput-Dvq8mOUY.d.ts → NumberRangeInput-DuWOdSdU.d.ts} +2 -2
- package/dist/{OverlayArrow-DF0jMwul.js → OverlayArrow-BptI-A_7.js} +2 -2
- package/dist/{PageHeader-eJk6GNK6.d.ts → PageHeader-jVaC3Z9L.d.ts} +2 -2
- package/dist/{PasswordInput-VHzP4VPU.d.ts → PasswordInput-DtTnGHRD.d.ts} +1 -1
- package/dist/{PasswordInput-BcHpV0Ie.js → PasswordInput-U0QhNsMp.js} +2 -2
- package/dist/{Popover-qplPGDnR.d.ts → Popover-ClCEOP3e.d.ts} +2 -2
- package/dist/{Progress-WzWvbvtp.js → Progress-DlXY0dv_.js} +1 -1
- package/dist/{Progress-DH-w99MU.d.ts → Progress-VkkXbIh7.d.ts} +1 -1
- package/dist/{ProgressBar-BsSimmJF.js → ProgressBar-mpNpV7ow.js} +3 -3
- package/dist/{RadioGroup-PKqFHoKP.js → RadioGroup-BPPJyA1s.js} +8 -8
- package/dist/{RadioGroup-CC8bKtBN.d.ts → RadioGroup-BbcrP56w.d.ts} +2 -2
- package/dist/{RangeCalendar-DqCTlIuy.js → RangeCalendar-DIVjIl0T.js} +4 -4
- package/dist/{Select-CSyfDyxG.d.ts → Select-D1qIWZCv.d.ts} +3 -3
- package/dist/{Select-D3fuXwVt.js → Select-DlbVDCz8.js} +36 -26
- package/dist/{SelectListBox-DqAxkT1f.js → SelectListBox-CCr5YY86.js} +15 -12
- package/dist/{SelectionIndicator-C3hniBa2.js → SelectionIndicator-CvuKjZRP.js} +3 -3
- package/dist/{SharedElementTransition-CZ2bE7yo.js → SharedElementTransition-BkyYit3Q.js} +2 -2
- package/dist/{SidebarWorkspaces-BGl_PIsH.js → SidebarWorkspaces-CIpFJGOa.js} +10 -10
- package/dist/{SidebarWorkspaces-CdtK2M-C.d.ts → SidebarWorkspaces-DcwA_jv7.d.ts} +3 -3
- package/dist/{Slider-DxalZD3o.d.ts → Slider-CLViwkE1.d.ts} +1 -1
- package/dist/{Slider-BCUiALjE.js → Slider-_RsgBJcg.js} +5 -5
- package/dist/{Spinner-BTrEbNFy.d.ts → Spinner-GMEauCHv.d.ts} +1 -1
- package/dist/{SplitButton-Dv5l8p5t.d.ts → SplitButton-BdP4xjFQ.d.ts} +3 -3
- package/dist/{Stepper-DA2G546I.js → Stepper-D4z7JNsD.js} +2 -2
- package/dist/{Stepper-B1IOUcSI.d.ts → Stepper-DBb0qfla.d.ts} +1 -1
- package/dist/{Switch-Ce-bJOVw.js → Switch-Bi3_bUw1.js} +3 -3
- package/dist/{Switch-urNrop0P.d.ts → Switch-DCxONL2Q.d.ts} +1 -1
- package/dist/TableDnd-CG1yOlxh.js +238 -0
- package/dist/TableDragHandle-CXApnuUm.js +51 -0
- package/dist/{TabsFilters-Cweij8He.js → TabsFilters-BPogry73.js} +4 -4
- package/dist/{TabsFilters-M5Ld7eb8.d.ts → TabsFilters-CPfGBODw.d.ts} +1 -1
- package/dist/{Tag-BKR1AZFa.d.ts → Tag-xhcJOv_X.d.ts} +2 -2
- package/dist/{Text-D72yc4S6.js → Text-D7Nqkw1l.js} +1 -1
- package/dist/{TextArea-D7YVclaz.d.ts → TextArea-BYX9Kk_v.d.ts} +2 -2
- package/dist/{TextArea-P8F0oD_A.js → TextArea-CuJS3-Nv.js} +6 -6
- package/dist/{TimePicker-l4Ysk2AX.js → TimePicker-ByfjqkLp.js} +28 -13
- package/dist/{TimePicker-Ai1M2TGW.d.ts → TimePicker-UTo9C6gz.d.ts} +3 -2
- package/dist/TimePickerForm-CaIHR0PV.js +532 -0
- package/dist/{ToastContainer-BeklfvlK.js → ToastContainer-tr7Zxahc.js} +4 -4
- package/dist/{ToggleButton-DWw53pTt.d.ts → ToggleButton-BX8o7ECO.d.ts} +1 -1
- package/dist/{ToggleButton-P1z1pxzT.js → ToggleButton-D8BT67FO.js} +5 -5
- package/dist/{ToggleGroup-BdIgqoqA.js → ToggleGroup-18c-FZ_r.js} +5 -5
- package/dist/{ToggleGroup-BQk3k0at.d.ts → ToggleGroup-UazUtgU1.d.ts} +2 -2
- package/dist/{Tooltip-BkXPEBqw.js → Tooltip-Dl3sf8fq.js} +3 -3
- package/dist/{Tooltip-H8OB7CqY.d.ts → Tooltip-FcJ29dhq.d.ts} +1 -1
- package/dist/{TooltipWrapper-ubbBHHVD.js → TooltipWrapper-bvNpM6ku.js} +3 -3
- package/dist/{Typography-Cx1oRGxd.d.ts → Typography-auHWN282.d.ts} +1 -1
- package/dist/{badge.cva-BpoxNggB.js → badge.cva-C9mE8CMf.js} +3 -2
- package/dist/{buttonContent.cva-Dyy_RUZU.d.ts → buttonContent.cva-CeGnrjoA.d.ts} +2 -2
- package/dist/calendarHeader.cva-D3sXR7ox.js +23 -0
- package/dist/columnConfig.cva-CERwSZRN.js +29 -0
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +1 -1
- package/dist/components/alert-dialog.js +3 -3
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/autocomplete.d.ts +1 -1
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/badge.js +37 -30
- package/dist/components/bottom-sheet-header.d.ts +1 -1
- package/dist/components/bottom-sheet-header.js +23 -19
- 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 +1 -1
- package/dist/components/checkbox-group.js +1 -1
- package/dist/components/checkbox.d.ts +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/date-picker.d.ts +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.d.ts +2 -2
- package/dist/components/date-range-picker.js +2 -2
- package/dist/components/date-range-presets.js +1 -1
- package/dist/components/date-time-picker.d.ts +1 -1
- 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.js +2 -2
- package/dist/components/dropdown-menu.d.ts +1 -1
- package/dist/components/dropdown-menu.js +1 -1
- package/dist/components/file-input.d.ts +1 -1
- package/dist/components/file-input.js +1 -1
- package/dist/components/file-upload.d.ts +1 -1
- package/dist/components/file-upload.js +1 -1
- package/dist/components/form-field.d.ts +2 -2
- package/dist/components/form-field.js +1 -1
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/icon-button.js +2 -2
- package/dist/components/input-frame.d.ts +3 -3
- package/dist/components/input-frame.js +5 -5
- package/dist/components/input.d.ts +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/number-field.d.ts +1 -1
- package/dist/components/number-field.js +1 -1
- package/dist/components/number-range-input.d.ts +1 -1
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/page-header.d.ts +1 -1
- package/dist/components/page-header.js +1 -1
- package/dist/components/password-input.d.ts +1 -1
- package/dist/components/password-input.js +1 -1
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/progress.d.ts +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/radio-group.d.ts +1 -1
- package/dist/components/radio-group.js +1 -1
- package/dist/components/select.d.ts +1 -1
- 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 +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/spinner.d.ts +1 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/split-button.js +2 -2
- package/dist/components/stepper.d.ts +1 -1
- package/dist/components/stepper.js +1 -1
- package/dist/components/style-definitions.d.ts +2 -2
- package/dist/components/style-definitions.js +32 -5
- package/dist/components/switch.d.ts +1 -1
- 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 +3 -3
- package/dist/components/text-area.d.ts +1 -1
- package/dist/components/text-area.js +1 -1
- package/dist/components/time-picker.d.ts +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast.d.ts +2 -2
- package/dist/components/toast.js +3 -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 +1 -1
- package/dist/components/toggle-group.js +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 +1 -1
- package/dist/components/use-toast.js +1 -1
- package/dist/config/component-configuration.d.ts +2 -2
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/confirmation.js +1 -1
- package/dist/config/link-context.d.ts +2 -2
- 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/{confirmation.context-BflM4Vxg.js → confirmation.context-C_-uADGJ.js} +1 -1
- package/dist/{confirmation.context-C_js9qNv.d.ts → confirmation.context-DkWyR2aT.d.ts} +1 -1
- package/dist/{dist-DZOoWaZz.js → dist-CP6vV22I.js} +14 -10
- package/dist/{dom.utils-BPooTXtC.js → dom.utils-CqejLWIQ.js} +1 -1
- package/dist/{fileUpload.cva-MH5ziWUe.js → fileUpload.cva-SrF6v406.js} +1 -1
- package/dist/form-field-C735uXsi.d.ts +1 -0
- package/dist/hooks/use-async-list.js +1 -1
- package/dist/hooks/use-breakpoint.d.ts +2 -2
- package/dist/hooks/use-breakpoint.js +1 -1
- package/dist/{i18n-DQs7jPjv.js → i18n-DaIHnR2n.js} +26 -2
- package/dist/{i18n-B3PeqBM7.d.ts → i18n-xXkHgzet.d.ts} +24 -0
- package/dist/{import-C73fI3WD.js → import-Cz8NlFqm.js} +39 -15
- package/dist/index.d.ts +56 -55
- package/dist/index.js +49 -49
- package/dist/{intlStrings-Cu1YN1tA.js → intlStrings-ClpdCJmU.js} +35 -35
- package/dist/{isEqual-LFw0W5rU.js → isEqual-BdJdNr5O.js} +1 -1
- package/dist/{link.context-BcBuP9ZT.d.ts → link.context-BxVK2yQ5.d.ts} +1 -1
- package/dist/{link.cva-D6L1c2wq.d.ts → link.cva-ZhpQz3P0.d.ts} +129 -9
- package/dist/{logger-CW24po62.js → logger-CqZjM-sn.js} +1 -10
- package/dist/rich-text-editor.d.ts +2 -2
- package/dist/rich-text-editor.js +14 -14
- package/dist/{selectItem.cva-B6vxey2R.js → selectItem.cva-DsOZSSPx.js} +2 -1
- package/dist/{staticDateTimeSegments-BYk1tcxs.js → staticDateTimeSegments-BgUrcqXD.js} +342 -87
- 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.js +1 -1
- 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 -5
- package/dist/tanstack/table.js +3 -2
- package/dist/tanstack-JB8VmS9j.js +73 -0
- package/dist/{tanstack-bLXoUPDY.d.ts → tanstack-cQOW9-Q2.d.ts} +50 -50
- package/dist/tanstack-table-DdWYwCZM.d.ts +858 -0
- package/dist/tanstack-table-M1M26UQJ.js +5299 -0
- package/dist/tanstack.d.ts +56 -55
- package/dist/tanstack.js +49 -49
- package/dist/{toast.cva-C3oA7He3.js → toast.cva-DusQwZw-.js} +5 -1
- package/dist/{toast.runtime-BHXdSTXV.js → toast.runtime-ZN5q4T9X.js} +1 -1
- package/dist/{uiConfig.context-CjnLnQOo.js → uiConfig.context-NWmBJ2Hc.js} +68 -4
- package/dist/{uiConfig.context-CN_QgxGO.d.ts → uiConfig.context-ykH4E2js.d.ts} +1 -1
- 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-CQgkDfjW.js → useAsyncList-DkIjhlce.js} +2 -2
- package/dist/{useBreakpoint-D-SVcBeQ.d.ts → useBreakpoint-BPrZNuNl.d.ts} +1 -1
- package/dist/{useBreakpoint-BrJrvp9_.js → useBreakpoint-DtYSRweq.js} +2 -2
- package/dist/{useControlledState-CuU1VIh1.js → useControlledState-C1-Mt2i0.js} +1 -1
- package/dist/{useDebounceCallback-BjePw6y4.js → useDebounceCallback-C7YKfjXW.js} +6 -0
- package/dist/{useFormAutosave-BN-zueci.js → useFormAutosave-BzCGqFqi.js} +2 -2
- package/dist/{useLiveNumberFieldState-B7qGzySj.js → useLiveNumberFieldState-npiqOvyB.js} +4 -4
- package/dist/{useRemoveButton-B6-IGvpY.js → useRemoveButton-zhlA1Pbc.js} +1 -1
- package/dist/{useResolveDateRangePreset-C_L-doA6.js → useResolveDateRangePreset-k_h_XJBG.js} +1 -1
- package/dist/{useScrollableListBox-C8chM7c-.js → useScrollableListBox-4pieApqz.js} +1 -1
- package/dist/useTableVirtualizer-sFInQiH-.d.ts +162 -0
- package/dist/{useToast-D2C9pROU.d.ts → useToast-BHqkSByv.d.ts} +1 -1
- package/dist/{useToast-DSoOiSw0.js → useToast-DgqC6Ta_.js} +2 -2
- package/dist/utils/logger.js +1 -1
- package/dist/{utils-BkLF-JA3.js → utils-Q5Oc6oX2.js} +1 -1
- package/llms.txt +89 -4
- package/package.json +13 -1
- package/dist/TimePickerForm-BMqNpDPT.js +0 -225
- package/dist/form-field-Bw7U_ZPI.d.ts +0 -1
- package/dist/tanstack-ABeiJISz.js +0 -10
- package/dist/uiConfig.types-B0sPL7nN.d.ts +0 -132
- package/dist/useTableColumnConfig-B9cYBKo3.js +0 -2327
- package/dist/useTableNav-rP1wDkhV.d.ts +0 -372
|
@@ -1,22 +1,25 @@
|
|
|
1
|
-
import { t as logger } from "./logger-
|
|
1
|
+
import { t as logger } from "./logger-CqZjM-sn.js";
|
|
2
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
3
|
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
4
|
-
import { l as $542a13ca2fa5b484$export$5b6b19405a83ff9d, n as $f2ff30fde7b014be$export$3ddf2d174ce01153 } from "./Dialog-
|
|
4
|
+
import { l as $542a13ca2fa5b484$export$5b6b19405a83ff9d, n as $f2ff30fde7b014be$export$3ddf2d174ce01153 } from "./Dialog-Bpwr1nuy.js";
|
|
5
5
|
import { t as popoverAnimationClassName } from "./popoverAnimation-DEZSvKP8.js";
|
|
6
6
|
import { t as Typography } from "./Typography-DCLnPa3P.js";
|
|
7
|
-
import "./i18n-
|
|
8
|
-
import {
|
|
7
|
+
import "./i18n-DaIHnR2n.js";
|
|
8
|
+
import { n as uiOutlineClass } from "./outline.clsx-DGGQQRkM.js";
|
|
9
|
+
import { t as compoundMapper } from "./compoundMapper-Di3SKZnS.js";
|
|
10
|
+
import { t as Button } from "./Button-C1Jv1Plk.js";
|
|
9
11
|
import { BottomSheet } from "./components/bottom-sheet.js";
|
|
10
|
-
import { t as useBreakpoint } from "./useBreakpoint-
|
|
12
|
+
import { t as useBreakpoint } from "./useBreakpoint-DtYSRweq.js";
|
|
11
13
|
import { t as $a8ea2faf2ebe4d2f$re_export$isFirefox } from "./import-D_3dPATF.js";
|
|
12
|
-
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-
|
|
13
|
-
import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10, n as $fd2148440a13ec26$export$75ee7c75d68f5b0e, r as $fd2148440a13ec26$export$aca958c65c314e6c, t as $1dfb119a85e764e5$export$cc77c4ff7e8673c5 } from "./NumberFormatter-
|
|
14
|
+
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-C1-Mt2i0.js";
|
|
15
|
+
import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10, n as $fd2148440a13ec26$export$75ee7c75d68f5b0e, r as $fd2148440a13ec26$export$aca958c65c314e6c, t as $1dfb119a85e764e5$export$cc77c4ff7e8673c5 } from "./NumberFormatter-D5csbNXm.js";
|
|
14
16
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
15
17
|
import { t as popoverDefinition } from "./popover.cva-DAbfSma6.js";
|
|
16
18
|
import { t as getStaticInputFocusTarget } from "./useStaticInputHandoff-DrNFrvD7.js";
|
|
17
|
-
import { useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
19
|
+
import { createContext, useContext, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
18
20
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
19
21
|
import { CalendarDate, DateFormatter, GregorianCalendar, Time, getLocalTimeZone, isEqualCalendar, now, toCalendar, toCalendarDate, toCalendarDateTime } from "@internationalized/date";
|
|
22
|
+
import { flushSync } from "react-dom";
|
|
20
23
|
import { useTranslation } from "react-i18next";
|
|
21
24
|
import { useDateSegment } from "react-aria";
|
|
22
25
|
//#region ../../node_modules/.bun/@internationalized+string@3.2.10/node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
|
|
@@ -110,7 +113,7 @@ var $b27c684a33948c64$export$2f817fcdc4b89ae0 = class {
|
|
|
110
113
|
}
|
|
111
114
|
};
|
|
112
115
|
//#endregion
|
|
113
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
116
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/ar-AE.mjs
|
|
114
117
|
var $6f00cf506278c4dd$exports = {};
|
|
115
118
|
$6f00cf506278c4dd$exports = {
|
|
116
119
|
"rangeOverflow": (args) => `\u{64A}\u{62C}\u{628} \u{623}\u{646} \u{62A}\u{643}\u{648}\u{646} \u{627}\u{644}\u{642}\u{64A}\u{645}\u{629} ${args.maxValue} \u{623}\u{648} \u{642}\u{628}\u{644} \u{630}\u{644}\u{643}.`,
|
|
@@ -119,7 +122,7 @@ $6f00cf506278c4dd$exports = {
|
|
|
119
122
|
"unavailableDate": `\u{627}\u{644}\u{628}\u{64A}\u{627}\u{646}\u{627}\u{62A} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}\u{629} \u{63A}\u{64A}\u{631} \u{645}\u{62A}\u{627}\u{62D}\u{629}.`
|
|
120
123
|
};
|
|
121
124
|
//#endregion
|
|
122
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
125
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/bg-BG.mjs
|
|
123
126
|
var $d4d6a016fd5ce4f2$exports = {};
|
|
124
127
|
$d4d6a016fd5ce4f2$exports = {
|
|
125
128
|
"rangeOverflow": (args) => `\u{421}\u{442}\u{43E}\u{439}\u{43D}\u{43E}\u{441}\u{442}\u{442}\u{430} \u{442}\u{440}\u{44F}\u{431}\u{432}\u{430} \u{434}\u{430} \u{435} ${args.maxValue} \u{438}\u{43B}\u{438} \u{43F}\u{43E}-\u{440}\u{430}\u{43D}\u{43D}\u{430}.`,
|
|
@@ -128,7 +131,7 @@ $d4d6a016fd5ce4f2$exports = {
|
|
|
128
131
|
"unavailableDate": `\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{430}\u{442}\u{430} \u{434}\u{430}\u{442}\u{430} \u{43D}\u{435} \u{435} \u{43D}\u{430}\u{43B}\u{438}\u{447}\u{43D}\u{430}.`
|
|
129
132
|
};
|
|
130
133
|
//#endregion
|
|
131
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
134
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/cs-CZ.mjs
|
|
132
135
|
var $7ecf9e4979666ea0$exports = {};
|
|
133
136
|
$7ecf9e4979666ea0$exports = {
|
|
134
137
|
"rangeOverflow": (args) => `Hodnota mus\xed b\xfdt ${args.maxValue} nebo d\u{159}\xedv\u{11B}j\u{161}\xed.`,
|
|
@@ -137,7 +140,7 @@ $7ecf9e4979666ea0$exports = {
|
|
|
137
140
|
"unavailableDate": `Vybran\xe9 datum nen\xed k dispozici.`
|
|
138
141
|
};
|
|
139
142
|
//#endregion
|
|
140
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
143
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/da-DK.mjs
|
|
141
144
|
var $ab075d4725312525$exports = {};
|
|
142
145
|
$ab075d4725312525$exports = {
|
|
143
146
|
"rangeOverflow": (args) => `V\xe6rdien skal v\xe6re ${args.maxValue} eller tidligere.`,
|
|
@@ -146,7 +149,7 @@ $ab075d4725312525$exports = {
|
|
|
146
149
|
"unavailableDate": `Den valgte dato er ikke tilg\xe6ngelig.`
|
|
147
150
|
};
|
|
148
151
|
//#endregion
|
|
149
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
152
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/de-DE.mjs
|
|
150
153
|
var $3922685c0eb9ba8a$exports = {};
|
|
151
154
|
$3922685c0eb9ba8a$exports = {
|
|
152
155
|
"rangeOverflow": (args) => `Der Wert muss ${args.maxValue} oder fr\xfcher sein.`,
|
|
@@ -155,7 +158,7 @@ $3922685c0eb9ba8a$exports = {
|
|
|
155
158
|
"unavailableDate": `Das ausgew\xe4hlte Datum ist nicht verf\xfcgbar.`
|
|
156
159
|
};
|
|
157
160
|
//#endregion
|
|
158
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
161
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/el-GR.mjs
|
|
159
162
|
var $01c17dde3c3a9016$exports = {};
|
|
160
163
|
$01c17dde3c3a9016$exports = {
|
|
161
164
|
"rangeOverflow": (args) => `\u{397} \u{3C4}\u{3B9}\u{3BC}\u{3AE} \u{3C0}\u{3C1}\u{3AD}\u{3C0}\u{3B5}\u{3B9} \u{3BD}\u{3B1} \u{3B5}\u{3AF}\u{3BD}\u{3B1}\u{3B9} ${args.maxValue} \u{3AE} \u{3C0}\u{3B1}\u{3BB}\u{3B1}\u{3B9}\u{3CC}\u{3C4}\u{3B5}\u{3C1}\u{3B7}.`,
|
|
@@ -164,7 +167,7 @@ $01c17dde3c3a9016$exports = {
|
|
|
164
167
|
"unavailableDate": `\u{397} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1} \u{3B4}\u{3B5}\u{3BD} \u{3B5}\u{3AF}\u{3BD}\u{3B1}\u{3B9} \u{3B4}\u{3B9}\u{3B1}\u{3B8}\u{3AD}\u{3C3}\u{3B9}\u{3BC}\u{3B7}.`
|
|
165
168
|
};
|
|
166
169
|
//#endregion
|
|
167
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
170
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/en-US.mjs
|
|
168
171
|
var $6b7f94ed17767636$exports = {};
|
|
169
172
|
$6b7f94ed17767636$exports = {
|
|
170
173
|
"rangeUnderflow": (args) => `Value must be ${args.minValue} or later.`,
|
|
@@ -173,7 +176,7 @@ $6b7f94ed17767636$exports = {
|
|
|
173
176
|
"unavailableDate": `Selected date unavailable.`
|
|
174
177
|
};
|
|
175
178
|
//#endregion
|
|
176
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
179
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/es-ES.mjs
|
|
177
180
|
var $3303b51f37a02711$exports = {};
|
|
178
181
|
$3303b51f37a02711$exports = {
|
|
179
182
|
"rangeOverflow": (args) => `El valor debe ser ${args.maxValue} o anterior.`,
|
|
@@ -182,7 +185,7 @@ $3303b51f37a02711$exports = {
|
|
|
182
185
|
"unavailableDate": `Fecha seleccionada no disponible.`
|
|
183
186
|
};
|
|
184
187
|
//#endregion
|
|
185
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
188
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/et-EE.mjs
|
|
186
189
|
var $e3aea59accf42c8d$exports = {};
|
|
187
190
|
$e3aea59accf42c8d$exports = {
|
|
188
191
|
"rangeOverflow": (args) => `V\xe4\xe4rtus peab olema ${args.maxValue} v\xf5i varasem.`,
|
|
@@ -191,7 +194,7 @@ $e3aea59accf42c8d$exports = {
|
|
|
191
194
|
"unavailableDate": `Valitud kuup\xe4ev pole saadaval.`
|
|
192
195
|
};
|
|
193
196
|
//#endregion
|
|
194
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
197
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/fi-FI.mjs
|
|
195
198
|
var $06dd1b694121be4e$exports = {};
|
|
196
199
|
$06dd1b694121be4e$exports = {
|
|
197
200
|
"rangeOverflow": (args) => `Arvon on oltava ${args.maxValue} tai sit\xe4 aikaisempi.`,
|
|
@@ -200,7 +203,7 @@ $06dd1b694121be4e$exports = {
|
|
|
200
203
|
"unavailableDate": `Valittu p\xe4iv\xe4m\xe4\xe4r\xe4 ei ole k\xe4ytett\xe4viss\xe4.`
|
|
201
204
|
};
|
|
202
205
|
//#endregion
|
|
203
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
206
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/fr-FR.mjs
|
|
204
207
|
var $cdcce4a69a404d27$exports = {};
|
|
205
208
|
$cdcce4a69a404d27$exports = {
|
|
206
209
|
"rangeOverflow": (args) => `La valeur doit \xeatre ${args.maxValue} ou ant\xe9rieure.`,
|
|
@@ -209,7 +212,7 @@ $cdcce4a69a404d27$exports = {
|
|
|
209
212
|
"unavailableDate": `La date s\xe9lectionn\xe9e n\u{2019}est pas disponible.`
|
|
210
213
|
};
|
|
211
214
|
//#endregion
|
|
212
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
215
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/he-IL.mjs
|
|
213
216
|
var $40524ca22fb30eb2$exports = {};
|
|
214
217
|
$40524ca22fb30eb2$exports = {
|
|
215
218
|
"rangeOverflow": (args) => `\u{5D4}\u{5E2}\u{5E8}\u{5DA} \u{5D7}\u{5D9}\u{5D9}\u{5D1} \u{5DC}\u{5D4}\u{5D9}\u{5D5}\u{5EA} ${args.maxValue} \u{5D0}\u{5D5} \u{5DE}\u{5D5}\u{5E7}\u{5D3}\u{5DD} \u{5D9}\u{5D5}\u{5EA}\u{5E8}.`,
|
|
@@ -218,7 +221,7 @@ $40524ca22fb30eb2$exports = {
|
|
|
218
221
|
"unavailableDate": `\u{5D4}\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5D4}\u{5E0}\u{5D1}\u{5D7}\u{5E8} \u{5D0}\u{5D9}\u{5E0}\u{5D5} \u{5D6}\u{5DE}\u{5D9}\u{5DF}.`
|
|
219
222
|
};
|
|
220
223
|
//#endregion
|
|
221
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
224
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/hr-HR.mjs
|
|
222
225
|
var $61a527d4db6297ee$exports = {};
|
|
223
226
|
$61a527d4db6297ee$exports = {
|
|
224
227
|
"rangeOverflow": (args) => `Vrijednost mora biti ${args.maxValue} ili ranije.`,
|
|
@@ -227,7 +230,7 @@ $61a527d4db6297ee$exports = {
|
|
|
227
230
|
"unavailableDate": `Odabrani datum nije dostupan.`
|
|
228
231
|
};
|
|
229
232
|
//#endregion
|
|
230
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
233
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/hu-HU.mjs
|
|
231
234
|
var $f8f2d8d8cb44cfed$exports = {};
|
|
232
235
|
$f8f2d8d8cb44cfed$exports = {
|
|
233
236
|
"rangeOverflow": (args) => `Az \xe9rt\xe9knek ${args.maxValue} vagy kor\xe1bbinak kell lennie.`,
|
|
@@ -236,7 +239,7 @@ $f8f2d8d8cb44cfed$exports = {
|
|
|
236
239
|
"unavailableDate": `A kiv\xe1lasztott d\xe1tum nem \xe9rhet\u{151} el.`
|
|
237
240
|
};
|
|
238
241
|
//#endregion
|
|
239
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
242
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/it-IT.mjs
|
|
240
243
|
var $75347037b84c1b18$exports = {};
|
|
241
244
|
$75347037b84c1b18$exports = {
|
|
242
245
|
"rangeOverflow": (args) => `Il valore deve essere ${args.maxValue} o precedente.`,
|
|
@@ -245,7 +248,7 @@ $75347037b84c1b18$exports = {
|
|
|
245
248
|
"unavailableDate": `Data selezionata non disponibile.`
|
|
246
249
|
};
|
|
247
250
|
//#endregion
|
|
248
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
251
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/ja-JP.mjs
|
|
249
252
|
var $4f97679990ff9091$exports = {};
|
|
250
253
|
$4f97679990ff9091$exports = {
|
|
251
254
|
"rangeOverflow": (args) => `\u{5024}\u{306F} ${args.maxValue} \u{4EE5}\u{4E0B}\u{306B}\u{3059}\u{308B}\u{5FC5}\u{8981}\u{304C}\u{3042}\u{308A}\u{307E}\u{3059}\u{3002}`,
|
|
@@ -254,7 +257,7 @@ $4f97679990ff9091$exports = {
|
|
|
254
257
|
"unavailableDate": `\u{9078}\u{629E}\u{3057}\u{305F}\u{65E5}\u{4ED8}\u{306F}\u{4F7F}\u{7528}\u{3067}\u{304D}\u{307E}\u{305B}\u{3093}\u{3002}`
|
|
255
258
|
};
|
|
256
259
|
//#endregion
|
|
257
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
260
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/ko-KR.mjs
|
|
258
261
|
var $c189e0bf94264522$exports = {};
|
|
259
262
|
$c189e0bf94264522$exports = {
|
|
260
263
|
"rangeOverflow": (args) => `\u{AC12}\u{C740} ${args.maxValue} \u{C774}\u{C804}\u{C774}\u{C5B4}\u{C57C} \u{D569}\u{B2C8}\u{B2E4}.`,
|
|
@@ -263,7 +266,7 @@ $c189e0bf94264522$exports = {
|
|
|
263
266
|
"unavailableDate": `\u{C120}\u{D0DD}\u{D55C} \u{B0A0}\u{C9DC}\u{B97C} \u{C0AC}\u{C6A9}\u{D560} \u{C218} \u{C5C6}\u{C2B5}\u{B2C8}\u{B2E4}.`
|
|
264
267
|
};
|
|
265
268
|
//#endregion
|
|
266
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
269
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/lt-LT.mjs
|
|
267
270
|
var $19cd5f3aa5a4b596$exports = {};
|
|
268
271
|
$19cd5f3aa5a4b596$exports = {
|
|
269
272
|
"rangeOverflow": (args) => `Reik\u{161}m\u{117} turi b\u{16B}ti ${args.maxValue} arba ankstesn\u{117}.`,
|
|
@@ -272,7 +275,7 @@ $19cd5f3aa5a4b596$exports = {
|
|
|
272
275
|
"unavailableDate": `Pasirinkta data nepasiekiama.`
|
|
273
276
|
};
|
|
274
277
|
//#endregion
|
|
275
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
278
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/lv-LV.mjs
|
|
276
279
|
var $91f5db7f94b7596e$exports = {};
|
|
277
280
|
$91f5db7f94b7596e$exports = {
|
|
278
281
|
"rangeOverflow": (args) => `V\u{113}rt\u{12B}bai ir j\u{101}b\u{16B}t ${args.maxValue} vai agr\u{101}kai.`,
|
|
@@ -281,7 +284,7 @@ $91f5db7f94b7596e$exports = {
|
|
|
281
284
|
"unavailableDate": `Atlas\u{12B}tais datums nav pieejams.`
|
|
282
285
|
};
|
|
283
286
|
//#endregion
|
|
284
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
287
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/nb-NO.mjs
|
|
285
288
|
var $780ef1d46063f826$exports = {};
|
|
286
289
|
$780ef1d46063f826$exports = {
|
|
287
290
|
"rangeOverflow": (args) => `Verdien m\xe5 v\xe6re ${args.maxValue} eller tidligere.`,
|
|
@@ -290,7 +293,7 @@ $780ef1d46063f826$exports = {
|
|
|
290
293
|
"unavailableDate": `Valgt dato utilgjengelig.`
|
|
291
294
|
};
|
|
292
295
|
//#endregion
|
|
293
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
296
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/nl-NL.mjs
|
|
294
297
|
var $16cbb8b4d0babfdc$exports = {};
|
|
295
298
|
$16cbb8b4d0babfdc$exports = {
|
|
296
299
|
"rangeOverflow": (args) => `Waarde moet ${args.maxValue} of eerder zijn.`,
|
|
@@ -299,7 +302,7 @@ $16cbb8b4d0babfdc$exports = {
|
|
|
299
302
|
"unavailableDate": `Geselecteerde datum niet beschikbaar.`
|
|
300
303
|
};
|
|
301
304
|
//#endregion
|
|
302
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
305
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/pl-PL.mjs
|
|
303
306
|
var $0bc688cceae5eb60$exports = {};
|
|
304
307
|
$0bc688cceae5eb60$exports = {
|
|
305
308
|
"rangeOverflow": (args) => `Warto\u{15B}\u{107} musi mie\u{107} warto\u{15B}\u{107} ${args.maxValue} lub wcze\u{15B}niejsz\u{105}.`,
|
|
@@ -308,7 +311,7 @@ $0bc688cceae5eb60$exports = {
|
|
|
308
311
|
"unavailableDate": `Wybrana data jest niedost\u{119}pna.`
|
|
309
312
|
};
|
|
310
313
|
//#endregion
|
|
311
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
314
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/pt-BR.mjs
|
|
312
315
|
var $e32534e3083f4a62$exports = {};
|
|
313
316
|
$e32534e3083f4a62$exports = {
|
|
314
317
|
"rangeOverflow": (args) => `O valor deve ser ${args.maxValue} ou anterior.`,
|
|
@@ -317,7 +320,7 @@ $e32534e3083f4a62$exports = {
|
|
|
317
320
|
"unavailableDate": `Data selecionada indispon\xedvel.`
|
|
318
321
|
};
|
|
319
322
|
//#endregion
|
|
320
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
323
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/pt-PT.mjs
|
|
321
324
|
var $3534c94e827784b7$exports = {};
|
|
322
325
|
$3534c94e827784b7$exports = {
|
|
323
326
|
"rangeOverflow": (args) => `O valor tem de ser ${args.maxValue} ou anterior.`,
|
|
@@ -326,7 +329,7 @@ $3534c94e827784b7$exports = {
|
|
|
326
329
|
"unavailableDate": `Data selecionada indispon\xedvel.`
|
|
327
330
|
};
|
|
328
331
|
//#endregion
|
|
329
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
332
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/ro-RO.mjs
|
|
330
333
|
var $a2617a746c9862f6$exports = {};
|
|
331
334
|
$a2617a746c9862f6$exports = {
|
|
332
335
|
"rangeOverflow": (args) => `Valoarea trebuie s\u{103} fie ${args.maxValue} sau anterioar\u{103}.`,
|
|
@@ -335,7 +338,7 @@ $a2617a746c9862f6$exports = {
|
|
|
335
338
|
"unavailableDate": `Data selectat\u{103} nu este disponibil\u{103}.`
|
|
336
339
|
};
|
|
337
340
|
//#endregion
|
|
338
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
341
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/ru-RU.mjs
|
|
339
342
|
var $f1251e27305fd7a8$exports = {};
|
|
340
343
|
$f1251e27305fd7a8$exports = {
|
|
341
344
|
"rangeOverflow": (args) => `\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{438}\u{435} \u{434}\u{43E}\u{43B}\u{436}\u{43D}\u{43E} \u{431}\u{44B}\u{442}\u{44C} \u{43D}\u{435} \u{43F}\u{43E}\u{437}\u{436}\u{435} ${args.maxValue}.`,
|
|
@@ -344,7 +347,7 @@ $f1251e27305fd7a8$exports = {
|
|
|
344
347
|
"unavailableDate": `\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{430}\u{44F} \u{434}\u{430}\u{442}\u{430} \u{43D}\u{435}\u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{430}.`
|
|
345
348
|
};
|
|
346
349
|
//#endregion
|
|
347
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
350
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/sk-SK.mjs
|
|
348
351
|
var $e78b7cdd5f7a9721$exports = {};
|
|
349
352
|
$e78b7cdd5f7a9721$exports = {
|
|
350
353
|
"rangeOverflow": (args) => `Hodnota mus\xed by\u{165} ${args.maxValue} alebo skor\u{161}ia.`,
|
|
@@ -353,7 +356,7 @@ $e78b7cdd5f7a9721$exports = {
|
|
|
353
356
|
"unavailableDate": `Vybrat\xfd d\xe1tum je nedostupn\xfd.`
|
|
354
357
|
};
|
|
355
358
|
//#endregion
|
|
356
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
359
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/sl-SI.mjs
|
|
357
360
|
var $41a3d435540f025d$exports = {};
|
|
358
361
|
$41a3d435540f025d$exports = {
|
|
359
362
|
"rangeOverflow": (args) => `Vrednost mora biti ${args.maxValue} ali starej\u{161}a.`,
|
|
@@ -362,7 +365,7 @@ $41a3d435540f025d$exports = {
|
|
|
362
365
|
"unavailableDate": `Izbrani datum ni na voljo.`
|
|
363
366
|
};
|
|
364
367
|
//#endregion
|
|
365
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
368
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/sr-SP.mjs
|
|
366
369
|
var $7e098331d6669444$exports = {};
|
|
367
370
|
$7e098331d6669444$exports = {
|
|
368
371
|
"rangeOverflow": (args) => `Vrednost mora da bude ${args.maxValue} ili starija.`,
|
|
@@ -371,7 +374,7 @@ $7e098331d6669444$exports = {
|
|
|
371
374
|
"unavailableDate": `Izabrani datum nije dostupan.`
|
|
372
375
|
};
|
|
373
376
|
//#endregion
|
|
374
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
377
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/sv-SE.mjs
|
|
375
378
|
var $51e7b068c559df60$exports = {};
|
|
376
379
|
$51e7b068c559df60$exports = {
|
|
377
380
|
"rangeOverflow": (args) => `V\xe4rdet m\xe5ste vara ${args.maxValue} eller tidigare.`,
|
|
@@ -380,7 +383,7 @@ $51e7b068c559df60$exports = {
|
|
|
380
383
|
"unavailableDate": `Det valda datumet \xe4r inte tillg\xe4ngligt.`
|
|
381
384
|
};
|
|
382
385
|
//#endregion
|
|
383
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
386
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/tr-TR.mjs
|
|
384
387
|
var $10f6effd038fdb37$exports = {};
|
|
385
388
|
$10f6effd038fdb37$exports = {
|
|
386
389
|
"rangeOverflow": (args) => `De\u{11F}er, ${args.maxValue} veya \xf6ncesi olmal\u{131}d\u{131}r.`,
|
|
@@ -389,7 +392,7 @@ $10f6effd038fdb37$exports = {
|
|
|
389
392
|
"unavailableDate": `Se\xe7ilen tarih kullan\u{131}lam\u{131}yor.`
|
|
390
393
|
};
|
|
391
394
|
//#endregion
|
|
392
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
395
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/uk-UA.mjs
|
|
393
396
|
var $a6f03b1a6068b7d1$exports = {};
|
|
394
397
|
$a6f03b1a6068b7d1$exports = {
|
|
395
398
|
"rangeOverflow": (args) => `\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{43D}\u{44F} \u{43C}\u{430}\u{454} \u{431}\u{443}\u{442}\u{438} \u{43D}\u{435} \u{43F}\u{456}\u{437}\u{43D}\u{456}\u{448}\u{435} ${args.maxValue}.`,
|
|
@@ -398,7 +401,7 @@ $a6f03b1a6068b7d1$exports = {
|
|
|
398
401
|
"unavailableDate": `\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430} \u{43D}\u{435}\u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{430}.`
|
|
399
402
|
};
|
|
400
403
|
//#endregion
|
|
401
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
404
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/zh-CN.mjs
|
|
402
405
|
var $0562ba44eab3374f$exports = {};
|
|
403
406
|
$0562ba44eab3374f$exports = {
|
|
404
407
|
"rangeOverflow": (args) => `\u{503C}\u{5FC5}\u{987B}\u{662F} ${args.maxValue} \u{6216}\u{66F4}\u{65E9}\u{65E5}\u{671F}\u{3002}`,
|
|
@@ -407,7 +410,7 @@ $0562ba44eab3374f$exports = {
|
|
|
407
410
|
"unavailableDate": `\u{6240}\u{9009}\u{65E5}\u{671F}\u{4E0D}\u{53EF}\u{7528}\u{3002}`
|
|
408
411
|
};
|
|
409
412
|
//#endregion
|
|
410
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
413
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/intl/datepicker/zh-TW.mjs
|
|
411
414
|
var $d8a1483f864372cf$exports = {};
|
|
412
415
|
$d8a1483f864372cf$exports = {
|
|
413
416
|
"rangeOverflow": (args) => `\u{503C}\u{5FC5}\u{9808}\u{662F} ${args.maxValue} \u{6216}\u{66F4}\u{65E9}\u{3002}`,
|
|
@@ -416,7 +419,7 @@ $d8a1483f864372cf$exports = {
|
|
|
416
419
|
"unavailableDate": `\u{6240}\u{9078}\u{65E5}\u{671F}\u{7121}\u{6CD5}\u{4F7F}\u{7528}\u{3002}`
|
|
417
420
|
};
|
|
418
421
|
//#endregion
|
|
419
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
422
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/datepicker/intlStrings.mjs
|
|
420
423
|
var $d0d4459aa9ffd727$exports = {};
|
|
421
424
|
$d0d4459aa9ffd727$exports = {
|
|
422
425
|
"ar-AE": $6f00cf506278c4dd$exports,
|
|
@@ -455,7 +458,7 @@ $d0d4459aa9ffd727$exports = {
|
|
|
455
458
|
"zh-TW": $d8a1483f864372cf$exports
|
|
456
459
|
};
|
|
457
460
|
//#endregion
|
|
458
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
461
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/datepicker/utils.mjs
|
|
459
462
|
function $parcel$interopDefault(a) {
|
|
460
463
|
return a && a.__esModule ? a.default : a;
|
|
461
464
|
}
|
|
@@ -591,7 +594,7 @@ function $8b141f2f71e88f85$export$2440da353cedad43(v, granularity) {
|
|
|
591
594
|
return [granularity, timeZone];
|
|
592
595
|
}
|
|
593
596
|
//#endregion
|
|
594
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
597
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/datepicker/placeholders.mjs
|
|
595
598
|
const $8e5fbb9a25791ca0$var$placeholders = new $a747a10fe70a57da$export$c17fa47878dc55b6({
|
|
596
599
|
ach: {
|
|
597
600
|
year: "mwaka",
|
|
@@ -990,7 +993,7 @@ function $8e5fbb9a25791ca0$export$d3f5c5e0a5023fa0(field, value, locale) {
|
|
|
990
993
|
return "––";
|
|
991
994
|
}
|
|
992
995
|
//#endregion
|
|
993
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
996
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/datepicker/IncompleteDate.mjs
|
|
994
997
|
var $0e8931c783099b4f$export$ae165b50d181e1ef = class $0e8931c783099b4f$export$ae165b50d181e1ef {
|
|
995
998
|
constructor(calendar, hourCycle, dateValue) {
|
|
996
999
|
this.era = dateValue?.era ?? null;
|
|
@@ -1258,7 +1261,7 @@ function $0e8931c783099b4f$var$fromHourCycle(hour, dayPeriod, hourCycle) {
|
|
|
1258
1261
|
return hour;
|
|
1259
1262
|
}
|
|
1260
1263
|
//#endregion
|
|
1261
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
1264
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/datepicker/useDateFieldState.mjs
|
|
1262
1265
|
const $8e7461aabf74661f$var$EDITABLE_SEGMENTS = {
|
|
1263
1266
|
year: true,
|
|
1264
1267
|
month: true,
|
|
@@ -1549,6 +1552,195 @@ function $8e7461aabf74661f$var$processSegments(dateValue, displayValue, dateForm
|
|
|
1549
1552
|
return processedSegments;
|
|
1550
1553
|
}
|
|
1551
1554
|
//#endregion
|
|
1555
|
+
//#region src/components/inputs/DateTime/shared/calendar.cva.ts
|
|
1556
|
+
const calendarGridDefinition = UIOverrides.defineConfig({
|
|
1557
|
+
base: ["h-72 w-full px-3 pb-3"],
|
|
1558
|
+
config: { variants: { showWeekNumbers: {
|
|
1559
|
+
true: "md:w-[352px]",
|
|
1560
|
+
false: "md:w-80"
|
|
1561
|
+
} } }
|
|
1562
|
+
});
|
|
1563
|
+
const calendarWeekdayDefinition = UIOverrides.defineConfig({ base: ["block py-2 text-[0.8rem] font-normal text-muted-foreground"] });
|
|
1564
|
+
const calendarWeekNumberCellDefinition = UIOverrides.defineConfig({ base: ["w-8 border-r border-border font-normal"] });
|
|
1565
|
+
const calendarWeekNumberDefinition = UIOverrides.defineConfig({ base: ["text-muted-foreground tabular-nums"] });
|
|
1566
|
+
const calendarCellWrapperDefinition = UIOverrides.defineConfig({ base: ["p-0 py-0.5"] });
|
|
1567
|
+
const flag = {
|
|
1568
|
+
true: "",
|
|
1569
|
+
false: ""
|
|
1570
|
+
};
|
|
1571
|
+
/**
|
|
1572
|
+
* A day. Every variant is always set:
|
|
1573
|
+
* `isSelected` (selected, also outside the month), `isOutside` (outside the visible month), `isRangeMiddle` / `isRangeStart`
|
|
1574
|
+
* / `isRangeEnd` (inside or at an edge of a shown range), `isInRange` / `isHoverRange` (in the selected or hovered range),
|
|
1575
|
+
* `isSelectingMode` (a range is being picked), `isDisabled`, `isToday`, `isFocused`.
|
|
1576
|
+
*/
|
|
1577
|
+
const calendarCellDefinition = UIOverrides.defineConfig({
|
|
1578
|
+
base: ["relative mx-auto flex items-center justify-center p-0 text-sm font-normal transition-[color,box-shadow]", "outline-none focus-visible:relative focus-visible:z-10 focus-visible:ring-[3px] focus-visible:ring-ring/50"],
|
|
1579
|
+
config: {
|
|
1580
|
+
variants: {
|
|
1581
|
+
isSelected: flag,
|
|
1582
|
+
isOutside: {
|
|
1583
|
+
true: "text-muted-foreground opacity-50",
|
|
1584
|
+
false: ""
|
|
1585
|
+
},
|
|
1586
|
+
isRangeMiddle: {
|
|
1587
|
+
true: "h-8 w-full rounded-none bg-accent text-accent-foreground",
|
|
1588
|
+
false: ""
|
|
1589
|
+
},
|
|
1590
|
+
isRangeStart: {
|
|
1591
|
+
true: "h-8 w-full rounded-l-md",
|
|
1592
|
+
false: ""
|
|
1593
|
+
},
|
|
1594
|
+
isRangeEnd: {
|
|
1595
|
+
true: "h-8 w-full rounded-r-md",
|
|
1596
|
+
false: ""
|
|
1597
|
+
},
|
|
1598
|
+
isInRange: flag,
|
|
1599
|
+
isHoverRange: flag,
|
|
1600
|
+
isSelectingMode: flag,
|
|
1601
|
+
isDisabled: flag,
|
|
1602
|
+
isToday: flag,
|
|
1603
|
+
isFocused: flag
|
|
1604
|
+
},
|
|
1605
|
+
compoundVariants: [
|
|
1606
|
+
{
|
|
1607
|
+
isRangeMiddle: false,
|
|
1608
|
+
isRangeStart: false,
|
|
1609
|
+
isRangeEnd: false,
|
|
1610
|
+
className: "size-8 rounded-md"
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
isSelected: true,
|
|
1614
|
+
isOutside: false,
|
|
1615
|
+
className: "bg-primary text-primary-foreground"
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
isSelected: true,
|
|
1619
|
+
isOutside: false,
|
|
1620
|
+
isDisabled: true,
|
|
1621
|
+
className: "opacity-50"
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
isOutside: false,
|
|
1625
|
+
isSelected: false,
|
|
1626
|
+
isRangeMiddle: false,
|
|
1627
|
+
isDisabled: true,
|
|
1628
|
+
className: "text-muted-foreground opacity-50"
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
isOutside: false,
|
|
1632
|
+
isSelected: false,
|
|
1633
|
+
isRangeMiddle: false,
|
|
1634
|
+
isDisabled: false,
|
|
1635
|
+
isToday: true,
|
|
1636
|
+
className: "bg-accent text-accent-foreground"
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
isOutside: false,
|
|
1640
|
+
isSelected: false,
|
|
1641
|
+
isRangeMiddle: false,
|
|
1642
|
+
isDisabled: false,
|
|
1643
|
+
isToday: false,
|
|
1644
|
+
className: "text-foreground [@media(pointer:fine)]:hover:bg-accent [@media(pointer:fine)]:hover:text-accent-foreground"
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
isDisabled: true,
|
|
1648
|
+
isOutside: false,
|
|
1649
|
+
className: "cursor-default"
|
|
1650
|
+
},
|
|
1651
|
+
{
|
|
1652
|
+
isSelectingMode: true,
|
|
1653
|
+
isSelected: false,
|
|
1654
|
+
isRangeMiddle: false,
|
|
1655
|
+
isDisabled: false,
|
|
1656
|
+
className: "duration-75"
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
isSelectingMode: true,
|
|
1660
|
+
isSelected: true,
|
|
1661
|
+
isOutside: true,
|
|
1662
|
+
isDisabled: false,
|
|
1663
|
+
className: "duration-75"
|
|
1664
|
+
}
|
|
1665
|
+
]
|
|
1666
|
+
}
|
|
1667
|
+
});
|
|
1668
|
+
const calendarCellTypography = compoundMapper({ default: {
|
|
1669
|
+
size: "body",
|
|
1670
|
+
className: "block overflow-hidden text-ellipsis text-center"
|
|
1671
|
+
} });
|
|
1672
|
+
const calendarMonthDefinition = UIOverrides.defineConfig({
|
|
1673
|
+
base: [
|
|
1674
|
+
"flex items-center justify-center rounded-md border border-solid text-sm font-medium shadow-xs transition-all",
|
|
1675
|
+
"not-selected:border-border not-selected:bg-background not-selected:text-foreground",
|
|
1676
|
+
"dark:not-selected:border-input dark:not-selected:bg-input/30",
|
|
1677
|
+
"not-selected:not-disabled:hover:bg-accent not-selected:not-disabled:hover:text-accent-foreground",
|
|
1678
|
+
"dark:not-selected:not-disabled:hover:bg-input/50",
|
|
1679
|
+
"selected:border-primary selected:bg-primary selected:text-primary-foreground",
|
|
1680
|
+
uiOutlineClass,
|
|
1681
|
+
"not-selected:focus-visible:border-ring"
|
|
1682
|
+
],
|
|
1683
|
+
config: { variants: { isDisabled: {
|
|
1684
|
+
true: "cursor-default opacity-50",
|
|
1685
|
+
false: "cursor-pointer"
|
|
1686
|
+
} } }
|
|
1687
|
+
});
|
|
1688
|
+
const calendarYearDefinition = UIOverrides.defineConfig({
|
|
1689
|
+
base: [
|
|
1690
|
+
"flex border-b border-border border-solid px-4 py-2 text-sm outline-none last:border-b-0",
|
|
1691
|
+
"not-selected:text-foreground",
|
|
1692
|
+
"not-selected:not-disabled:hover:bg-accent not-selected:not-disabled:hover:text-accent-foreground",
|
|
1693
|
+
"not-selected:focus-visible:bg-accent not-selected:focus-visible:text-accent-foreground",
|
|
1694
|
+
"selected:bg-primary selected:text-primary-foreground"
|
|
1695
|
+
],
|
|
1696
|
+
config: { variants: { isDisabled: {
|
|
1697
|
+
true: "cursor-default opacity-50",
|
|
1698
|
+
false: "cursor-pointer"
|
|
1699
|
+
} } }
|
|
1700
|
+
});
|
|
1701
|
+
const calendarOptionTypography = compoundMapper({ default: { size: "body" } });
|
|
1702
|
+
const timePickerSegmentDefinition = UIOverrides.defineConfig({ base: [
|
|
1703
|
+
"min-w-0 flex-1 rounded-md",
|
|
1704
|
+
"has-focus-visible:ring-[3px] has-focus-visible:ring-ring/50",
|
|
1705
|
+
"forced-colors:has-focus-visible:outline-2 forced-colors:has-focus-visible:outline-offset-2 forced-colors:has-focus-visible:outline-[Highlight]"
|
|
1706
|
+
] });
|
|
1707
|
+
const timePickerSegmentTypography = compoundMapper({ default: {
|
|
1708
|
+
size: "body",
|
|
1709
|
+
className: "text-muted-foreground"
|
|
1710
|
+
} });
|
|
1711
|
+
const dateSegmentDefinition = UIOverrides.defineConfig({
|
|
1712
|
+
base: ["box-content rounded-md", "focus-within:outline-1 focus-within:outline-ring focus-within:outline-offset-1"],
|
|
1713
|
+
config: { variants: {
|
|
1714
|
+
isMuted: {
|
|
1715
|
+
true: "text-muted-foreground",
|
|
1716
|
+
false: "text-inherit"
|
|
1717
|
+
},
|
|
1718
|
+
isSpaced: {
|
|
1719
|
+
true: "ml-1",
|
|
1720
|
+
false: ""
|
|
1721
|
+
},
|
|
1722
|
+
isHidden: {
|
|
1723
|
+
true: "opacity-0",
|
|
1724
|
+
false: ""
|
|
1725
|
+
}
|
|
1726
|
+
} }
|
|
1727
|
+
});
|
|
1728
|
+
const dateRangeSeparatorDefinition = UIOverrides.defineConfig({
|
|
1729
|
+
base: ["pointer-events-none select-none"],
|
|
1730
|
+
config: { variants: { isEmpty: {
|
|
1731
|
+
true: "text-muted-foreground",
|
|
1732
|
+
false: "text-inherit"
|
|
1733
|
+
} } }
|
|
1734
|
+
});
|
|
1735
|
+
const dateInputPlaceholderDefinition = UIOverrides.defineConfig({ base: ["text-muted-foreground"] });
|
|
1736
|
+
const dateTimeDialogFooterDefinition = UIOverrides.defineConfig({
|
|
1737
|
+
base: ["flex shrink-0 items-center gap-2 bg-background px-3 py-3 md:border-t md:border-border md:bg-popover md:py-2"],
|
|
1738
|
+
config: { variants: { hasToday: {
|
|
1739
|
+
true: "justify-between",
|
|
1740
|
+
false: "justify-end"
|
|
1741
|
+
} } }
|
|
1742
|
+
});
|
|
1743
|
+
//#endregion
|
|
1552
1744
|
//#region src/components/inputs/DateTime/shared/DateSegmentItem.tsx
|
|
1553
1745
|
const getPlaceholder = (segment) => {
|
|
1554
1746
|
if (!segment.isPlaceholder) return null;
|
|
@@ -1577,12 +1769,17 @@ const DateSegmentItem = ({ segment, state, segmentGroup, isDisabled, timePickerO
|
|
|
1577
1769
|
});
|
|
1578
1770
|
};
|
|
1579
1771
|
const DateSegmentItemView = ({ ref, segmentProps, type, text, placeholder, isPlaceholder, isInputEmpty, segmentGroup, timePickerOnly, hidePlaceholder }) => {
|
|
1772
|
+
const segmentCva = UIOverrides.useCva("datePickerInput.segmentCva", dateSegmentDefinition);
|
|
1580
1773
|
return /* @__PURE__ */ jsx("div", {
|
|
1581
1774
|
...segmentProps,
|
|
1582
1775
|
ref,
|
|
1583
1776
|
"data-static-segment-type": type === "literal" ? void 0 : type,
|
|
1584
1777
|
"data-static-segment-group": type === "literal" ? void 0 : segmentGroup,
|
|
1585
|
-
className:
|
|
1778
|
+
className: segmentCva({
|
|
1779
|
+
isMuted: !!(isPlaceholder || type === "literal" && isInputEmpty),
|
|
1780
|
+
isSpaced: !!(type && (type === "hour" && !timePickerOnly || type === "dayPeriod")),
|
|
1781
|
+
isHidden: !!hidePlaceholder
|
|
1782
|
+
}),
|
|
1586
1783
|
children: /* @__PURE__ */ jsxs(Fragment$1, { children: [isPlaceholder && /* @__PURE__ */ jsx("span", {
|
|
1587
1784
|
"aria-hidden": "true",
|
|
1588
1785
|
className: "pointer-events-none",
|
|
@@ -1639,53 +1836,103 @@ const parseIsoDate = (value, { dateOnly }) => {
|
|
|
1639
1836
|
return date;
|
|
1640
1837
|
};
|
|
1641
1838
|
//#endregion
|
|
1839
|
+
//#region src/components/inputs/DateTime/shared/timeWheelCommit.context.tsx
|
|
1840
|
+
/** The footer settles all columns before validating and committing the dialog draft. */
|
|
1841
|
+
const TimeWheelCommitContext = createContext(null);
|
|
1842
|
+
const TimeWheelCommitProvider = ({ children, isOpen }) => {
|
|
1843
|
+
const [settlers] = useState(() => /* @__PURE__ */ new Set());
|
|
1844
|
+
const value = useMemo(() => ({
|
|
1845
|
+
settlers,
|
|
1846
|
+
isOpen
|
|
1847
|
+
}), [settlers, isOpen]);
|
|
1848
|
+
return /* @__PURE__ */ jsx(TimeWheelCommitContext.Provider, {
|
|
1849
|
+
value,
|
|
1850
|
+
children
|
|
1851
|
+
});
|
|
1852
|
+
};
|
|
1853
|
+
const useTimeWheelCommit = () => useContext(TimeWheelCommitContext);
|
|
1854
|
+
//#endregion
|
|
1642
1855
|
//#region src/components/inputs/DateTime/shared/DateTimeDialog.tsx
|
|
1643
1856
|
const DateTimeDialog = ({ hideSidebar, children, footer, sidebar, label, isOpen, triggerRef, dialogProps, bottomSheetProps, onOpenChange }) => {
|
|
1644
1857
|
const popoverCva = UIOverrides.useCva("popover.cva", popoverDefinition);
|
|
1645
|
-
if (useBreakpoint("md")) return /* @__PURE__ */ jsx(
|
|
1646
|
-
triggerRef,
|
|
1858
|
+
if (useBreakpoint("md")) return /* @__PURE__ */ jsx(TimeWheelCommitProvider, {
|
|
1647
1859
|
isOpen,
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
className:
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
className:
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1860
|
+
children: /* @__PURE__ */ jsx($542a13ca2fa5b484$export$5b6b19405a83ff9d, {
|
|
1861
|
+
triggerRef,
|
|
1862
|
+
isOpen,
|
|
1863
|
+
placement: "bottom start",
|
|
1864
|
+
onOpenChange,
|
|
1865
|
+
className: popoverAnimationClassName,
|
|
1866
|
+
children: /* @__PURE__ */ jsx($f2ff30fde7b014be$export$3ddf2d174ce01153, {
|
|
1867
|
+
...dialogProps,
|
|
1868
|
+
className: "outline-none!",
|
|
1869
|
+
"aria-label": label,
|
|
1870
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
1871
|
+
className: clsx(popoverCva({}), "flex overflow-hidden"),
|
|
1872
|
+
children: [!hideSidebar && sidebar, /* @__PURE__ */ jsxs("div", {
|
|
1873
|
+
className: "flex flex-1 flex-col justify-between",
|
|
1874
|
+
children: [children, footer]
|
|
1875
|
+
})]
|
|
1876
|
+
})
|
|
1661
1877
|
})
|
|
1662
1878
|
})
|
|
1663
1879
|
});
|
|
1664
|
-
return /* @__PURE__ */
|
|
1665
|
-
sheetMarginBottom: 0,
|
|
1666
|
-
isScrollable: true,
|
|
1667
|
-
height: "auto",
|
|
1668
|
-
isDismissable: true,
|
|
1669
|
-
...bottomSheetProps,
|
|
1670
|
-
label,
|
|
1671
|
-
footer,
|
|
1880
|
+
return /* @__PURE__ */ jsx(TimeWheelCommitProvider, {
|
|
1672
1881
|
isOpen,
|
|
1673
|
-
|
|
1674
|
-
|
|
1882
|
+
children: /* @__PURE__ */ jsxs(BottomSheet, {
|
|
1883
|
+
sheetMarginBottom: 0,
|
|
1884
|
+
isScrollable: true,
|
|
1885
|
+
height: "auto",
|
|
1886
|
+
isDismissable: true,
|
|
1887
|
+
...bottomSheetProps,
|
|
1888
|
+
label,
|
|
1889
|
+
footer,
|
|
1890
|
+
isOpen,
|
|
1891
|
+
onOpenChange,
|
|
1892
|
+
children: [children, !hideSidebar && sidebar]
|
|
1893
|
+
})
|
|
1675
1894
|
});
|
|
1676
1895
|
};
|
|
1677
1896
|
//#endregion
|
|
1678
1897
|
//#region src/components/inputs/DateTime/shared/DateTimeDialogFooter.tsx
|
|
1679
1898
|
const DateTimeDialogFooter = ({ isValid = true, isDisabled = false, onTodayPress, onApply }) => {
|
|
1680
1899
|
const { t } = useTranslation("ui");
|
|
1900
|
+
const footerCva = UIOverrides.useCva("dateTimeDialog.footerCva", dateTimeDialogFooterDefinition);
|
|
1901
|
+
const settlers = useTimeWheelCommit()?.settlers;
|
|
1902
|
+
const latest = useRef({
|
|
1903
|
+
onApply,
|
|
1904
|
+
onTodayPress,
|
|
1905
|
+
isValid,
|
|
1906
|
+
isDisabled
|
|
1907
|
+
});
|
|
1908
|
+
useLayoutEffect(() => {
|
|
1909
|
+
latest.current = {
|
|
1910
|
+
onApply,
|
|
1911
|
+
onTodayPress,
|
|
1912
|
+
isValid,
|
|
1913
|
+
isDisabled
|
|
1914
|
+
};
|
|
1915
|
+
});
|
|
1916
|
+
const settleWheels = () => {
|
|
1917
|
+
if (settlers?.size) flushSync(() => {
|
|
1918
|
+
for (const settle of settlers) settle();
|
|
1919
|
+
});
|
|
1920
|
+
};
|
|
1921
|
+
const apply = () => {
|
|
1922
|
+
settleWheels();
|
|
1923
|
+
if (latest.current.isValid && !latest.current.isDisabled) latest.current.onApply();
|
|
1924
|
+
};
|
|
1681
1925
|
return /* @__PURE__ */ jsxs("footer", {
|
|
1682
|
-
className:
|
|
1926
|
+
className: footerCva({ hasToday: !!onTodayPress }),
|
|
1683
1927
|
children: [onTodayPress && /* @__PURE__ */ jsx(Button, {
|
|
1684
1928
|
type: "button",
|
|
1685
1929
|
size: "none",
|
|
1686
1930
|
color: "primary",
|
|
1687
1931
|
isDisabled,
|
|
1688
|
-
onPress:
|
|
1932
|
+
onPress: () => {
|
|
1933
|
+
settleWheels();
|
|
1934
|
+
if (!latest.current.isDisabled) latest.current.onTodayPress?.();
|
|
1935
|
+
},
|
|
1689
1936
|
variant: "text",
|
|
1690
1937
|
width: "hug",
|
|
1691
1938
|
children: t(($) => $.ui.datePicker.today)
|
|
@@ -1693,8 +1940,8 @@ const DateTimeDialogFooter = ({ isValid = true, isDisabled = false, onTodayPress
|
|
|
1693
1940
|
type: "button",
|
|
1694
1941
|
size: "none",
|
|
1695
1942
|
color: "secondary",
|
|
1696
|
-
onPress:
|
|
1697
|
-
isDisabled: !isValid,
|
|
1943
|
+
onPress: apply,
|
|
1944
|
+
isDisabled: !isValid || isDisabled,
|
|
1698
1945
|
variant: "text",
|
|
1699
1946
|
width: "hug",
|
|
1700
1947
|
children: t(($) => $.ui.datePicker.save)
|
|
@@ -1728,10 +1975,7 @@ const getStaticDateRangeSegments = ({ start, end, locale, shouldForceLeadingZero
|
|
|
1728
1975
|
hidePlaceholder: hidePlaceholder && !start,
|
|
1729
1976
|
segmentGroup: "start"
|
|
1730
1977
|
}),
|
|
1731
|
-
showSeparator && /* @__PURE__ */ jsx(
|
|
1732
|
-
className: !start && !end ? "pointer-events-none select-none text-muted-foreground" : "pointer-events-none select-none text-inherit",
|
|
1733
|
-
children: "–"
|
|
1734
|
-
}),
|
|
1978
|
+
showSeparator && /* @__PURE__ */ jsx(StaticDateRangeSeparator, { isEmpty: !start && !end }),
|
|
1735
1979
|
renderStaticDateTimeParts(DateTimeUtils.formatCalendarDatePartsLocalized(end, locale, { shouldForceLeadingZeros }), {
|
|
1736
1980
|
isDisabled,
|
|
1737
1981
|
hidePlaceholder: hidePlaceholder && !end,
|
|
@@ -1747,11 +1991,22 @@ const getStaticTimeSegments = ({ value, locale, shouldForceLeadingZeros, isDisab
|
|
|
1747
1991
|
timePickerOnly: true
|
|
1748
1992
|
});
|
|
1749
1993
|
};
|
|
1750
|
-
const
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1994
|
+
const StaticDateRangeSeparator = ({ isEmpty }) => {
|
|
1995
|
+
const separatorCva = UIOverrides.useCva("datePickerInput.rangeSeparatorCva", dateRangeSeparatorDefinition);
|
|
1996
|
+
return /* @__PURE__ */ jsx("span", {
|
|
1997
|
+
className: separatorCva({ isEmpty }),
|
|
1998
|
+
children: "–"
|
|
1999
|
+
});
|
|
2000
|
+
};
|
|
2001
|
+
const StaticDateTimePlaceholder = ({ children }) => {
|
|
2002
|
+
const placeholderCva = UIOverrides.useCva("datePickerInput.placeholderCva", dateInputPlaceholderDefinition);
|
|
2003
|
+
return /* @__PURE__ */ jsx(Typography, {
|
|
2004
|
+
size: "large",
|
|
2005
|
+
className: placeholderCva(),
|
|
2006
|
+
children
|
|
2007
|
+
});
|
|
2008
|
+
};
|
|
2009
|
+
const getStaticDateTimePlaceholder = (placeholder) => /* @__PURE__ */ jsx(StaticDateTimePlaceholder, { children: placeholder });
|
|
1755
2010
|
const getStaticDateTimeFocusTarget = (container, staticTarget, fromEnd = false) => {
|
|
1756
2011
|
const staticSegment = staticTarget instanceof Element ? staticTarget.closest("[data-static-segment-type]") : null;
|
|
1757
2012
|
const segmentType = staticSegment?.dataset.staticSegmentType;
|
|
@@ -1795,4 +2050,4 @@ const isStaticDatePartVisible = (type, dateGranularity) => {
|
|
|
1795
2050
|
return true;
|
|
1796
2051
|
};
|
|
1797
2052
|
//#endregion
|
|
1798
|
-
export { $8b141f2f71e88f85$export$
|
|
2053
|
+
export { $8b141f2f71e88f85$export$f18627323ab57ac0 as A, timePickerSegmentDefinition as C, $8b141f2f71e88f85$export$7e319ea407e63bc0 as D, $8b141f2f71e88f85$export$2440da353cedad43 as E, $8b141f2f71e88f85$export$80ff8fc0ae339c13 as O, calendarYearDefinition as S, $8e7461aabf74661f$export$60e84778edff6d26 as T, calendarMonthDefinition as _, getStaticTimeSegments as a, calendarWeekNumberDefinition as b, useTimeWheelCommit as c, useFirefoxDateSegmentSelectionGuard as d, DateSegmentItem as f, calendarGridDefinition as g, calendarCellWrapperDefinition as h, getStaticDateTimeFocusTarget as i, $8b141f2f71e88f85$export$c5221a78ef73c5e9 as k, parseIsoDate as l, calendarCellTypography as m, getStaticCalendarDateTimeSegments as n, DateTimeDialogFooter as o, calendarCellDefinition as p, getStaticDateRangeSegments as r, DateTimeDialog as s, getStaticCalendarDateSegments as t, parsePickerValue as u, calendarOptionTypography as v, timePickerSegmentTypography as w, calendarWeekdayDefinition as x, calendarWeekNumberCellDefinition as y };
|