@tempots/beatui 0.81.0 → 0.82.1

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 (237) hide show
  1. package/dist/_commonjsHelpers-DKOUU3wS.cjs +1 -0
  2. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  3. package/dist/{ar-DwHLVgKj.cjs → ar-D7CXDmVZ.cjs} +1 -1
  4. package/dist/{ar-Bo_FZZi7.js → ar-nOSKXpIW.js} +1 -1
  5. package/dist/auth/index.cjs.js +1 -1
  6. package/dist/auth/index.es.js +63 -1349
  7. package/dist/auth-divider-BqZPH1-z.cjs +1 -0
  8. package/dist/auth-divider-Wr-S16kF.js +1355 -0
  9. package/dist/beatui.css +2035 -295
  10. package/dist/beatui.tailwind.css +2036 -296
  11. package/dist/better-auth/index.cjs.js +1 -0
  12. package/dist/better-auth/index.es.js +754 -0
  13. package/dist/{de-zI5mdV4M.cjs → de-WzsOu9Gn.cjs} +1 -1
  14. package/dist/{de-CCqwOkqN.js → de-f2xcEb34.js} +1 -1
  15. package/dist/{deep-merge-1uN6CG6K.js → deep-merge-BYm0y62g.js} +271 -285
  16. package/dist/deep-merge-d7sf0xmN.cjs +1 -0
  17. package/dist/duration-input-B9UNmUCh.cjs +1 -0
  18. package/dist/{duration-input-C9kpsw-t.js → duration-input-DqcJbxKD.js} +31 -29
  19. package/dist/editor-toolbar-group--a-xgsJw.cjs +1 -0
  20. package/dist/editor-toolbar-group-CVpl5mxF.js +31 -0
  21. package/dist/{es-BF02UrPL.js → es-CDqqzpCw.js} +1 -1
  22. package/dist/{es-Cw90CAbu.cjs → es-Ds2Xf3wV.cjs} +1 -1
  23. package/dist/{fa-DPQV4YB8.js → fa-C7tE_hR3.js} +1 -1
  24. package/dist/{fa-B4lssnzR.cjs → fa-Ct1UtDB7.cjs} +1 -1
  25. package/dist/{fr-1Kd6z1F-.cjs → fr-CzAkRFed.cjs} +1 -1
  26. package/dist/{fr-dmxPhwkD.js → fr-yOW_68YY.js} +1 -1
  27. package/dist/{he-BtQbrVt3.js → he-D2oUloCJ.js} +1 -1
  28. package/dist/{he-CJ3XnuPm.cjs → he-DlXALrK7.cjs} +1 -1
  29. package/dist/{hi-BpfnFKHp.cjs → hi-3dBhLwDs.cjs} +1 -1
  30. package/dist/{hi-D_Le4Yka.js → hi-D5ZlZoQq.js} +1 -1
  31. package/dist/{hls.light.min-Bhrf47iR.cjs → hls.light.min-C6xKDzRR.cjs} +1 -1
  32. package/dist/{hls.light.min-C6VwviEa.js → hls.light.min-hEMf_E8u.js} +1 -1
  33. package/dist/{index-CfaWytS2.cjs → index-05UbKOYe.cjs} +1 -1
  34. package/dist/{index-K6u33-GC.cjs → index-Bt7FYl80.cjs} +19 -19
  35. package/dist/{index-YtW7SCWB.js → index-C2Lq1m45.js} +1434 -1463
  36. package/dist/{index-CGEzILlC.js → index-lYhXnu6I.js} +1 -1
  37. package/dist/index.cjs.js +4 -4
  38. package/dist/index.es.js +2389 -2738
  39. package/dist/input-container-C6qEIjcA.cjs +1 -0
  40. package/dist/input-container-DiCjOzR2.js +247 -0
  41. package/dist/{it-DyHjSuHN.js → it-6e6X-4BB.js} +1 -1
  42. package/dist/{it-COCZ9NyB.cjs → it-DohtcWi9.cjs} +1 -1
  43. package/dist/{ja-X43lABza.js → ja-BxNuNo2H.js} +1 -1
  44. package/dist/{ja--NdggLU9.cjs → ja-eyTArrgS.cjs} +1 -1
  45. package/dist/json-schema/index.cjs.js +1 -8
  46. package/dist/json-schema/index.es.js +1359 -7608
  47. package/dist/json-schema-display/index.cjs.js +1 -0
  48. package/dist/json-schema-display/index.es.js +846 -0
  49. package/dist/json-structure/index.cjs.js +1 -1
  50. package/dist/json-structure/index.es.js +542 -698
  51. package/dist/{ko-BUvb0ggK.cjs → ko-BFLCDMMs.cjs} +1 -1
  52. package/dist/{ko-B9g9iw99.js → ko-Ch0jFsBV.js} +1 -1
  53. package/dist/lexical/index.cjs.js +46 -0
  54. package/dist/lexical/index.es.js +21370 -0
  55. package/dist/lexical.css +1124 -0
  56. package/dist/menu-CZzRsQP_.js +372 -0
  57. package/dist/menu-ClrU72xH.cjs +1 -0
  58. package/dist/modal-I5srcntN.cjs +1 -0
  59. package/dist/modal-v3u2Fpnd.js +488 -0
  60. package/dist/{nl-0S25Gsld.cjs → nl-Bx2ACvr4.cjs} +1 -1
  61. package/dist/{nl-Ew5jnSsT.js → nl-NuTdZO1s.js} +1 -1
  62. package/dist/{notice-C-964yaY.js → notice-BuZvdvZh.js} +84 -82
  63. package/dist/notice-CLDdy1MW.cjs +1 -0
  64. package/dist/oneof-branch-detection-DsM1K5xc.cjs +8 -0
  65. package/dist/oneof-branch-detection-Dt8ss9lc.js +6281 -0
  66. package/dist/{pl-C9f6UBSe.js → pl-Bs4nLJ__.js} +1 -1
  67. package/dist/{pl-B3k-K3S4.cjs → pl-QHl6sl8f.cjs} +1 -1
  68. package/dist/prosemirror/index.cjs.js +1 -1
  69. package/dist/prosemirror/index.es.js +1 -1
  70. package/dist/{pt-DYtAvbrw.js → pt-BETjHZrL.js} +1 -1
  71. package/dist/{pt-CKoikRO5.cjs → pt-DZGw2Z-1.cjs} +1 -1
  72. package/dist/{ru-ZexN-b8V.js → ru-Bi1_DEKM.js} +1 -1
  73. package/dist/{ru-COb7RSDt.cjs → ru-D03IuLqh.cjs} +1 -1
  74. package/dist/session-id-3KiilioY.js +8 -0
  75. package/dist/session-id-B5lJMzbB.cjs +1 -0
  76. package/dist/stack-BJgsPJ9A.js +873 -0
  77. package/dist/stack-DcZ_u50f.cjs +1 -0
  78. package/dist/string-B9vVyfq3.cjs +1 -0
  79. package/dist/string-DYyMxBl-.js +19 -0
  80. package/dist/styles-url-B2dzXrYt.cjs +1 -0
  81. package/dist/styles-url-Cw_mxshe.js +4 -0
  82. package/dist/text-input-B3VBat1k.js +44 -0
  83. package/dist/text-input-Ds8e7Z1G.cjs +1 -0
  84. package/dist/{toolbar-DNpBIoJo.js → toolbar-D994_E_s.js} +4 -4
  85. package/dist/toolbar-x0_8lmKu.cjs +1 -0
  86. package/dist/{tr-tO_EH-Y2.cjs → tr-B_-_1wua.cjs} +1 -1
  87. package/dist/{tr-BDvn05-H.js → tr-DiYB-FwX.js} +1 -1
  88. package/dist/translations-B4-Zd2LM.cjs +1 -0
  89. package/dist/translations-Cq8bUKJP.js +584 -0
  90. package/dist/{translations-DwGC_94w.cjs → translations-D62qqNV9.cjs} +1 -1
  91. package/dist/{translations-CfWR4loD.js → translations-DPr6c05Z.js} +1 -1
  92. package/dist/types/better-auth/bridge.d.ts +2 -0
  93. package/dist/types/better-auth/callbacks.d.ts +6 -0
  94. package/dist/types/better-auth/components/authenticated.d.ts +4 -0
  95. package/dist/types/better-auth/components/better-auth-container.d.ts +4 -0
  96. package/dist/types/better-auth/components/better-auth-modal.d.ts +4 -0
  97. package/dist/types/better-auth/components/magic-link-form.d.ts +7 -0
  98. package/dist/types/better-auth/components/passkey-management.d.ts +6 -0
  99. package/dist/types/better-auth/components/passkey-signin.d.ts +12 -0
  100. package/dist/types/better-auth/components/two-factor-setup.d.ts +8 -0
  101. package/dist/types/better-auth/components/two-factor-verify.d.ts +10 -0
  102. package/dist/types/better-auth/i18n/default.d.ts +29 -0
  103. package/dist/types/better-auth/i18n/locales/en.d.ts +28 -0
  104. package/dist/types/better-auth/i18n/translations.d.ts +27 -0
  105. package/dist/types/better-auth/index.d.ts +22 -0
  106. package/dist/types/better-auth/provider.d.ts +6 -0
  107. package/dist/types/better-auth/session.d.ts +14 -0
  108. package/dist/types/better-auth/social-mapping.d.ts +2 -0
  109. package/dist/types/better-auth/types.d.ts +164 -0
  110. package/dist/types/components/auth/auth-container.d.ts +1 -1
  111. package/dist/types/components/auth/social-providers.d.ts +1 -1
  112. package/dist/types/components/auth/types.d.ts +2 -0
  113. package/dist/types/components/editor-toolbar/editor-toolbar-button.d.ts +16 -0
  114. package/dist/types/components/editor-toolbar/editor-toolbar-group.d.ts +9 -0
  115. package/dist/types/components/editor-toolbar/index.d.ts +2 -0
  116. package/dist/types/components/json-schema-display/display-widget-customization.d.ts +61 -0
  117. package/dist/types/components/json-schema-display/display-wrapper.d.ts +14 -0
  118. package/dist/types/components/json-schema-display/displays/any-display.d.ts +14 -0
  119. package/dist/types/components/json-schema-display/displays/array-display.d.ts +13 -0
  120. package/dist/types/components/json-schema-display/displays/boolean-display.d.ts +13 -0
  121. package/dist/types/components/json-schema-display/displays/composition-display.d.ts +14 -0
  122. package/dist/types/components/json-schema-display/displays/enum-const-display.d.ts +13 -0
  123. package/dist/types/components/json-schema-display/displays/generic-display.d.ts +18 -0
  124. package/dist/types/components/json-schema-display/displays/null-display.d.ts +13 -0
  125. package/dist/types/components/json-schema-display/displays/number-display.d.ts +13 -0
  126. package/dist/types/components/json-schema-display/displays/object-display.d.ts +13 -0
  127. package/dist/types/components/json-schema-display/displays/string-display.d.ts +14 -0
  128. package/dist/types/components/json-schema-display/index.d.ts +14 -0
  129. package/dist/types/components/json-schema-display/json-schema-display.d.ts +25 -0
  130. package/dist/types/components/json-schema-display/mismatch.d.ts +14 -0
  131. package/dist/types/components/json-structure/controls/control-utils.d.ts +19 -0
  132. package/dist/types/components/json-structure/controls/index.d.ts +1 -0
  133. package/dist/types/components/lexical/bare-editor.d.ts +29 -0
  134. package/dist/types/components/lexical/code/index.d.ts +1 -0
  135. package/dist/types/components/lexical/code/language-selector.d.ts +13 -0
  136. package/dist/types/components/lexical/contextual-editor.d.ts +22 -0
  137. package/dist/types/components/lexical/docked-editor.d.ts +23 -0
  138. package/dist/types/components/lexical/floating/block-handle.d.ts +16 -0
  139. package/dist/types/components/lexical/floating/floating-toolbar.d.ts +12 -0
  140. package/dist/types/components/lexical/floating/index.d.ts +6 -0
  141. package/dist/types/components/lexical/floating/slash-command-palette.d.ts +20 -0
  142. package/dist/types/components/lexical/index.d.ts +8 -0
  143. package/dist/types/components/lexical/lexical-editor-input.d.ts +30 -0
  144. package/dist/types/components/lexical/table/index.d.ts +1 -0
  145. package/dist/types/components/lexical/table/table-controls.d.ts +12 -0
  146. package/dist/types/components/lexical/toolbar/index.d.ts +6 -0
  147. package/dist/types/components/lexical/toolbar/lexical-toolbar.d.ts +12 -0
  148. package/dist/types/components/lexical/toolbar/toolbar-button.d.ts +1 -0
  149. package/dist/types/components/lexical/toolbar/toolbar-group.d.ts +1 -0
  150. package/dist/types/components/lexical/toolbar/toolbar-helpers.d.ts +30 -0
  151. package/dist/types/components/prosemirror/etoolbar-button.d.ts +1 -11
  152. package/dist/types/components/prosemirror/etoolbar-group.d.ts +1 -4
  153. package/dist/types/json-schema-display/index.d.ts +1 -0
  154. package/dist/types/lexical/commands/index.d.ts +17 -0
  155. package/dist/types/lexical/headless.d.ts +39 -0
  156. package/dist/types/lexical/horizontal-rule-node.d.ts +20 -0
  157. package/dist/types/lexical/index.d.ts +20 -0
  158. package/dist/types/lexical/lazy-loader.d.ts +35 -0
  159. package/dist/types/lexical/nodes.d.ts +29 -0
  160. package/dist/types/lexical/plugins/auto-link.d.ts +7 -0
  161. package/dist/types/lexical/plugins/clipboard.d.ts +11 -0
  162. package/dist/types/lexical/plugins/code-shiki.d.ts +11 -0
  163. package/dist/types/lexical/plugins/code.d.ts +7 -0
  164. package/dist/types/lexical/plugins/dragon.d.ts +6 -0
  165. package/dist/types/lexical/plugins/file-io.d.ts +10 -0
  166. package/dist/types/lexical/plugins/hashtag.d.ts +7 -0
  167. package/dist/types/lexical/plugins/history.d.ts +7 -0
  168. package/dist/types/lexical/plugins/horizontal-rule.d.ts +12 -0
  169. package/dist/types/lexical/plugins/html-io.d.ts +9 -0
  170. package/dist/types/lexical/plugins/index.d.ts +24 -0
  171. package/dist/types/lexical/plugins/link.d.ts +6 -0
  172. package/dist/types/lexical/plugins/list.d.ts +6 -0
  173. package/dist/types/lexical/plugins/mark.d.ts +15 -0
  174. package/dist/types/lexical/plugins/markdown-io.d.ts +13 -0
  175. package/dist/types/lexical/plugins/offset.d.ts +6 -0
  176. package/dist/types/lexical/plugins/overflow.d.ts +7 -0
  177. package/dist/types/lexical/plugins/plain-text.d.ts +6 -0
  178. package/dist/types/lexical/plugins/rich-text.d.ts +6 -0
  179. package/dist/types/lexical/plugins/selection.d.ts +6 -0
  180. package/dist/types/lexical/plugins/slash-commands.d.ts +26 -0
  181. package/dist/types/lexical/plugins/table.d.ts +11 -0
  182. package/dist/types/lexical/plugins/text.d.ts +13 -0
  183. package/dist/types/lexical/plugins/yjs.d.ts +9 -0
  184. package/dist/types/lexical/styles-url.d.ts +2 -0
  185. package/dist/types/lexical/styles.d.ts +2 -0
  186. package/dist/types/lexical/types.d.ts +634 -0
  187. package/dist/types/lexical-i18n/default.d.ts +92 -0
  188. package/dist/types/lexical-i18n/index.d.ts +21 -0
  189. package/dist/types/lexical-i18n/locales/ar.d.ts +91 -0
  190. package/dist/types/lexical-i18n/locales/de.d.ts +91 -0
  191. package/dist/types/lexical-i18n/locales/en.d.ts +91 -0
  192. package/dist/types/lexical-i18n/locales/es.d.ts +91 -0
  193. package/dist/types/lexical-i18n/locales/fa.d.ts +91 -0
  194. package/dist/types/lexical-i18n/locales/fr.d.ts +91 -0
  195. package/dist/types/lexical-i18n/locales/he.d.ts +91 -0
  196. package/dist/types/lexical-i18n/locales/hi.d.ts +91 -0
  197. package/dist/types/lexical-i18n/locales/it.d.ts +91 -0
  198. package/dist/types/lexical-i18n/locales/ja.d.ts +91 -0
  199. package/dist/types/lexical-i18n/locales/ko.d.ts +91 -0
  200. package/dist/types/lexical-i18n/locales/nl.d.ts +91 -0
  201. package/dist/types/lexical-i18n/locales/pl.d.ts +91 -0
  202. package/dist/types/lexical-i18n/locales/pt.d.ts +91 -0
  203. package/dist/types/lexical-i18n/locales/ru.d.ts +91 -0
  204. package/dist/types/lexical-i18n/locales/tr.d.ts +91 -0
  205. package/dist/types/lexical-i18n/locales/ur.d.ts +91 -0
  206. package/dist/types/lexical-i18n/locales/vi.d.ts +91 -0
  207. package/dist/types/lexical-i18n/locales/zh.d.ts +91 -0
  208. package/dist/types/lexical-i18n/translations.d.ts +21 -0
  209. package/dist/{ur-DbEqQgS6.js → ur-B69X-xNs.js} +1 -1
  210. package/dist/{ur-BbnYJ3HS.cjs → ur-DyUSmIbo.cjs} +1 -1
  211. package/dist/use-animated-toggle-ChycsEoj.js +175 -0
  212. package/dist/use-animated-toggle-DR6CyMac.cjs +1 -0
  213. package/dist/use-form-B56E_x5Y.js +859 -0
  214. package/dist/use-form-Cnp3XQ5X.cjs +2 -0
  215. package/dist/utils-DEbsp9Q9.js +129 -0
  216. package/dist/utils-DIUEhA-Z.cjs +1 -0
  217. package/dist/{vi-CpZUeuSj.js → vi-BdzxA60L.js} +1 -1
  218. package/dist/{vi-ByBwvGQY.cjs → vi-CBmPaHxg.cjs} +1 -1
  219. package/dist/widget-customization-Dk7XcVly.cjs +1 -0
  220. package/dist/widget-customization-Ds9sicAg.js +1073 -0
  221. package/dist/{zh-DnxK0ieB.cjs → zh-Cb1b8uik.cjs} +1 -1
  222. package/dist/{zh-DJyhKO0I.js → zh-Dn1UJiZa.js} +1 -1
  223. package/package.json +59 -8
  224. package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
  225. package/dist/_commonjsHelpers-DwGv2jUC.cjs +0 -1
  226. package/dist/deep-merge-CBIkQM4E.cjs +0 -1
  227. package/dist/duration-input-DHWhQJnn.cjs +0 -1
  228. package/dist/modal-CSHIhHvI.js +0 -654
  229. package/dist/modal-cc8Ehngz.cjs +0 -1
  230. package/dist/notice-C_BWqu2K.cjs +0 -1
  231. package/dist/toolbar-D5FcnRju.cjs +0 -1
  232. package/dist/translations-0tLX4x7M.js +0 -866
  233. package/dist/translations-WPN3ibDg.cjs +0 -1
  234. package/dist/use-form-D4JFOcjo.cjs +0 -2
  235. package/dist/use-form-D4rqJkvG.js +0 -1731
  236. package/dist/widget-customization-BSjJz3_Y.js +0 -1195
  237. package/dist/widget-customization-CrFVrt4V.cjs +0 -1
@@ -1,73 +1,76 @@
1
- import { _ as J, g as Ke, t as Z, N as Je, b as pe, c as de, U as Ze, e as He, a as Xe, T as Ye, L as fe, f as me, h as Qe, G as et, i as tt, S as nt, j as rt } from "../deep-merge-1uN6CG6K.js";
2
- import { html as p, attr as m, Fragment as H, MapSignal as U, Value as I, computedOf as w, prop as it, WithElement as st, OnDispose as at } from "@tempots/dom";
3
- import { b, a as ne, I as B, S as V, L as ye, d as ut, M as ot, f as re, A as G, g as ct, i as ie } from "../use-form-D4rqJkvG.js";
4
- import { T as lt, B as E } from "../translations-0tLX4x7M.js";
5
- import { N as pt, B as dt, D as ft, a as mt, P as yt, b as gt, c as ht, d as bt, e as vt, F as xt } from "../duration-input-C9kpsw-t.js";
6
- import { l as $t } from "../colors-DPo9GEJR.js";
7
- function It(e) {
1
+ import { _ as H, g as Ze } from "../string-DYyMxBl-.js";
2
+ import { html as p, attr as m, Fragment as X, MapSignal as W, Value as I, computedOf as T, prop as He, WithElement as Xe, OnDispose as Ye } from "@tempots/dom";
3
+ import { b, a as ie, I as _, d as Qe, f as se, A as J, g as et } from "../use-form-B56E_x5Y.js";
4
+ import { e as Y, N as tt, f as fe, g as me, U as nt, c as rt, a as it, T as st, L as ye, b as ge, h as at, G as ut, i as ot, S as ct, j as lt } from "../deep-merge-BYm0y62g.js";
5
+ import { T as pt } from "../text-input-B3VBat1k.js";
6
+ import { N as dt, B as ft, D as mt, a as yt, P as gt, b as ht, c as bt, d as vt, e as xt, F as $t } from "../duration-input-DqcJbxKD.js";
7
+ import { l as It } from "../colors-DPo9GEJR.js";
8
+ import { B as U } from "../input-container-DiCjOzR2.js";
9
+ import { S as B, L as he, M as Tt, i as ae } from "../stack-BJgsPJ9A.js";
10
+ function wt(e) {
8
11
  return e === "int64" || e === "int128" || e === "uint64" || e === "uint128";
9
12
  }
10
- function P(e) {
13
+ function F(e) {
11
14
  return e === "int8" || e === "int16" || e === "int32" || e === "int64" || e === "int128" || e === "uint8" || e === "uint16" || e === "uint32" || e === "uint64" || e === "uint128";
12
15
  }
13
- function X(e) {
16
+ function Q(e) {
14
17
  return e === "float" || e === "double" || e === "decimal";
15
18
  }
16
- function wt(e) {
17
- return P(e) || X(e);
19
+ function jt(e) {
20
+ return F(e) || Q(e);
18
21
  }
19
- function Y(e) {
22
+ function ee(e) {
20
23
  return e === "date" || e === "datetime" || e === "time" || e === "duration";
21
24
  }
22
- function Tt(e) {
23
- return e === "string" || e === "boolean" || e === "null" || wt(e) || Y(e) || e === "uuid" || e === "uri" || e === "binary";
25
+ function Mt(e) {
26
+ return e === "string" || e === "boolean" || e === "null" || jt(e) || ee(e) || e === "uuid" || e === "uri" || e === "binary";
24
27
  }
25
- function ur(e) {
28
+ function tr(e) {
26
29
  return e === "object" || e === "array" || e === "set" || e === "map" || e === "tuple" || e === "choice" || e === "any";
27
30
  }
28
- function C(e) {
31
+ function O(e) {
29
32
  return typeof e == "object" && e !== null && "$ref" in e;
30
33
  }
31
- function jt(e) {
34
+ function St(e) {
32
35
  return typeof e == "object" && e !== null && !("type" in e) && !("$ref" in e) && !("enum" in e) && !("const" in e);
33
36
  }
34
- function At(e) {
37
+ function Dt(e) {
35
38
  return typeof e == "object" && e !== null && ("type" in e || "$ref" in e || "enum" in e || "const" in e);
36
39
  }
37
- function k(e) {
40
+ function R(e) {
38
41
  return e.type === "object" && "properties" in e;
39
42
  }
40
- function ge(e) {
43
+ function be(e) {
41
44
  return e.type === "array" && "items" in e;
42
45
  }
43
- function he(e) {
46
+ function ve(e) {
44
47
  return e.type === "set" && "items" in e;
45
48
  }
46
- function be(e) {
49
+ function xe(e) {
47
50
  return e.type === "map" && "values" in e;
48
51
  }
49
- function ve(e) {
52
+ function $e(e) {
50
53
  return e.type === "tuple" && "tuple" in e;
51
54
  }
52
- function xe(e) {
55
+ function Ie(e) {
53
56
  return e.type === "choice" && "choices" in e;
54
57
  }
55
- function Mt(e) {
58
+ function At(e) {
56
59
  return "enum" in e && Array.isArray(e.enum);
57
60
  }
58
- function Dt(e) {
61
+ function Ct(e) {
59
62
  return "const" in e;
60
63
  }
61
- function se(e) {
62
- return e === void 0 ? null : typeof e == "string" || Array.isArray(e) ? e : (C(e), null);
64
+ function ue(e) {
65
+ return e === void 0 ? null : typeof e == "string" || Array.isArray(e) ? e : (O(e), null);
63
66
  }
64
- function St(e) {
67
+ function Ot(e) {
65
68
  return e === void 0 ? !1 : e === "null" ? !0 : Array.isArray(e) ? e.includes("null") : !1;
66
69
  }
67
- function Q(e) {
70
+ function te(e) {
68
71
  return typeof e == "string" ? e === "null" ? [] : [e] : Array.isArray(e) ? e.filter((t) => t !== "null") : [];
69
72
  }
70
- const W = {
73
+ const z = {
71
74
  int8: { min: -128n, max: 127n },
72
75
  int16: { min: -32768n, max: 32767n },
73
76
  int32: { min: -2147483648n, max: 2147483647n },
@@ -82,10 +85,10 @@ const W = {
82
85
  uint64: { min: 0n, max: 18446744073709551615n },
83
86
  uint128: { min: 0n, max: 340282366920938463463374607431768211455n }
84
87
  };
85
- function Ot(e) {
88
+ function Nt(e) {
86
89
  return e.startsWith("#/") ? e.slice(2).split("/") : e.includes("/") ? e.split("/") : ["definitions", e];
87
90
  }
88
- function Ct(e, t) {
91
+ function Rt(e, t) {
89
92
  let n = e;
90
93
  for (const r of t) {
91
94
  if (n == null || typeof n != "object")
@@ -94,23 +97,23 @@ function Ct(e, t) {
94
97
  }
95
98
  return n;
96
99
  }
97
- function N(e, t) {
98
- const n = Ot(e), r = Ct(t, n);
100
+ function k(e, t) {
101
+ const n = Nt(e), r = Rt(t, n);
99
102
  if (r == null) {
100
103
  console.warn(`Failed to resolve $ref: ${e}`);
101
104
  return;
102
105
  }
103
- if (At(r))
106
+ if (Dt(r))
104
107
  return r;
105
- if (jt(r)) {
108
+ if (St(r)) {
106
109
  console.warn(`$ref "${e}" points to a namespace, not a type definition`);
107
110
  return;
108
111
  }
109
112
  }
110
- function or(e, t) {
111
- return N(e.$ref, t);
113
+ function nr(e, t) {
114
+ return k(e.$ref, t);
112
115
  }
113
- class Rt {
116
+ class kt {
114
117
  schema;
115
118
  visited = /* @__PURE__ */ new Set();
116
119
  constructor(t) {
@@ -126,8 +129,8 @@ class Rt {
126
129
  }
127
130
  this.visited.add(t);
128
131
  try {
129
- const n = N(t, this.schema);
130
- if (n?.type && C(n.type)) {
132
+ const n = k(t, this.schema);
133
+ if (n?.type && O(n.type)) {
131
134
  const r = this.resolve(n.type.$ref);
132
135
  if (r) {
133
136
  const { type: s, ...a } = n;
@@ -143,7 +146,7 @@ class Rt {
143
146
  * Resolve a type definition, handling any $ref in its type specifier
144
147
  */
145
148
  resolveDefinition(t) {
146
- if (t.type && C(t.type)) {
149
+ if (t.type && O(t.type)) {
147
150
  const n = this.resolve(t.type.$ref);
148
151
  if (n) {
149
152
  const { type: r, ...s } = t;
@@ -159,10 +162,10 @@ class Rt {
159
162
  this.visited.clear();
160
163
  }
161
164
  }
162
- function ee(e) {
163
- return new Rt(e);
165
+ function ne(e) {
166
+ return new kt(e);
164
167
  }
165
- class te {
168
+ class re {
166
169
  schema;
167
170
  definition;
168
171
  path;
@@ -173,13 +176,13 @@ class te {
173
176
  suppressLabel;
174
177
  refResolver;
175
178
  constructor(t) {
176
- this.schema = t.schema, this.definition = t.definition, this.path = t.path, this.readOnly = t.readOnly ?? !1, this.locale = t.locale, this.widgetRegistry = t.widgetRegistry, this.isPropertyRequired = t.isPropertyRequired ?? !1, this.suppressLabel = t.suppressLabel ?? !1, this.refResolver = t.refResolver ?? ee(t.schema);
179
+ this.schema = t.schema, this.definition = t.definition, this.path = t.path, this.readOnly = t.readOnly ?? !1, this.locale = t.locale, this.widgetRegistry = t.widgetRegistry, this.isPropertyRequired = t.isPropertyRequired ?? !1, this.suppressLabel = t.suppressLabel ?? !1, this.refResolver = t.refResolver ?? ne(t.schema);
177
180
  }
178
181
  /**
179
182
  * Create a new context with updated fields
180
183
  */
181
184
  with(t) {
182
- return new te({
185
+ return new re({
183
186
  schema: this.schema,
184
187
  definition: t.definition ?? this.definition,
185
188
  path: t.path ?? this.path,
@@ -222,24 +225,24 @@ class te {
222
225
  get resolvedType() {
223
226
  const t = this.definition.type;
224
227
  if (!t) return null;
225
- if (C(t)) {
228
+ if (O(t)) {
226
229
  const n = this.refResolver.resolve(t.$ref);
227
- return n?.type ? se(n.type) : null;
230
+ return n?.type ? ue(n.type) : null;
228
231
  }
229
- return se(t);
232
+ return ue(t);
230
233
  }
231
234
  /**
232
235
  * Get the primary type (first non-null type)
233
236
  */
234
237
  get primaryType() {
235
238
  const t = this.resolvedType;
236
- return t ? typeof t == "string" ? t === "null" ? null : t : Q(t)[0] ?? null : null;
239
+ return t ? typeof t == "string" ? t === "null" ? null : t : te(t)[0] ?? null : null;
237
240
  }
238
241
  /**
239
242
  * Check if this type is nullable
240
243
  */
241
244
  get isNullable() {
242
- return St(this.definition.type);
245
+ return Ot(this.definition.type);
243
246
  }
244
247
  /**
245
248
  * Check if this is a required field
@@ -270,7 +273,7 @@ class te {
270
273
  */
271
274
  get isPrimitive() {
272
275
  const t = this.primaryType;
273
- return t != null && Tt(t);
276
+ return t != null && Mt(t);
274
277
  }
275
278
  /**
276
279
  * Get the description from the definition
@@ -318,7 +321,7 @@ class te {
318
321
  if (this.definition.name)
319
322
  return this.definition.name;
320
323
  const t = this.name;
321
- return t ? J(Ke(t)) : "";
324
+ return t ? H(Ze(t)) : "";
322
325
  }
323
326
  /**
324
327
  * Get altnames from the definition
@@ -372,14 +375,14 @@ class te {
372
375
  return this.definition.format;
373
376
  }
374
377
  }
375
- function kt(e, t) {
378
+ function Pt(e, t) {
376
379
  let n;
377
- const r = ee(e);
380
+ const r = ne(e);
378
381
  if (e.$root) {
379
382
  const s = r.resolve(e.$root);
380
383
  s ? n = s : (console.warn(`Failed to resolve $root: ${e.$root}`), n = e);
381
384
  } else e.type || e.properties ? n = e : n = { type: "any" };
382
- return new te({
385
+ return new re({
383
386
  schema: e,
384
387
  definition: n,
385
388
  path: [],
@@ -389,7 +392,7 @@ function kt(e, t) {
389
392
  refResolver: r
390
393
  });
391
394
  }
392
- function $e(e, t, n) {
395
+ function Te(e, t, n) {
393
396
  const r = [], s = [];
394
397
  if (!e.$extends)
395
398
  return { merged: e, inheritanceChain: r, errors: s };
@@ -409,7 +412,7 @@ function $e(e, t, n) {
409
412
  continue;
410
413
  }
411
414
  u.add(f), r.push(f);
412
- const g = N(f, t);
415
+ const g = k(f, t);
413
416
  if (!g) {
414
417
  s.push({
415
418
  path: f,
@@ -425,26 +428,26 @@ function $e(e, t, n) {
425
428
  }
426
429
  return h;
427
430
  }, o = i(a);
428
- return { merged: Nt(o, e), inheritanceChain: r, errors: s };
431
+ return { merged: qt(o, e), inheritanceChain: r, errors: s };
429
432
  }
430
- function Nt(e, t) {
433
+ function qt(e, t) {
431
434
  if (e.length === 0)
432
435
  return t;
433
436
  let n = { ...e[0] };
434
437
  for (let a = 1; a < e.length; a++)
435
- n = ae(n, e[a]);
436
- n = ae(n, t);
438
+ n = oe(n, e[a]);
439
+ n = oe(n, t);
437
440
  const { $extends: r, ...s } = n;
438
441
  return s;
439
442
  }
440
- function ae(e, t) {
441
- return k(e) && k(t) ? qt(e, t) : { ...e, ...t };
443
+ function oe(e, t) {
444
+ return R(e) && R(t) ? Ft(e, t) : { ...e, ...t };
442
445
  }
443
- function qt(e, t) {
446
+ function Ft(e, t) {
444
447
  const n = {
445
448
  ...e.properties ?? {},
446
449
  ...t.properties ?? {}
447
- }, r = ue(e.required), s = ue(t.required), a = Pt([...r, ...s]), u = {
450
+ }, r = ce(e.required), s = ce(t.required), a = Lt([...r, ...s]), u = {
448
451
  ...e,
449
452
  ...t,
450
453
  type: "object",
@@ -452,19 +455,19 @@ function qt(e, t) {
452
455
  };
453
456
  return a.length > 0 && (u.required = a), u;
454
457
  }
455
- function ue(e) {
458
+ function ce(e) {
456
459
  return e ? e.length === 0 ? [] : Array.isArray(e[0]) ? e.flat() : e : [];
457
460
  }
458
- function Pt(e) {
461
+ function Lt(e) {
459
462
  return [...new Set(e)];
460
463
  }
461
- function cr(e) {
462
- const t = ee(e);
464
+ function rr(e) {
465
+ const t = ne(e);
463
466
  return {
464
- resolve: (n) => (t.reset(), $e(n, e))
467
+ resolve: (n) => (t.reset(), Te(n, e))
465
468
  };
466
469
  }
467
- function Ft() {
470
+ function Et() {
468
471
  return p.span(
469
472
  m.class("bc-json-structure-deprecated-badge"),
470
473
  m.style(
@@ -473,59 +476,59 @@ function Ft() {
473
476
  "(deprecated)"
474
477
  );
475
478
  }
476
- function T(e, t) {
477
- return !e || !t ? e ?? "" : p.span(e, Ft());
479
+ function w(e, t) {
480
+ return !e || !t ? e ?? "" : p.span(e, Et());
478
481
  }
479
- function Lt(e) {
482
+ function Vt(e) {
480
483
  const t = e.examples?.[0] != null ? String(e.examples[0]) : void 0;
481
484
  return {
482
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
485
+ label: e.suppressLabel ? void 0 : w(e.label, e.isDeprecated),
483
486
  description: e.description,
484
487
  required: e.isRequired,
485
488
  disabled: e.readOnly || e.isDeprecated,
486
489
  placeholder: t
487
490
  };
488
491
  }
489
- function Ie({
492
+ function we({
490
493
  ctx: e,
491
494
  controller: t
492
495
  }) {
493
- const n = Lt(e);
494
- return b(lt, {
496
+ const n = Vt(e);
497
+ return b(pt, {
495
498
  ...n,
496
- controller: Z(t)
499
+ controller: Y(t)
497
500
  });
498
501
  }
499
- function Vt(e) {
502
+ function Ut(e) {
500
503
  return {
501
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
504
+ label: e.suppressLabel ? void 0 : w(e.label, e.isDeprecated),
502
505
  description: e.description,
503
506
  required: e.isRequired,
504
507
  disabled: e.readOnly || e.isDeprecated
505
508
  };
506
509
  }
507
- function we({
510
+ function je({
508
511
  ctx: e,
509
512
  controller: t
510
513
  }) {
511
- const n = Vt(e), r = b(ne, {
514
+ const n = Ut(e), r = b(ie, {
512
515
  ...n,
513
516
  controller: t
514
517
  });
515
- return e.isNullable ? b(ne, {
518
+ return e.isNullable ? b(ie, {
516
519
  ...n,
517
520
  controller: t,
518
- after: Je(
521
+ after: tt(
519
522
  t.signal,
520
523
  t.disabled,
521
524
  (s) => t.change(s)
522
525
  )
523
526
  }) : r;
524
527
  }
525
- function Et(e, t) {
526
- 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 Bt(e, t) {
529
+ const n = z[t], r = Me(e, n.min), s = Se(e, n.max), a = e.examples?.[0] != null ? String(e.examples[0]) : void 0;
527
530
  return {
528
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
531
+ label: e.suppressLabel ? void 0 : w(e.label, e.isDeprecated),
529
532
  description: e.description,
530
533
  required: e.isRequired,
531
534
  disabled: e.readOnly || e.isDeprecated,
@@ -536,10 +539,10 @@ function Et(e, t) {
536
539
  placeholder: a
537
540
  };
538
541
  }
539
- function Ut(e, t) {
540
- 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;
542
+ function Wt(e, t) {
543
+ const n = z[t], r = Me(e, n.min), s = Se(e, n.max), a = e.examples?.[0] != null ? String(e.examples[0]) : void 0;
541
544
  return {
542
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
545
+ label: e.suppressLabel ? void 0 : w(e.label, e.isDeprecated),
543
546
  description: e.description,
544
547
  required: e.isRequired,
545
548
  disabled: e.readOnly || e.isDeprecated,
@@ -549,7 +552,7 @@ function Ut(e, t) {
549
552
  placeholder: a
550
553
  };
551
554
  }
552
- function Te(e, t) {
555
+ function Me(e, t) {
553
556
  const n = e.definition;
554
557
  if (n.minimum !== void 0) {
555
558
  const r = typeof n.minimum == "string" ? BigInt(n.minimum) : n.minimum;
@@ -561,7 +564,7 @@ function Te(e, t) {
561
564
  }
562
565
  return t >= BigInt(Number.MIN_SAFE_INTEGER) && t <= BigInt(Number.MAX_SAFE_INTEGER) ? Number(t) : t;
563
566
  }
564
- function je(e, t) {
567
+ function Se(e, t) {
565
568
  const n = e.definition;
566
569
  if (n.maximum !== void 0) {
567
570
  const r = typeof n.maximum == "string" ? BigInt(n.maximum) : n.maximum;
@@ -573,31 +576,31 @@ function je(e, t) {
573
576
  }
574
577
  return t >= BigInt(Number.MIN_SAFE_INTEGER) && t <= BigInt(Number.MAX_SAFE_INTEGER) ? Number(t) : t;
575
578
  }
576
- function Ae({
579
+ function De({
577
580
  ctx: e,
578
581
  controller: t,
579
582
  intType: n
580
583
  }) {
581
- if (It(n)) {
582
- const s = Ut(e, n);
583
- return e.isNullable ? b(pt, {
584
+ if (wt(n)) {
585
+ const s = Wt(e, n);
586
+ return e.isNullable ? b(dt, {
584
587
  ...s,
585
588
  controller: t
586
- }) : b(dt, {
589
+ }) : b(ft, {
587
590
  ...s,
588
591
  controller: t
589
592
  });
590
593
  }
591
- const r = Et(e, n);
592
- return e.isNullable ? b(pe, {
594
+ const r = Bt(e, n);
595
+ return e.isNullable ? b(fe, {
593
596
  ...r,
594
597
  controller: t
595
- }) : b(de, {
598
+ }) : b(me, {
596
599
  ...r,
597
600
  controller: t
598
601
  });
599
602
  }
600
- function Bt(e, t) {
603
+ function _t(e, t) {
601
604
  const n = e.definition;
602
605
  let r;
603
606
  n.multipleOf !== void 0 ? r = n.multipleOf : t === "decimal" && n.scale !== void 0 ? r = Math.pow(10, -n.scale) : r = void 0;
@@ -611,7 +614,7 @@ function Bt(e, t) {
611
614
  }
612
615
  const c = e.examples?.[0] != null ? String(e.examples[0]) : void 0;
613
616
  return {
614
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
617
+ label: e.suppressLabel ? void 0 : w(e.label, e.isDeprecated),
615
618
  description: o,
616
619
  required: e.isRequired,
617
620
  disabled: e.readOnly || e.isDeprecated,
@@ -621,137 +624,137 @@ function Bt(e, t) {
621
624
  placeholder: c
622
625
  };
623
626
  }
624
- function Me({
627
+ function Ae({
625
628
  ctx: e,
626
629
  controller: t,
627
630
  floatType: n
628
631
  }) {
629
- const r = Bt(e, n);
630
- return e.isNullable ? b(pe, {
632
+ const r = _t(e, n);
633
+ return e.isNullable ? b(fe, {
631
634
  ...r,
632
635
  controller: t
633
- }) : b(de, {
636
+ }) : b(me, {
634
637
  ...r,
635
638
  controller: t
636
639
  });
637
640
  }
638
- function Wt(e) {
641
+ function zt(e) {
639
642
  return {
640
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
643
+ label: e.suppressLabel ? void 0 : w(e.label, e.isDeprecated),
641
644
  description: e.description,
642
645
  required: e.isRequired,
643
646
  disabled: e.readOnly || e.isDeprecated,
644
647
  placeholder: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
645
648
  };
646
649
  }
647
- function De({
650
+ function Ce({
648
651
  ctx: e,
649
652
  controller: t
650
653
  }) {
651
- const n = Wt(e);
652
- return b(Ze, {
654
+ const n = zt(e);
655
+ return b(nt, {
653
656
  ...n,
654
- controller: Z(t)
657
+ controller: Y(t)
655
658
  });
656
659
  }
657
- function _t(e) {
660
+ function Gt(e) {
658
661
  return {
659
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
662
+ label: e.suppressLabel ? void 0 : w(e.label, e.isDeprecated),
660
663
  description: e.description,
661
664
  required: e.isRequired,
662
665
  disabled: e.readOnly || e.isDeprecated
663
666
  };
664
667
  }
665
- function Se({
668
+ function Oe({
666
669
  ctx: e,
667
670
  controller: t,
668
671
  temporalType: n
669
672
  }) {
670
- const r = _t(e);
673
+ const r = Gt(e);
671
674
  switch (n) {
672
675
  case "date":
673
- return e.isNullable ? b(bt, {
676
+ return e.isNullable ? b(vt, {
674
677
  ...r,
675
678
  controller: t
676
- }) : b(vt, {
679
+ }) : b(xt, {
677
680
  ...r,
678
681
  controller: t
679
682
  });
680
683
  case "datetime":
681
- return e.isNullable ? b(gt, {
684
+ return e.isNullable ? b(ht, {
682
685
  ...r,
683
686
  controller: t
684
- }) : b(ht, {
687
+ }) : b(bt, {
685
688
  ...r,
686
689
  controller: t
687
690
  });
688
691
  case "time":
689
- return e.isNullable ? b(mt, {
692
+ return e.isNullable ? b(yt, {
690
693
  ...r,
691
694
  controller: t
692
- }) : b(yt, {
695
+ }) : b(gt, {
693
696
  ...r,
694
697
  controller: t
695
698
  });
696
699
  case "duration":
697
- return e.isNullable ? b(He, {
700
+ return e.isNullable ? b(rt, {
698
701
  ...r,
699
702
  controller: t
700
- }) : b(ft, {
703
+ }) : b(mt, {
701
704
  ...r,
702
705
  controller: t
703
706
  });
704
707
  default:
705
- return console.warn(`Unknown temporal type: ${n}`), H();
708
+ return console.warn(`Unknown temporal type: ${n}`), X();
706
709
  }
707
710
  }
708
- function zt(e) {
711
+ function Kt(e) {
709
712
  return {
710
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
713
+ label: e.suppressLabel ? void 0 : w(e.label, e.isDeprecated),
711
714
  description: e.description,
712
715
  required: e.isRequired,
713
716
  disabled: e.readOnly || e.isDeprecated,
714
717
  placeholder: "https://example.com"
715
718
  };
716
719
  }
717
- function Oe({
720
+ function Ne({
718
721
  ctx: e,
719
722
  controller: t
720
723
  }) {
721
- const n = zt(e);
722
- return b(Xe, {
724
+ const n = Kt(e);
725
+ return b(it, {
723
726
  ...n,
724
- controller: Z(t)
727
+ controller: Y(t)
725
728
  });
726
729
  }
727
- function Gt(e) {
730
+ function Jt(e) {
728
731
  return {
729
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
732
+ label: e.suppressLabel ? void 0 : w(e.label, e.isDeprecated),
730
733
  description: e.description,
731
734
  required: e.isRequired,
732
735
  disabled: e.readOnly || e.isDeprecated
733
736
  };
734
737
  }
735
- function Ce({
738
+ function Re({
736
739
  ctx: e,
737
740
  controller: t
738
741
  }) {
739
- const n = Gt(e);
740
- return b(xt, {
742
+ const n = Jt(e);
743
+ return b($t, {
741
744
  ...n,
742
745
  controller: t
743
746
  });
744
747
  }
745
- function Kt(e) {
748
+ function Zt(e) {
746
749
  return {
747
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
750
+ label: e.suppressLabel ? void 0 : w(e.label, e.isDeprecated),
748
751
  description: e.description,
749
752
  required: e.isRequired,
750
753
  disabled: e.readOnly || e.isDeprecated,
751
754
  placeholder: "Enter JSON value"
752
755
  };
753
756
  }
754
- function Jt(e) {
757
+ function Ht(e) {
755
758
  return e.transform(
756
759
  // To input: serialize value to JSON string
757
760
  (t) => t === void 0 ? void 0 : JSON.stringify(t, null, 2),
@@ -766,27 +769,24 @@ function Jt(e) {
766
769
  }
767
770
  );
768
771
  }
769
- function K({
772
+ function Z({
770
773
  ctx: e,
771
774
  controller: t
772
775
  }) {
773
- const n = Kt(e);
774
- return b(Ye, {
776
+ const n = Zt(e);
777
+ return b(st, {
775
778
  ...n,
776
- controller: Jt(t)
779
+ controller: Ht(t)
777
780
  });
778
781
  }
779
- function Zt(e) {
782
+ function L(e) {
780
783
  return {
781
784
  label: e.suppressLabel ? void 0 : e.label,
782
785
  description: e.description,
783
786
  required: e.isRequired
784
787
  };
785
788
  }
786
- function Ht(e, t) {
787
- return !t || t.length === 0 ? !1 : typeof t[0] == "string" ? t.includes(e) : Array.isArray(t[0]) ? t.some((n) => n.includes(e)) : !1;
788
- }
789
- function Xt(e) {
789
+ function P(e) {
790
790
  if (e.default !== void 0)
791
791
  return e.default;
792
792
  if (e.examples && e.examples.length > 0)
@@ -811,9 +811,12 @@ function Xt(e) {
811
811
  case "any":
812
812
  return;
813
813
  default:
814
- 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;
815
815
  }
816
816
  }
817
+ function Xt(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
+ }
817
820
  function Yt(e, t = "property") {
818
821
  if (!e.has(t)) return t;
819
822
  let n = 1;
@@ -821,32 +824,32 @@ function Yt(e, t = "property") {
821
824
  n++;
822
825
  return `${t}${n}`;
823
826
  }
824
- function Re({
827
+ function ke({
825
828
  ctx: e,
826
829
  controller: t
827
830
  }) {
828
831
  const n = e.definition;
829
- return n.type !== "object" || !("properties" in n) ? (console.warn("StructureObjectControl requires an ObjectTypeDefinition"), p.div("Invalid object definition")) : U(t.signal, (r) => {
830
- 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 = $t(s), h = new Set(
832
+ return n.type !== "object" || !("properties" in n) ? (console.warn("StructureObjectControl requires an ObjectTypeDefinition"), p.div("Invalid object definition")) : W(t.signal, (r) => {
833
+ 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 = It(s), h = new Set(
831
834
  y.map(([x]) => x)
832
- ), 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]) => {
833
- const D = x, z = t.field(D), Ge = Ht(D, a);
835
+ ), 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, C]) => {
836
+ const D = x, K = t.field(D), Je = Xt(D, a);
834
837
  return j({
835
838
  ctx: e.with({
836
- definition: O,
837
- isPropertyRequired: Ge,
839
+ definition: C,
840
+ isPropertyRequired: Je,
838
841
  suppressLabel: !1
839
842
  }).append(D),
840
- controller: z
843
+ controller: K
841
844
  });
842
- }), A = g.map((x) => {
843
- const O = t.field(x);
845
+ }), M = g.map((x) => {
846
+ const C = t.field(x);
844
847
  return p.div(
845
848
  m.class("bc-json-structure-additional-property"),
846
849
  p.div(
847
850
  m.class("bc-json-structure-additional-property-header"),
848
851
  p.strong(`${x}:`),
849
- E(
852
+ U(
850
853
  {
851
854
  variant: "text",
852
855
  size: "xs",
@@ -867,89 +870,54 @@ function Re({
867
870
  isPropertyRequired: !1,
868
871
  suppressLabel: !0
869
872
  }).append(x),
870
- controller: O
873
+ controller: C
871
874
  })
872
875
  )
873
876
  );
874
- }), q = d ? E(
877
+ }), q = d ? U(
875
878
  {
876
879
  variant: "outline",
877
880
  size: "sm",
878
881
  onClick: () => {
879
- const x = I.get(t.signal) ?? {}, O = new Set(Object.keys(x)), D = Yt(O), z = Xt(o);
882
+ const x = I.get(t.signal) ?? {}, C = new Set(Object.keys(x)), D = Yt(C), K = P(o);
880
883
  t.change({
881
884
  ...x,
882
- [D]: z
885
+ [D]: K
883
886
  });
884
887
  }
885
888
  },
886
889
  "Add Property"
887
- ) : null, S = p.div(
890
+ ) : null, A = p.div(
888
891
  m.class("bc-json-structure-object-fields"),
889
892
  ...$,
890
- ...A,
893
+ ...M,
891
894
  q
892
- ), R = p.div(
895
+ ), N = p.div(
893
896
  m.class("bc-json-structure-object"),
894
- S
897
+ A
895
898
  );
896
- return !e.suppressLabel && e.name ? B({
897
- ...Zt(e),
898
- content: R
899
- }) : R;
899
+ return !e.suppressLabel && e.name ? _({
900
+ ...L(e),
901
+ content: N
902
+ }) : N;
900
903
  });
901
904
  }
902
- function Qt(e) {
903
- return {
904
- label: e.suppressLabel ? void 0 : e.label,
905
- description: e.description,
906
- required: e.isRequired
907
- };
908
- }
909
- function en(e) {
910
- if (e.default !== void 0)
911
- return e.default;
912
- if (e.examples && e.examples.length > 0)
913
- return e.examples[0];
914
- if (!e.type) return;
915
- const t = Array.isArray(e.type) ? e.type[0] : e.type;
916
- if (!(typeof t == "object" && "$ref" in t))
917
- switch (t) {
918
- case "string":
919
- return "";
920
- case "boolean":
921
- return !1;
922
- case "null":
923
- return null;
924
- case "object":
925
- return {};
926
- case "array":
927
- case "set":
928
- return [];
929
- case "map":
930
- return {};
931
- case "any":
932
- return;
933
- default:
934
- 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;
935
- }
936
- }
937
- function ke({
905
+ function Pe({
938
906
  ctx: e,
939
907
  controller: t
940
908
  }) {
941
909
  const n = e.definition;
942
910
  if (n.type !== "array" || !("items" in n))
943
911
  return console.warn("StructureArrayControl requires an ArrayTypeDefinition"), p.div("Invalid array definition");
944
- 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);
945
- return fe({
946
- ...Qt(e),
912
+ const r = n.items, s = n.minItems ?? 0, a = n.maxItems ?? 1 / 0, u = T(t.signal)((o) => (o?.length ?? 0) < a), i = T(t.signal)((o) => (o?.length ?? 0) > s);
913
+ return ye({
914
+ ...L(e),
947
915
  controller: t,
948
- createItem: () => en(r),
916
+ createItem: () => P(r),
949
917
  showAdd: !0,
950
- addDisabled: w(u)((o) => !o || e.readOnly),
918
+ addDisabled: T(u)((o) => !o || e.readOnly),
951
919
  showRemove: !0,
952
- removeDisabled: w(i)((o) => !o || e.readOnly),
920
+ removeDisabled: T(i)((o) => !o || e.readOnly),
953
921
  element: (o) => {
954
922
  const c = o.position.index, l = o.item;
955
923
  return j({
@@ -962,49 +930,14 @@ function ke({
962
930
  }
963
931
  });
964
932
  }
965
- function tn(e) {
966
- return {
967
- label: e.suppressLabel ? void 0 : e.label,
968
- description: e.description,
969
- required: e.isRequired
970
- };
971
- }
972
- function nn(e) {
973
- if (e.default !== void 0)
974
- return e.default;
975
- if (e.examples && e.examples.length > 0)
976
- return e.examples[0];
977
- if (!e.type) return;
978
- const t = Array.isArray(e.type) ? e.type[0] : e.type;
979
- if (!(typeof t == "object" && "$ref" in t))
980
- switch (t) {
981
- case "string":
982
- return "";
983
- case "boolean":
984
- return !1;
985
- case "null":
986
- return null;
987
- case "object":
988
- return {};
989
- case "array":
990
- case "set":
991
- return [];
992
- case "map":
993
- return {};
994
- case "any":
995
- return;
996
- default:
997
- 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;
998
- }
999
- }
1000
- function Ne({
933
+ function qe({
1001
934
  ctx: e,
1002
935
  controller: t
1003
936
  }) {
1004
937
  const n = e.definition;
1005
938
  if (n.type !== "set" || !("items" in n))
1006
939
  return console.warn("StructureSetControl requires a SetTypeDefinition"), p.div("Invalid set definition");
1007
- 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) => {
940
+ const r = n.items, s = n.minItems ?? 0, a = n.maxItems ?? 1 / 0, u = T(t.signal)((c) => (c?.length ?? 0) < a), i = T(t.signal)((c) => (c?.length ?? 0) > s), o = T(t.signal)((c) => {
1008
941
  if (!c || c.length === 0) return /* @__PURE__ */ new Set();
1009
942
  const l = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Set();
1010
943
  for (let h = 0; h < c.length; h++) {
@@ -1013,14 +946,14 @@ function Ne({
1013
946
  }
1014
947
  return y;
1015
948
  });
1016
- return fe({
1017
- ...tn(e),
949
+ return ye({
950
+ ...L(e),
1018
951
  controller: t,
1019
- createItem: () => nn(r),
952
+ createItem: () => P(r),
1020
953
  showAdd: !0,
1021
- addDisabled: w(u)((c) => !c || e.readOnly),
954
+ addDisabled: T(u)((c) => !c || e.readOnly),
1022
955
  showRemove: !0,
1023
- removeDisabled: w(i)((c) => !c || e.readOnly),
956
+ removeDisabled: T(i)((c) => !c || e.readOnly),
1024
957
  element: (c) => {
1025
958
  const l = c.position.index, y = c.item, h = o.map((g) => g.has(l)), f = j({
1026
959
  ctx: e.with({
@@ -1029,10 +962,10 @@ function Ne({
1029
962
  }).append(l),
1030
963
  controller: y
1031
964
  });
1032
- return h.map((g) => g ? V(
965
+ return h.map((g) => g ? B(
1033
966
  m.class("bc-stack--gap-1"),
1034
967
  f,
1035
- ye(
968
+ he(
1036
969
  m.class("bc-json-structure-set-error"),
1037
970
  "⚠️ Duplicate value - sets must contain unique items"
1038
971
  )
@@ -1040,49 +973,14 @@ function Ne({
1040
973
  }
1041
974
  });
1042
975
  }
1043
- function rn(e) {
1044
- return {
1045
- label: e.suppressLabel ? void 0 : e.label,
1046
- description: e.description,
1047
- required: e.isRequired
1048
- };
1049
- }
1050
- function sn(e) {
1051
- if (e.default !== void 0)
1052
- return e.default;
1053
- if (e.examples && e.examples.length > 0)
1054
- return e.examples[0];
1055
- if (!e.type) return;
1056
- const t = Array.isArray(e.type) ? e.type[0] : e.type;
1057
- if (!(typeof t == "object" && "$ref" in t))
1058
- switch (t) {
1059
- case "string":
1060
- return "";
1061
- case "boolean":
1062
- return !1;
1063
- case "null":
1064
- return null;
1065
- case "object":
1066
- return {};
1067
- case "array":
1068
- case "set":
1069
- return [];
1070
- case "map":
1071
- return {};
1072
- case "any":
1073
- return;
1074
- default:
1075
- 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;
1076
- }
1077
- }
1078
- function an(e, t = "key") {
976
+ function Qt(e, t = "key") {
1079
977
  if (!e.has(t)) return t;
1080
978
  let n = 1;
1081
979
  for (; e.has(`${t}${n}`); )
1082
980
  n++;
1083
981
  return `${t}${n}`;
1084
982
  }
1085
- function qe({
983
+ function Fe({
1086
984
  ctx: e,
1087
985
  controller: t
1088
986
  }) {
@@ -1090,7 +988,7 @@ function qe({
1090
988
  if (n.type !== "map" || !("values" in n))
1091
989
  return console.warn("StructureMapControl requires a MapTypeDefinition"), p.div("Invalid map definition");
1092
990
  const r = n.values, s = n.minProperties ?? 0, a = n.maxProperties ?? 1 / 0;
1093
- return U(t.signal, (u) => {
991
+ return W(t.signal, (u) => {
1094
992
  const i = Object.keys(u ?? {}), o = i.length, c = o < a && !e.readOnly, l = o > s && !e.readOnly, y = i.map((d) => {
1095
993
  const v = t.field(d);
1096
994
  return p.div(
@@ -1098,7 +996,7 @@ function qe({
1098
996
  p.div(
1099
997
  m.class("bc-json-structure-map-entry-header"),
1100
998
  p.strong(m.class("bc-json-structure-map-entry-key"), `${d}:`),
1101
- E(
999
+ U(
1102
1000
  {
1103
1001
  variant: "text",
1104
1002
  size: "xs",
@@ -1122,15 +1020,15 @@ function qe({
1122
1020
  })
1123
1021
  )
1124
1022
  );
1125
- }), h = c ? E(
1023
+ }), h = c ? U(
1126
1024
  {
1127
1025
  variant: "outline",
1128
1026
  size: "sm",
1129
1027
  onClick: () => {
1130
- const d = I.get(t.signal) ?? {}, v = new Set(Object.keys(d)), $ = an(v), A = sn(r);
1028
+ const d = I.get(t.signal) ?? {}, v = new Set(Object.keys(d)), $ = Qt(v), M = P(r);
1131
1029
  t.change({
1132
1030
  ...d,
1133
- [$]: A
1031
+ [$]: M
1134
1032
  });
1135
1033
  }
1136
1034
  },
@@ -1143,48 +1041,13 @@ function qe({
1143
1041
  m.class("bc-json-structure-map"),
1144
1042
  f
1145
1043
  );
1146
- return !e.suppressLabel && e.name ? B({
1147
- ...rn(e),
1044
+ return !e.suppressLabel && e.name ? _({
1045
+ ...L(e),
1148
1046
  content: g
1149
1047
  }) : g;
1150
1048
  });
1151
1049
  }
1152
- function un(e) {
1153
- return {
1154
- label: e.suppressLabel ? void 0 : e.label,
1155
- description: e.description,
1156
- required: e.isRequired
1157
- };
1158
- }
1159
- function on(e) {
1160
- if (e.default !== void 0)
1161
- return e.default;
1162
- if (e.examples && e.examples.length > 0)
1163
- return e.examples[0];
1164
- if (!e.type) return;
1165
- const t = Array.isArray(e.type) ? e.type[0] : e.type;
1166
- if (!(typeof t == "object" && "$ref" in t))
1167
- switch (t) {
1168
- case "string":
1169
- return "";
1170
- case "boolean":
1171
- return !1;
1172
- case "null":
1173
- return null;
1174
- case "object":
1175
- return {};
1176
- case "array":
1177
- case "set":
1178
- return [];
1179
- case "map":
1180
- return {};
1181
- case "any":
1182
- return;
1183
- default:
1184
- 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;
1185
- }
1186
- }
1187
- function Pe({
1050
+ function Le({
1188
1051
  ctx: e,
1189
1052
  controller: t
1190
1053
  }) {
@@ -1195,11 +1058,11 @@ function Pe({
1195
1058
  if (!Array.isArray(a) || a.length !== r.length) {
1196
1059
  const i = r.map((o) => {
1197
1060
  const c = s[o];
1198
- return c ? on(c) : void 0;
1061
+ return c ? P(c) : void 0;
1199
1062
  });
1200
1063
  t.change(i);
1201
1064
  }
1202
- const u = un(e);
1065
+ const u = L(e);
1203
1066
  return p.div(
1204
1067
  m.class("bc-json-structure-tuple"),
1205
1068
  // Optional label and description
@@ -1256,13 +1119,13 @@ function Pe({
1256
1119
  )
1257
1120
  );
1258
1121
  }
1259
- function cn({
1122
+ function en({
1260
1123
  options: e,
1261
1124
  selected: t,
1262
1125
  onChange: n,
1263
1126
  disabled: r
1264
1127
  }) {
1265
- return me({
1128
+ return ge({
1266
1129
  options: e.map((s) => ({
1267
1130
  type: "value",
1268
1131
  value: s.value,
@@ -1273,24 +1136,24 @@ function cn({
1273
1136
  disabled: r
1274
1137
  });
1275
1138
  }
1276
- function ln({
1139
+ function tn({
1277
1140
  ctx: e,
1278
1141
  selector: t,
1279
1142
  inner: n
1280
1143
  }) {
1281
- const r = V(
1144
+ const r = B(
1282
1145
  m.class("bc-stack--gap-2 bc-stack--align-start"),
1283
1146
  t,
1284
1147
  n
1285
1148
  );
1286
- return e.isRoot ? r : B({
1149
+ return e.isRoot ? r : _({
1287
1150
  label: e.suppressLabel ? void 0 : e.label,
1288
1151
  description: e.description,
1289
1152
  required: e.isRequired,
1290
1153
  content: r
1291
1154
  });
1292
1155
  }
1293
- function pn(e, t, n) {
1156
+ function nn(e, t, n) {
1294
1157
  if (!e || typeof e != "object")
1295
1158
  return null;
1296
1159
  const r = e;
@@ -1307,7 +1170,7 @@ function pn(e, t, n) {
1307
1170
  }
1308
1171
  return null;
1309
1172
  }
1310
- function dn(e, t, n) {
1173
+ function rn(e, t, n) {
1311
1174
  if (!e || typeof e != "object")
1312
1175
  return;
1313
1176
  const r = e;
@@ -1318,7 +1181,7 @@ function dn(e, t, n) {
1318
1181
  if (t in r)
1319
1182
  return r[t];
1320
1183
  }
1321
- function oe(e, t, n) {
1184
+ function le(e, t, n) {
1322
1185
  return n ? e && typeof e == "object" ? {
1323
1186
  [n]: t,
1324
1187
  ...e
@@ -1328,32 +1191,7 @@ function oe(e, t, n) {
1328
1191
  [t]: e
1329
1192
  };
1330
1193
  }
1331
- function fn(e) {
1332
- if (e.default !== void 0)
1333
- return e.default;
1334
- if (e.examples && e.examples.length > 0)
1335
- return e.examples[0];
1336
- const t = Array.isArray(e.type) ? e.type[0] : e.type;
1337
- if (!(!t || typeof t == "object"))
1338
- switch (t) {
1339
- case "string":
1340
- return "";
1341
- case "boolean":
1342
- return !1;
1343
- case "null":
1344
- return null;
1345
- case "object":
1346
- return {};
1347
- case "array":
1348
- case "set":
1349
- return [];
1350
- case "map":
1351
- return {};
1352
- default:
1353
- return;
1354
- }
1355
- }
1356
- function Fe({
1194
+ function Ee({
1357
1195
  ctx: e,
1358
1196
  controller: t
1359
1197
  }) {
@@ -1372,44 +1210,44 @@ function Fe({
1372
1210
  const u = a.map((d) => {
1373
1211
  const $ = r[d].name || d;
1374
1212
  return { value: d, label: $ };
1375
- }), i = w(t.signal)((d) => pn(d, r, s)), o = I.get(i) || a[0], c = it(o);
1213
+ }), i = T(t.signal)((d) => nn(d, r, s)), o = I.get(i) || a[0], c = He(o);
1376
1214
  t.onDispose(c.dispose);
1377
1215
  let l = !1;
1378
1216
  const y = i.on((d) => {
1379
1217
  !l && d !== null && c.set(d);
1380
1218
  });
1381
1219
  t.onDispose(y);
1382
- const f = cn({
1220
+ const f = en({
1383
1221
  options: u,
1384
1222
  selected: c,
1385
1223
  onChange: (d) => {
1386
1224
  l = !0, c.set(d);
1387
1225
  const v = r[d];
1388
1226
  if (v) {
1389
- const $ = fn(v), A = oe($, d, s);
1390
- t.change(A);
1227
+ const $ = P(v), M = le($, d, s);
1228
+ t.change(M);
1391
1229
  }
1392
1230
  },
1393
1231
  disabled: e.readOnly || e.isDeprecated
1394
- }), g = U(c, (d) => {
1232
+ }), g = W(c, (d) => {
1395
1233
  const v = r[I.get(d)];
1396
1234
  if (!v)
1397
1235
  return p.div(
1398
1236
  m.class("bc-json-structure-error"),
1399
1237
  `Choice variant not found: ${I.get(d)}`
1400
1238
  );
1401
- const $ = w(t.signal)(
1402
- (S) => dn(S, I.get(d), s)
1403
- ), A = (S) => {
1404
- const R = oe(
1405
- S,
1239
+ const $ = T(t.signal)(
1240
+ (A) => rn(A, I.get(d), s)
1241
+ ), M = (A) => {
1242
+ const N = le(
1243
+ A,
1406
1244
  I.get(d),
1407
1245
  s
1408
1246
  );
1409
- t.change(R);
1410
- }, q = new ut(
1247
+ t.change(N);
1248
+ }, q = new Qe(
1411
1249
  [...t.path, I.get(d)],
1412
- A,
1250
+ M,
1413
1251
  $,
1414
1252
  t.status,
1415
1253
  {
@@ -1427,26 +1265,26 @@ function Fe({
1427
1265
  controller: q
1428
1266
  });
1429
1267
  });
1430
- return ln({
1268
+ return tn({
1431
1269
  ctx: e,
1432
1270
  selector: f,
1433
1271
  inner: g
1434
1272
  });
1435
1273
  }
1436
- function mn(e) {
1274
+ function sn(e) {
1437
1275
  return {
1438
- label: e.suppressLabel ? void 0 : T(e.label, e.isDeprecated),
1276
+ label: e.suppressLabel ? void 0 : w(e.label, e.isDeprecated),
1439
1277
  description: e.description,
1440
1278
  required: e.isRequired,
1441
1279
  disabled: e.readOnly || e.isDeprecated
1442
1280
  };
1443
1281
  }
1444
- function Le({
1282
+ function Ve({
1445
1283
  ctx: e,
1446
1284
  controller: t
1447
1285
  }) {
1448
- const n = mn(e);
1449
- return Qe({
1286
+ const n = sn(e);
1287
+ return at({
1450
1288
  ...n,
1451
1289
  options: (e.enumValues ?? []).map((r) => ({
1452
1290
  type: "value",
@@ -1456,18 +1294,18 @@ function Le({
1456
1294
  controller: t
1457
1295
  });
1458
1296
  }
1459
- function Ve({
1297
+ function Ue({
1460
1298
  ctx: e,
1461
1299
  controller: t
1462
1300
  }) {
1463
- return H(
1464
- st(() => {
1301
+ return X(
1302
+ Xe(() => {
1465
1303
  I.get(t.signal) !== e.constValue && t.change(e.constValue);
1466
1304
  }),
1467
- et(ot(e.label, ": "), ye(String(e.constValue)))
1305
+ ut(Tt(e.label, ": "), he(String(e.constValue)))
1468
1306
  );
1469
1307
  }
1470
- function yn(e) {
1308
+ function an(e) {
1471
1309
  return {
1472
1310
  label: e.suppressLabel ? void 0 : e.label,
1473
1311
  description: e.description,
@@ -1475,7 +1313,7 @@ function yn(e) {
1475
1313
  disabled: e.readOnly || e.isDeprecated
1476
1314
  };
1477
1315
  }
1478
- function gn(e, t) {
1316
+ function un(e, t) {
1479
1317
  if (e === null) return t.includes("null") ? "null" : null;
1480
1318
  if (e === void 0)
1481
1319
  return t.includes("string") ? "string" : t[0] ?? null;
@@ -1505,7 +1343,7 @@ function gn(e, t) {
1505
1343
  return null;
1506
1344
  }
1507
1345
  }
1508
- function hn(e, t) {
1346
+ function on(e, t) {
1509
1347
  try {
1510
1348
  switch (t) {
1511
1349
  case "string":
@@ -1577,7 +1415,7 @@ function hn(e, t) {
1577
1415
  return { ok: !1 };
1578
1416
  }
1579
1417
  }
1580
- function bn(e) {
1418
+ function cn(e) {
1581
1419
  switch (e) {
1582
1420
  case "null":
1583
1421
  return null;
@@ -1594,16 +1432,16 @@ function bn(e) {
1594
1432
  return;
1595
1433
  }
1596
1434
  }
1597
- function vn(e) {
1435
+ function ln(e) {
1598
1436
  return e.map((t) => ({
1599
1437
  key: t,
1600
- label: J(t),
1601
- detect: (n) => gn(n, [t]) === t,
1602
- convert: (n) => hn(n, t),
1603
- defaultValue: () => bn(t)
1438
+ label: H(t),
1439
+ detect: (n) => un(n, [t]) === t,
1440
+ convert: (n) => on(n, t),
1441
+ defaultValue: () => cn(t)
1604
1442
  }));
1605
1443
  }
1606
- function xn({
1444
+ function pn({
1607
1445
  options: e,
1608
1446
  selected: t,
1609
1447
  onChange: n
@@ -1612,14 +1450,14 @@ function xn({
1612
1450
  const a = Object.fromEntries(
1613
1451
  e.map((u) => [u.value, u.label])
1614
1452
  );
1615
- return nt({
1453
+ return ct({
1616
1454
  options: a,
1617
1455
  value: t,
1618
1456
  onChange: (u) => n(u),
1619
1457
  size: "sm"
1620
1458
  });
1621
1459
  }
1622
- return me({
1460
+ return ge({
1623
1461
  options: e.map((a) => ({
1624
1462
  type: "value",
1625
1463
  value: a.value,
@@ -1629,22 +1467,22 @@ function xn({
1629
1467
  onChange: n
1630
1468
  });
1631
1469
  }
1632
- function $n({
1470
+ function dn({
1633
1471
  ctx: e,
1634
1472
  showSelector: t,
1635
1473
  selector: n,
1636
1474
  inner: r
1637
1475
  }) {
1638
- return e.isRoot ? t ? V(m.class("bc-stack--gap-2"), n, r) : r : B({
1639
- ...yn(e),
1640
- content: t ? V(
1476
+ return e.isRoot ? t ? B(m.class("bc-stack--gap-2"), n, r) : r : _({
1477
+ ...an(e),
1478
+ content: t ? B(
1641
1479
  m.class("bc-stack--gap-2 bc-stack--align-start"),
1642
1480
  n,
1643
1481
  r
1644
1482
  ) : r
1645
1483
  });
1646
1484
  }
1647
- function In({
1485
+ function fn({
1648
1486
  ctx: e,
1649
1487
  controller: t
1650
1488
  }) {
@@ -1654,7 +1492,7 @@ function In({
1654
1492
  s = r;
1655
1493
  else
1656
1494
  return console.warn("StructureUnionControl called with non-array type"), j({ ctx: e, controller: t });
1657
- const a = s.includes("null"), u = Q(r), i = a && u.length > 0 ? u : s, o = vn(i), c = new tt(
1495
+ const a = s.includes("null"), u = te(r), i = a && u.length > 0 ? u : s, o = ln(i), c = new ot(
1658
1496
  t.path,
1659
1497
  t.change,
1660
1498
  t.signal,
@@ -1663,13 +1501,13 @@ function In({
1663
1501
  o
1664
1502
  );
1665
1503
  t.onDispose(() => c.dispose());
1666
- const l = (f) => xn({
1667
- options: i.map((g) => ({ value: g, label: J(g) })),
1504
+ const l = (f) => pn({
1505
+ options: i.map((g) => ({ value: g, label: H(g) })),
1668
1506
  selected: c.activeBranch,
1669
1507
  onChange: f
1670
1508
  }), y = (f) => {
1671
1509
  c.switchToBranch(f, !1);
1672
- }, h = U(c.activeBranch, (f) => {
1510
+ }, h = W(c.activeBranch, (f) => {
1673
1511
  const g = I.get(f), d = c.getBranchController(g), v = e.with({
1674
1512
  definition: { ...n, type: g },
1675
1513
  // Suppress inner labels only when union is nested (non-root)
@@ -1680,7 +1518,7 @@ function In({
1680
1518
  controller: d
1681
1519
  });
1682
1520
  });
1683
- return $n({
1521
+ return dn({
1684
1522
  ctx: e,
1685
1523
  showSelector: i.length > 1,
1686
1524
  selector: l(y),
@@ -1693,7 +1531,7 @@ function j({
1693
1531
  }) {
1694
1532
  let n = e;
1695
1533
  const r = e.definition;
1696
- if (r.type && C(r.type)) {
1534
+ if (r.type && O(r.type)) {
1697
1535
  const i = e.resolveRef(r.type.$ref);
1698
1536
  if (i) {
1699
1537
  const { type: o, ...c } = r, l = { ...i, ...c };
@@ -1701,7 +1539,7 @@ function j({
1701
1539
  }
1702
1540
  }
1703
1541
  if (n.definition.$extends) {
1704
- const { merged: i } = $e(n.definition, e.schema);
1542
+ const { merged: i } = Te(n.definition, e.schema);
1705
1543
  n = n.with({ definition: i });
1706
1544
  }
1707
1545
  const s = n.widgetRegistry;
@@ -1713,149 +1551,149 @@ function j({
1713
1551
  ctx: n
1714
1552
  });
1715
1553
  }
1716
- if (Mt(n.definition))
1717
- return Le({
1554
+ if (At(n.definition))
1555
+ return Ve({
1718
1556
  ctx: n,
1719
1557
  controller: t
1720
1558
  });
1721
- if (Dt(n.definition))
1722
- return Ve({
1559
+ if (Ct(n.definition))
1560
+ return Ue({
1723
1561
  ctx: n,
1724
1562
  controller: t
1725
1563
  });
1726
1564
  const a = n.resolvedType;
1727
- if (Array.isArray(a) && Q(a).length > 1)
1728
- return In({
1565
+ if (Array.isArray(a) && te(a).length > 1)
1566
+ return fn({
1729
1567
  ctx: n,
1730
1568
  controller: t
1731
1569
  });
1732
1570
  const u = n.primaryType;
1733
1571
  if (!u)
1734
- return K({
1572
+ return Z({
1735
1573
  ctx: n,
1736
1574
  controller: t
1737
1575
  });
1738
- if (k(n.definition)) {
1739
- const i = t instanceof re ? t : t.object();
1740
- return Re({
1576
+ if (R(n.definition)) {
1577
+ const i = t instanceof se ? t : t.object();
1578
+ return ke({
1741
1579
  ctx: n,
1742
1580
  controller: i
1743
1581
  });
1744
1582
  }
1745
- if (ge(n.definition)) {
1746
- const i = t instanceof G ? t : t.array();
1747
- return ke({
1583
+ if (be(n.definition)) {
1584
+ const i = t instanceof J ? t : t.array();
1585
+ return Pe({
1748
1586
  ctx: n,
1749
1587
  controller: i
1750
1588
  });
1751
1589
  }
1752
- if (he(n.definition)) {
1753
- const i = t instanceof G ? t : t.array();
1754
- return Ne({
1590
+ if (ve(n.definition)) {
1591
+ const i = t instanceof J ? t : t.array();
1592
+ return qe({
1755
1593
  ctx: n,
1756
1594
  controller: i
1757
1595
  });
1758
1596
  }
1759
- if (be(n.definition)) {
1760
- const i = t instanceof re ? t : t.object();
1761
- return qe({
1597
+ if (xe(n.definition)) {
1598
+ const i = t instanceof se ? t : t.object();
1599
+ return Fe({
1762
1600
  ctx: n,
1763
1601
  controller: i
1764
1602
  });
1765
1603
  }
1766
- if (ve(n.definition)) {
1767
- const i = t instanceof G ? t : t.array();
1768
- return Pe({
1604
+ if ($e(n.definition)) {
1605
+ const i = t instanceof J ? t : t.array();
1606
+ return Le({
1769
1607
  ctx: n,
1770
1608
  controller: i
1771
1609
  });
1772
1610
  }
1773
- if (xe(n.definition))
1774
- return Fe({
1611
+ if (Ie(n.definition))
1612
+ return Ee({
1775
1613
  ctx: n,
1776
1614
  controller: t
1777
1615
  });
1778
1616
  switch (u) {
1779
1617
  case "string":
1780
- return Ie({
1618
+ return we({
1781
1619
  ctx: n,
1782
1620
  controller: t
1783
1621
  });
1784
1622
  case "boolean":
1785
- return we({
1623
+ return je({
1786
1624
  ctx: n,
1787
1625
  controller: t
1788
1626
  });
1789
1627
  case "uuid":
1790
- return De({
1628
+ return Ce({
1791
1629
  ctx: n,
1792
1630
  controller: t
1793
1631
  });
1794
1632
  case "uri":
1795
- return Oe({
1633
+ return Ne({
1796
1634
  ctx: n,
1797
1635
  controller: t
1798
1636
  });
1799
1637
  case "binary":
1800
- return Ce({
1638
+ return Re({
1801
1639
  ctx: n,
1802
1640
  controller: t
1803
1641
  });
1804
1642
  case "null":
1805
- return Tn(n);
1643
+ return yn(n);
1806
1644
  case "any":
1807
- return K({
1645
+ return Z({
1808
1646
  ctx: n,
1809
1647
  controller: t
1810
1648
  });
1811
1649
  default:
1812
- return P(u) ? Ae({
1650
+ return F(u) ? De({
1813
1651
  ctx: n,
1814
1652
  controller: t,
1815
1653
  intType: u
1816
- }) : X(u) ? Me({
1654
+ }) : Q(u) ? Ae({
1817
1655
  ctx: n,
1818
1656
  controller: t,
1819
1657
  floatType: u
1820
- }) : Y(u) ? Se({
1658
+ }) : ee(u) ? Oe({
1821
1659
  ctx: n,
1822
1660
  controller: t,
1823
1661
  temporalType: u
1824
- }) : (console.warn(`Unknown type: ${u}`), jn(n, u));
1662
+ }) : (console.warn(`Unknown type: ${u}`), gn(n, u));
1825
1663
  }
1826
1664
  }
1827
- function wn({
1665
+ function mn({
1828
1666
  schema: e,
1829
1667
  controller: t,
1830
1668
  widgetRegistry: n,
1831
1669
  readOnly: r,
1832
1670
  locale: s
1833
1671
  }) {
1834
- const a = kt(e, {
1672
+ const a = Pt(e, {
1835
1673
  widgetRegistry: n,
1836
1674
  readOnly: r,
1837
1675
  locale: s
1838
1676
  });
1839
1677
  return j({ ctx: a, controller: t });
1840
1678
  }
1841
- function Tn(e) {
1679
+ function yn(e) {
1842
1680
  return p.div(
1843
1681
  m.class("bc-json-structure-placeholder"),
1844
1682
  p.span(`[Null: ${e.label}]`),
1845
1683
  p.em("null")
1846
1684
  );
1847
1685
  }
1848
- function jn(e, t) {
1686
+ function gn(e, t) {
1849
1687
  return p.div(
1850
1688
  m.class("bc-json-structure-unknown"),
1851
1689
  p.span(`Unknown type: ${t}`),
1852
1690
  p.em(`at path: ${e.jsonPath}`)
1853
1691
  );
1854
1692
  }
1855
- function Ee(e, t) {
1856
- return new An(e, t);
1693
+ function Be(e, t) {
1694
+ return new hn(e, t);
1857
1695
  }
1858
- class An {
1696
+ class hn {
1859
1697
  schema;
1860
1698
  options;
1861
1699
  constructor(t, n) {
@@ -1945,7 +1783,7 @@ class An {
1945
1783
  case "any":
1946
1784
  return !0;
1947
1785
  default:
1948
- return P(n) ? this.validateInteger(t, n, r, s, a) : X(n) ? this.validateFloat(t, r, s, a) : Y(n) ? this.validateTemporal(t, n, s, a) : n === "uuid" ? this.validateUuid(t, s, a) : n === "uri" ? this.validateUri(t, s, a) : n === "binary" ? this.validateBinary(t, s, a) : !1;
1786
+ return F(n) ? this.validateInteger(t, n, r, s, a) : Q(n) ? this.validateFloat(t, r, s, a) : ee(n) ? this.validateTemporal(t, n, s, a) : n === "uuid" ? this.validateUuid(t, s, a) : n === "uri" ? this.validateUri(t, s, a) : n === "binary" ? this.validateBinary(t, s, a) : !1;
1949
1787
  }
1950
1788
  }
1951
1789
  validateString(t, n, r, s) {
@@ -1977,8 +1815,8 @@ class An {
1977
1815
  if (typeof t != "number" && typeof t != "bigint") return !1;
1978
1816
  if (typeof t == "number" && !Number.isInteger(t))
1979
1817
  return a.push({ path: s, type: "type", expected: n, actual: "float" }), !1;
1980
- if (P(n)) {
1981
- const u = W[n], i = typeof t == "bigint" ? t : BigInt(Math.round(t));
1818
+ if (F(n)) {
1819
+ const u = z[n], i = typeof t == "bigint" ? t : BigInt(Math.round(t));
1982
1820
  (i < u.min || i > u.max) && a.push({
1983
1821
  path: s,
1984
1822
  type: "integer_bounds",
@@ -2054,7 +1892,7 @@ class An {
2054
1892
  validateObject(t, n, r, s) {
2055
1893
  if (typeof t != "object" || t === null || Array.isArray(t))
2056
1894
  return !1;
2057
- if (!k(n)) return !0;
1895
+ if (!R(n)) return !0;
2058
1896
  const a = t, u = n.required;
2059
1897
  if (u) {
2060
1898
  const i = Array.isArray(u[0]) ? u.flat() : u;
@@ -2090,7 +1928,7 @@ class An {
2090
1928
  }
2091
1929
  validateArray(t, n, r, s) {
2092
1930
  if (!Array.isArray(t)) return !1;
2093
- if (!ge(n)) return !0;
1931
+ if (!be(n)) return !0;
2094
1932
  const a = n;
2095
1933
  a.minItems !== void 0 && t.length < a.minItems && s.push({
2096
1934
  path: r,
@@ -2111,7 +1949,7 @@ class An {
2111
1949
  }
2112
1950
  validateSet(t, n, r, s) {
2113
1951
  if (!Array.isArray(t)) return !1;
2114
- if (!he(n)) return !0;
1952
+ if (!ve(n)) return !0;
2115
1953
  const a = /* @__PURE__ */ new Set();
2116
1954
  for (let u = 0; u < t.length; u++) {
2117
1955
  const i = JSON.stringify(t[u]);
@@ -2126,7 +1964,7 @@ class An {
2126
1964
  validateMap(t, n, r, s) {
2127
1965
  if (typeof t != "object" || t === null || Array.isArray(t))
2128
1966
  return !1;
2129
- if (!be(n)) return !0;
1967
+ if (!xe(n)) return !0;
2130
1968
  const a = t;
2131
1969
  for (const [u, i] of Object.entries(a)) {
2132
1970
  const o = `${r}/${u}`;
@@ -2136,7 +1974,7 @@ class An {
2136
1974
  }
2137
1975
  validateTuple(t, n, r, s) {
2138
1976
  if (!Array.isArray(t)) return !1;
2139
- if (!ve(n)) return !0;
1977
+ if (!$e(n)) return !0;
2140
1978
  const a = n.tuple.length;
2141
1979
  t.length !== a && s.push({
2142
1980
  path: r,
@@ -2153,7 +1991,7 @@ class An {
2153
1991
  validateChoice(t, n, r, s) {
2154
1992
  if (typeof t != "object" || t === null || Array.isArray(t))
2155
1993
  return !1;
2156
- if (!xe(n)) return !0;
1994
+ if (!Ie(n)) return !0;
2157
1995
  const a = t, u = Object.keys(n.choices), i = Object.keys(a).find((c) => u.includes(c));
2158
1996
  if (!i)
2159
1997
  return s.push({
@@ -2171,39 +2009,39 @@ class An {
2171
2009
  ), !0;
2172
2010
  }
2173
2011
  }
2174
- function lr(e, t, n) {
2175
- return Ee(e, n).validate(t);
2012
+ function ir(e, t, n) {
2013
+ return Be(e, n).validate(t);
2176
2014
  }
2177
- function Mn(e, t) {
2178
- const n = Dn(e, t);
2015
+ function bn(e, t) {
2016
+ const n = vn(e, t);
2179
2017
  return {
2180
2018
  path: e.path,
2181
2019
  message: n,
2182
2020
  code: e.type
2183
2021
  };
2184
2022
  }
2185
- function Ue(e, t) {
2023
+ function We(e, t) {
2186
2024
  return e.map((n) => {
2187
2025
  const r = t?.get(n.path);
2188
- return Mn(n, r);
2026
+ return bn(n, r);
2189
2027
  });
2190
2028
  }
2191
- function Dn(e, t) {
2029
+ function vn(e, t) {
2192
2030
  switch (e.type) {
2193
2031
  // Type errors
2194
2032
  case "type":
2195
- return `Expected ${ce(e.expected)}, got ${Sn(e.actual)}`;
2033
+ return `Expected ${pe(e.expected)}, got ${xn(e.actual)}`;
2196
2034
  case "type_mismatch":
2197
- return `Value must be of type ${ce(e.expected)}`;
2035
+ return `Value must be of type ${pe(e.expected)}`;
2198
2036
  // String validation
2199
2037
  case "minLength":
2200
2038
  return `Must be at least ${e.expected} characters`;
2201
2039
  case "maxLength":
2202
2040
  return `Must be no more than ${e.expected} characters`;
2203
2041
  case "pattern":
2204
- return On(e, t);
2042
+ return $n(e, t);
2205
2043
  case "format":
2206
- return Cn(e);
2044
+ return In(e);
2207
2045
  // Numeric validation
2208
2046
  case "minimum":
2209
2047
  return `Must be at least ${e.expected}`;
@@ -2216,7 +2054,7 @@ function Dn(e, t) {
2216
2054
  case "multipleOf":
2217
2055
  return `Must be a multiple of ${e.expected}`;
2218
2056
  case "integer_bounds":
2219
- return Rn(e);
2057
+ return Tn(e);
2220
2058
  // Array/Set validation
2221
2059
  case "minItems":
2222
2060
  return `Must have at least ${e.expected} items`;
@@ -2240,10 +2078,10 @@ function Dn(e, t) {
2240
2078
  case "additionalProperties":
2241
2079
  return `Unknown property: ${e.actual}`;
2242
2080
  case "dependentRequired":
2243
- return kn(e);
2081
+ return wn(e);
2244
2082
  // Enum/Const validation
2245
2083
  case "enum":
2246
- return Nn(e);
2084
+ return jn(e);
2247
2085
  case "const":
2248
2086
  return `Must be exactly ${JSON.stringify(e.expected)}`;
2249
2087
  // Reference errors
@@ -2258,13 +2096,13 @@ function Dn(e, t) {
2258
2096
  return e.context?.message ?? `Validation error: ${e.type}`;
2259
2097
  }
2260
2098
  }
2261
- function ce(e) {
2262
- return typeof e == "string" ? le(e) : Array.isArray(e) ? e.map(le).join(" or ") : String(e);
2099
+ function pe(e) {
2100
+ return typeof e == "string" ? de(e) : Array.isArray(e) ? e.map(de).join(" or ") : String(e);
2263
2101
  }
2264
- function Sn(e) {
2102
+ function xn(e) {
2265
2103
  return e === null ? "null" : e === void 0 ? "undefined" : typeof e;
2266
2104
  }
2267
- function le(e) {
2105
+ function de(e) {
2268
2106
  return {
2269
2107
  string: "text",
2270
2108
  boolean: "true/false",
@@ -2298,7 +2136,7 @@ function le(e) {
2298
2136
  null: "empty"
2299
2137
  }[e] ?? e;
2300
2138
  }
2301
- function On(e, t) {
2139
+ function $n(e, t) {
2302
2140
  const n = t?.description;
2303
2141
  if (n && e.type === "pattern")
2304
2142
  return `Does not match required format: ${n}`;
@@ -2317,7 +2155,7 @@ function On(e, t) {
2317
2155
  }
2318
2156
  return "Does not match required format";
2319
2157
  }
2320
- function Cn(e) {
2158
+ function In(e) {
2321
2159
  const t = e.expected;
2322
2160
  return {
2323
2161
  email: "Must be a valid email address",
@@ -2334,23 +2172,23 @@ function Cn(e) {
2334
2172
  "json-pointer": "Must be a valid JSON pointer"
2335
2173
  }[t] ?? `Must be a valid ${t}`;
2336
2174
  }
2337
- function Rn(e) {
2175
+ function Tn(e) {
2338
2176
  const t = e.context?.type;
2339
- if (t && P(t)) {
2340
- const n = W[t];
2177
+ if (t && F(t)) {
2178
+ const n = z[t];
2341
2179
  return `Must be between ${n.min} and ${n.max}`;
2342
2180
  }
2343
2181
  return "Value is out of range for this integer type";
2344
2182
  }
2345
- function kn(e) {
2183
+ function wn(e) {
2346
2184
  const t = e.context?.dependent, n = e.context?.required;
2347
2185
  return t && n?.length ? `When "${t}" is present, "${n.join('", "')}" must also be provided` : "Missing required dependent fields";
2348
2186
  }
2349
- function Nn(e) {
2187
+ function jn(e) {
2350
2188
  const t = e.expected;
2351
2189
  return t && t.length <= 5 ? `Must be one of: ${t.map((r) => JSON.stringify(r)).join(", ")}` : "Invalid value";
2352
2190
  }
2353
- function pr(e) {
2191
+ function sr(e) {
2354
2192
  const t = /* @__PURE__ */ new Map();
2355
2193
  for (const n of e) {
2356
2194
  const r = t.get(n.path) ?? [];
@@ -2358,17 +2196,17 @@ function pr(e) {
2358
2196
  }
2359
2197
  return t;
2360
2198
  }
2361
- function dr(e, t) {
2199
+ function ar(e, t) {
2362
2200
  return e.filter((n) => n.path === t);
2363
2201
  }
2364
- function fr(e, t) {
2202
+ function ur(e, t) {
2365
2203
  return e.some((n) => n.path === t);
2366
2204
  }
2367
- function mr(e, t) {
2205
+ function or(e, t) {
2368
2206
  const n = t === "" ? "/" : `${t}/`;
2369
2207
  return e.filter((r) => r.path.startsWith(n));
2370
2208
  }
2371
- class _ {
2209
+ class G {
2372
2210
  registrations = /* @__PURE__ */ new Map();
2373
2211
  parent;
2374
2212
  constructor(t) {
@@ -2434,20 +2272,20 @@ class _ {
2434
2272
  return a && t.supportedFormats?.includes(a) && (r += 30), r += t.priority ?? 0, r;
2435
2273
  }
2436
2274
  createChild() {
2437
- return new _(this);
2275
+ return new G(this);
2438
2276
  }
2439
2277
  }
2440
- let L = null;
2441
- function F() {
2442
- return L || (L = new _()), L;
2278
+ let V = null;
2279
+ function E() {
2280
+ return V || (V = new G()), V;
2443
2281
  }
2444
- function yr(e) {
2445
- L = e;
2282
+ function cr(e) {
2283
+ V = e;
2446
2284
  }
2447
- function gr(e) {
2448
- return new _(e);
2285
+ function lr(e) {
2286
+ return new G(e);
2449
2287
  }
2450
- function hr(e, t, n) {
2288
+ function pr(e, t, n) {
2451
2289
  return {
2452
2290
  name: `type:${e}`,
2453
2291
  registration: {
@@ -2460,7 +2298,7 @@ function hr(e, t, n) {
2460
2298
  }
2461
2299
  };
2462
2300
  }
2463
- function br(e, t, n) {
2301
+ function dr(e, t, n) {
2464
2302
  return {
2465
2303
  name: `format:${e}`,
2466
2304
  registration: {
@@ -2474,7 +2312,7 @@ function br(e, t, n) {
2474
2312
  }
2475
2313
  };
2476
2314
  }
2477
- function vr(e, t, n, r) {
2315
+ function fr(e, t, n, r) {
2478
2316
  return {
2479
2317
  name: `type:${e}:format:${t}`,
2480
2318
  registration: {
@@ -2489,7 +2327,7 @@ function vr(e, t, n, r) {
2489
2327
  }
2490
2328
  };
2491
2329
  }
2492
- function xr(e, t, n, r) {
2330
+ function mr(e, t, n, r) {
2493
2331
  return {
2494
2332
  name: e,
2495
2333
  registration: {
@@ -2503,15 +2341,15 @@ function xr(e, t, n, r) {
2503
2341
  }
2504
2342
  };
2505
2343
  }
2506
- function qn(e, t) {
2344
+ function Mn(e, t) {
2507
2345
  if (t) {
2508
2346
  const r = t.findBestWidget(e);
2509
2347
  if (r)
2510
2348
  return r;
2511
2349
  }
2512
- return F().findBestWidget(e);
2350
+ return E().findBestWidget(e);
2513
2351
  }
2514
- function $r(e) {
2352
+ function yr(e) {
2515
2353
  const t = e.definition, n = {};
2516
2354
  if (typeof t == "object" && "x:ui" in t) {
2517
2355
  const r = t["x:ui"];
@@ -2526,7 +2364,7 @@ function $r(e) {
2526
2364
  }
2527
2365
  return Object.keys(n).length > 0 ? n : void 0;
2528
2366
  }
2529
- function Be(e) {
2367
+ function _e(e) {
2530
2368
  const t = e.definition;
2531
2369
  if (typeof t == "object" && "x:ui" in t) {
2532
2370
  const n = t["x:ui"];
@@ -2539,18 +2377,18 @@ function Be(e) {
2539
2377
  return n.type;
2540
2378
  }
2541
2379
  }
2542
- function Ir(e) {
2543
- return Be(e) !== void 0;
2380
+ function gr(e) {
2381
+ return _e(e) !== void 0;
2544
2382
  }
2545
- function wr(e, t) {
2546
- const n = Be(e);
2383
+ function hr(e, t) {
2384
+ const n = _e(e);
2547
2385
  if (n) {
2548
2386
  if (t) {
2549
2387
  const a = t.get(n);
2550
2388
  if (a)
2551
2389
  return { name: n, registration: a };
2552
2390
  }
2553
- const s = F().get(n);
2391
+ const s = E().get(n);
2554
2392
  if (s)
2555
2393
  return { name: n, registration: s };
2556
2394
  console.warn(
@@ -2558,18 +2396,18 @@ function wr(e, t) {
2558
2396
  { path: e.jsonPath }
2559
2397
  );
2560
2398
  }
2561
- return qn(e, t);
2399
+ return Mn(e, t);
2562
2400
  }
2563
- function Tr(e, t, n) {
2401
+ function br(e, t, n) {
2564
2402
  return {
2565
2403
  ...e,
2566
2404
  ...t,
2567
2405
  ...n
2568
2406
  };
2569
2407
  }
2570
- function Pn(e = F()) {
2408
+ function Sn(e = E()) {
2571
2409
  e.register("string", {
2572
- factory: ({ controller: i, ctx: o }) => Ie({
2410
+ factory: ({ controller: i, ctx: o }) => we({
2573
2411
  ctx: o,
2574
2412
  controller: i
2575
2413
  }),
@@ -2579,7 +2417,7 @@ function Pn(e = F()) {
2579
2417
  priority: 0,
2580
2418
  canFallback: !0
2581
2419
  }), e.register("boolean", {
2582
- factory: ({ controller: i, ctx: o }) => we({
2420
+ factory: ({ controller: i, ctx: o }) => je({
2583
2421
  ctx: o,
2584
2422
  controller: i
2585
2423
  }),
@@ -2589,7 +2427,7 @@ function Pn(e = F()) {
2589
2427
  priority: 0,
2590
2428
  canFallback: !0
2591
2429
  }), e.register("uuid", {
2592
- factory: ({ controller: i, ctx: o }) => De({
2430
+ factory: ({ controller: i, ctx: o }) => Ce({
2593
2431
  ctx: o,
2594
2432
  controller: i
2595
2433
  }),
@@ -2599,7 +2437,7 @@ function Pn(e = F()) {
2599
2437
  priority: 0,
2600
2438
  canFallback: !0
2601
2439
  }), e.register("uri", {
2602
- factory: ({ controller: i, ctx: o }) => Oe({
2440
+ factory: ({ controller: i, ctx: o }) => Ne({
2603
2441
  ctx: o,
2604
2442
  controller: i
2605
2443
  }),
@@ -2609,7 +2447,7 @@ function Pn(e = F()) {
2609
2447
  priority: 0,
2610
2448
  canFallback: !0
2611
2449
  }), e.register("binary", {
2612
- factory: ({ controller: i, ctx: o }) => Ce({
2450
+ factory: ({ controller: i, ctx: o }) => Re({
2613
2451
  ctx: o,
2614
2452
  controller: i
2615
2453
  }),
@@ -2619,7 +2457,7 @@ function Pn(e = F()) {
2619
2457
  priority: 0,
2620
2458
  canFallback: !0
2621
2459
  }), e.register("any", {
2622
- factory: ({ controller: i, ctx: o }) => K({
2460
+ factory: ({ controller: i, ctx: o }) => Z({
2623
2461
  ctx: o,
2624
2462
  controller: i
2625
2463
  }),
@@ -2640,7 +2478,7 @@ function Pn(e = F()) {
2640
2478
  "uint32",
2641
2479
  "uint64",
2642
2480
  "uint128"
2643
- ], n = ({ controller: i, ctx: o }) => Ae({
2481
+ ], n = ({ controller: i, ctx: o }) => De({
2644
2482
  ctx: o,
2645
2483
  controller: i,
2646
2484
  intType: o.primaryType
@@ -2654,7 +2492,7 @@ function Pn(e = F()) {
2654
2492
  priority: 0,
2655
2493
  canFallback: !0
2656
2494
  });
2657
- const r = ["float", "double", "decimal"], s = ({ controller: i, ctx: o }) => Me({
2495
+ const r = ["float", "double", "decimal"], s = ({ controller: i, ctx: o }) => Ae({
2658
2496
  ctx: o,
2659
2497
  controller: i,
2660
2498
  floatType: o.primaryType
@@ -2668,7 +2506,7 @@ function Pn(e = F()) {
2668
2506
  priority: 0,
2669
2507
  canFallback: !0
2670
2508
  });
2671
- const a = ["date", "datetime", "time", "duration"], u = ({ controller: i, ctx: o }) => Se({
2509
+ const a = ["date", "datetime", "time", "duration"], u = ({ controller: i, ctx: o }) => Oe({
2672
2510
  ctx: o,
2673
2511
  controller: i,
2674
2512
  temporalType: o.primaryType
@@ -2683,7 +2521,7 @@ function Pn(e = F()) {
2683
2521
  canFallback: !0
2684
2522
  });
2685
2523
  e.register("object", {
2686
- factory: ({ controller: i, ctx: o }) => Re({
2524
+ factory: ({ controller: i, ctx: o }) => ke({
2687
2525
  ctx: o,
2688
2526
  controller: i
2689
2527
  }),
@@ -2693,7 +2531,7 @@ function Pn(e = F()) {
2693
2531
  priority: 0,
2694
2532
  canFallback: !0
2695
2533
  }), e.register("array", {
2696
- factory: ({ controller: i, ctx: o }) => ke({
2534
+ factory: ({ controller: i, ctx: o }) => Pe({
2697
2535
  ctx: o,
2698
2536
  controller: i
2699
2537
  }),
@@ -2703,7 +2541,7 @@ function Pn(e = F()) {
2703
2541
  priority: 0,
2704
2542
  canFallback: !0
2705
2543
  }), e.register("set", {
2706
- factory: ({ controller: i, ctx: o }) => Ne({
2544
+ factory: ({ controller: i, ctx: o }) => qe({
2707
2545
  ctx: o,
2708
2546
  controller: i
2709
2547
  }),
@@ -2713,7 +2551,7 @@ function Pn(e = F()) {
2713
2551
  priority: 0,
2714
2552
  canFallback: !0
2715
2553
  }), e.register("map", {
2716
- factory: ({ controller: i, ctx: o }) => qe({
2554
+ factory: ({ controller: i, ctx: o }) => Fe({
2717
2555
  ctx: o,
2718
2556
  controller: i
2719
2557
  }),
@@ -2723,7 +2561,7 @@ function Pn(e = F()) {
2723
2561
  priority: 0,
2724
2562
  canFallback: !0
2725
2563
  }), e.register("tuple", {
2726
- factory: ({ controller: i, ctx: o }) => Pe({
2564
+ factory: ({ controller: i, ctx: o }) => Le({
2727
2565
  ctx: o,
2728
2566
  controller: i
2729
2567
  }),
@@ -2733,7 +2571,7 @@ function Pn(e = F()) {
2733
2571
  priority: 0,
2734
2572
  canFallback: !0
2735
2573
  }), e.register("choice", {
2736
- factory: ({ controller: i, ctx: o }) => Fe({
2574
+ factory: ({ controller: i, ctx: o }) => Ee({
2737
2575
  ctx: o,
2738
2576
  controller: i
2739
2577
  }),
@@ -2743,7 +2581,7 @@ function Pn(e = F()) {
2743
2581
  priority: 0,
2744
2582
  canFallback: !0
2745
2583
  }), e.register("enum", {
2746
- factory: ({ controller: i, ctx: o }) => Le({
2584
+ factory: ({ controller: i, ctx: o }) => Ve({
2747
2585
  ctx: o,
2748
2586
  controller: i
2749
2587
  }),
@@ -2754,7 +2592,7 @@ function Pn(e = F()) {
2754
2592
  canFallback: !1,
2755
2593
  matcher: (i) => i.hasEnum
2756
2594
  }), e.register("const", {
2757
- factory: ({ controller: i, ctx: o }) => Ve({
2595
+ factory: ({ controller: i, ctx: o }) => Ue({
2758
2596
  ctx: o,
2759
2597
  controller: i
2760
2598
  }),
@@ -2766,71 +2604,74 @@ function Pn(e = F()) {
2766
2604
  matcher: (i) => i.hasConst
2767
2605
  });
2768
2606
  }
2769
- function Fn(e = F()) {
2607
+ function Dn(e = E()) {
2770
2608
  return e.has("string") && e.has("object") && e.has("array");
2771
2609
  }
2772
- function jr(e = F()) {
2773
- Fn(e) || Pn(e);
2610
+ function vr(e = E()) {
2611
+ Dn(e) || Sn(e);
2774
2612
  }
2775
- function Ln(e) {
2613
+ function An(e) {
2776
2614
  let t = e;
2777
2615
  if (e.$root) {
2778
- const n = N(e.$root, e);
2616
+ const n = k(e.$root, e);
2779
2617
  n && (t = n);
2780
2618
  }
2781
- return M(t, e, /* @__PURE__ */ new Set());
2619
+ return S(t, e, /* @__PURE__ */ new Set());
2782
2620
  }
2783
- function M(e, t, n) {
2784
- if (e.type && C(e.type)) {
2621
+ function S(e, t, n) {
2622
+ if (e.type && O(e.type)) {
2785
2623
  const r = e.type.$ref;
2786
2624
  if (n.has(r))
2787
2625
  return;
2788
2626
  n.add(r);
2789
- const s = N(r, t);
2790
- if (s) {
2791
- const a = {
2792
- ...s,
2793
- ...e,
2794
- type: s.type
2795
- // Use resolved type, not the ref
2796
- }, u = M(a, t, n);
2797
- return n.delete(r), u;
2627
+ try {
2628
+ const s = k(r, t);
2629
+ if (s) {
2630
+ const a = {
2631
+ ...s,
2632
+ ...e,
2633
+ type: s.type
2634
+ // Use resolved type, not the ref
2635
+ };
2636
+ return S(a, t, n);
2637
+ }
2638
+ return;
2639
+ } finally {
2640
+ n.delete(r);
2798
2641
  }
2799
- n.delete(r);
2800
- return;
2801
2642
  }
2802
- 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);
2643
+ 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] : Un(e) ? null : Cn(e, t, n);
2803
2644
  }
2804
- function Vn(e, t, n) {
2805
- const r = We(e);
2806
- if (k(e))
2807
- return Un(e, t, n);
2645
+ function Cn(e, t, n) {
2646
+ const r = ze(e);
2647
+ if (R(e))
2648
+ return Nn(e, t, n);
2808
2649
  if (r === "choice" && "choices" in e)
2809
- return Bn(e, t, n);
2650
+ return Rn(e, t, n);
2810
2651
  if (r === "tuple" && "tuple" in e && "properties" in e)
2811
- return Wn(e, t, n);
2652
+ return kn(e, t, n);
2812
2653
  if (r === "array")
2813
- return _n(e, t, n);
2654
+ return Pn(e, t, n);
2814
2655
  if (r === "set")
2815
- return zn(e, t, n);
2656
+ return qn(e, t, n);
2816
2657
  if (r === "map")
2817
2658
  return {};
2818
2659
  if (r === "string")
2819
- return Gn(e);
2820
- if (Xn(r))
2821
- return Kn(e);
2822
- if (Yn(r))
2823
- return Jn(e);
2660
+ return Fn(e);
2661
+ if (Bn(r))
2662
+ return Ln(e);
2663
+ if (Wn(r))
2664
+ return En(e);
2824
2665
  if (r === "boolean")
2825
2666
  return !1;
2826
2667
  if (r === "null")
2827
2668
  return null;
2828
- if (Qn(r))
2829
- return Zn(r);
2669
+ if (_n(r))
2670
+ return Vn(r);
2830
2671
  if (r === "uuid" || r === "uri" || r === "uri-reference" || r === "binary" || r === "bytes")
2831
2672
  return "";
2832
2673
  }
2833
- function En(e) {
2674
+ function On(e) {
2834
2675
  if (!e || e.length === 0)
2835
2676
  return /* @__PURE__ */ new Set();
2836
2677
  if (Array.isArray(e[0])) {
@@ -2839,34 +2680,37 @@ function En(e) {
2839
2680
  }
2840
2681
  return new Set(e);
2841
2682
  }
2842
- function Un(e, t, n) {
2843
- if (!k(e))
2683
+ function Nn(e, t, n) {
2684
+ if (!R(e))
2844
2685
  return {};
2845
- const r = En(e.required), s = {};
2686
+ const r = On(e.required), s = {};
2846
2687
  for (const [a, u] of Object.entries(e.properties))
2847
2688
  if (r.has(a))
2848
- if (u.type && C(u.type)) {
2689
+ if (u.type && O(u.type)) {
2849
2690
  const i = u.type.$ref;
2850
2691
  if (n.has(i))
2851
2692
  continue;
2852
2693
  n.add(i);
2853
- const o = N(i, t);
2854
- if (o) {
2855
- const c = {
2856
- ...o,
2857
- ...u,
2858
- type: o.type
2859
- }, l = M(c, t, n);
2860
- l !== void 0 && (s[a] = l);
2694
+ try {
2695
+ const o = k(i, t);
2696
+ if (o) {
2697
+ const c = {
2698
+ ...o,
2699
+ ...u,
2700
+ type: o.type
2701
+ }, l = S(c, t, n);
2702
+ l !== void 0 && (s[a] = l);
2703
+ }
2704
+ } finally {
2705
+ n.delete(i);
2861
2706
  }
2862
- n.delete(i);
2863
2707
  } else {
2864
- const i = M(u, t, n);
2708
+ const i = S(u, t, n);
2865
2709
  i !== void 0 && (s[a] = i);
2866
2710
  }
2867
2711
  return s;
2868
2712
  }
2869
- function Bn(e, t, n) {
2713
+ function Rn(e, t, n) {
2870
2714
  if (!("choices" in e))
2871
2715
  return;
2872
2716
  const r = e.choices, s = Object.keys(r);
@@ -2874,7 +2718,7 @@ function Bn(e, t, n) {
2874
2718
  return;
2875
2719
  const a = s[0], u = r[a];
2876
2720
  if ("selector" in e && e.selector) {
2877
- const o = e.selector, c = M(u, t, n);
2721
+ const o = e.selector, c = S(u, t, n);
2878
2722
  return typeof c == "object" && c !== null ? {
2879
2723
  [o]: a,
2880
2724
  ...c
@@ -2882,10 +2726,10 @@ function Bn(e, t, n) {
2882
2726
  [o]: a
2883
2727
  };
2884
2728
  }
2885
- const i = M(u, t, n);
2729
+ const i = S(u, t, n);
2886
2730
  return { [a]: i };
2887
2731
  }
2888
- function Wn(e, t, n) {
2732
+ function kn(e, t, n) {
2889
2733
  if (!("tuple" in e) || !("properties" in e))
2890
2734
  return {};
2891
2735
  const r = e.tuple, s = e.properties, a = new Set(
@@ -2896,38 +2740,38 @@ function Wn(e, t, n) {
2896
2740
  continue;
2897
2741
  const o = s[i];
2898
2742
  if (o) {
2899
- const c = M(o, t, n);
2743
+ const c = S(o, t, n);
2900
2744
  c !== void 0 && (u[i] = c);
2901
2745
  }
2902
2746
  }
2903
2747
  return u;
2904
2748
  }
2905
- function _n(e, t, n) {
2749
+ function Pn(e, t, n) {
2906
2750
  const r = ("minItems" in e ? e.minItems : 0) ?? 0;
2907
2751
  if (r === 0)
2908
2752
  return [];
2909
2753
  const s = "items" in e ? e.items : void 0;
2910
2754
  if (!s)
2911
2755
  return Array(r).fill(null);
2912
- const a = M(s, t, n);
2756
+ const a = S(s, t, n);
2913
2757
  return Array(r).fill(a ?? null);
2914
2758
  }
2915
- function zn(e, t, n) {
2759
+ function qn(e, t, n) {
2916
2760
  const r = ("minItems" in e ? e.minItems : 0) ?? 0;
2917
2761
  if (r === 0)
2918
2762
  return [];
2919
2763
  const s = "items" in e ? e.items : void 0;
2920
2764
  if (!s)
2921
2765
  return Array(r).fill(null);
2922
- const a = M(s, t, n);
2766
+ const a = S(s, t, n);
2923
2767
  return Array(r).fill(a ?? null);
2924
2768
  }
2925
- function Gn(e) {
2769
+ function Fn(e) {
2926
2770
  switch ("format" in e ? e.format : void 0) {
2927
2771
  case "date":
2928
- return _e();
2772
+ return Ge();
2929
2773
  case "date-time":
2930
- return ze();
2774
+ return Ke();
2931
2775
  case "time":
2932
2776
  return "00:00:00";
2933
2777
  case "email":
@@ -2938,8 +2782,8 @@ function Gn(e) {
2938
2782
  return "";
2939
2783
  }
2940
2784
  }
2941
- function Kn(e) {
2942
- const t = We(e), n = t === "int64" || t === "uint64" || t === "int128" || t === "uint128";
2785
+ function Ln(e) {
2786
+ const t = ze(e), n = t === "int64" || t === "uint64" || t === "int128" || t === "uint128";
2943
2787
  let r = "minimum" in e ? e.minimum : void 0, s = "maximum" in e ? e.maximum : void 0;
2944
2788
  const a = "exclusiveMinimum" in e ? e.exclusiveMinimum : void 0, u = "exclusiveMaximum" in e ? e.exclusiveMaximum : void 0;
2945
2789
  a !== void 0 && (r = a + 1), u !== void 0 && (s = u - 1);
@@ -2948,7 +2792,7 @@ function Kn(e) {
2948
2792
  const o = "multipleOf" in e ? e.multipleOf : void 0;
2949
2793
  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);
2950
2794
  }
2951
- function Jn(e) {
2795
+ function En(e) {
2952
2796
  let t = "minimum" in e ? e.minimum : void 0, n = "maximum" in e ? e.maximum : void 0;
2953
2797
  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;
2954
2798
  r !== void 0 && (t = r + a), s !== void 0 && (n = s - a);
@@ -2957,26 +2801,26 @@ function Jn(e) {
2957
2801
  const i = "multipleOf" in e ? e.multipleOf : void 0;
2958
2802
  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;
2959
2803
  }
2960
- function Zn(e) {
2804
+ function Vn(e) {
2961
2805
  switch (e) {
2962
2806
  case "date":
2963
- return _e();
2807
+ return Ge();
2964
2808
  case "time":
2965
2809
  return "00:00:00";
2966
2810
  case "datetime":
2967
- return ze();
2811
+ return Ke();
2968
2812
  case "duration":
2969
2813
  return "PT0S";
2970
2814
  default:
2971
2815
  return "";
2972
2816
  }
2973
2817
  }
2974
- function Hn(e) {
2818
+ function Un(e) {
2975
2819
  return Array.isArray(e.type) ? e.type.some(
2976
2820
  (t) => typeof t == "string" ? t === "null" : !1
2977
2821
  ) : !1;
2978
2822
  }
2979
- function We(e) {
2823
+ function ze(e) {
2980
2824
  const t = e.type;
2981
2825
  if (typeof t == "string")
2982
2826
  return t;
@@ -2986,7 +2830,7 @@ function We(e) {
2986
2830
  return n;
2987
2831
  }
2988
2832
  }
2989
- function Xn(e) {
2833
+ function Bn(e) {
2990
2834
  return e ? [
2991
2835
  "int8",
2992
2836
  "int16",
@@ -3000,22 +2844,22 @@ function Xn(e) {
3000
2844
  "uint128"
3001
2845
  ].includes(e) : !1;
3002
2846
  }
3003
- function Yn(e) {
2847
+ function Wn(e) {
3004
2848
  return e ? ["float", "double", "decimal"].includes(e) : !1;
3005
2849
  }
3006
- function Qn(e) {
2850
+ function _n(e) {
3007
2851
  return e ? ["date", "time", "datetime", "duration"].includes(e) : !1;
3008
2852
  }
3009
- function _e() {
2853
+ function Ge() {
3010
2854
  return (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
3011
2855
  }
3012
- function ze() {
2856
+ function Ke() {
3013
2857
  return (/* @__PURE__ */ new Date()).toISOString();
3014
2858
  }
3015
- function er(e) {
2859
+ function zn(e) {
3016
2860
  if (e.isValid)
3017
- return ie.valid;
3018
- const t = Ue(e.errors), n = /* @__PURE__ */ new Map();
2861
+ return ae.valid;
2862
+ const t = We(e.errors), n = /* @__PURE__ */ new Map();
3019
2863
  for (const u of t) {
3020
2864
  const i = n.get(u.path) || [];
3021
2865
  i.push(u), n.set(u.path, i);
@@ -3046,9 +2890,9 @@ function er(e) {
3046
2890
  a[c] = r(l, i);
3047
2891
  }
3048
2892
  }
3049
- return Object.keys(a).length > 0 && (s.dependencies = a), ie.invalid(s);
2893
+ return Object.keys(a).length > 0 && (s.dependencies = a), ae.invalid(s);
3050
2894
  }
3051
- function Ar({
2895
+ function xr({
3052
2896
  schema: e,
3053
2897
  initialValue: t,
3054
2898
  validationMode: n,
@@ -3060,30 +2904,30 @@ function Ar({
3060
2904
  onValidate: o,
3061
2905
  applySchemaDefaults: c = !0
3062
2906
  }, l) {
3063
- const y = t !== void 0 ? I.get(t) : void 0, h = Ln(e);
2907
+ const y = t !== void 0 ? I.get(t) : void 0, h = An(e);
3064
2908
  let f;
3065
- t === void 0 ? f = h ?? {} : c ? f = rt(
2909
+ t === void 0 ? f = h ?? {} : c ? f = lt(
3066
2910
  h,
3067
2911
  y
3068
2912
  ) : f = y;
3069
- const g = Ee(e), d = n ?? "onTouched", v = (R) => {
3070
- const x = g.validate(R);
2913
+ const g = Be(e), d = n ?? "onTouched", v = (N) => {
2914
+ const x = g.validate(N);
3071
2915
  if (o && !x.isValid) {
3072
- const O = Ue(x.errors);
3073
- o(O);
2916
+ const C = We(x.errors);
2917
+ o(C);
3074
2918
  }
3075
- return er(x);
3076
- }, { controller: $, setStatus: A } = ct({
2919
+ return zn(x);
2920
+ }, { controller: $, setStatus: M } = et({
3077
2921
  initialValue: f,
3078
2922
  validationMode: d,
3079
2923
  validateDebounceMs: r,
3080
2924
  validate: d === "onSubmit" ? void 0 : v,
3081
2925
  onChange: i
3082
- }), S = H(
3083
- at(() => {
2926
+ }), A = X(
2927
+ Ye(() => {
3084
2928
  $.dispose();
3085
2929
  }),
3086
- wn({
2930
+ mn({
3087
2931
  schema: e,
3088
2932
  controller: $,
3089
2933
  widgetRegistry: s,
@@ -3091,67 +2935,67 @@ function Ar({
3091
2935
  locale: u
3092
2936
  })
3093
2937
  );
3094
- return l({ Form: S, controller: $, setStatus: A });
2938
+ return l({ Form: A, controller: $, setStatus: M });
3095
2939
  }
3096
2940
  export {
3097
- _ as DefaultWidgetRegistry,
3098
- W as INTEGER_BOUNDS,
3099
- Ar as JSONStructureForm,
3100
- Rt as RefResolver,
3101
- te as StructureContext,
3102
- wn as StructureControl,
2941
+ G as DefaultWidgetRegistry,
2942
+ z as INTEGER_BOUNDS,
2943
+ xr as JSONStructureForm,
2944
+ kt as RefResolver,
2945
+ re as StructureContext,
2946
+ mn as StructureControl,
3103
2947
  j as StructureGenericControl,
3104
- cr as createExtendsResolver,
3105
- ee as createRefResolver,
3106
- kt as createStructureContext,
3107
- Ee as createValidator,
3108
- gr as createWidgetRegistry,
3109
- jr as ensureDefaultWidgets,
3110
- Ln as extractStructureDefaults,
3111
- br as forFormat,
3112
- xr as forMatcher,
3113
- hr as forType,
3114
- vr as forTypeAndFormat,
3115
- Mn as formatValidationError,
3116
- Ue as formatValidationErrors,
3117
- mr as getChildErrors,
3118
- dr as getErrorsForPath,
3119
- Be as getExplicitWidgetName,
3120
- F as getGlobalWidgetRegistry,
3121
- Q as getNonNullTypes,
3122
- se as getResolvedType,
3123
- $r as getWidgetOptions,
3124
- pr as groupErrorsByPath,
3125
- Dt as hasConstValue,
3126
- Ir as hasCustomWidget,
3127
- Fn as hasDefaultWidgets,
3128
- Mt as hasEnumValue,
3129
- fr as hasErrorsAtPath,
3130
- ge as isArrayTypeDefinition,
3131
- It as isBigIntType,
3132
- xe as isChoiceTypeDefinition,
3133
- ur as isCompoundType,
3134
- X as isFloatType,
3135
- P as isIntegerType,
3136
- be as isMapTypeDefinition,
3137
- jt as isNamespace,
3138
- St as isNullableType,
3139
- wt as isNumericType,
3140
- k as isObjectTypeDefinition,
3141
- Tt as isPrimitiveType,
3142
- he as isSetTypeDefinition,
3143
- Y as isTemporalType,
3144
- ve as isTupleTypeDefinition,
3145
- At as isTypeDefinition,
3146
- C as isTypeReference,
3147
- Tr as mergeWidgetOptions,
3148
- Ot as parseRefPath,
3149
- Pn as registerDefaultWidgets,
3150
- $e as resolveExtends,
3151
- N as resolveRef,
3152
- or as resolveTypeReference,
3153
- qn as resolveWidget,
3154
- wr as resolveWidgetWithOverride,
3155
- yr as setGlobalWidgetRegistry,
3156
- lr as validate
2948
+ rr as createExtendsResolver,
2949
+ ne as createRefResolver,
2950
+ Pt as createStructureContext,
2951
+ Be as createValidator,
2952
+ lr as createWidgetRegistry,
2953
+ vr as ensureDefaultWidgets,
2954
+ An as extractStructureDefaults,
2955
+ dr as forFormat,
2956
+ mr as forMatcher,
2957
+ pr as forType,
2958
+ fr as forTypeAndFormat,
2959
+ bn as formatValidationError,
2960
+ We as formatValidationErrors,
2961
+ or as getChildErrors,
2962
+ ar as getErrorsForPath,
2963
+ _e as getExplicitWidgetName,
2964
+ E as getGlobalWidgetRegistry,
2965
+ te as getNonNullTypes,
2966
+ ue as getResolvedType,
2967
+ yr as getWidgetOptions,
2968
+ sr as groupErrorsByPath,
2969
+ Ct as hasConstValue,
2970
+ gr as hasCustomWidget,
2971
+ Dn as hasDefaultWidgets,
2972
+ At as hasEnumValue,
2973
+ ur as hasErrorsAtPath,
2974
+ be as isArrayTypeDefinition,
2975
+ wt as isBigIntType,
2976
+ Ie as isChoiceTypeDefinition,
2977
+ tr as isCompoundType,
2978
+ Q as isFloatType,
2979
+ F as isIntegerType,
2980
+ xe as isMapTypeDefinition,
2981
+ St as isNamespace,
2982
+ Ot as isNullableType,
2983
+ jt as isNumericType,
2984
+ R as isObjectTypeDefinition,
2985
+ Mt as isPrimitiveType,
2986
+ ve as isSetTypeDefinition,
2987
+ ee as isTemporalType,
2988
+ $e as isTupleTypeDefinition,
2989
+ Dt as isTypeDefinition,
2990
+ O as isTypeReference,
2991
+ br as mergeWidgetOptions,
2992
+ Nt as parseRefPath,
2993
+ Sn as registerDefaultWidgets,
2994
+ Te as resolveExtends,
2995
+ k as resolveRef,
2996
+ nr as resolveTypeReference,
2997
+ Mn as resolveWidget,
2998
+ hr as resolveWidgetWithOverride,
2999
+ cr as setGlobalWidgetRegistry,
3000
+ ir as validate
3157
3001
  };