@vuer-ai/vuer-uikit 0.0.120 → 0.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 +28 -0
- package/dist/SyncScroll/SyncScroll.cjs +13 -13
- package/dist/SyncScroll/SyncScroll.mjs +6 -6
- package/dist/SyncScroll/index.cjs +13 -13
- package/dist/SyncScroll/index.mjs +6 -6
- package/dist/SyncScroll/useSyncScroll.d.cts +5 -5
- package/dist/SyncScroll/useSyncScroll.d.ts +5 -5
- package/dist/{chunk-42WQWP6X.cjs → chunk-22T2AL3G.cjs} +8 -8
- package/dist/{chunk-NMRFBO43.mjs → chunk-2IMCDH5J.mjs} +3 -3
- package/dist/{chunk-EOLUDKZ3.mjs → chunk-2J466BYZ.mjs} +26 -47
- package/dist/{chunk-LVIZRMYN.cjs → chunk-2KBNQ5PY.cjs} +2 -2
- package/dist/{chunk-S7CCCMMU.cjs → chunk-34NDAZS6.cjs} +18 -9
- package/dist/{chunk-DM43KZU7.cjs → chunk-3F3LBOQJ.cjs} +2 -2
- package/dist/chunk-3JMUI4R2.cjs +136 -0
- package/dist/{chunk-CWS5PF67.cjs → chunk-3UQ323EB.cjs} +8 -42
- package/dist/{chunk-QXFFRQ7E.mjs → chunk-44U6VC46.mjs} +543 -95
- package/dist/{chunk-JW456O5K.mjs → chunk-4FB6B2ES.mjs} +1 -1
- package/dist/{chunk-66NKH2SV.cjs → chunk-4FIP3EXW.cjs} +6 -6
- package/dist/chunk-4SI4QV5R.cjs +14 -0
- package/dist/{chunk-IAFCABPY.mjs → chunk-4W7JKZVN.mjs} +3 -2
- package/dist/{chunk-EEGQLTSQ.cjs → chunk-4WWGBRQV.cjs} +77 -0
- package/dist/chunk-4Y5IF7R5.mjs +322 -0
- package/dist/chunk-52GNIM6H.mjs +12 -0
- package/dist/{chunk-X6WOCNBX.cjs → chunk-57NITJN5.cjs} +2 -2
- package/dist/{chunk-LMYA5IOK.mjs → chunk-5GBMVMLS.mjs} +4 -4
- package/dist/{chunk-QWBMDS3S.cjs → chunk-5HT74RHB.cjs} +5 -5
- package/dist/{chunk-4ODJAEOM.mjs → chunk-5JYH7TXY.mjs} +1 -1
- package/dist/{chunk-2CD4D2BR.cjs → chunk-6CJWNYHL.cjs} +3 -3
- package/dist/{chunk-CRX2ZCM2.cjs → chunk-6LTCLQH3.cjs} +6 -1
- package/dist/{chunk-WKK5UX2W.mjs → chunk-6U6LRS37.mjs} +2 -2
- package/dist/{chunk-4OUQ6NSX.cjs → chunk-6VIKDPCD.cjs} +2 -2
- package/dist/{chunk-6D7FGGSX.cjs → chunk-753HUOAI.cjs} +26 -26
- package/dist/{chunk-LYGYXV7S.cjs → chunk-7ICRKPIO.cjs} +16 -16
- package/dist/chunk-7MKCWXNV.cjs +32 -0
- package/dist/{chunk-FMKD5JBL.mjs → chunk-7TD77VF4.mjs} +10 -6
- package/dist/{chunk-5ARBIWXX.cjs → chunk-7TXGEIV3.cjs} +10 -10
- package/dist/chunk-7WJ73FEI.mjs +43 -0
- package/dist/{chunk-SLXM4F24.cjs → chunk-7YFUNCKT.cjs} +9 -9
- package/dist/{chunk-LGFWHV23.cjs → chunk-ACGXE2IO.cjs} +2 -2
- package/dist/{chunk-IU65XB2K.cjs → chunk-AFALU3AK.cjs} +2 -2
- package/dist/{chunk-EGIIZWP3.mjs → chunk-AFR23IX6.mjs} +1 -1
- package/dist/{chunk-CXPF274N.mjs → chunk-BK77KKIM.mjs} +1 -1
- package/dist/{chunk-4PMXRQXC.cjs → chunk-BNXJ5VBE.cjs} +6 -6
- package/dist/{chunk-3DIFS7CO.mjs → chunk-BPCD4L7T.mjs} +1 -1
- package/dist/{chunk-JQYMF2FW.cjs → chunk-BSDIS4KS.cjs} +4 -4
- package/dist/{chunk-REZAPK6Z.mjs → chunk-BTGAKK3B.mjs} +1 -1
- package/dist/{chunk-TB5L3GBP.cjs → chunk-BXJTOIRR.cjs} +584 -133
- package/dist/{chunk-35ZN6IW7.mjs → chunk-BYZ7HIIK.mjs} +1 -1
- package/dist/{chunk-XS5IUI62.cjs → chunk-BZI74LKX.cjs} +3 -2
- package/dist/{chunk-2IS7TXTN.mjs → chunk-CENP2PIB.mjs} +1 -1
- package/dist/{chunk-SAXISARG.cjs → chunk-CMO3SLOU.cjs} +2 -2
- package/dist/{chunk-CIOLL5LX.mjs → chunk-CN6SZKJZ.mjs} +1 -1
- package/dist/chunk-CRY23RMB.mjs +30 -0
- package/dist/{chunk-7AAMQGY2.cjs → chunk-CYWVJ3HF.cjs} +7 -7
- package/dist/{chunk-EVBYVJTW.mjs → chunk-D2LUQKPM.mjs} +130 -91
- package/dist/chunk-DF7WIFZK.cjs +316 -0
- package/dist/chunk-DKLVWYTC.cjs +71 -0
- package/dist/chunk-DKWLF3KW.mjs +149 -0
- package/dist/{chunk-F2LEYFWW.cjs → chunk-DPJPOBUT.cjs} +5 -5
- package/dist/{chunk-SR3M2R3S.mjs → chunk-DSQPFXYL.mjs} +22 -24
- package/dist/chunk-DVUN6GQI.cjs +21 -0
- package/dist/{chunk-7ACZU3BT.mjs → chunk-EG6JETUN.mjs} +1 -1
- package/dist/{chunk-T4U3BG2V.mjs → chunk-EGJLY5VZ.mjs} +1 -1
- package/dist/{chunk-AE5YDMFT.mjs → chunk-EXM6QMNR.mjs} +3 -3
- package/dist/{chunk-H6JGIEAU.mjs → chunk-EYMZP5PL.mjs} +1 -1
- package/dist/{chunk-K2ZYSKRU.mjs → chunk-EZ536NLQ.mjs} +1 -1
- package/dist/chunk-FRM27RLN.cjs +264 -0
- package/dist/chunk-FTB337IJ.cjs +143 -0
- package/dist/{chunk-7A5EMDZH.mjs → chunk-G35PQKU5.mjs} +5 -5
- package/dist/{chunk-ZJSL6HSL.mjs → chunk-GAAP5JO4.mjs} +1 -1
- package/dist/chunk-GHQA7PER.mjs +107 -0
- package/dist/{chunk-ND3WJ63Z.cjs → chunk-GVRVRBDU.cjs} +2 -2
- package/dist/chunk-GZ2BG42R.mjs +34 -0
- package/dist/chunk-H3JRYX2U.mjs +19 -0
- package/dist/{chunk-T66ETI7E.mjs → chunk-HBEU2PU2.mjs} +6 -1
- package/dist/{chunk-SMXN2KOV.mjs → chunk-HGTL7DFT.mjs} +1 -1
- package/dist/{chunk-JFPIUDGT.mjs → chunk-HI4LO6IJ.mjs} +1 -1
- package/dist/{chunk-QO2AM6MF.mjs → chunk-HIDTQ4Z2.mjs} +1 -1
- package/dist/{chunk-DDU3SPCC.mjs → chunk-HNW2DRPV.mjs} +58 -9
- package/dist/{chunk-5AKVDZMA.cjs → chunk-HSUL5OUG.cjs} +14 -13
- package/dist/{chunk-EY6PKK4X.cjs → chunk-I2COLDHC.cjs} +2 -2
- package/dist/chunk-IAWMCOHS.cjs +45 -0
- package/dist/chunk-IM5QVMGO.cjs +2 -0
- package/dist/{chunk-UQQBUPGF.mjs → chunk-IPMWGCAI.mjs} +5 -21
- package/dist/{chunk-SCUMWMIN.mjs → chunk-ITOTSGSL.mjs} +1 -1
- package/dist/{chunk-NJWKR5WR.mjs → chunk-IYTGWOZY.mjs} +1 -1
- package/dist/chunk-J74A5LNZ.cjs +179 -0
- package/dist/{chunk-CKGEV2JL.cjs → chunk-JDEZ6NNG.cjs} +2 -2
- package/dist/chunk-JEWTYDLX.cjs +119 -0
- package/dist/{chunk-Q7WCKEXG.cjs → chunk-JF43YF6J.cjs} +3 -3
- package/dist/chunk-JTFQFULL.cjs +166 -0
- package/dist/{chunk-XQ3MWA3D.mjs → chunk-KXKUQSNY.mjs} +3 -3
- package/dist/chunk-L2AKG4VJ.mjs +258 -0
- package/dist/{chunk-ZCSJGDX7.mjs → chunk-L2DME42Q.mjs} +1 -1
- package/dist/{chunk-K2BQNNEX.cjs → chunk-L6W77P4B.cjs} +8 -8
- package/dist/{chunk-N4Y5CBOI.cjs → chunk-LGUQR5AR.cjs} +4 -4
- package/dist/{chunk-ZA7WOIIB.mjs → chunk-LHP7FLGK.mjs} +1 -1
- package/dist/{chunk-MYZHDWBF.mjs → chunk-LLFE3UHZ.mjs} +10 -10
- package/dist/{chunk-332A4MHC.mjs → chunk-LNYUFL3Q.mjs} +1 -1
- package/dist/{chunk-BUAWPPXA.cjs → chunk-MQ5DGLVE.cjs} +11 -11
- package/dist/{chunk-EXY6WRH4.mjs → chunk-N6KP2HIC.mjs} +2 -2
- package/dist/{chunk-V75PKBIV.cjs → chunk-NEJKCSS5.cjs} +9 -9
- package/dist/{chunk-KPGZOX2A.cjs → chunk-NHFIDL5X.cjs} +5 -5
- package/dist/{chunk-JNV3UBBP.cjs → chunk-NIACIZWY.cjs} +6 -22
- package/dist/{chunk-PC5DHSC4.mjs → chunk-NKUK73WB.mjs} +71 -1
- package/dist/{chunk-5OZS5UJX.cjs → chunk-NSPAT6XV.cjs} +7 -7
- package/dist/chunk-NUBFD3YP.mjs +117 -0
- package/dist/{chunk-4BQPIY5Z.mjs → chunk-O2NGB7YP.mjs} +1 -1
- package/dist/{chunk-7H7U2X45.cjs → chunk-O3DFVRON.cjs} +17 -13
- package/dist/chunk-O57DAVOQ.mjs +1 -0
- package/dist/{chunk-S37MJNNP.cjs → chunk-OCADGDGL.cjs} +2 -2
- package/dist/{chunk-ZSAPBZ36.mjs → chunk-OW653F7T.mjs} +1 -1
- package/dist/{chunk-GRXUYMZJ.cjs → chunk-OX5FXH6W.cjs} +4 -4
- package/dist/{chunk-GQYUSBSO.mjs → chunk-P3FBRYWH.mjs} +3 -10
- package/dist/{chunk-P3YSHGT5.mjs → chunk-P55DAW6H.mjs} +1 -1
- package/dist/{chunk-JOOURIX7.cjs → chunk-P6E4WLMD.cjs} +4 -4
- package/dist/{chunk-WDSOII5A.cjs → chunk-P7J7XHDE.cjs} +2 -2
- package/dist/chunk-PHRZ5JE6.mjs +1 -0
- package/dist/{chunk-F3HOBNGR.cjs → chunk-PMG3NZF5.cjs} +4 -4
- package/dist/chunk-PMYOKSO3.mjs +30 -0
- package/dist/chunk-PTUZYCOY.mjs +314 -0
- package/dist/{chunk-PV6CEMTT.cjs → chunk-PWZ4F3WY.cjs} +4 -4
- package/dist/{chunk-QBAZ6TKZ.cjs → chunk-PZZW3E5D.cjs} +2 -2
- package/dist/chunk-Q3UN25WC.mjs +141 -0
- package/dist/{chunk-MXGPFCLN.cjs → chunk-QS6WNNLM.cjs} +2 -2
- package/dist/{chunk-PR3BCKLJ.mjs → chunk-QSDYNIZB.mjs} +2 -1
- package/dist/{chunk-GTBXRWCK.cjs → chunk-QTLUPDLH.cjs} +8 -7
- package/dist/{chunk-BXZSWY4N.mjs → chunk-QYJZ5KA6.mjs} +1 -1
- package/dist/{chunk-JYYAGDLZ.cjs → chunk-R22VW3EK.cjs} +2 -2
- package/dist/{chunk-NKGUQZTD.cjs → chunk-RHVKIZMQ.cjs} +2 -2
- package/dist/{chunk-U22YVR7M.mjs → chunk-RLY4A3IY.mjs} +15 -6
- package/dist/{chunk-OJOWMXXY.mjs → chunk-RR76Z6OK.mjs} +3 -3
- package/dist/{chunk-D562KO2I.mjs → chunk-RWHVZM2B.mjs} +2 -2
- package/dist/chunk-S4C7HO32.cjs +36 -0
- package/dist/chunk-SBAVMK7J.cjs +181 -0
- package/dist/{chunk-DAVMLI3P.cjs → chunk-SNUQOJLK.cjs} +4 -4
- package/dist/{chunk-KY2PYKDZ.mjs → chunk-SO5KFX2C.mjs} +1 -1
- package/dist/{chunk-HB65PF7F.cjs → chunk-SOHGIAGF.cjs} +2 -2
- package/dist/{chunk-RW4T7UBU.cjs → chunk-STJMH4NX.cjs} +3 -3
- package/dist/{chunk-VYINXXYX.cjs → chunk-SUWJDU3Y.cjs} +59 -61
- package/dist/chunk-T2BDPMCF.cjs +358 -0
- package/dist/{chunk-U5W4ZALG.cjs → chunk-T2OAWYOU.cjs} +6 -6
- package/dist/{chunk-Q7VP2WSX.mjs → chunk-TCCFFSXM.mjs} +29 -12
- package/dist/{chunk-PRNBDGOF.cjs → chunk-THE6FZKP.cjs} +29 -49
- package/dist/{chunk-RGOZPSTI.mjs → chunk-TMBHKVKH.mjs} +1 -1
- package/dist/chunk-TQOGGHSJ.mjs +23 -0
- package/dist/{chunk-VTW2DF63.mjs → chunk-TWDDNHRP.mjs} +1 -1
- package/dist/{chunk-DDIB73SZ.mjs → chunk-UB3ELCFR.mjs} +4 -4
- package/dist/{chunk-XTLGNJIO.mjs → chunk-UBGNADCN.mjs} +1 -1
- package/dist/chunk-UCAIVC2B.cjs +32 -0
- package/dist/chunk-UEHPZIQB.cjs +2 -0
- package/dist/{chunk-ASZIBFA6.cjs → chunk-UZTOUPJ7.cjs} +131 -92
- package/dist/{chunk-3NIMV5PH.mjs → chunk-V4THHKSO.mjs} +1 -1
- package/dist/{chunk-G5VBLDAM.mjs → chunk-VBEVJE7Q.mjs} +1 -1
- package/dist/chunk-VDYJAOMN.mjs +177 -0
- package/dist/{chunk-64VVW5YR.mjs → chunk-VLNU7Y2K.mjs} +8 -43
- package/dist/{chunk-ZS7ESTKH.cjs → chunk-VT6E2N6C.cjs} +8 -12
- package/dist/{chunk-OLYHHP67.mjs → chunk-VWLZKPDB.mjs} +6 -5
- package/dist/{chunk-UMGNAR3W.cjs → chunk-W22SQYEO.cjs} +8 -8
- package/dist/{chunk-VWVYCQWF.mjs → chunk-WBM7ATPT.mjs} +1 -1
- package/dist/{chunk-CH3BSVL4.cjs → chunk-WGY33IHV.cjs} +2 -2
- package/dist/{chunk-DAA2GQAS.cjs → chunk-WRJAYU2L.cjs} +27 -27
- package/dist/{chunk-7AEOJFD4.cjs → chunk-WX3VWVWD.cjs} +2 -2
- package/dist/{chunk-EBFPZBUQ.cjs → chunk-WYUJM72T.cjs} +7 -7
- package/dist/{chunk-EK3BTKZP.cjs → chunk-WZQ2BT3P.cjs} +142 -26
- package/dist/{chunk-KR7VBV3B.cjs → chunk-XIDCYS6G.cjs} +2 -1
- package/dist/{chunk-WHV6Z7YX.mjs → chunk-XIESS6HW.mjs} +1 -1
- package/dist/{chunk-UIJEAY6H.mjs → chunk-XTZURZIR.mjs} +1 -1
- package/dist/{chunk-7AZ3PLUC.mjs → chunk-XZLQHASB.mjs} +1 -1
- package/dist/{chunk-SRZ56OJH.mjs → chunk-XZTEU7ME.mjs} +3 -3
- package/dist/{chunk-RLTLA7VS.mjs → chunk-Y2IIKDRY.mjs} +1 -1
- package/dist/chunk-YDF6VWBW.cjs +151 -0
- package/dist/{chunk-CR6JOOO3.cjs → chunk-YGZHBIZP.cjs} +3 -10
- package/dist/{chunk-TWQONYWC.mjs → chunk-YMMSHGYC.mjs} +1 -1
- package/dist/chunk-YQL6JDVP.cjs +21 -0
- package/dist/{chunk-Q37KC3CL.mjs → chunk-YRNI7ZJ7.mjs} +134 -18
- package/dist/{chunk-3ZEQVODC.cjs → chunk-ZAK7AFVY.cjs} +2 -2
- package/dist/{chunk-W3IHFG4B.cjs → chunk-ZG33TW5I.cjs} +8 -8
- package/dist/{chunk-FK6ZROZE.mjs → chunk-ZJYPKTF4.mjs} +2 -1
- package/dist/chunk-ZMRODJ3I.mjs +149 -0
- package/dist/{chunk-AHD46BFN.mjs → chunk-ZQOQB6GF.mjs} +1 -1
- package/dist/dial/DialPanel.cjs +104 -92
- package/dist/dial/DialPanel.d.cts +5 -5
- package/dist/dial/DialPanel.d.ts +5 -5
- package/dist/dial/DialPanel.mjs +103 -91
- package/dist/dial/DialProvider.d.cts +16 -51
- package/dist/dial/DialProvider.d.ts +16 -51
- package/dist/dial/IconRenderer.d.cts +2 -2
- package/dist/dial/IconRenderer.d.ts +2 -2
- package/dist/dial/components/DialButton.cjs +22 -0
- package/dist/dial/components/DialButton.d.cts +28 -0
- package/dist/dial/components/DialButton.d.ts +28 -0
- package/dist/dial/components/DialButton.mjs +13 -0
- package/dist/dial/components/DialCustom.cjs +11 -0
- package/dist/dial/components/DialCustom.d.cts +34 -0
- package/dist/dial/components/DialCustom.d.ts +34 -0
- package/dist/dial/components/DialCustom.mjs +2 -0
- package/dist/dial/components/index.cjs +29 -0
- package/dist/dial/components/index.d.cts +4 -0
- package/dist/dial/components/index.d.ts +4 -0
- package/dist/dial/components/index.mjs +16 -0
- package/dist/dial/index.cjs +128 -108
- package/dist/dial/index.d.cts +5 -1
- package/dist/dial/index.d.ts +5 -1
- package/dist/dial/index.mjs +103 -91
- package/dist/dial/types.cjs +4 -0
- package/dist/dial/types.d.cts +21 -0
- package/dist/dial/types.d.ts +21 -0
- package/dist/dial/types.mjs +1 -0
- package/dist/dial/wrapped-inputs/ControlledInputs.cjs +108 -96
- package/dist/dial/wrapped-inputs/ControlledInputs.d.cts +8 -8
- package/dist/dial/wrapped-inputs/ControlledInputs.d.ts +8 -8
- package/dist/dial/wrapped-inputs/ControlledInputs.mjs +103 -91
- package/dist/dial/wrapped-inputs/DialArrayInput.cjs +139 -0
- package/dist/dial/wrapped-inputs/DialArrayInput.d.cts +20 -0
- package/dist/dial/wrapped-inputs/DialArrayInput.d.ts +20 -0
- package/dist/dial/wrapped-inputs/DialArrayInput.mjs +130 -0
- package/dist/dial/wrapped-inputs/DialInputs.cjs +117 -105
- package/dist/dial/wrapped-inputs/DialInputs.d.cts +19 -17
- package/dist/dial/wrapped-inputs/DialInputs.d.ts +19 -17
- package/dist/dial/wrapped-inputs/DialInputs.mjs +103 -91
- package/dist/dial/wrapped-inputs/DialInterfaceInput.cjs +139 -0
- package/dist/dial/wrapped-inputs/DialInterfaceInput.d.cts +13 -0
- package/dist/dial/wrapped-inputs/DialInterfaceInput.d.ts +13 -0
- package/dist/dial/wrapped-inputs/DialInterfaceInput.mjs +130 -0
- package/dist/dial/wrapped-inputs/DialPresetsInput.cjs +94 -86
- package/dist/dial/wrapped-inputs/DialPresetsInput.d.cts +4 -4
- package/dist/dial/wrapped-inputs/DialPresetsInput.d.ts +4 -4
- package/dist/dial/wrapped-inputs/DialPresetsInput.mjs +93 -85
- package/dist/dial/wrapped-inputs/DialTupleInput.cjs +139 -0
- package/dist/dial/wrapped-inputs/DialTupleInput.d.cts +18 -0
- package/dist/dial/wrapped-inputs/DialTupleInput.d.ts +18 -0
- package/dist/dial/wrapped-inputs/DialTupleInput.mjs +130 -0
- package/dist/dial/wrapped-inputs/DialVectorInput.cjs +104 -92
- package/dist/dial/wrapped-inputs/DialVectorInput.d.cts +2 -2
- package/dist/dial/wrapped-inputs/DialVectorInput.d.ts +2 -2
- package/dist/dial/wrapped-inputs/DialVectorInput.mjs +103 -91
- package/dist/dial/wrapped-inputs/index.cjs +132 -112
- package/dist/dial/wrapped-inputs/index.d.cts +4 -2
- package/dist/dial/wrapped-inputs/index.d.ts +4 -2
- package/dist/dial/wrapped-inputs/index.mjs +103 -91
- package/dist/highlight-cursor/cursor-context.d.cts +2 -2
- package/dist/highlight-cursor/cursor-context.d.ts +2 -2
- package/dist/highlight-cursor/cursor-provider.cjs +3 -3
- package/dist/highlight-cursor/cursor-provider.d.cts +1 -1
- package/dist/highlight-cursor/cursor-provider.d.ts +1 -1
- package/dist/highlight-cursor/cursor-provider.mjs +2 -2
- package/dist/highlight-cursor/enhanced-components.cjs +16 -16
- package/dist/highlight-cursor/enhanced-components.d.cts +4 -4
- package/dist/highlight-cursor/enhanced-components.d.ts +4 -4
- package/dist/highlight-cursor/enhanced-components.mjs +11 -11
- package/dist/highlight-cursor/index.cjs +21 -21
- package/dist/highlight-cursor/index.mjs +12 -12
- package/dist/highlight-cursor/types.d.cts +2 -1
- package/dist/highlight-cursor/types.d.ts +2 -1
- package/dist/highlight-cursor/with-cursor.d.cts +2 -2
- package/dist/highlight-cursor/with-cursor.d.ts +2 -2
- package/dist/hooks/clientOnly.d.cts +4 -4
- package/dist/hooks/clientOnly.d.ts +4 -4
- package/dist/hooks/cn.cjs +2 -2
- package/dist/hooks/cn.mjs +1 -1
- package/dist/hooks/index.cjs +22 -22
- package/dist/hooks/index.mjs +5 -5
- package/dist/hooks/useIsMobile.cjs +2 -2
- package/dist/hooks/useIsMobile.mjs +1 -1
- package/dist/index.cjs +587 -407
- package/dist/index.css +13 -76
- package/dist/index.d.cts +20 -6
- package/dist/index.d.ts +20 -6
- package/dist/index.mjs +103 -91
- package/dist/schema-types-D9b7Dc1G.d.cts +163 -0
- package/dist/schema-types-D9b7Dc1G.d.ts +163 -0
- package/dist/styles/theme.css +1 -1
- package/dist/ui/DialBadge.cjs +10 -10
- package/dist/ui/DialBadge.mjs +6 -6
- package/dist/ui/UIKitBadge.cjs +10 -10
- package/dist/ui/UIKitBadge.mjs +6 -6
- package/dist/ui/alert-dialog.cjs +60 -0
- package/dist/ui/alert-dialog.d.cts +17 -0
- package/dist/ui/alert-dialog.d.ts +17 -0
- package/dist/ui/alert-dialog.mjs +11 -0
- package/dist/ui/avatar.cjs +10 -10
- package/dist/ui/avatar.d.cts +2 -2
- package/dist/ui/avatar.d.ts +2 -2
- package/dist/ui/avatar.mjs +6 -6
- package/dist/ui/badge.cjs +8 -8
- package/dist/ui/badge.d.cts +2 -2
- package/dist/ui/badge.d.ts +2 -2
- package/dist/ui/badge.mjs +6 -6
- package/dist/ui/button.cjs +8 -8
- package/dist/ui/button.d.cts +3 -3
- package/dist/ui/button.d.ts +3 -3
- package/dist/ui/button.mjs +6 -6
- package/dist/ui/card.cjs +14 -13
- package/dist/ui/card.d.cts +14 -2
- package/dist/ui/card.d.ts +14 -2
- package/dist/ui/card.mjs +7 -6
- package/dist/ui/checkbox.cjs +7 -7
- package/dist/ui/checkbox.mjs +6 -6
- package/dist/ui/collapsible.cjs +9 -9
- package/dist/ui/collapsible.mjs +6 -6
- package/dist/ui/context-menu.cjs +76 -0
- package/dist/ui/context-menu.d.cts +28 -0
- package/dist/ui/context-menu.d.ts +28 -0
- package/dist/ui/context-menu.mjs +11 -0
- package/dist/ui/drag-selectable/createSelectable.d.cts +2 -2
- package/dist/ui/drag-selectable/createSelectable.d.ts +2 -2
- package/dist/ui/drawer.cjs +16 -16
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/drawer.d.ts +11 -11
- package/dist/ui/drawer.mjs +6 -6
- package/dist/ui/dropdown.cjs +21 -21
- package/dist/ui/dropdown.mjs +6 -6
- package/dist/ui/index.cjs +485 -317
- package/dist/ui/index.d.cts +15 -5
- package/dist/ui/index.d.ts +15 -5
- package/dist/ui/index.mjs +90 -82
- package/dist/ui/inputs/color-input.cjs +8 -8
- package/dist/ui/inputs/color-input.d.cts +7 -3
- package/dist/ui/inputs/color-input.d.ts +7 -3
- package/dist/ui/inputs/color-input.mjs +7 -7
- package/dist/ui/inputs/index.cjs +56 -56
- package/dist/ui/inputs/index.mjs +25 -25
- package/dist/ui/inputs/input-numbers.cjs +8 -8
- package/dist/ui/inputs/input-numbers.d.cts +7 -3
- package/dist/ui/inputs/input-numbers.d.ts +7 -3
- package/dist/ui/inputs/input-numbers.mjs +7 -7
- package/dist/ui/inputs/input.cjs +9 -9
- package/dist/ui/inputs/input.d.cts +4 -4
- package/dist/ui/inputs/input.d.ts +4 -4
- package/dist/ui/inputs/input.mjs +6 -6
- package/dist/ui/inputs/number-inputs/CmInput.cjs +9 -9
- package/dist/ui/inputs/number-inputs/CmInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/CmInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/CmInput.mjs +8 -8
- package/dist/ui/inputs/number-inputs/DegInput.cjs +9 -9
- package/dist/ui/inputs/number-inputs/DegInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/DegInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/DegInput.mjs +8 -8
- package/dist/ui/inputs/number-inputs/EulerDegInput.cjs +11 -11
- package/dist/ui/inputs/number-inputs/EulerDegInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/EulerDegInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/EulerDegInput.mjs +10 -10
- package/dist/ui/inputs/number-inputs/EulerInput.cjs +10 -10
- package/dist/ui/inputs/number-inputs/EulerInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/EulerInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/EulerInput.mjs +9 -9
- package/dist/ui/inputs/number-inputs/EulerRadInput.cjs +10 -10
- package/dist/ui/inputs/number-inputs/EulerRadInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/EulerRadInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/EulerRadInput.mjs +9 -9
- package/dist/ui/inputs/number-inputs/InchInput.cjs +9 -9
- package/dist/ui/inputs/number-inputs/InchInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/InchInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/InchInput.mjs +8 -8
- package/dist/ui/inputs/number-inputs/IntInput.cjs +9 -9
- package/dist/ui/inputs/number-inputs/IntInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/IntInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/IntInput.mjs +8 -8
- package/dist/ui/inputs/number-inputs/KVectorInput.cjs +10 -10
- package/dist/ui/inputs/number-inputs/KVectorInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/KVectorInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/KVectorInput.mjs +9 -9
- package/dist/ui/inputs/number-inputs/QuaternionInput.cjs +10 -10
- package/dist/ui/inputs/number-inputs/QuaternionInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/QuaternionInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/QuaternionInput.mjs +9 -9
- package/dist/ui/inputs/number-inputs/RadInput.cjs +9 -9
- package/dist/ui/inputs/number-inputs/RadInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/RadInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/RadInput.mjs +8 -8
- package/dist/ui/inputs/number-inputs/TimeInput.cjs +9 -9
- package/dist/ui/inputs/number-inputs/TimeInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/TimeInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/TimeInput.mjs +8 -8
- package/dist/ui/inputs/number-inputs/Vec3Input.cjs +10 -10
- package/dist/ui/inputs/number-inputs/Vec3Input.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/Vec3Input.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/Vec3Input.mjs +9 -9
- package/dist/ui/inputs/number-inputs/VectorInput.cjs +9 -9
- package/dist/ui/inputs/number-inputs/VectorInput.d.cts +4 -2
- package/dist/ui/inputs/number-inputs/VectorInput.d.ts +4 -2
- package/dist/ui/inputs/number-inputs/VectorInput.mjs +8 -8
- package/dist/ui/inputs/number-inputs/index.cjs +42 -42
- package/dist/ui/inputs/number-inputs/index.mjs +20 -20
- package/dist/ui/inputs/presets-input.cjs +10 -10
- package/dist/ui/inputs/presets-input.d.cts +2 -2
- package/dist/ui/inputs/presets-input.d.ts +2 -2
- package/dist/ui/inputs/presets-input.mjs +9 -9
- package/dist/ui/inputs/presets-rad-input.cjs +11 -11
- package/dist/ui/inputs/presets-rad-input.d.cts +2 -2
- package/dist/ui/inputs/presets-rad-input.d.ts +2 -2
- package/dist/ui/inputs/presets-rad-input.mjs +10 -10
- package/dist/ui/inputs/text-input.cjs +8 -8
- package/dist/ui/inputs/text-input.d.cts +2 -2
- package/dist/ui/inputs/text-input.d.ts +2 -2
- package/dist/ui/inputs/text-input.mjs +7 -7
- package/dist/ui/label.cjs +7 -7
- package/dist/ui/label.d.cts +4 -4
- package/dist/ui/label.d.ts +4 -4
- package/dist/ui/label.mjs +6 -6
- package/dist/ui/layout.cjs +7 -7
- package/dist/ui/layout.mjs +6 -6
- package/dist/ui/layouts/dock-layout/DockLayoutView.cjs +8 -8
- package/dist/ui/layouts/dock-layout/DockLayoutView.d.cts +2 -1
- package/dist/ui/layouts/dock-layout/DockLayoutView.d.ts +2 -1
- package/dist/ui/layouts/dock-layout/DockLayoutView.mjs +7 -7
- package/dist/ui/layouts/dock-layout/LayoutSlots.cjs +12 -12
- package/dist/ui/layouts/dock-layout/LayoutSlots.d.cts +3 -3
- package/dist/ui/layouts/dock-layout/LayoutSlots.d.ts +3 -3
- package/dist/ui/layouts/dock-layout/LayoutSlots.mjs +6 -6
- package/dist/ui/layouts/dock-layout/index.cjs +14 -14
- package/dist/ui/layouts/dock-layout/index.mjs +7 -7
- package/dist/ui/layouts/index.cjs +20 -20
- package/dist/ui/layouts/index.mjs +9 -9
- package/dist/ui/layouts/liquid-layout/LayoutSlots.cjs +12 -12
- package/dist/ui/layouts/liquid-layout/LayoutSlots.mjs +6 -6
- package/dist/ui/layouts/liquid-layout/LiquidLayoutView.cjs +8 -8
- package/dist/ui/layouts/liquid-layout/LiquidLayoutView.d.cts +13 -1
- package/dist/ui/layouts/liquid-layout/LiquidLayoutView.d.ts +13 -1
- package/dist/ui/layouts/liquid-layout/LiquidLayoutView.mjs +7 -7
- package/dist/ui/layouts/liquid-layout/index.cjs +8 -8
- package/dist/ui/layouts/liquid-layout/index.mjs +7 -7
- package/dist/ui/modal.cjs +16 -16
- package/dist/ui/modal.mjs +6 -6
- package/dist/ui/navigation.cjs +8 -8
- package/dist/ui/navigation.d.cts +2 -2
- package/dist/ui/navigation.d.ts +2 -2
- package/dist/ui/navigation.mjs +7 -7
- package/dist/ui/pagination.cjs +14 -14
- package/dist/ui/pagination.mjs +7 -7
- package/dist/ui/popover.cjs +14 -10
- package/dist/ui/popover.d.cts +18 -8
- package/dist/ui/popover.d.ts +18 -8
- package/dist/ui/popover.mjs +6 -6
- package/dist/ui/progress.cjs +7 -7
- package/dist/ui/progress.d.cts +1 -1
- package/dist/ui/progress.d.ts +1 -1
- package/dist/ui/progress.mjs +6 -6
- package/dist/ui/radio-group.cjs +8 -8
- package/dist/ui/radio-group.mjs +6 -6
- package/dist/ui/resizable.cjs +9 -9
- package/dist/ui/resizable.d.cts +2 -2
- package/dist/ui/resizable.d.ts +2 -2
- package/dist/ui/resizable.mjs +6 -6
- package/dist/ui/select.cjs +17 -17
- package/dist/ui/select.d.cts +3 -2
- package/dist/ui/select.d.ts +3 -2
- package/dist/ui/select.mjs +6 -6
- package/dist/ui/separator.cjs +7 -7
- package/dist/ui/separator.mjs +6 -6
- package/dist/ui/sheet.cjs +14 -14
- package/dist/ui/sheet.d.cts +26 -13
- package/dist/ui/sheet.d.ts +26 -13
- package/dist/ui/sheet.mjs +6 -6
- package/dist/ui/sidebar.cjs +36 -36
- package/dist/ui/sidebar.mjs +12 -12
- package/dist/ui/simple-tree-view.cjs +7 -7
- package/dist/ui/simple-tree-view.d.cts +2 -2
- package/dist/ui/simple-tree-view.d.ts +2 -2
- package/dist/ui/simple-tree-view.mjs +6 -6
- package/dist/ui/skeleton.cjs +7 -7
- package/dist/ui/skeleton.mjs +6 -6
- package/dist/ui/slider.cjs +7 -7
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.ts +2 -2
- package/dist/ui/slider.mjs +6 -6
- package/dist/ui/switch.cjs +7 -7
- package/dist/ui/switch.d.cts +4 -1
- package/dist/ui/switch.d.ts +4 -1
- package/dist/ui/switch.mjs +6 -6
- package/dist/ui/table.cjs +14 -14
- package/dist/ui/table.d.cts +9 -9
- package/dist/ui/table.d.ts +9 -9
- package/dist/ui/table.mjs +6 -6
- package/dist/ui/tabs.cjs +14 -10
- package/dist/ui/tabs.d.cts +25 -7
- package/dist/ui/tabs.d.ts +25 -7
- package/dist/ui/tabs.mjs +6 -6
- package/dist/ui/textarea.cjs +7 -7
- package/dist/ui/textarea.d.cts +1 -1
- package/dist/ui/textarea.d.ts +1 -1
- package/dist/ui/textarea.mjs +6 -6
- package/dist/ui/theme/ThemeProvider.cjs +15 -15
- package/dist/ui/theme/ThemeProvider.d.cts +3 -3
- package/dist/ui/theme/ThemeProvider.d.ts +3 -3
- package/dist/ui/theme/ThemeProvider.mjs +1 -1
- package/dist/ui/theme/ThemeToggles.cjs +11 -11
- package/dist/ui/theme/ThemeToggles.d.cts +18 -3
- package/dist/ui/theme/ThemeToggles.d.ts +18 -3
- package/dist/ui/theme/ThemeToggles.mjs +9 -9
- package/dist/ui/theme/index.cjs +15 -15
- package/dist/ui/theme/index.mjs +9 -9
- package/dist/ui/theme/themeScript.d.cts +2 -2
- package/dist/ui/theme/themeScript.d.ts +2 -2
- package/dist/ui/toast.cjs +19 -3
- package/dist/ui/toast.d.cts +1 -1
- package/dist/ui/toast.d.ts +1 -1
- package/dist/ui/toast.mjs +17 -1
- package/dist/ui/toggle-buttons.cjs +11 -11
- package/dist/ui/toggle-buttons.d.cts +7 -7
- package/dist/ui/toggle-buttons.d.ts +7 -7
- package/dist/ui/toggle-buttons.mjs +6 -6
- package/dist/ui/toggle-group.cjs +9 -9
- package/dist/ui/toggle-group.d.cts +3 -3
- package/dist/ui/toggle-group.d.ts +3 -3
- package/dist/ui/toggle-group.mjs +6 -6
- package/dist/ui/toggle.cjs +8 -8
- package/dist/ui/toggle.mjs +6 -6
- package/dist/ui/toolbar.cjs +9 -9
- package/dist/ui/toolbar.mjs +6 -6
- package/dist/ui/tooltip.cjs +10 -10
- package/dist/ui/tooltip.d.cts +2 -2
- package/dist/ui/tooltip.d.ts +2 -2
- package/dist/ui/tooltip.mjs +6 -6
- package/dist/ui/tree-view/TreeSearchBar.cjs +9 -9
- package/dist/ui/tree-view/TreeSearchBar.mjs +8 -8
- package/dist/ui/tree-view/TreeView.cjs +10 -8
- package/dist/ui/tree-view/TreeView.d.cts +12 -6
- package/dist/ui/tree-view/TreeView.d.ts +12 -6
- package/dist/ui/tree-view/TreeView.mjs +8 -6
- package/dist/ui/tree-view/hooks.cjs +31 -3
- package/dist/ui/tree-view/hooks.d.cts +33 -1
- package/dist/ui/tree-view/hooks.d.ts +33 -1
- package/dist/ui/tree-view/hooks.mjs +1 -1
- package/dist/ui/tree-view/index.cjs +49 -20
- package/dist/ui/tree-view/index.d.cts +1 -1
- package/dist/ui/tree-view/index.d.ts +1 -1
- package/dist/ui/tree-view/index.mjs +11 -10
- package/dist/ui/tree-view/types.d.cts +1 -0
- package/dist/ui/tree-view/types.d.ts +1 -0
- package/dist/ui/tree-view-legacy.cjs +13 -13
- package/dist/ui/tree-view-legacy.mjs +9 -9
- package/dist/ui/virtual-grid/VirtualGrid.cjs +21 -0
- package/dist/ui/virtual-grid/VirtualGrid.d.cts +10 -0
- package/dist/ui/virtual-grid/VirtualGrid.d.ts +10 -0
- package/dist/ui/virtual-grid/VirtualGrid.mjs +12 -0
- package/dist/ui/virtual-grid/index.cjs +26 -0
- package/dist/ui/virtual-grid/index.d.cts +4 -0
- package/dist/ui/virtual-grid/index.d.ts +4 -0
- package/dist/ui/virtual-grid/index.mjs +13 -0
- package/dist/ui/virtual-grid/types.cjs +2 -0
- package/dist/ui/virtual-grid/types.d.cts +70 -0
- package/dist/ui/virtual-grid/types.d.ts +70 -0
- package/dist/ui/virtual-grid/types.mjs +1 -0
- package/dist/ui/virtual-grid/useVirtualGrid.cjs +10 -0
- package/dist/ui/virtual-grid/useVirtualGrid.d.cts +9 -0
- package/dist/ui/virtual-grid/useVirtualGrid.d.ts +9 -0
- package/dist/ui/virtual-grid/useVirtualGrid.mjs +1 -0
- package/dist/ui/virtual-list/VirtualList.cjs +21 -0
- package/dist/ui/virtual-list/VirtualList.d.cts +10 -0
- package/dist/ui/virtual-list/VirtualList.d.ts +10 -0
- package/dist/ui/virtual-list/VirtualList.mjs +12 -0
- package/dist/ui/virtual-list/index.cjs +26 -0
- package/dist/ui/virtual-list/index.d.cts +4 -0
- package/dist/ui/virtual-list/index.d.ts +4 -0
- package/dist/ui/virtual-list/index.mjs +13 -0
- package/dist/ui/virtual-list/types.cjs +2 -0
- package/dist/ui/virtual-list/types.d.cts +54 -0
- package/dist/ui/virtual-list/types.d.ts +54 -0
- package/dist/ui/virtual-list/types.mjs +1 -0
- package/dist/ui/virtual-list/useVirtualList.cjs +10 -0
- package/dist/ui/virtual-list/useVirtualList.d.cts +9 -0
- package/dist/ui/virtual-list/useVirtualList.d.ts +9 -0
- package/dist/ui/virtual-list/useVirtualList.mjs +1 -0
- package/dist/ui/waterfall/CursorOverlay.cjs +7 -7
- package/dist/ui/waterfall/CursorOverlay.mjs +6 -6
- package/dist/ui/waterfall/NavigationControls.d.cts +2 -2
- package/dist/ui/waterfall/NavigationControls.d.ts +2 -2
- package/dist/ui/waterfall/TimelineEvent.cjs +7 -7
- package/dist/ui/waterfall/TimelineEvent.mjs +6 -6
- package/dist/ui/waterfall/TimelineProcessBar.cjs +7 -7
- package/dist/ui/waterfall/TimelineProcessBar.mjs +6 -6
- package/dist/ui/waterfall/Wedges.cjs +8 -8
- package/dist/ui/waterfall/Wedges.mjs +6 -6
- package/dist/ui/waterfall/WheelZoomContext.d.cts +2 -2
- package/dist/ui/waterfall/WheelZoomContext.d.ts +2 -2
- package/dist/ui/waterfall/hooks/useTimelineState.d.cts +4 -3
- package/dist/ui/waterfall/hooks/useTimelineState.d.ts +4 -3
- package/dist/ui/waterfall/hooks/useViewport.d.cts +4 -4
- package/dist/ui/waterfall/hooks/useViewport.d.ts +4 -4
- package/dist/ui/waterfall/index.cjs +20 -19
- package/dist/ui/waterfall/index.d.cts +2 -2
- package/dist/ui/waterfall/index.d.ts +2 -2
- package/dist/ui/waterfall/index.mjs +19 -18
- package/package.json +6 -9
- package/src/dial/DialPanel.tsx +167 -30
- package/src/dial/DialProvider.tsx +20 -68
- package/src/dial/components/DialButton.tsx +52 -0
- package/src/dial/components/DialCustom.tsx +45 -0
- package/src/dial/components/index.ts +3 -0
- package/src/dial/index.ts +11 -6
- package/src/dial/types.ts +32 -0
- package/src/dial/wrapped-inputs/ControlledInputs.tsx +22 -16
- package/src/dial/wrapped-inputs/DialArrayInput.tsx +175 -0
- package/src/dial/wrapped-inputs/DialInputs.tsx +119 -23
- package/src/dial/wrapped-inputs/DialInterfaceInput.tsx +80 -0
- package/src/dial/wrapped-inputs/DialPresetsInput.tsx +4 -3
- package/src/dial/wrapped-inputs/DialTupleInput.tsx +102 -0
- package/src/dial/wrapped-inputs/DialVectorInput.tsx +11 -21
- package/src/dial/wrapped-inputs/index.ts +6 -0
- package/src/highlight-cursor/cursor-provider.tsx +279 -131
- package/src/highlight-cursor/types.ts +2 -1
- package/src/hooks/cn.ts +5 -0
- package/src/hooks/useIsMobile.ts +14 -30
- package/src/index.css +0 -1
- package/src/styles/theme.css +2 -2
- package/src/ui/DialBadge.tsx +7 -5
- package/src/ui/alert-dialog.tsx +168 -0
- package/src/ui/badge.tsx +1 -0
- package/src/ui/card.tsx +76 -8
- package/src/ui/context-menu.tsx +358 -0
- package/src/ui/index.ts +6 -0
- package/src/ui/inputs/color-input.tsx +92 -8
- package/src/ui/inputs/input-numbers.tsx +148 -92
- package/src/ui/inputs/number-inputs/EulerRadInput.tsx +43 -42
- package/src/ui/inputs/number-inputs/VectorInput.tsx +2 -1
- package/src/ui/inputs/presets-rad-input.tsx +5 -2
- package/src/ui/inputs/text-input.tsx +1 -1
- package/src/ui/layouts/dock-layout/DockLayoutView.tsx +15 -4
- package/src/ui/layouts/dock-layout/LayoutSlots.tsx +14 -5
- package/src/ui/layouts/liquid-layout/LiquidLayoutView.tsx +44 -5
- package/src/ui/popover.tsx +10 -49
- package/src/ui/progress.tsx +7 -14
- package/src/ui/select.tsx +5 -2
- package/src/ui/separator.tsx +1 -1
- package/src/ui/sheet.tsx +14 -116
- package/src/ui/sidebar.tsx +18 -19
- package/src/ui/switch.tsx +7 -2
- package/src/ui/tabs.tsx +29 -58
- package/src/ui/theme/ThemeProvider.tsx +4 -3
- package/src/ui/theme/ThemeToggles.tsx +48 -12
- package/src/ui/toast.tsx +13 -16
- package/src/ui/tooltip.tsx +3 -30
- package/src/ui/tree-view/TreeView.tsx +179 -21
- package/src/ui/tree-view/hooks.tsx +148 -0
- package/src/ui/tree-view/types.ts +2 -1
- package/src/ui/virtual-grid/VirtualGrid.tsx +345 -0
- package/src/ui/virtual-grid/index.ts +10 -0
- package/src/ui/virtual-grid/types.ts +72 -0
- package/src/ui/virtual-grid/useVirtualGrid.ts +243 -0
- package/src/ui/virtual-list/VirtualList.tsx +207 -0
- package/src/ui/virtual-list/index.ts +8 -0
- package/src/ui/virtual-list/types.ts +54 -0
- package/src/ui/virtual-list/useVirtualList.ts +203 -0
- package/src/ui/waterfall/TimelineProcessBar.tsx +10 -4
- package/dist/auth/components/index.cjs +0 -128
- package/dist/auth/components/index.d.cts +0 -2
- package/dist/auth/components/index.d.ts +0 -2
- package/dist/auth/components/index.mjs +0 -119
- package/dist/auth/components/user-avatar/index.cjs +0 -127
- package/dist/auth/components/user-avatar/index.d.cts +0 -8
- package/dist/auth/components/user-avatar/index.d.ts +0 -8
- package/dist/auth/components/user-avatar/index.mjs +0 -118
- package/dist/auth/context/user-context.cjs +0 -10
- package/dist/auth/context/user-context.d.cts +0 -13
- package/dist/auth/context/user-context.d.ts +0 -13
- package/dist/auth/context/user-context.mjs +0 -1
- package/dist/auth/handler/fetch-auth.cjs +0 -11
- package/dist/auth/handler/fetch-auth.d.cts +0 -3
- package/dist/auth/handler/fetch-auth.d.ts +0 -3
- package/dist/auth/handler/fetch-auth.mjs +0 -2
- package/dist/auth/handler/fetch-server.cjs +0 -11
- package/dist/auth/handler/fetch-server.d.cts +0 -3
- package/dist/auth/handler/fetch-server.d.ts +0 -3
- package/dist/auth/handler/fetch-server.mjs +0 -2
- package/dist/auth/handler/get-session.cjs +0 -12
- package/dist/auth/handler/get-session.d.cts +0 -21
- package/dist/auth/handler/get-session.d.ts +0 -21
- package/dist/auth/handler/get-session.mjs +0 -3
- package/dist/auth/handler/get-sessions.cjs +0 -12
- package/dist/auth/handler/get-sessions.d.cts +0 -21
- package/dist/auth/handler/get-sessions.d.ts +0 -21
- package/dist/auth/handler/get-sessions.mjs +0 -3
- package/dist/auth/handler/sign-in-handler.cjs +0 -11
- package/dist/auth/handler/sign-in-handler.d.cts +0 -6
- package/dist/auth/handler/sign-in-handler.d.ts +0 -6
- package/dist/auth/handler/sign-in-handler.mjs +0 -2
- package/dist/auth/handler/sign-out-handler.cjs +0 -12
- package/dist/auth/handler/sign-out-handler.d.cts +0 -5
- package/dist/auth/handler/sign-out-handler.d.ts +0 -5
- package/dist/auth/handler/sign-out-handler.mjs +0 -3
- package/dist/auth/hooks/use-sign-in.cjs +0 -14
- package/dist/auth/hooks/use-sign-in.d.cts +0 -9
- package/dist/auth/hooks/use-sign-in.d.ts +0 -9
- package/dist/auth/hooks/use-sign-in.mjs +0 -5
- package/dist/auth/hooks/use-sign-out.cjs +0 -15
- package/dist/auth/hooks/use-sign-out.d.cts +0 -6
- package/dist/auth/hooks/use-sign-out.d.ts +0 -6
- package/dist/auth/hooks/use-sign-out.mjs +0 -6
- package/dist/auth/hooks/use-user.cjs +0 -11
- package/dist/auth/hooks/use-user.d.cts +0 -8
- package/dist/auth/hooks/use-user.d.ts +0 -8
- package/dist/auth/hooks/use-user.mjs +0 -2
- package/dist/auth/hooks/use-vuer-sessions.cjs +0 -15
- package/dist/auth/hooks/use-vuer-sessions.d.cts +0 -9
- package/dist/auth/hooks/use-vuer-sessions.d.ts +0 -9
- package/dist/auth/hooks/use-vuer-sessions.mjs +0 -6
- package/dist/auth/index.cjs +0 -165
- package/dist/auth/index.d.cts +0 -13
- package/dist/auth/index.d.ts +0 -13
- package/dist/auth/index.mjs +0 -124
- package/dist/auth/localstorage-key.cjs +0 -14
- package/dist/auth/localstorage-key.d.cts +0 -4
- package/dist/auth/localstorage-key.d.ts +0 -4
- package/dist/auth/localstorage-key.mjs +0 -1
- package/dist/auth/types.d.cts +0 -27
- package/dist/auth/types.d.ts +0 -27
- package/dist/auth/vuer-user-provider.cjs +0 -14
- package/dist/auth/vuer-user-provider.d.cts +0 -9
- package/dist/auth/vuer-user-provider.d.ts +0 -9
- package/dist/auth/vuer-user-provider.mjs +0 -5
- package/dist/chunk-2DXJJLJL.mjs +0 -51
- package/dist/chunk-2GXIGEKC.mjs +0 -66
- package/dist/chunk-3WMO5QJJ.cjs +0 -8
- package/dist/chunk-5OHAV55L.mjs +0 -24
- package/dist/chunk-6C53NKMF.mjs +0 -206
- package/dist/chunk-6GJM7TPE.cjs +0 -28
- package/dist/chunk-7E5Y224I.cjs +0 -14
- package/dist/chunk-7R5HY3IM.cjs +0 -12
- package/dist/chunk-EMVKGL5D.mjs +0 -28
- package/dist/chunk-EMXEFZEB.cjs +0 -30
- package/dist/chunk-EOSYXHEH.mjs +0 -27
- package/dist/chunk-EXXV3BXT.cjs +0 -23
- package/dist/chunk-F4Z5KATZ.cjs +0 -8
- package/dist/chunk-FROQ45MN.mjs +0 -6
- package/dist/chunk-FZAGJSW2.cjs +0 -47
- package/dist/chunk-H7RH4CZ7.cjs +0 -54
- package/dist/chunk-HOMAESTR.mjs +0 -12
- package/dist/chunk-IPQU5CJD.mjs +0 -21
- package/dist/chunk-JR4TVE43.cjs +0 -31
- package/dist/chunk-KIZEJMW4.cjs +0 -15
- package/dist/chunk-KQW3YARN.cjs +0 -117
- package/dist/chunk-L2XJ5Q7T.cjs +0 -58
- package/dist/chunk-LAPOK2L4.mjs +0 -193
- package/dist/chunk-MFYDZKQF.mjs +0 -28
- package/dist/chunk-MNCBTS63.cjs +0 -68
- package/dist/chunk-MO5V43Z3.mjs +0 -13
- package/dist/chunk-MRMSCW3P.cjs +0 -19
- package/dist/chunk-OOHCJIRV.cjs +0 -26
- package/dist/chunk-PX2H7Z4D.mjs +0 -26
- package/dist/chunk-PXDT5GFJ.mjs +0 -13
- package/dist/chunk-Q3CJUGX3.cjs +0 -21
- package/dist/chunk-Q76WU4DL.cjs +0 -17
- package/dist/chunk-R4HT3SYR.cjs +0 -208
- package/dist/chunk-RSBVQ7SJ.cjs +0 -54
- package/dist/chunk-RTYZO2AC.cjs +0 -30
- package/dist/chunk-SO2UTKSV.mjs +0 -17
- package/dist/chunk-UT7B4TLZ.mjs +0 -5
- package/dist/chunk-V4KDK3BN.mjs +0 -52
- package/dist/chunk-V5T6XOSB.cjs +0 -222
- package/dist/chunk-VSFPXAGN.mjs +0 -10
- package/dist/chunk-VSIOXWSI.cjs +0 -53
- package/dist/chunk-WDS3VL7E.mjs +0 -56
- package/dist/chunk-X3H6FYAM.cjs +0 -15
- package/dist/chunk-XHJDRQD7.mjs +0 -29
- package/dist/chunk-Y2XVZEXM.mjs +0 -45
- package/dist/chunk-Z7BZFZEV.mjs +0 -15
- package/dist/dial/DialProvider.example.cjs +0 -72
- package/dist/dial/DialProvider.example.d.cts +0 -7
- package/dist/dial/DialProvider.example.d.ts +0 -7
- package/dist/dial/DialProvider.example.mjs +0 -68
- package/dist/styles/toast.css +0 -64
- package/dist/styles/toast.d.cts +0 -2
- package/dist/styles/toast.d.ts +0 -2
- package/src/auth/components/index.ts +0 -1
- package/src/auth/components/user-avatar/index.tsx +0 -94
- package/src/auth/context/user-context.ts +0 -15
- package/src/auth/handler/fetch-auth.ts +0 -10
- package/src/auth/handler/fetch-server.ts +0 -10
- package/src/auth/handler/get-session.ts +0 -19
- package/src/auth/handler/get-sessions.ts +0 -16
- package/src/auth/handler/sign-in-handler.ts +0 -64
- package/src/auth/handler/sign-out-handler.ts +0 -9
- package/src/auth/hooks/use-sign-in.ts +0 -33
- package/src/auth/hooks/use-sign-out.ts +0 -30
- package/src/auth/hooks/use-user.ts +0 -10
- package/src/auth/hooks/use-vuer-sessions.ts +0 -29
- package/src/auth/index.ts +0 -12
- package/src/auth/localstorage-key.ts +0 -3
- package/src/auth/types.ts +0 -38
- package/src/auth/vuer-user-provider.tsx +0 -58
- package/src/dial/DialProvider.example.tsx +0 -80
- package/src/styles/toast.css +0 -67
- /package/dist/{auth/types.mjs → chunk-6NZ5VXK7.mjs} +0 -0
- /package/dist/{chunk-UXWS62ZO.mjs → chunk-6THKQIF7.mjs} +0 -0
- /package/dist/{auth/types.cjs → chunk-AS3GNGJN.cjs} +0 -0
- /package/dist/{chunk-NK7L5H2Y.cjs → chunk-DPILGC4Y.cjs} +0 -0
- /package/dist/{chunk-YWECB5GR.cjs → chunk-F4NQLN5E.cjs} +0 -0
- /package/dist/{chunk-YYLBP356.mjs → chunk-NU5W73NH.mjs} +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk34NDAZS6_cjs = require('./chunk-34NDAZS6.cjs');
|
|
4
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
+
|
|
6
|
+
var DockLayoutView = ({
|
|
7
|
+
left,
|
|
8
|
+
right,
|
|
9
|
+
top,
|
|
10
|
+
bottom,
|
|
11
|
+
children,
|
|
12
|
+
className,
|
|
13
|
+
leftClassName,
|
|
14
|
+
rightClassName,
|
|
15
|
+
topClassName,
|
|
16
|
+
bottomClassName,
|
|
17
|
+
contentClassName,
|
|
18
|
+
hideUI = false
|
|
19
|
+
}) => {
|
|
20
|
+
const uiVisibilityClass = hideUI ? "invisible pointer-events-none" : "";
|
|
21
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk34NDAZS6_cjs.DockLayout, { className, children: [
|
|
22
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk34NDAZS6_cjs.DockLayoutContent, { className: contentClassName, children }),
|
|
23
|
+
top && /* @__PURE__ */ jsxRuntime.jsx(chunk34NDAZS6_cjs.DockLayoutTop, { className: `${topClassName} ${uiVisibilityClass}`, children: top }),
|
|
24
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex h-full flex-row justify-between overflow-hidden ${uiVisibilityClass}`, children: [
|
|
25
|
+
left && /* @__PURE__ */ jsxRuntime.jsx(chunk34NDAZS6_cjs.DockLayoutLeft, { className: leftClassName, children: left }),
|
|
26
|
+
right && /* @__PURE__ */ jsxRuntime.jsx(chunk34NDAZS6_cjs.DockLayoutRight, { className: rightClassName, children: right })
|
|
27
|
+
] }),
|
|
28
|
+
bottom && /* @__PURE__ */ jsxRuntime.jsx(chunk34NDAZS6_cjs.DockLayoutBottom, { className: `${bottomClassName} ${uiVisibilityClass}`, children: bottom })
|
|
29
|
+
] });
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
exports.DockLayoutView = DockLayoutView;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkPMG3NZF5_cjs = require('./chunk-PMG3NZF5.cjs');
|
|
4
|
+
var chunk6LTCLQH3_cjs = require('./chunk-6LTCLQH3.cjs');
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
7
7
|
|
|
@@ -36,6 +36,8 @@ var InputNumbers = React.forwardRef(function InputNumbers2({
|
|
|
36
36
|
onValuesChange,
|
|
37
37
|
prefix,
|
|
38
38
|
suffix,
|
|
39
|
+
disabledItems,
|
|
40
|
+
onSuffixBatchAction,
|
|
39
41
|
step = 0.1,
|
|
40
42
|
min,
|
|
41
43
|
max,
|
|
@@ -56,6 +58,9 @@ var InputNumbers = React.forwardRef(function InputNumbers2({
|
|
|
56
58
|
const dragStart = React.useRef({ x: 0, y: 0 });
|
|
57
59
|
const initialDragStart = React.useRef({ x: 0, y: 0 });
|
|
58
60
|
const accumulatedDelta = React.useRef(0);
|
|
61
|
+
const isSuffixDrag = React.useRef(false);
|
|
62
|
+
const lastMouseMoveTime = React.useRef(0);
|
|
63
|
+
const accumulatedValues = React.useRef(value);
|
|
59
64
|
const applyConstraints = React.useCallback(
|
|
60
65
|
(numValue, index) => {
|
|
61
66
|
const currentMin = Array.isArray(min) ? min[index] : min;
|
|
@@ -78,28 +83,41 @@ var InputNumbers = React.forwardRef(function InputNumbers2({
|
|
|
78
83
|
};
|
|
79
84
|
document.addEventListener("click", stopClick2, true);
|
|
80
85
|
}, []);
|
|
81
|
-
const handleMouseDown = React.useCallback(
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
86
|
+
const handleMouseDown = React.useCallback(
|
|
87
|
+
(e) => {
|
|
88
|
+
if (e.button !== 0) return;
|
|
89
|
+
e.preventDefault();
|
|
90
|
+
e.stopPropagation();
|
|
91
|
+
const target = e.target;
|
|
92
|
+
const suffixElement = target.closest('[data-side="right"]');
|
|
93
|
+
isSuffixDrag.current = !!suffixElement;
|
|
94
|
+
setIsDragging(true);
|
|
95
|
+
setCursorState("dragging-y");
|
|
96
|
+
dragStart.current = { x: e.clientX, y: e.clientY };
|
|
97
|
+
initialDragStart.current = { x: e.clientX, y: e.clientY };
|
|
98
|
+
accumulatedDelta.current = 0;
|
|
99
|
+
inputChange.current = false;
|
|
100
|
+
dragDirection.current = "none";
|
|
101
|
+
lastMouseMoveTime.current = Date.now();
|
|
102
|
+
accumulatedValues.current = [...value];
|
|
103
|
+
selectRange.current[0] = getHoverElementAndIndex(
|
|
104
|
+
document.elementFromPoint(e.clientX, e.clientY),
|
|
105
|
+
inputs.current
|
|
106
|
+
);
|
|
107
|
+
},
|
|
108
|
+
[value]
|
|
109
|
+
);
|
|
97
110
|
const handleMouseMove = React.useCallback(
|
|
98
111
|
(e) => {
|
|
99
112
|
if (!isDragging) return;
|
|
100
113
|
e.preventDefault();
|
|
101
114
|
e.stopPropagation();
|
|
102
115
|
const deltaX = e.clientX - dragStart.current.x;
|
|
116
|
+
const now = Date.now();
|
|
117
|
+
const timeDelta = Math.max(1, now - lastMouseMoveTime.current);
|
|
118
|
+
lastMouseMoveTime.current = now;
|
|
119
|
+
const velocity = Math.abs(deltaX) / timeDelta;
|
|
120
|
+
const velocityMultiplier = Math.max(0.5, Math.min(3, velocity * 2));
|
|
103
121
|
const totalDeltaX = e.clientX - initialDragStart.current.x;
|
|
104
122
|
const totalDeltaY = e.clientY - initialDragStart.current.y;
|
|
105
123
|
if (dragDirection.current === "none") {
|
|
@@ -110,19 +128,19 @@ var InputNumbers = React.forwardRef(function InputNumbers2({
|
|
|
110
128
|
input?.blur();
|
|
111
129
|
});
|
|
112
130
|
}
|
|
113
|
-
} else if (dragDirection.current === "y" && Math.abs(totalDeltaX) > 5) {
|
|
131
|
+
} else if (dragDirection.current === "y" && Math.abs(totalDeltaX) > 5 && !isSuffixDrag.current) {
|
|
114
132
|
dragDirection.current = "x";
|
|
115
133
|
setCursorState("dragging-x");
|
|
116
134
|
}
|
|
117
|
-
if (dragDirection.current === "x") {
|
|
118
|
-
accumulatedDelta.current += deltaX / 2;
|
|
135
|
+
if (dragDirection.current === "x" && !isSuffixDrag.current) {
|
|
136
|
+
accumulatedDelta.current += deltaX / 2 * velocityMultiplier;
|
|
119
137
|
dragStart.current = { x: e.clientX, y: e.clientY };
|
|
120
138
|
if (selectRange.current[1] === null) {
|
|
121
139
|
selectRange.current[1] = selectRange.current[0];
|
|
122
140
|
}
|
|
123
141
|
if (Math.abs(accumulatedDelta.current) >= (inputChange.current ? 1 : 5)) {
|
|
124
142
|
const multiplyStep = e.shiftKey ? 5 : e.altKey ? 1 / 5 : 1;
|
|
125
|
-
const
|
|
143
|
+
const newValues = accumulatedValues.current.map((v, i) => {
|
|
126
144
|
const [first, last] = selectRange.current;
|
|
127
145
|
if (first === null || last === null) {
|
|
128
146
|
return v;
|
|
@@ -137,7 +155,8 @@ var InputNumbers = React.forwardRef(function InputNumbers2({
|
|
|
137
155
|
return v;
|
|
138
156
|
}
|
|
139
157
|
});
|
|
140
|
-
|
|
158
|
+
accumulatedValues.current = newValues;
|
|
159
|
+
onValuesChange?.(newValues);
|
|
141
160
|
accumulatedDelta.current = 0;
|
|
142
161
|
inputChange.current = true;
|
|
143
162
|
}
|
|
@@ -155,17 +174,28 @@ var InputNumbers = React.forwardRef(function InputNumbers2({
|
|
|
155
174
|
stopClick();
|
|
156
175
|
}
|
|
157
176
|
},
|
|
158
|
-
[isDragging,
|
|
177
|
+
[isDragging, onValuesChange, step, min, max, stopClick, applyConstraints]
|
|
159
178
|
);
|
|
160
179
|
const handleMouseUp = React.useCallback(() => {
|
|
161
180
|
if (!isDragging) return;
|
|
181
|
+
if (isSuffixDrag.current && onSuffixBatchAction) {
|
|
182
|
+
const [first, last] = selectRange.current;
|
|
183
|
+
if (first !== null) {
|
|
184
|
+
const actualLast = last === null || last === first ? first : last;
|
|
185
|
+
const minIndex = Math.min(first, actualLast);
|
|
186
|
+
const maxIndex = Math.max(first, actualLast);
|
|
187
|
+
const indices = Array.from({ length: maxIndex - minIndex + 1 }, (_, i) => minIndex + i);
|
|
188
|
+
onSuffixBatchAction(indices);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
162
191
|
setIsDragging(false);
|
|
163
192
|
setCursorState("default");
|
|
164
193
|
selectRange.current = [null, null];
|
|
165
194
|
inputChange.current = false;
|
|
166
195
|
dragDirection.current = "none";
|
|
196
|
+
isSuffixDrag.current = false;
|
|
167
197
|
changeElementsHoverState(inputs.current, selectRange.current, "none");
|
|
168
|
-
}, [isDragging]);
|
|
198
|
+
}, [isDragging, onSuffixBatchAction]);
|
|
169
199
|
React__default.default.useEffect(() => {
|
|
170
200
|
if (isDragging) {
|
|
171
201
|
const handleGlobalMouseMove = (e) => {
|
|
@@ -253,7 +283,7 @@ var InputNumbers = React.forwardRef(function InputNumbers2({
|
|
|
253
283
|
{
|
|
254
284
|
ref,
|
|
255
285
|
onMouseDown: handleMouseDown,
|
|
256
|
-
className:
|
|
286
|
+
className: chunk6LTCLQH3_cjs.cn([
|
|
257
287
|
"gap-xs touch-none select-none",
|
|
258
288
|
!useGrid && "flex flex-col",
|
|
259
289
|
cursorState === "default" && "cursor-crosshair",
|
|
@@ -266,73 +296,82 @@ var InputNumbers = React.forwardRef(function InputNumbers2({
|
|
|
266
296
|
"data-[hover=y]:cursor-ns-resize"
|
|
267
297
|
]),
|
|
268
298
|
style: useGrid ? gridStyles : void 0,
|
|
269
|
-
children: value.map((item, index) =>
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
inputs.current.
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
className: chunkCRX2ZCM2_cjs.cn([
|
|
290
|
-
"group/number-input",
|
|
291
|
-
"cursor-text",
|
|
292
|
-
cursorState === "dragging-x" && [
|
|
293
|
-
"hover:!bg-bg-secondary",
|
|
294
|
-
"data-[hover=x]:hover:!bg-bg-tertiary"
|
|
295
|
-
],
|
|
296
|
-
"data-[hover=down]:bg-bg-tertiary",
|
|
297
|
-
"data-[hover=x]:bg-bg-tertiary",
|
|
298
|
-
"data-[hover=y]:bg-bg-tertiary",
|
|
299
|
-
"data-[hover=x]:cursor-col-resize",
|
|
300
|
-
"data-[hover=y]:cursor-ns-resize"
|
|
301
|
-
]),
|
|
302
|
-
inputClassName: chunkCRX2ZCM2_cjs.cn([
|
|
303
|
-
"cursor-text",
|
|
304
|
-
"group-data-[hover=x]/number-input:cursor-col-resize",
|
|
305
|
-
"group-data-[hover=y]/number-input:cursor-ns-resize"
|
|
306
|
-
]),
|
|
307
|
-
children: [
|
|
308
|
-
prefix?.[index] && /* @__PURE__ */ jsxRuntime.jsx(
|
|
309
|
-
chunkF3HOBNGR_cjs.InputSlot,
|
|
310
|
-
{
|
|
311
|
-
side: "left",
|
|
312
|
-
className: chunkCRX2ZCM2_cjs.cn(
|
|
313
|
-
"cursor-text",
|
|
314
|
-
"group-data-[hover=x]/number-input:cursor-col-resize",
|
|
315
|
-
"group-data-[hover=y]/number-input:cursor-ns-resize"
|
|
316
|
-
),
|
|
317
|
-
children: prefix[index]
|
|
299
|
+
children: (Array.isArray(value) ? value : []).map((item, index) => {
|
|
300
|
+
const isDisabled = disabledItems?.[index] ?? false;
|
|
301
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
302
|
+
chunkPMG3NZF5_cjs.InputRoot,
|
|
303
|
+
{
|
|
304
|
+
ref: (r) => {
|
|
305
|
+
inputs.current.set(index.toString(), r);
|
|
306
|
+
return () => {
|
|
307
|
+
inputs.current.delete(index.toString());
|
|
308
|
+
};
|
|
309
|
+
},
|
|
310
|
+
size,
|
|
311
|
+
side,
|
|
312
|
+
type: "number",
|
|
313
|
+
step: Array.isArray(step) ? step[index] ?? 0.1 : step,
|
|
314
|
+
value: item,
|
|
315
|
+
disabled: isDisabled,
|
|
316
|
+
onClick: () => {
|
|
317
|
+
if (!isDisabled) {
|
|
318
|
+
inputs.current.get(index.toString())?.focus();
|
|
318
319
|
}
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
320
|
+
},
|
|
321
|
+
onChange: valueChangeHandler(index),
|
|
322
|
+
onKeyDown: handleKeyDown(index),
|
|
323
|
+
"data-hover": "none",
|
|
324
|
+
"data-input-index": index,
|
|
325
|
+
className: chunk6LTCLQH3_cjs.cn([
|
|
326
|
+
"group/number-input",
|
|
327
|
+
"cursor-text",
|
|
328
|
+
cursorState === "dragging-x" && [
|
|
329
|
+
"hover:!bg-bg-secondary",
|
|
330
|
+
"data-[hover=x]:hover:!bg-bg-tertiary"
|
|
331
|
+
],
|
|
332
|
+
"data-[hover=down]:bg-bg-tertiary",
|
|
333
|
+
"data-[hover=x]:bg-bg-tertiary",
|
|
334
|
+
"data-[hover=y]:bg-bg-tertiary",
|
|
335
|
+
"data-[hover=x]:cursor-col-resize",
|
|
336
|
+
"data-[hover=y]:cursor-ns-resize",
|
|
337
|
+
isDisabled && "cursor-not-allowed opacity-50"
|
|
338
|
+
]),
|
|
339
|
+
inputClassName: chunk6LTCLQH3_cjs.cn([
|
|
340
|
+
"cursor-text",
|
|
341
|
+
"group-data-[hover=x]/number-input:cursor-col-resize",
|
|
342
|
+
"group-data-[hover=y]/number-input:cursor-ns-resize",
|
|
343
|
+
isDisabled && "cursor-not-allowed"
|
|
344
|
+
]),
|
|
345
|
+
children: [
|
|
346
|
+
prefix?.[index] && /* @__PURE__ */ jsxRuntime.jsx(
|
|
347
|
+
chunkPMG3NZF5_cjs.InputSlot,
|
|
348
|
+
{
|
|
349
|
+
side: "left",
|
|
350
|
+
className: chunk6LTCLQH3_cjs.cn(
|
|
351
|
+
"cursor-text",
|
|
352
|
+
"group-data-[hover=x]/number-input:cursor-col-resize",
|
|
353
|
+
"group-data-[hover=y]/number-input:cursor-ns-resize"
|
|
354
|
+
),
|
|
355
|
+
children: prefix[index]
|
|
356
|
+
}
|
|
357
|
+
),
|
|
358
|
+
suffix?.[index] && /* @__PURE__ */ jsxRuntime.jsx(
|
|
359
|
+
chunkPMG3NZF5_cjs.InputSlot,
|
|
360
|
+
{
|
|
361
|
+
side: "right",
|
|
362
|
+
className: chunk6LTCLQH3_cjs.cn(
|
|
363
|
+
"cursor-none",
|
|
364
|
+
"group-data-[hover=x]/number-input:cursor-col-resize",
|
|
365
|
+
"group-data-[hover=y]/number-input:cursor-ns-resize"
|
|
366
|
+
),
|
|
367
|
+
children: suffix[index]
|
|
368
|
+
}
|
|
369
|
+
)
|
|
370
|
+
]
|
|
371
|
+
},
|
|
372
|
+
index
|
|
373
|
+
);
|
|
374
|
+
})
|
|
336
375
|
}
|
|
337
376
|
);
|
|
338
377
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cn } from './chunk-
|
|
1
|
+
import { cn } from './chunk-HBEU2PU2.mjs';
|
|
2
2
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
3
3
|
import { CheckIcon, CircleIcon, ChevronRightIcon } from 'lucide-react';
|
|
4
4
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { useCallback, useMemo } from 'react';
|
|
2
|
+
|
|
3
|
+
// src/ui/virtual-grid/useVirtualGrid.ts
|
|
4
|
+
function getHeight(rowHeight, rowIndex) {
|
|
5
|
+
return typeof rowHeight === "function" ? rowHeight(rowIndex) : rowHeight;
|
|
6
|
+
}
|
|
7
|
+
function getWidth(columnWidth, colIndex) {
|
|
8
|
+
return typeof columnWidth === "function" ? columnWidth(colIndex) : columnWidth;
|
|
9
|
+
}
|
|
10
|
+
function findStartIndex(count, scrollOffset, getSize) {
|
|
11
|
+
if (count === 0) return 0;
|
|
12
|
+
let offset = 0;
|
|
13
|
+
let low = 0;
|
|
14
|
+
let high = count - 1;
|
|
15
|
+
while (low <= high) {
|
|
16
|
+
const mid = Math.floor((low + high) / 2);
|
|
17
|
+
let midOffset = 0;
|
|
18
|
+
for (let i = 0; i < mid; i++) {
|
|
19
|
+
midOffset += getSize(i);
|
|
20
|
+
}
|
|
21
|
+
if (midOffset < scrollOffset) {
|
|
22
|
+
low = mid + 1;
|
|
23
|
+
offset = midOffset;
|
|
24
|
+
} else if (midOffset > scrollOffset) {
|
|
25
|
+
high = mid - 1;
|
|
26
|
+
} else {
|
|
27
|
+
return mid;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
let index = Math.max(0, low - 1);
|
|
31
|
+
offset = 0;
|
|
32
|
+
for (let i = 0; i < index; i++) {
|
|
33
|
+
offset += getSize(i);
|
|
34
|
+
}
|
|
35
|
+
while (index < count - 1 && offset + getSize(index) <= scrollOffset) {
|
|
36
|
+
offset += getSize(index);
|
|
37
|
+
index++;
|
|
38
|
+
}
|
|
39
|
+
return index;
|
|
40
|
+
}
|
|
41
|
+
function useVirtualGrid({
|
|
42
|
+
rowCount,
|
|
43
|
+
columnCount,
|
|
44
|
+
rowHeight,
|
|
45
|
+
columnWidth,
|
|
46
|
+
containerWidth,
|
|
47
|
+
containerHeight,
|
|
48
|
+
scrollTop,
|
|
49
|
+
scrollLeft,
|
|
50
|
+
overscanRows,
|
|
51
|
+
overscanColumns,
|
|
52
|
+
getColSpan = () => 1,
|
|
53
|
+
getRowSpan = () => 1
|
|
54
|
+
}) {
|
|
55
|
+
const getRowHeightFn = useCallback((index) => getHeight(rowHeight, index), [rowHeight]);
|
|
56
|
+
const getColumnWidthFn = useCallback(
|
|
57
|
+
(index) => getWidth(columnWidth, index),
|
|
58
|
+
[columnWidth]
|
|
59
|
+
);
|
|
60
|
+
const totalHeight = useMemo(() => {
|
|
61
|
+
let height = 0;
|
|
62
|
+
for (let i = 0; i < rowCount; i++) {
|
|
63
|
+
height += getRowHeightFn(i);
|
|
64
|
+
}
|
|
65
|
+
return height;
|
|
66
|
+
}, [rowCount, getRowHeightFn]);
|
|
67
|
+
const totalWidth = useMemo(() => {
|
|
68
|
+
let width = 0;
|
|
69
|
+
for (let i = 0; i < columnCount; i++) {
|
|
70
|
+
width += getColumnWidthFn(i);
|
|
71
|
+
}
|
|
72
|
+
return width;
|
|
73
|
+
}, [columnCount, getColumnWidthFn]);
|
|
74
|
+
const rowOffsets = useMemo(() => {
|
|
75
|
+
const offsets = [0];
|
|
76
|
+
for (let i = 0; i < rowCount; i++) {
|
|
77
|
+
offsets.push(offsets[i] + getRowHeightFn(i));
|
|
78
|
+
}
|
|
79
|
+
return offsets;
|
|
80
|
+
}, [rowCount, getRowHeightFn]);
|
|
81
|
+
const columnOffsets = useMemo(() => {
|
|
82
|
+
const offsets = [0];
|
|
83
|
+
for (let i = 0; i < columnCount; i++) {
|
|
84
|
+
offsets.push(offsets[i] + getColumnWidthFn(i));
|
|
85
|
+
}
|
|
86
|
+
return offsets;
|
|
87
|
+
}, [columnCount, getColumnWidthFn]);
|
|
88
|
+
const getRowOffset = useCallback((rowIndex) => rowOffsets[rowIndex] ?? 0, [rowOffsets]);
|
|
89
|
+
const getColumnOffset = useCallback(
|
|
90
|
+
(colIndex) => columnOffsets[colIndex] ?? 0,
|
|
91
|
+
[columnOffsets]
|
|
92
|
+
);
|
|
93
|
+
const visibleRange = useMemo(() => {
|
|
94
|
+
if (rowCount === 0 || columnCount === 0) {
|
|
95
|
+
return { startRow: 0, endRow: 0, startCol: 0, endCol: 0 };
|
|
96
|
+
}
|
|
97
|
+
const startRow = findStartIndex(rowCount, scrollTop, getRowHeightFn);
|
|
98
|
+
let endRow = startRow;
|
|
99
|
+
let accumulatedHeight = getRowOffset(startRow) - scrollTop;
|
|
100
|
+
while (endRow < rowCount - 1 && accumulatedHeight < containerHeight) {
|
|
101
|
+
accumulatedHeight += getRowHeightFn(endRow);
|
|
102
|
+
endRow++;
|
|
103
|
+
}
|
|
104
|
+
const startCol = findStartIndex(columnCount, scrollLeft, getColumnWidthFn);
|
|
105
|
+
let endCol = startCol;
|
|
106
|
+
let accumulatedWidth = getColumnOffset(startCol) - scrollLeft;
|
|
107
|
+
while (endCol < columnCount - 1 && accumulatedWidth < containerWidth) {
|
|
108
|
+
accumulatedWidth += getColumnWidthFn(endCol);
|
|
109
|
+
endCol++;
|
|
110
|
+
}
|
|
111
|
+
return {
|
|
112
|
+
startRow: Math.max(0, startRow - overscanRows),
|
|
113
|
+
endRow: Math.min(rowCount - 1, endRow + overscanRows),
|
|
114
|
+
startCol: Math.max(0, startCol - overscanColumns),
|
|
115
|
+
endCol: Math.min(columnCount - 1, endCol + overscanColumns)
|
|
116
|
+
};
|
|
117
|
+
}, [
|
|
118
|
+
rowCount,
|
|
119
|
+
columnCount,
|
|
120
|
+
scrollTop,
|
|
121
|
+
scrollLeft,
|
|
122
|
+
containerHeight,
|
|
123
|
+
containerWidth,
|
|
124
|
+
overscanRows,
|
|
125
|
+
overscanColumns,
|
|
126
|
+
getRowHeightFn,
|
|
127
|
+
getColumnWidthFn,
|
|
128
|
+
getRowOffset,
|
|
129
|
+
getColumnOffset
|
|
130
|
+
]);
|
|
131
|
+
const getCellStyle = useCallback(
|
|
132
|
+
(row, col) => {
|
|
133
|
+
const top = getRowOffset(row);
|
|
134
|
+
const left = getColumnOffset(col);
|
|
135
|
+
const colspan = getColSpan(row, col);
|
|
136
|
+
let width = 0;
|
|
137
|
+
for (let c = col; c < col + colspan && c < columnCount; c++) {
|
|
138
|
+
width += getColumnWidthFn(c);
|
|
139
|
+
}
|
|
140
|
+
const rowspan = getRowSpan(row, col);
|
|
141
|
+
let height = 0;
|
|
142
|
+
for (let r = row; r < row + rowspan && r < rowCount; r++) {
|
|
143
|
+
height += getRowHeightFn(r);
|
|
144
|
+
}
|
|
145
|
+
return {
|
|
146
|
+
position: "absolute",
|
|
147
|
+
top: 0,
|
|
148
|
+
left: 0,
|
|
149
|
+
width,
|
|
150
|
+
height,
|
|
151
|
+
transform: `translate(${left}px, ${top}px)`
|
|
152
|
+
};
|
|
153
|
+
},
|
|
154
|
+
[
|
|
155
|
+
getRowOffset,
|
|
156
|
+
getColumnOffset,
|
|
157
|
+
getColSpan,
|
|
158
|
+
getRowSpan,
|
|
159
|
+
columnCount,
|
|
160
|
+
rowCount,
|
|
161
|
+
getColumnWidthFn,
|
|
162
|
+
getRowHeightFn
|
|
163
|
+
]
|
|
164
|
+
);
|
|
165
|
+
return {
|
|
166
|
+
visibleRange,
|
|
167
|
+
totalWidth,
|
|
168
|
+
totalHeight,
|
|
169
|
+
getRowOffset,
|
|
170
|
+
getColumnOffset,
|
|
171
|
+
getRowHeight: getRowHeightFn,
|
|
172
|
+
getColumnWidth: getColumnWidthFn,
|
|
173
|
+
getCellStyle
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export { useVirtualGrid };
|
|
@@ -1,30 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { cn } from './chunk-T66ETI7E.mjs';
|
|
1
|
+
import { cn } from './chunk-HBEU2PU2.mjs';
|
|
3
2
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
4
|
-
import { jsx
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
5
4
|
|
|
6
|
-
function
|
|
5
|
+
function Popover({ ...props }) {
|
|
7
6
|
return /* @__PURE__ */ jsx(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
|
|
8
7
|
}
|
|
9
|
-
function
|
|
10
|
-
return /* @__PURE__ */ jsx("div", { "data-slot": "popover", ...props });
|
|
11
|
-
}
|
|
12
|
-
var Popover = createClientOnlyComponent(PopoverRoot, PopoverFallback);
|
|
13
|
-
function PopoverTriggerRoot({ ...props }) {
|
|
8
|
+
function PopoverTrigger({ ...props }) {
|
|
14
9
|
return /* @__PURE__ */ jsx(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
|
|
15
10
|
}
|
|
16
|
-
function
|
|
17
|
-
|
|
18
|
-
children,
|
|
19
|
-
...props
|
|
20
|
-
}) {
|
|
21
|
-
if (asChild) {
|
|
22
|
-
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
23
|
-
}
|
|
24
|
-
return /* @__PURE__ */ jsx("button", { "data-slot": "popover-trigger", ...props, children });
|
|
11
|
+
function PopoverClose({ ...props }) {
|
|
12
|
+
return /* @__PURE__ */ jsx(PopoverPrimitive.Close, { "data-slot": "popover-close", ...props });
|
|
25
13
|
}
|
|
26
|
-
|
|
27
|
-
function PopoverContentRoot({
|
|
14
|
+
function PopoverContent({
|
|
28
15
|
className,
|
|
29
16
|
align = "center",
|
|
30
17
|
sideOffset = 4,
|
|
@@ -63,30 +50,8 @@ function PopoverContentRoot({
|
|
|
63
50
|
}
|
|
64
51
|
) });
|
|
65
52
|
}
|
|
66
|
-
function PopoverContentFallback({ className, ...props }) {
|
|
67
|
-
return /* @__PURE__ */ jsx(
|
|
68
|
-
"div",
|
|
69
|
-
{
|
|
70
|
-
"data-slot": "popover-content",
|
|
71
|
-
className: cn(
|
|
72
|
-
"bg-bg-primary",
|
|
73
|
-
"rounded-uk-lg",
|
|
74
|
-
"p-xl",
|
|
75
|
-
"shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
|
|
76
|
-
"z-20",
|
|
77
|
-
"border-none",
|
|
78
|
-
"outline-hidden",
|
|
79
|
-
"liquid-dark:liquid-dark-bg",
|
|
80
|
-
"liquid-light:liquid-light-bg",
|
|
81
|
-
className
|
|
82
|
-
),
|
|
83
|
-
...props
|
|
84
|
-
}
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
var PopoverContent = createClientOnlyComponent(PopoverContentRoot, PopoverContentFallback);
|
|
88
53
|
function PopoverAnchor({ ...props }) {
|
|
89
54
|
return /* @__PURE__ */ jsx(PopoverPrimitive.Anchor, { "data-slot": "popover-anchor", ...props });
|
|
90
55
|
}
|
|
91
56
|
|
|
92
|
-
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
57
|
+
export { Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger };
|
|
@@ -1,24 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXIDCYS6G_cjs = require('./chunk-XIDCYS6G.cjs');
|
|
4
4
|
var sonner = require('sonner');
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
|
|
7
|
-
// src/ui/toast.tsx
|
|
8
7
|
var Toaster = ({ ...props }) => {
|
|
9
|
-
const
|
|
10
|
-
react.useEffect(() => {
|
|
11
|
-
setIsClient(true);
|
|
12
|
-
}, []);
|
|
13
|
-
if (!isClient) {
|
|
14
|
-
return null;
|
|
15
|
-
}
|
|
8
|
+
const { baseTheme = "system" } = chunkXIDCYS6G_cjs.useTheme();
|
|
16
9
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
17
10
|
sonner.Toaster,
|
|
18
11
|
{
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
12
|
+
theme: baseTheme,
|
|
13
|
+
className: "toaster group",
|
|
14
|
+
style: {
|
|
15
|
+
"--normal-bg": "var(--bg-primary)",
|
|
16
|
+
"--normal-text": "var(--text-primary)",
|
|
17
|
+
"--normal-border": "var(--bg-secondary)"
|
|
22
18
|
},
|
|
23
19
|
...props
|
|
24
20
|
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { cn } from './chunk-
|
|
1
|
+
import { cn } from './chunk-HBEU2PU2.mjs';
|
|
2
2
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
|
-
function Switch({ className, ...props }) {
|
|
5
|
+
function Switch({ className, thumbClassName, ...props }) {
|
|
6
6
|
return /* @__PURE__ */ jsx(
|
|
7
7
|
SwitchPrimitive.Root,
|
|
8
8
|
{
|
|
9
9
|
"data-slot": "switch",
|
|
10
10
|
className: cn(
|
|
11
|
-
className,
|
|
12
11
|
"group",
|
|
13
12
|
"w-[32px]",
|
|
14
13
|
"h-[16px]",
|
|
@@ -16,7 +15,8 @@ function Switch({ className, ...props }) {
|
|
|
16
15
|
"bg-bg-tertiary",
|
|
17
16
|
"aria-checked:bg-brand-primary",
|
|
18
17
|
"disabled:bg-bg-secondary",
|
|
19
|
-
"disabled:cursor-not-allowed"
|
|
18
|
+
"disabled:cursor-not-allowed",
|
|
19
|
+
className
|
|
20
20
|
),
|
|
21
21
|
...props,
|
|
22
22
|
children: /* @__PURE__ */ jsx(
|
|
@@ -32,7 +32,8 @@ function Switch({ className, ...props }) {
|
|
|
32
32
|
"transition-transform",
|
|
33
33
|
"duration-200",
|
|
34
34
|
"translate-x-[2px]",
|
|
35
|
-
"data-[state=checked]:translate-x-[18px]"
|
|
35
|
+
"data-[state=checked]:translate-x-[18px]",
|
|
36
|
+
thumbClassName
|
|
36
37
|
)
|
|
37
38
|
}
|
|
38
39
|
)
|