@milaboratories/uikit 2.3.25 → 2.3.27

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.
@@ -14,11 +14,11 @@ const P = "upload://upload/", k = "index://index/";
14
14
  function I(e) {
15
15
  return e.startsWith(P);
16
16
  }
17
- function J(e) {
17
+ function S(e) {
18
18
  return e.startsWith(k);
19
19
  }
20
- function S(e) {
21
- if (J(e)) {
20
+ function j(e) {
21
+ if (S(e)) {
22
22
  const t = e.slice(k.length);
23
23
  return JSON.parse(decodeURIComponent(t)).path;
24
24
  } else if (I(e)) {
@@ -27,13 +27,13 @@ function S(e) {
27
27
  }
28
28
  g(e);
29
29
  }
30
- function j(e) {
30
+ function E(e) {
31
31
  return e.replace(/^.*[\\/]/, "");
32
32
  }
33
- function M(e) {
34
- return j(S(e));
33
+ function R(e) {
34
+ return E(j(e));
35
35
  }
36
- function U(e) {
36
+ function _(e) {
37
37
  if (!e || typeof e != "object")
38
38
  return !1;
39
39
  const t = e;
@@ -50,7 +50,7 @@ function U(e) {
50
50
  return !1;
51
51
  }
52
52
  }
53
- function _(e, t) {
53
+ function U(e, t) {
54
54
  if (e !== void 0)
55
55
  switch (e.type) {
56
56
  case "Json":
@@ -78,7 +78,7 @@ function _(e, t) {
78
78
  }
79
79
  }
80
80
  }
81
- function E(e) {
81
+ function J(e) {
82
82
  if (!e || typeof e != "object")
83
83
  return !1;
84
84
  const t = e;
@@ -96,7 +96,7 @@ function E(e) {
96
96
  }
97
97
  }
98
98
  function H(e) {
99
- return E(e) ? e.type === "JsonPartitioned" || e.type === "BinaryPartitioned" : !1;
99
+ return J(e) ? e.type === "JsonPartitioned" || e.type === "BinaryPartitioned" : !1;
100
100
  }
101
101
  function q(e) {
102
102
  switch (e.type) {
@@ -164,13 +164,13 @@ function d(e) {
164
164
  const { type: t, name: n, domain: r } = e, o = { type: t, name: n };
165
165
  return r && Object.entries(r).length > 0 && Object.assign(o, { domain: r }), o;
166
166
  }
167
- function C(e) {
167
+ function L(e) {
168
168
  return e.map(d);
169
169
  }
170
170
  function W(e) {
171
171
  return y(d(e));
172
172
  }
173
- function L(e, t) {
173
+ function C(e, t) {
174
174
  if (e === void 0) return t === void 0;
175
175
  if (t === void 0) return !0;
176
176
  for (const n in t)
@@ -178,9 +178,9 @@ function L(e, t) {
178
178
  return !0;
179
179
  }
180
180
  function $(e, t) {
181
- return e.name === t.name && L(e.domain, t.domain);
181
+ return e.name === t.name && C(e.domain, t.domain);
182
182
  }
183
- function z(e, t) {
183
+ function G(e, t) {
184
184
  return { ...e, src: p(e.src, t) };
185
185
  }
186
186
  function p(e, t) {
@@ -314,7 +314,7 @@ class Q {
314
314
  return N(this.derive(t, n));
315
315
  }
316
316
  }
317
- function Y(e, t, n) {
317
+ function X(e, t, n) {
318
318
  const r = { ...t }, o = (n == null ? void 0 : n.ignoreMissingDomains) ?? !1;
319
319
  if (r.domainAnchor !== void 0) {
320
320
  const i = e[r.domainAnchor];
@@ -344,7 +344,7 @@ function Y(e, t, n) {
344
344
  return r.axes && (r.axes = r.axes.map((i) => K(e, i))), r;
345
345
  }
346
346
  function K(e, t) {
347
- if (!D(t))
347
+ if (!T(t))
348
348
  return t;
349
349
  const n = t.anchor, r = e[n];
350
350
  if (!r)
@@ -370,7 +370,7 @@ function K(e, t) {
370
370
  }
371
371
  throw new Error("Unsupported axis reference type");
372
372
  }
373
- function D(e) {
373
+ function T(e) {
374
374
  return typeof e == "object" && "anchor" in e;
375
375
  }
376
376
  function h(e) {
@@ -379,11 +379,11 @@ function h(e) {
379
379
  function B(e) {
380
380
  return h(e.spec);
381
381
  }
382
- function G(e) {
382
+ function Y(e) {
383
383
  if (!B(e)) throw new Error(`not a PColumn (kind = ${e.spec.kind})`);
384
384
  return e;
385
385
  }
386
- function X(e, t) {
386
+ function z(e, t) {
387
387
  return e === void 0 ? void 0 : {
388
388
  ...e,
389
389
  data: t(e.data)
@@ -486,7 +486,7 @@ function te(e) {
486
486
  kind: e.kind,
487
487
  name: e.name
488
488
  };
489
- return e.domain !== void 0 && (t.domain = e.domain), h(e) && (t.axesSpec = C(e.axesSpec)), y(t);
489
+ return e.domain !== void 0 && (t.domain = e.domain), h(e) && (t.axesSpec = L(e.axesSpec)), y(t);
490
490
  }
491
491
  u.object({
492
492
  __isRef: u.literal(!0).describe("Crucial marker for the block dependency tree reconstruction"),
@@ -513,38 +513,38 @@ function re(e, t = !0) {
513
513
  function oe(e, t) {
514
514
  return e.ok ? { ok: !0, value: t(e.value) } : e;
515
515
  }
516
- const F = 24;
517
- u.string().length(F).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
516
+ const D = 24;
517
+ u.string().length(D).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
518
518
  export {
519
519
  Q as AnchoredIdDeriver,
520
- F as PlIdLength,
520
+ D as PlIdLength,
521
521
  W as canonicalizeAxisId,
522
522
  q as dataInfoToEntries,
523
523
  te as deriveNativeId,
524
- G as ensurePColumn,
524
+ Y as ensurePColumn,
525
525
  V as entriesToDataInfo,
526
526
  Z as extractAllColumns,
527
- C as getAxesId,
527
+ L as getAxesId,
528
528
  d as getAxisId,
529
- M as getFileNameFromHandle,
530
- S as getFilePathFromHandle,
531
- U as isDataInfo,
532
- E as isDataInfoEntries,
533
- J as isImportFileHandleIndex,
529
+ R as getFileNameFromHandle,
530
+ j as getFilePathFromHandle,
531
+ _ as isDataInfo,
532
+ J as isDataInfoEntries,
533
+ S as isImportFileHandleIndex,
534
534
  I as isImportFileHandleUpload,
535
535
  B as isPColumn,
536
536
  h as isPColumnSpec,
537
537
  H as isPartitionedDataInfoEntries,
538
538
  ne as isPlRef,
539
- _ as mapDataInfo,
539
+ U as mapDataInfo,
540
540
  p as mapJoinEntry,
541
- X as mapPObjectData,
542
- z as mapPTableDef,
541
+ z as mapPObjectData,
542
+ G as mapPTableDef,
543
543
  oe as mapValueInVOE,
544
544
  v as matchAxis,
545
545
  $ as matchAxisId,
546
546
  w as matchPColumn,
547
- Y as resolveAnchors,
547
+ X as resolveAnchors,
548
548
  ee as selectorsToPredicate,
549
549
  N as stringifyColumnId,
550
550
  re as withEnrichments