@milaboratories/milaboratories.pool-explorer.model 1.0.73 → 1.0.75

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.73 build /home/runner/_work/platforma/platforma/etc/blocks/pool-explorer/model
3
+ > @milaboratories/milaboratories.pool-explorer.model@1.0.75 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 191ms
16
+ CJS ⚡️ Build success in 125ms
17
17
  ESM dist/index.js 410.00 B
18
18
  ESM dist/index.js.map 996.00 B
19
- ESM ⚡️ Build success in 191ms
19
+ ESM ⚡️ Build success in 125ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 3792ms
21
+ DTS ⚡️ Build success in 3493ms
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 182.08 kB │ gzip: 34.97 kB │ map: 416.09 kB
30
- dist/bundle.js 194.57 kB │ gzip: 35.59 kB │ map: 417.56 kB
31
- ✓ built in 1.90s
29
+ dist/bundle.js 182.09 kB │ gzip: 34.98 kB │ map: 416.21 kB
30
+ dist/bundle.js 194.58 kB │ gzip: 35.60 kB │ map: 417.68 kB
31
+ ✓ built in 2.41s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @milaboratories/milaboratories.pool-explorer.model
2
2
 
3
+ ## 1.0.75
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [41140f4]
8
+ - @platforma-sdk/model@1.41.4
9
+
10
+ ## 1.0.74
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [d469422]
15
+ - @platforma-sdk/model@1.41.3
16
+
3
17
  ## 1.0.73
4
18
 
5
19
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -4542,7 +4542,7 @@
4542
4542
  return n2.callbackRegistry[t] = e, true;
4543
4543
  }
4544
4544
  const fe = /* @__PURE__ */ new Map();
4545
- function Ft(t, e) {
4545
+ function xt(t, e) {
4546
4546
  t in b().callbackRegistry || (b().callbackRegistry[t] = (n2) => {
4547
4547
  for (const r of fe.get(t))
4548
4548
  r(n2);
@@ -4552,7 +4552,7 @@
4552
4552
  constructor(e, n2 = (r) => r) {
4553
4553
  V(this, "isResolved", false);
4554
4554
  V(this, "resolvedValue");
4555
- this.handle = e, this.postProcess = n2, Ft(e, (r) => {
4555
+ this.handle = e, this.postProcess = n2, xt(e, (r) => {
4556
4556
  this.resolvedValue = n2(r), this.isResolved = true;
4557
4557
  });
4558
4558
  }
@@ -4805,7 +4805,7 @@
4805
4805
  const y2 = e(d2);
4806
4806
  let p2, g2, C;
4807
4807
  "spec" in y2 && typeof y2.spec == "object" ? (p2 = y2.spec, g2 = y2.prefixTrace, C = y2.suffixTrace) : p2 = y2;
4808
- const E = (c2 = p2.annotations) == null ? void 0 : c2[_t], F2 = (v2 = p2.annotations) == null ? void 0 : v2[Lt], S2 = (F2 ? Vt.safeParse(JSON.parse(F2)).data : void 0) ?? [], P = [
4808
+ const E = (c2 = p2.annotations) == null ? void 0 : c2[_t], x2 = (v2 = p2.annotations) == null ? void 0 : v2[Lt], S2 = (x2 ? Vt.safeParse(JSON.parse(x2)).data : void 0) ?? [], P = [
4809
4809
  ...g2 ?? [],
4810
4810
  ...S2,
4811
4811
  ...C ?? []
@@ -4814,10 +4814,10 @@
4814
4814
  const I = { label: E, type: Ot, importance: -2 };
4815
4815
  n2.addLabelAsSuffix ? P.push(I) : P.splice(0, 0, I);
4816
4816
  }
4817
- const T = [], x2 = /* @__PURE__ */ new Map();
4817
+ const T = [], F2 = /* @__PURE__ */ new Map();
4818
4818
  for (let I = P.length - 1; I >= 0; --I) {
4819
- const { type: $ } = P[I], K = P[I].importance ?? 0, j = (x2.get($) ?? 0) + 1;
4820
- x2.set($, j);
4819
+ const { type: $ } = P[I], K = P[I].importance ?? 0, j = (F2.get($) ?? 0) + 1;
4820
+ F2.set($, j);
4821
4821
  const N2 = `${$}@${j}`;
4822
4822
  o.set(N2, (o.get(N2) ?? 0) + 1), r.set(
4823
4823
  N2,
@@ -4848,9 +4848,9 @@
4848
4848
  value: C.value
4849
4849
  });
4850
4850
  else return;
4851
- const F2 = E.map((P) => P.label), S2 = n2.separator ?? " / ";
4851
+ const x2 = E.map((P) => P.label), S2 = n2.separator ?? " / ";
4852
4852
  p2.push({
4853
- label: F2.join(S2),
4853
+ label: x2.join(S2),
4854
4854
  value: C.value
4855
4855
  });
4856
4856
  }
@@ -5226,22 +5226,22 @@
5226
5226
  C = Xe$1(r.anchors, p2, n2);
5227
5227
  } else
5228
5228
  C = p2;
5229
- const E = /* @__PURE__ */ new Set(), F2 = [];
5229
+ const E = /* @__PURE__ */ new Set(), x2 = [];
5230
5230
  for (const T of this.providers) {
5231
- const x2 = T.selectColumns(C);
5232
- for (const c2 of x2) {
5231
+ const F2 = T.selectColumns(C);
5232
+ for (const c2 of F2) {
5233
5233
  if (u2(c2.spec)) continue;
5234
5234
  if (E.has(c2.id))
5235
5235
  throw new Error(`Duplicate column id ${c2.id} in provider ${T.constructor.name}`);
5236
5236
  const v2 = on(c2.spec);
5237
- m2.has(v2) || (E.add(c2.id), m2.add(v2), F2.push(c2));
5237
+ m2.has(v2) || (E.add(c2.id), m2.add(v2), x2.push(c2));
5238
5238
  }
5239
5239
  }
5240
- if (F2.length === 0) continue;
5240
+ if (x2.length === 0) continue;
5241
5241
  const S2 = $t(p2), P = S2.length > 0;
5242
- for (const T of F2) {
5242
+ for (const T of x2) {
5243
5243
  if (!l$1(T.spec)) continue;
5244
- const x2 = T.spec;
5244
+ const F2 = T.spec;
5245
5245
  if (P) {
5246
5246
  if (Mt(T.data))
5247
5247
  throw new Error(`Splitting is not supported for PColumns with PColumnValues data format. Column id: ${T.id}`);
@@ -5254,8 +5254,8 @@
5254
5254
  throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${c2.type} for column ${T.id}`);
5255
5255
  const v2 = Nt(c2), I = S2[S2.length - 1];
5256
5256
  if (I >= c2.partitionKeyLength)
5257
- throw new Error(`Not enough partition keys (${c2.partitionKeyLength}) for requested split axes (max index ${I}) in column ${x2.name}`);
5258
- const $ = S2.map((_2) => this.findLabels(y(x2.axesSpec[_2]))), K = [], j = (_2, W) => {
5257
+ throw new Error(`Not enough partition keys (${c2.partitionKeyLength}) for requested split axes (max index ${I}) in column ${F2.name}`);
5258
+ const $ = S2.map((_2) => this.findLabels(y(F2.axesSpec[_2]))), K = [], j = (_2, W) => {
5259
5259
  if (W >= S2.length) {
5260
5260
  if (K.push([..._2]), K.length > 1e4)
5261
5261
  throw new Error("Too many key combinations, aborting.");
@@ -5274,19 +5274,19 @@
5274
5274
  };
5275
5275
  if (j([], 0), K.length === 0)
5276
5276
  continue;
5277
- const N2 = [...x2.axesSpec], et = S2.map((_2) => _2);
5277
+ const N2 = [...F2.axesSpec], et = S2.map((_2) => _2);
5278
5278
  for (let _2 = S2.length - 1; _2 >= 0; _2--)
5279
5279
  N2.splice(S2[_2], 1);
5280
- const tt = { ...x2, axesSpec: N2 };
5280
+ const tt = { ...F2, axesSpec: N2 };
5281
5281
  for (const _2 of K) {
5282
5282
  const W = _2.map((M, q) => {
5283
- const te2 = et[q], nt = y(x2.axesSpec[te2]), de2 = $[q], rt = (de2 == null ? void 0 : de2[M]) ?? String(M);
5283
+ const te2 = et[q], nt = y(F2.axesSpec[te2]), de2 = $[q], rt = (de2 == null ? void 0 : de2[M]) ?? String(M);
5284
5284
  return { axisIdx: te2, axisId: nt, value: M, label: rt };
5285
5285
  });
5286
5286
  f.push({
5287
5287
  type: "split",
5288
5288
  originalColumn: T,
5289
- spec: x2,
5289
+ spec: F2,
5290
5290
  adjustedSpec: tt,
5291
5291
  dataEntries: c2,
5292
5292
  axisFilters: W
@@ -5296,8 +5296,8 @@
5296
5296
  f.push({
5297
5297
  type: "direct",
5298
5298
  originalColumn: T,
5299
- spec: x2,
5300
- adjustedSpec: x2
5299
+ spec: F2,
5300
+ adjustedSpec: F2
5301
5301
  });
5302
5302
  }
5303
5303
  }
@@ -5311,7 +5311,7 @@
5311
5311
  l2
5312
5312
  ), y$1 = [];
5313
5313
  for (const { value: p2, label: g2 } of d2) {
5314
- const { originalColumn: C, spec: E } = p2, F2 = p2.type === "split" ? p2.axisFilters : void 0, S2 = Bt(F2);
5314
+ const { originalColumn: C, spec: E } = p2, x2 = p2.type === "split" ? p2.axisFilters : void 0, S2 = Bt(x2);
5315
5315
  let P;
5316
5316
  r ? P = r.deriveS(E, S2) : P = Jt(C.id, S2);
5317
5317
  let T = { ...p2.adjustedSpec };
@@ -5779,13 +5779,13 @@
5779
5779
  this.ctx.logError(e);
5780
5780
  }
5781
5781
  }
5782
- const X = "1.41.2";
5783
- function Gt(t) {
5782
+ const Gt = "1.41.4", X = Gt;
5783
+ function Ht(t) {
5784
5784
  return t.__renderLambda === true;
5785
5785
  }
5786
5786
  function me(t) {
5787
5787
  if (t !== void 0)
5788
- return Gt(t) ? t.handle : t;
5788
+ return Ht(t) ? t.handle : t;
5789
5789
  }
5790
5790
  const w = class w2 {
5791
5791
  constructor(e, n2, r, i, o, s2, a, l2, u2) {