ps-toolkit-ui 0.0.106 → 0.0.110
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 +7 -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/table.class.js +8 -4
- package/fesm2015/ps-toolkit-ui.js +7 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -7128,12 +7128,10 @@
|
|
|
7128
7128
|
if (reportAccess != null) {
|
|
7129
7129
|
var report = new InputClass(this.environment, this.l, reportAccess.Name, reportAccess.Icon, exports.InputType.Button, 'm-h-5');
|
|
7130
7130
|
var p = new PermissionClass();
|
|
7131
|
-
console.log(this.permissions);
|
|
7132
|
-
console.log(p.getUrl());
|
|
7133
7131
|
p.RelatedId = 'Index';
|
|
7134
7132
|
p.Area = this.permissions.Area;
|
|
7135
7133
|
p.Controller = 'Print';
|
|
7136
|
-
p.Action = this.permissions.
|
|
7134
|
+
p.Action = this.permissions.Controller;
|
|
7137
7135
|
report.url = '/Report' + p.getUrl();
|
|
7138
7136
|
report.urlNewTab = true;
|
|
7139
7137
|
this.extraButtons.push(report);
|
|
@@ -7167,10 +7165,16 @@
|
|
|
7167
7165
|
}
|
|
7168
7166
|
}
|
|
7169
7167
|
var _loop_1 = function (option) {
|
|
7168
|
+
console.log(option, 'option11111111');
|
|
7170
7169
|
if (this_1.options.filter(function (x) { return x.name === option.Name; }).length > 0) {
|
|
7171
7170
|
return "continue";
|
|
7172
7171
|
}
|
|
7172
|
+
console.log(option, 'option22222222');
|
|
7173
7173
|
var opt = new InputClass(this_1.environment, this_1.l, option.Name, option.Icon, option.OptionType === exports.PermissionOptionTypeEnum.Icon ? exports.InputType.Icon : exports.InputType.Button, 'blue h-25 m-h-5 d-ib va-m f-u');
|
|
7174
|
+
console.log(option.OptionType, 'option.OptionType');
|
|
7175
|
+
console.log(option.Condition, 'option.Condition');
|
|
7176
|
+
console.log(option.Type, 'option.Type');
|
|
7177
|
+
console.log('-----------------');
|
|
7174
7178
|
opt.condition = option.Condition;
|
|
7175
7179
|
if (option.Type === exports.PermissionTypeEnum.OptionLink || option.Type === exports.PermissionTypeEnum.OptionLinkNewTab) {
|
|
7176
7180
|
var p = new PermissionClass();
|