ivt 0.5.7 → 0.5.8
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 +15 -15
- package/dist/accordion-table/index.mjs +27 -27
- package/dist/alert/index.mjs +2 -2
- package/dist/alert-dialog/index.mjs +17 -17
- package/dist/aspect-ratio/index.mjs +1 -1
- package/dist/avatar/index.mjs +7 -7
- package/dist/badge/index.mjs +3 -3
- package/dist/base/index.d.ts +1 -0
- package/dist/base/index.mjs +56 -49
- 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 +4 -4
- 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 +14 -14
- package/dist/chunks/{CalendarRange-B6J1x7Yy.mjs → CalendarRange-BBDdipiF.mjs} +8 -8
- package/dist/chunks/{CalendarRange-B6J1x7Yy.mjs.map → CalendarRange-BBDdipiF.mjs.map} +1 -1
- package/dist/chunks/{ComboboxField-DKuq1AKZ.mjs → ComboboxField-CQ9hWD8h.mjs} +9 -9
- package/dist/chunks/{ComboboxField-DKuq1AKZ.mjs.map → ComboboxField-CQ9hWD8h.mjs.map} +1 -1
- package/dist/chunks/{Container-BxlDXTcp.mjs → Container-Dc7omjsi.mjs} +2 -2
- package/dist/chunks/{Container-BxlDXTcp.mjs.map → Container-Dc7omjsi.mjs.map} +1 -1
- package/dist/chunks/{DeleteConfirmationModal-e65HVv-S.mjs → DeleteConfirmationModal-DY1WIUjV.mjs} +4 -4
- package/dist/chunks/{DeleteConfirmationModal-e65HVv-S.mjs.map → DeleteConfirmationModal-DY1WIUjV.mjs.map} +1 -1
- package/dist/chunks/{TooltipIndicator-CN_auquL.mjs → TooltipIndicator-CRQxZJc4.mjs} +4 -4
- package/dist/chunks/{TooltipIndicator-CN_auquL.mjs.map → TooltipIndicator-CRQxZJc4.mjs.map} +1 -1
- package/dist/chunks/{_commonjsHelpers-Dj8Kr2rQ.mjs → _commonjsHelpers-CHnJMbeQ.mjs} +1 -1
- package/dist/chunks/_commonjsHelpers-CHnJMbeQ.mjs.map +1 -0
- package/dist/chunks/{accordion-ymmOEBfQ.mjs → accordion-Cs11bdwn.mjs} +11 -11
- package/dist/chunks/{accordion-ymmOEBfQ.mjs.map → accordion-Cs11bdwn.mjs.map} +1 -1
- package/dist/chunks/{badge-Bdwyxw3I.mjs → badge-OLIlDazt.mjs} +2 -2
- package/dist/chunks/{badge-Bdwyxw3I.mjs.map → badge-OLIlDazt.mjs.map} +1 -1
- package/dist/chunks/{bundle-mjs-CwF_jj9z.mjs → bundle-mjs-CDsJv8mx.mjs} +1 -1
- package/dist/chunks/{bundle-mjs-CwF_jj9z.mjs.map → bundle-mjs-CDsJv8mx.mjs.map} +1 -1
- package/dist/chunks/{button-BtNSgexc.mjs → button-C8kDXHHO.mjs} +2 -2
- package/dist/chunks/{button-BtNSgexc.mjs.map → button-C8kDXHHO.mjs.map} +1 -1
- package/dist/chunks/{calendar-BzT7glLL.mjs → calendar-B3ttB6VU.mjs} +7 -7
- package/dist/chunks/{calendar-BzT7glLL.mjs.map → calendar-B3ttB6VU.mjs.map} +1 -1
- package/dist/chunks/{calendar-days-Dn7rqkMk.mjs → calendar-days-DywZyGDA.mjs} +2 -2
- package/dist/chunks/{calendar-days-Dn7rqkMk.mjs.map → calendar-days-DywZyGDA.mjs.map} +1 -1
- package/dist/chunks/{card-CV6kQohd.mjs → card-DZyd1XuD.mjs} +2 -2
- package/dist/chunks/{card-CV6kQohd.mjs.map → card-DZyd1XuD.mjs.map} +1 -1
- package/dist/chunks/{check-TyRJdtqa.mjs → check-LwrFK8tw.mjs} +2 -2
- package/dist/chunks/{check-TyRJdtqa.mjs.map → check-LwrFK8tw.mjs.map} +1 -1
- package/dist/chunks/{checkbox-2okt3zhD.mjs → checkbox-ggJwH1Qi.mjs} +11 -11
- package/dist/chunks/{checkbox-2okt3zhD.mjs.map → checkbox-ggJwH1Qi.mjs.map} +1 -1
- package/dist/chunks/{chevron-down-DPe3wUSx.mjs → chevron-down-BW_fza_f.mjs} +2 -2
- package/dist/chunks/{chevron-down-DPe3wUSx.mjs.map → chevron-down-BW_fza_f.mjs.map} +1 -1
- package/dist/chunks/{chevron-left-Dr2znK-e.mjs → chevron-left-iSYNdGiZ.mjs} +2 -2
- package/dist/chunks/{chevron-left-Dr2znK-e.mjs.map → chevron-left-iSYNdGiZ.mjs.map} +1 -1
- package/dist/chunks/{chevron-right-DmVvAueL.mjs → chevron-right-BDBexrwi.mjs} +2 -2
- package/dist/chunks/{chevron-right-DmVvAueL.mjs.map → chevron-right-BDBexrwi.mjs.map} +1 -1
- package/dist/chunks/{chevrons-up-down-Clez-9zt.mjs → chevrons-up-down-krhX0LvO.mjs} +2 -2
- package/dist/chunks/{chevrons-up-down-Clez-9zt.mjs.map → chevrons-up-down-krhX0LvO.mjs.map} +1 -1
- package/dist/chunks/{command-EU3dDbf_.mjs → command-Dmn5Zotf.mjs} +8 -8
- package/dist/chunks/{command-EU3dDbf_.mjs.map → command-Dmn5Zotf.mjs.map} +1 -1
- package/dist/chunks/{createLucideIcon-PuoJamGs.mjs → createLucideIcon-Cs209BXY.mjs} +1 -1
- package/dist/chunks/{createLucideIcon-PuoJamGs.mjs.map → createLucideIcon-Cs209BXY.mjs.map} +1 -1
- package/dist/chunks/{date-BWzlXmaG.mjs → date-Cp5v7MCD.mjs} +2 -2
- package/dist/chunks/{date-BWzlXmaG.mjs.map → date-Cp5v7MCD.mjs.map} +1 -1
- package/dist/chunks/{dialog-BMq_EiaM.mjs → dialog-DGL-wjm5.mjs} +4 -4
- package/dist/chunks/{dialog-BMq_EiaM.mjs.map → dialog-DGL-wjm5.mjs.map} +1 -1
- package/dist/chunks/{ellipsis-D5nNS0KK.mjs → ellipsis-z3pVR1Ha.mjs} +2 -2
- package/dist/chunks/{ellipsis-D5nNS0KK.mjs.map → ellipsis-z3pVR1Ha.mjs.map} +1 -1
- package/dist/chunks/{form-CfJLpjew.mjs → form-Bfc0Vrf9.mjs} +3 -3
- package/dist/chunks/{form-CfJLpjew.mjs.map → form-Bfc0Vrf9.mjs.map} +1 -1
- package/dist/chunks/{format-Bkb4ydYM.mjs → format-Bw766LiP.mjs} +1 -1
- package/dist/chunks/{format-Bkb4ydYM.mjs.map → format-Bw766LiP.mjs.map} +1 -1
- package/dist/chunks/{format-numbers-DY98wgq_.mjs → format-numbers-B2Xg1Xd4.mjs} +1 -1
- package/dist/chunks/{format-numbers-DY98wgq_.mjs.map → format-numbers-B2Xg1Xd4.mjs.map} +1 -1
- package/dist/chunks/{hover-card-gTAgs7UB.mjs → hover-card-B1iaMKeT.mjs} +11 -11
- package/dist/chunks/{hover-card-gTAgs7UB.mjs.map → hover-card-B1iaMKeT.mjs.map} +1 -1
- package/dist/chunks/{index-DPl20FvM.mjs → index-5BIVlsf0.mjs} +2 -2
- package/dist/chunks/{index-DPl20FvM.mjs.map → index-5BIVlsf0.mjs.map} +1 -1
- package/dist/chunks/{index-O_vhyjqe.mjs → index-7aYTflwq.mjs} +1 -1
- package/dist/chunks/{index-O_vhyjqe.mjs.map → index-7aYTflwq.mjs.map} +1 -1
- package/dist/chunks/{index-bkyl4p2E.mjs → index-B79kyzoW.mjs} +1 -1
- package/dist/chunks/{index-bkyl4p2E.mjs.map → index-B79kyzoW.mjs.map} +1 -1
- package/dist/chunks/{index-B_Y9pqrY.mjs → index-BKBEmeOE.mjs} +1 -1
- package/dist/chunks/{index-B_Y9pqrY.mjs.map → index-BKBEmeOE.mjs.map} +1 -1
- package/dist/chunks/{index-CQlPyAtR.mjs → index-BYjPaTiQ.mjs} +15 -15
- package/dist/chunks/{index-CQlPyAtR.mjs.map → index-BYjPaTiQ.mjs.map} +1 -1
- package/dist/chunks/{index-CjsV2E2h.mjs → index-BamMmpxT.mjs} +11 -11
- package/dist/chunks/{index-CjsV2E2h.mjs.map → index-BamMmpxT.mjs.map} +1 -1
- package/dist/chunks/{index-CWjsfCPV.mjs → index-Bbl_XfK5.mjs} +2 -2
- package/dist/chunks/{index-CWjsfCPV.mjs.map → index-Bbl_XfK5.mjs.map} +1 -1
- package/dist/chunks/{index-B2rYWtDF.mjs → index-BwahdO40.mjs} +3 -3
- package/dist/chunks/{index-B2rYWtDF.mjs.map → index-BwahdO40.mjs.map} +1 -1
- package/dist/chunks/{index-C9_8aC95.mjs → index-CHnGKuc1.mjs} +7 -7
- package/dist/chunks/{index-C9_8aC95.mjs.map → index-CHnGKuc1.mjs.map} +1 -1
- package/dist/chunks/{index-DH87EZ4W.mjs → index-CJznEDFQ.mjs} +1 -1
- package/dist/chunks/{index-DH87EZ4W.mjs.map → index-CJznEDFQ.mjs.map} +1 -1
- package/dist/chunks/{index-BRYOOGYt.mjs → index-Ctl41mbz.mjs} +1 -1
- package/dist/chunks/{index-BRYOOGYt.mjs.map → index-Ctl41mbz.mjs.map} +1 -1
- package/dist/chunks/{index-ZFl1NRtT.mjs → index-CuPJzY2D.mjs} +9 -9
- package/dist/chunks/{index-ZFl1NRtT.mjs.map → index-CuPJzY2D.mjs.map} +1 -1
- package/dist/chunks/{index-CY7rSsKT.mjs → index-D1Oqvl53.mjs} +2 -2
- package/dist/chunks/{index-CY7rSsKT.mjs.map → index-D1Oqvl53.mjs.map} +1 -1
- package/dist/chunks/{index-CZgLnzan.mjs → index-D33V_3rS.mjs} +1 -1
- package/dist/chunks/{index-CZgLnzan.mjs.map → index-D33V_3rS.mjs.map} +1 -1
- package/dist/chunks/{index-BmNJQBZT.mjs → index-D3kx7k_i.mjs} +1 -1
- package/dist/chunks/{index-BmNJQBZT.mjs.map → index-D3kx7k_i.mjs.map} +1 -1
- package/dist/chunks/{index-B3qNg03Q.mjs → index-DM3MyE-N.mjs} +9 -9
- package/dist/chunks/{index-B3qNg03Q.mjs.map → index-DM3MyE-N.mjs.map} +1 -1
- package/dist/chunks/{index-CBE_CuM0.mjs → index-Df3YRRgX.mjs} +5 -5
- package/dist/chunks/{index-CBE_CuM0.mjs.map → index-Df3YRRgX.mjs.map} +1 -1
- package/dist/chunks/{index-t0_4qi-T.mjs → index-EhkpAtV_.mjs} +2 -2
- package/dist/chunks/{index-t0_4qi-T.mjs.map → index-EhkpAtV_.mjs.map} +1 -1
- package/dist/chunks/{index-C1gfRtpW.mjs → index-TBrLKN9p.mjs} +1 -1
- package/dist/chunks/{index-C1gfRtpW.mjs.map → index-TBrLKN9p.mjs.map} +1 -1
- package/dist/chunks/{index-C0_rzV0O.mjs → index-YOMvi8__.mjs} +1 -1
- package/dist/chunks/{index-C0_rzV0O.mjs.map → index-YOMvi8__.mjs.map} +1 -1
- package/dist/chunks/{index-BdP_9M8C.mjs → index-ZrPnvFCM.mjs} +1 -1
- package/dist/chunks/{index-BdP_9M8C.mjs.map → index-ZrPnvFCM.mjs.map} +1 -1
- package/dist/chunks/{index-DRuAMnOw.mjs → index-g06EAstv.mjs} +5 -5
- package/dist/chunks/{index-DRuAMnOw.mjs.map → index-g06EAstv.mjs.map} +1 -1
- package/dist/chunks/{index-KLdt0FXh.mjs → index-wKi7FsfC.mjs} +3 -3
- package/dist/chunks/{index-KLdt0FXh.mjs.map → index-wKi7FsfC.mjs.map} +1 -1
- package/dist/chunks/{input-C3fkPeG_.mjs → input-Cq3hRDLY.mjs} +2 -2
- package/dist/chunks/{input-C3fkPeG_.mjs.map → input-Cq3hRDLY.mjs.map} +1 -1
- package/dist/chunks/{label-ClO7_a3V.mjs → label-D9mw8gry.mjs} +3 -3
- package/dist/chunks/{label-ClO7_a3V.mjs.map → label-D9mw8gry.mjs.map} +1 -1
- package/dist/chunks/{loader-circle-BqBrcqkQ.mjs → loader-circle-DN94bZLW.mjs} +2 -2
- package/dist/chunks/{loader-circle-BqBrcqkQ.mjs.map → loader-circle-DN94bZLW.mjs.map} +1 -1
- package/dist/chunks/{multi-select-DljYuXa4.mjs → multi-select-p8e7hqdd.mjs} +12 -12
- package/dist/chunks/{multi-select-DljYuXa4.mjs.map → multi-select-p8e7hqdd.mjs.map} +1 -1
- package/dist/chunks/{pagination-D7L2vbck.mjs → pagination-DVnnlPCe.mjs} +6 -6
- package/dist/chunks/{pagination-D7L2vbck.mjs.map → pagination-DVnnlPCe.mjs.map} +1 -1
- package/dist/chunks/{popover-C1aNGeey.mjs → popover-Cxd1LZHE.mjs} +13 -13
- package/dist/chunks/{popover-C1aNGeey.mjs.map → popover-Cxd1LZHE.mjs.map} +1 -1
- package/dist/chunks/{progress-D0vzug-J.mjs → progress-BHF75OVa.mjs} +4 -4
- package/dist/chunks/{progress-D0vzug-J.mjs.map → progress-BHF75OVa.mjs.map} +1 -1
- package/dist/chunks/{react-number-format.es-BebBtQNl.mjs → react-number-format.es-BBXgiDBD.mjs} +1 -1
- package/dist/chunks/{react-number-format.es-BebBtQNl.mjs.map → react-number-format.es-BBXgiDBD.mjs.map} +1 -1
- package/dist/chunks/{scroll-area-DnOrBNhw.mjs → scroll-area-DTwYYQ8q.mjs} +11 -11
- package/dist/chunks/{scroll-area-DnOrBNhw.mjs.map → scroll-area-DTwYYQ8q.mjs.map} +1 -1
- package/dist/chunks/{select-DZFrWKa9.mjs → select-Bkmq2X8X.mjs} +5 -5
- package/dist/chunks/{select-DZFrWKa9.mjs.map → select-Bkmq2X8X.mjs.map} +1 -1
- package/dist/chunks/{separator-Cy1u4QGj.mjs → separator-gh3PBnpH.mjs} +3 -3
- package/dist/chunks/{separator-Cy1u4QGj.mjs.map → separator-gh3PBnpH.mjs.map} +1 -1
- package/dist/chunks/{sheet-UhlywLCQ.mjs → sheet-BT9RwmPS.mjs} +4 -4
- package/dist/chunks/{sheet-UhlywLCQ.mjs.map → sheet-BT9RwmPS.mjs.map} +1 -1
- package/dist/chunks/{skeleton-CAkZfLJU.mjs → skeleton-CXrLE3fs.mjs} +2 -2
- package/dist/chunks/{skeleton-CAkZfLJU.mjs.map → skeleton-CXrLE3fs.mjs.map} +1 -1
- package/dist/chunks/{sortable-CqaoTR3I.mjs → sortable-DC4HebwV.mjs} +3 -3
- package/dist/chunks/{sortable-CqaoTR3I.mjs.map → sortable-DC4HebwV.mjs.map} +1 -1
- package/dist/chunks/{table-DtYzDvg1.mjs → table-nPqfWR0d.mjs} +2 -2
- package/dist/chunks/{table-DtYzDvg1.mjs.map → table-nPqfWR0d.mjs.map} +1 -1
- package/dist/chunks/{textarea-DnLcBKio.mjs → textarea-CvJAEfFK.mjs} +2 -2
- package/dist/chunks/{textarea-DnLcBKio.mjs.map → textarea-CvJAEfFK.mjs.map} +1 -1
- package/dist/chunks/{toggle-DCO007-l.mjs → toggle-UnHxq53A.mjs} +5 -5
- package/dist/chunks/{toggle-DCO007-l.mjs.map → toggle-UnHxq53A.mjs.map} +1 -1
- package/dist/chunks/{tooltip-Dyp4dubr.mjs → tooltip-B8zF2C8j.mjs} +13 -13
- package/dist/chunks/{tooltip-Dyp4dubr.mjs.map → tooltip-B8zF2C8j.mjs.map} +1 -1
- package/dist/chunks/{trash-2-ImUsqVCq.mjs → trash-2-CMgAgkKK.mjs} +2 -2
- package/dist/chunks/{trash-2-ImUsqVCq.mjs.map → trash-2-CMgAgkKK.mjs.map} +1 -1
- package/dist/chunks/{triangle-alert-gCMT5OAG.mjs → triangle-alert-XjlHTdeo.mjs} +2 -2
- package/dist/chunks/{triangle-alert-gCMT5OAG.mjs.map → triangle-alert-XjlHTdeo.mjs.map} +1 -1
- package/dist/chunks/{tslib.es6-SGuOiL7t.mjs → tslib.es6--9nUwZOO.mjs} +1 -1
- package/dist/chunks/{tslib.es6-SGuOiL7t.mjs.map → tslib.es6--9nUwZOO.mjs.map} +1 -1
- package/dist/chunks/{utils-Cbs-uxBq.mjs → utils-Cle2i1lJ.mjs} +2 -2
- package/dist/chunks/{utils-Cbs-uxBq.mjs.map → utils-Cle2i1lJ.mjs.map} +1 -1
- package/dist/chunks/{x-dyn358tn.mjs → x-CSOUAHrZ.mjs} +2 -2
- package/dist/chunks/{x-dyn358tn.mjs.map → x-CSOUAHrZ.mjs.map} +1 -1
- package/dist/collapsible/index.mjs +9 -9
- package/dist/combobox/index.mjs +26 -26
- package/dist/command/index.mjs +20 -20
- package/dist/context-menu/index.mjs +23 -23
- package/dist/dash/index.mjs +25 -25
- package/dist/data-table/index.d.ts +16 -3
- package/dist/data-table/index.mjs +80 -52
- package/dist/data-table/index.mjs.map +1 -1
- package/dist/date-picker/index.mjs +27 -27
- package/dist/dialog/index.mjs +19 -19
- package/dist/drawer/index.mjs +16 -16
- package/dist/dropdown-menu/index.mjs +23 -23
- package/dist/dropzone/index.mjs +18 -18
- package/dist/editable-table/index.mjs +10 -10
- package/dist/empty/index.mjs +2 -2
- package/dist/field/index.mjs +5 -5
- package/dist/form/index.mjs +5 -5
- package/dist/form-fields/index.mjs +28 -28
- package/dist/hover-card/index.mjs +15 -15
- 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 +3 -3
- package/dist/item/index.mjs +4 -4
- package/dist/ivt.css +1 -1
- package/dist/kbd/index.mjs +2 -2
- package/dist/label/index.mjs +4 -4
- package/dist/layout/index.mjs +6 -6
- package/dist/menubar/index.mjs +23 -23
- package/dist/multi-select/index.mjs +31 -31
- package/dist/navigation-menu/index.mjs +17 -17
- package/dist/pagination/index.mjs +8 -8
- package/dist/popover/index.mjs +18 -18
- package/dist/progress/index.mjs +5 -5
- package/dist/radio-group/index.mjs +17 -17
- package/dist/resizable/index.mjs +3 -3
- package/dist/scroll-area/index.mjs +12 -12
- package/dist/select/index.mjs +6 -6
- package/dist/separator/index.mjs +4 -4
- package/dist/shared/index.mjs +5 -5
- package/dist/sheet/index.mjs +19 -19
- package/dist/sidebar/index.mjs +27 -27
- package/dist/skeleton/index.mjs +3 -3
- package/dist/skeleton-component/index.mjs +4 -4
- package/dist/slider/index.mjs +12 -12
- package/dist/sortable/index.mjs +4 -4
- package/dist/spinner/index.mjs +4 -4
- package/dist/switch/index.mjs +10 -10
- package/dist/table/index.mjs +3 -3
- package/dist/table-filter/index.d.ts +29 -11
- package/dist/table-filter/index.mjs +82 -75
- package/dist/table-filter/index.mjs.map +1 -1
- package/dist/tabs/index.mjs +13 -13
- package/dist/textarea/index.mjs +3 -3
- package/dist/toast/index.mjs +15 -15
- package/dist/toggle/index.mjs +7 -7
- package/dist/toggle-group/index.mjs +13 -13
- package/dist/tooltip/index.mjs +17 -17
- package/package.json +1 -1
- package/dist/chunks/_commonjsHelpers-Dj8Kr2rQ.mjs.map +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { R as Root, C as CollapsibleTrigger$1, a as CollapsibleContent$1 } from '../chunks/index-
|
|
1
|
+
import { R as Root, C as CollapsibleTrigger$1, a as CollapsibleContent$1 } from '../chunks/index-DM3MyE-N.mjs';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import '../chunks/index-
|
|
4
|
-
import '../chunks/index-
|
|
3
|
+
import '../chunks/index-TBrLKN9p.mjs';
|
|
4
|
+
import '../chunks/index-D3kx7k_i.mjs';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
|
-
import '../chunks/index-
|
|
7
|
-
import '../chunks/index-
|
|
8
|
-
import '../chunks/index-
|
|
9
|
-
import '../chunks/index-
|
|
6
|
+
import '../chunks/index-D1Oqvl53.mjs';
|
|
7
|
+
import '../chunks/index-D33V_3rS.mjs';
|
|
8
|
+
import '../chunks/index-ZrPnvFCM.mjs';
|
|
9
|
+
import '../chunks/index-CJznEDFQ.mjs';
|
|
10
10
|
import 'react-dom';
|
|
11
11
|
import '@radix-ui/react-slot';
|
|
12
|
-
import '../chunks/index-
|
|
13
|
-
import '../chunks/index-
|
|
12
|
+
import '../chunks/index-wKi7FsfC.mjs';
|
|
13
|
+
import '../chunks/index-Bbl_XfK5.mjs';
|
|
14
14
|
|
|
15
15
|
function Collapsible({ ...props }) {
|
|
16
16
|
return /*#__PURE__*/ React.createElement(Root, {
|
package/dist/combobox/index.mjs
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { c as cn } from '../chunks/utils-
|
|
3
|
-
import { C as ChevronsUpDown } from '../chunks/chevrons-up-down-
|
|
4
|
-
import { C as Check } from '../chunks/check-
|
|
5
|
-
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-
|
|
6
|
-
import { B as Button } from '../chunks/button-
|
|
7
|
-
import { C as Command, b as CommandInput, c as CommandList, d as CommandEmpty, e as CommandGroup, f as CommandItem } from '../chunks/command-
|
|
8
|
-
import '../chunks/bundle-mjs-
|
|
9
|
-
import '../chunks/createLucideIcon-
|
|
10
|
-
import '../chunks/index-
|
|
11
|
-
import '../chunks/index-
|
|
12
|
-
import '../chunks/index-
|
|
2
|
+
import { c as cn } from '../chunks/utils-Cle2i1lJ.mjs';
|
|
3
|
+
import { C as ChevronsUpDown } from '../chunks/chevrons-up-down-krhX0LvO.mjs';
|
|
4
|
+
import { C as Check } from '../chunks/check-LwrFK8tw.mjs';
|
|
5
|
+
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-Cxd1LZHE.mjs';
|
|
6
|
+
import { B as Button } from '../chunks/button-C8kDXHHO.mjs';
|
|
7
|
+
import { C as Command, b as CommandInput, c as CommandList, d as CommandEmpty, e as CommandGroup, f as CommandItem } from '../chunks/command-Dmn5Zotf.mjs';
|
|
8
|
+
import '../chunks/bundle-mjs-CDsJv8mx.mjs';
|
|
9
|
+
import '../chunks/createLucideIcon-Cs209BXY.mjs';
|
|
10
|
+
import '../chunks/index-TBrLKN9p.mjs';
|
|
11
|
+
import '../chunks/index-ZrPnvFCM.mjs';
|
|
12
|
+
import '../chunks/index-D3kx7k_i.mjs';
|
|
13
13
|
import 'react/jsx-runtime';
|
|
14
|
-
import '../chunks/index-
|
|
15
|
-
import '../chunks/index-
|
|
14
|
+
import '../chunks/index-Df3YRRgX.mjs';
|
|
15
|
+
import '../chunks/index-CJznEDFQ.mjs';
|
|
16
16
|
import 'react-dom';
|
|
17
17
|
import '@radix-ui/react-slot';
|
|
18
|
-
import '../chunks/index-
|
|
19
|
-
import '../chunks/index-
|
|
20
|
-
import '../chunks/tslib.es6
|
|
21
|
-
import '../chunks/index-
|
|
22
|
-
import '../chunks/index-
|
|
23
|
-
import '../chunks/index-
|
|
24
|
-
import '../chunks/index-
|
|
25
|
-
import '../chunks/index-
|
|
26
|
-
import '../chunks/index-
|
|
27
|
-
import '../chunks/index-
|
|
18
|
+
import '../chunks/index-Ctl41mbz.mjs';
|
|
19
|
+
import '../chunks/index-g06EAstv.mjs';
|
|
20
|
+
import '../chunks/tslib.es6--9nUwZOO.mjs';
|
|
21
|
+
import '../chunks/index-Bbl_XfK5.mjs';
|
|
22
|
+
import '../chunks/index-D33V_3rS.mjs';
|
|
23
|
+
import '../chunks/index-CHnGKuc1.mjs';
|
|
24
|
+
import '../chunks/index-EhkpAtV_.mjs';
|
|
25
|
+
import '../chunks/index-BwahdO40.mjs';
|
|
26
|
+
import '../chunks/index-wKi7FsfC.mjs';
|
|
27
|
+
import '../chunks/index-D1Oqvl53.mjs';
|
|
28
28
|
import 'class-variance-authority';
|
|
29
|
-
import '../chunks/index-
|
|
30
|
-
import '../chunks/dialog-
|
|
31
|
-
import '../chunks/x-
|
|
29
|
+
import '../chunks/index-BamMmpxT.mjs';
|
|
30
|
+
import '../chunks/dialog-DGL-wjm5.mjs';
|
|
31
|
+
import '../chunks/x-CSOUAHrZ.mjs';
|
|
32
32
|
|
|
33
33
|
const specialCharacterMap = [
|
|
34
34
|
[
|
package/dist/command/index.mjs
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
export { C as Command, a as CommandDialog, d as CommandEmpty, e as CommandGroup, b as CommandInput, f as CommandItem, c as CommandList, h as CommandSeparator, g as CommandShortcut } from '../chunks/command-
|
|
2
|
-
import '../chunks/index-
|
|
1
|
+
export { C as Command, a as CommandDialog, d as CommandEmpty, e as CommandGroup, b as CommandInput, f as CommandItem, c as CommandList, h as CommandSeparator, g as CommandShortcut } from '../chunks/command-Dmn5Zotf.mjs';
|
|
2
|
+
import '../chunks/index-BamMmpxT.mjs';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../chunks/index-
|
|
5
|
-
import '../chunks/index-
|
|
6
|
-
import '../chunks/index-
|
|
4
|
+
import '../chunks/index-TBrLKN9p.mjs';
|
|
5
|
+
import '../chunks/index-ZrPnvFCM.mjs';
|
|
6
|
+
import '../chunks/index-D3kx7k_i.mjs';
|
|
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-
|
|
8
|
+
import '../chunks/index-Bbl_XfK5.mjs';
|
|
9
|
+
import '../chunks/index-D33V_3rS.mjs';
|
|
10
|
+
import '../chunks/index-D1Oqvl53.mjs';
|
|
11
|
+
import '../chunks/index-Df3YRRgX.mjs';
|
|
12
|
+
import '../chunks/index-CJznEDFQ.mjs';
|
|
13
13
|
import 'react-dom';
|
|
14
14
|
import '@radix-ui/react-slot';
|
|
15
|
-
import '../chunks/index-
|
|
16
|
-
import '../chunks/index-
|
|
17
|
-
import '../chunks/tslib.es6
|
|
18
|
-
import '../chunks/index-
|
|
19
|
-
import '../chunks/index-
|
|
20
|
-
import '../chunks/utils-
|
|
21
|
-
import '../chunks/bundle-mjs-
|
|
22
|
-
import '../chunks/dialog-
|
|
23
|
-
import '../chunks/x-
|
|
24
|
-
import '../chunks/createLucideIcon-
|
|
15
|
+
import '../chunks/index-Ctl41mbz.mjs';
|
|
16
|
+
import '../chunks/index-g06EAstv.mjs';
|
|
17
|
+
import '../chunks/tslib.es6--9nUwZOO.mjs';
|
|
18
|
+
import '../chunks/index-BwahdO40.mjs';
|
|
19
|
+
import '../chunks/index-wKi7FsfC.mjs';
|
|
20
|
+
import '../chunks/utils-Cle2i1lJ.mjs';
|
|
21
|
+
import '../chunks/bundle-mjs-CDsJv8mx.mjs';
|
|
22
|
+
import '../chunks/dialog-DGL-wjm5.mjs';
|
|
23
|
+
import '../chunks/x-CSOUAHrZ.mjs';
|
|
24
|
+
import '../chunks/createLucideIcon-Cs209BXY.mjs';
|
|
25
25
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { c as composeEventHandlers } from '../chunks/index-
|
|
3
|
-
import { c as createContextScope } from '../chunks/index-
|
|
4
|
-
import { P as Primitive } from '../chunks/index-
|
|
5
|
-
import { c as createMenuScope, R as Root3, A as Anchor2, P as Portal, C as Content2$1, I as Item2$1, a as CheckboxItem, b as ItemIndicator, d as RadioItem, L as Label, S as Separator, G as Group, e as Sub, f as SubContent, g as SubTrigger, h as RadioGroup, i as Arrow2, j as Circle } from '../chunks/index-
|
|
6
|
-
import { u as useCallbackRef } from '../chunks/index-
|
|
7
|
-
import { u as useControllableState } from '../chunks/index-
|
|
2
|
+
import { c as composeEventHandlers } from '../chunks/index-TBrLKN9p.mjs';
|
|
3
|
+
import { c as createContextScope } from '../chunks/index-D3kx7k_i.mjs';
|
|
4
|
+
import { P as Primitive } from '../chunks/index-CJznEDFQ.mjs';
|
|
5
|
+
import { c as createMenuScope, R as Root3, A as Anchor2, P as Portal, C as Content2$1, I as Item2$1, a as CheckboxItem, b as ItemIndicator, d as RadioItem, L as Label, S as Separator, G as Group, e as Sub, f as SubContent, g as SubTrigger, h as RadioGroup, i as Arrow2, j as Circle } from '../chunks/index-BYjPaTiQ.mjs';
|
|
6
|
+
import { u as useCallbackRef } from '../chunks/index-Ctl41mbz.mjs';
|
|
7
|
+
import { u as useControllableState } from '../chunks/index-D1Oqvl53.mjs';
|
|
8
8
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
9
|
-
import { c as cn } from '../chunks/utils-
|
|
10
|
-
import { C as Check } from '../chunks/check-
|
|
11
|
-
import { C as ChevronRight } from '../chunks/chevron-right-
|
|
9
|
+
import { c as cn } from '../chunks/utils-Cle2i1lJ.mjs';
|
|
10
|
+
import { C as Check } from '../chunks/check-LwrFK8tw.mjs';
|
|
11
|
+
import { C as ChevronRight } from '../chunks/chevron-right-BDBexrwi.mjs';
|
|
12
12
|
import 'react-dom';
|
|
13
13
|
import '@radix-ui/react-slot';
|
|
14
|
-
import '../chunks/createLucideIcon-
|
|
14
|
+
import '../chunks/createLucideIcon-Cs209BXY.mjs';
|
|
15
15
|
import '@radix-ui/react-collection';
|
|
16
|
-
import '../chunks/index-
|
|
17
|
-
import '../chunks/index-
|
|
18
|
-
import '../chunks/index-
|
|
19
|
-
import '../chunks/index-
|
|
20
|
-
import '../chunks/tslib.es6
|
|
21
|
-
import '../chunks/index-
|
|
22
|
-
import '../chunks/index-
|
|
23
|
-
import '../chunks/index-
|
|
24
|
-
import '../chunks/index-
|
|
25
|
-
import '../chunks/index-
|
|
26
|
-
import '../chunks/index-
|
|
27
|
-
import '../chunks/index-
|
|
28
|
-
import '../chunks/bundle-mjs-
|
|
16
|
+
import '../chunks/index-ZrPnvFCM.mjs';
|
|
17
|
+
import '../chunks/index-7aYTflwq.mjs';
|
|
18
|
+
import '../chunks/index-Df3YRRgX.mjs';
|
|
19
|
+
import '../chunks/index-g06EAstv.mjs';
|
|
20
|
+
import '../chunks/tslib.es6--9nUwZOO.mjs';
|
|
21
|
+
import '../chunks/index-Bbl_XfK5.mjs';
|
|
22
|
+
import '../chunks/index-D33V_3rS.mjs';
|
|
23
|
+
import '../chunks/index-CHnGKuc1.mjs';
|
|
24
|
+
import '../chunks/index-EhkpAtV_.mjs';
|
|
25
|
+
import '../chunks/index-BwahdO40.mjs';
|
|
26
|
+
import '../chunks/index-wKi7FsfC.mjs';
|
|
27
|
+
import '../chunks/index-CuPJzY2D.mjs';
|
|
28
|
+
import '../chunks/bundle-mjs-CDsJv8mx.mjs';
|
|
29
29
|
|
|
30
30
|
var CONTEXT_MENU_NAME = "ContextMenu";
|
|
31
31
|
var [createContextMenuContext] = createContextScope(CONTEXT_MENU_NAME, [
|
package/dist/dash/index.mjs
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { c as cn } from '../chunks/utils-
|
|
3
|
-
import { a as formatNegative, f as formatNumberWithComma, b as formatMoney } from '../chunks/format-numbers-
|
|
4
|
-
import { C as Card, a as CardHeader, c as CardTitle, f as CardContent, b as CardFooter } from '../chunks/card-
|
|
5
|
-
import { T as TooltipIndicator } from '../chunks/TooltipIndicator-
|
|
6
|
-
import { S as Skeleton } from '../chunks/skeleton-
|
|
7
|
-
import { T as TriangleAlert } from '../chunks/triangle-alert-
|
|
8
|
-
import { f as formatDateToBrazilian } from '../chunks/date-
|
|
9
|
-
import { c as TooltipProvider, T as Tooltip, a as TooltipTrigger, b as TooltipContent } from '../chunks/tooltip-
|
|
10
|
-
import '../chunks/bundle-mjs-
|
|
11
|
-
import '../chunks/createLucideIcon-
|
|
12
|
-
import '../chunks/format-
|
|
13
|
-
import '../chunks/index-
|
|
14
|
-
import '../chunks/index-
|
|
15
|
-
import '../chunks/index-
|
|
2
|
+
import { c as cn } from '../chunks/utils-Cle2i1lJ.mjs';
|
|
3
|
+
import { a as formatNegative, f as formatNumberWithComma, b as formatMoney } from '../chunks/format-numbers-B2Xg1Xd4.mjs';
|
|
4
|
+
import { C as Card, a as CardHeader, c as CardTitle, f as CardContent, b as CardFooter } from '../chunks/card-DZyd1XuD.mjs';
|
|
5
|
+
import { T as TooltipIndicator } from '../chunks/TooltipIndicator-CRQxZJc4.mjs';
|
|
6
|
+
import { S as Skeleton } from '../chunks/skeleton-CXrLE3fs.mjs';
|
|
7
|
+
import { T as TriangleAlert } from '../chunks/triangle-alert-XjlHTdeo.mjs';
|
|
8
|
+
import { f as formatDateToBrazilian } from '../chunks/date-Cp5v7MCD.mjs';
|
|
9
|
+
import { c as TooltipProvider, T as Tooltip, a as TooltipTrigger, b as TooltipContent } from '../chunks/tooltip-B8zF2C8j.mjs';
|
|
10
|
+
import '../chunks/bundle-mjs-CDsJv8mx.mjs';
|
|
11
|
+
import '../chunks/createLucideIcon-Cs209BXY.mjs';
|
|
12
|
+
import '../chunks/format-Bw766LiP.mjs';
|
|
13
|
+
import '../chunks/index-TBrLKN9p.mjs';
|
|
14
|
+
import '../chunks/index-ZrPnvFCM.mjs';
|
|
15
|
+
import '../chunks/index-D3kx7k_i.mjs';
|
|
16
16
|
import 'react/jsx-runtime';
|
|
17
|
-
import '../chunks/index-
|
|
18
|
-
import '../chunks/index-
|
|
17
|
+
import '../chunks/index-Df3YRRgX.mjs';
|
|
18
|
+
import '../chunks/index-CJznEDFQ.mjs';
|
|
19
19
|
import 'react-dom';
|
|
20
20
|
import '@radix-ui/react-slot';
|
|
21
|
-
import '../chunks/index-
|
|
22
|
-
import '../chunks/index-
|
|
23
|
-
import '../chunks/index-
|
|
24
|
-
import '../chunks/index-
|
|
25
|
-
import '../chunks/index-
|
|
26
|
-
import '../chunks/index-
|
|
27
|
-
import '../chunks/index-
|
|
28
|
-
import '../chunks/index-
|
|
29
|
-
import '../chunks/index-
|
|
21
|
+
import '../chunks/index-Ctl41mbz.mjs';
|
|
22
|
+
import '../chunks/index-Bbl_XfK5.mjs';
|
|
23
|
+
import '../chunks/index-D33V_3rS.mjs';
|
|
24
|
+
import '../chunks/index-CHnGKuc1.mjs';
|
|
25
|
+
import '../chunks/index-EhkpAtV_.mjs';
|
|
26
|
+
import '../chunks/index-BwahdO40.mjs';
|
|
27
|
+
import '../chunks/index-wKi7FsfC.mjs';
|
|
28
|
+
import '../chunks/index-D1Oqvl53.mjs';
|
|
29
|
+
import '../chunks/index-5BIVlsf0.mjs';
|
|
30
30
|
|
|
31
31
|
function DashCard({ title, tooltip, value, footer, valueFormatter = (v)=>v, className, valueClassName, isLoading }) {
|
|
32
32
|
return /*#__PURE__*/ React__default.createElement(Card, {
|
|
@@ -20,12 +20,18 @@ interface DataTableViewOptionsProps$2<TData, TValue> {
|
|
|
20
20
|
fixedHeader?: boolean;
|
|
21
21
|
showPagination?: boolean;
|
|
22
22
|
renderTooltip?: (row: Row<TData>, rowContent: React__default.ReactNode) => React__default.ReactNode;
|
|
23
|
+
renderSubComponent?: (props: {
|
|
24
|
+
row: Row<TData>;
|
|
25
|
+
}) => React__default.ReactNode;
|
|
23
26
|
infoExtraLabel?: React__default.ReactNode;
|
|
27
|
+
showDataLabel?: boolean;
|
|
28
|
+
footerAction?: React__default.ReactNode;
|
|
29
|
+
maxVisualRows?: number;
|
|
24
30
|
}
|
|
25
31
|
interface ListParams$1 {
|
|
26
32
|
[propName: string]: string | string[];
|
|
27
33
|
}
|
|
28
|
-
declare const DataTableMainFrame: <TData, TValue>({ table, columns, isLoadingTable, loadingContent, setQueryParams, dataLabel, actionColumns, messageEmpty, dividingColumnKey, pageSizeOptions, className, scrollMaxHeightClass, isScrollable, fixedHeader, showPagination, renderTooltip, infoExtraLabel, }: DataTableViewOptionsProps$2<TData, TValue>) => react_jsx_runtime.JSX.Element;
|
|
34
|
+
declare const DataTableMainFrame: <TData, TValue>({ table, columns, isLoadingTable, loadingContent, setQueryParams, dataLabel, actionColumns, messageEmpty, dividingColumnKey, pageSizeOptions, className, scrollMaxHeightClass, isScrollable, fixedHeader, showPagination, showDataLabel, renderTooltip, renderSubComponent, infoExtraLabel, footerAction, maxVisualRows, }: DataTableViewOptionsProps$2<TData, TValue>) => react_jsx_runtime.JSX.Element;
|
|
29
35
|
|
|
30
36
|
type TreeData<T> = T & {
|
|
31
37
|
id: string | number;
|
|
@@ -53,10 +59,13 @@ interface DataTableViewOptionsProps$1<TData, TValue> {
|
|
|
53
59
|
showPagination?: boolean;
|
|
54
60
|
renderTooltip?: (row: Row<TData>, rowContent: React__default.ReactNode) => React__default.ReactNode;
|
|
55
61
|
infoExtraLabel?: React__default.ReactNode;
|
|
62
|
+
showDataLabel?: boolean;
|
|
63
|
+
footerAction?: React__default.ReactNode;
|
|
56
64
|
sortableValue?: TreeData<TData>[];
|
|
57
65
|
sortableOnValueChange?: (items: TreeData<TData>[]) => void;
|
|
58
66
|
sortableOnDragStart?: (event: DragStartEvent) => void;
|
|
59
67
|
sortableOnDragEnd?: (event: DragEndEvent) => void;
|
|
68
|
+
maxVisualRows?: number;
|
|
60
69
|
}
|
|
61
70
|
type RowData = {
|
|
62
71
|
[key: string]: any;
|
|
@@ -64,15 +73,19 @@ type RowData = {
|
|
|
64
73
|
interface ListParams {
|
|
65
74
|
[propName: string]: string | string[];
|
|
66
75
|
}
|
|
67
|
-
declare const DataTableMainFrameSortable: <TData extends RowData, TValue>({ table, columns, isLoadingTable, loadingContent, setQueryParams, dataLabel, actionColumns, data, messageEmpty, onDataChange, rowKey, dividingColumnKey, pageSizeOptions, className, scrollMaxHeightClass, isScrollable, fixedHeader, showPagination, renderTooltip, infoExtraLabel, sortableValue: propValue, sortableOnValueChange: propOnValueChange, sortableOnDragStart: propOnDragStart, sortableOnDragEnd: propOnDragEnd, }: DataTableViewOptionsProps$1<TData, TValue>) => react_jsx_runtime.JSX.Element;
|
|
76
|
+
declare const DataTableMainFrameSortable: <TData extends RowData, TValue>({ table, columns, isLoadingTable, loadingContent, setQueryParams, dataLabel, actionColumns, data, messageEmpty, onDataChange, rowKey, dividingColumnKey, pageSizeOptions, className, scrollMaxHeightClass, isScrollable, fixedHeader, showPagination, showDataLabel, renderTooltip, infoExtraLabel, footerAction, sortableValue: propValue, sortableOnValueChange: propOnValueChange, sortableOnDragStart: propOnDragStart, sortableOnDragEnd: propOnDragEnd, maxVisualRows, }: DataTableViewOptionsProps$1<TData, TValue>) => react_jsx_runtime.JSX.Element;
|
|
68
77
|
|
|
69
78
|
interface DataTablePaginationProps<TData> {
|
|
70
79
|
table: Table<TData>;
|
|
71
80
|
pageSizeOptions?: number[];
|
|
72
81
|
dataLabel?: string;
|
|
73
82
|
infoExtraLabel?: React__default.ReactNode;
|
|
83
|
+
showPaginationControls?: boolean;
|
|
84
|
+
showDataLabel?: boolean;
|
|
85
|
+
footerAction?: React__default.ReactNode;
|
|
86
|
+
maxVisualRows?: number;
|
|
74
87
|
}
|
|
75
|
-
declare function DataTablePagination<TData>({ table, pageSizeOptions, dataLabel, infoExtraLabel, }: DataTablePaginationProps<TData>): react_jsx_runtime.JSX.Element;
|
|
88
|
+
declare function DataTablePagination<TData>({ table, pageSizeOptions, dataLabel, infoExtraLabel, showPaginationControls, showDataLabel, footerAction, maxVisualRows, }: DataTablePaginationProps<TData>): react_jsx_runtime.JSX.Element | null;
|
|
76
89
|
|
|
77
90
|
declare const DataTablePaginationSkeleton: React__default.FC;
|
|
78
91
|
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { forwardRef, createElement } from 'react';
|
|
3
|
-
import { c as cn } from '../chunks/utils-
|
|
4
|
-
import { S as Select, h as SelectTrigger, i as SelectValue, a as SelectContent, c as SelectItem } from '../chunks/select-
|
|
5
|
-
import { C as ChevronLeft } from '../chunks/chevron-left-
|
|
6
|
-
import { C as ChevronRight } from '../chunks/chevron-right-
|
|
7
|
-
import { c as PaginationItem, f as PaginationEllipsis } from '../chunks/pagination-
|
|
8
|
-
import { B as Button } from '../chunks/button-
|
|
9
|
-
import { S as Skeleton } from '../chunks/skeleton-
|
|
10
|
-
import { e as TableRow, f as TableCell, T as Table, a as TableHeader, d as TableHead, b as TableBody } from '../chunks/table-
|
|
11
|
-
import { c as createLucideIcon } from '../chunks/createLucideIcon-
|
|
12
|
-
import { S as Sortable, b as SortableItem } from '../chunks/sortable-
|
|
13
|
-
import { S as Search, C as Command, b as CommandInput, c as CommandList, d as CommandEmpty, f as CommandItem, e as CommandGroup } from '../chunks/command-
|
|
14
|
-
import { I as Input } from '../chunks/input-
|
|
15
|
-
import { C as ChevronDown } from '../chunks/chevron-down-
|
|
16
|
-
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-
|
|
17
|
-
import { C as Check } from '../chunks/check-
|
|
18
|
-
import '../chunks/bundle-mjs-
|
|
3
|
+
import { c as cn } from '../chunks/utils-Cle2i1lJ.mjs';
|
|
4
|
+
import { S as Select, h as SelectTrigger, i as SelectValue, a as SelectContent, c as SelectItem } from '../chunks/select-Bkmq2X8X.mjs';
|
|
5
|
+
import { C as ChevronLeft } from '../chunks/chevron-left-iSYNdGiZ.mjs';
|
|
6
|
+
import { C as ChevronRight } from '../chunks/chevron-right-BDBexrwi.mjs';
|
|
7
|
+
import { c as PaginationItem, f as PaginationEllipsis } from '../chunks/pagination-DVnnlPCe.mjs';
|
|
8
|
+
import { B as Button } from '../chunks/button-C8kDXHHO.mjs';
|
|
9
|
+
import { S as Skeleton } from '../chunks/skeleton-CXrLE3fs.mjs';
|
|
10
|
+
import { e as TableRow, f as TableCell, T as Table, a as TableHeader, d as TableHead, b as TableBody } from '../chunks/table-nPqfWR0d.mjs';
|
|
11
|
+
import { c as createLucideIcon } from '../chunks/createLucideIcon-Cs209BXY.mjs';
|
|
12
|
+
import { S as Sortable, b as SortableItem } from '../chunks/sortable-DC4HebwV.mjs';
|
|
13
|
+
import { S as Search, C as Command, b as CommandInput, c as CommandList, d as CommandEmpty, f as CommandItem, e as CommandGroup } from '../chunks/command-Dmn5Zotf.mjs';
|
|
14
|
+
import { I as Input } from '../chunks/input-Cq3hRDLY.mjs';
|
|
15
|
+
import { C as ChevronDown } from '../chunks/chevron-down-BW_fza_f.mjs';
|
|
16
|
+
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-Cxd1LZHE.mjs';
|
|
17
|
+
import { C as Check } from '../chunks/check-LwrFK8tw.mjs';
|
|
18
|
+
import '../chunks/bundle-mjs-CDsJv8mx.mjs';
|
|
19
19
|
import '@radix-ui/react-select';
|
|
20
|
-
import '../chunks/ellipsis-
|
|
20
|
+
import '../chunks/ellipsis-z3pVR1Ha.mjs';
|
|
21
21
|
import '@radix-ui/react-slot';
|
|
22
22
|
import 'class-variance-authority';
|
|
23
23
|
import 'react-dom';
|
|
24
|
-
import '../chunks/index-
|
|
25
|
-
import '../chunks/index-
|
|
26
|
-
import '../chunks/index-
|
|
27
|
-
import '../chunks/index-
|
|
24
|
+
import '../chunks/index-BamMmpxT.mjs';
|
|
25
|
+
import '../chunks/index-TBrLKN9p.mjs';
|
|
26
|
+
import '../chunks/index-ZrPnvFCM.mjs';
|
|
27
|
+
import '../chunks/index-D3kx7k_i.mjs';
|
|
28
28
|
import 'react/jsx-runtime';
|
|
29
|
-
import '../chunks/index-
|
|
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/tslib.es6
|
|
37
|
-
import '../chunks/index-
|
|
38
|
-
import '../chunks/index-
|
|
39
|
-
import '../chunks/dialog-
|
|
40
|
-
import '../chunks/x-
|
|
41
|
-
import '../chunks/index-
|
|
42
|
-
import '../chunks/index-
|
|
29
|
+
import '../chunks/index-Bbl_XfK5.mjs';
|
|
30
|
+
import '../chunks/index-D33V_3rS.mjs';
|
|
31
|
+
import '../chunks/index-D1Oqvl53.mjs';
|
|
32
|
+
import '../chunks/index-Df3YRRgX.mjs';
|
|
33
|
+
import '../chunks/index-CJznEDFQ.mjs';
|
|
34
|
+
import '../chunks/index-Ctl41mbz.mjs';
|
|
35
|
+
import '../chunks/index-g06EAstv.mjs';
|
|
36
|
+
import '../chunks/tslib.es6--9nUwZOO.mjs';
|
|
37
|
+
import '../chunks/index-BwahdO40.mjs';
|
|
38
|
+
import '../chunks/index-wKi7FsfC.mjs';
|
|
39
|
+
import '../chunks/dialog-DGL-wjm5.mjs';
|
|
40
|
+
import '../chunks/x-CSOUAHrZ.mjs';
|
|
41
|
+
import '../chunks/index-CHnGKuc1.mjs';
|
|
42
|
+
import '../chunks/index-EhkpAtV_.mjs';
|
|
43
43
|
|
|
44
44
|
const __iconNode$1 = [
|
|
45
45
|
[
|
|
@@ -138,7 +138,7 @@ function DataTablePagination({ table, pageSizeOptions = [
|
|
|
138
138
|
50,
|
|
139
139
|
100,
|
|
140
140
|
200
|
|
141
|
-
], dataLabel = "Fundos", infoExtraLabel }) {
|
|
141
|
+
], dataLabel = "Fundos", infoExtraLabel, showPaginationControls = true, showDataLabel = true, footerAction, maxVisualRows }) {
|
|
142
142
|
const pageSize = pageSizeOptions[0];
|
|
143
143
|
const currentPage = table.getState().pagination.pageIndex + 1;
|
|
144
144
|
const rowCount = table.getRowCount();
|
|
@@ -192,14 +192,17 @@ function DataTablePagination({ table, pageSizeOptions = [
|
|
|
192
192
|
}
|
|
193
193
|
return items;
|
|
194
194
|
};
|
|
195
|
+
if (!showPaginationControls && !showDataLabel) {
|
|
196
|
+
return null;
|
|
197
|
+
}
|
|
195
198
|
return /*#__PURE__*/ React__default.createElement("div", {
|
|
196
199
|
className: "mt-4 flex flex-wrap items-center justify-between gap-2"
|
|
197
|
-
}, /*#__PURE__*/ React__default.createElement("div", {
|
|
198
|
-
className: "text-muted-foreground flex gap-
|
|
200
|
+
}, showDataLabel && /*#__PURE__*/ React__default.createElement(React__default.Fragment, null, /*#__PURE__*/ React__default.createElement("div", {
|
|
201
|
+
className: "text-muted-foreground flex items-center gap-4 text-sm"
|
|
199
202
|
}, /*#__PURE__*/ React__default.createElement("p", {
|
|
200
203
|
className: "ml-2"
|
|
201
|
-
}, "Mostrando ", table.getRowModel().rows.length.toLocaleString(), " de ", rowCount, " ", dataLabel, ".",
|
|
202
|
-
className: "flex flex-wrap items-center justify-between gap-2 gap-y-4"
|
|
204
|
+
}, "Mostrando", " ", (maxVisualRows ? Math.min(table.getRowModel().rows.length, maxVisualRows) : table.getRowModel().rows.length).toLocaleString(), " ", "de ", rowCount, " ", dataLabel, ". ", infoExtraLabel && infoExtraLabel)), /*#__PURE__*/ React__default.createElement("div", null, footerAction && /*#__PURE__*/ React__default.createElement("div", null, footerAction))), showPaginationControls && /*#__PURE__*/ React__default.createElement("div", {
|
|
205
|
+
className: "flex flex-wrap items-center justify-between gap-2 gap-y-4 ml-auto"
|
|
203
206
|
}, /*#__PURE__*/ React__default.createElement(Select, {
|
|
204
207
|
value: String(table.getState().pagination.pageSize) || String(pageSize),
|
|
205
208
|
onValueChange: (value)=>table.setPageSize(Number(value))
|
|
@@ -271,7 +274,7 @@ function DataTableRowSkeleton(props) {
|
|
|
271
274
|
}))))));
|
|
272
275
|
}
|
|
273
276
|
|
|
274
|
-
const DataTableMainFrame = ({ table, columns, isLoadingTable, loadingContent, setQueryParams, dataLabel, actionColumns = [], messageEmpty = /*#__PURE__*/ React__default.createElement(React__default.Fragment, null, "Sem resultados"), dividingColumnKey, pageSizeOptions, className, scrollMaxHeightClass = "sm:max-h-[calc(100vh-300px)]", isScrollable = false, fixedHeader = false, showPagination = true, renderTooltip, infoExtraLabel })=>{
|
|
277
|
+
const DataTableMainFrame = ({ table, columns, isLoadingTable, loadingContent, setQueryParams, dataLabel, actionColumns = [], messageEmpty = /*#__PURE__*/ React__default.createElement(React__default.Fragment, null, "Sem resultados"), dividingColumnKey, pageSizeOptions, className, scrollMaxHeightClass = "sm:max-h-[calc(100vh-300px)]", isScrollable = false, fixedHeader = false, showPagination = true, showDataLabel = true, renderTooltip, renderSubComponent, infoExtraLabel, footerAction, maxVisualRows })=>{
|
|
275
278
|
const currentPage = Number(table.getState().pagination.pageIndex).toString();
|
|
276
279
|
const pageSize = Number(table.getState().pagination.pageSize).toString();
|
|
277
280
|
const sorting = table.getState().sorting;
|
|
@@ -317,13 +320,20 @@ const DataTableMainFrame = ({ table, columns, isLoadingTable, loadingContent, se
|
|
|
317
320
|
className: "inline-block max-w-120 text-wrap wrap-break-word"
|
|
318
321
|
}, messageEmpty)));
|
|
319
322
|
}
|
|
320
|
-
|
|
323
|
+
const rows = table.getRowModel().rows;
|
|
324
|
+
const rowsToRender = maxVisualRows ? rows.slice(0, maxVisualRows) : rows;
|
|
325
|
+
return rowsToRender.map((row, index)=>{
|
|
326
|
+
// Se estivermos usando renderSubComponent (modo Master-Detail),
|
|
327
|
+
// ignoramos as sub-linhas no loop principal para não duplicá-las
|
|
328
|
+
if (renderSubComponent && row.depth > 0) {
|
|
329
|
+
return null;
|
|
330
|
+
}
|
|
321
331
|
const rowKey = row.id ?? String(index);
|
|
322
332
|
const rowContent = row.getVisibleCells().map((cell)=>{
|
|
323
333
|
const content = flexRender(cell.column.columnDef.cell, cell.getContext());
|
|
324
334
|
return /*#__PURE__*/ React__default.createElement(TableCell, {
|
|
325
335
|
key: cell.id,
|
|
326
|
-
className: cn("p-2", dividingColumnKey?.includes(cell.column.id) && "border-r")
|
|
336
|
+
className: cn("p-2", dividingColumnKey?.includes(cell.column.id) && "border-r", cell.column.columnDef.meta?.className)
|
|
327
337
|
}, content);
|
|
328
338
|
});
|
|
329
339
|
const rowWithTooltip = renderTooltip ? renderTooltip(row, rowContent) : /*#__PURE__*/ React__default.createElement(TableRow, {
|
|
@@ -331,7 +341,15 @@ const DataTableMainFrame = ({ table, columns, isLoadingTable, loadingContent, se
|
|
|
331
341
|
"data-state": row.getIsSelected() && "selected",
|
|
332
342
|
className: cn("even:bg-body/50")
|
|
333
343
|
}, rowContent);
|
|
334
|
-
return
|
|
344
|
+
return /*#__PURE__*/ React__default.createElement(React__default.Fragment, {
|
|
345
|
+
key: rowKey
|
|
346
|
+
}, rowWithTooltip, row.getIsExpanded() && renderSubComponent && /*#__PURE__*/ React__default.createElement(TableRow, {
|
|
347
|
+
className: cn("even:bg-body/50")
|
|
348
|
+
}, /*#__PURE__*/ React__default.createElement(TableCell, {
|
|
349
|
+
colSpan: row.getVisibleCells().length
|
|
350
|
+
}, renderSubComponent({
|
|
351
|
+
row
|
|
352
|
+
}))));
|
|
335
353
|
});
|
|
336
354
|
};
|
|
337
355
|
const shouldForceMinHeight = table.getRowModel().rows.length > 1 || isLoadingTable;
|
|
@@ -351,7 +369,7 @@ const DataTableMainFrame = ({ table, columns, isLoadingTable, loadingContent, se
|
|
|
351
369
|
...actionColumns
|
|
352
370
|
].includes(id);
|
|
353
371
|
return /*#__PURE__*/ React__default.createElement(TableHead, {
|
|
354
|
-
className: cn(dividingColumnKey?.includes(id) ? "border-r" : "", "static"),
|
|
372
|
+
className: cn(dividingColumnKey?.includes(id) ? "border-r" : "", header.column.columnDef.meta?.className, "static"),
|
|
355
373
|
key: header.id
|
|
356
374
|
}, header.isPlaceholder ? null : /*#__PURE__*/ React__default.createElement("div", {
|
|
357
375
|
className: !isActionsColumn && header.column.getCanSort() ? "flex w-fit items-center justify-start cursor-pointer gap-1 font-medium" : "",
|
|
@@ -371,11 +389,15 @@ const DataTableMainFrame = ({ table, columns, isLoadingTable, loadingContent, se
|
|
|
371
389
|
})));
|
|
372
390
|
}));
|
|
373
391
|
})), /*#__PURE__*/ React__default.createElement(TableBody, null, renderTableBodyContent()))));
|
|
374
|
-
return /*#__PURE__*/ React__default.createElement(React__default.Fragment, null, tableContent, isScrollable
|
|
392
|
+
return /*#__PURE__*/ React__default.createElement(React__default.Fragment, null, tableContent, isScrollable ? null : isLoadingTable ? /*#__PURE__*/ React__default.createElement(DataTablePaginationSkeleton, null) : /*#__PURE__*/ React__default.createElement(DataTablePagination, {
|
|
375
393
|
table: table,
|
|
376
394
|
dataLabel: dataLabel,
|
|
377
395
|
pageSizeOptions: pageSizeOptions,
|
|
378
|
-
infoExtraLabel: infoExtraLabel
|
|
396
|
+
infoExtraLabel: infoExtraLabel,
|
|
397
|
+
showPaginationControls: showPagination,
|
|
398
|
+
showDataLabel: showDataLabel,
|
|
399
|
+
footerAction: footerAction,
|
|
400
|
+
maxVisualRows: maxVisualRows
|
|
379
401
|
}));
|
|
380
402
|
};
|
|
381
403
|
|
|
@@ -438,7 +460,7 @@ const getRowKey = (row, rowKey)=>{
|
|
|
438
460
|
}
|
|
439
461
|
return row[rowKey];
|
|
440
462
|
};
|
|
441
|
-
const DataTableMainFrameSortable = ({ table, columns, isLoadingTable, loadingContent, setQueryParams, dataLabel, actionColumns = [], data, messageEmpty = /*#__PURE__*/ React__default.createElement(React__default.Fragment, null, "Sem resultados"), onDataChange, rowKey, dividingColumnKey, pageSizeOptions, className, scrollMaxHeightClass = "sm:max-h-[calc(100vh-300px)]", isScrollable = false, fixedHeader = false, showPagination = true, renderTooltip, infoExtraLabel, sortableValue: propValue, sortableOnValueChange: propOnValueChange, sortableOnDragStart: propOnDragStart, sortableOnDragEnd: propOnDragEnd })=>{
|
|
463
|
+
const DataTableMainFrameSortable = ({ table, columns, isLoadingTable, loadingContent, setQueryParams, dataLabel, actionColumns = [], data, messageEmpty = /*#__PURE__*/ React__default.createElement(React__default.Fragment, null, "Sem resultados"), onDataChange, rowKey, dividingColumnKey, pageSizeOptions, className, scrollMaxHeightClass = "sm:max-h-[calc(100vh-300px)]", isScrollable = false, fixedHeader = false, showPagination = true, showDataLabel = true, renderTooltip, infoExtraLabel, footerAction, sortableValue: propValue, sortableOnValueChange: propOnValueChange, sortableOnDragStart: propOnDragStart, sortableOnDragEnd: propOnDragEnd, maxVisualRows })=>{
|
|
442
464
|
const currentPage = Number(table.getState().pagination.pageIndex).toString();
|
|
443
465
|
const pageSize = Number(table.getState().pagination.pageSize).toString();
|
|
444
466
|
const sorting = table.getState().sorting;
|
|
@@ -496,7 +518,9 @@ const DataTableMainFrameSortable = ({ table, columns, isLoadingTable, loadingCon
|
|
|
496
518
|
className: "inline-block max-w-120 text-wrap wrap-break-word"
|
|
497
519
|
}, messageEmpty)));
|
|
498
520
|
}
|
|
499
|
-
|
|
521
|
+
const rows = table.getRowModel().rows;
|
|
522
|
+
const rowsToRender = maxVisualRows ? rows.slice(0, maxVisualRows) : rows;
|
|
523
|
+
return rowsToRender.map((row)=>{
|
|
500
524
|
const rowData = row.original;
|
|
501
525
|
const key = getRowKey(rowData, rowKey);
|
|
502
526
|
const rowContent = row.getVisibleCells().map((cell)=>/*#__PURE__*/ React__default.createElement(TableCell, {
|
|
@@ -576,7 +600,7 @@ const DataTableMainFrameSortable = ({ table, columns, isLoadingTable, loadingCon
|
|
|
576
600
|
handleValueChange(tree);
|
|
577
601
|
};
|
|
578
602
|
const shouldForceMinHeight = table.getRowModel().rows.length > 1 || isLoadingTable;
|
|
579
|
-
const finalValue = propValue ?? table.getRowModel().rows.map((row)=>({
|
|
603
|
+
const finalValue = propValue ?? (maxVisualRows ? table.getRowModel().rows.slice(0, maxVisualRows) : table.getRowModel().rows).map((row)=>({
|
|
580
604
|
...row.original,
|
|
581
605
|
id: getRowKey(row.original, rowKey)
|
|
582
606
|
}));
|
|
@@ -624,11 +648,15 @@ const DataTableMainFrameSortable = ({ table, columns, isLoadingTable, loadingCon
|
|
|
624
648
|
className: "h-3.5 w-3.5"
|
|
625
649
|
})));
|
|
626
650
|
}));
|
|
627
|
-
})), /*#__PURE__*/ React__default.createElement(TableBody, null, renderTableBodyContent()))))), isScrollable
|
|
651
|
+
})), /*#__PURE__*/ React__default.createElement(TableBody, null, renderTableBodyContent()))))), isScrollable ? null : isLoadingTable ? /*#__PURE__*/ React__default.createElement(DataTablePaginationSkeleton, null) : /*#__PURE__*/ React__default.createElement(DataTablePagination, {
|
|
628
652
|
table: table,
|
|
629
653
|
dataLabel: dataLabel,
|
|
630
654
|
pageSizeOptions: pageSizeOptions,
|
|
631
|
-
infoExtraLabel: infoExtraLabel
|
|
655
|
+
infoExtraLabel: infoExtraLabel,
|
|
656
|
+
showPaginationControls: showPagination,
|
|
657
|
+
showDataLabel: showDataLabel,
|
|
658
|
+
footerAction: footerAction,
|
|
659
|
+
maxVisualRows: maxVisualRows
|
|
632
660
|
}));
|
|
633
661
|
};
|
|
634
662
|
|