@apia/execution 4.0.64 → 4.0.65
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/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -3340,7 +3340,7 @@ class Grid extends Field {
|
|
|
3340
3340
|
await super.init(form);
|
|
3341
3341
|
this.state.isMaximized = localStorage.getItem(`${this.definition.id}__isMaximized`) === "true";
|
|
3342
3342
|
const headerRow = new Row("header");
|
|
3343
|
-
if (this.properties.gridForm || !this.properties.hideDelButton && !this.properties.readonly && !this.properties.inputAsText && !this.getForm().definition.readOnly && !this.getForm().definition.readonly)
|
|
3343
|
+
if (this.properties.gridForm || !this.properties.hideDelButton && !this.properties.readonly && !this.properties.inputAsText && !this.getForm().definition.readOnly && !this.getForm().definition.readonly && getWindow(this.getForm().execution)?.config?.execution?.components?.dataGrid?.showDeleteButton)
|
|
3344
3344
|
headerRow.addCell(
|
|
3345
3345
|
new AdditionalCell(
|
|
3346
3346
|
this,
|
|
@@ -3544,7 +3544,7 @@ class Grid extends Field {
|
|
|
3544
3544
|
});
|
|
3545
3545
|
}
|
|
3546
3546
|
const newRow = new Row(String(this.rowId++));
|
|
3547
|
-
if (this.properties.gridForm || !this.properties.hideDelButton && !this.properties.readonly && !this.properties.inputAsText && !this.getForm().definition.readOnly && !this.getForm().definition.readonly)
|
|
3547
|
+
if (this.properties.gridForm || !this.properties.hideDelButton && !this.properties.readonly && !this.properties.inputAsText && !this.getForm().definition.readOnly && !this.getForm().definition.readonly && getWindow(this.getForm().execution)?.config?.execution?.components?.dataGrid?.showDeleteButton)
|
|
3548
3548
|
newRow.addCell(
|
|
3549
3549
|
new AdditionalCell(
|
|
3550
3550
|
this,
|