ps-toolkit-ui 1.18.2 → 1.18.3
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 +1 -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 +1 -5
- package/esm2015/lib/components/table/table.component.js +2 -1
- package/fesm2015/ps-toolkit-ui.js +1 -4
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -3923,6 +3923,7 @@
|
|
|
3923
3923
|
else if (c.enum != null) {
|
|
3924
3924
|
c.search.type = exports.InputType.Select;
|
|
3925
3925
|
c.search.options = [new OptionClass('', '-1')].concat(EnumUtils.getKeysAndValues(c.enum).map(function (x) { return new OptionClass(_this.table.l(x.key), x.value); }));
|
|
3926
|
+
c.search.search = c.searchDefault;
|
|
3926
3927
|
}
|
|
3927
3928
|
else {
|
|
3928
3929
|
c.search.type = exports.InputType.Text;
|
|
@@ -9410,13 +9411,10 @@
|
|
|
9410
9411
|
if (this.form && this.form.onTop) {
|
|
9411
9412
|
this.form.displayLabel = false;
|
|
9412
9413
|
}
|
|
9413
|
-
console.log(this.permissions);
|
|
9414
|
-
console.log(this.permissions.getAccesses());
|
|
9415
9414
|
var _loop_1 = function (access) {
|
|
9416
9415
|
if (this_1.buttons.filter(function (x) { return x.name === access.Name; }).length > 0) {
|
|
9417
9416
|
return "continue";
|
|
9418
9417
|
}
|
|
9419
|
-
console.log(access, access.InputAction);
|
|
9420
9418
|
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 p-0 m-r-10-p w-u h-30');
|
|
9421
9419
|
if (access.AccessType === exports.PermissionAccessTypeEnum.Insert) {
|
|
9422
9420
|
accessInp.class = accessInp.class.replace('blue', 'green');
|
|
@@ -9458,7 +9456,6 @@
|
|
|
9458
9456
|
};
|
|
9459
9457
|
}
|
|
9460
9458
|
else if (access.InputAction === exports.PermissionInputActionEnum.Modal) {
|
|
9461
|
-
console.log(this_1.optionsActions, access.InputAction);
|
|
9462
9459
|
accessInp.modal = this_1.optionsActions.find(function (x) { return x.name === access.Action; });
|
|
9463
9460
|
accessInp.onClick = function () {
|
|
9464
9461
|
if (accessInp.modal.table) {
|