ps-toolkit-ui 0.0.109 → 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 +6 -1
- 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 +7 -1
- package/esm2015/lib/components/table/row/table.row.component.js +1 -2
- package/fesm2015/ps-toolkit-ui.js +6 -1
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2564,7 +2564,6 @@
|
|
|
2564
2564
|
};
|
|
2565
2565
|
TableRowComponent.prototype.getOptions = function () {
|
|
2566
2566
|
var _this = this;
|
|
2567
|
-
console.log(this.table.options, 'this.table.options');
|
|
2568
2567
|
return (this.addChildren !== null && (this.table.level === null || this.table.level > this.level) ? [this.addChildren] : [])
|
|
2569
2568
|
.concat(this.table.options.filter(function (x) { return x.condition == null ||
|
|
2570
2569
|
(x.condition.startsWith('!') ? !_this.row[x.condition.substring(1)] : _this.row[x.condition]); }).map(function (o) {
|
|
@@ -7166,10 +7165,16 @@
|
|
|
7166
7165
|
}
|
|
7167
7166
|
}
|
|
7168
7167
|
var _loop_1 = function (option) {
|
|
7168
|
+
console.log(option, 'option11111111');
|
|
7169
7169
|
if (this_1.options.filter(function (x) { return x.name === option.Name; }).length > 0) {
|
|
7170
7170
|
return "continue";
|
|
7171
7171
|
}
|
|
7172
|
+
console.log(option, 'option22222222');
|
|
7172
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('-----------------');
|
|
7173
7178
|
opt.condition = option.Condition;
|
|
7174
7179
|
if (option.Type === exports.PermissionTypeEnum.OptionLink || option.Type === exports.PermissionTypeEnum.OptionLinkNewTab) {
|
|
7175
7180
|
var p = new PermissionClass();
|