@abp/ng.permission-management 5.0.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/README.md +3 -3
- package/abp-ng.permission-management.d.ts +5 -5
- package/bundles/abp-ng.permission-management-proxy.umd.js +28 -28
- package/bundles/abp-ng.permission-management-proxy.umd.js.map +1 -1
- package/bundles/abp-ng.permission-management.umd.js +569 -569
- package/bundles/abp-ng.permission-management.umd.js.map +1 -1
- package/esm2015/abp-ng.permission-management.js +4 -4
- package/esm2015/lib/components/index.js +2 -2
- package/esm2015/lib/components/permission-management.component.js +231 -231
- package/esm2015/lib/enums/components.js +2 -2
- package/esm2015/lib/models/index.js +2 -2
- package/esm2015/lib/models/permission-management.js +2 -2
- package/esm2015/lib/permission-management.module.js +19 -19
- package/esm2015/proxy/abp-ng.permission-management-proxy.js +4 -4
- package/esm2015/proxy/lib/index.js +2 -2
- package/esm2015/proxy/lib/proxy/index.js +3 -3
- package/esm2015/proxy/lib/proxy/models.js +2 -2
- package/esm2015/proxy/lib/proxy/permissions.service.js +30 -30
- package/esm2015/proxy/public-api.js +2 -2
- package/esm2015/public-api.js +5 -5
- package/fesm2015/abp-ng.permission-management-proxy.js +26 -26
- package/fesm2015/abp-ng.permission-management-proxy.js.map +1 -1
- package/fesm2015/abp-ng.permission-management.js +232 -232
- package/fesm2015/abp-ng.permission-management.js.map +1 -1
- package/lib/components/index.d.ts +1 -1
- package/lib/components/permission-management.component.d.ts +49 -49
- package/lib/enums/components.d.ts +3 -3
- package/lib/models/index.d.ts +1 -1
- package/lib/models/permission-management.d.ts +16 -16
- package/lib/permission-management.module.d.ts +9 -9
- package/package.json +3 -3
- package/proxy/abp-ng.permission-management-proxy.d.ts +5 -5
- package/proxy/lib/index.d.ts +1 -1
- package/proxy/lib/proxy/index.d.ts +2 -2
- package/proxy/lib/proxy/models.d.ts +28 -28
- package/proxy/lib/proxy/permissions.service.d.ts +12 -12
- package/proxy/public-api.d.ts +1 -1
- package/public-api.d.ts +4 -4
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<h1> @abp/ng.permission-management </h1>
|
|
2
|
-
|
|
3
|
-
[docs.abp.io](https://docs.abp.io)
|
|
1
|
+
<h1> @abp/ng.permission-management </h1>
|
|
2
|
+
|
|
3
|
+
[docs.abp.io](https://docs.abp.io)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@abp/ng.permission-management" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@abp/ng.permission-management" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -25,36 +25,36 @@
|
|
|
25
25
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
26
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
27
27
|
|
|
28
|
-
var PermissionsService = /** @class */ (function () {
|
|
29
|
-
function PermissionsService(restService) {
|
|
30
|
-
var _this = this;
|
|
31
|
-
this.restService = restService;
|
|
32
|
-
this.apiName = 'AbpPermissionManagement';
|
|
33
|
-
this.get = function (providerName, providerKey) { return _this.restService.request({
|
|
34
|
-
method: 'GET',
|
|
35
|
-
url: '/api/permission-management/permissions',
|
|
36
|
-
params: { providerName: providerName, providerKey: providerKey },
|
|
37
|
-
}, { apiName: _this.apiName }); };
|
|
38
|
-
this.update = function (providerName, providerKey, input) { return _this.restService.request({
|
|
39
|
-
method: 'PUT',
|
|
40
|
-
url: '/api/permission-management/permissions',
|
|
41
|
-
params: { providerName: providerName, providerKey: providerKey },
|
|
42
|
-
body: input,
|
|
43
|
-
}, { apiName: _this.apiName }); };
|
|
44
|
-
}
|
|
45
|
-
return PermissionsService;
|
|
46
|
-
}());
|
|
47
|
-
PermissionsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PermissionsService, deps: [{ token: i1__namespace.RestService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
48
|
-
PermissionsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PermissionsService, providedIn: 'root' });
|
|
49
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PermissionsService, decorators: [{
|
|
50
|
-
type: i0.Injectable,
|
|
51
|
-
args: [{
|
|
52
|
-
providedIn: 'root',
|
|
53
|
-
}]
|
|
28
|
+
var PermissionsService = /** @class */ (function () {
|
|
29
|
+
function PermissionsService(restService) {
|
|
30
|
+
var _this = this;
|
|
31
|
+
this.restService = restService;
|
|
32
|
+
this.apiName = 'AbpPermissionManagement';
|
|
33
|
+
this.get = function (providerName, providerKey) { return _this.restService.request({
|
|
34
|
+
method: 'GET',
|
|
35
|
+
url: '/api/permission-management/permissions',
|
|
36
|
+
params: { providerName: providerName, providerKey: providerKey },
|
|
37
|
+
}, { apiName: _this.apiName }); };
|
|
38
|
+
this.update = function (providerName, providerKey, input) { return _this.restService.request({
|
|
39
|
+
method: 'PUT',
|
|
40
|
+
url: '/api/permission-management/permissions',
|
|
41
|
+
params: { providerName: providerName, providerKey: providerKey },
|
|
42
|
+
body: input,
|
|
43
|
+
}, { apiName: _this.apiName }); };
|
|
44
|
+
}
|
|
45
|
+
return PermissionsService;
|
|
46
|
+
}());
|
|
47
|
+
PermissionsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PermissionsService, deps: [{ token: i1__namespace.RestService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
48
|
+
PermissionsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PermissionsService, providedIn: 'root' });
|
|
49
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PermissionsService, decorators: [{
|
|
50
|
+
type: i0.Injectable,
|
|
51
|
+
args: [{
|
|
52
|
+
providedIn: 'root',
|
|
53
|
+
}]
|
|
54
54
|
}], ctorParameters: function () { return [{ type: i1__namespace.RestService }]; } });
|
|
55
55
|
|
|
56
|
-
/**
|
|
57
|
-
* Generated bundle index. Do not edit.
|
|
56
|
+
/**
|
|
57
|
+
* Generated bundle index. Do not edit.
|
|
58
58
|
*/
|
|
59
59
|
|
|
60
60
|
exports.PermissionsService = PermissionsService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abp-ng.permission-management-proxy.umd.js","sources":["../../../../packages/permission-management/proxy/src/lib/proxy/permissions.service.ts","../../../../packages/permission-management/proxy/src/abp-ng.permission-management-proxy.ts"],"sourcesContent":["import type { GetPermissionListResultDto, UpdatePermissionsDto } from './models';\
|
|
1
|
+
{"version":3,"file":"abp-ng.permission-management-proxy.umd.js","sources":["../../../../packages/permission-management/proxy/src/lib/proxy/permissions.service.ts","../../../../packages/permission-management/proxy/src/abp-ng.permission-management-proxy.ts"],"sourcesContent":["import type { GetPermissionListResultDto, UpdatePermissionsDto } from './models';\nimport { RestService } from '@abp/ng.core';\nimport { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class PermissionsService {\n apiName = 'AbpPermissionManagement';\n\n get = (providerName: string, providerKey: string) =>\n this.restService.request<any, GetPermissionListResultDto>({\n method: 'GET',\n url: '/api/permission-management/permissions',\n params: { providerName, providerKey },\n },\n { apiName: this.apiName });\n\n update = (providerName: string, providerKey: string, input: UpdatePermissionsDto) =>\n this.restService.request<any, void>({\n method: 'PUT',\n url: '/api/permission-management/permissions',\n params: { providerName, providerKey },\n body: input,\n },\n { apiName: this.apiName });\n\n constructor(private restService: RestService) {}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["Injectable"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;QA2BE,4BAAoB,WAAwB;YAA5C,iBAAgD;YAA5B,gBAAW,GAAX,WAAW,CAAa;YAnB5C,YAAO,GAAG,yBAAyB,CAAC;YAEpC,QAAG,GAAG,UAAC,YAAoB,EAAE,WAAmB,IAC9C,OAAA,KAAI,CAAC,WAAW,CAAC,OAAO,CAAkC;gBACxD,MAAM,EAAE,KAAK;gBACb,GAAG,EAAE,wCAAwC;gBAC7C,MAAM,EAAE,EAAE,YAAY,cAAA,EAAE,WAAW,aAAA,EAAE;aACtC,EACD,EAAE,OAAO,EAAE,KAAI,CAAC,OAAO,EAAE,CAAC,GAAA,CAAC;YAE7B,WAAM,GAAG,UAAC,YAAoB,EAAE,WAAmB,EAAE,KAA2B,IAC9E,OAAA,KAAI,CAAC,WAAW,CAAC,OAAO,CAAY;gBAClC,MAAM,EAAE,KAAK;gBACb,GAAG,EAAE,wCAAwC;gBAC7C,MAAM,EAAE,EAAE,YAAY,cAAA,EAAE,WAAW,aAAA,EAAE;gBACrC,IAAI,EAAE,KAAK;aACZ,EACD,EAAE,OAAO,EAAE,KAAI,CAAC,OAAO,EAAE,CAAC,GAAA,CAAC;SAEmB;;;0IApBrC,kBAAkB;8IAAlB,kBAAkB,cAFjB,MAAM;sHAEP,kBAAkB;sBAH9BA,aAAU;uBAAC;wBACV,UAAU,EAAE,MAAM;qBACnB;;;ICND;;;;;;;;;;;;"}
|