ivt 0.8.5 → 0.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion/index.mjs +13 -13
- package/dist/accordion-table/index.mjs +27 -27
- package/dist/alert/index.mjs +3 -3
- package/dist/alert-dialog/index.mjs +15 -15
- package/dist/auto-complete-multi-select/index.mjs +51 -45
- package/dist/auto-complete-multi-select/index.mjs.map +1 -1
- package/dist/avatar/index.mjs +5 -5
- package/dist/badge/index.mjs +3 -3
- package/dist/base/index.d.ts +53 -7
- package/dist/base/index.mjs +131 -163
- 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 +12 -12
- package/dist/chunks/ButtonActions-BbAuGm_J.mjs +54 -0
- package/dist/chunks/ButtonActions-BbAuGm_J.mjs.map +1 -0
- package/dist/chunks/{CalendarPopover-CRB6GXIt.mjs → CalendarPopover-DNS2oszG.mjs} +62 -33
- package/dist/chunks/CalendarPopover-DNS2oszG.mjs.map +1 -0
- package/dist/chunks/{CalendarRange-DucTFDzH.mjs → CalendarRange-BZ-rc5Ns.mjs} +34 -18
- package/dist/chunks/CalendarRange-BZ-rc5Ns.mjs.map +1 -0
- package/dist/chunks/{ComboboxField-Us4hYexm.mjs → ComboboxField-C5LrSTQf.mjs} +9 -9
- package/dist/chunks/{ComboboxField-Us4hYexm.mjs.map → ComboboxField-C5LrSTQf.mjs.map} +1 -1
- package/dist/chunks/{Container-BFAAGDWA.mjs → Container-qhzI-HED.mjs} +2 -2
- package/dist/chunks/{Container-BFAAGDWA.mjs.map → Container-qhzI-HED.mjs.map} +1 -1
- package/dist/chunks/{DeleteConfirmationModal-ClGTTktk.mjs → DeleteConfirmationModal-NPS_J_dT.mjs} +4 -4
- package/dist/chunks/{DeleteConfirmationModal-ClGTTktk.mjs.map → DeleteConfirmationModal-NPS_J_dT.mjs.map} +1 -1
- package/dist/chunks/ExportButtons-BtYHz3q3.mjs +364 -0
- package/dist/chunks/ExportButtons-BtYHz3q3.mjs.map +1 -0
- package/dist/chunks/{GenericTabs-CtJk8qVb.d.ts → GenericTabs-B6Sm4mwD.d.ts} +7 -2
- package/dist/chunks/{GenericTabs-B42Kfv_U.mjs → GenericTabs-CqunvZEw.mjs} +9 -8
- package/dist/chunks/GenericTabs-CqunvZEw.mjs.map +1 -0
- package/dist/chunks/{ListItem-Da4Od2ts.mjs → ListItem-CtUZSq2i.mjs} +6 -6
- package/dist/chunks/ListItem-CtUZSq2i.mjs.map +1 -0
- package/dist/chunks/ShowSkeleton-DuVLsprm.mjs +72 -0
- package/dist/chunks/ShowSkeleton-DuVLsprm.mjs.map +1 -0
- package/dist/chunks/ShowSkeleton-enwVHCqE.d.ts +12 -0
- package/dist/chunks/StepNavigator-DXnlZUw2.mjs +136 -0
- package/dist/chunks/StepNavigator-DXnlZUw2.mjs.map +1 -0
- package/dist/chunks/{TooltipIndicator-B9oMD_x3.mjs → TooltipIndicator-o_ekzuQD.mjs} +4 -4
- package/dist/chunks/{TooltipIndicator-B9oMD_x3.mjs.map → TooltipIndicator-o_ekzuQD.mjs.map} +1 -1
- package/dist/chunks/{_commonjsHelpers-CrMz3UM5.mjs → _commonjsHelpers-DLsfzCcd.mjs} +1 -1
- package/dist/chunks/_commonjsHelpers-DLsfzCcd.mjs.map +1 -0
- package/dist/chunks/{accordion-BFVct-IT.mjs → accordion-BcAmhbBS.mjs} +9 -9
- package/dist/chunks/{accordion-BFVct-IT.mjs.map → accordion-BcAmhbBS.mjs.map} +1 -1
- package/dist/chunks/{alert-DHUGrVll.mjs → alert-Ciu-8LcJ.mjs} +2 -2
- package/dist/chunks/{alert-DHUGrVll.mjs.map → alert-Ciu-8LcJ.mjs.map} +1 -1
- package/dist/chunks/{badge-BUI8RIXy.mjs → badge-ZU62MOiS.mjs} +2 -2
- package/dist/chunks/{badge-BUI8RIXy.mjs.map → badge-ZU62MOiS.mjs.map} +1 -1
- package/dist/chunks/{bundle-mjs-CjTndHqR.mjs → bundle-mjs-CXmmFvYo.mjs} +1 -1
- package/dist/chunks/{bundle-mjs-CjTndHqR.mjs.map → bundle-mjs-CXmmFvYo.mjs.map} +1 -1
- package/dist/chunks/button-CHGYaAzJ.d.ts +17 -0
- package/dist/chunks/{button-BvsCd2vf.mjs → button-CZpmCmNo.mjs} +2 -2
- package/dist/chunks/{button-BvsCd2vf.mjs.map → button-CZpmCmNo.mjs.map} +1 -1
- package/dist/chunks/{button-C8IZYeQz.d.ts → button-Ix3LPUsB.d.ts} +1 -1
- package/dist/chunks/{button-group-PrAqXtXn.mjs → button-group-ChymO3Hm.mjs} +3 -3
- package/dist/chunks/{button-group-PrAqXtXn.mjs.map → button-group-ChymO3Hm.mjs.map} +1 -1
- package/dist/chunks/{calendar-LFBK0slp.mjs → calendar-CDJv1B--.mjs} +7 -7
- package/dist/chunks/{calendar-LFBK0slp.mjs.map → calendar-CDJv1B--.mjs.map} +1 -1
- package/dist/chunks/{calendar-days-C3N6HIT-.mjs → calendar-days-DnYx8d46.mjs} +2 -2
- package/dist/chunks/{calendar-days-C3N6HIT-.mjs.map → calendar-days-DnYx8d46.mjs.map} +1 -1
- package/dist/chunks/{card-BoHc9gge.mjs → card-CEohNEru.mjs} +2 -2
- package/dist/chunks/{card-BoHc9gge.mjs.map → card-CEohNEru.mjs.map} +1 -1
- package/dist/chunks/{check-VfNn6myv.mjs → check-Ds358kZc.mjs} +2 -2
- package/dist/chunks/{check-VfNn6myv.mjs.map → check-Ds358kZc.mjs.map} +1 -1
- package/dist/chunks/{checkbox-CgrFFc0p.mjs → checkbox-DvxpZsiG.mjs} +9 -9
- package/dist/chunks/{checkbox-CgrFFc0p.mjs.map → checkbox-DvxpZsiG.mjs.map} +1 -1
- package/dist/chunks/{chevron-down-CD1QpvBA.mjs → chevron-down-CDFTds2-.mjs} +2 -2
- package/dist/chunks/{chevron-down-CD1QpvBA.mjs.map → chevron-down-CDFTds2-.mjs.map} +1 -1
- package/dist/chunks/{chevron-left-B7ClEtyW.mjs → chevron-left-Baq244Ce.mjs} +2 -2
- package/dist/chunks/{chevron-left-B7ClEtyW.mjs.map → chevron-left-Baq244Ce.mjs.map} +1 -1
- package/dist/chunks/{chevron-right-Bb52eown.mjs → chevron-right-Dq6zFe5E.mjs} +2 -2
- package/dist/chunks/{chevron-right-Bb52eown.mjs.map → chevron-right-Dq6zFe5E.mjs.map} +1 -1
- package/dist/chunks/{chevrons-up-down-C5lu4ULp.mjs → chevrons-up-down-CdBVNy4c.mjs} +2 -2
- package/dist/chunks/{chevrons-up-down-C5lu4ULp.mjs.map → chevrons-up-down-CdBVNy4c.mjs.map} +1 -1
- package/dist/chunks/combobox-D9iqP8Dp.mjs +103 -0
- package/dist/chunks/combobox-D9iqP8Dp.mjs.map +1 -0
- package/dist/chunks/{command-e20cpPEv.mjs → command-o67hOCgH.mjs} +10 -10
- package/dist/chunks/command-o67hOCgH.mjs.map +1 -0
- package/dist/chunks/{createLucideIcon-D3jW_oal.mjs → createLucideIcon-C11Tr46U.mjs} +1 -1
- package/dist/chunks/{createLucideIcon-D3jW_oal.mjs.map → createLucideIcon-C11Tr46U.mjs.map} +1 -1
- package/dist/chunks/{date-Dy-Pzcmp.mjs → date-Dqmv8Nr4.mjs} +2 -2
- package/dist/chunks/{date-Dy-Pzcmp.mjs.map → date-Dqmv8Nr4.mjs.map} +1 -1
- package/dist/chunks/{date-picker-BYXeysRW.mjs → date-picker-BBCtT16G.mjs} +13 -13
- package/dist/chunks/date-picker-BBCtT16G.mjs.map +1 -0
- package/dist/chunks/{dialog-B20zSjze.mjs → dialog-DL1cSseU.mjs} +4 -4
- package/dist/chunks/{dialog-B20zSjze.mjs.map → dialog-DL1cSseU.mjs.map} +1 -1
- package/dist/chunks/{dropdown-menu-B2ja7qty.mjs → dropdown-menu-DnPBut1Q.mjs} +9 -9
- package/dist/chunks/{dropdown-menu-B2ja7qty.mjs.map → dropdown-menu-DnPBut1Q.mjs.map} +1 -1
- package/dist/chunks/{ellipsis-C6LF5HVj.mjs → ellipsis-Cn3R-5sm.mjs} +2 -2
- package/dist/chunks/{ellipsis-C6LF5HVj.mjs.map → ellipsis-Cn3R-5sm.mjs.map} +1 -1
- package/dist/chunks/{form-BrcvX0yc.mjs → form-paAECAsZ.mjs} +3 -3
- package/dist/chunks/{form-BrcvX0yc.mjs.map → form-paAECAsZ.mjs.map} +1 -1
- package/dist/chunks/{format-CxsCX_YZ.mjs → format-8qs-kXlN.mjs} +1 -1
- package/dist/chunks/{format-CxsCX_YZ.mjs.map → format-8qs-kXlN.mjs.map} +1 -1
- package/dist/chunks/{format-numbers-CBSY6ZvL.mjs → format-numbers-LmnBEQr0.mjs} +2 -7
- package/dist/chunks/format-numbers-LmnBEQr0.mjs.map +1 -0
- package/dist/chunks/{hover-card-hPKHSJ81.mjs → hover-card-Bf6OuOg0.mjs} +9 -9
- package/dist/chunks/{hover-card-hPKHSJ81.mjs.map → hover-card-Bf6OuOg0.mjs.map} +1 -1
- package/dist/chunks/{index-SLs8oClH.mjs → index-1toTCGyr.mjs} +2 -2
- package/dist/chunks/{index-SLs8oClH.mjs.map → index-1toTCGyr.mjs.map} +1 -1
- package/dist/chunks/{index-EcI_mW3m.mjs → index-4NpeUekv.mjs} +4 -4
- package/dist/chunks/{index-EcI_mW3m.mjs.map → index-4NpeUekv.mjs.map} +1 -1
- package/dist/chunks/{index-BzAMFivh.mjs → index-B87m6Bfb.mjs} +6 -6
- package/dist/chunks/{index-BzAMFivh.mjs.map → index-B87m6Bfb.mjs.map} +1 -1
- package/dist/chunks/{index-B5fbJZIT.mjs → index-BJrVyyCQ.mjs} +2 -2
- package/dist/chunks/{index-B5fbJZIT.mjs.map → index-BJrVyyCQ.mjs.map} +1 -1
- package/dist/chunks/{index-D4iRNKtb.mjs → index-BWXpaxmG.mjs} +7 -7
- package/dist/chunks/{index-D4iRNKtb.mjs.map → index-BWXpaxmG.mjs.map} +1 -1
- package/dist/chunks/{index-JZ-FhLOH.mjs → index-BksCjWh6.mjs} +3 -3
- package/dist/chunks/{index-JZ-FhLOH.mjs.map → index-BksCjWh6.mjs.map} +1 -1
- package/dist/chunks/{index-C__GtYCW.mjs → index-C8u7IIcP.mjs} +1 -1
- package/dist/chunks/{index-C__GtYCW.mjs.map → index-C8u7IIcP.mjs.map} +1 -1
- package/dist/chunks/{index-3TdUvynV.mjs → index-COfEgTJM.mjs} +1 -1
- package/dist/chunks/{index-3TdUvynV.mjs.map → index-COfEgTJM.mjs.map} +1 -1
- package/dist/chunks/{index-B46fiGOC.mjs → index-CaYwp6E6.mjs} +9 -9
- package/dist/chunks/{index-B46fiGOC.mjs.map → index-CaYwp6E6.mjs.map} +1 -1
- package/dist/chunks/{index-DslxcA48.mjs → index-CcmH_f2V.mjs} +1 -1
- package/dist/chunks/{index-DslxcA48.mjs.map → index-CcmH_f2V.mjs.map} +1 -1
- package/dist/chunks/{index-RaUpQCps.mjs → index-D4jPaBZ2.mjs} +1 -1
- package/dist/chunks/{index-RaUpQCps.mjs.map → index-D4jPaBZ2.mjs.map} +1 -1
- package/dist/chunks/{index-DDM8Lpbb.mjs → index-DAa5gqEY.mjs} +2 -2
- package/dist/chunks/{index-DDM8Lpbb.mjs.map → index-DAa5gqEY.mjs.map} +1 -1
- package/dist/chunks/{index-Dp_x2nI3.mjs → index-DC-gAYjS.mjs} +1 -1
- package/dist/chunks/{index-Dp_x2nI3.mjs.map → index-DC-gAYjS.mjs.map} +1 -1
- package/dist/chunks/{index-DghbVew_.mjs → index-DIHpzffL.mjs} +7 -7
- package/dist/chunks/{index-DghbVew_.mjs.map → index-DIHpzffL.mjs.map} +1 -1
- package/dist/chunks/{index-DGUU265f.mjs → index-DfeRLazC.mjs} +3 -3
- package/dist/chunks/{index-DGUU265f.mjs.map → index-DfeRLazC.mjs.map} +1 -1
- package/dist/chunks/{index-B-46hbYc.mjs → index-Dsw02Eup.mjs} +1 -1
- package/dist/chunks/{index-B-46hbYc.mjs.map → index-Dsw02Eup.mjs.map} +1 -1
- package/dist/chunks/{index-DIaetExD.mjs → index-PuN-H-VF.mjs} +1 -1
- package/dist/chunks/{index-DIaetExD.mjs.map → index-PuN-H-VF.mjs.map} +1 -1
- package/dist/chunks/{index-Csf3aM1P.mjs → index-UxWlwQlk.mjs} +1 -1
- package/dist/chunks/{index-Csf3aM1P.mjs.map → index-UxWlwQlk.mjs.map} +1 -1
- package/dist/chunks/{index-DF-3JHwb.mjs → index-gX0V59dZ.mjs} +2 -2
- package/dist/chunks/{index-DF-3JHwb.mjs.map → index-gX0V59dZ.mjs.map} +1 -1
- package/dist/chunks/{index-BbPnHdtV.mjs → index-z4Hk6sF4.mjs} +5 -5
- package/dist/chunks/{index-BbPnHdtV.mjs.map → index-z4Hk6sF4.mjs.map} +1 -1
- package/dist/chunks/{index-C5uKwhOD.mjs → index-zIaBOKQ3.mjs} +13 -13
- package/dist/chunks/{index-C5uKwhOD.mjs.map → index-zIaBOKQ3.mjs.map} +1 -1
- package/dist/chunks/{index.module-B4lVPYXp.mjs → index.module-Czm-Rcez.mjs} +1 -1
- package/dist/chunks/{index.module-B4lVPYXp.mjs.map → index.module-Czm-Rcez.mjs.map} +1 -1
- package/dist/chunks/input-B-W81Xmi.mjs +14 -0
- package/dist/chunks/input-B-W81Xmi.mjs.map +1 -0
- package/dist/chunks/input-file-BH3SMNJ7.mjs +97 -0
- package/dist/chunks/input-file-BH3SMNJ7.mjs.map +1 -0
- package/dist/chunks/{input-otp-DfumrHpI.mjs → input-otp-BNC4E0wv.mjs} +3 -3
- package/dist/chunks/{input-otp-DfumrHpI.mjs.map → input-otp-BNC4E0wv.mjs.map} +1 -1
- package/dist/chunks/{label-Dxv54YUS.mjs → label-D0iRy8Wj.mjs} +2 -2
- package/dist/chunks/{label-Dxv54YUS.mjs.map → label-D0iRy8Wj.mjs.map} +1 -1
- package/dist/chunks/{loader-circle-hYdtBTNb.mjs → loader-circle-BMRpEmW6.mjs} +2 -2
- package/dist/chunks/{loader-circle-hYdtBTNb.mjs.map → loader-circle-BMRpEmW6.mjs.map} +1 -1
- package/dist/chunks/{menubar-C76cRAzY.mjs → menubar-oWKK9_Ik.mjs} +11 -11
- package/dist/chunks/{menubar-C76cRAzY.mjs.map → menubar-oWKK9_Ik.mjs.map} +1 -1
- package/dist/chunks/{multi-select-B6DLSXK6.mjs → multi-select-ILUAJeKL.mjs} +46 -34
- package/dist/chunks/multi-select-ILUAJeKL.mjs.map +1 -0
- package/dist/chunks/{pagination-BF_3NYnD.mjs → pagination-Bx_e3scG.mjs} +6 -6
- package/dist/chunks/{pagination-BF_3NYnD.mjs.map → pagination-Bx_e3scG.mjs.map} +1 -1
- package/dist/chunks/{popover--9SMD-cC.mjs → popover-CdZgcLPo.mjs} +11 -11
- package/dist/chunks/{popover--9SMD-cC.mjs.map → popover-CdZgcLPo.mjs.map} +1 -1
- package/dist/chunks/{progress-CwFC70K1.mjs → progress-e_BEvMwp.mjs} +2 -2
- package/dist/chunks/{progress-CwFC70K1.mjs.map → progress-e_BEvMwp.mjs.map} +1 -1
- package/dist/chunks/{radio-group-DhGJL_gc.mjs → radio-group-BlSUw5ql.mjs} +11 -11
- package/dist/chunks/{radio-group-DhGJL_gc.mjs.map → radio-group-BlSUw5ql.mjs.map} +1 -1
- package/dist/chunks/{react-number-format.es-B11gLKR5.mjs → react-number-format.es-HizMU4ab.mjs} +1 -1
- package/dist/chunks/{react-number-format.es-B11gLKR5.mjs.map → react-number-format.es-HizMU4ab.mjs.map} +1 -1
- package/dist/chunks/{scroll-area-D0gA5i73.mjs → scroll-area-qiUBme0Q.mjs} +9 -9
- package/dist/chunks/{scroll-area-D0gA5i73.mjs.map → scroll-area-qiUBme0Q.mjs.map} +1 -1
- package/dist/chunks/{select-Cl_ZzI9R.mjs → select-BBatgGtL.mjs} +56 -12
- package/dist/chunks/select-BBatgGtL.mjs.map +1 -0
- package/dist/chunks/{separator-DohkJ_xb.mjs → separator-DYyhdAi6.mjs} +2 -2
- package/dist/chunks/{separator-DohkJ_xb.mjs.map → separator-DYyhdAi6.mjs.map} +1 -1
- package/dist/chunks/{sheet-CIlwd3J-.mjs → sheet-1Dl0ChJl.mjs} +4 -4
- package/dist/chunks/{sheet-CIlwd3J-.mjs.map → sheet-1Dl0ChJl.mjs.map} +1 -1
- package/dist/chunks/{skeleton-ClXnWXNn.mjs → skeleton-LDpPNYvq.mjs} +2 -2
- package/dist/chunks/{skeleton-ClXnWXNn.mjs.map → skeleton-LDpPNYvq.mjs.map} +1 -1
- package/dist/chunks/{slider-D39dP_g8.mjs → slider-D3yx--Ba.mjs} +9 -9
- package/dist/chunks/{slider-D39dP_g8.mjs.map → slider-D3yx--Ba.mjs.map} +1 -1
- package/dist/chunks/{sortable-T_IChBln.mjs → sortable-CE5SC5JS.mjs} +3 -3
- package/dist/chunks/{sortable-T_IChBln.mjs.map → sortable-CE5SC5JS.mjs.map} +1 -1
- package/dist/chunks/string-DRS4HkY8.mjs +71 -0
- package/dist/chunks/string-DRS4HkY8.mjs.map +1 -0
- package/dist/chunks/styles-lQyUmHf7.mjs +7 -0
- package/dist/chunks/styles-lQyUmHf7.mjs.map +1 -0
- package/dist/chunks/{switch-B3zf2gI8.mjs → switch-COE1z3YV.mjs} +7 -7
- package/dist/chunks/{switch-B3zf2gI8.mjs.map → switch-COE1z3YV.mjs.map} +1 -1
- package/dist/chunks/{table-Bfl280bq.mjs → table-BzhSKY4n.mjs} +2 -2
- package/dist/chunks/{table-Bfl280bq.mjs.map → table-BzhSKY4n.mjs.map} +1 -1
- package/dist/chunks/{tabs-C8FBxYmq.mjs → tabs-B5HgsIWx.mjs} +9 -9
- package/dist/chunks/{tabs-C8FBxYmq.mjs.map → tabs-B5HgsIWx.mjs.map} +1 -1
- package/dist/chunks/{textarea-W2TtG6RT.mjs → textarea-DM2uvcxK.mjs} +2 -2
- package/dist/chunks/{textarea-W2TtG6RT.mjs.map → textarea-DM2uvcxK.mjs.map} +1 -1
- package/dist/chunks/{toast-DPlHqm3b.mjs → toast-DfCz10Et.mjs} +12 -12
- package/dist/chunks/{toast-DPlHqm3b.mjs.map → toast-DfCz10Et.mjs.map} +1 -1
- package/dist/chunks/{toggle-DGw8vPFo.mjs → toggle-Du3jnh1s.mjs} +4 -4
- package/dist/chunks/{toggle-DGw8vPFo.mjs.map → toggle-Du3jnh1s.mjs.map} +1 -1
- package/dist/chunks/{tooltip-CI9dbI1p.mjs → tooltip-njN_ok-r.mjs} +11 -11
- package/dist/chunks/{tooltip-CI9dbI1p.mjs.map → tooltip-njN_ok-r.mjs.map} +1 -1
- package/dist/chunks/{trash-2-D8vtZLQJ.mjs → trash-2-ab4Di2Bx.mjs} +2 -2
- package/dist/chunks/{trash-2-D8vtZLQJ.mjs.map → trash-2-ab4Di2Bx.mjs.map} +1 -1
- package/dist/chunks/{triangle-alert-B-blf7Ow.mjs → triangle-alert-B_tQGpT4.mjs} +2 -2
- package/dist/chunks/{triangle-alert-B-blf7Ow.mjs.map → triangle-alert-B_tQGpT4.mjs.map} +1 -1
- package/dist/chunks/{tslib.es6-B32hQ9eG.mjs → tslib.es6-Q9puKanr.mjs} +1 -1
- package/dist/chunks/{tslib.es6-B32hQ9eG.mjs.map → tslib.es6-Q9puKanr.mjs.map} +1 -1
- package/dist/chunks/{upload-CQFfafJB.mjs → upload-DvgPaJGb.mjs} +2 -2
- package/dist/chunks/{upload-CQFfafJB.mjs.map → upload-DvgPaJGb.mjs.map} +1 -1
- package/dist/chunks/{use-toast-juJ63qRI.mjs → use-toast-CLJJgfL0.mjs} +1 -1
- package/dist/chunks/{use-toast-juJ63qRI.mjs.map → use-toast-CLJJgfL0.mjs.map} +1 -1
- package/dist/chunks/{utils-Dws4Ft8U.mjs → utils-BDcRwQMd.mjs} +2 -2
- package/dist/chunks/{utils-Dws4Ft8U.mjs.map → utils-BDcRwQMd.mjs.map} +1 -1
- package/dist/chunks/{wand-sparkles-C3OGp2qM.mjs → wand-sparkles-DqgQle7F.mjs} +2 -2
- package/dist/chunks/{wand-sparkles-C3OGp2qM.mjs.map → wand-sparkles-DqgQle7F.mjs.map} +1 -1
- package/dist/chunks/{x-CQ0W-nWi.mjs → x-B6hDJA_l.mjs} +2 -2
- package/dist/chunks/{x-CQ0W-nWi.mjs.map → x-B6hDJA_l.mjs.map} +1 -1
- package/dist/collapsible/index.mjs +7 -7
- package/dist/combobox/index.d.ts +9 -1
- package/dist/combobox/index.mjs +30 -155
- package/dist/combobox/index.mjs.map +1 -1
- package/dist/command/index.mjs +18 -18
- package/dist/context-menu/index.mjs +21 -21
- package/dist/dash/index.mjs +24 -23
- package/dist/dash/index.mjs.map +1 -1
- package/dist/data-table/index.d.ts +70 -50
- package/dist/data-table/index.mjs +79 -64
- package/dist/data-table/index.mjs.map +1 -1
- package/dist/date-picker/index.d.ts +7 -2
- package/dist/date-picker/index.mjs +27 -27
- package/dist/dialog/index.mjs +17 -17
- package/dist/drawer/index.mjs +14 -14
- package/dist/dropdown-menu/index.mjs +22 -22
- package/dist/dropzone/index.mjs +18 -18
- package/dist/editable-table/index.mjs +20 -18
- package/dist/editable-table/index.mjs.map +1 -1
- package/dist/empty/index.mjs +2 -2
- package/dist/export/index.d.ts +31 -11
- package/dist/export/index.mjs +20525 -31
- package/dist/export/index.mjs.map +1 -1
- package/dist/field/index.mjs +4 -4
- package/dist/form/index.mjs +4 -4
- package/dist/form-fields/index.mjs +26 -26
- package/dist/form-layout/index.d.ts +82 -10
- package/dist/form-layout/index.mjs +208 -103
- package/dist/form-layout/index.mjs.map +1 -1
- package/dist/hover-card/index.mjs +13 -13
- package/dist/icon/index.mjs +1 -1
- package/dist/index.css +1 -1
- package/dist/input/index.mjs +3 -3
- package/dist/input-file/index.d.ts +10 -0
- package/dist/input-file/index.mjs +12 -0
- package/dist/input-file/index.mjs.map +1 -0
- package/dist/input-group/index.d.ts +11 -1
- package/dist/input-group/index.mjs +5 -5
- package/dist/input-otp/index.mjs +4 -4
- package/dist/item/index.mjs +3 -3
- package/dist/ivt.css +1 -1
- package/dist/kbd/index.mjs +2 -2
- package/dist/label/index.mjs +3 -3
- package/dist/layout/index.d.ts +279 -1
- package/dist/layout/index.mjs +259 -23
- package/dist/layout/index.mjs.map +1 -1
- package/dist/menubar/index.mjs +22 -22
- package/dist/multi-input-list/index.mjs +28 -28
- package/dist/multi-select/index.d.ts +4 -0
- package/dist/multi-select/index.mjs +32 -31
- package/dist/multi-select/index.mjs.map +1 -1
- package/dist/navigation-menu/index.mjs +15 -15
- package/dist/pagination/index.d.ts +1 -1
- package/dist/pagination/index.mjs +8 -8
- package/dist/popover/index.mjs +16 -16
- package/dist/progress/index.mjs +3 -3
- package/dist/radio-group/index.mjs +16 -16
- package/dist/resizable/index.mjs +3 -3
- package/dist/scroll-area/index.mjs +10 -10
- package/dist/select/index.d.ts +3 -1
- package/dist/select/index.mjs +11 -6
- package/dist/select/index.mjs.map +1 -1
- package/dist/separator/index.mjs +3 -3
- package/dist/shared/index.d.ts +3 -13
- package/dist/shared/index.mjs +8 -55
- package/dist/shared/index.mjs.map +1 -1
- package/dist/sheet/index.mjs +17 -17
- package/dist/sidebar/index.d.ts +1 -11
- package/dist/sidebar/index.mjs +25 -25
- package/dist/skeleton/index.mjs +3 -3
- package/dist/skeleton-component/index.d.ts +2 -6
- package/dist/skeleton-component/index.mjs +6 -72
- package/dist/skeleton-component/index.mjs.map +1 -1
- package/dist/slider/index.mjs +11 -11
- package/dist/sortable/index.mjs +4 -4
- package/dist/spinner/index.mjs +4 -4
- package/dist/switch/index.mjs +9 -9
- package/dist/table/index.mjs +3 -3
- package/dist/table-filter/index.d.ts +3 -1
- package/dist/table-filter/index.mjs +61 -58
- package/dist/table-filter/index.mjs.map +1 -1
- package/dist/tabs/index.mjs +12 -12
- package/dist/textarea/index.mjs +3 -3
- package/dist/toast/index.mjs +14 -14
- package/dist/toaster/index.mjs +15 -15
- package/dist/toggle/index.mjs +6 -6
- package/dist/toggle-group/index.mjs +11 -11
- package/dist/tooltip/index.mjs +15 -15
- package/package.json +9 -2
- package/dist/chunks/CalendarPopover-CRB6GXIt.mjs.map +0 -1
- package/dist/chunks/CalendarRange-DucTFDzH.mjs.map +0 -1
- package/dist/chunks/ExportButtons-Ru0nKJJO.mjs +0 -229
- package/dist/chunks/ExportButtons-Ru0nKJJO.mjs.map +0 -1
- package/dist/chunks/GenericTabs-B42Kfv_U.mjs.map +0 -1
- package/dist/chunks/ListItem-Da4Od2ts.mjs.map +0 -1
- package/dist/chunks/_commonjsHelpers-CrMz3UM5.mjs.map +0 -1
- package/dist/chunks/command-e20cpPEv.mjs.map +0 -1
- package/dist/chunks/date-picker-BYXeysRW.mjs.map +0 -1
- package/dist/chunks/export-config-BMsuab-C.d.ts +0 -10
- package/dist/chunks/format-numbers-CBSY6ZvL.mjs.map +0 -1
- package/dist/chunks/input-B4HxPY7D.mjs +0 -14
- package/dist/chunks/input-B4HxPY7D.mjs.map +0 -1
- package/dist/chunks/multi-select-B6DLSXK6.mjs.map +0 -1
- package/dist/chunks/select-Cl_ZzI9R.mjs.map +0 -1
package/dist/base/index.d.ts
CHANGED
|
@@ -5,7 +5,16 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
6
|
import { DayPicker, DateRange, Matcher } from 'react-day-picker';
|
|
7
7
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
8
|
-
export { a as GenericTabs, G as GenericTabsProps, T as TabConfig } from '../chunks/GenericTabs-
|
|
8
|
+
export { a as GenericTabs, G as GenericTabsProps, T as TabConfig } from '../chunks/GenericTabs-B6Sm4mwD.js';
|
|
9
|
+
|
|
10
|
+
type AlertFutureDateProps = {
|
|
11
|
+
title?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
icon?: React__default.ReactNode;
|
|
14
|
+
variant?: "default" | "destructive" | "warning";
|
|
15
|
+
className?: string;
|
|
16
|
+
};
|
|
17
|
+
declare function AlertFutureDate({ title, description, icon, variant, className, }: AlertFutureDateProps): react_jsx_runtime.JSX.Element;
|
|
9
18
|
|
|
10
19
|
interface AutoCompleteProps<T> {
|
|
11
20
|
value: T | null;
|
|
@@ -22,8 +31,11 @@ interface AutoCompleteProps<T> {
|
|
|
22
31
|
onSelect?: (option: T) => void;
|
|
23
32
|
className?: string;
|
|
24
33
|
clearable?: boolean;
|
|
34
|
+
label?: string | React__default.ReactNode;
|
|
35
|
+
description?: string;
|
|
36
|
+
id?: string;
|
|
25
37
|
}
|
|
26
|
-
declare function AutoComplete<T>({ value, onChange, placeholder, searchPlaceholder, open, onOpenChange, disabled, messageEmpty, fetchOptions, getOptionLabel, getOptionKey, onSelect, className, clearable, }: AutoCompleteProps<T>): react_jsx_runtime.JSX.Element;
|
|
38
|
+
declare function AutoComplete<T>({ value, onChange, placeholder, searchPlaceholder, open, onOpenChange, disabled, messageEmpty, fetchOptions, getOptionLabel, getOptionKey, onSelect, className, clearable, label, description, id, }: AutoCompleteProps<T>): react_jsx_runtime.JSX.Element;
|
|
27
39
|
|
|
28
40
|
type BadgeVariants = VariantProps<typeof badgeVariants>["variant"];
|
|
29
41
|
interface BadgeProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
@@ -74,7 +86,7 @@ interface CalendarPopoverProps extends Omit<React__default.ComponentProps<typeof
|
|
|
74
86
|
/** Data selecionada (pode ser Date ou string parseável) */
|
|
75
87
|
date: Date | string | undefined | null;
|
|
76
88
|
/** Função chamada ao selecionar uma data */
|
|
77
|
-
setDate: (date: Date | undefined
|
|
89
|
+
setDate: (date: Date | undefined) => void;
|
|
78
90
|
/** Texto exibido quando não há data selecionada */
|
|
79
91
|
placeholder?: string;
|
|
80
92
|
/** ID opcional do botão */
|
|
@@ -122,6 +134,11 @@ interface CalendarPopoverProps extends Omit<React__default.ComponentProps<typeof
|
|
|
122
134
|
* @default true
|
|
123
135
|
*/
|
|
124
136
|
disableWeekends?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Define se o botão de limpar (X) a data deve ser exibido.
|
|
139
|
+
* @default true
|
|
140
|
+
*/
|
|
141
|
+
clearable?: boolean;
|
|
125
142
|
}
|
|
126
143
|
declare const CalendarPopover: React__default.FC<CalendarPopoverProps>;
|
|
127
144
|
|
|
@@ -153,8 +170,29 @@ interface CalendarRangeProps extends Omit<React.ComponentProps<typeof Calendar>,
|
|
|
153
170
|
defaultMonth?: Date;
|
|
154
171
|
/** Exibir opções de intervalos rápidos (Hoje, Esta Semana, etc) */
|
|
155
172
|
showQuickRanges?: boolean;
|
|
173
|
+
/** Opções de intervalos rápidos personalizadas (substitui as padrão se fornecidas e showQuickRanges for true) */
|
|
174
|
+
quickRanges?: QuickRange[];
|
|
175
|
+
/**
|
|
176
|
+
* Define se o botão de limpar (X) o intervalo deve ser exibido.
|
|
177
|
+
* @default true
|
|
178
|
+
*/
|
|
179
|
+
clearable?: boolean;
|
|
180
|
+
}
|
|
181
|
+
interface QuickRange {
|
|
182
|
+
label: string;
|
|
183
|
+
getRange: () => DateRange;
|
|
184
|
+
}
|
|
185
|
+
declare function CalendarRange({ value, onChange, placeholder, id, buttonProps, popoverProps, popoverContentClassName, className, disabled, disabledDateTooltip, showQuickRanges, quickRanges, clearable, ...props }: CalendarRangeProps): react_jsx_runtime.JSX.Element;
|
|
186
|
+
|
|
187
|
+
interface CellValuePercentageProps {
|
|
188
|
+
value: number;
|
|
189
|
+
prevDate?: string | null;
|
|
190
|
+
date?: string | null;
|
|
191
|
+
prevQuote?: number | null;
|
|
192
|
+
quote?: number | null;
|
|
193
|
+
className?: string;
|
|
156
194
|
}
|
|
157
|
-
declare function
|
|
195
|
+
declare function CellValuePercentage({ value, prevDate, date, prevQuote, quote, className, }: CellValuePercentageProps): React__default.JSX.Element;
|
|
158
196
|
|
|
159
197
|
interface CollapsibleHelpProps {
|
|
160
198
|
children?: React__default.ReactNode;
|
|
@@ -223,7 +261,7 @@ declare function DeleteConfirmationModal({ onConfirm, title, description, confir
|
|
|
223
261
|
type MenuItemConfig = {
|
|
224
262
|
value: string;
|
|
225
263
|
label: string;
|
|
226
|
-
path
|
|
264
|
+
path?: string;
|
|
227
265
|
onClick?: () => void;
|
|
228
266
|
subItems?: {
|
|
229
267
|
label: string;
|
|
@@ -237,6 +275,14 @@ interface GenericHeadingMenubarProps {
|
|
|
237
275
|
menuItems: MenuItemConfig[];
|
|
238
276
|
/** Classes CSS adicionais para o container */
|
|
239
277
|
className?: string;
|
|
278
|
+
/** Classes CSS adicionais para o Menubar */
|
|
279
|
+
classNameMenubar?: string;
|
|
280
|
+
/** Classes CSS adicionais para o Trigger */
|
|
281
|
+
classNameTrigger?: string;
|
|
282
|
+
/** Classes CSS adicionais para o Content (dropdown) */
|
|
283
|
+
classNameContent?: string;
|
|
284
|
+
/** Classes CSS adicionais para os Itens do dropdown */
|
|
285
|
+
classNameItem?: string;
|
|
240
286
|
/** Conteúdo adicional a ser renderizado ao lado do menu */
|
|
241
287
|
children?: React__default.ReactNode;
|
|
242
288
|
/** Desabilita todos os itens do menu */
|
|
@@ -348,5 +394,5 @@ interface TooltipIndicatorProps {
|
|
|
348
394
|
}
|
|
349
395
|
declare const TooltipIndicator: ({ children, className, classNameIcon }: TooltipIndicatorProps) => react_jsx_runtime.JSX.Element;
|
|
350
396
|
|
|
351
|
-
export { AutoComplete, BadgeListLimited, CalendarPopover, CalendarRange, CollapsibleHelp, ConfirmSave, DeleteConfirmationModal, GenericHeadingMenubar, GenericTable, Header, HoverBadge, RuleFilterBuilder, StepNavigator, TextWrap, TooltipIndicator, normalizeDate };
|
|
352
|
-
export type { CalendarPopoverProps, CalendarRangeProps, ColumnConfig, ConfirmSaveRowConfig, DeleteConfirmationModalProps, GenericHeadingMenubarProps, GenericTableProps, MenuItemConfig };
|
|
397
|
+
export { AlertFutureDate, AutoComplete, BadgeListLimited, CalendarPopover, CalendarRange, CellValuePercentage, CollapsibleHelp, ConfirmSave, DeleteConfirmationModal, GenericHeadingMenubar, GenericTable, Header, HoverBadge, RuleFilterBuilder, StepNavigator, TextWrap, TooltipIndicator, normalizeDate };
|
|
398
|
+
export type { AlertFutureDateProps, CalendarPopoverProps, CalendarRangeProps, ColumnConfig, ConfirmSaveRowConfig, DeleteConfirmationModalProps, GenericHeadingMenubarProps, GenericTableProps, MenuItemConfig, QuickRange, StepNavigatorProps };
|
package/dist/base/index.mjs
CHANGED
|
@@ -1,65 +1,111 @@
|
|
|
1
|
-
export { A as AutoComplete, C as CalendarPopover, n as normalizeDate } from '../chunks/CalendarPopover-CRB6GXIt.mjs';
|
|
2
1
|
import React__default from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import { c as
|
|
5
|
-
export { C as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
import {
|
|
22
|
-
|
|
23
|
-
import {
|
|
24
|
-
import '../chunks/
|
|
25
|
-
import '
|
|
26
|
-
import '../chunks/
|
|
27
|
-
import '../chunks/
|
|
28
|
-
import '../chunks/
|
|
29
|
-
import '../chunks/
|
|
30
|
-
import '../chunks/index-B-46hbYc.mjs';
|
|
2
|
+
import { A as Alert, a as AlertTitle, b as AlertDescription } from '../chunks/alert-Ciu-8LcJ.mjs';
|
|
3
|
+
import { c as createLucideIcon } from '../chunks/createLucideIcon-C11Tr46U.mjs';
|
|
4
|
+
export { A as AutoComplete, C as CalendarPopover, n as normalizeDate } from '../chunks/CalendarPopover-DNS2oszG.mjs';
|
|
5
|
+
import { B as Badge } from '../chunks/badge-ZU62MOiS.mjs';
|
|
6
|
+
import { c as TooltipProvider, T as Tooltip, a as TooltipTrigger, b as TooltipContent } from '../chunks/tooltip-njN_ok-r.mjs';
|
|
7
|
+
export { C as CalendarRange } from '../chunks/CalendarRange-BZ-rc5Ns.mjs';
|
|
8
|
+
import { c as cn } from '../chunks/utils-BDcRwQMd.mjs';
|
|
9
|
+
import { f as formatDateToBrazilian } from '../chunks/date-Dqmv8Nr4.mjs';
|
|
10
|
+
import { a as formatNumberWithComma } from '../chunks/format-numbers-LmnBEQr0.mjs';
|
|
11
|
+
import { I as Info } from '../chunks/TooltipIndicator-o_ekzuQD.mjs';
|
|
12
|
+
export { T as TooltipIndicator } from '../chunks/TooltipIndicator-o_ekzuQD.mjs';
|
|
13
|
+
import { X } from '../chunks/x-B6hDJA_l.mjs';
|
|
14
|
+
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-CdZgcLPo.mjs';
|
|
15
|
+
import { B as Button } from '../chunks/button-CZpmCmNo.mjs';
|
|
16
|
+
import { D as Dialog, i as DialogTrigger, b as DialogContent, e as DialogHeader, h as DialogTitle, c as DialogDescription, d as DialogFooter } from '../chunks/dialog-DL1cSseU.mjs';
|
|
17
|
+
import { L as ListItem } from '../chunks/ListItem-CtUZSq2i.mjs';
|
|
18
|
+
export { D as DeleteConfirmationModal } from '../chunks/DeleteConfirmationModal-NPS_J_dT.mjs';
|
|
19
|
+
export { G as GenericHeadingMenubar, H as Header, S as StepNavigator } from '../chunks/StepNavigator-DXnlZUw2.mjs';
|
|
20
|
+
import { T as Table, a as TableHeader, e as TableRow, d as TableHead, b as TableBody, f as TableCell } from '../chunks/table-BzhSKY4n.mjs';
|
|
21
|
+
export { G as GenericTabs } from '../chunks/GenericTabs-CqunvZEw.mjs';
|
|
22
|
+
import { t as twMerge } from '../chunks/bundle-mjs-CXmmFvYo.mjs';
|
|
23
|
+
import { H as HoverCard, a as HoverCardTrigger, b as HoverCardContent } from '../chunks/hover-card-Bf6OuOg0.mjs';
|
|
24
|
+
import 'class-variance-authority';
|
|
25
|
+
import '../chunks/index.module-Czm-Rcez.mjs';
|
|
26
|
+
import '../chunks/chevrons-up-down-CdBVNy4c.mjs';
|
|
27
|
+
import '../chunks/check-Ds358kZc.mjs';
|
|
28
|
+
import '../chunks/label-D0iRy8Wj.mjs';
|
|
31
29
|
import 'react-dom';
|
|
32
30
|
import '@radix-ui/react-slot';
|
|
33
31
|
import 'react/jsx-runtime';
|
|
34
|
-
import '../chunks/
|
|
35
|
-
import '../chunks/
|
|
36
|
-
import '../chunks/index-
|
|
37
|
-
import '../chunks/index-
|
|
38
|
-
import '../chunks/index-
|
|
39
|
-
import '../chunks/index-
|
|
40
|
-
import '../chunks/index-
|
|
41
|
-
import '../chunks/
|
|
42
|
-
import '../chunks/index-
|
|
43
|
-
import '../chunks/index-
|
|
44
|
-
import '../chunks/
|
|
45
|
-
import '../chunks/
|
|
46
|
-
import '../chunks/
|
|
47
|
-
import '../chunks/
|
|
48
|
-
import '../chunks/
|
|
49
|
-
import '../chunks/
|
|
50
|
-
import '
|
|
51
|
-
import '../chunks/
|
|
52
|
-
import '../chunks/
|
|
53
|
-
import '../chunks/
|
|
54
|
-
import '../chunks/
|
|
32
|
+
import '../chunks/separator-DYyhdAi6.mjs';
|
|
33
|
+
import '../chunks/command-o67hOCgH.mjs';
|
|
34
|
+
import '../chunks/index-CaYwp6E6.mjs';
|
|
35
|
+
import '../chunks/index-Dsw02Eup.mjs';
|
|
36
|
+
import '../chunks/index-D4jPaBZ2.mjs';
|
|
37
|
+
import '../chunks/index-gX0V59dZ.mjs';
|
|
38
|
+
import '../chunks/index-C8u7IIcP.mjs';
|
|
39
|
+
import '../chunks/index-1toTCGyr.mjs';
|
|
40
|
+
import '../chunks/index-4NpeUekv.mjs';
|
|
41
|
+
import '../chunks/index-DC-gAYjS.mjs';
|
|
42
|
+
import '../chunks/index-z4Hk6sF4.mjs';
|
|
43
|
+
import '../chunks/tslib.es6-Q9puKanr.mjs';
|
|
44
|
+
import '../chunks/index-BksCjWh6.mjs';
|
|
45
|
+
import '../chunks/index-DfeRLazC.mjs';
|
|
46
|
+
import '../chunks/loader-circle-BMRpEmW6.mjs';
|
|
47
|
+
import '../chunks/calendar-days-DnYx8d46.mjs';
|
|
48
|
+
import '../chunks/format-8qs-kXlN.mjs';
|
|
49
|
+
import '../chunks/calendar-CDJv1B--.mjs';
|
|
50
|
+
import '../chunks/chevron-left-Baq244Ce.mjs';
|
|
51
|
+
import '../chunks/chevron-right-Dq6zFe5E.mjs';
|
|
52
|
+
import '../chunks/chevron-down-CDFTds2-.mjs';
|
|
53
|
+
import '../chunks/index-B87m6Bfb.mjs';
|
|
54
|
+
import '../chunks/index-DAa5gqEY.mjs';
|
|
55
|
+
import '../chunks/index-BJrVyyCQ.mjs';
|
|
56
|
+
import '../chunks/trash-2-ab4Di2Bx.mjs';
|
|
57
|
+
import '../chunks/menubar-oWKK9_Ik.mjs';
|
|
55
58
|
import '@radix-ui/react-collection';
|
|
56
|
-
import '../chunks/index-
|
|
57
|
-
import '../chunks/index-
|
|
58
|
-
import '../chunks/index-
|
|
59
|
-
import '../chunks/
|
|
60
|
-
import '../chunks/
|
|
61
|
-
import '../chunks/
|
|
62
|
-
import '../chunks/
|
|
59
|
+
import '../chunks/index-UxWlwQlk.mjs';
|
|
60
|
+
import '../chunks/index-zIaBOKQ3.mjs';
|
|
61
|
+
import '../chunks/index-DIHpzffL.mjs';
|
|
62
|
+
import '../chunks/accordion-BcAmhbBS.mjs';
|
|
63
|
+
import '../chunks/index-BWXpaxmG.mjs';
|
|
64
|
+
import '../chunks/tabs-B5HgsIWx.mjs';
|
|
65
|
+
import '../chunks/scroll-area-qiUBme0Q.mjs';
|
|
66
|
+
import '../chunks/index-CcmH_f2V.mjs';
|
|
67
|
+
|
|
68
|
+
const __iconNode = [
|
|
69
|
+
[
|
|
70
|
+
"circle",
|
|
71
|
+
{
|
|
72
|
+
cx: "12",
|
|
73
|
+
cy: "12",
|
|
74
|
+
r: "10",
|
|
75
|
+
key: "1mglay"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
[
|
|
79
|
+
"line",
|
|
80
|
+
{
|
|
81
|
+
x1: "12",
|
|
82
|
+
x2: "12",
|
|
83
|
+
y1: "8",
|
|
84
|
+
y2: "12",
|
|
85
|
+
key: "1pkeuh"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
[
|
|
89
|
+
"line",
|
|
90
|
+
{
|
|
91
|
+
x1: "12",
|
|
92
|
+
x2: "12.01",
|
|
93
|
+
y1: "16",
|
|
94
|
+
y2: "16",
|
|
95
|
+
key: "4dfq90"
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
];
|
|
99
|
+
const CircleAlert = createLucideIcon("CircleAlert", __iconNode);
|
|
100
|
+
|
|
101
|
+
function AlertFutureDate({ title = "Atenção", description = "Você está selecionando uma data futura.", icon = /*#__PURE__*/ React__default.createElement(CircleAlert, {
|
|
102
|
+
className: "h-4 w-4"
|
|
103
|
+
}), variant, className }) {
|
|
104
|
+
return /*#__PURE__*/ React__default.createElement(Alert, {
|
|
105
|
+
variant: variant,
|
|
106
|
+
className: className
|
|
107
|
+
}, icon, title && /*#__PURE__*/ React__default.createElement(AlertTitle, null, title), description && /*#__PURE__*/ React__default.createElement(AlertDescription, null, description));
|
|
108
|
+
}
|
|
63
109
|
|
|
64
110
|
/**
|
|
65
111
|
* Componente que exibe uma lista de Badges com limite de itens visíveis.
|
|
@@ -97,6 +143,33 @@ import '../chunks/index-D4iRNKtb.mjs';
|
|
|
97
143
|
}, "+", remainingCount)));
|
|
98
144
|
};
|
|
99
145
|
|
|
146
|
+
function CellValuePercentage({ value, prevDate, date, prevQuote, quote, className }) {
|
|
147
|
+
const cellCSS = value < 0 ? "text-destructive" : "text-positive";
|
|
148
|
+
const iconValue = value < 0 ? "▼" : "▲";
|
|
149
|
+
return /*#__PURE__*/ React__default.createElement(TooltipProvider, null, /*#__PURE__*/ React__default.createElement(Tooltip, null, /*#__PURE__*/ React__default.createElement(TooltipTrigger, {
|
|
150
|
+
asChild: true
|
|
151
|
+
}, /*#__PURE__*/ React__default.createElement("div", {
|
|
152
|
+
className: cn(cellCSS, className)
|
|
153
|
+
}, /*#__PURE__*/ React__default.createElement("span", {
|
|
154
|
+
className: "mr-1"
|
|
155
|
+
}, iconValue), /*#__PURE__*/ React__default.createElement("span", null, formatNumberWithComma({
|
|
156
|
+
value: value,
|
|
157
|
+
minimumFractionDigits: 2,
|
|
158
|
+
maximumFractionDigits: 2
|
|
159
|
+
}), "%"))), prevDate && date && prevQuote && quote && /*#__PURE__*/ React__default.createElement(TooltipContent, {
|
|
160
|
+
side: "bottom",
|
|
161
|
+
className: "bg-secondary flex flex-col"
|
|
162
|
+
}, /*#__PURE__*/ React__default.createElement("span", null, formatDateToBrazilian(prevDate), ":", " ", formatNumberWithComma({
|
|
163
|
+
value: prevQuote,
|
|
164
|
+
minimumFractionDigits: 10,
|
|
165
|
+
maximumFractionDigits: 10
|
|
166
|
+
})), /*#__PURE__*/ React__default.createElement("span", null, formatDateToBrazilian(date), ":", " ", formatNumberWithComma({
|
|
167
|
+
value: quote,
|
|
168
|
+
minimumFractionDigits: 10,
|
|
169
|
+
maximumFractionDigits: 10
|
|
170
|
+
})))));
|
|
171
|
+
}
|
|
172
|
+
|
|
100
173
|
/**
|
|
101
174
|
* A simpler CollapsibleHelp component that uses a Popover for the help content.
|
|
102
175
|
* It manages its own open state internally.
|
|
@@ -195,61 +268,6 @@ function ConfirmSave({ onSave, disabled, dialogTitle = "Confirme os dados da pre
|
|
|
195
268
|
}, actionTitle))));
|
|
196
269
|
}
|
|
197
270
|
|
|
198
|
-
/**
|
|
199
|
-
* Componente genérico de menubar para navegação entre páginas.
|
|
200
|
-
* Ajustado para ser agnóstico de framework (Next.js ou React puro).
|
|
201
|
-
*
|
|
202
|
-
* @example
|
|
203
|
-
* ```tsx
|
|
204
|
-
* // Exemplo com Next.js
|
|
205
|
-
* const router = useRouter();
|
|
206
|
-
* const pathname = usePathname();
|
|
207
|
-
*
|
|
208
|
-
* <GenericHeadingMenubar
|
|
209
|
-
* menuItems={menuItems}
|
|
210
|
-
* currentPath={pathname}
|
|
211
|
-
* onNavigate={(path) => router.push(path)}
|
|
212
|
-
* />
|
|
213
|
-
* ```
|
|
214
|
-
*/ const GenericHeadingMenubar = ({ menuItems, className, children, disabled, defaultIsActive, currentPath = "", onNavigate })=>{
|
|
215
|
-
/**
|
|
216
|
-
* Determina se um item do menu está ativo
|
|
217
|
-
*/ const isMenuItemActive = (menu)=>{
|
|
218
|
-
// Se o item tem uma função customizada, usa ela
|
|
219
|
-
if (menu.isActive) {
|
|
220
|
-
return menu.isActive(currentPath);
|
|
221
|
-
}
|
|
222
|
-
// Se foi passada uma função padrão, usa ela
|
|
223
|
-
if (defaultIsActive) {
|
|
224
|
-
return defaultIsActive(menu.value, currentPath);
|
|
225
|
-
}
|
|
226
|
-
// Fallback: compara o pathname com o path do menu
|
|
227
|
-
return currentPath === menu.path;
|
|
228
|
-
};
|
|
229
|
-
/**
|
|
230
|
-
* Handler padrão de clique (navega para o path)
|
|
231
|
-
*/ const handleMenuClick = (menu)=>{
|
|
232
|
-
if (menu.onClick) {
|
|
233
|
-
menu.onClick();
|
|
234
|
-
} else if (onNavigate) {
|
|
235
|
-
onNavigate(menu.path);
|
|
236
|
-
}
|
|
237
|
-
};
|
|
238
|
-
return /*#__PURE__*/ React__default.createElement("div", {
|
|
239
|
-
className: cn("flex flex-wrap items-center justify-between", className)
|
|
240
|
-
}, /*#__PURE__*/ React__default.createElement(Menubar, null, menuItems.map((menu)=>/*#__PURE__*/ React__default.createElement(MenubarMenu, {
|
|
241
|
-
key: menu.value
|
|
242
|
-
}, /*#__PURE__*/ React__default.createElement(MenubarTrigger, {
|
|
243
|
-
onClick: ()=>handleMenuClick(menu),
|
|
244
|
-
className: cn("flex items-center gap-1 disabled:opacity-50 aria-disabled:opacity-50", isMenuItemActive(menu) && "bg-accent text-accent-foreground"),
|
|
245
|
-
disabled: disabled,
|
|
246
|
-
"aria-disabled": disabled
|
|
247
|
-
}, menu.label), menu.subItems && /*#__PURE__*/ React__default.createElement(MenubarContent, null, menu.subItems.map((item)=>/*#__PURE__*/ React__default.createElement(MenubarItem, {
|
|
248
|
-
key: item.label,
|
|
249
|
-
onClick: item.onClick
|
|
250
|
-
}, item.label)))))), children);
|
|
251
|
-
};
|
|
252
|
-
|
|
253
271
|
function GenericTable({ data, columns, renderSeparator, emptyMessage = "Nenhum dado encontrado.", className, keyExtractor }) {
|
|
254
272
|
if (!data || data.length === 0) {
|
|
255
273
|
return /*#__PURE__*/ React__default.createElement("div", {
|
|
@@ -271,34 +289,6 @@ function GenericTable({ data, columns, renderSeparator, emptyMessage = "Nenhum d
|
|
|
271
289
|
}))));
|
|
272
290
|
}
|
|
273
291
|
|
|
274
|
-
const Header = ({ title, description, className, classNameDescription, children, defaultValue = "item-1", defaultOpen = false, menu })=>{
|
|
275
|
-
const [value, setValue] = React__default.useState(defaultOpen ? defaultValue : "");
|
|
276
|
-
const isOpen = value === defaultValue;
|
|
277
|
-
return /*#__PURE__*/ React__default.createElement("header", {
|
|
278
|
-
className: cn("text-content-high max-w-5xl px-4 py-1 text-xl", className)
|
|
279
|
-
}, /*#__PURE__*/ React__default.createElement(Accordion, {
|
|
280
|
-
type: "single",
|
|
281
|
-
collapsible: true,
|
|
282
|
-
className: "w-full",
|
|
283
|
-
value: value,
|
|
284
|
-
onValueChange: setValue
|
|
285
|
-
}, /*#__PURE__*/ React__default.createElement(AccordionItem, {
|
|
286
|
-
className: "border-b-0",
|
|
287
|
-
value: defaultValue
|
|
288
|
-
}, /*#__PURE__*/ React__default.createElement(AccordionTrigger, {
|
|
289
|
-
iconPosition: "left",
|
|
290
|
-
className: "justify-start gap-2 py-2 text-xl font-bold"
|
|
291
|
-
}, title), /*#__PURE__*/ React__default.createElement(AccordionContent, {
|
|
292
|
-
className: "text-content-medium text-base"
|
|
293
|
-
}, /*#__PURE__*/ React__default.createElement("p", {
|
|
294
|
-
className: cn("text-content-medium text-base", classNameDescription)
|
|
295
|
-
}, description), isOpen && menu && /*#__PURE__*/ React__default.createElement("div", {
|
|
296
|
-
className: "my-4 text-foreground"
|
|
297
|
-
}, menu), children))), !isOpen && menu && /*#__PURE__*/ React__default.createElement("div", {
|
|
298
|
-
className: "my-4"
|
|
299
|
-
}, menu));
|
|
300
|
-
};
|
|
301
|
-
|
|
302
292
|
const HoverBadge = ({ title, description, variant, className, showTitleInDescription = true, subtle = false })=>{
|
|
303
293
|
return /*#__PURE__*/ React__default.createElement(HoverCard, null, /*#__PURE__*/ React__default.createElement(HoverCardTrigger, null, /*#__PURE__*/ React__default.createElement(Badge, {
|
|
304
294
|
variant: variant,
|
|
@@ -369,28 +359,6 @@ function RuleFilterBuilder({ fields, onRemove, onAdd, maxBlocks = 3, isPending =
|
|
|
369
359
|
}, "+"), "Adicionar Bloco de Seleção (Restam ", maxBlocks - fields.length, ")")));
|
|
370
360
|
}
|
|
371
361
|
|
|
372
|
-
const StepNavigator = ({ currentIndex, totalSteps, onPrev, onNext, disabled = false, prevLabel = "Anterior", nextLabel = "Próximo", hideEdgeButtons = true, className })=>{
|
|
373
|
-
const isFirst = currentIndex === 0;
|
|
374
|
-
const isLast = currentIndex === totalSteps - 1;
|
|
375
|
-
return /*#__PURE__*/ React__default.createElement("div", {
|
|
376
|
-
className: cn("flex items-center gap-2", className)
|
|
377
|
-
}, (!hideEdgeButtons || !isFirst) && /*#__PURE__*/ React__default.createElement(Button, {
|
|
378
|
-
type: "button",
|
|
379
|
-
variant: "secondary",
|
|
380
|
-
onClick: onPrev,
|
|
381
|
-
disabled: disabled || isFirst
|
|
382
|
-
}, /*#__PURE__*/ React__default.createElement(ChevronLeft, {
|
|
383
|
-
className: "size-4"
|
|
384
|
-
}), prevLabel), (!hideEdgeButtons || !isLast) && /*#__PURE__*/ React__default.createElement(Button, {
|
|
385
|
-
type: "button",
|
|
386
|
-
variant: "secondary",
|
|
387
|
-
onClick: onNext,
|
|
388
|
-
disabled: disabled || isLast
|
|
389
|
-
}, nextLabel, /*#__PURE__*/ React__default.createElement(ChevronRight, {
|
|
390
|
-
className: "size-4"
|
|
391
|
-
})));
|
|
392
|
-
};
|
|
393
|
-
|
|
394
362
|
const TextWrap = ({ children, className, ...props })=>{
|
|
395
363
|
return /*#__PURE__*/ React__default.createElement("div", {
|
|
396
364
|
className: cn("line-clamp-4 w-full max-w-60 min-w-60 text-wrap break-words 2xl:max-w-[80%]", className),
|
|
@@ -398,5 +366,5 @@ const TextWrap = ({ children, className, ...props })=>{
|
|
|
398
366
|
}, children);
|
|
399
367
|
};
|
|
400
368
|
|
|
401
|
-
export { BadgeListLimited, CollapsibleHelp, ConfirmSave,
|
|
369
|
+
export { AlertFutureDate, BadgeListLimited, CellValuePercentage, CollapsibleHelp, ConfirmSave, GenericTable, HoverBadge, RuleFilterBuilder, TextWrap };
|
|
402
370
|
//# sourceMappingURL=index.mjs.map
|