ivt 0.5.9 → 0.6.0
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.mjs +45 -45
- 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-BBDdipiF.mjs → CalendarRange-DVfhXf4s.mjs} +8 -8
- package/dist/chunks/{CalendarRange-BBDdipiF.mjs.map → CalendarRange-DVfhXf4s.mjs.map} +1 -1
- package/dist/chunks/{ComboboxField-CQ9hWD8h.mjs → ComboboxField-BkZOYdiv.mjs} +9 -9
- package/dist/chunks/{ComboboxField-CQ9hWD8h.mjs.map → ComboboxField-BkZOYdiv.mjs.map} +1 -1
- package/dist/chunks/{Container-Dc7omjsi.mjs → Container-Dv9OKRy2.mjs} +2 -2
- package/dist/chunks/{Container-Dc7omjsi.mjs.map → Container-Dv9OKRy2.mjs.map} +1 -1
- package/dist/chunks/{DeleteConfirmationModal-DY1WIUjV.mjs → DeleteConfirmationModal-uWWIKaEJ.mjs} +4 -4
- package/dist/chunks/{DeleteConfirmationModal-DY1WIUjV.mjs.map → DeleteConfirmationModal-uWWIKaEJ.mjs.map} +1 -1
- package/dist/chunks/{TooltipIndicator-CRQxZJc4.mjs → TooltipIndicator-vtuzMMcA.mjs} +4 -4
- package/dist/chunks/{TooltipIndicator-CRQxZJc4.mjs.map → TooltipIndicator-vtuzMMcA.mjs.map} +1 -1
- package/dist/chunks/{_commonjsHelpers-CHnJMbeQ.mjs → _commonjsHelpers-BS2U17RT.mjs} +1 -1
- package/dist/chunks/_commonjsHelpers-BS2U17RT.mjs.map +1 -0
- package/dist/chunks/{accordion-Cs11bdwn.mjs → accordion-DFz3omwg.mjs} +11 -11
- package/dist/chunks/{accordion-Cs11bdwn.mjs.map → accordion-DFz3omwg.mjs.map} +1 -1
- package/dist/chunks/{badge-OLIlDazt.mjs → badge-rIZqy9Ek.mjs} +2 -2
- package/dist/chunks/{badge-OLIlDazt.mjs.map → badge-rIZqy9Ek.mjs.map} +1 -1
- package/dist/chunks/{bundle-mjs-CDsJv8mx.mjs → bundle-mjs-DEAKsOg9.mjs} +1 -1
- package/dist/chunks/{bundle-mjs-CDsJv8mx.mjs.map → bundle-mjs-DEAKsOg9.mjs.map} +1 -1
- package/dist/chunks/{button-C8kDXHHO.mjs → button-NOnRgzwS.mjs} +2 -2
- package/dist/chunks/{button-C8kDXHHO.mjs.map → button-NOnRgzwS.mjs.map} +1 -1
- package/dist/chunks/{calendar-B3ttB6VU.mjs → calendar-D380sy27.mjs} +7 -7
- package/dist/chunks/{calendar-B3ttB6VU.mjs.map → calendar-D380sy27.mjs.map} +1 -1
- package/dist/chunks/{calendar-days-DywZyGDA.mjs → calendar-days-DS4secB2.mjs} +2 -2
- package/dist/chunks/{calendar-days-DywZyGDA.mjs.map → calendar-days-DS4secB2.mjs.map} +1 -1
- package/dist/chunks/{card-DZyd1XuD.mjs → card-BlqvJ9NA.mjs} +2 -2
- package/dist/chunks/{card-DZyd1XuD.mjs.map → card-BlqvJ9NA.mjs.map} +1 -1
- package/dist/chunks/{check-LwrFK8tw.mjs → check-DXZ_15zz.mjs} +2 -2
- package/dist/chunks/{check-LwrFK8tw.mjs.map → check-DXZ_15zz.mjs.map} +1 -1
- package/dist/chunks/{checkbox-ggJwH1Qi.mjs → checkbox-CEbVqw9O.mjs} +11 -11
- package/dist/chunks/{checkbox-ggJwH1Qi.mjs.map → checkbox-CEbVqw9O.mjs.map} +1 -1
- package/dist/chunks/{chevron-down-BW_fza_f.mjs → chevron-down-pTMTQEy7.mjs} +2 -2
- package/dist/chunks/{chevron-down-BW_fza_f.mjs.map → chevron-down-pTMTQEy7.mjs.map} +1 -1
- package/dist/chunks/{chevron-left-iSYNdGiZ.mjs → chevron-left-WlwcK1Lg.mjs} +2 -2
- package/dist/chunks/{chevron-left-iSYNdGiZ.mjs.map → chevron-left-WlwcK1Lg.mjs.map} +1 -1
- package/dist/chunks/{chevron-right-BDBexrwi.mjs → chevron-right-eWEXbk6Y.mjs} +2 -2
- package/dist/chunks/{chevron-right-BDBexrwi.mjs.map → chevron-right-eWEXbk6Y.mjs.map} +1 -1
- package/dist/chunks/{chevrons-up-down-krhX0LvO.mjs → chevrons-up-down-CchtbsMm.mjs} +2 -2
- package/dist/chunks/{chevrons-up-down-krhX0LvO.mjs.map → chevrons-up-down-CchtbsMm.mjs.map} +1 -1
- package/dist/chunks/{command-Dmn5Zotf.mjs → command-DH_XhNOU.mjs} +8 -8
- package/dist/chunks/{command-Dmn5Zotf.mjs.map → command-DH_XhNOU.mjs.map} +1 -1
- package/dist/chunks/{createLucideIcon-Cs209BXY.mjs → createLucideIcon-Bkij_v5k.mjs} +1 -1
- package/dist/chunks/{createLucideIcon-Cs209BXY.mjs.map → createLucideIcon-Bkij_v5k.mjs.map} +1 -1
- package/dist/chunks/{date-Cp5v7MCD.mjs → date-DDoc_o17.mjs} +2 -2
- package/dist/chunks/{date-Cp5v7MCD.mjs.map → date-DDoc_o17.mjs.map} +1 -1
- package/dist/chunks/{dialog-DGL-wjm5.mjs → dialog-lYftBGvM.mjs} +4 -4
- package/dist/chunks/{dialog-DGL-wjm5.mjs.map → dialog-lYftBGvM.mjs.map} +1 -1
- package/dist/chunks/{ellipsis-z3pVR1Ha.mjs → ellipsis-DmfhrCsy.mjs} +2 -2
- package/dist/chunks/{ellipsis-z3pVR1Ha.mjs.map → ellipsis-DmfhrCsy.mjs.map} +1 -1
- package/dist/chunks/{form-Bfc0Vrf9.mjs → form-Df0a9bm3.mjs} +3 -3
- package/dist/chunks/{form-Bfc0Vrf9.mjs.map → form-Df0a9bm3.mjs.map} +1 -1
- package/dist/chunks/{format-Bw766LiP.mjs → format-D9SXKkws.mjs} +1 -1
- package/dist/chunks/{format-Bw766LiP.mjs.map → format-D9SXKkws.mjs.map} +1 -1
- package/dist/chunks/{format-numbers-B2Xg1Xd4.mjs → format-numbers-DYEdJYq4.mjs} +1 -1
- package/dist/chunks/{format-numbers-B2Xg1Xd4.mjs.map → format-numbers-DYEdJYq4.mjs.map} +1 -1
- package/dist/chunks/{hover-card-B1iaMKeT.mjs → hover-card-B8hltcfe.mjs} +11 -11
- package/dist/chunks/{hover-card-B1iaMKeT.mjs.map → hover-card-B8hltcfe.mjs.map} +1 -1
- package/dist/chunks/{index-5BIVlsf0.mjs → index-BAEn-ttU.mjs} +2 -2
- package/dist/chunks/{index-5BIVlsf0.mjs.map → index-BAEn-ttU.mjs.map} +1 -1
- package/dist/chunks/{index-EhkpAtV_.mjs → index-BK8-Ri2-.mjs} +2 -2
- package/dist/chunks/{index-EhkpAtV_.mjs.map → index-BK8-Ri2-.mjs.map} +1 -1
- package/dist/chunks/{index-YOMvi8__.mjs → index-BOWGR-j0.mjs} +1 -1
- package/dist/chunks/{index-YOMvi8__.mjs.map → index-BOWGR-j0.mjs.map} +1 -1
- package/dist/chunks/{index-DM3MyE-N.mjs → index-BYYIvrWN.mjs} +9 -9
- package/dist/chunks/{index-DM3MyE-N.mjs.map → index-BYYIvrWN.mjs.map} +1 -1
- package/dist/chunks/{index-D1Oqvl53.mjs → index-BgHsh9M4.mjs} +2 -2
- package/dist/chunks/{index-D1Oqvl53.mjs.map → index-BgHsh9M4.mjs.map} +1 -1
- package/dist/chunks/{index-D3kx7k_i.mjs → index-Blry6DJn.mjs} +1 -1
- package/dist/chunks/{index-D3kx7k_i.mjs.map → index-Blry6DJn.mjs.map} +1 -1
- package/dist/chunks/{index-7aYTflwq.mjs → index-BmRFmtMt.mjs} +1 -1
- package/dist/chunks/{index-7aYTflwq.mjs.map → index-BmRFmtMt.mjs.map} +1 -1
- package/dist/chunks/{index-B79kyzoW.mjs → index-Bzbvbywd.mjs} +1 -1
- package/dist/chunks/{index-B79kyzoW.mjs.map → index-Bzbvbywd.mjs.map} +1 -1
- package/dist/chunks/{index-D33V_3rS.mjs → index-CKz1HXp2.mjs} +1 -1
- package/dist/chunks/{index-D33V_3rS.mjs.map → index-CKz1HXp2.mjs.map} +1 -1
- package/dist/chunks/{index-Ctl41mbz.mjs → index-CeEyI_xT.mjs} +1 -1
- package/dist/chunks/{index-Ctl41mbz.mjs.map → index-CeEyI_xT.mjs.map} +1 -1
- package/dist/chunks/{index-BwahdO40.mjs → index-D-Ge2tuH.mjs} +3 -3
- package/dist/chunks/{index-BwahdO40.mjs.map → index-D-Ge2tuH.mjs.map} +1 -1
- package/dist/chunks/{index-BKBEmeOE.mjs → index-DHHfXO1l.mjs} +1 -1
- package/dist/chunks/{index-BKBEmeOE.mjs.map → index-DHHfXO1l.mjs.map} +1 -1
- package/dist/chunks/{index-BamMmpxT.mjs → index-DPBBqqVS.mjs} +11 -11
- package/dist/chunks/{index-BamMmpxT.mjs.map → index-DPBBqqVS.mjs.map} +1 -1
- package/dist/chunks/{index-ZrPnvFCM.mjs → index-DiRTrqor.mjs} +1 -1
- package/dist/chunks/{index-ZrPnvFCM.mjs.map → index-DiRTrqor.mjs.map} +1 -1
- package/dist/chunks/{index-CHnGKuc1.mjs → index-DkbzMWJQ.mjs} +7 -7
- package/dist/chunks/{index-CHnGKuc1.mjs.map → index-DkbzMWJQ.mjs.map} +1 -1
- package/dist/chunks/{index-BYjPaTiQ.mjs → index-DulxQt34.mjs} +15 -15
- package/dist/chunks/{index-BYjPaTiQ.mjs.map → index-DulxQt34.mjs.map} +1 -1
- package/dist/chunks/{index-CJznEDFQ.mjs → index-DumqgQ_L.mjs} +1 -1
- package/dist/chunks/{index-CJznEDFQ.mjs.map → index-DumqgQ_L.mjs.map} +1 -1
- package/dist/chunks/{index-wKi7FsfC.mjs → index-GOuU61VI.mjs} +3 -3
- package/dist/chunks/{index-wKi7FsfC.mjs.map → index-GOuU61VI.mjs.map} +1 -1
- package/dist/chunks/{index-Bbl_XfK5.mjs → index-QO5xEicn.mjs} +2 -2
- package/dist/chunks/{index-Bbl_XfK5.mjs.map → index-QO5xEicn.mjs.map} +1 -1
- package/dist/chunks/{index-CuPJzY2D.mjs → index-ZIZ_d3fn.mjs} +9 -9
- package/dist/chunks/{index-CuPJzY2D.mjs.map → index-ZIZ_d3fn.mjs.map} +1 -1
- package/dist/chunks/{index-Df3YRRgX.mjs → index-ZqM56Bg2.mjs} +5 -5
- package/dist/chunks/{index-Df3YRRgX.mjs.map → index-ZqM56Bg2.mjs.map} +1 -1
- package/dist/chunks/{index-TBrLKN9p.mjs → index-lJXVP4Vd.mjs} +1 -1
- package/dist/chunks/{index-TBrLKN9p.mjs.map → index-lJXVP4Vd.mjs.map} +1 -1
- package/dist/chunks/{index-g06EAstv.mjs → index-zEUnGtr4.mjs} +5 -5
- package/dist/chunks/{index-g06EAstv.mjs.map → index-zEUnGtr4.mjs.map} +1 -1
- package/dist/chunks/{input-Cq3hRDLY.mjs → input-CiG-skbB.mjs} +2 -2
- package/dist/chunks/{input-Cq3hRDLY.mjs.map → input-CiG-skbB.mjs.map} +1 -1
- package/dist/chunks/{label-D9mw8gry.mjs → label-DdQ_Z6Ra.mjs} +3 -3
- package/dist/chunks/{label-D9mw8gry.mjs.map → label-DdQ_Z6Ra.mjs.map} +1 -1
- package/dist/chunks/{loader-circle-DN94bZLW.mjs → loader-circle-CsRZgbvV.mjs} +2 -2
- package/dist/chunks/{loader-circle-DN94bZLW.mjs.map → loader-circle-CsRZgbvV.mjs.map} +1 -1
- package/dist/chunks/{multi-select-p8e7hqdd.mjs → multi-select-DEAh0Ex1.mjs} +12 -12
- package/dist/chunks/{multi-select-p8e7hqdd.mjs.map → multi-select-DEAh0Ex1.mjs.map} +1 -1
- package/dist/chunks/{pagination-DVnnlPCe.mjs → pagination-FTHztFJM.mjs} +6 -6
- package/dist/chunks/{pagination-DVnnlPCe.mjs.map → pagination-FTHztFJM.mjs.map} +1 -1
- package/dist/chunks/{popover-Cxd1LZHE.mjs → popover-LInfsDo_.mjs} +13 -13
- package/dist/chunks/{popover-Cxd1LZHE.mjs.map → popover-LInfsDo_.mjs.map} +1 -1
- package/dist/chunks/{progress-BHF75OVa.mjs → progress-DVdCfPzW.mjs} +4 -4
- package/dist/chunks/{progress-BHF75OVa.mjs.map → progress-DVdCfPzW.mjs.map} +1 -1
- package/dist/chunks/{react-number-format.es-BBXgiDBD.mjs → react-number-format.es-BvUP1xbd.mjs} +1 -1
- package/dist/chunks/{react-number-format.es-BBXgiDBD.mjs.map → react-number-format.es-BvUP1xbd.mjs.map} +1 -1
- package/dist/chunks/{scroll-area-DTwYYQ8q.mjs → scroll-area-Dv3_G1tJ.mjs} +11 -11
- package/dist/chunks/{scroll-area-DTwYYQ8q.mjs.map → scroll-area-Dv3_G1tJ.mjs.map} +1 -1
- package/dist/chunks/{select-Bkmq2X8X.mjs → select-CQ6Sxheq.mjs} +5 -5
- package/dist/chunks/{select-Bkmq2X8X.mjs.map → select-CQ6Sxheq.mjs.map} +1 -1
- package/dist/chunks/{separator-gh3PBnpH.mjs → separator-DgWXe8vE.mjs} +3 -3
- package/dist/chunks/{separator-gh3PBnpH.mjs.map → separator-DgWXe8vE.mjs.map} +1 -1
- package/dist/chunks/{sheet-BT9RwmPS.mjs → sheet-DHSb1zwg.mjs} +4 -4
- package/dist/chunks/{sheet-BT9RwmPS.mjs.map → sheet-DHSb1zwg.mjs.map} +1 -1
- package/dist/chunks/{skeleton-CXrLE3fs.mjs → skeleton-zEA6NgVv.mjs} +2 -2
- package/dist/chunks/{skeleton-CXrLE3fs.mjs.map → skeleton-zEA6NgVv.mjs.map} +1 -1
- package/dist/chunks/{sortable-DC4HebwV.mjs → sortable-BRl48bdi.mjs} +3 -3
- package/dist/chunks/{sortable-DC4HebwV.mjs.map → sortable-BRl48bdi.mjs.map} +1 -1
- package/dist/chunks/{table-nPqfWR0d.mjs → table-_Xpm32SS.mjs} +2 -2
- package/dist/chunks/{table-nPqfWR0d.mjs.map → table-_Xpm32SS.mjs.map} +1 -1
- package/dist/chunks/{textarea-CvJAEfFK.mjs → textarea-BWJeW5B0.mjs} +2 -2
- package/dist/chunks/{textarea-CvJAEfFK.mjs.map → textarea-BWJeW5B0.mjs.map} +1 -1
- package/dist/chunks/{toggle-UnHxq53A.mjs → toggle-DWQhf68A.mjs} +5 -5
- package/dist/chunks/{toggle-UnHxq53A.mjs.map → toggle-DWQhf68A.mjs.map} +1 -1
- package/dist/chunks/{tooltip-B8zF2C8j.mjs → tooltip-CCCTni3M.mjs} +13 -13
- package/dist/chunks/{tooltip-B8zF2C8j.mjs.map → tooltip-CCCTni3M.mjs.map} +1 -1
- package/dist/chunks/{trash-2-CMgAgkKK.mjs → trash-2-Lrm9CnmY.mjs} +2 -2
- package/dist/chunks/{trash-2-CMgAgkKK.mjs.map → trash-2-Lrm9CnmY.mjs.map} +1 -1
- package/dist/chunks/{triangle-alert-XjlHTdeo.mjs → triangle-alert-CJM7uYhj.mjs} +2 -2
- package/dist/chunks/{triangle-alert-XjlHTdeo.mjs.map → triangle-alert-CJM7uYhj.mjs.map} +1 -1
- package/dist/chunks/{tslib.es6--9nUwZOO.mjs → tslib.es6-BUkHi4uJ.mjs} +1 -1
- package/dist/chunks/{tslib.es6--9nUwZOO.mjs.map → tslib.es6-BUkHi4uJ.mjs.map} +1 -1
- package/dist/chunks/{utils-Cle2i1lJ.mjs → utils-BiySr2fz.mjs} +2 -2
- package/dist/chunks/{utils-Cle2i1lJ.mjs.map → utils-BiySr2fz.mjs.map} +1 -1
- package/dist/chunks/{x-CSOUAHrZ.mjs → x-CFUvolXV.mjs} +2 -2
- package/dist/chunks/{x-CSOUAHrZ.mjs.map → x-CFUvolXV.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.mjs +37 -37
- 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.mjs +52 -52
- 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-CHnJMbeQ.mjs.map +0 -1
package/dist/accordion/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export { A as Accordion, c as AccordionContent, a as AccordionItem, b as AccordionTrigger } from '../chunks/accordion-
|
|
1
|
+
export { A as Accordion, c as AccordionContent, a as AccordionItem, b as AccordionTrigger } from '../chunks/accordion-DFz3omwg.mjs';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '../chunks/index-
|
|
3
|
+
import '../chunks/index-Blry6DJn.mjs';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import '@radix-ui/react-collection';
|
|
6
|
-
import '../chunks/index-
|
|
7
|
-
import '../chunks/index-
|
|
8
|
-
import '../chunks/index-
|
|
9
|
-
import '../chunks/index-
|
|
10
|
-
import '../chunks/index-
|
|
6
|
+
import '../chunks/index-DiRTrqor.mjs';
|
|
7
|
+
import '../chunks/index-lJXVP4Vd.mjs';
|
|
8
|
+
import '../chunks/index-BgHsh9M4.mjs';
|
|
9
|
+
import '../chunks/index-CKz1HXp2.mjs';
|
|
10
|
+
import '../chunks/index-DumqgQ_L.mjs';
|
|
11
11
|
import 'react-dom';
|
|
12
12
|
import '@radix-ui/react-slot';
|
|
13
|
-
import '../chunks/index-
|
|
14
|
-
import '../chunks/index-
|
|
15
|
-
import '../chunks/index-
|
|
16
|
-
import '../chunks/index-
|
|
17
|
-
import '../chunks/utils-
|
|
18
|
-
import '../chunks/bundle-mjs-
|
|
19
|
-
import '../chunks/chevron-down-
|
|
20
|
-
import '../chunks/createLucideIcon-
|
|
13
|
+
import '../chunks/index-BYYIvrWN.mjs';
|
|
14
|
+
import '../chunks/index-GOuU61VI.mjs';
|
|
15
|
+
import '../chunks/index-QO5xEicn.mjs';
|
|
16
|
+
import '../chunks/index-BmRFmtMt.mjs';
|
|
17
|
+
import '../chunks/utils-BiySr2fz.mjs';
|
|
18
|
+
import '../chunks/bundle-mjs-DEAKsOg9.mjs';
|
|
19
|
+
import '../chunks/chevron-down-pTMTQEy7.mjs';
|
|
20
|
+
import '../chunks/createLucideIcon-Bkij_v5k.mjs';
|
|
21
21
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { c as cn } from '../chunks/utils-
|
|
3
|
-
import { D as DeleteConfirmationModal } from '../chunks/DeleteConfirmationModal-
|
|
4
|
-
import { c as createLucideIcon } from '../chunks/createLucideIcon-
|
|
5
|
-
import { A as Accordion, a as AccordionItem, b as AccordionTrigger, c as AccordionContent } from '../chunks/accordion-
|
|
6
|
-
import { B as Badge } from '../chunks/badge-
|
|
7
|
-
import { B as Button } from '../chunks/button-
|
|
8
|
-
import '../chunks/bundle-mjs-
|
|
9
|
-
import '../chunks/dialog-
|
|
10
|
-
import '../chunks/index-
|
|
11
|
-
import '../chunks/index-
|
|
12
|
-
import '../chunks/index-
|
|
13
|
-
import '../chunks/index-
|
|
2
|
+
import { c as cn } from '../chunks/utils-BiySr2fz.mjs';
|
|
3
|
+
import { D as DeleteConfirmationModal } from '../chunks/DeleteConfirmationModal-uWWIKaEJ.mjs';
|
|
4
|
+
import { c as createLucideIcon } from '../chunks/createLucideIcon-Bkij_v5k.mjs';
|
|
5
|
+
import { A as Accordion, a as AccordionItem, b as AccordionTrigger, c as AccordionContent } from '../chunks/accordion-DFz3omwg.mjs';
|
|
6
|
+
import { B as Badge } from '../chunks/badge-rIZqy9Ek.mjs';
|
|
7
|
+
import { B as Button } from '../chunks/button-NOnRgzwS.mjs';
|
|
8
|
+
import '../chunks/bundle-mjs-DEAKsOg9.mjs';
|
|
9
|
+
import '../chunks/dialog-lYftBGvM.mjs';
|
|
10
|
+
import '../chunks/index-DPBBqqVS.mjs';
|
|
11
|
+
import '../chunks/index-lJXVP4Vd.mjs';
|
|
12
|
+
import '../chunks/index-DiRTrqor.mjs';
|
|
13
|
+
import '../chunks/index-Blry6DJn.mjs';
|
|
14
14
|
import 'react/jsx-runtime';
|
|
15
|
-
import '../chunks/index-
|
|
16
|
-
import '../chunks/index-
|
|
17
|
-
import '../chunks/index-
|
|
18
|
-
import '../chunks/index-
|
|
19
|
-
import '../chunks/index-
|
|
15
|
+
import '../chunks/index-QO5xEicn.mjs';
|
|
16
|
+
import '../chunks/index-CKz1HXp2.mjs';
|
|
17
|
+
import '../chunks/index-BgHsh9M4.mjs';
|
|
18
|
+
import '../chunks/index-ZqM56Bg2.mjs';
|
|
19
|
+
import '../chunks/index-DumqgQ_L.mjs';
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import '@radix-ui/react-slot';
|
|
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/trash-2-
|
|
22
|
+
import '../chunks/index-CeEyI_xT.mjs';
|
|
23
|
+
import '../chunks/index-zEUnGtr4.mjs';
|
|
24
|
+
import '../chunks/tslib.es6-BUkHi4uJ.mjs';
|
|
25
|
+
import '../chunks/index-D-Ge2tuH.mjs';
|
|
26
|
+
import '../chunks/index-GOuU61VI.mjs';
|
|
27
|
+
import '../chunks/x-CFUvolXV.mjs';
|
|
28
|
+
import '../chunks/trash-2-Lrm9CnmY.mjs';
|
|
29
29
|
import '@radix-ui/react-collection';
|
|
30
|
-
import '../chunks/index-
|
|
31
|
-
import '../chunks/index-
|
|
32
|
-
import '../chunks/chevron-down-
|
|
30
|
+
import '../chunks/index-BYYIvrWN.mjs';
|
|
31
|
+
import '../chunks/index-BmRFmtMt.mjs';
|
|
32
|
+
import '../chunks/chevron-down-pTMTQEy7.mjs';
|
|
33
33
|
import 'class-variance-authority';
|
|
34
34
|
|
|
35
35
|
const __iconNode = [
|
package/dist/alert/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cva } from 'class-variance-authority';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { c as cn } from '../chunks/utils-
|
|
4
|
-
import '../chunks/bundle-mjs-
|
|
3
|
+
import { c as cn } from '../chunks/utils-BiySr2fz.mjs';
|
|
4
|
+
import '../chunks/bundle-mjs-DEAKsOg9.mjs';
|
|
5
5
|
|
|
6
6
|
const alertVariants = cva("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current", {
|
|
7
7
|
variants: {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { c as createContextScope } from '../chunks/index-
|
|
3
|
-
import { u as useComposedRefs } from '../chunks/index-
|
|
4
|
-
import { c as createDialogScope, R as Root, P as Portal, O as Overlay, b as Trigger, W as WarningProvider, a as Content, T as Title, D as Description, C as Close } from '../chunks/index-
|
|
5
|
-
import { c as composeEventHandlers } from '../chunks/index-
|
|
2
|
+
import { c as createContextScope } from '../chunks/index-Blry6DJn.mjs';
|
|
3
|
+
import { u as useComposedRefs } from '../chunks/index-DiRTrqor.mjs';
|
|
4
|
+
import { c as createDialogScope, R as Root, P as Portal, O as Overlay, b as Trigger, W as WarningProvider, a as Content, T as Title, D as Description, C as Close } from '../chunks/index-DPBBqqVS.mjs';
|
|
5
|
+
import { c as composeEventHandlers } from '../chunks/index-lJXVP4Vd.mjs';
|
|
6
6
|
import { createSlottable } from '@radix-ui/react-slot';
|
|
7
7
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
8
|
-
import { c as cn } from '../chunks/utils-
|
|
9
|
-
import { b as buttonVariants } from '../chunks/button-
|
|
10
|
-
import '../chunks/index-
|
|
11
|
-
import '../chunks/index-
|
|
12
|
-
import '../chunks/index-
|
|
13
|
-
import '../chunks/index-
|
|
14
|
-
import '../chunks/index-
|
|
8
|
+
import { c as cn } from '../chunks/utils-BiySr2fz.mjs';
|
|
9
|
+
import { b as buttonVariants } from '../chunks/button-NOnRgzwS.mjs';
|
|
10
|
+
import '../chunks/index-QO5xEicn.mjs';
|
|
11
|
+
import '../chunks/index-CKz1HXp2.mjs';
|
|
12
|
+
import '../chunks/index-BgHsh9M4.mjs';
|
|
13
|
+
import '../chunks/index-ZqM56Bg2.mjs';
|
|
14
|
+
import '../chunks/index-DumqgQ_L.mjs';
|
|
15
15
|
import 'react-dom';
|
|
16
|
-
import '../chunks/index-
|
|
17
|
-
import '../chunks/index-
|
|
18
|
-
import '../chunks/tslib.es6
|
|
19
|
-
import '../chunks/index-
|
|
20
|
-
import '../chunks/index-
|
|
21
|
-
import '../chunks/bundle-mjs-
|
|
16
|
+
import '../chunks/index-CeEyI_xT.mjs';
|
|
17
|
+
import '../chunks/index-zEUnGtr4.mjs';
|
|
18
|
+
import '../chunks/tslib.es6-BUkHi4uJ.mjs';
|
|
19
|
+
import '../chunks/index-D-Ge2tuH.mjs';
|
|
20
|
+
import '../chunks/index-GOuU61VI.mjs';
|
|
21
|
+
import '../chunks/bundle-mjs-DEAKsOg9.mjs';
|
|
22
22
|
import 'class-variance-authority';
|
|
23
23
|
|
|
24
24
|
var ROOT_NAME = "AlertDialog";
|
package/dist/avatar/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { c as createContextScope } from '../chunks/index-
|
|
3
|
-
import { u as useCallbackRef } from '../chunks/index-
|
|
4
|
-
import { u as useLayoutEffect2 } from '../chunks/index-
|
|
5
|
-
import { P as Primitive } from '../chunks/index-
|
|
6
|
-
import { r as requireShim } from '../chunks/index-
|
|
2
|
+
import { c as createContextScope } from '../chunks/index-Blry6DJn.mjs';
|
|
3
|
+
import { u as useCallbackRef } from '../chunks/index-CeEyI_xT.mjs';
|
|
4
|
+
import { u as useLayoutEffect2 } from '../chunks/index-CKz1HXp2.mjs';
|
|
5
|
+
import { P as Primitive } from '../chunks/index-DumqgQ_L.mjs';
|
|
6
|
+
import { r as requireShim } from '../chunks/index-BOWGR-j0.mjs';
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
|
-
import { c as cn } from '../chunks/utils-
|
|
8
|
+
import { c as cn } from '../chunks/utils-BiySr2fz.mjs';
|
|
9
9
|
import 'react-dom';
|
|
10
10
|
import '@radix-ui/react-slot';
|
|
11
|
-
import '../chunks/bundle-mjs-
|
|
11
|
+
import '../chunks/bundle-mjs-DEAKsOg9.mjs';
|
|
12
12
|
|
|
13
13
|
var shimExports = requireShim();
|
|
14
14
|
|
package/dist/badge/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { B as Badge, b as badgeVariants } from '../chunks/badge-
|
|
1
|
+
export { B as Badge, b as badgeVariants } from '../chunks/badge-rIZqy9Ek.mjs';
|
|
2
2
|
import '@radix-ui/react-slot';
|
|
3
3
|
import 'class-variance-authority';
|
|
4
4
|
import 'react';
|
|
5
|
-
import '../chunks/utils-
|
|
6
|
-
import '../chunks/bundle-mjs-
|
|
5
|
+
import '../chunks/utils-BiySr2fz.mjs';
|
|
6
|
+
import '../chunks/bundle-mjs-DEAKsOg9.mjs';
|
|
7
7
|
//# sourceMappingURL=index.mjs.map
|
package/dist/base/index.mjs
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import React__default, { useRef, useEffect, useMemo } from 'react';
|
|
2
|
-
import { c as cn } from '../chunks/utils-
|
|
3
|
-
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-
|
|
4
|
-
import { B as Button } from '../chunks/button-
|
|
5
|
-
import { C as ChevronsUpDown } from '../chunks/chevrons-up-down-
|
|
6
|
-
import { C as Command, b as CommandInput, d as CommandEmpty, c as CommandList, e as CommandGroup, f as CommandItem } from '../chunks/command-
|
|
7
|
-
import { C as Check } from '../chunks/check-
|
|
8
|
-
import { t as tryParseDate, p as ptBR } from '../chunks/date-
|
|
9
|
-
import { L as LoaderCircle } from '../chunks/loader-circle-
|
|
10
|
-
import { C as CalendarDays } from '../chunks/calendar-days-
|
|
11
|
-
import { C as Calendar } from '../chunks/calendar-
|
|
12
|
-
import { t as toDate, f as format } from '../chunks/format-
|
|
13
|
-
export { C as CalendarRange } from '../chunks/CalendarRange-
|
|
14
|
-
export { D as DeleteConfirmationModal } from '../chunks/DeleteConfirmationModal-
|
|
15
|
-
import { A as Accordion, a as AccordionItem, b as AccordionTrigger, c as AccordionContent } from '../chunks/accordion-
|
|
16
|
-
import { t as twMerge } from '../chunks/bundle-mjs-
|
|
17
|
-
import { H as HoverCard, a as HoverCardTrigger, b as HoverCardContent } from '../chunks/hover-card-
|
|
18
|
-
import { B as Badge } from '../chunks/badge-
|
|
19
|
-
export { T as TooltipIndicator } from '../chunks/TooltipIndicator-
|
|
20
|
-
import '../chunks/index-
|
|
21
|
-
import '../chunks/index-
|
|
22
|
-
import '../chunks/index-
|
|
2
|
+
import { c as cn } from '../chunks/utils-BiySr2fz.mjs';
|
|
3
|
+
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-LInfsDo_.mjs';
|
|
4
|
+
import { B as Button } from '../chunks/button-NOnRgzwS.mjs';
|
|
5
|
+
import { C as ChevronsUpDown } from '../chunks/chevrons-up-down-CchtbsMm.mjs';
|
|
6
|
+
import { C as Command, b as CommandInput, d as CommandEmpty, c as CommandList, e as CommandGroup, f as CommandItem } from '../chunks/command-DH_XhNOU.mjs';
|
|
7
|
+
import { C as Check } from '../chunks/check-DXZ_15zz.mjs';
|
|
8
|
+
import { t as tryParseDate, p as ptBR } from '../chunks/date-DDoc_o17.mjs';
|
|
9
|
+
import { L as LoaderCircle } from '../chunks/loader-circle-CsRZgbvV.mjs';
|
|
10
|
+
import { C as CalendarDays } from '../chunks/calendar-days-DS4secB2.mjs';
|
|
11
|
+
import { C as Calendar } from '../chunks/calendar-D380sy27.mjs';
|
|
12
|
+
import { t as toDate, f as format } from '../chunks/format-D9SXKkws.mjs';
|
|
13
|
+
export { C as CalendarRange } from '../chunks/CalendarRange-DVfhXf4s.mjs';
|
|
14
|
+
export { D as DeleteConfirmationModal } from '../chunks/DeleteConfirmationModal-uWWIKaEJ.mjs';
|
|
15
|
+
import { A as Accordion, a as AccordionItem, b as AccordionTrigger, c as AccordionContent } from '../chunks/accordion-DFz3omwg.mjs';
|
|
16
|
+
import { t as twMerge } from '../chunks/bundle-mjs-DEAKsOg9.mjs';
|
|
17
|
+
import { H as HoverCard, a as HoverCardTrigger, b as HoverCardContent } from '../chunks/hover-card-B8hltcfe.mjs';
|
|
18
|
+
import { B as Badge } from '../chunks/badge-rIZqy9Ek.mjs';
|
|
19
|
+
export { T as TooltipIndicator } from '../chunks/TooltipIndicator-vtuzMMcA.mjs';
|
|
20
|
+
import '../chunks/index-lJXVP4Vd.mjs';
|
|
21
|
+
import '../chunks/index-DiRTrqor.mjs';
|
|
22
|
+
import '../chunks/index-Blry6DJn.mjs';
|
|
23
23
|
import 'react/jsx-runtime';
|
|
24
|
-
import '../chunks/index-
|
|
25
|
-
import '../chunks/index-
|
|
24
|
+
import '../chunks/index-ZqM56Bg2.mjs';
|
|
25
|
+
import '../chunks/index-DumqgQ_L.mjs';
|
|
26
26
|
import 'react-dom';
|
|
27
27
|
import '@radix-ui/react-slot';
|
|
28
|
-
import '../chunks/index-
|
|
29
|
-
import '../chunks/index-
|
|
30
|
-
import '../chunks/tslib.es6
|
|
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/index-
|
|
28
|
+
import '../chunks/index-CeEyI_xT.mjs';
|
|
29
|
+
import '../chunks/index-zEUnGtr4.mjs';
|
|
30
|
+
import '../chunks/tslib.es6-BUkHi4uJ.mjs';
|
|
31
|
+
import '../chunks/index-QO5xEicn.mjs';
|
|
32
|
+
import '../chunks/index-CKz1HXp2.mjs';
|
|
33
|
+
import '../chunks/index-DkbzMWJQ.mjs';
|
|
34
|
+
import '../chunks/index-BK8-Ri2-.mjs';
|
|
35
|
+
import '../chunks/index-D-Ge2tuH.mjs';
|
|
36
|
+
import '../chunks/index-GOuU61VI.mjs';
|
|
37
|
+
import '../chunks/index-BgHsh9M4.mjs';
|
|
38
38
|
import 'class-variance-authority';
|
|
39
|
-
import '../chunks/createLucideIcon-
|
|
40
|
-
import '../chunks/index-
|
|
41
|
-
import '../chunks/dialog-
|
|
42
|
-
import '../chunks/x-
|
|
43
|
-
import '../chunks/chevron-left-
|
|
44
|
-
import '../chunks/chevron-right-
|
|
45
|
-
import '../chunks/chevron-down-
|
|
46
|
-
import '../chunks/trash-2-
|
|
39
|
+
import '../chunks/createLucideIcon-Bkij_v5k.mjs';
|
|
40
|
+
import '../chunks/index-DPBBqqVS.mjs';
|
|
41
|
+
import '../chunks/dialog-lYftBGvM.mjs';
|
|
42
|
+
import '../chunks/x-CFUvolXV.mjs';
|
|
43
|
+
import '../chunks/chevron-left-WlwcK1Lg.mjs';
|
|
44
|
+
import '../chunks/chevron-right-eWEXbk6Y.mjs';
|
|
45
|
+
import '../chunks/chevron-down-pTMTQEy7.mjs';
|
|
46
|
+
import '../chunks/trash-2-Lrm9CnmY.mjs';
|
|
47
47
|
import '@radix-ui/react-collection';
|
|
48
|
-
import '../chunks/index-
|
|
49
|
-
import '../chunks/index-
|
|
50
|
-
import '../chunks/tooltip-
|
|
51
|
-
import '../chunks/index-
|
|
48
|
+
import '../chunks/index-BYYIvrWN.mjs';
|
|
49
|
+
import '../chunks/index-BmRFmtMt.mjs';
|
|
50
|
+
import '../chunks/tooltip-CCCTni3M.mjs';
|
|
51
|
+
import '../chunks/index-BAEn-ttU.mjs';
|
|
52
52
|
|
|
53
53
|
function c(e, u, c, i) {
|
|
54
54
|
var a = this, o = useRef(null), f = useRef(0), l = useRef(0), v = useRef(null), m = useRef([]), d = useRef(), g = useRef(), p = useRef(e), w = useRef(true);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Slot } from '@radix-ui/react-slot';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { c as cn } from '../chunks/utils-
|
|
4
|
-
import { C as ChevronRight } from '../chunks/chevron-right-
|
|
5
|
-
import { E as Ellipsis } from '../chunks/ellipsis-
|
|
6
|
-
import '../chunks/bundle-mjs-
|
|
7
|
-
import '../chunks/createLucideIcon-
|
|
3
|
+
import { c as cn } from '../chunks/utils-BiySr2fz.mjs';
|
|
4
|
+
import { C as ChevronRight } from '../chunks/chevron-right-eWEXbk6Y.mjs';
|
|
5
|
+
import { E as Ellipsis } from '../chunks/ellipsis-DmfhrCsy.mjs';
|
|
6
|
+
import '../chunks/bundle-mjs-DEAKsOg9.mjs';
|
|
7
|
+
import '../chunks/createLucideIcon-Bkij_v5k.mjs';
|
|
8
8
|
|
|
9
9
|
function Breadcrumb({ ...props }) {
|
|
10
10
|
return /*#__PURE__*/ React.createElement("nav", {
|
package/dist/button/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { B as Button, b as buttonVariants } from '../chunks/button-
|
|
1
|
+
export { B as Button, b as buttonVariants } from '../chunks/button-NOnRgzwS.mjs';
|
|
2
2
|
import '@radix-ui/react-slot';
|
|
3
3
|
import 'class-variance-authority';
|
|
4
4
|
import 'react';
|
|
5
|
-
import '../chunks/utils-
|
|
6
|
-
import '../chunks/bundle-mjs-
|
|
5
|
+
import '../chunks/utils-BiySr2fz.mjs';
|
|
6
|
+
import '../chunks/bundle-mjs-DEAKsOg9.mjs';
|
|
7
7
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Slot } from '@radix-ui/react-slot';
|
|
2
2
|
import { cva } from 'class-variance-authority';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { c as cn } from '../chunks/utils-
|
|
5
|
-
import { S as Separator } from '../chunks/separator-
|
|
6
|
-
import '../chunks/bundle-mjs-
|
|
7
|
-
import '../chunks/index-
|
|
4
|
+
import { c as cn } from '../chunks/utils-BiySr2fz.mjs';
|
|
5
|
+
import { S as Separator } from '../chunks/separator-DgWXe8vE.mjs';
|
|
6
|
+
import '../chunks/bundle-mjs-DEAKsOg9.mjs';
|
|
7
|
+
import '../chunks/index-DumqgQ_L.mjs';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
|
package/dist/calendar/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { C as Calendar, a as CalendarDayButton } from '../chunks/calendar-
|
|
1
|
+
export { C as Calendar, a as CalendarDayButton } from '../chunks/calendar-D380sy27.mjs';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '../chunks/utils-
|
|
4
|
-
import '../chunks/bundle-mjs-
|
|
5
|
-
import '../chunks/format-
|
|
6
|
-
import '../chunks/chevron-left-
|
|
7
|
-
import '../chunks/createLucideIcon-
|
|
8
|
-
import '../chunks/chevron-right-
|
|
9
|
-
import '../chunks/chevron-down-
|
|
10
|
-
import '../chunks/button-
|
|
3
|
+
import '../chunks/utils-BiySr2fz.mjs';
|
|
4
|
+
import '../chunks/bundle-mjs-DEAKsOg9.mjs';
|
|
5
|
+
import '../chunks/format-D9SXKkws.mjs';
|
|
6
|
+
import '../chunks/chevron-left-WlwcK1Lg.mjs';
|
|
7
|
+
import '../chunks/createLucideIcon-Bkij_v5k.mjs';
|
|
8
|
+
import '../chunks/chevron-right-eWEXbk6Y.mjs';
|
|
9
|
+
import '../chunks/chevron-down-pTMTQEy7.mjs';
|
|
10
|
+
import '../chunks/button-NOnRgzwS.mjs';
|
|
11
11
|
import '@radix-ui/react-slot';
|
|
12
12
|
import 'class-variance-authority';
|
|
13
13
|
//# sourceMappingURL=index.mjs.map
|
package/dist/card/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { C as Card, d as CardAction, f as CardContent, e as CardDescription, b as CardFooter, a as CardHeader, c as CardTitle } from '../chunks/card-
|
|
1
|
+
export { C as Card, d as CardAction, f as CardContent, e as CardDescription, b as CardFooter, a as CardHeader, c as CardTitle } from '../chunks/card-BlqvJ9NA.mjs';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '../chunks/utils-
|
|
4
|
-
import '../chunks/bundle-mjs-
|
|
3
|
+
import '../chunks/utils-BiySr2fz.mjs';
|
|
4
|
+
import '../chunks/bundle-mjs-DEAKsOg9.mjs';
|
|
5
5
|
//# sourceMappingURL=index.mjs.map
|
package/dist/carousel/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useRef, useState, useCallback, useEffect } from 'react';
|
|
3
|
-
import { c as cn } from '../chunks/utils-
|
|
4
|
-
import { c as createLucideIcon } from '../chunks/createLucideIcon-
|
|
5
|
-
import { B as Button } from '../chunks/button-
|
|
6
|
-
import '../chunks/bundle-mjs-
|
|
3
|
+
import { c as cn } from '../chunks/utils-BiySr2fz.mjs';
|
|
4
|
+
import { c as createLucideIcon } from '../chunks/createLucideIcon-Bkij_v5k.mjs';
|
|
5
|
+
import { B as Button } from '../chunks/button-NOnRgzwS.mjs';
|
|
6
|
+
import '../chunks/bundle-mjs-DEAKsOg9.mjs';
|
|
7
7
|
import '@radix-ui/react-slot';
|
|
8
8
|
import 'class-variance-authority';
|
|
9
9
|
|
package/dist/chart/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default, { isValidElement, forwardRef, useContext, createContext, PureComponent, useState, useCallback, useMemo, useRef, useImperativeHandle, useEffect, cloneElement, createElement } from 'react';
|
|
3
|
-
import { a as clsx, c as cn } from '../chunks/utils-
|
|
3
|
+
import { a as clsx, c as cn } from '../chunks/utils-BiySr2fz.mjs';
|
|
4
4
|
import { createPortal } from 'react-dom';
|
|
5
|
-
import { g as getDefaultExportFromCjs } from '../chunks/_commonjsHelpers-
|
|
6
|
-
import { r as requireShim } from '../chunks/index-
|
|
7
|
-
import '../chunks/bundle-mjs-
|
|
5
|
+
import { g as getDefaultExportFromCjs } from '../chunks/_commonjsHelpers-BS2U17RT.mjs';
|
|
6
|
+
import { r as requireShim } from '../chunks/index-BOWGR-j0.mjs';
|
|
7
|
+
import '../chunks/bundle-mjs-DEAKsOg9.mjs';
|
|
8
8
|
|
|
9
9
|
var EventKeys = [
|
|
10
10
|
'dangerouslySetInnerHTML',
|
package/dist/checkbox/index.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { C as Checkbox } from '../chunks/checkbox-
|
|
1
|
+
export { C as Checkbox } from '../chunks/checkbox-CEbVqw9O.mjs';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '../chunks/index-
|
|
4
|
-
import '../chunks/index-
|
|
3
|
+
import '../chunks/index-DiRTrqor.mjs';
|
|
4
|
+
import '../chunks/index-Blry6DJn.mjs';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
|
-
import '../chunks/index-
|
|
7
|
-
import '../chunks/index-
|
|
8
|
-
import '../chunks/index-
|
|
9
|
-
import '../chunks/index-
|
|
10
|
-
import '../chunks/index-
|
|
11
|
-
import '../chunks/index-
|
|
12
|
-
import '../chunks/index-
|
|
6
|
+
import '../chunks/index-lJXVP4Vd.mjs';
|
|
7
|
+
import '../chunks/index-BgHsh9M4.mjs';
|
|
8
|
+
import '../chunks/index-CKz1HXp2.mjs';
|
|
9
|
+
import '../chunks/index-DHHfXO1l.mjs';
|
|
10
|
+
import '../chunks/index-BK8-Ri2-.mjs';
|
|
11
|
+
import '../chunks/index-GOuU61VI.mjs';
|
|
12
|
+
import '../chunks/index-DumqgQ_L.mjs';
|
|
13
13
|
import 'react-dom';
|
|
14
14
|
import '@radix-ui/react-slot';
|
|
15
|
-
import '../chunks/utils-
|
|
16
|
-
import '../chunks/bundle-mjs-
|
|
17
|
-
import '../chunks/check-
|
|
18
|
-
import '../chunks/createLucideIcon-
|
|
15
|
+
import '../chunks/utils-BiySr2fz.mjs';
|
|
16
|
+
import '../chunks/bundle-mjs-DEAKsOg9.mjs';
|
|
17
|
+
import '../chunks/check-DXZ_15zz.mjs';
|
|
18
|
+
import '../chunks/createLucideIcon-Bkij_v5k.mjs';
|
|
19
19
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { c as cn } from './utils-
|
|
3
|
-
import { C as CalendarDays } from './calendar-days-
|
|
4
|
-
import { b as addMonths, C as Calendar } from './calendar-
|
|
5
|
-
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from './popover-
|
|
6
|
-
import { B as Button } from './button-
|
|
7
|
-
import { f as format } from './format-
|
|
8
|
-
import { p as ptBR } from './date-
|
|
2
|
+
import { c as cn } from './utils-BiySr2fz.mjs';
|
|
3
|
+
import { C as CalendarDays } from './calendar-days-DS4secB2.mjs';
|
|
4
|
+
import { b as addMonths, C as Calendar } from './calendar-D380sy27.mjs';
|
|
5
|
+
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from './popover-LInfsDo_.mjs';
|
|
6
|
+
import { B as Button } from './button-NOnRgzwS.mjs';
|
|
7
|
+
import { f as format } from './format-D9SXKkws.mjs';
|
|
8
|
+
import { p as ptBR } from './date-DDoc_o17.mjs';
|
|
9
9
|
|
|
10
10
|
function CalendarRange({ value, onChange, placeholder = "Selecione uma data", id = "date", buttonProps, popoverProps, popoverContentClassName, className, disabled, ...props }) {
|
|
11
11
|
const [open, setOpen] = React.useState(false);
|
|
@@ -86,4 +86,4 @@ function CalendarRange({ value, onChange, placeholder = "Selecione uma data", id
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
export { CalendarRange as C };
|
|
89
|
-
//# sourceMappingURL=CalendarRange-
|
|
89
|
+
//# sourceMappingURL=CalendarRange-DVfhXf4s.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalendarRange-
|
|
1
|
+
{"version":3,"file":"CalendarRange-DVfhXf4s.mjs","sources":["../../src/components/default/base/CalendarRange.tsx"],"sourcesContent":["\"use client\";\n\nimport { addMonths, format } from \"date-fns\";\nimport { ptBR } from \"date-fns/locale\";\nimport { CalendarDaysIcon } from \"lucide-react\";\nimport * as React from \"react\";\nimport { type DateRange } from \"react-day-picker\";\nimport { Button, type ButtonProps } from \"@/components/ui/button\";\nimport { Calendar } from \"@/components/ui/calendar\";\nimport { Popover, PopoverContent, PopoverTrigger } from \"@/components/ui/popover\";\nimport { cn } from \"@/lib/utils\";\n\nexport interface CalendarRangeProps\n\textends Omit<React.ComponentProps<typeof Calendar>, \"mode\" | \"selected\" | \"onSelect\"> {\n\t/** Intervalo de datas selecionado (com `from` e `to`) */\n\tvalue: DateRange | undefined;\n\t/** Função chamada ao alterar o intervalo de datas selecionado */\n\tonChange: (range: DateRange | undefined) => void;\n\t/** Texto exibido quando não há intervalo selecionado */\n\tplaceholder?: string;\n\t/** ID opcional do botão */\n\tid?: string;\n\t/** Props extras para o botão */\n\tbuttonProps?: ButtonProps;\n\t/** Props extras para o popover */\n\tpopoverProps?: React.ComponentProps<typeof Popover>;\n\t/** Classe extra para o conteúdo do popover */\n\tpopoverContentClassName?: string;\n\t/** Classe extra para o botão */\n\tclassName?: string;\n\t/** Desabilita o botão e impede a seleção de datas */\n\tdisabled?: boolean;\n\t/**\n\t * Mês padrão a ser mostrado (caso nenhuma data esteja selecionada)\n\t * Por padrão, será o mês atual.\n\t */\n\tdefaultMonth?: Date;\n}\n\nexport function CalendarRange({\n\tvalue,\n\tonChange,\n\tplaceholder = \"Selecione uma data\",\n\tid = \"date\",\n\tbuttonProps,\n\tpopoverProps,\n\tpopoverContentClassName,\n\tclassName,\n\tdisabled,\n\t...props\n}: CalendarRangeProps) {\n\tconst [open, setOpen] = React.useState(false);\n\n\tconst [leftMonth, setLeftMonth] = React.useState<Date>(\n\t\tvalue?.from ?? props.defaultMonth ?? new Date(),\n\t);\n\tconst [rightMonth, setRightMonth] = React.useState<Date>(\n\t\tvalue?.to ?? addMonths(value?.from ?? props.defaultMonth ?? new Date(), 1),\n\t);\n\n\t// Ao abrir o popover, ajusta os meses para refletir a seleção atual\n\t// biome-ignore lint/correctness/useExhaustiveDependencies: <useEffect>\n\tReact.useEffect(() => {\n\t\tif (open) {\n\t\t\tconst left = value?.from ?? props.defaultMonth ?? new Date();\n\t\t\tconst right = value?.to ?? addMonths(left, 1);\n\t\t\tsetLeftMonth(left);\n\t\t\tsetRightMonth(right);\n\t\t}\n\t\t// NÃO colocamos value como dependência isolada aqui para evitar piscar enquanto já aberto\n\t\t// queremos apenas \"resetar\" quando o popover for aberto\n\t}, [open]);\n\n\t// Se a seleção mudar enquanto o popover estiver fechado, atualizar os meses iniciais\n\tReact.useEffect(() => {\n\t\tif (!open) {\n\t\t\tsetLeftMonth(value?.from ?? props.defaultMonth ?? new Date());\n\t\t\tsetRightMonth(value?.to ?? addMonths(value?.from ?? props.defaultMonth ?? new Date(), 1));\n\t\t}\n\t}, [value?.from, value?.to, open, props.defaultMonth]);\n\n\treturn (\n\t\t<Popover {...popoverProps} open={open} onOpenChange={setOpen}>\n\t\t\t<PopoverTrigger asChild>\n\t\t\t\t<Button\n\t\t\t\t\tid={id}\n\t\t\t\t\tvariant=\"outline\"\n\t\t\t\t\tclassName={cn(\n\t\t\t\t\t\t\"hover:foreground justify-start text-left font-normal\",\n\t\t\t\t\t\t!value && \"text-muted-foreground hover:text-muted-foreground\",\n\t\t\t\t\t\tclassName,\n\t\t\t\t\t)}\n\t\t\t\t\tdisabled={disabled}\n\t\t\t\t\t{...buttonProps}\n\t\t\t\t>\n\t\t\t\t\t<CalendarDaysIcon className=\"size-4\" />\n\t\t\t\t\t{value?.from ? (\n\t\t\t\t\t\tvalue.to ? (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t{format(value.from, \"P\", { locale: ptBR })} -{\" \"}\n\t\t\t\t\t\t\t\t{format(value.to, \"P\", { locale: ptBR })}\n\t\t\t\t\t\t\t</>\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\tformat(value.from, \"P\")\n\t\t\t\t\t\t)\n\t\t\t\t\t) : (\n\t\t\t\t\t\t<span>{placeholder}</span>\n\t\t\t\t\t)}\n\t\t\t\t</Button>\n\t\t\t</PopoverTrigger>\n\n\t\t\t<PopoverContent className={cn(\"w-auto p-3\", popoverContentClassName)} align=\"start\">\n\t\t\t\t<div className=\"flex gap-4\">\n\t\t\t\t\t<Calendar\n\t\t\t\t\t\t{...props}\n\t\t\t\t\t\tautoFocus={false}\n\t\t\t\t\t\tcaptionLayout=\"dropdown\"\n\t\t\t\t\t\tselected={value}\n\t\t\t\t\t\tonSelect={(r) => onChange(r)}\n\t\t\t\t\t\tlocale={ptBR}\n\t\t\t\t\t\tnumberOfMonths={1}\n\t\t\t\t\t\tmonth={leftMonth}\n\t\t\t\t\t\tonMonthChange={(m) => setLeftMonth(m)}\n\t\t\t\t\t\tmode=\"range\"\n\t\t\t\t\t/>\n\n\t\t\t\t\t<Calendar\n\t\t\t\t\t\t{...props}\n\t\t\t\t\t\tautoFocus={false}\n\t\t\t\t\t\tcaptionLayout=\"dropdown\"\n\t\t\t\t\t\tselected={value}\n\t\t\t\t\t\tonSelect={(r) => onChange(r)}\n\t\t\t\t\t\tlocale={ptBR}\n\t\t\t\t\t\tnumberOfMonths={1}\n\t\t\t\t\t\tmonth={rightMonth}\n\t\t\t\t\t\tonMonthChange={(m) => setRightMonth(m)}\n\t\t\t\t\t\tmode=\"range\"\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\t\t\t</PopoverContent>\n\t\t</Popover>\n\t);\n}\n"],"names":["CalendarRange","value","onChange","placeholder","id","buttonProps","popoverProps","popoverContentClassName","className","disabled","props","open","setOpen","React","useState","leftMonth","setLeftMonth","from","defaultMonth","Date","rightMonth","setRightMonth","to","addMonths","useEffect","left","right","Popover","onOpenChange","PopoverTrigger","asChild","Button","variant","cn","CalendarDaysIcon","format","locale","ptBR","span","PopoverContent","align","div","Calendar","autoFocus","captionLayout","selected","onSelect","r","numberOfMonths","month","onMonthChange","m","mode"],"mappings":"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"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { c as cn } from './utils-
|
|
3
|
-
import { C as ChevronsUpDown } from './chevrons-up-down-
|
|
4
|
-
import { C as Check } from './check-
|
|
5
|
-
import { X } from './x-
|
|
6
|
-
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from './popover-
|
|
7
|
-
import { B as Button } from './button-
|
|
8
|
-
import { C as Command, b as CommandInput, d as CommandEmpty, c as CommandList, e as CommandGroup, f as CommandItem } from './command-
|
|
9
|
-
import { B as Badge } from './badge-
|
|
2
|
+
import { c as cn } from './utils-BiySr2fz.mjs';
|
|
3
|
+
import { C as ChevronsUpDown } from './chevrons-up-down-CchtbsMm.mjs';
|
|
4
|
+
import { C as Check } from './check-DXZ_15zz.mjs';
|
|
5
|
+
import { X } from './x-CFUvolXV.mjs';
|
|
6
|
+
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from './popover-LInfsDo_.mjs';
|
|
7
|
+
import { B as Button } from './button-NOnRgzwS.mjs';
|
|
8
|
+
import { C as Command, b as CommandInput, d as CommandEmpty, c as CommandList, e as CommandGroup, f as CommandItem } from './command-DH_XhNOU.mjs';
|
|
9
|
+
import { B as Badge } from './badge-rIZqy9Ek.mjs';
|
|
10
10
|
|
|
11
11
|
const ComboboxField = ({ items, value, onChange, placeholder, className, classNamePopover })=>{
|
|
12
12
|
const [open, setOpen] = React__default.useState(false);
|
|
@@ -64,4 +64,4 @@ const ComboboxField = ({ items, value, onChange, placeholder, className, classNa
|
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
export { ComboboxField as C };
|
|
67
|
-
//# sourceMappingURL=ComboboxField-
|
|
67
|
+
//# sourceMappingURL=ComboboxField-BkZOYdiv.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboboxField-
|
|
1
|
+
{"version":3,"file":"ComboboxField-BkZOYdiv.mjs","sources":["../../src/components/default/form-fields/ComboboxField.tsx"],"sourcesContent":["\"use client\";\n\nimport { Check, ChevronsUpDown, X } from \"lucide-react\";\nimport React from \"react\";\nimport { Badge } from \"@/components/ui/badge\";\nimport { Button } from \"@/components/ui/button\";\nimport {\n\tCommand,\n\tCommandEmpty,\n\tCommandGroup,\n\tCommandInput,\n\tCommandItem,\n\tCommandList,\n} from \"@/components/ui/command\";\nimport { Popover, PopoverContent, PopoverTrigger } from \"@/components/ui/popover\";\nimport { cn } from \"@/lib/utils\";\n\ninterface ComboboxFieldProps {\n\titems: string[];\n\tvalue: string[];\n\tonChange: (value: string[]) => void;\n\tplaceholder?: string;\n\tclassName?: string;\n\tclassNamePopover?: string;\n}\n\nexport const ComboboxField: React.FC<ComboboxFieldProps> = ({\n\titems,\n\tvalue,\n\tonChange,\n\tplaceholder,\n\tclassName,\n\tclassNamePopover,\n}) => {\n\tconst [open, setOpen] = React.useState(false);\n\n\tconst toggleValue = (item: string) => {\n\t\tif (value.includes(item)) {\n\t\t\tonChange(value.filter((v) => v !== item));\n\t\t} else {\n\t\t\tonChange([...value, item]);\n\t\t}\n\t};\n\n\tconst uniqueItems = Array.from(new Set(items));\n\n\treturn (\n\t\t<div className=\"flex flex-col gap-2\">\n\t\t\t<Popover open={open} onOpenChange={setOpen}>\n\t\t\t\t<PopoverTrigger asChild>\n\t\t\t\t\t<Button\n\t\t\t\t\t\tvariant=\"outline\"\n\t\t\t\t\t\taria-expanded={open}\n\t\t\t\t\t\tclassName={cn(\"justify-between font-normal\", className)}\n\t\t\t\t\t>\n\t\t\t\t\t\t{value.length > 0 ? `${value.length} selecionado(s)` : (placeholder ?? \"Selecione\")}\n\t\t\t\t\t\t<ChevronsUpDown className=\"ml-2 h-4 w-4 shrink-0 opacity-50\" />\n\t\t\t\t\t</Button>\n\t\t\t\t</PopoverTrigger>\n\t\t\t\t<PopoverContent className={cn(\"p-0\", classNamePopover)}>\n\t\t\t\t\t<Command>\n\t\t\t\t\t\t<CommandInput placeholder=\"Filtrar...\" />\n\t\t\t\t\t\t<CommandEmpty>Nenhuma opção encontrada.</CommandEmpty>\n\t\t\t\t\t\t<CommandList className=\"max-h-60 overflow-y-auto\">\n\t\t\t\t\t\t\t<CommandGroup>\n\t\t\t\t\t\t\t\t{uniqueItems.map((item) => (\n\t\t\t\t\t\t\t\t\t<CommandItem\n\t\t\t\t\t\t\t\t\t\tkey={item}\n\t\t\t\t\t\t\t\t\t\tvalue={item}\n\t\t\t\t\t\t\t\t\t\tonSelect={() => toggleValue(item)}\n\t\t\t\t\t\t\t\t\t\tclassName=\"cursor-pointer\"\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t<Check\n\t\t\t\t\t\t\t\t\t\t\tclassName={cn(\n\t\t\t\t\t\t\t\t\t\t\t\t\"mr-2 h-4 w-4\",\n\t\t\t\t\t\t\t\t\t\t\t\tvalue.includes(item) ? \"opacity-100\" : \"opacity-0\",\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t{item}\n\t\t\t\t\t\t\t\t\t</CommandItem>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t</CommandGroup>\n\t\t\t\t\t\t</CommandList>\n\t\t\t\t\t</Command>\n\t\t\t\t</PopoverContent>\n\t\t\t</Popover>\n\n\t\t\t{value.length > 0 && (\n\t\t\t\t<div className=\"flex max-h-32 flex-wrap gap-2 overflow-auto\">\n\t\t\t\t\t{value.map((val) => (\n\t\t\t\t\t\t<Badge\n\t\t\t\t\t\t\tkey={val}\n\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\tclassName=\"flex h-6 w-fit items-center gap-1 px-2 py-1\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{val}\n\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t\tonClick={() => toggleValue(val)}\n\t\t\t\t\t\t\t\tclassName=\"h-5 w-5 p-0\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<X className=\"size-3\" />\n\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t</Badge>\n\t\t\t\t\t))}\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n};\n"],"names":["ComboboxField","items","value","onChange","placeholder","className","classNamePopover","open","setOpen","React","useState","toggleValue","item","includes","filter","v","uniqueItems","Array","from","Set","div","Popover","onOpenChange","PopoverTrigger","asChild","Button","variant","aria-expanded","cn","length","ChevronsUpDown","PopoverContent","Command","CommandInput","CommandEmpty","CommandList","CommandGroup","map","CommandItem","key","onSelect","Check","val","Badge","size","onClick","X"],"mappings":"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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { c as cn } from './utils-
|
|
2
|
+
import { c as cn } from './utils-BiySr2fz.mjs';
|
|
3
3
|
|
|
4
4
|
const ChildContainer = ({ children, className })=>{
|
|
5
5
|
return /*#__PURE__*/ React__default.createElement("div", {
|
|
@@ -14,4 +14,4 @@ const Container = ({ children, className })=>{
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
export { Container as C, ChildContainer as a };
|
|
17
|
-
//# sourceMappingURL=Container-
|
|
17
|
+
//# sourceMappingURL=Container-Dv9OKRy2.mjs.map
|