@milaboratories/milaboratories.pool-explorer.model 1.0.70 → 1.0.72
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 +14 -0
- package/dist/bundle.js +104 -83
- package/dist/bundle.js.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +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 "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @milaboratories/milaboratories.pool-explorer.model@1.0.
|
|
3
|
+
> @milaboratories/milaboratories.pool-explorer.model@1.0.72 build /home/runner/_work/platforma/platforma/etc/blocks/pool-explorer/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
|
[32mCJS[39m [1mdist/index.cjs [22m[32m436.00 B[39m
|
|
15
15
|
[32mCJS[39m [1mdist/index.cjs.map [22m[32m1013.00 B[39m
|
|
16
|
-
[32mCJS[39m ⚡️ Build success in
|
|
16
|
+
[32mCJS[39m ⚡️ Build success in 195ms
|
|
17
17
|
[32mESM[39m [1mdist/index.js [22m[32m410.00 B[39m
|
|
18
18
|
[32mESM[39m [1mdist/index.js.map [22m[32m996.00 B[39m
|
|
19
|
-
[32mESM[39m ⚡️ Build success in
|
|
19
|
+
[32mESM[39m ⚡️ Build success in 195ms
|
|
20
20
|
[34mDTS[39m Build start
|
|
21
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
+
[32mDTS[39m ⚡️ Build success in 2801ms
|
|
22
22
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m1.14 KB[39m
|
|
23
23
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.14 KB[39m
|
|
24
24
|
[36mvite v6.3.5 [32mbuilding for production...[36m[39m
|
|
@@ -26,6 +26,6 @@ transforming...
|
|
|
26
26
|
[32m✓[39m 11 modules transformed.
|
|
27
27
|
rendering chunks...
|
|
28
28
|
computing gzip size...
|
|
29
|
-
[2mdist/[22m[36mbundle.js [39m[1m[
|
|
30
|
-
[2mdist/[22m[36mbundle.js [39m[1m[
|
|
31
|
-
[32m✓ built in 1.
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m182.08 kB[22m[1m[22m[2m │ gzip: 34.97 kB[22m[2m │ map: 416.11 kB[22m
|
|
30
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m194.57 kB[22m[1m[22m[2m │ gzip: 35.59 kB[22m[2m │ map: 417.58 kB[22m
|
|
31
|
+
[32m✓ built in 1.77s[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @milaboratories/milaboratories.pool-explorer.model
|
|
2
2
|
|
|
3
|
+
## 1.0.72
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [e48177a]
|
|
8
|
+
- @platforma-sdk/model@1.41.1
|
|
9
|
+
|
|
10
|
+
## 1.0.71
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [e7c0edb]
|
|
15
|
+
- @platforma-sdk/model@1.41.0
|
|
16
|
+
|
|
3
17
|
## 1.0.70
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/bundle.js
CHANGED
|
@@ -4099,7 +4099,7 @@
|
|
|
4099
4099
|
const { type: n2, name: t, domain: r } = e, o = { type: n2, name: t };
|
|
4100
4100
|
return r && Object.entries(r).length > 0 && Object.assign(o, { domain: r }), o;
|
|
4101
4101
|
}
|
|
4102
|
-
function
|
|
4102
|
+
function F(e) {
|
|
4103
4103
|
return e.map(y);
|
|
4104
4104
|
}
|
|
4105
4105
|
function Te$1(e) {
|
|
@@ -4153,10 +4153,10 @@
|
|
|
4153
4153
|
function te(e) {
|
|
4154
4154
|
return Be(e);
|
|
4155
4155
|
}
|
|
4156
|
-
function
|
|
4156
|
+
function x(e) {
|
|
4157
4157
|
return Be(y(e));
|
|
4158
4158
|
}
|
|
4159
|
-
function
|
|
4159
|
+
function S(e, n2) {
|
|
4160
4160
|
return JSON.stringify([e, n2]);
|
|
4161
4161
|
}
|
|
4162
4162
|
let Ge$1 = class Ge {
|
|
@@ -4174,14 +4174,14 @@
|
|
|
4174
4174
|
t.sort((r, o) => r[0].localeCompare(o[0]));
|
|
4175
4175
|
for (const [r, o] of t) {
|
|
4176
4176
|
for (let i = 0; i < o.axesSpec.length; i++) {
|
|
4177
|
-
const a = o.axesSpec[i], s2 =
|
|
4177
|
+
const a = o.axesSpec[i], s2 = x(a);
|
|
4178
4178
|
this.axes.set(s2, { anchor: r, idx: i });
|
|
4179
4179
|
}
|
|
4180
4180
|
if (o.domain !== void 0) {
|
|
4181
4181
|
const i = Object.entries(o.domain);
|
|
4182
4182
|
i.sort((a, s2) => a[0].localeCompare(s2[0])), this.domainPackToAnchor.set(JSON.stringify(i), r), this.domainPacks.push(i.map(([a]) => a));
|
|
4183
4183
|
for (const [a, s2] of i) {
|
|
4184
|
-
const u2 =
|
|
4184
|
+
const u2 = S(a, s2);
|
|
4185
4185
|
this.domains.set(u2, r);
|
|
4186
4186
|
}
|
|
4187
4187
|
}
|
|
@@ -4216,11 +4216,11 @@
|
|
|
4216
4216
|
for (const [a, s2] of Object.entries(n2.domain ?? {})) {
|
|
4217
4217
|
if (o !== void 0 && o.has(a))
|
|
4218
4218
|
continue;
|
|
4219
|
-
const u2 =
|
|
4219
|
+
const u2 = S(a, s2), c2 = this.domains.get(u2);
|
|
4220
4220
|
r.domain ?? (r.domain = {}), r.domain[a] = c2 ? { anchor: c2 } : s2;
|
|
4221
4221
|
}
|
|
4222
4222
|
if (r.axes = n2.axesSpec.map((a) => {
|
|
4223
|
-
const s2 =
|
|
4223
|
+
const s2 = x(a), u2 = this.axes.get(s2);
|
|
4224
4224
|
return u2 === void 0 ? y(a) : u2;
|
|
4225
4225
|
}), !t || t.length === 0)
|
|
4226
4226
|
return r;
|
|
@@ -4353,7 +4353,7 @@
|
|
|
4353
4353
|
};
|
|
4354
4354
|
return t(e), [...n2.values()];
|
|
4355
4355
|
}
|
|
4356
|
-
function
|
|
4356
|
+
function v(e, n2) {
|
|
4357
4357
|
if (e.name !== void 0 && e.name !== n2.name)
|
|
4358
4358
|
return false;
|
|
4359
4359
|
if (e.type !== void 0) {
|
|
@@ -4371,7 +4371,7 @@
|
|
|
4371
4371
|
}
|
|
4372
4372
|
return true;
|
|
4373
4373
|
}
|
|
4374
|
-
function
|
|
4374
|
+
function N(e, n2) {
|
|
4375
4375
|
if (n2.name !== void 0 && e.name !== n2.name || n2.namePattern !== void 0 && !new RegExp(n2.namePattern).test(e.name))
|
|
4376
4376
|
return false;
|
|
4377
4377
|
if (n2.type !== void 0) {
|
|
@@ -4391,13 +4391,13 @@
|
|
|
4391
4391
|
const t = e.axesSpec.map(y);
|
|
4392
4392
|
if (n2.partialAxesMatch) {
|
|
4393
4393
|
for (const r of n2.axes)
|
|
4394
|
-
if (!t.some((o) =>
|
|
4394
|
+
if (!t.some((o) => v(r, o)))
|
|
4395
4395
|
return false;
|
|
4396
4396
|
} else {
|
|
4397
4397
|
if (t.length !== n2.axes.length)
|
|
4398
4398
|
return false;
|
|
4399
4399
|
for (let r = 0; r < n2.axes.length; r++)
|
|
4400
|
-
if (!
|
|
4400
|
+
if (!v(n2.axes[r], t[r]))
|
|
4401
4401
|
return false;
|
|
4402
4402
|
}
|
|
4403
4403
|
}
|
|
@@ -4418,14 +4418,14 @@
|
|
|
4418
4418
|
return true;
|
|
4419
4419
|
}
|
|
4420
4420
|
function rn(e) {
|
|
4421
|
-
return Array.isArray(e) ? (n2) => e.some((t) => l$1(n2) &&
|
|
4421
|
+
return Array.isArray(e) ? (n2) => e.some((t) => l$1(n2) && N(n2, t)) : (n2) => l$1(n2) && N(n2, e);
|
|
4422
4422
|
}
|
|
4423
4423
|
function on(e) {
|
|
4424
4424
|
const n2 = {
|
|
4425
4425
|
kind: e.kind,
|
|
4426
4426
|
name: e.name
|
|
4427
4427
|
};
|
|
4428
|
-
return e.domain !== void 0 && (n2.domain = e.domain), l$1(e) && (n2.axesSpec =
|
|
4428
|
+
return e.domain !== void 0 && (n2.domain = e.domain), l$1(e) && (n2.axesSpec = F(e.axesSpec)), Be(n2);
|
|
4429
4429
|
}
|
|
4430
4430
|
z$1.object({
|
|
4431
4431
|
__isRef: z$1.literal(true).describe("Crucial marker for the block dependency tree reconstruction"),
|
|
@@ -4569,7 +4569,7 @@
|
|
|
4569
4569
|
return this.isResolved ? this.resolvedValue : { __awaited_futures__: [this.handle] };
|
|
4570
4570
|
}
|
|
4571
4571
|
}
|
|
4572
|
-
function
|
|
4572
|
+
function ye(t, e) {
|
|
4573
4573
|
return t === void 0 ? void 0 : e(t);
|
|
4574
4574
|
}
|
|
4575
4575
|
class O {
|
|
@@ -4611,7 +4611,7 @@
|
|
|
4611
4611
|
...this.resolvePath,
|
|
4612
4612
|
...n2.map((i) => typeof i == "string" ? i : i.field)
|
|
4613
4613
|
];
|
|
4614
|
-
return
|
|
4614
|
+
return ye(
|
|
4615
4615
|
b().resolveWithCommon(this.handle, e, ...n2),
|
|
4616
4616
|
(i) => new O(i, r)
|
|
4617
4617
|
);
|
|
@@ -4633,7 +4633,7 @@
|
|
|
4633
4633
|
}
|
|
4634
4634
|
getError() {
|
|
4635
4635
|
const e = [...this.resolvePath, "error"];
|
|
4636
|
-
return
|
|
4636
|
+
return ye(
|
|
4637
4637
|
b().getError(this.handle),
|
|
4638
4638
|
(n2) => new O(n2, e)
|
|
4639
4639
|
);
|
|
@@ -4802,56 +4802,56 @@
|
|
|
4802
4802
|
function ze(t, e, n2 = {}) {
|
|
4803
4803
|
const r = /* @__PURE__ */ new Map(), i = n2.forceTraceElements !== void 0 && n2.forceTraceElements.length > 0 ? new Set(n2.forceTraceElements) : void 0, o = /* @__PURE__ */ new Map(), s2 = t.map((d2) => {
|
|
4804
4804
|
var c2, v2;
|
|
4805
|
-
const
|
|
4806
|
-
let p2,
|
|
4807
|
-
"spec" in
|
|
4808
|
-
const
|
|
4809
|
-
...
|
|
4805
|
+
const y2 = e(d2);
|
|
4806
|
+
let p2, g2, C;
|
|
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], x2 = (v2 = p2.annotations) == null ? void 0 : v2[Lt], S2 = (x2 ? Vt.safeParse(JSON.parse(x2)).data : void 0) ?? [], P = [
|
|
4809
|
+
...g2 ?? [],
|
|
4810
4810
|
...S2,
|
|
4811
|
-
...
|
|
4811
|
+
...C ?? []
|
|
4812
4812
|
];
|
|
4813
|
-
if (
|
|
4814
|
-
const I = { label:
|
|
4813
|
+
if (E !== void 0) {
|
|
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 = [],
|
|
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 = (
|
|
4820
|
-
|
|
4821
|
-
const
|
|
4822
|
-
o.set(
|
|
4823
|
-
|
|
4819
|
+
const { type: $ } = P[I], K = P[I].importance ?? 0, j = (F2.get($) ?? 0) + 1;
|
|
4820
|
+
F2.set($, j);
|
|
4821
|
+
const N2 = `${$}@${j}`;
|
|
4822
|
+
o.set(N2, (o.get(N2) ?? 0) + 1), r.set(
|
|
4823
|
+
N2,
|
|
4824
4824
|
Math.max(
|
|
4825
|
-
r.get(
|
|
4825
|
+
r.get(N2) ?? Number.NEGATIVE_INFINITY,
|
|
4826
4826
|
K - (P.length - I) * kt
|
|
4827
4827
|
)
|
|
4828
|
-
), T.push({ ...P[I], fullType:
|
|
4828
|
+
), T.push({ ...P[I], fullType: N2, occurrenceIndex: j });
|
|
4829
4829
|
}
|
|
4830
4830
|
return T.reverse(), {
|
|
4831
4831
|
value: d2,
|
|
4832
4832
|
spec: p2,
|
|
4833
|
-
label:
|
|
4833
|
+
label: E,
|
|
4834
4834
|
fullTrace: T
|
|
4835
4835
|
};
|
|
4836
4836
|
}), a = [], l2 = [], u2 = [...r];
|
|
4837
|
-
u2.sort(([, d2], [,
|
|
4837
|
+
u2.sort(([, d2], [, y2]) => y2 - d2);
|
|
4838
4838
|
for (const [d2] of u2)
|
|
4839
4839
|
d2.endsWith("@1") || o.get(d2) === t.length ? a.push(d2) : l2.push(d2);
|
|
4840
|
-
const h = (d2,
|
|
4840
|
+
const h = (d2, y2 = false) => {
|
|
4841
4841
|
const p2 = [];
|
|
4842
|
-
for (let
|
|
4843
|
-
const
|
|
4844
|
-
if (
|
|
4845
|
-
if (
|
|
4842
|
+
for (let g2 = 0; g2 < s2.length; g2++) {
|
|
4843
|
+
const C = s2[g2], E = C.fullTrace.filter((P) => d2.has(P.fullType) || i && i.has(P.type));
|
|
4844
|
+
if (E.length === 0)
|
|
4845
|
+
if (y2)
|
|
4846
4846
|
p2.push({
|
|
4847
4847
|
label: "Unlabeled",
|
|
4848
|
-
value:
|
|
4848
|
+
value: C.value
|
|
4849
4849
|
});
|
|
4850
4850
|
else return;
|
|
4851
|
-
const x2 =
|
|
4851
|
+
const x2 = E.map((P) => P.label), S2 = n2.separator ?? " / ";
|
|
4852
4852
|
p2.push({
|
|
4853
4853
|
label: x2.join(S2),
|
|
4854
|
-
value:
|
|
4854
|
+
value: C.value
|
|
4855
4855
|
});
|
|
4856
4856
|
}
|
|
4857
4857
|
return p2;
|
|
@@ -4866,8 +4866,8 @@
|
|
|
4866
4866
|
n2.includeNativeLabel && d2.add(Ee);
|
|
4867
4867
|
for (let p2 = 0; p2 < f; ++p2) d2.add(a[p2]);
|
|
4868
4868
|
m2 >= 0 && d2.add(a[m2]);
|
|
4869
|
-
const
|
|
4870
|
-
if (
|
|
4869
|
+
const y2 = h(d2);
|
|
4870
|
+
if (y2 !== void 0 && new Set(y2.map((p2) => p2.label)).size === t.length) return y2;
|
|
4871
4871
|
m2++, m2 >= a.length && (f++, m2 = f);
|
|
4872
4872
|
}
|
|
4873
4873
|
return h(/* @__PURE__ */ new Set([...a, ...l2]), true);
|
|
@@ -5206,42 +5206,42 @@
|
|
|
5206
5206
|
};
|
|
5207
5207
|
let u2 = () => false;
|
|
5208
5208
|
if (a) {
|
|
5209
|
-
const p2 = (Array.isArray(a) ? a : [a]).map((
|
|
5210
|
-
if (Ve(
|
|
5209
|
+
const p2 = (Array.isArray(a) ? a : [a]).map((g2) => {
|
|
5210
|
+
if (Ve(g2)) {
|
|
5211
5211
|
if (!r)
|
|
5212
5212
|
throw new Error("Anchored selectors in exclude require an AnchoredIdDeriver to be provided in options.");
|
|
5213
|
-
return rn(Xe$1(r.anchors,
|
|
5213
|
+
return rn(Xe$1(r.anchors, g2, n2));
|
|
5214
5214
|
} else
|
|
5215
|
-
return rn(
|
|
5215
|
+
return rn(g2);
|
|
5216
5216
|
});
|
|
5217
|
-
u2 = (
|
|
5217
|
+
u2 = (g2) => p2.some((C) => C(g2));
|
|
5218
5218
|
}
|
|
5219
5219
|
const h = typeof e == "function" ? [e] : Array.isArray(e) ? e : [e], f = [], m2 = /* @__PURE__ */ new Set();
|
|
5220
5220
|
for (const p2 of h) {
|
|
5221
|
-
const
|
|
5222
|
-
let
|
|
5223
|
-
if (
|
|
5221
|
+
const g2 = Ve(p2);
|
|
5222
|
+
let C;
|
|
5223
|
+
if (g2) {
|
|
5224
5224
|
if (!r)
|
|
5225
5225
|
throw new Error("Anchored selectors require an AnchoredIdDeriver to be provided in options.");
|
|
5226
|
-
|
|
5226
|
+
C = Xe$1(r.anchors, p2, n2);
|
|
5227
5227
|
} else
|
|
5228
|
-
|
|
5229
|
-
const
|
|
5228
|
+
C = p2;
|
|
5229
|
+
const E = /* @__PURE__ */ new Set(), x2 = [];
|
|
5230
5230
|
for (const T of this.providers) {
|
|
5231
|
-
const
|
|
5232
|
-
for (const c2 of
|
|
5231
|
+
const F2 = T.selectColumns(C);
|
|
5232
|
+
for (const c2 of F2) {
|
|
5233
5233
|
if (u2(c2.spec)) continue;
|
|
5234
|
-
if (
|
|
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) || (
|
|
5237
|
+
m2.has(v2) || (E.add(c2.id), m2.add(v2), x2.push(c2));
|
|
5238
5238
|
}
|
|
5239
5239
|
}
|
|
5240
5240
|
if (x2.length === 0) continue;
|
|
5241
5241
|
const S2 = $t(p2), P = S2.length > 0;
|
|
5242
5242
|
for (const T of x2) {
|
|
5243
5243
|
if (!l$1(T.spec)) continue;
|
|
5244
|
-
const
|
|
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 ${
|
|
5258
|
-
const $ = S2.map((_2) => this.findLabels(y(
|
|
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
|
|
5277
|
+
const N2 = [...F2.axesSpec], et = S2.map((_2) => _2);
|
|
5278
5278
|
for (let _2 = S2.length - 1; _2 >= 0; _2--)
|
|
5279
|
-
|
|
5280
|
-
const tt = { ...
|
|
5279
|
+
N2.splice(S2[_2], 1);
|
|
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(
|
|
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:
|
|
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:
|
|
5300
|
-
adjustedSpec:
|
|
5299
|
+
spec: F2,
|
|
5300
|
+
adjustedSpec: F2
|
|
5301
5301
|
});
|
|
5302
5302
|
}
|
|
5303
5303
|
}
|
|
@@ -5309,26 +5309,26 @@
|
|
|
5309
5309
|
suffixTrace: p2.type === "split" ? qt(p2.axisFilters) : void 0
|
|
5310
5310
|
}),
|
|
5311
5311
|
l2
|
|
5312
|
-
),
|
|
5313
|
-
for (const { value: p2, label:
|
|
5314
|
-
const { originalColumn:
|
|
5312
|
+
), y$1 = [];
|
|
5313
|
+
for (const { value: p2, label: g2 } of d2) {
|
|
5314
|
+
const { originalColumn: C, spec: E } = p2, x2 = p2.type === "split" ? p2.axisFilters : void 0, S2 = Bt(x2);
|
|
5315
5315
|
let P;
|
|
5316
|
-
r ? P = r.deriveS(
|
|
5316
|
+
r ? P = r.deriveS(E, S2) : P = Jt(C.id, S2);
|
|
5317
5317
|
let T = { ...p2.adjustedSpec };
|
|
5318
5318
|
s2 && (T = {
|
|
5319
5319
|
...T,
|
|
5320
5320
|
annotations: {
|
|
5321
5321
|
...T.annotations ?? {},
|
|
5322
|
-
"pl7.app/label":
|
|
5322
|
+
"pl7.app/label": g2
|
|
5323
5323
|
}
|
|
5324
|
-
}),
|
|
5324
|
+
}), y$1.push({
|
|
5325
5325
|
id: P,
|
|
5326
5326
|
spec: T,
|
|
5327
5327
|
data: () => p2.type === "split" ? Ie(Kt(p2.dataEntries, S2)) : p2.originalColumn.data,
|
|
5328
|
-
label:
|
|
5328
|
+
label: g2
|
|
5329
5329
|
});
|
|
5330
5330
|
}
|
|
5331
|
-
return
|
|
5331
|
+
return y$1;
|
|
5332
5332
|
}
|
|
5333
5333
|
getColumns(e, n2) {
|
|
5334
5334
|
const r = this.getUniversalEntries(e, {
|
|
@@ -5706,7 +5706,7 @@
|
|
|
5706
5706
|
// return this.ctx.featureFlags;
|
|
5707
5707
|
// }
|
|
5708
5708
|
getNamedAccessor(e) {
|
|
5709
|
-
return
|
|
5709
|
+
return ye(
|
|
5710
5710
|
this.ctx.getAccessorHandleByName(e),
|
|
5711
5711
|
(n2) => new O(n2, [e])
|
|
5712
5712
|
);
|
|
@@ -5779,7 +5779,7 @@
|
|
|
5779
5779
|
this.ctx.logError(e);
|
|
5780
5780
|
}
|
|
5781
5781
|
}
|
|
5782
|
-
const X = "1.
|
|
5782
|
+
const X = "1.41.1";
|
|
5783
5783
|
function Gt(t) {
|
|
5784
5784
|
return t.__renderLambda === true;
|
|
5785
5785
|
}
|
|
@@ -5953,6 +5953,20 @@
|
|
|
5953
5953
|
this._featureFlags
|
|
5954
5954
|
);
|
|
5955
5955
|
}
|
|
5956
|
+
/** Sets or overrides feature flags for the block. */
|
|
5957
|
+
withFeatureFlags(e) {
|
|
5958
|
+
return new w2(
|
|
5959
|
+
this._renderingMode,
|
|
5960
|
+
this._initialArgs,
|
|
5961
|
+
this._initialUiState,
|
|
5962
|
+
this._outputs,
|
|
5963
|
+
this._inputsValid,
|
|
5964
|
+
this._sections,
|
|
5965
|
+
this._title,
|
|
5966
|
+
this._enrichmentTargets,
|
|
5967
|
+
{ ...this._featureFlags, ...e }
|
|
5968
|
+
);
|
|
5969
|
+
}
|
|
5956
5970
|
/**
|
|
5957
5971
|
* Defines how to derive list of upstream references this block is meant to enrich with its exports from block args.
|
|
5958
5972
|
* Influences dependency graph construction.
|
|
@@ -5973,9 +5987,16 @@
|
|
|
5973
5987
|
/** Renders all provided block settings into a pre-configured platforma API
|
|
5974
5988
|
* instance, that can be used in frontend to interact with block state, and
|
|
5975
5989
|
* other features provided by the platforma to the block. */
|
|
5976
|
-
done() {
|
|
5990
|
+
done(e) {
|
|
5991
|
+
const n2 = e ?? 1;
|
|
5992
|
+
return this.withFeatureFlags({
|
|
5993
|
+
...this._featureFlags,
|
|
5994
|
+
requiresUIAPIVersion: n2
|
|
5995
|
+
})._done(n2);
|
|
5996
|
+
}
|
|
5997
|
+
_done(e) {
|
|
5977
5998
|
if (this._initialArgs === void 0) throw new Error("Initial arguments not set.");
|
|
5978
|
-
const
|
|
5999
|
+
const n2 = {
|
|
5979
6000
|
v3: {
|
|
5980
6001
|
sdkVersion: X,
|
|
5981
6002
|
renderingMode: this._renderingMode,
|
|
@@ -5995,10 +6016,10 @@
|
|
|
5995
6016
|
inputsValid: me(this._inputsValid),
|
|
5996
6017
|
sections: me(this._sections),
|
|
5997
6018
|
outputs: Object.fromEntries(
|
|
5998
|
-
Object.entries(this._outputs).map(([
|
|
6019
|
+
Object.entries(this._outputs).map(([r, i]) => [r, me(i)])
|
|
5999
6020
|
)
|
|
6000
6021
|
};
|
|
6001
|
-
return At() ? $e({ sdkVersion: X }) : { config:
|
|
6022
|
+
return globalThis.platformaApiVersion = e, At() ? $e({ sdkVersion: X, apiVersion: platformaApiVersion }) : { config: n2 };
|
|
6002
6023
|
}
|
|
6003
6024
|
};
|
|
6004
6025
|
V(w, "INITIAL_BLOCK_FEATURE_FLAGS", {
|