You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
abp/npm/ng-packs/dist/permission-management/esm5/lib/services/permission-management-state...

52 lines
3.5 KiB

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { Injectable } from '@angular/core';
import { Store } from '@ngxs/store';
import { PermissionManagementState } from '../states/permission-management.state';
import * as i0 from "@angular/core";
import * as i1 from "@ngxs/store";
var PermissionManagementStateService = /** @class */ (function () {
function PermissionManagementStateService(store) {
this.store = store;
}
/**
* @return {?}
*/
PermissionManagementStateService.prototype.getPermissionGroups = /**
* @return {?}
*/
function () {
return this.store.selectSnapshot(PermissionManagementState.getPermissionGroups);
};
/**
* @return {?}
*/
PermissionManagementStateService.prototype.getEntityDisplayName = /**
* @return {?}
*/
function () {
return this.store.selectSnapshot(PermissionManagementState.getPermissionGroups);
};
PermissionManagementStateService.decorators = [
{ type: Injectable, args: [{
providedIn: 'root',
},] }
];
/** @nocollapse */
PermissionManagementStateService.ctorParameters = function () { return [
{ type: Store }
]; };
/** @nocollapse */ PermissionManagementStateService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function PermissionManagementStateService_Factory() { return new PermissionManagementStateService(i0.ɵɵinject(i1.Store)); }, token: PermissionManagementStateService, providedIn: "root" });
return PermissionManagementStateService;
}());
export { PermissionManagementStateService };
if (false) {
/**
* @type {?}
* @private
*/
PermissionManagementStateService.prototype.store;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi1tYW5hZ2VtZW50LXN0YXRlLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnBlcm1pc3Npb24tbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9zZXJ2aWNlcy9wZXJtaXNzaW9uLW1hbmFnZW1lbnQtc3RhdGUuc2VydmljZS50cyJd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