@milaboratories/milaboratories.pool-explorer.model 1.0.72 → 1.0.74
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 +14 -0
- package/dist/bundle.js +27 -27
- 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.74 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
|
|
@@ -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[32m436.00 B[39m
|
|
15
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[32m1013.00 B[39m
|
|
16
|
-
[32mCJS[39m ⚡️ Build success in 195ms
|
|
17
14
|
[32mESM[39m [1mdist/index.js [22m[32m410.00 B[39m
|
|
18
15
|
[32mESM[39m [1mdist/index.js.map [22m[32m996.00 B[39m
|
|
19
|
-
[32mESM[39m ⚡️ Build success in
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 274ms
|
|
17
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m436.00 B[39m
|
|
18
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m1013.00 B[39m
|
|
19
|
+
[32mCJS[39m ⚡️ Build success in 275ms
|
|
20
20
|
[34mDTS[39m Build start
|
|
21
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
+
[32mDTS[39m ⚡️ Build success in 3906ms
|
|
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[2m182.
|
|
30
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m194.
|
|
31
|
-
[32m✓ built in
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m182.09 kB[22m[1m[22m[2m │ gzip: 34.98 kB[22m[2m │ map: 416.11 kB[22m
|
|
30
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m194.58 kB[22m[1m[22m[2m │ gzip: 35.60 kB[22m[2m │ map: 417.58 kB[22m
|
|
31
|
+
[32m✓ built in 2.69s[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @milaboratories/milaboratories.pool-explorer.model
|
|
2
2
|
|
|
3
|
+
## 1.0.74
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [d469422]
|
|
8
|
+
- @platforma-sdk/model@1.41.3
|
|
9
|
+
|
|
10
|
+
## 1.0.73
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [28b630f]
|
|
15
|
+
- @platforma-sdk/model@1.41.2
|
|
16
|
+
|
|
3
17
|
## 1.0.72
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/bundle.js
CHANGED
|
@@ -4542,7 +4542,7 @@
|
|
|
4542
4542
|
return n2.callbackRegistry[t] = e, true;
|
|
4543
4543
|
}
|
|
4544
4544
|
const fe = /* @__PURE__ */ new Map();
|
|
4545
|
-
function
|
|
4545
|
+
function Ft(t, e) {
|
|
4546
4546
|
t in b().callbackRegistry || (b().callbackRegistry[t] = (n2) => {
|
|
4547
4547
|
for (const r of fe.get(t))
|
|
4548
4548
|
r(n2);
|
|
@@ -4552,7 +4552,7 @@
|
|
|
4552
4552
|
constructor(e, n2 = (r) => r) {
|
|
4553
4553
|
V(this, "isResolved", false);
|
|
4554
4554
|
V(this, "resolvedValue");
|
|
4555
|
-
this.handle = e, this.postProcess = n2,
|
|
4555
|
+
this.handle = e, this.postProcess = n2, Ft(e, (r) => {
|
|
4556
4556
|
this.resolvedValue = n2(r), this.isResolved = true;
|
|
4557
4557
|
});
|
|
4558
4558
|
}
|
|
@@ -4805,7 +4805,7 @@
|
|
|
4805
4805
|
const y2 = e(d2);
|
|
4806
4806
|
let p2, g2, C;
|
|
4807
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],
|
|
4808
|
+
const E = (c2 = p2.annotations) == null ? void 0 : c2[_t], F2 = (v2 = p2.annotations) == null ? void 0 : v2[Lt], S2 = (F2 ? Vt.safeParse(JSON.parse(F2)).data : void 0) ?? [], P = [
|
|
4809
4809
|
...g2 ?? [],
|
|
4810
4810
|
...S2,
|
|
4811
4811
|
...C ?? []
|
|
@@ -4814,10 +4814,10 @@
|
|
|
4814
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 = [], x2 = /* @__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
|
-
|
|
4819
|
+
const { type: $ } = P[I], K = P[I].importance ?? 0, j = (x2.get($) ?? 0) + 1;
|
|
4820
|
+
x2.set($, j);
|
|
4821
4821
|
const N2 = `${$}@${j}`;
|
|
4822
4822
|
o.set(N2, (o.get(N2) ?? 0) + 1), r.set(
|
|
4823
4823
|
N2,
|
|
@@ -4848,9 +4848,9 @@
|
|
|
4848
4848
|
value: C.value
|
|
4849
4849
|
});
|
|
4850
4850
|
else return;
|
|
4851
|
-
const
|
|
4851
|
+
const F2 = E.map((P) => P.label), S2 = n2.separator ?? " / ";
|
|
4852
4852
|
p2.push({
|
|
4853
|
-
label:
|
|
4853
|
+
label: F2.join(S2),
|
|
4854
4854
|
value: C.value
|
|
4855
4855
|
});
|
|
4856
4856
|
}
|
|
@@ -5226,22 +5226,22 @@
|
|
|
5226
5226
|
C = Xe$1(r.anchors, p2, n2);
|
|
5227
5227
|
} else
|
|
5228
5228
|
C = p2;
|
|
5229
|
-
const E = /* @__PURE__ */ new Set(),
|
|
5229
|
+
const E = /* @__PURE__ */ new Set(), F2 = [];
|
|
5230
5230
|
for (const T of this.providers) {
|
|
5231
|
-
const
|
|
5232
|
-
for (const c2 of
|
|
5231
|
+
const x2 = T.selectColumns(C);
|
|
5232
|
+
for (const c2 of x2) {
|
|
5233
5233
|
if (u2(c2.spec)) continue;
|
|
5234
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) || (E.add(c2.id), m2.add(v2),
|
|
5237
|
+
m2.has(v2) || (E.add(c2.id), m2.add(v2), F2.push(c2));
|
|
5238
5238
|
}
|
|
5239
5239
|
}
|
|
5240
|
-
if (
|
|
5240
|
+
if (F2.length === 0) continue;
|
|
5241
5241
|
const S2 = $t(p2), P = S2.length > 0;
|
|
5242
|
-
for (const T of
|
|
5242
|
+
for (const T of F2) {
|
|
5243
5243
|
if (!l$1(T.spec)) continue;
|
|
5244
|
-
const
|
|
5244
|
+
const x2 = 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 ${x2.name}`);
|
|
5258
|
+
const $ = S2.map((_2) => this.findLabels(y(x2.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 N2 = [...
|
|
5277
|
+
const N2 = [...x2.axesSpec], et = S2.map((_2) => _2);
|
|
5278
5278
|
for (let _2 = S2.length - 1; _2 >= 0; _2--)
|
|
5279
5279
|
N2.splice(S2[_2], 1);
|
|
5280
|
-
const tt = { ...
|
|
5280
|
+
const tt = { ...x2, 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(x2.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: x2,
|
|
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: x2,
|
|
5300
|
+
adjustedSpec: x2
|
|
5301
5301
|
});
|
|
5302
5302
|
}
|
|
5303
5303
|
}
|
|
@@ -5311,7 +5311,7 @@
|
|
|
5311
5311
|
l2
|
|
5312
5312
|
), y$1 = [];
|
|
5313
5313
|
for (const { value: p2, label: g2 } of d2) {
|
|
5314
|
-
const { originalColumn: C, spec: E } = p2,
|
|
5314
|
+
const { originalColumn: C, spec: E } = p2, F2 = p2.type === "split" ? p2.axisFilters : void 0, S2 = Bt(F2);
|
|
5315
5315
|
let P;
|
|
5316
5316
|
r ? P = r.deriveS(E, S2) : P = Jt(C.id, S2);
|
|
5317
5317
|
let T = { ...p2.adjustedSpec };
|
|
@@ -5779,13 +5779,13 @@
|
|
|
5779
5779
|
this.ctx.logError(e);
|
|
5780
5780
|
}
|
|
5781
5781
|
}
|
|
5782
|
-
const
|
|
5783
|
-
function
|
|
5782
|
+
const Gt = "1.41.3", X = Gt;
|
|
5783
|
+
function Ht(t) {
|
|
5784
5784
|
return t.__renderLambda === true;
|
|
5785
5785
|
}
|
|
5786
5786
|
function me(t) {
|
|
5787
5787
|
if (t !== void 0)
|
|
5788
|
-
return
|
|
5788
|
+
return Ht(t) ? t.handle : t;
|
|
5789
5789
|
}
|
|
5790
5790
|
const w = class w2 {
|
|
5791
5791
|
constructor(e, n2, r, i, o, s2, a, l2, u2) {
|