@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.
- package/.turbo/turbo-build.log +9 -9
- package/CHANGELOG.md +7 -0
- package/dist/bundle.js +23 -24
- package/dist/bundle.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -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.
|
|
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
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
[34mCLI[39m Cleaning output folder
|
|
12
12
|
[34mCJS[39m Build start
|
|
13
13
|
[34mESM[39m Build start
|
|
14
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m4.88 KB[39m
|
|
15
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[32m11.28 KB[39m
|
|
16
|
-
[32mCJS[39m ⚡️ Build success in 115ms
|
|
17
14
|
[32mESM[39m [1mdist/index.js [22m[32m4.74 KB[39m
|
|
18
15
|
[32mESM[39m [1mdist/index.js.map [22m[32m11.23 KB[39m
|
|
19
|
-
[32mESM[39m ⚡️ Build success in
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 90ms
|
|
17
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m4.88 KB[39m
|
|
18
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m11.28 KB[39m
|
|
19
|
+
[32mCJS[39m ⚡️ Build success in 91ms
|
|
20
20
|
[34mDTS[39m Build start
|
|
21
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
+
[32mDTS[39m ⚡️ Build success in 830ms
|
|
22
22
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m2.40 KB[39m
|
|
23
23
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m2.40 KB[39m
|
|
24
24
|
[36mvite v5.4.11 [32mbuilding for production...[36m[39m
|
|
@@ -26,6 +26,6 @@ transforming...
|
|
|
26
26
|
[32m✓[39m 9 modules transformed.
|
|
27
27
|
rendering chunks...
|
|
28
28
|
computing gzip size...
|
|
29
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m181.
|
|
30
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m194.
|
|
31
|
-
[32m✓ built in
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m181.95 kB[22m[1m[22m[2m │ gzip: 35.18 kB[22m[2m │ map: 387.67 kB[22m
|
|
30
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m194.50 kB[22m[1m[22m[2m │ gzip: 35.80 kB[22m[2m │ map: 389.19 kB[22m
|
|
31
|
+
[32m✓ built in 446ms[39m
|
package/CHANGELOG.md
CHANGED
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,
|
|
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 = (
|
|
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
|
|
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
|
-
),
|
|
4778
|
+
), k2.push({ ...b[I], fullType: w2, occurenceIndex: J });
|
|
4779
4779
|
}
|
|
4780
|
-
return
|
|
4780
|
+
return k2.reverse(), {
|
|
4781
4781
|
value: p2,
|
|
4782
4782
|
spec: h,
|
|
4783
4783
|
label: v,
|
|
4784
|
-
fullTrace:
|
|
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
|
-
|
|
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
|
|
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]))),
|
|
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
|
-
|
|
5185
|
+
if (F.push([...w2]), F.length > 1e4)
|
|
5186
|
+
throw new Error("Too many key combinations, aborting.");
|
|
5188
5187
|
return;
|
|
5189
5188
|
}
|
|
5190
|
-
const
|
|
5191
|
-
if (
|
|
5192
|
-
throw new Error(`Axis index ${
|
|
5193
|
-
const O =
|
|
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
|
-
|
|
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),
|
|
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
|
|
5208
|
-
const N2 = w2.map((
|
|
5209
|
-
const z2 = se[O], Re = y(P.axesSpec[z2]), oe = q[O], Oe = (oe == null ? void 0 : oe[
|
|
5210
|
-
return { axisIdx: z2, axisId: Re, value:
|
|
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.
|
|
5631
|
+
const M = "1.28.4";
|
|
5633
5632
|
function wt(t) {
|
|
5634
5633
|
return t.__renderLambda === true;
|
|
5635
5634
|
}
|