@milaboratories/milaboratories.ui-examples.model 1.1.23 → 1.1.24
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 +7 -7
- package/CHANGELOG.md +7 -0
- package/dist/bundle.js +182 -182
- package/dist/bundle.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +3 -3
package/dist/bundle.js
CHANGED
|
@@ -2693,17 +2693,17 @@
|
|
|
2693
2693
|
});
|
|
2694
2694
|
}
|
|
2695
2695
|
}
|
|
2696
|
-
function mergeValues(a,
|
|
2696
|
+
function mergeValues(a, b) {
|
|
2697
2697
|
const aType = getParsedType(a);
|
|
2698
|
-
const bType = getParsedType(
|
|
2699
|
-
if (a ===
|
|
2698
|
+
const bType = getParsedType(b);
|
|
2699
|
+
if (a === b) {
|
|
2700
2700
|
return { valid: true, data: a };
|
|
2701
2701
|
} else if (aType === ZodParsedType.object && bType === ZodParsedType.object) {
|
|
2702
|
-
const bKeys = util.objectKeys(
|
|
2702
|
+
const bKeys = util.objectKeys(b);
|
|
2703
2703
|
const sharedKeys = util.objectKeys(a).filter((key) => bKeys.indexOf(key) !== -1);
|
|
2704
|
-
const newObj = { ...a, ...
|
|
2704
|
+
const newObj = { ...a, ...b };
|
|
2705
2705
|
for (const key of sharedKeys) {
|
|
2706
|
-
const sharedValue = mergeValues(a[key],
|
|
2706
|
+
const sharedValue = mergeValues(a[key], b[key]);
|
|
2707
2707
|
if (!sharedValue.valid) {
|
|
2708
2708
|
return { valid: false };
|
|
2709
2709
|
}
|
|
@@ -2711,13 +2711,13 @@
|
|
|
2711
2711
|
}
|
|
2712
2712
|
return { valid: true, data: newObj };
|
|
2713
2713
|
} else if (aType === ZodParsedType.array && bType === ZodParsedType.array) {
|
|
2714
|
-
if (a.length !==
|
|
2714
|
+
if (a.length !== b.length) {
|
|
2715
2715
|
return { valid: false };
|
|
2716
2716
|
}
|
|
2717
2717
|
const newArray = [];
|
|
2718
2718
|
for (let index = 0; index < a.length; index++) {
|
|
2719
2719
|
const itemA = a[index];
|
|
2720
|
-
const itemB =
|
|
2720
|
+
const itemB = b[index];
|
|
2721
2721
|
const sharedValue = mergeValues(itemA, itemB);
|
|
2722
2722
|
if (!sharedValue.valid) {
|
|
2723
2723
|
return { valid: false };
|
|
@@ -2725,7 +2725,7 @@
|
|
|
2725
2725
|
newArray.push(sharedValue.data);
|
|
2726
2726
|
}
|
|
2727
2727
|
return { valid: true, data: newArray };
|
|
2728
|
-
} else if (aType === ZodParsedType.date && bType === ZodParsedType.date && +a === +
|
|
2728
|
+
} else if (aType === ZodParsedType.date && bType === ZodParsedType.date && +a === +b) {
|
|
2729
2729
|
return { valid: true, data: a };
|
|
2730
2730
|
} else {
|
|
2731
2731
|
return { valid: false };
|
|
@@ -3696,10 +3696,10 @@
|
|
|
3696
3696
|
}
|
|
3697
3697
|
}
|
|
3698
3698
|
}
|
|
3699
|
-
static create(a,
|
|
3699
|
+
static create(a, b) {
|
|
3700
3700
|
return new ZodPipeline({
|
|
3701
3701
|
in: a,
|
|
3702
|
-
out:
|
|
3702
|
+
out: b,
|
|
3703
3703
|
typeName: ZodFirstPartyTypeKind.ZodPipeline
|
|
3704
3704
|
});
|
|
3705
3705
|
}
|
|
@@ -3994,7 +3994,7 @@
|
|
|
3994
3994
|
g(n);
|
|
3995
3995
|
}
|
|
3996
3996
|
}
|
|
3997
|
-
function A
|
|
3997
|
+
function A(n) {
|
|
3998
3998
|
return k(h(n));
|
|
3999
3999
|
}
|
|
4000
4000
|
function x(n, t) {
|
|
@@ -4015,15 +4015,15 @@
|
|
|
4015
4015
|
e.sort((r, o) => r[0].localeCompare(o[0]));
|
|
4016
4016
|
for (const [r, o] of e) {
|
|
4017
4017
|
for (let i = 0; i < o.axesSpec.length; i++) {
|
|
4018
|
-
const a = o.axesSpec[i], s = A
|
|
4018
|
+
const a = o.axesSpec[i], s = A(a);
|
|
4019
4019
|
this.axes.set(s, { anchor: r, idx: i });
|
|
4020
4020
|
}
|
|
4021
4021
|
if (o.domain !== void 0) {
|
|
4022
4022
|
const i = Object.entries(o.domain);
|
|
4023
4023
|
i.sort((a, s) => a[0].localeCompare(s[0])), this.domainPackToAnchor.set(JSON.stringify(i), r), this.domainPacks.push(i.map(([a]) => a));
|
|
4024
4024
|
for (const [a, s] of i) {
|
|
4025
|
-
const
|
|
4026
|
-
this.domains.set(
|
|
4025
|
+
const c = x(a, s);
|
|
4026
|
+
this.domains.set(c, r);
|
|
4027
4027
|
}
|
|
4028
4028
|
}
|
|
4029
4029
|
}
|
|
@@ -4045,9 +4045,9 @@
|
|
|
4045
4045
|
for (const o of this.domainPacks) {
|
|
4046
4046
|
const i = [];
|
|
4047
4047
|
for (const s of o) {
|
|
4048
|
-
const
|
|
4049
|
-
if (
|
|
4050
|
-
i.push([s,
|
|
4048
|
+
const c = t.domain[s];
|
|
4049
|
+
if (c !== void 0)
|
|
4050
|
+
i.push([s, c]);
|
|
4051
4051
|
else
|
|
4052
4052
|
break n;
|
|
4053
4053
|
}
|
|
@@ -4064,7 +4064,7 @@
|
|
|
4064
4064
|
e.domain ?? (e.domain = {}), e.domain[o] = s ? { anchor: s } : i;
|
|
4065
4065
|
}
|
|
4066
4066
|
return e.axes = t.axesSpec.map((o) => {
|
|
4067
|
-
const i = A
|
|
4067
|
+
const i = A(o);
|
|
4068
4068
|
return this.axes.get(i) ?? o;
|
|
4069
4069
|
}), e;
|
|
4070
4070
|
}
|
|
@@ -4134,11 +4134,11 @@
|
|
|
4134
4134
|
function Z(n) {
|
|
4135
4135
|
return typeof n == "object" && "anchor" in n;
|
|
4136
4136
|
}
|
|
4137
|
-
function f(n) {
|
|
4137
|
+
function f$1(n) {
|
|
4138
4138
|
return n.kind === "PColumn";
|
|
4139
4139
|
}
|
|
4140
4140
|
function q$1(n) {
|
|
4141
|
-
return f(n.spec);
|
|
4141
|
+
return f$1(n.spec);
|
|
4142
4142
|
}
|
|
4143
4143
|
function En(n) {
|
|
4144
4144
|
if (!q$1(n)) throw new Error(`not a PColumn (kind = ${n.spec.kind})`);
|
|
@@ -4170,7 +4170,7 @@
|
|
|
4170
4170
|
};
|
|
4171
4171
|
return e(n), [...t.values()];
|
|
4172
4172
|
}
|
|
4173
|
-
function P(n, t) {
|
|
4173
|
+
function P$1(n, t) {
|
|
4174
4174
|
if (n.name !== void 0 && n.name !== t.name)
|
|
4175
4175
|
return false;
|
|
4176
4176
|
if (n.type !== void 0) {
|
|
@@ -4208,13 +4208,13 @@
|
|
|
4208
4208
|
const e = n.axesSpec.map(h);
|
|
4209
4209
|
if (t.partialAxesMatch) {
|
|
4210
4210
|
for (const r of t.axes)
|
|
4211
|
-
if (!e.some((o) => P(r, o)))
|
|
4211
|
+
if (!e.some((o) => P$1(r, o)))
|
|
4212
4212
|
return false;
|
|
4213
4213
|
} else {
|
|
4214
4214
|
if (e.length !== t.axes.length)
|
|
4215
4215
|
return false;
|
|
4216
4216
|
for (let r = 0; r < t.axes.length; r++)
|
|
4217
|
-
if (!P(t.axes[r], e[r]))
|
|
4217
|
+
if (!P$1(t.axes[r], e[r]))
|
|
4218
4218
|
return false;
|
|
4219
4219
|
}
|
|
4220
4220
|
}
|
|
@@ -4235,7 +4235,7 @@
|
|
|
4235
4235
|
return true;
|
|
4236
4236
|
}
|
|
4237
4237
|
function Nn(n) {
|
|
4238
|
-
return Array.isArray(n) ? (t) => n.some((e) => f(t) && E$1(t, e)) : (t) => f(t) && E$1(t, n);
|
|
4238
|
+
return Array.isArray(n) ? (t) => n.some((e) => f$1(t) && E$1(t, e)) : (t) => f$1(t) && E$1(t, n);
|
|
4239
4239
|
}
|
|
4240
4240
|
z$2.object({
|
|
4241
4241
|
__isRef: z$2.literal(true).describe("Crucial marker for the block dependency tree reconstruction"),
|
|
@@ -4252,54 +4252,54 @@
|
|
|
4252
4252
|
}
|
|
4253
4253
|
const on = 24;
|
|
4254
4254
|
z$2.string().length(on).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
|
|
4255
|
-
var
|
|
4256
|
-
var
|
|
4257
|
-
var
|
|
4255
|
+
var ve = Object.defineProperty;
|
|
4256
|
+
var _e = (t, e, n) => e in t ? ve(t, e, { enumerable: true, configurable: true, writable: true, value: n }) : t[e] = n;
|
|
4257
|
+
var P = (t, e, n) => _e(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4258
4258
|
function j(t) {
|
|
4259
4259
|
return { type: "Immediate", value: t };
|
|
4260
4260
|
}
|
|
4261
|
-
function
|
|
4261
|
+
function Fe() {
|
|
4262
4262
|
return typeof globalThis.getPlatforma < "u" || typeof globalThis.platforma < "u";
|
|
4263
4263
|
}
|
|
4264
|
-
function
|
|
4264
|
+
function de(t) {
|
|
4265
4265
|
if (t && typeof globalThis.getPlatforma == "function")
|
|
4266
4266
|
return globalThis.getPlatforma(t);
|
|
4267
4267
|
if (typeof globalThis.platforma < "u") return globalThis.platforma;
|
|
4268
4268
|
throw new Error("Can't get platforma instance.");
|
|
4269
4269
|
}
|
|
4270
|
-
function
|
|
4270
|
+
function Te() {
|
|
4271
4271
|
if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
|
|
4272
4272
|
}
|
|
4273
|
-
function
|
|
4273
|
+
function f() {
|
|
4274
4274
|
if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
|
|
4275
4275
|
throw new Error("Not in config rendering context");
|
|
4276
4276
|
}
|
|
4277
4277
|
function E(t, e) {
|
|
4278
|
-
const n =
|
|
4278
|
+
const n = Te();
|
|
4279
4279
|
if (n === void 0) return false;
|
|
4280
4280
|
if (t in n.callbackRegistry) throw new Error(`Callback with key ${t} already registered.`);
|
|
4281
4281
|
return n.callbackRegistry[t] = e, true;
|
|
4282
4282
|
}
|
|
4283
4283
|
const W = /* @__PURE__ */ new Map();
|
|
4284
4284
|
function xe(t, e) {
|
|
4285
|
-
t in
|
|
4285
|
+
t in f().callbackRegistry || (f().callbackRegistry[t] = (n) => {
|
|
4286
4286
|
for (const s of W.get(t))
|
|
4287
4287
|
s(n);
|
|
4288
4288
|
}, W.set(t, [])), W.get(t).push(e);
|
|
4289
4289
|
}
|
|
4290
|
-
class
|
|
4290
|
+
class _ {
|
|
4291
4291
|
constructor(e, n = (s) => s) {
|
|
4292
|
-
|
|
4293
|
-
|
|
4292
|
+
P(this, "isResolved", false);
|
|
4293
|
+
P(this, "resolvedValue");
|
|
4294
4294
|
this.handle = e, this.postProcess = n, xe(e, (s) => {
|
|
4295
4295
|
this.resolvedValue = n(s), this.isResolved = true;
|
|
4296
4296
|
});
|
|
4297
4297
|
}
|
|
4298
4298
|
map(e) {
|
|
4299
|
-
return new
|
|
4299
|
+
return new _(this.handle, (n) => e(this.postProcess(n)));
|
|
4300
4300
|
}
|
|
4301
4301
|
mapDefined(e) {
|
|
4302
|
-
return new
|
|
4302
|
+
return new _(this.handle, (n) => {
|
|
4303
4303
|
const s = this.postProcess(n);
|
|
4304
4304
|
return s ? e(s) : void 0;
|
|
4305
4305
|
});
|
|
@@ -4311,7 +4311,7 @@
|
|
|
4311
4311
|
function z(t, e) {
|
|
4312
4312
|
return t === void 0 ? void 0 : e(t);
|
|
4313
4313
|
}
|
|
4314
|
-
class
|
|
4314
|
+
class S {
|
|
4315
4315
|
constructor(e, n) {
|
|
4316
4316
|
this.handle = e, this.resolvePath = n;
|
|
4317
4317
|
}
|
|
@@ -4351,46 +4351,46 @@
|
|
|
4351
4351
|
...n.map((r) => typeof r == "string" ? r : r.field)
|
|
4352
4352
|
];
|
|
4353
4353
|
return z(
|
|
4354
|
-
|
|
4355
|
-
(r) => new
|
|
4354
|
+
f().resolveWithCommon(this.handle, e, ...n),
|
|
4355
|
+
(r) => new S(r, s)
|
|
4356
4356
|
);
|
|
4357
4357
|
}
|
|
4358
4358
|
get resourceType() {
|
|
4359
|
-
return
|
|
4359
|
+
return f().getResourceType(this.handle);
|
|
4360
4360
|
}
|
|
4361
4361
|
getInputsLocked() {
|
|
4362
|
-
return
|
|
4362
|
+
return f().getInputsLocked(this.handle);
|
|
4363
4363
|
}
|
|
4364
4364
|
getOutputsLocked() {
|
|
4365
|
-
return
|
|
4365
|
+
return f().getOutputsLocked(this.handle);
|
|
4366
4366
|
}
|
|
4367
4367
|
getIsReadyOrError() {
|
|
4368
|
-
return
|
|
4368
|
+
return f().getIsReadyOrError(this.handle);
|
|
4369
4369
|
}
|
|
4370
4370
|
getIsFinal() {
|
|
4371
|
-
return
|
|
4371
|
+
return f().getIsFinal(this.handle);
|
|
4372
4372
|
}
|
|
4373
4373
|
getError() {
|
|
4374
4374
|
const e = [...this.resolvePath, "error"];
|
|
4375
4375
|
return z(
|
|
4376
|
-
|
|
4377
|
-
(n) => new
|
|
4376
|
+
f().getError(this.handle),
|
|
4377
|
+
(n) => new S(n, e)
|
|
4378
4378
|
);
|
|
4379
4379
|
}
|
|
4380
4380
|
listInputFields() {
|
|
4381
|
-
return
|
|
4381
|
+
return f().listInputFields(this.handle);
|
|
4382
4382
|
}
|
|
4383
4383
|
listOutputFields() {
|
|
4384
|
-
return
|
|
4384
|
+
return f().listOutputFields(this.handle);
|
|
4385
4385
|
}
|
|
4386
4386
|
listDynamicFields() {
|
|
4387
|
-
return
|
|
4387
|
+
return f().listDynamicFields(this.handle);
|
|
4388
4388
|
}
|
|
4389
4389
|
getKeyValueBase64(e) {
|
|
4390
|
-
return
|
|
4390
|
+
return f().getKeyValueBase64(this.handle, e);
|
|
4391
4391
|
}
|
|
4392
4392
|
getKeyValueAsString(e) {
|
|
4393
|
-
return
|
|
4393
|
+
return f().getKeyValueAsString(this.handle, e);
|
|
4394
4394
|
}
|
|
4395
4395
|
getKeyValueAsJson(e) {
|
|
4396
4396
|
const n = this.getKeyValueAsString(e);
|
|
@@ -4398,10 +4398,10 @@
|
|
|
4398
4398
|
return JSON.parse(n);
|
|
4399
4399
|
}
|
|
4400
4400
|
getDataBase64() {
|
|
4401
|
-
return
|
|
4401
|
+
return f().getDataBase64(this.handle);
|
|
4402
4402
|
}
|
|
4403
4403
|
getDataAsString() {
|
|
4404
|
-
return
|
|
4404
|
+
return f().getDataAsString(this.handle);
|
|
4405
4405
|
}
|
|
4406
4406
|
getDataAsJson() {
|
|
4407
4407
|
const e = this.getDataAsString();
|
|
@@ -4422,7 +4422,7 @@
|
|
|
4422
4422
|
*
|
|
4423
4423
|
*/
|
|
4424
4424
|
parsePObjectCollection(e = false, n = "") {
|
|
4425
|
-
const s =
|
|
4425
|
+
const s = f().parsePObjectCollection(
|
|
4426
4426
|
this.handle,
|
|
4427
4427
|
e,
|
|
4428
4428
|
n,
|
|
@@ -4432,19 +4432,19 @@
|
|
|
4432
4432
|
const r = {};
|
|
4433
4433
|
for (const [i, o] of Object.entries(s)) {
|
|
4434
4434
|
const l2 = [...this.resolvePath, i];
|
|
4435
|
-
r[i] = kn(o, (a) => new
|
|
4435
|
+
r[i] = kn(o, (a) => new S(a, l2));
|
|
4436
4436
|
}
|
|
4437
4437
|
return r;
|
|
4438
4438
|
}
|
|
4439
4439
|
getFileContentAsBase64() {
|
|
4440
|
-
return new
|
|
4440
|
+
return new _(f().getBlobContentAsBase64(this.handle));
|
|
4441
4441
|
}
|
|
4442
4442
|
getFileContentAsString() {
|
|
4443
|
-
return new
|
|
4443
|
+
return new _(f().getBlobContentAsString(this.handle));
|
|
4444
4444
|
}
|
|
4445
4445
|
getFileContentAsJson() {
|
|
4446
|
-
return new
|
|
4447
|
-
|
|
4446
|
+
return new _(
|
|
4447
|
+
f().getBlobContentAsString(this.handle)
|
|
4448
4448
|
).mapDefined((e) => JSON.parse(e));
|
|
4449
4449
|
}
|
|
4450
4450
|
/**
|
|
@@ -4463,7 +4463,7 @@
|
|
|
4463
4463
|
* @returns downloaded file handle
|
|
4464
4464
|
*/
|
|
4465
4465
|
getFileHandle() {
|
|
4466
|
-
return new
|
|
4466
|
+
return new _(f().getDownloadedBlobContentHandle(this.handle));
|
|
4467
4467
|
}
|
|
4468
4468
|
/**
|
|
4469
4469
|
* @deprecated use getFileHandle
|
|
@@ -4475,7 +4475,7 @@
|
|
|
4475
4475
|
* @returns downloaded file handle
|
|
4476
4476
|
*/
|
|
4477
4477
|
getRemoteFileHandle() {
|
|
4478
|
-
return new
|
|
4478
|
+
return new _(f().getOnDemandBlobContentHandle(this.handle));
|
|
4479
4479
|
}
|
|
4480
4480
|
/**
|
|
4481
4481
|
* @deprecated use getRemoteFileHandle
|
|
@@ -4487,22 +4487,22 @@
|
|
|
4487
4487
|
* @returns the url to the extracted folder
|
|
4488
4488
|
*/
|
|
4489
4489
|
extractArchiveAndGetURL(e) {
|
|
4490
|
-
return new
|
|
4490
|
+
return new _(f().extractArchiveAndGetURL(this.handle, e));
|
|
4491
4491
|
}
|
|
4492
4492
|
getImportProgress() {
|
|
4493
|
-
return new
|
|
4493
|
+
return new _(f().getImportProgress(this.handle));
|
|
4494
4494
|
}
|
|
4495
4495
|
getLastLogs(e) {
|
|
4496
|
-
return new
|
|
4496
|
+
return new _(f().getLastLogs(this.handle, e));
|
|
4497
4497
|
}
|
|
4498
4498
|
getProgressLog(e) {
|
|
4499
|
-
return new
|
|
4499
|
+
return new _(f().getProgressLog(this.handle, e));
|
|
4500
4500
|
}
|
|
4501
4501
|
getProgressLogWithInfo(e) {
|
|
4502
|
-
return new
|
|
4502
|
+
return new _(f().getProgressLogWithInfo(this.handle, e));
|
|
4503
4503
|
}
|
|
4504
4504
|
getLogHandle() {
|
|
4505
|
-
return new
|
|
4505
|
+
return new _(f().getLogHandle(this.handle));
|
|
4506
4506
|
}
|
|
4507
4507
|
allFieldsResolved(e = "Input") {
|
|
4508
4508
|
switch (e) {
|
|
@@ -4528,74 +4528,74 @@
|
|
|
4528
4528
|
let a = (s === "Input" ? this.listInputFields() : s === "Output" ? this.listOutputFields() : this.listDynamicFields()).map(
|
|
4529
4529
|
(u) => [u, this.resolve({ field: u, assertFieldType: s })]
|
|
4530
4530
|
);
|
|
4531
|
-
return i && (a = a.filter((u) => u[1] !== void 0)), a.map(([u,
|
|
4531
|
+
return i && (a = a.filter((u) => u[1] !== void 0)), a.map(([u, g2]) => o(u, g2));
|
|
4532
4532
|
}
|
|
4533
4533
|
}
|
|
4534
|
-
const
|
|
4535
|
-
const
|
|
4534
|
+
const pe = "staging", fe = "main";
|
|
4535
|
+
const Oe = "pl7.app/label", ke = "pl7.app/trace", Ee = z$2.object({
|
|
4536
4536
|
type: z$2.string(),
|
|
4537
4537
|
importance: z$2.number().optional(),
|
|
4538
4538
|
id: z$2.string().optional(),
|
|
4539
4539
|
label: z$2.string()
|
|
4540
|
-
}),
|
|
4540
|
+
}), Ve = z$2.array(Ee), je = 1e-3, Ne = "__LABEL__", se = "__LABEL__@1";
|
|
4541
4541
|
function re(t, e, n = {}) {
|
|
4542
|
-
const s = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = t.map((
|
|
4543
|
-
var
|
|
4544
|
-
const
|
|
4545
|
-
if (
|
|
4546
|
-
const
|
|
4547
|
-
n.addLabelAsSuffix ?
|
|
4542
|
+
const s = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = t.map((d2) => {
|
|
4543
|
+
var A2, ee;
|
|
4544
|
+
const h2 = e(d2), p = (A2 = h2.annotations) == null ? void 0 : A2[Oe], b = (ee = h2.annotations) == null ? void 0 : ee[ke], m = (b ? Ve.safeParse(JSON.parse(b)).data : void 0) ?? [];
|
|
4545
|
+
if (p) {
|
|
4546
|
+
const C = { label: p, type: Ne, importance: -2 };
|
|
4547
|
+
n.addLabelAsSuffix ? m.push(C) : m.splice(0, 0, C);
|
|
4548
4548
|
}
|
|
4549
|
-
const
|
|
4550
|
-
for (let
|
|
4551
|
-
const { type:
|
|
4552
|
-
|
|
4553
|
-
const x2 = `${
|
|
4549
|
+
const I = [], v = /* @__PURE__ */ new Map();
|
|
4550
|
+
for (let C = m.length - 1; C >= 0; --C) {
|
|
4551
|
+
const { type: J } = m[C], be = m[C].importance ?? 0, M = (v.get(J) ?? 0) + 1;
|
|
4552
|
+
v.set(J, M);
|
|
4553
|
+
const x2 = `${J}@${M}`;
|
|
4554
4554
|
r.set(x2, (r.get(x2) ?? 0) + 1), s.set(
|
|
4555
4555
|
x2,
|
|
4556
4556
|
Math.max(
|
|
4557
4557
|
s.get(x2) ?? Number.NEGATIVE_INFINITY,
|
|
4558
|
-
|
|
4558
|
+
be - (m.length - C) * je
|
|
4559
4559
|
)
|
|
4560
|
-
),
|
|
4560
|
+
), I.push({ ...m[C], fullType: x2, occurenceIndex: M });
|
|
4561
4561
|
}
|
|
4562
|
-
return
|
|
4563
|
-
value:
|
|
4564
|
-
spec:
|
|
4565
|
-
label:
|
|
4566
|
-
fullTrace:
|
|
4562
|
+
return I.reverse(), {
|
|
4563
|
+
value: d2,
|
|
4564
|
+
spec: h2,
|
|
4565
|
+
label: p,
|
|
4566
|
+
fullTrace: I
|
|
4567
4567
|
};
|
|
4568
4568
|
}), o = [], l2 = [], a = [...s];
|
|
4569
|
-
a.sort(([,
|
|
4570
|
-
for (const [
|
|
4571
|
-
|
|
4572
|
-
const u = (
|
|
4573
|
-
const
|
|
4569
|
+
a.sort(([, d2], [, h2]) => h2 - d2);
|
|
4570
|
+
for (const [d2] of a)
|
|
4571
|
+
d2.endsWith("@1") || r.get(d2) === t.length ? o.push(d2) : l2.push(d2);
|
|
4572
|
+
const u = (d2) => i.map((h2) => {
|
|
4573
|
+
const p = h2.fullTrace.filter((m) => d2.has(m.fullType)).map((m) => m.label), b = n.separator ?? " / ";
|
|
4574
4574
|
return {
|
|
4575
|
-
label:
|
|
4576
|
-
value:
|
|
4575
|
+
label: p.join(b),
|
|
4576
|
+
value: h2.value
|
|
4577
4577
|
};
|
|
4578
4578
|
});
|
|
4579
4579
|
if (o.length === 0) {
|
|
4580
4580
|
if (l2.length !== 0) throw new Error("Assertion error.");
|
|
4581
4581
|
return u(new Set(se));
|
|
4582
4582
|
}
|
|
4583
|
-
let
|
|
4584
|
-
for (;
|
|
4585
|
-
const
|
|
4586
|
-
n.includeNativeLabel &&
|
|
4587
|
-
for (let
|
|
4588
|
-
|
|
4589
|
-
const
|
|
4590
|
-
if (new Set(
|
|
4591
|
-
|
|
4583
|
+
let g2 = 0, c = 0;
|
|
4584
|
+
for (; g2 < o.length; ) {
|
|
4585
|
+
const d2 = /* @__PURE__ */ new Set();
|
|
4586
|
+
n.includeNativeLabel && d2.add(se);
|
|
4587
|
+
for (let p = 0; p < g2; ++p) d2.add(o[p]);
|
|
4588
|
+
d2.add(o[c]);
|
|
4589
|
+
const h2 = u(d2);
|
|
4590
|
+
if (new Set(h2.map((p) => p.label)).size === t.length) return h2;
|
|
4591
|
+
c++, c == o.length && (g2++, c = g2);
|
|
4592
4592
|
}
|
|
4593
4593
|
return u(/* @__PURE__ */ new Set([...o, ...l2]));
|
|
4594
4594
|
}
|
|
4595
4595
|
class Ue {
|
|
4596
4596
|
constructor() {
|
|
4597
|
-
|
|
4598
|
-
|
|
4597
|
+
P(this, "ctx", f());
|
|
4598
|
+
P(this, "defaultLabelFn", (e, n) => {
|
|
4599
4599
|
var s;
|
|
4600
4600
|
return ((s = e.annotations) == null ? void 0 : s["pl7.app/label"]) ?? "Unlabelled";
|
|
4601
4601
|
});
|
|
@@ -4622,15 +4622,15 @@
|
|
|
4622
4622
|
if (!(e instanceof wn))
|
|
4623
4623
|
for (const [a, u] of Object.entries(e))
|
|
4624
4624
|
if (Vn(u)) {
|
|
4625
|
-
const
|
|
4626
|
-
if (!
|
|
4625
|
+
const g2 = this.getPColumnSpecByRef(u);
|
|
4626
|
+
if (!g2)
|
|
4627
4627
|
return;
|
|
4628
|
-
r[a] =
|
|
4628
|
+
r[a] = g2;
|
|
4629
4629
|
} else
|
|
4630
4630
|
r[a] = u;
|
|
4631
4631
|
const i = typeof n == "function" ? n : Nn(
|
|
4632
4632
|
Array.isArray(n) ? n.map((a) => An(r, a)) : An(r, n)
|
|
4633
|
-
), o = this.getSpecs().entries.filter(({ obj: a }) => f(a) ? i(a) : false), l2 = e instanceof wn ? e : new wn(r);
|
|
4633
|
+
), o = this.getSpecs().entries.filter(({ obj: a }) => f$1(a) ? i(a) : false), l2 = e instanceof wn ? e : new wn(r);
|
|
4634
4634
|
return re(o, (a) => a.obj, s ?? {}).map(({ value: { obj: a }, label: u }) => ({
|
|
4635
4635
|
value: l2.deriveString(a),
|
|
4636
4636
|
label: u
|
|
@@ -4650,7 +4650,7 @@
|
|
|
4650
4650
|
ref: n.ref,
|
|
4651
4651
|
obj: {
|
|
4652
4652
|
...n.obj,
|
|
4653
|
-
data: new
|
|
4653
|
+
data: new S(n.obj.data, [n.ref.blockId, n.ref.name])
|
|
4654
4654
|
}
|
|
4655
4655
|
}))
|
|
4656
4656
|
};
|
|
@@ -4671,7 +4671,7 @@
|
|
|
4671
4671
|
...n.obj,
|
|
4672
4672
|
data: Fn(
|
|
4673
4673
|
n.obj.data,
|
|
4674
|
-
(s) => new
|
|
4674
|
+
(s) => new S(s, [n.ref.blockId, n.ref.name])
|
|
4675
4675
|
)
|
|
4676
4676
|
}
|
|
4677
4677
|
}))
|
|
@@ -4696,7 +4696,7 @@
|
|
|
4696
4696
|
(s) => s.ref.blockId === e.blockId && s.ref.name === e.name
|
|
4697
4697
|
)) == null ? void 0 : n.obj : kn(
|
|
4698
4698
|
this.ctx.getDataFromResultPoolByRef(e.blockId, e.name),
|
|
4699
|
-
(s) => new
|
|
4699
|
+
(s) => new S(s, [e.blockId, e.name])
|
|
4700
4700
|
);
|
|
4701
4701
|
}
|
|
4702
4702
|
/**
|
|
@@ -4717,7 +4717,7 @@
|
|
|
4717
4717
|
getPColumnSpecByRef(e) {
|
|
4718
4718
|
const n = this.getSpecByRef(e);
|
|
4719
4719
|
if (n) {
|
|
4720
|
-
if (!f(n)) throw new Error(`not a PColumn spec (kind = ${n.kind})`);
|
|
4720
|
+
if (!f$1(n)) throw new Error(`not a PColumn spec (kind = ${n.kind})`);
|
|
4721
4721
|
return n;
|
|
4722
4722
|
}
|
|
4723
4723
|
}
|
|
@@ -4736,7 +4736,7 @@
|
|
|
4736
4736
|
findDataWithCompatibleSpec(e) {
|
|
4737
4737
|
const n = [];
|
|
4738
4738
|
e: for (const s of this.getData().entries) {
|
|
4739
|
-
if (!f(s.obj.spec))
|
|
4739
|
+
if (!f$1(s.obj.spec))
|
|
4740
4740
|
continue;
|
|
4741
4741
|
const r = s.obj.spec;
|
|
4742
4742
|
if (e.name === r.name && e.valueType === r.valueType && e.axesSpec.length === r.axesSpec.length && X(e.domain, r.domain)) {
|
|
@@ -4760,12 +4760,12 @@
|
|
|
4760
4760
|
}
|
|
4761
4761
|
class V {
|
|
4762
4762
|
constructor() {
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
this.ctx =
|
|
4763
|
+
P(this, "ctx");
|
|
4764
|
+
P(this, "args");
|
|
4765
|
+
P(this, "uiState");
|
|
4766
|
+
P(this, "_activeArgsCache");
|
|
4767
|
+
P(this, "resultPool", new Ue());
|
|
4768
|
+
this.ctx = f(), this.args = JSON.parse(this.ctx.args), this.uiState = this.ctx.uiState !== void 0 ? JSON.parse(this.ctx.uiState) : {};
|
|
4769
4769
|
}
|
|
4770
4770
|
/**
|
|
4771
4771
|
* Returns args snapshot the block was executed for (i.e. when "Run" button was pressed).
|
|
@@ -4783,14 +4783,14 @@
|
|
|
4783
4783
|
getNamedAccessor(e) {
|
|
4784
4784
|
return z(
|
|
4785
4785
|
this.ctx.getAccessorHandleByName(e),
|
|
4786
|
-
(n) => new
|
|
4786
|
+
(n) => new S(n, [e])
|
|
4787
4787
|
);
|
|
4788
4788
|
}
|
|
4789
4789
|
get prerun() {
|
|
4790
|
-
return this.getNamedAccessor(
|
|
4790
|
+
return this.getNamedAccessor(pe);
|
|
4791
4791
|
}
|
|
4792
4792
|
get outputs() {
|
|
4793
|
-
return this.getNamedAccessor(
|
|
4793
|
+
return this.getNamedAccessor(fe);
|
|
4794
4794
|
}
|
|
4795
4795
|
/**
|
|
4796
4796
|
* Find labels data for a given axis id. It will search for a label column and return its data as a map.
|
|
@@ -4814,12 +4814,12 @@
|
|
|
4814
4814
|
}
|
|
4815
4815
|
verifyInlineColumnsSupport(e) {
|
|
4816
4816
|
var r;
|
|
4817
|
-
const n = e.some((i) => !(i.data instanceof
|
|
4817
|
+
const n = e.some((i) => !(i.data instanceof S)), s = ((r = this.ctx.featureFlags) == null ? void 0 : r.inlineColumnsSupport) === true;
|
|
4818
4818
|
if (n && !s) throw Error("inline columns not supported");
|
|
4819
4819
|
}
|
|
4820
4820
|
createPFrame(e) {
|
|
4821
4821
|
return this.verifyInlineColumnsSupport(e), this.ctx.createPFrame(
|
|
4822
|
-
e.map((n) => kn(n, (s) => s instanceof
|
|
4822
|
+
e.map((n) => kn(n, (s) => s instanceof S ? s.handle : s))
|
|
4823
4823
|
);
|
|
4824
4824
|
}
|
|
4825
4825
|
createPTable(e) {
|
|
@@ -4834,7 +4834,7 @@
|
|
|
4834
4834
|
} : n = e, this.verifyInlineColumnsSupport(In(n.src)), this.ctx.createPTable(
|
|
4835
4835
|
gn(
|
|
4836
4836
|
n,
|
|
4837
|
-
(s) => kn(s, (r) => r instanceof
|
|
4837
|
+
(s) => kn(s, (r) => r instanceof S ? r.handle : r)
|
|
4838
4838
|
)
|
|
4839
4839
|
);
|
|
4840
4840
|
}
|
|
@@ -4847,20 +4847,20 @@
|
|
|
4847
4847
|
return this.ctx.getCurrentUnstableMarker();
|
|
4848
4848
|
}
|
|
4849
4849
|
}
|
|
4850
|
-
const
|
|
4851
|
-
function
|
|
4850
|
+
const L = "1.23.4";
|
|
4851
|
+
function Je(t) {
|
|
4852
4852
|
return t.__renderLambda === true;
|
|
4853
4853
|
}
|
|
4854
4854
|
function q(t) {
|
|
4855
4855
|
if (t !== void 0)
|
|
4856
|
-
return
|
|
4856
|
+
return Je(t) ? t.handle : t;
|
|
4857
4857
|
}
|
|
4858
|
-
class
|
|
4858
|
+
class w {
|
|
4859
4859
|
constructor(e, n, s, r, i, o, l2) {
|
|
4860
4860
|
this._renderingMode = e, this._initialArgs = n, this._initialUiState = s, this._outputs = r, this._inputsValid = i, this._sections = o, this._title = l2;
|
|
4861
4861
|
}
|
|
4862
4862
|
static create(e = "Heavy") {
|
|
4863
|
-
return new
|
|
4863
|
+
return new w(
|
|
4864
4864
|
e,
|
|
4865
4865
|
void 0,
|
|
4866
4866
|
{},
|
|
@@ -4873,7 +4873,7 @@
|
|
|
4873
4873
|
output(e, n, s = {}) {
|
|
4874
4874
|
if (typeof n == "function") {
|
|
4875
4875
|
const r = `output#${e}`;
|
|
4876
|
-
return E(r, () => n(new V())), new
|
|
4876
|
+
return E(r, () => n(new V())), new w(
|
|
4877
4877
|
this._renderingMode,
|
|
4878
4878
|
this._initialArgs,
|
|
4879
4879
|
this._initialUiState,
|
|
@@ -4890,7 +4890,7 @@
|
|
|
4890
4890
|
this._title
|
|
4891
4891
|
);
|
|
4892
4892
|
} else
|
|
4893
|
-
return new
|
|
4893
|
+
return new w(
|
|
4894
4894
|
this._renderingMode,
|
|
4895
4895
|
this._initialArgs,
|
|
4896
4896
|
this._initialUiState,
|
|
@@ -4908,7 +4908,7 @@
|
|
|
4908
4908
|
return this.output(e, n, { retentive: true });
|
|
4909
4909
|
}
|
|
4910
4910
|
argsValid(e) {
|
|
4911
|
-
return typeof e == "function" ? (E("inputsValid", () => e(new V())), new
|
|
4911
|
+
return typeof e == "function" ? (E("inputsValid", () => e(new V())), new w(
|
|
4912
4912
|
this._renderingMode,
|
|
4913
4913
|
this._initialArgs,
|
|
4914
4914
|
this._initialUiState,
|
|
@@ -4919,7 +4919,7 @@
|
|
|
4919
4919
|
},
|
|
4920
4920
|
this._sections,
|
|
4921
4921
|
this._title
|
|
4922
|
-
)) : new
|
|
4922
|
+
)) : new w(
|
|
4923
4923
|
this._renderingMode,
|
|
4924
4924
|
this._initialArgs,
|
|
4925
4925
|
this._initialUiState,
|
|
@@ -4930,7 +4930,7 @@
|
|
|
4930
4930
|
);
|
|
4931
4931
|
}
|
|
4932
4932
|
sections(e) {
|
|
4933
|
-
return Array.isArray(e) ? this.sections(j(e)) : typeof e == "function" ? (E("sections", () => e(new V())), new
|
|
4933
|
+
return Array.isArray(e) ? this.sections(j(e)) : typeof e == "function" ? (E("sections", () => e(new V())), new w(
|
|
4934
4934
|
this._renderingMode,
|
|
4935
4935
|
this._initialArgs,
|
|
4936
4936
|
this._initialUiState,
|
|
@@ -4938,7 +4938,7 @@
|
|
|
4938
4938
|
this._inputsValid,
|
|
4939
4939
|
{ __renderLambda: true, handle: "sections" },
|
|
4940
4940
|
this._title
|
|
4941
|
-
)) : new
|
|
4941
|
+
)) : new w(
|
|
4942
4942
|
this._renderingMode,
|
|
4943
4943
|
this._initialArgs,
|
|
4944
4944
|
this._initialUiState,
|
|
@@ -4950,7 +4950,7 @@
|
|
|
4950
4950
|
}
|
|
4951
4951
|
/** Sets a rendering function to derive block title, shown for the block in the left blocks-overview panel. */
|
|
4952
4952
|
title(e) {
|
|
4953
|
-
return E("title", () => e(new V())), new
|
|
4953
|
+
return E("title", () => e(new V())), new w(
|
|
4954
4954
|
this._renderingMode,
|
|
4955
4955
|
this._initialArgs,
|
|
4956
4956
|
this._initialUiState,
|
|
@@ -4965,7 +4965,7 @@
|
|
|
4965
4965
|
* @deprecated use {@link withArgs}
|
|
4966
4966
|
* */
|
|
4967
4967
|
initialArgs(e) {
|
|
4968
|
-
return new
|
|
4968
|
+
return new w(
|
|
4969
4969
|
this._renderingMode,
|
|
4970
4970
|
e,
|
|
4971
4971
|
this._initialUiState,
|
|
@@ -4977,7 +4977,7 @@
|
|
|
4977
4977
|
}
|
|
4978
4978
|
/** Sets initial args for the block, this value must be specified. */
|
|
4979
4979
|
withArgs(e) {
|
|
4980
|
-
return new
|
|
4980
|
+
return new w(
|
|
4981
4981
|
this._renderingMode,
|
|
4982
4982
|
e,
|
|
4983
4983
|
this._initialUiState,
|
|
@@ -4989,7 +4989,7 @@
|
|
|
4989
4989
|
}
|
|
4990
4990
|
/** Defines type and sets initial value for block UiState. */
|
|
4991
4991
|
withUiState(e) {
|
|
4992
|
-
return new
|
|
4992
|
+
return new w(
|
|
4993
4993
|
this._renderingMode,
|
|
4994
4994
|
this._initialArgs,
|
|
4995
4995
|
e,
|
|
@@ -5006,7 +5006,7 @@
|
|
|
5006
5006
|
if (this._initialArgs === void 0) throw new Error("Initial arguments not set.");
|
|
5007
5007
|
const e = {
|
|
5008
5008
|
v3: {
|
|
5009
|
-
sdkVersion:
|
|
5009
|
+
sdkVersion: L,
|
|
5010
5010
|
renderingMode: this._renderingMode,
|
|
5011
5011
|
initialArgs: this._initialArgs,
|
|
5012
5012
|
initialUiState: this._initialUiState,
|
|
@@ -5016,7 +5016,7 @@
|
|
|
5016
5016
|
outputs: this._outputs
|
|
5017
5017
|
},
|
|
5018
5018
|
// fields below are added to allow previous desktop versions read generated configs
|
|
5019
|
-
sdkVersion:
|
|
5019
|
+
sdkVersion: L,
|
|
5020
5020
|
renderingMode: this._renderingMode,
|
|
5021
5021
|
initialArgs: this._initialArgs,
|
|
5022
5022
|
inputsValid: q(this._inputsValid),
|
|
@@ -5025,69 +5025,69 @@
|
|
|
5025
5025
|
Object.entries(this._outputs).map(([n, s]) => [n, q(s)])
|
|
5026
5026
|
)
|
|
5027
5027
|
};
|
|
5028
|
-
return
|
|
5028
|
+
return Fe() ? de({ sdkVersion: L }) : { config: e };
|
|
5029
5029
|
}
|
|
5030
5030
|
}
|
|
5031
|
-
function
|
|
5032
|
-
var u,
|
|
5031
|
+
function Dt(t, e, n, s) {
|
|
5032
|
+
var u, g2;
|
|
5033
5033
|
Array.isArray(s) && (s = { filters: s });
|
|
5034
|
-
const r = t.resultPool.getData().entries.map((
|
|
5035
|
-
let
|
|
5036
|
-
if (
|
|
5037
|
-
for (const
|
|
5038
|
-
|
|
5039
|
-
return
|
|
5034
|
+
const r = t.resultPool.getData().entries.map((c) => c.obj).filter(q$1).filter((c) => c.spec.name === "pl7.app/label" && c.spec.axesSpec.length === 1), i = (c, d2) => {
|
|
5035
|
+
let h2 = c.toString();
|
|
5036
|
+
if (d2)
|
|
5037
|
+
for (const p in d2)
|
|
5038
|
+
h2 += p, h2 += d2[p];
|
|
5039
|
+
return h2;
|
|
5040
5040
|
}, o = /* @__PURE__ */ new Map();
|
|
5041
|
-
for (const
|
|
5042
|
-
for (const
|
|
5043
|
-
const
|
|
5044
|
-
for (const
|
|
5045
|
-
const
|
|
5046
|
-
if (z$1(
|
|
5047
|
-
const
|
|
5048
|
-
if (
|
|
5049
|
-
const
|
|
5050
|
-
o.set(
|
|
5051
|
-
id:
|
|
5041
|
+
for (const c of e)
|
|
5042
|
+
for (const d2 of c.spec.axesSpec) {
|
|
5043
|
+
const h$1 = h(d2);
|
|
5044
|
+
for (const p of r) {
|
|
5045
|
+
const b = p.spec.axesSpec[0], m = h(p.spec.axesSpec[0]);
|
|
5046
|
+
if (z$1(h$1, m)) {
|
|
5047
|
+
const I = Object.keys(h$1.domain ?? {}).length, v = Object.keys(m.domain ?? {}).length;
|
|
5048
|
+
if (I > v) {
|
|
5049
|
+
const A2 = i(p.id, h$1.domain);
|
|
5050
|
+
o.set(A2, {
|
|
5051
|
+
id: A2,
|
|
5052
5052
|
spec: {
|
|
5053
|
-
...
|
|
5054
|
-
axesSpec: [{ ...
|
|
5053
|
+
...p.spec,
|
|
5054
|
+
axesSpec: [{ ...h$1, annotations: b.annotations }]
|
|
5055
5055
|
},
|
|
5056
|
-
data:
|
|
5056
|
+
data: p.data
|
|
5057
5057
|
});
|
|
5058
5058
|
} else
|
|
5059
|
-
o.set(i(
|
|
5059
|
+
o.set(i(p.id), p);
|
|
5060
5060
|
}
|
|
5061
5061
|
}
|
|
5062
5062
|
}
|
|
5063
5063
|
if ([...e, ...o.values()].some(
|
|
5064
|
-
(
|
|
5064
|
+
(c) => c.data instanceof S && !c.data.getIsReadyOrError()
|
|
5065
5065
|
))
|
|
5066
5066
|
return;
|
|
5067
5067
|
let l2 = e;
|
|
5068
5068
|
const a = [];
|
|
5069
5069
|
if (s != null && s.coreColumnPredicate) {
|
|
5070
5070
|
l2 = [];
|
|
5071
|
-
for (const
|
|
5072
|
-
s.coreColumnPredicate(
|
|
5071
|
+
for (const c of e)
|
|
5072
|
+
s.coreColumnPredicate(c.spec) ? l2.push(c) : a.push(c);
|
|
5073
5073
|
}
|
|
5074
5074
|
return a.push(...o.values()), t.createPTable({
|
|
5075
5075
|
src: {
|
|
5076
5076
|
type: "outer",
|
|
5077
5077
|
primary: {
|
|
5078
5078
|
type: (s == null ? void 0 : s.coreJoinType) ?? "full",
|
|
5079
|
-
entries: l2.map((
|
|
5079
|
+
entries: l2.map((c) => ({ type: "column", column: c }))
|
|
5080
5080
|
},
|
|
5081
|
-
secondary: a.map((
|
|
5081
|
+
secondary: a.map((c) => ({ type: "column", column: c }))
|
|
5082
5082
|
},
|
|
5083
5083
|
filters: [...(s == null ? void 0 : s.filters) ?? [], ...((u = n == null ? void 0 : n.pTableParams) == null ? void 0 : u.filters) ?? []],
|
|
5084
|
-
sorting: ((
|
|
5084
|
+
sorting: ((g2 = n == null ? void 0 : n.pTableParams) == null ? void 0 : g2.sorting) ?? []
|
|
5085
5085
|
});
|
|
5086
5086
|
}
|
|
5087
5087
|
const $BlockArgs = z$2.object({
|
|
5088
5088
|
numbers: z$2.array(z$2.coerce.number())
|
|
5089
5089
|
});
|
|
5090
|
-
const platforma =
|
|
5090
|
+
const platforma = w.create("Heavy").withArgs({ numbers: [1, 2, 3, 4] }).withUiState({ dataTableState: void 0, dynamicSections: [] }).argsValid((ctx) => {
|
|
5091
5091
|
if (ctx.args.numbers.length === 5) {
|
|
5092
5092
|
throw new Error("argsValid: test error");
|
|
5093
5093
|
}
|
|
@@ -5096,9 +5096,9 @@
|
|
|
5096
5096
|
var _a, _b;
|
|
5097
5097
|
return (_b = (_a = ctx.outputs) == null ? void 0 : _a.resolve("numbers")) == null ? void 0 : _b.getDataAsJson();
|
|
5098
5098
|
}).output("pt", (ctx) => {
|
|
5099
|
-
var _a, _b, _c, _d,
|
|
5099
|
+
var _a, _b, _c, _d, _e2;
|
|
5100
5100
|
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;
|
|
5101
|
-
return
|
|
5101
|
+
return Dt(
|
|
5102
5102
|
ctx,
|
|
5103
5103
|
[
|
|
5104
5104
|
{
|
|
@@ -5139,7 +5139,7 @@
|
|
|
5139
5139
|
{
|
|
5140
5140
|
filters: [
|
|
5141
5141
|
...((_d = ctx.uiState.dataTableState.tableState.pTableParams) == null ? void 0 : _d.filters) ?? [],
|
|
5142
|
-
...((
|
|
5142
|
+
...((_e2 = ctx.uiState.dataTableState.filterModel) == null ? void 0 : _e2.filters) ?? []
|
|
5143
5143
|
]
|
|
5144
5144
|
}
|
|
5145
5145
|
);
|