@milaboratories/milaboratories.pool-explorer.model 1.0.36 → 1.0.37

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.36 build /home/runner/_work/platforma/platforma/etc/blocks/pool-explorer/model
3
+ > @milaboratories/milaboratories.pool-explorer.model@1.0.37 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
@@ -11,14 +11,14 @@
11
11
  CLI Cleaning output folder
12
12
  CJS Build start
13
13
  ESM Build start
14
- CJS dist/index.cjs 436.00 B
15
- CJS dist/index.cjs.map 1013.00 B
16
- CJS ⚡️ Build success in 181ms
17
14
  ESM dist/index.js 410.00 B
18
15
  ESM dist/index.js.map 996.00 B
19
- ESM ⚡️ Build success in 182ms
16
+ ESM ⚡️ Build success in 125ms
17
+ CJS dist/index.cjs 436.00 B
18
+ CJS dist/index.cjs.map 1013.00 B
19
+ CJS ⚡️ Build success in 125ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 1214ms
21
+ DTS ⚡️ Build success in 3780ms
22
22
  DTS dist/index.d.cts 1017.00 B
23
23
  DTS dist/index.d.ts 1017.00 B
24
24
  vite v5.4.11 building for production...
@@ -26,6 +26,6 @@ transforming...
26
26
  ✓ 9 modules transformed.
27
27
  rendering chunks...
28
28
  computing gzip size...
29
- dist/bundle.js 177.04 kB │ gzip: 33.86 kB │ map: 383.96 kB
30
- dist/bundle.js 189.18 kB │ gzip: 34.43 kB │ map: 385.40 kB
31
- ✓ built in 1.11s
29
+ dist/bundle.js 177.12 kB │ gzip: 33.88 kB │ map: 383.95 kB
30
+ dist/bundle.js 189.28 kB │ gzip: 34.45 kB │ map: 385.40 kB
31
+ ✓ built in 2.08s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @milaboratories/milaboratories.pool-explorer.model
2
2
 
3
+ ## 1.0.37
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [ec15bb1]
8
+ - @platforma-sdk/model@1.30.21
9
+
3
10
  ## 1.0.36
4
11
 
5
12
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -4115,6 +4115,8 @@
4115
4115
  newId: n2.newId,
4116
4116
  axisFilters: n2.axisFilters
4117
4117
  };
4118
+ case "inlineColumn":
4119
+ return n2;
4118
4120
  case "inner":
4119
4121
  case "full":
4120
4122
  return {
@@ -4318,6 +4320,8 @@
4318
4320
  case "slicedColumn":
4319
4321
  e.set(r.column.id, r.column);
4320
4322
  return;
4323
+ case "inlineColumn":
4324
+ return;
4321
4325
  case "full":
4322
4326
  case "inner":
4323
4327
  for (const o of r.entries) t(o);
@@ -4757,7 +4761,7 @@
4757
4761
  return s2 && (l2 = l2.filter((u2) => u2[1] !== void 0)), l2.map(([u2, p2]) => o(u2, p2));
4758
4762
  }
4759
4763
  }
4760
- const Fe = "staging", De = "main";
4764
+ const Fe = "staging", Oe = "main";
4761
4765
  const ct = "pl7.app/label", pt = "pl7.app/trace", dt = z$1.object({
4762
4766
  type: z$1.string(),
4763
4767
  importance: z$1.number().optional(),
@@ -4779,7 +4783,7 @@
4779
4783
  const L = { label: b, type: gt, importance: -2 };
4780
4784
  n2.addLabelAsSuffix ? A2.push(L) : A2.splice(0, 0, L);
4781
4785
  }
4782
- const D = [], J = /* @__PURE__ */ new Map();
4786
+ const O = [], J = /* @__PURE__ */ new Map();
4783
4787
  for (let L = A2.length - 1; L >= 0; --L) {
4784
4788
  const { type: k2 } = A2[L], se = A2[L].importance ?? 0, N2 = (J.get(k2) ?? 0) + 1;
4785
4789
  J.set(k2, N2);
@@ -4790,13 +4794,13 @@
4790
4794
  r.get(x2) ?? Number.NEGATIVE_INFINITY,
4791
4795
  se - (A2.length - L) * ht
4792
4796
  )
4793
- ), D.push({ ...A2[L], fullType: x2, occurenceIndex: N2 });
4797
+ ), O.push({ ...A2[L], fullType: x2, occurrenceIndex: N2 });
4794
4798
  }
4795
- return D.reverse(), {
4799
+ return O.reverse(), {
4796
4800
  value: f2,
4797
4801
  spec: h,
4798
4802
  label: b,
4799
- fullTrace: D
4803
+ fullTrace: O
4800
4804
  };
4801
4805
  }), o = [], a = [], l2 = [...r];
4802
4806
  l2.sort(([, f2], [, g]) => g - f2);
@@ -5192,7 +5196,7 @@
5192
5196
  }
5193
5197
  if (!yn(A2))
5194
5198
  throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${A2.type} for column ${m2.id}`);
5195
- const D = vt(A2), J = c2[c2.length - 1];
5199
+ const O = vt(A2), J = c2[c2.length - 1];
5196
5200
  if (J >= A2.partitionKeyLength)
5197
5201
  throw new Error(`Not enough partition keys (${A2.partitionKeyLength}) for requested split axes (max index ${J}) in column ${w2.name}`);
5198
5202
  const z2 = c2.map((x2) => this.findLabels(m$1(w2.axesSpec[x2]))), F = [], L = (x2, U) => {
@@ -5201,10 +5205,10 @@
5201
5205
  throw new Error("Too many key combinations, aborting.");
5202
5206
  return;
5203
5207
  }
5204
- const O = c2[U];
5205
- if (O >= D.length)
5206
- throw new Error(`Axis index ${O} out of bounds for unique keys array (length ${D.length}) during split key generation for column ${m2.id}`);
5207
- const j2 = D[O];
5208
+ const D = c2[U];
5209
+ if (D >= O.length)
5210
+ throw new Error(`Axis index ${D} out of bounds for unique keys array (length ${O.length}) during split key generation for column ${m2.id}`);
5211
+ const j2 = O[D];
5208
5212
  if (!j2 || j2.length === 0) {
5209
5213
  F.length = 0;
5210
5214
  return;
@@ -5219,9 +5223,9 @@
5219
5223
  k2.splice(c2[x2], 1);
5220
5224
  const N2 = { ...w2, axesSpec: k2 };
5221
5225
  for (const x2 of F) {
5222
- const U = x2.map((O, j2) => {
5223
- const Y2 = se[j2], Ue = m$1(w2.axesSpec[Y2]), oe = z2[j2], Be = (oe == null ? void 0 : oe[O]) ?? String(O);
5224
- return { axisIdx: Y2, axisId: Ue, value: O, label: Be };
5226
+ const U = x2.map((D, j2) => {
5227
+ const Y2 = se[j2], Ue = m$1(w2.axesSpec[Y2]), oe = z2[j2], Be = (oe == null ? void 0 : oe[D]) ?? String(D);
5228
+ return { axisIdx: Y2, axisId: Ue, value: D, label: Be };
5225
5229
  });
5226
5230
  u2.push({
5227
5231
  type: "split",
@@ -5604,7 +5608,7 @@
5604
5608
  return this.getNamedAccessor(Fe);
5605
5609
  }
5606
5610
  get outputs() {
5607
- return this.getNamedAccessor(De);
5611
+ return this.getNamedAccessor(Oe);
5608
5612
  }
5609
5613
  /**
5610
5614
  * Find labels data for a given axis id. It will search for a label column and return its data as a map.
@@ -5646,7 +5650,7 @@
5646
5650
  return this.ctx.getCurrentUnstableMarker();
5647
5651
  }
5648
5652
  }
5649
- const G = "1.30.11";
5653
+ const G = "1.30.21";
5650
5654
  function Lt(t) {
5651
5655
  return t.__renderLambda === true;
5652
5656
  }