@platforma-open/milaboratories.clonotype-clustering.model 2.13.0 → 2.13.2
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 +10 -10
- package/CHANGELOG.md +12 -0
- package/dist/bundle.js +36 -38
- package/dist/bundle.js.map +1 -1
- package/dist/index.cjs +1 -1
- 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 -1
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +6 -6
- package/src/index.ts +1 -1
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.13.
|
|
3
|
+
> @platforma-open/milaboratories.clonotype-clustering.model@2.13.2 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
|
|
@@ -12,20 +12,20 @@
|
|
|
12
12
|
[34mCJS[39m Build start
|
|
13
13
|
[34mESM[39m Build start
|
|
14
14
|
[32mCJS[39m [1mdist/index.cjs [22m[32m6.49 KB[39m
|
|
15
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[32m16.
|
|
16
|
-
[32mCJS[39m ⚡️ Build success in
|
|
15
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m16.05 KB[39m
|
|
16
|
+
[32mCJS[39m ⚡️ Build success in 213ms
|
|
17
17
|
[32mESM[39m [1mdist/index.js [22m[32m6.48 KB[39m
|
|
18
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m15.
|
|
19
|
-
[32mESM[39m ⚡️ Build success in
|
|
18
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m15.96 KB[39m
|
|
19
|
+
[32mESM[39m ⚡️ Build success in 214ms
|
|
20
20
|
[34mDTS[39m Build start
|
|
21
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
+
[32mDTS[39m ⚡️ Build success in 2521ms
|
|
22
22
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m5.85 KB[39m
|
|
23
23
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m5.85 KB[39m
|
|
24
24
|
[36mvite v6.3.5 [32mbuilding for production...[36m[39m
|
|
25
25
|
transforming...
|
|
26
|
-
[32m✓[39m
|
|
26
|
+
[32m✓[39m 69 modules transformed.
|
|
27
27
|
rendering chunks...
|
|
28
28
|
computing gzip size...
|
|
29
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m242.
|
|
30
|
-
[2mdist/[22m[36mbundle.js [39m[1m[
|
|
31
|
-
[32m✓ built in
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m242.78 kB[22m[1m[22m[2m │ gzip: 46.12 kB[22m[2m │ map: 517.30 kB[22m
|
|
30
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m258.04 kB[22m[1m[22m[2m │ gzip: 46.87 kB[22m[2m │ map: 518.96 kB[22m
|
|
31
|
+
[32m✓ built in 1.49s[39m
|
package/CHANGELOG.md
CHANGED
package/dist/bundle.js
CHANGED
|
@@ -3966,13 +3966,16 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3966
3966
|
});
|
|
3967
3967
|
z.object({
|
|
3968
3968
|
/** Included left border. */
|
|
3969
|
-
from: z.number(),
|
|
3969
|
+
from: z.number().min(0),
|
|
3970
3970
|
/** Excluded right border. */
|
|
3971
|
-
to: z.number()
|
|
3971
|
+
to: z.number().min(1)
|
|
3972
3972
|
});
|
|
3973
3973
|
function assertNever(x) {
|
|
3974
3974
|
throw new Error("Unexpected object: " + x);
|
|
3975
3975
|
}
|
|
3976
|
+
function uniqueBy(array, makeId) {
|
|
3977
|
+
return [...new Map(array.map((e) => [makeId(e), e])).values()];
|
|
3978
|
+
}
|
|
3976
3979
|
function isDataInfo(value) {
|
|
3977
3980
|
if (!value || typeof value !== "object") {
|
|
3978
3981
|
return false;
|
|
@@ -4229,14 +4232,6 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4229
4232
|
function parseJson(value) {
|
|
4230
4233
|
return JSON.parse(value);
|
|
4231
4234
|
}
|
|
4232
|
-
const ValueType = {
|
|
4233
|
-
Int: "Int",
|
|
4234
|
-
Long: "Long",
|
|
4235
|
-
Float: "Float",
|
|
4236
|
-
Double: "Double",
|
|
4237
|
-
String: "String",
|
|
4238
|
-
Bytes: "Bytes"
|
|
4239
|
-
};
|
|
4240
4235
|
function readMetadata(metadata, key) {
|
|
4241
4236
|
return metadata == null ? void 0 : metadata[key];
|
|
4242
4237
|
}
|
|
@@ -4265,6 +4260,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4265
4260
|
IsVirtual: "pl7.app/graph/isVirtual"
|
|
4266
4261
|
},
|
|
4267
4262
|
HideDataFromUi: "pl7.app/hideDataFromUi",
|
|
4263
|
+
HideDataFromGraphs: "pl7.app/hideDataFromGraphs",
|
|
4268
4264
|
IsLinkerColumn: "pl7.app/isLinkerColumn",
|
|
4269
4265
|
Label: "pl7.app/label",
|
|
4270
4266
|
Max: "pl7.app/max",
|
|
@@ -4282,21 +4278,15 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4282
4278
|
},
|
|
4283
4279
|
Trace: "pl7.app/trace"
|
|
4284
4280
|
};
|
|
4285
|
-
const AxisSpec = z.object({
|
|
4286
|
-
type: z.nativeEnum(ValueType),
|
|
4287
|
-
name: z.string(),
|
|
4288
|
-
domain: z.record(z.string(), z.string()).optional(),
|
|
4289
|
-
annotations: z.record(z.string(), z.string()).optional(),
|
|
4290
|
-
parentAxes: z.array(z.number()).optional()
|
|
4291
|
-
}).passthrough();
|
|
4292
4281
|
const AnnotationJson = {
|
|
4293
4282
|
[Annotation.DiscreteValues]: z.array(z.string()).or(z.array(z.number())),
|
|
4294
4283
|
[Annotation.Graph.IsVirtual]: z.boolean(),
|
|
4295
4284
|
[Annotation.HideDataFromUi]: z.boolean(),
|
|
4285
|
+
[Annotation.HideDataFromGraphs]: z.boolean(),
|
|
4296
4286
|
[Annotation.IsLinkerColumn]: z.boolean(),
|
|
4297
4287
|
[Annotation.Max]: z.number(),
|
|
4298
4288
|
[Annotation.Min]: z.number(),
|
|
4299
|
-
[Annotation.Parents]: z.array(
|
|
4289
|
+
[Annotation.Parents]: z.array(z.string()),
|
|
4300
4290
|
[Annotation.Sequence.Annotation.Mapping]: z.record(z.string(), z.string()),
|
|
4301
4291
|
[Annotation.Sequence.IsAnnotation]: z.boolean(),
|
|
4302
4292
|
[Annotation.Table.OrderPriority]: z.number(),
|
|
@@ -4416,7 +4406,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4416
4406
|
if (axis.parentAxes) {
|
|
4417
4407
|
modifiedAxis.parentAxesSpec = axis.parentAxes.map((idx2) => modifiedAxes[idx2]);
|
|
4418
4408
|
} else {
|
|
4419
|
-
|
|
4409
|
+
const parents = parseParentsFromAnnotations(axis).map((name) => modifiedAxes.find((axis2) => axis2.name === name));
|
|
4410
|
+
modifiedAxis.parentAxesSpec = parents.some((p) => p === void 0) ? [] : parents;
|
|
4420
4411
|
(_a = modifiedAxis.annotations) == null ? true : delete _a[Annotation.Parents];
|
|
4421
4412
|
}
|
|
4422
4413
|
});
|
|
@@ -4485,6 +4476,13 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4485
4476
|
newId: entry.newId,
|
|
4486
4477
|
axisFilters: entry.axisFilters
|
|
4487
4478
|
};
|
|
4479
|
+
case "artificialColumn":
|
|
4480
|
+
return {
|
|
4481
|
+
type: "artificialColumn",
|
|
4482
|
+
column: cb(entry.column),
|
|
4483
|
+
newId: entry.newId,
|
|
4484
|
+
axesIndices: entry.axesIndices
|
|
4485
|
+
};
|
|
4488
4486
|
case "inlineColumn":
|
|
4489
4487
|
return entry;
|
|
4490
4488
|
case "inner":
|
|
@@ -4721,6 +4719,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4721
4719
|
case "slicedColumn":
|
|
4722
4720
|
columns.set(entry2.column.id, entry2.column);
|
|
4723
4721
|
return;
|
|
4722
|
+
case "artificialColumn":
|
|
4723
|
+
columns.set(entry2.column.id, entry2.column);
|
|
4724
|
+
return;
|
|
4724
4725
|
case "inlineColumn":
|
|
4725
4726
|
return;
|
|
4726
4727
|
case "full":
|
|
@@ -6522,7 +6523,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
6522
6523
|
this.ctx.logError(msg);
|
|
6523
6524
|
}
|
|
6524
6525
|
}
|
|
6525
|
-
var version = "1.
|
|
6526
|
+
var version = "1.43.2";
|
|
6526
6527
|
const PlatformaSDKVersion = version;
|
|
6527
6528
|
function isConfigLambda(cfgOrFh) {
|
|
6528
6529
|
return cfgOrFh.__renderLambda === true;
|
|
@@ -6695,6 +6696,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
6695
6696
|
};
|
|
6696
6697
|
}
|
|
6697
6698
|
function upgradePlDataTableStateV2(state) {
|
|
6699
|
+
if (!state) {
|
|
6700
|
+
return createPlDataTableStateV2();
|
|
6701
|
+
}
|
|
6698
6702
|
if (!("version" in state)) {
|
|
6699
6703
|
state = createPlDataTableStateV2();
|
|
6700
6704
|
}
|
|
@@ -6843,9 +6847,6 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
6843
6847
|
function isColumnOptional(spec) {
|
|
6844
6848
|
return readAnnotation(spec, Annotation.Table.Visibility) === "optional";
|
|
6845
6849
|
}
|
|
6846
|
-
function uniqueBy(array, makeId) {
|
|
6847
|
-
return [...new Map(array.map((e) => [makeId(e), e])).values()];
|
|
6848
|
-
}
|
|
6849
6850
|
function createPlDataTableV2(ctx, inputColumns, tableState, ops) {
|
|
6850
6851
|
if (inputColumns.length === 0)
|
|
6851
6852
|
return void 0;
|
|
@@ -6949,6 +6950,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
6949
6950
|
function isLinkerColumn(column) {
|
|
6950
6951
|
return !!readAnnotationJson(column, Annotation.IsLinkerColumn);
|
|
6951
6952
|
}
|
|
6953
|
+
function isHiddenFromGraphColumn(column) {
|
|
6954
|
+
return !!readAnnotationJson(column, Annotation.HideDataFromGraphs);
|
|
6955
|
+
}
|
|
6952
6956
|
function getAvailableWithLinkersAxes(linkerColumns, blockAxes) {
|
|
6953
6957
|
const linkerMap = LinkerMap.fromColumns(linkerColumns.map(getColumnIdAndSpec));
|
|
6954
6958
|
const startKeys = [];
|
|
@@ -7093,14 +7097,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
7093
7097
|
blockAxes.set(...item);
|
|
7094
7098
|
allAxes.set(...item);
|
|
7095
7099
|
}
|
|
7096
|
-
|
|
7100
|
+
let compatibleWithoutLabels = (columns.getColumns((spec) => !isHiddenFromGraphColumn(spec) && spec.axesSpec.some((axisSpec) => {
|
|
7097
7101
|
const axisId = getAxisId(axisSpec);
|
|
7098
|
-
|
|
7099
|
-
if (matchAxisId(getAxisId(selectorAxisSpec), axisId)) {
|
|
7100
|
-
return true;
|
|
7101
|
-
}
|
|
7102
|
-
}
|
|
7103
|
-
return false;
|
|
7102
|
+
return Array.from(blockAxes.values()).some((selectorAxisSpec) => matchAxisId(getAxisId(selectorAxisSpec), axisId));
|
|
7104
7103
|
}), { dontWaitAllData: true, overrideLabelAnnotation: false }) ?? []).filter((column) => !isLabelColumn(column.spec));
|
|
7105
7104
|
if (!allColumnsReady(compatibleWithoutLabels)) {
|
|
7106
7105
|
return void 0;
|
|
@@ -7111,14 +7110,13 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
7111
7110
|
allAxes.set(canonicalizeJson(aid), spec);
|
|
7112
7111
|
}
|
|
7113
7112
|
}
|
|
7114
|
-
|
|
7113
|
+
compatibleWithoutLabels = (columns.getColumns((spec) => !isHiddenFromGraphColumn(spec) && spec.axesSpec.every((axisSpec) => {
|
|
7115
7114
|
const axisId = getAxisId(axisSpec);
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
return false;
|
|
7115
|
+
return Array.from(allAxes.values()).some((selectorAxisSpec) => matchAxisId(getAxisId(selectorAxisSpec), axisId));
|
|
7116
|
+
}), { dontWaitAllData: true, overrideLabelAnnotation: false }) ?? []).filter((column) => !isLabelColumn(column.spec));
|
|
7117
|
+
const compatibleLabels = (columns.getColumns((spec) => !isHiddenFromGraphColumn(spec) && spec.axesSpec.some((axisSpec) => {
|
|
7118
|
+
const axisId = getAxisId(axisSpec);
|
|
7119
|
+
return Array.from(allAxes.values()).some((selectorAxisSpec) => matchAxisId(getAxisId(selectorAxisSpec), axisId));
|
|
7122
7120
|
}), { dontWaitAllData: true, overrideLabelAnnotation: false }) ?? []).filter((column) => isLabelColumn(column.spec));
|
|
7123
7121
|
if (!allColumnsReady(compatibleLabels)) {
|
|
7124
7122
|
return void 0;
|
|
@@ -7418,7 +7416,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
7418
7416
|
{ type: "link", href: "/", label: "Main" },
|
|
7419
7417
|
{ type: "link", href: "/bubble", label: "Top Clusters Plot" },
|
|
7420
7418
|
{ type: "link", href: "/histogram", label: "Cluster Size Histogram" }
|
|
7421
|
-
]).done();
|
|
7419
|
+
]).done(2);
|
|
7422
7420
|
exports2.model = model;
|
|
7423
7421
|
Object.defineProperty(exports2, Symbol.toStringTag, { value: "Module" });
|
|
7424
7422
|
});
|