@platforma-sdk/ui-vue 1.22.7 → 1.22.9
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/CHANGELOG.md +13 -0
- package/dist/lib.js +2968 -2966
- package/dist/lib.js.map +1 -1
- package/dist/lib.umd.cjs +13 -13
- package/dist/lib.umd.cjs.map +1 -1
- package/dist/src/components/PlAgDataTable/sources/row-number.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/components/PlAgDataTable/sources/row-number.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-sdk/ui-vue",
|
|
3
|
-
"version": "1.22.
|
|
3
|
+
"version": "1.22.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/lib.umd.cjs",
|
|
6
6
|
"module": "dist/lib.js",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"canonicalize": "^2.0.0",
|
|
24
24
|
"ag-grid-enterprise": "^33.0.4",
|
|
25
25
|
"ag-grid-vue3": "^33.0.4",
|
|
26
|
-
"@
|
|
27
|
-
"@
|
|
26
|
+
"@milaboratories/uikit": "^2.2.51",
|
|
27
|
+
"@platforma-sdk/model": "^1.22.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@faker-js/faker": "^9.2.0",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"semver": "^7.6.3",
|
|
46
46
|
"@types/semver": "^7.5.8",
|
|
47
47
|
"rollup-plugin-sourcemaps2": "^0.4.3",
|
|
48
|
-
"@milaboratories/
|
|
49
|
-
"@milaboratories/
|
|
48
|
+
"@milaboratories/eslint-config": "^1.0.1",
|
|
49
|
+
"@milaboratories/helpers": "^1.6.11"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"test": "vitest run --passWithNoTests",
|
|
@@ -82,7 +82,7 @@ function adjustRowNumberColumnWidth(gridApi: GridApi, cellFake: HTMLDivElement,
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
function fixColumnOrder(gridApi: GridApi) {
|
|
85
|
-
const columns = gridApi.getAllGridColumns();
|
|
85
|
+
const columns = gridApi.getAllGridColumns() ?? [];
|
|
86
86
|
const selectionIndex = columns.findIndex(isColumnSelectionCol);
|
|
87
87
|
const numRowsIndex = columns.findIndex((column) => column.getId() === PlAgDataTableRowNumberColId);
|
|
88
88
|
if (numRowsIndex !== -1) {
|
|
@@ -133,4 +133,5 @@ export function autoSizeRowNumberColumn(gridApi: GridApi) {
|
|
|
133
133
|
destroyCellFake(cellFake);
|
|
134
134
|
});
|
|
135
135
|
adjustRowNumberColumnWidth(gridApi, cellFake);
|
|
136
|
+
fixColumnOrder(gridApi);
|
|
136
137
|
}
|