ivt 0.8.1 → 0.8.3
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/dist/accordion/index.mjs +13 -13
- package/dist/accordion-table/index.mjs +25 -25
- package/dist/alert/index.mjs +3 -3
- package/dist/alert-dialog/index.mjs +15 -15
- package/dist/auto-complete-multi-select/index.mjs +31 -31
- package/dist/avatar/index.mjs +5 -5
- package/dist/badge/index.mjs +3 -3
- package/dist/base/index.d.ts +5 -54
- package/dist/base/index.mjs +57 -90
- package/dist/base/index.mjs.map +1 -1
- package/dist/breadcrumb/index.mjs +5 -5
- package/dist/button/index.mjs +3 -3
- package/dist/button-group/index.mjs +7 -47
- package/dist/button-group/index.mjs.map +1 -1
- package/dist/calendar/index.mjs +9 -9
- package/dist/card/index.mjs +3 -3
- package/dist/carousel/index.mjs +4 -4
- package/dist/chart/index.mjs +4 -4
- package/dist/checkbox/index.mjs +12 -12
- package/dist/chunks/{CalendarPopover-mDZpeHvR.mjs → CalendarPopover-CRB6GXIt.mjs} +14 -14
- package/dist/chunks/{CalendarPopover-mDZpeHvR.mjs.map → CalendarPopover-CRB6GXIt.mjs.map} +1 -1
- package/dist/chunks/{CalendarRange-Us7WNimb.mjs → CalendarRange-DucTFDzH.mjs} +15 -14
- package/dist/chunks/CalendarRange-DucTFDzH.mjs.map +1 -0
- package/dist/chunks/{ComboboxField-20dI3lDY.mjs → ComboboxField-Us4hYexm.mjs} +9 -9
- package/dist/chunks/{ComboboxField-20dI3lDY.mjs.map → ComboboxField-Us4hYexm.mjs.map} +1 -1
- package/dist/chunks/{Container-ovOp1KHh.mjs → Container-BFAAGDWA.mjs} +2 -2
- package/dist/chunks/{Container-ovOp1KHh.mjs.map → Container-BFAAGDWA.mjs.map} +1 -1
- package/dist/chunks/{DeleteConfirmationModal-8baDfv_e.mjs → DeleteConfirmationModal-ClGTTktk.mjs} +4 -4
- package/dist/chunks/{DeleteConfirmationModal-8baDfv_e.mjs.map → DeleteConfirmationModal-ClGTTktk.mjs.map} +1 -1
- package/dist/chunks/ExportButtons-Ru0nKJJO.mjs +229 -0
- package/dist/chunks/ExportButtons-Ru0nKJJO.mjs.map +1 -0
- package/dist/chunks/GenericTabs-B42Kfv_U.mjs +41 -0
- package/dist/chunks/GenericTabs-B42Kfv_U.mjs.map +1 -0
- package/dist/chunks/GenericTabs-CtJk8qVb.d.ts +54 -0
- package/dist/chunks/{ListItem-CgT3jeGN.mjs → ListItem-Da4Od2ts.mjs} +4 -4
- package/dist/chunks/{ListItem-CgT3jeGN.mjs.map → ListItem-Da4Od2ts.mjs.map} +1 -1
- package/dist/chunks/{TooltipIndicator-BI_x_wCF.mjs → TooltipIndicator-B9oMD_x3.mjs} +4 -4
- package/dist/chunks/{TooltipIndicator-BI_x_wCF.mjs.map → TooltipIndicator-B9oMD_x3.mjs.map} +1 -1
- package/dist/chunks/{_commonjsHelpers-DeLy3UO0.mjs → _commonjsHelpers-CrMz3UM5.mjs} +1 -1
- package/dist/chunks/_commonjsHelpers-CrMz3UM5.mjs.map +1 -0
- package/dist/chunks/{accordion-knOIBS_4.mjs → accordion-BFVct-IT.mjs} +9 -9
- package/dist/chunks/{accordion-knOIBS_4.mjs.map → accordion-BFVct-IT.mjs.map} +1 -1
- package/dist/chunks/{alert-CGsBCDrY.mjs → alert-DHxNsPyM.mjs} +2 -2
- package/dist/chunks/{alert-CGsBCDrY.mjs.map → alert-DHxNsPyM.mjs.map} +1 -1
- package/dist/chunks/{badge-BqxN6L_n.mjs → badge-BUI8RIXy.mjs} +2 -2
- package/dist/chunks/{badge-BqxN6L_n.mjs.map → badge-BUI8RIXy.mjs.map} +1 -1
- package/dist/chunks/{bundle-mjs-CU6q3BA5.mjs → bundle-mjs-CjTndHqR.mjs} +1 -1
- package/dist/chunks/{bundle-mjs-CU6q3BA5.mjs.map → bundle-mjs-CjTndHqR.mjs.map} +1 -1
- package/dist/chunks/{button-DVC65cB7.mjs → button-BvsCd2vf.mjs} +2 -2
- package/dist/chunks/{button-DVC65cB7.mjs.map → button-BvsCd2vf.mjs.map} +1 -1
- package/dist/chunks/button-group-PrAqXtXn.mjs +47 -0
- package/dist/chunks/button-group-PrAqXtXn.mjs.map +1 -0
- package/dist/chunks/{calendar-CsV2gm7-.mjs → calendar-LFBK0slp.mjs} +7 -7
- package/dist/chunks/{calendar-CsV2gm7-.mjs.map → calendar-LFBK0slp.mjs.map} +1 -1
- package/dist/chunks/{calendar-days-Cd2WVgBN.mjs → calendar-days-C3N6HIT-.mjs} +2 -2
- package/dist/chunks/{calendar-days-Cd2WVgBN.mjs.map → calendar-days-C3N6HIT-.mjs.map} +1 -1
- package/dist/chunks/{card-cSIzKMIR.mjs → card-BoHc9gge.mjs} +2 -2
- package/dist/chunks/{card-cSIzKMIR.mjs.map → card-BoHc9gge.mjs.map} +1 -1
- package/dist/chunks/{check-DSiHPkp7.mjs → check-VfNn6myv.mjs} +2 -2
- package/dist/chunks/{check-DSiHPkp7.mjs.map → check-VfNn6myv.mjs.map} +1 -1
- package/dist/chunks/{checkbox-CrjmkAKW.mjs → checkbox-CgrFFc0p.mjs} +9 -9
- package/dist/chunks/{checkbox-CrjmkAKW.mjs.map → checkbox-CgrFFc0p.mjs.map} +1 -1
- package/dist/chunks/{chevron-down-BoCGZarH.mjs → chevron-down-CD1QpvBA.mjs} +2 -2
- package/dist/chunks/{chevron-down-BoCGZarH.mjs.map → chevron-down-CD1QpvBA.mjs.map} +1 -1
- package/dist/chunks/{chevron-left-6HkYwJhz.mjs → chevron-left-B7ClEtyW.mjs} +2 -2
- package/dist/chunks/{chevron-left-6HkYwJhz.mjs.map → chevron-left-B7ClEtyW.mjs.map} +1 -1
- package/dist/chunks/{chevron-right-CS62g5Sl.mjs → chevron-right-Bb52eown.mjs} +2 -2
- package/dist/chunks/{chevron-right-CS62g5Sl.mjs.map → chevron-right-Bb52eown.mjs.map} +1 -1
- package/dist/chunks/{chevrons-up-down-_JuRHx41.mjs → chevrons-up-down-C5lu4ULp.mjs} +2 -2
- package/dist/chunks/{chevrons-up-down-_JuRHx41.mjs.map → chevrons-up-down-C5lu4ULp.mjs.map} +1 -1
- package/dist/chunks/{command-CZh5UHdo.mjs → command-e20cpPEv.mjs} +8 -8
- package/dist/chunks/{command-CZh5UHdo.mjs.map → command-e20cpPEv.mjs.map} +1 -1
- package/dist/chunks/{createLucideIcon-D8CrPx3l.mjs → createLucideIcon-D3jW_oal.mjs} +1 -1
- package/dist/chunks/{createLucideIcon-D8CrPx3l.mjs.map → createLucideIcon-D3jW_oal.mjs.map} +1 -1
- package/dist/chunks/{date-ZOdK1brW.mjs → date-Dy-Pzcmp.mjs} +33 -12
- package/dist/chunks/{date-ZOdK1brW.mjs.map → date-Dy-Pzcmp.mjs.map} +1 -1
- package/dist/chunks/date-picker-B6SyJ_gl.mjs +44 -0
- package/dist/chunks/date-picker-B6SyJ_gl.mjs.map +1 -0
- package/dist/chunks/{dialog-CYSGHwic.mjs → dialog-B20zSjze.mjs} +4 -4
- package/dist/chunks/{dialog-CYSGHwic.mjs.map → dialog-B20zSjze.mjs.map} +1 -1
- package/dist/chunks/dropdown-menu-B2ja7qty.mjs +421 -0
- package/dist/chunks/dropdown-menu-B2ja7qty.mjs.map +1 -0
- package/dist/chunks/{ellipsis--m7d4rNF.mjs → ellipsis-C6LF5HVj.mjs} +2 -2
- package/dist/chunks/{ellipsis--m7d4rNF.mjs.map → ellipsis-C6LF5HVj.mjs.map} +1 -1
- package/dist/chunks/export-config-BMsuab-C.d.ts +10 -0
- package/dist/chunks/{form-CW-yu519.mjs → form-BrcvX0yc.mjs} +3 -3
- package/dist/chunks/{form-CW-yu519.mjs.map → form-BrcvX0yc.mjs.map} +1 -1
- package/dist/chunks/{format-B3szZANA.mjs → format-CxsCX_YZ.mjs} +1 -1
- package/dist/chunks/{format-B3szZANA.mjs.map → format-CxsCX_YZ.mjs.map} +1 -1
- package/dist/chunks/{format-numbers-CzkVKQnb.mjs → format-numbers-CBSY6ZvL.mjs} +1 -1
- package/dist/chunks/{format-numbers-CzkVKQnb.mjs.map → format-numbers-CBSY6ZvL.mjs.map} +1 -1
- package/dist/chunks/{hover-card-B7w2Wdtk.mjs → hover-card-hPKHSJ81.mjs} +9 -9
- package/dist/chunks/{hover-card-B7w2Wdtk.mjs.map → hover-card-hPKHSJ81.mjs.map} +1 -1
- package/dist/chunks/{index-CucrelNM.mjs → index-3TdUvynV.mjs} +1 -1
- package/dist/chunks/{index-CucrelNM.mjs.map → index-3TdUvynV.mjs.map} +1 -1
- package/dist/chunks/{index-F25i7Anb.mjs → index-B-46hbYc.mjs} +1 -1
- package/dist/chunks/{index-F25i7Anb.mjs.map → index-B-46hbYc.mjs.map} +1 -1
- package/dist/chunks/{index-F5Q_HsuL.mjs → index-B46fiGOC.mjs} +9 -9
- package/dist/chunks/{index-F5Q_HsuL.mjs.map → index-B46fiGOC.mjs.map} +1 -1
- package/dist/chunks/{index-Cm_Sx0w9.mjs → index-B5fbJZIT.mjs} +2 -2
- package/dist/chunks/{index-Cm_Sx0w9.mjs.map → index-B5fbJZIT.mjs.map} +1 -1
- package/dist/chunks/{index-CYbLRGX3.mjs → index-BbPnHdtV.mjs} +5 -5
- package/dist/chunks/{index-CYbLRGX3.mjs.map → index-BbPnHdtV.mjs.map} +1 -1
- package/dist/chunks/{index-BAPHzVtC.mjs → index-BzAMFivh.mjs} +6 -6
- package/dist/chunks/{index-BAPHzVtC.mjs.map → index-BzAMFivh.mjs.map} +1 -1
- package/dist/chunks/{index-BriCEER7.mjs → index-C5uKwhOD.mjs} +13 -13
- package/dist/chunks/{index-BriCEER7.mjs.map → index-C5uKwhOD.mjs.map} +1 -1
- package/dist/chunks/{index-C21v2ZEV.mjs → index-C__GtYCW.mjs} +1 -1
- package/dist/chunks/{index-C21v2ZEV.mjs.map → index-C__GtYCW.mjs.map} +1 -1
- package/dist/chunks/{index--j7S_aJJ.mjs → index-Csf3aM1P.mjs} +1 -1
- package/dist/chunks/{index--j7S_aJJ.mjs.map → index-Csf3aM1P.mjs.map} +1 -1
- package/dist/chunks/{index-CwPf2lla.mjs → index-D4iRNKtb.mjs} +7 -7
- package/dist/chunks/{index-CwPf2lla.mjs.map → index-D4iRNKtb.mjs.map} +1 -1
- package/dist/chunks/{index-A8KrKa_3.mjs → index-DDM8Lpbb.mjs} +2 -2
- package/dist/chunks/{index-A8KrKa_3.mjs.map → index-DDM8Lpbb.mjs.map} +1 -1
- package/dist/chunks/{index-swVjGZ84.mjs → index-DF-3JHwb.mjs} +2 -2
- package/dist/chunks/{index-swVjGZ84.mjs.map → index-DF-3JHwb.mjs.map} +1 -1
- package/dist/chunks/{index-CluWUNz-.mjs → index-DGUU265f.mjs} +3 -3
- package/dist/chunks/{index-CluWUNz-.mjs.map → index-DGUU265f.mjs.map} +1 -1
- package/dist/chunks/{index-DmuOZtkO.mjs → index-DIaetExD.mjs} +1 -1
- package/dist/chunks/{index-DmuOZtkO.mjs.map → index-DIaetExD.mjs.map} +1 -1
- package/dist/chunks/{index-BvAnPBN5.mjs → index-DghbVew_.mjs} +7 -7
- package/dist/chunks/{index-BvAnPBN5.mjs.map → index-DghbVew_.mjs.map} +1 -1
- package/dist/chunks/{index-B3ak2MKr.mjs → index-Dp_x2nI3.mjs} +1 -1
- package/dist/chunks/{index-B3ak2MKr.mjs.map → index-Dp_x2nI3.mjs.map} +1 -1
- package/dist/chunks/{index-Dc-XYHvj.mjs → index-DslxcA48.mjs} +1 -1
- package/dist/chunks/{index-Dc-XYHvj.mjs.map → index-DslxcA48.mjs.map} +1 -1
- package/dist/chunks/{index-WRRU_W7V.mjs → index-EcI_mW3m.mjs} +4 -4
- package/dist/chunks/{index-WRRU_W7V.mjs.map → index-EcI_mW3m.mjs.map} +1 -1
- package/dist/chunks/{index-MA5snuXo.mjs → index-JZ-FhLOH.mjs} +3 -3
- package/dist/chunks/{index-MA5snuXo.mjs.map → index-JZ-FhLOH.mjs.map} +1 -1
- package/dist/chunks/{index-Cudt6Zq6.mjs → index-RaUpQCps.mjs} +1 -1
- package/dist/chunks/{index-Cudt6Zq6.mjs.map → index-RaUpQCps.mjs.map} +1 -1
- package/dist/chunks/{index-BMgJpAGa.mjs → index-SLs8oClH.mjs} +2 -2
- package/dist/chunks/{index-BMgJpAGa.mjs.map → index-SLs8oClH.mjs.map} +1 -1
- package/dist/chunks/{index.module-CtoGlOtg.mjs → index.module-B4lVPYXp.mjs} +1 -1
- package/dist/chunks/{index.module-CtoGlOtg.mjs.map → index.module-B4lVPYXp.mjs.map} +1 -1
- package/dist/chunks/{input-DEZ4zRTO.mjs → input-B4HxPY7D.mjs} +2 -2
- package/dist/chunks/{input-DEZ4zRTO.mjs.map → input-B4HxPY7D.mjs.map} +1 -1
- package/dist/chunks/{input-otp-D-STVHHs.mjs → input-otp-DfumrHpI.mjs} +3 -3
- package/dist/chunks/{input-otp-D-STVHHs.mjs.map → input-otp-DfumrHpI.mjs.map} +1 -1
- package/dist/chunks/{label-PVtPZ-GM.mjs → label-Dxv54YUS.mjs} +2 -2
- package/dist/chunks/{label-PVtPZ-GM.mjs.map → label-Dxv54YUS.mjs.map} +1 -1
- package/dist/chunks/{loader-circle-BII92tSL.mjs → loader-circle-hYdtBTNb.mjs} +2 -2
- package/dist/chunks/{loader-circle-BII92tSL.mjs.map → loader-circle-hYdtBTNb.mjs.map} +1 -1
- package/dist/chunks/{menubar-DG0DkaOF.mjs → menubar-C76cRAzY.mjs} +11 -11
- package/dist/chunks/{menubar-DG0DkaOF.mjs.map → menubar-C76cRAzY.mjs.map} +1 -1
- package/dist/chunks/{multi-select-Cn6GBwTg.mjs → multi-select-B6DLSXK6.mjs} +13 -13
- package/dist/chunks/{multi-select-Cn6GBwTg.mjs.map → multi-select-B6DLSXK6.mjs.map} +1 -1
- package/dist/chunks/{pagination-B4vpLdhw.mjs → pagination-BF_3NYnD.mjs} +6 -6
- package/dist/chunks/{pagination-B4vpLdhw.mjs.map → pagination-BF_3NYnD.mjs.map} +1 -1
- package/dist/chunks/{popover-4BgsZTpk.mjs → popover--9SMD-cC.mjs} +11 -11
- package/dist/chunks/{popover-4BgsZTpk.mjs.map → popover--9SMD-cC.mjs.map} +1 -1
- package/dist/chunks/{progress-_CjJdprg.mjs → progress-CwFC70K1.mjs} +2 -2
- package/dist/chunks/{progress-_CjJdprg.mjs.map → progress-CwFC70K1.mjs.map} +1 -1
- package/dist/chunks/{radio-group-BnryBrck.mjs → radio-group-DhGJL_gc.mjs} +11 -11
- package/dist/chunks/{radio-group-BnryBrck.mjs.map → radio-group-DhGJL_gc.mjs.map} +1 -1
- package/dist/chunks/{react-number-format.es-C7kc01hW.mjs → react-number-format.es-B11gLKR5.mjs} +1 -1
- package/dist/chunks/{react-number-format.es-C7kc01hW.mjs.map → react-number-format.es-B11gLKR5.mjs.map} +1 -1
- package/dist/chunks/{scroll-area-DXNFrVA9.mjs → scroll-area-D0gA5i73.mjs} +9 -9
- package/dist/chunks/{scroll-area-DXNFrVA9.mjs.map → scroll-area-D0gA5i73.mjs.map} +1 -1
- package/dist/chunks/{select-Ho6QMbmu.mjs → select-Cl_ZzI9R.mjs} +5 -5
- package/dist/chunks/{select-Ho6QMbmu.mjs.map → select-Cl_ZzI9R.mjs.map} +1 -1
- package/dist/chunks/{separator-CtRAcZlu.mjs → separator-DohkJ_xb.mjs} +2 -2
- package/dist/chunks/{separator-CtRAcZlu.mjs.map → separator-DohkJ_xb.mjs.map} +1 -1
- package/dist/chunks/{sheet-DKA_mlpq.mjs → sheet-CIlwd3J-.mjs} +4 -4
- package/dist/chunks/{sheet-DKA_mlpq.mjs.map → sheet-CIlwd3J-.mjs.map} +1 -1
- package/dist/chunks/{skeleton-C7fArVLu.mjs → skeleton-ClXnWXNn.mjs} +2 -2
- package/dist/chunks/{skeleton-C7fArVLu.mjs.map → skeleton-ClXnWXNn.mjs.map} +1 -1
- package/dist/chunks/{slider-BG6RzE4c.mjs → slider-D39dP_g8.mjs} +9 -9
- package/dist/chunks/{slider-BG6RzE4c.mjs.map → slider-D39dP_g8.mjs.map} +1 -1
- package/dist/chunks/{sortable-B6w9KGE_.mjs → sortable-T_IChBln.mjs} +3 -3
- package/dist/chunks/{sortable-B6w9KGE_.mjs.map → sortable-T_IChBln.mjs.map} +1 -1
- package/dist/chunks/{switch-DsPVvx96.mjs → switch-B3zf2gI8.mjs} +7 -7
- package/dist/chunks/{switch-DsPVvx96.mjs.map → switch-B3zf2gI8.mjs.map} +1 -1
- package/dist/chunks/{table-CaFiU9We.mjs → table-Bfl280bq.mjs} +2 -2
- package/dist/chunks/{table-CaFiU9We.mjs.map → table-Bfl280bq.mjs.map} +1 -1
- package/dist/chunks/{tabs-fAtKfucR.mjs → tabs-C8FBxYmq.mjs} +9 -9
- package/dist/chunks/{tabs-fAtKfucR.mjs.map → tabs-C8FBxYmq.mjs.map} +1 -1
- package/dist/chunks/{textarea-tq3jA-Zq.mjs → textarea-W2TtG6RT.mjs} +2 -2
- package/dist/chunks/{textarea-tq3jA-Zq.mjs.map → textarea-W2TtG6RT.mjs.map} +1 -1
- package/dist/chunks/{toast-NTwN0K5O.mjs → toast-DPlHqm3b.mjs} +12 -12
- package/dist/chunks/{toast-NTwN0K5O.mjs.map → toast-DPlHqm3b.mjs.map} +1 -1
- package/dist/chunks/{toggle-DtFnx1x6.mjs → toggle-DGw8vPFo.mjs} +4 -4
- package/dist/chunks/{toggle-DtFnx1x6.mjs.map → toggle-DGw8vPFo.mjs.map} +1 -1
- package/dist/chunks/{tooltip-DUrjZ695.mjs → tooltip-CI9dbI1p.mjs} +11 -11
- package/dist/chunks/{tooltip-DUrjZ695.mjs.map → tooltip-CI9dbI1p.mjs.map} +1 -1
- package/dist/chunks/{trash-2-Bo2rb-uN.mjs → trash-2-D8vtZLQJ.mjs} +2 -2
- package/dist/chunks/{trash-2-Bo2rb-uN.mjs.map → trash-2-D8vtZLQJ.mjs.map} +1 -1
- package/dist/chunks/{triangle-alert-D1D3ikvl.mjs → triangle-alert-B-blf7Ow.mjs} +2 -2
- package/dist/chunks/{triangle-alert-D1D3ikvl.mjs.map → triangle-alert-B-blf7Ow.mjs.map} +1 -1
- package/dist/chunks/{tslib.es6-iEi2b-Nf.mjs → tslib.es6-B32hQ9eG.mjs} +1 -1
- package/dist/chunks/{tslib.es6-iEi2b-Nf.mjs.map → tslib.es6-B32hQ9eG.mjs.map} +1 -1
- package/dist/chunks/upload-CQFfafJB.mjs +32 -0
- package/dist/chunks/upload-CQFfafJB.mjs.map +1 -0
- package/dist/chunks/{use-toast-BvcpqHAq.mjs → use-toast-juJ63qRI.mjs} +1 -1
- package/dist/chunks/{use-toast-BvcpqHAq.mjs.map → use-toast-juJ63qRI.mjs.map} +1 -1
- package/dist/chunks/{utils-DnO0vXjp.mjs → utils-Dws4Ft8U.mjs} +2 -2
- package/dist/chunks/{utils-DnO0vXjp.mjs.map → utils-Dws4Ft8U.mjs.map} +1 -1
- package/dist/chunks/{wand-sparkles-Bx5B6895.mjs → wand-sparkles-C3OGp2qM.mjs} +2 -2
- package/dist/chunks/{wand-sparkles-Bx5B6895.mjs.map → wand-sparkles-C3OGp2qM.mjs.map} +1 -1
- package/dist/chunks/{x-BdsvQvnu.mjs → x-CQ0W-nWi.mjs} +2 -2
- package/dist/chunks/{x-BdsvQvnu.mjs.map → x-CQ0W-nWi.mjs.map} +1 -1
- package/dist/collapsible/index.mjs +7 -7
- package/dist/combobox/index.mjs +24 -24
- package/dist/command/index.mjs +18 -18
- package/dist/context-menu/index.mjs +21 -21
- package/dist/dash/index.mjs +23 -23
- package/dist/data-table/index.d.ts +48 -3
- package/dist/data-table/index.mjs +105 -37
- package/dist/data-table/index.mjs.map +1 -1
- package/dist/date-picker/index.mjs +29 -63
- package/dist/date-picker/index.mjs.map +1 -1
- package/dist/dialog/index.mjs +17 -17
- package/dist/drawer/index.mjs +14 -14
- package/dist/dropdown-menu/index.mjs +24 -433
- package/dist/dropdown-menu/index.mjs.map +1 -1
- package/dist/dropzone/index.mjs +20 -47
- package/dist/dropzone/index.mjs.map +1 -1
- package/dist/editable-table/index.mjs +18 -18
- package/dist/empty/index.mjs +2 -2
- package/dist/export/index.d.ts +30 -0
- package/dist/export/index.mjs +37 -0
- package/dist/export/index.mjs.map +1 -0
- package/dist/field/index.mjs +4 -4
- package/dist/form/index.mjs +4 -4
- package/dist/form-fields/index.mjs +26 -26
- package/dist/form-layout/index.mjs +63 -63
- package/dist/form-layout/index.mjs.map +1 -1
- package/dist/hover-card/index.mjs +13 -13
- package/dist/icon/index.mjs +1 -1
- package/dist/index.css +1 -1
- package/dist/input/index.mjs +3 -3
- package/dist/input-group/index.mjs +5 -5
- package/dist/input-otp/index.mjs +4 -4
- package/dist/item/index.mjs +3 -3
- package/dist/ivt.css +1 -1
- package/dist/kbd/index.mjs +2 -2
- package/dist/label/index.mjs +3 -3
- package/dist/layout/index.mjs +21 -21
- package/dist/menubar/index.mjs +22 -22
- package/dist/multi-input-list/index.mjs +28 -28
- package/dist/multi-select/index.mjs +31 -31
- package/dist/navigation-menu/index.mjs +15 -15
- package/dist/pagination/index.mjs +8 -8
- package/dist/popover/index.mjs +16 -16
- package/dist/progress/index.mjs +3 -3
- package/dist/radio-group/index.mjs +16 -16
- package/dist/resizable/index.mjs +3 -3
- package/dist/scroll-area/index.mjs +10 -10
- package/dist/select/index.mjs +6 -6
- package/dist/separator/index.mjs +3 -3
- package/dist/shared/index.d.ts +1 -1
- package/dist/shared/index.mjs +5 -5
- package/dist/sheet/index.mjs +17 -17
- package/dist/sidebar/index.mjs +25 -25
- package/dist/skeleton/index.mjs +3 -3
- package/dist/skeleton-component/index.mjs +4 -4
- package/dist/slider/index.mjs +11 -11
- package/dist/sortable/index.mjs +4 -4
- package/dist/spinner/index.mjs +4 -4
- package/dist/switch/index.mjs +9 -9
- package/dist/table/index.mjs +3 -3
- package/dist/table-filter/index.d.ts +2 -2
- package/dist/table-filter/index.mjs +70 -77
- package/dist/table-filter/index.mjs.map +1 -1
- package/dist/tabs/index.mjs +12 -12
- package/dist/textarea/index.mjs +3 -3
- package/dist/toast/index.mjs +14 -14
- package/dist/toaster/index.mjs +15 -15
- package/dist/toggle/index.mjs +6 -6
- package/dist/toggle-group/index.mjs +11 -11
- package/dist/tooltip/index.mjs +15 -15
- package/package.json +6 -1
- package/dist/chunks/CalendarRange-Us7WNimb.mjs.map +0 -1
- package/dist/chunks/_commonjsHelpers-DeLy3UO0.mjs.map +0 -1
package/dist/sidebar/index.mjs
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { Slot } from '@radix-ui/react-slot';
|
|
2
2
|
import { cva } from 'class-variance-authority';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
import { c as cn } from '../chunks/utils-
|
|
5
|
-
import { S as Sheet, c as SheetContent, d as SheetHeader, f as SheetTitle, g as SheetDescription } from '../chunks/sheet-
|
|
6
|
-
import { S as Skeleton } from '../chunks/skeleton-
|
|
7
|
-
import { c as createLucideIcon } from '../chunks/createLucideIcon-
|
|
8
|
-
import { I as Input } from '../chunks/input-
|
|
9
|
-
import { T as Tooltip, a as TooltipTrigger, b as TooltipContent, c as TooltipProvider } from '../chunks/tooltip-
|
|
10
|
-
import { S as Separator } from '../chunks/separator-
|
|
11
|
-
import { B as Button } from '../chunks/button-
|
|
12
|
-
import '../chunks/bundle-mjs-
|
|
13
|
-
import '../chunks/index-
|
|
14
|
-
import '../chunks/index-
|
|
4
|
+
import { c as cn } from '../chunks/utils-Dws4Ft8U.mjs';
|
|
5
|
+
import { S as Sheet, c as SheetContent, d as SheetHeader, f as SheetTitle, g as SheetDescription } from '../chunks/sheet-CIlwd3J-.mjs';
|
|
6
|
+
import { S as Skeleton } from '../chunks/skeleton-ClXnWXNn.mjs';
|
|
7
|
+
import { c as createLucideIcon } from '../chunks/createLucideIcon-D3jW_oal.mjs';
|
|
8
|
+
import { I as Input } from '../chunks/input-B4HxPY7D.mjs';
|
|
9
|
+
import { T as Tooltip, a as TooltipTrigger, b as TooltipContent, c as TooltipProvider } from '../chunks/tooltip-CI9dbI1p.mjs';
|
|
10
|
+
import { S as Separator } from '../chunks/separator-DohkJ_xb.mjs';
|
|
11
|
+
import { B as Button } from '../chunks/button-BvsCd2vf.mjs';
|
|
12
|
+
import '../chunks/bundle-mjs-CjTndHqR.mjs';
|
|
13
|
+
import '../chunks/index-B46fiGOC.mjs';
|
|
14
|
+
import '../chunks/index-B-46hbYc.mjs';
|
|
15
15
|
import 'react-dom';
|
|
16
16
|
import 'react/jsx-runtime';
|
|
17
|
-
import '../chunks/index-
|
|
18
|
-
import '../chunks/index-
|
|
19
|
-
import '../chunks/index-
|
|
20
|
-
import '../chunks/index-
|
|
21
|
-
import '../chunks/index-
|
|
22
|
-
import '../chunks/index-
|
|
23
|
-
import '../chunks/index-
|
|
24
|
-
import '../chunks/tslib.es6-
|
|
25
|
-
import '../chunks/index-
|
|
26
|
-
import '../chunks/index-
|
|
27
|
-
import '../chunks/x-
|
|
28
|
-
import '../chunks/index-
|
|
29
|
-
import '../chunks/index-
|
|
30
|
-
import '../chunks/index-
|
|
17
|
+
import '../chunks/index-RaUpQCps.mjs';
|
|
18
|
+
import '../chunks/index-DF-3JHwb.mjs';
|
|
19
|
+
import '../chunks/index-C__GtYCW.mjs';
|
|
20
|
+
import '../chunks/index-SLs8oClH.mjs';
|
|
21
|
+
import '../chunks/index-EcI_mW3m.mjs';
|
|
22
|
+
import '../chunks/index-Dp_x2nI3.mjs';
|
|
23
|
+
import '../chunks/index-BbPnHdtV.mjs';
|
|
24
|
+
import '../chunks/tslib.es6-B32hQ9eG.mjs';
|
|
25
|
+
import '../chunks/index-JZ-FhLOH.mjs';
|
|
26
|
+
import '../chunks/index-DGUU265f.mjs';
|
|
27
|
+
import '../chunks/x-CQ0W-nWi.mjs';
|
|
28
|
+
import '../chunks/index-BzAMFivh.mjs';
|
|
29
|
+
import '../chunks/index-DDM8Lpbb.mjs';
|
|
30
|
+
import '../chunks/index-B5fbJZIT.mjs';
|
|
31
31
|
|
|
32
32
|
const __iconNode = [
|
|
33
33
|
[
|
package/dist/skeleton/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { S as Skeleton } from '../chunks/skeleton-
|
|
1
|
+
export { S as Skeleton } from '../chunks/skeleton-ClXnWXNn.mjs';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '../chunks/utils-
|
|
4
|
-
import '../chunks/bundle-mjs-
|
|
3
|
+
import '../chunks/utils-Dws4Ft8U.mjs';
|
|
4
|
+
import '../chunks/bundle-mjs-CjTndHqR.mjs';
|
|
5
5
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { C as Container, a as ChildContainer } from '../chunks/Container-
|
|
3
|
-
import { S as Skeleton } from '../chunks/skeleton-
|
|
4
|
-
import '../chunks/utils-
|
|
5
|
-
import '../chunks/bundle-mjs-
|
|
2
|
+
import { C as Container, a as ChildContainer } from '../chunks/Container-BFAAGDWA.mjs';
|
|
3
|
+
import { S as Skeleton } from '../chunks/skeleton-ClXnWXNn.mjs';
|
|
4
|
+
import '../chunks/utils-Dws4Ft8U.mjs';
|
|
5
|
+
import '../chunks/bundle-mjs-CjTndHqR.mjs';
|
|
6
6
|
|
|
7
7
|
const FormSkeleton = ({ count = 4 })=>{
|
|
8
8
|
return /*#__PURE__*/ React__default.createElement("div", {
|
package/dist/slider/index.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { S as Slider } from '../chunks/slider-
|
|
1
|
+
export { S as Slider } from '../chunks/slider-D39dP_g8.mjs';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '../chunks/index-
|
|
4
|
-
import '../chunks/index-
|
|
3
|
+
import '../chunks/index-DslxcA48.mjs';
|
|
4
|
+
import '../chunks/index-B-46hbYc.mjs';
|
|
5
5
|
import 'react-dom';
|
|
6
6
|
import '@radix-ui/react-slot';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
|
-
import '../chunks/index-
|
|
9
|
-
import '../chunks/index-
|
|
10
|
-
import '../chunks/index-
|
|
11
|
-
import '../chunks/index
|
|
12
|
-
import '../chunks/index-
|
|
13
|
-
import '../chunks/index-
|
|
8
|
+
import '../chunks/index-RaUpQCps.mjs';
|
|
9
|
+
import '../chunks/index-SLs8oClH.mjs';
|
|
10
|
+
import '../chunks/index-C__GtYCW.mjs';
|
|
11
|
+
import '../chunks/index-Csf3aM1P.mjs';
|
|
12
|
+
import '../chunks/index-3TdUvynV.mjs';
|
|
13
|
+
import '../chunks/index-DDM8Lpbb.mjs';
|
|
14
14
|
import '@radix-ui/react-collection';
|
|
15
|
-
import '../chunks/utils-
|
|
16
|
-
import '../chunks/bundle-mjs-
|
|
15
|
+
import '../chunks/utils-Dws4Ft8U.mjs';
|
|
16
|
+
import '../chunks/bundle-mjs-CjTndHqR.mjs';
|
|
17
17
|
//# sourceMappingURL=index.mjs.map
|
package/dist/sortable/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { S as Sortable, a as SortableDragHandle, b as SortableItem, c as SortableOverlay } from '../chunks/sortable-
|
|
1
|
+
export { S as Sortable, a as SortableDragHandle, b as SortableItem, c as SortableOverlay } from '../chunks/sortable-T_IChBln.mjs';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-dom';
|
|
4
4
|
import '@radix-ui/react-slot';
|
|
5
|
-
import '../chunks/utils-
|
|
6
|
-
import '../chunks/bundle-mjs-
|
|
7
|
-
import '../chunks/button-
|
|
5
|
+
import '../chunks/utils-Dws4Ft8U.mjs';
|
|
6
|
+
import '../chunks/bundle-mjs-CjTndHqR.mjs';
|
|
7
|
+
import '../chunks/button-BvsCd2vf.mjs';
|
|
8
8
|
import 'class-variance-authority';
|
|
9
9
|
//# sourceMappingURL=index.mjs.map
|
package/dist/spinner/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as cn } from '../chunks/utils-
|
|
2
|
-
import { L as LoaderCircle } from '../chunks/loader-circle-
|
|
3
|
-
import '../chunks/bundle-mjs-
|
|
4
|
-
import '../chunks/createLucideIcon-
|
|
1
|
+
import { c as cn } from '../chunks/utils-Dws4Ft8U.mjs';
|
|
2
|
+
import { L as LoaderCircle } from '../chunks/loader-circle-hYdtBTNb.mjs';
|
|
3
|
+
import '../chunks/bundle-mjs-CjTndHqR.mjs';
|
|
4
|
+
import '../chunks/createLucideIcon-D3jW_oal.mjs';
|
|
5
5
|
import 'react';
|
|
6
6
|
|
|
7
7
|
function Spinner({ className, ...props }) {
|
package/dist/switch/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { S as Switch } from '../chunks/switch-
|
|
1
|
+
export { S as Switch } from '../chunks/switch-B3zf2gI8.mjs';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '../chunks/index-
|
|
3
|
+
import '../chunks/index-B-46hbYc.mjs';
|
|
4
4
|
import 'react-dom';
|
|
5
5
|
import '@radix-ui/react-slot';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
|
-
import '../chunks/index-
|
|
8
|
-
import '../chunks/index-
|
|
9
|
-
import '../chunks/index-
|
|
10
|
-
import '../chunks/index-
|
|
11
|
-
import '../chunks/index-
|
|
12
|
-
import '../chunks/utils-
|
|
13
|
-
import '../chunks/bundle-mjs-
|
|
7
|
+
import '../chunks/index-RaUpQCps.mjs';
|
|
8
|
+
import '../chunks/index-SLs8oClH.mjs';
|
|
9
|
+
import '../chunks/index-C__GtYCW.mjs';
|
|
10
|
+
import '../chunks/index-3TdUvynV.mjs';
|
|
11
|
+
import '../chunks/index-DDM8Lpbb.mjs';
|
|
12
|
+
import '../chunks/utils-Dws4Ft8U.mjs';
|
|
13
|
+
import '../chunks/bundle-mjs-CjTndHqR.mjs';
|
|
14
14
|
//# sourceMappingURL=index.mjs.map
|
package/dist/table/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { T as Table, b as TableBody, g as TableCaption, f as TableCell, c as TableFooter, d as TableHead, a as TableHeader, e as TableRow } from '../chunks/table-
|
|
1
|
+
export { T as Table, b as TableBody, g as TableCaption, f as TableCell, c as TableFooter, d as TableHead, a as TableHeader, e as TableRow } from '../chunks/table-Bfl280bq.mjs';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '../chunks/utils-
|
|
4
|
-
import '../chunks/bundle-mjs-
|
|
3
|
+
import '../chunks/utils-Dws4Ft8U.mjs';
|
|
4
|
+
import '../chunks/bundle-mjs-CjTndHqR.mjs';
|
|
5
5
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -8,7 +8,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
8
8
|
|
|
9
9
|
type BadgeVariants = VariantProps<typeof badgeVariants>["variant"];
|
|
10
10
|
declare const badgeVariants: (props?: ({
|
|
11
|
-
variant?: "default" | "
|
|
11
|
+
variant?: "default" | "secondary" | "destructive" | "positive" | "warning" | "info" | "outline" | null | undefined;
|
|
12
12
|
subtle?: boolean | null | undefined;
|
|
13
13
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
14
14
|
|
|
@@ -77,7 +77,7 @@ type NumericFilterValue = {
|
|
|
77
77
|
value: number | null;
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
declare function TableFilter<TData, TSchema extends ZodObject<any>>({ table, defaultSide, disabled, title, schema, fieldConfigs, defaultFilterValues, appliedFiltersCount, setAppliedFiltersCount, applyFiltersOnMount, onClearFilters, onApplyFilters, badgeMultiselectVariant, badgeMultiselectSubtle, }: TableFilterProps<TData, TSchema>): react_jsx_runtime.JSX.Element;
|
|
80
|
+
declare function TableFilter<TData, TSchema extends ZodObject<any>>({ table, defaultSide, disabled, title, schema, fieldConfigs, defaultFilterValues, appliedFiltersCount, setAppliedFiltersCount, applyFiltersOnMount, onClearFilters, onApplyFilters, badgeMultiselectVariant, badgeMultiselectSubtle, prepareFilterStorage, }: TableFilterProps<TData, TSchema>): react_jsx_runtime.JSX.Element;
|
|
81
81
|
|
|
82
82
|
export { TableFilter };
|
|
83
83
|
export type { DefaultFilterSide, FieldConfig, FieldFilterType, NumericFilterValue, Operator, TableFilterBaseProps, TableFilterProps };
|
|
@@ -1,59 +1,60 @@
|
|
|
1
|
-
import { g as get, s as set, h as appendErrors, i as useForm, F as Form, f as FormField, a as FormItem, b as FormLabel, c as FormControl, d as FormDescription, e as FormMessage } from '../chunks/form-
|
|
1
|
+
import { g as get, s as set, h as appendErrors, i as useForm, F as Form, f as FormField, a as FormItem, b as FormLabel, c as FormControl, d as FormDescription, e as FormMessage } from '../chunks/form-BrcvX0yc.mjs';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { N as NumericFormat, P as PatternFormat } from '../chunks/react-number-format.es-
|
|
4
|
-
import { c as cn } from '../chunks/utils-
|
|
5
|
-
import {
|
|
6
|
-
import { c as formatNumberWithComma, a as styleInput, d as styleSelect } from '../chunks/format-numbers-
|
|
7
|
-
import { S as Sheet, a as SheetTrigger, c as SheetContent, d as SheetHeader, f as SheetTitle, e as SheetFooter, b as SheetClose } from '../chunks/sheet-
|
|
8
|
-
import { c as createLucideIcon } from '../chunks/createLucideIcon-
|
|
9
|
-
import {
|
|
10
|
-
import { C as ComboboxField } from '../chunks/ComboboxField-
|
|
11
|
-
import { M as MultiSelect } from '../chunks/multi-select-
|
|
12
|
-
import { B as Button } from '../chunks/button-
|
|
13
|
-
import { B as Badge } from '../chunks/badge-
|
|
14
|
-
import { S as ScrollArea } from '../chunks/scroll-area-
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { C as
|
|
20
|
-
import { S as
|
|
21
|
-
import {
|
|
22
|
-
import { S as Select, h as SelectTrigger, i as SelectValue, a as SelectContent, c as SelectItem } from '../chunks/select-Ho6QMbmu.mjs';
|
|
23
|
-
import { I as Input } from '../chunks/input-DEZ4zRTO.mjs';
|
|
3
|
+
import { N as NumericFormat, P as PatternFormat } from '../chunks/react-number-format.es-B11gLKR5.mjs';
|
|
4
|
+
import { c as cn } from '../chunks/utils-Dws4Ft8U.mjs';
|
|
5
|
+
import { a as tryParseDateFilter } from '../chunks/date-Dy-Pzcmp.mjs';
|
|
6
|
+
import { c as formatNumberWithComma, a as styleInput, d as styleSelect } from '../chunks/format-numbers-CBSY6ZvL.mjs';
|
|
7
|
+
import { S as Sheet, a as SheetTrigger, c as SheetContent, d as SheetHeader, f as SheetTitle, e as SheetFooter, b as SheetClose } from '../chunks/sheet-CIlwd3J-.mjs';
|
|
8
|
+
import { c as createLucideIcon } from '../chunks/createLucideIcon-D3jW_oal.mjs';
|
|
9
|
+
import { D as DatePicker } from '../chunks/date-picker-B6SyJ_gl.mjs';
|
|
10
|
+
import { C as ComboboxField } from '../chunks/ComboboxField-Us4hYexm.mjs';
|
|
11
|
+
import { M as MultiSelect } from '../chunks/multi-select-B6DLSXK6.mjs';
|
|
12
|
+
import { B as Button } from '../chunks/button-BvsCd2vf.mjs';
|
|
13
|
+
import { B as Badge } from '../chunks/badge-BUI8RIXy.mjs';
|
|
14
|
+
import { S as ScrollArea } from '../chunks/scroll-area-D0gA5i73.mjs';
|
|
15
|
+
import { f as format } from '../chunks/format-CxsCX_YZ.mjs';
|
|
16
|
+
import { L as Label } from '../chunks/label-Dxv54YUS.mjs';
|
|
17
|
+
import { C as Checkbox } from '../chunks/checkbox-CgrFFc0p.mjs';
|
|
18
|
+
import { S as Separator } from '../chunks/separator-DohkJ_xb.mjs';
|
|
19
|
+
import { C as CalendarRange } from '../chunks/CalendarRange-DucTFDzH.mjs';
|
|
20
|
+
import { S as Select, h as SelectTrigger, i as SelectValue, a as SelectContent, c as SelectItem } from '../chunks/select-Cl_ZzI9R.mjs';
|
|
21
|
+
import { I as Input } from '../chunks/input-B4HxPY7D.mjs';
|
|
24
22
|
import '@radix-ui/react-slot';
|
|
25
|
-
import '../chunks/bundle-mjs-
|
|
26
|
-
import '../chunks/index-
|
|
27
|
-
import '../chunks/index-
|
|
23
|
+
import '../chunks/bundle-mjs-CjTndHqR.mjs';
|
|
24
|
+
import '../chunks/index-B46fiGOC.mjs';
|
|
25
|
+
import '../chunks/index-B-46hbYc.mjs';
|
|
28
26
|
import 'react-dom';
|
|
29
27
|
import 'react/jsx-runtime';
|
|
30
|
-
import '../chunks/index-
|
|
31
|
-
import '../chunks/index-
|
|
32
|
-
import '../chunks/index-
|
|
33
|
-
import '../chunks/index-
|
|
34
|
-
import '../chunks/index-
|
|
35
|
-
import '../chunks/index-
|
|
36
|
-
import '../chunks/index-
|
|
37
|
-
import '../chunks/tslib.es6-
|
|
38
|
-
import '../chunks/index-
|
|
39
|
-
import '../chunks/index-
|
|
40
|
-
import '../chunks/x-
|
|
41
|
-
import '../chunks/
|
|
42
|
-
import '../chunks/
|
|
43
|
-
import '../chunks/
|
|
44
|
-
import '../chunks/
|
|
28
|
+
import '../chunks/index-RaUpQCps.mjs';
|
|
29
|
+
import '../chunks/index-DF-3JHwb.mjs';
|
|
30
|
+
import '../chunks/index-C__GtYCW.mjs';
|
|
31
|
+
import '../chunks/index-SLs8oClH.mjs';
|
|
32
|
+
import '../chunks/index-EcI_mW3m.mjs';
|
|
33
|
+
import '../chunks/index-Dp_x2nI3.mjs';
|
|
34
|
+
import '../chunks/index-BbPnHdtV.mjs';
|
|
35
|
+
import '../chunks/tslib.es6-B32hQ9eG.mjs';
|
|
36
|
+
import '../chunks/index-JZ-FhLOH.mjs';
|
|
37
|
+
import '../chunks/index-DGUU265f.mjs';
|
|
38
|
+
import '../chunks/x-CQ0W-nWi.mjs';
|
|
39
|
+
import '../chunks/calendar-days-C3N6HIT-.mjs';
|
|
40
|
+
import '../chunks/calendar-LFBK0slp.mjs';
|
|
41
|
+
import '../chunks/chevron-left-B7ClEtyW.mjs';
|
|
42
|
+
import '../chunks/chevron-right-Bb52eown.mjs';
|
|
43
|
+
import '../chunks/chevron-down-CD1QpvBA.mjs';
|
|
44
|
+
import '../chunks/popover--9SMD-cC.mjs';
|
|
45
|
+
import '../chunks/index-BzAMFivh.mjs';
|
|
46
|
+
import '../chunks/index-DDM8Lpbb.mjs';
|
|
47
|
+
import '../chunks/chevrons-up-down-C5lu4ULp.mjs';
|
|
48
|
+
import '../chunks/check-VfNn6myv.mjs';
|
|
49
|
+
import '../chunks/command-e20cpPEv.mjs';
|
|
50
|
+
import '../chunks/dialog-B20zSjze.mjs';
|
|
45
51
|
import 'class-variance-authority';
|
|
46
|
-
import '../chunks/wand-sparkles-
|
|
47
|
-
import '../chunks/tooltip-
|
|
48
|
-
import '../chunks/index-
|
|
49
|
-
import '../chunks/index-
|
|
50
|
-
import '../chunks/index-
|
|
51
|
-
import '../chunks/index
|
|
52
|
-
import '../chunks/index-Dc-XYHvj.mjs';
|
|
53
|
-
import '../chunks/chevron-left-6HkYwJhz.mjs';
|
|
54
|
-
import '../chunks/chevron-right-CS62g5Sl.mjs';
|
|
55
|
-
import '../chunks/chevron-down-BoCGZarH.mjs';
|
|
56
|
-
import '../chunks/index-CucrelNM.mjs';
|
|
52
|
+
import '../chunks/wand-sparkles-C3OGp2qM.mjs';
|
|
53
|
+
import '../chunks/tooltip-CI9dbI1p.mjs';
|
|
54
|
+
import '../chunks/index-B5fbJZIT.mjs';
|
|
55
|
+
import '../chunks/index-Csf3aM1P.mjs';
|
|
56
|
+
import '../chunks/index-DslxcA48.mjs';
|
|
57
|
+
import '../chunks/index-3TdUvynV.mjs';
|
|
57
58
|
import '@radix-ui/react-select';
|
|
58
59
|
|
|
59
60
|
const __iconNode = [
|
|
@@ -167,8 +168,7 @@ function s(o$1, s, t) {
|
|
|
167
168
|
};
|
|
168
169
|
}
|
|
169
170
|
|
|
170
|
-
|
|
171
|
-
function TableFilter({ table, defaultSide = "right", disabled, title, schema, fieldConfigs, defaultFilterValues, appliedFiltersCount = 0, setAppliedFiltersCount, applyFiltersOnMount, onClearFilters, onApplyFilters, badgeMultiselectVariant = "default", badgeMultiselectSubtle = false }) {
|
|
171
|
+
function TableFilter({ table, defaultSide = "right", disabled, title, schema, fieldConfigs, defaultFilterValues, appliedFiltersCount = 0, setAppliedFiltersCount, applyFiltersOnMount, onClearFilters, onApplyFilters, badgeMultiselectVariant = "default", badgeMultiselectSubtle = false, prepareFilterStorage }) {
|
|
172
172
|
React__default.useEffect(()=>{
|
|
173
173
|
for (const { name, filterType } of fieldConfigs){
|
|
174
174
|
const column = table.getColumn(name);
|
|
@@ -203,7 +203,6 @@ function TableFilter({ table, defaultSide = "right", disabled, title, schema, fi
|
|
|
203
203
|
// Para strings (texto e data), verificar se não está vazio
|
|
204
204
|
if (typeof value === "string") return value.trim() !== "";
|
|
205
205
|
if (typeof value === "object") {
|
|
206
|
-
// biome-ignore lint/suspicious/noExplicitAny: <any>
|
|
207
206
|
const val = value;
|
|
208
207
|
// Para DateRange, verificar se tem from ou to
|
|
209
208
|
if ("from" in val || "to" in val) {
|
|
@@ -237,7 +236,8 @@ function TableFilter({ table, defaultSide = "right", disabled, title, schema, fi
|
|
|
237
236
|
onClearFilters();
|
|
238
237
|
}
|
|
239
238
|
}, []);
|
|
240
|
-
const handleApplyFilters = (
|
|
239
|
+
const handleApplyFilters = (formValues)=>{
|
|
240
|
+
const data = prepareFilterStorage ? prepareFilterStorage(formValues) : formValues;
|
|
241
241
|
const allFieldsEmpty = Object.entries(data).every(([, value])=>{
|
|
242
242
|
// Para arrays (multiselect), verificar se tem itens
|
|
243
243
|
if (Array.isArray(value)) {
|
|
@@ -295,10 +295,14 @@ function TableFilter({ table, defaultSide = "right", disabled, title, schema, fi
|
|
|
295
295
|
return value !== null && value !== "";
|
|
296
296
|
});
|
|
297
297
|
if (!hasValues) return;
|
|
298
|
-
for (const { name } of fieldConfigs){
|
|
298
|
+
for (const { name, type } of fieldConfigs){
|
|
299
299
|
const column = table.getColumn(name);
|
|
300
300
|
if (column) {
|
|
301
301
|
let filterValue = data[name];
|
|
302
|
+
// Normalização automática para campos de data
|
|
303
|
+
if (type === "date" && filterValue) {
|
|
304
|
+
filterValue = tryParseDateFilter(filterValue);
|
|
305
|
+
}
|
|
302
306
|
if (Array.isArray(filterValue) && filterValue.length === 0) {
|
|
303
307
|
filterValue = undefined;
|
|
304
308
|
}
|
|
@@ -387,14 +391,13 @@ function TableFilter({ table, defaultSide = "right", disabled, title, schema, fi
|
|
|
387
391
|
}, /*#__PURE__*/ React__default.createElement("div", {
|
|
388
392
|
className: "space-y-4 pb-2"
|
|
389
393
|
}, fieldConfigs.map(({ name, label, placeholder, type, allowNegative, isCurrency, isPercent, options, style, items, description, currency })=>/*#__PURE__*/ React__default.createElement(FormField, {
|
|
390
|
-
key: String(name)
|
|
394
|
+
key: `${String(name)}-${clearTrigger}`,
|
|
391
395
|
control: form.control,
|
|
392
396
|
name: name,
|
|
393
397
|
render: ({ field })=>/*#__PURE__*/ React__default.createElement(FormItem, {
|
|
394
398
|
className: "pr-4 pl-1"
|
|
395
399
|
}, /*#__PURE__*/ React__default.createElement(FormLabel, null, label), /*#__PURE__*/ React__default.createElement(FormControl, null, type === "number" ? /*#__PURE__*/ React__default.createElement(NumericFormat, {
|
|
396
400
|
placeholder: placeholder,
|
|
397
|
-
// biome-ignore lint/suspicious/noExplicitAny: <any>
|
|
398
401
|
value: field.value ?? "",
|
|
399
402
|
maxLength: isCurrency ? undefined : 15,
|
|
400
403
|
allowNegative: allowNegative ?? true,
|
|
@@ -410,24 +413,15 @@ function TableFilter({ table, defaultSide = "right", disabled, title, schema, fi
|
|
|
410
413
|
thousandSeparator: ".",
|
|
411
414
|
suffix: isPercent ? "%" : undefined,
|
|
412
415
|
prefix: currency === "BRL" ? "R$ " : undefined
|
|
413
|
-
}) : type === "date" ? /*#__PURE__*/ React__default.createElement(
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
variant: "outline",
|
|
417
|
-
className: cn("text-foreground hover:text-foreground w-full items-center justify-start px-3 text-left font-normal hover:bg-inherit", !field.value && "text-muted-foreground hover:text-muted-foreground")
|
|
418
|
-
}, /*#__PURE__*/ React__default.createElement(CalendarDays, {
|
|
419
|
-
className: "h-4 w-4"
|
|
420
|
-
}), field.value ? formatDateToBrazilian(field.value) : /*#__PURE__*/ React__default.createElement("span", null, "Selecione uma data")))), /*#__PURE__*/ React__default.createElement(PopoverContent, {
|
|
421
|
-
className: "border-switch z-99999999999 mr-12 w-auto p-0"
|
|
422
|
-
}, /*#__PURE__*/ React__default.createElement(Calendar, {
|
|
423
|
-
captionLayout: "dropdown",
|
|
424
|
-
mode: "single",
|
|
425
|
-
locale: ptBR,
|
|
426
|
-
selected: field.value ? parseFieldDate(field.value) : undefined,
|
|
427
|
-
onSelect: (date)=>{
|
|
416
|
+
}) : type === "date" ? /*#__PURE__*/ React__default.createElement(DatePicker, {
|
|
417
|
+
date: field.value,
|
|
418
|
+
setDate: (date)=>{
|
|
428
419
|
field.onChange(date ? format(date, "yyyy-MM-dd") : "");
|
|
429
|
-
}
|
|
430
|
-
|
|
420
|
+
},
|
|
421
|
+
placeholder: placeholder,
|
|
422
|
+
className: "w-full",
|
|
423
|
+
popoverContentClassName: "border-switch z-[99999999999] mr-12"
|
|
424
|
+
}) : type === "checkbox" && options ? /*#__PURE__*/ React__default.createElement("div", {
|
|
431
425
|
className: "flex flex-wrap items-center gap-2"
|
|
432
426
|
}, options.map((option)=>/*#__PURE__*/ React__default.createElement(FormControl, {
|
|
433
427
|
key: option.value,
|
|
@@ -461,7 +455,7 @@ function TableFilter({ table, defaultSide = "right", disabled, title, schema, fi
|
|
|
461
455
|
field.onChange(unformattedValue);
|
|
462
456
|
}
|
|
463
457
|
}) : type === "dateRange" ? /*#__PURE__*/ React__default.createElement(FormField, {
|
|
464
|
-
key: field.name
|
|
458
|
+
key: `${field.name}-range-${clearTrigger}`,
|
|
465
459
|
control: form.control,
|
|
466
460
|
name: field.name,
|
|
467
461
|
render: ({ field: controller })=>/*#__PURE__*/ React__default.createElement(CalendarRange, {
|
|
@@ -472,7 +466,6 @@ function TableFilter({ table, defaultSide = "right", disabled, title, schema, fi
|
|
|
472
466
|
className: "h-10 w-full"
|
|
473
467
|
})
|
|
474
468
|
}) : type === "select" && items ? /*#__PURE__*/ React__default.createElement(ComboboxField, {
|
|
475
|
-
// biome-ignore lint/suspicious/noExplicitAny: <any>
|
|
476
469
|
value: field.value ?? [],
|
|
477
470
|
onChange: (val)=>field.onChange(val),
|
|
478
471
|
items: items,
|