@platforma-sdk/model 1.9.0 → 1.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/PlDataTable.d.ts +156 -0
- package/dist/components/PlDataTable.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +290 -228
- package/dist/index.mjs.map +1 -1
- package/dist/render/accessor.d.ts +24 -0
- package/dist/render/accessor.d.ts.map +1 -1
- package/dist/render/index.d.ts +1 -0
- package/dist/render/index.d.ts.map +1 -1
- package/dist/render/traversal_ops.d.ts +5 -2
- package/dist/render/traversal_ops.d.ts.map +1 -1
- package/dist/render/util/index.d.ts +2 -0
- package/dist/render/util/index.d.ts.map +1 -0
- package/dist/render/util/resource_map.d.ts +15 -0
- package/dist/render/util/resource_map.d.ts.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/PlDataTable.ts +193 -1
- package/src/render/accessor.ts +63 -0
- package/src/render/index.ts +1 -0
- package/src/render/traversal_ops.ts +5 -2
- package/src/render/util/index.ts +1 -0
- package/src/render/util/resource_map.ts +74 -0
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { isPColumn as
|
|
1
|
+
var M = Object.defineProperty;
|
|
2
|
+
var U = (e, t, n) => t in e ? M(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var f = (e, t, n) => U(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
+
import { isPColumn as D, mapPObjectData as A, mapValueInVOE as B, isPColumnSpec as $, mapPTableDef as J, getAxisId as O, matchAxisId as N } from "@milaboratories/pl-model-common";
|
|
5
5
|
export * from "@milaboratories/pl-model-common";
|
|
6
6
|
class G extends Error {
|
|
7
7
|
constructor(t, n) {
|
|
@@ -12,40 +12,40 @@ function H(e) {
|
|
|
12
12
|
if (!e.ok) throw new G(e.errors, e.moreErrors);
|
|
13
13
|
return e.value;
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function it(e) {
|
|
16
16
|
return new Proxy(e, {
|
|
17
17
|
get(t, n) {
|
|
18
18
|
return H(t[n]);
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
|
-
function
|
|
23
|
-
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null ?
|
|
22
|
+
function c(e) {
|
|
23
|
+
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null ? C(e) : e;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function v(e) {
|
|
26
26
|
return { type: "GetFromCtx", variable: e };
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function rt(e) {
|
|
29
29
|
return {
|
|
30
30
|
type: "Isolate",
|
|
31
31
|
cfg: e
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
const
|
|
35
|
-
function
|
|
34
|
+
const st = v("$args"), ot = v("$it"), at = v("$prod"), ut = v("$staging"), lt = v("$ui");
|
|
35
|
+
function C(e) {
|
|
36
36
|
return { type: "Immediate", value: e };
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function k(e) {
|
|
39
39
|
const t = {};
|
|
40
|
-
for (const [n, i] of Object.entries(e)) t[n] =
|
|
40
|
+
for (const [n, i] of Object.entries(e)) t[n] = c(i);
|
|
41
41
|
return {
|
|
42
42
|
type: "MakeObject",
|
|
43
43
|
template: t
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function ct(...e) {
|
|
47
47
|
const t = [];
|
|
48
|
-
for (const n of e) t.push(
|
|
48
|
+
for (const n of e) t.push(c(n));
|
|
49
49
|
return {
|
|
50
50
|
type: "MakeArray",
|
|
51
51
|
template: t
|
|
@@ -54,11 +54,11 @@ function at(...e) {
|
|
|
54
54
|
function S(e, t) {
|
|
55
55
|
return {
|
|
56
56
|
type: "GetJsonField",
|
|
57
|
-
source:
|
|
58
|
-
field:
|
|
57
|
+
source: c(e),
|
|
58
|
+
field: c(t)
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function dt(e, t, n = "$it") {
|
|
62
62
|
return {
|
|
63
63
|
type: "MapRecordValues",
|
|
64
64
|
source: e,
|
|
@@ -66,7 +66,7 @@ function ut(e, t, n = "$it") {
|
|
|
66
66
|
itVar: n
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function pt(e, t, n = "$it") {
|
|
70
70
|
return {
|
|
71
71
|
type: "MapArrayValues",
|
|
72
72
|
source: e,
|
|
@@ -74,54 +74,54 @@ function lt(e, t, n = "$it") {
|
|
|
74
74
|
itVar: n
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function ht(e) {
|
|
78
78
|
return {
|
|
79
79
|
type: "Flatten",
|
|
80
80
|
source: e
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function ft(e) {
|
|
84
84
|
return {
|
|
85
85
|
type: "IsEmpty",
|
|
86
86
|
arg: e
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function gt(e) {
|
|
90
90
|
return {
|
|
91
91
|
type: "Not",
|
|
92
92
|
operand: e
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function mt(e, t) {
|
|
96
96
|
return {
|
|
97
97
|
type: "And",
|
|
98
98
|
operand1: e,
|
|
99
99
|
operand2: t
|
|
100
100
|
};
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function yt(e, t) {
|
|
103
103
|
return {
|
|
104
104
|
type: "Or",
|
|
105
105
|
operand1: e,
|
|
106
106
|
operand2: t
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function bt(e, t) {
|
|
110
110
|
return {
|
|
111
111
|
type: "GetResourceField",
|
|
112
|
-
source:
|
|
113
|
-
field:
|
|
112
|
+
source: c(e),
|
|
113
|
+
field: c(t)
|
|
114
114
|
};
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function vt() {
|
|
117
117
|
return function(e) {
|
|
118
118
|
return {
|
|
119
119
|
type: "GetResourceValueAsJson",
|
|
120
|
-
source:
|
|
120
|
+
source: c(e)
|
|
121
121
|
};
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function _t(e, t, n = "$it") {
|
|
125
125
|
return {
|
|
126
126
|
type: "MapResourceFields",
|
|
127
127
|
source: e,
|
|
@@ -129,98 +129,98 @@ function bt(e, t, n = "$it") {
|
|
|
129
129
|
itVar: n
|
|
130
130
|
};
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function wt(e) {
|
|
133
133
|
return {
|
|
134
134
|
type: "GetBlobContent",
|
|
135
|
-
source:
|
|
135
|
+
source: c(e)
|
|
136
136
|
};
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function Ct(e) {
|
|
139
139
|
return {
|
|
140
140
|
type: "GetBlobContentAsString",
|
|
141
|
-
source:
|
|
141
|
+
source: c(e)
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function At() {
|
|
145
145
|
return function(e) {
|
|
146
146
|
return {
|
|
147
147
|
type: "GetBlobContentAsJson",
|
|
148
|
-
source:
|
|
148
|
+
source: c(e)
|
|
149
149
|
};
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function St(e) {
|
|
153
153
|
return {
|
|
154
154
|
type: "GetDownloadedBlobContent",
|
|
155
|
-
source:
|
|
155
|
+
source: c(e)
|
|
156
156
|
};
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function Ft(e) {
|
|
159
159
|
return {
|
|
160
160
|
type: "GetOnDemandBlobContent",
|
|
161
|
-
source:
|
|
161
|
+
source: c(e)
|
|
162
162
|
};
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function It(e) {
|
|
165
165
|
return {
|
|
166
166
|
type: "GetImportProgress",
|
|
167
|
-
source:
|
|
167
|
+
source: c(e)
|
|
168
168
|
};
|
|
169
169
|
}
|
|
170
|
-
function
|
|
170
|
+
function Rt(e, t) {
|
|
171
171
|
return {
|
|
172
172
|
type: "GetLastLogs",
|
|
173
|
-
source:
|
|
173
|
+
source: c(e),
|
|
174
174
|
lines: t
|
|
175
175
|
};
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Ot(e, t) {
|
|
178
178
|
return {
|
|
179
179
|
type: "GetProgressLog",
|
|
180
|
-
source:
|
|
180
|
+
source: c(e),
|
|
181
181
|
patternToSearch: t
|
|
182
182
|
};
|
|
183
183
|
}
|
|
184
184
|
function Vt(e) {
|
|
185
185
|
return {
|
|
186
186
|
type: "GetLogHandle",
|
|
187
|
-
source:
|
|
187
|
+
source: c(e)
|
|
188
188
|
};
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function K() {
|
|
191
191
|
return typeof globalThis.getPlatforma < "u" || typeof globalThis.platforma < "u";
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function x(e) {
|
|
194
194
|
if (e && typeof globalThis.getPlatforma == "function")
|
|
195
195
|
return globalThis.getPlatforma(e);
|
|
196
196
|
if (typeof globalThis.platforma < "u") return globalThis.platforma;
|
|
197
197
|
throw new Error("Can't get platforma instance.");
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function W() {
|
|
200
200
|
if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function o() {
|
|
203
203
|
if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
|
|
204
204
|
throw new Error("Not in config rendering context");
|
|
205
205
|
}
|
|
206
|
-
function
|
|
207
|
-
const n =
|
|
206
|
+
function _(e, t) {
|
|
207
|
+
const n = W();
|
|
208
208
|
if (n === void 0) return !1;
|
|
209
209
|
if (e in n.callbackRegistry) throw new Error(`Callback with key ${e} already registered.`);
|
|
210
210
|
return n.callbackRegistry[e] = t, !0;
|
|
211
211
|
}
|
|
212
212
|
const F = /* @__PURE__ */ new Map();
|
|
213
|
-
function
|
|
214
|
-
e in
|
|
213
|
+
function q(e, t) {
|
|
214
|
+
e in o().callbackRegistry || (o().callbackRegistry[e] = (n) => {
|
|
215
215
|
for (const i of F.get(e))
|
|
216
216
|
i(n);
|
|
217
217
|
}, F.set(e, [])), F.get(e).push(t);
|
|
218
218
|
}
|
|
219
219
|
class h {
|
|
220
220
|
constructor(t, n = (i) => i) {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
this.handle = t, this.postProcess = n,
|
|
221
|
+
f(this, "isResolved", !1);
|
|
222
|
+
f(this, "resolvedValue");
|
|
223
|
+
this.handle = t, this.postProcess = n, q(t, (i) => {
|
|
224
224
|
this.resolvedValue = n(i), this.isResolved = !0;
|
|
225
225
|
});
|
|
226
226
|
}
|
|
@@ -237,7 +237,7 @@ class h {
|
|
|
237
237
|
return this.isResolved ? this.resolvedValue : { __awaited_futures__: [this.handle] };
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function V(e) {
|
|
241
241
|
return e === void 0 ? void 0 : new m(e);
|
|
242
242
|
}
|
|
243
243
|
class m {
|
|
@@ -245,43 +245,70 @@ class m {
|
|
|
245
245
|
this.handle = t;
|
|
246
246
|
}
|
|
247
247
|
resolve(...t) {
|
|
248
|
+
const n = t.map(
|
|
249
|
+
(i) => ({
|
|
250
|
+
assertFieldType: "Input",
|
|
251
|
+
...typeof i == "string" ? { field: i } : i
|
|
252
|
+
})
|
|
253
|
+
);
|
|
254
|
+
return this.resolveWithCommon({}, ...n);
|
|
255
|
+
}
|
|
256
|
+
resolveOutput(...t) {
|
|
257
|
+
const n = t.map(
|
|
258
|
+
(i) => ({
|
|
259
|
+
assertFieldType: "Output",
|
|
260
|
+
...typeof i == "string" ? { field: i } : i
|
|
261
|
+
})
|
|
262
|
+
);
|
|
263
|
+
return this.resolveWithCommon({}, ...n);
|
|
264
|
+
}
|
|
265
|
+
resolveInput(...t) {
|
|
266
|
+
const n = t.map(
|
|
267
|
+
(i) => ({
|
|
268
|
+
assertFieldType: "Input",
|
|
269
|
+
...typeof i == "string" ? { field: i } : i
|
|
270
|
+
})
|
|
271
|
+
);
|
|
272
|
+
return this.resolveWithCommon({}, ...n);
|
|
273
|
+
}
|
|
274
|
+
resolveAny(...t) {
|
|
248
275
|
return this.resolveWithCommon({}, ...t);
|
|
249
276
|
}
|
|
250
277
|
resolveWithCommon(t, ...n) {
|
|
251
|
-
return
|
|
278
|
+
return V(o().resolveWithCommon(this.handle, t, ...n));
|
|
252
279
|
}
|
|
253
280
|
get resourceType() {
|
|
254
|
-
return
|
|
281
|
+
return o().getResourceType(this.handle);
|
|
255
282
|
}
|
|
256
283
|
getInputsLocked() {
|
|
257
|
-
return
|
|
284
|
+
return o().getInputsLocked(this.handle);
|
|
258
285
|
}
|
|
259
286
|
getOutputsLocked() {
|
|
260
|
-
return
|
|
287
|
+
return o().getOutputsLocked(this.handle);
|
|
261
288
|
}
|
|
262
289
|
getIsReadyOrError() {
|
|
263
|
-
return
|
|
290
|
+
return o().getIsReadyOrError(this.handle);
|
|
264
291
|
}
|
|
265
292
|
getIsFinal() {
|
|
266
|
-
return
|
|
293
|
+
return o().getIsFinal(this.handle);
|
|
267
294
|
}
|
|
268
295
|
getError() {
|
|
269
|
-
return
|
|
296
|
+
return V(o().getError(this.handle));
|
|
270
297
|
}
|
|
271
298
|
listInputFields() {
|
|
272
|
-
return
|
|
299
|
+
return o().listInputFields(this.handle);
|
|
273
300
|
}
|
|
274
301
|
listOutputFields() {
|
|
275
|
-
return
|
|
302
|
+
return o().listOutputFields(this.handle);
|
|
276
303
|
}
|
|
277
304
|
listDynamicFields() {
|
|
278
|
-
return
|
|
305
|
+
return o().listDynamicFields(this.handle);
|
|
279
306
|
}
|
|
280
307
|
getKeyValueBase64(t) {
|
|
281
|
-
return
|
|
308
|
+
return o().getKeyValueBase64(this.handle, t);
|
|
282
309
|
}
|
|
283
310
|
getKeyValueAsString(t) {
|
|
284
|
-
return
|
|
311
|
+
return o().getKeyValueAsString(this.handle, t);
|
|
285
312
|
}
|
|
286
313
|
getKeyValueAsJson(t) {
|
|
287
314
|
const n = this.getKeyValueAsString(t);
|
|
@@ -289,10 +316,10 @@ class m {
|
|
|
289
316
|
return JSON.parse(n);
|
|
290
317
|
}
|
|
291
318
|
getDataBase64() {
|
|
292
|
-
return
|
|
319
|
+
return o().getDataBase64(this.handle);
|
|
293
320
|
}
|
|
294
321
|
getDataAsString() {
|
|
295
|
-
return
|
|
322
|
+
return o().getDataAsString(this.handle);
|
|
296
323
|
}
|
|
297
324
|
getDataAsJson() {
|
|
298
325
|
const t = this.getDataAsString();
|
|
@@ -304,35 +331,35 @@ class m {
|
|
|
304
331
|
*/
|
|
305
332
|
getPColumns(t = !1, n = "") {
|
|
306
333
|
const i = this.parsePObjectCollection(t, n);
|
|
307
|
-
return i === void 0 ? void 0 : Object.entries(i).map(([,
|
|
308
|
-
if (!
|
|
309
|
-
return
|
|
334
|
+
return i === void 0 ? void 0 : Object.entries(i).map(([, s]) => {
|
|
335
|
+
if (!D(s)) throw new Error(`not a PColumn (kind = ${s.spec.kind})`);
|
|
336
|
+
return s;
|
|
310
337
|
});
|
|
311
338
|
}
|
|
312
339
|
/**
|
|
313
340
|
*
|
|
314
341
|
*/
|
|
315
342
|
parsePObjectCollection(t = !1, n = "") {
|
|
316
|
-
const i =
|
|
343
|
+
const i = o().parsePObjectCollection(
|
|
317
344
|
this.handle,
|
|
318
345
|
t,
|
|
319
346
|
n
|
|
320
347
|
);
|
|
321
348
|
if (i === void 0) return;
|
|
322
349
|
const r = {};
|
|
323
|
-
for (const [
|
|
324
|
-
r[
|
|
350
|
+
for (const [s, u] of Object.entries(i))
|
|
351
|
+
r[s] = A(u, (a) => new m(a));
|
|
325
352
|
return r;
|
|
326
353
|
}
|
|
327
354
|
getFileContentAsBase64() {
|
|
328
|
-
return new h(
|
|
355
|
+
return new h(o().getBlobContentAsBase64(this.handle));
|
|
329
356
|
}
|
|
330
357
|
getFileContentAsString() {
|
|
331
|
-
return new h(
|
|
358
|
+
return new h(o().getBlobContentAsString(this.handle));
|
|
332
359
|
}
|
|
333
360
|
getFileContentAsJson() {
|
|
334
361
|
return new h(
|
|
335
|
-
|
|
362
|
+
o().getBlobContentAsString(this.handle)
|
|
336
363
|
).mapDefined((t) => JSON.parse(t));
|
|
337
364
|
}
|
|
338
365
|
/**
|
|
@@ -351,7 +378,7 @@ class m {
|
|
|
351
378
|
* @returns downloaded file handle
|
|
352
379
|
*/
|
|
353
380
|
getFileHandle() {
|
|
354
|
-
return new h(
|
|
381
|
+
return new h(o().getDownloadedBlobContentHandle(this.handle));
|
|
355
382
|
}
|
|
356
383
|
/**
|
|
357
384
|
* @deprecated use getFileHandle
|
|
@@ -363,7 +390,7 @@ class m {
|
|
|
363
390
|
* @returns downloaded file handle
|
|
364
391
|
*/
|
|
365
392
|
getRemoteFileHandle() {
|
|
366
|
-
return new h(
|
|
393
|
+
return new h(o().getOnDemandBlobContentHandle(this.handle));
|
|
367
394
|
}
|
|
368
395
|
/**
|
|
369
396
|
* @deprecated use getRemoteFileHandle
|
|
@@ -372,16 +399,16 @@ class m {
|
|
|
372
399
|
return this.getRemoteFileHandle();
|
|
373
400
|
}
|
|
374
401
|
getImportProgress() {
|
|
375
|
-
return new h(
|
|
402
|
+
return new h(o().getImportProgress(this.handle));
|
|
376
403
|
}
|
|
377
404
|
getLastLogs(t) {
|
|
378
|
-
return new h(
|
|
405
|
+
return new h(o().getLastLogs(this.handle, t));
|
|
379
406
|
}
|
|
380
407
|
getProgressLog(t) {
|
|
381
|
-
return new h(
|
|
408
|
+
return new h(o().getProgressLog(this.handle, t));
|
|
382
409
|
}
|
|
383
410
|
getLogHandle() {
|
|
384
|
-
return new h(
|
|
411
|
+
return new h(o().getLogHandle(this.handle));
|
|
385
412
|
}
|
|
386
413
|
allFieldsResolved(t = "Input") {
|
|
387
414
|
switch (t) {
|
|
@@ -396,7 +423,7 @@ class m {
|
|
|
396
423
|
}
|
|
397
424
|
}
|
|
398
425
|
mapFields(t, n) {
|
|
399
|
-
const { fieldType: i, requireLocked: r, skipUnresolved:
|
|
426
|
+
const { fieldType: i, requireLocked: r, skipUnresolved: s } = {
|
|
400
427
|
fieldType: "Input",
|
|
401
428
|
requireLocked: !0,
|
|
402
429
|
skipUnresolved: !1,
|
|
@@ -404,41 +431,41 @@ class m {
|
|
|
404
431
|
}, u = t;
|
|
405
432
|
if (r && (i === "Input" && !this.getInputsLocked() || i === "Output" && !this.getOutputsLocked()))
|
|
406
433
|
return;
|
|
407
|
-
let
|
|
408
|
-
(
|
|
434
|
+
let d = (i === "Input" ? this.listInputFields() : i === "Output" ? this.listOutputFields() : this.listDynamicFields()).map(
|
|
435
|
+
(l) => [l, this.resolve({ field: l, assertFieldType: i })]
|
|
409
436
|
);
|
|
410
|
-
return
|
|
437
|
+
return s && (d = d.filter((l) => l[1] !== void 0)), d.map(([l, g]) => u(l, g));
|
|
411
438
|
}
|
|
412
439
|
}
|
|
413
|
-
const L = "staging",
|
|
414
|
-
function
|
|
440
|
+
const L = "staging", T = "main";
|
|
441
|
+
function j(e) {
|
|
415
442
|
return typeof e == "object" && e !== null && "__awaited_futures__" in e;
|
|
416
443
|
}
|
|
417
|
-
function
|
|
444
|
+
function R(e, t, n) {
|
|
418
445
|
if (t.has(n)) return;
|
|
419
446
|
if (t.add(n), typeof n === "object")
|
|
420
|
-
if (
|
|
447
|
+
if (j(n)) n.__awaited_futures__.forEach((r) => e.add(r));
|
|
421
448
|
else if (Array.isArray(n))
|
|
422
|
-
for (const r of n)
|
|
449
|
+
for (const r of n) R(e, t, r);
|
|
423
450
|
else
|
|
424
451
|
for (const [, r] of Object.entries(n))
|
|
425
|
-
r !== n &&
|
|
452
|
+
r !== n && R(e, t, r);
|
|
426
453
|
}
|
|
427
|
-
function
|
|
454
|
+
function z(e) {
|
|
428
455
|
const t = /* @__PURE__ */ new Set();
|
|
429
|
-
return
|
|
456
|
+
return R(t, /* @__PURE__ */ new Set(), e), t;
|
|
430
457
|
}
|
|
431
458
|
const Pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
432
459
|
__proto__: null,
|
|
433
|
-
MainAccessorName:
|
|
460
|
+
MainAccessorName: T,
|
|
434
461
|
StagingAccessorName: L,
|
|
435
|
-
getAllFutureAwaits:
|
|
436
|
-
isFutureAwait:
|
|
462
|
+
getAllFutureAwaits: z,
|
|
463
|
+
isFutureAwait: j
|
|
437
464
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
438
|
-
class
|
|
465
|
+
class Q {
|
|
439
466
|
constructor() {
|
|
440
|
-
|
|
441
|
-
|
|
467
|
+
f(this, "ctx", o());
|
|
468
|
+
f(this, "defaultLabelFn", (t, n) => {
|
|
442
469
|
var i;
|
|
443
470
|
return ((i = t.annotations) == null ? void 0 : i["pl7.app/label"]) ?? "Unlabelled";
|
|
444
471
|
});
|
|
@@ -488,7 +515,7 @@ class z {
|
|
|
488
515
|
ref: n.ref,
|
|
489
516
|
obj: {
|
|
490
517
|
...n.obj,
|
|
491
|
-
data:
|
|
518
|
+
data: B(n.obj.data, (i) => new m(i))
|
|
492
519
|
}
|
|
493
520
|
}))
|
|
494
521
|
};
|
|
@@ -510,7 +537,7 @@ class z {
|
|
|
510
537
|
var n;
|
|
511
538
|
return typeof this.ctx.getDataFromResultPoolByRef > "u" ? (n = this.getData().entries.find(
|
|
512
539
|
(i) => i.ref.blockId === t.blockId && i.ref.name === t.name
|
|
513
|
-
)) == null ? void 0 : n.obj :
|
|
540
|
+
)) == null ? void 0 : n.obj : A(
|
|
514
541
|
this.ctx.getDataFromResultPoolByRef(t.blockId, t.name),
|
|
515
542
|
(i) => new m(i)
|
|
516
543
|
);
|
|
@@ -532,13 +559,13 @@ class z {
|
|
|
532
559
|
findDataWithCompatibleSpec(t) {
|
|
533
560
|
const n = [];
|
|
534
561
|
t: for (const i of this.getData().entries) {
|
|
535
|
-
if (
|
|
562
|
+
if (!$(i.obj.spec))
|
|
536
563
|
continue;
|
|
537
564
|
const r = i.obj.spec;
|
|
538
|
-
if (t.name === r.name && t.valueType === r.valueType && t.axesSpec.length === r.axesSpec.length &&
|
|
539
|
-
for (let
|
|
540
|
-
const u = t.axesSpec[
|
|
541
|
-
if (u.name !== a.name || u.type !== a.type || !
|
|
565
|
+
if (t.name === r.name && t.valueType === r.valueType && t.axesSpec.length === r.axesSpec.length && P(t.domain, r.domain)) {
|
|
566
|
+
for (let s = 0; s < t.axesSpec.length; ++s) {
|
|
567
|
+
const u = t.axesSpec[s], a = r.axesSpec[s];
|
|
568
|
+
if (u.name !== a.name || u.type !== a.type || !P(u.domain, a.domain))
|
|
542
569
|
continue t;
|
|
543
570
|
}
|
|
544
571
|
n.push(i.obj);
|
|
@@ -547,7 +574,7 @@ class z {
|
|
|
547
574
|
return n;
|
|
548
575
|
}
|
|
549
576
|
}
|
|
550
|
-
function
|
|
577
|
+
function P(e, t) {
|
|
551
578
|
if (e === void 0) return t === void 0;
|
|
552
579
|
if (t === void 0) return !0;
|
|
553
580
|
for (const n in t)
|
|
@@ -556,11 +583,11 @@ function x(e, t) {
|
|
|
556
583
|
}
|
|
557
584
|
class w {
|
|
558
585
|
constructor() {
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
this.ctx =
|
|
586
|
+
f(this, "ctx");
|
|
587
|
+
f(this, "args");
|
|
588
|
+
f(this, "uiState");
|
|
589
|
+
f(this, "resultPool", new Q());
|
|
590
|
+
this.ctx = o(), this.args = JSON.parse(this.ctx.args), this.uiState = this.ctx.uiState !== void 0 ? JSON.parse(this.ctx.uiState) : void 0;
|
|
564
591
|
}
|
|
565
592
|
getNamedAccessor(t) {
|
|
566
593
|
const n = this.ctx.getAccessorHandleByName(t);
|
|
@@ -582,7 +609,7 @@ class w {
|
|
|
582
609
|
return this.precalc;
|
|
583
610
|
}
|
|
584
611
|
get outputs() {
|
|
585
|
-
return this.getNamedAccessor(
|
|
612
|
+
return this.getNamedAccessor(T);
|
|
586
613
|
}
|
|
587
614
|
/**
|
|
588
615
|
* @deprecated use outputs
|
|
@@ -591,7 +618,7 @@ class w {
|
|
|
591
618
|
return this.outputs;
|
|
592
619
|
}
|
|
593
620
|
createPFrame(t) {
|
|
594
|
-
return this.ctx.createPFrame(t.map((n) =>
|
|
621
|
+
return this.ctx.createPFrame(t.map((n) => A(n, (i) => i.handle)));
|
|
595
622
|
}
|
|
596
623
|
createPTable(t) {
|
|
597
624
|
var n;
|
|
@@ -602,7 +629,7 @@ class w {
|
|
|
602
629
|
},
|
|
603
630
|
filters: t.filters ?? [],
|
|
604
631
|
sorting: t.sorting ?? []
|
|
605
|
-
} : n = t, this.ctx.createPTable(
|
|
632
|
+
} : n = t, this.ctx.createPTable(J(n, (i) => A(i, (r) => r.handle)));
|
|
606
633
|
}
|
|
607
634
|
/** @deprecated scheduled for removal from SDK */
|
|
608
635
|
getBlockLabel(t) {
|
|
@@ -613,74 +640,106 @@ class w {
|
|
|
613
640
|
return this.ctx.getCurrentUnstableMarker();
|
|
614
641
|
}
|
|
615
642
|
}
|
|
616
|
-
const
|
|
617
|
-
function
|
|
643
|
+
const X = "PColumnData/ResourceMap", Y = "PColumnData/Partitioned/ResourceMap";
|
|
644
|
+
function E(e, t, n, i = [], r) {
|
|
645
|
+
if (e === void 0) return !1;
|
|
646
|
+
switch (e.resourceType.name) {
|
|
647
|
+
case X: {
|
|
648
|
+
let s = e.getInputsLocked();
|
|
649
|
+
for (const u of e.listInputFields()) {
|
|
650
|
+
const a = e.resolve({ field: u, assertFieldType: "Input" }), d = [...i, ...JSON.parse(u)], l = a === void 0 ? void 0 : t(a);
|
|
651
|
+
l === void 0 && (s = !1), (l !== void 0 || r) && n.push({ key: d, value: l });
|
|
652
|
+
}
|
|
653
|
+
return s;
|
|
654
|
+
}
|
|
655
|
+
case Y: {
|
|
656
|
+
let s = e.getInputsLocked();
|
|
657
|
+
for (const u of e.listInputFields()) {
|
|
658
|
+
const a = e.resolve({ field: u, assertFieldType: "Input" });
|
|
659
|
+
if (a === void 0) s = !1;
|
|
660
|
+
else {
|
|
661
|
+
const d = [...i, ...JSON.parse(u)], l = E(a, t, n, d, r);
|
|
662
|
+
s = s && l;
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
return s;
|
|
666
|
+
}
|
|
667
|
+
default:
|
|
668
|
+
throw new Error(`Unknown resource type: ${e.resourceType.name}`);
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
function Dt(e, t, n = !1) {
|
|
672
|
+
const i = [];
|
|
673
|
+
return { isComplete: E(e, t, i, [], n), data: i };
|
|
674
|
+
}
|
|
675
|
+
const b = "1.10.2";
|
|
676
|
+
function Z(e) {
|
|
618
677
|
return e.__renderLambda === !0;
|
|
619
678
|
}
|
|
620
|
-
function
|
|
679
|
+
function I(e) {
|
|
621
680
|
if (e !== void 0)
|
|
622
|
-
return
|
|
681
|
+
return Z(e) ? e.handle : e;
|
|
623
682
|
}
|
|
624
|
-
function
|
|
683
|
+
function y(e) {
|
|
625
684
|
if (e !== void 0)
|
|
626
685
|
return typeof e == "string" ? { __renderLambda: !0, handle: e, retentive: !1 } : e;
|
|
627
686
|
}
|
|
628
|
-
function
|
|
687
|
+
function kt(e) {
|
|
629
688
|
if (e.v3 !== void 0) {
|
|
630
689
|
const {
|
|
631
690
|
initialArgs: t,
|
|
632
691
|
initialUiState: n,
|
|
633
692
|
inputsValid: i,
|
|
634
693
|
outputs: r,
|
|
635
|
-
renderingMode:
|
|
694
|
+
renderingMode: s,
|
|
636
695
|
sdkVersion: u,
|
|
637
696
|
sections: a,
|
|
638
|
-
title:
|
|
639
|
-
} = e.v3, { code:
|
|
697
|
+
title: d
|
|
698
|
+
} = e.v3, { code: l } = e;
|
|
640
699
|
return {
|
|
641
700
|
initialArgs: t,
|
|
642
701
|
initialUiState: n,
|
|
643
702
|
inputsValid: i,
|
|
644
703
|
outputs: r,
|
|
645
|
-
renderingMode:
|
|
704
|
+
renderingMode: s,
|
|
646
705
|
sdkVersion: u,
|
|
647
706
|
sections: a,
|
|
648
|
-
title:
|
|
649
|
-
code:
|
|
707
|
+
title: d,
|
|
708
|
+
code: l
|
|
650
709
|
};
|
|
651
710
|
} else if (e.inputsValid !== void 0) {
|
|
652
|
-
const { sdkVersion: t, renderingMode: n, outputs: i, inputsValid: r, sections:
|
|
653
|
-
if (t === void 0 || n === void 0 || i === void 0 || r === void 0 ||
|
|
711
|
+
const { sdkVersion: t, renderingMode: n, outputs: i, inputsValid: r, sections: s, initialArgs: u, code: a } = e, d = Object.keys(e);
|
|
712
|
+
if (t === void 0 || n === void 0 || i === void 0 || r === void 0 || s === void 0 || u === void 0)
|
|
654
713
|
throw new Error(
|
|
655
|
-
`Malformed config v2. SDK version ${t}; Fields = ${
|
|
714
|
+
`Malformed config v2. SDK version ${t}; Fields = ${d.join(", ")}`
|
|
656
715
|
);
|
|
657
716
|
return {
|
|
658
717
|
sdkVersion: t,
|
|
659
718
|
renderingMode: n,
|
|
660
719
|
initialArgs: u,
|
|
661
720
|
outputs: Object.fromEntries(
|
|
662
|
-
Object.entries(i).map(([
|
|
721
|
+
Object.entries(i).map(([l, g]) => [l, y(g)])
|
|
663
722
|
),
|
|
664
|
-
inputsValid:
|
|
665
|
-
sections:
|
|
723
|
+
inputsValid: y(r),
|
|
724
|
+
sections: y(s),
|
|
666
725
|
initialUiState: void 0,
|
|
667
726
|
code: a
|
|
668
727
|
};
|
|
669
728
|
} else if (e.renderingMode !== void 0) {
|
|
670
|
-
const { sdkVersion: t, canRun: n, renderingMode: i, outputs: r, sections:
|
|
671
|
-
if (i === void 0 || r === void 0 || n === void 0 ||
|
|
729
|
+
const { sdkVersion: t, canRun: n, renderingMode: i, outputs: r, sections: s, initialArgs: u, code: a } = e, d = Object.keys(e);
|
|
730
|
+
if (i === void 0 || r === void 0 || n === void 0 || s === void 0 || u === void 0)
|
|
672
731
|
throw new Error(
|
|
673
|
-
`Malformed config v1. SDK version ${t}; Fields = ${
|
|
732
|
+
`Malformed config v1. SDK version ${t}; Fields = ${d.join(", ")}`
|
|
674
733
|
);
|
|
675
734
|
return {
|
|
676
735
|
sdkVersion: t ?? "unknown",
|
|
677
736
|
renderingMode: i,
|
|
678
737
|
initialArgs: u,
|
|
679
738
|
outputs: Object.fromEntries(
|
|
680
|
-
Object.entries(r).map(([
|
|
739
|
+
Object.entries(r).map(([l, g]) => [l, y(g)])
|
|
681
740
|
),
|
|
682
|
-
inputsValid:
|
|
683
|
-
sections:
|
|
741
|
+
inputsValid: y(n),
|
|
742
|
+
sections: y(s),
|
|
684
743
|
initialUiState: void 0,
|
|
685
744
|
code: a
|
|
686
745
|
};
|
|
@@ -691,25 +750,25 @@ function Dt(e) {
|
|
|
691
750
|
);
|
|
692
751
|
}
|
|
693
752
|
}
|
|
694
|
-
class
|
|
695
|
-
constructor(t, n, i, r,
|
|
696
|
-
this._renderingMode = t, this._initialArgs = n, this._initialUiState = i, this._outputs = r, this._inputsValid =
|
|
753
|
+
class p {
|
|
754
|
+
constructor(t, n, i, r, s, u, a) {
|
|
755
|
+
this._renderingMode = t, this._initialArgs = n, this._initialUiState = i, this._outputs = r, this._inputsValid = s, this._sections = u, this._title = a;
|
|
697
756
|
}
|
|
698
757
|
static create(t = "Heavy") {
|
|
699
|
-
return new
|
|
758
|
+
return new p(
|
|
700
759
|
t,
|
|
701
760
|
void 0,
|
|
702
761
|
{},
|
|
703
762
|
{},
|
|
704
|
-
|
|
705
|
-
|
|
763
|
+
C(!0),
|
|
764
|
+
C([]),
|
|
706
765
|
void 0
|
|
707
766
|
);
|
|
708
767
|
}
|
|
709
768
|
output(t, n, i = {}) {
|
|
710
769
|
if (typeof n == "function") {
|
|
711
770
|
const r = `output#${t}`;
|
|
712
|
-
return
|
|
771
|
+
return _(r, () => n(new w())), new p(
|
|
713
772
|
this._renderingMode,
|
|
714
773
|
this._initialArgs,
|
|
715
774
|
this._initialUiState,
|
|
@@ -726,7 +785,7 @@ class d {
|
|
|
726
785
|
this._title
|
|
727
786
|
);
|
|
728
787
|
} else
|
|
729
|
-
return new
|
|
788
|
+
return new p(
|
|
730
789
|
this._renderingMode,
|
|
731
790
|
this._initialArgs,
|
|
732
791
|
this._initialUiState,
|
|
@@ -748,7 +807,7 @@ class d {
|
|
|
748
807
|
return this.inputsValid(t);
|
|
749
808
|
}
|
|
750
809
|
argsValid(t) {
|
|
751
|
-
return typeof t == "function" ? (
|
|
810
|
+
return typeof t == "function" ? (_("inputsValid", () => t(new w())), new p(
|
|
752
811
|
this._renderingMode,
|
|
753
812
|
this._initialArgs,
|
|
754
813
|
this._initialUiState,
|
|
@@ -759,7 +818,7 @@ class d {
|
|
|
759
818
|
},
|
|
760
819
|
this._sections,
|
|
761
820
|
this._title
|
|
762
|
-
)) : new
|
|
821
|
+
)) : new p(
|
|
763
822
|
this._renderingMode,
|
|
764
823
|
this._initialArgs,
|
|
765
824
|
this._initialUiState,
|
|
@@ -773,7 +832,7 @@ class d {
|
|
|
773
832
|
return this.argsValid(t);
|
|
774
833
|
}
|
|
775
834
|
sections(t) {
|
|
776
|
-
return Array.isArray(t) ? this.sections(
|
|
835
|
+
return Array.isArray(t) ? this.sections(C(t)) : typeof t == "function" ? (_("sections", () => t(new w())), new p(
|
|
777
836
|
this._renderingMode,
|
|
778
837
|
this._initialArgs,
|
|
779
838
|
this._initialUiState,
|
|
@@ -781,7 +840,7 @@ class d {
|
|
|
781
840
|
this._inputsValid,
|
|
782
841
|
{ __renderLambda: !0, handle: "sections" },
|
|
783
842
|
this._title
|
|
784
|
-
)) : new
|
|
843
|
+
)) : new p(
|
|
785
844
|
this._renderingMode,
|
|
786
845
|
this._initialArgs,
|
|
787
846
|
this._initialUiState,
|
|
@@ -792,7 +851,7 @@ class d {
|
|
|
792
851
|
);
|
|
793
852
|
}
|
|
794
853
|
title(t) {
|
|
795
|
-
return
|
|
854
|
+
return _("title", () => t(new w())), new p(
|
|
796
855
|
this._renderingMode,
|
|
797
856
|
this._initialArgs,
|
|
798
857
|
this._initialUiState,
|
|
@@ -807,7 +866,7 @@ class d {
|
|
|
807
866
|
* @deprecated use {@link withArgs}
|
|
808
867
|
* */
|
|
809
868
|
initialArgs(t) {
|
|
810
|
-
return new
|
|
869
|
+
return new p(
|
|
811
870
|
this._renderingMode,
|
|
812
871
|
t,
|
|
813
872
|
this._initialUiState,
|
|
@@ -819,7 +878,7 @@ class d {
|
|
|
819
878
|
}
|
|
820
879
|
/** Sets initial args for the block, this value must be specified. */
|
|
821
880
|
withArgs(t) {
|
|
822
|
-
return new
|
|
881
|
+
return new p(
|
|
823
882
|
this._renderingMode,
|
|
824
883
|
t,
|
|
825
884
|
this._initialUiState,
|
|
@@ -831,7 +890,7 @@ class d {
|
|
|
831
890
|
}
|
|
832
891
|
/** Defines type and sets initial value for block UiState. */
|
|
833
892
|
withUiState(t) {
|
|
834
|
-
return new
|
|
893
|
+
return new p(
|
|
835
894
|
this._renderingMode,
|
|
836
895
|
this._initialArgs,
|
|
837
896
|
t,
|
|
@@ -848,7 +907,7 @@ class d {
|
|
|
848
907
|
if (this._initialArgs === void 0) throw new Error("Initial arguments not set.");
|
|
849
908
|
const t = {
|
|
850
909
|
v3: {
|
|
851
|
-
sdkVersion:
|
|
910
|
+
sdkVersion: b,
|
|
852
911
|
renderingMode: this._renderingMode,
|
|
853
912
|
initialArgs: this._initialArgs,
|
|
854
913
|
initialUiState: this._initialUiState,
|
|
@@ -858,34 +917,34 @@ class d {
|
|
|
858
917
|
outputs: this._outputs
|
|
859
918
|
},
|
|
860
919
|
// fields below are added to allow previous desktop versions read generated configs
|
|
861
|
-
sdkVersion:
|
|
920
|
+
sdkVersion: b,
|
|
862
921
|
renderingMode: this._renderingMode,
|
|
863
922
|
initialArgs: this._initialArgs,
|
|
864
|
-
inputsValid:
|
|
865
|
-
sections:
|
|
923
|
+
inputsValid: I(this._inputsValid),
|
|
924
|
+
sections: I(this._sections),
|
|
866
925
|
outputs: Object.fromEntries(
|
|
867
|
-
Object.entries(this._outputs).map(([n, i]) => [n,
|
|
926
|
+
Object.entries(this._outputs).map(([n, i]) => [n, I(i)])
|
|
868
927
|
)
|
|
869
928
|
};
|
|
870
|
-
return
|
|
929
|
+
return K() ? x({ sdkVersion: b }) : { config: t };
|
|
871
930
|
}
|
|
872
931
|
}
|
|
873
|
-
function
|
|
874
|
-
var
|
|
875
|
-
const i = e.resultPool.getData().entries.map((a) => a.obj).filter(
|
|
932
|
+
function xt(e, t, n) {
|
|
933
|
+
var s, u;
|
|
934
|
+
const i = e.resultPool.getData().entries.map((a) => a.obj).filter(D).filter((a) => a.spec.name === "pl7.app/label" && a.spec.axesSpec.length === 1), r = [];
|
|
876
935
|
for (const a of t)
|
|
877
|
-
for (const
|
|
878
|
-
const
|
|
879
|
-
for (const
|
|
880
|
-
|
|
936
|
+
for (const d of a.spec.axesSpec) {
|
|
937
|
+
const l = O(d);
|
|
938
|
+
for (const g of i)
|
|
939
|
+
N(l, O(g.spec.axesSpec[0])) && r.push(g);
|
|
881
940
|
}
|
|
882
941
|
return e.createPTable({
|
|
883
942
|
columns: [...t, ...r],
|
|
884
|
-
filters: (
|
|
943
|
+
filters: (s = n == null ? void 0 : n.pTableParams) == null ? void 0 : s.filters,
|
|
885
944
|
sorting: (u = n == null ? void 0 : n.pTableParams) == null ? void 0 : u.sorting
|
|
886
945
|
});
|
|
887
946
|
}
|
|
888
|
-
class
|
|
947
|
+
class Lt {
|
|
889
948
|
constructor(t) {
|
|
890
949
|
this.handle = t;
|
|
891
950
|
}
|
|
@@ -905,78 +964,81 @@ class xt {
|
|
|
905
964
|
return await platforma.pFrameDriver.getUniqueValues(this.handle, t);
|
|
906
965
|
}
|
|
907
966
|
}
|
|
908
|
-
function
|
|
909
|
-
return
|
|
967
|
+
function tt(e) {
|
|
968
|
+
return k({
|
|
910
969
|
__isRef: !0,
|
|
911
970
|
blockId: S(e, "blockId"),
|
|
912
971
|
name: S(e, "name")
|
|
913
972
|
});
|
|
914
973
|
}
|
|
915
|
-
function
|
|
916
|
-
return
|
|
917
|
-
ref:
|
|
974
|
+
function Tt(e) {
|
|
975
|
+
return k({
|
|
976
|
+
ref: tt(S(e, "ref")),
|
|
918
977
|
label: S(e, "label")
|
|
919
978
|
});
|
|
920
979
|
}
|
|
921
|
-
const
|
|
922
|
-
sdkVersion:
|
|
980
|
+
const jt = {
|
|
981
|
+
sdkVersion: b
|
|
923
982
|
};
|
|
924
|
-
function
|
|
925
|
-
return
|
|
983
|
+
function Et() {
|
|
984
|
+
return x({ sdkVersion: b });
|
|
926
985
|
}
|
|
927
|
-
function
|
|
986
|
+
function Mt(e) {
|
|
928
987
|
if (typeof globalThis.getEnvironmentValue == "function")
|
|
929
988
|
return globalThis.getEnvironmentValue(e);
|
|
930
989
|
}
|
|
931
990
|
export {
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
991
|
+
st as Args,
|
|
992
|
+
p as BlockModel,
|
|
993
|
+
jt as CurrentSdkInfo,
|
|
935
994
|
h as FutureRef,
|
|
936
|
-
|
|
995
|
+
ot as It,
|
|
937
996
|
Pt as JsRenderInternal,
|
|
938
|
-
|
|
997
|
+
at as MainOutputs,
|
|
939
998
|
G as OutputError,
|
|
940
|
-
|
|
999
|
+
Lt as PFrameImpl,
|
|
941
1000
|
w as RenderCtx,
|
|
942
|
-
|
|
943
|
-
|
|
1001
|
+
Y as ResourceMapResourcePartitionedTypeName,
|
|
1002
|
+
X as ResourceMapResourceTypeName,
|
|
1003
|
+
Q as ResultPool,
|
|
1004
|
+
ut as StagingOutputs,
|
|
944
1005
|
m as TreeNodeAccessor,
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
1006
|
+
lt as UiState,
|
|
1007
|
+
mt as and,
|
|
1008
|
+
xt as createPlDataTable,
|
|
1009
|
+
I as downgradeCfgOrLambda,
|
|
1010
|
+
kt as extractConfig,
|
|
1011
|
+
ht as flatten,
|
|
1012
|
+
Tt as fromPlOption,
|
|
1013
|
+
tt as fromPlRef,
|
|
1014
|
+
wt as getBlobContent,
|
|
1015
|
+
At as getBlobContentAsJson,
|
|
1016
|
+
Ct as getBlobContentAsString,
|
|
1017
|
+
St as getDownloadedBlobContent,
|
|
1018
|
+
Mt as getEnvironmentValue,
|
|
1019
|
+
v as getFromCfg,
|
|
1020
|
+
C as getImmediate,
|
|
1021
|
+
It as getImportProgress,
|
|
961
1022
|
S as getJsonField,
|
|
962
|
-
|
|
1023
|
+
Rt as getLastLogs,
|
|
963
1024
|
Vt as getLogHandle,
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
1025
|
+
Ft as getOnDemandBlobContent,
|
|
1026
|
+
Ot as getProgressLog,
|
|
1027
|
+
Et as getRawPlatformaInstance,
|
|
1028
|
+
bt as getResourceField,
|
|
1029
|
+
vt as getResourceValueAsJson,
|
|
1030
|
+
Z as isConfigLambda,
|
|
1031
|
+
ft as isEmpty,
|
|
1032
|
+
rt as isolate,
|
|
1033
|
+
ct as makeArray,
|
|
1034
|
+
k as makeObject,
|
|
1035
|
+
pt as mapArrayValues,
|
|
1036
|
+
dt as mapRecordValues,
|
|
1037
|
+
_t as mapResourceFields,
|
|
1038
|
+
gt as not,
|
|
1039
|
+
yt as or,
|
|
1040
|
+
Dt as parseResourceMap,
|
|
979
1041
|
H as readOutput,
|
|
980
|
-
|
|
1042
|
+
it as wrapOutputs
|
|
981
1043
|
};
|
|
982
1044
|
//# sourceMappingURL=index.mjs.map
|