@platforma-sdk/model 1.40.5 → 1.40.6
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/dist/components/PlDataTable.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +250 -253
- package/dist/index.mjs.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +4 -4
- package/src/components/PlDataTable.ts +3 -2
package/dist/index.mjs
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { isPColumn as
|
|
1
|
+
var it = Object.defineProperty;
|
|
2
|
+
var ot = (t, e, n) => e in t ? it(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
|
+
var V = (t, e, n) => ot(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
+
import { isPColumn as je, mapPObjectData as Ae, isDataInfoEntries as qe, isDataInfo as pe, dataInfoToEntries as st, selectorsToPredicate as Y, resolveAnchors as xe, deriveNativeId as at, isPColumnSpec as oe, isPartitionedDataInfoEntries as lt, getAxisId as k, entriesToDataInfo as ut, canonicalizeAxisId as ct, withEnrichments as Fe, AnchoredIdDeriver as Ie, isPlRef as pt, mapValueInVOE as dt, ensurePColumn as ft, extractAllColumns as ht, mapPTableDef as mt, mapDataInfo as yt, extractConfigGeneric as gt, matchAxisId as U, getColumnIdAndSpec as _e, canonicalizeJson as D, parseJson as Le, visitDataInfo as bt, isPTableAbsent as vt, uniquePlId as Ct, PTableNA as Tt } from "@milaboratories/pl-model-common";
|
|
5
5
|
export * from "@milaboratories/pl-model-common";
|
|
6
|
-
import
|
|
6
|
+
import Be from "canonicalize";
|
|
7
7
|
import { z as B } from "zod";
|
|
8
8
|
export * from "@milaboratories/pl-error-like";
|
|
9
|
-
class
|
|
9
|
+
class St extends Error {
|
|
10
10
|
constructor(e, n) {
|
|
11
11
|
super(`${e.length}${n ? "+" : ""} errors, first error: ` + e[0].message), this.errors = e, this.moreErrors = n;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
function
|
|
15
|
-
if (!t.ok) throw new
|
|
14
|
+
function Pt(t) {
|
|
15
|
+
if (!t.ok) throw new St(t.errors, t.moreErrors);
|
|
16
16
|
return t.value;
|
|
17
17
|
}
|
|
18
18
|
function mn(t) {
|
|
19
19
|
return new Proxy(t, {
|
|
20
20
|
get(e, n) {
|
|
21
|
-
return
|
|
21
|
+
return Pt(e[n]);
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
24
|
}
|
|
@@ -38,7 +38,7 @@ const gn = Z("$args"), bn = Z("$it"), vn = Z("$prod"), Cn = Z("$staging"), Tn =
|
|
|
38
38
|
function se(t) {
|
|
39
39
|
return { type: "Immediate", value: t };
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Je(t) {
|
|
42
42
|
const e = {};
|
|
43
43
|
for (const [n, r] of Object.entries(t)) e[n] = A(r);
|
|
44
44
|
return {
|
|
@@ -124,7 +124,7 @@ function En() {
|
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function Vn(t, e, n = "$it") {
|
|
128
128
|
return {
|
|
129
129
|
type: "MapResourceFields",
|
|
130
130
|
source: t,
|
|
@@ -132,7 +132,7 @@ function kn(t, e, n = "$it") {
|
|
|
132
132
|
itVar: n
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function kn(t, e) {
|
|
136
136
|
return {
|
|
137
137
|
type: "GetBlobContent",
|
|
138
138
|
range: e,
|
|
@@ -207,40 +207,40 @@ function Bn(t) {
|
|
|
207
207
|
source: A(t)
|
|
208
208
|
};
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function At() {
|
|
211
211
|
return typeof globalThis.getPlatforma < "u" || typeof globalThis.platforma < "u";
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function $e(t) {
|
|
214
214
|
if (t && typeof globalThis.getPlatforma == "function")
|
|
215
215
|
return globalThis.getPlatforma(t);
|
|
216
216
|
if (typeof globalThis.platforma < "u") return globalThis.platforma;
|
|
217
217
|
throw new Error("Can't get platforma instance.");
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function wt() {
|
|
220
220
|
if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function b() {
|
|
223
223
|
if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
|
|
224
224
|
throw new Error("Not in config rendering context");
|
|
225
225
|
}
|
|
226
226
|
function G(t, e) {
|
|
227
|
-
const n =
|
|
227
|
+
const n = wt();
|
|
228
228
|
if (n === void 0) return !1;
|
|
229
229
|
if (t in n.callbackRegistry) throw new Error(`Callback with key ${t} already registered.`);
|
|
230
230
|
return n.callbackRegistry[t] = e, !0;
|
|
231
231
|
}
|
|
232
232
|
const fe = /* @__PURE__ */ new Map();
|
|
233
|
-
function
|
|
234
|
-
t in
|
|
233
|
+
function xt(t, e) {
|
|
234
|
+
t in b().callbackRegistry || (b().callbackRegistry[t] = (n) => {
|
|
235
235
|
for (const r of fe.get(t))
|
|
236
236
|
r(n);
|
|
237
237
|
}, fe.set(t, [])), fe.get(t).push(e);
|
|
238
238
|
}
|
|
239
239
|
class L {
|
|
240
240
|
constructor(e, n = (r) => r) {
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
this.handle = e, this.postProcess = n,
|
|
241
|
+
V(this, "isResolved", !1);
|
|
242
|
+
V(this, "resolvedValue");
|
|
243
|
+
this.handle = e, this.postProcess = n, xt(e, (r) => {
|
|
244
244
|
this.resolvedValue = n(r), this.isResolved = !0;
|
|
245
245
|
});
|
|
246
246
|
}
|
|
@@ -300,46 +300,46 @@ class O {
|
|
|
300
300
|
...n.map((i) => typeof i == "string" ? i : i.field)
|
|
301
301
|
];
|
|
302
302
|
return ge(
|
|
303
|
-
|
|
303
|
+
b().resolveWithCommon(this.handle, e, ...n),
|
|
304
304
|
(i) => new O(i, r)
|
|
305
305
|
);
|
|
306
306
|
}
|
|
307
307
|
get resourceType() {
|
|
308
|
-
return
|
|
308
|
+
return b().getResourceType(this.handle);
|
|
309
309
|
}
|
|
310
310
|
getInputsLocked() {
|
|
311
|
-
return
|
|
311
|
+
return b().getInputsLocked(this.handle);
|
|
312
312
|
}
|
|
313
313
|
getOutputsLocked() {
|
|
314
|
-
return
|
|
314
|
+
return b().getOutputsLocked(this.handle);
|
|
315
315
|
}
|
|
316
316
|
getIsReadyOrError() {
|
|
317
|
-
return
|
|
317
|
+
return b().getIsReadyOrError(this.handle);
|
|
318
318
|
}
|
|
319
319
|
getIsFinal() {
|
|
320
|
-
return
|
|
320
|
+
return b().getIsFinal(this.handle);
|
|
321
321
|
}
|
|
322
322
|
getError() {
|
|
323
323
|
const e = [...this.resolvePath, "error"];
|
|
324
324
|
return ge(
|
|
325
|
-
|
|
325
|
+
b().getError(this.handle),
|
|
326
326
|
(n) => new O(n, e)
|
|
327
327
|
);
|
|
328
328
|
}
|
|
329
329
|
listInputFields() {
|
|
330
|
-
return
|
|
330
|
+
return b().listInputFields(this.handle);
|
|
331
331
|
}
|
|
332
332
|
listOutputFields() {
|
|
333
|
-
return
|
|
333
|
+
return b().listOutputFields(this.handle);
|
|
334
334
|
}
|
|
335
335
|
listDynamicFields() {
|
|
336
|
-
return
|
|
336
|
+
return b().listDynamicFields(this.handle);
|
|
337
337
|
}
|
|
338
338
|
getKeyValueBase64(e) {
|
|
339
|
-
return
|
|
339
|
+
return b().getKeyValueBase64(this.handle, e);
|
|
340
340
|
}
|
|
341
341
|
getKeyValueAsString(e) {
|
|
342
|
-
return
|
|
342
|
+
return b().getKeyValueAsString(this.handle, e);
|
|
343
343
|
}
|
|
344
344
|
getKeyValueAsJson(e) {
|
|
345
345
|
const n = this.getKeyValueAsString(e);
|
|
@@ -347,10 +347,10 @@ class O {
|
|
|
347
347
|
return JSON.parse(n);
|
|
348
348
|
}
|
|
349
349
|
getDataBase64() {
|
|
350
|
-
return
|
|
350
|
+
return b().getDataBase64(this.handle);
|
|
351
351
|
}
|
|
352
352
|
getDataAsString() {
|
|
353
|
-
return
|
|
353
|
+
return b().getDataAsString(this.handle);
|
|
354
354
|
}
|
|
355
355
|
getDataAsJson() {
|
|
356
356
|
const e = this.getDataAsString();
|
|
@@ -363,7 +363,7 @@ class O {
|
|
|
363
363
|
getPColumns(e = !1, n = "") {
|
|
364
364
|
const r = this.parsePObjectCollection(e, n);
|
|
365
365
|
return r === void 0 ? void 0 : Object.entries(r).map(([, o]) => {
|
|
366
|
-
if (!
|
|
366
|
+
if (!je(o)) throw new Error(`not a PColumn (kind = ${o.spec.kind})`);
|
|
367
367
|
return o;
|
|
368
368
|
});
|
|
369
369
|
}
|
|
@@ -371,7 +371,7 @@ class O {
|
|
|
371
371
|
*
|
|
372
372
|
*/
|
|
373
373
|
parsePObjectCollection(e = !1, n = "") {
|
|
374
|
-
const r =
|
|
374
|
+
const r = b().parsePObjectCollection(
|
|
375
375
|
this.handle,
|
|
376
376
|
e,
|
|
377
377
|
n,
|
|
@@ -381,19 +381,19 @@ class O {
|
|
|
381
381
|
const i = {};
|
|
382
382
|
for (const [o, s] of Object.entries(r)) {
|
|
383
383
|
const a = [...this.resolvePath, o];
|
|
384
|
-
i[o] =
|
|
384
|
+
i[o] = Ae(s, (l) => new O(l, a));
|
|
385
385
|
}
|
|
386
386
|
return i;
|
|
387
387
|
}
|
|
388
388
|
getFileContentAsBase64(e) {
|
|
389
|
-
return new L(
|
|
389
|
+
return new L(b().getBlobContentAsBase64(this.handle, e));
|
|
390
390
|
}
|
|
391
391
|
getFileContentAsString(e) {
|
|
392
|
-
return new L(
|
|
392
|
+
return new L(b().getBlobContentAsString(this.handle, e));
|
|
393
393
|
}
|
|
394
394
|
getFileContentAsJson(e) {
|
|
395
395
|
return new L(
|
|
396
|
-
|
|
396
|
+
b().getBlobContentAsString(this.handle, e)
|
|
397
397
|
).mapDefined((n) => JSON.parse(n));
|
|
398
398
|
}
|
|
399
399
|
/**
|
|
@@ -412,7 +412,7 @@ class O {
|
|
|
412
412
|
* @returns downloaded file handle
|
|
413
413
|
*/
|
|
414
414
|
getFileHandle() {
|
|
415
|
-
return new L(
|
|
415
|
+
return new L(b().getDownloadedBlobContentHandle(this.handle));
|
|
416
416
|
}
|
|
417
417
|
/**
|
|
418
418
|
* @deprecated use getFileHandle
|
|
@@ -424,7 +424,7 @@ class O {
|
|
|
424
424
|
* @returns downloaded file handle
|
|
425
425
|
*/
|
|
426
426
|
getRemoteFileHandle() {
|
|
427
|
-
return new L(
|
|
427
|
+
return new L(b().getOnDemandBlobContentHandle(this.handle));
|
|
428
428
|
}
|
|
429
429
|
/**
|
|
430
430
|
* @deprecated use getRemoteFileHandle
|
|
@@ -436,22 +436,22 @@ class O {
|
|
|
436
436
|
* @returns the url to the extracted folder
|
|
437
437
|
*/
|
|
438
438
|
extractArchiveAndGetURL(e) {
|
|
439
|
-
return new L(
|
|
439
|
+
return new L(b().extractArchiveAndGetURL(this.handle, e));
|
|
440
440
|
}
|
|
441
441
|
getImportProgress() {
|
|
442
|
-
return new L(
|
|
442
|
+
return new L(b().getImportProgress(this.handle));
|
|
443
443
|
}
|
|
444
444
|
getLastLogs(e) {
|
|
445
|
-
return new L(
|
|
445
|
+
return new L(b().getLastLogs(this.handle, e));
|
|
446
446
|
}
|
|
447
447
|
getProgressLog(e) {
|
|
448
|
-
return new L(
|
|
448
|
+
return new L(b().getProgressLog(this.handle, e));
|
|
449
449
|
}
|
|
450
450
|
getProgressLogWithInfo(e) {
|
|
451
|
-
return new L(
|
|
451
|
+
return new L(b().getProgressLogWithInfo(this.handle, e));
|
|
452
452
|
}
|
|
453
453
|
getLogHandle() {
|
|
454
|
-
return new L(
|
|
454
|
+
return new L(b().getLogHandle(this.handle));
|
|
455
455
|
}
|
|
456
456
|
allFieldsResolved(e = "Input") {
|
|
457
457
|
switch (e) {
|
|
@@ -480,56 +480,56 @@ class O {
|
|
|
480
480
|
return o && (l = l.filter((u) => u[1] !== void 0)), l.map(([u, h]) => s(u, h));
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
|
-
const
|
|
483
|
+
const We = "staging", Ge = "main", Ft = {
|
|
484
484
|
explicitColumnsSupport: !0,
|
|
485
485
|
inlineColumnsSupport: !0,
|
|
486
486
|
activeArgs: !0,
|
|
487
487
|
pTablePartitionFiltersSupport: !0,
|
|
488
488
|
pFrameInSetFilterSupport: !0
|
|
489
489
|
};
|
|
490
|
-
function
|
|
490
|
+
function He(t) {
|
|
491
491
|
return typeof t == "object" && t !== null && "__awaited_futures__" in t;
|
|
492
492
|
}
|
|
493
493
|
function be(t, e, n) {
|
|
494
494
|
if (e.has(n)) return;
|
|
495
495
|
if (e.add(n), typeof n === "object")
|
|
496
|
-
if (
|
|
496
|
+
if (He(n)) n.__awaited_futures__.forEach((i) => t.add(i));
|
|
497
497
|
else if (Array.isArray(n))
|
|
498
498
|
for (const i of n) be(t, e, i);
|
|
499
499
|
else
|
|
500
500
|
for (const [, i] of Object.entries(n))
|
|
501
501
|
i !== n && be(t, e, i);
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function It(t) {
|
|
504
504
|
const e = /* @__PURE__ */ new Set();
|
|
505
505
|
return be(e, /* @__PURE__ */ new Set(), t), e;
|
|
506
506
|
}
|
|
507
507
|
const Jn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
508
508
|
__proto__: null,
|
|
509
|
-
GlobalCfgRenderCtxFeatureFlags:
|
|
510
|
-
MainAccessorName:
|
|
511
|
-
StagingAccessorName:
|
|
512
|
-
getAllFutureAwaits:
|
|
513
|
-
isFutureAwait:
|
|
514
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
509
|
+
GlobalCfgRenderCtxFeatureFlags: Ft,
|
|
510
|
+
MainAccessorName: Ge,
|
|
511
|
+
StagingAccessorName: We,
|
|
512
|
+
getAllFutureAwaits: It,
|
|
513
|
+
isFutureAwait: He
|
|
514
|
+
}, Symbol.toStringTag, { value: "Module" })), _t = "pl7.app/label", Lt = "pl7.app/trace", Et = B.object({
|
|
515
515
|
type: B.string(),
|
|
516
516
|
importance: B.number().optional(),
|
|
517
517
|
id: B.string().optional(),
|
|
518
518
|
label: B.string()
|
|
519
|
-
}),
|
|
520
|
-
function
|
|
519
|
+
}), Vt = B.array(Et), kt = 1e-3, Ot = "__LABEL__", Ee = "__LABEL__@1";
|
|
520
|
+
function ze(t, e, n = {}) {
|
|
521
521
|
const r = /* @__PURE__ */ new Map(), i = n.forceTraceElements !== void 0 && n.forceTraceElements.length > 0 ? new Set(n.forceTraceElements) : void 0, o = /* @__PURE__ */ new Map(), s = t.map((d) => {
|
|
522
|
-
var c,
|
|
522
|
+
var c, v;
|
|
523
523
|
const g = e(d);
|
|
524
524
|
let p, y, C;
|
|
525
525
|
"spec" in g && typeof g.spec == "object" ? (p = g.spec, y = g.prefixTrace, C = g.suffixTrace) : p = g;
|
|
526
|
-
const E = (c = p.annotations) == null ? void 0 : c[
|
|
526
|
+
const E = (c = p.annotations) == null ? void 0 : c[_t], x = (v = p.annotations) == null ? void 0 : v[Lt], S = (x ? Vt.safeParse(JSON.parse(x)).data : void 0) ?? [], P = [
|
|
527
527
|
...y ?? [],
|
|
528
528
|
...S,
|
|
529
529
|
...C ?? []
|
|
530
530
|
];
|
|
531
531
|
if (E !== void 0) {
|
|
532
|
-
const I = { label: E, type:
|
|
532
|
+
const I = { label: E, type: Ot, importance: -2 };
|
|
533
533
|
n.addLabelAsSuffix ? P.push(I) : P.splice(0, 0, I);
|
|
534
534
|
}
|
|
535
535
|
const T = [], F = /* @__PURE__ */ new Map();
|
|
@@ -576,12 +576,12 @@ function He(t, e, n = {}) {
|
|
|
576
576
|
};
|
|
577
577
|
if (a.length === 0) {
|
|
578
578
|
if (l.length !== 0) throw new Error("Non-empty secondary types list while main types list is empty.");
|
|
579
|
-
return h(new Set(
|
|
579
|
+
return h(new Set(Ee), !0);
|
|
580
580
|
}
|
|
581
581
|
let f = 0, m = -1;
|
|
582
582
|
for (; f < a.length; ) {
|
|
583
583
|
const d = /* @__PURE__ */ new Set();
|
|
584
|
-
n.includeNativeLabel && d.add(
|
|
584
|
+
n.includeNativeLabel && d.add(Ee);
|
|
585
585
|
for (let p = 0; p < f; ++p) d.add(a[p]);
|
|
586
586
|
m >= 0 && d.add(a[m]);
|
|
587
587
|
const g = h(d);
|
|
@@ -590,8 +590,8 @@ function He(t, e, n = {}) {
|
|
|
590
590
|
}
|
|
591
591
|
return h(/* @__PURE__ */ new Set([...a, ...l]), !0);
|
|
592
592
|
}
|
|
593
|
-
const ee = "PColumnData/", le = ee + "ResourceMap", ue = ee + "Partitioned/ResourceMap", H = ee + "JsonPartitioned", J = ee + "BinaryPartitioned",
|
|
594
|
-
function
|
|
593
|
+
const ee = "PColumnData/", le = ee + "ResourceMap", ue = ee + "Partitioned/ResourceMap", H = ee + "JsonPartitioned", J = ee + "BinaryPartitioned", Xe = ee + "Partitioned/", ce = Xe + "JsonPartitioned", z = Xe + "BinaryPartitioned";
|
|
594
|
+
function Ye(t, e, n, r = [], i) {
|
|
595
595
|
if (t === void 0) return !1;
|
|
596
596
|
switch (t.resourceType.name) {
|
|
597
597
|
case le: {
|
|
@@ -608,7 +608,7 @@ function Xe(t, e, n, r = [], i) {
|
|
|
608
608
|
const a = t.resolve({ field: s, assertFieldType: "Input" });
|
|
609
609
|
if (a === void 0) o = !1;
|
|
610
610
|
else {
|
|
611
|
-
const l = [...r, ...JSON.parse(s)], u =
|
|
611
|
+
const l = [...r, ...JSON.parse(s)], u = Ye(
|
|
612
612
|
a,
|
|
613
613
|
e,
|
|
614
614
|
n,
|
|
@@ -626,7 +626,7 @@ function Xe(t, e, n, r = [], i) {
|
|
|
626
626
|
}
|
|
627
627
|
function $n(t, e, n = !1) {
|
|
628
628
|
const r = [];
|
|
629
|
-
return { isComplete:
|
|
629
|
+
return { isComplete: Ye(t, e, r, [], n), data: r };
|
|
630
630
|
}
|
|
631
631
|
const ve = (t) => {
|
|
632
632
|
if (t.endsWith(".index"))
|
|
@@ -635,7 +635,7 @@ const ve = (t) => {
|
|
|
635
635
|
return { baseKey: t.substring(0, t.length - 7), type: "values" };
|
|
636
636
|
throw new Error(`key must ends on .index/.values for binary p-column, got: ${t}`);
|
|
637
637
|
};
|
|
638
|
-
function
|
|
638
|
+
function Dt(t) {
|
|
639
639
|
if (!t) return;
|
|
640
640
|
const e = t.resourceType.name, n = t.getDataAsJson(), r = [];
|
|
641
641
|
let i = 0;
|
|
@@ -681,7 +681,7 @@ function Ot(t) {
|
|
|
681
681
|
}
|
|
682
682
|
return { data: r, keyLength: i };
|
|
683
683
|
}
|
|
684
|
-
function
|
|
684
|
+
function Rt(t) {
|
|
685
685
|
if (t.type !== "JsonPartitioned" && t.type !== "BinaryPartitioned")
|
|
686
686
|
throw new Error(`Splitting requires Partitioned DataInfoEntries, got ${t.type}`);
|
|
687
687
|
const { parts: e, partitionKeyLength: n } = t, r = [];
|
|
@@ -700,11 +700,11 @@ function Dt(t) {
|
|
|
700
700
|
}
|
|
701
701
|
return r.map((i) => Array.from(i.values()));
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function Nt(t) {
|
|
704
704
|
if (t === void 0) return;
|
|
705
|
-
if (
|
|
706
|
-
return
|
|
707
|
-
const e =
|
|
705
|
+
if (qe(t))
|
|
706
|
+
return Rt(t);
|
|
707
|
+
const e = Dt(t);
|
|
708
708
|
if (!e) return;
|
|
709
709
|
const { data: n, keyLength: r } = e, i = [];
|
|
710
710
|
for (let o = 0; o < r; ++o)
|
|
@@ -815,15 +815,15 @@ function Ce(t, e = []) {
|
|
|
815
815
|
throw new Error(`Unknown resource type: ${n}`);
|
|
816
816
|
}
|
|
817
817
|
}
|
|
818
|
-
function
|
|
818
|
+
function Ut(t) {
|
|
819
819
|
if (t !== void 0) {
|
|
820
|
-
if (
|
|
821
|
-
if (pe(t)) return
|
|
820
|
+
if (qe(t)) return t;
|
|
821
|
+
if (pe(t)) return st(t);
|
|
822
822
|
if (t instanceof O) return Ce(t);
|
|
823
823
|
throw new Error(`Unexpected input type: ${typeof t}`);
|
|
824
824
|
}
|
|
825
825
|
}
|
|
826
|
-
function
|
|
826
|
+
function Kt(t, e) {
|
|
827
827
|
const n = [...e].sort((o, s) => s[0] - o[0]);
|
|
828
828
|
if (t.type === "JsonPartitioned" || t.type === "BinaryPartitioned") {
|
|
829
829
|
const { partitionKeyLength: o } = t;
|
|
@@ -883,13 +883,13 @@ function Ut(t, e) {
|
|
|
883
883
|
}
|
|
884
884
|
}
|
|
885
885
|
}
|
|
886
|
-
function
|
|
886
|
+
function Mt(t) {
|
|
887
887
|
if (!Array.isArray(t)) return !1;
|
|
888
888
|
if (t.length === 0) return !0;
|
|
889
889
|
const e = t[0];
|
|
890
890
|
return typeof e == "object" && e !== null && "key" in e && "val" in e;
|
|
891
891
|
}
|
|
892
|
-
class
|
|
892
|
+
class jt {
|
|
893
893
|
constructor(e) {
|
|
894
894
|
this.columns = e;
|
|
895
895
|
}
|
|
@@ -898,30 +898,30 @@ class Mt {
|
|
|
898
898
|
return this.columns.filter((r) => n(r.spec));
|
|
899
899
|
}
|
|
900
900
|
}
|
|
901
|
-
function
|
|
901
|
+
function qt(t) {
|
|
902
902
|
if (t)
|
|
903
903
|
return t.map((e) => ({
|
|
904
|
-
type: `split:${
|
|
904
|
+
type: `split:${ct(e.axisId)}`,
|
|
905
905
|
label: e.label,
|
|
906
906
|
importance: 1e6
|
|
907
907
|
// High importance for split filters in labels
|
|
908
908
|
}));
|
|
909
909
|
}
|
|
910
|
-
function
|
|
910
|
+
function Bt(t) {
|
|
911
911
|
if (t)
|
|
912
912
|
return t.map((e) => [e.axisIdx, e.value]);
|
|
913
913
|
}
|
|
914
|
-
function
|
|
914
|
+
function Jt(t, e) {
|
|
915
915
|
if (!e || e.length === 0) return t;
|
|
916
916
|
const n = [...e].sort((r, i) => r[0] - i[0]);
|
|
917
|
-
return
|
|
917
|
+
return Be({ id: t, axisFilters: n });
|
|
918
918
|
}
|
|
919
|
-
function
|
|
919
|
+
function Ve(t) {
|
|
920
920
|
if (!t || typeof t != "object") return !1;
|
|
921
921
|
const e = t, n = 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);
|
|
922
922
|
return !!e.domainAnchor || n || r;
|
|
923
923
|
}
|
|
924
|
-
function
|
|
924
|
+
function $t(t) {
|
|
925
925
|
if (typeof t != "object" || !("axes" in t) || t.axes === void 0)
|
|
926
926
|
return [];
|
|
927
927
|
const e = t.axes.map((n, r) => typeof n == "object" && "split" in n && n.split === !0 ? r : -1).filter((n) => n !== -1);
|
|
@@ -931,9 +931,9 @@ function Jt(t) {
|
|
|
931
931
|
}
|
|
932
932
|
class Q {
|
|
933
933
|
constructor() {
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
934
|
+
V(this, "defaultProviderStore", []);
|
|
935
|
+
V(this, "providers", [new jt(this.defaultProviderStore)]);
|
|
936
|
+
V(this, "axisLabelProviders", []);
|
|
937
937
|
}
|
|
938
938
|
addColumnProvider(e) {
|
|
939
939
|
return this.providers.push(e), this;
|
|
@@ -962,10 +962,10 @@ class Q {
|
|
|
962
962
|
let u = () => !1;
|
|
963
963
|
if (a) {
|
|
964
964
|
const p = (Array.isArray(a) ? a : [a]).map((y) => {
|
|
965
|
-
if (
|
|
965
|
+
if (Ve(y)) {
|
|
966
966
|
if (!r)
|
|
967
967
|
throw new Error("Anchored selectors in exclude require an AnchoredIdDeriver to be provided in options.");
|
|
968
|
-
return Y(
|
|
968
|
+
return Y(xe(r.anchors, y, n));
|
|
969
969
|
} else
|
|
970
970
|
return Y(y);
|
|
971
971
|
});
|
|
@@ -973,12 +973,12 @@ class Q {
|
|
|
973
973
|
}
|
|
974
974
|
const h = typeof e == "function" ? [e] : Array.isArray(e) ? e : [e], f = [], m = /* @__PURE__ */ new Set();
|
|
975
975
|
for (const p of h) {
|
|
976
|
-
const y =
|
|
976
|
+
const y = Ve(p);
|
|
977
977
|
let C;
|
|
978
978
|
if (y) {
|
|
979
979
|
if (!r)
|
|
980
980
|
throw new Error("Anchored selectors require an AnchoredIdDeriver to be provided in options.");
|
|
981
|
-
C =
|
|
981
|
+
C = xe(r.anchors, p, n);
|
|
982
982
|
} else
|
|
983
983
|
C = p;
|
|
984
984
|
const E = /* @__PURE__ */ new Set(), x = [];
|
|
@@ -988,38 +988,38 @@ class Q {
|
|
|
988
988
|
if (u(c.spec)) continue;
|
|
989
989
|
if (E.has(c.id))
|
|
990
990
|
throw new Error(`Duplicate column id ${c.id} in provider ${T.constructor.name}`);
|
|
991
|
-
const
|
|
992
|
-
m.has(
|
|
991
|
+
const v = at(c.spec);
|
|
992
|
+
m.has(v) || (E.add(c.id), m.add(v), x.push(c));
|
|
993
993
|
}
|
|
994
994
|
}
|
|
995
995
|
if (x.length === 0) continue;
|
|
996
|
-
const S =
|
|
996
|
+
const S = $t(p), P = S.length > 0;
|
|
997
997
|
for (const T of x) {
|
|
998
998
|
if (!oe(T.spec)) continue;
|
|
999
999
|
const F = T.spec;
|
|
1000
1000
|
if (P) {
|
|
1001
|
-
if (
|
|
1001
|
+
if (Mt(T.data))
|
|
1002
1002
|
throw new Error(`Splitting is not supported for PColumns with PColumnValues data format. Column id: ${T.id}`);
|
|
1003
|
-
const c =
|
|
1003
|
+
const c = Ut(T.data);
|
|
1004
1004
|
if (!c) {
|
|
1005
1005
|
if (o) continue;
|
|
1006
1006
|
return;
|
|
1007
1007
|
}
|
|
1008
|
-
if (!
|
|
1008
|
+
if (!lt(c))
|
|
1009
1009
|
throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${c.type} for column ${T.id}`);
|
|
1010
|
-
const
|
|
1010
|
+
const v = Nt(c), I = S[S.length - 1];
|
|
1011
1011
|
if (I >= c.partitionKeyLength)
|
|
1012
1012
|
throw new Error(`Not enough partition keys (${c.partitionKeyLength}) for requested split axes (max index ${I}) in column ${F.name}`);
|
|
1013
|
-
const $ = S.map((_) => this.findLabels(
|
|
1013
|
+
const $ = S.map((_) => this.findLabels(k(F.axesSpec[_]))), K = [], j = (_, W) => {
|
|
1014
1014
|
if (W >= S.length) {
|
|
1015
1015
|
if (K.push([..._]), K.length > 1e4)
|
|
1016
1016
|
throw new Error("Too many key combinations, aborting.");
|
|
1017
1017
|
return;
|
|
1018
1018
|
}
|
|
1019
1019
|
const M = S[W];
|
|
1020
|
-
if (M >=
|
|
1021
|
-
throw new Error(`Axis index ${M} out of bounds for unique keys array (length ${
|
|
1022
|
-
const q =
|
|
1020
|
+
if (M >= v.length)
|
|
1021
|
+
throw new Error(`Axis index ${M} out of bounds for unique keys array (length ${v.length}) during split key generation for column ${T.id}`);
|
|
1022
|
+
const q = v[M];
|
|
1023
1023
|
if (!q || q.length === 0) {
|
|
1024
1024
|
K.length = 0;
|
|
1025
1025
|
return;
|
|
@@ -1029,20 +1029,20 @@ class Q {
|
|
|
1029
1029
|
};
|
|
1030
1030
|
if (j([], 0), K.length === 0)
|
|
1031
1031
|
continue;
|
|
1032
|
-
const N = [...F.axesSpec],
|
|
1032
|
+
const N = [...F.axesSpec], et = S.map((_) => _);
|
|
1033
1033
|
for (let _ = S.length - 1; _ >= 0; _--)
|
|
1034
1034
|
N.splice(S[_], 1);
|
|
1035
|
-
const
|
|
1035
|
+
const tt = { ...F, axesSpec: N };
|
|
1036
1036
|
for (const _ of K) {
|
|
1037
1037
|
const W = _.map((M, q) => {
|
|
1038
|
-
const te =
|
|
1039
|
-
return { axisIdx: te, axisId:
|
|
1038
|
+
const te = et[q], nt = k(F.axesSpec[te]), de = $[q], rt = (de == null ? void 0 : de[M]) ?? String(M);
|
|
1039
|
+
return { axisIdx: te, axisId: nt, value: M, label: rt };
|
|
1040
1040
|
});
|
|
1041
1041
|
f.push({
|
|
1042
1042
|
type: "split",
|
|
1043
1043
|
originalColumn: T,
|
|
1044
1044
|
spec: F,
|
|
1045
|
-
adjustedSpec:
|
|
1045
|
+
adjustedSpec: tt,
|
|
1046
1046
|
dataEntries: c,
|
|
1047
1047
|
axisFilters: W
|
|
1048
1048
|
});
|
|
@@ -1057,18 +1057,18 @@ class Q {
|
|
|
1057
1057
|
}
|
|
1058
1058
|
}
|
|
1059
1059
|
if (f.length === 0) return [];
|
|
1060
|
-
const d =
|
|
1060
|
+
const d = ze(
|
|
1061
1061
|
f,
|
|
1062
1062
|
(p) => ({
|
|
1063
1063
|
spec: p.spec,
|
|
1064
|
-
suffixTrace: p.type === "split" ?
|
|
1064
|
+
suffixTrace: p.type === "split" ? qt(p.axisFilters) : void 0
|
|
1065
1065
|
}),
|
|
1066
1066
|
l
|
|
1067
1067
|
), g = [];
|
|
1068
1068
|
for (const { value: p, label: y } of d) {
|
|
1069
|
-
const { originalColumn: C, spec: E } = p, x = p.type === "split" ? p.axisFilters : void 0, S =
|
|
1069
|
+
const { originalColumn: C, spec: E } = p, x = p.type === "split" ? p.axisFilters : void 0, S = Bt(x);
|
|
1070
1070
|
let P;
|
|
1071
|
-
r ? P = r.deriveS(E, S) : P =
|
|
1071
|
+
r ? P = r.deriveS(E, S) : P = Jt(C.id, S);
|
|
1072
1072
|
let T = { ...p.adjustedSpec };
|
|
1073
1073
|
s && (T = {
|
|
1074
1074
|
...T,
|
|
@@ -1079,7 +1079,7 @@ class Q {
|
|
|
1079
1079
|
}), g.push({
|
|
1080
1080
|
id: P,
|
|
1081
1081
|
spec: T,
|
|
1082
|
-
data: () => p.type === "split" ?
|
|
1082
|
+
data: () => p.type === "split" ? ut(Kt(p.dataEntries, S)) : p.originalColumn.data,
|
|
1083
1083
|
label: y
|
|
1084
1084
|
});
|
|
1085
1085
|
}
|
|
@@ -1149,11 +1149,11 @@ function he(t, e) {
|
|
|
1149
1149
|
return !0;
|
|
1150
1150
|
}
|
|
1151
1151
|
function ke(t) {
|
|
1152
|
-
return
|
|
1152
|
+
return Ae(t, (e) => e instanceof O ? e.handle : pe(e) ? yt(e, (n) => n.handle) : e);
|
|
1153
1153
|
}
|
|
1154
|
-
class
|
|
1154
|
+
class Wt {
|
|
1155
1155
|
constructor() {
|
|
1156
|
-
|
|
1156
|
+
V(this, "ctx", b());
|
|
1157
1157
|
}
|
|
1158
1158
|
/**
|
|
1159
1159
|
* @deprecated use getOptions()
|
|
@@ -1164,26 +1164,26 @@ class $t {
|
|
|
1164
1164
|
getOptions(e, n) {
|
|
1165
1165
|
const r = typeof e == "function" ? e : Y(e), i = this.getSpecs().entries.filter((a) => r(a.obj));
|
|
1166
1166
|
let o = {}, s = !1;
|
|
1167
|
-
return typeof n < "u" && (typeof n == "function" ? o = n : typeof n == "object" && ("includeNativeLabel" in n || "separator" in n || "addLabelAsSuffix" in n ? o = n : (n = n, o = n.label ?? {}, s = n.refsWithEnrichments ?? !1))), typeof o == "object" ?
|
|
1168
|
-
ref:
|
|
1167
|
+
return typeof n < "u" && (typeof n == "function" ? o = n : typeof n == "object" && ("includeNativeLabel" in n || "separator" in n || "addLabelAsSuffix" in n ? o = n : (n = n, o = n.label ?? {}, s = n.refsWithEnrichments ?? !1))), typeof o == "object" ? ze(i, (a) => a.obj, o ?? {}).map(({ value: { ref: a }, label: l }) => ({
|
|
1168
|
+
ref: Fe(a, s),
|
|
1169
1169
|
label: l
|
|
1170
1170
|
})) : i.map(({ ref: a, obj: l }) => ({
|
|
1171
|
-
ref:
|
|
1171
|
+
ref: Fe(a, s),
|
|
1172
1172
|
label: o(l, a)
|
|
1173
1173
|
}));
|
|
1174
1174
|
}
|
|
1175
1175
|
resolveAnchorCtx(e) {
|
|
1176
|
-
if (e instanceof
|
|
1176
|
+
if (e instanceof Ie) return e;
|
|
1177
1177
|
const n = {};
|
|
1178
1178
|
for (const [r, i] of Object.entries(e))
|
|
1179
|
-
if (
|
|
1179
|
+
if (pt(i)) {
|
|
1180
1180
|
const o = this.getPColumnSpecByRef(i);
|
|
1181
1181
|
if (!o)
|
|
1182
1182
|
return;
|
|
1183
1183
|
n[r] = o;
|
|
1184
1184
|
} else
|
|
1185
1185
|
n[r] = i;
|
|
1186
|
-
return new
|
|
1186
|
+
return new Ie(n);
|
|
1187
1187
|
}
|
|
1188
1188
|
/**
|
|
1189
1189
|
* Returns columns that match the provided anchors and selectors. It applies axis filters and label derivation.
|
|
@@ -1276,7 +1276,7 @@ class $t {
|
|
|
1276
1276
|
ref: n.ref,
|
|
1277
1277
|
obj: {
|
|
1278
1278
|
...n.obj,
|
|
1279
|
-
data:
|
|
1279
|
+
data: dt(
|
|
1280
1280
|
n.obj.data,
|
|
1281
1281
|
(r) => new O(r, [n.ref.blockId, n.ref.name])
|
|
1282
1282
|
)
|
|
@@ -1305,7 +1305,7 @@ class $t {
|
|
|
1305
1305
|
)) == null ? void 0 : r.obj;
|
|
1306
1306
|
const n = this.ctx.getDataFromResultPoolByRef(e.blockId, e.name);
|
|
1307
1307
|
if (n)
|
|
1308
|
-
return
|
|
1308
|
+
return Ae(
|
|
1309
1309
|
n,
|
|
1310
1310
|
(i) => new O(i, [e.blockId, e.name])
|
|
1311
1311
|
);
|
|
@@ -1318,7 +1318,7 @@ class $t {
|
|
|
1318
1318
|
getPColumnByRef(e) {
|
|
1319
1319
|
const n = this.getDataByRef(e);
|
|
1320
1320
|
if (n)
|
|
1321
|
-
return
|
|
1321
|
+
return ft(n);
|
|
1322
1322
|
}
|
|
1323
1323
|
/**
|
|
1324
1324
|
* Returns spec associated with the ref ensuring that it is a p-column spec.
|
|
@@ -1368,7 +1368,7 @@ class $t {
|
|
|
1368
1368
|
findLabels(e) {
|
|
1369
1369
|
const n = this.getData();
|
|
1370
1370
|
for (const r of n.entries) {
|
|
1371
|
-
if (!
|
|
1371
|
+
if (!je(r.obj)) continue;
|
|
1372
1372
|
const i = r.obj.spec;
|
|
1373
1373
|
if (i.name === "pl7.app/label" && i.axesSpec.length === 1 && i.axesSpec[0].name === e.name && i.axesSpec[0].type === e.type && he(e.domain, i.axesSpec[0].domain)) {
|
|
1374
1374
|
if (r.obj.data.resourceType.name !== "PColumnData/Json")
|
|
@@ -1395,7 +1395,7 @@ class $t {
|
|
|
1395
1395
|
let a = null;
|
|
1396
1396
|
const l = this;
|
|
1397
1397
|
return {
|
|
1398
|
-
id:
|
|
1398
|
+
id: Be(i),
|
|
1399
1399
|
spec: s,
|
|
1400
1400
|
get data() {
|
|
1401
1401
|
var u;
|
|
@@ -1422,13 +1422,13 @@ class $t {
|
|
|
1422
1422
|
}
|
|
1423
1423
|
class ne {
|
|
1424
1424
|
constructor() {
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1425
|
+
V(this, "ctx");
|
|
1426
|
+
V(this, "_argsCache");
|
|
1427
|
+
V(this, "_uiStateCache");
|
|
1428
1428
|
// lazy rendering because this feature is rarely used
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
this.ctx =
|
|
1429
|
+
V(this, "_activeArgsCache");
|
|
1430
|
+
V(this, "resultPool", new Wt());
|
|
1431
|
+
this.ctx = b();
|
|
1432
1432
|
}
|
|
1433
1433
|
get args() {
|
|
1434
1434
|
if (this._argsCache === void 0) {
|
|
@@ -1468,10 +1468,10 @@ class ne {
|
|
|
1468
1468
|
);
|
|
1469
1469
|
}
|
|
1470
1470
|
get prerun() {
|
|
1471
|
-
return this.getNamedAccessor(
|
|
1471
|
+
return this.getNamedAccessor(We);
|
|
1472
1472
|
}
|
|
1473
1473
|
get outputs() {
|
|
1474
|
-
return this.getNamedAccessor(
|
|
1474
|
+
return this.getNamedAccessor(Ge);
|
|
1475
1475
|
}
|
|
1476
1476
|
/**
|
|
1477
1477
|
* Find labels data for a given axis id. It will search for a label column and return its data as a map.
|
|
@@ -1514,8 +1514,8 @@ class ne {
|
|
|
1514
1514
|
partitionFilters: e.filters ?? [],
|
|
1515
1515
|
filters: [],
|
|
1516
1516
|
sorting: e.sorting ?? []
|
|
1517
|
-
}) : n = this.patchPTableDef(e), this.verifyInlineAndExplicitColumnsSupport(
|
|
1518
|
-
|
|
1517
|
+
}) : n = this.patchPTableDef(e), this.verifyInlineAndExplicitColumnsSupport(ht(n.src)), this.ctx.createPTable(
|
|
1518
|
+
mt(n, (r) => ke(r))
|
|
1519
1519
|
);
|
|
1520
1520
|
}
|
|
1521
1521
|
/** @deprecated scheduled for removal from SDK */
|
|
@@ -1535,16 +1535,16 @@ class ne {
|
|
|
1535
1535
|
this.ctx.logError(e);
|
|
1536
1536
|
}
|
|
1537
1537
|
}
|
|
1538
|
-
const X = "1.40.
|
|
1539
|
-
function
|
|
1538
|
+
const X = "1.40.6";
|
|
1539
|
+
function Gt(t) {
|
|
1540
1540
|
return t.__renderLambda === !0;
|
|
1541
1541
|
}
|
|
1542
1542
|
function me(t) {
|
|
1543
1543
|
if (t !== void 0)
|
|
1544
|
-
return
|
|
1544
|
+
return Gt(t) ? t.handle : t;
|
|
1545
1545
|
}
|
|
1546
1546
|
function Wn(t) {
|
|
1547
|
-
return
|
|
1547
|
+
return gt(t);
|
|
1548
1548
|
}
|
|
1549
1549
|
const w = class w {
|
|
1550
1550
|
constructor(e, n, r, i, o, s, a, l, u) {
|
|
@@ -1757,16 +1757,16 @@ const w = class w {
|
|
|
1757
1757
|
Object.entries(this._outputs).map(([n, r]) => [n, me(r)])
|
|
1758
1758
|
)
|
|
1759
1759
|
};
|
|
1760
|
-
return
|
|
1760
|
+
return At() ? $e({ sdkVersion: X }) : { config: e };
|
|
1761
1761
|
}
|
|
1762
1762
|
};
|
|
1763
|
-
|
|
1763
|
+
V(w, "INITIAL_BLOCK_FEATURE_FLAGS", {
|
|
1764
1764
|
supportsLazyState: !0,
|
|
1765
1765
|
requiresUIAPIVersion: 1,
|
|
1766
1766
|
requiresModelAPIVersion: 1
|
|
1767
1767
|
});
|
|
1768
|
-
let
|
|
1769
|
-
function
|
|
1768
|
+
let Oe = w;
|
|
1769
|
+
function Qe() {
|
|
1770
1770
|
return {
|
|
1771
1771
|
sourceId: null,
|
|
1772
1772
|
hiddenColIds: null,
|
|
@@ -1775,45 +1775,45 @@ function Ye() {
|
|
|
1775
1775
|
sorting: []
|
|
1776
1776
|
};
|
|
1777
1777
|
}
|
|
1778
|
-
function
|
|
1778
|
+
function De() {
|
|
1779
1779
|
return {
|
|
1780
1780
|
version: 4,
|
|
1781
1781
|
stateCache: [],
|
|
1782
|
-
pTableParams:
|
|
1782
|
+
pTableParams: Qe()
|
|
1783
1783
|
};
|
|
1784
1784
|
}
|
|
1785
|
-
function
|
|
1786
|
-
return "version" in t || (t =
|
|
1785
|
+
function Ht(t) {
|
|
1786
|
+
return "version" in t || (t = De()), t.version === 2 && (t = {
|
|
1787
1787
|
version: 3,
|
|
1788
1788
|
stateCache: t.stateCache.map((e) => ({
|
|
1789
1789
|
...e,
|
|
1790
1790
|
filtersState: []
|
|
1791
1791
|
})),
|
|
1792
|
-
pTableParams:
|
|
1793
|
-
}), t.version === 3 && (t =
|
|
1792
|
+
pTableParams: Qe()
|
|
1793
|
+
}), t.version === 3 && (t = De()), t;
|
|
1794
1794
|
}
|
|
1795
1795
|
function Se(t) {
|
|
1796
1796
|
return t.axesSpec.length === 1 && t.name === "pl7.app/label";
|
|
1797
1797
|
}
|
|
1798
|
-
function
|
|
1798
|
+
function zt(t) {
|
|
1799
1799
|
return new Q().addAxisLabelProvider(t).addColumnProvider(t).getColumns({
|
|
1800
1800
|
name: "pl7.app/label",
|
|
1801
1801
|
axes: [{}]
|
|
1802
1802
|
// exactly one axis
|
|
1803
1803
|
}, { dontWaitAllData: !0 });
|
|
1804
1804
|
}
|
|
1805
|
-
function
|
|
1805
|
+
function Re(t, e) {
|
|
1806
1806
|
const n = [], r = [];
|
|
1807
1807
|
for (const a of t)
|
|
1808
1808
|
Se(a.spec) ? n.push(a) : r.push(a);
|
|
1809
1809
|
const i = [];
|
|
1810
1810
|
for (const a of r)
|
|
1811
1811
|
for (const l of a.spec.axesSpec) {
|
|
1812
|
-
const u =
|
|
1812
|
+
const u = k(l);
|
|
1813
1813
|
i.some((h) => U(h, u)) || i.push(u);
|
|
1814
1814
|
}
|
|
1815
1815
|
for (const a of n) {
|
|
1816
|
-
const l =
|
|
1816
|
+
const l = k(a.spec.axesSpec[0]), u = i.findIndex((h) => U(h, l));
|
|
1817
1817
|
u !== -1 && i.splice(u, 1);
|
|
1818
1818
|
}
|
|
1819
1819
|
const o = (a, l) => {
|
|
@@ -1824,7 +1824,7 @@ function De(t, e) {
|
|
|
1824
1824
|
return u;
|
|
1825
1825
|
}, s = [];
|
|
1826
1826
|
for (const a of e) {
|
|
1827
|
-
const l = a.spec.axesSpec[0], u =
|
|
1827
|
+
const l = a.spec.axesSpec[0], u = k(l), h = i.findIndex((f) => U(f, u));
|
|
1828
1828
|
if (h !== -1) {
|
|
1829
1829
|
const f = i[h], m = Object.keys(f.domain ?? {}).length, d = Object.keys(l.domain ?? {}).length;
|
|
1830
1830
|
m > d ? s.push({
|
|
@@ -1839,7 +1839,7 @@ function De(t, e) {
|
|
|
1839
1839
|
}
|
|
1840
1840
|
return s;
|
|
1841
1841
|
}
|
|
1842
|
-
function
|
|
1842
|
+
function Xt(t) {
|
|
1843
1843
|
const e = (i) => Array.isArray(i), n = (i) => i instanceof O, r = (i) => typeof i == "object" && "type" in i;
|
|
1844
1844
|
return t.map((i) => i.data).every((i) => {
|
|
1845
1845
|
if (e(i))
|
|
@@ -1859,7 +1859,7 @@ function zt(t) {
|
|
|
1859
1859
|
throw Error(`unsupported column data type: ${i}`);
|
|
1860
1860
|
});
|
|
1861
1861
|
}
|
|
1862
|
-
function
|
|
1862
|
+
function Ne(t) {
|
|
1863
1863
|
let e = t.columns;
|
|
1864
1864
|
const n = [];
|
|
1865
1865
|
if (t.coreColumnPredicate) {
|
|
@@ -1881,11 +1881,11 @@ function Re(t) {
|
|
|
1881
1881
|
sorting: t.sorting
|
|
1882
1882
|
};
|
|
1883
1883
|
}
|
|
1884
|
-
function
|
|
1884
|
+
function Yt(t) {
|
|
1885
1885
|
var e;
|
|
1886
1886
|
return ((e = t.annotations) == null ? void 0 : e["pl7.app/table/visibility"]) === "hidden";
|
|
1887
1887
|
}
|
|
1888
|
-
function
|
|
1888
|
+
function Qt(t) {
|
|
1889
1889
|
var e;
|
|
1890
1890
|
return ((e = t.annotations) == null ? void 0 : e["pl7.app/table/visibility"]) === "optional";
|
|
1891
1891
|
}
|
|
@@ -1894,30 +1894,30 @@ function ye(t, e) {
|
|
|
1894
1894
|
}
|
|
1895
1895
|
function Gn(t, e, n, r) {
|
|
1896
1896
|
if (e.length === 0) return;
|
|
1897
|
-
const i = e.filter((c) => !
|
|
1897
|
+
const i = e.filter((c) => Pe(c.spec) || !Yt(c.spec)), o = Ht(n), s = zt(t.resultPool);
|
|
1898
1898
|
if (!s) return;
|
|
1899
|
-
const a =
|
|
1899
|
+
const a = Re(i.map(_e), s), l = [...i, ...a], h = [
|
|
1900
1900
|
...ye(
|
|
1901
|
-
[...l.flatMap((c) => c.spec.axesSpec.map((
|
|
1901
|
+
[...l.flatMap((c) => c.spec.axesSpec.map((v) => k(v)))],
|
|
1902
1902
|
(c) => D(c)
|
|
1903
1903
|
).map((c) => ({ type: "axis", id: c })),
|
|
1904
1904
|
...l.map((c) => ({ type: "column", id: c.id }))
|
|
1905
1905
|
], f = new Set(h.map((c) => D(c))), m = (c) => f.has(D(c)), d = (r == null ? void 0 : r.coreJoinType) ?? "full", g = o.pTableParams.partitionFilters.filter((c) => {
|
|
1906
|
-
const
|
|
1907
|
-
return
|
|
1906
|
+
const v = m(c.column);
|
|
1907
|
+
return v || t.logWarn(`Partition filter ${JSON.stringify(c)} does not match provided columns, skipping`), v;
|
|
1908
1908
|
}), p = ye(
|
|
1909
1909
|
[...(r == null ? void 0 : r.filters) ?? [], ...o.pTableParams.filters],
|
|
1910
1910
|
(c) => D(c.column)
|
|
1911
1911
|
).filter((c) => {
|
|
1912
|
-
const
|
|
1913
|
-
return
|
|
1912
|
+
const v = m(c.column);
|
|
1913
|
+
return v || t.logWarn(`Filter ${JSON.stringify(c)} does not match provided columns, skipping`), v;
|
|
1914
1914
|
}), y = ye(
|
|
1915
1915
|
[...(r == null ? void 0 : r.sorting) ?? [], ...o.pTableParams.sorting],
|
|
1916
1916
|
(c) => D(c.column)
|
|
1917
1917
|
).filter((c) => {
|
|
1918
|
-
const
|
|
1919
|
-
return
|
|
1920
|
-
}), C =
|
|
1918
|
+
const v = m(c.column);
|
|
1919
|
+
return v || t.logWarn(`Sorting ${JSON.stringify(c)} does not match provided columns, skipping`), v;
|
|
1920
|
+
}), C = Ne({
|
|
1921
1921
|
columns: i,
|
|
1922
1922
|
labelColumns: a,
|
|
1923
1923
|
coreJoinType: d,
|
|
@@ -1928,18 +1928,15 @@ function Gn(t, e, n, r) {
|
|
|
1928
1928
|
}), E = t.createPTable(C), x = new Set((() => {
|
|
1929
1929
|
if (d === "inner") return [];
|
|
1930
1930
|
const c = o.pTableParams.hiddenColIds;
|
|
1931
|
-
return c || i.filter((
|
|
1931
|
+
return c || i.filter((v) => Qt(v.spec)).map((v) => v.id);
|
|
1932
1932
|
})());
|
|
1933
|
-
i.filter((c) => {
|
|
1934
|
-
var b;
|
|
1935
|
-
return ((b = c.spec.annotations) == null ? void 0 : b["pl7.app/isLinkerColumn"]) === "true";
|
|
1936
|
-
}).forEach((c) => x.delete(c.id)), r != null && r.coreColumnPredicate && i.flatMap((b) => {
|
|
1933
|
+
i.filter((c) => Pe(c.spec)).forEach((c) => x.delete(c.id)), r != null && r.coreColumnPredicate && i.flatMap((v) => {
|
|
1937
1934
|
var I;
|
|
1938
|
-
return (I = r == null ? void 0 : r.coreColumnPredicate) != null && I.call(r,
|
|
1939
|
-
}).forEach((
|
|
1940
|
-
const S = i.filter((c) => !x.has(c.id)), P =
|
|
1941
|
-
if (!
|
|
1942
|
-
const T =
|
|
1935
|
+
return (I = r == null ? void 0 : r.coreColumnPredicate) != null && I.call(r, v.spec) ? [v.id] : [];
|
|
1936
|
+
}).forEach((v) => x.delete(v)), [...g.map((c) => c.column), ...p.map((c) => c.column), ...y.map((c) => c.column)].filter((c) => c.type === "column").forEach((c) => x.delete(c.id));
|
|
1937
|
+
const S = i.filter((c) => !x.has(c.id)), P = Re(S.map(_e), s);
|
|
1938
|
+
if (!Xt([...S, ...P])) return;
|
|
1939
|
+
const T = Ne({
|
|
1943
1940
|
columns: S,
|
|
1944
1941
|
labelColumns: P,
|
|
1945
1942
|
coreJoinType: d,
|
|
@@ -1965,7 +1962,7 @@ function Hn(t, e, n) {
|
|
|
1965
1962
|
defaultValue: n[0]
|
|
1966
1963
|
};
|
|
1967
1964
|
}
|
|
1968
|
-
const
|
|
1965
|
+
const Zt = (t, e) => {
|
|
1969
1966
|
let n = t.toString();
|
|
1970
1967
|
return e == null || e.forEach((r) => {
|
|
1971
1968
|
if (r)
|
|
@@ -1973,7 +1970,7 @@ const Qt = (t, e) => {
|
|
|
1973
1970
|
n += i, n += o;
|
|
1974
1971
|
}), n;
|
|
1975
1972
|
};
|
|
1976
|
-
function
|
|
1973
|
+
function en(t) {
|
|
1977
1974
|
if (!t.length)
|
|
1978
1975
|
return [];
|
|
1979
1976
|
let e = [[]];
|
|
@@ -1984,16 +1981,16 @@ function Zt(t) {
|
|
|
1984
1981
|
}), e = r;
|
|
1985
1982
|
}), e;
|
|
1986
1983
|
}
|
|
1987
|
-
function
|
|
1984
|
+
function Pe(t) {
|
|
1988
1985
|
var e;
|
|
1989
1986
|
return t.axesSpec.length === 2 && ((e = t.annotations) == null ? void 0 : e[nn]) === "true";
|
|
1990
1987
|
}
|
|
1991
|
-
const tn = "pl7.app/graph/isVirtual",
|
|
1988
|
+
const tn = "pl7.app/graph/isVirtual", Ue = "pl7.app/label", nn = "pl7.app/isLinkerColumn";
|
|
1992
1989
|
function rn(t) {
|
|
1993
1990
|
var n, r;
|
|
1994
1991
|
const e = /* @__PURE__ */ new Map();
|
|
1995
1992
|
for (const { spec: i } of t) {
|
|
1996
|
-
const o = i.axesSpec.map(
|
|
1993
|
+
const o = i.axesSpec.map(k).map(D);
|
|
1997
1994
|
o.forEach((s) => {
|
|
1998
1995
|
e.has(s) || e.set(s, /* @__PURE__ */ new Set());
|
|
1999
1996
|
});
|
|
@@ -2006,7 +2003,7 @@ function rn(t) {
|
|
|
2006
2003
|
return e;
|
|
2007
2004
|
}
|
|
2008
2005
|
function on(t, e) {
|
|
2009
|
-
const n = rn(t), r = [...n.keys()].map(
|
|
2006
|
+
const n = rn(t), r = [...n.keys()].map(Le), i = [];
|
|
2010
2007
|
for (const l of e.values()) {
|
|
2011
2008
|
const u = r.find((h) => U(l, h));
|
|
2012
2009
|
u && i.push(D(u));
|
|
@@ -2017,19 +2014,19 @@ function on(t, e) {
|
|
|
2017
2014
|
const l = [];
|
|
2018
2015
|
for (const u of a)
|
|
2019
2016
|
for (const h of n.get(u) ?? [])
|
|
2020
|
-
o.has(h) || (l.push(h), o.add(h), s.set(h,
|
|
2017
|
+
o.has(h) || (l.push(h), o.add(h), s.set(h, Le(h)));
|
|
2021
2018
|
a = l;
|
|
2022
2019
|
}
|
|
2023
2020
|
return s;
|
|
2024
2021
|
}
|
|
2025
|
-
function
|
|
2022
|
+
function Ke(t, e) {
|
|
2026
2023
|
const n = [];
|
|
2027
2024
|
return e.forEach((r) => {
|
|
2028
2025
|
n.push(...sn(t, r));
|
|
2029
2026
|
}), n;
|
|
2030
2027
|
}
|
|
2031
2028
|
function sn(t, e) {
|
|
2032
|
-
const n = e.spec.axesSpec.map(
|
|
2029
|
+
const n = e.spec.axesSpec.map(k);
|
|
2033
2030
|
if (n.every((u) => t.has(D(u))))
|
|
2034
2031
|
return [e];
|
|
2035
2032
|
const r = n.map((u) => {
|
|
@@ -2037,7 +2034,7 @@ function sn(t, e) {
|
|
|
2037
2034
|
for (const [f, m] of t)
|
|
2038
2035
|
U(m, u) && !U(u, m) && h.push(m);
|
|
2039
2036
|
return h;
|
|
2040
|
-
}), i =
|
|
2037
|
+
}), i = en(r), o = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Set(), a = i.map((u) => {
|
|
2041
2038
|
const h = /* @__PURE__ */ new Set();
|
|
2042
2039
|
return u.map((f, m) => {
|
|
2043
2040
|
const d = e.spec.axesSpec[m].domain, g = f.domain;
|
|
@@ -2057,14 +2054,14 @@ function sn(t, e) {
|
|
|
2057
2054
|
});
|
|
2058
2055
|
const l = i.map((u, h) => {
|
|
2059
2056
|
var p;
|
|
2060
|
-
const f =
|
|
2057
|
+
const f = Zt(e.id, u.map((y) => y.domain)), m = ((p = e.spec.annotations) == null ? void 0 : p[Ue]) ?? "", d = [...a[h]].filter((y) => s.has(y)).sort().map((y) => {
|
|
2061
2058
|
var C;
|
|
2062
2059
|
return (C = JSON.parse(y)) == null ? void 0 : C[1];
|
|
2063
2060
|
}).join(" / "), g = {
|
|
2064
2061
|
...e.spec.annotations,
|
|
2065
2062
|
[tn]: "true"
|
|
2066
2063
|
};
|
|
2067
|
-
return (m || d) && (g[
|
|
2064
|
+
return (m || d) && (g[Ue] = m && d ? m + " / " + d : m + d), {
|
|
2068
2065
|
id: f,
|
|
2069
2066
|
spec: {
|
|
2070
2067
|
...e.spec,
|
|
@@ -2081,7 +2078,7 @@ function sn(t, e) {
|
|
|
2081
2078
|
}
|
|
2082
2079
|
function an(t) {
|
|
2083
2080
|
let e = !0;
|
|
2084
|
-
return t.data instanceof O ? e = e && t.data.getIsReadyOrError() : pe(t.data) &&
|
|
2081
|
+
return t.data instanceof O ? e = e && t.data.getIsReadyOrError() : pe(t.data) && bt(t.data, (n) => {
|
|
2085
2082
|
e = e && n.getIsReadyOrError();
|
|
2086
2083
|
}), e;
|
|
2087
2084
|
}
|
|
@@ -2096,9 +2093,9 @@ function zn(t, e) {
|
|
|
2096
2093
|
if (!re(m))
|
|
2097
2094
|
return;
|
|
2098
2095
|
const d = new Map(m.flatMap((p) => p.spec.axesSpec).map((p) => {
|
|
2099
|
-
const y =
|
|
2096
|
+
const y = k(p);
|
|
2100
2097
|
return [D(y), y];
|
|
2101
|
-
})), g =
|
|
2098
|
+
})), g = Ke(d, m);
|
|
2102
2099
|
return t.createPFrame(g);
|
|
2103
2100
|
}
|
|
2104
2101
|
if (!re(e))
|
|
@@ -2108,14 +2105,14 @@ function zn(t, e) {
|
|
|
2108
2105
|
const r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
|
|
2109
2106
|
for (const f of e)
|
|
2110
2107
|
for (const m of f.spec.axesSpec) {
|
|
2111
|
-
const d =
|
|
2108
|
+
const d = k(m);
|
|
2112
2109
|
r.set(D(d), d), i.set(D(d), d);
|
|
2113
2110
|
}
|
|
2114
|
-
const o = n.getColumns((f) =>
|
|
2111
|
+
const o = n.getColumns((f) => Pe(f)) ?? [], s = on(o, r);
|
|
2115
2112
|
for (const f of s)
|
|
2116
2113
|
r.set(...f), i.set(...f);
|
|
2117
2114
|
const a = (n.getColumns((f) => f.axesSpec.some((m) => {
|
|
2118
|
-
const d =
|
|
2115
|
+
const d = k(m);
|
|
2119
2116
|
for (const g of r.values())
|
|
2120
2117
|
if (U(g, d))
|
|
2121
2118
|
return !0;
|
|
@@ -2125,11 +2122,11 @@ function zn(t, e) {
|
|
|
2125
2122
|
return;
|
|
2126
2123
|
for (const f of a)
|
|
2127
2124
|
for (const m of f.spec.axesSpec) {
|
|
2128
|
-
const d =
|
|
2125
|
+
const d = k(m);
|
|
2129
2126
|
i.set(D(d), d);
|
|
2130
2127
|
}
|
|
2131
2128
|
const l = (n.getColumns((f) => f.axesSpec.some((m) => {
|
|
2132
|
-
const d =
|
|
2129
|
+
const d = k(m);
|
|
2133
2130
|
for (const g of i.values())
|
|
2134
2131
|
if (U(g, d))
|
|
2135
2132
|
return !0;
|
|
@@ -2137,18 +2134,18 @@ function zn(t, e) {
|
|
|
2137
2134
|
}), { dontWaitAllData: !0, overrideLabelAnnotation: !1 }) ?? []).filter((f) => Se(f.spec));
|
|
2138
2135
|
if (!re(l))
|
|
2139
2136
|
return;
|
|
2140
|
-
const u = [...a, ...l], h =
|
|
2137
|
+
const u = [...a, ...l], h = Ke(r, u);
|
|
2141
2138
|
return t.createPFrame(h);
|
|
2142
2139
|
}
|
|
2143
2140
|
function Xn({
|
|
2144
2141
|
selection: t,
|
|
2145
|
-
columnId: e =
|
|
2142
|
+
columnId: e = Ct(),
|
|
2146
2143
|
label: n = "Selection marker",
|
|
2147
2144
|
domain: r
|
|
2148
2145
|
}) {
|
|
2149
2146
|
if (!(t != null && t.axesSpec.length))
|
|
2150
2147
|
return;
|
|
2151
|
-
const i = t.selectedKeys.filter((o) => o.every((s) => !
|
|
2148
|
+
const i = t.selectedKeys.filter((o) => o.every((s) => !vt(s))).map((o) => ({ key: o, val: 1 }));
|
|
2152
2149
|
if (i.length)
|
|
2153
2150
|
return {
|
|
2154
2151
|
id: e,
|
|
@@ -2167,7 +2164,7 @@ function Xn({
|
|
|
2167
2164
|
};
|
|
2168
2165
|
}
|
|
2169
2166
|
function Yn(t) {
|
|
2170
|
-
return t ===
|
|
2167
|
+
return t === Tt ? (console.error("Axis value can never be N/A"), "") : t;
|
|
2171
2168
|
}
|
|
2172
2169
|
function ln(t) {
|
|
2173
2170
|
throw new Error("Unexpected object: " + t);
|
|
@@ -2178,7 +2175,7 @@ function R(t) {
|
|
|
2178
2175
|
function ie(t) {
|
|
2179
2176
|
return t.valueType === "String";
|
|
2180
2177
|
}
|
|
2181
|
-
const
|
|
2178
|
+
const Ze = {
|
|
2182
2179
|
lessThan: {
|
|
2183
2180
|
label: "Col < X (Less Than)",
|
|
2184
2181
|
form: {
|
|
@@ -2543,29 +2540,29 @@ const Qe = {
|
|
|
2543
2540
|
}
|
|
2544
2541
|
};
|
|
2545
2542
|
function Qn(t) {
|
|
2546
|
-
return t ? Object.entries(
|
|
2543
|
+
return t ? Object.entries(Ze).filter(([e, n]) => n.supportedFor(t)).map(([e, n]) => ({
|
|
2547
2544
|
label: n.label,
|
|
2548
2545
|
value: e
|
|
2549
2546
|
})) : [];
|
|
2550
2547
|
}
|
|
2551
2548
|
function Zn(t) {
|
|
2552
|
-
return
|
|
2549
|
+
return Ze[t];
|
|
2553
2550
|
}
|
|
2554
|
-
function
|
|
2551
|
+
function we(t) {
|
|
2555
2552
|
if (t.type === "or")
|
|
2556
2553
|
return {
|
|
2557
2554
|
type: "or",
|
|
2558
|
-
filters:
|
|
2555
|
+
filters: Me(t.filters)
|
|
2559
2556
|
};
|
|
2560
2557
|
if (t.type === "and")
|
|
2561
2558
|
return {
|
|
2562
2559
|
type: "and",
|
|
2563
|
-
filters:
|
|
2560
|
+
filters: Me(t.filters)
|
|
2564
2561
|
};
|
|
2565
2562
|
if (t.type === "not")
|
|
2566
2563
|
return {
|
|
2567
2564
|
type: "not",
|
|
2568
|
-
filter:
|
|
2565
|
+
filter: we(t.filter)
|
|
2569
2566
|
};
|
|
2570
2567
|
if (t.type === "isNA")
|
|
2571
2568
|
return {
|
|
@@ -2671,8 +2668,8 @@ function Ae(t) {
|
|
|
2671
2668
|
throw new Error("Filter type is undefined, this should not happen");
|
|
2672
2669
|
ln(t);
|
|
2673
2670
|
}
|
|
2674
|
-
function
|
|
2675
|
-
return t.filter((e) => e.type !== void 0).map(
|
|
2671
|
+
function Me(t) {
|
|
2672
|
+
return t.filter((e) => e.type !== void 0).map(we);
|
|
2676
2673
|
}
|
|
2677
2674
|
function er(t) {
|
|
2678
2675
|
return {
|
|
@@ -2680,7 +2677,7 @@ function er(t) {
|
|
|
2680
2677
|
mode: t.mode,
|
|
2681
2678
|
steps: t.steps.filter((e) => e.filter.type == null ? !1 : e.filter.type === "or" || e.filter.type === "and" ? e.filter.filters.length > 0 : !1).map((e) => ({
|
|
2682
2679
|
label: e.label.trim(),
|
|
2683
|
-
filter:
|
|
2680
|
+
filter: we(e.filter)
|
|
2684
2681
|
}))
|
|
2685
2682
|
};
|
|
2686
2683
|
}
|
|
@@ -2709,14 +2706,14 @@ class tr {
|
|
|
2709
2706
|
}
|
|
2710
2707
|
}
|
|
2711
2708
|
function un(t) {
|
|
2712
|
-
return
|
|
2709
|
+
return Je({
|
|
2713
2710
|
__isRef: !0,
|
|
2714
2711
|
blockId: ae(t, "blockId"),
|
|
2715
2712
|
name: ae(t, "name")
|
|
2716
2713
|
});
|
|
2717
2714
|
}
|
|
2718
2715
|
function nr(t) {
|
|
2719
|
-
return
|
|
2716
|
+
return Je({
|
|
2720
2717
|
ref: un(ae(t, "ref")),
|
|
2721
2718
|
label: ae(t, "label")
|
|
2722
2719
|
});
|
|
@@ -2725,7 +2722,7 @@ const rr = {
|
|
|
2725
2722
|
sdkVersion: X
|
|
2726
2723
|
};
|
|
2727
2724
|
function cn() {
|
|
2728
|
-
return
|
|
2725
|
+
return $e({ sdkVersion: X });
|
|
2729
2726
|
}
|
|
2730
2727
|
function ir(t) {
|
|
2731
2728
|
try {
|
|
@@ -2740,18 +2737,18 @@ function or(t) {
|
|
|
2740
2737
|
}
|
|
2741
2738
|
export {
|
|
2742
2739
|
gn as Args,
|
|
2743
|
-
|
|
2740
|
+
Oe as BlockModel,
|
|
2744
2741
|
rr as CurrentSdkInfo,
|
|
2745
2742
|
L as FutureRef,
|
|
2746
2743
|
tn as IS_VIRTUAL_COLUMN,
|
|
2747
2744
|
bn as It,
|
|
2748
2745
|
Jn as JsRenderInternal,
|
|
2749
|
-
|
|
2746
|
+
Ue as LABEL_ANNOTATION,
|
|
2750
2747
|
nn as LINKER_COLUMN_ANNOTATION,
|
|
2751
2748
|
vn as MainOutputs,
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2749
|
+
St as OutputError,
|
|
2750
|
+
_t as PAnnotationLabel,
|
|
2751
|
+
Lt as PAnnotationTrace,
|
|
2755
2752
|
Q as PColumnCollection,
|
|
2756
2753
|
tr as PFrameImpl,
|
|
2757
2754
|
J as RT_BINARY_PARTITIONED,
|
|
@@ -2761,37 +2758,37 @@ export {
|
|
|
2761
2758
|
le as RT_RESOURCE_MAP,
|
|
2762
2759
|
ue as RT_RESOURCE_MAP_PARTITIONED,
|
|
2763
2760
|
ne as RenderCtx,
|
|
2764
|
-
|
|
2761
|
+
Wt as ResultPool,
|
|
2765
2762
|
Cn as StagingOutputs,
|
|
2766
|
-
|
|
2767
|
-
|
|
2763
|
+
Vt as Trace,
|
|
2764
|
+
Et as TraceEntry,
|
|
2768
2765
|
O as TreeNodeAccessor,
|
|
2769
2766
|
Tn as UiState,
|
|
2770
|
-
|
|
2767
|
+
Xt as allColumnsComputed,
|
|
2771
2768
|
re as allColumnsReady,
|
|
2772
2769
|
In as and,
|
|
2773
2770
|
er as compileAnnotationScript,
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2771
|
+
we as compileFilter,
|
|
2772
|
+
Me as compileFilters,
|
|
2773
|
+
Ut as convertOrParsePColumnData,
|
|
2777
2774
|
zn as createPFrameForGraphs,
|
|
2778
2775
|
Hn as createPlDataTableSheet,
|
|
2779
|
-
|
|
2776
|
+
De as createPlDataTableStateV2,
|
|
2780
2777
|
Gn as createPlDataTableV2,
|
|
2781
2778
|
Xn as createRowSelectionColumn,
|
|
2782
|
-
|
|
2779
|
+
ze as deriveLabels,
|
|
2783
2780
|
me as downgradeCfgOrLambda,
|
|
2784
|
-
|
|
2781
|
+
Ke as enrichCompatible,
|
|
2785
2782
|
Un as extractArchiveAndGetURL,
|
|
2786
2783
|
Wn as extractConfig,
|
|
2787
|
-
|
|
2788
|
-
|
|
2784
|
+
Kt as filterDataInfoEntries,
|
|
2785
|
+
Ze as filterUiMetadata,
|
|
2789
2786
|
wn as flatten,
|
|
2790
2787
|
nr as fromPlOption,
|
|
2791
2788
|
un as fromPlRef,
|
|
2792
|
-
|
|
2789
|
+
zt as getAllLabelColumns,
|
|
2793
2790
|
on as getAvailableWithLinkersAxes,
|
|
2794
|
-
|
|
2791
|
+
kn as getBlobContent,
|
|
2795
2792
|
Dn as getBlobContentAsJson,
|
|
2796
2793
|
On as getBlobContentAsString,
|
|
2797
2794
|
Rn as getDownloadedBlobContent,
|
|
@@ -2805,40 +2802,40 @@ export {
|
|
|
2805
2802
|
Mn as getLastLogs,
|
|
2806
2803
|
rn as getLinkerColumnsMap,
|
|
2807
2804
|
Bn as getLogHandle,
|
|
2808
|
-
|
|
2805
|
+
Re as getMatchingLabelColumns,
|
|
2809
2806
|
Nn as getOnDemandBlobContent,
|
|
2810
|
-
|
|
2807
|
+
Dt as getPartitionKeysList,
|
|
2811
2808
|
ir as getPlatformaOrDefault,
|
|
2812
2809
|
jn as getProgressLog,
|
|
2813
2810
|
qn as getProgressLogWithInfo,
|
|
2814
2811
|
cn as getRawPlatformaInstance,
|
|
2815
2812
|
Ln as getResourceField,
|
|
2816
2813
|
En as getResourceValueAsJson,
|
|
2817
|
-
|
|
2814
|
+
Nt as getUniquePartitionKeys,
|
|
2818
2815
|
ge as ifDef,
|
|
2819
|
-
|
|
2820
|
-
|
|
2816
|
+
Yt as isColumnHidden,
|
|
2817
|
+
Qt as isColumnOptional,
|
|
2821
2818
|
an as isColumnReady,
|
|
2822
|
-
|
|
2819
|
+
Gt as isConfigLambda,
|
|
2823
2820
|
xn as isEmpty,
|
|
2824
2821
|
Se as isLabelColumn,
|
|
2825
|
-
|
|
2822
|
+
Pe as isLinkerColumn,
|
|
2826
2823
|
yn as isolate,
|
|
2827
2824
|
Sn as makeArray,
|
|
2828
|
-
|
|
2829
|
-
|
|
2825
|
+
Qe as makeDefaultPTableParams,
|
|
2826
|
+
Je as makeObject,
|
|
2830
2827
|
An as mapArrayValues,
|
|
2831
2828
|
Yn as mapPTableValueToAxisKey,
|
|
2832
2829
|
Pn as mapRecordValues,
|
|
2833
|
-
|
|
2830
|
+
Vn as mapResourceFields,
|
|
2834
2831
|
Fn as not,
|
|
2835
2832
|
_n as or,
|
|
2836
2833
|
Ce as parsePColumnData,
|
|
2837
2834
|
$n as parseResourceMap,
|
|
2838
|
-
|
|
2835
|
+
Pt as readOutput,
|
|
2839
2836
|
ye as uniqueBy,
|
|
2840
2837
|
ln as unreachable,
|
|
2841
|
-
|
|
2838
|
+
Ht as upgradePlDataTableStateV2,
|
|
2842
2839
|
mn as wrapOutputs
|
|
2843
2840
|
};
|
|
2844
2841
|
//# sourceMappingURL=index.mjs.map
|