@vuer-ai/vuer-uikit 0.0.101 → 0.0.102
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 +4 -4
- package/dist/SyncScroll/SyncScroll.mjs +4 -4
- package/dist/SyncScroll/index.cjs +4 -4
- package/dist/SyncScroll/index.mjs +4 -4
- package/dist/auth/context/auth-context.cjs +10 -0
- package/dist/auth/context/auth-context.d.cts +15 -0
- package/dist/auth/context/auth-context.d.ts +15 -0
- package/dist/auth/context/auth-context.mjs +1 -0
- package/dist/auth/handler/create-client.cjs +12 -0
- package/dist/auth/handler/create-client.d.cts +7 -0
- package/dist/auth/handler/create-client.d.ts +7 -0
- package/dist/auth/handler/create-client.mjs +3 -0
- package/dist/auth/handler/sign-in-handler.cjs +11 -0
- package/dist/auth/handler/sign-in-handler.d.cts +7 -0
- package/dist/auth/handler/sign-in-handler.d.ts +7 -0
- package/dist/auth/handler/sign-in-handler.mjs +2 -0
- package/dist/auth/hooks/use-vuer-auth.cjs +11 -0
- package/dist/auth/hooks/use-vuer-auth.d.cts +9 -0
- package/dist/auth/hooks/use-vuer-auth.d.ts +9 -0
- package/dist/auth/hooks/use-vuer-auth.mjs +2 -0
- package/dist/auth/hooks/use-vuer-method.cjs +14 -0
- package/dist/auth/hooks/use-vuer-method.d.cts +11 -0
- package/dist/auth/hooks/use-vuer-method.d.ts +11 -0
- package/dist/auth/hooks/use-vuer-method.mjs +5 -0
- package/dist/auth/index.cjs +33 -0
- package/dist/auth/index.d.cts +10 -0
- package/dist/auth/index.d.ts +10 -0
- package/dist/auth/index.mjs +8 -0
- package/dist/auth/localstorage-key.cjs +14 -0
- package/dist/auth/localstorage-key.d.cts +4 -0
- package/dist/auth/localstorage-key.d.ts +4 -0
- package/dist/auth/localstorage-key.mjs +1 -0
- package/dist/auth/types.cjs +14 -0
- package/dist/auth/types.d.cts +3481 -0
- package/dist/auth/types.d.ts +3481 -0
- package/dist/auth/types.mjs +1 -0
- package/dist/auth/vuer-auth-provider.cjs +14 -0
- package/dist/auth/vuer-auth-provider.d.cts +9 -0
- package/dist/auth/vuer-auth-provider.d.ts +9 -0
- package/dist/auth/vuer-auth-provider.mjs +5 -0
- package/dist/{chunk-OJUK6WJ5.mjs → chunk-24IUD6Q3.mjs} +1 -1
- package/dist/{chunk-BMJX3SEO.cjs → chunk-2EG65KGO.cjs} +2 -2
- package/dist/{chunk-MDR7WUX6.cjs → chunk-2JV7MJIF.cjs} +10 -11
- package/dist/{chunk-LPA6WYFD.cjs → chunk-2WD4ZL27.cjs} +4 -4
- package/dist/chunk-3IVDCAFM.mjs +10 -0
- package/dist/{chunk-U7XH7M5B.mjs → chunk-3NSSQHRK.mjs} +7 -8
- package/dist/{chunk-OWEYAVGT.mjs → chunk-3OMGBQ7I.mjs} +8 -5
- package/dist/chunk-3PDV3ZKD.cjs +26 -0
- package/dist/{chunk-ZZLF2YWP.mjs → chunk-3TUONMQ6.mjs} +1 -1
- package/dist/{chunk-TPPM276W.mjs → chunk-3VVQWVDE.mjs} +1 -1
- package/dist/{chunk-JA6XS5KY.cjs → chunk-3XTBLV6T.cjs} +3 -3
- package/dist/chunk-4B44SRRP.cjs +12 -0
- package/dist/{chunk-NT5ZTF56.mjs → chunk-4JGGLCXT.mjs} +1 -1
- package/dist/{chunk-KMCZXNKA.mjs → chunk-4THQPG6Y.mjs} +1 -1
- package/dist/{chunk-PQEAXTVY.mjs → chunk-5KJP6A6C.mjs} +12 -26
- package/dist/chunk-5XBMFADS.cjs +42 -0
- package/dist/{chunk-HKJCPZZG.cjs → chunk-64L2SNKA.cjs} +2 -2
- package/dist/chunk-6BD5MQ5R.cjs +8 -0
- package/dist/chunk-6DYF6WO6.mjs +24 -0
- package/dist/{chunk-2FGRTFK4.mjs → chunk-6XOTWZFC.mjs} +2 -2
- package/dist/{chunk-AAWWWYRN.cjs → chunk-7GJVMFKJ.cjs} +4 -4
- package/dist/{chunk-C4E2MFZB.mjs → chunk-7HOEFGEO.mjs} +1 -1
- package/dist/chunk-7KQXX7QB.mjs +54 -0
- package/dist/{chunk-AJYO5W6O.mjs → chunk-7P563TWH.mjs} +4 -4
- package/dist/{chunk-BIUDC66P.mjs → chunk-7UO6NLB6.mjs} +9 -11
- package/dist/{chunk-OTR4SFDC.cjs → chunk-A2UZY7Y2.cjs} +2 -2
- package/dist/chunk-ACYOVCGH.mjs +30 -0
- package/dist/chunk-ACYZOKPT.mjs +64 -0
- package/dist/chunk-AJQEHMYV.cjs +47 -0
- package/dist/{chunk-7YMH34JL.cjs → chunk-AOV3ADTV.cjs} +2 -2
- package/dist/{chunk-A2PCEL5S.mjs → chunk-AYYX3TVN.mjs} +2 -2
- package/dist/{chunk-MEE3IHTT.mjs → chunk-BFNETXJK.mjs} +185 -22
- package/dist/{chunk-62VCQ2SU.cjs → chunk-BSOJYJ4D.cjs} +1 -1
- package/dist/{chunk-QUFZWF4E.cjs → chunk-C7WHIFJZ.cjs} +4 -4
- package/dist/chunk-CFOMX6SF.mjs +328 -0
- package/dist/{chunk-CZ2YNM7Y.mjs → chunk-CGUQWS2I.mjs} +1 -1
- package/dist/chunk-CHYXRETV.cjs +23 -0
- package/dist/{chunk-INHZ5D7P.mjs → chunk-CZ4GQOXG.mjs} +1 -6
- package/dist/{chunk-CUOGY4FW.mjs → chunk-D4DKSGER.mjs} +1 -1
- package/dist/{chunk-MUQYO2G3.cjs → chunk-D5WOPTKY.cjs} +2 -2
- package/dist/{chunk-D3IW2NW6.mjs → chunk-E2EMVLII.mjs} +1 -1
- package/dist/{chunk-CWAVHHJA.cjs → chunk-EAXBNWXE.cjs} +2 -2
- package/dist/{chunk-73VF2W3D.mjs → chunk-EI5ZOFWX.mjs} +1 -1
- package/dist/{chunk-MIGXY5PR.mjs → chunk-EXQQRW7T.mjs} +1 -1
- package/dist/{chunk-7LLDKYND.mjs → chunk-FK6ZROZE.mjs} +31 -29
- package/dist/chunk-G6U2K2GR.cjs +32 -0
- package/dist/{chunk-DREOOKO2.cjs → chunk-GOGJVFRN.cjs} +4 -4
- package/dist/{chunk-W3J4QTKS.cjs → chunk-H6MFBIRB.cjs} +7 -7
- package/dist/{chunk-NSQOQD43.cjs → chunk-HBIZQDDS.cjs} +1 -6
- package/dist/{chunk-7RIGSS5X.cjs → chunk-HN3AMWUM.cjs} +2 -2
- package/dist/chunk-HPK4YEVK.cjs +27 -0
- package/dist/{chunk-EC4HJUX6.cjs → chunk-IQ5MDNCR.cjs} +4 -4
- package/dist/chunk-IXNXSECD.mjs +45 -0
- package/dist/chunk-IY36FZ5R.mjs +40 -0
- package/dist/{chunk-FFCQKAQA.cjs → chunk-JFIAWTRH.cjs} +2 -2
- package/dist/{chunk-AEVZSYGJ.cjs → chunk-JFJRNNPQ.cjs} +2 -2
- package/dist/{chunk-G7FYBSFO.cjs → chunk-JMFTHHHE.cjs} +5 -5
- package/dist/{chunk-7R2ZBAE6.mjs → chunk-JUSFLIU5.mjs} +1 -1
- package/dist/chunk-JYIVDUDL.cjs +66 -0
- package/dist/{chunk-NTGUD2JN.mjs → chunk-KBC7VNER.mjs} +1 -1
- package/dist/{chunk-JM6NBUDT.cjs → chunk-KR7VBV3B.cjs} +31 -30
- package/dist/{chunk-VTEWRMGQ.mjs → chunk-KRNKB4FM.mjs} +3 -3
- package/dist/{chunk-3UEVUYFQ.cjs → chunk-LQGXG373.cjs} +4 -6
- package/dist/{chunk-4XUJBMDE.mjs → chunk-LRSDE62T.mjs} +4 -6
- package/dist/chunk-LSKJOUAE.cjs +56 -0
- package/dist/{chunk-NO35POZW.mjs → chunk-MHJM7YMG.mjs} +4 -33
- package/dist/{chunk-ZAP4EHBO.cjs → chunk-MIT3YWUC.cjs} +2 -2
- package/dist/{chunk-GDUVAZDW.cjs → chunk-NSUFTZNC.cjs} +2 -2
- package/dist/{chunk-V2IP7UUV.mjs → chunk-PIC2EJWA.mjs} +2 -2
- package/dist/chunk-PKSIXQJX.mjs +20 -0
- package/dist/{chunk-YUHHUSIO.cjs → chunk-PTCDBU72.cjs} +2 -2
- package/dist/{chunk-SQQXY4AY.mjs → chunk-PTGMHZFS.mjs} +1 -1
- package/dist/chunk-PZMA33PL.mjs +25 -0
- package/dist/{chunk-GWIACOMY.cjs → chunk-Q2HC5ZL4.cjs} +3 -38
- package/dist/{chunk-OYNLQTHW.cjs → chunk-RGV3EB3K.cjs} +11 -13
- package/dist/{chunk-LG3PNH2P.mjs → chunk-RIJUPORK.mjs} +1 -1
- package/dist/{chunk-QBFOBDBC.cjs → chunk-RZILHP75.cjs} +2 -2
- package/dist/{chunk-UCRLH44Q.cjs → chunk-SPRBKXGP.cjs} +2 -2
- package/dist/{chunk-PIXIN3IG.mjs → chunk-SYX6TMCQ.mjs} +1 -1
- package/dist/chunk-TC3W4VRO.mjs +6 -0
- package/dist/{chunk-L26ULDYM.mjs → chunk-THMYDDZF.mjs} +1 -1
- package/dist/{chunk-VO3C6RE2.mjs → chunk-UA3OTLX4.mjs} +2 -2
- package/dist/{chunk-6CM4GYJU.mjs → chunk-VEWWUO2N.mjs} +1 -1
- package/dist/{chunk-76V4RD4V.cjs → chunk-VLOFKTSL.cjs} +3 -3
- package/dist/{chunk-6J7ZVRSY.mjs → chunk-VUMOJPEC.mjs} +1 -1
- package/dist/chunk-WGVKFNG6.mjs +5 -0
- package/dist/{chunk-JD4J3RDN.cjs → chunk-WHV4VATL.cjs} +12 -26
- package/dist/{chunk-55RSKLJ5.cjs → chunk-XG56MLQH.cjs} +4 -4
- package/dist/{chunk-TZC4ST5T.cjs → chunk-XOIIYO5J.cjs} +20 -335
- package/dist/{chunk-M5UZ3SBY.cjs → chunk-Z6KE4XDB.cjs} +214 -47
- package/dist/{chunk-AIYM5PFP.cjs → chunk-ZFIEYXJO.cjs} +8 -4
- package/dist/{chunk-5TXABUNC.mjs → chunk-ZNM6PNI6.mjs} +1 -1
- package/dist/{chunk-EQIEKFCA.cjs → chunk-ZRRCYQ53.cjs} +3 -3
- package/dist/chunk-ZULCZ5L6.cjs +8 -0
- package/dist/dial/DialPanel.cjs +67 -66
- package/dist/dial/DialPanel.mjs +66 -65
- package/dist/dial/index.cjs +83 -82
- package/dist/dial/index.mjs +66 -65
- package/dist/dial/wrapped-inputs/ControlledInputs.cjs +74 -69
- package/dist/dial/wrapped-inputs/ControlledInputs.d.cts +2 -1
- package/dist/dial/wrapped-inputs/ControlledInputs.d.ts +2 -1
- package/dist/dial/wrapped-inputs/ControlledInputs.mjs +66 -65
- package/dist/dial/wrapped-inputs/DialInputs.cjs +86 -77
- package/dist/dial/wrapped-inputs/DialInputs.d.cts +3 -1
- package/dist/dial/wrapped-inputs/DialInputs.d.ts +3 -1
- package/dist/dial/wrapped-inputs/DialInputs.mjs +66 -65
- package/dist/dial/wrapped-inputs/DialPresetsInput.cjs +124 -0
- package/dist/dial/wrapped-inputs/DialPresetsInput.d.cts +16 -0
- package/dist/dial/wrapped-inputs/DialPresetsInput.d.ts +16 -0
- package/dist/dial/wrapped-inputs/DialPresetsInput.mjs +115 -0
- package/dist/dial/wrapped-inputs/DialVectorInput.cjs +67 -66
- package/dist/dial/wrapped-inputs/DialVectorInput.mjs +66 -65
- package/dist/dial/wrapped-inputs/index.cjs +99 -82
- package/dist/dial/wrapped-inputs/index.d.cts +3 -2
- package/dist/dial/wrapped-inputs/index.d.ts +3 -2
- package/dist/dial/wrapped-inputs/index.mjs +66 -65
- package/dist/highlight-cursor/enhanced-components.cjs +12 -12
- package/dist/highlight-cursor/enhanced-components.mjs +7 -7
- package/dist/highlight-cursor/index.cjs +12 -12
- package/dist/highlight-cursor/index.mjs +7 -7
- package/dist/hooks/index.cjs +21 -21
- package/dist/hooks/index.mjs +4 -4
- package/dist/hooks/useQueryParams.cjs +3 -3
- package/dist/hooks/useQueryParams.mjs +2 -2
- package/dist/index.cjs +404 -423
- package/dist/index.css +13 -13
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.mjs +66 -65
- package/dist/ui/DialBadge.cjs +12 -8
- package/dist/ui/DialBadge.d.cts +11 -6
- package/dist/ui/DialBadge.d.ts +11 -6
- package/dist/ui/DialBadge.mjs +5 -5
- package/dist/ui/UIKitBadge.cjs +9 -9
- package/dist/ui/UIKitBadge.mjs +5 -5
- package/dist/ui/avatar.cjs +9 -33
- package/dist/ui/avatar.d.cts +4 -61
- package/dist/ui/avatar.d.ts +4 -61
- package/dist/ui/avatar.mjs +5 -5
- package/dist/ui/badge.cjs +4 -4
- package/dist/ui/badge.mjs +4 -4
- package/dist/ui/button.cjs +7 -7
- package/dist/ui/button.mjs +5 -5
- package/dist/ui/card.cjs +12 -12
- package/dist/ui/card.mjs +5 -5
- package/dist/ui/checkbox.cjs +4 -4
- package/dist/ui/checkbox.mjs +4 -4
- package/dist/ui/collapsible.cjs +4 -4
- package/dist/ui/collapsible.mjs +4 -4
- package/dist/ui/drawer.cjs +4 -4
- package/dist/ui/drawer.mjs +4 -4
- package/dist/ui/dropdown.cjs +20 -20
- package/dist/ui/dropdown.d.cts +18 -27
- package/dist/ui/dropdown.d.ts +18 -27
- package/dist/ui/dropdown.mjs +5 -5
- package/dist/ui/index.cjs +354 -373
- package/dist/ui/index.d.cts +4 -3
- package/dist/ui/index.d.ts +4 -3
- package/dist/ui/index.mjs +63 -62
- package/dist/ui/inputs/color-input.cjs +7 -7
- package/dist/ui/inputs/color-input.mjs +6 -6
- package/dist/ui/inputs/index.cjs +62 -57
- package/dist/ui/inputs/index.d.cts +1 -0
- package/dist/ui/inputs/index.d.ts +1 -0
- package/dist/ui/inputs/index.mjs +25 -24
- package/dist/ui/inputs/input-numbers.cjs +7 -7
- package/dist/ui/inputs/input-numbers.mjs +6 -6
- package/dist/ui/inputs/input.cjs +8 -8
- package/dist/ui/inputs/input.mjs +5 -5
- package/dist/ui/inputs/number-inputs/CmInput.cjs +8 -8
- package/dist/ui/inputs/number-inputs/CmInput.mjs +7 -7
- package/dist/ui/inputs/number-inputs/DegInput.cjs +8 -8
- package/dist/ui/inputs/number-inputs/DegInput.mjs +7 -7
- package/dist/ui/inputs/number-inputs/EulerDegInput.cjs +10 -10
- package/dist/ui/inputs/number-inputs/EulerDegInput.mjs +9 -9
- package/dist/ui/inputs/number-inputs/EulerInput.cjs +9 -9
- package/dist/ui/inputs/number-inputs/EulerInput.mjs +8 -8
- package/dist/ui/inputs/number-inputs/EulerRadInput.cjs +9 -10
- package/dist/ui/inputs/number-inputs/EulerRadInput.d.cts +6 -3
- package/dist/ui/inputs/number-inputs/EulerRadInput.d.ts +6 -3
- package/dist/ui/inputs/number-inputs/EulerRadInput.mjs +8 -9
- package/dist/ui/inputs/number-inputs/InchInput.cjs +8 -8
- package/dist/ui/inputs/number-inputs/InchInput.mjs +7 -7
- package/dist/ui/inputs/number-inputs/IntInput.cjs +8 -8
- package/dist/ui/inputs/number-inputs/IntInput.mjs +7 -7
- package/dist/ui/inputs/number-inputs/KVectorInput.cjs +9 -9
- package/dist/ui/inputs/number-inputs/KVectorInput.mjs +8 -8
- package/dist/ui/inputs/number-inputs/QuaternionInput.cjs +9 -9
- package/dist/ui/inputs/number-inputs/QuaternionInput.mjs +8 -8
- package/dist/ui/inputs/number-inputs/RadInput.cjs +8 -8
- package/dist/ui/inputs/number-inputs/RadInput.d.cts +1 -0
- package/dist/ui/inputs/number-inputs/RadInput.d.ts +1 -0
- package/dist/ui/inputs/number-inputs/RadInput.mjs +7 -7
- package/dist/ui/inputs/number-inputs/TimeInput.cjs +8 -8
- package/dist/ui/inputs/number-inputs/TimeInput.mjs +7 -7
- package/dist/ui/inputs/number-inputs/Vec3Input.cjs +9 -9
- package/dist/ui/inputs/number-inputs/Vec3Input.mjs +8 -8
- package/dist/ui/inputs/number-inputs/VectorInput.cjs +8 -8
- package/dist/ui/inputs/number-inputs/VectorInput.mjs +7 -7
- package/dist/ui/inputs/number-inputs/index.cjs +42 -42
- package/dist/ui/inputs/number-inputs/index.mjs +19 -19
- package/dist/ui/inputs/presets-input.cjs +9 -9
- package/dist/ui/inputs/presets-input.mjs +8 -8
- package/dist/ui/inputs/presets-rad-input.cjs +24 -0
- package/dist/ui/inputs/presets-rad-input.d.cts +17 -0
- package/dist/ui/inputs/presets-rad-input.d.ts +17 -0
- package/dist/ui/inputs/presets-rad-input.mjs +15 -0
- package/dist/ui/inputs/text-input.cjs +7 -7
- package/dist/ui/inputs/text-input.mjs +6 -6
- package/dist/ui/label.cjs +4 -4
- package/dist/ui/label.mjs +4 -4
- package/dist/ui/layout.cjs +4 -4
- package/dist/ui/layout.mjs +4 -4
- package/dist/ui/layouts/dock-layout/DockLayoutView.cjs +4 -4
- package/dist/ui/layouts/dock-layout/DockLayoutView.mjs +4 -4
- package/dist/ui/layouts/dock-layout/LayoutSlots.cjs +4 -4
- package/dist/ui/layouts/dock-layout/LayoutSlots.mjs +4 -4
- package/dist/ui/layouts/dock-layout/index.cjs +4 -4
- package/dist/ui/layouts/dock-layout/index.mjs +4 -4
- package/dist/ui/layouts/index.cjs +8 -8
- package/dist/ui/layouts/index.mjs +7 -7
- package/dist/ui/layouts/liquid-layout/LayoutSlots.cjs +11 -11
- package/dist/ui/layouts/liquid-layout/LayoutSlots.mjs +5 -5
- package/dist/ui/layouts/liquid-layout/LiquidLayoutView.cjs +7 -7
- package/dist/ui/layouts/liquid-layout/LiquidLayoutView.mjs +6 -6
- package/dist/ui/layouts/liquid-layout/index.cjs +7 -7
- package/dist/ui/layouts/liquid-layout/index.mjs +6 -6
- package/dist/ui/modal.cjs +4 -4
- package/dist/ui/modal.mjs +4 -4
- package/dist/ui/navigation.cjs +7 -7
- package/dist/ui/navigation.mjs +6 -6
- package/dist/ui/pagination.cjs +13 -13
- package/dist/ui/pagination.mjs +6 -6
- package/dist/ui/panel.cjs +4 -4
- package/dist/ui/panel.mjs +4 -4
- package/dist/ui/popover.cjs +4 -4
- package/dist/ui/popover.mjs +4 -4
- package/dist/ui/radio-group.cjs +4 -4
- package/dist/ui/radio-group.mjs +4 -4
- package/dist/ui/resizable.cjs +4 -4
- package/dist/ui/resizable.mjs +4 -4
- package/dist/ui/select.cjs +4 -4
- package/dist/ui/select.mjs +4 -4
- package/dist/ui/separator.cjs +4 -4
- package/dist/ui/separator.mjs +4 -4
- package/dist/ui/sheet.cjs +4 -4
- package/dist/ui/sheet.mjs +4 -4
- package/dist/ui/sidebar.cjs +32 -32
- package/dist/ui/sidebar.mjs +8 -8
- package/dist/ui/simple-tree-view.cjs +4 -4
- package/dist/ui/simple-tree-view.mjs +4 -4
- package/dist/ui/skeleton.cjs +4 -4
- package/dist/ui/skeleton.mjs +4 -4
- package/dist/ui/slider.cjs +4 -4
- package/dist/ui/slider.mjs +4 -4
- package/dist/ui/switch.cjs +4 -4
- package/dist/ui/switch.mjs +4 -4
- package/dist/ui/table.cjs +4 -4
- package/dist/ui/table.mjs +4 -4
- package/dist/ui/tabs.cjs +4 -4
- package/dist/ui/tabs.mjs +4 -4
- package/dist/ui/textarea.cjs +4 -4
- package/dist/ui/textarea.mjs +4 -4
- package/dist/ui/theme/ThemeProvider.cjs +16 -20
- package/dist/ui/theme/ThemeProvider.d.cts +3 -10
- package/dist/ui/theme/ThemeProvider.d.ts +3 -10
- package/dist/ui/theme/ThemeProvider.mjs +2 -2
- package/dist/ui/theme/ThemeToggles.cjs +11 -11
- package/dist/ui/theme/ThemeToggles.mjs +8 -8
- package/dist/ui/theme/index.cjs +16 -20
- package/dist/ui/theme/index.d.cts +1 -1
- package/dist/ui/theme/index.d.ts +1 -1
- package/dist/ui/theme/index.mjs +8 -8
- package/dist/ui/theme/themeScript.cjs +2 -2
- package/dist/ui/theme/themeScript.d.cts +1 -2
- package/dist/ui/theme/themeScript.d.ts +1 -2
- package/dist/ui/theme/themeScript.mjs +1 -1
- package/dist/ui/toggle-buttons.cjs +4 -4
- package/dist/ui/toggle-buttons.mjs +4 -4
- package/dist/ui/toggle-group.cjs +4 -4
- package/dist/ui/toggle-group.mjs +4 -4
- package/dist/ui/toggle.cjs +4 -4
- package/dist/ui/toggle.mjs +4 -4
- package/dist/ui/toolbar.cjs +8 -8
- package/dist/ui/toolbar.mjs +5 -5
- package/dist/ui/tooltip.cjs +4 -4
- package/dist/ui/tooltip.mjs +4 -4
- package/dist/ui/tree-view/TreeSearchBar.cjs +7 -7
- package/dist/ui/tree-view/TreeSearchBar.mjs +6 -6
- package/dist/ui/tree-view/TreeView.cjs +4 -4
- package/dist/ui/tree-view/TreeView.mjs +4 -4
- package/dist/ui/tree-view/index.cjs +8 -8
- package/dist/ui/tree-view/index.mjs +7 -7
- package/dist/ui/tree-view-legacy.cjs +10 -10
- package/dist/ui/tree-view-legacy.mjs +6 -6
- package/dist/ui/waterfall/CursorOverlay.cjs +4 -4
- package/dist/ui/waterfall/CursorOverlay.mjs +4 -4
- package/dist/ui/waterfall/TimelineEvent.cjs +4 -4
- package/dist/ui/waterfall/TimelineEvent.mjs +4 -4
- package/dist/ui/waterfall/TimelineProcessBar.cjs +4 -4
- package/dist/ui/waterfall/TimelineProcessBar.mjs +4 -4
- package/dist/ui/waterfall/Wedges.cjs +4 -4
- package/dist/ui/waterfall/Wedges.mjs +4 -4
- package/dist/ui/waterfall/index.cjs +12 -12
- package/dist/ui/waterfall/index.mjs +11 -11
- package/package.json +7 -1
- package/src/auth/context/auth-context.ts +16 -0
- package/src/auth/handler/create-client.ts +23 -0
- package/src/auth/handler/sign-in-handler.ts +66 -0
- package/src/auth/hooks/use-vuer-auth.ts +10 -0
- package/src/auth/hooks/use-vuer-method.ts +35 -0
- package/src/auth/index.ts +6 -0
- package/src/auth/localstorage-key.ts +3 -0
- package/src/auth/types.ts +56 -0
- package/src/auth/vuer-auth-provider.tsx +35 -0
- package/src/dial/DialPanel.tsx +46 -3
- package/src/dial/wrapped-inputs/ControlledInputs.tsx +17 -0
- package/src/dial/wrapped-inputs/DialInputs.tsx +77 -0
- package/src/dial/wrapped-inputs/DialPresetsInput.tsx +79 -0
- package/src/dial/wrapped-inputs/index.ts +6 -0
- package/src/ui/DialBadge.tsx +18 -7
- package/src/ui/avatar.tsx +4 -85
- package/src/ui/button.tsx +0 -5
- package/src/ui/card.tsx +1 -1
- package/src/ui/dropdown.tsx +21 -366
- package/src/ui/inputs/index.tsx +1 -0
- package/src/ui/inputs/input.tsx +3 -5
- package/src/ui/inputs/number-inputs/EulerRadInput.tsx +46 -5
- package/src/ui/inputs/number-inputs/RadInput.tsx +31 -5
- package/src/ui/inputs/presets-rad-input.tsx +77 -0
- package/src/ui/layouts/liquid-layout/LayoutSlots.tsx +2 -2
- package/src/ui/sidebar.tsx +7 -8
- package/src/ui/theme/ThemeProvider.tsx +69 -52
- package/src/ui/theme/ThemeToggles.tsx +12 -12
- package/src/ui/theme/index.ts +6 -16
- package/src/ui/theme/themeScript.tsx +24 -50
- package/src/ui/toolbar.tsx +3 -3
- package/dist/chunk-DVKONMS7.cjs +0 -20
- package/dist/chunk-GPV4XELL.mjs +0 -18
- package/dist/chunk-H2GERFBG.cjs +0 -13
- package/dist/chunk-H4IDSUG5.mjs +0 -643
- package/dist/chunk-TY47DFGO.mjs +0 -11
- package/dist/{chunk-ADYUCJMQ.mjs → chunk-2KQRWXNO.mjs} +0 -0
- package/dist/{chunk-SQRAUVEP.cjs → chunk-63OJOP6W.cjs} +0 -0
- package/dist/{chunk-LYZJNEOR.cjs → chunk-Q4XH2Z5M.cjs} +1 -1
- package/dist/{chunk-OEIF3JCH.mjs → chunk-U3LN5NB6.mjs} +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { auth, options } from '../chunk-PKSIXQJX.mjs';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkG6U2K2GR_cjs = require('../chunk-G6U2K2GR.cjs');
|
|
4
|
+
require('../chunk-HPK4YEVK.cjs');
|
|
5
|
+
require('../chunk-ZULCZ5L6.cjs');
|
|
6
|
+
require('../chunk-6BD5MQ5R.cjs');
|
|
7
|
+
require('../chunk-CHYXRETV.cjs');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Object.defineProperty(exports, "VuerAuthProvider", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkG6U2K2GR_cjs.VuerAuthProvider; }
|
|
14
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
|
+
|
|
4
|
+
interface Props {
|
|
5
|
+
baseURL: string;
|
|
6
|
+
}
|
|
7
|
+
declare function VuerAuthProvider({ children, baseURL }: PropsWithChildren<Props>): react_jsx_runtime.JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { VuerAuthProvider };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
|
+
|
|
4
|
+
interface Props {
|
|
5
|
+
baseURL: string;
|
|
6
|
+
}
|
|
7
|
+
declare function VuerAuthProvider({ children, baseURL }: PropsWithChildren<Props>): react_jsx_runtime.JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { VuerAuthProvider };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJFIAWTRH_cjs = require('./chunk-JFIAWTRH.cjs');
|
|
4
4
|
var react = require('react');
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ var EulerInput = react.forwardRef(function EulerInput2({ value, onValuesChange,
|
|
|
8
8
|
const unitSymbol = unit === "deg" ? "\xB0" : "rad";
|
|
9
9
|
const labels = [`x${unitSymbol}`, `y${unitSymbol}`, `z${unitSymbol}`];
|
|
10
10
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
11
|
-
|
|
11
|
+
chunkJFIAWTRH_cjs.VectorInput,
|
|
12
12
|
{
|
|
13
13
|
ref,
|
|
14
14
|
value,
|
|
@@ -1,33 +1,32 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKR7VBV3B_cjs = require('./chunk-KR7VBV3B.cjs');
|
|
4
4
|
var chunk2CZEFXEW_cjs = require('./chunk-2CZEFXEW.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkHBIZQDDS_cjs = require('./chunk-HBIZQDDS.cjs');
|
|
6
6
|
var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
|
|
7
7
|
var lucideReact = require('lucide-react');
|
|
8
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
9
9
|
|
|
10
10
|
var LiquidToggle = ({ className, ...props }) => {
|
|
11
|
-
const { isLiquid, toggleLiquid } =
|
|
11
|
+
const { isLiquid, toggleLiquid } = chunkKR7VBV3B_cjs.useTheme();
|
|
12
12
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunk2CZEFXEW_cjs.Tooltip, { children: [
|
|
13
13
|
/* @__PURE__ */ jsxRuntime.jsx(chunk2CZEFXEW_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14
|
-
|
|
14
|
+
chunkHBIZQDDS_cjs.Button,
|
|
15
15
|
{
|
|
16
16
|
icon: true,
|
|
17
17
|
variant: "ghost",
|
|
18
|
-
value: isLiquid,
|
|
19
18
|
"aria-label": `Toggle liquid theme: ${isLiquid ? "on" : "off"}`,
|
|
20
19
|
...props,
|
|
21
20
|
onClick: toggleLiquid,
|
|
22
21
|
className,
|
|
23
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.
|
|
22
|
+
children: isLiquid ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.PanelsTopLeft, { size: 20 }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.LayoutTemplate, { size: 20 })
|
|
24
23
|
}
|
|
25
24
|
) }),
|
|
26
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunk2CZEFXEW_cjs.TooltipContent, { children: "
|
|
25
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk2CZEFXEW_cjs.TooltipContent, { children: isLiquid ? "Dock Menu Panels" : "Floating Menu Panels" })
|
|
27
26
|
] });
|
|
28
27
|
};
|
|
29
28
|
var ThemeColorToggle = (props) => {
|
|
30
|
-
const { baseTheme, setBaseTheme, resolvedTheme } =
|
|
29
|
+
const { baseTheme, setBaseTheme, resolvedTheme } = chunkKR7VBV3B_cjs.useTheme();
|
|
31
30
|
const handleThemeChange = () => {
|
|
32
31
|
if (baseTheme === "light") {
|
|
33
32
|
setBaseTheme("dark");
|
|
@@ -37,10 +36,10 @@ var ThemeColorToggle = (props) => {
|
|
|
37
36
|
setBaseTheme("light");
|
|
38
37
|
}
|
|
39
38
|
};
|
|
40
|
-
const isDark = resolvedTheme
|
|
39
|
+
const isDark = resolvedTheme?.includes("dark");
|
|
41
40
|
const isSystem = baseTheme === "system";
|
|
42
41
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
43
|
-
|
|
42
|
+
chunkHBIZQDDS_cjs.Button,
|
|
44
43
|
{
|
|
45
44
|
icon: true,
|
|
46
45
|
variant: "ghost",
|
|
@@ -56,7 +55,7 @@ var ThemeToggles = ({
|
|
|
56
55
|
liquidToggleProps = {},
|
|
57
56
|
colorToggleProps = {}
|
|
58
57
|
}) => {
|
|
59
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkOHIB3TEN_cjs.cn("flex
|
|
58
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkOHIB3TEN_cjs.cn("flex", className), children: [
|
|
60
59
|
/* @__PURE__ */ jsxRuntime.jsx(LiquidToggle, { ...liquidToggleProps }),
|
|
61
60
|
/* @__PURE__ */ jsxRuntime.jsx(ThemeColorToggle, { ...colorToggleProps })
|
|
62
61
|
] });
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLQGXG373_cjs = require('./chunk-LQGXG373.cjs');
|
|
4
4
|
var react = require('react');
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
|
|
7
7
|
var TextInput = react.forwardRef(function TextInput2({ value = "", onChange, prefix, suffix, placeholder, maxLength, ...props }, ref) {
|
|
8
8
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
9
|
-
|
|
9
|
+
chunkLQGXG373_cjs.InputRoot,
|
|
10
10
|
{
|
|
11
11
|
ref,
|
|
12
12
|
type: "text",
|
|
@@ -16,8 +16,8 @@ var TextInput = react.forwardRef(function TextInput2({ value = "", onChange, pre
|
|
|
16
16
|
maxLength,
|
|
17
17
|
...props,
|
|
18
18
|
children: [
|
|
19
|
-
prefix && /* @__PURE__ */ jsxRuntime.jsx(
|
|
20
|
-
suffix && /* @__PURE__ */ jsxRuntime.jsx(
|
|
19
|
+
prefix && /* @__PURE__ */ jsxRuntime.jsx(chunkLQGXG373_cjs.InputSlot, { side: "left", children: prefix }),
|
|
20
|
+
suffix && /* @__PURE__ */ jsxRuntime.jsx(chunkLQGXG373_cjs.InputSlot, { side: "right", children: suffix })
|
|
21
21
|
]
|
|
22
22
|
}
|
|
23
23
|
);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AuthContext } from './chunk-TC3W4VRO.mjs';
|
|
2
|
+
import { useContext } from 'react';
|
|
3
|
+
|
|
4
|
+
var useVuerAuth = () => {
|
|
5
|
+
const context = useContext(AuthContext);
|
|
6
|
+
if (context === void 0) throw new Error("useSession must be used within a SessionContext");
|
|
7
|
+
return context;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export { useVuerAuth };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useTheme } from './chunk-
|
|
1
|
+
import { useTheme } from './chunk-FK6ZROZE.mjs';
|
|
2
2
|
import { Tooltip, TooltipTrigger, TooltipContent } from './chunk-ZNPI2TYG.mjs';
|
|
3
|
-
import { Button } from './chunk-
|
|
3
|
+
import { Button } from './chunk-CZ4GQOXG.mjs';
|
|
4
4
|
import { cn } from './chunk-HMN4IKTG.mjs';
|
|
5
|
-
import {
|
|
5
|
+
import { PanelsTopLeft, LayoutTemplate, SunMoon, Moon, Sun } from 'lucide-react';
|
|
6
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
var LiquidToggle = ({ className, ...props }) => {
|
|
@@ -13,15 +13,14 @@ var LiquidToggle = ({ className, ...props }) => {
|
|
|
13
13
|
{
|
|
14
14
|
icon: true,
|
|
15
15
|
variant: "ghost",
|
|
16
|
-
value: isLiquid,
|
|
17
16
|
"aria-label": `Toggle liquid theme: ${isLiquid ? "on" : "off"}`,
|
|
18
17
|
...props,
|
|
19
18
|
onClick: toggleLiquid,
|
|
20
19
|
className,
|
|
21
|
-
children: /* @__PURE__ */ jsx(
|
|
20
|
+
children: isLiquid ? /* @__PURE__ */ jsx(PanelsTopLeft, { size: 20 }) : /* @__PURE__ */ jsx(LayoutTemplate, { size: 20 })
|
|
22
21
|
}
|
|
23
22
|
) }),
|
|
24
|
-
/* @__PURE__ */ jsx(TooltipContent, { children: "
|
|
23
|
+
/* @__PURE__ */ jsx(TooltipContent, { children: isLiquid ? "Dock Menu Panels" : "Floating Menu Panels" })
|
|
25
24
|
] });
|
|
26
25
|
};
|
|
27
26
|
var ThemeColorToggle = (props) => {
|
|
@@ -35,7 +34,7 @@ var ThemeColorToggle = (props) => {
|
|
|
35
34
|
setBaseTheme("light");
|
|
36
35
|
}
|
|
37
36
|
};
|
|
38
|
-
const isDark = resolvedTheme
|
|
37
|
+
const isDark = resolvedTheme?.includes("dark");
|
|
39
38
|
const isSystem = baseTheme === "system";
|
|
40
39
|
return /* @__PURE__ */ jsx(
|
|
41
40
|
Button,
|
|
@@ -54,7 +53,7 @@ var ThemeToggles = ({
|
|
|
54
53
|
liquidToggleProps = {},
|
|
55
54
|
colorToggleProps = {}
|
|
56
55
|
}) => {
|
|
57
|
-
return /* @__PURE__ */ jsxs("div", { className: cn("flex
|
|
56
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("flex", className), children: [
|
|
58
57
|
/* @__PURE__ */ jsx(LiquidToggle, { ...liquidToggleProps }),
|
|
59
58
|
/* @__PURE__ */ jsx(ThemeColorToggle, { ...colorToggleProps })
|
|
60
59
|
] });
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import { cn } from './chunk-HMN4IKTG.mjs';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
|
|
4
|
-
var DIAL_PACKAGE_NAME = "@vuer-ai/dial-cli";
|
|
5
|
-
var DIAL_PACKAGE_VERSION = "0.0.
|
|
4
|
+
var DIAL_PACKAGE_NAME = "@vuer-ai/dial-cli" ;
|
|
5
|
+
var DIAL_PACKAGE_VERSION = "0.0.12" ;
|
|
6
|
+
var DIAL_GIT_HASH = "a40ca8d" ;
|
|
6
7
|
function DialBadge({
|
|
7
8
|
className,
|
|
8
9
|
package: showPackage = true,
|
|
9
10
|
prefix = true,
|
|
10
11
|
linkable = true,
|
|
11
|
-
version = true
|
|
12
|
+
version = true,
|
|
13
|
+
hash = false
|
|
12
14
|
}) {
|
|
13
15
|
const packageShortName = "dial-cli";
|
|
14
|
-
const
|
|
16
|
+
const displayValue = hash ? DIAL_GIT_HASH : DIAL_PACKAGE_VERSION;
|
|
17
|
+
const versionText = version || hash ? prefix && !hash ? `v${displayValue}` : displayValue : void 0;
|
|
15
18
|
const npmUrl = `https://www.npmjs.com/package/${DIAL_PACKAGE_NAME}/v/${DIAL_PACKAGE_VERSION}`;
|
|
16
19
|
return /* @__PURE__ */ jsx(
|
|
17
20
|
"div",
|
|
@@ -59,4 +62,4 @@ function DialBadge({
|
|
|
59
62
|
);
|
|
60
63
|
}
|
|
61
64
|
|
|
62
|
-
export { DIAL_PACKAGE_NAME, DIAL_PACKAGE_VERSION, DialBadge };
|
|
65
|
+
export { DIAL_GIT_HASH, DIAL_PACKAGE_NAME, DIAL_PACKAGE_VERSION, DialBadge };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkLSKJOUAE_cjs = require('./chunk-LSKJOUAE.cjs');
|
|
4
|
+
var chunk4B44SRRP_cjs = require('./chunk-4B44SRRP.cjs');
|
|
5
|
+
var react = require('react');
|
|
6
|
+
|
|
7
|
+
var useVuerMethod = () => {
|
|
8
|
+
const { refetch, authClient, baseURL } = chunk4B44SRRP_cjs.useVuerAuth();
|
|
9
|
+
const signOutHandle = react.useCallback(() => {
|
|
10
|
+
return authClient.signOut();
|
|
11
|
+
}, [authClient]);
|
|
12
|
+
const signInHandle = react.useCallback(
|
|
13
|
+
(props) => {
|
|
14
|
+
return chunkLSKJOUAE_cjs.signInHandler({ ...props, baseURL }, refetch);
|
|
15
|
+
},
|
|
16
|
+
[baseURL, refetch]
|
|
17
|
+
);
|
|
18
|
+
return react.useMemo(() => {
|
|
19
|
+
return {
|
|
20
|
+
signIn: signInHandle,
|
|
21
|
+
signOut: signOutHandle
|
|
22
|
+
};
|
|
23
|
+
}, [signInHandle, signOutHandle]);
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
exports.useVuerMethod = useVuerMethod;
|
|
@@ -8,12 +8,12 @@ function Toolbar({ className, children, variant = "default", size = "md" }) {
|
|
|
8
8
|
"div",
|
|
9
9
|
{
|
|
10
10
|
className: chunkOHIB3TEN_cjs.cn(
|
|
11
|
-
"bg-bg-primary flex items-center gap-2
|
|
12
|
-
"liquid:liquid-bg",
|
|
11
|
+
"bg-bg-primary flex items-center gap-2",
|
|
12
|
+
"liquid:liquid-bg liquid:shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
|
|
13
13
|
size === "sm" && "rounded-uk-md p-1.5",
|
|
14
14
|
size === "md" && "rounded-uk-lg p-1.5",
|
|
15
15
|
size === "lg" && "rounded-uk-xl p-1.5",
|
|
16
|
-
variant === "floating" && "rounded-[var(--radius-uk-md)] bg-white
|
|
16
|
+
variant === "floating" && "rounded-[var(--radius-uk-md)] bg-white dark:bg-gray-900" && (size === "sm" ? "px-1 py-1" : size === "md" ? "px-2 py-2" : "px-3 py-3"),
|
|
17
17
|
className
|
|
18
18
|
),
|
|
19
19
|
children
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkZULCZ5L6_cjs = require('./chunk-ZULCZ5L6.cjs');
|
|
4
|
+
var react = require('react');
|
|
5
|
+
|
|
6
|
+
var useVuerAuth = () => {
|
|
7
|
+
const context = react.useContext(chunkZULCZ5L6_cjs.AuthContext);
|
|
8
|
+
if (context === void 0) throw new Error("useSession must be used within a SessionContext");
|
|
9
|
+
return context;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
exports.useVuerAuth = useVuerAuth;
|
|
@@ -2,7 +2,7 @@ import { memo } from 'react';
|
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
|
|
4
4
|
// src/ui/theme/themeScript.tsx
|
|
5
|
-
var themeScript = (
|
|
5
|
+
var themeScript = (defaultBaseTheme, defaultIsLiquid, storageKey, attribute, themes, value, forcedTheme, enableSystem, enableColorScheme) => {
|
|
6
6
|
const el = document.documentElement;
|
|
7
7
|
function updateDOM(theme) {
|
|
8
8
|
const attributes = Array.isArray(attribute) ? attribute : [attribute];
|
|
@@ -24,16 +24,6 @@ var themeScript = (defaultTheme, storageKey, attribute, themes, value, forcedThe
|
|
|
24
24
|
el.style.colorScheme = isDark ? "dark" : "light";
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
function parseOldTheme(oldTheme) {
|
|
28
|
-
if (oldTheme === "system") {
|
|
29
|
-
return { baseTheme: "system", isLiquid: false };
|
|
30
|
-
}
|
|
31
|
-
if (oldTheme.startsWith("liquid-")) {
|
|
32
|
-
const base = oldTheme.replace("liquid-", "");
|
|
33
|
-
return { baseTheme: base, isLiquid: true };
|
|
34
|
-
}
|
|
35
|
-
return { baseTheme: oldTheme, isLiquid: false };
|
|
36
|
-
}
|
|
37
27
|
function computeTheme(baseTheme, isLiquid, systemIsDark) {
|
|
38
28
|
let resolvedBase;
|
|
39
29
|
if (baseTheme === "system") {
|
|
@@ -45,27 +35,21 @@ var themeScript = (defaultTheme, storageKey, attribute, themes, value, forcedThe
|
|
|
45
35
|
}
|
|
46
36
|
function getStoredState() {
|
|
47
37
|
try {
|
|
48
|
-
const
|
|
49
|
-
const
|
|
50
|
-
if (
|
|
38
|
+
const storedBase = localStorage.getItem(`${storageKey}-base`);
|
|
39
|
+
const storedLiquid = localStorage.getItem(`${storageKey}-liquid`);
|
|
40
|
+
if (storedBase !== null && storedLiquid !== null) {
|
|
51
41
|
return {
|
|
52
|
-
baseTheme,
|
|
53
|
-
isLiquid:
|
|
42
|
+
baseTheme: storedBase,
|
|
43
|
+
isLiquid: storedLiquid === "true"
|
|
54
44
|
};
|
|
55
45
|
}
|
|
56
|
-
const oldTheme = localStorage.getItem(storageKey);
|
|
57
|
-
if (oldTheme) {
|
|
58
|
-
return parseOldTheme(oldTheme);
|
|
59
|
-
}
|
|
60
|
-
const defaultBaseTheme = enableSystem ? "system" : "light";
|
|
61
46
|
return {
|
|
62
47
|
baseTheme: defaultBaseTheme,
|
|
63
|
-
isLiquid:
|
|
48
|
+
isLiquid: defaultIsLiquid
|
|
64
49
|
};
|
|
65
50
|
} catch {
|
|
66
|
-
const defaultBaseTheme = enableSystem ? "system" : "light";
|
|
67
51
|
return {
|
|
68
|
-
baseTheme:
|
|
52
|
+
baseTheme: "system",
|
|
69
53
|
isLiquid: true
|
|
70
54
|
};
|
|
71
55
|
}
|
|
@@ -99,14 +83,16 @@ var ThemeScript = memo(
|
|
|
99
83
|
attribute,
|
|
100
84
|
enableSystem,
|
|
101
85
|
enableColorScheme,
|
|
102
|
-
|
|
86
|
+
defaultBaseTheme,
|
|
87
|
+
defaultIsLiquid,
|
|
103
88
|
value,
|
|
104
89
|
themes,
|
|
105
90
|
nonce,
|
|
106
91
|
scriptProps
|
|
107
92
|
}) => {
|
|
108
93
|
const scriptArgs = JSON.stringify([
|
|
109
|
-
|
|
94
|
+
defaultBaseTheme,
|
|
95
|
+
defaultIsLiquid,
|
|
110
96
|
storageKey,
|
|
111
97
|
attribute,
|
|
112
98
|
themes,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkGOGJVFRN_cjs = require('./chunk-GOGJVFRN.cjs');
|
|
4
|
+
var react = require('react');
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
|
|
7
|
+
var RadInput = react.forwardRef(function RadInput2({ value = 0, onChange, display = "rad", ...props }, ref) {
|
|
8
|
+
const displayValue = react.useMemo(() => {
|
|
9
|
+
if (display === "deg") {
|
|
10
|
+
return value * 180 / Math.PI;
|
|
11
|
+
} else if (display === "pi") {
|
|
12
|
+
return value / Math.PI;
|
|
13
|
+
}
|
|
14
|
+
return value;
|
|
15
|
+
}, [value, display]);
|
|
16
|
+
const handleChange = (displayVal) => {
|
|
17
|
+
let radValue = displayVal;
|
|
18
|
+
if (display === "deg") {
|
|
19
|
+
radValue = displayVal * Math.PI / 180;
|
|
20
|
+
} else if (display === "pi") {
|
|
21
|
+
radValue = displayVal * Math.PI;
|
|
22
|
+
}
|
|
23
|
+
onChange?.(radValue);
|
|
24
|
+
};
|
|
25
|
+
const suffix = react.useMemo(() => {
|
|
26
|
+
if (display === "deg") return "\xB0";
|
|
27
|
+
if (display === "pi") return "\u03C0";
|
|
28
|
+
return "rad";
|
|
29
|
+
}, [display]);
|
|
30
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31
|
+
chunkGOGJVFRN_cjs.InputNumbers,
|
|
32
|
+
{
|
|
33
|
+
ref,
|
|
34
|
+
value: [displayValue],
|
|
35
|
+
onValuesChange: (values) => handleChange(values[0]),
|
|
36
|
+
suffix: [suffix],
|
|
37
|
+
...props
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
exports.RadInput = RadInput;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkGOGJVFRN_cjs = require('./chunk-GOGJVFRN.cjs');
|
|
4
4
|
var react = require('react');
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
|
|
@@ -22,7 +22,7 @@ var IntInput = react.forwardRef(function IntInput2({ value = 0, onChange, ...pro
|
|
|
22
22
|
[onChange]
|
|
23
23
|
);
|
|
24
24
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
25
|
-
|
|
25
|
+
chunkGOGJVFRN_cjs.InputNumbers,
|
|
26
26
|
{
|
|
27
27
|
ref,
|
|
28
28
|
value: [value],
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { signInHandler } from './chunk-7KQXX7QB.mjs';
|
|
2
|
+
import { useVuerAuth } from './chunk-3IVDCAFM.mjs';
|
|
3
|
+
import { useCallback, useMemo } from 'react';
|
|
4
|
+
|
|
5
|
+
var useVuerMethod = () => {
|
|
6
|
+
const { refetch, authClient, baseURL } = useVuerAuth();
|
|
7
|
+
const signOutHandle = useCallback(() => {
|
|
8
|
+
return authClient.signOut();
|
|
9
|
+
}, [authClient]);
|
|
10
|
+
const signInHandle = useCallback(
|
|
11
|
+
(props) => {
|
|
12
|
+
return signInHandler({ ...props, baseURL }, refetch);
|
|
13
|
+
},
|
|
14
|
+
[baseURL, refetch]
|
|
15
|
+
);
|
|
16
|
+
return useMemo(() => {
|
|
17
|
+
return {
|
|
18
|
+
signIn: signInHandle,
|
|
19
|
+
signOut: signOutHandle
|
|
20
|
+
};
|
|
21
|
+
}, [signInHandle, signOutHandle]);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export { useVuerMethod };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InputNumbers } from './chunk-
|
|
2
|
-
import { Button } from './chunk-
|
|
1
|
+
import { InputNumbers } from './chunk-7HOEFGEO.mjs';
|
|
2
|
+
import { Button } from './chunk-CZ4GQOXG.mjs';
|
|
3
3
|
import { cn } from './chunk-HMN4IKTG.mjs';
|
|
4
4
|
import { forwardRef, useState } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkGOGJVFRN_cjs = require('./chunk-GOGJVFRN.cjs');
|
|
4
|
+
var chunkHBIZQDDS_cjs = require('./chunk-HBIZQDDS.cjs');
|
|
5
5
|
var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
|
|
6
6
|
var react = require('react');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -19,7 +19,7 @@ var PresetsInput = react.forwardRef(function PresetsInput2({ presets, value = 0,
|
|
|
19
19
|
};
|
|
20
20
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkOHIB3TEN_cjs.cn("gap-xs grid grid-cols-5", className), children: [
|
|
21
21
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-full", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22
|
-
|
|
22
|
+
chunkGOGJVFRN_cjs.InputNumbers,
|
|
23
23
|
{
|
|
24
24
|
...props,
|
|
25
25
|
ref,
|
|
@@ -30,7 +30,7 @@ var PresetsInput = react.forwardRef(function PresetsInput2({ presets, value = 0,
|
|
|
30
30
|
) }),
|
|
31
31
|
presets.map((p, i) => {
|
|
32
32
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
33
|
-
|
|
33
|
+
chunkHBIZQDDS_cjs.Button,
|
|
34
34
|
{
|
|
35
35
|
size,
|
|
36
36
|
variant: "secondary",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InputRoot, InputSlot } from './chunk-
|
|
1
|
+
import { InputRoot, InputSlot } from './chunk-LRSDE62T.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,54 @@
|
|
|
1
|
+
import { bearerToken } from './chunk-WGVKFNG6.mjs';
|
|
2
|
+
|
|
3
|
+
// src/auth/handler/sign-in-handler.ts
|
|
4
|
+
var signInHandler = (props, refetch) => {
|
|
5
|
+
const { authMode } = props;
|
|
6
|
+
if (authMode === "redirect") {
|
|
7
|
+
return sigInWithRedirect(props);
|
|
8
|
+
} else {
|
|
9
|
+
return sigInWithPopup(props, refetch);
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
var sigInWithPopup = async (props, refetch) => {
|
|
13
|
+
const { callbackURL, baseURL } = props;
|
|
14
|
+
const width = 500;
|
|
15
|
+
const height = 600;
|
|
16
|
+
const left = (window.screen.width - width) / 2;
|
|
17
|
+
const top = (window.screen.height - height) / 2;
|
|
18
|
+
const authPopup = window.open(
|
|
19
|
+
`${baseURL}/authorize?origin=${encodeURIComponent(window.location.origin)}`,
|
|
20
|
+
"vuer-auth-center",
|
|
21
|
+
`width=${width},height=${height},top=${top},left=${left}`
|
|
22
|
+
);
|
|
23
|
+
return new Promise((resolve) => {
|
|
24
|
+
const handle = (event) => {
|
|
25
|
+
const trustedDomains = [baseURL];
|
|
26
|
+
if (!trustedDomains.includes(event.origin)) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
if (event.data.type === "READY") {
|
|
30
|
+
authPopup?.postMessage({ type: "REQUEST_TOKEN" }, baseURL);
|
|
31
|
+
}
|
|
32
|
+
if (event.data.type === "AUTH_TOKEN") {
|
|
33
|
+
const token = event.data.token;
|
|
34
|
+
if (token) {
|
|
35
|
+
localStorage.setItem(bearerToken, token);
|
|
36
|
+
window.removeEventListener("message", handle);
|
|
37
|
+
resolve(token);
|
|
38
|
+
if (callbackURL) {
|
|
39
|
+
window.location.href = callbackURL;
|
|
40
|
+
} else {
|
|
41
|
+
refetch();
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
window.addEventListener("message", handle);
|
|
47
|
+
});
|
|
48
|
+
};
|
|
49
|
+
var sigInWithRedirect = (props) => {
|
|
50
|
+
const { callbackURL, baseURL } = props;
|
|
51
|
+
window.location.href = `${baseURL}/authorize?callbackURL=${encodeURIComponent(callbackURL)}`;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export { signInHandler };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { useTimelineState } from './chunk-JWKOW2OV.mjs';
|
|
2
2
|
import { useViewport } from './chunk-VPQ5SSY3.mjs';
|
|
3
|
+
import { LeftWedge, RightWedge } from './chunk-IR334P7F.mjs';
|
|
4
|
+
import { WheelZoomContext } from './chunk-CIPI2V54.mjs';
|
|
5
|
+
import { CursorOverlay } from './chunk-SA5WKLYB.mjs';
|
|
3
6
|
import { NavigationControls } from './chunk-5EXV5EWF.mjs';
|
|
4
7
|
import { Tick } from './chunk-K22BEXUA.mjs';
|
|
5
8
|
import { TimeRuleEventDot } from './chunk-OC4HRPZU.mjs';
|
|
6
9
|
import { TimelineEvent } from './chunk-N6DSPSMM.mjs';
|
|
7
10
|
import { TimelineProcessBar } from './chunk-CO6EASQO.mjs';
|
|
8
11
|
import { rightWedgeClasses, leftWedgeClasses, TOTAL_DURATION } from './chunk-4U232QAX.mjs';
|
|
9
|
-
import {
|
|
10
|
-
import { WheelZoomContext } from './chunk-CIPI2V54.mjs';
|
|
11
|
-
import { TreeSearchBar } from './chunk-73VF2W3D.mjs';
|
|
12
|
+
import { TreeSearchBar } from './chunk-EI5ZOFWX.mjs';
|
|
12
13
|
import { TreeView } from './chunk-VQPJ7TLB.mjs';
|
|
13
14
|
import { useTreeState, useTreeSearch } from './chunk-PC5DHSC4.mjs';
|
|
14
|
-
import { CursorOverlay } from './chunk-SA5WKLYB.mjs';
|
|
15
15
|
import { TooltipProvider } from './chunk-ZNPI2TYG.mjs';
|
|
16
16
|
import { SyncScroll, SyncDragY, SyncScrollSlave } from './chunk-PDOFOJ4P.mjs';
|
|
17
17
|
import { cn } from './chunk-HMN4IKTG.mjs';
|