@milaboratories/milaboratories.ui-examples.model 1.1.15 → 1.1.17
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 +13 -13
- package/CHANGELOG.md +13 -0
- package/dist/bundle.js +67 -63
- package/dist/bundle.js.map +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/eslint.config.mjs +2 -2
- package/package.json +3 -3
- package/src/index.ts +1 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @milaboratories/milaboratories.ui-examples.model@1.1.
|
|
2
|
+
> @milaboratories/milaboratories.ui-examples.model@1.1.17 build /home/runner/work/platforma/platforma/etc/blocks/ui-examples/model
|
|
3
3
|
> tsup && vite build && block-tools build-model
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -10,21 +10,21 @@
|
|
|
10
10
|
[34mCLI[39m Cleaning output folder
|
|
11
11
|
[34mCJS[39m Build start
|
|
12
12
|
[34mESM[39m Build start
|
|
13
|
-
[32mESM[39m [1mdist/index.js [22m[
|
|
14
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m7.
|
|
15
|
-
[32mESM[39m ⚡️ Build success in
|
|
16
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m3.
|
|
17
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[32m7.
|
|
18
|
-
[32mCJS[39m ⚡️ Build success in
|
|
13
|
+
[32mESM[39m [1mdist/index.js [22m[32m3.06 KB[39m
|
|
14
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m7.28 KB[39m
|
|
15
|
+
[32mESM[39m ⚡️ Build success in 77ms
|
|
16
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m3.11 KB[39m
|
|
17
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m7.32 KB[39m
|
|
18
|
+
[32mCJS[39m ⚡️ Build success in 77ms
|
|
19
19
|
[34mDTS[39m Build start
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
-
[32mDTS[39m [1mdist/index.d.cts [22m[32m1.
|
|
22
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 823ms
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m1.46 KB[39m
|
|
22
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.46 KB[39m
|
|
23
23
|
[36mvite v5.4.11 [32mbuilding for production...[36m[39m
|
|
24
24
|
transforming...
|
|
25
25
|
[32m✓[39m 4 modules transformed.
|
|
26
26
|
rendering chunks...
|
|
27
27
|
computing gzip size...
|
|
28
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m145.
|
|
29
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m155.
|
|
30
|
-
[32m✓ built in
|
|
28
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m145.40 kB[22m[1m[22m[2m │ gzip: 26.65 kB[22m[2m │ map: 317.93 kB[22m
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m155.64 kB[22m[1m[22m[2m │ gzip: 27.15 kB[22m[2m │ map: 319.06 kB[22m
|
|
30
|
+
[32m✓ built in 389ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @milaboratories/milaboratories.ui-examples.model
|
|
2
2
|
|
|
3
|
+
## 1.1.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 19c273b: SDK Eslint config
|
|
8
|
+
|
|
9
|
+
## 1.1.16
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [388c9d2]
|
|
14
|
+
- @platforma-sdk/model@1.22.18
|
|
15
|
+
|
|
3
16
|
## 1.1.15
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/bundle.js
CHANGED
|
@@ -3967,11 +3967,11 @@
|
|
|
3967
3967
|
function i(t) {
|
|
3968
3968
|
return t.kind === "PColumn";
|
|
3969
3969
|
}
|
|
3970
|
-
function W(t) {
|
|
3970
|
+
function W$1(t) {
|
|
3971
3971
|
return i(t.spec);
|
|
3972
3972
|
}
|
|
3973
3973
|
function dt(t) {
|
|
3974
|
-
if (!W(t)) throw new Error(`not a PColumn (kind = ${t.spec.kind})`);
|
|
3974
|
+
if (!W$1(t)) throw new Error(`not a PColumn (kind = ${t.spec.kind})`);
|
|
3975
3975
|
return t;
|
|
3976
3976
|
}
|
|
3977
3977
|
function lt(t, n) {
|
|
@@ -4027,7 +4027,7 @@
|
|
|
4027
4027
|
if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
|
|
4028
4028
|
throw new Error("Not in config rendering context");
|
|
4029
4029
|
}
|
|
4030
|
-
function
|
|
4030
|
+
function D(t, e) {
|
|
4031
4031
|
const n = we();
|
|
4032
4032
|
if (n === void 0) return false;
|
|
4033
4033
|
if (t in n.callbackRegistry) throw new Error(`Callback with key ${t} already registered.`);
|
|
@@ -4061,7 +4061,7 @@
|
|
|
4061
4061
|
return this.isResolved ? this.resolvedValue : { __awaited_futures__: [this.handle] };
|
|
4062
4062
|
}
|
|
4063
4063
|
}
|
|
4064
|
-
function
|
|
4064
|
+
function W(t, e) {
|
|
4065
4065
|
return t === void 0 ? void 0 : e(t);
|
|
4066
4066
|
}
|
|
4067
4067
|
class v {
|
|
@@ -4101,11 +4101,11 @@
|
|
|
4101
4101
|
resolveWithCommon(e, ...n) {
|
|
4102
4102
|
const r = [
|
|
4103
4103
|
...this.resolvePath,
|
|
4104
|
-
...n.map((
|
|
4104
|
+
...n.map((s) => typeof s == "string" ? s : s.field)
|
|
4105
4105
|
];
|
|
4106
|
-
return
|
|
4106
|
+
return W(
|
|
4107
4107
|
c().resolveWithCommon(this.handle, e, ...n),
|
|
4108
|
-
(
|
|
4108
|
+
(s) => new v(s, r)
|
|
4109
4109
|
);
|
|
4110
4110
|
}
|
|
4111
4111
|
get resourceType() {
|
|
@@ -4125,7 +4125,7 @@
|
|
|
4125
4125
|
}
|
|
4126
4126
|
getError() {
|
|
4127
4127
|
const e = [...this.resolvePath, "error"];
|
|
4128
|
-
return
|
|
4128
|
+
return W(
|
|
4129
4129
|
c().getError(this.handle),
|
|
4130
4130
|
(n) => new v(n, e)
|
|
4131
4131
|
);
|
|
@@ -4166,9 +4166,9 @@
|
|
|
4166
4166
|
*/
|
|
4167
4167
|
getPColumns(e = false, n = "") {
|
|
4168
4168
|
const r = this.parsePObjectCollection(e, n);
|
|
4169
|
-
return r === void 0 ? void 0 : Object.entries(r).map(([,
|
|
4170
|
-
if (!W(
|
|
4171
|
-
return
|
|
4169
|
+
return r === void 0 ? void 0 : Object.entries(r).map(([, i2]) => {
|
|
4170
|
+
if (!W$1(i2)) throw new Error(`not a PColumn (kind = ${i2.spec.kind})`);
|
|
4171
|
+
return i2;
|
|
4172
4172
|
});
|
|
4173
4173
|
}
|
|
4174
4174
|
/**
|
|
@@ -4182,12 +4182,12 @@
|
|
|
4182
4182
|
...this.resolvePath
|
|
4183
4183
|
);
|
|
4184
4184
|
if (r === void 0) return;
|
|
4185
|
-
const
|
|
4186
|
-
for (const [
|
|
4187
|
-
const l = [...this.resolvePath,
|
|
4188
|
-
i2
|
|
4185
|
+
const s = {};
|
|
4186
|
+
for (const [i2, o] of Object.entries(r)) {
|
|
4187
|
+
const l = [...this.resolvePath, i2];
|
|
4188
|
+
s[i2] = lt(o, (a) => new v(a, l));
|
|
4189
4189
|
}
|
|
4190
|
-
return
|
|
4190
|
+
return s;
|
|
4191
4191
|
}
|
|
4192
4192
|
getFileContentAsBase64() {
|
|
4193
4193
|
return new b(c().getBlobContentAsBase64(this.handle));
|
|
@@ -4251,6 +4251,9 @@
|
|
|
4251
4251
|
getProgressLog(e) {
|
|
4252
4252
|
return new b(c().getProgressLog(this.handle, e));
|
|
4253
4253
|
}
|
|
4254
|
+
getProgressLogWithInfo(e) {
|
|
4255
|
+
return new b(c().getProgressLogWithInfo(this.handle, e));
|
|
4256
|
+
}
|
|
4254
4257
|
getLogHandle() {
|
|
4255
4258
|
return new b(c().getLogHandle(this.handle));
|
|
4256
4259
|
}
|
|
@@ -4267,18 +4270,18 @@
|
|
|
4267
4270
|
}
|
|
4268
4271
|
}
|
|
4269
4272
|
mapFields(e, n) {
|
|
4270
|
-
const { fieldType: r, requireLocked:
|
|
4273
|
+
const { fieldType: r, requireLocked: s, skipUnresolved: i2 } = {
|
|
4271
4274
|
fieldType: "Input",
|
|
4272
4275
|
requireLocked: true,
|
|
4273
4276
|
skipUnresolved: false,
|
|
4274
4277
|
...n
|
|
4275
4278
|
}, o = e;
|
|
4276
|
-
if (
|
|
4279
|
+
if (s && (r === "Input" && !this.getInputsLocked() || r === "Output" && !this.getOutputsLocked()))
|
|
4277
4280
|
return;
|
|
4278
4281
|
let a = (r === "Input" ? this.listInputFields() : r === "Output" ? this.listOutputFields() : this.listDynamicFields()).map(
|
|
4279
4282
|
(u) => [u, this.resolve({ field: u, assertFieldType: r })]
|
|
4280
4283
|
);
|
|
4281
|
-
return
|
|
4284
|
+
return i2 && (a = a.filter((u) => u[1] !== void 0)), a.map(([u, h]) => o(u, h));
|
|
4282
4285
|
}
|
|
4283
4286
|
}
|
|
4284
4287
|
const ae = "staging", le = "main";
|
|
@@ -4289,19 +4292,19 @@
|
|
|
4289
4292
|
label: z.string()
|
|
4290
4293
|
}), xe = z.array(Fe), Te = 1e-3, Oe = "__LABEL__", ee = "__LABEL__@1";
|
|
4291
4294
|
function ke(t, e, n = {}) {
|
|
4292
|
-
const r = /* @__PURE__ */ new Map(),
|
|
4295
|
+
const r = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), i2 = t.map((p) => {
|
|
4293
4296
|
var R, Q2;
|
|
4294
4297
|
const g = e(p), f2 = (R = g.annotations) == null ? void 0 : R[Ie], A = (Q2 = g.annotations) == null ? void 0 : Q2[Re], y = (A ? xe.safeParse(JSON.parse(A)).data : void 0) ?? [];
|
|
4295
4298
|
if (f2) {
|
|
4296
4299
|
const w = { label: f2, type: Oe, importance: -2 };
|
|
4297
4300
|
n.addLabelAsSuffix ? y.push(w) : y.splice(0, 0, w);
|
|
4298
4301
|
}
|
|
4299
|
-
const I = [],
|
|
4302
|
+
const I = [], L = /* @__PURE__ */ new Map();
|
|
4300
4303
|
for (let w = y.length - 1; w >= 0; --w) {
|
|
4301
|
-
const { type: N } = y[w], pe = y[w].importance ?? 0, M = (
|
|
4302
|
-
|
|
4304
|
+
const { type: N } = y[w], pe = y[w].importance ?? 0, M = (L.get(N) ?? 0) + 1;
|
|
4305
|
+
L.set(N, M);
|
|
4303
4306
|
const F = `${N}@${M}`;
|
|
4304
|
-
|
|
4307
|
+
s.set(F, (s.get(F) ?? 0) + 1), r.set(
|
|
4305
4308
|
F,
|
|
4306
4309
|
Math.max(
|
|
4307
4310
|
r.get(F) ?? Number.NEGATIVE_INFINITY,
|
|
@@ -4318,8 +4321,8 @@
|
|
|
4318
4321
|
}), o = [], l = [], a = [...r];
|
|
4319
4322
|
a.sort(([, p], [, g]) => g - p);
|
|
4320
4323
|
for (const [p] of a)
|
|
4321
|
-
p.endsWith("@1") ||
|
|
4322
|
-
const u = (p) =>
|
|
4324
|
+
p.endsWith("@1") || s.get(p) === t.length ? o.push(p) : l.push(p);
|
|
4325
|
+
const u = (p) => i2.map((g) => {
|
|
4323
4326
|
const f2 = g.fullTrace.filter((y) => p.has(y.fullType)).map((y) => y.label), A = n.separator ?? " / ";
|
|
4324
4327
|
return {
|
|
4325
4328
|
label: f2.join(A),
|
|
@@ -4342,7 +4345,7 @@
|
|
|
4342
4345
|
}
|
|
4343
4346
|
return u(/* @__PURE__ */ new Set([...o, ...l]));
|
|
4344
4347
|
}
|
|
4345
|
-
class
|
|
4348
|
+
class Le {
|
|
4346
4349
|
constructor() {
|
|
4347
4350
|
S(this, "ctx", c());
|
|
4348
4351
|
S(this, "defaultLabelFn", (e, n) => {
|
|
@@ -4357,13 +4360,13 @@
|
|
|
4357
4360
|
return this.ctx.calculateOptions(e);
|
|
4358
4361
|
}
|
|
4359
4362
|
getOptions(e, n) {
|
|
4360
|
-
const r = this.getSpecs().entries.filter((
|
|
4361
|
-
return typeof n == "object" || typeof n > "u" ? ke(r, (
|
|
4362
|
-
ref:
|
|
4363
|
-
label:
|
|
4364
|
-
})) : r.map((
|
|
4365
|
-
ref:
|
|
4366
|
-
label: n(
|
|
4363
|
+
const r = this.getSpecs().entries.filter((s) => e(s.obj));
|
|
4364
|
+
return typeof n == "object" || typeof n > "u" ? ke(r, (s) => s.obj, n ?? {}).map(({ value: { ref: s }, label: i2 }) => ({
|
|
4365
|
+
ref: s,
|
|
4366
|
+
label: i2
|
|
4367
|
+
})) : r.map((s) => ({
|
|
4368
|
+
ref: s.ref,
|
|
4369
|
+
label: n(s.obj, s.ref)
|
|
4367
4370
|
}));
|
|
4368
4371
|
}
|
|
4369
4372
|
/**
|
|
@@ -4471,10 +4474,10 @@
|
|
|
4471
4474
|
e: for (const r of this.getData().entries) {
|
|
4472
4475
|
if (!i(r.obj.spec))
|
|
4473
4476
|
continue;
|
|
4474
|
-
const
|
|
4475
|
-
if (e.name ===
|
|
4476
|
-
for (let
|
|
4477
|
-
const o = e.axesSpec[
|
|
4477
|
+
const s = r.obj.spec;
|
|
4478
|
+
if (e.name === s.name && e.valueType === s.valueType && e.axesSpec.length === s.axesSpec.length && q(e.domain, s.domain)) {
|
|
4479
|
+
for (let i2 = 0; i2 < e.axesSpec.length; ++i2) {
|
|
4480
|
+
const o = e.axesSpec[i2], l = s.axesSpec[i2];
|
|
4478
4481
|
if (o.name !== l.name || o.type !== l.type || !q(o.domain, l.domain))
|
|
4479
4482
|
continue e;
|
|
4480
4483
|
}
|
|
@@ -4497,7 +4500,7 @@
|
|
|
4497
4500
|
S(this, "args");
|
|
4498
4501
|
S(this, "uiState");
|
|
4499
4502
|
S(this, "_activeArgsCache");
|
|
4500
|
-
S(this, "resultPool", new
|
|
4503
|
+
S(this, "resultPool", new Le());
|
|
4501
4504
|
this.ctx = c(), this.args = JSON.parse(this.ctx.args), this.uiState = this.ctx.uiState !== void 0 ? JSON.parse(this.ctx.uiState) : {};
|
|
4502
4505
|
}
|
|
4503
4506
|
/**
|
|
@@ -4514,7 +4517,7 @@
|
|
|
4514
4517
|
// return this.ctx.featureFlags;
|
|
4515
4518
|
// }
|
|
4516
4519
|
getNamedAccessor(e) {
|
|
4517
|
-
return
|
|
4520
|
+
return W(
|
|
4518
4521
|
this.ctx.getAccessorHandleByName(e),
|
|
4519
4522
|
(n) => new v(n, [e])
|
|
4520
4523
|
);
|
|
@@ -4532,9 +4535,9 @@
|
|
|
4532
4535
|
findLabels(e) {
|
|
4533
4536
|
const n = this.resultPool.getData();
|
|
4534
4537
|
for (const r of n.entries) {
|
|
4535
|
-
if (!W(r.obj)) continue;
|
|
4536
|
-
const
|
|
4537
|
-
if (
|
|
4538
|
+
if (!W$1(r.obj)) continue;
|
|
4539
|
+
const s = r.obj.spec;
|
|
4540
|
+
if (s.name === "pl7.app/label" && s.axesSpec.length === 1 && s.axesSpec[0].name === e.name && s.axesSpec[0].type === e.type && q(e.domain, s.axesSpec[0].domain)) {
|
|
4538
4541
|
if (r.obj.data.resourceType.name !== "PColumnData/Json")
|
|
4539
4542
|
throw Error(`Expected JSON column for labels, got: ${r.obj.data.resourceType.name}`);
|
|
4540
4543
|
return Object.fromEntries(
|
|
@@ -4546,8 +4549,8 @@
|
|
|
4546
4549
|
}
|
|
4547
4550
|
}
|
|
4548
4551
|
verifyInlineColumnsSupport(e) {
|
|
4549
|
-
var
|
|
4550
|
-
const n = e.some((
|
|
4552
|
+
var s;
|
|
4553
|
+
const n = e.some((i2) => !(i2.data instanceof v)), r = ((s = this.ctx.featureFlags) == null ? void 0 : s.inlineColumnsSupport) === true;
|
|
4551
4554
|
if (n && !r) throw Error("inline columns not supported");
|
|
4552
4555
|
}
|
|
4553
4556
|
createPFrame(e) {
|
|
@@ -4567,7 +4570,7 @@
|
|
|
4567
4570
|
} : n = e, this.verifyInlineColumnsSupport(pt(n.src)), this.ctx.createPTable(
|
|
4568
4571
|
it(
|
|
4569
4572
|
n,
|
|
4570
|
-
(r) => lt(r, (
|
|
4573
|
+
(r) => lt(r, (s) => s instanceof v ? s.handle : s)
|
|
4571
4574
|
)
|
|
4572
4575
|
);
|
|
4573
4576
|
}
|
|
@@ -4580,7 +4583,7 @@
|
|
|
4580
4583
|
return this.ctx.getCurrentUnstableMarker();
|
|
4581
4584
|
}
|
|
4582
4585
|
}
|
|
4583
|
-
const T = "1.22.
|
|
4586
|
+
const T = "1.22.18";
|
|
4584
4587
|
function Ee(t) {
|
|
4585
4588
|
return t.__renderLambda === true;
|
|
4586
4589
|
}
|
|
@@ -4589,8 +4592,8 @@
|
|
|
4589
4592
|
return Ee(t) ? t.handle : t;
|
|
4590
4593
|
}
|
|
4591
4594
|
class _ {
|
|
4592
|
-
constructor(e, n, r,
|
|
4593
|
-
this._renderingMode = e, this._initialArgs = n, this._initialUiState = r, this._outputs =
|
|
4595
|
+
constructor(e, n, r, s, i2, o, l) {
|
|
4596
|
+
this._renderingMode = e, this._initialArgs = n, this._initialUiState = r, this._outputs = s, this._inputsValid = i2, this._sections = o, this._title = l;
|
|
4594
4597
|
}
|
|
4595
4598
|
static create(e = "Heavy") {
|
|
4596
4599
|
return new _(
|
|
@@ -4605,8 +4608,8 @@
|
|
|
4605
4608
|
}
|
|
4606
4609
|
output(e, n, r = {}) {
|
|
4607
4610
|
if (typeof n == "function") {
|
|
4608
|
-
const
|
|
4609
|
-
return
|
|
4611
|
+
const s = `output#${e}`;
|
|
4612
|
+
return D(s, () => n(new E())), new _(
|
|
4610
4613
|
this._renderingMode,
|
|
4611
4614
|
this._initialArgs,
|
|
4612
4615
|
this._initialUiState,
|
|
@@ -4614,7 +4617,7 @@
|
|
|
4614
4617
|
...this._outputs,
|
|
4615
4618
|
[e]: {
|
|
4616
4619
|
__renderLambda: true,
|
|
4617
|
-
handle:
|
|
4620
|
+
handle: s,
|
|
4618
4621
|
...r
|
|
4619
4622
|
}
|
|
4620
4623
|
},
|
|
@@ -4641,7 +4644,7 @@
|
|
|
4641
4644
|
return this.output(e, n, { retentive: true });
|
|
4642
4645
|
}
|
|
4643
4646
|
argsValid(e) {
|
|
4644
|
-
return typeof e == "function" ? (
|
|
4647
|
+
return typeof e == "function" ? (D("inputsValid", () => e(new E())), new _(
|
|
4645
4648
|
this._renderingMode,
|
|
4646
4649
|
this._initialArgs,
|
|
4647
4650
|
this._initialUiState,
|
|
@@ -4663,7 +4666,7 @@
|
|
|
4663
4666
|
);
|
|
4664
4667
|
}
|
|
4665
4668
|
sections(e) {
|
|
4666
|
-
return Array.isArray(e) ? this.sections(V(e)) : typeof e == "function" ? (
|
|
4669
|
+
return Array.isArray(e) ? this.sections(V(e)) : typeof e == "function" ? (D("sections", () => e(new E())), new _(
|
|
4667
4670
|
this._renderingMode,
|
|
4668
4671
|
this._initialArgs,
|
|
4669
4672
|
this._initialUiState,
|
|
@@ -4683,7 +4686,7 @@
|
|
|
4683
4686
|
}
|
|
4684
4687
|
/** Sets a rendering function to derive block title, shown for the block in the left blocks-overview panel. */
|
|
4685
4688
|
title(e) {
|
|
4686
|
-
return
|
|
4689
|
+
return D("title", () => e(new E())), new _(
|
|
4687
4690
|
this._renderingMode,
|
|
4688
4691
|
this._initialArgs,
|
|
4689
4692
|
this._initialUiState,
|
|
@@ -4761,10 +4764,10 @@
|
|
|
4761
4764
|
return Se() ? oe({ sdkVersion: T }) : { config: e };
|
|
4762
4765
|
}
|
|
4763
4766
|
}
|
|
4764
|
-
function
|
|
4767
|
+
function wt(t, e, n, r) {
|
|
4765
4768
|
var u, h;
|
|
4766
4769
|
Array.isArray(r) && (r = { filters: r });
|
|
4767
|
-
const
|
|
4770
|
+
const s = t.resultPool.getData().entries.map((d) => d.obj).filter(W$1).filter((d) => d.spec.name === "pl7.app/label" && d.spec.axesSpec.length === 1), i2 = (d, p) => {
|
|
4768
4771
|
let g = d.toString();
|
|
4769
4772
|
if (p)
|
|
4770
4773
|
for (const f2 in p)
|
|
@@ -4774,12 +4777,12 @@
|
|
|
4774
4777
|
for (const d of e)
|
|
4775
4778
|
for (const p of d.spec.axesSpec) {
|
|
4776
4779
|
const g = J$1(p);
|
|
4777
|
-
for (const f2 of
|
|
4780
|
+
for (const f2 of s) {
|
|
4778
4781
|
const A = f2.spec.axesSpec[0], y = J$1(f2.spec.axesSpec[0]);
|
|
4779
4782
|
if (ot(g, y)) {
|
|
4780
|
-
const I = Object.keys(g.domain ?? {}).length,
|
|
4781
|
-
if (I >
|
|
4782
|
-
const R =
|
|
4783
|
+
const I = Object.keys(g.domain ?? {}).length, L = Object.keys(y.domain ?? {}).length;
|
|
4784
|
+
if (I > L) {
|
|
4785
|
+
const R = i2(f2.id, g.domain);
|
|
4783
4786
|
o.set(R, {
|
|
4784
4787
|
id: R,
|
|
4785
4788
|
spec: {
|
|
@@ -4789,7 +4792,7 @@
|
|
|
4789
4792
|
data: f2.data
|
|
4790
4793
|
});
|
|
4791
4794
|
} else
|
|
4792
|
-
o.set(
|
|
4795
|
+
o.set(i2(f2.id), f2);
|
|
4793
4796
|
}
|
|
4794
4797
|
}
|
|
4795
4798
|
}
|
|
@@ -4826,7 +4829,7 @@
|
|
|
4826
4829
|
}).output("pt", (ctx) => {
|
|
4827
4830
|
var _a, _b, _c, _d, _e;
|
|
4828
4831
|
if (!((_c = (_b = (_a = ctx.uiState) == null ? void 0 : _a.dataTableState) == null ? void 0 : _b.tableState.pTableParams) == null ? void 0 : _c.filters)) return void 0;
|
|
4829
|
-
return
|
|
4832
|
+
return wt(ctx, [
|
|
4830
4833
|
{
|
|
4831
4834
|
id: "example",
|
|
4832
4835
|
spec: {
|
|
@@ -4874,6 +4877,7 @@
|
|
|
4874
4877
|
{ type: "link", href: "/typography", label: "Typography" },
|
|
4875
4878
|
{ type: "link", href: "/ag-grid-vue", label: "AgGridVue" },
|
|
4876
4879
|
{ type: "link", href: "/pl-ag-data-table", label: "PlAgDataTable" },
|
|
4880
|
+
{ type: "link", href: "/pl-ag-overlay-loading", label: "PlAgOverlayLoadingPage" },
|
|
4877
4881
|
{ type: "link", href: "/errors", label: "Errors" },
|
|
4878
4882
|
{ type: "link", href: "/text-fields", label: "PlTextField" },
|
|
4879
4883
|
{ type: "link", href: "/tabs", label: "PlTabs" },
|