@vuer-ai/vuer-uikit 0.0.101 → 0.0.103
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-EC4HJUX6.cjs → chunk-2PJO5UJL.cjs} +11 -11
- package/dist/{chunk-LPA6WYFD.cjs → chunk-2WD4ZL27.cjs} +4 -4
- package/dist/chunk-3IVDCAFM.mjs +10 -0
- package/dist/{chunk-ZZLF2YWP.mjs → chunk-3TUONMQ6.mjs} +1 -1
- package/dist/{chunk-TPPM276W.mjs → chunk-3VVQWVDE.mjs} +1 -1
- package/dist/chunk-4B44SRRP.cjs +12 -0
- package/dist/{chunk-NT5ZTF56.mjs → chunk-4JGGLCXT.mjs} +1 -1
- package/dist/{chunk-YMSWUGHW.cjs → chunk-4PKPCOAF.cjs} +2 -1
- package/dist/{chunk-KMCZXNKA.mjs → chunk-4THQPG6Y.mjs} +1 -1
- package/dist/{chunk-62VCQ2SU.cjs → chunk-4WRTIOGZ.cjs} +3 -2
- package/dist/{chunk-55RSKLJ5.cjs → chunk-5JPYU5A6.cjs} +11 -11
- package/dist/{chunk-PQEAXTVY.mjs → chunk-5KJP6A6C.mjs} +12 -26
- package/dist/{chunk-ZNPI2TYG.mjs → chunk-5MBEK77I.mjs} +5 -13
- package/dist/{chunk-G7FYBSFO.cjs → chunk-5SP25SO3.cjs} +15 -14
- 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-ZPH5LMEM.mjs → chunk-6NSQLHKC.mjs} +1 -1
- package/dist/{chunk-OYNLQTHW.cjs → chunk-6QU4J3HY.cjs} +23 -25
- 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-W3RJNSWQ.mjs → chunk-7NOBQH7O.mjs} +2 -2
- 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-AIYM5PFP.cjs → chunk-BXBSZOBU.cjs} +8 -4
- package/dist/{chunk-5WDPNBQW.cjs → chunk-C6L7YIGW.cjs} +2 -1
- 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-5EXV5EWF.mjs → chunk-D5H4XX6Q.mjs} +1 -1
- package/dist/{chunk-MUQYO2G3.cjs → chunk-D5WOPTKY.cjs} +2 -2
- package/dist/{chunk-CWAVHHJA.cjs → chunk-EAXBNWXE.cjs} +2 -2
- package/dist/{chunk-EAZQH4IX.mjs → chunk-EOSYXHEH.mjs} +1 -1
- package/dist/{chunk-MIGXY5PR.mjs → chunk-EXQQRW7T.mjs} +1 -1
- package/dist/chunk-FBAOEFDU.mjs +24 -0
- package/dist/{chunk-7LLDKYND.mjs → chunk-FK6ZROZE.mjs} +31 -29
- package/dist/{chunk-EBBHJLUX.mjs → chunk-G4Q5ALRW.mjs} +2 -1
- 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-TZC4ST5T.cjs → chunk-HA6M4XKT.cjs} +24 -337
- 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-M5UZ3SBY.cjs → chunk-I2BVWNRP.cjs} +218 -51
- 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-JLWAIMUZ.cjs +26 -0
- package/dist/{chunk-7R2ZBAE6.mjs → chunk-JUSFLIU5.mjs} +1 -1
- package/dist/{chunk-K22BEXUA.mjs → chunk-JVV7W3TP.mjs} +1 -1
- package/dist/{chunk-VO3C6RE2.mjs → chunk-JWUIZX35.mjs} +2 -2
- package/dist/{chunk-6TSA7KXX.cjs → chunk-JWVH6R35.cjs} +1 -1
- package/dist/chunk-JYIVDUDL.cjs +66 -0
- package/dist/{chunk-NTGUD2JN.mjs → chunk-KBC7VNER.mjs} +1 -1
- package/dist/{chunk-CX6OFX5Z.mjs → chunk-KJH46JR3.mjs} +2 -1
- package/dist/{chunk-JM6NBUDT.cjs → chunk-KR7VBV3B.cjs} +31 -30
- package/dist/chunk-LBGZKACW.cjs +30 -0
- package/dist/{chunk-2CZEFXEW.cjs → chunk-LFSCJLL2.cjs} +5 -13
- 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-M6JLGVJ7.mjs +28 -0
- package/dist/{chunk-D3IW2NW6.mjs → chunk-MG5TTPA7.mjs} +3 -2
- package/dist/{chunk-NO35POZW.mjs → chunk-MHJM7YMG.mjs} +4 -33
- package/dist/{chunk-ZAP4EHBO.cjs → chunk-MIT3YWUC.cjs} +2 -2
- package/dist/{chunk-3THWK3HB.mjs → chunk-NHG2ROYB.mjs} +2 -1
- package/dist/{chunk-GDUVAZDW.cjs → chunk-NSUFTZNC.cjs} +2 -2
- package/dist/{chunk-BIUDC66P.mjs → chunk-OLVOIUCE.mjs} +12 -14
- package/dist/{chunk-VTEWRMGQ.mjs → chunk-OPYMZDEZ.mjs} +3 -3
- 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-IJGCH57E.cjs → chunk-QHAGQCVF.cjs} +1 -1
- package/dist/{chunk-CUOGY4FW.mjs → chunk-QZUTRJSP.mjs} +2 -2
- package/dist/{chunk-LG3PNH2P.mjs → chunk-RIJUPORK.mjs} +1 -1
- package/dist/{chunk-SUSABE24.mjs → chunk-S6PSU47F.mjs} +1 -1
- package/dist/{chunk-A2PCEL5S.mjs → chunk-S7SGB2FD.mjs} +3 -3
- package/dist/{chunk-QBFOBDBC.cjs → chunk-SHHQDSSI.cjs} +2 -2
- package/dist/chunk-SMIACO56.mjs +330 -0
- package/dist/{chunk-UCRLH44Q.cjs → chunk-SPRBKXGP.cjs} +2 -2
- package/dist/{chunk-73VF2W3D.mjs → chunk-SUEFWFPX.mjs} +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-OWEYAVGT.mjs → chunk-TYXRHZZG.mjs} +8 -5
- package/dist/{chunk-LP3AGGRK.cjs → chunk-UTS56UA5.cjs} +1 -1
- package/dist/{chunk-OMZHB2FB.cjs → chunk-V3VUFIG3.cjs} +4 -2
- package/dist/{chunk-6CM4GYJU.mjs → chunk-VEWWUO2N.mjs} +1 -1
- package/dist/{chunk-76V4RD4V.cjs → chunk-VLOFKTSL.cjs} +3 -3
- package/dist/{chunk-RU423LFT.cjs → chunk-VQP3QBC6.cjs} +1 -1
- 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-QUFZWF4E.cjs → chunk-WRKB3W2J.cjs} +6 -6
- package/dist/{chunk-JA6XS5KY.cjs → chunk-WZGZX3S2.cjs} +3 -3
- package/dist/{chunk-XGGAJUY3.cjs → chunk-XURKXOZK.cjs} +2 -2
- package/dist/{chunk-U7XH7M5B.mjs → chunk-Y2H4A5AC.mjs} +8 -9
- package/dist/{chunk-MDR7WUX6.cjs → chunk-Y5SVZCPQ.cjs} +13 -14
- package/dist/{chunk-AJYO5W6O.mjs → chunk-YHY6SXVJ.mjs} +11 -10
- package/dist/{chunk-PO2LYHDO.mjs → chunk-YKHK6C4Q.mjs} +4 -2
- package/dist/{chunk-MEE3IHTT.mjs → chunk-YLDDI6SZ.mjs} +186 -23
- package/dist/{chunk-LPVBUX2J.cjs → chunk-YQ5KKJQ3.cjs} +2 -1
- package/dist/{chunk-5TXABUNC.mjs → chunk-ZNM6PNI6.mjs} +1 -1
- package/dist/{chunk-EQIEKFCA.cjs → chunk-ZRRCYQ53.cjs} +3 -3
- package/dist/{chunk-MCYFLR4F.cjs → chunk-ZS7ESTKH.cjs} +1 -1
- package/dist/chunk-ZULCZ5L6.cjs +8 -0
- package/dist/dial/DialPanel.cjs +71 -70
- package/dist/dial/DialPanel.mjs +70 -69
- package/dist/dial/DialProvider.d.cts +1 -0
- package/dist/dial/DialProvider.d.ts +1 -0
- package/dist/dial/index.cjs +87 -86
- package/dist/dial/index.mjs +70 -69
- package/dist/dial/wrapped-inputs/ControlledInputs.cjs +78 -73
- 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 +70 -69
- package/dist/dial/wrapped-inputs/DialInputs.cjs +90 -81
- 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 +70 -69
- 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 +71 -70
- package/dist/dial/wrapped-inputs/DialVectorInput.mjs +70 -69
- package/dist/dial/wrapped-inputs/index.cjs +103 -86
- 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 +70 -69
- package/dist/highlight-cursor/enhanced-components.cjs +13 -13
- package/dist/highlight-cursor/enhanced-components.mjs +8 -8
- package/dist/highlight-cursor/index.cjs +13 -13
- package/dist/highlight-cursor/index.mjs +8 -8
- 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 +437 -456
- package/dist/index.css +28 -21
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.mjs +70 -69
- package/dist/styles/theme.css +15 -8
- 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 +7 -7
- package/dist/ui/badge.mjs +5 -5
- 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 +15 -15
- package/dist/ui/drawer.mjs +5 -5
- 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 +396 -415
- package/dist/ui/index.d.cts +4 -3
- package/dist/ui/index.d.ts +4 -3
- package/dist/ui/index.mjs +68 -67
- 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 +6 -6
- package/dist/ui/layouts/dock-layout/DockLayoutView.mjs +5 -5
- 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 +6 -6
- package/dist/ui/layouts/dock-layout/index.mjs +5 -5
- package/dist/ui/layouts/index.cjs +10 -10
- package/dist/ui/layouts/index.mjs +8 -8
- 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 +15 -15
- package/dist/ui/modal.mjs +5 -5
- 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 +12 -12
- package/dist/ui/panel.mjs +5 -5
- package/dist/ui/popover.cjs +9 -9
- package/dist/ui/popover.mjs +5 -5
- 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 +16 -16
- package/dist/ui/select.mjs +5 -5
- package/dist/ui/separator.cjs +4 -4
- package/dist/ui/separator.mjs +4 -4
- package/dist/ui/sheet.cjs +13 -13
- package/dist/ui/sheet.mjs +5 -5
- package/dist/ui/sidebar.cjs +34 -34
- package/dist/ui/sidebar.mjs +10 -10
- 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 +12 -12
- package/dist/ui/theme/ThemeToggles.mjs +9 -9
- package/dist/ui/theme/index.cjs +17 -21
- package/dist/ui/theme/index.d.cts +1 -1
- package/dist/ui/theme/index.d.ts +1 -1
- package/dist/ui/theme/index.mjs +9 -9
- 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/toast.cjs +3 -3
- package/dist/ui/toast.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 +9 -9
- package/dist/ui/tooltip.mjs +5 -5
- package/dist/ui/tree-view/TreeSearchBar.cjs +8 -8
- package/dist/ui/tree-view/TreeSearchBar.mjs +7 -7
- 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 +9 -9
- package/dist/ui/tree-view/index.mjs +8 -8
- package/dist/ui/tree-view-legacy.cjs +11 -11
- package/dist/ui/tree-view-legacy.mjs +7 -7
- package/dist/ui/waterfall/CursorOverlay.cjs +4 -4
- package/dist/ui/waterfall/CursorOverlay.mjs +4 -4
- package/dist/ui/waterfall/NavigationControls.cjs +2 -2
- package/dist/ui/waterfall/NavigationControls.mjs +1 -1
- package/dist/ui/waterfall/Tick.cjs +2 -2
- package/dist/ui/waterfall/Tick.mjs +1 -1
- 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 +16 -16
- package/dist/ui/waterfall/index.mjs +15 -15
- 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 +47 -4
- package/src/dial/DialProvider.tsx +1 -0
- 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/styles/theme.css +75 -28
- package/src/ui/DialBadge.tsx +18 -7
- package/src/ui/avatar.tsx +4 -85
- package/src/ui/badge.tsx +1 -1
- package/src/ui/button.tsx +0 -5
- package/src/ui/card.tsx +3 -2
- package/src/ui/drawer.tsx +1 -1
- package/src/ui/dropdown.tsx +25 -368
- 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/dock-layout/DockLayoutView.tsx +6 -82
- package/src/ui/layouts/liquid-layout/LayoutSlots.tsx +2 -2
- package/src/ui/modal.tsx +2 -1
- package/src/ui/panel.tsx +2 -1
- package/src/ui/popover.tsx +4 -2
- package/src/ui/select.tsx +2 -1
- package/src/ui/sheet.tsx +2 -2
- package/src/ui/sidebar.tsx +8 -9
- 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/toast.tsx +1 -1
- package/src/ui/toolbar.tsx +3 -3
- package/src/ui/tooltip.tsx +5 -13
- package/src/ui/waterfall/NavigationControls.tsx +1 -1
- package/src/ui/waterfall/Tick.tsx +1 -1
- package/src/ui/waterfall/index.tsx +4 -3
- package/dist/chunk-5T7MTIHW.mjs +0 -75
- 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-KAA4NEHL.cjs +0 -77
- 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
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var chunkHNTVTCNX_cjs = require('./chunk-HNTVTCNX.cjs');
|
|
5
|
-
var chunkXGGAJUY3_cjs = require('./chunk-XGGAJUY3.cjs');
|
|
3
|
+
var chunkLFSCJLL2_cjs = require('./chunk-LFSCJLL2.cjs');
|
|
6
4
|
var chunkYO6X755G_cjs = require('./chunk-YO6X755G.cjs');
|
|
7
|
-
var
|
|
8
|
-
var
|
|
5
|
+
var chunkHNTVTCNX_cjs = require('./chunk-HNTVTCNX.cjs');
|
|
6
|
+
var chunkXURKXOZK_cjs = require('./chunk-XURKXOZK.cjs');
|
|
7
|
+
var chunkLQGXG373_cjs = require('./chunk-LQGXG373.cjs');
|
|
8
|
+
var chunkHBIZQDDS_cjs = require('./chunk-HBIZQDDS.cjs');
|
|
9
9
|
var chunkJR4TVE43_cjs = require('./chunk-JR4TVE43.cjs');
|
|
10
10
|
var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
|
|
11
11
|
var reactSlot = require('@radix-ui/react-slot');
|
|
@@ -76,7 +76,7 @@ function SidebarProvider({
|
|
|
76
76
|
}),
|
|
77
77
|
[state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
|
|
78
78
|
);
|
|
79
|
-
return /* @__PURE__ */ jsxRuntime.jsx(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
79
|
+
return /* @__PURE__ */ jsxRuntime.jsx(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxRuntime.jsx(chunkLFSCJLL2_cjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
80
80
|
"div",
|
|
81
81
|
{
|
|
82
82
|
"data-slot": "sidebar-wrapper",
|
|
@@ -115,8 +115,8 @@ function Sidebar({
|
|
|
115
115
|
);
|
|
116
116
|
}
|
|
117
117
|
if (isMobile) {
|
|
118
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
119
|
-
|
|
118
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkXURKXOZK_cjs.Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
119
|
+
chunkXURKXOZK_cjs.SheetContent,
|
|
120
120
|
{
|
|
121
121
|
"data-sidebar": "sidebar",
|
|
122
122
|
"data-slot": "sidebar",
|
|
@@ -127,9 +127,9 @@ function Sidebar({
|
|
|
127
127
|
},
|
|
128
128
|
side,
|
|
129
129
|
children: [
|
|
130
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
131
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
132
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
130
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkXURKXOZK_cjs.SheetHeader, { className: "sr-only", children: [
|
|
131
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkXURKXOZK_cjs.SheetTitle, { children: "Sidebar" }),
|
|
132
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkXURKXOZK_cjs.SheetDescription, { children: "Displays the mobile sidebar." })
|
|
133
133
|
] }),
|
|
134
134
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-full w-full flex-col", children })
|
|
135
135
|
]
|
|
@@ -174,7 +174,7 @@ function Sidebar({
|
|
|
174
174
|
{
|
|
175
175
|
"data-sidebar": "sidebar",
|
|
176
176
|
"data-slot": "sidebar-inner",
|
|
177
|
-
className: "bg-bg-primary liquid:liquid-bg group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:rounded-uk-lg flex h-full w-full flex-col font-normal group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",
|
|
177
|
+
className: "bg-bg-primary liquid-dark:liquid-dark-bg liquid-light:liquid-light-bg group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:rounded-uk-lg flex h-full w-full flex-col font-normal group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",
|
|
178
178
|
children
|
|
179
179
|
}
|
|
180
180
|
)
|
|
@@ -187,7 +187,7 @@ function Sidebar({
|
|
|
187
187
|
function SidebarTrigger({ className, onClick, ...props }) {
|
|
188
188
|
const { toggleSidebar, state } = useSidebar();
|
|
189
189
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
190
|
-
|
|
190
|
+
chunkHBIZQDDS_cjs.Button,
|
|
191
191
|
{
|
|
192
192
|
"data-sidebar": "trigger",
|
|
193
193
|
"data-slot": "sidebar-trigger",
|
|
@@ -251,7 +251,7 @@ function SidebarInset({ className, ...props }) {
|
|
|
251
251
|
}
|
|
252
252
|
function SidebarInput({ className, ...props }) {
|
|
253
253
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
254
|
-
|
|
254
|
+
chunkLQGXG373_cjs.InputRoot,
|
|
255
255
|
{
|
|
256
256
|
"data-slot": "sidebar-input",
|
|
257
257
|
"data-sidebar": "input",
|
|
@@ -269,7 +269,7 @@ function SidebarHeader({ className, ...props }) {
|
|
|
269
269
|
{
|
|
270
270
|
"data-slot": "sidebar-header",
|
|
271
271
|
"data-sidebar": "header",
|
|
272
|
-
className: chunkOHIB3TEN_cjs.cn("text-uk-lg leading-uk-lg px-md flex flex-col", className),
|
|
272
|
+
className: chunkOHIB3TEN_cjs.cn("text-uk-lg leading-uk-lg px-md py-lg flex flex-col", className),
|
|
273
273
|
...props
|
|
274
274
|
}
|
|
275
275
|
);
|
|
@@ -280,7 +280,7 @@ function SidebarFooter({ className, ...props }) {
|
|
|
280
280
|
{
|
|
281
281
|
"data-slot": "sidebar-footer",
|
|
282
282
|
"data-sidebar": "footer",
|
|
283
|
-
className: chunkOHIB3TEN_cjs.cn("px-lg flex flex-col", className),
|
|
283
|
+
className: chunkOHIB3TEN_cjs.cn("px-md py-lg flex flex-col", className),
|
|
284
284
|
...props
|
|
285
285
|
}
|
|
286
286
|
);
|
|
@@ -291,10 +291,7 @@ function SidebarSeparator({ className, ...props }) {
|
|
|
291
291
|
{
|
|
292
292
|
"data-slot": "sidebar-separator",
|
|
293
293
|
"data-sidebar": "separator",
|
|
294
|
-
className: chunkOHIB3TEN_cjs.cn("bg-line-primary
|
|
295
|
-
style: {
|
|
296
|
-
width: "calc(100% + var(--spacing-lg) * 2)"
|
|
297
|
-
},
|
|
294
|
+
className: chunkOHIB3TEN_cjs.cn("bg-line-primary", className),
|
|
298
295
|
...props
|
|
299
296
|
}
|
|
300
297
|
);
|
|
@@ -382,7 +379,7 @@ function SidebarMenu({ className, ...props }) {
|
|
|
382
379
|
{
|
|
383
380
|
"data-slot": "sidebar-menu",
|
|
384
381
|
"data-sidebar": "menu",
|
|
385
|
-
className: chunkOHIB3TEN_cjs.cn("gap-
|
|
382
|
+
className: chunkOHIB3TEN_cjs.cn("py-md gap-sm flex w-full min-w-0 flex-col", className),
|
|
386
383
|
style: {
|
|
387
384
|
paddingLeft: "0px",
|
|
388
385
|
marginBottom: "0px"
|
|
@@ -456,10 +453,10 @@ function SidebarMenuButton({
|
|
|
456
453
|
children: tooltip
|
|
457
454
|
};
|
|
458
455
|
}
|
|
459
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
460
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
456
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkLFSCJLL2_cjs.Tooltip, { children: [
|
|
457
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLFSCJLL2_cjs.TooltipTrigger, { asChild: true, children: button }),
|
|
461
458
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
462
|
-
|
|
459
|
+
chunkLFSCJLL2_cjs.TooltipContent,
|
|
463
460
|
{
|
|
464
461
|
side: "right",
|
|
465
462
|
align: "center",
|
|
@@ -587,10 +584,11 @@ function SidebarMenuSubButton({
|
|
|
587
584
|
"data-size": size,
|
|
588
585
|
"data-active": isActive,
|
|
589
586
|
className: chunkOHIB3TEN_cjs.cn(
|
|
590
|
-
"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
|
|
587
|
+
"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",
|
|
591
588
|
size === "sm" && "text-uk-sm leading-uk-sm",
|
|
592
589
|
size === "md" && "text-uk-md leading-uk-md",
|
|
593
590
|
"group-data-[collapsible=icon]:hidden",
|
|
591
|
+
isActive && "bg-bg-tertiary text-text-highlight [&>svg]:text-icon-highlight hover:bg-bg-tertiary hover:text-text-highlight",
|
|
594
592
|
className
|
|
595
593
|
),
|
|
596
594
|
...props
|
|
@@ -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 };
|
|
@@ -75,7 +75,7 @@ function SheetContentRoot({
|
|
|
75
75
|
{
|
|
76
76
|
"data-slot": "sheet-content",
|
|
77
77
|
className: cn(
|
|
78
|
-
"liquid:liquid-bg bg-bg-primary data-[state=open]:animate-in data-[state=closed]:animate-out p-xl fixed z-50 flex flex-col gap-4 shadow-[0_4px_16px_0_var(--color-shadow-secondary)] transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
78
|
+
"liquid-dark:liquid-dark-bg liquid-light:liquid-light-bg bg-bg-primary data-[state=open]:animate-in data-[state=closed]:animate-out p-xl fixed z-50 flex flex-col gap-4 shadow-[0_4px_16px_0_var(--color-shadow-secondary)] transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
79
79
|
side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-[340px]",
|
|
80
80
|
side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-[340px]",
|
|
81
81
|
side === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto",
|
|
@@ -105,7 +105,7 @@ function SheetContentFallback({
|
|
|
105
105
|
{
|
|
106
106
|
"data-slot": "sheet-content",
|
|
107
107
|
className: cn(
|
|
108
|
-
"liquid:liquid-bg bg-bg-primary p-xl fixed z-50 flex flex-col gap-4 shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
|
|
108
|
+
"liquid-dark:liquid-dark-bg liquid-light:liquid-light-bg bg-bg-primary p-xl fixed z-50 flex flex-col gap-4 shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
|
|
109
109
|
side === "right" && "inset-y-0 right-0 h-full w-[340px]",
|
|
110
110
|
side === "left" && "inset-y-0 left-0 h-full w-[340px]",
|
|
111
111
|
side === "top" && "inset-x-0 top-0 h-auto",
|
|
@@ -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],
|
|
@@ -3,17 +3,20 @@
|
|
|
3
3
|
var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
5
|
|
|
6
|
-
var DIAL_PACKAGE_NAME = "@vuer-ai/dial-cli";
|
|
7
|
-
var DIAL_PACKAGE_VERSION = "0.0.
|
|
6
|
+
var DIAL_PACKAGE_NAME = "@vuer-ai/dial-cli" ;
|
|
7
|
+
var DIAL_PACKAGE_VERSION = "0.0.12" ;
|
|
8
|
+
var DIAL_GIT_HASH = "a1d1441" ;
|
|
8
9
|
function DialBadge({
|
|
9
10
|
className,
|
|
10
11
|
package: showPackage = true,
|
|
11
12
|
prefix = true,
|
|
12
13
|
linkable = true,
|
|
13
|
-
version = true
|
|
14
|
+
version = true,
|
|
15
|
+
hash = false
|
|
14
16
|
}) {
|
|
15
17
|
const packageShortName = "dial-cli";
|
|
16
|
-
const
|
|
18
|
+
const displayValue = hash ? DIAL_GIT_HASH : DIAL_PACKAGE_VERSION;
|
|
19
|
+
const versionText = version || hash ? prefix && !hash ? `v${displayValue}` : displayValue : void 0;
|
|
17
20
|
const npmUrl = `https://www.npmjs.com/package/${DIAL_PACKAGE_NAME}/v/${DIAL_PACKAGE_VERSION}`;
|
|
18
21
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19
22
|
"div",
|
|
@@ -61,6 +64,7 @@ function DialBadge({
|
|
|
61
64
|
);
|
|
62
65
|
}
|
|
63
66
|
|
|
67
|
+
exports.DIAL_GIT_HASH = DIAL_GIT_HASH;
|
|
64
68
|
exports.DIAL_PACKAGE_NAME = DIAL_PACKAGE_NAME;
|
|
65
69
|
exports.DIAL_PACKAGE_VERSION = DIAL_PACKAGE_VERSION;
|
|
66
70
|
exports.DialBadge = DialBadge;
|
|
@@ -11,7 +11,8 @@ var panelVariants = classVarianceAuthority.cva(
|
|
|
11
11
|
"rounded-uk-lg",
|
|
12
12
|
"bg-bg-primary",
|
|
13
13
|
"shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
|
|
14
|
-
"liquid:liquid-bg"
|
|
14
|
+
"liquid-dark:liquid-dark-bg",
|
|
15
|
+
"liquid-light:liquid-light-bg"
|
|
15
16
|
],
|
|
16
17
|
{
|
|
17
18
|
variants: {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var betterAuth = require('better-auth');
|
|
4
|
+
var plugins$1 = require('better-auth/client/plugins');
|
|
5
|
+
var plugins = require('better-auth/plugins');
|
|
6
|
+
|
|
7
|
+
// src/auth/types.ts
|
|
8
|
+
var auth = betterAuth.betterAuth({
|
|
9
|
+
plugins: [
|
|
10
|
+
plugins.customSession(async (session) => {
|
|
11
|
+
return {
|
|
12
|
+
...session,
|
|
13
|
+
session: { ...session.session, sessionToken: "" }
|
|
14
|
+
};
|
|
15
|
+
})
|
|
16
|
+
]
|
|
17
|
+
});
|
|
18
|
+
var options = {
|
|
19
|
+
plugins: [plugins$1.customSessionClient()]
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
exports.auth = auth;
|
|
23
|
+
exports.options = options;
|
|
@@ -19,12 +19,7 @@ var buttonVariants = cva(
|
|
|
19
19
|
"disabled:pointer-events-none",
|
|
20
20
|
"disabled:bg-bg-tertiary",
|
|
21
21
|
"disabled:text-text-tertiary",
|
|
22
|
-
"focus-visible:
|
|
23
|
-
"focus-visible:ring-ring/50",
|
|
24
|
-
"focus-visible:ring-[3px]",
|
|
25
|
-
"focus-visible:bg-brand-tertiary",
|
|
26
|
-
"aria-invalid:ring-destructive/20",
|
|
27
|
-
"aria-invalid:border-destructive"
|
|
22
|
+
"focus-visible:bg-brand-tertiary"
|
|
28
23
|
],
|
|
29
24
|
{
|
|
30
25
|
variants: {
|
|
@@ -7,7 +7,7 @@ function NavigationControls({
|
|
|
7
7
|
handlePan,
|
|
8
8
|
handleZoomDragStart
|
|
9
9
|
}) {
|
|
10
|
-
return /* @__PURE__ */ jsx("div", { className: "sticky left-1/2 z-20 w-max", children: /* @__PURE__ */ jsxs("div", { className: "bg-bg-primary/75 flex items-center gap-2 rounded-full p-1 text-sm shadow-[0_4px_16px_0_var(--color-shadow-secondary)] backdrop-blur-[2px]", children: [
|
|
10
|
+
return /* @__PURE__ */ jsx("div", { className: "sticky left-1/2 z-20 w-max", children: /* @__PURE__ */ jsxs("div", { className: "bg-bg-primary/75 liquid-dark:liquid-dark-bg liquid-light:liquid-light-bg flex items-center gap-2 rounded-full p-1 text-sm shadow-[0_4px_16px_0_var(--color-shadow-secondary)] backdrop-blur-[2px]", children: [
|
|
11
11
|
/* @__PURE__ */ jsx(
|
|
12
12
|
"button",
|
|
13
13
|
{
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2EG65KGO_cjs = require('./chunk-2EG65KGO.cjs');
|
|
4
4
|
var react = require('react');
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
|
|
7
7
|
var EulerDegInput = react.forwardRef(
|
|
8
8
|
function EulerDegInput2(props, ref) {
|
|
9
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk2EG65KGO_cjs.EulerInput, { ref, unit: "deg", ...props });
|
|
10
10
|
}
|
|
11
11
|
);
|
|
12
12
|
|
|
@@ -1,12 +1,12 @@
|
|
|
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 QuaternionInput = react.forwardRef(function QuaternionInput2({ value, onValuesChange, ...props }, ref) {
|
|
8
8
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9
|
-
|
|
9
|
+
chunkJFIAWTRH_cjs.VectorInput,
|
|
10
10
|
{
|
|
11
11
|
ref,
|
|
12
12
|
value,
|
|
@@ -16,7 +16,7 @@ var Toaster = ({ ...props }) => {
|
|
|
16
16
|
Toaster$1,
|
|
17
17
|
{
|
|
18
18
|
toastOptions: {
|
|
19
|
-
className: "vk-toast liquid:liquid-bg",
|
|
19
|
+
className: "vk-toast liquid-dark:liquid-dark-bg liquid-light:liquid-light-bg",
|
|
20
20
|
descriptionClassName: "vk-toast-description"
|
|
21
21
|
},
|
|
22
22
|
...props
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { useVuerAuth } from './chunk-3IVDCAFM.mjs';
|
|
2
|
+
import { signInHandler } from './chunk-7KQXX7QB.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 };
|