@volo/abp.ng.identity 10.2.0 → 10.3.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/volo-abp.ng.identity-config.mjs +180 -66
- package/fesm2022/volo-abp.ng.identity-config.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.identity-proxy.mjs +76 -29
- package/fesm2022/volo-abp.ng.identity-proxy.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.identity.mjs +400 -179
- package/fesm2022/volo-abp.ng.identity.mjs.map +1 -1
- package/package.json +9 -8
- package/types/volo-abp.ng.identity-config.d.ts +34 -4
- package/types/volo-abp.ng.identity-proxy.d.ts +63 -9
- package/types/volo-abp.ng.identity.d.ts +54 -6
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volo/abp.ng.identity",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.3.0-rc.2",
|
|
4
4
|
"homepage": "https://abp.io",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@abp/ng.components": "~10.
|
|
7
|
-
"@abp/ng.permission-management": "~10.
|
|
8
|
-
"@abp/ng.setting-management": "~10.
|
|
9
|
-
"@abp/ng.theme.shared": "~10.
|
|
10
|
-
"@volo/abp.commercial.ng.ui": "^10.
|
|
11
|
-
"@volo/abp.ng.account": "^10.
|
|
6
|
+
"@abp/ng.components": "~10.3.0-rc.2",
|
|
7
|
+
"@abp/ng.permission-management": "~10.3.0-rc.2",
|
|
8
|
+
"@abp/ng.setting-management": "~10.3.0-rc.2",
|
|
9
|
+
"@abp/ng.theme.shared": "~10.3.0-rc.2",
|
|
10
|
+
"@volo/abp.commercial.ng.ui": "^10.3.0-rc.2",
|
|
11
|
+
"@volo/abp.ng.account": "^10.3.0-rc.2",
|
|
12
12
|
"tslib": "^2.0.0"
|
|
13
13
|
},
|
|
14
14
|
"publishConfig": {
|
|
@@ -51,5 +51,6 @@
|
|
|
51
51
|
"default": "./fesm2022/volo-abp.ng.identity-proxy.mjs"
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
"sideEffects": false
|
|
54
|
+
"sideEffects": false,
|
|
55
|
+
"type": "module"
|
|
55
56
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as rxjs from 'rxjs';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { OnInit, TrackByFunction, ComponentRef, ModuleWithProviders } from '@angular/core';
|
|
4
|
+
import { OnInit, DestroyRef, TrackByFunction, ComponentRef, ModuleWithProviders } from '@angular/core';
|
|
5
5
|
import * as _abp_ng_core from '@abp/ng.core';
|
|
6
6
|
import { ListService, ConfigStateService, AuthService, EnvironmentService, SubscriptionService, PagedAndSortedResultRequestDto, ABP } from '@abp/ng.core';
|
|
7
7
|
import * as i2 from '@abp/ng.theme.shared';
|
|
8
8
|
import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
9
|
-
import { Public, IdentityLinkUserService, LinkUserDto, IdentityUserDelegationService, UserLookupDto, UserDelegationDto } from '@volo/abp.ng.account/public/proxy';
|
|
9
|
+
import { Public, IdentityLinkUserService, LinkUserDto, UserSharingService, UserSharingDto, IdentityUserDelegationService, UserLookupDto, UserDelegationDto } from '@volo/abp.ng.account/public/proxy';
|
|
10
|
+
import { SwitchTenantService } from '@volo/abp.commercial.ng.ui/config';
|
|
10
11
|
import * as _volo_abp_ng_identity_proxy from '@volo/abp.ng.identity/proxy';
|
|
11
12
|
import { IdentityLdapSettingsDto, IdentitySettingsService, IdentityOAuthSettingsDto } from '@volo/abp.ng.identity/proxy';
|
|
12
13
|
import * as _angular_forms from '@angular/forms';
|
|
@@ -72,6 +73,35 @@ declare class MyLinkUsersModalComponent implements OnInit {
|
|
|
72
73
|
static ɵcmp: i0.ɵɵComponentDeclaration<MyLinkUsersModalComponent, "abp-my-link-users-modal", never, {}, {}, never, never, true, never>;
|
|
73
74
|
}
|
|
74
75
|
|
|
76
|
+
declare class SwitchTenantModalComponent implements OnInit {
|
|
77
|
+
protected readonly userSharingService: UserSharingService;
|
|
78
|
+
protected readonly switchTenantService: SwitchTenantService;
|
|
79
|
+
protected readonly configState: ConfigStateService;
|
|
80
|
+
protected readonly confirmation: ConfirmationService;
|
|
81
|
+
protected readonly toasterService: ToasterService;
|
|
82
|
+
protected readonly destroyRef: DestroyRef;
|
|
83
|
+
private _isModalOpen;
|
|
84
|
+
get isModalOpen(): boolean;
|
|
85
|
+
set isModalOpen(value: boolean);
|
|
86
|
+
tenants: UserSharingDto[];
|
|
87
|
+
filteredTenants: UserSharingDto[];
|
|
88
|
+
filterText: string;
|
|
89
|
+
loading: boolean;
|
|
90
|
+
switching: boolean;
|
|
91
|
+
modalOptions: {
|
|
92
|
+
size: string;
|
|
93
|
+
};
|
|
94
|
+
get currentTenantId(): string | undefined;
|
|
95
|
+
ngOnInit(): void;
|
|
96
|
+
loadTenants(): void;
|
|
97
|
+
onSearch(text: string): void;
|
|
98
|
+
isCurrent(tenant: UserSharingDto): boolean;
|
|
99
|
+
switchTenant(tenant: UserSharingDto): void;
|
|
100
|
+
leaveTenant(tenant: UserSharingDto): void;
|
|
101
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchTenantModalComponent, never>;
|
|
102
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchTenantModalComponent, "abp-switch-tenant-modal", never, {}, {}, never, never, true, never>;
|
|
103
|
+
}
|
|
104
|
+
|
|
75
105
|
declare class IdentityLdapSettingsComponent implements OnInit {
|
|
76
106
|
settings: IdentityLdapSettingsDto;
|
|
77
107
|
loading: boolean;
|
|
@@ -384,10 +414,10 @@ declare const IDENTITY_ROUTE_PROVIDERS: i0.EnvironmentProviders[];
|
|
|
384
414
|
declare function configureRoutes(): void;
|
|
385
415
|
|
|
386
416
|
declare const IDENTITY_SETTING_TAB_PROVIDERS: i0.EnvironmentProviders[];
|
|
387
|
-
declare function configureSettingTabs(): void
|
|
417
|
+
declare function configureSettingTabs(): Promise<void>;
|
|
388
418
|
|
|
389
419
|
declare function provideIdentityConfig(): i0.EnvironmentProviders;
|
|
390
420
|
|
|
391
421
|
declare function timeRangeValidator([controlName1, controlName2]: string[]): ValidatorFn;
|
|
392
422
|
|
|
393
|
-
export { AbpAuthorityDelegationService, AuthorityDelegationComponent, AuthorityDelegationModule, CreateUserDelegateComponent, IDENTITY_ROUTE_PROVIDERS, IDENTITY_SETTING_TAB_PROVIDERS, IdentityConfigModule, IdentityConfigService, IdentityExternalLoginSettingsComponent, IdentityLdapSettingsComponent, IdentityLinkLoginService, IdentityLockoutComponent, IdentityPasswordPolicyComponent, IdentitySessionsSettingComponent, identitySettings_d as IdentitySettings, IdentitySettingsComponent, IdentityUserProfileComponent, IdentityVerificationComponent, LinkLoginHandler, ListAuthorityDelegationComponent, MyDelegatedUsersComponent, MyLinkUsersModalComponent, configureRoutes, configureSettingTabs, eIdentityPolicyNames, eIdentityRouteNames, eIdentitySettingTabNames, provideIdentityConfig, timeRangeValidator };
|
|
423
|
+
export { AbpAuthorityDelegationService, AuthorityDelegationComponent, AuthorityDelegationModule, CreateUserDelegateComponent, IDENTITY_ROUTE_PROVIDERS, IDENTITY_SETTING_TAB_PROVIDERS, IdentityConfigModule, IdentityConfigService, IdentityExternalLoginSettingsComponent, IdentityLdapSettingsComponent, IdentityLinkLoginService, IdentityLockoutComponent, IdentityPasswordPolicyComponent, IdentitySessionsSettingComponent, identitySettings_d as IdentitySettings, IdentitySettingsComponent, IdentityUserProfileComponent, IdentityVerificationComponent, LinkLoginHandler, ListAuthorityDelegationComponent, MyDelegatedUsersComponent, MyLinkUsersModalComponent, SwitchTenantModalComponent, configureRoutes, configureSettingTabs, eIdentityPolicyNames, eIdentityRouteNames, eIdentitySettingTabNames, provideIdentityConfig, timeRangeValidator };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _abp_ng_core from '@abp/ng.core';
|
|
2
|
-
import {
|
|
2
|
+
import { PagedAndSortedResultRequestDto, EntityDto, ExtensibleEntityDto, ExtensibleObject, ExtensiblePagedAndSortedResultRequestDto, ExtensibleFullAuditedEntityDto, ExtensiblePagedResultRequestDto, CreationAuditedEntityDto, Rest, PagedResultDto, ListResultDto } from '@abp/ng.core';
|
|
3
3
|
import * as rxjs from 'rxjs';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
5
|
|
|
@@ -13,16 +13,65 @@ declare enum IdentityProPreventConcurrentLoginBehaviour {
|
|
|
13
13
|
}
|
|
14
14
|
declare const identityProPreventConcurrentLoginBehaviourOptions: _abp_ng_core.ABP.Option<typeof IdentityProPreventConcurrentLoginBehaviour>[];
|
|
15
15
|
|
|
16
|
-
type
|
|
17
|
-
declare const
|
|
18
|
-
declare const
|
|
19
|
-
declare namespace index_d {
|
|
16
|
+
type index_d$2_IdentityProPreventConcurrentLoginBehaviour = IdentityProPreventConcurrentLoginBehaviour;
|
|
17
|
+
declare const index_d$2_IdentityProPreventConcurrentLoginBehaviour: typeof IdentityProPreventConcurrentLoginBehaviour;
|
|
18
|
+
declare const index_d$2_identityProPreventConcurrentLoginBehaviourOptions: typeof identityProPreventConcurrentLoginBehaviourOptions;
|
|
19
|
+
declare namespace index_d$2 {
|
|
20
20
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
index_d$2_IdentityProPreventConcurrentLoginBehaviour as IdentityProPreventConcurrentLoginBehaviour,
|
|
22
|
+
index_d$2_identityProPreventConcurrentLoginBehaviourOptions as identityProPreventConcurrentLoginBehaviourOptions,
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
declare enum UserInvitationStatus {
|
|
27
|
+
Pending = 0,
|
|
28
|
+
Accepted = 1,
|
|
29
|
+
Rejected = 2,
|
|
30
|
+
Canceled = 3
|
|
31
|
+
}
|
|
32
|
+
declare const userInvitationStatusOptions: _abp_ng_core.ABP.Option<typeof UserInvitationStatus>[];
|
|
33
|
+
|
|
34
|
+
type index_d$1_UserInvitationStatus = UserInvitationStatus;
|
|
35
|
+
declare const index_d$1_UserInvitationStatus: typeof UserInvitationStatus;
|
|
36
|
+
declare const index_d$1_userInvitationStatusOptions: typeof userInvitationStatusOptions;
|
|
37
|
+
declare namespace index_d$1 {
|
|
38
|
+
export {
|
|
39
|
+
index_d$1_UserInvitationStatus as UserInvitationStatus,
|
|
40
|
+
index_d$1_userInvitationStatusOptions as userInvitationStatusOptions,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
interface GetPendingInvitationsInput extends PagedAndSortedResultRequestDto {
|
|
45
|
+
filter?: string;
|
|
46
|
+
}
|
|
47
|
+
interface InviteUsersInput {
|
|
48
|
+
appName?: string;
|
|
49
|
+
emailAddress: string[];
|
|
50
|
+
assignedRoles?: string[];
|
|
51
|
+
}
|
|
52
|
+
interface InviteUsersSummaryDto {
|
|
53
|
+
newInvitations?: number;
|
|
54
|
+
resentInvitations?: number;
|
|
55
|
+
}
|
|
56
|
+
interface ResendInvitationInput extends EntityDto<string> {
|
|
57
|
+
appName?: string;
|
|
58
|
+
}
|
|
59
|
+
interface UserSharingInvitationDto extends EntityDto<string> {
|
|
60
|
+
inviteeEmail?: string;
|
|
61
|
+
invitationDate?: string;
|
|
62
|
+
assignedRoles?: string[];
|
|
63
|
+
status?: UserInvitationStatus;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
type index_d_GetPendingInvitationsInput = GetPendingInvitationsInput;
|
|
67
|
+
type index_d_InviteUsersInput = InviteUsersInput;
|
|
68
|
+
type index_d_InviteUsersSummaryDto = InviteUsersSummaryDto;
|
|
69
|
+
type index_d_ResendInvitationInput = ResendInvitationInput;
|
|
70
|
+
type index_d_UserSharingInvitationDto = UserSharingInvitationDto;
|
|
71
|
+
declare namespace index_d {
|
|
72
|
+
export type { index_d_GetPendingInvitationsInput as GetPendingInvitationsInput, index_d_InviteUsersInput as InviteUsersInput, index_d_InviteUsersSummaryDto as InviteUsersSummaryDto, index_d_ResendInvitationInput as ResendInvitationInput, index_d_UserSharingInvitationDto as UserSharingInvitationDto };
|
|
73
|
+
}
|
|
74
|
+
|
|
26
75
|
declare enum IdentityClaimValueType {
|
|
27
76
|
String = 0,
|
|
28
77
|
Int = 1,
|
|
@@ -468,6 +517,8 @@ declare class IdentityUserLookupService {
|
|
|
468
517
|
declare class IdentityUserService {
|
|
469
518
|
private restService;
|
|
470
519
|
apiName: string;
|
|
520
|
+
cancelAllPendingInvitations: (config?: Partial<Rest.Config>) => rxjs.Observable<void>;
|
|
521
|
+
cancelInvitation: (id: string, config?: Partial<Rest.Config>) => rxjs.Observable<void>;
|
|
471
522
|
create: (input: IdentityUserCreateDto, config?: Partial<Rest.Config>) => rxjs.Observable<IdentityUserDto>;
|
|
472
523
|
delete: (id: string, config?: Partial<Rest.Config>) => rxjs.Observable<void>;
|
|
473
524
|
findByEmail: (email: string, config?: Partial<Rest.Config>) => rxjs.Observable<IdentityUserDto>;
|
|
@@ -487,12 +538,15 @@ declare class IdentityUserService {
|
|
|
487
538
|
getListAsExcelFile: (input: GetIdentityUserListAsFileInput, config?: Partial<Rest.Config>) => rxjs.Observable<Blob>;
|
|
488
539
|
getOrganizationUnitLookup: (config?: Partial<Rest.Config>) => rxjs.Observable<OrganizationUnitLookupDto[]>;
|
|
489
540
|
getOrganizationUnits: (id: string, config?: Partial<Rest.Config>) => rxjs.Observable<OrganizationUnitDto[]>;
|
|
541
|
+
getPendingInvitations: (input: GetPendingInvitationsInput, config?: Partial<Rest.Config>) => rxjs.Observable<PagedResultDto<UserSharingInvitationDto>>;
|
|
490
542
|
getRoleLookup: (config?: Partial<Rest.Config>) => rxjs.Observable<IdentityRoleLookupDto[]>;
|
|
491
543
|
getRoles: (id: string, config?: Partial<Rest.Config>) => rxjs.Observable<ListResultDto<IdentityRoleDto>>;
|
|
492
544
|
getTwoFactorEnabled: (id: string, config?: Partial<Rest.Config>) => rxjs.Observable<boolean>;
|
|
493
545
|
importExternalUser: (input: ImportExternalUserInput, config?: Partial<Rest.Config>) => rxjs.Observable<IdentityUserDto>;
|
|
494
546
|
importUsersFromFile: (input: ImportUsersFromFileInputWithStream, config?: Partial<Rest.Config>) => rxjs.Observable<ImportUsersFromFileOutput>;
|
|
547
|
+
inviteUsers: (input: InviteUsersInput, config?: Partial<Rest.Config>) => rxjs.Observable<InviteUsersSummaryDto>;
|
|
495
548
|
lock: (id: string, lockoutEnd: string, config?: Partial<Rest.Config>) => rxjs.Observable<void>;
|
|
549
|
+
resendInvitation: (input: ResendInvitationInput, config?: Partial<Rest.Config>) => rxjs.Observable<void>;
|
|
496
550
|
setTwoFactorEnabled: (id: string, enabled: boolean, config?: Partial<Rest.Config>) => rxjs.Observable<void>;
|
|
497
551
|
unlock: (id: string, config?: Partial<Rest.Config>) => rxjs.Observable<void>;
|
|
498
552
|
update: (id: string, input: IdentityUserUpdateDto, config?: Partial<Rest.Config>) => rxjs.Observable<IdentityUserDto>;
|
|
@@ -526,5 +580,5 @@ declare class OrganizationUnitService {
|
|
|
526
580
|
static ɵprov: i0.ɵɵInjectableDeclaration<OrganizationUnitService>;
|
|
527
581
|
}
|
|
528
582
|
|
|
529
|
-
export { IdentityClaimTypeService, IdentityClaimValueType, IdentityExternalLoginService, IdentityProPreventConcurrentLoginBehaviour, IdentityRoleService, IdentitySecurityLogService, IdentitySessionService, IdentitySettingsService, IdentityUserLookupService, IdentityUserService, ImportUsersFromFileType, OrganizationUnitService, index_d as Settings, identityClaimValueTypeOptions, identityProPreventConcurrentLoginBehaviourOptions, importUsersFromFileTypeOptions };
|
|
530
|
-
export type { ClaimTypeDto, CreateClaimTypeDto, DownloadTokenResultDto, ExternalLoginProviderDto, GetAvailableRolesInput, GetAvailableUsersInput, GetIdentityClaimTypesInput, GetIdentityRoleListInput, GetIdentitySecurityLogListInput, GetIdentitySessionListInput, GetIdentityUserListAsFileInput, GetIdentityUsersInput, GetImportInvalidUsersFileInput, GetImportUsersSampleFileInput, GetMembersInput, GetOrganizationUnitInput, IRemoteStreamContent, IdentityLdapSettingsDto, IdentityLockoutSettingsDto, IdentityOAuthSettingsDto, IdentityPasswordSettingsDto, IdentityRoleClaimDto, IdentityRoleCreateDto, IdentityRoleCreateOrUpdateDtoBase, IdentityRoleDto, IdentityRoleLookupDto, IdentityRoleUpdateDto, IdentitySecurityLogDto, IdentitySessionDto, IdentitySessionSettingsDto, IdentitySettingsDto, IdentitySignInSettingsDto, IdentityUserClaimDto, IdentityUserCreateDto, IdentityUserCreateOrUpdateDtoBase, IdentityUserDto, IdentityUserSettingsDto, IdentityUserUpdateDto, IdentityUserUpdatePasswordInput, IdentityUserUpdateRolesDto, ImportExternalUserInput, ImportUsersFromFileInputWithStream, ImportUsersFromFileOutput, OrganizationUnitCreateDto, OrganizationUnitCreateOrUpdateDtoBase, OrganizationUnitDto, OrganizationUnitLookupDto, OrganizationUnitMoveInput, OrganizationUnitRoleDto, OrganizationUnitRoleInput, OrganizationUnitUpdateDto, OrganizationUnitUserInput, OrganizationUnitWithDetailsDto, UpdateClaimTypeDto, UserData, UserLookupCountInputDto, UserLookupSearchInputDto };
|
|
583
|
+
export { IdentityClaimTypeService, IdentityClaimValueType, IdentityExternalLoginService, IdentityProPreventConcurrentLoginBehaviour, IdentityRoleService, IdentitySecurityLogService, IdentitySessionService, IdentitySettingsService, IdentityUserLookupService, IdentityUserService, ImportUsersFromFileType, OrganizationUnitService, index_d$2 as Settings, UserInvitationStatus, index_d$1 as UserInvitations, index_d as UserSharing, identityClaimValueTypeOptions, identityProPreventConcurrentLoginBehaviourOptions, importUsersFromFileTypeOptions, userInvitationStatusOptions };
|
|
584
|
+
export type { ClaimTypeDto, CreateClaimTypeDto, DownloadTokenResultDto, ExternalLoginProviderDto, GetAvailableRolesInput, GetAvailableUsersInput, GetIdentityClaimTypesInput, GetIdentityRoleListInput, GetIdentitySecurityLogListInput, GetIdentitySessionListInput, GetIdentityUserListAsFileInput, GetIdentityUsersInput, GetImportInvalidUsersFileInput, GetImportUsersSampleFileInput, GetMembersInput, GetOrganizationUnitInput, GetPendingInvitationsInput, IRemoteStreamContent, IdentityLdapSettingsDto, IdentityLockoutSettingsDto, IdentityOAuthSettingsDto, IdentityPasswordSettingsDto, IdentityRoleClaimDto, IdentityRoleCreateDto, IdentityRoleCreateOrUpdateDtoBase, IdentityRoleDto, IdentityRoleLookupDto, IdentityRoleUpdateDto, IdentitySecurityLogDto, IdentitySessionDto, IdentitySessionSettingsDto, IdentitySettingsDto, IdentitySignInSettingsDto, IdentityUserClaimDto, IdentityUserCreateDto, IdentityUserCreateOrUpdateDtoBase, IdentityUserDto, IdentityUserSettingsDto, IdentityUserUpdateDto, IdentityUserUpdatePasswordInput, IdentityUserUpdateRolesDto, ImportExternalUserInput, ImportUsersFromFileInputWithStream, ImportUsersFromFileOutput, InviteUsersInput, InviteUsersSummaryDto, OrganizationUnitCreateDto, OrganizationUnitCreateOrUpdateDtoBase, OrganizationUnitDto, OrganizationUnitLookupDto, OrganizationUnitMoveInput, OrganizationUnitRoleDto, OrganizationUnitRoleInput, OrganizationUnitUpdateDto, OrganizationUnitUserInput, OrganizationUnitWithDetailsDto, ResendInvitationInput, UpdateClaimTypeDto, UserData, UserLookupCountInputDto, UserLookupSearchInputDto, UserSharingInvitationDto };
|
|
@@ -5,11 +5,11 @@ import { UntypedFormBuilder, UntypedFormGroup, AbstractControl, FormBuilder, For
|
|
|
5
5
|
import * as i5 from '@abp/ng.theme.shared';
|
|
6
6
|
import { ConfirmationService, Confirmation, ToasterService } from '@abp/ng.theme.shared';
|
|
7
7
|
import * as _volo_abp_ng_identity_proxy from '@volo/abp.ng.identity/proxy';
|
|
8
|
-
import { IdentityUserService, ExternalLoginProviderDto, ImportUsersFromFileType, IdentityRoleService, OrganizationUnitService, IdentityRoleDto, IdentityUserDto, OrganizationUnitDto, GetIdentityUsersInput, OrganizationUnitWithDetailsDto, OrganizationUnitLookupDto, IdentityRoleLookupDto, ClaimTypeDto, IdentityUserClaimDto, IdentityRoleClaimDto, IdentityClaimTypeService, IdentitySecurityLogService, IdentitySecurityLogDto, GetIdentitySecurityLogListInput, IdentitySessionService, IdentitySessionDto } from '@volo/abp.ng.identity/proxy';
|
|
8
|
+
import { IdentityUserService, ExternalLoginProviderDto, ImportUsersFromFileType, IdentityRoleService, OrganizationUnitService, IdentityRoleDto, IdentityUserDto, OrganizationUnitDto, GetIdentityUsersInput, OrganizationUnitWithDetailsDto, OrganizationUnitLookupDto, IdentityRoleLookupDto, ClaimTypeDto, IdentityUserClaimDto, IdentityRoleClaimDto, IdentityClaimTypeService, IdentitySecurityLogService, IdentitySecurityLogDto, GetIdentitySecurityLogListInput, IdentitySessionService, IdentitySessionDto, UserSharingInvitationDto } from '@volo/abp.ng.identity/proxy';
|
|
9
9
|
import * as rxjs from 'rxjs';
|
|
10
10
|
import { Observable } from 'rxjs';
|
|
11
11
|
import * as _abp_ng_core from '@abp/ng.core';
|
|
12
|
-
import { AbpWindowService, SubscriptionService, ConfigStateService, ListService, PagedResultDto, ABP, TreeNode as TreeNode$1, TrackByService, AuthService } from '@abp/ng.core';
|
|
12
|
+
import { AbpWindowService, SubscriptionService, ConfigStateService, ListService, PagedResultDto, ABP, TreeNode as TreeNode$1, TrackByService, AuthService, EnvironmentService } from '@abp/ng.core';
|
|
13
13
|
import * as i8 from '@abp/ng.components/tree';
|
|
14
14
|
import { TreeNode, BaseNode, TreeAdapter, DropEvent } from '@abp/ng.components/tree';
|
|
15
15
|
import * as i1 from '@angular/router';
|
|
@@ -111,6 +111,7 @@ declare class UsersComponent implements OnInit {
|
|
|
111
111
|
expandedKeys: any[];
|
|
112
112
|
selectFn: () => boolean;
|
|
113
113
|
};
|
|
114
|
+
isInviteModalVisible: boolean;
|
|
114
115
|
isLockModalVisible: boolean;
|
|
115
116
|
twoFactor: {
|
|
116
117
|
isModalVisible: boolean;
|
|
@@ -131,6 +132,7 @@ declare class UsersComponent implements OnInit {
|
|
|
131
132
|
buildForm(): void;
|
|
132
133
|
openModal(): void;
|
|
133
134
|
onAdd(): void;
|
|
135
|
+
openInviteModal(): void;
|
|
134
136
|
onEdit(id: string): void;
|
|
135
137
|
save(): void;
|
|
136
138
|
delete(id: string, userName: string): void;
|
|
@@ -791,6 +793,53 @@ declare class UserSessionDetailComponent implements OnInit {
|
|
|
791
793
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserSessionDetailComponent, "abp-user-session-detail", never, { "isModalVisible": { "alias": "isModalVisible"; "required": false; "isSignal": true; }; "sessionId": { "alias": "sessionId"; "required": true; "isSignal": true; }; }, { "isModalVisible": "isModalVisibleChange"; }, never, never, true, never>;
|
|
792
794
|
}
|
|
793
795
|
|
|
796
|
+
declare class InviteUsersModalComponent implements OnInit {
|
|
797
|
+
protected readonly userService: IdentityUserService;
|
|
798
|
+
protected readonly toasterService: ToasterService;
|
|
799
|
+
protected readonly confirmationService: ConfirmationService;
|
|
800
|
+
protected readonly environmentService: EnvironmentService;
|
|
801
|
+
protected readonly list: ListService<any>;
|
|
802
|
+
protected readonly destroyRef: DestroyRef;
|
|
803
|
+
protected readonly appName: _angular_core.Signal<"MVC" | "Angular">;
|
|
804
|
+
readonly visible: _angular_core.ModelSignal<boolean>;
|
|
805
|
+
readonly saved: _angular_core.OutputEmitterRef<void>;
|
|
806
|
+
activeTab: string;
|
|
807
|
+
busy: boolean;
|
|
808
|
+
emailText: string;
|
|
809
|
+
roles: IdentityRoleDto[];
|
|
810
|
+
selectedRoleName: string | null;
|
|
811
|
+
invitationData: PagedResultDto<UserSharingInvitationDto>;
|
|
812
|
+
private pendingHooked;
|
|
813
|
+
modalOptions: {
|
|
814
|
+
size: string;
|
|
815
|
+
};
|
|
816
|
+
ngOnInit(): void;
|
|
817
|
+
onTabChange(tabId: string): void;
|
|
818
|
+
protected loadRoles(): void;
|
|
819
|
+
sendInvitation(): void;
|
|
820
|
+
private parseEmails;
|
|
821
|
+
protected hookPendingInvitations(): void;
|
|
822
|
+
resend(row: UserSharingInvitationDto): void;
|
|
823
|
+
cancelInvitation(row: UserSharingInvitationDto): void;
|
|
824
|
+
cancelAll(): void;
|
|
825
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InviteUsersModalComponent, never>;
|
|
826
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InviteUsersModalComponent, "abp-invite-users-modal", never, { "visible": { "alias": "visible"; "required": false; "isSignal": true; }; }, { "visible": "visibleChange"; "saved": "saved"; }, never, never, true, never>;
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
declare class CreateUserDropdownComponent {
|
|
830
|
+
data: Readonly<{
|
|
831
|
+
getInjected: <T>(token: _angular_core.Type<T> | _angular_core.InjectionToken<T>, notFoundValue?: T, flags?: _angular_core.InjectOptions) => T;
|
|
832
|
+
index?: number;
|
|
833
|
+
record: any;
|
|
834
|
+
}>;
|
|
835
|
+
component: UsersComponent;
|
|
836
|
+
constructor();
|
|
837
|
+
onAdd(): void;
|
|
838
|
+
openInviteModal(): void;
|
|
839
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CreateUserDropdownComponent, never>;
|
|
840
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CreateUserDropdownComponent, "abp-create-user-dropdown", never, {}, {}, never, never, true, never>;
|
|
841
|
+
}
|
|
842
|
+
|
|
794
843
|
declare const DEFAULT_CLAIMS_ENTITY_ACTIONS: EntityAction<ClaimTypeDto>[];
|
|
795
844
|
|
|
796
845
|
declare const DEFAULT_CLAIMS_ENTITY_PROPS: EntityProp<ClaimTypeDto>[];
|
|
@@ -833,8 +882,7 @@ declare const DEFAULT_USERS_ENTITY_ACTIONS: EntityAction<IdentityUserDto>[];
|
|
|
833
882
|
declare const DEFAULT_USERS_ENTITY_PROPS: EntityProp<IdentityUserDto>[];
|
|
834
883
|
|
|
835
884
|
declare const DEFAULT_USERS_TOOLBAR_COMPONENTS: ToolbarComponent<IdentityUserDto[]>[];
|
|
836
|
-
declare const
|
|
837
|
-
declare const DEFAULT_USERS_TOOLBAR_ALL: (ToolbarComponent<IdentityUserDto[]> | ToolbarAction<IdentityUserDto[]>)[];
|
|
885
|
+
declare const DEFAULT_USERS_TOOLBAR_ALL: ToolbarComponent<IdentityUserDto[]>[];
|
|
838
886
|
|
|
839
887
|
declare const DEFAULT_USERS_CREATE_FORM_PROPS: FormProp<IdentityUserDto>[];
|
|
840
888
|
declare const DEFAULT_USERS_EDIT_FORM_PROPS: FormProp<IdentityUserDto>[];
|
|
@@ -886,7 +934,7 @@ declare const DEFAULT_IDENTITY_ENTITY_ACTIONS: {
|
|
|
886
934
|
declare const DEFAULT_IDENTITY_TOOLBAR_ACTIONS: {
|
|
887
935
|
"Identity.ClaimsComponent": _abp_ng_components_extensible.ToolbarAction<ClaimTypeDto[]>[];
|
|
888
936
|
"Identity.RolesComponent": _abp_ng_components_extensible.ToolbarAction<IdentityRoleDto[]>[];
|
|
889
|
-
"Identity.UsersComponent":
|
|
937
|
+
"Identity.UsersComponent": _abp_ng_components_extensible.ToolbarComponent<IdentityUserDto[]>[];
|
|
890
938
|
"Identity.OrganizationUnitsComponent": _abp_ng_components_extensible.ToolbarAction<OrganizationUnitWithDetailsDto[]>[];
|
|
891
939
|
"Identity.SecurityLogs": _abp_ng_components_extensible.ToolbarAction<IdentitySecurityLogDto$1[]>[];
|
|
892
940
|
};
|
|
@@ -950,5 +998,5 @@ declare const identityExtensionsResolver: ResolveFn<any>;
|
|
|
950
998
|
|
|
951
999
|
declare function regexValidator(regexPattern: string, regexDescription: string, injector: Injector): ValidatorFn;
|
|
952
1000
|
|
|
953
|
-
export { AbstractOrganizationUnitComponent, ClaimModalComponent, ClaimsComponent, DEFAULT_CLAIMS_CREATE_FORM_PROPS, DEFAULT_CLAIMS_EDIT_FORM_PROPS, DEFAULT_CLAIMS_ENTITY_ACTIONS, DEFAULT_CLAIMS_ENTITY_PROPS, DEFAULT_CLAIMS_TOOLBAR_ACTIONS, DEFAULT_IDENTITY_CREATE_FORM_PROPS, DEFAULT_IDENTITY_EDIT_FORM_PROPS, DEFAULT_IDENTITY_ENTITY_ACTIONS, DEFAULT_IDENTITY_ENTITY_PROPS, DEFAULT_IDENTITY_TOOLBAR_ACTIONS, DEFAULT_ORGANIZATION_MEMBERS_ENTITY_ACTIONS, DEFAULT_ORGANIZATION_MEMBERS_ENTITY_PROPS, DEFAULT_ORGANIZATION_ROLES_ENTITY_ACTIONS, DEFAULT_ORGANIZATION_ROLES_ENTITY_PROPS, DEFAULT_ORGANIZATION_UNITS_CREATE_FORM_PROPS, DEFAULT_ORGANIZATION_UNITS_EDIT_FORM_PROPS, DEFAULT_ORGANIZATION_UNITS_TOOLBAR_ACTIONS, DEFAULT_ROLES_CREATE_FORM_PROPS, DEFAULT_ROLES_EDIT_FORM_PROPS, DEFAULT_ROLES_ENTITY_ACTIONS, DEFAULT_ROLES_ENTITY_PROPS, DEFAULT_ROLES_TOOLBAR_ACTIONS, DEFAULT_SECURITY_LOGS_ENTITY_ACTIONS, DEFAULT_SECURITY_LOGS_ENTITY_PROPS, DEFAULT_SECURITY_LOGS_TOOLBAR_ACTIONS, DEFAULT_USERS_CREATE_FORM_PROPS, DEFAULT_USERS_EDIT_FORM_PROPS, DEFAULT_USERS_ENTITY_ACTIONS, DEFAULT_USERS_ENTITY_PROPS,
|
|
1001
|
+
export { AbstractOrganizationUnitComponent, ClaimModalComponent, ClaimsComponent, CreateUserDropdownComponent, DEFAULT_CLAIMS_CREATE_FORM_PROPS, DEFAULT_CLAIMS_EDIT_FORM_PROPS, DEFAULT_CLAIMS_ENTITY_ACTIONS, DEFAULT_CLAIMS_ENTITY_PROPS, DEFAULT_CLAIMS_TOOLBAR_ACTIONS, DEFAULT_IDENTITY_CREATE_FORM_PROPS, DEFAULT_IDENTITY_EDIT_FORM_PROPS, DEFAULT_IDENTITY_ENTITY_ACTIONS, DEFAULT_IDENTITY_ENTITY_PROPS, DEFAULT_IDENTITY_TOOLBAR_ACTIONS, DEFAULT_ORGANIZATION_MEMBERS_ENTITY_ACTIONS, DEFAULT_ORGANIZATION_MEMBERS_ENTITY_PROPS, DEFAULT_ORGANIZATION_ROLES_ENTITY_ACTIONS, DEFAULT_ORGANIZATION_ROLES_ENTITY_PROPS, DEFAULT_ORGANIZATION_UNITS_CREATE_FORM_PROPS, DEFAULT_ORGANIZATION_UNITS_EDIT_FORM_PROPS, DEFAULT_ORGANIZATION_UNITS_TOOLBAR_ACTIONS, DEFAULT_ROLES_CREATE_FORM_PROPS, DEFAULT_ROLES_EDIT_FORM_PROPS, DEFAULT_ROLES_ENTITY_ACTIONS, DEFAULT_ROLES_ENTITY_PROPS, DEFAULT_ROLES_TOOLBAR_ACTIONS, DEFAULT_SECURITY_LOGS_ENTITY_ACTIONS, DEFAULT_SECURITY_LOGS_ENTITY_PROPS, DEFAULT_SECURITY_LOGS_TOOLBAR_ACTIONS, DEFAULT_USERS_CREATE_FORM_PROPS, DEFAULT_USERS_EDIT_FORM_PROPS, DEFAULT_USERS_ENTITY_ACTIONS, DEFAULT_USERS_ENTITY_PROPS, DEFAULT_USERS_TOOLBAR_ALL, DEFAULT_USERS_TOOLBAR_COMPONENTS, DeleteOrganizationUnitComponent, DeleteOrganizationUnitService, ExcelService, ExportDataDropdownComponent, ExternalLoginComponent, IDENTITY_CREATE_FORM_PROP_CONTRIBUTORS, IDENTITY_EDIT_FORM_PROP_CONTRIBUTORS, IDENTITY_ENTITY_ACTION_CONTRIBUTORS, IDENTITY_ENTITY_PROP_CONTRIBUTORS, IDENTITY_TOOLBAR_ACTION_CONTRIBUTORS, Identity, IdentityExtensionsGuard, IdentityModule, InviteUsersModalComponent, MoveAllUsersComponent, MoveAllUsersOfUnitComponent, MoveAllUsersOfUnitModalService, ORGANIZATION_UNIT_CONFIG, OrganizationMembersComponent, OrganizationMembersModalBodyComponent, OrganizationRolesComponent, OrganizationRolesModalBodyComponent, OrganizationUnitDeleteValidator, OrganizationUnitsComponent, OrganizationUnitsStateService, RoleDeleteComponent, RoleDeleteValidator, RolesComponent, RolesModalComponent, SecurityLogsComponent, SelectedOrganizationUnitComponent, SetUserPasswordComponent, UploadExcelFileComponent, UserDropdownMenuComponent, UserLockModalComponent, UserLockService, UserSessionDetailComponent, UserSessionsComponent, UserViewDetailService, UserViewDetailsComponent, UsersComponent, createRoutes, eIdentityComponents, eIdentityTwoFactorBehaviour, identityExtensionsResolver, identityTwoFactorBehaviourOptions, regexValidator };
|
|
954
1002
|
export type { IdentityConfigOptions, IdentityCreateFormPropContributors, IdentityEditFormPropContributors, IdentityEntityActionContributors, IdentityEntityPropContributors, IdentityToolbarActionContributors, OrganizationTreeModel, OrganizationUnitConfig, OrganizationUnitsState };
|