@vuer-ai/vuer-uikit 0.0.116 → 0.0.118

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 (401) hide show
  1. package/dist/SyncScroll/SyncScroll.cjs +10 -10
  2. package/dist/SyncScroll/SyncScroll.mjs +3 -3
  3. package/dist/SyncScroll/index.cjs +10 -10
  4. package/dist/SyncScroll/index.mjs +3 -3
  5. package/dist/auth/components/index.cjs +82 -82
  6. package/dist/auth/components/index.mjs +81 -81
  7. package/dist/auth/components/user-avatar/index.cjs +82 -82
  8. package/dist/auth/components/user-avatar/index.mjs +81 -81
  9. package/dist/auth/handler/get-session.d.cts +3 -1
  10. package/dist/auth/handler/get-session.d.ts +3 -1
  11. package/dist/auth/handler/get-sessions.d.cts +3 -1
  12. package/dist/auth/handler/get-sessions.d.ts +3 -1
  13. package/dist/auth/hooks/use-sign-in.cjs +3 -3
  14. package/dist/auth/hooks/use-sign-in.mjs +2 -2
  15. package/dist/auth/hooks/use-sign-out.cjs +1 -1
  16. package/dist/auth/hooks/use-sign-out.mjs +1 -1
  17. package/dist/auth/hooks/use-vuer-sessions.cjs +4 -4
  18. package/dist/auth/hooks/use-vuer-sessions.mjs +3 -3
  19. package/dist/auth/index.cjs +93 -93
  20. package/dist/auth/index.mjs +84 -84
  21. package/dist/auth/types.d.cts +3 -1
  22. package/dist/auth/types.d.ts +3 -1
  23. package/dist/auth/vuer-user-provider.cjs +3 -3
  24. package/dist/auth/vuer-user-provider.mjs +2 -2
  25. package/dist/{chunk-UEOHXPXT.mjs → chunk-24SOZV7S.mjs} +3 -3
  26. package/dist/{chunk-LNKZATCP.cjs → chunk-2CD4D2BR.cjs} +3 -3
  27. package/dist/{chunk-GSQE4JVF.mjs → chunk-2GXIGEKC.mjs} +15 -4
  28. package/dist/{chunk-6NSQLHKC.mjs → chunk-332A4MHC.mjs} +1 -1
  29. package/dist/{chunk-JH5NAW2V.mjs → chunk-3DIFS7CO.mjs} +1 -1
  30. package/dist/{chunk-ZDSN4IFT.mjs → chunk-3NIMV5PH.mjs} +1 -1
  31. package/dist/{chunk-UASPJ57U.cjs → chunk-3ZEQVODC.cjs} +2 -2
  32. package/dist/{chunk-YQ5KKJQ3.cjs → chunk-42WQWP6X.cjs} +8 -8
  33. package/dist/{chunk-X2A7TKER.cjs → chunk-42ZXL3KZ.cjs} +10 -10
  34. package/dist/{chunk-FRAD2Z2G.mjs → chunk-4BQPIY5Z.mjs} +1 -1
  35. package/dist/{chunk-ABLQ4QRY.mjs → chunk-4DSJ62TT.mjs} +1 -1
  36. package/dist/{chunk-AAFU2FII.mjs → chunk-4ODJAEOM.mjs} +1 -1
  37. package/dist/{chunk-7DFI7CUK.cjs → chunk-4OUQ6NSX.cjs} +2 -2
  38. package/dist/{chunk-ROY7233C.cjs → chunk-4PMXRQXC.cjs} +6 -6
  39. package/dist/{chunk-4PKPCOAF.cjs → chunk-5AKVDZMA.cjs} +12 -12
  40. package/dist/{chunk-VQP3QBC6.cjs → chunk-5OZS5UJX.cjs} +7 -7
  41. package/dist/{chunk-KOMVGDDW.cjs → chunk-66NKH2SV.cjs} +6 -6
  42. package/dist/{chunk-AUENXQXS.mjs → chunk-6C53NKMF.mjs} +1 -1
  43. package/dist/{chunk-LTEX2ALU.cjs → chunk-6D7FGGSX.cjs} +24 -24
  44. package/dist/{chunk-MFPN6MWK.cjs → chunk-6WH6PWTJ.cjs} +9 -9
  45. package/dist/chunk-6YMDD5CU.mjs +22 -0
  46. package/dist/{chunk-OJZV4X7L.cjs → chunk-75XQ6P5L.cjs} +305 -139
  47. package/dist/{chunk-Q2HC5ZL4.cjs → chunk-7AAMQGY2.cjs} +7 -7
  48. package/dist/{chunk-WQCVK4PG.mjs → chunk-7ACZU3BT.mjs} +1 -1
  49. package/dist/{chunk-4GVFCQGI.cjs → chunk-7AEOJFD4.cjs} +2 -2
  50. package/dist/{chunk-YTV7747H.mjs → chunk-7AZ3PLUC.mjs} +1 -1
  51. package/dist/{chunk-YXFHJKNW.cjs → chunk-7H7U2X45.cjs} +8 -8
  52. package/dist/{chunk-7NOBQH7O.mjs → chunk-A6EASR27.mjs} +1 -1
  53. package/dist/{chunk-BCA45QEW.mjs → chunk-AE5YDMFT.mjs} +3 -3
  54. package/dist/{chunk-SA5WKLYB.mjs → chunk-AHD46BFN.mjs} +1 -1
  55. package/dist/{chunk-6IXKC64S.cjs → chunk-ASZIBFA6.cjs} +40 -16
  56. package/dist/{chunk-VMJHHONS.mjs → chunk-B7PLWNPX.mjs} +7 -7
  57. package/dist/{chunk-2SWBXWLK.mjs → chunk-BQA24G2A.mjs} +1 -1
  58. package/dist/{chunk-HA6M4XKT.cjs → chunk-BUAWPPXA.cjs} +11 -11
  59. package/dist/{chunk-DWWM2TV3.mjs → chunk-BXZSWY4N.mjs} +1 -1
  60. package/dist/{chunk-M45UXJWX.cjs → chunk-CH3BSVL4.cjs} +2 -2
  61. package/dist/{chunk-JY5TZBRK.mjs → chunk-CIOLL5LX.mjs} +1 -1
  62. package/dist/{chunk-2MSGENAQ.cjs → chunk-CKGEV2JL.cjs} +2 -2
  63. package/dist/{chunk-GBERXSLI.cjs → chunk-CR6JOOO3.cjs} +2 -2
  64. package/dist/{chunk-OHIB3TEN.cjs → chunk-CRX2ZCM2.cjs} +3 -5
  65. package/dist/{chunk-Y3V6IUAR.mjs → chunk-CXPF274N.mjs} +1 -1
  66. package/dist/{chunk-PJJSHHL6.mjs → chunk-D562KO2I.mjs} +2 -2
  67. package/dist/{chunk-SLO45OO5.cjs → chunk-DAA2GQAS.cjs} +27 -27
  68. package/dist/{chunk-ZGS3VGGN.cjs → chunk-DAVMLI3P.cjs} +4 -4
  69. package/dist/{chunk-IZUSQ4GI.mjs → chunk-DDIB73SZ.mjs} +4 -4
  70. package/dist/{chunk-SWJHOFZH.mjs → chunk-DDU3SPCC.mjs} +2 -2
  71. package/dist/{chunk-YO6X755G.cjs → chunk-DM43KZU7.cjs} +2 -2
  72. package/dist/{chunk-BFFOS7Z3.cjs → chunk-EBFPZBUQ.cjs} +8 -10
  73. package/dist/{chunk-V3VUFIG3.cjs → chunk-EEYL7PDI.cjs} +3 -3
  74. package/dist/{chunk-JRBTIFM6.mjs → chunk-EGIIZWP3.mjs} +1 -1
  75. package/dist/{chunk-HAVTMZR3.cjs → chunk-EK3BTKZP.cjs} +10 -10
  76. package/dist/{chunk-MGFG7EXC.mjs → chunk-EVBYVJTW.mjs} +32 -8
  77. package/dist/{chunk-A5VRTIX4.cjs → chunk-EXXV3BXT.cjs} +7 -7
  78. package/dist/{chunk-OWGKZAOO.mjs → chunk-EXY6WRH4.mjs} +1 -1
  79. package/dist/{chunk-TYZHIBYI.cjs → chunk-EY6PKK4X.cjs} +2 -2
  80. package/dist/{chunk-OQASTSIX.cjs → chunk-F2LEYFWW.cjs} +5 -5
  81. package/dist/{chunk-WB43VEZA.cjs → chunk-F3HOBNGR.cjs} +4 -4
  82. package/dist/{chunk-CO6EASQO.mjs → chunk-FMKD5JBL.mjs} +1 -1
  83. package/dist/{chunk-NIEFMP5V.cjs → chunk-FZAGJSW2.cjs} +2 -2
  84. package/dist/{chunk-SMIACO56.mjs → chunk-G5VBLDAM.mjs} +1 -1
  85. package/dist/{chunk-I2YVC4AE.cjs → chunk-GM4S7ID3.cjs} +2 -1
  86. package/dist/{chunk-L3YEIRJS.mjs → chunk-GQYUSBSO.mjs} +1 -1
  87. package/dist/{chunk-VJN3GGLZ.cjs → chunk-GTBXRWCK.cjs} +3 -3
  88. package/dist/{chunk-PTBMSYQQ.mjs → chunk-H6JGIEAU.mjs} +1 -1
  89. package/dist/{chunk-Q5PJKBX7.cjs → chunk-HB65PF7F.cjs} +2 -2
  90. package/dist/{chunk-KJH46JR3.mjs → chunk-IAFCABPY.mjs} +1 -1
  91. package/dist/{chunk-L6LCOLOV.cjs → chunk-IPMQ63BJ.cjs} +9 -9
  92. package/dist/{chunk-4JAEMFDN.mjs → chunk-IPQU5CJD.mjs} +1 -1
  93. package/dist/{chunk-L2YLNWCQ.cjs → chunk-IU65XB2K.cjs} +2 -2
  94. package/dist/{chunk-ZRMDDK6J.mjs → chunk-JFPIUDGT.mjs} +1 -1
  95. package/dist/{chunk-TBYGQV5D.cjs → chunk-JNV3UBBP.cjs} +3 -3
  96. package/dist/{chunk-B55SNJJM.cjs → chunk-JOOURIX7.cjs} +4 -4
  97. package/dist/{chunk-6AWED2ZK.cjs → chunk-JQYMF2FW.cjs} +4 -4
  98. package/dist/{chunk-4FLE5S5Z.mjs → chunk-JW456O5K.mjs} +1 -1
  99. package/dist/{chunk-RQH7ZAWF.cjs → chunk-JYYAGDLZ.cjs} +2 -2
  100. package/dist/{chunk-VEE2QBS5.cjs → chunk-K2BQNNEX.cjs} +8 -8
  101. package/dist/{chunk-N6DSPSMM.mjs → chunk-K2ZYSKRU.mjs} +1 -1
  102. package/dist/{chunk-33ZPFZLH.cjs → chunk-KIZ7WH7H.cjs} +46 -46
  103. package/dist/{chunk-KT772L2I.cjs → chunk-KQW3YARN.cjs} +9 -9
  104. package/dist/{chunk-MHJM7YMG.mjs → chunk-KY2PYKDZ.mjs} +1 -1
  105. package/dist/{chunk-LI5W744D.cjs → chunk-LGFWHV23.cjs} +2 -2
  106. package/dist/{chunk-EO4GM3KH.mjs → chunk-LMYA5IOK.mjs} +12 -8
  107. package/dist/{chunk-SU57ZAZJ.cjs → chunk-LVIZRMYN.cjs} +2 -2
  108. package/dist/{chunk-H3HQ27FG.cjs → chunk-LYGYXV7S.cjs} +16 -16
  109. package/dist/{chunk-M6JLGVJ7.mjs → chunk-MFYDZKQF.mjs} +1 -1
  110. package/dist/{chunk-B53A4WNW.mjs → chunk-MJOD2WOC.mjs} +1 -1
  111. package/dist/{chunk-O7FGA5N2.mjs → chunk-MK2CWAFC.mjs} +5 -5
  112. package/dist/{chunk-BTXD3NAG.cjs → chunk-MNCBTS63.cjs} +17 -6
  113. package/dist/{chunk-AW6Q4IWT.cjs → chunk-MXGPFCLN.cjs} +2 -2
  114. package/dist/{chunk-D76UQR5N.mjs → chunk-MYZHDWBF.mjs} +10 -10
  115. package/dist/{chunk-LUVD54GO.cjs → chunk-N4Y5CBOI.cjs} +4 -4
  116. package/dist/{chunk-L5JZRGNH.cjs → chunk-ND3WJ63Z.cjs} +2 -2
  117. package/dist/{chunk-2SFB7HHW.mjs → chunk-NJWKR5WR.mjs} +1 -1
  118. package/dist/{chunk-7NUXYKXU.cjs → chunk-NKGUQZTD.cjs} +2 -2
  119. package/dist/{chunk-EAOF6Y75.mjs → chunk-NRI4AFYB.mjs} +252 -86
  120. package/dist/chunk-O66LWOQY.cjs +44 -0
  121. package/dist/{chunk-P3QGZWFW.mjs → chunk-OJOWMXXY.mjs} +3 -3
  122. package/dist/{chunk-AZBJB6KC.mjs → chunk-OLYHHP67.mjs} +1 -1
  123. package/dist/{chunk-7XXTMBF5.mjs → chunk-P3YSHGT5.mjs} +1 -1
  124. package/dist/{chunk-JTJKIRFA.mjs → chunk-PJNS3XTH.mjs} +5 -5
  125. package/dist/{chunk-S6PSU47F.mjs → chunk-PR3BCKLJ.mjs} +2 -2
  126. package/dist/{chunk-NZOZ3KKM.cjs → chunk-PV6CEMTT.cjs} +4 -4
  127. package/dist/{chunk-VQPJ7TLB.mjs → chunk-Q37KC3CL.mjs} +1 -1
  128. package/dist/{chunk-HNTVTCNX.cjs → chunk-Q7WCKEXG.cjs} +2 -2
  129. package/dist/{chunk-6D66V6ON.cjs → chunk-QBAZ6TKZ.cjs} +2 -2
  130. package/dist/{chunk-BCBWIMPS.mjs → chunk-QO2AM6MF.mjs} +1 -1
  131. package/dist/{chunk-5MNZYCN2.cjs → chunk-QWBMDS3S.cjs} +5 -5
  132. package/dist/{chunk-5PDZWPUI.cjs → chunk-R4HT3SYR.cjs} +2 -2
  133. package/dist/{chunk-3TZL7ET3.cjs → chunk-R5UREEMP.cjs} +5 -5
  134. package/dist/{chunk-ZEBAIL6F.mjs → chunk-REZAPK6Z.mjs} +1 -1
  135. package/dist/{chunk-NRQJX772.mjs → chunk-RGOZPSTI.mjs} +1 -1
  136. package/dist/{chunk-25RDJXX7.mjs → chunk-RLTLA7VS.mjs} +1 -1
  137. package/dist/{chunk-LBGZKACW.cjs → chunk-RTYZO2AC.cjs} +7 -7
  138. package/dist/{chunk-TUYG6BYZ.cjs → chunk-RW4T7UBU.cjs} +3 -3
  139. package/dist/{chunk-ASGWIU7V.cjs → chunk-RY2UUIFB.cjs} +4 -4
  140. package/dist/{chunk-2J75MYQA.cjs → chunk-S37MJNNP.cjs} +2 -2
  141. package/dist/{chunk-UULSGVNF.cjs → chunk-S7CCCMMU.cjs} +7 -7
  142. package/dist/{chunk-5VUM46YD.cjs → chunk-SAXISARG.cjs} +2 -2
  143. package/dist/{chunk-TZBOF3XO.mjs → chunk-SCUMWMIN.mjs} +1 -1
  144. package/dist/{chunk-ZXIKMZPH.cjs → chunk-SL5Q54AH.cjs} +7 -2
  145. package/dist/{chunk-VADHV4S3.cjs → chunk-SLXM4F24.cjs} +9 -9
  146. package/dist/{chunk-XMQULAAU.mjs → chunk-SMXN2KOV.mjs} +1 -1
  147. package/dist/{chunk-PNYJJGBP.mjs → chunk-SRZ56OJH.mjs} +3 -3
  148. package/dist/{chunk-PDOFOJ4P.mjs → chunk-T4U3BG2V.mjs} +1 -1
  149. package/dist/{chunk-HMN4IKTG.mjs → chunk-T66ETI7E.mjs} +3 -5
  150. package/dist/{chunk-YKHK6C4Q.mjs → chunk-TQKX345P.mjs} +1 -1
  151. package/dist/{chunk-2X6CAFVD.mjs → chunk-TWQONYWC.mjs} +3 -5
  152. package/dist/{chunk-3LO3AM25.mjs → chunk-U22YVR7M.mjs} +1 -1
  153. package/dist/{chunk-EKPJUR3U.cjs → chunk-U5W4ZALG.cjs} +6 -6
  154. package/dist/{chunk-4X3R5XBW.mjs → chunk-U6SLGSKR.mjs} +3 -3
  155. package/dist/{chunk-WGWNYPXW.mjs → chunk-UIJEAY6H.mjs} +1 -1
  156. package/dist/{chunk-XURKXOZK.cjs → chunk-UK3UBVT4.cjs} +12 -12
  157. package/dist/{chunk-O5S6UXNN.cjs → chunk-UMGNAR3W.cjs} +17 -13
  158. package/dist/{chunk-KTDRY3OW.mjs → chunk-UQQBUPGF.mjs} +1 -1
  159. package/dist/{chunk-4LQDOYQJ.cjs → chunk-V75PKBIV.cjs} +9 -9
  160. package/dist/{chunk-NHG2ROYB.mjs → chunk-VTW2DF63.mjs} +1 -1
  161. package/dist/{chunk-APC2GIE7.cjs → chunk-VTXR3U2X.cjs} +25 -25
  162. package/dist/{chunk-MDUGPQEK.mjs → chunk-VWVYCQWF.mjs} +1 -1
  163. package/dist/{chunk-G5JZGNKY.cjs → chunk-W3IHFG4B.cjs} +8 -8
  164. package/dist/{chunk-S5XJOGB4.cjs → chunk-WDSOII5A.cjs} +2 -2
  165. package/dist/{chunk-Y6WGGVT2.mjs → chunk-WHV6Z7YX.mjs} +1 -1
  166. package/dist/{chunk-ECOYNCWG.mjs → chunk-WKK5UX2W.mjs} +2 -2
  167. package/dist/{chunk-SPNDWTSX.cjs → chunk-X6WOCNBX.cjs} +2 -2
  168. package/dist/{chunk-GUSUTH7D.mjs → chunk-X7UZZ43J.mjs} +2 -1
  169. package/dist/{chunk-BBWT5YO2.mjs → chunk-XQ3MWA3D.mjs} +3 -3
  170. package/dist/{chunk-QHAGQCVF.cjs → chunk-XS5IUI62.cjs} +3 -3
  171. package/dist/{chunk-AGHIJQAR.mjs → chunk-XTLGNJIO.mjs} +1 -1
  172. package/dist/{chunk-H2AJ2CLT.mjs → chunk-Y2XVZEXM.mjs} +1 -1
  173. package/dist/{chunk-ACETEVZD.mjs → chunk-ZA7WOIIB.mjs} +1 -1
  174. package/dist/{chunk-KS5A3G7B.mjs → chunk-ZCSJGDX7.mjs} +1 -1
  175. package/dist/chunk-ZF435JZL.cjs +21 -0
  176. package/dist/{chunk-Z4ZGX3NM.mjs → chunk-ZJSL6HSL.mjs} +1 -1
  177. package/dist/{chunk-IR334P7F.mjs → chunk-ZSAPBZ36.mjs} +1 -1
  178. package/dist/{chunk-L4CIN7FR.mjs → chunk-ZTGJIGBC.mjs} +7 -2
  179. package/dist/dial/DialPanel.cjs +82 -81
  180. package/dist/dial/DialPanel.mjs +81 -80
  181. package/dist/dial/DialProvider.cjs +3 -3
  182. package/dist/dial/DialProvider.d.cts +1 -1
  183. package/dist/dial/DialProvider.d.ts +1 -1
  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/IconRenderer.cjs +10 -0
  188. package/dist/dial/IconRenderer.d.cts +10 -0
  189. package/dist/dial/IconRenderer.d.ts +10 -0
  190. package/dist/dial/IconRenderer.mjs +1 -0
  191. package/dist/dial/index.cjs +104 -99
  192. package/dist/dial/index.d.cts +1 -0
  193. package/dist/dial/index.d.ts +1 -0
  194. package/dist/dial/index.mjs +81 -80
  195. package/dist/dial/wrapped-inputs/ControlledInputs.cjs +86 -85
  196. package/dist/dial/wrapped-inputs/ControlledInputs.d.cts +1 -0
  197. package/dist/dial/wrapped-inputs/ControlledInputs.d.ts +1 -0
  198. package/dist/dial/wrapped-inputs/ControlledInputs.mjs +81 -80
  199. package/dist/dial/wrapped-inputs/DialInputs.cjs +95 -94
  200. package/dist/dial/wrapped-inputs/DialInputs.d.cts +3 -0
  201. package/dist/dial/wrapped-inputs/DialInputs.d.ts +3 -0
  202. package/dist/dial/wrapped-inputs/DialInputs.mjs +81 -80
  203. package/dist/dial/wrapped-inputs/DialPresetsInput.cjs +79 -78
  204. package/dist/dial/wrapped-inputs/DialPresetsInput.d.cts +1 -0
  205. package/dist/dial/wrapped-inputs/DialPresetsInput.d.ts +1 -0
  206. package/dist/dial/wrapped-inputs/DialPresetsInput.mjs +78 -77
  207. package/dist/dial/wrapped-inputs/DialVectorInput.cjs +82 -81
  208. package/dist/dial/wrapped-inputs/DialVectorInput.d.cts +3 -1
  209. package/dist/dial/wrapped-inputs/DialVectorInput.d.ts +3 -1
  210. package/dist/dial/wrapped-inputs/DialVectorInput.mjs +81 -80
  211. package/dist/dial/wrapped-inputs/index.cjs +102 -101
  212. package/dist/dial/wrapped-inputs/index.mjs +81 -80
  213. package/dist/highlight-cursor/cursor-provider.cjs +3 -3
  214. package/dist/highlight-cursor/cursor-provider.mjs +2 -2
  215. package/dist/highlight-cursor/enhanced-components.cjs +13 -13
  216. package/dist/highlight-cursor/enhanced-components.mjs +8 -8
  217. package/dist/highlight-cursor/index.cjs +18 -18
  218. package/dist/highlight-cursor/index.mjs +9 -9
  219. package/dist/hooks/cn.cjs +2 -2
  220. package/dist/hooks/cn.mjs +1 -1
  221. package/dist/hooks/index.cjs +7 -7
  222. package/dist/hooks/index.mjs +2 -2
  223. package/dist/index.cjs +403 -398
  224. package/dist/index.css +12 -12
  225. package/dist/index.d.cts +1 -0
  226. package/dist/index.d.ts +1 -0
  227. package/dist/index.mjs +81 -80
  228. package/dist/ui/DialBadge.cjs +7 -7
  229. package/dist/ui/DialBadge.mjs +3 -3
  230. package/dist/ui/UIKitBadge.cjs +7 -7
  231. package/dist/ui/UIKitBadge.mjs +3 -3
  232. package/dist/ui/avatar.cjs +7 -7
  233. package/dist/ui/avatar.mjs +3 -3
  234. package/dist/ui/badge.cjs +5 -5
  235. package/dist/ui/badge.mjs +3 -3
  236. package/dist/ui/button.cjs +5 -5
  237. package/dist/ui/button.mjs +3 -3
  238. package/dist/ui/card.cjs +10 -10
  239. package/dist/ui/card.mjs +3 -3
  240. package/dist/ui/checkbox.cjs +4 -4
  241. package/dist/ui/checkbox.mjs +3 -3
  242. package/dist/ui/collapsible.cjs +6 -6
  243. package/dist/ui/collapsible.mjs +3 -3
  244. package/dist/ui/drawer.cjs +13 -13
  245. package/dist/ui/drawer.mjs +3 -3
  246. package/dist/ui/dropdown.cjs +18 -18
  247. package/dist/ui/dropdown.mjs +3 -3
  248. package/dist/ui/index.cjs +347 -347
  249. package/dist/ui/index.mjs +75 -75
  250. package/dist/ui/inputs/color-input.cjs +5 -5
  251. package/dist/ui/inputs/color-input.mjs +4 -4
  252. package/dist/ui/inputs/index.cjs +55 -55
  253. package/dist/ui/inputs/index.mjs +22 -22
  254. package/dist/ui/inputs/input-numbers.cjs +5 -5
  255. package/dist/ui/inputs/input-numbers.d.cts +3 -1
  256. package/dist/ui/inputs/input-numbers.d.ts +3 -1
  257. package/dist/ui/inputs/input-numbers.mjs +4 -4
  258. package/dist/ui/inputs/input.cjs +6 -6
  259. package/dist/ui/inputs/input.mjs +3 -3
  260. package/dist/ui/inputs/number-inputs/CmInput.cjs +6 -6
  261. package/dist/ui/inputs/number-inputs/CmInput.mjs +5 -5
  262. package/dist/ui/inputs/number-inputs/DegInput.cjs +6 -6
  263. package/dist/ui/inputs/number-inputs/DegInput.mjs +5 -5
  264. package/dist/ui/inputs/number-inputs/EulerDegInput.cjs +8 -8
  265. package/dist/ui/inputs/number-inputs/EulerDegInput.mjs +7 -7
  266. package/dist/ui/inputs/number-inputs/EulerInput.cjs +7 -7
  267. package/dist/ui/inputs/number-inputs/EulerInput.mjs +6 -6
  268. package/dist/ui/inputs/number-inputs/EulerRadInput.cjs +7 -7
  269. package/dist/ui/inputs/number-inputs/EulerRadInput.mjs +6 -6
  270. package/dist/ui/inputs/number-inputs/InchInput.cjs +6 -6
  271. package/dist/ui/inputs/number-inputs/InchInput.mjs +5 -5
  272. package/dist/ui/inputs/number-inputs/IntInput.cjs +6 -6
  273. package/dist/ui/inputs/number-inputs/IntInput.mjs +5 -5
  274. package/dist/ui/inputs/number-inputs/KVectorInput.cjs +7 -7
  275. package/dist/ui/inputs/number-inputs/KVectorInput.mjs +6 -6
  276. package/dist/ui/inputs/number-inputs/QuaternionInput.cjs +7 -7
  277. package/dist/ui/inputs/number-inputs/QuaternionInput.mjs +6 -6
  278. package/dist/ui/inputs/number-inputs/RadInput.cjs +6 -6
  279. package/dist/ui/inputs/number-inputs/RadInput.mjs +5 -5
  280. package/dist/ui/inputs/number-inputs/TimeInput.cjs +6 -6
  281. package/dist/ui/inputs/number-inputs/TimeInput.mjs +5 -5
  282. package/dist/ui/inputs/number-inputs/Vec3Input.cjs +7 -7
  283. package/dist/ui/inputs/number-inputs/Vec3Input.mjs +6 -6
  284. package/dist/ui/inputs/number-inputs/VectorInput.cjs +6 -6
  285. package/dist/ui/inputs/number-inputs/VectorInput.mjs +5 -5
  286. package/dist/ui/inputs/number-inputs/index.cjs +42 -42
  287. package/dist/ui/inputs/number-inputs/index.mjs +17 -17
  288. package/dist/ui/inputs/presets-input.cjs +7 -7
  289. package/dist/ui/inputs/presets-input.mjs +6 -6
  290. package/dist/ui/inputs/presets-rad-input.cjs +8 -8
  291. package/dist/ui/inputs/presets-rad-input.mjs +7 -7
  292. package/dist/ui/inputs/text-input.cjs +5 -5
  293. package/dist/ui/inputs/text-input.mjs +4 -4
  294. package/dist/ui/label.cjs +4 -4
  295. package/dist/ui/label.mjs +3 -3
  296. package/dist/ui/layout.cjs +4 -4
  297. package/dist/ui/layout.mjs +3 -3
  298. package/dist/ui/layouts/dock-layout/DockLayoutView.cjs +5 -5
  299. package/dist/ui/layouts/dock-layout/DockLayoutView.mjs +4 -4
  300. package/dist/ui/layouts/dock-layout/LayoutSlots.cjs +9 -9
  301. package/dist/ui/layouts/dock-layout/LayoutSlots.mjs +3 -3
  302. package/dist/ui/layouts/dock-layout/index.cjs +11 -11
  303. package/dist/ui/layouts/dock-layout/index.mjs +4 -4
  304. package/dist/ui/layouts/index.cjs +15 -15
  305. package/dist/ui/layouts/index.mjs +7 -7
  306. package/dist/ui/layouts/liquid-layout/LayoutSlots.cjs +9 -9
  307. package/dist/ui/layouts/liquid-layout/LayoutSlots.mjs +3 -3
  308. package/dist/ui/layouts/liquid-layout/LiquidLayoutView.cjs +5 -5
  309. package/dist/ui/layouts/liquid-layout/LiquidLayoutView.mjs +4 -4
  310. package/dist/ui/layouts/liquid-layout/index.cjs +5 -5
  311. package/dist/ui/layouts/liquid-layout/index.mjs +4 -4
  312. package/dist/ui/modal.cjs +13 -13
  313. package/dist/ui/modal.mjs +3 -3
  314. package/dist/ui/navigation.cjs +5 -5
  315. package/dist/ui/navigation.mjs +4 -4
  316. package/dist/ui/pagination.cjs +11 -11
  317. package/dist/ui/pagination.mjs +4 -4
  318. package/dist/ui/popover.cjs +7 -7
  319. package/dist/ui/popover.mjs +3 -3
  320. package/dist/ui/progress.cjs +4 -4
  321. package/dist/ui/progress.mjs +3 -3
  322. package/dist/ui/radio-group.cjs +5 -5
  323. package/dist/ui/radio-group.mjs +3 -3
  324. package/dist/ui/resizable.cjs +6 -6
  325. package/dist/ui/resizable.mjs +3 -3
  326. package/dist/ui/select.cjs +14 -14
  327. package/dist/ui/select.mjs +3 -3
  328. package/dist/ui/separator.cjs +4 -4
  329. package/dist/ui/separator.mjs +3 -3
  330. package/dist/ui/sheet.cjs +11 -11
  331. package/dist/ui/sheet.mjs +3 -3
  332. package/dist/ui/sidebar.cjs +33 -33
  333. package/dist/ui/sidebar.mjs +9 -9
  334. package/dist/ui/simple-tree-view.cjs +4 -4
  335. package/dist/ui/simple-tree-view.mjs +3 -3
  336. package/dist/ui/skeleton.cjs +4 -4
  337. package/dist/ui/skeleton.mjs +3 -3
  338. package/dist/ui/slider.cjs +4 -4
  339. package/dist/ui/slider.mjs +3 -3
  340. package/dist/ui/switch.cjs +4 -4
  341. package/dist/ui/switch.mjs +3 -3
  342. package/dist/ui/table.cjs +11 -11
  343. package/dist/ui/table.mjs +3 -3
  344. package/dist/ui/tabs.cjs +7 -7
  345. package/dist/ui/tabs.mjs +3 -3
  346. package/dist/ui/textarea.cjs +4 -4
  347. package/dist/ui/textarea.mjs +3 -3
  348. package/dist/ui/theme/ThemeToggles.cjs +8 -8
  349. package/dist/ui/theme/ThemeToggles.mjs +5 -5
  350. package/dist/ui/theme/index.cjs +8 -8
  351. package/dist/ui/theme/index.mjs +5 -5
  352. package/dist/ui/toggle-buttons.cjs +8 -8
  353. package/dist/ui/toggle-buttons.mjs +3 -3
  354. package/dist/ui/toggle-group.cjs +6 -6
  355. package/dist/ui/toggle-group.mjs +3 -3
  356. package/dist/ui/toggle.cjs +5 -5
  357. package/dist/ui/toggle.mjs +3 -3
  358. package/dist/ui/toolbar.cjs +6 -6
  359. package/dist/ui/toolbar.mjs +3 -3
  360. package/dist/ui/tooltip.cjs +7 -7
  361. package/dist/ui/tooltip.mjs +3 -3
  362. package/dist/ui/tree-view/TreeSearchBar.cjs +6 -6
  363. package/dist/ui/tree-view/TreeSearchBar.mjs +5 -5
  364. package/dist/ui/tree-view/TreeView.cjs +5 -5
  365. package/dist/ui/tree-view/TreeView.mjs +3 -3
  366. package/dist/ui/tree-view/index.cjs +17 -17
  367. package/dist/ui/tree-view/index.mjs +7 -7
  368. package/dist/ui/tree-view-legacy.cjs +10 -10
  369. package/dist/ui/tree-view-legacy.mjs +6 -6
  370. package/dist/ui/waterfall/CursorOverlay.cjs +4 -4
  371. package/dist/ui/waterfall/CursorOverlay.mjs +3 -3
  372. package/dist/ui/waterfall/TimelineEvent.cjs +4 -4
  373. package/dist/ui/waterfall/TimelineEvent.mjs +3 -3
  374. package/dist/ui/waterfall/TimelineProcessBar.cjs +4 -4
  375. package/dist/ui/waterfall/TimelineProcessBar.mjs +3 -3
  376. package/dist/ui/waterfall/Wedges.cjs +5 -5
  377. package/dist/ui/waterfall/Wedges.mjs +3 -3
  378. package/dist/ui/waterfall/index.cjs +14 -14
  379. package/dist/ui/waterfall/index.mjs +13 -13
  380. package/package.json +1 -1
  381. package/src/auth/types.ts +1 -1
  382. package/src/auth/vuer-user-provider.tsx +1 -0
  383. package/src/dial/DialPanel.tsx +26 -11
  384. package/src/dial/DialProvider.tsx +17 -4
  385. package/src/dial/IconRenderer.tsx +32 -0
  386. package/src/dial/index.ts +1 -0
  387. package/src/dial/wrapped-inputs/ControlledInputs.tsx +18 -8
  388. package/src/dial/wrapped-inputs/DialInputs.tsx +58 -16
  389. package/src/dial/wrapped-inputs/DialPresetsInput.tsx +10 -4
  390. package/src/dial/wrapped-inputs/DialVectorInput.tsx +150 -23
  391. package/src/hooks/cn.ts +2 -4
  392. package/src/ui/badge.tsx +1 -1
  393. package/src/ui/card.tsx +1 -1
  394. package/src/ui/inputs/color-input.tsx +18 -2
  395. package/src/ui/inputs/input-numbers.tsx +42 -7
  396. package/src/ui/layouts/liquid-layout/LayoutSlots.tsx +2 -4
  397. package/dist/chunk-MTZQ4C2U.cjs +0 -21
  398. package/dist/{chunk-5OHAV55L.mjs → chunk-2ZK7JUAH.mjs} +1 -1
  399. package/dist/{chunk-G6ATG2WV.mjs → chunk-EMVKGL5D.mjs} +1 -1
  400. package/dist/{chunk-4JZOPZHB.cjs → chunk-EMXEFZEB.cjs} +1 -1
  401. package/dist/{chunk-OOHCJIRV.cjs → chunk-GRQJN4D4.cjs} +1 -1
@@ -1,38 +1,43 @@
1
- import { DialPresetsInput } from './chunk-EO4GM3KH.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 { InputNumbers } from './chunk-MGFG7EXC.mjs';
17
- import { TextInput } from './chunk-7XXTMBF5.mjs';
18
- import { Slider } from './chunk-Y6WGGVT2.mjs';
19
- import { Switch } from './chunk-AZBJB6KC.mjs';
20
- import { Label } from './chunk-WGWNYPXW.mjs';
21
- import { FormLayout } from './chunk-NRQJX772.mjs';
22
- import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-KJH46JR3.mjs';
1
+ import { DialPresetsInput } from './chunk-LMYA5IOK.mjs';
2
+ import { useDialSchema } from './chunk-ZTGJIGBC.mjs';
3
+ import { IconRenderer } from './chunk-6YMDD5CU.mjs';
4
+ import { TimeInput } from './chunk-ZJSL6HSL.mjs';
5
+ import { Vec3Input } from './chunk-XTLGNJIO.mjs';
6
+ import { DegInput } from './chunk-H6JGIEAU.mjs';
7
+ import { EulerDegInput } from './chunk-7ACZU3BT.mjs';
8
+ import { EulerInput } from './chunk-ZCSJGDX7.mjs';
9
+ import { EulerRadInput } from './chunk-Y2XVZEXM.mjs';
10
+ import { InchInput } from './chunk-JFPIUDGT.mjs';
11
+ import { IntInput } from './chunk-3DIFS7CO.mjs';
12
+ import { QuaternionInput } from './chunk-NJWKR5WR.mjs';
13
+ import { VectorInput } from './chunk-3NIMV5PH.mjs';
14
+ import { CmInput } from './chunk-REZAPK6Z.mjs';
15
+ import { ColorInput } from './chunk-2GXIGEKC.mjs';
16
+ import { RadInput } from './chunk-SCUMWMIN.mjs';
17
+ import { InputNumbers } from './chunk-EVBYVJTW.mjs';
18
+ import { TextInput } from './chunk-P3YSHGT5.mjs';
19
+ import { Slider } from './chunk-WHV6Z7YX.mjs';
20
+ import { Switch } from './chunk-OLYHHP67.mjs';
21
+ import { Label } from './chunk-UIJEAY6H.mjs';
22
+ import { FormLayout } from './chunk-RGOZPSTI.mjs';
23
+ import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-IAFCABPY.mjs';
23
24
  import { useCallback } from 'react';
24
25
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
25
26
 
26
27
  var DialInputWrapper = ({
27
28
  label,
28
29
  labelPosition = "top",
30
+ icon,
29
31
  children
30
32
  }) => {
31
33
  if (!label) {
32
34
  return /* @__PURE__ */ jsx(Fragment, { children });
33
35
  }
34
36
  return /* @__PURE__ */ jsxs(FormLayout, { orientation: `label-${labelPosition}`, children: [
35
- /* @__PURE__ */ jsx(Label, { size: "sm", children: label }),
37
+ /* @__PURE__ */ jsxs(Label, { size: "sm", className: "flex items-center gap-1", children: [
38
+ /* @__PURE__ */ jsx(IconRenderer, { iconName: icon, size: 14, className: "text-text-secondary" }),
39
+ label
40
+ ] }),
36
41
  /* @__PURE__ */ jsx(Fragment, { children })
37
42
  ] });
38
43
  };
@@ -41,10 +46,15 @@ var DialVec3Input = ({
41
46
  label,
42
47
  size = "sm",
43
48
  step,
44
- labelPosition
49
+ min,
50
+ max,
51
+ labelPosition,
52
+ icon
45
53
  }) => {
46
54
  const { getValue, setValue } = useDialSchema();
47
55
  const value = getValue(name) ?? [0, 0, 0];
56
+ const minArray = min !== void 0 ? [min, min, min] : void 0;
57
+ const maxArray = max !== void 0 ? [max, max, max] : void 0;
48
58
  if (labelPosition === "inline") {
49
59
  return /* @__PURE__ */ jsx(
50
60
  Vec3Input,
@@ -53,17 +63,21 @@ var DialVec3Input = ({
53
63
  onValuesChange: (val) => setValue(name, val),
54
64
  size,
55
65
  step,
66
+ min: minArray,
67
+ max: maxArray,
56
68
  prefix: label ? [label, "", ""] : void 0
57
69
  }
58
70
  );
59
71
  } else {
60
- return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(
72
+ return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, icon, children: /* @__PURE__ */ jsx(
61
73
  Vec3Input,
62
74
  {
63
75
  value,
64
76
  onValuesChange: (val) => setValue(name, val),
65
77
  size,
66
- step
78
+ step,
79
+ min: minArray,
80
+ max: maxArray
67
81
  }
68
82
  ) });
69
83
  }
@@ -73,7 +87,8 @@ var DialEulerInput = ({
73
87
  label,
74
88
  size = "sm",
75
89
  step,
76
- labelPosition
90
+ labelPosition,
91
+ icon
77
92
  }) => {
78
93
  const { getValue, setValue } = useDialSchema();
79
94
  const value = getValue(name) ?? [0, 0, 0];
@@ -89,7 +104,7 @@ var DialEulerInput = ({
89
104
  }
90
105
  );
91
106
  } else {
92
- return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(
107
+ return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, icon, children: /* @__PURE__ */ jsx(
93
108
  EulerInput,
94
109
  {
95
110
  value,
@@ -105,7 +120,8 @@ var DialEulerDegInput = ({
105
120
  label,
106
121
  size = "sm",
107
122
  step,
108
- labelPosition
123
+ labelPosition,
124
+ icon
109
125
  }) => {
110
126
  const { getValue, setValue } = useDialSchema();
111
127
  const value = getValue(name) ?? [0, 0, 0];
@@ -121,7 +137,7 @@ var DialEulerDegInput = ({
121
137
  }
122
138
  );
123
139
  } else {
124
- return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(
140
+ return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, icon, children: /* @__PURE__ */ jsx(
125
141
  EulerDegInput,
126
142
  {
127
143
  value,
@@ -137,7 +153,8 @@ var DialQuaternionInput = ({
137
153
  label,
138
154
  size = "sm",
139
155
  step,
140
- labelPosition
156
+ labelPosition,
157
+ icon
141
158
  }) => {
142
159
  const { getValue, setValue } = useDialSchema();
143
160
  const value = getValue(name) ?? [1, 0, 0, 0];
@@ -153,7 +170,7 @@ var DialQuaternionInput = ({
153
170
  }
154
171
  );
155
172
  } else {
156
- return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(
173
+ return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, icon, children: /* @__PURE__ */ jsx(
157
174
  QuaternionInput,
158
175
  {
159
176
  value,
@@ -170,7 +187,8 @@ var DialVectorInput = ({
170
187
  size = "sm",
171
188
  step,
172
189
  dimensions = 3,
173
- labelPosition
190
+ labelPosition,
191
+ icon
174
192
  }) => {
175
193
  const { getValue, setValue } = useDialSchema();
176
194
  const value = getValue(name) ?? new Array(dimensions).fill(0);
@@ -186,7 +204,7 @@ var DialVectorInput = ({
186
204
  }
187
205
  );
188
206
  } else {
189
- return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(
207
+ return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, icon, children: /* @__PURE__ */ jsx(
190
208
  VectorInput,
191
209
  {
192
210
  value,
@@ -202,7 +220,10 @@ var DialIntInput = ({
202
220
  label,
203
221
  size = "sm",
204
222
  step = 1,
205
- labelPosition
223
+ min,
224
+ max,
225
+ labelPosition,
226
+ icon
206
227
  }) => {
207
228
  const { getValue, setValue } = useDialSchema();
208
229
  const value = getValue(name) ?? 0;
@@ -214,11 +235,23 @@ var DialIntInput = ({
214
235
  prefix: label ? [label] : void 0,
215
236
  onChange: (val) => setValue(name, val),
216
237
  size,
217
- step
238
+ step,
239
+ min,
240
+ max
218
241
  }
219
242
  );
220
243
  } else {
221
- return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(IntInput, { value, onChange: (val) => setValue(name, val), size, step }) });
244
+ return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, icon, children: /* @__PURE__ */ jsx(
245
+ IntInput,
246
+ {
247
+ value,
248
+ onChange: (val) => setValue(name, val),
249
+ size,
250
+ step,
251
+ min,
252
+ max
253
+ }
254
+ ) });
222
255
  }
223
256
  };
224
257
  var DialDegInput = ({
@@ -226,7 +259,8 @@ var DialDegInput = ({
226
259
  label,
227
260
  size = "sm",
228
261
  step,
229
- labelPosition
262
+ labelPosition,
263
+ icon
230
264
  }) => {
231
265
  const { getValue, setValue } = useDialSchema();
232
266
  const value = getValue(name) ?? 0;
@@ -242,7 +276,7 @@ var DialDegInput = ({
242
276
  }
243
277
  );
244
278
  } else {
245
- return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(DegInput, { value, onChange: (val) => setValue(name, val), size, step }) });
279
+ return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, icon, children: /* @__PURE__ */ jsx(DegInput, { value, onChange: (val) => setValue(name, val), size, step }) });
246
280
  }
247
281
  };
248
282
  var DialRadInput = ({
@@ -250,7 +284,8 @@ var DialRadInput = ({
250
284
  label,
251
285
  size = "sm",
252
286
  step,
253
- labelPosition
287
+ labelPosition,
288
+ icon
254
289
  }) => {
255
290
  const { getValue, setValue } = useDialSchema();
256
291
  const value = getValue(name) ?? 0;
@@ -266,7 +301,7 @@ var DialRadInput = ({
266
301
  }
267
302
  );
268
303
  } else {
269
- return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(RadInput, { value, onChange: (val) => setValue(name, val), size, step }) });
304
+ return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, icon, children: /* @__PURE__ */ jsx(RadInput, { value, onChange: (val) => setValue(name, val), size, step }) });
270
305
  }
271
306
  };
272
307
  var DialCmInput = ({
@@ -274,7 +309,8 @@ var DialCmInput = ({
274
309
  label,
275
310
  size = "sm",
276
311
  step,
277
- labelPosition
312
+ labelPosition,
313
+ icon
278
314
  }) => {
279
315
  const { getValue, setValue } = useDialSchema();
280
316
  const value = getValue(name) ?? 0;
@@ -290,7 +326,7 @@ var DialCmInput = ({
290
326
  }
291
327
  );
292
328
  } else {
293
- return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(CmInput, { value, onChange: (val) => setValue(name, val), size, step }) });
329
+ return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, icon, children: /* @__PURE__ */ jsx(CmInput, { value, onChange: (val) => setValue(name, val), size, step }) });
294
330
  }
295
331
  };
296
332
  var DialInchInput = ({
@@ -298,7 +334,8 @@ var DialInchInput = ({
298
334
  label,
299
335
  size = "sm",
300
336
  step,
301
- labelPosition
337
+ labelPosition,
338
+ icon
302
339
  }) => {
303
340
  const { getValue, setValue } = useDialSchema();
304
341
  const value = getValue(name) ?? 0;
@@ -314,7 +351,7 @@ var DialInchInput = ({
314
351
  }
315
352
  );
316
353
  } else {
317
- return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(InchInput, { value, onChange: (val) => setValue(name, val), size, step }) });
354
+ return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, icon, children: /* @__PURE__ */ jsx(InchInput, { value, onChange: (val) => setValue(name, val), size, step }) });
318
355
  }
319
356
  };
320
357
  var DialTimeInput = ({
@@ -322,7 +359,8 @@ var DialTimeInput = ({
322
359
  label,
323
360
  size = "sm",
324
361
  step,
325
- labelPosition
362
+ labelPosition,
363
+ icon
326
364
  }) => {
327
365
  const { getValue, setValue } = useDialSchema();
328
366
  const value = getValue(name) ?? 0;
@@ -338,7 +376,7 @@ var DialTimeInput = ({
338
376
  }
339
377
  );
340
378
  } else {
341
- return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(TimeInput, { value, onChange: (val) => setValue(name, val), size, step }) });
379
+ return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, icon, children: /* @__PURE__ */ jsx(TimeInput, { value, onChange: (val) => setValue(name, val), size, step }) });
342
380
  }
343
381
  };
344
382
  var DialTextInput = ({
@@ -346,7 +384,8 @@ var DialTextInput = ({
346
384
  label,
347
385
  size = "sm",
348
386
  labelPosition,
349
- placeholder
387
+ placeholder,
388
+ icon
350
389
  }) => {
351
390
  const { getValue, setValue } = useDialSchema();
352
391
  const value = getValue(name) ?? "";
@@ -362,7 +401,7 @@ var DialTextInput = ({
362
401
  }
363
402
  );
364
403
  } else {
365
- return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(
404
+ return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, icon, children: /* @__PURE__ */ jsx(
366
405
  TextInput,
367
406
  {
368
407
  value,
@@ -378,7 +417,8 @@ var DialEulerRadInput = ({
378
417
  label,
379
418
  size = "sm",
380
419
  step,
381
- labelPosition
420
+ labelPosition,
421
+ icon
382
422
  }) => {
383
423
  const { getValue, setValue } = useDialSchema();
384
424
  const value = getValue(name) ?? [0, 0, 0];
@@ -395,7 +435,7 @@ var DialEulerRadInput = ({
395
435
  }
396
436
  );
397
437
  } else {
398
- return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(
438
+ return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, icon, children: /* @__PURE__ */ jsx(
399
439
  EulerRadInput,
400
440
  {
401
441
  value,
@@ -412,7 +452,8 @@ var DialNumberRadInput = ({
412
452
  label,
413
453
  size = "sm",
414
454
  step,
415
- labelPosition
455
+ labelPosition,
456
+ icon
416
457
  }) => {
417
458
  const { getValue, setValue } = useDialSchema();
418
459
  const value = getValue(name) ?? 0;
@@ -433,21 +474,34 @@ var DialNumberRadInput = ({
433
474
  }
434
475
  );
435
476
  } else {
436
- return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, children: /* @__PURE__ */ jsx(DegInput, { value: degValue, onChange: handleChange, size, step }) });
477
+ return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, icon, children: /* @__PURE__ */ jsx(DegInput, { value: degValue, onChange: handleChange, size, step }) });
437
478
  }
438
479
  };
439
480
  var DialVectorInput2 = ({
440
481
  name,
441
482
  label,
442
483
  size = "sm",
443
- labelPosition = "top"
484
+ labelPosition = "top",
485
+ icon
444
486
  }) => {
445
487
  const { getValue, setValue, schemas } = useDialSchema();
446
- const handleValuesChange = useCallback(
447
- (newValues) => {
488
+ const handleValueChange = useCallback(
489
+ (index, newValue, currentValues) => {
490
+ const newValues = [...currentValues];
491
+ newValues[index] = newValue;
448
492
  setValue(name, newValues);
449
493
  },
450
- [name]
494
+ [name, setValue]
495
+ );
496
+ const handleNumberValuesChange = useCallback(
497
+ (newNumberValues, currentValues, numberIndices) => {
498
+ const newValues = [...currentValues];
499
+ numberIndices.forEach((originalIndex, i) => {
500
+ newValues[originalIndex] = newNumberValues[i];
501
+ });
502
+ setValue(name, newValues);
503
+ },
504
+ [name, setValue]
451
505
  );
452
506
  const schema = schemas.find((s) => s.name === name);
453
507
  if (!schema) {
@@ -458,7 +512,11 @@ var DialVectorInput2 = ({
458
512
  const placeholders = schema.placeholders || [];
459
513
  const dtypes = schema.dtypes || [];
460
514
  const steps = schema.steps || [];
515
+ const mins = schema.mins || [];
516
+ const maxs = schema.maxs || [];
461
517
  const tags = schema.tags || {};
518
+ const vectorValue = Array.isArray(value) ? value.concat(Array(Math.max(0, dimensions - value.length)).fill(0)) : Array(dimensions).fill(0);
519
+ const hasMixedTypes = dtypes.some((dtype) => dtype === "boolean");
462
520
  let gridAutoFlow;
463
521
  let gridColumns;
464
522
  let gridRows;
@@ -475,7 +533,87 @@ var DialVectorInput2 = ({
475
533
  gridColumns = void 0;
476
534
  gridRows = void 0;
477
535
  }
478
- const vectorValue = Array.isArray(value) ? value.concat(Array(Math.max(0, dimensions - value.length)).fill(0)) : Array(dimensions).fill(0);
536
+ if (hasMixedTypes) {
537
+ const numberIndices = [];
538
+ const booleanIndices = [];
539
+ const numberValues = [];
540
+ const numberSteps = [];
541
+ const numberMins = [];
542
+ const numberMaxs = [];
543
+ const numberLabels = [];
544
+ dtypes.forEach((dtype, i) => {
545
+ if (dtype === "boolean") {
546
+ booleanIndices.push(i);
547
+ } else {
548
+ numberIndices.push(i);
549
+ numberValues.push(vectorValue[i] || 0);
550
+ const step = steps[i] !== void 0 ? steps[i] : dtype === "number-int" ? 1 : 1e-3;
551
+ numberSteps.push(step);
552
+ if (mins[i] !== void 0) {
553
+ numberMins.push(mins[i]);
554
+ }
555
+ if (maxs[i] !== void 0) {
556
+ numberMaxs.push(maxs[i]);
557
+ }
558
+ if (placeholders[i]) {
559
+ numberLabels.push(/* @__PURE__ */ jsx("span", { className: "text-xs", children: placeholders[i] }));
560
+ } else {
561
+ numberLabels.push(void 0);
562
+ }
563
+ }
564
+ });
565
+ const mixedInputComponent = /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
566
+ numberIndices.length > 0 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
567
+ VectorInput,
568
+ {
569
+ value: numberValues,
570
+ onValuesChange: (newValues) => handleNumberValuesChange(newValues, vectorValue, numberIndices),
571
+ size,
572
+ step: numberSteps,
573
+ min: numberMins.length > 0 ? numberMins : void 0,
574
+ max: numberMaxs.length > 0 ? numberMaxs : void 0,
575
+ labels: numberLabels,
576
+ gridAutoFlow,
577
+ columns: gridColumns,
578
+ rows: gridRows
579
+ }
580
+ ) }),
581
+ booleanIndices.length > 0 && /* @__PURE__ */ jsx("div", { className: "gap-xs flex flex-wrap", children: booleanIndices.map((originalIndex) => {
582
+ const placeholder = placeholders[originalIndex];
583
+ const currentValue = vectorValue[originalIndex];
584
+ return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
585
+ placeholder && /* @__PURE__ */ jsx("span", { className: "text-text-primary text-uk-sm", children: placeholder }),
586
+ /* @__PURE__ */ jsx(
587
+ Switch,
588
+ {
589
+ checked: Boolean(currentValue),
590
+ onCheckedChange: (checked) => handleValueChange(originalIndex, checked, vectorValue)
591
+ }
592
+ )
593
+ ] }, originalIndex);
594
+ }) })
595
+ ] });
596
+ if (!label) {
597
+ return mixedInputComponent;
598
+ }
599
+ return /* @__PURE__ */ jsxs(FormLayout, { orientation: `label-${labelPosition}`, children: [
600
+ /* @__PURE__ */ jsxs(Label, { size: "sm", className: "flex items-center gap-1", children: [
601
+ /* @__PURE__ */ jsx(IconRenderer, { iconName: icon, size: 14, className: "text-text-secondary" }),
602
+ label
603
+ ] }),
604
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-row items-start gap-2", children: [
605
+ schema.helpText && /* @__PURE__ */ jsx(
606
+ "span",
607
+ {
608
+ className: "text-text-secondary mt-1 cursor-help text-xs",
609
+ title: schema.helpText,
610
+ children: "\u24D8"
611
+ }
612
+ ),
613
+ mixedInputComponent
614
+ ] })
615
+ ] });
616
+ }
479
617
  const inputSteps = Array.from({ length: dimensions }, (_, i) => {
480
618
  if (steps[i] !== void 0) {
481
619
  return steps[i];
@@ -488,9 +626,11 @@ var DialVectorInput2 = ({
488
626
  VectorInput,
489
627
  {
490
628
  value: vectorValue,
491
- onValuesChange: handleValuesChange,
629
+ onValuesChange: (newValues) => setValue(name, newValues),
492
630
  size,
493
631
  step: inputSteps,
632
+ min: mins.length > 0 ? mins : void 0,
633
+ max: maxs.length > 0 ? maxs : void 0,
494
634
  labels,
495
635
  gridAutoFlow,
496
636
  columns: gridColumns,
@@ -501,7 +641,10 @@ var DialVectorInput2 = ({
501
641
  return inputComponent;
502
642
  }
503
643
  return /* @__PURE__ */ jsxs(FormLayout, { orientation: `label-${labelPosition}`, children: [
504
- /* @__PURE__ */ jsx(Label, { size: "sm", children: label }),
644
+ /* @__PURE__ */ jsxs(Label, { size: "sm", className: "flex items-center gap-1", children: [
645
+ /* @__PURE__ */ jsx(IconRenderer, { iconName: icon, size: 14, className: "text-text-secondary" }),
646
+ label
647
+ ] }),
505
648
  /* @__PURE__ */ jsxs("div", { className: "flex flex-row items-center gap-2", children: [
506
649
  schema.helpText && /* @__PURE__ */ jsx(
507
650
  "span",
@@ -549,7 +692,7 @@ var DialPanel = ({
549
692
  }
550
693
  });
551
694
  const renderSchemaInput = (schema) => {
552
- const { name, dtype, min, max, step, options, tags } = schema;
695
+ const { name, dtype, icon, min, max, step, options, tags } = schema;
553
696
  const effectiveLabelPosition = tags?.labelPosition || labelLayout;
554
697
  const label = schema.label || name.charAt(0).toUpperCase() + name.slice(1);
555
698
  switch (dtype) {
@@ -559,8 +702,11 @@ var DialPanel = ({
559
702
  {
560
703
  name,
561
704
  label,
705
+ min,
706
+ max,
562
707
  step,
563
- labelPosition: effectiveLabelPosition
708
+ labelPosition: effectiveLabelPosition,
709
+ icon
564
710
  },
565
711
  name
566
712
  );
@@ -571,7 +717,8 @@ var DialPanel = ({
571
717
  name,
572
718
  label,
573
719
  step,
574
- labelPosition: effectiveLabelPosition
720
+ labelPosition: effectiveLabelPosition,
721
+ icon
575
722
  },
576
723
  name
577
724
  );
@@ -582,21 +729,23 @@ var DialPanel = ({
582
729
  name,
583
730
  label,
584
731
  step,
585
- labelPosition: effectiveLabelPosition
732
+ labelPosition: effectiveLabelPosition,
733
+ icon
586
734
  },
587
735
  name
588
736
  );
589
737
  case "vector":
590
738
  case "vector-6":
591
739
  case "number-group":
592
- return /* @__PURE__ */ jsx(DialVectorInput2, { name, label }, name);
740
+ return /* @__PURE__ */ jsx(DialVectorInput2, { name, label, icon }, name);
593
741
  case "boolean":
594
742
  return /* @__PURE__ */ jsx(
595
743
  DialBooleanInput,
596
744
  {
597
745
  name,
598
746
  label,
599
- labelPosition: effectiveLabelPosition
747
+ labelPosition: effectiveLabelPosition,
748
+ icon
600
749
  },
601
750
  name
602
751
  );
@@ -609,7 +758,8 @@ var DialPanel = ({
609
758
  min,
610
759
  max,
611
760
  step,
612
- labelPosition: effectiveLabelPosition
761
+ labelPosition: effectiveLabelPosition,
762
+ icon
613
763
  },
614
764
  name
615
765
  );
@@ -618,9 +768,12 @@ var DialPanel = ({
618
768
  DialIntInput,
619
769
  {
620
770
  name,
771
+ min,
772
+ max,
621
773
  label,
622
774
  step: step || 1,
623
- labelPosition: effectiveLabelPosition
775
+ labelPosition: effectiveLabelPosition,
776
+ icon
624
777
  },
625
778
  name
626
779
  );
@@ -631,7 +784,8 @@ var DialPanel = ({
631
784
  name,
632
785
  label,
633
786
  step,
634
- labelPosition: effectiveLabelPosition
787
+ labelPosition: effectiveLabelPosition,
788
+ icon
635
789
  },
636
790
  name
637
791
  );
@@ -645,7 +799,8 @@ var DialPanel = ({
645
799
  min,
646
800
  max,
647
801
  step,
648
- labelPosition: effectiveLabelPosition
802
+ labelPosition: effectiveLabelPosition,
803
+ icon
649
804
  },
650
805
  name
651
806
  );
@@ -657,7 +812,8 @@ var DialPanel = ({
657
812
  name,
658
813
  label,
659
814
  options,
660
- labelPosition: effectiveLabelPosition
815
+ labelPosition: effectiveLabelPosition,
816
+ icon
661
817
  },
662
818
  name
663
819
  );
@@ -670,12 +826,13 @@ var DialPanel = ({
670
826
  min,
671
827
  max,
672
828
  step,
673
- labelPosition: effectiveLabelPosition
829
+ labelPosition: effectiveLabelPosition,
830
+ icon
674
831
  },
675
832
  name
676
833
  );
677
834
  case "color":
678
- return /* @__PURE__ */ jsx(DialColorInput, { name, label }, name);
835
+ return /* @__PURE__ */ jsx(DialColorInput, { name, label, icon }, name);
679
836
  case "string":
680
837
  case "text":
681
838
  if (options && options.length > 0) {
@@ -685,7 +842,8 @@ var DialPanel = ({
685
842
  name,
686
843
  label,
687
844
  options,
688
- labelPosition: effectiveLabelPosition
845
+ labelPosition: effectiveLabelPosition,
846
+ icon
689
847
  },
690
848
  name
691
849
  );
@@ -696,7 +854,8 @@ var DialPanel = ({
696
854
  name,
697
855
  label,
698
856
  placeholder: `Enter ${label.toLowerCase()}`,
699
- labelPosition: effectiveLabelPosition
857
+ labelPosition: effectiveLabelPosition,
858
+ icon
700
859
  },
701
860
  name
702
861
  );
@@ -708,21 +867,24 @@ var DialPanel = ({
708
867
  Object.entries(groupedSchemas).map(([name, schemaList]) => {
709
868
  const groupConfig = groupConfigMap[name];
710
869
  const hasNoWrap = groupConfig?.noWrap;
711
- const wrapClass = hasNoWrap ? "" : "flex-wrap";
870
+ const layoutClass = hasNoWrap ? "flex flex-row gap-2" : "grid grid-cols-3 gap-2";
712
871
  return /* @__PURE__ */ jsxs("div", { className: "dial-group", children: [
713
872
  /* @__PURE__ */ jsx("div", { className: "text-text-primary mb-2 font-medium", children: name }),
714
- /* @__PURE__ */ jsx("div", { className: `dial-row flex flex-row ${wrapClass} gap-4`, children: schemaList.map(renderSchemaInput) })
873
+ /* @__PURE__ */ jsx("div", { className: `dial-row ${layoutClass}`, children: schemaList.map(renderSchemaInput) })
715
874
  ] }, name);
716
875
  }),
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) }) })
876
+ ungrouped.length > 0 && /* @__PURE__ */ jsx("div", { className: "dial-group", children: /* @__PURE__ */ jsx("div", { className: "dial-row grid grid-cols-3 gap-2", children: ungrouped.map(renderSchemaInput) }) })
718
877
  ] });
719
878
  };
720
- var DialInputWrapper2 = ({ label, labelPosition = "top", children }) => {
879
+ var DialInputWrapper2 = ({ label, labelPosition = "top", icon, children }) => {
721
880
  if (!label) {
722
881
  return /* @__PURE__ */ jsx(Fragment, { children });
723
882
  }
724
883
  return /* @__PURE__ */ jsxs(FormLayout, { orientation: `label-${labelPosition}`, children: [
725
- /* @__PURE__ */ jsx(Label, { size: "sm", children: label }),
884
+ /* @__PURE__ */ jsxs(Label, { size: "sm", className: "flex items-center gap-1", children: [
885
+ /* @__PURE__ */ jsx(IconRenderer, { iconName: icon, size: 14, className: "text-text-secondary" }),
886
+ label
887
+ ] }),
726
888
  children
727
889
  ] });
728
890
  };
@@ -734,6 +896,7 @@ var DialNumberInput = ({
734
896
  label,
735
897
  labelPosition = "top",
736
898
  size = "sm",
899
+ icon,
737
900
  ...props
738
901
  }) => {
739
902
  const { getValue, setValue } = useDialSchema();
@@ -759,13 +922,14 @@ var DialNumberInput = ({
759
922
  if (labelPosition === "inline") {
760
923
  return /* @__PURE__ */ jsx(InputNumbers, { ...inputNumbersProps });
761
924
  } else {
762
- return /* @__PURE__ */ jsx(DialInputWrapper2, { label, labelPosition, ...props, children: /* @__PURE__ */ jsx(InputNumbers, { ...inputNumbersProps }) });
925
+ return /* @__PURE__ */ jsx(DialInputWrapper2, { label, labelPosition, icon, ...props, children: /* @__PURE__ */ jsx(InputNumbers, { ...inputNumbersProps }) });
763
926
  }
764
927
  };
765
928
  var DialBooleanInput = ({
766
929
  name,
767
930
  label,
768
931
  labelPosition,
932
+ icon,
769
933
  ...props
770
934
  }) => {
771
935
  const { getValue, setValue } = useDialSchema();
@@ -778,9 +942,9 @@ var DialBooleanInput = ({
778
942
  if (!label || labelPosition === "inline") {
779
943
  return /* @__PURE__ */ jsx(Switch, { ...switchProps });
780
944
  }
781
- return /* @__PURE__ */ jsx(DialInputWrapper2, { label, labelPosition, ...props, children: /* @__PURE__ */ jsx(Switch, { ...switchProps }) });
945
+ return /* @__PURE__ */ jsx(DialInputWrapper2, { label, labelPosition, icon, ...props, children: /* @__PURE__ */ jsx(Switch, { ...switchProps }) });
782
946
  };
783
- var DialColorInput = ({ name, label, ...props }) => {
947
+ var DialColorInput = ({ name, label, icon, ...props }) => {
784
948
  const { getValue, setValue } = useDialSchema();
785
949
  const value = getValue(name) ?? "";
786
950
  const handleChange = useCallback(
@@ -788,13 +952,14 @@ var DialColorInput = ({ name, label, ...props }) => {
788
952
  [name]
789
953
  );
790
954
  const inputComp = /* @__PURE__ */ jsx(ColorInput, { value, onChange: handleChange, prefix: label });
791
- return /* @__PURE__ */ jsx(DialInputWrapper2, { label, ...props, children: inputComp });
955
+ return /* @__PURE__ */ jsx(DialInputWrapper2, { label, icon, ...props, children: inputComp });
792
956
  };
793
957
  var DialSelectInput = ({
794
958
  name,
795
959
  options = [],
796
960
  label,
797
961
  size = "sm",
962
+ icon,
798
963
  ...props
799
964
  }) => {
800
965
  const { getValue, setValue } = useDialSchema();
@@ -810,7 +975,7 @@ var DialSelectInput = ({
810
975
  /* @__PURE__ */ jsx(SelectTrigger, { size, children: /* @__PURE__ */ jsx(SelectValue, { placeholder: "Select an option" }) }),
811
976
  /* @__PURE__ */ jsx(SelectContent, { children: options.map((opt, i) => /* @__PURE__ */ jsx(SelectItem, { value: String(opt), children: String(opt) }, i)) })
812
977
  ] });
813
- return /* @__PURE__ */ jsx(DialInputWrapper2, { label, ...props, children: selectComponent });
978
+ return /* @__PURE__ */ jsx(DialInputWrapper2, { label, icon, ...props, children: selectComponent });
814
979
  };
815
980
  var DialSliderInput = ({
816
981
  name,
@@ -818,6 +983,7 @@ var DialSliderInput = ({
818
983
  max = 100,
819
984
  step = 1,
820
985
  label,
986
+ icon,
821
987
  ...props
822
988
  }) => {
823
989
  const { getValue, setValue } = useDialSchema();
@@ -831,7 +997,7 @@ var DialSliderInput = ({
831
997
  step,
832
998
  className: "flex-1"
833
999
  };
834
- return /* @__PURE__ */ jsxs(DialInputWrapper2, { label, ...props, children: [
1000
+ return /* @__PURE__ */ jsxs(DialInputWrapper2, { label, icon, ...props, children: [
835
1001
  /* @__PURE__ */ jsx(Slider, { ...sliderProps }),
836
1002
  /* @__PURE__ */ jsx("span", { className: "text-text-secondary w-12 text-right text-sm", children: value })
837
1003
  ] });