ps-toolkit-ui 0.0.173 → 0.0.177
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 +5 -9
- 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/components/table/row/table.row.component.js +6 -7
- package/esm2015/lib/components/table/table.component.js +1 -4
- package/fesm2015/ps-toolkit-ui.js +5 -9
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2739,12 +2739,11 @@
|
|
|
2739
2739
|
});
|
|
2740
2740
|
};
|
|
2741
2741
|
}
|
|
2742
|
-
else {
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
}
|
|
2742
|
+
else if (option.InputAction === exports.PermissionInputActionEnum.OnClick) {
|
|
2743
|
+
opt.onClick = function (btn) {
|
|
2744
|
+
console.log(btn, 11111111);
|
|
2745
|
+
_this.table.optionsActions.find(function (x) { return x.name === option.Action; }).onClick(_this.row.Data);
|
|
2746
|
+
};
|
|
2748
2747
|
}
|
|
2749
2748
|
opts.push(opt);
|
|
2750
2749
|
};
|
|
@@ -3016,9 +3015,6 @@
|
|
|
3016
3015
|
_this.setSortable();
|
|
3017
3016
|
};
|
|
3018
3017
|
}
|
|
3019
|
-
if (this.table.hasChildren && this.table.form) {
|
|
3020
|
-
this.table.form.inputs.push(new InputClass(this.table.environment, this.table.l, 'ParentId', null, exports.InputType.Hidden, null, null, false));
|
|
3021
|
-
}
|
|
3022
3018
|
this.table.set(this.changeRows);
|
|
3023
3019
|
if (this.table.searchForm) {
|
|
3024
3020
|
this.table.searchForm.displayLabel = false;
|