@cloudflare/kumo 2.4.1 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +52 -0
- package/ai/component-registry.json +34 -4
- package/ai/component-registry.md +176 -3
- package/ai/schemas.ts +1 -0
- package/dist/.build-complete +1 -1
- package/dist/ai/schemas.d.ts +2 -0
- package/dist/ai/schemas.d.ts.map +1 -1
- package/dist/ai/schemas.js +45 -43
- package/dist/ai/schemas.js.map +1 -1
- package/dist/chunks/{SankeyChart-npoyr1j06svoxsfe.js → SankeyChart-i1m7zv0lys3j0iq6.js} +74 -69
- package/dist/chunks/SankeyChart-i1m7zv0lys3j0iq6.js.map +1 -0
- package/dist/chunks/{dialog-my9fioafdstq50mi.js → dialog-3mpu1i1wssrsz8i6.js} +11 -11
- package/dist/chunks/dialog-3mpu1i1wssrsz8i6.js.map +1 -0
- package/dist/chunks/sidebar-nbdw4rgvuabxp5nj.js +1144 -0
- package/dist/chunks/sidebar-nbdw4rgvuabxp5nj.js.map +1 -0
- package/dist/chunks/{tabs-hice1yy5q2t889z8.js → tabs-ho9t1gkq22jb855l.js} +51 -28
- package/dist/chunks/tabs-ho9t1gkq22jb855l.js.map +1 -0
- package/dist/components/chart.js +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/flow.js +3 -2
- package/dist/components/flow.js.map +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/index.js +5 -5
- package/dist/src/components/chart/EChart.d.ts.map +1 -1
- package/dist/src/components/flow/connectors.d.ts.map +1 -1
- package/dist/src/components/sidebar/sidebar.d.ts +14 -2
- package/dist/src/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/src/components/tabs/tabs.d.ts.map +1 -1
- package/dist/styles/kumo-binding.css +27 -20
- package/dist/styles/kumo-standalone.css +1 -1
- package/package.json +2 -2
- package/dist/chunks/SankeyChart-npoyr1j06svoxsfe.js.map +0 -1
- package/dist/chunks/dialog-my9fioafdstq50mi.js.map +0 -1
- package/dist/chunks/sidebar-hzio700cg85f7f31.js +0 -1014
- package/dist/chunks/sidebar-hzio700cg85f7f31.js.map +0 -1
- package/dist/chunks/tabs-hice1yy5q2t889z8.js.map +0 -1
package/dist/ai/schemas.js
CHANGED
|
@@ -98,7 +98,7 @@ function $(e, o, t) {
|
|
|
98
98
|
configurable: !0
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function V(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 V(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 V(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 V(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 V(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 V(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 V(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 V(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 B(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
|
+
}, Bo = /* @__PURE__ */ de(eo), Vo = (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) => {
|
|
@@ -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 Bo(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
|
+
}), Bt = /* @__PURE__ */ d("$ZodNanoID", (e, o) => {
|
|
903
903
|
o.pattern ?? (o.pattern = rt), T.init(e, o);
|
|
904
|
-
}),
|
|
904
|
+
}), Vt = /* @__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(...B(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(...B(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
|
}
|
|
@@ -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(...B(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) => {
|
|
@@ -1442,8 +1442,8 @@ const kn = /* @__PURE__ */ d("$ZodRecord", (e, o) => {
|
|
|
1442
1442
|
l.add(typeof p == "number" ? p.toString() : p);
|
|
1443
1443
|
const h = o.valueType._zod.run({ value: r[p], issues: [] }, n);
|
|
1444
1444
|
h instanceof Promise ? a.push(h.then((_) => {
|
|
1445
|
-
_.issues.length && t.issues.push(...
|
|
1446
|
-
})) : (h.issues.length && t.issues.push(...
|
|
1445
|
+
_.issues.length && t.issues.push(...B(p, _.issues)), t.value[p] = _.value;
|
|
1446
|
+
})) : (h.issues.length && t.issues.push(...B(p, h.issues)), t.value[p] = h.value);
|
|
1447
1447
|
}
|
|
1448
1448
|
let u;
|
|
1449
1449
|
for (const p in r)
|
|
@@ -1481,8 +1481,8 @@ const kn = /* @__PURE__ */ d("$ZodRecord", (e, o) => {
|
|
|
1481
1481
|
}
|
|
1482
1482
|
const h = o.valueType._zod.run({ value: r[l], issues: [] }, n);
|
|
1483
1483
|
h instanceof Promise ? a.push(h.then((_) => {
|
|
1484
|
-
_.issues.length && t.issues.push(...
|
|
1485
|
-
})) : (h.issues.length && t.issues.push(...
|
|
1484
|
+
_.issues.length && t.issues.push(...B(l, _.issues)), t.value[u.value] = _.value;
|
|
1485
|
+
})) : (h.issues.length && t.issues.push(...B(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 Bn(e, o) {
|
|
1752
1752
|
return new e({
|
|
1753
1753
|
type: "string",
|
|
1754
1754
|
format: "emoji",
|
|
@@ -1758,7 +1758,7 @@ function Vn(e, o) {
|
|
|
1758
1758
|
});
|
|
1759
1759
|
}
|
|
1760
1760
|
// @__NO_SIDE_EFFECTS__
|
|
1761
|
-
function
|
|
1761
|
+
function Vn(e, o) {
|
|
1762
1762
|
return new e({
|
|
1763
1763
|
type: "string",
|
|
1764
1764
|
format: "nanoid",
|
|
@@ -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
|
+
}, Br = (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
|
+
}, Vr = (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, {
|
|
@@ -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__ */ Vo(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 = () => Be(e), e.exactOptional = () => ta(e), e.nullable = () => Ve(e), e.nullish = () => Be(Ve(e)), e.nonoptional = (t) => ca(e, t), e.array = () => U(e), e.or = (t) => v([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__ */ Bn($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__ */ Vn(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
|
-
Vt.init(e, o), I.init(e, o);
|
|
2676
|
-
}), Pi = /* @__PURE__ */ d("ZodCUID", (e, o) => {
|
|
2677
2675
|
Bt.init(e, o), I.init(e, o);
|
|
2676
|
+
}), Pi = /* @__PURE__ */ d("ZodCUID", (e, o) => {
|
|
2677
|
+
Vt.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 Bi = /* @__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 Vi(e) {
|
|
2738
|
+
return /* @__PURE__ */ hr(Bi, 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: Vi() }), 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 = {
|
|
@@ -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) => Br(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) => Vr(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 Be(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 Ve(e) {
|
|
2886
2886
|
return new na({
|
|
2887
2887
|
type: "nullable",
|
|
2888
2888
|
innerType: e
|
|
@@ -3525,7 +3525,7 @@ const m = v([
|
|
|
3525
3525
|
title: c().optional(),
|
|
3526
3526
|
size: b(["xs", "sm", "base", "lg"]).optional(),
|
|
3527
3527
|
disabled: f().optional()
|
|
3528
|
-
}),
|
|
3528
|
+
}), Ba = z({
|
|
3529
3529
|
children: v([c(), g(), f(), y(), m]).optional(),
|
|
3530
3530
|
// The label content — can be a string or any React node.
|
|
3531
3531
|
showOptional: f().optional(),
|
|
@@ -3538,7 +3538,7 @@ 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
|
-
}),
|
|
3541
|
+
}), Va = z({
|
|
3542
3542
|
render: v([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
3544
|
children: v([c(), g(), f(), y(), m]).optional(),
|
|
@@ -3730,6 +3730,8 @@ const m = v([
|
|
|
3730
3730
|
// When true, hovering or focusing the collapsed sidebar temporarily expands it. The `state` will be `"peeking"` during the peek. Moving away collapses it back.
|
|
3731
3731
|
animationDuration: g().optional(),
|
|
3732
3732
|
// Duration of sidebar expand/collapse animation in milliseconds.
|
|
3733
|
+
mobileBreakpoint: g().optional(),
|
|
3734
|
+
// Viewport width (in px) below which the sidebar renders as a mobile dialog sheet instead of the desktop aside rail.
|
|
3733
3735
|
children: v([c(), g(), f(), y(), m]).optional(),
|
|
3734
3736
|
// Content — typically `<Sidebar>` + main content.
|
|
3735
3737
|
className: c().optional()
|
|
@@ -3895,8 +3897,8 @@ const m = v([
|
|
|
3895
3897
|
Input: La,
|
|
3896
3898
|
InputArea: Ma,
|
|
3897
3899
|
InputGroup: Ja,
|
|
3898
|
-
Label:
|
|
3899
|
-
LayerCard:
|
|
3900
|
+
Label: Ba,
|
|
3901
|
+
LayerCard: Va,
|
|
3900
3902
|
Link: Wa,
|
|
3901
3903
|
Loader: Ga,
|
|
3902
3904
|
MenuBar: qa,
|
|
@@ -3964,8 +3966,8 @@ export {
|
|
|
3964
3966
|
La as InputPropsSchema,
|
|
3965
3967
|
_s as KUMO_COMPONENT_NAMES,
|
|
3966
3968
|
us as KumoComponentTypeSchema,
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
+
Ba as LabelPropsSchema,
|
|
3970
|
+
Va as LayerCardPropsSchema,
|
|
3969
3971
|
Wa as LinkPropsSchema,
|
|
3970
3972
|
Ga as LoaderPropsSchema,
|
|
3971
3973
|
qa as MenuBarPropsSchema,
|