ps-toolkit-ui 0.0.89 → 0.0.93
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 +4 -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/form/label/form.label.component.js +2 -1
- package/esm2015/lib/components/sidebar/sidebar.component.js +3 -1
- package/fesm2015/ps-toolkit-ui.js +3 -4
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2152,7 +2152,9 @@
|
|
|
2152
2152
|
this.currentSidebar = this.getSidebarActive(this.sidebar, active);
|
|
2153
2153
|
};
|
|
2154
2154
|
SidebarComponent.prototype.ngOnInit = function () {
|
|
2155
|
+
console.log(this.permissions.filter(function (x) { return x.Type === exports.PermissionTypeEnum.Item; }), 'this.permissions.filter(x => x.Type === PermissionTypeEnum.Item)');
|
|
2155
2156
|
this.sidebar = this.getSidebar();
|
|
2157
|
+
console.log(this.sidebar, 'this.sidebar');
|
|
2156
2158
|
this.setActive();
|
|
2157
2159
|
};
|
|
2158
2160
|
SidebarComponent.prototype.getSidebar = function (parentId) {
|
|
@@ -3855,7 +3857,9 @@
|
|
|
3855
3857
|
function FormLabelComponent() {
|
|
3856
3858
|
}
|
|
3857
3859
|
FormLabelComponent.prototype.ngOnInit = function () {
|
|
3860
|
+
var _this = this;
|
|
3858
3861
|
this.inp.setValue = function (v) {
|
|
3862
|
+
_this.inp.value = v;
|
|
3859
3863
|
};
|
|
3860
3864
|
this.inp.isValid = function () {
|
|
3861
3865
|
return true;
|
|
@@ -7206,8 +7210,6 @@
|
|
|
7206
7210
|
p.Action = option.Action;
|
|
7207
7211
|
p.Accesses = option.Accesses;
|
|
7208
7212
|
opt.modal.table.permissions = p;
|
|
7209
|
-
console.log(p, 'p');
|
|
7210
|
-
console.log(p.getUrl(), p.getUrl());
|
|
7211
7213
|
if (opt.modal.table.form) {
|
|
7212
7214
|
opt.modal.table.form.url = p.getUrl() + 'Insert';
|
|
7213
7215
|
opt.modal.table.form.baseUrl = p.getUrl() + 'Insert';
|
|
@@ -7215,8 +7217,6 @@
|
|
|
7215
7217
|
opt.modal.table.set();
|
|
7216
7218
|
}
|
|
7217
7219
|
if (opt.modal.form) {
|
|
7218
|
-
console.log(opt.modal.form, 'opt.modal.form');
|
|
7219
|
-
console.log(opt.modal.form.baseUrl, 'opt.modal.form.baseUrl');
|
|
7220
7220
|
opt.modal.form.name = option.Name;
|
|
7221
7221
|
opt.modal.form.url = opt.modal.form.baseUrl + 'Update/' + btn.row.Id;
|
|
7222
7222
|
opt.modal.form.loadData(opt.modal.form.baseUrl + 'Get/' + btn.row.Id);
|