@platforma-sdk/model 1.37.14 → 1.37.18
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +3 -3
- package/src/components/PFrameForGraphs.ts +4 -4
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const PlatformaSDKVersion = "1.37.
|
|
1
|
+
export declare const PlatformaSDKVersion = "1.37.18";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-sdk/model",
|
|
3
|
-
"version": "1.37.
|
|
3
|
+
"version": "1.37.18",
|
|
4
4
|
"description": "Platforma.bio SDK / Block Model",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"utility-types": "^3.11.0",
|
|
22
22
|
"canonicalize": "~2.1.0",
|
|
23
23
|
"zod": "~3.23.8",
|
|
24
|
-
"@milaboratories/pl-
|
|
25
|
-
"@milaboratories/pl-
|
|
24
|
+
"@milaboratories/pl-model-common": "^1.15.8",
|
|
25
|
+
"@milaboratories/pl-error-like": "^1.12.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"typescript": "~5.5.4",
|
|
@@ -248,7 +248,7 @@ export function createPFrameForGraphs<A, U>(
|
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
// all compatible with block columns but without label columns
|
|
251
|
-
const compatibleWithoutLabels = (columns.getColumns((spec) => spec.axesSpec.some(axisSpec => {
|
|
251
|
+
const compatibleWithoutLabels = (columns.getColumns((spec) => spec.axesSpec.some((axisSpec) => {
|
|
252
252
|
const axisId = getAxisId(axisSpec);
|
|
253
253
|
for (const selectorAxisId of blockAxes.values()) {
|
|
254
254
|
if (matchAxisId(selectorAxisId, axisId)) {
|
|
@@ -256,7 +256,7 @@ export function createPFrameForGraphs<A, U>(
|
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
return false;
|
|
259
|
-
}), {dontWaitAllData: true, overrideLabelAnnotation: false}) ?? []).filter((column) => !isLabelColumn(column.spec));
|
|
259
|
+
}), { dontWaitAllData: true, overrideLabelAnnotation: false }) ?? []).filter((column) => !isLabelColumn(column.spec));
|
|
260
260
|
|
|
261
261
|
// extend axes set for label columns request
|
|
262
262
|
for (const c of compatibleWithoutLabels) {
|
|
@@ -267,7 +267,7 @@ export function createPFrameForGraphs<A, U>(
|
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
// label columns must be compatible with full set of axes - block axes and axes from compatible columns from result pool
|
|
270
|
-
const compatibleLabels = (columns.getColumns((spec) => spec.axesSpec.some(axisSpec => {
|
|
270
|
+
const compatibleLabels = (columns.getColumns((spec) => spec.axesSpec.some((axisSpec) => {
|
|
271
271
|
const axisId = getAxisId(axisSpec);
|
|
272
272
|
for (const selectorAxisId of allAxes.values()) {
|
|
273
273
|
if (matchAxisId(selectorAxisId, axisId)) {
|
|
@@ -275,7 +275,7 @@ export function createPFrameForGraphs<A, U>(
|
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
return false;
|
|
278
|
-
}), {dontWaitAllData: true, overrideLabelAnnotation: false}) ?? []).filter((column) => isLabelColumn(column.spec));
|
|
278
|
+
}), { dontWaitAllData: true, overrideLabelAnnotation: false }) ?? []).filter((column) => isLabelColumn(column.spec));
|
|
279
279
|
|
|
280
280
|
const compatible = [...compatibleWithoutLabels, ...compatibleLabels];
|
|
281
281
|
|