@shival99/z-ui 1.1.17 → 1.2.0
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/fesm2022/shival99-z-ui-components-z-table.mjs +4 -4
- package/fesm2022/shival99-z-ui-components-z-table.mjs.map +1 -1
- package/package.json +1 -1
- package/types/shival99-z-ui-components-z-calendar.d.ts +4 -4
- package/types/shival99-z-ui-components-z-input.d.ts +2 -2
- package/types/shival99-z-ui-components-z-modal.d.ts +1 -1
- package/types/shival99-z-ui-components-z-select.d.ts +1 -1
- package/types/shival99-z-ui-components-z-timeline.d.ts +6 -6
- package/types/shival99-z-ui-components-z-upload.d.ts +3 -3
|
@@ -2106,10 +2106,10 @@ class ZTableComponent {
|
|
|
2106
2106
|
}
|
|
2107
2107
|
const actionInfo = this.actionColumnInfo();
|
|
2108
2108
|
if (actionInfo && colDef.id === actionInfo.columnId) {
|
|
2109
|
-
colDef.size = actionInfo.width;
|
|
2110
|
-
colDef.minSize = actionInfo.width;
|
|
2111
|
-
colDef.maxSize = actionInfo.width;
|
|
2112
|
-
colDef.enableResizing = false;
|
|
2109
|
+
colDef.size = c.size ?? actionInfo.width;
|
|
2110
|
+
colDef.minSize = c.minSize ?? actionInfo.width;
|
|
2111
|
+
colDef.maxSize = c.maxSize ?? actionInfo.width;
|
|
2112
|
+
colDef.enableResizing = c.enableResizing ?? false;
|
|
2113
2113
|
colDef.enableSorting = false;
|
|
2114
2114
|
}
|
|
2115
2115
|
return colDef;
|