inviton-powerduck 0.0.39 → 0.0.40

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.
@@ -123,5 +123,5 @@ export class DataTableStaticComponent extends TsxComponent<DataTableStaticArgs>
123
123
  }
124
124
  }
125
125
 
126
- const DataTableStatic = toNative(DataTableStaticComponent)
127
- export default DataTableStatic
126
+ const DataTableStatic = toNative(DataTableStaticComponent)
127
+ export default DataTableStatic
@@ -2257,4 +2257,4 @@ class DataTableComponent extends TsxComponent<DataTableArgs> implements DataTabl
2257
2257
 
2258
2258
  const DataTable = toNative(DataTableComponent);
2259
2259
  export const DataTableType = typeof DataTable.prototype;
2260
- export default DataTable;
2260
+ export default DataTable;
@@ -103,7 +103,9 @@ function raiseOnReorderedEvent() {
103
103
  }
104
104
 
105
105
  draggingItem.parentNode.childNodes.forEach((colHeader, i) => {
106
- sortOrder.push(colHeader.getAttribute("data-col-id"));
106
+ if (colHeader.getAttribute) {
107
+ sortOrder.push(colHeader.getAttribute("data-col-id"));
108
+ }
107
109
  });
108
110
 
109
111
  var ord = onReorder;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inviton-powerduck",
3
- "version": "0.0.39",
3
+ "version": "0.0.40",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": " vite build && vue-tsc --declaration --emitDeclarationOnly",