ps-toolkit-ui 0.0.136 → 0.0.137
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/table.class.js +3 -3
- package/esm2015/lib/components/table/row/table.row.component.js +3 -3
- package/fesm2015/ps-toolkit-ui.js +4 -4
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2590,7 +2590,7 @@
|
|
|
2590
2590
|
var _loop_1 = function (option) {
|
|
2591
2591
|
var opt = new InputClass(this_1.table.environment, this_1.table.l, option.Name, option.Icon, option.InputType === exports.PermissionInputTypeEnum.Icon ? exports.InputType.Icon : exports.InputType.Button, 'blue h-25 m-h-5 d-ib va-m f-u');
|
|
2592
2592
|
opt.row = this_1.row;
|
|
2593
|
-
if (option.
|
|
2593
|
+
if (option.AcceessType === exports.PermissionAccessTypeEnum.Update) {
|
|
2594
2594
|
if (this_1.table.form) {
|
|
2595
2595
|
opt.onClick = function () {
|
|
2596
2596
|
_this.table.form.url = _this.table.url + 'Update/' + _this.row.Data.Id;
|
|
@@ -2621,7 +2621,7 @@
|
|
|
2621
2621
|
opt.url = this_1.table.url + '/Update/' + this_1.row.Data.Id;
|
|
2622
2622
|
}
|
|
2623
2623
|
}
|
|
2624
|
-
else if (option.
|
|
2624
|
+
else if (option.AcceessType === exports.PermissionAccessTypeEnum.Delete) {
|
|
2625
2625
|
opt.class = opt.class.replace('blue', 'red');
|
|
2626
2626
|
opt.onClick = function () {
|
|
2627
2627
|
if (_this.table.form) {
|
|
@@ -7242,9 +7242,9 @@
|
|
|
7242
7242
|
return "continue";
|
|
7243
7243
|
}
|
|
7244
7244
|
var accessInp = new InputClass(this_1.environment, this_1.l, access.Name, access.Icon, access.InputType === exports.PermissionInputTypeEnum.Button ? exports.InputType.Button : exports.InputType.Icon, 'blue w-u h-30');
|
|
7245
|
-
if (access.
|
|
7245
|
+
if (access.AccessType === exports.PermissionAccessTypeEnum.Insert) {
|
|
7246
7246
|
accessInp.class = accessInp.class.replace('blue', 'green');
|
|
7247
|
-
console.log(this_1.form, '111111111111');
|
|
7247
|
+
console.log(this_1.name, this_1.form, '111111111111');
|
|
7248
7248
|
if (this_1.form) {
|
|
7249
7249
|
this_1.form.url = this_1.form.baseUrl = this_1.url + 'Insert';
|
|
7250
7250
|
if (!this_1.form.onTop) {
|