@platforma-open/milaboratories.clonotype-clustering.model 2.6.0 → 2.6.1
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 +6 -0
- package/dist/bundle.js +53 -134
- package/dist/bundle.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/work/clonotype-clustering/clonotype-clustering/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @platforma-open/milaboratories.clonotype-clustering.model@2.6.
|
|
3
|
+
> @platforma-open/milaboratories.clonotype-clustering.model@2.6.1 build /home/runner/work/clonotype-clustering/clonotype-clustering/model
|
|
4
4
|
> tsup && vite build && block-tools build-model
|
|
5
5
|
|
|
6
6
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
[34mESM[39m Build start
|
|
14
14
|
[32mESM[39m [1mdist/index.js [22m[32m4.51 KB[39m
|
|
15
15
|
[32mESM[39m [1mdist/index.js.map [22m[32m10.87 KB[39m
|
|
16
|
-
[32mESM[39m ⚡️ Build success in
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 136ms
|
|
17
17
|
[32mCJS[39m [1mdist/index.cjs [22m[32m4.52 KB[39m
|
|
18
18
|
[32mCJS[39m [1mdist/index.cjs.map [22m[32m10.94 KB[39m
|
|
19
|
-
[32mCJS[39m ⚡️ Build success in
|
|
19
|
+
[32mCJS[39m ⚡️ Build success in 137ms
|
|
20
20
|
[34mDTS[39m Build start
|
|
21
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
+
[32mDTS[39m ⚡️ Build success in 2361ms
|
|
22
22
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m5.17 KB[39m
|
|
23
23
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m5.17 KB[39m
|
|
24
24
|
[36mvite v6.3.5 [32mbuilding for production...[36m[39m
|
|
@@ -26,6 +26,6 @@ transforming...
|
|
|
26
26
|
[32m✓[39m 11 modules transformed.
|
|
27
27
|
rendering chunks...
|
|
28
28
|
computing gzip size...
|
|
29
|
-
[2mdist/[22m[36mbundle.js [39m[1m[
|
|
30
|
-
[2mdist/[22m[36mbundle.js [39m[1m[
|
|
31
|
-
[32m✓ built in
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m189.96 kB[22m[1m[22m[2m │ gzip: 37.07 kB[22m[2m │ map: 405.50 kB[22m
|
|
30
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m202.95 kB[22m[1m[22m[2m │ gzip: 37.72 kB[22m[2m │ map: 407.12 kB[22m
|
|
31
|
+
[32m✓ built in 732ms[39m
|
package/CHANGELOG.md
CHANGED
package/dist/bundle.js
CHANGED
|
@@ -4007,7 +4007,7 @@
|
|
|
4007
4007
|
}
|
|
4008
4008
|
}
|
|
4009
4009
|
}
|
|
4010
|
-
function F(n2) {
|
|
4010
|
+
function F$1(n2) {
|
|
4011
4011
|
if (!n2 || typeof n2 != "object")
|
|
4012
4012
|
return false;
|
|
4013
4013
|
const e = n2;
|
|
@@ -4025,7 +4025,7 @@
|
|
|
4025
4025
|
}
|
|
4026
4026
|
}
|
|
4027
4027
|
function gn(n2) {
|
|
4028
|
-
return F(n2) ? n2.type === "JsonPartitioned" || n2.type === "BinaryPartitioned" : false;
|
|
4028
|
+
return F$1(n2) ? n2.type === "JsonPartitioned" || n2.type === "BinaryPartitioned" : false;
|
|
4029
4029
|
}
|
|
4030
4030
|
function bn(n2) {
|
|
4031
4031
|
switch (n2.type) {
|
|
@@ -4338,7 +4338,7 @@
|
|
|
4338
4338
|
data: e(n2.data)
|
|
4339
4339
|
};
|
|
4340
4340
|
}
|
|
4341
|
-
function Rn(n2) {
|
|
4341
|
+
function Rn$1(n2) {
|
|
4342
4342
|
const e = /* @__PURE__ */ new Map(), t = (r) => {
|
|
4343
4343
|
switch (r.type) {
|
|
4344
4344
|
case "column":
|
|
@@ -4531,14 +4531,14 @@
|
|
|
4531
4531
|
});
|
|
4532
4532
|
var Xe = Object.defineProperty;
|
|
4533
4533
|
var Qe = (t, e, n2) => e in t ? Xe(t, e, { enumerable: true, configurable: true, writable: true, value: n2 }) : t[e] = n2;
|
|
4534
|
-
var
|
|
4534
|
+
var F = (t, e, n2) => Qe(t, typeof e != "symbol" ? e + "" : e, n2);
|
|
4535
4535
|
function re(t) {
|
|
4536
4536
|
return { type: "Immediate", value: t };
|
|
4537
4537
|
}
|
|
4538
4538
|
function ht() {
|
|
4539
4539
|
return typeof globalThis.getPlatforma < "u" || typeof globalThis.platforma < "u";
|
|
4540
4540
|
}
|
|
4541
|
-
function
|
|
4541
|
+
function Re(t) {
|
|
4542
4542
|
if (t && typeof globalThis.getPlatforma == "function")
|
|
4543
4543
|
return globalThis.getPlatforma(t);
|
|
4544
4544
|
if (typeof globalThis.platforma < "u") return globalThis.platforma;
|
|
@@ -4566,8 +4566,8 @@
|
|
|
4566
4566
|
}
|
|
4567
4567
|
class I {
|
|
4568
4568
|
constructor(e, n2 = (r) => r) {
|
|
4569
|
-
|
|
4570
|
-
|
|
4569
|
+
F(this, "isResolved", false);
|
|
4570
|
+
F(this, "resolvedValue");
|
|
4571
4571
|
this.handle = e, this.postProcess = n2, mt(e, (r) => {
|
|
4572
4572
|
this.resolvedValue = n2(r), this.isResolved = true;
|
|
4573
4573
|
});
|
|
@@ -4808,7 +4808,7 @@
|
|
|
4808
4808
|
return s2 && (l2 = l2.filter((u2) => u2[1] !== void 0)), l2.map(([u2, d]) => o(u2, d));
|
|
4809
4809
|
}
|
|
4810
4810
|
}
|
|
4811
|
-
const
|
|
4811
|
+
const De = "staging", Ke = "main";
|
|
4812
4812
|
const bt = "pl7.app/label", wt = "pl7.app/trace", At = z$2.object({
|
|
4813
4813
|
type: z$2.string(),
|
|
4814
4814
|
importance: z$2.number().optional(),
|
|
@@ -4817,11 +4817,11 @@
|
|
|
4817
4817
|
}), xt = z$2.array(At), Ct = 1e-3, Pt = "__LABEL__", Se = "__LABEL__@1";
|
|
4818
4818
|
function Ve(t, e, n2 = {}) {
|
|
4819
4819
|
const r = /* @__PURE__ */ new Map(), i = n2.forceTraceElements !== void 0 && n2.forceTraceElements.length > 0 ? new Set(n2.forceTraceElements) : void 0, s2 = /* @__PURE__ */ new Map(), o = t.map((f2) => {
|
|
4820
|
-
var S,
|
|
4820
|
+
var S, R;
|
|
4821
4821
|
const w2 = e(f2);
|
|
4822
4822
|
let c2, g, x2;
|
|
4823
4823
|
"spec" in w2 && typeof w2.spec == "object" ? (c2 = w2.spec, g = w2.prefixTrace, x2 = w2.suffixTrace) : c2 = w2;
|
|
4824
|
-
const p2 = (S = c2.annotations) == null ? void 0 : S[bt], A2 = (
|
|
4824
|
+
const p2 = (S = c2.annotations) == null ? void 0 : S[bt], A2 = (R = c2.annotations) == null ? void 0 : R[wt], m2 = (A2 ? xt.safeParse(JSON.parse(A2)).data : void 0) ?? [], v = [
|
|
4825
4825
|
...g ?? [],
|
|
4826
4826
|
...m2,
|
|
4827
4827
|
...x2 ?? []
|
|
@@ -4963,7 +4963,7 @@
|
|
|
4963
4963
|
}
|
|
4964
4964
|
function It(t) {
|
|
4965
4965
|
if (t === void 0) return;
|
|
4966
|
-
if (F(t))
|
|
4966
|
+
if (F$1(t))
|
|
4967
4967
|
return _t(t);
|
|
4968
4968
|
const e = St(t);
|
|
4969
4969
|
if (!e) return;
|
|
@@ -5078,7 +5078,7 @@
|
|
|
5078
5078
|
}
|
|
5079
5079
|
function Tt(t) {
|
|
5080
5080
|
if (t !== void 0) {
|
|
5081
|
-
if (F(t)) return t;
|
|
5081
|
+
if (F$1(t)) return t;
|
|
5082
5082
|
if (yn(t)) return bn(t);
|
|
5083
5083
|
if (t instanceof O) return ye(t);
|
|
5084
5084
|
throw new Error(`Unexpected input type: ${typeof t}`);
|
|
@@ -5166,7 +5166,7 @@
|
|
|
5166
5166
|
if (t)
|
|
5167
5167
|
return t.map((e) => [e.axisIdx, e.value]);
|
|
5168
5168
|
}
|
|
5169
|
-
function
|
|
5169
|
+
function Ft(t, e) {
|
|
5170
5170
|
if (!e || e.length === 0) return t;
|
|
5171
5171
|
const n2 = [...e].sort((r, i) => r[0] - i[0]);
|
|
5172
5172
|
return ke({ id: t, axisFilters: n2 });
|
|
@@ -5176,7 +5176,7 @@
|
|
|
5176
5176
|
const e = t, n2 = e.domain && typeof e.domain == "object" && Object.values(e.domain).some((i) => typeof i == "object" && i !== null && "anchor" in i), r = e.axes && Array.isArray(e.axes) && e.axes.some((i) => typeof i == "object" && i !== null && "anchor" in i);
|
|
5177
5177
|
return !!e.domainAnchor || n2 || r;
|
|
5178
5178
|
}
|
|
5179
|
-
function
|
|
5179
|
+
function Rt(t) {
|
|
5180
5180
|
if (typeof t != "object" || !("axes" in t) || t.axes === void 0)
|
|
5181
5181
|
return [];
|
|
5182
5182
|
const e = t.axes.map((n2, r) => typeof n2 == "object" && "split" in n2 && n2.split === true ? r : -1).filter((n2) => n2 !== -1);
|
|
@@ -5186,9 +5186,9 @@
|
|
|
5186
5186
|
}
|
|
5187
5187
|
class ve {
|
|
5188
5188
|
constructor() {
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5189
|
+
F(this, "defaultProviderStore", []);
|
|
5190
|
+
F(this, "providers", [new Et(this.defaultProviderStore)]);
|
|
5191
|
+
F(this, "axisLabelProviders", []);
|
|
5192
5192
|
}
|
|
5193
5193
|
addColumnProvider(e) {
|
|
5194
5194
|
return this.providers.push(e), this;
|
|
@@ -5243,12 +5243,12 @@
|
|
|
5243
5243
|
if (u2(S.spec)) continue;
|
|
5244
5244
|
if (p2.has(S.id))
|
|
5245
5245
|
throw new Error(`Duplicate column id ${S.id} in provider ${C2.constructor.name}`);
|
|
5246
|
-
const
|
|
5247
|
-
b.has(
|
|
5246
|
+
const R = _n(S.spec);
|
|
5247
|
+
b.has(R) || (p2.add(S.id), b.add(R), A2.push(S));
|
|
5248
5248
|
}
|
|
5249
5249
|
}
|
|
5250
5250
|
if (A2.length === 0) continue;
|
|
5251
|
-
const m2 =
|
|
5251
|
+
const m2 = Rt(c2), v = m2.length > 0;
|
|
5252
5252
|
for (const C2 of A2) {
|
|
5253
5253
|
if (!f(C2.spec)) continue;
|
|
5254
5254
|
const L = C2.spec;
|
|
@@ -5260,7 +5260,7 @@
|
|
|
5260
5260
|
}
|
|
5261
5261
|
if (!gn(S))
|
|
5262
5262
|
throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${S.type} for column ${C2.id}`);
|
|
5263
|
-
const
|
|
5263
|
+
const R = It(S), k2 = m2[m2.length - 1];
|
|
5264
5264
|
if (k2 >= S.partitionKeyLength)
|
|
5265
5265
|
throw new Error(`Not enough partition keys (${S.partitionKeyLength}) for requested split axes (max index ${k2}) in column ${L.name}`);
|
|
5266
5266
|
const W = m2.map((_) => this.findLabels(p$1(L.axesSpec[_]))), V = [], N2 = (_, G2) => {
|
|
@@ -5270,9 +5270,9 @@
|
|
|
5270
5270
|
return;
|
|
5271
5271
|
}
|
|
5272
5272
|
const $ = m2[G2];
|
|
5273
|
-
if ($ >=
|
|
5274
|
-
throw new Error(`Axis index ${$} out of bounds for unique keys array (length ${
|
|
5275
|
-
const J =
|
|
5273
|
+
if ($ >= R.length)
|
|
5274
|
+
throw new Error(`Axis index ${$} out of bounds for unique keys array (length ${R.length}) during split key generation for column ${C2.id}`);
|
|
5275
|
+
const J = R[$];
|
|
5276
5276
|
if (!J || J.length === 0) {
|
|
5277
5277
|
V.length = 0;
|
|
5278
5278
|
return;
|
|
@@ -5321,7 +5321,7 @@
|
|
|
5321
5321
|
for (const { value: c2, label: g } of f$1) {
|
|
5322
5322
|
const { originalColumn: x2, spec: p2 } = c2, A2 = c2.type === "split" ? c2.axisFilters : void 0, m2 = kt(A2);
|
|
5323
5323
|
let v;
|
|
5324
|
-
r ? v = r.deriveS(p2, m2) : v =
|
|
5324
|
+
r ? v = r.deriveS(p2, m2) : v = Ft(x2.id, m2);
|
|
5325
5325
|
let C2 = { ...c2.adjustedSpec };
|
|
5326
5326
|
o && (C2 = {
|
|
5327
5327
|
...C2,
|
|
@@ -5371,9 +5371,9 @@
|
|
|
5371
5371
|
function Ie(t) {
|
|
5372
5372
|
return Kn(t, (e) => e instanceof O ? e.handle : yn(e) ? hn(e, (n2) => n2.handle) : e);
|
|
5373
5373
|
}
|
|
5374
|
-
class
|
|
5374
|
+
class Dt {
|
|
5375
5375
|
constructor() {
|
|
5376
|
-
|
|
5376
|
+
F(this, "ctx", h());
|
|
5377
5377
|
}
|
|
5378
5378
|
/**
|
|
5379
5379
|
* @deprecated use getOptions()
|
|
@@ -5642,11 +5642,11 @@
|
|
|
5642
5642
|
}
|
|
5643
5643
|
class te {
|
|
5644
5644
|
constructor() {
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
|
|
5645
|
+
F(this, "ctx");
|
|
5646
|
+
F(this, "args");
|
|
5647
|
+
F(this, "uiState");
|
|
5648
|
+
F(this, "_activeArgsCache");
|
|
5649
|
+
F(this, "resultPool", new Dt());
|
|
5650
5650
|
this.ctx = h(), this.args = JSON.parse(this.ctx.args), this.uiState = this.ctx.uiState !== void 0 ? JSON.parse(this.ctx.uiState) : {};
|
|
5651
5651
|
}
|
|
5652
5652
|
/**
|
|
@@ -5669,7 +5669,7 @@
|
|
|
5669
5669
|
);
|
|
5670
5670
|
}
|
|
5671
5671
|
get prerun() {
|
|
5672
|
-
return this.getNamedAccessor(
|
|
5672
|
+
return this.getNamedAccessor(De);
|
|
5673
5673
|
}
|
|
5674
5674
|
get outputs() {
|
|
5675
5675
|
return this.getNamedAccessor(Ke);
|
|
@@ -5702,7 +5702,7 @@
|
|
|
5702
5702
|
},
|
|
5703
5703
|
filters: e.filters ?? [],
|
|
5704
5704
|
sorting: e.sorting ?? []
|
|
5705
|
-
} : n2 = e, this.verifyInlineAndExplicitColumnsSupport(Rn(n2.src)), this.ctx.createPTable(
|
|
5705
|
+
} : n2 = e, this.verifyInlineAndExplicitColumnsSupport(Rn$1(n2.src)), this.ctx.createPTable(
|
|
5706
5706
|
In(n2, (r) => Ie(r))
|
|
5707
5707
|
);
|
|
5708
5708
|
}
|
|
@@ -5723,7 +5723,7 @@
|
|
|
5723
5723
|
this.ctx.logError(e);
|
|
5724
5724
|
}
|
|
5725
5725
|
}
|
|
5726
|
-
const Y = "1.
|
|
5726
|
+
const Y = "1.33.2";
|
|
5727
5727
|
function Kt(t) {
|
|
5728
5728
|
return t.__renderLambda === true;
|
|
5729
5729
|
}
|
|
@@ -5929,31 +5929,12 @@
|
|
|
5929
5929
|
Object.entries(this._outputs).map(([n2, r]) => [n2, de(r)])
|
|
5930
5930
|
)
|
|
5931
5931
|
};
|
|
5932
|
-
return ht() ?
|
|
5932
|
+
return ht() ? Re({ sdkVersion: Y }) : { config: e };
|
|
5933
5933
|
}
|
|
5934
5934
|
}
|
|
5935
|
-
const jt = (t, e) => {
|
|
5936
|
-
let n2 = t.toString();
|
|
5937
|
-
return e == null || e.forEach((r) => {
|
|
5938
|
-
if (r)
|
|
5939
|
-
for (const [i, s2] of Object.entries(r))
|
|
5940
|
-
n2 += i, n2 += s2;
|
|
5941
|
-
}), n2;
|
|
5942
|
-
};
|
|
5943
|
-
function Vt(t) {
|
|
5944
|
-
if (!t.length)
|
|
5945
|
-
return [];
|
|
5946
|
-
let e = [[]];
|
|
5947
|
-
return t.forEach((n2) => {
|
|
5948
|
-
const r = [];
|
|
5949
|
-
n2.forEach((i) => {
|
|
5950
|
-
r.push(...e.map((s2) => [...s2, i]));
|
|
5951
|
-
}), e = r;
|
|
5952
|
-
}), e;
|
|
5953
|
-
}
|
|
5954
5935
|
function $t(t) {
|
|
5955
5936
|
var e;
|
|
5956
|
-
return t.axesSpec.length === 2 && ((e = t.annotations) == null ? void 0 : e[
|
|
5937
|
+
return t.axesSpec.length === 2 && ((e = t.annotations) == null ? void 0 : e[Mt]) === "true";
|
|
5957
5938
|
}
|
|
5958
5939
|
function Nt(t) {
|
|
5959
5940
|
var n2, r;
|
|
@@ -5982,74 +5963,12 @@
|
|
|
5982
5963
|
}
|
|
5983
5964
|
return false;
|
|
5984
5965
|
}
|
|
5985
|
-
function
|
|
5986
|
-
const r = t.axesSpec.map(p$1), i = e.axesSpec.map(p$1);
|
|
5987
|
-
return i.some((s2) => r.some((o) => X(o, s2) && X(s2, o))) || !!n2 && i.some((s2) => r.some((o) => Je(n2, o, s2)));
|
|
5988
|
-
}
|
|
5989
|
-
function Me(t, e, n2) {
|
|
5966
|
+
function Ue(t, e, n2) {
|
|
5990
5967
|
const r = t.axesSpec.map(p$1), i = e.axesSpec.map(p$1);
|
|
5991
5968
|
return i.some((s2) => r.some((o) => X(o, s2))) || !!n2 && i.some((s2) => r.some((o) => Je(n2, o, s2)));
|
|
5992
5969
|
}
|
|
5993
|
-
const Mt = "pl7.app/
|
|
5994
|
-
function
|
|
5995
|
-
const r = t.spec.axesSpec.map(p$1), i = e.spec.axesSpec.map(p$1);
|
|
5996
|
-
if (Jt(t.spec, e.spec, n2))
|
|
5997
|
-
return [];
|
|
5998
|
-
if (!Me(t.spec, e.spec, n2))
|
|
5999
|
-
return [];
|
|
6000
|
-
const a = i.map((b) => r.filter((f2) => X(f2, b))), l2 = Vt(a), u2 = /* @__PURE__ */ new Set(), d = /* @__PURE__ */ new Set(), y = l2.map((b) => {
|
|
6001
|
-
const f2 = /* @__PURE__ */ new Set();
|
|
6002
|
-
return b.map((w2, c2) => {
|
|
6003
|
-
const g = e.spec.axesSpec[c2].domain, x2 = w2.domain;
|
|
6004
|
-
return Object.entries(x2 ?? {}).forEach(([p2, A2]) => {
|
|
6005
|
-
if ((g == null ? void 0 : g[p2]) === void 0) {
|
|
6006
|
-
const m2 = JSON.stringify([p2, A2]);
|
|
6007
|
-
f2.add(m2), u2.add(m2);
|
|
6008
|
-
}
|
|
6009
|
-
}), {
|
|
6010
|
-
...w2,
|
|
6011
|
-
annotations: e.spec.axesSpec[c2].annotations
|
|
6012
|
-
};
|
|
6013
|
-
}), f2;
|
|
6014
|
-
});
|
|
6015
|
-
return [...u2].forEach((b) => {
|
|
6016
|
-
y.some((f2) => !f2.has(b)) && d.add(b);
|
|
6017
|
-
}), l2.map((b, f2) => {
|
|
6018
|
-
var p2;
|
|
6019
|
-
const w2 = jt(e.id, b.map((A2) => A2.domain)), c2 = ((p2 = e.spec.annotations) == null ? void 0 : p2[Te]) ?? "", g = [...y[f2]].filter((A2) => d.has(A2)).sort().map((A2) => {
|
|
6020
|
-
var m2;
|
|
6021
|
-
return (m2 = JSON.parse(A2)) == null ? void 0 : m2[1];
|
|
6022
|
-
}).join(" / "), x2 = {
|
|
6023
|
-
...e.spec.annotations,
|
|
6024
|
-
[Mt]: "true"
|
|
6025
|
-
};
|
|
6026
|
-
return (c2 || g) && (x2[Te] = c2 && g ? c2 + " / " + g : c2 + g), {
|
|
6027
|
-
id: w2,
|
|
6028
|
-
spec: {
|
|
6029
|
-
...e.spec,
|
|
6030
|
-
axesSpec: b.map((A2, m2) => ({
|
|
6031
|
-
...A2,
|
|
6032
|
-
annotations: e.spec.axesSpec[m2].annotations
|
|
6033
|
-
})),
|
|
6034
|
-
annotations: x2
|
|
6035
|
-
},
|
|
6036
|
-
data: e.data
|
|
6037
|
-
};
|
|
6038
|
-
});
|
|
6039
|
-
}
|
|
6040
|
-
function Bt(t, e = /* @__PURE__ */ new Map()) {
|
|
6041
|
-
const n2 = [];
|
|
6042
|
-
for (let r = 0; r < t.length; r++)
|
|
6043
|
-
for (let i = r + 1; i < t.length; i++) {
|
|
6044
|
-
const s2 = t[r], o = t[i];
|
|
6045
|
-
n2.push(
|
|
6046
|
-
...Le(s2, o, e),
|
|
6047
|
-
...Le(o, s2, e)
|
|
6048
|
-
);
|
|
6049
|
-
}
|
|
6050
|
-
return n2;
|
|
6051
|
-
}
|
|
6052
|
-
function Wt(t, e, n2 = [], r = /* @__PURE__ */ new Map()) {
|
|
5970
|
+
const Mt = "pl7.app/isLinkerColumn";
|
|
5971
|
+
function Bt(t, e, n2 = [], r = /* @__PURE__ */ new Map()) {
|
|
6053
5972
|
const i = /* @__PURE__ */ new Set(), s2 = /* @__PURE__ */ new Map();
|
|
6054
5973
|
t.forEach((a) => {
|
|
6055
5974
|
i.add(a.id), s2.set(Zn(Jn(a.spec)), a);
|
|
@@ -6060,7 +5979,7 @@
|
|
|
6060
5979
|
const l2 = Zn(Jn(a.spec));
|
|
6061
5980
|
if (!s2.has(l2)) {
|
|
6062
5981
|
for (const u2 of s2.values())
|
|
6063
|
-
if (
|
|
5982
|
+
if (Ue(u2.spec, a.spec, r)) {
|
|
6064
5983
|
o.set(l2, a);
|
|
6065
5984
|
break;
|
|
6066
5985
|
}
|
|
@@ -6073,18 +5992,18 @@
|
|
|
6073
5992
|
}
|
|
6074
5993
|
return [...s2.values(), ...o.values()];
|
|
6075
5994
|
}
|
|
6076
|
-
function
|
|
5995
|
+
function Rn(t, e) {
|
|
6077
5996
|
if (!e) return;
|
|
6078
|
-
const n2 = t.resultPool.getData().entries.map((l2) => l2.obj).filter(Z$1), i = [...e, ...n2].filter((l2) => $t(l2.spec)), s2 = Nt(i),
|
|
5997
|
+
const n2 = t.resultPool.getData().entries.map((l2) => l2.obj).filter(Z$1), i = [...e, ...n2].filter((l2) => $t(l2.spec)), s2 = Nt(i), a = [...Bt(e, n2, i, s2)];
|
|
6079
5998
|
if (!a.some(
|
|
6080
5999
|
(l2) => l2.data instanceof O && !l2.data.getIsReadyOrError()
|
|
6081
6000
|
))
|
|
6082
6001
|
return t.createPFrame(a);
|
|
6083
6002
|
}
|
|
6084
|
-
function
|
|
6003
|
+
function Wt(t) {
|
|
6085
6004
|
return t.axesSpec.length === 1 && t.name === "pl7.app/label";
|
|
6086
6005
|
}
|
|
6087
|
-
function
|
|
6006
|
+
function Me(t) {
|
|
6088
6007
|
return new ve().addAxisLabelProvider(t).addColumnProvider(t).getColumns({
|
|
6089
6008
|
name: "pl7.app/label",
|
|
6090
6009
|
axes: [{}]
|
|
@@ -6094,7 +6013,7 @@
|
|
|
6094
6013
|
function Be(t, e) {
|
|
6095
6014
|
const n2 = [], r = [];
|
|
6096
6015
|
for (const a of t)
|
|
6097
|
-
|
|
6016
|
+
Wt(a.spec) ? n2.push(a) : r.push(a);
|
|
6098
6017
|
const i = [];
|
|
6099
6018
|
for (const a of r)
|
|
6100
6019
|
for (const l2 of a.spec.axesSpec) {
|
|
@@ -6164,24 +6083,24 @@
|
|
|
6164
6083
|
sorting: i
|
|
6165
6084
|
};
|
|
6166
6085
|
}
|
|
6167
|
-
function
|
|
6086
|
+
function Gt(t) {
|
|
6168
6087
|
var e;
|
|
6169
6088
|
return ((e = t.annotations) == null ? void 0 : e["pl7.app/table/visibility"]) === "hidden";
|
|
6170
6089
|
}
|
|
6171
|
-
function
|
|
6090
|
+
function Ht(t) {
|
|
6172
6091
|
var e;
|
|
6173
6092
|
return ((e = t.annotations) == null ? void 0 : e["pl7.app/table/visibility"]) === "optional";
|
|
6174
6093
|
}
|
|
6175
6094
|
function jn(t, e, n2, r, i) {
|
|
6176
6095
|
var g, x2;
|
|
6177
|
-
const s2 = "full", o = [...[], ...((g = r == null ? void 0 : r.pTableParams) == null ? void 0 : g.filters) ?? []], a = ((x2 = r == null ? void 0 : r.pTableParams) == null ? void 0 : x2.sorting) ?? [], l2 = e.filter((p2) => !
|
|
6096
|
+
const s2 = "full", o = [...[], ...((g = r == null ? void 0 : r.pTableParams) == null ? void 0 : g.filters) ?? []], a = ((x2 = r == null ? void 0 : r.pTableParams) == null ? void 0 : x2.sorting) ?? [], l2 = e.filter((p2) => !Gt(p2.spec)), u2 = l2.find((p2) => n2(p2.spec));
|
|
6178
6097
|
if (!u2) return;
|
|
6179
|
-
const d =
|
|
6098
|
+
const d = Me(t.resultPool);
|
|
6180
6099
|
if (!d) return;
|
|
6181
6100
|
const y = new Set((() => {
|
|
6182
6101
|
var A2, m2;
|
|
6183
6102
|
const p2 = (m2 = (A2 = r == null ? void 0 : r.gridState.columnVisibility) == null ? void 0 : A2.hiddenColIds) == null ? void 0 : m2.map(ne).filter((v) => v.type === "column").map((v) => v.id);
|
|
6184
|
-
return p2 || l2.filter((v) =>
|
|
6103
|
+
return p2 || l2.filter((v) => Ht(v.spec)).map((v) => v.id);
|
|
6185
6104
|
})());
|
|
6186
6105
|
y.delete(u2.id), [...o.map((p2) => p2.column), ...a.map((p2) => p2.column)].filter((p2) => p2.type === "column").map((p2) => y.delete(p2.id));
|
|
6187
6106
|
const b = l2.filter((p2) => !y.has(p2.id)), f2 = Be(b.map(On), d), w2 = [
|
|
@@ -6322,7 +6241,7 @@
|
|
|
6322
6241
|
);
|
|
6323
6242
|
if (seqCols === void 0)
|
|
6324
6243
|
return void 0;
|
|
6325
|
-
return
|
|
6244
|
+
return Rn(ctx, [...msaCols, ...seqCols]);
|
|
6326
6245
|
}).output("linkerColumnId", (ctx) => {
|
|
6327
6246
|
var _a, _b, _c;
|
|
6328
6247
|
const pCols = (_b = (_a = ctx.outputs) == null ? void 0 : _a.resolve("msaPf")) == null ? void 0 : _b.getPColumns();
|
|
@@ -6350,7 +6269,7 @@
|
|
|
6350
6269
|
if (pCols === void 0) {
|
|
6351
6270
|
return void 0;
|
|
6352
6271
|
}
|
|
6353
|
-
return
|
|
6272
|
+
return Rn(ctx, pCols);
|
|
6354
6273
|
}).output("isRunning", (ctx) => {
|
|
6355
6274
|
var _a;
|
|
6356
6275
|
return ((_a = ctx.outputs) == null ? void 0 : _a.getIsReadyOrError()) === false;
|