@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
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk6BD5MQ5R_cjs = require('./chunk-6BD5MQ5R.cjs');
|
|
4
|
+
var chunkCHYXRETV_cjs = require('./chunk-CHYXRETV.cjs');
|
|
5
|
+
var react = require('better-auth/react');
|
|
6
|
+
|
|
7
|
+
var createClient = (baseURL) => {
|
|
8
|
+
return react.createAuthClient({
|
|
9
|
+
...chunkCHYXRETV_cjs.options,
|
|
10
|
+
baseURL,
|
|
11
|
+
fetchOptions: {
|
|
12
|
+
auth: {
|
|
13
|
+
type: "Bearer",
|
|
14
|
+
token: () => localStorage.getItem(chunk6BD5MQ5R_cjs.bearerToken) || ""
|
|
15
|
+
// get the token from localStorage
|
|
16
|
+
},
|
|
17
|
+
onSuccess: (ctx) => {
|
|
18
|
+
const jwt = ctx.response.headers.get("set-auth-jwt");
|
|
19
|
+
if (jwt) {
|
|
20
|
+
localStorage.setItem(chunk6BD5MQ5R_cjs.jwtToken, jwt);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
exports.createClient = createClient;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk2CZEFXEW_cjs = require('./chunk-2CZEFXEW.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkLQGXG373_cjs = require('./chunk-LQGXG373.cjs');
|
|
5
5
|
var chunkG5JZGNKY_cjs = require('./chunk-G5JZGNKY.cjs');
|
|
6
6
|
var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
|
|
7
7
|
var lucideReact = require('lucide-react');
|
|
@@ -259,7 +259,7 @@ function TreeSearchBar({
|
|
|
259
259
|
}) {
|
|
260
260
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "shrink-0", children: [
|
|
261
261
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-1 py-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
262
|
-
|
|
262
|
+
chunkLQGXG373_cjs.InputRoot,
|
|
263
263
|
{
|
|
264
264
|
type: "text",
|
|
265
265
|
placeholder: "Search...",
|
|
@@ -269,8 +269,8 @@ function TreeSearchBar({
|
|
|
269
269
|
value: searchQuery,
|
|
270
270
|
onChange: (e) => setSearchQuery(e.target.value),
|
|
271
271
|
children: [
|
|
272
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
273
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
272
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLQGXG373_cjs.InputSlot, { side: "left", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Search, { className: "text-text-secondary size-4 stroke-1" }) }),
|
|
273
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLQGXG373_cjs.InputSlot, { side: "right", children: /* @__PURE__ */ jsxRuntime.jsxs(chunk2CZEFXEW_cjs.TooltipProvider, { delayDuration: 200, children: [
|
|
274
274
|
/* @__PURE__ */ jsxRuntime.jsxs(chunk2CZEFXEW_cjs.Tooltip, { children: [
|
|
275
275
|
/* @__PURE__ */ jsxRuntime.jsx(chunk2CZEFXEW_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
276
276
|
"button",
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { VectorInput } from './chunk-VEWWUO2N.mjs';
|
|
2
|
+
import { forwardRef, useMemo } from 'react';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
var EulerRadInput = forwardRef(
|
|
6
|
+
function EulerRadInput2({ value, onValuesChange, display = "rad", ...props }, ref) {
|
|
7
|
+
const displayValues = useMemo(() => {
|
|
8
|
+
if (display === "deg") {
|
|
9
|
+
return value.map((v) => v * 180 / Math.PI);
|
|
10
|
+
} else if (display === "pi") {
|
|
11
|
+
return value.map((v) => v / Math.PI);
|
|
12
|
+
}
|
|
13
|
+
return value;
|
|
14
|
+
}, [value, display]);
|
|
15
|
+
const handleChange = (displayVals) => {
|
|
16
|
+
let radValues;
|
|
17
|
+
if (display === "deg") {
|
|
18
|
+
radValues = displayVals.map((v) => v * Math.PI / 180);
|
|
19
|
+
} else if (display === "pi") {
|
|
20
|
+
radValues = displayVals.map((v) => v * Math.PI);
|
|
21
|
+
} else {
|
|
22
|
+
radValues = displayVals;
|
|
23
|
+
}
|
|
24
|
+
onValuesChange?.(radValues);
|
|
25
|
+
};
|
|
26
|
+
const unitSymbol = useMemo(() => {
|
|
27
|
+
if (display === "deg") return "\xB0";
|
|
28
|
+
if (display === "pi") return "\u03C0";
|
|
29
|
+
return "rad";
|
|
30
|
+
}, [display]);
|
|
31
|
+
const labels = [`x${unitSymbol}`, `y${unitSymbol}`, `z${unitSymbol}`];
|
|
32
|
+
return /* @__PURE__ */ jsx(
|
|
33
|
+
VectorInput,
|
|
34
|
+
{
|
|
35
|
+
ref,
|
|
36
|
+
value: displayValues,
|
|
37
|
+
onValuesChange: handleChange,
|
|
38
|
+
labels,
|
|
39
|
+
...props
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
export { EulerRadInput };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { InputNumbers } from './chunk-7HOEFGEO.mjs';
|
|
2
|
+
import { forwardRef, useMemo } from 'react';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
var RadInput = forwardRef(function RadInput2({ value = 0, onChange, display = "rad", ...props }, ref) {
|
|
6
|
+
const displayValue = useMemo(() => {
|
|
7
|
+
if (display === "deg") {
|
|
8
|
+
return value * 180 / Math.PI;
|
|
9
|
+
} else if (display === "pi") {
|
|
10
|
+
return value / Math.PI;
|
|
11
|
+
}
|
|
12
|
+
return value;
|
|
13
|
+
}, [value, display]);
|
|
14
|
+
const handleChange = (displayVal) => {
|
|
15
|
+
let radValue = displayVal;
|
|
16
|
+
if (display === "deg") {
|
|
17
|
+
radValue = displayVal * Math.PI / 180;
|
|
18
|
+
} else if (display === "pi") {
|
|
19
|
+
radValue = displayVal * Math.PI;
|
|
20
|
+
}
|
|
21
|
+
onChange?.(radValue);
|
|
22
|
+
};
|
|
23
|
+
const suffix = useMemo(() => {
|
|
24
|
+
if (display === "deg") return "\xB0";
|
|
25
|
+
if (display === "pi") return "\u03C0";
|
|
26
|
+
return "rad";
|
|
27
|
+
}, [display]);
|
|
28
|
+
return /* @__PURE__ */ jsx(
|
|
29
|
+
InputNumbers,
|
|
30
|
+
{
|
|
31
|
+
ref,
|
|
32
|
+
value: [displayValue],
|
|
33
|
+
onValuesChange: (values) => handleChange(values[0]),
|
|
34
|
+
suffix: [suffix],
|
|
35
|
+
...props
|
|
36
|
+
}
|
|
37
|
+
);
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
export { RadInput };
|
|
@@ -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 VectorInput = react.forwardRef(function VectorInput2({ labels, prefix, gridAutoFlow, columns, rows, layout, columnMajor, ...props }, ref) {
|
|
8
8
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9
|
-
|
|
9
|
+
chunkGOGJVFRN_cjs.InputNumbers,
|
|
10
10
|
{
|
|
11
11
|
ref,
|
|
12
12
|
prefix: labels || prefix,
|
|
@@ -1,13 +1,13 @@
|
|
|
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
|
|
|
7
7
|
var KVectorInput = react.forwardRef(function KVectorInput2({ value, dimensions, ...props }, ref) {
|
|
8
8
|
const k = dimensions || value.length;
|
|
9
9
|
const labels = Array.from({ length: k }, (_, i) => `${i}`);
|
|
10
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkJFIAWTRH_cjs.VectorInput, { ref, value, labels, ...props });
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
exports.KVectorInput = KVectorInput;
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkWJL5HMO6_cjs = require('./chunk-WJL5HMO6.cjs');
|
|
4
4
|
var chunkRJ7I6ZQK_cjs = require('./chunk-RJ7I6ZQK.cjs');
|
|
5
|
+
var chunk5MNZYCN2_cjs = require('./chunk-5MNZYCN2.cjs');
|
|
6
|
+
var chunkZ6UDRPC2_cjs = require('./chunk-Z6UDRPC2.cjs');
|
|
7
|
+
var chunk2J75MYQA_cjs = require('./chunk-2J75MYQA.cjs');
|
|
8
|
+
var chunkLP3AGGRK_cjs = require('./chunk-LP3AGGRK.cjs');
|
|
5
9
|
var chunk6TSA7KXX_cjs = require('./chunk-6TSA7KXX.cjs');
|
|
6
10
|
var chunkMVAFOQ67_cjs = require('./chunk-MVAFOQ67.cjs');
|
|
7
11
|
var chunkTUYG6BYZ_cjs = require('./chunk-TUYG6BYZ.cjs');
|
|
8
12
|
var chunkYXFHJKNW_cjs = require('./chunk-YXFHJKNW.cjs');
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var chunk55RSKLJ5_cjs = require('./chunk-55RSKLJ5.cjs');
|
|
13
|
+
var chunkG2ZYONQO_cjs = require('./chunk-G2ZYONQO.cjs');
|
|
14
|
+
var chunkXG56MLQH_cjs = require('./chunk-XG56MLQH.cjs');
|
|
12
15
|
var chunkHAVTMZR3_cjs = require('./chunk-HAVTMZR3.cjs');
|
|
13
16
|
var chunkEEGQLTSQ_cjs = require('./chunk-EEGQLTSQ.cjs');
|
|
14
|
-
var chunk2J75MYQA_cjs = require('./chunk-2J75MYQA.cjs');
|
|
15
|
-
var chunkLP3AGGRK_cjs = require('./chunk-LP3AGGRK.cjs');
|
|
16
|
-
var chunkG2ZYONQO_cjs = require('./chunk-G2ZYONQO.cjs');
|
|
17
17
|
var chunk2CZEFXEW_cjs = require('./chunk-2CZEFXEW.cjs');
|
|
18
18
|
var chunkG5JZGNKY_cjs = require('./chunk-G5JZGNKY.cjs');
|
|
19
19
|
var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
|
|
@@ -95,7 +95,7 @@ function Waterfall({
|
|
|
95
95
|
style: { width: panelWidth },
|
|
96
96
|
children: [
|
|
97
97
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
98
|
-
|
|
98
|
+
chunkXG56MLQH_cjs.TreeSearchBar,
|
|
99
99
|
{
|
|
100
100
|
className: "p-1",
|
|
101
101
|
searchQuery,
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk5XBMFADS_cjs = require('./chunk-5XBMFADS.cjs');
|
|
4
|
+
var chunkHBIZQDDS_cjs = require('./chunk-HBIZQDDS.cjs');
|
|
5
|
+
var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
|
|
6
|
+
var react = require('react');
|
|
7
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
8
|
+
|
|
9
|
+
var PresetsRadInput = react.forwardRef(
|
|
10
|
+
function PresetsRadInput2({ presets, value = 0, onChange, display = "rad", size, className, ...props }, ref) {
|
|
11
|
+
const [preset, setPreset] = react.useState(value);
|
|
12
|
+
const handleValueChange = (newValue) => {
|
|
13
|
+
setPreset(newValue);
|
|
14
|
+
onChange?.(newValue);
|
|
15
|
+
};
|
|
16
|
+
const handlePresetClick = (presetValue) => {
|
|
17
|
+
setPreset(presetValue);
|
|
18
|
+
onChange?.(presetValue);
|
|
19
|
+
};
|
|
20
|
+
const getDisplayValue = (radValue) => {
|
|
21
|
+
if (display === "deg") {
|
|
22
|
+
return radValue * 180 / Math.PI;
|
|
23
|
+
} else if (display === "pi") {
|
|
24
|
+
return radValue / Math.PI;
|
|
25
|
+
}
|
|
26
|
+
return radValue;
|
|
27
|
+
};
|
|
28
|
+
const formatDisplayValue = (radValue) => {
|
|
29
|
+
const displayValue = getDisplayValue(radValue);
|
|
30
|
+
if (display === "pi") {
|
|
31
|
+
return `${displayValue.toFixed(2)}\u03C0`;
|
|
32
|
+
} else if (display === "deg") {
|
|
33
|
+
return `${displayValue.toFixed(0)}\xB0`;
|
|
34
|
+
}
|
|
35
|
+
return displayValue.toFixed(2);
|
|
36
|
+
};
|
|
37
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkOHIB3TEN_cjs.cn("gap-xs grid grid-cols-5", className), children: [
|
|
38
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-full", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
39
|
+
chunk5XBMFADS_cjs.RadInput,
|
|
40
|
+
{
|
|
41
|
+
...props,
|
|
42
|
+
ref,
|
|
43
|
+
size,
|
|
44
|
+
value: preset,
|
|
45
|
+
onChange: handleValueChange,
|
|
46
|
+
display
|
|
47
|
+
}
|
|
48
|
+
) }),
|
|
49
|
+
presets.map((p, i) => {
|
|
50
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
51
|
+
chunkHBIZQDDS_cjs.Button,
|
|
52
|
+
{
|
|
53
|
+
size,
|
|
54
|
+
variant: "secondary",
|
|
55
|
+
className: "h-6",
|
|
56
|
+
onClick: () => handlePresetClick(p),
|
|
57
|
+
children: formatDisplayValue(p)
|
|
58
|
+
},
|
|
59
|
+
i
|
|
60
|
+
);
|
|
61
|
+
})
|
|
62
|
+
] });
|
|
63
|
+
}
|
|
64
|
+
);
|
|
65
|
+
|
|
66
|
+
exports.PresetsRadInput = PresetsRadInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { buttonVariants } from './chunk-
|
|
1
|
+
import { buttonVariants } from './chunk-CZ4GQOXG.mjs';
|
|
2
2
|
import { useTabsCursor, TabsCursorProvider } from './chunk-XMG3IVGZ.mjs';
|
|
3
3
|
import { cn } from './chunk-HMN4IKTG.mjs';
|
|
4
4
|
import { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from 'lucide-react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWHV4VATL_cjs = require('./chunk-WHV4VATL.cjs');
|
|
4
4
|
var react = require('react');
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
|
|
@@ -31,21 +31,23 @@ var computeTheme = (baseTheme, isLiquid, systemIsDark) => {
|
|
|
31
31
|
}
|
|
32
32
|
return isLiquid ? `liquid-${resolvedBase}` : resolvedBase;
|
|
33
33
|
};
|
|
34
|
-
|
|
35
|
-
if (oldTheme === "system") {
|
|
36
|
-
return { baseTheme: "system", isLiquid: false };
|
|
37
|
-
}
|
|
38
|
-
if (oldTheme.startsWith("liquid-")) {
|
|
39
|
-
const base = oldTheme.replace("liquid-", "");
|
|
40
|
-
return { baseTheme: base, isLiquid: true };
|
|
41
|
-
}
|
|
42
|
-
return { baseTheme: oldTheme, isLiquid: false };
|
|
43
|
-
};
|
|
44
|
-
var useTheme = () => {
|
|
34
|
+
function useTheme(selector) {
|
|
45
35
|
const context = react.useContext(ThemeContext);
|
|
46
36
|
if (context === void 0) throw new Error("useTheme must be used within a ThemeProvider");
|
|
47
|
-
return
|
|
48
|
-
|
|
37
|
+
return react.useMemo(
|
|
38
|
+
() => {
|
|
39
|
+
if (!selector) {
|
|
40
|
+
return context;
|
|
41
|
+
} else if (typeof selector === "function") {
|
|
42
|
+
return selector(context);
|
|
43
|
+
} else {
|
|
44
|
+
return context[selector];
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
48
|
+
[context]
|
|
49
|
+
);
|
|
50
|
+
}
|
|
49
51
|
var ThemeProvider = (props) => {
|
|
50
52
|
const context = react.useContext(ThemeContext);
|
|
51
53
|
if (context) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: props.children });
|
|
@@ -97,8 +99,7 @@ var Theme = ({
|
|
|
97
99
|
);
|
|
98
100
|
const resolvedTheme = react.useMemo(() => {
|
|
99
101
|
if (forcedTheme) {
|
|
100
|
-
|
|
101
|
-
return computeTheme(parsed.baseTheme, parsed.isLiquid, systemIsDark);
|
|
102
|
+
return forcedTheme;
|
|
102
103
|
}
|
|
103
104
|
return computedTheme;
|
|
104
105
|
}, [forcedTheme, computedTheme, systemIsDark]);
|
|
@@ -130,10 +131,13 @@ var Theme = ({
|
|
|
130
131
|
},
|
|
131
132
|
[attribute, attrs, disableTransitionOnChange, enableColorScheme, nonce, value]
|
|
132
133
|
);
|
|
133
|
-
const setBaseTheme = react.useCallback(
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
134
|
+
const setBaseTheme = react.useCallback(
|
|
135
|
+
(newBaseTheme) => {
|
|
136
|
+
setBaseThemeState(newBaseTheme);
|
|
137
|
+
saveToLS(`${storageKey}-base`, newBaseTheme);
|
|
138
|
+
},
|
|
139
|
+
[storageKey]
|
|
140
|
+
);
|
|
137
141
|
const toggleLiquid = react.useCallback(() => {
|
|
138
142
|
setIsLiquidState((prev) => {
|
|
139
143
|
const newValue = !prev;
|
|
@@ -141,13 +145,10 @@ var Theme = ({
|
|
|
141
145
|
return newValue;
|
|
142
146
|
});
|
|
143
147
|
}, [storageKey]);
|
|
144
|
-
const handleMediaQuery = react.useCallback(
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
},
|
|
149
|
-
[]
|
|
150
|
-
);
|
|
148
|
+
const handleMediaQuery = react.useCallback((e) => {
|
|
149
|
+
const isDark = e.matches;
|
|
150
|
+
setSystemIsDark(isDark);
|
|
151
|
+
}, []);
|
|
151
152
|
react.useEffect(() => {
|
|
152
153
|
const media = window.matchMedia(MEDIA);
|
|
153
154
|
media.addListener(handleMediaQuery);
|
|
@@ -195,7 +196,7 @@ var Theme = ({
|
|
|
195
196
|
);
|
|
196
197
|
return /* @__PURE__ */ jsxRuntime.jsxs(ThemeContext.Provider, { value: contextValue, children: [
|
|
197
198
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
198
|
-
|
|
199
|
+
chunkWHV4VATL_cjs.ThemeScript,
|
|
199
200
|
{
|
|
200
201
|
...{
|
|
201
202
|
forcedTheme,
|
|
@@ -203,7 +204,8 @@ var Theme = ({
|
|
|
203
204
|
attribute,
|
|
204
205
|
enableSystem,
|
|
205
206
|
enableColorScheme,
|
|
206
|
-
|
|
207
|
+
defaultBaseTheme: initialState.baseTheme,
|
|
208
|
+
defaultIsLiquid: initialState.isLiquid,
|
|
207
209
|
value,
|
|
208
210
|
themes,
|
|
209
211
|
nonce,
|
|
@@ -254,6 +256,5 @@ exports.getFromLS = getFromLS;
|
|
|
254
256
|
exports.getSystemTheme = getSystemTheme;
|
|
255
257
|
exports.getTheme = getTheme;
|
|
256
258
|
exports.isServer = isServer;
|
|
257
|
-
exports.parseOldTheme = parseOldTheme;
|
|
258
259
|
exports.saveToLS = saveToLS;
|
|
259
260
|
exports.useTheme = useTheme;
|
|
@@ -6,12 +6,12 @@ function Toolbar({ className, children, variant = "default", size = "md" }) {
|
|
|
6
6
|
"div",
|
|
7
7
|
{
|
|
8
8
|
className: cn(
|
|
9
|
-
"bg-bg-primary flex items-center gap-2
|
|
10
|
-
"liquid:liquid-bg",
|
|
9
|
+
"bg-bg-primary flex items-center gap-2",
|
|
10
|
+
"liquid:liquid-bg liquid:shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
|
|
11
11
|
size === "sm" && "rounded-uk-md p-1.5",
|
|
12
12
|
size === "md" && "rounded-uk-lg p-1.5",
|
|
13
13
|
size === "lg" && "rounded-uk-xl p-1.5",
|
|
14
|
-
variant === "floating" && "rounded-[var(--radius-uk-md)] bg-white
|
|
14
|
+
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"),
|
|
15
15
|
className
|
|
16
16
|
),
|
|
17
17
|
children
|
|
@@ -11,11 +11,8 @@ var inputRootVariants = classVarianceAuthority.cva(
|
|
|
11
11
|
{
|
|
12
12
|
variants: {
|
|
13
13
|
state: {
|
|
14
|
-
default: [
|
|
15
|
-
|
|
16
|
-
"has-[input:focus]:bg-bg-secondary"
|
|
17
|
-
],
|
|
18
|
-
disabled: ["disabled:cursor-not-allowed", "bg-bg-secondary", "text-text-secondary"],
|
|
14
|
+
default: ["hover:bg-bg-secondary/80", "has-[input:focus]:bg-bg-secondary"],
|
|
15
|
+
disabled: ["disabled:cursor-not-allowed", "bg-bg-quaternary", "text-text-secondary"],
|
|
19
16
|
error: ["hover:bg-danger-primary/10", "bg-danger-primary/20"]
|
|
20
17
|
},
|
|
21
18
|
size: {
|
|
@@ -76,7 +73,8 @@ var InputRoot = react.forwardRef(function InputRoot2({ style, className, side, c
|
|
|
76
73
|
"data-[side=center]:text-center",
|
|
77
74
|
"[input[type=number]]:font-number-input",
|
|
78
75
|
"[&::-webkit-inner-spin-button]:appearance-none",
|
|
79
|
-
"[&::-webkit-outer-spin-button]:appearance-none"
|
|
76
|
+
"[&::-webkit-outer-spin-button]:appearance-none",
|
|
77
|
+
"disabled:cursor-not-allowed"
|
|
80
78
|
],
|
|
81
79
|
inputClassName
|
|
82
80
|
)
|
|
@@ -9,11 +9,8 @@ var inputRootVariants = cva(
|
|
|
9
9
|
{
|
|
10
10
|
variants: {
|
|
11
11
|
state: {
|
|
12
|
-
default: [
|
|
13
|
-
|
|
14
|
-
"has-[input:focus]:bg-bg-secondary"
|
|
15
|
-
],
|
|
16
|
-
disabled: ["disabled:cursor-not-allowed", "bg-bg-secondary", "text-text-secondary"],
|
|
12
|
+
default: ["hover:bg-bg-secondary/80", "has-[input:focus]:bg-bg-secondary"],
|
|
13
|
+
disabled: ["disabled:cursor-not-allowed", "bg-bg-quaternary", "text-text-secondary"],
|
|
17
14
|
error: ["hover:bg-danger-primary/10", "bg-danger-primary/20"]
|
|
18
15
|
},
|
|
19
16
|
size: {
|
|
@@ -74,7 +71,8 @@ var InputRoot = forwardRef(function InputRoot2({ style, className, side, childre
|
|
|
74
71
|
"data-[side=center]:text-center",
|
|
75
72
|
"[input[type=number]]:font-number-input",
|
|
76
73
|
"[&::-webkit-inner-spin-button]:appearance-none",
|
|
77
|
-
"[&::-webkit-outer-spin-button]:appearance-none"
|
|
74
|
+
"[&::-webkit-outer-spin-button]:appearance-none",
|
|
75
|
+
"disabled:cursor-not-allowed"
|
|
78
76
|
],
|
|
79
77
|
inputClassName
|
|
80
78
|
)
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk6BD5MQ5R_cjs = require('./chunk-6BD5MQ5R.cjs');
|
|
4
|
+
|
|
5
|
+
// src/auth/handler/sign-in-handler.ts
|
|
6
|
+
var signInHandler = (props, refetch) => {
|
|
7
|
+
const { authMode } = props;
|
|
8
|
+
if (authMode === "redirect") {
|
|
9
|
+
return sigInWithRedirect(props);
|
|
10
|
+
} else {
|
|
11
|
+
return sigInWithPopup(props, refetch);
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
var sigInWithPopup = async (props, refetch) => {
|
|
15
|
+
const { callbackURL, baseURL } = props;
|
|
16
|
+
const width = 500;
|
|
17
|
+
const height = 600;
|
|
18
|
+
const left = (window.screen.width - width) / 2;
|
|
19
|
+
const top = (window.screen.height - height) / 2;
|
|
20
|
+
const authPopup = window.open(
|
|
21
|
+
`${baseURL}/authorize?origin=${encodeURIComponent(window.location.origin)}`,
|
|
22
|
+
"vuer-auth-center",
|
|
23
|
+
`width=${width},height=${height},top=${top},left=${left}`
|
|
24
|
+
);
|
|
25
|
+
return new Promise((resolve) => {
|
|
26
|
+
const handle = (event) => {
|
|
27
|
+
const trustedDomains = [baseURL];
|
|
28
|
+
if (!trustedDomains.includes(event.origin)) {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
if (event.data.type === "READY") {
|
|
32
|
+
authPopup?.postMessage({ type: "REQUEST_TOKEN" }, baseURL);
|
|
33
|
+
}
|
|
34
|
+
if (event.data.type === "AUTH_TOKEN") {
|
|
35
|
+
const token = event.data.token;
|
|
36
|
+
if (token) {
|
|
37
|
+
localStorage.setItem(chunk6BD5MQ5R_cjs.bearerToken, token);
|
|
38
|
+
window.removeEventListener("message", handle);
|
|
39
|
+
resolve(token);
|
|
40
|
+
if (callbackURL) {
|
|
41
|
+
window.location.href = callbackURL;
|
|
42
|
+
} else {
|
|
43
|
+
refetch();
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
window.addEventListener("message", handle);
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
var sigInWithRedirect = (props) => {
|
|
52
|
+
const { callbackURL, baseURL } = props;
|
|
53
|
+
window.location.href = `${baseURL}/authorize?callbackURL=${encodeURIComponent(callbackURL)}`;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
exports.signInHandler = signInHandler;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import { createClientOnlyComponent } from './chunk-4F2GSF2T.mjs';
|
|
2
1
|
import { cn } from './chunk-HMN4IKTG.mjs';
|
|
3
2
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
4
3
|
import React from 'react';
|
|
5
4
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
5
|
|
|
7
|
-
var
|
|
8
|
-
className,
|
|
9
|
-
...props
|
|
10
|
-
}) => /* @__PURE__ */ jsx(
|
|
6
|
+
var Avatar = ({ className, ...props }) => /* @__PURE__ */ jsx(
|
|
11
7
|
AvatarPrimitive.Root,
|
|
12
8
|
{
|
|
13
9
|
"data-slot": "avatar",
|
|
@@ -15,15 +11,7 @@ var AvatarRoot = ({
|
|
|
15
11
|
...props
|
|
16
12
|
}
|
|
17
13
|
);
|
|
18
|
-
var
|
|
19
|
-
"span",
|
|
20
|
-
{
|
|
21
|
-
"data-slot": "avatar",
|
|
22
|
-
className: cn("relative flex size-[24px] shrink-0 overflow-hidden rounded-full", className)
|
|
23
|
-
}
|
|
24
|
-
);
|
|
25
|
-
var Avatar = createClientOnlyComponent(AvatarRoot, AvatarSSRFallback);
|
|
26
|
-
var AvatarImageRoot = ({
|
|
14
|
+
var AvatarImage = ({
|
|
27
15
|
className,
|
|
28
16
|
...props
|
|
29
17
|
}) => /* @__PURE__ */ jsx(
|
|
@@ -34,9 +22,7 @@ var AvatarImageRoot = ({
|
|
|
34
22
|
...props
|
|
35
23
|
}
|
|
36
24
|
);
|
|
37
|
-
var
|
|
38
|
-
var AvatarImage = createClientOnlyComponent(AvatarImageRoot, AvatarImageFallback);
|
|
39
|
-
var AvatarFallbackRoot = ({
|
|
25
|
+
var AvatarFallback = ({
|
|
40
26
|
className,
|
|
41
27
|
...props
|
|
42
28
|
}) => /* @__PURE__ */ jsx(
|
|
@@ -50,21 +36,6 @@ var AvatarFallbackRoot = ({
|
|
|
50
36
|
...props
|
|
51
37
|
}
|
|
52
38
|
);
|
|
53
|
-
var AvatarFallbackSSR = ({
|
|
54
|
-
className,
|
|
55
|
-
...props
|
|
56
|
-
}) => /* @__PURE__ */ jsx(
|
|
57
|
-
"span",
|
|
58
|
-
{
|
|
59
|
-
"data-slot": "avatar-fallback",
|
|
60
|
-
className: cn(
|
|
61
|
-
"bg-bg-tertiary flex size-full items-center justify-center rounded-full",
|
|
62
|
-
className
|
|
63
|
-
),
|
|
64
|
-
...props
|
|
65
|
-
}
|
|
66
|
-
);
|
|
67
|
-
var AvatarFallback = createClientOnlyComponent(AvatarFallbackRoot, AvatarFallbackSSR);
|
|
68
39
|
function AvatarGroup({ children, className, spacing = "normal", max }) {
|
|
69
40
|
const spacingClasses = {
|
|
70
41
|
tight: "-space-x-1.5",
|
|
@@ -104,4 +75,4 @@ function AvatarGroup({ children, className, spacing = "normal", max }) {
|
|
|
104
75
|
] });
|
|
105
76
|
}
|
|
106
77
|
|
|
107
|
-
export { Avatar, AvatarFallback,
|
|
78
|
+
export { Avatar, AvatarFallback, AvatarGroup, AvatarImage };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHBIZQDDS_cjs = require('./chunk-HBIZQDDS.cjs');
|
|
4
4
|
var chunkT3G35JSP_cjs = require('./chunk-T3G35JSP.cjs');
|
|
5
5
|
var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
|
|
6
6
|
var lucideReact = require('lucide-react');
|
|
@@ -56,7 +56,7 @@ function PaginationLink({ className, isActive, size = "md", ...props }) {
|
|
|
56
56
|
"data-slot": "pagination-link",
|
|
57
57
|
"data-active": isActive,
|
|
58
58
|
className: chunkOHIB3TEN_cjs.cn(
|
|
59
|
-
|
|
59
|
+
chunkHBIZQDDS_cjs.buttonVariants({
|
|
60
60
|
variant: isActive ? "secondary" : "ghost",
|
|
61
61
|
size
|
|
62
62
|
}),
|
|
@@ -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 TimeInput = react.forwardRef(function TimeInput2({ 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],
|
|
@@ -23,7 +23,7 @@ function LiquidLayoutLeft({ className, ...props }) {
|
|
|
23
23
|
{
|
|
24
24
|
...props,
|
|
25
25
|
className: cn(
|
|
26
|
-
"order-2 col-start-1 flex flex-col items-start gap-4 [&>*]:pointer-events-auto",
|
|
26
|
+
"order-2 col-start-1 flex flex-col items-start gap-4 overflow-y-auto [&>*]:pointer-events-auto",
|
|
27
27
|
className
|
|
28
28
|
)
|
|
29
29
|
}
|
|
@@ -52,7 +52,7 @@ function LiquidLayoutRight({
|
|
|
52
52
|
{
|
|
53
53
|
...props,
|
|
54
54
|
className: cn(
|
|
55
|
-
"order-4 col-start-3 flex flex-col items-end gap-4 [&>*]:pointer-events-auto",
|
|
55
|
+
"order-4 col-start-3 flex flex-col items-end gap-4 overflow-y-auto [&>*]:pointer-events-auto",
|
|
56
56
|
className
|
|
57
57
|
)
|
|
58
58
|
}
|