@platforma-sdk/ui-vue 1.42.15 → 1.42.18

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