@milaboratories/milaboratories.pool-explorer.model 1.0.35 → 1.0.36
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 +187 -187
- package/dist/bundle.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +3 -3
package/dist/bundle.js
CHANGED
|
@@ -3948,8 +3948,8 @@
|
|
|
3948
3948
|
quotelessJson,
|
|
3949
3949
|
ZodError
|
|
3950
3950
|
});
|
|
3951
|
-
var
|
|
3952
|
-
var I$1 = (n2, e, t) => e in n2 ?
|
|
3951
|
+
var $$1 = Object.defineProperty;
|
|
3952
|
+
var I$1 = (n2, e, t) => e in n2 ? $$1(n2, e, { enumerable: true, configurable: true, writable: true, value: t }) : n2[e] = t;
|
|
3953
3953
|
var l$1 = (n2, e, t) => I$1(n2, typeof e != "symbol" ? e + "" : e, t);
|
|
3954
3954
|
function w(n2) {
|
|
3955
3955
|
throw new Error("Unexpected object: " + n2);
|
|
@@ -4081,12 +4081,12 @@
|
|
|
4081
4081
|
}
|
|
4082
4082
|
}
|
|
4083
4083
|
}
|
|
4084
|
-
function m$
|
|
4084
|
+
function m$1(n2) {
|
|
4085
4085
|
const { type: e, name: t, domain: r } = n2;
|
|
4086
4086
|
return { type: e, name: t, ...r && { domain: r } };
|
|
4087
4087
|
}
|
|
4088
4088
|
function Jn(n2) {
|
|
4089
|
-
return Le(m$
|
|
4089
|
+
return Le(m$1(n2));
|
|
4090
4090
|
}
|
|
4091
4091
|
function z(n2, e) {
|
|
4092
4092
|
if (n2 === void 0) return e === void 0;
|
|
@@ -4099,9 +4099,9 @@
|
|
|
4099
4099
|
return n2.name === e.name && z(n2.domain, e.domain);
|
|
4100
4100
|
}
|
|
4101
4101
|
function On(n2, e) {
|
|
4102
|
-
return { ...n2, src: y(n2.src, e) };
|
|
4102
|
+
return { ...n2, src: y$1(n2.src, e) };
|
|
4103
4103
|
}
|
|
4104
|
-
function y(n2, e) {
|
|
4104
|
+
function y$1(n2, e) {
|
|
4105
4105
|
switch (n2.type) {
|
|
4106
4106
|
case "column":
|
|
4107
4107
|
return {
|
|
@@ -4119,23 +4119,23 @@
|
|
|
4119
4119
|
case "full":
|
|
4120
4120
|
return {
|
|
4121
4121
|
type: n2.type,
|
|
4122
|
-
entries: n2.entries.map((t) => y(t, e))
|
|
4122
|
+
entries: n2.entries.map((t) => y$1(t, e))
|
|
4123
4123
|
};
|
|
4124
4124
|
case "outer":
|
|
4125
4125
|
return {
|
|
4126
4126
|
type: "outer",
|
|
4127
|
-
primary: y(n2.primary, e),
|
|
4128
|
-
secondary: n2.secondary.map((t) => y(t, e))
|
|
4127
|
+
primary: y$1(n2.primary, e),
|
|
4128
|
+
secondary: n2.secondary.map((t) => y$1(t, e))
|
|
4129
4129
|
};
|
|
4130
4130
|
default:
|
|
4131
4131
|
w(n2);
|
|
4132
4132
|
}
|
|
4133
4133
|
}
|
|
4134
|
-
function G(n2) {
|
|
4134
|
+
function G$1(n2) {
|
|
4135
4135
|
return Le(n2);
|
|
4136
4136
|
}
|
|
4137
4137
|
function x(n2) {
|
|
4138
|
-
return Le(m$
|
|
4138
|
+
return Le(m$1(n2));
|
|
4139
4139
|
}
|
|
4140
4140
|
function A(n2, e) {
|
|
4141
4141
|
return JSON.stringify([n2, e]);
|
|
@@ -4202,7 +4202,7 @@
|
|
|
4202
4202
|
}
|
|
4203
4203
|
if (r.axes = e.axesSpec.map((a) => {
|
|
4204
4204
|
const i = x(a), u2 = this.axes.get(i);
|
|
4205
|
-
return u2 === void 0 ? m$
|
|
4205
|
+
return u2 === void 0 ? m$1(a) : u2;
|
|
4206
4206
|
}), !t || t.length === 0)
|
|
4207
4207
|
return r;
|
|
4208
4208
|
const s2 = [];
|
|
@@ -4231,7 +4231,7 @@
|
|
|
4231
4231
|
* @returns A canonicalized string representation of the anchored column identifier
|
|
4232
4232
|
*/
|
|
4233
4233
|
deriveS(e, t) {
|
|
4234
|
-
return G(this.derive(e, t));
|
|
4234
|
+
return G$1(this.derive(e, t));
|
|
4235
4235
|
}
|
|
4236
4236
|
}
|
|
4237
4237
|
function Dn(n2, e, t) {
|
|
@@ -4281,7 +4281,7 @@
|
|
|
4281
4281
|
throw new Error(`Axis with name "${e.name}" not found in anchor "${t}"`);
|
|
4282
4282
|
return o[0];
|
|
4283
4283
|
} else if ("id" in e) {
|
|
4284
|
-
const o = r.axesSpec.filter((s2) => X$1(e.id, m$
|
|
4284
|
+
const o = r.axesSpec.filter((s2) => X$1(e.id, m$1(s2)));
|
|
4285
4285
|
if (o.length > 1)
|
|
4286
4286
|
throw new Error(`Multiple matching axes found for matcher in anchor "${t}"`);
|
|
4287
4287
|
if (o.length === 0)
|
|
@@ -4367,7 +4367,7 @@
|
|
|
4367
4367
|
return false;
|
|
4368
4368
|
}
|
|
4369
4369
|
if (e.axes !== void 0) {
|
|
4370
|
-
const t = n2.axesSpec.map(m$
|
|
4370
|
+
const t = n2.axesSpec.map(m$1);
|
|
4371
4371
|
if (e.partialAxesMatch) {
|
|
4372
4372
|
for (const r of e.axes)
|
|
4373
4373
|
if (!t.some((o) => k(r, o)))
|
|
@@ -4460,12 +4460,12 @@
|
|
|
4460
4460
|
}), c = l.extend({
|
|
4461
4461
|
cause: z$1.lazy(() => s).optional(),
|
|
4462
4462
|
errors: z$1.lazy(() => s.array()).optional()
|
|
4463
|
-
}), m
|
|
4463
|
+
}), m = z$1.object({
|
|
4464
4464
|
type: z$1.literal("StandardError"),
|
|
4465
4465
|
name: z$1.string(),
|
|
4466
4466
|
message: z$1.string(),
|
|
4467
4467
|
stack: z$1.string().optional()
|
|
4468
|
-
}), p = m
|
|
4468
|
+
}), p = m.extend({
|
|
4469
4469
|
cause: z$1.lazy(() => s).optional(),
|
|
4470
4470
|
errors: z$1.lazy(() => s.array()).optional()
|
|
4471
4471
|
}), s = z$1.union([p, c]);
|
|
@@ -4496,11 +4496,11 @@
|
|
|
4496
4496
|
function ot() {
|
|
4497
4497
|
if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
|
|
4498
4498
|
}
|
|
4499
|
-
function
|
|
4499
|
+
function y() {
|
|
4500
4500
|
if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
|
|
4501
4501
|
throw new Error("Not in config rendering context");
|
|
4502
4502
|
}
|
|
4503
|
-
function
|
|
4503
|
+
function B(t, e) {
|
|
4504
4504
|
const n2 = ot();
|
|
4505
4505
|
if (n2 === void 0) return false;
|
|
4506
4506
|
if (t in n2.callbackRegistry) throw new Error(`Callback with key ${t} already registered.`);
|
|
@@ -4508,12 +4508,12 @@
|
|
|
4508
4508
|
}
|
|
4509
4509
|
const ae = /* @__PURE__ */ new Map();
|
|
4510
4510
|
function at(t, e) {
|
|
4511
|
-
t in
|
|
4511
|
+
t in y().callbackRegistry || (y().callbackRegistry[t] = (n2) => {
|
|
4512
4512
|
for (const r of ae.get(t))
|
|
4513
4513
|
r(n2);
|
|
4514
4514
|
}, ae.set(t, [])), ae.get(t).push(e);
|
|
4515
4515
|
}
|
|
4516
|
-
class
|
|
4516
|
+
class S {
|
|
4517
4517
|
constructor(e, n2 = (r) => r) {
|
|
4518
4518
|
T(this, "isResolved", false);
|
|
4519
4519
|
T(this, "resolvedValue");
|
|
@@ -4522,10 +4522,10 @@
|
|
|
4522
4522
|
});
|
|
4523
4523
|
}
|
|
4524
4524
|
map(e) {
|
|
4525
|
-
return new
|
|
4525
|
+
return new S(this.handle, (n2) => e(this.postProcess(n2)));
|
|
4526
4526
|
}
|
|
4527
4527
|
mapDefined(e) {
|
|
4528
|
-
return new
|
|
4528
|
+
return new S(this.handle, (n2) => {
|
|
4529
4529
|
const r = this.postProcess(n2);
|
|
4530
4530
|
return r ? e(r) : void 0;
|
|
4531
4531
|
});
|
|
@@ -4534,7 +4534,7 @@
|
|
|
4534
4534
|
return this.isResolved ? this.resolvedValue : { __awaited_futures__: [this.handle] };
|
|
4535
4535
|
}
|
|
4536
4536
|
}
|
|
4537
|
-
function
|
|
4537
|
+
function pe(t, e) {
|
|
4538
4538
|
return t === void 0 ? void 0 : e(t);
|
|
4539
4539
|
}
|
|
4540
4540
|
class I {
|
|
@@ -4576,47 +4576,47 @@
|
|
|
4576
4576
|
...this.resolvePath,
|
|
4577
4577
|
...n2.map((i) => typeof i == "string" ? i : i.field)
|
|
4578
4578
|
];
|
|
4579
|
-
return
|
|
4580
|
-
|
|
4579
|
+
return pe(
|
|
4580
|
+
y().resolveWithCommon(this.handle, e, ...n2),
|
|
4581
4581
|
(i) => new I(i, r)
|
|
4582
4582
|
);
|
|
4583
4583
|
}
|
|
4584
4584
|
get resourceType() {
|
|
4585
|
-
return
|
|
4585
|
+
return y().getResourceType(this.handle);
|
|
4586
4586
|
}
|
|
4587
4587
|
getInputsLocked() {
|
|
4588
|
-
return
|
|
4588
|
+
return y().getInputsLocked(this.handle);
|
|
4589
4589
|
}
|
|
4590
4590
|
getOutputsLocked() {
|
|
4591
|
-
return
|
|
4591
|
+
return y().getOutputsLocked(this.handle);
|
|
4592
4592
|
}
|
|
4593
4593
|
getIsReadyOrError() {
|
|
4594
|
-
return
|
|
4594
|
+
return y().getIsReadyOrError(this.handle);
|
|
4595
4595
|
}
|
|
4596
4596
|
getIsFinal() {
|
|
4597
|
-
return
|
|
4597
|
+
return y().getIsFinal(this.handle);
|
|
4598
4598
|
}
|
|
4599
4599
|
getError() {
|
|
4600
4600
|
const e = [...this.resolvePath, "error"];
|
|
4601
|
-
return
|
|
4602
|
-
|
|
4601
|
+
return pe(
|
|
4602
|
+
y().getError(this.handle),
|
|
4603
4603
|
(n2) => new I(n2, e)
|
|
4604
4604
|
);
|
|
4605
4605
|
}
|
|
4606
4606
|
listInputFields() {
|
|
4607
|
-
return
|
|
4607
|
+
return y().listInputFields(this.handle);
|
|
4608
4608
|
}
|
|
4609
4609
|
listOutputFields() {
|
|
4610
|
-
return
|
|
4610
|
+
return y().listOutputFields(this.handle);
|
|
4611
4611
|
}
|
|
4612
4612
|
listDynamicFields() {
|
|
4613
|
-
return
|
|
4613
|
+
return y().listDynamicFields(this.handle);
|
|
4614
4614
|
}
|
|
4615
4615
|
getKeyValueBase64(e) {
|
|
4616
|
-
return
|
|
4616
|
+
return y().getKeyValueBase64(this.handle, e);
|
|
4617
4617
|
}
|
|
4618
4618
|
getKeyValueAsString(e) {
|
|
4619
|
-
return
|
|
4619
|
+
return y().getKeyValueAsString(this.handle, e);
|
|
4620
4620
|
}
|
|
4621
4621
|
getKeyValueAsJson(e) {
|
|
4622
4622
|
const n2 = this.getKeyValueAsString(e);
|
|
@@ -4624,10 +4624,10 @@
|
|
|
4624
4624
|
return JSON.parse(n2);
|
|
4625
4625
|
}
|
|
4626
4626
|
getDataBase64() {
|
|
4627
|
-
return
|
|
4627
|
+
return y().getDataBase64(this.handle);
|
|
4628
4628
|
}
|
|
4629
4629
|
getDataAsString() {
|
|
4630
|
-
return
|
|
4630
|
+
return y().getDataAsString(this.handle);
|
|
4631
4631
|
}
|
|
4632
4632
|
getDataAsJson() {
|
|
4633
4633
|
const e = this.getDataAsString();
|
|
@@ -4648,7 +4648,7 @@
|
|
|
4648
4648
|
*
|
|
4649
4649
|
*/
|
|
4650
4650
|
parsePObjectCollection(e = false, n2 = "") {
|
|
4651
|
-
const r =
|
|
4651
|
+
const r = y().parsePObjectCollection(
|
|
4652
4652
|
this.handle,
|
|
4653
4653
|
e,
|
|
4654
4654
|
n2,
|
|
@@ -4663,14 +4663,14 @@
|
|
|
4663
4663
|
return i;
|
|
4664
4664
|
}
|
|
4665
4665
|
getFileContentAsBase64() {
|
|
4666
|
-
return new
|
|
4666
|
+
return new S(y().getBlobContentAsBase64(this.handle));
|
|
4667
4667
|
}
|
|
4668
4668
|
getFileContentAsString() {
|
|
4669
|
-
return new
|
|
4669
|
+
return new S(y().getBlobContentAsString(this.handle));
|
|
4670
4670
|
}
|
|
4671
4671
|
getFileContentAsJson() {
|
|
4672
|
-
return new
|
|
4673
|
-
|
|
4672
|
+
return new S(
|
|
4673
|
+
y().getBlobContentAsString(this.handle)
|
|
4674
4674
|
).mapDefined((e) => JSON.parse(e));
|
|
4675
4675
|
}
|
|
4676
4676
|
/**
|
|
@@ -4689,7 +4689,7 @@
|
|
|
4689
4689
|
* @returns downloaded file handle
|
|
4690
4690
|
*/
|
|
4691
4691
|
getFileHandle() {
|
|
4692
|
-
return new
|
|
4692
|
+
return new S(y().getDownloadedBlobContentHandle(this.handle));
|
|
4693
4693
|
}
|
|
4694
4694
|
/**
|
|
4695
4695
|
* @deprecated use getFileHandle
|
|
@@ -4701,7 +4701,7 @@
|
|
|
4701
4701
|
* @returns downloaded file handle
|
|
4702
4702
|
*/
|
|
4703
4703
|
getRemoteFileHandle() {
|
|
4704
|
-
return new
|
|
4704
|
+
return new S(y().getOnDemandBlobContentHandle(this.handle));
|
|
4705
4705
|
}
|
|
4706
4706
|
/**
|
|
4707
4707
|
* @deprecated use getRemoteFileHandle
|
|
@@ -4713,22 +4713,22 @@
|
|
|
4713
4713
|
* @returns the url to the extracted folder
|
|
4714
4714
|
*/
|
|
4715
4715
|
extractArchiveAndGetURL(e) {
|
|
4716
|
-
return new
|
|
4716
|
+
return new S(y().extractArchiveAndGetURL(this.handle, e));
|
|
4717
4717
|
}
|
|
4718
4718
|
getImportProgress() {
|
|
4719
|
-
return new
|
|
4719
|
+
return new S(y().getImportProgress(this.handle));
|
|
4720
4720
|
}
|
|
4721
4721
|
getLastLogs(e) {
|
|
4722
|
-
return new
|
|
4722
|
+
return new S(y().getLastLogs(this.handle, e));
|
|
4723
4723
|
}
|
|
4724
4724
|
getProgressLog(e) {
|
|
4725
|
-
return new
|
|
4725
|
+
return new S(y().getProgressLog(this.handle, e));
|
|
4726
4726
|
}
|
|
4727
4727
|
getProgressLogWithInfo(e) {
|
|
4728
|
-
return new
|
|
4728
|
+
return new S(y().getProgressLogWithInfo(this.handle, e));
|
|
4729
4729
|
}
|
|
4730
4730
|
getLogHandle() {
|
|
4731
|
-
return new
|
|
4731
|
+
return new S(y().getLogHandle(this.handle));
|
|
4732
4732
|
}
|
|
4733
4733
|
allFieldsResolved(e = "Input") {
|
|
4734
4734
|
switch (e) {
|
|
@@ -4754,89 +4754,89 @@
|
|
|
4754
4754
|
let l2 = (r === "Input" ? this.listInputFields() : r === "Output" ? this.listOutputFields() : this.listDynamicFields()).map(
|
|
4755
4755
|
(u2) => [u2, this.resolve({ field: u2, assertFieldType: r })]
|
|
4756
4756
|
);
|
|
4757
|
-
return s2 && (l2 = l2.filter((u2) => u2[1] !== void 0)), l2.map(([u2,
|
|
4757
|
+
return s2 && (l2 = l2.filter((u2) => u2[1] !== void 0)), l2.map(([u2, p2]) => o(u2, p2));
|
|
4758
4758
|
}
|
|
4759
4759
|
}
|
|
4760
4760
|
const Fe = "staging", De = "main";
|
|
4761
|
-
const ct = "pl7.app/label",
|
|
4761
|
+
const ct = "pl7.app/label", pt = "pl7.app/trace", dt = z$1.object({
|
|
4762
4762
|
type: z$1.string(),
|
|
4763
4763
|
importance: z$1.number().optional(),
|
|
4764
4764
|
id: z$1.string().optional(),
|
|
4765
4765
|
label: z$1.string()
|
|
4766
|
-
}), ft = z$1.array(
|
|
4766
|
+
}), ft = z$1.array(dt), ht = 1e-3, gt = "__LABEL__", xe = "__LABEL__@1";
|
|
4767
4767
|
function Re(t, e, n2 = {}) {
|
|
4768
4768
|
const r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), s2 = t.map((f2) => {
|
|
4769
4769
|
var z2, F;
|
|
4770
|
-
const
|
|
4771
|
-
let
|
|
4772
|
-
"spec" in
|
|
4773
|
-
const
|
|
4774
|
-
...
|
|
4775
|
-
...
|
|
4770
|
+
const g = e(f2);
|
|
4771
|
+
let h, P, c2;
|
|
4772
|
+
"spec" in g && typeof g.spec == "object" ? (h = g.spec, P = g.prefixTrace, c2 = g.suffixTrace) : h = g;
|
|
4773
|
+
const b = (z2 = h.annotations) == null ? void 0 : z2[ct], m2 = (F = h.annotations) == null ? void 0 : F[pt], w2 = (m2 ? ft.safeParse(JSON.parse(m2)).data : void 0) ?? [], A2 = [
|
|
4774
|
+
...P ?? [],
|
|
4775
|
+
...w2,
|
|
4776
4776
|
...c2 ?? []
|
|
4777
4777
|
];
|
|
4778
|
-
if (
|
|
4779
|
-
const L = { label:
|
|
4778
|
+
if (b) {
|
|
4779
|
+
const L = { label: b, type: gt, importance: -2 };
|
|
4780
4780
|
n2.addLabelAsSuffix ? A2.push(L) : A2.splice(0, 0, L);
|
|
4781
4781
|
}
|
|
4782
|
-
const D = [],
|
|
4782
|
+
const D = [], J = /* @__PURE__ */ new Map();
|
|
4783
4783
|
for (let L = A2.length - 1; L >= 0; --L) {
|
|
4784
|
-
const { type:
|
|
4785
|
-
|
|
4786
|
-
const
|
|
4787
|
-
i.set(
|
|
4788
|
-
|
|
4784
|
+
const { type: k2 } = A2[L], se = A2[L].importance ?? 0, N2 = (J.get(k2) ?? 0) + 1;
|
|
4785
|
+
J.set(k2, N2);
|
|
4786
|
+
const x2 = `${k2}@${N2}`;
|
|
4787
|
+
i.set(x2, (i.get(x2) ?? 0) + 1), r.set(
|
|
4788
|
+
x2,
|
|
4789
4789
|
Math.max(
|
|
4790
|
-
r.get(
|
|
4790
|
+
r.get(x2) ?? Number.NEGATIVE_INFINITY,
|
|
4791
4791
|
se - (A2.length - L) * ht
|
|
4792
4792
|
)
|
|
4793
|
-
), D.push({ ...A2[L], fullType:
|
|
4793
|
+
), D.push({ ...A2[L], fullType: x2, occurenceIndex: N2 });
|
|
4794
4794
|
}
|
|
4795
4795
|
return D.reverse(), {
|
|
4796
4796
|
value: f2,
|
|
4797
|
-
spec:
|
|
4798
|
-
label:
|
|
4797
|
+
spec: h,
|
|
4798
|
+
label: b,
|
|
4799
4799
|
fullTrace: D
|
|
4800
4800
|
};
|
|
4801
4801
|
}), o = [], a = [], l2 = [...r];
|
|
4802
|
-
l2.sort(([, f2], [,
|
|
4802
|
+
l2.sort(([, f2], [, g]) => g - f2);
|
|
4803
4803
|
for (const [f2] of l2)
|
|
4804
4804
|
f2.endsWith("@1") || i.get(f2) === t.length ? o.push(f2) : a.push(f2);
|
|
4805
4805
|
const u2 = (f2) => {
|
|
4806
|
-
const
|
|
4807
|
-
for (let
|
|
4808
|
-
const
|
|
4806
|
+
const g = [];
|
|
4807
|
+
for (let h = 0; h < s2.length; h++) {
|
|
4808
|
+
const P = s2[h], c2 = P.fullTrace.filter((w2) => f2.has(w2.fullType));
|
|
4809
4809
|
if (c2.length === 0)
|
|
4810
4810
|
return;
|
|
4811
|
-
const
|
|
4812
|
-
|
|
4813
|
-
label:
|
|
4814
|
-
value:
|
|
4811
|
+
const b = c2.map((w2) => w2.label), m2 = n2.separator ?? " / ";
|
|
4812
|
+
g.push({
|
|
4813
|
+
label: b.join(m2),
|
|
4814
|
+
value: P.value
|
|
4815
4815
|
});
|
|
4816
4816
|
}
|
|
4817
|
-
return
|
|
4817
|
+
return g;
|
|
4818
4818
|
};
|
|
4819
4819
|
if (o.length === 0) {
|
|
4820
4820
|
if (a.length !== 0) throw new Error("Assertion error.");
|
|
4821
|
-
const f2 = u2(new Set(
|
|
4821
|
+
const f2 = u2(new Set(xe));
|
|
4822
4822
|
if (f2 === void 0) throw new Error("Assertion error.");
|
|
4823
4823
|
return f2;
|
|
4824
4824
|
}
|
|
4825
|
-
let
|
|
4826
|
-
for (;
|
|
4825
|
+
let p2 = 0, v = 0;
|
|
4826
|
+
for (; p2 < o.length; ) {
|
|
4827
4827
|
const f2 = /* @__PURE__ */ new Set();
|
|
4828
|
-
n2.includeNativeLabel && f2.add(
|
|
4829
|
-
for (let
|
|
4830
|
-
f2.add(o[
|
|
4831
|
-
const
|
|
4832
|
-
if (
|
|
4833
|
-
|
|
4828
|
+
n2.includeNativeLabel && f2.add(xe);
|
|
4829
|
+
for (let h = 0; h < p2; ++h) f2.add(o[h]);
|
|
4830
|
+
f2.add(o[v]);
|
|
4831
|
+
const g = u2(f2);
|
|
4832
|
+
if (g !== void 0 && new Set(g.map((h) => h.label)).size === t.length) return g;
|
|
4833
|
+
v++, v >= o.length && (p2++, v = p2);
|
|
4834
4834
|
}
|
|
4835
4835
|
const d = u2(/* @__PURE__ */ new Set([...o, ...a]));
|
|
4836
4836
|
if (d === void 0) throw new Error("Assertion error.");
|
|
4837
4837
|
return d;
|
|
4838
4838
|
}
|
|
4839
|
-
const q = "PColumnData/", ne = q + "ResourceMap", re = q + "Partitioned/ResourceMap",
|
|
4839
|
+
const q = "PColumnData/", ne = q + "ResourceMap", re = q + "Partitioned/ResourceMap", M = q + "JsonPartitioned", $ = q + "BinaryPartitioned", ke = q + "Partitioned/", ie = ke + "JsonPartitioned", W = ke + "BinaryPartitioned";
|
|
4840
4840
|
const fe = (t) => {
|
|
4841
4841
|
if (t.endsWith(".index"))
|
|
4842
4842
|
return { baseKey: t.substring(0, t.length - 6), type: "index" };
|
|
@@ -4855,33 +4855,33 @@
|
|
|
4855
4855
|
case re:
|
|
4856
4856
|
i = n2.partitionKeyLength + n2.keyLength;
|
|
4857
4857
|
break;
|
|
4858
|
-
case
|
|
4859
|
-
case
|
|
4858
|
+
case M:
|
|
4859
|
+
case $:
|
|
4860
4860
|
i = n2.partitionKeyLength;
|
|
4861
4861
|
break;
|
|
4862
|
-
case
|
|
4862
|
+
case W:
|
|
4863
4863
|
case ie:
|
|
4864
4864
|
i = n2.superPartitionKeyLength + n2.partitionKeyLength;
|
|
4865
4865
|
break;
|
|
4866
4866
|
}
|
|
4867
4867
|
switch (e) {
|
|
4868
4868
|
case ne:
|
|
4869
|
-
case
|
|
4870
|
-
case
|
|
4869
|
+
case M:
|
|
4870
|
+
case $:
|
|
4871
4871
|
for (let s2 of t.listInputFields()) {
|
|
4872
|
-
e ===
|
|
4872
|
+
e === $ && (s2 = fe(s2).baseKey);
|
|
4873
4873
|
const o = [...JSON.parse(s2)];
|
|
4874
4874
|
r.push(o);
|
|
4875
4875
|
}
|
|
4876
4876
|
break;
|
|
4877
4877
|
case re:
|
|
4878
|
-
case
|
|
4878
|
+
case W:
|
|
4879
4879
|
case ie:
|
|
4880
4880
|
for (const s2 of t.listInputFields()) {
|
|
4881
4881
|
const o = [...JSON.parse(s2)], a = t.resolve({ field: s2, assertFieldType: "Input" });
|
|
4882
4882
|
if (a !== void 0)
|
|
4883
4883
|
for (let l2 of a.listInputFields()) {
|
|
4884
|
-
e ===
|
|
4884
|
+
e === W && (l2 = fe(l2).baseKey);
|
|
4885
4885
|
const u2 = [...o, ...JSON.parse(l2)];
|
|
4886
4886
|
r.push(u2);
|
|
4887
4887
|
}
|
|
@@ -4929,13 +4929,13 @@
|
|
|
4929
4929
|
function he(t, e = []) {
|
|
4930
4930
|
if (t === void 0 || !t.getIsReadyOrError()) return;
|
|
4931
4931
|
const n2 = t.resourceType.name, r = t.getDataAsJson();
|
|
4932
|
-
if (e.length > 0 && (n2 === ie || n2 ===
|
|
4932
|
+
if (e.length > 0 && (n2 === ie || n2 === W))
|
|
4933
4933
|
throw new Error(`Unexpected nested super-partitioned resource: ${n2}`);
|
|
4934
4934
|
switch (n2) {
|
|
4935
4935
|
case ne:
|
|
4936
4936
|
case re:
|
|
4937
4937
|
throw new Error(`Only data columns are supported, got: ${n2}`);
|
|
4938
|
-
case
|
|
4938
|
+
case M: {
|
|
4939
4939
|
if (typeof (r == null ? void 0 : r.partitionKeyLength) != "number")
|
|
4940
4940
|
throw new Error(`Missing partitionKeyLength in metadata for ${n2}`);
|
|
4941
4941
|
const i = [];
|
|
@@ -4951,7 +4951,7 @@
|
|
|
4951
4951
|
parts: i
|
|
4952
4952
|
};
|
|
4953
4953
|
}
|
|
4954
|
-
case
|
|
4954
|
+
case $: {
|
|
4955
4955
|
if (typeof (r == null ? void 0 : r.partitionKeyLength) != "number")
|
|
4956
4956
|
throw new Error(`Missing partitionKeyLength in metadata for ${n2}`);
|
|
4957
4957
|
const i = [], s2 = /* @__PURE__ */ new Map();
|
|
@@ -4985,8 +4985,8 @@
|
|
|
4985
4985
|
for (const o of t.listInputFields()) {
|
|
4986
4986
|
const a = t.resolve({ field: o, assertFieldType: "Input" });
|
|
4987
4987
|
if (a === void 0) return;
|
|
4988
|
-
if (a.resourceType.name !==
|
|
4989
|
-
throw new Error(`Expected ${
|
|
4988
|
+
if (a.resourceType.name !== M)
|
|
4989
|
+
throw new Error(`Expected ${M} inside ${n2}, but got ${a.resourceType.name}`);
|
|
4990
4990
|
const l2 = he(a, JSON.parse(o));
|
|
4991
4991
|
if (l2 === void 0) return;
|
|
4992
4992
|
if (l2.type !== "JsonPartitioned")
|
|
@@ -4999,15 +4999,15 @@
|
|
|
4999
4999
|
parts: s2
|
|
5000
5000
|
};
|
|
5001
5001
|
}
|
|
5002
|
-
case
|
|
5002
|
+
case W: {
|
|
5003
5003
|
if (typeof (r == null ? void 0 : r.superPartitionKeyLength) != "number" || typeof (r == null ? void 0 : r.partitionKeyLength) != "number")
|
|
5004
5004
|
throw new Error(`Missing superPartitionKeyLength or partitionKeyLength in metadata for ${n2}`);
|
|
5005
5005
|
const i = r.superPartitionKeyLength + r.partitionKeyLength, s2 = [];
|
|
5006
5006
|
for (const o of t.listInputFields()) {
|
|
5007
5007
|
const a = t.resolve({ field: o, assertFieldType: "Input" });
|
|
5008
5008
|
if (a === void 0) return;
|
|
5009
|
-
if (a.resourceType.name !==
|
|
5010
|
-
throw new Error(`Expected ${
|
|
5009
|
+
if (a.resourceType.name !== $)
|
|
5010
|
+
throw new Error(`Expected ${$} inside ${n2}, but got ${a.resourceType.name}`);
|
|
5011
5011
|
const l2 = he(a, JSON.parse(o));
|
|
5012
5012
|
if (l2 === void 0) return;
|
|
5013
5013
|
if (l2.type !== "BinaryPartitioned")
|
|
@@ -5101,7 +5101,7 @@
|
|
|
5101
5101
|
return this.columns.filter((r) => n2(r.spec));
|
|
5102
5102
|
}
|
|
5103
5103
|
}
|
|
5104
|
-
function
|
|
5104
|
+
function xt(t) {
|
|
5105
5105
|
if (t)
|
|
5106
5106
|
return t.map((e) => ({
|
|
5107
5107
|
type: `split:${Jn(e.axisId)}`,
|
|
@@ -5110,16 +5110,16 @@
|
|
|
5110
5110
|
// High importance for split filters in labels
|
|
5111
5111
|
}));
|
|
5112
5112
|
}
|
|
5113
|
-
function
|
|
5113
|
+
function Pt(t) {
|
|
5114
5114
|
if (t)
|
|
5115
5115
|
return t.map((e) => [e.axisIdx, e.value]);
|
|
5116
5116
|
}
|
|
5117
|
-
function
|
|
5117
|
+
function Ct(t, e) {
|
|
5118
5118
|
if (!e || e.length === 0) return t;
|
|
5119
5119
|
const n2 = [...e].sort((r, i) => r[0] - i[0]);
|
|
5120
5120
|
return Le({ id: t, axisFilters: n2 });
|
|
5121
5121
|
}
|
|
5122
|
-
function
|
|
5122
|
+
function St(t) {
|
|
5123
5123
|
if (!t || typeof t != "object") return false;
|
|
5124
5124
|
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);
|
|
5125
5125
|
return !!e.domainAnchor || n2 || r;
|
|
@@ -5163,112 +5163,112 @@
|
|
|
5163
5163
|
...i ?? {}
|
|
5164
5164
|
}, l2 = typeof e == "function" ? [e] : Array.isArray(e) ? e : [e], u2 = [];
|
|
5165
5165
|
for (const d of l2) {
|
|
5166
|
-
const f$1 =
|
|
5167
|
-
let
|
|
5166
|
+
const f$1 = St(d);
|
|
5167
|
+
let g;
|
|
5168
5168
|
if (f$1) {
|
|
5169
5169
|
if (!r)
|
|
5170
5170
|
throw new Error("Anchored selectors require an AnchoredIdDeriver to be provided in options.");
|
|
5171
|
-
|
|
5171
|
+
g = Dn(r.anchors, d, n2);
|
|
5172
5172
|
} else
|
|
5173
|
-
|
|
5174
|
-
const
|
|
5175
|
-
for (const
|
|
5176
|
-
const
|
|
5177
|
-
for (const A2 of
|
|
5178
|
-
if (
|
|
5179
|
-
|
|
5173
|
+
g = d;
|
|
5174
|
+
const h = /* @__PURE__ */ new Set(), P = [];
|
|
5175
|
+
for (const m2 of this.providers) {
|
|
5176
|
+
const w2 = m2.selectColumns(g);
|
|
5177
|
+
for (const A2 of w2) {
|
|
5178
|
+
if (h.has(A2.id)) throw new Error(`Duplicate column id ${A2.id} in provider ${m2.constructor.name}`);
|
|
5179
|
+
h.add(A2.id), P.push(A2);
|
|
5180
5180
|
}
|
|
5181
5181
|
}
|
|
5182
|
-
if (
|
|
5183
|
-
const c2 = _t(d),
|
|
5184
|
-
for (const
|
|
5185
|
-
if (!f(
|
|
5186
|
-
const
|
|
5187
|
-
if (
|
|
5188
|
-
const A2 = bt(
|
|
5182
|
+
if (P.length === 0) continue;
|
|
5183
|
+
const c2 = _t(d), b = c2.length > 0;
|
|
5184
|
+
for (const m2 of P) {
|
|
5185
|
+
if (!f(m2.spec)) continue;
|
|
5186
|
+
const w2 = m2.spec;
|
|
5187
|
+
if (b) {
|
|
5188
|
+
const A2 = bt(m2.data);
|
|
5189
5189
|
if (!A2) {
|
|
5190
5190
|
if (s2) continue;
|
|
5191
5191
|
return;
|
|
5192
5192
|
}
|
|
5193
5193
|
if (!yn(A2))
|
|
5194
|
-
throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${A2.type} for column ${
|
|
5195
|
-
const D = vt(A2),
|
|
5196
|
-
if (
|
|
5197
|
-
throw new Error(`Not enough partition keys (${A2.partitionKeyLength}) for requested split axes (max index ${
|
|
5198
|
-
const z2 = c2.map((
|
|
5199
|
-
if (
|
|
5200
|
-
if (F.push([...
|
|
5194
|
+
throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${A2.type} for column ${m2.id}`);
|
|
5195
|
+
const D = vt(A2), J = c2[c2.length - 1];
|
|
5196
|
+
if (J >= A2.partitionKeyLength)
|
|
5197
|
+
throw new Error(`Not enough partition keys (${A2.partitionKeyLength}) for requested split axes (max index ${J}) in column ${w2.name}`);
|
|
5198
|
+
const z2 = c2.map((x2) => this.findLabels(m$1(w2.axesSpec[x2]))), F = [], L = (x2, U) => {
|
|
5199
|
+
if (U >= c2.length) {
|
|
5200
|
+
if (F.push([...x2]), F.length > 1e4)
|
|
5201
5201
|
throw new Error("Too many key combinations, aborting.");
|
|
5202
5202
|
return;
|
|
5203
5203
|
}
|
|
5204
|
-
const O = c2[
|
|
5204
|
+
const O = c2[U];
|
|
5205
5205
|
if (O >= D.length)
|
|
5206
|
-
throw new Error(`Axis index ${O} out of bounds for unique keys array (length ${D.length}) during split key generation for column ${
|
|
5207
|
-
const
|
|
5208
|
-
if (!
|
|
5206
|
+
throw new Error(`Axis index ${O} out of bounds for unique keys array (length ${D.length}) during split key generation for column ${m2.id}`);
|
|
5207
|
+
const j2 = D[O];
|
|
5208
|
+
if (!j2 || j2.length === 0) {
|
|
5209
5209
|
F.length = 0;
|
|
5210
5210
|
return;
|
|
5211
5211
|
}
|
|
5212
|
-
for (const Y2 of
|
|
5213
|
-
|
|
5212
|
+
for (const Y2 of j2)
|
|
5213
|
+
x2.push(Y2), L(x2, U + 1), x2.pop();
|
|
5214
5214
|
};
|
|
5215
5215
|
if (L([], 0), F.length === 0)
|
|
5216
5216
|
continue;
|
|
5217
|
-
const
|
|
5218
|
-
for (let
|
|
5219
|
-
|
|
5220
|
-
const
|
|
5221
|
-
for (const
|
|
5222
|
-
const
|
|
5223
|
-
const Y2 = se[
|
|
5217
|
+
const k2 = [...w2.axesSpec], se = c2.map((x2) => x2);
|
|
5218
|
+
for (let x2 = c2.length - 1; x2 >= 0; x2--)
|
|
5219
|
+
k2.splice(c2[x2], 1);
|
|
5220
|
+
const N2 = { ...w2, axesSpec: k2 };
|
|
5221
|
+
for (const x2 of F) {
|
|
5222
|
+
const U = x2.map((O, j2) => {
|
|
5223
|
+
const Y2 = se[j2], Ue = m$1(w2.axesSpec[Y2]), oe = z2[j2], Be = (oe == null ? void 0 : oe[O]) ?? String(O);
|
|
5224
5224
|
return { axisIdx: Y2, axisId: Ue, value: O, label: Be };
|
|
5225
5225
|
});
|
|
5226
5226
|
u2.push({
|
|
5227
5227
|
type: "split",
|
|
5228
|
-
originalColumn:
|
|
5229
|
-
spec:
|
|
5230
|
-
adjustedSpec:
|
|
5228
|
+
originalColumn: m2,
|
|
5229
|
+
spec: w2,
|
|
5230
|
+
adjustedSpec: N2,
|
|
5231
5231
|
dataEntries: A2,
|
|
5232
|
-
axisFilters:
|
|
5232
|
+
axisFilters: U
|
|
5233
5233
|
});
|
|
5234
5234
|
}
|
|
5235
5235
|
} else
|
|
5236
5236
|
u2.push({
|
|
5237
5237
|
type: "direct",
|
|
5238
|
-
originalColumn:
|
|
5239
|
-
spec:
|
|
5240
|
-
adjustedSpec:
|
|
5238
|
+
originalColumn: m2,
|
|
5239
|
+
spec: w2,
|
|
5240
|
+
adjustedSpec: w2
|
|
5241
5241
|
});
|
|
5242
5242
|
}
|
|
5243
5243
|
}
|
|
5244
5244
|
if (u2.length === 0) return [];
|
|
5245
|
-
const
|
|
5245
|
+
const p2 = Re(
|
|
5246
5246
|
u2,
|
|
5247
5247
|
(d) => ({
|
|
5248
5248
|
spec: d.spec,
|
|
5249
|
-
suffixTrace: d.type === "split" ?
|
|
5249
|
+
suffixTrace: d.type === "split" ? xt(d.axisFilters) : void 0
|
|
5250
5250
|
}),
|
|
5251
5251
|
a
|
|
5252
|
-
),
|
|
5253
|
-
for (const { value: d, label: f2 } of
|
|
5254
|
-
const { originalColumn:
|
|
5255
|
-
let
|
|
5256
|
-
r ?
|
|
5257
|
-
let
|
|
5258
|
-
o && (
|
|
5259
|
-
...
|
|
5252
|
+
), v = [];
|
|
5253
|
+
for (const { value: d, label: f2 } of p2) {
|
|
5254
|
+
const { originalColumn: g, spec: h } = d, P = d.type === "split" ? d.axisFilters : void 0, c2 = Pt(P);
|
|
5255
|
+
let b;
|
|
5256
|
+
r ? b = r.deriveS(h, c2) : b = Ct(g.id, c2);
|
|
5257
|
+
let m2 = { ...d.adjustedSpec };
|
|
5258
|
+
o && (m2 = {
|
|
5259
|
+
...m2,
|
|
5260
5260
|
annotations: {
|
|
5261
|
-
...
|
|
5261
|
+
...m2.annotations ?? {},
|
|
5262
5262
|
"pl7.app/label": f2
|
|
5263
5263
|
}
|
|
5264
|
-
}),
|
|
5265
|
-
id:
|
|
5266
|
-
spec:
|
|
5264
|
+
}), v.push({
|
|
5265
|
+
id: b,
|
|
5266
|
+
spec: m2,
|
|
5267
5267
|
data: () => d.type === "split" ? gn(wt(d.dataEntries, c2)) : d.originalColumn.data,
|
|
5268
5268
|
label: f2
|
|
5269
5269
|
});
|
|
5270
5270
|
}
|
|
5271
|
-
return
|
|
5271
|
+
return v;
|
|
5272
5272
|
}
|
|
5273
5273
|
getColumns(e, n2) {
|
|
5274
5274
|
const r = this.getUniversalEntries(e, {
|
|
@@ -5300,12 +5300,12 @@
|
|
|
5300
5300
|
if (t[n2] !== e[n2]) return false;
|
|
5301
5301
|
return true;
|
|
5302
5302
|
}
|
|
5303
|
-
function
|
|
5303
|
+
function Pe(t) {
|
|
5304
5304
|
return Fn(t, (e) => e instanceof I ? e.handle : mn(e) ? ln(e, (n2) => n2.handle) : e);
|
|
5305
5305
|
}
|
|
5306
5306
|
class It {
|
|
5307
5307
|
constructor() {
|
|
5308
|
-
T(this, "ctx",
|
|
5308
|
+
T(this, "ctx", y());
|
|
5309
5309
|
}
|
|
5310
5310
|
/**
|
|
5311
5311
|
* @deprecated use getOptions()
|
|
@@ -5579,7 +5579,7 @@
|
|
|
5579
5579
|
T(this, "uiState");
|
|
5580
5580
|
T(this, "_activeArgsCache");
|
|
5581
5581
|
T(this, "resultPool", new It());
|
|
5582
|
-
this.ctx =
|
|
5582
|
+
this.ctx = y(), this.args = JSON.parse(this.ctx.args), this.uiState = this.ctx.uiState !== void 0 ? JSON.parse(this.ctx.uiState) : {};
|
|
5583
5583
|
}
|
|
5584
5584
|
/**
|
|
5585
5585
|
* Returns args snapshot the block was executed for (i.e. when "Run" button was pressed).
|
|
@@ -5595,7 +5595,7 @@
|
|
|
5595
5595
|
// return this.ctx.featureFlags;
|
|
5596
5596
|
// }
|
|
5597
5597
|
getNamedAccessor(e) {
|
|
5598
|
-
return
|
|
5598
|
+
return pe(
|
|
5599
5599
|
this.ctx.getAccessorHandleByName(e),
|
|
5600
5600
|
(n2) => new I(n2, [e])
|
|
5601
5601
|
);
|
|
@@ -5622,7 +5622,7 @@
|
|
|
5622
5622
|
// TODO remove all non-PColumn fields
|
|
5623
5623
|
createPFrame(e) {
|
|
5624
5624
|
return this.verifyInlineAndExplicitColumnsSupport(e), this.ctx.createPFrame(
|
|
5625
|
-
e.map((n2) =>
|
|
5625
|
+
e.map((n2) => Pe(n2))
|
|
5626
5626
|
);
|
|
5627
5627
|
}
|
|
5628
5628
|
createPTable(e) {
|
|
@@ -5635,7 +5635,7 @@
|
|
|
5635
5635
|
filters: e.filters ?? [],
|
|
5636
5636
|
sorting: e.sorting ?? []
|
|
5637
5637
|
} : n2 = e, this.verifyInlineAndExplicitColumnsSupport(Un(n2.src)), this.ctx.createPTable(
|
|
5638
|
-
On(n2, (r) =>
|
|
5638
|
+
On(n2, (r) => Pe(r))
|
|
5639
5639
|
);
|
|
5640
5640
|
}
|
|
5641
5641
|
/** @deprecated scheduled for removal from SDK */
|
|
@@ -5646,7 +5646,7 @@
|
|
|
5646
5646
|
return this.ctx.getCurrentUnstableMarker();
|
|
5647
5647
|
}
|
|
5648
5648
|
}
|
|
5649
|
-
const
|
|
5649
|
+
const G = "1.30.11";
|
|
5650
5650
|
function Lt(t) {
|
|
5651
5651
|
return t.__renderLambda === true;
|
|
5652
5652
|
}
|
|
@@ -5673,7 +5673,7 @@
|
|
|
5673
5673
|
output(e, n2, r = {}) {
|
|
5674
5674
|
if (typeof n2 == "function") {
|
|
5675
5675
|
const i = `output#${e}`;
|
|
5676
|
-
return
|
|
5676
|
+
return B(i, () => n2(new X())), new _(
|
|
5677
5677
|
this._renderingMode,
|
|
5678
5678
|
this._initialArgs,
|
|
5679
5679
|
this._initialUiState,
|
|
@@ -5710,7 +5710,7 @@
|
|
|
5710
5710
|
return this.output(e, n2, { retentive: true });
|
|
5711
5711
|
}
|
|
5712
5712
|
argsValid(e) {
|
|
5713
|
-
return typeof e == "function" ? (
|
|
5713
|
+
return typeof e == "function" ? (B("inputsValid", () => e(new X())), new _(
|
|
5714
5714
|
this._renderingMode,
|
|
5715
5715
|
this._initialArgs,
|
|
5716
5716
|
this._initialUiState,
|
|
@@ -5734,7 +5734,7 @@
|
|
|
5734
5734
|
);
|
|
5735
5735
|
}
|
|
5736
5736
|
sections(e) {
|
|
5737
|
-
return Array.isArray(e) ? this.sections(Z(e)) : typeof e == "function" ? (
|
|
5737
|
+
return Array.isArray(e) ? this.sections(Z(e)) : typeof e == "function" ? (B("sections", () => e(new X())), new _(
|
|
5738
5738
|
this._renderingMode,
|
|
5739
5739
|
this._initialArgs,
|
|
5740
5740
|
this._initialUiState,
|
|
@@ -5756,7 +5756,7 @@
|
|
|
5756
5756
|
}
|
|
5757
5757
|
/** Sets a rendering function to derive block title, shown for the block in the left blocks-overview panel. */
|
|
5758
5758
|
title(e) {
|
|
5759
|
-
return
|
|
5759
|
+
return B("title", () => e(new X())), new _(
|
|
5760
5760
|
this._renderingMode,
|
|
5761
5761
|
this._initialArgs,
|
|
5762
5762
|
this._initialUiState,
|
|
@@ -5814,7 +5814,7 @@
|
|
|
5814
5814
|
* Influences dependency graph construction.
|
|
5815
5815
|
*/
|
|
5816
5816
|
enriches(e) {
|
|
5817
|
-
return
|
|
5817
|
+
return B("enrichmentTargets", e), new _(
|
|
5818
5818
|
this._renderingMode,
|
|
5819
5819
|
this._initialArgs,
|
|
5820
5820
|
this._initialUiState,
|
|
@@ -5832,7 +5832,7 @@
|
|
|
5832
5832
|
if (this._initialArgs === void 0) throw new Error("Initial arguments not set.");
|
|
5833
5833
|
const e = {
|
|
5834
5834
|
v3: {
|
|
5835
|
-
sdkVersion:
|
|
5835
|
+
sdkVersion: G,
|
|
5836
5836
|
renderingMode: this._renderingMode,
|
|
5837
5837
|
initialArgs: this._initialArgs,
|
|
5838
5838
|
initialUiState: this._initialUiState,
|
|
@@ -5843,7 +5843,7 @@
|
|
|
5843
5843
|
enrichmentTargets: this._enrichmentTargets
|
|
5844
5844
|
},
|
|
5845
5845
|
// fields below are added to allow previous desktop versions read generated configs
|
|
5846
|
-
sdkVersion:
|
|
5846
|
+
sdkVersion: G,
|
|
5847
5847
|
renderingMode: this._renderingMode,
|
|
5848
5848
|
initialArgs: this._initialArgs,
|
|
5849
5849
|
inputsValid: ue(this._inputsValid),
|
|
@@ -5852,7 +5852,7 @@
|
|
|
5852
5852
|
Object.entries(this._outputs).map(([n2, r]) => [n2, ue(r)])
|
|
5853
5853
|
)
|
|
5854
5854
|
};
|
|
5855
|
-
return st() ? Ee({ sdkVersion:
|
|
5855
|
+
return st() ? Ee({ sdkVersion: G }) : { config: e };
|
|
5856
5856
|
}
|
|
5857
5857
|
}
|
|
5858
5858
|
const platforma = _.create("Heavy").withArgs({ titleArg: "The title" }).output("allSpecs", (ctx) => ctx.resultPool.getSpecs()).sections((ctx) => {
|