@cloudflare/kumo 2.5.2 → 2.6.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.
- package/CHANGELOG.md +24 -0
- package/ai/component-registry.json +166 -119
- package/ai/component-registry.md +168 -50
- package/ai/schemas.ts +23 -12
- package/dist/.build-complete +1 -1
- package/dist/ai/schemas.d.ts +75 -48
- package/dist/ai/schemas.d.ts.map +1 -1
- package/dist/ai/schemas.js +207 -197
- package/dist/ai/schemas.js.map +1 -1
- package/dist/chunks/SankeyChart-g1tng405ml2e0qg2.js +890 -0
- package/dist/chunks/SankeyChart-g1tng405ml2e0qg2.js.map +1 -0
- package/dist/chunks/{autocomplete-d52negr21cedr4rm.js → autocomplete-hgprlcuf0ixbbo6d.js} +18 -18
- package/dist/chunks/{autocomplete-d52negr21cedr4rm.js.map → autocomplete-hgprlcuf0ixbbo6d.js.map} +1 -1
- package/dist/chunks/{breadcrumbs-bfuf7g8hh36rg7h8.js → breadcrumbs-lyj8ljudrm2owx5y.js} +2 -2
- package/dist/chunks/{breadcrumbs-bfuf7g8hh36rg7h8.js.map → breadcrumbs-lyj8ljudrm2owx5y.js.map} +1 -1
- package/dist/chunks/button-gtdhvogt5rlrf1is.js +237 -0
- package/dist/chunks/button-gtdhvogt5rlrf1is.js.map +1 -0
- package/dist/chunks/{checkbox-bt4nfv1i2142kykg.js → checkbox-byg8t8r9vbmif696.js} +3 -3
- package/dist/chunks/{checkbox-bt4nfv1i2142kykg.js.map → checkbox-byg8t8r9vbmif696.js.map} +1 -1
- package/dist/chunks/{clipboard-text-h3oi6wm5vj2q7q4h.js → clipboard-text-lf909phvldd8rfk8.js} +4 -4
- package/dist/chunks/{clipboard-text-h3oi6wm5vj2q7q4h.js.map → clipboard-text-lf909phvldd8rfk8.js.map} +1 -1
- package/dist/chunks/{collapsible-nzqcf9zwnjkxqzr6.js → collapsible-dl61f8gd4j897hmv.js} +4 -4
- package/dist/chunks/{collapsible-nzqcf9zwnjkxqzr6.js.map → collapsible-dl61f8gd4j897hmv.js.map} +1 -1
- package/dist/chunks/{combobox-l6qcou2s3xmsbplp.js → combobox-dxff22zxzq846nec.js} +4 -4
- package/dist/chunks/{combobox-l6qcou2s3xmsbplp.js.map → combobox-dxff22zxzq846nec.js.map} +1 -1
- package/dist/chunks/{command-palette-fqhyacp33fhyf696.js → command-palette-i4r0402b838wiy0j.js} +21 -21
- package/dist/chunks/{command-palette-fqhyacp33fhyf696.js.map → command-palette-i4r0402b838wiy0j.js.map} +1 -1
- package/dist/chunks/{dialog-3mpu1i1wssrsz8i6.js → dialog-g1b8161nbyixdit0.js} +7 -7
- package/dist/chunks/{dialog-3mpu1i1wssrsz8i6.js.map → dialog-g1b8161nbyixdit0.js.map} +1 -1
- package/dist/chunks/{dropdown-g4sb4cw9ffqaw5gx.js → dropdown-irp18txvgz8590e9.js} +27 -27
- package/dist/chunks/{dropdown-g4sb4cw9ffqaw5gx.js.map → dropdown-irp18txvgz8590e9.js.map} +1 -1
- package/dist/chunks/{empty-frsjvok4w6i0fyex.js → empty-daa6d7u9oleaw24a.js} +2 -2
- package/dist/chunks/{empty-frsjvok4w6i0fyex.js.map → empty-daa6d7u9oleaw24a.js.map} +1 -1
- package/dist/chunks/{field-m57qcw5b1zt1ohfz.js → field-f1hy08um3jf9jos6.js} +3 -3
- package/dist/chunks/{field-m57qcw5b1zt1ohfz.js.map → field-f1hy08um3jf9jos6.js.map} +1 -1
- package/dist/chunks/{input-area-o2avpahffav0gydf.js → input-area-bwyujceeulpfkpxv.js} +4 -4
- package/dist/chunks/{input-area-o2avpahffav0gydf.js.map → input-area-bwyujceeulpfkpxv.js.map} +1 -1
- package/dist/chunks/{input-iahz0dpc9xdar2ju.js → input-f2ct7obgdzypjmp2.js} +3 -3
- package/dist/chunks/{input-iahz0dpc9xdar2ju.js.map → input-f2ct7obgdzypjmp2.js.map} +1 -1
- package/dist/chunks/{input-group-os810pmsqcftt6mq.js → input-group-kcd3jin5pbdijmw8.js} +5 -5
- package/dist/chunks/{input-group-os810pmsqcftt6mq.js.map → input-group-kcd3jin5pbdijmw8.js.map} +1 -1
- package/dist/chunks/{label-kib2hn4pkbn28c31.js → label-himqjkdhh0hgfdsa.js} +3 -3
- package/dist/chunks/{label-kib2hn4pkbn28c31.js.map → label-himqjkdhh0hgfdsa.js.map} +1 -1
- package/dist/chunks/{layer-card-er4flkcxmzfug8jw.js → layer-card-cshi5vydqg3phyfx.js} +2 -2
- package/dist/chunks/{layer-card-er4flkcxmzfug8jw.js.map → layer-card-cshi5vydqg3phyfx.js.map} +1 -1
- package/dist/chunks/{link-i6vnwyjcwvjz5btm.js → link-bw21ofmgg58igq5n.js} +4 -4
- package/dist/chunks/{link-i6vnwyjcwvjz5btm.js.map → link-bw21ofmgg58igq5n.js.map} +1 -1
- package/dist/chunks/{menubar-ng5if56amh1tto4j.js → menubar-m12wcbbucuszspw4.js} +2 -2
- package/dist/chunks/{menubar-ng5if56amh1tto4j.js.map → menubar-m12wcbbucuszspw4.js.map} +1 -1
- package/dist/chunks/{meter-d5igshkjqttl1fdj.js → meter-dn8vgc0smpk0du75.js} +4 -4
- package/dist/chunks/{meter-d5igshkjqttl1fdj.js.map → meter-dn8vgc0smpk0du75.js.map} +1 -1
- package/dist/chunks/{pagination-mvvg7qfvoqr5l4vt.js → pagination-oafyxvdndm9m8250.js} +3 -3
- package/dist/chunks/{pagination-mvvg7qfvoqr5l4vt.js.map → pagination-oafyxvdndm9m8250.js.map} +1 -1
- package/dist/chunks/{popover-ozf1j7oi7pxiudyz.js → popover-bbxr39l1lx175hum.js} +18 -18
- package/dist/chunks/{popover-ozf1j7oi7pxiudyz.js.map → popover-bbxr39l1lx175hum.js.map} +1 -1
- package/dist/chunks/radio-ffx05ih9nc764evh.js +226 -0
- package/dist/chunks/radio-ffx05ih9nc764evh.js.map +1 -0
- package/dist/chunks/{select-c79vjqmcytn2oujb.js → select-kl1skfh3pmwc33rp.js} +6 -6
- package/dist/chunks/{select-c79vjqmcytn2oujb.js.map → select-kl1skfh3pmwc33rp.js.map} +1 -1
- package/dist/chunks/{sensitive-input-mxbd0ayw2mbju4ii.js → sensitive-input-izmbyk1t7r56ciiq.js} +4 -4
- package/dist/chunks/{sensitive-input-mxbd0ayw2mbju4ii.js.map → sensitive-input-izmbyk1t7r56ciiq.js.map} +1 -1
- package/dist/chunks/{sidebar-dqw2uxx6xqln639l.js → sidebar-ior8rnhsd7gy5am5.js} +48 -48
- package/dist/chunks/sidebar-ior8rnhsd7gy5am5.js.map +1 -0
- package/dist/chunks/{surface-iyejjbqogjbo7ise.js → surface-g5a1buofz4erjov2.js} +2 -2
- package/dist/chunks/{surface-iyejjbqogjbo7ise.js.map → surface-g5a1buofz4erjov2.js.map} +1 -1
- package/dist/chunks/{switch-dld1q6qdzhe1uip7.js → switch-kh8a6l3l0hszm9h4.js} +3 -3
- package/dist/chunks/{switch-dld1q6qdzhe1uip7.js.map → switch-kh8a6l3l0hszm9h4.js.map} +1 -1
- package/dist/chunks/{table-l64wm81r9t67mtzm.js → table-dz2k55oab66h2vi9.js} +2 -2
- package/dist/chunks/{table-l64wm81r9t67mtzm.js.map → table-dz2k55oab66h2vi9.js.map} +1 -1
- package/dist/chunks/{tabs-ho9t1gkq22jb855l.js → tabs-kcw98wibdz4mhpkc.js} +2 -2
- package/dist/chunks/{tabs-ho9t1gkq22jb855l.js.map → tabs-kcw98wibdz4mhpkc.js.map} +1 -1
- package/dist/chunks/{toast-gewrapiiy5x9ak0o.js → toast-dkdo1lu72tnefya6.js} +7 -7
- package/dist/chunks/{toast-gewrapiiy5x9ak0o.js.map → toast-dkdo1lu72tnefya6.js.map} +1 -1
- package/dist/chunks/toolbar-o7xe6pd189evdd53.js +172 -0
- package/dist/chunks/toolbar-o7xe6pd189evdd53.js.map +1 -0
- package/dist/chunks/{tooltip-ken77ixya0qpidie.js → tooltip-eqnhjdbvwapy8gj4.js} +4 -4
- package/dist/chunks/{tooltip-ken77ixya0qpidie.js.map → tooltip-eqnhjdbvwapy8gj4.js.map} +1 -1
- package/dist/chunks/{vendor-base-ui-knphx7dts1vm1x37.js → vendor-base-ui-f9z44m829vvptrg0.js} +2209 -2207
- package/dist/chunks/{vendor-base-ui-knphx7dts1vm1x37.js.map → vendor-base-ui-f9z44m829vvptrg0.js.map} +1 -1
- package/dist/code.js +1 -1
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/chart.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/clipboard-text.js +1 -1
- package/dist/components/collapsible.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/command-palette.js +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/empty.js +1 -1
- package/dist/components/field.js +1 -1
- package/dist/components/input-group.js +1 -1
- package/dist/components/input.js +3 -3
- package/dist/components/label.js +1 -1
- package/dist/components/layer-card.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/menubar.js +1 -1
- package/dist/components/meter.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/sensitive-input.js +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/surface.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/toast.js +2 -2
- package/dist/components/toolbar.js +8 -0
- package/dist/components/toolbar.js.map +1 -0
- package/dist/components/tooltip.js +1 -1
- package/dist/index.js +199 -195
- package/dist/index.js.map +1 -1
- package/dist/primitives/accordion.js +1 -1
- package/dist/primitives/alert-dialog.js +1 -1
- package/dist/primitives/autocomplete.js +1 -1
- package/dist/primitives/avatar.js +1 -1
- package/dist/primitives/button.js +1 -1
- package/dist/primitives/checkbox-group.js +1 -1
- package/dist/primitives/checkbox.js +1 -1
- package/dist/primitives/collapsible.js +1 -1
- package/dist/primitives/combobox.js +1 -1
- package/dist/primitives/context-menu.js +1 -1
- package/dist/primitives/csp-provider.js +1 -1
- package/dist/primitives/dialog.js +1 -1
- package/dist/primitives/direction-provider.js +1 -1
- package/dist/primitives/drawer.js +1 -1
- package/dist/primitives/field.js +1 -1
- package/dist/primitives/fieldset.js +1 -1
- package/dist/primitives/form.js +1 -1
- package/dist/primitives/input.js +1 -1
- package/dist/primitives/menu.js +1 -1
- package/dist/primitives/menubar.js +1 -1
- package/dist/primitives/meter.js +1 -1
- package/dist/primitives/navigation-menu.js +1 -1
- package/dist/primitives/number-field.js +1 -1
- package/dist/primitives/otp-field.js +1 -1
- package/dist/primitives/popover.js +1 -1
- package/dist/primitives/preview-card.js +1 -1
- package/dist/primitives/progress.js +1 -1
- package/dist/primitives/radio-group.js +1 -1
- package/dist/primitives/radio.js +1 -1
- package/dist/primitives/scroll-area.js +1 -1
- package/dist/primitives/select.js +1 -1
- package/dist/primitives/separator.js +1 -1
- package/dist/primitives/slider.js +1 -1
- package/dist/primitives/switch.js +1 -1
- package/dist/primitives/tabs.js +1 -1
- package/dist/primitives/toast.js +1 -1
- package/dist/primitives/toggle-group.js +1 -1
- package/dist/primitives/toggle.js +1 -1
- package/dist/primitives/toolbar.js +1 -1
- package/dist/primitives/tooltip.js +1 -1
- package/dist/primitives.js +1 -1
- package/dist/scripts/theme-generator/config.d.ts.map +1 -1
- package/dist/scripts/theme-generator/config.js +13 -2
- package/dist/scripts/theme-generator/config.js.map +1 -1
- package/dist/src/components/button/button.d.ts +2 -2
- package/dist/src/components/button/button.d.ts.map +1 -1
- package/dist/src/components/chart/EChart.d.ts +12 -4
- package/dist/src/components/chart/EChart.d.ts.map +1 -1
- package/dist/src/components/chart/Legend.d.ts +11 -2
- package/dist/src/components/chart/Legend.d.ts.map +1 -1
- package/dist/src/components/chart/TimeseriesChart.d.ts +15 -1
- package/dist/src/components/chart/TimeseriesChart.d.ts.map +1 -1
- package/dist/src/components/radio/index.d.ts +1 -1
- package/dist/src/components/radio/index.d.ts.map +1 -1
- package/dist/src/components/radio/radio.d.ts +49 -10
- package/dist/src/components/radio/radio.d.ts.map +1 -1
- package/dist/src/components/radio/radio.type-spec.d.ts +12 -0
- package/dist/src/components/radio/radio.type-spec.d.ts.map +1 -0
- package/dist/src/components/toolbar/index.d.ts +2 -0
- package/dist/src/components/toolbar/index.d.ts.map +1 -0
- package/dist/src/components/toolbar/toolbar.d.ts +50 -0
- package/dist/src/components/toolbar/toolbar.d.ts.map +1 -0
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/styles/kumo-standalone.css +1 -1
- package/dist/styles/theme-kumo.css +11 -4
- package/package.json +5 -1
- package/scripts/component-registry/discovery.ts +16 -11
- package/scripts/component-registry/metadata.ts +30 -0
- package/scripts/theme-generator/config.ts +14 -2
- package/dist/chunks/SankeyChart-i1m7zv0lys3j0iq6.js +0 -775
- package/dist/chunks/SankeyChart-i1m7zv0lys3j0iq6.js.map +0 -1
- package/dist/chunks/button-ov39dxshqbqrthhd.js +0 -210
- package/dist/chunks/button-ov39dxshqbqrthhd.js.map +0 -1
- package/dist/chunks/radio-gpg6kmzonr2cayq1.js +0 -218
- package/dist/chunks/radio-gpg6kmzonr2cayq1.js.map +0 -1
- package/dist/chunks/sidebar-dqw2uxx6xqln639l.js.map +0 -1
package/dist/ai/schemas.js
CHANGED
|
@@ -12,8 +12,8 @@ function d(e, o, t) {
|
|
|
12
12
|
return;
|
|
13
13
|
l._zod.traits.add(e), o(l, u);
|
|
14
14
|
const p = i.prototype, h = Object.keys(p);
|
|
15
|
-
for (let
|
|
16
|
-
const w = h[
|
|
15
|
+
for (let v = 0; v < h.length; v++) {
|
|
16
|
+
const w = h[v];
|
|
17
17
|
w in l || (l[w] = p[w].bind(l));
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -98,7 +98,7 @@ function $(e, o, t) {
|
|
|
98
98
|
configurable: !0
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function B(e, o, t) {
|
|
102
102
|
Object.defineProperty(e, o, {
|
|
103
103
|
value: t,
|
|
104
104
|
writable: !0,
|
|
@@ -190,7 +190,7 @@ function Ao(e, o) {
|
|
|
190
190
|
throw new Error(`Unrecognized key: "${l}"`);
|
|
191
191
|
o[l] && (i[l] = t.shape[l]);
|
|
192
192
|
}
|
|
193
|
-
return
|
|
193
|
+
return B(this, "shape", i), i;
|
|
194
194
|
},
|
|
195
195
|
checks: []
|
|
196
196
|
});
|
|
@@ -208,7 +208,7 @@ function xo(e, o) {
|
|
|
208
208
|
throw new Error(`Unrecognized key: "${l}"`);
|
|
209
209
|
o[l] && delete i[l];
|
|
210
210
|
}
|
|
211
|
-
return
|
|
211
|
+
return B(this, "shape", i), i;
|
|
212
212
|
},
|
|
213
213
|
checks: []
|
|
214
214
|
});
|
|
@@ -227,7 +227,7 @@ function jo(e, o) {
|
|
|
227
227
|
const r = M(e._zod.def, {
|
|
228
228
|
get shape() {
|
|
229
229
|
const a = { ...e._zod.def.shape, ...o };
|
|
230
|
-
return
|
|
230
|
+
return B(this, "shape", a), a;
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
return J(e, r);
|
|
@@ -238,7 +238,7 @@ function Ro(e, o) {
|
|
|
238
238
|
const t = M(e._zod.def, {
|
|
239
239
|
get shape() {
|
|
240
240
|
const n = { ...e._zod.def.shape, ...o };
|
|
241
|
-
return
|
|
241
|
+
return B(this, "shape", n), n;
|
|
242
242
|
}
|
|
243
243
|
});
|
|
244
244
|
return J(e, t);
|
|
@@ -247,7 +247,7 @@ function Do(e, o) {
|
|
|
247
247
|
const t = M(e._zod.def, {
|
|
248
248
|
get shape() {
|
|
249
249
|
const n = { ...e._zod.def.shape, ...o._zod.def.shape };
|
|
250
|
-
return
|
|
250
|
+
return B(this, "shape", n), n;
|
|
251
251
|
},
|
|
252
252
|
get catchall() {
|
|
253
253
|
return o._zod.def.catchall;
|
|
@@ -279,7 +279,7 @@ function Uo(e, o, t) {
|
|
|
279
279
|
type: "optional",
|
|
280
280
|
innerType: l[p]
|
|
281
281
|
}) : l[p];
|
|
282
|
-
return
|
|
282
|
+
return B(this, "shape", u), u;
|
|
283
283
|
},
|
|
284
284
|
checks: []
|
|
285
285
|
});
|
|
@@ -304,7 +304,7 @@ function Fo(e, o, t) {
|
|
|
304
304
|
type: "nonoptional",
|
|
305
305
|
innerType: r[i]
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return B(this, "shape", a), a;
|
|
308
308
|
}
|
|
309
309
|
});
|
|
310
310
|
return J(o, n);
|
|
@@ -317,7 +317,7 @@ function G(e, o = 0) {
|
|
|
317
317
|
return !0;
|
|
318
318
|
return !1;
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function V(e, o) {
|
|
321
321
|
return o.map((t) => {
|
|
322
322
|
var n;
|
|
323
323
|
return (n = t).path ?? (n.path = []), t.path.unshift(e), t;
|
|
@@ -417,7 +417,7 @@ const we = (e) => (o, t, n, r) => {
|
|
|
417
417
|
success: !1,
|
|
418
418
|
error: new e(a.issues.map((i) => L(i, r, F())))
|
|
419
419
|
} : { success: !0, data: a.value };
|
|
420
|
-
},
|
|
420
|
+
}, Vo = /* @__PURE__ */ de(eo), Bo = (e) => (o, t, n) => {
|
|
421
421
|
const r = n ? Object.assign(n, { direction: "backward" }) : { direction: "backward" };
|
|
422
422
|
return we(e)(o, t, r);
|
|
423
423
|
}, Wo = (e) => (o, t, n) => we(e)(o, t, n), Go = (e) => async (o, t, n) => {
|
|
@@ -768,13 +768,13 @@ const Dt = {
|
|
|
768
768
|
else {
|
|
769
769
|
const r = (i, l, u) => {
|
|
770
770
|
let p = G(i), h;
|
|
771
|
-
for (const
|
|
772
|
-
if (
|
|
773
|
-
if (!
|
|
771
|
+
for (const v of l) {
|
|
772
|
+
if (v._zod.def.when) {
|
|
773
|
+
if (!v._zod.def.when(i))
|
|
774
774
|
continue;
|
|
775
775
|
} else if (p)
|
|
776
776
|
continue;
|
|
777
|
-
const w = i.issues.length, S =
|
|
777
|
+
const w = i.issues.length, S = v._zod.check(i);
|
|
778
778
|
if (S instanceof Promise && u?.async === !1)
|
|
779
779
|
throw new q();
|
|
780
780
|
if (h || S instanceof Promise)
|
|
@@ -821,7 +821,7 @@ const Dt = {
|
|
|
821
821
|
const a = Jo(e, r);
|
|
822
822
|
return a.success ? { value: a.data } : { issues: a.error?.issues };
|
|
823
823
|
} catch {
|
|
824
|
-
return
|
|
824
|
+
return Vo(e, r).then((i) => i.success ? { value: i.data } : { issues: i.error?.issues });
|
|
825
825
|
}
|
|
826
826
|
},
|
|
827
827
|
vendor: "zod",
|
|
@@ -899,9 +899,9 @@ const Dt = {
|
|
|
899
899
|
};
|
|
900
900
|
}), Jt = /* @__PURE__ */ d("$ZodEmoji", (e, o) => {
|
|
901
901
|
o.pattern ?? (o.pattern = lt()), T.init(e, o);
|
|
902
|
-
}),
|
|
902
|
+
}), Vt = /* @__PURE__ */ d("$ZodNanoID", (e, o) => {
|
|
903
903
|
o.pattern ?? (o.pattern = rt), T.init(e, o);
|
|
904
|
-
}),
|
|
904
|
+
}), Bt = /* @__PURE__ */ d("$ZodCUID", (e, o) => {
|
|
905
905
|
o.pattern ?? (o.pattern = Qo), T.init(e, o);
|
|
906
906
|
}), Wt = /* @__PURE__ */ d("$ZodCUID2", (e, o) => {
|
|
907
907
|
o.pattern ?? (o.pattern = et), T.init(e, o);
|
|
@@ -1085,7 +1085,7 @@ const un = /* @__PURE__ */ d("$ZodJWT", (e, o) => {
|
|
|
1085
1085
|
}), t);
|
|
1086
1086
|
});
|
|
1087
1087
|
function Oe(e, o, t) {
|
|
1088
|
-
e.issues.length && o.issues.push(...
|
|
1088
|
+
e.issues.length && o.issues.push(...V(t, e.issues)), o.value[t] = e.value;
|
|
1089
1089
|
}
|
|
1090
1090
|
const gn = /* @__PURE__ */ d("$ZodArray", (e, o) => {
|
|
1091
1091
|
Z.init(e, o), e._zod.parse = (t, n) => {
|
|
@@ -1113,7 +1113,7 @@ function se(e, o, t, n, r) {
|
|
|
1113
1113
|
if (e.issues.length) {
|
|
1114
1114
|
if (r && !(t in n))
|
|
1115
1115
|
return;
|
|
1116
|
-
o.issues.push(...
|
|
1116
|
+
o.issues.push(...V(t, e.issues));
|
|
1117
1117
|
}
|
|
1118
1118
|
e.value === void 0 ? t in n && (o.value[t] = void 0) : o.value[t] = e.value;
|
|
1119
1119
|
}
|
|
@@ -1133,15 +1133,15 @@ function uo(e) {
|
|
|
1133
1133
|
}
|
|
1134
1134
|
function po(e, o, t, n, r, a) {
|
|
1135
1135
|
const i = [], l = r.keySet, u = r.catchall._zod, p = u.def.type, h = u.optout === "optional";
|
|
1136
|
-
for (const
|
|
1137
|
-
if (l.has(
|
|
1136
|
+
for (const v in o) {
|
|
1137
|
+
if (l.has(v))
|
|
1138
1138
|
continue;
|
|
1139
1139
|
if (p === "never") {
|
|
1140
|
-
i.push(
|
|
1140
|
+
i.push(v);
|
|
1141
1141
|
continue;
|
|
1142
1142
|
}
|
|
1143
|
-
const w = u.run({ value: o[
|
|
1144
|
-
w instanceof Promise ? e.push(w.then((S) => se(S, t,
|
|
1143
|
+
const w = u.run({ value: o[v], issues: [] }, n);
|
|
1144
|
+
w instanceof Promise ? e.push(w.then((S) => se(S, t, v, o, h))) : se(w, t, v, o, h);
|
|
1145
1145
|
}
|
|
1146
1146
|
return i.length && t.issues.push({
|
|
1147
1147
|
code: "unrecognized_keys",
|
|
@@ -1169,8 +1169,8 @@ const _n = /* @__PURE__ */ d("$ZodObject", (e, o) => {
|
|
|
1169
1169
|
const h = l[p]._zod;
|
|
1170
1170
|
if (h.values) {
|
|
1171
1171
|
u[p] ?? (u[p] = /* @__PURE__ */ new Set());
|
|
1172
|
-
for (const
|
|
1173
|
-
u[p].add(
|
|
1172
|
+
for (const v of h.values)
|
|
1173
|
+
u[p].add(v);
|
|
1174
1174
|
}
|
|
1175
1175
|
}
|
|
1176
1176
|
return u;
|
|
@@ -1188,9 +1188,9 @@ const _n = /* @__PURE__ */ d("$ZodObject", (e, o) => {
|
|
|
1188
1188
|
inst: e
|
|
1189
1189
|
}), l;
|
|
1190
1190
|
l.value = {};
|
|
1191
|
-
const h = [],
|
|
1191
|
+
const h = [], v = i.shape;
|
|
1192
1192
|
for (const w of i.keys) {
|
|
1193
|
-
const S =
|
|
1193
|
+
const S = v[w], E = S._zod.optout === "optional", N = S._zod.run({ value: p[w], issues: [] }, u);
|
|
1194
1194
|
N instanceof Promise ? h.push(N.then((ee) => se(ee, l, w, p, E))) : se(N, l, w, p, E);
|
|
1195
1195
|
}
|
|
1196
1196
|
return a ? po(h, p, l, u, n.value, e) : h.length ? Promise.all(h).then(() => l) : l;
|
|
@@ -1252,11 +1252,11 @@ const _n = /* @__PURE__ */ d("$ZodObject", (e, o) => {
|
|
|
1252
1252
|
};
|
|
1253
1253
|
let a;
|
|
1254
1254
|
const i = ae, l = !qe.jitless, p = l && Io.value, h = o.catchall;
|
|
1255
|
-
let
|
|
1255
|
+
let v;
|
|
1256
1256
|
e._zod.parse = (w, S) => {
|
|
1257
|
-
|
|
1257
|
+
v ?? (v = n.value);
|
|
1258
1258
|
const E = w.value;
|
|
1259
|
-
return i(E) ? l && p && S?.async === !1 && S.jitless !== !0 ? (a || (a = r(o.shape)), w = a(w, S), h ? po([], E, w, S,
|
|
1259
|
+
return i(E) ? l && p && S?.async === !1 && S.jitless !== !0 ? (a || (a = r(o.shape)), w = a(w, S), h ? po([], E, w, S, v, e) : w) : t(w, S) : (w.issues.push({
|
|
1260
1260
|
expected: "object",
|
|
1261
1261
|
code: "invalid_type",
|
|
1262
1262
|
input: E,
|
|
@@ -1387,8 +1387,8 @@ const zn = /* @__PURE__ */ d("$ZodTuple", (e, o) => {
|
|
|
1387
1387
|
n.value = [];
|
|
1388
1388
|
const i = [], l = [...t].reverse().findIndex((h) => h._zod.optin !== "optional"), u = l === -1 ? 0 : t.length - l;
|
|
1389
1389
|
if (!o.rest) {
|
|
1390
|
-
const h = a.length > t.length,
|
|
1391
|
-
if (h ||
|
|
1390
|
+
const h = a.length > t.length, v = a.length < u - 1;
|
|
1391
|
+
if (h || v)
|
|
1392
1392
|
return n.issues.push({
|
|
1393
1393
|
...h ? { code: "too_big", maximum: t.length, inclusive: !0 } : { code: "too_small", minimum: t.length },
|
|
1394
1394
|
input: a,
|
|
@@ -1400,18 +1400,18 @@ const zn = /* @__PURE__ */ d("$ZodTuple", (e, o) => {
|
|
|
1400
1400
|
for (const h of t) {
|
|
1401
1401
|
if (p++, p >= a.length && p >= u)
|
|
1402
1402
|
continue;
|
|
1403
|
-
const
|
|
1403
|
+
const v = h._zod.run({
|
|
1404
1404
|
value: a[p],
|
|
1405
1405
|
issues: []
|
|
1406
1406
|
}, r);
|
|
1407
|
-
|
|
1407
|
+
v instanceof Promise ? i.push(v.then((w) => te(w, n, p))) : te(v, n, p);
|
|
1408
1408
|
}
|
|
1409
1409
|
if (o.rest) {
|
|
1410
1410
|
const h = a.slice(t.length);
|
|
1411
|
-
for (const
|
|
1411
|
+
for (const v of h) {
|
|
1412
1412
|
p++;
|
|
1413
1413
|
const w = o.rest._zod.run({
|
|
1414
|
-
value:
|
|
1414
|
+
value: v,
|
|
1415
1415
|
issues: []
|
|
1416
1416
|
}, r);
|
|
1417
1417
|
w instanceof Promise ? i.push(w.then((S) => te(S, n, p))) : te(w, n, p);
|
|
@@ -1421,7 +1421,7 @@ const zn = /* @__PURE__ */ d("$ZodTuple", (e, o) => {
|
|
|
1421
1421
|
};
|
|
1422
1422
|
});
|
|
1423
1423
|
function te(e, o, t) {
|
|
1424
|
-
e.issues.length && o.issues.push(...
|
|
1424
|
+
e.issues.length && o.issues.push(...V(t, e.issues)), o.value[t] = e.value;
|
|
1425
1425
|
}
|
|
1426
1426
|
const kn = /* @__PURE__ */ d("$ZodRecord", (e, o) => {
|
|
1427
1427
|
Z.init(e, o), e._zod.parse = (t, n) => {
|
|
@@ -1441,9 +1441,9 @@ const kn = /* @__PURE__ */ d("$ZodRecord", (e, o) => {
|
|
|
1441
1441
|
if (typeof p == "string" || typeof p == "number" || typeof p == "symbol") {
|
|
1442
1442
|
l.add(typeof p == "number" ? p.toString() : p);
|
|
1443
1443
|
const h = o.valueType._zod.run({ value: r[p], issues: [] }, n);
|
|
1444
|
-
h instanceof Promise ? a.push(h.then((
|
|
1445
|
-
|
|
1446
|
-
})) : (h.issues.length && t.issues.push(...
|
|
1444
|
+
h instanceof Promise ? a.push(h.then((v) => {
|
|
1445
|
+
v.issues.length && t.issues.push(...V(p, v.issues)), t.value[p] = v.value;
|
|
1446
|
+
})) : (h.issues.length && t.issues.push(...V(p, h.issues)), t.value[p] = h.value);
|
|
1447
1447
|
}
|
|
1448
1448
|
let u;
|
|
1449
1449
|
for (const p in r)
|
|
@@ -1463,16 +1463,16 @@ const kn = /* @__PURE__ */ d("$ZodRecord", (e, o) => {
|
|
|
1463
1463
|
if (u instanceof Promise)
|
|
1464
1464
|
throw new Error("Async schemas not supported in object keys currently");
|
|
1465
1465
|
if (typeof l == "string" && ro.test(l) && u.issues.length) {
|
|
1466
|
-
const
|
|
1467
|
-
if (
|
|
1466
|
+
const v = o.keyType._zod.run({ value: Number(l), issues: [] }, n);
|
|
1467
|
+
if (v instanceof Promise)
|
|
1468
1468
|
throw new Error("Async schemas not supported in object keys currently");
|
|
1469
|
-
|
|
1469
|
+
v.issues.length === 0 && (u = v);
|
|
1470
1470
|
}
|
|
1471
1471
|
if (u.issues.length) {
|
|
1472
1472
|
o.mode === "loose" ? t.value[l] = r[l] : t.issues.push({
|
|
1473
1473
|
code: "invalid_key",
|
|
1474
1474
|
origin: "record",
|
|
1475
|
-
issues: u.issues.map((
|
|
1475
|
+
issues: u.issues.map((v) => L(v, n, F())),
|
|
1476
1476
|
input: l,
|
|
1477
1477
|
path: [l],
|
|
1478
1478
|
inst: e
|
|
@@ -1480,9 +1480,9 @@ const kn = /* @__PURE__ */ d("$ZodRecord", (e, o) => {
|
|
|
1480
1480
|
continue;
|
|
1481
1481
|
}
|
|
1482
1482
|
const h = o.valueType._zod.run({ value: r[l], issues: [] }, n);
|
|
1483
|
-
h instanceof Promise ? a.push(h.then((
|
|
1484
|
-
|
|
1485
|
-
})) : (h.issues.length && t.issues.push(...
|
|
1483
|
+
h instanceof Promise ? a.push(h.then((v) => {
|
|
1484
|
+
v.issues.length && t.issues.push(...V(l, v.issues)), t.value[u.value] = v.value;
|
|
1485
|
+
})) : (h.issues.length && t.issues.push(...V(l, h.issues)), t.value[u.value] = h.value);
|
|
1486
1486
|
}
|
|
1487
1487
|
}
|
|
1488
1488
|
return a.length ? Promise.all(a).then(() => t) : t;
|
|
@@ -1748,7 +1748,7 @@ function Jn(e, o) {
|
|
|
1748
1748
|
});
|
|
1749
1749
|
}
|
|
1750
1750
|
// @__NO_SIDE_EFFECTS__
|
|
1751
|
-
function
|
|
1751
|
+
function Vn(e, o) {
|
|
1752
1752
|
return new e({
|
|
1753
1753
|
type: "string",
|
|
1754
1754
|
format: "emoji",
|
|
@@ -1758,7 +1758,7 @@ function Bn(e, o) {
|
|
|
1758
1758
|
});
|
|
1759
1759
|
}
|
|
1760
1760
|
// @__NO_SIDE_EFFECTS__
|
|
1761
|
-
function
|
|
1761
|
+
function Bn(e, o) {
|
|
1762
1762
|
return new e({
|
|
1763
1763
|
type: "string",
|
|
1764
1764
|
format: "nanoid",
|
|
@@ -2210,8 +2210,8 @@ function O(e, o, t = { path: [], schemaPath: [] }) {
|
|
|
2210
2210
|
throw new Error(`[toJSONSchema]: Non-representable type encountered: ${r.type}`);
|
|
2211
2211
|
S(e, o, w, h);
|
|
2212
2212
|
}
|
|
2213
|
-
const
|
|
2214
|
-
|
|
2213
|
+
const v = e._zod.parent;
|
|
2214
|
+
v && (i.ref || (i.ref = v), O(v, o, h), o.seen.get(v).isParent = !0);
|
|
2215
2215
|
}
|
|
2216
2216
|
const u = o.metadataRegistry.get(e);
|
|
2217
2217
|
return u && Object.assign(i.schema, u), o.io === "input" && C(e) && (delete i.schema.examples, delete i.schema.default), o.io === "input" && i.schema._prefault && ((n = i.schema).default ?? (n.default = i.schema._prefault)), delete i.schema._prefault, o.seen.get(e).schema;
|
|
@@ -2233,9 +2233,9 @@ function _o(e, o) {
|
|
|
2233
2233
|
const r = (i) => {
|
|
2234
2234
|
const l = e.target === "draft-2020-12" ? "$defs" : "definitions";
|
|
2235
2235
|
if (e.external) {
|
|
2236
|
-
const
|
|
2237
|
-
if (
|
|
2238
|
-
return { ref: w(
|
|
2236
|
+
const v = e.external.registry.get(i[0])?.id, w = e.external.uri ?? ((E) => E);
|
|
2237
|
+
if (v)
|
|
2238
|
+
return { ref: w(v) };
|
|
2239
2239
|
const S = i[1].defId ?? i[1].schema.id ?? `schema${e.counter++}`;
|
|
2240
2240
|
return i[1].defId = S, { defId: S, ref: `${w("__shared")}#/${l}/${S}` };
|
|
2241
2241
|
}
|
|
@@ -2249,8 +2249,8 @@ function _o(e, o) {
|
|
|
2249
2249
|
const l = i[1], { ref: u, defId: p } = r(i);
|
|
2250
2250
|
l.def = { ...l.schema }, p && (l.defId = p);
|
|
2251
2251
|
const h = l.schema;
|
|
2252
|
-
for (const
|
|
2253
|
-
delete h[
|
|
2252
|
+
for (const v in h)
|
|
2253
|
+
delete h[v];
|
|
2254
2254
|
h.$ref = u;
|
|
2255
2255
|
};
|
|
2256
2256
|
if (e.cycles === "throw")
|
|
@@ -2307,10 +2307,10 @@ function vo(e, o) {
|
|
|
2307
2307
|
for (const N in u)
|
|
2308
2308
|
N === "$ref" || N === "allOf" || N in w.def && JSON.stringify(u[N]) === JSON.stringify(w.def[N]) && delete u[N];
|
|
2309
2309
|
}
|
|
2310
|
-
const
|
|
2311
|
-
if (
|
|
2312
|
-
n(
|
|
2313
|
-
const w = e.seen.get(
|
|
2310
|
+
const v = i._zod.parent;
|
|
2311
|
+
if (v && v !== h) {
|
|
2312
|
+
n(v);
|
|
2313
|
+
const w = e.seen.get(v);
|
|
2314
2314
|
if (w?.schema.$ref && (u.$ref = w.schema.$ref, w.def))
|
|
2315
2315
|
for (const S in u)
|
|
2316
2316
|
S === "$ref" || S === "allOf" || S in w.def && JSON.stringify(u[S]) === JSON.stringify(w.def[S]) && delete u[S];
|
|
@@ -2416,9 +2416,9 @@ const Ir = (e, o = {}) => (t) => {
|
|
|
2416
2416
|
if (typeof a == "number" && (r.minLength = a), typeof i == "number" && (r.maxLength = i), l && (r.format = Nr[l] ?? l, r.format === "" && delete r.format, l === "time" && delete r.format), p && (r.contentEncoding = p), u && u.size > 0) {
|
|
2417
2417
|
const h = [...u];
|
|
2418
2418
|
h.length === 1 ? r.pattern = h[0].source : h.length > 1 && (r.allOf = [
|
|
2419
|
-
...h.map((
|
|
2419
|
+
...h.map((v) => ({
|
|
2420
2420
|
...o.target === "draft-07" || o.target === "draft-04" || o.target === "openapi-3.0" ? { type: "string" } : {},
|
|
2421
|
-
pattern:
|
|
2421
|
+
pattern: v.source
|
|
2422
2422
|
}))
|
|
2423
2423
|
]);
|
|
2424
2424
|
}
|
|
@@ -2467,7 +2467,7 @@ const Ir = (e, o = {}) => (t) => {
|
|
|
2467
2467
|
path: [...n.path, a ? "oneOf" : "anyOf", u]
|
|
2468
2468
|
}));
|
|
2469
2469
|
a ? t.oneOf = i : t.anyOf = i;
|
|
2470
|
-
},
|
|
2470
|
+
}, Vr = (e, o, t, n) => {
|
|
2471
2471
|
const r = e._zod.def, a = O(r.left, o, {
|
|
2472
2472
|
...n,
|
|
2473
2473
|
path: [...n.path, "allOf", 0]
|
|
@@ -2479,7 +2479,7 @@ const Ir = (e, o = {}) => (t) => {
|
|
|
2479
2479
|
...l(i) ? i.allOf : [i]
|
|
2480
2480
|
];
|
|
2481
2481
|
t.allOf = u;
|
|
2482
|
-
},
|
|
2482
|
+
}, Br = (e, o, t, n) => {
|
|
2483
2483
|
const r = t, a = e._zod.def;
|
|
2484
2484
|
r.type = "array";
|
|
2485
2485
|
const i = o.target === "draft-2020-12" ? "prefixItems" : "items", l = o.target === "draft-2020-12" || o.target === "openapi-3.0" ? "items" : "additionalItems", u = a.items.map((w, S) => O(w, o, {
|
|
@@ -2492,8 +2492,8 @@ const Ir = (e, o = {}) => (t) => {
|
|
|
2492
2492
|
o.target === "draft-2020-12" ? (r.prefixItems = u, p && (r.items = p)) : o.target === "openapi-3.0" ? (r.items = {
|
|
2493
2493
|
anyOf: u
|
|
2494
2494
|
}, p && r.items.anyOf.push(p), r.minItems = u.length, p || (r.maxItems = u.length)) : (r.items = u, p && (r.additionalItems = p));
|
|
2495
|
-
const { minimum: h, maximum:
|
|
2496
|
-
typeof h == "number" && (r.minItems = h), typeof
|
|
2495
|
+
const { minimum: h, maximum: v } = e._zod.bag;
|
|
2496
|
+
typeof h == "number" && (r.minItems = h), typeof v == "number" && (r.maxItems = v);
|
|
2497
2497
|
}, Wr = (e, o, t, n) => {
|
|
2498
2498
|
const r = t, a = e._zod.def;
|
|
2499
2499
|
r.type = "object";
|
|
@@ -2504,8 +2504,8 @@ const Ir = (e, o = {}) => (t) => {
|
|
|
2504
2504
|
path: [...n.path, "patternProperties", "*"]
|
|
2505
2505
|
});
|
|
2506
2506
|
r.patternProperties = {};
|
|
2507
|
-
for (const
|
|
2508
|
-
r.patternProperties[
|
|
2507
|
+
for (const v of u)
|
|
2508
|
+
r.patternProperties[v.source] = h;
|
|
2509
2509
|
} else
|
|
2510
2510
|
(o.target === "draft-07" || o.target === "draft-2020-12") && (r.propertyNames = O(a.keyType, o, {
|
|
2511
2511
|
...n,
|
|
@@ -2516,7 +2516,7 @@ const Ir = (e, o = {}) => (t) => {
|
|
|
2516
2516
|
});
|
|
2517
2517
|
const p = i._zod.values;
|
|
2518
2518
|
if (p) {
|
|
2519
|
-
const h = [...p].filter((
|
|
2519
|
+
const h = [...p].filter((v) => typeof v == "string" || typeof v == "number");
|
|
2520
2520
|
h.length > 0 && (r.required = h);
|
|
2521
2521
|
}
|
|
2522
2522
|
}, Gr = (e, o, t, n) => {
|
|
@@ -2624,7 +2624,7 @@ const yo = (e, o) => {
|
|
|
2624
2624
|
});
|
|
2625
2625
|
}, li = d("ZodError", yo), j = d("ZodError", yo, {
|
|
2626
2626
|
Parent: Error
|
|
2627
|
-
}), ui = /* @__PURE__ */ we(j), pi = /* @__PURE__ */ Se(j), di = /* @__PURE__ */ pe(j), fi = /* @__PURE__ */ de(j), hi = /* @__PURE__ */
|
|
2627
|
+
}), ui = /* @__PURE__ */ we(j), pi = /* @__PURE__ */ Se(j), di = /* @__PURE__ */ pe(j), fi = /* @__PURE__ */ de(j), hi = /* @__PURE__ */ Bo(j), mi = /* @__PURE__ */ Wo(j), gi = /* @__PURE__ */ Go(j), _i = /* @__PURE__ */ qo(j), vi = /* @__PURE__ */ Ko(j), bi = /* @__PURE__ */ Xo(j), yi = /* @__PURE__ */ Yo(j), zi = /* @__PURE__ */ Ho(j), P = /* @__PURE__ */ d("ZodType", (e, o) => (Z.init(e, o), Object.assign(e["~standard"], {
|
|
2628
2628
|
jsonSchema: {
|
|
2629
2629
|
input: le(e, "input"),
|
|
2630
2630
|
output: le(e, "output")
|
|
@@ -2636,7 +2636,7 @@ const yo = (e, o) => {
|
|
|
2636
2636
|
]
|
|
2637
2637
|
}), {
|
|
2638
2638
|
parent: !0
|
|
2639
|
-
}), e.with = e.check, e.clone = (t, n) => J(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.parse = (t, n) => ui(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => di(e, t, n), e.parseAsync = async (t, n) => pi(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => fi(e, t, n), e.spa = e.safeParseAsync, e.encode = (t, n) => hi(e, t, n), e.decode = (t, n) => mi(e, t, n), e.encodeAsync = async (t, n) => gi(e, t, n), e.decodeAsync = async (t, n) => _i(e, t, n), e.safeEncode = (t, n) => vi(e, t, n), e.safeDecode = (t, n) => bi(e, t, n), e.safeEncodeAsync = async (t, n) => yi(e, t, n), e.safeDecodeAsync = async (t, n) => zi(e, t, n), e.refine = (t, n) => e.check(_a(t, n)), e.superRefine = (t) => e.check(va(t)), e.overwrite = (t) => e.check(/* @__PURE__ */ X(t)), e.optional = () =>
|
|
2639
|
+
}), e.with = e.check, e.clone = (t, n) => J(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.parse = (t, n) => ui(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => di(e, t, n), e.parseAsync = async (t, n) => pi(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => fi(e, t, n), e.spa = e.safeParseAsync, e.encode = (t, n) => hi(e, t, n), e.decode = (t, n) => mi(e, t, n), e.encodeAsync = async (t, n) => gi(e, t, n), e.decodeAsync = async (t, n) => _i(e, t, n), e.safeEncode = (t, n) => vi(e, t, n), e.safeDecode = (t, n) => bi(e, t, n), e.safeEncodeAsync = async (t, n) => yi(e, t, n), e.safeDecodeAsync = async (t, n) => zi(e, t, n), e.refine = (t, n) => e.check(_a(t, n)), e.superRefine = (t) => e.check(va(t)), e.overwrite = (t) => e.check(/* @__PURE__ */ X(t)), e.optional = () => Ve(e), e.exactOptional = () => ta(e), e.nullable = () => Be(e), e.nullish = () => Ve(Be(e)), e.nonoptional = (t) => ca(e, t), e.array = () => U(e), e.or = (t) => _([e, t]), e.and = (t) => Xi(e, t), e.transform = (t) => We(e, ea(t)), e.default = (t) => ia(e, t), e.prefault = (t) => sa(e, t), e.catch = (t) => ua(e, t), e.pipe = (t) => We(e, t), e.readonly = () => fa(e), e.describe = (t) => {
|
|
2640
2640
|
const n = e.clone();
|
|
2641
2641
|
return Y.add(n, { description: t }), n;
|
|
2642
2642
|
}, Object.defineProperty(e, "description", {
|
|
@@ -2654,7 +2654,7 @@ const yo = (e, o) => {
|
|
|
2654
2654
|
const t = e._zod.bag;
|
|
2655
2655
|
e.format = t.format ?? null, e.minLength = t.minimum ?? null, e.maxLength = t.maximum ?? null, e.regex = (...n) => e.check(/* @__PURE__ */ mr(...n)), e.includes = (...n) => e.check(/* @__PURE__ */ vr(...n)), e.startsWith = (...n) => e.check(/* @__PURE__ */ br(...n)), e.endsWith = (...n) => e.check(/* @__PURE__ */ yr(...n)), e.min = (...n) => e.check(/* @__PURE__ */ ce(...n)), e.max = (...n) => e.check(/* @__PURE__ */ ho(...n)), e.length = (...n) => e.check(/* @__PURE__ */ mo(...n)), e.nonempty = (...n) => e.check(/* @__PURE__ */ ce(1, ...n)), e.lowercase = (n) => e.check(/* @__PURE__ */ gr(n)), e.uppercase = (n) => e.check(/* @__PURE__ */ _r(n)), e.trim = () => e.check(/* @__PURE__ */ kr()), e.normalize = (...n) => e.check(/* @__PURE__ */ zr(...n)), e.toLowerCase = () => e.check(/* @__PURE__ */ wr()), e.toUpperCase = () => e.check(/* @__PURE__ */ Sr()), e.slugify = () => e.check(/* @__PURE__ */ $r());
|
|
2656
2656
|
}), ki = /* @__PURE__ */ d("ZodString", (e, o) => {
|
|
2657
|
-
$e.init(e, o), zo.init(e, o), e.email = (t) => e.check(/* @__PURE__ */ Dn(wi, t)), e.url = (t) => e.check(/* @__PURE__ */ Jn(Si, t)), e.jwt = (t) => e.check(/* @__PURE__ */ rr(Ui, t)), e.emoji = (t) => e.check(/* @__PURE__ */
|
|
2657
|
+
$e.init(e, o), zo.init(e, o), e.email = (t) => e.check(/* @__PURE__ */ Dn(wi, t)), e.url = (t) => e.check(/* @__PURE__ */ Jn(Si, t)), e.jwt = (t) => e.check(/* @__PURE__ */ rr(Ui, t)), e.emoji = (t) => e.check(/* @__PURE__ */ Vn($i, t)), e.guid = (t) => e.check(/* @__PURE__ */ De(Me, t)), e.uuid = (t) => e.check(/* @__PURE__ */ Un(re, t)), e.uuidv4 = (t) => e.check(/* @__PURE__ */ Fn(re, t)), e.uuidv6 = (t) => e.check(/* @__PURE__ */ Ln(re, t)), e.uuidv7 = (t) => e.check(/* @__PURE__ */ Mn(re, t)), e.nanoid = (t) => e.check(/* @__PURE__ */ Bn(Zi, t)), e.guid = (t) => e.check(/* @__PURE__ */ De(Me, t)), e.cuid = (t) => e.check(/* @__PURE__ */ Wn(Pi, t)), e.cuid2 = (t) => e.check(/* @__PURE__ */ Gn(Ti, t)), e.ulid = (t) => e.check(/* @__PURE__ */ qn(Oi, t)), e.base64 = (t) => e.check(/* @__PURE__ */ or(ji, t)), e.base64url = (t) => e.check(/* @__PURE__ */ tr(Ri, t)), e.xid = (t) => e.check(/* @__PURE__ */ Kn(Ii, t)), e.ksuid = (t) => e.check(/* @__PURE__ */ Xn(Ni, t)), e.ipv4 = (t) => e.check(/* @__PURE__ */ Yn(Ei, t)), e.ipv6 = (t) => e.check(/* @__PURE__ */ Hn(Ci, t)), e.cidrv4 = (t) => e.check(/* @__PURE__ */ Qn(Ai, t)), e.cidrv6 = (t) => e.check(/* @__PURE__ */ er(xi, t)), e.e164 = (t) => e.check(/* @__PURE__ */ nr(Di, t)), e.datetime = (t) => e.check(ti(t)), e.date = (t) => e.check(ri(t)), e.time = (t) => e.check(ai(t)), e.duration = (t) => e.check(ci(t));
|
|
2658
2658
|
});
|
|
2659
2659
|
function c(e) {
|
|
2660
2660
|
return /* @__PURE__ */ Rn(ki, e);
|
|
@@ -2672,9 +2672,9 @@ const I = /* @__PURE__ */ d("ZodStringFormat", (e, o) => {
|
|
|
2672
2672
|
}), $i = /* @__PURE__ */ d("ZodEmoji", (e, o) => {
|
|
2673
2673
|
Jt.init(e, o), I.init(e, o);
|
|
2674
2674
|
}), Zi = /* @__PURE__ */ d("ZodNanoID", (e, o) => {
|
|
2675
|
-
Bt.init(e, o), I.init(e, o);
|
|
2676
|
-
}), Pi = /* @__PURE__ */ d("ZodCUID", (e, o) => {
|
|
2677
2675
|
Vt.init(e, o), I.init(e, o);
|
|
2676
|
+
}), Pi = /* @__PURE__ */ d("ZodCUID", (e, o) => {
|
|
2677
|
+
Bt.init(e, o), I.init(e, o);
|
|
2678
2678
|
}), Ti = /* @__PURE__ */ d("ZodCUID2", (e, o) => {
|
|
2679
2679
|
Wt.init(e, o), I.init(e, o);
|
|
2680
2680
|
}), Oi = /* @__PURE__ */ d("ZodULID", (e, o) => {
|
|
@@ -2731,11 +2731,11 @@ const Ji = /* @__PURE__ */ d("ZodUnknown", (e, o) => {
|
|
|
2731
2731
|
function s() {
|
|
2732
2732
|
return /* @__PURE__ */ fr(Ji);
|
|
2733
2733
|
}
|
|
2734
|
-
const
|
|
2734
|
+
const Vi = /* @__PURE__ */ d("ZodNever", (e, o) => {
|
|
2735
2735
|
mn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => jr(e, t, n);
|
|
2736
2736
|
});
|
|
2737
|
-
function
|
|
2738
|
-
return /* @__PURE__ */ hr(
|
|
2737
|
+
function Bi(e) {
|
|
2738
|
+
return /* @__PURE__ */ hr(Vi, e);
|
|
2739
2739
|
}
|
|
2740
2740
|
const Wi = /* @__PURE__ */ d("ZodArray", (e, o) => {
|
|
2741
2741
|
gn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Lr(e, t, n, r), e.element = o.element, e.min = (t, n) => e.check(/* @__PURE__ */ ce(t, n)), e.nonempty = (t) => e.check(/* @__PURE__ */ ce(1, t)), e.max = (t, n) => e.check(/* @__PURE__ */ ho(t, n)), e.length = (t, n) => e.check(/* @__PURE__ */ mo(t, n)), e.unwrap = () => e.element;
|
|
@@ -2744,7 +2744,7 @@ function U(e, o) {
|
|
|
2744
2744
|
return /* @__PURE__ */ Zr(Wi, e, o);
|
|
2745
2745
|
}
|
|
2746
2746
|
const Gi = /* @__PURE__ */ d("ZodObject", (e, o) => {
|
|
2747
|
-
vn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Mr(e, t, n, r), $(e, "shape", () => o.shape), e.keyof = () => b(Object.keys(e._zod.def.shape)), e.catchall = (t) => e.clone({ ...e._zod.def, catchall: t }), 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:
|
|
2747
|
+
vn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Mr(e, t, n, r), $(e, "shape", () => o.shape), e.keyof = () => b(Object.keys(e._zod.def.shape)), e.catchall = (t) => e.clone({ ...e._zod.def, catchall: t }), 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: Bi() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (t) => jo(e, t), e.safeExtend = (t) => Ro(e, t), e.merge = (t) => Do(e, t), e.pick = (t) => Ao(e, t), e.omit = (t) => xo(e, t), e.partial = (...t) => Uo(wo, e, t[0]), e.required = (...t) => Fo(So, e, t[0]);
|
|
2748
2748
|
});
|
|
2749
2749
|
function z(e, o) {
|
|
2750
2750
|
const t = {
|
|
@@ -2757,7 +2757,7 @@ function z(e, o) {
|
|
|
2757
2757
|
const qi = /* @__PURE__ */ d("ZodUnion", (e, o) => {
|
|
2758
2758
|
bn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Jr(e, t, n, r), e.options = o.options;
|
|
2759
2759
|
});
|
|
2760
|
-
function
|
|
2760
|
+
function _(e, o) {
|
|
2761
2761
|
return new qi({
|
|
2762
2762
|
type: "union",
|
|
2763
2763
|
options: e,
|
|
@@ -2765,7 +2765,7 @@ function v(e, o) {
|
|
|
2765
2765
|
});
|
|
2766
2766
|
}
|
|
2767
2767
|
const Ki = /* @__PURE__ */ d("ZodIntersection", (e, o) => {
|
|
2768
|
-
yn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) =>
|
|
2768
|
+
yn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Vr(e, t, n, r);
|
|
2769
2769
|
});
|
|
2770
2770
|
function Xi(e, o) {
|
|
2771
2771
|
return new Ki({
|
|
@@ -2775,7 +2775,7 @@ function Xi(e, o) {
|
|
|
2775
2775
|
});
|
|
2776
2776
|
}
|
|
2777
2777
|
const Yi = /* @__PURE__ */ d("ZodTuple", (e, o) => {
|
|
2778
|
-
zn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) =>
|
|
2778
|
+
zn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Br(e, t, n, r), e.rest = (t) => e.clone({
|
|
2779
2779
|
...e._zod.def,
|
|
2780
2780
|
rest: t
|
|
2781
2781
|
});
|
|
@@ -2864,7 +2864,7 @@ function ea(e) {
|
|
|
2864
2864
|
const wo = /* @__PURE__ */ d("ZodOptional", (e, o) => {
|
|
2865
2865
|
fo.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => bo(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
|
|
2866
2866
|
});
|
|
2867
|
-
function
|
|
2867
|
+
function Ve(e) {
|
|
2868
2868
|
return new wo({
|
|
2869
2869
|
type: "optional",
|
|
2870
2870
|
innerType: e
|
|
@@ -2882,7 +2882,7 @@ function ta(e) {
|
|
|
2882
2882
|
const na = /* @__PURE__ */ d("ZodNullable", (e, o) => {
|
|
2883
2883
|
Zn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Gr(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
|
|
2884
2884
|
});
|
|
2885
|
-
function
|
|
2885
|
+
function Be(e) {
|
|
2886
2886
|
return new na({
|
|
2887
2887
|
type: "nullable",
|
|
2888
2888
|
innerType: e
|
|
@@ -2970,14 +2970,14 @@ function _a(e, o = {}) {
|
|
|
2970
2970
|
function va(e) {
|
|
2971
2971
|
return /* @__PURE__ */ Tr(e);
|
|
2972
2972
|
}
|
|
2973
|
-
const m =
|
|
2973
|
+
const m = _([
|
|
2974
2974
|
c(),
|
|
2975
2975
|
g(),
|
|
2976
2976
|
f(),
|
|
2977
2977
|
y(),
|
|
2978
2978
|
z({ path: c() })
|
|
2979
2979
|
]), ie = ma(
|
|
2980
|
-
() =>
|
|
2980
|
+
() => _([
|
|
2981
2981
|
z({ and: U(ie) }),
|
|
2982
2982
|
z({ or: U(ie) }),
|
|
2983
2983
|
z({ not: ie }),
|
|
@@ -2989,7 +2989,7 @@ const m = v([
|
|
|
2989
2989
|
z({ lt: W([m, m]) }),
|
|
2990
2990
|
z({ lte: W([m, m]) })
|
|
2991
2991
|
])
|
|
2992
|
-
), ba =
|
|
2992
|
+
), ba = _([
|
|
2993
2993
|
f(),
|
|
2994
2994
|
z({ path: c() }),
|
|
2995
2995
|
z({ auth: b(["signedIn", "signedOut"]) }),
|
|
@@ -3013,17 +3013,17 @@ const m = v([
|
|
|
3013
3013
|
// The controlled input value
|
|
3014
3014
|
open: f().optional(),
|
|
3015
3015
|
// Whether the popup is open (controlled)
|
|
3016
|
-
children:
|
|
3016
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3017
3017
|
// Autocomplete content (input group, popup content)
|
|
3018
3018
|
className: c().optional(),
|
|
3019
3019
|
// Additional CSS classes
|
|
3020
|
-
label:
|
|
3020
|
+
label: _([c(), g(), f(), y(), m]).optional(),
|
|
3021
3021
|
// Label content (enables Field wrapper)
|
|
3022
3022
|
required: f().optional(),
|
|
3023
3023
|
// Whether the field is required
|
|
3024
|
-
labelTooltip:
|
|
3024
|
+
labelTooltip: _([c(), g(), f(), y(), m]).optional(),
|
|
3025
3025
|
// Tooltip content to display next to the label
|
|
3026
|
-
description:
|
|
3026
|
+
description: _([c(), g(), f(), y(), m]).optional(),
|
|
3027
3027
|
// Helper text displayed below the field
|
|
3028
3028
|
error: s().optional()
|
|
3029
3029
|
// Error message or validation error object
|
|
@@ -3034,38 +3034,38 @@ const m = v([
|
|
|
3034
3034
|
// Visual appearance of the badge. - `"filled"` — Filled background using the variant color (default) - `"dot"` — Outlined badge with a colored circle dot. Only `success`, `warning`, `error`, and `neutral` variants show a dot; other variants render the badge without a dot.
|
|
3035
3035
|
className: c().optional(),
|
|
3036
3036
|
// Additional CSS classes merged via `cn()`.
|
|
3037
|
-
children:
|
|
3037
|
+
children: _([c(), g(), f(), y(), m]).optional()
|
|
3038
3038
|
// Content rendered inside the badge.
|
|
3039
3039
|
}), Sa = z({
|
|
3040
3040
|
className: c().optional(),
|
|
3041
3041
|
// Additional CSS classes merged via `cn()`.
|
|
3042
3042
|
id: c().optional(),
|
|
3043
3043
|
lang: c().optional(),
|
|
3044
|
-
icon:
|
|
3044
|
+
icon: _([c(), g(), f(), y(), m]).optional(),
|
|
3045
3045
|
// Icon element rendered before the banner content (e.g. from `@phosphor-icons/react`).
|
|
3046
3046
|
title: c().optional(),
|
|
3047
3047
|
// Primary heading text for the banner. Use for i18n string injection.
|
|
3048
|
-
description:
|
|
3048
|
+
description: _([c(), g(), f(), y(), m]).optional(),
|
|
3049
3049
|
// Secondary description text displayed below the title. Use for i18n string injection.
|
|
3050
|
-
action:
|
|
3050
|
+
action: _([c(), g(), f(), y(), m]).optional(),
|
|
3051
3051
|
// Action slot rendered at the trailing end of the banner (e.g. a CTA button or link). Only used in structured mode (with `title` or `description`).
|
|
3052
3052
|
text: c().optional(),
|
|
3053
|
-
children:
|
|
3053
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3054
3054
|
variant: b(["default", "alert", "error", "secondary"]).optional()
|
|
3055
3055
|
// 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 - `"secondary"` — Neutral banner for secondary messages
|
|
3056
3056
|
}), $a = z({
|
|
3057
3057
|
size: b(["sm", "base"]).optional(),
|
|
3058
3058
|
// Size of the breadcrumbs. - `"sm"` — Compact breadcrumbs for dense UIs - `"base"` — Default breadcrumbs size
|
|
3059
|
-
children:
|
|
3059
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3060
3060
|
className: c().optional()
|
|
3061
3061
|
// Additional CSS classes merged via `cn()`.
|
|
3062
3062
|
}), Za = z({
|
|
3063
3063
|
shape: b(["base", "square", "circle"]).optional(),
|
|
3064
3064
|
size: b(["xs", "sm", "base", "lg"]).optional(),
|
|
3065
3065
|
variant: b(["primary", "secondary", "ghost", "destructive", "secondary-destructive", "outline"]).optional(),
|
|
3066
|
-
children:
|
|
3066
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3067
3067
|
className: c().optional(),
|
|
3068
|
-
icon:
|
|
3068
|
+
icon: _([c(), g(), f(), y(), m]).optional(),
|
|
3069
3069
|
// Icon from `@phosphor-icons/react` or a React element. Rendered before children.
|
|
3070
3070
|
loading: f().optional(),
|
|
3071
3071
|
// Shows a loading spinner and disables interaction.
|
|
@@ -3079,9 +3079,9 @@ const m = v([
|
|
|
3079
3079
|
}), Pa = z({
|
|
3080
3080
|
variant: b(["default", "error"]).optional(),
|
|
3081
3081
|
// Visual variant: "default" or "error" for validation failures (visual only, no error text)
|
|
3082
|
-
label:
|
|
3082
|
+
label: _([c(), g(), f(), y(), m]).optional(),
|
|
3083
3083
|
// Label content for the checkbox (enables built-in Field wrapper) - can be a string or any React node
|
|
3084
|
-
labelTooltip:
|
|
3084
|
+
labelTooltip: _([c(), g(), f(), y(), m]).optional(),
|
|
3085
3085
|
// Tooltip content to display next to the label via an info icon
|
|
3086
3086
|
controlFirst: f().optional(),
|
|
3087
3087
|
// When true (default), checkbox appears before label. When false, label appears before checkbox.
|
|
@@ -3111,7 +3111,7 @@ const m = v([
|
|
|
3111
3111
|
labels: s().optional()
|
|
3112
3112
|
// Accessible labels for i18n.
|
|
3113
3113
|
}), Oa = z({
|
|
3114
|
-
children:
|
|
3114
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3115
3115
|
className: c().optional(),
|
|
3116
3116
|
height: s().optional(),
|
|
3117
3117
|
id: c().optional(),
|
|
@@ -3389,17 +3389,17 @@ const m = v([
|
|
|
3389
3389
|
// Array of items to display in the dropdown
|
|
3390
3390
|
value: U(s()).optional(),
|
|
3391
3391
|
// Currently selected value(s)
|
|
3392
|
-
children:
|
|
3392
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3393
3393
|
// Combobox content (trigger, content, items)
|
|
3394
3394
|
className: c().optional(),
|
|
3395
3395
|
// Additional CSS classes
|
|
3396
|
-
label:
|
|
3396
|
+
label: _([c(), g(), f(), y(), m]).optional(),
|
|
3397
3397
|
// Label content for the combobox (enables Field wrapper) - can be a string or any React node
|
|
3398
3398
|
required: f().optional(),
|
|
3399
3399
|
// Whether the combobox is required
|
|
3400
|
-
labelTooltip:
|
|
3400
|
+
labelTooltip: _([c(), g(), f(), y(), m]).optional(),
|
|
3401
3401
|
// Tooltip content to display next to the label via an info icon
|
|
3402
|
-
description:
|
|
3402
|
+
description: _([c(), g(), f(), y(), m]).optional(),
|
|
3403
3403
|
// Helper text displayed below the combobox
|
|
3404
3404
|
error: s().optional(),
|
|
3405
3405
|
// Error message or validation error object
|
|
@@ -3412,14 +3412,14 @@ const m = v([
|
|
|
3412
3412
|
}), Ca = z({
|
|
3413
3413
|
open: f(),
|
|
3414
3414
|
// Whether the dialog is open
|
|
3415
|
-
children:
|
|
3415
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3416
3416
|
// Child content - typically one or more Panel components
|
|
3417
3417
|
container: s().optional()
|
|
3418
3418
|
// Container element for the portal. Use this to render the command palette inside a Shadow DOM or custom container. Overrides `KumoPortalProvider` context.
|
|
3419
3419
|
}), Aa = z({
|
|
3420
3420
|
className: c().optional(),
|
|
3421
3421
|
// Additional CSS classes
|
|
3422
|
-
children:
|
|
3422
|
+
children: _([c(), g(), f(), y(), m]).optional()
|
|
3423
3423
|
// Child elements
|
|
3424
3424
|
}), xa = z({
|
|
3425
3425
|
size: b(["sm", "base", "lg"]).optional(),
|
|
@@ -3437,7 +3437,7 @@ const m = v([
|
|
|
3437
3437
|
}), ja = z({
|
|
3438
3438
|
className: c().optional(),
|
|
3439
3439
|
// Additional CSS classes merged via `cn()`.
|
|
3440
|
-
children:
|
|
3440
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3441
3441
|
// Dialog content (typically Title, Description, Close, and action buttons).
|
|
3442
3442
|
container: s().optional(),
|
|
3443
3443
|
// Container element for the portal. Use this to render the dialog inside a Shadow DOM or custom container. Overrides `KumoPortalProvider` context.
|
|
@@ -3449,7 +3449,7 @@ const m = v([
|
|
|
3449
3449
|
}), Da = z({
|
|
3450
3450
|
size: b(["sm", "base", "lg"]).optional(),
|
|
3451
3451
|
// 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
|
|
3452
|
-
icon:
|
|
3452
|
+
icon: _([c(), g(), f(), y(), m]).optional(),
|
|
3453
3453
|
// Decorative icon displayed above the title (e.g. from `@phosphor-icons/react`).
|
|
3454
3454
|
title: c(),
|
|
3455
3455
|
// Primary heading text for the empty state.
|
|
@@ -3457,29 +3457,29 @@ const m = v([
|
|
|
3457
3457
|
// Secondary description text displayed below the title.
|
|
3458
3458
|
commandLine: c().optional(),
|
|
3459
3459
|
// Shell command displayed in a copyable code block.
|
|
3460
|
-
contents:
|
|
3460
|
+
contents: _([c(), g(), f(), y(), m]).optional(),
|
|
3461
3461
|
// Additional content (buttons, links) rendered below the description.
|
|
3462
3462
|
className: c().optional()
|
|
3463
3463
|
// Additional CSS classes merged via `cn()`.
|
|
3464
3464
|
}), Ua = z({
|
|
3465
3465
|
controlFirst: f().optional(),
|
|
3466
3466
|
// When `true`, places the control before the label (for checkbox/switch layouts).
|
|
3467
|
-
children:
|
|
3467
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3468
3468
|
// The form control element(s) to wrap (Input, Select, Checkbox, etc.).
|
|
3469
|
-
label:
|
|
3469
|
+
label: _([c(), g(), f(), y(), m]).optional(),
|
|
3470
3470
|
// The label content — can be a string or any React node.
|
|
3471
3471
|
required: f().optional(),
|
|
3472
3472
|
// When explicitly `false`, shows gray "(optional)" text after the label. When `true` or `undefined`, no indicator is shown.
|
|
3473
|
-
labelTooltip:
|
|
3473
|
+
labelTooltip: _([c(), g(), f(), y(), m]).optional(),
|
|
3474
3474
|
// Tooltip content displayed next to the label via an info icon.
|
|
3475
3475
|
error: s().optional(),
|
|
3476
3476
|
// Validation error with a message and a browser `ValidityState` match key.
|
|
3477
|
-
description:
|
|
3477
|
+
description: _([c(), g(), f(), y(), m]).optional(),
|
|
3478
3478
|
// Helper text displayed below the control (hidden when `error` is present).
|
|
3479
3479
|
hideLabel: f().optional()
|
|
3480
3480
|
// When `true`, Field renders layout, description, and error but skips the `<label>` element. Use when the child component provides its own accessible label (e.g. Select uses Base UI's `Select.Label` to avoid hover/focus coupling from native `<label>`).
|
|
3481
3481
|
}), Fa = z({
|
|
3482
|
-
children:
|
|
3482
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3483
3483
|
// Grid items to render.
|
|
3484
3484
|
className: c().optional(),
|
|
3485
3485
|
// Additional CSS classes merged via `cn()`.
|
|
@@ -3493,11 +3493,11 @@ const m = v([
|
|
|
3493
3493
|
variant: b(["2up", "side-by-side", "2-1", "1-2", "1-3up", "3up", "4up", "6up", "1-2-4up"]).optional()
|
|
3494
3494
|
// 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
|
|
3495
3495
|
}), La = z({
|
|
3496
|
-
label:
|
|
3496
|
+
label: _([c(), g(), f(), y(), m]).optional(),
|
|
3497
3497
|
// Label content for the input (enables Field wrapper) - can be a string or any React node
|
|
3498
|
-
labelTooltip:
|
|
3498
|
+
labelTooltip: _([c(), g(), f(), y(), m]).optional(),
|
|
3499
3499
|
// Tooltip content to display next to the label via an info icon
|
|
3500
|
-
description:
|
|
3500
|
+
description: _([c(), g(), f(), y(), m]).optional(),
|
|
3501
3501
|
// Helper text displayed below the input
|
|
3502
3502
|
error: s().optional(),
|
|
3503
3503
|
// Error message or validation error object
|
|
@@ -3508,29 +3508,29 @@ const m = v([
|
|
|
3508
3508
|
variant: b(["default", "error"]).optional()
|
|
3509
3509
|
// Visual variant. - `"default"` — Standard input - `"error"` — Error state for validation failures
|
|
3510
3510
|
}), Ma = z({}), Ja = z({
|
|
3511
|
-
label:
|
|
3511
|
+
label: _([c(), g(), f(), y(), m]).optional(),
|
|
3512
3512
|
// The label content — can be a string or any React node.
|
|
3513
|
-
description:
|
|
3513
|
+
description: _([c(), g(), f(), y(), m]).optional(),
|
|
3514
3514
|
// Helper text displayed below the control (hidden when `error` is present).
|
|
3515
3515
|
error: s().optional(),
|
|
3516
3516
|
// Validation error with a message and a browser `ValidityState` match key.
|
|
3517
3517
|
required: f().optional(),
|
|
3518
3518
|
// When explicitly `false`, shows gray "(optional)" text after the label. When `true` or `undefined`, no indicator is shown.
|
|
3519
|
-
labelTooltip:
|
|
3519
|
+
labelTooltip: _([c(), g(), f(), y(), m]).optional(),
|
|
3520
3520
|
// Tooltip content displayed next to the label via an info icon.
|
|
3521
|
-
children:
|
|
3521
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3522
3522
|
className: c().optional(),
|
|
3523
3523
|
id: c().optional(),
|
|
3524
3524
|
lang: c().optional(),
|
|
3525
3525
|
title: c().optional(),
|
|
3526
3526
|
size: b(["xs", "sm", "base", "lg"]).optional(),
|
|
3527
3527
|
disabled: f().optional()
|
|
3528
|
-
}),
|
|
3529
|
-
children:
|
|
3528
|
+
}), Va = z({
|
|
3529
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3530
3530
|
// The label content — can be a string or any React node.
|
|
3531
3531
|
showOptional: f().optional(),
|
|
3532
3532
|
// When `true`, shows gray "(optional)" text after the label.
|
|
3533
|
-
tooltip:
|
|
3533
|
+
tooltip: _([c(), g(), f(), y(), m]).optional(),
|
|
3534
3534
|
// Tooltip content displayed next to the label via an info icon.
|
|
3535
3535
|
className: c().optional(),
|
|
3536
3536
|
// Additional CSS classes merged via `cn()`.
|
|
@@ -3538,10 +3538,10 @@ const m = v([
|
|
|
3538
3538
|
// The id of the form element this label is associated with
|
|
3539
3539
|
asContent: f().optional()
|
|
3540
3540
|
// 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.
|
|
3541
|
-
}),
|
|
3542
|
-
render:
|
|
3541
|
+
}), Ba = z({
|
|
3542
|
+
render: _([c(), g(), f(), y(), m]).optional(),
|
|
3543
3543
|
// 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.
|
|
3544
|
-
children:
|
|
3544
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3545
3545
|
className: c().optional(),
|
|
3546
3546
|
id: c().optional(),
|
|
3547
3547
|
lang: c().optional(),
|
|
@@ -3550,7 +3550,7 @@ const m = v([
|
|
|
3550
3550
|
variant: b(["inline", "current", "plain"]).optional(),
|
|
3551
3551
|
// 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
|
|
3552
3552
|
to: c().optional(),
|
|
3553
|
-
children:
|
|
3553
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3554
3554
|
className: c().optional(),
|
|
3555
3555
|
id: c().optional(),
|
|
3556
3556
|
lang: c().optional(),
|
|
@@ -3563,7 +3563,7 @@ const m = v([
|
|
|
3563
3563
|
target: s().optional(),
|
|
3564
3564
|
type: c().optional(),
|
|
3565
3565
|
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(),
|
|
3566
|
-
render:
|
|
3566
|
+
render: _([c(), g(), f(), y(), m]).optional()
|
|
3567
3567
|
// 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.
|
|
3568
3568
|
}), Ga = z({
|
|
3569
3569
|
className: c().optional(),
|
|
@@ -3609,7 +3609,7 @@ const m = v([
|
|
|
3609
3609
|
// Additional CSS classes for the container
|
|
3610
3610
|
labels: s().optional(),
|
|
3611
3611
|
// Labels for internationalization of aria-labels. All labels have English defaults. For visible text like "Showing X of Y", use render props on sub-components: - `Pagination.Info` children for the info text - `Pagination.PageSize` label prop for the "Per page:" text
|
|
3612
|
-
children:
|
|
3612
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3613
3613
|
// Compound component children for custom layouts. Use Pagination.Info, Pagination.PageSize, Pagination.Controls, and Pagination.Separator.
|
|
3614
3614
|
controls: b(["full", "simple"]).optional(),
|
|
3615
3615
|
text: s().optional()
|
|
@@ -3617,34 +3617,24 @@ const m = v([
|
|
|
3617
3617
|
side: b(["top", "bottom", "left", "right"]).optional()
|
|
3618
3618
|
// 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
|
|
3619
3619
|
}), Ha = z({
|
|
3620
|
-
|
|
3621
|
-
// Legend text for the group (required for accessibility). For more control over legend styling, omit this prop and use `<Radio.Legend>` as a child instead.
|
|
3622
|
-
children: v([c(), g(), f(), y(), m]).optional(),
|
|
3623
|
-
// Child Radio.Item components (and optionally a Radio.Legend)
|
|
3624
|
-
orientation: b(["vertical", "horizontal"]).optional(),
|
|
3625
|
-
// Layout direction of the radio items
|
|
3620
|
+
variant: b(["default", "error"]).optional(),
|
|
3626
3621
|
appearance: b(["default", "card"]).optional(),
|
|
3627
|
-
|
|
3628
|
-
error: c().optional(),
|
|
3629
|
-
// Error message for the group
|
|
3630
|
-
description: v([c(), g(), f(), y(), m]).optional(),
|
|
3631
|
-
// Helper text for the group
|
|
3632
|
-
value: c().optional(),
|
|
3633
|
-
// Value of the radio that should be selected (controlled)
|
|
3634
|
-
disabled: f().optional(),
|
|
3635
|
-
// Whether all radios in the group are disabled
|
|
3636
|
-
controlPosition: b(["start", "end"]).optional(),
|
|
3637
|
-
// Position of radio control relative to label: "start" puts radio before label, "end" puts label before radio. Defaults to "start" for default appearance and "end" for card appearance.
|
|
3638
|
-
name: c().optional(),
|
|
3639
|
-
// Form submission name for the radio group
|
|
3640
|
-
className: c().optional()
|
|
3622
|
+
className: c().optional(),
|
|
3641
3623
|
// Additional CSS classes
|
|
3624
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3625
|
+
// Child elements
|
|
3626
|
+
value: s().optional(),
|
|
3627
|
+
// The controlled value of the selected radio item.
|
|
3628
|
+
defaultValue: s().optional(),
|
|
3629
|
+
// The uncontrolled initial value of the selected radio item.
|
|
3630
|
+
onValueChange: s().optional()
|
|
3631
|
+
// Callback fired when the selected value changes. The second argument carries native event details about the interaction.
|
|
3642
3632
|
}), Qa = z({
|
|
3643
3633
|
className: c().optional(),
|
|
3644
3634
|
// Additional CSS classes merged via `cn()`.
|
|
3645
3635
|
size: b(["xs", "sm", "base", "lg"]).optional(),
|
|
3646
3636
|
// Size of the select trigger. Matches Input component sizes.
|
|
3647
|
-
label:
|
|
3637
|
+
label: _([c(), g(), f(), y(), m]).optional(),
|
|
3648
3638
|
// Label content for the select. When provided, enables the Field wrapper with a visible label above the select. For accessibility without a visible label, use `aria-label` instead.
|
|
3649
3639
|
hideLabel: f().optional(),
|
|
3650
3640
|
placeholder: c().optional(),
|
|
@@ -3655,13 +3645,13 @@ const m = v([
|
|
|
3655
3645
|
// Whether the select is disabled.
|
|
3656
3646
|
required: f().optional(),
|
|
3657
3647
|
// Whether the select is required. When `false`, shows "(optional)" text.
|
|
3658
|
-
labelTooltip:
|
|
3648
|
+
labelTooltip: _([c(), g(), f(), y(), m]).optional(),
|
|
3659
3649
|
// Tooltip content displayed next to the label via an info icon.
|
|
3660
3650
|
value: s().optional(),
|
|
3661
3651
|
// Currently selected value (controlled mode).
|
|
3662
|
-
children:
|
|
3652
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3663
3653
|
// `Select.Option` elements to render in the dropdown.
|
|
3664
|
-
description:
|
|
3654
|
+
description: _([c(), g(), f(), y(), m]).optional(),
|
|
3665
3655
|
// Helper text displayed below the select.
|
|
3666
3656
|
error: s().optional(),
|
|
3667
3657
|
// Error message string or validation error object with `match` key.
|
|
@@ -3691,18 +3681,18 @@ const m = v([
|
|
|
3691
3681
|
id: c().optional(),
|
|
3692
3682
|
lang: c().optional(),
|
|
3693
3683
|
title: c().optional(),
|
|
3694
|
-
children:
|
|
3684
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3695
3685
|
value: c().optional(),
|
|
3696
3686
|
// Controlled value
|
|
3697
3687
|
size: b(["xs", "sm", "base", "lg"]).optional(),
|
|
3698
3688
|
// Size of the input. - `"xs"` — Extra small for compact UIs - `"sm"` — Small for secondary fields - `"base"` — Default input size - `"lg"` — Large for prominent fields
|
|
3699
3689
|
variant: b(["default", "error"]).optional(),
|
|
3700
3690
|
// Style variant of the input. - `"default"` — Default input appearance - `"error"` — Error state for validation failures
|
|
3701
|
-
label:
|
|
3691
|
+
label: _([c(), g(), f(), y(), m]).optional(),
|
|
3702
3692
|
// Label content for the input (enables Field wrapper and sets masked state label) - can be a string or any React node
|
|
3703
|
-
labelTooltip:
|
|
3693
|
+
labelTooltip: _([c(), g(), f(), y(), m]).optional(),
|
|
3704
3694
|
// Tooltip content to display next to the label via an info icon
|
|
3705
|
-
description:
|
|
3695
|
+
description: _([c(), g(), f(), y(), m]).optional(),
|
|
3706
3696
|
// Helper text displayed below the input
|
|
3707
3697
|
error: s().optional()
|
|
3708
3698
|
// Error message or validation error object
|
|
@@ -3732,15 +3722,15 @@ const m = v([
|
|
|
3732
3722
|
// Duration of sidebar expand/collapse animation in milliseconds.
|
|
3733
3723
|
mobileBreakpoint: g().optional(),
|
|
3734
3724
|
// Viewport width (in px) below which the sidebar renders as a mobile dialog sheet instead of the desktop aside rail.
|
|
3735
|
-
children:
|
|
3725
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3736
3726
|
// Content — typically `<Sidebar>` + main content.
|
|
3737
3727
|
className: c().optional()
|
|
3738
3728
|
// Additional CSS classes for the wrapper div.
|
|
3739
3729
|
}), ts = z({
|
|
3740
3730
|
as: s().optional(),
|
|
3741
|
-
render:
|
|
3731
|
+
render: _([c(), g(), f(), y(), m]).optional(),
|
|
3742
3732
|
// 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.
|
|
3743
|
-
children:
|
|
3733
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3744
3734
|
className: c().optional(),
|
|
3745
3735
|
id: c().optional(),
|
|
3746
3736
|
lang: c().optional(),
|
|
@@ -3748,9 +3738,9 @@ const m = v([
|
|
|
3748
3738
|
}), ns = z({
|
|
3749
3739
|
variant: b(["default", "neutral"]).optional(),
|
|
3750
3740
|
// Visual variant: "default" (pill, brand color) or "neutral" (squircle, monochrome)
|
|
3751
|
-
label:
|
|
3741
|
+
label: _([c(), g(), f(), y(), m]).optional(),
|
|
3752
3742
|
// 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.
|
|
3753
|
-
labelTooltip:
|
|
3743
|
+
labelTooltip: _([c(), g(), f(), y(), m]).optional(),
|
|
3754
3744
|
// Tooltip content to display next to the label via an info icon
|
|
3755
3745
|
required: f().optional(),
|
|
3756
3746
|
// Whether the switch is required. When explicitly false, shows "(optional)" text after the label.
|
|
@@ -3775,10 +3765,10 @@ const m = v([
|
|
|
3775
3765
|
sticky: b(["left", "right"]).optional(),
|
|
3776
3766
|
className: c().optional(),
|
|
3777
3767
|
// Additional CSS classes
|
|
3778
|
-
children:
|
|
3768
|
+
children: _([c(), g(), f(), y(), m]).optional()
|
|
3779
3769
|
// Child elements
|
|
3780
3770
|
}), is = z({
|
|
3781
|
-
children:
|
|
3771
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3782
3772
|
className: c().optional(),
|
|
3783
3773
|
id: c().optional(),
|
|
3784
3774
|
lang: c().optional(),
|
|
@@ -3815,23 +3805,40 @@ const m = v([
|
|
|
3815
3805
|
// Whether to truncate overflowing text with an ellipsis. Adds `truncate min-w-0` classes.
|
|
3816
3806
|
as: b(["h1", "h2", "h3", "h4", "h5", "h6", "p", "span", "label", "dt", "dd", "li", "figcaption", "legend", "pre", "code", "em", "strong", "small", "abbr", "time"]).optional(),
|
|
3817
3807
|
// The HTML element to render. Accepts headings (`"h1"`–`"h6"`), block text (`"p"`, `"pre"`), inline text (`"span"`, `"code"`, `"em"`, `"strong"`, `"small"`, `"abbr"`, `"time"`), form-related (`"label"`, `"legend"`), list/definition (`"dt"`, `"dd"`, `"li"`), and `"figcaption"`. - **Required** for heading variants (`"heading1"`, `"heading2"`, `"heading3"`) — pick the element that reflects this text's place in the document outline, or `"span"` for decorative heading-styled text that is not a section heading. - **Optional** for body variants (defaults to `"p"`) and monospace variants (defaults to `"span"`).
|
|
3818
|
-
children:
|
|
3808
|
+
children: _([c(), g(), f(), y(), m]).optional()
|
|
3819
3809
|
// Text content.
|
|
3820
3810
|
}), cs = z({
|
|
3821
3811
|
variant: b(["default", "success", "error", "warning", "info"]).optional(),
|
|
3822
3812
|
className: c().optional(),
|
|
3823
3813
|
// Additional CSS classes
|
|
3824
|
-
children:
|
|
3814
|
+
children: _([c(), g(), f(), y(), m]).optional()
|
|
3825
3815
|
// Child elements
|
|
3826
3816
|
}), ls = z({
|
|
3817
|
+
disabled: f().optional(),
|
|
3818
|
+
orientation: s().optional(),
|
|
3819
|
+
// The orientation of the toolbar.
|
|
3820
|
+
loopFocus: f().optional(),
|
|
3821
|
+
// If `true`, using keyboard navigation will wrap focus to the other end of the toolbar once the end is reached.
|
|
3822
|
+
id: c().optional(),
|
|
3823
|
+
lang: c().optional(),
|
|
3824
|
+
title: c().optional(),
|
|
3825
|
+
className: s().optional(),
|
|
3826
|
+
// CSS class applied to the element, or a function that returns a class based on the component's state.
|
|
3827
|
+
render: _([c(), g(), f(), y(), m]).optional(),
|
|
3828
|
+
// 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.
|
|
3829
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3830
|
+
// Toolbar controls rendered as one grouped card.
|
|
3831
|
+
size: b(["xs", "sm", "base", "lg"]).optional()
|
|
3832
|
+
// Locks every toolbar item to this size.
|
|
3833
|
+
}), us = z({
|
|
3827
3834
|
side: b(["top", "bottom", "left", "right"]).optional(),
|
|
3828
3835
|
className: c().optional(),
|
|
3829
3836
|
// Additional CSS classes
|
|
3830
|
-
children:
|
|
3837
|
+
children: _([c(), g(), f(), y(), m]).optional(),
|
|
3831
3838
|
// Child elements
|
|
3832
|
-
content:
|
|
3839
|
+
content: _([c(), g(), f(), y(), m])
|
|
3833
3840
|
// Content to display in the tooltip
|
|
3834
|
-
}),
|
|
3841
|
+
}), ps = b([
|
|
3835
3842
|
"Autocomplete",
|
|
3836
3843
|
"Badge",
|
|
3837
3844
|
"Banner",
|
|
@@ -3873,8 +3880,9 @@ const m = v([
|
|
|
3873
3880
|
"Tabs",
|
|
3874
3881
|
"Text",
|
|
3875
3882
|
"Toasty",
|
|
3883
|
+
"Toolbar",
|
|
3876
3884
|
"Tooltip"
|
|
3877
|
-
]),
|
|
3885
|
+
]), ds = {
|
|
3878
3886
|
Autocomplete: ka,
|
|
3879
3887
|
Badge: wa,
|
|
3880
3888
|
Banner: Sa,
|
|
@@ -3897,8 +3905,8 @@ const m = v([
|
|
|
3897
3905
|
Input: La,
|
|
3898
3906
|
InputArea: Ma,
|
|
3899
3907
|
InputGroup: Ja,
|
|
3900
|
-
Label:
|
|
3901
|
-
LayerCard:
|
|
3908
|
+
Label: Va,
|
|
3909
|
+
LayerCard: Ba,
|
|
3902
3910
|
Link: Wa,
|
|
3903
3911
|
Loader: Ga,
|
|
3904
3912
|
MenuBar: qa,
|
|
@@ -3916,27 +3924,28 @@ const m = v([
|
|
|
3916
3924
|
Tabs: as,
|
|
3917
3925
|
Text: ss,
|
|
3918
3926
|
Toasty: cs,
|
|
3919
|
-
|
|
3920
|
-
|
|
3927
|
+
Toolbar: ls,
|
|
3928
|
+
Tooltip: us
|
|
3929
|
+
}, fs = z({
|
|
3921
3930
|
key: c(),
|
|
3922
|
-
type:
|
|
3931
|
+
type: ps,
|
|
3923
3932
|
props: H(c(), s()),
|
|
3924
3933
|
children: U(c()).optional(),
|
|
3925
3934
|
parentKey: c().nullable().optional(),
|
|
3926
3935
|
visible: ba.optional(),
|
|
3927
3936
|
action: za.optional()
|
|
3928
|
-
}),
|
|
3937
|
+
}), hs = z({
|
|
3929
3938
|
root: c(),
|
|
3930
|
-
elements: H(c(),
|
|
3939
|
+
elements: H(c(), fs)
|
|
3931
3940
|
});
|
|
3932
|
-
function
|
|
3933
|
-
const o =
|
|
3941
|
+
function gs(e) {
|
|
3942
|
+
const o = ds[e.type];
|
|
3934
3943
|
return o ? o.safeParse(e.props) : { success: !1, error: new li([{ code: "custom", message: `Unknown component type: ${e.type}`, path: ["type"] }]) };
|
|
3935
3944
|
}
|
|
3936
|
-
function
|
|
3937
|
-
return
|
|
3945
|
+
function _s(e) {
|
|
3946
|
+
return hs.safeParse(e);
|
|
3938
3947
|
}
|
|
3939
|
-
const
|
|
3948
|
+
const vs = ["Autocomplete", "Badge", "Banner", "Breadcrumbs", "Button", "Checkbox", "ClipboardText", "CloudflareLogo", "Code", "Collapsible", "Combobox", "CommandPalette", "DatePicker", "DateRangePicker", "Dialog", "DropdownMenu", "Empty", "Field", "Grid", "Input", "InputArea", "InputGroup", "Label", "LayerCard", "Link", "Loader", "MenuBar", "Meter", "Pagination", "Popover", "Radio", "Select", "SensitiveInput", "Sidebar", "Surface", "Switch", "Table", "TableOfContents", "Tabs", "Text", "Toasty", "Toolbar", "Tooltip"];
|
|
3940
3949
|
export {
|
|
3941
3950
|
ya as ActionConfirmSchema,
|
|
3942
3951
|
za as ActionSchema,
|
|
@@ -3952,7 +3961,7 @@ export {
|
|
|
3952
3961
|
Na as CollapsiblePropsSchema,
|
|
3953
3962
|
Ea as ComboboxPropsSchema,
|
|
3954
3963
|
Ca as CommandPalettePropsSchema,
|
|
3955
|
-
|
|
3964
|
+
ds as ComponentPropsSchemas,
|
|
3956
3965
|
Aa as DatePickerPropsSchema,
|
|
3957
3966
|
xa as DateRangePickerPropsSchema,
|
|
3958
3967
|
ja as DialogPropsSchema,
|
|
@@ -3964,10 +3973,10 @@ export {
|
|
|
3964
3973
|
Ma as InputAreaPropsSchema,
|
|
3965
3974
|
Ja as InputGroupPropsSchema,
|
|
3966
3975
|
La as InputPropsSchema,
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3976
|
+
vs as KUMO_COMPONENT_NAMES,
|
|
3977
|
+
ps as KumoComponentTypeSchema,
|
|
3978
|
+
Va as LabelPropsSchema,
|
|
3979
|
+
Ba as LayerCardPropsSchema,
|
|
3971
3980
|
Wa as LinkPropsSchema,
|
|
3972
3981
|
Ga as LoaderPropsSchema,
|
|
3973
3982
|
qa as MenuBarPropsSchema,
|
|
@@ -3985,11 +3994,12 @@ export {
|
|
|
3985
3994
|
as as TabsPropsSchema,
|
|
3986
3995
|
ss as TextPropsSchema,
|
|
3987
3996
|
cs as ToastyPropsSchema,
|
|
3988
|
-
ls as
|
|
3989
|
-
|
|
3990
|
-
fs as
|
|
3997
|
+
ls as ToolbarPropsSchema,
|
|
3998
|
+
us as TooltipPropsSchema,
|
|
3999
|
+
fs as UIElementBaseSchema,
|
|
4000
|
+
hs as UITreeSchema,
|
|
3991
4001
|
ba as VisibilityConditionSchema,
|
|
3992
|
-
|
|
3993
|
-
|
|
4002
|
+
gs as validateElementProps,
|
|
4003
|
+
_s as validateUITree
|
|
3994
4004
|
};
|
|
3995
4005
|
//# sourceMappingURL=schemas.js.map
|