@volo/abp.ng.identity 8.1.3 → 8.2.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/config/components/identity-setting-tabs/identity-external-login-settings.component.d.ts +6 -6
- package/config/components/identity-setting-tabs/identity-ldap-settings.component.d.ts +3 -4
- package/config/components/identity-setting-tabs/identity-sessions-settings/identity-sessions-settings.component.d.ts +18 -0
- package/config/components/identity-setting-tabs/identity-setting.component.d.ts +8 -7
- package/config/components/identity-settings.component.d.ts +1 -3
- package/config/components/my-link-users-modal.component.d.ts +10 -10
- package/config/identity-config.module.d.ts +2 -1
- package/esm2022/config/components/authority-delegation/authority-delegation.component.mjs +3 -3
- package/esm2022/config/components/authority-delegation/authority-delegation.module.mjs +4 -4
- package/esm2022/config/components/authority-delegation/create-user-delegate.component.mjs +3 -3
- package/esm2022/config/components/authority-delegation/list-authority-delegation.component.mjs +3 -3
- package/esm2022/config/components/authority-delegation/my-delegated-users.component.mjs +3 -3
- package/esm2022/config/components/identity-setting-tabs/identity-external-login-settings.component.mjs +17 -19
- package/esm2022/config/components/identity-setting-tabs/identity-ldap-settings.component.mjs +15 -17
- package/esm2022/config/components/identity-setting-tabs/identity-sessions-settings/identity-sessions-settings.component.mjs +35 -0
- package/esm2022/config/components/identity-setting-tabs/identity-setting.component.mjs +21 -21
- package/esm2022/config/components/identity-settings.component.mjs +16 -15
- package/esm2022/config/components/my-link-users-modal.component.mjs +28 -28
- package/esm2022/config/handlers/link-login.handler.mjs +3 -3
- package/esm2022/config/identity-config.module.mjs +11 -7
- package/esm2022/config/providers/route.provider.mjs +2 -2
- package/esm2022/config/services/authority-delegation.service.mjs +3 -3
- package/esm2022/config/services/identity-config.service.mjs +3 -3
- package/esm2022/config/services/identity-link-login.service.mjs +3 -3
- package/esm2022/lib/components/claim-modal/claim-modal.component.mjs +15 -12
- package/esm2022/lib/components/claims/claims.component.mjs +26 -22
- package/esm2022/lib/components/export-excel/export-data-dropdown.component.mjs +3 -3
- package/esm2022/lib/components/export-excel/upload-excel-file.component.mjs +7 -8
- package/esm2022/lib/components/external-login/external-login.component.mjs +6 -7
- package/esm2022/lib/components/external-login/user-dropdown-menu/user-dropdown-menu.component.mjs +3 -3
- package/esm2022/lib/components/organization-units/abstract-organization-unit/abstract-organization-unit.component.mjs +11 -6
- package/esm2022/lib/components/organization-units/delete-organization-unit/delete-organization-unit.component.mjs +7 -6
- package/esm2022/lib/components/organization-units/move-all-users-of-unit/move-all-users-of-unit.component.mjs +12 -11
- package/esm2022/lib/components/organization-units/organization-members/organization-members-modal-body.component.mjs +3 -3
- package/esm2022/lib/components/organization-units/organization-members/organization-members.component.mjs +3 -3
- package/esm2022/lib/components/organization-units/organization-roles/organization-roles-modal-body.component.mjs +3 -3
- package/esm2022/lib/components/organization-units/organization-roles/organization-roles.component.mjs +3 -3
- package/esm2022/lib/components/organization-units/organization-units.component.mjs +22 -23
- package/esm2022/lib/components/organization-units/selected-organization-unit/selected-organization-unit.component.mjs +5 -5
- package/esm2022/lib/components/roles/delete-role/role-delete.component.mjs +8 -5
- package/esm2022/lib/components/roles/edit-new-modal/roles-modal.component.mjs +11 -8
- package/esm2022/lib/components/roles/move-all-users/move-all-users.component.mjs +12 -10
- package/esm2022/lib/components/roles/roles.component.mjs +21 -21
- package/esm2022/lib/components/security-logs/security-logs.component.mjs +17 -23
- package/esm2022/lib/components/users/set-password-modal/set-password-modal.component.mjs +3 -3
- package/esm2022/lib/components/users/user-lock-modal.component.mjs +7 -5
- package/esm2022/lib/components/users/user-lock.service.mjs +3 -3
- package/esm2022/lib/components/users/user-sessions-modal/session-detail-modal/user-session-detail.component.mjs +26 -0
- package/esm2022/lib/components/users/user-sessions-modal/user-sessions.component.mjs +69 -0
- package/esm2022/lib/components/users/user-view-details/user-view-details.component.mjs +5 -5
- package/esm2022/lib/components/users/users.component.mjs +38 -29
- package/esm2022/lib/defaults/users/default-users-entity-actions.mjs +10 -2
- package/esm2022/lib/guards/extensions.guard.mjs +3 -3
- package/esm2022/lib/identity-routing.module.mjs +4 -4
- package/esm2022/lib/identity.module.mjs +49 -36
- package/esm2022/lib/resolvers/extensions.resolver.mjs +1 -1
- package/esm2022/lib/services/delete-organization-unit-modal.service.mjs +3 -3
- package/esm2022/lib/services/excel.service.mjs +3 -3
- package/esm2022/lib/services/move-all-users-of-unit-modal.service.mjs +3 -3
- package/esm2022/lib/services/organization-units-state.service.mjs +3 -3
- package/esm2022/lib/services/user-view-detail.service.mjs +3 -3
- package/esm2022/proxy/lib/index.mjs +2 -1
- package/esm2022/proxy/lib/proxy/content/index.mjs +2 -0
- package/esm2022/proxy/lib/proxy/identity/identity-claim-type.service.mjs +3 -3
- package/esm2022/proxy/lib/proxy/identity/identity-external-login.service.mjs +3 -3
- package/esm2022/proxy/lib/proxy/identity/identity-role.service.mjs +3 -3
- package/esm2022/proxy/lib/proxy/identity/identity-security-log.service.mjs +4 -26
- package/esm2022/proxy/lib/proxy/identity/identity-session.service.mjs +40 -0
- package/esm2022/proxy/lib/proxy/identity/identity-settings.service.mjs +13 -4
- package/esm2022/proxy/lib/proxy/identity/identity-user-lookup.service.mjs +3 -3
- package/esm2022/proxy/lib/proxy/identity/identity-user.service.mjs +4 -4
- package/esm2022/proxy/lib/proxy/identity/index.mjs +4 -1
- package/esm2022/proxy/lib/proxy/identity/models.mjs +1 -1
- package/esm2022/proxy/lib/proxy/identity/organization-unit.service.mjs +3 -3
- package/esm2022/proxy/lib/proxy/identity/settings/identity-pro-prevent-concurrent-login-behaviour.enum.mjs +9 -0
- package/esm2022/proxy/lib/proxy/identity/settings/index.mjs +2 -0
- package/esm2022/proxy/lib/proxy/users/models.mjs +1 -1
- package/fesm2022/volo-abp.ng.identity-config.mjs +145 -112
- package/fesm2022/volo-abp.ng.identity-config.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.identity-proxy.mjs +73 -36
- package/fesm2022/volo-abp.ng.identity-proxy.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.identity.mjs +311 -185
- package/fesm2022/volo-abp.ng.identity.mjs.map +1 -1
- package/lib/components/claim-modal/claim-modal.component.d.ts +2 -1
- package/lib/components/claims/claims.component.d.ts +7 -7
- package/lib/components/organization-units/abstract-organization-unit/abstract-organization-unit.component.d.ts +2 -1
- package/lib/components/organization-units/delete-organization-unit/delete-organization-unit.component.d.ts +2 -0
- package/lib/components/organization-units/move-all-users-of-unit/move-all-users-of-unit.component.d.ts +2 -0
- package/lib/components/organization-units/organization-units.component.d.ts +1 -1
- package/lib/components/roles/delete-role/role-delete.component.d.ts +2 -0
- package/lib/components/roles/edit-new-modal/roles-modal.component.d.ts +2 -0
- package/lib/components/roles/move-all-users/move-all-users.component.d.ts +2 -0
- package/lib/components/roles/roles.component.d.ts +5 -5
- package/lib/components/security-logs/security-logs.component.d.ts +3 -7
- package/lib/components/users/user-lock-modal.component.d.ts +2 -0
- package/lib/components/users/user-sessions-modal/session-detail-modal/user-session-detail.component.d.ts +15 -0
- package/lib/components/users/user-sessions-modal/user-sessions.component.d.ts +26 -0
- package/lib/components/users/users.component.d.ts +7 -5
- package/lib/identity.module.d.ts +18 -17
- package/package.json +7 -7
- package/proxy/lib/index.d.ts +1 -0
- package/proxy/lib/proxy/content/index.d.ts +1 -0
- package/proxy/lib/proxy/identity/identity-security-log.service.d.ts +0 -2
- package/proxy/lib/proxy/identity/identity-session.service.d.ts +14 -0
- package/proxy/lib/proxy/identity/identity-settings.service.d.ts +3 -1
- package/proxy/lib/proxy/identity/index.d.ts +3 -0
- package/proxy/lib/proxy/identity/models.d.ts +29 -0
- package/proxy/lib/proxy/identity/settings/identity-pro-prevent-concurrent-login-behaviour.enum.d.ts +6 -0
- package/proxy/lib/proxy/identity/settings/index.d.ts +1 -0
package/config/components/identity-setting-tabs/identity-external-login-settings.component.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
1
2
|
import { IdentityOAuthSettingsDto, IdentitySettingsService } from '@volo/abp.ng.identity/proxy';
|
|
2
3
|
import { ToasterService } from '@abp/ng.theme.shared';
|
|
3
4
|
import { ConfigStateService } from '@abp/ng.core';
|
|
4
5
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class IdentityExternalLoginSettingsComponent {
|
|
7
|
-
private service;
|
|
8
|
-
private toaster;
|
|
9
|
-
private configState;
|
|
10
|
-
private fb;
|
|
7
|
+
export declare class IdentityExternalLoginSettingsComponent implements OnInit {
|
|
11
8
|
settings: IdentityOAuthSettingsDto;
|
|
12
9
|
loading: boolean;
|
|
13
10
|
form: UntypedFormGroup;
|
|
14
|
-
|
|
11
|
+
protected readonly service: IdentitySettingsService;
|
|
12
|
+
protected readonly toasterService: ToasterService;
|
|
13
|
+
protected readonly configState: ConfigStateService;
|
|
14
|
+
protected readonly fb: UntypedFormBuilder;
|
|
15
15
|
ngOnInit(): void;
|
|
16
16
|
submit(): void;
|
|
17
17
|
buildForm(): void;
|
|
@@ -4,12 +4,11 @@ import { ToasterService } from '@abp/ng.theme.shared';
|
|
|
4
4
|
import { ConfigStateService } from '@abp/ng.core';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class IdentityLdapSettingsComponent implements OnInit {
|
|
7
|
-
private service;
|
|
8
|
-
private toaster;
|
|
9
|
-
private configState;
|
|
10
7
|
settings: IdentityLdapSettingsDto;
|
|
11
8
|
loading: boolean;
|
|
12
|
-
|
|
9
|
+
protected readonly service: IdentitySettingsService;
|
|
10
|
+
protected readonly toasterService: ToasterService;
|
|
11
|
+
protected readonly configState: ConfigStateService;
|
|
13
12
|
ngOnInit(): void;
|
|
14
13
|
submit(settings: IdentityLdapSettingsDto): void;
|
|
15
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<IdentityLdapSettingsComponent, never>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FormBuilder } from '@angular/forms';
|
|
2
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
3
|
+
import { IdentitySettingsService, Settings } from '@volo/abp.ng.identity/proxy';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class IdentitySessionsSettingComponent {
|
|
6
|
+
protected readonly fb: FormBuilder;
|
|
7
|
+
protected readonly identitySettingService: IdentitySettingsService;
|
|
8
|
+
protected readonly toasterService: ToasterService;
|
|
9
|
+
sessionSettings: import("@abp/ng.core").ABP.Option<typeof Settings.IdentityProPreventConcurrentLoginBehaviour>[];
|
|
10
|
+
form: import("@angular/forms").FormGroup<{
|
|
11
|
+
preventConcurrentLogin: import("@angular/forms").FormControl<any>;
|
|
12
|
+
}>;
|
|
13
|
+
protected buildForm(): void;
|
|
14
|
+
constructor();
|
|
15
|
+
save(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdentitySessionsSettingComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IdentitySessionsSettingComponent, "abp-identity-session-setting", never, {}, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { ConfigStateService, SubscriptionService } from '@abp/ng.core';
|
|
2
2
|
import { ToasterService } from '@abp/ng.theme.shared';
|
|
3
|
+
import { OnInit } from '@angular/core';
|
|
3
4
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
4
5
|
import type * as IdentitySettings from '../../models/identity-settings';
|
|
5
6
|
import { IdentityConfigService } from '../../services/identity-config.service';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class IdentitySettingComponent {
|
|
8
|
-
private identityConfigService;
|
|
9
|
-
private toaster;
|
|
10
|
-
private fb;
|
|
11
|
-
private subscription;
|
|
12
|
-
private configState;
|
|
8
|
+
export declare class IdentitySettingComponent implements OnInit {
|
|
13
9
|
settings: IdentitySettings.Settings;
|
|
14
10
|
loading: boolean;
|
|
15
11
|
form: UntypedFormGroup;
|
|
16
12
|
doNotRequireConfirmedPhoneNumber: () => void;
|
|
17
13
|
enablePhoneNumberConfirmation: () => void;
|
|
18
|
-
|
|
14
|
+
protected readonly identityConfigService: IdentityConfigService;
|
|
15
|
+
protected readonly toaster: ToasterService;
|
|
16
|
+
protected readonly fb: UntypedFormBuilder;
|
|
17
|
+
protected readonly subscription: SubscriptionService;
|
|
18
|
+
protected readonly configState: ConfigStateService;
|
|
19
|
+
ngOnInit(): void;
|
|
19
20
|
buildForm(): void;
|
|
20
21
|
syncConfirmationOptions(): void;
|
|
21
22
|
submit(): void;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { ConfigStateService } from '@abp/ng.core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class IdentitySettingsComponent {
|
|
4
|
-
private configState;
|
|
5
3
|
externalLoginKey: string;
|
|
6
4
|
ldapLoginKey: string;
|
|
5
|
+
private readonly configState;
|
|
7
6
|
features$: import("rxjs").Observable<any[]>;
|
|
8
|
-
constructor(configState: ConfigStateService);
|
|
9
7
|
submit(): void;
|
|
10
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<IdentitySettingsComponent, never>;
|
|
11
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<IdentitySettingsComponent, "abp-identity-settings", never, {}, {}, never, never, false, never>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Injector, OnInit } from '@angular/core';
|
|
1
2
|
import { AuthService, ConfigStateService, EnvironmentService, ListService } from '@abp/ng.core';
|
|
2
3
|
import { ConfirmationService } from '@abp/ng.theme.shared';
|
|
3
|
-
import { Injector, OnInit } from '@angular/core';
|
|
4
4
|
import { IdentityLinkUserService, LinkUserDto } from '@volo/abp.ng.account/public/proxy';
|
|
5
5
|
import { LinkLoginHandler } from '../handlers/link-login.handler';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -9,14 +9,6 @@ export declare class MyLinkUsersModalComponent implements OnInit {
|
|
|
9
9
|
private _isModalOpen;
|
|
10
10
|
get isModalOpen(): boolean;
|
|
11
11
|
set isModalOpen(value: boolean);
|
|
12
|
-
data: LinkUserDto[];
|
|
13
|
-
filteredData: LinkUserDto[];
|
|
14
|
-
filterText: string;
|
|
15
|
-
resultCount: number;
|
|
16
|
-
get currentUser(): import("@abp/ng.core").CurrentUserDto;
|
|
17
|
-
get currentTenant(): import("@abp/ng.core").CurrentTenantDto;
|
|
18
|
-
get pageStartIndex(): number;
|
|
19
|
-
get pageEndIndex(): number;
|
|
20
12
|
readonly list: ListService;
|
|
21
13
|
protected linkUserService: IdentityLinkUserService;
|
|
22
14
|
protected confirmation: ConfirmationService;
|
|
@@ -25,11 +17,19 @@ export declare class MyLinkUsersModalComponent implements OnInit {
|
|
|
25
17
|
protected environment: EnvironmentService;
|
|
26
18
|
protected linkLoginHandler: LinkLoginHandler;
|
|
27
19
|
constructor(injector: Injector);
|
|
20
|
+
data: LinkUserDto[];
|
|
21
|
+
filteredData: LinkUserDto[];
|
|
22
|
+
filterText: string;
|
|
23
|
+
resultCount: number;
|
|
24
|
+
get currentUser(): import("@abp/ng.core").CurrentUserDto;
|
|
25
|
+
get currentTenant(): import("@abp/ng.core").CurrentTenantDto;
|
|
26
|
+
get pageStartIndex(): number;
|
|
27
|
+
get pageEndIndex(): number;
|
|
28
|
+
ngOnInit(): void;
|
|
28
29
|
private navigateToLogin;
|
|
29
30
|
filterByText(): void;
|
|
30
31
|
getFilteredData(): LinkUserDto[];
|
|
31
32
|
getPageData(start: number, end: number): LinkUserDto[];
|
|
32
|
-
ngOnInit(): void;
|
|
33
33
|
getAllList(): void;
|
|
34
34
|
createNewLinkUser(): void;
|
|
35
35
|
delete(record: LinkUserDto): void;
|
|
@@ -10,9 +10,10 @@ import * as i7 from "@abp/ng.theme.shared";
|
|
|
10
10
|
import * as i8 from "@ng-bootstrap/ng-bootstrap";
|
|
11
11
|
import * as i9 from "@ngx-validate/core";
|
|
12
12
|
import * as i10 from "./components/authority-delegation/authority-delegation.module";
|
|
13
|
+
import * as i11 from "./components/identity-setting-tabs/identity-sessions-settings/identity-sessions-settings.component";
|
|
13
14
|
export declare class IdentityConfigModule {
|
|
14
15
|
static forRoot(): ModuleWithProviders<IdentityConfigModule>;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<IdentityConfigModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IdentityConfigModule, [typeof i1.IdentitySettingsComponent, typeof i2.IdentitySettingComponent, typeof i3.IdentityExternalLoginSettingsComponent, typeof i4.IdentityLdapSettingsComponent, typeof i5.MyLinkUsersModalComponent], [typeof i6.CoreModule, typeof i7.ThemeSharedModule, typeof i8.NgbDropdownModule, typeof i8.NgbNavModule, typeof i9.NgxValidateCoreModule, typeof i10.AuthorityDelegationModule], [typeof i1.IdentitySettingsComponent, typeof i2.IdentitySettingComponent, typeof i3.IdentityExternalLoginSettingsComponent, typeof i4.IdentityLdapSettingsComponent, typeof i5.MyLinkUsersModalComponent]>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IdentityConfigModule, [typeof i1.IdentitySettingsComponent, typeof i2.IdentitySettingComponent, typeof i3.IdentityExternalLoginSettingsComponent, typeof i4.IdentityLdapSettingsComponent, typeof i5.MyLinkUsersModalComponent], [typeof i6.CoreModule, typeof i7.ThemeSharedModule, typeof i8.NgbDropdownModule, typeof i8.NgbNavModule, typeof i9.NgxValidateCoreModule, typeof i10.AuthorityDelegationModule, typeof i11.IdentitySessionsSettingComponent], [typeof i1.IdentitySettingsComponent, typeof i2.IdentitySettingComponent, typeof i3.IdentityExternalLoginSettingsComponent, typeof i4.IdentityLdapSettingsComponent, typeof i5.MyLinkUsersModalComponent]>;
|
|
17
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<IdentityConfigModule>;
|
|
18
19
|
}
|
|
@@ -22,10 +22,10 @@ export class AuthorityDelegationComponent {
|
|
|
22
22
|
this.selected = this.tabs[0];
|
|
23
23
|
this.trackByFn = (_, item) => item.name;
|
|
24
24
|
}
|
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
26
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuthorityDelegationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
26
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: AuthorityDelegationComponent, selector: "abp-authority-delegation", ngImport: i0, template: "<abp-modal [(visible)]=\"isModalOpen\" [suppressUnsavedChangesWarning]=\"true\" [options]=\"option\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpIdentity::AuthorityDelegation' | abpLocalization }}</h5>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <ul class=\"nav nav-tabs mb-0\">\r\n <li *abpFor=\"let tab of tabs; trackBy: trackByFn\" class=\"nav-item\">\r\n <a\r\n [id]=\"tab.name + '-tab'\"\r\n role=\"tab\"\r\n class=\"nav-link pointer\"\r\n [class.active]=\"selected.name === tab.name\"\r\n (click)=\"selected = tab\"\r\n >\r\n {{ tab.name | abpLocalization }}\r\n </a>\r\n </li>\r\n </ul>\r\n\r\n <div class=\"tab-content\">\r\n <div class=\"tab-pane active\">\r\n <div class=\"card mb-0\">\r\n <ng-container *ngComponentOutlet=\"selected.component\"></ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "directive", type: i1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i2.ForDirective, selector: "[abpFor]", inputs: ["abpForOf", "abpForOrderBy", "abpForOrderDir", "abpForFilterBy", "abpForFilterVal", "abpForTrackBy", "abpForCompareBy", "abpForEmptyRef"] }, { kind: "component", type: i3.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
27
27
|
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuthorityDelegationComponent, decorators: [{
|
|
29
29
|
type: Component,
|
|
30
30
|
args: [{ selector: 'abp-authority-delegation', template: "<abp-modal [(visible)]=\"isModalOpen\" [suppressUnsavedChangesWarning]=\"true\" [options]=\"option\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpIdentity::AuthorityDelegation' | abpLocalization }}</h5>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <ul class=\"nav nav-tabs mb-0\">\r\n <li *abpFor=\"let tab of tabs; trackBy: trackByFn\" class=\"nav-item\">\r\n <a\r\n [id]=\"tab.name + '-tab'\"\r\n role=\"tab\"\r\n class=\"nav-link pointer\"\r\n [class.active]=\"selected.name === tab.name\"\r\n (click)=\"selected = tab\"\r\n >\r\n {{ tab.name | abpLocalization }}\r\n </a>\r\n </li>\r\n </ul>\r\n\r\n <div class=\"tab-content\">\r\n <div class=\"tab-pane active\">\r\n <div class=\"card mb-0\">\r\n <ng-container *ngComponentOutlet=\"selected.component\"></ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
31
31
|
}] });
|
|
@@ -15,8 +15,8 @@ const declarationsWithExports = [
|
|
|
15
15
|
MyDelegatedUsersComponent,
|
|
16
16
|
];
|
|
17
17
|
export class AuthorityDelegationModule {
|
|
18
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
19
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuthorityDelegationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
19
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: AuthorityDelegationModule, declarations: [AuthorityDelegationComponent,
|
|
20
20
|
ListAuthorityDelegationComponent,
|
|
21
21
|
MyDelegatedUsersComponent], imports: [CoreModule,
|
|
22
22
|
ThemeSharedModule,
|
|
@@ -27,7 +27,7 @@ export class AuthorityDelegationModule {
|
|
|
27
27
|
CreateUserDelegateComponent], exports: [AuthorityDelegationComponent,
|
|
28
28
|
ListAuthorityDelegationComponent,
|
|
29
29
|
MyDelegatedUsersComponent] }); }
|
|
30
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
|
30
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuthorityDelegationModule, imports: [CoreModule,
|
|
31
31
|
ThemeSharedModule,
|
|
32
32
|
NgbDropdownModule,
|
|
33
33
|
NgbNavModule,
|
|
@@ -35,7 +35,7 @@ export class AuthorityDelegationModule {
|
|
|
35
35
|
CommercialUiModule,
|
|
36
36
|
CreateUserDelegateComponent] }); }
|
|
37
37
|
}
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuthorityDelegationModule, decorators: [{
|
|
39
39
|
type: NgModule,
|
|
40
40
|
args: [{
|
|
41
41
|
declarations: [...declarationsWithExports],
|
|
@@ -58,10 +58,10 @@ export class CreateUserDelegateComponent {
|
|
|
58
58
|
this.save.emit();
|
|
59
59
|
this.visibleChange.emit(false);
|
|
60
60
|
}
|
|
61
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
62
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
|
61
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: CreateUserDelegateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
62
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: CreateUserDelegateComponent, isStandalone: true, selector: "abp-create-user-delegate", outputs: { visibleChange: "visibleChange", save: "save" }, providers: [{ provide: NgbDateAdapter, useClass: DateTimeAdapter }], ngImport: i0, template: "<abp-modal [visible]=\"modalVisible\" (visibleChange)=\"visibleChange.emit($event)\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpIdentity::DelegateNewUser' | abpLocalization }}</h5>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form id=\"DelegateNewUser\" name=\"DelegateNewUser\" [formGroup]=\"form\" (ngSubmit)=\"submit()\">\r\n <div class=\"mb-3\">\r\n <label for=\"delegate-new-user-id\">{{ 'AbpIdentity::UserName' | abpLocalization }}</label>\r\n <abp-lookup-typeahead\r\n cid=\"delegate-new-user-id\"\r\n displayNameProp=\"userName\"\r\n lookupNameProp=\"userName\"\r\n formControlName=\"userNameId\"\r\n [getFn]=\"getFn\"\r\n ></abp-lookup-typeahead>\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label> {{ 'AbpIdentity::DelegationDateRange' | abpLocalization }} </label>\r\n <abp-date-range-picker\r\n startDateProp=\"startTime\"\r\n endDateProp=\"endTime\"\r\n formControlName=\"times\"\r\n >\r\n </abp-date-range-picker>\r\n </div>\r\n\r\n <div class=\"d-flex justify-content-end align-items-center mb-2 gap-2\">\r\n <button type=\"button\" class=\"btn btn-outline-primary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"DelegateNewUser\">\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </abp-button>\r\n </div>\r\n </form>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }, { kind: "directive", type: i2.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "ngmodule", type: ThemeSharedModule }, { kind: "directive", type: i3.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i3.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i4.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i4.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i4.ModalCloseDirective, selector: "[abpClose]" }, { kind: "ngmodule", type: CommercialUiModule }, { kind: "component", type: i5.LookupTypeaheadComponent, selector: "abp-lookup-typeahead", inputs: ["displayNameProp", "lookupFilterProp", "filter", "editingData"] }, { kind: "component", type: i5.DateRangePickerComponent, selector: "abp-date-range-picker", inputs: ["startDateProp", "endDateProp", "labelText"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
63
63
|
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: CreateUserDelegateComponent, decorators: [{
|
|
65
65
|
type: Component,
|
|
66
66
|
args: [{ standalone: true, selector: 'abp-create-user-delegate', imports: [CoreModule, ThemeSharedModule, CommercialUiModule], providers: [{ provide: NgbDateAdapter, useClass: DateTimeAdapter }], changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-modal [visible]=\"modalVisible\" (visibleChange)=\"visibleChange.emit($event)\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpIdentity::DelegateNewUser' | abpLocalization }}</h5>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form id=\"DelegateNewUser\" name=\"DelegateNewUser\" [formGroup]=\"form\" (ngSubmit)=\"submit()\">\r\n <div class=\"mb-3\">\r\n <label for=\"delegate-new-user-id\">{{ 'AbpIdentity::UserName' | abpLocalization }}</label>\r\n <abp-lookup-typeahead\r\n cid=\"delegate-new-user-id\"\r\n displayNameProp=\"userName\"\r\n lookupNameProp=\"userName\"\r\n formControlName=\"userNameId\"\r\n [getFn]=\"getFn\"\r\n ></abp-lookup-typeahead>\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label> {{ 'AbpIdentity::DelegationDateRange' | abpLocalization }} </label>\r\n <abp-date-range-picker\r\n startDateProp=\"startTime\"\r\n endDateProp=\"endTime\"\r\n formControlName=\"times\"\r\n >\r\n </abp-date-range-picker>\r\n </div>\r\n\r\n <div class=\"d-flex justify-content-end align-items-center mb-2 gap-2\">\r\n <button type=\"button\" class=\"btn btn-outline-primary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"DelegateNewUser\">\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </abp-button>\r\n </div>\r\n </form>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
67
67
|
}], propDecorators: { visibleChange: [{
|
package/esm2022/config/components/authority-delegation/list-authority-delegation.component.mjs
CHANGED
|
@@ -70,10 +70,10 @@ export class ListAuthorityDelegationComponent {
|
|
|
70
70
|
userDelegationVisibleChange(visible = false) {
|
|
71
71
|
this.isNewUserDelegateModalOpen = visible;
|
|
72
72
|
}
|
|
73
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
74
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
|
73
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ListAuthorityDelegationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
74
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: ListAuthorityDelegationComponent, selector: "abp-list-authority-delegation", providers: [ListService], ngImport: i0, template: "<div class=\"text-end mb-2\">\r\n <button id=\"create-delegate-user\" class=\"btn btn-primary\" type=\"button\" (click)=\"create()\">\r\n {{ 'AbpIdentity::DelegateNewUser' | abpLocalization }}\r\n </button>\r\n\r\n <div class=\"mt-2\">\r\n <label class=\"form-label d-inline-block\">\r\n {{ 'AbpUi::Search' | abpLocalization }}\r\n <input\r\n type=\"search\"\r\n class=\"form-control form-control-sm d-inline-block w-auto\"\r\n [(ngModel)]=\"filterText\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (ngModelChange)=\"filterByText()\"\r\n aria-controls=\"DelegatedUsersTable\"\r\n />\r\n </label>\r\n </div>\r\n</div>\r\n\r\n<ngx-datatable [rows]=\"filteredData\" [count]=\"resultCount\" [list]=\"list\" default>\r\n <ngx-datatable-column\r\n [name]=\"'AbpUi::Actions' | abpLocalization\"\r\n [maxWidth]=\"100\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <button class=\"btn btn-danger btn-sm\" (click)=\"delete(row)\">\r\n {{ 'AbpUi::Delete' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpIdentity::Status' | abpLocalization\" [maxWidth]=\"125\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <span class=\"badge bg-{{ service.statusClass(row) }}\">\r\n {{ 'AbpIdentity::Status' + service.getStatus(row) | abpLocalization }}\r\n </span>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column\r\n [sortable]=\"true\"\r\n [name]=\"'AbpIdentity::UserName' | abpLocalization\"\r\n prop=\"userName\"\r\n >\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpIdentity::StartTime' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ row.startTime | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpIdentity::EndTime' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ row.endTime | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n</ngx-datatable>\r\n\r\n<abp-create-user-delegate\r\n *abpVisible=\"isNewUserDelegateModalOpen\"\r\n (visibleChange)=\"userDelegationVisibleChange($event)\"\r\n (save)=\"getAllList()\"\r\n/>\r\n", dependencies: [{ kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2.DatatableComponent, selector: "ngx-datatable", inputs: ["targetMarkerTemplate", "rows", "groupRowsBy", "groupedRows", "columns", "selected", "scrollbarV", "scrollbarH", "rowHeight", "columnMode", "headerHeight", "footerHeight", "externalPaging", "externalSorting", "limit", "count", "offset", "loadingIndicator", "selectionType", "reorderable", "swapColumns", "sortType", "sorts", "cssClasses", "messages", "rowClass", "selectCheck", "displayCheck", "groupExpansionDefault", "trackByProp", "selectAllRowsOnPage", "virtualization", "treeFromRelation", "treeToRelation", "summaryRow", "summaryHeight", "summaryPosition", "rowIdentity"], outputs: ["scroll", "activate", "select", "sort", "page", "reorder", "resize", "tableContextmenu", "treeAction"] }, { kind: "directive", type: i2.DataTableColumnDirective, selector: "ngx-datatable-column", inputs: ["name", "prop", "frozenLeft", "frozenRight", "flexGrow", "resizeable", "comparator", "pipe", "sortable", "draggable", "canAutoResize", "minWidth", "width", "maxWidth", "checkboxable", "headerCheckboxable", "headerClass", "cellClass", "isTreeColumn", "treeLevelIndent", "summaryFunc", "summaryTemplate", "cellTemplate", "headerTemplate", "treeToggleTemplate"] }, { kind: "directive", type: i2.DataTableColumnCellDirective, selector: "[ngx-datatable-cell-template]" }, { kind: "directive", type: i3.AbpVisibleDirective, selector: "[abpVisible]", inputs: ["abpVisible"] }, { kind: "directive", type: i3.NgxDatatableListDirective, selector: "ngx-datatable[list]", inputs: ["list"], exportAs: ["ngxDatatableList"] }, { kind: "directive", type: i3.NgxDatatableDefaultDirective, selector: "ngx-datatable[default]", inputs: ["class"], exportAs: ["ngxDatatableDefault"] }, { kind: "component", type: i4.CreateUserDelegateComponent, selector: "abp-create-user-delegate", outputs: ["visibleChange", "save"] }, { kind: "pipe", type: i5.LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: i5.ShortDateTimePipe, name: "shortDateTime" }] }); }
|
|
75
75
|
}
|
|
76
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
76
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ListAuthorityDelegationComponent, decorators: [{
|
|
77
77
|
type: Component,
|
|
78
78
|
args: [{ selector: 'abp-list-authority-delegation', providers: [ListService], template: "<div class=\"text-end mb-2\">\r\n <button id=\"create-delegate-user\" class=\"btn btn-primary\" type=\"button\" (click)=\"create()\">\r\n {{ 'AbpIdentity::DelegateNewUser' | abpLocalization }}\r\n </button>\r\n\r\n <div class=\"mt-2\">\r\n <label class=\"form-label d-inline-block\">\r\n {{ 'AbpUi::Search' | abpLocalization }}\r\n <input\r\n type=\"search\"\r\n class=\"form-control form-control-sm d-inline-block w-auto\"\r\n [(ngModel)]=\"filterText\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (ngModelChange)=\"filterByText()\"\r\n aria-controls=\"DelegatedUsersTable\"\r\n />\r\n </label>\r\n </div>\r\n</div>\r\n\r\n<ngx-datatable [rows]=\"filteredData\" [count]=\"resultCount\" [list]=\"list\" default>\r\n <ngx-datatable-column\r\n [name]=\"'AbpUi::Actions' | abpLocalization\"\r\n [maxWidth]=\"100\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <button class=\"btn btn-danger btn-sm\" (click)=\"delete(row)\">\r\n {{ 'AbpUi::Delete' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpIdentity::Status' | abpLocalization\" [maxWidth]=\"125\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <span class=\"badge bg-{{ service.statusClass(row) }}\">\r\n {{ 'AbpIdentity::Status' + service.getStatus(row) | abpLocalization }}\r\n </span>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column\r\n [sortable]=\"true\"\r\n [name]=\"'AbpIdentity::UserName' | abpLocalization\"\r\n prop=\"userName\"\r\n >\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpIdentity::StartTime' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ row.startTime | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpIdentity::EndTime' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ row.endTime | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n</ngx-datatable>\r\n\r\n<abp-create-user-delegate\r\n *abpVisible=\"isNewUserDelegateModalOpen\"\r\n (visibleChange)=\"userDelegationVisibleChange($event)\"\r\n (save)=\"getAllList()\"\r\n/>\r\n" }]
|
|
79
79
|
}] });
|
|
@@ -52,10 +52,10 @@ export class MyDelegatedUsersComponent {
|
|
|
52
52
|
this.service.modalRef.instance.isModalOpen = false;
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
56
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
|
55
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MyDelegatedUsersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
56
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: MyDelegatedUsersComponent, selector: "abp-my-delegated-users", providers: [ListService], ngImport: i0, template: "<div class=\"text-end mb-3\">\r\n <div class=\"mt-2\">\r\n <label class=\"form-label d-inline-block\">\r\n {{ 'AbpUi::Search' | abpLocalization }}\r\n <input\r\n type=\"search\"\r\n class=\"form-control form-control-sm d-inline-block w-auto\"\r\n [(ngModel)]=\"filterText\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (ngModelChange)=\"filterByText()\"\r\n aria-controls=\"DelegatedUsersTable\"\r\n />\r\n </label>\r\n </div>\r\n</div>\r\n\r\n<ngx-datatable [rows]=\"filteredData\" [count]=\"resultCount\" [list]=\"list\" default>\r\n <ngx-datatable-column\r\n [name]=\"'AbpUi::Actions' | abpLocalization\"\r\n [maxWidth]=\"100\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-primary btn-sm\"\r\n [class.disabled]=\"service.getStatus(row) !== 'Active'\"\r\n (click)=\"login(row)\"\r\n >\r\n <span>{{ 'AbpUi::Login' | abpLocalization }}</span>\r\n </button>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpUi::Status' | abpLocalization\" [maxWidth]=\"125\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <span class=\"badge bg-{{ service.statusClass(row) }}\">\r\n {{ 'AbpIdentity::Status' + service.getStatus(row) | abpLocalization }}\r\n </span>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column\r\n [sortable]=\"true\"\r\n [name]=\"'AbpIdentity::UserName' | abpLocalization\"\r\n prop=\"userName\"\r\n >\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpIdentity::StartTime' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ row.startTime | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpIdentity::EndTime' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ row.endTime | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n</ngx-datatable>\r\n", dependencies: [{ kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2.DatatableComponent, selector: "ngx-datatable", inputs: ["targetMarkerTemplate", "rows", "groupRowsBy", "groupedRows", "columns", "selected", "scrollbarV", "scrollbarH", "rowHeight", "columnMode", "headerHeight", "footerHeight", "externalPaging", "externalSorting", "limit", "count", "offset", "loadingIndicator", "selectionType", "reorderable", "swapColumns", "sortType", "sorts", "cssClasses", "messages", "rowClass", "selectCheck", "displayCheck", "groupExpansionDefault", "trackByProp", "selectAllRowsOnPage", "virtualization", "treeFromRelation", "treeToRelation", "summaryRow", "summaryHeight", "summaryPosition", "rowIdentity"], outputs: ["scroll", "activate", "select", "sort", "page", "reorder", "resize", "tableContextmenu", "treeAction"] }, { kind: "directive", type: i2.DataTableColumnDirective, selector: "ngx-datatable-column", inputs: ["name", "prop", "frozenLeft", "frozenRight", "flexGrow", "resizeable", "comparator", "pipe", "sortable", "draggable", "canAutoResize", "minWidth", "width", "maxWidth", "checkboxable", "headerCheckboxable", "headerClass", "cellClass", "isTreeColumn", "treeLevelIndent", "summaryFunc", "summaryTemplate", "cellTemplate", "headerTemplate", "treeToggleTemplate"] }, { kind: "directive", type: i2.DataTableColumnCellDirective, selector: "[ngx-datatable-cell-template]" }, { kind: "directive", type: i3.NgxDatatableListDirective, selector: "ngx-datatable[list]", inputs: ["list"], exportAs: ["ngxDatatableList"] }, { kind: "directive", type: i3.NgxDatatableDefaultDirective, selector: "ngx-datatable[default]", inputs: ["class"], exportAs: ["ngxDatatableDefault"] }, { kind: "pipe", type: i4.LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: i4.ShortDateTimePipe, name: "shortDateTime" }] }); }
|
|
57
57
|
}
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MyDelegatedUsersComponent, decorators: [{
|
|
59
59
|
type: Component,
|
|
60
60
|
args: [{ selector: 'abp-my-delegated-users', providers: [ListService], template: "<div class=\"text-end mb-3\">\r\n <div class=\"mt-2\">\r\n <label class=\"form-label d-inline-block\">\r\n {{ 'AbpUi::Search' | abpLocalization }}\r\n <input\r\n type=\"search\"\r\n class=\"form-control form-control-sm d-inline-block w-auto\"\r\n [(ngModel)]=\"filterText\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (ngModelChange)=\"filterByText()\"\r\n aria-controls=\"DelegatedUsersTable\"\r\n />\r\n </label>\r\n </div>\r\n</div>\r\n\r\n<ngx-datatable [rows]=\"filteredData\" [count]=\"resultCount\" [list]=\"list\" default>\r\n <ngx-datatable-column\r\n [name]=\"'AbpUi::Actions' | abpLocalization\"\r\n [maxWidth]=\"100\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-primary btn-sm\"\r\n [class.disabled]=\"service.getStatus(row) !== 'Active'\"\r\n (click)=\"login(row)\"\r\n >\r\n <span>{{ 'AbpUi::Login' | abpLocalization }}</span>\r\n </button>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpUi::Status' | abpLocalization\" [maxWidth]=\"125\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <span class=\"badge bg-{{ service.statusClass(row) }}\">\r\n {{ 'AbpIdentity::Status' + service.getStatus(row) | abpLocalization }}\r\n </span>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column\r\n [sortable]=\"true\"\r\n [name]=\"'AbpIdentity::UserName' | abpLocalization\"\r\n prop=\"userName\"\r\n >\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpIdentity::StartTime' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ row.startTime | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpIdentity::EndTime' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ row.endTime | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n</ngx-datatable>\r\n" }]
|
|
61
61
|
}] });
|
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
1
|
+
import { Component, inject } from '@angular/core';
|
|
2
2
|
import { IdentitySettingsService } from '@volo/abp.ng.identity/proxy';
|
|
3
3
|
import { ToasterService } from '@abp/ng.theme.shared';
|
|
4
4
|
import { ConfigStateService } from '@abp/ng.core';
|
|
5
5
|
import { finalize } from 'rxjs/operators';
|
|
6
6
|
import { UntypedFormBuilder, Validators } from '@angular/forms';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@
|
|
9
|
-
import * as i2 from "@abp/ng.
|
|
10
|
-
import * as i3 from "@
|
|
11
|
-
import * as i4 from "@
|
|
12
|
-
import * as i5 from "@angular/common";
|
|
13
|
-
import * as i6 from "@ngx-validate/core";
|
|
8
|
+
import * as i1 from "@angular/forms";
|
|
9
|
+
import * as i2 from "@abp/ng.core";
|
|
10
|
+
import * as i3 from "@ngx-validate/core";
|
|
11
|
+
import * as i4 from "@abp/ng.theme.shared";
|
|
14
12
|
export class IdentityExternalLoginSettingsComponent {
|
|
15
|
-
constructor(
|
|
16
|
-
this.service = service;
|
|
17
|
-
this.toaster = toaster;
|
|
18
|
-
this.configState = configState;
|
|
19
|
-
this.fb = fb;
|
|
13
|
+
constructor() {
|
|
20
14
|
this.loading = false;
|
|
15
|
+
this.service = inject(IdentitySettingsService);
|
|
16
|
+
this.toasterService = inject(ToasterService);
|
|
17
|
+
this.configState = inject(ConfigStateService);
|
|
18
|
+
this.fb = inject(UntypedFormBuilder);
|
|
21
19
|
}
|
|
22
20
|
ngOnInit() {
|
|
23
21
|
this.service.getOAuth().subscribe(settings => {
|
|
@@ -34,7 +32,7 @@ export class IdentityExternalLoginSettingsComponent {
|
|
|
34
32
|
.updateOAuth(this.form.value)
|
|
35
33
|
.pipe(finalize(() => (this.loading = false)))
|
|
36
34
|
.subscribe(() => {
|
|
37
|
-
this.
|
|
35
|
+
this.toasterService.success('AbpUi::SavedSuccessfully', null);
|
|
38
36
|
this.configState.refreshAppState().subscribe();
|
|
39
37
|
});
|
|
40
38
|
}
|
|
@@ -50,11 +48,11 @@ export class IdentityExternalLoginSettingsComponent {
|
|
|
50
48
|
validateEndpoints: [this.settings.validateEndpoints, []],
|
|
51
49
|
});
|
|
52
50
|
}
|
|
53
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
54
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
51
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IdentityExternalLoginSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
52
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.9", type: IdentityExternalLoginSettingsComponent, selector: "abp-external-login-settings", ngImport: i0, template: "@if (settings) {\r\n <h4>{{ 'AbpIdentity::OAuthLoginSettings' | abpLocalization }}</h4>\r\n\r\n <form [formGroup]=\"form\" (ngSubmit)=\"submit()\" validateOnSubmit>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"enable-oauth-login\"\r\n class=\"form-check-input\"\r\n formControlName=\"enableOAuthLogin\"\r\n autofocus\r\n /><label class=\"form-check-label\" for=\"enable-oauth-login\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.EnableOAuthLogin' | abpLocalization\r\n }}</label>\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.ClientId' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"clientId\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.ClientSecret' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"clientSecret\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Authority' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"authority\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Scope' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"scope\" />\r\n </div>\r\n\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"require-https-metadata\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireHttpsMetadata\"\r\n /><label class=\"form-check-label\" for=\"require-https-metadata\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.RequireHttpsMetadata' | abpLocalization\r\n }}</label>\r\n </div>\r\n\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"validate-endpoints\"\r\n class=\"form-check-input\"\r\n formControlName=\"validateEndpoints\"\r\n /><label class=\"form-check-label\" for=\"validate-endpoints\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.ValidateEndpoints' | abpLocalization\r\n }}</label>\r\n </div>\r\n\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"validate-issuer-name\"\r\n class=\"form-check-input\"\r\n formControlName=\"validateIssuerName\"\r\n /><label class=\"form-check-label\" for=\"validate-issuer-name\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.ValidateIssuerName' | abpLocalization\r\n }}</label>\r\n </div>\r\n <hr class=\"my-3\" />\r\n\r\n <div>\r\n <abp-button buttonType=\"submit\" iconClass=\"fa fa-save\" [loading]=\"loading\">{{\r\n 'AbpAccount::Save' | abpLocalization\r\n }}</abp-button>\r\n </div>\r\n </form>\r\n}\r\n", dependencies: [{ kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.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: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.AutofocusDirective, selector: "[autofocus]", inputs: ["autofocus"] }, { kind: "directive", type: i2.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "directive", type: i3.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i3.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i4.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
55
53
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IdentityExternalLoginSettingsComponent, decorators: [{
|
|
57
55
|
type: Component,
|
|
58
|
-
args: [{ selector: 'abp-external-login-settings', template: "
|
|
59
|
-
}]
|
|
60
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHktZXh0ZXJuYWwtbG9naW4tc2V0dGluZ3MuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvaWRlbnRpdHkvY29uZmlnL3NyYy9jb21wb25lbnRzL2lkZW50aXR5LXNldHRpbmctdGFicy9pZGVudGl0eS1leHRlcm5hbC1sb2dpbi1zZXR0aW5ncy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9pZGVudGl0eS9jb25maWcvc3JjL2NvbXBvbmVudHMv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JwTG9jYWxpemF0aW9uXHJcbiAgICAgIH19PC9sYWJlbD5cclxuICAgIDwvZGl2PlxyXG5cclxuICAgIDxkaXYgY2xhc3M9XCJmb3JtLWNoZWNrIG1iLTJcIj5cclxuICAgICAgPGlucHV0XHJcbiAgICAgICAgdHlwZT1cImNoZWNrYm94XCJcclxuICAgICAgICBpZD1cInZhbGlkYXRlLWlzc3Vlci1uYW1lXCJcclxuICAgICAgICBjbGFzcz1cImZvcm0tY2hlY2staW5wdXRcIlxyXG4gICAgICAgIGZvcm1Db250cm9sTmFtZT1cInZhbGlkYXRlSXNzdWVyTmFtZVwiXHJcbiAgICAgIC8+PGxhYmVsIGNsYXNzPVwiZm9ybS1jaGVjay1sYWJlbFwiIGZvcj1cInZhbGlkYXRlLWlzc3Vlci1uYW1lXCI+e3tcclxuICAgICAgJ0FicElkZW50aXR5OjpEaXNwbGF5TmFtZTpBYnAuSWRlbnRpdHkuVmFsaWRhdGVJc3N1ZXJOYW1lJyB8IGFicExvY2FsaXphdGlvblxyXG4gICAgICB9fTwvbGFiZWw+XHJcbiAgICA8L2Rpdj5cclxuICAgIDxociBjbGFzcz1cIm15LTNcIiAvPlxyXG5cclxuICAgIDxkaXY+XHJcbiAgICAgIDxhYnAtYnV0dG9uXHJcbiAgICAgICAgYnV0dG9uVHlwZT1cInN1Ym1pdFwiXHJcbiAgICAgICAgaWNvbkNsYXNzPVwiZmEgZmEtc2F2ZVwiXHJcbiAgICAgICAgW2xvYWRpbmddPVwibG9hZGluZ1wiXHJcbiAgICAgICAgPnt7ICdBYnBBY2NvdW50OjpTYXZlJyB8IGFicExvY2FsaXphdGlvbiB9fTwvYWJwLWJ1dHRvblxyXG4gICAgICA+XHJcbiAgICA8L2Rpdj5cclxuICA8L2Zvcm0+XHJcbjwvbmctY29udGFpbmVyPlxyXG4iXX0=
|
|
56
|
+
args: [{ selector: 'abp-external-login-settings', template: "@if (settings) {\r\n <h4>{{ 'AbpIdentity::OAuthLoginSettings' | abpLocalization }}</h4>\r\n\r\n <form [formGroup]=\"form\" (ngSubmit)=\"submit()\" validateOnSubmit>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"enable-oauth-login\"\r\n class=\"form-check-input\"\r\n formControlName=\"enableOAuthLogin\"\r\n autofocus\r\n /><label class=\"form-check-label\" for=\"enable-oauth-login\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.EnableOAuthLogin' | abpLocalization\r\n }}</label>\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.ClientId' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"clientId\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.ClientSecret' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"clientSecret\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Authority' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"authority\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Scope' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"scope\" />\r\n </div>\r\n\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"require-https-metadata\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireHttpsMetadata\"\r\n /><label class=\"form-check-label\" for=\"require-https-metadata\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.RequireHttpsMetadata' | abpLocalization\r\n }}</label>\r\n </div>\r\n\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"validate-endpoints\"\r\n class=\"form-check-input\"\r\n formControlName=\"validateEndpoints\"\r\n /><label class=\"form-check-label\" for=\"validate-endpoints\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.ValidateEndpoints' | abpLocalization\r\n }}</label>\r\n </div>\r\n\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"validate-issuer-name\"\r\n class=\"form-check-input\"\r\n formControlName=\"validateIssuerName\"\r\n /><label class=\"form-check-label\" for=\"validate-issuer-name\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.ValidateIssuerName' | abpLocalization\r\n }}</label>\r\n </div>\r\n <hr class=\"my-3\" />\r\n\r\n <div>\r\n <abp-button buttonType=\"submit\" iconClass=\"fa fa-save\" [loading]=\"loading\">{{\r\n 'AbpAccount::Save' | abpLocalization\r\n }}</abp-button>\r\n </div>\r\n </form>\r\n}\r\n" }]
|
|
57
|
+
}] });
|
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHktZXh0ZXJuYWwtbG9naW4tc2V0dGluZ3MuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvaWRlbnRpdHkvY29uZmlnL3NyYy9jb21wb25lbnRzL2lkZW50aXR5LXNldHRpbmctdGFicy9pZGVudGl0eS1leHRlcm5hbC1sb2dpbi1zZXR0aW5ncy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9pZGVudGl0eS9jb25maWcvc3JjL2NvbXBvbmVudHMvaWRlbnRpdHktc2V0dGluZy10YWJzL2lkZW50aXR5LWV4dGVybmFsLWxvZ2luLXNldHRpbmdzLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFVLE1BQU0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