@vuer-ai/vuer-uikit 0.0.108 → 0.0.112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/SyncScroll/SyncScroll.cjs +1 -1
- package/dist/SyncScroll/SyncScroll.mjs +1 -1
- package/dist/SyncScroll/index.cjs +1 -1
- package/dist/SyncScroll/index.mjs +1 -1
- package/dist/auth/components/index.cjs +128 -0
- package/dist/auth/components/index.d.cts +2 -0
- package/dist/auth/components/index.d.ts +2 -0
- package/dist/auth/components/index.mjs +119 -0
- package/dist/auth/components/user-avatar/index.cjs +127 -0
- package/dist/auth/components/user-avatar/index.d.cts +8 -0
- package/dist/auth/components/user-avatar/index.d.ts +8 -0
- package/dist/auth/components/user-avatar/index.mjs +118 -0
- package/dist/auth/context/user-context.cjs +10 -0
- package/dist/auth/context/{auth-context.d.cts → user-context.d.cts} +3 -3
- package/dist/auth/context/{auth-context.d.ts → user-context.d.ts} +3 -3
- package/dist/auth/context/user-context.mjs +1 -0
- package/dist/auth/handler/fetch-auth.cjs +11 -0
- package/dist/auth/handler/fetch-auth.d.cts +3 -0
- package/dist/auth/handler/fetch-auth.d.ts +3 -0
- package/dist/auth/handler/fetch-auth.mjs +2 -0
- package/dist/auth/handler/fetch-server.cjs +11 -0
- package/dist/auth/handler/fetch-server.d.cts +3 -0
- package/dist/auth/handler/fetch-server.d.ts +3 -0
- package/dist/auth/handler/fetch-server.mjs +2 -0
- package/dist/auth/handler/get-session.cjs +4 -3
- package/dist/auth/handler/get-session.d.cts +1 -1
- package/dist/auth/handler/get-session.d.ts +1 -1
- package/dist/auth/handler/get-session.mjs +3 -2
- package/dist/auth/handler/get-sessions.cjs +12 -0
- package/dist/auth/handler/get-sessions.d.cts +19 -0
- package/dist/auth/handler/get-sessions.d.ts +19 -0
- package/dist/auth/handler/get-sessions.mjs +3 -0
- package/dist/auth/handler/sign-in-handler.cjs +3 -3
- package/dist/auth/handler/sign-in-handler.d.cts +2 -2
- package/dist/auth/handler/sign-in-handler.d.ts +2 -2
- package/dist/auth/handler/sign-in-handler.mjs +2 -2
- package/dist/auth/handler/sign-out-handler.cjs +4 -3
- package/dist/auth/handler/sign-out-handler.mjs +3 -2
- package/dist/auth/hooks/use-sign-in.cjs +14 -0
- package/dist/auth/hooks/use-sign-in.d.cts +9 -0
- package/dist/auth/hooks/use-sign-in.d.ts +9 -0
- package/dist/auth/hooks/use-sign-in.mjs +5 -0
- package/dist/auth/hooks/use-sign-out.cjs +15 -0
- package/dist/auth/hooks/use-sign-out.d.cts +6 -0
- package/dist/auth/hooks/use-sign-out.d.ts +6 -0
- package/dist/auth/hooks/use-sign-out.mjs +6 -0
- package/dist/auth/hooks/use-user.cjs +11 -0
- package/dist/auth/hooks/use-user.d.cts +8 -0
- package/dist/auth/hooks/use-user.d.ts +8 -0
- package/dist/auth/hooks/use-user.mjs +2 -0
- package/dist/auth/hooks/use-vuer-sessions.cjs +15 -0
- package/dist/auth/hooks/use-vuer-sessions.d.cts +9 -0
- package/dist/auth/hooks/use-vuer-sessions.d.ts +9 -0
- package/dist/auth/hooks/use-vuer-sessions.mjs +6 -0
- package/dist/auth/index.cjs +151 -15
- package/dist/auth/index.d.cts +10 -6
- package/dist/auth/index.d.ts +10 -6
- package/dist/auth/index.mjs +124 -8
- package/dist/auth/localstorage-key.cjs +6 -2
- package/dist/auth/localstorage-key.d.cts +2 -1
- package/dist/auth/localstorage-key.d.ts +2 -1
- package/dist/auth/localstorage-key.mjs +1 -1
- package/dist/auth/vuer-user-provider.cjs +14 -0
- package/dist/auth/{vuer-auth-provider.d.cts → vuer-user-provider.d.cts} +2 -2
- package/dist/auth/{vuer-auth-provider.d.ts → vuer-user-provider.d.ts} +2 -2
- package/dist/auth/vuer-user-provider.mjs +5 -0
- package/dist/{chunk-2EG65KGO.cjs → chunk-2MSGENAQ.cjs} +2 -2
- package/dist/{chunk-VUMOJPEC.mjs → chunk-2SFB7HHW.mjs} +1 -1
- package/dist/chunk-3WMO5QJJ.cjs +8 -0
- package/dist/{chunk-5XBMFADS.cjs → chunk-4GVFCQGI.cjs} +2 -2
- package/dist/chunk-4JZOPZHB.cjs +30 -0
- package/dist/{chunk-MIT3YWUC.cjs → chunk-4LQDOYQJ.cjs} +2 -2
- package/dist/{chunk-5MBEK77I.mjs → chunk-57MAUYQZ.mjs} +9 -2
- package/dist/chunk-5OHAV55L.mjs +24 -0
- package/dist/{chunk-EAXBNWXE.cjs → chunk-5VUM46YD.cjs} +2 -2
- package/dist/{chunk-64L2SNKA.cjs → chunk-6D66V6ON.cjs} +2 -2
- package/dist/chunk-6GJM7TPE.cjs +28 -0
- package/dist/{chunk-GOGJVFRN.cjs → chunk-6IXKC64S.cjs} +4 -4
- package/dist/{chunk-TPAV6PXI.mjs → chunk-7CDVPU65.mjs} +2 -2
- package/dist/chunk-7E5Y224I.cjs +14 -0
- package/dist/{chunk-D5WOPTKY.cjs → chunk-7NUXYKXU.cjs} +2 -2
- package/dist/chunk-7R5HY3IM.cjs +12 -0
- package/dist/{chunk-3VVQWVDE.mjs → chunk-7XXTMBF5.mjs} +1 -1
- package/dist/{chunk-CZ4GQOXG.mjs → chunk-AAFU2FII.mjs} +2 -2
- package/dist/{chunk-4THQPG6Y.mjs → chunk-ACETEVZD.mjs} +1 -1
- package/dist/{chunk-SYX6TMCQ.mjs → chunk-AGHIJQAR.mjs} +1 -1
- package/dist/chunk-APC2GIE7.cjs +58 -0
- package/dist/{chunk-JFJRNNPQ.cjs → chunk-AW6Q4IWT.cjs} +2 -2
- package/dist/{chunk-ACYZOKPT.mjs → chunk-BBWT5YO2.mjs} +2 -2
- package/dist/{chunk-6XOTWZFC.mjs → chunk-BCA45QEW.mjs} +2 -2
- package/dist/{chunk-LFSCJLL2.cjs → chunk-BDAKLXXX.cjs} +9 -2
- package/dist/chunk-BI4QZVVB.cjs +82 -0
- package/dist/{chunk-ZRRCYQ53.cjs → chunk-BTXD3NAG.cjs} +3 -3
- package/dist/{chunk-7RHQ6DVU.cjs → chunk-CGBEPOL4.cjs} +21 -9
- package/dist/{chunk-3OLRPUTL.mjs → chunk-DBMXQH73.mjs} +111 -142
- package/dist/{chunk-QZUTRJSP.mjs → chunk-DHMLQTQ6.mjs} +2 -2
- package/dist/{chunk-OLVOIUCE.mjs → chunk-DT2LGZ5H.mjs} +3 -3
- package/dist/{chunk-KBC7VNER.mjs → chunk-ECOYNCWG.mjs} +1 -1
- package/dist/{chunk-SVWS4AL6.cjs → chunk-F4Z5KATZ.cjs} +2 -0
- package/dist/{chunk-NRQJX772.mjs → chunk-FB5MYIVE.mjs} +1 -0
- package/dist/chunk-FRAD2Z2G.mjs +43 -0
- package/dist/chunk-FROQ45MN.mjs +6 -0
- package/dist/chunk-G6ATG2WV.mjs +28 -0
- package/dist/chunk-GBERXSLI.cjs +53 -0
- package/dist/{chunk-EXQQRW7T.mjs → chunk-GSQE4JVF.mjs} +1 -1
- package/dist/{chunk-5HS4PMUR.mjs → chunk-GUSUTH7D.mjs} +16 -11
- package/dist/{chunk-IXNXSECD.mjs → chunk-H2AJ2CLT.mjs} +1 -1
- package/dist/{chunk-SUEFWFPX.mjs → chunk-HFGRTWTD.mjs} +2 -2
- package/dist/chunk-HOMAESTR.mjs +12 -0
- package/dist/{chunk-T2D6PSA6.cjs → chunk-I2YVC4AE.cjs} +17 -12
- package/dist/{chunk-4JGGLCXT.mjs → chunk-JH5NAW2V.mjs} +1 -1
- package/dist/chunk-JTJKIRFA.mjs +56 -0
- package/dist/chunk-KIZEJMW4.cjs +15 -0
- package/dist/{chunk-JYIVDUDL.cjs → chunk-KOMVGDDW.cjs} +4 -4
- package/dist/{chunk-ZNM6PNI6.mjs → chunk-KS5A3G7B.mjs} +1 -1
- package/dist/{chunk-4WRTIOGZ.cjs → chunk-KT772L2I.cjs} +6 -6
- package/dist/{chunk-NSUFTZNC.cjs → chunk-L2YLNWCQ.cjs} +2 -2
- package/dist/chunk-L3YEIRJS.mjs +31 -0
- package/dist/chunk-L4CIN7FR.mjs +96 -0
- package/dist/{chunk-6QU4J3HY.cjs → chunk-LBRS745M.cjs} +9 -9
- package/dist/{chunk-M4IHJGJE.cjs → chunk-LI5W744D.cjs} +10 -2
- package/dist/{chunk-UASPJ57U.cjs → chunk-LPKVKTOK.cjs} +1 -0
- package/dist/{chunk-OYQJVHKA.cjs → chunk-LUCJKAJ5.cjs} +2 -2
- package/dist/chunk-LUVD54GO.cjs +47 -0
- package/dist/{chunk-5JPYU5A6.cjs → chunk-LV4XJY75.cjs} +11 -11
- package/dist/{chunk-AOV3ADTV.cjs → chunk-M45UXJWX.cjs} +2 -2
- package/dist/{chunk-7HOEFGEO.mjs → chunk-MGFG7EXC.mjs} +1 -1
- package/dist/chunk-MO5V43Z3.mjs +13 -0
- package/dist/chunk-MRMSCW3P.cjs +19 -0
- package/dist/{chunk-WRKB3W2J.cjs → chunk-MTZQ4C2U.cjs} +6 -6
- package/dist/{chunk-AJQEHMYV.cjs → chunk-NIEFMP5V.cjs} +2 -2
- package/dist/chunk-NJXBYRKZ.mjs +80 -0
- package/dist/{chunk-S7SGB2FD.mjs → chunk-O7FGA5N2.mjs} +4 -4
- package/dist/chunk-OOHCJIRV.cjs +26 -0
- package/dist/chunk-PFIP3ETQ.cjs +55 -0
- package/dist/{chunk-RIJUPORK.mjs → chunk-PJJSHHL6.mjs} +1 -1
- package/dist/{chunk-CGUQWS2I.mjs → chunk-PTBMSYQQ.mjs} +1 -1
- package/dist/chunk-PX2H7Z4D.mjs +26 -0
- package/dist/chunk-PXDT5GFJ.mjs +13 -0
- package/dist/{chunk-HN3AMWUM.cjs → chunk-Q5PJKBX7.cjs} +2 -2
- package/dist/chunk-Q76WU4DL.cjs +17 -0
- package/dist/{chunk-Y2H4A5AC.mjs → chunk-R2QXIDY2.mjs} +2 -2
- package/dist/{chunk-K2OC2HWQ.mjs → chunk-RFRBGVBZ.mjs} +19 -7
- package/dist/{chunk-7GJVMFKJ.cjs → chunk-ROY7233C.cjs} +4 -4
- package/dist/{chunk-HBIZQDDS.cjs → chunk-RQH7ZAWF.cjs} +2 -2
- package/dist/{chunk-PB4UO2NR.cjs → chunk-RSBVQ7SJ.cjs} +9 -10
- package/dist/{chunk-A2UZY7Y2.cjs → chunk-S5XJOGB4.cjs} +2 -2
- package/dist/chunk-SO2UTKSV.mjs +17 -0
- package/dist/{chunk-JFIAWTRH.cjs → chunk-SU57ZAZJ.cjs} +2 -2
- package/dist/{chunk-MG5TTPA7.mjs → chunk-SWJHOFZH.mjs} +6 -6
- package/dist/{chunk-PTCDBU72.cjs → chunk-TYZHIBYI.cjs} +2 -2
- package/dist/{chunk-IY36FZ5R.mjs → chunk-TZBOF3XO.mjs} +1 -1
- package/dist/{chunk-R2WPT5VM.mjs → chunk-UBYSTTD2.mjs} +2 -2
- package/dist/{chunk-276VJZCV.mjs → chunk-UT7B4TLZ.mjs} +2 -1
- package/dist/{chunk-XGM57WPN.mjs → chunk-V4KDK3BN.mjs} +8 -9
- package/dist/chunk-V5YUFNEB.mjs +53 -0
- package/dist/{chunk-VLOFKTSL.cjs → chunk-VEE2QBS5.cjs} +3 -3
- package/dist/{chunk-3IVDCAFM.mjs → chunk-VSFPXAGN.mjs} +4 -4
- package/dist/{chunk-LQGXG373.cjs → chunk-WB43VEZA.cjs} +21 -3
- package/dist/{chunk-42UBHC2D.mjs → chunk-WGWNYPXW.mjs} +10 -2
- package/dist/{chunk-24IUD6Q3.mjs → chunk-WQCVK4PG.mjs} +1 -1
- package/dist/chunk-X3H6FYAM.cjs +15 -0
- package/dist/{chunk-LRSDE62T.mjs → chunk-XMQULAAU.mjs} +21 -3
- package/dist/chunk-YWECB5GR.cjs +2 -0
- package/dist/chunk-YYLBP356.mjs +1 -0
- package/dist/{chunk-2PJO5UJL.cjs → chunk-YZINVGLW.cjs} +11 -11
- package/dist/{chunk-JUSFLIU5.mjs → chunk-Z4ZGX3NM.mjs} +1 -1
- package/dist/chunk-Z7BZFZEV.mjs +15 -0
- package/dist/{chunk-VEWWUO2N.mjs → chunk-ZDSN4IFT.mjs} +1 -1
- package/dist/{chunk-PTGMHZFS.mjs → chunk-ZEBAIL6F.mjs} +1 -1
- package/dist/{chunk-2WD4ZL27.cjs → chunk-ZGS3VGGN.cjs} +4 -4
- package/dist/{chunk-Y5SVZCPQ.cjs → chunk-ZJ5SNYAO.cjs} +7 -7
- package/dist/{chunk-3TUONMQ6.mjs → chunk-ZRMDDK6J.mjs} +1 -1
- package/dist/chunk-ZXIKMZPH.cjs +99 -0
- package/dist/{chunk-GZBZMYJM.cjs → chunk-ZXWBDK2V.cjs} +157 -189
- package/dist/{chunk-5PHGYFZ3.cjs → chunk-ZZEWMU7Y.cjs} +2 -2
- package/dist/dial/DialPanel.cjs +57 -55
- package/dist/dial/DialPanel.d.cts +1 -0
- package/dist/dial/DialPanel.d.ts +1 -0
- package/dist/dial/DialPanel.mjs +56 -54
- package/dist/dial/DialProvider.cjs +3 -3
- package/dist/dial/DialProvider.d.cts +3 -2
- package/dist/dial/DialProvider.d.ts +3 -2
- package/dist/dial/DialProvider.example.cjs +4 -4
- package/dist/dial/DialProvider.example.mjs +1 -1
- package/dist/dial/DialProvider.mjs +1 -1
- package/dist/dial/index.cjs +75 -73
- package/dist/dial/index.d.cts +1 -0
- package/dist/dial/index.d.ts +1 -0
- package/dist/dial/index.mjs +56 -54
- package/dist/dial/wrapped-inputs/ControlledInputs.cjs +61 -59
- package/dist/dial/wrapped-inputs/ControlledInputs.d.cts +10 -9
- package/dist/dial/wrapped-inputs/ControlledInputs.d.ts +10 -9
- package/dist/dial/wrapped-inputs/ControlledInputs.mjs +56 -54
- package/dist/dial/wrapped-inputs/DialInputs.cjs +70 -68
- package/dist/dial/wrapped-inputs/DialInputs.d.cts +1 -0
- package/dist/dial/wrapped-inputs/DialInputs.d.ts +1 -0
- package/dist/dial/wrapped-inputs/DialInputs.mjs +56 -54
- package/dist/dial/wrapped-inputs/DialPresetsInput.cjs +51 -55
- package/dist/dial/wrapped-inputs/DialPresetsInput.d.cts +3 -3
- package/dist/dial/wrapped-inputs/DialPresetsInput.d.ts +3 -3
- package/dist/dial/wrapped-inputs/DialPresetsInput.mjs +50 -54
- package/dist/dial/wrapped-inputs/DialVectorInput.cjs +57 -55
- package/dist/dial/wrapped-inputs/DialVectorInput.d.cts +1 -0
- package/dist/dial/wrapped-inputs/DialVectorInput.d.ts +1 -0
- package/dist/dial/wrapped-inputs/DialVectorInput.mjs +56 -54
- package/dist/dial/wrapped-inputs/index.cjs +80 -78
- package/dist/dial/wrapped-inputs/index.d.cts +1 -0
- package/dist/dial/wrapped-inputs/index.d.ts +1 -0
- package/dist/dial/wrapped-inputs/index.mjs +56 -54
- package/dist/highlight-cursor/enhanced-components.cjs +12 -12
- package/dist/highlight-cursor/enhanced-components.mjs +7 -7
- package/dist/highlight-cursor/index.cjs +16 -16
- package/dist/highlight-cursor/index.mjs +7 -7
- package/dist/hooks/index.cjs +5 -5
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.cjs +243 -261
- package/dist/index.css +16 -16
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.mjs +56 -54
- package/dist/styles/theme.css +3 -3
- package/dist/ui/DialBadge.cjs +6 -6
- package/dist/ui/DialBadge.mjs +2 -2
- package/dist/ui/UIKitBadge.cjs +6 -6
- package/dist/ui/UIKitBadge.mjs +2 -2
- package/dist/ui/avatar.cjs +1 -1
- package/dist/ui/avatar.mjs +1 -1
- package/dist/ui/badge.cjs +1 -1
- package/dist/ui/badge.d.cts +1 -1
- package/dist/ui/badge.d.ts +1 -1
- package/dist/ui/badge.mjs +1 -1
- package/dist/ui/button.cjs +4 -4
- package/dist/ui/button.mjs +2 -2
- package/dist/ui/card.cjs +9 -9
- package/dist/ui/card.mjs +2 -2
- package/dist/ui/checkbox.cjs +1 -1
- package/dist/ui/checkbox.mjs +1 -1
- package/dist/ui/collapsible.cjs +1 -1
- package/dist/ui/collapsible.mjs +1 -1
- package/dist/ui/drawer.cjs +1 -1
- package/dist/ui/drawer.mjs +1 -1
- package/dist/ui/dropdown.cjs +1 -1
- package/dist/ui/dropdown.mjs +1 -1
- package/dist/ui/index.cjs +185 -204
- package/dist/ui/index.d.cts +5 -2
- package/dist/ui/index.d.ts +5 -2
- package/dist/ui/index.mjs +48 -47
- package/dist/ui/inputs/color-input.cjs +4 -4
- package/dist/ui/inputs/color-input.mjs +3 -3
- package/dist/ui/inputs/index.cjs +42 -42
- package/dist/ui/inputs/index.mjs +21 -21
- package/dist/ui/inputs/input-numbers.cjs +4 -4
- package/dist/ui/inputs/input-numbers.mjs +3 -3
- package/dist/ui/inputs/input.cjs +5 -5
- package/dist/ui/inputs/input.d.cts +1 -1
- package/dist/ui/inputs/input.d.ts +1 -1
- package/dist/ui/inputs/input.mjs +2 -2
- package/dist/ui/inputs/number-inputs/CmInput.cjs +5 -5
- package/dist/ui/inputs/number-inputs/CmInput.mjs +4 -4
- package/dist/ui/inputs/number-inputs/DegInput.cjs +5 -5
- package/dist/ui/inputs/number-inputs/DegInput.mjs +4 -4
- package/dist/ui/inputs/number-inputs/EulerDegInput.cjs +7 -7
- package/dist/ui/inputs/number-inputs/EulerDegInput.mjs +6 -6
- package/dist/ui/inputs/number-inputs/EulerInput.cjs +6 -6
- package/dist/ui/inputs/number-inputs/EulerInput.mjs +5 -5
- package/dist/ui/inputs/number-inputs/EulerRadInput.cjs +6 -6
- package/dist/ui/inputs/number-inputs/EulerRadInput.mjs +5 -5
- package/dist/ui/inputs/number-inputs/InchInput.cjs +5 -5
- package/dist/ui/inputs/number-inputs/InchInput.mjs +4 -4
- package/dist/ui/inputs/number-inputs/IntInput.cjs +5 -5
- package/dist/ui/inputs/number-inputs/IntInput.mjs +4 -4
- package/dist/ui/inputs/number-inputs/KVectorInput.cjs +6 -6
- package/dist/ui/inputs/number-inputs/KVectorInput.mjs +5 -5
- package/dist/ui/inputs/number-inputs/QuaternionInput.cjs +6 -6
- package/dist/ui/inputs/number-inputs/QuaternionInput.mjs +5 -5
- package/dist/ui/inputs/number-inputs/RadInput.cjs +5 -5
- package/dist/ui/inputs/number-inputs/RadInput.mjs +4 -4
- package/dist/ui/inputs/number-inputs/TimeInput.cjs +5 -5
- package/dist/ui/inputs/number-inputs/TimeInput.mjs +4 -4
- package/dist/ui/inputs/number-inputs/Vec3Input.cjs +6 -6
- package/dist/ui/inputs/number-inputs/Vec3Input.mjs +5 -5
- package/dist/ui/inputs/number-inputs/VectorInput.cjs +5 -5
- package/dist/ui/inputs/number-inputs/VectorInput.mjs +4 -4
- package/dist/ui/inputs/number-inputs/index.cjs +29 -29
- package/dist/ui/inputs/number-inputs/index.mjs +16 -16
- package/dist/ui/inputs/presets-input.cjs +6 -6
- package/dist/ui/inputs/presets-input.mjs +5 -5
- package/dist/ui/inputs/presets-rad-input.cjs +7 -7
- package/dist/ui/inputs/presets-rad-input.mjs +6 -6
- package/dist/ui/inputs/text-input.cjs +4 -4
- package/dist/ui/inputs/text-input.mjs +3 -3
- package/dist/ui/label.cjs +3 -3
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.ts +2 -2
- package/dist/ui/label.mjs +2 -2
- package/dist/ui/layout.cjs +3 -3
- package/dist/ui/layout.d.cts +3 -2
- package/dist/ui/layout.d.ts +3 -2
- package/dist/ui/layout.mjs +2 -2
- package/dist/ui/layouts/dock-layout/DockLayoutView.cjs +1 -1
- package/dist/ui/layouts/dock-layout/DockLayoutView.mjs +1 -1
- package/dist/ui/layouts/dock-layout/LayoutSlots.cjs +1 -1
- package/dist/ui/layouts/dock-layout/LayoutSlots.mjs +1 -1
- package/dist/ui/layouts/dock-layout/index.cjs +1 -1
- package/dist/ui/layouts/dock-layout/index.mjs +1 -1
- package/dist/ui/layouts/index.cjs +1 -1
- package/dist/ui/layouts/index.mjs +1 -1
- package/dist/ui/layouts/liquid-layout/LayoutSlots.cjs +1 -1
- package/dist/ui/layouts/liquid-layout/LayoutSlots.mjs +1 -1
- package/dist/ui/layouts/liquid-layout/LiquidLayoutView.cjs +1 -1
- package/dist/ui/layouts/liquid-layout/LiquidLayoutView.mjs +1 -1
- package/dist/ui/layouts/liquid-layout/index.cjs +1 -1
- package/dist/ui/layouts/liquid-layout/index.mjs +1 -1
- package/dist/ui/modal.cjs +1 -1
- package/dist/ui/modal.mjs +1 -1
- package/dist/ui/navigation.cjs +4 -4
- package/dist/ui/navigation.mjs +3 -3
- package/dist/ui/pagination.cjs +10 -10
- package/dist/ui/pagination.mjs +3 -3
- package/dist/ui/popover.cjs +1 -1
- package/dist/ui/popover.mjs +1 -1
- package/dist/ui/progress.cjs +20 -0
- package/dist/ui/progress.d.cts +7 -0
- package/dist/ui/progress.d.ts +7 -0
- package/dist/ui/{panel.mjs → progress.mjs} +2 -2
- package/dist/ui/radio-group.cjs +1 -1
- package/dist/ui/radio-group.mjs +1 -1
- package/dist/ui/resizable.cjs +1 -1
- package/dist/ui/resizable.mjs +1 -1
- package/dist/ui/select.cjs +1 -1
- package/dist/ui/select.d.cts +1 -1
- package/dist/ui/select.d.ts +1 -1
- package/dist/ui/select.mjs +1 -1
- package/dist/ui/separator.cjs +1 -1
- package/dist/ui/separator.mjs +1 -1
- package/dist/ui/sheet.cjs +1 -1
- package/dist/ui/sheet.mjs +1 -1
- package/dist/ui/sidebar.cjs +29 -29
- package/dist/ui/sidebar.mjs +5 -5
- package/dist/ui/simple-tree-view.cjs +1 -1
- package/dist/ui/simple-tree-view.mjs +1 -1
- package/dist/ui/skeleton.cjs +1 -1
- package/dist/ui/skeleton.mjs +1 -1
- package/dist/ui/slider.cjs +1 -1
- package/dist/ui/slider.mjs +1 -1
- package/dist/ui/spinner.cjs +10 -0
- package/dist/ui/spinner.d.cts +7 -0
- package/dist/ui/spinner.d.ts +7 -0
- package/dist/ui/spinner.mjs +1 -0
- package/dist/ui/switch.cjs +1 -1
- package/dist/ui/switch.mjs +1 -1
- package/dist/ui/table.cjs +1 -1
- package/dist/ui/table.mjs +1 -1
- package/dist/ui/tabs.cjs +1 -1
- package/dist/ui/tabs.mjs +1 -1
- package/dist/ui/textarea.cjs +1 -1
- package/dist/ui/textarea.d.cts +1 -1
- package/dist/ui/textarea.d.ts +1 -1
- package/dist/ui/textarea.mjs +1 -1
- package/dist/ui/theme/ThemeToggles.cjs +7 -7
- package/dist/ui/theme/ThemeToggles.mjs +4 -4
- package/dist/ui/theme/index.cjs +7 -7
- package/dist/ui/theme/index.mjs +4 -4
- package/dist/ui/toggle-buttons.cjs +1 -1
- package/dist/ui/toggle-buttons.mjs +1 -1
- package/dist/ui/toggle-group.cjs +1 -1
- package/dist/ui/toggle-group.mjs +1 -1
- package/dist/ui/toggle.cjs +1 -1
- package/dist/ui/toggle.mjs +1 -1
- package/dist/ui/toolbar.cjs +5 -5
- package/dist/ui/toolbar.mjs +2 -2
- package/dist/ui/tooltip.cjs +6 -6
- package/dist/ui/tooltip.mjs +2 -2
- package/dist/ui/tree-view/TreeSearchBar.cjs +5 -5
- package/dist/ui/tree-view/TreeSearchBar.mjs +4 -4
- package/dist/ui/tree-view/TreeView.cjs +1 -1
- package/dist/ui/tree-view/TreeView.mjs +1 -1
- package/dist/ui/tree-view/index.cjs +14 -14
- package/dist/ui/tree-view/index.mjs +5 -5
- package/dist/ui/tree-view-legacy.cjs +8 -8
- package/dist/ui/tree-view-legacy.mjs +4 -4
- package/dist/ui/waterfall/CursorOverlay.cjs +1 -1
- package/dist/ui/waterfall/CursorOverlay.mjs +1 -1
- package/dist/ui/waterfall/TimelineEvent.cjs +1 -1
- package/dist/ui/waterfall/TimelineEvent.mjs +1 -1
- package/dist/ui/waterfall/TimelineProcessBar.cjs +1 -1
- package/dist/ui/waterfall/TimelineProcessBar.mjs +1 -1
- package/dist/ui/waterfall/Wedges.cjs +1 -1
- package/dist/ui/waterfall/Wedges.mjs +1 -1
- package/dist/ui/waterfall/index.cjs +8 -8
- package/dist/ui/waterfall/index.mjs +7 -7
- package/package.json +5 -4
- package/src/auth/components/index.ts +1 -0
- package/src/auth/components/user-avatar/index.tsx +94 -0
- package/src/auth/context/{auth-context.ts → user-context.ts} +4 -4
- package/src/auth/handler/fetch-auth.ts +10 -0
- package/src/auth/handler/fetch-server.ts +10 -0
- package/src/auth/handler/get-session.ts +11 -9
- package/src/auth/handler/get-sessions.ts +16 -0
- package/src/auth/handler/sign-in-handler.ts +10 -11
- package/src/auth/handler/sign-out-handler.ts +2 -6
- package/src/auth/hooks/use-sign-in.ts +33 -0
- package/src/auth/hooks/use-sign-out.ts +30 -0
- package/src/auth/hooks/{use-vuer-auth.ts → use-user.ts} +3 -3
- package/src/auth/hooks/use-vuer-sessions.ts +29 -0
- package/src/auth/index.ts +9 -3
- package/src/auth/localstorage-key.ts +2 -0
- package/src/auth/{vuer-auth-provider.tsx → vuer-user-provider.tsx} +14 -9
- package/src/dial/DialPanel.tsx +17 -7
- package/src/dial/DialProvider.tsx +67 -13
- package/src/dial/wrapped-inputs/ControlledInputs.tsx +79 -64
- package/src/dial/wrapped-inputs/DialInputs.tsx +29 -28
- package/src/dial/wrapped-inputs/DialPresetsInput.tsx +19 -27
- package/src/dial/wrapped-inputs/DialVectorInput.tsx +14 -9
- package/src/styles/theme.css +5 -3
- package/src/ui/button.tsx +2 -2
- package/src/ui/card.tsx +5 -5
- package/src/ui/index.ts +2 -1
- package/src/ui/inputs/input.tsx +21 -3
- package/src/ui/label.tsx +10 -2
- package/src/ui/layout.tsx +3 -1
- package/src/ui/progress.tsx +29 -0
- package/src/ui/spinner.tsx +67 -0
- package/src/ui/toolbar.tsx +21 -8
- package/src/ui/tooltip.tsx +11 -2
- package/src/ui/waterfall/index.tsx +15 -3
- package/dist/auth/context/auth-context.cjs +0 -10
- package/dist/auth/context/auth-context.mjs +0 -1
- package/dist/auth/hooks/use-vuer-auth.cjs +0 -11
- package/dist/auth/hooks/use-vuer-auth.d.cts +0 -8
- package/dist/auth/hooks/use-vuer-auth.d.ts +0 -8
- package/dist/auth/hooks/use-vuer-auth.mjs +0 -2
- package/dist/auth/hooks/use-vuer-method.cjs +0 -15
- package/dist/auth/hooks/use-vuer-method.d.cts +0 -10
- package/dist/auth/hooks/use-vuer-method.d.ts +0 -10
- package/dist/auth/hooks/use-vuer-method.mjs +0 -6
- package/dist/auth/vuer-auth-provider.cjs +0 -13
- package/dist/auth/vuer-auth-provider.mjs +0 -4
- package/dist/chunk-3HEZVWRW.mjs +0 -62
- package/dist/chunk-4B44SRRP.cjs +0 -12
- package/dist/chunk-4CPB3XHE.cjs +0 -18
- package/dist/chunk-AKVHFPXH.mjs +0 -26
- package/dist/chunk-C6L7YIGW.cjs +0 -117
- package/dist/chunk-CGODCUQ5.mjs +0 -16
- package/dist/chunk-G4Q5ALRW.mjs +0 -109
- package/dist/chunk-OPYMZDEZ.mjs +0 -28
- package/dist/chunk-RMK6W774.cjs +0 -65
- package/dist/chunk-T57VFBIC.mjs +0 -17
- package/dist/chunk-TC3W4VRO.mjs +0 -6
- package/dist/chunk-WTYBTOLO.cjs +0 -19
- package/dist/chunk-WZGZX3S2.cjs +0 -32
- package/dist/chunk-XFTKHT2M.cjs +0 -28
- package/dist/chunk-ZULCZ5L6.cjs +0 -8
- package/dist/ui/panel.cjs +0 -44
- package/dist/ui/panel.d.cts +0 -51
- package/dist/ui/panel.d.ts +0 -51
- package/src/auth/hooks/use-vuer-method.ts +0 -37
- package/src/ui/panel.tsx +0 -147
- /package/dist/{chunk-KFPS5CCR.cjs → chunk-NK7L5H2Y.cjs} +0 -0
- /package/dist/{chunk-G3EIVAVR.mjs → chunk-UXWS62ZO.mjs} +0 -0
|
@@ -82,8 +82,15 @@ function TooltipContent({
|
|
|
82
82
|
return null;
|
|
83
83
|
}
|
|
84
84
|
const getLiquidBgClass = (side2) => {
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
const sideClassMap = {
|
|
86
|
+
top: "liquid-dark:liquid-dark-bg-tooltip-top liquid-light:liquid-light-bg-tooltip-top",
|
|
87
|
+
bottom: "liquid-dark:liquid-dark-bg-tooltip-bottom liquid-light:liquid-light-bg-tooltip-bottom",
|
|
88
|
+
left: "liquid-dark:liquid-dark-bg-tooltip-left liquid-light:liquid-light-bg-tooltip-left",
|
|
89
|
+
right: "liquid-dark:liquid-dark-bg-tooltip-right liquid-light:liquid-light-bg-tooltip-right"
|
|
90
|
+
};
|
|
91
|
+
if (side2 && side2 in sideClassMap) {
|
|
92
|
+
return sideClassMap[side2];
|
|
93
|
+
}
|
|
87
94
|
return "liquid-dark:liquid-dark-bg-tooltip-arrow liquid-light:liquid-light-bg-tooltip-arrow";
|
|
88
95
|
};
|
|
89
96
|
return /* @__PURE__ */ jsxRuntime.jsx(TooltipPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
+
|
|
5
|
+
// src/ui/spinner.tsx
|
|
6
|
+
var Ring = ({ size = 24, ...props }) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7
|
+
"svg",
|
|
8
|
+
{
|
|
9
|
+
height: size,
|
|
10
|
+
stroke: "currentColor",
|
|
11
|
+
viewBox: "0 0 44 44",
|
|
12
|
+
width: size,
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
+
...props,
|
|
15
|
+
children: [
|
|
16
|
+
/* @__PURE__ */ jsxRuntime.jsx("title", { children: "Loading..." }),
|
|
17
|
+
/* @__PURE__ */ jsxRuntime.jsxs("g", { fill: "none", fillRule: "evenodd", strokeWidth: "2", children: [
|
|
18
|
+
/* @__PURE__ */ jsxRuntime.jsxs("circle", { cx: "22", cy: "22", r: "1", children: [
|
|
19
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
20
|
+
"animate",
|
|
21
|
+
{
|
|
22
|
+
attributeName: "r",
|
|
23
|
+
begin: "0s",
|
|
24
|
+
calcMode: "spline",
|
|
25
|
+
dur: "1.8s",
|
|
26
|
+
keySplines: "0.165, 0.84, 0.44, 1",
|
|
27
|
+
keyTimes: "0; 1",
|
|
28
|
+
repeatCount: "indefinite",
|
|
29
|
+
values: "1; 20"
|
|
30
|
+
}
|
|
31
|
+
),
|
|
32
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33
|
+
"animate",
|
|
34
|
+
{
|
|
35
|
+
attributeName: "stroke-opacity",
|
|
36
|
+
begin: "0s",
|
|
37
|
+
calcMode: "spline",
|
|
38
|
+
dur: "1.8s",
|
|
39
|
+
keySplines: "0.3, 0.61, 0.355, 1",
|
|
40
|
+
keyTimes: "0; 1",
|
|
41
|
+
repeatCount: "indefinite",
|
|
42
|
+
values: "1; 0"
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
] }),
|
|
46
|
+
/* @__PURE__ */ jsxRuntime.jsxs("circle", { cx: "22", cy: "22", r: "1", children: [
|
|
47
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48
|
+
"animate",
|
|
49
|
+
{
|
|
50
|
+
attributeName: "r",
|
|
51
|
+
begin: "-0.9s",
|
|
52
|
+
calcMode: "spline",
|
|
53
|
+
dur: "1.8s",
|
|
54
|
+
keySplines: "0.165, 0.84, 0.44, 1",
|
|
55
|
+
keyTimes: "0; 1",
|
|
56
|
+
repeatCount: "indefinite",
|
|
57
|
+
values: "1; 20"
|
|
58
|
+
}
|
|
59
|
+
),
|
|
60
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
61
|
+
"animate",
|
|
62
|
+
{
|
|
63
|
+
attributeName: "stroke-opacity",
|
|
64
|
+
begin: "-0.9s",
|
|
65
|
+
calcMode: "spline",
|
|
66
|
+
dur: "1.8s",
|
|
67
|
+
keySplines: "0.3, 0.61, 0.355, 1",
|
|
68
|
+
keyTimes: "0; 1",
|
|
69
|
+
repeatCount: "indefinite",
|
|
70
|
+
values: "1; 0"
|
|
71
|
+
}
|
|
72
|
+
)
|
|
73
|
+
] })
|
|
74
|
+
] })
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
);
|
|
78
|
+
var Spinner = (props) => {
|
|
79
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Ring, { ...props });
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
exports.Spinner = Spinner;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWB43VEZA_cjs = require('./chunk-WB43VEZA.cjs');
|
|
4
4
|
var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
|
|
5
5
|
var react = require('react');
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -37,7 +37,7 @@ var ColorInput = react.forwardRef(function ColorInput2({ className, value, defau
|
|
|
37
37
|
}
|
|
38
38
|
),
|
|
39
39
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
40
|
-
|
|
40
|
+
chunkWB43VEZA_cjs.InputRoot,
|
|
41
41
|
{
|
|
42
42
|
...props,
|
|
43
43
|
size: "sm",
|
|
@@ -48,7 +48,7 @@ var ColorInput = react.forwardRef(function ColorInput2({ className, value, defau
|
|
|
48
48
|
setColor(e.currentTarget.value);
|
|
49
49
|
onChange?.(e);
|
|
50
50
|
},
|
|
51
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
51
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkWB43VEZA_cjs.InputSlot, { children: "#" })
|
|
52
52
|
}
|
|
53
53
|
)
|
|
54
54
|
] });
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkWJL5HMO6_cjs = require('./chunk-WJL5HMO6.cjs');
|
|
4
4
|
var chunkRJ7I6ZQK_cjs = require('./chunk-RJ7I6ZQK.cjs');
|
|
5
|
-
var chunkYXFHJKNW_cjs = require('./chunk-YXFHJKNW.cjs');
|
|
6
5
|
var chunk5MNZYCN2_cjs = require('./chunk-5MNZYCN2.cjs');
|
|
7
6
|
var chunkZ6UDRPC2_cjs = require('./chunk-Z6UDRPC2.cjs');
|
|
8
|
-
var chunkEEGQLTSQ_cjs = require('./chunk-EEGQLTSQ.cjs');
|
|
9
7
|
var chunk2J75MYQA_cjs = require('./chunk-2J75MYQA.cjs');
|
|
10
8
|
var chunkUTS56UA5_cjs = require('./chunk-UTS56UA5.cjs');
|
|
11
9
|
var chunkJWVH6R35_cjs = require('./chunk-JWVH6R35.cjs');
|
|
12
10
|
var chunkMVAFOQ67_cjs = require('./chunk-MVAFOQ67.cjs');
|
|
13
11
|
var chunkTUYG6BYZ_cjs = require('./chunk-TUYG6BYZ.cjs');
|
|
12
|
+
var chunkYXFHJKNW_cjs = require('./chunk-YXFHJKNW.cjs');
|
|
14
13
|
var chunkG2ZYONQO_cjs = require('./chunk-G2ZYONQO.cjs');
|
|
15
|
-
var
|
|
14
|
+
var chunkLV4XJY75_cjs = require('./chunk-LV4XJY75.cjs');
|
|
16
15
|
var chunkHAVTMZR3_cjs = require('./chunk-HAVTMZR3.cjs');
|
|
17
|
-
var
|
|
16
|
+
var chunkEEGQLTSQ_cjs = require('./chunk-EEGQLTSQ.cjs');
|
|
17
|
+
var chunkBDAKLXXX_cjs = require('./chunk-BDAKLXXX.cjs');
|
|
18
18
|
var chunkG5JZGNKY_cjs = require('./chunk-G5JZGNKY.cjs');
|
|
19
19
|
var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
|
|
20
20
|
var chunkG4FJGNY5_cjs = require('./chunk-G4FJGNY5.cjs');
|
|
@@ -78,13 +78,25 @@ function Waterfall({
|
|
|
78
78
|
onTemporalCursorChange,
|
|
79
79
|
temporalCursor
|
|
80
80
|
});
|
|
81
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
81
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkBDAKLXXX_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkG4FJGNY5_cjs.SyncScrollProvider, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
82
82
|
"div",
|
|
83
83
|
{
|
|
84
84
|
className: chunkOHIB3TEN_cjs.cn(
|
|
85
|
-
"bg-bg-primary
|
|
86
|
-
"
|
|
87
|
-
"
|
|
85
|
+
"bg-bg-primary",
|
|
86
|
+
"liquid-dark:liquid-dark-bg",
|
|
87
|
+
"liquid-dark:border-[0.9px]",
|
|
88
|
+
"liquid-dark:border-[rgba(85,85,85,100)]",
|
|
89
|
+
"liquid-light:liquid-light-bg",
|
|
90
|
+
"liquid-light:border-[0.8px]",
|
|
91
|
+
"liquid-light:border-[white]",
|
|
92
|
+
"text-text-primary",
|
|
93
|
+
"rounded-uk-lg",
|
|
94
|
+
"mx-auto",
|
|
95
|
+
"flex",
|
|
96
|
+
"w-full",
|
|
97
|
+
"flex-col",
|
|
98
|
+
"overflow-hidden",
|
|
99
|
+
"font-sans",
|
|
88
100
|
"shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
|
|
89
101
|
className
|
|
90
102
|
),
|
|
@@ -96,7 +108,7 @@ function Waterfall({
|
|
|
96
108
|
style: { width: panelWidth },
|
|
97
109
|
children: [
|
|
98
110
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
99
|
-
|
|
111
|
+
chunkLV4XJY75_cjs.TreeSearchBar,
|
|
100
112
|
{
|
|
101
113
|
className: "p-1",
|
|
102
114
|
searchQuery,
|
|
@@ -1,34 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
1
|
+
import { DialPresetsInput } from './chunk-V5YUFNEB.mjs';
|
|
2
|
+
import { useDialSchema } from './chunk-L4CIN7FR.mjs';
|
|
3
|
+
import { TimeInput } from './chunk-Z4ZGX3NM.mjs';
|
|
4
|
+
import { Vec3Input } from './chunk-AGHIJQAR.mjs';
|
|
5
|
+
import { EulerDegInput } from './chunk-WQCVK4PG.mjs';
|
|
6
|
+
import { EulerInput } from './chunk-KS5A3G7B.mjs';
|
|
7
|
+
import { EulerRadInput } from './chunk-H2AJ2CLT.mjs';
|
|
8
|
+
import { InchInput } from './chunk-ZRMDDK6J.mjs';
|
|
9
|
+
import { IntInput } from './chunk-JH5NAW2V.mjs';
|
|
10
|
+
import { QuaternionInput } from './chunk-2SFB7HHW.mjs';
|
|
11
|
+
import { VectorInput } from './chunk-ZDSN4IFT.mjs';
|
|
12
|
+
import { CmInput } from './chunk-ZEBAIL6F.mjs';
|
|
13
|
+
import { DegInput } from './chunk-PTBMSYQQ.mjs';
|
|
14
|
+
import { ColorInput } from './chunk-GSQE4JVF.mjs';
|
|
15
|
+
import { RadInput } from './chunk-TZBOF3XO.mjs';
|
|
16
|
+
import { TextInput } from './chunk-7XXTMBF5.mjs';
|
|
16
17
|
import { Slider } from './chunk-Y6WGGVT2.mjs';
|
|
17
18
|
import { Switch } from './chunk-AZBJB6KC.mjs';
|
|
18
|
-
import { Label } from './chunk-
|
|
19
|
-
import { FormLayout } from './chunk-
|
|
20
|
-
import { InputRoot, InputSlot } from './chunk-
|
|
19
|
+
import { Label } from './chunk-WGWNYPXW.mjs';
|
|
20
|
+
import { FormLayout } from './chunk-FB5MYIVE.mjs';
|
|
21
|
+
import { InputRoot, InputSlot } from './chunk-XMQULAAU.mjs';
|
|
21
22
|
import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-KJH46JR3.mjs';
|
|
22
|
-
import {
|
|
23
|
+
import { useCallback } from 'react';
|
|
23
24
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
24
25
|
|
|
25
|
-
var DialInputWrapper = ({
|
|
26
|
+
var DialInputWrapper = ({
|
|
27
|
+
label,
|
|
28
|
+
labelPosition = "top",
|
|
29
|
+
children
|
|
30
|
+
}) => {
|
|
26
31
|
if (!label) {
|
|
27
32
|
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
28
33
|
}
|
|
29
|
-
return /* @__PURE__ */ jsxs(FormLayout, { orientation:
|
|
34
|
+
return /* @__PURE__ */ jsxs(FormLayout, { orientation: `label-${labelPosition}`, children: [
|
|
30
35
|
/* @__PURE__ */ jsx(Label, { size: "sm", children: label }),
|
|
31
|
-
children
|
|
36
|
+
/* @__PURE__ */ jsx(Fragment, { children })
|
|
32
37
|
] });
|
|
33
38
|
};
|
|
34
39
|
var DialVec3Input = ({
|
|
@@ -52,7 +57,7 @@ var DialVec3Input = ({
|
|
|
52
57
|
}
|
|
53
58
|
);
|
|
54
59
|
} else {
|
|
55
|
-
return /* @__PURE__ */ jsx(DialInputWrapper, { label, children: /* @__PURE__ */ jsx(
|
|
60
|
+
return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(
|
|
56
61
|
Vec3Input,
|
|
57
62
|
{
|
|
58
63
|
value,
|
|
@@ -84,7 +89,7 @@ var DialEulerInput = ({
|
|
|
84
89
|
}
|
|
85
90
|
);
|
|
86
91
|
} else {
|
|
87
|
-
return /* @__PURE__ */ jsx(DialInputWrapper, { label, children: /* @__PURE__ */ jsx(
|
|
92
|
+
return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(
|
|
88
93
|
EulerInput,
|
|
89
94
|
{
|
|
90
95
|
value,
|
|
@@ -116,7 +121,7 @@ var DialEulerDegInput = ({
|
|
|
116
121
|
}
|
|
117
122
|
);
|
|
118
123
|
} else {
|
|
119
|
-
return /* @__PURE__ */ jsx(DialInputWrapper, { label, children: /* @__PURE__ */ jsx(
|
|
124
|
+
return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(
|
|
120
125
|
EulerDegInput,
|
|
121
126
|
{
|
|
122
127
|
value,
|
|
@@ -148,7 +153,7 @@ var DialQuaternionInput = ({
|
|
|
148
153
|
}
|
|
149
154
|
);
|
|
150
155
|
} else {
|
|
151
|
-
return /* @__PURE__ */ jsx(DialInputWrapper, { label, children: /* @__PURE__ */ jsx(
|
|
156
|
+
return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(
|
|
152
157
|
QuaternionInput,
|
|
153
158
|
{
|
|
154
159
|
value,
|
|
@@ -181,7 +186,7 @@ var DialVectorInput = ({
|
|
|
181
186
|
}
|
|
182
187
|
);
|
|
183
188
|
} else {
|
|
184
|
-
return /* @__PURE__ */ jsx(DialInputWrapper, { label, children: /* @__PURE__ */ jsx(
|
|
189
|
+
return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(
|
|
185
190
|
VectorInput,
|
|
186
191
|
{
|
|
187
192
|
value,
|
|
@@ -213,7 +218,7 @@ var DialIntInput = ({
|
|
|
213
218
|
}
|
|
214
219
|
);
|
|
215
220
|
} else {
|
|
216
|
-
return /* @__PURE__ */ jsx(DialInputWrapper, { label, children: /* @__PURE__ */ jsx(IntInput, { value, onChange: (val) => setValue(name, val), size, step }) });
|
|
221
|
+
return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(IntInput, { value, onChange: (val) => setValue(name, val), size, step }) });
|
|
217
222
|
}
|
|
218
223
|
};
|
|
219
224
|
var DialDegInput = ({
|
|
@@ -237,7 +242,7 @@ var DialDegInput = ({
|
|
|
237
242
|
}
|
|
238
243
|
);
|
|
239
244
|
} else {
|
|
240
|
-
return /* @__PURE__ */ jsx(DialInputWrapper, { label, children: /* @__PURE__ */ jsx(DegInput, { value, onChange: (val) => setValue(name, val), size, step }) });
|
|
245
|
+
return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(DegInput, { value, onChange: (val) => setValue(name, val), size, step }) });
|
|
241
246
|
}
|
|
242
247
|
};
|
|
243
248
|
var DialRadInput = ({
|
|
@@ -261,7 +266,7 @@ var DialRadInput = ({
|
|
|
261
266
|
}
|
|
262
267
|
);
|
|
263
268
|
} else {
|
|
264
|
-
return /* @__PURE__ */ jsx(DialInputWrapper, { label, children: /* @__PURE__ */ jsx(RadInput, { value, onChange: (val) => setValue(name, val), size, step }) });
|
|
269
|
+
return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(RadInput, { value, onChange: (val) => setValue(name, val), size, step }) });
|
|
265
270
|
}
|
|
266
271
|
};
|
|
267
272
|
var DialCmInput = ({
|
|
@@ -285,7 +290,7 @@ var DialCmInput = ({
|
|
|
285
290
|
}
|
|
286
291
|
);
|
|
287
292
|
} else {
|
|
288
|
-
return /* @__PURE__ */ jsx(DialInputWrapper, { label, children: /* @__PURE__ */ jsx(CmInput, { value, onChange: (val) => setValue(name, val), size, step }) });
|
|
293
|
+
return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(CmInput, { value, onChange: (val) => setValue(name, val), size, step }) });
|
|
289
294
|
}
|
|
290
295
|
};
|
|
291
296
|
var DialInchInput = ({
|
|
@@ -309,7 +314,7 @@ var DialInchInput = ({
|
|
|
309
314
|
}
|
|
310
315
|
);
|
|
311
316
|
} else {
|
|
312
|
-
return /* @__PURE__ */ jsx(DialInputWrapper, { label, children: /* @__PURE__ */ jsx(InchInput, { value, onChange: (val) => setValue(name, val), size, step }) });
|
|
317
|
+
return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(InchInput, { value, onChange: (val) => setValue(name, val), size, step }) });
|
|
313
318
|
}
|
|
314
319
|
};
|
|
315
320
|
var DialTimeInput = ({
|
|
@@ -333,7 +338,7 @@ var DialTimeInput = ({
|
|
|
333
338
|
}
|
|
334
339
|
);
|
|
335
340
|
} else {
|
|
336
|
-
return /* @__PURE__ */ jsx(DialInputWrapper, { label, children: /* @__PURE__ */ jsx(TimeInput, { value, onChange: (val) => setValue(name, val), size, step }) });
|
|
341
|
+
return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(TimeInput, { value, onChange: (val) => setValue(name, val), size, step }) });
|
|
337
342
|
}
|
|
338
343
|
};
|
|
339
344
|
var DialTextInput = ({
|
|
@@ -357,7 +362,7 @@ var DialTextInput = ({
|
|
|
357
362
|
}
|
|
358
363
|
);
|
|
359
364
|
} else {
|
|
360
|
-
return /* @__PURE__ */ jsx(DialInputWrapper, { label, children: /* @__PURE__ */ jsx(
|
|
365
|
+
return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(
|
|
361
366
|
TextInput,
|
|
362
367
|
{
|
|
363
368
|
value,
|
|
@@ -390,7 +395,7 @@ var DialEulerRadInput = ({
|
|
|
390
395
|
}
|
|
391
396
|
);
|
|
392
397
|
} else {
|
|
393
|
-
return /* @__PURE__ */ jsx(DialInputWrapper, { label, children: /* @__PURE__ */ jsx(
|
|
398
|
+
return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(
|
|
394
399
|
EulerRadInput,
|
|
395
400
|
{
|
|
396
401
|
value,
|
|
@@ -428,66 +433,22 @@ var DialNumberRadInput = ({
|
|
|
428
433
|
}
|
|
429
434
|
);
|
|
430
435
|
} else {
|
|
431
|
-
return /* @__PURE__ */ jsx(DialInputWrapper, { label, children: /* @__PURE__ */ jsx(DegInput, { value: degValue, onChange: handleChange, size, step }) });
|
|
432
|
-
}
|
|
433
|
-
};
|
|
434
|
-
var DialInputWrapper2 = ({ label, children }) => {
|
|
435
|
-
if (!label) {
|
|
436
|
-
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
437
|
-
}
|
|
438
|
-
return /* @__PURE__ */ jsxs(FormLayout, { orientation: "label-top", children: [
|
|
439
|
-
/* @__PURE__ */ jsx(Label, { size: "sm", children: label }),
|
|
440
|
-
children
|
|
441
|
-
] });
|
|
442
|
-
};
|
|
443
|
-
var DialPresetsInput = ({
|
|
444
|
-
name,
|
|
445
|
-
label,
|
|
446
|
-
size = "sm",
|
|
447
|
-
labelPosition,
|
|
448
|
-
options
|
|
449
|
-
}) => {
|
|
450
|
-
const { getValue, setValue } = useDialSchema();
|
|
451
|
-
const value = getValue(name) ?? 0;
|
|
452
|
-
const presets = options.slice(0, 3).map((opt) => {
|
|
453
|
-
if (typeof opt === "number") return opt;
|
|
454
|
-
if (typeof opt === "string") return parseFloat(opt);
|
|
455
|
-
return typeof opt.value === "number" ? opt.value : parseFloat(opt.value);
|
|
456
|
-
});
|
|
457
|
-
while (presets.length < 3) {
|
|
458
|
-
presets.push(0);
|
|
459
|
-
}
|
|
460
|
-
if (labelPosition === "inline") {
|
|
461
|
-
return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
462
|
-
label && /* @__PURE__ */ jsx(Label, { size: "sm", children: label }),
|
|
463
|
-
/* @__PURE__ */ jsx(
|
|
464
|
-
PresetsInput,
|
|
465
|
-
{
|
|
466
|
-
value,
|
|
467
|
-
onChange: (val) => setValue(name, val),
|
|
468
|
-
size,
|
|
469
|
-
presets
|
|
470
|
-
}
|
|
471
|
-
)
|
|
472
|
-
] });
|
|
473
|
-
} else {
|
|
474
|
-
return /* @__PURE__ */ jsx(DialInputWrapper2, { label, children: /* @__PURE__ */ jsx(
|
|
475
|
-
PresetsInput,
|
|
476
|
-
{
|
|
477
|
-
value,
|
|
478
|
-
onChange: (val) => setValue(name, val),
|
|
479
|
-
size,
|
|
480
|
-
presets
|
|
481
|
-
}
|
|
482
|
-
) });
|
|
436
|
+
return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(DegInput, { value: degValue, onChange: handleChange, size, step }) });
|
|
483
437
|
}
|
|
484
438
|
};
|
|
485
439
|
var DialVectorInput2 = ({
|
|
486
440
|
name,
|
|
487
441
|
label,
|
|
488
|
-
size = "sm"
|
|
442
|
+
size = "sm",
|
|
443
|
+
labelPosition = "top"
|
|
489
444
|
}) => {
|
|
490
445
|
const { getValue, setValue, schemas } = useDialSchema();
|
|
446
|
+
const handleValuesChange = useCallback(
|
|
447
|
+
(newValues) => {
|
|
448
|
+
setValue(name, newValues);
|
|
449
|
+
},
|
|
450
|
+
[name]
|
|
451
|
+
);
|
|
491
452
|
const schema = schemas.find((s) => s.name === name);
|
|
492
453
|
if (!schema) {
|
|
493
454
|
return null;
|
|
@@ -514,7 +475,6 @@ var DialVectorInput2 = ({
|
|
|
514
475
|
gridColumns = void 0;
|
|
515
476
|
gridRows = void 0;
|
|
516
477
|
}
|
|
517
|
-
console.log("the grid-flow is", gridAutoFlow, gridColumns, gridRows);
|
|
518
478
|
const vectorValue = Array.isArray(value) ? value.concat(Array(Math.max(0, dimensions - value.length)).fill(0)) : Array(dimensions).fill(0);
|
|
519
479
|
const inputSteps = Array.from({ length: dimensions }, (_, i) => {
|
|
520
480
|
if (steps[i] !== void 0) {
|
|
@@ -524,9 +484,6 @@ var DialVectorInput2 = ({
|
|
|
524
484
|
return dtype === "number-int" ? 1 : 1e-3;
|
|
525
485
|
});
|
|
526
486
|
const labels = placeholders.length > 0 ? placeholders.map((p) => /* @__PURE__ */ jsx("span", { className: "text-xs", children: p })) : void 0;
|
|
527
|
-
const handleValuesChange = (newValues) => {
|
|
528
|
-
setValue(name, newValues);
|
|
529
|
-
};
|
|
530
487
|
const inputComponent = /* @__PURE__ */ jsx(
|
|
531
488
|
VectorInput,
|
|
532
489
|
{
|
|
@@ -543,7 +500,7 @@ var DialVectorInput2 = ({
|
|
|
543
500
|
if (!label) {
|
|
544
501
|
return inputComponent;
|
|
545
502
|
}
|
|
546
|
-
return /* @__PURE__ */ jsxs(FormLayout, { orientation:
|
|
503
|
+
return /* @__PURE__ */ jsxs(FormLayout, { orientation: `label-${labelPosition}`, children: [
|
|
547
504
|
/* @__PURE__ */ jsx(Label, { size: "sm", children: label }),
|
|
548
505
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-row items-center gap-2", children: [
|
|
549
506
|
schema.helpText && /* @__PURE__ */ jsx(
|
|
@@ -558,7 +515,11 @@ var DialVectorInput2 = ({
|
|
|
558
515
|
] })
|
|
559
516
|
] });
|
|
560
517
|
};
|
|
561
|
-
var DialPanel = ({
|
|
518
|
+
var DialPanel = ({
|
|
519
|
+
schemas,
|
|
520
|
+
groups: groupConfigs,
|
|
521
|
+
labelLayout
|
|
522
|
+
}) => {
|
|
562
523
|
const groupConfigMap = {};
|
|
563
524
|
if (groupConfigs) {
|
|
564
525
|
groupConfigs.forEach((config) => {
|
|
@@ -630,7 +591,15 @@ var DialPanel = ({ schemas, groups: groupConfigs, labelLayout }) => {
|
|
|
630
591
|
case "number-group":
|
|
631
592
|
return /* @__PURE__ */ jsx(DialVectorInput2, { name, label }, name);
|
|
632
593
|
case "boolean":
|
|
633
|
-
return /* @__PURE__ */ jsx(
|
|
594
|
+
return /* @__PURE__ */ jsx(
|
|
595
|
+
DialBooleanInput,
|
|
596
|
+
{
|
|
597
|
+
name,
|
|
598
|
+
label,
|
|
599
|
+
labelPosition: effectiveLabelPosition
|
|
600
|
+
},
|
|
601
|
+
name
|
|
602
|
+
);
|
|
634
603
|
case "number-slider":
|
|
635
604
|
return /* @__PURE__ */ jsx(
|
|
636
605
|
DialSliderInput,
|
|
@@ -748,11 +717,11 @@ var DialPanel = ({ schemas, groups: groupConfigs, labelLayout }) => {
|
|
|
748
717
|
ungrouped.length > 0 && /* @__PURE__ */ jsx("div", { className: "dial-group", children: /* @__PURE__ */ jsx("div", { className: "dial-row flex flex-row flex-wrap gap-4", children: ungrouped.map(renderSchemaInput) }) })
|
|
749
718
|
] });
|
|
750
719
|
};
|
|
751
|
-
var
|
|
720
|
+
var DialInputWrapper2 = ({ label, labelPosition = "top", children }) => {
|
|
752
721
|
if (!label) {
|
|
753
722
|
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
754
723
|
}
|
|
755
|
-
return /* @__PURE__ */ jsxs(FormLayout, { orientation:
|
|
724
|
+
return /* @__PURE__ */ jsxs(FormLayout, { orientation: `label-${labelPosition}`, children: [
|
|
756
725
|
/* @__PURE__ */ jsx(Label, { size: "sm", children: label }),
|
|
757
726
|
children
|
|
758
727
|
] });
|
|
@@ -763,77 +732,81 @@ var DialNumberInput = ({
|
|
|
763
732
|
max,
|
|
764
733
|
step = 1,
|
|
765
734
|
label,
|
|
766
|
-
labelPosition,
|
|
767
|
-
size = "sm"
|
|
735
|
+
labelPosition = "top",
|
|
736
|
+
size = "sm",
|
|
737
|
+
...props
|
|
768
738
|
}) => {
|
|
769
739
|
const { getValue, setValue } = useDialSchema();
|
|
770
740
|
const value = getValue(name) ?? 0;
|
|
741
|
+
const handleChange = useCallback(
|
|
742
|
+
(e) => setValue(name, parseFloat(e.target.value)),
|
|
743
|
+
[name]
|
|
744
|
+
);
|
|
771
745
|
const inputProps = {
|
|
772
746
|
type: "number",
|
|
773
747
|
value,
|
|
774
748
|
min,
|
|
775
749
|
max,
|
|
776
750
|
step,
|
|
777
|
-
onChange:
|
|
751
|
+
onChange: handleChange,
|
|
778
752
|
size
|
|
779
753
|
};
|
|
780
754
|
if (labelPosition === "inline") {
|
|
781
755
|
return /* @__PURE__ */ jsx(InputRoot, { ...inputProps, children: label ? /* @__PURE__ */ jsx(InputSlot, { side: "left", children: label }) : null });
|
|
782
756
|
} else {
|
|
783
|
-
return /* @__PURE__ */ jsx(
|
|
757
|
+
return /* @__PURE__ */ jsx(DialInputWrapper2, { label, labelPosition, ...props, children: /* @__PURE__ */ jsx(InputRoot, { ...inputProps }) });
|
|
784
758
|
}
|
|
785
759
|
};
|
|
786
|
-
var DialBooleanInput = ({
|
|
760
|
+
var DialBooleanInput = ({
|
|
761
|
+
name,
|
|
762
|
+
label,
|
|
763
|
+
labelPosition,
|
|
764
|
+
...props
|
|
765
|
+
}) => {
|
|
787
766
|
const { getValue, setValue } = useDialSchema();
|
|
788
767
|
const value = getValue(name) ?? false;
|
|
768
|
+
const handleChange = useCallback((checked) => setValue(name, checked), [name]);
|
|
789
769
|
const switchProps = {
|
|
790
770
|
checked: value,
|
|
791
|
-
onCheckedChange:
|
|
771
|
+
onCheckedChange: handleChange
|
|
792
772
|
};
|
|
793
|
-
if (!label) {
|
|
773
|
+
if (!label || labelPosition === "inline") {
|
|
794
774
|
return /* @__PURE__ */ jsx(Switch, { ...switchProps });
|
|
795
775
|
}
|
|
796
|
-
return /* @__PURE__ */
|
|
797
|
-
/* @__PURE__ */ jsx(Label, { size: "sm", children: label }),
|
|
798
|
-
/* @__PURE__ */ jsx(Switch, { ...switchProps })
|
|
799
|
-
] });
|
|
776
|
+
return /* @__PURE__ */ jsx(DialInputWrapper2, { label, labelPosition, ...props, children: /* @__PURE__ */ jsx(Switch, { ...switchProps }) });
|
|
800
777
|
};
|
|
801
|
-
var DialColorInput = ({ name, label }) => {
|
|
778
|
+
var DialColorInput = ({ name, label, ...props }) => {
|
|
802
779
|
const { getValue, setValue } = useDialSchema();
|
|
803
780
|
const value = getValue(name) ?? "";
|
|
804
|
-
const
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
781
|
+
const handleChange = useCallback(
|
|
782
|
+
(e) => setValue(name, e.target.value),
|
|
783
|
+
[name]
|
|
784
|
+
);
|
|
785
|
+
const inputComp = /* @__PURE__ */ jsx(ColorInput, { value, onChange: handleChange, prefix: label });
|
|
786
|
+
return /* @__PURE__ */ jsx(DialInputWrapper2, { label, ...props, children: inputComp });
|
|
809
787
|
};
|
|
810
788
|
var DialSelectInput = ({
|
|
811
789
|
name,
|
|
812
790
|
options = [],
|
|
813
791
|
label,
|
|
814
|
-
|
|
815
|
-
|
|
792
|
+
size = "sm",
|
|
793
|
+
...props
|
|
816
794
|
}) => {
|
|
817
795
|
const { getValue, setValue } = useDialSchema();
|
|
818
796
|
const value = getValue(name);
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
{
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
},
|
|
827
|
-
children: [
|
|
828
|
-
/* @__PURE__ */ jsx(SelectTrigger, { size, children: /* @__PURE__ */ jsx(SelectValue, { placeholder: "Select an option" }) }),
|
|
829
|
-
/* @__PURE__ */ jsx(SelectContent, { children: options.map((opt, i) => /* @__PURE__ */ jsx(SelectItem, { value: String(opt), children: String(opt) }, i)) })
|
|
830
|
-
]
|
|
831
|
-
}
|
|
797
|
+
console.log("dial schema:", name, value);
|
|
798
|
+
const handleValueChange = useCallback(
|
|
799
|
+
(val) => {
|
|
800
|
+
const parsed = !isNaN(Number(val)) ? Number(val) : val;
|
|
801
|
+
setValue(name, parsed);
|
|
802
|
+
},
|
|
803
|
+
[name]
|
|
832
804
|
);
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
805
|
+
const selectComponent = /* @__PURE__ */ jsxs(Select, { value: String(value), onValueChange: handleValueChange, children: [
|
|
806
|
+
/* @__PURE__ */ jsx(SelectTrigger, { size, children: /* @__PURE__ */ jsx(SelectValue, { placeholder: "Select an option" }) }),
|
|
807
|
+
/* @__PURE__ */ jsx(SelectContent, { children: options.map((opt, i) => /* @__PURE__ */ jsx(SelectItem, { value: String(opt), children: String(opt) }, i)) })
|
|
808
|
+
] });
|
|
809
|
+
return /* @__PURE__ */ jsx(DialInputWrapper2, { label, ...props, children: selectComponent });
|
|
837
810
|
};
|
|
838
811
|
var DialSliderInput = ({
|
|
839
812
|
name,
|
|
@@ -841,27 +814,23 @@ var DialSliderInput = ({
|
|
|
841
814
|
max = 100,
|
|
842
815
|
step = 1,
|
|
843
816
|
label,
|
|
844
|
-
|
|
845
|
-
size = "sm"
|
|
817
|
+
...props
|
|
846
818
|
}) => {
|
|
847
819
|
const { getValue, setValue } = useDialSchema();
|
|
848
820
|
const value = getValue(name) ?? min;
|
|
821
|
+
const handleValueChange = useCallback(([val]) => setValue(name, val), [name]);
|
|
849
822
|
const sliderProps = {
|
|
850
823
|
value: [value],
|
|
851
|
-
onValueChange:
|
|
824
|
+
onValueChange: handleValueChange,
|
|
852
825
|
min,
|
|
853
826
|
max,
|
|
854
827
|
step,
|
|
855
828
|
className: "flex-1"
|
|
856
829
|
};
|
|
857
|
-
|
|
830
|
+
return /* @__PURE__ */ jsxs(DialInputWrapper2, { label, ...props, children: [
|
|
858
831
|
/* @__PURE__ */ jsx(Slider, { ...sliderProps }),
|
|
859
832
|
/* @__PURE__ */ jsx("span", { className: "text-text-secondary w-12 text-right text-sm", children: value })
|
|
860
833
|
] });
|
|
861
|
-
if (!label) {
|
|
862
|
-
return sliderComponent;
|
|
863
|
-
}
|
|
864
|
-
return /* @__PURE__ */ jsx(DialInputWrapper3, { label, children: sliderComponent });
|
|
865
834
|
};
|
|
866
835
|
|
|
867
|
-
export { DialBooleanInput, DialCmInput, DialColorInput, DialDegInput, DialEulerDegInput, DialEulerInput, DialEulerRadInput, DialInchInput, DialIntInput, DialNumberInput, DialNumberRadInput, DialPanel,
|
|
836
|
+
export { DialBooleanInput, DialCmInput, DialColorInput, DialDegInput, DialEulerDegInput, DialEulerInput, DialEulerRadInput, DialInchInput, DialIntInput, DialNumberInput, DialNumberRadInput, DialPanel, DialQuaternionInput, DialRadInput, DialSelectInput, DialSliderInput, DialTextInput, DialTimeInput, DialVec3Input, DialVectorInput, DialVectorInput2 };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TooltipProvider, Tooltip, TooltipTrigger, TooltipContent } from './chunk-
|
|
2
|
-
import { InputRoot, InputSlot } from './chunk-
|
|
1
|
+
import { TooltipProvider, Tooltip, TooltipTrigger, TooltipContent } from './chunk-57MAUYQZ.mjs';
|
|
2
|
+
import { InputRoot, InputSlot } from './chunk-XMQULAAU.mjs';
|
|
3
3
|
import { SyncScroll } from './chunk-PDOFOJ4P.mjs';
|
|
4
4
|
import { cn } from './chunk-HMN4IKTG.mjs';
|
|
5
5
|
import { Search, CaseSensitive, Regex, ChevronDown } from 'lucide-react';
|