@vuer-ai/vuer-uikit 0.0.100 → 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-2WD4ZL27.cjs +26 -0
- 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-3VVQWVDE.mjs +24 -0
- 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-KXKEZ3MH.mjs → chunk-7P563TWH.mjs} +6 -6
- 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-QHPFLC2O.mjs → chunk-BFNETXJK.mjs} +228 -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-K4I4YU6N.cjs → chunk-JMFTHHHE.cjs} +7 -7
- 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-XBTBTLID.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-XGXWOY3U.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-OEI7NCF6.cjs → chunk-Z6KE4XDB.cjs} +256 -45
- 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 +69 -67
- package/dist/dial/DialPanel.mjs +68 -66
- package/dist/dial/index.cjs +85 -83
- package/dist/dial/index.mjs +68 -66
- package/dist/dial/wrapped-inputs/ControlledInputs.cjs +76 -70
- 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 +68 -66
- package/dist/dial/wrapped-inputs/DialInputs.cjs +91 -77
- package/dist/dial/wrapped-inputs/DialInputs.d.cts +6 -1
- package/dist/dial/wrapped-inputs/DialInputs.d.ts +6 -1
- package/dist/dial/wrapped-inputs/DialInputs.mjs +68 -66
- 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 +69 -67
- package/dist/dial/wrapped-inputs/DialVectorInput.mjs +68 -66
- package/dist/dial/wrapped-inputs/index.cjs +104 -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 +68 -66
- 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 +412 -426
- package/dist/index.css +13 -13
- package/dist/index.d.cts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.mjs +68 -66
- 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 +362 -376
- package/dist/ui/index.d.cts +5 -3
- package/dist/ui/index.d.ts +5 -3
- package/dist/ui/index.mjs +65 -63
- package/dist/ui/inputs/color-input.cjs +7 -7
- package/dist/ui/inputs/color-input.mjs +6 -6
- package/dist/ui/inputs/index.cjs +64 -54
- package/dist/ui/inputs/index.d.cts +2 -0
- package/dist/ui/inputs/index.d.ts +2 -0
- package/dist/ui/inputs/index.mjs +25 -23
- 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 +44 -44
- 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 +21 -0
- package/dist/ui/inputs/text-input.d.cts +27 -0
- package/dist/ui/inputs/text-input.d.ts +27 -0
- package/dist/ui/inputs/text-input.mjs +12 -0
- 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 +11 -11
- 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 +15 -15
- package/dist/ui/waterfall/index.mjs +14 -14
- 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 +58 -5
- package/src/dial/wrapped-inputs/ControlledInputs.tsx +17 -0
- package/src/dial/wrapped-inputs/DialInputs.tsx +113 -0
- package/src/dial/wrapped-inputs/DialPresetsInput.tsx +79 -0
- package/src/dial/wrapped-inputs/index.ts +7 -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 +2 -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/inputs/text-input.tsx +43 -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-FIWBOGQV.mjs → chunk-2KQRWXNO.mjs} +0 -0
- package/dist/{chunk-65OSA4MM.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
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { TooltipProvider, Tooltip, TooltipTrigger, TooltipContent } from './chunk-ZNPI2TYG.mjs';
|
|
2
|
+
import { Skeleton } from './chunk-DWWM2TV3.mjs';
|
|
2
3
|
import { Separator } from './chunk-OWGKZAOO.mjs';
|
|
3
4
|
import { Sheet, SheetContent, SheetHeader, SheetTitle, SheetDescription } from './chunk-W3RJNSWQ.mjs';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { Button } from './chunk-INHZ5D7P.mjs';
|
|
5
|
+
import { InputRoot } from './chunk-LRSDE62T.mjs';
|
|
6
|
+
import { Button } from './chunk-CZ4GQOXG.mjs';
|
|
7
7
|
import { useIsMobile } from './chunk-XHJDRQD7.mjs';
|
|
8
8
|
import { cn } from './chunk-HMN4IKTG.mjs';
|
|
9
9
|
import { Slot } from '@radix-ui/react-slot';
|
|
@@ -267,7 +267,7 @@ function SidebarHeader({ className, ...props }) {
|
|
|
267
267
|
{
|
|
268
268
|
"data-slot": "sidebar-header",
|
|
269
269
|
"data-sidebar": "header",
|
|
270
|
-
className: cn("text-uk-lg leading-uk-lg px-md flex flex-col", className),
|
|
270
|
+
className: cn("text-uk-lg leading-uk-lg px-md py-lg flex flex-col", className),
|
|
271
271
|
...props
|
|
272
272
|
}
|
|
273
273
|
);
|
|
@@ -278,7 +278,7 @@ function SidebarFooter({ className, ...props }) {
|
|
|
278
278
|
{
|
|
279
279
|
"data-slot": "sidebar-footer",
|
|
280
280
|
"data-sidebar": "footer",
|
|
281
|
-
className: cn("px-lg flex flex-col", className),
|
|
281
|
+
className: cn("px-md py-lg flex flex-col", className),
|
|
282
282
|
...props
|
|
283
283
|
}
|
|
284
284
|
);
|
|
@@ -289,10 +289,7 @@ function SidebarSeparator({ className, ...props }) {
|
|
|
289
289
|
{
|
|
290
290
|
"data-slot": "sidebar-separator",
|
|
291
291
|
"data-sidebar": "separator",
|
|
292
|
-
className: cn("bg-line-primary
|
|
293
|
-
style: {
|
|
294
|
-
width: "calc(100% + var(--spacing-lg) * 2)"
|
|
295
|
-
},
|
|
292
|
+
className: cn("bg-line-primary", className),
|
|
296
293
|
...props
|
|
297
294
|
}
|
|
298
295
|
);
|
|
@@ -380,7 +377,7 @@ function SidebarMenu({ className, ...props }) {
|
|
|
380
377
|
{
|
|
381
378
|
"data-slot": "sidebar-menu",
|
|
382
379
|
"data-sidebar": "menu",
|
|
383
|
-
className: cn("gap-
|
|
380
|
+
className: cn("py-md gap-sm flex w-full min-w-0 flex-col", className),
|
|
384
381
|
style: {
|
|
385
382
|
paddingLeft: "0px",
|
|
386
383
|
marginBottom: "0px"
|
|
@@ -585,10 +582,11 @@ function SidebarMenuSubButton({
|
|
|
585
582
|
"data-size": size,
|
|
586
583
|
"data-active": isActive,
|
|
587
584
|
className: cn(
|
|
588
|
-
"text-text-primary ring-sidebar-ring hover:bg-bg-secondary hover:text-text-primary active:bg-bg-tertiary active:text-text-highlight [&>svg]:text-icon-primary gap-md rounded-uk-md px-lg flex h-[32px] min-w-0 -translate-x-px items-center overflow-hidden outline-hidden
|
|
585
|
+
"text-text-primary ring-sidebar-ring hover:bg-bg-secondary hover:text-text-primary active:bg-bg-tertiary active:text-text-highlight [&>svg]:text-icon-primary gap-md rounded-uk-md px-lg flex h-[32px] min-w-0 -translate-x-px cursor-pointer items-center overflow-hidden outline-hidden disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-[16px] [&>svg]:shrink-0",
|
|
589
586
|
size === "sm" && "text-uk-sm leading-uk-sm",
|
|
590
587
|
size === "md" && "text-uk-md leading-uk-md",
|
|
591
588
|
"group-data-[collapsible=icon]:hidden",
|
|
589
|
+
isActive && "bg-bg-tertiary text-text-highlight [&>svg]:text-icon-highlight hover:bg-bg-tertiary hover:text-text-highlight",
|
|
592
590
|
className
|
|
593
591
|
),
|
|
594
592
|
...props
|
|
@@ -1,12 +1,12 @@
|
|
|
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
|
|
|
7
7
|
var DegInput = react.forwardRef(function DegInput2({ value = 0, onChange, ...props }, ref) {
|
|
8
8
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9
|
-
|
|
9
|
+
chunkGOGJVFRN_cjs.InputNumbers,
|
|
10
10
|
{
|
|
11
11
|
ref,
|
|
12
12
|
value: [value],
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { createClient } from './chunk-PZMA33PL.mjs';
|
|
2
|
+
import { AuthContext } from './chunk-TC3W4VRO.mjs';
|
|
3
|
+
import { bearerToken } from './chunk-WGVKFNG6.mjs';
|
|
4
|
+
import { useRef, useEffect, useMemo } from 'react';
|
|
5
|
+
import { jsx } from 'react/jsx-runtime';
|
|
6
|
+
|
|
7
|
+
function VuerAuthProvider({ children, baseURL }) {
|
|
8
|
+
const authClient = useRef(createClient(baseURL));
|
|
9
|
+
const { data, isPending, refetch } = authClient.current.useSession();
|
|
10
|
+
useEffect(() => {
|
|
11
|
+
const searchParams = new URLSearchParams(window.location.search);
|
|
12
|
+
const session = searchParams.get("token");
|
|
13
|
+
if (session) {
|
|
14
|
+
localStorage.setItem(bearerToken, encodeURIComponent(session));
|
|
15
|
+
refetch();
|
|
16
|
+
window.history.replaceState({}, "", window.location.pathname);
|
|
17
|
+
}
|
|
18
|
+
}, [refetch]);
|
|
19
|
+
return /* @__PURE__ */ jsx(
|
|
20
|
+
AuthContext.Provider,
|
|
21
|
+
{
|
|
22
|
+
value: useMemo(() => {
|
|
23
|
+
return { data, isPending, refetch, authClient: authClient.current, baseURL };
|
|
24
|
+
}, [baseURL, data, isPending, refetch]),
|
|
25
|
+
children
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { VuerAuthProvider };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { RadInput } from './chunk-IY36FZ5R.mjs';
|
|
2
|
+
import { Button } from './chunk-CZ4GQOXG.mjs';
|
|
3
|
+
import { cn } from './chunk-HMN4IKTG.mjs';
|
|
4
|
+
import { forwardRef, useState } from 'react';
|
|
5
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
|
+
|
|
7
|
+
var PresetsRadInput = forwardRef(
|
|
8
|
+
function PresetsRadInput2({ presets, value = 0, onChange, display = "rad", size, className, ...props }, ref) {
|
|
9
|
+
const [preset, setPreset] = useState(value);
|
|
10
|
+
const handleValueChange = (newValue) => {
|
|
11
|
+
setPreset(newValue);
|
|
12
|
+
onChange?.(newValue);
|
|
13
|
+
};
|
|
14
|
+
const handlePresetClick = (presetValue) => {
|
|
15
|
+
setPreset(presetValue);
|
|
16
|
+
onChange?.(presetValue);
|
|
17
|
+
};
|
|
18
|
+
const getDisplayValue = (radValue) => {
|
|
19
|
+
if (display === "deg") {
|
|
20
|
+
return radValue * 180 / Math.PI;
|
|
21
|
+
} else if (display === "pi") {
|
|
22
|
+
return radValue / Math.PI;
|
|
23
|
+
}
|
|
24
|
+
return radValue;
|
|
25
|
+
};
|
|
26
|
+
const formatDisplayValue = (radValue) => {
|
|
27
|
+
const displayValue = getDisplayValue(radValue);
|
|
28
|
+
if (display === "pi") {
|
|
29
|
+
return `${displayValue.toFixed(2)}\u03C0`;
|
|
30
|
+
} else if (display === "deg") {
|
|
31
|
+
return `${displayValue.toFixed(0)}\xB0`;
|
|
32
|
+
}
|
|
33
|
+
return displayValue.toFixed(2);
|
|
34
|
+
};
|
|
35
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("gap-xs grid grid-cols-5", className), children: [
|
|
36
|
+
/* @__PURE__ */ jsx("div", { className: "col-span-full", children: /* @__PURE__ */ jsx(
|
|
37
|
+
RadInput,
|
|
38
|
+
{
|
|
39
|
+
...props,
|
|
40
|
+
ref,
|
|
41
|
+
size,
|
|
42
|
+
value: preset,
|
|
43
|
+
onChange: handleValueChange,
|
|
44
|
+
display
|
|
45
|
+
}
|
|
46
|
+
) }),
|
|
47
|
+
presets.map((p, i) => {
|
|
48
|
+
return /* @__PURE__ */ jsx(
|
|
49
|
+
Button,
|
|
50
|
+
{
|
|
51
|
+
size,
|
|
52
|
+
variant: "secondary",
|
|
53
|
+
className: "h-6",
|
|
54
|
+
onClick: () => handlePresetClick(p),
|
|
55
|
+
children: formatDisplayValue(p)
|
|
56
|
+
},
|
|
57
|
+
i
|
|
58
|
+
);
|
|
59
|
+
})
|
|
60
|
+
] });
|
|
61
|
+
}
|
|
62
|
+
);
|
|
63
|
+
|
|
64
|
+
export { PresetsRadInput };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkJFIAWTRH_cjs = require('./chunk-JFIAWTRH.cjs');
|
|
4
|
+
var react = require('react');
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
|
|
7
|
+
var EulerRadInput = react.forwardRef(
|
|
8
|
+
function EulerRadInput2({ value, onValuesChange, display = "rad", ...props }, ref) {
|
|
9
|
+
const displayValues = react.useMemo(() => {
|
|
10
|
+
if (display === "deg") {
|
|
11
|
+
return value.map((v) => v * 180 / Math.PI);
|
|
12
|
+
} else if (display === "pi") {
|
|
13
|
+
return value.map((v) => v / Math.PI);
|
|
14
|
+
}
|
|
15
|
+
return value;
|
|
16
|
+
}, [value, display]);
|
|
17
|
+
const handleChange = (displayVals) => {
|
|
18
|
+
let radValues;
|
|
19
|
+
if (display === "deg") {
|
|
20
|
+
radValues = displayVals.map((v) => v * Math.PI / 180);
|
|
21
|
+
} else if (display === "pi") {
|
|
22
|
+
radValues = displayVals.map((v) => v * Math.PI);
|
|
23
|
+
} else {
|
|
24
|
+
radValues = displayVals;
|
|
25
|
+
}
|
|
26
|
+
onValuesChange?.(radValues);
|
|
27
|
+
};
|
|
28
|
+
const unitSymbol = react.useMemo(() => {
|
|
29
|
+
if (display === "deg") return "\xB0";
|
|
30
|
+
if (display === "pi") return "\u03C0";
|
|
31
|
+
return "rad";
|
|
32
|
+
}, [display]);
|
|
33
|
+
const labels = [`x${unitSymbol}`, `y${unitSymbol}`, `z${unitSymbol}`];
|
|
34
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
35
|
+
chunkJFIAWTRH_cjs.VectorInput,
|
|
36
|
+
{
|
|
37
|
+
ref,
|
|
38
|
+
value: displayValues,
|
|
39
|
+
onValuesChange: handleChange,
|
|
40
|
+
labels,
|
|
41
|
+
...props
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
|
|
47
|
+
exports.EulerRadInput = EulerRadInput;
|
|
@@ -1,12 +1,12 @@
|
|
|
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
|
|
|
7
7
|
var CmInput = react.forwardRef(function CmInput2({ value = 0, onChange, ...props }, ref) {
|
|
8
8
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9
|
-
|
|
9
|
+
chunkGOGJVFRN_cjs.InputNumbers,
|
|
10
10
|
{
|
|
11
11
|
ref,
|
|
12
12
|
value: [value],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { InputRoot } from './chunk-LRSDE62T.mjs';
|
|
1
2
|
import { Tabs } from './chunk-B53A4WNW.mjs';
|
|
2
3
|
import { Textarea } from './chunk-25RDJXX7.mjs';
|
|
3
4
|
import { SelectTrigger } from './chunk-CX6OFX5Z.mjs';
|
|
4
|
-
import {
|
|
5
|
-
import { Button } from './chunk-INHZ5D7P.mjs';
|
|
5
|
+
import { Button } from './chunk-CZ4GQOXG.mjs';
|
|
6
6
|
import { withCursor } from './chunk-RAHKRYQJ.mjs';
|
|
7
7
|
|
|
8
8
|
// src/highlight-cursor/enhanced-components.tsx
|
|
@@ -1,21 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
1
|
+
import { Vec3Input } from './chunk-SYX6TMCQ.mjs';
|
|
2
|
+
import { EulerRadInput } from './chunk-IXNXSECD.mjs';
|
|
3
|
+
import { InchInput } from './chunk-3TUONMQ6.mjs';
|
|
4
|
+
import { IntInput } from './chunk-4JGGLCXT.mjs';
|
|
5
|
+
import { QuaternionInput } from './chunk-VUMOJPEC.mjs';
|
|
6
|
+
import { TimeInput } from './chunk-JUSFLIU5.mjs';
|
|
7
|
+
import { CmInput } from './chunk-PTGMHZFS.mjs';
|
|
8
|
+
import { DegInput } from './chunk-CGUQWS2I.mjs';
|
|
9
|
+
import { EulerDegInput } from './chunk-24IUD6Q3.mjs';
|
|
10
|
+
import { EulerInput } from './chunk-ZNM6PNI6.mjs';
|
|
11
|
+
import { VectorInput } from './chunk-VEWWUO2N.mjs';
|
|
12
|
+
import { ColorInput } from './chunk-EXQQRW7T.mjs';
|
|
13
|
+
import { PresetsInput } from './chunk-6XOTWZFC.mjs';
|
|
14
|
+
import { RadInput } from './chunk-IY36FZ5R.mjs';
|
|
15
|
+
import { TextInput } from './chunk-3VVQWVDE.mjs';
|
|
13
16
|
import { Slider } from './chunk-Y6WGGVT2.mjs';
|
|
17
|
+
import { Switch } from './chunk-AZBJB6KC.mjs';
|
|
14
18
|
import { Label } from './chunk-42UBHC2D.mjs';
|
|
15
19
|
import { FormLayout } from './chunk-NRQJX772.mjs';
|
|
16
|
-
import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-CX6OFX5Z.mjs';
|
|
17
|
-
import { InputRoot, InputSlot } from './chunk-4XUJBMDE.mjs';
|
|
18
20
|
import { useDialSchema } from './chunk-3HEZVWRW.mjs';
|
|
21
|
+
import { InputRoot, InputSlot } from './chunk-LRSDE62T.mjs';
|
|
22
|
+
import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-CX6OFX5Z.mjs';
|
|
19
23
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
20
24
|
|
|
21
25
|
var DialInputWrapper = ({ label, children }) => {
|
|
@@ -332,6 +336,152 @@ var DialTimeInput = ({
|
|
|
332
336
|
return /* @__PURE__ */ jsx(DialInputWrapper, { label, children: /* @__PURE__ */ jsx(TimeInput, { value, onChange: (val) => setValue(name, val), size, step }) });
|
|
333
337
|
}
|
|
334
338
|
};
|
|
339
|
+
var DialTextInput = ({
|
|
340
|
+
name,
|
|
341
|
+
label,
|
|
342
|
+
size = "sm",
|
|
343
|
+
labelPosition,
|
|
344
|
+
placeholder
|
|
345
|
+
}) => {
|
|
346
|
+
const { getValue, setValue } = useDialSchema();
|
|
347
|
+
const value = getValue(name) ?? "";
|
|
348
|
+
if (labelPosition === "inline") {
|
|
349
|
+
return /* @__PURE__ */ jsx(
|
|
350
|
+
TextInput,
|
|
351
|
+
{
|
|
352
|
+
value,
|
|
353
|
+
onChange: (val) => setValue(name, val),
|
|
354
|
+
size,
|
|
355
|
+
placeholder,
|
|
356
|
+
prefix: label
|
|
357
|
+
}
|
|
358
|
+
);
|
|
359
|
+
} else {
|
|
360
|
+
return /* @__PURE__ */ jsx(DialInputWrapper, { label, children: /* @__PURE__ */ jsx(
|
|
361
|
+
TextInput,
|
|
362
|
+
{
|
|
363
|
+
value,
|
|
364
|
+
onChange: (val) => setValue(name, val),
|
|
365
|
+
size,
|
|
366
|
+
placeholder
|
|
367
|
+
}
|
|
368
|
+
) });
|
|
369
|
+
}
|
|
370
|
+
};
|
|
371
|
+
var DialEulerRadInput = ({
|
|
372
|
+
name,
|
|
373
|
+
label,
|
|
374
|
+
size = "sm",
|
|
375
|
+
step,
|
|
376
|
+
labelPosition
|
|
377
|
+
}) => {
|
|
378
|
+
const { getValue, setValue } = useDialSchema();
|
|
379
|
+
const value = getValue(name) ?? [0, 0, 0];
|
|
380
|
+
if (labelPosition === "inline") {
|
|
381
|
+
return /* @__PURE__ */ jsx(
|
|
382
|
+
EulerRadInput,
|
|
383
|
+
{
|
|
384
|
+
value,
|
|
385
|
+
onValuesChange: (val) => setValue(name, val),
|
|
386
|
+
size,
|
|
387
|
+
step,
|
|
388
|
+
display: "deg",
|
|
389
|
+
prefix: label ? [label, "", ""] : void 0
|
|
390
|
+
}
|
|
391
|
+
);
|
|
392
|
+
} else {
|
|
393
|
+
return /* @__PURE__ */ jsx(DialInputWrapper, { label, children: /* @__PURE__ */ jsx(
|
|
394
|
+
EulerRadInput,
|
|
395
|
+
{
|
|
396
|
+
value,
|
|
397
|
+
onValuesChange: (val) => setValue(name, val),
|
|
398
|
+
size,
|
|
399
|
+
step,
|
|
400
|
+
display: "deg"
|
|
401
|
+
}
|
|
402
|
+
) });
|
|
403
|
+
}
|
|
404
|
+
};
|
|
405
|
+
var DialNumberRadInput = ({
|
|
406
|
+
name,
|
|
407
|
+
label,
|
|
408
|
+
size = "sm",
|
|
409
|
+
step,
|
|
410
|
+
labelPosition
|
|
411
|
+
}) => {
|
|
412
|
+
const { getValue, setValue } = useDialSchema();
|
|
413
|
+
const value = getValue(name) ?? 0;
|
|
414
|
+
const degValue = value * 180 / Math.PI;
|
|
415
|
+
const handleChange = (deg) => {
|
|
416
|
+
const rad = deg * Math.PI / 180;
|
|
417
|
+
setValue(name, rad);
|
|
418
|
+
};
|
|
419
|
+
if (labelPosition === "inline") {
|
|
420
|
+
return /* @__PURE__ */ jsx(
|
|
421
|
+
DegInput,
|
|
422
|
+
{
|
|
423
|
+
value: degValue,
|
|
424
|
+
onChange: handleChange,
|
|
425
|
+
size,
|
|
426
|
+
step,
|
|
427
|
+
prefix: label ? [label] : void 0
|
|
428
|
+
}
|
|
429
|
+
);
|
|
430
|
+
} 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
|
+
) });
|
|
483
|
+
}
|
|
484
|
+
};
|
|
335
485
|
var DialVectorInput2 = ({
|
|
336
486
|
name,
|
|
337
487
|
label,
|
|
@@ -464,12 +614,36 @@ var DialPanel = ({ schemas, groups: groupConfigs }) => {
|
|
|
464
614
|
},
|
|
465
615
|
name
|
|
466
616
|
);
|
|
617
|
+
case "euler-rad":
|
|
618
|
+
return /* @__PURE__ */ jsx(
|
|
619
|
+
DialEulerRadInput,
|
|
620
|
+
{
|
|
621
|
+
name,
|
|
622
|
+
label,
|
|
623
|
+
step,
|
|
624
|
+
labelPosition
|
|
625
|
+
},
|
|
626
|
+
name
|
|
627
|
+
);
|
|
467
628
|
case "vector":
|
|
468
629
|
case "vector-6":
|
|
469
630
|
case "number-group":
|
|
470
631
|
return /* @__PURE__ */ jsx(DialVectorInput2, { name, label }, name);
|
|
471
632
|
case "boolean":
|
|
472
633
|
return /* @__PURE__ */ jsx(DialBooleanInput, { name, label, labelPosition }, name);
|
|
634
|
+
case "number-slider":
|
|
635
|
+
return /* @__PURE__ */ jsx(
|
|
636
|
+
DialSliderInput,
|
|
637
|
+
{
|
|
638
|
+
name,
|
|
639
|
+
label,
|
|
640
|
+
min,
|
|
641
|
+
max,
|
|
642
|
+
step,
|
|
643
|
+
labelPosition
|
|
644
|
+
},
|
|
645
|
+
name
|
|
646
|
+
);
|
|
473
647
|
case "number-int":
|
|
474
648
|
return /* @__PURE__ */ jsx(
|
|
475
649
|
DialIntInput,
|
|
@@ -481,10 +655,21 @@ var DialPanel = ({ schemas, groups: groupConfigs }) => {
|
|
|
481
655
|
},
|
|
482
656
|
name
|
|
483
657
|
);
|
|
658
|
+
case "number-rad":
|
|
659
|
+
return /* @__PURE__ */ jsx(
|
|
660
|
+
DialNumberRadInput,
|
|
661
|
+
{
|
|
662
|
+
name,
|
|
663
|
+
label,
|
|
664
|
+
step,
|
|
665
|
+
labelPosition
|
|
666
|
+
},
|
|
667
|
+
name
|
|
668
|
+
);
|
|
484
669
|
case "number":
|
|
485
670
|
if (min !== void 0 && max !== void 0 && !options) {
|
|
486
671
|
return /* @__PURE__ */ jsx(
|
|
487
|
-
|
|
672
|
+
DialNumberInput,
|
|
488
673
|
{
|
|
489
674
|
name,
|
|
490
675
|
label,
|
|
@@ -498,7 +683,7 @@ var DialPanel = ({ schemas, groups: groupConfigs }) => {
|
|
|
498
683
|
}
|
|
499
684
|
if (options && options.length > 0) {
|
|
500
685
|
return /* @__PURE__ */ jsx(
|
|
501
|
-
|
|
686
|
+
DialPresetsInput,
|
|
502
687
|
{
|
|
503
688
|
name,
|
|
504
689
|
label,
|
|
@@ -520,7 +705,10 @@ var DialPanel = ({ schemas, groups: groupConfigs }) => {
|
|
|
520
705
|
},
|
|
521
706
|
name
|
|
522
707
|
);
|
|
708
|
+
case "color":
|
|
709
|
+
return /* @__PURE__ */ jsx(DialColorInput, { name, label }, name);
|
|
523
710
|
case "string":
|
|
711
|
+
case "text":
|
|
524
712
|
if (options && options.length > 0) {
|
|
525
713
|
return /* @__PURE__ */ jsx(
|
|
526
714
|
DialSelectInput,
|
|
@@ -533,7 +721,16 @@ var DialPanel = ({ schemas, groups: groupConfigs }) => {
|
|
|
533
721
|
name
|
|
534
722
|
);
|
|
535
723
|
}
|
|
536
|
-
return
|
|
724
|
+
return /* @__PURE__ */ jsx(
|
|
725
|
+
DialTextInput,
|
|
726
|
+
{
|
|
727
|
+
name,
|
|
728
|
+
label,
|
|
729
|
+
placeholder: `Enter ${label.toLowerCase()}`,
|
|
730
|
+
labelPosition
|
|
731
|
+
},
|
|
732
|
+
name
|
|
733
|
+
);
|
|
537
734
|
default:
|
|
538
735
|
return null;
|
|
539
736
|
}
|
|
@@ -551,7 +748,7 @@ var DialPanel = ({ schemas, groups: groupConfigs }) => {
|
|
|
551
748
|
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) }) })
|
|
552
749
|
] });
|
|
553
750
|
};
|
|
554
|
-
var
|
|
751
|
+
var DialInputWrapper3 = ({ label, children }) => {
|
|
555
752
|
if (!label) {
|
|
556
753
|
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
557
754
|
}
|
|
@@ -583,7 +780,7 @@ var DialNumberInput = ({
|
|
|
583
780
|
if (labelPosition === "inline") {
|
|
584
781
|
return /* @__PURE__ */ jsx(InputRoot, { ...inputProps, children: label ? /* @__PURE__ */ jsx(InputSlot, { side: "left", children: label }) : null });
|
|
585
782
|
} else {
|
|
586
|
-
return /* @__PURE__ */ jsx(
|
|
783
|
+
return /* @__PURE__ */ jsx(DialInputWrapper3, { label, children: /* @__PURE__ */ jsx(InputRoot, { ...inputProps }) });
|
|
587
784
|
}
|
|
588
785
|
};
|
|
589
786
|
var DialBooleanInput = ({ name, label, labelPosition }) => {
|
|
@@ -601,6 +798,15 @@ var DialBooleanInput = ({ name, label, labelPosition }) => {
|
|
|
601
798
|
/* @__PURE__ */ jsx(Switch, { ...switchProps })
|
|
602
799
|
] });
|
|
603
800
|
};
|
|
801
|
+
var DialColorInput = ({ name, label }) => {
|
|
802
|
+
const { getValue, setValue } = useDialSchema();
|
|
803
|
+
const value = getValue(name) ?? "";
|
|
804
|
+
const inputComp = /* @__PURE__ */ jsx(ColorInput, { value, onChange: (e) => setValue(name, e.target.value), prefix: label });
|
|
805
|
+
if (!label) {
|
|
806
|
+
return inputComp;
|
|
807
|
+
}
|
|
808
|
+
return /* @__PURE__ */ jsx(DialInputWrapper3, { label, children: inputComp });
|
|
809
|
+
};
|
|
604
810
|
var DialSelectInput = ({
|
|
605
811
|
name,
|
|
606
812
|
options = [],
|
|
@@ -627,7 +833,7 @@ var DialSelectInput = ({
|
|
|
627
833
|
if (!label) {
|
|
628
834
|
return selectComponent;
|
|
629
835
|
}
|
|
630
|
-
return /* @__PURE__ */ jsx(
|
|
836
|
+
return /* @__PURE__ */ jsx(DialInputWrapper3, { label, children: selectComponent });
|
|
631
837
|
};
|
|
632
838
|
var DialSliderInput = ({
|
|
633
839
|
name,
|
|
@@ -655,7 +861,7 @@ var DialSliderInput = ({
|
|
|
655
861
|
if (!label) {
|
|
656
862
|
return sliderComponent;
|
|
657
863
|
}
|
|
658
|
-
return /* @__PURE__ */ jsx(
|
|
864
|
+
return /* @__PURE__ */ jsx(DialInputWrapper3, { label, children: sliderComponent });
|
|
659
865
|
};
|
|
660
866
|
|
|
661
|
-
export { DialBooleanInput, DialCmInput, DialDegInput, DialEulerDegInput, DialEulerInput, DialInchInput, DialIntInput, DialNumberInput, DialPanel, DialQuaternionInput, DialRadInput, DialSelectInput, DialSliderInput, DialTimeInput, DialVec3Input, DialVectorInput, DialVectorInput2 };
|
|
867
|
+
export { DialBooleanInput, DialCmInput, DialColorInput, DialDegInput, DialEulerDegInput, DialEulerInput, DialEulerRadInput, DialInchInput, DialIntInput, DialNumberInput, DialNumberRadInput, DialPanel, DialPresetsInput, DialQuaternionInput, DialRadInput, DialSelectInput, DialSliderInput, DialTextInput, DialTimeInput, DialVec3Input, DialVectorInput, DialVectorInput2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var chunkLQGXG373_cjs = require('./chunk-LQGXG373.cjs');
|
|
3
4
|
var chunkL6LCOLOV_cjs = require('./chunk-L6LCOLOV.cjs');
|
|
4
5
|
var chunk7DFI7CUK_cjs = require('./chunk-7DFI7CUK.cjs');
|
|
5
6
|
var chunkYMSWUGHW_cjs = require('./chunk-YMSWUGHW.cjs');
|
|
6
|
-
var
|
|
7
|
-
var chunkNSQOQD43_cjs = require('./chunk-NSQOQD43.cjs');
|
|
7
|
+
var chunkHBIZQDDS_cjs = require('./chunk-HBIZQDDS.cjs');
|
|
8
8
|
var chunkWJY6BMVR_cjs = require('./chunk-WJY6BMVR.cjs');
|
|
9
9
|
|
|
10
10
|
// src/highlight-cursor/enhanced-components.tsx
|
|
11
|
-
var CursorButton = chunkWJY6BMVR_cjs.withCursor(
|
|
11
|
+
var CursorButton = chunkWJY6BMVR_cjs.withCursor(chunkHBIZQDDS_cjs.Button);
|
|
12
12
|
var CursorTabs = chunkWJY6BMVR_cjs.withCursor(chunkL6LCOLOV_cjs.Tabs);
|
|
13
|
-
var CursorInputRoot = chunkWJY6BMVR_cjs.withCursor(
|
|
13
|
+
var CursorInputRoot = chunkWJY6BMVR_cjs.withCursor(chunkLQGXG373_cjs.InputRoot);
|
|
14
14
|
var CursorSelectTrigger = chunkWJY6BMVR_cjs.withCursor(chunkYMSWUGHW_cjs.SelectTrigger);
|
|
15
15
|
var CursorTextarea = chunkWJY6BMVR_cjs.withCursor(chunk7DFI7CUK_cjs.Textarea);
|
|
16
16
|
|