@senitix/ui 0.4.1 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion-BcwB0wwz.cjs +2 -0
- package/dist/accordion-BcwB0wwz.cjs.map +1 -0
- package/dist/accordion-BwnJKrKm.js +360 -0
- package/dist/accordion-BwnJKrKm.js.map +1 -0
- package/dist/appointment-scheduler-BoQQO51F.cjs +2 -0
- package/dist/appointment-scheduler-BoQQO51F.cjs.map +1 -0
- package/dist/appointment-scheduler-DHAs-mF_.js +192 -0
- package/dist/appointment-scheduler-DHAs-mF_.js.map +1 -0
- package/dist/arrow-right-CM3nmiZe.js +15 -0
- package/dist/arrow-right-CM3nmiZe.js.map +1 -0
- package/dist/arrow-right-vDxRZOfm.cjs +7 -0
- package/dist/arrow-right-vDxRZOfm.cjs.map +1 -0
- package/dist/avatar-BlEcWE7T.js +191 -0
- package/dist/avatar-BlEcWE7T.js.map +1 -0
- package/dist/avatar-Cl38Ye4J.cjs +2 -0
- package/dist/avatar-Cl38Ye4J.cjs.map +1 -0
- package/dist/badge-BZcdBG5J.cjs +23 -0
- package/dist/badge-BZcdBG5J.cjs.map +1 -0
- package/dist/badge-D0C_rP2l.js +157 -0
- package/dist/badge-D0C_rP2l.js.map +1 -0
- package/dist/button-BP_ug5gP.js +126 -0
- package/dist/button-BP_ug5gP.js.map +1 -0
- package/dist/button-CPuCii0R.cjs +2 -0
- package/dist/button-CPuCii0R.cjs.map +1 -0
- package/dist/{calendar-DgnhzEfp.js → calendar-86qoSnO7.js} +368 -433
- package/dist/calendar-86qoSnO7.js.map +1 -0
- package/dist/{calendar-D3RWU0_G.cjs → calendar-BH-AuyiB.cjs} +2 -2
- package/dist/{calendar-D3RWU0_G.cjs.map → calendar-BH-AuyiB.cjs.map} +1 -1
- package/dist/calendar-CSJ060ym.cjs +2 -0
- package/dist/calendar-CSJ060ym.cjs.map +1 -0
- package/dist/{calendar-CUxm1K7J.js → calendar-JUSWONQ0.js} +2 -2
- package/dist/{calendar-CUxm1K7J.js.map → calendar-JUSWONQ0.js.map} +1 -1
- package/dist/{card-DISL3sPJ.cjs → card-CToWUN1K.cjs} +2 -2
- package/dist/{card-DISL3sPJ.cjs.map → card-CToWUN1K.cjs.map} +1 -1
- package/dist/{card-fId5vof_.js → card-yxbWFvZ1.js} +2 -2
- package/dist/{card-fId5vof_.js.map → card-yxbWFvZ1.js.map} +1 -1
- package/dist/checkbox-BmugT50K.cjs +2 -0
- package/dist/checkbox-BmugT50K.cjs.map +1 -0
- package/dist/{checkbox-BY2zxQVv.js → checkbox-CTa9e4SG.js} +95 -97
- package/dist/checkbox-CTa9e4SG.js.map +1 -0
- package/dist/chevron-left-5h87iFo_.cjs +7 -0
- package/dist/chevron-left-5h87iFo_.cjs.map +1 -0
- package/dist/chevron-left-DD5mQuvf.js +14 -0
- package/dist/chevron-left-DD5mQuvf.js.map +1 -0
- package/dist/{chevron-right-Bxf8i4gi.cjs → chevron-right-D-TdAZ7l.cjs} +2 -2
- package/dist/{chevron-right-Bxf8i4gi.cjs.map → chevron-right-D-TdAZ7l.cjs.map} +1 -1
- package/dist/{chevron-right-BLyGmyaF.js → chevron-right-Di90aqSn.js} +2 -2
- package/dist/{chevron-right-BLyGmyaF.js.map → chevron-right-Di90aqSn.js.map} +1 -1
- package/dist/chevron-up-Bq55Db6X.cjs +7 -0
- package/dist/{chevron-up-C3RClqXD.cjs.map → chevron-up-Bq55Db6X.cjs.map} +1 -1
- package/dist/{chevron-up-BmYZUtrk.js → chevron-up-Dr7EIn9V.js} +2 -2
- package/dist/{chevron-up-BmYZUtrk.js.map → chevron-up-Dr7EIn9V.js.map} +1 -1
- package/dist/clock-BjJE8PGr.js +15 -0
- package/dist/clock-BjJE8PGr.js.map +1 -0
- package/dist/clock-CnxBAA_O.cjs +7 -0
- package/dist/clock-CnxBAA_O.cjs.map +1 -0
- package/dist/command-BEpaOk-5.cjs +2 -0
- package/dist/command-BEpaOk-5.cjs.map +1 -0
- package/dist/command-CYhMM7gX.js +404 -0
- package/dist/command-CYhMM7gX.js.map +1 -0
- package/dist/components/builders/index.cjs.js +2 -0
- package/dist/components/builders/index.cjs.js.map +1 -0
- package/dist/components/builders/index.es.js +42 -0
- package/dist/components/builders/index.es.js.map +1 -0
- package/dist/components/charts/index.cjs.js +1 -1
- package/dist/components/charts/index.es.js +7 -6
- package/dist/components/charts/index.es.js.map +1 -1
- package/dist/components/data-display/index.cjs.js +1 -1
- package/dist/components/data-display/index.es.js +43 -20
- package/dist/components/dnd/index.cjs.js +1 -1
- package/dist/components/dnd/index.es.js +1 -1
- package/dist/components/feedback/index.cjs.js +1 -1
- package/dist/components/feedback/index.es.js +1 -1
- package/dist/components/forms/index.cjs.js +1 -1
- package/dist/components/forms/index.es.js +24 -23
- package/dist/components/forms/index.es.js.map +1 -1
- package/dist/components/layouts/index.cjs.js +1 -1
- package/dist/components/layouts/index.es.js +45 -21
- package/dist/components/messaging/index.cjs.js +2 -0
- package/dist/components/messaging/index.cjs.js.map +1 -0
- package/dist/components/messaging/index.es.js +15 -0
- package/dist/components/messaging/index.es.js.map +1 -0
- package/dist/components/navigation/index.cjs.js +1 -1
- package/dist/components/navigation/index.es.js +1 -1
- package/dist/components/scheduling/index.cjs.js +2 -0
- package/dist/components/scheduling/index.cjs.js.map +1 -0
- package/dist/components/scheduling/index.es.js +6 -0
- package/dist/components/scheduling/index.es.js.map +1 -0
- package/dist/components/ui/index.cjs.js +1 -1
- package/dist/components/ui/index.es.js +168 -158
- package/dist/components/ui/index.es.js.map +1 -1
- package/dist/dialog-Cr9SYCaD.cjs +6 -0
- package/dist/dialog-Cr9SYCaD.cjs.map +1 -0
- package/dist/dialog-MYAx3Qrc.js +387 -0
- package/dist/dialog-MYAx3Qrc.js.map +1 -0
- package/dist/dropdown-menu-CkCCV_tw.js +969 -0
- package/dist/dropdown-menu-CkCCV_tw.js.map +1 -0
- package/dist/dropdown-menu-ejikFvg2.cjs +7 -0
- package/dist/dropdown-menu-ejikFvg2.cjs.map +1 -0
- package/dist/{ellipsis-6eUne95u.js → ellipsis-CKhpjj5H.js} +2 -2
- package/dist/{ellipsis-6eUne95u.js.map → ellipsis-CKhpjj5H.js.map} +1 -1
- package/dist/{ellipsis-DkM3GBF5.cjs → ellipsis-Dk7Wfc4i.cjs} +3 -3
- package/dist/{ellipsis-DkM3GBF5.cjs.map → ellipsis-Dk7Wfc4i.cjs.map} +1 -1
- package/dist/external-link-CGBqsrbm.cjs +7 -0
- package/dist/external-link-CGBqsrbm.cjs.map +1 -0
- package/dist/external-link-UeWW0ty3.js +16 -0
- package/dist/external-link-UeWW0ty3.js.map +1 -0
- package/dist/eye-Cved4eAo.cjs +7 -0
- package/dist/eye-Cved4eAo.cjs.map +1 -0
- package/dist/eye-KdCUpmO8.js +21 -0
- package/dist/eye-KdCUpmO8.js.map +1 -0
- package/dist/{file-Cw_u_aJB.js → file-CHbdXCWO.js} +2 -2
- package/dist/{file-Cw_u_aJB.js.map → file-CHbdXCWO.js.map} +1 -1
- package/dist/{file-Cp5UoYUZ.cjs → file-CqYRamm8.cjs} +3 -3
- package/dist/{file-Cp5UoYUZ.cjs.map → file-CqYRamm8.cjs.map} +1 -1
- package/dist/file-spreadsheet-CpySxI0-.cjs +7 -0
- package/dist/file-spreadsheet-CpySxI0-.cjs.map +1 -0
- package/dist/file-spreadsheet-EqZMR-mM.js +19 -0
- package/dist/file-spreadsheet-EqZMR-mM.js.map +1 -0
- package/dist/form-preview-Bm5xHtkw.js +12075 -0
- package/dist/form-preview-Bm5xHtkw.js.map +1 -0
- package/dist/form-preview-IPEZdspX.cjs +111 -0
- package/dist/form-preview-IPEZdspX.cjs.map +1 -0
- package/dist/full-calendar-4Ut52QNO.cjs +18 -0
- package/dist/full-calendar-4Ut52QNO.cjs.map +1 -0
- package/dist/full-calendar-DD_tBy69.js +2631 -0
- package/dist/full-calendar-DD_tBy69.js.map +1 -0
- package/dist/funnel-chart-Dfj1pOyV.cjs +6 -0
- package/dist/funnel-chart-Dfj1pOyV.cjs.map +1 -0
- package/dist/funnel-chart-o9qcEMgg.js +2952 -0
- package/dist/funnel-chart-o9qcEMgg.js.map +1 -0
- package/dist/global-search-DcBKVaM4.cjs +22 -0
- package/dist/global-search-DcBKVaM4.cjs.map +1 -0
- package/dist/global-search-Dul9CD6-.js +1331 -0
- package/dist/global-search-Dul9CD6-.js.map +1 -0
- package/dist/hooks/index.cjs.js +1 -1
- package/dist/hooks/index.es.js +9 -7
- package/dist/hooks/index.es.js.map +1 -1
- package/dist/{index-DtaLkIY8.js → index-BGUveO6l.js} +84 -79
- package/dist/{index-DtaLkIY8.js.map → index-BGUveO6l.js.map} +1 -1
- package/dist/{index-gVbM3K4f.cjs → index-Bhee6XHk.cjs} +2 -2
- package/dist/{index-gVbM3K4f.cjs.map → index-Bhee6XHk.cjs.map} +1 -1
- package/dist/index-CrSlyWAA.js +1090 -0
- package/dist/index-CrSlyWAA.js.map +1 -0
- package/dist/{index-Dk_Et2WJ.js → index-D8-pHJim.js} +2 -2
- package/dist/{index-Dk_Et2WJ.js.map → index-D8-pHJim.js.map} +1 -1
- package/dist/index-Dy_9oyP3.cjs +2 -0
- package/dist/{index-D2U2F80P.cjs.map → index-Dy_9oyP3.cjs.map} +1 -1
- package/dist/index-hnbbvGmb.cjs +21 -0
- package/dist/index-hnbbvGmb.cjs.map +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +434 -319
- package/dist/index.es.js.map +1 -1
- package/dist/input-Pfq8fkiV.js +2718 -0
- package/dist/input-Pfq8fkiV.js.map +1 -0
- package/dist/input-UBp7V7li.cjs +52 -0
- package/dist/input-UBp7V7li.cjs.map +1 -0
- package/dist/label-CExiitfO.js +50 -0
- package/dist/label-CExiitfO.js.map +1 -0
- package/dist/label-F0zGAiI2.cjs +2 -0
- package/dist/label-F0zGAiI2.cjs.map +1 -0
- package/dist/loader-circle-CBVYGIRp.js +14 -0
- package/dist/loader-circle-CBVYGIRp.js.map +1 -0
- package/dist/loader-circle-IaJKvYsP.cjs +7 -0
- package/dist/loader-circle-IaJKvYsP.cjs.map +1 -0
- package/dist/locale-provider-BHGNO4j7.js +1786 -0
- package/dist/locale-provider-BHGNO4j7.js.map +1 -0
- package/dist/locale-provider-BScpm-eC.cjs +2 -0
- package/dist/locale-provider-BScpm-eC.cjs.map +1 -0
- package/dist/locale-selector-CRC0VBKl.cjs +12 -0
- package/dist/locale-selector-CRC0VBKl.cjs.map +1 -0
- package/dist/locale-selector-HuzfE0zZ.js +1740 -0
- package/dist/locale-selector-HuzfE0zZ.js.map +1 -0
- package/dist/map-pin-CHh0xl6i.js +46 -0
- package/dist/map-pin-CHh0xl6i.js.map +1 -0
- package/dist/map-pin-DGObSZ40.cjs +17 -0
- package/dist/map-pin-DGObSZ40.cjs.map +1 -0
- package/dist/message-square-B_xLey5D.js +14 -0
- package/dist/message-square-B_xLey5D.js.map +1 -0
- package/dist/message-square-_69ua8rH.cjs +7 -0
- package/dist/message-square-_69ua8rH.cjs.map +1 -0
- package/dist/minus-BUFkTM0k.cjs +7 -0
- package/dist/{minus-C0uyaz70.cjs.map → minus-BUFkTM0k.cjs.map} +1 -1
- package/dist/{minus-CiwV65ZG.js → minus-DJ0tmymW.js} +2 -2
- package/dist/{minus-CiwV65ZG.js.map → minus-DJ0tmymW.js.map} +1 -1
- package/dist/multi-container-CytCGxsc.cjs +7 -0
- package/dist/multi-container-CytCGxsc.cjs.map +1 -0
- package/dist/multi-container-DmkgnCJN.js +799 -0
- package/dist/multi-container-DmkgnCJN.js.map +1 -0
- package/dist/multi-select-Bj_kIDHE.cjs +7 -0
- package/dist/multi-select-Bj_kIDHE.cjs.map +1 -0
- package/dist/multi-select-CPF7w871.js +224 -0
- package/dist/multi-select-CPF7w871.js.map +1 -0
- package/dist/pencil-BJULwaDl.cjs +12 -0
- package/dist/pencil-BJULwaDl.cjs.map +1 -0
- package/dist/pencil-HL0trGIs.js +31 -0
- package/dist/pencil-HL0trGIs.js.map +1 -0
- package/dist/permission-matrix-BRqw2RPb.js +6128 -0
- package/dist/permission-matrix-BRqw2RPb.js.map +1 -0
- package/dist/permission-matrix-CqE8q8Hi.cjs +93 -0
- package/dist/permission-matrix-CqE8q8Hi.cjs.map +1 -0
- package/dist/phone-B0J1dGIE.js +31 -0
- package/dist/phone-B0J1dGIE.js.map +1 -0
- package/dist/phone-DPA6vucM.cjs +12 -0
- package/dist/phone-DPA6vucM.cjs.map +1 -0
- package/dist/plus-Bcuujcqd.cjs +7 -0
- package/dist/{plus-BsV82JJ5.cjs.map → plus-Bcuujcqd.cjs.map} +1 -1
- package/dist/{plus-DxD6rofl.js → plus-D7DMDKb8.js} +2 -2
- package/dist/{plus-DxD6rofl.js.map → plus-D7DMDKb8.js.map} +1 -1
- package/dist/popover-Bba1ELMX.cjs +2 -0
- package/dist/popover-Bba1ELMX.cjs.map +1 -0
- package/dist/popover-CZWAuYUL.js +281 -0
- package/dist/popover-CZWAuYUL.js.map +1 -0
- package/dist/progress-BPpsmZ48.js +218 -0
- package/dist/progress-BPpsmZ48.js.map +1 -0
- package/dist/progress-BrzjVhWG.cjs +22 -0
- package/dist/progress-BrzjVhWG.cjs.map +1 -0
- package/dist/providers/index.cjs.js +1 -1
- package/dist/providers/index.es.js +1 -1
- package/dist/radio-group-B9RM_c7e.js +244 -0
- package/dist/radio-group-B9RM_c7e.js.map +1 -0
- package/dist/radio-group-_n8TTqNQ.cjs +2 -0
- package/dist/radio-group-_n8TTqNQ.cjs.map +1 -0
- package/dist/record-dialog-footer-DbH9A6eA.js +2577 -0
- package/dist/record-dialog-footer-DbH9A6eA.js.map +1 -0
- package/dist/record-dialog-footer-DpDxH5wX.cjs +37 -0
- package/dist/record-dialog-footer-DpDxH5wX.cjs.map +1 -0
- package/dist/scroll-area-CGNbDUBQ.js +889 -0
- package/dist/scroll-area-CGNbDUBQ.js.map +1 -0
- package/dist/scroll-area-HsTSI_58.cjs +22 -0
- package/dist/scroll-area-HsTSI_58.cjs.map +1 -0
- package/dist/select-CEsYpjPi.cjs +2 -0
- package/dist/select-CEsYpjPi.cjs.map +1 -0
- package/dist/{select-BJpZrtep.js → select-Ce2C2acZ.js} +184 -179
- package/dist/select-Ce2C2acZ.js.map +1 -0
- package/dist/send-DIkOd-pu.js +21 -0
- package/dist/send-DIkOd-pu.js.map +1 -0
- package/dist/send-H6HC-rS8.cjs +7 -0
- package/dist/send-H6HC-rS8.cjs.map +1 -0
- package/dist/shared-inbox-Bv0AgLew.js +702 -0
- package/dist/shared-inbox-Bv0AgLew.js.map +1 -0
- package/dist/shared-inbox-DWEKfDX3.cjs +22 -0
- package/dist/shared-inbox-DWEKfDX3.cjs.map +1 -0
- package/dist/sheet-DTimb4SJ.cjs +2 -0
- package/dist/sheet-DTimb4SJ.cjs.map +1 -0
- package/dist/sheet-DgpAPCAp.js +147 -0
- package/dist/sheet-DgpAPCAp.js.map +1 -0
- package/dist/{skeleton-Bl6FAxHT.js → skeleton-C_dwS3_6.js} +2 -2
- package/dist/{skeleton-Bl6FAxHT.js.map → skeleton-C_dwS3_6.js.map} +1 -1
- package/dist/{skeleton-Cb6MWerF.cjs → skeleton-D3YsjVWD.cjs} +2 -2
- package/dist/{skeleton-Cb6MWerF.cjs.map → skeleton-D3YsjVWD.cjs.map} +1 -1
- package/dist/sparkline-chart-BP4bk24J.js +15881 -0
- package/dist/sparkline-chart-BP4bk24J.js.map +1 -0
- package/dist/sparkline-chart-D6SLZVjp.cjs +79 -0
- package/dist/sparkline-chart-D6SLZVjp.cjs.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/switch-AEZvZSRV.cjs +2 -0
- package/dist/switch-AEZvZSRV.cjs.map +1 -0
- package/dist/switch-BF4LLvaU.js +147 -0
- package/dist/switch-BF4LLvaU.js.map +1 -0
- package/dist/table-2-Bn-YjZ9s.cjs +17 -0
- package/dist/table-2-Bn-YjZ9s.cjs.map +1 -0
- package/dist/table-2-C7E_N72K.js +52 -0
- package/dist/table-2-C7E_N72K.js.map +1 -0
- package/dist/textarea-4qZDuQ-C.js +206 -0
- package/dist/textarea-4qZDuQ-C.js.map +1 -0
- package/dist/textarea-Bq_zyt0L.cjs +2 -0
- package/dist/textarea-Bq_zyt0L.cjs.map +1 -0
- package/dist/tooltip-Dd7le9EO.cjs +2 -0
- package/dist/tooltip-Dd7le9EO.cjs.map +1 -0
- package/dist/tooltip-Dee-pNPI.js +338 -0
- package/dist/tooltip-Dee-pNPI.js.map +1 -0
- package/dist/trash-2-B3EP3JfM.js +18 -0
- package/dist/trash-2-B3EP3JfM.js.map +1 -0
- package/dist/trash-2-DWEeKlWT.cjs +7 -0
- package/dist/trash-2-DWEeKlWT.cjs.map +1 -0
- package/dist/{trending-up-BHFXgLWy.js → trending-up-ljWtN4pj.js} +2 -2
- package/dist/{trending-up-BHFXgLWy.js.map → trending-up-ljWtN4pj.js.map} +1 -1
- package/dist/{trending-up-BBjz_E69.cjs → trending-up-mLgmkp--.cjs} +2 -2
- package/dist/{trending-up-BBjz_E69.cjs.map → trending-up-mLgmkp--.cjs.map} +1 -1
- package/dist/upload-2tm-XihE.cjs +7 -0
- package/dist/upload-2tm-XihE.cjs.map +1 -0
- package/dist/upload-C_JDP8O0.js +16 -0
- package/dist/upload-C_JDP8O0.js.map +1 -0
- package/dist/use-controllable-state-3ATd6Fqd.cjs +2 -0
- package/dist/use-controllable-state-3ATd6Fqd.cjs.map +1 -0
- package/dist/use-controllable-state-CEa-Zlq6.js +23 -0
- package/dist/use-controllable-state-CEa-Zlq6.js.map +1 -0
- package/dist/use-formatters-Bb0fX1lW.cjs +2 -0
- package/dist/{use-formatters-CObUgipW.cjs.map → use-formatters-Bb0fX1lW.cjs.map} +1 -1
- package/dist/{use-formatters-Bgj3JA4i.js → use-formatters-xeMS4gdV.js} +1160 -1165
- package/dist/{use-formatters-Bgj3JA4i.js.map → use-formatters-xeMS4gdV.js.map} +1 -1
- package/dist/utils/index.cjs.js +1 -1
- package/dist/utils/index.es.js +1 -1
- package/dist/welcome-card-Ccbl_miQ.js +1007 -0
- package/dist/welcome-card-Ccbl_miQ.js.map +1 -0
- package/dist/welcome-card-D-ShMkaS.cjs +37 -0
- package/dist/welcome-card-D-ShMkaS.cjs.map +1 -0
- package/dist/x-BBkgEhUv.js +15 -0
- package/dist/x-BBkgEhUv.js.map +1 -0
- package/dist/x-D-El5XAY.cjs +7 -0
- package/dist/x-D-El5XAY.cjs.map +1 -0
- package/package.json +20 -2
- package/dist/avatar-BT_SPwFW.cjs +0 -18
- package/dist/avatar-BT_SPwFW.cjs.map +0 -1
- package/dist/avatar-C5-ZWIqT.js +0 -305
- package/dist/avatar-C5-ZWIqT.js.map +0 -1
- package/dist/calendar-BF5drX5u.cjs +0 -12
- package/dist/calendar-BF5drX5u.cjs.map +0 -1
- package/dist/calendar-DgnhzEfp.js.map +0 -1
- package/dist/checkbox-BY2zxQVv.js.map +0 -1
- package/dist/checkbox-CL6u7vL6.cjs +0 -2
- package/dist/checkbox-CL6u7vL6.cjs.map +0 -1
- package/dist/chevron-down-BiUlxZA-.js +0 -14
- package/dist/chevron-down-BiUlxZA-.js.map +0 -1
- package/dist/chevron-down-Ce0kqXiD.cjs +0 -7
- package/dist/chevron-down-Ce0kqXiD.cjs.map +0 -1
- package/dist/chevron-up-C3RClqXD.cjs +0 -7
- package/dist/createLucideIcon-BC8wu-bu.js +0 -80
- package/dist/createLucideIcon-BC8wu-bu.js.map +0 -1
- package/dist/createLucideIcon-Cv8nC2E9.cjs +0 -22
- package/dist/createLucideIcon-Cv8nC2E9.cjs.map +0 -1
- package/dist/filter-tags-DoRzXjuY.cjs +0 -48
- package/dist/filter-tags-DoRzXjuY.cjs.map +0 -1
- package/dist/filter-tags-zEQmRhEU.js +0 -2712
- package/dist/filter-tags-zEQmRhEU.js.map +0 -1
- package/dist/full-calendar-5Z4JSj8g.js +0 -3551
- package/dist/full-calendar-5Z4JSj8g.js.map +0 -1
- package/dist/full-calendar-DjAvCfuE.cjs +0 -23
- package/dist/full-calendar-DjAvCfuE.cjs.map +0 -1
- package/dist/global-search-BbZfc-VL.js +0 -1216
- package/dist/global-search-BbZfc-VL.js.map +0 -1
- package/dist/global-search-Bd74_wPV.cjs +0 -22
- package/dist/global-search-Bd74_wPV.cjs.map +0 -1
- package/dist/index-D2U2F80P.cjs +0 -2
- package/dist/index-DG0KV-sw.cjs +0 -11
- package/dist/index-DG0KV-sw.cjs.map +0 -1
- package/dist/index-XnFSmCuh.js +0 -299
- package/dist/index-XnFSmCuh.js.map +0 -1
- package/dist/input-BgPy-4Qu.js +0 -3658
- package/dist/input-BgPy-4Qu.js.map +0 -1
- package/dist/input-Cfr2WB-P.cjs +0 -47
- package/dist/input-Cfr2WB-P.cjs.map +0 -1
- package/dist/locale-provider-BojNdf1Y.cjs +0 -2
- package/dist/locale-provider-BojNdf1Y.cjs.map +0 -1
- package/dist/locale-provider-DzBeb-X3.js +0 -1013
- package/dist/locale-provider-DzBeb-X3.js.map +0 -1
- package/dist/locale-selector-BD1IWk6X.cjs +0 -22
- package/dist/locale-selector-BD1IWk6X.cjs.map +0 -1
- package/dist/locale-selector-DLRSyVye.js +0 -1772
- package/dist/locale-selector-DLRSyVye.js.map +0 -1
- package/dist/minus-C0uyaz70.cjs +0 -7
- package/dist/multi-container-BZia7HCU.js +0 -748
- package/dist/multi-container-BZia7HCU.js.map +0 -1
- package/dist/multi-container-BdNbgtPZ.cjs +0 -7
- package/dist/multi-container-BdNbgtPZ.cjs.map +0 -1
- package/dist/pipeline-Dh052Dvj.cjs +0 -27
- package/dist/pipeline-Dh052Dvj.cjs.map +0 -1
- package/dist/pipeline-DqWvleNy.js +0 -1076
- package/dist/pipeline-DqWvleNy.js.map +0 -1
- package/dist/plus-BsV82JJ5.cjs +0 -7
- package/dist/popover-BgLxmm1z.cjs +0 -7
- package/dist/popover-BgLxmm1z.cjs.map +0 -1
- package/dist/popover-PI9jbhnS.js +0 -775
- package/dist/popover-PI9jbhnS.js.map +0 -1
- package/dist/progress-CTTt_CP3.js +0 -260
- package/dist/progress-CTTt_CP3.js.map +0 -1
- package/dist/progress-CTWb7X1Q.cjs +0 -37
- package/dist/progress-CTWb7X1Q.cjs.map +0 -1
- package/dist/scroll-area-A3jGu-Ta.js +0 -974
- package/dist/scroll-area-A3jGu-Ta.js.map +0 -1
- package/dist/scroll-area-DzDnWIYJ.cjs +0 -12
- package/dist/scroll-area-DzDnWIYJ.cjs.map +0 -1
- package/dist/select-BJpZrtep.js.map +0 -1
- package/dist/select-Ii8HRuXa.cjs +0 -2
- package/dist/select-Ii8HRuXa.cjs.map +0 -1
- package/dist/separator-BzcDE0Ei.cjs +0 -2
- package/dist/separator-BzcDE0Ei.cjs.map +0 -1
- package/dist/separator-DyarVo1-.js +0 -396
- package/dist/separator-DyarVo1-.js.map +0 -1
- package/dist/sheet-DPSdOoE6.js +0 -84
- package/dist/sheet-DPSdOoE6.js.map +0 -1
- package/dist/sheet-XtjvbEMq.cjs +0 -2
- package/dist/sheet-XtjvbEMq.cjs.map +0 -1
- package/dist/sparkline-chart-CeCDeMNk.cjs +0 -102
- package/dist/sparkline-chart-CeCDeMNk.cjs.map +0 -1
- package/dist/sparkline-chart-DUS4CoW_.js +0 -19787
- package/dist/sparkline-chart-DUS4CoW_.js.map +0 -1
- package/dist/use-formatters-CObUgipW.cjs +0 -2
- package/dist/welcome-card-CNuEa6Ck.cjs +0 -67
- package/dist/welcome-card-CNuEa6Ck.cjs.map +0 -1
- package/dist/welcome-card-Cp6t6G3j.js +0 -1041
- package/dist/welcome-card-Cp6t6G3j.js.map +0 -1
|
@@ -1,748 +0,0 @@
|
|
|
1
|
-
import { jsx as r, jsxs as K } from "react/jsx-runtime";
|
|
2
|
-
import * as o from "react";
|
|
3
|
-
import { u as B, C as L, g as te, a as j, b as W, c as Q, D as z, d as U, S as $, v as G, h as ne, e as P, f as V, s as X, K as Y, P as Z, p as re, r as ie, i as _ } from "./sortable.esm-Cb8oRBzU.js";
|
|
4
|
-
import { c as k } from "./index-DtaLkIY8.js";
|
|
5
|
-
import { c as se } from "./createLucideIcon-BC8wu-bu.js";
|
|
6
|
-
import { F as H } from "./file-Cw_u_aJB.js";
|
|
7
|
-
import { C as ae } from "./chevron-right-BLyGmyaF.js";
|
|
8
|
-
/**
|
|
9
|
-
* @license lucide-react v0.441.0 - ISC
|
|
10
|
-
*
|
|
11
|
-
* This source code is licensed under the ISC license.
|
|
12
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
13
|
-
*/
|
|
14
|
-
const R = se("Folder", [
|
|
15
|
-
[
|
|
16
|
-
"path",
|
|
17
|
-
{
|
|
18
|
-
d: "M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",
|
|
19
|
-
key: "1kt360"
|
|
20
|
-
}
|
|
21
|
-
]
|
|
22
|
-
]);
|
|
23
|
-
function oe({
|
|
24
|
-
id: i,
|
|
25
|
-
children: e,
|
|
26
|
-
className: t,
|
|
27
|
-
disabled: n = !1
|
|
28
|
-
}) {
|
|
29
|
-
const {
|
|
30
|
-
attributes: d,
|
|
31
|
-
listeners: g,
|
|
32
|
-
setNodeRef: x,
|
|
33
|
-
transform: v,
|
|
34
|
-
transition: m,
|
|
35
|
-
isDragging: c
|
|
36
|
-
} = B({ id: i, disabled: n }), h = o.useMemo(() => ({
|
|
37
|
-
transform: L.Transform.toString(v),
|
|
38
|
-
transition: m,
|
|
39
|
-
opacity: c ? 0.5 : 1
|
|
40
|
-
}), [v, m, c]);
|
|
41
|
-
return /* @__PURE__ */ r(
|
|
42
|
-
"div",
|
|
43
|
-
{
|
|
44
|
-
ref: x,
|
|
45
|
-
style: h,
|
|
46
|
-
className: k(
|
|
47
|
-
"rounded-xl border bg-card text-card-foreground p-3 shadow-sm touch-none select-none",
|
|
48
|
-
c && "z-50 ring-2 ring-primary/30",
|
|
49
|
-
n && "opacity-50 cursor-not-allowed",
|
|
50
|
-
!n && !c && "cursor-grab hover:shadow-md hover:border-primary/30",
|
|
51
|
-
!n && c && "cursor-grabbing",
|
|
52
|
-
t
|
|
53
|
-
),
|
|
54
|
-
...d,
|
|
55
|
-
...g,
|
|
56
|
-
children: /* @__PURE__ */ r("div", { className: "min-w-0", children: e })
|
|
57
|
-
}
|
|
58
|
-
);
|
|
59
|
-
}
|
|
60
|
-
function de(i, e, t) {
|
|
61
|
-
const n = {
|
|
62
|
-
...i
|
|
63
|
-
};
|
|
64
|
-
return e.top + i.y <= t.top ? n.y = t.top - e.top : e.bottom + i.y >= t.top + t.height && (n.y = t.top + t.height - e.bottom), e.left + i.x <= t.left ? n.x = t.left - e.left : e.right + i.x >= t.left + t.width && (n.x = t.left + t.width - e.right), n;
|
|
65
|
-
}
|
|
66
|
-
const q = (i) => {
|
|
67
|
-
let {
|
|
68
|
-
transform: e,
|
|
69
|
-
draggingNodeRect: t,
|
|
70
|
-
windowRect: n
|
|
71
|
-
} = i;
|
|
72
|
-
return !t || !n ? e : de(e, t, n);
|
|
73
|
-
}, J = (i) => {
|
|
74
|
-
let {
|
|
75
|
-
activatorEvent: e,
|
|
76
|
-
draggingNodeRect: t,
|
|
77
|
-
transform: n
|
|
78
|
-
} = i;
|
|
79
|
-
if (t && e) {
|
|
80
|
-
const d = te(e);
|
|
81
|
-
if (!d)
|
|
82
|
-
return n;
|
|
83
|
-
const g = d.x - t.left, x = d.y - t.top;
|
|
84
|
-
return {
|
|
85
|
-
...n,
|
|
86
|
-
x: n.x + g - t.width / 2,
|
|
87
|
-
y: n.y + x - t.height / 2
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
return n;
|
|
91
|
-
}, le = {
|
|
92
|
-
sm: "gap-1",
|
|
93
|
-
md: "gap-2",
|
|
94
|
-
lg: "gap-4"
|
|
95
|
-
}, ce = {
|
|
96
|
-
sideEffects: V({
|
|
97
|
-
styles: {
|
|
98
|
-
active: {
|
|
99
|
-
opacity: "0.5"
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
})
|
|
103
|
-
};
|
|
104
|
-
function ke({
|
|
105
|
-
items: i,
|
|
106
|
-
onReorder: e,
|
|
107
|
-
renderItem: t,
|
|
108
|
-
renderOverlay: n,
|
|
109
|
-
direction: d = "vertical",
|
|
110
|
-
className: g,
|
|
111
|
-
itemClassName: x,
|
|
112
|
-
disabled: v = !1,
|
|
113
|
-
gap: m = "md"
|
|
114
|
-
}) {
|
|
115
|
-
const [c, h] = o.useState(null), u = j(
|
|
116
|
-
W(Z, {
|
|
117
|
-
activationConstraint: {
|
|
118
|
-
distance: 5
|
|
119
|
-
}
|
|
120
|
-
}),
|
|
121
|
-
W(Y, {
|
|
122
|
-
coordinateGetter: X
|
|
123
|
-
})
|
|
124
|
-
), E = o.useCallback((y) => {
|
|
125
|
-
h(y.active.id);
|
|
126
|
-
}, []), A = o.useCallback((y) => {
|
|
127
|
-
const { active: f, over: N } = y;
|
|
128
|
-
if (N && f.id !== N.id) {
|
|
129
|
-
const w = i.findIndex((a) => a.id === f.id), s = i.findIndex((a) => a.id === N.id);
|
|
130
|
-
w !== -1 && s !== -1 && e(Q(i, w, s));
|
|
131
|
-
}
|
|
132
|
-
h(null);
|
|
133
|
-
}, [i, e]), b = o.useCallback(() => {
|
|
134
|
-
h(null);
|
|
135
|
-
}, []), C = o.useMemo(
|
|
136
|
-
() => i.find((y) => y.id === c),
|
|
137
|
-
[c, i]
|
|
138
|
-
), I = o.useMemo(() => i.map((y) => y.id), [i]);
|
|
139
|
-
return /* @__PURE__ */ K(
|
|
140
|
-
z,
|
|
141
|
-
{
|
|
142
|
-
sensors: u,
|
|
143
|
-
collisionDetection: U,
|
|
144
|
-
onDragStart: E,
|
|
145
|
-
onDragEnd: A,
|
|
146
|
-
onDragCancel: b,
|
|
147
|
-
children: [
|
|
148
|
-
/* @__PURE__ */ r(
|
|
149
|
-
$,
|
|
150
|
-
{
|
|
151
|
-
items: I,
|
|
152
|
-
strategy: d === "vertical" ? G : ne,
|
|
153
|
-
children: /* @__PURE__ */ r(
|
|
154
|
-
"div",
|
|
155
|
-
{
|
|
156
|
-
className: k(
|
|
157
|
-
"flex",
|
|
158
|
-
d === "vertical" ? "flex-col" : "flex-row flex-wrap",
|
|
159
|
-
le[m],
|
|
160
|
-
g
|
|
161
|
-
),
|
|
162
|
-
children: i.map((y) => /* @__PURE__ */ r(
|
|
163
|
-
oe,
|
|
164
|
-
{
|
|
165
|
-
id: y.id,
|
|
166
|
-
className: x,
|
|
167
|
-
disabled: v,
|
|
168
|
-
children: t(y)
|
|
169
|
-
},
|
|
170
|
-
y.id
|
|
171
|
-
))
|
|
172
|
-
}
|
|
173
|
-
)
|
|
174
|
-
}
|
|
175
|
-
),
|
|
176
|
-
/* @__PURE__ */ r(P, { dropAnimation: ce, modifiers: [J, q], children: C ? /* @__PURE__ */ r("div", { className: "rounded-xl border bg-card text-card-foreground p-3 shadow-2xl ring-2 ring-primary/30 cursor-grabbing", children: n ? n(C) : t(C) }) : null })
|
|
177
|
-
]
|
|
178
|
-
}
|
|
179
|
-
);
|
|
180
|
-
}
|
|
181
|
-
const ue = o.memo(function({
|
|
182
|
-
id: e,
|
|
183
|
-
children: t,
|
|
184
|
-
className: n
|
|
185
|
-
}) {
|
|
186
|
-
const {
|
|
187
|
-
attributes: d,
|
|
188
|
-
listeners: g,
|
|
189
|
-
setNodeRef: x,
|
|
190
|
-
transform: v,
|
|
191
|
-
transition: m,
|
|
192
|
-
isDragging: c
|
|
193
|
-
} = B({ id: e }), h = o.useMemo(() => ({
|
|
194
|
-
transform: L.Transform.toString(v),
|
|
195
|
-
transition: m,
|
|
196
|
-
opacity: c ? 0.5 : 1
|
|
197
|
-
}), [v, m, c]);
|
|
198
|
-
return /* @__PURE__ */ r(
|
|
199
|
-
"div",
|
|
200
|
-
{
|
|
201
|
-
ref: x,
|
|
202
|
-
style: h,
|
|
203
|
-
className: k(
|
|
204
|
-
"rounded-xl border bg-card text-card-foreground p-3 shadow-sm touch-none select-none",
|
|
205
|
-
c && "ring-2 ring-primary/20",
|
|
206
|
-
!c && "cursor-grab hover:shadow-md hover:border-primary/30",
|
|
207
|
-
c && "cursor-grabbing",
|
|
208
|
-
n
|
|
209
|
-
),
|
|
210
|
-
...d,
|
|
211
|
-
...g,
|
|
212
|
-
children: /* @__PURE__ */ r("div", { className: "min-w-0", children: t })
|
|
213
|
-
}
|
|
214
|
-
);
|
|
215
|
-
});
|
|
216
|
-
function me({
|
|
217
|
-
column: i,
|
|
218
|
-
items: e,
|
|
219
|
-
renderItem: t,
|
|
220
|
-
renderColumnHeader: n,
|
|
221
|
-
columnClassName: d,
|
|
222
|
-
itemClassName: g
|
|
223
|
-
}) {
|
|
224
|
-
const { setNodeRef: x, isOver: v } = _({
|
|
225
|
-
id: `column-${i.id}`,
|
|
226
|
-
data: {
|
|
227
|
-
type: "column",
|
|
228
|
-
columnId: i.id
|
|
229
|
-
}
|
|
230
|
-
});
|
|
231
|
-
return /* @__PURE__ */ K(
|
|
232
|
-
"div",
|
|
233
|
-
{
|
|
234
|
-
ref: x,
|
|
235
|
-
className: k(
|
|
236
|
-
"flex flex-col min-w-[280px] w-[280px] bg-muted/30 border border-border/50 rounded-xl p-3 transition-colors duration-200",
|
|
237
|
-
v && "ring-2 ring-primary/30 bg-primary/5",
|
|
238
|
-
d
|
|
239
|
-
),
|
|
240
|
-
children: [
|
|
241
|
-
/* @__PURE__ */ K("div", { className: "flex items-center justify-between mb-3 px-1", children: [
|
|
242
|
-
n ? n(i) : /* @__PURE__ */ r("h3", { className: "font-semibold text-sm text-foreground", children: i.title }),
|
|
243
|
-
/* @__PURE__ */ r("span", { className: "text-xs font-medium text-muted-foreground bg-background border px-2 py-0.5 rounded-full shadow-sm", children: e.length })
|
|
244
|
-
] }),
|
|
245
|
-
/* @__PURE__ */ r(
|
|
246
|
-
$,
|
|
247
|
-
{
|
|
248
|
-
items: e.map((m) => m.id),
|
|
249
|
-
strategy: G,
|
|
250
|
-
children: /* @__PURE__ */ r("div", { className: "flex flex-col gap-2 min-h-[100px] flex-1", children: e.map((m) => /* @__PURE__ */ r(
|
|
251
|
-
ue,
|
|
252
|
-
{
|
|
253
|
-
id: m.id,
|
|
254
|
-
className: g,
|
|
255
|
-
children: t(m)
|
|
256
|
-
},
|
|
257
|
-
m.id
|
|
258
|
-
)) })
|
|
259
|
-
}
|
|
260
|
-
)
|
|
261
|
-
]
|
|
262
|
-
}
|
|
263
|
-
);
|
|
264
|
-
}
|
|
265
|
-
const fe = (i) => {
|
|
266
|
-
const t = re(i).filter(
|
|
267
|
-
(d) => !String(d.id).startsWith("column-")
|
|
268
|
-
);
|
|
269
|
-
return t.length > 0 ? t : ie(i);
|
|
270
|
-
}, ge = {
|
|
271
|
-
sideEffects: V({
|
|
272
|
-
styles: {
|
|
273
|
-
active: {
|
|
274
|
-
opacity: "0.5"
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
})
|
|
278
|
-
};
|
|
279
|
-
function Ee({
|
|
280
|
-
columns: i,
|
|
281
|
-
items: e,
|
|
282
|
-
onItemMove: t,
|
|
283
|
-
onReorder: n,
|
|
284
|
-
renderItem: d,
|
|
285
|
-
renderColumnHeader: g,
|
|
286
|
-
className: x,
|
|
287
|
-
columnClassName: v,
|
|
288
|
-
itemClassName: m
|
|
289
|
-
}) {
|
|
290
|
-
const [c, h] = o.useState(null), u = o.useRef(null), E = j(
|
|
291
|
-
W(Z, {
|
|
292
|
-
activationConstraint: {
|
|
293
|
-
distance: 5
|
|
294
|
-
}
|
|
295
|
-
}),
|
|
296
|
-
W(Y, {
|
|
297
|
-
coordinateGetter: X
|
|
298
|
-
})
|
|
299
|
-
), A = o.useCallback(
|
|
300
|
-
(s) => e.filter((a) => a.columnId === s),
|
|
301
|
-
[e]
|
|
302
|
-
), b = o.useCallback(
|
|
303
|
-
(s) => {
|
|
304
|
-
const a = e.find((l) => l.id === s);
|
|
305
|
-
return a == null ? void 0 : a.columnId;
|
|
306
|
-
},
|
|
307
|
-
[e]
|
|
308
|
-
), C = o.useCallback(
|
|
309
|
-
(s) => {
|
|
310
|
-
const a = String(s);
|
|
311
|
-
return a.startsWith("column-") ? a.replace("column-", "") : b(s);
|
|
312
|
-
},
|
|
313
|
-
[b]
|
|
314
|
-
), I = o.useCallback((s) => {
|
|
315
|
-
h(s.active.id), u.current = null;
|
|
316
|
-
}, []), y = o.useCallback((s) => {
|
|
317
|
-
const { active: a, over: l } = s;
|
|
318
|
-
if (!l) return;
|
|
319
|
-
const p = b(a.id), S = C(l.id);
|
|
320
|
-
if (!p || !S || p === S || u.current === l.id) return;
|
|
321
|
-
u.current = l.id;
|
|
322
|
-
const T = A(S), D = String(l.id);
|
|
323
|
-
let F;
|
|
324
|
-
if (D.startsWith("column-"))
|
|
325
|
-
F = T.length;
|
|
326
|
-
else {
|
|
327
|
-
const M = T.findIndex((O) => O.id === l.id);
|
|
328
|
-
F = M >= 0 ? M : T.length;
|
|
329
|
-
}
|
|
330
|
-
t(a.id, p, S, F);
|
|
331
|
-
}, [b, C, A, t]), f = o.useCallback((s) => {
|
|
332
|
-
const { active: a, over: l } = s;
|
|
333
|
-
if (!l) {
|
|
334
|
-
h(null), u.current = null;
|
|
335
|
-
return;
|
|
336
|
-
}
|
|
337
|
-
const p = b(a.id), S = String(l.id);
|
|
338
|
-
let T;
|
|
339
|
-
if (S.startsWith("column-") ? T = S.replace("column-", "") : T = b(l.id), !p) {
|
|
340
|
-
h(null), u.current = null;
|
|
341
|
-
return;
|
|
342
|
-
}
|
|
343
|
-
if (p === T && a.id !== l.id && n && !S.startsWith("column-")) {
|
|
344
|
-
const D = A(p), F = D.findIndex((O) => O.id === a.id), M = D.findIndex((O) => O.id === l.id);
|
|
345
|
-
F !== -1 && M !== -1 && n(p, Q(D, F, M));
|
|
346
|
-
}
|
|
347
|
-
h(null), u.current = null;
|
|
348
|
-
}, [b, A, n]), N = o.useCallback(() => {
|
|
349
|
-
h(null), u.current = null;
|
|
350
|
-
}, []), w = o.useMemo(
|
|
351
|
-
() => e.find((s) => s.id === c),
|
|
352
|
-
[c, e]
|
|
353
|
-
);
|
|
354
|
-
return /* @__PURE__ */ K(
|
|
355
|
-
z,
|
|
356
|
-
{
|
|
357
|
-
sensors: E,
|
|
358
|
-
collisionDetection: fe,
|
|
359
|
-
onDragStart: I,
|
|
360
|
-
onDragOver: y,
|
|
361
|
-
onDragEnd: f,
|
|
362
|
-
onDragCancel: N,
|
|
363
|
-
children: [
|
|
364
|
-
/* @__PURE__ */ r("div", { className: k("flex gap-4 overflow-x-auto p-1", x), children: i.map((s) => {
|
|
365
|
-
const a = A(s.id);
|
|
366
|
-
return /* @__PURE__ */ r(
|
|
367
|
-
me,
|
|
368
|
-
{
|
|
369
|
-
column: s,
|
|
370
|
-
items: a,
|
|
371
|
-
renderItem: d,
|
|
372
|
-
renderColumnHeader: g,
|
|
373
|
-
columnClassName: v,
|
|
374
|
-
itemClassName: m
|
|
375
|
-
},
|
|
376
|
-
s.id
|
|
377
|
-
);
|
|
378
|
-
}) }),
|
|
379
|
-
/* @__PURE__ */ r(P, { dropAnimation: ge, modifiers: [J, q], children: w ? /* @__PURE__ */ r("div", { className: "rounded-xl border bg-card text-card-foreground p-3 shadow-2xl ring-2 ring-primary/30 cursor-grabbing", children: /* @__PURE__ */ r("div", { className: "min-w-0", children: d(w) }) }) : null })
|
|
380
|
-
]
|
|
381
|
-
}
|
|
382
|
-
);
|
|
383
|
-
}
|
|
384
|
-
const he = o.memo(function({
|
|
385
|
-
node: e,
|
|
386
|
-
depth: t,
|
|
387
|
-
expanded: n,
|
|
388
|
-
onToggle: d,
|
|
389
|
-
renderNode: g
|
|
390
|
-
}) {
|
|
391
|
-
const {
|
|
392
|
-
attributes: x,
|
|
393
|
-
listeners: v,
|
|
394
|
-
setNodeRef: m,
|
|
395
|
-
transform: c,
|
|
396
|
-
transition: h,
|
|
397
|
-
isDragging: u
|
|
398
|
-
} = B({ id: e.id }), E = o.useMemo(() => ({
|
|
399
|
-
transform: L.Transform.toString(c),
|
|
400
|
-
transition: h,
|
|
401
|
-
paddingLeft: `${t * 20 + 8}px`,
|
|
402
|
-
opacity: u ? 0.5 : 1
|
|
403
|
-
}), [c, h, t, u]), A = e.children && e.children.length > 0, b = e.isFolder || A, C = o.useCallback((I) => {
|
|
404
|
-
I.stopPropagation(), d();
|
|
405
|
-
}, [d]);
|
|
406
|
-
return /* @__PURE__ */ K(
|
|
407
|
-
"div",
|
|
408
|
-
{
|
|
409
|
-
ref: m,
|
|
410
|
-
style: E,
|
|
411
|
-
className: k(
|
|
412
|
-
"flex items-center gap-2 py-2 pr-3 rounded-lg touch-none select-none",
|
|
413
|
-
u && "bg-muted ring-1 ring-primary/20",
|
|
414
|
-
!u && "cursor-grab hover:bg-muted/60",
|
|
415
|
-
u && "cursor-grabbing"
|
|
416
|
-
),
|
|
417
|
-
...x,
|
|
418
|
-
...v,
|
|
419
|
-
children: [
|
|
420
|
-
b ? /* @__PURE__ */ r(
|
|
421
|
-
"button",
|
|
422
|
-
{
|
|
423
|
-
type: "button",
|
|
424
|
-
onClick: C,
|
|
425
|
-
className: "flex-shrink-0 p-1 hover:bg-muted rounded-md transition-colors duration-200",
|
|
426
|
-
children: /* @__PURE__ */ r(
|
|
427
|
-
ae,
|
|
428
|
-
{
|
|
429
|
-
className: k(
|
|
430
|
-
"h-4 w-4 text-muted-foreground transition-transform duration-200",
|
|
431
|
-
n && "rotate-90"
|
|
432
|
-
)
|
|
433
|
-
}
|
|
434
|
-
)
|
|
435
|
-
}
|
|
436
|
-
) : /* @__PURE__ */ r("span", { className: "w-6" }),
|
|
437
|
-
/* @__PURE__ */ r("span", { className: k(
|
|
438
|
-
"flex-shrink-0",
|
|
439
|
-
b ? "text-primary/80" : "text-muted-foreground"
|
|
440
|
-
), children: b ? /* @__PURE__ */ r(R, { className: "h-4 w-4" }) : /* @__PURE__ */ r(H, { className: "h-4 w-4" }) }),
|
|
441
|
-
/* @__PURE__ */ r("span", { className: "flex-1 truncate text-sm text-foreground", children: g ? g(e) : e.label })
|
|
442
|
-
]
|
|
443
|
-
}
|
|
444
|
-
);
|
|
445
|
-
});
|
|
446
|
-
function ee(i, e, t = 0) {
|
|
447
|
-
const n = [];
|
|
448
|
-
for (const d of i)
|
|
449
|
-
n.push({ node: d, depth: t }), d.children && e.has(d.id) && n.push(...ee(d.children, e, t + 1));
|
|
450
|
-
return n;
|
|
451
|
-
}
|
|
452
|
-
const pe = {
|
|
453
|
-
sideEffects: V({
|
|
454
|
-
styles: {
|
|
455
|
-
active: {
|
|
456
|
-
opacity: "0.5"
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
})
|
|
460
|
-
};
|
|
461
|
-
function Ae({
|
|
462
|
-
data: i,
|
|
463
|
-
onMove: e,
|
|
464
|
-
onToggle: t,
|
|
465
|
-
renderNode: n,
|
|
466
|
-
className: d,
|
|
467
|
-
defaultExpanded: g = /* @__PURE__ */ new Set()
|
|
468
|
-
}) {
|
|
469
|
-
const [x, v] = o.useState(g), [m, c] = o.useState(null), h = j(
|
|
470
|
-
W(Z, {
|
|
471
|
-
activationConstraint: {
|
|
472
|
-
distance: 5
|
|
473
|
-
}
|
|
474
|
-
}),
|
|
475
|
-
W(Y, {
|
|
476
|
-
coordinateGetter: X
|
|
477
|
-
})
|
|
478
|
-
), u = o.useMemo(
|
|
479
|
-
() => ee(i, x),
|
|
480
|
-
[i, x]
|
|
481
|
-
), E = o.useCallback((f) => {
|
|
482
|
-
v((N) => {
|
|
483
|
-
const w = new Set(N), s = w.has(f);
|
|
484
|
-
return s ? w.delete(f) : w.add(f), t == null || t(f, !s), w;
|
|
485
|
-
});
|
|
486
|
-
}, [t]), A = o.useCallback((f) => {
|
|
487
|
-
c(f.active.id);
|
|
488
|
-
}, []), b = o.useCallback((f) => {
|
|
489
|
-
const { active: N, over: w } = f;
|
|
490
|
-
if (w && N.id !== w.id) {
|
|
491
|
-
const s = u.findIndex((l) => l.node.id === N.id), a = u.findIndex((l) => l.node.id === w.id);
|
|
492
|
-
s !== -1 && a !== -1 && (e == null || e(N.id, null, a));
|
|
493
|
-
}
|
|
494
|
-
c(null);
|
|
495
|
-
}, [u, e]), C = o.useCallback(() => {
|
|
496
|
-
c(null);
|
|
497
|
-
}, []), I = o.useMemo(
|
|
498
|
-
() => {
|
|
499
|
-
var f;
|
|
500
|
-
return (f = u.find((N) => N.node.id === m)) == null ? void 0 : f.node;
|
|
501
|
-
},
|
|
502
|
-
[m, u]
|
|
503
|
-
), y = o.useMemo(
|
|
504
|
-
() => u.map((f) => f.node.id),
|
|
505
|
-
[u]
|
|
506
|
-
);
|
|
507
|
-
return /* @__PURE__ */ K(
|
|
508
|
-
z,
|
|
509
|
-
{
|
|
510
|
-
sensors: h,
|
|
511
|
-
collisionDetection: U,
|
|
512
|
-
onDragStart: A,
|
|
513
|
-
onDragEnd: b,
|
|
514
|
-
onDragCancel: C,
|
|
515
|
-
children: [
|
|
516
|
-
/* @__PURE__ */ r(
|
|
517
|
-
$,
|
|
518
|
-
{
|
|
519
|
-
items: y,
|
|
520
|
-
strategy: G,
|
|
521
|
-
children: /* @__PURE__ */ r("div", { className: k("border rounded-xl p-3 bg-card shadow-sm", d), children: u.map(({ node: f, depth: N }) => /* @__PURE__ */ r(
|
|
522
|
-
he,
|
|
523
|
-
{
|
|
524
|
-
node: f,
|
|
525
|
-
depth: N,
|
|
526
|
-
expanded: x.has(f.id),
|
|
527
|
-
onToggle: () => E(f.id),
|
|
528
|
-
renderNode: n
|
|
529
|
-
},
|
|
530
|
-
f.id
|
|
531
|
-
)) })
|
|
532
|
-
}
|
|
533
|
-
),
|
|
534
|
-
/* @__PURE__ */ r(P, { dropAnimation: pe, modifiers: [J, q], children: I ? /* @__PURE__ */ K("div", { className: "flex items-center gap-2 py-2 px-3 rounded-lg bg-card border shadow-2xl ring-2 ring-primary/30 cursor-grabbing", children: [
|
|
535
|
-
/* @__PURE__ */ r("span", { className: k(
|
|
536
|
-
"flex-shrink-0",
|
|
537
|
-
I.isFolder || I.children && I.children.length > 0 ? "text-primary/80" : "text-muted-foreground"
|
|
538
|
-
), children: I.isFolder || I.children && I.children.length > 0 ? /* @__PURE__ */ r(R, { className: "h-4 w-4" }) : /* @__PURE__ */ r(H, { className: "h-4 w-4" }) }),
|
|
539
|
-
/* @__PURE__ */ r("span", { className: "text-sm text-foreground", children: n ? n(I) : I.label })
|
|
540
|
-
] }) : null })
|
|
541
|
-
]
|
|
542
|
-
}
|
|
543
|
-
);
|
|
544
|
-
}
|
|
545
|
-
function xe({ id: i, children: e, className: t, isEmpty: n }) {
|
|
546
|
-
const { setNodeRef: d, isOver: g } = _({ id: i });
|
|
547
|
-
return /* @__PURE__ */ r(
|
|
548
|
-
"div",
|
|
549
|
-
{
|
|
550
|
-
ref: d,
|
|
551
|
-
className: k(
|
|
552
|
-
"min-h-[100px] rounded-xl transition-colors duration-200",
|
|
553
|
-
g && "bg-primary/5 ring-2 ring-primary/30",
|
|
554
|
-
n && "border-2 border-dashed border-muted-foreground/30",
|
|
555
|
-
t
|
|
556
|
-
),
|
|
557
|
-
children: e
|
|
558
|
-
}
|
|
559
|
-
);
|
|
560
|
-
}
|
|
561
|
-
const be = o.memo(function({
|
|
562
|
-
id: e,
|
|
563
|
-
children: t,
|
|
564
|
-
className: n
|
|
565
|
-
}) {
|
|
566
|
-
const {
|
|
567
|
-
attributes: d,
|
|
568
|
-
listeners: g,
|
|
569
|
-
setNodeRef: x,
|
|
570
|
-
transform: v,
|
|
571
|
-
transition: m,
|
|
572
|
-
isDragging: c
|
|
573
|
-
} = B({ id: e }), h = o.useMemo(() => ({
|
|
574
|
-
transform: L.Transform.toString(v),
|
|
575
|
-
transition: m,
|
|
576
|
-
opacity: c ? 0.5 : 1
|
|
577
|
-
}), [v, m, c]);
|
|
578
|
-
return /* @__PURE__ */ r(
|
|
579
|
-
"div",
|
|
580
|
-
{
|
|
581
|
-
ref: x,
|
|
582
|
-
style: h,
|
|
583
|
-
className: k(
|
|
584
|
-
"rounded-xl border bg-card text-card-foreground p-3 shadow-sm touch-none select-none",
|
|
585
|
-
c && "ring-2 ring-primary/20",
|
|
586
|
-
!c && "cursor-grab hover:shadow-md hover:border-primary/30",
|
|
587
|
-
c && "cursor-grabbing",
|
|
588
|
-
n
|
|
589
|
-
),
|
|
590
|
-
...d,
|
|
591
|
-
...g,
|
|
592
|
-
children: /* @__PURE__ */ r("div", { className: "min-w-0", children: t })
|
|
593
|
-
}
|
|
594
|
-
);
|
|
595
|
-
}), ve = {
|
|
596
|
-
horizontal: "flex gap-4 overflow-x-auto",
|
|
597
|
-
vertical: "flex flex-col gap-4",
|
|
598
|
-
grid: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"
|
|
599
|
-
}, Ce = {
|
|
600
|
-
sideEffects: V({
|
|
601
|
-
styles: {
|
|
602
|
-
active: {
|
|
603
|
-
opacity: "0.5"
|
|
604
|
-
}
|
|
605
|
-
}
|
|
606
|
-
})
|
|
607
|
-
};
|
|
608
|
-
function Te({
|
|
609
|
-
containers: i,
|
|
610
|
-
items: e,
|
|
611
|
-
onItemMove: t,
|
|
612
|
-
onReorder: n,
|
|
613
|
-
renderItem: d,
|
|
614
|
-
renderContainerHeader: g,
|
|
615
|
-
renderEmptyContainer: x,
|
|
616
|
-
className: v,
|
|
617
|
-
containerClassName: m,
|
|
618
|
-
itemClassName: c,
|
|
619
|
-
layout: h = "horizontal"
|
|
620
|
-
}) {
|
|
621
|
-
const [u, E] = o.useState(null), A = j(
|
|
622
|
-
W(Z, {
|
|
623
|
-
activationConstraint: {
|
|
624
|
-
distance: 5
|
|
625
|
-
}
|
|
626
|
-
}),
|
|
627
|
-
W(Y, {
|
|
628
|
-
coordinateGetter: X
|
|
629
|
-
})
|
|
630
|
-
), b = o.useCallback(
|
|
631
|
-
(s) => e.filter((a) => a.containerId === s),
|
|
632
|
-
[e]
|
|
633
|
-
), C = o.useCallback(
|
|
634
|
-
(s) => {
|
|
635
|
-
const a = e.find((l) => l.id === s);
|
|
636
|
-
return a == null ? void 0 : a.containerId;
|
|
637
|
-
},
|
|
638
|
-
[e]
|
|
639
|
-
), I = o.useCallback((s) => {
|
|
640
|
-
E(s.active.id);
|
|
641
|
-
}, []), y = o.useCallback((s) => {
|
|
642
|
-
var F;
|
|
643
|
-
const { active: a, over: l } = s;
|
|
644
|
-
if (!l) return;
|
|
645
|
-
const p = C(a.id);
|
|
646
|
-
let S = C(l.id);
|
|
647
|
-
if (S || (S = (F = i.find((M) => M.id === l.id)) == null ? void 0 : F.id), !p || !S || p === S) return;
|
|
648
|
-
const T = b(S), D = T.findIndex((M) => M.id === l.id);
|
|
649
|
-
t(
|
|
650
|
-
a.id,
|
|
651
|
-
p,
|
|
652
|
-
S,
|
|
653
|
-
D >= 0 ? D : T.length
|
|
654
|
-
);
|
|
655
|
-
}, [i, C, b, t]), f = o.useCallback((s) => {
|
|
656
|
-
var T;
|
|
657
|
-
const { active: a, over: l } = s;
|
|
658
|
-
if (!l) {
|
|
659
|
-
E(null);
|
|
660
|
-
return;
|
|
661
|
-
}
|
|
662
|
-
const p = C(a.id);
|
|
663
|
-
if (!p) {
|
|
664
|
-
E(null);
|
|
665
|
-
return;
|
|
666
|
-
}
|
|
667
|
-
const S = C(l.id) || ((T = i.find((D) => D.id === l.id)) == null ? void 0 : T.id);
|
|
668
|
-
if (p === S && a.id !== l.id && n) {
|
|
669
|
-
const D = b(p), F = D.findIndex((O) => O.id === a.id), M = D.findIndex((O) => O.id === l.id);
|
|
670
|
-
F !== -1 && M !== -1 && n(p, Q(D, F, M));
|
|
671
|
-
}
|
|
672
|
-
E(null);
|
|
673
|
-
}, [i, C, b, n]), N = o.useCallback(() => {
|
|
674
|
-
E(null);
|
|
675
|
-
}, []), w = o.useMemo(
|
|
676
|
-
() => e.find((s) => s.id === u),
|
|
677
|
-
[u, e]
|
|
678
|
-
);
|
|
679
|
-
return /* @__PURE__ */ K(
|
|
680
|
-
z,
|
|
681
|
-
{
|
|
682
|
-
sensors: A,
|
|
683
|
-
collisionDetection: U,
|
|
684
|
-
onDragStart: I,
|
|
685
|
-
onDragOver: y,
|
|
686
|
-
onDragEnd: f,
|
|
687
|
-
onDragCancel: N,
|
|
688
|
-
children: [
|
|
689
|
-
/* @__PURE__ */ r("div", { className: k(ve[h], v), children: i.map((s) => {
|
|
690
|
-
const a = b(s.id), l = a.length === 0;
|
|
691
|
-
return /* @__PURE__ */ K(
|
|
692
|
-
"div",
|
|
693
|
-
{
|
|
694
|
-
className: k(
|
|
695
|
-
"flex flex-col rounded-xl border border-border/50 bg-muted/20 p-4 transition-colors duration-200",
|
|
696
|
-
h === "horizontal" && "min-w-[280px] w-[280px]",
|
|
697
|
-
m
|
|
698
|
-
),
|
|
699
|
-
children: [
|
|
700
|
-
/* @__PURE__ */ r("div", { className: "mb-3", children: g ? g(s, a.length) : /* @__PURE__ */ K("div", { className: "flex items-center justify-between", children: [
|
|
701
|
-
/* @__PURE__ */ r("h3", { className: "font-semibold text-sm text-foreground", children: s.title }),
|
|
702
|
-
/* @__PURE__ */ r("span", { className: "text-xs font-medium text-muted-foreground bg-background border px-2 py-0.5 rounded-full shadow-sm", children: a.length })
|
|
703
|
-
] }) }),
|
|
704
|
-
/* @__PURE__ */ r(
|
|
705
|
-
xe,
|
|
706
|
-
{
|
|
707
|
-
id: s.id,
|
|
708
|
-
isEmpty: l,
|
|
709
|
-
className: "flex-1",
|
|
710
|
-
children: /* @__PURE__ */ r(
|
|
711
|
-
$,
|
|
712
|
-
{
|
|
713
|
-
items: a.map((p) => p.id),
|
|
714
|
-
strategy: G,
|
|
715
|
-
children: /* @__PURE__ */ K("div", { className: "flex flex-col gap-2", children: [
|
|
716
|
-
a.map((p) => /* @__PURE__ */ r(
|
|
717
|
-
be,
|
|
718
|
-
{
|
|
719
|
-
id: p.id,
|
|
720
|
-
className: c,
|
|
721
|
-
children: d(p)
|
|
722
|
-
},
|
|
723
|
-
p.id
|
|
724
|
-
)),
|
|
725
|
-
l && x && /* @__PURE__ */ r("div", { className: "flex items-center justify-center py-8 text-muted-foreground text-sm", children: x(s) })
|
|
726
|
-
] })
|
|
727
|
-
}
|
|
728
|
-
)
|
|
729
|
-
}
|
|
730
|
-
)
|
|
731
|
-
]
|
|
732
|
-
},
|
|
733
|
-
s.id
|
|
734
|
-
);
|
|
735
|
-
}) }),
|
|
736
|
-
/* @__PURE__ */ r(P, { dropAnimation: Ce, modifiers: [J, q], children: w ? /* @__PURE__ */ r("div", { className: "rounded-xl border bg-card text-card-foreground p-3 shadow-2xl ring-2 ring-primary/30 cursor-grabbing", children: /* @__PURE__ */ r("div", { className: "min-w-0", children: d(w) }) }) : null })
|
|
737
|
-
]
|
|
738
|
-
}
|
|
739
|
-
);
|
|
740
|
-
}
|
|
741
|
-
export {
|
|
742
|
-
Ee as K,
|
|
743
|
-
Te as M,
|
|
744
|
-
oe as S,
|
|
745
|
-
Ae as T,
|
|
746
|
-
ke as a
|
|
747
|
-
};
|
|
748
|
-
//# sourceMappingURL=multi-container-BZia7HCU.js.map
|