@cloudflare/kumo 1.7.0 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/ai/component-registry.json +146 -70
  3. package/ai/component-registry.md +178 -46
  4. package/ai/schemas.ts +11 -8
  5. package/dist/.build-complete +1 -1
  6. package/dist/ai/schemas.d.ts +54 -44
  7. package/dist/ai/schemas.d.ts.map +1 -1
  8. package/dist/banner-BKDBfLHA.js +75 -0
  9. package/dist/banner-BKDBfLHA.js.map +1 -0
  10. package/dist/catalog.js +1 -1
  11. package/dist/{checkbox-Dt8iSNOg.js → checkbox-CfFoTNFI.js} +60 -60
  12. package/dist/checkbox-CfFoTNFI.js.map +1 -0
  13. package/dist/{clipboard-text-CeoyR28P.js → clipboard-text-1d0rHIhb.js} +24 -24
  14. package/dist/{clipboard-text-CeoyR28P.js.map → clipboard-text-1d0rHIhb.js.map} +1 -1
  15. package/dist/{combobox-BIC-YZ2L.js → combobox-vnvi22pn.js} +83 -61
  16. package/dist/combobox-vnvi22pn.js.map +1 -0
  17. package/dist/{command-palette-D3MNR7w9.js → command-palette-B80cqB7K.js} +2 -2
  18. package/dist/{command-palette-D3MNR7w9.js.map → command-palette-B80cqB7K.js.map} +1 -1
  19. package/dist/components/banner.js +1 -1
  20. package/dist/components/checkbox.js +1 -1
  21. package/dist/components/clipboard-text.js +1 -1
  22. package/dist/components/combobox.js +1 -1
  23. package/dist/components/command-palette.js +1 -1
  24. package/dist/components/dialog.js +1 -1
  25. package/dist/components/dropdown.js +1 -1
  26. package/dist/components/field.js +1 -1
  27. package/dist/components/flow.js +1472 -1412
  28. package/dist/components/flow.js.map +1 -1
  29. package/dist/components/input.js +3 -3
  30. package/dist/components/label.js +1 -1
  31. package/dist/components/link.js +1 -1
  32. package/dist/components/menubar.js +1 -1
  33. package/dist/components/meter.js +1 -1
  34. package/dist/components/pagination.js +1 -1
  35. package/dist/components/popover.js +1 -1
  36. package/dist/components/radio.js +1 -1
  37. package/dist/components/select.js +1 -1
  38. package/dist/components/sensitive-input.js +1 -1
  39. package/dist/components/switch.js +1 -1
  40. package/dist/components/table.js +1 -1
  41. package/dist/components/tabs.js +1 -1
  42. package/dist/components/toast.js +2 -2
  43. package/dist/components/tooltip.js +1 -1
  44. package/dist/{dialog-toS9krNF.js → dialog-C4BIM-74.js} +6 -6
  45. package/dist/{dialog-toS9krNF.js.map → dialog-C4BIM-74.js.map} +1 -1
  46. package/dist/dropdown-CfS4QcSR.js +295 -0
  47. package/dist/dropdown-CfS4QcSR.js.map +1 -0
  48. package/dist/{field-DCq04TgZ.js → field-B8xISAuX.js} +5 -5
  49. package/dist/{field-DCq04TgZ.js.map → field-B8xISAuX.js.map} +1 -1
  50. package/dist/index.js +29 -29
  51. package/dist/{input-CCR8NGG7.js → input-DCzpefuq.js} +3 -3
  52. package/dist/{input-CCR8NGG7.js.map → input-DCzpefuq.js.map} +1 -1
  53. package/dist/{input-area-DU2Yvp_t.js → input-area-DCaAN9nG.js} +3 -3
  54. package/dist/{input-area-DU2Yvp_t.js.map → input-area-DCaAN9nG.js.map} +1 -1
  55. package/dist/{input-group-C365-qBq.js → input-group-BbaVpJnA.js} +2 -2
  56. package/dist/{input-group-C365-qBq.js.map → input-group-BbaVpJnA.js.map} +1 -1
  57. package/dist/{label-zjtV7oXa.js → label-Cd6nCDWj.js} +2 -2
  58. package/dist/{label-zjtV7oXa.js.map → label-Cd6nCDWj.js.map} +1 -1
  59. package/dist/{link-C8pUZ4Q-.js → link-DJq9RWpK.js} +11 -11
  60. package/dist/{link-C8pUZ4Q-.js.map → link-DJq9RWpK.js.map} +1 -1
  61. package/dist/{menubar-D7WvAf6x.js → menubar-Chchzst0.js} +2 -2
  62. package/dist/{menubar-D7WvAf6x.js.map → menubar-Chchzst0.js.map} +1 -1
  63. package/dist/{meter-jQGKS1z4.js → meter-Wk7_EhaO.js} +4 -4
  64. package/dist/{meter-jQGKS1z4.js.map → meter-Wk7_EhaO.js.map} +1 -1
  65. package/dist/pagination-DFHoZwPJ.js +208 -0
  66. package/dist/pagination-DFHoZwPJ.js.map +1 -0
  67. package/dist/{popover-syU1104E.js → popover-D20xpmdk.js} +22 -20
  68. package/dist/{popover-syU1104E.js.map → popover-D20xpmdk.js.map} +1 -1
  69. package/dist/primitives/accordion.js +1 -1
  70. package/dist/primitives/alert-dialog.js +1 -1
  71. package/dist/primitives/autocomplete.js +1 -1
  72. package/dist/primitives/avatar.js +1 -1
  73. package/dist/primitives/button.js +1 -1
  74. package/dist/primitives/checkbox-group.js +1 -1
  75. package/dist/primitives/checkbox.js +1 -1
  76. package/dist/primitives/collapsible.js +1 -1
  77. package/dist/primitives/combobox.js +1 -1
  78. package/dist/primitives/context-menu.js +1 -1
  79. package/dist/primitives/csp-provider.js +6 -0
  80. package/dist/primitives/csp-provider.js.map +1 -0
  81. package/dist/primitives/dialog.js +1 -1
  82. package/dist/primitives/direction-provider.js +1 -1
  83. package/dist/primitives/drawer.js +6 -0
  84. package/dist/primitives/drawer.js.map +1 -0
  85. package/dist/primitives/field.js +1 -1
  86. package/dist/primitives/fieldset.js +2 -2
  87. package/dist/primitives/form.js +1 -1
  88. package/dist/primitives/input.js +1 -1
  89. package/dist/primitives/menu.js +1 -1
  90. package/dist/primitives/menubar.js +1 -1
  91. package/dist/primitives/meter.js +1 -1
  92. package/dist/primitives/navigation-menu.js +2 -2
  93. package/dist/primitives/number-field.js +1 -1
  94. package/dist/primitives/popover.js +1 -1
  95. package/dist/primitives/preview-card.js +2 -2
  96. package/dist/primitives/progress.js +2 -2
  97. package/dist/primitives/radio-group.js +1 -1
  98. package/dist/primitives/radio.js +2 -2
  99. package/dist/primitives/scroll-area.js +1 -1
  100. package/dist/primitives/select.js +1 -1
  101. package/dist/primitives/separator.js +1 -1
  102. package/dist/primitives/slider.js +1 -1
  103. package/dist/primitives/switch.js +1 -1
  104. package/dist/primitives/tabs.js +1 -1
  105. package/dist/primitives/toast.js +1 -1
  106. package/dist/primitives/toggle-group.js +1 -1
  107. package/dist/primitives/toggle.js +1 -1
  108. package/dist/primitives/toolbar.js +1 -1
  109. package/dist/primitives/tooltip.js +1 -1
  110. package/dist/primitives.js +31 -29
  111. package/dist/{radio-CWMtSx65.js → radio-ibVa4Y8a.js} +18 -18
  112. package/dist/{radio-CWMtSx65.js.map → radio-ibVa4Y8a.js.map} +1 -1
  113. package/dist/{schemas-DbIwo0ET.js → schemas-CdpAeJKO.js} +278 -275
  114. package/dist/{schemas-DbIwo0ET.js.map → schemas-CdpAeJKO.js.map} +1 -1
  115. package/dist/{select-G6JqBVkg.js → select-DtcT1zGm.js} +21 -21
  116. package/dist/{select-G6JqBVkg.js.map → select-DtcT1zGm.js.map} +1 -1
  117. package/dist/{sensitive-input-DNFpycoy.js → sensitive-input-DHDRZRC7.js} +4 -4
  118. package/dist/{sensitive-input-DNFpycoy.js.map → sensitive-input-DHDRZRC7.js.map} +1 -1
  119. package/dist/src/components/banner/banner.d.ts +28 -11
  120. package/dist/src/components/banner/banner.d.ts.map +1 -1
  121. package/dist/src/components/checkbox/checkbox.d.ts.map +1 -1
  122. package/dist/src/components/combobox/combobox.d.ts +4 -1
  123. package/dist/src/components/combobox/combobox.d.ts.map +1 -1
  124. package/dist/src/components/dropdown/dropdown.d.ts +26 -16
  125. package/dist/src/components/dropdown/dropdown.d.ts.map +1 -1
  126. package/dist/src/components/flow/connectors.d.ts +3 -1
  127. package/dist/src/components/flow/connectors.d.ts.map +1 -1
  128. package/dist/src/components/flow/diagram.d.ts +1 -0
  129. package/dist/src/components/flow/diagram.d.ts.map +1 -1
  130. package/dist/src/components/flow/node.d.ts +5 -1
  131. package/dist/src/components/flow/node.d.ts.map +1 -1
  132. package/dist/src/components/flow/parallel.d.ts +10 -2
  133. package/dist/src/components/flow/parallel.d.ts.map +1 -1
  134. package/dist/src/components/pagination/pagination.d.ts +134 -13
  135. package/dist/src/components/pagination/pagination.d.ts.map +1 -1
  136. package/dist/src/components/popover/popover.d.ts +7 -1
  137. package/dist/src/components/popover/popover.d.ts.map +1 -1
  138. package/dist/src/components/toast/toast.d.ts +4 -4
  139. package/dist/src/components/toast/toast.d.ts.map +1 -1
  140. package/dist/src/components/tooltip/tooltip.d.ts +1 -1
  141. package/dist/src/components/tooltip/tooltip.d.ts.map +1 -1
  142. package/dist/src/primitives/csp-provider.d.ts +13 -0
  143. package/dist/src/primitives/csp-provider.d.ts.map +1 -0
  144. package/dist/src/primitives/drawer.d.ts +13 -0
  145. package/dist/src/primitives/drawer.d.ts.map +1 -0
  146. package/dist/src/primitives/index.d.ts +2 -0
  147. package/dist/src/primitives/index.d.ts.map +1 -1
  148. package/dist/styles/kumo-standalone.css +1 -1
  149. package/dist/{switch-CmsZ4z-g.js → switch-DrbaX2iC.js} +15 -15
  150. package/dist/{switch-CmsZ4z-g.js.map → switch-DrbaX2iC.js.map} +1 -1
  151. package/dist/{table-Dc0AGcLV.js → table-CH9KC36S.js} +2 -2
  152. package/dist/{table-Dc0AGcLV.js.map → table-CH9KC36S.js.map} +1 -1
  153. package/dist/{tabs-BpD1iUiz.js → tabs-B-Fxc6Zo.js} +2 -2
  154. package/dist/{tabs-BpD1iUiz.js.map → tabs-B-Fxc6Zo.js.map} +1 -1
  155. package/dist/{toast-BrR0pjLE.js → toast-DUYp3EtH.js} +6 -6
  156. package/dist/{toast-BrR0pjLE.js.map → toast-DUYp3EtH.js.map} +1 -1
  157. package/dist/{tooltip-daVJYtXY.js → tooltip-D-KwZQDV.js} +2 -2
  158. package/dist/{tooltip-daVJYtXY.js.map → tooltip-D-KwZQDV.js.map} +1 -1
  159. package/dist/vendor-base-ui-Bsg5ebHI.js +22806 -0
  160. package/dist/vendor-base-ui-Bsg5ebHI.js.map +1 -0
  161. package/dist/{vendor-utils-DD8jNJwD.js → vendor-utils-DKXfkDYu.js} +100 -101
  162. package/dist/vendor-utils-DKXfkDYu.js.map +1 -0
  163. package/package.json +10 -2
  164. package/dist/banner-4fkH6Sbt.js +0 -51
  165. package/dist/banner-4fkH6Sbt.js.map +0 -1
  166. package/dist/checkbox-Dt8iSNOg.js.map +0 -1
  167. package/dist/combobox-BIC-YZ2L.js.map +0 -1
  168. package/dist/dropdown-BquiYKKC.js +0 -263
  169. package/dist/dropdown-BquiYKKC.js.map +0 -1
  170. package/dist/pagination-BN80iKY6.js +0 -100
  171. package/dist/pagination-BN80iKY6.js.map +0 -1
  172. package/dist/vendor-base-ui-9w7J6BvW.js +0 -20448
  173. package/dist/vendor-base-ui-9w7J6BvW.js.map +0 -1
  174. package/dist/vendor-utils-DD8jNJwD.js.map +0 -1
@@ -13,8 +13,8 @@ function d(e, t, o) {
13
13
  u._zod.traits.add(e), t(u, l);
14
14
  const p = i.prototype, f = Object.keys(p);
15
15
  for (let m = 0; m < f.length; m++) {
16
- const z = f[m];
17
- z in u || (u[z] = p[z].bind(u));
16
+ const k = f[m];
17
+ k in u || (u[k] = p[k].bind(u));
18
18
  }
19
19
  }
20
20
  const r = o?.Parent ?? Object;
@@ -155,7 +155,7 @@ function J(e, t, o) {
155
155
  const n = new e._zod.constr(t ?? e._zod.def);
156
156
  return (!t || o?.parent) && (n._zod.parent = e), n;
157
157
  }
158
- function v(e) {
158
+ function b(e) {
159
159
  const t = e;
160
160
  if (!t)
161
161
  return {};
@@ -774,17 +774,17 @@ const Do = {
774
774
  continue;
775
775
  } else if (p)
776
776
  continue;
777
- const z = i.issues.length, $ = m._zod.check(i);
777
+ const k = i.issues.length, $ = m._zod.check(i);
778
778
  if ($ instanceof Promise && l?.async === !1)
779
779
  throw new q();
780
780
  if (f || $ instanceof Promise)
781
781
  f = (f ?? Promise.resolve()).then(async () => {
782
- await $, i.issues.length !== z && (p || (p = K(i, z)));
782
+ await $, i.issues.length !== k && (p || (p = K(i, k)));
783
783
  });
784
784
  else {
785
- if (i.issues.length === z)
785
+ if (i.issues.length === k)
786
786
  continue;
787
- p || (p = K(i, z));
787
+ p || (p = K(i, k));
788
788
  }
789
789
  }
790
790
  return f ? f.then(() => i) : i;
@@ -1140,8 +1140,8 @@ function pt(e, t, o, n, r, a) {
1140
1140
  i.push(m);
1141
1141
  continue;
1142
1142
  }
1143
- const z = l.run({ value: t[m], issues: [] }, n);
1144
- z instanceof Promise ? e.push(z.then(($) => se($, o, m, t, f))) : se(z, o, m, t, f);
1143
+ const k = l.run({ value: t[m], issues: [] }, n);
1144
+ k instanceof Promise ? e.push(k.then(($) => se($, o, m, t, f))) : se(k, o, m, t, f);
1145
1145
  }
1146
1146
  return i.length && o.issues.push({
1147
1147
  code: "unrecognized_keys",
@@ -1189,15 +1189,15 @@ const _n = /* @__PURE__ */ d("$ZodObject", (e, t) => {
1189
1189
  }), u;
1190
1190
  u.value = {};
1191
1191
  const f = [], m = i.shape;
1192
- for (const z of i.keys) {
1193
- const $ = m[z], E = $._zod.optout === "optional", N = $._zod.run({ value: p[z], issues: [] }, l);
1194
- N instanceof Promise ? f.push(N.then((ee) => se(ee, u, z, p, E))) : se(N, u, z, p, E);
1192
+ for (const k of i.keys) {
1193
+ const $ = m[k], E = $._zod.optout === "optional", N = $._zod.run({ value: p[k], issues: [] }, l);
1194
+ N instanceof Promise ? f.push(N.then((ee) => se(ee, u, k, p, E))) : se(N, u, k, p, E);
1195
1195
  }
1196
1196
  return a ? pt(f, p, u, l, n.value, e) : f.length ? Promise.all(f).then(() => u) : u;
1197
1197
  };
1198
1198
  }), vn = /* @__PURE__ */ d("$ZodObjectJIT", (e, t) => {
1199
1199
  _n.init(e, t);
1200
- const o = e._zod.parse, n = be(() => lt(t)), r = (z) => {
1200
+ const o = e._zod.parse, n = be(() => lt(t)), r = (k) => {
1201
1201
  const $ = new Ro(["shape", "payload", "ctx"]), E = n.value, N = (D) => {
1202
1202
  const A = Pe(D);
1203
1203
  return `shape[${A}]._zod.run({ value: input[${A}], issues: [] }, ctx)`;
@@ -1209,7 +1209,7 @@ const _n = /* @__PURE__ */ d("$ZodObject", (e, t) => {
1209
1209
  ee[D] = `key_${$t++}`;
1210
1210
  $.write("const newResult = {};");
1211
1211
  for (const D of E.keys) {
1212
- const A = ee[D], R = Pe(D), Zt = z[D]?._zod?.optout === "optional";
1212
+ const A = ee[D], R = Pe(D), Zt = k[D]?._zod?.optout === "optional";
1213
1213
  $.write(`const ${A} = ${N(D)};`), Zt ? $.write(`
1214
1214
  if (${A}.issues.length) {
1215
1215
  if (${R} in input) {
@@ -1248,20 +1248,20 @@ const _n = /* @__PURE__ */ d("$ZodObject", (e, t) => {
1248
1248
  }
1249
1249
  $.write("payload.value = newResult;"), $.write("return payload;");
1250
1250
  const St = $.compile();
1251
- return (D, A) => St(z, D, A);
1251
+ return (D, A) => St(k, D, A);
1252
1252
  };
1253
1253
  let a;
1254
1254
  const i = ae, u = !qe.jitless, p = u && Tt.value, f = t.catchall;
1255
1255
  let m;
1256
- e._zod.parse = (z, $) => {
1256
+ e._zod.parse = (k, $) => {
1257
1257
  m ?? (m = n.value);
1258
- const E = z.value;
1259
- return i(E) ? u && p && $?.async === !1 && $.jitless !== !0 ? (a || (a = r(t.shape)), z = a(z, $), f ? pt([], E, z, $, m, e) : z) : o(z, $) : (z.issues.push({
1258
+ const E = k.value;
1259
+ return i(E) ? u && p && $?.async === !1 && $.jitless !== !0 ? (a || (a = r(t.shape)), k = a(k, $), f ? pt([], E, k, $, m, e) : k) : o(k, $) : (k.issues.push({
1260
1260
  expected: "object",
1261
1261
  code: "invalid_type",
1262
1262
  input: E,
1263
1263
  inst: e
1264
- }), z);
1264
+ }), k);
1265
1265
  };
1266
1266
  });
1267
1267
  function Ie(e, t, o, n) {
@@ -1404,17 +1404,17 @@ const zn = /* @__PURE__ */ d("$ZodTuple", (e, t) => {
1404
1404
  value: a[p],
1405
1405
  issues: []
1406
1406
  }, r);
1407
- m instanceof Promise ? i.push(m.then((z) => oe(z, n, p))) : oe(m, n, p);
1407
+ m instanceof Promise ? i.push(m.then((k) => oe(k, n, p))) : oe(m, n, p);
1408
1408
  }
1409
1409
  if (t.rest) {
1410
1410
  const f = a.slice(o.length);
1411
1411
  for (const m of f) {
1412
1412
  p++;
1413
- const z = t.rest._zod.run({
1413
+ const k = t.rest._zod.run({
1414
1414
  value: m,
1415
1415
  issues: []
1416
1416
  }, r);
1417
- z instanceof Promise ? i.push(z.then(($) => oe($, n, p))) : oe(z, n, p);
1417
+ k instanceof Promise ? i.push(k.then(($) => oe($, n, p))) : oe(k, n, p);
1418
1418
  }
1419
1419
  }
1420
1420
  return i.length ? Promise.all(i).then(() => n) : n;
@@ -1671,7 +1671,7 @@ const Y = globalThis.__zod_globalRegistry;
1671
1671
  function Rn(e, t) {
1672
1672
  return new e({
1673
1673
  type: "string",
1674
- ...v(t)
1674
+ ...b(t)
1675
1675
  });
1676
1676
  }
1677
1677
  // @__NO_SIDE_EFFECTS__
@@ -1681,7 +1681,7 @@ function Dn(e, t) {
1681
1681
  format: "email",
1682
1682
  check: "string_format",
1683
1683
  abort: !1,
1684
- ...v(t)
1684
+ ...b(t)
1685
1685
  });
1686
1686
  }
1687
1687
  // @__NO_SIDE_EFFECTS__
@@ -1691,7 +1691,7 @@ function De(e, t) {
1691
1691
  format: "guid",
1692
1692
  check: "string_format",
1693
1693
  abort: !1,
1694
- ...v(t)
1694
+ ...b(t)
1695
1695
  });
1696
1696
  }
1697
1697
  // @__NO_SIDE_EFFECTS__
@@ -1701,7 +1701,7 @@ function Un(e, t) {
1701
1701
  format: "uuid",
1702
1702
  check: "string_format",
1703
1703
  abort: !1,
1704
- ...v(t)
1704
+ ...b(t)
1705
1705
  });
1706
1706
  }
1707
1707
  // @__NO_SIDE_EFFECTS__
@@ -1712,7 +1712,7 @@ function Fn(e, t) {
1712
1712
  check: "string_format",
1713
1713
  abort: !1,
1714
1714
  version: "v4",
1715
- ...v(t)
1715
+ ...b(t)
1716
1716
  });
1717
1717
  }
1718
1718
  // @__NO_SIDE_EFFECTS__
@@ -1723,7 +1723,7 @@ function Ln(e, t) {
1723
1723
  check: "string_format",
1724
1724
  abort: !1,
1725
1725
  version: "v6",
1726
- ...v(t)
1726
+ ...b(t)
1727
1727
  });
1728
1728
  }
1729
1729
  // @__NO_SIDE_EFFECTS__
@@ -1734,7 +1734,7 @@ function Mn(e, t) {
1734
1734
  check: "string_format",
1735
1735
  abort: !1,
1736
1736
  version: "v7",
1737
- ...v(t)
1737
+ ...b(t)
1738
1738
  });
1739
1739
  }
1740
1740
  // @__NO_SIDE_EFFECTS__
@@ -1744,7 +1744,7 @@ function Jn(e, t) {
1744
1744
  format: "url",
1745
1745
  check: "string_format",
1746
1746
  abort: !1,
1747
- ...v(t)
1747
+ ...b(t)
1748
1748
  });
1749
1749
  }
1750
1750
  // @__NO_SIDE_EFFECTS__
@@ -1754,7 +1754,7 @@ function Bn(e, t) {
1754
1754
  format: "emoji",
1755
1755
  check: "string_format",
1756
1756
  abort: !1,
1757
- ...v(t)
1757
+ ...b(t)
1758
1758
  });
1759
1759
  }
1760
1760
  // @__NO_SIDE_EFFECTS__
@@ -1764,7 +1764,7 @@ function Vn(e, t) {
1764
1764
  format: "nanoid",
1765
1765
  check: "string_format",
1766
1766
  abort: !1,
1767
- ...v(t)
1767
+ ...b(t)
1768
1768
  });
1769
1769
  }
1770
1770
  // @__NO_SIDE_EFFECTS__
@@ -1774,7 +1774,7 @@ function Wn(e, t) {
1774
1774
  format: "cuid",
1775
1775
  check: "string_format",
1776
1776
  abort: !1,
1777
- ...v(t)
1777
+ ...b(t)
1778
1778
  });
1779
1779
  }
1780
1780
  // @__NO_SIDE_EFFECTS__
@@ -1784,7 +1784,7 @@ function Kn(e, t) {
1784
1784
  format: "cuid2",
1785
1785
  check: "string_format",
1786
1786
  abort: !1,
1787
- ...v(t)
1787
+ ...b(t)
1788
1788
  });
1789
1789
  }
1790
1790
  // @__NO_SIDE_EFFECTS__
@@ -1794,7 +1794,7 @@ function qn(e, t) {
1794
1794
  format: "ulid",
1795
1795
  check: "string_format",
1796
1796
  abort: !1,
1797
- ...v(t)
1797
+ ...b(t)
1798
1798
  });
1799
1799
  }
1800
1800
  // @__NO_SIDE_EFFECTS__
@@ -1804,7 +1804,7 @@ function Gn(e, t) {
1804
1804
  format: "xid",
1805
1805
  check: "string_format",
1806
1806
  abort: !1,
1807
- ...v(t)
1807
+ ...b(t)
1808
1808
  });
1809
1809
  }
1810
1810
  // @__NO_SIDE_EFFECTS__
@@ -1814,7 +1814,7 @@ function Xn(e, t) {
1814
1814
  format: "ksuid",
1815
1815
  check: "string_format",
1816
1816
  abort: !1,
1817
- ...v(t)
1817
+ ...b(t)
1818
1818
  });
1819
1819
  }
1820
1820
  // @__NO_SIDE_EFFECTS__
@@ -1824,7 +1824,7 @@ function Yn(e, t) {
1824
1824
  format: "ipv4",
1825
1825
  check: "string_format",
1826
1826
  abort: !1,
1827
- ...v(t)
1827
+ ...b(t)
1828
1828
  });
1829
1829
  }
1830
1830
  // @__NO_SIDE_EFFECTS__
@@ -1834,7 +1834,7 @@ function Hn(e, t) {
1834
1834
  format: "ipv6",
1835
1835
  check: "string_format",
1836
1836
  abort: !1,
1837
- ...v(t)
1837
+ ...b(t)
1838
1838
  });
1839
1839
  }
1840
1840
  // @__NO_SIDE_EFFECTS__
@@ -1844,7 +1844,7 @@ function Qn(e, t) {
1844
1844
  format: "cidrv4",
1845
1845
  check: "string_format",
1846
1846
  abort: !1,
1847
- ...v(t)
1847
+ ...b(t)
1848
1848
  });
1849
1849
  }
1850
1850
  // @__NO_SIDE_EFFECTS__
@@ -1854,7 +1854,7 @@ function er(e, t) {
1854
1854
  format: "cidrv6",
1855
1855
  check: "string_format",
1856
1856
  abort: !1,
1857
- ...v(t)
1857
+ ...b(t)
1858
1858
  });
1859
1859
  }
1860
1860
  // @__NO_SIDE_EFFECTS__
@@ -1864,7 +1864,7 @@ function tr(e, t) {
1864
1864
  format: "base64",
1865
1865
  check: "string_format",
1866
1866
  abort: !1,
1867
- ...v(t)
1867
+ ...b(t)
1868
1868
  });
1869
1869
  }
1870
1870
  // @__NO_SIDE_EFFECTS__
@@ -1874,7 +1874,7 @@ function or(e, t) {
1874
1874
  format: "base64url",
1875
1875
  check: "string_format",
1876
1876
  abort: !1,
1877
- ...v(t)
1877
+ ...b(t)
1878
1878
  });
1879
1879
  }
1880
1880
  // @__NO_SIDE_EFFECTS__
@@ -1884,7 +1884,7 @@ function nr(e, t) {
1884
1884
  format: "e164",
1885
1885
  check: "string_format",
1886
1886
  abort: !1,
1887
- ...v(t)
1887
+ ...b(t)
1888
1888
  });
1889
1889
  }
1890
1890
  // @__NO_SIDE_EFFECTS__
@@ -1894,7 +1894,7 @@ function rr(e, t) {
1894
1894
  format: "jwt",
1895
1895
  check: "string_format",
1896
1896
  abort: !1,
1897
- ...v(t)
1897
+ ...b(t)
1898
1898
  });
1899
1899
  }
1900
1900
  // @__NO_SIDE_EFFECTS__
@@ -1906,7 +1906,7 @@ function ir(e, t) {
1906
1906
  offset: !1,
1907
1907
  local: !1,
1908
1908
  precision: null,
1909
- ...v(t)
1909
+ ...b(t)
1910
1910
  });
1911
1911
  }
1912
1912
  // @__NO_SIDE_EFFECTS__
@@ -1915,7 +1915,7 @@ function ar(e, t) {
1915
1915
  type: "string",
1916
1916
  format: "date",
1917
1917
  check: "string_format",
1918
- ...v(t)
1918
+ ...b(t)
1919
1919
  });
1920
1920
  }
1921
1921
  // @__NO_SIDE_EFFECTS__
@@ -1925,7 +1925,7 @@ function sr(e, t) {
1925
1925
  format: "time",
1926
1926
  check: "string_format",
1927
1927
  precision: null,
1928
- ...v(t)
1928
+ ...b(t)
1929
1929
  });
1930
1930
  }
1931
1931
  // @__NO_SIDE_EFFECTS__
@@ -1934,7 +1934,7 @@ function cr(e, t) {
1934
1934
  type: "string",
1935
1935
  format: "duration",
1936
1936
  check: "string_format",
1937
- ...v(t)
1937
+ ...b(t)
1938
1938
  });
1939
1939
  }
1940
1940
  // @__NO_SIDE_EFFECTS__
@@ -1942,7 +1942,7 @@ function ur(e, t) {
1942
1942
  return new e({
1943
1943
  type: "number",
1944
1944
  checks: [],
1945
- ...v(t)
1945
+ ...b(t)
1946
1946
  });
1947
1947
  }
1948
1948
  // @__NO_SIDE_EFFECTS__
@@ -1952,21 +1952,21 @@ function lr(e, t) {
1952
1952
  check: "number_format",
1953
1953
  abort: !1,
1954
1954
  format: "safeint",
1955
- ...v(t)
1955
+ ...b(t)
1956
1956
  });
1957
1957
  }
1958
1958
  // @__NO_SIDE_EFFECTS__
1959
1959
  function pr(e, t) {
1960
1960
  return new e({
1961
1961
  type: "boolean",
1962
- ...v(t)
1962
+ ...b(t)
1963
1963
  });
1964
1964
  }
1965
1965
  // @__NO_SIDE_EFFECTS__
1966
1966
  function dr(e, t) {
1967
1967
  return new e({
1968
1968
  type: "null",
1969
- ...v(t)
1969
+ ...b(t)
1970
1970
  });
1971
1971
  }
1972
1972
  // @__NO_SIDE_EFFECTS__
@@ -1979,14 +1979,14 @@ function fr(e) {
1979
1979
  function hr(e, t) {
1980
1980
  return new e({
1981
1981
  type: "never",
1982
- ...v(t)
1982
+ ...b(t)
1983
1983
  });
1984
1984
  }
1985
1985
  // @__NO_SIDE_EFFECTS__
1986
1986
  function Ue(e, t) {
1987
1987
  return new at({
1988
1988
  check: "less_than",
1989
- ...v(t),
1989
+ ...b(t),
1990
1990
  value: e,
1991
1991
  inclusive: !1
1992
1992
  });
@@ -1995,7 +1995,7 @@ function Ue(e, t) {
1995
1995
  function he(e, t) {
1996
1996
  return new at({
1997
1997
  check: "less_than",
1998
- ...v(t),
1998
+ ...b(t),
1999
1999
  value: e,
2000
2000
  inclusive: !0
2001
2001
  });
@@ -2004,7 +2004,7 @@ function he(e, t) {
2004
2004
  function Fe(e, t) {
2005
2005
  return new st({
2006
2006
  check: "greater_than",
2007
- ...v(t),
2007
+ ...b(t),
2008
2008
  value: e,
2009
2009
  inclusive: !1
2010
2010
  });
@@ -2013,7 +2013,7 @@ function Fe(e, t) {
2013
2013
  function me(e, t) {
2014
2014
  return new st({
2015
2015
  check: "greater_than",
2016
- ...v(t),
2016
+ ...b(t),
2017
2017
  value: e,
2018
2018
  inclusive: !0
2019
2019
  });
@@ -2022,7 +2022,7 @@ function me(e, t) {
2022
2022
  function Le(e, t) {
2023
2023
  return new So({
2024
2024
  check: "multiple_of",
2025
- ...v(t),
2025
+ ...b(t),
2026
2026
  value: e
2027
2027
  });
2028
2028
  }
@@ -2030,7 +2030,7 @@ function Le(e, t) {
2030
2030
  function ft(e, t) {
2031
2031
  return new Po({
2032
2032
  check: "max_length",
2033
- ...v(t),
2033
+ ...b(t),
2034
2034
  maximum: e
2035
2035
  });
2036
2036
  }
@@ -2038,7 +2038,7 @@ function ft(e, t) {
2038
2038
  function ce(e, t) {
2039
2039
  return new Oo({
2040
2040
  check: "min_length",
2041
- ...v(t),
2041
+ ...b(t),
2042
2042
  minimum: e
2043
2043
  });
2044
2044
  }
@@ -2046,7 +2046,7 @@ function ce(e, t) {
2046
2046
  function ht(e, t) {
2047
2047
  return new To({
2048
2048
  check: "length_equals",
2049
- ...v(t),
2049
+ ...b(t),
2050
2050
  length: e
2051
2051
  });
2052
2052
  }
@@ -2055,7 +2055,7 @@ function mr(e, t) {
2055
2055
  return new Io({
2056
2056
  check: "string_format",
2057
2057
  format: "regex",
2058
- ...v(t),
2058
+ ...b(t),
2059
2059
  pattern: e
2060
2060
  });
2061
2061
  }
@@ -2064,7 +2064,7 @@ function gr(e) {
2064
2064
  return new No({
2065
2065
  check: "string_format",
2066
2066
  format: "lowercase",
2067
- ...v(e)
2067
+ ...b(e)
2068
2068
  });
2069
2069
  }
2070
2070
  // @__NO_SIDE_EFFECTS__
@@ -2072,7 +2072,7 @@ function _r(e) {
2072
2072
  return new Eo({
2073
2073
  check: "string_format",
2074
2074
  format: "uppercase",
2075
- ...v(e)
2075
+ ...b(e)
2076
2076
  });
2077
2077
  }
2078
2078
  // @__NO_SIDE_EFFECTS__
@@ -2080,7 +2080,7 @@ function vr(e, t) {
2080
2080
  return new Co({
2081
2081
  check: "string_format",
2082
2082
  format: "includes",
2083
- ...v(t),
2083
+ ...b(t),
2084
2084
  includes: e
2085
2085
  });
2086
2086
  }
@@ -2089,7 +2089,7 @@ function br(e, t) {
2089
2089
  return new Ao({
2090
2090
  check: "string_format",
2091
2091
  format: "starts_with",
2092
- ...v(t),
2092
+ ...b(t),
2093
2093
  prefix: e
2094
2094
  });
2095
2095
  }
@@ -2098,7 +2098,7 @@ function yr(e, t) {
2098
2098
  return new xo({
2099
2099
  check: "string_format",
2100
2100
  format: "ends_with",
2101
- ...v(t),
2101
+ ...b(t),
2102
2102
  suffix: e
2103
2103
  });
2104
2104
  }
@@ -2137,7 +2137,7 @@ function Zr(e, t, o) {
2137
2137
  // get element() {
2138
2138
  // return element;
2139
2139
  // },
2140
- ...v(o)
2140
+ ...b(o)
2141
2141
  });
2142
2142
  }
2143
2143
  // @__NO_SIDE_EFFECTS__
@@ -2146,7 +2146,7 @@ function Pr(e, t, o) {
2146
2146
  type: "custom",
2147
2147
  check: "custom",
2148
2148
  fn: t,
2149
- ...v(o)
2149
+ ...b(o)
2150
2150
  });
2151
2151
  }
2152
2152
  // @__NO_SIDE_EFFECTS__
@@ -2165,7 +2165,7 @@ function Or(e) {
2165
2165
  function Tr(e, t) {
2166
2166
  const o = new x({
2167
2167
  check: "custom",
2168
- ...v(t)
2168
+ ...b(t)
2169
2169
  });
2170
2170
  return o._zod.check = e, o;
2171
2171
  }
@@ -2205,10 +2205,10 @@ function T(e, t, o = { path: [], schemaPath: [] }) {
2205
2205
  if (e._zod.processJSONSchema)
2206
2206
  e._zod.processJSONSchema(t, i.schema, f);
2207
2207
  else {
2208
- const z = i.schema, $ = t.processors[r.type];
2208
+ const k = i.schema, $ = t.processors[r.type];
2209
2209
  if (!$)
2210
2210
  throw new Error(`[toJSONSchema]: Non-representable type encountered: ${r.type}`);
2211
- $(e, t, z, f);
2211
+ $(e, t, k, f);
2212
2212
  }
2213
2213
  const m = e._zod.parent;
2214
2214
  m && (i.ref || (i.ref = m), T(m, t, f), t.seen.get(m).isParent = !0);
@@ -2233,11 +2233,11 @@ function gt(e, t) {
2233
2233
  const r = (i) => {
2234
2234
  const u = e.target === "draft-2020-12" ? "$defs" : "definitions";
2235
2235
  if (e.external) {
2236
- const m = e.external.registry.get(i[0])?.id, z = e.external.uri ?? ((E) => E);
2236
+ const m = e.external.registry.get(i[0])?.id, k = e.external.uri ?? ((E) => E);
2237
2237
  if (m)
2238
- return { ref: z(m) };
2238
+ return { ref: k(m) };
2239
2239
  const $ = i[1].defId ?? i[1].schema.id ?? `schema${e.counter++}`;
2240
- return i[1].defId = $, { defId: $, ref: `${z("__shared")}#/${u}/${$}` };
2240
+ return i[1].defId = $, { defId: $, ref: `${k("__shared")}#/${u}/${$}` };
2241
2241
  }
2242
2242
  if (i[1] === o)
2243
2243
  return { ref: "#" };
@@ -2299,21 +2299,21 @@ function _t(e, t) {
2299
2299
  const l = u.def ?? u.schema, p = { ...l }, f = u.ref;
2300
2300
  if (u.ref = null, f) {
2301
2301
  n(f);
2302
- const z = e.seen.get(f), $ = z.schema;
2302
+ const k = e.seen.get(f), $ = k.schema;
2303
2303
  if ($.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (l.allOf = l.allOf ?? [], l.allOf.push($)) : Object.assign(l, $), Object.assign(l, p), i._zod.parent === f)
2304
2304
  for (const N in l)
2305
2305
  N === "$ref" || N === "allOf" || N in p || delete l[N];
2306
- if ($.$ref && z.def)
2306
+ if ($.$ref && k.def)
2307
2307
  for (const N in l)
2308
- N === "$ref" || N === "allOf" || N in z.def && JSON.stringify(l[N]) === JSON.stringify(z.def[N]) && delete l[N];
2308
+ N === "$ref" || N === "allOf" || N in k.def && JSON.stringify(l[N]) === JSON.stringify(k.def[N]) && delete l[N];
2309
2309
  }
2310
2310
  const m = i._zod.parent;
2311
2311
  if (m && m !== f) {
2312
2312
  n(m);
2313
- const z = e.seen.get(m);
2314
- if (z?.schema.$ref && (l.$ref = z.schema.$ref, z.def))
2313
+ const k = e.seen.get(m);
2314
+ if (k?.schema.$ref && (l.$ref = k.schema.$ref, k.def))
2315
2315
  for (const $ in l)
2316
- $ === "$ref" || $ === "allOf" || $ in z.def && JSON.stringify(l[$]) === JSON.stringify(z.def[$]) && delete l[$];
2316
+ $ === "$ref" || $ === "allOf" || $ in k.def && JSON.stringify(l[$]) === JSON.stringify(k.def[$]) && delete l[$];
2317
2317
  }
2318
2318
  e.override({
2319
2319
  zodSchema: i,
@@ -2482,7 +2482,7 @@ const Ir = (e, t = {}) => (o) => {
2482
2482
  }, Vr = (e, t, o, n) => {
2483
2483
  const r = o, a = e._zod.def;
2484
2484
  r.type = "array";
2485
- const i = t.target === "draft-2020-12" ? "prefixItems" : "items", u = t.target === "draft-2020-12" || t.target === "openapi-3.0" ? "items" : "additionalItems", l = a.items.map((z, $) => T(z, t, {
2485
+ const i = t.target === "draft-2020-12" ? "prefixItems" : "items", u = t.target === "draft-2020-12" || t.target === "openapi-3.0" ? "items" : "additionalItems", l = a.items.map((k, $) => T(k, t, {
2486
2486
  ...n,
2487
2487
  path: [...n.path, i, $]
2488
2488
  })), p = a.rest ? T(a.rest, t, {
@@ -2636,7 +2636,7 @@ const bt = (e, t) => {
2636
2636
  ]
2637
2637
  }), {
2638
2638
  parent: !0
2639
- }), e.with = e.check, e.clone = (o, n) => J(e, o, n), e.brand = () => e, e.register = ((o, n) => (o.add(e, n), e)), e.parse = (o, n) => li(e, o, n, { callee: e.parse }), e.safeParse = (o, n) => di(e, o, n), e.parseAsync = async (o, n) => pi(e, o, n, { callee: e.parseAsync }), e.safeParseAsync = async (o, n) => fi(e, o, n), e.spa = e.safeParseAsync, e.encode = (o, n) => hi(e, o, n), e.decode = (o, n) => mi(e, o, n), e.encodeAsync = async (o, n) => gi(e, o, n), e.decodeAsync = async (o, n) => _i(e, o, n), e.safeEncode = (o, n) => vi(e, o, n), e.safeDecode = (o, n) => bi(e, o, n), e.safeEncodeAsync = async (o, n) => yi(e, o, n), e.safeDecodeAsync = async (o, n) => zi(e, o, n), e.refine = (o, n) => e.check(_a(o, n)), e.superRefine = (o) => e.check(va(o)), e.overwrite = (o) => e.check(/* @__PURE__ */ X(o)), e.optional = () => Be(e), e.exactOptional = () => oa(e), e.nullable = () => Ve(e), e.nullish = () => Be(Ve(e)), e.nonoptional = (o) => ca(e, o), e.array = () => L(e), e.or = (o) => k([e, o]), e.and = (o) => Xi(e, o), e.transform = (o) => We(e, ea(o)), e.default = (o) => ia(e, o), e.prefault = (o) => sa(e, o), e.catch = (o) => la(e, o), e.pipe = (o) => We(e, o), e.readonly = () => fa(e), e.describe = (o) => {
2639
+ }), e.with = e.check, e.clone = (o, n) => J(e, o, n), e.brand = () => e, e.register = ((o, n) => (o.add(e, n), e)), e.parse = (o, n) => li(e, o, n, { callee: e.parse }), e.safeParse = (o, n) => di(e, o, n), e.parseAsync = async (o, n) => pi(e, o, n, { callee: e.parseAsync }), e.safeParseAsync = async (o, n) => fi(e, o, n), e.spa = e.safeParseAsync, e.encode = (o, n) => hi(e, o, n), e.decode = (o, n) => mi(e, o, n), e.encodeAsync = async (o, n) => gi(e, o, n), e.decodeAsync = async (o, n) => _i(e, o, n), e.safeEncode = (o, n) => vi(e, o, n), e.safeDecode = (o, n) => bi(e, o, n), e.safeEncodeAsync = async (o, n) => yi(e, o, n), e.safeDecodeAsync = async (o, n) => zi(e, o, n), e.refine = (o, n) => e.check(_a(o, n)), e.superRefine = (o) => e.check(va(o)), e.overwrite = (o) => e.check(/* @__PURE__ */ X(o)), e.optional = () => Be(e), e.exactOptional = () => oa(e), e.nullable = () => Ve(e), e.nullish = () => Be(Ve(e)), e.nonoptional = (o) => ca(e, o), e.array = () => L(e), e.or = (o) => y([e, o]), e.and = (o) => Xi(e, o), e.transform = (o) => We(e, ea(o)), e.default = (o) => ia(e, o), e.prefault = (o) => sa(e, o), e.catch = (o) => la(e, o), e.pipe = (o) => We(e, o), e.readonly = () => fa(e), e.describe = (o) => {
2640
2640
  const n = e.clone();
2641
2641
  return Y.add(n, { description: o }), n;
2642
2642
  }, Object.defineProperty(e, "description", {
@@ -2704,7 +2704,7 @@ const I = /* @__PURE__ */ d("ZodStringFormat", (e, t) => {
2704
2704
  const o = e._zod.bag;
2705
2705
  e.minValue = Math.max(o.minimum ?? Number.NEGATIVE_INFINITY, o.exclusiveMinimum ?? Number.NEGATIVE_INFINITY) ?? null, e.maxValue = Math.min(o.maximum ?? Number.POSITIVE_INFINITY, o.exclusiveMaximum ?? Number.POSITIVE_INFINITY) ?? null, e.isInt = (o.format ?? "").includes("int") || Number.isSafeInteger(o.multipleOf ?? 0.5), e.isFinite = !0, e.format = o.format ?? null;
2706
2706
  });
2707
- function y(e) {
2707
+ function _(e) {
2708
2708
  return /* @__PURE__ */ ur(zt, e);
2709
2709
  }
2710
2710
  const Fi = /* @__PURE__ */ d("ZodNumberFormat", (e, t) => {
@@ -2744,24 +2744,24 @@ function L(e, t) {
2744
2744
  return /* @__PURE__ */ Zr(Wi, e, t);
2745
2745
  }
2746
2746
  const Ki = /* @__PURE__ */ d("ZodObject", (e, t) => {
2747
- vn.init(e, t), P.init(e, t), e._zod.processJSONSchema = (o, n, r) => Mr(e, o, n, r), S(e, "shape", () => t.shape), e.keyof = () => b(Object.keys(e._zod.def.shape)), e.catchall = (o) => e.clone({ ...e._zod.def, catchall: o }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: s() }), e.loose = () => e.clone({ ...e._zod.def, catchall: s() }), e.strict = () => e.clone({ ...e._zod.def, catchall: Vi() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (o) => xt(e, o), e.safeExtend = (o) => jt(e, o), e.merge = (o) => Rt(e, o), e.pick = (o) => Ct(e, o), e.omit = (o) => At(e, o), e.partial = (...o) => Dt(kt, e, o[0]), e.required = (...o) => Ut(wt, e, o[0]);
2747
+ vn.init(e, t), P.init(e, t), e._zod.processJSONSchema = (o, n, r) => Mr(e, o, n, r), S(e, "shape", () => t.shape), e.keyof = () => z(Object.keys(e._zod.def.shape)), e.catchall = (o) => e.clone({ ...e._zod.def, catchall: o }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: s() }), e.loose = () => e.clone({ ...e._zod.def, catchall: s() }), e.strict = () => e.clone({ ...e._zod.def, catchall: Vi() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (o) => xt(e, o), e.safeExtend = (o) => jt(e, o), e.merge = (o) => Rt(e, o), e.pick = (o) => Ct(e, o), e.omit = (o) => At(e, o), e.partial = (...o) => Dt(kt, e, o[0]), e.required = (...o) => Ut(wt, e, o[0]);
2748
2748
  });
2749
- function _(e, t) {
2749
+ function v(e, t) {
2750
2750
  const o = {
2751
2751
  type: "object",
2752
2752
  shape: e ?? {},
2753
- ...v(t)
2753
+ ...b(t)
2754
2754
  };
2755
2755
  return new Ki(o);
2756
2756
  }
2757
2757
  const qi = /* @__PURE__ */ d("ZodUnion", (e, t) => {
2758
2758
  bn.init(e, t), P.init(e, t), e._zod.processJSONSchema = (o, n, r) => Jr(e, o, n, r), e.options = t.options;
2759
2759
  });
2760
- function k(e, t) {
2760
+ function y(e, t) {
2761
2761
  return new qi({
2762
2762
  type: "union",
2763
2763
  options: e,
2764
- ...v(t)
2764
+ ...b(t)
2765
2765
  });
2766
2766
  }
2767
2767
  const Gi = /* @__PURE__ */ d("ZodIntersection", (e, t) => {
@@ -2786,7 +2786,7 @@ function W(e, t, o) {
2786
2786
  type: "tuple",
2787
2787
  items: e,
2788
2788
  rest: a,
2789
- ...v(r)
2789
+ ...b(r)
2790
2790
  });
2791
2791
  }
2792
2792
  const Hi = /* @__PURE__ */ d("ZodRecord", (e, t) => {
@@ -2797,7 +2797,7 @@ function H(e, t, o) {
2797
2797
  type: "record",
2798
2798
  keyType: e,
2799
2799
  valueType: t,
2800
- ...v(o)
2800
+ ...b(o)
2801
2801
  });
2802
2802
  }
2803
2803
  const ve = /* @__PURE__ */ d("ZodEnum", (e, t) => {
@@ -2813,7 +2813,7 @@ const ve = /* @__PURE__ */ d("ZodEnum", (e, t) => {
2813
2813
  return new ve({
2814
2814
  ...t,
2815
2815
  checks: [],
2816
- ...v(r),
2816
+ ...b(r),
2817
2817
  entries: a
2818
2818
  });
2819
2819
  }, e.exclude = (n, r) => {
@@ -2826,17 +2826,17 @@ const ve = /* @__PURE__ */ d("ZodEnum", (e, t) => {
2826
2826
  return new ve({
2827
2827
  ...t,
2828
2828
  checks: [],
2829
- ...v(r),
2829
+ ...b(r),
2830
2830
  entries: a
2831
2831
  });
2832
2832
  };
2833
2833
  });
2834
- function b(e, t) {
2834
+ function z(e, t) {
2835
2835
  const o = Array.isArray(e) ? Object.fromEntries(e.map((n) => [n, n])) : e;
2836
2836
  return new ve({
2837
2837
  type: "enum",
2838
2838
  entries: o,
2839
- ...v(t)
2839
+ ...b(t)
2840
2840
  });
2841
2841
  }
2842
2842
  const Qi = /* @__PURE__ */ d("ZodTransform", (e, t) => {
@@ -2919,7 +2919,7 @@ function ca(e, t) {
2919
2919
  return new wt({
2920
2920
  type: "nonoptional",
2921
2921
  innerType: e,
2922
- ...v(t)
2922
+ ...b(t)
2923
2923
  });
2924
2924
  }
2925
2925
  const ua = /* @__PURE__ */ d("ZodCatch", (e, t) => {
@@ -2970,72 +2970,75 @@ function _a(e, t = {}) {
2970
2970
  function va(e) {
2971
2971
  return /* @__PURE__ */ Or(e);
2972
2972
  }
2973
- const g = k([
2973
+ const g = y([
2974
2974
  c(),
2975
- y(),
2975
+ _(),
2976
2976
  h(),
2977
2977
  w(),
2978
- _({ path: c() })
2978
+ v({ path: c() })
2979
2979
  ]), ie = ma(
2980
- () => k([
2981
- _({ and: L(ie) }),
2982
- _({ or: L(ie) }),
2983
- _({ not: ie }),
2984
- _({ path: c() }),
2985
- _({ eq: W([g, g]) }),
2986
- _({ neq: W([g, g]) }),
2987
- _({ gt: W([g, g]) }),
2988
- _({ gte: W([g, g]) }),
2989
- _({ lt: W([g, g]) }),
2990
- _({ lte: W([g, g]) })
2980
+ () => y([
2981
+ v({ and: L(ie) }),
2982
+ v({ or: L(ie) }),
2983
+ v({ not: ie }),
2984
+ v({ path: c() }),
2985
+ v({ eq: W([g, g]) }),
2986
+ v({ neq: W([g, g]) }),
2987
+ v({ gt: W([g, g]) }),
2988
+ v({ gte: W([g, g]) }),
2989
+ v({ lt: W([g, g]) }),
2990
+ v({ lte: W([g, g]) })
2991
2991
  ])
2992
- ), ba = k([
2992
+ ), ba = y([
2993
2993
  h(),
2994
- _({ path: c() }),
2995
- _({ auth: b(["signedIn", "signedOut"]) }),
2994
+ v({ path: c() }),
2995
+ v({ auth: z(["signedIn", "signedOut"]) }),
2996
2996
  ie
2997
- ]), ya = _({
2997
+ ]), ya = v({
2998
2998
  title: c(),
2999
2999
  message: c(),
3000
- variant: b(["default", "danger"]).optional(),
3000
+ variant: z(["default", "danger"]).optional(),
3001
3001
  confirmLabel: c().optional(),
3002
3002
  cancelLabel: c().optional()
3003
- }), za = _({
3003
+ }), za = v({
3004
3004
  name: c(),
3005
3005
  params: H(c(), g).optional(),
3006
3006
  confirm: ya.optional(),
3007
- onSuccess: _({ set: H(c(), g) }).optional(),
3008
- onError: _({ set: H(c(), g) }).optional()
3009
- }), ka = _({
3010
- variant: b(["primary", "secondary", "destructive", "outline", "beta"]).optional(),
3007
+ onSuccess: v({ set: H(c(), g) }).optional(),
3008
+ onError: v({ set: H(c(), g) }).optional()
3009
+ }), ka = v({
3010
+ variant: z(["primary", "secondary", "destructive", "outline", "beta"]).optional(),
3011
3011
  // Visual style of the badge. - `"primary"` — High-emphasis badge for important labels - `"secondary"` — Subtle badge for secondary information - `"destructive"` — Error or danger state indicator - `"outline"` — Bordered badge with transparent background - `"beta"` — Dashed-border badge for beta/experimental features
3012
3012
  className: c().optional(),
3013
3013
  // Additional CSS classes merged via `cn()`.
3014
- children: k([c(), y(), h(), w(), g]).optional()
3014
+ children: y([c(), _(), h(), w(), g]).optional()
3015
3015
  // Content rendered inside the badge.
3016
- }), wa = _({
3017
- icon: k([c(), y(), h(), w(), g]).optional(),
3018
- // Icon element rendered before the banner text (e.g. from `@phosphor-icons/react`).
3016
+ }), wa = v({
3017
+ icon: y([c(), _(), h(), w(), g]).optional(),
3018
+ // Icon element rendered before the banner content (e.g. from `@phosphor-icons/react`).
3019
+ title: c().optional(),
3020
+ // Primary heading text for the banner. Use for i18n string injection.
3021
+ description: y([c(), _(), h(), w(), g]).optional(),
3022
+ // Secondary description text displayed below the title. Use for i18n string injection.
3019
3023
  text: c().optional(),
3020
- children: k([c(), y(), h(), w(), g]).optional(),
3021
- // Banner message content. Accepts strings or custom React elements.
3022
- variant: b(["default", "alert", "error"]).optional(),
3024
+ children: y([c(), _(), h(), w(), g]).optional(),
3025
+ variant: z(["default", "alert", "error"]).optional(),
3023
3026
  // Visual style of the banner. - `"default"` — Informational blue banner for general messages - `"alert"` — Warning yellow banner for cautionary messages - `"error"` — Error red banner for critical issues
3024
3027
  className: c().optional()
3025
3028
  // Additional CSS classes merged via `cn()`.
3026
- }), $a = _({
3027
- size: b(["sm", "base"]).optional(),
3029
+ }), $a = v({
3030
+ size: z(["sm", "base"]).optional(),
3028
3031
  // Size of the breadcrumbs. - `"sm"` — Compact breadcrumbs for dense UIs - `"base"` — Default breadcrumbs size
3029
- children: k([c(), y(), h(), w(), g]).optional(),
3032
+ children: y([c(), _(), h(), w(), g]).optional(),
3030
3033
  className: c().optional()
3031
3034
  // Additional CSS classes merged via `cn()`.
3032
- }), Sa = _({
3033
- shape: b(["base", "square", "circle"]).optional(),
3034
- size: b(["xs", "sm", "base", "lg"]).optional(),
3035
- variant: b(["primary", "secondary", "ghost", "destructive", "secondary-destructive", "outline"]).optional(),
3036
- children: k([c(), y(), h(), w(), g]).optional(),
3035
+ }), Sa = v({
3036
+ shape: z(["base", "square", "circle"]).optional(),
3037
+ size: z(["xs", "sm", "base", "lg"]).optional(),
3038
+ variant: z(["primary", "secondary", "ghost", "destructive", "secondary-destructive", "outline"]).optional(),
3039
+ children: y([c(), _(), h(), w(), g]).optional(),
3037
3040
  className: c().optional(),
3038
- icon: k([c(), y(), h(), w(), g]).optional(),
3041
+ icon: y([c(), _(), h(), w(), g]).optional(),
3039
3042
  // Icon from `@phosphor-icons/react` or a React element. Rendered before children.
3040
3043
  loading: h().optional(),
3041
3044
  // Shows a loading spinner and disables interaction.
@@ -3044,14 +3047,14 @@ const g = k([
3044
3047
  title: c().optional(),
3045
3048
  disabled: h().optional(),
3046
3049
  name: c().optional(),
3047
- type: b(["submit", "reset", "button"]).optional(),
3050
+ type: z(["submit", "reset", "button"]).optional(),
3048
3051
  value: s().optional()
3049
- }), Za = _({
3050
- variant: b(["default", "error"]).optional(),
3052
+ }), Za = v({
3053
+ variant: z(["default", "error"]).optional(),
3051
3054
  // Visual variant: "default" or "error" for validation failures (visual only, no error text)
3052
- label: k([c(), y(), h(), w(), g]).optional(),
3055
+ label: y([c(), _(), h(), w(), g]).optional(),
3053
3056
  // Label content for the checkbox (enables built-in Field wrapper) - can be a string or any React node
3054
- labelTooltip: k([c(), y(), h(), w(), g]).optional(),
3057
+ labelTooltip: y([c(), _(), h(), w(), g]).optional(),
3055
3058
  // Tooltip content to display next to the label via an info icon
3056
3059
  controlFirst: h().optional(),
3057
3060
  // When true (default), checkbox appears before label. When false, label appears before checkbox.
@@ -3069,8 +3072,8 @@ const g = k([
3069
3072
  // Additional class name
3070
3073
  onValueChange: s().optional()
3071
3074
  // Callback when checkbox value changes
3072
- }), Pa = _({
3073
- size: b(["sm", "base", "lg"]).optional(),
3075
+ }), Pa = v({
3076
+ size: z(["sm", "base", "lg"]).optional(),
3074
3077
  // Size of the clipboard text field. - `"sm"` — Small clipboard text for compact UIs - `"base"` — Default clipboard text size - `"lg"` — Large clipboard text for prominent display
3075
3078
  text: c(),
3076
3079
  // The text to display and copy to clipboard.
@@ -3080,8 +3083,8 @@ const g = k([
3080
3083
  // Tooltip config. Shows tooltip on hover, anchored toast on click.
3081
3084
  labels: s().optional()
3082
3085
  // Accessible labels for i18n.
3083
- }), Oa = _({
3084
- children: k([c(), y(), h(), w(), g]).optional(),
3086
+ }), Oa = v({
3087
+ children: y([c(), _(), h(), w(), g]).optional(),
3085
3088
  className: c().optional(),
3086
3089
  height: s().optional(),
3087
3090
  id: c().optional(),
@@ -3093,13 +3096,13 @@ const g = k([
3093
3096
  type: c().optional(),
3094
3097
  width: s().optional(),
3095
3098
  accentHeight: s().optional(),
3096
- accumulate: b(["none", "sum"]).optional(),
3097
- additive: b(["replace", "sum"]).optional(),
3098
- alignmentBaseline: b(["auto", "baseline", "before-edge", "text-before-edge", "middle", "central", "after-edge", "text-after-edge", "ideographic", "alphabetic", "hanging", "mathematical", "inherit"]).optional(),
3099
- allowReorder: b(["no", "yes"]).optional(),
3099
+ accumulate: z(["none", "sum"]).optional(),
3100
+ additive: z(["replace", "sum"]).optional(),
3101
+ alignmentBaseline: z(["auto", "baseline", "before-edge", "text-before-edge", "middle", "central", "after-edge", "text-after-edge", "ideographic", "alphabetic", "hanging", "mathematical", "inherit"]).optional(),
3102
+ allowReorder: z(["no", "yes"]).optional(),
3100
3103
  alphabetic: s().optional(),
3101
3104
  amplitude: s().optional(),
3102
- arabicForm: b(["initial", "medial", "terminal", "isolated"]).optional(),
3105
+ arabicForm: z(["initial", "medial", "terminal", "isolated"]).optional(),
3103
3106
  ascent: s().optional(),
3104
3107
  attributeName: c().optional(),
3105
3108
  attributeType: c().optional(),
@@ -3119,7 +3122,7 @@ const g = k([
3119
3122
  clipPathUnits: s().optional(),
3120
3123
  clipRule: s().optional(),
3121
3124
  colorInterpolation: s().optional(),
3122
- colorInterpolationFilters: b(["auto", "sRGB", "linearRGB", "inherit"]).optional(),
3125
+ colorInterpolationFilters: z(["auto", "sRGB", "linearRGB", "inherit"]).optional(),
3123
3126
  colorProfile: s().optional(),
3124
3127
  colorRendering: s().optional(),
3125
3128
  contentScriptType: s().optional(),
@@ -3134,7 +3137,7 @@ const g = k([
3134
3137
  direction: s().optional(),
3135
3138
  display: s().optional(),
3136
3139
  divisor: s().optional(),
3137
- dominantBaseline: b(["auto", "use-script", "no-change", "reset-size", "ideographic", "alphabetic", "hanging", "mathematical", "central", "middle", "text-after-edge", "text-before-edge", "inherit"]).optional(),
3140
+ dominantBaseline: z(["auto", "use-script", "no-change", "reset-size", "ideographic", "alphabetic", "hanging", "mathematical", "central", "middle", "text-after-edge", "text-before-edge", "inherit"]).optional(),
3138
3141
  dur: s().optional(),
3139
3142
  dx: s().optional(),
3140
3143
  dy: s().optional(),
@@ -3146,7 +3149,7 @@ const g = k([
3146
3149
  externalResourcesRequired: s().optional(),
3147
3150
  fill: c().optional(),
3148
3151
  fillOpacity: s().optional(),
3149
- fillRule: b(["nonzero", "evenodd", "inherit"]).optional(),
3152
+ fillRule: z(["nonzero", "evenodd", "inherit"]).optional(),
3150
3153
  filter: c().optional(),
3151
3154
  filterRes: s().optional(),
3152
3155
  filterUnits: s().optional(),
@@ -3271,8 +3274,8 @@ const g = k([
3271
3274
  stroke: c().optional(),
3272
3275
  strokeDasharray: s().optional(),
3273
3276
  strokeDashoffset: s().optional(),
3274
- strokeLinecap: b(["butt", "round", "square", "inherit"]).optional(),
3275
- strokeLinejoin: b(["miter", "round", "bevel", "inherit"]).optional(),
3277
+ strokeLinecap: z(["butt", "round", "square", "inherit"]).optional(),
3278
+ strokeLinejoin: z(["miter", "round", "bevel", "inherit"]).optional(),
3276
3279
  strokeMiterlimit: s().optional(),
3277
3280
  strokeOpacity: s().optional(),
3278
3281
  strokeWidth: s().optional(),
@@ -3281,7 +3284,7 @@ const g = k([
3281
3284
  tableValues: s().optional(),
3282
3285
  targetX: s().optional(),
3283
3286
  targetY: s().optional(),
3284
- textAnchor: b(["start", "middle", "end", "inherit"]).optional(),
3287
+ textAnchor: z(["start", "middle", "end", "inherit"]).optional(),
3285
3288
  textDecoration: s().optional(),
3286
3289
  textLength: s().optional(),
3287
3290
  textRendering: s().optional(),
@@ -3334,10 +3337,10 @@ const g = k([
3334
3337
  yChannelSelector: c().optional(),
3335
3338
  z: s().optional(),
3336
3339
  zoomAndPan: c().optional(),
3337
- variant: b(["glyph", "full"]).optional()
3340
+ variant: z(["glyph", "full"]).optional()
3338
3341
  // Logo variant - `glyph`: Cloud icon only - `full`: Cloud icon with "CLOUDFLARE" wordmark below
3339
- }), Ta = _({
3340
- lang: b(["ts", "tsx", "jsonc", "bash", "css"]).optional(),
3342
+ }), Ta = v({
3343
+ lang: z(["ts", "tsx", "jsonc", "bash", "css"]).optional(),
3341
3344
  // Language hint for the code content. - `"ts"` — TypeScript code - `"tsx"` — TypeScript JSX code - `"jsonc"` — JSON with comments - `"bash"` — Shell/Bash commands - `"css"` — CSS styles
3342
3345
  code: c(),
3343
3346
  // The code string to display.
@@ -3345,8 +3348,8 @@ const g = k([
3345
3348
  // Template values for `{{key}}` interpolation. Values with `highlight: true` are visually emphasized.
3346
3349
  className: c().optional()
3347
3350
  // Additional CSS classes merged via `cn()`.
3348
- }), Ia = _({
3349
- children: k([c(), y(), h(), w(), g]).optional(),
3351
+ }), Ia = v({
3352
+ children: y([c(), _(), h(), w(), g]).optional(),
3350
3353
  label: c(),
3351
3354
  // Text label displayed in the trigger button
3352
3355
  open: h().optional(),
@@ -3355,24 +3358,24 @@ const g = k([
3355
3358
  // Additional CSS classes for the content panel
3356
3359
  onOpenChange: s().optional()
3357
3360
  // Callback when collapsed state changes
3358
- }), Na = _({
3359
- inputSide: b(["right", "top"]).optional(),
3361
+ }), Na = v({
3362
+ inputSide: z(["right", "top"]).optional(),
3360
3363
  // Position of the text input relative to chips in multi-select mode. - `"right"` — Input inline to the right of chips - `"top"` — Input above chips
3361
3364
  items: L(s()),
3362
3365
  // Array of items to display in the dropdown
3363
3366
  value: L(s()).optional(),
3364
3367
  // Currently selected value(s)
3365
- children: k([c(), y(), h(), w(), g]).optional(),
3368
+ children: y([c(), _(), h(), w(), g]).optional(),
3366
3369
  // Combobox content (trigger, content, items)
3367
3370
  className: c().optional(),
3368
3371
  // Additional CSS classes
3369
- label: k([c(), y(), h(), w(), g]).optional(),
3372
+ label: y([c(), _(), h(), w(), g]).optional(),
3370
3373
  // Label content for the combobox (enables Field wrapper) - can be a string or any React node
3371
3374
  required: h().optional(),
3372
3375
  // Whether the combobox is required
3373
- labelTooltip: k([c(), y(), h(), w(), g]).optional(),
3376
+ labelTooltip: y([c(), _(), h(), w(), g]).optional(),
3374
3377
  // Tooltip content to display next to the label via an info icon
3375
- description: k([c(), y(), h(), w(), g]).optional(),
3378
+ description: y([c(), _(), h(), w(), g]).optional(),
3376
3379
  // Helper text displayed below the combobox
3377
3380
  error: s().optional(),
3378
3381
  // Error message or validation error object
@@ -3382,20 +3385,20 @@ const g = k([
3382
3385
  // Allow multiple selections
3383
3386
  isItemEqualToValue: s().optional()
3384
3387
  // Custom equality function for comparing items
3385
- }), Ea = _({
3388
+ }), Ea = v({
3386
3389
  open: h(),
3387
3390
  // Whether the dialog is open
3388
- children: k([c(), y(), h(), w(), g]).optional()
3391
+ children: y([c(), _(), h(), w(), g]).optional()
3389
3392
  // Child content - typically one or more Panel components
3390
- }), Ca = _({
3393
+ }), Ca = v({
3391
3394
  className: c().optional(),
3392
3395
  // Additional CSS classes
3393
- children: k([c(), y(), h(), w(), g]).optional()
3396
+ children: y([c(), _(), h(), w(), g]).optional()
3394
3397
  // Child elements
3395
- }), Aa = _({
3396
- size: b(["sm", "base", "lg"]).optional(),
3398
+ }), Aa = v({
3399
+ size: z(["sm", "base", "lg"]).optional(),
3397
3400
  // Calendar size. - `"sm"` — Compact calendar for tight spaces - `"base"` — Default calendar size - `"lg"` — Large calendar for prominent date selection
3398
- variant: b(["default", "subtle"]).optional(),
3401
+ variant: z(["default", "subtle"]).optional(),
3399
3402
  // Visual variant. - `"default"` — Standard appearance with overlay background - `"subtle"` — Minimal background
3400
3403
  timezone: c().optional(),
3401
3404
  // Display timezone string shown in the footer.
@@ -3405,20 +3408,20 @@ const g = k([
3405
3408
  // Callback when start date changes
3406
3409
  onEndDateChange: s().optional()
3407
3410
  // Callback when end date changes
3408
- }), xa = _({
3411
+ }), xa = v({
3409
3412
  className: c().optional(),
3410
3413
  // Additional CSS classes merged via `cn()`.
3411
- children: k([c(), y(), h(), w(), g]).optional(),
3414
+ children: y([c(), _(), h(), w(), g]).optional(),
3412
3415
  // Dialog content (typically Title, Description, Close, and action buttons).
3413
- size: b(["base", "sm", "lg", "xl"]).optional()
3416
+ size: z(["base", "sm", "lg", "xl"]).optional()
3414
3417
  // Dialog width. - `"sm"` — Small (min 288px) for simple confirmations - `"base"` — Default (min 384px) - `"lg"` — Large (min 512px) for complex content - `"xl"` — Extra large (min 768px) for detailed views
3415
- }), ja = _({
3416
- variant: b(["default", "danger"]).optional()
3418
+ }), ja = v({
3419
+ variant: z(["default", "danger"]).optional()
3417
3420
  // Visual style of the dropdown item. - `"default"` — Standard item appearance - `"danger"` — Destructive action with red text
3418
- }), Ra = _({
3419
- size: b(["sm", "base", "lg"]).optional(),
3421
+ }), Ra = v({
3422
+ size: z(["sm", "base", "lg"]).optional(),
3420
3423
  // Size of the empty state container. - `"sm"` — Compact empty state for smaller containers - `"base"` — Default empty state size - `"lg"` — Large empty state for prominent placement
3421
- icon: k([c(), y(), h(), w(), g]).optional(),
3424
+ icon: y([c(), _(), h(), w(), g]).optional(),
3422
3425
  // Decorative icon displayed above the title (e.g. from `@phosphor-icons/react`).
3423
3426
  title: c(),
3424
3427
  // Primary heading text for the empty state.
@@ -3426,27 +3429,27 @@ const g = k([
3426
3429
  // Secondary description text displayed below the title.
3427
3430
  commandLine: c().optional(),
3428
3431
  // Shell command displayed in a copyable code block.
3429
- contents: k([c(), y(), h(), w(), g]).optional(),
3432
+ contents: y([c(), _(), h(), w(), g]).optional(),
3430
3433
  // Additional content (buttons, links) rendered below the description.
3431
3434
  className: c().optional()
3432
3435
  // Additional CSS classes merged via `cn()`.
3433
- }), Da = _({
3436
+ }), Da = v({
3434
3437
  controlFirst: h().optional(),
3435
3438
  // When `true`, places the control before the label (for checkbox/switch layouts).
3436
- children: k([c(), y(), h(), w(), g]).optional(),
3439
+ children: y([c(), _(), h(), w(), g]).optional(),
3437
3440
  // The form control element(s) to wrap (Input, Select, Checkbox, etc.).
3438
- label: k([c(), y(), h(), w(), g]).optional(),
3441
+ label: y([c(), _(), h(), w(), g]).optional(),
3439
3442
  // The label content — can be a string or any React node.
3440
3443
  required: h().optional(),
3441
3444
  // When explicitly `false`, shows gray "(optional)" text after the label. When `true` or `undefined`, no indicator is shown.
3442
- labelTooltip: k([c(), y(), h(), w(), g]).optional(),
3445
+ labelTooltip: y([c(), _(), h(), w(), g]).optional(),
3443
3446
  // Tooltip content displayed next to the label via an info icon.
3444
3447
  error: s().optional(),
3445
3448
  // Validation error with a message and a browser `ValidityState` match key.
3446
- description: k([c(), y(), h(), w(), g]).optional()
3449
+ description: y([c(), _(), h(), w(), g]).optional()
3447
3450
  // Helper text displayed below the control (hidden when `error` is present).
3448
- }), Ua = _({
3449
- children: k([c(), y(), h(), w(), g]).optional(),
3451
+ }), Ua = v({
3452
+ children: y([c(), _(), h(), w(), g]).optional(),
3450
3453
  // Grid items to render.
3451
3454
  className: c().optional(),
3452
3455
  // Additional CSS classes merged via `cn()`.
@@ -3455,29 +3458,29 @@ const g = k([
3455
3458
  title: c().optional(),
3456
3459
  mobileDivider: h().optional(),
3457
3460
  // Show dividers between grid items on mobile (only works with `"4up"` variant).
3458
- gap: b(["none", "sm", "base", "lg"]).optional(),
3461
+ gap: z(["none", "sm", "base", "lg"]).optional(),
3459
3462
  // Gap size between grid items. - `"none"` — No gap - `"sm"` — 12px gap - `"base"` — Responsive gap (8px → 24px → 32px) - `"lg"` — 32px gap
3460
- variant: b(["2up", "side-by-side", "2-1", "1-2", "1-3up", "3up", "4up", "6up", "1-2-4up"]).optional()
3463
+ variant: z(["2up", "side-by-side", "2-1", "1-2", "1-3up", "3up", "4up", "6up", "1-2-4up"]).optional()
3461
3464
  // Responsive column layout variant. - `"2up"` — 1 col → 2 cols at md - `"side-by-side"` — Always 2 cols - `"2-1"` — 66%/33% split at md - `"1-2"` — 33%/66% split at md - `"3up"` — 1 → 2 → 3 cols - `"4up"` — 1 → 2 → 3 → 4 cols - `"6up"` — 2 → 3 → 4 → 6 cols - `"1-2-4up"` — 1 → 2 → 4 cols
3462
- }), Fa = _({
3463
- label: k([c(), y(), h(), w(), g]).optional(),
3465
+ }), Fa = v({
3466
+ label: y([c(), _(), h(), w(), g]).optional(),
3464
3467
  // Label content for the input (enables Field wrapper) - can be a string or any React node
3465
- labelTooltip: k([c(), y(), h(), w(), g]).optional(),
3468
+ labelTooltip: y([c(), _(), h(), w(), g]).optional(),
3466
3469
  // Tooltip content to display next to the label via an info icon
3467
- description: k([c(), y(), h(), w(), g]).optional(),
3470
+ description: y([c(), _(), h(), w(), g]).optional(),
3468
3471
  // Helper text displayed below the input
3469
3472
  error: s().optional(),
3470
3473
  // Error message or validation error object
3471
- size: b(["xs", "sm", "base", "lg"]).optional(),
3474
+ size: z(["xs", "sm", "base", "lg"]).optional(),
3472
3475
  // Input size. - `"xs"` — Extra small for compact UIs - `"sm"` — Small for secondary fields - `"base"` — Default size - `"lg"` — Large for prominent fields
3473
- variant: b(["default", "error"]).optional()
3476
+ variant: z(["default", "error"]).optional()
3474
3477
  // Visual variant. - `"default"` — Standard input - `"error"` — Error state for validation failures
3475
- }), La = _({}), Ma = _({
3476
- children: k([c(), y(), h(), w(), g]).optional(),
3478
+ }), La = v({}), Ma = v({
3479
+ children: y([c(), _(), h(), w(), g]).optional(),
3477
3480
  // The label content — can be a string or any React node.
3478
3481
  showOptional: h().optional(),
3479
3482
  // When `true`, shows gray "(optional)" text after the label.
3480
- tooltip: k([c(), y(), h(), w(), g]).optional(),
3483
+ tooltip: y([c(), _(), h(), w(), g]).optional(),
3481
3484
  // Tooltip content displayed next to the label via an info icon.
3482
3485
  className: c().optional(),
3483
3486
  // Additional CSS classes merged via `cn()`.
@@ -3485,15 +3488,15 @@ const g = k([
3485
3488
  // The id of the form element this label is associated with
3486
3489
  asContent: h().optional()
3487
3490
  // When true, only renders the inline content (indicators, tooltip) without the outer label element with font styling. Useful when composed inside another label element that already provides the text styling.
3488
- }), Ja = _({
3489
- children: k([c(), y(), h(), w(), g]).optional(),
3491
+ }), Ja = v({
3492
+ children: y([c(), _(), h(), w(), g]).optional(),
3490
3493
  className: c().optional()
3491
3494
  // Additional CSS classes merged via `cn()`.
3492
- }), Ba = _({
3493
- variant: b(["inline", "current", "plain"]).optional(),
3495
+ }), Ba = v({
3496
+ variant: z(["inline", "current", "plain"]).optional(),
3494
3497
  // Visual style of the link. - `"inline"` — Inline text link that flows with content - `"current"` — Link that inherits color from parent text - `"plain"` — Link without underline decoration
3495
3498
  to: c().optional(),
3496
- children: k([c(), y(), h(), w(), g]).optional(),
3499
+ children: y([c(), _(), h(), w(), g]).optional(),
3497
3500
  className: c().optional(),
3498
3501
  id: c().optional(),
3499
3502
  lang: c().optional(),
@@ -3505,15 +3508,15 @@ const g = k([
3505
3508
  ping: c().optional(),
3506
3509
  target: s().optional(),
3507
3510
  type: c().optional(),
3508
- referrerPolicy: b(["", "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"]).optional(),
3509
- render: k([c(), y(), h(), w(), g]).optional()
3511
+ referrerPolicy: z(["", "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"]).optional(),
3512
+ render: y([c(), _(), h(), w(), g]).optional()
3510
3513
  // Allows you to replace the component’s HTML element with a different tag, or compose it with another component. Accepts a `ReactElement` or a function that returns the element to render.
3511
- }), Va = _({
3514
+ }), Va = v({
3512
3515
  className: c().optional(),
3513
3516
  // Additional CSS classes merged via `cn()`.
3514
- size: b(["sm", "base", "lg"]).optional()
3517
+ size: z(["sm", "base", "lg"]).optional()
3515
3518
  // Size of the spinner. Use a preset name or a custom pixel number. - `"sm"` — 16px, for inline use - `"base"` — 24px, default size - `"lg"` — 32px, for prominent loading states
3516
- }), Wa = _({
3519
+ }), Wa = v({
3517
3520
  className: c().optional(),
3518
3521
  // Additional CSS classes merged via `cn()`.
3519
3522
  isActive: s().optional(),
@@ -3522,7 +3525,7 @@ const g = k([
3522
3525
  // Array of menu option configurations.
3523
3526
  optionIds: h().optional()
3524
3527
  // When true, each option's `id` field is used for matching instead of its array index.
3525
- }), Ka = _({
3528
+ }), Ka = v({
3526
3529
  customValue: c().optional(),
3527
3530
  // Custom formatted value text (e.g. "750 / 1,000") displayed instead of percentage.
3528
3531
  label: c(),
@@ -3533,52 +3536,55 @@ const g = k([
3533
3536
  // Additional CSS classes for the track (background bar).
3534
3537
  indicatorClassName: c().optional(),
3535
3538
  // Additional CSS classes for the indicator (filled bar).
3536
- value: y().optional(),
3539
+ value: _().optional(),
3537
3540
  // Current value of the meter
3538
- max: y().optional(),
3541
+ max: _().optional(),
3539
3542
  // Maximum value of the meter (default: 100)
3540
- min: y().optional()
3543
+ min: _().optional()
3541
3544
  // Minimum value of the meter (default: 0)
3542
- }), qa = _({
3543
- controls: b(["full", "simple"]).optional(),
3545
+ }), qa = v({
3544
3546
  setPage: s(),
3545
3547
  // Callback when page changes
3546
- page: y().optional(),
3548
+ page: _().optional(),
3547
3549
  // Current page number (1-indexed).
3548
- perPage: y().optional(),
3550
+ perPage: _().optional(),
3549
3551
  // Number of items displayed per page.
3550
- totalCount: y().optional(),
3552
+ totalCount: _().optional(),
3551
3553
  // Total number of items across all pages.
3554
+ className: c().optional(),
3555
+ // Additional CSS classes for the container
3556
+ children: y([c(), _(), h(), w(), g]).optional(),
3557
+ // Compound component children for custom layouts. Use Pagination.Info, Pagination.PageSize, Pagination.Controls, and Pagination.Separator.
3558
+ controls: z(["full", "simple"]).optional(),
3552
3559
  text: s().optional()
3553
- // Method to provide custom pagination text
3554
- }), Ga = _({
3555
- side: b(["top", "bottom", "left", "right"]).optional()
3560
+ }), Ga = v({
3561
+ side: z(["top", "bottom", "left", "right"]).optional()
3556
3562
  // Which side of the trigger the popover appears on. - `"top"` — Above the trigger - `"bottom"` — Below the trigger - `"left"` — Left of the trigger - `"right"` — Right of the trigger
3557
- }), Xa = _({
3563
+ }), Xa = v({
3558
3564
  legend: c(),
3559
3565
  // Legend text for the group (required for accessibility)
3560
- children: k([c(), y(), h(), w(), g]).optional(),
3566
+ children: y([c(), _(), h(), w(), g]).optional(),
3561
3567
  // Child Radio.Item components
3562
- orientation: b(["vertical", "horizontal"]).optional(),
3568
+ orientation: z(["vertical", "horizontal"]).optional(),
3563
3569
  // Layout direction of the radio items
3564
3570
  error: c().optional(),
3565
3571
  // Error message for the group
3566
- description: k([c(), y(), h(), w(), g]).optional(),
3572
+ description: y([c(), _(), h(), w(), g]).optional(),
3567
3573
  // Helper text for the group
3568
3574
  value: c().optional(),
3569
3575
  // Value of the radio that should be selected (controlled)
3570
3576
  disabled: h().optional(),
3571
3577
  // Whether all radios in the group are disabled
3572
- controlPosition: b(["start", "end"]).optional(),
3578
+ controlPosition: z(["start", "end"]).optional(),
3573
3579
  // Position of radio control relative to label: "start" (default) puts radio before label, "end" puts label before radio
3574
3580
  name: c().optional(),
3575
3581
  // Form submission name for the radio group
3576
3582
  className: c().optional()
3577
3583
  // Additional CSS classes
3578
- }), Ya = _({
3584
+ }), Ya = v({
3579
3585
  className: c().optional(),
3580
3586
  // Additional CSS classes merged via `cn()`.
3581
- label: k([c(), y(), h(), w(), g]).optional(),
3587
+ label: y([c(), _(), h(), w(), g]).optional(),
3582
3588
  // Label content for the select (enables Field wrapper) — can be a string or any React node.
3583
3589
  hideLabel: h().optional(),
3584
3590
  // Visually hide the label while keeping it accessible to screen readers. Set to `false` to show a visible label above the select via the Field wrapper.
@@ -3590,13 +3596,13 @@ const g = k([
3590
3596
  // Whether the select is disabled.
3591
3597
  required: h().optional(),
3592
3598
  // Whether the select is required. When `false`, shows "(optional)" text.
3593
- labelTooltip: k([c(), y(), h(), w(), g]).optional(),
3599
+ labelTooltip: y([c(), _(), h(), w(), g]).optional(),
3594
3600
  // Tooltip content displayed next to the label via an info icon.
3595
3601
  value: c().optional(),
3596
3602
  // Currently selected value (controlled mode).
3597
- children: k([c(), y(), h(), w(), g]).optional(),
3603
+ children: y([c(), _(), h(), w(), g]).optional(),
3598
3604
  // `Select.Option` elements to render in the dropdown.
3599
- description: k([c(), y(), h(), w(), g]).optional(),
3605
+ description: y([c(), _(), h(), w(), g]).optional(),
3600
3606
  // Helper text displayed below the select.
3601
3607
  error: s().optional(),
3602
3608
  // Error message string or validation error object with `match` key.
@@ -3604,7 +3610,7 @@ const g = k([
3604
3610
  // Callback when selection changes
3605
3611
  defaultValue: c().optional()
3606
3612
  // Initial value for uncontrolled mode
3607
- }), Ha = _({
3613
+ }), Ha = v({
3608
3614
  alt: c().optional(),
3609
3615
  autoComplete: s().optional(),
3610
3616
  checked: h().optional(),
@@ -3620,45 +3626,45 @@ const g = k([
3620
3626
  id: c().optional(),
3621
3627
  lang: c().optional(),
3622
3628
  title: c().optional(),
3623
- children: k([c(), y(), h(), w(), g]).optional(),
3629
+ children: y([c(), _(), h(), w(), g]).optional(),
3624
3630
  value: c().optional(),
3625
3631
  // Controlled value
3626
- size: b(["xs", "sm", "base", "lg"]).optional(),
3632
+ size: z(["xs", "sm", "base", "lg"]).optional(),
3627
3633
  // Size of the input. - `"xs"` — Extra small for compact UIs - `"sm"` — Small for secondary fields - `"base"` — Default input size - `"lg"` — Large for prominent fields
3628
- variant: b(["default", "error"]).optional(),
3634
+ variant: z(["default", "error"]).optional(),
3629
3635
  // Style variant of the input. - `"default"` — Default input appearance - `"error"` — Error state for validation failures
3630
- label: k([c(), y(), h(), w(), g]).optional(),
3636
+ label: y([c(), _(), h(), w(), g]).optional(),
3631
3637
  // Label content for the input (enables Field wrapper and sets masked state label) - can be a string or any React node
3632
- labelTooltip: k([c(), y(), h(), w(), g]).optional(),
3638
+ labelTooltip: y([c(), _(), h(), w(), g]).optional(),
3633
3639
  // Tooltip content to display next to the label via an info icon
3634
- description: k([c(), y(), h(), w(), g]).optional(),
3640
+ description: y([c(), _(), h(), w(), g]).optional(),
3635
3641
  // Helper text displayed below the input
3636
3642
  error: s().optional()
3637
3643
  // Error message or validation error object
3638
- }), Qa = _({
3644
+ }), Qa = v({
3639
3645
  as: s().optional(),
3640
3646
  // The HTML element type to render as (e.g. `"div"`, `"section"`, `"article"`).
3641
3647
  className: c().optional(),
3642
3648
  // Additional CSS classes merged via `cn()`.
3643
- children: k([c(), y(), h(), w(), g]).optional()
3649
+ children: y([c(), _(), h(), w(), g]).optional()
3644
3650
  // Content rendered inside the surface.
3645
- }), es = _({
3646
- variant: b(["default", "error"]).optional(),
3651
+ }), es = v({
3652
+ variant: z(["default", "error"]).optional(),
3647
3653
  // Visual variant: "default" or "error" for validation failures (visual only, no error text)
3648
- label: k([c(), y(), h(), w(), g]).optional(),
3654
+ label: y([c(), _(), h(), w(), g]).optional(),
3649
3655
  // Label content for the switch (Field wrapper is built-in) - can be a string or any React node. Optional when used standalone for visual-only purposes.
3650
- labelTooltip: k([c(), y(), h(), w(), g]).optional(),
3656
+ labelTooltip: y([c(), _(), h(), w(), g]).optional(),
3651
3657
  // Tooltip content to display next to the label via an info icon
3652
3658
  required: h().optional(),
3653
3659
  // Whether the switch is required. When explicitly false, shows "(optional)" text after the label.
3654
3660
  controlFirst: h().optional(),
3655
3661
  // When true (default), switch appears before label. When false, label appears before switch.
3656
- size: b(["sm", "base", "lg"]).optional(),
3662
+ size: z(["sm", "base", "lg"]).optional(),
3657
3663
  checked: h().optional(),
3658
3664
  disabled: h().optional(),
3659
3665
  transitioning: h().optional(),
3660
3666
  name: c().optional(),
3661
- type: b(["submit", "reset", "button"]).optional(),
3667
+ type: z(["submit", "reset", "button"]).optional(),
3662
3668
  value: s().optional(),
3663
3669
  className: c().optional(),
3664
3670
  id: c().optional(),
@@ -3666,14 +3672,14 @@ const g = k([
3666
3672
  title: c().optional(),
3667
3673
  onClick: s()
3668
3674
  // Callback when switch is clicked
3669
- }), ts = _({
3670
- layout: b(["auto", "fixed"]).optional(),
3671
- variant: b(["default", "selected"]).optional(),
3675
+ }), ts = v({
3676
+ layout: z(["auto", "fixed"]).optional(),
3677
+ variant: z(["default", "selected"]).optional(),
3672
3678
  className: c().optional(),
3673
3679
  // Additional CSS classes
3674
- children: k([c(), y(), h(), w(), g]).optional()
3680
+ children: y([c(), _(), h(), w(), g]).optional()
3675
3681
  // Child elements
3676
- }), os = _({
3682
+ }), os = v({
3677
3683
  tabs: L(s()).optional(),
3678
3684
  // Array of tab items to render.
3679
3685
  value: c().optional(),
@@ -3688,39 +3694,36 @@ const g = k([
3688
3694
  // Additional CSS classes for the tab list element.
3689
3695
  indicatorClassName: c().optional(),
3690
3696
  // Additional CSS classes for the indicator element.
3691
- variant: b(["segmented", "underline"]).optional(),
3697
+ variant: z(["segmented", "underline"]).optional(),
3692
3698
  // Tab style. - `"segmented"` — Pill-shaped indicator on a filled track - `"underline"` — Underline indicator below tab text
3693
3699
  onValueChange: s().optional()
3694
3700
  // Callback when active tab changes
3695
- }), ns = _({
3696
- variant: b(["heading1", "heading2", "heading3", "body", "secondary", "success", "error", "mono", "mono-secondary"]).optional(),
3701
+ }), ns = v({
3702
+ variant: z(["heading1", "heading2", "heading3", "body", "secondary", "success", "error", "mono", "mono-secondary"]).optional(),
3697
3703
  // Text style variant. Determines color, font, and weight. - `"heading1"` — Large page title (30px, semibold) - `"heading2"` — Section title (24px, semibold) - `"heading3"` — Subsection title (18px, semibold) - `"body"` — Default body text - `"secondary"` — Muted text for secondary information - `"success"` — Success state text - `"error"` — Error state text - `"mono"` — Monospace text for code - `"mono-secondary"` — Muted monospace text
3698
- size: b(["xs", "sm", "base", "lg"]).optional(),
3704
+ size: z(["xs", "sm", "base", "lg"]).optional(),
3699
3705
  // Text size (only applies to body/secondary/success/error variants). - `"xs"` — 12px - `"sm"` — 14px - `"base"` — 16px - `"lg"` — 18px
3700
3706
  bold: h().optional(),
3701
3707
  // Whether to use bold font weight (only applies to body variants).
3702
3708
  as: s().optional(),
3703
3709
  // The HTML element type to render as (e.g. `"span"`, `"p"`, `"h1"`). Auto-selected based on variant if omitted.
3704
- children: k([c(), y(), h(), w(), g]).optional()
3710
+ children: y([c(), _(), h(), w(), g]).optional()
3705
3711
  // Text content.
3706
- }), rs = _({
3707
- variant: b(["default", "error", "warning"]).optional(),
3712
+ }), rs = v({
3713
+ variant: z(["default", "error", "warning"]).optional(),
3708
3714
  className: c().optional(),
3709
3715
  // Additional CSS classes
3710
- children: k([c(), y(), h(), w(), g]).optional()
3716
+ children: y([c(), _(), h(), w(), g]).optional()
3711
3717
  // Child elements
3712
- }), is = _({
3713
- align: b(["start", "center", "end"]).optional(),
3714
- // Alignment on the axis perpendicular to `side`. - `"start"` — Align to the start edge - `"center"` — Center-aligned - `"end"` — Align to the end edge
3715
- asChild: h().optional(),
3716
- // When `true`, the trigger wraps the child element instead of adding a wrapper.
3718
+ }), is = v({
3719
+ side: z(["top", "bottom", "left", "right"]).optional(),
3717
3720
  className: c().optional(),
3718
- // Additional CSS classes merged via `cn()`.
3719
- side: b(["top", "bottom", "left", "right"]).optional(),
3720
- // Preferred side of the trigger to render the tooltip. - `"top"` — Tooltip appears above the trigger - `"bottom"` — Tooltip appears below the trigger - `"left"` — Tooltip appears to the left of the trigger - `"right"` — Tooltip appears to the right of the trigger
3721
- content: k([c(), y(), h(), w(), g])
3721
+ // Additional CSS classes
3722
+ children: y([c(), _(), h(), w(), g]).optional(),
3723
+ // Child elements
3724
+ content: y([c(), _(), h(), w(), g])
3722
3725
  // Content to display in the tooltip
3723
- }), as = b([
3726
+ }), as = z([
3724
3727
  "Badge",
3725
3728
  "Banner",
3726
3729
  "Breadcrumbs",
@@ -3798,7 +3801,7 @@ const g = k([
3798
3801
  Text: ns,
3799
3802
  Toasty: rs,
3800
3803
  Tooltip: is
3801
- }, cs = _({
3804
+ }, cs = v({
3802
3805
  key: c(),
3803
3806
  type: as,
3804
3807
  props: H(c(), s()),
@@ -3806,7 +3809,7 @@ const g = k([
3806
3809
  parentKey: c().nullable().optional(),
3807
3810
  visible: ba.optional(),
3808
3811
  action: za.optional()
3809
- }), us = _({
3812
+ }), us = v({
3810
3813
  root: c(),
3811
3814
  elements: H(c(), cs)
3812
3815
  });
@@ -3869,4 +3872,4 @@ export {
3869
3872
  ps as validateElementProps,
3870
3873
  ds as validateUITree
3871
3874
  };
3872
- //# sourceMappingURL=schemas-DbIwo0ET.js.map
3875
+ //# sourceMappingURL=schemas-CdpAeJKO.js.map