@rxap/authorization
Version:
Provides an Angular module and directives to manage authorization and permissions in your application. It allows you to control the visibility and enabled state of UI elements based on user permissions. The package includes an `AuthorizationService` to ch
2,016 lines • 165 kB
JSON
{
"id": 0,
"name": "@rxap/authorization",
"variant": "project",
"kind": 1,
"flags": {},
"children": [
{
"id": 1,
"name": "AuthorizationService",
"variant": "declaration",
"kind": 128,
"flags": {},
"children": [
{
"id": 2,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"signatures": [
{
"id": 3,
"name": "AuthorizationService",
"variant": "signature",
"kind": 16384,
"flags": {},
"type": {
"type": "reference",
"target": 1,
"name": "AuthorizationService",
"package": "@rxap/authorization"
}
}
]
},
{
"id": 5,
"name": "disabled",
"variant": "declaration",
"kind": 1024,
"flags": {
"isPublic": true,
"isReadonly": true
},
"sources": [
{
"fileName": "authorization.service.ts",
"line": 22,
"character": 18,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/authorization.service.ts#L22"
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"defaultValue": "..."
},
{
"id": 4,
"name": "permissions$",
"variant": "declaration",
"kind": 1024,
"flags": {
"isProtected": true,
"isReadonly": true
},
"sources": [
{
"fileName": "authorization.service.ts",
"line": 20,
"character": 21,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/authorization.service.ts#L20"
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/rxjs/src/internal/BehaviorSubject.ts",
"qualifiedName": "BehaviorSubject"
},
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
],
"name": "BehaviorSubject",
"package": "rxjs"
},
"defaultValue": "..."
},
{
"id": 9,
"name": "checkPermission",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "authorization.service.ts",
"line": 28,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/authorization.service.ts#L28"
}
],
"signatures": [
{
"id": 10,
"name": "checkPermission",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "authorization.service.ts",
"line": 28,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/authorization.service.ts#L28"
}
],
"parameters": [
{
"id": 11,
"name": "identifier",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
]
}
},
{
"id": 12,
"name": "permissions",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
},
{
"id": 13,
"name": "scope",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
]
},
{
"id": 26,
"name": "getPermissions",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "authorization.service.ts",
"line": 130,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/authorization.service.ts#L130"
}
],
"signatures": [
{
"id": 27,
"name": "getPermissions",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "authorization.service.ts",
"line": 130,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/authorization.service.ts#L130"
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
}
]
},
{
"id": 24,
"name": "getPermissions$",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "authorization.service.ts",
"line": 126,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/authorization.service.ts#L126"
}
],
"signatures": [
{
"id": 25,
"name": "getPermissions$",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "authorization.service.ts",
"line": 126,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/authorization.service.ts#L126"
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/rxjs/src/internal/Observable.ts",
"qualifiedName": "Observable"
},
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
],
"name": "Observable",
"package": "rxjs"
}
}
]
},
{
"id": 19,
"name": "hasPermission",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "authorization.service.ts",
"line": 113,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/authorization.service.ts#L113"
}
],
"signatures": [
{
"id": 20,
"name": "hasPermission",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "authorization.service.ts",
"line": 113,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/authorization.service.ts#L113"
}
],
"parameters": [
{
"id": 21,
"name": "identifier",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
]
}
},
{
"id": 22,
"name": "scope",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 23,
"name": "ignorePermissionList",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
]
},
{
"id": 14,
"name": "hasPermission$",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "authorization.service.ts",
"line": 97,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/authorization.service.ts#L97"
}
],
"signatures": [
{
"id": 15,
"name": "hasPermission$",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "authorization.service.ts",
"line": 97,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/authorization.service.ts#L97"
}
],
"parameters": [
{
"id": 16,
"name": "identifier",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
]
}
},
{
"id": 17,
"name": "scope",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 18,
"name": "ignorePermissionList",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/rxjs/src/internal/Observable.ts",
"qualifiedName": "Observable"
},
"typeArguments": [
{
"type": "intrinsic",
"name": "boolean"
}
],
"name": "Observable",
"package": "rxjs"
}
}
]
},
{
"id": 6,
"name": "setPermissions",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "authorization.service.ts",
"line": 24,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/authorization.service.ts#L24"
}
],
"signatures": [
{
"id": 7,
"name": "setPermissions",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "authorization.service.ts",
"line": 24,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/authorization.service.ts#L24"
}
],
"parameters": [
{
"id": 8,
"name": "permissions",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
],
"groups": [
{
"title": "Constructors",
"children": [
2
]
},
{
"title": "Properties",
"children": [
5,
4
]
},
{
"title": "Methods",
"children": [
9,
26,
24,
19,
14,
6
]
}
],
"sources": [
{
"fileName": "authorization.service.ts",
"line": 18,
"character": 13,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/authorization.service.ts#L18"
}
]
},
{
"id": 28,
"name": "FormControlHasEnablePermissionDirective",
"variant": "declaration",
"kind": 128,
"flags": {},
"children": [
{
"id": 29,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "form-control-has-enable-permission.directive.ts",
"line": 27,
"character": 2,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/form-control-has-enable-permission.directive.ts#L27"
}
],
"signatures": [
{
"id": 30,
"name": "FormControlHasEnablePermissionDirective",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "form-control-has-enable-permission.directive.ts",
"line": 27,
"character": 2,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/form-control-has-enable-permission.directive.ts#L27"
}
],
"parameters": [
{
"id": 31,
"name": "authorization",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": 1,
"name": "AuthorizationService",
"package": "@rxap/authorization"
}
},
{
"id": 32,
"name": "cdr",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/@angular/core/index.d.ts",
"qualifiedName": "ChangeDetectorRef"
},
"name": "ChangeDetectorRef",
"package": "@angular/core"
}
},
{
"id": 33,
"name": "scope",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 34,
"name": "valueAccessor",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "array",
"elementType": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/@angular/forms/index.d.ts",
"qualifiedName": "ControlValueAccessor"
},
"name": "ControlValueAccessor",
"package": "@angular/forms"
}
}
]
},
"defaultValue": "null"
},
{
"id": 35,
"name": "ngControl",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/@angular/forms/index.d.ts",
"qualifiedName": "NgControl"
},
"name": "NgControl",
"package": "@angular/forms"
}
}
],
"type": {
"type": "reference",
"target": 28,
"name": "FormControlHasEnablePermissionDirective",
"package": "@rxap/authorization"
},
"overwrites": {
"type": "reference",
"target": 48,
"name": "HasEnablePermission.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 47,
"name": "HasEnablePermission.constructor"
}
},
{
"id": 41,
"name": "cdr",
"variant": "declaration",
"kind": 1024,
"flags": {
"isProtected": true,
"isReadonly": true,
"isInherited": true
},
"sources": [
{
"fileName": "has-enable-permission.ts",
"line": 28,
"character": 23,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-enable-permission.ts#L28"
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/@angular/core/index.d.ts",
"qualifiedName": "ChangeDetectorRef"
},
"name": "ChangeDetectorRef",
"package": "@angular/core"
},
"inheritedFrom": {
"type": "reference",
"target": 56,
"name": "HasEnablePermission.cdr"
}
},
{
"id": 36,
"name": "identifier",
"variant": "declaration",
"kind": 1024,
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "form-control-has-enable-permission.directive.ts",
"line": 25,
"character": 18,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/form-control-has-enable-permission.directive.ts#L25"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"overwrites": {
"type": "reference",
"target": 53,
"name": "HasEnablePermission.identifier"
}
},
{
"id": 44,
"name": "ngOnDestroy",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPublic": true,
"isInherited": true
},
"sources": [
{
"fileName": "has-enable-permission.ts",
"line": 60,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-enable-permission.ts#L60"
}
],
"signatures": [
{
"id": 45,
"name": "ngOnDestroy",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "A callback method that performs custom clean-up, invoked immediately\nbefore a directive, pipe, or service instance is destroyed."
}
]
},
"sources": [
{
"fileName": "has-enable-permission.ts",
"line": 60,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-enable-permission.ts#L60"
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"inheritedFrom": {
"type": "reference",
"target": 62,
"name": "HasEnablePermission.ngOnDestroy"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 61,
"name": "HasEnablePermission.ngOnDestroy"
}
},
{
"id": 42,
"name": "ngOnInit",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPublic": true,
"isInherited": true
},
"sources": [
{
"fileName": "has-enable-permission.ts",
"line": 39,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-enable-permission.ts#L39"
}
],
"signatures": [
{
"id": 43,
"name": "ngOnInit",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "A callback method that is invoked immediately after the\ndefault change detector has checked the directive's\ndata-bound properties for the first time,\nand before any of the view or content children have been checked.\nIt is invoked only once when the directive is instantiated."
}
]
},
"sources": [
{
"fileName": "has-enable-permission.ts",
"line": 39,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-enable-permission.ts#L39"
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"inheritedFrom": {
"type": "reference",
"target": 60,
"name": "HasEnablePermission.ngOnInit"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 59,
"name": "HasEnablePermission.ngOnInit"
}
},
{
"id": 38,
"name": "setDisabled",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "form-control-has-enable-permission.directive.ts",
"line": 44,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/form-control-has-enable-permission.directive.ts#L44"
}
],
"signatures": [
{
"id": 39,
"name": "setDisabled",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "form-control-has-enable-permission.directive.ts",
"line": 44,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/form-control-has-enable-permission.directive.ts#L44"
}
],
"parameters": [
{
"id": 40,
"name": "disabled",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"overwrites": {
"type": "reference",
"target": 64,
"name": "HasEnablePermission.setDisabled"
}
}
],
"overwrites": {
"type": "reference",
"target": 63,
"name": "HasEnablePermission.setDisabled"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [
29
]
},
{
"title": "Properties",
"children": [
41,
36
]
},
{
"title": "Methods",
"children": [
44,
42,
38
]
}
],
"sources": [
{
"fileName": "form-control-has-enable-permission.directive.ts",
"line": 21,
"character": 13,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/form-control-has-enable-permission.directive.ts#L21"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 46,
"name": "HasEnablePermission",
"package": "@rxap/authorization"
}
]
},
{
"id": 46,
"name": "HasEnablePermission",
"variant": "declaration",
"kind": 128,
"flags": {
"isAbstract": true
},
"children": [
{
"id": 47,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "has-enable-permission.ts",
"line": 24,
"character": 2,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-enable-permission.ts#L24"
}
],
"signatures": [
{
"id": 48,
"name": "HasEnablePermission",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "has-enable-permission.ts",
"line": 24,
"character": 2,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-enable-permission.ts#L24"
}
],
"parameters": [
{
"id": 49,
"name": "authorization",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": 1,
"name": "AuthorizationService",
"package": "@rxap/authorization"
}
},
{
"id": 50,
"name": "cdr",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/@angular/core/index.d.ts",
"qualifiedName": "ChangeDetectorRef"
},
"name": "ChangeDetectorRef",
"package": "@angular/core"
}
},
{
"id": 51,
"name": "scope",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"defaultValue": "null"
},
{
"id": 52,
"name": "valueAccessor",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "array",
"elementType": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/@angular/forms/index.d.ts",
"qualifiedName": "ControlValueAccessor"
},
"name": "ControlValueAccessor",
"package": "@angular/forms"
}
}
]
},
"defaultValue": "null"
}
],
"type": {
"type": "reference",
"target": 46,
"name": "HasEnablePermission",
"package": "@rxap/authorization"
}
}
]
},
{
"id": 56,
"name": "cdr",
"variant": "declaration",
"kind": 1024,
"flags": {
"isProtected": true,
"isReadonly": true
},
"sources": [
{
"fileName": "has-enable-permission.ts",
"line": 28,
"character": 23,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-enable-permission.ts#L28"
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/@angular/core/index.d.ts",
"qualifiedName": "ChangeDetectorRef"
},
"name": "ChangeDetectorRef",
"package": "@angular/core"
}
},
{
"id": 53,
"name": "identifier",
"variant": "declaration",
"kind": 1024,
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "has-enable-permission.ts",
"line": 20,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-enable-permission.ts#L20"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 61,
"name": "ngOnDestroy",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "has-enable-permission.ts",
"line": 60,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-enable-permission.ts#L60"
}
],
"signatures": [
{
"id": 62,
"name": "ngOnDestroy",
"variant": "signature",
"kind": 4096,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "A callback method that performs custom clean-up, invoked immediately\nbefore a directive, pipe, or service instance is destroyed."
}
]
},
"sources": [
{
"fileName": "has-enable-permission.ts",
"line": 60,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-enable-permission.ts#L60"
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"implementationOf": {
"type": "reference",
"target": -1,
"name": "OnDestroy.ngOnDestroy"
}
}
],
"implementationOf": {
"type": "reference",
"target": -1,
"name": "OnDestroy.ngOnDestroy"
}
},
{
"id": 59,
"name": "ngOnInit",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "has-enable-permission.ts",
"line": 39,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-enable-permission.ts#L39"
}
],
"signatures": [
{
"id": 60,
"name": "ngOnInit",
"variant": "signature",
"kind": 4096,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "A callback method that is invoked immediately after the\ndefault change detector has checked the directive's\ndata-bound properties for the first time,\nand before any of the view or content children have been checked.\nIt is invoked only once when the directive is instantiated."
}
]
},
"sources": [
{
"fileName": "has-enable-permission.ts",
"line": 39,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-enable-permission.ts#L39"
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"implementationOf": {
"type": "reference",
"target": -1,
"name": "OnInit.ngOnInit"
}
}
],
"implementationOf": {
"type": "reference",
"target": -1,
"name": "OnInit.ngOnInit"
}
},
{
"id": 63,
"name": "setDisabled",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPublic": true,
"isAbstract": true
},
"sources": [
{
"fileName": "has-enable-permission.ts",
"line": 64,
"character": 18,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-enable-permission.ts#L64"
}
],
"signatures": [
{
"id": 64,
"name": "setDisabled",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "has-enable-permission.ts",
"line": 64,
"character": 18,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-enable-permission.ts#L64"
}
],
"parameters": [
{
"id": 65,
"name": "disabled",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
],
"groups": [
{
"title": "Constructors",
"children": [
47
]
},
{
"title": "Properties",
"children": [
56,
53
]
},
{
"title": "Methods",
"children": [
61,
59,
63
]
}
],
"sources": [
{
"fileName": "has-enable-permission.ts",
"line": 19,
"character": 22,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-enable-permission.ts#L19"
}
],
"extendedBy": [
{
"type": "reference",
"target": 28,
"name": "FormControlHasEnablePermissionDirective"
},
{
"type": "reference",
"target": 105,
"name": "MatButtonHasEnablePermissionDirective"
},
{
"type": "reference",
"target": 123,
"name": "MatCheckboxHasEnablePermissionDirective"
},
{
"type": "reference",
"target": 141,
"name": "MatInputHasEnablePermissionDirective"
},
{
"type": "reference",
"target": 159,
"name": "MatSelectHasEnablePermissionDirective"
},
{
"type": "reference",
"target": 177,
"name": "MatSlideToggleHasEnablePermissionDirective"
}
],
"implementedTypes": [
{
"type": "reference",
"target": {
"sourceFileName": "node_modules/@angular/core/index.d.ts",
"qualifiedName": "OnInit"
},
"name": "OnInit",
"package": "@angular/core"
},
{
"type": "reference",
"target": {
"sourceFileName": "node_modules/@angular/core/index.d.ts",
"qualifiedName": "OnDestroy"
},
"name": "OnDestroy",
"package": "@angular/core"
}
]
},
{
"id": 66,
"name": "HasPermissionModule",
"variant": "declaration",
"kind": 128,
"flags": {},
"children": [
{
"id": 67,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"signatures": [
{
"id": 68,
"name": "HasPermissionModule",
"variant": "signature",
"kind": 16384,
"flags": {},
"type": {
"type": "reference",
"target": 66,
"name": "HasPermissionModule",
"package": "@rxap/authorization"
}
}
]
}
],
"groups": [
{
"title": "Constructors",
"children": [
67
]
}
],
"sources": [
{
"fileName": "has-permission.module.ts",
"line": 33,
"character": 13,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-permission.module.ts#L33"
}
]
},
{
"id": 69,
"name": "HasWritePermissionDirective",
"variant": "declaration",
"kind": 128,
"flags": {},
"children": [
{
"id": 70,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "has-write-permission.directive.ts",
"line": 30,
"character": 2,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-write-permission.directive.ts#L30"
}
],
"signatures": [
{
"id": 71,
"name": "HasWritePermissionDirective",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "has-write-permission.directive.ts",
"line": 30,
"character": 2,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-write-permission.directive.ts#L30"
}
],
"parameters": [
{
"id": 72,
"name": "authorization",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": 1,
"name": "AuthorizationService",
"package": "@rxap/authorization"
}
},
{
"id": 73,
"name": "cdr",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/@angular/core/index.d.ts",
"qualifiedName": "ChangeDetectorRef"
},
"name": "ChangeDetectorRef",
"package": "@angular/core"
}
},
{
"id": 74,
"name": "scope",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"defaultValue": "null"
}
],
"type": {
"type": "reference",
"target": 69,
"name": "HasWritePermissionDirective",
"package": "@rxap/authorization"
}
}
]
},
{
"id": 79,
"name": "cdr",
"variant": "declaration",
"kind": 1024,
"flags": {
"isProtected": true,
"isReadonly": true
},
"sources": [
{
"fileName": "has-write-permission.directive.ts",
"line": 34,
"character": 23,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-write-permission.directive.ts#L34"
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/@angular/core/index.d.ts",
"qualifiedName": "ChangeDetectorRef"
},
"name": "ChangeDetectorRef",
"package": "@angular/core"
}
},
{
"id": 75,
"name": "identifier",
"variant": "declaration",
"kind": 1024,
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "has-write-permission.directive.ts",
"line": 25,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-write-permission.directive.ts#L25"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 76,
"name": "readonly",
"variant": "declaration",
"kind": 1024,
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "has-write-permission.directive.ts",
"line": 27,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-write-permission.directive.ts#L27"
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"defaultValue": "false"
},
{
"id": 83,
"name": "ngOnDestroy",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "has-write-permission.directive.ts",
"line": 53,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-write-permission.directive.ts#L53"
}
],
"signatures": [
{
"id": 84,
"name": "ngOnDestroy",
"variant": "signature",
"kind": 4096,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "A callback method that performs custom clean-up, invoked immediately\nbefore a directive, pipe, or service instance is destroyed."
}
]
},
"sources": [
{
"fileName": "has-write-permission.directive.ts",
"line": 53,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-write-permission.directive.ts#L53"
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"implementationOf": {
"type": "reference",
"target": -1,
"name": "OnDestroy.ngOnDestroy"
}
}
],
"implementationOf": {
"type": "reference",
"target": -1,
"name": "OnDestroy.ngOnDestroy"
}
},
{
"id": 81,
"name": "ngOnInit",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "has-write-permission.directive.ts",
"line": 41,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-write-permission.directive.ts#L41"
}
],
"signatures": [
{
"id": 82,
"name": "ngOnInit",
"variant": "signature",
"kind": 4096,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "A callback method that is invoked immediately after the\ndefault change detector has checked the directive's\ndata-bound properties for the first time,\nand before any of the view or content children have been checked.\nIt is invoked only once when the directive is instantiated."
}
]
},
"sources": [
{
"fileName": "has-write-permission.directive.ts",
"line": 41,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-write-permission.directive.ts#L41"
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"implementationOf": {
"type": "reference",
"target": -1,
"name": "OnInit.ngOnInit"
}
}
],
"implementationOf": {
"type": "reference",
"target": -1,
"name": "OnInit.ngOnInit"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [
70
]
},
{
"title": "Properties",
"children": [
79,
75,
76
]
},
{
"title": "Methods",
"children": [
83,
81
]
}
],
"sources": [
{
"fileName": "has-write-permission.directive.ts",
"line": 20,
"character": 13,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/has-write-permission.directive.ts#L20"
}
],
"implementedTypes": [
{
"type": "reference",
"target": {
"sourceFileName": "node_modules/@angular/core/index.d.ts",
"qualifiedName": "OnInit"
},
"name": "OnInit",
"package": "@angular/core"
},
{
"type": "reference",
"target": {
"sourceFileName": "node_modules/@angular/core/index.d.ts",
"qualifiedName": "OnDestroy"
},
"name": "OnDestroy",
"package": "@angular/core"
}
]
},
{
"id": 85,
"name": "IfHasPermissionDirective",
"variant": "declaration",
"kind": 128,
"flags": {},
"children": [
{
"id": 86,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "if-has-permission.directive.ts",
"line": 34,
"character": 2,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/if-has-permission.directive.ts#L34"
}
],
"signatures": [
{
"id": 87,
"name": "IfHasPermissionDirective",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "if-has-permission.directive.ts",
"line": 34,
"character": 2,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/if-has-permission.directive.ts#L34"
}
],
"parameters": [
{
"id": 88,
"name": "authorization",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": 1,
"name": "AuthorizationService",
"package": "@rxap/authorization"
}
},
{
"id": 89,
"name": "template",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/@angular/core/index.d.ts",
"qualifiedName": "TemplateRef"
},
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
],
"name": "TemplateRef",
"package": "@angular/core"
}
},
{
"id": 90,
"name": "viewContainerRef",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/@angular/core/index.d.ts",
"qualifiedName": "ViewContainerRef"
},
"name": "ViewContainerRef",
"package": "@angular/core"
}
},
{
"id": 91,
"name": "cdr",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/@angular/core/index.d.ts",
"qualifiedName": "ChangeDetectorRef"
},
"name": "ChangeDetectorRef",
"package": "@angular/core"
}
},
{
"id": 92,
"name": "scope",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"defaultValue": "null"
}
],
"type": {
"type": "reference",
"target": 85,
"name": "IfHasPermissionDirective",
"package": "@rxap/authorization"
}
}
]
},
{
"id": 94,
"name": "else",
"variant": "declaration",
"kind": 1024,
"flags": {
"isPublic": true,
"isOptional": true
},
"sources": [
{
"fileName": "if-has-permission.directive.ts",
"line": 30,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/if-has-permission.directive.ts#L30"
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/@angular/core/index.d.ts",
"qualifiedName": "TemplateRef"
},
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
],
"name": "TemplateRef",
"package": "@angular/core"
}
},
{
"id": 93,
"name": "identifier",
"variant": "declaration",
"kind": 1024,
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "if-has-permission.directive.ts",
"line": 27,
"character": 9,
"url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/authorization/src/lib/if-has-permission.directive.ts#L27"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 103,
"name": "ngOnDestroy",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "if-has-permission.direct