@milaboratories/uikit 2.4.1 → 2.4.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 (43) hide show
  1. package/.turbo/turbo-build.log +30 -29
  2. package/.turbo/turbo-type-check.log +1 -1
  3. package/CHANGELOG.md +6 -0
  4. package/dist/components/DataTable/TableComponent.vue.js +1 -1
  5. package/dist/components/PlAccordion/{ExpandTransition.vue.js → ExpandTransition.vue2.js} +1 -1
  6. package/dist/components/PlAccordion/ExpandTransition.vue2.js.map +1 -0
  7. package/dist/components/PlAccordion/ExpandTransition.vue3.js +1 -1
  8. package/dist/components/PlAccordion/PlAccordionSection.vue2.js +1 -1
  9. package/dist/components/PlAutocomplete/PlAutocomplete.vue.js +1 -1
  10. package/dist/components/PlDropdown/PlDropdown.vue.js +1 -1
  11. package/dist/components/PlDropdownLegacy/PlDropdownLegacy.vue.js +1 -1
  12. package/dist/components/PlDropdownMulti/PlDropdownMulti.vue.js +1 -1
  13. package/dist/components/PlFileDialog/Local.vue.js +4 -4
  14. package/dist/components/PlFileInput/PlFileInput.vue.js +14 -14
  15. package/dist/components/PlLogView/PlLogView.vue.d.ts +8 -0
  16. package/dist/components/PlLogView/PlLogView.vue.d.ts.map +1 -1
  17. package/dist/components/PlLogView/PlLogView.vue.js +85 -59
  18. package/dist/components/PlLogView/PlLogView.vue.js.map +1 -1
  19. package/dist/components/PlSlideModal/PlPureSlideModal.vue.js +1 -1
  20. package/dist/components/PlTextArea/PlTextArea.vue.js +1 -1
  21. package/dist/components/PlTextField/PlTextField.vue.js +1 -1
  22. package/dist/generated/components/svg/images/{SvgRequired.vue.js → SvgRequired.vue2.js} +1 -1
  23. package/dist/generated/components/svg/images/SvgRequired.vue2.js.map +1 -0
  24. package/dist/helpers/dom.d.ts +1 -0
  25. package/dist/helpers/dom.d.ts.map +1 -1
  26. package/dist/helpers/dom.js.map +1 -1
  27. package/dist/helpers/downloadContent.d.ts +5 -0
  28. package/dist/helpers/downloadContent.d.ts.map +1 -0
  29. package/dist/helpers/downloadContent.js +32 -0
  30. package/dist/helpers/downloadContent.js.map +1 -0
  31. package/dist/index.js +2 -0
  32. package/dist/index.js.map +1 -1
  33. package/dist/lib/model/common/dist/index.js +258 -198
  34. package/dist/lib/model/common/dist/index.js.map +1 -1
  35. package/dist/sdk/model/dist/index.js +486 -482
  36. package/dist/sdk/model/dist/index.js.map +1 -1
  37. package/package.json +4 -4
  38. package/src/components/PlLogView/PlLogView.vue +29 -6
  39. package/src/components/PlLogView/pl-log-view.scss +3 -7
  40. package/src/helpers/dom.ts +2 -0
  41. package/src/helpers/downloadContent.ts +75 -0
  42. package/dist/components/PlAccordion/ExpandTransition.vue.js.map +0 -1
  43. package/dist/generated/components/svg/images/SvgRequired.vue.js.map +0 -1
@@ -1,39 +1,39 @@
1
- import u from "../../../../node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.js";
2
- import g from "../../../../_virtual/canonicalize.js";
3
- var O = Object.defineProperty, A = (e, t, n) => t in e ? O(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, m = (e, t, n) => A(e, typeof t != "symbol" ? t + "" : t, n);
4
- u.object({
1
+ import a from "../../../../node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.js";
2
+ import b from "../../../../_virtual/canonicalize.js";
3
+ var O = Object.defineProperty, S = (e, t, n) => t in e ? O(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, h = (e, t, n) => S(e, typeof t != "symbol" ? t + "" : t, n);
4
+ a.object({
5
5
  /** Included left border. */
6
- from: u.number(),
6
+ from: a.number(),
7
7
  /** Excluded right border. */
8
- to: u.number()
8
+ to: a.number()
9
9
  });
10
- function l(e) {
10
+ function d(e) {
11
11
  throw new Error("Unexpected object: " + e);
12
12
  }
13
- const w = "upload://upload/", k = "index://index/";
13
+ const k = "upload://upload/", A = "index://index/";
14
+ function I(e) {
15
+ return e.startsWith(k);
16
+ }
14
17
  function j(e) {
15
- return e.startsWith(w);
18
+ return e.startsWith(A);
16
19
  }
17
20
  function E(e) {
18
- return e.startsWith(k);
19
- }
20
- function J(e) {
21
- if (E(e)) {
22
- const t = e.slice(k.length);
21
+ if (j(e)) {
22
+ const t = e.slice(A.length);
23
23
  return JSON.parse(decodeURIComponent(t)).path;
24
- } else if (j(e)) {
25
- const t = e.slice(w.length);
24
+ } else if (I(e)) {
25
+ const t = e.slice(k.length);
26
26
  return JSON.parse(decodeURIComponent(t)).localPath;
27
27
  }
28
- l(e);
28
+ d(e);
29
29
  }
30
- function S(e) {
30
+ function J(e) {
31
31
  return e.replace(/^.*[\\/]/, "");
32
32
  }
33
- function M(e) {
34
- return S(J(e));
33
+ function _(e) {
34
+ return J(E(e));
35
35
  }
36
- function R(e) {
36
+ function G(e) {
37
37
  if (!e || typeof e != "object")
38
38
  return !1;
39
39
  const t = e;
@@ -50,15 +50,15 @@ function R(e) {
50
50
  return !1;
51
51
  }
52
52
  }
53
- function U(e, t) {
53
+ function W(e, t) {
54
54
  if (e !== void 0)
55
55
  switch (e.type) {
56
56
  case "Json":
57
57
  return e;
58
58
  case "JsonPartitioned": {
59
59
  const n = {};
60
- for (const [r, i] of Object.entries(e.parts))
61
- n[r] = t(i);
60
+ for (const [r, o] of Object.entries(e.parts))
61
+ n[r] = t(o);
62
62
  return {
63
63
  ...e,
64
64
  parts: n
@@ -66,10 +66,10 @@ function U(e, t) {
66
66
  }
67
67
  case "BinaryPartitioned": {
68
68
  const n = {};
69
- for (const [r, i] of Object.entries(e.parts))
69
+ for (const [r, o] of Object.entries(e.parts))
70
70
  n[r] = {
71
- index: t(i.index),
72
- values: t(i.values)
71
+ index: t(o.index),
72
+ values: t(o.values)
73
73
  };
74
74
  return {
75
75
  ...e,
@@ -78,8 +78,8 @@ function U(e, t) {
78
78
  }
79
79
  case "ParquetPartitioned": {
80
80
  const n = {};
81
- for (const [r, i] of Object.entries(e.parts))
82
- n[r] = t(i);
81
+ for (const [r, o] of Object.entries(e.parts))
82
+ n[r] = t(o);
83
83
  return {
84
84
  ...e,
85
85
  parts: n
@@ -87,7 +87,7 @@ function U(e, t) {
87
87
  }
88
88
  }
89
89
  }
90
- function I(e) {
90
+ function L(e) {
91
91
  if (!e || typeof e != "object")
92
92
  return !1;
93
93
  const t = e;
@@ -104,8 +104,8 @@ function I(e) {
104
104
  return !1;
105
105
  }
106
106
  }
107
- function _(e) {
108
- if (!I(e)) return !1;
107
+ function z(e) {
108
+ if (!L(e)) return !1;
109
109
  switch (e.type) {
110
110
  case "JsonPartitioned":
111
111
  case "BinaryPartitioned":
@@ -115,7 +115,7 @@ function _(e) {
115
115
  return !1;
116
116
  }
117
117
  }
118
- function H(e) {
118
+ function X(e) {
119
119
  switch (e.type) {
120
120
  case "Json":
121
121
  return {
@@ -142,10 +142,10 @@ function H(e) {
142
142
  parts: Object.entries(e.parts).map(([t, n]) => ({ key: JSON.parse(t), value: n }))
143
143
  };
144
144
  default:
145
- l(e);
145
+ d(e);
146
146
  }
147
147
  }
148
- function W(e) {
148
+ function Q(e) {
149
149
  switch (e.type) {
150
150
  case "Json":
151
151
  return {
@@ -180,33 +180,85 @@ function W(e) {
180
180
  )
181
181
  };
182
182
  default:
183
- l(e);
183
+ d(e);
184
184
  }
185
185
  }
186
- function d(e) {
187
- const { type: t, name: n, domain: r } = e, i = { type: t, name: n };
188
- return r && Object.entries(r).length > 0 && Object.assign(i, { domain: r }), i;
186
+ function C(e) {
187
+ return b(e);
189
188
  }
190
- function L(e) {
191
- return e.map(d);
189
+ function Z(e) {
190
+ return JSON.parse(e);
191
+ }
192
+ const N = {
193
+ Int: "Int",
194
+ Long: "Long",
195
+ Float: "Float",
196
+ Double: "Double",
197
+ String: "String",
198
+ Bytes: "Bytes"
199
+ };
200
+ function D(e, t) {
201
+ return e == null ? void 0 : e[t];
202
+ }
203
+ const f = {
204
+ DiscreteValues: "pl7.app/discreteValues",
205
+ Graph: {
206
+ IsVirtual: "pl7.app/graph/isVirtual"
207
+ },
208
+ HideDataFromUi: "pl7.app/hideDataFromUi",
209
+ IsLinkerColumn: "pl7.app/isLinkerColumn",
210
+ Label: "pl7.app/label",
211
+ Max: "pl7.app/max",
212
+ Min: "pl7.app/min",
213
+ Parents: "pl7.app/parents",
214
+ Sequence: {
215
+ Annotation: {
216
+ Mapping: "pl7.app/sequence/annotation/mapping"
217
+ },
218
+ IsAnnotation: "pl7.app/sequence/isAnnotation"
219
+ },
220
+ Table: {
221
+ OrderPriority: "pl7.app/table/orderPriority"
222
+ },
223
+ Trace: "pl7.app/trace"
224
+ }, $ = a.object({
225
+ type: a.nativeEnum(N),
226
+ name: a.string(),
227
+ domain: a.record(a.string(), a.string()).optional(),
228
+ annotations: a.record(a.string(), a.string()).optional(),
229
+ parentAxes: a.array(a.number()).optional()
230
+ }).passthrough();
231
+ f.DiscreteValues + "", a.array(a.string()).or(a.array(a.number())), f.Graph.IsVirtual + "", a.boolean(), f.HideDataFromUi + "", a.boolean(), f.IsLinkerColumn + "", a.boolean(), f.Max + "", a.number(), f.Min + "", a.number(), f.Parents + "", a.array($), f.Sequence.Annotation.Mapping + "", a.record(a.string(), a.string()), f.Sequence.IsAnnotation + "", a.boolean(), f.Table.OrderPriority + "", a.number(), f.Trace + "", a.record(a.string(), a.unknown());
232
+ function Y(e, t) {
233
+ return D(e == null ? void 0 : e.annotations, t);
234
+ }
235
+ const ee = {
236
+ Label: "pl7.app/label"
237
+ };
238
+ function p(e) {
239
+ const { type: t, name: n, domain: r } = e, o = { type: t, name: n };
240
+ return r && Object.entries(r).length > 0 && Object.assign(o, { domain: r }), o;
192
241
  }
193
- function G(e) {
194
- return g(d(e));
242
+ function q(e) {
243
+ return e.map(p);
244
+ }
245
+ function te(e) {
246
+ return C(p(e));
195
247
  }
196
- function C(e, t) {
248
+ function M(e, t) {
197
249
  if (e === void 0) return t === void 0;
198
250
  if (t === void 0) return !0;
199
251
  for (const n in t)
200
252
  if (e[n] !== t[n]) return !1;
201
253
  return !0;
202
254
  }
203
- function $(e, t) {
204
- return e.name === t.name && C(e.domain, t.domain);
255
+ function T(e, t) {
256
+ return e.name === t.name && M(e.domain, t.domain);
205
257
  }
206
- function Q(e, t) {
207
- return { ...e, src: h(e.src, t) };
258
+ function ne(e, t) {
259
+ return { ...e, src: y(e.src, t) };
208
260
  }
209
- function h(e, t) {
261
+ function y(e, t) {
210
262
  switch (e.type) {
211
263
  case "column":
212
264
  return {
@@ -226,47 +278,47 @@ function h(e, t) {
226
278
  case "full":
227
279
  return {
228
280
  type: e.type,
229
- entries: e.entries.map((n) => h(n, t))
281
+ entries: e.entries.map((n) => y(n, t))
230
282
  };
231
283
  case "outer":
232
284
  return {
233
285
  type: "outer",
234
- primary: h(e.primary, t),
235
- secondary: e.secondary.map((n) => h(n, t))
286
+ primary: y(e.primary, t),
287
+ secondary: e.secondary.map((n) => y(n, t))
236
288
  };
237
289
  default:
238
- l(e);
290
+ d(e);
239
291
  }
240
292
  }
241
- function N(e) {
242
- return g(e);
293
+ function F(e) {
294
+ return b(e);
243
295
  }
244
- function b(e) {
245
- return g(d(e));
296
+ function x(e) {
297
+ return b(p(e));
246
298
  }
247
- function x(e, t) {
299
+ function P(e, t) {
248
300
  return JSON.stringify([e, t]);
249
301
  }
250
- class V {
302
+ class re {
251
303
  /**
252
304
  * Creates a new anchor context from a set of anchor column specifications
253
305
  * @param anchors Record of anchor column specifications indexed by anchor ID
254
306
  */
255
307
  constructor(t) {
256
- m(this, "domains", /* @__PURE__ */ new Map()), m(this, "axes", /* @__PURE__ */ new Map()), m(this, "domainPacks", []), m(this, "domainPackToAnchor", /* @__PURE__ */ new Map()), this.anchors = t;
308
+ h(this, "domains", /* @__PURE__ */ new Map()), h(this, "axes", /* @__PURE__ */ new Map()), h(this, "domainPacks", []), h(this, "domainPackToAnchor", /* @__PURE__ */ new Map()), this.anchors = t;
257
309
  const n = Object.entries(t);
258
- n.sort((r, i) => r[0].localeCompare(i[0]));
259
- for (const [r, i] of n) {
260
- for (let o = 0; o < i.axesSpec.length; o++) {
261
- const a = i.axesSpec[o], s = b(a);
262
- this.axes.set(s, { anchor: r, idx: o });
310
+ n.sort((r, o) => r[0].localeCompare(o[0]));
311
+ for (const [r, o] of n) {
312
+ for (let i = 0; i < o.axesSpec.length; i++) {
313
+ const s = o.axesSpec[i], c = x(s);
314
+ this.axes.set(c, { anchor: r, idx: i });
263
315
  }
264
- if (i.domain !== void 0) {
265
- const o = Object.entries(i.domain);
266
- o.sort((a, s) => a[0].localeCompare(s[0])), this.domainPackToAnchor.set(JSON.stringify(o), r), this.domainPacks.push(o.map(([a]) => a));
267
- for (const [a, s] of o) {
268
- const c = x(a, s);
269
- this.domains.set(c, r);
316
+ if (o.domain !== void 0) {
317
+ const i = Object.entries(o.domain);
318
+ i.sort((s, c) => s[0].localeCompare(c[0])), this.domainPackToAnchor.set(JSON.stringify(i), r), this.domainPacks.push(i.map(([s]) => s));
319
+ for (const [s, c] of i) {
320
+ const u = P(s, c);
321
+ this.domains.set(u, r);
270
322
  }
271
323
  }
272
324
  }
@@ -279,52 +331,52 @@ class V {
279
331
  name: t.name,
280
332
  axes: []
281
333
  };
282
- let i;
334
+ let o;
283
335
  if (t.domain !== void 0)
284
336
  e:
285
- for (const a of this.domainPacks) {
286
- const s = [];
287
- for (const f of a) {
288
- const p = t.domain[f];
289
- if (p !== void 0)
290
- s.push([f, p]);
337
+ for (const s of this.domainPacks) {
338
+ const c = [];
339
+ for (const l of s) {
340
+ const m = t.domain[l];
341
+ if (m !== void 0)
342
+ c.push([l, m]);
291
343
  else
292
344
  break e;
293
345
  }
294
- const c = this.domainPackToAnchor.get(JSON.stringify(s));
295
- if (c !== void 0) {
296
- r.domainAnchor = c, i = new Set(a);
346
+ const u = this.domainPackToAnchor.get(JSON.stringify(c));
347
+ if (u !== void 0) {
348
+ r.domainAnchor = u, o = new Set(s);
297
349
  break;
298
350
  }
299
351
  }
300
- for (const [a, s] of Object.entries(t.domain ?? {})) {
301
- if (i !== void 0 && i.has(a))
352
+ for (const [s, c] of Object.entries(t.domain ?? {})) {
353
+ if (o !== void 0 && o.has(s))
302
354
  continue;
303
- const c = x(a, s), f = this.domains.get(c);
304
- r.domain ?? (r.domain = {}), r.domain[a] = f ? { anchor: f } : s;
355
+ const u = P(s, c), l = this.domains.get(u);
356
+ r.domain ?? (r.domain = {}), r.domain[s] = l ? { anchor: l } : c;
305
357
  }
306
- if (r.axes = t.axesSpec.map((a) => {
307
- const s = b(a), c = this.axes.get(s);
308
- return c === void 0 ? d(a) : c;
358
+ if (r.axes = t.axesSpec.map((s) => {
359
+ const c = x(s), u = this.axes.get(c);
360
+ return u === void 0 ? p(s) : u;
309
361
  }), !n || n.length === 0)
310
362
  return r;
311
- const o = [];
312
- for (const a of n) {
313
- const [s, c] = a;
314
- if (typeof s == "number") {
315
- if (s < 0 || s >= t.axesSpec.length)
316
- throw new Error(`Axis index ${s} is out of bounds (0-${t.axesSpec.length - 1})`);
317
- o.push([s, c]);
363
+ const i = [];
364
+ for (const s of n) {
365
+ const [c, u] = s;
366
+ if (typeof c == "number") {
367
+ if (c < 0 || c >= t.axesSpec.length)
368
+ throw new Error(`Axis index ${c} is out of bounds (0-${t.axesSpec.length - 1})`);
369
+ i.push([c, u]);
318
370
  } else {
319
- const f = t.axesSpec.findIndex((p) => p.name === s);
320
- if (f === -1)
321
- throw new Error(`Axis with name "${s}" not found in the column specification`);
322
- o.push([f, c]);
371
+ const l = t.axesSpec.findIndex((m) => m.name === c);
372
+ if (l === -1)
373
+ throw new Error(`Axis with name "${c}" not found in the column specification`);
374
+ i.push([l, u]);
323
375
  }
324
376
  }
325
- return o.sort((a, s) => a[0] - s[0]), {
377
+ return i.sort((s, c) => s[0] - c[0]), {
326
378
  source: r,
327
- axisFilters: o
379
+ axisFilters: i
328
380
  };
329
381
  }
330
382
  /**
@@ -334,40 +386,40 @@ class V {
334
386
  * @returns A canonicalized string representation of the anchored column identifier
335
387
  */
336
388
  deriveS(t, n) {
337
- return N(this.derive(t, n));
389
+ return F(this.derive(t, n));
338
390
  }
339
391
  }
340
- function X(e, t, n) {
341
- const r = { ...t }, i = (n == null ? void 0 : n.ignoreMissingDomains) ?? !1;
392
+ function oe(e, t, n) {
393
+ const r = { ...t }, o = (n == null ? void 0 : n.ignoreMissingDomains) ?? !1;
342
394
  if (r.domainAnchor !== void 0) {
343
- const o = e[r.domainAnchor];
344
- if (!o)
395
+ const i = e[r.domainAnchor];
396
+ if (!i)
345
397
  throw new Error(`Anchor "${r.domainAnchor}" not found`);
346
- const a = o.domain || {};
347
- r.domain = { ...a, ...r.domain }, delete r.domainAnchor;
398
+ const s = i.domain || {};
399
+ r.domain = { ...s, ...r.domain }, delete r.domainAnchor;
348
400
  }
349
401
  if (r.domain) {
350
- const o = {};
351
- for (const [a, s] of Object.entries(r.domain))
352
- if (typeof s == "string")
353
- o[a] = s;
402
+ const i = {};
403
+ for (const [s, c] of Object.entries(r.domain))
404
+ if (typeof c == "string")
405
+ i[s] = c;
354
406
  else {
355
- const c = e[s.anchor];
356
- if (!c)
357
- throw new Error(`Anchor "${s.anchor}" not found for domain key "${a}"`);
358
- if (!c.domain || c.domain[a] === void 0) {
359
- if (!i)
360
- throw new Error(`Domain key "${a}" not found in anchor "${s.anchor}"`);
407
+ const u = e[c.anchor];
408
+ if (!u)
409
+ throw new Error(`Anchor "${c.anchor}" not found for domain key "${s}"`);
410
+ if (!u.domain || u.domain[s] === void 0) {
411
+ if (!o)
412
+ throw new Error(`Domain key "${s}" not found in anchor "${c.anchor}"`);
361
413
  continue;
362
414
  }
363
- o[a] = c.domain[a];
415
+ i[s] = u.domain[s];
364
416
  }
365
- r.domain = o;
417
+ r.domain = i;
366
418
  }
367
- return r.axes && (r.axes = r.axes.map((o) => K(e, o))), r;
419
+ return r.axes && (r.axes = r.axes.map((i) => K(e, i))), r;
368
420
  }
369
421
  function K(e, t) {
370
- if (!q(t))
422
+ if (!B(t))
371
423
  return t;
372
424
  const n = t.anchor, r = e[n];
373
425
  if (!r)
@@ -377,42 +429,42 @@ function K(e, t) {
377
429
  throw new Error(`Axis index ${t.idx} out of bounds for anchor "${n}"`);
378
430
  return r.axesSpec[t.idx];
379
431
  } else if ("name" in t) {
380
- const i = r.axesSpec.filter((o) => o.name === t.name);
381
- if (i.length > 1)
432
+ const o = r.axesSpec.filter((i) => i.name === t.name);
433
+ if (o.length > 1)
382
434
  throw new Error(`Multiple axes with name "${t.name}" found in anchor "${n}"`);
383
- if (i.length === 0)
435
+ if (o.length === 0)
384
436
  throw new Error(`Axis with name "${t.name}" not found in anchor "${n}"`);
385
- return i[0];
437
+ return o[0];
386
438
  } else if ("id" in t) {
387
- const i = r.axesSpec.filter((o) => $(t.id, d(o)));
388
- if (i.length > 1)
439
+ const o = r.axesSpec.filter((i) => T(t.id, p(i)));
440
+ if (o.length > 1)
389
441
  throw new Error(`Multiple matching axes found for matcher in anchor "${n}"`);
390
- if (i.length === 0)
442
+ if (o.length === 0)
391
443
  throw new Error(`No matching axis found for matcher in anchor "${n}"`);
392
- return i[0];
444
+ return o[0];
393
445
  }
394
446
  throw new Error("Unsupported axis reference type");
395
447
  }
396
- function q(e) {
448
+ function B(e) {
397
449
  return typeof e == "object" && "anchor" in e;
398
450
  }
399
- function y(e) {
451
+ function g(e) {
400
452
  return e.kind === "PColumn";
401
453
  }
402
- function T(e) {
403
- return y(e.spec);
454
+ function R(e) {
455
+ return g(e.spec);
404
456
  }
405
- function Y(e) {
406
- if (!T(e)) throw new Error(`not a PColumn (kind = ${e.spec.kind})`);
457
+ function ae(e) {
458
+ if (!R(e)) throw new Error(`not a PColumn (kind = ${e.spec.kind})`);
407
459
  return e;
408
460
  }
409
- function z(e, t) {
461
+ function ie(e, t) {
410
462
  return e === void 0 ? void 0 : {
411
463
  ...e,
412
464
  data: t(e.data)
413
465
  };
414
466
  }
415
- function Z(e) {
467
+ function se(e) {
416
468
  const t = /* @__PURE__ */ new Map(), n = (r) => {
417
469
  switch (r.type) {
418
470
  case "column":
@@ -425,14 +477,14 @@ function Z(e) {
425
477
  return;
426
478
  case "full":
427
479
  case "inner":
428
- for (const i of r.entries) n(i);
480
+ for (const o of r.entries) n(o);
429
481
  return;
430
482
  case "outer":
431
483
  n(r.primary);
432
- for (const i of r.secondary) n(i);
484
+ for (const o of r.secondary) n(o);
433
485
  return;
434
486
  default:
435
- l(r);
487
+ d(r);
436
488
  }
437
489
  };
438
490
  return n(e), [...t.values()];
@@ -449,13 +501,13 @@ function v(e, t) {
449
501
  }
450
502
  if (e.domain !== void 0) {
451
503
  const n = t.domain || {};
452
- for (const [r, i] of Object.entries(e.domain))
453
- if (n[r] !== i)
504
+ for (const [r, o] of Object.entries(e.domain))
505
+ if (n[r] !== o)
454
506
  return !1;
455
507
  }
456
508
  return !0;
457
509
  }
458
- function P(e, t) {
510
+ function w(e, t) {
459
511
  if (t.name !== void 0 && e.name !== t.name || t.namePattern !== void 0 && !new RegExp(t.namePattern).test(e.name))
460
512
  return !1;
461
513
  if (t.type !== void 0) {
@@ -467,15 +519,15 @@ function P(e, t) {
467
519
  }
468
520
  if (t.domain !== void 0) {
469
521
  const n = e.domain || {};
470
- for (const [r, i] of Object.entries(t.domain))
471
- if (n[r] !== i)
522
+ for (const [r, o] of Object.entries(t.domain))
523
+ if (n[r] !== o)
472
524
  return !1;
473
525
  }
474
526
  if (t.axes !== void 0) {
475
- const n = e.axesSpec.map(d);
527
+ const n = e.axesSpec.map(p);
476
528
  if (t.partialAxesMatch) {
477
529
  for (const r of t.axes)
478
- if (!n.some((i) => v(r, i)))
530
+ if (!n.some((o) => v(r, o)))
479
531
  return !1;
480
532
  } else {
481
533
  if (n.length !== t.axes.length)
@@ -487,42 +539,42 @@ function P(e, t) {
487
539
  }
488
540
  if (t.annotations !== void 0) {
489
541
  const n = e.annotations || {};
490
- for (const [r, i] of Object.entries(t.annotations))
491
- if (n[r] !== i)
542
+ for (const [r, o] of Object.entries(t.annotations))
543
+ if (n[r] !== o)
492
544
  return !1;
493
545
  }
494
546
  if (t.annotationPatterns !== void 0) {
495
547
  const n = e.annotations || {};
496
- for (const [r, i] of Object.entries(t.annotationPatterns)) {
497
- const o = n[r];
498
- if (o === void 0 || !new RegExp(i).test(o))
548
+ for (const [r, o] of Object.entries(t.annotationPatterns)) {
549
+ const i = n[r];
550
+ if (i === void 0 || !new RegExp(o).test(i))
499
551
  return !1;
500
552
  }
501
553
  }
502
554
  return !0;
503
555
  }
504
- function ee(e) {
505
- return Array.isArray(e) ? (t) => e.some((n) => y(t) && P(t, n)) : (t) => y(t) && P(t, e);
556
+ function ce(e) {
557
+ return Array.isArray(e) ? (t) => e.some((n) => g(t) && w(t, n)) : (t) => g(t) && w(t, e);
506
558
  }
507
- function te(e) {
559
+ function ue(e) {
508
560
  const t = {
509
561
  kind: e.kind,
510
562
  name: e.name
511
563
  };
512
- return e.domain !== void 0 && (t.domain = e.domain), y(e) && (t.axesSpec = L(e.axesSpec)), g(t);
564
+ return e.domain !== void 0 && (t.domain = e.domain), g(e) && (t.axesSpec = q(e.axesSpec)), b(t);
513
565
  }
514
- u.object({
515
- __isRef: u.literal(!0).describe("Crucial marker for the block dependency tree reconstruction"),
516
- blockId: u.string().describe("Upstream block id"),
517
- name: u.string().describe("Name of the output provided to the upstream block's output context"),
518
- requireEnrichments: u.literal(!0).optional().describe("True if current block that stores this reference in its args, may need enrichments for the references value originating from the blocks in between current and referenced block")
566
+ a.object({
567
+ __isRef: a.literal(!0).describe("Crucial marker for the block dependency tree reconstruction"),
568
+ blockId: a.string().describe("Upstream block id"),
569
+ name: a.string().describe("Name of the output provided to the upstream block's output context"),
570
+ requireEnrichments: a.literal(!0).optional().describe("True if current block that stores this reference in its args, may need enrichments for the references value originating from the blocks in between current and referenced block")
519
571
  }).describe(
520
572
  "Universal reference type, allowing to set block connections. It is crucial that {@link __isRef} is present and equal to true, internal logic relies on this marker to build block dependency trees."
521
573
  ).readonly();
522
- function ne(e) {
574
+ function fe(e) {
523
575
  return typeof e == "object" && e !== null && "__isRef" in e && e.__isRef === !0 && "blockId" in e && "name" in e;
524
576
  }
525
- function re(e, t = !0) {
577
+ function le(e, t = !0) {
526
578
  if (t)
527
579
  return {
528
580
  ...e,
@@ -533,43 +585,51 @@ function re(e, t = !0) {
533
585
  return r;
534
586
  }
535
587
  }
536
- function ie(e, t) {
588
+ function pe(e, t) {
537
589
  return e.ok ? { ok: !0, value: t(e.value) } : e;
538
590
  }
539
- const B = 24;
540
- u.string().length(B).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
591
+ const U = 24;
592
+ a.string().length(U).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
541
593
  export {
542
- V as AnchoredIdDeriver,
543
- B as PlIdLength,
544
- G as canonicalizeAxisId,
545
- H as dataInfoToEntries,
546
- te as deriveNativeId,
547
- Y as ensurePColumn,
548
- W as entriesToDataInfo,
549
- Z as extractAllColumns,
550
- L as getAxesId,
551
- d as getAxisId,
552
- M as getFileNameFromHandle,
553
- J as getFilePathFromHandle,
554
- R as isDataInfo,
555
- I as isDataInfoEntries,
556
- E as isImportFileHandleIndex,
557
- j as isImportFileHandleUpload,
558
- T as isPColumn,
559
- y as isPColumnSpec,
560
- _ as isPartitionedDataInfoEntries,
561
- ne as isPlRef,
562
- U as mapDataInfo,
563
- h as mapJoinEntry,
564
- z as mapPObjectData,
565
- Q as mapPTableDef,
566
- ie as mapValueInVOE,
594
+ re as AnchoredIdDeriver,
595
+ f as Annotation,
596
+ $ as AxisSpec,
597
+ ee as PColumnName,
598
+ U as PlIdLength,
599
+ N as ValueType,
600
+ te as canonicalizeAxisId,
601
+ C as canonicalizeJson,
602
+ X as dataInfoToEntries,
603
+ ue as deriveNativeId,
604
+ ae as ensurePColumn,
605
+ Q as entriesToDataInfo,
606
+ se as extractAllColumns,
607
+ q as getAxesId,
608
+ p as getAxisId,
609
+ _ as getFileNameFromHandle,
610
+ E as getFilePathFromHandle,
611
+ G as isDataInfo,
612
+ L as isDataInfoEntries,
613
+ j as isImportFileHandleIndex,
614
+ I as isImportFileHandleUpload,
615
+ R as isPColumn,
616
+ g as isPColumnSpec,
617
+ z as isPartitionedDataInfoEntries,
618
+ fe as isPlRef,
619
+ W as mapDataInfo,
620
+ y as mapJoinEntry,
621
+ ie as mapPObjectData,
622
+ ne as mapPTableDef,
623
+ pe as mapValueInVOE,
567
624
  v as matchAxis,
568
- $ as matchAxisId,
569
- P as matchPColumn,
570
- X as resolveAnchors,
571
- ee as selectorsToPredicate,
572
- N as stringifyColumnId,
573
- re as withEnrichments
625
+ T as matchAxisId,
626
+ w as matchPColumn,
627
+ Z as parseJson,
628
+ Y as readAnnotation,
629
+ D as readMetadata,
630
+ oe as resolveAnchors,
631
+ ce as selectorsToPredicate,
632
+ F as stringifyColumnId,
633
+ le as withEnrichments
574
634
  };
575
635
  //# sourceMappingURL=index.js.map