@platforma-sdk/model 1.30.11 → 1.30.21
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/PFrameForGraphs.d.ts +4 -4
- package/dist/components/PFrameForGraphs.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +116 -124
- package/dist/index.mjs.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +2 -2
- package/src/components/PFrameForGraphs.ts +27 -33
- package/src/render/util/label.ts +13 -13
- package/src/version.ts +0 -1
package/dist/index.mjs
CHANGED
|
@@ -15,7 +15,7 @@ function it(t) {
|
|
|
15
15
|
if (!t.ok) throw new rt(t.errors, t.moreErrors);
|
|
16
16
|
return t.value;
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Mt(t) {
|
|
19
19
|
return new Proxy(t, {
|
|
20
20
|
get(e, n) {
|
|
21
21
|
return it(e[n]);
|
|
@@ -28,13 +28,13 @@ function C(t) {
|
|
|
28
28
|
function H(t) {
|
|
29
29
|
return { type: "GetFromCtx", variable: t };
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function Wt(t) {
|
|
32
32
|
return {
|
|
33
33
|
type: "Isolate",
|
|
34
34
|
cfg: t
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
const
|
|
37
|
+
const Gt = H("$args"), Ht = H("$it"), qt = H("$prod"), zt = H("$staging"), Yt = H("$ui");
|
|
38
38
|
function Z(t) {
|
|
39
39
|
return { type: "Immediate", value: t };
|
|
40
40
|
}
|
|
@@ -46,7 +46,7 @@ function Te(t) {
|
|
|
46
46
|
template: e
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function Xt(...t) {
|
|
50
50
|
const e = [];
|
|
51
51
|
for (const n of t) e.push(C(n));
|
|
52
52
|
return {
|
|
@@ -61,7 +61,7 @@ function te(t, e) {
|
|
|
61
61
|
field: C(e)
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function Qt(t, e, n = "$it") {
|
|
65
65
|
return {
|
|
66
66
|
type: "MapRecordValues",
|
|
67
67
|
source: t,
|
|
@@ -69,7 +69,7 @@ function Zt(t, e, n = "$it") {
|
|
|
69
69
|
itVar: n
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function Zt(t, e, n = "$it") {
|
|
73
73
|
return {
|
|
74
74
|
type: "MapArrayValues",
|
|
75
75
|
source: t,
|
|
@@ -77,46 +77,46 @@ function en(t, e, n = "$it") {
|
|
|
77
77
|
itVar: n
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function en(t) {
|
|
81
81
|
return {
|
|
82
82
|
type: "Flatten",
|
|
83
83
|
source: t
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function tn(t) {
|
|
87
87
|
return {
|
|
88
88
|
type: "IsEmpty",
|
|
89
89
|
arg: t
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function nn(t) {
|
|
93
93
|
return {
|
|
94
94
|
type: "Not",
|
|
95
95
|
operand: t
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function rn(t, e) {
|
|
99
99
|
return {
|
|
100
100
|
type: "And",
|
|
101
101
|
operand1: t,
|
|
102
102
|
operand2: e
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function sn(t, e) {
|
|
106
106
|
return {
|
|
107
107
|
type: "Or",
|
|
108
108
|
operand1: t,
|
|
109
109
|
operand2: e
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function on(t, e) {
|
|
113
113
|
return {
|
|
114
114
|
type: "GetResourceField",
|
|
115
115
|
source: C(t),
|
|
116
116
|
field: C(e)
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function an() {
|
|
120
120
|
return function(t) {
|
|
121
121
|
return {
|
|
122
122
|
type: "GetResourceValueAsJson",
|
|
@@ -124,7 +124,7 @@ function ln() {
|
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function ln(t, e, n = "$it") {
|
|
128
128
|
return {
|
|
129
129
|
type: "MapResourceFields",
|
|
130
130
|
source: t,
|
|
@@ -132,19 +132,19 @@ function un(t, e, n = "$it") {
|
|
|
132
132
|
itVar: n
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function un(t) {
|
|
136
136
|
return {
|
|
137
137
|
type: "GetBlobContent",
|
|
138
138
|
source: C(t)
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function cn(t) {
|
|
142
142
|
return {
|
|
143
143
|
type: "GetBlobContentAsString",
|
|
144
144
|
source: C(t)
|
|
145
145
|
};
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function pn() {
|
|
148
148
|
return function(t) {
|
|
149
149
|
return {
|
|
150
150
|
type: "GetBlobContentAsJson",
|
|
@@ -152,53 +152,53 @@ function dn() {
|
|
|
152
152
|
};
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function dn(t) {
|
|
156
156
|
return {
|
|
157
157
|
type: "GetDownloadedBlobContent",
|
|
158
158
|
source: C(t)
|
|
159
159
|
};
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function fn(t) {
|
|
162
162
|
return {
|
|
163
163
|
type: "GetOnDemandBlobContent",
|
|
164
164
|
source: C(t)
|
|
165
165
|
};
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function hn(t, e) {
|
|
168
168
|
return {
|
|
169
169
|
type: "ExtractArchiveAndGetURL",
|
|
170
170
|
format: e,
|
|
171
171
|
source: C(t)
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function gn(t) {
|
|
175
175
|
return {
|
|
176
176
|
type: "GetImportProgress",
|
|
177
177
|
source: C(t)
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function mn(t, e) {
|
|
181
181
|
return {
|
|
182
182
|
type: "GetLastLogs",
|
|
183
183
|
source: C(t),
|
|
184
184
|
lines: e
|
|
185
185
|
};
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function yn(t, e) {
|
|
188
188
|
return {
|
|
189
189
|
type: "GetProgressLog",
|
|
190
190
|
source: C(t),
|
|
191
191
|
patternToSearch: e
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function vn(t, e) {
|
|
195
195
|
return {
|
|
196
196
|
type: "GetProgressLogWithInfo",
|
|
197
197
|
source: C(t),
|
|
198
198
|
patternToSearch: e
|
|
199
199
|
};
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function bn(t) {
|
|
202
202
|
return {
|
|
203
203
|
type: "GetLogHandle",
|
|
204
204
|
source: C(t)
|
|
@@ -477,18 +477,18 @@ class I {
|
|
|
477
477
|
return s && (l = l.filter((u) => u[1] !== void 0)), l.map(([u, p]) => o(u, p));
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
const Fe = "staging",
|
|
480
|
+
const Fe = "staging", Oe = "main", lt = {
|
|
481
481
|
explicitColumnsSupport: !0,
|
|
482
482
|
inlineColumnsSupport: !0,
|
|
483
483
|
activeArgs: !0
|
|
484
484
|
};
|
|
485
|
-
function
|
|
485
|
+
function De(t) {
|
|
486
486
|
return typeof t == "object" && t !== null && "__awaited_futures__" in t;
|
|
487
487
|
}
|
|
488
488
|
function de(t, e, n) {
|
|
489
489
|
if (e.has(n)) return;
|
|
490
490
|
if (e.add(n), typeof n === "object")
|
|
491
|
-
if (
|
|
491
|
+
if (De(n)) n.__awaited_futures__.forEach((i) => t.add(i));
|
|
492
492
|
else if (Array.isArray(n))
|
|
493
493
|
for (const i of n) de(t, e, i);
|
|
494
494
|
else
|
|
@@ -499,13 +499,13 @@ function ut(t) {
|
|
|
499
499
|
const e = /* @__PURE__ */ new Set();
|
|
500
500
|
return de(e, /* @__PURE__ */ new Set(), t), e;
|
|
501
501
|
}
|
|
502
|
-
const
|
|
502
|
+
const wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
503
503
|
__proto__: null,
|
|
504
504
|
GlobalCfgRenderCtxFeatureFlags: lt,
|
|
505
|
-
MainAccessorName:
|
|
505
|
+
MainAccessorName: Oe,
|
|
506
506
|
StagingAccessorName: Fe,
|
|
507
507
|
getAllFutureAwaits: ut,
|
|
508
|
-
isFutureAwait:
|
|
508
|
+
isFutureAwait: De
|
|
509
509
|
}, Symbol.toStringTag, { value: "Module" })), ct = "pl7.app/label", pt = "pl7.app/trace", dt = K.object({
|
|
510
510
|
type: K.string(),
|
|
511
511
|
importance: K.number().optional(),
|
|
@@ -527,7 +527,7 @@ function Re(t, e, n = {}) {
|
|
|
527
527
|
const L = { label: b, type: gt, importance: -2 };
|
|
528
528
|
n.addLabelAsSuffix ? A.push(L) : A.splice(0, 0, L);
|
|
529
529
|
}
|
|
530
|
-
const
|
|
530
|
+
const O = [], J = /* @__PURE__ */ new Map();
|
|
531
531
|
for (let L = A.length - 1; L >= 0; --L) {
|
|
532
532
|
const { type: k } = A[L], se = A[L].importance ?? 0, N = (J.get(k) ?? 0) + 1;
|
|
533
533
|
J.set(k, N);
|
|
@@ -538,13 +538,13 @@ function Re(t, e, n = {}) {
|
|
|
538
538
|
r.get(x) ?? Number.NEGATIVE_INFINITY,
|
|
539
539
|
se - (A.length - L) * ht
|
|
540
540
|
)
|
|
541
|
-
),
|
|
541
|
+
), O.push({ ...A[L], fullType: x, occurrenceIndex: N });
|
|
542
542
|
}
|
|
543
|
-
return
|
|
543
|
+
return O.reverse(), {
|
|
544
544
|
value: f,
|
|
545
545
|
spec: h,
|
|
546
546
|
label: b,
|
|
547
|
-
fullTrace:
|
|
547
|
+
fullTrace: O
|
|
548
548
|
};
|
|
549
549
|
}), o = [], a = [], l = [...r];
|
|
550
550
|
l.sort(([, f], [, g]) => g - f);
|
|
@@ -618,7 +618,7 @@ function je(t, e, n, r = [], i) {
|
|
|
618
618
|
throw new Error(`Unknown resource type: ${t.resourceType.name}`);
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function An(t, e, n = !1) {
|
|
622
622
|
const r = [];
|
|
623
623
|
return { isComplete: je(t, e, r, [], n), data: r };
|
|
624
624
|
}
|
|
@@ -977,7 +977,7 @@ class ge {
|
|
|
977
977
|
}
|
|
978
978
|
if (!qe(A))
|
|
979
979
|
throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${A.type} for column ${m.id}`);
|
|
980
|
-
const
|
|
980
|
+
const O = vt(A), J = c[c.length - 1];
|
|
981
981
|
if (J >= A.partitionKeyLength)
|
|
982
982
|
throw new Error(`Not enough partition keys (${A.partitionKeyLength}) for requested split axes (max index ${J}) in column ${w.name}`);
|
|
983
983
|
const z = c.map((x) => this.findLabels(E(w.axesSpec[x]))), F = [], L = (x, U) => {
|
|
@@ -986,10 +986,10 @@ class ge {
|
|
|
986
986
|
throw new Error("Too many key combinations, aborting.");
|
|
987
987
|
return;
|
|
988
988
|
}
|
|
989
|
-
const
|
|
990
|
-
if (
|
|
991
|
-
throw new Error(`Axis index ${
|
|
992
|
-
const j = D
|
|
989
|
+
const D = c[U];
|
|
990
|
+
if (D >= O.length)
|
|
991
|
+
throw new Error(`Axis index ${D} out of bounds for unique keys array (length ${O.length}) during split key generation for column ${m.id}`);
|
|
992
|
+
const j = O[D];
|
|
993
993
|
if (!j || j.length === 0) {
|
|
994
994
|
F.length = 0;
|
|
995
995
|
return;
|
|
@@ -1004,9 +1004,9 @@ class ge {
|
|
|
1004
1004
|
k.splice(c[x], 1);
|
|
1005
1005
|
const N = { ...w, axesSpec: k };
|
|
1006
1006
|
for (const x of F) {
|
|
1007
|
-
const U = x.map((
|
|
1008
|
-
const Y = se[j], Ue = E(w.axesSpec[Y]), oe = z[j], Be = (oe == null ? void 0 : oe[
|
|
1009
|
-
return { axisIdx: Y, axisId: Ue, value:
|
|
1007
|
+
const U = x.map((D, j) => {
|
|
1008
|
+
const Y = se[j], Ue = E(w.axesSpec[Y]), oe = z[j], Be = (oe == null ? void 0 : oe[D]) ?? String(D);
|
|
1009
|
+
return { axisIdx: Y, axisId: Ue, value: D, label: Be };
|
|
1010
1010
|
});
|
|
1011
1011
|
u.push({
|
|
1012
1012
|
type: "split",
|
|
@@ -1390,7 +1390,7 @@ class X {
|
|
|
1390
1390
|
return this.getNamedAccessor(Fe);
|
|
1391
1391
|
}
|
|
1392
1392
|
get outputs() {
|
|
1393
|
-
return this.getNamedAccessor(
|
|
1393
|
+
return this.getNamedAccessor(Oe);
|
|
1394
1394
|
}
|
|
1395
1395
|
/**
|
|
1396
1396
|
* Find labels data for a given axis id. It will search for a label column and return its data as a map.
|
|
@@ -1432,7 +1432,7 @@ class X {
|
|
|
1432
1432
|
return this.ctx.getCurrentUnstableMarker();
|
|
1433
1433
|
}
|
|
1434
1434
|
}
|
|
1435
|
-
const G = "1.30.
|
|
1435
|
+
const G = "1.30.21";
|
|
1436
1436
|
function Lt(t) {
|
|
1437
1437
|
return t.__renderLambda === !0;
|
|
1438
1438
|
}
|
|
@@ -1444,7 +1444,7 @@ function V(t) {
|
|
|
1444
1444
|
if (t !== void 0)
|
|
1445
1445
|
return typeof t == "string" ? { __renderLambda: !0, handle: t, retentive: !1 } : t;
|
|
1446
1446
|
}
|
|
1447
|
-
function
|
|
1447
|
+
function xn(t) {
|
|
1448
1448
|
if (t.v3 !== void 0) {
|
|
1449
1449
|
const {
|
|
1450
1450
|
initialArgs: e,
|
|
@@ -1713,7 +1713,7 @@ class _ {
|
|
|
1713
1713
|
return st() ? Ee({ sdkVersion: G }) : { config: e };
|
|
1714
1714
|
}
|
|
1715
1715
|
}
|
|
1716
|
-
function
|
|
1716
|
+
function Pn(t) {
|
|
1717
1717
|
const e = t.type;
|
|
1718
1718
|
switch (e) {
|
|
1719
1719
|
case "axis":
|
|
@@ -1815,7 +1815,7 @@ function Je(t, e, n, r, i, s) {
|
|
|
1815
1815
|
sorting: i
|
|
1816
1816
|
};
|
|
1817
1817
|
}
|
|
1818
|
-
function
|
|
1818
|
+
function Cn(t, e, n, r) {
|
|
1819
1819
|
var u, p;
|
|
1820
1820
|
Array.isArray(r) && (r = { filters: r });
|
|
1821
1821
|
const i = (r == null ? void 0 : r.coreJoinType) ?? "full", s = [...(r == null ? void 0 : r.filters) ?? [], ...((u = n == null ? void 0 : n.pTableParams) == null ? void 0 : u.filters) ?? []], o = ((p = n == null ? void 0 : n.pTableParams) == null ? void 0 : p.sorting) ?? [], a = Ve(t.resultPool);
|
|
@@ -1830,7 +1830,7 @@ function Ft(t) {
|
|
|
1830
1830
|
var e;
|
|
1831
1831
|
return ((e = t.annotations) == null ? void 0 : e["pl7.app/table/visibility"]) === "optional";
|
|
1832
1832
|
}
|
|
1833
|
-
function
|
|
1833
|
+
function Sn(t, e, n, r, i) {
|
|
1834
1834
|
var h, P;
|
|
1835
1835
|
const s = (i == null ? void 0 : i.coreJoinType) ?? "full", o = [...(i == null ? void 0 : i.filters) ?? [], ...((h = r == null ? void 0 : r.pTableParams) == null ? void 0 : h.filters) ?? []], a = ((P = r == null ? void 0 : r.pTableParams) == null ? void 0 : P.sorting) ?? [], l = e.find((c) => n(c.spec));
|
|
1836
1836
|
if (!l) return;
|
|
@@ -1864,7 +1864,7 @@ function _n(t, e, n, r, i) {
|
|
|
1864
1864
|
tableHandle: g
|
|
1865
1865
|
};
|
|
1866
1866
|
}
|
|
1867
|
-
function
|
|
1867
|
+
function _n(t, e, n) {
|
|
1868
1868
|
const r = t.resultPool.findLabels(e);
|
|
1869
1869
|
return {
|
|
1870
1870
|
axis: e,
|
|
@@ -1875,7 +1875,7 @@ function In(t, e, n) {
|
|
|
1875
1875
|
defaultValue: n[0]
|
|
1876
1876
|
};
|
|
1877
1877
|
}
|
|
1878
|
-
const
|
|
1878
|
+
const Ot = (t, e) => {
|
|
1879
1879
|
let n = t.toString();
|
|
1880
1880
|
return e == null || e.forEach((r) => {
|
|
1881
1881
|
if (r)
|
|
@@ -1883,7 +1883,7 @@ const Dt = (t, e) => {
|
|
|
1883
1883
|
n += i, n += s;
|
|
1884
1884
|
}), n;
|
|
1885
1885
|
};
|
|
1886
|
-
function
|
|
1886
|
+
function Dt(t) {
|
|
1887
1887
|
if (!t.length)
|
|
1888
1888
|
return [];
|
|
1889
1889
|
let e = [[]];
|
|
@@ -1895,21 +1895,21 @@ function Ot(t) {
|
|
|
1895
1895
|
}), e;
|
|
1896
1896
|
}
|
|
1897
1897
|
function Rt(t, e) {
|
|
1898
|
-
const n = t.
|
|
1899
|
-
return e.
|
|
1898
|
+
const n = t.axesSpec.map(E);
|
|
1899
|
+
return e.axesSpec.map(E).every((i) => n.some((s) => R(s, i) && R(i, s)));
|
|
1900
1900
|
}
|
|
1901
1901
|
function Ne(t, e) {
|
|
1902
|
-
const n = t.
|
|
1903
|
-
return e.
|
|
1902
|
+
const n = t.axesSpec.map(E);
|
|
1903
|
+
return e.axesSpec.map(E).every((i) => n.some((s) => R(s, i)));
|
|
1904
1904
|
}
|
|
1905
1905
|
const kt = "pl7.app/graph/isVirtual", Ce = "pl7.app/label";
|
|
1906
1906
|
function Se(t, e) {
|
|
1907
1907
|
const n = t.spec.axesSpec.map(E), r = e.spec.axesSpec.map(E);
|
|
1908
|
-
if (Rt(t, e))
|
|
1908
|
+
if (Rt(t.spec, e.spec))
|
|
1909
1909
|
return [];
|
|
1910
|
-
if (!Ne(t, e))
|
|
1910
|
+
if (!Ne(t.spec, e.spec))
|
|
1911
1911
|
return [];
|
|
1912
|
-
const o = r.map((v) => n.filter((d) => R(d, v))), a =
|
|
1912
|
+
const o = r.map((v) => n.filter((d) => R(d, v))), a = Dt(o), l = /* @__PURE__ */ new Set(), u = /* @__PURE__ */ new Set(), p = a.map((v) => {
|
|
1913
1913
|
const d = /* @__PURE__ */ new Set();
|
|
1914
1914
|
return v.map((f, g) => {
|
|
1915
1915
|
const h = e.spec.axesSpec[g].domain, P = f.domain;
|
|
@@ -1928,7 +1928,7 @@ function Se(t, e) {
|
|
|
1928
1928
|
p.some((d) => !d.has(v)) && u.add(v);
|
|
1929
1929
|
}), a.map((v, d) => {
|
|
1930
1930
|
var c;
|
|
1931
|
-
const f =
|
|
1931
|
+
const f = Ot(e.id, v.map((b) => b.domain)), g = ((c = e.spec.annotations) == null ? void 0 : c[Ce]) ?? "", h = [...p[d]].filter((b) => u.has(b)).sort().map((b) => {
|
|
1932
1932
|
var m;
|
|
1933
1933
|
return (m = JSON.parse(b)) == null ? void 0 : m[1];
|
|
1934
1934
|
}).join(" / "), P = {
|
|
@@ -1972,7 +1972,7 @@ function Vt(t, e) {
|
|
|
1972
1972
|
const o = ee(Ae(s.spec));
|
|
1973
1973
|
if (!r.has(o)) {
|
|
1974
1974
|
for (const a of r.values())
|
|
1975
|
-
if (Ne(a, s)) {
|
|
1975
|
+
if (Ne(a.spec, s.spec)) {
|
|
1976
1976
|
i.set(o, s);
|
|
1977
1977
|
break;
|
|
1978
1978
|
}
|
|
@@ -1980,23 +1980,15 @@ function Vt(t, e) {
|
|
|
1980
1980
|
}
|
|
1981
1981
|
return [...r.values(), ...i.values()];
|
|
1982
1982
|
}
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
"Float",
|
|
1987
|
-
"Double",
|
|
1988
|
-
"String",
|
|
1989
|
-
"Bytes"
|
|
1990
|
-
];
|
|
1991
|
-
function Ln(t, e) {
|
|
1992
|
-
if (e === void 0) return;
|
|
1993
|
-
const n = t.resultPool.getData().entries.map((s) => s.obj).filter(me).filter((s) => Kt.includes(s.spec.valueType)), r = Vt(e, n), i = [...r, ...jt(r)];
|
|
1983
|
+
function In(t, e) {
|
|
1984
|
+
if (!e) return;
|
|
1985
|
+
const n = t.resultPool.getData().entries.map((s) => s.obj).filter(me), r = Vt(e, n), i = [...r, ...jt(r)];
|
|
1994
1986
|
if (!i.some(
|
|
1995
1987
|
(s) => s.data instanceof I && !s.data.getIsReadyOrError()
|
|
1996
1988
|
))
|
|
1997
1989
|
return t.createPFrame(i);
|
|
1998
1990
|
}
|
|
1999
|
-
class
|
|
1991
|
+
class Ln {
|
|
2000
1992
|
constructor(e) {
|
|
2001
1993
|
this.handle = e;
|
|
2002
1994
|
}
|
|
@@ -2016,28 +2008,28 @@ class Tn {
|
|
|
2016
2008
|
return await platforma.pFrameDriver.getUniqueValues(this.handle, e);
|
|
2017
2009
|
}
|
|
2018
2010
|
}
|
|
2019
|
-
function
|
|
2011
|
+
function Kt(t) {
|
|
2020
2012
|
return Te({
|
|
2021
2013
|
__isRef: !0,
|
|
2022
2014
|
blockId: te(t, "blockId"),
|
|
2023
2015
|
name: te(t, "name")
|
|
2024
2016
|
});
|
|
2025
2017
|
}
|
|
2026
|
-
function
|
|
2018
|
+
function Tn(t) {
|
|
2027
2019
|
return Te({
|
|
2028
|
-
ref:
|
|
2020
|
+
ref: Kt(te(t, "ref")),
|
|
2029
2021
|
label: te(t, "label")
|
|
2030
2022
|
});
|
|
2031
2023
|
}
|
|
2032
|
-
const
|
|
2024
|
+
const En = {
|
|
2033
2025
|
sdkVersion: G
|
|
2034
2026
|
};
|
|
2035
|
-
function
|
|
2027
|
+
function $t() {
|
|
2036
2028
|
return Ee({ sdkVersion: G });
|
|
2037
2029
|
}
|
|
2038
|
-
function
|
|
2030
|
+
function Fn(t) {
|
|
2039
2031
|
try {
|
|
2040
|
-
return
|
|
2032
|
+
return $t();
|
|
2041
2033
|
} catch {
|
|
2042
2034
|
return t;
|
|
2043
2035
|
}
|
|
@@ -2047,20 +2039,20 @@ function On(t) {
|
|
|
2047
2039
|
return globalThis.getEnvironmentValue(t);
|
|
2048
2040
|
}
|
|
2049
2041
|
export {
|
|
2050
|
-
|
|
2042
|
+
Gt as Args,
|
|
2051
2043
|
_ as BlockModel,
|
|
2052
|
-
|
|
2044
|
+
En as CurrentSdkInfo,
|
|
2053
2045
|
S as FutureRef,
|
|
2054
2046
|
kt as IS_VIRTUAL_COLUMN,
|
|
2055
|
-
|
|
2056
|
-
|
|
2047
|
+
Ht as It,
|
|
2048
|
+
wn as JsRenderInternal,
|
|
2057
2049
|
Ce as LABEL_ANNOTATION,
|
|
2058
|
-
|
|
2050
|
+
qt as MainOutputs,
|
|
2059
2051
|
rt as OutputError,
|
|
2060
2052
|
ct as PAnnotationLabel,
|
|
2061
2053
|
pt as PAnnotationTrace,
|
|
2062
2054
|
ge as PColumnCollection,
|
|
2063
|
-
|
|
2055
|
+
Ln as PFrameImpl,
|
|
2064
2056
|
$ as RT_BINARY_PARTITIONED,
|
|
2065
2057
|
W as RT_BINARY_SUPER_PARTITIONED,
|
|
2066
2058
|
M as RT_JSON_PARTITIONED,
|
|
@@ -2069,68 +2061,68 @@ export {
|
|
|
2069
2061
|
re as RT_RESOURCE_MAP_PARTITIONED,
|
|
2070
2062
|
X as RenderCtx,
|
|
2071
2063
|
It as ResultPool,
|
|
2072
|
-
|
|
2064
|
+
zt as StagingOutputs,
|
|
2073
2065
|
ft as Trace,
|
|
2074
2066
|
dt as TraceEntry,
|
|
2075
2067
|
I as TreeNodeAccessor,
|
|
2076
|
-
|
|
2068
|
+
Yt as UiState,
|
|
2077
2069
|
$e as allColumnsComputed,
|
|
2078
|
-
|
|
2070
|
+
rn as and,
|
|
2079
2071
|
bt as convertOrParsePColumnData,
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2072
|
+
In as createPFrameForGraphs,
|
|
2073
|
+
Cn as createPlDataTable,
|
|
2074
|
+
_n as createPlDataTableSheet,
|
|
2075
|
+
Sn as createPlDataTableV2,
|
|
2084
2076
|
Re as deriveLabels,
|
|
2085
2077
|
ue as downgradeCfgOrLambda,
|
|
2086
2078
|
Vt as enrichColumnsWithCompatible,
|
|
2087
|
-
|
|
2088
|
-
|
|
2079
|
+
hn as extractArchiveAndGetURL,
|
|
2080
|
+
xn as extractConfig,
|
|
2089
2081
|
wt as filterDataInfoEntries,
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2082
|
+
en as flatten,
|
|
2083
|
+
Tn as fromPlOption,
|
|
2084
|
+
Kt as fromPlRef,
|
|
2093
2085
|
jt as getAdditionalColumns,
|
|
2094
2086
|
Ve as getAllLabelColumns,
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2087
|
+
un as getBlobContent,
|
|
2088
|
+
pn as getBlobContentAsJson,
|
|
2089
|
+
cn as getBlobContentAsString,
|
|
2090
|
+
dn as getDownloadedBlobContent,
|
|
2099
2091
|
On as getEnvironmentValue,
|
|
2100
2092
|
H as getFromCfg,
|
|
2101
2093
|
Z as getImmediate,
|
|
2102
|
-
|
|
2094
|
+
gn as getImportProgress,
|
|
2103
2095
|
te as getJsonField,
|
|
2104
|
-
|
|
2105
|
-
|
|
2096
|
+
mn as getLastLogs,
|
|
2097
|
+
bn as getLogHandle,
|
|
2106
2098
|
Ke as getMatchingLabelColumns,
|
|
2107
|
-
|
|
2099
|
+
fn as getOnDemandBlobContent,
|
|
2108
2100
|
mt as getPartitionKeysList,
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2101
|
+
Fn as getPlatformaOrDefault,
|
|
2102
|
+
yn as getProgressLog,
|
|
2103
|
+
vn as getProgressLogWithInfo,
|
|
2104
|
+
$t as getRawPlatformaInstance,
|
|
2105
|
+
on as getResourceField,
|
|
2106
|
+
an as getResourceValueAsJson,
|
|
2115
2107
|
vt as getUniquePartitionKeys,
|
|
2116
2108
|
pe as ifDef,
|
|
2117
2109
|
Ft as isColumnOptional,
|
|
2118
2110
|
Lt as isConfigLambda,
|
|
2119
|
-
|
|
2111
|
+
tn as isEmpty,
|
|
2120
2112
|
Et as isLabelColumn,
|
|
2121
|
-
|
|
2122
|
-
|
|
2113
|
+
Wt as isolate,
|
|
2114
|
+
Xt as makeArray,
|
|
2123
2115
|
Te as makeObject,
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2116
|
+
Zt as mapArrayValues,
|
|
2117
|
+
Qt as mapRecordValues,
|
|
2118
|
+
ln as mapResourceFields,
|
|
2119
|
+
nn as not,
|
|
2120
|
+
sn as or,
|
|
2129
2121
|
he as parsePColumnData,
|
|
2130
2122
|
Tt as parsePTableColumnId,
|
|
2131
|
-
|
|
2123
|
+
An as parseResourceMap,
|
|
2132
2124
|
it as readOutput,
|
|
2133
|
-
|
|
2134
|
-
|
|
2125
|
+
Pn as stringifyPTableColumnId,
|
|
2126
|
+
Mt as wrapOutputs
|
|
2135
2127
|
};
|
|
2136
2128
|
//# sourceMappingURL=index.mjs.map
|