ps-toolkit-ui 1.10.73 → 1.10.74
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 +4 -4
- 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/esm2015/lib/components/form/select/form.select.component.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +4 -4
- 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 (clear) {
|
|
1780
1780
|
this.inputs.push(br);
|
|
1781
1781
|
}
|
|
1782
1782
|
else {
|
|
1783
|
-
save.class = save.class.replace('save-form-btn ', '').replace('h-25 ', 'h-30 ');
|
|
1783
|
+
save.class = save.class.replace('save-form-btn ', 'w-10 ').replace('h-25 ', 'h-30 ');
|
|
1784
1784
|
}
|
|
1785
1785
|
this.inputs.push(save);
|
|
1786
1786
|
if (clear) {
|
|
@@ -5359,7 +5359,7 @@
|
|
|
5359
5359
|
}
|
|
5360
5360
|
if (this.inp.addModal) {
|
|
5361
5361
|
if ((_a = this.inp.addModal.form) === null || _a === void 0 ? void 0 : _a.permission) {
|
|
5362
|
-
this.addIcon = new InputClass(this.inp.environment, this.inp.l, 'Add' + this.inp.name, 'fa-duotone fa-plus', exports.InputType.Icon, 'blue m-r-15-p' + (this.inp.displayLabel ? ' m-t-
|
|
5362
|
+
this.addIcon = new InputClass(this.inp.environment, this.inp.l, 'Add' + this.inp.name, 'fa-duotone fa-plus', exports.InputType.Icon, 'blue m-r-15-p' + (this.inp.displayLabel ? ' m-t-23' : ''));
|
|
5363
5363
|
this.addIcon.onClick = function () {
|
|
5364
5364
|
_this.inp.addModal.show();
|
|
5365
5365
|
};
|
|
@@ -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',
|
|
8309
|
+
this.form.addButtons('Save', 'green', this.permissions.Type !== exports.PermissionTypeEnum.Form && !this.form.onTop, 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;
|