@milaboratories/milaboratories.ui-examples.model 1.1.33 → 1.1.34
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 +7 -7
- package/CHANGELOG.md +6 -0
- package/dist/bundle.js +26 -26
- package/dist/bundle.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +3 -3
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.34 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
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
[34mESM[39m Build start
|
|
14
14
|
[32mESM[39m [1mdist/index.js [22m[32m4.74 KB[39m
|
|
15
15
|
[32mESM[39m [1mdist/index.js.map [22m[32m11.23 KB[39m
|
|
16
|
-
[32mESM[39m ⚡️ Build success in
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 100ms
|
|
17
17
|
[32mCJS[39m [1mdist/index.cjs [22m[32m4.88 KB[39m
|
|
18
18
|
[32mCJS[39m [1mdist/index.cjs.map [22m[32m11.28 KB[39m
|
|
19
|
-
[32mCJS[39m ⚡️ Build success in
|
|
19
|
+
[32mCJS[39m ⚡️ Build success in 101ms
|
|
20
20
|
[34mDTS[39m Build start
|
|
21
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
+
[32mDTS[39m ⚡️ Build success in 849ms
|
|
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 6 modules transformed.
|
|
27
27
|
rendering chunks...
|
|
28
28
|
computing gzip size...
|
|
29
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m172.
|
|
30
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m184.89 kB[22m[1m[22m[2m │ gzip: 33.69 kB[22m[2m │ map: 371.
|
|
31
|
-
[32m✓ built in
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m172.87 kB[22m[1m[22m[2m │ gzip: 33.08 kB[22m[2m │ map: 370.30 kB[22m
|
|
30
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m184.89 kB[22m[1m[22m[2m │ gzip: 33.69 kB[22m[2m │ map: 371.69 kB[22m
|
|
31
|
+
[32m✓ built in 479ms[39m
|
package/CHANGELOG.md
CHANGED
package/dist/bundle.js
CHANGED
|
@@ -3954,7 +3954,7 @@
|
|
|
3954
3954
|
function w(n) {
|
|
3955
3955
|
throw new Error("Unexpected object: " + n);
|
|
3956
3956
|
}
|
|
3957
|
-
function
|
|
3957
|
+
function dn(n) {
|
|
3958
3958
|
if (!n || typeof n != "object")
|
|
3959
3959
|
return false;
|
|
3960
3960
|
const t = n;
|
|
@@ -3971,7 +3971,7 @@
|
|
|
3971
3971
|
return false;
|
|
3972
3972
|
}
|
|
3973
3973
|
}
|
|
3974
|
-
function
|
|
3974
|
+
function pn(n, t) {
|
|
3975
3975
|
if (n !== void 0)
|
|
3976
3976
|
switch (n.type) {
|
|
3977
3977
|
case "Json":
|
|
@@ -3999,7 +3999,7 @@
|
|
|
3999
3999
|
}
|
|
4000
4000
|
}
|
|
4001
4001
|
}
|
|
4002
|
-
function
|
|
4002
|
+
function ln(n) {
|
|
4003
4003
|
switch (n.type) {
|
|
4004
4004
|
case "Json": {
|
|
4005
4005
|
const t = {};
|
|
@@ -4040,15 +4040,15 @@
|
|
|
4040
4040
|
function Sn(n) {
|
|
4041
4041
|
return g(m(n));
|
|
4042
4042
|
}
|
|
4043
|
-
function
|
|
4043
|
+
function W(n, t) {
|
|
4044
4044
|
if (n === void 0) return t === void 0;
|
|
4045
4045
|
if (t === void 0) return true;
|
|
4046
4046
|
for (const e in t)
|
|
4047
4047
|
if (n[e] !== t[e]) return false;
|
|
4048
4048
|
return true;
|
|
4049
4049
|
}
|
|
4050
|
-
function
|
|
4051
|
-
return n.name === t.name &&
|
|
4050
|
+
function X(n, t) {
|
|
4051
|
+
return n.name === t.name && W(n.domain, t.domain);
|
|
4052
4052
|
}
|
|
4053
4053
|
function En(n, t) {
|
|
4054
4054
|
return { ...n, src: l(n.src, t) };
|
|
@@ -4076,7 +4076,7 @@
|
|
|
4076
4076
|
w(n);
|
|
4077
4077
|
}
|
|
4078
4078
|
}
|
|
4079
|
-
function
|
|
4079
|
+
function z$1(n) {
|
|
4080
4080
|
return g(n);
|
|
4081
4081
|
}
|
|
4082
4082
|
function P(n) {
|
|
@@ -4176,7 +4176,7 @@
|
|
|
4176
4176
|
* @returns A canonicalized string representation of the anchored column identifier
|
|
4177
4177
|
*/
|
|
4178
4178
|
deriveS(t, e) {
|
|
4179
|
-
return
|
|
4179
|
+
return z$1(this.derive(t, e));
|
|
4180
4180
|
}
|
|
4181
4181
|
}
|
|
4182
4182
|
function Jn(n, t) {
|
|
@@ -4203,10 +4203,10 @@
|
|
|
4203
4203
|
}
|
|
4204
4204
|
e.domain = r;
|
|
4205
4205
|
}
|
|
4206
|
-
return e.axes && (e.axes = e.axes.map((r) =>
|
|
4206
|
+
return e.axes && (e.axes = e.axes.map((r) => G(n, r))), e;
|
|
4207
4207
|
}
|
|
4208
|
-
function
|
|
4209
|
-
if (!
|
|
4208
|
+
function G(n, t) {
|
|
4209
|
+
if (!Q$1(t))
|
|
4210
4210
|
return t;
|
|
4211
4211
|
const e = t.anchor, r = n[e];
|
|
4212
4212
|
if (!r)
|
|
@@ -4223,7 +4223,7 @@
|
|
|
4223
4223
|
throw new Error(`Axis with name "${t.name}" not found in anchor "${e}"`);
|
|
4224
4224
|
return o[0];
|
|
4225
4225
|
} else if ("id" in t) {
|
|
4226
|
-
const o = r.axesSpec.filter((i) =>
|
|
4226
|
+
const o = r.axesSpec.filter((i) => X(t.id, m(i)));
|
|
4227
4227
|
if (o.length > 1)
|
|
4228
4228
|
throw new Error(`Multiple matching axes found for matcher in anchor "${e}"`);
|
|
4229
4229
|
if (o.length === 0)
|
|
@@ -4232,17 +4232,17 @@
|
|
|
4232
4232
|
}
|
|
4233
4233
|
throw new Error("Unsupported axis reference type");
|
|
4234
4234
|
}
|
|
4235
|
-
function
|
|
4235
|
+
function Q$1(n) {
|
|
4236
4236
|
return typeof n == "object" && "anchor" in n;
|
|
4237
4237
|
}
|
|
4238
4238
|
function f(n) {
|
|
4239
4239
|
return n.kind === "PColumn";
|
|
4240
4240
|
}
|
|
4241
|
-
function
|
|
4241
|
+
function Y$1(n) {
|
|
4242
4242
|
return f(n.spec);
|
|
4243
4243
|
}
|
|
4244
4244
|
function Dn(n) {
|
|
4245
|
-
if (!
|
|
4245
|
+
if (!Y$1(n)) throw new Error(`not a PColumn (kind = ${n.spec.kind})`);
|
|
4246
4246
|
return n;
|
|
4247
4247
|
}
|
|
4248
4248
|
function jn(n, t) {
|
|
@@ -4351,8 +4351,8 @@
|
|
|
4351
4351
|
function Mn(n, t) {
|
|
4352
4352
|
return n.ok ? { ok: true, value: t(n.value) } : n;
|
|
4353
4353
|
}
|
|
4354
|
-
const
|
|
4355
|
-
z$2.string().length(
|
|
4354
|
+
const rn = 24;
|
|
4355
|
+
z$2.string().length(rn).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
|
|
4356
4356
|
var _e = Object.defineProperty;
|
|
4357
4357
|
var Ie = (t, e, n) => e in t ? _e(t, e, { enumerable: true, configurable: true, writable: true, value: n }) : t[e] = n;
|
|
4358
4358
|
var T = (t, e, n) => Ie(t, typeof e != "symbol" ? e + "" : e, n);
|
|
@@ -4515,7 +4515,7 @@
|
|
|
4515
4515
|
getPColumns(e = false, n = "") {
|
|
4516
4516
|
const r = this.parsePObjectCollection(e, n);
|
|
4517
4517
|
return r === void 0 ? void 0 : Object.entries(r).map(([, s]) => {
|
|
4518
|
-
if (!
|
|
4518
|
+
if (!Y$1(s)) throw new Error(`not a PColumn (kind = ${s.spec.kind})`);
|
|
4519
4519
|
return s;
|
|
4520
4520
|
});
|
|
4521
4521
|
}
|
|
@@ -4934,7 +4934,7 @@
|
|
|
4934
4934
|
return true;
|
|
4935
4935
|
}
|
|
4936
4936
|
function fe(t) {
|
|
4937
|
-
return jn(t, (e) => e instanceof I ? e.handle :
|
|
4937
|
+
return jn(t, (e) => e instanceof I ? e.handle : dn(e) ? pn(e, (n) => n.handle) : e);
|
|
4938
4938
|
}
|
|
4939
4939
|
function Qe(t) {
|
|
4940
4940
|
if (t)
|
|
@@ -4999,7 +4999,7 @@
|
|
|
4999
4999
|
if (r != null && r.dontWaitAllData) continue;
|
|
5000
5000
|
return;
|
|
5001
5001
|
}
|
|
5002
|
-
if (!
|
|
5002
|
+
if (!Y$1(g2)) throw new Error(`Assertion failed: expected PColumn, got ${g2.spec.kind}`);
|
|
5003
5003
|
const v = Ye(g2.data);
|
|
5004
5004
|
if (!v) {
|
|
5005
5005
|
if (r != null && r.dontWaitAllData) continue;
|
|
@@ -5096,7 +5096,7 @@
|
|
|
5096
5096
|
y.splice(g2, 1);
|
|
5097
5097
|
u = { ...u, axesSpec: y };
|
|
5098
5098
|
}
|
|
5099
|
-
const f2 =
|
|
5099
|
+
const f2 = ln(m2);
|
|
5100
5100
|
u.annotations ? u = {
|
|
5101
5101
|
...u,
|
|
5102
5102
|
annotations: {
|
|
@@ -5278,7 +5278,7 @@
|
|
|
5278
5278
|
findLabels(e) {
|
|
5279
5279
|
const n = this.getData();
|
|
5280
5280
|
for (const r of n.entries) {
|
|
5281
|
-
if (!
|
|
5281
|
+
if (!Y$1(r.obj)) continue;
|
|
5282
5282
|
const i = r.obj.spec;
|
|
5283
5283
|
if (i.name === "pl7.app/label" && i.axesSpec.length === 1 && i.axesSpec[0].name === e.name && i.axesSpec[0].type === e.type && re(e.domain, i.axesSpec[0].domain)) {
|
|
5284
5284
|
if (r.obj.data.resourceType.name !== "PColumnData/Json")
|
|
@@ -5336,7 +5336,7 @@
|
|
|
5336
5336
|
}
|
|
5337
5337
|
verifyInlineAndExplicitColumnsSupport(e) {
|
|
5338
5338
|
var i;
|
|
5339
|
-
const n = e.some((s) => !(s.data instanceof I) ||
|
|
5339
|
+
const n = e.some((s) => !(s.data instanceof I) || dn(s.data)), r = ((i = this.ctx.featureFlags) == null ? void 0 : i.inlineColumnsSupport) === true;
|
|
5340
5340
|
if (n && !r) throw Error("Inline or explicit columns not supported");
|
|
5341
5341
|
}
|
|
5342
5342
|
createPFrame(e) {
|
|
@@ -5366,7 +5366,7 @@
|
|
|
5366
5366
|
return this.ctx.getCurrentUnstableMarker();
|
|
5367
5367
|
}
|
|
5368
5368
|
}
|
|
5369
|
-
const U = "1.
|
|
5369
|
+
const U = "1.27.6";
|
|
5370
5370
|
function tt(t) {
|
|
5371
5371
|
return t.__renderLambda === true;
|
|
5372
5372
|
}
|
|
@@ -5550,7 +5550,7 @@
|
|
|
5550
5550
|
function Gt(t, e, n, r) {
|
|
5551
5551
|
var l2, m$1;
|
|
5552
5552
|
Array.isArray(r) && (r = { filters: r });
|
|
5553
|
-
const i = t.resultPool.getData().entries.map((u) => u.obj).filter(
|
|
5553
|
+
const i = t.resultPool.getData().entries.map((u) => u.obj).filter(Y$1).filter((u) => u.spec.name === "pl7.app/label" && u.spec.axesSpec.length === 1), s = (u, f2) => {
|
|
5554
5554
|
let p2 = u.toString();
|
|
5555
5555
|
if (f2)
|
|
5556
5556
|
for (const d in f2)
|
|
@@ -5562,7 +5562,7 @@
|
|
|
5562
5562
|
const p2 = m(f2);
|
|
5563
5563
|
for (const d of i) {
|
|
5564
5564
|
const y = d.spec.axesSpec[0], g2 = m(d.spec.axesSpec[0]);
|
|
5565
|
-
if (
|
|
5565
|
+
if (X(p2, g2)) {
|
|
5566
5566
|
const v = Object.keys(p2.domain ?? {}).length, w2 = Object.keys(g2.domain ?? {}).length;
|
|
5567
5567
|
if (v > w2) {
|
|
5568
5568
|
const x2 = s(d.id, p2.domain);
|