ps-toolkit-ui 1.19.48 → 1.19.49
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 +6 -2
- 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 +4 -2
- package/esm2015/lib/classes/table.class.js +4 -2
- package/fesm2015/ps-toolkit-ui.js +6 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -2291,7 +2291,9 @@
|
|
|
2291
2291
|
_this.submit(onSubmit);
|
|
2292
2292
|
};
|
|
2293
2293
|
save.disabled = !insertAccess;
|
|
2294
|
-
|
|
2294
|
+
if (this.name === 'GroupSubsidiary' || this.name === 'GroupTotal') {
|
|
2295
|
+
console.log(save, save.disabled, this.name);
|
|
2296
|
+
}
|
|
2295
2297
|
if (!cls.includes('only-icon')) {
|
|
2296
2298
|
this.inputs.push(br);
|
|
2297
2299
|
}
|
|
@@ -9647,7 +9649,9 @@
|
|
|
9647
9649
|
finally { if (e_4) throw e_4.error; }
|
|
9648
9650
|
}
|
|
9649
9651
|
if (this.form) {
|
|
9650
|
-
|
|
9652
|
+
if (this.form.name === 'GroupSubsidiary' || this.form.name === 'GroupTotal') {
|
|
9653
|
+
console.log(this.form, this.permissions.getAccesses().some(function (x) { return x.AccessType === exports.PermissionAccessTypeEnum.Insert; }));
|
|
9654
|
+
}
|
|
9651
9655
|
this.form.addButtons('Save', this.permissions.Type === exports.PermissionTypeEnum.Form ? 'green w-10 only-icon f-l' : 'green', this.permissions.Type !== exports.PermissionTypeEnum.Form, this.permissions.getAccesses().some(function (x) { return x.AccessType === exports.PermissionAccessTypeEnum.Insert; }), this.permissions.Type === exports.PermissionTypeEnum.Form ? function (data) {
|
|
9652
9656
|
_this.onTopFormSubmit(data, changeRows);
|
|
9653
9657
|
} : null);
|