@milaboratories/pl-model-common 1.18.0 → 1.19.1
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/drivers/index.d.ts +1 -1
- package/dist/drivers/index.d.ts.map +1 -1
- package/dist/drivers/pframe/data_types.d.ts +86 -82
- package/dist/drivers/pframe/data_types.d.ts.map +1 -1
- package/dist/drivers/pframe/spec/anchored.d.ts.map +1 -1
- package/dist/drivers/pframe/spec/filtered_column.d.ts +4 -3
- package/dist/drivers/pframe/spec/filtered_column.d.ts.map +1 -1
- package/dist/drivers/pframe/spec/spec.d.ts +7 -1
- package/dist/drivers/pframe/spec/spec.d.ts.map +1 -1
- package/dist/drivers/urls.d.ts +19 -0
- package/dist/drivers/urls.d.ts.map +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +464 -528
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/drivers/index.ts +1 -1
- package/src/drivers/pframe/data_types.ts +278 -244
- package/src/drivers/pframe/spec/anchored.ts +2 -3
- package/src/drivers/pframe/spec/filtered_column.ts +5 -3
- package/src/drivers/pframe/spec/spec.ts +14 -1
- package/src/drivers/urls.ts +30 -0
- package/dist/drivers/blob_to_url.d.ts +0 -9
- package/dist/drivers/blob_to_url.d.ts.map +0 -1
- package/src/drivers/blob_to_url.ts +0 -10
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var d = (e, n,
|
|
1
|
+
var V = Object.defineProperty;
|
|
2
|
+
var T = (e, n, r) => n in e ? V(e, n, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[n] = r;
|
|
3
|
+
var d = (e, n, r) => T(e, typeof n != "symbol" ? n + "" : n, r);
|
|
4
4
|
import { z as m } from "zod";
|
|
5
|
-
import
|
|
6
|
-
function
|
|
5
|
+
import y from "canonicalize";
|
|
6
|
+
function be(e) {
|
|
7
7
|
if (e.code !== void 0)
|
|
8
8
|
return {
|
|
9
9
|
code: e.code,
|
|
@@ -15,120 +15,126 @@ function p(e) {
|
|
|
15
15
|
if (e !== void 0)
|
|
16
16
|
return typeof e == "string" ? { __renderLambda: !0, handle: e, retentive: !1 } : e;
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function ve(e) {
|
|
19
19
|
if (e.v3 !== void 0) {
|
|
20
20
|
const {
|
|
21
21
|
initialArgs: n,
|
|
22
|
-
initialUiState:
|
|
23
|
-
inputsValid:
|
|
22
|
+
initialUiState: r,
|
|
23
|
+
inputsValid: t,
|
|
24
24
|
outputs: o,
|
|
25
25
|
renderingMode: i,
|
|
26
|
-
sdkVersion:
|
|
27
|
-
featureFlags:
|
|
26
|
+
sdkVersion: s,
|
|
27
|
+
featureFlags: a,
|
|
28
28
|
sections: u,
|
|
29
29
|
title: c,
|
|
30
30
|
enrichmentTargets: f
|
|
31
|
-
} = e.v3, { code:
|
|
31
|
+
} = e.v3, { code: L } = e;
|
|
32
32
|
return {
|
|
33
33
|
initialArgs: n,
|
|
34
|
-
initialUiState:
|
|
35
|
-
inputsValid:
|
|
34
|
+
initialUiState: r,
|
|
35
|
+
inputsValid: t,
|
|
36
36
|
outputs: o,
|
|
37
37
|
renderingMode: i,
|
|
38
|
-
sdkVersion:
|
|
39
|
-
featureFlags:
|
|
38
|
+
sdkVersion: s,
|
|
39
|
+
featureFlags: a,
|
|
40
40
|
sections: u,
|
|
41
41
|
title: c,
|
|
42
|
-
code:
|
|
42
|
+
code: L,
|
|
43
43
|
enrichmentTargets: f
|
|
44
44
|
};
|
|
45
45
|
} else if (e.inputsValid !== void 0) {
|
|
46
|
-
const { sdkVersion: n, renderingMode:
|
|
47
|
-
if (n === void 0 ||
|
|
46
|
+
const { sdkVersion: n, renderingMode: r, outputs: t, inputsValid: o, sections: i, initialArgs: s, code: a } = e, u = Object.keys(e);
|
|
47
|
+
if (n === void 0 || r === void 0 || t === void 0 || o === void 0 || i === void 0 || s === void 0)
|
|
48
48
|
throw new Error(
|
|
49
49
|
`Malformed config v2. SDK version ${n}; Fields = ${u.join(", ")}`
|
|
50
50
|
);
|
|
51
51
|
return {
|
|
52
52
|
sdkVersion: n,
|
|
53
|
-
renderingMode:
|
|
54
|
-
initialArgs:
|
|
53
|
+
renderingMode: r,
|
|
54
|
+
initialArgs: s,
|
|
55
55
|
outputs: Object.fromEntries(
|
|
56
|
-
Object.entries(
|
|
56
|
+
Object.entries(t).map(([c, f]) => [c, p(f)])
|
|
57
57
|
),
|
|
58
58
|
inputsValid: p(o),
|
|
59
59
|
sections: p(i),
|
|
60
60
|
initialUiState: void 0,
|
|
61
|
-
code:
|
|
61
|
+
code: a
|
|
62
62
|
};
|
|
63
63
|
} else if (e.renderingMode !== void 0) {
|
|
64
|
-
const { sdkVersion: n, canRun:
|
|
65
|
-
if (
|
|
64
|
+
const { sdkVersion: n, canRun: r, renderingMode: t, outputs: o, sections: i, initialArgs: s, code: a } = e, u = Object.keys(e);
|
|
65
|
+
if (t === void 0 || o === void 0 || r === void 0 || i === void 0 || s === void 0)
|
|
66
66
|
throw new Error(
|
|
67
67
|
`Malformed config v1. SDK version ${n}; Fields = ${u.join(", ")}`
|
|
68
68
|
);
|
|
69
69
|
return {
|
|
70
70
|
sdkVersion: n ?? "unknown",
|
|
71
|
-
renderingMode:
|
|
72
|
-
initialArgs:
|
|
71
|
+
renderingMode: t,
|
|
72
|
+
initialArgs: s,
|
|
73
73
|
outputs: Object.fromEntries(
|
|
74
74
|
Object.entries(o).map(([c, f]) => [c, p(f)])
|
|
75
75
|
),
|
|
76
|
-
inputsValid: p(
|
|
76
|
+
inputsValid: p(r),
|
|
77
77
|
sections: p(i),
|
|
78
78
|
initialUiState: void 0,
|
|
79
|
-
code:
|
|
79
|
+
code: a
|
|
80
80
|
};
|
|
81
81
|
} else {
|
|
82
|
-
const { sdkVersion: n } = e,
|
|
82
|
+
const { sdkVersion: n } = e, r = Object.keys(e);
|
|
83
83
|
throw new Error(
|
|
84
|
-
`Config format not supported: SDK = ${n}; Fields = ${
|
|
84
|
+
`Config format not supported: SDK = ${n}; Fields = ${r.join(", ")}`
|
|
85
85
|
);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
|
|
88
|
+
function ge(e) {
|
|
89
|
+
return new URL(e).protocol == "plblob+folder:";
|
|
90
|
+
}
|
|
91
|
+
function we(e) {
|
|
92
|
+
return new URL(e).protocol == "block-ui:";
|
|
93
|
+
}
|
|
94
|
+
const ke = m.object({
|
|
89
95
|
/** Included left border. */
|
|
90
96
|
from: m.number(),
|
|
91
97
|
/** Excluded right border. */
|
|
92
98
|
to: m.number()
|
|
93
99
|
});
|
|
94
|
-
function
|
|
100
|
+
function Ae(e, n) {
|
|
95
101
|
if (!(e == null || n == null))
|
|
96
102
|
return { from: e, to: n };
|
|
97
103
|
}
|
|
98
|
-
function
|
|
104
|
+
function xe(e, n) {
|
|
99
105
|
if (e.from < 0 || e.to < 0 || e.from >= e.to)
|
|
100
106
|
throw new Error(`${n}: invalid bytes range: ${e}`);
|
|
101
107
|
}
|
|
102
|
-
function
|
|
108
|
+
function Pe(e) {
|
|
103
109
|
return e !== void 0 && e.startsWith("log+live://log/");
|
|
104
110
|
}
|
|
105
|
-
function
|
|
111
|
+
function g(e) {
|
|
106
112
|
throw new Error("Unexpected object: " + e);
|
|
107
113
|
}
|
|
108
|
-
const
|
|
114
|
+
const S = "upload://upload/", O = "index://index/";
|
|
109
115
|
function B(e) {
|
|
110
|
-
return e.startsWith(
|
|
116
|
+
return e.startsWith(S);
|
|
111
117
|
}
|
|
112
118
|
function U(e) {
|
|
113
|
-
return e.startsWith(
|
|
119
|
+
return e.startsWith(O);
|
|
114
120
|
}
|
|
115
121
|
function K(e) {
|
|
116
122
|
if (U(e)) {
|
|
117
|
-
const n = e.slice(
|
|
123
|
+
const n = e.slice(O.length);
|
|
118
124
|
return JSON.parse(decodeURIComponent(n)).path;
|
|
119
125
|
} else if (B(e)) {
|
|
120
|
-
const n = e.slice(
|
|
126
|
+
const n = e.slice(S.length);
|
|
121
127
|
return JSON.parse(decodeURIComponent(n)).localPath;
|
|
122
128
|
}
|
|
123
|
-
|
|
129
|
+
g(e);
|
|
124
130
|
}
|
|
125
131
|
function M(e) {
|
|
126
132
|
return e.replace(/^.*[\\/]/, "");
|
|
127
133
|
}
|
|
128
|
-
function
|
|
134
|
+
function Ee(e) {
|
|
129
135
|
return M(K(e));
|
|
130
136
|
}
|
|
131
|
-
function
|
|
137
|
+
function Se(e) {
|
|
132
138
|
if (!e || typeof e != "object")
|
|
133
139
|
return !1;
|
|
134
140
|
const n = e;
|
|
@@ -145,46 +151,46 @@ function Ce(e) {
|
|
|
145
151
|
return !1;
|
|
146
152
|
}
|
|
147
153
|
}
|
|
148
|
-
function
|
|
154
|
+
function Oe(e, n) {
|
|
149
155
|
if (e !== void 0)
|
|
150
156
|
switch (e.type) {
|
|
151
157
|
case "Json":
|
|
152
158
|
return e;
|
|
153
159
|
case "JsonPartitioned": {
|
|
154
|
-
const
|
|
155
|
-
for (const [
|
|
156
|
-
t
|
|
160
|
+
const r = {};
|
|
161
|
+
for (const [t, o] of Object.entries(e.parts))
|
|
162
|
+
r[t] = n(o);
|
|
157
163
|
return {
|
|
158
164
|
...e,
|
|
159
|
-
parts:
|
|
165
|
+
parts: r
|
|
160
166
|
};
|
|
161
167
|
}
|
|
162
168
|
case "BinaryPartitioned": {
|
|
163
|
-
const
|
|
164
|
-
for (const [
|
|
165
|
-
t
|
|
169
|
+
const r = {};
|
|
170
|
+
for (const [t, o] of Object.entries(e.parts))
|
|
171
|
+
r[t] = {
|
|
166
172
|
index: n(o.index),
|
|
167
173
|
values: n(o.values)
|
|
168
174
|
};
|
|
169
175
|
return {
|
|
170
176
|
...e,
|
|
171
|
-
parts:
|
|
177
|
+
parts: r
|
|
172
178
|
};
|
|
173
179
|
}
|
|
174
180
|
}
|
|
175
181
|
}
|
|
176
|
-
function
|
|
182
|
+
function Ce(e, n) {
|
|
177
183
|
switch (e.type) {
|
|
178
184
|
case "Json":
|
|
179
185
|
break;
|
|
180
186
|
case "JsonPartitioned": {
|
|
181
|
-
for (const [
|
|
182
|
-
n(
|
|
187
|
+
for (const [r, t] of Object.entries(e.parts))
|
|
188
|
+
n(t);
|
|
183
189
|
break;
|
|
184
190
|
}
|
|
185
191
|
case "BinaryPartitioned": {
|
|
186
|
-
for (const [
|
|
187
|
-
n(
|
|
192
|
+
for (const [r, t] of Object.entries(e.parts))
|
|
193
|
+
n(t.index), n(t.values);
|
|
188
194
|
break;
|
|
189
195
|
}
|
|
190
196
|
}
|
|
@@ -206,13 +212,13 @@ function _(e) {
|
|
|
206
212
|
return !1;
|
|
207
213
|
}
|
|
208
214
|
}
|
|
209
|
-
function
|
|
215
|
+
function Fe(e) {
|
|
210
216
|
return _(e) ? e.type === "JsonPartitioned" || e.type === "BinaryPartitioned" : !1;
|
|
211
217
|
}
|
|
212
218
|
function je(e) {
|
|
213
219
|
switch (e.type) {
|
|
214
220
|
case "Json": {
|
|
215
|
-
const n = Object.entries(e.data).map(([
|
|
221
|
+
const n = Object.entries(e.data).map(([r, t]) => ({ key: JSON.parse(r), value: t }));
|
|
216
222
|
return {
|
|
217
223
|
type: "Json",
|
|
218
224
|
keyLength: e.keyLength,
|
|
@@ -220,7 +226,7 @@ function je(e) {
|
|
|
220
226
|
};
|
|
221
227
|
}
|
|
222
228
|
case "JsonPartitioned": {
|
|
223
|
-
const n = Object.entries(e.parts).map(([
|
|
229
|
+
const n = Object.entries(e.parts).map(([r, t]) => ({ key: JSON.parse(r), value: t }));
|
|
224
230
|
return {
|
|
225
231
|
type: "JsonPartitioned",
|
|
226
232
|
partitionKeyLength: e.partitionKeyLength,
|
|
@@ -228,7 +234,7 @@ function je(e) {
|
|
|
228
234
|
};
|
|
229
235
|
}
|
|
230
236
|
case "BinaryPartitioned": {
|
|
231
|
-
const n = Object.entries(e.parts).map(([
|
|
237
|
+
const n = Object.entries(e.parts).map(([r, t]) => ({ key: JSON.parse(r), value: t }));
|
|
232
238
|
return {
|
|
233
239
|
type: "BinaryPartitioned",
|
|
234
240
|
partitionKeyLength: e.partitionKeyLength,
|
|
@@ -241,8 +247,8 @@ function Ie(e) {
|
|
|
241
247
|
switch (e.type) {
|
|
242
248
|
case "Json": {
|
|
243
249
|
const n = {};
|
|
244
|
-
for (const
|
|
245
|
-
n[JSON.stringify(
|
|
250
|
+
for (const r of e.data)
|
|
251
|
+
n[JSON.stringify(r.key)] = r.value;
|
|
246
252
|
return {
|
|
247
253
|
type: "Json",
|
|
248
254
|
keyLength: e.keyLength,
|
|
@@ -251,8 +257,8 @@ function Ie(e) {
|
|
|
251
257
|
}
|
|
252
258
|
case "JsonPartitioned": {
|
|
253
259
|
const n = {};
|
|
254
|
-
for (const
|
|
255
|
-
n[JSON.stringify(
|
|
260
|
+
for (const r of e.parts)
|
|
261
|
+
n[JSON.stringify(r.key)] = r.value;
|
|
256
262
|
return {
|
|
257
263
|
type: "JsonPartitioned",
|
|
258
264
|
partitionKeyLength: e.partitionKeyLength,
|
|
@@ -261,8 +267,8 @@ function Ie(e) {
|
|
|
261
267
|
}
|
|
262
268
|
case "BinaryPartitioned": {
|
|
263
269
|
const n = {};
|
|
264
|
-
for (const
|
|
265
|
-
n[JSON.stringify(
|
|
270
|
+
for (const r of e.parts)
|
|
271
|
+
n[JSON.stringify(r.key)] = r.value;
|
|
266
272
|
return {
|
|
267
273
|
type: "BinaryPartitioned",
|
|
268
274
|
partitionKeyLength: e.partitionKeyLength,
|
|
@@ -277,198 +283,138 @@ function Je(e, n) {
|
|
|
277
283
|
case "Json":
|
|
278
284
|
return e;
|
|
279
285
|
case "JsonPartitioned": {
|
|
280
|
-
const
|
|
281
|
-
key:
|
|
282
|
-
value: n(
|
|
286
|
+
const r = e.parts.map((t) => ({
|
|
287
|
+
key: t.key,
|
|
288
|
+
value: n(t.value)
|
|
283
289
|
}));
|
|
284
290
|
return {
|
|
285
291
|
...e,
|
|
286
|
-
parts:
|
|
292
|
+
parts: r
|
|
287
293
|
};
|
|
288
294
|
}
|
|
289
295
|
case "BinaryPartitioned": {
|
|
290
|
-
const
|
|
291
|
-
key:
|
|
296
|
+
const r = e.parts.map((t) => ({
|
|
297
|
+
key: t.key,
|
|
292
298
|
value: {
|
|
293
|
-
index: n(
|
|
294
|
-
values: n(
|
|
299
|
+
index: n(t.value.index),
|
|
300
|
+
values: n(t.value.values)
|
|
295
301
|
}
|
|
296
302
|
}));
|
|
297
303
|
return {
|
|
298
304
|
...e,
|
|
299
|
-
parts:
|
|
305
|
+
parts: r
|
|
300
306
|
};
|
|
301
307
|
}
|
|
302
308
|
}
|
|
303
309
|
}
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
case "Int":
|
|
308
|
-
return e === q;
|
|
309
|
-
case "Long":
|
|
310
|
-
return e === Number(k) || e === k;
|
|
311
|
-
case "Float":
|
|
312
|
-
return Number.isNaN(e);
|
|
313
|
-
case "Double":
|
|
314
|
-
return Number.isNaN(e);
|
|
315
|
-
case "String":
|
|
316
|
-
return e === T;
|
|
317
|
-
case "Bytes":
|
|
318
|
-
return e === z;
|
|
319
|
-
default:
|
|
320
|
-
throw Error(`unsupported data type: ${n}`);
|
|
321
|
-
}
|
|
310
|
+
function C(e, n) {
|
|
311
|
+
const r = Math.floor(n / 8), t = 1 << 7 - n % 8;
|
|
312
|
+
return (e[r] & t) > 0;
|
|
322
313
|
}
|
|
323
|
-
function
|
|
324
|
-
|
|
325
|
-
return e;
|
|
314
|
+
function q(e, n) {
|
|
315
|
+
return C(e.absent, n);
|
|
326
316
|
}
|
|
327
|
-
function
|
|
328
|
-
if (
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
switch (n) {
|
|
317
|
+
function z(e, n) {
|
|
318
|
+
if (e.isNA) return C(e.isNA, n);
|
|
319
|
+
const r = e.type, t = e.data[n];
|
|
320
|
+
switch (r) {
|
|
332
321
|
case "Int":
|
|
333
|
-
return
|
|
322
|
+
return t === -2147483648;
|
|
334
323
|
case "Long":
|
|
335
|
-
return
|
|
324
|
+
return t === -9007199254740991n;
|
|
336
325
|
case "Float":
|
|
337
|
-
return
|
|
326
|
+
return Number.isNaN(t);
|
|
338
327
|
case "Double":
|
|
339
|
-
return
|
|
328
|
+
return Number.isNaN(t);
|
|
340
329
|
case "String":
|
|
341
|
-
return
|
|
330
|
+
return t === null;
|
|
342
331
|
case "Bytes":
|
|
343
|
-
|
|
332
|
+
return t === null;
|
|
344
333
|
default:
|
|
345
|
-
throw Error(`unsupported data type: ${
|
|
334
|
+
throw Error(`unsupported data type: ${r}`);
|
|
346
335
|
}
|
|
347
336
|
}
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
337
|
+
const H = { type: "absent" };
|
|
338
|
+
function Ne(e) {
|
|
339
|
+
return typeof e == "object" && e !== null && "type" in e && e.type === "absent";
|
|
340
|
+
}
|
|
341
|
+
const F = null;
|
|
342
|
+
function W(e) {
|
|
343
|
+
return e === F;
|
|
344
|
+
}
|
|
345
|
+
function Re(e, n) {
|
|
346
|
+
return !(n ? n(e) : W(e));
|
|
347
|
+
}
|
|
348
|
+
function j(e, n, r) {
|
|
349
|
+
const t = e.type;
|
|
350
|
+
if (t === "Bytes")
|
|
351
|
+
throw Error("Bytes not yet supported");
|
|
352
|
+
if (r && "dataType" in r && r.dataType !== void 0 && r.dataType !== t)
|
|
353
|
+
throw Error(`expected column of type ${r.dataType}, got ${t}`);
|
|
354
|
+
if (q(e, n))
|
|
355
|
+
return (r == null ? void 0 : r.absent) !== void 0 ? r.absent : H;
|
|
356
|
+
if (z(e, n))
|
|
357
|
+
return (r == null ? void 0 : r.na) !== void 0 ? r.na : F;
|
|
358
|
+
const o = e.data[n];
|
|
359
|
+
switch (t) {
|
|
353
360
|
case "Int":
|
|
354
|
-
return
|
|
361
|
+
return o;
|
|
355
362
|
case "Long":
|
|
356
|
-
return
|
|
363
|
+
return Number(o);
|
|
357
364
|
case "Float":
|
|
358
|
-
return
|
|
365
|
+
return o;
|
|
359
366
|
case "Double":
|
|
360
|
-
return
|
|
367
|
+
return o;
|
|
361
368
|
case "String":
|
|
362
|
-
return
|
|
363
|
-
case "Bytes":
|
|
364
|
-
throw Error("Bytes not yet supported");
|
|
365
|
-
default:
|
|
366
|
-
throw Error(`unsupported data type: ${n}`);
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
function Be(e) {
|
|
370
|
-
if (e === null || typeof e == "string" || typeof e == "number") return e;
|
|
371
|
-
if (typeof e == "bigint") return { bigint: e.toString() };
|
|
372
|
-
throw new Error(`Type ${typeof e} (value ${e}) not yet supported.`);
|
|
373
|
-
}
|
|
374
|
-
function G(e, n) {
|
|
375
|
-
if (e === null || typeof e == "string" || typeof e == "number" || typeof e == "bigint") {
|
|
376
|
-
if (n && !b(e, n) && !W(e, n))
|
|
377
|
-
throw new Error(`Unexpected value type, got ${typeof e}, expected ${n}`);
|
|
378
|
-
return e;
|
|
379
|
-
}
|
|
380
|
-
if (typeof e == "object" && e !== null && "bigint" in e && typeof e.bigint == "string") {
|
|
381
|
-
if (n && n !== "Long")
|
|
382
|
-
throw new Error(`Unexpected value type, got serialized bigint, expected ${n}`);
|
|
383
|
-
return BigInt(e.bigint);
|
|
384
|
-
}
|
|
385
|
-
throw new Error(`Unsupported type ${typeof e} (value ${e}).`);
|
|
386
|
-
}
|
|
387
|
-
function Ue(e) {
|
|
388
|
-
if (e = X(e), e === null) throw new Error("Value is null");
|
|
389
|
-
return e;
|
|
390
|
-
}
|
|
391
|
-
function X(e) {
|
|
392
|
-
if (e = G(e), e === null) return null;
|
|
393
|
-
if (typeof e == "string") return e;
|
|
394
|
-
if (typeof e == "number") {
|
|
395
|
-
if (!isFinite(e)) throw new Error(`Value is not finite (${e})`);
|
|
396
|
-
return e;
|
|
369
|
+
return o;
|
|
397
370
|
}
|
|
398
|
-
if (typeof e == "bigint")
|
|
399
|
-
return Number(e);
|
|
400
|
-
throw new Error(`Unexpected value type: ${typeof e}`);
|
|
401
371
|
}
|
|
402
|
-
function
|
|
403
|
-
|
|
404
|
-
return (e[t] & r) > 0;
|
|
372
|
+
function $e(e, n, r) {
|
|
373
|
+
return j(e, n, r);
|
|
405
374
|
}
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
return typeof e == "object" && e !== null && e.type === "absent";
|
|
409
|
-
}
|
|
410
|
-
function Me(e, n, t = {}) {
|
|
411
|
-
if (Q(e.absent, n))
|
|
412
|
-
return t.absent === void 0 ? Y : t.absent;
|
|
413
|
-
const r = e.data[n], o = e.type;
|
|
414
|
-
if (b(r, o)) return t.na === void 0 ? Z : t.na;
|
|
415
|
-
switch (o) {
|
|
416
|
-
case "Int":
|
|
417
|
-
return r;
|
|
418
|
-
case "Long":
|
|
419
|
-
return Number(r);
|
|
420
|
-
case "Float":
|
|
421
|
-
return r;
|
|
422
|
-
case "Double":
|
|
423
|
-
return r;
|
|
424
|
-
case "String":
|
|
425
|
-
return r;
|
|
426
|
-
case "Bytes":
|
|
427
|
-
throw Error("Bytes not yet supported");
|
|
428
|
-
default:
|
|
429
|
-
throw Error(`unsupported data type: ${o}`);
|
|
430
|
-
}
|
|
375
|
+
function De(e, n, r) {
|
|
376
|
+
return j(e, n, r);
|
|
431
377
|
}
|
|
432
|
-
function
|
|
378
|
+
function Le(e) {
|
|
433
379
|
return {
|
|
434
380
|
kind: e.kind,
|
|
435
381
|
valueType: e.valueType,
|
|
436
382
|
name: e.name,
|
|
437
383
|
domain: e.domain,
|
|
438
384
|
parentAxes: e.parentAxes,
|
|
439
|
-
axesId:
|
|
385
|
+
axesId: I(e.axesSpec)
|
|
440
386
|
};
|
|
441
387
|
}
|
|
442
|
-
function
|
|
388
|
+
function Ve(e) {
|
|
443
389
|
return {
|
|
444
390
|
columnId: e.id,
|
|
445
391
|
spec: e.spec
|
|
446
392
|
};
|
|
447
393
|
}
|
|
448
|
-
function
|
|
449
|
-
const { type: n, name:
|
|
450
|
-
return
|
|
394
|
+
function h(e) {
|
|
395
|
+
const { type: n, name: r, domain: t } = e, o = { type: n, name: r };
|
|
396
|
+
return t && Object.entries(t).length > 0 && Object.assign(o, { domain: t }), o;
|
|
451
397
|
}
|
|
452
|
-
function
|
|
453
|
-
return e.map(
|
|
398
|
+
function I(e) {
|
|
399
|
+
return e.map(h);
|
|
454
400
|
}
|
|
455
401
|
function Te(e) {
|
|
456
|
-
return h(
|
|
402
|
+
return y(h(e));
|
|
457
403
|
}
|
|
458
|
-
function
|
|
404
|
+
function G(e, n) {
|
|
459
405
|
if (e === void 0) return n === void 0;
|
|
460
406
|
if (n === void 0) return !0;
|
|
461
|
-
for (const
|
|
462
|
-
if (e[
|
|
407
|
+
for (const r in n)
|
|
408
|
+
if (e[r] !== n[r]) return !1;
|
|
463
409
|
return !0;
|
|
464
410
|
}
|
|
465
|
-
function
|
|
466
|
-
return e.name === n.name &&
|
|
411
|
+
function X(e, n) {
|
|
412
|
+
return e.name === n.name && G(e.domain, n.domain);
|
|
467
413
|
}
|
|
468
|
-
function
|
|
469
|
-
return { ...e, src:
|
|
414
|
+
function Be(e, n) {
|
|
415
|
+
return { ...e, src: b(e.src, n) };
|
|
470
416
|
}
|
|
471
|
-
function
|
|
417
|
+
function b(e, n) {
|
|
472
418
|
switch (e.type) {
|
|
473
419
|
case "column":
|
|
474
420
|
return {
|
|
@@ -488,19 +434,19 @@ function g(e, n) {
|
|
|
488
434
|
case "full":
|
|
489
435
|
return {
|
|
490
436
|
type: e.type,
|
|
491
|
-
entries: e.entries.map((
|
|
437
|
+
entries: e.entries.map((r) => b(r, n))
|
|
492
438
|
};
|
|
493
439
|
case "outer":
|
|
494
440
|
return {
|
|
495
441
|
type: "outer",
|
|
496
|
-
primary:
|
|
497
|
-
secondary: e.secondary.map((
|
|
442
|
+
primary: b(e.primary, n),
|
|
443
|
+
secondary: e.secondary.map((r) => b(r, n))
|
|
498
444
|
};
|
|
499
445
|
default:
|
|
500
|
-
|
|
446
|
+
g(e);
|
|
501
447
|
}
|
|
502
448
|
}
|
|
503
|
-
function
|
|
449
|
+
function Ue(e) {
|
|
504
450
|
switch (e.type) {
|
|
505
451
|
case "axis":
|
|
506
452
|
return {
|
|
@@ -514,19 +460,19 @@ function He(e) {
|
|
|
514
460
|
};
|
|
515
461
|
}
|
|
516
462
|
}
|
|
517
|
-
function
|
|
518
|
-
return
|
|
463
|
+
function Q(e) {
|
|
464
|
+
return y(e);
|
|
519
465
|
}
|
|
520
|
-
function
|
|
466
|
+
function Ke(e) {
|
|
521
467
|
return JSON.parse(e);
|
|
522
468
|
}
|
|
523
|
-
function
|
|
524
|
-
return h(
|
|
469
|
+
function A(e) {
|
|
470
|
+
return y(h(e));
|
|
525
471
|
}
|
|
526
|
-
function
|
|
472
|
+
function x(e, n) {
|
|
527
473
|
return JSON.stringify([e, n]);
|
|
528
474
|
}
|
|
529
|
-
class
|
|
475
|
+
class Me {
|
|
530
476
|
/**
|
|
531
477
|
* Creates a new anchor context from a set of anchor column specifications
|
|
532
478
|
* @param anchors Record of anchor column specifications indexed by anchor ID
|
|
@@ -544,19 +490,19 @@ class Ge {
|
|
|
544
490
|
*/
|
|
545
491
|
d(this, "domainPackToAnchor", /* @__PURE__ */ new Map());
|
|
546
492
|
this.anchors = n;
|
|
547
|
-
const
|
|
548
|
-
|
|
549
|
-
for (const [
|
|
493
|
+
const r = Object.entries(n);
|
|
494
|
+
r.sort((t, o) => t[0].localeCompare(o[0]));
|
|
495
|
+
for (const [t, o] of r) {
|
|
550
496
|
for (let i = 0; i < o.axesSpec.length; i++) {
|
|
551
|
-
const
|
|
552
|
-
this.axes.set(
|
|
497
|
+
const s = o.axesSpec[i], a = A(s);
|
|
498
|
+
this.axes.set(a, { anchor: t, idx: i });
|
|
553
499
|
}
|
|
554
500
|
if (o.domain !== void 0) {
|
|
555
501
|
const i = Object.entries(o.domain);
|
|
556
|
-
i.sort((
|
|
557
|
-
for (const [
|
|
558
|
-
const u =
|
|
559
|
-
this.domains.set(u,
|
|
502
|
+
i.sort((s, a) => s[0].localeCompare(a[0])), this.domainPackToAnchor.set(JSON.stringify(i), t), this.domainPacks.push(i.map(([s]) => s));
|
|
503
|
+
for (const [s, a] of i) {
|
|
504
|
+
const u = x(s, a);
|
|
505
|
+
this.domains.set(u, t);
|
|
560
506
|
}
|
|
561
507
|
}
|
|
562
508
|
}
|
|
@@ -564,56 +510,56 @@ class Ge {
|
|
|
564
510
|
/**
|
|
565
511
|
* Implementation of derive method
|
|
566
512
|
*/
|
|
567
|
-
derive(n,
|
|
568
|
-
const
|
|
513
|
+
derive(n, r) {
|
|
514
|
+
const t = {
|
|
569
515
|
name: n.name,
|
|
570
516
|
axes: []
|
|
571
517
|
};
|
|
572
518
|
let o;
|
|
573
519
|
if (n.domain !== void 0)
|
|
574
520
|
e:
|
|
575
|
-
for (const
|
|
576
|
-
const
|
|
577
|
-
for (const c of
|
|
521
|
+
for (const s of this.domainPacks) {
|
|
522
|
+
const a = [];
|
|
523
|
+
for (const c of s) {
|
|
578
524
|
const f = n.domain[c];
|
|
579
525
|
if (f !== void 0)
|
|
580
|
-
|
|
526
|
+
a.push([c, f]);
|
|
581
527
|
else
|
|
582
528
|
break e;
|
|
583
529
|
}
|
|
584
|
-
const u = this.domainPackToAnchor.get(JSON.stringify(
|
|
530
|
+
const u = this.domainPackToAnchor.get(JSON.stringify(a));
|
|
585
531
|
if (u !== void 0) {
|
|
586
|
-
|
|
532
|
+
t.domainAnchor = u, o = new Set(s);
|
|
587
533
|
break;
|
|
588
534
|
}
|
|
589
535
|
}
|
|
590
|
-
for (const [
|
|
591
|
-
if (o !== void 0 && o.has(
|
|
536
|
+
for (const [s, a] of Object.entries(n.domain ?? {})) {
|
|
537
|
+
if (o !== void 0 && o.has(s))
|
|
592
538
|
continue;
|
|
593
|
-
const u =
|
|
594
|
-
|
|
539
|
+
const u = x(s, a), c = this.domains.get(u);
|
|
540
|
+
t.domain ?? (t.domain = {}), t.domain[s] = c ? { anchor: c } : a;
|
|
595
541
|
}
|
|
596
|
-
if (
|
|
597
|
-
const
|
|
598
|
-
return u === void 0 ?
|
|
599
|
-
}), !
|
|
600
|
-
return
|
|
542
|
+
if (t.axes = n.axesSpec.map((s) => {
|
|
543
|
+
const a = A(s), u = this.axes.get(a);
|
|
544
|
+
return u === void 0 ? h(s) : u;
|
|
545
|
+
}), !r || r.length === 0)
|
|
546
|
+
return t;
|
|
601
547
|
const i = [];
|
|
602
|
-
for (const
|
|
603
|
-
const [
|
|
604
|
-
if (typeof
|
|
605
|
-
if (
|
|
606
|
-
throw new Error(`Axis index ${
|
|
607
|
-
i.push([
|
|
548
|
+
for (const s of r) {
|
|
549
|
+
const [a, u] = s;
|
|
550
|
+
if (typeof a == "number") {
|
|
551
|
+
if (a < 0 || a >= n.axesSpec.length)
|
|
552
|
+
throw new Error(`Axis index ${a} is out of bounds (0-${n.axesSpec.length - 1})`);
|
|
553
|
+
i.push([a, u]);
|
|
608
554
|
} else {
|
|
609
|
-
const c = n.axesSpec.findIndex((f) => f.name ===
|
|
555
|
+
const c = n.axesSpec.findIndex((f) => f.name === a);
|
|
610
556
|
if (c === -1)
|
|
611
|
-
throw new Error(`Axis with name "${
|
|
557
|
+
throw new Error(`Axis with name "${a}" not found in the column specification`);
|
|
612
558
|
i.push([c, u]);
|
|
613
559
|
}
|
|
614
560
|
}
|
|
615
|
-
return i.sort((
|
|
616
|
-
source:
|
|
561
|
+
return i.sort((s, a) => s[0] - a[0]), {
|
|
562
|
+
source: t,
|
|
617
563
|
axisFilters: i
|
|
618
564
|
};
|
|
619
565
|
}
|
|
@@ -623,134 +569,134 @@ class Ge {
|
|
|
623
569
|
* @param axisFilters Optional axis filters to apply to the column
|
|
624
570
|
* @returns A canonicalized string representation of the anchored column identifier
|
|
625
571
|
*/
|
|
626
|
-
deriveS(n,
|
|
627
|
-
return
|
|
572
|
+
deriveS(n, r) {
|
|
573
|
+
return Q(this.derive(n, r));
|
|
628
574
|
}
|
|
629
575
|
}
|
|
630
|
-
function
|
|
631
|
-
const
|
|
632
|
-
if (
|
|
633
|
-
const i = e[
|
|
576
|
+
function _e(e, n, r) {
|
|
577
|
+
const t = { ...n }, o = (r == null ? void 0 : r.ignoreMissingDomains) ?? !1;
|
|
578
|
+
if (t.domainAnchor !== void 0) {
|
|
579
|
+
const i = e[t.domainAnchor];
|
|
634
580
|
if (!i)
|
|
635
|
-
throw new Error(`Anchor "${
|
|
636
|
-
const
|
|
637
|
-
|
|
581
|
+
throw new Error(`Anchor "${t.domainAnchor}" not found`);
|
|
582
|
+
const s = i.domain || {};
|
|
583
|
+
t.domain = { ...s, ...t.domain }, delete t.domainAnchor;
|
|
638
584
|
}
|
|
639
|
-
if (
|
|
585
|
+
if (t.domain) {
|
|
640
586
|
const i = {};
|
|
641
|
-
for (const [
|
|
642
|
-
if (typeof
|
|
643
|
-
i[
|
|
587
|
+
for (const [s, a] of Object.entries(t.domain))
|
|
588
|
+
if (typeof a == "string")
|
|
589
|
+
i[s] = a;
|
|
644
590
|
else {
|
|
645
|
-
const u = e[
|
|
591
|
+
const u = e[a.anchor];
|
|
646
592
|
if (!u)
|
|
647
|
-
throw new Error(`Anchor "${
|
|
648
|
-
if (!u.domain || u.domain[
|
|
593
|
+
throw new Error(`Anchor "${a.anchor}" not found for domain key "${s}"`);
|
|
594
|
+
if (!u.domain || u.domain[s] === void 0) {
|
|
649
595
|
if (!o)
|
|
650
|
-
throw new Error(`Domain key "${
|
|
596
|
+
throw new Error(`Domain key "${s}" not found in anchor "${a.anchor}"`);
|
|
651
597
|
continue;
|
|
652
598
|
}
|
|
653
|
-
i[
|
|
599
|
+
i[s] = u.domain[s];
|
|
654
600
|
}
|
|
655
|
-
|
|
601
|
+
t.domain = i;
|
|
656
602
|
}
|
|
657
|
-
return
|
|
603
|
+
return t.axes && (t.axes = t.axes.map((i) => Y(e, i))), t;
|
|
658
604
|
}
|
|
659
|
-
function
|
|
660
|
-
if (!
|
|
605
|
+
function Y(e, n) {
|
|
606
|
+
if (!Z(n))
|
|
661
607
|
return n;
|
|
662
|
-
const
|
|
663
|
-
if (!
|
|
664
|
-
throw new Error(`Anchor "${
|
|
608
|
+
const r = n.anchor, t = e[r];
|
|
609
|
+
if (!t)
|
|
610
|
+
throw new Error(`Anchor "${r}" not found for axis reference`);
|
|
665
611
|
if ("idx" in n) {
|
|
666
|
-
if (n.idx < 0 || n.idx >=
|
|
667
|
-
throw new Error(`Axis index ${n.idx} out of bounds for anchor "${
|
|
668
|
-
return
|
|
612
|
+
if (n.idx < 0 || n.idx >= t.axesSpec.length)
|
|
613
|
+
throw new Error(`Axis index ${n.idx} out of bounds for anchor "${r}"`);
|
|
614
|
+
return t.axesSpec[n.idx];
|
|
669
615
|
} else if ("name" in n) {
|
|
670
|
-
const o =
|
|
616
|
+
const o = t.axesSpec.filter((i) => i.name === n.name);
|
|
671
617
|
if (o.length > 1)
|
|
672
|
-
throw new Error(`Multiple axes with name "${n.name}" found in anchor "${
|
|
618
|
+
throw new Error(`Multiple axes with name "${n.name}" found in anchor "${r}"`);
|
|
673
619
|
if (o.length === 0)
|
|
674
|
-
throw new Error(`Axis with name "${n.name}" not found in anchor "${
|
|
620
|
+
throw new Error(`Axis with name "${n.name}" not found in anchor "${r}"`);
|
|
675
621
|
return o[0];
|
|
676
622
|
} else if ("id" in n) {
|
|
677
|
-
const o =
|
|
623
|
+
const o = t.axesSpec.filter((i) => X(n.id, h(i)));
|
|
678
624
|
if (o.length > 1)
|
|
679
|
-
throw new Error(`Multiple matching axes found for matcher in anchor "${
|
|
625
|
+
throw new Error(`Multiple matching axes found for matcher in anchor "${r}"`);
|
|
680
626
|
if (o.length === 0)
|
|
681
|
-
throw new Error(`No matching axis found for matcher in anchor "${
|
|
627
|
+
throw new Error(`No matching axis found for matcher in anchor "${r}"`);
|
|
682
628
|
return o[0];
|
|
683
629
|
}
|
|
684
630
|
throw new Error("Unsupported axis reference type");
|
|
685
631
|
}
|
|
686
|
-
function
|
|
632
|
+
function Z(e) {
|
|
687
633
|
return typeof e == "object" && "anchor" in e;
|
|
688
634
|
}
|
|
689
|
-
function
|
|
635
|
+
function qe(e) {
|
|
690
636
|
return typeof e == "object" && e !== null && "source" in e && "axisFilters" in e;
|
|
691
637
|
}
|
|
692
638
|
function l(e) {
|
|
693
639
|
return e.kind === "PColumn";
|
|
694
640
|
}
|
|
695
|
-
function
|
|
641
|
+
function ee(e) {
|
|
696
642
|
return l(e.spec);
|
|
697
643
|
}
|
|
698
|
-
function
|
|
644
|
+
function ze(e) {
|
|
699
645
|
return l(e.obj);
|
|
700
646
|
}
|
|
701
|
-
function
|
|
647
|
+
function He(e) {
|
|
702
648
|
return l(e.obj.spec);
|
|
703
649
|
}
|
|
704
|
-
function
|
|
705
|
-
if (!
|
|
650
|
+
function We(e) {
|
|
651
|
+
if (!ee(e)) throw new Error(`not a PColumn (kind = ${e.spec.kind})`);
|
|
706
652
|
return e;
|
|
707
653
|
}
|
|
708
|
-
function
|
|
654
|
+
function Ge(e, n) {
|
|
709
655
|
return e === void 0 ? void 0 : {
|
|
710
656
|
...e,
|
|
711
657
|
data: n(e.data)
|
|
712
658
|
};
|
|
713
659
|
}
|
|
714
|
-
function
|
|
715
|
-
const n = /* @__PURE__ */ new Map(),
|
|
716
|
-
switch (
|
|
660
|
+
function Xe(e) {
|
|
661
|
+
const n = /* @__PURE__ */ new Map(), r = (t) => {
|
|
662
|
+
switch (t.type) {
|
|
717
663
|
case "column":
|
|
718
|
-
n.set(
|
|
664
|
+
n.set(t.column.id, t.column);
|
|
719
665
|
return;
|
|
720
666
|
case "slicedColumn":
|
|
721
|
-
n.set(
|
|
667
|
+
n.set(t.column.id, t.column);
|
|
722
668
|
return;
|
|
723
669
|
case "inlineColumn":
|
|
724
670
|
return;
|
|
725
671
|
case "full":
|
|
726
672
|
case "inner":
|
|
727
|
-
for (const o of
|
|
673
|
+
for (const o of t.entries) r(o);
|
|
728
674
|
return;
|
|
729
675
|
case "outer":
|
|
730
|
-
t
|
|
731
|
-
for (const o of
|
|
676
|
+
r(t.primary);
|
|
677
|
+
for (const o of t.secondary) r(o);
|
|
732
678
|
return;
|
|
733
679
|
default:
|
|
734
|
-
|
|
680
|
+
g(t);
|
|
735
681
|
}
|
|
736
682
|
};
|
|
737
|
-
return
|
|
683
|
+
return r(e), [...n.values()];
|
|
738
684
|
}
|
|
739
|
-
function
|
|
685
|
+
function ne(e) {
|
|
740
686
|
throw new Error("Unexpected object: " + e);
|
|
741
687
|
}
|
|
742
|
-
function
|
|
688
|
+
function v(e, n) {
|
|
743
689
|
switch (e.type) {
|
|
744
690
|
case "and":
|
|
745
|
-
for (const
|
|
746
|
-
if (!
|
|
691
|
+
for (const r of e.operands)
|
|
692
|
+
if (!v(r, n)) return !1;
|
|
747
693
|
return !0;
|
|
748
694
|
case "or":
|
|
749
|
-
for (const
|
|
750
|
-
if (
|
|
695
|
+
for (const r of e.operands)
|
|
696
|
+
if (v(r, n)) return !0;
|
|
751
697
|
return !1;
|
|
752
698
|
case "not":
|
|
753
|
-
return !
|
|
699
|
+
return !v(e.operand, n);
|
|
754
700
|
case "name":
|
|
755
701
|
return l(n) && n.name === e.name;
|
|
756
702
|
case "name_pattern":
|
|
@@ -761,17 +707,17 @@ function w(e, n) {
|
|
|
761
707
|
return l(n) && n.annotations !== void 0 && n.annotations[e.annotation] !== void 0 && !!n.annotations[e.annotation].match(e.pattern);
|
|
762
708
|
case "has_axes":
|
|
763
709
|
return l(n) && e.axes.every(
|
|
764
|
-
(
|
|
765
|
-
(
|
|
766
|
-
([o, i]) =>
|
|
710
|
+
(r) => n.axesSpec.some(
|
|
711
|
+
(t) => (r.type === void 0 || r.type === t.type) && (r.name === void 0 || r.name === t.name) && (r.domain === void 0 || Object.keys(r.domain).length === 0 || t.domain !== void 0 && Object.entries(r.domain).every(
|
|
712
|
+
([o, i]) => t.domain[o] === i
|
|
767
713
|
))
|
|
768
714
|
)
|
|
769
715
|
);
|
|
770
716
|
default:
|
|
771
|
-
|
|
717
|
+
ne(e);
|
|
772
718
|
}
|
|
773
719
|
}
|
|
774
|
-
function
|
|
720
|
+
function P(e, n) {
|
|
775
721
|
if (e.name !== void 0 && e.name !== n.name)
|
|
776
722
|
return !1;
|
|
777
723
|
if (e.type !== void 0) {
|
|
@@ -782,14 +728,14 @@ function v(e, n) {
|
|
|
782
728
|
return !1;
|
|
783
729
|
}
|
|
784
730
|
if (e.domain !== void 0) {
|
|
785
|
-
const
|
|
786
|
-
for (const [
|
|
787
|
-
if (t
|
|
731
|
+
const r = n.domain || {};
|
|
732
|
+
for (const [t, o] of Object.entries(e.domain))
|
|
733
|
+
if (r[t] !== o)
|
|
788
734
|
return !1;
|
|
789
735
|
}
|
|
790
736
|
return !0;
|
|
791
737
|
}
|
|
792
|
-
function
|
|
738
|
+
function E(e, n) {
|
|
793
739
|
if (n.name !== void 0 && e.name !== n.name || n.namePattern !== void 0 && !new RegExp(n.namePattern).test(e.name))
|
|
794
740
|
return !1;
|
|
795
741
|
if (n.type !== void 0) {
|
|
@@ -800,52 +746,52 @@ function N(e, n) {
|
|
|
800
746
|
return !1;
|
|
801
747
|
}
|
|
802
748
|
if (n.domain !== void 0) {
|
|
803
|
-
const
|
|
804
|
-
for (const [
|
|
805
|
-
if (t
|
|
749
|
+
const r = e.domain || {};
|
|
750
|
+
for (const [t, o] of Object.entries(n.domain))
|
|
751
|
+
if (r[t] !== o)
|
|
806
752
|
return !1;
|
|
807
753
|
}
|
|
808
754
|
if (n.axes !== void 0) {
|
|
809
|
-
const
|
|
755
|
+
const r = e.axesSpec.map(h);
|
|
810
756
|
if (n.partialAxesMatch) {
|
|
811
|
-
for (const
|
|
812
|
-
if (!
|
|
757
|
+
for (const t of n.axes)
|
|
758
|
+
if (!r.some((o) => P(t, o)))
|
|
813
759
|
return !1;
|
|
814
760
|
} else {
|
|
815
|
-
if (
|
|
761
|
+
if (r.length !== n.axes.length)
|
|
816
762
|
return !1;
|
|
817
|
-
for (let
|
|
818
|
-
if (!
|
|
763
|
+
for (let t = 0; t < n.axes.length; t++)
|
|
764
|
+
if (!P(n.axes[t], r[t]))
|
|
819
765
|
return !1;
|
|
820
766
|
}
|
|
821
767
|
}
|
|
822
768
|
if (n.annotations !== void 0) {
|
|
823
|
-
const
|
|
824
|
-
for (const [
|
|
825
|
-
if (t
|
|
769
|
+
const r = e.annotations || {};
|
|
770
|
+
for (const [t, o] of Object.entries(n.annotations))
|
|
771
|
+
if (r[t] !== o)
|
|
826
772
|
return !1;
|
|
827
773
|
}
|
|
828
774
|
if (n.annotationPatterns !== void 0) {
|
|
829
|
-
const
|
|
830
|
-
for (const [
|
|
831
|
-
const i = t
|
|
775
|
+
const r = e.annotations || {};
|
|
776
|
+
for (const [t, o] of Object.entries(n.annotationPatterns)) {
|
|
777
|
+
const i = r[t];
|
|
832
778
|
if (i === void 0 || !new RegExp(o).test(i))
|
|
833
779
|
return !1;
|
|
834
780
|
}
|
|
835
781
|
}
|
|
836
782
|
return !0;
|
|
837
783
|
}
|
|
838
|
-
function
|
|
839
|
-
return Array.isArray(e) ? (n) => e.some((
|
|
784
|
+
function Qe(e) {
|
|
785
|
+
return Array.isArray(e) ? (n) => e.some((r) => l(n) && E(n, r)) : (n) => l(n) && E(n, e);
|
|
840
786
|
}
|
|
841
|
-
function
|
|
787
|
+
function Ye(e) {
|
|
842
788
|
const n = {
|
|
843
789
|
kind: e.kind,
|
|
844
790
|
name: e.name
|
|
845
791
|
};
|
|
846
|
-
return e.domain !== void 0 && (n.domain = e.domain), l(e) && (n.axesSpec =
|
|
792
|
+
return e.domain !== void 0 && (n.domain = e.domain), l(e) && (n.axesSpec = I(e.axesSpec)), y(n);
|
|
847
793
|
}
|
|
848
|
-
const
|
|
794
|
+
const Ze = { href: "/" }, en = m.object({
|
|
849
795
|
__isRef: m.literal(!0).describe("Crucial marker for the block dependency tree reconstruction"),
|
|
850
796
|
blockId: m.string().describe("Upstream block id"),
|
|
851
797
|
name: m.string().describe("Name of the output provided to the upstream block's output context"),
|
|
@@ -853,11 +799,11 @@ const sn = { href: "/" }, an = m.object({
|
|
|
853
799
|
}).describe(
|
|
854
800
|
"Universal reference type, allowing to set block connections. It is crucial that {@link __isRef} is present and equal to true, internal logic relies on this marker to build block dependency trees."
|
|
855
801
|
).readonly();
|
|
856
|
-
function
|
|
802
|
+
function nn(e) {
|
|
857
803
|
return typeof e == "object" && e !== null && "__isRef" in e && e.__isRef === !0 && "blockId" in e && "name" in e;
|
|
858
804
|
}
|
|
859
|
-
function
|
|
860
|
-
return
|
|
805
|
+
function rn(e, n, r = !1) {
|
|
806
|
+
return r ? {
|
|
861
807
|
__isRef: !0,
|
|
862
808
|
blockId: e,
|
|
863
809
|
name: n,
|
|
@@ -868,24 +814,24 @@ function cn(e, n, t = !1) {
|
|
|
868
814
|
name: n
|
|
869
815
|
};
|
|
870
816
|
}
|
|
871
|
-
function
|
|
817
|
+
function tn(e, n = !0) {
|
|
872
818
|
if (n)
|
|
873
819
|
return {
|
|
874
820
|
...e,
|
|
875
821
|
requireEnrichments: !0
|
|
876
822
|
};
|
|
877
823
|
{
|
|
878
|
-
const { requireEnrichments:
|
|
879
|
-
return
|
|
824
|
+
const { requireEnrichments: r, ...t } = e;
|
|
825
|
+
return t;
|
|
880
826
|
}
|
|
881
827
|
}
|
|
882
|
-
function
|
|
883
|
-
return e.blockId === n.blockId && e.name === n.name && (
|
|
828
|
+
function on(e, n, r = !1) {
|
|
829
|
+
return e.blockId === n.blockId && e.name === n.name && (r || e.requireEnrichments === n.requireEnrichments);
|
|
884
830
|
}
|
|
885
|
-
function
|
|
831
|
+
function an(e, n) {
|
|
886
832
|
return e.ok ? { ok: !0, value: n(e.value) } : e;
|
|
887
833
|
}
|
|
888
|
-
function
|
|
834
|
+
function re(e) {
|
|
889
835
|
if (e instanceof Int8Array || e instanceof Uint8Array || e instanceof Uint8ClampedArray)
|
|
890
836
|
return new DataView(e.buffer, e.byteOffset, e.byteLength);
|
|
891
837
|
if (e instanceof ArrayBuffer) return new DataView(e);
|
|
@@ -893,96 +839,96 @@ function ae(e) {
|
|
|
893
839
|
"Expected `data` to be an ArrayBuffer, Buffer, Int8Array, Uint8Array or Uint8ClampedArray"
|
|
894
840
|
);
|
|
895
841
|
}
|
|
896
|
-
const
|
|
897
|
-
function
|
|
898
|
-
|
|
899
|
-
let
|
|
842
|
+
const te = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567", oe = "0123456789ABCDEFGHIJKLMNOPQRSTUV", ie = "0123456789ABCDEFGHJKMNPQRSTVWXYZ";
|
|
843
|
+
function J(e, n, r) {
|
|
844
|
+
r = r || {};
|
|
845
|
+
let t, o;
|
|
900
846
|
switch (n) {
|
|
901
847
|
case "RFC3548":
|
|
902
848
|
case "RFC4648":
|
|
903
|
-
|
|
849
|
+
t = te, o = !0;
|
|
904
850
|
break;
|
|
905
851
|
case "RFC4648-HEX":
|
|
906
|
-
|
|
852
|
+
t = oe, o = !0;
|
|
907
853
|
break;
|
|
908
854
|
case "Crockford":
|
|
909
|
-
|
|
855
|
+
t = ie, o = !1;
|
|
910
856
|
break;
|
|
911
857
|
default:
|
|
912
858
|
throw new Error("Unknown base32 variant: " + String(n));
|
|
913
859
|
}
|
|
914
|
-
const i =
|
|
915
|
-
let
|
|
916
|
-
for (let f = 0; f <
|
|
917
|
-
for (u = u << 8 |
|
|
918
|
-
c +=
|
|
919
|
-
if (
|
|
860
|
+
const i = r.padding !== void 0 ? r.padding : o, s = re(e);
|
|
861
|
+
let a = 0, u = 0, c = "";
|
|
862
|
+
for (let f = 0; f < s.byteLength; f++)
|
|
863
|
+
for (u = u << 8 | s.getUint8(f), a += 8; a >= 5; )
|
|
864
|
+
c += t[u >>> a - 5 & 31], a -= 5;
|
|
865
|
+
if (a > 0 && (c += t[u << 5 - a & 31]), i)
|
|
920
866
|
for (; c.length % 8 !== 0; )
|
|
921
867
|
c += "=";
|
|
922
868
|
return c;
|
|
923
869
|
}
|
|
924
|
-
const
|
|
925
|
-
function
|
|
926
|
-
const e = new Uint8Array(
|
|
927
|
-
return crypto.getRandomValues(e),
|
|
870
|
+
const N = 15, ae = 24, R = m.string().length(ae).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
|
|
871
|
+
function sn() {
|
|
872
|
+
const e = new Uint8Array(N);
|
|
873
|
+
return crypto.getRandomValues(e), R.parse(J(e, "RFC4648"));
|
|
928
874
|
}
|
|
929
|
-
function
|
|
930
|
-
if (e.length !==
|
|
931
|
-
return
|
|
875
|
+
function se(e) {
|
|
876
|
+
if (e.length !== N) throw new Error(`Wrong number of bytes: ${e.length}`);
|
|
877
|
+
return R.parse(J(e, "RFC4648"));
|
|
932
878
|
}
|
|
933
|
-
async function
|
|
934
|
-
const n = new TextEncoder(),
|
|
935
|
-
return
|
|
879
|
+
async function un(e) {
|
|
880
|
+
const n = new TextEncoder(), r = await crypto.subtle.digest("SHA-256", n.encode(e));
|
|
881
|
+
return se(new Uint8Array(r.slice(0, 15)));
|
|
936
882
|
}
|
|
937
|
-
function
|
|
883
|
+
function cn(e) {
|
|
938
884
|
return JSON.stringify(e);
|
|
939
885
|
}
|
|
940
|
-
function
|
|
941
|
-
return
|
|
886
|
+
function fn(e) {
|
|
887
|
+
return y(e);
|
|
942
888
|
}
|
|
943
|
-
function
|
|
889
|
+
function dn(e) {
|
|
944
890
|
return JSON.parse(e);
|
|
945
891
|
}
|
|
946
|
-
class
|
|
892
|
+
class ln extends Error {
|
|
947
893
|
constructor() {
|
|
948
894
|
super(...arguments);
|
|
949
895
|
d(this, "name", "AbortError");
|
|
950
896
|
}
|
|
951
897
|
}
|
|
952
|
-
class
|
|
898
|
+
class mn extends Error {
|
|
953
899
|
constructor() {
|
|
954
900
|
super(...arguments);
|
|
955
901
|
d(this, "name", "UiError");
|
|
956
902
|
}
|
|
957
903
|
}
|
|
958
|
-
function
|
|
904
|
+
function pn(e) {
|
|
959
905
|
return e instanceof Error && e.name === "AbortError";
|
|
960
906
|
}
|
|
961
|
-
function
|
|
962
|
-
return e instanceof Error ? e.name === "AbortError" ||
|
|
907
|
+
function ue(e) {
|
|
908
|
+
return e instanceof Error ? e.name === "AbortError" || ue(e.cause) : !1;
|
|
963
909
|
}
|
|
964
|
-
function
|
|
910
|
+
function hn(e) {
|
|
965
911
|
return e instanceof Error && e.name === "AggregateError";
|
|
966
912
|
}
|
|
967
|
-
class
|
|
913
|
+
class ce extends Error {
|
|
968
914
|
constructor() {
|
|
969
915
|
super(...arguments);
|
|
970
916
|
d(this, "name", "PFrameError");
|
|
971
917
|
}
|
|
972
918
|
}
|
|
973
|
-
function
|
|
919
|
+
function yn(e) {
|
|
974
920
|
return e instanceof Error && e.name === "PFrameError";
|
|
975
921
|
}
|
|
976
|
-
class
|
|
922
|
+
class bn extends ce {
|
|
977
923
|
constructor() {
|
|
978
924
|
super(...arguments);
|
|
979
925
|
d(this, "name", "PFrameError.Driver");
|
|
980
926
|
}
|
|
981
927
|
}
|
|
982
|
-
function
|
|
928
|
+
function vn(e) {
|
|
983
929
|
return e instanceof Error && e.name === "PFrameError.Driver";
|
|
984
930
|
}
|
|
985
|
-
function
|
|
931
|
+
function fe(e) {
|
|
986
932
|
if (typeof e == "string")
|
|
987
933
|
return `String value was thrown: ${e}`;
|
|
988
934
|
if (e && typeof e == "object")
|
|
@@ -993,73 +939,73 @@ function ye(e) {
|
|
|
993
939
|
}
|
|
994
940
|
return `Non-Error value (${typeof e}) was thrown: ${e}`;
|
|
995
941
|
}
|
|
996
|
-
function
|
|
997
|
-
return e instanceof Error ? e : new Error(
|
|
942
|
+
function w(e) {
|
|
943
|
+
return e instanceof Error ? e : new Error(fe(e));
|
|
998
944
|
}
|
|
999
|
-
function
|
|
1000
|
-
const n = e.cause ?
|
|
1001
|
-
return
|
|
945
|
+
function k(e) {
|
|
946
|
+
const n = e.cause ? k(e.cause) : void 0, r = new Error(e.message, n !== void 0 ? { cause: n } : void 0);
|
|
947
|
+
return r.name = e.name || "Error", r.stack = e.stack, r;
|
|
1002
948
|
}
|
|
1003
|
-
function
|
|
1004
|
-
const n =
|
|
949
|
+
function $(e) {
|
|
950
|
+
const n = w(e), r = n.cause ? $(n.cause) : void 0;
|
|
1005
951
|
return {
|
|
1006
952
|
name: n.name,
|
|
1007
953
|
message: n.message,
|
|
1008
954
|
stack: n.stack,
|
|
1009
|
-
...n.cause !== void 0 && { cause:
|
|
955
|
+
...n.cause !== void 0 && { cause: r }
|
|
1010
956
|
};
|
|
1011
957
|
}
|
|
1012
|
-
function
|
|
958
|
+
function gn(e) {
|
|
1013
959
|
if (e.error)
|
|
1014
|
-
throw e.error instanceof Error ? e.error :
|
|
960
|
+
throw e.error instanceof Error ? e.error : k(e.error);
|
|
1015
961
|
return e.value;
|
|
1016
962
|
}
|
|
1017
|
-
function
|
|
1018
|
-
return e.error ? { error:
|
|
963
|
+
function D(e) {
|
|
964
|
+
return e.error ? { error: $(e.error) } : { value: e.value };
|
|
1019
965
|
}
|
|
1020
|
-
function
|
|
1021
|
-
return e.error ? { error:
|
|
966
|
+
function wn(e) {
|
|
967
|
+
return e.error ? { error: k(e.error) } : { value: e.value };
|
|
1022
968
|
}
|
|
1023
|
-
function
|
|
969
|
+
function de(e) {
|
|
1024
970
|
try {
|
|
1025
971
|
return { value: e() };
|
|
1026
972
|
} catch (n) {
|
|
1027
|
-
return { error:
|
|
973
|
+
return { error: w(n) };
|
|
1028
974
|
}
|
|
1029
975
|
}
|
|
1030
|
-
async function
|
|
976
|
+
async function le(e) {
|
|
1031
977
|
try {
|
|
1032
978
|
return { value: await e() };
|
|
1033
979
|
} catch (n) {
|
|
1034
|
-
return { error:
|
|
980
|
+
return { error: w(n) };
|
|
1035
981
|
}
|
|
1036
982
|
}
|
|
1037
|
-
function
|
|
1038
|
-
const n =
|
|
1039
|
-
return
|
|
983
|
+
function kn(e) {
|
|
984
|
+
const n = de(e);
|
|
985
|
+
return D(n);
|
|
1040
986
|
}
|
|
1041
|
-
async function
|
|
1042
|
-
const n = await
|
|
1043
|
-
return
|
|
987
|
+
async function An(e) {
|
|
988
|
+
const n = await le(e);
|
|
989
|
+
return D(n);
|
|
1044
990
|
}
|
|
1045
|
-
const
|
|
1046
|
-
function
|
|
1047
|
-
return e === void 0 ? !1 : e[n] ===
|
|
991
|
+
const xn = ["supportsLazyState"], Pn = ["requiresUIAPIVersion", "requiresModelAPIVersion"];
|
|
992
|
+
function En(e, n, r = !0) {
|
|
993
|
+
return e === void 0 ? !1 : e[n] === r;
|
|
1048
994
|
}
|
|
1049
|
-
function
|
|
1050
|
-
return e === void 0 ? /* @__PURE__ */ new Set() : new Set(Object.entries(e).filter(([n,
|
|
995
|
+
function Sn(e) {
|
|
996
|
+
return e === void 0 ? /* @__PURE__ */ new Set() : new Set(Object.entries(e).filter(([n, r]) => n.startsWith("requires") && r === !0).map(([n]) => n));
|
|
1051
997
|
}
|
|
1052
|
-
function
|
|
1053
|
-
return e === void 0 ? /* @__PURE__ */ new Set() : new Set(Object.entries(e).filter(([n,
|
|
998
|
+
function On(e) {
|
|
999
|
+
return e === void 0 ? /* @__PURE__ */ new Set() : new Set(Object.entries(e).filter(([n, r]) => n.startsWith("supports") && r === !0).map(([n]) => n));
|
|
1054
1000
|
}
|
|
1055
|
-
class
|
|
1056
|
-
constructor(
|
|
1057
|
-
super(`Some of the block requirements are not supported by the runtime: ${Array.from(
|
|
1001
|
+
class me extends Error {
|
|
1002
|
+
constructor(r) {
|
|
1003
|
+
super(`Some of the block requirements are not supported by the runtime: ${Array.from(r.entries()).map(([t, o]) => `${t}: ${o}`).join(", ")}`);
|
|
1058
1004
|
d(this, "name", "IncompatibleFlagsError");
|
|
1059
|
-
this.incompatibleFlags =
|
|
1005
|
+
this.incompatibleFlags = r;
|
|
1060
1006
|
}
|
|
1061
1007
|
}
|
|
1062
|
-
class
|
|
1008
|
+
class Cn {
|
|
1063
1009
|
constructor() {
|
|
1064
1010
|
d(this, "supportedRequirements", /* @__PURE__ */ new Map());
|
|
1065
1011
|
}
|
|
@@ -1068,8 +1014,8 @@ class In {
|
|
|
1068
1014
|
* @param requirement - The requirement.
|
|
1069
1015
|
* @param value - The value of the requirement. If not provided, defaults to true.
|
|
1070
1016
|
*/
|
|
1071
|
-
addSupportedRequirement(n,
|
|
1072
|
-
return this.supportedRequirements.has(n) || this.supportedRequirements.set(n, /* @__PURE__ */ new Set()), this.supportedRequirements.get(n).add(
|
|
1017
|
+
addSupportedRequirement(n, r = !0) {
|
|
1018
|
+
return this.supportedRequirements.has(n) || this.supportedRequirements.set(n, /* @__PURE__ */ new Set()), this.supportedRequirements.get(n).add(r), this;
|
|
1073
1019
|
}
|
|
1074
1020
|
/**
|
|
1075
1021
|
* Returns a map of incompatible flags. If the block flags are compatible, returns undefined.
|
|
@@ -1078,14 +1024,14 @@ class In {
|
|
|
1078
1024
|
*/
|
|
1079
1025
|
getIncompatibleFlags(n) {
|
|
1080
1026
|
if (n === void 0) return;
|
|
1081
|
-
const
|
|
1082
|
-
for (const [
|
|
1083
|
-
if (
|
|
1027
|
+
const r = /* @__PURE__ */ new Map();
|
|
1028
|
+
for (const [t, o] of Object.entries(n))
|
|
1029
|
+
if (t.startsWith("requires")) {
|
|
1084
1030
|
if (o === void 0) continue;
|
|
1085
|
-
const i = this.supportedRequirements.get(
|
|
1086
|
-
(i === void 0 || !i.has(o)) &&
|
|
1031
|
+
const i = this.supportedRequirements.get(t);
|
|
1032
|
+
(i === void 0 || !i.has(o)) && r.set(t, o);
|
|
1087
1033
|
}
|
|
1088
|
-
return
|
|
1034
|
+
return r.size === 0 ? void 0 : r;
|
|
1089
1035
|
}
|
|
1090
1036
|
/**
|
|
1091
1037
|
* Checks if the block flags are compatible with the runtime capabilities.
|
|
@@ -1101,116 +1047,106 @@ class In {
|
|
|
1101
1047
|
* @throws IncompatibleFlagsError if the block flags are incompatible with the runtime capabilities.
|
|
1102
1048
|
*/
|
|
1103
1049
|
throwIfIncompatible(n) {
|
|
1104
|
-
const
|
|
1105
|
-
if (
|
|
1106
|
-
throw new
|
|
1050
|
+
const r = this.getIncompatibleFlags(n);
|
|
1051
|
+
if (r !== void 0)
|
|
1052
|
+
throw new me(r);
|
|
1107
1053
|
}
|
|
1108
1054
|
}
|
|
1109
1055
|
export {
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
V as PlIdBytes,
|
|
1128
|
-
de as PlIdLength,
|
|
1129
|
-
an as PlRef,
|
|
1130
|
-
xe as RangeBytes,
|
|
1131
|
-
In as RuntimeCapabilities,
|
|
1132
|
-
wn as UiError,
|
|
1056
|
+
ln as AbortError,
|
|
1057
|
+
Pn as AllRequiresFeatureFlags,
|
|
1058
|
+
xn as AllSupportsFeatureFlags,
|
|
1059
|
+
Me as AnchoredIdDeriver,
|
|
1060
|
+
Ze as DefaultNavigationState,
|
|
1061
|
+
me as IncompatibleFlagsError,
|
|
1062
|
+
bn as PFrameDriverError,
|
|
1063
|
+
ce as PFrameError,
|
|
1064
|
+
H as PTableAbsent,
|
|
1065
|
+
F as PTableNA,
|
|
1066
|
+
R as PlId,
|
|
1067
|
+
N as PlIdBytes,
|
|
1068
|
+
ae as PlIdLength,
|
|
1069
|
+
en as PlRef,
|
|
1070
|
+
ke as RangeBytes,
|
|
1071
|
+
Cn as RuntimeCapabilities,
|
|
1072
|
+
mn as UiError,
|
|
1133
1073
|
Te as canonicalizeAxisId,
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1074
|
+
fn as canonicalizeJson,
|
|
1075
|
+
En as checkBlockFlag,
|
|
1076
|
+
rn as createPlRef,
|
|
1137
1077
|
je as dataInfoToEntries,
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
en as ensurePColumn,
|
|
1078
|
+
Ye as deriveNativeId,
|
|
1079
|
+
k as deserializeError,
|
|
1080
|
+
wn as deserializeResult,
|
|
1081
|
+
un as digestPlId,
|
|
1082
|
+
w as ensureError,
|
|
1083
|
+
We as ensurePColumn,
|
|
1145
1084
|
Ie as entriesToDataInfo,
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1085
|
+
v as executePSpecPredicate,
|
|
1086
|
+
Xe as extractAllColumns,
|
|
1087
|
+
Sn as extractAllRequirements,
|
|
1088
|
+
On as extractAllSupports,
|
|
1089
|
+
be as extractCodeWithInfo,
|
|
1090
|
+
ve as extractConfigGeneric,
|
|
1091
|
+
I as getAxesId,
|
|
1092
|
+
h as getAxisId,
|
|
1093
|
+
Ve as getColumnIdAndSpec,
|
|
1094
|
+
Ee as getFileNameFromHandle,
|
|
1156
1095
|
K as getFilePathFromHandle,
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1096
|
+
Le as getPColumnSpecId,
|
|
1097
|
+
Ue as getPTableColumnId,
|
|
1098
|
+
ue as hasAbortError,
|
|
1099
|
+
pn as isAbortError,
|
|
1100
|
+
hn as isAggregateError,
|
|
1101
|
+
we as isBlockUIURL,
|
|
1102
|
+
Se as isDataInfo,
|
|
1163
1103
|
_ as isDataInfoEntries,
|
|
1164
|
-
|
|
1104
|
+
qe as isFilteredPColumn,
|
|
1105
|
+
ge as isFolderURL,
|
|
1165
1106
|
U as isImportFileHandleIndex,
|
|
1166
1107
|
B as isImportFileHandleUpload,
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
Ze as isPColumnResult,
|
|
1108
|
+
Pe as isLiveLog,
|
|
1109
|
+
ee as isPColumn,
|
|
1110
|
+
He as isPColumnResult,
|
|
1171
1111
|
l as isPColumnSpec,
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
W as
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
Fe as mapDataInfo,
|
|
1112
|
+
ze as isPColumnSpecResult,
|
|
1113
|
+
vn as isPFrameDriverError,
|
|
1114
|
+
yn as isPFrameError,
|
|
1115
|
+
Ne as isPTableAbsent,
|
|
1116
|
+
W as isPTableNA,
|
|
1117
|
+
Re as isPTableValueAxis,
|
|
1118
|
+
Fe as isPartitionedDataInfoEntries,
|
|
1119
|
+
nn as isPlRef,
|
|
1120
|
+
Oe as mapDataInfo,
|
|
1182
1121
|
Je as mapDataInfoEntries,
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
On as wrapAndSerializeAsync,
|
|
1213
|
-
ge as wrapAsyncCallback,
|
|
1214
|
-
he as wrapCallback
|
|
1122
|
+
b as mapJoinEntry,
|
|
1123
|
+
Ge as mapPObjectData,
|
|
1124
|
+
Be as mapPTableDef,
|
|
1125
|
+
an as mapValueInVOE,
|
|
1126
|
+
P as matchAxis,
|
|
1127
|
+
X as matchAxisId,
|
|
1128
|
+
E as matchPColumn,
|
|
1129
|
+
Ae as newRangeBytesOpt,
|
|
1130
|
+
$e as pTableValue,
|
|
1131
|
+
De as pTableValueBranded,
|
|
1132
|
+
Ke as parseColumnId,
|
|
1133
|
+
dn as parseJson,
|
|
1134
|
+
se as plId,
|
|
1135
|
+
on as plRefsEqual,
|
|
1136
|
+
_e as resolveAnchors,
|
|
1137
|
+
Qe as selectorsToPredicate,
|
|
1138
|
+
$ as serializeError,
|
|
1139
|
+
D as serializeResult,
|
|
1140
|
+
Q as stringifyColumnId,
|
|
1141
|
+
cn as stringifyJson,
|
|
1142
|
+
sn as uniquePlId,
|
|
1143
|
+
gn as unwrapResult,
|
|
1144
|
+
xe as validateRangeBytes,
|
|
1145
|
+
Ce as visitDataInfo,
|
|
1146
|
+
tn as withEnrichments,
|
|
1147
|
+
kn as wrapAndSerialize,
|
|
1148
|
+
An as wrapAndSerializeAsync,
|
|
1149
|
+
le as wrapAsyncCallback,
|
|
1150
|
+
de as wrapCallback
|
|
1215
1151
|
};
|
|
1216
1152
|
//# sourceMappingURL=index.mjs.map
|