@platforma-sdk/model 1.40.5 → 1.40.6
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/components/PlDataTable.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +250 -253
- package/dist/index.mjs.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +4 -4
- package/src/components/PlDataTable.ts +3 -2
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const PlatformaSDKVersion = "1.40.
|
|
1
|
+
export declare const PlatformaSDKVersion = "1.40.6";
|
|
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.40.
|
|
3
|
+
"version": "1.40.6",
|
|
4
4
|
"description": "Platforma.bio SDK / Block Model",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"utility-types": "^3.11.0",
|
|
23
23
|
"canonicalize": "~2.1.0",
|
|
24
24
|
"zod": "~3.23.8",
|
|
25
|
-
"@milaboratories/pl-model-common": "^1.16.
|
|
25
|
+
"@milaboratories/pl-model-common": "^1.16.5",
|
|
26
26
|
"@milaboratories/pl-error-like": "^1.12.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"@jest/globals": "^29.7.0",
|
|
34
34
|
"ts-jest": "^29.2.6",
|
|
35
35
|
"@platforma-sdk/eslint-config": "1.0.3",
|
|
36
|
-
"@milaboratories/
|
|
37
|
-
"@milaboratories/
|
|
36
|
+
"@milaboratories/build-configs": "1.0.4",
|
|
37
|
+
"@milaboratories/helpers": "^1.6.18"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"type-check": "node ./scripts/save-package-version.cjs && tsc --noEmit --composite false",
|
|
@@ -35,6 +35,7 @@ import {
|
|
|
35
35
|
PColumnCollection,
|
|
36
36
|
TreeNodeAccessor,
|
|
37
37
|
} from '../render';
|
|
38
|
+
import { isLinkerColumn } from './PFrameForGraphs';
|
|
38
39
|
|
|
39
40
|
export type PlTableColumnId = {
|
|
40
41
|
/** Original column spec */
|
|
@@ -673,7 +674,7 @@ export function createPlDataTableV2<A, U>(
|
|
|
673
674
|
ops?: CreatePlDataTableOps,
|
|
674
675
|
): PlDataTableModel | undefined {
|
|
675
676
|
if (inputColumns.length === 0) return undefined;
|
|
676
|
-
const columns = inputColumns.filter((c) => !isColumnHidden(c.spec));
|
|
677
|
+
const columns = inputColumns.filter((c) => isLinkerColumn(c.spec) || !isColumnHidden(c.spec));
|
|
677
678
|
|
|
678
679
|
const tableStateNormalized = upgradePlDataTableStateV2(tableState);
|
|
679
680
|
|
|
@@ -746,7 +747,7 @@ export function createPlDataTableV2<A, U>(
|
|
|
746
747
|
|
|
747
748
|
// Preserve linker columns
|
|
748
749
|
columns
|
|
749
|
-
.filter((c) => c.spec
|
|
750
|
+
.filter((c) => isLinkerColumn(c.spec))
|
|
750
751
|
.forEach((c) => hiddenColumns.delete(c.id));
|
|
751
752
|
|
|
752
753
|
// Preserve core columns as they change the shape of join.
|