@platforma-sdk/model 1.22.97 → 1.23.0
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +459 -442
- package/dist/index.mjs.map +1 -1
- package/dist/render/api.d.ts +39 -2
- package/dist/render/api.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/package.json +3 -2
- package/src/render/api.ts +144 -45
package/dist/index.mjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { isPColumn as N, mapPObjectData as U,
|
|
1
|
+
var be = Object.defineProperty;
|
|
2
|
+
var ve = (t, e, n) => e in t ? be(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
|
+
var A = (t, e, n) => ve(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
+
import { isPColumn as N, mapPObjectData as U, selectorsToPredicate as te, AnchorIdDeriver as $, isPlRef as _e, resolveAnchors as ne, isPColumnSpec as G, mapValueInVOE as Ae, ensurePColumn as Se, extractAllColumns as we, mapPTableDef as Ie, getAxisId as w, matchAxisId as L } from "@milaboratories/pl-model-common";
|
|
5
5
|
export * from "@milaboratories/pl-model-common";
|
|
6
|
-
import { z as
|
|
7
|
-
class
|
|
6
|
+
import { z as C } from "zod";
|
|
7
|
+
class Pe extends Error {
|
|
8
8
|
constructor(e, n) {
|
|
9
9
|
super(`${e.length}${n ? "+" : ""} errors, first error: ` + e[0]), this.errors = e, this.moreErrors = n;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
function
|
|
13
|
-
if (!t.ok) throw new
|
|
12
|
+
function Ce(t) {
|
|
13
|
+
if (!t.ok) throw new Pe(t.errors, t.moreErrors);
|
|
14
14
|
return t.value;
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function Qe(t) {
|
|
17
17
|
return new Proxy(t, {
|
|
18
18
|
get(e, n) {
|
|
19
|
-
return
|
|
19
|
+
return Ce(e[n]);
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
}
|
|
@@ -26,25 +26,25 @@ function m(t) {
|
|
|
26
26
|
function k(t) {
|
|
27
27
|
return { type: "GetFromCtx", variable: t };
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function Ze(t) {
|
|
30
30
|
return {
|
|
31
31
|
type: "Isolate",
|
|
32
32
|
cfg: t
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
-
const
|
|
35
|
+
const et = k("$args"), tt = k("$it"), nt = k("$prod"), st = k("$staging"), rt = k("$ui");
|
|
36
36
|
function j(t) {
|
|
37
37
|
return { type: "Immediate", value: t };
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function ue(t) {
|
|
40
40
|
const e = {};
|
|
41
|
-
for (const [n,
|
|
41
|
+
for (const [n, s] of Object.entries(t)) e[n] = m(s);
|
|
42
42
|
return {
|
|
43
43
|
type: "MakeObject",
|
|
44
44
|
template: e
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function it(...t) {
|
|
48
48
|
const e = [];
|
|
49
49
|
for (const n of t) e.push(m(n));
|
|
50
50
|
return {
|
|
@@ -59,7 +59,7 @@ function B(t, e) {
|
|
|
59
59
|
field: m(e)
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function ot(t, e, n = "$it") {
|
|
63
63
|
return {
|
|
64
64
|
type: "MapRecordValues",
|
|
65
65
|
source: t,
|
|
@@ -67,7 +67,7 @@ function nt(t, e, n = "$it") {
|
|
|
67
67
|
itVar: n
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function at(t, e, n = "$it") {
|
|
71
71
|
return {
|
|
72
72
|
type: "MapArrayValues",
|
|
73
73
|
source: t,
|
|
@@ -75,46 +75,46 @@ function rt(t, e, n = "$it") {
|
|
|
75
75
|
itVar: n
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function lt(t) {
|
|
79
79
|
return {
|
|
80
80
|
type: "Flatten",
|
|
81
81
|
source: t
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function ut(t) {
|
|
85
85
|
return {
|
|
86
86
|
type: "IsEmpty",
|
|
87
87
|
arg: t
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function ct(t) {
|
|
91
91
|
return {
|
|
92
92
|
type: "Not",
|
|
93
93
|
operand: t
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function dt(t, e) {
|
|
97
97
|
return {
|
|
98
98
|
type: "And",
|
|
99
99
|
operand1: t,
|
|
100
100
|
operand2: e
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function pt(t, e) {
|
|
104
104
|
return {
|
|
105
105
|
type: "Or",
|
|
106
106
|
operand1: t,
|
|
107
107
|
operand2: e
|
|
108
108
|
};
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function ft(t, e) {
|
|
111
111
|
return {
|
|
112
112
|
type: "GetResourceField",
|
|
113
113
|
source: m(t),
|
|
114
114
|
field: m(e)
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function ht() {
|
|
118
118
|
return function(t) {
|
|
119
119
|
return {
|
|
120
120
|
type: "GetResourceValueAsJson",
|
|
@@ -122,7 +122,7 @@ function ct() {
|
|
|
122
122
|
};
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function gt(t, e, n = "$it") {
|
|
126
126
|
return {
|
|
127
127
|
type: "MapResourceFields",
|
|
128
128
|
source: t,
|
|
@@ -130,19 +130,19 @@ function dt(t, e, n = "$it") {
|
|
|
130
130
|
itVar: n
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function mt(t) {
|
|
134
134
|
return {
|
|
135
135
|
type: "GetBlobContent",
|
|
136
136
|
source: m(t)
|
|
137
137
|
};
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function yt(t) {
|
|
140
140
|
return {
|
|
141
141
|
type: "GetBlobContentAsString",
|
|
142
142
|
source: m(t)
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function bt() {
|
|
146
146
|
return function(t) {
|
|
147
147
|
return {
|
|
148
148
|
type: "GetBlobContentAsJson",
|
|
@@ -150,68 +150,68 @@ function ht() {
|
|
|
150
150
|
};
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function vt(t) {
|
|
154
154
|
return {
|
|
155
155
|
type: "GetDownloadedBlobContent",
|
|
156
156
|
source: m(t)
|
|
157
157
|
};
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function _t(t) {
|
|
160
160
|
return {
|
|
161
161
|
type: "GetOnDemandBlobContent",
|
|
162
162
|
source: m(t)
|
|
163
163
|
};
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function At(t, e) {
|
|
166
166
|
return {
|
|
167
167
|
type: "ExtractArchiveAndGetURL",
|
|
168
168
|
format: e,
|
|
169
169
|
source: m(t)
|
|
170
170
|
};
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function St(t) {
|
|
173
173
|
return {
|
|
174
174
|
type: "GetImportProgress",
|
|
175
175
|
source: m(t)
|
|
176
176
|
};
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function wt(t, e) {
|
|
179
179
|
return {
|
|
180
180
|
type: "GetLastLogs",
|
|
181
181
|
source: m(t),
|
|
182
182
|
lines: e
|
|
183
183
|
};
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function It(t, e) {
|
|
186
186
|
return {
|
|
187
187
|
type: "GetProgressLog",
|
|
188
188
|
source: m(t),
|
|
189
189
|
patternToSearch: e
|
|
190
190
|
};
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function Pt(t, e) {
|
|
193
193
|
return {
|
|
194
194
|
type: "GetProgressLogWithInfo",
|
|
195
195
|
source: m(t),
|
|
196
196
|
patternToSearch: e
|
|
197
197
|
};
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function Ct(t) {
|
|
200
200
|
return {
|
|
201
201
|
type: "GetLogHandle",
|
|
202
202
|
source: m(t)
|
|
203
203
|
};
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function Re() {
|
|
206
206
|
return typeof globalThis.getPlatforma < "u" || typeof globalThis.platforma < "u";
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function ce(t) {
|
|
209
209
|
if (t && typeof globalThis.getPlatforma == "function")
|
|
210
210
|
return globalThis.getPlatforma(t);
|
|
211
211
|
if (typeof globalThis.platforma < "u") return globalThis.platforma;
|
|
212
212
|
throw new Error("Can't get platforma instance.");
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function Fe() {
|
|
215
215
|
if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
|
|
216
216
|
}
|
|
217
217
|
function c() {
|
|
@@ -219,24 +219,24 @@ function c() {
|
|
|
219
219
|
throw new Error("Not in config rendering context");
|
|
220
220
|
}
|
|
221
221
|
function E(t, e) {
|
|
222
|
-
const n =
|
|
222
|
+
const n = Fe();
|
|
223
223
|
if (n === void 0) return !1;
|
|
224
224
|
if (t in n.callbackRegistry) throw new Error(`Callback with key ${t} already registered.`);
|
|
225
225
|
return n.callbackRegistry[t] = e, !0;
|
|
226
226
|
}
|
|
227
|
-
const
|
|
228
|
-
function
|
|
227
|
+
const W = /* @__PURE__ */ new Map();
|
|
228
|
+
function xe(t, e) {
|
|
229
229
|
t in c().callbackRegistry || (c().callbackRegistry[t] = (n) => {
|
|
230
|
-
for (const
|
|
231
|
-
|
|
232
|
-
},
|
|
230
|
+
for (const s of W.get(t))
|
|
231
|
+
s(n);
|
|
232
|
+
}, W.set(t, [])), W.get(t).push(e);
|
|
233
233
|
}
|
|
234
234
|
class b {
|
|
235
|
-
constructor(e, n = (
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
this.handle = e, this.postProcess = n,
|
|
239
|
-
this.resolvedValue = n(
|
|
235
|
+
constructor(e, n = (s) => s) {
|
|
236
|
+
A(this, "isResolved", !1);
|
|
237
|
+
A(this, "resolvedValue");
|
|
238
|
+
this.handle = e, this.postProcess = n, xe(e, (s) => {
|
|
239
|
+
this.resolvedValue = n(s), this.isResolved = !0;
|
|
240
240
|
});
|
|
241
241
|
}
|
|
242
242
|
map(e) {
|
|
@@ -244,15 +244,15 @@ class b {
|
|
|
244
244
|
}
|
|
245
245
|
mapDefined(e) {
|
|
246
246
|
return new b(this.handle, (n) => {
|
|
247
|
-
const
|
|
248
|
-
return
|
|
247
|
+
const s = this.postProcess(n);
|
|
248
|
+
return s ? e(s) : void 0;
|
|
249
249
|
});
|
|
250
250
|
}
|
|
251
251
|
toJSON() {
|
|
252
252
|
return this.isResolved ? this.resolvedValue : { __awaited_futures__: [this.handle] };
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function z(t, e) {
|
|
256
256
|
return t === void 0 ? void 0 : e(t);
|
|
257
257
|
}
|
|
258
258
|
class v {
|
|
@@ -261,27 +261,27 @@ class v {
|
|
|
261
261
|
}
|
|
262
262
|
resolve(...e) {
|
|
263
263
|
const n = e.map(
|
|
264
|
-
(
|
|
264
|
+
(s) => ({
|
|
265
265
|
assertFieldType: "Input",
|
|
266
|
-
...typeof
|
|
266
|
+
...typeof s == "string" ? { field: s } : s
|
|
267
267
|
})
|
|
268
268
|
);
|
|
269
269
|
return this.resolveWithCommon({}, ...n);
|
|
270
270
|
}
|
|
271
271
|
resolveOutput(...e) {
|
|
272
272
|
const n = e.map(
|
|
273
|
-
(
|
|
273
|
+
(s) => ({
|
|
274
274
|
assertFieldType: "Output",
|
|
275
|
-
...typeof
|
|
275
|
+
...typeof s == "string" ? { field: s } : s
|
|
276
276
|
})
|
|
277
277
|
);
|
|
278
278
|
return this.resolveWithCommon({}, ...n);
|
|
279
279
|
}
|
|
280
280
|
resolveInput(...e) {
|
|
281
281
|
const n = e.map(
|
|
282
|
-
(
|
|
282
|
+
(s) => ({
|
|
283
283
|
assertFieldType: "Input",
|
|
284
|
-
...typeof
|
|
284
|
+
...typeof s == "string" ? { field: s } : s
|
|
285
285
|
})
|
|
286
286
|
);
|
|
287
287
|
return this.resolveWithCommon({}, ...n);
|
|
@@ -290,13 +290,13 @@ class v {
|
|
|
290
290
|
return this.resolveWithCommon({}, ...e);
|
|
291
291
|
}
|
|
292
292
|
resolveWithCommon(e, ...n) {
|
|
293
|
-
const
|
|
293
|
+
const s = [
|
|
294
294
|
...this.resolvePath,
|
|
295
|
-
...n.map((
|
|
295
|
+
...n.map((r) => typeof r == "string" ? r : r.field)
|
|
296
296
|
];
|
|
297
|
-
return
|
|
297
|
+
return z(
|
|
298
298
|
c().resolveWithCommon(this.handle, e, ...n),
|
|
299
|
-
(
|
|
299
|
+
(r) => new v(r, s)
|
|
300
300
|
);
|
|
301
301
|
}
|
|
302
302
|
get resourceType() {
|
|
@@ -316,7 +316,7 @@ class v {
|
|
|
316
316
|
}
|
|
317
317
|
getError() {
|
|
318
318
|
const e = [...this.resolvePath, "error"];
|
|
319
|
-
return
|
|
319
|
+
return z(
|
|
320
320
|
c().getError(this.handle),
|
|
321
321
|
(n) => new v(n, e)
|
|
322
322
|
);
|
|
@@ -356,8 +356,8 @@ class v {
|
|
|
356
356
|
*
|
|
357
357
|
*/
|
|
358
358
|
getPColumns(e = !1, n = "") {
|
|
359
|
-
const
|
|
360
|
-
return
|
|
359
|
+
const s = this.parsePObjectCollection(e, n);
|
|
360
|
+
return s === void 0 ? void 0 : Object.entries(s).map(([, i]) => {
|
|
361
361
|
if (!N(i)) throw new Error(`not a PColumn (kind = ${i.spec.kind})`);
|
|
362
362
|
return i;
|
|
363
363
|
});
|
|
@@ -366,19 +366,19 @@ class v {
|
|
|
366
366
|
*
|
|
367
367
|
*/
|
|
368
368
|
parsePObjectCollection(e = !1, n = "") {
|
|
369
|
-
const
|
|
369
|
+
const s = c().parsePObjectCollection(
|
|
370
370
|
this.handle,
|
|
371
371
|
e,
|
|
372
372
|
n,
|
|
373
373
|
...this.resolvePath
|
|
374
374
|
);
|
|
375
|
-
if (
|
|
376
|
-
const
|
|
377
|
-
for (const [i, o] of Object.entries(
|
|
378
|
-
const
|
|
379
|
-
|
|
375
|
+
if (s === void 0) return;
|
|
376
|
+
const r = {};
|
|
377
|
+
for (const [i, o] of Object.entries(s)) {
|
|
378
|
+
const l = [...this.resolvePath, i];
|
|
379
|
+
r[i] = U(o, (a) => new v(a, l));
|
|
380
380
|
}
|
|
381
|
-
return
|
|
381
|
+
return r;
|
|
382
382
|
}
|
|
383
383
|
getFileContentAsBase64() {
|
|
384
384
|
return new b(c().getBlobContentAsBase64(this.handle));
|
|
@@ -461,114 +461,114 @@ class v {
|
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
463
|
mapFields(e, n) {
|
|
464
|
-
const { fieldType:
|
|
464
|
+
const { fieldType: s, requireLocked: r, skipUnresolved: i } = {
|
|
465
465
|
fieldType: "Input",
|
|
466
466
|
requireLocked: !0,
|
|
467
467
|
skipUnresolved: !1,
|
|
468
468
|
...n
|
|
469
469
|
}, o = e;
|
|
470
|
-
if (
|
|
470
|
+
if (r && (s === "Input" && !this.getInputsLocked() || s === "Output" && !this.getOutputsLocked()))
|
|
471
471
|
return;
|
|
472
|
-
let
|
|
473
|
-
(u) => [u, this.resolve({ field: u, assertFieldType:
|
|
472
|
+
let a = (s === "Input" ? this.listInputFields() : s === "Output" ? this.listOutputFields() : this.listDynamicFields()).map(
|
|
473
|
+
(u) => [u, this.resolve({ field: u, assertFieldType: s })]
|
|
474
474
|
);
|
|
475
|
-
return i && (
|
|
475
|
+
return i && (a = a.filter((u) => u[1] !== void 0)), a.map(([u, p]) => o(u, p));
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
|
-
const
|
|
478
|
+
const de = "staging", pe = "main", Te = {
|
|
479
479
|
inlineColumnsSupport: !0,
|
|
480
480
|
activeArgs: !0
|
|
481
481
|
};
|
|
482
|
-
function
|
|
482
|
+
function fe(t) {
|
|
483
483
|
return typeof t == "object" && t !== null && "__awaited_futures__" in t;
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function Y(t, e, n) {
|
|
486
486
|
if (e.has(n)) return;
|
|
487
487
|
if (e.add(n), typeof n === "object")
|
|
488
|
-
if (
|
|
488
|
+
if (fe(n)) n.__awaited_futures__.forEach((r) => t.add(r));
|
|
489
489
|
else if (Array.isArray(n))
|
|
490
|
-
for (const
|
|
490
|
+
for (const r of n) Y(t, e, r);
|
|
491
491
|
else
|
|
492
|
-
for (const [,
|
|
493
|
-
|
|
492
|
+
for (const [, r] of Object.entries(n))
|
|
493
|
+
r !== n && Y(t, e, r);
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function Le(t) {
|
|
496
496
|
const e = /* @__PURE__ */ new Set();
|
|
497
|
-
return
|
|
497
|
+
return Y(e, /* @__PURE__ */ new Set(), t), e;
|
|
498
498
|
}
|
|
499
|
-
const
|
|
499
|
+
const Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
500
500
|
__proto__: null,
|
|
501
|
-
GlobalCfgRenderCtxFeatureFlags:
|
|
502
|
-
MainAccessorName:
|
|
503
|
-
StagingAccessorName:
|
|
504
|
-
getAllFutureAwaits:
|
|
505
|
-
isFutureAwait:
|
|
506
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
507
|
-
type:
|
|
508
|
-
importance:
|
|
509
|
-
id:
|
|
510
|
-
label:
|
|
511
|
-
}),
|
|
512
|
-
function
|
|
513
|
-
const
|
|
514
|
-
var
|
|
515
|
-
const g = e(
|
|
516
|
-
if (
|
|
517
|
-
const
|
|
518
|
-
n.addLabelAsSuffix ? y.push(
|
|
501
|
+
GlobalCfgRenderCtxFeatureFlags: Te,
|
|
502
|
+
MainAccessorName: pe,
|
|
503
|
+
StagingAccessorName: de,
|
|
504
|
+
getAllFutureAwaits: Le,
|
|
505
|
+
isFutureAwait: fe
|
|
506
|
+
}, Symbol.toStringTag, { value: "Module" })), ke = "pl7.app/label", De = "pl7.app/trace", Oe = C.object({
|
|
507
|
+
type: C.string(),
|
|
508
|
+
importance: C.number().optional(),
|
|
509
|
+
id: C.string().optional(),
|
|
510
|
+
label: C.string()
|
|
511
|
+
}), Ee = C.array(Oe), Ve = 1e-3, je = "__LABEL__", se = "__LABEL__@1";
|
|
512
|
+
function re(t, e, n = {}) {
|
|
513
|
+
const s = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = t.map((f) => {
|
|
514
|
+
var F, ee;
|
|
515
|
+
const g = e(f), h = (F = g.annotations) == null ? void 0 : F[ke], I = (ee = g.annotations) == null ? void 0 : ee[De], y = (I ? Ee.safeParse(JSON.parse(I)).data : void 0) ?? [];
|
|
516
|
+
if (h) {
|
|
517
|
+
const S = { label: h, type: je, importance: -2 };
|
|
518
|
+
n.addLabelAsSuffix ? y.push(S) : y.splice(0, 0, S);
|
|
519
519
|
}
|
|
520
|
-
const
|
|
521
|
-
for (let
|
|
522
|
-
const { type: M } = y[
|
|
523
|
-
|
|
520
|
+
const R = [], O = /* @__PURE__ */ new Map();
|
|
521
|
+
for (let S = y.length - 1; S >= 0; --S) {
|
|
522
|
+
const { type: M } = y[S], ye = y[S].importance ?? 0, J = (O.get(M) ?? 0) + 1;
|
|
523
|
+
O.set(M, J);
|
|
524
524
|
const x = `${M}@${J}`;
|
|
525
|
-
|
|
525
|
+
r.set(x, (r.get(x) ?? 0) + 1), s.set(
|
|
526
526
|
x,
|
|
527
527
|
Math.max(
|
|
528
|
-
|
|
529
|
-
|
|
528
|
+
s.get(x) ?? Number.NEGATIVE_INFINITY,
|
|
529
|
+
ye - (y.length - S) * Ve
|
|
530
530
|
)
|
|
531
|
-
),
|
|
531
|
+
), R.push({ ...y[S], fullType: x, occurenceIndex: J });
|
|
532
532
|
}
|
|
533
|
-
return
|
|
534
|
-
value:
|
|
533
|
+
return R.reverse(), {
|
|
534
|
+
value: f,
|
|
535
535
|
spec: g,
|
|
536
|
-
label:
|
|
537
|
-
fullTrace:
|
|
536
|
+
label: h,
|
|
537
|
+
fullTrace: R
|
|
538
538
|
};
|
|
539
|
-
}), o = [],
|
|
540
|
-
|
|
541
|
-
for (const [
|
|
542
|
-
|
|
543
|
-
const u = (
|
|
544
|
-
const
|
|
539
|
+
}), o = [], l = [], a = [...s];
|
|
540
|
+
a.sort(([, f], [, g]) => g - f);
|
|
541
|
+
for (const [f] of a)
|
|
542
|
+
f.endsWith("@1") || r.get(f) === t.length ? o.push(f) : l.push(f);
|
|
543
|
+
const u = (f) => i.map((g) => {
|
|
544
|
+
const h = g.fullTrace.filter((y) => f.has(y.fullType)).map((y) => y.label), I = n.separator ?? " / ";
|
|
545
545
|
return {
|
|
546
|
-
label:
|
|
546
|
+
label: h.join(I),
|
|
547
547
|
value: g.value
|
|
548
548
|
};
|
|
549
549
|
});
|
|
550
550
|
if (o.length === 0) {
|
|
551
|
-
if (
|
|
552
|
-
return u(new Set(
|
|
553
|
-
}
|
|
554
|
-
let
|
|
555
|
-
for (;
|
|
556
|
-
const
|
|
557
|
-
n.includeNativeLabel &&
|
|
558
|
-
for (let
|
|
559
|
-
|
|
560
|
-
const g = u(
|
|
561
|
-
if (new Set(g.map((
|
|
562
|
-
d++, d == o.length && (
|
|
563
|
-
}
|
|
564
|
-
return u(/* @__PURE__ */ new Set([...o, ...
|
|
565
|
-
}
|
|
566
|
-
class
|
|
551
|
+
if (l.length !== 0) throw new Error("Assertion error.");
|
|
552
|
+
return u(new Set(se));
|
|
553
|
+
}
|
|
554
|
+
let p = 0, d = 0;
|
|
555
|
+
for (; p < o.length; ) {
|
|
556
|
+
const f = /* @__PURE__ */ new Set();
|
|
557
|
+
n.includeNativeLabel && f.add(se);
|
|
558
|
+
for (let h = 0; h < p; ++h) f.add(o[h]);
|
|
559
|
+
f.add(o[d]);
|
|
560
|
+
const g = u(f);
|
|
561
|
+
if (new Set(g.map((h) => h.label)).size === t.length) return g;
|
|
562
|
+
d++, d == o.length && (p++, d = p);
|
|
563
|
+
}
|
|
564
|
+
return u(/* @__PURE__ */ new Set([...o, ...l]));
|
|
565
|
+
}
|
|
566
|
+
class Ue {
|
|
567
567
|
constructor() {
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
var
|
|
571
|
-
return ((
|
|
568
|
+
A(this, "ctx", c());
|
|
569
|
+
A(this, "defaultLabelFn", (e, n) => {
|
|
570
|
+
var s;
|
|
571
|
+
return ((s = e.annotations) == null ? void 0 : s["pl7.app/label"]) ?? "Unlabelled";
|
|
572
572
|
});
|
|
573
573
|
}
|
|
574
574
|
/**
|
|
@@ -578,13 +578,33 @@ class De {
|
|
|
578
578
|
return this.ctx.calculateOptions(e);
|
|
579
579
|
}
|
|
580
580
|
getOptions(e, n) {
|
|
581
|
-
const r = this.getSpecs().entries.filter((
|
|
582
|
-
return typeof n == "object" || typeof n > "u" ?
|
|
583
|
-
ref:
|
|
584
|
-
label:
|
|
585
|
-
})) : r.map((
|
|
586
|
-
ref:
|
|
587
|
-
label: n(
|
|
581
|
+
const s = typeof e == "function" ? e : te(e), r = this.getSpecs().entries.filter((i) => s(i.obj));
|
|
582
|
+
return typeof n == "object" || typeof n > "u" ? re(r, (i) => i.obj, n ?? {}).map(({ value: { ref: i }, label: o }) => ({
|
|
583
|
+
ref: i,
|
|
584
|
+
label: o
|
|
585
|
+
})) : r.map((i) => ({
|
|
586
|
+
ref: i.ref,
|
|
587
|
+
label: n(i.obj, i.ref)
|
|
588
|
+
}));
|
|
589
|
+
}
|
|
590
|
+
// Implementation
|
|
591
|
+
getAnchoredOptions(e, n, s) {
|
|
592
|
+
const r = {};
|
|
593
|
+
if (!(e instanceof $))
|
|
594
|
+
for (const [a, u] of Object.entries(e))
|
|
595
|
+
if (_e(u)) {
|
|
596
|
+
const p = this.getPColumnSpecByRef(u);
|
|
597
|
+
if (!p)
|
|
598
|
+
return;
|
|
599
|
+
r[a] = p;
|
|
600
|
+
} else
|
|
601
|
+
r[a] = u;
|
|
602
|
+
const i = typeof n == "function" ? n : te(
|
|
603
|
+
Array.isArray(n) ? n.map((a) => ne(r, a)) : ne(r, n)
|
|
604
|
+
), o = this.getSpecs().entries.filter(({ obj: a }) => G(a) ? i(a) : !1), l = e instanceof $ ? e : new $(r);
|
|
605
|
+
return re(o, (a) => a.obj, s ?? {}).map(({ value: { obj: a }, label: u }) => ({
|
|
606
|
+
value: l.deriveString(a),
|
|
607
|
+
label: u
|
|
588
608
|
}));
|
|
589
609
|
}
|
|
590
610
|
/**
|
|
@@ -620,9 +640,9 @@ class De {
|
|
|
620
640
|
ref: n.ref,
|
|
621
641
|
obj: {
|
|
622
642
|
...n.obj,
|
|
623
|
-
data:
|
|
643
|
+
data: Ae(
|
|
624
644
|
n.obj.data,
|
|
625
|
-
(
|
|
645
|
+
(s) => new v(s, [n.ref.blockId, n.ref.name])
|
|
626
646
|
)
|
|
627
647
|
}
|
|
628
648
|
}))
|
|
@@ -644,10 +664,10 @@ class De {
|
|
|
644
664
|
getDataByRef(e) {
|
|
645
665
|
var n;
|
|
646
666
|
return typeof this.ctx.getDataFromResultPoolByRef > "u" ? (n = this.getData().entries.find(
|
|
647
|
-
(
|
|
667
|
+
(s) => s.ref.blockId === e.blockId && s.ref.name === e.name
|
|
648
668
|
)) == null ? void 0 : n.obj : U(
|
|
649
669
|
this.ctx.getDataFromResultPoolByRef(e.blockId, e.name),
|
|
650
|
-
(
|
|
670
|
+
(s) => new v(s, [e.blockId, e.name])
|
|
651
671
|
);
|
|
652
672
|
}
|
|
653
673
|
/**
|
|
@@ -658,7 +678,7 @@ class De {
|
|
|
658
678
|
getPColumnByRef(e) {
|
|
659
679
|
const n = this.getDataByRef(e);
|
|
660
680
|
if (n)
|
|
661
|
-
return
|
|
681
|
+
return Se(n);
|
|
662
682
|
}
|
|
663
683
|
/**
|
|
664
684
|
* Returns spec associated with the ref ensuring that it is a p-column spec.
|
|
@@ -668,7 +688,7 @@ class De {
|
|
|
668
688
|
getPColumnSpecByRef(e) {
|
|
669
689
|
const n = this.getSpecByRef(e);
|
|
670
690
|
if (n) {
|
|
671
|
-
if (!
|
|
691
|
+
if (!G(n)) throw new Error(`not a PColumn spec (kind = ${n.kind})`);
|
|
672
692
|
return n;
|
|
673
693
|
}
|
|
674
694
|
}
|
|
@@ -677,10 +697,7 @@ class De {
|
|
|
677
697
|
* @returns object spec associated with the ref
|
|
678
698
|
*/
|
|
679
699
|
getSpecByRef(e) {
|
|
680
|
-
|
|
681
|
-
return typeof this.ctx.getSpecFromResultPoolByRef > "u" ? (n = this.getSpecs().entries.find(
|
|
682
|
-
(r) => r.ref.blockId === e.blockId && r.ref.name === e.name
|
|
683
|
-
)) == null ? void 0 : n.obj : this.ctx.getSpecFromResultPoolByRef(e.blockId, e.name);
|
|
700
|
+
return this.ctx.getSpecFromResultPoolByRef(e.blockId, e.name);
|
|
684
701
|
}
|
|
685
702
|
/**
|
|
686
703
|
* @param spec object specification
|
|
@@ -689,23 +706,23 @@ class De {
|
|
|
689
706
|
*/
|
|
690
707
|
findDataWithCompatibleSpec(e) {
|
|
691
708
|
const n = [];
|
|
692
|
-
e: for (const
|
|
693
|
-
if (!
|
|
709
|
+
e: for (const s of this.getData().entries) {
|
|
710
|
+
if (!G(s.obj.spec))
|
|
694
711
|
continue;
|
|
695
|
-
const
|
|
696
|
-
if (e.name ===
|
|
712
|
+
const r = s.obj.spec;
|
|
713
|
+
if (e.name === r.name && e.valueType === r.valueType && e.axesSpec.length === r.axesSpec.length && X(e.domain, r.domain)) {
|
|
697
714
|
for (let i = 0; i < e.axesSpec.length; ++i) {
|
|
698
|
-
const o = e.axesSpec[i],
|
|
699
|
-
if (o.name !==
|
|
715
|
+
const o = e.axesSpec[i], l = r.axesSpec[i];
|
|
716
|
+
if (o.name !== l.name || o.type !== l.type || !X(o.domain, l.domain))
|
|
700
717
|
continue e;
|
|
701
718
|
}
|
|
702
|
-
n.push(
|
|
719
|
+
n.push(s.obj);
|
|
703
720
|
}
|
|
704
721
|
}
|
|
705
722
|
return n;
|
|
706
723
|
}
|
|
707
724
|
}
|
|
708
|
-
function
|
|
725
|
+
function X(t, e) {
|
|
709
726
|
if (t === void 0) return e === void 0;
|
|
710
727
|
if (e === void 0) return !0;
|
|
711
728
|
for (const n in e)
|
|
@@ -714,12 +731,12 @@ function z(t, e) {
|
|
|
714
731
|
}
|
|
715
732
|
class V {
|
|
716
733
|
constructor() {
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
734
|
+
A(this, "ctx");
|
|
735
|
+
A(this, "args");
|
|
736
|
+
A(this, "uiState");
|
|
720
737
|
// lazy rendering because this feature is rarely used
|
|
721
|
-
|
|
722
|
-
|
|
738
|
+
A(this, "_activeArgsCache");
|
|
739
|
+
A(this, "resultPool", new Ue());
|
|
723
740
|
this.ctx = c(), this.args = JSON.parse(this.ctx.args), this.uiState = this.ctx.uiState !== void 0 ? JSON.parse(this.ctx.uiState) : {};
|
|
724
741
|
}
|
|
725
742
|
/**
|
|
@@ -736,16 +753,16 @@ class V {
|
|
|
736
753
|
// return this.ctx.featureFlags;
|
|
737
754
|
// }
|
|
738
755
|
getNamedAccessor(e) {
|
|
739
|
-
return
|
|
756
|
+
return z(
|
|
740
757
|
this.ctx.getAccessorHandleByName(e),
|
|
741
758
|
(n) => new v(n, [e])
|
|
742
759
|
);
|
|
743
760
|
}
|
|
744
761
|
get prerun() {
|
|
745
|
-
return this.getNamedAccessor(
|
|
762
|
+
return this.getNamedAccessor(de);
|
|
746
763
|
}
|
|
747
764
|
get outputs() {
|
|
748
|
-
return this.getNamedAccessor(
|
|
765
|
+
return this.getNamedAccessor(pe);
|
|
749
766
|
}
|
|
750
767
|
/**
|
|
751
768
|
* Find labels data for a given axis id. It will search for a label column and return its data as a map.
|
|
@@ -753,43 +770,43 @@ class V {
|
|
|
753
770
|
*/
|
|
754
771
|
findLabels(e) {
|
|
755
772
|
const n = this.resultPool.getData();
|
|
756
|
-
for (const
|
|
757
|
-
if (!N(
|
|
758
|
-
const
|
|
759
|
-
if (
|
|
760
|
-
if (
|
|
761
|
-
throw Error(`Expected JSON column for labels, got: ${
|
|
773
|
+
for (const s of n.entries) {
|
|
774
|
+
if (!N(s.obj)) continue;
|
|
775
|
+
const r = s.obj.spec;
|
|
776
|
+
if (r.name === "pl7.app/label" && r.axesSpec.length === 1 && r.axesSpec[0].name === e.name && r.axesSpec[0].type === e.type && X(e.domain, r.axesSpec[0].domain)) {
|
|
777
|
+
if (s.obj.data.resourceType.name !== "PColumnData/Json")
|
|
778
|
+
throw Error(`Expected JSON column for labels, got: ${s.obj.data.resourceType.name}`);
|
|
762
779
|
return Object.fromEntries(
|
|
763
780
|
Object.entries(
|
|
764
|
-
|
|
781
|
+
s.obj.data.getDataAsJson().data
|
|
765
782
|
).map((o) => [JSON.parse(o[0])[0], o[1]])
|
|
766
783
|
);
|
|
767
784
|
}
|
|
768
785
|
}
|
|
769
786
|
}
|
|
770
787
|
verifyInlineColumnsSupport(e) {
|
|
771
|
-
var
|
|
772
|
-
const n = e.some((i) => !(i.data instanceof v)),
|
|
773
|
-
if (n && !
|
|
788
|
+
var r;
|
|
789
|
+
const n = e.some((i) => !(i.data instanceof v)), s = ((r = this.ctx.featureFlags) == null ? void 0 : r.inlineColumnsSupport) === !0;
|
|
790
|
+
if (n && !s) throw Error("inline columns not supported");
|
|
774
791
|
}
|
|
775
792
|
createPFrame(e) {
|
|
776
793
|
return this.verifyInlineColumnsSupport(e), this.ctx.createPFrame(
|
|
777
|
-
e.map((n) => U(n, (
|
|
794
|
+
e.map((n) => U(n, (s) => s instanceof v ? s.handle : s))
|
|
778
795
|
);
|
|
779
796
|
}
|
|
780
797
|
createPTable(e) {
|
|
781
|
-
|
|
798
|
+
let n;
|
|
782
799
|
return "columns" in e ? n = {
|
|
783
800
|
src: {
|
|
784
801
|
type: "full",
|
|
785
|
-
entries: e.columns.map((
|
|
802
|
+
entries: e.columns.map((s) => ({ type: "column", column: s }))
|
|
786
803
|
},
|
|
787
804
|
filters: e.filters ?? [],
|
|
788
805
|
sorting: e.sorting ?? []
|
|
789
|
-
} : n = e, this.verifyInlineColumnsSupport(
|
|
790
|
-
|
|
806
|
+
} : n = e, this.verifyInlineColumnsSupport(we(n.src)), this.ctx.createPTable(
|
|
807
|
+
Ie(
|
|
791
808
|
n,
|
|
792
|
-
(
|
|
809
|
+
(s) => U(s, (r) => r instanceof v ? r.handle : r)
|
|
793
810
|
)
|
|
794
811
|
);
|
|
795
812
|
}
|
|
@@ -802,30 +819,30 @@ class V {
|
|
|
802
819
|
return this.ctx.getCurrentUnstableMarker();
|
|
803
820
|
}
|
|
804
821
|
}
|
|
805
|
-
const
|
|
806
|
-
function
|
|
822
|
+
const D = "PColumnData/", Q = D + "ResourceMap", Z = D + "Partitioned/ResourceMap", ie = D + "JsonPartitioned", K = D + "BinaryPartitioned", he = D + "Partitioned/", oe = he + "JsonPartitioned", H = he + "BinaryPartitioned";
|
|
823
|
+
function ge(t, e, n, s = [], r) {
|
|
807
824
|
if (t === void 0) return !1;
|
|
808
825
|
switch (t.resourceType.name) {
|
|
809
|
-
case
|
|
826
|
+
case Q: {
|
|
810
827
|
let i = t.getInputsLocked();
|
|
811
828
|
for (const o of t.listInputFields()) {
|
|
812
|
-
const
|
|
813
|
-
u === void 0 && (i = !1), (u !== void 0 ||
|
|
829
|
+
const l = t.resolve({ field: o, assertFieldType: "Input" }), a = [...s, ...JSON.parse(o)], u = l === void 0 ? void 0 : e(l);
|
|
830
|
+
u === void 0 && (i = !1), (u !== void 0 || r) && n.push({ key: a, value: u });
|
|
814
831
|
}
|
|
815
832
|
return i;
|
|
816
833
|
}
|
|
817
|
-
case
|
|
834
|
+
case Z: {
|
|
818
835
|
let i = t.getInputsLocked();
|
|
819
836
|
for (const o of t.listInputFields()) {
|
|
820
|
-
const
|
|
821
|
-
if (
|
|
837
|
+
const l = t.resolve({ field: o, assertFieldType: "Input" });
|
|
838
|
+
if (l === void 0) i = !1;
|
|
822
839
|
else {
|
|
823
|
-
const
|
|
824
|
-
|
|
840
|
+
const a = [...s, ...JSON.parse(o)], u = ge(
|
|
841
|
+
l,
|
|
825
842
|
e,
|
|
826
843
|
n,
|
|
827
|
-
|
|
828
|
-
|
|
844
|
+
a,
|
|
845
|
+
r
|
|
829
846
|
);
|
|
830
847
|
i = i && u;
|
|
831
848
|
}
|
|
@@ -836,155 +853,155 @@ function de(t, e, n, r = [], s) {
|
|
|
836
853
|
throw new Error(`Unknown resource type: ${t.resourceType.name}`);
|
|
837
854
|
}
|
|
838
855
|
}
|
|
839
|
-
function
|
|
840
|
-
const
|
|
841
|
-
return { isComplete:
|
|
856
|
+
function Ft(t, e, n = !1) {
|
|
857
|
+
const s = [];
|
|
858
|
+
return { isComplete: ge(t, e, s, [], n), data: s };
|
|
842
859
|
}
|
|
843
|
-
const
|
|
860
|
+
const ae = (t) => {
|
|
844
861
|
if (!t.endsWith(".index")) {
|
|
845
862
|
if (t.endsWith(".values"))
|
|
846
863
|
return t.substring(0, t.length - 7);
|
|
847
864
|
throw Error(`key must ends on .index/.values for binary p-column, got: ${t}`);
|
|
848
865
|
}
|
|
849
866
|
};
|
|
850
|
-
function
|
|
867
|
+
function Be(t) {
|
|
851
868
|
if (!t) return;
|
|
852
|
-
const e = t.resourceType.name, n = t.getDataAsJson(),
|
|
853
|
-
let
|
|
869
|
+
const e = t.resourceType.name, n = t.getDataAsJson(), s = [];
|
|
870
|
+
let r = 0;
|
|
854
871
|
switch (e) {
|
|
855
|
-
case
|
|
856
|
-
|
|
872
|
+
case Q:
|
|
873
|
+
r = n.keyLength;
|
|
857
874
|
break;
|
|
858
|
-
case
|
|
859
|
-
|
|
875
|
+
case Z:
|
|
876
|
+
r = n.partitionKeyLength + n.keyLength;
|
|
860
877
|
break;
|
|
861
|
-
case
|
|
862
|
-
case
|
|
863
|
-
|
|
878
|
+
case ie:
|
|
879
|
+
case K:
|
|
880
|
+
r = n.partitionKeyLength;
|
|
864
881
|
break;
|
|
865
|
-
case
|
|
866
|
-
case
|
|
867
|
-
|
|
882
|
+
case H:
|
|
883
|
+
case oe:
|
|
884
|
+
r = n.superPartitionKeyLength + n.partitionKeyLength;
|
|
868
885
|
break;
|
|
869
886
|
}
|
|
870
887
|
switch (e) {
|
|
871
|
-
case
|
|
872
|
-
case
|
|
873
|
-
case
|
|
888
|
+
case Q:
|
|
889
|
+
case ie:
|
|
890
|
+
case K:
|
|
874
891
|
for (let i of t.listInputFields()) {
|
|
875
|
-
if (e ===
|
|
876
|
-
const
|
|
877
|
-
if (
|
|
892
|
+
if (e === K) {
|
|
893
|
+
const l = ae(i);
|
|
894
|
+
if (l) i = l;
|
|
878
895
|
else continue;
|
|
879
896
|
}
|
|
880
897
|
const o = [...JSON.parse(i)];
|
|
881
|
-
|
|
898
|
+
s.push(o);
|
|
882
899
|
}
|
|
883
900
|
break;
|
|
884
|
-
case
|
|
885
|
-
case
|
|
886
|
-
case
|
|
901
|
+
case Z:
|
|
902
|
+
case H:
|
|
903
|
+
case oe:
|
|
887
904
|
for (const i of t.listInputFields()) {
|
|
888
|
-
const o = [...JSON.parse(i)],
|
|
889
|
-
if (
|
|
890
|
-
for (let
|
|
891
|
-
if (e ===
|
|
892
|
-
const
|
|
893
|
-
if (
|
|
905
|
+
const o = [...JSON.parse(i)], l = t.resolve({ field: i, assertFieldType: "Input" });
|
|
906
|
+
if (l !== void 0)
|
|
907
|
+
for (let a of l.listInputFields()) {
|
|
908
|
+
if (e === H) {
|
|
909
|
+
const p = ae(a);
|
|
910
|
+
if (p) a = p;
|
|
894
911
|
else continue;
|
|
895
912
|
}
|
|
896
|
-
const u = [...o, ...JSON.parse(
|
|
897
|
-
|
|
913
|
+
const u = [...o, ...JSON.parse(a)];
|
|
914
|
+
s.push(u);
|
|
898
915
|
}
|
|
899
916
|
}
|
|
900
917
|
break;
|
|
901
918
|
}
|
|
902
|
-
return { data:
|
|
919
|
+
return { data: s, keyLength: r };
|
|
903
920
|
}
|
|
904
|
-
function
|
|
905
|
-
const e =
|
|
921
|
+
function xt(t) {
|
|
922
|
+
const e = Be(t);
|
|
906
923
|
if (!e) return;
|
|
907
|
-
const { data: n, keyLength:
|
|
908
|
-
for (let i = 0; i <
|
|
909
|
-
|
|
924
|
+
const { data: n, keyLength: s } = e, r = [];
|
|
925
|
+
for (let i = 0; i < s; ++i)
|
|
926
|
+
r.push(/* @__PURE__ */ new Set());
|
|
910
927
|
for (const i of n) {
|
|
911
|
-
if (i.length !==
|
|
928
|
+
if (i.length !== s)
|
|
912
929
|
throw new Error("key length does not match partition length");
|
|
913
|
-
for (let o = 0; o <
|
|
914
|
-
|
|
930
|
+
for (let o = 0; o < s; ++o)
|
|
931
|
+
r[o].add(i[o]);
|
|
915
932
|
}
|
|
916
|
-
return
|
|
933
|
+
return r.map((i) => Array.from(i.values()));
|
|
917
934
|
}
|
|
918
|
-
const T = "1.
|
|
919
|
-
function
|
|
935
|
+
const T = "1.23.0";
|
|
936
|
+
function Ne(t) {
|
|
920
937
|
return t.__renderLambda === !0;
|
|
921
938
|
}
|
|
922
|
-
function
|
|
939
|
+
function q(t) {
|
|
923
940
|
if (t !== void 0)
|
|
924
|
-
return
|
|
941
|
+
return Ne(t) ? t.handle : t;
|
|
925
942
|
}
|
|
926
|
-
function
|
|
943
|
+
function P(t) {
|
|
927
944
|
if (t !== void 0)
|
|
928
945
|
return typeof t == "string" ? { __renderLambda: !0, handle: t, retentive: !1 } : t;
|
|
929
946
|
}
|
|
930
|
-
function
|
|
947
|
+
function Tt(t) {
|
|
931
948
|
if (t.v3 !== void 0) {
|
|
932
949
|
const {
|
|
933
950
|
initialArgs: e,
|
|
934
951
|
initialUiState: n,
|
|
935
|
-
inputsValid:
|
|
936
|
-
outputs:
|
|
952
|
+
inputsValid: s,
|
|
953
|
+
outputs: r,
|
|
937
954
|
renderingMode: i,
|
|
938
955
|
sdkVersion: o,
|
|
939
|
-
sections:
|
|
940
|
-
title:
|
|
956
|
+
sections: l,
|
|
957
|
+
title: a
|
|
941
958
|
} = t.v3, { code: u } = t;
|
|
942
959
|
return {
|
|
943
960
|
initialArgs: e,
|
|
944
961
|
initialUiState: n,
|
|
945
|
-
inputsValid:
|
|
946
|
-
outputs:
|
|
962
|
+
inputsValid: s,
|
|
963
|
+
outputs: r,
|
|
947
964
|
renderingMode: i,
|
|
948
965
|
sdkVersion: o,
|
|
949
|
-
sections:
|
|
950
|
-
title:
|
|
966
|
+
sections: l,
|
|
967
|
+
title: a,
|
|
951
968
|
code: u
|
|
952
969
|
};
|
|
953
970
|
} else if (t.inputsValid !== void 0) {
|
|
954
|
-
const { sdkVersion: e, renderingMode: n, outputs:
|
|
955
|
-
if (e === void 0 || n === void 0 ||
|
|
971
|
+
const { sdkVersion: e, renderingMode: n, outputs: s, inputsValid: r, sections: i, initialArgs: o, code: l } = t, a = Object.keys(t);
|
|
972
|
+
if (e === void 0 || n === void 0 || s === void 0 || r === void 0 || i === void 0 || o === void 0)
|
|
956
973
|
throw new Error(
|
|
957
|
-
`Malformed config v2. SDK version ${e}; Fields = ${
|
|
974
|
+
`Malformed config v2. SDK version ${e}; Fields = ${a.join(", ")}`
|
|
958
975
|
);
|
|
959
976
|
return {
|
|
960
977
|
sdkVersion: e,
|
|
961
978
|
renderingMode: n,
|
|
962
979
|
initialArgs: o,
|
|
963
980
|
outputs: Object.fromEntries(
|
|
964
|
-
Object.entries(
|
|
981
|
+
Object.entries(s).map(([u, p]) => [u, P(p)])
|
|
965
982
|
),
|
|
966
|
-
inputsValid:
|
|
967
|
-
sections:
|
|
983
|
+
inputsValid: P(r),
|
|
984
|
+
sections: P(i),
|
|
968
985
|
initialUiState: void 0,
|
|
969
|
-
code:
|
|
986
|
+
code: l
|
|
970
987
|
};
|
|
971
988
|
} else if (t.renderingMode !== void 0) {
|
|
972
|
-
const { sdkVersion: e, canRun: n, renderingMode:
|
|
973
|
-
if (
|
|
989
|
+
const { sdkVersion: e, canRun: n, renderingMode: s, outputs: r, sections: i, initialArgs: o, code: l } = t, a = Object.keys(t);
|
|
990
|
+
if (s === void 0 || r === void 0 || n === void 0 || i === void 0 || o === void 0)
|
|
974
991
|
throw new Error(
|
|
975
|
-
`Malformed config v1. SDK version ${e}; Fields = ${
|
|
992
|
+
`Malformed config v1. SDK version ${e}; Fields = ${a.join(", ")}`
|
|
976
993
|
);
|
|
977
994
|
return {
|
|
978
995
|
sdkVersion: e ?? "unknown",
|
|
979
|
-
renderingMode:
|
|
996
|
+
renderingMode: s,
|
|
980
997
|
initialArgs: o,
|
|
981
998
|
outputs: Object.fromEntries(
|
|
982
|
-
Object.entries(
|
|
999
|
+
Object.entries(r).map(([u, p]) => [u, P(p)])
|
|
983
1000
|
),
|
|
984
|
-
inputsValid:
|
|
985
|
-
sections:
|
|
1001
|
+
inputsValid: P(n),
|
|
1002
|
+
sections: P(i),
|
|
986
1003
|
initialUiState: void 0,
|
|
987
|
-
code:
|
|
1004
|
+
code: l
|
|
988
1005
|
};
|
|
989
1006
|
} else {
|
|
990
1007
|
const { sdkVersion: e } = t, n = Object.keys(t);
|
|
@@ -994,8 +1011,8 @@ function Pt(t) {
|
|
|
994
1011
|
}
|
|
995
1012
|
}
|
|
996
1013
|
class _ {
|
|
997
|
-
constructor(e, n,
|
|
998
|
-
this._renderingMode = e, this._initialArgs = n, this._initialUiState =
|
|
1014
|
+
constructor(e, n, s, r, i, o, l) {
|
|
1015
|
+
this._renderingMode = e, this._initialArgs = n, this._initialUiState = s, this._outputs = r, this._inputsValid = i, this._sections = o, this._title = l;
|
|
999
1016
|
}
|
|
1000
1017
|
static create(e = "Heavy") {
|
|
1001
1018
|
return new _(
|
|
@@ -1008,10 +1025,10 @@ class _ {
|
|
|
1008
1025
|
void 0
|
|
1009
1026
|
);
|
|
1010
1027
|
}
|
|
1011
|
-
output(e, n,
|
|
1028
|
+
output(e, n, s = {}) {
|
|
1012
1029
|
if (typeof n == "function") {
|
|
1013
|
-
const
|
|
1014
|
-
return E(
|
|
1030
|
+
const r = `output#${e}`;
|
|
1031
|
+
return E(r, () => n(new V())), new _(
|
|
1015
1032
|
this._renderingMode,
|
|
1016
1033
|
this._initialArgs,
|
|
1017
1034
|
this._initialUiState,
|
|
@@ -1019,8 +1036,8 @@ class _ {
|
|
|
1019
1036
|
...this._outputs,
|
|
1020
1037
|
[e]: {
|
|
1021
1038
|
__renderLambda: !0,
|
|
1022
|
-
handle:
|
|
1023
|
-
...
|
|
1039
|
+
handle: r,
|
|
1040
|
+
...s
|
|
1024
1041
|
}
|
|
1025
1042
|
},
|
|
1026
1043
|
this._inputsValid,
|
|
@@ -1157,44 +1174,44 @@ class _ {
|
|
|
1157
1174
|
sdkVersion: T,
|
|
1158
1175
|
renderingMode: this._renderingMode,
|
|
1159
1176
|
initialArgs: this._initialArgs,
|
|
1160
|
-
inputsValid:
|
|
1161
|
-
sections:
|
|
1177
|
+
inputsValid: q(this._inputsValid),
|
|
1178
|
+
sections: q(this._sections),
|
|
1162
1179
|
outputs: Object.fromEntries(
|
|
1163
|
-
Object.entries(this._outputs).map(([n,
|
|
1180
|
+
Object.entries(this._outputs).map(([n, s]) => [n, q(s)])
|
|
1164
1181
|
)
|
|
1165
1182
|
};
|
|
1166
|
-
return
|
|
1183
|
+
return Re() ? ce({ sdkVersion: T }) : { config: e };
|
|
1167
1184
|
}
|
|
1168
1185
|
}
|
|
1169
|
-
function
|
|
1170
|
-
var u,
|
|
1171
|
-
Array.isArray(
|
|
1172
|
-
const
|
|
1186
|
+
function Lt(t, e, n, s) {
|
|
1187
|
+
var u, p;
|
|
1188
|
+
Array.isArray(s) && (s = { filters: s });
|
|
1189
|
+
const r = t.resultPool.getData().entries.map((d) => d.obj).filter(N).filter((d) => d.spec.name === "pl7.app/label" && d.spec.axesSpec.length === 1), i = (d, f) => {
|
|
1173
1190
|
let g = d.toString();
|
|
1174
|
-
if (
|
|
1175
|
-
for (const
|
|
1176
|
-
g +=
|
|
1191
|
+
if (f)
|
|
1192
|
+
for (const h in f)
|
|
1193
|
+
g += h, g += f[h];
|
|
1177
1194
|
return g;
|
|
1178
1195
|
}, o = /* @__PURE__ */ new Map();
|
|
1179
1196
|
for (const d of e)
|
|
1180
|
-
for (const
|
|
1181
|
-
const g = w(
|
|
1182
|
-
for (const
|
|
1183
|
-
const I =
|
|
1184
|
-
if (
|
|
1185
|
-
const
|
|
1186
|
-
if (
|
|
1187
|
-
const
|
|
1188
|
-
o.set(
|
|
1189
|
-
id:
|
|
1197
|
+
for (const f of d.spec.axesSpec) {
|
|
1198
|
+
const g = w(f);
|
|
1199
|
+
for (const h of r) {
|
|
1200
|
+
const I = h.spec.axesSpec[0], y = w(h.spec.axesSpec[0]);
|
|
1201
|
+
if (L(g, y)) {
|
|
1202
|
+
const R = Object.keys(g.domain ?? {}).length, O = Object.keys(y.domain ?? {}).length;
|
|
1203
|
+
if (R > O) {
|
|
1204
|
+
const F = i(h.id, g.domain);
|
|
1205
|
+
o.set(F, {
|
|
1206
|
+
id: F,
|
|
1190
1207
|
spec: {
|
|
1191
|
-
...
|
|
1208
|
+
...h.spec,
|
|
1192
1209
|
axesSpec: [{ ...g, annotations: I.annotations }]
|
|
1193
1210
|
},
|
|
1194
|
-
data:
|
|
1211
|
+
data: h.data
|
|
1195
1212
|
});
|
|
1196
1213
|
} else
|
|
1197
|
-
o.set(i(
|
|
1214
|
+
o.set(i(h.id), h);
|
|
1198
1215
|
}
|
|
1199
1216
|
}
|
|
1200
1217
|
}
|
|
@@ -1202,114 +1219,114 @@ function Ft(t, e, n, r) {
|
|
|
1202
1219
|
(d) => d.data instanceof v && !d.data.getIsReadyOrError()
|
|
1203
1220
|
))
|
|
1204
1221
|
return;
|
|
1205
|
-
let
|
|
1206
|
-
const
|
|
1207
|
-
if (
|
|
1208
|
-
|
|
1222
|
+
let l = e;
|
|
1223
|
+
const a = [];
|
|
1224
|
+
if (s != null && s.coreColumnPredicate) {
|
|
1225
|
+
l = [];
|
|
1209
1226
|
for (const d of e)
|
|
1210
|
-
|
|
1227
|
+
s.coreColumnPredicate(d.spec) ? l.push(d) : a.push(d);
|
|
1211
1228
|
}
|
|
1212
|
-
return
|
|
1229
|
+
return a.push(...o.values()), t.createPTable({
|
|
1213
1230
|
src: {
|
|
1214
1231
|
type: "outer",
|
|
1215
1232
|
primary: {
|
|
1216
|
-
type: (
|
|
1217
|
-
entries:
|
|
1233
|
+
type: (s == null ? void 0 : s.coreJoinType) ?? "full",
|
|
1234
|
+
entries: l.map((d) => ({ type: "column", column: d }))
|
|
1218
1235
|
},
|
|
1219
|
-
secondary:
|
|
1236
|
+
secondary: a.map((d) => ({ type: "column", column: d }))
|
|
1220
1237
|
},
|
|
1221
|
-
filters: [...(
|
|
1222
|
-
sorting: ((
|
|
1238
|
+
filters: [...(s == null ? void 0 : s.filters) ?? [], ...((u = n == null ? void 0 : n.pTableParams) == null ? void 0 : u.filters) ?? []],
|
|
1239
|
+
sorting: ((p = n == null ? void 0 : n.pTableParams) == null ? void 0 : p.sorting) ?? []
|
|
1223
1240
|
});
|
|
1224
1241
|
}
|
|
1225
|
-
function
|
|
1226
|
-
const
|
|
1242
|
+
function kt(t, e, n) {
|
|
1243
|
+
const s = t.findLabels(e);
|
|
1227
1244
|
return {
|
|
1228
1245
|
axis: e,
|
|
1229
|
-
options: n.map((
|
|
1230
|
-
value:
|
|
1231
|
-
label: (
|
|
1246
|
+
options: n.map((r) => ({
|
|
1247
|
+
value: r,
|
|
1248
|
+
label: (s == null ? void 0 : s[r]) ?? r.toString()
|
|
1232
1249
|
})),
|
|
1233
1250
|
defaultValue: n[0]
|
|
1234
1251
|
};
|
|
1235
1252
|
}
|
|
1236
|
-
const
|
|
1253
|
+
const Me = (t, e) => {
|
|
1237
1254
|
let n = t.toString();
|
|
1238
|
-
return e == null || e.forEach((
|
|
1239
|
-
if (
|
|
1240
|
-
for (const [
|
|
1241
|
-
n +=
|
|
1255
|
+
return e == null || e.forEach((s) => {
|
|
1256
|
+
if (s)
|
|
1257
|
+
for (const [r, i] of Object.entries(s))
|
|
1258
|
+
n += r, n += i;
|
|
1242
1259
|
}), n;
|
|
1243
1260
|
};
|
|
1244
|
-
function
|
|
1261
|
+
function Je(t) {
|
|
1245
1262
|
if (!t.length)
|
|
1246
1263
|
return [];
|
|
1247
1264
|
let e = [[]];
|
|
1248
1265
|
return t.forEach((n) => {
|
|
1249
|
-
const
|
|
1250
|
-
n.forEach((
|
|
1251
|
-
|
|
1252
|
-
}), e =
|
|
1266
|
+
const s = [];
|
|
1267
|
+
n.forEach((r) => {
|
|
1268
|
+
s.push(...e.map((i) => [...i, r]));
|
|
1269
|
+
}), e = s;
|
|
1253
1270
|
}), e;
|
|
1254
1271
|
}
|
|
1255
|
-
function
|
|
1272
|
+
function $e(t, e) {
|
|
1256
1273
|
const n = t.spec.axesSpec.map(w);
|
|
1257
|
-
return e.spec.axesSpec.map(w).every((
|
|
1274
|
+
return e.spec.axesSpec.map(w).every((r) => n.some((i) => L(i, r) && L(r, i)));
|
|
1258
1275
|
}
|
|
1259
|
-
function
|
|
1276
|
+
function me(t, e) {
|
|
1260
1277
|
const n = t.spec.axesSpec.map(w);
|
|
1261
|
-
return e.spec.axesSpec.map(w).every((
|
|
1278
|
+
return e.spec.axesSpec.map(w).every((r) => n.some((i) => L(i, r)));
|
|
1262
1279
|
}
|
|
1263
|
-
const
|
|
1264
|
-
function
|
|
1265
|
-
const n = t.spec.axesSpec.map(w),
|
|
1266
|
-
if (
|
|
1280
|
+
const Ge = "pl7.app/graph/isVirtual";
|
|
1281
|
+
function le(t, e) {
|
|
1282
|
+
const n = t.spec.axesSpec.map(w), s = e.spec.axesSpec.map(w);
|
|
1283
|
+
if ($e(t, e))
|
|
1267
1284
|
return [];
|
|
1268
|
-
if (!
|
|
1285
|
+
if (!me(t, e))
|
|
1269
1286
|
return [];
|
|
1270
|
-
const o =
|
|
1271
|
-
return
|
|
1272
|
-
id:
|
|
1287
|
+
const o = s.map((a) => n.filter((u) => L(u, a)));
|
|
1288
|
+
return Je(o).map((a) => ({
|
|
1289
|
+
id: Me(e.id, a.map((p) => p.domain)),
|
|
1273
1290
|
spec: {
|
|
1274
1291
|
...e.spec,
|
|
1275
|
-
axesSpec:
|
|
1276
|
-
...
|
|
1292
|
+
axesSpec: a.map((p, d) => ({
|
|
1293
|
+
...p,
|
|
1277
1294
|
annotations: e.spec.axesSpec[d].annotations
|
|
1278
1295
|
})),
|
|
1279
1296
|
annotations: {
|
|
1280
1297
|
...e.spec.annotations,
|
|
1281
|
-
[
|
|
1298
|
+
[Ge]: "true"
|
|
1282
1299
|
}
|
|
1283
1300
|
},
|
|
1284
1301
|
data: e.data
|
|
1285
1302
|
}));
|
|
1286
1303
|
}
|
|
1287
|
-
function
|
|
1304
|
+
function We(t) {
|
|
1288
1305
|
const e = [];
|
|
1289
1306
|
for (let n = 0; n < t.length; n++)
|
|
1290
|
-
for (let
|
|
1291
|
-
const
|
|
1307
|
+
for (let s = n + 1; s < t.length; s++) {
|
|
1308
|
+
const r = t[n], i = t[s];
|
|
1292
1309
|
e.push(
|
|
1293
|
-
...
|
|
1294
|
-
...
|
|
1310
|
+
...le(r, i),
|
|
1311
|
+
...le(i, r)
|
|
1295
1312
|
);
|
|
1296
1313
|
}
|
|
1297
1314
|
return e;
|
|
1298
1315
|
}
|
|
1299
|
-
function
|
|
1316
|
+
function Ke(t, e) {
|
|
1300
1317
|
const n = [...t];
|
|
1301
|
-
for (const
|
|
1302
|
-
for (const
|
|
1303
|
-
if (
|
|
1318
|
+
for (const s of e)
|
|
1319
|
+
for (const r of t) {
|
|
1320
|
+
if (r.id === s.id)
|
|
1304
1321
|
break;
|
|
1305
|
-
if (
|
|
1306
|
-
n.push(
|
|
1322
|
+
if (me(r, s)) {
|
|
1323
|
+
n.push(s);
|
|
1307
1324
|
break;
|
|
1308
1325
|
}
|
|
1309
1326
|
}
|
|
1310
1327
|
return n;
|
|
1311
1328
|
}
|
|
1312
|
-
const
|
|
1329
|
+
const He = [
|
|
1313
1330
|
"Int",
|
|
1314
1331
|
"Long",
|
|
1315
1332
|
"Float",
|
|
@@ -1317,15 +1334,15 @@ const $e = [
|
|
|
1317
1334
|
"String",
|
|
1318
1335
|
"Bytes"
|
|
1319
1336
|
];
|
|
1320
|
-
function
|
|
1337
|
+
function Dt(t, e) {
|
|
1321
1338
|
if (e === void 0) return;
|
|
1322
|
-
const n = t.resultPool.getData().entries.map((i) => i.obj).filter(N).filter((i) =>
|
|
1323
|
-
if (!
|
|
1339
|
+
const n = t.resultPool.getData().entries.map((i) => i.obj).filter(N).filter((i) => He.includes(i.spec.valueType)), s = Ke(e, n), r = [...s, ...We(s)];
|
|
1340
|
+
if (!r.some(
|
|
1324
1341
|
(i) => i.data instanceof v && !i.data.getIsReadyOrError()
|
|
1325
1342
|
))
|
|
1326
|
-
return t.createPFrame(
|
|
1343
|
+
return t.createPFrame(r);
|
|
1327
1344
|
}
|
|
1328
|
-
class
|
|
1345
|
+
class Ot {
|
|
1329
1346
|
constructor(e) {
|
|
1330
1347
|
this.handle = e;
|
|
1331
1348
|
}
|
|
@@ -1345,100 +1362,100 @@ class Tt {
|
|
|
1345
1362
|
return await platforma.pFrameDriver.getUniqueValues(this.handle, e);
|
|
1346
1363
|
}
|
|
1347
1364
|
}
|
|
1348
|
-
function
|
|
1349
|
-
return
|
|
1365
|
+
function qe(t) {
|
|
1366
|
+
return ue({
|
|
1350
1367
|
__isRef: !0,
|
|
1351
1368
|
blockId: B(t, "blockId"),
|
|
1352
1369
|
name: B(t, "name")
|
|
1353
1370
|
});
|
|
1354
1371
|
}
|
|
1355
|
-
function
|
|
1356
|
-
return
|
|
1357
|
-
ref:
|
|
1372
|
+
function Et(t) {
|
|
1373
|
+
return ue({
|
|
1374
|
+
ref: qe(B(t, "ref")),
|
|
1358
1375
|
label: B(t, "label")
|
|
1359
1376
|
});
|
|
1360
1377
|
}
|
|
1361
|
-
const
|
|
1378
|
+
const Vt = {
|
|
1362
1379
|
sdkVersion: T
|
|
1363
1380
|
};
|
|
1364
|
-
function
|
|
1365
|
-
return
|
|
1381
|
+
function jt() {
|
|
1382
|
+
return ce({ sdkVersion: T });
|
|
1366
1383
|
}
|
|
1367
|
-
function
|
|
1384
|
+
function Ut(t) {
|
|
1368
1385
|
if (typeof globalThis.getEnvironmentValue == "function")
|
|
1369
1386
|
return globalThis.getEnvironmentValue(t);
|
|
1370
1387
|
}
|
|
1371
1388
|
export {
|
|
1372
|
-
|
|
1389
|
+
et as Args,
|
|
1373
1390
|
_ as BlockModel,
|
|
1374
|
-
|
|
1391
|
+
Vt as CurrentSdkInfo,
|
|
1375
1392
|
b as FutureRef,
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1393
|
+
Ge as IS_VIRTUAL_COLUMN,
|
|
1394
|
+
tt as It,
|
|
1395
|
+
Rt as JsRenderInternal,
|
|
1396
|
+
nt as MainOutputs,
|
|
1397
|
+
Pe as OutputError,
|
|
1398
|
+
ke as PAnnotationLabel,
|
|
1399
|
+
De as PAnnotationTrace,
|
|
1400
|
+
Ot as PFrameImpl,
|
|
1401
|
+
K as RT_BINARY_PARTITIONED,
|
|
1402
|
+
H as RT_BINARY_SUPER_PARTITIONED,
|
|
1403
|
+
ie as RT_JSON_PARTITIONED,
|
|
1404
|
+
oe as RT_JSON_SUPER_PARTITIONED,
|
|
1405
|
+
Q as RT_RESOURCE_MAP,
|
|
1406
|
+
Z as RT_RESOURCE_MAP_PARTITIONED,
|
|
1390
1407
|
V as RenderCtx,
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1408
|
+
Ue as ResultPool,
|
|
1409
|
+
st as StagingOutputs,
|
|
1410
|
+
Ee as Trace,
|
|
1411
|
+
Oe as TraceEntry,
|
|
1395
1412
|
v as TreeNodeAccessor,
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1413
|
+
rt as UiState,
|
|
1414
|
+
dt as and,
|
|
1415
|
+
Dt as createPFrameForGraphs,
|
|
1416
|
+
Lt as createPlDataTable,
|
|
1417
|
+
kt as createPlDataTableSheet,
|
|
1418
|
+
re as deriveLabels,
|
|
1419
|
+
q as downgradeCfgOrLambda,
|
|
1420
|
+
Ke as enrichColumnsWithCompatible,
|
|
1421
|
+
At as extractArchiveAndGetURL,
|
|
1422
|
+
Tt as extractConfig,
|
|
1423
|
+
lt as flatten,
|
|
1424
|
+
Et as fromPlOption,
|
|
1425
|
+
qe as fromPlRef,
|
|
1426
|
+
We as getAdditionalColumns,
|
|
1427
|
+
mt as getBlobContent,
|
|
1428
|
+
bt as getBlobContentAsJson,
|
|
1429
|
+
yt as getBlobContentAsString,
|
|
1430
|
+
vt as getDownloadedBlobContent,
|
|
1431
|
+
Ut as getEnvironmentValue,
|
|
1415
1432
|
k as getFromCfg,
|
|
1416
1433
|
j as getImmediate,
|
|
1417
|
-
|
|
1434
|
+
St as getImportProgress,
|
|
1418
1435
|
B as getJsonField,
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1436
|
+
wt as getLastLogs,
|
|
1437
|
+
Ct as getLogHandle,
|
|
1438
|
+
_t as getOnDemandBlobContent,
|
|
1439
|
+
Be as getPartitionKeysList,
|
|
1440
|
+
It as getProgressLog,
|
|
1441
|
+
Pt as getProgressLogWithInfo,
|
|
1442
|
+
jt as getRawPlatformaInstance,
|
|
1443
|
+
ft as getResourceField,
|
|
1444
|
+
ht as getResourceValueAsJson,
|
|
1445
|
+
xt as getUniquePartitionKeys,
|
|
1446
|
+
z as ifDef,
|
|
1447
|
+
Ne as isConfigLambda,
|
|
1448
|
+
ut as isEmpty,
|
|
1449
|
+
Ze as isolate,
|
|
1450
|
+
it as makeArray,
|
|
1451
|
+
ue as makeObject,
|
|
1452
|
+
at as mapArrayValues,
|
|
1453
|
+
ot as mapRecordValues,
|
|
1454
|
+
gt as mapResourceFields,
|
|
1455
|
+
ct as not,
|
|
1456
|
+
pt as or,
|
|
1457
|
+
Ft as parseResourceMap,
|
|
1458
|
+
Ce as readOutput,
|
|
1459
|
+
Qe as wrapOutputs
|
|
1443
1460
|
};
|
|
1444
1461
|
//# sourceMappingURL=index.mjs.map
|