@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,27 +1,28 @@
1
1
  'use strict';
2
2
 
3
- var chunkAJQEHMYV_cjs = require('./chunk-AJQEHMYV.cjs');
4
- var chunkPTCDBU72_cjs = require('./chunk-PTCDBU72.cjs');
5
- var chunk64L2SNKA_cjs = require('./chunk-64L2SNKA.cjs');
6
- var chunkEAXBNWXE_cjs = require('./chunk-EAXBNWXE.cjs');
7
- var chunkNSUFTZNC_cjs = require('./chunk-NSUFTZNC.cjs');
8
- var chunkHN3AMWUM_cjs = require('./chunk-HN3AMWUM.cjs');
9
- var chunkAOV3ADTV_cjs = require('./chunk-AOV3ADTV.cjs');
10
- var chunkA2UZY7Y2_cjs = require('./chunk-A2UZY7Y2.cjs');
11
- var chunkD5WOPTKY_cjs = require('./chunk-D5WOPTKY.cjs');
12
- var chunk2EG65KGO_cjs = require('./chunk-2EG65KGO.cjs');
13
- var chunkJFIAWTRH_cjs = require('./chunk-JFIAWTRH.cjs');
14
- var chunk2WD4ZL27_cjs = require('./chunk-2WD4ZL27.cjs');
15
- var chunkZRRCYQ53_cjs = require('./chunk-ZRRCYQ53.cjs');
16
- var chunk7GJVMFKJ_cjs = require('./chunk-7GJVMFKJ.cjs');
17
- var chunk5XBMFADS_cjs = require('./chunk-5XBMFADS.cjs');
3
+ var chunkPFIP3ETQ_cjs = require('./chunk-PFIP3ETQ.cjs');
4
+ var chunkZXIKMZPH_cjs = require('./chunk-ZXIKMZPH.cjs');
5
+ var chunkNIEFMP5V_cjs = require('./chunk-NIEFMP5V.cjs');
6
+ var chunkTYZHIBYI_cjs = require('./chunk-TYZHIBYI.cjs');
7
+ var chunk6D66V6ON_cjs = require('./chunk-6D66V6ON.cjs');
8
+ var chunk5VUM46YD_cjs = require('./chunk-5VUM46YD.cjs');
9
+ var chunkL2YLNWCQ_cjs = require('./chunk-L2YLNWCQ.cjs');
10
+ var chunkQ5PJKBX7_cjs = require('./chunk-Q5PJKBX7.cjs');
11
+ var chunkM45UXJWX_cjs = require('./chunk-M45UXJWX.cjs');
12
+ var chunkS5XJOGB4_cjs = require('./chunk-S5XJOGB4.cjs');
13
+ var chunk7NUXYKXU_cjs = require('./chunk-7NUXYKXU.cjs');
14
+ var chunk2MSGENAQ_cjs = require('./chunk-2MSGENAQ.cjs');
15
+ var chunkSU57ZAZJ_cjs = require('./chunk-SU57ZAZJ.cjs');
16
+ var chunkBTXD3NAG_cjs = require('./chunk-BTXD3NAG.cjs');
17
+ var chunk4GVFCQGI_cjs = require('./chunk-4GVFCQGI.cjs');
18
+ var chunkZGS3VGGN_cjs = require('./chunk-ZGS3VGGN.cjs');
18
19
  var chunkEKPJUR3U_cjs = require('./chunk-EKPJUR3U.cjs');
19
20
  var chunkVJN3GGLZ_cjs = require('./chunk-VJN3GGLZ.cjs');
20
- var chunkASR6OXVT_cjs = require('./chunk-ASR6OXVT.cjs');
21
- var chunkUASPJ57U_cjs = require('./chunk-UASPJ57U.cjs');
22
- var chunkRMK6W774_cjs = require('./chunk-RMK6W774.cjs');
23
- var chunkLQGXG373_cjs = require('./chunk-LQGXG373.cjs');
21
+ var chunkLI5W744D_cjs = require('./chunk-LI5W744D.cjs');
22
+ var chunkLPKVKTOK_cjs = require('./chunk-LPKVKTOK.cjs');
23
+ var chunkWB43VEZA_cjs = require('./chunk-WB43VEZA.cjs');
24
24
  var chunk4PKPCOAF_cjs = require('./chunk-4PKPCOAF.cjs');
25
+ var react = require('react');
25
26
  var jsxRuntime = require('react/jsx-runtime');
26
27
 
27
28
  var DialInputWrapper = ({
@@ -32,8 +33,8 @@ var DialInputWrapper = ({
32
33
  if (!label) {
33
34
  return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
34
35
  }
35
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkUASPJ57U_cjs.FormLayout, { orientation: `label-${labelPosition}`, children: [
36
- /* @__PURE__ */ jsxRuntime.jsx(chunkASR6OXVT_cjs.Label, { size: "sm", children: label }),
36
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkLPKVKTOK_cjs.FormLayout, { orientation: `label-${labelPosition}`, children: [
37
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLI5W744D_cjs.Label, { size: "sm", children: label }),
37
38
  /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children })
38
39
  ] });
39
40
  };
@@ -44,11 +45,11 @@ var DialVec3Input = ({
44
45
  step,
45
46
  labelPosition
46
47
  }) => {
47
- const { getValue, setValue } = chunkRMK6W774_cjs.useDialSchema();
48
+ const { getValue, setValue } = chunkZXIKMZPH_cjs.useDialSchema();
48
49
  const value = getValue(name) ?? [0, 0, 0];
49
50
  if (labelPosition === "inline") {
50
51
  return /* @__PURE__ */ jsxRuntime.jsx(
51
- chunkHN3AMWUM_cjs.Vec3Input,
52
+ chunkQ5PJKBX7_cjs.Vec3Input,
52
53
  {
53
54
  value,
54
55
  onValuesChange: (val) => setValue(name, val),
@@ -59,7 +60,7 @@ var DialVec3Input = ({
59
60
  );
60
61
  } else {
61
62
  return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(
62
- chunkHN3AMWUM_cjs.Vec3Input,
63
+ chunkQ5PJKBX7_cjs.Vec3Input,
63
64
  {
64
65
  value,
65
66
  onValuesChange: (val) => setValue(name, val),
@@ -76,11 +77,11 @@ var DialEulerInput = ({
76
77
  step,
77
78
  labelPosition
78
79
  }) => {
79
- const { getValue, setValue } = chunkRMK6W774_cjs.useDialSchema();
80
+ const { getValue, setValue } = chunkZXIKMZPH_cjs.useDialSchema();
80
81
  const value = getValue(name) ?? [0, 0, 0];
81
82
  if (labelPosition === "inline") {
82
83
  return /* @__PURE__ */ jsxRuntime.jsx(
83
- chunk2EG65KGO_cjs.EulerInput,
84
+ chunk2MSGENAQ_cjs.EulerInput,
84
85
  {
85
86
  value,
86
87
  onValuesChange: (val) => setValue(name, val),
@@ -91,7 +92,7 @@ var DialEulerInput = ({
91
92
  );
92
93
  } else {
93
94
  return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(
94
- chunk2EG65KGO_cjs.EulerInput,
95
+ chunk2MSGENAQ_cjs.EulerInput,
95
96
  {
96
97
  value,
97
98
  onValuesChange: (val) => setValue(name, val),
@@ -108,11 +109,11 @@ var DialEulerDegInput = ({
108
109
  step,
109
110
  labelPosition
110
111
  }) => {
111
- const { getValue, setValue } = chunkRMK6W774_cjs.useDialSchema();
112
+ const { getValue, setValue } = chunkZXIKMZPH_cjs.useDialSchema();
112
113
  const value = getValue(name) ?? [0, 0, 0];
113
114
  if (labelPosition === "inline") {
114
115
  return /* @__PURE__ */ jsxRuntime.jsx(
115
- chunkD5WOPTKY_cjs.EulerDegInput,
116
+ chunk7NUXYKXU_cjs.EulerDegInput,
116
117
  {
117
118
  value,
118
119
  onValuesChange: (val) => setValue(name, val),
@@ -123,7 +124,7 @@ var DialEulerDegInput = ({
123
124
  );
124
125
  } else {
125
126
  return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(
126
- chunkD5WOPTKY_cjs.EulerDegInput,
127
+ chunk7NUXYKXU_cjs.EulerDegInput,
127
128
  {
128
129
  value,
129
130
  onValuesChange: (val) => setValue(name, val),
@@ -140,11 +141,11 @@ var DialQuaternionInput = ({
140
141
  step,
141
142
  labelPosition
142
143
  }) => {
143
- const { getValue, setValue } = chunkRMK6W774_cjs.useDialSchema();
144
+ const { getValue, setValue } = chunkZXIKMZPH_cjs.useDialSchema();
144
145
  const value = getValue(name) ?? [1, 0, 0, 0];
145
146
  if (labelPosition === "inline") {
146
147
  return /* @__PURE__ */ jsxRuntime.jsx(
147
- chunkEAXBNWXE_cjs.QuaternionInput,
148
+ chunk5VUM46YD_cjs.QuaternionInput,
148
149
  {
149
150
  value,
150
151
  onValuesChange: (val) => setValue(name, val),
@@ -155,7 +156,7 @@ var DialQuaternionInput = ({
155
156
  );
156
157
  } else {
157
158
  return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(
158
- chunkEAXBNWXE_cjs.QuaternionInput,
159
+ chunk5VUM46YD_cjs.QuaternionInput,
159
160
  {
160
161
  value,
161
162
  onValuesChange: (val) => setValue(name, val),
@@ -173,11 +174,11 @@ var DialVectorInput = ({
173
174
  dimensions = 3,
174
175
  labelPosition
175
176
  }) => {
176
- const { getValue, setValue } = chunkRMK6W774_cjs.useDialSchema();
177
+ const { getValue, setValue } = chunkZXIKMZPH_cjs.useDialSchema();
177
178
  const value = getValue(name) ?? new Array(dimensions).fill(0);
178
179
  if (labelPosition === "inline") {
179
180
  return /* @__PURE__ */ jsxRuntime.jsx(
180
- chunkJFIAWTRH_cjs.VectorInput,
181
+ chunkSU57ZAZJ_cjs.VectorInput,
181
182
  {
182
183
  value,
183
184
  onValuesChange: (val) => setValue(name, val),
@@ -188,7 +189,7 @@ var DialVectorInput = ({
188
189
  );
189
190
  } else {
190
191
  return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(
191
- chunkJFIAWTRH_cjs.VectorInput,
192
+ chunkSU57ZAZJ_cjs.VectorInput,
192
193
  {
193
194
  value,
194
195
  onValuesChange: (val) => setValue(name, val),
@@ -205,11 +206,11 @@ var DialIntInput = ({
205
206
  step = 1,
206
207
  labelPosition
207
208
  }) => {
208
- const { getValue, setValue } = chunkRMK6W774_cjs.useDialSchema();
209
+ const { getValue, setValue } = chunkZXIKMZPH_cjs.useDialSchema();
209
210
  const value = getValue(name) ?? 0;
210
211
  if (labelPosition === "inline") {
211
212
  return /* @__PURE__ */ jsxRuntime.jsx(
212
- chunk64L2SNKA_cjs.IntInput,
213
+ chunk6D66V6ON_cjs.IntInput,
213
214
  {
214
215
  value,
215
216
  prefix: label ? [label] : void 0,
@@ -219,7 +220,7 @@ var DialIntInput = ({
219
220
  }
220
221
  );
221
222
  } else {
222
- return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(chunk64L2SNKA_cjs.IntInput, { value, onChange: (val) => setValue(name, val), size, step }) });
223
+ return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(chunk6D66V6ON_cjs.IntInput, { value, onChange: (val) => setValue(name, val), size, step }) });
223
224
  }
224
225
  };
225
226
  var DialDegInput = ({
@@ -229,11 +230,11 @@ var DialDegInput = ({
229
230
  step,
230
231
  labelPosition
231
232
  }) => {
232
- const { getValue, setValue } = chunkRMK6W774_cjs.useDialSchema();
233
+ const { getValue, setValue } = chunkZXIKMZPH_cjs.useDialSchema();
233
234
  const value = getValue(name) ?? 0;
234
235
  if (labelPosition === "inline") {
235
236
  return /* @__PURE__ */ jsxRuntime.jsx(
236
- chunkA2UZY7Y2_cjs.DegInput,
237
+ chunkS5XJOGB4_cjs.DegInput,
237
238
  {
238
239
  value,
239
240
  onChange: (val) => setValue(name, val),
@@ -243,7 +244,7 @@ var DialDegInput = ({
243
244
  }
244
245
  );
245
246
  } else {
246
- return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(chunkA2UZY7Y2_cjs.DegInput, { value, onChange: (val) => setValue(name, val), size, step }) });
247
+ return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(chunkS5XJOGB4_cjs.DegInput, { value, onChange: (val) => setValue(name, val), size, step }) });
247
248
  }
248
249
  };
249
250
  var DialRadInput = ({
@@ -253,11 +254,11 @@ var DialRadInput = ({
253
254
  step,
254
255
  labelPosition
255
256
  }) => {
256
- const { getValue, setValue } = chunkRMK6W774_cjs.useDialSchema();
257
+ const { getValue, setValue } = chunkZXIKMZPH_cjs.useDialSchema();
257
258
  const value = getValue(name) ?? 0;
258
259
  if (labelPosition === "inline") {
259
260
  return /* @__PURE__ */ jsxRuntime.jsx(
260
- chunk5XBMFADS_cjs.RadInput,
261
+ chunk4GVFCQGI_cjs.RadInput,
261
262
  {
262
263
  value,
263
264
  onChange: (val) => setValue(name, val),
@@ -267,7 +268,7 @@ var DialRadInput = ({
267
268
  }
268
269
  );
269
270
  } else {
270
- return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(chunk5XBMFADS_cjs.RadInput, { value, onChange: (val) => setValue(name, val), size, step }) });
271
+ return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(chunk4GVFCQGI_cjs.RadInput, { value, onChange: (val) => setValue(name, val), size, step }) });
271
272
  }
272
273
  };
273
274
  var DialCmInput = ({
@@ -277,11 +278,11 @@ var DialCmInput = ({
277
278
  step,
278
279
  labelPosition
279
280
  }) => {
280
- const { getValue, setValue } = chunkRMK6W774_cjs.useDialSchema();
281
+ const { getValue, setValue } = chunkZXIKMZPH_cjs.useDialSchema();
281
282
  const value = getValue(name) ?? 0;
282
283
  if (labelPosition === "inline") {
283
284
  return /* @__PURE__ */ jsxRuntime.jsx(
284
- chunkAOV3ADTV_cjs.CmInput,
285
+ chunkM45UXJWX_cjs.CmInput,
285
286
  {
286
287
  value,
287
288
  onChange: (val) => setValue(name, val),
@@ -291,7 +292,7 @@ var DialCmInput = ({
291
292
  }
292
293
  );
293
294
  } else {
294
- return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(chunkAOV3ADTV_cjs.CmInput, { value, onChange: (val) => setValue(name, val), size, step }) });
295
+ return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(chunkM45UXJWX_cjs.CmInput, { value, onChange: (val) => setValue(name, val), size, step }) });
295
296
  }
296
297
  };
297
298
  var DialInchInput = ({
@@ -301,11 +302,11 @@ var DialInchInput = ({
301
302
  step,
302
303
  labelPosition
303
304
  }) => {
304
- const { getValue, setValue } = chunkRMK6W774_cjs.useDialSchema();
305
+ const { getValue, setValue } = chunkZXIKMZPH_cjs.useDialSchema();
305
306
  const value = getValue(name) ?? 0;
306
307
  if (labelPosition === "inline") {
307
308
  return /* @__PURE__ */ jsxRuntime.jsx(
308
- chunkPTCDBU72_cjs.InchInput,
309
+ chunkTYZHIBYI_cjs.InchInput,
309
310
  {
310
311
  value,
311
312
  onChange: (val) => setValue(name, val),
@@ -315,7 +316,7 @@ var DialInchInput = ({
315
316
  }
316
317
  );
317
318
  } else {
318
- return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTCDBU72_cjs.InchInput, { value, onChange: (val) => setValue(name, val), size, step }) });
319
+ return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(chunkTYZHIBYI_cjs.InchInput, { value, onChange: (val) => setValue(name, val), size, step }) });
319
320
  }
320
321
  };
321
322
  var DialTimeInput = ({
@@ -325,11 +326,11 @@ var DialTimeInput = ({
325
326
  step,
326
327
  labelPosition
327
328
  }) => {
328
- const { getValue, setValue } = chunkRMK6W774_cjs.useDialSchema();
329
+ const { getValue, setValue } = chunkZXIKMZPH_cjs.useDialSchema();
329
330
  const value = getValue(name) ?? 0;
330
331
  if (labelPosition === "inline") {
331
332
  return /* @__PURE__ */ jsxRuntime.jsx(
332
- chunkNSUFTZNC_cjs.TimeInput,
333
+ chunkL2YLNWCQ_cjs.TimeInput,
333
334
  {
334
335
  value,
335
336
  onChange: (val) => setValue(name, val),
@@ -339,7 +340,7 @@ var DialTimeInput = ({
339
340
  }
340
341
  );
341
342
  } else {
342
- return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(chunkNSUFTZNC_cjs.TimeInput, { value, onChange: (val) => setValue(name, val), size, step }) });
343
+ return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(chunkL2YLNWCQ_cjs.TimeInput, { value, onChange: (val) => setValue(name, val), size, step }) });
343
344
  }
344
345
  };
345
346
  var DialTextInput = ({
@@ -349,11 +350,11 @@ var DialTextInput = ({
349
350
  labelPosition,
350
351
  placeholder
351
352
  }) => {
352
- const { getValue, setValue } = chunkRMK6W774_cjs.useDialSchema();
353
+ const { getValue, setValue } = chunkZXIKMZPH_cjs.useDialSchema();
353
354
  const value = getValue(name) ?? "";
354
355
  if (labelPosition === "inline") {
355
356
  return /* @__PURE__ */ jsxRuntime.jsx(
356
- chunk2WD4ZL27_cjs.TextInput,
357
+ chunkZGS3VGGN_cjs.TextInput,
357
358
  {
358
359
  value,
359
360
  onChange: (val) => setValue(name, val),
@@ -364,7 +365,7 @@ var DialTextInput = ({
364
365
  );
365
366
  } else {
366
367
  return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(
367
- chunk2WD4ZL27_cjs.TextInput,
368
+ chunkZGS3VGGN_cjs.TextInput,
368
369
  {
369
370
  value,
370
371
  onChange: (val) => setValue(name, val),
@@ -381,11 +382,11 @@ var DialEulerRadInput = ({
381
382
  step,
382
383
  labelPosition
383
384
  }) => {
384
- const { getValue, setValue } = chunkRMK6W774_cjs.useDialSchema();
385
+ const { getValue, setValue } = chunkZXIKMZPH_cjs.useDialSchema();
385
386
  const value = getValue(name) ?? [0, 0, 0];
386
387
  if (labelPosition === "inline") {
387
388
  return /* @__PURE__ */ jsxRuntime.jsx(
388
- chunkAJQEHMYV_cjs.EulerRadInput,
389
+ chunkNIEFMP5V_cjs.EulerRadInput,
389
390
  {
390
391
  value,
391
392
  onValuesChange: (val) => setValue(name, val),
@@ -397,7 +398,7 @@ var DialEulerRadInput = ({
397
398
  );
398
399
  } else {
399
400
  return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(
400
- chunkAJQEHMYV_cjs.EulerRadInput,
401
+ chunkNIEFMP5V_cjs.EulerRadInput,
401
402
  {
402
403
  value,
403
404
  onValuesChange: (val) => setValue(name, val),
@@ -415,7 +416,7 @@ var DialNumberRadInput = ({
415
416
  step,
416
417
  labelPosition
417
418
  }) => {
418
- const { getValue, setValue } = chunkRMK6W774_cjs.useDialSchema();
419
+ const { getValue, setValue } = chunkZXIKMZPH_cjs.useDialSchema();
419
420
  const value = getValue(name) ?? 0;
420
421
  const degValue = value * 180 / Math.PI;
421
422
  const handleChange = (deg) => {
@@ -424,7 +425,7 @@ var DialNumberRadInput = ({
424
425
  };
425
426
  if (labelPosition === "inline") {
426
427
  return /* @__PURE__ */ jsxRuntime.jsx(
427
- chunkA2UZY7Y2_cjs.DegInput,
428
+ chunkS5XJOGB4_cjs.DegInput,
428
429
  {
429
430
  value: degValue,
430
431
  onChange: handleChange,
@@ -434,66 +435,22 @@ var DialNumberRadInput = ({
434
435
  }
435
436
  );
436
437
  } else {
437
- return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(chunkA2UZY7Y2_cjs.DegInput, { value: degValue, onChange: handleChange, size, step }) });
438
- }
439
- };
440
- var DialInputWrapper2 = ({ label, children }) => {
441
- if (!label) {
442
- return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
443
- }
444
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkUASPJ57U_cjs.FormLayout, { orientation: "label-top", children: [
445
- /* @__PURE__ */ jsxRuntime.jsx(chunkASR6OXVT_cjs.Label, { size: "sm", children: label }),
446
- children
447
- ] });
448
- };
449
- var DialPresetsInput = ({
450
- name,
451
- label,
452
- size = "sm",
453
- labelPosition,
454
- options
455
- }) => {
456
- const { getValue, setValue } = chunkRMK6W774_cjs.useDialSchema();
457
- const value = getValue(name) ?? 0;
458
- const presets = options.slice(0, 3).map((opt) => {
459
- if (typeof opt === "number") return opt;
460
- if (typeof opt === "string") return parseFloat(opt);
461
- return typeof opt.value === "number" ? opt.value : parseFloat(opt.value);
462
- });
463
- while (presets.length < 3) {
464
- presets.push(0);
465
- }
466
- if (labelPosition === "inline") {
467
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
468
- label && /* @__PURE__ */ jsxRuntime.jsx(chunkASR6OXVT_cjs.Label, { size: "sm", children: label }),
469
- /* @__PURE__ */ jsxRuntime.jsx(
470
- chunk7GJVMFKJ_cjs.PresetsInput,
471
- {
472
- value,
473
- onChange: (val) => setValue(name, val),
474
- size,
475
- presets
476
- }
477
- )
478
- ] });
479
- } else {
480
- return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper2, { label, children: /* @__PURE__ */ jsxRuntime.jsx(
481
- chunk7GJVMFKJ_cjs.PresetsInput,
482
- {
483
- value,
484
- onChange: (val) => setValue(name, val),
485
- size,
486
- presets
487
- }
488
- ) });
438
+ return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsxRuntime.jsx(chunkS5XJOGB4_cjs.DegInput, { value: degValue, onChange: handleChange, size, step }) });
489
439
  }
490
440
  };
491
441
  var DialVectorInput2 = ({
492
442
  name,
493
443
  label,
494
- size = "sm"
444
+ size = "sm",
445
+ labelPosition = "top"
495
446
  }) => {
496
- const { getValue, setValue, schemas } = chunkRMK6W774_cjs.useDialSchema();
447
+ const { getValue, setValue, schemas } = chunkZXIKMZPH_cjs.useDialSchema();
448
+ const handleValuesChange = react.useCallback(
449
+ (newValues) => {
450
+ setValue(name, newValues);
451
+ },
452
+ [name]
453
+ );
497
454
  const schema = schemas.find((s) => s.name === name);
498
455
  if (!schema) {
499
456
  return null;
@@ -520,7 +477,6 @@ var DialVectorInput2 = ({
520
477
  gridColumns = void 0;
521
478
  gridRows = void 0;
522
479
  }
523
- console.log("the grid-flow is", gridAutoFlow, gridColumns, gridRows);
524
480
  const vectorValue = Array.isArray(value) ? value.concat(Array(Math.max(0, dimensions - value.length)).fill(0)) : Array(dimensions).fill(0);
525
481
  const inputSteps = Array.from({ length: dimensions }, (_, i) => {
526
482
  if (steps[i] !== void 0) {
@@ -530,11 +486,8 @@ var DialVectorInput2 = ({
530
486
  return dtype === "number-int" ? 1 : 1e-3;
531
487
  });
532
488
  const labels = placeholders.length > 0 ? placeholders.map((p) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs", children: p })) : void 0;
533
- const handleValuesChange = (newValues) => {
534
- setValue(name, newValues);
535
- };
536
489
  const inputComponent = /* @__PURE__ */ jsxRuntime.jsx(
537
- chunkJFIAWTRH_cjs.VectorInput,
490
+ chunkSU57ZAZJ_cjs.VectorInput,
538
491
  {
539
492
  value: vectorValue,
540
493
  onValuesChange: handleValuesChange,
@@ -549,8 +502,8 @@ var DialVectorInput2 = ({
549
502
  if (!label) {
550
503
  return inputComponent;
551
504
  }
552
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkUASPJ57U_cjs.FormLayout, { orientation: "label-top", children: [
553
- /* @__PURE__ */ jsxRuntime.jsx(chunkASR6OXVT_cjs.Label, { size: "sm", children: label }),
505
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkLPKVKTOK_cjs.FormLayout, { orientation: `label-${labelPosition}`, children: [
506
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLI5W744D_cjs.Label, { size: "sm", children: label }),
554
507
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-row items-center gap-2", children: [
555
508
  schema.helpText && /* @__PURE__ */ jsxRuntime.jsx(
556
509
  "span",
@@ -701,7 +654,7 @@ var DialPanel = ({
701
654
  }
702
655
  if (options && options.length > 0) {
703
656
  return /* @__PURE__ */ jsxRuntime.jsx(
704
- DialPresetsInput,
657
+ chunkPFIP3ETQ_cjs.DialPresetsInput,
705
658
  {
706
659
  name,
707
660
  label,
@@ -766,12 +719,12 @@ var DialPanel = ({
766
719
  ungrouped.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "dial-group", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "dial-row flex flex-row flex-wrap gap-4", children: ungrouped.map(renderSchemaInput) }) })
767
720
  ] });
768
721
  };
769
- var DialInputWrapper3 = ({ label, children }) => {
722
+ var DialInputWrapper2 = ({ label, labelPosition = "top", children }) => {
770
723
  if (!label) {
771
724
  return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
772
725
  }
773
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkUASPJ57U_cjs.FormLayout, { orientation: "label-top", children: [
774
- /* @__PURE__ */ jsxRuntime.jsx(chunkASR6OXVT_cjs.Label, { size: "sm", children: label }),
726
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkLPKVKTOK_cjs.FormLayout, { orientation: `label-${labelPosition}`, children: [
727
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLI5W744D_cjs.Label, { size: "sm", children: label }),
775
728
  children
776
729
  ] });
777
730
  };
@@ -781,77 +734,81 @@ var DialNumberInput = ({
781
734
  max,
782
735
  step = 1,
783
736
  label,
784
- labelPosition,
785
- size = "sm"
737
+ labelPosition = "top",
738
+ size = "sm",
739
+ ...props
786
740
  }) => {
787
- const { getValue, setValue } = chunkRMK6W774_cjs.useDialSchema();
741
+ const { getValue, setValue } = chunkZXIKMZPH_cjs.useDialSchema();
788
742
  const value = getValue(name) ?? 0;
743
+ const handleChange = react.useCallback(
744
+ (e) => setValue(name, parseFloat(e.target.value)),
745
+ [name]
746
+ );
789
747
  const inputProps = {
790
748
  type: "number",
791
749
  value,
792
750
  min,
793
751
  max,
794
752
  step,
795
- onChange: (e) => setValue(name, parseFloat(e.target.value)),
753
+ onChange: handleChange,
796
754
  size
797
755
  };
798
756
  if (labelPosition === "inline") {
799
- return /* @__PURE__ */ jsxRuntime.jsx(chunkLQGXG373_cjs.InputRoot, { ...inputProps, children: label ? /* @__PURE__ */ jsxRuntime.jsx(chunkLQGXG373_cjs.InputSlot, { side: "left", children: label }) : null });
757
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkWB43VEZA_cjs.InputRoot, { ...inputProps, children: label ? /* @__PURE__ */ jsxRuntime.jsx(chunkWB43VEZA_cjs.InputSlot, { side: "left", children: label }) : null });
800
758
  } else {
801
- return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper3, { label, children: /* @__PURE__ */ jsxRuntime.jsx(chunkLQGXG373_cjs.InputRoot, { ...inputProps }) });
759
+ return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper2, { label, labelPosition, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(chunkWB43VEZA_cjs.InputRoot, { ...inputProps }) });
802
760
  }
803
761
  };
804
- var DialBooleanInput = ({ name, label, labelPosition }) => {
805
- const { getValue, setValue } = chunkRMK6W774_cjs.useDialSchema();
762
+ var DialBooleanInput = ({
763
+ name,
764
+ label,
765
+ labelPosition,
766
+ ...props
767
+ }) => {
768
+ const { getValue, setValue } = chunkZXIKMZPH_cjs.useDialSchema();
806
769
  const value = getValue(name) ?? false;
770
+ const handleChange = react.useCallback((checked) => setValue(name, checked), [name]);
807
771
  const switchProps = {
808
772
  checked: value,
809
- onCheckedChange: (checked) => setValue(name, checked)
773
+ onCheckedChange: handleChange
810
774
  };
811
- if (!label) {
775
+ if (!label || labelPosition === "inline") {
812
776
  return /* @__PURE__ */ jsxRuntime.jsx(chunkVJN3GGLZ_cjs.Switch, { ...switchProps });
813
777
  }
814
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-row items-center gap-2", children: [
815
- /* @__PURE__ */ jsxRuntime.jsx(chunkASR6OXVT_cjs.Label, { size: "sm", children: label }),
816
- /* @__PURE__ */ jsxRuntime.jsx(chunkVJN3GGLZ_cjs.Switch, { ...switchProps })
817
- ] });
778
+ return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper2, { label, labelPosition, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(chunkVJN3GGLZ_cjs.Switch, { ...switchProps }) });
818
779
  };
819
- var DialColorInput = ({ name, label }) => {
820
- const { getValue, setValue } = chunkRMK6W774_cjs.useDialSchema();
780
+ var DialColorInput = ({ name, label, ...props }) => {
781
+ const { getValue, setValue } = chunkZXIKMZPH_cjs.useDialSchema();
821
782
  const value = getValue(name) ?? "";
822
- const inputComp = /* @__PURE__ */ jsxRuntime.jsx(chunkZRRCYQ53_cjs.ColorInput, { value, onChange: (e) => setValue(name, e.target.value), prefix: label });
823
- if (!label) {
824
- return inputComp;
825
- }
826
- return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper3, { label, children: inputComp });
783
+ const handleChange = react.useCallback(
784
+ (e) => setValue(name, e.target.value),
785
+ [name]
786
+ );
787
+ const inputComp = /* @__PURE__ */ jsxRuntime.jsx(chunkBTXD3NAG_cjs.ColorInput, { value, onChange: handleChange, prefix: label });
788
+ return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper2, { label, ...props, children: inputComp });
827
789
  };
828
790
  var DialSelectInput = ({
829
791
  name,
830
792
  options = [],
831
793
  label,
832
- labelPosition,
833
- size = "sm"
794
+ size = "sm",
795
+ ...props
834
796
  }) => {
835
- const { getValue, setValue } = chunkRMK6W774_cjs.useDialSchema();
797
+ const { getValue, setValue } = chunkZXIKMZPH_cjs.useDialSchema();
836
798
  const value = getValue(name);
837
- const selectComponent = /* @__PURE__ */ jsxRuntime.jsxs(
838
- chunk4PKPCOAF_cjs.Select,
839
- {
840
- value: String(value),
841
- onValueChange: (val) => {
842
- const parsed = !isNaN(Number(val)) ? Number(val) : val;
843
- setValue(name, parsed);
844
- },
845
- children: [
846
- /* @__PURE__ */ jsxRuntime.jsx(chunk4PKPCOAF_cjs.SelectTrigger, { size, children: /* @__PURE__ */ jsxRuntime.jsx(chunk4PKPCOAF_cjs.SelectValue, { placeholder: "Select an option" }) }),
847
- /* @__PURE__ */ jsxRuntime.jsx(chunk4PKPCOAF_cjs.SelectContent, { children: options.map((opt, i) => /* @__PURE__ */ jsxRuntime.jsx(chunk4PKPCOAF_cjs.SelectItem, { value: String(opt), children: String(opt) }, i)) })
848
- ]
849
- }
799
+ console.log("dial schema:", name, value);
800
+ const handleValueChange = react.useCallback(
801
+ (val) => {
802
+ const parsed = !isNaN(Number(val)) ? Number(val) : val;
803
+ setValue(name, parsed);
804
+ },
805
+ [name]
850
806
  );
851
- if (!label) {
852
- return selectComponent;
853
- }
854
- return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper3, { label, children: selectComponent });
807
+ const selectComponent = /* @__PURE__ */ jsxRuntime.jsxs(chunk4PKPCOAF_cjs.Select, { value: String(value), onValueChange: handleValueChange, children: [
808
+ /* @__PURE__ */ jsxRuntime.jsx(chunk4PKPCOAF_cjs.SelectTrigger, { size, children: /* @__PURE__ */ jsxRuntime.jsx(chunk4PKPCOAF_cjs.SelectValue, { placeholder: "Select an option" }) }),
809
+ /* @__PURE__ */ jsxRuntime.jsx(chunk4PKPCOAF_cjs.SelectContent, { children: options.map((opt, i) => /* @__PURE__ */ jsxRuntime.jsx(chunk4PKPCOAF_cjs.SelectItem, { value: String(opt), children: String(opt) }, i)) })
810
+ ] });
811
+ return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper2, { label, ...props, children: selectComponent });
855
812
  };
856
813
  var DialSliderInput = ({
857
814
  name,
@@ -859,27 +816,23 @@ var DialSliderInput = ({
859
816
  max = 100,
860
817
  step = 1,
861
818
  label,
862
- labelPosition,
863
- size = "sm"
819
+ ...props
864
820
  }) => {
865
- const { getValue, setValue } = chunkRMK6W774_cjs.useDialSchema();
821
+ const { getValue, setValue } = chunkZXIKMZPH_cjs.useDialSchema();
866
822
  const value = getValue(name) ?? min;
823
+ const handleValueChange = react.useCallback(([val]) => setValue(name, val), [name]);
867
824
  const sliderProps = {
868
825
  value: [value],
869
- onValueChange: ([val]) => setValue(name, val),
826
+ onValueChange: handleValueChange,
870
827
  min,
871
828
  max,
872
829
  step,
873
830
  className: "flex-1"
874
831
  };
875
- const sliderComponent = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 items-center gap-2", children: [
832
+ return /* @__PURE__ */ jsxRuntime.jsxs(DialInputWrapper2, { label, ...props, children: [
876
833
  /* @__PURE__ */ jsxRuntime.jsx(chunkEKPJUR3U_cjs.Slider, { ...sliderProps }),
877
834
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-text-secondary w-12 text-right text-sm", children: value })
878
835
  ] });
879
- if (!label) {
880
- return sliderComponent;
881
- }
882
- return /* @__PURE__ */ jsxRuntime.jsx(DialInputWrapper3, { label, children: sliderComponent });
883
836
  };
884
837
 
885
838
  exports.DialBooleanInput = DialBooleanInput;
@@ -894,7 +847,6 @@ exports.DialIntInput = DialIntInput;
894
847
  exports.DialNumberInput = DialNumberInput;
895
848
  exports.DialNumberRadInput = DialNumberRadInput;
896
849
  exports.DialPanel = DialPanel;
897
- exports.DialPresetsInput = DialPresetsInput;
898
850
  exports.DialQuaternionInput = DialQuaternionInput;
899
851
  exports.DialRadInput = DialRadInput;
900
852
  exports.DialSelectInput = DialSelectInput;