@milaboratories/milaboratories.pool-explorer.model 1.0.46 → 1.0.47
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 +7 -0
- package/dist/bundle.js +34 -34
- 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 "/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.47 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 67ms
|
|
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 68ms
|
|
20
20
|
[34mDTS[39m Build start
|
|
21
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
+
[32mDTS[39m ⚡️ Build success in 862ms
|
|
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 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[2m178.26 kB[22m[1m[22m[2m │ gzip: 34.
|
|
30
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m190.49 kB[22m[1m[22m[2m │ gzip: 34.79 kB[22m[2m │ map: 390.
|
|
31
|
-
[32m✓ built in
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m178.26 kB[22m[1m[22m[2m │ gzip: 34.19 kB[22m[2m │ map: 389.16 kB[22m
|
|
30
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m190.49 kB[22m[1m[22m[2m │ gzip: 34.79 kB[22m[2m │ map: 390.62 kB[22m
|
|
31
|
+
[32m✓ built in 737ms[39m
|
package/CHANGELOG.md
CHANGED
package/dist/bundle.js
CHANGED
|
@@ -3999,7 +3999,7 @@
|
|
|
3999
3999
|
}
|
|
4000
4000
|
}
|
|
4001
4001
|
}
|
|
4002
|
-
function F(n2) {
|
|
4002
|
+
function F$1(n2) {
|
|
4003
4003
|
if (!n2 || typeof n2 != "object")
|
|
4004
4004
|
return false;
|
|
4005
4005
|
const e = n2;
|
|
@@ -4017,7 +4017,7 @@
|
|
|
4017
4017
|
}
|
|
4018
4018
|
}
|
|
4019
4019
|
function gn(n2) {
|
|
4020
|
-
return F(n2) ? n2.type === "JsonPartitioned" || n2.type === "BinaryPartitioned" : false;
|
|
4020
|
+
return F$1(n2) ? n2.type === "JsonPartitioned" || n2.type === "BinaryPartitioned" : false;
|
|
4021
4021
|
}
|
|
4022
4022
|
function bn(n2) {
|
|
4023
4023
|
switch (n2.type) {
|
|
@@ -4494,14 +4494,14 @@
|
|
|
4494
4494
|
});
|
|
4495
4495
|
var Xe = Object.defineProperty;
|
|
4496
4496
|
var Qe = (t, e, n2) => e in t ? Xe(t, e, { enumerable: true, configurable: true, writable: true, value: n2 }) : t[e] = n2;
|
|
4497
|
-
var
|
|
4497
|
+
var F = (t, e, n2) => Qe(t, typeof e != "symbol" ? e + "" : e, n2);
|
|
4498
4498
|
function re(t) {
|
|
4499
4499
|
return { type: "Immediate", value: t };
|
|
4500
4500
|
}
|
|
4501
4501
|
function ht() {
|
|
4502
4502
|
return typeof globalThis.getPlatforma < "u" || typeof globalThis.platforma < "u";
|
|
4503
4503
|
}
|
|
4504
|
-
function
|
|
4504
|
+
function Re(t) {
|
|
4505
4505
|
if (t && typeof globalThis.getPlatforma == "function")
|
|
4506
4506
|
return globalThis.getPlatforma(t);
|
|
4507
4507
|
if (typeof globalThis.platforma < "u") return globalThis.platforma;
|
|
@@ -4529,8 +4529,8 @@
|
|
|
4529
4529
|
}
|
|
4530
4530
|
class I {
|
|
4531
4531
|
constructor(e, n2 = (r) => r) {
|
|
4532
|
-
|
|
4533
|
-
|
|
4532
|
+
F(this, "isResolved", false);
|
|
4533
|
+
F(this, "resolvedValue");
|
|
4534
4534
|
this.handle = e, this.postProcess = n2, mt(e, (r) => {
|
|
4535
4535
|
this.resolvedValue = n2(r), this.isResolved = true;
|
|
4536
4536
|
});
|
|
@@ -4771,7 +4771,7 @@
|
|
|
4771
4771
|
return s2 && (l2 = l2.filter((u2) => u2[1] !== void 0)), l2.map(([u2, d]) => o(u2, d));
|
|
4772
4772
|
}
|
|
4773
4773
|
}
|
|
4774
|
-
const
|
|
4774
|
+
const De = "staging", Ke = "main";
|
|
4775
4775
|
const bt = "pl7.app/label", wt = "pl7.app/trace", At = z$2.object({
|
|
4776
4776
|
type: z$2.string(),
|
|
4777
4777
|
importance: z$2.number().optional(),
|
|
@@ -4780,11 +4780,11 @@
|
|
|
4780
4780
|
}), xt = z$2.array(At), Ct = 1e-3, Pt = "__LABEL__", Se = "__LABEL__@1";
|
|
4781
4781
|
function Ve(t, e, n2 = {}) {
|
|
4782
4782
|
const r = /* @__PURE__ */ new Map(), i = n2.forceTraceElements !== void 0 && n2.forceTraceElements.length > 0 ? new Set(n2.forceTraceElements) : void 0, s2 = /* @__PURE__ */ new Map(), o = t.map((f2) => {
|
|
4783
|
-
var S,
|
|
4783
|
+
var S, R;
|
|
4784
4784
|
const w2 = e(f2);
|
|
4785
4785
|
let c2, g, x2;
|
|
4786
4786
|
"spec" in w2 && typeof w2.spec == "object" ? (c2 = w2.spec, g = w2.prefixTrace, x2 = w2.suffixTrace) : c2 = w2;
|
|
4787
|
-
const p2 = (S = c2.annotations) == null ? void 0 : S[bt], A2 = (
|
|
4787
|
+
const p2 = (S = c2.annotations) == null ? void 0 : S[bt], A2 = (R = c2.annotations) == null ? void 0 : R[wt], m2 = (A2 ? xt.safeParse(JSON.parse(A2)).data : void 0) ?? [], v = [
|
|
4788
4788
|
...g ?? [],
|
|
4789
4789
|
...m2,
|
|
4790
4790
|
...x2 ?? []
|
|
@@ -4926,7 +4926,7 @@
|
|
|
4926
4926
|
}
|
|
4927
4927
|
function It(t) {
|
|
4928
4928
|
if (t === void 0) return;
|
|
4929
|
-
if (F(t))
|
|
4929
|
+
if (F$1(t))
|
|
4930
4930
|
return _t(t);
|
|
4931
4931
|
const e = St(t);
|
|
4932
4932
|
if (!e) return;
|
|
@@ -5041,7 +5041,7 @@
|
|
|
5041
5041
|
}
|
|
5042
5042
|
function Tt(t) {
|
|
5043
5043
|
if (t !== void 0) {
|
|
5044
|
-
if (F(t)) return t;
|
|
5044
|
+
if (F$1(t)) return t;
|
|
5045
5045
|
if (yn(t)) return bn(t);
|
|
5046
5046
|
if (t instanceof O) return ye(t);
|
|
5047
5047
|
throw new Error(`Unexpected input type: ${typeof t}`);
|
|
@@ -5129,7 +5129,7 @@
|
|
|
5129
5129
|
if (t)
|
|
5130
5130
|
return t.map((e) => [e.axisIdx, e.value]);
|
|
5131
5131
|
}
|
|
5132
|
-
function
|
|
5132
|
+
function Ft(t, e) {
|
|
5133
5133
|
if (!e || e.length === 0) return t;
|
|
5134
5134
|
const n2 = [...e].sort((r, i) => r[0] - i[0]);
|
|
5135
5135
|
return ke({ id: t, axisFilters: n2 });
|
|
@@ -5139,7 +5139,7 @@
|
|
|
5139
5139
|
const e = t, n2 = e.domain && typeof e.domain == "object" && Object.values(e.domain).some((i) => typeof i == "object" && i !== null && "anchor" in i), r = e.axes && Array.isArray(e.axes) && e.axes.some((i) => typeof i == "object" && i !== null && "anchor" in i);
|
|
5140
5140
|
return !!e.domainAnchor || n2 || r;
|
|
5141
5141
|
}
|
|
5142
|
-
function
|
|
5142
|
+
function Rt(t) {
|
|
5143
5143
|
if (typeof t != "object" || !("axes" in t) || t.axes === void 0)
|
|
5144
5144
|
return [];
|
|
5145
5145
|
const e = t.axes.map((n2, r) => typeof n2 == "object" && "split" in n2 && n2.split === true ? r : -1).filter((n2) => n2 !== -1);
|
|
@@ -5149,9 +5149,9 @@
|
|
|
5149
5149
|
}
|
|
5150
5150
|
class ve {
|
|
5151
5151
|
constructor() {
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5152
|
+
F(this, "defaultProviderStore", []);
|
|
5153
|
+
F(this, "providers", [new Et(this.defaultProviderStore)]);
|
|
5154
|
+
F(this, "axisLabelProviders", []);
|
|
5155
5155
|
}
|
|
5156
5156
|
addColumnProvider(e) {
|
|
5157
5157
|
return this.providers.push(e), this;
|
|
@@ -5206,12 +5206,12 @@
|
|
|
5206
5206
|
if (u2(S.spec)) continue;
|
|
5207
5207
|
if (p2.has(S.id))
|
|
5208
5208
|
throw new Error(`Duplicate column id ${S.id} in provider ${C2.constructor.name}`);
|
|
5209
|
-
const
|
|
5210
|
-
b.has(
|
|
5209
|
+
const R = _n(S.spec);
|
|
5210
|
+
b.has(R) || (p2.add(S.id), b.add(R), A2.push(S));
|
|
5211
5211
|
}
|
|
5212
5212
|
}
|
|
5213
5213
|
if (A2.length === 0) continue;
|
|
5214
|
-
const m2 =
|
|
5214
|
+
const m2 = Rt(c2), v = m2.length > 0;
|
|
5215
5215
|
for (const C2 of A2) {
|
|
5216
5216
|
if (!f(C2.spec)) continue;
|
|
5217
5217
|
const L = C2.spec;
|
|
@@ -5223,7 +5223,7 @@
|
|
|
5223
5223
|
}
|
|
5224
5224
|
if (!gn(S))
|
|
5225
5225
|
throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${S.type} for column ${C2.id}`);
|
|
5226
|
-
const
|
|
5226
|
+
const R = It(S), k2 = m2[m2.length - 1];
|
|
5227
5227
|
if (k2 >= S.partitionKeyLength)
|
|
5228
5228
|
throw new Error(`Not enough partition keys (${S.partitionKeyLength}) for requested split axes (max index ${k2}) in column ${L.name}`);
|
|
5229
5229
|
const W = m2.map((_) => this.findLabels(p$1(L.axesSpec[_]))), V = [], N2 = (_, G2) => {
|
|
@@ -5233,9 +5233,9 @@
|
|
|
5233
5233
|
return;
|
|
5234
5234
|
}
|
|
5235
5235
|
const $ = m2[G2];
|
|
5236
|
-
if ($ >=
|
|
5237
|
-
throw new Error(`Axis index ${$} out of bounds for unique keys array (length ${
|
|
5238
|
-
const J =
|
|
5236
|
+
if ($ >= R.length)
|
|
5237
|
+
throw new Error(`Axis index ${$} out of bounds for unique keys array (length ${R.length}) during split key generation for column ${C2.id}`);
|
|
5238
|
+
const J = R[$];
|
|
5239
5239
|
if (!J || J.length === 0) {
|
|
5240
5240
|
V.length = 0;
|
|
5241
5241
|
return;
|
|
@@ -5284,7 +5284,7 @@
|
|
|
5284
5284
|
for (const { value: c2, label: g } of f$1) {
|
|
5285
5285
|
const { originalColumn: x2, spec: p2 } = c2, A2 = c2.type === "split" ? c2.axisFilters : void 0, m2 = kt(A2);
|
|
5286
5286
|
let v;
|
|
5287
|
-
r ? v = r.deriveS(p2, m2) : v =
|
|
5287
|
+
r ? v = r.deriveS(p2, m2) : v = Ft(x2.id, m2);
|
|
5288
5288
|
let C2 = { ...c2.adjustedSpec };
|
|
5289
5289
|
o && (C2 = {
|
|
5290
5290
|
...C2,
|
|
@@ -5334,9 +5334,9 @@
|
|
|
5334
5334
|
function Ie(t) {
|
|
5335
5335
|
return Kn(t, (e) => e instanceof O ? e.handle : yn(e) ? hn(e, (n2) => n2.handle) : e);
|
|
5336
5336
|
}
|
|
5337
|
-
class
|
|
5337
|
+
class Dt {
|
|
5338
5338
|
constructor() {
|
|
5339
|
-
|
|
5339
|
+
F(this, "ctx", h());
|
|
5340
5340
|
}
|
|
5341
5341
|
/**
|
|
5342
5342
|
* @deprecated use getOptions()
|
|
@@ -5605,11 +5605,11 @@
|
|
|
5605
5605
|
}
|
|
5606
5606
|
class te {
|
|
5607
5607
|
constructor() {
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5608
|
+
F(this, "ctx");
|
|
5609
|
+
F(this, "args");
|
|
5610
|
+
F(this, "uiState");
|
|
5611
|
+
F(this, "_activeArgsCache");
|
|
5612
|
+
F(this, "resultPool", new Dt());
|
|
5613
5613
|
this.ctx = h(), this.args = JSON.parse(this.ctx.args), this.uiState = this.ctx.uiState !== void 0 ? JSON.parse(this.ctx.uiState) : {};
|
|
5614
5614
|
}
|
|
5615
5615
|
/**
|
|
@@ -5632,7 +5632,7 @@
|
|
|
5632
5632
|
);
|
|
5633
5633
|
}
|
|
5634
5634
|
get prerun() {
|
|
5635
|
-
return this.getNamedAccessor(
|
|
5635
|
+
return this.getNamedAccessor(De);
|
|
5636
5636
|
}
|
|
5637
5637
|
get outputs() {
|
|
5638
5638
|
return this.getNamedAccessor(Ke);
|
|
@@ -5686,7 +5686,7 @@
|
|
|
5686
5686
|
this.ctx.logError(e);
|
|
5687
5687
|
}
|
|
5688
5688
|
}
|
|
5689
|
-
const Y = "1.
|
|
5689
|
+
const Y = "1.33.2";
|
|
5690
5690
|
function Kt(t) {
|
|
5691
5691
|
return t.__renderLambda === true;
|
|
5692
5692
|
}
|
|
@@ -5892,7 +5892,7 @@
|
|
|
5892
5892
|
Object.entries(this._outputs).map(([n2, r]) => [n2, de(r)])
|
|
5893
5893
|
)
|
|
5894
5894
|
};
|
|
5895
|
-
return ht() ?
|
|
5895
|
+
return ht() ? Re({ sdkVersion: Y }) : { config: e };
|
|
5896
5896
|
}
|
|
5897
5897
|
}
|
|
5898
5898
|
const platforma = E.create("Heavy").withArgs({ titleArg: "The title" }).output("allSpecs", (ctx) => ctx.resultPool.getSpecs()).sections((ctx) => {
|