@burdenoff/microfe-bigconsole 2026.1112.2 → 2026.1113.2

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 (40) hide show
  1. package/dist/bigconsole/components/datasink/DataSinkCard.js +60 -58
  2. package/dist/bigconsole/components/widgets/WidgetWrapper.js +123 -121
  3. package/dist/bigconsole/context/BigConsoleContext.d.ts +2 -0
  4. package/dist/bigconsole/context/BigConsoleContext.js +14 -12
  5. package/dist/bigconsole/pages/DashboardViewPage.js +241 -239
  6. package/dist/bigconsole/pages/DashboardsPage.js +265 -262
  7. package/dist/bigconsole/pages/DataSinkViewPage.js +253 -251
  8. package/dist/bigconsole/pages/DataSinksPage.js +162 -160
  9. package/dist/bigconsole/pages/SettingsPage.js +127 -123
  10. package/dist/bigconsole/proactive/actions.d.ts +16 -0
  11. package/dist/bigconsole/proactive/actions.js +34 -0
  12. package/dist/bigconsole/proactive/activityEntity.d.ts +5 -0
  13. package/dist/bigconsole/proactive/activityEntity.js +27 -0
  14. package/dist/bigconsole/proactive/entities.d.ts +16 -0
  15. package/dist/bigconsole/proactive/entities.js +20 -0
  16. package/dist/bigconsole/proactive/index.d.ts +15 -0
  17. package/dist/bigconsole/proactive/index.js +5 -0
  18. package/dist/bigconsole/proactive/routes.d.ts +11 -0
  19. package/dist/bigconsole/proactive/routes.js +6 -0
  20. package/dist/bigconsole/types/index.d.ts +7 -0
  21. package/dist/generated/wspace-operations.js +213 -19
  22. package/dist/node_modules/zod/v4/classic/errors.js +42 -0
  23. package/dist/node_modules/zod/v4/classic/parse.js +5 -0
  24. package/dist/node_modules/zod/v4/classic/schemas.js +622 -0
  25. package/dist/node_modules/zod/v4/core/api.js +427 -0
  26. package/dist/node_modules/zod/v4/core/checks.js +141 -0
  27. package/dist/node_modules/zod/v4/core/core.js +82 -0
  28. package/dist/node_modules/zod/v4/core/doc.js +27 -0
  29. package/dist/node_modules/zod/v4/core/errors.js +88 -0
  30. package/dist/node_modules/zod/v4/core/json-schema-processors.js +190 -0
  31. package/dist/node_modules/zod/v4/core/memoizer.js +186 -0
  32. package/dist/node_modules/zod/v4/core/parse.js +157 -0
  33. package/dist/node_modules/zod/v4/core/regexes.js +32 -0
  34. package/dist/node_modules/zod/v4/core/registries.js +39 -0
  35. package/dist/node_modules/zod/v4/core/schemas.js +856 -0
  36. package/dist/node_modules/zod/v4/core/to-json-schema.js +328 -0
  37. package/dist/node_modules/zod/v4/core/util.js +415 -0
  38. package/dist/node_modules/zod/v4/core/versions.js +7 -0
  39. package/dist/node_modules/zod/v4/locales/en.js +94 -0
  40. package/package.json +8 -4
@@ -0,0 +1,328 @@
1
+ import { globalRegistry as e } from "./registries.js";
2
+ import { assignProp as t } from "./util.js";
3
+ // node_modules/zod/v4/core/to-json-schema.js
4
+ function n(e, ...n) {
5
+ for (let r of n) for (let n of Reflect.ownKeys(r)) Object.prototype.propertyIsEnumerable.call(r, n) && t(e, n, r[n]);
6
+ return e;
7
+ }
8
+ function r(t) {
9
+ let n = t?.target ?? "draft-2020-12";
10
+ return n === "draft-4" && (n = "draft-04"), n === "draft-7" && (n = "draft-07"), {
11
+ processors: t.processors ?? {},
12
+ metadataRegistry: t?.metadata ?? e,
13
+ target: n,
14
+ unrepresentable: t?.unrepresentable ?? "throw",
15
+ override: t?.override ?? (() => {}),
16
+ io: t?.io ?? "output",
17
+ counter: 0,
18
+ seen: /* @__PURE__ */ new Map(),
19
+ sharedDefsExtractedFor: void 0,
20
+ sharedEmitDoneFor: void 0,
21
+ cycles: t?.cycles ?? "ref",
22
+ reused: t?.reused ?? "inline",
23
+ intersections: [],
24
+ deferred: [],
25
+ external: t?.external ?? void 0
26
+ };
27
+ }
28
+ function i(e, t, n, r, i) {
29
+ let a = typeof t.unrepresentable == "function" ? t.unrepresentable({
30
+ zodSchema: e,
31
+ path: r.path,
32
+ message: i
33
+ }) : t.unrepresentable;
34
+ if (a === "any") return !1;
35
+ if (a === void 0 || a === "throw") throw Error(i);
36
+ return Object.assign(n, a), !0;
37
+ }
38
+ function a(e, t, r = {
39
+ path: [],
40
+ schemaPath: []
41
+ }) {
42
+ var i;
43
+ let o = e._zod.def, s = t.seen.get(e);
44
+ if (s) return s.count++, r.schemaPath.includes(e) && (s.cycle = r.path), s.schema;
45
+ let c = {
46
+ schema: {},
47
+ count: 1,
48
+ cycle: void 0,
49
+ path: r.path
50
+ };
51
+ t.seen.set(e, c), t.sharedDefsExtractedFor = void 0, t.sharedEmitDoneFor = void 0;
52
+ let l = e._zod.toJSONSchema?.();
53
+ if (l) c.schema = l;
54
+ else {
55
+ let n = {
56
+ ...r,
57
+ schemaPath: [...r.schemaPath, e],
58
+ path: r.path
59
+ };
60
+ if (e._zod.processJSONSchema) e._zod.processJSONSchema(t, c.schema, n);
61
+ else {
62
+ let r = c.schema, i = t.processors[o.type];
63
+ if (!i) throw Error(`[toJSONSchema]: Non-representable type encountered: ${o.type}`);
64
+ i(e, t, r, n);
65
+ }
66
+ let i = e._zod.parent;
67
+ i && (c.ref ||= i, a(i, t, n), t.seen.get(i).isParent = !0);
68
+ }
69
+ let u = t.metadataRegistry.get(e);
70
+ return u && n(c.schema, u), t.io === "input" && h(e) && (delete c.schema.examples, delete c.schema.default), t.io === "input" && "_prefault" in c.schema && ((i = c.schema).default ?? (i.default = c.schema._prefault)), delete c.schema._prefault, t.seen.get(e).schema;
71
+ }
72
+ function o(e) {
73
+ return e.replace(/~/g, "~0").replace(/\//g, "~1");
74
+ }
75
+ function s(e, t) {
76
+ let n = e.seen.get(t);
77
+ if (!n) throw Error("Unprocessed schema. This is a bug in Zod.");
78
+ if (e.external && e.sharedDefsExtractedFor === e.external) return;
79
+ let r = /* @__PURE__ */ new Map();
80
+ for (let t of e.seen.entries()) {
81
+ let n = e.metadataRegistry.get(t[0])?.id;
82
+ if (n) {
83
+ let e = r.get(n);
84
+ if (e && e !== t[0]) throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);
85
+ r.set(n, t[0]);
86
+ }
87
+ }
88
+ let i = (t) => {
89
+ let r = e.target === "draft-2020-12" ? "$defs" : "definitions";
90
+ if (e.external) {
91
+ let n = e.external.registry.get(t[0])?.id, i = e.external.uri ?? ((e) => e);
92
+ if (n) return { ref: i(n) };
93
+ let a = t[1].defId ?? t[1].schema.id ?? `schema${e.counter++}`;
94
+ return t[1].defId = a, {
95
+ defId: a,
96
+ ref: `${i("__shared")}#/${r}/${o(a)}`
97
+ };
98
+ }
99
+ let i = `#/${r}/`;
100
+ if (t[1] === n && !t[1].schema.id) return { ref: "#" };
101
+ let a = t[1].schema.id ?? `__schema${e.counter++}`;
102
+ return {
103
+ defId: a,
104
+ ref: i + o(a)
105
+ };
106
+ }, a = (e) => {
107
+ if (e[1].schema.$ref) return;
108
+ let t = e[1], { ref: n, defId: r } = i(e);
109
+ t.def = { ...t.schema }, r && (t.defId = r);
110
+ let a = t.schema;
111
+ for (let e in a) delete a[e];
112
+ a.$ref = n;
113
+ };
114
+ if (e.cycles === "throw") for (let t of e.seen.entries()) {
115
+ let e = t[1];
116
+ if (e.cycle) throw Error(`Cycle detected: #/${e.cycle?.join("/")}/<root>
117
+
118
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`);
119
+ }
120
+ for (let n of e.seen.entries()) {
121
+ let r = n[1];
122
+ if (t === n[0]) a(n);
123
+ else {
124
+ if (e.external) {
125
+ let r = e.external.registry.get(n[0])?.id;
126
+ if (t !== n[0] && r) {
127
+ a(n);
128
+ continue;
129
+ }
130
+ }
131
+ (e.metadataRegistry.get(n[0])?.id || r.cycle || r.count > 1 && e.reused === "ref") && a(n);
132
+ }
133
+ }
134
+ e.external && (e.sharedDefsExtractedFor = e.external);
135
+ }
136
+ function c(e) {
137
+ let t = e.anyOf;
138
+ if (!Array.isArray(t) || t.length === 0 || e.type !== void 0) return;
139
+ let n = [];
140
+ for (let e of t) {
141
+ if (!e || typeof e != "object") return;
142
+ c(e);
143
+ let t = Object.keys(e);
144
+ if (t.length !== 1 || t[0] !== "type") return;
145
+ let r = e.type;
146
+ for (let e of Array.isArray(r) ? r : [r]) {
147
+ if (typeof e != "string") return;
148
+ n.includes(e) || n.push(e);
149
+ }
150
+ }
151
+ delete e.anyOf, e.type = n.length === 1 ? n[0] : n;
152
+ }
153
+ var l = /* @__PURE__ */ new Set([
154
+ "type",
155
+ "properties",
156
+ "required",
157
+ "additionalProperties"
158
+ ]), u = ["oneOf", "anyOf"];
159
+ function d(e) {
160
+ let t = e.additionalProperties;
161
+ return t === void 0 || t === !1 || typeof t != "object" || !t ? null : Object.keys(t).length ? t : null;
162
+ }
163
+ function f(e) {
164
+ let n = [];
165
+ for (let t of e) {
166
+ if (typeof t != "object" || t.type !== "object") return null;
167
+ for (let e in t) if (!l.has(e)) return null;
168
+ n.push(t);
169
+ }
170
+ let r = {}, i = /* @__PURE__ */ new Set();
171
+ for (let e of n) {
172
+ for (let i in e.properties) {
173
+ if (Object.prototype.hasOwnProperty.call(r, i)) continue;
174
+ let e = [];
175
+ for (let t of n) {
176
+ let n = t.properties?.[i] ?? d(t);
177
+ n != null && (e.some((e) => JSON.stringify(e) === JSON.stringify(n)) || e.push(n));
178
+ }
179
+ let a = e.length === 1 ? e[0] : f(e) ?? { allOf: e };
180
+ t(r, i, a);
181
+ }
182
+ for (let t of e.required ?? []) i.add(t);
183
+ }
184
+ let a = {
185
+ type: "object",
186
+ properties: r
187
+ };
188
+ if (i.size && (a.required = [...i]), n.every((e) => e.additionalProperties === !1)) a.additionalProperties = !1;
189
+ else {
190
+ let e = [];
191
+ for (let t of n) {
192
+ let n = d(t);
193
+ n && !e.some((e) => JSON.stringify(e) === JSON.stringify(n)) && e.push(n);
194
+ }
195
+ e.length === 1 ? a.additionalProperties = e[0] : e.length > 1 && (a.additionalProperties = { allOf: e });
196
+ }
197
+ return a;
198
+ }
199
+ function p(e) {
200
+ let t = e.allOf;
201
+ if (!Array.isArray(t) || t.length < 2) return;
202
+ for (let t of l) if (t in e) return;
203
+ let r = t.filter((e) => u.some((t) => Array.isArray(e[t]))), i = null;
204
+ if (!r.length) i = f(t);
205
+ else {
206
+ let e = r[0], n = u.find((t) => Array.isArray(e[t]));
207
+ if (Object.keys(e).length !== 1) return;
208
+ let a = t.filter((t) => t !== e), o = e[n].map((e) => f([...a, e]));
209
+ if (o.some((e) => !e)) return;
210
+ i = { [n]: o };
211
+ }
212
+ i && (delete e.allOf, n(e, i));
213
+ }
214
+ function m(e, r) {
215
+ let i = e.seen.get(r);
216
+ if (!i) throw Error("Unprocessed schema. This is a bug in Zod.");
217
+ let a = (t) => {
218
+ let r = e.seen.get(t);
219
+ if (r.ref === null) return;
220
+ let i = r.def ?? r.schema, o = { ...i }, s = r.ref;
221
+ if (r.ref = null, s) {
222
+ a(s);
223
+ let r = e.seen.get(s), c = r.schema;
224
+ if (c.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (i.allOf = i.allOf ?? [], i.allOf.push(c)) : n(i, c), n(i, o), t._zod.parent === s) for (let e in i) e !== "$ref" && e !== "allOf" && (e in o || delete i[e]);
225
+ if (c.$ref && r.def) for (let e in i) e !== "$ref" && e !== "allOf" && e in r.def && JSON.stringify(i[e]) === JSON.stringify(r.def[e]) && delete i[e];
226
+ }
227
+ let c = t._zod.parent;
228
+ if (c && c !== s) {
229
+ a(c);
230
+ let t = e.seen.get(c);
231
+ if (t?.schema.$ref && (i.$ref = t.schema.$ref, t.def)) for (let e in i) e !== "$ref" && e !== "allOf" && e in t.def && JSON.stringify(i[e]) === JSON.stringify(t.def[e]) && delete i[e];
232
+ }
233
+ e.override({
234
+ zodSchema: t,
235
+ jsonSchema: i,
236
+ path: r.path ?? []
237
+ });
238
+ };
239
+ if (!e.external || e.sharedEmitDoneFor !== e.external) {
240
+ for (let t of [...e.seen.entries()].reverse()) a(t[0]);
241
+ if (e.target !== "openapi-3.0") for (let t of e.seen.entries()) c(t[1].def ?? t[1].schema);
242
+ for (let t of e.deferred) t();
243
+ if (e.intersections.length) {
244
+ let t = /* @__PURE__ */ new Map();
245
+ for (let n of e.seen.values()) for (let e of [n.schema, n.def]) {
246
+ let n = e?.allOf;
247
+ if (!Array.isArray(n)) continue;
248
+ let r = t.get(n);
249
+ r ? r.push(e) : t.set(n, [e]);
250
+ }
251
+ for (let n of e.intersections) for (let e of t.get(n) ?? []) p(e);
252
+ }
253
+ }
254
+ let o = {};
255
+ if (e.target === "draft-2020-12" ? o.$schema = "https://json-schema.org/draft/2020-12/schema" : e.target === "draft-07" ? o.$schema = "http://json-schema.org/draft-07/schema#" : e.target === "draft-04" ? o.$schema = "http://json-schema.org/draft-04/schema#" : e.target, e.external?.uri) {
256
+ let t = e.external.registry.get(r)?.id;
257
+ if (!t) throw Error("Schema is missing an `id` property");
258
+ o.$id = e.external.uri(t);
259
+ }
260
+ n(o, i.defId ? i.schema : i.def ?? i.schema);
261
+ let s = e.metadataRegistry.get(r)?.id;
262
+ s !== void 0 && o.id === s && delete o.id;
263
+ let l = e.external?.defs ?? {};
264
+ if (!e.external || e.sharedEmitDoneFor !== e.external) for (let n of e.seen.entries()) {
265
+ let e = n[1];
266
+ e.def && e.defId && (e.def.id === e.defId && delete e.def.id, t(l, e.defId, e.def));
267
+ }
268
+ e.external && (e.sharedEmitDoneFor = e.external), e.external || Object.keys(l).length > 0 && (e.target === "draft-2020-12" ? o.$defs = l : o.definitions = l);
269
+ try {
270
+ let t = JSON.parse(JSON.stringify(o));
271
+ return Object.defineProperty(t, "~standard", {
272
+ value: {
273
+ ...r["~standard"],
274
+ jsonSchema: {
275
+ input: _(r, "input", e.processors),
276
+ output: _(r, "output", e.processors)
277
+ }
278
+ },
279
+ enumerable: !1,
280
+ writable: !1
281
+ }), t;
282
+ } catch {
283
+ throw Error("Error converting schema to JSON.");
284
+ }
285
+ }
286
+ function h(e, t) {
287
+ let n = t ?? { seen: /* @__PURE__ */ new Set() };
288
+ if (n.seen.has(e)) return !1;
289
+ n.seen.add(e);
290
+ let r = e._zod.def;
291
+ if (r.type === "transform") return !0;
292
+ if (r.type === "array") return h(r.element, n);
293
+ if (r.type === "set") return h(r.valueType, n);
294
+ if (r.type === "lazy") return h(r.getter(), n);
295
+ if (r.type === "promise" || r.type === "optional" || r.type === "nonoptional" || r.type === "nullable" || r.type === "readonly" || r.type === "default" || r.type === "prefault" || r.type === "catch") return h(r.innerType, n);
296
+ if (r.type === "intersection") return h(r.left, n) || h(r.right, n);
297
+ if (r.type === "record" || r.type === "map") return h(r.keyType, n) || h(r.valueType, n);
298
+ if (r.type === "pipe") return e._zod.traits.has("$ZodCodec") ? !0 : h(r.in, n) || h(r.out, n);
299
+ if (r.type === "object") {
300
+ for (let e in r.shape) if (h(r.shape[e], n)) return !0;
301
+ return !1;
302
+ }
303
+ if (r.type === "union") {
304
+ for (let e of r.options) if (h(e, n)) return !0;
305
+ return !1;
306
+ }
307
+ if (r.type === "tuple") {
308
+ for (let e of r.items) if (h(e, n)) return !0;
309
+ return !!(r.rest && h(r.rest, n));
310
+ }
311
+ return !1;
312
+ }
313
+ var g = (e, t = {}) => (n) => {
314
+ let i = r({
315
+ ...n,
316
+ processors: t
317
+ });
318
+ return a(e, i), s(i, e), m(i, e);
319
+ }, _ = (e, t, n = {}) => (i) => {
320
+ let { libraryOptions: o, target: c } = i ?? {}, l = r({
321
+ ...o ?? {},
322
+ target: c,
323
+ io: t,
324
+ processors: n
325
+ });
326
+ return a(e, l), s(l, e), m(l, e);
327
+ };
328
+ export { _ as createStandardJSONSchemaMethod, g as createToJSONSchemaMethod, s as extractDefs, m as finalize, i as handleUnrepresentable, r as initializeContext, a as process, a as processSchema };