@volo/abp.ng.identity 6.0.1 → 7.0.0-rc.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/esm2020/config/components/identity-setting-tabs/identity-setting.component.mjs +3 -3
- package/esm2020/config/components/identity-settings.component.mjs +3 -3
- package/esm2020/lib/components/claims/claims.component.mjs +1 -1
- package/esm2020/lib/components/organization-units/abstract-organization-unit/abstract-organization-unit.component.mjs +2 -2
- package/esm2020/lib/components/organization-units/organization-members/organization-members-modal-body.component.mjs +9 -2
- package/esm2020/lib/components/organization-units/organization-members/organization-members.component.mjs +3 -3
- package/esm2020/lib/components/organization-units/organization-roles/organization-roles-modal-body.component.mjs +9 -2
- package/esm2020/lib/components/organization-units/organization-roles/organization-roles.component.mjs +3 -3
- package/esm2020/lib/components/roles/roles.component.mjs +1 -1
- package/esm2020/lib/components/security-logs/security-logs.component.mjs +1 -1
- package/esm2020/lib/components/users/users.component.mjs +14 -3
- package/esm2020/lib/defaults/default-roles-entity-actions.mjs +2 -2
- package/esm2020/lib/defaults/default-users-entity-actions.mjs +2 -2
- package/fesm2015/volo-abp.ng.identity-config.mjs +4 -4
- package/fesm2015/volo-abp.ng.identity-config.mjs.map +1 -1
- package/fesm2015/volo-abp.ng.identity.mjs +48 -24
- package/fesm2015/volo-abp.ng.identity.mjs.map +1 -1
- package/fesm2020/volo-abp.ng.identity-config.mjs +4 -4
- package/fesm2020/volo-abp.ng.identity-config.mjs.map +1 -1
- package/fesm2020/volo-abp.ng.identity.mjs +48 -24
- package/fesm2020/volo-abp.ng.identity.mjs.map +1 -1
- package/lib/components/organization-units/organization-members/organization-members-modal-body.component.d.ts +1 -0
- package/lib/components/organization-units/organization-roles/organization-roles-modal-body.component.d.ts +1 -0
- package/lib/components/users/users.component.d.ts +2 -0
- package/package.json +7 -7
|
@@ -22,6 +22,11 @@ export class OrganizationRolesModalBodyComponent {
|
|
|
22
22
|
this.allUnits = response;
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
+
onTableSelect(event) {
|
|
26
|
+
if (event.type == 'click' && event.value != '' && !this.isCheckboxDisabled(event.row.id)) {
|
|
27
|
+
this.checkedUnits[event.row.id] = !this.checkedUnits[event.row.id];
|
|
28
|
+
}
|
|
29
|
+
}
|
|
25
30
|
}
|
|
26
31
|
OrganizationRolesModalBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OrganizationRolesModalBodyComponent, deps: [{ token: i1.ListService }, { token: i2.IdentityRoleService }], target: i0.ɵɵFactoryTarget.Component });
|
|
27
32
|
OrganizationRolesModalBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: OrganizationRolesModalBodyComponent, selector: "abp-organization-roles-modal-body", inputs: { checkedUnits: "checkedUnits", isCheckboxDisabled: "isCheckboxDisabled" }, providers: [ListService], ngImport: i0, template: `
|
|
@@ -33,6 +38,7 @@ OrganizationRolesModalBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersi
|
|
|
33
38
|
[actionsColumnWidth]="38"
|
|
34
39
|
[actionsTemplate]="customAction"
|
|
35
40
|
[list]="list"
|
|
41
|
+
(tableActivate)="onTableSelect($event)"
|
|
36
42
|
></abp-extensible-table>
|
|
37
43
|
</div>
|
|
38
44
|
|
|
@@ -43,7 +49,7 @@ OrganizationRolesModalBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersi
|
|
|
43
49
|
[disabled]="isCheckboxDisabled(row.id)"
|
|
44
50
|
/>
|
|
45
51
|
</ng-template>
|
|
46
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i3.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }] });
|
|
52
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i3.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }] });
|
|
47
53
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OrganizationRolesModalBodyComponent, decorators: [{
|
|
48
54
|
type: Component,
|
|
49
55
|
args: [{
|
|
@@ -57,6 +63,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
57
63
|
[actionsColumnWidth]="38"
|
|
58
64
|
[actionsTemplate]="customAction"
|
|
59
65
|
[list]="list"
|
|
66
|
+
(tableActivate)="onTableSelect($event)"
|
|
60
67
|
></abp-extensible-table>
|
|
61
68
|
</div>
|
|
62
69
|
|
|
@@ -75,4 +82,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
75
82
|
}], isCheckboxDisabled: [{
|
|
76
83
|
type: Input
|
|
77
84
|
}] } });
|
|
78
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
85
|
+
//#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zLmNoZWNrZWRVbml0c1tldmVudC5yb3cuaWRdID0gIXRoaXMuY2hlY2tlZFVuaXRzW2V2ZW50LnJvdy5pZF07XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -26,7 +26,7 @@ OrganizationRolesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
26
26
|
deletionLocalizationKey: 'AbpIdentity::RemoveRoleFromOuWarningMessage',
|
|
27
27
|
},
|
|
28
28
|
},
|
|
29
|
-
], usesInheritance: true, ngImport: i0, template: "<div class=\"text-end\">\r\n <button class=\"btn btn-sm btn-primary mb-2\" (click)=\"openModal()\">\r\n <i class=\"fas fa-plus me-1\"></i> {{ 'AbpIdentity::AddRole' | abpLocalization }}\r\n </button>\r\n</div>\r\n\r\n<abp-extensible-table\r\n [data]=\"currentOrganizationUnits.items\"\r\n [recordsTotal]=\"currentOrganizationUnits.totalCount\"\r\n [list]=\"list\"\r\n></abp-extensible-table>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"isModalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpIdentity::SelectRoles' | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <abp-organization-roles-modal-body\r\n [checkedUnits]=\"checkedUnits\"\r\n [isCheckboxDisabled]=\"isCheckboxDisabled\"\r\n ></abp-organization-roles-modal-body>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"addUnits()\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "component", type: i1.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i2.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i2.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i2.ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: i3.OrganizationRolesModalBodyComponent, selector: "abp-organization-roles-modal-body", inputs: ["checkedUnits", "isCheckboxDisabled"] }, { kind: "pipe", type: i4.LocalizationPipe, name: "abpLocalization" }] });
|
|
29
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\" py-2 text-end\">\r\n <button class=\"btn btn-sm btn-primary mb-2\" (click)=\"openModal()\">\r\n <i class=\"fas fa-plus me-1\"></i> {{ 'AbpIdentity::AddRole' | abpLocalization }}\r\n </button>\r\n</div>\r\n\r\n<abp-extensible-table\r\n [data]=\"currentOrganizationUnits.items\"\r\n [recordsTotal]=\"currentOrganizationUnits.totalCount\"\r\n [list]=\"list\"\r\n></abp-extensible-table>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"isModalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpIdentity::SelectRoles' | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <abp-organization-roles-modal-body\r\n [checkedUnits]=\"checkedUnits\"\r\n [isCheckboxDisabled]=\"isCheckboxDisabled\"\r\n ></abp-organization-roles-modal-body>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"addUnits()\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "component", type: i1.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i2.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i2.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i2.ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: i3.OrganizationRolesModalBodyComponent, selector: "abp-organization-roles-modal-body", inputs: ["checkedUnits", "isCheckboxDisabled"] }, { kind: "pipe", type: i4.LocalizationPipe, name: "abpLocalization" }] });
|
|
30
30
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OrganizationRolesComponent, decorators: [{
|
|
31
31
|
type: Component,
|
|
32
32
|
args: [{ selector: 'abp-organization-roles', providers: [
|
|
@@ -45,6 +45,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
45
45
|
deletionLocalizationKey: 'AbpIdentity::RemoveRoleFromOuWarningMessage',
|
|
46
46
|
},
|
|
47
47
|
},
|
|
48
|
-
], template: "<div class=\"text-end\">\r\n <button class=\"btn btn-sm btn-primary mb-2\" (click)=\"openModal()\">\r\n <i class=\"fas fa-plus me-1\"></i> {{ 'AbpIdentity::AddRole' | abpLocalization }}\r\n </button>\r\n</div>\r\n\r\n<abp-extensible-table\r\n [data]=\"currentOrganizationUnits.items\"\r\n [recordsTotal]=\"currentOrganizationUnits.totalCount\"\r\n [list]=\"list\"\r\n></abp-extensible-table>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"isModalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpIdentity::SelectRoles' | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <abp-organization-roles-modal-body\r\n [checkedUnits]=\"checkedUnits\"\r\n [isCheckboxDisabled]=\"isCheckboxDisabled\"\r\n ></abp-organization-roles-modal-body>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"addUnits()\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
48
|
+
], template: "<div class=\" py-2 text-end\">\r\n <button class=\"btn btn-sm btn-primary mb-2\" (click)=\"openModal()\">\r\n <i class=\"fas fa-plus me-1\"></i> {{ 'AbpIdentity::AddRole' | abpLocalization }}\r\n </button>\r\n</div>\r\n\r\n<abp-extensible-table\r\n [data]=\"currentOrganizationUnits.items\"\r\n [recordsTotal]=\"currentOrganizationUnits.totalCount\"\r\n [list]=\"list\"\r\n></abp-extensible-table>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"isModalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpIdentity::SelectRoles' | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <abp-organization-roles-modal-body\r\n [checkedUnits]=\"checkedUnits\"\r\n [isCheckboxDisabled]=\"isCheckboxDisabled\"\r\n ></abp-organization-roles-modal-body>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"addUnits()\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
49
49
|
}] });
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
50
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JnYW5pemF0aW9uLXJvbGVzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2lkZW50aXR5L3NyYy9saWIvY29tcG9uZW50cy9vcmdhbml6YXRpb24tdW5pdHMvb3JnYW5pemF0aW9uLXJvbGVzL29yZ2FuaXphdGlvbi1yb2xlcy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9pZGVudGl0eS9zcmMvbGliL2NvbXBvbmVudHMvb3JnYW5pemF0aW9uLXVuaXRzL29yZ2FuaXphdGlvbi1yb2xlcy9vcmdhbml6YXRpb24tcm9sZXMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUMzQyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUN4RSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRzFDLE9BQU8sRUFDTCxpQ0FBaUMsRUFFakMsd0JBQXdCLEdBQ3pCLE1BQU0sb0VBQW9FLENBQUM7Ozs7OztBQXVCNUUsTUFBTSxPQUFPLDBCQUEyQixTQUFRLGlDQUFrRDs7dUhBQXJGLDBCQUEwQjsyR0FBMUIsMEJBQTBCLGlEQWxCMUI7UUFDVCxXQUFXO1FBQ1g7WUFDRSxPQUFPLEVBQUUscUJBQXFCO1lBQzlCLFFBQVEsbUZBQXVD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biAgICA8YWJwLW9yZ2FuaXphdGlvbi1yb2xlcy1tb2RhbC1ib2R5XHJcbiAgICAgIFtjaGVja2VkVW5pdHNdPVwiY2hlY2tlZFVuaXRzXCJcclxuICAgICAgW2lzQ2hlY2tib3hEaXNhYmxlZF09XCJpc0NoZWNrYm94RGlzYWJsZWRcIlxyXG4gICAgPjwvYWJwLW9yZ2FuaXphdGlvbi1yb2xlcy1tb2RhbC1ib2R5PlxyXG4gIDwvbmctdGVtcGxhdGU+XHJcblxyXG4gIDxuZy10ZW1wbGF0ZSAjYWJwRm9vdGVyPlxyXG4gICAgPGJ1dHRvbiB0eXBlPVwiYnV0dG9uXCIgY2xhc3M9XCJidG4gYnRuLXNlY29uZGFyeVwiIGFicENsb3NlPlxyXG4gICAgICB7eyAnQWJwSWRlbnRpdHk6OkNhbmNlbCcgfCBhYnBMb2NhbGl6YXRpb24gfX1cclxuICAgIDwvYnV0dG9uPlxyXG4gICAgPGFicC1idXR0b24gaWNvbkNsYXNzPVwiZmEgZmEtY2hlY2tcIiAoY2xpY2spPVwiYWRkVW5pdHMoKVwiPnt7XHJcbiAgICAgICdBYnBJZGVudGl0eTo6U2F2ZScgfCBhYnBMb2NhbGl6YXRpb25cclxuICAgIH19PC9hYnAtYnV0dG9uPlxyXG4gIDwvbmctdGVtcGxhdGU+XHJcbjwvYWJwLW1vZGFsPlxyXG4iXX0=
|
|
@@ -108,7 +108,7 @@ RolesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version
|
|
|
108
108
|
provide: EXTENSIONS_IDENTIFIER,
|
|
109
109
|
useValue: "Identity.RolesComponent" /* eIdentityComponents.Roles */,
|
|
110
110
|
},
|
|
111
|
-
], viewQueries: [{ propertyName: "modalContent", first: true, predicate: ["modalContent"], descendants: true }], ngImport: i0, template: "<abp-page [title]=\"'AbpIdentity::Roles' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"identity-roles-wrapper\">\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"AbpIdentity\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewRole') | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" id=\"roleForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"roleForm\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<abp-permission-management\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n providerName: { value: 'R' },\r\n providerKey: { value: providerKey },\r\n hideBadges: { value: true },\r\n visible: { value: visiblePermissions, twoWay: true }\r\n },\r\n outputs: { visibleChange: onVisiblePermissionChange },\r\n componentKey: 'PermissionManagement.PermissionManagementComponent'\r\n }\"\r\n [(visible)]=\"visiblePermissions\"\r\n [providerKey]=\"providerKey\"\r\n providerName=\"R\"\r\n [hideBadges]=\"true\"\r\n>\r\n</abp-permission-management>\r\n\r\n<abp-claim-modal [(visible)]=\"visibleClaims\" [subject]=\"claimSubject\"></abp-claim-modal>\r\n", dependencies: [{ kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "directive", type: i1.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { kind: "component", type: i5.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "component", type: i5.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i6.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "component", type: i2.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i2.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i2.ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: i7.PermissionManagementComponent, selector: "abp-permission-management", inputs: ["providerName", "providerKey", "hideBadges", "entityDisplayName", "visible"], outputs: ["visibleChange"], exportAs: ["abpPermissionManagement"] }, { kind: "directive", type: i8.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "component", type: i9.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: i10.ClaimModalComponent, selector: "abp-claim-modal", inputs: ["subject", "visible"], outputs: ["visibleChange"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] });
|
|
111
|
+
], viewQueries: [{ propertyName: "modalContent", first: true, predicate: ["modalContent"], descendants: true }], ngImport: i0, template: "<abp-page [title]=\"'AbpIdentity::Roles' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"identity-roles-wrapper\">\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"AbpIdentity\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewRole') | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" id=\"roleForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"roleForm\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<abp-permission-management\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n providerName: { value: 'R' },\r\n providerKey: { value: providerKey },\r\n hideBadges: { value: true },\r\n visible: { value: visiblePermissions, twoWay: true }\r\n },\r\n outputs: { visibleChange: onVisiblePermissionChange },\r\n componentKey: 'PermissionManagement.PermissionManagementComponent'\r\n }\"\r\n [(visible)]=\"visiblePermissions\"\r\n [providerKey]=\"providerKey\"\r\n providerName=\"R\"\r\n [hideBadges]=\"true\"\r\n>\r\n</abp-permission-management>\r\n\r\n<abp-claim-modal [(visible)]=\"visibleClaims\" [subject]=\"claimSubject\"></abp-claim-modal>\r\n", dependencies: [{ kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "directive", type: i1.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { kind: "component", type: i5.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "component", type: i5.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i6.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "component", type: i2.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i2.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i2.ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: i7.PermissionManagementComponent, selector: "abp-permission-management", inputs: ["providerName", "providerKey", "hideBadges", "entityDisplayName", "visible"], outputs: ["visibleChange"], exportAs: ["abpPermissionManagement"] }, { kind: "directive", type: i8.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "component", type: i9.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: i10.ClaimModalComponent, selector: "abp-claim-modal", inputs: ["subject", "visible"], outputs: ["visibleChange"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] });
|
|
112
112
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RolesComponent, decorators: [{
|
|
113
113
|
type: Component,
|
|
114
114
|
args: [{ selector: 'abp-roles', providers: [
|
|
@@ -38,7 +38,7 @@ SecurityLogsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
38
38
|
useValue: "Identity.SecurityLogs" /* eIdentityComponents.SecurityLogs */,
|
|
39
39
|
},
|
|
40
40
|
{ provide: NgbDateAdapter, useClass: DateAdapter },
|
|
41
|
-
], ngImport: i0, template: "<div id=\"wrapper\">\r\n <abp-page [title]=\"'AbpIdentity::SecurityLogs' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div class=\"card\">\r\n <div class=\"card-body pb-lg-3\">\r\n <div class=\"row\" (keyup.enter)=\"list.get()\">\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:StartTime' | abpLocalization }}</label>\r\n <input\r\n #startDate=\"ngbDatepicker\"\r\n class=\"form-control\"\r\n name=\"start-date\"\r\n [maxDate]=\"ngbDateParserFormatter.parse(filter.endTime)\"\r\n readonly\r\n [(ngModel)]=\"filter.startTime\"\r\n [dayTemplate]=\"startDateTemplate\"\r\n ngbDatepicker\r\n (click)=\"startDate.toggle()\"\r\n />\r\n <ng-template\r\n #startDateTemplate\r\n let-date\r\n let-focused=\"focused\"\r\n let-selected=\"selected\"\r\n let-currentMonth=\"currentMonth\"\r\n >\r\n <div\r\n class=\"btn-light custom-day\"\r\n [class.bg-primary]=\"selected\"\r\n [class.text-white]=\"selected\"\r\n [class.text-muted]=\"currentMonth !== date.month\"\r\n [class.ng-range]=\"date.after(filter.startTime) && date.before(filter.endTime)\"\r\n [class.ng-range-end]=\"date.equals(filter.endTime)\"\r\n >\r\n {{ date.day }}\r\n </div>\r\n </ng-template>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:EndTime' | abpLocalization }}</label>\r\n <input\r\n #endDate=\"ngbDatepicker\"\r\n class=\"form-control\"\r\n name=\"end-date\"\r\n [minDate]=\"ngbDateParserFormatter.parse(filter.startTime)\"\r\n readonly\r\n [(ngModel)]=\"filter.endTime\"\r\n [dayTemplate]=\"endDateTemplate\"\r\n ngbDatepicker\r\n (click)=\"endDate.toggle()\"\r\n />\r\n <ng-template\r\n #endDateTemplate\r\n let-date\r\n let-focused=\"focused\"\r\n let-selected=\"selected\"\r\n let-currentMonth=\"currentMonth\"\r\n >\r\n <div\r\n class=\"btn-light custom-day\"\r\n [class.bg-primary]=\"selected\"\r\n [class.text-white]=\"selected\"\r\n [class.text-muted]=\"currentMonth !== date.month\"\r\n [class.ng-range]=\"date.after(filter.startTime) && date.before(filter.endTime)\"\r\n [class.ng-range-end]=\"date.equals(filter.startTime)\"\r\n >\r\n {{ date.day }}\r\n </div>\r\n </ng-template>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:Application' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.applicationName\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:Identity' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.identity\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:UserName' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.userName\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:Action' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.action\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:Client' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.clientId\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:CorrelationId' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.correlationId\" />\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-6 col-lg-3 d-grid\">\r\n <button (click)=\"list.get()\" class=\"mt-md-2 mb-md-2 btn btn-primary\">\r\n <i class=\"fas fa-search\"></i> \r\n <span>{{ 'SecurityLogs::Refresh' | abpLocalization }}</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card\">\r\n <div class=\"card-body p-0\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n </abp-page>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }, { kind: "directive", type: i3.NgbInputDatepicker, selector: "input[ngbDatepicker]", inputs: ["autoClose", "datepickerClass", "dayTemplate", "dayTemplateData", "displayMonths", "firstDayOfWeek", "footerTemplate", "markDisabled", "minDate", "maxDate", "navigation", "outsideDays", "placement", "restoreFocus", "showWeekNumbers", "startDate", "container", "positionTarget", "weekdays", "disabled"], outputs: ["dateSelect", "navigate", "closed"], exportAs: ["ngbDatepicker"] }, { kind: "component", type: i6.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] });
|
|
41
|
+
], ngImport: i0, template: "<div id=\"wrapper\">\r\n <abp-page [title]=\"'AbpIdentity::SecurityLogs' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div class=\"card\">\r\n <div class=\"card-body pb-lg-3\">\r\n <div class=\"row\" (keyup.enter)=\"list.get()\">\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:StartTime' | abpLocalization }}</label>\r\n <input\r\n #startDate=\"ngbDatepicker\"\r\n class=\"form-control\"\r\n name=\"start-date\"\r\n [maxDate]=\"ngbDateParserFormatter.parse(filter.endTime)\"\r\n readonly\r\n [(ngModel)]=\"filter.startTime\"\r\n [dayTemplate]=\"startDateTemplate\"\r\n ngbDatepicker\r\n (click)=\"startDate.toggle()\"\r\n />\r\n <ng-template\r\n #startDateTemplate\r\n let-date\r\n let-focused=\"focused\"\r\n let-selected=\"selected\"\r\n let-currentMonth=\"currentMonth\"\r\n >\r\n <div\r\n class=\"btn-light custom-day\"\r\n [class.bg-primary]=\"selected\"\r\n [class.text-white]=\"selected\"\r\n [class.text-muted]=\"currentMonth !== date.month\"\r\n [class.ng-range]=\"date.after(filter.startTime) && date.before(filter.endTime)\"\r\n [class.ng-range-end]=\"date.equals(filter.endTime)\"\r\n >\r\n {{ date.day }}\r\n </div>\r\n </ng-template>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:EndTime' | abpLocalization }}</label>\r\n <input\r\n #endDate=\"ngbDatepicker\"\r\n class=\"form-control\"\r\n name=\"end-date\"\r\n [minDate]=\"ngbDateParserFormatter.parse(filter.startTime)\"\r\n readonly\r\n [(ngModel)]=\"filter.endTime\"\r\n [dayTemplate]=\"endDateTemplate\"\r\n ngbDatepicker\r\n (click)=\"endDate.toggle()\"\r\n />\r\n <ng-template\r\n #endDateTemplate\r\n let-date\r\n let-focused=\"focused\"\r\n let-selected=\"selected\"\r\n let-currentMonth=\"currentMonth\"\r\n >\r\n <div\r\n class=\"btn-light custom-day\"\r\n [class.bg-primary]=\"selected\"\r\n [class.text-white]=\"selected\"\r\n [class.text-muted]=\"currentMonth !== date.month\"\r\n [class.ng-range]=\"date.after(filter.startTime) && date.before(filter.endTime)\"\r\n [class.ng-range-end]=\"date.equals(filter.startTime)\"\r\n >\r\n {{ date.day }}\r\n </div>\r\n </ng-template>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:Application' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.applicationName\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:Identity' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.identity\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:UserName' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.userName\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:Action' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.action\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:Client' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.clientId\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:CorrelationId' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.correlationId\" />\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-6 col-lg-3 d-grid\">\r\n <button (click)=\"list.get()\" class=\"mt-md-2 mb-md-2 btn btn-primary\">\r\n <i class=\"fas fa-search\"></i> \r\n <span>{{ 'SecurityLogs::Refresh' | abpLocalization }}</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card\">\r\n <div class=\"card-body p-0\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n </abp-page>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "directive", type: i3.NgbInputDatepicker, selector: "input[ngbDatepicker]", inputs: ["autoClose", "datepickerClass", "dayTemplate", "dayTemplateData", "displayMonths", "firstDayOfWeek", "footerTemplate", "markDisabled", "minDate", "maxDate", "navigation", "outsideDays", "placement", "restoreFocus", "showWeekNumbers", "startDate", "container", "positionTarget", "weekdays", "disabled"], outputs: ["dateSelect", "navigate", "closed"], exportAs: ["ngbDatepicker"] }, { kind: "component", type: i6.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] });
|
|
42
42
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: SecurityLogsComponent, decorators: [{
|
|
43
43
|
type: Component,
|
|
44
44
|
args: [{ selector: 'abp-security-logs', providers: [
|