@milaboratories/pl-middle-layer 1.23.8 → 1.23.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +57 -54
- package/dist/index.mjs.map +1 -1
- package/dist/pool/driver.d.ts.map +1 -1
- package/package.json +8 -8
- package/src/pool/driver.ts +10 -5
package/dist/index.mjs
CHANGED
|
@@ -25,7 +25,7 @@ import ye from "canonicalize";
|
|
|
25
25
|
import Hs from "node:assert";
|
|
26
26
|
import { Scope as gt, getQuickJS as Ws } from "quickjs-emscripten";
|
|
27
27
|
import { setTimeout as xr } from "node:timers/promises";
|
|
28
|
-
import { createDownloadClient as zs, createLogsClient as Xs, createUploadBlobClient as qs, createUploadProgressClient as Ys, DownloadDriver as
|
|
28
|
+
import { createDownloadClient as zs, createLogsClient as Xs, createUploadBlobClient as qs, createUploadProgressClient as Ys, DownloadDriver as Qs, UploadDriver as Zs, LogsStreamDriver as eo, LogsDriver as to, LsDriver as ro, DownloadUrlDriver as so } from "@milaboratories/pl-drivers";
|
|
29
29
|
import { PFrame as oo } from "@milaboratories/pframes-node";
|
|
30
30
|
import { LRUCache as no } from "lru-cache";
|
|
31
31
|
import { channel as io } from "node:diagnostics_channel";
|
|
@@ -628,7 +628,7 @@ function Yo(s, e) {
|
|
|
628
628
|
const t = { config: e.config, source: e.source }, r = s.createStruct(Xo, JSON.stringify(t));
|
|
629
629
|
return s.createField(j(r, Xr), "Input", It(s, e.template)), s.createField(j(r, qr), "Input", zo(s, e.frontend)), s.lock(r), r;
|
|
630
630
|
}
|
|
631
|
-
function
|
|
631
|
+
function Qt(s, e) {
|
|
632
632
|
switch (e.type) {
|
|
633
633
|
case "explicit":
|
|
634
634
|
return Yo(s, e);
|
|
@@ -639,7 +639,7 @@ function Zt(s, e) {
|
|
|
639
639
|
function je(s, e) {
|
|
640
640
|
return { __isRef: !0, blockId: s, name: e };
|
|
641
641
|
}
|
|
642
|
-
function
|
|
642
|
+
function Qo(s) {
|
|
643
643
|
return typeof s == "object" && s !== null && s.__isRef === !0 && "blockId" in s && "name" in s;
|
|
644
644
|
}
|
|
645
645
|
function St(s, e, t) {
|
|
@@ -655,7 +655,7 @@ function St(s, e, t) {
|
|
|
655
655
|
return;
|
|
656
656
|
case "object":
|
|
657
657
|
if (e === null) return;
|
|
658
|
-
if (
|
|
658
|
+
if (Qo(e))
|
|
659
659
|
t === void 0 || t.has(e.blockId) ? s.upstreams.add(e.blockId) : s.missingReferences = !0;
|
|
660
660
|
else if (Array.isArray(e))
|
|
661
661
|
for (const o of e) St(s, o, t);
|
|
@@ -667,7 +667,7 @@ function St(s, e, t) {
|
|
|
667
667
|
J(r);
|
|
668
668
|
}
|
|
669
669
|
}
|
|
670
|
-
function
|
|
670
|
+
function Zo(s, e) {
|
|
671
671
|
const t = { upstreams: /* @__PURE__ */ new Set(), missingReferences: !1 };
|
|
672
672
|
return St(t, s, e), t;
|
|
673
673
|
}
|
|
@@ -725,7 +725,7 @@ function Me(s, e) {
|
|
|
725
725
|
for (const { id: o } of te(s)) {
|
|
726
726
|
const n = e(o);
|
|
727
727
|
if (n === void 0) continue;
|
|
728
|
-
const i =
|
|
728
|
+
const i = Zo(n, r), c = {
|
|
729
729
|
id: o,
|
|
730
730
|
missingReferences: i.missingReferences,
|
|
731
731
|
upstream: i.upstreams,
|
|
@@ -746,7 +746,7 @@ function Rt(s, e) {
|
|
|
746
746
|
for (const t of s) if (e.has(t)) return !0;
|
|
747
747
|
return !1;
|
|
748
748
|
}
|
|
749
|
-
function
|
|
749
|
+
function Zt(s, e) {
|
|
750
750
|
const t = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ new Set();
|
|
751
751
|
return s.nodes.forEach((n) => {
|
|
752
752
|
const i = e.nodes.get(n.id);
|
|
@@ -756,7 +756,7 @@ function Qt(s, e) {
|
|
|
756
756
|
}), { onlyInA: t, onlyInB: r, different: o };
|
|
757
757
|
}
|
|
758
758
|
let st;
|
|
759
|
-
async function
|
|
759
|
+
async function Qr() {
|
|
760
760
|
if (st === void 0) {
|
|
761
761
|
const s = await Ho(Ks["pframes.export-pframe"]);
|
|
762
762
|
if (s.type !== "explicit") throw new Error("Unexpected prepared template type.");
|
|
@@ -1045,7 +1045,7 @@ class We {
|
|
|
1045
1045
|
var u;
|
|
1046
1046
|
return (u = this.blockInfos.get(l)) == null ? void 0 : u.actualProductionInputs;
|
|
1047
1047
|
}
|
|
1048
|
-
), c =
|
|
1048
|
+
), c = Zt(r, n), a = Zt(o, i);
|
|
1049
1049
|
for (const l of c.onlyInA) {
|
|
1050
1050
|
const { fields: u } = this.getBlockInfo(l);
|
|
1051
1051
|
this.deleteBlockFields(l, ...Object.keys(u)), this.blockInfos.delete(l), this.blocksInLimbo.delete(l) && (this.renderingStateChanged = !0), this.blockFrontendStates.delete(l) && this.changedBlockFrontendStates.add(l);
|
|
@@ -1053,7 +1053,7 @@ class We {
|
|
|
1053
1053
|
for (const l of c.onlyInB) {
|
|
1054
1054
|
const u = new er(l, {});
|
|
1055
1055
|
this.blockInfos.set(l, u);
|
|
1056
|
-
const d = t(l), m =
|
|
1056
|
+
const d = t(l), m = Qt(this.tx, d.blockPack);
|
|
1057
1057
|
this.setBlockField(l, "blockPack", T.wrapInHolder(this.tx, m), "NotReady");
|
|
1058
1058
|
const h = Buffer.from(d.args), f = this.tx.createValue(T.JsonObject, h);
|
|
1059
1059
|
this.setBlockField(l, "currentArgs", f, "Ready", h), d.uiState && (this.blockFrontendStates.set(l, d.uiState), this.changedBlockFrontendStates.add(l)), u.check();
|
|
@@ -1107,7 +1107,7 @@ class We {
|
|
|
1107
1107
|
this.setBlockField(
|
|
1108
1108
|
e,
|
|
1109
1109
|
"blockPack",
|
|
1110
|
-
T.wrapInHolder(this.tx,
|
|
1110
|
+
T.wrapInHolder(this.tx, Qt(this.tx, t)),
|
|
1111
1111
|
"NotReady"
|
|
1112
1112
|
), r !== void 0 ? (this.setArgs([{ blockId: e, args: r }]), this.setUiState(e, void 0)) : this.getStagingGraph().traverse("downstream", [e], ({ id: n }) => this.resetStaging(n)), o.productionRendered && this.getActualProductionGraph().traverse(
|
|
1113
1113
|
"downstream",
|
|
@@ -1265,7 +1265,7 @@ class We {
|
|
|
1265
1265
|
fields: {}
|
|
1266
1266
|
}, k.set(y.blockId, g)), g.fields[y.fieldName] = _e(p.value) ? { modCount: 0 } : { modCount: 0, ref: p.value };
|
|
1267
1267
|
}
|
|
1268
|
-
const se = await
|
|
1268
|
+
const se = await Qr(), pe = wt(se.hash), A = d.fields.find(
|
|
1269
1269
|
(p) => p.name === pe
|
|
1270
1270
|
);
|
|
1271
1271
|
let z;
|
|
@@ -1327,7 +1327,7 @@ async function sn(s, e = yo) {
|
|
|
1327
1327
|
s.lock(t);
|
|
1328
1328
|
const r = String(Date.now());
|
|
1329
1329
|
s.setKValue(t, Jr, JSON.stringify(Gr)), s.setKValue(t, $t, r), s.setKValue(t, Te, r), s.setKValue(t, Ae, JSON.stringify(e)), s.setKValue(t, de, JSON.stringify(mo)), s.setKValue(t, Ke, JSON.stringify(vo));
|
|
1330
|
-
const o = await
|
|
1330
|
+
const o = await Qr();
|
|
1331
1331
|
return s.createField(
|
|
1332
1332
|
j(t, wt(o.hash)),
|
|
1333
1333
|
"Dynamic",
|
|
@@ -1503,7 +1503,7 @@ function rr(s, e) {
|
|
|
1503
1503
|
function gn(s, e) {
|
|
1504
1504
|
return ye({ resolvePath: s, name: e });
|
|
1505
1505
|
}
|
|
1506
|
-
function
|
|
1506
|
+
function Zr(s, e = !0, t = !1, r = "") {
|
|
1507
1507
|
var c, a, l;
|
|
1508
1508
|
const o = /^(?<name>.*)\.(?<type>spec|data)$/, n = /* @__PURE__ */ new Map();
|
|
1509
1509
|
for (const u of s.listInputFields()) {
|
|
@@ -1544,7 +1544,7 @@ function Qr(s, e = !0, t = !1, r = "") {
|
|
|
1544
1544
|
}
|
|
1545
1545
|
function mn(s, e = !0, t = "", r) {
|
|
1546
1546
|
if (!s.getIsReadyOrError()) throw new Error("resource is not ready");
|
|
1547
|
-
const o =
|
|
1547
|
+
const o = Zr(s, e, !1, t);
|
|
1548
1548
|
Hs(o.locked);
|
|
1549
1549
|
const n = {};
|
|
1550
1550
|
for (const [i, c] of o.results) {
|
|
@@ -1733,7 +1733,7 @@ class Ft {
|
|
|
1733
1733
|
function sr(s, e) {
|
|
1734
1734
|
if (e === void 0)
|
|
1735
1735
|
return s ? { locked: !1, results: /* @__PURE__ */ new Map() } : void 0;
|
|
1736
|
-
if (e.ok) return
|
|
1736
|
+
if (e.ok) return Zr(e.value, !1, !0);
|
|
1737
1737
|
}
|
|
1738
1738
|
function Tt(s, e) {
|
|
1739
1739
|
return {
|
|
@@ -2870,7 +2870,7 @@ function $e(s, e, t, r, o, n = {}) {
|
|
|
2870
2870
|
return qn(s, e, t, r, o, n);
|
|
2871
2871
|
} else return zn(s.driverKit, e, t, n);
|
|
2872
2872
|
}
|
|
2873
|
-
function
|
|
2873
|
+
function Qn(s, e, t) {
|
|
2874
2874
|
return V.make(
|
|
2875
2875
|
(r) => {
|
|
2876
2876
|
var f, I, F, D, _, k, se, pe;
|
|
@@ -2992,7 +2992,7 @@ function Zn(s, e, t) {
|
|
|
2992
2992
|
}
|
|
2993
2993
|
).withStableType();
|
|
2994
2994
|
}
|
|
2995
|
-
function
|
|
2995
|
+
function Zn(s, e) {
|
|
2996
2996
|
const t = s.node();
|
|
2997
2997
|
if (ae(t.resourceType, Wr)) {
|
|
2998
2998
|
const r = t.getDataAsJson();
|
|
@@ -3012,7 +3012,7 @@ function Qn(s, e) {
|
|
|
3012
3012
|
function ei(s, e) {
|
|
3013
3013
|
if (s !== void 0)
|
|
3014
3014
|
return V.make(
|
|
3015
|
-
(t) =>
|
|
3015
|
+
(t) => Zn(t.accessor(s), e),
|
|
3016
3016
|
{
|
|
3017
3017
|
postprocessValue: (t) => {
|
|
3018
3018
|
if (t !== void 0) {
|
|
@@ -3129,7 +3129,7 @@ class At {
|
|
|
3129
3129
|
S(this, "refreshLoopResult");
|
|
3130
3130
|
S(this, "abortController", new AbortController());
|
|
3131
3131
|
S(this, "destroyed", !1);
|
|
3132
|
-
this.env = e, this.projectTree = r, this.overview =
|
|
3132
|
+
this.env = e, this.projectTree = r, this.overview = Qn(
|
|
3133
3133
|
r.entry(),
|
|
3134
3134
|
this.navigationStates,
|
|
3135
3135
|
e
|
|
@@ -3465,13 +3465,13 @@ var Ye = {
|
|
|
3465
3465
|
};
|
|
3466
3466
|
const fi = typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...s) => console.error("SEMVER", ...s) : () => {
|
|
3467
3467
|
};
|
|
3468
|
-
var
|
|
3468
|
+
var Qe = fi;
|
|
3469
3469
|
(function(s, e) {
|
|
3470
3470
|
const {
|
|
3471
3471
|
MAX_SAFE_COMPONENT_LENGTH: t,
|
|
3472
3472
|
MAX_SAFE_BUILD_LENGTH: r,
|
|
3473
3473
|
MAX_LENGTH: o
|
|
3474
|
-
} = Ye, n =
|
|
3474
|
+
} = Ye, n = Qe;
|
|
3475
3475
|
e = s.exports = {};
|
|
3476
3476
|
const i = e.re = [], c = e.safeRe = [], a = e.src = [], l = e.t = {};
|
|
3477
3477
|
let u = 0;
|
|
@@ -3500,10 +3500,10 @@ var ds = {
|
|
|
3500
3500
|
compareIdentifiers: us,
|
|
3501
3501
|
rcompareIdentifiers: yi
|
|
3502
3502
|
};
|
|
3503
|
-
const Ve =
|
|
3504
|
-
let Si = class
|
|
3503
|
+
const Ve = Qe, { MAX_LENGTH: ar, MAX_SAFE_INTEGER: Ue } = Ye, { safeRe: cr, t: lr } = De, wi = Lt, { compareIdentifiers: fe } = ds;
|
|
3504
|
+
let Si = class Z {
|
|
3505
3505
|
constructor(e, t) {
|
|
3506
|
-
if (t = wi(t), e instanceof
|
|
3506
|
+
if (t = wi(t), e instanceof Z) {
|
|
3507
3507
|
if (e.loose === !!t.loose && e.includePrerelease === !!t.includePrerelease)
|
|
3508
3508
|
return e;
|
|
3509
3509
|
e = e.version;
|
|
@@ -3539,18 +3539,18 @@ let Si = class Q {
|
|
|
3539
3539
|
return this.version;
|
|
3540
3540
|
}
|
|
3541
3541
|
compare(e) {
|
|
3542
|
-
if (Ve("SemVer.compare", this.version, this.options, e), !(e instanceof
|
|
3542
|
+
if (Ve("SemVer.compare", this.version, this.options, e), !(e instanceof Z)) {
|
|
3543
3543
|
if (typeof e == "string" && e === this.version)
|
|
3544
3544
|
return 0;
|
|
3545
|
-
e = new
|
|
3545
|
+
e = new Z(e, this.options);
|
|
3546
3546
|
}
|
|
3547
3547
|
return e.version === this.version ? 0 : this.compareMain(e) || this.comparePre(e);
|
|
3548
3548
|
}
|
|
3549
3549
|
compareMain(e) {
|
|
3550
|
-
return e instanceof
|
|
3550
|
+
return e instanceof Z || (e = new Z(e, this.options)), fe(this.major, e.major) || fe(this.minor, e.minor) || fe(this.patch, e.patch);
|
|
3551
3551
|
}
|
|
3552
3552
|
comparePre(e) {
|
|
3553
|
-
if (e instanceof
|
|
3553
|
+
if (e instanceof Z || (e = new Z(e, this.options)), this.prerelease.length && !e.prerelease.length)
|
|
3554
3554
|
return -1;
|
|
3555
3555
|
if (!this.prerelease.length && e.prerelease.length)
|
|
3556
3556
|
return 1;
|
|
@@ -3571,7 +3571,7 @@ let Si = class Q {
|
|
|
3571
3571
|
} while (++t);
|
|
3572
3572
|
}
|
|
3573
3573
|
compareBuild(e) {
|
|
3574
|
-
e instanceof
|
|
3574
|
+
e instanceof Z || (e = new Z(e, this.options));
|
|
3575
3575
|
let t = 0;
|
|
3576
3576
|
do {
|
|
3577
3577
|
const r = this.build[t], o = e.build[t];
|
|
@@ -3707,12 +3707,12 @@ const fr = M, Yi = (s, e, t) => {
|
|
|
3707
3707
|
return r.compare(o) || r.compareBuild(o);
|
|
3708
3708
|
};
|
|
3709
3709
|
var Nt = Yi;
|
|
3710
|
-
const
|
|
3711
|
-
var ea =
|
|
3710
|
+
const Qi = Nt, Zi = (s, e) => s.sort((t, r) => Qi(t, r, e));
|
|
3711
|
+
var ea = Zi;
|
|
3712
3712
|
const ta = Nt, ra = (s, e) => s.sort((t, r) => ta(r, t, e));
|
|
3713
3713
|
var sa = ra;
|
|
3714
3714
|
const oa = Y, na = (s, e, t) => oa(s, e, t) > 0;
|
|
3715
|
-
var
|
|
3715
|
+
var Ze = na;
|
|
3716
3716
|
const ia = Y, aa = (s, e, t) => ia(s, e, t) < 0;
|
|
3717
3717
|
var Dt = aa;
|
|
3718
3718
|
const ca = Y, la = (s, e, t) => ca(s, e, t) === 0;
|
|
@@ -3723,7 +3723,7 @@ const pa = Y, ha = (s, e, t) => pa(s, e, t) >= 0;
|
|
|
3723
3723
|
var Bt = ha;
|
|
3724
3724
|
const fa = Y, ga = (s, e, t) => fa(s, e, t) <= 0;
|
|
3725
3725
|
var jt = ga;
|
|
3726
|
-
const ma = ps, va = hs, ya =
|
|
3726
|
+
const ma = ps, va = hs, ya = Ze, wa = Bt, Sa = Dt, ba = jt, Ra = (s, e, t, r) => {
|
|
3727
3727
|
switch (e) {
|
|
3728
3728
|
case "===":
|
|
3729
3729
|
return typeof s == "object" && (s = s.version), typeof t == "object" && (t = t.version), s === t;
|
|
@@ -3794,7 +3794,7 @@ class Oa {
|
|
|
3794
3794
|
}
|
|
3795
3795
|
}
|
|
3796
3796
|
var $a = Oa, it, gr;
|
|
3797
|
-
function
|
|
3797
|
+
function Q() {
|
|
3798
3798
|
if (gr) return it;
|
|
3799
3799
|
gr = 1;
|
|
3800
3800
|
const s = /\s+/g;
|
|
@@ -3878,7 +3878,7 @@ function Z() {
|
|
|
3878
3878
|
}
|
|
3879
3879
|
}
|
|
3880
3880
|
it = e;
|
|
3881
|
-
const t = $a, r = new t(), o = Lt, n = et(), i =
|
|
3881
|
+
const t = $a, r = new t(), o = Lt, n = et(), i = Qe, c = M, {
|
|
3882
3882
|
safeRe: a,
|
|
3883
3883
|
t: l,
|
|
3884
3884
|
comparatorTrimReplace: u,
|
|
@@ -3975,10 +3975,10 @@ function et() {
|
|
|
3975
3975
|
}
|
|
3976
3976
|
}
|
|
3977
3977
|
at = e;
|
|
3978
|
-
const t = Lt, { safeRe: r, t: o } = De, n = fs, i =
|
|
3978
|
+
const t = Lt, { safeRe: r, t: o } = De, n = fs, i = Qe, c = M, a = Q();
|
|
3979
3979
|
return at;
|
|
3980
3980
|
}
|
|
3981
|
-
const Ia =
|
|
3981
|
+
const Ia = Q(), Fa = (s, e, t) => {
|
|
3982
3982
|
try {
|
|
3983
3983
|
e = new Ia(e, t);
|
|
3984
3984
|
} catch {
|
|
@@ -3987,9 +3987,9 @@ const Ia = Z(), Fa = (s, e, t) => {
|
|
|
3987
3987
|
return e.test(s);
|
|
3988
3988
|
};
|
|
3989
3989
|
var tt = Fa;
|
|
3990
|
-
const Ta =
|
|
3990
|
+
const Ta = Q(), Aa = (s, e) => new Ta(s, e).set.map((t) => t.map((r) => r.value).join(" ").trim().split(" "));
|
|
3991
3991
|
var La = Aa;
|
|
3992
|
-
const Na = M, Da =
|
|
3992
|
+
const Na = M, Da = Q(), Ba = (s, e, t) => {
|
|
3993
3993
|
let r = null, o = null, n = null;
|
|
3994
3994
|
try {
|
|
3995
3995
|
n = new Da(e, t);
|
|
@@ -4001,7 +4001,7 @@ const Na = M, Da = Z(), Ba = (s, e, t) => {
|
|
|
4001
4001
|
}), r;
|
|
4002
4002
|
};
|
|
4003
4003
|
var ja = Ba;
|
|
4004
|
-
const xa = M, Va =
|
|
4004
|
+
const xa = M, Va = Q(), Ua = (s, e, t) => {
|
|
4005
4005
|
let r = null, o = null, n = null;
|
|
4006
4006
|
try {
|
|
4007
4007
|
n = new Va(e, t);
|
|
@@ -4013,7 +4013,7 @@ const xa = M, Va = Z(), Ua = (s, e, t) => {
|
|
|
4013
4013
|
}), r;
|
|
4014
4014
|
};
|
|
4015
4015
|
var Ja = Ua;
|
|
4016
|
-
const ct = M, Ga =
|
|
4016
|
+
const ct = M, Ga = Q(), vr = Ze, Ma = (s, e) => {
|
|
4017
4017
|
s = new Ga(s, e);
|
|
4018
4018
|
let t = new ct("0.0.0");
|
|
4019
4019
|
if (s.test(t) || (t = new ct("0.0.0-0"), s.test(t)))
|
|
@@ -4042,7 +4042,7 @@ const ct = M, Ga = Z(), vr = Qe, Ma = (s, e) => {
|
|
|
4042
4042
|
return t && s.test(t) ? t : null;
|
|
4043
4043
|
};
|
|
4044
4044
|
var _a = Ma;
|
|
4045
|
-
const Ka =
|
|
4045
|
+
const Ka = Q(), Ha = (s, e) => {
|
|
4046
4046
|
try {
|
|
4047
4047
|
return new Ka(s, e).range || "*";
|
|
4048
4048
|
} catch {
|
|
@@ -4050,15 +4050,15 @@ const Ka = Z(), Ha = (s, e) => {
|
|
|
4050
4050
|
}
|
|
4051
4051
|
};
|
|
4052
4052
|
var Wa = Ha;
|
|
4053
|
-
const za = M, gs = et(), { ANY: Xa } = gs, qa =
|
|
4053
|
+
const za = M, gs = et(), { ANY: Xa } = gs, qa = Q(), Ya = tt, yr = Ze, wr = Dt, Qa = jt, Za = Bt, ec = (s, e, t, r) => {
|
|
4054
4054
|
s = new za(s, r), e = new qa(e, r);
|
|
4055
4055
|
let o, n, i, c, a;
|
|
4056
4056
|
switch (t) {
|
|
4057
4057
|
case ">":
|
|
4058
|
-
o = yr, n =
|
|
4058
|
+
o = yr, n = Qa, i = wr, c = ">", a = ">=";
|
|
4059
4059
|
break;
|
|
4060
4060
|
case "<":
|
|
4061
|
-
o = wr, n =
|
|
4061
|
+
o = wr, n = Za, i = yr, c = "<", a = "<=";
|
|
4062
4062
|
break;
|
|
4063
4063
|
default:
|
|
4064
4064
|
throw new TypeError('Must provide a hilo val of "<" or ">"');
|
|
@@ -4082,7 +4082,7 @@ const tc = xt, rc = (s, e, t) => tc(s, e, ">", t);
|
|
|
4082
4082
|
var sc = rc;
|
|
4083
4083
|
const oc = xt, nc = (s, e, t) => oc(s, e, "<", t);
|
|
4084
4084
|
var ic = nc;
|
|
4085
|
-
const Sr =
|
|
4085
|
+
const Sr = Q(), ac = (s, e, t) => (s = new Sr(s, t), e = new Sr(e, t), s.intersects(e, t));
|
|
4086
4086
|
var cc = ac;
|
|
4087
4087
|
const lc = tt, uc = Y;
|
|
4088
4088
|
var dc = (s, e, t) => {
|
|
@@ -4098,7 +4098,7 @@ var dc = (s, e, t) => {
|
|
|
4098
4098
|
const a = c.join(" || "), l = typeof e.raw == "string" ? e.raw : String(e);
|
|
4099
4099
|
return a.length < l.length ? a : e;
|
|
4100
4100
|
};
|
|
4101
|
-
const br =
|
|
4101
|
+
const br = Q(), Vt = et(), { ANY: lt } = Vt, be = tt, Ut = Y, pc = (s, e, t = {}) => {
|
|
4102
4102
|
if (s === e)
|
|
4103
4103
|
return !0;
|
|
4104
4104
|
s = new br(s, t), e = new br(e, t);
|
|
@@ -4180,7 +4180,7 @@ const br = Z(), Vt = et(), { ANY: lt } = Vt, be = tt, Ut = Y, pc = (s, e, t = {}
|
|
|
4180
4180
|
return r < 0 ? s : r > 0 || e.operator === "<" && s.operator === "<=" ? e : s;
|
|
4181
4181
|
};
|
|
4182
4182
|
var gc = pc;
|
|
4183
|
-
const ut = De, kr = Ye, mc = M, Pr = ds, vc = we, yc = Ci, wc = Oi, Sc = Ii, bc = Ti, Rc = Ni, Ec = ji, Cc = Ui, kc = Mi, Pc = Y, Oc = Wi, $c = qi, Ic = Nt, Fc = ea, Tc = sa, Ac =
|
|
4183
|
+
const ut = De, kr = Ye, mc = M, Pr = ds, vc = we, yc = Ci, wc = Oi, Sc = Ii, bc = Ti, Rc = Ni, Ec = ji, Cc = Ui, kc = Mi, Pc = Y, Oc = Wi, $c = qi, Ic = Nt, Fc = ea, Tc = sa, Ac = Ze, Lc = Dt, Nc = ps, Dc = hs, Bc = Bt, jc = jt, xc = fs, Vc = Pa, Uc = et(), Jc = Q(), Gc = tt, Mc = La, _c = ja, Kc = Ja, Hc = _a, Wc = Wa, zc = xt, Xc = sc, qc = ic, Yc = cc, Qc = dc, Zc = gc;
|
|
4184
4184
|
var el = {
|
|
4185
4185
|
parse: vc,
|
|
4186
4186
|
valid: yc,
|
|
@@ -4217,8 +4217,8 @@ var el = {
|
|
|
4217
4217
|
gtr: Xc,
|
|
4218
4218
|
ltr: qc,
|
|
4219
4219
|
intersects: Yc,
|
|
4220
|
-
simplifyRange:
|
|
4221
|
-
subset:
|
|
4220
|
+
simplifyRange: Qc,
|
|
4221
|
+
subset: Zc,
|
|
4222
4222
|
SemVer: mc,
|
|
4223
4223
|
re: ut.re,
|
|
4224
4224
|
src: ut.src,
|
|
@@ -4529,7 +4529,10 @@ class al {
|
|
|
4529
4529
|
return {
|
|
4530
4530
|
hits: (await this.concurrencyLimiter.run(
|
|
4531
4531
|
async () => await this.pFrames.getByKey(e).pFrame.findColumns(r)
|
|
4532
|
-
)).hits.
|
|
4532
|
+
)).hits.filter((n) => (
|
|
4533
|
+
// only exactly matching columns
|
|
4534
|
+
n.mappingVariants.length === 0 || n.mappingVariants.some((i) => i.qualifications.forHit.length === 0 && i.qualifications.forQueries.every((c) => c.length === 0))
|
|
4535
|
+
)).map((n) => n.hit)
|
|
4533
4536
|
};
|
|
4534
4537
|
}
|
|
4535
4538
|
async getColumnSpec(e, t) {
|
|
@@ -4666,14 +4669,14 @@ async function ul(s, e, t) {
|
|
|
4666
4669
|
...as,
|
|
4667
4670
|
...cs(e),
|
|
4668
4671
|
...t
|
|
4669
|
-
}, o = new Lr(r.localSecret), n = zs(r.logger, s, r.localProjections), i = Xs(s, r.logger), c = qs(s, r.logger), a = Ys(s, r.logger), l = new
|
|
4672
|
+
}, o = new Lr(r.localSecret), n = zs(r.logger, s, r.localProjections), i = Xs(s, r.logger), c = qs(s, r.logger), a = Ys(s, r.logger), l = new Qs(
|
|
4670
4673
|
r.logger,
|
|
4671
4674
|
n,
|
|
4672
4675
|
i,
|
|
4673
4676
|
r.blobDownloadPath,
|
|
4674
4677
|
o,
|
|
4675
4678
|
r.blobDriverOps
|
|
4676
|
-
), u = new
|
|
4679
|
+
), u = new Zs(
|
|
4677
4680
|
r.logger,
|
|
4678
4681
|
o,
|
|
4679
4682
|
c,
|