@milaboratories/milaboratories.pool-explorer.model 1.0.30 → 1.0.32
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 +63 -63
- 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.pool-explorer.model@1.0.
|
|
3
|
+
> @milaboratories/milaboratories.pool-explorer.model@1.0.32 build /opt/actions-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 77ms
|
|
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 77ms
|
|
20
20
|
[34mDTS[39m Build start
|
|
21
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
+
[32mDTS[39m ⚡️ Build success in 1251ms
|
|
22
22
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m953.00 B[39m
|
|
23
23
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m953.00 B[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[2m175.
|
|
30
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m187.50 kB[22m[1m[22m[2m │ gzip: 34.
|
|
31
|
-
[32m✓ built in
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m175.44 kB[22m[1m[22m[2m │ gzip: 33.49 kB[22m[2m │ map: 380.98 kB[22m
|
|
30
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m187.50 kB[22m[1m[22m[2m │ gzip: 34.08 kB[22m[2m │ map: 382.42 kB[22m
|
|
31
|
+
[32m✓ built in 768ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @milaboratories/milaboratories.pool-explorer.model
|
|
2
2
|
|
|
3
|
+
## 1.0.32
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [37b84a5]
|
|
8
|
+
- @platforma-sdk/model@1.29.17
|
|
9
|
+
|
|
10
|
+
## 1.0.31
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [e51c9bb]
|
|
15
|
+
- @platforma-sdk/model@1.29.16
|
|
16
|
+
|
|
3
17
|
## 1.0.30
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/bundle.js
CHANGED
|
@@ -4742,7 +4742,7 @@
|
|
|
4742
4742
|
let l2 = (r === "Input" ? this.listInputFields() : r === "Output" ? this.listOutputFields() : this.listDynamicFields()).map(
|
|
4743
4743
|
(u2) => [u2, this.resolve({ field: u2, assertFieldType: r })]
|
|
4744
4744
|
);
|
|
4745
|
-
return s2 && (l2 = l2.filter((u2) => u2[1] !== void 0)), l2.map(([u2,
|
|
4745
|
+
return s2 && (l2 = l2.filter((u2) => u2[1] !== void 0)), l2.map(([u2, y]) => o(u2, y));
|
|
4746
4746
|
}
|
|
4747
4747
|
}
|
|
4748
4748
|
const Ee = "staging", Fe = "main";
|
|
@@ -4753,18 +4753,18 @@
|
|
|
4753
4753
|
label: z.string()
|
|
4754
4754
|
}), dt = z.array(pt), ft = 1e-3, ht = "__LABEL__", Ae = "__LABEL__@1";
|
|
4755
4755
|
function Oe(t, e, n2 = {}) {
|
|
4756
|
-
const r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), s2 = t.map((
|
|
4756
|
+
const r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), s2 = t.map((f2) => {
|
|
4757
4757
|
var q2, F;
|
|
4758
|
-
const h = e(
|
|
4759
|
-
let
|
|
4760
|
-
"spec" in h && typeof h.spec == "object" ? (
|
|
4761
|
-
const
|
|
4758
|
+
const h = e(f2);
|
|
4759
|
+
let d, x2, c2;
|
|
4760
|
+
"spec" in h && typeof h.spec == "object" ? (d = h.spec, x2 = h.prefixTrace, c2 = h.suffixTrace) : d = h;
|
|
4761
|
+
const v = (q2 = d.annotations) == null ? void 0 : q2[ut], g = (F = d.annotations) == null ? void 0 : F[ct], b = (g ? dt.safeParse(JSON.parse(g)).data : void 0) ?? [], A2 = [
|
|
4762
4762
|
...x2 ?? [],
|
|
4763
|
-
...
|
|
4763
|
+
...b,
|
|
4764
4764
|
...c2 ?? []
|
|
4765
4765
|
];
|
|
4766
|
-
if (
|
|
4767
|
-
const _ = { label:
|
|
4766
|
+
if (v) {
|
|
4767
|
+
const _ = { label: v, type: ht, importance: -2 };
|
|
4768
4768
|
n2.addLabelAsSuffix ? A2.push(_) : A2.splice(0, 0, _);
|
|
4769
4769
|
}
|
|
4770
4770
|
const D = [], $2 = /* @__PURE__ */ new Map();
|
|
@@ -4781,24 +4781,24 @@
|
|
|
4781
4781
|
), D.push({ ...A2[_], fullType: P, occurenceIndex: J });
|
|
4782
4782
|
}
|
|
4783
4783
|
return D.reverse(), {
|
|
4784
|
-
value:
|
|
4785
|
-
spec:
|
|
4786
|
-
label:
|
|
4784
|
+
value: f2,
|
|
4785
|
+
spec: d,
|
|
4786
|
+
label: v,
|
|
4787
4787
|
fullTrace: D
|
|
4788
4788
|
};
|
|
4789
4789
|
}), o = [], a = [], l2 = [...r];
|
|
4790
|
-
l2.sort(([,
|
|
4791
|
-
for (const [
|
|
4792
|
-
|
|
4793
|
-
const u2 = (
|
|
4790
|
+
l2.sort(([, f2], [, h]) => h - f2);
|
|
4791
|
+
for (const [f2] of l2)
|
|
4792
|
+
f2.endsWith("@1") || i.get(f2) === t.length ? o.push(f2) : a.push(f2);
|
|
4793
|
+
const u2 = (f2) => {
|
|
4794
4794
|
const h = [];
|
|
4795
|
-
for (let
|
|
4796
|
-
const x2 = s2[
|
|
4795
|
+
for (let d = 0; d < s2.length; d++) {
|
|
4796
|
+
const x2 = s2[d], c2 = x2.fullTrace.filter((b) => f2.has(b.fullType));
|
|
4797
4797
|
if (c2.length === 0)
|
|
4798
4798
|
return;
|
|
4799
|
-
const
|
|
4799
|
+
const v = c2.map((b) => b.label), g = n2.separator ?? " / ";
|
|
4800
4800
|
h.push({
|
|
4801
|
-
label:
|
|
4801
|
+
label: v.join(g),
|
|
4802
4802
|
value: x2.value
|
|
4803
4803
|
});
|
|
4804
4804
|
}
|
|
@@ -4806,19 +4806,19 @@
|
|
|
4806
4806
|
};
|
|
4807
4807
|
if (o.length === 0) {
|
|
4808
4808
|
if (a.length !== 0) throw new Error("Assertion error.");
|
|
4809
|
-
const
|
|
4810
|
-
if (
|
|
4811
|
-
return
|
|
4812
|
-
}
|
|
4813
|
-
let
|
|
4814
|
-
for (;
|
|
4815
|
-
const
|
|
4816
|
-
n2.includeNativeLabel &&
|
|
4817
|
-
for (let
|
|
4818
|
-
|
|
4819
|
-
const h = u2(
|
|
4820
|
-
if (h !== void 0 && new Set(h.map((
|
|
4821
|
-
|
|
4809
|
+
const f2 = u2(new Set(Ae));
|
|
4810
|
+
if (f2 === void 0) throw new Error("Assertion error.");
|
|
4811
|
+
return f2;
|
|
4812
|
+
}
|
|
4813
|
+
let y = 0, w2 = 0;
|
|
4814
|
+
for (; y < o.length; ) {
|
|
4815
|
+
const f2 = /* @__PURE__ */ new Set();
|
|
4816
|
+
n2.includeNativeLabel && f2.add(Ae);
|
|
4817
|
+
for (let d = 0; d < y; ++d) f2.add(o[d]);
|
|
4818
|
+
f2.add(o[w2]);
|
|
4819
|
+
const h = u2(f2);
|
|
4820
|
+
if (h !== void 0 && new Set(h.map((d) => d.label)).size === t.length) return h;
|
|
4821
|
+
w2++, w2 >= o.length && (y++, w2 = y);
|
|
4822
4822
|
}
|
|
4823
4823
|
const p2 = u2(/* @__PURE__ */ new Set([...o, ...a]));
|
|
4824
4824
|
if (p2 === void 0) throw new Error("Assertion error.");
|
|
@@ -5151,28 +5151,28 @@
|
|
|
5151
5151
|
...i ?? {}
|
|
5152
5152
|
}, l2 = typeof e == "function" ? [e] : Array.isArray(e) ? e : [e], u2 = [];
|
|
5153
5153
|
for (const p2 of l2) {
|
|
5154
|
-
const
|
|
5154
|
+
const f$1 = Ct(p2);
|
|
5155
5155
|
let h;
|
|
5156
|
-
if (
|
|
5156
|
+
if (f$1) {
|
|
5157
5157
|
if (!r)
|
|
5158
5158
|
throw new Error("Anchored selectors require an AnchoredIdDeriver to be provided in options.");
|
|
5159
5159
|
h = Dn(r.anchors, p2, n2);
|
|
5160
5160
|
} else
|
|
5161
5161
|
h = p2;
|
|
5162
|
-
const
|
|
5162
|
+
const d = /* @__PURE__ */ new Set(), x2 = [];
|
|
5163
5163
|
for (const g of this.providers) {
|
|
5164
|
-
const
|
|
5165
|
-
for (const A2 of
|
|
5166
|
-
if (
|
|
5167
|
-
|
|
5164
|
+
const b = g.selectColumns(h);
|
|
5165
|
+
for (const A2 of b) {
|
|
5166
|
+
if (d.has(A2.id)) throw new Error(`Duplicate column id ${A2.id} in provider ${g.constructor.name}`);
|
|
5167
|
+
d.add(A2.id), x2.push(A2);
|
|
5168
5168
|
}
|
|
5169
5169
|
}
|
|
5170
5170
|
if (x2.length === 0) continue;
|
|
5171
|
-
const c2 = St(p2),
|
|
5171
|
+
const c2 = St(p2), v = c2.length > 0;
|
|
5172
5172
|
for (const g of x2) {
|
|
5173
5173
|
if (!f(g.spec)) continue;
|
|
5174
|
-
const
|
|
5175
|
-
if (
|
|
5174
|
+
const b = g.spec;
|
|
5175
|
+
if (v) {
|
|
5176
5176
|
const A2 = vt(g.data);
|
|
5177
5177
|
if (!A2) {
|
|
5178
5178
|
if (s2) continue;
|
|
@@ -5182,8 +5182,8 @@
|
|
|
5182
5182
|
throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${A2.type} for column ${g.id}`);
|
|
5183
5183
|
const D = yt(A2), $2 = c2[c2.length - 1];
|
|
5184
5184
|
if ($2 >= A2.partitionKeyLength)
|
|
5185
|
-
throw new Error(`Not enough partition keys (${A2.partitionKeyLength}) for requested split axes (max index ${$2}) in column ${
|
|
5186
|
-
const q2 = c2.map((P) => this.findLabels(p$1(
|
|
5185
|
+
throw new Error(`Not enough partition keys (${A2.partitionKeyLength}) for requested split axes (max index ${$2}) in column ${b.name}`);
|
|
5186
|
+
const q2 = c2.map((P) => this.findLabels(p$1(b.axesSpec[P]))), F = [], _ = (P, N2) => {
|
|
5187
5187
|
if (N2 >= c2.length) {
|
|
5188
5188
|
if (F.push([...P]), F.length > 1e4)
|
|
5189
5189
|
throw new Error("Too many key combinations, aborting.");
|
|
@@ -5202,19 +5202,19 @@
|
|
|
5202
5202
|
};
|
|
5203
5203
|
if (_([], 0), F.length === 0)
|
|
5204
5204
|
continue;
|
|
5205
|
-
const R = [...
|
|
5205
|
+
const R = [...b.axesSpec], se = c2.map((P) => P);
|
|
5206
5206
|
for (let P = c2.length - 1; P >= 0; P--)
|
|
5207
5207
|
R.splice(c2[P], 1);
|
|
5208
|
-
const J = { ...
|
|
5208
|
+
const J = { ...b, axesSpec: R };
|
|
5209
5209
|
for (const P of F) {
|
|
5210
5210
|
const N2 = P.map((O, k2) => {
|
|
5211
|
-
const z2 = se[k2], Ne = p$1(
|
|
5211
|
+
const z2 = se[k2], Ne = p$1(b.axesSpec[z2]), oe = q2[k2], Be = (oe == null ? void 0 : oe[O]) ?? String(O);
|
|
5212
5212
|
return { axisIdx: z2, axisId: Ne, value: O, label: Be };
|
|
5213
5213
|
});
|
|
5214
5214
|
u2.push({
|
|
5215
5215
|
type: "split",
|
|
5216
5216
|
originalColumn: g,
|
|
5217
|
-
spec:
|
|
5217
|
+
spec: b,
|
|
5218
5218
|
adjustedSpec: J,
|
|
5219
5219
|
dataEntries: A2,
|
|
5220
5220
|
axisFilters: N2
|
|
@@ -5224,39 +5224,39 @@
|
|
|
5224
5224
|
u2.push({
|
|
5225
5225
|
type: "direct",
|
|
5226
5226
|
originalColumn: g,
|
|
5227
|
-
spec:
|
|
5228
|
-
adjustedSpec:
|
|
5227
|
+
spec: b,
|
|
5228
|
+
adjustedSpec: b
|
|
5229
5229
|
});
|
|
5230
5230
|
}
|
|
5231
5231
|
}
|
|
5232
5232
|
if (u2.length === 0) return [];
|
|
5233
|
-
const
|
|
5233
|
+
const y = Oe(
|
|
5234
5234
|
u2,
|
|
5235
5235
|
(p2) => ({
|
|
5236
5236
|
spec: p2.spec,
|
|
5237
5237
|
suffixTrace: p2.type === "split" ? At(p2.axisFilters) : void 0
|
|
5238
5238
|
}),
|
|
5239
5239
|
a
|
|
5240
|
-
),
|
|
5241
|
-
for (const { value: p2, label:
|
|
5242
|
-
const { originalColumn: h, spec:
|
|
5243
|
-
let
|
|
5244
|
-
r ?
|
|
5240
|
+
), w2 = [];
|
|
5241
|
+
for (const { value: p2, label: f2 } of y) {
|
|
5242
|
+
const { originalColumn: h, spec: d } = p2, x2 = p2.type === "split" ? p2.axisFilters : void 0, c2 = Pt(x2);
|
|
5243
|
+
let v;
|
|
5244
|
+
r ? v = r.deriveS(d, c2) : v = xt(h.id, c2);
|
|
5245
5245
|
let g = { ...p2.adjustedSpec };
|
|
5246
5246
|
o && (g = {
|
|
5247
5247
|
...g,
|
|
5248
5248
|
annotations: {
|
|
5249
5249
|
...g.annotations ?? {},
|
|
5250
|
-
"pl7.app/label":
|
|
5250
|
+
"pl7.app/label": f2
|
|
5251
5251
|
}
|
|
5252
|
-
}),
|
|
5253
|
-
id:
|
|
5252
|
+
}), w2.push({
|
|
5253
|
+
id: v,
|
|
5254
5254
|
spec: g,
|
|
5255
5255
|
data: () => p2.type === "split" ? gn(bt(p2.dataEntries, c2)) : p2.originalColumn.data,
|
|
5256
|
-
label:
|
|
5256
|
+
label: f2
|
|
5257
5257
|
});
|
|
5258
5258
|
}
|
|
5259
|
-
return
|
|
5259
|
+
return w2;
|
|
5260
5260
|
}
|
|
5261
5261
|
getColumns(e, n2) {
|
|
5262
5262
|
const r = this.getUniversalEntries(e, {
|
|
@@ -5634,7 +5634,7 @@
|
|
|
5634
5634
|
return this.ctx.getCurrentUnstableMarker();
|
|
5635
5635
|
}
|
|
5636
5636
|
}
|
|
5637
|
-
const M = "1.29.
|
|
5637
|
+
const M = "1.29.17";
|
|
5638
5638
|
function _t(t) {
|
|
5639
5639
|
return t.__renderLambda === true;
|
|
5640
5640
|
}
|