@milaboratories/milaboratories.pool-explorer.model 1.0.47 → 1.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +9 -9
- package/CHANGELOG.md +6 -0
- package/dist/bundle.js +121 -100
- package/dist/bundle.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +4 -4
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @milaboratories/milaboratories.pool-explorer.model@1.0.
|
|
3
|
+
> @milaboratories/milaboratories.pool-explorer.model@1.0.48 build /home/runner/_work/platforma/platforma/etc/blocks/pool-explorer/model
|
|
4
4
|
> tsup && vite build && block-tools build-model
|
|
5
5
|
|
|
6
6
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -13,19 +13,19 @@
|
|
|
13
13
|
[34mESM[39m Build start
|
|
14
14
|
[32mCJS[39m [1mdist/index.cjs [22m[32m436.00 B[39m
|
|
15
15
|
[32mCJS[39m [1mdist/index.cjs.map [22m[32m1013.00 B[39m
|
|
16
|
-
[32mCJS[39m ⚡️ Build success in
|
|
16
|
+
[32mCJS[39m ⚡️ Build success in 119ms
|
|
17
17
|
[32mESM[39m [1mdist/index.js [22m[32m410.00 B[39m
|
|
18
18
|
[32mESM[39m [1mdist/index.js.map [22m[32m996.00 B[39m
|
|
19
|
-
[32mESM[39m ⚡️ Build success in
|
|
19
|
+
[32mESM[39m ⚡️ Build success in 119ms
|
|
20
20
|
[34mDTS[39m Build start
|
|
21
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
+
[32mDTS[39m ⚡️ Build success in 3195ms
|
|
22
22
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m1.14 KB[39m
|
|
23
23
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.14 KB[39m
|
|
24
|
-
[36mvite
|
|
24
|
+
[36mvite v6.3.5 [32mbuilding for production...[36m[39m
|
|
25
25
|
transforming...
|
|
26
|
-
[32m✓[39m
|
|
26
|
+
[32m✓[39m 11 modules transformed.
|
|
27
27
|
rendering chunks...
|
|
28
28
|
computing gzip size...
|
|
29
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m178.
|
|
30
|
-
[2mdist/[22m[36mbundle.js [39m[1m[
|
|
31
|
-
[32m✓ built in
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m178.92 kB[22m[1m[22m[2m │ gzip: 34.32 kB[22m[2m │ map: 389.54 kB[22m
|
|
30
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m191.19 kB[22m[1m[22m[2m │ gzip: 34.92 kB[22m[2m │ map: 391.01 kB[22m
|
|
31
|
+
[32m✓ built in 2.64s[39m
|
package/CHANGELOG.md
CHANGED
package/dist/bundle.js
CHANGED
|
@@ -2,40 +2,6 @@
|
|
|
2
2
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.model = {}));
|
|
3
3
|
})(this, function(exports2) {
|
|
4
4
|
"use strict";
|
|
5
|
-
function getDefaultExportFromCjs(x2) {
|
|
6
|
-
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
7
|
-
}
|
|
8
|
-
var canonicalize = function serialize(object) {
|
|
9
|
-
if (typeof object === "number" && isNaN(object)) {
|
|
10
|
-
throw new Error("NaN is not allowed");
|
|
11
|
-
}
|
|
12
|
-
if (typeof object === "number" && !isFinite(object)) {
|
|
13
|
-
throw new Error("Infinity is not allowed");
|
|
14
|
-
}
|
|
15
|
-
if (object === null || typeof object !== "object") {
|
|
16
|
-
return JSON.stringify(object);
|
|
17
|
-
}
|
|
18
|
-
if (object.toJSON instanceof Function) {
|
|
19
|
-
return serialize(object.toJSON());
|
|
20
|
-
}
|
|
21
|
-
if (Array.isArray(object)) {
|
|
22
|
-
const values2 = object.reduce((t, cv, ci) => {
|
|
23
|
-
const comma = ci === 0 ? "" : ",";
|
|
24
|
-
const value = cv === void 0 || typeof cv === "symbol" ? null : cv;
|
|
25
|
-
return `${t}${comma}${serialize(value)}`;
|
|
26
|
-
}, "");
|
|
27
|
-
return `[${values2}]`;
|
|
28
|
-
}
|
|
29
|
-
const values = Object.keys(object).sort().reduce((t, cv) => {
|
|
30
|
-
if (object[cv] === void 0 || typeof object[cv] === "symbol") {
|
|
31
|
-
return t;
|
|
32
|
-
}
|
|
33
|
-
const comma = t.length === 0 ? "" : ",";
|
|
34
|
-
return `${t}${comma}${serialize(cv)}:${serialize(object[cv])}`;
|
|
35
|
-
}, "");
|
|
36
|
-
return `{${values}}`;
|
|
37
|
-
};
|
|
38
|
-
const ke = /* @__PURE__ */ getDefaultExportFromCjs(canonicalize);
|
|
39
5
|
var util;
|
|
40
6
|
(function(util2) {
|
|
41
7
|
util2.assertEqual = (val) => val;
|
|
@@ -493,11 +459,11 @@
|
|
|
493
459
|
const isValid = (x2) => x2.status === "valid";
|
|
494
460
|
const isAsync = (x2) => typeof Promise !== "undefined" && x2 instanceof Promise;
|
|
495
461
|
function __classPrivateFieldGet(receiver, state, kind, f2) {
|
|
496
|
-
if (typeof state === "function" ? receiver !== state ||
|
|
462
|
+
if (typeof state === "function" ? receiver !== state || true : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
497
463
|
return state.get(receiver);
|
|
498
464
|
}
|
|
499
465
|
function __classPrivateFieldSet(receiver, state, value, kind, f2) {
|
|
500
|
-
if (typeof state === "function" ? receiver !== state ||
|
|
466
|
+
if (typeof state === "function" ? receiver !== state || true : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
501
467
|
return state.set(receiver, value), value;
|
|
502
468
|
}
|
|
503
469
|
typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
|
|
@@ -3948,13 +3914,61 @@
|
|
|
3948
3914
|
quotelessJson,
|
|
3949
3915
|
ZodError
|
|
3950
3916
|
});
|
|
3917
|
+
function getDefaultExportFromCjs(x2) {
|
|
3918
|
+
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
3919
|
+
}
|
|
3920
|
+
var canonicalize;
|
|
3921
|
+
var hasRequiredCanonicalize;
|
|
3922
|
+
function requireCanonicalize() {
|
|
3923
|
+
if (hasRequiredCanonicalize) return canonicalize;
|
|
3924
|
+
hasRequiredCanonicalize = 1;
|
|
3925
|
+
canonicalize = function serialize(object) {
|
|
3926
|
+
if (typeof object === "number" && isNaN(object)) {
|
|
3927
|
+
throw new Error("NaN is not allowed");
|
|
3928
|
+
}
|
|
3929
|
+
if (typeof object === "number" && !isFinite(object)) {
|
|
3930
|
+
throw new Error("Infinity is not allowed");
|
|
3931
|
+
}
|
|
3932
|
+
if (object === null || typeof object !== "object") {
|
|
3933
|
+
return JSON.stringify(object);
|
|
3934
|
+
}
|
|
3935
|
+
if (object.toJSON instanceof Function) {
|
|
3936
|
+
return serialize(object.toJSON());
|
|
3937
|
+
}
|
|
3938
|
+
if (Array.isArray(object)) {
|
|
3939
|
+
const values2 = object.reduce((t, cv, ci) => {
|
|
3940
|
+
const comma = ci === 0 ? "" : ",";
|
|
3941
|
+
const value = cv === void 0 || typeof cv === "symbol" ? null : cv;
|
|
3942
|
+
return `${t}${comma}${serialize(value)}`;
|
|
3943
|
+
}, "");
|
|
3944
|
+
return `[${values2}]`;
|
|
3945
|
+
}
|
|
3946
|
+
const values = Object.keys(object).sort().reduce((t, cv) => {
|
|
3947
|
+
if (object[cv] === void 0 || typeof object[cv] === "symbol") {
|
|
3948
|
+
return t;
|
|
3949
|
+
}
|
|
3950
|
+
const comma = t.length === 0 ? "" : ",";
|
|
3951
|
+
return `${t}${comma}${serialize(cv)}:${serialize(object[cv])}`;
|
|
3952
|
+
}, "");
|
|
3953
|
+
return `{${values}}`;
|
|
3954
|
+
};
|
|
3955
|
+
return canonicalize;
|
|
3956
|
+
}
|
|
3957
|
+
var canonicalizeExports = requireCanonicalize();
|
|
3958
|
+
const ke = /* @__PURE__ */ getDefaultExportFromCjs(canonicalizeExports);
|
|
3951
3959
|
var I$1 = Object.defineProperty;
|
|
3952
3960
|
var D = (n2, e, t) => e in n2 ? I$1(n2, e, { enumerable: true, configurable: true, writable: true, value: t }) : n2[e] = t;
|
|
3953
3961
|
var l$1 = (n2, e, t) => D(n2, typeof e != "symbol" ? e + "" : e, t);
|
|
3962
|
+
z$2.object({
|
|
3963
|
+
/** Included left border. */
|
|
3964
|
+
from: z$2.number(),
|
|
3965
|
+
/** Excluded right border. */
|
|
3966
|
+
to: z$2.number()
|
|
3967
|
+
});
|
|
3954
3968
|
function w(n2) {
|
|
3955
3969
|
throw new Error("Unexpected object: " + n2);
|
|
3956
3970
|
}
|
|
3957
|
-
function
|
|
3971
|
+
function hn(n2) {
|
|
3958
3972
|
if (!n2 || typeof n2 != "object")
|
|
3959
3973
|
return false;
|
|
3960
3974
|
const e = n2;
|
|
@@ -3971,7 +3985,7 @@
|
|
|
3971
3985
|
return false;
|
|
3972
3986
|
}
|
|
3973
3987
|
}
|
|
3974
|
-
function
|
|
3988
|
+
function gn(n2, e) {
|
|
3975
3989
|
if (n2 !== void 0)
|
|
3976
3990
|
switch (n2.type) {
|
|
3977
3991
|
case "Json":
|
|
@@ -4016,10 +4030,10 @@
|
|
|
4016
4030
|
return false;
|
|
4017
4031
|
}
|
|
4018
4032
|
}
|
|
4019
|
-
function
|
|
4033
|
+
function bn(n2) {
|
|
4020
4034
|
return F$1(n2) ? n2.type === "JsonPartitioned" || n2.type === "BinaryPartitioned" : false;
|
|
4021
4035
|
}
|
|
4022
|
-
function
|
|
4036
|
+
function wn(n2) {
|
|
4023
4037
|
switch (n2.type) {
|
|
4024
4038
|
case "Json": {
|
|
4025
4039
|
const e = Object.entries(n2.data).map(([t, r]) => ({ key: JSON.parse(t), value: r }));
|
|
@@ -4047,7 +4061,7 @@
|
|
|
4047
4061
|
}
|
|
4048
4062
|
}
|
|
4049
4063
|
}
|
|
4050
|
-
function
|
|
4064
|
+
function Pn(n2) {
|
|
4051
4065
|
switch (n2.type) {
|
|
4052
4066
|
case "Json": {
|
|
4053
4067
|
const e = {};
|
|
@@ -4088,7 +4102,7 @@
|
|
|
4088
4102
|
function C(n2) {
|
|
4089
4103
|
return n2.map(p$1);
|
|
4090
4104
|
}
|
|
4091
|
-
function
|
|
4105
|
+
function In(n2) {
|
|
4092
4106
|
return ke(p$1(n2));
|
|
4093
4107
|
}
|
|
4094
4108
|
function z$1(n2, e) {
|
|
@@ -4101,7 +4115,7 @@
|
|
|
4101
4115
|
function X(n2, e) {
|
|
4102
4116
|
return n2.name === e.name && z$1(n2.domain, e.domain);
|
|
4103
4117
|
}
|
|
4104
|
-
function
|
|
4118
|
+
function Dn(n2, e) {
|
|
4105
4119
|
return { ...n2, src: h$1(n2.src, e) };
|
|
4106
4120
|
}
|
|
4107
4121
|
function h$1(n2, e) {
|
|
@@ -4145,7 +4159,7 @@
|
|
|
4145
4159
|
function A(n2, e) {
|
|
4146
4160
|
return JSON.stringify([n2, e]);
|
|
4147
4161
|
}
|
|
4148
|
-
class
|
|
4162
|
+
class Vn {
|
|
4149
4163
|
/**
|
|
4150
4164
|
* Creates a new anchor context from a set of anchor column specifications
|
|
4151
4165
|
* @param anchors Record of anchor column specifications indexed by anchor ID
|
|
@@ -4187,9 +4201,9 @@
|
|
|
4187
4201
|
for (const a of this.domainPacks) {
|
|
4188
4202
|
const i = [];
|
|
4189
4203
|
for (const c2 of a) {
|
|
4190
|
-
const
|
|
4191
|
-
if (
|
|
4192
|
-
i.push([c2,
|
|
4204
|
+
const m2 = e.domain[c2];
|
|
4205
|
+
if (m2 !== void 0)
|
|
4206
|
+
i.push([c2, m2]);
|
|
4193
4207
|
else
|
|
4194
4208
|
break n;
|
|
4195
4209
|
}
|
|
@@ -4218,7 +4232,7 @@
|
|
|
4218
4232
|
throw new Error(`Axis index ${i} is out of bounds (0-${e.axesSpec.length - 1})`);
|
|
4219
4233
|
s2.push([i, u2]);
|
|
4220
4234
|
} else {
|
|
4221
|
-
const c2 = e.axesSpec.findIndex((
|
|
4235
|
+
const c2 = e.axesSpec.findIndex((m2) => m2.name === i);
|
|
4222
4236
|
if (c2 === -1)
|
|
4223
4237
|
throw new Error(`Axis with name "${i}" not found in the column specification`);
|
|
4224
4238
|
s2.push([c2, u2]);
|
|
@@ -4239,7 +4253,7 @@
|
|
|
4239
4253
|
return G(this.derive(e, t));
|
|
4240
4254
|
}
|
|
4241
4255
|
}
|
|
4242
|
-
function
|
|
4256
|
+
function Bn(n2, e, t) {
|
|
4243
4257
|
const r = { ...e }, o = (t == null ? void 0 : t.ignoreMissingDomains) ?? false;
|
|
4244
4258
|
if (r.domainAnchor !== void 0) {
|
|
4245
4259
|
const s2 = n2[r.domainAnchor];
|
|
@@ -4314,7 +4328,7 @@
|
|
|
4314
4328
|
data: e(n2.data)
|
|
4315
4329
|
};
|
|
4316
4330
|
}
|
|
4317
|
-
function
|
|
4331
|
+
function vn(n2) {
|
|
4318
4332
|
const e = /* @__PURE__ */ new Map(), t = (r) => {
|
|
4319
4333
|
switch (r.type) {
|
|
4320
4334
|
case "column":
|
|
@@ -4403,10 +4417,10 @@
|
|
|
4403
4417
|
}
|
|
4404
4418
|
return true;
|
|
4405
4419
|
}
|
|
4406
|
-
function
|
|
4420
|
+
function _n(n2) {
|
|
4407
4421
|
return Array.isArray(n2) ? (e) => n2.some((t) => f(e) && N(e, t)) : (e) => f(e) && N(e, n2);
|
|
4408
4422
|
}
|
|
4409
|
-
function
|
|
4423
|
+
function Mn(n2) {
|
|
4410
4424
|
const e = {
|
|
4411
4425
|
kind: n2.kind,
|
|
4412
4426
|
name: n2.name
|
|
@@ -4421,10 +4435,10 @@
|
|
|
4421
4435
|
}).describe(
|
|
4422
4436
|
"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."
|
|
4423
4437
|
).readonly();
|
|
4424
|
-
function
|
|
4438
|
+
function qn(n2) {
|
|
4425
4439
|
return typeof n2 == "object" && n2 !== null && "__isRef" in n2 && n2.__isRef === true && "blockId" in n2 && "name" in n2;
|
|
4426
4440
|
}
|
|
4427
|
-
function
|
|
4441
|
+
function zn(n2, e = true) {
|
|
4428
4442
|
if (e)
|
|
4429
4443
|
return {
|
|
4430
4444
|
...n2,
|
|
@@ -4435,35 +4449,42 @@
|
|
|
4435
4449
|
return r;
|
|
4436
4450
|
}
|
|
4437
4451
|
}
|
|
4438
|
-
function
|
|
4452
|
+
function Gn(n2, e) {
|
|
4439
4453
|
return n2.ok ? { ok: true, value: e(n2.value) } : n2;
|
|
4440
4454
|
}
|
|
4441
4455
|
const sn = 24;
|
|
4442
4456
|
z$2.string().length(sn).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
|
|
4443
4457
|
var stringify = { exports: {} };
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
if (
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4458
|
+
var hasRequiredStringify;
|
|
4459
|
+
function requireStringify() {
|
|
4460
|
+
if (hasRequiredStringify) return stringify.exports;
|
|
4461
|
+
hasRequiredStringify = 1;
|
|
4462
|
+
(function(module2, exports3) {
|
|
4463
|
+
exports3 = module2.exports = stringify2;
|
|
4464
|
+
exports3.getSerialize = serializer;
|
|
4465
|
+
function stringify2(obj, replacer, spaces, cycleReplacer) {
|
|
4466
|
+
return JSON.stringify(obj, serializer(replacer, cycleReplacer), spaces);
|
|
4467
|
+
}
|
|
4468
|
+
function serializer(replacer, cycleReplacer) {
|
|
4469
|
+
var stack = [], keys = [];
|
|
4470
|
+
if (cycleReplacer == null) cycleReplacer = function(key, value) {
|
|
4471
|
+
if (stack[0] === value) return "[Circular ~]";
|
|
4472
|
+
return "[Circular ~." + keys.slice(0, stack.indexOf(value)).join(".") + "]";
|
|
4473
|
+
};
|
|
4474
|
+
return function(key, value) {
|
|
4475
|
+
if (stack.length > 0) {
|
|
4476
|
+
var thisPos = stack.indexOf(this);
|
|
4477
|
+
~thisPos ? stack.splice(thisPos + 1) : stack.push(this);
|
|
4478
|
+
~thisPos ? keys.splice(thisPos, Infinity, key) : keys.push(key);
|
|
4479
|
+
if (~stack.indexOf(value)) value = cycleReplacer.call(this, key, value);
|
|
4480
|
+
} else stack.push(value);
|
|
4481
|
+
return replacer == null ? value : replacer.call(this, key, value);
|
|
4482
|
+
};
|
|
4483
|
+
}
|
|
4484
|
+
})(stringify, stringify.exports);
|
|
4485
|
+
return stringify.exports;
|
|
4486
|
+
}
|
|
4487
|
+
requireStringify();
|
|
4467
4488
|
const l = z$2.object({
|
|
4468
4489
|
type: z$2.literal("PlError"),
|
|
4469
4490
|
name: z$2.string(),
|
|
@@ -5042,7 +5063,7 @@
|
|
|
5042
5063
|
function Tt(t) {
|
|
5043
5064
|
if (t !== void 0) {
|
|
5044
5065
|
if (F$1(t)) return t;
|
|
5045
|
-
if (
|
|
5066
|
+
if (hn(t)) return wn(t);
|
|
5046
5067
|
if (t instanceof O) return ye(t);
|
|
5047
5068
|
throw new Error(`Unexpected input type: ${typeof t}`);
|
|
5048
5069
|
}
|
|
@@ -5112,14 +5133,14 @@
|
|
|
5112
5133
|
this.columns = e;
|
|
5113
5134
|
}
|
|
5114
5135
|
selectColumns(e) {
|
|
5115
|
-
const n2 = typeof e == "function" ? e :
|
|
5136
|
+
const n2 = typeof e == "function" ? e : _n(e);
|
|
5116
5137
|
return this.columns.filter((r) => n2(r.spec));
|
|
5117
5138
|
}
|
|
5118
5139
|
}
|
|
5119
5140
|
function Ot(t) {
|
|
5120
5141
|
if (t)
|
|
5121
5142
|
return t.map((e) => ({
|
|
5122
|
-
type: `split:${
|
|
5143
|
+
type: `split:${In(e.axisId)}`,
|
|
5123
5144
|
label: e.label,
|
|
5124
5145
|
importance: 1e6
|
|
5125
5146
|
// High importance for split filters in labels
|
|
@@ -5183,9 +5204,9 @@
|
|
|
5183
5204
|
if (_e(g)) {
|
|
5184
5205
|
if (!r)
|
|
5185
5206
|
throw new Error("Anchored selectors in exclude require an AnchoredIdDeriver to be provided in options.");
|
|
5186
|
-
return
|
|
5207
|
+
return _n(Bn(r.anchors, g, n2));
|
|
5187
5208
|
} else
|
|
5188
|
-
return
|
|
5209
|
+
return _n(g);
|
|
5189
5210
|
});
|
|
5190
5211
|
u2 = (g) => c2.some((x2) => x2(g));
|
|
5191
5212
|
}
|
|
@@ -5196,7 +5217,7 @@
|
|
|
5196
5217
|
if (g) {
|
|
5197
5218
|
if (!r)
|
|
5198
5219
|
throw new Error("Anchored selectors require an AnchoredIdDeriver to be provided in options.");
|
|
5199
|
-
x2 =
|
|
5220
|
+
x2 = Bn(r.anchors, c2, n2);
|
|
5200
5221
|
} else
|
|
5201
5222
|
x2 = c2;
|
|
5202
5223
|
const p2 = /* @__PURE__ */ new Set(), A2 = [];
|
|
@@ -5206,7 +5227,7 @@
|
|
|
5206
5227
|
if (u2(S.spec)) continue;
|
|
5207
5228
|
if (p2.has(S.id))
|
|
5208
5229
|
throw new Error(`Duplicate column id ${S.id} in provider ${C2.constructor.name}`);
|
|
5209
|
-
const R =
|
|
5230
|
+
const R = Mn(S.spec);
|
|
5210
5231
|
b.has(R) || (p2.add(S.id), b.add(R), A2.push(S));
|
|
5211
5232
|
}
|
|
5212
5233
|
}
|
|
@@ -5221,7 +5242,7 @@
|
|
|
5221
5242
|
if (s2) continue;
|
|
5222
5243
|
return;
|
|
5223
5244
|
}
|
|
5224
|
-
if (!
|
|
5245
|
+
if (!bn(S))
|
|
5225
5246
|
throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${S.type} for column ${C2.id}`);
|
|
5226
5247
|
const R = It(S), k2 = m2[m2.length - 1];
|
|
5227
5248
|
if (k2 >= S.partitionKeyLength)
|
|
@@ -5295,7 +5316,7 @@
|
|
|
5295
5316
|
}), w2.push({
|
|
5296
5317
|
id: v,
|
|
5297
5318
|
spec: C2,
|
|
5298
|
-
data: () => c2.type === "split" ?
|
|
5319
|
+
data: () => c2.type === "split" ? Pn(Lt(c2.dataEntries, m2)) : c2.originalColumn.data,
|
|
5299
5320
|
label: g
|
|
5300
5321
|
});
|
|
5301
5322
|
}
|
|
@@ -5332,7 +5353,7 @@
|
|
|
5332
5353
|
return true;
|
|
5333
5354
|
}
|
|
5334
5355
|
function Ie(t) {
|
|
5335
|
-
return Kn(t, (e) => e instanceof O ? e.handle :
|
|
5356
|
+
return Kn(t, (e) => e instanceof O ? e.handle : hn(e) ? gn(e, (n2) => n2.handle) : e);
|
|
5336
5357
|
}
|
|
5337
5358
|
class Dt {
|
|
5338
5359
|
constructor() {
|
|
@@ -5345,28 +5366,28 @@
|
|
|
5345
5366
|
return this.ctx.calculateOptions(e);
|
|
5346
5367
|
}
|
|
5347
5368
|
getOptions(e, n2) {
|
|
5348
|
-
const r = typeof e == "function" ? e :
|
|
5369
|
+
const r = typeof e == "function" ? e : _n(e), i = this.getSpecs().entries.filter((a) => r(a.obj));
|
|
5349
5370
|
let s2 = {}, o = false;
|
|
5350
5371
|
return typeof n2 < "u" && (typeof n2 == "function" ? s2 = n2 : typeof n2 == "object" && ("includeNativeLabel" in n2 || "separator" in n2 || "addLabelAsSuffix" in n2 ? s2 = n2 : (n2 = n2, s2 = n2.label ?? {}, o = n2.refsWithEnrichments ?? false))), typeof s2 == "object" ? Ve(i, (a) => a.obj, s2 ?? {}).map(({ value: { ref: a }, label: l2 }) => ({
|
|
5351
|
-
ref:
|
|
5372
|
+
ref: zn(a, o),
|
|
5352
5373
|
label: l2
|
|
5353
5374
|
})) : i.map(({ ref: a, obj: l2 }) => ({
|
|
5354
|
-
ref:
|
|
5375
|
+
ref: zn(a, o),
|
|
5355
5376
|
label: s2(l2, a)
|
|
5356
5377
|
}));
|
|
5357
5378
|
}
|
|
5358
5379
|
resolveAnchorCtx(e) {
|
|
5359
|
-
if (e instanceof
|
|
5380
|
+
if (e instanceof Vn) return e;
|
|
5360
5381
|
const n2 = {};
|
|
5361
5382
|
for (const [r, i] of Object.entries(e))
|
|
5362
|
-
if (
|
|
5383
|
+
if (qn(i)) {
|
|
5363
5384
|
const s2 = this.getPColumnSpecByRef(i);
|
|
5364
5385
|
if (!s2)
|
|
5365
5386
|
return;
|
|
5366
5387
|
n2[r] = s2;
|
|
5367
5388
|
} else
|
|
5368
5389
|
n2[r] = i;
|
|
5369
|
-
return new
|
|
5390
|
+
return new Vn(n2);
|
|
5370
5391
|
}
|
|
5371
5392
|
/**
|
|
5372
5393
|
* Returns columns that match the provided anchors and selectors. It applies axis filters and label derivation.
|
|
@@ -5459,7 +5480,7 @@
|
|
|
5459
5480
|
ref: n2.ref,
|
|
5460
5481
|
obj: {
|
|
5461
5482
|
...n2.obj,
|
|
5462
|
-
data:
|
|
5483
|
+
data: Gn(
|
|
5463
5484
|
n2.obj.data,
|
|
5464
5485
|
(r) => new O(r, [n2.ref.blockId, n2.ref.name])
|
|
5465
5486
|
)
|
|
@@ -5572,7 +5593,7 @@
|
|
|
5572
5593
|
* @returns An array of PColumn objects matching the selectors. Data is loaded on first access.
|
|
5573
5594
|
*/
|
|
5574
5595
|
selectColumns(e) {
|
|
5575
|
-
const n2 = typeof e == "function" ? e :
|
|
5596
|
+
const n2 = typeof e == "function" ? e : _n(e);
|
|
5576
5597
|
return this.getSpecs().entries.filter(({ obj: i }) => f(i) ? n2(i) : false).map(({ ref: i, obj: s2 }) => {
|
|
5577
5598
|
const o = s2;
|
|
5578
5599
|
let a = null;
|
|
@@ -5647,7 +5668,7 @@
|
|
|
5647
5668
|
}
|
|
5648
5669
|
verifyInlineAndExplicitColumnsSupport(e) {
|
|
5649
5670
|
var i;
|
|
5650
|
-
const n2 = e.some((s2) => !(s2.data instanceof O) ||
|
|
5671
|
+
const n2 = e.some((s2) => !(s2.data instanceof O) || hn(s2.data)), r = ((i = this.ctx.featureFlags) == null ? void 0 : i.inlineColumnsSupport) === true;
|
|
5651
5672
|
if (n2 && !r) throw Error("Inline or explicit columns not supported");
|
|
5652
5673
|
}
|
|
5653
5674
|
// TODO remove all non-PColumn fields
|
|
@@ -5665,8 +5686,8 @@
|
|
|
5665
5686
|
},
|
|
5666
5687
|
filters: e.filters ?? [],
|
|
5667
5688
|
sorting: e.sorting ?? []
|
|
5668
|
-
} : n2 = e, this.verifyInlineAndExplicitColumnsSupport(
|
|
5669
|
-
|
|
5689
|
+
} : n2 = e, this.verifyInlineAndExplicitColumnsSupport(vn(n2.src)), this.ctx.createPTable(
|
|
5690
|
+
Dn(n2, (r) => Ie(r))
|
|
5670
5691
|
);
|
|
5671
5692
|
}
|
|
5672
5693
|
/** @deprecated scheduled for removal from SDK */
|
|
@@ -5686,7 +5707,7 @@
|
|
|
5686
5707
|
this.ctx.logError(e);
|
|
5687
5708
|
}
|
|
5688
5709
|
}
|
|
5689
|
-
const Y = "1.33.
|
|
5710
|
+
const Y = "1.33.8";
|
|
5690
5711
|
function Kt(t) {
|
|
5691
5712
|
return t.__renderLambda === true;
|
|
5692
5713
|
}
|