ps-toolkit-ui 1.9.88 → 1.9.89
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 -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/components/form/table/form.table.component.js +6 -4
- package/fesm2015/ps-toolkit-ui.js +5 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -5773,11 +5773,10 @@
|
|
|
5773
5773
|
p.Accesses = [
|
|
5774
5774
|
lAccess,
|
|
5775
5775
|
iAccess,
|
|
5776
|
-
];
|
|
5776
|
+
].concat(this.inp.table.withSelect ? [] : [iAccess]);
|
|
5777
5777
|
this.inp.table.permissions = p;
|
|
5778
5778
|
this.inp.table.displayLabel = false;
|
|
5779
5779
|
this.inp.table.style = { padding: 0, boxShadow: 'unset' };
|
|
5780
|
-
this.inp.table.permissions = p;
|
|
5781
5780
|
this.inp.table.showExtraButtons = false;
|
|
5782
5781
|
this.inp.table.loading = false;
|
|
5783
5782
|
this.inp.table.cols.forEach(function (x) {
|
|
@@ -5792,6 +5791,9 @@
|
|
|
5792
5791
|
x.class += ' h-30';
|
|
5793
5792
|
});
|
|
5794
5793
|
}
|
|
5794
|
+
if (this.inp.table.withSelect) {
|
|
5795
|
+
this.inp.table.load();
|
|
5796
|
+
}
|
|
5795
5797
|
var uAccess = new PermissionClass();
|
|
5796
5798
|
uAccess.Action = 'Update';
|
|
5797
5799
|
uAccess.Type = exports.PermissionTypeEnum.Option;
|
|
@@ -5865,7 +5867,7 @@
|
|
|
5865
5867
|
{ type: core.Component, args: [{
|
|
5866
5868
|
selector: 'lib-form-table',
|
|
5867
5869
|
template: "<div #inputDiv [id]=\"inp.id + 'TableInput'\" [style]=\"inp.style\" [className]=\"'form-input-con table w-100' + (inp.error == null ? '' : ' error') + (inp.disabled ? ' disabled' : '') + ' ' + inp.class\">\r\n <div class=\"form-input\">\r\n <div *ngIf=\"inp.displayLabel\" class=\"label\"><i *ngIf=\"inp.required\" class=\"fas fa-star-of-life required-icon\"></i>{{inp.getLabel()}}</div>\r\n <div class=\"control\">\r\n <lib-table (changeRows)=\"changeRows($event)\" [table]=\"inp.table\"></lib-table>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
5868
|
-
styles: [".form-input-con.table{padding:0 15px;position:relative}.form-input-con.table .form-input{float:right;position:relative;width:100%}.form-input-con.table .form-input .label{-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:default;direction:rtl;float:right;font-size:12px;height:20px;line-height:20px;margin-bottom:3px;padding:0 10px;text-align:right;width:100%}.form-input-con.table.error .form-input .label{color:var(--red);font-size:10px}.form-input-con.table .form-input .label .required-icon{color:var(--red);font-size:9px;height:20px;line-height:20px;text-align:center;width:20px}.form-input-con.table .form-input .control{border:var(--border-input);border-radius:var(--border-radius-base);float:right;
|
|
5870
|
+
styles: [".form-input-con.table{padding:0 15px;position:relative}.form-input-con.table .form-input{float:right;position:relative;width:100%}.form-input-con.table .form-input .label{-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:default;direction:rtl;float:right;font-size:12px;height:20px;line-height:20px;margin-bottom:3px;padding:0 10px;text-align:right;width:100%}.form-input-con.table.error .form-input .label{color:var(--red);font-size:10px}.form-input-con.table .form-input .label .required-icon{color:var(--red);font-size:9px;height:20px;line-height:20px;text-align:center;width:20px}.form-input-con.table .form-input .control{border:var(--border-input);border-radius:var(--border-radius-base);float:right;width:100%}.form-input-con.table.error .form-input .control{border:var(--border-input-red)}"]
|
|
5869
5871
|
},] }
|
|
5870
5872
|
];
|
|
5871
5873
|
FormTableComponent.ctorParameters = function () { return []; };
|