@milaboratories/milaboratories.ui-examples.model 1.1.71 → 1.1.73

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.
@@ -1,6 +1,6 @@
1
1
   WARN  Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @milaboratories/milaboratories.ui-examples.model@1.1.71 build /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
3
+ > @milaboratories/milaboratories.ui-examples.model@1.1.73 build /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
4
4
  > tsup && vite build && block-tools build-model
5
5
 
6
6
  CLI Building entry: src/index.ts
@@ -11,14 +11,14 @@
11
11
  CLI Cleaning output folder
12
12
  CJS Build start
13
13
  ESM Build start
14
- ESM dist/index.js 6.51 KB
15
- ESM dist/index.js.map 14.87 KB
16
- ESM ⚡️ Build success in 407ms
17
14
  CJS dist/index.cjs 6.62 KB
18
15
  CJS dist/index.cjs.map 14.96 KB
19
- CJS ⚡️ Build success in 407ms
16
+ CJS ⚡️ Build success in 132ms
17
+ ESM dist/index.js 6.51 KB
18
+ ESM dist/index.js.map 14.87 KB
19
+ ESM ⚡️ Build success in 132ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 5213ms
21
+ DTS ⚡️ Build success in 1490ms
22
22
  DTS dist/index.d.cts 4.33 KB
23
23
  DTS dist/index.d.ts 4.33 KB
24
24
  vite v6.3.5 building for production...
@@ -26,6 +26,6 @@ transforming...
26
26
  ✓ 11 modules transformed.
27
27
  rendering chunks...
28
28
  computing gzip size...
29
- dist/bundle.js 190.74 kB │ gzip: 37.00 kB │ map: 409.68 kB
30
- dist/bundle.js 203.82 kB │ gzip: 37.67 kB │ map: 411.24 kB
31
- ✓ built in 1.90s
29
+ dist/bundle.js 190.76 kB │ gzip: 37.01 kB │ map: 409.84 kB
30
+ dist/bundle.js 203.84 kB │ gzip: 37.68 kB │ map: 411.40 kB
31
+ ✓ built in 950ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @milaboratories/milaboratories.ui-examples.model
2
2
 
3
+ ## 1.1.73
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [c570fd4]
8
+ - @platforma-sdk/model@1.34.10
9
+
10
+ ## 1.1.72
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [23f719d]
15
+ - @platforma-sdk/model@1.34.8
16
+
3
17
  ## 1.1.71
4
18
 
5
19
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -4504,12 +4504,12 @@
4504
4504
  }), c = l.extend({
4505
4505
  cause: z$1.lazy(() => s).optional(),
4506
4506
  errors: z$1.lazy(() => s.array()).optional()
4507
- }), m$1 = z$1.object({
4507
+ }), m = z$1.object({
4508
4508
  type: z$1.literal("StandardError"),
4509
4509
  name: z$1.string(),
4510
4510
  message: z$1.string(),
4511
4511
  stack: z$1.string().optional()
4512
- }), p = m$1.extend({
4512
+ }), p = m.extend({
4513
4513
  cause: z$1.lazy(() => s).optional(),
4514
4514
  errors: z$1.lazy(() => s.array()).optional()
4515
4515
  }), s = z$1.union([p, c]);
@@ -4540,7 +4540,7 @@
4540
4540
  function ft() {
4541
4541
  if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
4542
4542
  }
4543
- function m() {
4543
+ function y() {
4544
4544
  if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
4545
4545
  throw new Error("Not in config rendering context");
4546
4546
  }
@@ -4552,7 +4552,7 @@
4552
4552
  }
4553
4553
  const ce = /* @__PURE__ */ new Map();
4554
4554
  function ht(t, e) {
4555
- t in m().callbackRegistry || (m().callbackRegistry[t] = (n2) => {
4555
+ t in y().callbackRegistry || (y().callbackRegistry[t] = (n2) => {
4556
4556
  for (const r of ce.get(t))
4557
4557
  r(n2);
4558
4558
  }, ce.set(t, [])), ce.get(t).push(e);
@@ -4621,46 +4621,46 @@
4621
4621
  ...n2.map((i) => typeof i == "string" ? i : i.field)
4622
4622
  ];
4623
4623
  return he(
4624
- m().resolveWithCommon(this.handle, e, ...n2),
4624
+ y().resolveWithCommon(this.handle, e, ...n2),
4625
4625
  (i) => new E(i, r)
4626
4626
  );
4627
4627
  }
4628
4628
  get resourceType() {
4629
- return m().getResourceType(this.handle);
4629
+ return y().getResourceType(this.handle);
4630
4630
  }
4631
4631
  getInputsLocked() {
4632
- return m().getInputsLocked(this.handle);
4632
+ return y().getInputsLocked(this.handle);
4633
4633
  }
4634
4634
  getOutputsLocked() {
4635
- return m().getOutputsLocked(this.handle);
4635
+ return y().getOutputsLocked(this.handle);
4636
4636
  }
4637
4637
  getIsReadyOrError() {
4638
- return m().getIsReadyOrError(this.handle);
4638
+ return y().getIsReadyOrError(this.handle);
4639
4639
  }
4640
4640
  getIsFinal() {
4641
- return m().getIsFinal(this.handle);
4641
+ return y().getIsFinal(this.handle);
4642
4642
  }
4643
4643
  getError() {
4644
4644
  const e = [...this.resolvePath, "error"];
4645
4645
  return he(
4646
- m().getError(this.handle),
4646
+ y().getError(this.handle),
4647
4647
  (n2) => new E(n2, e)
4648
4648
  );
4649
4649
  }
4650
4650
  listInputFields() {
4651
- return m().listInputFields(this.handle);
4651
+ return y().listInputFields(this.handle);
4652
4652
  }
4653
4653
  listOutputFields() {
4654
- return m().listOutputFields(this.handle);
4654
+ return y().listOutputFields(this.handle);
4655
4655
  }
4656
4656
  listDynamicFields() {
4657
- return m().listDynamicFields(this.handle);
4657
+ return y().listDynamicFields(this.handle);
4658
4658
  }
4659
4659
  getKeyValueBase64(e) {
4660
- return m().getKeyValueBase64(this.handle, e);
4660
+ return y().getKeyValueBase64(this.handle, e);
4661
4661
  }
4662
4662
  getKeyValueAsString(e) {
4663
- return m().getKeyValueAsString(this.handle, e);
4663
+ return y().getKeyValueAsString(this.handle, e);
4664
4664
  }
4665
4665
  getKeyValueAsJson(e) {
4666
4666
  const n2 = this.getKeyValueAsString(e);
@@ -4668,10 +4668,10 @@
4668
4668
  return JSON.parse(n2);
4669
4669
  }
4670
4670
  getDataBase64() {
4671
- return m().getDataBase64(this.handle);
4671
+ return y().getDataBase64(this.handle);
4672
4672
  }
4673
4673
  getDataAsString() {
4674
- return m().getDataAsString(this.handle);
4674
+ return y().getDataAsString(this.handle);
4675
4675
  }
4676
4676
  getDataAsJson() {
4677
4677
  const e = this.getDataAsString();
@@ -4692,7 +4692,7 @@
4692
4692
  *
4693
4693
  */
4694
4694
  parsePObjectCollection(e = false, n2 = "") {
4695
- const r = m().parsePObjectCollection(
4695
+ const r = y().parsePObjectCollection(
4696
4696
  this.handle,
4697
4697
  e,
4698
4698
  n2,
@@ -4707,14 +4707,14 @@
4707
4707
  return i;
4708
4708
  }
4709
4709
  getFileContentAsBase64(e) {
4710
- return new _(m().getBlobContentAsBase64(this.handle, e));
4710
+ return new _(y().getBlobContentAsBase64(this.handle, e));
4711
4711
  }
4712
4712
  getFileContentAsString(e) {
4713
- return new _(m().getBlobContentAsString(this.handle, e));
4713
+ return new _(y().getBlobContentAsString(this.handle, e));
4714
4714
  }
4715
4715
  getFileContentAsJson(e) {
4716
4716
  return new _(
4717
- m().getBlobContentAsString(this.handle, e)
4717
+ y().getBlobContentAsString(this.handle, e)
4718
4718
  ).mapDefined((n2) => JSON.parse(n2));
4719
4719
  }
4720
4720
  /**
@@ -4733,7 +4733,7 @@
4733
4733
  * @returns downloaded file handle
4734
4734
  */
4735
4735
  getFileHandle() {
4736
- return new _(m().getDownloadedBlobContentHandle(this.handle));
4736
+ return new _(y().getDownloadedBlobContentHandle(this.handle));
4737
4737
  }
4738
4738
  /**
4739
4739
  * @deprecated use getFileHandle
@@ -4745,7 +4745,7 @@
4745
4745
  * @returns downloaded file handle
4746
4746
  */
4747
4747
  getRemoteFileHandle() {
4748
- return new _(m().getOnDemandBlobContentHandle(this.handle));
4748
+ return new _(y().getOnDemandBlobContentHandle(this.handle));
4749
4749
  }
4750
4750
  /**
4751
4751
  * @deprecated use getRemoteFileHandle
@@ -4757,22 +4757,22 @@
4757
4757
  * @returns the url to the extracted folder
4758
4758
  */
4759
4759
  extractArchiveAndGetURL(e) {
4760
- return new _(m().extractArchiveAndGetURL(this.handle, e));
4760
+ return new _(y().extractArchiveAndGetURL(this.handle, e));
4761
4761
  }
4762
4762
  getImportProgress() {
4763
- return new _(m().getImportProgress(this.handle));
4763
+ return new _(y().getImportProgress(this.handle));
4764
4764
  }
4765
4765
  getLastLogs(e) {
4766
- return new _(m().getLastLogs(this.handle, e));
4766
+ return new _(y().getLastLogs(this.handle, e));
4767
4767
  }
4768
4768
  getProgressLog(e) {
4769
- return new _(m().getProgressLog(this.handle, e));
4769
+ return new _(y().getProgressLog(this.handle, e));
4770
4770
  }
4771
4771
  getProgressLogWithInfo(e) {
4772
- return new _(m().getProgressLogWithInfo(this.handle, e));
4772
+ return new _(y().getProgressLogWithInfo(this.handle, e));
4773
4773
  }
4774
4774
  getLogHandle() {
4775
- return new _(m().getLogHandle(this.handle));
4775
+ return new _(y().getLogHandle(this.handle));
4776
4776
  }
4777
4777
  allFieldsResolved(e = "Input") {
4778
4778
  switch (e) {
@@ -4809,75 +4809,75 @@
4809
4809
  label: z$1.string()
4810
4810
  }), wt = z$1.array(bt), At = 1e-3, xt = "__LABEL__", Pe = "__LABEL__@1";
4811
4811
  function je(t, e, n2 = {}) {
4812
- const r = /* @__PURE__ */ new Map(), i = n2.forceTraceElements !== void 0 && n2.forceTraceElements.length > 0 ? new Set(n2.forceTraceElements) : void 0, s2 = /* @__PURE__ */ new Map(), o = t.map((f2) => {
4812
+ const r = /* @__PURE__ */ new Map(), i = n2.forceTraceElements !== void 0 && n2.forceTraceElements.length > 0 ? new Set(n2.forceTraceElements) : void 0, s2 = /* @__PURE__ */ new Map(), o = t.map((p2) => {
4813
4813
  var P2, R;
4814
- const w2 = e(f2);
4815
- let p2, g, b;
4816
- "spec" in w2 && typeof w2.spec == "object" ? (p2 = w2.spec, g = w2.prefixTrace, b = w2.suffixTrace) : p2 = w2;
4817
- const h2 = (P2 = p2.annotations) == null ? void 0 : P2[yt], I = (R = p2.annotations) == null ? void 0 : R[vt], x = (I ? wt.safeParse(JSON.parse(I)).data : void 0) ?? [], v = [
4818
- ...g ?? [],
4814
+ const v = e(p2);
4815
+ let f2, m2, w2;
4816
+ "spec" in v && typeof v.spec == "object" ? (f2 = v.spec, m2 = v.prefixTrace, w2 = v.suffixTrace) : f2 = v;
4817
+ const h2 = (P2 = f2.annotations) == null ? void 0 : P2[yt], I = (R = f2.annotations) == null ? void 0 : R[vt], x = (I ? wt.safeParse(JSON.parse(I)).data : void 0) ?? [], b = [
4818
+ ...m2 ?? [],
4819
4819
  ...x,
4820
- ...b ?? []
4820
+ ...w2 ?? []
4821
4821
  ];
4822
4822
  if (h2 !== void 0) {
4823
4823
  const k2 = { label: h2, type: xt, importance: -2 };
4824
- n2.addLabelAsSuffix ? v.push(k2) : v.splice(0, 0, k2);
4824
+ n2.addLabelAsSuffix ? b.push(k2) : b.splice(0, 0, k2);
4825
4825
  }
4826
4826
  const A = [], L = /* @__PURE__ */ new Map();
4827
- for (let k2 = v.length - 1; k2 >= 0; --k2) {
4828
- const { type: W } = v[k2], j2 = v[k2].importance ?? 0, $ = (L.get(W) ?? 0) + 1;
4829
- L.set(W, $);
4830
- const F = `${W}@${$}`;
4827
+ for (let k2 = b.length - 1; k2 >= 0; --k2) {
4828
+ const { type: W } = b[k2], V = b[k2].importance ?? 0, N2 = (L.get(W) ?? 0) + 1;
4829
+ L.set(W, N2);
4830
+ const F = `${W}@${N2}`;
4831
4831
  s2.set(F, (s2.get(F) ?? 0) + 1), r.set(
4832
4832
  F,
4833
4833
  Math.max(
4834
4834
  r.get(F) ?? Number.NEGATIVE_INFINITY,
4835
- j2 - (v.length - k2) * At
4835
+ V - (b.length - k2) * At
4836
4836
  )
4837
- ), A.push({ ...v[k2], fullType: F, occurrenceIndex: $ });
4837
+ ), A.push({ ...b[k2], fullType: F, occurrenceIndex: N2 });
4838
4838
  }
4839
4839
  return A.reverse(), {
4840
- value: f2,
4841
- spec: p2,
4840
+ value: p2,
4841
+ spec: f2,
4842
4842
  label: h2,
4843
4843
  fullTrace: A
4844
4844
  };
4845
4845
  }), a = [], l2 = [], u2 = [...r];
4846
- u2.sort(([, f2], [, w2]) => w2 - f2);
4847
- for (const [f2] of u2)
4848
- f2.endsWith("@1") || s2.get(f2) === t.length ? a.push(f2) : l2.push(f2);
4849
- const c2 = (f2, w2 = false) => {
4850
- const p2 = [];
4851
- for (let g = 0; g < o.length; g++) {
4852
- const b = o[g], h2 = b.fullTrace.filter((v) => f2.has(v.fullType) || i && i.has(v.type));
4846
+ u2.sort(([, p2], [, v]) => v - p2);
4847
+ for (const [p2] of u2)
4848
+ p2.endsWith("@1") || s2.get(p2) === t.length ? a.push(p2) : l2.push(p2);
4849
+ const c2 = (p2, v = false) => {
4850
+ const f2 = [];
4851
+ for (let m2 = 0; m2 < o.length; m2++) {
4852
+ const w2 = o[m2], h2 = w2.fullTrace.filter((b) => p2.has(b.fullType) || i && i.has(b.type));
4853
4853
  if (h2.length === 0)
4854
- if (w2)
4855
- p2.push({
4854
+ if (v)
4855
+ f2.push({
4856
4856
  label: "Unlabeled",
4857
- value: b.value
4857
+ value: w2.value
4858
4858
  });
4859
4859
  else return;
4860
- const I = h2.map((v) => v.label), x = n2.separator ?? " / ";
4861
- p2.push({
4860
+ const I = h2.map((b) => b.label), x = n2.separator ?? " / ";
4861
+ f2.push({
4862
4862
  label: I.join(x),
4863
- value: b.value
4863
+ value: w2.value
4864
4864
  });
4865
4865
  }
4866
- return p2;
4866
+ return f2;
4867
4867
  };
4868
4868
  if (a.length === 0) {
4869
4869
  if (l2.length !== 0) throw new Error("Non-empty secondary types list while main types list is empty.");
4870
4870
  return c2(new Set(Pe), true);
4871
4871
  }
4872
- let d = 0, y = -1;
4872
+ let d = 0, g = -1;
4873
4873
  for (; d < a.length; ) {
4874
- const f2 = /* @__PURE__ */ new Set();
4875
- n2.includeNativeLabel && f2.add(Pe);
4876
- for (let p2 = 0; p2 < d; ++p2) f2.add(a[p2]);
4877
- y >= 0 && f2.add(a[y]);
4878
- const w2 = c2(f2);
4879
- if (w2 !== void 0 && new Set(w2.map((p2) => p2.label)).size === t.length) return w2;
4880
- y++, y >= a.length && (d++, y = d);
4874
+ const p2 = /* @__PURE__ */ new Set();
4875
+ n2.includeNativeLabel && p2.add(Pe);
4876
+ for (let f2 = 0; f2 < d; ++f2) p2.add(a[f2]);
4877
+ g >= 0 && p2.add(a[g]);
4878
+ const v = c2(p2);
4879
+ if (v !== void 0 && new Set(v.map((f2) => f2.label)).size === t.length) return v;
4880
+ g++, g >= a.length && (d++, g = d);
4881
4881
  }
4882
4882
  return c2(/* @__PURE__ */ new Set([...a, ...l2]), true);
4883
4883
  }
@@ -5215,43 +5215,43 @@
5215
5215
  };
5216
5216
  let u2 = () => false;
5217
5217
  if (a) {
5218
- const p2 = (Array.isArray(a) ? a : [a]).map((g) => {
5219
- if (Se(g)) {
5218
+ const f2 = (Array.isArray(a) ? a : [a]).map((m2) => {
5219
+ if (Se(m2)) {
5220
5220
  if (!r)
5221
5221
  throw new Error("Anchored selectors in exclude require an AnchoredIdDeriver to be provided in options.");
5222
- return Gn(Mn(r.anchors, g, n2));
5222
+ return Gn(Mn(r.anchors, m2, n2));
5223
5223
  } else
5224
- return Gn(g);
5224
+ return Gn(m2);
5225
5225
  });
5226
- u2 = (g) => p2.some((b) => b(g));
5226
+ u2 = (m2) => f2.some((w2) => w2(m2));
5227
5227
  }
5228
- const c2 = typeof e == "function" ? [e] : Array.isArray(e) ? e : [e], d = [], y = /* @__PURE__ */ new Set();
5229
- for (const p2 of c2) {
5230
- const g = Se(p2);
5231
- let b;
5232
- if (g) {
5228
+ const c2 = typeof e == "function" ? [e] : Array.isArray(e) ? e : [e], d = [], g = /* @__PURE__ */ new Set();
5229
+ for (const f$1 of c2) {
5230
+ const m2 = Se(f$1);
5231
+ let w2;
5232
+ if (m2) {
5233
5233
  if (!r)
5234
5234
  throw new Error("Anchored selectors require an AnchoredIdDeriver to be provided in options.");
5235
- b = Mn(r.anchors, p2, n2);
5235
+ w2 = Mn(r.anchors, f$1, n2);
5236
5236
  } else
5237
- b = p2;
5237
+ w2 = f$1;
5238
5238
  const h2 = /* @__PURE__ */ new Set(), I = [];
5239
5239
  for (const A of this.providers) {
5240
- const L = A.selectColumns(b);
5240
+ const L = A.selectColumns(w2);
5241
5241
  for (const P2 of L) {
5242
5242
  if (u2(P2.spec)) continue;
5243
5243
  if (h2.has(P2.id))
5244
5244
  throw new Error(`Duplicate column id ${P2.id} in provider ${A.constructor.name}`);
5245
5245
  const R = Qn(P2.spec);
5246
- y.has(R) || (h2.add(P2.id), y.add(R), I.push(P2));
5246
+ g.has(R) || (h2.add(P2.id), g.add(R), I.push(P2));
5247
5247
  }
5248
5248
  }
5249
5249
  if (I.length === 0) continue;
5250
- const x = Dt(p2), v = x.length > 0;
5250
+ const x = Dt(f$1), b = x.length > 0;
5251
5251
  for (const A of I) {
5252
5252
  if (!f(A.spec)) continue;
5253
5253
  const L = A.spec;
5254
- if (v) {
5254
+ if (b) {
5255
5255
  if (Lt(A.data))
5256
5256
  throw new Error(`Splitting is not supported for PColumns with PColumnValues data format. Column id: ${A.id}`);
5257
5257
  const P2 = _t(A.data);
@@ -5264,33 +5264,33 @@
5264
5264
  const R = St(P2), k2 = x[x.length - 1];
5265
5265
  if (k2 >= P2.partitionKeyLength)
5266
5266
  throw new Error(`Not enough partition keys (${P2.partitionKeyLength}) for requested split axes (max index ${k2}) in column ${L.name}`);
5267
- const W = x.map((S) => this.findLabels(p$1(L.axesSpec[S]))), j2 = [], $ = (S, G) => {
5267
+ const W = x.map((S) => this.findLabels(p$1(L.axesSpec[S]))), V = [], N2 = (S, G) => {
5268
5268
  if (G >= x.length) {
5269
- if (j2.push([...S]), j2.length > 1e4)
5269
+ if (V.push([...S]), V.length > 1e4)
5270
5270
  throw new Error("Too many key combinations, aborting.");
5271
5271
  return;
5272
5272
  }
5273
- const V = x[G];
5274
- if (V >= R.length)
5275
- throw new Error(`Axis index ${V} out of bounds for unique keys array (length ${R.length}) during split key generation for column ${A.id}`);
5276
- const N2 = R[V];
5277
- if (!N2 || N2.length === 0) {
5278
- j2.length = 0;
5273
+ const $ = x[G];
5274
+ if ($ >= R.length)
5275
+ throw new Error(`Axis index ${$} out of bounds for unique keys array (length ${R.length}) during split key generation for column ${A.id}`);
5276
+ const J2 = R[$];
5277
+ if (!J2 || J2.length === 0) {
5278
+ V.length = 0;
5279
5279
  return;
5280
5280
  }
5281
- for (const ee of N2)
5282
- S.push(ee), $(S, G + 1), S.pop();
5281
+ for (const ee of J2)
5282
+ S.push(ee), N2(S, G + 1), S.pop();
5283
5283
  };
5284
- if ($([], 0), j2.length === 0)
5284
+ if (N2([], 0), V.length === 0)
5285
5285
  continue;
5286
5286
  const F = [...L.axesSpec], Be = x.map((S) => S);
5287
5287
  for (let S = x.length - 1; S >= 0; S--)
5288
5288
  F.splice(x[S], 1);
5289
5289
  const We = { ...L, axesSpec: F };
5290
- for (const S of j2) {
5291
- const G = S.map((V, N2) => {
5292
- const ee = Be[N2], Ge = p$1(L.axesSpec[ee]), ue = W[N2], He = (ue == null ? void 0 : ue[V]) ?? String(V);
5293
- return { axisIdx: ee, axisId: Ge, value: V, label: He };
5290
+ for (const S of V) {
5291
+ const G = S.map(($, J2) => {
5292
+ const ee = Be[J2], Ge = p$1(L.axesSpec[ee]), ue = W[J2], He = (ue == null ? void 0 : ue[$]) ?? String($);
5293
+ return { axisIdx: ee, axisId: Ge, value: $, label: He };
5294
5294
  });
5295
5295
  d.push({
5296
5296
  type: "split",
@@ -5311,33 +5311,33 @@
5311
5311
  }
5312
5312
  }
5313
5313
  if (d.length === 0) return [];
5314
- const f$1 = je(
5314
+ const p2 = je(
5315
5315
  d,
5316
- (p2) => ({
5317
- spec: p2.spec,
5318
- suffixTrace: p2.type === "split" ? Et(p2.axisFilters) : void 0
5316
+ (f2) => ({
5317
+ spec: f2.spec,
5318
+ suffixTrace: f2.type === "split" ? Et(f2.axisFilters) : void 0
5319
5319
  }),
5320
5320
  l2
5321
- ), w2 = [];
5322
- for (const { value: p2, label: g } of f$1) {
5323
- const { originalColumn: b, spec: h2 } = p2, I = p2.type === "split" ? p2.axisFilters : void 0, x = kt(I);
5324
- let v;
5325
- r ? v = r.deriveS(h2, x) : v = Ot(b.id, x);
5326
- let A = { ...p2.adjustedSpec };
5321
+ ), v = [];
5322
+ for (const { value: f2, label: m2 } of p2) {
5323
+ const { originalColumn: w2, spec: h2 } = f2, I = f2.type === "split" ? f2.axisFilters : void 0, x = kt(I);
5324
+ let b;
5325
+ r ? b = r.deriveS(h2, x) : b = Ot(w2.id, x);
5326
+ let A = { ...f2.adjustedSpec };
5327
5327
  o && (A = {
5328
5328
  ...A,
5329
5329
  annotations: {
5330
5330
  ...A.annotations ?? {},
5331
- "pl7.app/label": g
5331
+ "pl7.app/label": m2
5332
5332
  }
5333
- }), w2.push({
5334
- id: v,
5333
+ }), v.push({
5334
+ id: b,
5335
5335
  spec: A,
5336
- data: () => p2.type === "split" ? Jn(It(p2.dataEntries, x)) : p2.originalColumn.data,
5337
- label: g
5336
+ data: () => f2.type === "split" ? Jn(It(f2.dataEntries, x)) : f2.originalColumn.data,
5337
+ label: m2
5338
5338
  });
5339
5339
  }
5340
- return w2;
5340
+ return v;
5341
5341
  }
5342
5342
  getColumns(e, n2) {
5343
5343
  const r = this.getUniversalEntries(e, {
@@ -5374,7 +5374,7 @@
5374
5374
  }
5375
5375
  class Rt {
5376
5376
  constructor() {
5377
- O(this, "ctx", m());
5377
+ O(this, "ctx", y());
5378
5378
  }
5379
5379
  /**
5380
5380
  * @deprecated use getOptions()
@@ -5648,7 +5648,7 @@
5648
5648
  O(this, "uiState");
5649
5649
  O(this, "_activeArgsCache");
5650
5650
  O(this, "resultPool", new Rt());
5651
- this.ctx = m(), this.args = JSON.parse(this.ctx.args), this.uiState = this.ctx.uiState !== void 0 ? JSON.parse(this.ctx.uiState) : {};
5651
+ this.ctx = y(), this.args = JSON.parse(this.ctx.args), this.uiState = this.ctx.uiState !== void 0 ? JSON.parse(this.ctx.uiState) : {};
5652
5652
  }
5653
5653
  /**
5654
5654
  * Returns args snapshot the block was executed for (i.e. when "Run" button was pressed).
@@ -5724,7 +5724,7 @@
5724
5724
  this.ctx.logError(e);
5725
5725
  }
5726
5726
  }
5727
- const Y = "1.34.0";
5727
+ const Y = "1.34.10";
5728
5728
  function Ft(t) {
5729
5729
  return t.__renderLambda === true;
5730
5730
  }
@@ -5967,8 +5967,8 @@
5967
5967
  for (const a of e) {
5968
5968
  const l2 = a.spec.axesSpec[0], u2 = p$1(l2), c2 = i.findIndex((d) => Z$1(d, u2));
5969
5969
  if (c2 !== -1) {
5970
- const d = i[c2], y = Object.keys(d.domain ?? {}).length, f2 = Object.keys(l2.domain ?? {}).length;
5971
- y > f2 ? o.push({
5970
+ const d = i[c2], g = Object.keys(d.domain ?? {}).length, p2 = Object.keys(l2.domain ?? {}).length;
5971
+ g > p2 ? o.push({
5972
5972
  id: s2(a.id, d.domain),
5973
5973
  spec: {
5974
5974
  ...a.spec,
@@ -6041,37 +6041,37 @@
6041
6041
  return ((e = t.annotations) == null ? void 0 : e["pl7.app/table/visibility"]) === "optional";
6042
6042
  }
6043
6043
  function Rn(t, e, n2, r, i) {
6044
- var g, b;
6045
- const s2 = (i == null ? void 0 : i.coreJoinType) ?? "full", o = [...(i == null ? void 0 : i.filters) ?? [], ...((g = r == null ? void 0 : r.pTableParams) == null ? void 0 : g.filters) ?? []], a = ((b = r == null ? void 0 : r.pTableParams) == null ? void 0 : b.sorting) ?? [], l2 = e.filter((h2) => !Kt(h2.spec)), u2 = l2.find((h2) => n2(h2.spec));
6044
+ var m2, w2;
6045
+ const s2 = (i == null ? void 0 : i.coreJoinType) ?? "full", o = [...(i == null ? void 0 : i.filters) ?? [], ...((m2 = r == null ? void 0 : r.pTableParams) == null ? void 0 : m2.filters) ?? []], a = ((w2 = r == null ? void 0 : r.pTableParams) == null ? void 0 : w2.sorting) ?? [], l2 = e.filter((h2) => !Kt(h2.spec)), u2 = l2.find((h2) => n2(h2.spec));
6046
6046
  if (!u2) return;
6047
6047
  const c2 = Ne(t.resultPool);
6048
6048
  if (!c2) return;
6049
6049
  const d = new Set((() => {
6050
6050
  var I, x;
6051
6051
  if (s2 === "inner") return [];
6052
- const h2 = (x = (I = r == null ? void 0 : r.gridState.columnVisibility) == null ? void 0 : I.hiddenColIds) == null ? void 0 : x.map(ce$1).filter((v) => v.type === "column").map((v) => v.id);
6053
- return h2 || l2.filter((v) => jt(v.spec)).map((v) => v.id);
6052
+ const h2 = (x = (I = r == null ? void 0 : r.gridState.columnVisibility) == null ? void 0 : I.hiddenColIds) == null ? void 0 : x.map(ce$1).filter((b) => b.type === "column").map((b) => b.id);
6053
+ return h2 || l2.filter((b) => jt(b.spec)).map((b) => b.id);
6054
6054
  })());
6055
6055
  d.delete(u2.id), [...o.map((h2) => h2.column), ...a.map((h2) => h2.column)].filter((h2) => h2.type === "column").map((h2) => d.delete(h2.id));
6056
- const y = l2.filter((h2) => !d.has(h2.id)), f2 = Je(y.map(Fn), c2), w2 = [
6056
+ const g = l2.filter((h2) => !d.has(h2.id)), p2 = Je(g.map(Fn), c2), v = [
6057
6057
  ...u2.spec.axesSpec.map((h2) => ({
6058
6058
  type: "axis",
6059
6059
  id: p$1(h2),
6060
6060
  spec: h2
6061
6061
  })),
6062
- ...[...l2, ...f2].map((h2) => ({
6062
+ ...[...l2, ...p2].map((h2) => ({
6063
6063
  type: "column",
6064
6064
  id: h2.id,
6065
6065
  spec: h2.spec
6066
6066
  }))
6067
6067
  ];
6068
- if (!Me([...y, ...f2])) return;
6069
- const p2 = t.createPTable(
6070
- Ue(l2, f2, s2, o, a, i == null ? void 0 : i.coreColumnPredicate)
6068
+ if (!Me([...g, ...p2])) return;
6069
+ const f2 = t.createPTable(
6070
+ Ue(l2, p2, s2, o, a, i == null ? void 0 : i.coreColumnPredicate)
6071
6071
  );
6072
6072
  return {
6073
- tableSpec: w2,
6074
- tableHandle: p2
6073
+ tableSpec: v,
6074
+ tableHandle: f2
6075
6075
  };
6076
6076
  }
6077
6077
  const ImportFileHandleSchema = z$1.string().optional().refine(