@linzjs/step-ag-grid 19.1.0 → 19.1.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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@linzjs/step-ag-grid",
3
3
  "repository": "github:linz/step-ag-grid.git",
4
4
  "license": "MIT",
5
- "version": "19.1.0",
5
+ "version": "19.1.1",
6
6
  "keywords": [
7
7
  "aggrid",
8
8
  "ag-grid",
@@ -28,19 +28,26 @@ export const findRow = async (rowId: number | string, within?: HTMLElement): Pro
28
28
  { tagName: `.ag-center-cols-container div[row-id='${rowId}']:not(:empty)` },
29
29
  within,
30
30
  );
31
- let combineChildren = Array.from(row.children);
31
+ // @ts-ignore
32
+ let combineChildren = [...row.children];
32
33
 
33
34
  const leftCols = queryQuick<HTMLDivElement>(
34
35
  { tagName: `.ag-pinned-left-cols-container div[row-id='${rowId}']` },
35
36
  within,
36
37
  );
37
- if (leftCols) combineChildren = [...Array.from(row.children), ...combineChildren];
38
+ if (leftCols) {
39
+ // @ts-ignore
40
+ combineChildren = [...leftCols.children, ...combineChildren];
41
+ }
38
42
 
39
43
  const rightCols = queryQuick<HTMLDivElement>(
40
44
  { tagName: `.ag-pinned-right-cols-container div[row-id='${rowId}']` },
41
45
  within,
42
46
  );
43
- if (rightCols) combineChildren = [...Array.from(row.children), ...combineChildren];
47
+ if (rightCols) {
48
+ // @ts-ignore
49
+ combineChildren = [...rightCols.children, ...combineChildren];
50
+ }
44
51
 
45
52
  row.replaceChildren(...combineChildren);
46
53
  });