@abp/ng.identity 5.0.0-rc.1 → 5.0.2
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/abp-ng.identity.d.ts +5 -5
- package/bundles/abp-ng.identity-config.umd.js +49 -49
- package/bundles/abp-ng.identity-proxy.umd.js +136 -136
- package/bundles/abp-ng.identity.umd.js +937 -937
- package/bundles/abp-ng.identity.umd.js.map +1 -1
- package/config/abp-ng.identity-config.d.ts +5 -5
- package/config/enums/index.d.ts +2 -2
- package/config/enums/policy-names.d.ts +5 -5
- package/config/enums/route-names.d.ts +5 -5
- package/config/identity-config.module.d.ts +8 -8
- package/config/providers/index.d.ts +1 -1
- package/config/providers/route.provider.d.ts +8 -8
- package/config/public-api.d.ts +3 -3
- package/esm2015/abp-ng.identity.js +4 -4
- package/esm2015/config/abp-ng.identity-config.js +4 -4
- package/esm2015/config/enums/index.js +2 -2
- package/esm2015/config/enums/policy-names.js +1 -1
- package/esm2015/config/enums/route-names.js +1 -1
- package/esm2015/config/identity-config.module.js +17 -17
- package/esm2015/config/providers/index.js +1 -1
- package/esm2015/config/providers/route.provider.js +34 -34
- package/esm2015/config/public-api.js +3 -3
- package/esm2015/lib/components/index.js +2 -2
- package/esm2015/lib/components/roles/roles.component.js +111 -111
- package/esm2015/lib/components/users/users.component.js +143 -143
- package/esm2015/lib/defaults/default-roles-entity-actions.js +29 -29
- package/esm2015/lib/defaults/default-roles-entity-props.js +24 -24
- package/esm2015/lib/defaults/default-roles-form-props.js +27 -27
- package/esm2015/lib/defaults/default-roles-toolbar-actions.js +13 -13
- package/esm2015/lib/defaults/default-users-entity-actions.js +28 -28
- package/esm2015/lib/defaults/default-users-entity-props.js +33 -33
- package/esm2015/lib/defaults/default-users-form-props.js +63 -63
- package/esm2015/lib/defaults/default-users-toolbar-actions.js +13 -13
- package/esm2015/lib/enums/components.js +1 -1
- package/esm2015/lib/enums/index.js +1 -1
- package/esm2015/lib/guards/extensions.guard.js +35 -35
- package/esm2015/lib/guards/index.js +1 -1
- package/esm2015/lib/identity-routing.module.js +53 -53
- package/esm2015/lib/identity.module.js +82 -82
- package/esm2015/lib/models/config-options.js +1 -1
- package/esm2015/lib/models/index.js +1 -1
- package/esm2015/lib/tokens/extensions.token.js +34 -34
- package/esm2015/lib/tokens/index.js +1 -1
- package/esm2015/proxy/abp-ng.identity-proxy.js +4 -4
- package/esm2015/proxy/lib/index.js +2 -2
- package/esm2015/proxy/lib/proxy/identity/identity-role.service.js +45 -45
- package/esm2015/proxy/lib/proxy/identity/identity-user-lookup.service.js +36 -36
- package/esm2015/proxy/lib/proxy/identity/identity-user.service.js +62 -62
- package/esm2015/proxy/lib/proxy/identity/index.js +4 -4
- package/esm2015/proxy/lib/proxy/identity/models.js +1 -1
- package/esm2015/proxy/lib/proxy/users/index.js +1 -1
- package/esm2015/proxy/lib/proxy/users/models.js +1 -1
- package/esm2015/proxy/public-api.js +1 -1
- package/esm2015/public-api.js +6 -6
- package/fesm2015/abp-ng.identity-config.js +46 -46
- package/fesm2015/abp-ng.identity-proxy.js +130 -130
- package/fesm2015/abp-ng.identity.js +588 -588
- package/fesm2015/abp-ng.identity.js.map +1 -1
- package/lib/components/index.d.ts +2 -2
- package/lib/components/roles/roles.component.d.ts +35 -35
- package/lib/components/users/users.component.d.ts +41 -41
- package/lib/defaults/default-roles-entity-actions.d.ts +3 -3
- package/lib/defaults/default-roles-entity-props.d.ts +3 -3
- package/lib/defaults/default-roles-form-props.d.ts +4 -4
- package/lib/defaults/default-roles-toolbar-actions.d.ts +3 -3
- package/lib/defaults/default-users-entity-actions.d.ts +3 -3
- package/lib/defaults/default-users-entity-props.d.ts +3 -3
- package/lib/defaults/default-users-form-props.d.ts +4 -4
- package/lib/defaults/default-users-toolbar-actions.d.ts +3 -3
- package/lib/enums/components.d.ts +4 -4
- package/lib/enums/index.d.ts +1 -1
- package/lib/guards/extensions.guard.d.ts +11 -11
- package/lib/guards/index.d.ts +1 -1
- package/lib/identity-routing.module.d.ts +7 -7
- package/lib/identity.module.d.ts +19 -19
- package/lib/models/config-options.d.ts +30 -30
- package/lib/models/index.d.ts +1 -1
- package/lib/tokens/extensions.token.d.ts +43 -43
- package/lib/tokens/index.d.ts +1 -1
- package/package.json +4 -4
- package/proxy/abp-ng.identity-proxy.d.ts +5 -5
- package/proxy/lib/index.d.ts +2 -2
- package/proxy/lib/proxy/identity/identity-role.service.d.ts +17 -17
- package/proxy/lib/proxy/identity/identity-user-lookup.service.d.ts +16 -16
- package/proxy/lib/proxy/identity/identity-user.service.d.ts +21 -21
- package/proxy/lib/proxy/identity/index.d.ts +4 -4
- package/proxy/lib/proxy/identity/models.d.ts +64 -64
- package/proxy/lib/proxy/users/index.d.ts +1 -1
- package/proxy/lib/proxy/users/models.d.ts +11 -11
- package/proxy/public-api.d.ts +1 -1
- package/public-api.d.ts +6 -6
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import { RestService } from '@abp/ng.core';
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@abp/ng.core";
|
|
5
|
-
export class IdentityUserService {
|
|
6
|
-
constructor(restService) {
|
|
7
|
-
this.restService = restService;
|
|
8
|
-
this.apiName = 'AbpIdentity';
|
|
9
|
-
this.create = (input) => this.restService.request({
|
|
10
|
-
method: 'POST',
|
|
11
|
-
url: '/api/identity/users',
|
|
12
|
-
body: input,
|
|
13
|
-
}, { apiName: this.apiName });
|
|
14
|
-
this.delete = (id) => this.restService.request({
|
|
15
|
-
method: 'DELETE',
|
|
16
|
-
url: `/api/identity/users/${id}`,
|
|
17
|
-
}, { apiName: this.apiName });
|
|
18
|
-
this.findByEmail = (email) => this.restService.request({
|
|
19
|
-
method: 'GET',
|
|
20
|
-
url: `/api/identity/users/by-email/${email}`,
|
|
21
|
-
}, { apiName: this.apiName });
|
|
22
|
-
this.findByUsername = (userName) => this.restService.request({
|
|
23
|
-
method: 'GET',
|
|
24
|
-
url: `/api/identity/users/by-username/${userName}`,
|
|
25
|
-
}, { apiName: this.apiName });
|
|
26
|
-
this.get = (id) => this.restService.request({
|
|
27
|
-
method: 'GET',
|
|
28
|
-
url: `/api/identity/users/${id}`,
|
|
29
|
-
}, { apiName: this.apiName });
|
|
30
|
-
this.getAssignableRoles = () => this.restService.request({
|
|
31
|
-
method: 'GET',
|
|
32
|
-
url: '/api/identity/users/assignable-roles',
|
|
33
|
-
}, { apiName: this.apiName });
|
|
34
|
-
this.getList = (input) => this.restService.request({
|
|
35
|
-
method: 'GET',
|
|
36
|
-
url: '/api/identity/users',
|
|
37
|
-
params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
38
|
-
}, { apiName: this.apiName });
|
|
39
|
-
this.getRoles = (id) => this.restService.request({
|
|
40
|
-
method: 'GET',
|
|
41
|
-
url: `/api/identity/users/${id}/roles`,
|
|
42
|
-
}, { apiName: this.apiName });
|
|
43
|
-
this.update = (id, input) => this.restService.request({
|
|
44
|
-
method: 'PUT',
|
|
45
|
-
url: `/api/identity/users/${id}`,
|
|
46
|
-
body: input,
|
|
47
|
-
}, { apiName: this.apiName });
|
|
48
|
-
this.updateRoles = (id, input) => this.restService.request({
|
|
49
|
-
method: 'PUT',
|
|
50
|
-
url: `/api/identity/users/${id}/roles`,
|
|
51
|
-
body: input,
|
|
52
|
-
}, { apiName: this.apiName });
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
IdentityUserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityUserService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
56
|
-
IdentityUserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityUserService, providedIn: 'root' });
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityUserService, decorators: [{
|
|
58
|
-
type: Injectable,
|
|
59
|
-
args: [{
|
|
60
|
-
providedIn: 'root',
|
|
61
|
-
}]
|
|
62
|
-
}], ctorParameters: function () { return [{ type: i1.RestService }]; } });
|
|
1
|
+
import { RestService } from '@abp/ng.core';
|
|
2
|
+
import { Injectable } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@abp/ng.core";
|
|
5
|
+
export class IdentityUserService {
|
|
6
|
+
constructor(restService) {
|
|
7
|
+
this.restService = restService;
|
|
8
|
+
this.apiName = 'AbpIdentity';
|
|
9
|
+
this.create = (input) => this.restService.request({
|
|
10
|
+
method: 'POST',
|
|
11
|
+
url: '/api/identity/users',
|
|
12
|
+
body: input,
|
|
13
|
+
}, { apiName: this.apiName });
|
|
14
|
+
this.delete = (id) => this.restService.request({
|
|
15
|
+
method: 'DELETE',
|
|
16
|
+
url: `/api/identity/users/${id}`,
|
|
17
|
+
}, { apiName: this.apiName });
|
|
18
|
+
this.findByEmail = (email) => this.restService.request({
|
|
19
|
+
method: 'GET',
|
|
20
|
+
url: `/api/identity/users/by-email/${email}`,
|
|
21
|
+
}, { apiName: this.apiName });
|
|
22
|
+
this.findByUsername = (userName) => this.restService.request({
|
|
23
|
+
method: 'GET',
|
|
24
|
+
url: `/api/identity/users/by-username/${userName}`,
|
|
25
|
+
}, { apiName: this.apiName });
|
|
26
|
+
this.get = (id) => this.restService.request({
|
|
27
|
+
method: 'GET',
|
|
28
|
+
url: `/api/identity/users/${id}`,
|
|
29
|
+
}, { apiName: this.apiName });
|
|
30
|
+
this.getAssignableRoles = () => this.restService.request({
|
|
31
|
+
method: 'GET',
|
|
32
|
+
url: '/api/identity/users/assignable-roles',
|
|
33
|
+
}, { apiName: this.apiName });
|
|
34
|
+
this.getList = (input) => this.restService.request({
|
|
35
|
+
method: 'GET',
|
|
36
|
+
url: '/api/identity/users',
|
|
37
|
+
params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
38
|
+
}, { apiName: this.apiName });
|
|
39
|
+
this.getRoles = (id) => this.restService.request({
|
|
40
|
+
method: 'GET',
|
|
41
|
+
url: `/api/identity/users/${id}/roles`,
|
|
42
|
+
}, { apiName: this.apiName });
|
|
43
|
+
this.update = (id, input) => this.restService.request({
|
|
44
|
+
method: 'PUT',
|
|
45
|
+
url: `/api/identity/users/${id}`,
|
|
46
|
+
body: input,
|
|
47
|
+
}, { apiName: this.apiName });
|
|
48
|
+
this.updateRoles = (id, input) => this.restService.request({
|
|
49
|
+
method: 'PUT',
|
|
50
|
+
url: `/api/identity/users/${id}/roles`,
|
|
51
|
+
body: input,
|
|
52
|
+
}, { apiName: this.apiName });
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
IdentityUserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityUserService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
56
|
+
IdentityUserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityUserService, providedIn: 'root' });
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityUserService, decorators: [{
|
|
58
|
+
type: Injectable,
|
|
59
|
+
args: [{
|
|
60
|
+
providedIn: 'root',
|
|
61
|
+
}]
|
|
62
|
+
}], ctorParameters: function () { return [{ type: i1.RestService }]; } });
|
|
63
63
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHktdXNlci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvaWRlbnRpdHkvcHJveHkvc3JjL2xpYi9wcm94eS9pZGVudG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XJzLyR7aWR9YCxcbiAgICAgIGJvZHk6IGlucHV0LFxuICAgIH0sXG4gICAgeyBhcGlOYW1lOiB0aGlzLmFwaU5hbWUgfSk7XG5cbiAgdXBkYXRlUm9sZXMgPSAoaWQ6IHN0cmluZywgaW5wdXQ6IElkZW50aXR5VXNlclVwZGF0ZVJvbGVzRHRvKSA9PlxuICAgIHRoaXMucmVzdFNlcnZpY2UucmVxdWVzdDxhbnksIHZvaWQ+KHtcbiAgICAgIG1ldGhvZDogJ1BVVCcsXG4gICAgICB1cmw6IGAvYXBpL2lkZW50aXR5L3VzZXJzLyR7aWR9L3JvbGVzYCxcbiAgICAgIGJvZHk6IGlucHV0LFxuICAgIH0sXG4gICAgeyBhcGlOYW1lOiB0aGlzLmFwaU5hbWUgfSk7XG5cbiAgY29uc3RydWN0b3IocHJpdmF0ZSByZXN0U2VydmljZTogUmVzdFNlcnZpY2UpIHt9XG59XG4iXX0=
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './identity-role.service';
|
|
2
|
-
export * from './identity-user-lookup.service';
|
|
3
|
-
export * from './identity-user.service';
|
|
4
|
-
export * from './models';
|
|
1
|
+
export * from './identity-role.service';
|
|
2
|
+
export * from './identity-user-lookup.service';
|
|
3
|
+
export * from './identity-user.service';
|
|
4
|
+
export * from './models';
|
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9pZGVudGl0eS9wcm94eS9zcmMvbGliL3Byb3h5L2lkZW50aXR5L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyxnQ0FBZ0MsQ0FBQztBQUMvQyxjQUFjLHlCQUF5QixDQUFDO0FBQ3hDLGNBQWMsVUFBVS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4dGVuZHMgUGFnZWRBbmRTb3J0ZWRSZXN1bHRSZXF1ZXN0RHRvIHtcbiAgZmlsdGVyPzogc3RyaW5nO1xufVxuIl19
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './models';
|
|
1
|
+
export * from './models';
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9pZGVudGl0eS9wcm94eS9zcmMvbGliL3Byb3h5L3VzZXJzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsVUFBVSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9tb2RlbHMnO1xuIl19
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kZWxzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvaWRlbnRpdHkvcHJveHkvc3JjL2xpYi9wcm94eS91c2Vycy9tb2RlbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbIlxuZXhwb3J0IGludGVyZmFjZSBVc2VyRGF0YSB7XG4gIGlkPzogc3RyaW5nO1xuICB0ZW5hbnRJZD86IHN0cmluZztcbiAgdXNlck5hbWU/OiBzdHJpbmc7XG4gIG5hbWU/OiBzdHJpbmc7XG4gIHN1cm5hbWU/OiBzdHJpbmc7XG4gIGVtYWlsPzogc3RyaW5nO1xuICBlbWFpbENvbmZpcm1lZDogYm9vbGVhbjtcbiAgcGhvbmVOdW1iZXI/OiBzdHJpbmc7XG4gIHBob25lTnVtYmVyQ29uZmlybWVkOiBib29sZWFuO1xufVxuIl19
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './lib/index';
|
|
1
|
+
export * from './lib/index';
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2lkZW50aXR5L3Byb3h5L3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsYUFBYSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvaW5kZXgnO1xuIl19
|
package/esm2015/public-api.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './lib/components';
|
|
2
|
-
export * from './lib/enums';
|
|
3
|
-
export * from './lib/guards';
|
|
4
|
-
export * from './lib/identity.module';
|
|
5
|
-
export * from './lib/models';
|
|
6
|
-
export * from './lib/tokens';
|
|
1
|
+
export * from './lib/components';
|
|
2
|
+
export * from './lib/enums';
|
|
3
|
+
export * from './lib/guards';
|
|
4
|
+
export * from './lib/identity.module';
|
|
5
|
+
export * from './lib/models';
|
|
6
|
+
export * from './lib/tokens';
|
|
7
7
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL2lkZW50aXR5L3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxhQUFhLENBQUM7QUFDNUIsY0FBYyxjQUFjLENBQUM7QUFDN0IsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvZW51bXMnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvZ3VhcmRzJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2lkZW50aXR5Lm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9tb2RlbHMnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvdG9rZW5zJztcbiJdfQ==
|
|
@@ -2,56 +2,56 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
|
3
3
|
import { RoutesService } from '@abp/ng.core';
|
|
4
4
|
|
|
5
|
-
const IDENTITY_ROUTE_PROVIDERS = [
|
|
6
|
-
{ provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true },
|
|
7
|
-
];
|
|
8
|
-
function configureRoutes(routesService) {
|
|
9
|
-
return () => {
|
|
10
|
-
routesService.add([
|
|
11
|
-
{
|
|
12
|
-
path: undefined,
|
|
13
|
-
name: "AbpIdentity::Menu:IdentityManagement" /* IdentityManagement */,
|
|
14
|
-
parentName: "AbpUiNavigation::Menu:Administration" /* Administration */,
|
|
15
|
-
requiredPolicy: "AbpIdentity.Roles || AbpIdentity.Users" /* IdentityManagement */,
|
|
16
|
-
iconClass: 'fa fa-id-card-o',
|
|
17
|
-
layout: "application" /* application */,
|
|
18
|
-
order: 1,
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
path: '/identity/roles',
|
|
22
|
-
name: "AbpIdentity::Roles" /* Roles */,
|
|
23
|
-
parentName: "AbpIdentity::Menu:IdentityManagement" /* IdentityManagement */,
|
|
24
|
-
requiredPolicy: "AbpIdentity.Roles" /* Roles */,
|
|
25
|
-
order: 1,
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
path: '/identity/users',
|
|
29
|
-
name: "AbpIdentity::Users" /* Users */,
|
|
30
|
-
parentName: "AbpIdentity::Menu:IdentityManagement" /* IdentityManagement */,
|
|
31
|
-
requiredPolicy: "AbpIdentity.Users" /* Users */,
|
|
32
|
-
order: 2,
|
|
33
|
-
},
|
|
34
|
-
]);
|
|
35
|
-
};
|
|
5
|
+
const IDENTITY_ROUTE_PROVIDERS = [
|
|
6
|
+
{ provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true },
|
|
7
|
+
];
|
|
8
|
+
function configureRoutes(routesService) {
|
|
9
|
+
return () => {
|
|
10
|
+
routesService.add([
|
|
11
|
+
{
|
|
12
|
+
path: undefined,
|
|
13
|
+
name: "AbpIdentity::Menu:IdentityManagement" /* IdentityManagement */,
|
|
14
|
+
parentName: "AbpUiNavigation::Menu:Administration" /* Administration */,
|
|
15
|
+
requiredPolicy: "AbpIdentity.Roles || AbpIdentity.Users" /* IdentityManagement */,
|
|
16
|
+
iconClass: 'fa fa-id-card-o',
|
|
17
|
+
layout: "application" /* application */,
|
|
18
|
+
order: 1,
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
path: '/identity/roles',
|
|
22
|
+
name: "AbpIdentity::Roles" /* Roles */,
|
|
23
|
+
parentName: "AbpIdentity::Menu:IdentityManagement" /* IdentityManagement */,
|
|
24
|
+
requiredPolicy: "AbpIdentity.Roles" /* Roles */,
|
|
25
|
+
order: 1,
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
path: '/identity/users',
|
|
29
|
+
name: "AbpIdentity::Users" /* Users */,
|
|
30
|
+
parentName: "AbpIdentity::Menu:IdentityManagement" /* IdentityManagement */,
|
|
31
|
+
requiredPolicy: "AbpIdentity.Users" /* Users */,
|
|
32
|
+
order: 2,
|
|
33
|
+
},
|
|
34
|
+
]);
|
|
35
|
+
};
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
class IdentityConfigModule {
|
|
39
|
-
static forRoot() {
|
|
40
|
-
return {
|
|
41
|
-
ngModule: IdentityConfigModule,
|
|
42
|
-
providers: [IDENTITY_ROUTE_PROVIDERS],
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
IdentityConfigModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityConfigModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
47
|
-
IdentityConfigModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityConfigModule });
|
|
48
|
-
IdentityConfigModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityConfigModule });
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityConfigModule, decorators: [{
|
|
50
|
-
type: NgModule
|
|
38
|
+
class IdentityConfigModule {
|
|
39
|
+
static forRoot() {
|
|
40
|
+
return {
|
|
41
|
+
ngModule: IdentityConfigModule,
|
|
42
|
+
providers: [IDENTITY_ROUTE_PROVIDERS],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
IdentityConfigModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityConfigModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
47
|
+
IdentityConfigModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityConfigModule });
|
|
48
|
+
IdentityConfigModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityConfigModule });
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityConfigModule, decorators: [{
|
|
50
|
+
type: NgModule
|
|
51
51
|
}] });
|
|
52
52
|
|
|
53
|
-
/**
|
|
54
|
-
* Generated bundle index. Do not edit.
|
|
53
|
+
/**
|
|
54
|
+
* Generated bundle index. Do not edit.
|
|
55
55
|
*/
|
|
56
56
|
|
|
57
57
|
export { IDENTITY_ROUTE_PROVIDERS, IdentityConfigModule, configureRoutes };
|
|
@@ -2,142 +2,142 @@ import * as i1 from '@abp/ng.core';
|
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { Injectable } from '@angular/core';
|
|
4
4
|
|
|
5
|
-
class IdentityRoleService {
|
|
6
|
-
constructor(restService) {
|
|
7
|
-
this.restService = restService;
|
|
8
|
-
this.apiName = 'AbpIdentity';
|
|
9
|
-
this.create = (input) => this.restService.request({
|
|
10
|
-
method: 'POST',
|
|
11
|
-
url: '/api/identity/roles',
|
|
12
|
-
body: input,
|
|
13
|
-
}, { apiName: this.apiName });
|
|
14
|
-
this.delete = (id) => this.restService.request({
|
|
15
|
-
method: 'DELETE',
|
|
16
|
-
url: `/api/identity/roles/${id}`,
|
|
17
|
-
}, { apiName: this.apiName });
|
|
18
|
-
this.get = (id) => this.restService.request({
|
|
19
|
-
method: 'GET',
|
|
20
|
-
url: `/api/identity/roles/${id}`,
|
|
21
|
-
}, { apiName: this.apiName });
|
|
22
|
-
this.getAllList = () => this.restService.request({
|
|
23
|
-
method: 'GET',
|
|
24
|
-
url: '/api/identity/roles/all',
|
|
25
|
-
}, { apiName: this.apiName });
|
|
26
|
-
this.getList = (input) => this.restService.request({
|
|
27
|
-
method: 'GET',
|
|
28
|
-
url: '/api/identity/roles',
|
|
29
|
-
params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
30
|
-
}, { apiName: this.apiName });
|
|
31
|
-
this.update = (id, input) => this.restService.request({
|
|
32
|
-
method: 'PUT',
|
|
33
|
-
url: `/api/identity/roles/${id}`,
|
|
34
|
-
body: input,
|
|
35
|
-
}, { apiName: this.apiName });
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
IdentityRoleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityRoleService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
39
|
-
IdentityRoleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityRoleService, providedIn: 'root' });
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityRoleService, decorators: [{
|
|
41
|
-
type: Injectable,
|
|
42
|
-
args: [{
|
|
43
|
-
providedIn: 'root',
|
|
44
|
-
}]
|
|
5
|
+
class IdentityRoleService {
|
|
6
|
+
constructor(restService) {
|
|
7
|
+
this.restService = restService;
|
|
8
|
+
this.apiName = 'AbpIdentity';
|
|
9
|
+
this.create = (input) => this.restService.request({
|
|
10
|
+
method: 'POST',
|
|
11
|
+
url: '/api/identity/roles',
|
|
12
|
+
body: input,
|
|
13
|
+
}, { apiName: this.apiName });
|
|
14
|
+
this.delete = (id) => this.restService.request({
|
|
15
|
+
method: 'DELETE',
|
|
16
|
+
url: `/api/identity/roles/${id}`,
|
|
17
|
+
}, { apiName: this.apiName });
|
|
18
|
+
this.get = (id) => this.restService.request({
|
|
19
|
+
method: 'GET',
|
|
20
|
+
url: `/api/identity/roles/${id}`,
|
|
21
|
+
}, { apiName: this.apiName });
|
|
22
|
+
this.getAllList = () => this.restService.request({
|
|
23
|
+
method: 'GET',
|
|
24
|
+
url: '/api/identity/roles/all',
|
|
25
|
+
}, { apiName: this.apiName });
|
|
26
|
+
this.getList = (input) => this.restService.request({
|
|
27
|
+
method: 'GET',
|
|
28
|
+
url: '/api/identity/roles',
|
|
29
|
+
params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
30
|
+
}, { apiName: this.apiName });
|
|
31
|
+
this.update = (id, input) => this.restService.request({
|
|
32
|
+
method: 'PUT',
|
|
33
|
+
url: `/api/identity/roles/${id}`,
|
|
34
|
+
body: input,
|
|
35
|
+
}, { apiName: this.apiName });
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
IdentityRoleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityRoleService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
39
|
+
IdentityRoleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityRoleService, providedIn: 'root' });
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityRoleService, decorators: [{
|
|
41
|
+
type: Injectable,
|
|
42
|
+
args: [{
|
|
43
|
+
providedIn: 'root',
|
|
44
|
+
}]
|
|
45
45
|
}], ctorParameters: function () { return [{ type: i1.RestService }]; } });
|
|
46
46
|
|
|
47
|
-
class IdentityUserLookupService {
|
|
48
|
-
constructor(restService) {
|
|
49
|
-
this.restService = restService;
|
|
50
|
-
this.apiName = 'AbpIdentity';
|
|
51
|
-
this.findById = (id) => this.restService.request({
|
|
52
|
-
method: 'GET',
|
|
53
|
-
url: `/api/identity/users/lookup/${id}`,
|
|
54
|
-
}, { apiName: this.apiName });
|
|
55
|
-
this.findByUserName = (userName) => this.restService.request({
|
|
56
|
-
method: 'GET',
|
|
57
|
-
url: `/api/identity/users/lookup/by-username/${userName}`,
|
|
58
|
-
}, { apiName: this.apiName });
|
|
59
|
-
this.getCount = (input) => this.restService.request({
|
|
60
|
-
method: 'GET',
|
|
61
|
-
url: '/api/identity/users/lookup/count',
|
|
62
|
-
params: { filter: input.filter },
|
|
63
|
-
}, { apiName: this.apiName });
|
|
64
|
-
this.search = (input) => this.restService.request({
|
|
65
|
-
method: 'GET',
|
|
66
|
-
url: '/api/identity/users/lookup/search',
|
|
67
|
-
params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
68
|
-
}, { apiName: this.apiName });
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
IdentityUserLookupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityUserLookupService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
72
|
-
IdentityUserLookupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityUserLookupService, providedIn: 'root' });
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityUserLookupService, decorators: [{
|
|
74
|
-
type: Injectable,
|
|
75
|
-
args: [{
|
|
76
|
-
providedIn: 'root',
|
|
77
|
-
}]
|
|
47
|
+
class IdentityUserLookupService {
|
|
48
|
+
constructor(restService) {
|
|
49
|
+
this.restService = restService;
|
|
50
|
+
this.apiName = 'AbpIdentity';
|
|
51
|
+
this.findById = (id) => this.restService.request({
|
|
52
|
+
method: 'GET',
|
|
53
|
+
url: `/api/identity/users/lookup/${id}`,
|
|
54
|
+
}, { apiName: this.apiName });
|
|
55
|
+
this.findByUserName = (userName) => this.restService.request({
|
|
56
|
+
method: 'GET',
|
|
57
|
+
url: `/api/identity/users/lookup/by-username/${userName}`,
|
|
58
|
+
}, { apiName: this.apiName });
|
|
59
|
+
this.getCount = (input) => this.restService.request({
|
|
60
|
+
method: 'GET',
|
|
61
|
+
url: '/api/identity/users/lookup/count',
|
|
62
|
+
params: { filter: input.filter },
|
|
63
|
+
}, { apiName: this.apiName });
|
|
64
|
+
this.search = (input) => this.restService.request({
|
|
65
|
+
method: 'GET',
|
|
66
|
+
url: '/api/identity/users/lookup/search',
|
|
67
|
+
params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
68
|
+
}, { apiName: this.apiName });
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
IdentityUserLookupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityUserLookupService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
72
|
+
IdentityUserLookupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityUserLookupService, providedIn: 'root' });
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityUserLookupService, decorators: [{
|
|
74
|
+
type: Injectable,
|
|
75
|
+
args: [{
|
|
76
|
+
providedIn: 'root',
|
|
77
|
+
}]
|
|
78
78
|
}], ctorParameters: function () { return [{ type: i1.RestService }]; } });
|
|
79
79
|
|
|
80
|
-
class IdentityUserService {
|
|
81
|
-
constructor(restService) {
|
|
82
|
-
this.restService = restService;
|
|
83
|
-
this.apiName = 'AbpIdentity';
|
|
84
|
-
this.create = (input) => this.restService.request({
|
|
85
|
-
method: 'POST',
|
|
86
|
-
url: '/api/identity/users',
|
|
87
|
-
body: input,
|
|
88
|
-
}, { apiName: this.apiName });
|
|
89
|
-
this.delete = (id) => this.restService.request({
|
|
90
|
-
method: 'DELETE',
|
|
91
|
-
url: `/api/identity/users/${id}`,
|
|
92
|
-
}, { apiName: this.apiName });
|
|
93
|
-
this.findByEmail = (email) => this.restService.request({
|
|
94
|
-
method: 'GET',
|
|
95
|
-
url: `/api/identity/users/by-email/${email}`,
|
|
96
|
-
}, { apiName: this.apiName });
|
|
97
|
-
this.findByUsername = (userName) => this.restService.request({
|
|
98
|
-
method: 'GET',
|
|
99
|
-
url: `/api/identity/users/by-username/${userName}`,
|
|
100
|
-
}, { apiName: this.apiName });
|
|
101
|
-
this.get = (id) => this.restService.request({
|
|
102
|
-
method: 'GET',
|
|
103
|
-
url: `/api/identity/users/${id}`,
|
|
104
|
-
}, { apiName: this.apiName });
|
|
105
|
-
this.getAssignableRoles = () => this.restService.request({
|
|
106
|
-
method: 'GET',
|
|
107
|
-
url: '/api/identity/users/assignable-roles',
|
|
108
|
-
}, { apiName: this.apiName });
|
|
109
|
-
this.getList = (input) => this.restService.request({
|
|
110
|
-
method: 'GET',
|
|
111
|
-
url: '/api/identity/users',
|
|
112
|
-
params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
113
|
-
}, { apiName: this.apiName });
|
|
114
|
-
this.getRoles = (id) => this.restService.request({
|
|
115
|
-
method: 'GET',
|
|
116
|
-
url: `/api/identity/users/${id}/roles`,
|
|
117
|
-
}, { apiName: this.apiName });
|
|
118
|
-
this.update = (id, input) => this.restService.request({
|
|
119
|
-
method: 'PUT',
|
|
120
|
-
url: `/api/identity/users/${id}`,
|
|
121
|
-
body: input,
|
|
122
|
-
}, { apiName: this.apiName });
|
|
123
|
-
this.updateRoles = (id, input) => this.restService.request({
|
|
124
|
-
method: 'PUT',
|
|
125
|
-
url: `/api/identity/users/${id}/roles`,
|
|
126
|
-
body: input,
|
|
127
|
-
}, { apiName: this.apiName });
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
IdentityUserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityUserService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
131
|
-
IdentityUserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityUserService, providedIn: 'root' });
|
|
132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityUserService, decorators: [{
|
|
133
|
-
type: Injectable,
|
|
134
|
-
args: [{
|
|
135
|
-
providedIn: 'root',
|
|
136
|
-
}]
|
|
80
|
+
class IdentityUserService {
|
|
81
|
+
constructor(restService) {
|
|
82
|
+
this.restService = restService;
|
|
83
|
+
this.apiName = 'AbpIdentity';
|
|
84
|
+
this.create = (input) => this.restService.request({
|
|
85
|
+
method: 'POST',
|
|
86
|
+
url: '/api/identity/users',
|
|
87
|
+
body: input,
|
|
88
|
+
}, { apiName: this.apiName });
|
|
89
|
+
this.delete = (id) => this.restService.request({
|
|
90
|
+
method: 'DELETE',
|
|
91
|
+
url: `/api/identity/users/${id}`,
|
|
92
|
+
}, { apiName: this.apiName });
|
|
93
|
+
this.findByEmail = (email) => this.restService.request({
|
|
94
|
+
method: 'GET',
|
|
95
|
+
url: `/api/identity/users/by-email/${email}`,
|
|
96
|
+
}, { apiName: this.apiName });
|
|
97
|
+
this.findByUsername = (userName) => this.restService.request({
|
|
98
|
+
method: 'GET',
|
|
99
|
+
url: `/api/identity/users/by-username/${userName}`,
|
|
100
|
+
}, { apiName: this.apiName });
|
|
101
|
+
this.get = (id) => this.restService.request({
|
|
102
|
+
method: 'GET',
|
|
103
|
+
url: `/api/identity/users/${id}`,
|
|
104
|
+
}, { apiName: this.apiName });
|
|
105
|
+
this.getAssignableRoles = () => this.restService.request({
|
|
106
|
+
method: 'GET',
|
|
107
|
+
url: '/api/identity/users/assignable-roles',
|
|
108
|
+
}, { apiName: this.apiName });
|
|
109
|
+
this.getList = (input) => this.restService.request({
|
|
110
|
+
method: 'GET',
|
|
111
|
+
url: '/api/identity/users',
|
|
112
|
+
params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
113
|
+
}, { apiName: this.apiName });
|
|
114
|
+
this.getRoles = (id) => this.restService.request({
|
|
115
|
+
method: 'GET',
|
|
116
|
+
url: `/api/identity/users/${id}/roles`,
|
|
117
|
+
}, { apiName: this.apiName });
|
|
118
|
+
this.update = (id, input) => this.restService.request({
|
|
119
|
+
method: 'PUT',
|
|
120
|
+
url: `/api/identity/users/${id}`,
|
|
121
|
+
body: input,
|
|
122
|
+
}, { apiName: this.apiName });
|
|
123
|
+
this.updateRoles = (id, input) => this.restService.request({
|
|
124
|
+
method: 'PUT',
|
|
125
|
+
url: `/api/identity/users/${id}/roles`,
|
|
126
|
+
body: input,
|
|
127
|
+
}, { apiName: this.apiName });
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
IdentityUserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityUserService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
131
|
+
IdentityUserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityUserService, providedIn: 'root' });
|
|
132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IdentityUserService, decorators: [{
|
|
133
|
+
type: Injectable,
|
|
134
|
+
args: [{
|
|
135
|
+
providedIn: 'root',
|
|
136
|
+
}]
|
|
137
137
|
}], ctorParameters: function () { return [{ type: i1.RestService }]; } });
|
|
138
138
|
|
|
139
|
-
/**
|
|
140
|
-
* Generated bundle index. Do not edit.
|
|
139
|
+
/**
|
|
140
|
+
* Generated bundle index. Do not edit.
|
|
141
141
|
*/
|
|
142
142
|
|
|
143
143
|
export { IdentityRoleService, IdentityUserLookupService, IdentityUserService };
|