@cauca-911/management 2.0.3 → 11.0.1
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/LICENSE +20 -20
- package/README.md +4 -4
- package/assets/i18n/cauca/en-management.json +16 -16
- package/assets/i18n/cauca/fr-management.json +16 -16
- package/bundles/cauca-911-management.umd.js +88 -237
- package/bundles/cauca-911-management.umd.js.map +1 -1
- package/bundles/cauca-911-management.umd.min.js +1 -1
- package/bundles/cauca-911-management.umd.min.js.map +1 -1
- package/cauca-911-management.d.ts +1 -1
- package/cauca-911-management.metadata.json +1 -0
- package/esm2015/cauca-911-management.js +2 -1
- package/esm2015/lib/cauca-management-group/cauca-management-group.component.js +21 -111
- package/esm2015/lib/cauca-management-user/cauca-management-user.component.js +16 -69
- package/esm2015/lib/cauca-management.component.js +8 -22
- package/esm2015/lib/cauca-management.module.js +12 -31
- package/esm2015/lib/cauca-management.service.js +8 -10
- package/esm2015/lib/shared/models/group-model.js +1 -1
- package/esm2015/lib/shared/models/group-permission-model.js +1 -1
- package/esm2015/lib/shared/models/permission-model.js +1 -1
- package/esm2015/lib/shared/models/user-group-model.js +1 -1
- package/esm2015/lib/shared/models/user-model.js +2 -1
- package/esm2015/lib/shared/models/user-permission-model.js +1 -1
- package/esm2015/lib/shared/services/management-group.service.js +12 -8
- package/esm2015/lib/shared/services/management-permission.service.js +12 -8
- package/esm2015/lib/shared/services/management-user.service.js +12 -8
- package/esm2015/public-api.js +1 -1
- package/fesm2015/cauca-911-management.js +86 -247
- package/fesm2015/cauca-911-management.js.map +1 -1
- package/lib/cauca-management-group/cauca-management-group.component.d.ts +0 -3
- package/lib/cauca-management-user/cauca-management-user.component.d.ts +0 -3
- package/lib/cauca-management.component.d.ts +0 -3
- package/lib/cauca-management.module.d.ts +0 -10
- package/lib/cauca-management.service.d.ts +0 -3
- package/lib/shared/models/user-model.d.ts +1 -0
- package/lib/shared/services/management-group.service.d.ts +0 -3
- package/lib/shared/services/management-permission.service.d.ts +0 -3
- package/lib/shared/services/management-user.service.d.ts +0 -3
- package/package.json +10 -15
- package/esm5/cauca-911-management.js +0 -5
- package/esm5/lib/cauca-management-group/cauca-management-group.component.js +0 -309
- package/esm5/lib/cauca-management-user/cauca-management-user.component.js +0 -116
- package/esm5/lib/cauca-management.component.js +0 -30
- package/esm5/lib/cauca-management.module.js +0 -58
- package/esm5/lib/cauca-management.service.js +0 -17
- package/esm5/lib/shared/models/group-model.js +0 -10
- package/esm5/lib/shared/models/group-permission-model.js +0 -11
- package/esm5/lib/shared/models/permission-model.js +0 -10
- package/esm5/lib/shared/models/user-group-model.js +0 -10
- package/esm5/lib/shared/models/user-model.js +0 -13
- package/esm5/lib/shared/models/user-permission-model.js +0 -11
- package/esm5/lib/shared/services/management-group.service.js +0 -36
- package/esm5/lib/shared/services/management-permission.service.js +0 -33
- package/esm5/lib/shared/services/management-user.service.js +0 -51
- package/esm5/public-api.js +0 -16
- package/fesm5/cauca-911-management.js +0 -667
- package/fesm5/cauca-911-management.js.map +0 -1
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2018
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018 CAUCA 9-1-1 inc
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
# @cauca-911/management
|
|
2
|
-
|
|
3
|
-
Run `npm install @cauca-911/management --save` to add this library to your project
|
|
4
|
-
|
|
1
|
+
# @cauca-911/management
|
|
2
|
+
|
|
3
|
+
Run `npm install @cauca-911/management --save` to add this library to your project
|
|
4
|
+
|
|
5
5
|
## To use this library, you need to import the module with specific configuration
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
{
|
|
2
|
-
"management": {
|
|
3
|
-
"description": "The \"@
|
|
4
|
-
"userName": "Username",
|
|
5
|
-
"isActive": "Active",
|
|
6
|
-
"firstName": "First name",
|
|
7
|
-
"lastName": "Last name",
|
|
8
|
-
"group": "Group",
|
|
9
|
-
"name": "Name",
|
|
10
|
-
"users": "Users",
|
|
11
|
-
"groups": "Groups",
|
|
12
|
-
"permissions": "Permissions",
|
|
13
|
-
"userNameAlreadyUsed": "This user name is already used",
|
|
14
|
-
"groupNameAlreadyUsed": "This group name is already used"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"management": {
|
|
3
|
+
"description": "The \"@cauca-911/management\" library add component to management user and permission",
|
|
4
|
+
"userName": "Username",
|
|
5
|
+
"isActive": "Active",
|
|
6
|
+
"firstName": "First name",
|
|
7
|
+
"lastName": "Last name",
|
|
8
|
+
"group": "Group",
|
|
9
|
+
"name": "Name",
|
|
10
|
+
"users": "Users",
|
|
11
|
+
"groups": "Groups",
|
|
12
|
+
"permissions": "Permissions",
|
|
13
|
+
"userNameAlreadyUsed": "This user name is already used",
|
|
14
|
+
"groupNameAlreadyUsed": "This group name is already used"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
{
|
|
2
|
-
"management": {
|
|
3
|
-
"description": "The \"@
|
|
4
|
-
"userName": "Nom d'utilisateur",
|
|
5
|
-
"isActive": "Actif",
|
|
6
|
-
"firstName": "Prénom",
|
|
7
|
-
"lastName": "Nom",
|
|
8
|
-
"group": "Groupe",
|
|
9
|
-
"name": "Nom",
|
|
10
|
-
"users": "Utilisateurs",
|
|
11
|
-
"groups": "Groupes",
|
|
12
|
-
"permissions": "Permissions",
|
|
13
|
-
"userNameAlreadyUsed": "Ce nom d'utilisateur est déjà utilisé",
|
|
14
|
-
"groupNameAlreadyUsed": "Ce nom de groupe est déjà utilisé"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"management": {
|
|
3
|
+
"description": "The \"@cauca-911/management\" library add component to management user and permission",
|
|
4
|
+
"userName": "Nom d'utilisateur",
|
|
5
|
+
"isActive": "Actif",
|
|
6
|
+
"firstName": "Prénom",
|
|
7
|
+
"lastName": "Nom",
|
|
8
|
+
"group": "Groupe",
|
|
9
|
+
"name": "Nom",
|
|
10
|
+
"users": "Utilisateurs",
|
|
11
|
+
"groups": "Groupes",
|
|
12
|
+
"permissions": "Permissions",
|
|
13
|
+
"userNameAlreadyUsed": "Ce nom d'utilisateur est déjà utilisé",
|
|
14
|
+
"groupNameAlreadyUsed": "Ce nom de groupe est déjà utilisé"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,48 +1,36 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@cauca-911/management', ['exports', '@angular/core', '
|
|
4
|
-
(global = global || self, factory((global['cauca-911'] = global['cauca-911'] || {}, global['cauca-911'].management = {}), global.ng.core, global
|
|
5
|
-
}(this, (function (exports,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('devextreme-angular/ui/check-box'), require('devextreme-angular/ui/list'), require('devextreme-angular/ui/tag-box'), require('@cauca-911/core'), require('@cauca-911/devextreme'), require('@angular/cdk/layout'), require('rxjs/operators'), require('@angular/common/http'), require('@angular/common')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@cauca-911/management', ['exports', '@angular/core', 'devextreme-angular/ui/check-box', 'devextreme-angular/ui/list', 'devextreme-angular/ui/tag-box', '@cauca-911/core', '@cauca-911/devextreme', '@angular/cdk/layout', 'rxjs/operators', '@angular/common/http', '@angular/common'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['cauca-911'] = global['cauca-911'] || {}, global['cauca-911'].management = {}), global.ng.core, global['devextreme-angular/ui/check-box'], global['devextreme-angular/ui/list'], global['devextreme-angular/ui/tag-box'], global['@cauca-911/core'], global['@cauca-911/devextreme'], global.ng.cdk.layout, global.rxjs.operators, global.ng.common.http, global.ng.common));
|
|
5
|
+
}(this, (function (exports, i0, checkBox, list, tagBox, i1, devextreme, layout, operators, i2, common) { 'use strict';
|
|
6
6
|
|
|
7
7
|
var CaucaManagementService = /** @class */ (function () {
|
|
8
8
|
function CaucaManagementService() {
|
|
9
9
|
}
|
|
10
|
-
CaucaManagementService.ɵfac = function CaucaManagementService_Factory(t) { return new (t || CaucaManagementService)(); };
|
|
11
|
-
CaucaManagementService.ɵprov = core["ɵɵdefineInjectable"]({ token: CaucaManagementService, factory: CaucaManagementService.ɵfac, providedIn: 'root' });
|
|
12
10
|
return CaucaManagementService;
|
|
13
11
|
}());
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
CaucaManagementService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CaucaManagementService_Factory() { return new CaucaManagementService(); }, token: CaucaManagementService, providedIn: "root" });
|
|
13
|
+
CaucaManagementService.decorators = [
|
|
14
|
+
{ type: i0.Injectable, args: [{
|
|
17
15
|
providedIn: 'root'
|
|
18
|
-
}]
|
|
19
|
-
|
|
16
|
+
},] }
|
|
17
|
+
];
|
|
18
|
+
CaucaManagementService.ctorParameters = function () { return []; };
|
|
20
19
|
|
|
21
20
|
var CaucaManagementComponent = /** @class */ (function () {
|
|
22
21
|
function CaucaManagementComponent() {
|
|
23
22
|
}
|
|
24
23
|
CaucaManagementComponent.prototype.ngOnInit = function () {
|
|
25
24
|
};
|
|
26
|
-
CaucaManagementComponent.ɵfac = function CaucaManagementComponent_Factory(t) { return new (t || CaucaManagementComponent)(); };
|
|
27
|
-
CaucaManagementComponent.ɵcmp = core["ɵɵdefineComponent"]({ type: CaucaManagementComponent, selectors: [["cauca-management"]], decls: 3, vars: 3, template: function CaucaManagementComponent_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
-
core["ɵɵelementStart"](0, "div");
|
|
29
|
-
core["ɵɵtext"](1);
|
|
30
|
-
core["ɵɵpipe"](2, "translate");
|
|
31
|
-
core["ɵɵelementEnd"]();
|
|
32
|
-
} if (rf & 2) {
|
|
33
|
-
core["ɵɵadvance"](1);
|
|
34
|
-
core["ɵɵtextInterpolate"](core["ɵɵpipeBind1"](2, 1, "core.noGenericComponentOnThisLibrary"));
|
|
35
|
-
} }, pipes: [core$1.TranslatePipe], encapsulation: 2 });
|
|
36
25
|
return CaucaManagementComponent;
|
|
37
26
|
}());
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
args: [{
|
|
27
|
+
CaucaManagementComponent.decorators = [
|
|
28
|
+
{ type: i0.Component, args: [{
|
|
41
29
|
selector: 'cauca-management',
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
30
|
+
template: "<div>{{'core.noGenericComponentOnThisLibrary' | translate}}</div>"
|
|
31
|
+
},] }
|
|
32
|
+
];
|
|
33
|
+
CaucaManagementComponent.ctorParameters = function () { return []; };
|
|
46
34
|
|
|
47
35
|
var ManagementGroupService = /** @class */ (function () {
|
|
48
36
|
function ManagementGroupService(coreService, http) {
|
|
@@ -64,16 +52,18 @@
|
|
|
64
52
|
ManagementGroupService.prototype.hasExistingGroupName = function (group) {
|
|
65
53
|
return this.http.post(this.config.apiUrl + "GroupManagement/GroupNameAlreadyExist", group);
|
|
66
54
|
};
|
|
67
|
-
ManagementGroupService.ɵfac = function ManagementGroupService_Factory(t) { return new (t || ManagementGroupService)(core["ɵɵinject"](core$2.CaucaCoreService), core["ɵɵinject"](http.HttpClient)); };
|
|
68
|
-
ManagementGroupService.ɵprov = core["ɵɵdefineInjectable"]({ token: ManagementGroupService, factory: ManagementGroupService.ɵfac, providedIn: 'root' });
|
|
69
55
|
return ManagementGroupService;
|
|
70
56
|
}());
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
57
|
+
ManagementGroupService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ManagementGroupService_Factory() { return new ManagementGroupService(i0.ɵɵinject(i1.CaucaCoreService), i0.ɵɵinject(i2.HttpClient)); }, token: ManagementGroupService, providedIn: "root" });
|
|
58
|
+
ManagementGroupService.decorators = [
|
|
59
|
+
{ type: i0.Injectable, args: [{
|
|
74
60
|
providedIn: 'root'
|
|
75
|
-
}]
|
|
76
|
-
|
|
61
|
+
},] }
|
|
62
|
+
];
|
|
63
|
+
ManagementGroupService.ctorParameters = function () { return [
|
|
64
|
+
{ type: i1.CaucaCoreService },
|
|
65
|
+
{ type: i2.HttpClient }
|
|
66
|
+
]; };
|
|
77
67
|
|
|
78
68
|
var ManagementUserService = /** @class */ (function () {
|
|
79
69
|
function ManagementUserService(coreService, http) {
|
|
@@ -110,16 +100,18 @@
|
|
|
110
100
|
ManagementUserService.prototype.hasExistingUserName = function (user) {
|
|
111
101
|
return this.http.post(this.config.apiUrl + "UserManagement/UserNameAlreadyExist", user);
|
|
112
102
|
};
|
|
113
|
-
ManagementUserService.ɵfac = function ManagementUserService_Factory(t) { return new (t || ManagementUserService)(core["ɵɵinject"](core$2.CaucaCoreService), core["ɵɵinject"](http.HttpClient)); };
|
|
114
|
-
ManagementUserService.ɵprov = core["ɵɵdefineInjectable"]({ token: ManagementUserService, factory: ManagementUserService.ɵfac, providedIn: 'root' });
|
|
115
103
|
return ManagementUserService;
|
|
116
104
|
}());
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
105
|
+
ManagementUserService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ManagementUserService_Factory() { return new ManagementUserService(i0.ɵɵinject(i1.CaucaCoreService), i0.ɵɵinject(i2.HttpClient)); }, token: ManagementUserService, providedIn: "root" });
|
|
106
|
+
ManagementUserService.decorators = [
|
|
107
|
+
{ type: i0.Injectable, args: [{
|
|
120
108
|
providedIn: 'root'
|
|
121
|
-
}]
|
|
122
|
-
|
|
109
|
+
},] }
|
|
110
|
+
];
|
|
111
|
+
ManagementUserService.ctorParameters = function () { return [
|
|
112
|
+
{ type: i1.CaucaCoreService },
|
|
113
|
+
{ type: i2.HttpClient }
|
|
114
|
+
]; };
|
|
123
115
|
|
|
124
116
|
var ManagementPermissionService = /** @class */ (function () {
|
|
125
117
|
function ManagementPermissionService(coreService, http) {
|
|
@@ -138,55 +130,19 @@
|
|
|
138
130
|
ManagementPermissionService.prototype.delete = function (idPermission) {
|
|
139
131
|
return this.http.delete(this.config.apiUrl + "PermissionManagement/" + idPermission);
|
|
140
132
|
};
|
|
141
|
-
ManagementPermissionService.ɵfac = function ManagementPermissionService_Factory(t) { return new (t || ManagementPermissionService)(core["ɵɵinject"](core$2.CaucaCoreService), core["ɵɵinject"](http.HttpClient)); };
|
|
142
|
-
ManagementPermissionService.ɵprov = core["ɵɵdefineInjectable"]({ token: ManagementPermissionService, factory: ManagementPermissionService.ɵfac, providedIn: 'root' });
|
|
143
133
|
return ManagementPermissionService;
|
|
144
134
|
}());
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
135
|
+
ManagementPermissionService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ManagementPermissionService_Factory() { return new ManagementPermissionService(i0.ɵɵinject(i1.CaucaCoreService), i0.ɵɵinject(i2.HttpClient)); }, token: ManagementPermissionService, providedIn: "root" });
|
|
136
|
+
ManagementPermissionService.decorators = [
|
|
137
|
+
{ type: i0.Injectable, args: [{
|
|
148
138
|
providedIn: 'root'
|
|
149
|
-
}]
|
|
150
|
-
|
|
139
|
+
},] }
|
|
140
|
+
];
|
|
141
|
+
ManagementPermissionService.ctorParameters = function () { return [
|
|
142
|
+
{ type: i1.CaucaCoreService },
|
|
143
|
+
{ type: i2.HttpClient }
|
|
144
|
+
]; };
|
|
151
145
|
|
|
152
|
-
function CaucaManagementGroupComponent_div_17_Template(rf, ctx) { if (rf & 1) {
|
|
153
|
-
var _r18 = core["ɵɵgetCurrentView"]();
|
|
154
|
-
core["ɵɵelementStart"](0, "div");
|
|
155
|
-
core["ɵɵelementStart"](1, "dx-tag-box", 13);
|
|
156
|
-
core["ɵɵlistener"]("onInitialized", function CaucaManagementGroupComponent_div_17_Template_dx_tag_box_onInitialized_1_listener($event) { core["ɵɵrestoreView"](_r18); var field_r16 = ctx.$implicit; var ctx_r17 = core["ɵɵnextContext"](); return ctx_r17.getGroupUser(field_r16, $event); })("onValueChanged", function CaucaManagementGroupComponent_div_17_Template_dx_tag_box_onValueChanged_1_listener($event) { core["ɵɵrestoreView"](_r18); var field_r16 = ctx.$implicit; var ctx_r19 = core["ɵɵnextContext"](); return ctx_r19.setGroupUser(field_r16, $event); });
|
|
157
|
-
core["ɵɵelementEnd"]();
|
|
158
|
-
core["ɵɵelementEnd"]();
|
|
159
|
-
} if (rf & 2) {
|
|
160
|
-
var ctx_r14 = core["ɵɵnextContext"]();
|
|
161
|
-
core["ɵɵadvance"](1);
|
|
162
|
-
core["ɵɵproperty"]("displayExpr", ctx_r14.fullName)("dataSource", ctx_r14.users)("searchEnabled", true)("searchExpr", ctx_r14.fullName);
|
|
163
|
-
} }
|
|
164
|
-
function CaucaManagementGroupComponent_div_18_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
165
|
-
var _r25 = core["ɵɵgetCurrentView"]();
|
|
166
|
-
core["ɵɵelementStart"](0, "div");
|
|
167
|
-
core["ɵɵelementStart"](1, "dx-check-box", 15);
|
|
168
|
-
core["ɵɵlistener"]("onInitialized", function CaucaManagementGroupComponent_div_18_div_2_Template_dx_check_box_onInitialized_1_listener($event) { core["ɵɵrestoreView"](_r25); var permission_r22 = ctx.$implicit; var field_r20 = core["ɵɵnextContext"]().$implicit; var ctx_r23 = core["ɵɵnextContext"](); return ctx_r23.getPermissionStatus(field_r20, permission_r22, $event); })("onValueChanged", function CaucaManagementGroupComponent_div_18_div_2_Template_dx_check_box_onValueChanged_1_listener($event) { core["ɵɵrestoreView"](_r25); var permission_r22 = ctx.$implicit; var field_r20 = core["ɵɵnextContext"]().$implicit; var ctx_r26 = core["ɵɵnextContext"](); return ctx_r26.checkBoxToggled(field_r20, permission_r22, $event); });
|
|
169
|
-
core["ɵɵelementEnd"]();
|
|
170
|
-
core["ɵɵelementEnd"]();
|
|
171
|
-
} if (rf & 2) {
|
|
172
|
-
var permission_r22 = ctx.$implicit;
|
|
173
|
-
core["ɵɵadvance"](1);
|
|
174
|
-
core["ɵɵproperty"]("text", permission_r22.name);
|
|
175
|
-
} }
|
|
176
|
-
var _c0 = function () { return ["name", "tag"]; };
|
|
177
|
-
function CaucaManagementGroupComponent_div_18_Template(rf, ctx) { if (rf & 1) {
|
|
178
|
-
core["ɵɵelementStart"](0, "div");
|
|
179
|
-
core["ɵɵelementStart"](1, "dx-list", 14);
|
|
180
|
-
core["ɵɵtemplate"](2, CaucaManagementGroupComponent_div_18_div_2_Template, 2, 1, "div", 12);
|
|
181
|
-
core["ɵɵelementEnd"]();
|
|
182
|
-
core["ɵɵelementEnd"]();
|
|
183
|
-
} if (rf & 2) {
|
|
184
|
-
var ctx_r15 = core["ɵɵnextContext"]();
|
|
185
|
-
core["ɵɵadvance"](1);
|
|
186
|
-
core["ɵɵproperty"]("dataSource", ctx_r15.permissions)("searchEnabled", true)("searchExpr", core["ɵɵpureFunction0"](5, _c0))("hoverStateEnabled", ctx_r15.hoverStatePermission);
|
|
187
|
-
core["ɵɵadvance"](1);
|
|
188
|
-
core["ɵɵproperty"]("dxTemplateOf", "rowTemplate");
|
|
189
|
-
} }
|
|
190
146
|
var CaucaManagementGroupComponent = /** @class */ (function () {
|
|
191
147
|
function CaucaManagementGroupComponent(managementGroupService, managementUserService, managementPermissionService, breakpointObserver) {
|
|
192
148
|
var _this = this;
|
|
@@ -379,71 +335,25 @@
|
|
|
379
335
|
var _this = this;
|
|
380
336
|
this.managementGroupService.getAll().subscribe(function (data) { return _this.groups = data; });
|
|
381
337
|
};
|
|
382
|
-
CaucaManagementGroupComponent.ɵfac = function CaucaManagementGroupComponent_Factory(t) { return new (t || CaucaManagementGroupComponent)(core["ɵɵdirectiveInject"](ManagementGroupService), core["ɵɵdirectiveInject"](ManagementUserService), core["ɵɵdirectiveInject"](ManagementPermissionService), core["ɵɵdirectiveInject"](layout.BreakpointObserver)); };
|
|
383
|
-
CaucaManagementGroupComponent.ɵcmp = core["ɵɵdefineComponent"]({ type: CaucaManagementGroupComponent, selectors: [["cauca-management-group"]], inputs: { showPrintButton: "showPrintButton", hoverStatePermission: "hoverStatePermission" }, decls: 19, vars: 31, consts: [["keyExpr", "id", 3, "allowPrint", "dataSource", "onRowInserted", "onInitNewRow", "onRowUpdated", "onEditingStart", "onRowRemoved"], ["dataField", "name", 3, "caption"], ["type", "async", 3, "message", "validationCallback"], ["dataField", "users", "editCellTemplate", "usersEditTemplate", 3, "caption", "calculateCellValue"], ["dataField", "permissions", "editCellTemplate", "permissionsEditTemplate", 3, "caption", "visible"], [3, "enabled"], ["mode", "popup", 3, "allowAdding", "allowUpdating", "allowDeleting", "useIcons"], [3, "showTitle", "title", "fullScreen"], ["colCount", "1", 3, "labelLocation"], ["dataField", "name", 3, "isRequired"], ["dataField", "users"], ["dataField", "permissions"], [4, "dxTemplate", "dxTemplateOf"], ["valueExpr", "id", 3, "displayExpr", "dataSource", "searchEnabled", "searchExpr", "onInitialized", "onValueChanged"], ["itemTemplate", "rowTemplate", 3, "dataSource", "searchEnabled", "searchExpr", "hoverStateEnabled"], [3, "text", "onInitialized", "onValueChanged"]], template: function CaucaManagementGroupComponent_Template(rf, ctx) { if (rf & 1) {
|
|
384
|
-
core["ɵɵelementStart"](0, "cauca-dx-data-grid", 0);
|
|
385
|
-
core["ɵɵlistener"]("onRowInserted", function CaucaManagementGroupComponent_Template_cauca_dx_data_grid_onRowInserted_0_listener($event) { return ctx.onRowInserted($event); })("onInitNewRow", function CaucaManagementGroupComponent_Template_cauca_dx_data_grid_onInitNewRow_0_listener() { return ctx.onInitNewRow(); })("onRowUpdated", function CaucaManagementGroupComponent_Template_cauca_dx_data_grid_onRowUpdated_0_listener($event) { return ctx.onRowUpdated($event); })("onEditingStart", function CaucaManagementGroupComponent_Template_cauca_dx_data_grid_onEditingStart_0_listener($event) { return ctx.onEditingStart($event); })("onRowRemoved", function CaucaManagementGroupComponent_Template_cauca_dx_data_grid_onRowRemoved_0_listener($event) { return ctx.onRowRemoved($event); });
|
|
386
|
-
core["ɵɵelementStart"](1, "dxi-column", 1);
|
|
387
|
-
core["ɵɵpipe"](2, "translate");
|
|
388
|
-
core["ɵɵelement"](3, "dxi-validation-rule", 2);
|
|
389
|
-
core["ɵɵpipe"](4, "translate");
|
|
390
|
-
core["ɵɵelementEnd"]();
|
|
391
|
-
core["ɵɵelement"](5, "dxi-column", 3);
|
|
392
|
-
core["ɵɵpipe"](6, "translate");
|
|
393
|
-
core["ɵɵelement"](7, "dxi-column", 4);
|
|
394
|
-
core["ɵɵpipe"](8, "translate");
|
|
395
|
-
core["ɵɵelement"](9, "dxo-export", 5);
|
|
396
|
-
core["ɵɵelementStart"](10, "dxo-editing", 6);
|
|
397
|
-
core["ɵɵelement"](11, "dxo-popup", 7);
|
|
398
|
-
core["ɵɵpipe"](12, "translate");
|
|
399
|
-
core["ɵɵelementStart"](13, "dxo-form", 8);
|
|
400
|
-
core["ɵɵelement"](14, "dxi-item", 9);
|
|
401
|
-
core["ɵɵelement"](15, "dxi-item", 10);
|
|
402
|
-
core["ɵɵelement"](16, "dxi-item", 11);
|
|
403
|
-
core["ɵɵelementEnd"]();
|
|
404
|
-
core["ɵɵelementEnd"]();
|
|
405
|
-
core["ɵɵtemplate"](17, CaucaManagementGroupComponent_div_17_Template, 2, 4, "div", 12);
|
|
406
|
-
core["ɵɵtemplate"](18, CaucaManagementGroupComponent_div_18_Template, 3, 6, "div", 12);
|
|
407
|
-
core["ɵɵelementEnd"]();
|
|
408
|
-
} if (rf & 2) {
|
|
409
|
-
core["ɵɵproperty"]("allowPrint", ctx.showPrintButton)("dataSource", ctx.groups);
|
|
410
|
-
core["ɵɵadvance"](1);
|
|
411
|
-
core["ɵɵproperty"]("caption", core["ɵɵpipeBind1"](2, 21, "management.name"));
|
|
412
|
-
core["ɵɵadvance"](2);
|
|
413
|
-
core["ɵɵproperty"]("message", core["ɵɵpipeBind1"](4, 23, "management.groupNameAlreadyUsed"))("validationCallback", ctx.groupNameAlreadyUsedValidation);
|
|
414
|
-
core["ɵɵadvance"](2);
|
|
415
|
-
core["ɵɵproperty"]("caption", core["ɵɵpipeBind1"](6, 25, "management.users"))("calculateCellValue", ctx.calculateUsersCellValue);
|
|
416
|
-
core["ɵɵadvance"](2);
|
|
417
|
-
core["ɵɵproperty"]("caption", core["ɵɵpipeBind1"](8, 27, "management.permissions"))("visible", false);
|
|
418
|
-
core["ɵɵadvance"](2);
|
|
419
|
-
core["ɵɵproperty"]("enabled", false);
|
|
420
|
-
core["ɵɵadvance"](1);
|
|
421
|
-
core["ɵɵproperty"]("allowAdding", true)("allowUpdating", true)("allowDeleting", true)("useIcons", true);
|
|
422
|
-
core["ɵɵadvance"](1);
|
|
423
|
-
core["ɵɵproperty"]("showTitle", true)("title", core["ɵɵpipeBind1"](12, 29, "management.group"))("fullScreen", !ctx.showColumn);
|
|
424
|
-
core["ɵɵadvance"](2);
|
|
425
|
-
core["ɵɵproperty"]("labelLocation", ctx.showColumnXS ? "left" : "top");
|
|
426
|
-
core["ɵɵadvance"](1);
|
|
427
|
-
core["ɵɵproperty"]("isRequired", true);
|
|
428
|
-
core["ɵɵadvance"](3);
|
|
429
|
-
core["ɵɵproperty"]("dxTemplateOf", "usersEditTemplate");
|
|
430
|
-
core["ɵɵadvance"](1);
|
|
431
|
-
core["ɵɵproperty"]("dxTemplateOf", "permissionsEditTemplate");
|
|
432
|
-
} }, directives: [devextreme.CaucaDataGridComponent, nested.DxiColumnComponent, nested.DxiValidationRuleComponent, nested.DxoExportComponent, nested.DxoEditingComponent, nested.DxoPopupComponent, nested.DxoFormComponent, nested.DxiItemComponent, core$3.DxTemplateDirective, devextremeAngular.DxTagBoxComponent, devextremeAngular.DxListComponent, devextremeAngular.DxCheckBoxComponent], pipes: [core$1.TranslatePipe], styles: [""] });
|
|
433
338
|
return CaucaManagementGroupComponent;
|
|
434
339
|
}());
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
args: [{
|
|
340
|
+
CaucaManagementGroupComponent.decorators = [
|
|
341
|
+
{ type: i0.Component, args: [{
|
|
438
342
|
selector: 'cauca-management-group',
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
}]
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
343
|
+
template: "<cauca-dx-data-grid [allowPrint]=\"showPrintButton\" keyExpr=\"id\" [dataSource]=\"groups\"\r\n (onRowInserted)=\"onRowInserted($event)\" (onInitNewRow)=\"onInitNewRow()\" (onRowUpdated)=\"onRowUpdated($event)\"\r\n (onEditingStart)=\"onEditingStart($event)\" (onRowRemoved)=\"onRowRemoved($event)\">\r\n\r\n <dxi-column dataField=\"name\" [caption]=\"'management.name' | translate\">\r\n <dxi-validation-rule type=\"async\" [message]=\"'management.groupNameAlreadyUsed' | translate\"\r\n [validationCallback]=\"groupNameAlreadyUsedValidation\"></dxi-validation-rule>\r\n </dxi-column>\r\n <dxi-column dataField=\"users\" [caption]=\"'management.users' | translate\" editCellTemplate=\"usersEditTemplate\"\r\n [calculateCellValue]=\"calculateUsersCellValue\">\r\n </dxi-column>\r\n <dxi-column dataField=\"permissions\" [caption]=\"'management.permissions' | translate\" [visible]=\"false\"\r\n editCellTemplate=\"permissionsEditTemplate\">\r\n </dxi-column>\r\n <dxo-export [enabled]=\"false\"></dxo-export>\r\n <dxo-editing mode=\"popup\" [allowAdding]=\"true\" [allowUpdating]=\"true\" [allowDeleting]=\"true\" [useIcons]=\"true\">\r\n <dxo-popup [showTitle]=\"true\" [title]=\"'management.group' | translate\" [fullScreen]=\"!showColumn\"></dxo-popup>\r\n <dxo-form colCount=\"1\" [labelLocation]=\"showColumnXS ? 'left' : 'top'\">\r\n <dxi-item dataField=\"name\" [isRequired]=\"true\"></dxi-item>\r\n <dxi-item dataField=\"users\"></dxi-item>\r\n <dxi-item dataField=\"permissions\"></dxi-item>\r\n </dxo-form>\r\n </dxo-editing>\r\n\r\n <div *dxTemplate=\"let field of 'usersEditTemplate'\">\r\n <dx-tag-box valueExpr=\"id\" [displayExpr]=\"fullName\" [dataSource]=\"users\" [searchEnabled]=\"true\"\r\n [searchExpr]=\"fullName\" (onInitialized)=\"getGroupUser(field, $event)\"\r\n (onValueChanged)=\"setGroupUser(field, $event)\">\r\n </dx-tag-box>\r\n </div>\r\n <div *dxTemplate=\"let field of 'permissionsEditTemplate'\">\r\n <dx-list [dataSource]=\"permissions\" itemTemplate=\"rowTemplate\" [searchEnabled]=\"true\"\r\n [searchExpr]=\"['name', 'tag']\" [hoverStateEnabled]=\"hoverStatePermission\">\r\n <div *dxTemplate=\"let permission of 'rowTemplate'\">\r\n <dx-check-box [text]=\"permission.name\" (onInitialized)=\"getPermissionStatus(field, permission, $event)\"\r\n (onValueChanged)=\"checkBoxToggled(field, permission, $event)\">\r\n </dx-check-box>\r\n </div>\r\n </dx-list>\r\n </div>\r\n</cauca-dx-data-grid>",
|
|
344
|
+
styles: [""]
|
|
345
|
+
},] }
|
|
346
|
+
];
|
|
347
|
+
CaucaManagementGroupComponent.ctorParameters = function () { return [
|
|
348
|
+
{ type: ManagementGroupService },
|
|
349
|
+
{ type: ManagementUserService },
|
|
350
|
+
{ type: ManagementPermissionService },
|
|
351
|
+
{ type: layout.BreakpointObserver }
|
|
352
|
+
]; };
|
|
353
|
+
CaucaManagementGroupComponent.propDecorators = {
|
|
354
|
+
showPrintButton: [{ type: i0.Input }],
|
|
355
|
+
hoverStatePermission: [{ type: i0.Input }]
|
|
356
|
+
};
|
|
447
357
|
|
|
448
358
|
var UserModel = /** @class */ (function () {
|
|
449
359
|
function UserModel() {
|
|
@@ -453,6 +363,7 @@
|
|
|
453
363
|
this.password = '';
|
|
454
364
|
this.email = '';
|
|
455
365
|
this.isActive = true;
|
|
366
|
+
this.twoFactorAuthenticatorEnabled = false;
|
|
456
367
|
}
|
|
457
368
|
return UserModel;
|
|
458
369
|
}());
|
|
@@ -500,107 +411,38 @@
|
|
|
500
411
|
var _this = this;
|
|
501
412
|
this.managementUserService.getAll().subscribe(function (data) { return _this.users = data; });
|
|
502
413
|
};
|
|
503
|
-
CaucaManagementUserComponent.ɵfac = function CaucaManagementUserComponent_Factory(t) { return new (t || CaucaManagementUserComponent)(core["ɵɵdirectiveInject"](ManagementUserService), core["ɵɵdirectiveInject"](layout.BreakpointObserver)); };
|
|
504
|
-
CaucaManagementUserComponent.ɵcmp = core["ɵɵdefineComponent"]({ type: CaucaManagementUserComponent, selectors: [["cauca-management-user"]], decls: 22, vars: 31, consts: [["keyExpr", "id", 3, "dataSource", "onRowInserted", "onRowUpdated", "onRowRemoved"], ["dataField", "userName", 3, "caption"], ["type", "async", 3, "message", "validationCallback"], ["dataField", "isActive", 3, "caption", "visible"], ["dataField", "firstName", 3, "caption"], ["dataField", "lastName", 3, "caption"], ["dataField", "groups", 3, "caption"], ["mode", "popup", 3, "allowAdding", "allowUpdating", "allowDeleting", "useIcons"], [3, "showTitle", "title"], ["colCount", "2", 3, "labelLocation"], ["dataField", "userName", 3, "isRequired"], ["dataField", "isActive"], ["dataField", "firstName"], ["dataField", "lastName"], ["dataField", "group"]], template: function CaucaManagementUserComponent_Template(rf, ctx) { if (rf & 1) {
|
|
505
|
-
core["ɵɵelementStart"](0, "cauca-dx-data-grid", 0);
|
|
506
|
-
core["ɵɵlistener"]("onRowInserted", function CaucaManagementUserComponent_Template_cauca_dx_data_grid_onRowInserted_0_listener($event) { return ctx.onRowInserted($event); })("onRowUpdated", function CaucaManagementUserComponent_Template_cauca_dx_data_grid_onRowUpdated_0_listener($event) { return ctx.onRowUpdated($event); })("onRowRemoved", function CaucaManagementUserComponent_Template_cauca_dx_data_grid_onRowRemoved_0_listener($event) { return ctx.onRowRemoved($event); });
|
|
507
|
-
core["ɵɵelementStart"](1, "dxi-column", 1);
|
|
508
|
-
core["ɵɵpipe"](2, "translate");
|
|
509
|
-
core["ɵɵelement"](3, "dxi-validation-rule", 2);
|
|
510
|
-
core["ɵɵpipe"](4, "translate");
|
|
511
|
-
core["ɵɵelementEnd"]();
|
|
512
|
-
core["ɵɵelement"](5, "dxi-column", 3);
|
|
513
|
-
core["ɵɵpipe"](6, "translate");
|
|
514
|
-
core["ɵɵelement"](7, "dxi-column", 4);
|
|
515
|
-
core["ɵɵpipe"](8, "translate");
|
|
516
|
-
core["ɵɵelement"](9, "dxi-column", 5);
|
|
517
|
-
core["ɵɵpipe"](10, "translate");
|
|
518
|
-
core["ɵɵelement"](11, "dxi-column", 6);
|
|
519
|
-
core["ɵɵpipe"](12, "translate");
|
|
520
|
-
core["ɵɵelementStart"](13, "dxo-editing", 7);
|
|
521
|
-
core["ɵɵelement"](14, "dxo-popup", 8);
|
|
522
|
-
core["ɵɵpipe"](15, "translate");
|
|
523
|
-
core["ɵɵelementStart"](16, "dxo-form", 9);
|
|
524
|
-
core["ɵɵelement"](17, "dxi-item", 10);
|
|
525
|
-
core["ɵɵelement"](18, "dxi-item", 11);
|
|
526
|
-
core["ɵɵelement"](19, "dxi-item", 12);
|
|
527
|
-
core["ɵɵelement"](20, "dxi-item", 13);
|
|
528
|
-
core["ɵɵelement"](21, "dxi-item", 14);
|
|
529
|
-
core["ɵɵelementEnd"]();
|
|
530
|
-
core["ɵɵelementEnd"]();
|
|
531
|
-
core["ɵɵelementEnd"]();
|
|
532
|
-
} if (rf & 2) {
|
|
533
|
-
core["ɵɵproperty"]("dataSource", ctx.users);
|
|
534
|
-
core["ɵɵadvance"](1);
|
|
535
|
-
core["ɵɵproperty"]("caption", core["ɵɵpipeBind1"](2, 17, "management.userName"));
|
|
536
|
-
core["ɵɵadvance"](2);
|
|
537
|
-
core["ɵɵproperty"]("message", core["ɵɵpipeBind1"](4, 19, "management.userNameAlreadyUsed"))("validationCallback", ctx.userNameAlreadyUsedValidation);
|
|
538
|
-
core["ɵɵadvance"](2);
|
|
539
|
-
core["ɵɵproperty"]("caption", core["ɵɵpipeBind1"](6, 21, "management.isActive"))("visible", false);
|
|
540
|
-
core["ɵɵadvance"](2);
|
|
541
|
-
core["ɵɵproperty"]("caption", core["ɵɵpipeBind1"](8, 23, "management.firstName"));
|
|
542
|
-
core["ɵɵadvance"](2);
|
|
543
|
-
core["ɵɵproperty"]("caption", core["ɵɵpipeBind1"](10, 25, "management.lastName"));
|
|
544
|
-
core["ɵɵadvance"](2);
|
|
545
|
-
core["ɵɵproperty"]("caption", core["ɵɵpipeBind1"](12, 27, "management.group"));
|
|
546
|
-
core["ɵɵadvance"](2);
|
|
547
|
-
core["ɵɵproperty"]("allowAdding", true)("allowUpdating", true)("allowDeleting", true)("useIcons", true);
|
|
548
|
-
core["ɵɵadvance"](1);
|
|
549
|
-
core["ɵɵproperty"]("showTitle", true)("title", core["ɵɵpipeBind1"](15, 29, "management.group"));
|
|
550
|
-
core["ɵɵadvance"](2);
|
|
551
|
-
core["ɵɵproperty"]("labelLocation", ctx.showColumnXS ? "left" : "top");
|
|
552
|
-
core["ɵɵadvance"](1);
|
|
553
|
-
core["ɵɵproperty"]("isRequired", true);
|
|
554
|
-
} }, directives: [devextreme.CaucaDataGridComponent, nested.DxiColumnComponent, nested.DxiValidationRuleComponent, nested.DxoEditingComponent, nested.DxoPopupComponent, nested.DxoFormComponent, nested.DxiItemComponent], pipes: [core$1.TranslatePipe], styles: [""] });
|
|
555
414
|
return CaucaManagementUserComponent;
|
|
556
415
|
}());
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
args: [{
|
|
416
|
+
CaucaManagementUserComponent.decorators = [
|
|
417
|
+
{ type: i0.Component, args: [{
|
|
560
418
|
selector: 'cauca-management-user',
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
}]
|
|
564
|
-
|
|
419
|
+
template: "<cauca-dx-data-grid\r\n keyExpr=\"id\"\r\n [dataSource]=\"users\"\r\n (onRowInserted)=\"onRowInserted($event)\"\r\n (onRowUpdated)=\"onRowUpdated($event)\"\r\n (onRowRemoved)=\"onRowRemoved($event)\">\r\n\r\n <dxi-column dataField=\"userName\" [caption]=\"'management.userName' | translate\">\r\n <dxi-validation-rule type=\"async\" [message]=\"'management.userNameAlreadyUsed' | translate\" [validationCallback]=\"userNameAlreadyUsedValidation\"></dxi-validation-rule>\r\n </dxi-column>\r\n <dxi-column dataField=\"isActive\" [caption]=\"'management.isActive' | translate\" [visible]=\"false\"></dxi-column>\r\n <dxi-column dataField=\"firstName\" [caption]=\"'management.firstName' | translate\"></dxi-column>\r\n <dxi-column dataField=\"lastName\" [caption]=\"'management.lastName' | translate\"></dxi-column>\r\n <dxi-column dataField=\"groups\" [caption]=\"'management.group' | translate\"></dxi-column>\r\n\r\n <dxo-editing mode=\"popup\" [allowAdding]=\"true\" [allowUpdating]=\"true\" [allowDeleting]=\"true\" [useIcons]=\"true\">\r\n <dxo-popup [showTitle]=\"true\" [title]=\"'management.group' | translate\"></dxo-popup>\r\n <dxo-form colCount=\"2\" [labelLocation]=\"showColumnXS ? 'left' : 'top'\">\r\n <dxi-item dataField=\"userName\" [isRequired]=\"true\"></dxi-item>\r\n <dxi-item dataField=\"isActive\"></dxi-item>\r\n <dxi-item dataField=\"firstName\"></dxi-item>\r\n <dxi-item dataField=\"lastName\"></dxi-item>\r\n <dxi-item dataField=\"group\"></dxi-item>\r\n </dxo-form>\r\n </dxo-editing>\r\n</cauca-dx-data-grid>\r\n",
|
|
420
|
+
styles: [""]
|
|
421
|
+
},] }
|
|
422
|
+
];
|
|
423
|
+
CaucaManagementUserComponent.ctorParameters = function () { return [
|
|
424
|
+
{ type: ManagementUserService },
|
|
425
|
+
{ type: layout.BreakpointObserver }
|
|
426
|
+
]; };
|
|
565
427
|
|
|
566
428
|
var CaucaManagementModule = /** @class */ (function () {
|
|
567
429
|
function CaucaManagementModule() {
|
|
568
430
|
}
|
|
569
|
-
CaucaManagementModule.ɵmod = core["ɵɵdefineNgModule"]({ type: CaucaManagementModule });
|
|
570
|
-
CaucaManagementModule.ɵinj = core["ɵɵdefineInjector"]({ factory: function CaucaManagementModule_Factory(t) { return new (t || CaucaManagementModule)(); }, imports: [[
|
|
571
|
-
platformBrowser.BrowserModule,
|
|
572
|
-
devextremeAngular.DxCheckBoxModule,
|
|
573
|
-
devextremeAngular.DxListModule,
|
|
574
|
-
devextremeAngular.DxTagBoxModule,
|
|
575
|
-
core$2.CaucaCoreModule,
|
|
576
|
-
devextreme.CaucaDevextremeModule,
|
|
577
|
-
]] });
|
|
578
431
|
return CaucaManagementModule;
|
|
579
432
|
}());
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
CaucaManagementUserComponent], imports: [platformBrowser.BrowserModule,
|
|
583
|
-
devextremeAngular.DxCheckBoxModule,
|
|
584
|
-
devextremeAngular.DxListModule,
|
|
585
|
-
devextremeAngular.DxTagBoxModule,
|
|
586
|
-
core$2.CaucaCoreModule,
|
|
587
|
-
devextreme.CaucaDevextremeModule], exports: [CaucaManagementComponent,
|
|
588
|
-
CaucaManagementUserComponent,
|
|
589
|
-
CaucaManagementGroupComponent] }); })();
|
|
590
|
-
/*@__PURE__*/ (function () { core["ɵsetClassMetadata"](CaucaManagementModule, [{
|
|
591
|
-
type: core.NgModule,
|
|
592
|
-
args: [{
|
|
433
|
+
CaucaManagementModule.decorators = [
|
|
434
|
+
{ type: i0.NgModule, args: [{
|
|
593
435
|
declarations: [
|
|
594
436
|
CaucaManagementComponent,
|
|
595
437
|
CaucaManagementGroupComponent,
|
|
596
438
|
CaucaManagementUserComponent
|
|
597
439
|
],
|
|
598
440
|
imports: [
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
441
|
+
common.CommonModule,
|
|
442
|
+
checkBox.DxCheckBoxModule,
|
|
443
|
+
list.DxListModule,
|
|
444
|
+
tagBox.DxTagBoxModule,
|
|
445
|
+
i1.CaucaCoreForChildModule,
|
|
604
446
|
devextreme.CaucaDevextremeModule,
|
|
605
447
|
],
|
|
606
448
|
exports: [
|
|
@@ -608,8 +450,8 @@
|
|
|
608
450
|
CaucaManagementUserComponent,
|
|
609
451
|
CaucaManagementGroupComponent,
|
|
610
452
|
]
|
|
611
|
-
}]
|
|
612
|
-
|
|
453
|
+
},] }
|
|
454
|
+
];
|
|
613
455
|
|
|
614
456
|
var UserGroupModel = /** @class */ (function () {
|
|
615
457
|
function UserGroupModel() {
|
|
@@ -649,6 +491,14 @@
|
|
|
649
491
|
return GroupPermissionModel;
|
|
650
492
|
}());
|
|
651
493
|
|
|
494
|
+
/*
|
|
495
|
+
* Public API Surface of cauca-management
|
|
496
|
+
*/
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* Generated bundle index. Do not edit.
|
|
500
|
+
*/
|
|
501
|
+
|
|
652
502
|
exports.CaucaManagementComponent = CaucaManagementComponent;
|
|
653
503
|
exports.CaucaManagementGroupComponent = CaucaManagementGroupComponent;
|
|
654
504
|
exports.CaucaManagementModule = CaucaManagementModule;
|
|
@@ -661,6 +511,7 @@
|
|
|
661
511
|
exports.UserGroupModel = UserGroupModel;
|
|
662
512
|
exports.UserModel = UserModel;
|
|
663
513
|
exports.UserPermissionModel = UserPermissionModel;
|
|
514
|
+
exports.ɵa = ManagementPermissionService;
|
|
664
515
|
|
|
665
516
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
666
517
|
|