@milaboratories/milaboratories.pool-explorer.model 1.0.53 → 1.0.55
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 +118 -118
- 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 "/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.55 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
|
-
[32mESM[39m [1mdist/index.js [22m[32m410.00 B[39m
|
|
15
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m996.00 B[39m
|
|
16
|
-
[32mESM[39m ⚡️ Build success in 195ms
|
|
17
14
|
[32mCJS[39m [1mdist/index.cjs [22m[32m436.00 B[39m
|
|
18
15
|
[32mCJS[39m [1mdist/index.cjs.map [22m[32m1013.00 B[39m
|
|
19
|
-
[32mCJS[39m ⚡️ Build success in
|
|
16
|
+
[32mCJS[39m ⚡️ Build success in 67ms
|
|
17
|
+
[32mESM[39m [1mdist/index.js [22m[32m410.00 B[39m
|
|
18
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m996.00 B[39m
|
|
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 1088ms
|
|
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[2m179.
|
|
30
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m191.
|
|
31
|
-
[32m✓ built in
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m179.27 kB[22m[1m[22m[2m │ gzip: 34.39 kB[22m[2m │ map: 392.19 kB[22m
|
|
30
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m191.56 kB[22m[1m[22m[2m │ gzip: 35.00 kB[22m[2m │ map: 393.66 kB[22m
|
|
31
|
+
[32m✓ built in 862ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @milaboratories/milaboratories.pool-explorer.model
|
|
2
2
|
|
|
3
|
+
## 1.0.55
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [c570fd4]
|
|
8
|
+
- @platforma-sdk/model@1.34.10
|
|
9
|
+
|
|
10
|
+
## 1.0.54
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [23f719d]
|
|
15
|
+
- @platforma-sdk/model@1.34.8
|
|
16
|
+
|
|
3
17
|
## 1.0.53
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/bundle.js
CHANGED
|
@@ -4495,12 +4495,12 @@
|
|
|
4495
4495
|
}), c = l.extend({
|
|
4496
4496
|
cause: z$1.lazy(() => s).optional(),
|
|
4497
4497
|
errors: z$1.lazy(() => s.array()).optional()
|
|
4498
|
-
}), m
|
|
4498
|
+
}), m = z$1.object({
|
|
4499
4499
|
type: z$1.literal("StandardError"),
|
|
4500
4500
|
name: z$1.string(),
|
|
4501
4501
|
message: z$1.string(),
|
|
4502
4502
|
stack: z$1.string().optional()
|
|
4503
|
-
}), p = m
|
|
4503
|
+
}), p = m.extend({
|
|
4504
4504
|
cause: z$1.lazy(() => s).optional(),
|
|
4505
4505
|
errors: z$1.lazy(() => s.array()).optional()
|
|
4506
4506
|
}), s = z$1.union([p, c]);
|
|
@@ -4531,7 +4531,7 @@
|
|
|
4531
4531
|
function ft() {
|
|
4532
4532
|
if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
|
|
4533
4533
|
}
|
|
4534
|
-
function
|
|
4534
|
+
function y() {
|
|
4535
4535
|
if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
|
|
4536
4536
|
throw new Error("Not in config rendering context");
|
|
4537
4537
|
}
|
|
@@ -4543,7 +4543,7 @@
|
|
|
4543
4543
|
}
|
|
4544
4544
|
const ce = /* @__PURE__ */ new Map();
|
|
4545
4545
|
function ht(t, e) {
|
|
4546
|
-
t in
|
|
4546
|
+
t in y().callbackRegistry || (y().callbackRegistry[t] = (n2) => {
|
|
4547
4547
|
for (const r of ce.get(t))
|
|
4548
4548
|
r(n2);
|
|
4549
4549
|
}, ce.set(t, [])), ce.get(t).push(e);
|
|
@@ -4612,46 +4612,46 @@
|
|
|
4612
4612
|
...n2.map((i) => typeof i == "string" ? i : i.field)
|
|
4613
4613
|
];
|
|
4614
4614
|
return he(
|
|
4615
|
-
|
|
4615
|
+
y().resolveWithCommon(this.handle, e, ...n2),
|
|
4616
4616
|
(i) => new E(i, r)
|
|
4617
4617
|
);
|
|
4618
4618
|
}
|
|
4619
4619
|
get resourceType() {
|
|
4620
|
-
return
|
|
4620
|
+
return y().getResourceType(this.handle);
|
|
4621
4621
|
}
|
|
4622
4622
|
getInputsLocked() {
|
|
4623
|
-
return
|
|
4623
|
+
return y().getInputsLocked(this.handle);
|
|
4624
4624
|
}
|
|
4625
4625
|
getOutputsLocked() {
|
|
4626
|
-
return
|
|
4626
|
+
return y().getOutputsLocked(this.handle);
|
|
4627
4627
|
}
|
|
4628
4628
|
getIsReadyOrError() {
|
|
4629
|
-
return
|
|
4629
|
+
return y().getIsReadyOrError(this.handle);
|
|
4630
4630
|
}
|
|
4631
4631
|
getIsFinal() {
|
|
4632
|
-
return
|
|
4632
|
+
return y().getIsFinal(this.handle);
|
|
4633
4633
|
}
|
|
4634
4634
|
getError() {
|
|
4635
4635
|
const e = [...this.resolvePath, "error"];
|
|
4636
4636
|
return he(
|
|
4637
|
-
|
|
4637
|
+
y().getError(this.handle),
|
|
4638
4638
|
(n2) => new E(n2, e)
|
|
4639
4639
|
);
|
|
4640
4640
|
}
|
|
4641
4641
|
listInputFields() {
|
|
4642
|
-
return
|
|
4642
|
+
return y().listInputFields(this.handle);
|
|
4643
4643
|
}
|
|
4644
4644
|
listOutputFields() {
|
|
4645
|
-
return
|
|
4645
|
+
return y().listOutputFields(this.handle);
|
|
4646
4646
|
}
|
|
4647
4647
|
listDynamicFields() {
|
|
4648
|
-
return
|
|
4648
|
+
return y().listDynamicFields(this.handle);
|
|
4649
4649
|
}
|
|
4650
4650
|
getKeyValueBase64(e) {
|
|
4651
|
-
return
|
|
4651
|
+
return y().getKeyValueBase64(this.handle, e);
|
|
4652
4652
|
}
|
|
4653
4653
|
getKeyValueAsString(e) {
|
|
4654
|
-
return
|
|
4654
|
+
return y().getKeyValueAsString(this.handle, e);
|
|
4655
4655
|
}
|
|
4656
4656
|
getKeyValueAsJson(e) {
|
|
4657
4657
|
const n2 = this.getKeyValueAsString(e);
|
|
@@ -4659,10 +4659,10 @@
|
|
|
4659
4659
|
return JSON.parse(n2);
|
|
4660
4660
|
}
|
|
4661
4661
|
getDataBase64() {
|
|
4662
|
-
return
|
|
4662
|
+
return y().getDataBase64(this.handle);
|
|
4663
4663
|
}
|
|
4664
4664
|
getDataAsString() {
|
|
4665
|
-
return
|
|
4665
|
+
return y().getDataAsString(this.handle);
|
|
4666
4666
|
}
|
|
4667
4667
|
getDataAsJson() {
|
|
4668
4668
|
const e = this.getDataAsString();
|
|
@@ -4683,7 +4683,7 @@
|
|
|
4683
4683
|
*
|
|
4684
4684
|
*/
|
|
4685
4685
|
parsePObjectCollection(e = false, n2 = "") {
|
|
4686
|
-
const r =
|
|
4686
|
+
const r = y().parsePObjectCollection(
|
|
4687
4687
|
this.handle,
|
|
4688
4688
|
e,
|
|
4689
4689
|
n2,
|
|
@@ -4698,14 +4698,14 @@
|
|
|
4698
4698
|
return i;
|
|
4699
4699
|
}
|
|
4700
4700
|
getFileContentAsBase64(e) {
|
|
4701
|
-
return new _(
|
|
4701
|
+
return new _(y().getBlobContentAsBase64(this.handle, e));
|
|
4702
4702
|
}
|
|
4703
4703
|
getFileContentAsString(e) {
|
|
4704
|
-
return new _(
|
|
4704
|
+
return new _(y().getBlobContentAsString(this.handle, e));
|
|
4705
4705
|
}
|
|
4706
4706
|
getFileContentAsJson(e) {
|
|
4707
4707
|
return new _(
|
|
4708
|
-
|
|
4708
|
+
y().getBlobContentAsString(this.handle, e)
|
|
4709
4709
|
).mapDefined((n2) => JSON.parse(n2));
|
|
4710
4710
|
}
|
|
4711
4711
|
/**
|
|
@@ -4724,7 +4724,7 @@
|
|
|
4724
4724
|
* @returns downloaded file handle
|
|
4725
4725
|
*/
|
|
4726
4726
|
getFileHandle() {
|
|
4727
|
-
return new _(
|
|
4727
|
+
return new _(y().getDownloadedBlobContentHandle(this.handle));
|
|
4728
4728
|
}
|
|
4729
4729
|
/**
|
|
4730
4730
|
* @deprecated use getFileHandle
|
|
@@ -4736,7 +4736,7 @@
|
|
|
4736
4736
|
* @returns downloaded file handle
|
|
4737
4737
|
*/
|
|
4738
4738
|
getRemoteFileHandle() {
|
|
4739
|
-
return new _(
|
|
4739
|
+
return new _(y().getOnDemandBlobContentHandle(this.handle));
|
|
4740
4740
|
}
|
|
4741
4741
|
/**
|
|
4742
4742
|
* @deprecated use getRemoteFileHandle
|
|
@@ -4748,22 +4748,22 @@
|
|
|
4748
4748
|
* @returns the url to the extracted folder
|
|
4749
4749
|
*/
|
|
4750
4750
|
extractArchiveAndGetURL(e) {
|
|
4751
|
-
return new _(
|
|
4751
|
+
return new _(y().extractArchiveAndGetURL(this.handle, e));
|
|
4752
4752
|
}
|
|
4753
4753
|
getImportProgress() {
|
|
4754
|
-
return new _(
|
|
4754
|
+
return new _(y().getImportProgress(this.handle));
|
|
4755
4755
|
}
|
|
4756
4756
|
getLastLogs(e) {
|
|
4757
|
-
return new _(
|
|
4757
|
+
return new _(y().getLastLogs(this.handle, e));
|
|
4758
4758
|
}
|
|
4759
4759
|
getProgressLog(e) {
|
|
4760
|
-
return new _(
|
|
4760
|
+
return new _(y().getProgressLog(this.handle, e));
|
|
4761
4761
|
}
|
|
4762
4762
|
getProgressLogWithInfo(e) {
|
|
4763
|
-
return new _(
|
|
4763
|
+
return new _(y().getProgressLogWithInfo(this.handle, e));
|
|
4764
4764
|
}
|
|
4765
4765
|
getLogHandle() {
|
|
4766
|
-
return new _(
|
|
4766
|
+
return new _(y().getLogHandle(this.handle));
|
|
4767
4767
|
}
|
|
4768
4768
|
allFieldsResolved(e = "Input") {
|
|
4769
4769
|
switch (e) {
|
|
@@ -4800,75 +4800,75 @@
|
|
|
4800
4800
|
label: z$1.string()
|
|
4801
4801
|
}), wt = z$1.array(bt), At = 1e-3, xt = "__LABEL__", Pe = "__LABEL__@1";
|
|
4802
4802
|
function je(t, e, n2 = {}) {
|
|
4803
|
-
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((
|
|
4803
|
+
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((p2) => {
|
|
4804
4804
|
var P2, R;
|
|
4805
|
-
const
|
|
4806
|
-
let
|
|
4807
|
-
"spec" in
|
|
4808
|
-
const h2 = (P2 =
|
|
4809
|
-
...
|
|
4805
|
+
const v = e(p2);
|
|
4806
|
+
let f2, m2, w2;
|
|
4807
|
+
"spec" in v && typeof v.spec == "object" ? (f2 = v.spec, m2 = v.prefixTrace, w2 = v.suffixTrace) : f2 = v;
|
|
4808
|
+
const h2 = (P2 = f2.annotations) == null ? void 0 : P2[yt], I = (R = f2.annotations) == null ? void 0 : R[vt], x = (I ? wt.safeParse(JSON.parse(I)).data : void 0) ?? [], b = [
|
|
4809
|
+
...m2 ?? [],
|
|
4810
4810
|
...x,
|
|
4811
|
-
...
|
|
4811
|
+
...w2 ?? []
|
|
4812
4812
|
];
|
|
4813
4813
|
if (h2 !== void 0) {
|
|
4814
4814
|
const k2 = { label: h2, type: xt, importance: -2 };
|
|
4815
|
-
n2.addLabelAsSuffix ?
|
|
4815
|
+
n2.addLabelAsSuffix ? b.push(k2) : b.splice(0, 0, k2);
|
|
4816
4816
|
}
|
|
4817
4817
|
const A = [], L = /* @__PURE__ */ new Map();
|
|
4818
|
-
for (let k2 =
|
|
4819
|
-
const { type: W } =
|
|
4820
|
-
L.set(W,
|
|
4821
|
-
const F = `${W}@${
|
|
4818
|
+
for (let k2 = b.length - 1; k2 >= 0; --k2) {
|
|
4819
|
+
const { type: W } = b[k2], V = b[k2].importance ?? 0, N2 = (L.get(W) ?? 0) + 1;
|
|
4820
|
+
L.set(W, N2);
|
|
4821
|
+
const F = `${W}@${N2}`;
|
|
4822
4822
|
s2.set(F, (s2.get(F) ?? 0) + 1), r.set(
|
|
4823
4823
|
F,
|
|
4824
4824
|
Math.max(
|
|
4825
4825
|
r.get(F) ?? Number.NEGATIVE_INFINITY,
|
|
4826
|
-
|
|
4826
|
+
V - (b.length - k2) * At
|
|
4827
4827
|
)
|
|
4828
|
-
), A.push({ ...
|
|
4828
|
+
), A.push({ ...b[k2], fullType: F, occurrenceIndex: N2 });
|
|
4829
4829
|
}
|
|
4830
4830
|
return A.reverse(), {
|
|
4831
|
-
value:
|
|
4832
|
-
spec:
|
|
4831
|
+
value: p2,
|
|
4832
|
+
spec: f2,
|
|
4833
4833
|
label: h2,
|
|
4834
4834
|
fullTrace: A
|
|
4835
4835
|
};
|
|
4836
4836
|
}), a = [], l2 = [], u2 = [...r];
|
|
4837
|
-
u2.sort(([,
|
|
4838
|
-
for (const [
|
|
4839
|
-
|
|
4840
|
-
const c2 = (
|
|
4841
|
-
const
|
|
4842
|
-
for (let
|
|
4843
|
-
const
|
|
4837
|
+
u2.sort(([, p2], [, v]) => v - p2);
|
|
4838
|
+
for (const [p2] of u2)
|
|
4839
|
+
p2.endsWith("@1") || s2.get(p2) === t.length ? a.push(p2) : l2.push(p2);
|
|
4840
|
+
const c2 = (p2, v = false) => {
|
|
4841
|
+
const f2 = [];
|
|
4842
|
+
for (let m2 = 0; m2 < o.length; m2++) {
|
|
4843
|
+
const w2 = o[m2], h2 = w2.fullTrace.filter((b) => p2.has(b.fullType) || i && i.has(b.type));
|
|
4844
4844
|
if (h2.length === 0)
|
|
4845
|
-
if (
|
|
4846
|
-
|
|
4845
|
+
if (v)
|
|
4846
|
+
f2.push({
|
|
4847
4847
|
label: "Unlabeled",
|
|
4848
|
-
value:
|
|
4848
|
+
value: w2.value
|
|
4849
4849
|
});
|
|
4850
4850
|
else return;
|
|
4851
|
-
const I = h2.map((
|
|
4852
|
-
|
|
4851
|
+
const I = h2.map((b) => b.label), x = n2.separator ?? " / ";
|
|
4852
|
+
f2.push({
|
|
4853
4853
|
label: I.join(x),
|
|
4854
|
-
value:
|
|
4854
|
+
value: w2.value
|
|
4855
4855
|
});
|
|
4856
4856
|
}
|
|
4857
|
-
return
|
|
4857
|
+
return f2;
|
|
4858
4858
|
};
|
|
4859
4859
|
if (a.length === 0) {
|
|
4860
4860
|
if (l2.length !== 0) throw new Error("Non-empty secondary types list while main types list is empty.");
|
|
4861
4861
|
return c2(new Set(Pe), true);
|
|
4862
4862
|
}
|
|
4863
|
-
let d = 0,
|
|
4863
|
+
let d = 0, g = -1;
|
|
4864
4864
|
for (; d < a.length; ) {
|
|
4865
|
-
const
|
|
4866
|
-
n2.includeNativeLabel &&
|
|
4867
|
-
for (let
|
|
4868
|
-
|
|
4869
|
-
const
|
|
4870
|
-
if (
|
|
4871
|
-
|
|
4865
|
+
const p2 = /* @__PURE__ */ new Set();
|
|
4866
|
+
n2.includeNativeLabel && p2.add(Pe);
|
|
4867
|
+
for (let f2 = 0; f2 < d; ++f2) p2.add(a[f2]);
|
|
4868
|
+
g >= 0 && p2.add(a[g]);
|
|
4869
|
+
const v = c2(p2);
|
|
4870
|
+
if (v !== void 0 && new Set(v.map((f2) => f2.label)).size === t.length) return v;
|
|
4871
|
+
g++, g >= a.length && (d++, g = d);
|
|
4872
4872
|
}
|
|
4873
4873
|
return c2(/* @__PURE__ */ new Set([...a, ...l2]), true);
|
|
4874
4874
|
}
|
|
@@ -5206,43 +5206,43 @@
|
|
|
5206
5206
|
};
|
|
5207
5207
|
let u2 = () => false;
|
|
5208
5208
|
if (a) {
|
|
5209
|
-
const
|
|
5210
|
-
if (Se(
|
|
5209
|
+
const f2 = (Array.isArray(a) ? a : [a]).map((m2) => {
|
|
5210
|
+
if (Se(m2)) {
|
|
5211
5211
|
if (!r)
|
|
5212
5212
|
throw new Error("Anchored selectors in exclude require an AnchoredIdDeriver to be provided in options.");
|
|
5213
|
-
return Gn(Mn(r.anchors,
|
|
5213
|
+
return Gn(Mn(r.anchors, m2, n2));
|
|
5214
5214
|
} else
|
|
5215
|
-
return Gn(
|
|
5215
|
+
return Gn(m2);
|
|
5216
5216
|
});
|
|
5217
|
-
u2 = (
|
|
5217
|
+
u2 = (m2) => f2.some((w2) => w2(m2));
|
|
5218
5218
|
}
|
|
5219
|
-
const c2 = typeof e == "function" ? [e] : Array.isArray(e) ? e : [e], d = [],
|
|
5220
|
-
for (const
|
|
5221
|
-
const
|
|
5222
|
-
let
|
|
5223
|
-
if (
|
|
5219
|
+
const c2 = typeof e == "function" ? [e] : Array.isArray(e) ? e : [e], d = [], g = /* @__PURE__ */ new Set();
|
|
5220
|
+
for (const f$1 of c2) {
|
|
5221
|
+
const m2 = Se(f$1);
|
|
5222
|
+
let w2;
|
|
5223
|
+
if (m2) {
|
|
5224
5224
|
if (!r)
|
|
5225
5225
|
throw new Error("Anchored selectors require an AnchoredIdDeriver to be provided in options.");
|
|
5226
|
-
|
|
5226
|
+
w2 = Mn(r.anchors, f$1, n2);
|
|
5227
5227
|
} else
|
|
5228
|
-
|
|
5228
|
+
w2 = f$1;
|
|
5229
5229
|
const h2 = /* @__PURE__ */ new Set(), I = [];
|
|
5230
5230
|
for (const A of this.providers) {
|
|
5231
|
-
const L = A.selectColumns(
|
|
5231
|
+
const L = A.selectColumns(w2);
|
|
5232
5232
|
for (const P2 of L) {
|
|
5233
5233
|
if (u2(P2.spec)) continue;
|
|
5234
5234
|
if (h2.has(P2.id))
|
|
5235
5235
|
throw new Error(`Duplicate column id ${P2.id} in provider ${A.constructor.name}`);
|
|
5236
5236
|
const R = Qn(P2.spec);
|
|
5237
|
-
|
|
5237
|
+
g.has(R) || (h2.add(P2.id), g.add(R), I.push(P2));
|
|
5238
5238
|
}
|
|
5239
5239
|
}
|
|
5240
5240
|
if (I.length === 0) continue;
|
|
5241
|
-
const x = Dt(
|
|
5241
|
+
const x = Dt(f$1), b = x.length > 0;
|
|
5242
5242
|
for (const A of I) {
|
|
5243
5243
|
if (!f(A.spec)) continue;
|
|
5244
5244
|
const L = A.spec;
|
|
5245
|
-
if (
|
|
5245
|
+
if (b) {
|
|
5246
5246
|
if (Lt(A.data))
|
|
5247
5247
|
throw new Error(`Splitting is not supported for PColumns with PColumnValues data format. Column id: ${A.id}`);
|
|
5248
5248
|
const P2 = _t(A.data);
|
|
@@ -5255,33 +5255,33 @@
|
|
|
5255
5255
|
const R = St(P2), k2 = x[x.length - 1];
|
|
5256
5256
|
if (k2 >= P2.partitionKeyLength)
|
|
5257
5257
|
throw new Error(`Not enough partition keys (${P2.partitionKeyLength}) for requested split axes (max index ${k2}) in column ${L.name}`);
|
|
5258
|
-
const W = x.map((S) => this.findLabels(p$1(L.axesSpec[S]))),
|
|
5258
|
+
const W = x.map((S) => this.findLabels(p$1(L.axesSpec[S]))), V = [], N2 = (S, G) => {
|
|
5259
5259
|
if (G >= x.length) {
|
|
5260
|
-
if (
|
|
5260
|
+
if (V.push([...S]), V.length > 1e4)
|
|
5261
5261
|
throw new Error("Too many key combinations, aborting.");
|
|
5262
5262
|
return;
|
|
5263
5263
|
}
|
|
5264
|
-
const
|
|
5265
|
-
if (
|
|
5266
|
-
throw new Error(`Axis index ${
|
|
5267
|
-
const
|
|
5268
|
-
if (!
|
|
5269
|
-
|
|
5264
|
+
const $ = x[G];
|
|
5265
|
+
if ($ >= R.length)
|
|
5266
|
+
throw new Error(`Axis index ${$} out of bounds for unique keys array (length ${R.length}) during split key generation for column ${A.id}`);
|
|
5267
|
+
const J2 = R[$];
|
|
5268
|
+
if (!J2 || J2.length === 0) {
|
|
5269
|
+
V.length = 0;
|
|
5270
5270
|
return;
|
|
5271
5271
|
}
|
|
5272
|
-
for (const ee of
|
|
5273
|
-
S.push(ee),
|
|
5272
|
+
for (const ee of J2)
|
|
5273
|
+
S.push(ee), N2(S, G + 1), S.pop();
|
|
5274
5274
|
};
|
|
5275
|
-
if (
|
|
5275
|
+
if (N2([], 0), V.length === 0)
|
|
5276
5276
|
continue;
|
|
5277
5277
|
const F = [...L.axesSpec], Be = x.map((S) => S);
|
|
5278
5278
|
for (let S = x.length - 1; S >= 0; S--)
|
|
5279
5279
|
F.splice(x[S], 1);
|
|
5280
5280
|
const We = { ...L, axesSpec: F };
|
|
5281
|
-
for (const S of
|
|
5282
|
-
const G = S.map((
|
|
5283
|
-
const ee = Be[
|
|
5284
|
-
return { axisIdx: ee, axisId: Ge, value:
|
|
5281
|
+
for (const S of V) {
|
|
5282
|
+
const G = S.map(($, J2) => {
|
|
5283
|
+
const ee = Be[J2], Ge = p$1(L.axesSpec[ee]), ue = W[J2], He = (ue == null ? void 0 : ue[$]) ?? String($);
|
|
5284
|
+
return { axisIdx: ee, axisId: Ge, value: $, label: He };
|
|
5285
5285
|
});
|
|
5286
5286
|
d.push({
|
|
5287
5287
|
type: "split",
|
|
@@ -5302,33 +5302,33 @@
|
|
|
5302
5302
|
}
|
|
5303
5303
|
}
|
|
5304
5304
|
if (d.length === 0) return [];
|
|
5305
|
-
const
|
|
5305
|
+
const p2 = je(
|
|
5306
5306
|
d,
|
|
5307
|
-
(
|
|
5308
|
-
spec:
|
|
5309
|
-
suffixTrace:
|
|
5307
|
+
(f2) => ({
|
|
5308
|
+
spec: f2.spec,
|
|
5309
|
+
suffixTrace: f2.type === "split" ? Et(f2.axisFilters) : void 0
|
|
5310
5310
|
}),
|
|
5311
5311
|
l2
|
|
5312
|
-
),
|
|
5313
|
-
for (const { value:
|
|
5314
|
-
const { originalColumn:
|
|
5315
|
-
let
|
|
5316
|
-
r ?
|
|
5317
|
-
let A = { ...
|
|
5312
|
+
), v = [];
|
|
5313
|
+
for (const { value: f2, label: m2 } of p2) {
|
|
5314
|
+
const { originalColumn: w2, spec: h2 } = f2, I = f2.type === "split" ? f2.axisFilters : void 0, x = kt(I);
|
|
5315
|
+
let b;
|
|
5316
|
+
r ? b = r.deriveS(h2, x) : b = Ot(w2.id, x);
|
|
5317
|
+
let A = { ...f2.adjustedSpec };
|
|
5318
5318
|
o && (A = {
|
|
5319
5319
|
...A,
|
|
5320
5320
|
annotations: {
|
|
5321
5321
|
...A.annotations ?? {},
|
|
5322
|
-
"pl7.app/label":
|
|
5322
|
+
"pl7.app/label": m2
|
|
5323
5323
|
}
|
|
5324
|
-
}),
|
|
5325
|
-
id:
|
|
5324
|
+
}), v.push({
|
|
5325
|
+
id: b,
|
|
5326
5326
|
spec: A,
|
|
5327
|
-
data: () =>
|
|
5328
|
-
label:
|
|
5327
|
+
data: () => f2.type === "split" ? Jn(It(f2.dataEntries, x)) : f2.originalColumn.data,
|
|
5328
|
+
label: m2
|
|
5329
5329
|
});
|
|
5330
5330
|
}
|
|
5331
|
-
return
|
|
5331
|
+
return v;
|
|
5332
5332
|
}
|
|
5333
5333
|
getColumns(e, n2) {
|
|
5334
5334
|
const r = this.getUniversalEntries(e, {
|
|
@@ -5365,7 +5365,7 @@
|
|
|
5365
5365
|
}
|
|
5366
5366
|
class Rt {
|
|
5367
5367
|
constructor() {
|
|
5368
|
-
O(this, "ctx",
|
|
5368
|
+
O(this, "ctx", y());
|
|
5369
5369
|
}
|
|
5370
5370
|
/**
|
|
5371
5371
|
* @deprecated use getOptions()
|
|
@@ -5639,7 +5639,7 @@
|
|
|
5639
5639
|
O(this, "uiState");
|
|
5640
5640
|
O(this, "_activeArgsCache");
|
|
5641
5641
|
O(this, "resultPool", new Rt());
|
|
5642
|
-
this.ctx =
|
|
5642
|
+
this.ctx = y(), this.args = JSON.parse(this.ctx.args), this.uiState = this.ctx.uiState !== void 0 ? JSON.parse(this.ctx.uiState) : {};
|
|
5643
5643
|
}
|
|
5644
5644
|
/**
|
|
5645
5645
|
* Returns args snapshot the block was executed for (i.e. when "Run" button was pressed).
|
|
@@ -5715,7 +5715,7 @@
|
|
|
5715
5715
|
this.ctx.logError(e);
|
|
5716
5716
|
}
|
|
5717
5717
|
}
|
|
5718
|
-
const Y = "1.34.
|
|
5718
|
+
const Y = "1.34.10";
|
|
5719
5719
|
function Ft(t) {
|
|
5720
5720
|
return t.__renderLambda === true;
|
|
5721
5721
|
}
|