@milaboratories/milaboratories.pool-explorer.model 1.0.36 → 1.0.38
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 +326 -309
- package/dist/bundle.js.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/model.json +1 -1
- package/package.json +3 -3
package/dist/bundle.js
CHANGED
|
@@ -3832,7 +3832,7 @@
|
|
|
3832
3832
|
date: (arg) => ZodDate.create({ ...arg, coerce: true })
|
|
3833
3833
|
};
|
|
3834
3834
|
const NEVER = INVALID;
|
|
3835
|
-
var z$
|
|
3835
|
+
var z$2 = /* @__PURE__ */ Object.freeze({
|
|
3836
3836
|
__proto__: null,
|
|
3837
3837
|
defaultErrorMap: errorMap,
|
|
3838
3838
|
setErrorMap,
|
|
@@ -3948,13 +3948,13 @@
|
|
|
3948
3948
|
quotelessJson,
|
|
3949
3949
|
ZodError
|
|
3950
3950
|
});
|
|
3951
|
-
var
|
|
3952
|
-
var
|
|
3953
|
-
var l$1 = (n2, e, t) =>
|
|
3951
|
+
var $ = Object.defineProperty;
|
|
3952
|
+
var D = (n2, e, t) => e in n2 ? $(n2, e, { enumerable: true, configurable: true, writable: true, value: t }) : n2[e] = t;
|
|
3953
|
+
var l$1 = (n2, e, t) => D(n2, typeof e != "symbol" ? e + "" : e, t);
|
|
3954
3954
|
function w(n2) {
|
|
3955
3955
|
throw new Error("Unexpected object: " + n2);
|
|
3956
3956
|
}
|
|
3957
|
-
function
|
|
3957
|
+
function pn(n2) {
|
|
3958
3958
|
if (!n2 || typeof n2 != "object")
|
|
3959
3959
|
return false;
|
|
3960
3960
|
const e = n2;
|
|
@@ -3999,7 +3999,7 @@
|
|
|
3999
3999
|
}
|
|
4000
4000
|
}
|
|
4001
4001
|
}
|
|
4002
|
-
function
|
|
4002
|
+
function F(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 yn(n2) {
|
|
4020
|
-
return
|
|
4020
|
+
return F(n2) ? n2.type === "JsonPartitioned" || n2.type === "BinaryPartitioned" : false;
|
|
4021
4021
|
}
|
|
4022
4022
|
function hn(n2) {
|
|
4023
4023
|
switch (n2.type) {
|
|
@@ -4081,27 +4081,30 @@
|
|
|
4081
4081
|
}
|
|
4082
4082
|
}
|
|
4083
4083
|
}
|
|
4084
|
-
function
|
|
4084
|
+
function p$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
|
+
function C(n2) {
|
|
4089
|
+
return n2.map(p$1);
|
|
4090
|
+
}
|
|
4088
4091
|
function Jn(n2) {
|
|
4089
|
-
return Le(
|
|
4092
|
+
return Le(p$1(n2));
|
|
4090
4093
|
}
|
|
4091
|
-
function z(n2, e) {
|
|
4094
|
+
function z$1(n2, e) {
|
|
4092
4095
|
if (n2 === void 0) return e === void 0;
|
|
4093
4096
|
if (e === void 0) return true;
|
|
4094
4097
|
for (const t in e)
|
|
4095
4098
|
if (n2[t] !== e[t]) return false;
|
|
4096
4099
|
return true;
|
|
4097
4100
|
}
|
|
4098
|
-
function X
|
|
4099
|
-
return n2.name === e.name && z(n2.domain, e.domain);
|
|
4101
|
+
function X(n2, e) {
|
|
4102
|
+
return n2.name === e.name && z$1(n2.domain, e.domain);
|
|
4100
4103
|
}
|
|
4101
4104
|
function On(n2, e) {
|
|
4102
|
-
return { ...n2, src:
|
|
4105
|
+
return { ...n2, src: h(n2.src, e) };
|
|
4103
4106
|
}
|
|
4104
|
-
function
|
|
4107
|
+
function h(n2, e) {
|
|
4105
4108
|
switch (n2.type) {
|
|
4106
4109
|
case "column":
|
|
4107
4110
|
return {
|
|
@@ -4115,17 +4118,19 @@
|
|
|
4115
4118
|
newId: n2.newId,
|
|
4116
4119
|
axisFilters: n2.axisFilters
|
|
4117
4120
|
};
|
|
4121
|
+
case "inlineColumn":
|
|
4122
|
+
return n2;
|
|
4118
4123
|
case "inner":
|
|
4119
4124
|
case "full":
|
|
4120
4125
|
return {
|
|
4121
4126
|
type: n2.type,
|
|
4122
|
-
entries: n2.entries.map((t) =>
|
|
4127
|
+
entries: n2.entries.map((t) => h(t, e))
|
|
4123
4128
|
};
|
|
4124
4129
|
case "outer":
|
|
4125
4130
|
return {
|
|
4126
4131
|
type: "outer",
|
|
4127
|
-
primary:
|
|
4128
|
-
secondary: n2.secondary.map((t) =>
|
|
4132
|
+
primary: h(n2.primary, e),
|
|
4133
|
+
secondary: n2.secondary.map((t) => h(t, e))
|
|
4129
4134
|
};
|
|
4130
4135
|
default:
|
|
4131
4136
|
w(n2);
|
|
@@ -4135,12 +4140,12 @@
|
|
|
4135
4140
|
return Le(n2);
|
|
4136
4141
|
}
|
|
4137
4142
|
function x(n2) {
|
|
4138
|
-
return Le(
|
|
4143
|
+
return Le(p$1(n2));
|
|
4139
4144
|
}
|
|
4140
4145
|
function A(n2, e) {
|
|
4141
4146
|
return JSON.stringify([n2, e]);
|
|
4142
4147
|
}
|
|
4143
|
-
class
|
|
4148
|
+
class $n {
|
|
4144
4149
|
/**
|
|
4145
4150
|
* Creates a new anchor context from a set of anchor column specifications
|
|
4146
4151
|
* @param anchors Record of anchor column specifications indexed by anchor ID
|
|
@@ -4202,7 +4207,7 @@
|
|
|
4202
4207
|
}
|
|
4203
4208
|
if (r.axes = e.axesSpec.map((a) => {
|
|
4204
4209
|
const i = x(a), u2 = this.axes.get(i);
|
|
4205
|
-
return u2 === void 0 ?
|
|
4210
|
+
return u2 === void 0 ? p$1(a) : u2;
|
|
4206
4211
|
}), !t || t.length === 0)
|
|
4207
4212
|
return r;
|
|
4208
4213
|
const s2 = [];
|
|
@@ -4261,9 +4266,9 @@
|
|
|
4261
4266
|
}
|
|
4262
4267
|
r.domain = s2;
|
|
4263
4268
|
}
|
|
4264
|
-
return r.axes && (r.axes = r.axes.map((s2) => Q(n2, s2))), r;
|
|
4269
|
+
return r.axes && (r.axes = r.axes.map((s2) => Q$1(n2, s2))), r;
|
|
4265
4270
|
}
|
|
4266
|
-
function Q(n2, e) {
|
|
4271
|
+
function Q$1(n2, e) {
|
|
4267
4272
|
if (!Y(e))
|
|
4268
4273
|
return e;
|
|
4269
4274
|
const t = e.anchor, r = n2[t];
|
|
@@ -4281,7 +4286,7 @@
|
|
|
4281
4286
|
throw new Error(`Axis with name "${e.name}" not found in anchor "${t}"`);
|
|
4282
4287
|
return o[0];
|
|
4283
4288
|
} else if ("id" in e) {
|
|
4284
|
-
const o = r.axesSpec.filter((s2) => X
|
|
4289
|
+
const o = r.axesSpec.filter((s2) => X(e.id, p$1(s2)));
|
|
4285
4290
|
if (o.length > 1)
|
|
4286
4291
|
throw new Error(`Multiple matching axes found for matcher in anchor "${t}"`);
|
|
4287
4292
|
if (o.length === 0)
|
|
@@ -4296,11 +4301,11 @@
|
|
|
4296
4301
|
function f(n2) {
|
|
4297
4302
|
return n2.kind === "PColumn";
|
|
4298
4303
|
}
|
|
4299
|
-
function Z
|
|
4304
|
+
function Z(n2) {
|
|
4300
4305
|
return f(n2.spec);
|
|
4301
4306
|
}
|
|
4302
4307
|
function jn(n2) {
|
|
4303
|
-
if (!Z
|
|
4308
|
+
if (!Z(n2)) throw new Error(`not a PColumn (kind = ${n2.spec.kind})`);
|
|
4304
4309
|
return n2;
|
|
4305
4310
|
}
|
|
4306
4311
|
function Fn(n2, e) {
|
|
@@ -4318,6 +4323,8 @@
|
|
|
4318
4323
|
case "slicedColumn":
|
|
4319
4324
|
e.set(r.column.id, r.column);
|
|
4320
4325
|
return;
|
|
4326
|
+
case "inlineColumn":
|
|
4327
|
+
return;
|
|
4321
4328
|
case "full":
|
|
4322
4329
|
case "inner":
|
|
4323
4330
|
for (const o of r.entries) t(o);
|
|
@@ -4350,7 +4357,7 @@
|
|
|
4350
4357
|
}
|
|
4351
4358
|
return true;
|
|
4352
4359
|
}
|
|
4353
|
-
function N(n2, e) {
|
|
4360
|
+
function N$1(n2, e) {
|
|
4354
4361
|
if (e.name !== void 0 && n2.name !== e.name || e.namePattern !== void 0 && !new RegExp(e.namePattern).test(n2.name))
|
|
4355
4362
|
return false;
|
|
4356
4363
|
if (e.type !== void 0) {
|
|
@@ -4367,7 +4374,7 @@
|
|
|
4367
4374
|
return false;
|
|
4368
4375
|
}
|
|
4369
4376
|
if (e.axes !== void 0) {
|
|
4370
|
-
const t = n2.axesSpec.map(
|
|
4377
|
+
const t = n2.axesSpec.map(p$1);
|
|
4371
4378
|
if (e.partialAxesMatch) {
|
|
4372
4379
|
for (const r of e.axes)
|
|
4373
4380
|
if (!t.some((o) => k(r, o)))
|
|
@@ -4397,20 +4404,27 @@
|
|
|
4397
4404
|
return true;
|
|
4398
4405
|
}
|
|
4399
4406
|
function Kn(n2) {
|
|
4400
|
-
return Array.isArray(n2) ? (e) => n2.some((t) => f(e) && N(e, t)) : (e) => f(e) && N(e, n2);
|
|
4407
|
+
return Array.isArray(n2) ? (e) => n2.some((t) => f(e) && N$1(e, t)) : (e) => f(e) && N$1(e, n2);
|
|
4408
|
+
}
|
|
4409
|
+
function Rn(n2) {
|
|
4410
|
+
const e = {
|
|
4411
|
+
kind: n2.kind,
|
|
4412
|
+
name: n2.name
|
|
4413
|
+
};
|
|
4414
|
+
return n2.domain !== void 0 && (e.domain = n2.domain), f(n2) && (e.axesSpec = C(n2.axesSpec)), Le(e);
|
|
4401
4415
|
}
|
|
4402
|
-
z$
|
|
4403
|
-
__isRef: z$
|
|
4404
|
-
blockId: z$
|
|
4405
|
-
name: z$
|
|
4406
|
-
requireEnrichments: z$
|
|
4416
|
+
z$2.object({
|
|
4417
|
+
__isRef: z$2.literal(true).describe("Crucial marker for the block dependency tree reconstruction"),
|
|
4418
|
+
blockId: z$2.string().describe("Upstream block id"),
|
|
4419
|
+
name: z$2.string().describe("Name of the output provided to the upstream block's output context"),
|
|
4420
|
+
requireEnrichments: z$2.literal(true).optional().describe("True if current block that stores this reference in its args, may need enrichments for the references value originating from the blocks in between current and referenced block")
|
|
4407
4421
|
}).describe(
|
|
4408
4422
|
"Universal reference type, allowing to set block connections. It is crucial that {@link __isRef} is present and equal to true, internal logic relies on this marker to build block dependency trees."
|
|
4409
4423
|
).readonly();
|
|
4410
4424
|
function Mn(n2) {
|
|
4411
4425
|
return typeof n2 == "object" && n2 !== null && "__isRef" in n2 && n2.__isRef === true && "blockId" in n2 && "name" in n2;
|
|
4412
4426
|
}
|
|
4413
|
-
function
|
|
4427
|
+
function Hn(n2, e = true) {
|
|
4414
4428
|
if (e)
|
|
4415
4429
|
return {
|
|
4416
4430
|
...n2,
|
|
@@ -4421,11 +4435,11 @@
|
|
|
4421
4435
|
return r;
|
|
4422
4436
|
}
|
|
4423
4437
|
}
|
|
4424
|
-
function
|
|
4438
|
+
function Wn(n2, e) {
|
|
4425
4439
|
return n2.ok ? { ok: true, value: e(n2.value) } : n2;
|
|
4426
4440
|
}
|
|
4427
4441
|
const sn = 24;
|
|
4428
|
-
z$
|
|
4442
|
+
z$2.string().length(sn).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
|
|
4429
4443
|
var stringify = { exports: {} };
|
|
4430
4444
|
(function(module2, exports3) {
|
|
4431
4445
|
exports3 = module2.exports = stringify2;
|
|
@@ -4450,41 +4464,41 @@
|
|
|
4450
4464
|
};
|
|
4451
4465
|
}
|
|
4452
4466
|
})(stringify, stringify.exports);
|
|
4453
|
-
const l = z$
|
|
4454
|
-
type: z$
|
|
4455
|
-
name: z$
|
|
4456
|
-
message: z$
|
|
4467
|
+
const l = z$2.object({
|
|
4468
|
+
type: z$2.literal("PlError"),
|
|
4469
|
+
name: z$2.string(),
|
|
4470
|
+
message: z$2.string(),
|
|
4457
4471
|
/** The message with all details needed for SDK developers. */
|
|
4458
|
-
fullMessage: z$
|
|
4459
|
-
stack: z$
|
|
4472
|
+
fullMessage: z$2.string().optional(),
|
|
4473
|
+
stack: z$2.string().optional()
|
|
4460
4474
|
}), c = l.extend({
|
|
4461
|
-
cause: z$
|
|
4462
|
-
errors: z$
|
|
4463
|
-
}), m = z$
|
|
4464
|
-
type: z$
|
|
4465
|
-
name: z$
|
|
4466
|
-
message: z$
|
|
4467
|
-
stack: z$
|
|
4475
|
+
cause: z$2.lazy(() => s).optional(),
|
|
4476
|
+
errors: z$2.lazy(() => s.array()).optional()
|
|
4477
|
+
}), m = z$2.object({
|
|
4478
|
+
type: z$2.literal("StandardError"),
|
|
4479
|
+
name: z$2.string(),
|
|
4480
|
+
message: z$2.string(),
|
|
4481
|
+
stack: z$2.string().optional()
|
|
4468
4482
|
}), p = m.extend({
|
|
4469
|
-
cause: z$
|
|
4470
|
-
errors: z$
|
|
4471
|
-
}), s = z$
|
|
4472
|
-
const u = z$
|
|
4473
|
-
name: z$
|
|
4474
|
-
message: z$
|
|
4475
|
-
fullMessage: z$
|
|
4476
|
-
stack: z$
|
|
4483
|
+
cause: z$2.lazy(() => s).optional(),
|
|
4484
|
+
errors: z$2.lazy(() => s.array()).optional()
|
|
4485
|
+
}), s = z$2.union([p, c]);
|
|
4486
|
+
const u = z$2.object({
|
|
4487
|
+
name: z$2.string(),
|
|
4488
|
+
message: z$2.string(),
|
|
4489
|
+
fullMessage: z$2.string().optional(),
|
|
4490
|
+
stack: z$2.string().optional()
|
|
4477
4491
|
}), n = u.extend({
|
|
4478
|
-
cause: z$
|
|
4479
|
-
errors: z$
|
|
4492
|
+
cause: z$2.lazy(() => n).optional(),
|
|
4493
|
+
errors: z$2.lazy(() => n.array()).optional()
|
|
4480
4494
|
});
|
|
4481
|
-
var
|
|
4482
|
-
var
|
|
4483
|
-
var T = (t, e, n2) =>
|
|
4484
|
-
function
|
|
4495
|
+
var We = Object.defineProperty;
|
|
4496
|
+
var Ge = (t, e, n2) => e in t ? We(t, e, { enumerable: true, configurable: true, writable: true, value: n2 }) : t[e] = n2;
|
|
4497
|
+
var T = (t, e, n2) => Ge(t, typeof e != "symbol" ? e + "" : e, n2);
|
|
4498
|
+
function ee(t) {
|
|
4485
4499
|
return { type: "Immediate", value: t };
|
|
4486
4500
|
}
|
|
4487
|
-
function
|
|
4501
|
+
function at() {
|
|
4488
4502
|
return typeof globalThis.getPlatforma < "u" || typeof globalThis.platforma < "u";
|
|
4489
4503
|
}
|
|
4490
4504
|
function Ee(t) {
|
|
@@ -4493,39 +4507,39 @@
|
|
|
4493
4507
|
if (typeof globalThis.platforma < "u") return globalThis.platforma;
|
|
4494
4508
|
throw new Error("Can't get platforma instance.");
|
|
4495
4509
|
}
|
|
4496
|
-
function
|
|
4510
|
+
function lt() {
|
|
4497
4511
|
if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
|
|
4498
4512
|
}
|
|
4499
4513
|
function y() {
|
|
4500
4514
|
if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
|
|
4501
4515
|
throw new Error("Not in config rendering context");
|
|
4502
4516
|
}
|
|
4503
|
-
function
|
|
4504
|
-
const n2 =
|
|
4517
|
+
function M(t, e) {
|
|
4518
|
+
const n2 = lt();
|
|
4505
4519
|
if (n2 === void 0) return false;
|
|
4506
4520
|
if (t in n2.callbackRegistry) throw new Error(`Callback with key ${t} already registered.`);
|
|
4507
4521
|
return n2.callbackRegistry[t] = e, true;
|
|
4508
4522
|
}
|
|
4509
4523
|
const ae = /* @__PURE__ */ new Map();
|
|
4510
|
-
function
|
|
4524
|
+
function ut(t, e) {
|
|
4511
4525
|
t in y().callbackRegistry || (y().callbackRegistry[t] = (n2) => {
|
|
4512
4526
|
for (const r of ae.get(t))
|
|
4513
4527
|
r(n2);
|
|
4514
4528
|
}, ae.set(t, [])), ae.get(t).push(e);
|
|
4515
4529
|
}
|
|
4516
|
-
class
|
|
4530
|
+
class _ {
|
|
4517
4531
|
constructor(e, n2 = (r) => r) {
|
|
4518
4532
|
T(this, "isResolved", false);
|
|
4519
4533
|
T(this, "resolvedValue");
|
|
4520
|
-
this.handle = e, this.postProcess = n2,
|
|
4534
|
+
this.handle = e, this.postProcess = n2, ut(e, (r) => {
|
|
4521
4535
|
this.resolvedValue = n2(r), this.isResolved = true;
|
|
4522
4536
|
});
|
|
4523
4537
|
}
|
|
4524
4538
|
map(e) {
|
|
4525
|
-
return new
|
|
4539
|
+
return new _(this.handle, (n2) => e(this.postProcess(n2)));
|
|
4526
4540
|
}
|
|
4527
4541
|
mapDefined(e) {
|
|
4528
|
-
return new
|
|
4542
|
+
return new _(this.handle, (n2) => {
|
|
4529
4543
|
const r = this.postProcess(n2);
|
|
4530
4544
|
return r ? e(r) : void 0;
|
|
4531
4545
|
});
|
|
@@ -4537,7 +4551,7 @@
|
|
|
4537
4551
|
function pe(t, e) {
|
|
4538
4552
|
return t === void 0 ? void 0 : e(t);
|
|
4539
4553
|
}
|
|
4540
|
-
class
|
|
4554
|
+
class L {
|
|
4541
4555
|
constructor(e, n2) {
|
|
4542
4556
|
this.handle = e, this.resolvePath = n2;
|
|
4543
4557
|
}
|
|
@@ -4578,7 +4592,7 @@
|
|
|
4578
4592
|
];
|
|
4579
4593
|
return pe(
|
|
4580
4594
|
y().resolveWithCommon(this.handle, e, ...n2),
|
|
4581
|
-
(i) => new
|
|
4595
|
+
(i) => new L(i, r)
|
|
4582
4596
|
);
|
|
4583
4597
|
}
|
|
4584
4598
|
get resourceType() {
|
|
@@ -4600,7 +4614,7 @@
|
|
|
4600
4614
|
const e = [...this.resolvePath, "error"];
|
|
4601
4615
|
return pe(
|
|
4602
4616
|
y().getError(this.handle),
|
|
4603
|
-
(n2) => new
|
|
4617
|
+
(n2) => new L(n2, e)
|
|
4604
4618
|
);
|
|
4605
4619
|
}
|
|
4606
4620
|
listInputFields() {
|
|
@@ -4640,7 +4654,7 @@
|
|
|
4640
4654
|
getPColumns(e = false, n2 = "") {
|
|
4641
4655
|
const r = this.parsePObjectCollection(e, n2);
|
|
4642
4656
|
return r === void 0 ? void 0 : Object.entries(r).map(([, s2]) => {
|
|
4643
|
-
if (!Z
|
|
4657
|
+
if (!Z(s2)) throw new Error(`not a PColumn (kind = ${s2.spec.kind})`);
|
|
4644
4658
|
return s2;
|
|
4645
4659
|
});
|
|
4646
4660
|
}
|
|
@@ -4658,18 +4672,18 @@
|
|
|
4658
4672
|
const i = {};
|
|
4659
4673
|
for (const [s2, o] of Object.entries(r)) {
|
|
4660
4674
|
const a = [...this.resolvePath, s2];
|
|
4661
|
-
i[s2] = Fn(o, (l2) => new
|
|
4675
|
+
i[s2] = Fn(o, (l2) => new L(l2, a));
|
|
4662
4676
|
}
|
|
4663
4677
|
return i;
|
|
4664
4678
|
}
|
|
4665
4679
|
getFileContentAsBase64() {
|
|
4666
|
-
return new
|
|
4680
|
+
return new _(y().getBlobContentAsBase64(this.handle));
|
|
4667
4681
|
}
|
|
4668
4682
|
getFileContentAsString() {
|
|
4669
|
-
return new
|
|
4683
|
+
return new _(y().getBlobContentAsString(this.handle));
|
|
4670
4684
|
}
|
|
4671
4685
|
getFileContentAsJson() {
|
|
4672
|
-
return new
|
|
4686
|
+
return new _(
|
|
4673
4687
|
y().getBlobContentAsString(this.handle)
|
|
4674
4688
|
).mapDefined((e) => JSON.parse(e));
|
|
4675
4689
|
}
|
|
@@ -4689,7 +4703,7 @@
|
|
|
4689
4703
|
* @returns downloaded file handle
|
|
4690
4704
|
*/
|
|
4691
4705
|
getFileHandle() {
|
|
4692
|
-
return new
|
|
4706
|
+
return new _(y().getDownloadedBlobContentHandle(this.handle));
|
|
4693
4707
|
}
|
|
4694
4708
|
/**
|
|
4695
4709
|
* @deprecated use getFileHandle
|
|
@@ -4701,7 +4715,7 @@
|
|
|
4701
4715
|
* @returns downloaded file handle
|
|
4702
4716
|
*/
|
|
4703
4717
|
getRemoteFileHandle() {
|
|
4704
|
-
return new
|
|
4718
|
+
return new _(y().getOnDemandBlobContentHandle(this.handle));
|
|
4705
4719
|
}
|
|
4706
4720
|
/**
|
|
4707
4721
|
* @deprecated use getRemoteFileHandle
|
|
@@ -4713,22 +4727,22 @@
|
|
|
4713
4727
|
* @returns the url to the extracted folder
|
|
4714
4728
|
*/
|
|
4715
4729
|
extractArchiveAndGetURL(e) {
|
|
4716
|
-
return new
|
|
4730
|
+
return new _(y().extractArchiveAndGetURL(this.handle, e));
|
|
4717
4731
|
}
|
|
4718
4732
|
getImportProgress() {
|
|
4719
|
-
return new
|
|
4733
|
+
return new _(y().getImportProgress(this.handle));
|
|
4720
4734
|
}
|
|
4721
4735
|
getLastLogs(e) {
|
|
4722
|
-
return new
|
|
4736
|
+
return new _(y().getLastLogs(this.handle, e));
|
|
4723
4737
|
}
|
|
4724
4738
|
getProgressLog(e) {
|
|
4725
|
-
return new
|
|
4739
|
+
return new _(y().getProgressLog(this.handle, e));
|
|
4726
4740
|
}
|
|
4727
4741
|
getProgressLogWithInfo(e) {
|
|
4728
|
-
return new
|
|
4742
|
+
return new _(y().getProgressLogWithInfo(this.handle, e));
|
|
4729
4743
|
}
|
|
4730
4744
|
getLogHandle() {
|
|
4731
|
-
return new
|
|
4745
|
+
return new _(y().getLogHandle(this.handle));
|
|
4732
4746
|
}
|
|
4733
4747
|
allFieldsResolved(e = "Input") {
|
|
4734
4748
|
switch (e) {
|
|
@@ -4754,89 +4768,90 @@
|
|
|
4754
4768
|
let l2 = (r === "Input" ? this.listInputFields() : r === "Output" ? this.listOutputFields() : this.listDynamicFields()).map(
|
|
4755
4769
|
(u2) => [u2, this.resolve({ field: u2, assertFieldType: r })]
|
|
4756
4770
|
);
|
|
4757
|
-
return s2 && (l2 = l2.filter((u2) => u2[1] !== void 0)), l2.map(([u2,
|
|
4771
|
+
return s2 && (l2 = l2.filter((u2) => u2[1] !== void 0)), l2.map(([u2, d]) => o(u2, d));
|
|
4758
4772
|
}
|
|
4759
4773
|
}
|
|
4760
|
-
const Fe = "staging",
|
|
4761
|
-
const
|
|
4762
|
-
type: z$
|
|
4763
|
-
importance: z$
|
|
4764
|
-
id: z$
|
|
4765
|
-
label: z$
|
|
4766
|
-
}),
|
|
4774
|
+
const Fe = "staging", Oe = "main";
|
|
4775
|
+
const dt = "pl7.app/label", ft = "pl7.app/trace", ht = z$2.object({
|
|
4776
|
+
type: z$2.string(),
|
|
4777
|
+
importance: z$2.number().optional(),
|
|
4778
|
+
id: z$2.string().optional(),
|
|
4779
|
+
label: z$2.string()
|
|
4780
|
+
}), gt = z$2.array(ht), mt = 1e-3, yt = "__LABEL__", xe = "__LABEL__@1";
|
|
4767
4781
|
function Re(t, e, n2 = {}) {
|
|
4768
|
-
const r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), s2 = t.map((
|
|
4769
|
-
var
|
|
4770
|
-
const
|
|
4771
|
-
let
|
|
4772
|
-
"spec" in
|
|
4773
|
-
const
|
|
4774
|
-
...
|
|
4782
|
+
const r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), s2 = t.map((h2) => {
|
|
4783
|
+
var O, U;
|
|
4784
|
+
const c2 = e(h2);
|
|
4785
|
+
let m2, b, A2;
|
|
4786
|
+
"spec" in c2 && typeof c2.spec == "object" ? (m2 = c2.spec, b = c2.prefixTrace, A2 = c2.suffixTrace) : m2 = c2;
|
|
4787
|
+
const p2 = (O = m2.annotations) == null ? void 0 : O[dt], g = (U = m2.annotations) == null ? void 0 : U[ft], w2 = (g ? gt.safeParse(JSON.parse(g)).data : void 0) ?? [], f2 = [
|
|
4788
|
+
...b ?? [],
|
|
4775
4789
|
...w2,
|
|
4776
|
-
...
|
|
4790
|
+
...A2 ?? []
|
|
4777
4791
|
];
|
|
4778
|
-
if (
|
|
4779
|
-
const
|
|
4780
|
-
n2.addLabelAsSuffix ?
|
|
4781
|
-
}
|
|
4782
|
-
const
|
|
4783
|
-
for (let
|
|
4784
|
-
const { type:
|
|
4785
|
-
|
|
4786
|
-
const
|
|
4787
|
-
i.set(
|
|
4788
|
-
|
|
4792
|
+
if (p2 !== void 0) {
|
|
4793
|
+
const F2 = { label: p2, type: yt, importance: -2 };
|
|
4794
|
+
n2.addLabelAsSuffix ? f2.push(F2) : f2.splice(0, 0, F2);
|
|
4795
|
+
}
|
|
4796
|
+
const C2 = [], P = /* @__PURE__ */ new Map();
|
|
4797
|
+
for (let F2 = f2.length - 1; F2 >= 0; --F2) {
|
|
4798
|
+
const { type: D2 } = f2[F2], Y2 = f2[F2].importance ?? 0, V = (P.get(D2) ?? 0) + 1;
|
|
4799
|
+
P.set(D2, V);
|
|
4800
|
+
const R = `${D2}@${V}`;
|
|
4801
|
+
i.set(R, (i.get(R) ?? 0) + 1), r.set(
|
|
4802
|
+
R,
|
|
4789
4803
|
Math.max(
|
|
4790
|
-
r.get(
|
|
4791
|
-
|
|
4804
|
+
r.get(R) ?? Number.NEGATIVE_INFINITY,
|
|
4805
|
+
Y2 - (f2.length - F2) * mt
|
|
4792
4806
|
)
|
|
4793
|
-
),
|
|
4807
|
+
), C2.push({ ...f2[F2], fullType: R, occurrenceIndex: V });
|
|
4794
4808
|
}
|
|
4795
|
-
return
|
|
4796
|
-
value:
|
|
4797
|
-
spec:
|
|
4798
|
-
label:
|
|
4799
|
-
fullTrace:
|
|
4809
|
+
return C2.reverse(), {
|
|
4810
|
+
value: h2,
|
|
4811
|
+
spec: m2,
|
|
4812
|
+
label: p2,
|
|
4813
|
+
fullTrace: C2
|
|
4800
4814
|
};
|
|
4801
4815
|
}), o = [], a = [], l2 = [...r];
|
|
4802
|
-
l2.sort(([,
|
|
4803
|
-
for (const [
|
|
4804
|
-
|
|
4805
|
-
const u2 = (
|
|
4806
|
-
const
|
|
4807
|
-
for (let
|
|
4808
|
-
const
|
|
4809
|
-
if (
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4816
|
+
l2.sort(([, h2], [, c2]) => c2 - h2);
|
|
4817
|
+
for (const [h2] of l2)
|
|
4818
|
+
h2.endsWith("@1") || i.get(h2) === t.length ? o.push(h2) : a.push(h2);
|
|
4819
|
+
const u2 = (h2, c2 = false) => {
|
|
4820
|
+
const m2 = [];
|
|
4821
|
+
for (let b = 0; b < s2.length; b++) {
|
|
4822
|
+
const A2 = s2[b], p2 = A2.fullTrace.filter((f2) => h2.has(f2.fullType));
|
|
4823
|
+
if (p2.length === 0)
|
|
4824
|
+
if (c2)
|
|
4825
|
+
m2.push({
|
|
4826
|
+
label: "Unlabeled",
|
|
4827
|
+
value: A2.value
|
|
4828
|
+
});
|
|
4829
|
+
else return;
|
|
4830
|
+
const g = p2.map((f2) => f2.label), w2 = n2.separator ?? " / ";
|
|
4831
|
+
m2.push({
|
|
4832
|
+
label: g.join(w2),
|
|
4833
|
+
value: A2.value
|
|
4815
4834
|
});
|
|
4816
4835
|
}
|
|
4817
|
-
return
|
|
4836
|
+
return m2;
|
|
4818
4837
|
};
|
|
4819
4838
|
if (o.length === 0) {
|
|
4820
|
-
if (a.length !== 0) throw new Error("
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
}
|
|
4835
|
-
const d = u2(/* @__PURE__ */ new Set([...o, ...a]));
|
|
4836
|
-
if (d === void 0) throw new Error("Assertion error.");
|
|
4837
|
-
return d;
|
|
4839
|
+
if (a.length !== 0) throw new Error("Non-empty secondary types list while main types list is empty.");
|
|
4840
|
+
return u2(new Set(xe), true);
|
|
4841
|
+
}
|
|
4842
|
+
let d = 0, v = -1;
|
|
4843
|
+
for (; d < o.length; ) {
|
|
4844
|
+
const h2 = /* @__PURE__ */ new Set();
|
|
4845
|
+
n2.includeNativeLabel && h2.add(xe);
|
|
4846
|
+
for (let m2 = 0; m2 < d; ++m2) h2.add(o[m2]);
|
|
4847
|
+
v >= 0 && h2.add(o[v]);
|
|
4848
|
+
const c2 = u2(h2);
|
|
4849
|
+
if (c2 !== void 0 && new Set(c2.map((m2) => m2.label)).size === t.length) return c2;
|
|
4850
|
+
v++, v >= o.length && (d++, v = d);
|
|
4851
|
+
}
|
|
4852
|
+
return u2(/* @__PURE__ */ new Set([...o, ...a]), true);
|
|
4838
4853
|
}
|
|
4839
|
-
const
|
|
4854
|
+
const z = "PColumnData/", re = z + "ResourceMap", ie = z + "Partitioned/ResourceMap", W = z + "JsonPartitioned", N = z + "BinaryPartitioned", ke = z + "Partitioned/", se = ke + "JsonPartitioned", G = ke + "BinaryPartitioned";
|
|
4840
4855
|
const fe = (t) => {
|
|
4841
4856
|
if (t.endsWith(".index"))
|
|
4842
4857
|
return { baseKey: t.substring(0, t.length - 6), type: "index" };
|
|
@@ -4844,44 +4859,44 @@
|
|
|
4844
4859
|
return { baseKey: t.substring(0, t.length - 7), type: "values" };
|
|
4845
4860
|
throw new Error(`key must ends on .index/.values for binary p-column, got: ${t}`);
|
|
4846
4861
|
};
|
|
4847
|
-
function
|
|
4862
|
+
function vt(t) {
|
|
4848
4863
|
if (!t) return;
|
|
4849
4864
|
const e = t.resourceType.name, n2 = t.getDataAsJson(), r = [];
|
|
4850
4865
|
let i = 0;
|
|
4851
4866
|
switch (e) {
|
|
4852
|
-
case
|
|
4867
|
+
case re:
|
|
4853
4868
|
i = n2.keyLength;
|
|
4854
4869
|
break;
|
|
4855
|
-
case
|
|
4870
|
+
case ie:
|
|
4856
4871
|
i = n2.partitionKeyLength + n2.keyLength;
|
|
4857
4872
|
break;
|
|
4858
|
-
case
|
|
4859
|
-
case
|
|
4873
|
+
case W:
|
|
4874
|
+
case N:
|
|
4860
4875
|
i = n2.partitionKeyLength;
|
|
4861
4876
|
break;
|
|
4862
|
-
case
|
|
4863
|
-
case
|
|
4877
|
+
case G:
|
|
4878
|
+
case se:
|
|
4864
4879
|
i = n2.superPartitionKeyLength + n2.partitionKeyLength;
|
|
4865
4880
|
break;
|
|
4866
4881
|
}
|
|
4867
4882
|
switch (e) {
|
|
4868
|
-
case
|
|
4869
|
-
case
|
|
4870
|
-
case
|
|
4883
|
+
case re:
|
|
4884
|
+
case W:
|
|
4885
|
+
case N:
|
|
4871
4886
|
for (let s2 of t.listInputFields()) {
|
|
4872
|
-
e ===
|
|
4887
|
+
e === N && (s2 = fe(s2).baseKey);
|
|
4873
4888
|
const o = [...JSON.parse(s2)];
|
|
4874
4889
|
r.push(o);
|
|
4875
4890
|
}
|
|
4876
4891
|
break;
|
|
4877
|
-
case re:
|
|
4878
|
-
case W:
|
|
4879
4892
|
case ie:
|
|
4893
|
+
case G:
|
|
4894
|
+
case se:
|
|
4880
4895
|
for (const s2 of t.listInputFields()) {
|
|
4881
4896
|
const o = [...JSON.parse(s2)], a = t.resolve({ field: s2, assertFieldType: "Input" });
|
|
4882
4897
|
if (a !== void 0)
|
|
4883
4898
|
for (let l2 of a.listInputFields()) {
|
|
4884
|
-
e ===
|
|
4899
|
+
e === G && (l2 = fe(l2).baseKey);
|
|
4885
4900
|
const u2 = [...o, ...JSON.parse(l2)];
|
|
4886
4901
|
r.push(u2);
|
|
4887
4902
|
}
|
|
@@ -4890,7 +4905,7 @@
|
|
|
4890
4905
|
}
|
|
4891
4906
|
return { data: r, keyLength: i };
|
|
4892
4907
|
}
|
|
4893
|
-
function
|
|
4908
|
+
function bt(t) {
|
|
4894
4909
|
if (t.type !== "JsonPartitioned" && t.type !== "BinaryPartitioned")
|
|
4895
4910
|
throw new Error(`Splitting requires Partitioned DataInfoEntries, got ${t.type}`);
|
|
4896
4911
|
const { parts: e, partitionKeyLength: n2 } = t, r = [];
|
|
@@ -4909,11 +4924,11 @@
|
|
|
4909
4924
|
}
|
|
4910
4925
|
return r.map((i) => Array.from(i.values()));
|
|
4911
4926
|
}
|
|
4912
|
-
function
|
|
4927
|
+
function wt(t) {
|
|
4913
4928
|
if (t === void 0) return;
|
|
4914
|
-
if (
|
|
4915
|
-
return
|
|
4916
|
-
const e =
|
|
4929
|
+
if (F(t))
|
|
4930
|
+
return bt(t);
|
|
4931
|
+
const e = vt(t);
|
|
4917
4932
|
if (!e) return;
|
|
4918
4933
|
const { data: n2, keyLength: r } = e, i = [];
|
|
4919
4934
|
for (let s2 = 0; s2 < r; ++s2)
|
|
@@ -4929,13 +4944,13 @@
|
|
|
4929
4944
|
function he(t, e = []) {
|
|
4930
4945
|
if (t === void 0 || !t.getIsReadyOrError()) return;
|
|
4931
4946
|
const n2 = t.resourceType.name, r = t.getDataAsJson();
|
|
4932
|
-
if (e.length > 0 && (n2 ===
|
|
4947
|
+
if (e.length > 0 && (n2 === se || n2 === G))
|
|
4933
4948
|
throw new Error(`Unexpected nested super-partitioned resource: ${n2}`);
|
|
4934
4949
|
switch (n2) {
|
|
4935
|
-
case ne:
|
|
4936
4950
|
case re:
|
|
4951
|
+
case ie:
|
|
4937
4952
|
throw new Error(`Only data columns are supported, got: ${n2}`);
|
|
4938
|
-
case
|
|
4953
|
+
case W: {
|
|
4939
4954
|
if (typeof (r == null ? void 0 : r.partitionKeyLength) != "number")
|
|
4940
4955
|
throw new Error(`Missing partitionKeyLength in metadata for ${n2}`);
|
|
4941
4956
|
const i = [];
|
|
@@ -4951,7 +4966,7 @@
|
|
|
4951
4966
|
parts: i
|
|
4952
4967
|
};
|
|
4953
4968
|
}
|
|
4954
|
-
case
|
|
4969
|
+
case N: {
|
|
4955
4970
|
if (typeof (r == null ? void 0 : r.partitionKeyLength) != "number")
|
|
4956
4971
|
throw new Error(`Missing partitionKeyLength in metadata for ${n2}`);
|
|
4957
4972
|
const i = [], s2 = /* @__PURE__ */ new Map();
|
|
@@ -4978,15 +4993,15 @@
|
|
|
4978
4993
|
parts: i
|
|
4979
4994
|
};
|
|
4980
4995
|
}
|
|
4981
|
-
case
|
|
4996
|
+
case se: {
|
|
4982
4997
|
if (typeof (r == null ? void 0 : r.superPartitionKeyLength) != "number" || typeof (r == null ? void 0 : r.partitionKeyLength) != "number")
|
|
4983
4998
|
throw new Error(`Missing superPartitionKeyLength or partitionKeyLength in metadata for ${n2}`);
|
|
4984
4999
|
const i = r.superPartitionKeyLength + r.partitionKeyLength, s2 = [];
|
|
4985
5000
|
for (const o of t.listInputFields()) {
|
|
4986
5001
|
const a = t.resolve({ field: o, assertFieldType: "Input" });
|
|
4987
5002
|
if (a === void 0) return;
|
|
4988
|
-
if (a.resourceType.name !==
|
|
4989
|
-
throw new Error(`Expected ${
|
|
5003
|
+
if (a.resourceType.name !== W)
|
|
5004
|
+
throw new Error(`Expected ${W} inside ${n2}, but got ${a.resourceType.name}`);
|
|
4990
5005
|
const l2 = he(a, JSON.parse(o));
|
|
4991
5006
|
if (l2 === void 0) return;
|
|
4992
5007
|
if (l2.type !== "JsonPartitioned")
|
|
@@ -4999,15 +5014,15 @@
|
|
|
4999
5014
|
parts: s2
|
|
5000
5015
|
};
|
|
5001
5016
|
}
|
|
5002
|
-
case
|
|
5017
|
+
case G: {
|
|
5003
5018
|
if (typeof (r == null ? void 0 : r.superPartitionKeyLength) != "number" || typeof (r == null ? void 0 : r.partitionKeyLength) != "number")
|
|
5004
5019
|
throw new Error(`Missing superPartitionKeyLength or partitionKeyLength in metadata for ${n2}`);
|
|
5005
5020
|
const i = r.superPartitionKeyLength + r.partitionKeyLength, s2 = [];
|
|
5006
5021
|
for (const o of t.listInputFields()) {
|
|
5007
5022
|
const a = t.resolve({ field: o, assertFieldType: "Input" });
|
|
5008
5023
|
if (a === void 0) return;
|
|
5009
|
-
if (a.resourceType.name !==
|
|
5010
|
-
throw new Error(`Expected ${
|
|
5024
|
+
if (a.resourceType.name !== N)
|
|
5025
|
+
throw new Error(`Expected ${N} inside ${n2}, but got ${a.resourceType.name}`);
|
|
5011
5026
|
const l2 = he(a, JSON.parse(o));
|
|
5012
5027
|
if (l2 === void 0) return;
|
|
5013
5028
|
if (l2.type !== "BinaryPartitioned")
|
|
@@ -5024,15 +5039,15 @@
|
|
|
5024
5039
|
throw new Error(`Unknown resource type: ${n2}`);
|
|
5025
5040
|
}
|
|
5026
5041
|
}
|
|
5027
|
-
function
|
|
5042
|
+
function At(t) {
|
|
5028
5043
|
if (t !== void 0) {
|
|
5029
|
-
if (
|
|
5030
|
-
if (
|
|
5031
|
-
if (t instanceof
|
|
5044
|
+
if (F(t)) return t;
|
|
5045
|
+
if (pn(t)) return hn(t);
|
|
5046
|
+
if (t instanceof L) return he(t);
|
|
5032
5047
|
throw new Error(`Unexpected input type: ${typeof t}`);
|
|
5033
5048
|
}
|
|
5034
5049
|
}
|
|
5035
|
-
function
|
|
5050
|
+
function xt(t, e) {
|
|
5036
5051
|
const n2 = [...e].sort((s2, o) => o[0] - s2[0]);
|
|
5037
5052
|
if (t.type === "JsonPartitioned" || t.type === "BinaryPartitioned") {
|
|
5038
5053
|
const { partitionKeyLength: s2 } = t;
|
|
@@ -5092,7 +5107,7 @@
|
|
|
5092
5107
|
}
|
|
5093
5108
|
}
|
|
5094
5109
|
}
|
|
5095
|
-
class
|
|
5110
|
+
class Pt {
|
|
5096
5111
|
constructor(e) {
|
|
5097
5112
|
this.columns = e;
|
|
5098
5113
|
}
|
|
@@ -5101,7 +5116,7 @@
|
|
|
5101
5116
|
return this.columns.filter((r) => n2(r.spec));
|
|
5102
5117
|
}
|
|
5103
5118
|
}
|
|
5104
|
-
function
|
|
5119
|
+
function Ct(t) {
|
|
5105
5120
|
if (t)
|
|
5106
5121
|
return t.map((e) => ({
|
|
5107
5122
|
type: `split:${Jn(e.axisId)}`,
|
|
@@ -5110,21 +5125,21 @@
|
|
|
5110
5125
|
// High importance for split filters in labels
|
|
5111
5126
|
}));
|
|
5112
5127
|
}
|
|
5113
|
-
function
|
|
5128
|
+
function St(t) {
|
|
5114
5129
|
if (t)
|
|
5115
5130
|
return t.map((e) => [e.axisIdx, e.value]);
|
|
5116
5131
|
}
|
|
5117
|
-
function
|
|
5132
|
+
function _t(t, e) {
|
|
5118
5133
|
if (!e || e.length === 0) return t;
|
|
5119
5134
|
const n2 = [...e].sort((r, i) => r[0] - i[0]);
|
|
5120
5135
|
return Le({ id: t, axisFilters: n2 });
|
|
5121
5136
|
}
|
|
5122
|
-
function
|
|
5137
|
+
function It(t) {
|
|
5123
5138
|
if (!t || typeof t != "object") return false;
|
|
5124
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);
|
|
5125
5140
|
return !!e.domainAnchor || n2 || r;
|
|
5126
5141
|
}
|
|
5127
|
-
function
|
|
5142
|
+
function Lt(t) {
|
|
5128
5143
|
if (typeof t != "object" || !("axes" in t) || t.axes === void 0)
|
|
5129
5144
|
return [];
|
|
5130
5145
|
const e = t.axes.map((n2, r) => typeof n2 == "object" && "split" in n2 && n2.split === true ? r : -1).filter((n2) => n2 !== -1);
|
|
@@ -5135,7 +5150,7 @@
|
|
|
5135
5150
|
class ge {
|
|
5136
5151
|
constructor() {
|
|
5137
5152
|
T(this, "defaultProviderStore", []);
|
|
5138
|
-
T(this, "providers", [new
|
|
5153
|
+
T(this, "providers", [new Pt(this.defaultProviderStore)]);
|
|
5139
5154
|
T(this, "axisLabelProviders", []);
|
|
5140
5155
|
}
|
|
5141
5156
|
addColumnProvider(e) {
|
|
@@ -5161,114 +5176,116 @@
|
|
|
5161
5176
|
const { anchorCtx: r, labelOps: i, dontWaitAllData: s2 = false, overrideLabelAnnotation: o = false } = n2 ?? {}, a = {
|
|
5162
5177
|
...o && (i == null ? void 0 : i.includeNativeLabel) !== false ? { includeNativeLabel: true } : {},
|
|
5163
5178
|
...i ?? {}
|
|
5164
|
-
}, l2 = typeof e == "function" ? [e] : Array.isArray(e) ? e : [e], u2 = [];
|
|
5165
|
-
for (const
|
|
5166
|
-
const
|
|
5167
|
-
let
|
|
5168
|
-
if (
|
|
5179
|
+
}, l2 = typeof e == "function" ? [e] : Array.isArray(e) ? e : [e], u2 = [], d = /* @__PURE__ */ new Set();
|
|
5180
|
+
for (const c2 of l2) {
|
|
5181
|
+
const m2 = It(c2);
|
|
5182
|
+
let b;
|
|
5183
|
+
if (m2) {
|
|
5169
5184
|
if (!r)
|
|
5170
5185
|
throw new Error("Anchored selectors require an AnchoredIdDeriver to be provided in options.");
|
|
5171
|
-
|
|
5186
|
+
b = Dn(r.anchors, c2, n2);
|
|
5172
5187
|
} else
|
|
5173
|
-
|
|
5174
|
-
const
|
|
5175
|
-
for (const
|
|
5176
|
-
const
|
|
5177
|
-
for (const
|
|
5178
|
-
if (
|
|
5179
|
-
|
|
5188
|
+
b = c2;
|
|
5189
|
+
const A2 = /* @__PURE__ */ new Set(), p2 = [];
|
|
5190
|
+
for (const f2 of this.providers) {
|
|
5191
|
+
const C2 = f2.selectColumns(b);
|
|
5192
|
+
for (const P of C2) {
|
|
5193
|
+
if (A2.has(P.id))
|
|
5194
|
+
throw new Error(`Duplicate column id ${P.id} in provider ${f2.constructor.name}`);
|
|
5195
|
+
const O = Rn(P.spec);
|
|
5196
|
+
d.has(O) || (A2.add(P.id), d.add(O), p2.push(P));
|
|
5180
5197
|
}
|
|
5181
5198
|
}
|
|
5182
|
-
if (
|
|
5183
|
-
const
|
|
5184
|
-
for (const
|
|
5185
|
-
if (!f(
|
|
5186
|
-
const
|
|
5187
|
-
if (
|
|
5188
|
-
const
|
|
5189
|
-
if (!
|
|
5199
|
+
if (p2.length === 0) continue;
|
|
5200
|
+
const g = Lt(c2), w2 = g.length > 0;
|
|
5201
|
+
for (const f$1 of p2) {
|
|
5202
|
+
if (!f(f$1.spec)) continue;
|
|
5203
|
+
const C2 = f$1.spec;
|
|
5204
|
+
if (w2) {
|
|
5205
|
+
const P = At(f$1.data);
|
|
5206
|
+
if (!P) {
|
|
5190
5207
|
if (s2) continue;
|
|
5191
5208
|
return;
|
|
5192
5209
|
}
|
|
5193
|
-
if (!yn(
|
|
5194
|
-
throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${
|
|
5195
|
-
const
|
|
5196
|
-
if (
|
|
5197
|
-
throw new Error(`Not enough partition keys (${
|
|
5198
|
-
const
|
|
5199
|
-
if (
|
|
5200
|
-
if (
|
|
5210
|
+
if (!yn(P))
|
|
5211
|
+
throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${P.type} for column ${f$1.id}`);
|
|
5212
|
+
const O = wt(P), U = g[g.length - 1];
|
|
5213
|
+
if (U >= P.partitionKeyLength)
|
|
5214
|
+
throw new Error(`Not enough partition keys (${P.partitionKeyLength}) for requested split axes (max index ${U}) in column ${C2.name}`);
|
|
5215
|
+
const F2 = g.map((S) => this.findLabels(p$1(C2.axesSpec[S]))), D2 = [], Y2 = (S, B) => {
|
|
5216
|
+
if (B >= g.length) {
|
|
5217
|
+
if (D2.push([...S]), D2.length > 1e4)
|
|
5201
5218
|
throw new Error("Too many key combinations, aborting.");
|
|
5202
5219
|
return;
|
|
5203
5220
|
}
|
|
5204
|
-
const
|
|
5205
|
-
if (
|
|
5206
|
-
throw new Error(`Axis index ${
|
|
5207
|
-
const
|
|
5208
|
-
if (!
|
|
5209
|
-
|
|
5221
|
+
const k2 = g[B];
|
|
5222
|
+
if (k2 >= O.length)
|
|
5223
|
+
throw new Error(`Axis index ${k2} out of bounds for unique keys array (length ${O.length}) during split key generation for column ${f$1.id}`);
|
|
5224
|
+
const K = O[k2];
|
|
5225
|
+
if (!K || K.length === 0) {
|
|
5226
|
+
D2.length = 0;
|
|
5210
5227
|
return;
|
|
5211
5228
|
}
|
|
5212
|
-
for (const
|
|
5213
|
-
|
|
5229
|
+
for (const X2 of K)
|
|
5230
|
+
S.push(X2), Y2(S, B + 1), S.pop();
|
|
5214
5231
|
};
|
|
5215
|
-
if (
|
|
5232
|
+
if (Y2([], 0), D2.length === 0)
|
|
5216
5233
|
continue;
|
|
5217
|
-
const
|
|
5218
|
-
for (let
|
|
5219
|
-
|
|
5220
|
-
const
|
|
5221
|
-
for (const
|
|
5222
|
-
const
|
|
5223
|
-
const
|
|
5224
|
-
return { axisIdx:
|
|
5234
|
+
const V = [...C2.axesSpec], R = g.map((S) => S);
|
|
5235
|
+
for (let S = g.length - 1; S >= 0; S--)
|
|
5236
|
+
V.splice(g[S], 1);
|
|
5237
|
+
const Ue = { ...C2, axesSpec: V };
|
|
5238
|
+
for (const S of D2) {
|
|
5239
|
+
const B = S.map((k2, K) => {
|
|
5240
|
+
const X2 = R[K], Be = p$1(C2.axesSpec[X2]), oe = F2[K], Me = (oe == null ? void 0 : oe[k2]) ?? String(k2);
|
|
5241
|
+
return { axisIdx: X2, axisId: Be, value: k2, label: Me };
|
|
5225
5242
|
});
|
|
5226
5243
|
u2.push({
|
|
5227
5244
|
type: "split",
|
|
5228
|
-
originalColumn:
|
|
5229
|
-
spec:
|
|
5230
|
-
adjustedSpec:
|
|
5231
|
-
dataEntries:
|
|
5232
|
-
axisFilters:
|
|
5245
|
+
originalColumn: f$1,
|
|
5246
|
+
spec: C2,
|
|
5247
|
+
adjustedSpec: Ue,
|
|
5248
|
+
dataEntries: P,
|
|
5249
|
+
axisFilters: B
|
|
5233
5250
|
});
|
|
5234
5251
|
}
|
|
5235
5252
|
} else
|
|
5236
5253
|
u2.push({
|
|
5237
5254
|
type: "direct",
|
|
5238
|
-
originalColumn:
|
|
5239
|
-
spec:
|
|
5240
|
-
adjustedSpec:
|
|
5255
|
+
originalColumn: f$1,
|
|
5256
|
+
spec: C2,
|
|
5257
|
+
adjustedSpec: C2
|
|
5241
5258
|
});
|
|
5242
5259
|
}
|
|
5243
5260
|
}
|
|
5244
5261
|
if (u2.length === 0) return [];
|
|
5245
|
-
const
|
|
5262
|
+
const v = Re(
|
|
5246
5263
|
u2,
|
|
5247
|
-
(
|
|
5248
|
-
spec:
|
|
5249
|
-
suffixTrace:
|
|
5264
|
+
(c2) => ({
|
|
5265
|
+
spec: c2.spec,
|
|
5266
|
+
suffixTrace: c2.type === "split" ? Ct(c2.axisFilters) : void 0
|
|
5250
5267
|
}),
|
|
5251
5268
|
a
|
|
5252
|
-
),
|
|
5253
|
-
for (const { value:
|
|
5254
|
-
const { originalColumn:
|
|
5255
|
-
let
|
|
5256
|
-
r ?
|
|
5257
|
-
let
|
|
5258
|
-
o && (
|
|
5259
|
-
...
|
|
5269
|
+
), h2 = [];
|
|
5270
|
+
for (const { value: c2, label: m2 } of v) {
|
|
5271
|
+
const { originalColumn: b, spec: A2 } = c2, p2 = c2.type === "split" ? c2.axisFilters : void 0, g = St(p2);
|
|
5272
|
+
let w2;
|
|
5273
|
+
r ? w2 = r.deriveS(A2, g) : w2 = _t(b.id, g);
|
|
5274
|
+
let f2 = { ...c2.adjustedSpec };
|
|
5275
|
+
o && (f2 = {
|
|
5276
|
+
...f2,
|
|
5260
5277
|
annotations: {
|
|
5261
|
-
...
|
|
5262
|
-
"pl7.app/label":
|
|
5278
|
+
...f2.annotations ?? {},
|
|
5279
|
+
"pl7.app/label": m2
|
|
5263
5280
|
}
|
|
5264
|
-
}),
|
|
5265
|
-
id:
|
|
5266
|
-
spec:
|
|
5267
|
-
data: () =>
|
|
5268
|
-
label:
|
|
5281
|
+
}), h2.push({
|
|
5282
|
+
id: w2,
|
|
5283
|
+
spec: f2,
|
|
5284
|
+
data: () => c2.type === "split" ? gn(xt(c2.dataEntries, g)) : c2.originalColumn.data,
|
|
5285
|
+
label: m2
|
|
5269
5286
|
});
|
|
5270
5287
|
}
|
|
5271
|
-
return
|
|
5288
|
+
return h2;
|
|
5272
5289
|
}
|
|
5273
5290
|
getColumns(e, n2) {
|
|
5274
5291
|
const r = this.getUniversalEntries(e, {
|
|
@@ -5301,9 +5318,9 @@
|
|
|
5301
5318
|
return true;
|
|
5302
5319
|
}
|
|
5303
5320
|
function Pe(t) {
|
|
5304
|
-
return Fn(t, (e) => e instanceof
|
|
5321
|
+
return Fn(t, (e) => e instanceof L ? e.handle : pn(e) ? ln(e, (n2) => n2.handle) : e);
|
|
5305
5322
|
}
|
|
5306
|
-
class
|
|
5323
|
+
class Tt {
|
|
5307
5324
|
constructor() {
|
|
5308
5325
|
T(this, "ctx", y());
|
|
5309
5326
|
}
|
|
@@ -5317,15 +5334,15 @@
|
|
|
5317
5334
|
const r = typeof e == "function" ? e : Kn(e), i = this.getSpecs().entries.filter((a) => r(a.obj));
|
|
5318
5335
|
let s2 = {}, o = false;
|
|
5319
5336
|
return typeof n2 < "u" && (typeof n2 == "function" ? s2 = n2 : typeof n2 == "object" && ("includeNativeLabel" in n2 || "separator" in n2 || "addLabelAsSuffix" in n2 ? s2 = n2 : (n2 = n2, s2 = n2.label ?? {}, o = n2.refsWithEnrichments ?? false))), typeof s2 == "object" ? Re(i, (a) => a.obj, s2 ?? {}).map(({ value: { ref: a }, label: l2 }) => ({
|
|
5320
|
-
ref:
|
|
5337
|
+
ref: Hn(a, o),
|
|
5321
5338
|
label: l2
|
|
5322
5339
|
})) : i.map(({ ref: a, obj: l2 }) => ({
|
|
5323
|
-
ref:
|
|
5340
|
+
ref: Hn(a, o),
|
|
5324
5341
|
label: s2(l2, a)
|
|
5325
5342
|
}));
|
|
5326
5343
|
}
|
|
5327
5344
|
resolveAnchorCtx(e) {
|
|
5328
|
-
if (e instanceof
|
|
5345
|
+
if (e instanceof $n) return e;
|
|
5329
5346
|
const n2 = {};
|
|
5330
5347
|
for (const [r, i] of Object.entries(e))
|
|
5331
5348
|
if (Mn(i)) {
|
|
@@ -5335,7 +5352,7 @@
|
|
|
5335
5352
|
n2[r] = s2;
|
|
5336
5353
|
} else
|
|
5337
5354
|
n2[r] = i;
|
|
5338
|
-
return new
|
|
5355
|
+
return new $n(n2);
|
|
5339
5356
|
}
|
|
5340
5357
|
/**
|
|
5341
5358
|
* Returns columns that match the provided anchors and selectors. It applies axis filters and label derivation.
|
|
@@ -5409,7 +5426,7 @@
|
|
|
5409
5426
|
ref: n2.ref,
|
|
5410
5427
|
obj: {
|
|
5411
5428
|
...n2.obj,
|
|
5412
|
-
data: new
|
|
5429
|
+
data: new L(n2.obj.data, [n2.ref.blockId, n2.ref.name])
|
|
5413
5430
|
}
|
|
5414
5431
|
}))
|
|
5415
5432
|
};
|
|
@@ -5428,9 +5445,9 @@
|
|
|
5428
5445
|
ref: n2.ref,
|
|
5429
5446
|
obj: {
|
|
5430
5447
|
...n2.obj,
|
|
5431
|
-
data:
|
|
5448
|
+
data: Wn(
|
|
5432
5449
|
n2.obj.data,
|
|
5433
|
-
(r) => new
|
|
5450
|
+
(r) => new L(r, [n2.ref.blockId, n2.ref.name])
|
|
5434
5451
|
)
|
|
5435
5452
|
}
|
|
5436
5453
|
}))
|
|
@@ -5459,7 +5476,7 @@
|
|
|
5459
5476
|
if (n2)
|
|
5460
5477
|
return Fn(
|
|
5461
5478
|
n2,
|
|
5462
|
-
(i) => new
|
|
5479
|
+
(i) => new L(i, [e.blockId, e.name])
|
|
5463
5480
|
);
|
|
5464
5481
|
}
|
|
5465
5482
|
/**
|
|
@@ -5520,7 +5537,7 @@
|
|
|
5520
5537
|
findLabels(e) {
|
|
5521
5538
|
const n2 = this.getData();
|
|
5522
5539
|
for (const r of n2.entries) {
|
|
5523
|
-
if (!Z
|
|
5540
|
+
if (!Z(r.obj)) continue;
|
|
5524
5541
|
const i = r.obj.spec;
|
|
5525
5542
|
if (i.name === "pl7.app/label" && i.axesSpec.length === 1 && i.axesSpec[0].name === e.name && i.axesSpec[0].type === e.type && le(e.domain, i.axesSpec[0].domain)) {
|
|
5526
5543
|
if (r.obj.data.resourceType.name !== "PColumnData/Json")
|
|
@@ -5572,13 +5589,13 @@
|
|
|
5572
5589
|
return r;
|
|
5573
5590
|
}
|
|
5574
5591
|
}
|
|
5575
|
-
class
|
|
5592
|
+
class Q {
|
|
5576
5593
|
constructor() {
|
|
5577
5594
|
T(this, "ctx");
|
|
5578
5595
|
T(this, "args");
|
|
5579
5596
|
T(this, "uiState");
|
|
5580
5597
|
T(this, "_activeArgsCache");
|
|
5581
|
-
T(this, "resultPool", new
|
|
5598
|
+
T(this, "resultPool", new Tt());
|
|
5582
5599
|
this.ctx = y(), this.args = JSON.parse(this.ctx.args), this.uiState = this.ctx.uiState !== void 0 ? JSON.parse(this.ctx.uiState) : {};
|
|
5583
5600
|
}
|
|
5584
5601
|
/**
|
|
@@ -5597,14 +5614,14 @@
|
|
|
5597
5614
|
getNamedAccessor(e) {
|
|
5598
5615
|
return pe(
|
|
5599
5616
|
this.ctx.getAccessorHandleByName(e),
|
|
5600
|
-
(n2) => new
|
|
5617
|
+
(n2) => new L(n2, [e])
|
|
5601
5618
|
);
|
|
5602
5619
|
}
|
|
5603
5620
|
get prerun() {
|
|
5604
5621
|
return this.getNamedAccessor(Fe);
|
|
5605
5622
|
}
|
|
5606
5623
|
get outputs() {
|
|
5607
|
-
return this.getNamedAccessor(
|
|
5624
|
+
return this.getNamedAccessor(Oe);
|
|
5608
5625
|
}
|
|
5609
5626
|
/**
|
|
5610
5627
|
* Find labels data for a given axis id. It will search for a label column and return its data as a map.
|
|
@@ -5616,7 +5633,7 @@
|
|
|
5616
5633
|
}
|
|
5617
5634
|
verifyInlineAndExplicitColumnsSupport(e) {
|
|
5618
5635
|
var i;
|
|
5619
|
-
const n2 = e.some((s2) => !(s2.data instanceof
|
|
5636
|
+
const n2 = e.some((s2) => !(s2.data instanceof L) || pn(s2.data)), r = ((i = this.ctx.featureFlags) == null ? void 0 : i.inlineColumnsSupport) === true;
|
|
5620
5637
|
if (n2 && !r) throw Error("Inline or explicit columns not supported");
|
|
5621
5638
|
}
|
|
5622
5639
|
// TODO remove all non-PColumn fields
|
|
@@ -5646,26 +5663,26 @@
|
|
|
5646
5663
|
return this.ctx.getCurrentUnstableMarker();
|
|
5647
5664
|
}
|
|
5648
5665
|
}
|
|
5649
|
-
const
|
|
5650
|
-
function
|
|
5666
|
+
const H = "1.30.24";
|
|
5667
|
+
function Et(t) {
|
|
5651
5668
|
return t.__renderLambda === true;
|
|
5652
5669
|
}
|
|
5653
5670
|
function ue(t) {
|
|
5654
5671
|
if (t !== void 0)
|
|
5655
|
-
return
|
|
5672
|
+
return Et(t) ? t.handle : t;
|
|
5656
5673
|
}
|
|
5657
|
-
class
|
|
5674
|
+
class I {
|
|
5658
5675
|
constructor(e, n2, r, i, s2, o, a, l2) {
|
|
5659
5676
|
this._renderingMode = e, this._initialArgs = n2, this._initialUiState = r, this._outputs = i, this._inputsValid = s2, this._sections = o, this._title = a, this._enrichmentTargets = l2;
|
|
5660
5677
|
}
|
|
5661
5678
|
static create(e = "Heavy") {
|
|
5662
|
-
return new
|
|
5679
|
+
return new I(
|
|
5663
5680
|
e,
|
|
5664
5681
|
void 0,
|
|
5665
5682
|
{},
|
|
5666
5683
|
{},
|
|
5667
|
-
|
|
5668
|
-
|
|
5684
|
+
ee(true),
|
|
5685
|
+
ee([]),
|
|
5669
5686
|
void 0,
|
|
5670
5687
|
void 0
|
|
5671
5688
|
);
|
|
@@ -5673,7 +5690,7 @@
|
|
|
5673
5690
|
output(e, n2, r = {}) {
|
|
5674
5691
|
if (typeof n2 == "function") {
|
|
5675
5692
|
const i = `output#${e}`;
|
|
5676
|
-
return
|
|
5693
|
+
return M(i, () => n2(new Q())), new I(
|
|
5677
5694
|
this._renderingMode,
|
|
5678
5695
|
this._initialArgs,
|
|
5679
5696
|
this._initialUiState,
|
|
@@ -5691,7 +5708,7 @@
|
|
|
5691
5708
|
this._enrichmentTargets
|
|
5692
5709
|
);
|
|
5693
5710
|
} else
|
|
5694
|
-
return new
|
|
5711
|
+
return new I(
|
|
5695
5712
|
this._renderingMode,
|
|
5696
5713
|
this._initialArgs,
|
|
5697
5714
|
this._initialUiState,
|
|
@@ -5710,7 +5727,7 @@
|
|
|
5710
5727
|
return this.output(e, n2, { retentive: true });
|
|
5711
5728
|
}
|
|
5712
5729
|
argsValid(e) {
|
|
5713
|
-
return typeof e == "function" ? (
|
|
5730
|
+
return typeof e == "function" ? (M("inputsValid", () => e(new Q())), new I(
|
|
5714
5731
|
this._renderingMode,
|
|
5715
5732
|
this._initialArgs,
|
|
5716
5733
|
this._initialUiState,
|
|
@@ -5722,7 +5739,7 @@
|
|
|
5722
5739
|
this._sections,
|
|
5723
5740
|
this._title,
|
|
5724
5741
|
this._enrichmentTargets
|
|
5725
|
-
)) : new
|
|
5742
|
+
)) : new I(
|
|
5726
5743
|
this._renderingMode,
|
|
5727
5744
|
this._initialArgs,
|
|
5728
5745
|
this._initialUiState,
|
|
@@ -5734,7 +5751,7 @@
|
|
|
5734
5751
|
);
|
|
5735
5752
|
}
|
|
5736
5753
|
sections(e) {
|
|
5737
|
-
return Array.isArray(e) ? this.sections(
|
|
5754
|
+
return Array.isArray(e) ? this.sections(ee(e)) : typeof e == "function" ? (M("sections", () => e(new Q())), new I(
|
|
5738
5755
|
this._renderingMode,
|
|
5739
5756
|
this._initialArgs,
|
|
5740
5757
|
this._initialUiState,
|
|
@@ -5743,7 +5760,7 @@
|
|
|
5743
5760
|
{ __renderLambda: true, handle: "sections" },
|
|
5744
5761
|
this._title,
|
|
5745
5762
|
this._enrichmentTargets
|
|
5746
|
-
)) : new
|
|
5763
|
+
)) : new I(
|
|
5747
5764
|
this._renderingMode,
|
|
5748
5765
|
this._initialArgs,
|
|
5749
5766
|
this._initialUiState,
|
|
@@ -5756,7 +5773,7 @@
|
|
|
5756
5773
|
}
|
|
5757
5774
|
/** Sets a rendering function to derive block title, shown for the block in the left blocks-overview panel. */
|
|
5758
5775
|
title(e) {
|
|
5759
|
-
return
|
|
5776
|
+
return M("title", () => e(new Q())), new I(
|
|
5760
5777
|
this._renderingMode,
|
|
5761
5778
|
this._initialArgs,
|
|
5762
5779
|
this._initialUiState,
|
|
@@ -5772,7 +5789,7 @@
|
|
|
5772
5789
|
* @deprecated use {@link withArgs}
|
|
5773
5790
|
* */
|
|
5774
5791
|
initialArgs(e) {
|
|
5775
|
-
return new
|
|
5792
|
+
return new I(
|
|
5776
5793
|
this._renderingMode,
|
|
5777
5794
|
e,
|
|
5778
5795
|
this._initialUiState,
|
|
@@ -5785,7 +5802,7 @@
|
|
|
5785
5802
|
}
|
|
5786
5803
|
/** Sets initial args for the block, this value must be specified. */
|
|
5787
5804
|
withArgs(e) {
|
|
5788
|
-
return new
|
|
5805
|
+
return new I(
|
|
5789
5806
|
this._renderingMode,
|
|
5790
5807
|
e,
|
|
5791
5808
|
this._initialUiState,
|
|
@@ -5798,7 +5815,7 @@
|
|
|
5798
5815
|
}
|
|
5799
5816
|
/** Defines type and sets initial value for block UiState. */
|
|
5800
5817
|
withUiState(e) {
|
|
5801
|
-
return new
|
|
5818
|
+
return new I(
|
|
5802
5819
|
this._renderingMode,
|
|
5803
5820
|
this._initialArgs,
|
|
5804
5821
|
e,
|
|
@@ -5814,7 +5831,7 @@
|
|
|
5814
5831
|
* Influences dependency graph construction.
|
|
5815
5832
|
*/
|
|
5816
5833
|
enriches(e) {
|
|
5817
|
-
return
|
|
5834
|
+
return M("enrichmentTargets", e), new I(
|
|
5818
5835
|
this._renderingMode,
|
|
5819
5836
|
this._initialArgs,
|
|
5820
5837
|
this._initialUiState,
|
|
@@ -5832,7 +5849,7 @@
|
|
|
5832
5849
|
if (this._initialArgs === void 0) throw new Error("Initial arguments not set.");
|
|
5833
5850
|
const e = {
|
|
5834
5851
|
v3: {
|
|
5835
|
-
sdkVersion:
|
|
5852
|
+
sdkVersion: H,
|
|
5836
5853
|
renderingMode: this._renderingMode,
|
|
5837
5854
|
initialArgs: this._initialArgs,
|
|
5838
5855
|
initialUiState: this._initialUiState,
|
|
@@ -5843,7 +5860,7 @@
|
|
|
5843
5860
|
enrichmentTargets: this._enrichmentTargets
|
|
5844
5861
|
},
|
|
5845
5862
|
// fields below are added to allow previous desktop versions read generated configs
|
|
5846
|
-
sdkVersion:
|
|
5863
|
+
sdkVersion: H,
|
|
5847
5864
|
renderingMode: this._renderingMode,
|
|
5848
5865
|
initialArgs: this._initialArgs,
|
|
5849
5866
|
inputsValid: ue(this._inputsValid),
|
|
@@ -5852,10 +5869,10 @@
|
|
|
5852
5869
|
Object.entries(this._outputs).map(([n2, r]) => [n2, ue(r)])
|
|
5853
5870
|
)
|
|
5854
5871
|
};
|
|
5855
|
-
return
|
|
5872
|
+
return at() ? Ee({ sdkVersion: H }) : { config: e };
|
|
5856
5873
|
}
|
|
5857
5874
|
}
|
|
5858
|
-
const platforma =
|
|
5875
|
+
const platforma = I.create("Heavy").withArgs({ titleArg: "The title" }).output("allSpecs", (ctx) => ctx.resultPool.getSpecs()).sections((ctx) => {
|
|
5859
5876
|
return [{ type: "link", href: "/", label: "Main" }];
|
|
5860
5877
|
}).title((ctx) => "Pool explorer").done();
|
|
5861
5878
|
exports2.platforma = platforma;
|