@burdenoff/microfe-bigconsole 2026.1113.1 → 2026.1115.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/bigconsole/components/datasink/DataSinkCard.js +60 -58
  2. package/dist/bigconsole/components/widgets/PropertiesPanel.js +383 -380
  3. package/dist/bigconsole/components/widgets/WidgetWrapper.js +123 -121
  4. package/dist/bigconsole/context/BigConsoleContext.d.ts +2 -0
  5. package/dist/bigconsole/context/BigConsoleContext.js +14 -12
  6. package/dist/bigconsole/pages/DashboardViewPage.js +241 -239
  7. package/dist/bigconsole/pages/DashboardsPage.js +265 -262
  8. package/dist/bigconsole/pages/DataSinkViewPage.js +253 -251
  9. package/dist/bigconsole/pages/DataSinksPage.js +162 -160
  10. package/dist/bigconsole/pages/SettingsPage.js +127 -123
  11. package/dist/bigconsole/proactive/actions.d.ts +16 -0
  12. package/dist/bigconsole/proactive/actions.js +34 -0
  13. package/dist/bigconsole/proactive/activityEntity.d.ts +5 -0
  14. package/dist/bigconsole/proactive/activityEntity.js +27 -0
  15. package/dist/bigconsole/proactive/entities.d.ts +16 -0
  16. package/dist/bigconsole/proactive/entities.js +20 -0
  17. package/dist/bigconsole/proactive/index.d.ts +15 -0
  18. package/dist/bigconsole/proactive/index.js +5 -0
  19. package/dist/bigconsole/proactive/routes.d.ts +11 -0
  20. package/dist/bigconsole/proactive/routes.js +6 -0
  21. package/dist/bigconsole/types/index.d.ts +7 -0
  22. package/dist/bigconsole/utils/widgetPanelPosition.d.ts +24 -0
  23. package/dist/bigconsole/utils/widgetPanelPosition.js +24 -0
  24. package/dist/generated/wspace-operations.js +213 -19
  25. package/dist/node_modules/zod/v4/classic/errors.js +42 -0
  26. package/dist/node_modules/zod/v4/classic/parse.js +5 -0
  27. package/dist/node_modules/zod/v4/classic/schemas.js +622 -0
  28. package/dist/node_modules/zod/v4/core/api.js +427 -0
  29. package/dist/node_modules/zod/v4/core/checks.js +141 -0
  30. package/dist/node_modules/zod/v4/core/core.js +82 -0
  31. package/dist/node_modules/zod/v4/core/doc.js +27 -0
  32. package/dist/node_modules/zod/v4/core/errors.js +88 -0
  33. package/dist/node_modules/zod/v4/core/json-schema-processors.js +190 -0
  34. package/dist/node_modules/zod/v4/core/memoizer.js +186 -0
  35. package/dist/node_modules/zod/v4/core/parse.js +157 -0
  36. package/dist/node_modules/zod/v4/core/regexes.js +32 -0
  37. package/dist/node_modules/zod/v4/core/registries.js +39 -0
  38. package/dist/node_modules/zod/v4/core/schemas.js +856 -0
  39. package/dist/node_modules/zod/v4/core/to-json-schema.js +328 -0
  40. package/dist/node_modules/zod/v4/core/util.js +415 -0
  41. package/dist/node_modules/zod/v4/core/versions.js +7 -0
  42. package/dist/node_modules/zod/v4/locales/en.js +94 -0
  43. package/package.json +8 -4
@@ -0,0 +1,88 @@
1
+ import { $constructor as e } from "./core.js";
2
+ import { jsonStringifyReplacer as t } from "./util.js";
3
+ // node_modules/zod/v4/core/errors.js
4
+ function n() {
5
+ let e = this._zod;
6
+ return e.message ??= JSON.stringify(e.def, t, 2), e.message;
7
+ }
8
+ function r(e) {
9
+ this._zod.message = e;
10
+ }
11
+ var i = {
12
+ get: n,
13
+ set: r,
14
+ enumerable: !0,
15
+ configurable: !0
16
+ }, a = {
17
+ value: void 0,
18
+ enumerable: !1
19
+ }, o = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]), s = /* @__PURE__ */ e("$ZodError", (e, t) => {
20
+ e.name = "$ZodError", a.value = t, Object.defineProperty(e, "issues", a), a.value = void 0, Object.defineProperty(e, "message", i);
21
+ let n = Object.getPrototypeOf(e);
22
+ o.has(n) || (o.add(n), Object.defineProperty(n, "toString", {
23
+ configurable: !0,
24
+ enumerable: !1,
25
+ get() {
26
+ let e = () => this.message;
27
+ return Object.defineProperty(this, "toString", {
28
+ value: e,
29
+ configurable: !0,
30
+ writable: !0
31
+ }), e;
32
+ },
33
+ set(e) {
34
+ Object.defineProperty(this, "toString", {
35
+ value: e,
36
+ configurable: !0,
37
+ writable: !0
38
+ });
39
+ }
40
+ }));
41
+ });
42
+ function c(e, t, n) {
43
+ return Object.prototype.hasOwnProperty.call(e, t) || (t === "__proto__" ? Object.defineProperty(e, t, {
44
+ value: n(),
45
+ writable: !0,
46
+ enumerable: !0,
47
+ configurable: !0
48
+ }) : e[t] = n()), e[t];
49
+ }
50
+ function l(e, t = (e) => e.message) {
51
+ let n = {}, r = [];
52
+ for (let i of e.issues) i.path.length > 0 ? c(n, i.path[0], () => []).push(t(i)) : r.push(t(i));
53
+ return {
54
+ formErrors: r,
55
+ fieldErrors: n
56
+ };
57
+ }
58
+ function u(e, t = (e) => e.message) {
59
+ let n = { _errors: [] }, r = (e, i = []) => {
60
+ for (let a of e.issues) if (a.code === "invalid_union" && a.errors.length) a.errors.map((e) => r({ issues: e }, [...i, ...a.path]));
61
+ else if (a.code === "invalid_key") r({ issues: a.issues }, [...i, ...a.path]);
62
+ else if (a.code === "invalid_element") r({ issues: a.issues }, [...i, ...a.path]);
63
+ else {
64
+ let e = [...i, ...a.path];
65
+ if (e.length === 0) n._errors.push(t(a));
66
+ else {
67
+ let r = n, i = 0;
68
+ for (; i < e.length;) {
69
+ let n = e[i], o = i === e.length - 1;
70
+ if (n === "_errors") {
71
+ o && r._errors.push(t(a)), i++;
72
+ continue;
73
+ }
74
+ Object.prototype.hasOwnProperty.call(r, n) || Object.defineProperty(r, n, {
75
+ value: { _errors: [] },
76
+ enumerable: !0,
77
+ writable: !0,
78
+ configurable: !0
79
+ });
80
+ let s = r[n];
81
+ o && s._errors.push(t(a)), r = s, i++;
82
+ }
83
+ }
84
+ }
85
+ };
86
+ return r(e), n;
87
+ }
88
+ export { s as $ZodError, l as flattenError, u as formatError };
@@ -0,0 +1,190 @@
1
+ import { base64 as e, base64url as t } from "./regexes.js";
2
+ import { base64Charset as n, base64urlCharset as r } from "./schemas.js";
3
+ import { handleUnrepresentable as i, process as a } from "./to-json-schema.js";
4
+ import { BIGINT_FORMAT_RANGES as o, NUMBER_FORMAT_RANGES as s, assignProp as c, getEnumValues as l } from "./util.js";
5
+ // node_modules/zod/v4/core/json-schema-processors.js
6
+ var u = (e, t, n) => {
7
+ (e[t] === void 0 || n > e[t]) && (e[t] = n);
8
+ }, d = (e, t, n) => {
9
+ (e[t] === void 0 || n < e[t]) && (e[t] = n);
10
+ }, f = (e, t) => {
11
+ u(e, "minimum", t), d(e, "maximum", t);
12
+ }, p = (e, t) => {
13
+ e.multipleOf ??= [], e.multipleOf.includes(t) || e.multipleOf.push(t);
14
+ }, m = (e, t) => {
15
+ e.patterns ??= /* @__PURE__ */ new Set(), e.patterns.add(t);
16
+ }, h = (e, t) => {
17
+ e.mime = e.mime ? e.mime.filter((e) => t.includes(e)) : [...t];
18
+ }, g = (e, t) => {
19
+ e.format = t, t.includes("int") && (e.isInt = !0);
20
+ }, _ = (e, t) => u(e, "minimum", t.minimum), v = (e, t) => d(e, "maximum", t.maximum), y = (e) => (t, n) => {
21
+ g(t, n.format);
22
+ let [r, i] = e[n.format];
23
+ u(t, "minimum", r), d(t, "maximum", i);
24
+ }, b = {
25
+ greater_than: (e, t) => u(e, t.inclusive ? "minimum" : "exclusiveMinimum", t.value),
26
+ less_than: (e, t) => d(e, t.inclusive ? "maximum" : "exclusiveMaximum", t.value),
27
+ multiple_of: (e, t) => p(e, t.value),
28
+ number_format: y(s),
29
+ bigint_format: y(o),
30
+ min_length: _,
31
+ max_length: v,
32
+ length_equals: (e, t) => f(e, t.length),
33
+ min_size: _,
34
+ max_size: v,
35
+ size_equals: (e, t) => f(e, t.size),
36
+ string_format: (e, t) => {
37
+ g(e, t.format), t.pattern && m(e, t.pattern), (t.format === "base64" || t.format === "base64url") && (e.contentEncoding = t.format), (t.local || t.precision === -1) && (e.laxFormat = !0);
38
+ },
39
+ mime_type: (e, t) => h(e, t.mime)
40
+ };
41
+ function x(e) {
42
+ let t = {}, n = e._zod.def, r = e._zod.traits.has("$ZodCheck") ? [e, ...n.checks ?? []] : n.checks ?? [];
43
+ for (let e of r) b[e._zod.def.check]?.(t, e._zod.def);
44
+ let i = e._zod.bag;
45
+ i.minimum !== void 0 && u(t, "minimum", i.minimum), i.exclusiveMinimum !== void 0 && u(t, "exclusiveMinimum", i.exclusiveMinimum), i.maximum !== void 0 && d(t, "maximum", i.maximum), i.exclusiveMaximum !== void 0 && d(t, "exclusiveMaximum", i.exclusiveMaximum), i.multipleOf !== void 0 && p(t, i.multipleOf), i.format !== void 0 && (t.format ??= i.format, i.format.includes("int") && (t.isInt = !0)), i.mime && h(t, i.mime);
46
+ for (let e of i.patterns ?? []) m(t, e);
47
+ return t;
48
+ }
49
+ var S = {
50
+ guid: "uuid",
51
+ url: "uri",
52
+ datetime: "date-time",
53
+ json_string: "json-string",
54
+ regex: ""
55
+ }, C = /* @__PURE__ */ new Map([[n, e], [r, t]]), w = (e) => C.get(e) ?? e, T = (e, t, n, r) => {
56
+ let i = n;
57
+ i.type = "string";
58
+ let { minimum: a, maximum: o, format: s, patterns: c, contentEncoding: l, laxFormat: u } = x(e);
59
+ if (typeof a == "number" && (i.minLength = a), typeof o == "number" && (i.maxLength = o), s && (i.format = S[s] ?? s, i.format === "" && delete i.format, (s === "time" || u) && delete i.format), l && (i.contentEncoding = l), c && c.size > 0) {
60
+ let e = [...c].map(w);
61
+ e.length === 1 ? i.pattern = e[0].source : e.length > 1 && (i.allOf = [...e.map((e) => ({
62
+ ...t.target === "draft-07" || t.target === "draft-04" || t.target === "openapi-3.0" ? { type: "string" } : {},
63
+ pattern: e.source
64
+ }))]);
65
+ }
66
+ }, E = (e, t, n, r) => {
67
+ n.not = {};
68
+ }, D = (e, t, n, r) => {}, O = (e, t, n, r) => {
69
+ let i = e._zod.def, a = l(i.entries);
70
+ a.length === 0 ? n.not = {} : (a.every((e) => typeof e == "number") && (n.type = "number"), a.every((e) => typeof e == "string") && (n.type = "string"), n.enum = a);
71
+ }, k = (e, t, n, r) => {
72
+ i(e, t, n, r, "Custom types cannot be represented in JSON Schema");
73
+ }, A = (e, t, n, r) => {
74
+ i(e, t, n, r, "Transforms cannot be represented in JSON Schema");
75
+ }, j = (e, t, n, r) => {
76
+ let i = n, o = e._zod.def, { minimum: s, maximum: c } = x(e);
77
+ typeof s == "number" && (i.minItems = s), typeof c == "number" && (i.maxItems = c), i.type = "array", i.items = a(o.element, t, {
78
+ ...r,
79
+ path: [...r.path, "items"]
80
+ });
81
+ };
82
+ function M(e) {
83
+ let t = e._zod.def;
84
+ return t.type === "pipe" && t.in._zod.traits.has("$ZodTransform") ? M(t.out) : t.type === "catch" ? M(t.innerType) : e._zod.optin;
85
+ }
86
+ var N = (e, t, n, r) => {
87
+ let o = n, s = e._zod.def, l = s.shape;
88
+ if (Object.getOwnPropertySymbols(l).length && i(e, t, o, r, "Symbol keys cannot be represented in JSON Schema")) return;
89
+ o.type = "object", o.properties = {};
90
+ for (let e in l) c(o.properties, e, a(l[e], t, {
91
+ ...r,
92
+ path: [
93
+ ...r.path,
94
+ "properties",
95
+ e
96
+ ]
97
+ }));
98
+ let u = [];
99
+ for (let e of Object.keys(l)) {
100
+ let n = s.shape[e];
101
+ (t.io === "input" ? M(n) === void 0 : n._zod.optout === void 0) && u.push(e);
102
+ }
103
+ u.length > 0 && (o.required = u), s.catchall?._zod.def.type === "never" ? o.additionalProperties = !1 : s.catchall ? s.catchall && (o.additionalProperties = a(s.catchall, t, {
104
+ ...r,
105
+ path: [...r.path, "additionalProperties"]
106
+ })) : t.io === "output" && (o.additionalProperties = !1);
107
+ }, P = (e, t, n, r) => {
108
+ let i = e._zod.def, o = i.inclusive === !1, s = i.options.map((e, n) => a(e, t, {
109
+ ...r,
110
+ path: [
111
+ ...r.path,
112
+ o ? "oneOf" : "anyOf",
113
+ n
114
+ ]
115
+ }));
116
+ o ? n.oneOf = s : n.anyOf = s;
117
+ }, F = (e, t, n, r) => {
118
+ let i = e._zod.def, o = a(i.left, t, {
119
+ ...r,
120
+ path: [
121
+ ...r.path,
122
+ "allOf",
123
+ 0
124
+ ]
125
+ }), s = a(i.right, t, {
126
+ ...r,
127
+ path: [
128
+ ...r.path,
129
+ "allOf",
130
+ 1
131
+ ]
132
+ }), c = (e) => "allOf" in e && Object.keys(e).length === 1, l = [...c(o) ? o.allOf : [o], ...c(s) ? s.allOf : [s]];
133
+ n.allOf = l, t.intersections.push(l);
134
+ }, I = (e, t, n, r) => {
135
+ let i = e._zod.def, o = a(i.innerType, t, r), s = t.seen.get(e);
136
+ t.target === "openapi-3.0" ? (s.ref = i.innerType, n.nullable = !0) : n.anyOf = [o, { type: "null" }];
137
+ }, L = (e, t, n, r) => {
138
+ let i = e._zod.def;
139
+ a(i.innerType, t, r);
140
+ let o = t.seen.get(e);
141
+ o.ref = i.innerType;
142
+ }, R = Symbol();
143
+ function z(e, t, n, r, a) {
144
+ let o = !1, s = JSON.stringify(e, (e, t) => typeof t == "bigint" ? (o = !0, null) : t);
145
+ return o ? (i(t, n, r, a, "BigInt defaults cannot be represented in JSON Schema"), R) : JSON.parse(s);
146
+ }
147
+ var B = (e, t, n, r) => {
148
+ let i = e._zod.def;
149
+ a(i.innerType, t, r);
150
+ let o = t.seen.get(e);
151
+ o.ref = i.innerType;
152
+ let s = z(i.defaultValue, e, t, n, r);
153
+ s !== R && (n.default = s);
154
+ }, V = (e, t, n, r) => {
155
+ let i = e._zod.def;
156
+ a(i.innerType, t, r);
157
+ let o = t.seen.get(e);
158
+ if (o.ref = i.innerType, t.io !== "input") return;
159
+ let s = z(i.defaultValue, e, t, n, r);
160
+ s !== R && (n._prefault = s);
161
+ }, H = (e, t, n, r) => {
162
+ let o = e._zod.def;
163
+ a(o.innerType, t, r);
164
+ let s = t.seen.get(e);
165
+ s.ref = o.innerType;
166
+ let c;
167
+ try {
168
+ c = o.catchValue(void 0);
169
+ } catch {
170
+ i(e, t, n, r, "Dynamic catch values are not supported in JSON Schema");
171
+ return;
172
+ }
173
+ n.default = c;
174
+ }, U = (e, t, n, r) => {
175
+ let i = e._zod.def, o = i.in._zod.traits.has("$ZodTransform"), s = t.io === "input" ? o ? i.out : i.in : i.out;
176
+ a(s, t, r);
177
+ let c = t.seen.get(e);
178
+ c.ref = s;
179
+ }, W = (e, t, n, r) => {
180
+ let i = e._zod.def;
181
+ a(i.innerType, t, r);
182
+ let o = t.seen.get(e);
183
+ o.ref = i.innerType, n.readOnly = !0;
184
+ }, G = (e, t, n, r) => {
185
+ let i = e._zod.def;
186
+ a(i.innerType, t, r);
187
+ let o = t.seen.get(e);
188
+ o.ref = i.innerType;
189
+ };
190
+ export { x as aggregateChecks, j as arrayProcessor, H as catchProcessor, k as customProcessor, B as defaultProcessor, O as enumProcessor, F as intersectionProcessor, E as neverProcessor, L as nonoptionalProcessor, I as nullableProcessor, N as objectProcessor, G as optionalProcessor, U as pipeProcessor, V as prefaultProcessor, W as readonlyProcessor, T as stringProcessor, A as transformProcessor, P as unionProcessor, D as unknownProcessor };
@@ -0,0 +1,186 @@
1
+ import { rawShape as e } from "./util.js";
2
+ // node_modules/zod/v4/core/memoizer.js
3
+ var t = class extends Error {
4
+ constructor() {
5
+ super("Cannot parse a reference cycle that closes through a transform"), this.name = "ZodCyclicError";
6
+ }
7
+ }, n = "~memo", r = [];
8
+ function i(e) {
9
+ return typeof e == "object" && !!e;
10
+ }
11
+ function a(e) {
12
+ return e.map((e) => e.path ? {
13
+ ...e,
14
+ path: e.path.slice()
15
+ } : { ...e });
16
+ }
17
+ var o = /*@__PURE__*/ new WeakMap(), s = 0, c = 1, l = 2;
18
+ function u(t, n, r) {
19
+ let i = o.get(t);
20
+ if (i !== void 0) return i ? l : s;
21
+ if (n.has(t)) return l;
22
+ n.add(t);
23
+ let a = s, f = (e) => {
24
+ if (a !== l && e?._zod) {
25
+ let t = u(e, n, r);
26
+ t > a && (a = t);
27
+ }
28
+ }, p = (e, t) => {
29
+ let i = s;
30
+ for (let a of Reflect.ownKeys(e)) {
31
+ let o = Object.getOwnPropertyDescriptor(e, a);
32
+ if (t && !o.enumerable) continue;
33
+ let l = o.get ? c : o.value?._zod ? u(o.value, n, r) : s;
34
+ l > i && (i = l);
35
+ }
36
+ return i;
37
+ }, m = (e) => {
38
+ e > a && (a = e);
39
+ }, h = t._zod.def;
40
+ switch (h.type) {
41
+ case "object": {
42
+ let t = e(h);
43
+ m(t ? p(t, !0) : c), f(h.catchall);
44
+ break;
45
+ }
46
+ case "array":
47
+ f(h.element);
48
+ break;
49
+ case "tuple":
50
+ for (let e of h.items) f(e);
51
+ f(h.rest);
52
+ break;
53
+ case "record":
54
+ case "map":
55
+ f(h.keyType), f(h.valueType);
56
+ break;
57
+ case "set":
58
+ f(h.valueType);
59
+ break;
60
+ case "union":
61
+ for (let e of h.options) f(e);
62
+ break;
63
+ case "intersection":
64
+ f(h.left), f(h.right);
65
+ break;
66
+ case "optional":
67
+ case "nullable":
68
+ case "default":
69
+ case "prefault":
70
+ case "catch":
71
+ case "readonly":
72
+ case "nonoptional":
73
+ case "promise":
74
+ case "success":
75
+ f(h.innerType);
76
+ break;
77
+ case "pipe":
78
+ f(h.in), f(h.out);
79
+ break;
80
+ case "function":
81
+ f(h.input), f(h.output);
82
+ break;
83
+ case "lazy": {
84
+ let e = h._cachedInner ?? (r ? t._zod.innerType : void 0);
85
+ m(e ? u(e, n, !1) : c);
86
+ break;
87
+ }
88
+ case "template_literal":
89
+ case "string":
90
+ case "number":
91
+ case "int":
92
+ case "boolean":
93
+ case "bigint":
94
+ case "symbol":
95
+ case "undefined":
96
+ case "null":
97
+ case "void":
98
+ case "never":
99
+ case "any":
100
+ case "unknown":
101
+ case "date":
102
+ case "nan":
103
+ case "enum":
104
+ case "literal":
105
+ case "file":
106
+ case "transform":
107
+ case "custom": break;
108
+ default: for (let e in h) {
109
+ let t = Object.getOwnPropertyDescriptor(h, e);
110
+ if (!t || t.get) continue;
111
+ let n = t.value;
112
+ if (n && typeof n == "object") {
113
+ if (n._zod) f(n);
114
+ else if (Array.isArray(n)) for (let e of n) f(e);
115
+ }
116
+ }
117
+ }
118
+ return n.delete(t), d(t, a);
119
+ }
120
+ function d(e, t) {
121
+ return t !== c && o.set(e, t === l), t;
122
+ }
123
+ function f(e, t) {
124
+ let n = e.buckets.get(t);
125
+ return n || (n = /* @__PURE__ */ new WeakMap(), e.buckets.set(t, n)), n;
126
+ }
127
+ var p, m = [], h = {
128
+ alloc(e, t, n) {
129
+ let r = p;
130
+ if (!r) return n;
131
+ p = void 0;
132
+ let i = {
133
+ value: n,
134
+ issues: null
135
+ };
136
+ return r.set(t.value, i), m.push(i), n;
137
+ },
138
+ guard(e) {
139
+ var n;
140
+ (n = e._zod).deferred ?? (n.deferred = []), e._zod.deferred.push(() => {
141
+ let n = e._zod.parse, r = (e, r) => {
142
+ if (r.direction !== "backward" && _(r, e.value)) throw new t();
143
+ return n(e, r);
144
+ };
145
+ e._zod.parse = r, e._zod.run === n && (e._zod.run = r);
146
+ });
147
+ },
148
+ attach(e) {
149
+ var t;
150
+ let o, c = !1, d, h;
151
+ (t = e._zod).deferred ?? (t.deferred = []), e._zod.deferred.push(() => {
152
+ let t = e._zod.parse, g = (_, v) => {
153
+ if (o === void 0) {
154
+ let n = u(e, /* @__PURE__ */ new Set(), !1);
155
+ if (n === s) return e._zod.parse = t, e._zod.run === g && (e._zod.run = t), t(_, v);
156
+ n === l || c ? o = !0 : c = !0;
157
+ }
158
+ let y = _.value;
159
+ if (!i(y)) return t(_, v);
160
+ let b = v[n];
161
+ b || (b = {
162
+ buckets: /* @__PURE__ */ new WeakMap(),
163
+ backEdges: void 0
164
+ }, v[n] = b);
165
+ let x;
166
+ d === v ? x = h : (x = f(b, e), d = v, h = x);
167
+ let S = x.get(y);
168
+ if (S) return _.value = S.value, S.issues ? S.issues.length && _.issues.push(...a(S.issues)) : (_.memo = !0, b.backEdges ?? (b.backEdges = /* @__PURE__ */ new WeakSet()), b.backEdges.add(S.value)), _;
169
+ p = x;
170
+ let C = m.length, w = t(_, v);
171
+ p = void 0;
172
+ let T = m.length > C ? m.pop() : void 0;
173
+ return w instanceof Promise ? w.then((e) => (T && (T.issues = e.issues.length ? a(e.issues) : r), e)) : (T && (T.issues = w.issues.length ? a(w.issues) : r), w);
174
+ };
175
+ e._zod.parse = g, e._zod.run === t && (e._zod.run = g);
176
+ });
177
+ }
178
+ };
179
+ function g() {
180
+ return h;
181
+ }
182
+ function _(e, t) {
183
+ let r = e[n]?.backEdges;
184
+ return r !== void 0 && i(t) && r.has(t);
185
+ }
186
+ export { t as $ZodCyclicError, _ as isBackEdge, g as memoizer };
@@ -0,0 +1,157 @@
1
+ import { $ZodAsyncError as e, config as t } from "./core.js";
2
+ import { captureStackTrace as n, finalizeIssue as r } from "./util.js";
3
+ // node_modules/zod/v4/core/parse.js
4
+ function i(e, t) {
5
+ return {
6
+ callee: t?.callee ?? e,
7
+ Err: t?.Err
8
+ };
9
+ }
10
+ var a = (i) => {
11
+ let a = (o, s, c, l) => {
12
+ let u = c ? {
13
+ ...c,
14
+ async: !1
15
+ } : { async: !1 }, d = o._zod.run({
16
+ value: s,
17
+ issues: []
18
+ }, u);
19
+ if (d instanceof Promise) throw new e();
20
+ if (d.issues.length) {
21
+ let e = new ((l?.Err) ?? i)(d.issues.map((e) => r(e, u, t())));
22
+ throw n(e, l?.callee ?? a), e;
23
+ }
24
+ return d.value;
25
+ };
26
+ return a;
27
+ }, o = (e) => {
28
+ let i = async (a, o, s, c) => {
29
+ let l = s ? {
30
+ ...s,
31
+ async: !0
32
+ } : { async: !0 }, u = a._zod.run({
33
+ value: o,
34
+ issues: []
35
+ }, l);
36
+ if (u instanceof Promise && (u = await u), u.issues.length) {
37
+ let a = new ((c?.Err) ?? e)(u.issues.map((e) => r(e, l, t())));
38
+ throw n(a, c?.callee ?? i), a;
39
+ }
40
+ return u.value;
41
+ };
42
+ return i;
43
+ }, s = (t) => (n, r, i) => {
44
+ let a = i ? {
45
+ ...i,
46
+ async: !1
47
+ } : { async: !1 }, o = n._zod.run({
48
+ value: r,
49
+ issues: []
50
+ }, a);
51
+ if (o instanceof Promise) throw new e();
52
+ return o.issues.length ? c(t, o.issues, a) : {
53
+ success: !0,
54
+ data: o.value
55
+ };
56
+ };
57
+ function c(e, n, i) {
58
+ let a;
59
+ return {
60
+ success: !1,
61
+ get error() {
62
+ return a || (a = new e(n.map((e) => r(e, i, t()))), n = void 0, i = void 0), a;
63
+ },
64
+ set error(e) {
65
+ a = e, n = void 0, i = void 0;
66
+ }
67
+ };
68
+ }
69
+ var l = (e) => async (t, n, r) => {
70
+ let i = r ? {
71
+ ...r,
72
+ async: !0
73
+ } : { async: !0 }, a = t._zod.run({
74
+ value: n,
75
+ issues: []
76
+ }, i);
77
+ return a instanceof Promise && (a = await a), a.issues.length ? c(e, a.issues, i) : {
78
+ success: !0,
79
+ data: a.value
80
+ };
81
+ }, u = /* @__PURE__ */ Symbol.for("zod.compile.invalid"), d = /* @__PURE__ */ Symbol.for("zod.compile.fallback"), f = ((e, t, n) => {
82
+ let r = e._zod.bag.validator;
83
+ if (r !== void 0) {
84
+ if (r(t) !== u) return !0;
85
+ if (r.definite === !0 && n === void 0) return !1;
86
+ }
87
+ return p(e, t, n);
88
+ });
89
+ function p(t, n, r) {
90
+ let i = r ? {
91
+ ...r,
92
+ async: !1,
93
+ abortEarly: !0
94
+ } : {
95
+ async: !1,
96
+ abortEarly: !0
97
+ }, a = t._zod.bag.fallbackRun, o;
98
+ if (a ? (i[d] = !0, o = a({
99
+ value: n,
100
+ issues: []
101
+ }, i)) : o = t._zod.run({
102
+ value: n,
103
+ issues: []
104
+ }, i), o instanceof Promise) throw new e();
105
+ return o.issues.length === 0;
106
+ }
107
+ var m = async (e, t, n) => {
108
+ let r = n ? {
109
+ ...n,
110
+ async: !0,
111
+ abortEarly: !0
112
+ } : {
113
+ async: !0,
114
+ abortEarly: !0
115
+ }, i = e._zod.run({
116
+ value: t,
117
+ issues: []
118
+ }, r);
119
+ return i instanceof Promise && (i = await i), i.issues.length === 0;
120
+ }, h = (e) => {
121
+ let t = a(e), n = (e, r, a, o) => {
122
+ let s = a ? {
123
+ ...a,
124
+ direction: "backward"
125
+ } : { direction: "backward" };
126
+ return t(e, r, s, i(n, o));
127
+ };
128
+ return n;
129
+ }, g = (e) => {
130
+ let t = a(e), n = (e, r, a, o) => t(e, r, a, i(n, o));
131
+ return n;
132
+ }, _ = (e) => {
133
+ let t = o(e), n = async (e, r, a, o) => {
134
+ let s = a ? {
135
+ ...a,
136
+ direction: "backward"
137
+ } : { direction: "backward" };
138
+ return await t(e, r, s, i(n, o));
139
+ };
140
+ return n;
141
+ }, v = (e) => {
142
+ let t = o(e), n = async (e, r, a, o) => await t(e, r, a, i(n, o));
143
+ return n;
144
+ }, y = (e) => (t, n, r) => {
145
+ let i = r ? {
146
+ ...r,
147
+ direction: "backward"
148
+ } : { direction: "backward" };
149
+ return s(e)(t, n, i);
150
+ }, b = (e) => (t, n, r) => s(e)(t, n, r), x = (e) => async (t, n, r) => {
151
+ let i = r ? {
152
+ ...r,
153
+ direction: "backward"
154
+ } : { direction: "backward" };
155
+ return l(e)(t, n, i);
156
+ }, S = (e) => async (t, n, r) => l(e)(t, n, r);
157
+ export { g as _decode, v as _decodeAsync, h as _encode, _ as _encodeAsync, a as _parse, o as _parseAsync, b as _safeDecode, S as _safeDecodeAsync, y as _safeEncode, x as _safeEncodeAsync, s as _safeParse, l as _safeParseAsync, f as validate, m as validateAsync };
@@ -0,0 +1,32 @@
1
+ // node_modules/zod/v4/core/regexes.js
2
+ var e = /^[cC][0-9a-z]{6,}$/, t = /^[0-9a-z]+$/, n = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/, r = /^[0-9a-vA-V]{20}$/, i = /^[A-Za-z0-9]{27}$/, a = /^[a-zA-Z0-9_-]{21}$/;
3
+ function o(e) {
4
+ return RegExp(`^[a-zA-Z0-9_-]{${e}}$`);
5
+ }
6
+ var s = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, c = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, l = (e) => e ? RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, u = /^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, d = "^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";
7
+ function f() {
8
+ return new RegExp(d, "u");
9
+ }
10
+ var p = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, m = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/, h = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/, g = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, _ = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, v = /^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/, y = /^https?$/, b = /^\+[1-9]\d{6,14}$/, x = "(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))";
11
+ function S(e) {
12
+ return RegExp(`^${e}$`);
13
+ }
14
+ var C = /*@__PURE__*/ S(x);
15
+ function w(e) {
16
+ let t = "(?:[01]\\d|2[0-3]):[0-5]\\d";
17
+ return typeof e.precision == "number" ? e.precision === -1 ? `${t}` : e.precision === 0 ? `${t}:[0-5]\\d` : `${t}:[0-5]\\d\\.\\d{${e.precision}}` : e.seconds ? `${t}:[0-5]\\d(?:\\.\\d+)?` : `${t}(?::[0-5]\\d(?:\\.\\d+)?)?`;
18
+ }
19
+ function T(e) {
20
+ return RegExp(`^${w(e)}$`);
21
+ }
22
+ function E(e) {
23
+ let t = ["Z"];
24
+ e.offset && t.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");
25
+ let n = `${w({
26
+ precision: e.precision,
27
+ seconds: !0
28
+ })}(?:${t.join("|")})`, r = e.local ? `${n}|${w({ precision: e.precision })}` : n;
29
+ return RegExp(`^${x}T(?:${r})$`);
30
+ }
31
+ var D = /^[\s\S]{0,}$/, O = /^[^A-Z]*$/, k = /^[^a-z]*$/;
32
+ export { D as anyString, _ as base64, v as base64url, h as cidrv4, g as cidrv6, e as cuid, t as cuid2, C as date, E as datetime, s as duration, b as e164, u as email, f as emoji, c as guid, y as httpProtocol, p as ipv4, m as ipv6, i as ksuid, O as lowercase, a as nanoid, o as nanoidOfLength, T as time, n as ulid, k as uppercase, l as uuid, r as xid };
@@ -0,0 +1,39 @@
1
+ // node_modules/zod/v4/core/registries.js
2
+ var e, t = class {
3
+ constructor() {
4
+ this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map();
5
+ }
6
+ add(e, ...t) {
7
+ let n = t[0];
8
+ return this._map.set(e, n), n && typeof n == "object" && "id" in n && this._idmap.set(n.id, e), this;
9
+ }
10
+ clear() {
11
+ return this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map(), this;
12
+ }
13
+ remove(e) {
14
+ let t = this._map.get(e);
15
+ return t && typeof t == "object" && "id" in t && this._idmap.delete(t.id), this._map.delete(e), this;
16
+ }
17
+ get(e) {
18
+ let t = e._zod.parent;
19
+ if (t) {
20
+ let n = { ...this.get(t) ?? {} };
21
+ delete n.id;
22
+ let r = {
23
+ ...n,
24
+ ...this._map.get(e)
25
+ };
26
+ return Object.keys(r).length ? r : void 0;
27
+ }
28
+ return this._map.get(e);
29
+ }
30
+ has(e) {
31
+ return this._map.has(e);
32
+ }
33
+ };
34
+ function n() {
35
+ return new t();
36
+ }
37
+ (e = globalThis).__zod_globalRegistry ?? (e.__zod_globalRegistry = n());
38
+ var r = globalThis.__zod_globalRegistry;
39
+ export { t as $ZodRegistry, r as globalRegistry, n as registry };