@platforma-sdk/ui-vue 1.42.2 → 1.42.4
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 +15 -15
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +15 -0
- package/dist/aggrid.js +4 -4
- package/dist/components/PlAgDataTable/PlAgDataTableSheets.vue2.js +7 -7
- package/dist/components/PlAgDataTable/PlAgDataTableV2.vue2.js +13 -13
- package/dist/components/PlAgDataTable/sources/table-source-v2.d.ts.map +1 -1
- package/dist/components/PlAgDataTable/sources/table-source-v2.js +88 -85
- package/dist/components/PlAgDataTable/sources/table-source-v2.js.map +1 -1
- package/dist/components/PlAgDataTable/sources/table-state-v2.js +6 -6
- package/dist/components/PlAnnotations/components/DynamicForm.vue2.js +10 -10
- package/dist/components/PlAnnotations/components/FilterSidebar.vue2.js +2 -2
- package/dist/components/PlMultiSequenceAlignment/data.js +26 -26
- package/dist/components/PlTableFilters/filters-state.js +2 -2
- package/dist/defineApp.js +16 -16
- package/dist/internal/createAppV2.d.ts.map +1 -1
- package/dist/internal/createAppV2.js +61 -52
- package/dist/internal/createAppV2.js.map +1 -1
- package/dist/lib/model/common/dist/index.js +329 -317
- package/dist/lib/model/common/dist/index.js.map +1 -1
- package/dist/lib/ui/uikit/dist/components/PlAccordion/{ExpandTransition.vue2.js → ExpandTransition.vue.js} +1 -1
- package/dist/lib/ui/uikit/dist/components/PlAccordion/ExpandTransition.vue.js.map +1 -0
- package/dist/lib/ui/uikit/dist/components/PlAccordion/PlAccordionSection.vue2.js +1 -1
- package/dist/lib/ui/uikit/dist/components/PlFileInput/PlFileInput.vue.js +16 -16
- package/dist/lib/ui/uikit/dist/components/PlFileInput/PlFileInput.vue.js.map +1 -1
- package/dist/lib/ui/uikit/dist/lib/model/common/dist/index.js +8 -8
- package/dist/lib/ui/uikit/dist/lib/model/common/dist/index.js.map +1 -1
- package/dist/lib/ui/uikit/dist/sdk/model/dist/index.js +18 -18
- package/dist/lib/ui/uikit/dist/sdk/model/dist/index.js.map +1 -1
- package/dist/node_modules/.pnpm/@vueuse_core@13.3.0_vue@3.5.13_typescript@5.6.3_/node_modules/@vueuse/core/index.js +44 -41
- package/dist/node_modules/.pnpm/@vueuse_shared@13.3.0_vue@3.5.13_typescript@5.6.3_/node_modules/@vueuse/shared/index.js +122 -67
- package/dist/node_modules/.pnpm/@vueuse_shared@13.3.0_vue@3.5.13_typescript@5.6.3_/node_modules/@vueuse/shared/index.js.map +1 -1
- package/dist/sdk/model/dist/index.js +198 -206
- package/dist/sdk/model/dist/index.js.map +1 -1
- package/package.json +7 -7
- package/src/components/PlAgDataTable/sources/table-source-v2.ts +9 -6
- package/src/internal/createAppV2.ts +22 -13
- package/dist/lib/ui/uikit/dist/components/PlAccordion/ExpandTransition.vue2.js.map +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { isPTableAbsent as ke, uniquePlId as Ne,
|
|
2
|
-
import { PTableAbsent as
|
|
1
|
+
import { isPTableAbsent as ke, uniquePlId as Ne, isDataInfo as ue, extractAllColumns as De, mapPTableDef as Re, selectorsToPredicate as W, withEnrichments as ce, AnchoredIdDeriver as fe, isPlRef as Ue, mapValueInVOE as $e, mapPObjectData as pe, ensurePColumn as Ke, isPColumnSpec as Y, isPColumn as Ce, resolveAnchors as he, deriveNativeId as je, isPartitionedDataInfoEntries as Be, getAxisId as ge, entriesToDataInfo as Je, isDataInfoEntries as _e, dataInfoToEntries as Me, canonicalizeAxisId as qe, mapDataInfo as We } from "../../../lib/model/common/dist/index.js";
|
|
2
|
+
import { PTableAbsent as $t, PTableNA as Kt, PlId as jt, PlIdBytes as Bt, PlIdLength as Jt, canonicalizeJson as Mt, deserializeError as qt, ensureError as Wt, getAxesId as Ht, getPTableColumnId as Xt, hasAbortError as zt, isPTableNA as Gt, isPTableValueAxis as Yt, mapJoinEntry as Qt, matchAxis as Zt, matchAxisId as en, matchPColumn as tn, pTableValue as nn, parseJson as rn, stringifyColumnId as sn, unwrapResult as an } from "../../../lib/model/common/dist/index.js";
|
|
3
3
|
import Se from "../../../_virtual/canonicalize.js";
|
|
4
4
|
import U from "../../../node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.js";
|
|
5
|
-
import { BasePlErrorLike as
|
|
6
|
-
var
|
|
5
|
+
import { BasePlErrorLike as ln, ErrorLike as un, PlErrorLike as pn, StandardErrorLike as dn, ensureErrorLike as cn } from "../../../lib/model/pl-error-like/dist/index.js";
|
|
6
|
+
var He = Object.defineProperty, Xe = (n, e, t) => e in n ? He(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, w = (n, e, t) => Xe(n, typeof e != "symbol" ? e + "" : e, t);
|
|
7
7
|
function ee(n) {
|
|
8
8
|
return { type: "Immediate", value: n };
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function ze() {
|
|
11
11
|
return typeof globalThis.getPlatforma < "u" || typeof globalThis.platforma < "u";
|
|
12
12
|
}
|
|
13
13
|
function we(n) {
|
|
@@ -16,7 +16,7 @@ function we(n) {
|
|
|
16
16
|
if (typeof globalThis.platforma < "u") return globalThis.platforma;
|
|
17
17
|
throw new Error("Can't get platforma instance.");
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function Ge() {
|
|
20
20
|
if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
|
|
21
21
|
}
|
|
22
22
|
function p() {
|
|
@@ -24,7 +24,7 @@ function p() {
|
|
|
24
24
|
throw new Error("Not in config rendering context");
|
|
25
25
|
}
|
|
26
26
|
function J(n, e) {
|
|
27
|
-
const t =
|
|
27
|
+
const t = Ge();
|
|
28
28
|
if (t === void 0) return !1;
|
|
29
29
|
if (n in t.callbackRegistry) throw new Error(`Callback with key ${n} already registered.`);
|
|
30
30
|
return t.callbackRegistry[n] = e, !0;
|
|
@@ -58,7 +58,7 @@ class P {
|
|
|
58
58
|
function ie(n, e) {
|
|
59
59
|
return n === void 0 ? void 0 : e(n);
|
|
60
60
|
}
|
|
61
|
-
class
|
|
61
|
+
class I {
|
|
62
62
|
constructor(e, t) {
|
|
63
63
|
this.handle = e, this.resolvePath = t;
|
|
64
64
|
}
|
|
@@ -99,7 +99,7 @@ class A {
|
|
|
99
99
|
];
|
|
100
100
|
return ie(
|
|
101
101
|
p().resolveWithCommon(this.handle, e, ...t),
|
|
102
|
-
(i) => new
|
|
102
|
+
(i) => new I(i, r)
|
|
103
103
|
);
|
|
104
104
|
}
|
|
105
105
|
get resourceType() {
|
|
@@ -121,7 +121,7 @@ class A {
|
|
|
121
121
|
const e = [...this.resolvePath, "error"];
|
|
122
122
|
return ie(
|
|
123
123
|
p().getError(this.handle),
|
|
124
|
-
(t) => new
|
|
124
|
+
(t) => new I(t, e)
|
|
125
125
|
);
|
|
126
126
|
}
|
|
127
127
|
listInputFields() {
|
|
@@ -179,7 +179,7 @@ class A {
|
|
|
179
179
|
const i = {};
|
|
180
180
|
for (const [s, a] of Object.entries(r)) {
|
|
181
181
|
const o = [...this.resolvePath, s];
|
|
182
|
-
i[s] = pe(a, (l) => new
|
|
182
|
+
i[s] = pe(a, (l) => new I(l, o));
|
|
183
183
|
}
|
|
184
184
|
return i;
|
|
185
185
|
}
|
|
@@ -278,25 +278,25 @@ class A {
|
|
|
278
278
|
return s && (o = o.filter((l) => l[1] !== void 0)), o.map(([l, y]) => a(l, y));
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
|
-
const
|
|
281
|
+
const Qe = "staging", Ze = "main", et = "pl7.app/label", tt = "pl7.app/trace", nt = U.object({
|
|
282
282
|
type: U.string(),
|
|
283
283
|
importance: U.number().optional(),
|
|
284
284
|
id: U.string().optional(),
|
|
285
285
|
label: U.string()
|
|
286
|
-
}),
|
|
287
|
-
function
|
|
286
|
+
}), rt = U.array(nt), it = 1e-3, st = "__LABEL__", me = "__LABEL__@1";
|
|
287
|
+
function Ie(n, e, t = {}) {
|
|
288
288
|
const r = /* @__PURE__ */ new Map(), i = t.forceTraceElements !== void 0 && t.forceTraceElements.length > 0 ? new Set(t.forceTraceElements) : void 0, s = /* @__PURE__ */ new Map(), a = n.map((h) => {
|
|
289
289
|
var C, u;
|
|
290
290
|
const d = e(h);
|
|
291
|
-
let b,
|
|
292
|
-
"spec" in d && typeof d.spec == "object" ? (b = d.spec,
|
|
293
|
-
const c = (C = b.annotations) == null ? void 0 : C[
|
|
294
|
-
...
|
|
291
|
+
let b, A, F;
|
|
292
|
+
"spec" in d && typeof d.spec == "object" ? (b = d.spec, A = d.prefixTrace, F = d.suffixTrace) : b = d;
|
|
293
|
+
const c = (C = b.annotations) == null ? void 0 : C[et], _ = (u = b.annotations) == null ? void 0 : u[tt], f = (_ ? rt.safeParse(JSON.parse(_)).data : void 0) ?? [], g = [
|
|
294
|
+
...A ?? [],
|
|
295
295
|
...f,
|
|
296
|
-
...
|
|
296
|
+
...F ?? []
|
|
297
297
|
];
|
|
298
298
|
if (c !== void 0) {
|
|
299
|
-
const S = { label: c, type:
|
|
299
|
+
const S = { label: c, type: st, importance: -2 };
|
|
300
300
|
t.addLabelAsSuffix ? g.push(S) : g.splice(0, 0, S);
|
|
301
301
|
}
|
|
302
302
|
const m = [], L = /* @__PURE__ */ new Map();
|
|
@@ -308,7 +308,7 @@ function Ae(n, e, t = {}) {
|
|
|
308
308
|
O,
|
|
309
309
|
Math.max(
|
|
310
310
|
r.get(O) ?? Number.NEGATIVE_INFINITY,
|
|
311
|
-
k - (g.length - S) *
|
|
311
|
+
k - (g.length - S) * it
|
|
312
312
|
)
|
|
313
313
|
), m.push({ ...g[S], fullType: O, occurrenceIndex: D });
|
|
314
314
|
}
|
|
@@ -325,17 +325,17 @@ function Ae(n, e, t = {}) {
|
|
|
325
325
|
const K = (h, C = !1) => {
|
|
326
326
|
const u = [];
|
|
327
327
|
for (let d = 0; d < a.length; d++) {
|
|
328
|
-
const b = a[d],
|
|
329
|
-
if (
|
|
328
|
+
const b = a[d], A = b.fullTrace.filter((_) => h.has(_.fullType) || i && i.has(_.type));
|
|
329
|
+
if (A.length === 0)
|
|
330
330
|
if (C)
|
|
331
331
|
u.push({
|
|
332
332
|
label: "Unlabeled",
|
|
333
333
|
value: b.value
|
|
334
334
|
});
|
|
335
335
|
else return;
|
|
336
|
-
const
|
|
336
|
+
const F = A.map((_) => _.label), c = t.separator ?? " / ";
|
|
337
337
|
u.push({
|
|
338
|
-
label:
|
|
338
|
+
label: F.join(c),
|
|
339
339
|
value: b.value
|
|
340
340
|
});
|
|
341
341
|
}
|
|
@@ -357,14 +357,14 @@ function Ae(n, e, t = {}) {
|
|
|
357
357
|
}
|
|
358
358
|
return K(/* @__PURE__ */ new Set([...o, ...l]), !0);
|
|
359
359
|
}
|
|
360
|
-
const H = "PColumnData/", se = H + "ResourceMap", ae = H + "Partitioned/ResourceMap",
|
|
360
|
+
const H = "PColumnData/", se = H + "ResourceMap", ae = H + "Partitioned/ResourceMap", M = H + "JsonPartitioned", $ = H + "BinaryPartitioned", Ae = H + "Partitioned/", Z = Ae + "JsonPartitioned", q = Ae + "BinaryPartitioned", oe = (n) => {
|
|
361
361
|
if (n.endsWith(".index"))
|
|
362
362
|
return { baseKey: n.substring(0, n.length - 6), type: "index" };
|
|
363
363
|
if (n.endsWith(".values"))
|
|
364
364
|
return { baseKey: n.substring(0, n.length - 7), type: "values" };
|
|
365
365
|
throw new Error(`key must ends on .index/.values for binary p-column, got: ${n}`);
|
|
366
366
|
};
|
|
367
|
-
function
|
|
367
|
+
function at(n) {
|
|
368
368
|
if (!n) return;
|
|
369
369
|
const e = n.resourceType.name, t = n.getDataAsJson(), r = [];
|
|
370
370
|
let i = 0;
|
|
@@ -375,18 +375,18 @@ function ot(n) {
|
|
|
375
375
|
case ae:
|
|
376
376
|
i = t.partitionKeyLength + t.keyLength;
|
|
377
377
|
break;
|
|
378
|
-
case
|
|
378
|
+
case M:
|
|
379
379
|
case $:
|
|
380
380
|
i = t.partitionKeyLength;
|
|
381
381
|
break;
|
|
382
|
-
case
|
|
382
|
+
case q:
|
|
383
383
|
case Z:
|
|
384
384
|
i = t.superPartitionKeyLength + t.partitionKeyLength;
|
|
385
385
|
break;
|
|
386
386
|
}
|
|
387
387
|
switch (e) {
|
|
388
388
|
case se:
|
|
389
|
-
case
|
|
389
|
+
case M:
|
|
390
390
|
case $:
|
|
391
391
|
for (let s of n.listInputFields()) {
|
|
392
392
|
e === $ && (s = oe(s).baseKey);
|
|
@@ -395,13 +395,13 @@ function ot(n) {
|
|
|
395
395
|
}
|
|
396
396
|
break;
|
|
397
397
|
case ae:
|
|
398
|
-
case
|
|
398
|
+
case q:
|
|
399
399
|
case Z:
|
|
400
400
|
for (const s of n.listInputFields()) {
|
|
401
401
|
const a = [...JSON.parse(s)], o = n.resolve({ field: s, assertFieldType: "Input" });
|
|
402
402
|
if (o !== void 0)
|
|
403
403
|
for (let l of o.listInputFields()) {
|
|
404
|
-
e ===
|
|
404
|
+
e === q && (l = oe(l).baseKey);
|
|
405
405
|
const y = [...a, ...JSON.parse(l)];
|
|
406
406
|
r.push(y);
|
|
407
407
|
}
|
|
@@ -410,7 +410,7 @@ function ot(n) {
|
|
|
410
410
|
}
|
|
411
411
|
return { data: r, keyLength: i };
|
|
412
412
|
}
|
|
413
|
-
function
|
|
413
|
+
function ot(n) {
|
|
414
414
|
if (n.type !== "JsonPartitioned" && n.type !== "BinaryPartitioned")
|
|
415
415
|
throw new Error(`Splitting requires Partitioned DataInfoEntries, got ${n.type}`);
|
|
416
416
|
const { parts: e, partitionKeyLength: t } = n, r = [];
|
|
@@ -429,11 +429,11 @@ function lt(n) {
|
|
|
429
429
|
}
|
|
430
430
|
return r.map((i) => Array.from(i.values()));
|
|
431
431
|
}
|
|
432
|
-
function
|
|
432
|
+
function lt(n) {
|
|
433
433
|
if (n === void 0) return;
|
|
434
434
|
if (_e(n))
|
|
435
|
-
return
|
|
436
|
-
const e =
|
|
435
|
+
return ot(n);
|
|
436
|
+
const e = at(n);
|
|
437
437
|
if (!e) return;
|
|
438
438
|
const { data: t, keyLength: r } = e, i = [];
|
|
439
439
|
for (let s = 0; s < r; ++s)
|
|
@@ -449,13 +449,13 @@ function ut(n) {
|
|
|
449
449
|
function le(n, e = []) {
|
|
450
450
|
if (n === void 0 || !n.getIsReadyOrError()) return;
|
|
451
451
|
const t = n.resourceType.name, r = n.getDataAsJson();
|
|
452
|
-
if (e.length > 0 && (t === Z || t ===
|
|
452
|
+
if (e.length > 0 && (t === Z || t === q))
|
|
453
453
|
throw new Error(`Unexpected nested super-partitioned resource: ${t}`);
|
|
454
454
|
switch (t) {
|
|
455
455
|
case se:
|
|
456
456
|
case ae:
|
|
457
457
|
throw new Error(`Only data columns are supported, got: ${t}`);
|
|
458
|
-
case
|
|
458
|
+
case M: {
|
|
459
459
|
if (typeof (r == null ? void 0 : r.partitionKeyLength) != "number")
|
|
460
460
|
throw new Error(`Missing partitionKeyLength in metadata for ${t}`);
|
|
461
461
|
const i = [];
|
|
@@ -505,8 +505,8 @@ function le(n, e = []) {
|
|
|
505
505
|
for (const a of n.listInputFields()) {
|
|
506
506
|
const o = n.resolve({ field: a, assertFieldType: "Input" });
|
|
507
507
|
if (o === void 0) return;
|
|
508
|
-
if (o.resourceType.name !==
|
|
509
|
-
throw new Error(`Expected ${
|
|
508
|
+
if (o.resourceType.name !== M)
|
|
509
|
+
throw new Error(`Expected ${M} inside ${t}, but got ${o.resourceType.name}`);
|
|
510
510
|
const l = le(o, JSON.parse(a));
|
|
511
511
|
if (l === void 0) return;
|
|
512
512
|
if (l.type !== "JsonPartitioned")
|
|
@@ -519,7 +519,7 @@ function le(n, e = []) {
|
|
|
519
519
|
parts: s
|
|
520
520
|
};
|
|
521
521
|
}
|
|
522
|
-
case
|
|
522
|
+
case q: {
|
|
523
523
|
if (typeof (r == null ? void 0 : r.superPartitionKeyLength) != "number" || typeof (r == null ? void 0 : r.partitionKeyLength) != "number")
|
|
524
524
|
throw new Error(`Missing superPartitionKeyLength or partitionKeyLength in metadata for ${t}`);
|
|
525
525
|
const i = r.superPartitionKeyLength + r.partitionKeyLength, s = [];
|
|
@@ -544,15 +544,15 @@ function le(n, e = []) {
|
|
|
544
544
|
throw new Error(`Unknown resource type: ${t}`);
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
|
-
function
|
|
547
|
+
function ut(n) {
|
|
548
548
|
if (n !== void 0) {
|
|
549
549
|
if (_e(n)) return n;
|
|
550
550
|
if (ue(n)) return Me(n);
|
|
551
|
-
if (n instanceof
|
|
551
|
+
if (n instanceof I) return le(n);
|
|
552
552
|
throw new Error(`Unexpected input type: ${typeof n}`);
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
|
-
function
|
|
555
|
+
function pt(n, e) {
|
|
556
556
|
const t = [...e].sort((s, a) => a[0] - s[0]);
|
|
557
557
|
if (n.type === "JsonPartitioned" || n.type === "BinaryPartitioned") {
|
|
558
558
|
const { partitionKeyLength: s } = n;
|
|
@@ -612,13 +612,13 @@ function dt(n, e) {
|
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
|
-
function
|
|
615
|
+
function dt(n) {
|
|
616
616
|
if (!Array.isArray(n)) return !1;
|
|
617
617
|
if (n.length === 0) return !0;
|
|
618
618
|
const e = n[0];
|
|
619
619
|
return typeof e == "object" && e !== null && "key" in e && "val" in e;
|
|
620
620
|
}
|
|
621
|
-
class
|
|
621
|
+
class ct {
|
|
622
622
|
constructor(e) {
|
|
623
623
|
this.columns = e;
|
|
624
624
|
}
|
|
@@ -627,20 +627,20 @@ class ft {
|
|
|
627
627
|
return this.columns.filter((r) => t(r.spec));
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
|
-
function
|
|
630
|
+
function ft(n) {
|
|
631
631
|
if (n)
|
|
632
632
|
return n.map((e) => ({
|
|
633
|
-
type: `split:${
|
|
633
|
+
type: `split:${qe(e.axisId)}`,
|
|
634
634
|
label: e.label,
|
|
635
635
|
importance: 1e6
|
|
636
636
|
// High importance for split filters in labels
|
|
637
637
|
}));
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function ht(n) {
|
|
640
640
|
if (n)
|
|
641
641
|
return n.map((e) => [e.axisIdx, e.value]);
|
|
642
642
|
}
|
|
643
|
-
function
|
|
643
|
+
function gt(n, e) {
|
|
644
644
|
if (!e || e.length === 0) return n;
|
|
645
645
|
const t = [...e].sort((r, i) => r[0] - i[0]);
|
|
646
646
|
return Se({ id: n, axisFilters: t });
|
|
@@ -650,7 +650,7 @@ function ye(n) {
|
|
|
650
650
|
const e = n, t = 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);
|
|
651
651
|
return !!e.domainAnchor || t || r;
|
|
652
652
|
}
|
|
653
|
-
function
|
|
653
|
+
function mt(n) {
|
|
654
654
|
if (typeof n != "object" || !("axes" in n) || n.axes === void 0)
|
|
655
655
|
return [];
|
|
656
656
|
const e = n.axes.map((t, r) => typeof t == "object" && "split" in t && t.split === !0 ? r : -1).filter((t) => t !== -1);
|
|
@@ -660,7 +660,7 @@ function yt(n) {
|
|
|
660
660
|
}
|
|
661
661
|
class be {
|
|
662
662
|
constructor() {
|
|
663
|
-
w(this, "defaultProviderStore", []), w(this, "providers", [new
|
|
663
|
+
w(this, "defaultProviderStore", []), w(this, "providers", [new ct(this.defaultProviderStore)]), w(this, "axisLabelProviders", []);
|
|
664
664
|
}
|
|
665
665
|
addColumnProvider(e) {
|
|
666
666
|
return this.providers.push(e), this;
|
|
@@ -708,33 +708,33 @@ class be {
|
|
|
708
708
|
b = he(r.anchors, u, t);
|
|
709
709
|
} else
|
|
710
710
|
b = u;
|
|
711
|
-
const
|
|
711
|
+
const A = /* @__PURE__ */ new Set(), F = [];
|
|
712
712
|
for (const f of this.providers) {
|
|
713
713
|
const g = f.selectColumns(b);
|
|
714
714
|
for (const m of g) {
|
|
715
715
|
if (y(m.spec)) continue;
|
|
716
|
-
if (
|
|
716
|
+
if (A.has(m.id))
|
|
717
717
|
throw new Error(`Duplicate column id ${m.id} in provider ${f.constructor.name}`);
|
|
718
|
-
const L =
|
|
719
|
-
V.has(L) || (
|
|
718
|
+
const L = je(m.spec);
|
|
719
|
+
V.has(L) || (A.add(m.id), V.add(L), F.push(m));
|
|
720
720
|
}
|
|
721
721
|
}
|
|
722
|
-
if (
|
|
723
|
-
const c =
|
|
724
|
-
for (const f of
|
|
725
|
-
if (!
|
|
722
|
+
if (F.length === 0) continue;
|
|
723
|
+
const c = mt(u), _ = c.length > 0;
|
|
724
|
+
for (const f of F) {
|
|
725
|
+
if (!Y(f.spec)) continue;
|
|
726
726
|
const g = f.spec;
|
|
727
727
|
if (_) {
|
|
728
|
-
if (
|
|
728
|
+
if (dt(f.data))
|
|
729
729
|
throw new Error(`Splitting is not supported for PColumns with PColumnValues data format. Column id: ${f.id}`);
|
|
730
|
-
const m =
|
|
730
|
+
const m = ut(f.data);
|
|
731
731
|
if (!m) {
|
|
732
732
|
if (s) continue;
|
|
733
733
|
return;
|
|
734
734
|
}
|
|
735
|
-
if (!
|
|
735
|
+
if (!Be(m))
|
|
736
736
|
throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${m.type} for column ${f.id}`);
|
|
737
|
-
const L =
|
|
737
|
+
const L = lt(m), S = c[c.length - 1];
|
|
738
738
|
if (S >= m.partitionKeyLength)
|
|
739
739
|
throw new Error(`Not enough partition keys (${m.partitionKeyLength}) for requested split axes (max index ${S}) in column ${g.name}`);
|
|
740
740
|
const j = c.map((T) => this.findLabels(ge(g.axesSpec[T]))), k = [], D = (T, B) => {
|
|
@@ -751,8 +751,8 @@ class be {
|
|
|
751
751
|
k.length = 0;
|
|
752
752
|
return;
|
|
753
753
|
}
|
|
754
|
-
for (const
|
|
755
|
-
T.push(
|
|
754
|
+
for (const X of R)
|
|
755
|
+
T.push(X), D(T, B + 1), T.pop();
|
|
756
756
|
};
|
|
757
757
|
if (D([], 0), k.length === 0)
|
|
758
758
|
continue;
|
|
@@ -762,8 +762,8 @@ class be {
|
|
|
762
762
|
const Le = { ...g, axesSpec: O };
|
|
763
763
|
for (const T of k) {
|
|
764
764
|
const B = T.map((N, R) => {
|
|
765
|
-
const
|
|
766
|
-
return { axisIdx:
|
|
765
|
+
const X = Ee[R], Ve = ge(g.axesSpec[X]), de = j[R], Oe = (de == null ? void 0 : de[N]) ?? String(N);
|
|
766
|
+
return { axisIdx: X, axisId: Ve, value: N, label: Oe };
|
|
767
767
|
});
|
|
768
768
|
E.push({
|
|
769
769
|
type: "split",
|
|
@@ -784,18 +784,18 @@ class be {
|
|
|
784
784
|
}
|
|
785
785
|
}
|
|
786
786
|
if (E.length === 0) return [];
|
|
787
|
-
const h =
|
|
787
|
+
const h = Ie(
|
|
788
788
|
E,
|
|
789
789
|
(u) => ({
|
|
790
790
|
spec: u.spec,
|
|
791
|
-
suffixTrace: u.type === "split" ?
|
|
791
|
+
suffixTrace: u.type === "split" ? ft(u.axisFilters) : void 0
|
|
792
792
|
}),
|
|
793
793
|
l
|
|
794
794
|
), C = [];
|
|
795
795
|
for (const { value: u, label: d } of h) {
|
|
796
|
-
const { originalColumn: b, spec:
|
|
796
|
+
const { originalColumn: b, spec: A } = u, F = u.type === "split" ? u.axisFilters : void 0, c = ht(F);
|
|
797
797
|
let _;
|
|
798
|
-
r ? _ = r.deriveS(
|
|
798
|
+
r ? _ = r.deriveS(A, c) : _ = gt(b.id, c);
|
|
799
799
|
let f = { ...u.adjustedSpec };
|
|
800
800
|
a && (f = {
|
|
801
801
|
...f,
|
|
@@ -806,7 +806,7 @@ class be {
|
|
|
806
806
|
}), C.push({
|
|
807
807
|
id: _,
|
|
808
808
|
spec: f,
|
|
809
|
-
data: () => u.type === "split" ?
|
|
809
|
+
data: () => u.type === "split" ? Je(pt(u.dataEntries, c)) : u.originalColumn.data,
|
|
810
810
|
label: d
|
|
811
811
|
});
|
|
812
812
|
}
|
|
@@ -876,9 +876,9 @@ function ne(n, e) {
|
|
|
876
876
|
return !0;
|
|
877
877
|
}
|
|
878
878
|
function Te(n) {
|
|
879
|
-
return pe(n, (e) => e instanceof
|
|
879
|
+
return pe(n, (e) => e instanceof I ? e.handle : ue(e) ? We(e, (t) => t.handle) : e);
|
|
880
880
|
}
|
|
881
|
-
class
|
|
881
|
+
class yt {
|
|
882
882
|
constructor() {
|
|
883
883
|
w(this, "ctx", p());
|
|
884
884
|
}
|
|
@@ -891,7 +891,7 @@ class bt {
|
|
|
891
891
|
getOptions(e, t) {
|
|
892
892
|
const r = typeof e == "function" ? e : W(e), i = this.getSpecs().entries.filter((o) => r(o.obj));
|
|
893
893
|
let s = {}, a = !1;
|
|
894
|
-
return typeof t < "u" && (typeof t == "function" ? s = t : typeof t == "object" && ("includeNativeLabel" in t || "separator" in t || "addLabelAsSuffix" in t ? s = t : (t = t, s = t.label ?? {}, a = t.refsWithEnrichments ?? !1))), typeof s == "object" ?
|
|
894
|
+
return typeof t < "u" && (typeof t == "function" ? s = t : typeof t == "object" && ("includeNativeLabel" in t || "separator" in t || "addLabelAsSuffix" in t ? s = t : (t = t, s = t.label ?? {}, a = t.refsWithEnrichments ?? !1))), typeof s == "object" ? Ie(i, (o) => o.obj, s ?? {}).map(({ value: { ref: o }, label: l }) => ({
|
|
895
895
|
ref: ce(o, a),
|
|
896
896
|
label: l
|
|
897
897
|
})) : i.map(({ ref: o, obj: l }) => ({
|
|
@@ -903,7 +903,7 @@ class bt {
|
|
|
903
903
|
if (e instanceof fe) return e;
|
|
904
904
|
const t = {};
|
|
905
905
|
for (const [r, i] of Object.entries(e))
|
|
906
|
-
if (
|
|
906
|
+
if (Ue(i)) {
|
|
907
907
|
const s = this.getPColumnSpecByRef(i);
|
|
908
908
|
if (!s)
|
|
909
909
|
return;
|
|
@@ -984,7 +984,7 @@ class bt {
|
|
|
984
984
|
ref: t.ref,
|
|
985
985
|
obj: {
|
|
986
986
|
...t.obj,
|
|
987
|
-
data: new
|
|
987
|
+
data: new I(t.obj.data, [t.ref.blockId, t.ref.name])
|
|
988
988
|
}
|
|
989
989
|
}))
|
|
990
990
|
};
|
|
@@ -1003,9 +1003,9 @@ class bt {
|
|
|
1003
1003
|
ref: t.ref,
|
|
1004
1004
|
obj: {
|
|
1005
1005
|
...t.obj,
|
|
1006
|
-
data:
|
|
1006
|
+
data: $e(
|
|
1007
1007
|
t.obj.data,
|
|
1008
|
-
(r) => new
|
|
1008
|
+
(r) => new I(r, [t.ref.blockId, t.ref.name])
|
|
1009
1009
|
)
|
|
1010
1010
|
}
|
|
1011
1011
|
}))
|
|
@@ -1034,7 +1034,7 @@ class bt {
|
|
|
1034
1034
|
if (r)
|
|
1035
1035
|
return pe(
|
|
1036
1036
|
r,
|
|
1037
|
-
(i) => new
|
|
1037
|
+
(i) => new I(i, [e.blockId, e.name])
|
|
1038
1038
|
);
|
|
1039
1039
|
}
|
|
1040
1040
|
/**
|
|
@@ -1045,7 +1045,7 @@ class bt {
|
|
|
1045
1045
|
getPColumnByRef(e) {
|
|
1046
1046
|
const t = this.getDataByRef(e);
|
|
1047
1047
|
if (t)
|
|
1048
|
-
return
|
|
1048
|
+
return Ke(t);
|
|
1049
1049
|
}
|
|
1050
1050
|
/**
|
|
1051
1051
|
* Returns spec associated with the ref ensuring that it is a p-column spec.
|
|
@@ -1055,7 +1055,7 @@ class bt {
|
|
|
1055
1055
|
getPColumnSpecByRef(e) {
|
|
1056
1056
|
const t = this.getSpecByRef(e);
|
|
1057
1057
|
if (t) {
|
|
1058
|
-
if (!
|
|
1058
|
+
if (!Y(t)) throw new Error(`not a PColumn spec (kind = ${t.kind})`);
|
|
1059
1059
|
return t;
|
|
1060
1060
|
}
|
|
1061
1061
|
}
|
|
@@ -1074,7 +1074,7 @@ class bt {
|
|
|
1074
1074
|
findDataWithCompatibleSpec(e) {
|
|
1075
1075
|
const t = [];
|
|
1076
1076
|
e: for (const r of this.getData().entries) {
|
|
1077
|
-
if (!
|
|
1077
|
+
if (!Y(r.obj.spec))
|
|
1078
1078
|
continue;
|
|
1079
1079
|
const i = r.obj.spec;
|
|
1080
1080
|
if (e.name === i.name && e.valueType === i.valueType && e.axesSpec.length === i.axesSpec.length && ne(e.domain, i.domain)) {
|
|
@@ -1117,7 +1117,7 @@ class bt {
|
|
|
1117
1117
|
*/
|
|
1118
1118
|
selectColumns(e) {
|
|
1119
1119
|
const t = typeof e == "function" ? e : W(e);
|
|
1120
|
-
return this.getSpecs().entries.filter(({ obj: r }) =>
|
|
1120
|
+
return this.getSpecs().entries.filter(({ obj: r }) => Y(r) ? t(r) : !1).map(({ ref: r, obj: i }) => {
|
|
1121
1121
|
const s = i;
|
|
1122
1122
|
let a = null;
|
|
1123
1123
|
const o = this;
|
|
@@ -1147,9 +1147,9 @@ class bt {
|
|
|
1147
1147
|
return i;
|
|
1148
1148
|
}
|
|
1149
1149
|
}
|
|
1150
|
-
class
|
|
1150
|
+
class z {
|
|
1151
1151
|
constructor() {
|
|
1152
|
-
w(this, "ctx"), w(this, "_argsCache"), w(this, "_uiStateCache"), w(this, "_activeArgsCache"), w(this, "resultPool", new
|
|
1152
|
+
w(this, "ctx"), w(this, "_argsCache"), w(this, "_uiStateCache"), w(this, "_activeArgsCache"), w(this, "resultPool", new yt()), this.ctx = p();
|
|
1153
1153
|
}
|
|
1154
1154
|
get args() {
|
|
1155
1155
|
if (this._argsCache === void 0) {
|
|
@@ -1185,14 +1185,14 @@ class X {
|
|
|
1185
1185
|
getNamedAccessor(e) {
|
|
1186
1186
|
return ie(
|
|
1187
1187
|
this.ctx.getAccessorHandleByName(e),
|
|
1188
|
-
(t) => new
|
|
1188
|
+
(t) => new I(t, [e])
|
|
1189
1189
|
);
|
|
1190
1190
|
}
|
|
1191
1191
|
get prerun() {
|
|
1192
|
-
return this.getNamedAccessor(
|
|
1192
|
+
return this.getNamedAccessor(Qe);
|
|
1193
1193
|
}
|
|
1194
1194
|
get outputs() {
|
|
1195
|
-
return this.getNamedAccessor(
|
|
1195
|
+
return this.getNamedAccessor(Ze);
|
|
1196
1196
|
}
|
|
1197
1197
|
/**
|
|
1198
1198
|
* Find labels data for a given axis id. It will search for a label column and return its data as a map.
|
|
@@ -1204,7 +1204,7 @@ class X {
|
|
|
1204
1204
|
}
|
|
1205
1205
|
verifyInlineAndExplicitColumnsSupport(e) {
|
|
1206
1206
|
var t;
|
|
1207
|
-
const r = e.some((s) => !(s.data instanceof
|
|
1207
|
+
const r = e.some((s) => !(s.data instanceof I) || ue(s.data)), i = ((t = this.ctx.featureFlags) == null ? void 0 : t.inlineColumnsSupport) === !0;
|
|
1208
1208
|
if (r && !i) throw Error("Inline or explicit columns not supported");
|
|
1209
1209
|
}
|
|
1210
1210
|
patchPTableDef(e) {
|
|
@@ -1235,8 +1235,8 @@ class X {
|
|
|
1235
1235
|
partitionFilters: e.filters ?? [],
|
|
1236
1236
|
filters: [],
|
|
1237
1237
|
sorting: e.sorting ?? []
|
|
1238
|
-
}) : t = this.patchPTableDef(e), this.verifyInlineAndExplicitColumnsSupport(
|
|
1239
|
-
|
|
1238
|
+
}) : t = this.patchPTableDef(e), this.verifyInlineAndExplicitColumnsSupport(De(t.src)), this.ctx.createPTable(
|
|
1239
|
+
Re(t, (r) => Te(r))
|
|
1240
1240
|
);
|
|
1241
1241
|
}
|
|
1242
1242
|
/** @deprecated scheduled for removal from SDK */
|
|
@@ -1256,15 +1256,15 @@ class X {
|
|
|
1256
1256
|
this.ctx.logError(e);
|
|
1257
1257
|
}
|
|
1258
1258
|
}
|
|
1259
|
-
const
|
|
1260
|
-
function
|
|
1259
|
+
const bt = "1.42.4", Q = bt;
|
|
1260
|
+
function vt(n) {
|
|
1261
1261
|
return n.__renderLambda === !0;
|
|
1262
1262
|
}
|
|
1263
1263
|
function re(n) {
|
|
1264
1264
|
if (n !== void 0)
|
|
1265
|
-
return
|
|
1265
|
+
return vt(n) ? n.handle : n;
|
|
1266
1266
|
}
|
|
1267
|
-
const
|
|
1267
|
+
const Tt = class v {
|
|
1268
1268
|
constructor(e, t, r, i, s, a, o, l, y) {
|
|
1269
1269
|
this._renderingMode = e, this._initialArgs = t, this._initialUiState = r, this._outputs = i, this._inputsValid = s, this._sections = a, this._title = o, this._enrichmentTargets = l, this._featureFlags = y;
|
|
1270
1270
|
}
|
|
@@ -1284,7 +1284,7 @@ const Pt = class v {
|
|
|
1284
1284
|
output(e, t, r = {}) {
|
|
1285
1285
|
if (typeof t == "function") {
|
|
1286
1286
|
const i = `output#${e}`;
|
|
1287
|
-
return J(i, () => t(new
|
|
1287
|
+
return J(i, () => t(new z())), new v(
|
|
1288
1288
|
this._renderingMode,
|
|
1289
1289
|
this._initialArgs,
|
|
1290
1290
|
this._initialUiState,
|
|
@@ -1323,7 +1323,7 @@ const Pt = class v {
|
|
|
1323
1323
|
return this.output(e, t, { retentive: !0 });
|
|
1324
1324
|
}
|
|
1325
1325
|
argsValid(e) {
|
|
1326
|
-
return typeof e == "function" ? (J("inputsValid", () => e(new
|
|
1326
|
+
return typeof e == "function" ? (J("inputsValid", () => e(new z())), new v(
|
|
1327
1327
|
this._renderingMode,
|
|
1328
1328
|
this._initialArgs,
|
|
1329
1329
|
this._initialUiState,
|
|
@@ -1349,7 +1349,7 @@ const Pt = class v {
|
|
|
1349
1349
|
);
|
|
1350
1350
|
}
|
|
1351
1351
|
sections(e) {
|
|
1352
|
-
return Array.isArray(e) ? this.sections(ee(e)) : typeof e == "function" ? (J("sections", () => e(new
|
|
1352
|
+
return Array.isArray(e) ? this.sections(ee(e)) : typeof e == "function" ? (J("sections", () => e(new z())), new v(
|
|
1353
1353
|
this._renderingMode,
|
|
1354
1354
|
this._initialArgs,
|
|
1355
1355
|
this._initialUiState,
|
|
@@ -1373,7 +1373,7 @@ const Pt = class v {
|
|
|
1373
1373
|
}
|
|
1374
1374
|
/** Sets a rendering function to derive block title, shown for the block in the left blocks-overview panel. */
|
|
1375
1375
|
title(e) {
|
|
1376
|
-
return J("title", () => e(new
|
|
1376
|
+
return J("title", () => e(new z())), new v(
|
|
1377
1377
|
this._renderingMode,
|
|
1378
1378
|
this._initialArgs,
|
|
1379
1379
|
this._initialUiState,
|
|
@@ -1475,7 +1475,7 @@ const Pt = class v {
|
|
|
1475
1475
|
if (this._initialArgs === void 0) throw new Error("Initial arguments not set.");
|
|
1476
1476
|
const t = {
|
|
1477
1477
|
v3: {
|
|
1478
|
-
sdkVersion:
|
|
1478
|
+
sdkVersion: Q,
|
|
1479
1479
|
renderingMode: this._renderingMode,
|
|
1480
1480
|
initialArgs: this._initialArgs,
|
|
1481
1481
|
initialUiState: this._initialUiState,
|
|
@@ -1487,7 +1487,7 @@ const Pt = class v {
|
|
|
1487
1487
|
featureFlags: this._featureFlags
|
|
1488
1488
|
},
|
|
1489
1489
|
// fields below are added to allow previous desktop versions read generated configs
|
|
1490
|
-
sdkVersion:
|
|
1490
|
+
sdkVersion: Q,
|
|
1491
1491
|
renderingMode: this._renderingMode,
|
|
1492
1492
|
initialArgs: this._initialArgs,
|
|
1493
1493
|
inputsValid: re(this._inputsValid),
|
|
@@ -1496,15 +1496,15 @@ const Pt = class v {
|
|
|
1496
1496
|
Object.entries(this._outputs).map(([r, i]) => [r, re(i)])
|
|
1497
1497
|
)
|
|
1498
1498
|
};
|
|
1499
|
-
return globalThis.platformaApiVersion = e,
|
|
1499
|
+
return globalThis.platformaApiVersion = e, ze() ? we({ sdkVersion: Q, apiVersion: platformaApiVersion }) : { config: t };
|
|
1500
1500
|
}
|
|
1501
1501
|
};
|
|
1502
|
-
w(
|
|
1502
|
+
w(Tt, "INITIAL_BLOCK_FEATURE_FLAGS", {
|
|
1503
1503
|
supportsLazyState: !0,
|
|
1504
1504
|
requiresUIAPIVersion: 1,
|
|
1505
1505
|
requiresModelAPIVersion: 1
|
|
1506
1506
|
});
|
|
1507
|
-
function
|
|
1507
|
+
function Fe() {
|
|
1508
1508
|
return {
|
|
1509
1509
|
sourceId: null,
|
|
1510
1510
|
hiddenColIds: null,
|
|
@@ -1517,23 +1517,23 @@ function Pe() {
|
|
|
1517
1517
|
return {
|
|
1518
1518
|
version: 4,
|
|
1519
1519
|
stateCache: [],
|
|
1520
|
-
pTableParams:
|
|
1520
|
+
pTableParams: Fe()
|
|
1521
1521
|
};
|
|
1522
1522
|
}
|
|
1523
|
-
function
|
|
1523
|
+
function wt(n) {
|
|
1524
1524
|
return "version" in n || (n = Pe()), n.version === 2 && (n = {
|
|
1525
1525
|
version: 3,
|
|
1526
1526
|
stateCache: n.stateCache.map((e) => ({
|
|
1527
1527
|
...e,
|
|
1528
1528
|
filtersState: []
|
|
1529
1529
|
})),
|
|
1530
|
-
pTableParams:
|
|
1530
|
+
pTableParams: Fe()
|
|
1531
1531
|
}), n.version === 3 && (n = Pe()), n;
|
|
1532
1532
|
}
|
|
1533
1533
|
function It(n) {
|
|
1534
1534
|
return n.axesSpec.length === 1 && n.name === "pl7.app/label";
|
|
1535
1535
|
}
|
|
1536
|
-
function
|
|
1536
|
+
function At(n) {
|
|
1537
1537
|
var e;
|
|
1538
1538
|
return ((e = n.annotations) == null ? void 0 : e["pl7.app/table/visibility"]) === "hidden";
|
|
1539
1539
|
}
|
|
@@ -1541,12 +1541,12 @@ function Ft(n) {
|
|
|
1541
1541
|
var e;
|
|
1542
1542
|
return ((e = n.annotations) == null ? void 0 : e["pl7.app/table/visibility"]) === "optional";
|
|
1543
1543
|
}
|
|
1544
|
-
function
|
|
1544
|
+
function xt(n) {
|
|
1545
1545
|
var e;
|
|
1546
|
-
return ((e = n.annotations) == null ? void 0 : e[
|
|
1546
|
+
return ((e = n.annotations) == null ? void 0 : e[Pt]) === "true";
|
|
1547
1547
|
}
|
|
1548
|
-
const
|
|
1549
|
-
function
|
|
1548
|
+
const Pt = "pl7.app/isLinkerColumn";
|
|
1549
|
+
function Et({
|
|
1550
1550
|
selection: n,
|
|
1551
1551
|
columnId: e = Ne(),
|
|
1552
1552
|
label: t = "Selection marker",
|
|
@@ -1572,22 +1572,19 @@ function Lt({
|
|
|
1572
1572
|
data: i
|
|
1573
1573
|
};
|
|
1574
1574
|
}
|
|
1575
|
-
function
|
|
1575
|
+
function Lt() {
|
|
1576
1576
|
return {
|
|
1577
1577
|
axesSpec: [],
|
|
1578
1578
|
selectedKeys: []
|
|
1579
1579
|
};
|
|
1580
1580
|
}
|
|
1581
|
-
function
|
|
1582
|
-
return n === De ? (console.error("Axis value can never be N/A"), "") : n;
|
|
1583
|
-
}
|
|
1584
|
-
function F(n) {
|
|
1581
|
+
function x(n) {
|
|
1585
1582
|
return n.valueType === "Int" || n.valueType === "Long" || n.valueType === "Float" || n.valueType === "Double";
|
|
1586
1583
|
}
|
|
1587
1584
|
function G(n) {
|
|
1588
1585
|
return n.valueType === "String";
|
|
1589
1586
|
}
|
|
1590
|
-
const
|
|
1587
|
+
const xe = {
|
|
1591
1588
|
lessThan: {
|
|
1592
1589
|
label: "Col < X (Less Than)",
|
|
1593
1590
|
form: {
|
|
@@ -1608,7 +1605,7 @@ const Fe = {
|
|
|
1608
1605
|
defaultValue: () => 0
|
|
1609
1606
|
}
|
|
1610
1607
|
},
|
|
1611
|
-
supportedFor:
|
|
1608
|
+
supportedFor: x
|
|
1612
1609
|
},
|
|
1613
1610
|
greaterThan: {
|
|
1614
1611
|
label: "Col > X (Greater Than)",
|
|
@@ -1630,7 +1627,7 @@ const Fe = {
|
|
|
1630
1627
|
defaultValue: () => 0
|
|
1631
1628
|
}
|
|
1632
1629
|
},
|
|
1633
|
-
supportedFor:
|
|
1630
|
+
supportedFor: x
|
|
1634
1631
|
},
|
|
1635
1632
|
lessThanOrEqual: {
|
|
1636
1633
|
label: "Col ≤ X (Less Than or Equal)",
|
|
@@ -1652,7 +1649,7 @@ const Fe = {
|
|
|
1652
1649
|
defaultValue: () => 0
|
|
1653
1650
|
}
|
|
1654
1651
|
},
|
|
1655
|
-
supportedFor:
|
|
1652
|
+
supportedFor: x
|
|
1656
1653
|
},
|
|
1657
1654
|
greaterThanOrEqual: {
|
|
1658
1655
|
label: "Col ≥ X (Greater Than or Equal)",
|
|
@@ -1674,7 +1671,7 @@ const Fe = {
|
|
|
1674
1671
|
defaultValue: () => 0
|
|
1675
1672
|
}
|
|
1676
1673
|
},
|
|
1677
|
-
supportedFor:
|
|
1674
|
+
supportedFor: x
|
|
1678
1675
|
},
|
|
1679
1676
|
lessThanColumn: {
|
|
1680
1677
|
label: "Col₁ < Col₂ (Compare Columns)",
|
|
@@ -1703,7 +1700,7 @@ const Fe = {
|
|
|
1703
1700
|
}
|
|
1704
1701
|
}
|
|
1705
1702
|
},
|
|
1706
|
-
supportedFor: (n, e) =>
|
|
1703
|
+
supportedFor: (n, e) => x(n) && (e === void 0 || x(e))
|
|
1707
1704
|
},
|
|
1708
1705
|
lessThanColumnOrEqual: {
|
|
1709
1706
|
label: "Col₁ ≤ Col₂ (Compare Columns)",
|
|
@@ -1732,7 +1729,7 @@ const Fe = {
|
|
|
1732
1729
|
}
|
|
1733
1730
|
}
|
|
1734
1731
|
},
|
|
1735
|
-
supportedFor: (n, e) =>
|
|
1732
|
+
supportedFor: (n, e) => x(n) && (e === void 0 || x(e))
|
|
1736
1733
|
},
|
|
1737
1734
|
topN: {
|
|
1738
1735
|
label: "Top N",
|
|
@@ -1754,7 +1751,7 @@ const Fe = {
|
|
|
1754
1751
|
defaultValue: () => 10
|
|
1755
1752
|
}
|
|
1756
1753
|
},
|
|
1757
|
-
supportedFor:
|
|
1754
|
+
supportedFor: x
|
|
1758
1755
|
},
|
|
1759
1756
|
bottomN: {
|
|
1760
1757
|
label: "Bottom N",
|
|
@@ -1776,7 +1773,7 @@ const Fe = {
|
|
|
1776
1773
|
defaultValue: () => 10
|
|
1777
1774
|
}
|
|
1778
1775
|
},
|
|
1779
|
-
supportedFor:
|
|
1776
|
+
supportedFor: x
|
|
1780
1777
|
},
|
|
1781
1778
|
patternContainSubsequence: {
|
|
1782
1779
|
label: "Col ~ Seq (Contain Subsequence)",
|
|
@@ -1951,120 +1948,115 @@ const Fe = {
|
|
|
1951
1948
|
supportedFor: () => !1
|
|
1952
1949
|
}
|
|
1953
1950
|
};
|
|
1954
|
-
function
|
|
1955
|
-
return n ? Object.entries(
|
|
1951
|
+
function Vt(n) {
|
|
1952
|
+
return n ? Object.entries(xe).filter(([e, t]) => t.supportedFor(n)).map(([e, t]) => ({
|
|
1956
1953
|
label: t.label,
|
|
1957
1954
|
value: e
|
|
1958
1955
|
})) : [];
|
|
1959
1956
|
}
|
|
1960
|
-
function
|
|
1961
|
-
return
|
|
1957
|
+
function Ot(n) {
|
|
1958
|
+
return xe[n];
|
|
1962
1959
|
}
|
|
1963
|
-
function
|
|
1960
|
+
function kt() {
|
|
1964
1961
|
return platformaApiVersion ?? 1;
|
|
1965
1962
|
}
|
|
1966
|
-
function
|
|
1967
|
-
return we({ sdkVersion:
|
|
1963
|
+
function Nt() {
|
|
1964
|
+
return we({ sdkVersion: Q, apiVersion: platformaApiVersion });
|
|
1968
1965
|
}
|
|
1969
|
-
function
|
|
1966
|
+
function Dt(n) {
|
|
1970
1967
|
if (typeof globalThis.getEnvironmentValue == "function")
|
|
1971
1968
|
return globalThis.getEnvironmentValue(n);
|
|
1972
1969
|
}
|
|
1973
1970
|
export {
|
|
1974
1971
|
fe as AnchoredIdDeriver,
|
|
1975
|
-
|
|
1976
|
-
|
|
1972
|
+
ln as BasePlErrorLike,
|
|
1973
|
+
un as ErrorLike,
|
|
1977
1974
|
P as FutureRef,
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1975
|
+
Pt as LINKER_COLUMN_ANNOTATION,
|
|
1976
|
+
et as PAnnotationLabel,
|
|
1977
|
+
tt as PAnnotationTrace,
|
|
1981
1978
|
be as PColumnCollection,
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
gn as PlErrorLike,
|
|
1989
|
-
Wt as PlId,
|
|
1990
|
-
Ht as PlIdBytes,
|
|
1991
|
-
zt as PlIdLength,
|
|
1979
|
+
$t as PTableAbsent,
|
|
1980
|
+
Kt as PTableNA,
|
|
1981
|
+
pn as PlErrorLike,
|
|
1982
|
+
jt as PlId,
|
|
1983
|
+
Bt as PlIdBytes,
|
|
1984
|
+
Jt as PlIdLength,
|
|
1992
1985
|
$ as RT_BINARY_PARTITIONED,
|
|
1993
|
-
|
|
1994
|
-
|
|
1986
|
+
q as RT_BINARY_SUPER_PARTITIONED,
|
|
1987
|
+
M as RT_JSON_PARTITIONED,
|
|
1995
1988
|
Z as RT_JSON_SUPER_PARTITIONED,
|
|
1996
1989
|
se as RT_RESOURCE_MAP,
|
|
1997
1990
|
ae as RT_RESOURCE_MAP_PARTITIONED,
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
1991
|
+
z as RenderCtx,
|
|
1992
|
+
yt as ResultPool,
|
|
1993
|
+
dn as StandardErrorLike,
|
|
1994
|
+
rt as Trace,
|
|
1995
|
+
nt as TraceEntry,
|
|
1996
|
+
I as TreeNodeAccessor,
|
|
1997
|
+
qe as canonicalizeAxisId,
|
|
1998
|
+
Mt as canonicalizeJson,
|
|
1999
|
+
ut as convertOrParsePColumnData,
|
|
2007
2000
|
Pe as createPlDataTableStateV2,
|
|
2008
|
-
|
|
2009
|
-
|
|
2001
|
+
Lt as createPlSelectionModel,
|
|
2002
|
+
Et as createRowSelectionColumn,
|
|
2010
2003
|
Me as dataInfoToEntries,
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2004
|
+
Ie as deriveLabels,
|
|
2005
|
+
je as deriveNativeId,
|
|
2006
|
+
qt as deserializeError,
|
|
2014
2007
|
re as downgradeCfgOrLambda,
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2008
|
+
Wt as ensureError,
|
|
2009
|
+
cn as ensureErrorLike,
|
|
2010
|
+
Ke as ensurePColumn,
|
|
2011
|
+
Je as entriesToDataInfo,
|
|
2012
|
+
De as extractAllColumns,
|
|
2013
|
+
pt as filterDataInfoEntries,
|
|
2014
|
+
xe as filterUiMetadata,
|
|
2015
|
+
Ht as getAxesId,
|
|
2023
2016
|
ge as getAxisId,
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2017
|
+
Dt as getEnvironmentValue,
|
|
2018
|
+
Ot as getFilterUiMetadata,
|
|
2019
|
+
Vt as getFilterUiTypeOptions,
|
|
2027
2020
|
ee as getImmediate,
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2021
|
+
Xt as getPTableColumnId,
|
|
2022
|
+
at as getPartitionKeysList,
|
|
2023
|
+
kt as getPlatformaApiVersion,
|
|
2024
|
+
Nt as getRawPlatformaInstance,
|
|
2025
|
+
lt as getUniquePartitionKeys,
|
|
2026
|
+
zt as hasAbortError,
|
|
2034
2027
|
ie as ifDef,
|
|
2035
|
-
|
|
2028
|
+
At as isColumnHidden,
|
|
2036
2029
|
Ft as isColumnOptional,
|
|
2037
|
-
|
|
2030
|
+
vt as isConfigLambda,
|
|
2038
2031
|
ue as isDataInfo,
|
|
2039
2032
|
_e as isDataInfoEntries,
|
|
2040
2033
|
It as isLabelColumn,
|
|
2041
|
-
|
|
2034
|
+
xt as isLinkerColumn,
|
|
2042
2035
|
Ce as isPColumn,
|
|
2043
|
-
|
|
2036
|
+
Y as isPColumnSpec,
|
|
2044
2037
|
ke as isPTableAbsent,
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2038
|
+
Gt as isPTableNA,
|
|
2039
|
+
Yt as isPTableValueAxis,
|
|
2040
|
+
Be as isPartitionedDataInfoEntries,
|
|
2041
|
+
Ue as isPlRef,
|
|
2042
|
+
Fe as makeDefaultPTableParams,
|
|
2043
|
+
We as mapDataInfo,
|
|
2044
|
+
Qt as mapJoinEntry,
|
|
2052
2045
|
pe as mapPObjectData,
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
un as parseJson,
|
|
2046
|
+
Re as mapPTableDef,
|
|
2047
|
+
$e as mapValueInVOE,
|
|
2048
|
+
Zt as matchAxis,
|
|
2049
|
+
en as matchAxisId,
|
|
2050
|
+
tn as matchPColumn,
|
|
2051
|
+
nn as pTableValue,
|
|
2052
|
+
rn as parseJson,
|
|
2061
2053
|
le as parsePColumnData,
|
|
2062
2054
|
he as resolveAnchors,
|
|
2063
2055
|
W as selectorsToPredicate,
|
|
2064
|
-
|
|
2056
|
+
sn as stringifyColumnId,
|
|
2065
2057
|
Ne as uniquePlId,
|
|
2066
|
-
|
|
2067
|
-
|
|
2058
|
+
an as unwrapResult,
|
|
2059
|
+
wt as upgradePlDataTableStateV2,
|
|
2068
2060
|
ce as withEnrichments
|
|
2069
2061
|
};
|
|
2070
2062
|
//# sourceMappingURL=index.js.map
|