@milaboratories/milaboratories.ui-examples.model 1.1.33 → 1.1.35

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 "/opt/actions-runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @milaboratories/milaboratories.ui-examples.model@1.1.33 build /opt/actions-runner/_work/platforma/platforma/etc/blocks/ui-examples/model
3
+ > @milaboratories/milaboratories.ui-examples.model@1.1.35 build /opt/actions-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 4.74 KB
15
- ESM dist/index.js.map 11.23 KB
16
- ESM ⚡️ Build success in 78ms
17
14
  CJS dist/index.cjs 4.88 KB
18
15
  CJS dist/index.cjs.map 11.28 KB
19
- CJS ⚡️ Build success in 78ms
16
+ CJS ⚡️ Build success in 185ms
17
+ ESM dist/index.js 4.74 KB
18
+ ESM dist/index.js.map 11.23 KB
19
+ ESM ⚡️ Build success in 185ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 831ms
21
+ DTS ⚡️ Build success in 1630ms
22
22
  DTS dist/index.d.cts 2.40 KB
23
23
  DTS dist/index.d.ts 2.40 KB
24
24
  vite v5.4.11 building for production...
@@ -26,6 +26,6 @@ transforming...
26
26
  ✓ 6 modules transformed.
27
27
  rendering chunks...
28
28
  computing gzip size...
29
- dist/bundle.js 172.88 kB │ gzip: 33.08 kB │ map: 370.29 kB
30
- dist/bundle.js 184.89 kB │ gzip: 33.69 kB │ map: 371.68 kB
31
- ✓ built in 432ms
29
+ dist/bundle.js 173.11 kB │ gzip: 33.12 kB │ map: 370.71 kB
30
+ dist/bundle.js 185.15 kB │ gzip: 33.74 kB │ map: 372.10 kB
31
+ ✓ built in 768ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @milaboratories/milaboratories.ui-examples.model
2
2
 
3
+ ## 1.1.35
4
+
5
+ ### Patch Changes
6
+
7
+ - @platforma-sdk/model@1.27.8
8
+
9
+ ## 1.1.34
10
+
11
+ ### Patch Changes
12
+
13
+ - @platforma-sdk/model@1.27.6
14
+
3
15
  ## 1.1.33
4
16
 
5
17
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -402,7 +402,7 @@
402
402
  };
403
403
  }
404
404
  let errorMessage = "";
405
- const maps = errorMaps.filter((m2) => !!m2).slice().reverse();
405
+ const maps = errorMaps.filter((m) => !!m).slice().reverse();
406
406
  for (const map of maps) {
407
407
  errorMessage = map(fullIssue, { data, defaultError: errorMessage }).message;
408
408
  }
@@ -3954,7 +3954,7 @@
3954
3954
  function w(n) {
3955
3955
  throw new Error("Unexpected object: " + n);
3956
3956
  }
3957
- function yn(n) {
3957
+ function dn(n) {
3958
3958
  if (!n || typeof n != "object")
3959
3959
  return false;
3960
3960
  const t = n;
@@ -3971,7 +3971,7 @@
3971
3971
  return false;
3972
3972
  }
3973
3973
  }
3974
- function mn(n, t) {
3974
+ function pn(n, t) {
3975
3975
  if (n !== void 0)
3976
3976
  switch (n.type) {
3977
3977
  case "Json":
@@ -3999,7 +3999,7 @@
3999
3999
  }
4000
4000
  }
4001
4001
  }
4002
- function bn(n) {
4002
+ function ln(n) {
4003
4003
  switch (n.type) {
4004
4004
  case "Json": {
4005
4005
  const t = {};
@@ -4033,22 +4033,22 @@
4033
4033
  }
4034
4034
  }
4035
4035
  }
4036
- function m(n) {
4036
+ function y(n) {
4037
4037
  const { type: t, name: e, domain: r } = n;
4038
4038
  return { type: t, name: e, ...r && { domain: r } };
4039
4039
  }
4040
4040
  function Sn(n) {
4041
- return g(m(n));
4041
+ return g(y(n));
4042
4042
  }
4043
- function z$1(n, t) {
4043
+ function W(n, t) {
4044
4044
  if (n === void 0) return t === void 0;
4045
4045
  if (t === void 0) return true;
4046
4046
  for (const e in t)
4047
4047
  if (n[e] !== t[e]) return false;
4048
4048
  return true;
4049
4049
  }
4050
- function G(n, t) {
4051
- return n.name === t.name && z$1(n.domain, t.domain);
4050
+ function X(n, t) {
4051
+ return n.name === t.name && W(n.domain, t.domain);
4052
4052
  }
4053
4053
  function En(n, t) {
4054
4054
  return { ...n, src: l(n.src, t) };
@@ -4060,6 +4060,13 @@
4060
4060
  type: "column",
4061
4061
  column: t(n.column)
4062
4062
  };
4063
+ case "slicedColumn":
4064
+ return {
4065
+ type: "slicedColumn",
4066
+ column: t(n.column),
4067
+ newId: n.newId,
4068
+ axisFilters: n.axisFilters
4069
+ };
4063
4070
  case "inner":
4064
4071
  case "full":
4065
4072
  return {
@@ -4076,11 +4083,11 @@
4076
4083
  w(n);
4077
4084
  }
4078
4085
  }
4079
- function Q$1(n) {
4086
+ function z$1(n) {
4080
4087
  return g(n);
4081
4088
  }
4082
4089
  function P(n) {
4083
- return g(m(n));
4090
+ return g(y(n));
4084
4091
  }
4085
4092
  function x(n, t) {
4086
4093
  return JSON.stringify([n, t]);
@@ -4100,15 +4107,15 @@
4100
4107
  e.sort((r, o) => r[0].localeCompare(o[0]));
4101
4108
  for (const [r, o] of e) {
4102
4109
  for (let i = 0; i < o.axesSpec.length; i++) {
4103
- const s = o.axesSpec[i], a = P(s);
4104
- this.axes.set(a, { anchor: r, idx: i });
4110
+ const a = o.axesSpec[i], s = P(a);
4111
+ this.axes.set(s, { anchor: r, idx: i });
4105
4112
  }
4106
4113
  if (o.domain !== void 0) {
4107
4114
  const i = Object.entries(o.domain);
4108
- i.sort((s, a) => s[0].localeCompare(a[0])), this.domainPackToAnchor.set(JSON.stringify(i), r), this.domainPacks.push(i.map(([s]) => s));
4109
- for (const [s, a] of i) {
4110
- const c = x(s, a);
4111
- this.domains.set(c, r);
4115
+ i.sort((a, s) => a[0].localeCompare(s[0])), this.domainPackToAnchor.set(JSON.stringify(i), r), this.domainPacks.push(i.map(([a]) => a));
4116
+ for (const [a, s] of i) {
4117
+ const u = x(a, s);
4118
+ this.domains.set(u, r);
4112
4119
  }
4113
4120
  }
4114
4121
  }
@@ -4124,47 +4131,47 @@
4124
4131
  let o;
4125
4132
  if (t.domain !== void 0)
4126
4133
  n:
4127
- for (const s of this.domainPacks) {
4128
- const a = [];
4129
- for (const u of s) {
4130
- const d = t.domain[u];
4134
+ for (const a of this.domainPacks) {
4135
+ const s = [];
4136
+ for (const c of a) {
4137
+ const d = t.domain[c];
4131
4138
  if (d !== void 0)
4132
- a.push([u, d]);
4139
+ s.push([c, d]);
4133
4140
  else
4134
4141
  break n;
4135
4142
  }
4136
- const c = this.domainPackToAnchor.get(JSON.stringify(a));
4137
- if (c !== void 0) {
4138
- r.domainAnchor = c, o = new Set(s);
4143
+ const u = this.domainPackToAnchor.get(JSON.stringify(s));
4144
+ if (u !== void 0) {
4145
+ r.domainAnchor = u, o = new Set(a);
4139
4146
  break;
4140
4147
  }
4141
4148
  }
4142
- for (const [s, a] of Object.entries(t.domain ?? {})) {
4143
- if (o !== void 0 && o.has(s))
4149
+ for (const [a, s] of Object.entries(t.domain ?? {})) {
4150
+ if (o !== void 0 && o.has(a))
4144
4151
  continue;
4145
- const c = x(s, a), u = this.domains.get(c);
4146
- r.domain ?? (r.domain = {}), r.domain[s] = u ? { anchor: u } : a;
4152
+ const u = x(a, s), c = this.domains.get(u);
4153
+ r.domain ?? (r.domain = {}), r.domain[a] = c ? { anchor: c } : s;
4147
4154
  }
4148
- if (r.axes = t.axesSpec.map((s) => {
4149
- const a = P(s);
4150
- return this.axes.get(a) ?? s;
4155
+ if (r.axes = t.axesSpec.map((a) => {
4156
+ const s = P(a);
4157
+ return this.axes.get(s) ?? a;
4151
4158
  }), !e || e.length === 0)
4152
4159
  return r;
4153
4160
  const i = [];
4154
- for (const s of e) {
4155
- const [a, c] = s;
4156
- if (typeof a == "number") {
4157
- if (a < 0 || a >= t.axesSpec.length)
4158
- throw new Error(`Axis index ${a} is out of bounds (0-${t.axesSpec.length - 1})`);
4159
- i.push([a, c]);
4161
+ for (const a of e) {
4162
+ const [s, u] = a;
4163
+ if (typeof s == "number") {
4164
+ if (s < 0 || s >= t.axesSpec.length)
4165
+ throw new Error(`Axis index ${s} is out of bounds (0-${t.axesSpec.length - 1})`);
4166
+ i.push([s, u]);
4160
4167
  } else {
4161
- const u = t.axesSpec.findIndex((d) => d.name === a);
4162
- if (u === -1)
4163
- throw new Error(`Axis with name "${a}" not found in the column specification`);
4164
- i.push([u, c]);
4168
+ const c = t.axesSpec.findIndex((d) => d.name === s);
4169
+ if (c === -1)
4170
+ throw new Error(`Axis with name "${s}" not found in the column specification`);
4171
+ i.push([c, u]);
4165
4172
  }
4166
4173
  }
4167
- return i.sort((s, a) => s[0] - a[0]), {
4174
+ return i.sort((a, s) => a[0] - s[0]), {
4168
4175
  source: r,
4169
4176
  axisFilters: i
4170
4177
  };
@@ -4176,7 +4183,7 @@
4176
4183
  * @returns A canonicalized string representation of the anchored column identifier
4177
4184
  */
4178
4185
  deriveS(t, e) {
4179
- return Q$1(this.derive(t, e));
4186
+ return z$1(this.derive(t, e));
4180
4187
  }
4181
4188
  }
4182
4189
  function Jn(n, t) {
@@ -4194,19 +4201,19 @@
4194
4201
  if (typeof i == "string")
4195
4202
  r[o] = i;
4196
4203
  else {
4197
- const s = n[i.anchor];
4198
- if (!s)
4204
+ const a = n[i.anchor];
4205
+ if (!a)
4199
4206
  throw new Error(`Anchor "${i.anchor}" not found for domain key "${o}"`);
4200
- if (!s.domain || s.domain[o] === void 0)
4207
+ if (!a.domain || a.domain[o] === void 0)
4201
4208
  throw new Error(`Domain key "${o}" not found in anchor "${i.anchor}"`);
4202
- r[o] = s.domain[o];
4209
+ r[o] = a.domain[o];
4203
4210
  }
4204
4211
  e.domain = r;
4205
4212
  }
4206
- return e.axes && (e.axes = e.axes.map((r) => Y$1(n, r))), e;
4213
+ return e.axes && (e.axes = e.axes.map((r) => G(n, r))), e;
4207
4214
  }
4208
- function Y$1(n, t) {
4209
- if (!Z$1(t))
4215
+ function G(n, t) {
4216
+ if (!Q$1(t))
4210
4217
  return t;
4211
4218
  const e = t.anchor, r = n[e];
4212
4219
  if (!r)
@@ -4223,7 +4230,7 @@
4223
4230
  throw new Error(`Axis with name "${t.name}" not found in anchor "${e}"`);
4224
4231
  return o[0];
4225
4232
  } else if ("id" in t) {
4226
- const o = r.axesSpec.filter((i) => G(t.id, m(i)));
4233
+ const o = r.axesSpec.filter((i) => X(t.id, y(i)));
4227
4234
  if (o.length > 1)
4228
4235
  throw new Error(`Multiple matching axes found for matcher in anchor "${e}"`);
4229
4236
  if (o.length === 0)
@@ -4232,31 +4239,34 @@
4232
4239
  }
4233
4240
  throw new Error("Unsupported axis reference type");
4234
4241
  }
4235
- function Z$1(n) {
4242
+ function Q$1(n) {
4236
4243
  return typeof n == "object" && "anchor" in n;
4237
4244
  }
4238
4245
  function f(n) {
4239
4246
  return n.kind === "PColumn";
4240
4247
  }
4241
- function q$1(n) {
4248
+ function Y$1(n) {
4242
4249
  return f(n.spec);
4243
4250
  }
4244
4251
  function Dn(n) {
4245
- if (!q$1(n)) throw new Error(`not a PColumn (kind = ${n.spec.kind})`);
4252
+ if (!Y$1(n)) throw new Error(`not a PColumn (kind = ${n.spec.kind})`);
4246
4253
  return n;
4247
4254
  }
4248
- function jn(n, t) {
4255
+ function In(n, t) {
4249
4256
  return n === void 0 ? void 0 : {
4250
4257
  ...n,
4251
4258
  data: t(n.data)
4252
4259
  };
4253
4260
  }
4254
- function Bn(n) {
4261
+ function jn(n) {
4255
4262
  const t = /* @__PURE__ */ new Map(), e = (r) => {
4256
4263
  switch (r.type) {
4257
4264
  case "column":
4258
4265
  t.set(r.column.id, r.column);
4259
4266
  return;
4267
+ case "slicedColumn":
4268
+ t.set(r.column.id, r.column);
4269
+ return;
4260
4270
  case "full":
4261
4271
  case "inner":
4262
4272
  for (const o of r.entries) e(o);
@@ -4306,7 +4316,7 @@
4306
4316
  return false;
4307
4317
  }
4308
4318
  if (t.axes !== void 0) {
4309
- const e = n.axesSpec.map(m);
4319
+ const e = n.axesSpec.map(y);
4310
4320
  if (t.partialAxesMatch) {
4311
4321
  for (const r of t.axes)
4312
4322
  if (!e.some((o) => k(r, o)))
@@ -4335,7 +4345,7 @@
4335
4345
  }
4336
4346
  return true;
4337
4347
  }
4338
- function In(n) {
4348
+ function Bn(n) {
4339
4349
  return Array.isArray(n) ? (t) => n.some((e) => f(t) && N$1(t, e)) : (t) => f(t) && N$1(t, n);
4340
4350
  }
4341
4351
  z$2.object({
@@ -4351,8 +4361,8 @@
4351
4361
  function Mn(n, t) {
4352
4362
  return n.ok ? { ok: true, value: t(n.value) } : n;
4353
4363
  }
4354
- const an = 24;
4355
- z$2.string().length(an).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
4364
+ const rn = 24;
4365
+ z$2.string().length(rn).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
4356
4366
  var _e = Object.defineProperty;
4357
4367
  var Ie = (t, e, n) => e in t ? _e(t, e, { enumerable: true, configurable: true, writable: true, value: n }) : t[e] = n;
4358
4368
  var T = (t, e, n) => Ie(t, typeof e != "symbol" ? e + "" : e, n);
@@ -4515,7 +4525,7 @@
4515
4525
  getPColumns(e = false, n = "") {
4516
4526
  const r = this.parsePObjectCollection(e, n);
4517
4527
  return r === void 0 ? void 0 : Object.entries(r).map(([, s]) => {
4518
- if (!q$1(s)) throw new Error(`not a PColumn (kind = ${s.spec.kind})`);
4528
+ if (!Y$1(s)) throw new Error(`not a PColumn (kind = ${s.spec.kind})`);
4519
4529
  return s;
4520
4530
  });
4521
4531
  }
@@ -4533,7 +4543,7 @@
4533
4543
  const i = {};
4534
4544
  for (const [s, o] of Object.entries(r)) {
4535
4545
  const a = [...this.resolvePath, s];
4536
- i[s] = jn(o, (c) => new I(c, a));
4546
+ i[s] = In(o, (c) => new I(c, a));
4537
4547
  }
4538
4548
  return i;
4539
4549
  }
@@ -4629,7 +4639,7 @@
4629
4639
  let c = (r === "Input" ? this.listInputFields() : r === "Output" ? this.listOutputFields() : this.listDynamicFields()).map(
4630
4640
  (l2) => [l2, this.resolve({ field: l2, assertFieldType: r })]
4631
4641
  );
4632
- return s && (c = c.filter((l2) => l2[1] !== void 0)), c.map(([l2, m2]) => o(l2, m2));
4642
+ return s && (c = c.filter((l2) => l2[1] !== void 0)), c.map(([l2, m]) => o(l2, m));
4633
4643
  }
4634
4644
  }
4635
4645
  const ve = "staging", we = "main";
@@ -4643,10 +4653,10 @@
4643
4653
  const r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), s = t.map((f2) => {
4644
4654
  var R, k2;
4645
4655
  const p2 = e(f2);
4646
- let d, y, g2;
4647
- "spec" in p2 && typeof p2.spec == "object" ? (d = p2.spec, y = p2.prefixTrace, g2 = p2.suffixTrace) : d = p2;
4656
+ let d, y2, g2;
4657
+ "spec" in p2 && typeof p2.spec == "object" ? (d = p2.spec, y2 = p2.prefixTrace, g2 = p2.suffixTrace) : d = p2;
4648
4658
  const v = (R = d.annotations) == null ? void 0 : R[Ue], w2 = (k2 = d.annotations) == null ? void 0 : k2[Me], x2 = (w2 ? We.safeParse(JSON.parse(w2)).data : void 0) ?? [], C = [
4649
- ...y ?? [],
4659
+ ...y2 ?? [],
4650
4660
  ...x2,
4651
4661
  ...g2 ?? []
4652
4662
  ];
@@ -4678,9 +4688,9 @@
4678
4688
  for (const [f2] of c)
4679
4689
  f2.endsWith("@1") || i.get(f2) === t.length ? o.push(f2) : a.push(f2);
4680
4690
  const l2 = (f2) => s.map((p2) => {
4681
- const d = p2.fullTrace.filter((g2) => f2.has(g2.fullType)).map((g2) => g2.label), y = n.separator ?? " / ";
4691
+ const d = p2.fullTrace.filter((g2) => f2.has(g2.fullType)).map((g2) => g2.label), y2 = n.separator ?? " / ";
4682
4692
  return {
4683
- label: d.join(y),
4693
+ label: d.join(y2),
4684
4694
  value: p2.value
4685
4695
  };
4686
4696
  });
@@ -4688,15 +4698,15 @@
4688
4698
  if (a.length !== 0) throw new Error("Assertion error.");
4689
4699
  return l2(new Set(pe));
4690
4700
  }
4691
- let m2 = 0, u = 0;
4692
- for (; m2 < o.length; ) {
4701
+ let m = 0, u = 0;
4702
+ for (; m < o.length; ) {
4693
4703
  const f2 = /* @__PURE__ */ new Set();
4694
4704
  n.includeNativeLabel && f2.add(pe);
4695
- for (let d = 0; d < m2; ++d) f2.add(o[d]);
4705
+ for (let d = 0; d < m; ++d) f2.add(o[d]);
4696
4706
  f2.add(o[u]);
4697
4707
  const p2 = l2(f2);
4698
4708
  if (new Set(p2.map((d) => d.label)).size === t.length) return p2;
4699
- u++, u == o.length && (m2++, u = m2);
4709
+ u++, u == o.length && (m++, u = m);
4700
4710
  }
4701
4711
  return l2(/* @__PURE__ */ new Set([...o, ...a]));
4702
4712
  }
@@ -4934,7 +4944,7 @@
4934
4944
  return true;
4935
4945
  }
4936
4946
  function fe(t) {
4937
- return jn(t, (e) => e instanceof I ? e.handle : yn(e) ? mn(e, (n) => n.handle) : e);
4947
+ return In(t, (e) => e instanceof I ? e.handle : dn(e) ? pn(e, (n) => n.handle) : e);
4938
4948
  }
4939
4949
  function Qe(t) {
4940
4950
  if (t)
@@ -4960,7 +4970,7 @@
4960
4970
  return this.ctx.calculateOptions(e);
4961
4971
  }
4962
4972
  getOptions(e, n) {
4963
- const r = typeof e == "function" ? e : In(e), i = this.getSpecs().entries.filter((s) => r(s.obj));
4973
+ const r = typeof e == "function" ? e : Bn(e), i = this.getSpecs().entries.filter((s) => r(s.obj));
4964
4974
  return typeof n == "object" || typeof n > "u" ? de(i, (s) => s.obj, n ?? {}).map(({ value: { ref: s }, label: o }) => ({
4965
4975
  ref: s,
4966
4976
  label: o
@@ -4976,38 +4986,38 @@
4976
4986
  getUniversalPColumnEntries(e, n, r) {
4977
4987
  const i = {};
4978
4988
  if (!(e instanceof On))
4979
- for (const [l2, m2] of Object.entries(e))
4980
- if (Kn(m2)) {
4981
- const u = this.getPColumnSpecByRef(m2);
4989
+ for (const [l2, m] of Object.entries(e))
4990
+ if (Kn(m)) {
4991
+ const u = this.getPColumnSpecByRef(m);
4982
4992
  if (!u)
4983
4993
  return;
4984
4994
  i[l2] = u;
4985
4995
  } else
4986
- i[l2] = m2;
4996
+ i[l2] = m;
4987
4997
  const s = typeof n == "function" ? [n] : Array.isArray(n) ? n : [n], o = e instanceof On ? e : new On(i), a = [];
4988
4998
  for (const l2 of s) {
4989
- const m$1 = typeof l2 == "function" ? l2 : In(Jn(i, l2)), u = this.getSpecs().entries.filter(({ obj: p2 }) => f(p2) ? m$1(p2) : false);
4999
+ const m = typeof l2 == "function" ? l2 : Bn(Jn(i, l2)), u = this.getSpecs().entries.filter(({ obj: p2 }) => f(p2) ? m(p2) : false);
4990
5000
  if (u.length === 0)
4991
5001
  continue;
4992
5002
  const f$1 = typeof l2 == "object" && "axes" in l2 && l2.axes !== void 0 && l2.partialAxesMatch === void 0 ? l2.axes.map((p2, d) => "split" in p2 && p2.split === true ? d : -1).filter((p2) => p2 !== -1) : [];
4993
5003
  if (f$1.sort((p2, d) => p2 - d), f$1.length > 0) {
4994
5004
  const p2 = f$1[f$1.length - 1];
4995
- for (const { ref: d, obj: y } of u) {
4996
- if (!f(y)) throw new Error(`Assertion failed: expected PColumnSpec, got ${y.kind}`);
5005
+ for (const { ref: d, obj: y$1 } of u) {
5006
+ if (!f(y$1)) throw new Error(`Assertion failed: expected PColumnSpec, got ${y$1.kind}`);
4997
5007
  const g2 = this.getDataByRef(d);
4998
5008
  if (!g2) {
4999
5009
  if (r != null && r.dontWaitAllData) continue;
5000
5010
  return;
5001
5011
  }
5002
- if (!q$1(g2)) throw new Error(`Assertion failed: expected PColumn, got ${g2.spec.kind}`);
5012
+ if (!Y$1(g2)) throw new Error(`Assertion failed: expected PColumn, got ${g2.spec.kind}`);
5003
5013
  const v = Ye(g2.data);
5004
5014
  if (!v) {
5005
5015
  if (r != null && r.dontWaitAllData) continue;
5006
5016
  return;
5007
5017
  }
5008
5018
  if (p2 >= v.length)
5009
- throw new Error(`Not enough partition keys for the requested split axes in column ${y.name}`);
5010
- const w2 = f$1.map((P2) => this.findLabels(m(y.axesSpec[P2]))), x2 = [], C = (P2, F) => {
5019
+ throw new Error(`Not enough partition keys for the requested split axes in column ${y$1.name}`);
5020
+ const w2 = f$1.map((P2) => this.findLabels(y(y$1.axesSpec[P2]))), x2 = [], C = (P2, F) => {
5011
5021
  if (F >= f$1.length) {
5012
5022
  x2.push([...P2]);
5013
5023
  return;
@@ -5019,11 +5029,11 @@
5019
5029
  C([], 0);
5020
5030
  for (const P2 of x2) {
5021
5031
  const F = P2.map((R, k2) => {
5022
- const A = f$1[k2], j = m(y.axesSpec[A]), V = w2[k2], K = (V == null ? void 0 : V[R]) ?? String(R);
5032
+ const A = f$1[k2], j = y(y$1.axesSpec[A]), V = w2[k2], K = (V == null ? void 0 : V[R]) ?? String(R);
5023
5033
  return { axisIdx: A, axisId: j, value: R, label: K };
5024
5034
  });
5025
5035
  a.push({
5026
- obj: y,
5036
+ obj: y$1,
5027
5037
  ref: d,
5028
5038
  axisFilters: F
5029
5039
  });
@@ -5084,19 +5094,19 @@
5084
5094
  if (!c) return;
5085
5095
  const l2 = le(c.data);
5086
5096
  if (!l2) return;
5087
- let m2 = l2, u = { ...c.spec };
5097
+ let m = l2, u = { ...c.spec };
5088
5098
  if (a.axisFilters && a.axisFilters.length > 0) {
5089
5099
  const p2 = a.axisFilters.map((g2) => [
5090
5100
  g2.axisIdx,
5091
5101
  g2.value
5092
5102
  ]);
5093
- m2 = Xe(l2, p2);
5094
- const d = [...a.axisFilters].map((g2) => g2.axisIdx).sort((g2, v) => v - g2), y = [...u.axesSpec];
5103
+ m = Xe(l2, p2);
5104
+ const d = [...a.axisFilters].map((g2) => g2.axisIdx).sort((g2, v) => v - g2), y2 = [...u.axesSpec];
5095
5105
  for (const g2 of d)
5096
- y.splice(g2, 1);
5097
- u = { ...u, axesSpec: y };
5106
+ y2.splice(g2, 1);
5107
+ u = { ...u, axesSpec: y2 };
5098
5108
  }
5099
- const f2 = bn(m2);
5109
+ const f2 = ln(m);
5100
5110
  u.annotations ? u = {
5101
5111
  ...u,
5102
5112
  annotations: {
@@ -5215,7 +5225,7 @@
5215
5225
  )) == null ? void 0 : r.obj;
5216
5226
  const n = this.ctx.getDataFromResultPoolByRef(e.blockId, e.name);
5217
5227
  if (n)
5218
- return jn(
5228
+ return In(
5219
5229
  n,
5220
5230
  (i) => new I(i, [e.blockId, e.name])
5221
5231
  );
@@ -5278,7 +5288,7 @@
5278
5288
  findLabels(e) {
5279
5289
  const n = this.getData();
5280
5290
  for (const r of n.entries) {
5281
- if (!q$1(r.obj)) continue;
5291
+ if (!Y$1(r.obj)) continue;
5282
5292
  const i = r.obj.spec;
5283
5293
  if (i.name === "pl7.app/label" && i.axesSpec.length === 1 && i.axesSpec[0].name === e.name && i.axesSpec[0].type === e.type && re(e.domain, i.axesSpec[0].domain)) {
5284
5294
  if (r.obj.data.resourceType.name !== "PColumnData/Json")
@@ -5336,7 +5346,7 @@
5336
5346
  }
5337
5347
  verifyInlineAndExplicitColumnsSupport(e) {
5338
5348
  var i;
5339
- const n = e.some((s) => !(s.data instanceof I) || yn(s.data)), r = ((i = this.ctx.featureFlags) == null ? void 0 : i.inlineColumnsSupport) === true;
5349
+ const n = e.some((s) => !(s.data instanceof I) || dn(s.data)), r = ((i = this.ctx.featureFlags) == null ? void 0 : i.inlineColumnsSupport) === true;
5340
5350
  if (n && !r) throw Error("Inline or explicit columns not supported");
5341
5351
  }
5342
5352
  createPFrame(e) {
@@ -5353,7 +5363,7 @@
5353
5363
  },
5354
5364
  filters: e.filters ?? [],
5355
5365
  sorting: e.sorting ?? []
5356
- } : n = e, this.verifyInlineAndExplicitColumnsSupport(Bn(n.src)), this.ctx.createPTable(
5366
+ } : n = e, this.verifyInlineAndExplicitColumnsSupport(jn(n.src)), this.ctx.createPTable(
5357
5367
  En(n, (r) => fe(r))
5358
5368
  );
5359
5369
  }
@@ -5366,7 +5376,7 @@
5366
5376
  return this.ctx.getCurrentUnstableMarker();
5367
5377
  }
5368
5378
  }
5369
- const U = "1.26.0";
5379
+ const U = "1.27.8";
5370
5380
  function tt(t) {
5371
5381
  return t.__renderLambda === true;
5372
5382
  }
@@ -5548,9 +5558,9 @@
5548
5558
  }
5549
5559
  }
5550
5560
  function Gt(t, e, n, r) {
5551
- var l2, m$1;
5561
+ var l2, m;
5552
5562
  Array.isArray(r) && (r = { filters: r });
5553
- const i = t.resultPool.getData().entries.map((u) => u.obj).filter(q$1).filter((u) => u.spec.name === "pl7.app/label" && u.spec.axesSpec.length === 1), s = (u, f2) => {
5563
+ const i = t.resultPool.getData().entries.map((u) => u.obj).filter(Y$1).filter((u) => u.spec.name === "pl7.app/label" && u.spec.axesSpec.length === 1), s = (u, f2) => {
5554
5564
  let p2 = u.toString();
5555
5565
  if (f2)
5556
5566
  for (const d in f2)
@@ -5559,10 +5569,10 @@
5559
5569
  }, o = /* @__PURE__ */ new Map();
5560
5570
  for (const u of e)
5561
5571
  for (const f2 of u.spec.axesSpec) {
5562
- const p2 = m(f2);
5572
+ const p2 = y(f2);
5563
5573
  for (const d of i) {
5564
- const y = d.spec.axesSpec[0], g2 = m(d.spec.axesSpec[0]);
5565
- if (G(p2, g2)) {
5574
+ const y$1 = d.spec.axesSpec[0], g2 = y(d.spec.axesSpec[0]);
5575
+ if (X(p2, g2)) {
5566
5576
  const v = Object.keys(p2.domain ?? {}).length, w2 = Object.keys(g2.domain ?? {}).length;
5567
5577
  if (v > w2) {
5568
5578
  const x2 = s(d.id, p2.domain);
@@ -5570,7 +5580,7 @@
5570
5580
  id: x2,
5571
5581
  spec: {
5572
5582
  ...d.spec,
5573
- axesSpec: [{ ...p2, annotations: y.annotations }]
5583
+ axesSpec: [{ ...p2, annotations: y$1.annotations }]
5574
5584
  },
5575
5585
  data: d.data
5576
5586
  });
@@ -5600,7 +5610,7 @@
5600
5610
  secondary: c.map((u) => ({ type: "column", column: u }))
5601
5611
  },
5602
5612
  filters: [...(r == null ? void 0 : r.filters) ?? [], ...((l2 = n == null ? void 0 : n.pTableParams) == null ? void 0 : l2.filters) ?? []],
5603
- sorting: ((m$1 = n == null ? void 0 : n.pTableParams) == null ? void 0 : m$1.sorting) ?? []
5613
+ sorting: ((m = n == null ? void 0 : n.pTableParams) == null ? void 0 : m.sorting) ?? []
5604
5614
  });
5605
5615
  }
5606
5616
  const ImportFileHandleSchema = z$2.string().optional().refine(
@@ -5636,8 +5646,8 @@
5636
5646
  return (_b = (_a = ctx.outputs) == null ? void 0 : _a.resolve("numbers")) == null ? void 0 : _b.getDataAsJson();
5637
5647
  }).output("progresses", (ctx) => {
5638
5648
  var _a;
5639
- const m2 = (_a = ctx.outputs) == null ? void 0 : _a.resolve("progresses");
5640
- const progresses = m2 == null ? void 0 : m2.mapFields((name, val) => [name, val == null ? void 0 : val.getImportProgress()]);
5649
+ const m = (_a = ctx.outputs) == null ? void 0 : _a.resolve("progresses");
5650
+ const progresses = m == null ? void 0 : m.mapFields((name, val) => [name, val == null ? void 0 : val.getImportProgress()]);
5641
5651
  return Object.fromEntries(progresses ?? []);
5642
5652
  }).output("pt", (ctx) => {
5643
5653
  var _a, _b, _c, _d, _e2;