ps-toolkit-ui 1.10.75 → 1.10.76
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/bundles/ps-toolkit-ui.umd.js +3 -3
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/form.class.js +3 -3
- package/esm2015/lib/classes/table.class.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +3 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -1776,11 +1776,11 @@
|
|
|
1776
1776
|
save.onClick = function () {
|
|
1777
1777
|
_this.submit(onSubmit);
|
|
1778
1778
|
};
|
|
1779
|
-
if (
|
|
1779
|
+
if (!cls.includes('only-icon')) {
|
|
1780
1780
|
this.inputs.push(br);
|
|
1781
1781
|
}
|
|
1782
1782
|
else {
|
|
1783
|
-
save.class = save.class.replace('save-form-btn ', '
|
|
1783
|
+
save.class = save.class.replace('save-form-btn ', '').replace('h-25 ', 'h-30 ');
|
|
1784
1784
|
}
|
|
1785
1785
|
this.inputs.push(save);
|
|
1786
1786
|
if (clear) {
|
|
@@ -8306,7 +8306,7 @@
|
|
|
8306
8306
|
finally { if (e_3) throw e_3.error; }
|
|
8307
8307
|
}
|
|
8308
8308
|
if (this.form) {
|
|
8309
|
-
this.form.addButtons('Save', 'green', this.permissions.Type !== exports.PermissionTypeEnum.Form
|
|
8309
|
+
this.form.addButtons('Save', this.permissions.Type === exports.PermissionTypeEnum.Form ? 'green w-10 only-icon' : 'green', this.permissions.Type !== exports.PermissionTypeEnum.Form, this.permissions.Type === exports.PermissionTypeEnum.Form ? function (data) {
|
|
8310
8310
|
if (data.Id) {
|
|
8311
8311
|
var i = _this.rows.findIndex(function (x) { return x.Data.Id === data.Id; });
|
|
8312
8312
|
_this.rows[i].Data = data;
|