@acorex/modules 1.0.0
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/README.md +7 -0
- package/auth/README.md +3 -0
- package/auth/index.d.ts +3 -0
- package/auth/lib/account/account.module.d.ts +8 -0
- package/auth/lib/account/app-chooser/app-chooser-list.component.d.ts +11 -0
- package/auth/lib/account/app-chooser/app-chooser-slot.component.d.ts +12 -0
- package/auth/lib/account/app-chooser/app-chooser.component.d.ts +13 -0
- package/auth/lib/account/profile/profile-slot.component.d.ts +16 -0
- package/auth/lib/account/tenant-chooser/tenant-chooser-dropdown.component.d.ts +10 -0
- package/auth/lib/account/tenant-chooser/tenant-chooser.component.d.ts +21 -0
- package/auth/lib/auth.config.d.ts +23 -0
- package/auth/lib/auth.module.d.ts +14 -0
- package/auth/lib/auth.routes.d.ts +2 -0
- package/auth/lib/error-handler.d.ts +10 -0
- package/auth/lib/forgot/password/password.component.d.ts +11 -0
- package/auth/lib/forgot/routes.d.ts +3 -0
- package/auth/lib/login/login.module.d.ts +7 -0
- package/auth/lib/login/password/password.component.d.ts +22 -0
- package/auth/lib/register/email/email.component.d.ts +5 -0
- package/auth/lib/register/register.module.d.ts +7 -0
- package/auth/lib/register/result/result.component.d.ts +5 -0
- package/auth/lib/shared/layouts/blank/blank.layout.d.ts +8 -0
- package/auth/lib/shared/layouts/master/master.layout.d.ts +7 -0
- package/auth/lib/shared/services/idle.service.d.ts +17 -0
- package/auth/lib/shared/services/index.d.ts +1 -0
- package/auth/lib/store/auth.effects.d.ts +18 -0
- package/auth/lib/store/index.d.ts +1 -0
- package/auth/lib/two-factor/two-factor-code/two-factor-code.component.d.ts +8 -0
- package/auth/lib/two-factor/two-factor.module.d.ts +7 -0
- package/backend/README.md +4 -0
- package/backend/index.d.ts +2 -0
- package/backend/lib/auth/oidc/application.loader.d.ts +16 -0
- package/backend/lib/auth/oidc/feature.loader.d.ts +5 -0
- package/backend/lib/auth/oidc/index.d.ts +5 -0
- package/backend/lib/auth/oidc/oidc.strategy.d.ts +19 -0
- package/backend/lib/auth/oidc/permission.loader.d.ts +5 -0
- package/backend/lib/auth/oidc/signincallback.component.d.ts +13 -0
- package/backend/lib/auth/oidc/tenant.loader.d.ts +16 -0
- package/backend/lib/auth/oidc/usermanager.service.d.ts +12 -0
- package/backend/lib/auth/userpass/application.loader.d.ts +6 -0
- package/backend/lib/auth/userpass/index.d.ts +4 -0
- package/backend/lib/auth/userpass/permission.loader.d.ts +5 -0
- package/backend/lib/auth/userpass/tenant.loader.d.ts +6 -0
- package/backend/lib/auth/userpass/userpass.strategy.d.ts +12 -0
- package/backend/lib/backend.configs.d.ts +99 -0
- package/backend/lib/backend.module.d.ts +8 -0
- package/backend/lib/data/api/data-provider.d.ts +21 -0
- package/esm2022/acorex-modules.mjs +5 -0
- package/esm2022/auth/acorex-modules-auth.mjs +5 -0
- package/esm2022/auth/index.mjs +4 -0
- package/esm2022/auth/lib/account/account.module.mjs +106 -0
- package/esm2022/auth/lib/account/app-chooser/app-chooser-list.component.mjs +31 -0
- package/esm2022/auth/lib/account/app-chooser/app-chooser-slot.component.mjs +41 -0
- package/esm2022/auth/lib/account/app-chooser/app-chooser.component.mjs +62 -0
- package/esm2022/auth/lib/account/profile/profile-slot.component.mjs +56 -0
- package/esm2022/auth/lib/account/tenant-chooser/tenant-chooser-dropdown.component.mjs +26 -0
- package/esm2022/auth/lib/account/tenant-chooser/tenant-chooser.component.mjs +81 -0
- package/esm2022/auth/lib/auth.config.mjs +22 -0
- package/esm2022/auth/lib/auth.module.mjs +45 -0
- package/esm2022/auth/lib/auth.routes.mjs +38 -0
- package/esm2022/auth/lib/error-handler.mjs +41 -0
- package/esm2022/auth/lib/forgot/password/password.component.mjs +56 -0
- package/esm2022/auth/lib/forgot/routes.mjs +7 -0
- package/esm2022/auth/lib/login/login.module.mjs +53 -0
- package/esm2022/auth/lib/login/password/password.component.mjs +99 -0
- package/esm2022/auth/lib/register/email/email.component.mjs +42 -0
- package/esm2022/auth/lib/register/register.module.mjs +59 -0
- package/esm2022/auth/lib/register/result/result.component.mjs +33 -0
- package/esm2022/auth/lib/shared/layouts/blank/blank.layout.mjs +15 -0
- package/esm2022/auth/lib/shared/layouts/master/master.layout.mjs +21 -0
- package/esm2022/auth/lib/shared/services/idle.service.mjs +42 -0
- package/esm2022/auth/lib/shared/services/index.mjs +2 -0
- package/esm2022/auth/lib/store/auth.effects.mjs +90 -0
- package/esm2022/auth/lib/store/index.mjs +3 -0
- package/esm2022/auth/lib/two-factor/two-factor-code/two-factor-code.component.mjs +37 -0
- package/esm2022/auth/lib/two-factor/two-factor.module.mjs +42 -0
- package/esm2022/backend/acorex-modules-backend.mjs +5 -0
- package/esm2022/backend/index.mjs +3 -0
- package/esm2022/backend/lib/auth/oidc/application.loader.mjs +47 -0
- package/esm2022/backend/lib/auth/oidc/feature.loader.mjs +7 -0
- package/esm2022/backend/lib/auth/oidc/index.mjs +6 -0
- package/esm2022/backend/lib/auth/oidc/oidc.strategy.mjs +77 -0
- package/esm2022/backend/lib/auth/oidc/permission.loader.mjs +7 -0
- package/esm2022/backend/lib/auth/oidc/signincallback.component.mjs +26 -0
- package/esm2022/backend/lib/auth/oidc/tenant.loader.mjs +41 -0
- package/esm2022/backend/lib/auth/oidc/usermanager.service.mjs +35 -0
- package/esm2022/backend/lib/auth/userpass/application.loader.mjs +30 -0
- package/esm2022/backend/lib/auth/userpass/index.mjs +5 -0
- package/esm2022/backend/lib/auth/userpass/permission.loader.mjs +12 -0
- package/esm2022/backend/lib/auth/userpass/tenant.loader.mjs +26 -0
- package/esm2022/backend/lib/auth/userpass/userpass.strategy.mjs +40 -0
- package/esm2022/backend/lib/backend.configs.mjs +3 -0
- package/esm2022/backend/lib/backend.module.mjs +106 -0
- package/esm2022/backend/lib/data/api/data-provider.mjs +67 -0
- package/esm2022/index.mjs +2 -0
- package/esm2022/notification/acorex-modules-notification.mjs +5 -0
- package/esm2022/notification/index.mjs +2 -0
- package/esm2022/notification/lib/notification.module.mjs +16 -0
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-3tiGzryz.mjs +484 -0
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-3tiGzryz.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-app-chooser.component-Hh2T5orM.mjs +70 -0
- package/fesm2022/acorex-modules-auth-app-chooser.component-Hh2T5orM.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-blank.layout-0xNRyD5z.mjs +18 -0
- package/fesm2022/acorex-modules-auth-blank.layout-0xNRyD5z.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-email.component-ZbTwT8iu.mjs +45 -0
- package/fesm2022/acorex-modules-auth-email.component-ZbTwT8iu.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-login.module-lGs54nBU.mjs +71 -0
- package/fesm2022/acorex-modules-auth-login.module-lGs54nBU.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-master.layout-ytopPv2z.mjs +37 -0
- package/fesm2022/acorex-modules-auth-master.layout-ytopPv2z.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-password.component-Q9Me4kkK.mjs +72 -0
- package/fesm2022/acorex-modules-auth-password.component-Q9Me4kkK.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-password.component-p1Ks9S5q.mjs +110 -0
- package/fesm2022/acorex-modules-auth-password.component-p1Ks9S5q.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-register.module-ckbVm-yf.mjs +77 -0
- package/fesm2022/acorex-modules-auth-register.module-ckbVm-yf.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-result.component-ORUU7lkV.mjs +36 -0
- package/fesm2022/acorex-modules-auth-result.component-ORUU7lkV.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-routes-jgo2XGe0.mjs +9 -0
- package/fesm2022/acorex-modules-auth-routes-jgo2XGe0.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-PeGg21Im.mjs +84 -0
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-PeGg21Im.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-two-factor-code.component-fP6CLq9T.mjs +40 -0
- package/fesm2022/acorex-modules-auth-two-factor-code.component-fP6CLq9T.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-two-factor.module--fcoNW-s.mjs +60 -0
- package/fesm2022/acorex-modules-auth-two-factor.module--fcoNW-s.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth.mjs +19 -0
- package/fesm2022/acorex-modules-auth.mjs.map +1 -0
- package/fesm2022/acorex-modules-backend.mjs +488 -0
- package/fesm2022/acorex-modules-backend.mjs.map +1 -0
- package/fesm2022/acorex-modules-notification.mjs +23 -0
- package/fesm2022/acorex-modules-notification.mjs.map +1 -0
- package/fesm2022/acorex-modules.mjs +6 -0
- package/fesm2022/acorex-modules.mjs.map +1 -0
- package/index.d.ts +2 -0
- package/notification/README.md +4 -0
- package/notification/index.d.ts +1 -0
- package/notification/lib/notification.module.d.ts +6 -0
- package/package.json +44 -0
package/README.md
ADDED
package/auth/README.md
ADDED
package/auth/index.d.ts
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "@angular/router";
|
3
|
+
import * as i2 from "@acorex/platform/common";
|
4
|
+
export declare class AXPAccountModule {
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPAccountModule, never>;
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPAccountModule, never, [typeof i1.RouterModule, typeof i2.AXPComponentSlotModule], never>;
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXPAccountModule>;
|
8
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { AXPApplication } from '@acorex/platform/auth';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class AXPAppChooserListComponent {
|
4
|
+
private router;
|
5
|
+
private sessionService;
|
6
|
+
protected selectedApplication: AXPApplication | null;
|
7
|
+
protected applications$: import("rxjs").Observable<AXPApplication[]>;
|
8
|
+
chooseApplication(item: AXPApplication): Promise<void>;
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPAppChooserListComponent, never>;
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPAppChooserListComponent, "axp-app-chooser-list", never, {}, {}, never, never, true, never>;
|
11
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { AXPApplication } from "@acorex/platform/auth";
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class AXMAppChooserSlotComponent {
|
4
|
+
private sessionService;
|
5
|
+
protected tenant$: import("rxjs").Observable<import("@acorex/platform/auth").AXPTenant | null>;
|
6
|
+
protected application$: import("rxjs").Observable<AXPApplication | null>;
|
7
|
+
protected applications$: import("rxjs").Observable<AXPApplication[]>;
|
8
|
+
private router;
|
9
|
+
chooseApplication(item: AXPApplication): Promise<void>;
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMAppChooserSlotComponent, never>;
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMAppChooserSlotComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
12
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class AXPAuthAppChooserComponent {
|
3
|
+
private router;
|
4
|
+
protected platformConfig: import("@acorex/platform/common").AXPPlatformConfigs;
|
5
|
+
private sessionService;
|
6
|
+
protected user: import("@acorex/platform/auth").AXPUser | null;
|
7
|
+
protected tenants$: import("rxjs").Observable<import("@acorex/platform/auth").AXPTenant[]>;
|
8
|
+
protected tenant: import("@acorex/platform/auth").AXPTenant | null;
|
9
|
+
tenantChooser(): void;
|
10
|
+
handleSignout(): Promise<void>;
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPAuthAppChooserComponent, never>;
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPAuthAppChooserComponent, "axp-auth-app-chooser", never, {}, {}, never, never, true, never>;
|
13
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { AXPopoverComponent } from "@acorex/components/popover";
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class AXMAuthProfileSlotComponent {
|
4
|
+
private router;
|
5
|
+
private sessionService;
|
6
|
+
protected user$: import("rxjs").Observable<import("@acorex/platform/auth").AXPUser | null>;
|
7
|
+
protected tenant$: import("rxjs").Observable<import("@acorex/platform/auth").AXPTenant | null>;
|
8
|
+
protected isAuthenticated$: import("rxjs").Observable<boolean>;
|
9
|
+
profilePopover: AXPopoverComponent;
|
10
|
+
editProfile(): void;
|
11
|
+
logOut(): Promise<void>;
|
12
|
+
toggleProfileMenu(): void;
|
13
|
+
protected handleSignIn(): void;
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMAuthProfileSlotComponent, never>;
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMAuthProfileSlotComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
16
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class AXPTenantChooserDropdownComponent {
|
3
|
+
private router;
|
4
|
+
private sessionService;
|
5
|
+
protected tenants$: import("rxjs").Observable<import("@acorex/platform/auth").AXPTenant[]>;
|
6
|
+
protected tenant: import("@acorex/platform/auth").AXPTenant | null;
|
7
|
+
tenantChooser(): void;
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPTenantChooserDropdownComponent, never>;
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPTenantChooserDropdownComponent, "axp-tenant-chooser-dropdown", never, {}, {}, never, never, true, never>;
|
10
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
2
|
+
import { AXPTenant } from '@acorex/platform/auth';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class AXPAuthTenantChooserComponent implements OnInit, OnDestroy {
|
5
|
+
private router;
|
6
|
+
protected platformConfig: import("@acorex/platform/common").AXPPlatformConfigs;
|
7
|
+
private sessionService;
|
8
|
+
private subscription;
|
9
|
+
protected user: import("@acorex/platform/auth").AXPUser | null;
|
10
|
+
protected showAll: boolean;
|
11
|
+
protected selectedTenant: AXPTenant | null;
|
12
|
+
protected displayedTenants: AXPTenant[];
|
13
|
+
protected allTenants: AXPTenant[];
|
14
|
+
protected handleChooseTenant(item: AXPTenant): Promise<void>;
|
15
|
+
ngOnInit(): void;
|
16
|
+
showAllTenants(): void;
|
17
|
+
handleSignout(): Promise<void>;
|
18
|
+
ngOnDestroy(): void;
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPAuthTenantChooserComponent, never>;
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPAuthTenantChooserComponent, "axp-auth-tenant-chooser", never, {}, {}, never, never, true, never>;
|
21
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
2
|
+
import { UserManagerSettings } from 'oidc-client-ts';
|
3
|
+
export declare enum AXMAuthenticationTypes {
|
4
|
+
UsernamePassword = 0,
|
5
|
+
EmailPassword = 1,
|
6
|
+
MobilePassword = 2,
|
7
|
+
EmailCode = 3,
|
8
|
+
MobileCode = 4
|
9
|
+
}
|
10
|
+
export declare const AXM_AUTH_CONFIG_TOKEN: InjectionToken<AXMAuthConfigs>;
|
11
|
+
export interface AXMAuthConfigs {
|
12
|
+
type: AXMAuthenticationTypes;
|
13
|
+
oidc_settings?: UserManagerSettings;
|
14
|
+
end_url?: string;
|
15
|
+
apiResourceUrl?: string;
|
16
|
+
signinPage?: {
|
17
|
+
description: string;
|
18
|
+
slogan: string;
|
19
|
+
};
|
20
|
+
idleTimeout?: number;
|
21
|
+
}
|
22
|
+
export declare const AXMDefaultAuthConfigs: AXMAuthConfigs;
|
23
|
+
export declare function configAuthModule(config?: Partial<AXMAuthConfigs>): AXMAuthConfigs;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
import * as i1 from "@angular/common";
|
4
|
+
import * as i2 from "@acorex/platform/common";
|
5
|
+
import * as i3 from "@angular/common/http";
|
6
|
+
import * as i4 from "@angular/router";
|
7
|
+
import * as i5 from "@ngrx/effects";
|
8
|
+
import * as i6 from "./account/account.module";
|
9
|
+
export declare class AXMAuthModule {
|
10
|
+
static forRoot(): ModuleWithProviders<AXMAuthModule>;
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMAuthModule, never>;
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMAuthModule, never, [typeof i1.CommonModule, typeof i2.AXPCommonModule, typeof i3.HttpClientModule, typeof i4.RouterModule, typeof i5.EffectsFeatureModule, typeof i6.AXPAccountModule], never>;
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXMAuthModule>;
|
14
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { AXPErrorHandler } from "@acorex/platform/common";
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class AXMAuthErrorHandler implements AXPErrorHandler {
|
4
|
+
private router;
|
5
|
+
private zone;
|
6
|
+
constructor();
|
7
|
+
handleError(error: Error, next: (error: any) => void): void;
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMAuthErrorHandler, never>;
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMAuthErrorHandler>;
|
10
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { AXMAuthConfigs } from '../../auth.config';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class AXPForgetPasswordComponent implements OnInit {
|
5
|
+
protected l1: string;
|
6
|
+
protected l2: string;
|
7
|
+
protected configs: AXMAuthConfigs;
|
8
|
+
ngOnInit(): void;
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPForgetPasswordComponent, never>;
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPForgetPasswordComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
11
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "@angular/router";
|
3
|
+
export declare class AXPSignInModule {
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSignInModule, never>;
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPSignInModule, never, [typeof i1.RouterModule], never>;
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXPSignInModule>;
|
7
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
3
|
+
import { AXMAuthConfigs } from '../../auth.config';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class AXPLoginPasswordComponent implements OnInit {
|
6
|
+
protected configs: AXMAuthConfigs;
|
7
|
+
protected l1: string;
|
8
|
+
protected l2: string;
|
9
|
+
protected v1: string;
|
10
|
+
protected v2: string;
|
11
|
+
protected isLoading$: BehaviorSubject<boolean>;
|
12
|
+
protected submitText: string;
|
13
|
+
private dialogService;
|
14
|
+
private sessionService;
|
15
|
+
private form;
|
16
|
+
private router;
|
17
|
+
ngOnInit(): void;
|
18
|
+
protected handleForgotOnClick(): void;
|
19
|
+
protected handleLoginClick(): void;
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLoginPasswordComponent, never>;
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLoginPasswordComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
22
|
+
}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class AXPRegisterEmailComponent {
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPRegisterEmailComponent, never>;
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPRegisterEmailComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
5
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "@angular/router";
|
3
|
+
export declare class AXPRegisterModule {
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPRegisterModule, never>;
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPRegisterModule, never, [typeof i1.RouterModule], never>;
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXPRegisterModule>;
|
7
|
+
}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class AXPRegisterResultComponent {
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPRegisterResultComponent, never>;
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPRegisterResultComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
5
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class AXPAuthBlankLayoutComponent implements OnInit {
|
4
|
+
constructor();
|
5
|
+
ngOnInit(): void;
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPAuthBlankLayoutComponent, never>;
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPAuthBlankLayoutComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
8
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class AXPAuthMasterLayoutComponent {
|
3
|
+
protected authConfig: import("../../../auth.config").AXMAuthConfigs;
|
4
|
+
protected platformConfig: import("@acorex/platform/common").AXPPlatformConfigs;
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPAuthMasterLayoutComponent, never>;
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPAuthMasterLayoutComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
7
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { Observable } from 'rxjs';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class AXPIdleService {
|
4
|
+
private configs;
|
5
|
+
private idle$;
|
6
|
+
private timeoutDuration;
|
7
|
+
private userActivity$;
|
8
|
+
private idleSubscription;
|
9
|
+
constructor();
|
10
|
+
get idleState$(): Observable<void>;
|
11
|
+
private setupActivityListeners;
|
12
|
+
startWatching(): void;
|
13
|
+
resetTimer(): void;
|
14
|
+
stopWatching(): void;
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPIdleService, never>;
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPIdleService>;
|
17
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './idle.service';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { Router } from "@angular/router";
|
2
|
+
import { Actions } from "@ngrx/effects";
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class AXPAuthEffects {
|
5
|
+
private actions$;
|
6
|
+
private router;
|
7
|
+
private configs;
|
8
|
+
private sessionService;
|
9
|
+
private idleService;
|
10
|
+
private dialogService;
|
11
|
+
private dialogAlreadyOpen;
|
12
|
+
constructor(actions$: Actions, router: Router);
|
13
|
+
signout$: import("rxjs").Observable<never> & import("@ngrx/effects").CreateEffectMetadata;
|
14
|
+
signin$: import("rxjs").Observable<never> & import("@ngrx/effects").CreateEffectMetadata;
|
15
|
+
idle$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPAuthEffects, never>;
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPAuthEffects>;
|
18
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './auth.effects';
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class AXPAuthTwoFactorCodeComponent implements OnInit, OnDestroy {
|
4
|
+
ngOnInit(): void;
|
5
|
+
ngOnDestroy(): void;
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPAuthTwoFactorCodeComponent, never>;
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPAuthTwoFactorCodeComponent, "axp-auth-two-factor-code", never, {}, {}, never, never, true, never>;
|
8
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "@angular/router";
|
3
|
+
export declare class AXPTwoFactorModule {
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPTwoFactorModule, never>;
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPTwoFactorModule, never, [typeof i1.RouterModule], never>;
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXPTwoFactorModule>;
|
7
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { AXPApplication, AXPApplicationLoader, AXPTokens } from '@acorex/platform/auth';
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
3
|
+
import { Observable } from 'rxjs';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class AXMOidcApplicationLoader implements AXPApplicationLoader {
|
6
|
+
private http;
|
7
|
+
private configs;
|
8
|
+
private apiGetApps;
|
9
|
+
private apiSetApp;
|
10
|
+
constructor(http: HttpClient);
|
11
|
+
getList(): Observable<AXPApplication[]>;
|
12
|
+
set(application: AXPApplication): Observable<AXPTokens>;
|
13
|
+
private mapToAXPApplication;
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMOidcApplicationLoader, never>;
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMOidcApplicationLoader>;
|
16
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { AXPAuthStrategy, AXPBaseCredentials, AXPTokens } from '@acorex/platform/auth';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export interface AXPUserPassCredentials extends AXPBaseCredentials {
|
4
|
+
username: string;
|
5
|
+
password: string;
|
6
|
+
}
|
7
|
+
export declare class AXMOidcStrategy implements AXPAuthStrategy {
|
8
|
+
private userManagerService;
|
9
|
+
private userManager;
|
10
|
+
private injector;
|
11
|
+
constructor();
|
12
|
+
get name(): string;
|
13
|
+
signin(credentials: AXPUserPassCredentials): Promise<AXPTokens>;
|
14
|
+
signout(): Promise<void>;
|
15
|
+
refreshToken(refreshToken: string): Promise<AXPTokens>;
|
16
|
+
private generateAccessToken;
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMOidcStrategy, never>;
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMOidcStrategy>;
|
19
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
3
|
+
import { AXMOidcUserManagerService } from './usermanager.service';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class SignincallbackComponent implements OnInit {
|
6
|
+
private userManagerService;
|
7
|
+
private router;
|
8
|
+
private route;
|
9
|
+
constructor(userManagerService: AXMOidcUserManagerService, router: Router, route: ActivatedRoute);
|
10
|
+
ngOnInit(): void;
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SignincallbackComponent, never>;
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SignincallbackComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
13
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { AXPTenant, AXPTenantLoader, AXPTokens } from '@acorex/platform/auth';
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
3
|
+
import { Observable } from 'rxjs';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class AXMOidcTenantLoader implements AXPTenantLoader {
|
6
|
+
private http;
|
7
|
+
private configs;
|
8
|
+
private apiGetTenants;
|
9
|
+
private apiSetTenant;
|
10
|
+
constructor(http: HttpClient);
|
11
|
+
getList(): Observable<AXPTenant[]>;
|
12
|
+
set(tenant: AXPTenant): Observable<AXPTokens>;
|
13
|
+
private mapToAXPTenant;
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMOidcTenantLoader, never>;
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMOidcTenantLoader>;
|
16
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { AXMAuthConfigs } from '@acorex/modules/auth';
|
2
|
+
import { UserManager } from 'oidc-client-ts';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class AXMOidcUserManagerService {
|
5
|
+
private authConfig;
|
6
|
+
private userManager;
|
7
|
+
constructor(authConfig: AXMAuthConfigs);
|
8
|
+
getUserManager(): UserManager;
|
9
|
+
completeAuthentication(): void;
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMOidcUserManagerService, never>;
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMOidcUserManagerService>;
|
12
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { AXPApplication, AXPApplicationLoader, AXPTokens } from '@acorex/platform/auth';
|
2
|
+
import { Observable } from 'rxjs';
|
3
|
+
export declare class ASCApplicationLoader implements AXPApplicationLoader {
|
4
|
+
getList(): Observable<AXPApplication[]>;
|
5
|
+
set(application: AXPApplication): Observable<AXPTokens>;
|
6
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { AXPTenant, AXPTenantLoader, AXPTokens } from '@acorex/platform/auth';
|
2
|
+
import { Observable } from 'rxjs';
|
3
|
+
export declare class ASCTenantLoader implements AXPTenantLoader {
|
4
|
+
getList(): Observable<AXPTenant[]>;
|
5
|
+
set(tenant: AXPTenant): Observable<AXPTokens>;
|
6
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { AXPAuthStrategy, AXPBaseCredentials, AXPTokens } from '@acorex/platform/auth';
|
2
|
+
export interface AXPUserPassCredentials extends AXPBaseCredentials {
|
3
|
+
username: string;
|
4
|
+
password: string;
|
5
|
+
}
|
6
|
+
export declare class ASCUserPassStrategy implements AXPAuthStrategy {
|
7
|
+
get name(): string;
|
8
|
+
signin(credentials: AXPUserPassCredentials): Promise<AXPTokens>;
|
9
|
+
signout(): Promise<void>;
|
10
|
+
refreshToken(refreshToken: string): Promise<AXPTokens>;
|
11
|
+
private generateAccessToken;
|
12
|
+
}
|
@@ -0,0 +1,99 @@
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
2
|
+
export declare const AXM_BACKEND_CONFIG_TOKEN: InjectionToken<AXMBackendConfigs>;
|
3
|
+
export interface AXMBackendConfigs {
|
4
|
+
baseUrl: string;
|
5
|
+
}
|
6
|
+
export interface LocalizationValues {
|
7
|
+
Default?: any;
|
8
|
+
AbpLocalization?: {
|
9
|
+
DisplayName: string;
|
10
|
+
Description: string;
|
11
|
+
};
|
12
|
+
AbpTiming?: {
|
13
|
+
DisplayName: string;
|
14
|
+
Description: string;
|
15
|
+
};
|
16
|
+
}
|
17
|
+
export interface CurrentCulture {
|
18
|
+
displayName: string;
|
19
|
+
englishName: string;
|
20
|
+
threeLetterIsoLanguageName: string;
|
21
|
+
twoLetterIsoLanguageName: string;
|
22
|
+
isRightToLeft: boolean;
|
23
|
+
cultureName: string;
|
24
|
+
name: string;
|
25
|
+
nativeName: string;
|
26
|
+
dateTimeFormat: {
|
27
|
+
calendarAlgorithmType: string;
|
28
|
+
dateTimeFormatLong: string;
|
29
|
+
shortDatePattern: string;
|
30
|
+
fullDateTimePattern: string;
|
31
|
+
dateSeparator: string;
|
32
|
+
shortTimePattern: string;
|
33
|
+
longTimePattern: string;
|
34
|
+
};
|
35
|
+
}
|
36
|
+
export interface SettingValues {
|
37
|
+
'Abp.Localization.DefaultLanguage': string;
|
38
|
+
'Abp.Timing.TimeZone': string;
|
39
|
+
}
|
40
|
+
export interface User {
|
41
|
+
isAuthenticated: boolean;
|
42
|
+
id: string | null;
|
43
|
+
tenantId: string | null;
|
44
|
+
}
|
45
|
+
export interface FeaturesValues {
|
46
|
+
[key: string]: string;
|
47
|
+
}
|
48
|
+
export interface Tenant {
|
49
|
+
id: string | null;
|
50
|
+
name: string | null;
|
51
|
+
isAvailable: boolean;
|
52
|
+
}
|
53
|
+
export interface TimeZone {
|
54
|
+
iana: {
|
55
|
+
timeZoneName: string;
|
56
|
+
};
|
57
|
+
windows: {
|
58
|
+
timeZoneId: string;
|
59
|
+
};
|
60
|
+
}
|
61
|
+
export interface RootObject {
|
62
|
+
localization: {
|
63
|
+
values: LocalizationValues;
|
64
|
+
resources: any;
|
65
|
+
languages: any[];
|
66
|
+
currentCulture: CurrentCulture;
|
67
|
+
defaultResourceName: string | null;
|
68
|
+
languagesMap: any;
|
69
|
+
languageFilesMap: any;
|
70
|
+
};
|
71
|
+
auth: {
|
72
|
+
grantedPolicies: any;
|
73
|
+
};
|
74
|
+
setting: {
|
75
|
+
values: SettingValues;
|
76
|
+
};
|
77
|
+
currentUser: User;
|
78
|
+
features: {
|
79
|
+
values: FeaturesValues;
|
80
|
+
};
|
81
|
+
globalFeatures: {
|
82
|
+
enabledFeatures: any[];
|
83
|
+
};
|
84
|
+
multiTenancy: {
|
85
|
+
isEnabled: boolean;
|
86
|
+
};
|
87
|
+
currentTenant: Tenant;
|
88
|
+
timing: {
|
89
|
+
timeZone: TimeZone;
|
90
|
+
};
|
91
|
+
clock: {
|
92
|
+
kind: string;
|
93
|
+
};
|
94
|
+
objectExtensions: {
|
95
|
+
modules: any;
|
96
|
+
enums: any;
|
97
|
+
};
|
98
|
+
extraProperties: any;
|
99
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "@acorex/modules/auth";
|
3
|
+
import * as i2 from "@acorex/platform/auth";
|
4
|
+
export declare class AXMBackendModule {
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMBackendModule, never>;
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMBackendModule, never, [typeof i1.AXMAuthModule, typeof i2.AXPAuthModule], never>;
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXMBackendModule>;
|
8
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { AXPDataProvider } from '@acorex/platform/common';
|
2
|
+
import { AXPEntityConfig } from '@acorex/platform/layouts';
|
3
|
+
import { HttpClient } from '@angular/common/http';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class AXMBackendDataProvider implements AXPDataProvider {
|
6
|
+
private http;
|
7
|
+
private configs;
|
8
|
+
private mainUrl;
|
9
|
+
constructor(http: HttpClient);
|
10
|
+
insertOne(entity: AXPEntityConfig, entityItem: any): Promise<any>;
|
11
|
+
insertMany(entity: AXPEntityConfig, entityList: any): Promise<any>;
|
12
|
+
getOne(entity: AXPEntityConfig, id: string): Promise<any>;
|
13
|
+
getMany(entity: AXPEntityConfig, params?: any): Promise<any>;
|
14
|
+
updateOne(entity: AXPEntityConfig, id: string, data: {
|
15
|
+
[key: string]: any;
|
16
|
+
}): Promise<any>;
|
17
|
+
deleteOne(entity: AXPEntityConfig, id: string): Promise<any>;
|
18
|
+
getFirst(entity: AXPEntityConfig): Promise<any>;
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMBackendDataProvider, never>;
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMBackendDataProvider>;
|
21
|
+
}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './index';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LW1vZHVsZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL21vZHVsZXMvYWNvcmV4LW1vZHVsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './index';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LW1vZHVsZXMtYXV0aC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvbW9kdWxlcy9hdXRoL3NyYy9hY29yZXgtbW9kdWxlcy1hdXRoLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|