@vuer-ai/vuer-uikit 0.0.109 → 0.0.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (447) hide show
  1. package/dist/SyncScroll/SyncScroll.cjs +1 -1
  2. package/dist/SyncScroll/SyncScroll.mjs +1 -1
  3. package/dist/SyncScroll/index.cjs +1 -1
  4. package/dist/SyncScroll/index.mjs +1 -1
  5. package/dist/auth/components/index.cjs +128 -0
  6. package/dist/auth/components/index.d.cts +2 -0
  7. package/dist/auth/components/index.d.ts +2 -0
  8. package/dist/auth/components/index.mjs +119 -0
  9. package/dist/auth/components/user-avatar/index.cjs +127 -0
  10. package/dist/auth/components/user-avatar/index.d.cts +8 -0
  11. package/dist/auth/components/user-avatar/index.d.ts +8 -0
  12. package/dist/auth/components/user-avatar/index.mjs +118 -0
  13. package/dist/auth/context/user-context.cjs +10 -0
  14. package/dist/auth/context/{auth-context.d.cts → user-context.d.cts} +3 -3
  15. package/dist/auth/context/{auth-context.d.ts → user-context.d.ts} +3 -3
  16. package/dist/auth/context/user-context.mjs +1 -0
  17. package/dist/auth/handler/fetch-auth.cjs +11 -0
  18. package/dist/auth/handler/fetch-auth.d.cts +3 -0
  19. package/dist/auth/handler/fetch-auth.d.ts +3 -0
  20. package/dist/auth/handler/fetch-auth.mjs +2 -0
  21. package/dist/auth/handler/fetch-server.cjs +11 -0
  22. package/dist/auth/handler/fetch-server.d.cts +3 -0
  23. package/dist/auth/handler/fetch-server.d.ts +3 -0
  24. package/dist/auth/handler/fetch-server.mjs +2 -0
  25. package/dist/auth/handler/get-session.cjs +4 -3
  26. package/dist/auth/handler/get-session.d.cts +1 -1
  27. package/dist/auth/handler/get-session.d.ts +1 -1
  28. package/dist/auth/handler/get-session.mjs +3 -2
  29. package/dist/auth/handler/get-sessions.cjs +12 -0
  30. package/dist/auth/handler/get-sessions.d.cts +19 -0
  31. package/dist/auth/handler/get-sessions.d.ts +19 -0
  32. package/dist/auth/handler/get-sessions.mjs +3 -0
  33. package/dist/auth/handler/sign-in-handler.cjs +3 -3
  34. package/dist/auth/handler/sign-in-handler.d.cts +2 -2
  35. package/dist/auth/handler/sign-in-handler.d.ts +2 -2
  36. package/dist/auth/handler/sign-in-handler.mjs +2 -2
  37. package/dist/auth/handler/sign-out-handler.cjs +4 -3
  38. package/dist/auth/handler/sign-out-handler.mjs +3 -2
  39. package/dist/auth/hooks/use-sign-in.cjs +14 -0
  40. package/dist/auth/hooks/use-sign-in.d.cts +9 -0
  41. package/dist/auth/hooks/use-sign-in.d.ts +9 -0
  42. package/dist/auth/hooks/use-sign-in.mjs +5 -0
  43. package/dist/auth/hooks/use-sign-out.cjs +15 -0
  44. package/dist/auth/hooks/use-sign-out.d.cts +6 -0
  45. package/dist/auth/hooks/use-sign-out.d.ts +6 -0
  46. package/dist/auth/hooks/use-sign-out.mjs +6 -0
  47. package/dist/auth/hooks/use-user.cjs +11 -0
  48. package/dist/auth/hooks/use-user.d.cts +8 -0
  49. package/dist/auth/hooks/use-user.d.ts +8 -0
  50. package/dist/auth/hooks/use-user.mjs +2 -0
  51. package/dist/auth/hooks/use-vuer-sessions.cjs +15 -0
  52. package/dist/auth/hooks/use-vuer-sessions.d.cts +9 -0
  53. package/dist/auth/hooks/use-vuer-sessions.d.ts +9 -0
  54. package/dist/auth/hooks/use-vuer-sessions.mjs +6 -0
  55. package/dist/auth/index.cjs +151 -15
  56. package/dist/auth/index.d.cts +10 -6
  57. package/dist/auth/index.d.ts +10 -6
  58. package/dist/auth/index.mjs +124 -8
  59. package/dist/auth/localstorage-key.cjs +6 -2
  60. package/dist/auth/localstorage-key.d.cts +2 -1
  61. package/dist/auth/localstorage-key.d.ts +2 -1
  62. package/dist/auth/localstorage-key.mjs +1 -1
  63. package/dist/auth/vuer-user-provider.cjs +14 -0
  64. package/dist/auth/{vuer-auth-provider.d.cts → vuer-user-provider.d.cts} +2 -2
  65. package/dist/auth/{vuer-auth-provider.d.ts → vuer-user-provider.d.ts} +2 -2
  66. package/dist/auth/vuer-user-provider.mjs +5 -0
  67. package/dist/{chunk-2EG65KGO.cjs → chunk-2MSGENAQ.cjs} +2 -2
  68. package/dist/{chunk-VUMOJPEC.mjs → chunk-2SFB7HHW.mjs} +1 -1
  69. package/dist/chunk-3WMO5QJJ.cjs +8 -0
  70. package/dist/{chunk-5XBMFADS.cjs → chunk-4GVFCQGI.cjs} +2 -2
  71. package/dist/chunk-4JZOPZHB.cjs +30 -0
  72. package/dist/{chunk-MIT3YWUC.cjs → chunk-4LQDOYQJ.cjs} +2 -2
  73. package/dist/{chunk-5MBEK77I.mjs → chunk-57MAUYQZ.mjs} +9 -2
  74. package/dist/chunk-5OHAV55L.mjs +24 -0
  75. package/dist/{chunk-EAXBNWXE.cjs → chunk-5VUM46YD.cjs} +2 -2
  76. package/dist/{chunk-64L2SNKA.cjs → chunk-6D66V6ON.cjs} +2 -2
  77. package/dist/chunk-6GJM7TPE.cjs +28 -0
  78. package/dist/{chunk-GOGJVFRN.cjs → chunk-6IXKC64S.cjs} +4 -4
  79. package/dist/chunk-7E5Y224I.cjs +14 -0
  80. package/dist/{chunk-D5WOPTKY.cjs → chunk-7NUXYKXU.cjs} +2 -2
  81. package/dist/chunk-7R5HY3IM.cjs +12 -0
  82. package/dist/{chunk-3VVQWVDE.mjs → chunk-7XXTMBF5.mjs} +1 -1
  83. package/dist/{chunk-CZ4GQOXG.mjs → chunk-AAFU2FII.mjs} +2 -2
  84. package/dist/{chunk-4THQPG6Y.mjs → chunk-ACETEVZD.mjs} +1 -1
  85. package/dist/{chunk-SYX6TMCQ.mjs → chunk-AGHIJQAR.mjs} +1 -1
  86. package/dist/chunk-APC2GIE7.cjs +58 -0
  87. package/dist/{chunk-JFJRNNPQ.cjs → chunk-AW6Q4IWT.cjs} +2 -2
  88. package/dist/{chunk-ACYZOKPT.mjs → chunk-BBWT5YO2.mjs} +2 -2
  89. package/dist/{chunk-6XOTWZFC.mjs → chunk-BCA45QEW.mjs} +2 -2
  90. package/dist/{chunk-LFSCJLL2.cjs → chunk-BDAKLXXX.cjs} +9 -2
  91. package/dist/chunk-BI4QZVVB.cjs +82 -0
  92. package/dist/{chunk-ZRRCYQ53.cjs → chunk-BTXD3NAG.cjs} +3 -3
  93. package/dist/{chunk-7RHQ6DVU.cjs → chunk-CGBEPOL4.cjs} +21 -9
  94. package/dist/{chunk-QZUTRJSP.mjs → chunk-DHMLQTQ6.mjs} +2 -2
  95. package/dist/{chunk-OLVOIUCE.mjs → chunk-DT2LGZ5H.mjs} +3 -3
  96. package/dist/{chunk-KBC7VNER.mjs → chunk-ECOYNCWG.mjs} +1 -1
  97. package/dist/{chunk-SVWS4AL6.cjs → chunk-F4Z5KATZ.cjs} +2 -0
  98. package/dist/{chunk-NRQJX772.mjs → chunk-FB5MYIVE.mjs} +1 -0
  99. package/dist/chunk-FRAD2Z2G.mjs +43 -0
  100. package/dist/chunk-FROQ45MN.mjs +6 -0
  101. package/dist/chunk-G6ATG2WV.mjs +28 -0
  102. package/dist/chunk-GBERXSLI.cjs +53 -0
  103. package/dist/{chunk-TPAV6PXI.mjs → chunk-GF7EZ6DO.mjs} +2 -2
  104. package/dist/{chunk-EXQQRW7T.mjs → chunk-GSQE4JVF.mjs} +1 -1
  105. package/dist/{chunk-5HS4PMUR.mjs → chunk-GUSUTH7D.mjs} +16 -11
  106. package/dist/{chunk-IXNXSECD.mjs → chunk-H2AJ2CLT.mjs} +1 -1
  107. package/dist/{chunk-SHT4BJOB.cjs → chunk-H7H6MSWG.cjs} +2 -2
  108. package/dist/{chunk-SUEFWFPX.mjs → chunk-HFGRTWTD.mjs} +2 -2
  109. package/dist/chunk-HOMAESTR.mjs +12 -0
  110. package/dist/{chunk-T2D6PSA6.cjs → chunk-I2YVC4AE.cjs} +17 -12
  111. package/dist/{chunk-4JGGLCXT.mjs → chunk-JH5NAW2V.mjs} +1 -1
  112. package/dist/{chunk-QIYGXPLM.cjs → chunk-JHUVVUO4.cjs} +130 -178
  113. package/dist/chunk-JTJKIRFA.mjs +56 -0
  114. package/dist/chunk-KIZEJMW4.cjs +15 -0
  115. package/dist/{chunk-JYIVDUDL.cjs → chunk-KOMVGDDW.cjs} +4 -4
  116. package/dist/{chunk-ZNM6PNI6.mjs → chunk-KS5A3G7B.mjs} +1 -1
  117. package/dist/{chunk-4WRTIOGZ.cjs → chunk-KT772L2I.cjs} +6 -6
  118. package/dist/{chunk-NSUFTZNC.cjs → chunk-L2YLNWCQ.cjs} +2 -2
  119. package/dist/chunk-L3YEIRJS.mjs +31 -0
  120. package/dist/chunk-L4CIN7FR.mjs +96 -0
  121. package/dist/{chunk-6QU4J3HY.cjs → chunk-LBRS745M.cjs} +9 -9
  122. package/dist/{chunk-ASR6OXVT.cjs → chunk-LI5W744D.cjs} +8 -1
  123. package/dist/{chunk-UASPJ57U.cjs → chunk-LPKVKTOK.cjs} +1 -0
  124. package/dist/chunk-LUVD54GO.cjs +47 -0
  125. package/dist/{chunk-5JPYU5A6.cjs → chunk-LV4XJY75.cjs} +11 -11
  126. package/dist/{chunk-AOV3ADTV.cjs → chunk-M45UXJWX.cjs} +2 -2
  127. package/dist/{chunk-7HOEFGEO.mjs → chunk-MGFG7EXC.mjs} +1 -1
  128. package/dist/chunk-MO5V43Z3.mjs +13 -0
  129. package/dist/chunk-MRMSCW3P.cjs +19 -0
  130. package/dist/{chunk-WRKB3W2J.cjs → chunk-MTZQ4C2U.cjs} +6 -6
  131. package/dist/{chunk-AJQEHMYV.cjs → chunk-NIEFMP5V.cjs} +2 -2
  132. package/dist/chunk-NJXBYRKZ.mjs +80 -0
  133. package/dist/{chunk-S7SGB2FD.mjs → chunk-O7FGA5N2.mjs} +4 -4
  134. package/dist/chunk-OOHCJIRV.cjs +26 -0
  135. package/dist/chunk-PFIP3ETQ.cjs +55 -0
  136. package/dist/{chunk-RIJUPORK.mjs → chunk-PJJSHHL6.mjs} +1 -1
  137. package/dist/{chunk-RA6QMOFM.mjs → chunk-PMOHNMZK.mjs} +76 -123
  138. package/dist/{chunk-CGUQWS2I.mjs → chunk-PTBMSYQQ.mjs} +1 -1
  139. package/dist/chunk-PX2H7Z4D.mjs +26 -0
  140. package/dist/chunk-PXDT5GFJ.mjs +13 -0
  141. package/dist/{chunk-HN3AMWUM.cjs → chunk-Q5PJKBX7.cjs} +2 -2
  142. package/dist/chunk-Q76WU4DL.cjs +17 -0
  143. package/dist/{chunk-Y2H4A5AC.mjs → chunk-R2QXIDY2.mjs} +2 -2
  144. package/dist/{chunk-K2OC2HWQ.mjs → chunk-RFRBGVBZ.mjs} +19 -7
  145. package/dist/{chunk-7GJVMFKJ.cjs → chunk-ROY7233C.cjs} +4 -4
  146. package/dist/{chunk-HBIZQDDS.cjs → chunk-RQH7ZAWF.cjs} +2 -2
  147. package/dist/{chunk-PB4UO2NR.cjs → chunk-RSBVQ7SJ.cjs} +9 -10
  148. package/dist/{chunk-A2UZY7Y2.cjs → chunk-S5XJOGB4.cjs} +2 -2
  149. package/dist/chunk-SO2UTKSV.mjs +17 -0
  150. package/dist/{chunk-JFIAWTRH.cjs → chunk-SU57ZAZJ.cjs} +2 -2
  151. package/dist/{chunk-MG5TTPA7.mjs → chunk-SWJHOFZH.mjs} +6 -6
  152. package/dist/{chunk-PTCDBU72.cjs → chunk-TYZHIBYI.cjs} +2 -2
  153. package/dist/{chunk-IY36FZ5R.mjs → chunk-TZBOF3XO.mjs} +1 -1
  154. package/dist/{chunk-276VJZCV.mjs → chunk-UT7B4TLZ.mjs} +2 -1
  155. package/dist/{chunk-DQUI3PIU.mjs → chunk-UTWPMYGN.mjs} +2 -2
  156. package/dist/{chunk-XGM57WPN.mjs → chunk-V4KDK3BN.mjs} +8 -9
  157. package/dist/chunk-V5YUFNEB.mjs +53 -0
  158. package/dist/{chunk-VLOFKTSL.cjs → chunk-VEE2QBS5.cjs} +3 -3
  159. package/dist/{chunk-3IVDCAFM.mjs → chunk-VSFPXAGN.mjs} +4 -4
  160. package/dist/{chunk-LQGXG373.cjs → chunk-WB43VEZA.cjs} +21 -3
  161. package/dist/{chunk-YPQEJEB7.mjs → chunk-WGWNYPXW.mjs} +8 -1
  162. package/dist/{chunk-24IUD6Q3.mjs → chunk-WQCVK4PG.mjs} +1 -1
  163. package/dist/{chunk-5PHGYFZ3.cjs → chunk-WXJXXRPL.cjs} +2 -2
  164. package/dist/chunk-X3H6FYAM.cjs +15 -0
  165. package/dist/{chunk-LRSDE62T.mjs → chunk-XMQULAAU.mjs} +21 -3
  166. package/dist/chunk-YWECB5GR.cjs +2 -0
  167. package/dist/chunk-YYLBP356.mjs +1 -0
  168. package/dist/{chunk-2PJO5UJL.cjs → chunk-YZINVGLW.cjs} +11 -11
  169. package/dist/{chunk-JUSFLIU5.mjs → chunk-Z4ZGX3NM.mjs} +1 -1
  170. package/dist/chunk-Z7BZFZEV.mjs +15 -0
  171. package/dist/{chunk-VEWWUO2N.mjs → chunk-ZDSN4IFT.mjs} +1 -1
  172. package/dist/{chunk-PTGMHZFS.mjs → chunk-ZEBAIL6F.mjs} +1 -1
  173. package/dist/{chunk-2WD4ZL27.cjs → chunk-ZGS3VGGN.cjs} +4 -4
  174. package/dist/{chunk-Y5SVZCPQ.cjs → chunk-ZJ5SNYAO.cjs} +7 -7
  175. package/dist/{chunk-3TUONMQ6.mjs → chunk-ZRMDDK6J.mjs} +1 -1
  176. package/dist/chunk-ZXIKMZPH.cjs +99 -0
  177. package/dist/dial/DialPanel.cjs +51 -49
  178. package/dist/dial/DialPanel.d.cts +1 -0
  179. package/dist/dial/DialPanel.d.ts +1 -0
  180. package/dist/dial/DialPanel.mjs +50 -48
  181. package/dist/dial/DialProvider.cjs +3 -3
  182. package/dist/dial/DialProvider.d.cts +3 -2
  183. package/dist/dial/DialProvider.d.ts +3 -2
  184. package/dist/dial/DialProvider.example.cjs +4 -4
  185. package/dist/dial/DialProvider.example.mjs +1 -1
  186. package/dist/dial/DialProvider.mjs +1 -1
  187. package/dist/dial/index.cjs +69 -67
  188. package/dist/dial/index.d.cts +1 -0
  189. package/dist/dial/index.d.ts +1 -0
  190. package/dist/dial/index.mjs +50 -48
  191. package/dist/dial/wrapped-inputs/ControlledInputs.cjs +55 -53
  192. package/dist/dial/wrapped-inputs/ControlledInputs.d.cts +10 -9
  193. package/dist/dial/wrapped-inputs/ControlledInputs.d.ts +10 -9
  194. package/dist/dial/wrapped-inputs/ControlledInputs.mjs +50 -48
  195. package/dist/dial/wrapped-inputs/DialInputs.cjs +64 -62
  196. package/dist/dial/wrapped-inputs/DialInputs.d.cts +1 -0
  197. package/dist/dial/wrapped-inputs/DialInputs.d.ts +1 -0
  198. package/dist/dial/wrapped-inputs/DialInputs.mjs +50 -48
  199. package/dist/dial/wrapped-inputs/DialPresetsInput.cjs +45 -49
  200. package/dist/dial/wrapped-inputs/DialPresetsInput.d.cts +3 -3
  201. package/dist/dial/wrapped-inputs/DialPresetsInput.d.ts +3 -3
  202. package/dist/dial/wrapped-inputs/DialPresetsInput.mjs +44 -48
  203. package/dist/dial/wrapped-inputs/DialVectorInput.cjs +51 -49
  204. package/dist/dial/wrapped-inputs/DialVectorInput.d.cts +1 -0
  205. package/dist/dial/wrapped-inputs/DialVectorInput.d.ts +1 -0
  206. package/dist/dial/wrapped-inputs/DialVectorInput.mjs +50 -48
  207. package/dist/dial/wrapped-inputs/index.cjs +74 -72
  208. package/dist/dial/wrapped-inputs/index.d.cts +1 -0
  209. package/dist/dial/wrapped-inputs/index.d.ts +1 -0
  210. package/dist/dial/wrapped-inputs/index.mjs +50 -48
  211. package/dist/highlight-cursor/enhanced-components.cjs +12 -12
  212. package/dist/highlight-cursor/enhanced-components.mjs +7 -7
  213. package/dist/highlight-cursor/index.cjs +16 -16
  214. package/dist/highlight-cursor/index.mjs +7 -7
  215. package/dist/hooks/index.cjs +5 -5
  216. package/dist/hooks/index.mjs +1 -1
  217. package/dist/index.cjs +210 -228
  218. package/dist/index.css +3 -3
  219. package/dist/index.d.cts +4 -1
  220. package/dist/index.d.ts +4 -1
  221. package/dist/index.mjs +50 -48
  222. package/dist/styles/theme.css +3 -3
  223. package/dist/ui/DialBadge.cjs +6 -6
  224. package/dist/ui/DialBadge.mjs +2 -2
  225. package/dist/ui/UIKitBadge.cjs +6 -6
  226. package/dist/ui/UIKitBadge.mjs +2 -2
  227. package/dist/ui/avatar.cjs +1 -1
  228. package/dist/ui/avatar.mjs +1 -1
  229. package/dist/ui/badge.cjs +1 -1
  230. package/dist/ui/badge.mjs +1 -1
  231. package/dist/ui/button.cjs +4 -4
  232. package/dist/ui/button.mjs +2 -2
  233. package/dist/ui/card.cjs +9 -9
  234. package/dist/ui/card.mjs +2 -2
  235. package/dist/ui/checkbox.cjs +1 -1
  236. package/dist/ui/checkbox.mjs +1 -1
  237. package/dist/ui/collapsible.cjs +1 -1
  238. package/dist/ui/collapsible.mjs +1 -1
  239. package/dist/ui/drawer.cjs +1 -1
  240. package/dist/ui/drawer.mjs +1 -1
  241. package/dist/ui/dropdown.cjs +1 -1
  242. package/dist/ui/dropdown.mjs +1 -1
  243. package/dist/ui/index.cjs +150 -169
  244. package/dist/ui/index.d.cts +4 -1
  245. package/dist/ui/index.d.ts +4 -1
  246. package/dist/ui/index.mjs +42 -41
  247. package/dist/ui/inputs/color-input.cjs +4 -4
  248. package/dist/ui/inputs/color-input.mjs +3 -3
  249. package/dist/ui/inputs/index.cjs +45 -45
  250. package/dist/ui/inputs/index.mjs +21 -21
  251. package/dist/ui/inputs/input-numbers.cjs +4 -4
  252. package/dist/ui/inputs/input-numbers.mjs +3 -3
  253. package/dist/ui/inputs/input.cjs +5 -5
  254. package/dist/ui/inputs/input.mjs +2 -2
  255. package/dist/ui/inputs/number-inputs/CmInput.cjs +5 -5
  256. package/dist/ui/inputs/number-inputs/CmInput.mjs +4 -4
  257. package/dist/ui/inputs/number-inputs/DegInput.cjs +5 -5
  258. package/dist/ui/inputs/number-inputs/DegInput.mjs +4 -4
  259. package/dist/ui/inputs/number-inputs/EulerDegInput.cjs +7 -7
  260. package/dist/ui/inputs/number-inputs/EulerDegInput.mjs +6 -6
  261. package/dist/ui/inputs/number-inputs/EulerInput.cjs +6 -6
  262. package/dist/ui/inputs/number-inputs/EulerInput.mjs +5 -5
  263. package/dist/ui/inputs/number-inputs/EulerRadInput.cjs +6 -6
  264. package/dist/ui/inputs/number-inputs/EulerRadInput.mjs +5 -5
  265. package/dist/ui/inputs/number-inputs/InchInput.cjs +5 -5
  266. package/dist/ui/inputs/number-inputs/InchInput.mjs +4 -4
  267. package/dist/ui/inputs/number-inputs/IntInput.cjs +5 -5
  268. package/dist/ui/inputs/number-inputs/IntInput.mjs +4 -4
  269. package/dist/ui/inputs/number-inputs/KVectorInput.cjs +6 -6
  270. package/dist/ui/inputs/number-inputs/KVectorInput.mjs +5 -5
  271. package/dist/ui/inputs/number-inputs/QuaternionInput.cjs +6 -6
  272. package/dist/ui/inputs/number-inputs/QuaternionInput.mjs +5 -5
  273. package/dist/ui/inputs/number-inputs/RadInput.cjs +5 -5
  274. package/dist/ui/inputs/number-inputs/RadInput.mjs +4 -4
  275. package/dist/ui/inputs/number-inputs/TimeInput.cjs +5 -5
  276. package/dist/ui/inputs/number-inputs/TimeInput.mjs +4 -4
  277. package/dist/ui/inputs/number-inputs/Vec3Input.cjs +6 -6
  278. package/dist/ui/inputs/number-inputs/Vec3Input.mjs +5 -5
  279. package/dist/ui/inputs/number-inputs/VectorInput.cjs +5 -5
  280. package/dist/ui/inputs/number-inputs/VectorInput.mjs +4 -4
  281. package/dist/ui/inputs/number-inputs/index.cjs +29 -29
  282. package/dist/ui/inputs/number-inputs/index.mjs +16 -16
  283. package/dist/ui/inputs/presets-input.cjs +6 -6
  284. package/dist/ui/inputs/presets-input.mjs +5 -5
  285. package/dist/ui/inputs/presets-rad-input.cjs +7 -7
  286. package/dist/ui/inputs/presets-rad-input.mjs +6 -6
  287. package/dist/ui/inputs/text-input.cjs +4 -4
  288. package/dist/ui/inputs/text-input.mjs +3 -3
  289. package/dist/ui/label.cjs +3 -3
  290. package/dist/ui/label.mjs +2 -2
  291. package/dist/ui/layout.cjs +3 -3
  292. package/dist/ui/layout.mjs +2 -2
  293. package/dist/ui/layouts/dock-layout/DockLayoutView.cjs +1 -1
  294. package/dist/ui/layouts/dock-layout/DockLayoutView.mjs +1 -1
  295. package/dist/ui/layouts/dock-layout/LayoutSlots.cjs +1 -1
  296. package/dist/ui/layouts/dock-layout/LayoutSlots.mjs +1 -1
  297. package/dist/ui/layouts/dock-layout/index.cjs +1 -1
  298. package/dist/ui/layouts/dock-layout/index.mjs +1 -1
  299. package/dist/ui/layouts/index.cjs +1 -1
  300. package/dist/ui/layouts/index.mjs +1 -1
  301. package/dist/ui/layouts/liquid-layout/LayoutSlots.cjs +1 -1
  302. package/dist/ui/layouts/liquid-layout/LayoutSlots.mjs +1 -1
  303. package/dist/ui/layouts/liquid-layout/LiquidLayoutView.cjs +1 -1
  304. package/dist/ui/layouts/liquid-layout/LiquidLayoutView.mjs +1 -1
  305. package/dist/ui/layouts/liquid-layout/index.cjs +1 -1
  306. package/dist/ui/layouts/liquid-layout/index.mjs +1 -1
  307. package/dist/ui/modal.cjs +1 -1
  308. package/dist/ui/modal.mjs +1 -1
  309. package/dist/ui/navigation.cjs +4 -4
  310. package/dist/ui/navigation.mjs +3 -3
  311. package/dist/ui/pagination.cjs +10 -10
  312. package/dist/ui/pagination.mjs +3 -3
  313. package/dist/ui/popover.cjs +1 -1
  314. package/dist/ui/popover.mjs +1 -1
  315. package/dist/ui/progress.cjs +20 -0
  316. package/dist/ui/progress.d.cts +7 -0
  317. package/dist/ui/progress.d.ts +7 -0
  318. package/dist/ui/{panel.mjs → progress.mjs} +2 -2
  319. package/dist/ui/radio-group.cjs +1 -1
  320. package/dist/ui/radio-group.mjs +1 -1
  321. package/dist/ui/resizable.cjs +1 -1
  322. package/dist/ui/resizable.mjs +1 -1
  323. package/dist/ui/select.cjs +1 -1
  324. package/dist/ui/select.mjs +1 -1
  325. package/dist/ui/separator.cjs +1 -1
  326. package/dist/ui/separator.mjs +1 -1
  327. package/dist/ui/sheet.cjs +1 -1
  328. package/dist/ui/sheet.mjs +1 -1
  329. package/dist/ui/sidebar.cjs +29 -29
  330. package/dist/ui/sidebar.mjs +5 -5
  331. package/dist/ui/simple-tree-view.cjs +1 -1
  332. package/dist/ui/simple-tree-view.mjs +1 -1
  333. package/dist/ui/skeleton.cjs +1 -1
  334. package/dist/ui/skeleton.mjs +1 -1
  335. package/dist/ui/slider.cjs +1 -1
  336. package/dist/ui/slider.mjs +1 -1
  337. package/dist/ui/spinner.cjs +10 -0
  338. package/dist/ui/spinner.d.cts +7 -0
  339. package/dist/ui/spinner.d.ts +7 -0
  340. package/dist/ui/spinner.mjs +1 -0
  341. package/dist/ui/switch.cjs +1 -1
  342. package/dist/ui/switch.mjs +1 -1
  343. package/dist/ui/table.cjs +1 -1
  344. package/dist/ui/table.mjs +1 -1
  345. package/dist/ui/tabs.cjs +1 -1
  346. package/dist/ui/tabs.mjs +1 -1
  347. package/dist/ui/textarea.cjs +1 -1
  348. package/dist/ui/textarea.mjs +1 -1
  349. package/dist/ui/theme/ThemeToggles.cjs +7 -7
  350. package/dist/ui/theme/ThemeToggles.mjs +4 -4
  351. package/dist/ui/theme/index.cjs +7 -7
  352. package/dist/ui/theme/index.mjs +4 -4
  353. package/dist/ui/toggle-buttons.cjs +1 -1
  354. package/dist/ui/toggle-buttons.mjs +1 -1
  355. package/dist/ui/toggle-group.cjs +1 -1
  356. package/dist/ui/toggle-group.mjs +1 -1
  357. package/dist/ui/toggle.cjs +1 -1
  358. package/dist/ui/toggle.mjs +1 -1
  359. package/dist/ui/toolbar.cjs +5 -5
  360. package/dist/ui/toolbar.mjs +2 -2
  361. package/dist/ui/tooltip.cjs +6 -6
  362. package/dist/ui/tooltip.mjs +2 -2
  363. package/dist/ui/tree-view/TreeSearchBar.cjs +5 -5
  364. package/dist/ui/tree-view/TreeSearchBar.mjs +4 -4
  365. package/dist/ui/tree-view/TreeView.cjs +1 -1
  366. package/dist/ui/tree-view/TreeView.mjs +1 -1
  367. package/dist/ui/tree-view/index.cjs +14 -14
  368. package/dist/ui/tree-view/index.mjs +5 -5
  369. package/dist/ui/tree-view-legacy.cjs +8 -8
  370. package/dist/ui/tree-view-legacy.mjs +4 -4
  371. package/dist/ui/waterfall/CursorOverlay.cjs +1 -1
  372. package/dist/ui/waterfall/CursorOverlay.mjs +1 -1
  373. package/dist/ui/waterfall/TimelineEvent.cjs +1 -1
  374. package/dist/ui/waterfall/TimelineEvent.mjs +1 -1
  375. package/dist/ui/waterfall/TimelineProcessBar.cjs +1 -1
  376. package/dist/ui/waterfall/TimelineProcessBar.mjs +1 -1
  377. package/dist/ui/waterfall/Wedges.cjs +1 -1
  378. package/dist/ui/waterfall/Wedges.mjs +1 -1
  379. package/dist/ui/waterfall/index.cjs +8 -8
  380. package/dist/ui/waterfall/index.mjs +7 -7
  381. package/package.json +5 -4
  382. package/src/auth/components/index.ts +1 -0
  383. package/src/auth/components/user-avatar/index.tsx +94 -0
  384. package/src/auth/context/{auth-context.ts → user-context.ts} +4 -4
  385. package/src/auth/handler/fetch-auth.ts +10 -0
  386. package/src/auth/handler/fetch-server.ts +10 -0
  387. package/src/auth/handler/get-session.ts +11 -9
  388. package/src/auth/handler/get-sessions.ts +16 -0
  389. package/src/auth/handler/sign-in-handler.ts +10 -11
  390. package/src/auth/handler/sign-out-handler.ts +2 -6
  391. package/src/auth/hooks/use-sign-in.ts +33 -0
  392. package/src/auth/hooks/use-sign-out.ts +30 -0
  393. package/src/auth/hooks/{use-vuer-auth.ts → use-user.ts} +3 -3
  394. package/src/auth/hooks/use-vuer-sessions.ts +29 -0
  395. package/src/auth/index.ts +9 -3
  396. package/src/auth/localstorage-key.ts +2 -0
  397. package/src/auth/{vuer-auth-provider.tsx → vuer-user-provider.tsx} +14 -9
  398. package/src/dial/DialProvider.tsx +67 -13
  399. package/src/dial/wrapped-inputs/ControlledInputs.tsx +79 -64
  400. package/src/dial/wrapped-inputs/DialPresetsInput.tsx +19 -27
  401. package/src/dial/wrapped-inputs/DialVectorInput.tsx +14 -9
  402. package/src/styles/theme.css +3 -3
  403. package/src/ui/button.tsx +2 -2
  404. package/src/ui/card.tsx +5 -5
  405. package/src/ui/index.ts +2 -1
  406. package/src/ui/inputs/input.tsx +21 -3
  407. package/src/ui/label.tsx +8 -1
  408. package/src/ui/layout.tsx +1 -0
  409. package/src/ui/progress.tsx +29 -0
  410. package/src/ui/spinner.tsx +68 -0
  411. package/src/ui/toolbar.tsx +21 -8
  412. package/src/ui/tooltip.tsx +11 -2
  413. package/src/ui/waterfall/index.tsx +15 -3
  414. package/dist/auth/context/auth-context.cjs +0 -10
  415. package/dist/auth/context/auth-context.mjs +0 -1
  416. package/dist/auth/hooks/use-vuer-auth.cjs +0 -11
  417. package/dist/auth/hooks/use-vuer-auth.d.cts +0 -8
  418. package/dist/auth/hooks/use-vuer-auth.d.ts +0 -8
  419. package/dist/auth/hooks/use-vuer-auth.mjs +0 -2
  420. package/dist/auth/hooks/use-vuer-method.cjs +0 -15
  421. package/dist/auth/hooks/use-vuer-method.d.cts +0 -10
  422. package/dist/auth/hooks/use-vuer-method.d.ts +0 -10
  423. package/dist/auth/hooks/use-vuer-method.mjs +0 -6
  424. package/dist/auth/vuer-auth-provider.cjs +0 -13
  425. package/dist/auth/vuer-auth-provider.mjs +0 -4
  426. package/dist/chunk-3HEZVWRW.mjs +0 -62
  427. package/dist/chunk-4B44SRRP.cjs +0 -12
  428. package/dist/chunk-4CPB3XHE.cjs +0 -18
  429. package/dist/chunk-AKVHFPXH.mjs +0 -26
  430. package/dist/chunk-C6L7YIGW.cjs +0 -117
  431. package/dist/chunk-CGODCUQ5.mjs +0 -16
  432. package/dist/chunk-G4Q5ALRW.mjs +0 -109
  433. package/dist/chunk-OPYMZDEZ.mjs +0 -28
  434. package/dist/chunk-RMK6W774.cjs +0 -65
  435. package/dist/chunk-T57VFBIC.mjs +0 -17
  436. package/dist/chunk-TC3W4VRO.mjs +0 -6
  437. package/dist/chunk-WTYBTOLO.cjs +0 -19
  438. package/dist/chunk-WZGZX3S2.cjs +0 -32
  439. package/dist/chunk-XFTKHT2M.cjs +0 -28
  440. package/dist/chunk-ZULCZ5L6.cjs +0 -8
  441. package/dist/ui/panel.cjs +0 -44
  442. package/dist/ui/panel.d.cts +0 -51
  443. package/dist/ui/panel.d.ts +0 -51
  444. package/src/auth/hooks/use-vuer-method.ts +0 -37
  445. package/src/ui/panel.tsx +0 -147
  446. /package/dist/{chunk-KFPS5CCR.cjs → chunk-NK7L5H2Y.cjs} +0 -0
  447. /package/dist/{chunk-G3EIVAVR.mjs → chunk-UXWS62ZO.mjs} +0 -0
@@ -1,9 +1,9 @@
1
- import { InputRoot } from './chunk-LRSDE62T.mjs';
2
- import { Tabs } from './chunk-B53A4WNW.mjs';
1
+ import { withCursor } from './chunk-RAHKRYQJ.mjs';
3
2
  import { Textarea } from './chunk-25RDJXX7.mjs';
3
+ import { InputRoot } from './chunk-XMQULAAU.mjs';
4
+ import { Tabs } from './chunk-B53A4WNW.mjs';
4
5
  import { SelectTrigger } from './chunk-KJH46JR3.mjs';
5
- import { Button } from './chunk-CZ4GQOXG.mjs';
6
- import { withCursor } from './chunk-RAHKRYQJ.mjs';
6
+ import { Button } from './chunk-AAFU2FII.mjs';
7
7
 
8
8
  // src/highlight-cursor/enhanced-components.tsx
9
9
  var CursorButton = withCursor(Button);
@@ -0,0 +1,26 @@
1
+ 'use strict';
2
+
3
+ var chunk7R5HY3IM_cjs = require('./chunk-7R5HY3IM.cjs');
4
+ var chunkQ76WU4DL_cjs = require('./chunk-Q76WU4DL.cjs');
5
+ var react = require('react');
6
+
7
+ var useVuerSessions = () => {
8
+ const { baseURL } = chunk7R5HY3IM_cjs.useUser();
9
+ const [isPending, setIsPending] = react.useState(true);
10
+ const [sessions, setSessions] = react.useState([]);
11
+ react.useEffect(() => {
12
+ setIsPending(true);
13
+ chunkQ76WU4DL_cjs.getSessions(baseURL).then((sessions2) => {
14
+ console.log("sessions", sessions2);
15
+ setSessions(sessions2);
16
+ setIsPending(false);
17
+ }).catch(() => {
18
+ setIsPending(false);
19
+ });
20
+ }, [baseURL]);
21
+ return react.useMemo(() => {
22
+ return { isPending, sessions };
23
+ }, [isPending, sessions]);
24
+ };
25
+
26
+ exports.useVuerSessions = useVuerSessions;
@@ -0,0 +1,55 @@
1
+ 'use strict';
2
+
3
+ var chunkZXIKMZPH_cjs = require('./chunk-ZXIKMZPH.cjs');
4
+ var chunkROY7233C_cjs = require('./chunk-ROY7233C.cjs');
5
+ var chunkLI5W744D_cjs = require('./chunk-LI5W744D.cjs');
6
+ var chunkLPKVKTOK_cjs = require('./chunk-LPKVKTOK.cjs');
7
+ var jsxRuntime = require('react/jsx-runtime');
8
+
9
+ var DialInputWrapper = ({ label, labelPosition = "top", children }) => {
10
+ if (!label) {
11
+ return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
12
+ }
13
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkLPKVKTOK_cjs.FormLayout, { orientation: `label-${labelPosition}`, children: [
14
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLI5W744D_cjs.Label, { size: "sm", children: label }),
15
+ children
16
+ ] });
17
+ };
18
+ var DialPresetsInput = ({ name, label, size = "sm", labelPosition = "top", options }) => {
19
+ const { getValue, setValue } = chunkZXIKMZPH_cjs.useDialSchema();
20
+ const value = getValue(name) ?? 0;
21
+ const presets = options.slice(0, 3).map((opt) => {
22
+ if (typeof opt === "number") return opt;
23
+ if (typeof opt === "string") return parseFloat(opt);
24
+ return typeof opt.value === "number" ? opt.value : parseFloat(opt.value);
25
+ });
26
+ while (presets.length < 3) {
27
+ presets.push(0);
28
+ }
29
+ if (labelPosition === "inline") {
30
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
31
+ label && /* @__PURE__ */ jsxRuntime.jsx(chunkLI5W744D_cjs.Label, { size: "sm", children: label }),
32
+ /* @__PURE__ */ jsxRuntime.jsx(
33
+ chunkROY7233C_cjs.PresetsInput,
34
+ {
35
+ value,
36
+ onChange: (val) => setValue(name, val),
37
+ size,
38
+ presets
39
+ }
40
+ )
41
+ ] });
42
+ } else {
43
+ return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { label, labelPosition, children: /* @__PURE__ */ jsxRuntime.jsx(
44
+ chunkROY7233C_cjs.PresetsInput,
45
+ {
46
+ value,
47
+ onChange: (val) => setValue(name, val),
48
+ size,
49
+ presets
50
+ }
51
+ ) });
52
+ }
53
+ };
54
+
55
+ exports.DialPresetsInput = DialPresetsInput;
@@ -1,4 +1,4 @@
1
- import { Button } from './chunk-CZ4GQOXG.mjs';
1
+ import { Button } from './chunk-AAFU2FII.mjs';
2
2
  import { cn } from './chunk-HMN4IKTG.mjs';
3
3
  import { cva } from 'class-variance-authority';
4
4
  import { ChevronLeft, ChevronRight } from 'lucide-react';
@@ -1,25 +1,26 @@
1
- import { EulerRadInput } from './chunk-IXNXSECD.mjs';
2
- import { InchInput } from './chunk-3TUONMQ6.mjs';
3
- import { IntInput } from './chunk-4JGGLCXT.mjs';
4
- import { QuaternionInput } from './chunk-VUMOJPEC.mjs';
5
- import { TimeInput } from './chunk-JUSFLIU5.mjs';
6
- import { Vec3Input } from './chunk-SYX6TMCQ.mjs';
7
- import { CmInput } from './chunk-PTGMHZFS.mjs';
8
- import { DegInput } from './chunk-CGUQWS2I.mjs';
9
- import { EulerDegInput } from './chunk-24IUD6Q3.mjs';
10
- import { EulerInput } from './chunk-ZNM6PNI6.mjs';
11
- import { VectorInput } from './chunk-VEWWUO2N.mjs';
12
- import { TextInput } from './chunk-3VVQWVDE.mjs';
13
- import { ColorInput } from './chunk-EXQQRW7T.mjs';
14
- import { PresetsInput } from './chunk-6XOTWZFC.mjs';
15
- import { RadInput } from './chunk-IY36FZ5R.mjs';
1
+ import { DialPresetsInput } from './chunk-V5YUFNEB.mjs';
2
+ import { useDialSchema } from './chunk-L4CIN7FR.mjs';
3
+ import { EulerRadInput } from './chunk-H2AJ2CLT.mjs';
4
+ import { InchInput } from './chunk-ZRMDDK6J.mjs';
5
+ import { IntInput } from './chunk-JH5NAW2V.mjs';
6
+ import { QuaternionInput } from './chunk-2SFB7HHW.mjs';
7
+ import { TimeInput } from './chunk-Z4ZGX3NM.mjs';
8
+ import { Vec3Input } from './chunk-AGHIJQAR.mjs';
9
+ import { CmInput } from './chunk-ZEBAIL6F.mjs';
10
+ import { DegInput } from './chunk-PTBMSYQQ.mjs';
11
+ import { EulerDegInput } from './chunk-WQCVK4PG.mjs';
12
+ import { EulerInput } from './chunk-KS5A3G7B.mjs';
13
+ import { VectorInput } from './chunk-ZDSN4IFT.mjs';
14
+ import { ColorInput } from './chunk-GSQE4JVF.mjs';
15
+ import { RadInput } from './chunk-TZBOF3XO.mjs';
16
+ import { TextInput } from './chunk-7XXTMBF5.mjs';
16
17
  import { Slider } from './chunk-Y6WGGVT2.mjs';
17
18
  import { Switch } from './chunk-AZBJB6KC.mjs';
18
- import { Label } from './chunk-YPQEJEB7.mjs';
19
- import { FormLayout } from './chunk-NRQJX772.mjs';
20
- import { useDialSchema } from './chunk-3HEZVWRW.mjs';
21
- import { InputRoot, InputSlot } from './chunk-LRSDE62T.mjs';
19
+ import { Label } from './chunk-WGWNYPXW.mjs';
20
+ import { FormLayout } from './chunk-FB5MYIVE.mjs';
21
+ import { InputRoot, InputSlot } from './chunk-XMQULAAU.mjs';
22
22
  import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-KJH46JR3.mjs';
23
+ import { useCallback } from 'react';
23
24
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
24
25
 
25
26
  var DialInputWrapper = ({
@@ -435,63 +436,19 @@ var DialNumberRadInput = ({
435
436
  return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(DegInput, { value: degValue, onChange: handleChange, size, step }) });
436
437
  }
437
438
  };
438
- var DialInputWrapper2 = ({ label, children }) => {
439
- if (!label) {
440
- return /* @__PURE__ */ jsx(Fragment, { children });
441
- }
442
- return /* @__PURE__ */ jsxs(FormLayout, { orientation: "label-top", children: [
443
- /* @__PURE__ */ jsx(Label, { size: "sm", children: label }),
444
- children
445
- ] });
446
- };
447
- var DialPresetsInput = ({
448
- name,
449
- label,
450
- size = "sm",
451
- labelPosition,
452
- options
453
- }) => {
454
- const { getValue, setValue } = useDialSchema();
455
- const value = getValue(name) ?? 0;
456
- const presets = options.slice(0, 3).map((opt) => {
457
- if (typeof opt === "number") return opt;
458
- if (typeof opt === "string") return parseFloat(opt);
459
- return typeof opt.value === "number" ? opt.value : parseFloat(opt.value);
460
- });
461
- while (presets.length < 3) {
462
- presets.push(0);
463
- }
464
- if (labelPosition === "inline") {
465
- return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
466
- label && /* @__PURE__ */ jsx(Label, { size: "sm", children: label }),
467
- /* @__PURE__ */ jsx(
468
- PresetsInput,
469
- {
470
- value,
471
- onChange: (val) => setValue(name, val),
472
- size,
473
- presets
474
- }
475
- )
476
- ] });
477
- } else {
478
- return /* @__PURE__ */ jsx(DialInputWrapper2, { label, children: /* @__PURE__ */ jsx(
479
- PresetsInput,
480
- {
481
- value,
482
- onChange: (val) => setValue(name, val),
483
- size,
484
- presets
485
- }
486
- ) });
487
- }
488
- };
489
439
  var DialVectorInput2 = ({
490
440
  name,
491
441
  label,
492
- size = "sm"
442
+ size = "sm",
443
+ labelPosition = "top"
493
444
  }) => {
494
445
  const { getValue, setValue, schemas } = useDialSchema();
446
+ const handleValuesChange = useCallback(
447
+ (newValues) => {
448
+ setValue(name, newValues);
449
+ },
450
+ [name]
451
+ );
495
452
  const schema = schemas.find((s) => s.name === name);
496
453
  if (!schema) {
497
454
  return null;
@@ -518,7 +475,6 @@ var DialVectorInput2 = ({
518
475
  gridColumns = void 0;
519
476
  gridRows = void 0;
520
477
  }
521
- console.log("the grid-flow is", gridAutoFlow, gridColumns, gridRows);
522
478
  const vectorValue = Array.isArray(value) ? value.concat(Array(Math.max(0, dimensions - value.length)).fill(0)) : Array(dimensions).fill(0);
523
479
  const inputSteps = Array.from({ length: dimensions }, (_, i) => {
524
480
  if (steps[i] !== void 0) {
@@ -528,9 +484,6 @@ var DialVectorInput2 = ({
528
484
  return dtype === "number-int" ? 1 : 1e-3;
529
485
  });
530
486
  const labels = placeholders.length > 0 ? placeholders.map((p) => /* @__PURE__ */ jsx("span", { className: "text-xs", children: p })) : void 0;
531
- const handleValuesChange = (newValues) => {
532
- setValue(name, newValues);
533
- };
534
487
  const inputComponent = /* @__PURE__ */ jsx(
535
488
  VectorInput,
536
489
  {
@@ -547,7 +500,7 @@ var DialVectorInput2 = ({
547
500
  if (!label) {
548
501
  return inputComponent;
549
502
  }
550
- return /* @__PURE__ */ jsxs(FormLayout, { orientation: "label-top", children: [
503
+ return /* @__PURE__ */ jsxs(FormLayout, { orientation: `label-${labelPosition}`, children: [
551
504
  /* @__PURE__ */ jsx(Label, { size: "sm", children: label }),
552
505
  /* @__PURE__ */ jsxs("div", { className: "flex flex-row items-center gap-2", children: [
553
506
  schema.helpText && /* @__PURE__ */ jsx(
@@ -764,11 +717,11 @@ var DialPanel = ({
764
717
  ungrouped.length > 0 && /* @__PURE__ */ jsx("div", { className: "dial-group", children: /* @__PURE__ */ jsx("div", { className: "dial-row flex flex-row flex-wrap gap-4", children: ungrouped.map(renderSchemaInput) }) })
765
718
  ] });
766
719
  };
767
- var DialInputWrapper3 = ({ label, children }) => {
720
+ var DialInputWrapper2 = ({ label, labelPosition = "top", children }) => {
768
721
  if (!label) {
769
722
  return /* @__PURE__ */ jsx(Fragment, { children });
770
723
  }
771
- return /* @__PURE__ */ jsxs(FormLayout, { orientation: "label-top", children: [
724
+ return /* @__PURE__ */ jsxs(FormLayout, { orientation: `label-${labelPosition}`, children: [
772
725
  /* @__PURE__ */ jsx(Label, { size: "sm", children: label }),
773
726
  children
774
727
  ] });
@@ -779,77 +732,81 @@ var DialNumberInput = ({
779
732
  max,
780
733
  step = 1,
781
734
  label,
782
- labelPosition,
783
- size = "sm"
735
+ labelPosition = "top",
736
+ size = "sm",
737
+ ...props
784
738
  }) => {
785
739
  const { getValue, setValue } = useDialSchema();
786
740
  const value = getValue(name) ?? 0;
741
+ const handleChange = useCallback(
742
+ (e) => setValue(name, parseFloat(e.target.value)),
743
+ [name]
744
+ );
787
745
  const inputProps = {
788
746
  type: "number",
789
747
  value,
790
748
  min,
791
749
  max,
792
750
  step,
793
- onChange: (e) => setValue(name, parseFloat(e.target.value)),
751
+ onChange: handleChange,
794
752
  size
795
753
  };
796
754
  if (labelPosition === "inline") {
797
755
  return /* @__PURE__ */ jsx(InputRoot, { ...inputProps, children: label ? /* @__PURE__ */ jsx(InputSlot, { side: "left", children: label }) : null });
798
756
  } else {
799
- return /* @__PURE__ */ jsx(DialInputWrapper3, { label, children: /* @__PURE__ */ jsx(InputRoot, { ...inputProps }) });
757
+ return /* @__PURE__ */ jsx(DialInputWrapper2, { label, labelPosition, ...props, children: /* @__PURE__ */ jsx(InputRoot, { ...inputProps }) });
800
758
  }
801
759
  };
802
- var DialBooleanInput = ({ name, label, labelPosition }) => {
760
+ var DialBooleanInput = ({
761
+ name,
762
+ label,
763
+ labelPosition,
764
+ ...props
765
+ }) => {
803
766
  const { getValue, setValue } = useDialSchema();
804
767
  const value = getValue(name) ?? false;
768
+ const handleChange = useCallback((checked) => setValue(name, checked), [name]);
805
769
  const switchProps = {
806
770
  checked: value,
807
- onCheckedChange: (checked) => setValue(name, checked)
771
+ onCheckedChange: handleChange
808
772
  };
809
- if (!label) {
773
+ if (!label || labelPosition === "inline") {
810
774
  return /* @__PURE__ */ jsx(Switch, { ...switchProps });
811
775
  }
812
- return /* @__PURE__ */ jsxs("div", { className: "flex flex-row items-center gap-2", children: [
813
- /* @__PURE__ */ jsx(Label, { size: "sm", children: label }),
814
- /* @__PURE__ */ jsx(Switch, { ...switchProps })
815
- ] });
776
+ return /* @__PURE__ */ jsx(DialInputWrapper2, { label, labelPosition, ...props, children: /* @__PURE__ */ jsx(Switch, { ...switchProps }) });
816
777
  };
817
- var DialColorInput = ({ name, label }) => {
778
+ var DialColorInput = ({ name, label, ...props }) => {
818
779
  const { getValue, setValue } = useDialSchema();
819
780
  const value = getValue(name) ?? "";
820
- const inputComp = /* @__PURE__ */ jsx(ColorInput, { value, onChange: (e) => setValue(name, e.target.value), prefix: label });
821
- if (!label) {
822
- return inputComp;
823
- }
824
- return /* @__PURE__ */ jsx(DialInputWrapper3, { label, children: inputComp });
781
+ const handleChange = useCallback(
782
+ (e) => setValue(name, e.target.value),
783
+ [name]
784
+ );
785
+ const inputComp = /* @__PURE__ */ jsx(ColorInput, { value, onChange: handleChange, prefix: label });
786
+ return /* @__PURE__ */ jsx(DialInputWrapper2, { label, ...props, children: inputComp });
825
787
  };
826
788
  var DialSelectInput = ({
827
789
  name,
828
790
  options = [],
829
791
  label,
830
- labelPosition,
831
- size = "sm"
792
+ size = "sm",
793
+ ...props
832
794
  }) => {
833
795
  const { getValue, setValue } = useDialSchema();
834
796
  const value = getValue(name);
835
- const selectComponent = /* @__PURE__ */ jsxs(
836
- Select,
837
- {
838
- value: String(value),
839
- onValueChange: (val) => {
840
- const parsed = !isNaN(Number(val)) ? Number(val) : val;
841
- setValue(name, parsed);
842
- },
843
- children: [
844
- /* @__PURE__ */ jsx(SelectTrigger, { size, children: /* @__PURE__ */ jsx(SelectValue, { placeholder: "Select an option" }) }),
845
- /* @__PURE__ */ jsx(SelectContent, { children: options.map((opt, i) => /* @__PURE__ */ jsx(SelectItem, { value: String(opt), children: String(opt) }, i)) })
846
- ]
847
- }
797
+ console.log("dial schema:", name, value);
798
+ const handleValueChange = useCallback(
799
+ (val) => {
800
+ const parsed = !isNaN(Number(val)) ? Number(val) : val;
801
+ setValue(name, parsed);
802
+ },
803
+ [name]
848
804
  );
849
- if (!label) {
850
- return selectComponent;
851
- }
852
- return /* @__PURE__ */ jsx(DialInputWrapper3, { label, children: selectComponent });
805
+ const selectComponent = /* @__PURE__ */ jsxs(Select, { value: String(value), onValueChange: handleValueChange, children: [
806
+ /* @__PURE__ */ jsx(SelectTrigger, { size, children: /* @__PURE__ */ jsx(SelectValue, { placeholder: "Select an option" }) }),
807
+ /* @__PURE__ */ jsx(SelectContent, { children: options.map((opt, i) => /* @__PURE__ */ jsx(SelectItem, { value: String(opt), children: String(opt) }, i)) })
808
+ ] });
809
+ return /* @__PURE__ */ jsx(DialInputWrapper2, { label, ...props, children: selectComponent });
853
810
  };
854
811
  var DialSliderInput = ({
855
812
  name,
@@ -857,27 +814,23 @@ var DialSliderInput = ({
857
814
  max = 100,
858
815
  step = 1,
859
816
  label,
860
- labelPosition,
861
- size = "sm"
817
+ ...props
862
818
  }) => {
863
819
  const { getValue, setValue } = useDialSchema();
864
820
  const value = getValue(name) ?? min;
821
+ const handleValueChange = useCallback(([val]) => setValue(name, val), [name]);
865
822
  const sliderProps = {
866
823
  value: [value],
867
- onValueChange: ([val]) => setValue(name, val),
824
+ onValueChange: handleValueChange,
868
825
  min,
869
826
  max,
870
827
  step,
871
828
  className: "flex-1"
872
829
  };
873
- const sliderComponent = /* @__PURE__ */ jsxs("div", { className: "flex flex-1 items-center gap-2", children: [
830
+ return /* @__PURE__ */ jsxs(DialInputWrapper2, { label, ...props, children: [
874
831
  /* @__PURE__ */ jsx(Slider, { ...sliderProps }),
875
832
  /* @__PURE__ */ jsx("span", { className: "text-text-secondary w-12 text-right text-sm", children: value })
876
833
  ] });
877
- if (!label) {
878
- return sliderComponent;
879
- }
880
- return /* @__PURE__ */ jsx(DialInputWrapper3, { label, children: sliderComponent });
881
834
  };
882
835
 
883
- export { DialBooleanInput, DialCmInput, DialColorInput, DialDegInput, DialEulerDegInput, DialEulerInput, DialEulerRadInput, DialInchInput, DialIntInput, DialNumberInput, DialNumberRadInput, DialPanel, DialPresetsInput, DialQuaternionInput, DialRadInput, DialSelectInput, DialSliderInput, DialTextInput, DialTimeInput, DialVec3Input, DialVectorInput, DialVectorInput2 };
836
+ export { DialBooleanInput, DialCmInput, DialColorInput, DialDegInput, DialEulerDegInput, DialEulerInput, DialEulerRadInput, DialInchInput, DialIntInput, DialNumberInput, DialNumberRadInput, DialPanel, DialQuaternionInput, DialRadInput, DialSelectInput, DialSliderInput, DialTextInput, DialTimeInput, DialVec3Input, DialVectorInput, DialVectorInput2 };
@@ -1,4 +1,4 @@
1
- import { InputNumbers } from './chunk-7HOEFGEO.mjs';
1
+ import { InputNumbers } from './chunk-MGFG7EXC.mjs';
2
2
  import { forwardRef } from 'react';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
 
@@ -0,0 +1,26 @@
1
+ import { signOutHandler } from './chunk-HOMAESTR.mjs';
2
+ import { useUser } from './chunk-VSFPXAGN.mjs';
3
+ import { useState, useCallback, useMemo } from 'react';
4
+
5
+ var useSignOut = () => {
6
+ const { refetch, baseURL } = useUser();
7
+ const [isPending, setIsPending] = useState(false);
8
+ const signOutHandle = useCallback(async () => {
9
+ try {
10
+ setIsPending(true);
11
+ await signOutHandler(baseURL);
12
+ await refetch();
13
+ setIsPending(false);
14
+ } catch (e) {
15
+ console.error(e);
16
+ }
17
+ }, [baseURL, refetch]);
18
+ return useMemo(() => {
19
+ return {
20
+ isPending,
21
+ signOut: signOutHandle
22
+ };
23
+ }, [isPending, signOutHandle]);
24
+ };
25
+
26
+ export { useSignOut };
@@ -0,0 +1,13 @@
1
+ import { bearerToken } from './chunk-UT7B4TLZ.mjs';
2
+
3
+ // src/auth/handler/fetch-auth.ts
4
+ var fetchAuth = async (url, options = {}) => {
5
+ const token = localStorage.getItem(bearerToken) || "";
6
+ const headers = {
7
+ ...options.headers,
8
+ Authorization: `Bearer ${token}`
9
+ };
10
+ return fetch(url, { ...options, headers });
11
+ };
12
+
13
+ export { fetchAuth };
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkJFIAWTRH_cjs = require('./chunk-JFIAWTRH.cjs');
3
+ var chunkSU57ZAZJ_cjs = require('./chunk-SU57ZAZJ.cjs');
4
4
  var react = require('react');
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
 
7
7
  var Vec3Input = react.forwardRef(function Vec3Input2({ value, onValuesChange, ...props }, ref) {
8
8
  return /* @__PURE__ */ jsxRuntime.jsx(
9
- chunkJFIAWTRH_cjs.VectorInput,
9
+ chunkSU57ZAZJ_cjs.VectorInput,
10
10
  {
11
11
  ref,
12
12
  value,
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ var chunkX3H6FYAM_cjs = require('./chunk-X3H6FYAM.cjs');
4
+
5
+ // src/auth/handler/get-sessions.ts
6
+ var getSessions = async (baseURL) => {
7
+ const res = await chunkX3H6FYAM_cjs.fetchAuth(`${baseURL}/api/auth/multi-session/list-device-sessions`, {
8
+ credentials: "include"
9
+ });
10
+ const authJWT = res.headers.get("set-auth-jwt");
11
+ const data = await res.json();
12
+ return data.map((session) => {
13
+ return { ...session, session: { ...session.session, jwt: authJWT ?? "" } };
14
+ });
15
+ };
16
+
17
+ exports.getSessions = getSessions;
@@ -1,6 +1,6 @@
1
1
  import { useTheme } from './chunk-FK6ZROZE.mjs';
2
- import { Tooltip, TooltipTrigger, TooltipContent } from './chunk-5MBEK77I.mjs';
3
- import { Button } from './chunk-CZ4GQOXG.mjs';
2
+ import { Tooltip, TooltipTrigger, TooltipContent } from './chunk-57MAUYQZ.mjs';
3
+ import { Button } from './chunk-AAFU2FII.mjs';
4
4
  import { cn } from './chunk-HMN4IKTG.mjs';
5
5
  import { PanelsTopLeft, LayoutTemplate, SunMoon, Moon, Sun } from 'lucide-react';
6
6
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -1,18 +1,18 @@
1
1
  import { useTimelineState } from './chunk-JWKOW2OV.mjs';
2
2
  import { useViewport } from './chunk-VPQ5SSY3.mjs';
3
- import { TimelineProcessBar } from './chunk-CO6EASQO.mjs';
4
3
  import { LeftWedge, RightWedge } from './chunk-IR334P7F.mjs';
5
4
  import { WheelZoomContext } from './chunk-CIPI2V54.mjs';
6
- import { useTreeState, useTreeSearch } from './chunk-PC5DHSC4.mjs';
7
5
  import { CursorOverlay } from './chunk-SA5WKLYB.mjs';
8
6
  import { NavigationControls } from './chunk-D5H4XX6Q.mjs';
9
7
  import { Tick } from './chunk-JVV7W3TP.mjs';
10
8
  import { TimeRuleEventDot } from './chunk-OC4HRPZU.mjs';
11
9
  import { TimelineEvent } from './chunk-N6DSPSMM.mjs';
10
+ import { TimelineProcessBar } from './chunk-CO6EASQO.mjs';
12
11
  import { rightWedgeClasses, leftWedgeClasses, TOTAL_DURATION } from './chunk-4U232QAX.mjs';
13
- import { TreeSearchBar } from './chunk-SUEFWFPX.mjs';
12
+ import { TreeSearchBar } from './chunk-HFGRTWTD.mjs';
14
13
  import { TreeView } from './chunk-VQPJ7TLB.mjs';
15
- import { TooltipProvider } from './chunk-5MBEK77I.mjs';
14
+ import { useTreeState, useTreeSearch } from './chunk-PC5DHSC4.mjs';
15
+ import { TooltipProvider } from './chunk-57MAUYQZ.mjs';
16
16
  import { SyncScroll, SyncDragY, SyncScrollSlave } from './chunk-PDOFOJ4P.mjs';
17
17
  import { cn } from './chunk-HMN4IKTG.mjs';
18
18
  import { SyncScrollProvider } from './chunk-SAGQV2YZ.mjs';
@@ -80,9 +80,21 @@ function Waterfall({
80
80
  "div",
81
81
  {
82
82
  className: cn(
83
- "bg-bg-primary liquid-dark:liquid-dark-bg liquid-light:liquid-light-bg",
84
- "text-text-primary rounded-uk-md",
85
- "mx-auto flex w-full flex-col overflow-hidden font-sans",
83
+ "bg-bg-primary",
84
+ "liquid-dark:liquid-dark-bg",
85
+ "liquid-dark:border-[0.9px]",
86
+ "liquid-dark:border-[rgba(85,85,85,100)]",
87
+ "liquid-light:liquid-light-bg",
88
+ "liquid-light:border-[0.8px]",
89
+ "liquid-light:border-[white]",
90
+ "text-text-primary",
91
+ "rounded-uk-lg",
92
+ "mx-auto",
93
+ "flex",
94
+ "w-full",
95
+ "flex-col",
96
+ "overflow-hidden",
97
+ "font-sans",
86
98
  "shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
87
99
  className
88
100
  ),
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkGOGJVFRN_cjs = require('./chunk-GOGJVFRN.cjs');
4
- var chunkHBIZQDDS_cjs = require('./chunk-HBIZQDDS.cjs');
3
+ var chunk6IXKC64S_cjs = require('./chunk-6IXKC64S.cjs');
4
+ var chunkRQH7ZAWF_cjs = require('./chunk-RQH7ZAWF.cjs');
5
5
  var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
6
6
  var react = require('react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
@@ -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
- chunkGOGJVFRN_cjs.InputNumbers,
22
+ chunk6IXKC64S_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
- chunkHBIZQDDS_cjs.Button,
33
+ chunkRQH7ZAWF_cjs.Button,
34
34
  {
35
35
  size,
36
36
  variant: "secondary",
@@ -57,11 +57,11 @@ var buttonVariants = classVarianceAuthority.cva(
57
57
  },
58
58
  size: {
59
59
  sm: [
60
- "rounded-uk-sm",
60
+ "rounded-uk-md",
61
61
  "text-uk-sm",
62
62
  "py-sm",
63
63
  "gap-xxs",
64
- "px-sm",
64
+ "px-md",
65
65
  "leading-4",
66
66
  "[&_svg:not([class*='size-'])]:size-3"
67
67
  ],
@@ -1,17 +1,21 @@
1
1
  'use strict';
2
2
 
3
- var chunkSVWS4AL6_cjs = require('./chunk-SVWS4AL6.cjs');
3
+ var chunkF4Z5KATZ_cjs = require('./chunk-F4Z5KATZ.cjs');
4
4
 
5
5
  // src/auth/handler/sign-in-handler.ts
6
- var signInHandler = (props, refetch) => {
6
+ var signInHandler = (props) => {
7
7
  const { authMode } = props;
8
8
  if (authMode === "redirect") {
9
9
  return sigInWithRedirect(props);
10
10
  } else {
11
- return sigInWithPopup(props, refetch);
11
+ return sigInWithPopup(props);
12
12
  }
13
13
  };
14
- var sigInWithPopup = async (props, refetch) => {
14
+ var sigInWithRedirect = (props) => {
15
+ const { callbackURL, baseURL } = props;
16
+ window.location.href = `${baseURL}/authorize?callbackURL=${encodeURIComponent(callbackURL)}`;
17
+ };
18
+ var sigInWithPopup = async (props) => {
15
19
  const { callbackURL, baseURL } = props;
16
20
  const width = 500;
17
21
  const height = 600;
@@ -34,22 +38,17 @@ var sigInWithPopup = async (props, refetch) => {
34
38
  if (event.data.type === "AUTH_TOKEN") {
35
39
  const token = event.data.token;
36
40
  if (token) {
37
- localStorage.setItem(chunkSVWS4AL6_cjs.bearerToken, token);
41
+ localStorage.setItem(chunkF4Z5KATZ_cjs.bearerToken, token);
38
42
  window.removeEventListener("message", handle);
39
43
  resolve(token);
40
44
  if (callbackURL) {
41
45
  window.location.href = callbackURL;
42
46
  }
43
- refetch();
44
47
  }
45
48
  }
46
49
  };
47
50
  window.addEventListener("message", handle);
48
51
  });
49
52
  };
50
- var sigInWithRedirect = (props) => {
51
- const { callbackURL, baseURL } = props;
52
- window.location.href = `${baseURL}/authorize?callbackURL=${encodeURIComponent(callbackURL)}`;
53
- };
54
53
 
55
54
  exports.signInHandler = signInHandler;