@vuer-ai/vuer-uikit 0.0.109 → 0.0.113
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-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-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-TPAV6PXI.mjs → chunk-GF7EZ6DO.mjs} +2 -2
- 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-SHT4BJOB.cjs → chunk-H7H6MSWG.cjs} +2 -2
- 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-QIYGXPLM.cjs → chunk-JHUVVUO4.cjs} +130 -178
- 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-ASR6OXVT.cjs → chunk-LI5W744D.cjs} +8 -1
- package/dist/{chunk-UASPJ57U.cjs → chunk-LPKVKTOK.cjs} +1 -0
- 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-RA6QMOFM.mjs → chunk-PMOHNMZK.mjs} +76 -123
- 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-276VJZCV.mjs → chunk-UT7B4TLZ.mjs} +2 -1
- package/dist/{chunk-DQUI3PIU.mjs → chunk-UTWPMYGN.mjs} +2 -2
- 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-YPQEJEB7.mjs → chunk-WGWNYPXW.mjs} +8 -1
- package/dist/{chunk-24IUD6Q3.mjs → chunk-WQCVK4PG.mjs} +1 -1
- package/dist/{chunk-5PHGYFZ3.cjs → chunk-WXJXXRPL.cjs} +2 -2
- 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/dial/DialPanel.cjs +51 -49
- package/dist/dial/DialPanel.d.cts +1 -0
- package/dist/dial/DialPanel.d.ts +1 -0
- package/dist/dial/DialPanel.mjs +50 -48
- 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 +69 -67
- package/dist/dial/index.d.cts +1 -0
- package/dist/dial/index.d.ts +1 -0
- package/dist/dial/index.mjs +50 -48
- package/dist/dial/wrapped-inputs/ControlledInputs.cjs +55 -53
- 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 +50 -48
- package/dist/dial/wrapped-inputs/DialInputs.cjs +64 -62
- 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 +50 -48
- package/dist/dial/wrapped-inputs/DialPresetsInput.cjs +45 -49
- 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 +44 -48
- package/dist/dial/wrapped-inputs/DialVectorInput.cjs +51 -49
- 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 +50 -48
- package/dist/dial/wrapped-inputs/index.cjs +74 -72
- 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 +50 -48
- 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 +210 -228
- package/dist/index.css +3 -3
- package/dist/index.d.cts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.mjs +50 -48
- 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.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 +150 -169
- package/dist/ui/index.d.cts +4 -1
- package/dist/ui/index.d.ts +4 -1
- package/dist/ui/index.mjs +42 -41
- package/dist/ui/inputs/color-input.cjs +4 -4
- package/dist/ui/inputs/color-input.mjs +3 -3
- package/dist/ui/inputs/index.cjs +45 -45
- 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.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.mjs +2 -2
- package/dist/ui/layout.cjs +3 -3
- 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.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.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/DialProvider.tsx +67 -13
- package/src/dial/wrapped-inputs/ControlledInputs.tsx +79 -64
- package/src/dial/wrapped-inputs/DialPresetsInput.tsx +19 -27
- package/src/dial/wrapped-inputs/DialVectorInput.tsx +14 -9
- package/src/styles/theme.css +3 -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 +8 -1
- package/src/ui/layout.tsx +1 -0
- package/src/ui/progress.tsx +29 -0
- package/src/ui/spinner.tsx +68 -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
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { useSignIn } from './chunk-G6ATG2WV.mjs';
|
|
2
|
+
import { useVuerSessions } from './chunk-5OHAV55L.mjs';
|
|
3
|
+
import { useUser } from './chunk-VSFPXAGN.mjs';
|
|
4
|
+
import { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuLabel, DropdownMenuItem, DropdownMenuSeparator } from './chunk-SMIACO56.mjs';
|
|
5
|
+
import { Avatar, AvatarImage, AvatarFallback } from './chunk-MHJM7YMG.mjs';
|
|
6
|
+
import { Button } from './chunk-AAFU2FII.mjs';
|
|
7
|
+
import { LoaderCircle, Plus } from 'lucide-react';
|
|
8
|
+
import { Fragment } from 'react';
|
|
9
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
10
|
+
|
|
11
|
+
function UserAvatar({ className }) {
|
|
12
|
+
const { data: session, isPending: authLoading } = useUser();
|
|
13
|
+
const { signIn } = useSignIn();
|
|
14
|
+
const { sessions, isPending: sessionsLoading } = useVuerSessions();
|
|
15
|
+
const user = session?.user;
|
|
16
|
+
console.log("user", user);
|
|
17
|
+
if (authLoading || sessionsLoading) {
|
|
18
|
+
return /* @__PURE__ */ jsx(Avatar, { className: "size-8 items-center justify-center", children: /* @__PURE__ */ jsx(LoaderCircle, { className: "animate-spin" }) });
|
|
19
|
+
}
|
|
20
|
+
if (!user) {
|
|
21
|
+
return /* @__PURE__ */ jsx(Button, { onClick: () => signIn(), children: "Sign in" });
|
|
22
|
+
}
|
|
23
|
+
return /* @__PURE__ */ jsxs(DropdownMenu, { children: [
|
|
24
|
+
/* @__PURE__ */ jsx(DropdownMenuTrigger, { children: /* @__PURE__ */ jsxs(Avatar, { className, children: [
|
|
25
|
+
user.image && /* @__PURE__ */ jsx(AvatarImage, { src: user.image, alt: user.name }),
|
|
26
|
+
/* @__PURE__ */ jsx(AvatarFallback, { children: user.name.charAt(0) })
|
|
27
|
+
] }, user.id) }),
|
|
28
|
+
/* @__PURE__ */ jsxs(DropdownMenuContent, { children: [
|
|
29
|
+
/* @__PURE__ */ jsxs(DropdownMenuLabel, { className: "flex items-center gap-2", children: [
|
|
30
|
+
/* @__PURE__ */ jsxs(Avatar, { className: "size-8", children: [
|
|
31
|
+
user.image && /* @__PURE__ */ jsx(AvatarImage, { src: user.image, alt: user.name }),
|
|
32
|
+
/* @__PURE__ */ jsx(AvatarFallback, { children: user.name.charAt(0) })
|
|
33
|
+
] }, user.id),
|
|
34
|
+
/* @__PURE__ */ jsx("p", { children: user.name })
|
|
35
|
+
] }),
|
|
36
|
+
/* @__PURE__ */ jsxs(DropdownMenuItem, { children: [
|
|
37
|
+
/* @__PURE__ */ jsx(Plus, {}),
|
|
38
|
+
" Add User"
|
|
39
|
+
] }),
|
|
40
|
+
sessions.map((session2) => {
|
|
41
|
+
const current = session2.user;
|
|
42
|
+
return /* @__PURE__ */ jsx(Fragment, { children: current.id !== user.id ? /* @__PURE__ */ jsxs(DropdownMenuItem, { children: [
|
|
43
|
+
/* @__PURE__ */ jsxs(Avatar, { children: [
|
|
44
|
+
current.image && /* @__PURE__ */ jsx(AvatarImage, { src: current.image, alt: current.name }),
|
|
45
|
+
/* @__PURE__ */ jsx(AvatarFallback, { children: current.name.charAt(0) })
|
|
46
|
+
] }, user.id),
|
|
47
|
+
/* @__PURE__ */ jsx("p", { children: current.name })
|
|
48
|
+
] }) : null }, current.id);
|
|
49
|
+
}),
|
|
50
|
+
/* @__PURE__ */ jsx(DropdownMenuSeparator, {}),
|
|
51
|
+
/* @__PURE__ */ jsx(DropdownMenuItem, { children: "Sign Out" })
|
|
52
|
+
] })
|
|
53
|
+
] });
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export { UserAvatar };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkF4Z5KATZ_cjs = require('./chunk-F4Z5KATZ.cjs');
|
|
4
|
+
|
|
5
|
+
// src/auth/handler/fetch-server.ts
|
|
6
|
+
var fetchServer = async (url, options = {}) => {
|
|
7
|
+
const token = localStorage.getItem(chunkF4Z5KATZ_cjs.JWTToken) || "";
|
|
8
|
+
const headers = {
|
|
9
|
+
...options.headers,
|
|
10
|
+
Authorization: `Bearer ${token}`
|
|
11
|
+
};
|
|
12
|
+
return fetch(url, { ...options, headers });
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
exports.fetchServer = fetchServer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk4GVFCQGI_cjs = require('./chunk-4GVFCQGI.cjs');
|
|
4
|
+
var chunkRQH7ZAWF_cjs = require('./chunk-RQH7ZAWF.cjs');
|
|
5
5
|
var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
|
|
6
6
|
var react = require('react');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -36,7 +36,7 @@ var PresetsRadInput = react.forwardRef(
|
|
|
36
36
|
};
|
|
37
37
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkOHIB3TEN_cjs.cn("gap-xs grid grid-cols-5", className), children: [
|
|
38
38
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-full", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
39
|
-
|
|
39
|
+
chunk4GVFCQGI_cjs.RadInput,
|
|
40
40
|
{
|
|
41
41
|
...props,
|
|
42
42
|
ref,
|
|
@@ -48,7 +48,7 @@ var PresetsRadInput = react.forwardRef(
|
|
|
48
48
|
) }),
|
|
49
49
|
presets.map((p, i) => {
|
|
50
50
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
51
|
-
|
|
51
|
+
chunkRQH7ZAWF_cjs.Button,
|
|
52
52
|
{
|
|
53
53
|
size,
|
|
54
54
|
variant: "secondary",
|
|
@@ -10,9 +10,12 @@ var cardVariants = classVarianceAuthority.cva(
|
|
|
10
10
|
"flex-col",
|
|
11
11
|
"rounded-uk-lg",
|
|
12
12
|
"bg-bg-primary",
|
|
13
|
-
"liquid:shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
|
|
14
13
|
"liquid-dark:liquid-dark-bg",
|
|
15
|
-
"liquid-
|
|
14
|
+
"liquid-dark:border-[0.9px]",
|
|
15
|
+
"liquid-dark:border-[rgba(85,85,85,100)]",
|
|
16
|
+
"liquid-light:liquid-light-bg",
|
|
17
|
+
"liquid-light:border-[0.8px]",
|
|
18
|
+
"liquid-light:border-[white]"
|
|
16
19
|
],
|
|
17
20
|
{
|
|
18
21
|
variants: {
|
|
@@ -64,7 +67,6 @@ function CardTitle({ className, ...props }) {
|
|
|
64
67
|
"text-uk-md",
|
|
65
68
|
"leading-uk-md",
|
|
66
69
|
"font-medium",
|
|
67
|
-
"-mt-2",
|
|
68
70
|
"vertical-align-middle",
|
|
69
71
|
className
|
|
70
72
|
),
|
|
@@ -77,7 +79,7 @@ function CardDescription({ className, ...props }) {
|
|
|
77
79
|
"div",
|
|
78
80
|
{
|
|
79
81
|
"data-slot": "card-description",
|
|
80
|
-
className: chunkOHIB3TEN_cjs.cn("text-uk-sm", "
|
|
82
|
+
className: chunkOHIB3TEN_cjs.cn("text-uk-sm", "text-text-secondary", "leading-uk-sm", className),
|
|
81
83
|
...props
|
|
82
84
|
}
|
|
83
85
|
);
|
|
@@ -91,8 +93,6 @@ function CardAction({ className, ...props }) {
|
|
|
91
93
|
"text-text-secondary",
|
|
92
94
|
"text-uk-sm",
|
|
93
95
|
"leading-uk-sm",
|
|
94
|
-
"-mt-2",
|
|
95
|
-
"-mr-3",
|
|
96
96
|
"font-medium",
|
|
97
97
|
"vertical-align-middle",
|
|
98
98
|
className
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6IXKC64S_cjs = require('./chunk-6IXKC64S.cjs');
|
|
4
4
|
var react = require('react');
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
|
|
7
7
|
var TimeInput = react.forwardRef(function TimeInput2({ value = 0, onChange, ...props }, ref) {
|
|
8
8
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9
|
-
|
|
9
|
+
chunk6IXKC64S_cjs.InputNumbers,
|
|
10
10
|
{
|
|
11
11
|
ref,
|
|
12
12
|
value: [value],
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { cn } from './chunk-HMN4IKTG.mjs';
|
|
2
|
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
function Progress({
|
|
6
|
+
className,
|
|
7
|
+
value,
|
|
8
|
+
...props
|
|
9
|
+
}) {
|
|
10
|
+
return /* @__PURE__ */ jsx(
|
|
11
|
+
ProgressPrimitive.Root,
|
|
12
|
+
{
|
|
13
|
+
"data-slot": "progress",
|
|
14
|
+
className: cn(
|
|
15
|
+
"bg-bg-secondary relative h-2 w-full overflow-hidden rounded-uk-xl",
|
|
16
|
+
className
|
|
17
|
+
),
|
|
18
|
+
...props,
|
|
19
|
+
children: /* @__PURE__ */ jsx(
|
|
20
|
+
ProgressPrimitive.Indicator,
|
|
21
|
+
{
|
|
22
|
+
"data-slot": "progress-indicator",
|
|
23
|
+
className: "bg-brand-primary h-full w-full flex-1 transition-all",
|
|
24
|
+
style: { transform: `translateX(-${100 - (value || 0)}%)` }
|
|
25
|
+
}
|
|
26
|
+
)
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { Progress };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { createContext, useContext, useState, useCallback, useMemo } from 'react';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
// src/dial/DialProvider.tsx
|
|
5
|
+
function isEmptyObject(obj) {
|
|
6
|
+
return obj == null || typeof obj === "object" && Object.keys(obj).length === 0;
|
|
7
|
+
}
|
|
8
|
+
var DialSchemaContext = createContext(void 0);
|
|
9
|
+
var useDialSchema = () => {
|
|
10
|
+
const context = useContext(DialSchemaContext);
|
|
11
|
+
if (!context) {
|
|
12
|
+
throw new Error("useDialSchema must be used within a DialSchemaProvider");
|
|
13
|
+
}
|
|
14
|
+
return context;
|
|
15
|
+
};
|
|
16
|
+
var DialProvider = ({
|
|
17
|
+
children,
|
|
18
|
+
schemas,
|
|
19
|
+
initialValues = {},
|
|
20
|
+
values: controlledValues,
|
|
21
|
+
onValueChange
|
|
22
|
+
}) => {
|
|
23
|
+
const isControlled = !isEmptyObject(controlledValues);
|
|
24
|
+
const [internalValues, setInternalValues] = useState(
|
|
25
|
+
() => Object.fromEntries(
|
|
26
|
+
schemas.map((schema) => [schema.name, initialValues[schema.name] ?? schema.value])
|
|
27
|
+
)
|
|
28
|
+
);
|
|
29
|
+
const mergeWithSchemaDefaults = useCallback(
|
|
30
|
+
(inputValues) => {
|
|
31
|
+
const result = { ...inputValues };
|
|
32
|
+
schemas.forEach((schema) => {
|
|
33
|
+
if (result[schema.name] === void 0 || result[schema.name] === null) {
|
|
34
|
+
if (schema.value !== void 0) {
|
|
35
|
+
result[schema.name] = schema.value;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
return result;
|
|
40
|
+
},
|
|
41
|
+
[schemas]
|
|
42
|
+
);
|
|
43
|
+
const values = isControlled && controlledValues ? mergeWithSchemaDefaults(controlledValues) : internalValues;
|
|
44
|
+
const formatNumber = useCallback((value) => {
|
|
45
|
+
return Math.round(value * 1e6) / 1e6;
|
|
46
|
+
}, []);
|
|
47
|
+
const formatValue = useCallback(
|
|
48
|
+
(value) => {
|
|
49
|
+
if (value === null || value === void 0) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
if (typeof value === "number") {
|
|
53
|
+
return formatNumber(value);
|
|
54
|
+
}
|
|
55
|
+
if (Array.isArray(value) && value.every((v) => typeof v === "number")) {
|
|
56
|
+
return value.map((v) => formatNumber(v));
|
|
57
|
+
}
|
|
58
|
+
return value;
|
|
59
|
+
},
|
|
60
|
+
[formatNumber]
|
|
61
|
+
);
|
|
62
|
+
const getValue = useCallback(
|
|
63
|
+
(name) => {
|
|
64
|
+
const rawValue = values[name];
|
|
65
|
+
return formatValue(rawValue);
|
|
66
|
+
},
|
|
67
|
+
[values, formatValue]
|
|
68
|
+
);
|
|
69
|
+
const setValue = useCallback(
|
|
70
|
+
(name, value) => {
|
|
71
|
+
if (isControlled) {
|
|
72
|
+
onValueChange?.(name, value);
|
|
73
|
+
} else {
|
|
74
|
+
setInternalValues((prev) => ({
|
|
75
|
+
...prev,
|
|
76
|
+
[name]: value
|
|
77
|
+
}));
|
|
78
|
+
onValueChange?.(name, value);
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
[isControlled, onValueChange]
|
|
82
|
+
);
|
|
83
|
+
const contextValue = useMemo(
|
|
84
|
+
() => ({
|
|
85
|
+
values,
|
|
86
|
+
schemas,
|
|
87
|
+
getValue,
|
|
88
|
+
setValue,
|
|
89
|
+
onValueChange
|
|
90
|
+
}),
|
|
91
|
+
[values, schemas, getValue, setValue, onValueChange]
|
|
92
|
+
);
|
|
93
|
+
return /* @__PURE__ */ jsx(DialSchemaContext.Provider, { value: contextValue, children });
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
export { DialProvider, useDialSchema };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBDAKLXXX_cjs = require('./chunk-BDAKLXXX.cjs');
|
|
4
4
|
var chunkYO6X755G_cjs = require('./chunk-YO6X755G.cjs');
|
|
5
5
|
var chunkHNTVTCNX_cjs = require('./chunk-HNTVTCNX.cjs');
|
|
6
6
|
var chunkXURKXOZK_cjs = require('./chunk-XURKXOZK.cjs');
|
|
7
|
-
var
|
|
8
|
-
var
|
|
7
|
+
var chunkWB43VEZA_cjs = require('./chunk-WB43VEZA.cjs');
|
|
8
|
+
var chunkRQH7ZAWF_cjs = require('./chunk-RQH7ZAWF.cjs');
|
|
9
9
|
var chunkJR4TVE43_cjs = require('./chunk-JR4TVE43.cjs');
|
|
10
10
|
var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
|
|
11
11
|
var reactSlot = require('@radix-ui/react-slot');
|
|
@@ -76,7 +76,7 @@ function SidebarProvider({
|
|
|
76
76
|
}),
|
|
77
77
|
[state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
|
|
78
78
|
);
|
|
79
|
-
return /* @__PURE__ */ jsxRuntime.jsx(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
79
|
+
return /* @__PURE__ */ jsxRuntime.jsx(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxRuntime.jsx(chunkBDAKLXXX_cjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
80
80
|
"div",
|
|
81
81
|
{
|
|
82
82
|
"data-slot": "sidebar-wrapper",
|
|
@@ -187,7 +187,7 @@ function Sidebar({
|
|
|
187
187
|
function SidebarTrigger({ className, onClick, ...props }) {
|
|
188
188
|
const { toggleSidebar, state } = useSidebar();
|
|
189
189
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
190
|
-
|
|
190
|
+
chunkRQH7ZAWF_cjs.Button,
|
|
191
191
|
{
|
|
192
192
|
"data-sidebar": "trigger",
|
|
193
193
|
"data-slot": "sidebar-trigger",
|
|
@@ -251,7 +251,7 @@ function SidebarInset({ className, ...props }) {
|
|
|
251
251
|
}
|
|
252
252
|
function SidebarInput({ className, ...props }) {
|
|
253
253
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
254
|
-
|
|
254
|
+
chunkWB43VEZA_cjs.InputRoot,
|
|
255
255
|
{
|
|
256
256
|
"data-slot": "sidebar-input",
|
|
257
257
|
"data-sidebar": "input",
|
|
@@ -453,10 +453,10 @@ function SidebarMenuButton({
|
|
|
453
453
|
children: tooltip
|
|
454
454
|
};
|
|
455
455
|
}
|
|
456
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
457
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
456
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkBDAKLXXX_cjs.Tooltip, { children: [
|
|
457
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBDAKLXXX_cjs.TooltipTrigger, { asChild: true, children: button }),
|
|
458
458
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
459
|
-
|
|
459
|
+
chunkBDAKLXXX_cjs.TooltipContent,
|
|
460
460
|
{
|
|
461
461
|
side: "right",
|
|
462
462
|
align: "center",
|
|
@@ -28,7 +28,14 @@ var LabelPrimitive__namespace = /*#__PURE__*/_interopNamespace(LabelPrimitive);
|
|
|
28
28
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
29
29
|
|
|
30
30
|
var labelVariants = classVarianceAuthority.cva(
|
|
31
|
-
[
|
|
31
|
+
[
|
|
32
|
+
"font-normal",
|
|
33
|
+
"leading-none",
|
|
34
|
+
"peer-disabled:cursor-not-allowed",
|
|
35
|
+
"peer-disabled:opacity-70",
|
|
36
|
+
"text-nowrap",
|
|
37
|
+
"overflow-ellipsis"
|
|
38
|
+
],
|
|
32
39
|
{
|
|
33
40
|
variants: {
|
|
34
41
|
size: {
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
|
|
4
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
+
|
|
6
|
+
function Toolbar({ className, children, variant = "default", size = "md" }) {
|
|
7
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8
|
+
"div",
|
|
9
|
+
{
|
|
10
|
+
className: chunkOHIB3TEN_cjs.cn(
|
|
11
|
+
"flex items-center gap-2",
|
|
12
|
+
"liquid-dark:liquid-dark-bg",
|
|
13
|
+
"liquid-dark:border-[0.9px]",
|
|
14
|
+
"liquid-dark:border-[rgba(85,85,85,100)]",
|
|
15
|
+
"liquid-light:liquid-light-bg",
|
|
16
|
+
"liquid-light:border-[0.8px]",
|
|
17
|
+
"liquid-light:border-[white]",
|
|
18
|
+
"liquid:shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
|
|
19
|
+
// Base styles for non-floating variants
|
|
20
|
+
variant !== "floating" && "bg-bg-primary",
|
|
21
|
+
// Size-based border radius for non-floating variants
|
|
22
|
+
variant !== "floating" && size === "sm" && "rounded-uk-md p-1.5",
|
|
23
|
+
variant !== "floating" && size === "md" && "rounded-uk-lg p-1.5",
|
|
24
|
+
variant !== "floating" && size === "lg" && "rounded-uk-xl p-1.5",
|
|
25
|
+
// Floating variant styles
|
|
26
|
+
variant === "floating" && [
|
|
27
|
+
"rounded-[var(--radius-uk-md)] bg-white dark:bg-gray-900",
|
|
28
|
+
size === "sm" && "px-1 py-1",
|
|
29
|
+
size === "md" && "px-[0.6em] py-2",
|
|
30
|
+
size === "lg" && "px-3 py-3"
|
|
31
|
+
],
|
|
32
|
+
className
|
|
33
|
+
),
|
|
34
|
+
children
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
function ToolbarGroup({ className, children }) {
|
|
39
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkOHIB3TEN_cjs.cn("flex items-center gap-1", className), children });
|
|
40
|
+
}
|
|
41
|
+
function ToolbarSeparator({ className }) {
|
|
42
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkOHIB3TEN_cjs.cn("bg-line-primary mx-2 h-3.5 w-0.75 rounded-full", className) });
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.Toolbar = Toolbar;
|
|
46
|
+
exports.ToolbarGroup = ToolbarGroup;
|
|
47
|
+
exports.ToolbarSeparator = ToolbarSeparator;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkBDAKLXXX_cjs = require('./chunk-BDAKLXXX.cjs');
|
|
4
|
+
var chunkWB43VEZA_cjs = require('./chunk-WB43VEZA.cjs');
|
|
5
5
|
var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
|
|
6
6
|
var lucideReact = require('lucide-react');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -19,7 +19,7 @@ function TreeSearchBar({
|
|
|
19
19
|
}) {
|
|
20
20
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkOHIB3TEN_cjs.cn("shrink-0", className), children: [
|
|
21
21
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
22
|
-
|
|
22
|
+
chunkWB43VEZA_cjs.InputRoot,
|
|
23
23
|
{
|
|
24
24
|
type: "text",
|
|
25
25
|
placeholder: "Search...",
|
|
@@ -29,10 +29,10 @@ function TreeSearchBar({
|
|
|
29
29
|
value: searchQuery,
|
|
30
30
|
onChange: (e) => setSearchQuery(e.target.value),
|
|
31
31
|
children: [
|
|
32
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
35
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
32
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkWB43VEZA_cjs.InputSlot, { side: "left", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Search, { className: "text-text-secondary size-4 stroke-1" }) }),
|
|
33
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkWB43VEZA_cjs.InputSlot, { side: "right", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkBDAKLXXX_cjs.TooltipProvider, { delayDuration: 200, children: [
|
|
34
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkBDAKLXXX_cjs.Tooltip, { children: [
|
|
35
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBDAKLXXX_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
36
36
|
"button",
|
|
37
37
|
{
|
|
38
38
|
onClick: () => setIsCaseSensitive((prev) => !prev),
|
|
@@ -43,10 +43,10 @@ function TreeSearchBar({
|
|
|
43
43
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CaseSensitive, { className: "size-4" })
|
|
44
44
|
}
|
|
45
45
|
) }),
|
|
46
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
46
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBDAKLXXX_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Case Sensitive" }) })
|
|
47
47
|
] }),
|
|
48
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
49
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkBDAKLXXX_cjs.Tooltip, { children: [
|
|
49
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBDAKLXXX_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
50
50
|
"button",
|
|
51
51
|
{
|
|
52
52
|
onClick: () => setIsRegex((prev) => !prev),
|
|
@@ -54,7 +54,7 @@ function TreeSearchBar({
|
|
|
54
54
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Regex, { className: "size-4" })
|
|
55
55
|
}
|
|
56
56
|
) }),
|
|
57
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
57
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBDAKLXXX_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Use Regular Expression" }) })
|
|
58
58
|
] })
|
|
59
59
|
] }) })
|
|
60
60
|
]
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6IXKC64S_cjs = require('./chunk-6IXKC64S.cjs');
|
|
4
4
|
var react = require('react');
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
|
|
7
7
|
var CmInput = react.forwardRef(function CmInput2({ value = 0, onChange, ...props }, ref) {
|
|
8
8
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9
|
-
|
|
9
|
+
chunk6IXKC64S_cjs.InputNumbers,
|
|
10
10
|
{
|
|
11
11
|
ref,
|
|
12
12
|
value: [value],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InputRoot, InputSlot } from './chunk-
|
|
1
|
+
import { InputRoot, InputSlot } from './chunk-XMQULAAU.mjs';
|
|
2
2
|
import { cn } from './chunk-HMN4IKTG.mjs';
|
|
3
3
|
import React, { forwardRef, useRef, useState, useCallback } from 'react';
|
|
4
4
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { JWTToken } from './chunk-UT7B4TLZ.mjs';
|
|
2
|
+
|
|
3
|
+
// src/auth/handler/fetch-server.ts
|
|
4
|
+
var fetchServer = async (url, options = {}) => {
|
|
5
|
+
const token = localStorage.getItem(JWTToken) || "";
|
|
6
|
+
const headers = {
|
|
7
|
+
...options.headers,
|
|
8
|
+
Authorization: `Bearer ${token}`
|
|
9
|
+
};
|
|
10
|
+
return fetch(url, { ...options, headers });
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { fetchServer };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkX3H6FYAM_cjs = require('./chunk-X3H6FYAM.cjs');
|
|
4
|
+
var chunkF4Z5KATZ_cjs = require('./chunk-F4Z5KATZ.cjs');
|
|
5
|
+
|
|
6
|
+
// src/auth/handler/get-session.ts
|
|
7
|
+
var getSession = async (baseURL) => {
|
|
8
|
+
const res = await chunkX3H6FYAM_cjs.fetchAuth(`${baseURL}/api/auth/get-session`, { credentials: "include" });
|
|
9
|
+
const authJWT = res.headers.get("set-auth-jwt");
|
|
10
|
+
localStorage.setItem(chunkF4Z5KATZ_cjs.JWTToken, authJWT ?? "");
|
|
11
|
+
const data = await res.json();
|
|
12
|
+
if (data) {
|
|
13
|
+
return { ...data, session: { ...data.session, jwt: authJWT ?? "" } };
|
|
14
|
+
} else {
|
|
15
|
+
return null;
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
exports.getSession = getSession;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var chunkL6LCOLOV_cjs = require('./chunk-L6LCOLOV.cjs');
|
|
3
|
+
var chunkWJY6BMVR_cjs = require('./chunk-WJY6BMVR.cjs');
|
|
5
4
|
var chunk7DFI7CUK_cjs = require('./chunk-7DFI7CUK.cjs');
|
|
5
|
+
var chunkWB43VEZA_cjs = require('./chunk-WB43VEZA.cjs');
|
|
6
|
+
var chunkL6LCOLOV_cjs = require('./chunk-L6LCOLOV.cjs');
|
|
6
7
|
var chunk4PKPCOAF_cjs = require('./chunk-4PKPCOAF.cjs');
|
|
7
|
-
var
|
|
8
|
-
var chunkWJY6BMVR_cjs = require('./chunk-WJY6BMVR.cjs');
|
|
8
|
+
var chunkRQH7ZAWF_cjs = require('./chunk-RQH7ZAWF.cjs');
|
|
9
9
|
|
|
10
10
|
// src/highlight-cursor/enhanced-components.tsx
|
|
11
|
-
var CursorButton = chunkWJY6BMVR_cjs.withCursor(
|
|
11
|
+
var CursorButton = chunkWJY6BMVR_cjs.withCursor(chunkRQH7ZAWF_cjs.Button);
|
|
12
12
|
var CursorTabs = chunkWJY6BMVR_cjs.withCursor(chunkL6LCOLOV_cjs.Tabs);
|
|
13
|
-
var CursorInputRoot = chunkWJY6BMVR_cjs.withCursor(
|
|
13
|
+
var CursorInputRoot = chunkWJY6BMVR_cjs.withCursor(chunkWB43VEZA_cjs.InputRoot);
|
|
14
14
|
var CursorSelectTrigger = chunkWJY6BMVR_cjs.withCursor(chunk4PKPCOAF_cjs.SelectTrigger);
|
|
15
15
|
var CursorTextarea = chunkWJY6BMVR_cjs.withCursor(chunk7DFI7CUK_cjs.Textarea);
|
|
16
16
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkSU57ZAZJ_cjs = require('./chunk-SU57ZAZJ.cjs');
|
|
4
4
|
var react = require('react');
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
|
|
@@ -32,7 +32,7 @@ var EulerRadInput = react.forwardRef(
|
|
|
32
32
|
}, [display]);
|
|
33
33
|
const labels = [`x${unitSymbol}`, `y${unitSymbol}`, `z${unitSymbol}`];
|
|
34
34
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
35
|
-
|
|
35
|
+
chunkSU57ZAZJ_cjs.VectorInput,
|
|
36
36
|
{
|
|
37
37
|
ref,
|
|
38
38
|
value: displayValues,
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
// src/ui/spinner.tsx
|
|
4
|
+
var Ring = ({ size = 24, ...props }) => /* @__PURE__ */ jsxs(
|
|
5
|
+
"svg",
|
|
6
|
+
{
|
|
7
|
+
height: size,
|
|
8
|
+
stroke: "currentColor",
|
|
9
|
+
viewBox: "0 0 44 44",
|
|
10
|
+
width: size,
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
...props,
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ jsx("title", { children: "Loading..." }),
|
|
15
|
+
/* @__PURE__ */ jsxs("g", { fill: "none", fillRule: "evenodd", strokeWidth: "2", children: [
|
|
16
|
+
/* @__PURE__ */ jsxs("circle", { cx: "22", cy: "22", r: "1", children: [
|
|
17
|
+
/* @__PURE__ */ jsx(
|
|
18
|
+
"animate",
|
|
19
|
+
{
|
|
20
|
+
attributeName: "r",
|
|
21
|
+
begin: "0s",
|
|
22
|
+
calcMode: "spline",
|
|
23
|
+
dur: "1.8s",
|
|
24
|
+
keySplines: "0.165, 0.84, 0.44, 1",
|
|
25
|
+
keyTimes: "0; 1",
|
|
26
|
+
repeatCount: "indefinite",
|
|
27
|
+
values: "1; 20"
|
|
28
|
+
}
|
|
29
|
+
),
|
|
30
|
+
/* @__PURE__ */ jsx(
|
|
31
|
+
"animate",
|
|
32
|
+
{
|
|
33
|
+
attributeName: "stroke-opacity",
|
|
34
|
+
begin: "0s",
|
|
35
|
+
calcMode: "spline",
|
|
36
|
+
dur: "1.8s",
|
|
37
|
+
keySplines: "0.3, 0.61, 0.355, 1",
|
|
38
|
+
keyTimes: "0; 1",
|
|
39
|
+
repeatCount: "indefinite",
|
|
40
|
+
values: "1; 0"
|
|
41
|
+
}
|
|
42
|
+
)
|
|
43
|
+
] }),
|
|
44
|
+
/* @__PURE__ */ jsxs("circle", { cx: "22", cy: "22", r: "1", children: [
|
|
45
|
+
/* @__PURE__ */ jsx(
|
|
46
|
+
"animate",
|
|
47
|
+
{
|
|
48
|
+
attributeName: "r",
|
|
49
|
+
begin: "-0.9s",
|
|
50
|
+
calcMode: "spline",
|
|
51
|
+
dur: "1.8s",
|
|
52
|
+
keySplines: "0.165, 0.84, 0.44, 1",
|
|
53
|
+
keyTimes: "0; 1",
|
|
54
|
+
repeatCount: "indefinite",
|
|
55
|
+
values: "1; 20"
|
|
56
|
+
}
|
|
57
|
+
),
|
|
58
|
+
/* @__PURE__ */ jsx(
|
|
59
|
+
"animate",
|
|
60
|
+
{
|
|
61
|
+
attributeName: "stroke-opacity",
|
|
62
|
+
begin: "-0.9s",
|
|
63
|
+
calcMode: "spline",
|
|
64
|
+
dur: "1.8s",
|
|
65
|
+
keySplines: "0.3, 0.61, 0.355, 1",
|
|
66
|
+
keyTimes: "0; 1",
|
|
67
|
+
repeatCount: "indefinite",
|
|
68
|
+
values: "1; 0"
|
|
69
|
+
}
|
|
70
|
+
)
|
|
71
|
+
] })
|
|
72
|
+
] })
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
var Spinner = (props) => {
|
|
77
|
+
return /* @__PURE__ */ jsx(Ring, { ...props });
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
export { Spinner };
|