@milaboratories/milaboratories.pool-explorer.model 1.0.63 → 1.0.65

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.pool-explorer.model@1.0.63 build /home/runner/_work/platforma/platforma/etc/blocks/pool-explorer/model
3
+ > @milaboratories/milaboratories.pool-explorer.model@1.0.65 build /home/runner/_work/platforma/platforma/etc/blocks/pool-explorer/model
4
4
  > tsup && vite build && block-tools build-model
5
5
 
6
6
  CLI Building entry: src/index.ts
@@ -13,12 +13,12 @@
13
13
  ESM Build start
14
14
  CJS dist/index.cjs 436.00 B
15
15
  CJS dist/index.cjs.map 1013.00 B
16
- CJS ⚡️ Build success in 135ms
16
+ CJS ⚡️ Build success in 199ms
17
17
  ESM dist/index.js 410.00 B
18
18
  ESM dist/index.js.map 996.00 B
19
- ESM ⚡️ Build success in 135ms
19
+ ESM ⚡️ Build success in 199ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 3061ms
21
+ DTS ⚡️ Build success in 3209ms
22
22
  DTS dist/index.d.cts 1.14 KB
23
23
  DTS dist/index.d.ts 1.14 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 181.51 kB │ gzip: 34.89 kB │ map: 401.34 kB
30
- dist/bundle.js 193.96 kB │ gzip: 35.50 kB │ map: 402.82 kB
31
- ✓ built in 1.89s
29
+ dist/bundle.js 181.50 kB │ gzip: 34.87 kB │ map: 401.73 kB
30
+ dist/bundle.js 193.95 kB │ gzip: 35.48 kB │ map: 403.22 kB
31
+ ✓ built in 2.29s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @milaboratories/milaboratories.pool-explorer.model
2
2
 
3
+ ## 1.0.65
4
+
5
+ ### Patch Changes
6
+
7
+ - @platforma-sdk/model@1.39.8
8
+
9
+ ## 1.0.64
10
+
11
+ ### Patch Changes
12
+
13
+ - @platforma-sdk/model@1.39.7
14
+
3
15
  ## 1.0.63
4
16
 
5
17
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -3069,7 +3069,7 @@
3069
3069
  });
3070
3070
  }
3071
3071
  const params = { errorMap: ctx.common.contextualErrorMap };
3072
- const fn2 = ctx.data;
3072
+ const fn = ctx.data;
3073
3073
  if (this._def.returns instanceof ZodPromise) {
3074
3074
  const me2 = this;
3075
3075
  return OK(async function(...args) {
@@ -3078,7 +3078,7 @@
3078
3078
  error.addIssue(makeArgsIssue(args, e));
3079
3079
  throw error;
3080
3080
  });
3081
- const result = await Reflect.apply(fn2, this, parsedArgs);
3081
+ const result = await Reflect.apply(fn, this, parsedArgs);
3082
3082
  const parsedReturns = await me2._def.returns._def.type.parseAsync(result, params).catch((e) => {
3083
3083
  error.addIssue(makeReturnsIssue(result, e));
3084
3084
  throw error;
@@ -3092,7 +3092,7 @@
3092
3092
  if (!parsedArgs.success) {
3093
3093
  throw new ZodError([makeArgsIssue(args, parsedArgs.error)]);
3094
3094
  }
3095
- const result = Reflect.apply(fn2, this, parsedArgs.data);
3095
+ const result = Reflect.apply(fn, this, parsedArgs.data);
3096
3096
  const parsedReturns = me2._def.returns.safeParse(result, params);
3097
3097
  if (!parsedReturns.success) {
3098
3098
  throw new ZodError([makeReturnsIssue(result, parsedReturns.error)]);
@@ -3956,9 +3956,9 @@
3956
3956
  }
3957
3957
  var canonicalizeExports = requireCanonicalize();
3958
3958
  const Re = /* @__PURE__ */ getDefaultExportFromCjs(canonicalizeExports);
3959
- var D$1 = Object.defineProperty;
3960
- var L = (e, n2, t) => n2 in e ? D$1(e, n2, { enumerable: true, configurable: true, writable: true, value: t }) : e[n2] = t;
3961
- var l$1 = (e, n2, t) => L(e, typeof n2 != "symbol" ? n2 + "" : n2, t);
3959
+ var R = Object.defineProperty;
3960
+ var L = (e, n2, t) => n2 in e ? R(e, n2, { enumerable: true, configurable: true, writable: true, value: t }) : e[n2] = t;
3961
+ var d = (e, n2, t) => L(e, typeof n2 != "symbol" ? n2 + "" : n2, t);
3962
3962
  z$1.object({
3963
3963
  /** Included left border. */
3964
3964
  from: z$1.number(),
@@ -3968,7 +3968,7 @@
3968
3968
  function A(e) {
3969
3969
  throw new Error("Unexpected object: " + e);
3970
3970
  }
3971
- function Oe(e) {
3971
+ function Ce(e) {
3972
3972
  if (!e || typeof e != "object")
3973
3973
  return false;
3974
3974
  const n2 = e;
@@ -3985,7 +3985,7 @@
3985
3985
  return false;
3986
3986
  }
3987
3987
  }
3988
- function Ce(e, n2) {
3988
+ function Fe(e, n2) {
3989
3989
  if (e !== void 0)
3990
3990
  switch (e.type) {
3991
3991
  case "Json":
@@ -4102,7 +4102,7 @@
4102
4102
  function C(e) {
4103
4103
  return e.map(y);
4104
4104
  }
4105
- function _e$1(e) {
4105
+ function qe(e) {
4106
4106
  return Re(y(e));
4107
4107
  }
4108
4108
  function ee$1(e, n2) {
@@ -4115,7 +4115,7 @@
4115
4115
  function ne$1(e, n2) {
4116
4116
  return e.name === n2.name && ee$1(e.domain, n2.domain);
4117
4117
  }
4118
- function qe(e, n2) {
4118
+ function Te$1(e, n2) {
4119
4119
  return { ...e, src: g(e.src, n2) };
4120
4120
  }
4121
4121
  function g(e, n2) {
@@ -4153,35 +4153,35 @@
4153
4153
  function te(e) {
4154
4154
  return Re(e);
4155
4155
  }
4156
- function P(e) {
4156
+ function x$1(e) {
4157
4157
  return Re(y(e));
4158
4158
  }
4159
- function E(e, n2) {
4159
+ function k$1(e, n2) {
4160
4160
  return JSON.stringify([e, n2]);
4161
4161
  }
4162
- class He {
4162
+ class We {
4163
4163
  /**
4164
4164
  * Creates a new anchor context from a set of anchor column specifications
4165
4165
  * @param anchors Record of anchor column specifications indexed by anchor ID
4166
4166
  */
4167
4167
  constructor(n2) {
4168
- l$1(this, "domains", /* @__PURE__ */ new Map());
4169
- l$1(this, "axes", /* @__PURE__ */ new Map());
4170
- l$1(this, "domainPacks", []);
4171
- l$1(this, "domainPackToAnchor", /* @__PURE__ */ new Map());
4168
+ d(this, "domains", /* @__PURE__ */ new Map());
4169
+ d(this, "axes", /* @__PURE__ */ new Map());
4170
+ d(this, "domainPacks", []);
4171
+ d(this, "domainPackToAnchor", /* @__PURE__ */ new Map());
4172
4172
  this.anchors = n2;
4173
4173
  const t = Object.entries(n2);
4174
4174
  t.sort((r, o) => r[0].localeCompare(o[0]));
4175
4175
  for (const [r, o] of t) {
4176
4176
  for (let i = 0; i < o.axesSpec.length; i++) {
4177
- const a = o.axesSpec[i], s2 = P(a);
4177
+ const a = o.axesSpec[i], s2 = x$1(a);
4178
4178
  this.axes.set(s2, { anchor: r, idx: i });
4179
4179
  }
4180
4180
  if (o.domain !== void 0) {
4181
4181
  const i = Object.entries(o.domain);
4182
4182
  i.sort((a, s2) => a[0].localeCompare(s2[0])), this.domainPackToAnchor.set(JSON.stringify(i), r), this.domainPacks.push(i.map(([a]) => a));
4183
4183
  for (const [a, s2] of i) {
4184
- const u2 = E(a, s2);
4184
+ const u2 = k$1(a, s2);
4185
4185
  this.domains.set(u2, r);
4186
4186
  }
4187
4187
  }
@@ -4216,11 +4216,11 @@
4216
4216
  for (const [a, s2] of Object.entries(n2.domain ?? {})) {
4217
4217
  if (o !== void 0 && o.has(a))
4218
4218
  continue;
4219
- const u2 = E(a, s2), c2 = this.domains.get(u2);
4219
+ const u2 = k$1(a, s2), c2 = this.domains.get(u2);
4220
4220
  r.domain ?? (r.domain = {}), r.domain[a] = c2 ? { anchor: c2 } : s2;
4221
4221
  }
4222
4222
  if (r.axes = n2.axesSpec.map((a) => {
4223
- const s2 = P(a), u2 = this.axes.get(s2);
4223
+ const s2 = x$1(a), u2 = this.axes.get(s2);
4224
4224
  return u2 === void 0 ? y(a) : u2;
4225
4225
  }), !t || t.length === 0)
4226
4226
  return r;
@@ -4253,7 +4253,7 @@
4253
4253
  return te(this.derive(n2, t));
4254
4254
  }
4255
4255
  }
4256
- function We(e, n2, t) {
4256
+ function Ge(e, n2, t) {
4257
4257
  const r = { ...n2 }, o = (t == null ? void 0 : t.ignoreMissingDomains) ?? false;
4258
4258
  if (r.domainAnchor !== void 0) {
4259
4259
  const i = e[r.domainAnchor];
@@ -4312,23 +4312,23 @@
4312
4312
  function oe$1(e) {
4313
4313
  return typeof e == "object" && "anchor" in e;
4314
4314
  }
4315
- function d(e) {
4315
+ function l$1(e) {
4316
4316
  return e.kind === "PColumn";
4317
4317
  }
4318
4318
  function ie$1(e) {
4319
- return d(e.spec);
4319
+ return l$1(e.spec);
4320
4320
  }
4321
- function Ye$1(e) {
4321
+ function Ze(e) {
4322
4322
  if (!ie$1(e)) throw new Error(`not a PColumn (kind = ${e.spec.kind})`);
4323
4323
  return e;
4324
4324
  }
4325
- function Ze(e, n2) {
4325
+ function en(e, n2) {
4326
4326
  return e === void 0 ? void 0 : {
4327
4327
  ...e,
4328
4328
  data: n2(e.data)
4329
4329
  };
4330
4330
  }
4331
- function en(e) {
4331
+ function nn(e) {
4332
4332
  const n2 = /* @__PURE__ */ new Map(), t = (r) => {
4333
4333
  switch (r.type) {
4334
4334
  case "column":
@@ -4417,15 +4417,15 @@
4417
4417
  }
4418
4418
  return true;
4419
4419
  }
4420
- function nn(e) {
4421
- return Array.isArray(e) ? (n2) => e.some((t) => d(n2) && v$1(n2, t)) : (n2) => d(n2) && v$1(n2, e);
4422
- }
4423
4420
  function tn(e) {
4421
+ return Array.isArray(e) ? (n2) => e.some((t) => l$1(n2) && v$1(n2, t)) : (n2) => l$1(n2) && v$1(n2, e);
4422
+ }
4423
+ function rn(e) {
4424
4424
  const n2 = {
4425
4425
  kind: e.kind,
4426
4426
  name: e.name
4427
4427
  };
4428
- return e.domain !== void 0 && (n2.domain = e.domain), d(e) && (n2.axesSpec = C(e.axesSpec)), Re(n2);
4428
+ return e.domain !== void 0 && (n2.domain = e.domain), l$1(e) && (n2.axesSpec = C(e.axesSpec)), Re(n2);
4429
4429
  }
4430
4430
  z$1.object({
4431
4431
  __isRef: z$1.literal(true).describe("Crucial marker for the block dependency tree reconstruction"),
@@ -4435,10 +4435,10 @@
4435
4435
  }).describe(
4436
4436
  "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."
4437
4437
  ).readonly();
4438
- function sn(e) {
4438
+ function an(e) {
4439
4439
  return typeof e == "object" && e !== null && "__isRef" in e && e.__isRef === true && "blockId" in e && "name" in e;
4440
4440
  }
4441
- function un(e, n2 = true) {
4441
+ function cn(e, n2 = true) {
4442
4442
  if (n2)
4443
4443
  return {
4444
4444
  ...e,
@@ -4449,7 +4449,7 @@
4449
4449
  return r;
4450
4450
  }
4451
4451
  }
4452
- function fn(e, n2) {
4452
+ function dn(e, n2) {
4453
4453
  return e.ok ? { ok: true, value: n2(e.value) } : e;
4454
4454
  }
4455
4455
  const de = 24;
@@ -4693,7 +4693,7 @@
4693
4693
  const i = {};
4694
4694
  for (const [s2, o] of Object.entries(r)) {
4695
4695
  const a = [...this.resolvePath, s2];
4696
- i[s2] = Ze(o, (l2) => new D(l2, a));
4696
+ i[s2] = en(o, (l2) => new D(l2, a));
4697
4697
  }
4698
4698
  return i;
4699
4699
  }
@@ -4805,13 +4805,13 @@
4805
4805
  const b = e(p2);
4806
4806
  let d2, y2, S2;
4807
4807
  "spec" in b && typeof b.spec == "object" ? (d2 = b.spec, y2 = b.prefixTrace, S2 = b.suffixTrace) : d2 = b;
4808
- const E2 = (c2 = d2.annotations) == null ? void 0 : c2[vt], _2 = (m2 = d2.annotations) == null ? void 0 : m2[St], w = (_2 ? wt.safeParse(JSON.parse(_2)).data : void 0) ?? [], A2 = [
4808
+ const E = (c2 = d2.annotations) == null ? void 0 : c2[vt], _2 = (m2 = d2.annotations) == null ? void 0 : m2[St], w = (_2 ? wt.safeParse(JSON.parse(_2)).data : void 0) ?? [], A2 = [
4809
4809
  ...y2 ?? [],
4810
4810
  ...w,
4811
4811
  ...S2 ?? []
4812
4812
  ];
4813
- if (E2 !== void 0) {
4814
- const T = { label: E2, type: Pt, importance: -2 };
4813
+ if (E !== void 0) {
4814
+ const T = { label: E, type: Pt, importance: -2 };
4815
4815
  n2.addLabelAsSuffix ? A2.push(T) : A2.splice(0, 0, T);
4816
4816
  }
4817
4817
  const C2 = [], I = /* @__PURE__ */ new Map();
@@ -4830,7 +4830,7 @@
4830
4830
  return C2.reverse(), {
4831
4831
  value: p2,
4832
4832
  spec: d2,
4833
- label: E2,
4833
+ label: E,
4834
4834
  fullTrace: C2
4835
4835
  };
4836
4836
  }), a = [], l2 = [], u2 = [...r];
@@ -4840,15 +4840,15 @@
4840
4840
  const h = (p2, b = false) => {
4841
4841
  const d2 = [];
4842
4842
  for (let y2 = 0; y2 < o.length; y2++) {
4843
- const S2 = o[y2], E2 = S2.fullTrace.filter((A2) => p2.has(A2.fullType) || i && i.has(A2.type));
4844
- if (E2.length === 0)
4843
+ const S2 = o[y2], E = S2.fullTrace.filter((A2) => p2.has(A2.fullType) || i && i.has(A2.type));
4844
+ if (E.length === 0)
4845
4845
  if (b)
4846
4846
  d2.push({
4847
4847
  label: "Unlabeled",
4848
4848
  value: S2.value
4849
4849
  });
4850
4850
  else return;
4851
- const _2 = E2.map((A2) => A2.label), w = n2.separator ?? " / ";
4851
+ const _2 = E.map((A2) => A2.label), w = n2.separator ?? " / ";
4852
4852
  d2.push({
4853
4853
  label: _2.join(w),
4854
4854
  value: S2.value
@@ -5063,7 +5063,7 @@
5063
5063
  function Tt(t) {
5064
5064
  if (t !== void 0) {
5065
5065
  if (_(t)) return t;
5066
- if (Oe(t)) return Ve$1(t);
5066
+ if (Ce(t)) return Ve$1(t);
5067
5067
  if (t instanceof D) return me(t);
5068
5068
  throw new Error(`Unexpected input type: ${typeof t}`);
5069
5069
  }
@@ -5139,14 +5139,14 @@
5139
5139
  this.columns = e;
5140
5140
  }
5141
5141
  selectColumns(e) {
5142
- const n2 = typeof e == "function" ? e : nn(e);
5142
+ const n2 = typeof e == "function" ? e : tn(e);
5143
5143
  return this.columns.filter((r) => n2(r.spec));
5144
5144
  }
5145
5145
  }
5146
5146
  function kt(t) {
5147
5147
  if (t)
5148
5148
  return t.map((e) => ({
5149
- type: `split:${_e$1(e.axisId)}`,
5149
+ type: `split:${qe(e.axisId)}`,
5150
5150
  label: e.label,
5151
5151
  importance: 1e6
5152
5152
  // High importance for split filters in labels
@@ -5210,37 +5210,37 @@
5210
5210
  if (Ie(y2)) {
5211
5211
  if (!r)
5212
5212
  throw new Error("Anchored selectors in exclude require an AnchoredIdDeriver to be provided in options.");
5213
- return nn(We(r.anchors, y2, n2));
5213
+ return tn(Ge(r.anchors, y2, n2));
5214
5214
  } else
5215
- return nn(y2);
5215
+ return tn(y2);
5216
5216
  });
5217
5217
  u2 = (y2) => d2.some((S2) => S2(y2));
5218
5218
  }
5219
5219
  const h = typeof e == "function" ? [e] : Array.isArray(e) ? e : [e], f = [], g2 = /* @__PURE__ */ new Set();
5220
- for (const d$1 of h) {
5221
- const y$1 = Ie(d$1);
5220
+ for (const d2 of h) {
5221
+ const y$1 = Ie(d2);
5222
5222
  let S2;
5223
5223
  if (y$1) {
5224
5224
  if (!r)
5225
5225
  throw new Error("Anchored selectors require an AnchoredIdDeriver to be provided in options.");
5226
- S2 = We(r.anchors, d$1, n2);
5226
+ S2 = Ge(r.anchors, d2, n2);
5227
5227
  } else
5228
- S2 = d$1;
5229
- const E2 = /* @__PURE__ */ new Set(), _2 = [];
5228
+ S2 = d2;
5229
+ const E = /* @__PURE__ */ new Set(), _2 = [];
5230
5230
  for (const C2 of this.providers) {
5231
5231
  const I = C2.selectColumns(S2);
5232
5232
  for (const c2 of I) {
5233
5233
  if (u2(c2.spec)) continue;
5234
- if (E2.has(c2.id))
5234
+ if (E.has(c2.id))
5235
5235
  throw new Error(`Duplicate column id ${c2.id} in provider ${C2.constructor.name}`);
5236
- const m2 = tn(c2.spec);
5237
- g2.has(m2) || (E2.add(c2.id), g2.add(m2), _2.push(c2));
5236
+ const m2 = rn(c2.spec);
5237
+ g2.has(m2) || (E.add(c2.id), g2.add(m2), _2.push(c2));
5238
5238
  }
5239
5239
  }
5240
5240
  if (_2.length === 0) continue;
5241
- const w = Rt(d$1), A2 = w.length > 0;
5241
+ const w = Rt(d2), A2 = w.length > 0;
5242
5242
  for (const C2 of _2) {
5243
- if (!d(C2.spec)) continue;
5243
+ if (!l$1(C2.spec)) continue;
5244
5244
  const I = C2.spec;
5245
5245
  if (A2) {
5246
5246
  if (Ft(C2.data))
@@ -5277,17 +5277,17 @@
5277
5277
  const K = [...I.axesSpec], We2 = w.map((L2) => L2);
5278
5278
  for (let L2 = w.length - 1; L2 >= 0; L2--)
5279
5279
  K.splice(w[L2], 1);
5280
- const Ge = { ...I, axesSpec: K };
5280
+ const Ge2 = { ...I, axesSpec: K };
5281
5281
  for (const L2 of V) {
5282
5282
  const W = L2.map((j, M) => {
5283
- const Z = We2[M], He2 = y(I.axesSpec[Z]), le = U[M], qe2 = (le == null ? void 0 : le[j]) ?? String(j);
5284
- return { axisIdx: Z, axisId: He2, value: j, label: qe2 };
5283
+ const Z = We2[M], He = y(I.axesSpec[Z]), le = U[M], qe2 = (le == null ? void 0 : le[j]) ?? String(j);
5284
+ return { axisIdx: Z, axisId: He, value: j, label: qe2 };
5285
5285
  });
5286
5286
  f.push({
5287
5287
  type: "split",
5288
5288
  originalColumn: C2,
5289
5289
  spec: I,
5290
- adjustedSpec: Ge,
5290
+ adjustedSpec: Ge2,
5291
5291
  dataEntries: c2,
5292
5292
  axisFilters: W
5293
5293
  });
@@ -5311,9 +5311,9 @@
5311
5311
  l2
5312
5312
  ), b = [];
5313
5313
  for (const { value: d2, label: y2 } of p2) {
5314
- const { originalColumn: S2, spec: E2 } = d2, _2 = d2.type === "split" ? d2.axisFilters : void 0, w = Dt(_2);
5314
+ const { originalColumn: S2, spec: E } = d2, _2 = d2.type === "split" ? d2.axisFilters : void 0, w = Dt(_2);
5315
5315
  let A2;
5316
- r ? A2 = r.deriveS(E2, w) : A2 = Ot(S2.id, w);
5316
+ r ? A2 = r.deriveS(E, w) : A2 = Ot(S2.id, w);
5317
5317
  let C2 = { ...d2.adjustedSpec };
5318
5318
  o && (C2 = {
5319
5319
  ...C2,
@@ -5394,7 +5394,7 @@
5394
5394
  return true;
5395
5395
  }
5396
5396
  function Te(t) {
5397
- return Ze(t, (e) => e instanceof D ? e.handle : Oe(e) ? Ce(e, (n2) => n2.handle) : e);
5397
+ return en(t, (e) => e instanceof D ? e.handle : Ce(e) ? Fe(e, (n2) => n2.handle) : e);
5398
5398
  }
5399
5399
  class Kt {
5400
5400
  constructor() {
@@ -5407,28 +5407,28 @@
5407
5407
  return this.ctx.calculateOptions(e);
5408
5408
  }
5409
5409
  getOptions(e, n2) {
5410
- const r = typeof e == "function" ? e : nn(e), i = this.getSpecs().entries.filter((a) => r(a.obj));
5410
+ const r = typeof e == "function" ? e : tn(e), i = this.getSpecs().entries.filter((a) => r(a.obj));
5411
5411
  let s2 = {}, o = false;
5412
5412
  return typeof n2 < "u" && (typeof n2 == "function" ? s2 = n2 : typeof n2 == "object" && ("includeNativeLabel" in n2 || "separator" in n2 || "addLabelAsSuffix" in n2 ? s2 = n2 : (n2 = n2, s2 = n2.label ?? {}, o = n2.refsWithEnrichments ?? false))), typeof s2 == "object" ? Me(i, (a) => a.obj, s2 ?? {}).map(({ value: { ref: a }, label: l2 }) => ({
5413
- ref: un(a, o),
5413
+ ref: cn(a, o),
5414
5414
  label: l2
5415
5415
  })) : i.map(({ ref: a, obj: l2 }) => ({
5416
- ref: un(a, o),
5416
+ ref: cn(a, o),
5417
5417
  label: s2(l2, a)
5418
5418
  }));
5419
5419
  }
5420
5420
  resolveAnchorCtx(e) {
5421
- if (e instanceof He) return e;
5421
+ if (e instanceof We) return e;
5422
5422
  const n2 = {};
5423
5423
  for (const [r, i] of Object.entries(e))
5424
- if (sn(i)) {
5424
+ if (an(i)) {
5425
5425
  const s2 = this.getPColumnSpecByRef(i);
5426
5426
  if (!s2)
5427
5427
  return;
5428
5428
  n2[r] = s2;
5429
5429
  } else
5430
5430
  n2[r] = i;
5431
- return new He(n2);
5431
+ return new We(n2);
5432
5432
  }
5433
5433
  /**
5434
5434
  * Returns columns that match the provided anchors and selectors. It applies axis filters and label derivation.
@@ -5521,7 +5521,7 @@
5521
5521
  ref: n2.ref,
5522
5522
  obj: {
5523
5523
  ...n2.obj,
5524
- data: fn(
5524
+ data: dn(
5525
5525
  n2.obj.data,
5526
5526
  (r) => new D(r, [n2.ref.blockId, n2.ref.name])
5527
5527
  )
@@ -5550,7 +5550,7 @@
5550
5550
  )) == null ? void 0 : r.obj;
5551
5551
  const n2 = this.ctx.getDataFromResultPoolByRef(e.blockId, e.name);
5552
5552
  if (n2)
5553
- return Ze(
5553
+ return en(
5554
5554
  n2,
5555
5555
  (i) => new D(i, [e.blockId, e.name])
5556
5556
  );
@@ -5563,7 +5563,7 @@
5563
5563
  getPColumnByRef(e) {
5564
5564
  const n2 = this.getDataByRef(e);
5565
5565
  if (n2)
5566
- return Ye$1(n2);
5566
+ return Ze(n2);
5567
5567
  }
5568
5568
  /**
5569
5569
  * Returns spec associated with the ref ensuring that it is a p-column spec.
@@ -5573,7 +5573,7 @@
5573
5573
  getPColumnSpecByRef(e) {
5574
5574
  const n2 = this.getSpecByRef(e);
5575
5575
  if (n2) {
5576
- if (!d(n2)) throw new Error(`not a PColumn spec (kind = ${n2.kind})`);
5576
+ if (!l$1(n2)) throw new Error(`not a PColumn spec (kind = ${n2.kind})`);
5577
5577
  return n2;
5578
5578
  }
5579
5579
  }
@@ -5592,7 +5592,7 @@
5592
5592
  findDataWithCompatibleSpec(e) {
5593
5593
  const n2 = [];
5594
5594
  e: for (const r of this.getData().entries) {
5595
- if (!d(r.obj.spec))
5595
+ if (!l$1(r.obj.spec))
5596
5596
  continue;
5597
5597
  const i = r.obj.spec;
5598
5598
  if (e.name === i.name && e.valueType === i.valueType && e.axesSpec.length === i.axesSpec.length && ce(e.domain, i.domain)) {
@@ -5634,8 +5634,8 @@
5634
5634
  * @returns An array of PColumn objects matching the selectors. Data is loaded on first access.
5635
5635
  */
5636
5636
  selectColumns(e) {
5637
- const n2 = typeof e == "function" ? e : nn(e);
5638
- return this.getSpecs().entries.filter(({ obj: i }) => d(i) ? n2(i) : false).map(({ ref: i, obj: s2 }) => {
5637
+ const n2 = typeof e == "function" ? e : tn(e);
5638
+ return this.getSpecs().entries.filter(({ obj: i }) => l$1(i) ? n2(i) : false).map(({ ref: i, obj: s2 }) => {
5639
5639
  const o = s2;
5640
5640
  let a = null;
5641
5641
  const l2 = this;
@@ -5727,7 +5727,7 @@
5727
5727
  }
5728
5728
  verifyInlineAndExplicitColumnsSupport(e) {
5729
5729
  var i;
5730
- const n2 = e.some((s2) => !(s2.data instanceof D) || Oe(s2.data)), r = ((i = this.ctx.featureFlags) == null ? void 0 : i.inlineColumnsSupport) === true;
5730
+ const n2 = e.some((s2) => !(s2.data instanceof D) || Ce(s2.data)), r = ((i = this.ctx.featureFlags) == null ? void 0 : i.inlineColumnsSupport) === true;
5731
5731
  if (n2 && !r) throw Error("Inline or explicit columns not supported");
5732
5732
  }
5733
5733
  patchPTableDef(e) {
@@ -5758,8 +5758,8 @@
5758
5758
  partitionFilters: e.filters ?? [],
5759
5759
  filters: [],
5760
5760
  sorting: e.sorting ?? []
5761
- }) : n2 = this.patchPTableDef(e), this.verifyInlineAndExplicitColumnsSupport(en(n2.src)), this.ctx.createPTable(
5762
- qe(n2, (r) => Te(r))
5761
+ }) : n2 = this.patchPTableDef(e), this.verifyInlineAndExplicitColumnsSupport(nn(n2.src)), this.ctx.createPTable(
5762
+ Te$1(n2, (r) => Te(r))
5763
5763
  );
5764
5764
  }
5765
5765
  /** @deprecated scheduled for removal from SDK */
@@ -5779,7 +5779,7 @@
5779
5779
  this.ctx.logError(e);
5780
5780
  }
5781
5781
  }
5782
- const z = "1.39.6";
5782
+ const z = "1.39.8";
5783
5783
  function Nt(t) {
5784
5784
  return t.__renderLambda === true;
5785
5785
  }