@tempots/beatui 0.82.0 → 0.83.0

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 (551) hide show
  1. package/dist/_commonjsHelpers-DKOUU3wS.cjs +1 -0
  2. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  3. package/dist/ar-CBrjAlIY.cjs +1 -0
  4. package/dist/ar-DjMvIww5.js +175 -0
  5. package/dist/{ar-NCCPhOpI.js → ar-DwDxAANU.js} +16 -1
  6. package/dist/ar-kZBzg02I.cjs +1 -0
  7. package/dist/auth/index.cjs.js +1 -1
  8. package/dist/auth/index.es.js +64 -1351
  9. package/dist/auth-divider-C3_CgC0l.js +1375 -0
  10. package/dist/auth-divider-C4WTL71M.cjs +1 -0
  11. package/dist/beatui.css +11183 -5596
  12. package/dist/beatui.tailwind.css +11210 -5623
  13. package/dist/better-auth/index.cjs.js +1 -0
  14. package/dist/better-auth/index.es.js +741 -0
  15. package/dist/{colors-B2yrgHSW.cjs → colors-BI0YhONJ.cjs} +1 -1
  16. package/dist/{colors-DPo9GEJR.js → colors-BmLYKmoH.js} +38 -30
  17. package/dist/de-B03SM9eF.cjs +1 -0
  18. package/dist/{de-BVK2MkCk.js → de-CSGSC0xX.js} +18 -3
  19. package/dist/de-CrBw41po.cjs +1 -0
  20. package/dist/{de-f2xcEb34.js → de-wChFYqM4.js} +79 -5
  21. package/dist/deep-merge-CmQoIYPC.js +1689 -0
  22. package/dist/deep-merge-UghuPcyW.cjs +1 -0
  23. package/dist/duration-input-BJzKgI15.cjs +1 -0
  24. package/dist/{duration-input-B3vnnwBZ.js → duration-input-DaB6s0rL.js} +24 -23
  25. package/dist/editor-toolbar-group-BslfdazC.js +32 -0
  26. package/dist/editor-toolbar-group-_V1rDM-1.cjs +1 -0
  27. package/dist/{es-BxBeTRCv.cjs → es-BRa0hV-7.cjs} +1 -1
  28. package/dist/es-Ca5xT3NE.cjs +1 -0
  29. package/dist/es-CmPF3IGl.js +175 -0
  30. package/dist/{es-BQS8PL9j.js → es-dR46FTMF.js} +16 -1
  31. package/dist/{fa-DxPseW3g.cjs → fa-BxCSKn9j.cjs} +1 -1
  32. package/dist/fa-D696e75R.js +175 -0
  33. package/dist/fa-DhZJYuC6.cjs +1 -0
  34. package/dist/{fa-T-tkJSJr.js → fa-FsHBFjdY.js} +16 -1
  35. package/dist/fr-1nSKSIlw.cjs +1 -0
  36. package/dist/{fr-yOW_68YY.js → fr-B0jeX1Hx.js} +83 -9
  37. package/dist/{fr-CSRRhyCG.js → fr-Di6BT9_V.js} +18 -3
  38. package/dist/fr-Dq6RAY9s.cjs +1 -0
  39. package/dist/he-BBX1h9uD.cjs +1 -0
  40. package/dist/{he-Bxdc4M08.js → he-CXujw1Lw.js} +16 -1
  41. package/dist/he-DhcurPt5.cjs +1 -0
  42. package/dist/he-SgAsIYJA.js +175 -0
  43. package/dist/{hi-CJeFvTBe.js → hi-Bvh4d9bO.js} +16 -1
  44. package/dist/hi-Cd0YQZTU.cjs +1 -0
  45. package/dist/hi-CxsIxbfM.cjs +1 -0
  46. package/dist/hi-s9oiIihq.js +175 -0
  47. package/dist/{hls.light.min-Bhrf47iR.cjs → hls.light.min-C6xKDzRR.cjs} +1 -1
  48. package/dist/{hls.light.min-C6VwviEa.js → hls.light.min-hEMf_E8u.js} +1 -1
  49. package/dist/{index-ChsRjiIp.cjs → index-Bm43lZqE.cjs} +19 -19
  50. package/dist/{index-C5YCCgnn.cjs → index-C2_iX1um.cjs} +1 -1
  51. package/dist/{index-DT6-HMMz.js → index-C32iUFIr.js} +1432 -1462
  52. package/dist/{index-CiAVfKIZ.js → index-CEqc0H3v.js} +1 -1
  53. package/dist/index-DH37GTQj.cjs +1 -0
  54. package/dist/{index-DklKfzD4.js → index-Di1_W_7Q.js} +351 -361
  55. package/dist/index.cjs.js +4 -4
  56. package/dist/index.es.js +6310 -3528
  57. package/dist/input-container-CSi72GI1.cjs +1 -0
  58. package/dist/input-container-Nx0gMAzS.js +258 -0
  59. package/dist/it-ByIEk5Cq.cjs +1 -0
  60. package/dist/it-D_IcaYxp.cjs +1 -0
  61. package/dist/{it-6e6X-4BB.js → it-Dc4IMciD.js} +80 -6
  62. package/dist/{it-Zmp0BhIj.js → it-EWhykhHv.js} +18 -3
  63. package/dist/ja-CMGqpPo7.cjs +1 -0
  64. package/dist/{ja-BxNuNo2H.js → ja-D2t2g5xj.js} +85 -11
  65. package/dist/ja-DV6Fpp18.cjs +1 -0
  66. package/dist/{ja-DWjoA-hQ.js → ja-YZ0P5woj.js} +16 -1
  67. package/dist/json-schema/index.cjs.js +1 -1
  68. package/dist/json-schema/index.es.js +212 -205
  69. package/dist/json-schema-display/index.cjs.js +1 -1
  70. package/dist/json-schema-display/index.es.js +1 -1
  71. package/dist/json-structure/index.cjs.js +1 -1
  72. package/dist/json-structure/index.es.js +623 -762
  73. package/dist/ko-BPl5rP97.cjs +1 -0
  74. package/dist/ko-BRylA5JZ.js +175 -0
  75. package/dist/ko-DR1f0as8.cjs +1 -0
  76. package/dist/{ko-BOlI-33h.js → ko-U7BSUAxZ.js} +16 -1
  77. package/dist/lexical/index.cjs.js +46 -0
  78. package/dist/lexical/index.es.js +21397 -0
  79. package/dist/lexical.css +1122 -0
  80. package/dist/menu-CX72LaZ3.cjs +1 -0
  81. package/dist/menu-D_slbwl8.js +374 -0
  82. package/dist/modal-DaI1jH-X.js +488 -0
  83. package/dist/modal-kyZfvVZb.cjs +1 -0
  84. package/dist/nl-BSfaHFt0.cjs +1 -0
  85. package/dist/{nl-Dr-l6zUy.cjs → nl-CQF0N7Mc.cjs} +1 -1
  86. package/dist/{nl-kQNcAdY1.js → nl-CqAxoB4J.js} +18 -3
  87. package/dist/nl-Dh7LUWAn.js +176 -0
  88. package/dist/notice-Bc1L4Zpr.cjs +1 -0
  89. package/dist/{notice-CZHWWwOQ.js → notice-Dz4nX57_.js} +49 -48
  90. package/dist/{oneof-branch-detection-BVNoKU9d.js → oneof-branch-detection-BED_n2MT.js} +523 -520
  91. package/dist/{oneof-branch-detection-C8g3eWnx.cjs → oneof-branch-detection-Vov_e3kI.cjs} +4 -4
  92. package/dist/{pl-CKyPFvss.js → pl-C-weXGCB.js} +16 -1
  93. package/dist/pl-D-O4sCnr.cjs +1 -0
  94. package/dist/{pl-Bs4nLJ__.js → pl-XEG-p1Q9.js} +77 -3
  95. package/dist/{pl-BK0i_yvq.cjs → pl-y_w3DWF3.cjs} +1 -1
  96. package/dist/prosemirror/index.cjs.js +1 -1
  97. package/dist/prosemirror/index.es.js +1 -1
  98. package/dist/{pt-DBmUhaNI.js → pt-BjNGOoZH.js} +18 -3
  99. package/dist/pt-DYsDA2sZ.js +175 -0
  100. package/dist/pt-DqaZWmbG.cjs +1 -0
  101. package/dist/pt-chEEYLlt.cjs +1 -0
  102. package/dist/ru-B46hVpFF.cjs +1 -0
  103. package/dist/{ru-Bi1_DEKM.js → ru-BTKBykp-.js} +86 -12
  104. package/dist/{ru-CsJ_yT-7.js → ru-CFmeZBXK.js} +16 -1
  105. package/dist/ru-CISMzCHR.cjs +1 -0
  106. package/dist/session-id-3KiilioY.js +8 -0
  107. package/dist/session-id-B5lJMzbB.cjs +1 -0
  108. package/dist/styles-url-CVCcF0ra.cjs +1 -0
  109. package/dist/styles-url-DUdp56Ts.js +4 -0
  110. package/dist/tailwind/index.cjs.js +1 -1
  111. package/dist/tailwind/index.es.js +3 -3
  112. package/dist/tailwind/preset.cjs.js +1 -1
  113. package/dist/tailwind/preset.es.js +74 -4
  114. package/dist/tailwind/vite-plugin.cjs.js +10 -10
  115. package/dist/tailwind/vite-plugin.es.js +289 -410
  116. package/dist/text-input-8v79fzEy.cjs +1 -0
  117. package/dist/text-input-CPJzUC2r.js +45 -0
  118. package/dist/{toolbar-DR2Zd4Oo.js → toolbar-CjQG7l7X.js} +4 -4
  119. package/dist/toolbar-D3ZsC0g_.cjs +1 -0
  120. package/dist/{tr-Bn5ldVJs.js → tr-C5X2gFZS.js} +17 -2
  121. package/dist/tr-CaMaflJL.cjs +1 -0
  122. package/dist/{tr-DiYB-FwX.js → tr-Cp8ZCUic.js} +77 -3
  123. package/dist/{tr-CgJ8uhZu.cjs → tr-mWu2E__o.cjs} +1 -1
  124. package/dist/{translations-Cq8bUKJP.js → translations-BGblCUBj.js} +144 -70
  125. package/dist/translations-CZ0KOii3.cjs +1 -0
  126. package/dist/translations-gVgMyNno.cjs +1 -0
  127. package/dist/translations-jUYta1_1.js +87 -0
  128. package/dist/types/auth/index.d.ts +13 -0
  129. package/dist/types/auth-i18n/default.d.ts +14 -0
  130. package/dist/types/auth-i18n/locales/ar.d.ts +14 -0
  131. package/dist/types/auth-i18n/locales/de.d.ts +14 -0
  132. package/dist/types/auth-i18n/locales/en.d.ts +14 -0
  133. package/dist/types/auth-i18n/locales/es.d.ts +14 -0
  134. package/dist/types/auth-i18n/locales/fa.d.ts +14 -0
  135. package/dist/types/auth-i18n/locales/fr.d.ts +14 -0
  136. package/dist/types/auth-i18n/locales/he.d.ts +14 -0
  137. package/dist/types/auth-i18n/locales/hi.d.ts +14 -0
  138. package/dist/types/auth-i18n/locales/it.d.ts +14 -0
  139. package/dist/types/auth-i18n/locales/ja.d.ts +14 -0
  140. package/dist/types/auth-i18n/locales/ko.d.ts +14 -0
  141. package/dist/types/auth-i18n/locales/nl.d.ts +14 -0
  142. package/dist/types/auth-i18n/locales/pl.d.ts +14 -0
  143. package/dist/types/auth-i18n/locales/pt.d.ts +14 -0
  144. package/dist/types/auth-i18n/locales/ru.d.ts +14 -0
  145. package/dist/types/auth-i18n/locales/tr.d.ts +14 -0
  146. package/dist/types/auth-i18n/locales/ur.d.ts +14 -0
  147. package/dist/types/auth-i18n/locales/vi.d.ts +14 -0
  148. package/dist/types/auth-i18n/locales/zh.d.ts +14 -0
  149. package/dist/types/auth-i18n/translations.d.ts +14 -0
  150. package/dist/types/beatui-i18n/default.d.ts +99 -0
  151. package/dist/types/beatui-i18n/index.d.ts +11 -0
  152. package/dist/types/beatui-i18n/locales/en.d.ts +63 -0
  153. package/dist/types/beatui-i18n/translations.d.ts +87 -0
  154. package/dist/types/better-auth/bridge.d.ts +2 -0
  155. package/dist/types/better-auth/callbacks.d.ts +6 -0
  156. package/dist/types/better-auth/components/authenticated.d.ts +4 -0
  157. package/dist/types/better-auth/components/better-auth-container.d.ts +4 -0
  158. package/dist/types/better-auth/components/better-auth-modal.d.ts +4 -0
  159. package/dist/types/better-auth/components/magic-link-form.d.ts +7 -0
  160. package/dist/types/better-auth/components/passkey-management.d.ts +6 -0
  161. package/dist/types/better-auth/components/passkey-signin.d.ts +12 -0
  162. package/dist/types/better-auth/components/two-factor-setup.d.ts +8 -0
  163. package/dist/types/better-auth/components/two-factor-verify.d.ts +10 -0
  164. package/dist/types/better-auth/i18n/default.d.ts +29 -0
  165. package/dist/types/better-auth/i18n/locales/en.d.ts +28 -0
  166. package/dist/types/better-auth/i18n/translations.d.ts +27 -0
  167. package/dist/types/better-auth/index.d.ts +35 -0
  168. package/dist/types/better-auth/provider.d.ts +39 -0
  169. package/dist/types/better-auth/session.d.ts +14 -0
  170. package/dist/types/better-auth/social-mapping.d.ts +2 -0
  171. package/dist/types/better-auth/types.d.ts +276 -0
  172. package/dist/types/components/auth/auth-container.d.ts +63 -2
  173. package/dist/types/components/auth/auth-divider.d.ts +30 -0
  174. package/dist/types/components/auth/auth-email-prop.d.ts +25 -0
  175. package/dist/types/components/auth/index.d.ts +9 -0
  176. package/dist/types/components/auth/password-strength-indicator.d.ts +58 -0
  177. package/dist/types/components/auth/reset-password-form.d.ts +33 -0
  178. package/dist/types/components/auth/schemas.d.ts +183 -5
  179. package/dist/types/components/auth/signin-form.d.ts +33 -0
  180. package/dist/types/components/auth/signup-form.d.ts +36 -0
  181. package/dist/types/components/auth/social-login-button.d.ts +213 -0
  182. package/dist/types/components/auth/social-providers.d.ts +27 -1
  183. package/dist/types/components/auth/types.d.ts +301 -0
  184. package/dist/types/components/auth/utils.d.ts +198 -0
  185. package/dist/types/components/beatui.d.ts +35 -0
  186. package/dist/types/components/button/button.d.ts +61 -0
  187. package/dist/types/components/button/close-button.d.ts +32 -1
  188. package/dist/types/components/button/index.d.ts +2 -0
  189. package/dist/types/components/button/toggle-button-group.d.ts +95 -0
  190. package/dist/types/components/button/toggle-button.d.ts +60 -0
  191. package/dist/types/components/data/avatar-group.d.ts +74 -0
  192. package/dist/types/components/data/avatar.d.ts +62 -0
  193. package/dist/types/components/data/badge.d.ts +49 -2
  194. package/dist/types/components/data/calendar-shared.d.ts +59 -0
  195. package/dist/types/components/data/calendar.d.ts +107 -0
  196. package/dist/types/components/data/history-timeline.d.ts +35 -0
  197. package/dist/types/components/data/icon-badge.d.ts +14 -0
  198. package/dist/types/components/data/icon.d.ts +55 -4
  199. package/dist/types/components/data/index.d.ts +9 -0
  200. package/dist/types/components/data/page-drop-zone.d.ts +61 -8
  201. package/dist/types/components/data/presence-overlay.d.ts +26 -0
  202. package/dist/types/components/data/progress-bar.d.ts +81 -0
  203. package/dist/types/components/data/range-calendar.d.ts +104 -0
  204. package/dist/types/components/data/skeleton.d.ts +70 -0
  205. package/dist/types/components/data/table.d.ts +38 -11
  206. package/dist/types/components/data/tag.d.ts +40 -0
  207. package/dist/types/components/data/unstyled-drop-zone.d.ts +73 -0
  208. package/dist/types/components/editor-toolbar/editor-toolbar-button.d.ts +16 -0
  209. package/dist/types/components/editor-toolbar/editor-toolbar-group.d.ts +9 -0
  210. package/dist/types/components/editor-toolbar/index.d.ts +2 -0
  211. package/dist/types/components/form/control/control.d.ts +155 -0
  212. package/dist/types/components/form/control/date-utils.d.ts +81 -0
  213. package/dist/types/components/form/control/ensure-control.d.ts +28 -0
  214. package/dist/types/components/form/control/form-status.d.ts +63 -0
  215. package/dist/types/components/form/control/index.d.ts +10 -0
  216. package/dist/types/components/form/control/list-control.d.ts +100 -1
  217. package/dist/types/components/form/control/list-item-controls.d.ts +65 -0
  218. package/dist/types/components/form/controller/color-controller.d.ts +29 -1
  219. package/dist/types/components/form/controller/controller-validation.d.ts +31 -0
  220. package/dist/types/components/form/controller/controller.d.ts +286 -0
  221. package/dist/types/components/form/controller/index.d.ts +12 -0
  222. package/dist/types/components/form/controller/path.d.ts +69 -0
  223. package/dist/types/components/form/controller/union-controller.d.ts +106 -11
  224. package/dist/types/components/form/controller/utils.d.ts +67 -0
  225. package/dist/types/components/form/input/advanced-slider.d.ts +143 -0
  226. package/dist/types/components/form/input/appearance-selector.d.ts +39 -0
  227. package/dist/types/components/form/input/base64-input.d.ts +34 -0
  228. package/dist/types/components/form/input/base64s-input.d.ts +47 -0
  229. package/dist/types/components/form/input/bigint-input.d.ts +27 -0
  230. package/dist/types/components/form/input/checkbox-input.d.ts +46 -0
  231. package/dist/types/components/form/input/color-input.d.ts +42 -0
  232. package/dist/types/components/form/input/color-swatch-input.d.ts +53 -0
  233. package/dist/types/components/form/input/combobox-input.d.ts +73 -0
  234. package/dist/types/components/form/input/combobox-tags-input.d.ts +54 -0
  235. package/dist/types/components/form/input/date-input.d.ts +33 -0
  236. package/dist/types/components/form/input/date-time-input.d.ts +34 -0
  237. package/dist/types/components/form/input/dropdown-base.d.ts +52 -0
  238. package/dist/types/components/form/input/dropdown-input.d.ts +86 -0
  239. package/dist/types/components/form/input/duration-input.d.ts +18 -0
  240. package/dist/types/components/form/input/duration-mask.d.ts +24 -0
  241. package/dist/types/components/form/input/editable-text.d.ts +33 -0
  242. package/dist/types/components/form/input/email-input.d.ts +34 -0
  243. package/dist/types/components/form/input/file-input.d.ts +33 -0
  244. package/dist/types/components/form/input/files-input.d.ts +44 -0
  245. package/dist/types/components/form/input/index.d.ts +5 -0
  246. package/dist/types/components/form/input/input-adornment.d.ts +38 -0
  247. package/dist/types/components/form/input/input-container.d.ts +65 -0
  248. package/dist/types/components/form/input/input-options.d.ts +70 -0
  249. package/dist/types/components/form/input/input-wrapper.d.ts +78 -0
  250. package/dist/types/components/form/input/instant-input.d.ts +18 -0
  251. package/dist/types/components/form/input/lazy-native-select.d.ts +43 -0
  252. package/dist/types/components/form/input/list-input.d.ts +50 -0
  253. package/dist/types/components/form/input/mask-input.d.ts +158 -0
  254. package/dist/types/components/form/input/native-select.d.ts +50 -0
  255. package/dist/types/components/form/input/nullable-base64-input.d.ts +25 -0
  256. package/dist/types/components/form/input/nullable-bigint-input.d.ts +26 -0
  257. package/dist/types/components/form/input/nullable-date-input.d.ts +18 -0
  258. package/dist/types/components/form/input/nullable-date-time-input.d.ts +19 -0
  259. package/dist/types/components/form/input/nullable-duration-input.d.ts +19 -0
  260. package/dist/types/components/form/input/nullable-email-input.d.ts +18 -0
  261. package/dist/types/components/form/input/nullable-instant-input.d.ts +19 -0
  262. package/dist/types/components/form/input/nullable-mask-input.d.ts +24 -0
  263. package/dist/types/components/form/input/nullable-number-input.d.ts +29 -0
  264. package/dist/types/components/form/input/nullable-password-input.d.ts +18 -0
  265. package/dist/types/components/form/input/nullable-plain-date-input.d.ts +18 -0
  266. package/dist/types/components/form/input/nullable-plain-date-time-input.d.ts +18 -0
  267. package/dist/types/components/form/input/nullable-plain-month-day-input.d.ts +18 -0
  268. package/dist/types/components/form/input/nullable-plain-time-input.d.ts +18 -0
  269. package/dist/types/components/form/input/nullable-plain-year-month-input.d.ts +18 -0
  270. package/dist/types/components/form/input/nullable-rating-input.d.ts +33 -0
  271. package/dist/types/components/form/input/nullable-text-area.d.ts +27 -0
  272. package/dist/types/components/form/input/nullable-text-input.d.ts +18 -0
  273. package/dist/types/components/form/input/nullable-url-input.d.ts +18 -0
  274. package/dist/types/components/form/input/nullable-utils.d.ts +22 -2
  275. package/dist/types/components/form/input/nullable-uuid-input.d.ts +18 -0
  276. package/dist/types/components/form/input/nullable-zoned-date-time-input.d.ts +20 -0
  277. package/dist/types/components/form/input/number-input.d.ts +49 -0
  278. package/dist/types/components/form/input/option.d.ts +165 -0
  279. package/dist/types/components/form/input/otp-input.d.ts +77 -0
  280. package/dist/types/components/form/input/password-input.d.ts +39 -0
  281. package/dist/types/components/form/input/plain-date-input.d.ts +17 -0
  282. package/dist/types/components/form/input/plain-date-time-input.d.ts +17 -0
  283. package/dist/types/components/form/input/plain-month-day-input.d.ts +18 -0
  284. package/dist/types/components/form/input/plain-time-input.d.ts +17 -0
  285. package/dist/types/components/form/input/plain-year-month-input.d.ts +17 -0
  286. package/dist/types/components/form/input/radio-group.d.ts +108 -0
  287. package/dist/types/components/form/input/rating-input.d.ts +57 -0
  288. package/dist/types/components/form/input/segmented-input.d.ts +70 -1
  289. package/dist/types/components/form/input/select-tags-input.d.ts +69 -0
  290. package/dist/types/components/form/input/slider-input.d.ts +82 -0
  291. package/dist/types/components/form/input/switch.d.ts +59 -1
  292. package/dist/types/components/form/input/tag-input.d.ts +19 -0
  293. package/dist/types/components/form/input/tag-utils.d.ts +111 -0
  294. package/dist/types/components/form/input/tags-input.d.ts +18 -0
  295. package/dist/types/components/form/input/text-area.d.ts +42 -0
  296. package/dist/types/components/form/input/text-input.d.ts +63 -1
  297. package/dist/types/components/form/input/url-input.d.ts +34 -0
  298. package/dist/types/components/form/input/uuid-input.d.ts +19 -0
  299. package/dist/types/components/form/input/zoned-date-time-input.d.ts +20 -0
  300. package/dist/types/components/form/schema/standard-schema-v1.d.ts +98 -23
  301. package/dist/types/components/form/use-form.d.ts +146 -2
  302. package/dist/types/components/i18n/index.d.ts +9 -0
  303. package/dist/types/components/i18n/locale-direction.d.ts +21 -1
  304. package/dist/types/components/i18n/locale-selector.d.ts +45 -0
  305. package/dist/types/components/i18n/make-i18nprovider.d.ts +42 -0
  306. package/dist/types/components/json-schema/schema-types.d.ts +133 -0
  307. package/dist/types/components/json-structure/controls/control-utils.d.ts +19 -0
  308. package/dist/types/components/json-structure/controls/deprecation-utils.d.ts +2 -3
  309. package/dist/types/components/json-structure/controls/index.d.ts +1 -0
  310. package/dist/types/components/json-structure/structure-types.d.ts +473 -19
  311. package/dist/types/components/layout/accordion.d.ts +77 -0
  312. package/dist/types/components/layout/action-card.d.ts +90 -2
  313. package/dist/types/components/layout/app-shell.d.ts +76 -0
  314. package/dist/types/components/layout/card.d.ts +27 -0
  315. package/dist/types/components/layout/center.d.ts +39 -0
  316. package/dist/types/components/layout/collapse.d.ts +28 -0
  317. package/dist/types/components/layout/divider.d.ts +84 -0
  318. package/dist/types/components/layout/group.d.ts +15 -0
  319. package/dist/types/components/layout/index.d.ts +2 -0
  320. package/dist/types/components/layout/nine-slice-scroll-view.d.ts +105 -0
  321. package/dist/types/components/layout/scrollable-panel.d.ts +54 -0
  322. package/dist/types/components/layout/sink.d.ts +46 -0
  323. package/dist/types/components/layout/stack.d.ts +16 -0
  324. package/dist/types/components/layout/with-breakpoint.d.ts +194 -0
  325. package/dist/types/components/lexical/bare-editor.d.ts +29 -0
  326. package/dist/types/components/lexical/code/index.d.ts +1 -0
  327. package/dist/types/components/lexical/code/language-selector.d.ts +13 -0
  328. package/dist/types/components/lexical/contextual-editor.d.ts +22 -0
  329. package/dist/types/components/lexical/docked-editor.d.ts +23 -0
  330. package/dist/types/components/lexical/floating/block-handle.d.ts +16 -0
  331. package/dist/types/components/lexical/floating/floating-toolbar.d.ts +12 -0
  332. package/dist/types/components/lexical/floating/index.d.ts +6 -0
  333. package/dist/types/components/lexical/floating/slash-command-palette.d.ts +20 -0
  334. package/dist/types/components/lexical/index.d.ts +8 -0
  335. package/dist/types/components/lexical/lexical-editor-input.d.ts +30 -0
  336. package/dist/types/components/lexical/table/index.d.ts +1 -0
  337. package/dist/types/components/lexical/table/table-controls.d.ts +12 -0
  338. package/dist/types/components/lexical/toolbar/index.d.ts +6 -0
  339. package/dist/types/components/lexical/toolbar/lexical-toolbar.d.ts +12 -0
  340. package/dist/types/components/lexical/toolbar/toolbar-button.d.ts +1 -0
  341. package/dist/types/components/lexical/toolbar/toolbar-group.d.ts +1 -0
  342. package/dist/types/components/lexical/toolbar/toolbar-helpers.d.ts +32 -0
  343. package/dist/types/components/misc/empty-state.d.ts +86 -0
  344. package/dist/types/components/misc/expando.d.ts +81 -0
  345. package/dist/types/components/misc/index.d.ts +2 -1
  346. package/dist/types/components/misc/link-portal.d.ts +40 -2
  347. package/dist/types/components/misc/notice.d.ts +93 -0
  348. package/dist/types/components/misc/notification-panel.d.ts +21 -0
  349. package/dist/types/components/misc/notification-provider.d.ts +141 -0
  350. package/dist/types/components/misc/notification.d.ts +93 -0
  351. package/dist/types/components/misc/style-portal.d.ts +31 -1
  352. package/dist/types/components/monaco/monaco-editor-input.d.ts +59 -2
  353. package/dist/types/components/navigation/breadcrumbs.d.ts +96 -0
  354. package/dist/types/components/navigation/flyout.d.ts +118 -16
  355. package/dist/types/components/navigation/index.d.ts +3 -0
  356. package/dist/types/components/navigation/link/link.d.ts +100 -0
  357. package/dist/types/components/navigation/menu.d.ts +155 -35
  358. package/dist/types/components/navigation/pagination.d.ts +82 -0
  359. package/dist/types/components/navigation/sidebar/sidebar-group.d.ts +42 -0
  360. package/dist/types/components/navigation/sidebar/sidebar-link.d.ts +101 -0
  361. package/dist/types/components/navigation/sidebar/sidebar-separator.d.ts +17 -0
  362. package/dist/types/components/navigation/sidebar/sidebar.d.ts +57 -0
  363. package/dist/types/components/navigation/tabs/tabs.d.ts +3 -2
  364. package/dist/types/components/navigation/toolbar/toolbar.d.ts +125 -0
  365. package/dist/types/components/navigation/tree-view.d.ts +95 -0
  366. package/dist/types/components/overlay/announcement-bar.d.ts +41 -2
  367. package/dist/types/components/overlay/block-command-palette.d.ts +25 -0
  368. package/dist/types/components/overlay/command-palette.d.ts +17 -0
  369. package/dist/types/components/overlay/dialogs.d.ts +213 -0
  370. package/dist/types/components/overlay/drawer.d.ts +76 -12
  371. package/dist/types/components/overlay/index.d.ts +4 -0
  372. package/dist/types/components/overlay/lightbox.d.ts +53 -10
  373. package/dist/types/components/overlay/modal.d.ts +113 -13
  374. package/dist/types/components/overlay/overlay.d.ts +61 -0
  375. package/dist/types/components/overlay/popover.d.ts +100 -0
  376. package/dist/types/components/overlay/ribbon.d.ts +58 -9
  377. package/dist/types/components/prosemirror/etoolbar-button.d.ts +11 -11
  378. package/dist/types/components/prosemirror/etoolbar-group.d.ts +11 -4
  379. package/dist/types/components/prosemirror/link-control.d.ts +43 -2
  380. package/dist/types/components/prosemirror/prosemirror-toolbar.d.ts +46 -6
  381. package/dist/types/components/prosemirror/utils.d.ts +113 -1
  382. package/dist/types/components/theme/style-utils.d.ts +95 -0
  383. package/dist/types/components/theme/theme.d.ts +39 -0
  384. package/dist/types/components/theme/types.d.ts +133 -1
  385. package/dist/types/components/typography/index.d.ts +1 -0
  386. package/dist/types/components/typography/kbd.d.ts +48 -0
  387. package/dist/types/components/typography/label.d.ts +45 -0
  388. package/dist/types/index.d.ts +14 -0
  389. package/dist/types/json-schema/index.d.ts +13 -0
  390. package/dist/types/json-schema-display/index.d.ts +12 -0
  391. package/dist/types/json-structure/index.d.ts +9 -4
  392. package/dist/types/lexical/commands/index.d.ts +17 -0
  393. package/dist/types/lexical/headless.d.ts +39 -0
  394. package/dist/types/lexical/horizontal-rule-node.d.ts +20 -0
  395. package/dist/types/lexical/index.d.ts +20 -0
  396. package/dist/types/lexical/lazy-loader.d.ts +35 -0
  397. package/dist/types/lexical/nodes.d.ts +29 -0
  398. package/dist/types/lexical/plugins/auto-link.d.ts +7 -0
  399. package/dist/types/lexical/plugins/clipboard.d.ts +11 -0
  400. package/dist/types/lexical/plugins/code-shiki.d.ts +11 -0
  401. package/dist/types/lexical/plugins/code.d.ts +7 -0
  402. package/dist/types/lexical/plugins/dragon.d.ts +6 -0
  403. package/dist/types/lexical/plugins/file-io.d.ts +10 -0
  404. package/dist/types/lexical/plugins/hashtag.d.ts +7 -0
  405. package/dist/types/lexical/plugins/history.d.ts +7 -0
  406. package/dist/types/lexical/plugins/horizontal-rule.d.ts +12 -0
  407. package/dist/types/lexical/plugins/html-io.d.ts +9 -0
  408. package/dist/types/lexical/plugins/index.d.ts +24 -0
  409. package/dist/types/lexical/plugins/link.d.ts +6 -0
  410. package/dist/types/lexical/plugins/list.d.ts +6 -0
  411. package/dist/types/lexical/plugins/mark.d.ts +15 -0
  412. package/dist/types/lexical/plugins/markdown-io.d.ts +13 -0
  413. package/dist/types/lexical/plugins/offset.d.ts +6 -0
  414. package/dist/types/lexical/plugins/overflow.d.ts +7 -0
  415. package/dist/types/lexical/plugins/plain-text.d.ts +6 -0
  416. package/dist/types/lexical/plugins/rich-text.d.ts +6 -0
  417. package/dist/types/lexical/plugins/selection.d.ts +6 -0
  418. package/dist/types/lexical/plugins/slash-commands.d.ts +26 -0
  419. package/dist/types/lexical/plugins/table.d.ts +11 -0
  420. package/dist/types/lexical/plugins/text.d.ts +13 -0
  421. package/dist/types/lexical/plugins/yjs.d.ts +9 -0
  422. package/dist/types/lexical/styles-url.d.ts +2 -0
  423. package/dist/types/lexical/styles.d.ts +2 -0
  424. package/dist/types/lexical/types.d.ts +634 -0
  425. package/dist/types/lexical-i18n/default.d.ts +92 -0
  426. package/dist/types/lexical-i18n/index.d.ts +21 -0
  427. package/dist/types/lexical-i18n/locales/ar.d.ts +91 -0
  428. package/dist/types/lexical-i18n/locales/de.d.ts +91 -0
  429. package/dist/types/lexical-i18n/locales/en.d.ts +91 -0
  430. package/dist/types/lexical-i18n/locales/es.d.ts +91 -0
  431. package/dist/types/lexical-i18n/locales/fa.d.ts +91 -0
  432. package/dist/types/lexical-i18n/locales/fr.d.ts +91 -0
  433. package/dist/types/lexical-i18n/locales/he.d.ts +91 -0
  434. package/dist/types/lexical-i18n/locales/hi.d.ts +91 -0
  435. package/dist/types/lexical-i18n/locales/it.d.ts +91 -0
  436. package/dist/types/lexical-i18n/locales/ja.d.ts +91 -0
  437. package/dist/types/lexical-i18n/locales/ko.d.ts +91 -0
  438. package/dist/types/lexical-i18n/locales/nl.d.ts +91 -0
  439. package/dist/types/lexical-i18n/locales/pl.d.ts +91 -0
  440. package/dist/types/lexical-i18n/locales/pt.d.ts +91 -0
  441. package/dist/types/lexical-i18n/locales/ru.d.ts +91 -0
  442. package/dist/types/lexical-i18n/locales/tr.d.ts +91 -0
  443. package/dist/types/lexical-i18n/locales/ur.d.ts +91 -0
  444. package/dist/types/lexical-i18n/locales/vi.d.ts +91 -0
  445. package/dist/types/lexical-i18n/locales/zh.d.ts +91 -0
  446. package/dist/types/lexical-i18n/translations.d.ts +21 -0
  447. package/dist/types/markdown/index.d.ts +13 -0
  448. package/dist/types/monaco/index.d.ts +17 -0
  449. package/dist/types/monaco/lazy-loader.d.ts +79 -0
  450. package/dist/types/monaco/styles-url.d.ts +11 -0
  451. package/dist/types/monaco/styles.d.ts +11 -0
  452. package/dist/types/monaco/types.d.ts +47 -0
  453. package/dist/types/prosemirror/index.d.ts +12 -0
  454. package/dist/types/prosemirror/styles-url.d.ts +11 -0
  455. package/dist/types/prosemirror/styles.d.ts +10 -0
  456. package/dist/types/tailwind/google-fonts.d.ts +15 -0
  457. package/dist/types/tailwind/index.d.ts +13 -0
  458. package/dist/types/tailwind/preset.d.ts +111 -0
  459. package/dist/types/tailwind/vite-plugin.d.ts +39 -4
  460. package/dist/types/tokens/base-colors.d.ts +21 -0
  461. package/dist/types/tokens/breakpoints.d.ts +67 -0
  462. package/dist/types/tokens/colors.d.ts +213 -4
  463. package/dist/types/tokens/motion.d.ts +142 -3
  464. package/dist/types/tokens/radius.d.ts +99 -0
  465. package/dist/types/tokens/shadows.d.ts +85 -0
  466. package/dist/types/tokens/spacing.d.ts +111 -0
  467. package/dist/types/tokens/text-shadows.d.ts +82 -0
  468. package/dist/types/tokens/typography.d.ts +313 -25
  469. package/dist/types/tokens/z-index.d.ts +62 -0
  470. package/dist/types/utils/color.d.ts +297 -28
  471. package/dist/types/utils/download.d.ts +92 -0
  472. package/dist/types/utils/focus-trap.d.ts +67 -11
  473. package/dist/types/utils/format-file-size.d.ts +44 -0
  474. package/dist/ur-B6yB2JQ7.cjs +1 -0
  475. package/dist/ur-CvGP14xo.cjs +1 -0
  476. package/dist/{ur-Bg9eX81v.js → ur-Deo004ME.js} +16 -1
  477. package/dist/{ur-B69X-xNs.js → ur-DkIYJxsF.js} +82 -8
  478. package/dist/use-animated-toggle-89fKlXxy.js +195 -0
  479. package/dist/use-animated-toggle-DrqK7nUS.cjs +1 -0
  480. package/dist/{use-form-CgZyrACX.js → use-form-BurzbPVV.js} +271 -88
  481. package/dist/use-form-Uree6QFy.cjs +2 -0
  482. package/dist/vi-BYk1rJDv.js +53 -0
  483. package/dist/vi-DKw6PBja.js +175 -0
  484. package/dist/vi-Df4WZe9y.cjs +1 -0
  485. package/dist/vi-DneuUbkq.cjs +1 -0
  486. package/dist/{widget-customization-DRA7E9Zf.js → widget-customization-0is7oTeP.js} +233 -231
  487. package/dist/widget-customization-B-LmxkPE.cjs +1 -0
  488. package/dist/zh-C5a9NGFW.cjs +1 -0
  489. package/dist/zh-CaKHseXJ.js +175 -0
  490. package/dist/zh-DFHuW_5g.cjs +1 -0
  491. package/dist/{zh-BIykcEu9.js → zh-DR7QaM65.js} +16 -1
  492. package/package.json +48 -3
  493. package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
  494. package/dist/_commonjsHelpers-DwGv2jUC.cjs +0 -1
  495. package/dist/ar-BsUm-TCn.cjs +0 -1
  496. package/dist/ar-D7CXDmVZ.cjs +0 -1
  497. package/dist/ar-nOSKXpIW.js +0 -101
  498. package/dist/de-BUFLEyKr.cjs +0 -1
  499. package/dist/de-WzsOu9Gn.cjs +0 -1
  500. package/dist/deep-merge-CiOwVWn8.js +0 -1619
  501. package/dist/deep-merge-DxZqCkE5.cjs +0 -1
  502. package/dist/duration-input-Dg5SX3lM.cjs +0 -1
  503. package/dist/es-CDqqzpCw.js +0 -101
  504. package/dist/es-Ds2Xf3wV.cjs +0 -1
  505. package/dist/fa-C7tE_hR3.js +0 -101
  506. package/dist/fa-Ct1UtDB7.cjs +0 -1
  507. package/dist/fr-Cdyopuz3.cjs +0 -1
  508. package/dist/fr-CzAkRFed.cjs +0 -1
  509. package/dist/he-D2oUloCJ.js +0 -101
  510. package/dist/he-DarDNPn0.cjs +0 -1
  511. package/dist/he-DlXALrK7.cjs +0 -1
  512. package/dist/hi-3dBhLwDs.cjs +0 -1
  513. package/dist/hi-D5ZlZoQq.js +0 -101
  514. package/dist/hi-tATwsXJ6.cjs +0 -1
  515. package/dist/index-DE2tjivA.cjs +0 -1
  516. package/dist/it-BmFag7j0.cjs +0 -1
  517. package/dist/it-DohtcWi9.cjs +0 -1
  518. package/dist/ja-Dj-bAKLf.cjs +0 -1
  519. package/dist/ja-eyTArrgS.cjs +0 -1
  520. package/dist/ko-BFLCDMMs.cjs +0 -1
  521. package/dist/ko-BomUE-yQ.cjs +0 -1
  522. package/dist/ko-Ch0jFsBV.js +0 -101
  523. package/dist/modal-D2xE47kr.cjs +0 -1
  524. package/dist/modal-hkQD1bqZ.js +0 -655
  525. package/dist/nl-Bx2ACvr4.cjs +0 -1
  526. package/dist/nl-NuTdZO1s.js +0 -102
  527. package/dist/notice-C0SmlheE.cjs +0 -1
  528. package/dist/pl-QHl6sl8f.cjs +0 -1
  529. package/dist/pt-BETjHZrL.js +0 -101
  530. package/dist/pt-DZGw2Z-1.cjs +0 -1
  531. package/dist/pt-oBMmVYcu.cjs +0 -1
  532. package/dist/ru-CtxMmoa6.cjs +0 -1
  533. package/dist/ru-D03IuLqh.cjs +0 -1
  534. package/dist/text-input-CByq5OIo.cjs +0 -1
  535. package/dist/text-input-CFJntP7G.js +0 -287
  536. package/dist/toolbar-TPWYzoiF.cjs +0 -1
  537. package/dist/tr-B_-_1wua.cjs +0 -1
  538. package/dist/translations-B4-Zd2LM.cjs +0 -1
  539. package/dist/translations-D62qqNV9.cjs +0 -1
  540. package/dist/translations-DPr6c05Z.js +0 -67
  541. package/dist/ur-DvqAg9gW.cjs +0 -1
  542. package/dist/ur-DyUSmIbo.cjs +0 -1
  543. package/dist/use-form-JjeKCINk.cjs +0 -2
  544. package/dist/vi-BdzxA60L.js +0 -101
  545. package/dist/vi-CBmPaHxg.cjs +0 -1
  546. package/dist/vi-D5R3YcU0.cjs +0 -1
  547. package/dist/vi-DhdsHHf_.js +0 -38
  548. package/dist/widget-customization-G-QLB1rw.cjs +0 -1
  549. package/dist/zh-CCGXcj5r.cjs +0 -1
  550. package/dist/zh-Cb1b8uik.cjs +0 -1
  551. package/dist/zh-Dn1UJiZa.js +0 -101
@@ -1,11 +1,12 @@
1
- import { _ as J, g as Ke } from "../string-DYyMxBl-.js";
2
- import { html as p, attr as m, Fragment as Z, MapSignal as U, Value as I, computedOf as w, prop as Je, WithElement as Ze, OnDispose as He } from "@tempots/dom";
3
- import { b, a as ne, I as B, d as Xe, f as re, A as G, g as Ye } from "../use-form-CgZyrACX.js";
4
- import { t as H, N as Qe, b as pe, c as de, U as et, e as tt, a as nt, T as rt, L as fe, f as me, g as it, G as st, h as at, S as ut, i as ot } from "../deep-merge-CiOwVWn8.js";
5
- import { T as ct, B as V } from "../text-input-CFJntP7G.js";
6
- import { N as lt, B as pt, D as dt, a as ft, P as mt, b as yt, c as gt, d as ht, e as bt, F as vt } from "../duration-input-B3vnnwBZ.js";
7
- import { l as xt } from "../colors-DPo9GEJR.js";
8
- import { S as E, L as ye, M as $t, i as ie } from "../stack-BJgsPJ9A.js";
1
+ import { _ as Z, g as Ke } from "../string-DYyMxBl-.js";
2
+ import { html as p, attr as f, Fragment as q, MapSignal as W, Empty as pe, Value as x, computedOf as M, prop as Je, WithElement as Ze, OnDispose as He } from "@tempots/dom";
3
+ import { b, a as ne, I as _, d as Xe, f as re, A as K, g as Ye } from "../use-form-BurzbPVV.js";
4
+ import { e as H, N as Qe, f as de, g as fe, U as et, c as tt, a as nt, T as rt, L as me, b as ye, h as it, G as st, i as at, S as ut, j as ot } from "../deep-merge-CmQoIYPC.js";
5
+ import { T as ct } from "../text-input-CPJzUC2r.js";
6
+ import { N as lt, B as pt, D as dt, a as ft, P as mt, b as yt, c as gt, d as ht, e as bt, F as vt } from "../duration-input-DaB6s0rL.js";
7
+ import { l as xt } from "../colors-BmLYKmoH.js";
8
+ import { B as U } from "../input-container-Nx0gMAzS.js";
9
+ import { S as B, L as ge, M as $t, i as ie } from "../stack-BJgsPJ9A.js";
9
10
  function It(e) {
10
11
  return e === "int64" || e === "int128" || e === "uint64" || e === "uint128";
11
12
  }
@@ -15,61 +16,61 @@ function P(e) {
15
16
  function X(e) {
16
17
  return e === "float" || e === "double" || e === "decimal";
17
18
  }
18
- function wt(e) {
19
+ function Tt(e) {
19
20
  return P(e) || X(e);
20
21
  }
21
22
  function Y(e) {
22
23
  return e === "date" || e === "datetime" || e === "time" || e === "duration";
23
24
  }
24
- function Tt(e) {
25
- return e === "string" || e === "boolean" || e === "null" || wt(e) || Y(e) || e === "uuid" || e === "uri" || e === "binary";
25
+ function wt(e) {
26
+ return e === "string" || e === "boolean" || e === "null" || Tt(e) || Y(e) || e === "uuid" || e === "uri" || e === "binary";
26
27
  }
27
- function cr(e) {
28
+ function Qn(e) {
28
29
  return e === "object" || e === "array" || e === "set" || e === "map" || e === "tuple" || e === "choice" || e === "any";
29
30
  }
30
- function C(e) {
31
+ function O(e) {
31
32
  return typeof e == "object" && e !== null && "$ref" in e;
32
33
  }
33
34
  function jt(e) {
34
35
  return typeof e == "object" && e !== null && !("type" in e) && !("$ref" in e) && !("enum" in e) && !("const" in e);
35
36
  }
36
- function At(e) {
37
+ function Mt(e) {
37
38
  return typeof e == "object" && e !== null && ("type" in e || "$ref" in e || "enum" in e || "const" in e);
38
39
  }
39
- function k(e) {
40
+ function C(e) {
40
41
  return e.type === "object" && "properties" in e;
41
42
  }
42
- function ge(e) {
43
+ function he(e) {
43
44
  return e.type === "array" && "items" in e;
44
45
  }
45
- function he(e) {
46
+ function be(e) {
46
47
  return e.type === "set" && "items" in e;
47
48
  }
48
- function be(e) {
49
+ function ve(e) {
49
50
  return e.type === "map" && "values" in e;
50
51
  }
51
- function ve(e) {
52
+ function xe(e) {
52
53
  return e.type === "tuple" && "tuple" in e;
53
54
  }
54
- function xe(e) {
55
+ function $e(e) {
55
56
  return e.type === "choice" && "choices" in e;
56
57
  }
57
- function Mt(e) {
58
+ function St(e) {
58
59
  return "enum" in e && Array.isArray(e.enum);
59
60
  }
60
61
  function Dt(e) {
61
62
  return "const" in e;
62
63
  }
63
64
  function se(e) {
64
- return e === void 0 ? null : typeof e == "string" || Array.isArray(e) ? e : (C(e), null);
65
+ return e === void 0 ? null : typeof e == "string" || Array.isArray(e) ? e : (O(e), null);
65
66
  }
66
- function St(e) {
67
+ function At(e) {
67
68
  return e === void 0 ? !1 : e === "null" ? !0 : Array.isArray(e) ? e.includes("null") : !1;
68
69
  }
69
70
  function Q(e) {
70
71
  return typeof e == "string" ? e === "null" ? [] : [e] : Array.isArray(e) ? e.filter((t) => t !== "null") : [];
71
72
  }
72
- const W = {
73
+ const z = {
73
74
  int8: { min: -128n, max: 127n },
74
75
  int16: { min: -32768n, max: 32767n },
75
76
  int32: { min: -2147483648n, max: 2147483647n },
@@ -102,17 +103,17 @@ function N(e, t) {
102
103
  console.warn(`Failed to resolve $ref: ${e}`);
103
104
  return;
104
105
  }
105
- if (At(r))
106
+ if (Mt(r))
106
107
  return r;
107
108
  if (jt(r)) {
108
109
  console.warn(`$ref "${e}" points to a namespace, not a type definition`);
109
110
  return;
110
111
  }
111
112
  }
112
- function lr(e, t) {
113
+ function er(e, t) {
113
114
  return N(e.$ref, t);
114
115
  }
115
- class Rt {
116
+ class Nt {
116
117
  schema;
117
118
  visited = /* @__PURE__ */ new Set();
118
119
  constructor(t) {
@@ -129,7 +130,7 @@ class Rt {
129
130
  this.visited.add(t);
130
131
  try {
131
132
  const n = N(t, this.schema);
132
- if (n?.type && C(n.type)) {
133
+ if (n?.type && O(n.type)) {
133
134
  const r = this.resolve(n.type.$ref);
134
135
  if (r) {
135
136
  const { type: s, ...a } = n;
@@ -145,7 +146,7 @@ class Rt {
145
146
  * Resolve a type definition, handling any $ref in its type specifier
146
147
  */
147
148
  resolveDefinition(t) {
148
- if (t.type && C(t.type)) {
149
+ if (t.type && O(t.type)) {
149
150
  const n = this.resolve(t.type.$ref);
150
151
  if (n) {
151
152
  const { type: r, ...s } = t;
@@ -162,7 +163,7 @@ class Rt {
162
163
  }
163
164
  }
164
165
  function ee(e) {
165
- return new Rt(e);
166
+ return new Nt(e);
166
167
  }
167
168
  class te {
168
169
  schema;
@@ -224,7 +225,7 @@ class te {
224
225
  get resolvedType() {
225
226
  const t = this.definition.type;
226
227
  if (!t) return null;
227
- if (C(t)) {
228
+ if (O(t)) {
228
229
  const n = this.refResolver.resolve(t.$ref);
229
230
  return n?.type ? se(n.type) : null;
230
231
  }
@@ -241,7 +242,7 @@ class te {
241
242
  * Check if this type is nullable
242
243
  */
243
244
  get isNullable() {
244
- return St(this.definition.type);
245
+ return At(this.definition.type);
245
246
  }
246
247
  /**
247
248
  * Check if this is a required field
@@ -272,7 +273,7 @@ class te {
272
273
  */
273
274
  get isPrimitive() {
274
275
  const t = this.primaryType;
275
- return t != null && Tt(t);
276
+ return t != null && wt(t);
276
277
  }
277
278
  /**
278
279
  * Get the description from the definition
@@ -320,7 +321,7 @@ class te {
320
321
  if (this.definition.name)
321
322
  return this.definition.name;
322
323
  const t = this.name;
323
- return t ? J(Ke(t)) : "";
324
+ return t ? Z(Ke(t)) : "";
324
325
  }
325
326
  /**
326
327
  * Get altnames from the definition
@@ -391,7 +392,7 @@ function kt(e, t) {
391
392
  refResolver: r
392
393
  });
393
394
  }
394
- function $e(e, t, n) {
395
+ function Ie(e, t, n) {
395
396
  const r = [], s = [];
396
397
  if (!e.$extends)
397
398
  return { merged: e, inheritanceChain: r, errors: s };
@@ -402,34 +403,34 @@ function $e(e, t, n) {
402
403
  message: "Maximum inheritance depth exceeded"
403
404
  }), [];
404
405
  const h = [];
405
- for (const f of l) {
406
- if (u.has(f)) {
406
+ for (const d of l) {
407
+ if (u.has(d)) {
407
408
  s.push({
408
- path: f,
409
- message: `Circular inheritance detected: ${f}`
409
+ path: d,
410
+ message: `Circular inheritance detected: ${d}`
410
411
  });
411
412
  continue;
412
413
  }
413
- u.add(f), r.push(f);
414
- const g = N(f, t);
414
+ u.add(d), r.push(d);
415
+ const g = N(d, t);
415
416
  if (!g) {
416
417
  s.push({
417
- path: f,
418
- message: `Failed to resolve base type: ${f}`
418
+ path: d,
419
+ message: `Failed to resolve base type: ${d}`
419
420
  });
420
421
  continue;
421
422
  }
422
423
  if (g.$extends) {
423
- const d = Array.isArray(g.$extends) ? g.$extends : [g.$extends], v = i(d, y + 1);
424
- h.push(...v);
424
+ const m = Array.isArray(g.$extends) ? g.$extends : [g.$extends], $ = i(m, y + 1);
425
+ h.push(...$);
425
426
  }
426
- h.push(g), u.delete(f);
427
+ h.push(g), u.delete(d);
427
428
  }
428
429
  return h;
429
430
  }, o = i(a);
430
- return { merged: Nt(o, e), inheritanceChain: r, errors: s };
431
+ return { merged: Rt(o, e), inheritanceChain: r, errors: s };
431
432
  }
432
- function Nt(e, t) {
433
+ function Rt(e, t) {
433
434
  if (e.length === 0)
434
435
  return t;
435
436
  let n = { ...e[0] };
@@ -440,13 +441,13 @@ function Nt(e, t) {
440
441
  return s;
441
442
  }
442
443
  function ae(e, t) {
443
- return k(e) && k(t) ? qt(e, t) : { ...e, ...t };
444
+ return C(e) && C(t) ? Pt(e, t) : { ...e, ...t };
444
445
  }
445
- function qt(e, t) {
446
+ function Pt(e, t) {
446
447
  const n = {
447
448
  ...e.properties ?? {},
448
449
  ...t.properties ?? {}
449
- }, r = ue(e.required), s = ue(t.required), a = Pt([...r, ...s]), u = {
450
+ }, r = ue(e.required), s = ue(t.required), a = qt([...r, ...s]), u = {
450
451
  ...e,
451
452
  ...t,
452
453
  type: "object",
@@ -457,38 +458,38 @@ function qt(e, t) {
457
458
  function ue(e) {
458
459
  return e ? e.length === 0 ? [] : Array.isArray(e[0]) ? e.flat() : e : [];
459
460
  }
460
- function Pt(e) {
461
+ function qt(e) {
461
462
  return [...new Set(e)];
462
463
  }
463
- function pr(e) {
464
+ function tr(e) {
464
465
  const t = ee(e);
465
466
  return {
466
- resolve: (n) => (t.reset(), $e(n, e))
467
+ resolve: (n) => (t.reset(), Ie(n, e))
467
468
  };
468
469
  }
469
470
  function Ft() {
470
471
  return p.span(
471
- m.class("bc-json-structure-deprecated-badge"),
472
- m.style(
472
+ f.class("bc-json-structure-deprecated-badge"),
473
+ f.style(
473
474
  "font-size: var(--font-size-xs); color: var(--color-warning-500, #d97706); background: var(--color-warning-100, #fef3c7); padding: 0.125em 0.5em; border-radius: var(--radius-sm); margin-inline-start: 0.5em; font-weight: normal;"
474
475
  ),
475
476
  "(deprecated)"
476
477
  );
477
478
  }
478
- function T(e, t) {
479
+ function S(e, t) {
479
480
  return !e || !t ? e ?? "" : p.span(e, Ft());
480
481
  }
481
482
  function Lt(e) {
482
483
  const t = e.examples?.[0] != null ? String(e.examples[0]) : void 0;
483
484
  return {
484
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
485
+ label: e.suppressLabel ? void 0 : S(e.label, e.isDeprecated),
485
486
  description: e.description,
486
487
  required: e.isRequired,
487
488
  disabled: e.readOnly || e.isDeprecated,
488
489
  placeholder: t
489
490
  };
490
491
  }
491
- function Ie({
492
+ function Te({
492
493
  ctx: e,
493
494
  controller: t
494
495
  }) {
@@ -498,9 +499,9 @@ function Ie({
498
499
  controller: H(t)
499
500
  });
500
501
  }
501
- function Vt(e) {
502
+ function Et(e) {
502
503
  return {
503
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
504
+ label: e.suppressLabel ? void 0 : S(e.label, e.isDeprecated),
504
505
  description: e.description,
505
506
  required: e.isRequired,
506
507
  disabled: e.readOnly || e.isDeprecated
@@ -510,7 +511,7 @@ function we({
510
511
  ctx: e,
511
512
  controller: t
512
513
  }) {
513
- const n = Vt(e), r = b(ne, {
514
+ const n = Et(e), r = b(ne, {
514
515
  ...n,
515
516
  controller: t
516
517
  });
@@ -524,10 +525,10 @@ function we({
524
525
  )
525
526
  }) : r;
526
527
  }
527
- function Et(e, t) {
528
- const n = W[t], r = Te(e, n.min), s = je(e, n.max), a = e.examples?.[0] != null ? String(e.examples[0]) : void 0;
528
+ function Vt(e, t) {
529
+ const n = z[t], r = je(e, n.min), s = Me(e, n.max), a = e.examples?.[0] != null ? String(e.examples[0]) : void 0;
529
530
  return {
530
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
531
+ label: e.suppressLabel ? void 0 : S(e.label, e.isDeprecated),
531
532
  description: e.description,
532
533
  required: e.isRequired,
533
534
  disabled: e.readOnly || e.isDeprecated,
@@ -539,9 +540,9 @@ function Et(e, t) {
539
540
  };
540
541
  }
541
542
  function Ut(e, t) {
542
- const n = W[t], r = Te(e, n.min), s = je(e, n.max), a = e.examples?.[0] != null ? String(e.examples[0]) : void 0;
543
+ const n = z[t], r = je(e, n.min), s = Me(e, n.max), a = e.examples?.[0] != null ? String(e.examples[0]) : void 0;
543
544
  return {
544
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
545
+ label: e.suppressLabel ? void 0 : S(e.label, e.isDeprecated),
545
546
  description: e.description,
546
547
  required: e.isRequired,
547
548
  disabled: e.readOnly || e.isDeprecated,
@@ -551,7 +552,7 @@ function Ut(e, t) {
551
552
  placeholder: a
552
553
  };
553
554
  }
554
- function Te(e, t) {
555
+ function je(e, t) {
555
556
  const n = e.definition;
556
557
  if (n.minimum !== void 0) {
557
558
  const r = typeof n.minimum == "string" ? BigInt(n.minimum) : n.minimum;
@@ -563,7 +564,7 @@ function Te(e, t) {
563
564
  }
564
565
  return t >= BigInt(Number.MIN_SAFE_INTEGER) && t <= BigInt(Number.MAX_SAFE_INTEGER) ? Number(t) : t;
565
566
  }
566
- function je(e, t) {
567
+ function Me(e, t) {
567
568
  const n = e.definition;
568
569
  if (n.maximum !== void 0) {
569
570
  const r = typeof n.maximum == "string" ? BigInt(n.maximum) : n.maximum;
@@ -575,7 +576,7 @@ function je(e, t) {
575
576
  }
576
577
  return t >= BigInt(Number.MIN_SAFE_INTEGER) && t <= BigInt(Number.MAX_SAFE_INTEGER) ? Number(t) : t;
577
578
  }
578
- function Ae({
579
+ function Se({
579
580
  ctx: e,
580
581
  controller: t,
581
582
  intType: n
@@ -590,11 +591,11 @@ function Ae({
590
591
  controller: t
591
592
  });
592
593
  }
593
- const r = Et(e, n);
594
- return e.isNullable ? b(pe, {
594
+ const r = Vt(e, n);
595
+ return e.isNullable ? b(de, {
595
596
  ...r,
596
597
  controller: t
597
- }) : b(de, {
598
+ }) : b(fe, {
598
599
  ...r,
599
600
  controller: t
600
601
  });
@@ -613,7 +614,7 @@ function Bt(e, t) {
613
614
  }
614
615
  const c = e.examples?.[0] != null ? String(e.examples[0]) : void 0;
615
616
  return {
616
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
617
+ label: e.suppressLabel ? void 0 : S(e.label, e.isDeprecated),
617
618
  description: o,
618
619
  required: e.isRequired,
619
620
  disabled: e.readOnly || e.isDeprecated,
@@ -623,30 +624,30 @@ function Bt(e, t) {
623
624
  placeholder: c
624
625
  };
625
626
  }
626
- function Me({
627
+ function De({
627
628
  ctx: e,
628
629
  controller: t,
629
630
  floatType: n
630
631
  }) {
631
632
  const r = Bt(e, n);
632
- return e.isNullable ? b(pe, {
633
+ return e.isNullable ? b(de, {
633
634
  ...r,
634
635
  controller: t
635
- }) : b(de, {
636
+ }) : b(fe, {
636
637
  ...r,
637
638
  controller: t
638
639
  });
639
640
  }
640
641
  function Wt(e) {
641
642
  return {
642
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
643
+ label: e.suppressLabel ? void 0 : S(e.label, e.isDeprecated),
643
644
  description: e.description,
644
645
  required: e.isRequired,
645
646
  disabled: e.readOnly || e.isDeprecated,
646
647
  placeholder: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
647
648
  };
648
649
  }
649
- function De({
650
+ function Ae({
650
651
  ctx: e,
651
652
  controller: t
652
653
  }) {
@@ -658,13 +659,13 @@ function De({
658
659
  }
659
660
  function _t(e) {
660
661
  return {
661
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
662
+ label: e.suppressLabel ? void 0 : S(e.label, e.isDeprecated),
662
663
  description: e.description,
663
664
  required: e.isRequired,
664
665
  disabled: e.readOnly || e.isDeprecated
665
666
  };
666
667
  }
667
- function Se({
668
+ function Oe({
668
669
  ctx: e,
669
670
  controller: t,
670
671
  temporalType: n
@@ -704,19 +705,19 @@ function Se({
704
705
  controller: t
705
706
  });
706
707
  default:
707
- return console.warn(`Unknown temporal type: ${n}`), Z();
708
+ return console.warn(`Unknown temporal type: ${n}`), q();
708
709
  }
709
710
  }
710
711
  function zt(e) {
711
712
  return {
712
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
713
+ label: e.suppressLabel ? void 0 : S(e.label, e.isDeprecated),
713
714
  description: e.description,
714
715
  required: e.isRequired,
715
716
  disabled: e.readOnly || e.isDeprecated,
716
717
  placeholder: "https://example.com"
717
718
  };
718
719
  }
719
- function Oe({
720
+ function Ce({
720
721
  ctx: e,
721
722
  controller: t
722
723
  }) {
@@ -728,13 +729,13 @@ function Oe({
728
729
  }
729
730
  function Gt(e) {
730
731
  return {
731
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
732
+ label: e.suppressLabel ? void 0 : S(e.label, e.isDeprecated),
732
733
  description: e.description,
733
734
  required: e.isRequired,
734
735
  disabled: e.readOnly || e.isDeprecated
735
736
  };
736
737
  }
737
- function Ce({
738
+ function Ne({
738
739
  ctx: e,
739
740
  controller: t
740
741
  }) {
@@ -746,7 +747,7 @@ function Ce({
746
747
  }
747
748
  function Kt(e) {
748
749
  return {
749
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
750
+ label: e.suppressLabel ? void 0 : S(e.label, e.isDeprecated),
750
751
  description: e.description,
751
752
  required: e.isRequired,
752
753
  disabled: e.readOnly || e.isDeprecated,
@@ -768,7 +769,7 @@ function Jt(e) {
768
769
  }
769
770
  );
770
771
  }
771
- function K({
772
+ function J({
772
773
  ctx: e,
773
774
  controller: t
774
775
  }) {
@@ -778,17 +779,14 @@ function K({
778
779
  controller: Jt(t)
779
780
  });
780
781
  }
781
- function Zt(e) {
782
+ function F(e) {
782
783
  return {
783
784
  label: e.suppressLabel ? void 0 : e.label,
784
785
  description: e.description,
785
786
  required: e.isRequired
786
787
  };
787
788
  }
788
- function Ht(e, t) {
789
- return !t || t.length === 0 ? !1 : typeof t[0] == "string" ? t.includes(e) : Array.isArray(t[0]) ? t.some((n) => n.includes(e)) : !1;
790
- }
791
- function Xt(e) {
789
+ function k(e) {
792
790
  if (e.default !== void 0)
793
791
  return e.default;
794
792
  if (e.examples && e.examples.length > 0)
@@ -813,148 +811,127 @@ function Xt(e) {
813
811
  case "any":
814
812
  return;
815
813
  default:
816
- return t === "int8" || t === "int16" || t === "int32" || t === "int64" || t === "uint8" || t === "uint16" || t === "uint32" || t === "uint64" || t === "float" || t === "double" || t === "decimal" ? 0 : void 0;
814
+ return t === "int8" || t === "int16" || t === "int32" || t === "int64" || t === "int128" || t === "uint8" || t === "uint16" || t === "uint32" || t === "uint64" || t === "uint128" || t === "float" || t === "double" || t === "decimal" ? 0 : void 0;
817
815
  }
818
816
  }
819
- function Yt(e, t = "property") {
817
+ function Zt(e, t) {
818
+ return !t || t.length === 0 ? !1 : typeof t[0] == "string" ? t.includes(e) : Array.isArray(t[0]) ? t.some((n) => n.includes(e)) : !1;
819
+ }
820
+ function Ht(e, t = "property") {
820
821
  if (!e.has(t)) return t;
821
822
  let n = 1;
822
823
  for (; e.has(`${t}${n}`); )
823
824
  n++;
824
825
  return `${t}${n}`;
825
826
  }
826
- function Re({
827
+ function ke({
827
828
  ctx: e,
828
829
  controller: t
829
830
  }) {
830
831
  const n = e.definition;
831
- return n.type !== "object" || !("properties" in n) ? (console.warn("StructureObjectControl requires an ObjectTypeDefinition"), p.div("Invalid object definition")) : U(t.signal, (r) => {
832
- const s = n.properties, a = n.required, u = n.additionalProperties, i = u !== !1, o = typeof u == "object" && u !== null ? u : { type: "any" }, c = n.minProperties ?? 0, l = n.maxProperties ?? 1 / 0, y = xt(s), h = new Set(
833
- y.map(([x]) => x)
834
- ), f = Object.keys(r ?? {}), g = f.filter((x) => !h.has(x)), d = i && f.length < l && !e.readOnly, v = f.length > c && !e.readOnly, $ = y.map(([x, O]) => {
835
- const D = x, z = t.field(D), Ge = Ht(D, a);
836
- return j({
837
- ctx: e.with({
838
- definition: O,
839
- isPropertyRequired: Ge,
840
- suppressLabel: !1
841
- }).append(D),
842
- controller: z
843
- });
844
- }), A = g.map((x) => {
845
- const O = t.field(x);
846
- return p.div(
847
- m.class("bc-json-structure-additional-property"),
848
- p.div(
849
- m.class("bc-json-structure-additional-property-header"),
850
- p.strong(`${x}:`),
851
- V(
852
- {
853
- variant: "text",
854
- size: "xs",
855
- onClick: () => {
856
- const D = { ...I.get(t.signal) ?? {} };
857
- delete D[x], t.change(D);
832
+ if (n.type !== "object" || !("properties" in n))
833
+ return console.warn("StructureObjectControl requires an ObjectTypeDefinition"), p.div("Invalid object definition");
834
+ const r = n.properties, s = n.required, a = n.additionalProperties, u = a !== !1, i = typeof a == "object" && a !== null ? a : { type: "any" }, o = n.minProperties ?? 0, c = n.maxProperties ?? 1 / 0, l = xt(r), y = new Set(
835
+ l.map(([v]) => v)
836
+ ), h = l.map(([v, I]) => {
837
+ const T = v, j = t.field(T), w = Zt(T, s);
838
+ return D({
839
+ ctx: e.with({
840
+ definition: I,
841
+ isPropertyRequired: w,
842
+ suppressLabel: !1
843
+ }).append(T),
844
+ controller: j
845
+ });
846
+ }), d = W(t.signal, (v) => {
847
+ const I = Object.keys(v ?? {}), T = I.filter((w) => !y.has(w));
848
+ if (T.length === 0) return pe;
849
+ const j = I.length > o && !e.readOnly;
850
+ return q(
851
+ ...T.map((w) => {
852
+ const R = t.field(w);
853
+ return p.div(
854
+ f.class("bc-json-structure-additional-property"),
855
+ p.div(
856
+ f.class("bc-json-structure-additional-property-header"),
857
+ p.strong(`${w}:`),
858
+ U(
859
+ {
860
+ variant: "text",
861
+ size: "xs",
862
+ onClick: () => {
863
+ const E = { ...x.get(t.signal) ?? {} };
864
+ delete E[w], t.change(E);
865
+ },
866
+ disabled: !j
858
867
  },
859
- disabled: !v
860
- },
861
- "Remove"
868
+ "Remove"
869
+ )
870
+ ),
871
+ p.div(
872
+ f.class("bc-json-structure-additional-property-value"),
873
+ D({
874
+ ctx: e.with({
875
+ definition: i,
876
+ isPropertyRequired: !1,
877
+ suppressLabel: !0
878
+ }).append(w),
879
+ controller: R
880
+ })
862
881
  )
863
- ),
864
- p.div(
865
- m.class("bc-json-structure-additional-property-value"),
866
- j({
867
- ctx: e.with({
868
- definition: o,
869
- isPropertyRequired: !1,
870
- suppressLabel: !0
871
- }).append(x),
872
- controller: O
873
- })
874
- )
875
- );
876
- }), q = d ? V(
877
- {
878
- variant: "outline",
879
- size: "sm",
880
- onClick: () => {
881
- const x = I.get(t.signal) ?? {}, O = new Set(Object.keys(x)), D = Yt(O), z = Xt(o);
882
- t.change({
883
- ...x,
884
- [D]: z
885
- });
886
- }
887
- },
888
- "Add Property"
889
- ) : null, S = p.div(
890
- m.class("bc-json-structure-object-fields"),
891
- ...$,
892
- ...A,
893
- q
894
- ), R = p.div(
895
- m.class("bc-json-structure-object"),
896
- S
882
+ );
883
+ })
897
884
  );
898
- return !e.suppressLabel && e.name ? B({
899
- ...Zt(e),
900
- content: R
901
- }) : R;
902
- });
903
- }
904
- function Qt(e) {
905
- return {
906
- label: e.suppressLabel ? void 0 : e.label,
907
- description: e.description,
908
- required: e.isRequired
909
- };
910
- }
911
- function en(e) {
912
- if (e.default !== void 0)
913
- return e.default;
914
- if (e.examples && e.examples.length > 0)
915
- return e.examples[0];
916
- if (!e.type) return;
917
- const t = Array.isArray(e.type) ? e.type[0] : e.type;
918
- if (!(typeof t == "object" && "$ref" in t))
919
- switch (t) {
920
- case "string":
921
- return "";
922
- case "boolean":
923
- return !1;
924
- case "null":
925
- return null;
926
- case "object":
927
- return {};
928
- case "array":
929
- case "set":
930
- return [];
931
- case "map":
932
- return {};
933
- case "any":
934
- return;
935
- default:
936
- return t === "int8" || t === "int16" || t === "int32" || t === "int64" || t === "int128" || t === "uint8" || t === "uint16" || t === "uint32" || t === "uint64" || t === "uint128" || t === "float" || t === "double" || t === "decimal" ? 0 : void 0;
937
- }
885
+ }), g = u && !e.readOnly ? U(
886
+ {
887
+ variant: "outline",
888
+ size: "sm",
889
+ disabled: x.map(
890
+ t.signal,
891
+ (v) => Object.keys(v ?? {}).length >= c
892
+ ),
893
+ onClick: () => {
894
+ const v = x.get(t.signal) ?? {}, I = new Set(Object.keys(v)), T = Ht(I), j = k(i);
895
+ t.change({
896
+ ...v,
897
+ [T]: j
898
+ });
899
+ }
900
+ },
901
+ "Add Property"
902
+ ) : null, m = p.div(
903
+ f.class("bc-json-structure-object-fields"),
904
+ ...h,
905
+ d,
906
+ g
907
+ ), $ = p.div(
908
+ f.class("bc-json-structure-object"),
909
+ m
910
+ );
911
+ return !e.suppressLabel && e.name ? _({
912
+ ...F(e),
913
+ content: $
914
+ }) : $;
938
915
  }
939
- function ke({
916
+ function Re({
940
917
  ctx: e,
941
918
  controller: t
942
919
  }) {
943
920
  const n = e.definition;
944
921
  if (n.type !== "array" || !("items" in n))
945
922
  return console.warn("StructureArrayControl requires an ArrayTypeDefinition"), p.div("Invalid array definition");
946
- const r = n.items, s = n.minItems ?? 0, a = n.maxItems ?? 1 / 0, u = w(t.signal)((o) => (o?.length ?? 0) < a), i = w(t.signal)((o) => (o?.length ?? 0) > s);
947
- return fe({
948
- ...Qt(e),
923
+ const r = n.items, s = n.minItems ?? 0, a = n.maxItems ?? 1 / 0, u = M(t.signal)((o) => (o?.length ?? 0) < a), i = M(t.signal)((o) => (o?.length ?? 0) > s);
924
+ return me({
925
+ ...F(e),
949
926
  controller: t,
950
- createItem: () => en(r),
927
+ createItem: () => k(r),
951
928
  showAdd: !0,
952
- addDisabled: w(u)((o) => !o || e.readOnly),
929
+ addDisabled: M(u)((o) => !o || e.readOnly),
953
930
  showRemove: !0,
954
- removeDisabled: w(i)((o) => !o || e.readOnly),
931
+ removeDisabled: M(i)((o) => !o || e.readOnly),
955
932
  element: (o) => {
956
933
  const c = o.position.index, l = o.item;
957
- return j({
934
+ return D({
958
935
  ctx: e.with({
959
936
  definition: r,
960
937
  suppressLabel: !0
@@ -964,120 +941,50 @@ function ke({
964
941
  }
965
942
  });
966
943
  }
967
- function tn(e) {
968
- return {
969
- label: e.suppressLabel ? void 0 : e.label,
970
- description: e.description,
971
- required: e.isRequired
972
- };
973
- }
974
- function nn(e) {
975
- if (e.default !== void 0)
976
- return e.default;
977
- if (e.examples && e.examples.length > 0)
978
- return e.examples[0];
979
- if (!e.type) return;
980
- const t = Array.isArray(e.type) ? e.type[0] : e.type;
981
- if (!(typeof t == "object" && "$ref" in t))
982
- switch (t) {
983
- case "string":
984
- return "";
985
- case "boolean":
986
- return !1;
987
- case "null":
988
- return null;
989
- case "object":
990
- return {};
991
- case "array":
992
- case "set":
993
- return [];
994
- case "map":
995
- return {};
996
- case "any":
997
- return;
998
- default:
999
- return t === "int8" || t === "int16" || t === "int32" || t === "int64" || t === "int128" || t === "uint8" || t === "uint16" || t === "uint32" || t === "uint64" || t === "uint128" || t === "float" || t === "double" || t === "decimal" ? 0 : void 0;
1000
- }
1001
- }
1002
- function Ne({
944
+ function Pe({
1003
945
  ctx: e,
1004
946
  controller: t
1005
947
  }) {
1006
948
  const n = e.definition;
1007
949
  if (n.type !== "set" || !("items" in n))
1008
950
  return console.warn("StructureSetControl requires a SetTypeDefinition"), p.div("Invalid set definition");
1009
- const r = n.items, s = n.minItems ?? 0, a = n.maxItems ?? 1 / 0, u = w(t.signal)((c) => (c?.length ?? 0) < a), i = w(t.signal)((c) => (c?.length ?? 0) > s), o = w(t.signal)((c) => {
951
+ const r = n.items, s = n.minItems ?? 0, a = n.maxItems ?? 1 / 0, u = M(t.signal)((c) => (c?.length ?? 0) < a), i = M(t.signal)((c) => (c?.length ?? 0) > s), o = M(t.signal)((c) => {
1010
952
  if (!c || c.length === 0) return /* @__PURE__ */ new Set();
1011
953
  const l = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Set();
1012
954
  for (let h = 0; h < c.length; h++) {
1013
- const f = JSON.stringify(c[h]);
1014
- l.has(f) ? (y.add(l.get(f)), y.add(h)) : l.set(f, h);
955
+ const d = JSON.stringify(c[h]);
956
+ l.has(d) ? (y.add(l.get(d)), y.add(h)) : l.set(d, h);
1015
957
  }
1016
958
  return y;
1017
959
  });
1018
- return fe({
1019
- ...tn(e),
960
+ return me({
961
+ ...F(e),
1020
962
  controller: t,
1021
- createItem: () => nn(r),
963
+ createItem: () => k(r),
1022
964
  showAdd: !0,
1023
- addDisabled: w(u)((c) => !c || e.readOnly),
965
+ addDisabled: M(u)((c) => !c || e.readOnly),
1024
966
  showRemove: !0,
1025
- removeDisabled: w(i)((c) => !c || e.readOnly),
967
+ removeDisabled: M(i)((c) => !c || e.readOnly),
1026
968
  element: (c) => {
1027
- const l = c.position.index, y = c.item, h = o.map((g) => g.has(l)), f = j({
969
+ const l = c.position.index, y = c.item, h = o.map((g) => g.has(l)), d = D({
1028
970
  ctx: e.with({
1029
971
  definition: r,
1030
972
  suppressLabel: !0
1031
973
  }).append(l),
1032
974
  controller: y
1033
975
  });
1034
- return h.map((g) => g ? E(
1035
- m.class("bc-stack--gap-1"),
1036
- f,
1037
- ye(
1038
- m.class("bc-json-structure-set-error"),
976
+ return h.map((g) => g ? B(
977
+ f.class("bc-stack--gap-1"),
978
+ d,
979
+ ge(
980
+ f.class("bc-json-structure-set-error"),
1039
981
  "⚠️ Duplicate value - sets must contain unique items"
1040
982
  )
1041
- ) : f);
983
+ ) : d);
1042
984
  }
1043
985
  });
1044
986
  }
1045
- function rn(e) {
1046
- return {
1047
- label: e.suppressLabel ? void 0 : e.label,
1048
- description: e.description,
1049
- required: e.isRequired
1050
- };
1051
- }
1052
- function sn(e) {
1053
- if (e.default !== void 0)
1054
- return e.default;
1055
- if (e.examples && e.examples.length > 0)
1056
- return e.examples[0];
1057
- if (!e.type) return;
1058
- const t = Array.isArray(e.type) ? e.type[0] : e.type;
1059
- if (!(typeof t == "object" && "$ref" in t))
1060
- switch (t) {
1061
- case "string":
1062
- return "";
1063
- case "boolean":
1064
- return !1;
1065
- case "null":
1066
- return null;
1067
- case "object":
1068
- return {};
1069
- case "array":
1070
- case "set":
1071
- return [];
1072
- case "map":
1073
- return {};
1074
- case "any":
1075
- return;
1076
- default:
1077
- return t === "int8" || t === "int16" || t === "int32" || t === "int64" || t === "int128" || t === "uint8" || t === "uint16" || t === "uint32" || t === "uint64" || t === "uint128" || t === "float" || t === "double" || t === "decimal" ? 0 : void 0;
1078
- }
1079
- }
1080
- function an(e, t = "key") {
987
+ function Xt(e, t = "key") {
1081
988
  if (!e.has(t)) return t;
1082
989
  let n = 1;
1083
990
  for (; e.has(`${t}${n}`); )
@@ -1091,102 +998,75 @@ function qe({
1091
998
  const n = e.definition;
1092
999
  if (n.type !== "map" || !("values" in n))
1093
1000
  return console.warn("StructureMapControl requires a MapTypeDefinition"), p.div("Invalid map definition");
1094
- const r = n.values, s = n.minProperties ?? 0, a = n.maxProperties ?? 1 / 0;
1095
- return U(t.signal, (u) => {
1096
- const i = Object.keys(u ?? {}), o = i.length, c = o < a && !e.readOnly, l = o > s && !e.readOnly, y = i.map((d) => {
1097
- const v = t.field(d);
1098
- return p.div(
1099
- m.class("bc-json-structure-map-entry"),
1100
- p.div(
1101
- m.class("bc-json-structure-map-entry-header"),
1102
- p.strong(m.class("bc-json-structure-map-entry-key"), `${d}:`),
1103
- V(
1104
- {
1105
- variant: "text",
1106
- size: "xs",
1107
- onClick: () => {
1108
- const $ = { ...I.get(t.signal) ?? {} };
1109
- delete $[d], t.change($);
1001
+ const r = n.values, s = n.minProperties ?? 0, a = n.maxProperties ?? 1 / 0, u = W(t.signal, (l) => {
1002
+ const y = Object.keys(l ?? {});
1003
+ if (y.length === 0) return pe;
1004
+ const h = y.length > s && !e.readOnly;
1005
+ return q(
1006
+ ...y.map((d) => {
1007
+ const g = t.field(d);
1008
+ return p.div(
1009
+ f.class("bc-json-structure-map-entry"),
1010
+ p.div(
1011
+ f.class("bc-json-structure-map-entry-header"),
1012
+ p.strong(
1013
+ f.class("bc-json-structure-map-entry-key"),
1014
+ `${d}:`
1015
+ ),
1016
+ U(
1017
+ {
1018
+ variant: "text",
1019
+ size: "xs",
1020
+ onClick: () => {
1021
+ const m = { ...x.get(t.signal) ?? {} };
1022
+ delete m[d], t.change(m);
1023
+ },
1024
+ disabled: !h
1110
1025
  },
1111
- disabled: !l
1112
- },
1113
- "Remove"
1026
+ "Remove"
1027
+ )
1028
+ ),
1029
+ p.div(
1030
+ f.class("bc-json-structure-map-entry-value"),
1031
+ D({
1032
+ ctx: e.with({
1033
+ definition: r,
1034
+ suppressLabel: !0
1035
+ }).append(d),
1036
+ controller: g
1037
+ })
1114
1038
  )
1115
- ),
1116
- p.div(
1117
- m.class("bc-json-structure-map-entry-value"),
1118
- j({
1119
- ctx: e.with({
1120
- definition: r,
1121
- suppressLabel: !0
1122
- }).append(d),
1123
- controller: v
1124
- })
1125
- )
1126
- );
1127
- }), h = c ? V(
1128
- {
1129
- variant: "outline",
1130
- size: "sm",
1131
- onClick: () => {
1132
- const d = I.get(t.signal) ?? {}, v = new Set(Object.keys(d)), $ = an(v), A = sn(r);
1133
- t.change({
1134
- ...d,
1135
- [$]: A
1136
- });
1137
- }
1138
- },
1139
- "Add Entry"
1140
- ) : null, f = p.div(
1141
- m.class("bc-json-structure-map-entries"),
1142
- ...y,
1143
- h
1144
- ), g = p.div(
1145
- m.class("bc-json-structure-map"),
1146
- f
1039
+ );
1040
+ })
1147
1041
  );
1148
- return !e.suppressLabel && e.name ? B({
1149
- ...rn(e),
1150
- content: g
1151
- }) : g;
1152
- });
1153
- }
1154
- function un(e) {
1155
- return {
1156
- label: e.suppressLabel ? void 0 : e.label,
1157
- description: e.description,
1158
- required: e.isRequired
1159
- };
1160
- }
1161
- function on(e) {
1162
- if (e.default !== void 0)
1163
- return e.default;
1164
- if (e.examples && e.examples.length > 0)
1165
- return e.examples[0];
1166
- if (!e.type) return;
1167
- const t = Array.isArray(e.type) ? e.type[0] : e.type;
1168
- if (!(typeof t == "object" && "$ref" in t))
1169
- switch (t) {
1170
- case "string":
1171
- return "";
1172
- case "boolean":
1173
- return !1;
1174
- case "null":
1175
- return null;
1176
- case "object":
1177
- return {};
1178
- case "array":
1179
- case "set":
1180
- return [];
1181
- case "map":
1182
- return {};
1183
- case "any":
1184
- return;
1185
- default:
1186
- return t === "int8" || t === "int16" || t === "int32" || t === "int64" || t === "int128" || t === "uint8" || t === "uint16" || t === "uint32" || t === "uint64" || t === "uint128" || t === "float" || t === "double" || t === "decimal" ? 0 : void 0;
1187
- }
1042
+ }), i = e.readOnly ? null : U(
1043
+ {
1044
+ variant: "outline",
1045
+ size: "sm",
1046
+ disabled: x.map(
1047
+ t.signal,
1048
+ (l) => Object.keys(l ?? {}).length >= a
1049
+ ),
1050
+ onClick: () => {
1051
+ const l = x.get(t.signal) ?? {}, y = new Set(Object.keys(l)), h = Xt(y), d = k(r);
1052
+ t.change({
1053
+ ...l,
1054
+ [h]: d
1055
+ });
1056
+ }
1057
+ },
1058
+ "Add Entry"
1059
+ ), o = p.div(
1060
+ f.class("bc-json-structure-map-entries"),
1061
+ u,
1062
+ i
1063
+ ), c = p.div(f.class("bc-json-structure-map"), o);
1064
+ return !e.suppressLabel && e.name ? _({
1065
+ ...F(e),
1066
+ content: c
1067
+ }) : c;
1188
1068
  }
1189
- function Pe({
1069
+ function Fe({
1190
1070
  ctx: e,
1191
1071
  controller: t
1192
1072
  }) {
@@ -1197,54 +1077,54 @@ function Pe({
1197
1077
  if (!Array.isArray(a) || a.length !== r.length) {
1198
1078
  const i = r.map((o) => {
1199
1079
  const c = s[o];
1200
- return c ? on(c) : void 0;
1080
+ return c ? k(c) : void 0;
1201
1081
  });
1202
1082
  t.change(i);
1203
1083
  }
1204
- const u = un(e);
1084
+ const u = F(e);
1205
1085
  return p.div(
1206
- m.class("bc-json-structure-tuple"),
1086
+ f.class("bc-json-structure-tuple"),
1207
1087
  // Optional label and description
1208
1088
  u.label && p.label(
1209
- m.class("bc-json-structure-tuple-label"),
1089
+ f.class("bc-json-structure-tuple-label"),
1210
1090
  u.label,
1211
- u.required && p.span(m.class("bc-required-indicator"), "*")
1091
+ u.required && p.span(f.class("bc-required-indicator"), "*")
1212
1092
  ),
1213
1093
  u.description && p.div(
1214
- m.class("bc-json-structure-tuple-description"),
1094
+ f.class("bc-json-structure-tuple-description"),
1215
1095
  u.description
1216
1096
  ),
1217
1097
  // Render tuple elements
1218
1098
  p.div(
1219
- m.class("bc-json-structure-tuple-elements"),
1099
+ f.class("bc-json-structure-tuple-elements"),
1220
1100
  ...r.map((i, o) => {
1221
1101
  const c = s[i];
1222
1102
  if (!c)
1223
1103
  return console.warn(
1224
1104
  `Tuple element "${i}" at index ${o} not found in properties`
1225
1105
  ), p.div(
1226
- m.class("bc-json-structure-tuple-element"),
1106
+ f.class("bc-json-structure-tuple-element"),
1227
1107
  p.span(`Missing definition for "${i}"`)
1228
1108
  );
1229
1109
  const l = t.item(o), y = c.name || i;
1230
1110
  return p.div(
1231
- m.class("bc-json-structure-tuple-element"),
1111
+ f.class("bc-json-structure-tuple-element"),
1232
1112
  // Element position indicator and label
1233
1113
  p.div(
1234
- m.class("bc-json-structure-tuple-element-header"),
1114
+ f.class("bc-json-structure-tuple-element-header"),
1235
1115
  p.span(
1236
- m.class("bc-json-structure-tuple-position"),
1116
+ f.class("bc-json-structure-tuple-position"),
1237
1117
  `[${o}]`
1238
1118
  ),
1239
1119
  p.span(
1240
- m.class("bc-json-structure-tuple-element-name"),
1120
+ f.class("bc-json-structure-tuple-element-name"),
1241
1121
  y
1242
1122
  )
1243
1123
  ),
1244
1124
  // Element control
1245
1125
  p.div(
1246
- m.class("bc-json-structure-tuple-element-control"),
1247
- j({
1126
+ f.class("bc-json-structure-tuple-element-control"),
1127
+ D({
1248
1128
  ctx: e.with({
1249
1129
  definition: c,
1250
1130
  suppressLabel: !0
@@ -1258,13 +1138,13 @@ function Pe({
1258
1138
  )
1259
1139
  );
1260
1140
  }
1261
- function cn({
1141
+ function Yt({
1262
1142
  options: e,
1263
1143
  selected: t,
1264
1144
  onChange: n,
1265
1145
  disabled: r
1266
1146
  }) {
1267
- return me({
1147
+ return ye({
1268
1148
  options: e.map((s) => ({
1269
1149
  type: "value",
1270
1150
  value: s.value,
@@ -1275,24 +1155,24 @@ function cn({
1275
1155
  disabled: r
1276
1156
  });
1277
1157
  }
1278
- function ln({
1158
+ function Qt({
1279
1159
  ctx: e,
1280
1160
  selector: t,
1281
1161
  inner: n
1282
1162
  }) {
1283
- const r = E(
1284
- m.class("bc-stack--gap-2 bc-stack--align-start"),
1163
+ const r = B(
1164
+ f.class("bc-stack--gap-2 bc-stack--align-start"),
1285
1165
  t,
1286
1166
  n
1287
1167
  );
1288
- return e.isRoot ? r : B({
1168
+ return e.isRoot ? r : _({
1289
1169
  label: e.suppressLabel ? void 0 : e.label,
1290
1170
  description: e.description,
1291
1171
  required: e.isRequired,
1292
1172
  content: r
1293
1173
  });
1294
1174
  }
1295
- function pn(e, t, n) {
1175
+ function en(e, t, n) {
1296
1176
  if (!e || typeof e != "object")
1297
1177
  return null;
1298
1178
  const r = e;
@@ -1309,7 +1189,7 @@ function pn(e, t, n) {
1309
1189
  }
1310
1190
  return null;
1311
1191
  }
1312
- function dn(e, t, n) {
1192
+ function tn(e, t, n) {
1313
1193
  if (!e || typeof e != "object")
1314
1194
  return;
1315
1195
  const r = e;
@@ -1330,89 +1210,64 @@ function oe(e, t, n) {
1330
1210
  [t]: e
1331
1211
  };
1332
1212
  }
1333
- function fn(e) {
1334
- if (e.default !== void 0)
1335
- return e.default;
1336
- if (e.examples && e.examples.length > 0)
1337
- return e.examples[0];
1338
- const t = Array.isArray(e.type) ? e.type[0] : e.type;
1339
- if (!(!t || typeof t == "object"))
1340
- switch (t) {
1341
- case "string":
1342
- return "";
1343
- case "boolean":
1344
- return !1;
1345
- case "null":
1346
- return null;
1347
- case "object":
1348
- return {};
1349
- case "array":
1350
- case "set":
1351
- return [];
1352
- case "map":
1353
- return {};
1354
- default:
1355
- return;
1356
- }
1357
- }
1358
- function Fe({
1213
+ function Le({
1359
1214
  ctx: e,
1360
1215
  controller: t
1361
1216
  }) {
1362
1217
  const n = e.definition;
1363
1218
  if (!n.choices || typeof n.choices != "object")
1364
1219
  return console.warn("StructureChoiceControl requires choices property"), p.div(
1365
- m.class("bc-json-structure-error"),
1220
+ f.class("bc-json-structure-error"),
1366
1221
  "Invalid choice definition: missing choices"
1367
1222
  );
1368
1223
  const r = n.choices, s = n.selector, a = Object.keys(r);
1369
1224
  if (a.length === 0)
1370
1225
  return p.div(
1371
- m.class("bc-json-structure-error"),
1226
+ f.class("bc-json-structure-error"),
1372
1227
  "Choice type has no variants defined"
1373
1228
  );
1374
- const u = a.map((d) => {
1375
- const $ = r[d].name || d;
1376
- return { value: d, label: $ };
1377
- }), i = w(t.signal)((d) => pn(d, r, s)), o = I.get(i) || a[0], c = Je(o);
1229
+ const u = a.map((m) => {
1230
+ const v = r[m].name || m;
1231
+ return { value: m, label: v };
1232
+ }), i = M(t.signal)((m) => en(m, r, s)), o = x.get(i) || a[0], c = Je(o);
1378
1233
  t.onDispose(c.dispose);
1379
1234
  let l = !1;
1380
- const y = i.on((d) => {
1381
- !l && d !== null && c.set(d);
1235
+ const y = i.on((m) => {
1236
+ !l && m !== null && c.set(m);
1382
1237
  });
1383
1238
  t.onDispose(y);
1384
- const f = cn({
1239
+ const d = Yt({
1385
1240
  options: u,
1386
1241
  selected: c,
1387
- onChange: (d) => {
1388
- l = !0, c.set(d);
1389
- const v = r[d];
1390
- if (v) {
1391
- const $ = fn(v), A = oe($, d, s);
1392
- t.change(A);
1242
+ onChange: (m) => {
1243
+ l = !0, c.set(m);
1244
+ const $ = r[m];
1245
+ if ($) {
1246
+ const v = k($), I = oe(v, m, s);
1247
+ t.change(I);
1393
1248
  }
1394
1249
  },
1395
1250
  disabled: e.readOnly || e.isDeprecated
1396
- }), g = U(c, (d) => {
1397
- const v = r[I.get(d)];
1398
- if (!v)
1251
+ }), g = W(c, (m) => {
1252
+ const $ = r[x.get(m)];
1253
+ if (!$)
1399
1254
  return p.div(
1400
- m.class("bc-json-structure-error"),
1401
- `Choice variant not found: ${I.get(d)}`
1255
+ f.class("bc-json-structure-error"),
1256
+ `Choice variant not found: ${x.get(m)}`
1402
1257
  );
1403
- const $ = w(t.signal)(
1404
- (S) => dn(S, I.get(d), s)
1405
- ), A = (S) => {
1406
- const R = oe(
1407
- S,
1408
- I.get(d),
1258
+ const v = M(t.signal)(
1259
+ (j) => tn(j, x.get(m), s)
1260
+ ), I = (j) => {
1261
+ const w = oe(
1262
+ j,
1263
+ x.get(m),
1409
1264
  s
1410
1265
  );
1411
- t.change(R);
1412
- }, q = new Xe(
1413
- [...t.path, I.get(d)],
1414
- A,
1415
- $,
1266
+ t.change(w);
1267
+ }, T = new Xe(
1268
+ [...t.path, x.get(m)],
1269
+ I,
1270
+ v,
1416
1271
  t.status,
1417
1272
  {
1418
1273
  disabled: t.disabled
@@ -1420,34 +1275,34 @@ function Fe({
1420
1275
  void 0
1421
1276
  // Use default equality
1422
1277
  );
1423
- return t.onDispose(() => q.dispose()), j({
1278
+ return t.onDispose(() => T.dispose()), D({
1424
1279
  ctx: e.with({
1425
- definition: v,
1280
+ definition: $,
1426
1281
  suppressLabel: !0
1427
1282
  // Choice selector acts as the label
1428
- }).append(I.get(d)),
1429
- controller: q
1283
+ }).append(x.get(m)),
1284
+ controller: T
1430
1285
  });
1431
1286
  });
1432
- return ln({
1287
+ return Qt({
1433
1288
  ctx: e,
1434
- selector: f,
1289
+ selector: d,
1435
1290
  inner: g
1436
1291
  });
1437
1292
  }
1438
- function mn(e) {
1293
+ function nn(e) {
1439
1294
  return {
1440
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
1295
+ label: e.suppressLabel ? void 0 : S(e.label, e.isDeprecated),
1441
1296
  description: e.description,
1442
1297
  required: e.isRequired,
1443
1298
  disabled: e.readOnly || e.isDeprecated
1444
1299
  };
1445
1300
  }
1446
- function Le({
1301
+ function Ee({
1447
1302
  ctx: e,
1448
1303
  controller: t
1449
1304
  }) {
1450
- const n = mn(e);
1305
+ const n = nn(e);
1451
1306
  return it({
1452
1307
  ...n,
1453
1308
  options: (e.enumValues ?? []).map((r) => ({
@@ -1462,14 +1317,14 @@ function Ve({
1462
1317
  ctx: e,
1463
1318
  controller: t
1464
1319
  }) {
1465
- return Z(
1320
+ return q(
1466
1321
  Ze(() => {
1467
- I.get(t.signal) !== e.constValue && t.change(e.constValue);
1322
+ x.get(t.signal) !== e.constValue && t.change(e.constValue);
1468
1323
  }),
1469
- st($t(e.label, ": "), ye(String(e.constValue)))
1324
+ st($t(e.label, ": "), ge(String(e.constValue)))
1470
1325
  );
1471
1326
  }
1472
- function yn(e) {
1327
+ function rn(e) {
1473
1328
  return {
1474
1329
  label: e.suppressLabel ? void 0 : e.label,
1475
1330
  description: e.description,
@@ -1477,7 +1332,7 @@ function yn(e) {
1477
1332
  disabled: e.readOnly || e.isDeprecated
1478
1333
  };
1479
1334
  }
1480
- function gn(e, t) {
1335
+ function sn(e, t) {
1481
1336
  if (e === null) return t.includes("null") ? "null" : null;
1482
1337
  if (e === void 0)
1483
1338
  return t.includes("string") ? "string" : t[0] ?? null;
@@ -1507,7 +1362,7 @@ function gn(e, t) {
1507
1362
  return null;
1508
1363
  }
1509
1364
  }
1510
- function hn(e, t) {
1365
+ function an(e, t) {
1511
1366
  try {
1512
1367
  switch (t) {
1513
1368
  case "string":
@@ -1579,7 +1434,7 @@ function hn(e, t) {
1579
1434
  return { ok: !1 };
1580
1435
  }
1581
1436
  }
1582
- function bn(e) {
1437
+ function un(e) {
1583
1438
  switch (e) {
1584
1439
  case "null":
1585
1440
  return null;
@@ -1596,16 +1451,16 @@ function bn(e) {
1596
1451
  return;
1597
1452
  }
1598
1453
  }
1599
- function vn(e) {
1454
+ function on(e) {
1600
1455
  return e.map((t) => ({
1601
1456
  key: t,
1602
- label: J(t),
1603
- detect: (n) => gn(n, [t]) === t,
1604
- convert: (n) => hn(n, t),
1605
- defaultValue: () => bn(t)
1457
+ label: Z(t),
1458
+ detect: (n) => sn(n, [t]) === t,
1459
+ convert: (n) => an(n, t),
1460
+ defaultValue: () => un(t)
1606
1461
  }));
1607
1462
  }
1608
- function xn({
1463
+ function cn({
1609
1464
  options: e,
1610
1465
  selected: t,
1611
1466
  onChange: n
@@ -1621,7 +1476,7 @@ function xn({
1621
1476
  size: "sm"
1622
1477
  });
1623
1478
  }
1624
- return me({
1479
+ return ye({
1625
1480
  options: e.map((a) => ({
1626
1481
  type: "value",
1627
1482
  value: a.value,
@@ -1631,22 +1486,22 @@ function xn({
1631
1486
  onChange: n
1632
1487
  });
1633
1488
  }
1634
- function $n({
1489
+ function ln({
1635
1490
  ctx: e,
1636
1491
  showSelector: t,
1637
1492
  selector: n,
1638
1493
  inner: r
1639
1494
  }) {
1640
- return e.isRoot ? t ? E(m.class("bc-stack--gap-2"), n, r) : r : B({
1641
- ...yn(e),
1642
- content: t ? E(
1643
- m.class("bc-stack--gap-2 bc-stack--align-start"),
1495
+ return e.isRoot ? t ? B(f.class("bc-stack--gap-2"), n, r) : r : _({
1496
+ ...rn(e),
1497
+ content: t ? B(
1498
+ f.class("bc-stack--gap-2 bc-stack--align-start"),
1644
1499
  n,
1645
1500
  r
1646
1501
  ) : r
1647
1502
  });
1648
1503
  }
1649
- function In({
1504
+ function pn({
1650
1505
  ctx: e,
1651
1506
  controller: t
1652
1507
  }) {
@@ -1655,8 +1510,8 @@ function In({
1655
1510
  if (Array.isArray(r))
1656
1511
  s = r;
1657
1512
  else
1658
- return console.warn("StructureUnionControl called with non-array type"), j({ ctx: e, controller: t });
1659
- const a = s.includes("null"), u = Q(r), i = a && u.length > 0 ? u : s, o = vn(i), c = new at(
1513
+ return console.warn("StructureUnionControl called with non-array type"), D({ ctx: e, controller: t });
1514
+ const a = s.includes("null"), u = Q(r), i = a && u.length > 0 ? u : s, o = on(i), c = new at(
1660
1515
  t.path,
1661
1516
  t.change,
1662
1517
  t.signal,
@@ -1665,37 +1520,37 @@ function In({
1665
1520
  o
1666
1521
  );
1667
1522
  t.onDispose(() => c.dispose());
1668
- const l = (f) => xn({
1669
- options: i.map((g) => ({ value: g, label: J(g) })),
1523
+ const l = (d) => cn({
1524
+ options: i.map((g) => ({ value: g, label: Z(g) })),
1670
1525
  selected: c.activeBranch,
1671
- onChange: f
1672
- }), y = (f) => {
1673
- c.switchToBranch(f, !1);
1674
- }, h = U(c.activeBranch, (f) => {
1675
- const g = I.get(f), d = c.getBranchController(g), v = e.with({
1526
+ onChange: d
1527
+ }), y = (d) => {
1528
+ c.switchToBranch(d, !1);
1529
+ }, h = W(c.activeBranch, (d) => {
1530
+ const g = x.get(d), m = c.getBranchController(g), $ = e.with({
1676
1531
  definition: { ...n, type: g },
1677
1532
  // Suppress inner labels only when union is nested (non-root)
1678
1533
  suppressLabel: !e.isRoot
1679
1534
  });
1680
- return j({
1681
- ctx: v,
1682
- controller: d
1535
+ return D({
1536
+ ctx: $,
1537
+ controller: m
1683
1538
  });
1684
1539
  });
1685
- return $n({
1540
+ return ln({
1686
1541
  ctx: e,
1687
1542
  showSelector: i.length > 1,
1688
1543
  selector: l(y),
1689
1544
  inner: h
1690
1545
  });
1691
1546
  }
1692
- function j({
1547
+ function D({
1693
1548
  ctx: e,
1694
1549
  controller: t
1695
1550
  }) {
1696
1551
  let n = e;
1697
1552
  const r = e.definition;
1698
- if (r.type && C(r.type)) {
1553
+ if (r.type && O(r.type)) {
1699
1554
  const i = e.resolveRef(r.type.$ref);
1700
1555
  if (i) {
1701
1556
  const { type: o, ...c } = r, l = { ...i, ...c };
@@ -1703,7 +1558,7 @@ function j({
1703
1558
  }
1704
1559
  }
1705
1560
  if (n.definition.$extends) {
1706
- const { merged: i } = $e(n.definition, e.schema);
1561
+ const { merged: i } = Ie(n.definition, e.schema);
1707
1562
  n = n.with({ definition: i });
1708
1563
  }
1709
1564
  const s = n.widgetRegistry;
@@ -1715,8 +1570,8 @@ function j({
1715
1570
  ctx: n
1716
1571
  });
1717
1572
  }
1718
- if (Mt(n.definition))
1719
- return Le({
1573
+ if (St(n.definition))
1574
+ return Ee({
1720
1575
  ctx: n,
1721
1576
  controller: t
1722
1577
  });
@@ -1727,59 +1582,59 @@ function j({
1727
1582
  });
1728
1583
  const a = n.resolvedType;
1729
1584
  if (Array.isArray(a) && Q(a).length > 1)
1730
- return In({
1585
+ return pn({
1731
1586
  ctx: n,
1732
1587
  controller: t
1733
1588
  });
1734
1589
  const u = n.primaryType;
1735
1590
  if (!u)
1736
- return K({
1591
+ return J({
1737
1592
  ctx: n,
1738
1593
  controller: t
1739
1594
  });
1740
- if (k(n.definition)) {
1595
+ if (C(n.definition)) {
1741
1596
  const i = t instanceof re ? t : t.object();
1742
- return Re({
1597
+ return ke({
1743
1598
  ctx: n,
1744
1599
  controller: i
1745
1600
  });
1746
1601
  }
1747
- if (ge(n.definition)) {
1748
- const i = t instanceof G ? t : t.array();
1749
- return ke({
1602
+ if (he(n.definition)) {
1603
+ const i = t instanceof K ? t : t.array();
1604
+ return Re({
1750
1605
  ctx: n,
1751
1606
  controller: i
1752
1607
  });
1753
1608
  }
1754
- if (he(n.definition)) {
1755
- const i = t instanceof G ? t : t.array();
1756
- return Ne({
1609
+ if (be(n.definition)) {
1610
+ const i = t instanceof K ? t : t.array();
1611
+ return Pe({
1757
1612
  ctx: n,
1758
1613
  controller: i
1759
1614
  });
1760
1615
  }
1761
- if (be(n.definition)) {
1616
+ if (ve(n.definition)) {
1762
1617
  const i = t instanceof re ? t : t.object();
1763
1618
  return qe({
1764
1619
  ctx: n,
1765
1620
  controller: i
1766
1621
  });
1767
1622
  }
1768
- if (ve(n.definition)) {
1769
- const i = t instanceof G ? t : t.array();
1770
- return Pe({
1623
+ if (xe(n.definition)) {
1624
+ const i = t instanceof K ? t : t.array();
1625
+ return Fe({
1771
1626
  ctx: n,
1772
1627
  controller: i
1773
1628
  });
1774
1629
  }
1775
- if (xe(n.definition))
1776
- return Fe({
1630
+ if ($e(n.definition))
1631
+ return Le({
1777
1632
  ctx: n,
1778
1633
  controller: t
1779
1634
  });
1780
1635
  switch (u) {
1781
1636
  case "string":
1782
- return Ie({
1637
+ return Te({
1783
1638
  ctx: n,
1784
1639
  controller: t
1785
1640
  });
@@ -1789,44 +1644,44 @@ function j({
1789
1644
  controller: t
1790
1645
  });
1791
1646
  case "uuid":
1792
- return De({
1647
+ return Ae({
1793
1648
  ctx: n,
1794
1649
  controller: t
1795
1650
  });
1796
1651
  case "uri":
1797
- return Oe({
1652
+ return Ce({
1798
1653
  ctx: n,
1799
1654
  controller: t
1800
1655
  });
1801
1656
  case "binary":
1802
- return Ce({
1657
+ return Ne({
1803
1658
  ctx: n,
1804
1659
  controller: t
1805
1660
  });
1806
1661
  case "null":
1807
- return Tn(n);
1662
+ return fn(n);
1808
1663
  case "any":
1809
- return K({
1664
+ return J({
1810
1665
  ctx: n,
1811
1666
  controller: t
1812
1667
  });
1813
1668
  default:
1814
- return P(u) ? Ae({
1669
+ return P(u) ? Se({
1815
1670
  ctx: n,
1816
1671
  controller: t,
1817
1672
  intType: u
1818
- }) : X(u) ? Me({
1673
+ }) : X(u) ? De({
1819
1674
  ctx: n,
1820
1675
  controller: t,
1821
1676
  floatType: u
1822
- }) : Y(u) ? Se({
1677
+ }) : Y(u) ? Oe({
1823
1678
  ctx: n,
1824
1679
  controller: t,
1825
1680
  temporalType: u
1826
- }) : (console.warn(`Unknown type: ${u}`), jn(n, u));
1681
+ }) : (console.warn(`Unknown type: ${u}`), mn(n, u));
1827
1682
  }
1828
1683
  }
1829
- function wn({
1684
+ function dn({
1830
1685
  schema: e,
1831
1686
  controller: t,
1832
1687
  widgetRegistry: n,
@@ -1838,26 +1693,26 @@ function wn({
1838
1693
  readOnly: r,
1839
1694
  locale: s
1840
1695
  });
1841
- return j({ ctx: a, controller: t });
1696
+ return D({ ctx: a, controller: t });
1842
1697
  }
1843
- function Tn(e) {
1698
+ function fn(e) {
1844
1699
  return p.div(
1845
- m.class("bc-json-structure-placeholder"),
1700
+ f.class("bc-json-structure-placeholder"),
1846
1701
  p.span(`[Null: ${e.label}]`),
1847
1702
  p.em("null")
1848
1703
  );
1849
1704
  }
1850
- function jn(e, t) {
1705
+ function mn(e, t) {
1851
1706
  return p.div(
1852
- m.class("bc-json-structure-unknown"),
1707
+ f.class("bc-json-structure-unknown"),
1853
1708
  p.span(`Unknown type: ${t}`),
1854
1709
  p.em(`at path: ${e.jsonPath}`)
1855
1710
  );
1856
1711
  }
1857
- function Ee(e, t) {
1858
- return new An(e, t);
1712
+ function Ue(e, t) {
1713
+ return new yn(e, t);
1859
1714
  }
1860
- class An {
1715
+ class yn {
1861
1716
  schema;
1862
1717
  options;
1863
1718
  constructor(t, n) {
@@ -1980,7 +1835,7 @@ class An {
1980
1835
  if (typeof t == "number" && !Number.isInteger(t))
1981
1836
  return a.push({ path: s, type: "type", expected: n, actual: "float" }), !1;
1982
1837
  if (P(n)) {
1983
- const u = W[n], i = typeof t == "bigint" ? t : BigInt(Math.round(t));
1838
+ const u = z[n], i = typeof t == "bigint" ? t : BigInt(Math.round(t));
1984
1839
  (i < u.min || i > u.max) && a.push({
1985
1840
  path: s,
1986
1841
  type: "integer_bounds",
@@ -2056,7 +1911,7 @@ class An {
2056
1911
  validateObject(t, n, r, s) {
2057
1912
  if (typeof t != "object" || t === null || Array.isArray(t))
2058
1913
  return !1;
2059
- if (!k(n)) return !0;
1914
+ if (!C(n)) return !0;
2060
1915
  const a = t, u = n.required;
2061
1916
  if (u) {
2062
1917
  const i = Array.isArray(u[0]) ? u.flat() : u;
@@ -2092,7 +1947,7 @@ class An {
2092
1947
  }
2093
1948
  validateArray(t, n, r, s) {
2094
1949
  if (!Array.isArray(t)) return !1;
2095
- if (!ge(n)) return !0;
1950
+ if (!he(n)) return !0;
2096
1951
  const a = n;
2097
1952
  a.minItems !== void 0 && t.length < a.minItems && s.push({
2098
1953
  path: r,
@@ -2113,7 +1968,7 @@ class An {
2113
1968
  }
2114
1969
  validateSet(t, n, r, s) {
2115
1970
  if (!Array.isArray(t)) return !1;
2116
- if (!he(n)) return !0;
1971
+ if (!be(n)) return !0;
2117
1972
  const a = /* @__PURE__ */ new Set();
2118
1973
  for (let u = 0; u < t.length; u++) {
2119
1974
  const i = JSON.stringify(t[u]);
@@ -2128,7 +1983,7 @@ class An {
2128
1983
  validateMap(t, n, r, s) {
2129
1984
  if (typeof t != "object" || t === null || Array.isArray(t))
2130
1985
  return !1;
2131
- if (!be(n)) return !0;
1986
+ if (!ve(n)) return !0;
2132
1987
  const a = t;
2133
1988
  for (const [u, i] of Object.entries(a)) {
2134
1989
  const o = `${r}/${u}`;
@@ -2138,7 +1993,7 @@ class An {
2138
1993
  }
2139
1994
  validateTuple(t, n, r, s) {
2140
1995
  if (!Array.isArray(t)) return !1;
2141
- if (!ve(n)) return !0;
1996
+ if (!xe(n)) return !0;
2142
1997
  const a = n.tuple.length;
2143
1998
  t.length !== a && s.push({
2144
1999
  path: r,
@@ -2155,7 +2010,7 @@ class An {
2155
2010
  validateChoice(t, n, r, s) {
2156
2011
  if (typeof t != "object" || t === null || Array.isArray(t))
2157
2012
  return !1;
2158
- if (!xe(n)) return !0;
2013
+ if (!$e(n)) return !0;
2159
2014
  const a = t, u = Object.keys(n.choices), i = Object.keys(a).find((c) => u.includes(c));
2160
2015
  if (!i)
2161
2016
  return s.push({
@@ -2173,28 +2028,28 @@ class An {
2173
2028
  ), !0;
2174
2029
  }
2175
2030
  }
2176
- function dr(e, t, n) {
2177
- return Ee(e, n).validate(t);
2031
+ function nr(e, t, n) {
2032
+ return Ue(e, n).validate(t);
2178
2033
  }
2179
- function Mn(e, t) {
2180
- const n = Dn(e, t);
2034
+ function gn(e, t) {
2035
+ const n = hn(e, t);
2181
2036
  return {
2182
2037
  path: e.path,
2183
2038
  message: n,
2184
2039
  code: e.type
2185
2040
  };
2186
2041
  }
2187
- function Ue(e, t) {
2042
+ function Be(e, t) {
2188
2043
  return e.map((n) => {
2189
2044
  const r = t?.get(n.path);
2190
- return Mn(n, r);
2045
+ return gn(n, r);
2191
2046
  });
2192
2047
  }
2193
- function Dn(e, t) {
2048
+ function hn(e, t) {
2194
2049
  switch (e.type) {
2195
2050
  // Type errors
2196
2051
  case "type":
2197
- return `Expected ${ce(e.expected)}, got ${Sn(e.actual)}`;
2052
+ return `Expected ${ce(e.expected)}, got ${bn(e.actual)}`;
2198
2053
  case "type_mismatch":
2199
2054
  return `Value must be of type ${ce(e.expected)}`;
2200
2055
  // String validation
@@ -2203,9 +2058,9 @@ function Dn(e, t) {
2203
2058
  case "maxLength":
2204
2059
  return `Must be no more than ${e.expected} characters`;
2205
2060
  case "pattern":
2206
- return On(e, t);
2061
+ return vn(e, t);
2207
2062
  case "format":
2208
- return Cn(e);
2063
+ return xn(e);
2209
2064
  // Numeric validation
2210
2065
  case "minimum":
2211
2066
  return `Must be at least ${e.expected}`;
@@ -2218,7 +2073,7 @@ function Dn(e, t) {
2218
2073
  case "multipleOf":
2219
2074
  return `Must be a multiple of ${e.expected}`;
2220
2075
  case "integer_bounds":
2221
- return Rn(e);
2076
+ return $n(e);
2222
2077
  // Array/Set validation
2223
2078
  case "minItems":
2224
2079
  return `Must have at least ${e.expected} items`;
@@ -2242,10 +2097,10 @@ function Dn(e, t) {
2242
2097
  case "additionalProperties":
2243
2098
  return `Unknown property: ${e.actual}`;
2244
2099
  case "dependentRequired":
2245
- return kn(e);
2100
+ return In(e);
2246
2101
  // Enum/Const validation
2247
2102
  case "enum":
2248
- return Nn(e);
2103
+ return Tn(e);
2249
2104
  case "const":
2250
2105
  return `Must be exactly ${JSON.stringify(e.expected)}`;
2251
2106
  // Reference errors
@@ -2263,7 +2118,7 @@ function Dn(e, t) {
2263
2118
  function ce(e) {
2264
2119
  return typeof e == "string" ? le(e) : Array.isArray(e) ? e.map(le).join(" or ") : String(e);
2265
2120
  }
2266
- function Sn(e) {
2121
+ function bn(e) {
2267
2122
  return e === null ? "null" : e === void 0 ? "undefined" : typeof e;
2268
2123
  }
2269
2124
  function le(e) {
@@ -2300,7 +2155,7 @@ function le(e) {
2300
2155
  null: "empty"
2301
2156
  }[e] ?? e;
2302
2157
  }
2303
- function On(e, t) {
2158
+ function vn(e, t) {
2304
2159
  const n = t?.description;
2305
2160
  if (n && e.type === "pattern")
2306
2161
  return `Does not match required format: ${n}`;
@@ -2319,7 +2174,7 @@ function On(e, t) {
2319
2174
  }
2320
2175
  return "Does not match required format";
2321
2176
  }
2322
- function Cn(e) {
2177
+ function xn(e) {
2323
2178
  const t = e.expected;
2324
2179
  return {
2325
2180
  email: "Must be a valid email address",
@@ -2336,23 +2191,23 @@ function Cn(e) {
2336
2191
  "json-pointer": "Must be a valid JSON pointer"
2337
2192
  }[t] ?? `Must be a valid ${t}`;
2338
2193
  }
2339
- function Rn(e) {
2194
+ function $n(e) {
2340
2195
  const t = e.context?.type;
2341
2196
  if (t && P(t)) {
2342
- const n = W[t];
2197
+ const n = z[t];
2343
2198
  return `Must be between ${n.min} and ${n.max}`;
2344
2199
  }
2345
2200
  return "Value is out of range for this integer type";
2346
2201
  }
2347
- function kn(e) {
2202
+ function In(e) {
2348
2203
  const t = e.context?.dependent, n = e.context?.required;
2349
2204
  return t && n?.length ? `When "${t}" is present, "${n.join('", "')}" must also be provided` : "Missing required dependent fields";
2350
2205
  }
2351
- function Nn(e) {
2206
+ function Tn(e) {
2352
2207
  const t = e.expected;
2353
2208
  return t && t.length <= 5 ? `Must be one of: ${t.map((r) => JSON.stringify(r)).join(", ")}` : "Invalid value";
2354
2209
  }
2355
- function fr(e) {
2210
+ function rr(e) {
2356
2211
  const t = /* @__PURE__ */ new Map();
2357
2212
  for (const n of e) {
2358
2213
  const r = t.get(n.path) ?? [];
@@ -2360,17 +2215,17 @@ function fr(e) {
2360
2215
  }
2361
2216
  return t;
2362
2217
  }
2363
- function mr(e, t) {
2218
+ function ir(e, t) {
2364
2219
  return e.filter((n) => n.path === t);
2365
2220
  }
2366
- function yr(e, t) {
2221
+ function sr(e, t) {
2367
2222
  return e.some((n) => n.path === t);
2368
2223
  }
2369
- function gr(e, t) {
2224
+ function ar(e, t) {
2370
2225
  const n = t === "" ? "/" : `${t}/`;
2371
2226
  return e.filter((r) => r.path.startsWith(n));
2372
2227
  }
2373
- class _ {
2228
+ class G {
2374
2229
  registrations = /* @__PURE__ */ new Map();
2375
2230
  parent;
2376
2231
  constructor(t) {
@@ -2436,20 +2291,20 @@ class _ {
2436
2291
  return a && t.supportedFormats?.includes(a) && (r += 30), r += t.priority ?? 0, r;
2437
2292
  }
2438
2293
  createChild() {
2439
- return new _(this);
2294
+ return new G(this);
2440
2295
  }
2441
2296
  }
2442
- let L = null;
2443
- function F() {
2444
- return L || (L = new _()), L;
2297
+ let V = null;
2298
+ function L() {
2299
+ return V || (V = new G()), V;
2445
2300
  }
2446
- function hr(e) {
2447
- L = e;
2301
+ function ur(e) {
2302
+ V = e;
2448
2303
  }
2449
- function br(e) {
2450
- return new _(e);
2304
+ function or(e) {
2305
+ return new G(e);
2451
2306
  }
2452
- function vr(e, t, n) {
2307
+ function cr(e, t, n) {
2453
2308
  return {
2454
2309
  name: `type:${e}`,
2455
2310
  registration: {
@@ -2462,7 +2317,7 @@ function vr(e, t, n) {
2462
2317
  }
2463
2318
  };
2464
2319
  }
2465
- function xr(e, t, n) {
2320
+ function lr(e, t, n) {
2466
2321
  return {
2467
2322
  name: `format:${e}`,
2468
2323
  registration: {
@@ -2476,7 +2331,7 @@ function xr(e, t, n) {
2476
2331
  }
2477
2332
  };
2478
2333
  }
2479
- function $r(e, t, n, r) {
2334
+ function pr(e, t, n, r) {
2480
2335
  return {
2481
2336
  name: `type:${e}:format:${t}`,
2482
2337
  registration: {
@@ -2491,7 +2346,7 @@ function $r(e, t, n, r) {
2491
2346
  }
2492
2347
  };
2493
2348
  }
2494
- function Ir(e, t, n, r) {
2349
+ function dr(e, t, n, r) {
2495
2350
  return {
2496
2351
  name: e,
2497
2352
  registration: {
@@ -2505,15 +2360,15 @@ function Ir(e, t, n, r) {
2505
2360
  }
2506
2361
  };
2507
2362
  }
2508
- function qn(e, t) {
2363
+ function wn(e, t) {
2509
2364
  if (t) {
2510
2365
  const r = t.findBestWidget(e);
2511
2366
  if (r)
2512
2367
  return r;
2513
2368
  }
2514
- return F().findBestWidget(e);
2369
+ return L().findBestWidget(e);
2515
2370
  }
2516
- function wr(e) {
2371
+ function fr(e) {
2517
2372
  const t = e.definition, n = {};
2518
2373
  if (typeof t == "object" && "x:ui" in t) {
2519
2374
  const r = t["x:ui"];
@@ -2528,7 +2383,7 @@ function wr(e) {
2528
2383
  }
2529
2384
  return Object.keys(n).length > 0 ? n : void 0;
2530
2385
  }
2531
- function Be(e) {
2386
+ function We(e) {
2532
2387
  const t = e.definition;
2533
2388
  if (typeof t == "object" && "x:ui" in t) {
2534
2389
  const n = t["x:ui"];
@@ -2541,18 +2396,18 @@ function Be(e) {
2541
2396
  return n.type;
2542
2397
  }
2543
2398
  }
2544
- function Tr(e) {
2545
- return Be(e) !== void 0;
2399
+ function mr(e) {
2400
+ return We(e) !== void 0;
2546
2401
  }
2547
- function jr(e, t) {
2548
- const n = Be(e);
2402
+ function yr(e, t) {
2403
+ const n = We(e);
2549
2404
  if (n) {
2550
2405
  if (t) {
2551
2406
  const a = t.get(n);
2552
2407
  if (a)
2553
2408
  return { name: n, registration: a };
2554
2409
  }
2555
- const s = F().get(n);
2410
+ const s = L().get(n);
2556
2411
  if (s)
2557
2412
  return { name: n, registration: s };
2558
2413
  console.warn(
@@ -2560,18 +2415,18 @@ function jr(e, t) {
2560
2415
  { path: e.jsonPath }
2561
2416
  );
2562
2417
  }
2563
- return qn(e, t);
2418
+ return wn(e, t);
2564
2419
  }
2565
- function Ar(e, t, n) {
2420
+ function gr(e, t, n) {
2566
2421
  return {
2567
2422
  ...e,
2568
2423
  ...t,
2569
2424
  ...n
2570
2425
  };
2571
2426
  }
2572
- function Pn(e = F()) {
2427
+ function jn(e = L()) {
2573
2428
  e.register("string", {
2574
- factory: ({ controller: i, ctx: o }) => Ie({
2429
+ factory: ({ controller: i, ctx: o }) => Te({
2575
2430
  ctx: o,
2576
2431
  controller: i
2577
2432
  }),
@@ -2591,7 +2446,7 @@ function Pn(e = F()) {
2591
2446
  priority: 0,
2592
2447
  canFallback: !0
2593
2448
  }), e.register("uuid", {
2594
- factory: ({ controller: i, ctx: o }) => De({
2449
+ factory: ({ controller: i, ctx: o }) => Ae({
2595
2450
  ctx: o,
2596
2451
  controller: i
2597
2452
  }),
@@ -2601,7 +2456,7 @@ function Pn(e = F()) {
2601
2456
  priority: 0,
2602
2457
  canFallback: !0
2603
2458
  }), e.register("uri", {
2604
- factory: ({ controller: i, ctx: o }) => Oe({
2459
+ factory: ({ controller: i, ctx: o }) => Ce({
2605
2460
  ctx: o,
2606
2461
  controller: i
2607
2462
  }),
@@ -2611,7 +2466,7 @@ function Pn(e = F()) {
2611
2466
  priority: 0,
2612
2467
  canFallback: !0
2613
2468
  }), e.register("binary", {
2614
- factory: ({ controller: i, ctx: o }) => Ce({
2469
+ factory: ({ controller: i, ctx: o }) => Ne({
2615
2470
  ctx: o,
2616
2471
  controller: i
2617
2472
  }),
@@ -2621,7 +2476,7 @@ function Pn(e = F()) {
2621
2476
  priority: 0,
2622
2477
  canFallback: !0
2623
2478
  }), e.register("any", {
2624
- factory: ({ controller: i, ctx: o }) => K({
2479
+ factory: ({ controller: i, ctx: o }) => J({
2625
2480
  ctx: o,
2626
2481
  controller: i
2627
2482
  }),
@@ -2642,7 +2497,7 @@ function Pn(e = F()) {
2642
2497
  "uint32",
2643
2498
  "uint64",
2644
2499
  "uint128"
2645
- ], n = ({ controller: i, ctx: o }) => Ae({
2500
+ ], n = ({ controller: i, ctx: o }) => Se({
2646
2501
  ctx: o,
2647
2502
  controller: i,
2648
2503
  intType: o.primaryType
@@ -2656,7 +2511,7 @@ function Pn(e = F()) {
2656
2511
  priority: 0,
2657
2512
  canFallback: !0
2658
2513
  });
2659
- const r = ["float", "double", "decimal"], s = ({ controller: i, ctx: o }) => Me({
2514
+ const r = ["float", "double", "decimal"], s = ({ controller: i, ctx: o }) => De({
2660
2515
  ctx: o,
2661
2516
  controller: i,
2662
2517
  floatType: o.primaryType
@@ -2670,7 +2525,7 @@ function Pn(e = F()) {
2670
2525
  priority: 0,
2671
2526
  canFallback: !0
2672
2527
  });
2673
- const a = ["date", "datetime", "time", "duration"], u = ({ controller: i, ctx: o }) => Se({
2528
+ const a = ["date", "datetime", "time", "duration"], u = ({ controller: i, ctx: o }) => Oe({
2674
2529
  ctx: o,
2675
2530
  controller: i,
2676
2531
  temporalType: o.primaryType
@@ -2685,7 +2540,7 @@ function Pn(e = F()) {
2685
2540
  canFallback: !0
2686
2541
  });
2687
2542
  e.register("object", {
2688
- factory: ({ controller: i, ctx: o }) => Re({
2543
+ factory: ({ controller: i, ctx: o }) => ke({
2689
2544
  ctx: o,
2690
2545
  controller: i
2691
2546
  }),
@@ -2695,7 +2550,7 @@ function Pn(e = F()) {
2695
2550
  priority: 0,
2696
2551
  canFallback: !0
2697
2552
  }), e.register("array", {
2698
- factory: ({ controller: i, ctx: o }) => ke({
2553
+ factory: ({ controller: i, ctx: o }) => Re({
2699
2554
  ctx: o,
2700
2555
  controller: i
2701
2556
  }),
@@ -2705,7 +2560,7 @@ function Pn(e = F()) {
2705
2560
  priority: 0,
2706
2561
  canFallback: !0
2707
2562
  }), e.register("set", {
2708
- factory: ({ controller: i, ctx: o }) => Ne({
2563
+ factory: ({ controller: i, ctx: o }) => Pe({
2709
2564
  ctx: o,
2710
2565
  controller: i
2711
2566
  }),
@@ -2725,7 +2580,7 @@ function Pn(e = F()) {
2725
2580
  priority: 0,
2726
2581
  canFallback: !0
2727
2582
  }), e.register("tuple", {
2728
- factory: ({ controller: i, ctx: o }) => Pe({
2583
+ factory: ({ controller: i, ctx: o }) => Fe({
2729
2584
  ctx: o,
2730
2585
  controller: i
2731
2586
  }),
@@ -2735,7 +2590,7 @@ function Pn(e = F()) {
2735
2590
  priority: 0,
2736
2591
  canFallback: !0
2737
2592
  }), e.register("choice", {
2738
- factory: ({ controller: i, ctx: o }) => Fe({
2593
+ factory: ({ controller: i, ctx: o }) => Le({
2739
2594
  ctx: o,
2740
2595
  controller: i
2741
2596
  }),
@@ -2745,7 +2600,7 @@ function Pn(e = F()) {
2745
2600
  priority: 0,
2746
2601
  canFallback: !0
2747
2602
  }), e.register("enum", {
2748
- factory: ({ controller: i, ctx: o }) => Le({
2603
+ factory: ({ controller: i, ctx: o }) => Ee({
2749
2604
  ctx: o,
2750
2605
  controller: i
2751
2606
  }),
@@ -2768,71 +2623,74 @@ function Pn(e = F()) {
2768
2623
  matcher: (i) => i.hasConst
2769
2624
  });
2770
2625
  }
2771
- function Fn(e = F()) {
2626
+ function Mn(e = L()) {
2772
2627
  return e.has("string") && e.has("object") && e.has("array");
2773
2628
  }
2774
- function Mr(e = F()) {
2775
- Fn(e) || Pn(e);
2629
+ function hr(e = L()) {
2630
+ Mn(e) || jn(e);
2776
2631
  }
2777
- function Ln(e) {
2632
+ function Sn(e) {
2778
2633
  let t = e;
2779
2634
  if (e.$root) {
2780
2635
  const n = N(e.$root, e);
2781
2636
  n && (t = n);
2782
2637
  }
2783
- return M(t, e, /* @__PURE__ */ new Set());
2638
+ return A(t, e, /* @__PURE__ */ new Set());
2784
2639
  }
2785
- function M(e, t, n) {
2786
- if (e.type && C(e.type)) {
2640
+ function A(e, t, n) {
2641
+ if (e.type && O(e.type)) {
2787
2642
  const r = e.type.$ref;
2788
2643
  if (n.has(r))
2789
2644
  return;
2790
2645
  n.add(r);
2791
- const s = N(r, t);
2792
- if (s) {
2793
- const a = {
2794
- ...s,
2795
- ...e,
2796
- type: s.type
2797
- // Use resolved type, not the ref
2798
- }, u = M(a, t, n);
2799
- return n.delete(r), u;
2646
+ try {
2647
+ const s = N(r, t);
2648
+ if (s) {
2649
+ const a = {
2650
+ ...s,
2651
+ ...e,
2652
+ type: s.type
2653
+ // Use resolved type, not the ref
2654
+ };
2655
+ return A(a, t, n);
2656
+ }
2657
+ return;
2658
+ } finally {
2659
+ n.delete(r);
2800
2660
  }
2801
- n.delete(r);
2802
- return;
2803
2661
  }
2804
- return e.default !== void 0 ? e.default : Array.isArray(e.examples) && e.examples.length > 0 ? e.examples[0] : "const" in e && e.const !== void 0 ? e.const : "enum" in e && Array.isArray(e.enum) && e.enum.length > 0 ? e.enum[0] : Hn(e) ? null : Vn(e, t, n);
2662
+ return e.default !== void 0 ? e.default : Array.isArray(e.examples) && e.examples.length > 0 ? e.examples[0] : "const" in e && e.const !== void 0 ? e.const : "enum" in e && Array.isArray(e.enum) && e.enum.length > 0 ? e.enum[0] : En(e) ? null : Dn(e, t, n);
2805
2663
  }
2806
- function Vn(e, t, n) {
2807
- const r = We(e);
2808
- if (k(e))
2809
- return Un(e, t, n);
2664
+ function Dn(e, t, n) {
2665
+ const r = _e(e);
2666
+ if (C(e))
2667
+ return On(e, t, n);
2810
2668
  if (r === "choice" && "choices" in e)
2811
- return Bn(e, t, n);
2669
+ return Cn(e, t, n);
2812
2670
  if (r === "tuple" && "tuple" in e && "properties" in e)
2813
- return Wn(e, t, n);
2671
+ return Nn(e, t, n);
2814
2672
  if (r === "array")
2815
- return _n(e, t, n);
2673
+ return kn(e, t, n);
2816
2674
  if (r === "set")
2817
- return zn(e, t, n);
2675
+ return Rn(e, t, n);
2818
2676
  if (r === "map")
2819
2677
  return {};
2820
2678
  if (r === "string")
2821
- return Gn(e);
2822
- if (Xn(r))
2823
- return Kn(e);
2824
- if (Yn(r))
2825
- return Jn(e);
2679
+ return Pn(e);
2680
+ if (Vn(r))
2681
+ return qn(e);
2682
+ if (Un(r))
2683
+ return Fn(e);
2826
2684
  if (r === "boolean")
2827
2685
  return !1;
2828
2686
  if (r === "null")
2829
2687
  return null;
2830
- if (Qn(r))
2831
- return Zn(r);
2688
+ if (Bn(r))
2689
+ return Ln(r);
2832
2690
  if (r === "uuid" || r === "uri" || r === "uri-reference" || r === "binary" || r === "bytes")
2833
2691
  return "";
2834
2692
  }
2835
- function En(e) {
2693
+ function An(e) {
2836
2694
  if (!e || e.length === 0)
2837
2695
  return /* @__PURE__ */ new Set();
2838
2696
  if (Array.isArray(e[0])) {
@@ -2841,34 +2699,37 @@ function En(e) {
2841
2699
  }
2842
2700
  return new Set(e);
2843
2701
  }
2844
- function Un(e, t, n) {
2845
- if (!k(e))
2702
+ function On(e, t, n) {
2703
+ if (!C(e))
2846
2704
  return {};
2847
- const r = En(e.required), s = {};
2705
+ const r = An(e.required), s = {};
2848
2706
  for (const [a, u] of Object.entries(e.properties))
2849
2707
  if (r.has(a))
2850
- if (u.type && C(u.type)) {
2708
+ if (u.type && O(u.type)) {
2851
2709
  const i = u.type.$ref;
2852
2710
  if (n.has(i))
2853
2711
  continue;
2854
2712
  n.add(i);
2855
- const o = N(i, t);
2856
- if (o) {
2857
- const c = {
2858
- ...o,
2859
- ...u,
2860
- type: o.type
2861
- }, l = M(c, t, n);
2862
- l !== void 0 && (s[a] = l);
2713
+ try {
2714
+ const o = N(i, t);
2715
+ if (o) {
2716
+ const c = {
2717
+ ...o,
2718
+ ...u,
2719
+ type: o.type
2720
+ }, l = A(c, t, n);
2721
+ l !== void 0 && (s[a] = l);
2722
+ }
2723
+ } finally {
2724
+ n.delete(i);
2863
2725
  }
2864
- n.delete(i);
2865
2726
  } else {
2866
- const i = M(u, t, n);
2727
+ const i = A(u, t, n);
2867
2728
  i !== void 0 && (s[a] = i);
2868
2729
  }
2869
2730
  return s;
2870
2731
  }
2871
- function Bn(e, t, n) {
2732
+ function Cn(e, t, n) {
2872
2733
  if (!("choices" in e))
2873
2734
  return;
2874
2735
  const r = e.choices, s = Object.keys(r);
@@ -2876,7 +2737,7 @@ function Bn(e, t, n) {
2876
2737
  return;
2877
2738
  const a = s[0], u = r[a];
2878
2739
  if ("selector" in e && e.selector) {
2879
- const o = e.selector, c = M(u, t, n);
2740
+ const o = e.selector, c = A(u, t, n);
2880
2741
  return typeof c == "object" && c !== null ? {
2881
2742
  [o]: a,
2882
2743
  ...c
@@ -2884,10 +2745,10 @@ function Bn(e, t, n) {
2884
2745
  [o]: a
2885
2746
  };
2886
2747
  }
2887
- const i = M(u, t, n);
2748
+ const i = A(u, t, n);
2888
2749
  return { [a]: i };
2889
2750
  }
2890
- function Wn(e, t, n) {
2751
+ function Nn(e, t, n) {
2891
2752
  if (!("tuple" in e) || !("properties" in e))
2892
2753
  return {};
2893
2754
  const r = e.tuple, s = e.properties, a = new Set(
@@ -2898,38 +2759,38 @@ function Wn(e, t, n) {
2898
2759
  continue;
2899
2760
  const o = s[i];
2900
2761
  if (o) {
2901
- const c = M(o, t, n);
2762
+ const c = A(o, t, n);
2902
2763
  c !== void 0 && (u[i] = c);
2903
2764
  }
2904
2765
  }
2905
2766
  return u;
2906
2767
  }
2907
- function _n(e, t, n) {
2768
+ function kn(e, t, n) {
2908
2769
  const r = ("minItems" in e ? e.minItems : 0) ?? 0;
2909
2770
  if (r === 0)
2910
2771
  return [];
2911
2772
  const s = "items" in e ? e.items : void 0;
2912
2773
  if (!s)
2913
2774
  return Array(r).fill(null);
2914
- const a = M(s, t, n);
2775
+ const a = A(s, t, n);
2915
2776
  return Array(r).fill(a ?? null);
2916
2777
  }
2917
- function zn(e, t, n) {
2778
+ function Rn(e, t, n) {
2918
2779
  const r = ("minItems" in e ? e.minItems : 0) ?? 0;
2919
2780
  if (r === 0)
2920
2781
  return [];
2921
2782
  const s = "items" in e ? e.items : void 0;
2922
2783
  if (!s)
2923
2784
  return Array(r).fill(null);
2924
- const a = M(s, t, n);
2785
+ const a = A(s, t, n);
2925
2786
  return Array(r).fill(a ?? null);
2926
2787
  }
2927
- function Gn(e) {
2788
+ function Pn(e) {
2928
2789
  switch ("format" in e ? e.format : void 0) {
2929
2790
  case "date":
2930
- return _e();
2931
- case "date-time":
2932
2791
  return ze();
2792
+ case "date-time":
2793
+ return Ge();
2933
2794
  case "time":
2934
2795
  return "00:00:00";
2935
2796
  case "email":
@@ -2940,8 +2801,8 @@ function Gn(e) {
2940
2801
  return "";
2941
2802
  }
2942
2803
  }
2943
- function Kn(e) {
2944
- const t = We(e), n = t === "int64" || t === "uint64" || t === "int128" || t === "uint128";
2804
+ function qn(e) {
2805
+ const t = _e(e), n = t === "int64" || t === "uint64" || t === "int128" || t === "uint128";
2945
2806
  let r = "minimum" in e ? e.minimum : void 0, s = "maximum" in e ? e.maximum : void 0;
2946
2807
  const a = "exclusiveMinimum" in e ? e.exclusiveMinimum : void 0, u = "exclusiveMaximum" in e ? e.exclusiveMaximum : void 0;
2947
2808
  a !== void 0 && (r = a + 1), u !== void 0 && (s = u - 1);
@@ -2950,7 +2811,7 @@ function Kn(e) {
2950
2811
  const o = "multipleOf" in e ? e.multipleOf : void 0;
2951
2812
  return o !== void 0 && o > 0 && (i = Math.round(i / o) * o, r !== void 0 && i < r && (i = Math.ceil(r / o) * o), s !== void 0 && i > s && (i = Math.floor(s / o) * o)), n ? BigInt(Math.round(i)) : Math.round(i);
2952
2813
  }
2953
- function Jn(e) {
2814
+ function Fn(e) {
2954
2815
  let t = "minimum" in e ? e.minimum : void 0, n = "maximum" in e ? e.maximum : void 0;
2955
2816
  const r = "exclusiveMinimum" in e ? e.exclusiveMinimum : void 0, s = "exclusiveMaximum" in e ? e.exclusiveMaximum : void 0, a = "multipleOf" in e ? e.multipleOf : 1e-3;
2956
2817
  r !== void 0 && (t = r + a), s !== void 0 && (n = s - a);
@@ -2959,26 +2820,26 @@ function Jn(e) {
2959
2820
  const i = "multipleOf" in e ? e.multipleOf : void 0;
2960
2821
  return i !== void 0 && i > 0 && (u = Math.round(u / i) * i, t !== void 0 && u < t && (u = Math.ceil(t / i) * i), n !== void 0 && u > n && (u = Math.floor(n / i) * i)), u;
2961
2822
  }
2962
- function Zn(e) {
2823
+ function Ln(e) {
2963
2824
  switch (e) {
2964
2825
  case "date":
2965
- return _e();
2826
+ return ze();
2966
2827
  case "time":
2967
2828
  return "00:00:00";
2968
2829
  case "datetime":
2969
- return ze();
2830
+ return Ge();
2970
2831
  case "duration":
2971
2832
  return "PT0S";
2972
2833
  default:
2973
2834
  return "";
2974
2835
  }
2975
2836
  }
2976
- function Hn(e) {
2837
+ function En(e) {
2977
2838
  return Array.isArray(e.type) ? e.type.some(
2978
2839
  (t) => typeof t == "string" ? t === "null" : !1
2979
2840
  ) : !1;
2980
2841
  }
2981
- function We(e) {
2842
+ function _e(e) {
2982
2843
  const t = e.type;
2983
2844
  if (typeof t == "string")
2984
2845
  return t;
@@ -2988,7 +2849,7 @@ function We(e) {
2988
2849
  return n;
2989
2850
  }
2990
2851
  }
2991
- function Xn(e) {
2852
+ function Vn(e) {
2992
2853
  return e ? [
2993
2854
  "int8",
2994
2855
  "int16",
@@ -3002,22 +2863,22 @@ function Xn(e) {
3002
2863
  "uint128"
3003
2864
  ].includes(e) : !1;
3004
2865
  }
3005
- function Yn(e) {
2866
+ function Un(e) {
3006
2867
  return e ? ["float", "double", "decimal"].includes(e) : !1;
3007
2868
  }
3008
- function Qn(e) {
2869
+ function Bn(e) {
3009
2870
  return e ? ["date", "time", "datetime", "duration"].includes(e) : !1;
3010
2871
  }
3011
- function _e() {
2872
+ function ze() {
3012
2873
  return (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
3013
2874
  }
3014
- function ze() {
2875
+ function Ge() {
3015
2876
  return (/* @__PURE__ */ new Date()).toISOString();
3016
2877
  }
3017
- function er(e) {
2878
+ function Wn(e) {
3018
2879
  if (e.isValid)
3019
2880
  return ie.valid;
3020
- const t = Ue(e.errors), n = /* @__PURE__ */ new Map();
2881
+ const t = Be(e.errors), n = /* @__PURE__ */ new Map();
3021
2882
  for (const u of t) {
3022
2883
  const i = n.get(u.path) || [];
3023
2884
  i.push(u), n.set(u.path, i);
@@ -3050,7 +2911,7 @@ function er(e) {
3050
2911
  }
3051
2912
  return Object.keys(a).length > 0 && (s.dependencies = a), ie.invalid(s);
3052
2913
  }
3053
- function Dr({
2914
+ function br({
3054
2915
  schema: e,
3055
2916
  initialValue: t,
3056
2917
  validationMode: n,
@@ -3062,98 +2923,98 @@ function Dr({
3062
2923
  onValidate: o,
3063
2924
  applySchemaDefaults: c = !0
3064
2925
  }, l) {
3065
- const y = t !== void 0 ? I.get(t) : void 0, h = Ln(e);
3066
- let f;
3067
- t === void 0 ? f = h ?? {} : c ? f = ot(
2926
+ const y = t !== void 0 ? x.get(t) : void 0, h = Sn(e);
2927
+ let d;
2928
+ t === void 0 ? d = h ?? {} : c ? d = ot(
3068
2929
  h,
3069
2930
  y
3070
- ) : f = y;
3071
- const g = Ee(e), d = n ?? "onTouched", v = (R) => {
3072
- const x = g.validate(R);
3073
- if (o && !x.isValid) {
3074
- const O = Ue(x.errors);
3075
- o(O);
2931
+ ) : d = y;
2932
+ const g = Ue(e), m = n ?? "onTouched", $ = (w) => {
2933
+ const R = g.validate(w);
2934
+ if (o && !R.isValid) {
2935
+ const E = Be(R.errors);
2936
+ o(E);
3076
2937
  }
3077
- return er(x);
3078
- }, { controller: $, setStatus: A } = Ye({
3079
- initialValue: f,
3080
- validationMode: d,
2938
+ return Wn(R);
2939
+ }, { controller: v, setStatus: I } = Ye({
2940
+ initialValue: d,
2941
+ validationMode: m,
3081
2942
  validateDebounceMs: r,
3082
- validate: d === "onSubmit" ? void 0 : v,
2943
+ validate: m === "onSubmit" ? void 0 : $,
3083
2944
  onChange: i
3084
- }), S = Z(
2945
+ }), j = q(
3085
2946
  He(() => {
3086
- $.dispose();
2947
+ v.dispose();
3087
2948
  }),
3088
- wn({
2949
+ dn({
3089
2950
  schema: e,
3090
- controller: $,
2951
+ controller: v,
3091
2952
  widgetRegistry: s,
3092
2953
  readOnly: a,
3093
2954
  locale: u
3094
2955
  })
3095
2956
  );
3096
- return l({ Form: S, controller: $, setStatus: A });
2957
+ return l({ Form: j, controller: v, setStatus: I });
3097
2958
  }
3098
2959
  export {
3099
- _ as DefaultWidgetRegistry,
3100
- W as INTEGER_BOUNDS,
3101
- Dr as JSONStructureForm,
3102
- Rt as RefResolver,
2960
+ G as DefaultWidgetRegistry,
2961
+ z as INTEGER_BOUNDS,
2962
+ br as JSONStructureForm,
2963
+ Nt as RefResolver,
3103
2964
  te as StructureContext,
3104
- wn as StructureControl,
3105
- j as StructureGenericControl,
3106
- pr as createExtendsResolver,
2965
+ dn as StructureControl,
2966
+ D as StructureGenericControl,
2967
+ tr as createExtendsResolver,
3107
2968
  ee as createRefResolver,
3108
2969
  kt as createStructureContext,
3109
- Ee as createValidator,
3110
- br as createWidgetRegistry,
3111
- Mr as ensureDefaultWidgets,
3112
- Ln as extractStructureDefaults,
3113
- xr as forFormat,
3114
- Ir as forMatcher,
3115
- vr as forType,
3116
- $r as forTypeAndFormat,
3117
- Mn as formatValidationError,
3118
- Ue as formatValidationErrors,
3119
- gr as getChildErrors,
3120
- mr as getErrorsForPath,
3121
- Be as getExplicitWidgetName,
3122
- F as getGlobalWidgetRegistry,
2970
+ Ue as createValidator,
2971
+ or as createWidgetRegistry,
2972
+ hr as ensureDefaultWidgets,
2973
+ Sn as extractStructureDefaults,
2974
+ lr as forFormat,
2975
+ dr as forMatcher,
2976
+ cr as forType,
2977
+ pr as forTypeAndFormat,
2978
+ gn as formatValidationError,
2979
+ Be as formatValidationErrors,
2980
+ ar as getChildErrors,
2981
+ ir as getErrorsForPath,
2982
+ We as getExplicitWidgetName,
2983
+ L as getGlobalWidgetRegistry,
3123
2984
  Q as getNonNullTypes,
3124
2985
  se as getResolvedType,
3125
- wr as getWidgetOptions,
3126
- fr as groupErrorsByPath,
2986
+ fr as getWidgetOptions,
2987
+ rr as groupErrorsByPath,
3127
2988
  Dt as hasConstValue,
3128
- Tr as hasCustomWidget,
3129
- Fn as hasDefaultWidgets,
3130
- Mt as hasEnumValue,
3131
- yr as hasErrorsAtPath,
3132
- ge as isArrayTypeDefinition,
2989
+ mr as hasCustomWidget,
2990
+ Mn as hasDefaultWidgets,
2991
+ St as hasEnumValue,
2992
+ sr as hasErrorsAtPath,
2993
+ he as isArrayTypeDefinition,
3133
2994
  It as isBigIntType,
3134
- xe as isChoiceTypeDefinition,
3135
- cr as isCompoundType,
2995
+ $e as isChoiceTypeDefinition,
2996
+ Qn as isCompoundType,
3136
2997
  X as isFloatType,
3137
2998
  P as isIntegerType,
3138
- be as isMapTypeDefinition,
2999
+ ve as isMapTypeDefinition,
3139
3000
  jt as isNamespace,
3140
- St as isNullableType,
3141
- wt as isNumericType,
3142
- k as isObjectTypeDefinition,
3143
- Tt as isPrimitiveType,
3144
- he as isSetTypeDefinition,
3001
+ At as isNullableType,
3002
+ Tt as isNumericType,
3003
+ C as isObjectTypeDefinition,
3004
+ wt as isPrimitiveType,
3005
+ be as isSetTypeDefinition,
3145
3006
  Y as isTemporalType,
3146
- ve as isTupleTypeDefinition,
3147
- At as isTypeDefinition,
3148
- C as isTypeReference,
3149
- Ar as mergeWidgetOptions,
3007
+ xe as isTupleTypeDefinition,
3008
+ Mt as isTypeDefinition,
3009
+ O as isTypeReference,
3010
+ gr as mergeWidgetOptions,
3150
3011
  Ot as parseRefPath,
3151
- Pn as registerDefaultWidgets,
3152
- $e as resolveExtends,
3012
+ jn as registerDefaultWidgets,
3013
+ Ie as resolveExtends,
3153
3014
  N as resolveRef,
3154
- lr as resolveTypeReference,
3155
- qn as resolveWidget,
3156
- jr as resolveWidgetWithOverride,
3157
- hr as setGlobalWidgetRegistry,
3158
- dr as validate
3015
+ er as resolveTypeReference,
3016
+ wn as resolveWidget,
3017
+ yr as resolveWidgetWithOverride,
3018
+ ur as setGlobalWidgetRegistry,
3019
+ nr as validate
3159
3020
  };