@milaboratories/milaboratories.ui-examples.model 1.1.58 → 1.1.60
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 +14 -0
- package/dist/bundle.js +64 -64
- package/dist/bundle.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +3 -3
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.ui-examples.model@1.1.
|
|
3
|
+
> @milaboratories/milaboratories.ui-examples.model@1.1.60 build /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
|
|
4
4
|
> tsup && vite build && block-tools build-model
|
|
5
5
|
|
|
6
6
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
[34mCLI[39m Cleaning output folder
|
|
12
12
|
[34mCJS[39m Build start
|
|
13
13
|
[34mESM[39m Build start
|
|
14
|
-
[32mESM[39m [1mdist/index.js [22m[32m6.35 KB[39m
|
|
15
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m14.56 KB[39m
|
|
16
|
-
[32mESM[39m ⚡️ Build success in 140ms
|
|
17
14
|
[32mCJS[39m [1mdist/index.cjs [22m[32m6.46 KB[39m
|
|
18
15
|
[32mCJS[39m [1mdist/index.cjs.map [22m[32m14.65 KB[39m
|
|
19
|
-
[32mCJS[39m ⚡️ Build success in
|
|
16
|
+
[32mCJS[39m ⚡️ Build success in 415ms
|
|
17
|
+
[32mESM[39m [1mdist/index.js [22m[32m6.35 KB[39m
|
|
18
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m14.56 KB[39m
|
|
19
|
+
[32mESM[39m ⚡️ Build success in 415ms
|
|
20
20
|
[34mDTS[39m Build start
|
|
21
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
+
[32mDTS[39m ⚡️ Build success in 5297ms
|
|
22
22
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m4.28 KB[39m
|
|
23
23
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m4.28 KB[39m
|
|
24
24
|
[36mvite v5.4.11 [32mbuilding for production...[36m[39m
|
|
@@ -26,6 +26,6 @@ transforming...
|
|
|
26
26
|
[32m✓[39m 9 modules transformed.
|
|
27
27
|
rendering chunks...
|
|
28
28
|
computing gzip size...
|
|
29
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m189.
|
|
30
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m202.41 kB[22m[1m[22m[2m │ gzip: 37.39 kB[22m[2m │ map:
|
|
31
|
-
[32m✓ built in
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m189.41 kB[22m[1m[22m[2m │ gzip: 36.71 kB[22m[2m │ map: 404.58 kB[22m
|
|
30
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m202.41 kB[22m[1m[22m[2m │ gzip: 37.39 kB[22m[2m │ map: 406.17 kB[22m
|
|
31
|
+
[32m✓ built in 2.39s[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @milaboratories/milaboratories.ui-examples.model
|
|
2
2
|
|
|
3
|
+
## 1.1.60
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [e25600e]
|
|
8
|
+
- @platforma-sdk/model@1.31.14
|
|
9
|
+
|
|
10
|
+
## 1.1.59
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [89fd5d3]
|
|
15
|
+
- @platforma-sdk/model@1.31.6
|
|
16
|
+
|
|
3
17
|
## 1.1.58
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/bundle.js
CHANGED
|
@@ -3948,13 +3948,13 @@
|
|
|
3948
3948
|
quotelessJson,
|
|
3949
3949
|
ZodError
|
|
3950
3950
|
});
|
|
3951
|
-
var $ = Object.defineProperty;
|
|
3952
|
-
var D = (n2, e, t) => e in n2 ? $(n2, e, { enumerable: true, configurable: true, writable: true, value: t }) : n2[e] = t;
|
|
3951
|
+
var I$1 = Object.defineProperty;
|
|
3952
|
+
var D = (n2, e, t) => e in n2 ? I$1(n2, e, { enumerable: true, configurable: true, writable: true, value: t }) : n2[e] = t;
|
|
3953
3953
|
var l$1 = (n2, e, t) => D(n2, typeof e != "symbol" ? e + "" : e, t);
|
|
3954
3954
|
function w(n2) {
|
|
3955
3955
|
throw new Error("Unexpected object: " + n2);
|
|
3956
3956
|
}
|
|
3957
|
-
function
|
|
3957
|
+
function yn(n2) {
|
|
3958
3958
|
if (!n2 || typeof n2 != "object")
|
|
3959
3959
|
return false;
|
|
3960
3960
|
const e = n2;
|
|
@@ -3971,7 +3971,7 @@
|
|
|
3971
3971
|
return false;
|
|
3972
3972
|
}
|
|
3973
3973
|
}
|
|
3974
|
-
function
|
|
3974
|
+
function hn(n2, e) {
|
|
3975
3975
|
if (n2 !== void 0)
|
|
3976
3976
|
switch (n2.type) {
|
|
3977
3977
|
case "Json":
|
|
@@ -4016,10 +4016,10 @@
|
|
|
4016
4016
|
return false;
|
|
4017
4017
|
}
|
|
4018
4018
|
}
|
|
4019
|
-
function
|
|
4019
|
+
function gn(n2) {
|
|
4020
4020
|
return F$1(n2) ? n2.type === "JsonPartitioned" || n2.type === "BinaryPartitioned" : false;
|
|
4021
4021
|
}
|
|
4022
|
-
function
|
|
4022
|
+
function bn(n2) {
|
|
4023
4023
|
switch (n2.type) {
|
|
4024
4024
|
case "Json": {
|
|
4025
4025
|
const e = Object.entries(n2.data).map(([t, r]) => ({ key: JSON.parse(t), value: r }));
|
|
@@ -4047,7 +4047,7 @@
|
|
|
4047
4047
|
}
|
|
4048
4048
|
}
|
|
4049
4049
|
}
|
|
4050
|
-
function
|
|
4050
|
+
function wn(n2) {
|
|
4051
4051
|
switch (n2.type) {
|
|
4052
4052
|
case "Json": {
|
|
4053
4053
|
const e = {};
|
|
@@ -4081,7 +4081,7 @@
|
|
|
4081
4081
|
}
|
|
4082
4082
|
}
|
|
4083
4083
|
}
|
|
4084
|
-
function
|
|
4084
|
+
function On(n2) {
|
|
4085
4085
|
return {
|
|
4086
4086
|
columnId: n2.id,
|
|
4087
4087
|
spec: n2.spec
|
|
@@ -4094,7 +4094,7 @@
|
|
|
4094
4094
|
function C(n2) {
|
|
4095
4095
|
return n2.map(p$1);
|
|
4096
4096
|
}
|
|
4097
|
-
function
|
|
4097
|
+
function $n(n2) {
|
|
4098
4098
|
return De(p$1(n2));
|
|
4099
4099
|
}
|
|
4100
4100
|
function z$1(n2, e) {
|
|
@@ -4107,7 +4107,7 @@
|
|
|
4107
4107
|
function X(n2, e) {
|
|
4108
4108
|
return n2.name === e.name && z$1(n2.domain, e.domain);
|
|
4109
4109
|
}
|
|
4110
|
-
function
|
|
4110
|
+
function In(n2, e) {
|
|
4111
4111
|
return { ...n2, src: h(n2.src, e) };
|
|
4112
4112
|
}
|
|
4113
4113
|
function h(n2, e) {
|
|
@@ -4151,7 +4151,7 @@
|
|
|
4151
4151
|
function A(n2, e) {
|
|
4152
4152
|
return JSON.stringify([n2, e]);
|
|
4153
4153
|
}
|
|
4154
|
-
class
|
|
4154
|
+
class Ln {
|
|
4155
4155
|
/**
|
|
4156
4156
|
* Creates a new anchor context from a set of anchor column specifications
|
|
4157
4157
|
* @param anchors Record of anchor column specifications indexed by anchor ID
|
|
@@ -4245,7 +4245,7 @@
|
|
|
4245
4245
|
return G(this.derive(e, t));
|
|
4246
4246
|
}
|
|
4247
4247
|
}
|
|
4248
|
-
function
|
|
4248
|
+
function Vn(n2, e, t) {
|
|
4249
4249
|
const r = { ...e }, o = (t == null ? void 0 : t.ignoreMissingDomains) ?? false;
|
|
4250
4250
|
if (r.domainAnchor !== void 0) {
|
|
4251
4251
|
const s2 = n2[r.domainAnchor];
|
|
@@ -4310,17 +4310,17 @@
|
|
|
4310
4310
|
function Z$1(n2) {
|
|
4311
4311
|
return f$1(n2.spec);
|
|
4312
4312
|
}
|
|
4313
|
-
function
|
|
4313
|
+
function Un(n2) {
|
|
4314
4314
|
if (!Z$1(n2)) throw new Error(`not a PColumn (kind = ${n2.spec.kind})`);
|
|
4315
4315
|
return n2;
|
|
4316
4316
|
}
|
|
4317
|
-
function
|
|
4317
|
+
function Kn(n2, e) {
|
|
4318
4318
|
return n2 === void 0 ? void 0 : {
|
|
4319
4319
|
...n2,
|
|
4320
4320
|
data: e(n2.data)
|
|
4321
4321
|
};
|
|
4322
4322
|
}
|
|
4323
|
-
function
|
|
4323
|
+
function Rn$1(n2) {
|
|
4324
4324
|
const e = /* @__PURE__ */ new Map(), t = (r) => {
|
|
4325
4325
|
switch (r.type) {
|
|
4326
4326
|
case "column":
|
|
@@ -4409,10 +4409,10 @@
|
|
|
4409
4409
|
}
|
|
4410
4410
|
return true;
|
|
4411
4411
|
}
|
|
4412
|
-
function
|
|
4412
|
+
function vn(n2) {
|
|
4413
4413
|
return Array.isArray(n2) ? (e) => n2.some((t) => f$1(e) && N(e, t)) : (e) => f$1(e) && N(e, n2);
|
|
4414
4414
|
}
|
|
4415
|
-
function
|
|
4415
|
+
function _n(n2) {
|
|
4416
4416
|
const e = {
|
|
4417
4417
|
kind: n2.kind,
|
|
4418
4418
|
name: n2.name
|
|
@@ -4427,10 +4427,10 @@
|
|
|
4427
4427
|
}).describe(
|
|
4428
4428
|
"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."
|
|
4429
4429
|
).readonly();
|
|
4430
|
-
function
|
|
4430
|
+
function Hn(n2) {
|
|
4431
4431
|
return typeof n2 == "object" && n2 !== null && "__isRef" in n2 && n2.__isRef === true && "blockId" in n2 && "name" in n2;
|
|
4432
4432
|
}
|
|
4433
|
-
function
|
|
4433
|
+
function Wn(n2, e = true) {
|
|
4434
4434
|
if (e)
|
|
4435
4435
|
return {
|
|
4436
4436
|
...n2,
|
|
@@ -4441,12 +4441,12 @@
|
|
|
4441
4441
|
return r;
|
|
4442
4442
|
}
|
|
4443
4443
|
}
|
|
4444
|
-
function
|
|
4444
|
+
function Xn(n2, e) {
|
|
4445
4445
|
return n2.ok ? { ok: true, value: e(n2.value) } : n2;
|
|
4446
4446
|
}
|
|
4447
4447
|
const sn = 24;
|
|
4448
4448
|
z$2.string().length(sn).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
|
|
4449
|
-
function
|
|
4449
|
+
function ne(n2) {
|
|
4450
4450
|
return JSON.parse(n2);
|
|
4451
4451
|
}
|
|
4452
4452
|
var stringify = { exports: {} };
|
|
@@ -4681,20 +4681,20 @@
|
|
|
4681
4681
|
const i = {};
|
|
4682
4682
|
for (const [s2, o] of Object.entries(r)) {
|
|
4683
4683
|
const a = [...this.resolvePath, s2];
|
|
4684
|
-
i[s2] =
|
|
4684
|
+
i[s2] = Kn(o, (l2) => new E(l2, a));
|
|
4685
4685
|
}
|
|
4686
4686
|
return i;
|
|
4687
4687
|
}
|
|
4688
|
-
getFileContentAsBase64() {
|
|
4689
|
-
return new I(f().getBlobContentAsBase64(this.handle));
|
|
4688
|
+
getFileContentAsBase64(e) {
|
|
4689
|
+
return new I(f().getBlobContentAsBase64(this.handle, e));
|
|
4690
4690
|
}
|
|
4691
|
-
getFileContentAsString() {
|
|
4692
|
-
return new I(f().getBlobContentAsString(this.handle));
|
|
4691
|
+
getFileContentAsString(e) {
|
|
4692
|
+
return new I(f().getBlobContentAsString(this.handle, e));
|
|
4693
4693
|
}
|
|
4694
|
-
getFileContentAsJson() {
|
|
4694
|
+
getFileContentAsJson(e) {
|
|
4695
4695
|
return new I(
|
|
4696
|
-
f().getBlobContentAsString(this.handle)
|
|
4697
|
-
).mapDefined((
|
|
4696
|
+
f().getBlobContentAsString(this.handle, e)
|
|
4697
|
+
).mapDefined((n2) => JSON.parse(n2));
|
|
4698
4698
|
}
|
|
4699
4699
|
/**
|
|
4700
4700
|
* @deprecated use getFileContentAsBase64
|
|
@@ -4804,16 +4804,16 @@
|
|
|
4804
4804
|
}
|
|
4805
4805
|
const P = [], T = /* @__PURE__ */ new Map();
|
|
4806
4806
|
for (let D2 = y.length - 1; D2 >= 0; --D2) {
|
|
4807
|
-
const { type: W } = y[D2], j = y[D2].importance ?? 0, $
|
|
4808
|
-
T.set(W, $
|
|
4809
|
-
const k2 = `${W}@${$
|
|
4807
|
+
const { type: W } = y[D2], j = y[D2].importance ?? 0, $ = (T.get(W) ?? 0) + 1;
|
|
4808
|
+
T.set(W, $);
|
|
4809
|
+
const k2 = `${W}@${$}`;
|
|
4810
4810
|
s2.set(k2, (s2.get(k2) ?? 0) + 1), r.set(
|
|
4811
4811
|
k2,
|
|
4812
4812
|
Math.max(
|
|
4813
4813
|
r.get(k2) ?? Number.NEGATIVE_INFINITY,
|
|
4814
4814
|
j - (y.length - D2) * xt
|
|
4815
4815
|
)
|
|
4816
|
-
), P.push({ ...y[D2], fullType: k2, occurrenceIndex: $
|
|
4816
|
+
), P.push({ ...y[D2], fullType: k2, occurrenceIndex: $ });
|
|
4817
4817
|
}
|
|
4818
4818
|
return P.reverse(), {
|
|
4819
4819
|
value: g,
|
|
@@ -5051,7 +5051,7 @@
|
|
|
5051
5051
|
function It(t) {
|
|
5052
5052
|
if (t !== void 0) {
|
|
5053
5053
|
if (F$1(t)) return t;
|
|
5054
|
-
if (
|
|
5054
|
+
if (yn(t)) return bn(t);
|
|
5055
5055
|
if (t instanceof E) return ge(t);
|
|
5056
5056
|
throw new Error(`Unexpected input type: ${typeof t}`);
|
|
5057
5057
|
}
|
|
@@ -5121,14 +5121,14 @@
|
|
|
5121
5121
|
this.columns = e;
|
|
5122
5122
|
}
|
|
5123
5123
|
selectColumns(e) {
|
|
5124
|
-
const n2 = typeof e == "function" ? e :
|
|
5124
|
+
const n2 = typeof e == "function" ? e : vn(e);
|
|
5125
5125
|
return this.columns.filter((r) => n2(r.spec));
|
|
5126
5126
|
}
|
|
5127
5127
|
}
|
|
5128
5128
|
function Et(t) {
|
|
5129
5129
|
if (t)
|
|
5130
5130
|
return t.map((e) => ({
|
|
5131
|
-
type: `split:${
|
|
5131
|
+
type: `split:${$n(e.axisId)}`,
|
|
5132
5132
|
label: e.label,
|
|
5133
5133
|
importance: 1e6
|
|
5134
5134
|
// High importance for split filters in labels
|
|
@@ -5192,9 +5192,9 @@
|
|
|
5192
5192
|
if (Se(v)) {
|
|
5193
5193
|
if (!r)
|
|
5194
5194
|
throw new Error("Anchored selectors in exclude require an AnchoredIdDeriver to be provided in options.");
|
|
5195
|
-
return
|
|
5195
|
+
return vn(Vn(r.anchors, v, n2));
|
|
5196
5196
|
} else
|
|
5197
|
-
return
|
|
5197
|
+
return vn(v);
|
|
5198
5198
|
});
|
|
5199
5199
|
u2 = (v) => c2.some((b) => b(v));
|
|
5200
5200
|
}
|
|
@@ -5205,7 +5205,7 @@
|
|
|
5205
5205
|
if (v) {
|
|
5206
5206
|
if (!r)
|
|
5207
5207
|
throw new Error("Anchored selectors require an AnchoredIdDeriver to be provided in options.");
|
|
5208
|
-
b =
|
|
5208
|
+
b = Vn(r.anchors, c2, n2);
|
|
5209
5209
|
} else
|
|
5210
5210
|
b = c2;
|
|
5211
5211
|
const p2 = /* @__PURE__ */ new Set(), A2 = [];
|
|
@@ -5215,7 +5215,7 @@
|
|
|
5215
5215
|
if (u2(S.spec)) continue;
|
|
5216
5216
|
if (p2.has(S.id))
|
|
5217
5217
|
throw new Error(`Duplicate column id ${S.id} in provider ${P.constructor.name}`);
|
|
5218
|
-
const O =
|
|
5218
|
+
const O = _n(S.spec);
|
|
5219
5219
|
w2.has(O) || (p2.add(S.id), w2.add(O), A2.push(S));
|
|
5220
5220
|
}
|
|
5221
5221
|
}
|
|
@@ -5230,12 +5230,12 @@
|
|
|
5230
5230
|
if (s2) continue;
|
|
5231
5231
|
return;
|
|
5232
5232
|
}
|
|
5233
|
-
if (!
|
|
5233
|
+
if (!gn(S))
|
|
5234
5234
|
throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${S.type} for column ${P.id}`);
|
|
5235
5235
|
const O = _t(S), D2 = x2[x2.length - 1];
|
|
5236
5236
|
if (D2 >= S.partitionKeyLength)
|
|
5237
5237
|
throw new Error(`Not enough partition keys (${S.partitionKeyLength}) for requested split axes (max index ${D2}) in column ${T.name}`);
|
|
5238
|
-
const W = x2.map((_) => this.findLabels(p$1(T.axesSpec[_]))), j = [], $
|
|
5238
|
+
const W = x2.map((_) => this.findLabels(p$1(T.axesSpec[_]))), j = [], $ = (_, G2) => {
|
|
5239
5239
|
if (G2 >= x2.length) {
|
|
5240
5240
|
if (j.push([..._]), j.length > 1e4)
|
|
5241
5241
|
throw new Error("Too many key combinations, aborting.");
|
|
@@ -5250,9 +5250,9 @@
|
|
|
5250
5250
|
return;
|
|
5251
5251
|
}
|
|
5252
5252
|
for (const ee of J)
|
|
5253
|
-
_.push(ee), $
|
|
5253
|
+
_.push(ee), $(_, G2 + 1), _.pop();
|
|
5254
5254
|
};
|
|
5255
|
-
if ($
|
|
5255
|
+
if ($([], 0), j.length === 0)
|
|
5256
5256
|
continue;
|
|
5257
5257
|
const k2 = [...T.axesSpec], We = x2.map((_) => _);
|
|
5258
5258
|
for (let _ = x2.length - 1; _ >= 0; _--)
|
|
@@ -5304,7 +5304,7 @@
|
|
|
5304
5304
|
}), m2.push({
|
|
5305
5305
|
id: y,
|
|
5306
5306
|
spec: P,
|
|
5307
|
-
data: () => c2.type === "split" ?
|
|
5307
|
+
data: () => c2.type === "split" ? wn(Tt(c2.dataEntries, x2)) : c2.originalColumn.data,
|
|
5308
5308
|
label: v
|
|
5309
5309
|
});
|
|
5310
5310
|
}
|
|
@@ -5341,7 +5341,7 @@
|
|
|
5341
5341
|
return true;
|
|
5342
5342
|
}
|
|
5343
5343
|
function _e(t) {
|
|
5344
|
-
return
|
|
5344
|
+
return Kn(t, (e) => e instanceof E ? e.handle : yn(e) ? hn(e, (n2) => n2.handle) : e);
|
|
5345
5345
|
}
|
|
5346
5346
|
class Ot {
|
|
5347
5347
|
constructor() {
|
|
@@ -5354,28 +5354,28 @@
|
|
|
5354
5354
|
return this.ctx.calculateOptions(e);
|
|
5355
5355
|
}
|
|
5356
5356
|
getOptions(e, n2) {
|
|
5357
|
-
const r = typeof e == "function" ? e :
|
|
5357
|
+
const r = typeof e == "function" ? e : vn(e), i = this.getSpecs().entries.filter((a) => r(a.obj));
|
|
5358
5358
|
let s2 = {}, o = false;
|
|
5359
5359
|
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 }) => ({
|
|
5360
|
-
ref:
|
|
5360
|
+
ref: Wn(a, o),
|
|
5361
5361
|
label: l2
|
|
5362
5362
|
})) : i.map(({ ref: a, obj: l2 }) => ({
|
|
5363
|
-
ref:
|
|
5363
|
+
ref: Wn(a, o),
|
|
5364
5364
|
label: s2(l2, a)
|
|
5365
5365
|
}));
|
|
5366
5366
|
}
|
|
5367
5367
|
resolveAnchorCtx(e) {
|
|
5368
|
-
if (e instanceof
|
|
5368
|
+
if (e instanceof Ln) return e;
|
|
5369
5369
|
const n2 = {};
|
|
5370
5370
|
for (const [r, i] of Object.entries(e))
|
|
5371
|
-
if (
|
|
5371
|
+
if (Hn(i)) {
|
|
5372
5372
|
const s2 = this.getPColumnSpecByRef(i);
|
|
5373
5373
|
if (!s2)
|
|
5374
5374
|
return;
|
|
5375
5375
|
n2[r] = s2;
|
|
5376
5376
|
} else
|
|
5377
5377
|
n2[r] = i;
|
|
5378
|
-
return new
|
|
5378
|
+
return new Ln(n2);
|
|
5379
5379
|
}
|
|
5380
5380
|
/**
|
|
5381
5381
|
* Returns columns that match the provided anchors and selectors. It applies axis filters and label derivation.
|
|
@@ -5468,7 +5468,7 @@
|
|
|
5468
5468
|
ref: n2.ref,
|
|
5469
5469
|
obj: {
|
|
5470
5470
|
...n2.obj,
|
|
5471
|
-
data:
|
|
5471
|
+
data: Xn(
|
|
5472
5472
|
n2.obj.data,
|
|
5473
5473
|
(r) => new E(r, [n2.ref.blockId, n2.ref.name])
|
|
5474
5474
|
)
|
|
@@ -5497,7 +5497,7 @@
|
|
|
5497
5497
|
)) == null ? void 0 : r.obj;
|
|
5498
5498
|
const n2 = this.ctx.getDataFromResultPoolByRef(e.blockId, e.name);
|
|
5499
5499
|
if (n2)
|
|
5500
|
-
return
|
|
5500
|
+
return Kn(
|
|
5501
5501
|
n2,
|
|
5502
5502
|
(i) => new E(i, [e.blockId, e.name])
|
|
5503
5503
|
);
|
|
@@ -5510,7 +5510,7 @@
|
|
|
5510
5510
|
getPColumnByRef(e) {
|
|
5511
5511
|
const n2 = this.getDataByRef(e);
|
|
5512
5512
|
if (n2)
|
|
5513
|
-
return
|
|
5513
|
+
return Un(n2);
|
|
5514
5514
|
}
|
|
5515
5515
|
/**
|
|
5516
5516
|
* Returns spec associated with the ref ensuring that it is a p-column spec.
|
|
@@ -5581,7 +5581,7 @@
|
|
|
5581
5581
|
* @returns An array of PColumn objects matching the selectors. Data is loaded on first access.
|
|
5582
5582
|
*/
|
|
5583
5583
|
selectColumns(e) {
|
|
5584
|
-
const n2 = typeof e == "function" ? e :
|
|
5584
|
+
const n2 = typeof e == "function" ? e : vn(e);
|
|
5585
5585
|
return this.getSpecs().entries.filter(({ obj: i }) => f$1(i) ? n2(i) : false).map(({ ref: i, obj: s2 }) => {
|
|
5586
5586
|
const o = s2;
|
|
5587
5587
|
let a = null;
|
|
@@ -5656,7 +5656,7 @@
|
|
|
5656
5656
|
}
|
|
5657
5657
|
verifyInlineAndExplicitColumnsSupport(e) {
|
|
5658
5658
|
var i;
|
|
5659
|
-
const n2 = e.some((s2) => !(s2.data instanceof E) ||
|
|
5659
|
+
const n2 = e.some((s2) => !(s2.data instanceof E) || yn(s2.data)), r = ((i = this.ctx.featureFlags) == null ? void 0 : i.inlineColumnsSupport) === true;
|
|
5660
5660
|
if (n2 && !r) throw Error("Inline or explicit columns not supported");
|
|
5661
5661
|
}
|
|
5662
5662
|
// TODO remove all non-PColumn fields
|
|
@@ -5674,8 +5674,8 @@
|
|
|
5674
5674
|
},
|
|
5675
5675
|
filters: e.filters ?? [],
|
|
5676
5676
|
sorting: e.sorting ?? []
|
|
5677
|
-
} : n2 = e, this.verifyInlineAndExplicitColumnsSupport(
|
|
5678
|
-
|
|
5677
|
+
} : n2 = e, this.verifyInlineAndExplicitColumnsSupport(Rn$1(n2.src)), this.ctx.createPTable(
|
|
5678
|
+
In(n2, (r) => _e(r))
|
|
5679
5679
|
);
|
|
5680
5680
|
}
|
|
5681
5681
|
/** @deprecated scheduled for removal from SDK */
|
|
@@ -5686,7 +5686,7 @@
|
|
|
5686
5686
|
return this.ctx.getCurrentUnstableMarker();
|
|
5687
5687
|
}
|
|
5688
5688
|
}
|
|
5689
|
-
const Y = "1.
|
|
5689
|
+
const Y = "1.31.14";
|
|
5690
5690
|
function kt(t) {
|
|
5691
5691
|
return t.__renderLambda === true;
|
|
5692
5692
|
}
|
|
@@ -5988,7 +5988,7 @@
|
|
|
5988
5988
|
Array.isArray(r) && (r = { filters: r });
|
|
5989
5989
|
const i = (r == null ? void 0 : r.coreJoinType) ?? "full", s2 = [...(r == null ? void 0 : r.filters) ?? [], ...((u2 = n2 == null ? void 0 : n2.pTableParams) == null ? void 0 : u2.filters) ?? []], o = ((d = n2 == null ? void 0 : n2.pTableParams) == null ? void 0 : d.sorting) ?? [], a = Ne(t.resultPool);
|
|
5990
5990
|
if (!a) return;
|
|
5991
|
-
const l2 = Ue(e.map(
|
|
5991
|
+
const l2 = Ue(e.map(On), a);
|
|
5992
5992
|
if (Be([...e, ...l2]))
|
|
5993
5993
|
return t.createPTable(
|
|
5994
5994
|
Me(e, l2, i, s2, o, r == null ? void 0 : r.coreColumnPredicate)
|
|
@@ -6011,11 +6011,11 @@
|
|
|
6011
6011
|
const h2 = new Set((() => {
|
|
6012
6012
|
var A2, x2;
|
|
6013
6013
|
if (s2 === "inner") return [];
|
|
6014
|
-
const p2 = (x2 = (A2 = r == null ? void 0 : r.gridState.columnVisibility) == null ? void 0 : A2.hiddenColIds) == null ? void 0 : x2.map(
|
|
6014
|
+
const p2 = (x2 = (A2 = r == null ? void 0 : r.gridState.columnVisibility) == null ? void 0 : A2.hiddenColIds) == null ? void 0 : x2.map(ne).filter((y) => y.type === "column").map((y) => y.id);
|
|
6015
6015
|
return p2 || l2.filter((y) => Mt(y.spec)).map((y) => y.id);
|
|
6016
6016
|
})());
|
|
6017
6017
|
h2.delete(u2.id), [...o.map((p2) => p2.column), ...a.map((p2) => p2.column)].filter((p2) => p2.type === "column").map((p2) => h2.delete(p2.id));
|
|
6018
|
-
const w2 = l2.filter((p2) => !h2.has(p2.id)), g = Ue(w2.map(
|
|
6018
|
+
const w2 = l2.filter((p2) => !h2.has(p2.id)), g = Ue(w2.map(On), d), m2 = [
|
|
6019
6019
|
...u2.spec.axesSpec.map((p2) => ({
|
|
6020
6020
|
type: "axis",
|
|
6021
6021
|
id: p$1(p2),
|
|
@@ -6170,7 +6170,7 @@
|
|
|
6170
6170
|
data
|
|
6171
6171
|
}
|
|
6172
6172
|
],
|
|
6173
|
-
|
|
6173
|
+
vn({
|
|
6174
6174
|
name: "example"
|
|
6175
6175
|
}),
|
|
6176
6176
|
ctx.uiState.dataTableState.tableState,
|