ps-toolkit-ui 1.19.44 → 1.19.45
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 -0
- 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/table.class.js +4 -1
- package/fesm2015/ps-toolkit-ui.js +3 -0
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -9646,6 +9646,9 @@
|
|
|
9646
9646
|
finally { if (e_4) throw e_4.error; }
|
|
9647
9647
|
}
|
|
9648
9648
|
if (this.form) {
|
|
9649
|
+
console.log(this.permissions.getAccesses(), 111);
|
|
9650
|
+
console.log(this.permissions.getAccesses().find(function (x) { return x.AccessType === exports.PermissionAccessTypeEnum.Insert; }), 222);
|
|
9651
|
+
console.log(this.permissions.getAccesses().some(function (x) { return x.AccessType === exports.PermissionAccessTypeEnum.Insert; }), 333);
|
|
9649
9652
|
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) {
|
|
9650
9653
|
_this.onTopFormSubmit(data, changeRows);
|
|
9651
9654
|
} : null);
|