@milaboratories/milaboratories.ui-examples.model 1.1.39 → 1.1.40

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.39 build /opt/actions-runner/_work/platforma/platforma/etc/blocks/ui-examples/model
3
+ > @milaboratories/milaboratories.ui-examples.model@1.1.40 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
- CJS dist/index.cjs 4.88 KB
15
- CJS dist/index.cjs.map 11.28 KB
16
- CJS ⚡️ Build success in 115ms
17
14
  ESM dist/index.js 4.74 KB
18
15
  ESM dist/index.js.map 11.23 KB
19
- ESM ⚡️ Build success in 116ms
16
+ ESM ⚡️ Build success in 90ms
17
+ CJS dist/index.cjs 4.88 KB
18
+ CJS dist/index.cjs.map 11.28 KB
19
+ CJS ⚡️ Build success in 91ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 1599ms
21
+ DTS ⚡️ Build success in 830ms
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
  ✓ 9 modules transformed.
27
27
  rendering chunks...
28
28
  computing gzip size...
29
- dist/bundle.js 181.87 kB │ gzip: 35.15 kB │ map: 387.56 kB
30
- dist/bundle.js 194.42 kB │ gzip: 35.76 kB │ map: 389.08 kB
31
- ✓ built in 712ms
29
+ dist/bundle.js 181.95 kB │ gzip: 35.18 kB │ map: 387.67 kB
30
+ dist/bundle.js 194.50 kB │ gzip: 35.80 kB │ map: 389.19 kB
31
+ ✓ built in 446ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @milaboratories/milaboratories.ui-examples.model
2
2
 
3
+ ## 1.1.40
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [8142f77]
8
+ - @platforma-sdk/model@1.28.4
9
+
3
10
  ## 1.1.39
4
11
 
5
12
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -4751,11 +4751,11 @@
4751
4751
  }), st = z$1.array(it), ot = 1e-3, at = "__LABEL__", ve = "__LABEL__@1";
4752
4752
  function Ee(t, e, n2 = {}) {
4753
4753
  const r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), s2 = t.map((p2) => {
4754
- var q, D;
4754
+ var q, F;
4755
4755
  const c2 = e(p2);
4756
4756
  let h, A2, y2;
4757
4757
  "spec" in c2 && typeof c2.spec == "object" ? (h = c2.spec, A2 = c2.prefixTrace, y2 = c2.suffixTrace) : h = c2;
4758
- const v = (q = h.annotations) == null ? void 0 : q[nt], g = (D = h.annotations) == null ? void 0 : D[rt], P = (g ? st.safeParse(JSON.parse(g)).data : void 0) ?? [], b = [
4758
+ const v = (q = h.annotations) == null ? void 0 : q[nt], g = (F = h.annotations) == null ? void 0 : F[rt], P = (g ? st.safeParse(JSON.parse(g)).data : void 0) ?? [], b = [
4759
4759
  ...A2 ?? [],
4760
4760
  ...P,
4761
4761
  ...y2 ?? []
@@ -4764,7 +4764,7 @@
4764
4764
  const I = { label: v, type: at, importance: -2 };
4765
4765
  n2.addLabelAsSuffix ? b.push(I) : b.splice(0, 0, I);
4766
4766
  }
4767
- const F = [], $2 = /* @__PURE__ */ new Map();
4767
+ const k2 = [], $2 = /* @__PURE__ */ new Map();
4768
4768
  for (let I = b.length - 1; I >= 0; --I) {
4769
4769
  const { type: R } = b[I], se = b[I].importance ?? 0, J = ($2.get(R) ?? 0) + 1;
4770
4770
  $2.set(R, J);
@@ -4775,13 +4775,13 @@
4775
4775
  r.get(w2) ?? Number.NEGATIVE_INFINITY,
4776
4776
  se - (b.length - I) * ot
4777
4777
  )
4778
- ), F.push({ ...b[I], fullType: w2, occurenceIndex: J });
4778
+ ), k2.push({ ...b[I], fullType: w2, occurenceIndex: J });
4779
4779
  }
4780
- return F.reverse(), {
4780
+ return k2.reverse(), {
4781
4781
  value: p2,
4782
4782
  spec: h,
4783
4783
  label: v,
4784
- fullTrace: F
4784
+ fullTrace: k2
4785
4785
  };
4786
4786
  }), o = [], a = [], l2 = [...r];
4787
4787
  l2.sort(([, p2], [, c2]) => c2 - p2);
@@ -4814,10 +4814,8 @@
4814
4814
  for (let h = 0; h < S; ++h) p2.add(o[h]);
4815
4815
  p2.add(o[d]);
4816
4816
  const c2 = u2(p2);
4817
- if (c2 !== void 0) {
4818
- if (new Set(c2.map((h) => h.label)).size === t.length) return c2;
4819
- d++, d == o.length && (S++, d = S);
4820
- }
4817
+ if (c2 !== void 0 && new Set(c2.map((h) => h.label)).size === t.length) return c2;
4818
+ d++, d >= o.length && (S++, d = S);
4821
4819
  }
4822
4820
  const f2 = u2(/* @__PURE__ */ new Set([...o, ...a]));
4823
4821
  if (f2 === void 0) throw new Error("Assertion error.");
@@ -5179,35 +5177,36 @@
5179
5177
  }
5180
5178
  if (!yn(b))
5181
5179
  throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${b.type} for column ${g.id}`);
5182
- const F = ct(b), $2 = y$1[y$1.length - 1];
5180
+ const k2 = ct(b), $2 = y$1[y$1.length - 1];
5183
5181
  if ($2 >= b.partitionKeyLength)
5184
5182
  throw new Error(`Not enough partition keys (${b.partitionKeyLength}) for requested split axes (max index ${$2}) in column ${P.name}`);
5185
- const q = y$1.map((w2) => this.findLabels(y(P.axesSpec[w2]))), D = [], I = (w2, N2) => {
5183
+ const q = y$1.map((w2) => this.findLabels(y(P.axesSpec[w2]))), F = [], I = (w2, N2) => {
5186
5184
  if (N2 >= y$1.length) {
5187
- D.push([...w2]);
5185
+ if (F.push([...w2]), F.length > 1e4)
5186
+ throw new Error("Too many key combinations, aborting.");
5188
5187
  return;
5189
5188
  }
5190
- const k2 = y$1[N2];
5191
- if (k2 >= F.length)
5192
- throw new Error(`Axis index ${k2} out of bounds for unique keys array (length ${F.length}) during split key generation for column ${g.id}`);
5193
- const O = F[k2];
5189
+ const D = y$1[N2];
5190
+ if (D >= k2.length)
5191
+ throw new Error(`Axis index ${D} out of bounds for unique keys array (length ${k2.length}) during split key generation for column ${g.id}`);
5192
+ const O = k2[D];
5194
5193
  if (!O || O.length === 0) {
5195
- D.length = 0;
5194
+ F.length = 0;
5196
5195
  return;
5197
5196
  }
5198
5197
  for (const z2 of O)
5199
5198
  w2.push(z2), I(w2, N2 + 1), w2.pop();
5200
5199
  };
5201
- if (I([], 0), D.length === 0)
5200
+ if (I([], 0), F.length === 0)
5202
5201
  continue;
5203
5202
  const R = [...P.axesSpec], se = y$1.map((w2) => w2);
5204
5203
  for (let w2 = y$1.length - 1; w2 >= 0; w2--)
5205
5204
  R.splice(y$1[w2], 1);
5206
5205
  const J = { ...P, axesSpec: R };
5207
- for (const w2 of D) {
5208
- const N2 = w2.map((k2, O) => {
5209
- const z2 = se[O], Re = y(P.axesSpec[z2]), oe = q[O], Oe = (oe == null ? void 0 : oe[k2]) ?? String(k2);
5210
- return { axisIdx: z2, axisId: Re, value: k2, label: Oe };
5206
+ for (const w2 of F) {
5207
+ const N2 = w2.map((D, O) => {
5208
+ const z2 = se[O], Re = y(P.axesSpec[z2]), oe = q[O], Oe = (oe == null ? void 0 : oe[D]) ?? String(D);
5209
+ return { axisIdx: z2, axisId: Re, value: D, label: Oe };
5211
5210
  });
5212
5211
  u2.push({
5213
5212
  type: "split",
@@ -5629,7 +5628,7 @@
5629
5628
  return this.ctx.getCurrentUnstableMarker();
5630
5629
  }
5631
5630
  }
5632
- const M = "1.28.1";
5631
+ const M = "1.28.4";
5633
5632
  function wt(t) {
5634
5633
  return t.__renderLambda === true;
5635
5634
  }