@elabs-ai/components-ui 4.2.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/chunk-22Z735L6.js +18 -0
- package/dist/chunk-22Z735L6.js.map +1 -0
- package/dist/chunk-23E62DNM.js +2 -0
- package/dist/chunk-23E62DNM.js.map +1 -0
- package/dist/chunk-2AABRSIN.js +2 -0
- package/dist/chunk-2AABRSIN.js.map +1 -0
- package/dist/chunk-2DFB4YTK.js +55 -0
- package/dist/chunk-2DFB4YTK.js.map +1 -0
- package/dist/chunk-2SBYBN45.js +2 -0
- package/dist/chunk-2SBYBN45.js.map +1 -0
- package/dist/chunk-2ZMPAD6C.js +357 -0
- package/dist/chunk-2ZMPAD6C.js.map +1 -0
- package/dist/chunk-36SY7TID.js +36 -0
- package/dist/chunk-36SY7TID.js.map +1 -0
- package/dist/chunk-36VULFFV.js +2 -0
- package/dist/chunk-36VULFFV.js.map +1 -0
- package/dist/chunk-3BZBNDRP.js +123 -0
- package/dist/chunk-3BZBNDRP.js.map +1 -0
- package/dist/chunk-3DJ4KY3U.js +82 -0
- package/dist/chunk-3DJ4KY3U.js.map +1 -0
- package/dist/chunk-3EDNWHWD.js +125 -0
- package/dist/chunk-3EDNWHWD.js.map +1 -0
- package/dist/chunk-3JAEQNCB.js +60 -0
- package/dist/chunk-3JAEQNCB.js.map +1 -0
- package/dist/chunk-3OSGTUN2.js +2 -0
- package/dist/chunk-3OSGTUN2.js.map +1 -0
- package/dist/chunk-3P7SRCDB.js +23 -0
- package/dist/chunk-3P7SRCDB.js.map +1 -0
- package/dist/chunk-3ZR5PMKB.js +41 -0
- package/dist/chunk-3ZR5PMKB.js.map +1 -0
- package/dist/chunk-45ICJ3EV.js +2 -0
- package/dist/chunk-45ICJ3EV.js.map +1 -0
- package/dist/chunk-47YSHR3H.js +77 -0
- package/dist/chunk-47YSHR3H.js.map +1 -0
- package/dist/chunk-4ACT7RLU.js +2 -0
- package/dist/chunk-4ACT7RLU.js.map +1 -0
- package/dist/chunk-4B2E4OCZ.js +44 -0
- package/dist/chunk-4B2E4OCZ.js.map +1 -0
- package/dist/chunk-4C4D6T5M.js +229 -0
- package/dist/chunk-4C4D6T5M.js.map +1 -0
- package/dist/chunk-4DWIMWR5.js +726 -0
- package/dist/chunk-4DWIMWR5.js.map +1 -0
- package/dist/chunk-4DZGAY6R.js +140 -0
- package/dist/chunk-4DZGAY6R.js.map +1 -0
- package/dist/chunk-4HTVJZVG.js +2 -0
- package/dist/chunk-4HTVJZVG.js.map +1 -0
- package/dist/chunk-4KDA5MDC.js +2 -0
- package/dist/chunk-4KDA5MDC.js.map +1 -0
- package/dist/chunk-4NSCLIES.js +126 -0
- package/dist/chunk-4NSCLIES.js.map +1 -0
- package/dist/chunk-4PXDZR2W.js +2 -0
- package/dist/chunk-4PXDZR2W.js.map +1 -0
- package/dist/chunk-4UWOADYM.js +2 -0
- package/dist/chunk-4UWOADYM.js.map +1 -0
- package/dist/chunk-4VCU3GFI.js +23 -0
- package/dist/chunk-4VCU3GFI.js.map +1 -0
- package/dist/chunk-4W3MVVKN.js +66 -0
- package/dist/chunk-4W3MVVKN.js.map +1 -0
- package/dist/chunk-4YOFSGHD.js +2 -0
- package/dist/chunk-4YOFSGHD.js.map +1 -0
- package/dist/chunk-545HI223.js +2 -0
- package/dist/chunk-545HI223.js.map +1 -0
- package/dist/chunk-55BM2IU2.js +186 -0
- package/dist/chunk-55BM2IU2.js.map +1 -0
- package/dist/chunk-5C5W52O2.js +27 -0
- package/dist/chunk-5C5W52O2.js.map +1 -0
- package/dist/chunk-5G2DDMHR.js +2 -0
- package/dist/chunk-5G2DDMHR.js.map +1 -0
- package/dist/chunk-5LCN5Q2L.js +23 -0
- package/dist/chunk-5LCN5Q2L.js.map +1 -0
- package/dist/chunk-5MXQ5CP7.js +93 -0
- package/dist/chunk-5MXQ5CP7.js.map +1 -0
- package/dist/chunk-5P4BSHIG.js +2 -0
- package/dist/chunk-5P4BSHIG.js.map +1 -0
- package/dist/chunk-5SHHIQVA.js +22 -0
- package/dist/chunk-5SHHIQVA.js.map +1 -0
- package/dist/chunk-5YZLOAKR.js +2 -0
- package/dist/chunk-5YZLOAKR.js.map +1 -0
- package/dist/chunk-653ZIWX6.js +2 -0
- package/dist/chunk-653ZIWX6.js.map +1 -0
- package/dist/chunk-6DHG7JVP.js +2 -0
- package/dist/chunk-6DHG7JVP.js.map +1 -0
- package/dist/chunk-6HTZBBTC.js +35 -0
- package/dist/chunk-6HTZBBTC.js.map +1 -0
- package/dist/chunk-6ROQKB4U.js +2 -0
- package/dist/chunk-6ROQKB4U.js.map +1 -0
- package/dist/chunk-6S43VAN7.js +2 -0
- package/dist/chunk-6S43VAN7.js.map +1 -0
- package/dist/chunk-6TJVJPNU.js +1321 -0
- package/dist/chunk-6TJVJPNU.js.map +1 -0
- package/dist/chunk-6VLJL7Q4.js +2 -0
- package/dist/chunk-6VLJL7Q4.js.map +1 -0
- package/dist/chunk-72H7HUTH.js +161 -0
- package/dist/chunk-72H7HUTH.js.map +1 -0
- package/dist/chunk-7KV7H2TW.js +323 -0
- package/dist/chunk-7KV7H2TW.js.map +1 -0
- package/dist/chunk-7WIHVGYL.js +2 -0
- package/dist/chunk-7WIHVGYL.js.map +1 -0
- package/dist/chunk-7Z2RAGOA.js +90 -0
- package/dist/chunk-7Z2RAGOA.js.map +1 -0
- package/dist/chunk-AA3SPDJU.js +2 -0
- package/dist/chunk-AA3SPDJU.js.map +1 -0
- package/dist/chunk-AC7X3D2M.js +2 -0
- package/dist/chunk-AC7X3D2M.js.map +1 -0
- package/dist/chunk-AE6LFFME.js +201 -0
- package/dist/chunk-AE6LFFME.js.map +1 -0
- package/dist/chunk-AE6UDP36.js +2 -0
- package/dist/chunk-AE6UDP36.js.map +1 -0
- package/dist/chunk-AFEFAGPW.js +2 -0
- package/dist/chunk-AFEFAGPW.js.map +1 -0
- package/dist/chunk-AFJCS2WV.js +95 -0
- package/dist/chunk-AFJCS2WV.js.map +1 -0
- package/dist/chunk-ALNJV4XB.js +218 -0
- package/dist/chunk-ALNJV4XB.js.map +1 -0
- package/dist/chunk-AQNLEP5F.js +2 -0
- package/dist/chunk-AQNLEP5F.js.map +1 -0
- package/dist/chunk-AUQVJ7KO.js +2 -0
- package/dist/chunk-AUQVJ7KO.js.map +1 -0
- package/dist/chunk-AXHMQOIZ.js +116 -0
- package/dist/chunk-AXHMQOIZ.js.map +1 -0
- package/dist/chunk-AZEABCK4.js +30 -0
- package/dist/chunk-AZEABCK4.js.map +1 -0
- package/dist/chunk-B23VW24W.js +2 -0
- package/dist/chunk-B23VW24W.js.map +1 -0
- package/dist/chunk-B2RSOLLO.js +2 -0
- package/dist/chunk-B2RSOLLO.js.map +1 -0
- package/dist/chunk-B3DANITU.js +85 -0
- package/dist/chunk-B3DANITU.js.map +1 -0
- package/dist/chunk-B7FAQKHH.js +87 -0
- package/dist/chunk-B7FAQKHH.js.map +1 -0
- package/dist/chunk-BDOG4YSM.js +989 -0
- package/dist/chunk-BDOG4YSM.js.map +1 -0
- package/dist/chunk-BRL2HMZJ.js +110 -0
- package/dist/chunk-BRL2HMZJ.js.map +1 -0
- package/dist/chunk-BTBYNKT4.js +2 -0
- package/dist/chunk-BTBYNKT4.js.map +1 -0
- package/dist/chunk-BWL7HWEF.js +325 -0
- package/dist/chunk-BWL7HWEF.js.map +1 -0
- package/dist/chunk-BYFRDLDL.js +246 -0
- package/dist/chunk-BYFRDLDL.js.map +1 -0
- package/dist/chunk-BZQF5QCN.js +18 -0
- package/dist/chunk-BZQF5QCN.js.map +1 -0
- package/dist/chunk-C2AQEEFB.js +2 -0
- package/dist/chunk-C2AQEEFB.js.map +1 -0
- package/dist/chunk-C2ICCCP5.js +400 -0
- package/dist/chunk-C2ICCCP5.js.map +1 -0
- package/dist/chunk-C5QBV5RE.js +77 -0
- package/dist/chunk-C5QBV5RE.js.map +1 -0
- package/dist/chunk-C753P3VJ.js +2 -0
- package/dist/chunk-C753P3VJ.js.map +1 -0
- package/dist/chunk-CDE74W6O.js +2 -0
- package/dist/chunk-CDE74W6O.js.map +1 -0
- package/dist/chunk-CDMJSXCB.js +62 -0
- package/dist/chunk-CDMJSXCB.js.map +1 -0
- package/dist/chunk-CEDK5GM2.js +68 -0
- package/dist/chunk-CEDK5GM2.js.map +1 -0
- package/dist/chunk-CEHCVDYR.js +476 -0
- package/dist/chunk-CEHCVDYR.js.map +1 -0
- package/dist/chunk-CEQ3YKHR.js +35 -0
- package/dist/chunk-CEQ3YKHR.js.map +1 -0
- package/dist/chunk-CEQER4CV.js +2 -0
- package/dist/chunk-CEQER4CV.js.map +1 -0
- package/dist/chunk-CMP4F537.js +190 -0
- package/dist/chunk-CMP4F537.js.map +1 -0
- package/dist/chunk-CRGGGHAM.js +2 -0
- package/dist/chunk-CRGGGHAM.js.map +1 -0
- package/dist/chunk-CRVB4SLG.js +2 -0
- package/dist/chunk-CRVB4SLG.js.map +1 -0
- package/dist/chunk-CT6XJIPY.js +2 -0
- package/dist/chunk-CT6XJIPY.js.map +1 -0
- package/dist/chunk-CY5ISPFB.js +235 -0
- package/dist/chunk-CY5ISPFB.js.map +1 -0
- package/dist/chunk-CY624JOL.js +2 -0
- package/dist/chunk-CY624JOL.js.map +1 -0
- package/dist/chunk-D53EN4Q6.js +2 -0
- package/dist/chunk-D53EN4Q6.js.map +1 -0
- package/dist/chunk-D5INX2EF.js +50 -0
- package/dist/chunk-D5INX2EF.js.map +1 -0
- package/dist/chunk-DCHYNTHI.js +11 -0
- package/dist/chunk-DCHYNTHI.js.map +1 -0
- package/dist/chunk-DIQJODQR.js +2 -0
- package/dist/chunk-DIQJODQR.js.map +1 -0
- package/dist/chunk-DSGTH6JW.js +2 -0
- package/dist/chunk-DSGTH6JW.js.map +1 -0
- package/dist/chunk-DU6ITAJL.js +2 -0
- package/dist/chunk-DU6ITAJL.js.map +1 -0
- package/dist/chunk-DXC3DTCV.js +256 -0
- package/dist/chunk-DXC3DTCV.js.map +1 -0
- package/dist/chunk-DXDLTYTT.js +2 -0
- package/dist/chunk-DXDLTYTT.js.map +1 -0
- package/dist/chunk-E3GNYOLS.js +26 -0
- package/dist/chunk-E3GNYOLS.js.map +1 -0
- package/dist/chunk-EAFPUZ46.js +2 -0
- package/dist/chunk-EAFPUZ46.js.map +1 -0
- package/dist/chunk-EBDOKU5K.js +2 -0
- package/dist/chunk-EBDOKU5K.js.map +1 -0
- package/dist/chunk-EBNPVPR7.js +266 -0
- package/dist/chunk-EBNPVPR7.js.map +1 -0
- package/dist/chunk-EDE73Q6Z.js +2 -0
- package/dist/chunk-EDE73Q6Z.js.map +1 -0
- package/dist/chunk-EJ3XWNY3.js +52 -0
- package/dist/chunk-EJ3XWNY3.js.map +1 -0
- package/dist/chunk-EJQYE4MY.js +100 -0
- package/dist/chunk-EJQYE4MY.js.map +1 -0
- package/dist/chunk-ENL3CCZB.js +385 -0
- package/dist/chunk-ENL3CCZB.js.map +1 -0
- package/dist/chunk-EP3U7OQ3.js +18 -0
- package/dist/chunk-EP3U7OQ3.js.map +1 -0
- package/dist/chunk-ERTYAID6.js +101 -0
- package/dist/chunk-ERTYAID6.js.map +1 -0
- package/dist/chunk-FAOX6A5D.js +2 -0
- package/dist/chunk-FAOX6A5D.js.map +1 -0
- package/dist/chunk-FBJ2JSRA.js +47 -0
- package/dist/chunk-FBJ2JSRA.js.map +1 -0
- package/dist/chunk-FDJ77DTR.js +2 -0
- package/dist/chunk-FDJ77DTR.js.map +1 -0
- package/dist/chunk-FG3PDWE3.js +31 -0
- package/dist/chunk-FG3PDWE3.js.map +1 -0
- package/dist/chunk-FHDJKH2A.js +2 -0
- package/dist/chunk-FHDJKH2A.js.map +1 -0
- package/dist/chunk-FLCQKC64.js +97 -0
- package/dist/chunk-FLCQKC64.js.map +1 -0
- package/dist/chunk-FPLZ24MK.js +2 -0
- package/dist/chunk-FPLZ24MK.js.map +1 -0
- package/dist/chunk-FRFSDZIN.js +2 -0
- package/dist/chunk-FRFSDZIN.js.map +1 -0
- package/dist/chunk-FXC64HLD.js +137 -0
- package/dist/chunk-FXC64HLD.js.map +1 -0
- package/dist/chunk-FXWWDMMP.js +55 -0
- package/dist/chunk-FXWWDMMP.js.map +1 -0
- package/dist/chunk-FZEG2R3E.js +30 -0
- package/dist/chunk-FZEG2R3E.js.map +1 -0
- package/dist/chunk-G3OTDYCD.js +53 -0
- package/dist/chunk-G3OTDYCD.js.map +1 -0
- package/dist/chunk-G72UOVKS.js +2 -0
- package/dist/chunk-G72UOVKS.js.map +1 -0
- package/dist/chunk-GAI4NEPU.js +151 -0
- package/dist/chunk-GAI4NEPU.js.map +1 -0
- package/dist/chunk-GMXSCEYN.js +24 -0
- package/dist/chunk-GMXSCEYN.js.map +1 -0
- package/dist/chunk-GTBVTLZJ.js +54 -0
- package/dist/chunk-GTBVTLZJ.js.map +1 -0
- package/dist/chunk-GTDCC4YX.js +197 -0
- package/dist/chunk-GTDCC4YX.js.map +1 -0
- package/dist/chunk-GV6GQXKX.js +176 -0
- package/dist/chunk-GV6GQXKX.js.map +1 -0
- package/dist/chunk-GWHO5ACE.js +637 -0
- package/dist/chunk-GWHO5ACE.js.map +1 -0
- package/dist/chunk-H5XSI63P.js +2 -0
- package/dist/chunk-H5XSI63P.js.map +1 -0
- package/dist/chunk-HANBQNW3.js +1498 -0
- package/dist/chunk-HANBQNW3.js.map +1 -0
- package/dist/chunk-HCU2JHPH.js +169 -0
- package/dist/chunk-HCU2JHPH.js.map +1 -0
- package/dist/chunk-HDDXP2J7.js +2 -0
- package/dist/chunk-HDDXP2J7.js.map +1 -0
- package/dist/chunk-HDS64Z5L.js +54 -0
- package/dist/chunk-HDS64Z5L.js.map +1 -0
- package/dist/chunk-HF6BGFUV.js +78 -0
- package/dist/chunk-HF6BGFUV.js.map +1 -0
- package/dist/chunk-HHVULJGX.js +2 -0
- package/dist/chunk-HHVULJGX.js.map +1 -0
- package/dist/chunk-HHZJALGA.js +163 -0
- package/dist/chunk-HHZJALGA.js.map +1 -0
- package/dist/chunk-HLMFRCFE.js +2 -0
- package/dist/chunk-HLMFRCFE.js.map +1 -0
- package/dist/chunk-HND6FAMX.js +75 -0
- package/dist/chunk-HND6FAMX.js.map +1 -0
- package/dist/chunk-HNLYRHAU.js +74 -0
- package/dist/chunk-HNLYRHAU.js.map +1 -0
- package/dist/chunk-HPUPDT4Q.js +2 -0
- package/dist/chunk-HPUPDT4Q.js.map +1 -0
- package/dist/chunk-HUIYDDDL.js +189 -0
- package/dist/chunk-HUIYDDDL.js.map +1 -0
- package/dist/chunk-HWVU636Q.js +787 -0
- package/dist/chunk-HWVU636Q.js.map +1 -0
- package/dist/chunk-HXQ4MDCH.js +296 -0
- package/dist/chunk-HXQ4MDCH.js.map +1 -0
- package/dist/chunk-HZPNST7D.js +2 -0
- package/dist/chunk-HZPNST7D.js.map +1 -0
- package/dist/chunk-I3U52BDH.js +36 -0
- package/dist/chunk-I3U52BDH.js.map +1 -0
- package/dist/chunk-I6O6ACCH.js +2 -0
- package/dist/chunk-I6O6ACCH.js.map +1 -0
- package/dist/chunk-IE5GWE72.js +177 -0
- package/dist/chunk-IE5GWE72.js.map +1 -0
- package/dist/chunk-IIY5JRNW.js +93 -0
- package/dist/chunk-IIY5JRNW.js.map +1 -0
- package/dist/chunk-IM5VJP6T.js +2 -0
- package/dist/chunk-IM5VJP6T.js.map +1 -0
- package/dist/chunk-IRUZDWJ3.js +218 -0
- package/dist/chunk-IRUZDWJ3.js.map +1 -0
- package/dist/chunk-ISWUCXEZ.js +2 -0
- package/dist/chunk-ISWUCXEZ.js.map +1 -0
- package/dist/chunk-IUQ474IC.js +2 -0
- package/dist/chunk-IUQ474IC.js.map +1 -0
- package/dist/chunk-IVEDMK5U.js +61 -0
- package/dist/chunk-IVEDMK5U.js.map +1 -0
- package/dist/chunk-IY23F2Y5.js +2 -0
- package/dist/chunk-IY23F2Y5.js.map +1 -0
- package/dist/chunk-JCRBDA66.js +2 -0
- package/dist/chunk-JCRBDA66.js.map +1 -0
- package/dist/chunk-JTY3REOB.js +76 -0
- package/dist/chunk-JTY3REOB.js.map +1 -0
- package/dist/chunk-JVCIAEFT.js +68 -0
- package/dist/chunk-JVCIAEFT.js.map +1 -0
- package/dist/chunk-JWWJ2Z5C.js +2 -0
- package/dist/chunk-JWWJ2Z5C.js.map +1 -0
- package/dist/chunk-K2GLXCTG.js +2 -0
- package/dist/chunk-K2GLXCTG.js.map +1 -0
- package/dist/chunk-K4V2ELUZ.js +36 -0
- package/dist/chunk-K4V2ELUZ.js.map +1 -0
- package/dist/chunk-KAAJL2HA.js +327 -0
- package/dist/chunk-KAAJL2HA.js.map +1 -0
- package/dist/chunk-KBWHHAI3.js +246 -0
- package/dist/chunk-KBWHHAI3.js.map +1 -0
- package/dist/chunk-KK2TIWTF.js +54 -0
- package/dist/chunk-KK2TIWTF.js.map +1 -0
- package/dist/chunk-KPZFLTZ2.js +61 -0
- package/dist/chunk-KPZFLTZ2.js.map +1 -0
- package/dist/chunk-KRVSD4OK.js +2 -0
- package/dist/chunk-KRVSD4OK.js.map +1 -0
- package/dist/chunk-KXYL3CUS.js +74 -0
- package/dist/chunk-KXYL3CUS.js.map +1 -0
- package/dist/chunk-L37QZALU.js +17 -0
- package/dist/chunk-L37QZALU.js.map +1 -0
- package/dist/chunk-L3SHPHLK.js +35 -0
- package/dist/chunk-L3SHPHLK.js.map +1 -0
- package/dist/chunk-L5O2O67Y.js +164 -0
- package/dist/chunk-L5O2O67Y.js.map +1 -0
- package/dist/chunk-L66VJIRD.js +2 -0
- package/dist/chunk-L66VJIRD.js.map +1 -0
- package/dist/chunk-L6A3RXCU.js +140 -0
- package/dist/chunk-L6A3RXCU.js.map +1 -0
- package/dist/chunk-LDOCY4SU.js +68 -0
- package/dist/chunk-LDOCY4SU.js.map +1 -0
- package/dist/chunk-LG33MONJ.js +74 -0
- package/dist/chunk-LG33MONJ.js.map +1 -0
- package/dist/chunk-LJGWA2XL.js +2 -0
- package/dist/chunk-LJGWA2XL.js.map +1 -0
- package/dist/chunk-LLQWLZ75.js +2 -0
- package/dist/chunk-LLQWLZ75.js.map +1 -0
- package/dist/chunk-LLYLDZXC.js +54 -0
- package/dist/chunk-LLYLDZXC.js.map +1 -0
- package/dist/chunk-LMV225AS.js +39 -0
- package/dist/chunk-LMV225AS.js.map +1 -0
- package/dist/chunk-LSYVAOSH.js +2 -0
- package/dist/chunk-LSYVAOSH.js.map +1 -0
- package/dist/chunk-LYVBDMDQ.js +2 -0
- package/dist/chunk-LYVBDMDQ.js.map +1 -0
- package/dist/chunk-M2KNQZUL.js +73 -0
- package/dist/chunk-M2KNQZUL.js.map +1 -0
- package/dist/chunk-M3WSUFD4.js +2 -0
- package/dist/chunk-M3WSUFD4.js.map +1 -0
- package/dist/chunk-M5WPZXBA.js +118 -0
- package/dist/chunk-M5WPZXBA.js.map +1 -0
- package/dist/chunk-MDQYRES4.js +796 -0
- package/dist/chunk-MDQYRES4.js.map +1 -0
- package/dist/chunk-MIXCXZWT.js +2 -0
- package/dist/chunk-MIXCXZWT.js.map +1 -0
- package/dist/chunk-MJAIURHO.js +56 -0
- package/dist/chunk-MJAIURHO.js.map +1 -0
- package/dist/chunk-MLGBLKUH.js +2 -0
- package/dist/chunk-MLGBLKUH.js.map +1 -0
- package/dist/chunk-MNS2VWHD.js +2 -0
- package/dist/chunk-MNS2VWHD.js.map +1 -0
- package/dist/chunk-MPMMU3QI.js +2 -0
- package/dist/chunk-MPMMU3QI.js.map +1 -0
- package/dist/chunk-MRBDJASL.js +97 -0
- package/dist/chunk-MRBDJASL.js.map +1 -0
- package/dist/chunk-MRWOHWEH.js +2 -0
- package/dist/chunk-MRWOHWEH.js.map +1 -0
- package/dist/chunk-MY5H6D5Y.js +245 -0
- package/dist/chunk-MY5H6D5Y.js.map +1 -0
- package/dist/chunk-MZDL7N52.js +2 -0
- package/dist/chunk-MZDL7N52.js.map +1 -0
- package/dist/chunk-N7PJTMRL.js +2 -0
- package/dist/chunk-N7PJTMRL.js.map +1 -0
- package/dist/chunk-NMGNXW3J.js +98 -0
- package/dist/chunk-NMGNXW3J.js.map +1 -0
- package/dist/chunk-NRNIUM75.js +2 -0
- package/dist/chunk-NRNIUM75.js.map +1 -0
- package/dist/chunk-NRPZ3BH4.js +85 -0
- package/dist/chunk-NRPZ3BH4.js.map +1 -0
- package/dist/chunk-NXCOVGDU.js +100 -0
- package/dist/chunk-NXCOVGDU.js.map +1 -0
- package/dist/chunk-NZUKZRT7.js +201 -0
- package/dist/chunk-NZUKZRT7.js.map +1 -0
- package/dist/chunk-O3JWMB6O.js +20 -0
- package/dist/chunk-O3JWMB6O.js.map +1 -0
- package/dist/chunk-O6V65J5J.js +81 -0
- package/dist/chunk-O6V65J5J.js.map +1 -0
- package/dist/chunk-OEPN373X.js +2 -0
- package/dist/chunk-OEPN373X.js.map +1 -0
- package/dist/chunk-OGTILHKP.js +355 -0
- package/dist/chunk-OGTILHKP.js.map +1 -0
- package/dist/chunk-OITCRC5D.js +2 -0
- package/dist/chunk-OITCRC5D.js.map +1 -0
- package/dist/chunk-OKV3N7QK.js +2 -0
- package/dist/chunk-OKV3N7QK.js.map +1 -0
- package/dist/chunk-OKY7ACZK.js +31 -0
- package/dist/chunk-OKY7ACZK.js.map +1 -0
- package/dist/chunk-ON2E7XHD.js +51 -0
- package/dist/chunk-ON2E7XHD.js.map +1 -0
- package/dist/chunk-OPBSVEMX.js +192 -0
- package/dist/chunk-OPBSVEMX.js.map +1 -0
- package/dist/chunk-OR4NVFPH.js +2 -0
- package/dist/chunk-OR4NVFPH.js.map +1 -0
- package/dist/chunk-OYKS7YHE.js +2 -0
- package/dist/chunk-OYKS7YHE.js.map +1 -0
- package/dist/chunk-PGKQZBLZ.js +55 -0
- package/dist/chunk-PGKQZBLZ.js.map +1 -0
- package/dist/chunk-PHAENHGL.js +19 -0
- package/dist/chunk-PHAENHGL.js.map +1 -0
- package/dist/chunk-PLCQZBZS.js +63 -0
- package/dist/chunk-PLCQZBZS.js.map +1 -0
- package/dist/chunk-PQZD5W3E.js +170 -0
- package/dist/chunk-PQZD5W3E.js.map +1 -0
- package/dist/chunk-PSBNQZB4.js +2 -0
- package/dist/chunk-PSBNQZB4.js.map +1 -0
- package/dist/chunk-PSXUEWUS.js +87 -0
- package/dist/chunk-PSXUEWUS.js.map +1 -0
- package/dist/chunk-PT5P4AAU.js +128 -0
- package/dist/chunk-PT5P4AAU.js.map +1 -0
- package/dist/chunk-PUACHQRH.js +31 -0
- package/dist/chunk-PUACHQRH.js.map +1 -0
- package/dist/chunk-QDJHUNBQ.js +2 -0
- package/dist/chunk-QDJHUNBQ.js.map +1 -0
- package/dist/chunk-QF6UWWDY.js +125 -0
- package/dist/chunk-QF6UWWDY.js.map +1 -0
- package/dist/chunk-QKZX5HDY.js +209 -0
- package/dist/chunk-QKZX5HDY.js.map +1 -0
- package/dist/chunk-QLM3KTAQ.js +100 -0
- package/dist/chunk-QLM3KTAQ.js.map +1 -0
- package/dist/chunk-QODOFLHL.js +2 -0
- package/dist/chunk-QODOFLHL.js.map +1 -0
- package/dist/chunk-QRGYKV4J.js +2 -0
- package/dist/chunk-QRGYKV4J.js.map +1 -0
- package/dist/chunk-R27VUCWR.js +140 -0
- package/dist/chunk-R27VUCWR.js.map +1 -0
- package/dist/chunk-R5JYMCEA.js +2 -0
- package/dist/chunk-R5JYMCEA.js.map +1 -0
- package/dist/chunk-RB5AWLDJ.js +26 -0
- package/dist/chunk-RB5AWLDJ.js.map +1 -0
- package/dist/chunk-RF7JSNXJ.js +2 -0
- package/dist/chunk-RF7JSNXJ.js.map +1 -0
- package/dist/chunk-RFTC5UVB.js +126 -0
- package/dist/chunk-RFTC5UVB.js.map +1 -0
- package/dist/chunk-RHVYRQN4.js +201 -0
- package/dist/chunk-RHVYRQN4.js.map +1 -0
- package/dist/chunk-RHXVQZOW.js +2 -0
- package/dist/chunk-RHXVQZOW.js.map +1 -0
- package/dist/chunk-RIYDAMSQ.js +25 -0
- package/dist/chunk-RIYDAMSQ.js.map +1 -0
- package/dist/chunk-RMSMTLXH.js +2 -0
- package/dist/chunk-RMSMTLXH.js.map +1 -0
- package/dist/chunk-RRYWMYGI.js +14 -0
- package/dist/chunk-RRYWMYGI.js.map +1 -0
- package/dist/chunk-RTHCX2TG.js +59 -0
- package/dist/chunk-RTHCX2TG.js.map +1 -0
- package/dist/chunk-RYPK72YP.js +395 -0
- package/dist/chunk-RYPK72YP.js.map +1 -0
- package/dist/chunk-SCCBEFVK.js +187 -0
- package/dist/chunk-SCCBEFVK.js.map +1 -0
- package/dist/chunk-SEGTBIR4.js +110 -0
- package/dist/chunk-SEGTBIR4.js.map +1 -0
- package/dist/chunk-SGBCLZQF.js +38 -0
- package/dist/chunk-SGBCLZQF.js.map +1 -0
- package/dist/chunk-SLDJYJEG.js +133 -0
- package/dist/chunk-SLDJYJEG.js.map +1 -0
- package/dist/chunk-SMTAPQEQ.js +2 -0
- package/dist/chunk-SMTAPQEQ.js.map +1 -0
- package/dist/chunk-SS6EOZKZ.js +2 -0
- package/dist/chunk-SS6EOZKZ.js.map +1 -0
- package/dist/chunk-SSQG36MH.js +226 -0
- package/dist/chunk-SSQG36MH.js.map +1 -0
- package/dist/chunk-SWQCCR6Q.js +140 -0
- package/dist/chunk-SWQCCR6Q.js.map +1 -0
- package/dist/chunk-T2XEMEN2.js +2 -0
- package/dist/chunk-T2XEMEN2.js.map +1 -0
- package/dist/chunk-T7JOWG2A.js +10 -0
- package/dist/chunk-T7JOWG2A.js.map +1 -0
- package/dist/chunk-TAQI4JTE.js +12 -0
- package/dist/chunk-TAQI4JTE.js.map +1 -0
- package/dist/chunk-TNOANK34.js +4483 -0
- package/dist/chunk-TNOANK34.js.map +1 -0
- package/dist/chunk-U5BZXNHW.js +80 -0
- package/dist/chunk-U5BZXNHW.js.map +1 -0
- package/dist/chunk-U756JCDK.js +27 -0
- package/dist/chunk-U756JCDK.js.map +1 -0
- package/dist/chunk-U7QYCYHC.js +2 -0
- package/dist/chunk-U7QYCYHC.js.map +1 -0
- package/dist/chunk-UANAVLMS.js +2 -0
- package/dist/chunk-UANAVLMS.js.map +1 -0
- package/dist/chunk-UCEVPLR5.js +2 -0
- package/dist/chunk-UCEVPLR5.js.map +1 -0
- package/dist/chunk-UCQDLRHR.js +31 -0
- package/dist/chunk-UCQDLRHR.js.map +1 -0
- package/dist/chunk-UFF7LLGU.js +2 -0
- package/dist/chunk-UFF7LLGU.js.map +1 -0
- package/dist/chunk-UG2T7LMX.js +198 -0
- package/dist/chunk-UG2T7LMX.js.map +1 -0
- package/dist/chunk-UG5TKXTK.js +2 -0
- package/dist/chunk-UG5TKXTK.js.map +1 -0
- package/dist/chunk-UPGIQXUY.js +24 -0
- package/dist/chunk-UPGIQXUY.js.map +1 -0
- package/dist/chunk-UQPW7INX.js +91 -0
- package/dist/chunk-UQPW7INX.js.map +1 -0
- package/dist/chunk-UQRYTMR7.js +2 -0
- package/dist/chunk-UQRYTMR7.js.map +1 -0
- package/dist/chunk-USI4LB3N.js +2 -0
- package/dist/chunk-USI4LB3N.js.map +1 -0
- package/dist/chunk-UUSOIPM2.js +69 -0
- package/dist/chunk-UUSOIPM2.js.map +1 -0
- package/dist/chunk-V2S5DINS.js +2 -0
- package/dist/chunk-V2S5DINS.js.map +1 -0
- package/dist/chunk-V3EQ6ACC.js +2 -0
- package/dist/chunk-V3EQ6ACC.js.map +1 -0
- package/dist/chunk-V5QCJHDA.js +173 -0
- package/dist/chunk-V5QCJHDA.js.map +1 -0
- package/dist/chunk-V6U75PIG.js +147 -0
- package/dist/chunk-V6U75PIG.js.map +1 -0
- package/dist/chunk-VC4GKLZL.js +111 -0
- package/dist/chunk-VC4GKLZL.js.map +1 -0
- package/dist/chunk-VFS52GGI.js +2 -0
- package/dist/chunk-VFS52GGI.js.map +1 -0
- package/dist/chunk-VH7GG77B.js +2 -0
- package/dist/chunk-VH7GG77B.js.map +1 -0
- package/dist/chunk-VHLPJ4XW.js +2 -0
- package/dist/chunk-VHLPJ4XW.js.map +1 -0
- package/dist/chunk-VLE5THFD.js +2 -0
- package/dist/chunk-VLE5THFD.js.map +1 -0
- package/dist/chunk-VORFRWM5.js +2 -0
- package/dist/chunk-VORFRWM5.js.map +1 -0
- package/dist/chunk-VQ2T3OEC.js +27 -0
- package/dist/chunk-VQ2T3OEC.js.map +1 -0
- package/dist/chunk-W26KFY35.js +32 -0
- package/dist/chunk-W26KFY35.js.map +1 -0
- package/dist/chunk-W35X6J5P.js +232 -0
- package/dist/chunk-W35X6J5P.js.map +1 -0
- package/dist/chunk-W7I2X6VI.js +2 -0
- package/dist/chunk-W7I2X6VI.js.map +1 -0
- package/dist/chunk-W7OIVERI.js +31 -0
- package/dist/chunk-W7OIVERI.js.map +1 -0
- package/dist/chunk-WEEVXQIM.js +45 -0
- package/dist/chunk-WEEVXQIM.js.map +1 -0
- package/dist/chunk-WEM6XJ7Z.js +75 -0
- package/dist/chunk-WEM6XJ7Z.js.map +1 -0
- package/dist/chunk-WKNOKJA3.js +42 -0
- package/dist/chunk-WKNOKJA3.js.map +1 -0
- package/dist/chunk-WNIVCHDP.js +2 -0
- package/dist/chunk-WNIVCHDP.js.map +1 -0
- package/dist/chunk-WOMO5CZ7.js +2 -0
- package/dist/chunk-WOMO5CZ7.js.map +1 -0
- package/dist/chunk-WYENWW3Y.js +2 -0
- package/dist/chunk-WYENWW3Y.js.map +1 -0
- package/dist/chunk-X4FE7UKP.js +2 -0
- package/dist/chunk-X4FE7UKP.js.map +1 -0
- package/dist/chunk-XGX3UFLD.js +2 -0
- package/dist/chunk-XGX3UFLD.js.map +1 -0
- package/dist/chunk-XGXCMA5M.js +2 -0
- package/dist/chunk-XGXCMA5M.js.map +1 -0
- package/dist/chunk-XJQADN6S.js +41 -0
- package/dist/chunk-XJQADN6S.js.map +1 -0
- package/dist/chunk-XYFEQHEM.js +2 -0
- package/dist/chunk-XYFEQHEM.js.map +1 -0
- package/dist/chunk-Y33ZFTMR.js +163 -0
- package/dist/chunk-Y33ZFTMR.js.map +1 -0
- package/dist/chunk-YA2QGLUL.js +32 -0
- package/dist/chunk-YA2QGLUL.js.map +1 -0
- package/dist/chunk-YCFOFNQF.js +28 -0
- package/dist/chunk-YCFOFNQF.js.map +1 -0
- package/dist/chunk-YFGFNFVW.js +59 -0
- package/dist/chunk-YFGFNFVW.js.map +1 -0
- package/dist/chunk-YFKKMDJL.js +35 -0
- package/dist/chunk-YFKKMDJL.js.map +1 -0
- package/dist/chunk-YHVXYOL6.js +80 -0
- package/dist/chunk-YHVXYOL6.js.map +1 -0
- package/dist/chunk-YIFB24WW.js +37 -0
- package/dist/chunk-YIFB24WW.js.map +1 -0
- package/dist/chunk-YK4H7VWM.js +2 -0
- package/dist/chunk-YK4H7VWM.js.map +1 -0
- package/dist/chunk-YMFEBGTU.js +2 -0
- package/dist/chunk-YMFEBGTU.js.map +1 -0
- package/dist/chunk-YUFDC6RW.js +55 -0
- package/dist/chunk-YUFDC6RW.js.map +1 -0
- package/dist/chunk-YZVXIPBC.js +2 -0
- package/dist/chunk-YZVXIPBC.js.map +1 -0
- package/dist/chunk-Z44RRTMX.js +2 -0
- package/dist/chunk-Z44RRTMX.js.map +1 -0
- package/dist/chunk-Z4CYBG3H.js +2 -0
- package/dist/chunk-Z4CYBG3H.js.map +1 -0
- package/dist/chunk-ZALGMUSW.js +236 -0
- package/dist/chunk-ZALGMUSW.js.map +1 -0
- package/dist/chunk-ZE2H4J3P.js +2 -0
- package/dist/chunk-ZE2H4J3P.js.map +1 -0
- package/dist/chunk-ZEMTALKO.js +2 -0
- package/dist/chunk-ZEMTALKO.js.map +1 -0
- package/dist/chunk-ZFMM2NLA.js +169 -0
- package/dist/chunk-ZFMM2NLA.js.map +1 -0
- package/dist/chunk-ZI2OXD6L.js +244 -0
- package/dist/chunk-ZI2OXD6L.js.map +1 -0
- package/dist/chunk-ZRMF4YAS.js +158 -0
- package/dist/chunk-ZRMF4YAS.js.map +1 -0
- package/dist/chunk-ZSYT5H6U.js +178 -0
- package/dist/chunk-ZSYT5H6U.js.map +1 -0
- package/dist/chunk-ZXVPEQM5.js +2 -0
- package/dist/chunk-ZXVPEQM5.js.map +1 -0
- package/dist/components/accordion/accordion.js +16 -0
- package/dist/components/accordion/accordion.js.map +1 -0
- package/dist/components/accordion/index.js +17 -0
- package/dist/components/accordion/index.js.map +1 -0
- package/dist/components/advanced-group/advanced-group.js +18 -0
- package/dist/components/advanced-group/advanced-group.js.map +1 -0
- package/dist/components/advanced-group/index.js +18 -0
- package/dist/components/advanced-group/index.js.map +1 -0
- package/dist/components/alert/alert.js +16 -0
- package/dist/components/alert/alert.js.map +1 -0
- package/dist/components/alert/index.js +17 -0
- package/dist/components/alert/index.js.map +1 -0
- package/dist/components/alert-dialog/alert-dialog.js +30 -0
- package/dist/components/alert-dialog/alert-dialog.js.map +1 -0
- package/dist/components/alert-dialog/index.js +31 -0
- package/dist/components/alert-dialog/index.js.map +1 -0
- package/dist/components/ambient-field/ambient-field.css +59 -0
- package/dist/components/ambient-field/ambient-field.css.map +1 -0
- package/dist/components/ambient-field/ambient-field.js +15 -0
- package/dist/components/ambient-field/ambient-field.js.map +1 -0
- package/dist/components/ambient-field/index.css +59 -0
- package/dist/components/ambient-field/index.css.map +1 -0
- package/dist/components/ambient-field/index.js +16 -0
- package/dist/components/ambient-field/index.js.map +1 -0
- package/dist/components/app-shell/app-shell.js +14 -0
- package/dist/components/app-shell/app-shell.js.map +1 -0
- package/dist/components/app-shell/index.js +15 -0
- package/dist/components/app-shell/index.js.map +1 -0
- package/dist/components/app-sidebar/app-sidebar.js +31 -0
- package/dist/components/app-sidebar/app-sidebar.js.map +1 -0
- package/dist/components/app-sidebar/index.js +31 -0
- package/dist/components/app-sidebar/index.js.map +1 -0
- package/dist/components/aspect-ratio/aspect-ratio.js +9 -0
- package/dist/components/aspect-ratio/aspect-ratio.js.map +1 -0
- package/dist/components/aspect-ratio/index.js +10 -0
- package/dist/components/aspect-ratio/index.js.map +1 -0
- package/dist/components/attribution-panel/attribution-panel.js +24 -0
- package/dist/components/attribution-panel/attribution-panel.js.map +1 -0
- package/dist/components/attribution-panel/attribution-types.js +2 -0
- package/dist/components/attribution-panel/attribution-types.js.map +1 -0
- package/dist/components/attribution-panel/attributions.generated.js +9 -0
- package/dist/components/attribution-panel/attributions.generated.js.map +1 -0
- package/dist/components/attribution-panel/index.js +24 -0
- package/dist/components/attribution-panel/index.js.map +1 -0
- package/dist/components/avatar/avatar.js +14 -0
- package/dist/components/avatar/avatar.js.map +1 -0
- package/dist/components/avatar/index.js +15 -0
- package/dist/components/avatar/index.js.map +1 -0
- package/dist/components/badge/badge.js +16 -0
- package/dist/components/badge/badge.js.map +1 -0
- package/dist/components/badge/index.js +13 -0
- package/dist/components/badge/index.js.map +1 -0
- package/dist/components/bento-grid/bento-grid.js +16 -0
- package/dist/components/bento-grid/bento-grid.js.map +1 -0
- package/dist/components/bento-grid/index.js +16 -0
- package/dist/components/bento-grid/index.js.map +1 -0
- package/dist/components/bounded-number/bounded-number.js +24 -0
- package/dist/components/bounded-number/bounded-number.js.map +1 -0
- package/dist/components/bounded-number/index.js +24 -0
- package/dist/components/bounded-number/index.js.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.js +28 -0
- package/dist/components/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/components/breadcrumb/index.js +26 -0
- package/dist/components/breadcrumb/index.js.map +1 -0
- package/dist/components/button/button.js +12 -0
- package/dist/components/button/button.js.map +1 -0
- package/dist/components/button/index.js +13 -0
- package/dist/components/button/index.js.map +1 -0
- package/dist/components/button-group/button-group.js +18 -0
- package/dist/components/button-group/button-group.js.map +1 -0
- package/dist/components/button-group/index.js +19 -0
- package/dist/components/button-group/index.js.map +1 -0
- package/dist/components/calendar/calendar.js +12 -0
- package/dist/components/calendar/calendar.js.map +1 -0
- package/dist/components/calendar/index.js +13 -0
- package/dist/components/calendar/index.js.map +1 -0
- package/dist/components/card/card.js +27 -0
- package/dist/components/card/card.js.map +1 -0
- package/dist/components/card/index.js +27 -0
- package/dist/components/card/index.js.map +1 -0
- package/dist/components/carousel/carousel.js +24 -0
- package/dist/components/carousel/carousel.js.map +1 -0
- package/dist/components/carousel/index.js +24 -0
- package/dist/components/carousel/index.js.map +1 -0
- package/dist/components/change-review/change-review.js +34 -0
- package/dist/components/change-review/change-review.js.map +1 -0
- package/dist/components/change-review/index.js +34 -0
- package/dist/components/change-review/index.js.map +1 -0
- package/dist/components/checkbox/checkbox.js +10 -0
- package/dist/components/checkbox/checkbox.js.map +1 -0
- package/dist/components/checkbox/index.js +11 -0
- package/dist/components/checkbox/index.js.map +1 -0
- package/dist/components/collapsible/collapsible.js +14 -0
- package/dist/components/collapsible/collapsible.js.map +1 -0
- package/dist/components/collapsible/index.js +15 -0
- package/dist/components/collapsible/index.js.map +1 -0
- package/dist/components/collapsible-panel/index.js +11 -0
- package/dist/components/collapsible-panel/index.js.map +1 -0
- package/dist/components/collapsible-panel/use-collapsible-panel.js +11 -0
- package/dist/components/collapsible-panel/use-collapsible-panel.js.map +1 -0
- package/dist/components/color-picker/color-picker.js +18 -0
- package/dist/components/color-picker/color-picker.js.map +1 -0
- package/dist/components/color-picker/index.js +18 -0
- package/dist/components/color-picker/index.js.map +1 -0
- package/dist/components/combobox/combobox.js +28 -0
- package/dist/components/combobox/combobox.js.map +1 -0
- package/dist/components/combobox/index.js +28 -0
- package/dist/components/combobox/index.js.map +1 -0
- package/dist/components/command/command.js +39 -0
- package/dist/components/command/command.js.map +1 -0
- package/dist/components/command/index.js +39 -0
- package/dist/components/command/index.js.map +1 -0
- package/dist/components/command-chip/command-chip.js +17 -0
- package/dist/components/command-chip/command-chip.js.map +1 -0
- package/dist/components/command-chip/index.js +17 -0
- package/dist/components/command-chip/index.js.map +1 -0
- package/dist/components/command-trigger/command-trigger.js +12 -0
- package/dist/components/command-trigger/command-trigger.js.map +1 -0
- package/dist/components/command-trigger/index.js +13 -0
- package/dist/components/command-trigger/index.js.map +1 -0
- package/dist/components/confirm-dialog/confirm-dialog.js +20 -0
- package/dist/components/confirm-dialog/confirm-dialog.js.map +1 -0
- package/dist/components/confirm-dialog/index.js +20 -0
- package/dist/components/confirm-dialog/index.js.map +1 -0
- package/dist/components/context-menu/context-menu.js +36 -0
- package/dist/components/context-menu/context-menu.js.map +1 -0
- package/dist/components/context-menu/index.js +37 -0
- package/dist/components/context-menu/index.js.map +1 -0
- package/dist/components/context-rail/context-rail.js +35 -0
- package/dist/components/context-rail/context-rail.js.map +1 -0
- package/dist/components/context-rail/index.js +35 -0
- package/dist/components/context-rail/index.js.map +1 -0
- package/dist/components/copyable-value/copyable-value.js +19 -0
- package/dist/components/copyable-value/copyable-value.js.map +1 -0
- package/dist/components/copyable-value/index.js +17 -0
- package/dist/components/copyable-value/index.js.map +1 -0
- package/dist/components/date-picker/date-picker.js +21 -0
- package/dist/components/date-picker/date-picker.js.map +1 -0
- package/dist/components/date-picker/index.js +21 -0
- package/dist/components/date-picker/index.js.map +1 -0
- package/dist/components/date-range-picker/date-range-picker.js +22 -0
- package/dist/components/date-range-picker/date-range-picker.js.map +1 -0
- package/dist/components/date-range-picker/index.js +22 -0
- package/dist/components/date-range-picker/index.js.map +1 -0
- package/dist/components/descriptions/descriptions.js +12 -0
- package/dist/components/descriptions/descriptions.js.map +1 -0
- package/dist/components/descriptions/index.js +13 -0
- package/dist/components/descriptions/index.js.map +1 -0
- package/dist/components/dialog/dialog.js +41 -0
- package/dist/components/dialog/dialog.js.map +1 -0
- package/dist/components/dialog/index.js +45 -0
- package/dist/components/dialog/index.js.map +1 -0
- package/dist/components/dialog/use-dialog-dismiss-guard.js +10 -0
- package/dist/components/dialog/use-dialog-dismiss-guard.js.map +1 -0
- package/dist/components/drafting-marks/drafting-marks.js +14 -0
- package/dist/components/drafting-marks/drafting-marks.js.map +1 -0
- package/dist/components/drafting-marks/index.js +15 -0
- package/dist/components/drafting-marks/index.js.map +1 -0
- package/dist/components/drawer/drawer.js +26 -0
- package/dist/components/drawer/drawer.js.map +1 -0
- package/dist/components/drawer/index.js +27 -0
- package/dist/components/drawer/index.js.map +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.js +38 -0
- package/dist/components/dropdown-menu/dropdown-menu.js.map +1 -0
- package/dist/components/dropdown-menu/index.js +39 -0
- package/dist/components/dropdown-menu/index.js.map +1 -0
- package/dist/components/empty-state/empty-state.js +15 -0
- package/dist/components/empty-state/empty-state.js.map +1 -0
- package/dist/components/empty-state/index.js +16 -0
- package/dist/components/empty-state/index.js.map +1 -0
- package/dist/components/error-state/error-state.js +15 -0
- package/dist/components/error-state/error-state.js.map +1 -0
- package/dist/components/error-state/index.js +16 -0
- package/dist/components/error-state/index.js.map +1 -0
- package/dist/components/expand-dialog/expand-dialog.js +28 -0
- package/dist/components/expand-dialog/expand-dialog.js.map +1 -0
- package/dist/components/expand-dialog/index.js +28 -0
- package/dist/components/expand-dialog/index.js.map +1 -0
- package/dist/components/field/field-context.js +11 -0
- package/dist/components/field/field-context.js.map +1 -0
- package/dist/components/field/field.js +23 -0
- package/dist/components/field/field.js.map +1 -0
- package/dist/components/field/index.js +23 -0
- package/dist/components/field/index.js.map +1 -0
- package/dist/components/field-row/field-row.js +14 -0
- package/dist/components/field-row/field-row.js.map +1 -0
- package/dist/components/field-row/index.js +14 -0
- package/dist/components/field-row/index.js.map +1 -0
- package/dist/components/file-upload/file-upload.js +28 -0
- package/dist/components/file-upload/file-upload.js.map +1 -0
- package/dist/components/file-upload/index.js +26 -0
- package/dist/components/file-upload/index.js.map +1 -0
- package/dist/components/form/form.js +27 -0
- package/dist/components/form/form.js.map +1 -0
- package/dist/components/hover-card/hover-card.js +14 -0
- package/dist/components/hover-card/hover-card.js.map +1 -0
- package/dist/components/hover-card/index.js +15 -0
- package/dist/components/hover-card/index.js.map +1 -0
- package/dist/components/icon-button/icon-button.js +14 -0
- package/dist/components/icon-button/icon-button.js.map +1 -0
- package/dist/components/icon-button/index.js +15 -0
- package/dist/components/icon-button/index.js.map +1 -0
- package/dist/components/input/index.js +11 -0
- package/dist/components/input/index.js.map +1 -0
- package/dist/components/input/input.js +10 -0
- package/dist/components/input/input.js.map +1 -0
- package/dist/components/input-group/index.js +31 -0
- package/dist/components/input-group/index.js.map +1 -0
- package/dist/components/input-group/input-group.js +30 -0
- package/dist/components/input-group/input-group.js.map +1 -0
- package/dist/components/input-otp/index.js +17 -0
- package/dist/components/input-otp/index.js.map +1 -0
- package/dist/components/input-otp/input-otp.js +17 -0
- package/dist/components/input-otp/input-otp.js.map +1 -0
- package/dist/components/install-tabs/index.js +28 -0
- package/dist/components/install-tabs/index.js.map +1 -0
- package/dist/components/install-tabs/install-tabs.js +28 -0
- package/dist/components/install-tabs/install-tabs.js.map +1 -0
- package/dist/components/integration-matrix/index.js +26 -0
- package/dist/components/integration-matrix/index.js.map +1 -0
- package/dist/components/integration-matrix/integration-matrix.js +26 -0
- package/dist/components/integration-matrix/integration-matrix.js.map +1 -0
- package/dist/components/kbd/index.js +11 -0
- package/dist/components/kbd/index.js.map +1 -0
- package/dist/components/kbd/kbd.js +10 -0
- package/dist/components/kbd/kbd.js.map +1 -0
- package/dist/components/key-value-editor/index.js +18 -0
- package/dist/components/key-value-editor/index.js.map +1 -0
- package/dist/components/key-value-editor/key-value-editor.js +18 -0
- package/dist/components/key-value-editor/key-value-editor.js.map +1 -0
- package/dist/components/keyboard-shortcuts/index.js +25 -0
- package/dist/components/keyboard-shortcuts/index.js.map +1 -0
- package/dist/components/keyboard-shortcuts/keyboard-shortcuts.js +25 -0
- package/dist/components/keyboard-shortcuts/keyboard-shortcuts.js.map +1 -0
- package/dist/components/label/index.js +11 -0
- package/dist/components/label/index.js.map +1 -0
- package/dist/components/label/label.js +10 -0
- package/dist/components/label/label.js.map +1 -0
- package/dist/components/link-preview/index.js +14 -0
- package/dist/components/link-preview/index.js.map +1 -0
- package/dist/components/link-preview/link-preview.js +14 -0
- package/dist/components/link-preview/link-preview.js.map +1 -0
- package/dist/components/list-editor/index.js +18 -0
- package/dist/components/list-editor/index.js.map +1 -0
- package/dist/components/list-editor/list-editor.js +18 -0
- package/dist/components/list-editor/list-editor.js.map +1 -0
- package/dist/components/loading-state/index.js +16 -0
- package/dist/components/loading-state/index.js.map +1 -0
- package/dist/components/loading-state/loading-state.js +15 -0
- package/dist/components/loading-state/loading-state.js.map +1 -0
- package/dist/components/locale-provider/index.js +16 -0
- package/dist/components/locale-provider/index.js.map +1 -0
- package/dist/components/locale-provider/locale-provider.js +13 -0
- package/dist/components/locale-provider/locale-provider.js.map +1 -0
- package/dist/components/locale-provider/messages.js +10 -0
- package/dist/components/locale-provider/messages.js.map +1 -0
- package/dist/components/match-highlight/index.js +15 -0
- package/dist/components/match-highlight/index.js.map +1 -0
- package/dist/components/match-highlight/match-highlight.js +14 -0
- package/dist/components/match-highlight/match-highlight.js.map +1 -0
- package/dist/components/mention-input/index.js +46 -0
- package/dist/components/mention-input/index.js.map +1 -0
- package/dist/components/mention-input/mention-input.js +33 -0
- package/dist/components/mention-input/mention-input.js.map +1 -0
- package/dist/components/mention-input/mention-value.js +20 -0
- package/dist/components/mention-input/mention-value.js.map +1 -0
- package/dist/components/menubar/index.js +39 -0
- package/dist/components/menubar/index.js.map +1 -0
- package/dist/components/menubar/menubar.js +38 -0
- package/dist/components/menubar/menubar.js.map +1 -0
- package/dist/components/meter/index.js +15 -0
- package/dist/components/meter/index.js.map +1 -0
- package/dist/components/meter/meter.js +15 -0
- package/dist/components/meter/meter.js.map +1 -0
- package/dist/components/metric-card/index.js +24 -0
- package/dist/components/metric-card/index.js.map +1 -0
- package/dist/components/metric-card/metric-card.js +24 -0
- package/dist/components/metric-card/metric-card.js.map +1 -0
- package/dist/components/model-picker/index.js +37 -0
- package/dist/components/model-picker/index.js.map +1 -0
- package/dist/components/model-picker/model-picker-state.js +13 -0
- package/dist/components/model-picker/model-picker-state.js.map +1 -0
- package/dist/components/model-picker/model-picker.js +37 -0
- package/dist/components/model-picker/model-picker.js.map +1 -0
- package/dist/components/nav-main/index.js +33 -0
- package/dist/components/nav-main/index.js.map +1 -0
- package/dist/components/nav-main/nav-main.js +33 -0
- package/dist/components/nav-main/nav-main.js.map +1 -0
- package/dist/components/nav-notifications/index.js +20 -0
- package/dist/components/nav-notifications/index.js.map +1 -0
- package/dist/components/nav-notifications/nav-notifications.js +20 -0
- package/dist/components/nav-notifications/nav-notifications.js.map +1 -0
- package/dist/components/nav-user/index.js +35 -0
- package/dist/components/nav-user/index.js.map +1 -0
- package/dist/components/nav-user/nav-user.js +35 -0
- package/dist/components/nav-user/nav-user.js.map +1 -0
- package/dist/components/navigation-menu/index.js +25 -0
- package/dist/components/navigation-menu/index.js.map +1 -0
- package/dist/components/navigation-menu/navigation-menu.js +25 -0
- package/dist/components/navigation-menu/navigation-menu.js.map +1 -0
- package/dist/components/number-input/index.js +22 -0
- package/dist/components/number-input/index.js.map +1 -0
- package/dist/components/number-input/number-input.js +22 -0
- package/dist/components/number-input/number-input.js.map +1 -0
- package/dist/components/page-shell/index.js +11 -0
- package/dist/components/page-shell/index.js.map +1 -0
- package/dist/components/page-shell/page-shell.js +10 -0
- package/dist/components/page-shell/page-shell.js.map +1 -0
- package/dist/components/pagination/index.js +28 -0
- package/dist/components/pagination/index.js.map +1 -0
- package/dist/components/pagination/pagination.js +28 -0
- package/dist/components/pagination/pagination.js.map +1 -0
- package/dist/components/parallax-plane/index.css +17 -0
- package/dist/components/parallax-plane/index.css.map +1 -0
- package/dist/components/parallax-plane/index.js +18 -0
- package/dist/components/parallax-plane/index.js.map +1 -0
- package/dist/components/parallax-plane/parallax-plane.css +17 -0
- package/dist/components/parallax-plane/parallax-plane.css.map +1 -0
- package/dist/components/parallax-plane/parallax-plane.js +18 -0
- package/dist/components/parallax-plane/parallax-plane.js.map +1 -0
- package/dist/components/popover/index.js +17 -0
- package/dist/components/popover/index.js.map +1 -0
- package/dist/components/popover/popover.js +16 -0
- package/dist/components/popover/popover.js.map +1 -0
- package/dist/components/progress/index.js +13 -0
- package/dist/components/progress/index.js.map +1 -0
- package/dist/components/progress/progress.js +12 -0
- package/dist/components/progress/progress.js.map +1 -0
- package/dist/components/radio-group/index.js +13 -0
- package/dist/components/radio-group/index.js.map +1 -0
- package/dist/components/radio-group/radio-group.js +12 -0
- package/dist/components/radio-group/radio-group.js.map +1 -0
- package/dist/components/rating/index.js +11 -0
- package/dist/components/rating/index.js.map +1 -0
- package/dist/components/rating/rating.js +11 -0
- package/dist/components/rating/rating.js.map +1 -0
- package/dist/components/resizable/index.js +15 -0
- package/dist/components/resizable/index.js.map +1 -0
- package/dist/components/resizable/resizable.js +14 -0
- package/dist/components/resizable/resizable.js.map +1 -0
- package/dist/components/reveal/index.js +15 -0
- package/dist/components/reveal/index.js.map +1 -0
- package/dist/components/reveal/reveal.js +14 -0
- package/dist/components/reveal/reveal.js.map +1 -0
- package/dist/components/reveal-on-enter/index.css +21 -0
- package/dist/components/reveal-on-enter/index.css.map +1 -0
- package/dist/components/reveal-on-enter/index.js +12 -0
- package/dist/components/reveal-on-enter/index.js.map +1 -0
- package/dist/components/reveal-on-enter/reveal-on-enter.css +21 -0
- package/dist/components/reveal-on-enter/reveal-on-enter.css.map +1 -0
- package/dist/components/reveal-on-enter/reveal-on-enter.js +12 -0
- package/dist/components/reveal-on-enter/reveal-on-enter.js.map +1 -0
- package/dist/components/revision-timeline/index.js +18 -0
- package/dist/components/revision-timeline/index.js.map +1 -0
- package/dist/components/revision-timeline/revision-timeline.js +18 -0
- package/dist/components/revision-timeline/revision-timeline.js.map +1 -0
- package/dist/components/schema-form/from-json-schema.js +13 -0
- package/dist/components/schema-form/from-json-schema.js.map +1 -0
- package/dist/components/schema-form/index.js +140 -0
- package/dist/components/schema-form/index.js.map +1 -0
- package/dist/components/schema-form/schema-form-spec.js +63 -0
- package/dist/components/schema-form/schema-form-spec.js.map +1 -0
- package/dist/components/schema-form/schema-form-store.js +21 -0
- package/dist/components/schema-form/schema-form-store.js.map +1 -0
- package/dist/components/schema-form/schema-form.js +77 -0
- package/dist/components/schema-form/schema-form.js.map +1 -0
- package/dist/components/scroll-area/index.js +13 -0
- package/dist/components/scroll-area/index.js.map +1 -0
- package/dist/components/scroll-area/scroll-area.js +12 -0
- package/dist/components/scroll-area/scroll-area.js.map +1 -0
- package/dist/components/section-header/index.js +11 -0
- package/dist/components/section-header/index.js.map +1 -0
- package/dist/components/section-header/section-header.js +10 -0
- package/dist/components/section-header/section-header.js.map +1 -0
- package/dist/components/segmented-field/index.js +17 -0
- package/dist/components/segmented-field/index.js.map +1 -0
- package/dist/components/segmented-field/segmented-field.js +17 -0
- package/dist/components/segmented-field/segmented-field.js.map +1 -0
- package/dist/components/select/index.js +26 -0
- package/dist/components/select/index.js.map +1 -0
- package/dist/components/select/select.js +26 -0
- package/dist/components/select/select.js.map +1 -0
- package/dist/components/separator/index.js +11 -0
- package/dist/components/separator/index.js.map +1 -0
- package/dist/components/separator/separator.js +10 -0
- package/dist/components/separator/separator.js.map +1 -0
- package/dist/components/sheet/index.js +30 -0
- package/dist/components/sheet/index.js.map +1 -0
- package/dist/components/sheet/sheet.js +30 -0
- package/dist/components/sheet/sheet.js.map +1 -0
- package/dist/components/side-dock/index.js +20 -0
- package/dist/components/side-dock/index.js.map +1 -0
- package/dist/components/side-dock/side-dock.js +20 -0
- package/dist/components/side-dock/side-dock.js.map +1 -0
- package/dist/components/sidebar/index.js +77 -0
- package/dist/components/sidebar/index.js.map +1 -0
- package/dist/components/sidebar/sidebar.js +77 -0
- package/dist/components/sidebar/sidebar.js.map +1 -0
- package/dist/components/skeleton/index.js +11 -0
- package/dist/components/skeleton/index.js.map +1 -0
- package/dist/components/skeleton/skeleton.js +10 -0
- package/dist/components/skeleton/skeleton.js.map +1 -0
- package/dist/components/skip-link/index.js +11 -0
- package/dist/components/skip-link/index.js.map +1 -0
- package/dist/components/skip-link/skip-link.js +10 -0
- package/dist/components/skip-link/skip-link.js.map +1 -0
- package/dist/components/slider/index.js +11 -0
- package/dist/components/slider/index.js.map +1 -0
- package/dist/components/slider/slider.js +10 -0
- package/dist/components/slider/slider.js.map +1 -0
- package/dist/components/slider-number/index.js +26 -0
- package/dist/components/slider-number/index.js.map +1 -0
- package/dist/components/slider-number/slider-number.js +26 -0
- package/dist/components/slider-number/slider-number.js.map +1 -0
- package/dist/components/sonner/index.js +13 -0
- package/dist/components/sonner/index.js.map +1 -0
- package/dist/components/sonner/sonner.js +13 -0
- package/dist/components/sonner/sonner.js.map +1 -0
- package/dist/components/spec-playground/index.js +23 -0
- package/dist/components/spec-playground/index.js.map +1 -0
- package/dist/components/spec-playground/locate-json-path.js +17 -0
- package/dist/components/spec-playground/locate-json-path.js.map +1 -0
- package/dist/components/spec-playground/spec-playground.js +23 -0
- package/dist/components/spec-playground/spec-playground.js.map +1 -0
- package/dist/components/spinner/index.js +14 -0
- package/dist/components/spinner/index.js.map +1 -0
- package/dist/components/spinner/spinner.js +14 -0
- package/dist/components/spinner/spinner.js.map +1 -0
- package/dist/components/split-panel/index.js +13 -0
- package/dist/components/split-panel/index.js.map +1 -0
- package/dist/components/split-panel/split-panel.js +12 -0
- package/dist/components/split-panel/split-panel.js.map +1 -0
- package/dist/components/state-panel/index.js +17 -0
- package/dist/components/state-panel/index.js.map +1 -0
- package/dist/components/state-panel/state-panel.js +17 -0
- package/dist/components/state-panel/state-panel.js.map +1 -0
- package/dist/components/status-badge/index.js +30 -0
- package/dist/components/status-badge/index.js.map +1 -0
- package/dist/components/status-badge/status-badge.js +29 -0
- package/dist/components/status-badge/status-badge.js.map +1 -0
- package/dist/components/surface-tour/index.css +21 -0
- package/dist/components/surface-tour/index.css.map +1 -0
- package/dist/components/surface-tour/index.js +36 -0
- package/dist/components/surface-tour/index.js.map +1 -0
- package/dist/components/surface-tour/surface-tour.css +21 -0
- package/dist/components/surface-tour/surface-tour.css.map +1 -0
- package/dist/components/surface-tour/surface-tour.js +36 -0
- package/dist/components/surface-tour/surface-tour.js.map +1 -0
- package/dist/components/switch/index.js +11 -0
- package/dist/components/switch/index.js.map +1 -0
- package/dist/components/switch/switch.js +10 -0
- package/dist/components/switch/switch.js.map +1 -0
- package/dist/components/table/index.js +28 -0
- package/dist/components/table/index.js.map +1 -0
- package/dist/components/table/table.js +28 -0
- package/dist/components/table/table.js.map +1 -0
- package/dist/components/tabs/index.js +22 -0
- package/dist/components/tabs/index.js.map +1 -0
- package/dist/components/tabs/tabs.js +22 -0
- package/dist/components/tabs/tabs.js.map +1 -0
- package/dist/components/tag-input/index.js +21 -0
- package/dist/components/tag-input/index.js.map +1 -0
- package/dist/components/tag-input/tag-input.js +21 -0
- package/dist/components/tag-input/tag-input.js.map +1 -0
- package/dist/components/team-switcher/index.js +33 -0
- package/dist/components/team-switcher/index.js.map +1 -0
- package/dist/components/team-switcher/team-switcher.js +33 -0
- package/dist/components/team-switcher/team-switcher.js.map +1 -0
- package/dist/components/textarea/index.js +11 -0
- package/dist/components/textarea/index.js.map +1 -0
- package/dist/components/textarea/textarea.js +10 -0
- package/dist/components/textarea/textarea.js.map +1 -0
- package/dist/components/theme-family-switch/index.js +19 -0
- package/dist/components/theme-family-switch/index.js.map +1 -0
- package/dist/components/theme-family-switch/theme-family-switch.js +19 -0
- package/dist/components/theme-family-switch/theme-family-switch.js.map +1 -0
- package/dist/components/theme-switcher/index.js +24 -0
- package/dist/components/theme-switcher/index.js.map +1 -0
- package/dist/components/theme-switcher/theme-switcher.js +21 -0
- package/dist/components/theme-switcher/theme-switcher.js.map +1 -0
- package/dist/components/theme-switcher/use-theme-transition.js +10 -0
- package/dist/components/theme-switcher/use-theme-transition.js.map +1 -0
- package/dist/components/timeline/index.js +18 -0
- package/dist/components/timeline/index.js.map +1 -0
- package/dist/components/timeline/timeline.js +19 -0
- package/dist/components/timeline/timeline.js.map +1 -0
- package/dist/components/toggle/index.js +13 -0
- package/dist/components/toggle/index.js.map +1 -0
- package/dist/components/toggle/toggle.js +12 -0
- package/dist/components/toggle/toggle.js.map +1 -0
- package/dist/components/toggle-group/index.js +15 -0
- package/dist/components/toggle-group/index.js.map +1 -0
- package/dist/components/toggle-group/toggle-group.js +15 -0
- package/dist/components/toggle-group/toggle-group.js.map +1 -0
- package/dist/components/token-spotlight/index.css +25 -0
- package/dist/components/token-spotlight/index.css.map +1 -0
- package/dist/components/token-spotlight/index.js +23 -0
- package/dist/components/token-spotlight/index.js.map +1 -0
- package/dist/components/token-spotlight/token-spotlight.css +25 -0
- package/dist/components/token-spotlight/token-spotlight.css.map +1 -0
- package/dist/components/token-spotlight/token-spotlight.js +23 -0
- package/dist/components/token-spotlight/token-spotlight.js.map +1 -0
- package/dist/components/token-spotlight/token-value-format.js +11 -0
- package/dist/components/token-spotlight/token-value-format.js.map +1 -0
- package/dist/components/toolbar/index.js +27 -0
- package/dist/components/toolbar/index.js.map +1 -0
- package/dist/components/toolbar/toolbar.js +27 -0
- package/dist/components/toolbar/toolbar.js.map +1 -0
- package/dist/components/tooltip/index.js +17 -0
- package/dist/components/tooltip/index.js.map +1 -0
- package/dist/components/tooltip/tooltip.js +16 -0
- package/dist/components/tooltip/tooltip.js.map +1 -0
- package/dist/components/top-nav/index.js +11 -0
- package/dist/components/top-nav/index.js.map +1 -0
- package/dist/components/top-nav/top-nav.js +10 -0
- package/dist/components/top-nav/top-nav.js.map +1 -0
- package/dist/components/transfer/index.js +26 -0
- package/dist/components/transfer/index.js.map +1 -0
- package/dist/components/transfer/transfer.js +26 -0
- package/dist/components/transfer/transfer.js.map +1 -0
- package/dist/components/tree/index.js +21 -0
- package/dist/components/tree/index.js.map +1 -0
- package/dist/components/tree/tree.js +18 -0
- package/dist/components/tree/tree.js.map +1 -0
- package/dist/components/tree/use-tree-keyboard.js +14 -0
- package/dist/components/tree/use-tree-keyboard.js.map +1 -0
- package/dist/components/tree-select/index.js +26 -0
- package/dist/components/tree-select/index.js.map +1 -0
- package/dist/components/tree-select/tree-select.js +26 -0
- package/dist/components/tree-select/tree-select.js.map +1 -0
- package/dist/components/typography/index.js +41 -0
- package/dist/components/typography/index.js.map +1 -0
- package/dist/components/typography/prose.js +29 -0
- package/dist/components/typography/prose.js.map +1 -0
- package/dist/components/typography/typography.js +18 -0
- package/dist/components/typography/typography.js.map +1 -0
- package/dist/components/view-toolbar/index.js +27 -0
- package/dist/components/view-toolbar/index.js.map +1 -0
- package/dist/components/view-toolbar/view-toolbar.js +27 -0
- package/dist/components/view-toolbar/view-toolbar.js.map +1 -0
- package/dist/components/virtual-select/index.js +26 -0
- package/dist/components/virtual-select/index.js.map +1 -0
- package/dist/components/virtual-select/use-virtual-listbox.js +10 -0
- package/dist/components/virtual-select/use-virtual-listbox.js.map +1 -0
- package/dist/components/virtual-select/virtual-select.js +23 -0
- package/dist/components/virtual-select/virtual-select.js.map +1 -0
- package/dist/components/wizard/index.js +19 -0
- package/dist/components/wizard/index.js.map +1 -0
- package/dist/components/wizard/wizard.js +19 -0
- package/dist/components/wizard/wizard.js.map +1 -0
- package/dist/components/workspace-picker/index.js +38 -0
- package/dist/components/workspace-picker/index.js.map +1 -0
- package/dist/components/workspace-picker/workspace-picker-state.js +9 -0
- package/dist/components/workspace-picker/workspace-picker-state.js.map +1 -0
- package/dist/components/workspace-picker/workspace-picker.js +35 -0
- package/dist/components/workspace-picker/workspace-picker.js.map +1 -0
- package/dist/form.js +13 -110
- package/dist/form.js.map +1 -1
- package/dist/illustrations/empty-list-illustration.js +11 -0
- package/dist/illustrations/empty-list-illustration.js.map +1 -0
- package/dist/illustrations/error-illustration.js +11 -0
- package/dist/illustrations/error-illustration.js.map +1 -0
- package/dist/illustrations/first-run-illustration.js +11 -0
- package/dist/illustrations/first-run-illustration.js.map +1 -0
- package/dist/illustrations/illustration-base.js +16 -0
- package/dist/illustrations/illustration-base.js.map +1 -0
- package/dist/illustrations/index.js +41 -0
- package/dist/illustrations/index.js.map +1 -0
- package/dist/illustrations/no-access-illustration.js +11 -0
- package/dist/illustrations/no-access-illustration.js.map +1 -0
- package/dist/illustrations/no-results-illustration.js +11 -0
- package/dist/illustrations/no-results-illustration.js.map +1 -0
- package/dist/illustrations/offline-illustration.js +11 -0
- package/dist/illustrations/offline-illustration.js.map +1 -0
- package/dist/illustrations/success-illustration.js +11 -0
- package/dist/illustrations/success-illustration.js.map +1 -0
- package/dist/index.css +122 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.ts +1312 -119
- package/dist/index.js +1002 -23939
- package/dist/index.js.map +1 -1
- package/dist/lib/agent-event-model.js +9 -0
- package/dist/lib/agent-event-model.js.map +1 -0
- package/dist/lib/approval-option.js +9 -0
- package/dist/lib/approval-option.js.map +1 -0
- package/dist/lib/check-result.js +3 -0
- package/dist/lib/check-result.js.map +1 -0
- package/dist/lib/cn.js +30 -7
- package/dist/lib/cn.js.map +1 -1
- package/dist/lib/color-scale.js +11 -0
- package/dist/lib/color-scale.js.map +1 -0
- package/dist/lib/compact-number.js +21 -0
- package/dist/lib/compact-number.js.map +1 -0
- package/dist/lib/csv.js +11 -0
- package/dist/lib/csv.js.map +1 -0
- package/dist/lib/diff-line.js +11 -0
- package/dist/lib/diff-line.js.map +1 -0
- package/dist/lib/diff-rows.js +12 -0
- package/dist/lib/diff-rows.js.map +1 -0
- package/dist/lib/document-address.js +13 -0
- package/dist/lib/document-address.js.map +1 -0
- package/dist/lib/download.js +11 -0
- package/dist/lib/download.js.map +1 -0
- package/dist/lib/file-icon.js +12 -0
- package/dist/lib/file-icon.js.map +1 -0
- package/dist/lib/file-kind.js +13 -0
- package/dist/lib/file-kind.js.map +1 -0
- package/dist/lib/file-source.js +10 -0
- package/dist/lib/file-source.js.map +1 -0
- package/dist/lib/format-duration.js +9 -0
- package/dist/lib/format-duration.js.map +1 -0
- package/dist/lib/has-renderable-content.js +9 -0
- package/dist/lib/has-renderable-content.js.map +1 -0
- package/dist/lib/merge-refs.js +10 -0
- package/dist/lib/merge-refs.js.map +1 -0
- package/dist/lib/operating-mode.js +9 -0
- package/dist/lib/operating-mode.js.map +1 -0
- package/dist/lib/optional-peer.js +11 -0
- package/dist/lib/optional-peer.js.map +1 -0
- package/dist/lib/session-launch.js +3 -0
- package/dist/lib/session-launch.js.map +1 -0
- package/dist/lib/slash-command.js +11 -0
- package/dist/lib/slash-command.js.map +1 -0
- package/dist/lib/streamdown-translations.js +15 -0
- package/dist/lib/streamdown-translations.js.map +1 -0
- package/dist/lib/trigger-query.js +11 -0
- package/dist/lib/trigger-query.js.map +1 -0
- package/dist/lib/use-controllable-state.js +10 -0
- package/dist/lib/use-controllable-state.js.map +1 -0
- package/dist/lib/use-copy-to-clipboard.js +12 -0
- package/dist/lib/use-copy-to-clipboard.js.map +1 -0
- package/dist/lib/use-mobile.js +10 -0
- package/dist/lib/use-mobile.js.map +1 -0
- package/dist/lib/use-scroll-progress.js +18 -0
- package/dist/lib/use-scroll-progress.js.map +1 -0
- package/package.json +13 -6
- package/src/__contract__/ambient-field.contract.test.tsx +49 -0
- package/src/__contract__/command-chip.contract.test.tsx +49 -0
- package/src/__contract__/install-tabs.contract.test.tsx +49 -0
- package/src/__contract__/integration-matrix.contract.test.tsx +49 -0
- package/src/__contract__/meter.contract.test.tsx +49 -0
- package/src/__contract__/parallax-plane.contract.test.tsx +49 -0
- package/src/__contract__/reveal-on-enter.contract.test.tsx +49 -0
- package/src/__contract__/spec-playground.contract.test.tsx +49 -0
- package/src/__contract__/surface-tour.contract.test.tsx +49 -0
- package/src/__contract__/theme-family-switch.contract.test.tsx +49 -0
- package/src/__contract__/token-spotlight.contract.test.tsx +49 -0
- package/src/blocks-comparison-table.stories.tsx +1 -1
- package/src/components/accordion/accordion.tsx +31 -15
- package/src/components/advanced-group/advanced-group.stories.tsx +2 -0
- package/src/components/alert/alert.tsx +13 -5
- package/src/components/alert-dialog/alert-dialog.tsx +1 -1
- package/src/components/ambient-field/ambient-field.css +98 -0
- package/src/components/ambient-field/ambient-field.stories.tsx +75 -0
- package/src/components/ambient-field/ambient-field.test.tsx +28 -0
- package/src/components/ambient-field/ambient-field.tsx +69 -0
- package/src/components/ambient-field/index.ts +7 -0
- package/src/components/app-shell/app-shell.stories.tsx +344 -1
- package/src/components/app-shell/app-shell.test.tsx +167 -0
- package/src/components/app-shell/app-shell.tsx +119 -5
- package/src/components/app-shell/index.ts +1 -1
- package/src/components/attribution-panel/attributions.generated.ts +77 -4
- package/src/components/badge/badge.stories.tsx +62 -0
- package/src/components/badge/badge.test.tsx +21 -0
- package/src/components/badge/badge.tsx +88 -8
- package/src/components/breadcrumb/breadcrumb.stories.tsx +1 -1
- package/src/components/breadcrumb/breadcrumb.tsx +2 -0
- package/src/components/button/button.stories.tsx +5 -1
- package/src/components/button/button.tsx +19 -8
- package/src/components/calendar/calendar.tsx +6 -1
- package/src/components/card/card.stories.tsx +73 -1
- package/src/components/card/card.test.tsx +29 -2
- package/src/components/card/card.tsx +77 -13
- package/src/components/card/index.ts +2 -0
- package/src/components/change-review/change-review.tsx +1 -1
- package/src/components/collapsible-panel/index.ts +1 -0
- package/src/components/collapsible-panel/use-collapsible-panel.ts +21 -2
- package/src/components/color-picker/color-picker.tsx +3 -3
- package/src/components/command/command.stories.tsx +64 -1
- package/src/components/command/command.test.tsx +73 -0
- package/src/components/command/command.tsx +73 -2
- package/src/components/command-chip/command-chip.stories.tsx +78 -0
- package/src/components/command-chip/command-chip.test.tsx +57 -0
- package/src/components/command-chip/command-chip.tsx +168 -0
- package/src/components/command-chip/index.ts +7 -0
- package/src/components/command-trigger/command-trigger.tsx +1 -1
- package/src/components/confirm-dialog/confirm-dialog.stories.tsx +2 -0
- package/src/components/context-menu/context-menu.stories.tsx +26 -0
- package/src/components/context-menu/context-menu.tsx +6 -6
- package/src/components/context-rail/context-rail.tsx +22 -4
- package/src/components/date-picker/date-picker.tsx +2 -0
- package/src/components/descriptions/descriptions.stories.tsx +6 -0
- package/src/components/descriptions/descriptions.test.tsx +18 -0
- package/src/components/descriptions/descriptions.tsx +33 -5
- package/src/components/descriptions/index.ts +1 -0
- package/src/components/dialog/dialog.stories.tsx +5 -0
- package/src/components/dialog/dialog.tsx +1 -1
- package/src/components/drafting-marks/drafting-marks.stories.tsx +88 -0
- package/src/components/drafting-marks/drafting-marks.test.tsx +55 -0
- package/src/components/drafting-marks/drafting-marks.tsx +120 -0
- package/src/components/drafting-marks/index.ts +7 -0
- package/src/components/dropdown-menu/dropdown-menu.stories.tsx +37 -0
- package/src/components/dropdown-menu/dropdown-menu.tsx +14 -6
- package/src/components/expand-dialog/expand-dialog.test.tsx +47 -0
- package/src/components/expand-dialog/expand-dialog.tsx +20 -5
- package/src/components/hover-card/hover-card.tsx +1 -1
- package/src/components/input/input.stories.tsx +17 -0
- package/src/components/input/input.tsx +1 -1
- package/src/components/input-group/input-group.stories.tsx +43 -6
- package/src/components/input-group/input-group.tsx +5 -2
- package/src/components/input-otp/input-otp.tsx +4 -2
- package/src/components/install-tabs/index.ts +8 -0
- package/src/components/install-tabs/install-tabs.stories.tsx +147 -0
- package/src/components/install-tabs/install-tabs.test.tsx +120 -0
- package/src/components/install-tabs/install-tabs.tsx +238 -0
- package/src/components/integration-matrix/index.ts +10 -0
- package/src/components/integration-matrix/integration-matrix.stories.tsx +171 -0
- package/src/components/integration-matrix/integration-matrix.test.tsx +89 -0
- package/src/components/integration-matrix/integration-matrix.tsx +237 -0
- package/src/components/locale-provider/messages.ts +252 -0
- package/src/components/mention-input/mention-input.tsx +1 -1
- package/src/components/menubar/menubar.stories.tsx +25 -0
- package/src/components/menubar/menubar.tsx +7 -7
- package/src/components/meter/index.ts +1 -0
- package/src/components/meter/meter.stories.tsx +102 -0
- package/src/components/meter/meter.test.tsx +61 -0
- package/src/components/meter/meter.tsx +173 -0
- package/src/components/metric-card/index.ts +6 -1
- package/src/components/metric-card/metric-card.stories.tsx +63 -0
- package/src/components/metric-card/metric-card.test.tsx +83 -0
- package/src/components/metric-card/metric-card.tsx +97 -14
- package/src/components/nav-user/nav-user.test.tsx +23 -1
- package/src/components/nav-user/nav-user.tsx +68 -53
- package/src/components/navigation-menu/navigation-menu.stories.tsx +42 -0
- package/src/components/navigation-menu/navigation-menu.tsx +1 -1
- package/src/components/page-shell/page-shell.stories.tsx +1 -1
- package/src/components/page-shell/page-shell.tsx +3 -2
- package/src/components/pagination/pagination.tsx +2 -0
- package/src/components/parallax-plane/index.ts +8 -0
- package/src/components/parallax-plane/parallax-plane.css +26 -0
- package/src/components/parallax-plane/parallax-plane.stories.tsx +88 -0
- package/src/components/parallax-plane/parallax-plane.test.tsx +57 -0
- package/src/components/parallax-plane/parallax-plane.tsx +80 -0
- package/src/components/popover/popover.tsx +1 -1
- package/src/components/progress/progress.stories.tsx +85 -0
- package/src/components/progress/progress.test.tsx +47 -0
- package/src/components/progress/progress.tsx +57 -3
- package/src/components/reveal-on-enter/index.ts +5 -0
- package/src/components/reveal-on-enter/reveal-on-enter.css +32 -0
- package/src/components/reveal-on-enter/reveal-on-enter.stories.tsx +100 -0
- package/src/components/reveal-on-enter/reveal-on-enter.test.tsx +87 -0
- package/src/components/reveal-on-enter/reveal-on-enter.tsx +75 -0
- package/src/components/revision-timeline/revision-timeline.tsx +1 -3
- package/src/components/schema-form/index.ts +2 -0
- package/src/components/schema-form/schema-form-spec.ts +36 -0
- package/src/components/schema-form/schema-form.stories.tsx +33 -0
- package/src/components/schema-form/schema-form.test.tsx +43 -0
- package/src/components/schema-form/schema-form.tsx +111 -4
- package/src/components/scroll-area/index.ts +1 -1
- package/src/components/scroll-area/scroll-area.tsx +47 -18
- package/src/components/section-header/section-header.stories.tsx +23 -0
- package/src/components/section-header/section-header.tsx +27 -9
- package/src/components/select/select.stories.tsx +17 -0
- package/src/components/select/select.test.tsx +28 -1
- package/src/components/select/select.tsx +3 -3
- package/src/components/sheet/sheet.tsx +1 -1
- package/src/components/side-dock/side-dock.stories.tsx +83 -0
- package/src/components/side-dock/side-dock.tsx +50 -16
- package/src/components/sidebar/sidebar.stories.tsx +3 -3
- package/src/components/sidebar/sidebar.test.tsx +31 -1
- package/src/components/sidebar/sidebar.tsx +40 -8
- package/src/components/skip-link/skip-link.stories.tsx +1 -0
- package/src/components/slider/slider.stories.tsx +13 -77
- package/src/components/spec-playground/index.ts +10 -0
- package/src/components/spec-playground/locate-json-path.ts +144 -0
- package/src/components/spec-playground/spec-playground.stories.tsx +156 -0
- package/src/components/spec-playground/spec-playground.test.tsx +106 -0
- package/src/components/spec-playground/spec-playground.tsx +351 -0
- package/src/components/state-panel/state-panel.stories.tsx +4 -2
- package/src/components/state-panel/state-panel.tsx +1 -1
- package/src/components/status-badge/status-badge.stories.tsx +53 -0
- package/src/components/status-badge/status-badge.test.tsx +37 -0
- package/src/components/status-badge/status-badge.tsx +75 -13
- package/src/components/surface-tour/index.ts +11 -0
- package/src/components/surface-tour/surface-tour.stories.tsx +150 -0
- package/src/components/surface-tour/surface-tour.test.tsx +117 -0
- package/src/components/surface-tour/surface-tour.tsx +456 -0
- package/src/components/table/table.tsx +5 -2
- package/src/components/tabs/tabs.stories.tsx +47 -1
- package/src/components/tabs/tabs.test.tsx +26 -0
- package/src/components/tabs/tabs.tsx +51 -11
- package/src/components/textarea/textarea.tsx +1 -1
- package/src/components/theme-family-switch/index.ts +10 -0
- package/src/components/theme-family-switch/theme-family-switch.stories.tsx +97 -0
- package/src/components/theme-family-switch/theme-family-switch.test.tsx +85 -0
- package/src/components/theme-family-switch/theme-family-switch.tsx +166 -0
- package/src/components/theme-switcher/theme-switcher.tsx +11 -4
- package/src/components/token-spotlight/index.ts +11 -0
- package/src/components/token-spotlight/token-spotlight.css +32 -0
- package/src/components/token-spotlight/token-spotlight.stories.tsx +161 -0
- package/src/components/token-spotlight/token-spotlight.test.tsx +323 -0
- package/src/components/token-spotlight/token-spotlight.tsx +379 -0
- package/src/components/token-spotlight/token-value-format.ts +205 -0
- package/src/components/top-nav/top-nav.test.tsx +59 -0
- package/src/components/top-nav/top-nav.tsx +36 -6
- package/src/components/tree/tree.stories.tsx +1 -1
- package/src/components/tree/tree.test.tsx +4 -4
- package/src/components/tree/tree.tsx +4 -4
- package/src/components/typography/typography.stories.tsx +7 -2
- package/src/components/typography/typography.tsx +8 -0
- package/src/components/view-toolbar/view-toolbar.stories.tsx +2 -1
- package/src/components/view-toolbar/view-toolbar.tsx +2 -2
- package/src/decoration.stories.tsx +243 -2
- package/src/index.ts +47 -0
- package/src/lib/cn.test.ts +49 -0
- package/src/lib/cn.ts +39 -7
- package/src/lib/color-scale.test.ts +386 -0
- package/src/lib/color-scale.ts +628 -0
- package/src/lib/compact-number.ts +118 -28
- package/src/lib/use-scroll-progress.ts +103 -0
- package/src/motion.stories.tsx +1 -0
- package/src/templates-object-detail-hub.stories.tsx +8 -8
- package/src/templates-screen-states.stories.tsx +1 -1
- package/src/templates-settings.stories.tsx +8 -3
- package/dist/chunk-FCH4ZN6G.js +0 -57
- package/dist/chunk-FCH4ZN6G.js.map +0 -1
|
@@ -0,0 +1,989 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
SchemaFormStore,
|
|
4
|
+
useBranchHasError,
|
|
5
|
+
useEffectiveValues,
|
|
6
|
+
useFieldSnapshot,
|
|
7
|
+
useSchemaFormMeta,
|
|
8
|
+
useVisibleFieldNames
|
|
9
|
+
} from "./chunk-BWL7HWEF.js";
|
|
10
|
+
import {
|
|
11
|
+
checkFileIssue,
|
|
12
|
+
fieldLabel,
|
|
13
|
+
normalizeFormSpec,
|
|
14
|
+
optionLabel,
|
|
15
|
+
optionValue
|
|
16
|
+
} from "./chunk-TNOANK34.js";
|
|
17
|
+
import {
|
|
18
|
+
ListEditor
|
|
19
|
+
} from "./chunk-ALNJV4XB.js";
|
|
20
|
+
import {
|
|
21
|
+
KeyValueEditor
|
|
22
|
+
} from "./chunk-NZUKZRT7.js";
|
|
23
|
+
import {
|
|
24
|
+
Tabs,
|
|
25
|
+
TabsContent,
|
|
26
|
+
TabsList,
|
|
27
|
+
TabsTrigger
|
|
28
|
+
} from "./chunk-QKZX5HDY.js";
|
|
29
|
+
import {
|
|
30
|
+
Select,
|
|
31
|
+
SelectContent,
|
|
32
|
+
SelectItem,
|
|
33
|
+
SelectTrigger,
|
|
34
|
+
SelectValue
|
|
35
|
+
} from "./chunk-72H7HUTH.js";
|
|
36
|
+
import {
|
|
37
|
+
FileUpload,
|
|
38
|
+
FileUploadDropzone,
|
|
39
|
+
FileUploadItem,
|
|
40
|
+
FileUploadList,
|
|
41
|
+
useFileUpload
|
|
42
|
+
} from "./chunk-RYPK72YP.js";
|
|
43
|
+
import {
|
|
44
|
+
Descriptions,
|
|
45
|
+
DescriptionsItem
|
|
46
|
+
} from "./chunk-UUSOIPM2.js";
|
|
47
|
+
import {
|
|
48
|
+
Spinner
|
|
49
|
+
} from "./chunk-W7OIVERI.js";
|
|
50
|
+
import {
|
|
51
|
+
StatusBadge
|
|
52
|
+
} from "./chunk-DXC3DTCV.js";
|
|
53
|
+
import {
|
|
54
|
+
Checkbox
|
|
55
|
+
} from "./chunk-K4V2ELUZ.js";
|
|
56
|
+
import {
|
|
57
|
+
NumberInput
|
|
58
|
+
} from "./chunk-GTDCC4YX.js";
|
|
59
|
+
import {
|
|
60
|
+
Textarea
|
|
61
|
+
} from "./chunk-FZEG2R3E.js";
|
|
62
|
+
import {
|
|
63
|
+
Skeleton
|
|
64
|
+
} from "./chunk-UPGIQXUY.js";
|
|
65
|
+
import {
|
|
66
|
+
Input
|
|
67
|
+
} from "./chunk-I3U52BDH.js";
|
|
68
|
+
import {
|
|
69
|
+
Label
|
|
70
|
+
} from "./chunk-U756JCDK.js";
|
|
71
|
+
import {
|
|
72
|
+
AdvancedGroup
|
|
73
|
+
} from "./chunk-PSXUEWUS.js";
|
|
74
|
+
import {
|
|
75
|
+
Collapsible,
|
|
76
|
+
CollapsibleContent,
|
|
77
|
+
CollapsibleTrigger
|
|
78
|
+
} from "./chunk-FG3PDWE3.js";
|
|
79
|
+
import {
|
|
80
|
+
Badge
|
|
81
|
+
} from "./chunk-HNLYRHAU.js";
|
|
82
|
+
import {
|
|
83
|
+
useLocale
|
|
84
|
+
} from "./chunk-EJQYE4MY.js";
|
|
85
|
+
import {
|
|
86
|
+
Button
|
|
87
|
+
} from "./chunk-C5QBV5RE.js";
|
|
88
|
+
import {
|
|
89
|
+
cn
|
|
90
|
+
} from "./chunk-FXWWDMMP.js";
|
|
91
|
+
|
|
92
|
+
// src/components/schema-form/schema-form.tsx
|
|
93
|
+
import {
|
|
94
|
+
createContext,
|
|
95
|
+
forwardRef,
|
|
96
|
+
memo,
|
|
97
|
+
use,
|
|
98
|
+
useEffect,
|
|
99
|
+
useId,
|
|
100
|
+
useLayoutEffect,
|
|
101
|
+
useMemo,
|
|
102
|
+
useRef,
|
|
103
|
+
useState
|
|
104
|
+
} from "react";
|
|
105
|
+
import { Check } from "lucide-react";
|
|
106
|
+
import { ChevronRight } from "lucide-react";
|
|
107
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
108
|
+
var SchemaFormStoreContext = createContext(null);
|
|
109
|
+
function useSchemaFormStore() {
|
|
110
|
+
const store = use(SchemaFormStoreContext);
|
|
111
|
+
if (!store) {
|
|
112
|
+
throw new Error("SchemaForm sub-components must be rendered inside <SchemaFormProvider>.");
|
|
113
|
+
}
|
|
114
|
+
return store;
|
|
115
|
+
}
|
|
116
|
+
function controlId(formId, name) {
|
|
117
|
+
return `${formId}-field-${name}`;
|
|
118
|
+
}
|
|
119
|
+
function descId(formId, name) {
|
|
120
|
+
return `${formId}-desc-${name}`;
|
|
121
|
+
}
|
|
122
|
+
function errorId(formId, name) {
|
|
123
|
+
return `${formId}-error-${name}`;
|
|
124
|
+
}
|
|
125
|
+
function SchemaFormProvider({
|
|
126
|
+
spec,
|
|
127
|
+
values: valuesProp,
|
|
128
|
+
onChange,
|
|
129
|
+
onSubmit,
|
|
130
|
+
disabled = false,
|
|
131
|
+
submitted = false,
|
|
132
|
+
submitting = false,
|
|
133
|
+
loading = false,
|
|
134
|
+
error = null,
|
|
135
|
+
children
|
|
136
|
+
}) {
|
|
137
|
+
const formId = useId();
|
|
138
|
+
const storeProps = {
|
|
139
|
+
spec,
|
|
140
|
+
valuesProp,
|
|
141
|
+
onChange,
|
|
142
|
+
onSubmit,
|
|
143
|
+
disabled,
|
|
144
|
+
submitted,
|
|
145
|
+
submitting,
|
|
146
|
+
loading,
|
|
147
|
+
error
|
|
148
|
+
};
|
|
149
|
+
const [store] = useState(() => new SchemaFormStore(storeProps, formId));
|
|
150
|
+
const changed = store.syncProps(storeProps);
|
|
151
|
+
useLayoutEffect(() => {
|
|
152
|
+
if (changed) store.notify();
|
|
153
|
+
});
|
|
154
|
+
const [pendingFocus, setPendingFocus] = useState(null);
|
|
155
|
+
useEffect(() => store.onPendingFocus((name) => setPendingFocus({ name })), [store]);
|
|
156
|
+
useEffect(() => {
|
|
157
|
+
if (!pendingFocus || typeof document === "undefined") return;
|
|
158
|
+
const el = document.getElementById(controlId(store.formId, pendingFocus.name));
|
|
159
|
+
el?.focus();
|
|
160
|
+
}, [pendingFocus, store]);
|
|
161
|
+
return /* @__PURE__ */ jsx(SchemaFormStoreContext, { value: store, children });
|
|
162
|
+
}
|
|
163
|
+
function StringControl({
|
|
164
|
+
field,
|
|
165
|
+
value,
|
|
166
|
+
invalid,
|
|
167
|
+
disabled,
|
|
168
|
+
readOnly,
|
|
169
|
+
id,
|
|
170
|
+
describedBy,
|
|
171
|
+
setValue
|
|
172
|
+
}) {
|
|
173
|
+
const text = value === void 0 ? "" : String(value);
|
|
174
|
+
const commonAria = {
|
|
175
|
+
id,
|
|
176
|
+
"aria-invalid": invalid || void 0,
|
|
177
|
+
"aria-describedby": describedBy,
|
|
178
|
+
"aria-required": field.required || void 0,
|
|
179
|
+
required: field.required
|
|
180
|
+
};
|
|
181
|
+
if (field.multiline) {
|
|
182
|
+
return /* @__PURE__ */ jsx(
|
|
183
|
+
Textarea,
|
|
184
|
+
{
|
|
185
|
+
...commonAria,
|
|
186
|
+
name: field.name,
|
|
187
|
+
value: text,
|
|
188
|
+
disabled,
|
|
189
|
+
readOnly,
|
|
190
|
+
maxLength: field.maxLength,
|
|
191
|
+
onChange: (e) => setValue(field.name, e.target.value)
|
|
192
|
+
}
|
|
193
|
+
);
|
|
194
|
+
}
|
|
195
|
+
const inputType = field.format === "email" ? "email" : field.format === "uri" ? "url" : field.format === "date" ? "date" : field.format === "date-time" ? "datetime-local" : "text";
|
|
196
|
+
const spellCheck = field.format === "email" || field.format === "uri" ? false : void 0;
|
|
197
|
+
const inputMode = field.format === "email" ? "email" : field.format === "uri" ? "url" : void 0;
|
|
198
|
+
return /* @__PURE__ */ jsx(
|
|
199
|
+
Input,
|
|
200
|
+
{
|
|
201
|
+
...commonAria,
|
|
202
|
+
type: inputType,
|
|
203
|
+
name: field.name,
|
|
204
|
+
value: text,
|
|
205
|
+
disabled,
|
|
206
|
+
readOnly,
|
|
207
|
+
minLength: field.minLength,
|
|
208
|
+
maxLength: field.maxLength,
|
|
209
|
+
spellCheck,
|
|
210
|
+
inputMode,
|
|
211
|
+
onChange: (e) => setValue(field.name, e.target.value)
|
|
212
|
+
}
|
|
213
|
+
);
|
|
214
|
+
}
|
|
215
|
+
function NumberControl({
|
|
216
|
+
field,
|
|
217
|
+
value,
|
|
218
|
+
invalid,
|
|
219
|
+
disabled,
|
|
220
|
+
readOnly,
|
|
221
|
+
id,
|
|
222
|
+
describedBy,
|
|
223
|
+
setValue
|
|
224
|
+
}) {
|
|
225
|
+
const num = typeof value === "number" ? value : null;
|
|
226
|
+
return /* @__PURE__ */ jsx(
|
|
227
|
+
NumberInput,
|
|
228
|
+
{
|
|
229
|
+
id,
|
|
230
|
+
name: field.name,
|
|
231
|
+
value: num,
|
|
232
|
+
min: field.min,
|
|
233
|
+
max: field.max,
|
|
234
|
+
step: field.type === "integer" ? 1 : void 0,
|
|
235
|
+
disabled,
|
|
236
|
+
readOnly,
|
|
237
|
+
"aria-invalid": invalid || void 0,
|
|
238
|
+
"aria-describedby": describedBy,
|
|
239
|
+
"aria-required": field.required || void 0,
|
|
240
|
+
onValueChange: (next) => setValue(field.name, next ?? void 0)
|
|
241
|
+
}
|
|
242
|
+
);
|
|
243
|
+
}
|
|
244
|
+
function BooleanControl({
|
|
245
|
+
field,
|
|
246
|
+
value,
|
|
247
|
+
disabled,
|
|
248
|
+
id,
|
|
249
|
+
describedBy,
|
|
250
|
+
setValue
|
|
251
|
+
}) {
|
|
252
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
253
|
+
/* @__PURE__ */ jsx(
|
|
254
|
+
Checkbox,
|
|
255
|
+
{
|
|
256
|
+
id,
|
|
257
|
+
name: field.name,
|
|
258
|
+
checked: value === true,
|
|
259
|
+
disabled,
|
|
260
|
+
"aria-describedby": describedBy,
|
|
261
|
+
"aria-required": field.required || void 0,
|
|
262
|
+
onCheckedChange: (checked) => setValue(field.name, checked === true)
|
|
263
|
+
}
|
|
264
|
+
),
|
|
265
|
+
/* @__PURE__ */ jsxs(Label, { htmlFor: id, className: "flex items-center gap-1 font-normal", children: [
|
|
266
|
+
fieldLabel(field),
|
|
267
|
+
field.required && /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: "text-destructive-text", children: "*" })
|
|
268
|
+
] })
|
|
269
|
+
] });
|
|
270
|
+
}
|
|
271
|
+
function EnumControl({
|
|
272
|
+
field,
|
|
273
|
+
value,
|
|
274
|
+
invalid,
|
|
275
|
+
disabled,
|
|
276
|
+
id,
|
|
277
|
+
describedBy,
|
|
278
|
+
setValue
|
|
279
|
+
}) {
|
|
280
|
+
const { t } = useLocale();
|
|
281
|
+
const current = typeof value === "string" && value.length > 0 ? value : void 0;
|
|
282
|
+
return /* @__PURE__ */ jsxs(Select, { value: current, disabled, onValueChange: (v) => setValue(field.name, v), children: [
|
|
283
|
+
/* @__PURE__ */ jsx(
|
|
284
|
+
SelectTrigger,
|
|
285
|
+
{
|
|
286
|
+
id,
|
|
287
|
+
"aria-invalid": invalid || void 0,
|
|
288
|
+
"aria-describedby": describedBy,
|
|
289
|
+
"aria-required": field.required || void 0,
|
|
290
|
+
children: /* @__PURE__ */ jsx(SelectValue, { placeholder: t("ui.schemaForm.selectPlaceholder") })
|
|
291
|
+
}
|
|
292
|
+
),
|
|
293
|
+
/* @__PURE__ */ jsx(SelectContent, { children: field.options.map((option) => /* @__PURE__ */ jsx(SelectItem, { value: optionValue(option), children: optionLabel(option) }, optionValue(option))) })
|
|
294
|
+
] });
|
|
295
|
+
}
|
|
296
|
+
function MultiEnumControl({
|
|
297
|
+
field,
|
|
298
|
+
value,
|
|
299
|
+
disabled,
|
|
300
|
+
id,
|
|
301
|
+
labelId,
|
|
302
|
+
describedBy,
|
|
303
|
+
setValue
|
|
304
|
+
}) {
|
|
305
|
+
const { t } = useLocale();
|
|
306
|
+
const selected = Array.isArray(value) ? value : [];
|
|
307
|
+
const toggle = (optValue, checked) => {
|
|
308
|
+
const next = checked ? [...selected, optValue] : selected.filter((v) => v !== optValue);
|
|
309
|
+
setValue(field.name, next);
|
|
310
|
+
};
|
|
311
|
+
return /* @__PURE__ */ jsxs(
|
|
312
|
+
"div",
|
|
313
|
+
{
|
|
314
|
+
role: "group",
|
|
315
|
+
id,
|
|
316
|
+
tabIndex: -1,
|
|
317
|
+
"aria-labelledby": labelId,
|
|
318
|
+
"aria-describedby": describedBy,
|
|
319
|
+
className: "flex flex-col gap-2 focus:outline-none",
|
|
320
|
+
children: [
|
|
321
|
+
field.options.map((option) => {
|
|
322
|
+
const optValue = optionValue(option);
|
|
323
|
+
const optionId = `${id}-${optValue}`;
|
|
324
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
325
|
+
/* @__PURE__ */ jsx(
|
|
326
|
+
Checkbox,
|
|
327
|
+
{
|
|
328
|
+
id: optionId,
|
|
329
|
+
checked: selected.includes(optValue),
|
|
330
|
+
disabled,
|
|
331
|
+
onCheckedChange: (checked) => toggle(optValue, checked === true)
|
|
332
|
+
}
|
|
333
|
+
),
|
|
334
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: optionId, className: "font-normal", children: optionLabel(option) })
|
|
335
|
+
] }, optValue);
|
|
336
|
+
}),
|
|
337
|
+
field.options.length === 0 && /* @__PURE__ */ jsx("p", { className: "text-body text-muted-foreground", children: t("noResults") })
|
|
338
|
+
]
|
|
339
|
+
}
|
|
340
|
+
);
|
|
341
|
+
}
|
|
342
|
+
function ListControl({
|
|
343
|
+
field,
|
|
344
|
+
value,
|
|
345
|
+
disabled,
|
|
346
|
+
id,
|
|
347
|
+
labelId,
|
|
348
|
+
describedBy,
|
|
349
|
+
setValue
|
|
350
|
+
}) {
|
|
351
|
+
const items = Array.isArray(value) ? value : [];
|
|
352
|
+
return /* @__PURE__ */ jsx(
|
|
353
|
+
ListEditor,
|
|
354
|
+
{
|
|
355
|
+
id,
|
|
356
|
+
"aria-labelledby": labelId,
|
|
357
|
+
"aria-describedby": describedBy,
|
|
358
|
+
value: items,
|
|
359
|
+
max: field.maxItems,
|
|
360
|
+
placeholder: field.itemPlaceholder,
|
|
361
|
+
disabled,
|
|
362
|
+
onValueChange: (next) => setValue(field.name, next)
|
|
363
|
+
}
|
|
364
|
+
);
|
|
365
|
+
}
|
|
366
|
+
function KeyValueControl({
|
|
367
|
+
field,
|
|
368
|
+
value,
|
|
369
|
+
disabled,
|
|
370
|
+
id,
|
|
371
|
+
labelId,
|
|
372
|
+
describedBy,
|
|
373
|
+
setValue
|
|
374
|
+
}) {
|
|
375
|
+
const rows = Array.isArray(value) ? value : [];
|
|
376
|
+
return /* @__PURE__ */ jsx(
|
|
377
|
+
KeyValueEditor,
|
|
378
|
+
{
|
|
379
|
+
id,
|
|
380
|
+
"aria-labelledby": labelId,
|
|
381
|
+
"aria-describedby": describedBy,
|
|
382
|
+
value: rows,
|
|
383
|
+
keyPlaceholder: field.keyPlaceholder,
|
|
384
|
+
valuePlaceholder: field.valuePlaceholder,
|
|
385
|
+
disabled,
|
|
386
|
+
onValueChange: (next) => setValue(field.name, next)
|
|
387
|
+
}
|
|
388
|
+
);
|
|
389
|
+
}
|
|
390
|
+
function FileControlList({ field }) {
|
|
391
|
+
const { files } = useFileUpload();
|
|
392
|
+
if (files.length === 0) return null;
|
|
393
|
+
return /* @__PURE__ */ jsx(FileUploadList, { children: files.map((uploadFile) => {
|
|
394
|
+
const issue = checkFileIssue(uploadFile.file, field);
|
|
395
|
+
return /* @__PURE__ */ jsx(
|
|
396
|
+
FileUploadItem,
|
|
397
|
+
{
|
|
398
|
+
uploadFile,
|
|
399
|
+
status: issue ? "error" : "success",
|
|
400
|
+
errorMessage: issue?.message
|
|
401
|
+
},
|
|
402
|
+
uploadFile.id
|
|
403
|
+
);
|
|
404
|
+
}) });
|
|
405
|
+
}
|
|
406
|
+
function fileIdentity(file) {
|
|
407
|
+
return `${file.name}-${file.size}-${file.lastModified}`;
|
|
408
|
+
}
|
|
409
|
+
function FileControl({
|
|
410
|
+
field,
|
|
411
|
+
value,
|
|
412
|
+
disabled,
|
|
413
|
+
id,
|
|
414
|
+
labelId,
|
|
415
|
+
describedBy,
|
|
416
|
+
setValue
|
|
417
|
+
}) {
|
|
418
|
+
const controlledFiles = useMemo(() => {
|
|
419
|
+
const selected = Array.isArray(value) ? value : [];
|
|
420
|
+
return selected.map((file) => ({
|
|
421
|
+
id: fileIdentity(file),
|
|
422
|
+
file
|
|
423
|
+
}));
|
|
424
|
+
}, [value]);
|
|
425
|
+
const lastCommittedRef = useRef([]);
|
|
426
|
+
const maxFiles = field.multiple ? field.maxFiles : 1;
|
|
427
|
+
return /* @__PURE__ */ jsxs(
|
|
428
|
+
FileUpload,
|
|
429
|
+
{
|
|
430
|
+
id,
|
|
431
|
+
"aria-labelledby": labelId,
|
|
432
|
+
"aria-describedby": describedBy,
|
|
433
|
+
accept: field.accept,
|
|
434
|
+
multiple: field.multiple,
|
|
435
|
+
maxFiles,
|
|
436
|
+
disabled,
|
|
437
|
+
files: controlledFiles,
|
|
438
|
+
onFilesChange: (list) => {
|
|
439
|
+
const next = list.map((u) => u.file);
|
|
440
|
+
lastCommittedRef.current = next;
|
|
441
|
+
setValue(field.name, next);
|
|
442
|
+
},
|
|
443
|
+
onFilesRejected: (rejections) => {
|
|
444
|
+
const wrongType = rejections.filter((r) => r.reason === "accept").map((r) => r.file);
|
|
445
|
+
if (wrongType.length === 0) return;
|
|
446
|
+
const merged = [...lastCommittedRef.current, ...wrongType];
|
|
447
|
+
setValue(field.name, maxFiles ? merged.slice(0, maxFiles) : merged);
|
|
448
|
+
},
|
|
449
|
+
children: [
|
|
450
|
+
/* @__PURE__ */ jsx(FileUploadDropzone, {}),
|
|
451
|
+
/* @__PURE__ */ jsx(FileControlList, { field })
|
|
452
|
+
]
|
|
453
|
+
}
|
|
454
|
+
);
|
|
455
|
+
}
|
|
456
|
+
function GroupTabsControl({
|
|
457
|
+
field,
|
|
458
|
+
value,
|
|
459
|
+
disabled,
|
|
460
|
+
id,
|
|
461
|
+
labelId,
|
|
462
|
+
describedBy,
|
|
463
|
+
setValue
|
|
464
|
+
}) {
|
|
465
|
+
const active = (typeof value === "string" ? value : void 0) ?? field.default ?? field.groups[0]?.key;
|
|
466
|
+
return /* @__PURE__ */ jsxs(
|
|
467
|
+
Tabs,
|
|
468
|
+
{
|
|
469
|
+
value: active,
|
|
470
|
+
onValueChange: (next) => setValue(field.name, next),
|
|
471
|
+
id,
|
|
472
|
+
"aria-labelledby": labelId,
|
|
473
|
+
"aria-describedby": describedBy,
|
|
474
|
+
children: [
|
|
475
|
+
/* @__PURE__ */ jsx(TabsList, { children: field.groups.map((group) => /* @__PURE__ */ jsx(TabsTrigger, { value: group.key, disabled, children: group.label }, group.key)) }),
|
|
476
|
+
field.groups.map((group) => /* @__PURE__ */ jsxs(TabsContent, { value: group.key, className: "flex flex-col gap-4 pt-3", children: [
|
|
477
|
+
group.description && /* @__PURE__ */ jsx("p", { className: "text-caption text-muted-foreground", children: group.description }),
|
|
478
|
+
/* @__PURE__ */ jsx(GroupTabsBranch, { group })
|
|
479
|
+
] }, group.key))
|
|
480
|
+
]
|
|
481
|
+
}
|
|
482
|
+
);
|
|
483
|
+
}
|
|
484
|
+
function GroupTabsBranch({ group }) {
|
|
485
|
+
const store = useSchemaFormStore();
|
|
486
|
+
const visibleNames = useVisibleFieldNames(store, group.fields);
|
|
487
|
+
return /* @__PURE__ */ jsx(Fragment, { children: visibleNames.map((name) => /* @__PURE__ */ jsx(SchemaFormField, { name }, name)) });
|
|
488
|
+
}
|
|
489
|
+
function AdvancedGroupBranch({ group }) {
|
|
490
|
+
const store = useSchemaFormStore();
|
|
491
|
+
const hasError = useBranchHasError(store, group.fields);
|
|
492
|
+
const visibleNames = useVisibleFieldNames(store, group.fields);
|
|
493
|
+
const [manualOpen, setManualOpen] = useState(void 0);
|
|
494
|
+
const open = manualOpen ?? hasError;
|
|
495
|
+
return /* @__PURE__ */ jsx(
|
|
496
|
+
AdvancedGroup,
|
|
497
|
+
{
|
|
498
|
+
title: group.label,
|
|
499
|
+
summary: group.description,
|
|
500
|
+
open,
|
|
501
|
+
onOpenChange: setManualOpen,
|
|
502
|
+
children: visibleNames.map((name) => /* @__PURE__ */ jsx(SchemaFormField, { name }, name))
|
|
503
|
+
}
|
|
504
|
+
);
|
|
505
|
+
}
|
|
506
|
+
function GroupAdvancedControl({ field }) {
|
|
507
|
+
return /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-3", children: field.groups.map((group) => /* @__PURE__ */ jsx(AdvancedGroupBranch, { group }, group.key)) });
|
|
508
|
+
}
|
|
509
|
+
var SchemaFormField = memo(
|
|
510
|
+
forwardRef(function SchemaFormField2({ name, className, ...props }, ref) {
|
|
511
|
+
const store = useSchemaFormStore();
|
|
512
|
+
const meta = useSchemaFormMeta(store);
|
|
513
|
+
const snapshot = useFieldSnapshot(store, name);
|
|
514
|
+
const field = store.getField(name);
|
|
515
|
+
if (!field) return null;
|
|
516
|
+
if (!snapshot.visible) return null;
|
|
517
|
+
const id = controlId(meta.formId, name);
|
|
518
|
+
const labelId = `${meta.formId}-label-${name}`;
|
|
519
|
+
const invalid = snapshot.invalid;
|
|
520
|
+
const description = field.description;
|
|
521
|
+
const hasDesc = Boolean(description);
|
|
522
|
+
const describedBy = [hasDesc ? descId(meta.formId, name) : null, invalid ? errorId(meta.formId, name) : null].filter(Boolean).join(" ") || void 0;
|
|
523
|
+
const controlProps = {
|
|
524
|
+
field,
|
|
525
|
+
value: snapshot.value,
|
|
526
|
+
invalid,
|
|
527
|
+
disabled: snapshot.disabled,
|
|
528
|
+
readOnly: snapshot.readOnly,
|
|
529
|
+
id,
|
|
530
|
+
labelId,
|
|
531
|
+
describedBy,
|
|
532
|
+
setValue: store.setValue
|
|
533
|
+
};
|
|
534
|
+
if (field.type !== "group" && field.readOnly) {
|
|
535
|
+
return /* @__PURE__ */ jsxs(
|
|
536
|
+
"div",
|
|
537
|
+
{
|
|
538
|
+
ref,
|
|
539
|
+
"data-slot": "schema-form-field",
|
|
540
|
+
"data-readonly": "",
|
|
541
|
+
className: cn("flex flex-col gap-1.5", className),
|
|
542
|
+
...props,
|
|
543
|
+
children: [
|
|
544
|
+
/* @__PURE__ */ jsx(Descriptions, { layout: "vertical", children: /* @__PURE__ */ jsx(
|
|
545
|
+
DescriptionsItem,
|
|
546
|
+
{
|
|
547
|
+
label: fieldLabel(field),
|
|
548
|
+
numeric: field.type === "number" || field.type === "integer",
|
|
549
|
+
children: readOnlyText(snapshot.value)
|
|
550
|
+
}
|
|
551
|
+
) }),
|
|
552
|
+
hasDesc && /* @__PURE__ */ jsx("p", { id: descId(meta.formId, name), className: "text-caption text-muted-foreground", children: description })
|
|
553
|
+
]
|
|
554
|
+
}
|
|
555
|
+
);
|
|
556
|
+
}
|
|
557
|
+
const isBoolean = field.type === "boolean";
|
|
558
|
+
const isGroup = field.type === "group";
|
|
559
|
+
const isRegionField = field.type === "multi-enum" || field.type === "list" || field.type === "key-value" || field.type === "file" || isGroup;
|
|
560
|
+
return /* @__PURE__ */ jsxs(
|
|
561
|
+
"div",
|
|
562
|
+
{
|
|
563
|
+
ref,
|
|
564
|
+
"data-slot": "schema-form-field",
|
|
565
|
+
className: cn("flex flex-col gap-1.5", className),
|
|
566
|
+
...props,
|
|
567
|
+
children: [
|
|
568
|
+
!isBoolean && /* @__PURE__ */ jsxs(
|
|
569
|
+
Label,
|
|
570
|
+
{
|
|
571
|
+
id: labelId,
|
|
572
|
+
htmlFor: isRegionField ? void 0 : id,
|
|
573
|
+
className: "flex items-center gap-1",
|
|
574
|
+
children: [
|
|
575
|
+
fieldLabel(field),
|
|
576
|
+
field.required && /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: "text-destructive-text", children: "*" })
|
|
577
|
+
]
|
|
578
|
+
}
|
|
579
|
+
),
|
|
580
|
+
field.type === "string" && /* @__PURE__ */ jsx(StringControl, { ...controlProps, field }),
|
|
581
|
+
(field.type === "number" || field.type === "integer") && /* @__PURE__ */ jsx(NumberControl, { ...controlProps, field }),
|
|
582
|
+
field.type === "boolean" && /* @__PURE__ */ jsx(BooleanControl, { ...controlProps, field }),
|
|
583
|
+
field.type === "enum" && /* @__PURE__ */ jsx(EnumControl, { ...controlProps, field }),
|
|
584
|
+
field.type === "multi-enum" && /* @__PURE__ */ jsx(MultiEnumControl, { ...controlProps, field }),
|
|
585
|
+
field.type === "list" && /* @__PURE__ */ jsx(ListControl, { ...controlProps, field }),
|
|
586
|
+
field.type === "key-value" && /* @__PURE__ */ jsx(KeyValueControl, { ...controlProps, field }),
|
|
587
|
+
field.type === "file" && /* @__PURE__ */ jsx(FileControl, { ...controlProps, field }),
|
|
588
|
+
field.type === "group" && field.variant === "tabs" && /* @__PURE__ */ jsx(GroupTabsControl, { ...controlProps, field }),
|
|
589
|
+
field.type === "group" && field.variant === "advanced" && /* @__PURE__ */ jsx(GroupAdvancedControl, { field }),
|
|
590
|
+
hasDesc && /* @__PURE__ */ jsx("p", { id: descId(meta.formId, name), className: "text-caption text-muted-foreground", children: description }),
|
|
591
|
+
invalid && /* @__PURE__ */ jsx("p", { id: errorId(meta.formId, name), className: "text-caption text-destructive-text", children: snapshot.errorText })
|
|
592
|
+
]
|
|
593
|
+
}
|
|
594
|
+
);
|
|
595
|
+
})
|
|
596
|
+
);
|
|
597
|
+
var SchemaFormFields = forwardRef(
|
|
598
|
+
function SchemaFormFields2({ className, ...props }, ref) {
|
|
599
|
+
const store = useSchemaFormStore();
|
|
600
|
+
const meta = useSchemaFormMeta(store);
|
|
601
|
+
const visibleNames = useVisibleFieldNames(store, meta.spec.fields);
|
|
602
|
+
const { spec, loading } = meta;
|
|
603
|
+
if (spec.fields.length === 0 && loading) {
|
|
604
|
+
return /* @__PURE__ */ jsxs(
|
|
605
|
+
"div",
|
|
606
|
+
{
|
|
607
|
+
ref,
|
|
608
|
+
"data-slot": "schema-form-fields",
|
|
609
|
+
className: cn("flex flex-col gap-4", className),
|
|
610
|
+
...props,
|
|
611
|
+
children: [
|
|
612
|
+
/* @__PURE__ */ jsx(SchemaFormSkeletonAnnouncement, {}),
|
|
613
|
+
/* @__PURE__ */ jsx("div", { "aria-hidden": "true", className: "flex flex-col gap-4", children: [0, 1, 2].map((i) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1.5", children: [
|
|
614
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-24" }),
|
|
615
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-9 w-full" })
|
|
616
|
+
] }, i)) })
|
|
617
|
+
]
|
|
618
|
+
}
|
|
619
|
+
);
|
|
620
|
+
}
|
|
621
|
+
return /* @__PURE__ */ jsx(
|
|
622
|
+
"div",
|
|
623
|
+
{
|
|
624
|
+
ref,
|
|
625
|
+
"data-slot": "schema-form-fields",
|
|
626
|
+
className: cn("flex flex-col gap-4", className),
|
|
627
|
+
...props,
|
|
628
|
+
children: spec.sections ? (() => {
|
|
629
|
+
const grouped = new Set(spec.sections.flatMap((section) => section.fields));
|
|
630
|
+
const visible = new Set(visibleNames);
|
|
631
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
632
|
+
visibleNames.filter((name) => !grouped.has(name)).map((name) => /* @__PURE__ */ jsx(SchemaFormField, { name }, name)),
|
|
633
|
+
spec.sections.map((section) => {
|
|
634
|
+
const names = section.fields.filter((name) => visible.has(name));
|
|
635
|
+
if (names.length === 0) return null;
|
|
636
|
+
return /* @__PURE__ */ jsx(
|
|
637
|
+
SchemaFormSection,
|
|
638
|
+
{
|
|
639
|
+
label: section.label,
|
|
640
|
+
collapsed: section.collapsed,
|
|
641
|
+
children: names.map((name) => /* @__PURE__ */ jsx(SchemaFormField, { name }, name))
|
|
642
|
+
},
|
|
643
|
+
section.id
|
|
644
|
+
);
|
|
645
|
+
})
|
|
646
|
+
] });
|
|
647
|
+
})() : visibleNames.map((name) => /* @__PURE__ */ jsx(SchemaFormField, { name }, name))
|
|
648
|
+
}
|
|
649
|
+
);
|
|
650
|
+
}
|
|
651
|
+
);
|
|
652
|
+
function readOnlyText(value) {
|
|
653
|
+
if (value === void 0 || value === "") return "\u2014";
|
|
654
|
+
if (Array.isArray(value)) {
|
|
655
|
+
if (value.length === 0) return "\u2014";
|
|
656
|
+
return value.map(
|
|
657
|
+
(item) => typeof item === "string" ? item : item instanceof File ? item.name : `${item.key}: ${item.value}`
|
|
658
|
+
).join(", ");
|
|
659
|
+
}
|
|
660
|
+
return String(value);
|
|
661
|
+
}
|
|
662
|
+
function SchemaFormSection({
|
|
663
|
+
label,
|
|
664
|
+
collapsed,
|
|
665
|
+
children
|
|
666
|
+
}) {
|
|
667
|
+
return /* @__PURE__ */ jsxs(
|
|
668
|
+
Collapsible,
|
|
669
|
+
{
|
|
670
|
+
defaultOpen: !collapsed,
|
|
671
|
+
"data-slot": "schema-form-section",
|
|
672
|
+
className: "group/section flex flex-col gap-3 border-t border-border-strong pt-3",
|
|
673
|
+
children: [
|
|
674
|
+
/* @__PURE__ */ jsxs(
|
|
675
|
+
CollapsibleTrigger,
|
|
676
|
+
{
|
|
677
|
+
"data-slot": "schema-form-section-trigger",
|
|
678
|
+
className: "focus-ring flex w-full items-center gap-1 rounded-sm text-start text-subtitle text-foreground",
|
|
679
|
+
children: [
|
|
680
|
+
/* @__PURE__ */ jsx(
|
|
681
|
+
ChevronRight,
|
|
682
|
+
{
|
|
683
|
+
"aria-hidden": "true",
|
|
684
|
+
className: "size-4 shrink-0 transition-transform group-data-[state=open]/section:rotate-90 motion-reduce:transition-none"
|
|
685
|
+
}
|
|
686
|
+
),
|
|
687
|
+
label
|
|
688
|
+
]
|
|
689
|
+
}
|
|
690
|
+
),
|
|
691
|
+
/* @__PURE__ */ jsx(CollapsibleContent, { "data-slot": "schema-form-section-content", className: "flex flex-col gap-4", children })
|
|
692
|
+
]
|
|
693
|
+
}
|
|
694
|
+
);
|
|
695
|
+
}
|
|
696
|
+
function SchemaFormSkeletonAnnouncement() {
|
|
697
|
+
const { t } = useLocale();
|
|
698
|
+
return /* @__PURE__ */ jsx("span", { className: "sr-only", role: "status", "aria-live": "polite", children: t("loading") });
|
|
699
|
+
}
|
|
700
|
+
var SchemaFormError = forwardRef(
|
|
701
|
+
function SchemaFormError2({ className, ...props }, ref) {
|
|
702
|
+
const store = useSchemaFormStore();
|
|
703
|
+
const { error } = useSchemaFormMeta(store);
|
|
704
|
+
if (!error) return null;
|
|
705
|
+
return /* @__PURE__ */ jsx(
|
|
706
|
+
"div",
|
|
707
|
+
{
|
|
708
|
+
ref,
|
|
709
|
+
role: "alert",
|
|
710
|
+
"data-slot": "schema-form-error",
|
|
711
|
+
className: cn(
|
|
712
|
+
"rounded-md border-s-2 border-s-destructive bg-destructive/10 px-3 py-2 text-body text-destructive-text",
|
|
713
|
+
className
|
|
714
|
+
),
|
|
715
|
+
...props,
|
|
716
|
+
children: error
|
|
717
|
+
}
|
|
718
|
+
);
|
|
719
|
+
}
|
|
720
|
+
);
|
|
721
|
+
var SchemaFormSubmit = forwardRef(
|
|
722
|
+
function SchemaFormSubmit2({ label, className, onClick, ...props }, ref) {
|
|
723
|
+
const { t } = useLocale();
|
|
724
|
+
const store = useSchemaFormStore();
|
|
725
|
+
const { spec, submitting, submitted, disabled, loading } = useSchemaFormMeta(store);
|
|
726
|
+
if (submitted) {
|
|
727
|
+
return /* @__PURE__ */ jsxs(Badge, { variant: "success", "aria-live": "polite", className: "w-fit", children: [
|
|
728
|
+
/* @__PURE__ */ jsx(Check, { "aria-hidden": "true", className: "size-3" }),
|
|
729
|
+
t("ui.schemaForm.submitted")
|
|
730
|
+
] });
|
|
731
|
+
}
|
|
732
|
+
const text = label ?? spec.submitLabel ?? t("ui.schemaForm.submit");
|
|
733
|
+
const blocked = submitting || loading;
|
|
734
|
+
const handleClick = (e) => {
|
|
735
|
+
if (blocked) {
|
|
736
|
+
e.preventDefault();
|
|
737
|
+
return;
|
|
738
|
+
}
|
|
739
|
+
onClick?.(e);
|
|
740
|
+
};
|
|
741
|
+
return /* @__PURE__ */ jsxs(
|
|
742
|
+
Button,
|
|
743
|
+
{
|
|
744
|
+
ref,
|
|
745
|
+
type: "submit",
|
|
746
|
+
"data-slot": "schema-form-submit",
|
|
747
|
+
disabled,
|
|
748
|
+
"aria-disabled": blocked || void 0,
|
|
749
|
+
"aria-busy": submitting || void 0,
|
|
750
|
+
onClick: handleClick,
|
|
751
|
+
className: cn(blocked && "cursor-not-allowed", className),
|
|
752
|
+
...props,
|
|
753
|
+
children: [
|
|
754
|
+
submitting && /* @__PURE__ */ jsx(Spinner, { "aria-hidden": "true", className: "text-current" }),
|
|
755
|
+
submitting ? t("ui.schemaForm.submitting") : text
|
|
756
|
+
]
|
|
757
|
+
}
|
|
758
|
+
);
|
|
759
|
+
}
|
|
760
|
+
);
|
|
761
|
+
var SchemaFormTestAction = forwardRef(
|
|
762
|
+
function SchemaFormTestAction2({ onTest, label, pendingLabel, successLabel, failureLabel, className, ...props }, ref) {
|
|
763
|
+
const { t } = useLocale();
|
|
764
|
+
const store = useSchemaFormStore();
|
|
765
|
+
const { disabled: formDisabled, loading, submitted, submitting } = useSchemaFormMeta(store);
|
|
766
|
+
const effectiveValues = useEffectiveValues(store);
|
|
767
|
+
const [status, setStatus] = useState("idle");
|
|
768
|
+
const [failureMessage, setFailureMessage] = useState(null);
|
|
769
|
+
const latestEffectiveValuesRef = useRef(effectiveValues);
|
|
770
|
+
latestEffectiveValuesRef.current = effectiveValues;
|
|
771
|
+
const testedValuesRef = useRef(null);
|
|
772
|
+
const pending = status === "pending";
|
|
773
|
+
const transientlyBlocked = loading || pending;
|
|
774
|
+
const nativelyBlocked = formDisabled || submitted || submitting;
|
|
775
|
+
useEffect(() => {
|
|
776
|
+
if ((status === "success" || status === "failure") && testedValuesRef.current !== effectiveValues) {
|
|
777
|
+
setStatus("idle");
|
|
778
|
+
setFailureMessage(null);
|
|
779
|
+
}
|
|
780
|
+
}, [effectiveValues, status]);
|
|
781
|
+
const handleClick = (e) => {
|
|
782
|
+
if (nativelyBlocked || transientlyBlocked) {
|
|
783
|
+
e.preventDefault();
|
|
784
|
+
return;
|
|
785
|
+
}
|
|
786
|
+
const testedValues = effectiveValues;
|
|
787
|
+
testedValuesRef.current = testedValues;
|
|
788
|
+
setStatus("pending");
|
|
789
|
+
setFailureMessage(null);
|
|
790
|
+
void (async () => {
|
|
791
|
+
try {
|
|
792
|
+
await onTest(testedValues);
|
|
793
|
+
if (latestEffectiveValuesRef.current !== testedValues) {
|
|
794
|
+
setStatus("idle");
|
|
795
|
+
return;
|
|
796
|
+
}
|
|
797
|
+
setStatus("success");
|
|
798
|
+
} catch (err) {
|
|
799
|
+
if (latestEffectiveValuesRef.current !== testedValues) {
|
|
800
|
+
setStatus("idle");
|
|
801
|
+
return;
|
|
802
|
+
}
|
|
803
|
+
setStatus("failure");
|
|
804
|
+
setFailureMessage(err instanceof Error ? err.message : null);
|
|
805
|
+
}
|
|
806
|
+
})();
|
|
807
|
+
};
|
|
808
|
+
return /* @__PURE__ */ jsxs(
|
|
809
|
+
"div",
|
|
810
|
+
{
|
|
811
|
+
ref,
|
|
812
|
+
"data-slot": "schema-form-test-action",
|
|
813
|
+
className: cn("flex flex-wrap items-center gap-2", className),
|
|
814
|
+
...props,
|
|
815
|
+
children: [
|
|
816
|
+
/* @__PURE__ */ jsxs(
|
|
817
|
+
Button,
|
|
818
|
+
{
|
|
819
|
+
type: "button",
|
|
820
|
+
variant: "outline",
|
|
821
|
+
disabled: nativelyBlocked,
|
|
822
|
+
"aria-disabled": transientlyBlocked || void 0,
|
|
823
|
+
"aria-busy": pending || void 0,
|
|
824
|
+
onClick: handleClick,
|
|
825
|
+
className: cn(transientlyBlocked && "cursor-not-allowed"),
|
|
826
|
+
children: [
|
|
827
|
+
pending && /* @__PURE__ */ jsx(Spinner, { "aria-hidden": "true", className: "text-current" }),
|
|
828
|
+
pending ? pendingLabel ?? t("ui.schemaForm.testAction.pending") : label ?? t("ui.schemaForm.testAction.label")
|
|
829
|
+
]
|
|
830
|
+
}
|
|
831
|
+
),
|
|
832
|
+
status === "success" && /* @__PURE__ */ jsx(StatusBadge, { status: "complete", "aria-live": "polite", children: successLabel ?? t("ui.schemaForm.testAction.success") }),
|
|
833
|
+
status === "failure" && /* @__PURE__ */ jsx(StatusBadge, { status: "failed", role: "alert", children: failureMessage ?? failureLabel ?? t("ui.schemaForm.testAction.failure") })
|
|
834
|
+
]
|
|
835
|
+
}
|
|
836
|
+
);
|
|
837
|
+
}
|
|
838
|
+
);
|
|
839
|
+
var SchemaFormRoot = forwardRef(
|
|
840
|
+
function SchemaFormRoot2({ className, children, ...props }, ref) {
|
|
841
|
+
const { t } = useLocale();
|
|
842
|
+
const store = useSchemaFormStore();
|
|
843
|
+
const { headingId, spec, disabled, submitting, loading } = useSchemaFormMeta(store);
|
|
844
|
+
const handleSubmit = (e) => {
|
|
845
|
+
e.preventDefault();
|
|
846
|
+
if (disabled || submitting || loading) return;
|
|
847
|
+
store.submit();
|
|
848
|
+
};
|
|
849
|
+
return /* @__PURE__ */ jsx(
|
|
850
|
+
"form",
|
|
851
|
+
{
|
|
852
|
+
ref,
|
|
853
|
+
"data-slot": "schema-form-root",
|
|
854
|
+
noValidate: true,
|
|
855
|
+
onSubmit: handleSubmit,
|
|
856
|
+
"aria-labelledby": spec.title ? headingId : void 0,
|
|
857
|
+
"aria-label": spec.title ? void 0 : spec.formName || t("ui.schemaForm.label"),
|
|
858
|
+
className: cn("flex w-full flex-col gap-4", className),
|
|
859
|
+
...props,
|
|
860
|
+
children
|
|
861
|
+
}
|
|
862
|
+
);
|
|
863
|
+
}
|
|
864
|
+
);
|
|
865
|
+
var SchemaFormTitle = forwardRef(
|
|
866
|
+
function SchemaFormTitle2({ className, children, ...props }, ref) {
|
|
867
|
+
const store = useSchemaFormStore();
|
|
868
|
+
const { headingId, spec } = useSchemaFormMeta(store);
|
|
869
|
+
const content = children ?? spec.title;
|
|
870
|
+
if (!content) return null;
|
|
871
|
+
return /* @__PURE__ */ jsx(
|
|
872
|
+
"p",
|
|
873
|
+
{
|
|
874
|
+
ref,
|
|
875
|
+
id: headingId,
|
|
876
|
+
className: cn("text-subtitle text-foreground text-balance", className),
|
|
877
|
+
...props,
|
|
878
|
+
children: content
|
|
879
|
+
}
|
|
880
|
+
);
|
|
881
|
+
}
|
|
882
|
+
);
|
|
883
|
+
var SchemaFormDescription = forwardRef(
|
|
884
|
+
function SchemaFormDescription2({ className, children, ...props }, ref) {
|
|
885
|
+
const store = useSchemaFormStore();
|
|
886
|
+
const { spec } = useSchemaFormMeta(store);
|
|
887
|
+
const content = children ?? spec.description;
|
|
888
|
+
if (!content) return null;
|
|
889
|
+
return /* @__PURE__ */ jsx(
|
|
890
|
+
"p",
|
|
891
|
+
{
|
|
892
|
+
ref,
|
|
893
|
+
className: cn("text-body text-muted-foreground text-pretty", className),
|
|
894
|
+
...props,
|
|
895
|
+
children: content
|
|
896
|
+
}
|
|
897
|
+
);
|
|
898
|
+
}
|
|
899
|
+
);
|
|
900
|
+
var SchemaFormFallback = forwardRef(
|
|
901
|
+
function SchemaFormFallback2({ message = "This form could not be displayed.", className, ...props }, ref) {
|
|
902
|
+
return /* @__PURE__ */ jsx(
|
|
903
|
+
"div",
|
|
904
|
+
{
|
|
905
|
+
ref,
|
|
906
|
+
role: "status",
|
|
907
|
+
"aria-live": "polite",
|
|
908
|
+
"data-slot": "schema-form-fallback",
|
|
909
|
+
className: cn(
|
|
910
|
+
// Sole structural cue is the border (no fill) — reads in every theme.
|
|
911
|
+
"flex items-center justify-center rounded-md border border-border-strong px-4 py-6 text-center text-body text-muted-foreground",
|
|
912
|
+
className
|
|
913
|
+
),
|
|
914
|
+
...props,
|
|
915
|
+
children: message
|
|
916
|
+
}
|
|
917
|
+
);
|
|
918
|
+
}
|
|
919
|
+
);
|
|
920
|
+
var SchemaForm = forwardRef(function SchemaForm2({
|
|
921
|
+
spec,
|
|
922
|
+
values,
|
|
923
|
+
onChange,
|
|
924
|
+
onSubmit,
|
|
925
|
+
submitLabel,
|
|
926
|
+
disabled,
|
|
927
|
+
submitted,
|
|
928
|
+
submitting,
|
|
929
|
+
loading,
|
|
930
|
+
error,
|
|
931
|
+
className,
|
|
932
|
+
...props
|
|
933
|
+
}, ref) {
|
|
934
|
+
const result = useMemo(() => normalizeFormSpec(spec), [spec]);
|
|
935
|
+
if (!result.ok) {
|
|
936
|
+
return /* @__PURE__ */ jsx(SchemaFormFallback, { ref, message: result.reason, className, ...props });
|
|
937
|
+
}
|
|
938
|
+
const normalized = result.spec;
|
|
939
|
+
const empty = normalized.fields.length === 0;
|
|
940
|
+
if (empty && !loading) {
|
|
941
|
+
return /* @__PURE__ */ jsx(
|
|
942
|
+
SchemaFormFallback,
|
|
943
|
+
{
|
|
944
|
+
ref,
|
|
945
|
+
message: "This form has no fields to fill in.",
|
|
946
|
+
className,
|
|
947
|
+
...props
|
|
948
|
+
}
|
|
949
|
+
);
|
|
950
|
+
}
|
|
951
|
+
return /* @__PURE__ */ jsx(
|
|
952
|
+
SchemaFormProvider,
|
|
953
|
+
{
|
|
954
|
+
spec: normalized,
|
|
955
|
+
values,
|
|
956
|
+
onChange,
|
|
957
|
+
onSubmit,
|
|
958
|
+
disabled,
|
|
959
|
+
submitted,
|
|
960
|
+
submitting,
|
|
961
|
+
loading,
|
|
962
|
+
error,
|
|
963
|
+
children: /* @__PURE__ */ jsx("div", { ref, "data-slot": "schema-form", className: cn("w-full", className), ...props, children: /* @__PURE__ */ jsxs(SchemaFormRoot, { children: [
|
|
964
|
+
(normalized.title || normalized.description) && /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
965
|
+
/* @__PURE__ */ jsx(SchemaFormTitle, {}),
|
|
966
|
+
/* @__PURE__ */ jsx(SchemaFormDescription, {})
|
|
967
|
+
] }),
|
|
968
|
+
/* @__PURE__ */ jsx(SchemaFormFields, {}),
|
|
969
|
+
/* @__PURE__ */ jsx(SchemaFormError, {}),
|
|
970
|
+
/* @__PURE__ */ jsx(SchemaFormSubmit, { label: submitLabel })
|
|
971
|
+
] }) })
|
|
972
|
+
}
|
|
973
|
+
);
|
|
974
|
+
});
|
|
975
|
+
|
|
976
|
+
export {
|
|
977
|
+
SchemaFormProvider,
|
|
978
|
+
SchemaFormField,
|
|
979
|
+
SchemaFormFields,
|
|
980
|
+
SchemaFormError,
|
|
981
|
+
SchemaFormSubmit,
|
|
982
|
+
SchemaFormTestAction,
|
|
983
|
+
SchemaFormRoot,
|
|
984
|
+
SchemaFormTitle,
|
|
985
|
+
SchemaFormDescription,
|
|
986
|
+
SchemaFormFallback,
|
|
987
|
+
SchemaForm
|
|
988
|
+
};
|
|
989
|
+
//# sourceMappingURL=chunk-BDOG4YSM.js.map
|