@povio/ui 5.0.0-rc.9 → 6.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/MIGRATION.md +673 -0
- package/README.md +206 -55
- package/dist/{Accordion-BzwO4_ml.js → Accordion-DycXjzGK.js} +10 -10
- package/dist/{Alert-DfiJbKH0.d.ts → Alert-BpPHCE5-.d.ts} +3 -3
- package/dist/{AlertDialog-OWTbR4km.d.ts → AlertDialog-CDCbfARJ.d.ts} +3 -3
- package/dist/Autocomplete-BUslodfn.d.ts +23 -0
- package/dist/Autocomplete-DSwAc7jF.js +142 -0
- package/dist/Autocomplete.bound-Db5C6Jph.d.ts +9 -0
- package/dist/Autocomplete.bound-e5WbxlBm.js +28 -0
- package/dist/{Badge-CBNpj823.d.ts → Badge-Dp091PcC.d.ts} +2 -2
- package/dist/{BadgeButton-Ccgt3oGO.d.ts → BadgeButton-DZm_aw29.d.ts} +2 -2
- package/dist/{BottomSheet-DbQuzfAB.d.ts → BottomSheet-C-jdDmO7.d.ts} +1 -1
- package/dist/{BottomSheet-BXLE3161.js → BottomSheet-DB0Cdlgx.js} +10 -84
- package/dist/{BottomSheet.lazy-D9LCEo7s.d.ts → BottomSheet.lazy-C0_6p_UQ.d.ts} +1 -1
- package/dist/{Breadcrumbs-CUV6CU8Q.d.ts → Breadcrumbs-CuupIZuv.d.ts} +1 -1
- package/dist/{Breadcrumbs-FF8hMfXd.js → Breadcrumbs-V-Bea_bs.js} +16 -13
- package/dist/Button-BL5ils-5.d.ts +13 -0
- package/dist/{Button-D6KlWSFL.js → Button-C1YB5dOw.js} +3 -3
- package/dist/Button-DU1Q8GDB.js +16 -0
- package/dist/ButtonBase-BhlpPPDi.js +87 -0
- package/dist/ButtonBase-C_ODj77A.d.ts +32 -0
- package/dist/{ButtonContent-c7lJayVQ.js → ButtonContent-BBup-vN6.js} +4 -13
- package/dist/{Calendar-BTjajO6i.js → Calendar-ChmIflXX.js} +31 -31
- package/dist/{CheckContent-D7sZPmzx.js → CheckContent-DHKG_FY6.js} +1 -1
- package/dist/{Checkbox-DVTWaMKa.d.ts → Checkbox-BjZVQ-6_.d.ts} +9 -8
- package/dist/{Checkbox-CV1ILXXO.js → Checkbox-Bo03jrPX.js} +20 -37
- package/dist/Checkbox.bound-DN4OVaMs.js +33 -0
- package/dist/Checkbox.bound-DTO008Tl.d.ts +9 -0
- package/dist/CheckboxCheckmark-C4yFclkZ.js +44 -0
- package/dist/CheckboxGroup-B_rzZgta.d.ts +30 -0
- package/dist/CheckboxGroup-D3LxgocB.js +139 -0
- package/dist/CheckboxGroup.bound-8hjoP-xP.js +32 -0
- package/dist/CheckboxGroup.bound-CiA60XsD.d.ts +9 -0
- package/dist/ComboBox-DFlz6HJ8.js +212 -0
- package/dist/{DatePicker-8xSs_jNd.d.ts → DatePicker-B_caFHFY.d.ts} +21 -10
- package/dist/{DatePicker-DOLL7mkc.js → DatePicker-Bc_E4UZ1.js} +40 -50
- package/dist/DatePicker.bound-C5-DL4SJ.d.ts +9 -0
- package/dist/DatePicker.bound-CtBL5w-8.js +36 -0
- package/dist/{DatePickerInput-D81ZJ3fT.d.ts → DatePickerInput-8gKhZdGY.d.ts} +3 -3
- package/dist/{DatePickerInput-BLBcySA2.js → DatePickerInput-TND0rEMc.js} +68 -48
- package/dist/{DateRangePicker-BF-1CztH.js → DateRangePicker-BNMTOQ2N.js} +81 -70
- package/dist/{DateRangePicker-Bfq-yDm7.d.ts → DateRangePicker-CzWwO5bA.d.ts} +30 -10
- package/dist/DateRangePicker.bound-C4mHtr-b.d.ts +9 -0
- package/dist/DateRangePicker.bound-GeRw9Iuj.js +35 -0
- package/dist/{DateTimePicker-Cj0qvJUz.js → DateTimePicker-B3YjV4uj.js} +40 -44
- package/dist/{DateTimePicker-D4lHyf6P.d.ts → DateTimePicker-CzGdmamp.d.ts} +21 -11
- package/dist/DateTimePicker.bound-ByjHsAnf.js +32 -0
- package/dist/DateTimePicker.bound-DwClL-pe.d.ts +9 -0
- package/dist/Dialog-2XpWsphI.d.ts +21 -0
- package/dist/{Dialog-9manOgMA.js → Dialog-COvYzwNU.js} +11 -8
- package/dist/{Dialog-CKLkS00H.js → Dialog-lFYX-7Ax.js} +22 -27
- package/dist/{DropdownMenu-5jmtgLXd.js → DropdownMenu-DtZdv5mo.js} +7 -7
- package/dist/DropdownMenu-gKIXzj63.d.ts +25 -0
- package/dist/{DropdownMenuDesktop-Cl9gZVq0.js → DropdownMenuDesktop-BMkiHEuY.js} +4 -4
- package/dist/{FileInput-C4CE5kuP.d.ts → FileInput-0o8-IJUh.d.ts} +26 -22
- package/dist/{FileInput-Br5DQaGQ.js → FileInput-Bpm2HJSB.js} +34 -47
- package/dist/FileInput.bound-B6oGPCP8.js +30 -0
- package/dist/FileInput.bound-BEeceBBO.d.ts +8 -0
- package/dist/{FileTrigger-Cthk5_Wp.js → FileTrigger-DBX1Io6E.js} +36 -7
- package/dist/FileUpload--AQJW3vz.d.ts +11 -0
- package/dist/{FileUpload--7ub3EZO.js → FileUpload-G7tdtNKN.js} +276 -165
- package/dist/FileUpload.bound-DqqPejvc.js +30 -0
- package/dist/FileUpload.bound-i5zfLhoY.d.ts +16 -0
- package/dist/{FileUploadContainer-042ztsaL.d.ts → FileUploadContainer-D1eYflb2.d.ts} +1 -1
- package/dist/{Form-DlQcyN1f.js → Form-CqF1SaVw.js} +2 -2
- package/dist/{FormField-Byiehm9y.d.ts → FormField-BsR2Cjxm.d.ts} +4 -2
- package/dist/FormField-DyqEbqx3.js +119 -0
- package/dist/{FormFieldError-DeOHHLo2.js → FormFieldError-BaVgIKrv.js} +2 -13
- package/dist/FormFieldHeaderTooltip-Bxc4f9i4.js +47 -0
- package/dist/{Heading-nI1_VOaE.js → Heading-D4XFYv__.js} +2 -2
- package/dist/IconButton-DdvODpP7.d.ts +25 -0
- package/dist/{IconSlot-DSK7qNxc.js → IconSlot-Cuvpj1gd.js} +2 -2
- package/dist/{InlineTooltipWrapper-BpApaGXV.js → InlineTooltipWrapper-HDHIaQtS.js} +1 -1
- package/dist/{Input-BsbLZDtC.js → Input-BG0Xjw5X.js} +2 -2
- package/dist/Input-BdCci6BF.js +229 -0
- package/dist/{Input-DOanwj3l.d.ts → Input-Bu4G9gcn.d.ts} +13 -9
- package/dist/Input.bound-CnqI-L-b.js +31 -0
- package/dist/Input.bound-CxfKRXzI.d.ts +9 -0
- package/dist/{InputContent-CXuP1ghQ.d.ts → InputContent-BGTEvv6a.d.ts} +4 -4
- package/dist/{useFieldAccessibility-ScC6Mtd5.js → InputContent-Ca4oVqIe.js} +24 -37
- package/dist/{Label-B2-B-uFY.js → Label-BGvF9vWx.js} +2 -2
- package/dist/{Link-FupWOW1f.js → Link-Chux-Clm.js} +2 -2
- package/dist/{Link-Ow9H7kNv.d.ts → Link-D0Kk3F5w.d.ts} +3 -3
- package/dist/{ListBox-CL8Ar4Q_.js → ListBox-CoUk0kkt.js} +10 -11
- package/dist/{MenuItem-DHyqOqln.d.ts → MenuItem-Bo5a7_Nw.d.ts} +1 -1
- package/dist/{Modal-w60dVQcb.js → Modal-B4p1zFqi.js} +58 -20
- package/dist/NumberField-BLAwsjns.js +225 -0
- package/dist/{NumberField-Cb9Gf6QJ.d.ts → NumberField-DCMQZPY9.d.ts} +13 -9
- package/dist/NumberField.bound-DiDYEZM4.js +32 -0
- package/dist/NumberField.bound-fZLE6Odv.d.ts +9 -0
- package/dist/{NumberFormatter-CLDS_LRZ.js → NumberFormatter-DYarfm5F.js} +2 -36
- package/dist/{NumberRangeInput-BfbJQqzn.d.ts → NumberRangeInput-CtSYPK2e.d.ts} +13 -8
- package/dist/{NumberRangeInput-B8-LHfg3.js → NumberRangeInput-al32ZeSy.js} +23 -51
- package/dist/NumberRangeInput.bound-B0e7yUDI.js +32 -0
- package/dist/NumberRangeInput.bound-CxAk_1_K.d.ts +9 -0
- package/dist/{OverlayArrow-D8z7cCsw.js → OverlayArrow-DF0jMwul.js} +2 -2
- package/dist/{Pagination-CwQu5Py8.d.ts → Pagination-DikJEIWD.d.ts} +1 -1
- package/dist/{PaginationList-DMRUGtf8.d.ts → PaginationList-D7PVQ5WX.d.ts} +1 -1
- package/dist/PaginationList-vfqgyTIP.js +258 -0
- package/dist/PasswordInput-Dy5hMeFP.d.ts +11 -0
- package/dist/{PasswordInput-CLwFUgl0.d.ts → PasswordInput.bound-B5sHHU26.d.ts} +5 -6
- package/dist/PasswordInput.bound-Bj3WO1zC.js +23 -0
- package/dist/{Popover-BTHPteIh.d.ts → Popover-DxTsc2y6.d.ts} +2 -2
- package/dist/{Progress-CjWOR38H.d.ts → Progress-CtxPBAgr.d.ts} +4 -4
- package/dist/{Progress-B3mY9rIP.js → Progress-ZsKwo9ne.js} +3 -28
- package/dist/RadioGroup-BYS8ha2C.d.ts +26 -0
- package/dist/{RadioGroup-DOw3PRoX.js → RadioGroup-D0X47mm7.js} +13 -117
- package/dist/RadioGroup.bound-CibzUsQL.d.ts +9 -0
- package/dist/RadioGroup.bound-aK3GC6i7.js +32 -0
- package/dist/RichTextEditor-k9LvNCjg.d.ts +28 -0
- package/dist/{RichTextEditor-D4yN7Wj7.js → RichTextEditor-qoxzWBFP.js} +154 -85
- package/dist/{staticSelect.utils-uHa8f_c6.js → Select-BAlYMh4h.js} +218 -252
- package/dist/{SelectBase-Omiq2D3M.d.ts → Select-NNohxr1t.d.ts} +32 -11
- package/dist/Select.bound-CQPG2sWV.js +34 -0
- package/dist/Select.bound-Dh5kywfV.d.ts +17 -0
- package/dist/{SelectionIndicator-JblvLKCu.js → SelectionIndicator-B7C5Y0JM.js} +1 -1
- package/dist/{SharedElementTransition-Da1c_cOO.js → SharedElementTransition-DJ9CCbEa.js} +1 -1
- package/dist/{Slider-CzEmKYBF.js → Slider-DMrnZn3I.js} +16 -40
- package/dist/{Slider-EYlGCLWe.d.ts → Slider-zbLmrW6J.d.ts} +9 -8
- package/dist/Slider.bound-BaJHbE6d.d.ts +9 -0
- package/dist/Slider.bound-BoIYW8I5.js +31 -0
- package/dist/{Spinner-BeVTUzzx.js → Spinner-CFj5Iu77.js} +28 -40
- package/dist/{Spinner-DbXeDOa2.d.ts → Spinner-b365xHHG.d.ts} +5 -5
- package/dist/{SplitButton-D9ngY1rJ.d.ts → SplitButton-CzvD7LIK.d.ts} +3 -3
- package/dist/{Stepper-TATlHZhQ.d.ts → Stepper-Bk1JUf6K.d.ts} +18 -18
- package/dist/{Stepper-Cp5vbL5g.js → Stepper-DlyScdAM.js} +11 -10
- package/dist/{Switch-CqnGEdeD.js → Switch-Ck_zSDuw.js} +9 -58
- package/dist/Switch-uqTGk-H6.d.ts +24 -0
- package/dist/Switch.bound-Brw5UUA6.js +33 -0
- package/dist/Switch.bound-DWuDmr2C.d.ts +9 -0
- package/dist/Tag--FasSNEh.d.ts +44 -0
- package/dist/{Text-D2MPZ3sY.js → Text-D72yc4S6.js} +1 -1
- package/dist/{TextArea-D8WkKsGn.js → TextArea-33uOXvnc.js} +30 -33
- package/dist/{TextArea-l_keyLK7.d.ts → TextArea-t5IYaVds.d.ts} +11 -9
- package/dist/TextArea.bound-DPALjcvO.js +28 -0
- package/dist/TextArea.bound-DcflHR7X.d.ts +9 -0
- package/dist/TextArea.cva-Bb73hriz.js +5 -0
- package/dist/TimePicker-BK4AnHQa.d.ts +45 -0
- package/dist/{TimePicker-C4taAOFQ.js → TimePicker-CmBGkxDC.js} +59 -51
- package/dist/TimePicker.bound-3i1DJgrU.js +32 -0
- package/dist/TimePicker.bound-BMZWRtpJ.d.ts +9 -0
- package/dist/{Toast-ruXqONDA.d.ts → Toast-6rYk8AAG.d.ts} +1 -1
- package/dist/{ToastContainer-qgpzMFD4.js → ToastContainer-D1Jl3PPk.js} +3 -3
- package/dist/{ToggleButton-BW1ensey.js → ToggleButton-DUQ8nwKY.js} +5 -5
- package/dist/ToggleButton-DZ340rQr.d.ts +17 -0
- package/dist/{toggleGroup.types-Bp43zbSQ.d.ts → ToggleGroup-BTqYh6FH.d.ts} +16 -15
- package/dist/{ToggleGroup-DOk27fgI.js → ToggleGroup-cvzIyIhi.js} +136 -162
- package/dist/ToggleGroup.bound-BEtnF-L-.d.ts +9 -0
- package/dist/ToggleGroup.bound-DjwakG--.js +67 -0
- package/dist/{Tooltip-CpG1nz7Y.js → Tooltip-CqbyoJhl.js} +45 -10
- package/dist/Tooltip-DP5RDkXs.d.ts +16 -0
- package/dist/{TooltipWrapper-3jyN0Wss.js → TooltipWrapper-BrftXInI.js} +7 -7
- package/dist/{Typography-XljT9s02.d.ts → Typography-BD-MSuTp.d.ts} +1 -1
- package/dist/{Typography-LU4z2pR1.js → Typography-Ba5l4rmj.js} +1 -1
- package/dist/{accordion.cva-CL1bVscW.js → accordion.cva-C-gUiXk5.js} +16 -24
- package/dist/badgeButton.cva-C1BuYx1N.js +138 -0
- package/dist/{badgeButton.cva-B2bgCQP6.d.ts → badgeButton.cva-Cj5AWgfv.d.ts} +8 -8
- package/dist/{breadcrumbs.cva-7zzdDhVR.js → breadcrumbs.cva-DCAdmxWR.js} +8 -8
- package/dist/{button.cva-C7kEhgoA.d.ts → button.cva-YpNNY6C-.d.ts} +21 -16
- package/dist/button.cva-fkUW5b2d.js +267 -0
- package/dist/{buttonContent.cva-DPIlROA9.d.ts → buttonContent.cva-CxgT-rxJ.d.ts} +2 -2
- package/dist/{checkbox.cva-t1Ox50hy.d.ts → checkbox.cva-CZnnBl8g.d.ts} +6 -6
- package/dist/checkbox.cva-DCVi4-4z.js +128 -0
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +1 -1
- package/dist/components/alert-dialog.js +102 -100
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/alert.js +116 -1
- package/dist/components/autocomplete.d.ts +2 -2
- package/dist/components/autocomplete.js +1 -134
- package/dist/components/badge-button.d.ts +1 -1
- package/dist/components/badge-button.js +4 -4
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/badge.js +8 -8
- package/dist/components/bottom-sheet-header.d.ts +16 -0
- package/dist/components/bottom-sheet-header.js +80 -0
- package/dist/components/bottom-sheet.d.ts +2 -2
- package/dist/components/bottom-sheet.js +2 -2
- package/dist/components/breadcrumb/react-aria.js +1 -1
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button-group.d.ts +12 -0
- package/dist/components/button-group.js +46 -0
- 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 -163
- package/dist/components/checkbox.d.ts +2 -2
- package/dist/components/checkbox.js +2 -2
- package/dist/components/combo-box/react-aria.js +1 -1
- package/dist/components/date-picker/react-aria.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/react-aria.js +1 -1
- package/dist/components/date-range-picker.d.ts +2 -2
- package/dist/components/date-range-picker.js +1 -1
- package/dist/components/date-time-picker.d.ts +2 -2
- package/dist/components/date-time-picker.js +1 -1
- package/dist/components/dialog-trigger/react-aria.js +1 -1
- package/dist/components/dialog.d.ts +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/drawer.js +4 -4
- package/dist/components/dropdown-menu.d.ts +2 -2
- package/dist/components/dropdown-menu.js +2 -2
- package/dist/components/file-input.d.ts +2 -2
- package/dist/components/file-input.js +1 -1
- package/dist/components/file-upload-container.d.ts +2 -2
- package/dist/components/file-upload-container.js +1 -1
- package/dist/components/file-upload.d.ts +3 -3
- package/dist/components/file-upload.js +1 -1
- package/dist/components/form-field.d.ts +1 -1
- package/dist/components/form-field.js +1 -1
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/icon-button.js +17 -15
- package/dist/components/icon-slot.d.ts +1 -1
- package/dist/components/icon-slot.js +1 -1
- package/dist/components/input-frame.d.ts +93 -0
- package/dist/{useStaticInputHandoff-NeZVnci-.js → components/input-frame.js} +50 -99
- package/dist/components/input.d.ts +2 -2
- package/dist/components/input.js +1 -241
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +2 -2
- package/dist/components/menu-trigger/react-aria.js +1 -1
- package/dist/components/modal/react-aria.js +1 -1
- package/dist/components/modal-overlay/react-aria.js +1 -1
- package/dist/components/number-field.d.ts +2 -2
- package/dist/components/number-field.js +1 -245
- package/dist/components/number-range-input.d.ts +2 -2
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/pagination-list.d.ts +1 -1
- package/dist/components/pagination-list.js +1 -1
- package/dist/components/pagination.d.ts +1 -1
- package/dist/components/pagination.js +14 -10
- package/dist/components/password-input.d.ts +2 -2
- package/dist/components/password-input.js +22 -1
- package/dist/components/popover/react-aria.js +1 -1
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +39 -31
- package/dist/components/progress.d.ts +1 -1
- 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/react-aria.js +1 -1
- package/dist/components/select.d.ts +2 -3
- package/dist/components/select.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 +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 +3 -0
- package/dist/components/style-definitions.js +121 -0
- package/dist/components/submenu-trigger/react-aria.js +1 -1
- package/dist/components/switch.d.ts +2 -2
- package/dist/components/switch.js +1 -1
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/tag.js +93 -1
- 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 +2 -2
- package/dist/components/toast.js +2 -2
- package/dist/components/toggle-button.d.ts +1 -1
- package/dist/components/toggle-button.js +17 -30
- package/dist/components/toggle-group.d.ts +2 -3
- 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/typography.js +1 -1
- package/dist/components/use-toast.d.ts +1 -1
- package/dist/components/use-toast.js +2 -2
- package/dist/config/component-configuration.d.ts +30 -0
- package/dist/config/component-configuration.js +69 -0
- 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-BuzgCfYl.js → confirmation.context-BSn1s-ip.js} +1 -1
- package/dist/{confirmation.context-BOeEVczb.d.ts → confirmation.context-DdxzxDWB.d.ts} +1 -1
- package/dist/{datePickerInput.cva-Cd7UUN61.js → datePickerInput.cva--gCeAsRx.js} +1 -1
- package/dist/{datePickerValue.utils-DCgoSrP3.js → datePickerValue.utils-BxHR_BQZ.js} +21 -13
- package/dist/{dialog.cva-COhDZaVl.js → dialog.cva-DzJlaK5a.js} +6 -6
- package/dist/{dist-CAdwxJbe.js → dist-D35rjADF.js} +54 -1
- package/dist/{dom.utils-D1AopHx9.js → dom.utils-BbfrA6RP.js} +1 -1
- package/dist/dropdownMenu.cva-CS5Q2b_3.js +31 -0
- package/dist/{PasswordInput-DYwUZ4-k.js → eye-BA4nRlMX.js} +1 -22
- package/dist/{fileUpload.cva-ujmStxB1.js → fileUpload.cva-DVJcCCYz.js} +10 -10
- package/dist/{fileUpload.types-n5FxK_F-.d.ts → fileUpload.types-DKICER1J.d.ts} +17 -17
- package/dist/form.binding-B-2id68q.js +49 -0
- package/dist/form.types-C8P4sznq.d.ts +22 -0
- package/dist/formFieldError.cva-Cc-dELdU.js +14 -0
- package/dist/formFieldHelper.cva-5YaiUEcL.js +97 -0
- package/dist/hooks/use-async-list.d.ts +2 -0
- package/dist/hooks/use-async-list.js +2 -0
- package/dist/hooks/use-filters.js +1 -1
- package/dist/{i18n-CX1vFM9r.d.ts → i18n-2z5on9No.d.ts} +18 -0
- package/dist/{i18n-CX2EjhJI.js → i18n-BjNKHh_D.js} +20 -2
- package/dist/{iconSlot.cva-CnpFzAOR.d.ts → iconSlot.cva-BrT0X2qq.d.ts} +4 -3
- package/dist/icons.d.ts +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.d.ts +95 -91
- package/dist/index.js +87 -85
- package/dist/input.cva-AHLI_M3K.js +185 -0
- package/dist/{input.cva-BsHgYa-L.d.ts → input.cva-CEFEpKml.d.ts} +10 -10
- package/dist/{intlStrings-chfsan9H.js → intlStrings-Cu1YN1tA.js} +35 -35
- package/dist/isEqual-LFw0W5rU.js +97 -0
- package/dist/{link.context-D5qyz9Rf.d.ts → link.context-pIX2TUSb.d.ts} +1 -1
- package/dist/link.cva-isgDrId6.js +12 -0
- package/dist/{numberStatic.utils-BX50PSee.js → numberStatic.utils-BIyZuILs.js} +5 -5
- package/dist/outline.clsx-DGGQQRkM.js +6 -0
- package/dist/{popover.cva-Bhud1wnp.js → popover.cva-Ciu9Ro5G.js} +1 -1
- package/dist/progress.cva-D0PKV_ET.js +28 -0
- package/dist/radio.cva-Dn2Auqxw.js +79 -0
- package/dist/{radio.cva-DN9VQ3Kb.d.ts → radio.cva-VUie6k1Y.d.ts} +4 -4
- package/dist/rich-text-editor.d.ts +2 -2
- package/dist/rich-text-editor.js +1 -1
- package/dist/{routing.utils-UTQonIhB.js → routing.utils-DfxEt0_Y.js} +5 -0
- package/dist/selectDesktop.cva-CGBkscBY.js +14 -0
- package/dist/selectItem.cva-Ch6oK4jP.js +27 -0
- package/dist/{staticDateTimeSegments-DtU63_dw.js → staticDateTimeSegments-CA_lwN-O.js} +60 -56
- package/dist/status.cva-CUpcOT4W.js +130 -0
- package/dist/{stepper.cva-CZ0Kj-s7.js → stepper.cva-CQGechUm.js} +22 -34
- package/dist/style-definitions-DzsmGccZ.d.ts +1028 -0
- package/dist/styles/editor.css +9 -9
- package/dist/styles/input.d.ts +1 -1
- package/dist/styles/outline.js +1 -1
- package/dist/switch.cva-C9bO_QI-.js +24 -0
- package/dist/switch.cva-x4SdjrQp.d.ts +16 -0
- package/dist/table.cva-BMIizuGy.js +111 -0
- package/dist/table.cva-HHTd92di.d.ts +84 -0
- package/dist/tag.cva-BVa0EWBU.js +24 -0
- package/dist/tanstack/autocomplete.d.ts +3 -2
- package/dist/tanstack/autocomplete.js +1 -1
- package/dist/tanstack/checkbox-group.d.ts +3 -2
- package/dist/tanstack/checkbox-group.js +1 -1
- package/dist/tanstack/checkbox.d.ts +3 -2
- package/dist/tanstack/checkbox.js +2 -2
- package/dist/tanstack/date-picker.d.ts +3 -2
- package/dist/tanstack/date-picker.js +1 -1
- package/dist/tanstack/date-range-picker.d.ts +3 -2
- package/dist/tanstack/date-range-picker.js +1 -1
- package/dist/tanstack/date-time-picker.d.ts +3 -2
- package/dist/tanstack/date-time-picker.js +1 -1
- package/dist/tanstack/file-input.d.ts +3 -2
- package/dist/tanstack/file-input.js +1 -1
- package/dist/tanstack/file-upload.d.ts +4 -3
- package/dist/tanstack/file-upload.js +1 -1
- package/dist/tanstack/form.d.ts +3 -3
- package/dist/tanstack/form.js +3 -3
- package/dist/tanstack/input.d.ts +3 -2
- package/dist/tanstack/input.js +1 -1
- package/dist/tanstack/number-field.d.ts +3 -2
- package/dist/tanstack/number-field.js +1 -1
- package/dist/tanstack/number-range-input.d.ts +3 -2
- package/dist/tanstack/number-range-input.js +1 -1
- package/dist/tanstack/password-input.d.ts +1 -1
- package/dist/tanstack/password-input.js +1 -1
- package/dist/tanstack/radio-group.d.ts +3 -2
- package/dist/tanstack/radio-group.js +1 -1
- package/dist/tanstack/rich-text-editor.d.ts +9 -2
- package/dist/tanstack/rich-text-editor.js +27 -1
- package/dist/tanstack/select.d.ts +3 -2
- package/dist/tanstack/select.js +1 -1
- package/dist/tanstack/slider.d.ts +3 -2
- package/dist/tanstack/slider.js +1 -1
- package/dist/tanstack/switch.d.ts +3 -2
- package/dist/tanstack/switch.js +1 -1
- package/dist/tanstack/table.d.ts +3 -2
- package/dist/tanstack/table.js +2 -3
- package/dist/tanstack/text-area.d.ts +3 -2
- package/dist/tanstack/text-area.js +1 -1
- package/dist/tanstack/time-picker.d.ts +3 -2
- package/dist/tanstack/time-picker.js +1 -1
- package/dist/tanstack/toggle-group.d.ts +3 -3
- package/dist/tanstack/toggle-group.js +1 -1
- package/dist/tanstack-CSiB125i.d.ts +469 -0
- package/dist/tanstack.d.ts +79 -78
- package/dist/tanstack.js +87 -83
- package/dist/{toast.cva-By5lvAfr.d.ts → toast.cva-B8i61tEN.d.ts} +10 -10
- package/dist/{toast.cva-C_L_RffH.js → toast.cva-BMOx7_9f.js} +21 -37
- package/dist/{toast.runtime-cxex9e4E.js → toast.runtime-D18gn2Ty.js} +1 -2
- package/dist/toggleGroup.cva-C9Y5-kpk.js +26 -0
- package/dist/{tooltip.cva-BIzlOXHH.js → tooltip.cva-Clfcn_r2.js} +10 -10
- package/dist/tw-ui-plugin.js +5 -1
- package/dist/typography.cva-CKCCpIMj.d.ts +36 -0
- package/dist/typography.cva-CXolEQdT.js +31 -0
- package/dist/{uiConfig.context-DeBX2beU.d.ts → uiConfig.context-B1SCCG5j.d.ts} +12 -20
- package/dist/{uiConfig.context-BS3r_kTS.js → uiConfig.context-dxsO9puE.js} +12 -118
- package/dist/{uiOverrides.context-DEp139He.d.ts → uiOverrides.context-Dmev7iRS.d.ts} +44 -6
- package/dist/useAsyncList-Cu-Y8If2.d.ts +9 -0
- package/dist/useAsyncList-yHz7twsj.js +445 -0
- package/dist/{useBreakpoint-DQoMN-BG.js → useBreakpoint-DOUmXVZ2.js} +5 -5
- package/dist/{useControlledState-CzXkZCX8.js → useControlledState-CuU1VIh1.js} +2 -2
- package/dist/useFieldAccessibility-eZIMECmG.js +19 -0
- package/dist/{useFilters-XNH27Md2.js → useFilters-HIngImwn.js} +1 -1
- package/dist/{form.binding-DVJ5F0JE.d.ts → useForm-I6z23FXf.d.ts} +15 -15
- package/dist/{form.binding-CG1RPv6o.js → useForm-eW4KpH1u.js} +79 -42
- package/dist/useFormAutosave-BBLm3Ujo.d.ts +34 -0
- package/dist/useFormAutosave-XEQqk1lK.js +216 -0
- package/dist/useStaticInputHandoff-DyYxfwv6.js +77 -0
- package/dist/useTableColumnConfig-DoTYVxqG.js +1349 -0
- package/dist/{useTableNav-Ckj5PBRk.d.ts → useTableNav-D2zCwy63.d.ts} +34 -96
- package/dist/{useToast-yreVCUer.d.ts → useToast-CA0BGCDK.d.ts} +1 -1
- package/dist/{utils-Czcqspm7.js → utils-BkLF-JA3.js} +1 -1
- package/package.json +66 -234
- package/.rulesync/rules/ui-buttons-and-content.md +0 -56
- package/.rulesync/rules/ui-inputs-and-forms.md +0 -62
- package/.rulesync/rules/ui-overlays-navigation-and-styling.md +0 -49
- package/.rulesync/rules/ui-overview.md +0 -33
- package/dist/Alert-CnvEb1D_.js +0 -244
- package/dist/AppCanvasPage--RG31Yyv.js +0 -2421
- package/dist/AppCanvasPage-BIFYeEeS.d.ts +0 -80
- package/dist/Autocomplete-BwNHp8fy.d.ts +0 -15
- package/dist/Button-C5rv4Cr2.js +0 -506
- package/dist/Button-D-4qb0IR.d.ts +0 -42
- package/dist/CheckboxCheckmark-CpC3wlMs.js +0 -178
- package/dist/CheckboxGroup-DGF12cmB.d.ts +0 -28
- package/dist/ComponentGallery-C6exitZN.js +0 -3513
- package/dist/Dialog-CW93T9X1.d.ts +0 -56
- package/dist/DropdownMenu-JNpYT4-3.d.ts +0 -62
- package/dist/FileUpload-CR7bZxV1.d.ts +0 -7
- package/dist/Form-DbEWnCKc.d.ts +0 -49
- package/dist/FormField-B99dLt8o.js +0 -212
- package/dist/FormFieldHeaderTooltip-BV2Ju4oB.js +0 -17
- package/dist/IconButton-D4thBurp.d.ts +0 -16
- package/dist/InlineIconButton-BeJCjl-q.d.ts +0 -15
- package/dist/InputItem-CIxbTxZu.js +0 -63
- package/dist/Inputs-DJSKiaWY.js +0 -17
- package/dist/Inputs-O84btFJL.d.ts +0 -13
- package/dist/PaginationList-DtvuP63b.js +0 -220
- package/dist/QuerySelect-BGxb6Y0K.d.ts +0 -24
- package/dist/RadioGroup-CZg2kIMk.d.ts +0 -24
- package/dist/RichTextEditor-YxuRUlI7.d.ts +0 -26
- package/dist/Select-UR0ec2Ux.js +0 -154
- package/dist/Select-pHbyJdZJ.d.ts +0 -15
- package/dist/Switch-s_EPn0Jz.d.ts +0 -22
- package/dist/Table-BN2_J_Ne.js +0 -636
- package/dist/Tag-AHfV_XSf.d.ts +0 -44
- package/dist/Tag-DPg5sL1Z.js +0 -146
- package/dist/TextButton-XUhV_1s0.d.ts +0 -15
- package/dist/TimePicker-B1POvGWs.d.ts +0 -33
- package/dist/Toast-DtG3pA61.js +0 -53
- package/dist/ToggleButton-7aP8Jb11.d.ts +0 -11
- package/dist/ToggleGroup-CRFDIPGZ.d.ts +0 -7
- package/dist/Tooltip-DHv6vAqW.d.ts +0 -57
- package/dist/UIConfigurator-BwLRfe-a.js +0 -6704
- package/dist/autocomplete-DeERHN8W.d.ts +0 -16
- package/dist/badgeButton.cva-CvN4CTx5.js +0 -300
- package/dist/checkbox-DxIPDTK5.d.ts +0 -9
- package/dist/checkbox-group-B3BOVshI.d.ts +0 -9
- package/dist/chevron-left-Dgo_b9wJ.js +0 -20
- package/dist/chevron-up-D_Gqpb5M.js +0 -20
- package/dist/components/inline-icon-button.d.ts +0 -2
- package/dist/components/inline-icon-button.js +0 -40
- package/dist/components/query-autocomplete.d.ts +0 -8
- package/dist/components/query-autocomplete.js +0 -134
- package/dist/components/query-select.d.ts +0 -2
- package/dist/components/query-select.js +0 -147
- package/dist/components/text-button.d.ts +0 -2
- package/dist/components/text-button.js +0 -35
- package/dist/config/app-canvas-tanstack.d.ts +0 -23
- package/dist/config/app-canvas-tanstack.js +0 -62
- package/dist/config/app-canvas.d.ts +0 -12
- package/dist/config/app-canvas.js +0 -2
- package/dist/config/ui-configurator-theme.d.ts +0 -2
- package/dist/config/ui-configurator-theme.js +0 -2
- package/dist/config/ui-configurator-vite.d.ts +0 -10
- package/dist/config/ui-configurator-vite.js +0 -174
- package/dist/config/ui-configurator.d.ts +0 -15
- package/dist/config/ui-configurator.js +0 -3
- package/dist/configuration.context-f_FSPWhQ.d.ts +0 -926
- package/dist/date-picker-DnxDmlOW.d.ts +0 -9
- package/dist/date-range-picker-DHDOSvHN.d.ts +0 -9
- package/dist/date-time-picker-UkTa0OJ8.d.ts +0 -9
- package/dist/date.transforms-DLg-eFcE.js +0 -15
- package/dist/dropdownMenu.cva-DvEmX0bs.js +0 -34
- package/dist/dynamicInputs-ByVMnx4Z.d.ts +0 -772
- package/dist/dynamicInputs-CRMWIpHA.js +0 -194
- package/dist/dynamicInputs-m_DQu5q0.js +0 -214
- package/dist/fieldAdapter-C4sDFC8f.d.ts +0 -9
- package/dist/fieldAdapter-DjYls12j.js +0 -63
- package/dist/file-input-DkbkdI7l.d.ts +0 -9
- package/dist/file-upload-CTsPhxJk.d.ts +0 -10
- package/dist/form.types-CecYaerF.d.ts +0 -13
- package/dist/form.types-ZNGbcqJS.d.ts +0 -13
- package/dist/info-iUmX3uDk.js +0 -32
- package/dist/input-CdQNCPgH.d.ts +0 -8
- package/dist/input.cva-DJA8ovm_.js +0 -208
- package/dist/link.cva-DMTHZiJG.js +0 -12
- package/dist/number-field-CUDbenNV.d.ts +0 -8
- package/dist/number-range-input-DZGrcvjL.d.ts +0 -8
- package/dist/outline.clsx-50W_vNDl.js +0 -6
- package/dist/password-input-fYN20cQO.d.ts +0 -8
- package/dist/query-autocomplete-CfuQeiYG.d.ts +0 -14
- package/dist/query-select-CuT_sE6a.d.ts +0 -15
- package/dist/queryAutocomplete.types-tl3r6iaY.d.ts +0 -27
- package/dist/radio-group-B3ccPf0p.d.ts +0 -9
- package/dist/rhf/autocomplete.d.ts +0 -3
- package/dist/rhf/autocomplete.js +0 -8
- package/dist/rhf/checkbox-group.d.ts +0 -3
- package/dist/rhf/checkbox-group.js +0 -8
- package/dist/rhf/checkbox.d.ts +0 -3
- package/dist/rhf/checkbox.js +0 -8
- package/dist/rhf/date-picker.d.ts +0 -3
- package/dist/rhf/date-picker.js +0 -9
- package/dist/rhf/date-range-picker.d.ts +0 -3
- package/dist/rhf/date-range-picker.js +0 -9
- package/dist/rhf/date-time-picker.d.ts +0 -3
- package/dist/rhf/date-time-picker.js +0 -9
- package/dist/rhf/file-input.d.ts +0 -3
- package/dist/rhf/file-input.js +0 -6
- package/dist/rhf/file-upload.d.ts +0 -3
- package/dist/rhf/file-upload.js +0 -6
- package/dist/rhf/input.d.ts +0 -3
- package/dist/rhf/input.js +0 -6
- package/dist/rhf/inputs.d.ts +0 -4
- package/dist/rhf/inputs.js +0 -2
- package/dist/rhf/number-field.d.ts +0 -3
- package/dist/rhf/number-field.js +0 -6
- package/dist/rhf/number-range-input.d.ts +0 -3
- package/dist/rhf/number-range-input.js +0 -6
- package/dist/rhf/password-input.d.ts +0 -3
- package/dist/rhf/password-input.js +0 -6
- package/dist/rhf/query-autocomplete.d.ts +0 -2
- package/dist/rhf/query-autocomplete.js +0 -8
- package/dist/rhf/query-select.d.ts +0 -2
- package/dist/rhf/query-select.js +0 -8
- package/dist/rhf/radio-group.d.ts +0 -3
- package/dist/rhf/radio-group.js +0 -8
- package/dist/rhf/rich-text-editor.d.ts +0 -3
- package/dist/rhf/rich-text-editor.js +0 -6
- package/dist/rhf/select.d.ts +0 -3
- package/dist/rhf/select.js +0 -8
- package/dist/rhf/slider.d.ts +0 -3
- package/dist/rhf/slider.js +0 -6
- package/dist/rhf/switch.d.ts +0 -3
- package/dist/rhf/switch.js +0 -8
- package/dist/rhf/text-area.d.ts +0 -3
- package/dist/rhf/text-area.js +0 -6
- package/dist/rhf/time-picker.d.ts +0 -3
- package/dist/rhf/time-picker.js +0 -9
- package/dist/rhf/toggle-group.d.ts +0 -3
- package/dist/rhf/toggle-group.js +0 -6
- package/dist/rhf-t348TCCL.js +0 -256
- package/dist/rhf.d.ts +0 -106
- package/dist/rhf.js +0 -112
- package/dist/rich-text-editor-B-Onl7T8.d.ts +0 -8
- package/dist/select-B4a52eWW.d.ts +0 -16
- package/dist/selectDesktop.cva-CHAMxhfO.js +0 -69
- package/dist/slider-dNj9jruO.d.ts +0 -8
- package/dist/style-merge.util-zLimKwt6.d.ts +0 -40
- package/dist/styles/app-canvas.css +0 -740
- package/dist/styles/color-utilities.css +0 -20
- package/dist/styles/configurator.css +0 -3280
- package/dist/switch-C--iWnY8.d.ts +0 -9
- package/dist/switch.cva-CWNzmdRc.d.ts +0 -16
- package/dist/table.cva-D5oQ-QvA.js +0 -101
- package/dist/tanstack/inputs.d.ts +0 -5
- package/dist/tanstack/inputs.js +0 -3
- package/dist/tanstack/query-autocomplete.d.ts +0 -2
- package/dist/tanstack/query-autocomplete.js +0 -2
- package/dist/tanstack/query-select.d.ts +0 -2
- package/dist/tanstack/query-select.js +0 -2
- package/dist/text-area-DQAtpOQp.d.ts +0 -8
- package/dist/theme-model-DtYPxNvH.js +0 -406
- package/dist/theme-model-T1zIdBg8.d.ts +0 -12
- package/dist/time-picker-DoGfbil6.d.ts +0 -9
- package/dist/toggle-group-C1nMDOwz.d.ts +0 -9
- package/dist/toggleGroup.cva-MbpaEBg1.js +0 -35
- package/dist/typography.cva-D1JOEYl-.d.ts +0 -36
- package/dist/typography.cva-iD15k56p.js +0 -51
- package/dist/underline-66hmELxa.js +0 -81
- package/dist/upload-CXU83BJ4.js +0 -30
- package/dist/useFormAutosave-DfuP7drj.js +0 -198
- package/dist/useQueryAutocomplete-CraXvRm_.js +0 -152
- package/dist/useTableColumnConfig-Di0_w80v.js +0 -892
- package/dist/zod.utils-DrrPDT9v.js +0 -24
- package/rulesync.jsonc +0 -11
- package/scripts/generate-rules.mjs +0 -34
- package/src/configurator/README.md +0 -77
- package/dist/{import-BE0r63d8.js → import-D_3dPATF.js} +2 -2
- /package/dist/{queries.utils-CmbhAoHU.js → tanstack-CmbhAoHU.js} +0 -0
package/dist/rhf/text-area.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { t as TextArea$1 } from "../TextArea-D8WkKsGn.js";
|
|
2
|
-
import { n as runtime, t as renderRHFField } from "../fieldAdapter-DjYls12j.js";
|
|
3
|
-
//#region src/entries/rhf/text-area.ts
|
|
4
|
-
const TextArea = (props) => renderRHFField(runtime(TextArea$1), props);
|
|
5
|
-
//#endregion
|
|
6
|
-
export { TextArea };
|
package/dist/rhf/time-picker.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-DjYls12j.js";
|
|
2
|
-
import { t as TimePicker$1 } from "../TimePicker-C4taAOFQ.js";
|
|
3
|
-
import { i as toTime } from "../date.transforms-DLg-eFcE.js";
|
|
4
|
-
//#region src/entries/rhf/time-picker.ts
|
|
5
|
-
const TimePicker = (props) => {
|
|
6
|
-
return renderRHFField(runtime(TimePicker$1), useFireBlurOnChange(props, "dateInput"), "value", toTime);
|
|
7
|
-
};
|
|
8
|
-
//#endregion
|
|
9
|
-
export { TimePicker };
|
package/dist/rhf/toggle-group.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { n as runtime, t as renderRHFField } from "../fieldAdapter-DjYls12j.js";
|
|
2
|
-
import { t as ToggleGroup$1 } from "../ToggleGroup-DOk27fgI.js";
|
|
3
|
-
//#region src/entries/rhf/toggle-group.ts
|
|
4
|
-
const ToggleGroup = (props) => renderRHFField(runtime(ToggleGroup$1), props);
|
|
5
|
-
//#endregion
|
|
6
|
-
export { ToggleGroup };
|
package/dist/rhf-t348TCCL.js
DELETED
|
@@ -1,256 +0,0 @@
|
|
|
1
|
-
import { a as isEqual, o as ObjectUtils } from "./uiConfig.context-BS3r_kTS.js";
|
|
2
|
-
import { useEffect, useRef } from "react";
|
|
3
|
-
import { c } from "react/compiler-runtime";
|
|
4
|
-
import { useForm, useFormState, useWatch } from "react-hook-form";
|
|
5
|
-
import { zodResolver } from "@hookform/resolvers/zod";
|
|
6
|
-
//#region src/rhf/useAutosave.ts
|
|
7
|
-
function isNilOrEqual(left, right) {
|
|
8
|
-
if (ObjectUtils.isNil(left) && ObjectUtils.isNil(right)) return true;
|
|
9
|
-
return isEqual(left, right);
|
|
10
|
-
}
|
|
11
|
-
function diffLeftOnly(left, right, shallowKeys) {
|
|
12
|
-
if (!ObjectUtils.isObject(left) || ObjectUtils.isDate(left) || ObjectUtils.isRegExp(left)) return !isNilOrEqual(left, right) ? left : void 0;
|
|
13
|
-
if (Array.isArray(left)) return !isNilOrEqual(left, right) ? left : void 0;
|
|
14
|
-
const result = Object.entries(left).reduce((acc, [key, value]) => {
|
|
15
|
-
const shallowSubtree = shallowKeys?.[key];
|
|
16
|
-
if (shallowSubtree === true) {
|
|
17
|
-
if (!isNilOrEqual(value, right?.[key])) acc[key] = value;
|
|
18
|
-
return acc;
|
|
19
|
-
}
|
|
20
|
-
const diff = diffLeftOnly(value, right?.[key], shallowSubtree);
|
|
21
|
-
if (diff !== void 0 && (!ObjectUtils.isObject(diff) || !ObjectUtils.isEmpty(diff))) acc[key] = diff;
|
|
22
|
-
return acc;
|
|
23
|
-
}, {});
|
|
24
|
-
return ObjectUtils.isEmpty(result) ? void 0 : result;
|
|
25
|
-
}
|
|
26
|
-
function useAutosave({ form, delay = 500, enabled = true, trigger = "change", onSave, onSaveSuccess }) {
|
|
27
|
-
const timeoutRef = useRef(void 0);
|
|
28
|
-
const previousBlurTriggerFieldsRef = useRef(void 0);
|
|
29
|
-
const { control, reset, handleSubmit } = form;
|
|
30
|
-
const { dirtyFields, touchedFields, defaultValues } = useFormState({ control });
|
|
31
|
-
const formData = useWatch({ control });
|
|
32
|
-
useEffect(() => {
|
|
33
|
-
if (!enabled || Object.keys(dirtyFields).length === 0) return;
|
|
34
|
-
if (trigger === "blur") {
|
|
35
|
-
const blurTriggerFields = JSON.stringify(touchedFields);
|
|
36
|
-
if (Object.keys(touchedFields).length === 0 || previousBlurTriggerFieldsRef.current === blurTriggerFields) return;
|
|
37
|
-
previousBlurTriggerFieldsRef.current = blurTriggerFields;
|
|
38
|
-
}
|
|
39
|
-
if (timeoutRef.current) clearTimeout(timeoutRef.current);
|
|
40
|
-
timeoutRef.current = setTimeout(() => {
|
|
41
|
-
handleSubmit(async (data) => {
|
|
42
|
-
const changedData = diffLeftOnly(Object.entries(dirtyFields).filter(([, value]) => value).reduce((acc, [key]) => {
|
|
43
|
-
acc[key] = data[key];
|
|
44
|
-
return acc;
|
|
45
|
-
}, {}), defaultValues, dirtyFields) ?? {};
|
|
46
|
-
if (Object.keys(changedData).length === 0) return;
|
|
47
|
-
try {
|
|
48
|
-
reset(void 0, { keepValues: true });
|
|
49
|
-
await onSave(changedData);
|
|
50
|
-
onSaveSuccess?.();
|
|
51
|
-
} catch {
|
|
52
|
-
reset(defaultValues);
|
|
53
|
-
}
|
|
54
|
-
})();
|
|
55
|
-
}, delay);
|
|
56
|
-
return () => {
|
|
57
|
-
if (timeoutRef.current) clearTimeout(timeoutRef.current);
|
|
58
|
-
};
|
|
59
|
-
}, [
|
|
60
|
-
defaultValues,
|
|
61
|
-
dirtyFields,
|
|
62
|
-
trigger === "change" ? formData : touchedFields,
|
|
63
|
-
delay,
|
|
64
|
-
onSave,
|
|
65
|
-
handleSubmit,
|
|
66
|
-
enabled,
|
|
67
|
-
reset,
|
|
68
|
-
trigger
|
|
69
|
-
]);
|
|
70
|
-
}
|
|
71
|
-
//#endregion
|
|
72
|
-
//#region src/rhf/useForm.ts
|
|
73
|
-
function useForm$1(t0) {
|
|
74
|
-
const $ = c(12);
|
|
75
|
-
let defaultValues;
|
|
76
|
-
let props;
|
|
77
|
-
let resolver;
|
|
78
|
-
let zodSchema;
|
|
79
|
-
if ($[0] !== t0) {
|
|
80
|
-
({resolver, zodSchema, defaultValues, ...props} = t0);
|
|
81
|
-
$[0] = t0;
|
|
82
|
-
$[1] = defaultValues;
|
|
83
|
-
$[2] = props;
|
|
84
|
-
$[3] = resolver;
|
|
85
|
-
$[4] = zodSchema;
|
|
86
|
-
} else {
|
|
87
|
-
defaultValues = $[1];
|
|
88
|
-
props = $[2];
|
|
89
|
-
resolver = $[3];
|
|
90
|
-
zodSchema = $[4];
|
|
91
|
-
}
|
|
92
|
-
let t1;
|
|
93
|
-
if ($[5] !== resolver || $[6] !== zodSchema) {
|
|
94
|
-
t1 = resolver ?? (zodSchema ? zodResolver(zodSchema) : void 0);
|
|
95
|
-
$[5] = resolver;
|
|
96
|
-
$[6] = zodSchema;
|
|
97
|
-
$[7] = t1;
|
|
98
|
-
} else t1 = $[7];
|
|
99
|
-
const formResolver = t1;
|
|
100
|
-
const t2 = defaultValues;
|
|
101
|
-
let t3;
|
|
102
|
-
if ($[8] !== formResolver || $[9] !== props || $[10] !== t2) {
|
|
103
|
-
t3 = {
|
|
104
|
-
...props,
|
|
105
|
-
resolver: formResolver,
|
|
106
|
-
defaultValues: t2
|
|
107
|
-
};
|
|
108
|
-
$[8] = formResolver;
|
|
109
|
-
$[9] = props;
|
|
110
|
-
$[10] = t2;
|
|
111
|
-
$[11] = t3;
|
|
112
|
-
} else t3 = $[11];
|
|
113
|
-
return useForm(t3);
|
|
114
|
-
}
|
|
115
|
-
//#endregion
|
|
116
|
-
//#region src/rhf/useFormAutosave.ts
|
|
117
|
-
const getResetTimeoutErrorMessage = (resetTimeout) => `Form Reset Timeout (${resetTimeout}ms) - Action Required
|
|
118
|
-
Problem: Form values weren't reset after submission.
|
|
119
|
-
|
|
120
|
-
Likely causes:
|
|
121
|
-
• Missing variables in reset dependency array
|
|
122
|
-
• Reset dependencies not updating after form save
|
|
123
|
-
• Async operations blocking timely reset
|
|
124
|
-
|
|
125
|
-
Solutions:
|
|
126
|
-
1. Ensure reset dependencies include all relevant state variables
|
|
127
|
-
2. Confirm your submission handler updates state properly (check query invalidation)
|
|
128
|
-
3. For slower operations, consider increasing the timeout threshold`;
|
|
129
|
-
function useFormAutosave(t0) {
|
|
130
|
-
const $ = c(32);
|
|
131
|
-
let autosaveDelay;
|
|
132
|
-
let enableAutosave;
|
|
133
|
-
let getResetValues;
|
|
134
|
-
let normalizeAutosaveData;
|
|
135
|
-
let onAutosave;
|
|
136
|
-
let props;
|
|
137
|
-
let resetDeps;
|
|
138
|
-
let t1;
|
|
139
|
-
let t2;
|
|
140
|
-
if ($[0] !== t0) {
|
|
141
|
-
({autosaveDelay, enableAutosave, autosaveOn: t1, normalizeAutosaveData, onAutosave, getResetValues, resetDeps, resetTimeout: t2, ...props} = t0);
|
|
142
|
-
$[0] = t0;
|
|
143
|
-
$[1] = autosaveDelay;
|
|
144
|
-
$[2] = enableAutosave;
|
|
145
|
-
$[3] = getResetValues;
|
|
146
|
-
$[4] = normalizeAutosaveData;
|
|
147
|
-
$[5] = onAutosave;
|
|
148
|
-
$[6] = props;
|
|
149
|
-
$[7] = resetDeps;
|
|
150
|
-
$[8] = t1;
|
|
151
|
-
$[9] = t2;
|
|
152
|
-
} else {
|
|
153
|
-
autosaveDelay = $[1];
|
|
154
|
-
enableAutosave = $[2];
|
|
155
|
-
getResetValues = $[3];
|
|
156
|
-
normalizeAutosaveData = $[4];
|
|
157
|
-
onAutosave = $[5];
|
|
158
|
-
props = $[6];
|
|
159
|
-
resetDeps = $[7];
|
|
160
|
-
t1 = $[8];
|
|
161
|
-
t2 = $[9];
|
|
162
|
-
}
|
|
163
|
-
const autosaveOn = t1 === void 0 ? "change" : t1;
|
|
164
|
-
const resetTimeout = t2 === void 0 ? 5e3 : t2;
|
|
165
|
-
let t3;
|
|
166
|
-
if ($[10] !== getResetValues) {
|
|
167
|
-
t3 = getResetValues();
|
|
168
|
-
$[10] = getResetValues;
|
|
169
|
-
$[11] = t3;
|
|
170
|
-
} else t3 = $[11];
|
|
171
|
-
let t4;
|
|
172
|
-
if ($[12] !== props || $[13] !== t3) {
|
|
173
|
-
t4 = {
|
|
174
|
-
...props,
|
|
175
|
-
defaultValues: t3
|
|
176
|
-
};
|
|
177
|
-
$[12] = props;
|
|
178
|
-
$[13] = t3;
|
|
179
|
-
$[14] = t4;
|
|
180
|
-
} else t4 = $[14];
|
|
181
|
-
const form = useForm$1(t4);
|
|
182
|
-
const shouldResetFormValuesRef = useRef(false);
|
|
183
|
-
const resetFormValuesTimeoutRef = useRef(void 0);
|
|
184
|
-
let t5;
|
|
185
|
-
if ($[15] !== form || $[16] !== getResetValues) {
|
|
186
|
-
t5 = () => {
|
|
187
|
-
const resetValues = getResetValues();
|
|
188
|
-
if (resetValues === void 0) return;
|
|
189
|
-
const resetFormValues = async () => {
|
|
190
|
-
const keepStateOptions = shouldResetFormValuesRef.current ? { keepDirtyValues: true } : void 0;
|
|
191
|
-
shouldResetFormValuesRef.current = false;
|
|
192
|
-
let values = resetValues;
|
|
193
|
-
if (ObjectUtils.isFunction(resetValues)) values = await resetValues();
|
|
194
|
-
form.reset(values, keepStateOptions);
|
|
195
|
-
};
|
|
196
|
-
resetFormValues();
|
|
197
|
-
};
|
|
198
|
-
$[15] = form;
|
|
199
|
-
$[16] = getResetValues;
|
|
200
|
-
$[17] = t5;
|
|
201
|
-
} else t5 = $[17];
|
|
202
|
-
let t6;
|
|
203
|
-
if ($[18] !== resetDeps) {
|
|
204
|
-
t6 = [...resetDeps];
|
|
205
|
-
$[18] = resetDeps;
|
|
206
|
-
$[19] = t6;
|
|
207
|
-
} else t6 = $[19];
|
|
208
|
-
useEffect(t5, t6);
|
|
209
|
-
let t7;
|
|
210
|
-
if ($[20] !== resetTimeout) {
|
|
211
|
-
t7 = () => {
|
|
212
|
-
shouldResetFormValuesRef.current = true;
|
|
213
|
-
if (resetFormValuesTimeoutRef.current) clearTimeout(resetFormValuesTimeoutRef.current);
|
|
214
|
-
resetFormValuesTimeoutRef.current = setTimeout(() => {
|
|
215
|
-
if (shouldResetFormValuesRef.current) throw new Error(getResetTimeoutErrorMessage(resetTimeout));
|
|
216
|
-
}, resetTimeout);
|
|
217
|
-
};
|
|
218
|
-
$[20] = resetTimeout;
|
|
219
|
-
$[21] = t7;
|
|
220
|
-
} else t7 = $[21];
|
|
221
|
-
const onSaveSuccess = t7;
|
|
222
|
-
let t8;
|
|
223
|
-
if ($[22] !== normalizeAutosaveData || $[23] !== onAutosave) {
|
|
224
|
-
t8 = (data) => {
|
|
225
|
-
const normalizedData = normalizeAutosaveData ? normalizeAutosaveData(data) : data;
|
|
226
|
-
if (!normalizedData || ObjectUtils.isEmpty(normalizedData)) return Promise.resolve(void 0);
|
|
227
|
-
return onAutosave(normalizedData);
|
|
228
|
-
};
|
|
229
|
-
$[22] = normalizeAutosaveData;
|
|
230
|
-
$[23] = onAutosave;
|
|
231
|
-
$[24] = t8;
|
|
232
|
-
} else t8 = $[24];
|
|
233
|
-
const onSave = t8;
|
|
234
|
-
let t9;
|
|
235
|
-
if ($[25] !== autosaveDelay || $[26] !== autosaveOn || $[27] !== enableAutosave || $[28] !== form || $[29] !== onSave || $[30] !== onSaveSuccess) {
|
|
236
|
-
t9 = {
|
|
237
|
-
form,
|
|
238
|
-
delay: autosaveDelay,
|
|
239
|
-
enabled: enableAutosave,
|
|
240
|
-
trigger: autosaveOn,
|
|
241
|
-
onSave,
|
|
242
|
-
onSaveSuccess
|
|
243
|
-
};
|
|
244
|
-
$[25] = autosaveDelay;
|
|
245
|
-
$[26] = autosaveOn;
|
|
246
|
-
$[27] = enableAutosave;
|
|
247
|
-
$[28] = form;
|
|
248
|
-
$[29] = onSave;
|
|
249
|
-
$[30] = onSaveSuccess;
|
|
250
|
-
$[31] = t9;
|
|
251
|
-
} else t9 = $[31];
|
|
252
|
-
useAutosave(t9);
|
|
253
|
-
return form;
|
|
254
|
-
}
|
|
255
|
-
//#endregion
|
|
256
|
-
export { useForm$1 as n, useAutosave as r, useFormAutosave as t };
|
package/dist/rhf.d.ts
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { r as compoundMapper, t as CompoundMapper } from "./compoundMapper-CMoX98D2.js";
|
|
2
|
-
import { t as UIOverrides } from "./uiOverrides.context-DEp139He.js";
|
|
3
|
-
import { a as linkDefinition, i as LinkVariantProps, n as LinkNavigationProps, r as LinkProps, t as Link } from "./Link-Ow9H7kNv.js";
|
|
4
|
-
import { n as Breadcrumbs, r as BreadcrumbsProps, t as BreadcrumbItem } from "./Breadcrumbs-CUV6CU8Q.js";
|
|
5
|
-
import { n as typographyDefinition, t as TypographyVariantProps } from "./typography.cva-D1JOEYl-.js";
|
|
6
|
-
import { n as badgeButtonContentDefinition, r as badgeButtonDefinition, t as BadgeButtonVariants } from "./badgeButton.cva-B2bgCQP6.js";
|
|
7
|
-
import { a as buttonIconSizeDefinition, i as buttonDefinition, n as ButtonVariantProps, o as buttonSizeDefinition, r as buttonContentDefinition } from "./button.cva-C7kEhgoA.js";
|
|
8
|
-
import { n as BadgeButtonProps, t as BadgeButton } from "./BadgeButton-Ccgt3oGO.js";
|
|
9
|
-
import { i as ButtonProps, t as Button } from "./Button-D-4qb0IR.js";
|
|
10
|
-
import { n as IconButtonProps, t as IconButton } from "./IconButton-D4thBurp.js";
|
|
11
|
-
import { n as InlineIconButtonProps, t as InlineIconButton } from "./InlineIconButton-BeJCjl-q.js";
|
|
12
|
-
import { t as BottomSheetProps } from "./BottomSheet-DbQuzfAB.js";
|
|
13
|
-
import { a as MenuItemVariantProps, c as dropdownMenuDefinition, d as menuPopoverWrapperDefinition, i as DropdownMenuCvaVariantProps, l as menuItemDefinition, n as DropdownMenuProps, o as MenuPopoverVariantProps, s as MenuPopoverWrapperVariantProps, t as DropdownMenu, u as menuPopoverDefinition } from "./DropdownMenu-JNpYT4-3.js";
|
|
14
|
-
import { n as SplitButtonProps, t as SplitButton } from "./SplitButton-D9ngY1rJ.js";
|
|
15
|
-
import { n as TextButtonProps, t as TextButton } from "./TextButton-XUhV_1s0.js";
|
|
16
|
-
import { n as ToggleButtonProps, t as ToggleButton } from "./ToggleButton-7aP8Jb11.js";
|
|
17
|
-
import { a as checkboxGroupLabelDefinition, i as checkboxDefinition, n as checkboxContentRowDefinition, o as checkboxIconDefinition, r as checkboxContentWrapperDefinition, t as CheckboxVariantProps } from "./checkbox.cva-t1Ox50hy.js";
|
|
18
|
-
import { i as CheckboxProps } from "./Checkbox-DVTWaMKa.js";
|
|
19
|
-
import { n as FormFieldProps, t as FormField } from "./FormField-Byiehm9y.js";
|
|
20
|
-
import { a as inputContentWrapperDefinition, i as inputClearClassDefinition, n as InputVariantProps, o as inputSideDefinition, r as inputBaseDefinition, s as inputSizeDefinition } from "./input.cva-BsHgYa-L.js";
|
|
21
|
-
import { n as CheckboxGroupProps } from "./CheckboxGroup-DGF12cmB.js";
|
|
22
|
-
import { a as fileInputDropZoneDefinition, i as fileInputButtonDefinition } from "./FileInput-C4CE5kuP.js";
|
|
23
|
-
import { a as FileUploadError, i as FileUploadContainerProps, l as FileUploadState, s as FileUploadRequest } from "./fileUpload.types-n5FxK_F-.js";
|
|
24
|
-
import { t as FileUploadContainer } from "./FileUploadContainer-042ztsaL.js";
|
|
25
|
-
import { i as InputProps } from "./Input-DOanwj3l.js";
|
|
26
|
-
import { i as NumberFieldProps } from "./NumberField-Cb9Gf6QJ.js";
|
|
27
|
-
import { i as NumberRangeValue, r as NumberRangeInputProps } from "./NumberRangeInput-BfbJQqzn.js";
|
|
28
|
-
import { r as PasswordInputProps } from "./PasswordInput-CLwFUgl0.js";
|
|
29
|
-
import { r as TextAreaProps } from "./TextArea-l_keyLK7.js";
|
|
30
|
-
import { i as radioDefinition, n as radioContentRowDefinition, r as radioContentWrapperDefinition, t as RadioVariantProps } from "./radio.cva-DN9VQ3Kb.js";
|
|
31
|
-
import { r as RadioGroupProps } from "./RadioGroup-CZg2kIMk.js";
|
|
32
|
-
import { a as SelectAsyncProps, o as SelectBaseProps, s as SelectItem, t as DefaultInitialSelectItem } from "./SelectBase-Omiq2D3M.js";
|
|
33
|
-
import { a as IsRequiredChildrenProperty, i as IsAny, n as HasRequiredProperty, o as IsUnknown, r as IfAny, s as OmitDiscriminatedUnion, t as Function } from "./common-UBFya8WY.js";
|
|
34
|
-
import { n as AutocompleteProps } from "./Autocomplete-BwNHp8fy.js";
|
|
35
|
-
import { r as SelectProps } from "./Select-pHbyJdZJ.js";
|
|
36
|
-
import { r as SliderProps } from "./Slider-EYlGCLWe.js";
|
|
37
|
-
import { n as switchDefinition } from "./switch.cva-CWNzmdRc.js";
|
|
38
|
-
import { r as SwitchProps } from "./Switch-s_EPn0Jz.js";
|
|
39
|
-
import { a as dialogOverlayDefinition, i as dialogMainDefinition, n as DialogProps, r as dialogContentDefinition, t as Dialog } from "./Dialog-CW93T9X1.js";
|
|
40
|
-
import { n as TypographyProps, t as Typography } from "./Typography-XljT9s02.js";
|
|
41
|
-
import { n as AlertDialogProps, t as AlertDialog } from "./AlertDialog-OWTbR4km.js";
|
|
42
|
-
import { t as BottomSheet } from "./BottomSheet.lazy-D9LCEo7s.js";
|
|
43
|
-
import { n as DrawerProps, t as Drawer } from "./Drawer-D1cHiBFO.js";
|
|
44
|
-
import { n as PopoverProps, t as Popover } from "./Popover-BTHPteIh.js";
|
|
45
|
-
import { a as tooltipPointerVerticalDefinition, i as tooltipPointerHorizontalDefinition, n as TooltipProps, o as tooltipTextDefinition, r as tooltipDefinition, t as Tooltip } from "./Tooltip-DHv6vAqW.js";
|
|
46
|
-
import { n as TooltipEllipsisProps, t as TooltipEllipsis } from "./TooltipEllipsis-Di9Dvd4x.js";
|
|
47
|
-
import { t as PaginationList } from "./PaginationList-DMRUGtf8.js";
|
|
48
|
-
import { n as PaginationProps, t as Pagination } from "./Pagination-CwQu5Py8.js";
|
|
49
|
-
import { n as AlertProps, r as alertDefinition, t as Alert } from "./Alert-DfiJbKH0.js";
|
|
50
|
-
import { i as spinnerWrapperDefinition, n as SpinnerProps, r as spinnerDefinition, t as Spinner } from "./Spinner-DbXeDOa2.js";
|
|
51
|
-
import { i as toastDefinition, n as statusIconDefinition$1, r as statusSeparatorDefinition$1, t as ToastVariantProps } from "./toast.cva-By5lvAfr.js";
|
|
52
|
-
import { n as ToastAction, r as ToastProps, t as Toast } from "./Toast-ruXqONDA.js";
|
|
53
|
-
import { n as ToastParams, r as useToast, t as ToastOptions } from "./useToast-yreVCUer.js";
|
|
54
|
-
import { n as BadgeProps, t as Badge } from "./Badge-CBNpj823.js";
|
|
55
|
-
import { i as tagDefinition, n as TagProps, r as TagVariantProps, t as Tag } from "./Tag-AHfV_XSf.js";
|
|
56
|
-
import { i as AccordionProps, n as AccordionItem, r as AccordionItemProps, t as Accordion } from "./Accordion-Cup5eRZz.js";
|
|
57
|
-
import { t as UIConfig } from "./uiConfig.context-DeBX2beU.js";
|
|
58
|
-
import { t as Confirmation } from "./confirmation.context-BOeEVczb.js";
|
|
59
|
-
import { r as DatePickerProps } from "./DatePicker-8xSs_jNd.js";
|
|
60
|
-
import { r as DateRangePickerProps } from "./DateRangePicker-Bfq-yDm7.js";
|
|
61
|
-
import { r as DateTimePickerProps } from "./DateTimePicker-D4lHyf6P.js";
|
|
62
|
-
import { t as DateTimeUtils } from "./date-time.utils-Cu9TVj46.js";
|
|
63
|
-
import { t as DateUtils } from "./date.utils-BoQnMRlF.js";
|
|
64
|
-
import { n as MenuListItemProps, t as MenuItem } from "./MenuItem-DHyqOqln.js";
|
|
65
|
-
import { t as FileUtils } from "./file.utils-Crb-mIHs.js";
|
|
66
|
-
import { i as IconSlotProps, n as IconSlot, r as IconSlotIcon, t as iconSlotDefinition } from "./iconSlot.cva-CnpFzAOR.js";
|
|
67
|
-
import { t as IntlUtils } from "./intl.utils-NaOZUD2G.js";
|
|
68
|
-
import { t as LinkContext } from "./link.context-D5qyz9Rf.js";
|
|
69
|
-
import { t as logger } from "./logger-N35Xhi14.js";
|
|
70
|
-
import { t as uiOutlineClass } from "./outline.clsx-B1hjrX9t.js";
|
|
71
|
-
import { a as progressDefinition, c as progressTrackWrapperDefinition, i as ProgressVariantProps, l as progressValueDefinition, n as ProgressConfig, o as progressFillDefinition, r as ProgressTrackConfig, s as progressTrackDefinition, t as Progress } from "./Progress-CjWOR38H.js";
|
|
72
|
-
import { n as resources, t as ns } from "./i18n-CX1vFM9r.js";
|
|
73
|
-
import { n as ControlledAutocompleteProps, t as Autocomplete } from "./autocomplete-DeERHN8W.js";
|
|
74
|
-
import { n as ControlledCheckboxProps, t as Checkbox } from "./checkbox-DxIPDTK5.js";
|
|
75
|
-
import { n as ControlledCheckboxGroupProps, t as CheckboxGroup } from "./checkbox-group-B3BOVshI.js";
|
|
76
|
-
import { n as DatePicker, t as ControlledDatePickerProps } from "./date-picker-DnxDmlOW.js";
|
|
77
|
-
import { n as DateRangePicker, t as ControlledDateRangePickerProps } from "./date-range-picker-DHDOSvHN.js";
|
|
78
|
-
import { n as DateTimePicker, t as ControlledDateTimePickerProps } from "./date-time-picker-UkTa0OJ8.js";
|
|
79
|
-
import { r as RHFFileUploadProps, t as FileUpload } from "./file-upload-CTsPhxJk.js";
|
|
80
|
-
import { r as RHFFileInputProps, t as FileInput } from "./file-input-DkbkdI7l.js";
|
|
81
|
-
import { n as NumberField, t as ControlledNumberFieldProps } from "./number-field-CUDbenNV.js";
|
|
82
|
-
import { n as NumberRangeInput, t as ControlledNumberRangeInputProps } from "./number-range-input-DZGrcvjL.js";
|
|
83
|
-
import { n as PasswordInput, t as ControlledPasswordInputProps } from "./password-input-fYN20cQO.js";
|
|
84
|
-
import { t as QueryAutocomplete } from "./query-autocomplete-CfuQeiYG.js";
|
|
85
|
-
import { r as RHFQuerySelectProps, t as QuerySelect } from "./query-select-CuT_sE6a.js";
|
|
86
|
-
import { n as RadioGroup, t as ControlledRadioGroupProps } from "./radio-group-B3ccPf0p.js";
|
|
87
|
-
import { c as toggleGroupDefinition, l as toggleGroupItemDefinition, s as ToggleGroupProps } from "./toggleGroup.types-Bp43zbSQ.js";
|
|
88
|
-
import { n as ToggleGroup, t as ControlledToggleGroupProps } from "./toggle-group-C1nMDOwz.js";
|
|
89
|
-
import { n as Select, t as ControlledSelectProps } from "./select-B4a52eWW.js";
|
|
90
|
-
import { n as Slider, t as ControlledSliderProps } from "./slider-dNj9jruO.js";
|
|
91
|
-
import { n as TextArea, t as ControlledTextAreaProps } from "./text-area-DQAtpOQp.js";
|
|
92
|
-
import { n as Input, t as ControlledInputProps } from "./input-CdQNCPgH.js";
|
|
93
|
-
import { r as TimePickerProps } from "./TimePicker-B1POvGWs.js";
|
|
94
|
-
import { n as TimePicker, t as ControlledTimePickerProps } from "./time-picker-DoGfbil6.js";
|
|
95
|
-
import { n as Switch, t as ControlledSwitchProps } from "./switch-C--iWnY8.js";
|
|
96
|
-
import { $ as LabelConfig, A as createKeyInteractionsHandler, At as breadcrumbSegmentDefinition, B as useDeepCompareLayoutEffect, C as useLongPressRepeat, Ct as BreadcrumbIconVariantProps, D as KeyInteractionGroup, Dt as breadcrumbChevronDefinition, E as KeyInteractionCallback, Et as BreadcrumbsVariantProps, F as useFormAutosave, Ft as InputsProps, G as useAutosave, H as useDebounceCallback, I as UseFormProps, J as popoverDefinition, K as statusIconDefinition, L as UseFormResolverProps, M as useKeyInteractions, Mt as Form, N as useIntersectionObserver, Nt as InputDef, O as KeyInteractions, Ot as breadcrumbIconDefinition, P as UseFormAutosaveProps, Pt as Inputs, Q as LabelBaseProps, R as useForm, S as useScrollableListBox, St as BreadcrumbChevronVariantProps, T as KeyInteractionAction, Tt as BreadcrumbSegmentVariantProps, U as useBreakpoint, V as useDeepCompareMemo, W as UseAutosaveProps, X as selectInputTagsContentWrapperDefinition, Y as selectListBoxItemDefinition, Z as selectPopoverDefinition, _ as ObjectUtils, _t as accordionTriggerDefinition, a as DynamicInputsObjectSchema, at as fileUploadDropZoneDefinition, b as ArrayUtils, bt as TooltipWrapperTriggerVariantProps, ct as accordionChevronDefinition, dt as accordionHeadingSubtitleDefinition, et as labelDefinition, ft as accordionHeadingTitleDefinition, g as QueriesUtils, gt as accordionPanelDefinition, h as RoutingUtils, ht as accordionPanelContentDefinition, it as formFieldHeaderDefinition, j as getKeyInteractionAction, jt as breadcrumbsDefinition, k as UseKeyInteractionsResult, kt as breadcrumbItemDefinition, lt as accordionDefinition, m as ZodUtils, mt as accordionItemDefinition, n as dynamicInputs, nt as formFieldHelperDefinition, ot as datePickerInputContentRowDefinition, p as CloseIcon, pt as accordionIconDefinition, q as statusSeparatorDefinition, rt as formFieldErrorDefinition, st as AccordionVariantProps, t as DynamicInputsOptions, tt as textAreaWrapperDefinition, ut as accordionHeadingDefinition, v as isEqual, vt as MenuPopover, w as KeyInteraction, wt as BreadcrumbItemVariantProps, x as useStateAndRef, xt as tooltipWrapperTriggerDefinition, y as DomUtils, yt as MenuPopoverProps, z as useDeepCompareEffect } from "./dynamicInputs-ByVMnx4Z.js";
|
|
97
|
-
import { a as stepperDefinition, c as stepperNumberDefinition, d as stepperTitleDefinition, i as StepperVariantProps, l as stepperSeparatorDefinition, n as StepItem, o as stepperIconDefinition, r as StepperProps, s as stepperItemDefinition, t as Stepper, u as stepperSubtextDefinition } from "./Stepper-TATlHZhQ.js";
|
|
98
|
-
import { n as ToastProvider, t as ToastContainer } from "./ToastContainer-1H_IxvyH.js";
|
|
99
|
-
import { C as HeaderText, D as CellText, E as ColumnConfigModalProps, O as CellTextProps, S as tableRowDefinition, T as ColumnConfigModal, _ as tableCellTextDefinition, a as DynamicColumnsOptions, b as tableHeadRowDefinition, c as PaginatedTableProps, d as InfiniteTableProps, f as InfiniteTableWrapperProps, g as TableRowVariantProps, h as TableWrapperProps, i as usePagination, l as PaginatedTableWrapperProps, m as TableProps, n as useTableColumnConfig, o as dynamicColumns, p as Table, r as useSorting, s as PaginatedTable, t as useTableNav, u as InfiniteTable, v as tableDataDefinition, w as HeaderTextProps, x as tableHeaderTextDefinition, y as tableHeadDataDefinition } from "./useTableNav-Ckj5PBRk.js";
|
|
100
|
-
import { t as UIRouter } from "./router.context-CtafjXV7.js";
|
|
101
|
-
import { t as ThemeContext } from "./theme.context-DfBt5Pz6.js";
|
|
102
|
-
import { n as useFilters, t as FilterStore } from "./useFilters-BxRScJdn.js";
|
|
103
|
-
import { t as useLocalStorage } from "./useLocalStorage-DGsBUCT6.js";
|
|
104
|
-
import { t as useTranslationMemo } from "./useTranslationMemo-Dy3p6m1g.js";
|
|
105
|
-
import { t as StringUtils } from "./string.utils-Cj6AB7uZ.js";
|
|
106
|
-
export { Accordion, type AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionVariantProps, Alert, AlertDialog, type AlertDialogProps, type AlertProps, ArrayUtils, Autocomplete, type AutocompleteProps, Badge, BadgeButton, type BadgeButtonProps, type BadgeButtonVariants, type BadgeProps, BottomSheet, type BottomSheetProps, type BreadcrumbChevronVariantProps, type BreadcrumbIconVariantProps, type BreadcrumbItem, type BreadcrumbItemVariantProps, type BreadcrumbSegmentVariantProps, Breadcrumbs, type BreadcrumbsProps, type BreadcrumbsVariantProps, Button, type ButtonProps, type ButtonVariantProps, CellText, type CellTextProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type CheckboxVariantProps, CloseIcon, ColumnConfigModal, type ColumnConfigModalProps, type CompoundMapper, Confirmation, type ControlledAutocompleteProps, type ControlledCheckboxGroupProps, type ControlledCheckboxProps, type ControlledDatePickerProps, type ControlledDateRangePickerProps, type ControlledDateTimePickerProps, type ControlledInputProps, type ControlledNumberFieldProps, type ControlledNumberRangeInputProps, type ControlledPasswordInputProps, type ControlledRadioGroupProps, type ControlledSelectProps, type ControlledSliderProps, type ControlledSwitchProps, type ControlledTextAreaProps, type ControlledTimePickerProps, type ControlledToggleGroupProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, DateTimeUtils, DateUtils, type DefaultInitialSelectItem, Dialog, type DialogProps, DomUtils, Drawer, type DrawerProps, DropdownMenu, type DropdownMenuCvaVariantProps, type DropdownMenuProps, type DynamicColumnsOptions, type DynamicInputsObjectSchema, type DynamicInputsOptions, FileInput, type RHFFileInputProps as FileInputProps, FileUpload, FileUploadContainer, type FileUploadContainerProps, type FileUploadError, type RHFFileUploadProps as FileUploadProps, type FileUploadRequest, type FileUploadState, FileUtils, type FilterStore, Form, FormField, type FormFieldProps, type Function, type HasRequiredProperty, HeaderText, type HeaderTextProps, IconButton, type IconButtonProps, IconSlot, type IconSlotIcon, type IconSlotProps, type IfAny, InfiniteTable, type InfiniteTableProps, type InfiniteTableWrapperProps, InlineIconButton, type InlineIconButtonProps, Input, type InputDef, type InputProps, type InputVariantProps, Inputs, type InputsProps, IntlUtils, type IsAny, type IsRequiredChildrenProperty, type IsUnknown, type KeyInteraction, type KeyInteractionAction, type KeyInteractionCallback, type KeyInteractionGroup, type KeyInteractions, type LabelBaseProps, type LabelConfig, Link, LinkContext, type LinkNavigationProps, type LinkProps, type LinkVariantProps, MenuItem, type MenuItemVariantProps, type MenuListItemProps, MenuPopover, type MenuPopoverProps, type MenuPopoverVariantProps, type MenuPopoverWrapperVariantProps, NumberField, type NumberFieldProps, NumberRangeInput, type NumberRangeInputProps, type NumberRangeValue, ObjectUtils, type OmitDiscriminatedUnion, PaginatedTable, type PaginatedTableProps, type PaginatedTableWrapperProps, Pagination, PaginationList, type PaginationProps, PasswordInput, type PasswordInputProps, Popover, type PopoverProps, Progress, type ProgressConfig, type ProgressTrackConfig, type ProgressVariantProps, QueriesUtils, QueryAutocomplete, QuerySelect, type RHFQuerySelectProps as QuerySelectProps, RadioGroup, type RadioGroupProps, type RadioVariantProps, RoutingUtils, Select, type SelectAsyncProps, type SelectBaseProps, type SelectItem, type SelectProps, Slider, type SliderProps, Spinner, type SpinnerProps, SplitButton, type SplitButtonProps, type StepItem, Stepper, type StepperProps, type StepperVariantProps, StringUtils, Switch, type SwitchProps, Table, type TableProps, type TableRowVariantProps, type TableWrapperProps, Tag, type TagProps, type TagVariantProps, TextArea, type TextAreaProps, TextButton, type TextButtonProps, ThemeContext, TimePicker, type TimePickerProps, Toast, type ToastAction, ToastContainer, type ToastOptions, type ToastParams, type ToastProps, ToastProvider, type ToastVariantProps, ToggleButton, type ToggleButtonProps, ToggleGroup, type ToggleGroupProps, Tooltip, TooltipEllipsis, type TooltipEllipsisProps, type TooltipProps, type TooltipWrapperTriggerVariantProps, Typography, type TypographyProps, type TypographyVariantProps, UIConfig, UIOverrides, UIRouter, type UseAutosaveProps, type UseFormAutosaveProps, type UseFormProps, type UseFormResolverProps, type UseKeyInteractionsResult, ZodUtils, accordionChevronDefinition, accordionDefinition, accordionHeadingDefinition, accordionHeadingSubtitleDefinition, accordionHeadingTitleDefinition, accordionIconDefinition, accordionItemDefinition, accordionPanelContentDefinition, accordionPanelDefinition, accordionTriggerDefinition, alertDefinition, badgeButtonContentDefinition, badgeButtonDefinition, breadcrumbChevronDefinition, breadcrumbIconDefinition, breadcrumbItemDefinition, breadcrumbSegmentDefinition, breadcrumbsDefinition, buttonContentDefinition, buttonDefinition, buttonIconSizeDefinition, buttonSizeDefinition, checkboxContentRowDefinition, checkboxContentWrapperDefinition, checkboxDefinition, checkboxGroupLabelDefinition, checkboxIconDefinition, compoundMapper, createKeyInteractionsHandler, datePickerInputContentRowDefinition, dialogContentDefinition, dialogMainDefinition, dialogOverlayDefinition, dropdownMenuDefinition, dynamicColumns, dynamicInputs, fileInputButtonDefinition, fileInputDropZoneDefinition, fileUploadDropZoneDefinition, formFieldErrorDefinition, formFieldHeaderDefinition, formFieldHelperDefinition, getKeyInteractionAction, iconSlotDefinition, inputBaseDefinition, inputClearClassDefinition, inputContentWrapperDefinition, inputSideDefinition, inputSizeDefinition, isEqual, labelDefinition, linkDefinition, logger, menuItemDefinition, menuPopoverDefinition, menuPopoverWrapperDefinition, ns, popoverDefinition, progressDefinition, progressFillDefinition, progressTrackDefinition, progressTrackWrapperDefinition, progressValueDefinition, radioContentRowDefinition, radioContentWrapperDefinition, radioDefinition, resources, selectInputTagsContentWrapperDefinition, selectListBoxItemDefinition, selectPopoverDefinition, spinnerDefinition, spinnerWrapperDefinition, statusIconDefinition, statusSeparatorDefinition, stepperDefinition, stepperIconDefinition, stepperItemDefinition, stepperNumberDefinition, stepperSeparatorDefinition, stepperSubtextDefinition, stepperTitleDefinition, switchDefinition, tableCellTextDefinition, tableDataDefinition, tableHeadDataDefinition, tableHeadRowDefinition, tableHeaderTextDefinition, tableRowDefinition, tagDefinition, textAreaWrapperDefinition, toastDefinition, statusIconDefinition$1 as toastStatusIconDefinition, statusSeparatorDefinition$1 as toastStatusSeparatorDefinition, toggleGroupDefinition, toggleGroupItemDefinition, tooltipDefinition, tooltipPointerHorizontalDefinition, tooltipPointerVerticalDefinition, tooltipTextDefinition, tooltipWrapperTriggerDefinition, typographyDefinition, uiOutlineClass, useAutosave, useBreakpoint, useDebounceCallback, useDeepCompareEffect, useDeepCompareLayoutEffect, useDeepCompareMemo, useFilters, useForm, useFormAutosave, useIntersectionObserver, useKeyInteractions, useLocalStorage, useLongPressRepeat, usePagination, useScrollableListBox, useSorting, useStateAndRef, useTableColumnConfig, useTableNav, useToast, useTranslationMemo };
|
package/dist/rhf.js
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { t as logger } from "./logger-CqZjM-sn.js";
|
|
2
|
-
import { t as DropdownMenu } from "./DropdownMenu-5jmtgLXd.js";
|
|
3
|
-
import { n as MenuPopover, r as MenuItem } from "./DropdownMenuDesktop-Cl9gZVq0.js";
|
|
4
|
-
import { a as isEqual, i as useDeepCompareMemo, n as useDeepCompareEffect, o as ObjectUtils, r as useDeepCompareLayoutEffect, t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
|
|
5
|
-
import { a as tableHeaderTextDefinition, i as tableHeadRowDefinition, n as tableDataDefinition, o as tableRowDefinition, r as tableHeadDataDefinition, t as tableCellTextDefinition } from "./table.cva-D5oQ-QvA.js";
|
|
6
|
-
import { a as checkboxDefinition, i as checkboxContentWrapperDefinition, o as checkboxGroupLabelDefinition, r as checkboxContentRowDefinition, s as checkboxIconDefinition } from "./CheckboxCheckmark-CpC3wlMs.js";
|
|
7
|
-
import { n as selectListBoxItemDefinition, r as selectInputTagsContentWrapperDefinition, t as selectPopoverDefinition } from "./selectDesktop.cva-CHAMxhfO.js";
|
|
8
|
-
import { t as X } from "./x-B6vfz8Ps.js";
|
|
9
|
-
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
10
|
-
import { n as iconSlotDefinition, t as IconSlot } from "./IconSlot-DSK7qNxc.js";
|
|
11
|
-
import { t as Breadcrumbs } from "./Breadcrumbs-FF8hMfXd.js";
|
|
12
|
-
import { a as getKeyInteractionAction, i as createKeyInteractionsHandler, o as useKeyInteractions, s as useDebounceCallback } from "./staticSelect.utils-uHa8f_c6.js";
|
|
13
|
-
import { t as Accordion } from "./Accordion-BzwO4_ml.js";
|
|
14
|
-
import { i as radioDefinition, n as radioContentRowDefinition, r as radioContentWrapperDefinition } from "./RadioGroup-DOw3PRoX.js";
|
|
15
|
-
import { n as switchDefinition } from "./Switch-CqnGEdeD.js";
|
|
16
|
-
import { n as textAreaWrapperDefinition } from "./TextArea-D8WkKsGn.js";
|
|
17
|
-
import { t as Tooltip } from "./Tooltip-CpG1nz7Y.js";
|
|
18
|
-
import { a as breadcrumbsDefinition, i as breadcrumbSegmentDefinition, n as breadcrumbIconDefinition, r as breadcrumbItemDefinition, t as breadcrumbChevronDefinition } from "./breadcrumbs.cva-7zzdDhVR.js";
|
|
19
|
-
import { i as menuPopoverWrapperDefinition, n as menuItemDefinition, r as menuPopoverDefinition, t as dropdownMenuDefinition } from "./dropdownMenu.cva-DvEmX0bs.js";
|
|
20
|
-
import { i as tooltipTextDefinition, n as tooltipPointerHorizontalDefinition, r as tooltipPointerVerticalDefinition, t as tooltipDefinition } from "./tooltip.cva-BIzlOXHH.js";
|
|
21
|
-
import { t as typographyDefinition } from "./typography.cva-iD15k56p.js";
|
|
22
|
-
import { t as Typography } from "./Typography-LU4z2pR1.js";
|
|
23
|
-
import { t as LinkContext } from "./link.context-J7aQtMOr.js";
|
|
24
|
-
import { n as spinnerDefinition, r as spinnerWrapperDefinition, t as Spinner } from "./Spinner-BeVTUzzx.js";
|
|
25
|
-
import { n as uiOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
26
|
-
import { t as compoundMapper } from "./compoundMapper-Di3SKZnS.js";
|
|
27
|
-
import { a as buttonSizeDefinition, i as buttonIconSizeDefinition, n as buttonContentDefinition, r as buttonDefinition, t as Button } from "./Button-C5rv4Cr2.js";
|
|
28
|
-
import { IconButton } from "./components/icon-button.js";
|
|
29
|
-
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
30
|
-
import { n as badgeButtonContentDefinition, r as badgeButtonDefinition } from "./badgeButton.cva-CvN4CTx5.js";
|
|
31
|
-
import { BadgeButton } from "./components/badge-button.js";
|
|
32
|
-
import { BottomSheet } from "./components/bottom-sheet.js";
|
|
33
|
-
import { t as useBreakpoint } from "./useBreakpoint-DQoMN-BG.js";
|
|
34
|
-
import { SplitButton } from "./components/split-button.js";
|
|
35
|
-
import { TextButton } from "./components/text-button.js";
|
|
36
|
-
import { ToggleButton } from "./components/toggle-button.js";
|
|
37
|
-
import { n as formFieldErrorDefinition } from "./FormFieldError-DeOHHLo2.js";
|
|
38
|
-
import { a as formFieldHeaderDefinition, i as labelDefinition, n as formFieldHelperDefinition, t as FormField } from "./FormField-B99dLt8o.js";
|
|
39
|
-
import { n as tagDefinition, t as Tag } from "./Tag-DPg5sL1Z.js";
|
|
40
|
-
import { n as resources, t as ns } from "./i18n-CX2EjhJI.js";
|
|
41
|
-
import { a as inputSizeDefinition, i as inputSideDefinition, n as inputClearClassDefinition, r as inputContentWrapperDefinition, t as inputBaseDefinition } from "./input.cva-DJA8ovm_.js";
|
|
42
|
-
import { t as useIntersectionObserver } from "./useIntersectionObserver-DYfHnGGU.js";
|
|
43
|
-
import { t as popoverDefinition } from "./popover.cva-Bhud1wnp.js";
|
|
44
|
-
import { Autocomplete } from "./rhf/autocomplete.js";
|
|
45
|
-
import { Checkbox } from "./rhf/checkbox.js";
|
|
46
|
-
import { CheckboxGroup } from "./rhf/checkbox-group.js";
|
|
47
|
-
import { n as useScrollableListBox } from "./Calendar-BTjajO6i.js";
|
|
48
|
-
import { r as useLongPressRepeat } from "./datePickerValue.utils-DCgoSrP3.js";
|
|
49
|
-
import { t as IntlUtils } from "./intl.utils-zwAFoZ0U.js";
|
|
50
|
-
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
51
|
-
import { t as DateUtils } from "./date.utils-B8_QF9y6.js";
|
|
52
|
-
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-Cd7UUN61.js";
|
|
53
|
-
import { DatePicker } from "./rhf/date-picker.js";
|
|
54
|
-
import { DateRangePicker } from "./rhf/date-range-picker.js";
|
|
55
|
-
import { DateTimePicker } from "./rhf/date-time-picker.js";
|
|
56
|
-
import { t as FileUtils } from "./file.utils-DqQxnuAm.js";
|
|
57
|
-
import { a as progressTrackWrapperDefinition, i as progressTrackDefinition, n as progressDefinition, o as progressValueDefinition, r as progressFillDefinition, t as Progress } from "./Progress-B3mY9rIP.js";
|
|
58
|
-
import { t as fileUploadDropZoneDefinition } from "./fileUpload.cva-ujmStxB1.js";
|
|
59
|
-
import { FileUpload } from "./rhf/file-upload.js";
|
|
60
|
-
import { n as fileInputButtonDefinition, r as fileInputDropZoneDefinition } from "./FileInput-Br5DQaGQ.js";
|
|
61
|
-
import { FileInput } from "./rhf/file-input.js";
|
|
62
|
-
import { NumberField } from "./rhf/number-field.js";
|
|
63
|
-
import { NumberRangeInput } from "./rhf/number-range-input.js";
|
|
64
|
-
import { PasswordInput } from "./rhf/password-input.js";
|
|
65
|
-
import { QueryAutocomplete } from "./rhf/query-autocomplete.js";
|
|
66
|
-
import { QuerySelect } from "./rhf/query-select.js";
|
|
67
|
-
import { RadioGroup } from "./rhf/radio-group.js";
|
|
68
|
-
import { n as toggleGroupItemDefinition, t as toggleGroupDefinition } from "./toggleGroup.cva-MbpaEBg1.js";
|
|
69
|
-
import { ToggleGroup } from "./rhf/toggle-group.js";
|
|
70
|
-
import { Select } from "./rhf/select.js";
|
|
71
|
-
import { Slider } from "./rhf/slider.js";
|
|
72
|
-
import { TextArea } from "./rhf/text-area.js";
|
|
73
|
-
import { Popover } from "./components/popover.js";
|
|
74
|
-
import { Input } from "./rhf/input.js";
|
|
75
|
-
import { TimePicker } from "./rhf/time-picker.js";
|
|
76
|
-
import { Switch } from "./rhf/switch.js";
|
|
77
|
-
import { FileUploadContainer } from "./components/file-upload-container.js";
|
|
78
|
-
import { t as StringUtils } from "./string.utils-BPgv6QwA.js";
|
|
79
|
-
import { t as ZodUtils } from "./zod.utils-DrrPDT9v.js";
|
|
80
|
-
import { n as Form, r as Inputs, t as dynamicInputs } from "./dynamicInputs-m_DQu5q0.js";
|
|
81
|
-
import { a as accordionHeadingTitleDefinition, c as accordionPanelContentDefinition, i as accordionHeadingSubtitleDefinition, l as accordionPanelDefinition, n as accordionDefinition, o as accordionIconDefinition, r as accordionHeadingDefinition, s as accordionItemDefinition, t as accordionChevronDefinition, u as accordionTriggerDefinition } from "./accordion.cva-CL1bVscW.js";
|
|
82
|
-
import { a as stepperSeparatorDefinition, i as stepperNumberDefinition, n as stepperIconDefinition, o as stepperSubtextDefinition, r as stepperItemDefinition, s as stepperTitleDefinition, t as stepperDefinition } from "./stepper.cva-CZ0Kj-s7.js";
|
|
83
|
-
import { t as Stepper } from "./Stepper-Cp5vbL5g.js";
|
|
84
|
-
import { i as dialogOverlayDefinition, n as dialogMainDefinition, t as dialogContentDefinition } from "./dialog.cva-COhDZaVl.js";
|
|
85
|
-
import { t as Dialog } from "./Dialog-9manOgMA.js";
|
|
86
|
-
import { AlertDialog } from "./components/alert-dialog.js";
|
|
87
|
-
import { Drawer } from "./components/drawer.js";
|
|
88
|
-
import { TooltipEllipsis } from "./components/tooltip-ellipsis.js";
|
|
89
|
-
import { t as PaginationList } from "./PaginationList-DtvuP63b.js";
|
|
90
|
-
import { Pagination } from "./components/pagination.js";
|
|
91
|
-
import { i as alertDefinition, n as statusIconDefinition, r as statusSeparatorDefinition, t as Alert } from "./Alert-CnvEb1D_.js";
|
|
92
|
-
import { a as toastDefinition, n as statusIconDefinition$1, r as statusSeparatorDefinition$1 } from "./toast.cva-C_L_RffH.js";
|
|
93
|
-
import { t as Toast } from "./Toast-DtG3pA61.js";
|
|
94
|
-
import { n as ToastProvider, t as ToastContainer } from "./ToastContainer-qgpzMFD4.js";
|
|
95
|
-
import { useToast } from "./components/use-toast.js";
|
|
96
|
-
import { i as CellText, n as useTableNav, r as HeaderText, t as Table } from "./Table-BN2_J_Ne.js";
|
|
97
|
-
import { t as useTranslationMemo } from "./useTranslationMemo-CrZbeyBv.js";
|
|
98
|
-
import { a as PaginatedTable, i as dynamicColumns, n as useSorting, o as InfiniteTable, r as usePagination, s as ColumnConfigModal, t as useTableColumnConfig } from "./useTableColumnConfig-Di0_w80v.js";
|
|
99
|
-
import { t as linkDefinition } from "./link.cva-DMTHZiJG.js";
|
|
100
|
-
import { Link } from "./components/link.js";
|
|
101
|
-
import { Badge } from "./components/badge.js";
|
|
102
|
-
import { t as Confirmation } from "./confirmation.context-BuzgCfYl.js";
|
|
103
|
-
import { t as UIRouter } from "./router.context-B4FvsTim.js";
|
|
104
|
-
import { t as useLocalStorage } from "./useLocalStorage-PlcaJ1tP.js";
|
|
105
|
-
import { t as ThemeContext } from "./theme.context-B3wQDJ-i.js";
|
|
106
|
-
import { t as tooltipWrapperTriggerDefinition } from "./tooltipWrapper.cva-BBQ4ic3D.js";
|
|
107
|
-
import { n as useForm, r as useAutosave, t as useFormAutosave } from "./rhf-t348TCCL.js";
|
|
108
|
-
import { t as RoutingUtils } from "./routing.utils-UTQonIhB.js";
|
|
109
|
-
import { t as useFilters } from "./useFilters-XNH27Md2.js";
|
|
110
|
-
import { n as useStateAndRef, t as DomUtils } from "./dom.utils-D1AopHx9.js";
|
|
111
|
-
import { n as ArrayUtils, t as QueriesUtils } from "./queries.utils-CmbhAoHU.js";
|
|
112
|
-
export { Accordion, Alert, AlertDialog, ArrayUtils, Autocomplete, Badge, BadgeButton, BottomSheet, Breadcrumbs, Button, CellText, Checkbox, CheckboxGroup, X as CloseIcon, ColumnConfigModal, Confirmation, DatePicker, DateRangePicker, DateTimePicker, DateTimeUtils, DateUtils, Dialog, DomUtils, Drawer, DropdownMenu, FileInput, FileUpload, FileUploadContainer, FileUtils, Form, FormField, HeaderText, IconButton, IconSlot, InfiniteTable, InlineIconButton, Input, Inputs, IntlUtils, Link, LinkContext, MenuItem, MenuPopover, NumberField, NumberRangeInput, ObjectUtils, PaginatedTable, Pagination, PaginationList, PasswordInput, Popover, Progress, QueriesUtils, QueryAutocomplete, QuerySelect, RadioGroup, RoutingUtils, Select, Slider, Spinner, SplitButton, Stepper, StringUtils, Switch, Table, Tag, TextArea, TextButton, ThemeContext, TimePicker, Toast, ToastContainer, ToastProvider, ToggleButton, ToggleGroup, Tooltip, TooltipEllipsis, Typography, UIConfig, UIOverrides, UIRouter, ZodUtils, accordionChevronDefinition, accordionDefinition, accordionHeadingDefinition, accordionHeadingSubtitleDefinition, accordionHeadingTitleDefinition, accordionIconDefinition, accordionItemDefinition, accordionPanelContentDefinition, accordionPanelDefinition, accordionTriggerDefinition, alertDefinition, badgeButtonContentDefinition, badgeButtonDefinition, breadcrumbChevronDefinition, breadcrumbIconDefinition, breadcrumbItemDefinition, breadcrumbSegmentDefinition, breadcrumbsDefinition, buttonContentDefinition, buttonDefinition, buttonIconSizeDefinition, buttonSizeDefinition, checkboxContentRowDefinition, checkboxContentWrapperDefinition, checkboxDefinition, checkboxGroupLabelDefinition, checkboxIconDefinition, compoundMapper, createKeyInteractionsHandler, datePickerInputContentRowDefinition, dialogContentDefinition, dialogMainDefinition, dialogOverlayDefinition, dropdownMenuDefinition, dynamicColumns, dynamicInputs, fileInputButtonDefinition, fileInputDropZoneDefinition, fileUploadDropZoneDefinition, formFieldErrorDefinition, formFieldHeaderDefinition, formFieldHelperDefinition, getKeyInteractionAction, iconSlotDefinition, inputBaseDefinition, inputClearClassDefinition, inputContentWrapperDefinition, inputSideDefinition, inputSizeDefinition, isEqual, labelDefinition, linkDefinition, logger, menuItemDefinition, menuPopoverDefinition, menuPopoverWrapperDefinition, ns, popoverDefinition, progressDefinition, progressFillDefinition, progressTrackDefinition, progressTrackWrapperDefinition, progressValueDefinition, radioContentRowDefinition, radioContentWrapperDefinition, radioDefinition, resources, selectInputTagsContentWrapperDefinition, selectListBoxItemDefinition, selectPopoverDefinition, spinnerDefinition, spinnerWrapperDefinition, statusIconDefinition, statusSeparatorDefinition, stepperDefinition, stepperIconDefinition, stepperItemDefinition, stepperNumberDefinition, stepperSeparatorDefinition, stepperSubtextDefinition, stepperTitleDefinition, switchDefinition, tableCellTextDefinition, tableDataDefinition, tableHeadDataDefinition, tableHeadRowDefinition, tableHeaderTextDefinition, tableRowDefinition, tagDefinition, textAreaWrapperDefinition, toastDefinition, statusIconDefinition$1 as toastStatusIconDefinition, statusSeparatorDefinition$1 as toastStatusSeparatorDefinition, toggleGroupDefinition, toggleGroupItemDefinition, tooltipDefinition, tooltipPointerHorizontalDefinition, tooltipPointerVerticalDefinition, tooltipTextDefinition, tooltipWrapperTriggerDefinition, typographyDefinition, uiOutlineClass, useAutosave, useBreakpoint, useDebounceCallback, useDeepCompareEffect, useDeepCompareLayoutEffect, useDeepCompareMemo, useFilters, useForm, useFormAutosave, useIntersectionObserver, useKeyInteractions, useLocalStorage, useLongPressRepeat, usePagination, useScrollableListBox, useSorting, useStateAndRef, useTableColumnConfig, useTableNav, useToast, useTranslationMemo };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
2
|
-
import { r as RichTextEditorProps } from "./RichTextEditor-YxuRUlI7.js";
|
|
3
|
-
import { FieldValues } from "react-hook-form";
|
|
4
|
-
//#region src/entries/rhf/rich-text-editor.d.ts
|
|
5
|
-
type ControlledRichTextEditorProps<T extends FieldValues> = ControlProps<RichTextEditorProps, T>;
|
|
6
|
-
declare const RichTextEditor: <T extends FieldValues>(props: ControlledRichTextEditorProps<T>) => import("react").ReactNode;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { RichTextEditor as n, ControlledRichTextEditorProps as t };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { c as SingleSelectProps, i as MultiSelectProps, r as GroupedSelectProps, t as DefaultInitialSelectItem } from "./SelectBase-Omiq2D3M.js";
|
|
2
|
-
import { r as SelectProps } from "./Select-pHbyJdZJ.js";
|
|
3
|
-
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
4
|
-
import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
|
|
5
|
-
import { Key } from "react-aria-components";
|
|
6
|
-
import { FieldValues } from "react-hook-form";
|
|
7
|
-
//#region src/entries/rhf/select.d.ts
|
|
8
|
-
type SelectionProps<T extends FieldValues, P, K extends Key, I> = ({
|
|
9
|
-
selectionMode: MultiSelectProps["selectionMode"];
|
|
10
|
-
} & ControlProps<Omit<P, keyof GroupedSelectProps> & MultiSelectProps<K, I>, T>) | ({
|
|
11
|
-
selectionMode?: SingleSelectProps["selectionMode"];
|
|
12
|
-
} & ControlProps<Omit<P, keyof GroupedSelectProps> & SingleSelectProps<K, I>, T>);
|
|
13
|
-
type ControlledSelectProps<T extends FieldValues, K extends Key = Key, I = DefaultInitialSelectItem<K>> = SelectionProps<T, SelectProps<K, I> & FireBlurOnChangeProps, K, I>;
|
|
14
|
-
declare const Select: <T extends FieldValues, K extends Key = Key, I = DefaultInitialSelectItem<K>>(props: ControlledSelectProps<T, K, I>) => import("react").ReactNode;
|
|
15
|
-
//#endregion
|
|
16
|
-
export { Select as n, ControlledSelectProps as t };
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
|
|
2
|
-
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
3
|
-
//#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/search.mjs
|
|
4
|
-
/**
|
|
5
|
-
* @license lucide-react v1.43.0 - ISC
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the ISC license.
|
|
8
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/
|
|
10
|
-
const __iconData = {
|
|
11
|
-
name: "search",
|
|
12
|
-
size: 24,
|
|
13
|
-
node: [["path", {
|
|
14
|
-
d: "m21 21-4.34-4.34",
|
|
15
|
-
key: "14j7rj"
|
|
16
|
-
}], ["circle", {
|
|
17
|
-
cx: "11",
|
|
18
|
-
cy: "11",
|
|
19
|
-
r: "8",
|
|
20
|
-
key: "4ej97u"
|
|
21
|
-
}]]
|
|
22
|
-
};
|
|
23
|
-
__iconData.node;
|
|
24
|
-
const Search = createLucideIcon(__iconData);
|
|
25
|
-
//#endregion
|
|
26
|
-
//#region src/components/inputs/Selection/shared/selectInput.cva.ts
|
|
27
|
-
const selectInputTagsContentWrapperDefinition = UIOverrides.defineConfig({
|
|
28
|
-
base: ["flex flex-1 flex-wrap gap-input-gap-input-text-to-elements truncate"],
|
|
29
|
-
config: { variants: { isSearchable: { false: "pointer-events-none z-raised" } } }
|
|
30
|
-
});
|
|
31
|
-
//#endregion
|
|
32
|
-
//#region src/components/inputs/Selection/shared/selectItem.cva.ts
|
|
33
|
-
const selectListBoxItemDefinition = UIOverrides.defineConfig({
|
|
34
|
-
base: [
|
|
35
|
-
"group flex cursor-pointer items-center gap-2 px-list-side-item-left py-list-height-item",
|
|
36
|
-
"border-b border-b-border-default-subtle outline-none bg-support-transparent-outline",
|
|
37
|
-
"font-body font-normal text-small",
|
|
38
|
-
"disabled:cursor-default",
|
|
39
|
-
"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-interactive-ring"
|
|
40
|
-
],
|
|
41
|
-
config: {
|
|
42
|
-
variants: {
|
|
43
|
-
isSingle: {
|
|
44
|
-
false: "",
|
|
45
|
-
true: "selected:bg-interactive-primary-background selected:text-interactive-primary-foreground selected:disabled:text-state-interactive-primary-foreground/disabled"
|
|
46
|
-
},
|
|
47
|
-
isNewItem: {
|
|
48
|
-
true: "text-interactive-primary-background disabled:text-state-interactive-primary-background/disabled",
|
|
49
|
-
false: "text-surface-default-foreground disabled:text-state-surface-default-foreground/disabled"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
compoundVariants: [{
|
|
53
|
-
isSingle: false,
|
|
54
|
-
className: ["not-disabled:not-focus-visible:hover:bg-state-interactive-subtle-secondary-background/hover not-disabled:not-focus-visible:hover:text-state-interactive-subtle-secondary-foreground/hover", "not-disabled:focus-visible:bg-state-interactive-subtle-secondary-background/focus not-disabled:focus-visible:text-state-interactive-subtle-secondary-foreground/focus"]
|
|
55
|
-
}, {
|
|
56
|
-
isSingle: true,
|
|
57
|
-
className: ["not-selected:not-disabled:not-focus-visible:hover:bg-state-interactive-subtle-secondary-background/hover not-selected:not-disabled:not-focus-visible:hover:text-state-interactive-subtle-secondary-foreground/hover", "not-selected:not-disabled:focus-visible:bg-state-interactive-subtle-secondary-background/focus not-selected:not-disabled:focus-visible:text-state-interactive-subtle-secondary-foreground/focus"]
|
|
58
|
-
}],
|
|
59
|
-
defaultVariants: {
|
|
60
|
-
isSingle: false,
|
|
61
|
-
isNewItem: false
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
//#endregion
|
|
66
|
-
//#region src/components/inputs/Selection/shared/selectDesktop.cva.ts
|
|
67
|
-
const selectPopoverDefinition = UIOverrides.defineConfig({ base: ["my-4 outline-none"] });
|
|
68
|
-
//#endregion
|
|
69
|
-
export { Search as i, selectListBoxItemDefinition as n, selectInputTagsContentWrapperDefinition as r, selectPopoverDefinition as t };
|