@etus/ui 0.4.0-beta.2 → 0.4.0-beta.4
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/chunk-23BHD62H.js +288 -0
- package/dist/chunk-23BHD62H.js.map +1 -0
- package/dist/chunk-2D6OFVPN.js +145 -0
- package/dist/chunk-2D6OFVPN.js.map +1 -0
- package/dist/chunk-2HM5Z2YP.js +834 -0
- package/dist/chunk-2HM5Z2YP.js.map +1 -0
- package/dist/chunk-2IFYXJ3H.js +107 -0
- package/dist/chunk-2IFYXJ3H.js.map +1 -0
- package/dist/chunk-2UGDLAYC.js +71 -0
- package/dist/chunk-2UGDLAYC.js.map +1 -0
- package/dist/chunk-2VHARFMD.js +670 -0
- package/dist/chunk-2VHARFMD.js.map +1 -0
- package/dist/chunk-2XJWE2XR.js +36 -0
- package/dist/chunk-2XJWE2XR.js.map +1 -0
- package/dist/chunk-2Y7PQ6ZL.js +96 -0
- package/dist/chunk-2Y7PQ6ZL.js.map +1 -0
- package/dist/chunk-32IJQOUV.js +226 -0
- package/dist/chunk-32IJQOUV.js.map +1 -0
- package/dist/chunk-33JGPMUW.js +170 -0
- package/dist/chunk-33JGPMUW.js.map +1 -0
- package/dist/chunk-36XTKR3B.js +544 -0
- package/dist/chunk-36XTKR3B.js.map +1 -0
- package/dist/chunk-3L5G7VI2.js +203 -0
- package/dist/chunk-3L5G7VI2.js.map +1 -0
- package/dist/chunk-3MJNJKAF.js +264 -0
- package/dist/chunk-3MJNJKAF.js.map +1 -0
- package/dist/chunk-3NFQXZHO.js +199 -0
- package/dist/chunk-3NFQXZHO.js.map +1 -0
- package/dist/chunk-3RJEA2MM.js +560 -0
- package/dist/chunk-3RJEA2MM.js.map +1 -0
- package/dist/chunk-3WOGOTOV.js +152 -0
- package/dist/chunk-3WOGOTOV.js.map +1 -0
- package/dist/chunk-46ESMCEQ.js +80 -0
- package/dist/chunk-46ESMCEQ.js.map +1 -0
- package/dist/chunk-4GQN76L7.js +228 -0
- package/dist/chunk-4GQN76L7.js.map +1 -0
- package/dist/chunk-4MQNDQ4O.js +62 -0
- package/dist/chunk-4MQNDQ4O.js.map +1 -0
- package/dist/chunk-4RSHPKHB.js +268 -0
- package/dist/chunk-4RSHPKHB.js.map +1 -0
- package/dist/chunk-4Y72SPNL.js +283 -0
- package/dist/chunk-4Y72SPNL.js.map +1 -0
- package/dist/chunk-57KTYE5H.js +273 -0
- package/dist/chunk-57KTYE5H.js.map +1 -0
- package/dist/chunk-5J5OL4IV.js +529 -0
- package/dist/chunk-5J5OL4IV.js.map +1 -0
- package/dist/chunk-5KTMPLDK.js +251 -0
- package/dist/chunk-5KTMPLDK.js.map +1 -0
- package/dist/chunk-5XQIH6WM.js +204 -0
- package/dist/chunk-5XQIH6WM.js.map +1 -0
- package/dist/chunk-5YDFC74M.js +310 -0
- package/dist/chunk-5YDFC74M.js.map +1 -0
- package/dist/chunk-5ZEYTBTU.js +288 -0
- package/dist/chunk-5ZEYTBTU.js.map +1 -0
- package/dist/chunk-5ZKKXLPF.js +177 -0
- package/dist/chunk-5ZKKXLPF.js.map +1 -0
- package/dist/chunk-5ZWFIDO2.js +3 -0
- package/dist/chunk-5ZWFIDO2.js.map +1 -0
- package/dist/chunk-65YSTUD2.js +206 -0
- package/dist/chunk-65YSTUD2.js.map +1 -0
- package/dist/chunk-6GWO7JNP.js +438 -0
- package/dist/chunk-6GWO7JNP.js.map +1 -0
- package/dist/chunk-6SHOL6WR.js +163 -0
- package/dist/chunk-6SHOL6WR.js.map +1 -0
- package/dist/chunk-6SZRWNPT.js +67 -0
- package/dist/chunk-6SZRWNPT.js.map +1 -0
- package/dist/chunk-6VCJU6XD.js +19 -0
- package/dist/chunk-6VCJU6XD.js.map +1 -0
- package/dist/chunk-6XY7QYVR.js +812 -0
- package/dist/chunk-6XY7QYVR.js.map +1 -0
- package/dist/chunk-6Z73ZQOP.js +3 -0
- package/dist/chunk-6Z73ZQOP.js.map +1 -0
- package/dist/chunk-6ZAMTPGN.js +309 -0
- package/dist/chunk-6ZAMTPGN.js.map +1 -0
- package/dist/chunk-7I6KK6QE.js +411 -0
- package/dist/chunk-7I6KK6QE.js.map +1 -0
- package/dist/chunk-7RTHGI6E.js +154 -0
- package/dist/chunk-7RTHGI6E.js.map +1 -0
- package/dist/chunk-7Y2UQMX6.js +524 -0
- package/dist/chunk-7Y2UQMX6.js.map +1 -0
- package/dist/chunk-7ZJ32KRQ.js +100 -0
- package/dist/chunk-7ZJ32KRQ.js.map +1 -0
- package/dist/chunk-AB3S55W5.js +1208 -0
- package/dist/chunk-AB3S55W5.js.map +1 -0
- package/dist/chunk-AEE5GDNA.js +220 -0
- package/dist/chunk-AEE5GDNA.js.map +1 -0
- package/dist/chunk-AEHYYTFW.js +70 -0
- package/dist/chunk-AEHYYTFW.js.map +1 -0
- package/dist/chunk-AFCSDND5.js +58 -0
- package/dist/chunk-AFCSDND5.js.map +1 -0
- package/dist/chunk-AR3OXNPL.js +70 -0
- package/dist/chunk-AR3OXNPL.js.map +1 -0
- package/dist/chunk-ARNVOHVW.js +103 -0
- package/dist/chunk-ARNVOHVW.js.map +1 -0
- package/dist/chunk-ATIEGLR2.js +3 -0
- package/dist/chunk-ATIEGLR2.js.map +1 -0
- package/dist/chunk-AUCDXPWH.js +853 -0
- package/dist/chunk-AUCDXPWH.js.map +1 -0
- package/dist/chunk-AWYOWR5N.js +928 -0
- package/dist/chunk-AWYOWR5N.js.map +1 -0
- package/dist/chunk-AZANPNLR.js +134 -0
- package/dist/chunk-AZANPNLR.js.map +1 -0
- package/dist/chunk-B3BDIM4H.js +137 -0
- package/dist/chunk-B3BDIM4H.js.map +1 -0
- package/dist/chunk-B4ETIQOO.js +101 -0
- package/dist/chunk-B4ETIQOO.js.map +1 -0
- package/dist/chunk-B6KQKQ4S.js +774 -0
- package/dist/chunk-B6KQKQ4S.js.map +1 -0
- package/dist/chunk-B7ZLPQSO.js +181 -0
- package/dist/chunk-B7ZLPQSO.js.map +1 -0
- package/dist/chunk-BECPEVUL.js +115 -0
- package/dist/chunk-BECPEVUL.js.map +1 -0
- package/dist/chunk-BFBGESUI.js +217 -0
- package/dist/chunk-BFBGESUI.js.map +1 -0
- package/dist/chunk-BITATKTH.js +3 -0
- package/dist/chunk-BITATKTH.js.map +1 -0
- package/dist/chunk-BIUVOZQG.js +370 -0
- package/dist/chunk-BIUVOZQG.js.map +1 -0
- package/dist/chunk-BQMQULAC.js +37 -0
- package/dist/chunk-BQMQULAC.js.map +1 -0
- package/dist/chunk-BWGZKU3I.js +3 -0
- package/dist/chunk-BWGZKU3I.js.map +1 -0
- package/dist/chunk-CKD4UBV6.js +138 -0
- package/dist/chunk-CKD4UBV6.js.map +1 -0
- package/dist/chunk-CNRV2IGH.js +111 -0
- package/dist/chunk-CNRV2IGH.js.map +1 -0
- package/dist/chunk-CP2PEDG2.js +383 -0
- package/dist/chunk-CP2PEDG2.js.map +1 -0
- package/dist/chunk-CSXT7SKR.js +139 -0
- package/dist/chunk-CSXT7SKR.js.map +1 -0
- package/dist/chunk-CYIFWQ5Y.js +197 -0
- package/dist/chunk-CYIFWQ5Y.js.map +1 -0
- package/dist/chunk-D2V2HKLX.js +249 -0
- package/dist/chunk-D2V2HKLX.js.map +1 -0
- package/dist/chunk-D6TH3EGA.js +204 -0
- package/dist/chunk-D6TH3EGA.js.map +1 -0
- package/dist/chunk-DDM2I5C6.js +199 -0
- package/dist/chunk-DDM2I5C6.js.map +1 -0
- package/dist/chunk-DDR24GOP.js +182 -0
- package/dist/chunk-DDR24GOP.js.map +1 -0
- package/dist/chunk-DL7D5F7B.js +63 -0
- package/dist/chunk-DL7D5F7B.js.map +1 -0
- package/dist/chunk-DNAGXK2C.js +91 -0
- package/dist/chunk-DNAGXK2C.js.map +1 -0
- package/dist/chunk-DYDXGWH2.js +109 -0
- package/dist/chunk-DYDXGWH2.js.map +1 -0
- package/dist/chunk-E27SQ54A.js +122 -0
- package/dist/chunk-E27SQ54A.js.map +1 -0
- package/dist/chunk-EGYWK2XX.js +316 -0
- package/dist/chunk-EGYWK2XX.js.map +1 -0
- package/dist/chunk-ESLSPRYA.js +875 -0
- package/dist/chunk-ESLSPRYA.js.map +1 -0
- package/dist/chunk-EVUHEBWX.js +35 -0
- package/dist/chunk-EVUHEBWX.js.map +1 -0
- package/dist/chunk-F6ZKBK5B.js +265 -0
- package/dist/chunk-F6ZKBK5B.js.map +1 -0
- package/dist/chunk-F7XARQUW.js +82 -0
- package/dist/chunk-F7XARQUW.js.map +1 -0
- package/dist/chunk-FCSYPOHF.js +77 -0
- package/dist/chunk-FCSYPOHF.js.map +1 -0
- package/dist/chunk-FDES5YDF.js +159 -0
- package/dist/chunk-FDES5YDF.js.map +1 -0
- package/dist/chunk-FPCRGFNY.js +776 -0
- package/dist/chunk-FPCRGFNY.js.map +1 -0
- package/dist/chunk-FRDYXDAE.js +69 -0
- package/dist/chunk-FRDYXDAE.js.map +1 -0
- package/dist/chunk-FSMHI7DW.js +291 -0
- package/dist/chunk-FSMHI7DW.js.map +1 -0
- package/dist/chunk-FYJHWYPM.js +539 -0
- package/dist/chunk-FYJHWYPM.js.map +1 -0
- package/dist/chunk-G2V7D7VC.js +371 -0
- package/dist/chunk-G2V7D7VC.js.map +1 -0
- package/dist/chunk-G5TWK7L3.js +667 -0
- package/dist/chunk-G5TWK7L3.js.map +1 -0
- package/dist/chunk-G6SIIN2B.js +3 -0
- package/dist/chunk-G6SIIN2B.js.map +1 -0
- package/dist/chunk-GAP3OZR7.js +223 -0
- package/dist/chunk-GAP3OZR7.js.map +1 -0
- package/dist/chunk-GKMR5SVC.js +97 -0
- package/dist/chunk-GKMR5SVC.js.map +1 -0
- package/dist/chunk-GL56KIFL.js +79 -0
- package/dist/chunk-GL56KIFL.js.map +1 -0
- package/dist/chunk-GPW57XOW.js +80 -0
- package/dist/chunk-GPW57XOW.js.map +1 -0
- package/dist/chunk-H4ANCFZG.js +233 -0
- package/dist/chunk-H4ANCFZG.js.map +1 -0
- package/dist/chunk-HAEZLC7V.js +122 -0
- package/dist/chunk-HAEZLC7V.js.map +1 -0
- package/dist/chunk-HKXQLWGR.js +335 -0
- package/dist/chunk-HKXQLWGR.js.map +1 -0
- package/dist/chunk-HRNDJU7D.js +5 -5
- package/dist/chunk-HRNDJU7D.js.map +1 -1
- package/dist/chunk-HXHB2CK5.js +108 -0
- package/dist/chunk-HXHB2CK5.js.map +1 -0
- package/dist/chunk-I7ZLEC7Y.js +128 -0
- package/dist/chunk-I7ZLEC7Y.js.map +1 -0
- package/dist/chunk-IBVCSZCH.js +142 -0
- package/dist/chunk-IBVCSZCH.js.map +1 -0
- package/dist/chunk-ICAQYWCX.js +153 -0
- package/dist/chunk-ICAQYWCX.js.map +1 -0
- package/dist/chunk-ICM45N2K.js +225 -0
- package/dist/chunk-ICM45N2K.js.map +1 -0
- package/dist/chunk-IFHF4UES.js +387 -0
- package/dist/chunk-IFHF4UES.js.map +1 -0
- package/dist/chunk-ILAV2AZ4.js +226 -0
- package/dist/chunk-ILAV2AZ4.js.map +1 -0
- package/dist/chunk-IRIIK3BU.js +215 -0
- package/dist/chunk-IRIIK3BU.js.map +1 -0
- package/dist/chunk-IRKDMISK.js +62 -0
- package/dist/chunk-IRKDMISK.js.map +1 -0
- package/dist/chunk-IXJHHR3Y.js +3 -0
- package/dist/chunk-IXJHHR3Y.js.map +1 -0
- package/dist/chunk-J62TFQHR.js +174 -0
- package/dist/chunk-J62TFQHR.js.map +1 -0
- package/dist/chunk-JDTAG7KZ.js +33 -0
- package/dist/chunk-JDTAG7KZ.js.map +1 -0
- package/dist/chunk-JKYB5QAP.js +1070 -0
- package/dist/chunk-JKYB5QAP.js.map +1 -0
- package/dist/chunk-JMZ4CO6R.js +159 -0
- package/dist/chunk-JMZ4CO6R.js.map +1 -0
- package/dist/chunk-JPA2VQRW.js +119 -0
- package/dist/chunk-JPA2VQRW.js.map +1 -0
- package/dist/chunk-JWXK4TMX.js +106 -0
- package/dist/chunk-JWXK4TMX.js.map +1 -0
- package/dist/chunk-K45MMHLA.js +258 -0
- package/dist/chunk-K45MMHLA.js.map +1 -0
- package/dist/chunk-KC6CHPT3.js +995 -0
- package/dist/chunk-KC6CHPT3.js.map +1 -0
- package/dist/chunk-KPNNSUXM.js +130 -0
- package/dist/chunk-KPNNSUXM.js.map +1 -0
- package/dist/chunk-KR3IVNQH.js +402 -0
- package/dist/chunk-KR3IVNQH.js.map +1 -0
- package/dist/chunk-KRHL3YH2.js +3 -0
- package/dist/chunk-KRHL3YH2.js.map +1 -0
- package/dist/chunk-L2XR5IFJ.js +103 -0
- package/dist/chunk-L2XR5IFJ.js.map +1 -0
- package/dist/chunk-LATTRPLQ.js +286 -0
- package/dist/chunk-LATTRPLQ.js.map +1 -0
- package/dist/chunk-LFN7UHDT.js +122 -0
- package/dist/chunk-LFN7UHDT.js.map +1 -0
- package/dist/chunk-LNY2EXOV.js +349 -0
- package/dist/chunk-LNY2EXOV.js.map +1 -0
- package/dist/chunk-LQVQ7SHG.js +226 -0
- package/dist/chunk-LQVQ7SHG.js.map +1 -0
- package/dist/chunk-MK6ID2HI.js +532 -0
- package/dist/chunk-MK6ID2HI.js.map +1 -0
- package/dist/chunk-MQ2446N7.js +216 -0
- package/dist/chunk-MQ2446N7.js.map +1 -0
- package/dist/chunk-MVOENLOZ.js +3 -0
- package/dist/chunk-MVOENLOZ.js.map +1 -0
- package/dist/chunk-N23L6UDK.js +108 -0
- package/dist/chunk-N23L6UDK.js.map +1 -0
- package/dist/chunk-N3I6GA4I.js +137 -0
- package/dist/chunk-N3I6GA4I.js.map +1 -0
- package/dist/chunk-N4UTBJRY.js +72 -0
- package/dist/chunk-N4UTBJRY.js.map +1 -0
- package/dist/chunk-NCLOPI6U.js +347 -0
- package/dist/chunk-NCLOPI6U.js.map +1 -0
- package/dist/chunk-NGR4HFVA.js +136 -0
- package/dist/chunk-NGR4HFVA.js.map +1 -0
- package/dist/chunk-NK5Q2YRM.js +70 -0
- package/dist/chunk-NK5Q2YRM.js.map +1 -0
- package/dist/chunk-NWVYQYKK.js +75 -0
- package/dist/chunk-NWVYQYKK.js.map +1 -0
- package/dist/chunk-NXQ25PKF.js +318 -0
- package/dist/chunk-NXQ25PKF.js.map +1 -0
- package/dist/chunk-OEXQ2MOY.js +338 -0
- package/dist/chunk-OEXQ2MOY.js.map +1 -0
- package/dist/chunk-ONQCNOLU.js +233 -0
- package/dist/chunk-ONQCNOLU.js.map +1 -0
- package/dist/chunk-ONTUN5XH.js +57 -0
- package/dist/chunk-ONTUN5XH.js.map +1 -0
- package/dist/chunk-OQCGQG47.js +83 -0
- package/dist/chunk-OQCGQG47.js.map +1 -0
- package/dist/chunk-OWIFNJXZ.js +167 -0
- package/dist/chunk-OWIFNJXZ.js.map +1 -0
- package/dist/chunk-OWOVCGUZ.js +1062 -0
- package/dist/chunk-OWOVCGUZ.js.map +1 -0
- package/dist/chunk-PFVT27B5.js +92 -0
- package/dist/chunk-PFVT27B5.js.map +1 -0
- package/dist/chunk-PK5O62XD.js +58 -0
- package/dist/chunk-PK5O62XD.js.map +1 -0
- package/dist/chunk-PLLJNHWU.js +175 -0
- package/dist/chunk-PLLJNHWU.js.map +1 -0
- package/dist/chunk-PWCMCMDN.js +67 -0
- package/dist/chunk-PWCMCMDN.js.map +1 -0
- package/dist/chunk-Q43KJP5A.js +294 -0
- package/dist/chunk-Q43KJP5A.js.map +1 -0
- package/dist/chunk-QHKOBGLW.js +119 -0
- package/dist/chunk-QHKOBGLW.js.map +1 -0
- package/dist/chunk-QIETN4UU.js +924 -0
- package/dist/chunk-QIETN4UU.js.map +1 -0
- package/dist/chunk-QUENPT24.js +100 -0
- package/dist/chunk-QUENPT24.js.map +1 -0
- package/dist/chunk-QZWKXUZP.js +147 -0
- package/dist/chunk-QZWKXUZP.js.map +1 -0
- package/dist/chunk-R4UOT76L.js +342 -0
- package/dist/chunk-R4UOT76L.js.map +1 -0
- package/dist/chunk-RVUO7SDG.js +460 -0
- package/dist/chunk-RVUO7SDG.js.map +1 -0
- package/dist/chunk-S6ORCWM2.js +205 -0
- package/dist/chunk-S6ORCWM2.js.map +1 -0
- package/dist/chunk-SCGKQ5RE.js +55 -0
- package/dist/chunk-SCGKQ5RE.js.map +1 -0
- package/dist/chunk-SHS6EGWS.js +226 -0
- package/dist/chunk-SHS6EGWS.js.map +1 -0
- package/dist/chunk-SJSYKUCL.js +297 -0
- package/dist/chunk-SJSYKUCL.js.map +1 -0
- package/dist/chunk-SM4AZOEP.js +222 -0
- package/dist/chunk-SM4AZOEP.js.map +1 -0
- package/dist/chunk-SXJMERQL.js +40 -0
- package/dist/chunk-SXJMERQL.js.map +1 -0
- package/dist/chunk-TAZPML2P.js +198 -0
- package/dist/chunk-TAZPML2P.js.map +1 -0
- package/dist/chunk-TNROOKX3.js +352 -0
- package/dist/chunk-TNROOKX3.js.map +1 -0
- package/dist/chunk-TQBUBD3E.js +100 -0
- package/dist/chunk-TQBUBD3E.js.map +1 -0
- package/dist/chunk-U4H3XHSI.js +305 -0
- package/dist/chunk-U4H3XHSI.js.map +1 -0
- package/dist/chunk-U6EOAIPK.js +67 -0
- package/dist/chunk-U6EOAIPK.js.map +1 -0
- package/dist/chunk-U74PNG4S.js +167 -0
- package/dist/chunk-U74PNG4S.js.map +1 -0
- package/dist/chunk-U77MCUVE.js +3 -0
- package/dist/chunk-U77MCUVE.js.map +1 -0
- package/dist/chunk-UA3OQAHJ.js +140 -0
- package/dist/chunk-UA3OQAHJ.js.map +1 -0
- package/dist/chunk-UFRMZ3M6.js +284 -0
- package/dist/chunk-UFRMZ3M6.js.map +1 -0
- package/dist/chunk-UOHVT5KN.js +3 -0
- package/dist/chunk-UOHVT5KN.js.map +1 -0
- package/dist/chunk-UP2VWCW5.js +2 -7
- package/dist/chunk-UP2VWCW5.js.map +1 -1
- package/dist/chunk-V7WEN4SD.js +444 -0
- package/dist/chunk-V7WEN4SD.js.map +1 -0
- package/dist/chunk-V7XHE25E.js +354 -0
- package/dist/chunk-V7XHE25E.js.map +1 -0
- package/dist/chunk-VFALJSXB.js +373 -0
- package/dist/chunk-VFALJSXB.js.map +1 -0
- package/dist/chunk-VKDN66VL.js +129 -0
- package/dist/chunk-VKDN66VL.js.map +1 -0
- package/dist/chunk-VT4IMHGE.js +292 -0
- package/dist/chunk-VT4IMHGE.js.map +1 -0
- package/dist/chunk-VWW3DJKI.js +53 -0
- package/dist/chunk-VWW3DJKI.js.map +1 -0
- package/dist/chunk-VZZ3HP7G.js +230 -0
- package/dist/chunk-VZZ3HP7G.js.map +1 -0
- package/dist/chunk-W3QUVCRK.js +54 -0
- package/dist/chunk-W3QUVCRK.js.map +1 -0
- package/dist/chunk-W4NC5CU5.js +175 -0
- package/dist/chunk-W4NC5CU5.js.map +1 -0
- package/dist/chunk-WBE6VQOO.js +235 -0
- package/dist/chunk-WBE6VQOO.js.map +1 -0
- package/dist/chunk-WG5IYG7X.js +3 -0
- package/dist/chunk-WG5IYG7X.js.map +1 -0
- package/dist/chunk-WH7Y2MAY.js +24 -0
- package/dist/chunk-WH7Y2MAY.js.map +1 -0
- package/dist/chunk-X4YUWX7H.js +146 -0
- package/dist/chunk-X4YUWX7H.js.map +1 -0
- package/dist/chunk-XETKCF73.js +74 -0
- package/dist/chunk-XETKCF73.js.map +1 -0
- package/dist/chunk-XLTSCY22.js +93 -0
- package/dist/chunk-XLTSCY22.js.map +1 -0
- package/dist/chunk-XOGMDABS.js +152 -0
- package/dist/chunk-XOGMDABS.js.map +1 -0
- package/dist/chunk-XRMKL43Y.js +90 -0
- package/dist/chunk-XRMKL43Y.js.map +1 -0
- package/dist/chunk-XV6NXXXP.js +206 -0
- package/dist/chunk-XV6NXXXP.js.map +1 -0
- package/dist/chunk-XXFKDEFH.js +143 -0
- package/dist/chunk-XXFKDEFH.js.map +1 -0
- package/dist/chunk-Y3BOERVB.js +482 -0
- package/dist/chunk-Y3BOERVB.js.map +1 -0
- package/dist/chunk-Y555RCRZ.js +26 -0
- package/dist/chunk-Y555RCRZ.js.map +1 -0
- package/dist/chunk-Y5GO2F6P.js +188 -0
- package/dist/chunk-Y5GO2F6P.js.map +1 -0
- package/dist/chunk-Y7UFBSAD.js +515 -0
- package/dist/chunk-Y7UFBSAD.js.map +1 -0
- package/dist/chunk-YCZ6M6EF.js +912 -0
- package/dist/chunk-YCZ6M6EF.js.map +1 -0
- package/dist/chunk-YMYXWHDU.js +96 -0
- package/dist/chunk-YMYXWHDU.js.map +1 -0
- package/dist/chunk-YP2ATSXP.js +452 -0
- package/dist/chunk-YP2ATSXP.js.map +1 -0
- package/dist/chunk-YZY35OHQ.js +279 -0
- package/dist/chunk-YZY35OHQ.js.map +1 -0
- package/dist/chunk-Z3FL7LEK.js +401 -0
- package/dist/chunk-Z3FL7LEK.js.map +1 -0
- package/dist/chunk-ZARZYMBM.js +95 -0
- package/dist/chunk-ZARZYMBM.js.map +1 -0
- package/dist/chunk-ZKK7L7H7.js +78 -0
- package/dist/chunk-ZKK7L7H7.js.map +1 -0
- package/dist/chunk-ZO2EKJZM.js +4505 -0
- package/dist/chunk-ZO2EKJZM.js.map +1 -0
- package/dist/chunk-ZPCELVWJ.js +127 -0
- package/dist/chunk-ZPCELVWJ.js.map +1 -0
- package/dist/chunk-ZS2WS5NJ.js +655 -0
- package/dist/chunk-ZS2WS5NJ.js.map +1 -0
- package/dist/chunk-ZUFM33AV.js +113 -0
- package/dist/chunk-ZUFM33AV.js.map +1 -0
- package/dist/components/advanced/AssetManager/index.js +5 -0
- package/dist/components/advanced/AssetManager/index.js.map +1 -0
- package/dist/components/advanced/Calendar/index.js +10 -0
- package/dist/components/advanced/Calendar/index.js.map +1 -0
- package/dist/components/advanced/Command/index.js +6 -0
- package/dist/components/advanced/Command/index.js.map +1 -0
- package/dist/components/advanced/DragAndDrop/index.js +5 -0
- package/dist/components/advanced/DragAndDrop/index.js.map +1 -0
- package/dist/components/advanced/ErrorBoundary/index.js +5 -0
- package/dist/components/advanced/ErrorBoundary/index.js.map +1 -0
- package/dist/components/advanced/EventCalendar/index.js +10 -0
- package/dist/components/advanced/EventCalendar/index.js.map +1 -0
- package/dist/components/advanced/FileDropzone/index.js +5 -0
- package/dist/components/advanced/FileDropzone/index.js.map +1 -0
- package/dist/components/advanced/FilePreview/index.js +5 -0
- package/dist/components/advanced/FilePreview/index.js.map +1 -0
- package/dist/components/advanced/FileUpload/index.js +5 -0
- package/dist/components/advanced/FileUpload/index.js.map +1 -0
- package/dist/components/advanced/FilterBuilder/index.js +13 -0
- package/dist/components/advanced/FilterBuilder/index.js.map +1 -0
- package/dist/components/advanced/MarkdownEditor/index.js +9 -0
- package/dist/components/advanced/MarkdownEditor/index.js.map +1 -0
- package/dist/components/advanced/Portal/index.js +4 -0
- package/dist/components/advanced/Portal/index.js.map +1 -0
- package/dist/components/advanced/ReportBuilder/index.js +11 -0
- package/dist/components/advanced/ReportBuilder/index.js.map +1 -0
- package/dist/components/advanced/RichTextEditor/index.js +7 -0
- package/dist/components/advanced/RichTextEditor/index.js.map +1 -0
- package/dist/components/advanced/Search/index.js +5 -0
- package/dist/components/advanced/Search/index.js.map +1 -0
- package/dist/components/advanced/SortableList/index.js +5 -0
- package/dist/components/advanced/SortableList/index.js.map +1 -0
- package/dist/components/advanced/VersionControl/index.js +5 -0
- package/dist/components/advanced/VersionControl/index.js.map +1 -0
- package/dist/components/advanced/index.js +36 -0
- package/dist/components/advanced/index.js.map +1 -0
- package/dist/components/data-display/Accordion/index.js +5 -0
- package/dist/components/data-display/Accordion/index.js.map +1 -0
- package/dist/components/data-display/AreaChart/index.js +6 -0
- package/dist/components/data-display/AreaChart/index.js.map +1 -0
- package/dist/components/data-display/Banner/index.js +5 -0
- package/dist/components/data-display/Banner/index.js.map +1 -0
- package/dist/components/data-display/BarChart/index.js +6 -0
- package/dist/components/data-display/BarChart/index.js.map +1 -0
- package/dist/components/data-display/BarList/index.js +5 -0
- package/dist/components/data-display/BarList/index.js.map +1 -0
- package/dist/components/data-display/Callout/index.js +5 -0
- package/dist/components/data-display/Callout/index.js.map +1 -0
- package/dist/components/data-display/Carousel/index.js +10 -0
- package/dist/components/data-display/Carousel/index.js.map +1 -0
- package/dist/components/data-display/CategoryBar/index.js +6 -0
- package/dist/components/data-display/CategoryBar/index.js.map +1 -0
- package/dist/components/data-display/Chart/index.js +5 -0
- package/dist/components/data-display/Chart/index.js.map +1 -0
- package/dist/components/data-display/ChartCard/index.js +11 -0
- package/dist/components/data-display/ChartCard/index.js.map +1 -0
- package/dist/components/data-display/ChartLegend/index.js +6 -0
- package/dist/components/data-display/ChartLegend/index.js.map +1 -0
- package/dist/components/data-display/ComboChart/index.js +6 -0
- package/dist/components/data-display/ComboChart/index.js.map +1 -0
- package/dist/components/data-display/DashboardCard/index.js +6 -0
- package/dist/components/data-display/DashboardCard/index.js.map +1 -0
- package/dist/components/data-display/DashboardFilterbar/index.js +111 -0
- package/dist/components/data-display/DashboardFilterbar/index.js.map +1 -0
- package/dist/components/data-display/DataTable/FilterBuilder/index.js +13 -0
- package/dist/components/data-display/DataTable/FilterBuilder/index.js.map +1 -0
- package/dist/components/data-display/DataTable/index.js +22 -0
- package/dist/components/data-display/DataTable/index.js.map +1 -0
- package/dist/components/data-display/DeltaBar/index.js +6 -0
- package/dist/components/data-display/DeltaBar/index.js.map +1 -0
- package/dist/components/data-display/EmptyState/index.js +5 -0
- package/dist/components/data-display/EmptyState/index.js.map +1 -0
- package/dist/components/data-display/Feed/index.js +5 -0
- package/dist/components/data-display/Feed/index.js.map +1 -0
- package/dist/components/data-display/FunnelChart/index.js +6 -0
- package/dist/components/data-display/FunnelChart/index.js.map +1 -0
- package/dist/components/data-display/GaugeChart/index.js +5 -0
- package/dist/components/data-display/GaugeChart/index.js.map +1 -0
- package/dist/components/data-display/Heatmap/index.js +6 -0
- package/dist/components/data-display/Heatmap/index.js.map +1 -0
- package/dist/components/data-display/HoverCard/index.js +5 -0
- package/dist/components/data-display/HoverCard/index.js.map +1 -0
- package/dist/components/data-display/ImageGallery/index.js +6 -0
- package/dist/components/data-display/ImageGallery/index.js.map +1 -0
- package/dist/components/data-display/Item/index.js +6 -0
- package/dist/components/data-display/Item/index.js.map +1 -0
- package/dist/components/data-display/KPICard/index.js +12 -0
- package/dist/components/data-display/KPICard/index.js.map +1 -0
- package/dist/components/data-display/Lightbox/index.js +5 -0
- package/dist/components/data-display/Lightbox/index.js.map +1 -0
- package/dist/components/data-display/LineChart/index.js +6 -0
- package/dist/components/data-display/LineChart/index.js.map +1 -0
- package/dist/components/data-display/List/index.js +10 -0
- package/dist/components/data-display/List/index.js.map +1 -0
- package/dist/components/data-display/MarkerBar/index.js +6 -0
- package/dist/components/data-display/MarkerBar/index.js.map +1 -0
- package/dist/components/data-display/PieChart/index.js +6 -0
- package/dist/components/data-display/PieChart/index.js.map +1 -0
- package/dist/components/data-display/RadarChart/index.js +6 -0
- package/dist/components/data-display/RadarChart/index.js.map +1 -0
- package/dist/components/data-display/RadialChart/index.js +6 -0
- package/dist/components/data-display/RadialChart/index.js.map +1 -0
- package/dist/components/data-display/ScatterChart/index.js +6 -0
- package/dist/components/data-display/ScatterChart/index.js.map +1 -0
- package/dist/components/data-display/SingleStat/index.js +6 -0
- package/dist/components/data-display/SingleStat/index.js.map +1 -0
- package/dist/components/data-display/Sparkline/index.js +5 -0
- package/dist/components/data-display/Sparkline/index.js.map +1 -0
- package/dist/components/data-display/Table/index.js +5 -0
- package/dist/components/data-display/Table/index.js.map +1 -0
- package/dist/components/data-display/Timeline/index.js +5 -0
- package/dist/components/data-display/Timeline/index.js.map +1 -0
- package/dist/components/data-display/Tracker/index.js +6 -0
- package/dist/components/data-display/Tracker/index.js.map +1 -0
- package/dist/components/data-display/VirtualTable/index.js +8 -0
- package/dist/components/data-display/VirtualTable/index.js.map +1 -0
- package/dist/components/data-display/index.js +63 -0
- package/dist/components/data-display/index.js.map +1 -0
- package/dist/components/feedback/Alert/index.js +5 -0
- package/dist/components/feedback/Alert/index.js.map +1 -0
- package/dist/components/feedback/AlertDialog/index.js +10 -0
- package/dist/components/feedback/AlertDialog/index.js.map +1 -0
- package/dist/components/feedback/ConfirmModal/index.js +11 -0
- package/dist/components/feedback/ConfirmModal/index.js.map +1 -0
- package/dist/components/feedback/Dialog/index.js +5 -0
- package/dist/components/feedback/Dialog/index.js.map +1 -0
- package/dist/components/feedback/ErrorPage/index.js +5 -0
- package/dist/components/feedback/ErrorPage/index.js.map +1 -0
- package/dist/components/feedback/FocusTrap/index.js +5 -0
- package/dist/components/feedback/FocusTrap/index.js.map +1 -0
- package/dist/components/feedback/Message/index.js +5 -0
- package/dist/components/feedback/Message/index.js.map +1 -0
- package/dist/components/feedback/Modal/index.js +5 -0
- package/dist/components/feedback/Modal/index.js.map +1 -0
- package/dist/components/feedback/Notification/index.js +7 -0
- package/dist/components/feedback/Notification/index.js.map +1 -0
- package/dist/components/feedback/Popover/index.js +5 -0
- package/dist/components/feedback/Popover/index.js.map +1 -0
- package/dist/components/feedback/Toast/index.js +4 -0
- package/dist/components/feedback/Toast/index.js.map +1 -0
- package/dist/components/feedback/Tooltip/index.js +5 -0
- package/dist/components/feedback/Tooltip/index.js.map +1 -0
- package/dist/components/feedback/UpdatesWidget/index.js +5 -0
- package/dist/components/feedback/UpdatesWidget/index.js.map +1 -0
- package/dist/components/feedback/index.js +23 -0
- package/dist/components/feedback/index.js.map +1 -0
- package/dist/components/forms/Autocomplete/index.js +5 -0
- package/dist/components/forms/Autocomplete/index.js.map +1 -0
- package/dist/components/forms/Checkbox/index.js +5 -0
- package/dist/components/forms/Checkbox/index.js.map +1 -0
- package/dist/components/forms/CheckboxGroup/index.js +6 -0
- package/dist/components/forms/CheckboxGroup/index.js.map +1 -0
- package/dist/components/forms/ColorPicker/index.js +6 -0
- package/dist/components/forms/ColorPicker/index.js.map +1 -0
- package/dist/components/forms/Combobox/index.js +5 -0
- package/dist/components/forms/Combobox/index.js.map +1 -0
- package/dist/components/forms/DatePicker/index.js +13 -0
- package/dist/components/forms/DatePicker/index.js.map +1 -0
- package/dist/components/forms/DateRangePicker/index.js +13 -0
- package/dist/components/forms/DateRangePicker/index.js.map +1 -0
- package/dist/components/forms/EmailInput/index.js +7 -0
- package/dist/components/forms/EmailInput/index.js.map +1 -0
- package/dist/components/forms/ErrorMessage/index.js +5 -0
- package/dist/components/forms/ErrorMessage/index.js.map +1 -0
- package/dist/components/forms/Field/index.js +7 -0
- package/dist/components/forms/Field/index.js.map +1 -0
- package/dist/components/forms/FloatLabel/index.js +5 -0
- package/dist/components/forms/FloatLabel/index.js.map +1 -0
- package/dist/components/forms/Form/index.js +6 -0
- package/dist/components/forms/Form/index.js.map +1 -0
- package/dist/components/forms/FormValidation/index.js +5 -0
- package/dist/components/forms/FormValidation/index.js.map +1 -0
- package/dist/components/forms/HelpText/index.js +5 -0
- package/dist/components/forms/HelpText/index.js.map +1 -0
- package/dist/components/forms/IftaLabel/index.js +5 -0
- package/dist/components/forms/IftaLabel/index.js.map +1 -0
- package/dist/components/forms/InputGroup/index.js +13 -0
- package/dist/components/forms/InputGroup/index.js.map +1 -0
- package/dist/components/forms/InputOTP/index.js +5 -0
- package/dist/components/forms/InputOTP/index.js.map +1 -0
- package/dist/components/forms/InputOTPField/index.js +9 -0
- package/dist/components/forms/InputOTPField/index.js.map +1 -0
- package/dist/components/forms/MultiSelect/index.js +5 -0
- package/dist/components/forms/MultiSelect/index.js.map +1 -0
- package/dist/components/forms/NativeSelect/index.js +5 -0
- package/dist/components/forms/NativeSelect/index.js.map +1 -0
- package/dist/components/forms/NumberInput/index.js +6 -0
- package/dist/components/forms/NumberInput/index.js.map +1 -0
- package/dist/components/forms/PasswordInput/index.js +7 -0
- package/dist/components/forms/PasswordInput/index.js.map +1 -0
- package/dist/components/forms/PaymentInput/index.js +5 -0
- package/dist/components/forms/PaymentInput/index.js.map +1 -0
- package/dist/components/forms/PhoneInput/index.js +5 -0
- package/dist/components/forms/PhoneInput/index.js.map +1 -0
- package/dist/components/forms/RadioButton/index.js +6 -0
- package/dist/components/forms/RadioButton/index.js.map +1 -0
- package/dist/components/forms/RadioCardGroup/index.js +5 -0
- package/dist/components/forms/RadioCardGroup/index.js.map +1 -0
- package/dist/components/forms/RadioGroup/index.js +6 -0
- package/dist/components/forms/RadioGroup/index.js.map +1 -0
- package/dist/components/forms/Rating/index.js +5 -0
- package/dist/components/forms/Rating/index.js.map +1 -0
- package/dist/components/forms/SearchInput/index.js +7 -0
- package/dist/components/forms/SearchInput/index.js.map +1 -0
- package/dist/components/forms/Select/index.js +5 -0
- package/dist/components/forms/Select/index.js.map +1 -0
- package/dist/components/forms/Slider/index.js +5 -0
- package/dist/components/forms/Slider/index.js.map +1 -0
- package/dist/components/forms/SuccessMessage/index.js +5 -0
- package/dist/components/forms/SuccessMessage/index.js.map +1 -0
- package/dist/components/forms/Switch/index.js +5 -0
- package/dist/components/forms/Switch/index.js.map +1 -0
- package/dist/components/forms/TagsInput/index.js +8 -0
- package/dist/components/forms/TagsInput/index.js.map +1 -0
- package/dist/components/forms/TextInput/index.js +6 -0
- package/dist/components/forms/TextInput/index.js.map +1 -0
- package/dist/components/forms/Textarea/index.js +5 -0
- package/dist/components/forms/Textarea/index.js.map +1 -0
- package/dist/components/forms/TextareaField/index.js +9 -0
- package/dist/components/forms/TextareaField/index.js.map +1 -0
- package/dist/components/forms/TimePicker/index.js +7 -0
- package/dist/components/forms/TimePicker/index.js.map +1 -0
- package/dist/components/forms/ToggleGroup/index.js +6 -0
- package/dist/components/forms/ToggleGroup/index.js.map +1 -0
- package/dist/components/forms/URLInput/index.js +7 -0
- package/dist/components/forms/URLInput/index.js.map +1 -0
- package/dist/components/forms/index.js +58 -0
- package/dist/components/forms/index.js.map +1 -0
- package/dist/components/index.js +201 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/layout/Card/index.js +5 -0
- package/dist/components/layout/Card/index.js.map +1 -0
- package/dist/components/layout/Collapsible/index.js +5 -0
- package/dist/components/layout/Collapsible/index.js.map +1 -0
- package/dist/components/layout/Container/index.js +5 -0
- package/dist/components/layout/Container/index.js.map +1 -0
- package/dist/components/layout/Flex/index.js +5 -0
- package/dist/components/layout/Flex/index.js.map +1 -0
- package/dist/components/layout/Grid/index.js +5 -0
- package/dist/components/layout/Grid/index.js.map +1 -0
- package/dist/components/layout/Panel/index.js +5 -0
- package/dist/components/layout/Panel/index.js.map +1 -0
- package/dist/components/layout/ResizablePanels/index.js +5 -0
- package/dist/components/layout/ResizablePanels/index.js.map +1 -0
- package/dist/components/layout/ResponsiveContainer/index.js +5 -0
- package/dist/components/layout/ResponsiveContainer/index.js.map +1 -0
- package/dist/components/layout/ScrollArea/index.js +5 -0
- package/dist/components/layout/ScrollArea/index.js.map +1 -0
- package/dist/components/layout/Section/index.js +5 -0
- package/dist/components/layout/Section/index.js.map +1 -0
- package/dist/components/layout/Sheet/index.js +5 -0
- package/dist/components/layout/Sheet/index.js.map +1 -0
- package/dist/components/layout/Stack/index.js +5 -0
- package/dist/components/layout/Stack/index.js.map +1 -0
- package/dist/components/layout/index.js +17 -0
- package/dist/components/layout/index.js.map +1 -0
- package/dist/components/navigation/AccountSwitch/index.js +10 -0
- package/dist/components/navigation/AccountSwitch/index.js.map +1 -0
- package/dist/components/navigation/Breadcrumb/index.js +5 -0
- package/dist/components/navigation/Breadcrumb/index.js.map +1 -0
- package/dist/components/navigation/ContextMenu/index.js +5 -0
- package/dist/components/navigation/ContextMenu/index.js.map +1 -0
- package/dist/components/navigation/Drawer/index.js +5 -0
- package/dist/components/navigation/Drawer/index.js.map +1 -0
- package/dist/components/navigation/DropdownMenu/index.js +5 -0
- package/dist/components/navigation/DropdownMenu/index.js.map +1 -0
- package/dist/components/navigation/FileTree/index.js +5 -0
- package/dist/components/navigation/FileTree/index.js.map +1 -0
- package/dist/components/navigation/Header/index.js +5 -0
- package/dist/components/navigation/Header/index.js.map +1 -0
- package/dist/components/navigation/Menu/index.js +5 -0
- package/dist/components/navigation/Menu/index.js.map +1 -0
- package/dist/components/navigation/Menubar/index.js +5 -0
- package/dist/components/navigation/Menubar/index.js.map +1 -0
- package/dist/components/navigation/MobileSidebar/index.js +190 -0
- package/dist/components/navigation/MobileSidebar/index.js.map +1 -0
- package/dist/components/navigation/Navbar/index.js +5 -0
- package/dist/components/navigation/Navbar/index.js.map +1 -0
- package/dist/components/navigation/NavigationMenu/index.js +5 -0
- package/dist/components/navigation/NavigationMenu/index.js.map +1 -0
- package/dist/components/navigation/Pagination/index.js +10 -0
- package/dist/components/navigation/Pagination/index.js.map +1 -0
- package/dist/components/navigation/Sidebar/index.js +16 -0
- package/dist/components/navigation/Sidebar/index.js.map +1 -0
- package/dist/components/navigation/SkipLinks/index.js +5 -0
- package/dist/components/navigation/SkipLinks/index.js.map +1 -0
- package/dist/components/navigation/SpeedDial/index.js +6 -0
- package/dist/components/navigation/SpeedDial/index.js.map +1 -0
- package/dist/components/navigation/TabNavigation/index.js +5 -0
- package/dist/components/navigation/TabNavigation/index.js.map +1 -0
- package/dist/components/navigation/TabPanel/index.js +5 -0
- package/dist/components/navigation/TabPanel/index.js.map +1 -0
- package/dist/components/navigation/Tabs/index.js +5 -0
- package/dist/components/navigation/Tabs/index.js.map +1 -0
- package/dist/components/navigation/Toolbar/index.js +5 -0
- package/dist/components/navigation/Toolbar/index.js.map +1 -0
- package/dist/components/navigation/Topbar/index.js +5 -0
- package/dist/components/navigation/Topbar/index.js.map +1 -0
- package/dist/components/navigation/UserProfileDropdown/index.js +224 -0
- package/dist/components/navigation/UserProfileDropdown/index.js.map +1 -0
- package/dist/components/navigation/WorkspaceDropdown/index.js +192 -0
- package/dist/components/navigation/WorkspaceDropdown/index.js.map +1 -0
- package/dist/components/navigation/index.js +37 -0
- package/dist/components/navigation/index.js.map +1 -0
- package/dist/components/primitives/ArrowAnimated/index.js +92 -0
- package/dist/components/primitives/ArrowAnimated/index.js.map +1 -0
- package/dist/components/primitives/AspectRatio/index.js +4 -0
- package/dist/components/primitives/AspectRatio/index.js.map +1 -0
- package/dist/components/primitives/Avatar/index.js +6 -0
- package/dist/components/primitives/Avatar/index.js.map +1 -0
- package/dist/components/primitives/Badge/index.js +7 -0
- package/dist/components/primitives/Badge/index.js.map +1 -0
- package/dist/components/primitives/Button/index.js +9 -0
- package/dist/components/primitives/Button/index.js.map +1 -0
- package/dist/components/primitives/ButtonGroup/index.js +7 -0
- package/dist/components/primitives/ButtonGroup/index.js.map +1 -0
- package/dist/components/primitives/ConfirmButton/index.js +11 -0
- package/dist/components/primitives/ConfirmButton/index.js.map +1 -0
- package/dist/components/primitives/Divider/index.js +5 -0
- package/dist/components/primitives/Divider/index.js.map +1 -0
- package/dist/components/primitives/FeatureItem/index.js +5 -0
- package/dist/components/primitives/FeatureItem/index.js.map +1 -0
- package/dist/components/primitives/FeaturedIcon/index.js +5 -0
- package/dist/components/primitives/FeaturedIcon/index.js.map +1 -0
- package/dist/components/primitives/FolderStack/index.js +5 -0
- package/dist/components/primitives/FolderStack/index.js.map +1 -0
- package/dist/components/primitives/Heading/index.js +5 -0
- package/dist/components/primitives/Heading/index.js.map +1 -0
- package/dist/components/primitives/Icon/index.js +5 -0
- package/dist/components/primitives/Icon/index.js.map +1 -0
- package/dist/components/primitives/Image/index.js +5 -0
- package/dist/components/primitives/Image/index.js.map +1 -0
- package/dist/components/primitives/Kbd/index.js +5 -0
- package/dist/components/primitives/Kbd/index.js.map +1 -0
- package/dist/components/primitives/Label/index.js +5 -0
- package/dist/components/primitives/Label/index.js.map +1 -0
- package/dist/components/primitives/Link/index.js +5 -0
- package/dist/components/primitives/Link/index.js.map +1 -0
- package/dist/components/primitives/Paragraph/index.js +5 -0
- package/dist/components/primitives/Paragraph/index.js.map +1 -0
- package/dist/components/primitives/ProgressBar/index.js +6 -0
- package/dist/components/primitives/ProgressBar/index.js.map +1 -0
- package/dist/components/primitives/ProgressCircle/index.js +6 -0
- package/dist/components/primitives/ProgressCircle/index.js.map +1 -0
- package/dist/components/primitives/SkeletonLoader/index.js +5 -0
- package/dist/components/primitives/SkeletonLoader/index.js.map +1 -0
- package/dist/components/primitives/Spacer/index.js +5 -0
- package/dist/components/primitives/Spacer/index.js.map +1 -0
- package/dist/components/primitives/Spinner/index.js +5 -0
- package/dist/components/primitives/Spinner/index.js.map +1 -0
- package/dist/components/primitives/SplitButton/index.js +6 -0
- package/dist/components/primitives/SplitButton/index.js.map +1 -0
- package/dist/components/primitives/StatusIndicator/index.js +5 -0
- package/dist/components/primitives/StatusIndicator/index.js.map +1 -0
- package/dist/components/primitives/Tag/index.js +5 -0
- package/dist/components/primitives/Tag/index.js.map +1 -0
- package/dist/components/primitives/Text/index.js +5 -0
- package/dist/components/primitives/Text/index.js.map +1 -0
- package/dist/components/primitives/Thumbnail/index.js +6 -0
- package/dist/components/primitives/Thumbnail/index.js.map +1 -0
- package/dist/components/primitives/Toggle/index.js +5 -0
- package/dist/components/primitives/Toggle/index.js.map +1 -0
- package/dist/components/primitives/index.js +38 -0
- package/dist/components/primitives/index.js.map +1 -0
- package/dist/components/workflow/ApprovalFlow/index.js +11 -0
- package/dist/components/workflow/ApprovalFlow/index.js.map +1 -0
- package/dist/components/workflow/ApprovalStatus/index.js +5 -0
- package/dist/components/workflow/ApprovalStatus/index.js.map +1 -0
- package/dist/components/workflow/CommentSystem/index.js +12 -0
- package/dist/components/workflow/CommentSystem/index.js.map +1 -0
- package/dist/components/workflow/Dashboard/index.js +10 -0
- package/dist/components/workflow/Dashboard/index.js.map +1 -0
- package/dist/components/workflow/DashboardBuilder/index.js +13 -0
- package/dist/components/workflow/DashboardBuilder/index.js.map +1 -0
- package/dist/components/workflow/KanbanBoard/index.js +13 -0
- package/dist/components/workflow/KanbanBoard/index.js.map +1 -0
- package/dist/components/workflow/ProgressSteps/index.js +5 -0
- package/dist/components/workflow/ProgressSteps/index.js.map +1 -0
- package/dist/components/workflow/ReportGenerator/index.js +12 -0
- package/dist/components/workflow/ReportGenerator/index.js.map +1 -0
- package/dist/components/workflow/Stepper/index.js +5 -0
- package/dist/components/workflow/Stepper/index.js.map +1 -0
- package/dist/components/workflow/TaskCard/index.js +5 -0
- package/dist/components/workflow/TaskCard/index.js.map +1 -0
- package/dist/components/workflow/TaskList/index.js +5 -0
- package/dist/components/workflow/TaskList/index.js.map +1 -0
- package/dist/components/workflow/TaskStatus/index.js +6 -0
- package/dist/components/workflow/TaskStatus/index.js.map +1 -0
- package/dist/components/workflow/Wizard/index.js +11 -0
- package/dist/components/workflow/Wizard/index.js.map +1 -0
- package/dist/components/workflow/index.js +32 -0
- package/dist/components/workflow/index.js.map +1 -0
- package/dist/fonts/inter-OFL.txt +92 -0
- package/dist/fonts/inter-latin-400-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-500-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-600-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-700-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-OFL.txt +93 -0
- package/dist/fonts/jetbrains-mono-latin-400-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-500-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-700-normal.woff2 +0 -0
- package/dist/hooks/index.js +6 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/index.d.ts +114 -27
- package/dist/index.js +202 -52453
- package/dist/index.js.map +1 -1
- package/dist/jspdf.node.min-CTWP225M.js +372 -656
- package/dist/jspdf.node.min-CTWP225M.js.map +1 -1
- package/dist/jspdf.plugin.autotable-AAE7PZKA.js +4 -14
- package/dist/jspdf.plugin.autotable-AAE7PZKA.js.map +1 -1
- package/dist/lib/chart-colors.js +4 -0
- package/dist/lib/chart-colors.js.map +1 -0
- package/dist/lib/utils.js +3 -7
- package/dist/lib/utils.js.map +1 -1
- package/dist/styles.css +5542 -0
- package/dist/xlsx-PWHBQ6NK.js +206 -366
- package/dist/xlsx-PWHBQ6NK.js.map +1 -1
- package/package.json +9 -6
- package/styles.css +0 -62
|
@@ -0,0 +1,924 @@
|
|
|
1
|
+
import { Label } from './chunk-SCGKQ5RE.js';
|
|
2
|
+
import { TextInput } from './chunk-PWCMCMDN.js';
|
|
3
|
+
import { Button } from './chunk-ONQCNOLU.js';
|
|
4
|
+
import { cn } from './chunk-HRNDJU7D.js';
|
|
5
|
+
import { LayoutGrid, BarChart2, PieChart, Table, Type, Undo2, Redo2, Eye, Save, ChevronRight, ChevronLeft, X, GripVertical, Trash2 } from 'lucide-react';
|
|
6
|
+
import { useState, useMemo, useRef, useId, useCallback } from 'react';
|
|
7
|
+
import { cva } from 'class-variance-authority';
|
|
8
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
9
|
+
|
|
10
|
+
var dashboardBuilderVariants = cva(
|
|
11
|
+
"relative flex h-full w-full overflow-hidden rounded-lg border bg-background transition-all duration-300",
|
|
12
|
+
{
|
|
13
|
+
variants: {
|
|
14
|
+
mode: {
|
|
15
|
+
edit: "",
|
|
16
|
+
preview: "",
|
|
17
|
+
configure: ""
|
|
18
|
+
},
|
|
19
|
+
size: {
|
|
20
|
+
default: "",
|
|
21
|
+
compact: "",
|
|
22
|
+
full: "h-screen"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: {
|
|
26
|
+
mode: "edit",
|
|
27
|
+
size: "default"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
var dashboardBuilderToolbarVariants = cva(
|
|
32
|
+
"flex h-14 shrink-0 items-center justify-between border-b bg-card px-4 transition-all duration-200",
|
|
33
|
+
{
|
|
34
|
+
variants: {
|
|
35
|
+
position: {
|
|
36
|
+
top: "",
|
|
37
|
+
bottom: "border-b-0 border-t"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
defaultVariants: {
|
|
41
|
+
position: "top"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
var dashboardBuilderCanvasVariants = cva(
|
|
46
|
+
"relative flex-1 overflow-auto bg-muted/30 p-4 transition-all duration-200",
|
|
47
|
+
{
|
|
48
|
+
variants: {
|
|
49
|
+
showGrid: {
|
|
50
|
+
true: [
|
|
51
|
+
"bg-[linear-gradient(to_right,var(--border)_1px,transparent_1px),linear-gradient(to_bottom,var(--border)_1px,transparent_1px)]",
|
|
52
|
+
"bg-[size:var(--grid-size)_var(--grid-size)]"
|
|
53
|
+
],
|
|
54
|
+
false: ""
|
|
55
|
+
},
|
|
56
|
+
state: {
|
|
57
|
+
idle: "",
|
|
58
|
+
dragging: "cursor-grabbing",
|
|
59
|
+
resizing: "cursor-nwse-resize",
|
|
60
|
+
configuring: "",
|
|
61
|
+
saving: "pointer-events-none opacity-75"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
defaultVariants: {
|
|
65
|
+
showGrid: true,
|
|
66
|
+
state: "idle"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
var dashboardBuilderWidgetLibraryVariants = cva(
|
|
71
|
+
"flex w-64 shrink-0 flex-col border-r bg-card transition-all duration-200",
|
|
72
|
+
{
|
|
73
|
+
variants: {
|
|
74
|
+
collapsed: {
|
|
75
|
+
true: "w-14",
|
|
76
|
+
false: "w-64"
|
|
77
|
+
},
|
|
78
|
+
position: {
|
|
79
|
+
left: "border-r",
|
|
80
|
+
right: "border-l border-r-0"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
defaultVariants: {
|
|
84
|
+
collapsed: false,
|
|
85
|
+
position: "left"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
);
|
|
89
|
+
var dashboardBuilderPropertiesPanelVariants = cva(
|
|
90
|
+
"flex w-72 shrink-0 flex-col border-l bg-card transition-all duration-200",
|
|
91
|
+
{
|
|
92
|
+
variants: {
|
|
93
|
+
open: {
|
|
94
|
+
true: "w-72",
|
|
95
|
+
false: "w-0 overflow-hidden border-l-0"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
defaultVariants: {
|
|
99
|
+
open: false
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
);
|
|
103
|
+
var dashboardBuilderWidgetCardVariants = cva(
|
|
104
|
+
"flex cursor-grab items-center gap-3 rounded-md border bg-background p-3 transition-all duration-200 hover:border-primary hover:shadow-sm active:cursor-grabbing",
|
|
105
|
+
{
|
|
106
|
+
variants: {
|
|
107
|
+
category: {
|
|
108
|
+
default: "",
|
|
109
|
+
charts: "border-l-2 border-l-blue-500",
|
|
110
|
+
kpi: "border-l-2 border-l-green-500",
|
|
111
|
+
tables: "border-l-2 border-l-purple-500",
|
|
112
|
+
text: "border-l-2 border-l-orange-500"
|
|
113
|
+
},
|
|
114
|
+
dragging: {
|
|
115
|
+
true: "opacity-50",
|
|
116
|
+
false: ""
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
defaultVariants: {
|
|
120
|
+
category: "default",
|
|
121
|
+
dragging: false
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
);
|
|
125
|
+
var dashboardBuilderWidgetVariants = cva(
|
|
126
|
+
"group relative rounded-md border-2 bg-card transition-all duration-200",
|
|
127
|
+
{
|
|
128
|
+
variants: {
|
|
129
|
+
state: {
|
|
130
|
+
idle: "border-transparent hover:border-muted-foreground/30",
|
|
131
|
+
selected: "border-primary ring-2 ring-primary/20",
|
|
132
|
+
dragging: "border-primary border-dashed opacity-75",
|
|
133
|
+
resizing: "border-primary",
|
|
134
|
+
preview: "border-border"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
defaultVariants: {
|
|
138
|
+
state: "idle"
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
);
|
|
142
|
+
var dashboardBuilderResizeHandleVariants = cva(
|
|
143
|
+
"absolute opacity-0 transition-opacity group-hover:opacity-100",
|
|
144
|
+
{
|
|
145
|
+
variants: {
|
|
146
|
+
position: {
|
|
147
|
+
se: "bottom-0 right-0 cursor-se-resize",
|
|
148
|
+
sw: "bottom-0 left-0 cursor-sw-resize",
|
|
149
|
+
ne: "right-0 top-0 cursor-ne-resize",
|
|
150
|
+
nw: "left-0 top-0 cursor-nw-resize",
|
|
151
|
+
e: "right-0 top-1/2 -translate-y-1/2 cursor-e-resize",
|
|
152
|
+
w: "left-0 top-1/2 -translate-y-1/2 cursor-w-resize",
|
|
153
|
+
n: "left-1/2 top-0 -translate-x-1/2 cursor-n-resize",
|
|
154
|
+
s: "bottom-0 left-1/2 -translate-x-1/2 cursor-s-resize"
|
|
155
|
+
},
|
|
156
|
+
size: {
|
|
157
|
+
sm: "h-2 w-2",
|
|
158
|
+
default: "h-3 w-3",
|
|
159
|
+
lg: "h-4 w-4"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
defaultVariants: {
|
|
163
|
+
position: "se",
|
|
164
|
+
size: "default"
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
);
|
|
168
|
+
var dashboardBuilderDropZoneVariants = cva(
|
|
169
|
+
"pointer-events-none absolute rounded-md border-2 transition-all duration-200",
|
|
170
|
+
{
|
|
171
|
+
variants: {
|
|
172
|
+
active: {
|
|
173
|
+
true: "border-primary bg-primary/10",
|
|
174
|
+
false: "border-transparent"
|
|
175
|
+
},
|
|
176
|
+
valid: {
|
|
177
|
+
true: "border-primary bg-primary/10",
|
|
178
|
+
false: "border-destructive bg-destructive/10"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
defaultVariants: {
|
|
182
|
+
active: false,
|
|
183
|
+
valid: true
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
);
|
|
187
|
+
var dashboardBuilderEmptyStateVariants = cva(
|
|
188
|
+
"flex h-full flex-col items-center justify-center gap-4 text-muted-foreground",
|
|
189
|
+
{
|
|
190
|
+
variants: {
|
|
191
|
+
variant: {
|
|
192
|
+
default: "",
|
|
193
|
+
minimal: "gap-2"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
defaultVariants: {
|
|
197
|
+
variant: "default"
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
);
|
|
201
|
+
function PlaceholderWidget({ config, title }) {
|
|
202
|
+
const value = config["value"];
|
|
203
|
+
const getDisplayValue = () => {
|
|
204
|
+
if (value === null || value === void 0) return "";
|
|
205
|
+
if (typeof value === "object") return JSON.stringify(value);
|
|
206
|
+
return String(value);
|
|
207
|
+
};
|
|
208
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex h-full flex-col items-center justify-center p-4", children: [
|
|
209
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium", children: title }),
|
|
210
|
+
value !== void 0 && value !== null && /* @__PURE__ */ jsx("span", { className: "text-2xl font-bold text-primary", children: getDisplayValue() })
|
|
211
|
+
] });
|
|
212
|
+
}
|
|
213
|
+
var defaultWidgets = [
|
|
214
|
+
{
|
|
215
|
+
type: "kpi",
|
|
216
|
+
name: "KPI Card",
|
|
217
|
+
description: "Display a key performance indicator",
|
|
218
|
+
icon: /* @__PURE__ */ jsx(LayoutGrid, { className: "h-4 w-4" }),
|
|
219
|
+
category: "kpi",
|
|
220
|
+
defaultSize: { w: 3, h: 2 },
|
|
221
|
+
minSize: { w: 2, h: 1 },
|
|
222
|
+
maxSize: { w: 6, h: 4 },
|
|
223
|
+
configSchema: {
|
|
224
|
+
fields: [
|
|
225
|
+
{ name: "title", type: "text", label: "Title", defaultValue: "KPI" },
|
|
226
|
+
{ name: "value", type: "text", label: "Value", defaultValue: "0" },
|
|
227
|
+
{ name: "unit", type: "text", label: "Unit", defaultValue: "" }
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
component: PlaceholderWidget
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
type: "chart-line",
|
|
234
|
+
name: "Line Chart",
|
|
235
|
+
description: "Display data as a line chart",
|
|
236
|
+
icon: /* @__PURE__ */ jsx(BarChart2, { className: "h-4 w-4" }),
|
|
237
|
+
category: "charts",
|
|
238
|
+
defaultSize: { w: 6, h: 4 },
|
|
239
|
+
minSize: { w: 4, h: 3 },
|
|
240
|
+
configSchema: {
|
|
241
|
+
fields: [
|
|
242
|
+
{ name: "title", type: "text", label: "Title", defaultValue: "Chart" },
|
|
243
|
+
{
|
|
244
|
+
name: "showLegend",
|
|
245
|
+
type: "boolean",
|
|
246
|
+
label: "Show Legend",
|
|
247
|
+
defaultValue: true
|
|
248
|
+
}
|
|
249
|
+
]
|
|
250
|
+
},
|
|
251
|
+
component: PlaceholderWidget
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
type: "chart-pie",
|
|
255
|
+
name: "Pie Chart",
|
|
256
|
+
description: "Display data as a pie chart",
|
|
257
|
+
icon: /* @__PURE__ */ jsx(PieChart, { className: "h-4 w-4" }),
|
|
258
|
+
category: "charts",
|
|
259
|
+
defaultSize: { w: 4, h: 4 },
|
|
260
|
+
minSize: { w: 3, h: 3 },
|
|
261
|
+
configSchema: {
|
|
262
|
+
fields: [
|
|
263
|
+
{ name: "title", type: "text", label: "Title", defaultValue: "Chart" }
|
|
264
|
+
]
|
|
265
|
+
},
|
|
266
|
+
component: PlaceholderWidget
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
type: "table",
|
|
270
|
+
name: "Data Table",
|
|
271
|
+
description: "Display data in a table format",
|
|
272
|
+
icon: /* @__PURE__ */ jsx(Table, { className: "h-4 w-4" }),
|
|
273
|
+
category: "tables",
|
|
274
|
+
defaultSize: { w: 6, h: 4 },
|
|
275
|
+
minSize: { w: 4, h: 3 },
|
|
276
|
+
configSchema: {
|
|
277
|
+
fields: [
|
|
278
|
+
{ name: "title", type: "text", label: "Title", defaultValue: "Table" },
|
|
279
|
+
{
|
|
280
|
+
name: "pageSize",
|
|
281
|
+
type: "number",
|
|
282
|
+
label: "Page Size",
|
|
283
|
+
defaultValue: 10
|
|
284
|
+
}
|
|
285
|
+
]
|
|
286
|
+
},
|
|
287
|
+
component: PlaceholderWidget
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
type: "text",
|
|
291
|
+
name: "Text Block",
|
|
292
|
+
description: "Display formatted text content",
|
|
293
|
+
icon: /* @__PURE__ */ jsx(Type, { className: "h-4 w-4" }),
|
|
294
|
+
category: "text",
|
|
295
|
+
defaultSize: { w: 4, h: 2 },
|
|
296
|
+
minSize: { w: 2, h: 1 },
|
|
297
|
+
configSchema: {
|
|
298
|
+
fields: [
|
|
299
|
+
{ name: "content", type: "text", label: "Content", defaultValue: "" }
|
|
300
|
+
]
|
|
301
|
+
},
|
|
302
|
+
component: PlaceholderWidget
|
|
303
|
+
}
|
|
304
|
+
];
|
|
305
|
+
function DashboardBuilderToolbar({
|
|
306
|
+
canRedo,
|
|
307
|
+
canUndo,
|
|
308
|
+
onRedo,
|
|
309
|
+
onSave,
|
|
310
|
+
onTogglePreview,
|
|
311
|
+
onUndo,
|
|
312
|
+
showPreview,
|
|
313
|
+
showUndo
|
|
314
|
+
}) {
|
|
315
|
+
return /* @__PURE__ */ jsxs(
|
|
316
|
+
"div",
|
|
317
|
+
{
|
|
318
|
+
className: dashboardBuilderToolbarVariants(),
|
|
319
|
+
"data-slot": "dashboard-builder-toolbar",
|
|
320
|
+
children: [
|
|
321
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ jsx("span", { className: "text-sm font-medium", children: "Dashboard Builder" }) }),
|
|
322
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
323
|
+
showUndo && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
324
|
+
/* @__PURE__ */ jsx(
|
|
325
|
+
Button,
|
|
326
|
+
{
|
|
327
|
+
"aria-label": "Undo",
|
|
328
|
+
disabled: !canUndo,
|
|
329
|
+
size: "sm",
|
|
330
|
+
variant: "ghost",
|
|
331
|
+
onClick: onUndo,
|
|
332
|
+
children: /* @__PURE__ */ jsx(Undo2, { className: "h-4 w-4" })
|
|
333
|
+
}
|
|
334
|
+
),
|
|
335
|
+
/* @__PURE__ */ jsx(
|
|
336
|
+
Button,
|
|
337
|
+
{
|
|
338
|
+
"aria-label": "Redo",
|
|
339
|
+
disabled: !canRedo,
|
|
340
|
+
size: "sm",
|
|
341
|
+
variant: "ghost",
|
|
342
|
+
onClick: onRedo,
|
|
343
|
+
children: /* @__PURE__ */ jsx(Redo2, { className: "h-4 w-4" })
|
|
344
|
+
}
|
|
345
|
+
),
|
|
346
|
+
/* @__PURE__ */ jsx("div", { className: "mx-2 h-6 w-px bg-border" })
|
|
347
|
+
] }),
|
|
348
|
+
showPreview && /* @__PURE__ */ jsxs(
|
|
349
|
+
Button,
|
|
350
|
+
{
|
|
351
|
+
"aria-label": "Preview dashboard",
|
|
352
|
+
size: "sm",
|
|
353
|
+
variant: "outline",
|
|
354
|
+
onClick: onTogglePreview,
|
|
355
|
+
children: [
|
|
356
|
+
/* @__PURE__ */ jsx(Eye, { className: "mr-2 h-4 w-4" }),
|
|
357
|
+
"Preview"
|
|
358
|
+
]
|
|
359
|
+
}
|
|
360
|
+
),
|
|
361
|
+
/* @__PURE__ */ jsxs(Button, { size: "sm", onClick: onSave, children: [
|
|
362
|
+
/* @__PURE__ */ jsx(Save, { className: "mr-2 h-4 w-4" }),
|
|
363
|
+
"Save"
|
|
364
|
+
] })
|
|
365
|
+
] })
|
|
366
|
+
]
|
|
367
|
+
}
|
|
368
|
+
);
|
|
369
|
+
}
|
|
370
|
+
function DashboardBuilderWidgetLibrary({
|
|
371
|
+
widgets
|
|
372
|
+
}) {
|
|
373
|
+
const [collapsed, setCollapsed] = useState(false);
|
|
374
|
+
const groupedWidgets = useMemo(() => {
|
|
375
|
+
return widgets.reduce((acc, widget) => {
|
|
376
|
+
const category = widget.category || "default";
|
|
377
|
+
acc[category] ??= [];
|
|
378
|
+
acc[category].push(widget);
|
|
379
|
+
return acc;
|
|
380
|
+
}, {});
|
|
381
|
+
}, [widgets]);
|
|
382
|
+
const handleDragStart = (e, widget) => {
|
|
383
|
+
e.dataTransfer.setData("widget-type", widget.type);
|
|
384
|
+
e.dataTransfer.effectAllowed = "copy";
|
|
385
|
+
};
|
|
386
|
+
return /* @__PURE__ */ jsxs(
|
|
387
|
+
"div",
|
|
388
|
+
{
|
|
389
|
+
className: dashboardBuilderWidgetLibraryVariants({ collapsed }),
|
|
390
|
+
"data-slot": "dashboard-builder-widget-library",
|
|
391
|
+
children: [
|
|
392
|
+
/* @__PURE__ */ jsxs("div", { className: "flex h-12 items-center justify-between border-b px-4", children: [
|
|
393
|
+
!collapsed && /* @__PURE__ */ jsx("span", { className: "text-sm font-medium", children: "Widgets" }),
|
|
394
|
+
/* @__PURE__ */ jsx(
|
|
395
|
+
Button,
|
|
396
|
+
{
|
|
397
|
+
"aria-label": collapsed ? "Expand widget library" : "Collapse widget library",
|
|
398
|
+
className: "ml-auto",
|
|
399
|
+
size: "icon",
|
|
400
|
+
variant: "ghost",
|
|
401
|
+
onClick: () => {
|
|
402
|
+
setCollapsed(!collapsed);
|
|
403
|
+
},
|
|
404
|
+
children: collapsed ? /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" })
|
|
405
|
+
}
|
|
406
|
+
)
|
|
407
|
+
] }),
|
|
408
|
+
!collapsed && /* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto p-4", children: /* @__PURE__ */ jsx("div", { className: "space-y-4", children: Object.entries(groupedWidgets).map(([category, categoryWidgets]) => /* @__PURE__ */ jsxs("div", { children: [
|
|
409
|
+
/* @__PURE__ */ jsx("span", { className: "mb-2 block text-xs font-medium uppercase text-muted-foreground", children: category }),
|
|
410
|
+
/* @__PURE__ */ jsx("div", { className: "space-y-2", children: categoryWidgets.map((widget) => /* @__PURE__ */ jsxs(
|
|
411
|
+
"div",
|
|
412
|
+
{
|
|
413
|
+
draggable: true,
|
|
414
|
+
className: dashboardBuilderWidgetCardVariants({
|
|
415
|
+
category
|
|
416
|
+
}),
|
|
417
|
+
"aria-label": `Drag ${widget.name} widget`,
|
|
418
|
+
role: "button",
|
|
419
|
+
tabIndex: 0,
|
|
420
|
+
title: widget.description,
|
|
421
|
+
onDragStart: (e) => {
|
|
422
|
+
handleDragStart(e, widget);
|
|
423
|
+
},
|
|
424
|
+
children: [
|
|
425
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: widget.icon }),
|
|
426
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm", children: widget.name })
|
|
427
|
+
]
|
|
428
|
+
},
|
|
429
|
+
widget.type
|
|
430
|
+
)) })
|
|
431
|
+
] }, category)) }) })
|
|
432
|
+
]
|
|
433
|
+
}
|
|
434
|
+
);
|
|
435
|
+
}
|
|
436
|
+
function DashboardBuilderCanvas({
|
|
437
|
+
children,
|
|
438
|
+
columns,
|
|
439
|
+
onWidgetDrop,
|
|
440
|
+
rowHeight,
|
|
441
|
+
showGrid,
|
|
442
|
+
widgets
|
|
443
|
+
}) {
|
|
444
|
+
const canvasRef = useRef(null);
|
|
445
|
+
const [isDragOver, setIsDragOver] = useState(false);
|
|
446
|
+
const handleDragOver = (e) => {
|
|
447
|
+
e.preventDefault();
|
|
448
|
+
e.dataTransfer.dropEffect = "copy";
|
|
449
|
+
setIsDragOver(true);
|
|
450
|
+
};
|
|
451
|
+
const handleDragLeave = () => {
|
|
452
|
+
setIsDragOver(false);
|
|
453
|
+
};
|
|
454
|
+
const handleDrop = (e) => {
|
|
455
|
+
e.preventDefault();
|
|
456
|
+
setIsDragOver(false);
|
|
457
|
+
const widgetType = e.dataTransfer.getData("widget-type");
|
|
458
|
+
if (!widgetType || !canvasRef.current) return;
|
|
459
|
+
const rect = canvasRef.current.getBoundingClientRect();
|
|
460
|
+
const gridWidth = rect.width / columns;
|
|
461
|
+
const x = Math.floor((e.clientX - rect.left) / gridWidth);
|
|
462
|
+
const y = Math.floor((e.clientY - rect.top) / rowHeight);
|
|
463
|
+
onWidgetDrop?.(widgetType, { x, y });
|
|
464
|
+
};
|
|
465
|
+
const gridSizeStyle = {
|
|
466
|
+
"--grid-size": `${String(100 / columns)}%`
|
|
467
|
+
};
|
|
468
|
+
return /* @__PURE__ */ jsxs(
|
|
469
|
+
"div",
|
|
470
|
+
{
|
|
471
|
+
ref: canvasRef,
|
|
472
|
+
className: cn(
|
|
473
|
+
dashboardBuilderCanvasVariants({ showGrid }),
|
|
474
|
+
isDragOver && "ring-2 ring-primary ring-offset-2"
|
|
475
|
+
),
|
|
476
|
+
"aria-describedby": "canvas-instructions",
|
|
477
|
+
"aria-label": "Dashboard canvas",
|
|
478
|
+
"data-slot": "dashboard-builder-canvas",
|
|
479
|
+
role: "region",
|
|
480
|
+
style: gridSizeStyle,
|
|
481
|
+
onDragLeave: handleDragLeave,
|
|
482
|
+
onDragOver: handleDragOver,
|
|
483
|
+
onDrop: handleDrop,
|
|
484
|
+
children: [
|
|
485
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", id: "canvas-instructions", children: "Drag widgets from the library to add them. Use arrow keys to move selected widgets. Press Delete to remove selected widget." }),
|
|
486
|
+
widgets.length === 0 ? /* @__PURE__ */ jsxs("div", { className: dashboardBuilderEmptyStateVariants(), children: [
|
|
487
|
+
/* @__PURE__ */ jsx(LayoutGrid, { className: "h-12 w-12 opacity-50" }),
|
|
488
|
+
/* @__PURE__ */ jsxs("div", { className: "text-center", children: [
|
|
489
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium", children: "No widgets yet" }),
|
|
490
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground", children: "Drag widgets from the library to get started" })
|
|
491
|
+
] })
|
|
492
|
+
] }) : /* @__PURE__ */ jsx(
|
|
493
|
+
"div",
|
|
494
|
+
{
|
|
495
|
+
style: {
|
|
496
|
+
display: "grid",
|
|
497
|
+
gridTemplateColumns: `repeat(${String(columns)}, 1fr)`,
|
|
498
|
+
gap: "var(--spacing-4)",
|
|
499
|
+
minHeight: "100%"
|
|
500
|
+
},
|
|
501
|
+
className: "relative",
|
|
502
|
+
children
|
|
503
|
+
}
|
|
504
|
+
)
|
|
505
|
+
]
|
|
506
|
+
}
|
|
507
|
+
);
|
|
508
|
+
}
|
|
509
|
+
function DashboardBuilderPropertiesPanel({
|
|
510
|
+
onClose,
|
|
511
|
+
onConfigChange,
|
|
512
|
+
widget,
|
|
513
|
+
widgetDefinition
|
|
514
|
+
}) {
|
|
515
|
+
const panelId = useId();
|
|
516
|
+
if (!widget || !widgetDefinition) {
|
|
517
|
+
return /* @__PURE__ */ jsx(
|
|
518
|
+
"div",
|
|
519
|
+
{
|
|
520
|
+
className: dashboardBuilderPropertiesPanelVariants({ open: false }),
|
|
521
|
+
"data-slot": "dashboard-builder-properties-panel"
|
|
522
|
+
}
|
|
523
|
+
);
|
|
524
|
+
}
|
|
525
|
+
const handleFieldChange = (fieldName, value) => {
|
|
526
|
+
const newConfig = { ...widget.config, [fieldName]: value };
|
|
527
|
+
onConfigChange?.(newConfig);
|
|
528
|
+
};
|
|
529
|
+
return /* @__PURE__ */ jsxs(
|
|
530
|
+
"div",
|
|
531
|
+
{
|
|
532
|
+
"aria-labelledby": `${panelId}-title`,
|
|
533
|
+
className: dashboardBuilderPropertiesPanelVariants({ open: true }),
|
|
534
|
+
"data-slot": "dashboard-builder-properties-panel",
|
|
535
|
+
role: "region",
|
|
536
|
+
children: [
|
|
537
|
+
/* @__PURE__ */ jsxs("div", { className: "flex h-12 items-center justify-between border-b px-4", children: [
|
|
538
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium", id: `${panelId}-title`, children: "Properties" }),
|
|
539
|
+
/* @__PURE__ */ jsx(
|
|
540
|
+
Button,
|
|
541
|
+
{
|
|
542
|
+
"aria-label": "Close properties panel",
|
|
543
|
+
size: "icon",
|
|
544
|
+
variant: "ghost",
|
|
545
|
+
onClick: onClose,
|
|
546
|
+
children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4" })
|
|
547
|
+
}
|
|
548
|
+
)
|
|
549
|
+
] }),
|
|
550
|
+
/* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto p-4", children: /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
551
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("span", { className: "text-xs font-medium uppercase text-muted-foreground", children: [
|
|
552
|
+
"Widget: ",
|
|
553
|
+
widgetDefinition.name
|
|
554
|
+
] }) }),
|
|
555
|
+
/* @__PURE__ */ jsx("div", { className: "h-px w-full bg-border" }),
|
|
556
|
+
/* @__PURE__ */ jsx("div", { className: "space-y-4", children: widgetDefinition.configSchema.fields.map((field) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
557
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: `${panelId}-${field.name}`, children: field.label }),
|
|
558
|
+
field.type === "text" && /* @__PURE__ */ jsx(
|
|
559
|
+
TextInput,
|
|
560
|
+
{
|
|
561
|
+
value: (() => {
|
|
562
|
+
const val = widget.config[field.name] ?? field.defaultValue ?? "";
|
|
563
|
+
if (typeof val === "object") return JSON.stringify(val);
|
|
564
|
+
return String(val);
|
|
565
|
+
})(),
|
|
566
|
+
id: `${panelId}-${field.name}`,
|
|
567
|
+
onChange: (e) => {
|
|
568
|
+
handleFieldChange(field.name, e.target.value);
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
),
|
|
572
|
+
field.type === "number" && /* @__PURE__ */ jsx(
|
|
573
|
+
TextInput,
|
|
574
|
+
{
|
|
575
|
+
value: (() => {
|
|
576
|
+
const val = widget.config[field.name] ?? field.defaultValue ?? 0;
|
|
577
|
+
if (typeof val === "object") return "0";
|
|
578
|
+
return String(val);
|
|
579
|
+
})(),
|
|
580
|
+
id: `${panelId}-${field.name}`,
|
|
581
|
+
type: "number",
|
|
582
|
+
onChange: (e) => {
|
|
583
|
+
handleFieldChange(field.name, Number(e.target.value));
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
),
|
|
587
|
+
field.type === "boolean" && /* @__PURE__ */ jsx(
|
|
588
|
+
"input",
|
|
589
|
+
{
|
|
590
|
+
checked: Boolean(widget.config[field.name] ?? field.defaultValue),
|
|
591
|
+
className: "h-4 w-4",
|
|
592
|
+
id: `${panelId}-${field.name}`,
|
|
593
|
+
type: "checkbox",
|
|
594
|
+
onChange: (e) => {
|
|
595
|
+
handleFieldChange(field.name, e.target.checked);
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
)
|
|
599
|
+
] }, field.name)) })
|
|
600
|
+
] }) })
|
|
601
|
+
]
|
|
602
|
+
}
|
|
603
|
+
);
|
|
604
|
+
}
|
|
605
|
+
function DashboardBuilderWidgetComponent({
|
|
606
|
+
isDragging,
|
|
607
|
+
isSelected,
|
|
608
|
+
onClick,
|
|
609
|
+
onRemove,
|
|
610
|
+
widget,
|
|
611
|
+
widgetDefinition
|
|
612
|
+
}) {
|
|
613
|
+
const WidgetComponent = widgetDefinition?.component;
|
|
614
|
+
const state = isSelected ? "selected" : isDragging ? "dragging" : "idle";
|
|
615
|
+
const handleKeyDown = (e) => {
|
|
616
|
+
if (e.key === "Delete" || e.key === "Backspace") {
|
|
617
|
+
e.preventDefault();
|
|
618
|
+
onRemove?.();
|
|
619
|
+
}
|
|
620
|
+
};
|
|
621
|
+
return /* @__PURE__ */ jsxs(
|
|
622
|
+
"div",
|
|
623
|
+
{
|
|
624
|
+
style: {
|
|
625
|
+
gridColumn: `span ${String(widget.w)}`,
|
|
626
|
+
gridRow: `span ${String(widget.h)}`,
|
|
627
|
+
minHeight: `${String(widget.h * 100)}px`
|
|
628
|
+
},
|
|
629
|
+
"aria-label": `Widget: ${widget.title}`,
|
|
630
|
+
"aria-selected": isSelected,
|
|
631
|
+
className: dashboardBuilderWidgetVariants({ state }),
|
|
632
|
+
"data-slot": "dashboard-builder-widget",
|
|
633
|
+
"data-widget-id": widget.id,
|
|
634
|
+
role: "button",
|
|
635
|
+
tabIndex: 0,
|
|
636
|
+
onClick,
|
|
637
|
+
onKeyDown: handleKeyDown,
|
|
638
|
+
children: [
|
|
639
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between border-b bg-muted/50 px-3 py-2", children: [
|
|
640
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
641
|
+
/* @__PURE__ */ jsx(GripVertical, { className: "h-4 w-4 cursor-grab text-muted-foreground" }),
|
|
642
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-medium", children: widget.title })
|
|
643
|
+
] }),
|
|
644
|
+
/* @__PURE__ */ jsx(
|
|
645
|
+
Button,
|
|
646
|
+
{
|
|
647
|
+
"aria-label": `Remove ${widget.title}`,
|
|
648
|
+
className: "opacity-0 group-hover:opacity-100",
|
|
649
|
+
size: "icon",
|
|
650
|
+
variant: "ghost",
|
|
651
|
+
onClick: (e) => {
|
|
652
|
+
e.stopPropagation();
|
|
653
|
+
onRemove?.();
|
|
654
|
+
},
|
|
655
|
+
children: /* @__PURE__ */ jsx(Trash2, { className: "h-3 w-3" })
|
|
656
|
+
}
|
|
657
|
+
)
|
|
658
|
+
] }),
|
|
659
|
+
/* @__PURE__ */ jsx("div", { className: "flex-1 overflow-hidden p-2", children: WidgetComponent ? /* @__PURE__ */ jsx(
|
|
660
|
+
WidgetComponent,
|
|
661
|
+
{
|
|
662
|
+
config: widget.config,
|
|
663
|
+
height: widget.h,
|
|
664
|
+
id: widget.id,
|
|
665
|
+
title: widget.title,
|
|
666
|
+
width: widget.w
|
|
667
|
+
}
|
|
668
|
+
) : /* @__PURE__ */ jsx("div", { className: "flex h-full items-center justify-center text-muted-foreground", children: /* @__PURE__ */ jsx("span", { className: "text-xs", children: "Unknown widget type" }) }) })
|
|
669
|
+
]
|
|
670
|
+
}
|
|
671
|
+
);
|
|
672
|
+
}
|
|
673
|
+
function DashboardBuilder({
|
|
674
|
+
"aria-label": ariaLabel = "Dashboard builder",
|
|
675
|
+
allowOverlap = false,
|
|
676
|
+
autoSaveInterval = 3e4,
|
|
677
|
+
availableWidgets = defaultWidgets,
|
|
678
|
+
className,
|
|
679
|
+
columns = 12,
|
|
680
|
+
enableAutoSave = false,
|
|
681
|
+
initialLayout,
|
|
682
|
+
initialWidgets = [],
|
|
683
|
+
mode,
|
|
684
|
+
onLayoutChange,
|
|
685
|
+
onPreview,
|
|
686
|
+
onRedo,
|
|
687
|
+
onSave,
|
|
688
|
+
onUndo,
|
|
689
|
+
onWidgetAdd,
|
|
690
|
+
onWidgetRemove,
|
|
691
|
+
onWidgetUpdate,
|
|
692
|
+
rowHeight = 100,
|
|
693
|
+
showGrid = true,
|
|
694
|
+
showPreview = true,
|
|
695
|
+
showUndo = true,
|
|
696
|
+
size,
|
|
697
|
+
snapToGrid = true,
|
|
698
|
+
...props
|
|
699
|
+
}) {
|
|
700
|
+
const builderId = useId();
|
|
701
|
+
const [widgets, setWidgets] = useState(initialWidgets);
|
|
702
|
+
const [selectedWidgetId, setSelectedWidgetId] = useState(null);
|
|
703
|
+
const [_builderMode, setBuilderMode] = useState("edit");
|
|
704
|
+
const [_builderState, setBuilderState] = useState("idle");
|
|
705
|
+
const [history, setHistory] = useState([initialWidgets]);
|
|
706
|
+
const [historyIndex, setHistoryIndex] = useState(0);
|
|
707
|
+
const selectedWidget = useMemo(
|
|
708
|
+
() => widgets.find((w) => w.id === selectedWidgetId) ?? null,
|
|
709
|
+
[widgets, selectedWidgetId]
|
|
710
|
+
);
|
|
711
|
+
const selectedWidgetDefinition = useMemo(
|
|
712
|
+
() => selectedWidget ? availableWidgets.find((w) => w.type === selectedWidget.type) : void 0,
|
|
713
|
+
[selectedWidget, availableWidgets]
|
|
714
|
+
);
|
|
715
|
+
const canUndo = historyIndex > 0;
|
|
716
|
+
const canRedo = historyIndex < history.length - 1;
|
|
717
|
+
const updateHistory = useCallback((newWidgets) => {
|
|
718
|
+
setHistory((prev) => {
|
|
719
|
+
const newHistory = prev.slice(0, historyIndex + 1);
|
|
720
|
+
newHistory.push(newWidgets);
|
|
721
|
+
return newHistory;
|
|
722
|
+
});
|
|
723
|
+
setHistoryIndex((prev) => prev + 1);
|
|
724
|
+
}, [historyIndex]);
|
|
725
|
+
const generateId = () => `widget-${String(Date.now())}-${Math.random().toString(36).slice(2, 9)}`;
|
|
726
|
+
const getLayoutConfig = useCallback(() => {
|
|
727
|
+
return {
|
|
728
|
+
columns,
|
|
729
|
+
rowHeight,
|
|
730
|
+
widgets: widgets.map((w) => ({
|
|
731
|
+
i: w.id,
|
|
732
|
+
x: w.x,
|
|
733
|
+
y: w.y,
|
|
734
|
+
w: w.w,
|
|
735
|
+
h: w.h
|
|
736
|
+
}))
|
|
737
|
+
};
|
|
738
|
+
}, [columns, rowHeight, widgets]);
|
|
739
|
+
const handleWidgetDrop = useCallback(
|
|
740
|
+
(widgetType, position) => {
|
|
741
|
+
const definition = availableWidgets.find((w) => w.type === widgetType);
|
|
742
|
+
if (!definition) return;
|
|
743
|
+
const newWidget = {
|
|
744
|
+
id: generateId(),
|
|
745
|
+
type: widgetType,
|
|
746
|
+
title: definition.name,
|
|
747
|
+
x: position.x,
|
|
748
|
+
y: position.y,
|
|
749
|
+
w: definition.defaultSize.w,
|
|
750
|
+
h: definition.defaultSize.h,
|
|
751
|
+
config: definition.configSchema.fields.reduce(
|
|
752
|
+
(acc, field) => {
|
|
753
|
+
acc[field.name] = field.defaultValue;
|
|
754
|
+
return acc;
|
|
755
|
+
},
|
|
756
|
+
{}
|
|
757
|
+
)
|
|
758
|
+
};
|
|
759
|
+
const newWidgets = [...widgets, newWidget];
|
|
760
|
+
setWidgets(newWidgets);
|
|
761
|
+
updateHistory(newWidgets);
|
|
762
|
+
setSelectedWidgetId(newWidget.id);
|
|
763
|
+
onWidgetAdd?.({ widget: newWidget, position });
|
|
764
|
+
onLayoutChange?.(getLayoutConfig());
|
|
765
|
+
},
|
|
766
|
+
[availableWidgets, widgets, updateHistory, onWidgetAdd, onLayoutChange, getLayoutConfig]
|
|
767
|
+
);
|
|
768
|
+
const handleWidgetRemove = useCallback(
|
|
769
|
+
(widgetId) => {
|
|
770
|
+
const newWidgets = widgets.filter((w) => w.id !== widgetId);
|
|
771
|
+
setWidgets(newWidgets);
|
|
772
|
+
updateHistory(newWidgets);
|
|
773
|
+
if (selectedWidgetId === widgetId) {
|
|
774
|
+
setSelectedWidgetId(null);
|
|
775
|
+
}
|
|
776
|
+
onWidgetRemove?.({ widgetId });
|
|
777
|
+
onLayoutChange?.(getLayoutConfig());
|
|
778
|
+
},
|
|
779
|
+
[widgets, selectedWidgetId, updateHistory, onWidgetRemove, onLayoutChange, getLayoutConfig]
|
|
780
|
+
);
|
|
781
|
+
const handleWidgetSelect = useCallback((widgetId) => {
|
|
782
|
+
setSelectedWidgetId(widgetId);
|
|
783
|
+
setBuilderState("configuring");
|
|
784
|
+
}, []);
|
|
785
|
+
const handleConfigChange = useCallback(
|
|
786
|
+
(newConfig) => {
|
|
787
|
+
if (!selectedWidgetId) return;
|
|
788
|
+
const newWidgets = widgets.map(
|
|
789
|
+
(w) => w.id === selectedWidgetId ? { ...w, config: newConfig } : w
|
|
790
|
+
);
|
|
791
|
+
setWidgets(newWidgets);
|
|
792
|
+
updateHistory(newWidgets);
|
|
793
|
+
onWidgetUpdate?.({ widgetId: selectedWidgetId, config: newConfig });
|
|
794
|
+
},
|
|
795
|
+
[selectedWidgetId, widgets, updateHistory, onWidgetUpdate]
|
|
796
|
+
);
|
|
797
|
+
const handleSave = useCallback(() => {
|
|
798
|
+
setBuilderState("saving");
|
|
799
|
+
onSave?.({ widgets, layout: getLayoutConfig() });
|
|
800
|
+
setBuilderState("idle");
|
|
801
|
+
}, [widgets, getLayoutConfig, onSave]);
|
|
802
|
+
const handleUndo = useCallback(() => {
|
|
803
|
+
if (!canUndo) return;
|
|
804
|
+
const newIndex = historyIndex - 1;
|
|
805
|
+
setHistoryIndex(newIndex);
|
|
806
|
+
setWidgets(history[newIndex] ?? []);
|
|
807
|
+
onUndo?.();
|
|
808
|
+
}, [canUndo, historyIndex, history, onUndo]);
|
|
809
|
+
const handleRedo = useCallback(() => {
|
|
810
|
+
if (!canRedo) return;
|
|
811
|
+
const newIndex = historyIndex + 1;
|
|
812
|
+
setHistoryIndex(newIndex);
|
|
813
|
+
setWidgets(history[newIndex] ?? []);
|
|
814
|
+
onRedo?.();
|
|
815
|
+
}, [canRedo, historyIndex, history, onRedo]);
|
|
816
|
+
const handlePreview = useCallback(() => {
|
|
817
|
+
setBuilderMode("preview");
|
|
818
|
+
onPreview?.();
|
|
819
|
+
}, [onPreview]);
|
|
820
|
+
const handleCloseProperties = useCallback(() => {
|
|
821
|
+
setSelectedWidgetId(null);
|
|
822
|
+
setBuilderState("idle");
|
|
823
|
+
}, []);
|
|
824
|
+
const handleKeyDown = useCallback(
|
|
825
|
+
(e) => {
|
|
826
|
+
if ((e.ctrlKey || e.metaKey) && e.key === "s") {
|
|
827
|
+
e.preventDefault();
|
|
828
|
+
handleSave();
|
|
829
|
+
}
|
|
830
|
+
if ((e.ctrlKey || e.metaKey) && e.key === "z" && !e.shiftKey) {
|
|
831
|
+
e.preventDefault();
|
|
832
|
+
handleUndo();
|
|
833
|
+
}
|
|
834
|
+
if ((e.ctrlKey || e.metaKey) && (e.key === "y" || e.key === "z" && e.shiftKey)) {
|
|
835
|
+
e.preventDefault();
|
|
836
|
+
handleRedo();
|
|
837
|
+
}
|
|
838
|
+
if ((e.key === "Delete" || e.key === "Backspace") && selectedWidgetId) {
|
|
839
|
+
e.preventDefault();
|
|
840
|
+
handleWidgetRemove(selectedWidgetId);
|
|
841
|
+
}
|
|
842
|
+
},
|
|
843
|
+
[handleSave, handleUndo, handleRedo, selectedWidgetId, handleWidgetRemove]
|
|
844
|
+
);
|
|
845
|
+
return /* @__PURE__ */ jsx(
|
|
846
|
+
"div",
|
|
847
|
+
{
|
|
848
|
+
"aria-label": ariaLabel,
|
|
849
|
+
className: cn(dashboardBuilderVariants({ mode, size }), className),
|
|
850
|
+
"data-slot": "dashboard-builder",
|
|
851
|
+
id: builderId,
|
|
852
|
+
role: "application",
|
|
853
|
+
tabIndex: -1,
|
|
854
|
+
onKeyDown: handleKeyDown,
|
|
855
|
+
...props,
|
|
856
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col", children: [
|
|
857
|
+
/* @__PURE__ */ jsx(
|
|
858
|
+
DashboardBuilderToolbar,
|
|
859
|
+
{
|
|
860
|
+
canRedo,
|
|
861
|
+
canUndo,
|
|
862
|
+
showPreview,
|
|
863
|
+
showUndo,
|
|
864
|
+
onRedo: handleRedo,
|
|
865
|
+
onSave: handleSave,
|
|
866
|
+
onTogglePreview: handlePreview,
|
|
867
|
+
onUndo: handleUndo
|
|
868
|
+
}
|
|
869
|
+
),
|
|
870
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 overflow-hidden", children: [
|
|
871
|
+
/* @__PURE__ */ jsx(DashboardBuilderWidgetLibrary, { widgets: availableWidgets }),
|
|
872
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ jsx(
|
|
873
|
+
DashboardBuilderCanvas,
|
|
874
|
+
{
|
|
875
|
+
columns,
|
|
876
|
+
rowHeight,
|
|
877
|
+
selectedWidgetId,
|
|
878
|
+
showGrid,
|
|
879
|
+
widgetDefinitions: availableWidgets,
|
|
880
|
+
widgets,
|
|
881
|
+
onWidgetClick: handleWidgetSelect,
|
|
882
|
+
onWidgetDrop: handleWidgetDrop,
|
|
883
|
+
onWidgetRemove: handleWidgetRemove,
|
|
884
|
+
children: widgets.map((widget) => {
|
|
885
|
+
const definition = availableWidgets.find(
|
|
886
|
+
(w) => w.type === widget.type
|
|
887
|
+
);
|
|
888
|
+
return /* @__PURE__ */ jsx(
|
|
889
|
+
DashboardBuilderWidgetComponent,
|
|
890
|
+
{
|
|
891
|
+
isSelected: widget.id === selectedWidgetId,
|
|
892
|
+
widget,
|
|
893
|
+
widgetDefinition: definition,
|
|
894
|
+
onClick: () => {
|
|
895
|
+
handleWidgetSelect(widget.id);
|
|
896
|
+
},
|
|
897
|
+
onRemove: () => {
|
|
898
|
+
handleWidgetRemove(widget.id);
|
|
899
|
+
}
|
|
900
|
+
},
|
|
901
|
+
widget.id
|
|
902
|
+
);
|
|
903
|
+
})
|
|
904
|
+
}
|
|
905
|
+
) }),
|
|
906
|
+
/* @__PURE__ */ jsx(
|
|
907
|
+
DashboardBuilderPropertiesPanel,
|
|
908
|
+
{
|
|
909
|
+
widget: selectedWidget,
|
|
910
|
+
widgetDefinition: selectedWidgetDefinition,
|
|
911
|
+
onClose: handleCloseProperties,
|
|
912
|
+
onConfigChange: handleConfigChange
|
|
913
|
+
}
|
|
914
|
+
)
|
|
915
|
+
] })
|
|
916
|
+
] })
|
|
917
|
+
}
|
|
918
|
+
);
|
|
919
|
+
}
|
|
920
|
+
DashboardBuilder.displayName = "DashboardBuilder";
|
|
921
|
+
|
|
922
|
+
export { DashboardBuilder, DashboardBuilderCanvas, DashboardBuilderPropertiesPanel, DashboardBuilderToolbar, DashboardBuilderWidgetComponent, DashboardBuilderWidgetLibrary, dashboardBuilderCanvasVariants, dashboardBuilderDropZoneVariants, dashboardBuilderEmptyStateVariants, dashboardBuilderPropertiesPanelVariants, dashboardBuilderResizeHandleVariants, dashboardBuilderToolbarVariants, dashboardBuilderVariants, dashboardBuilderWidgetCardVariants, dashboardBuilderWidgetLibraryVariants, dashboardBuilderWidgetVariants, defaultWidgets };
|
|
923
|
+
//# sourceMappingURL=chunk-QIETN4UU.js.map
|
|
924
|
+
//# sourceMappingURL=chunk-QIETN4UU.js.map
|