@esfaenza/core 16.2.28 → 19.2.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/components/back-top/back-top.component.d.ts +12 -12
- package/components/base/base.component.d.ts +26 -26
- package/components/base/embedding.component.d.ts +22 -22
- package/components/base/reactive.component.d.ts +9 -9
- package/components/breadcrumb/breadcrumb.component.d.ts +26 -26
- package/components/components.module.d.ts +32 -32
- package/components/error/404/pagenotfound.component.d.ts +15 -15
- package/components/error/500/servererror.component.d.ts +20 -20
- package/components/error/Angular/angularerror.component.d.ts +25 -25
- package/components/es-image-cropper/es-image-cropper.component.d.ts +25 -25
- package/components/es-modal/es-modal-head/es-modal-head.component.d.ts +11 -11
- package/components/es-modal/es-modal.component.d.ts +18 -18
- package/components/external-page/external_pages.component.d.ts +21 -21
- package/components/index.d.ts +5 -5
- package/components/jace-login/jace-login.component.d.ts +8 -8
- package/components/jace-resource/jace-resource.component.d.ts +25 -25
- package/components/labeled-span/labeled-span.component.d.ts +11 -11
- package/components/navbar/navbar.component.d.ts +58 -58
- package/components/navbar/navbar.component.loc.d.ts +8 -8
- package/components/page/pages.component.d.ts +23 -23
- package/components/public-api.d.ts +21 -21
- package/components/redirecter/redirecter.component.d.ts +23 -23
- package/components/sidebar/sidebar.component.d.ts +64 -64
- package/components/sidebar/sidebar.component.loc.d.ts +8 -8
- package/components/user_infos/user_infos.component.d.ts +50 -50
- package/components/user_infos/user_infos.component.loc.d.ts +8 -8
- package/directives/componentHost/componentHost.directive.d.ts +12 -12
- package/directives/directives.module.d.ts +12 -12
- package/directives/draggable/draggable.directive.d.ts +13 -13
- package/directives/es-modal/es-modal.directive.d.ts +20 -20
- package/directives/es-routerLink/es-routerLink.directive.d.ts +13 -13
- package/directives/index.d.ts +5 -5
- package/directives/public-api.d.ts +7 -7
- package/directives/slim-scroll/slim-scroll.directive.d.ts +15 -15
- package/directives/widget/widget.directive.d.ts +9 -9
- package/domain/index.d.ts +5 -5
- package/domain/models/core/ApplicationJob.d.ts +12 -12
- package/domain/models/core/ApplicationMenu.d.ts +16 -16
- package/domain/models/core/ApplicationRoutes.d.ts +2 -2
- package/domain/models/core/EnvOptions.d.ts +15 -15
- package/domain/models/core/GenericItem.d.ts +10 -10
- package/domain/models/core/KeyValue.d.ts +5 -5
- package/domain/models/global_search/SaerchResultContainer.d.ts +5 -5
- package/domain/models/global_search/SearchResult.d.ts +10 -10
- package/domain/models/jace/AccountScope.d.ts +9 -9
- package/domain/models/jace/ActiveModuleView.d.ts +11 -11
- package/domain/models/jace/CategoriesWithModules.d.ts +6 -6
- package/domain/models/jace/JaceAccount.d.ts +17 -17
- package/domain/models/jace/JaceIdentity.d.ts +17 -17
- package/domain/models/jace/JaceModule.d.ts +8 -8
- package/domain/models/jace/JacePermission.d.ts +10 -10
- package/domain/models/jace/JaceRole.d.ts +13 -13
- package/domain/models/jace/JaceUser.d.ts +9 -9
- package/domain/models/user/UpdateAccountRecoverySettingsDto.d.ts +5 -5
- package/domain/models/user/UpdatePasswordDto.d.ts +9 -9
- package/domain/models/user/UpdateProfilePictureDto.d.ts +4 -4
- package/domain/models/user/UserAccount.d.ts +23 -23
- package/domain/public-api.d.ts +22 -22
- package/domain/tokens.d.ts +22 -22
- package/fesm2022/esfaenza-core-components.mjs +1492 -1480
- package/fesm2022/esfaenza-core-components.mjs.map +1 -1
- package/fesm2022/esfaenza-core-directives.mjs +269 -269
- package/fesm2022/esfaenza-core-directives.mjs.map +1 -1
- package/fesm2022/esfaenza-core-domain.mjs +153 -153
- package/fesm2022/esfaenza-core-domain.mjs.map +1 -1
- package/fesm2022/esfaenza-core-helpers.mjs +38 -38
- package/fesm2022/esfaenza-core-helpers.mjs.map +1 -1
- package/fesm2022/esfaenza-core-modules.mjs +128 -134
- package/fesm2022/esfaenza-core-modules.mjs.map +1 -1
- package/fesm2022/esfaenza-core-pipes.mjs +96 -96
- package/fesm2022/esfaenza-core-pipes.mjs.map +1 -1
- package/fesm2022/esfaenza-core-services.mjs +1760 -1754
- package/fesm2022/esfaenza-core-services.mjs.map +1 -1
- package/fesm2022/esfaenza-core.mjs +206 -230
- package/fesm2022/esfaenza-core.mjs.map +1 -1
- package/helpers/classes/ResizeListener.d.ts +12 -12
- package/helpers/index.d.ts +5 -5
- package/helpers/public-api.d.ts +1 -1
- package/index.d.ts +5 -5
- package/lib/app.component.d.ts +13 -13
- package/lib/core.module.d.ts +85 -86
- package/modules/classes/_base.module.d.ts +4 -4
- package/modules/classes/_embedding.module.d.ts +11 -11
- package/modules/classes/_shared.module.d.ts +28 -29
- package/modules/classes/t_c.module.d.ts +18 -19
- package/modules/index.d.ts +5 -5
- package/modules/public-api.d.ts +4 -4
- package/package.json +84 -104
- package/pipes/classes/included_in.pipe.d.ts +7 -7
- package/pipes/classes/safe_html.pipe.d.ts +10 -10
- package/pipes/classes/safe_script.pipe.d.ts +10 -10
- package/pipes/classes/safe_style.pipe.d.ts +10 -10
- package/pipes/classes/safe_url.pipe.d.ts +10 -10
- package/pipes/index.d.ts +5 -5
- package/pipes/pipes.module.d.ts +11 -11
- package/pipes/public-api.d.ts +6 -6
- package/public-api.d.ts +2 -2
- package/services/classes/app.accesstoken.d.ts +17 -17
- package/services/classes/app.completedjobredirection.d.ts +12 -12
- package/services/classes/app.errorhandler.d.ts +11 -11
- package/services/classes/app.event.d.ts +10 -10
- package/services/classes/app.globalsearch.d.ts +25 -25
- package/services/classes/app.httpextensions.d.ts +34 -34
- package/services/classes/app.httpextensions.loc.d.ts +8 -8
- package/services/classes/app.menufilter.d.ts +14 -14
- package/services/classes/app.routeguard.d.ts +10 -10
- package/services/classes/app.session.d.ts +15 -15
- package/services/classes/app.state.d.ts +55 -55
- package/services/classes/preferences/app.cache.persistor.d.ts +25 -25
- package/services/classes/preferences/app.preference.persistor.d.ts +25 -25
- package/services/classes/preferences/user/app.userpreferences.base.d.ts +25 -25
- package/services/index.d.ts +5 -5
- package/services/public-api.d.ts +13 -13
- package/theme/initial.scss +17 -7
- package/esm2022/components/back-top/back-top.component.mjs +0 -43
- package/esm2022/components/base/base.component.mjs +0 -67
- package/esm2022/components/base/embedding.component.mjs +0 -64
- package/esm2022/components/base/reactive.component.mjs +0 -28
- package/esm2022/components/breadcrumb/breadcrumb.component.mjs +0 -80
- package/esm2022/components/components.module.mjs +0 -97
- package/esm2022/components/error/404/pagenotfound.component.mjs +0 -36
- package/esm2022/components/error/500/servererror.component.mjs +0 -47
- package/esm2022/components/error/Angular/angularerror.component.mjs +0 -62
- package/esm2022/components/es-image-cropper/es-image-cropper.component.mjs +0 -82
- package/esm2022/components/es-modal/es-modal-head/es-modal-head.component.mjs +0 -22
- package/esm2022/components/es-modal/es-modal.component.mjs +0 -40
- package/esm2022/components/esfaenza-core-components.mjs +0 -5
- package/esm2022/components/external-page/external_pages.component.mjs +0 -48
- package/esm2022/components/jace-login/jace-login.component.mjs +0 -31
- package/esm2022/components/jace-resource/jace-resource.component.mjs +0 -68
- package/esm2022/components/labeled-span/labeled-span.component.mjs +0 -25
- package/esm2022/components/navbar/navbar.component.loc.mjs +0 -41
- package/esm2022/components/navbar/navbar.component.mjs +0 -223
- package/esm2022/components/page/pages.component.mjs +0 -60
- package/esm2022/components/public-api.mjs +0 -22
- package/esm2022/components/redirecter/redirecter.component.mjs +0 -65
- package/esm2022/components/sidebar/sidebar.component.loc.mjs +0 -39
- package/esm2022/components/sidebar/sidebar.component.mjs +0 -286
- package/esm2022/components/user_infos/user_infos.component.loc.mjs +0 -43
- package/esm2022/components/user_infos/user_infos.component.mjs +0 -148
- package/esm2022/directives/componentHost/componentHost.directive.mjs +0 -29
- package/esm2022/directives/directives.module.mjs +0 -21
- package/esm2022/directives/draggable/draggable.directive.mjs +0 -49
- package/esm2022/directives/es-modal/es-modal.directive.mjs +0 -79
- package/esm2022/directives/es-routerLink/es-routerLink.directive.mjs +0 -55
- package/esm2022/directives/esfaenza-core-directives.mjs +0 -5
- package/esm2022/directives/public-api.mjs +0 -8
- package/esm2022/directives/slim-scroll/slim-scroll.directive.mjs +0 -41
- package/esm2022/directives/widget/widget.directive.mjs +0 -37
- package/esm2022/domain/esfaenza-core-domain.mjs +0 -5
- package/esm2022/domain/models/core/ApplicationJob.mjs +0 -3
- package/esm2022/domain/models/core/ApplicationMenu.mjs +0 -26
- package/esm2022/domain/models/core/ApplicationRoutes.mjs +0 -3
- package/esm2022/domain/models/core/EnvOptions.mjs +0 -13
- package/esm2022/domain/models/core/GenericItem.mjs +0 -12
- package/esm2022/domain/models/core/KeyValue.mjs +0 -15
- package/esm2022/domain/models/global_search/SaerchResultContainer.mjs +0 -6
- package/esm2022/domain/models/global_search/SearchResult.mjs +0 -8
- package/esm2022/domain/models/jace/AccountScope.mjs +0 -8
- package/esm2022/domain/models/jace/ActiveModuleView.mjs +0 -6
- package/esm2022/domain/models/jace/CategoriesWithModules.mjs +0 -7
- package/esm2022/domain/models/jace/JaceAccount.mjs +0 -3
- package/esm2022/domain/models/jace/JaceIdentity.mjs +0 -15
- package/esm2022/domain/models/jace/JaceModule.mjs +0 -10
- package/esm2022/domain/models/jace/JacePermission.mjs +0 -3
- package/esm2022/domain/models/jace/JaceRole.mjs +0 -9
- package/esm2022/domain/models/jace/JaceUser.mjs +0 -3
- package/esm2022/domain/models/user/UpdateAccountRecoverySettingsDto.mjs +0 -7
- package/esm2022/domain/models/user/UpdatePasswordDto.mjs +0 -11
- package/esm2022/domain/models/user/UpdateProfilePictureDto.mjs +0 -6
- package/esm2022/domain/models/user/UserAccount.mjs +0 -3
- package/esm2022/domain/public-api.mjs +0 -23
- package/esm2022/domain/tokens.mjs +0 -17
- package/esm2022/esfaenza-core.mjs +0 -5
- package/esm2022/helpers/classes/ResizeListener.mjs +0 -38
- package/esm2022/helpers/esfaenza-core-helpers.mjs +0 -5
- package/esm2022/helpers/public-api.mjs +0 -2
- package/esm2022/lib/app.component.mjs +0 -34
- package/esm2022/lib/core.module.mjs +0 -258
- package/esm2022/modules/classes/_base.module.mjs +0 -32
- package/esm2022/modules/classes/_embedding.module.mjs +0 -27
- package/esm2022/modules/classes/_shared.module.mjs +0 -47
- package/esm2022/modules/classes/t_c.module.mjs +0 -85
- package/esm2022/modules/esfaenza-core-modules.mjs +0 -5
- package/esm2022/modules/public-api.mjs +0 -5
- package/esm2022/pipes/classes/included_in.pipe.mjs +0 -20
- package/esm2022/pipes/classes/safe_html.pipe.mjs +0 -21
- package/esm2022/pipes/classes/safe_script.pipe.mjs +0 -21
- package/esm2022/pipes/classes/safe_style.pipe.mjs +0 -21
- package/esm2022/pipes/classes/safe_url.pipe.mjs +0 -21
- package/esm2022/pipes/esfaenza-core-pipes.mjs +0 -5
- package/esm2022/pipes/pipes.module.mjs +0 -20
- package/esm2022/pipes/public-api.mjs +0 -7
- package/esm2022/public-api.mjs +0 -3
- package/esm2022/services/classes/app.accesstoken.mjs +0 -1042
- package/esm2022/services/classes/app.completedjobredirection.mjs +0 -18
- package/esm2022/services/classes/app.errorhandler.mjs +0 -41
- package/esm2022/services/classes/app.event.mjs +0 -27
- package/esm2022/services/classes/app.globalsearch.mjs +0 -34
- package/esm2022/services/classes/app.httpextensions.loc.mjs +0 -15
- package/esm2022/services/classes/app.httpextensions.mjs +0 -90
- package/esm2022/services/classes/app.menufilter.mjs +0 -21
- package/esm2022/services/classes/app.routeguard.mjs +0 -23
- package/esm2022/services/classes/app.session.mjs +0 -40
- package/esm2022/services/classes/app.state.mjs +0 -229
- package/esm2022/services/classes/preferences/app.cache.persistor.mjs +0 -94
- package/esm2022/services/classes/preferences/app.preference.persistor.mjs +0 -94
- package/esm2022/services/classes/preferences/user/app.userpreferences.base.mjs +0 -101
- package/esm2022/services/esfaenza-core-services.mjs +0 -5
- package/esm2022/services/public-api.mjs +0 -14
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { Router } from "@angular/router";
|
|
2
|
-
import { AccessControlService } from "@esfaenza/access-control";
|
|
3
|
-
import { HttpServiceExtensions } from "@esfaenza/httpservice";
|
|
4
|
-
import { LocalizationService } from "@esfaenza/localizations";
|
|
5
|
-
import { MessageService } from "@esfaenza/extensions";
|
|
6
|
-
import { AppState } from "./app.state";
|
|
7
|
-
import { TokenService } from "./app.accesstoken";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class HTTPServiceExtensions implements HttpServiceExtensions {
|
|
10
|
-
private lc;
|
|
11
|
-
private tks;
|
|
12
|
-
private as;
|
|
13
|
-
private router;
|
|
14
|
-
private ac;
|
|
15
|
-
private msgs;
|
|
16
|
-
constructor(lc: LocalizationService, tks: TokenService, as: AppState, router: Router, ac: AccessControlService, msgs: MessageService);
|
|
17
|
-
retrieveAccessToken(): string;
|
|
18
|
-
retrieveIdentity(): {
|
|
19
|
-
IdUser: string;
|
|
20
|
-
Idtenant: string;
|
|
21
|
-
};
|
|
22
|
-
readRedirectingToLogin(): boolean;
|
|
23
|
-
writeRedirectingToLogin(status: boolean): void;
|
|
24
|
-
redirectToLogin(): void;
|
|
25
|
-
readRedirectionStatus(): boolean;
|
|
26
|
-
writeRedirectionStatus(status: boolean): void;
|
|
27
|
-
readHandlingErrorStatus(): boolean;
|
|
28
|
-
writeHandlingErrorStatus(status: boolean): void;
|
|
29
|
-
handleNotConfiguredException(): boolean;
|
|
30
|
-
handleBlockingException(status: number, text: string): void;
|
|
31
|
-
handleException(status: number, text: string): void;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HTTPServiceExtensions, never>;
|
|
33
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HTTPServiceExtensions>;
|
|
34
|
-
}
|
|
1
|
+
import { Router } from "@angular/router";
|
|
2
|
+
import { AccessControlService } from "@esfaenza/access-control";
|
|
3
|
+
import { HttpServiceExtensions } from "@esfaenza/httpservice";
|
|
4
|
+
import { LocalizationService } from "@esfaenza/localizations";
|
|
5
|
+
import { MessageService } from "@esfaenza/extensions";
|
|
6
|
+
import { AppState } from "./app.state";
|
|
7
|
+
import { TokenService } from "./app.accesstoken";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class HTTPServiceExtensions implements HttpServiceExtensions {
|
|
10
|
+
private lc;
|
|
11
|
+
private tks;
|
|
12
|
+
private as;
|
|
13
|
+
private router;
|
|
14
|
+
private ac;
|
|
15
|
+
private msgs;
|
|
16
|
+
constructor(lc: LocalizationService, tks: TokenService, as: AppState, router: Router, ac: AccessControlService, msgs: MessageService);
|
|
17
|
+
retrieveAccessToken(): string;
|
|
18
|
+
retrieveIdentity(): {
|
|
19
|
+
IdUser: string;
|
|
20
|
+
Idtenant: string;
|
|
21
|
+
};
|
|
22
|
+
readRedirectingToLogin(): boolean;
|
|
23
|
+
writeRedirectingToLogin(status: boolean): void;
|
|
24
|
+
redirectToLogin(): void;
|
|
25
|
+
readRedirectionStatus(): boolean;
|
|
26
|
+
writeRedirectionStatus(status: boolean): void;
|
|
27
|
+
readHandlingErrorStatus(): boolean;
|
|
28
|
+
writeHandlingErrorStatus(status: boolean): void;
|
|
29
|
+
handleNotConfiguredException(): boolean;
|
|
30
|
+
handleBlockingException(status: number, text: string): void;
|
|
31
|
+
handleException(status: number, text: string): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HTTPServiceExtensions, never>;
|
|
33
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HTTPServiceExtensions>;
|
|
34
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Injector } from "@angular/core";
|
|
2
|
-
import { LocalizationService } from "@esfaenza/localizations";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class HTTPServiceExtensionsLoc extends LocalizationService {
|
|
5
|
-
constructor(injector: Injector);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HTTPServiceExtensionsLoc, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HTTPServiceExtensionsLoc>;
|
|
8
|
-
}
|
|
1
|
+
import { Injector } from "@angular/core";
|
|
2
|
+
import { LocalizationService } from "@esfaenza/localizations";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class HTTPServiceExtensionsLoc extends LocalizationService {
|
|
5
|
+
constructor(injector: Injector);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HTTPServiceExtensionsLoc, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HTTPServiceExtensionsLoc>;
|
|
8
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ApplicationMenu } from "@esfaenza/core/domain";
|
|
2
|
-
import { Observable } from "rxjs";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MenuFilteringService {
|
|
5
|
-
/**
|
|
6
|
-
* Applica un filtro agli elementi di menù in modo da poterli filtrare in base a condizioni arbitrarie (inclusi check lato BE)
|
|
7
|
-
*
|
|
8
|
-
* @param rawMenus Menù originali, non filtrati
|
|
9
|
-
* @returns {Observable<ApplicationMenu[]>} Menù filtrati
|
|
10
|
-
*/
|
|
11
|
-
filter(rawMenus: ApplicationMenu[]): Observable<ApplicationMenu[]>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MenuFilteringService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MenuFilteringService>;
|
|
14
|
-
}
|
|
1
|
+
import { ApplicationMenu } from "@esfaenza/core/domain";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MenuFilteringService {
|
|
5
|
+
/**
|
|
6
|
+
* Applica un filtro agli elementi di menù in modo da poterli filtrare in base a condizioni arbitrarie (inclusi check lato BE)
|
|
7
|
+
*
|
|
8
|
+
* @param rawMenus Menù originali, non filtrati
|
|
9
|
+
* @returns {Observable<ApplicationMenu[]>} Menù filtrati
|
|
10
|
+
*/
|
|
11
|
+
filter(rawMenus: ApplicationMenu[]): Observable<ApplicationMenu[]>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuFilteringService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MenuFilteringService>;
|
|
14
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Router } from "@angular/router";
|
|
2
|
-
import { AccessControlRouteGuard, AccessControlService } from "@esfaenza/access-control";
|
|
3
|
-
import { MessageService } from "@esfaenza/extensions";
|
|
4
|
-
import { TokenService } from "./app.accesstoken";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class BaseRouterGuard extends AccessControlRouteGuard {
|
|
7
|
-
constructor(ms: MessageService, acc: AccessControlService, router: Router, ts: TokenService);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseRouterGuard, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BaseRouterGuard>;
|
|
10
|
-
}
|
|
1
|
+
import { Router } from "@angular/router";
|
|
2
|
+
import { AccessControlRouteGuard, AccessControlService } from "@esfaenza/access-control";
|
|
3
|
+
import { MessageService } from "@esfaenza/extensions";
|
|
4
|
+
import { TokenService } from "./app.accesstoken";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class BaseRouterGuard extends AccessControlRouteGuard {
|
|
7
|
+
constructor(ms: MessageService, acc: AccessControlService, router: Router, ts: TokenService);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseRouterGuard, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BaseRouterGuard>;
|
|
10
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Router } from "@angular/router";
|
|
2
|
-
import { BaseSessionRetriever } from "@esfaenza/preferences";
|
|
3
|
-
import { TokenService } from "./app.accesstoken";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SessionRetriever implements BaseSessionRetriever {
|
|
6
|
-
private bts;
|
|
7
|
-
private router;
|
|
8
|
-
private anonymousMode;
|
|
9
|
-
private SessionIdentity;
|
|
10
|
-
constructor(bts: TokenService, router: Router, anonymousMode: boolean);
|
|
11
|
-
/** Tenant§Account§User§ModuleId */
|
|
12
|
-
getSessionKey(): string;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SessionRetriever, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SessionRetriever>;
|
|
15
|
-
}
|
|
1
|
+
import { Router } from "@angular/router";
|
|
2
|
+
import { BaseSessionRetriever } from "@esfaenza/preferences";
|
|
3
|
+
import { TokenService } from "./app.accesstoken";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SessionRetriever implements BaseSessionRetriever {
|
|
6
|
+
private bts;
|
|
7
|
+
private router;
|
|
8
|
+
private anonymousMode;
|
|
9
|
+
private SessionIdentity;
|
|
10
|
+
constructor(bts: TokenService, router: Router, anonymousMode: boolean);
|
|
11
|
+
/** Tenant§Account§User§ModuleId */
|
|
12
|
+
getSessionKey(): string;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SessionRetriever, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SessionRetriever>;
|
|
15
|
+
}
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { ActivatedRouteSnapshot, Router } from "@angular/router";
|
|
2
|
-
import { BaseMessageService, NotificationsService } from "@esfaenza/signalr-notifications";
|
|
3
|
-
import { InterComMessage, InterComService } from "@esfaenza/extensions";
|
|
4
|
-
import { LocalizationService } from "@esfaenza/localizations";
|
|
5
|
-
import { TokenService } from "./app.accesstoken";
|
|
6
|
-
import { AppEmbeddingExtensions } from "@esfaenza/extensions";
|
|
7
|
-
import { ActiveModuleView, ApplicationJob, JaceIdentity } from "@esfaenza/core/domain";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class AppState {
|
|
10
|
-
private router;
|
|
11
|
-
private lc;
|
|
12
|
-
private bts;
|
|
13
|
-
private notifications;
|
|
14
|
-
private MessageDef;
|
|
15
|
-
private intercom;
|
|
16
|
-
private emb;
|
|
17
|
-
private anonymousMode;
|
|
18
|
-
sidebarWidth: number;
|
|
19
|
-
headerHeight: number;
|
|
20
|
-
redirectingToLogin: boolean;
|
|
21
|
-
handlingError: boolean;
|
|
22
|
-
christmasTime: boolean;
|
|
23
|
-
halloweenTime: boolean;
|
|
24
|
-
private SessionIdentity;
|
|
25
|
-
private JaceIdentity;
|
|
26
|
-
jobsInProgress: number;
|
|
27
|
-
allJobs: ApplicationJob[];
|
|
28
|
-
private jobWithIdsCache;
|
|
29
|
-
notifyOnCompletedJobs: boolean;
|
|
30
|
-
private _data;
|
|
31
|
-
private _subscriptions;
|
|
32
|
-
ModulesLocalizations: {
|
|
33
|
-
[id: string]: LocalizationService;
|
|
34
|
-
};
|
|
35
|
-
private _modules;
|
|
36
|
-
set Modules(modules: ActiveModuleView[]);
|
|
37
|
-
get Modules(): ActiveModuleView[];
|
|
38
|
-
constructor(router: Router, lc: LocalizationService, bts: TokenService, notifications: NotificationsService, MessageDef: BaseMessageService, intercom: InterComService, emb: AppEmbeddingExtensions, anonymousMode: boolean);
|
|
39
|
-
hookEmbedding(): void;
|
|
40
|
-
/** Tenant§Account§User§APPNAME */
|
|
41
|
-
getSessionIdentity(): string;
|
|
42
|
-
registerNavigationIfMeaningful(route?: ActivatedRouteSnapshot): void;
|
|
43
|
-
handleInboundMessage(t: InterComMessage): void;
|
|
44
|
-
setupDayjs(): void;
|
|
45
|
-
setupSignalRJobListening(): void;
|
|
46
|
-
roundToTwo(num: any): number;
|
|
47
|
-
getJaceIDentity(): JaceIdentity;
|
|
48
|
-
notifyDataChanged(event: any, value: any): void;
|
|
49
|
-
subscribe(event: string, callback: Function): void;
|
|
50
|
-
_onEvent(data: any): void;
|
|
51
|
-
setSidebarWidth(width: number): void;
|
|
52
|
-
setHeaderHeight(height: number): void;
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppState, never>;
|
|
54
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AppState>;
|
|
55
|
-
}
|
|
1
|
+
import { ActivatedRouteSnapshot, Router } from "@angular/router";
|
|
2
|
+
import { BaseMessageService, NotificationsService } from "@esfaenza/signalr-notifications";
|
|
3
|
+
import { InterComMessage, InterComService } from "@esfaenza/extensions";
|
|
4
|
+
import { LocalizationService } from "@esfaenza/localizations";
|
|
5
|
+
import { TokenService } from "./app.accesstoken";
|
|
6
|
+
import { AppEmbeddingExtensions } from "@esfaenza/extensions";
|
|
7
|
+
import { ActiveModuleView, ApplicationJob, JaceIdentity } from "@esfaenza/core/domain";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class AppState {
|
|
10
|
+
private router;
|
|
11
|
+
private lc;
|
|
12
|
+
private bts;
|
|
13
|
+
private notifications;
|
|
14
|
+
private MessageDef;
|
|
15
|
+
private intercom;
|
|
16
|
+
private emb;
|
|
17
|
+
private anonymousMode;
|
|
18
|
+
sidebarWidth: number;
|
|
19
|
+
headerHeight: number;
|
|
20
|
+
redirectingToLogin: boolean;
|
|
21
|
+
handlingError: boolean;
|
|
22
|
+
christmasTime: boolean;
|
|
23
|
+
halloweenTime: boolean;
|
|
24
|
+
private SessionIdentity;
|
|
25
|
+
private JaceIdentity;
|
|
26
|
+
jobsInProgress: number;
|
|
27
|
+
allJobs: ApplicationJob[];
|
|
28
|
+
private jobWithIdsCache;
|
|
29
|
+
notifyOnCompletedJobs: boolean;
|
|
30
|
+
private _data;
|
|
31
|
+
private _subscriptions;
|
|
32
|
+
ModulesLocalizations: {
|
|
33
|
+
[id: string]: LocalizationService;
|
|
34
|
+
};
|
|
35
|
+
private _modules;
|
|
36
|
+
set Modules(modules: ActiveModuleView[]);
|
|
37
|
+
get Modules(): ActiveModuleView[];
|
|
38
|
+
constructor(router: Router, lc: LocalizationService, bts: TokenService, notifications: NotificationsService, MessageDef: BaseMessageService, intercom: InterComService, emb: AppEmbeddingExtensions, anonymousMode: boolean);
|
|
39
|
+
hookEmbedding(): void;
|
|
40
|
+
/** Tenant§Account§User§APPNAME */
|
|
41
|
+
getSessionIdentity(): string;
|
|
42
|
+
registerNavigationIfMeaningful(route?: ActivatedRouteSnapshot): void;
|
|
43
|
+
handleInboundMessage(t: InterComMessage): void;
|
|
44
|
+
setupDayjs(): void;
|
|
45
|
+
setupSignalRJobListening(): void;
|
|
46
|
+
roundToTwo(num: any): number;
|
|
47
|
+
getJaceIDentity(): JaceIdentity;
|
|
48
|
+
notifyDataChanged(event: any, value: any): void;
|
|
49
|
+
subscribe(event: string, callback: Function): void;
|
|
50
|
+
_onEvent(data: any): void;
|
|
51
|
+
setSidebarWidth(width: number): void;
|
|
52
|
+
setHeaderHeight(height: number): void;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppState, never>;
|
|
54
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AppState>;
|
|
55
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { HttpClient } from "@angular/common/http";
|
|
2
|
-
import { BaseSessionRetriever, CachePersistor } from "@esfaenza/preferences";
|
|
3
|
-
import { LocalizationService } from "@esfaenza/localizations";
|
|
4
|
-
import { TokenService } from "../app.accesstoken";
|
|
5
|
-
import { Observable } from "rxjs";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ApplicationCachePersistor extends CachePersistor {
|
|
8
|
-
private lc;
|
|
9
|
-
private http;
|
|
10
|
-
private tks;
|
|
11
|
-
constructor(lc: LocalizationService, http: HttpClient, tks: TokenService, session: BaseSessionRetriever);
|
|
12
|
-
persist<T>(key: string, item: T): Observable<boolean>;
|
|
13
|
-
recover<T>(key?: string): Observable<T>;
|
|
14
|
-
recoverAll(): Observable<{
|
|
15
|
-
[index: string]: any;
|
|
16
|
-
}>;
|
|
17
|
-
remove(key?: string): Observable<boolean>;
|
|
18
|
-
clear(): Observable<boolean>;
|
|
19
|
-
private getHeaders;
|
|
20
|
-
private getSessionUrl;
|
|
21
|
-
private getItemsUrl;
|
|
22
|
-
private getItemUrl;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationCachePersistor, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationCachePersistor>;
|
|
25
|
-
}
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
|
2
|
+
import { BaseSessionRetriever, CachePersistor } from "@esfaenza/preferences";
|
|
3
|
+
import { LocalizationService } from "@esfaenza/localizations";
|
|
4
|
+
import { TokenService } from "../app.accesstoken";
|
|
5
|
+
import { Observable } from "rxjs";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ApplicationCachePersistor extends CachePersistor {
|
|
8
|
+
private lc;
|
|
9
|
+
private http;
|
|
10
|
+
private tks;
|
|
11
|
+
constructor(lc: LocalizationService, http: HttpClient, tks: TokenService, session: BaseSessionRetriever);
|
|
12
|
+
persist<T>(key: string, item: T): Observable<boolean>;
|
|
13
|
+
recover<T>(key?: string): Observable<T>;
|
|
14
|
+
recoverAll(): Observable<{
|
|
15
|
+
[index: string]: any;
|
|
16
|
+
}>;
|
|
17
|
+
remove(key?: string): Observable<boolean>;
|
|
18
|
+
clear(): Observable<boolean>;
|
|
19
|
+
private getHeaders;
|
|
20
|
+
private getSessionUrl;
|
|
21
|
+
private getItemsUrl;
|
|
22
|
+
private getItemUrl;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationCachePersistor, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationCachePersistor>;
|
|
25
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { HttpClient } from "@angular/common/http";
|
|
2
|
-
import { BaseSessionRetriever, PreferencesPersistor } from "@esfaenza/preferences";
|
|
3
|
-
import { LocalizationService } from "@esfaenza/localizations";
|
|
4
|
-
import { TokenService } from "../app.accesstoken";
|
|
5
|
-
import { Observable } from "rxjs";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ApplicationPreferencesPersistor extends PreferencesPersistor {
|
|
8
|
-
private lc;
|
|
9
|
-
private http;
|
|
10
|
-
private tks;
|
|
11
|
-
constructor(lc: LocalizationService, http: HttpClient, tks: TokenService, session: BaseSessionRetriever);
|
|
12
|
-
persist<T>(key: string, item: T): Observable<boolean>;
|
|
13
|
-
recover<T>(key?: string): Observable<T>;
|
|
14
|
-
recoverAll(): Observable<{
|
|
15
|
-
[index: string]: any;
|
|
16
|
-
}>;
|
|
17
|
-
remove(key?: string): Observable<boolean>;
|
|
18
|
-
clear(): Observable<boolean>;
|
|
19
|
-
private getHeaders;
|
|
20
|
-
private getSessionUrl;
|
|
21
|
-
private getItemsUrl;
|
|
22
|
-
private getItemUrl;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationPreferencesPersistor, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationPreferencesPersistor>;
|
|
25
|
-
}
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
|
2
|
+
import { BaseSessionRetriever, PreferencesPersistor } from "@esfaenza/preferences";
|
|
3
|
+
import { LocalizationService } from "@esfaenza/localizations";
|
|
4
|
+
import { TokenService } from "../app.accesstoken";
|
|
5
|
+
import { Observable } from "rxjs";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ApplicationPreferencesPersistor extends PreferencesPersistor {
|
|
8
|
+
private lc;
|
|
9
|
+
private http;
|
|
10
|
+
private tks;
|
|
11
|
+
constructor(lc: LocalizationService, http: HttpClient, tks: TokenService, session: BaseSessionRetriever);
|
|
12
|
+
persist<T>(key: string, item: T): Observable<boolean>;
|
|
13
|
+
recover<T>(key?: string): Observable<T>;
|
|
14
|
+
recoverAll(): Observable<{
|
|
15
|
+
[index: string]: any;
|
|
16
|
+
}>;
|
|
17
|
+
remove(key?: string): Observable<boolean>;
|
|
18
|
+
clear(): Observable<boolean>;
|
|
19
|
+
private getHeaders;
|
|
20
|
+
private getSessionUrl;
|
|
21
|
+
private getItemsUrl;
|
|
22
|
+
private getItemUrl;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationPreferencesPersistor, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationPreferencesPersistor>;
|
|
25
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { DomSanitizer, SafeResourceUrl } from "@angular/platform-browser";
|
|
2
|
-
import { Injector } from "@angular/core";
|
|
3
|
-
import { CallResult, MessageService } from "@esfaenza/extensions";
|
|
4
|
-
import { HTTPService } from "@esfaenza/httpservice";
|
|
5
|
-
import { UserAccount } from "@esfaenza/core/domain";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class UserPreferencesService {
|
|
8
|
-
private injector;
|
|
9
|
-
private AccountId;
|
|
10
|
-
ProfilePicture: SafeResourceUrl;
|
|
11
|
-
fakeToken: boolean;
|
|
12
|
-
sanitizer: DomSanitizer;
|
|
13
|
-
http: HTTPService;
|
|
14
|
-
msgExts: MessageService;
|
|
15
|
-
constructor(injector: Injector);
|
|
16
|
-
getAccountProfile(): Promise<UserAccount>;
|
|
17
|
-
doReloadProfilePicture(): Promise<void>;
|
|
18
|
-
getCurrentProfilePicture(): Promise<string>;
|
|
19
|
-
doUpdateProfilePicture(image: any): Promise<CallResult>;
|
|
20
|
-
doUpdateRecoverySettings(email: string): Promise<CallResult>;
|
|
21
|
-
doUpdatePassword(oldPassword: string, newPassword: string, newPasswordConfirm: string): Promise<CallResult>;
|
|
22
|
-
doDeleteProfilePicture(): Promise<CallResult>;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserPreferencesService, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UserPreferencesService>;
|
|
25
|
-
}
|
|
1
|
+
import { DomSanitizer, SafeResourceUrl } from "@angular/platform-browser";
|
|
2
|
+
import { Injector } from "@angular/core";
|
|
3
|
+
import { CallResult, MessageService } from "@esfaenza/extensions";
|
|
4
|
+
import { HTTPService } from "@esfaenza/httpservice";
|
|
5
|
+
import { UserAccount } from "@esfaenza/core/domain";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class UserPreferencesService {
|
|
8
|
+
private injector;
|
|
9
|
+
private AccountId;
|
|
10
|
+
ProfilePicture: SafeResourceUrl;
|
|
11
|
+
fakeToken: boolean;
|
|
12
|
+
sanitizer: DomSanitizer;
|
|
13
|
+
http: HTTPService;
|
|
14
|
+
msgExts: MessageService;
|
|
15
|
+
constructor(injector: Injector);
|
|
16
|
+
getAccountProfile(): Promise<UserAccount>;
|
|
17
|
+
doReloadProfilePicture(): Promise<void>;
|
|
18
|
+
getCurrentProfilePicture(): Promise<string>;
|
|
19
|
+
doUpdateProfilePicture(image: any): Promise<CallResult>;
|
|
20
|
+
doUpdateRecoverySettings(email: string): Promise<CallResult>;
|
|
21
|
+
doUpdatePassword(oldPassword: string, newPassword: string, newPasswordConfirm: string): Promise<CallResult>;
|
|
22
|
+
doDeleteProfilePicture(): Promise<CallResult>;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserPreferencesService, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserPreferencesService>;
|
|
25
|
+
}
|
package/services/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@esfaenza/core/services" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@esfaenza/core/services" />
|
|
5
|
+
export * from './public-api';
|
package/services/public-api.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export * from './classes/app.accesstoken';
|
|
2
|
-
export * from './classes/app.globalsearch';
|
|
3
|
-
export * from './classes/app.errorhandler';
|
|
4
|
-
export * from './classes/app.event';
|
|
5
|
-
export * from './classes/app.httpextensions';
|
|
6
|
-
export * from './classes/app.menufilter';
|
|
7
|
-
export * from './classes/app.completedjobredirection';
|
|
8
|
-
export * from './classes/app.session';
|
|
9
|
-
export * from './classes/app.state';
|
|
10
|
-
export * from './classes/preferences/app.cache.persistor';
|
|
11
|
-
export * from './classes/preferences/app.preference.persistor';
|
|
12
|
-
export * from './classes/preferences/user/app.userpreferences.base';
|
|
13
|
-
export * from './classes/app.routeguard';
|
|
1
|
+
export * from './classes/app.accesstoken';
|
|
2
|
+
export * from './classes/app.globalsearch';
|
|
3
|
+
export * from './classes/app.errorhandler';
|
|
4
|
+
export * from './classes/app.event';
|
|
5
|
+
export * from './classes/app.httpextensions';
|
|
6
|
+
export * from './classes/app.menufilter';
|
|
7
|
+
export * from './classes/app.completedjobredirection';
|
|
8
|
+
export * from './classes/app.session';
|
|
9
|
+
export * from './classes/app.state';
|
|
10
|
+
export * from './classes/preferences/app.cache.persistor';
|
|
11
|
+
export * from './classes/preferences/app.preference.persistor';
|
|
12
|
+
export * from './classes/preferences/user/app.userpreferences.base';
|
|
13
|
+
export * from './classes/app.routeguard';
|
package/theme/initial.scss
CHANGED
|
@@ -2,13 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
//Integrazione Angular Material. Dev'essere nel primissimo punto dove vengono caricati i CSS, cioe' qui
|
|
4
4
|
@use '@angular/material' as mat;
|
|
5
|
-
@include mat.
|
|
6
|
-
|
|
7
|
-
$application-frontend-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
@include mat.core();
|
|
6
|
+
|
|
7
|
+
$application-frontend-theme: mat.define-theme((
|
|
8
|
+
color: (
|
|
9
|
+
theme-type: light,
|
|
10
|
+
primary: mat.$violet-palette,
|
|
11
|
+
),
|
|
12
|
+
density: (
|
|
13
|
+
scale: -2
|
|
14
|
+
)
|
|
15
|
+
));
|
|
16
|
+
|
|
17
|
+
:root {
|
|
18
|
+
@include mat.core-theme($application-frontend-theme);
|
|
19
|
+
@include mat.button-theme($application-frontend-theme);
|
|
20
|
+
@include mat.all-component-themes($application-frontend-theme);
|
|
21
|
+
}
|
|
12
22
|
|
|
13
23
|
//Sembra che il resolve di sta parte sia:
|
|
14
24
|
//Se esiste cartella qui --> prendila (tipo styles etc..)
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
// Angular
|
|
2
|
-
import { Component, HostListener, Input, ViewChild, ViewEncapsulation } from "@angular/core";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class BackTop {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.position = 400;
|
|
7
|
-
this.showSpeed = 500;
|
|
8
|
-
this.moveSpeed = 1000;
|
|
9
|
-
}
|
|
10
|
-
ngAfterViewInit() {
|
|
11
|
-
this._onWindowScroll();
|
|
12
|
-
}
|
|
13
|
-
_onClick() {
|
|
14
|
-
$("html, body").animate({ scrollTop: 0 }, { duration: this.moveSpeed });
|
|
15
|
-
return false;
|
|
16
|
-
}
|
|
17
|
-
_onWindowScroll() {
|
|
18
|
-
let el = this._selector.nativeElement;
|
|
19
|
-
window.scrollY > this.position ? $(el).fadeIn(this.showSpeed) : $(el).fadeOut(this.showSpeed);
|
|
20
|
-
}
|
|
21
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BackTop, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BackTop, isStandalone: true, selector: "back-top", inputs: { position: "position", showSpeed: "showSpeed", moveSpeed: "moveSpeed" }, host: { listeners: { "click": "_onClick()", "window:scroll.out-zone": "_onWindowScroll()" } }, viewQueries: [{ propertyName: "_selector", first: true, predicate: ["backTop"], descendants: true }], ngImport: i0, template: "<i #backTop class=\"fa fa-angle-up back-to-top\" title=\"Back to Top\"></i>", styles: [".back-to-top{position:fixed;width:40px;height:40px;cursor:pointer;z-index:9999;display:none;text-decoration:none;right:40px;bottom:40px!important;font-size:30px;text-align:center;opacity:.4;color:#fff;background-color:#242d3abf;border-radius:50%;line-height:34px}.back-to-top:hover{opacity:.8}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
|
23
|
-
}
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BackTop, decorators: [{
|
|
25
|
-
type: Component,
|
|
26
|
-
args: [{ selector: "back-top", encapsulation: ViewEncapsulation.None, standalone: true, template: "<i #backTop class=\"fa fa-angle-up back-to-top\" title=\"Back to Top\"></i>", styles: [".back-to-top{position:fixed;width:40px;height:40px;cursor:pointer;z-index:9999;display:none;text-decoration:none;right:40px;bottom:40px!important;font-size:30px;text-align:center;opacity:.4;color:#fff;background-color:#242d3abf;border-radius:50%;line-height:34px}.back-to-top:hover{opacity:.8}\n"] }]
|
|
27
|
-
}], propDecorators: { position: [{
|
|
28
|
-
type: Input
|
|
29
|
-
}], showSpeed: [{
|
|
30
|
-
type: Input
|
|
31
|
-
}], moveSpeed: [{
|
|
32
|
-
type: Input
|
|
33
|
-
}], _selector: [{
|
|
34
|
-
type: ViewChild,
|
|
35
|
-
args: ["backTop", { static: false }]
|
|
36
|
-
}], _onClick: [{
|
|
37
|
-
type: HostListener,
|
|
38
|
-
args: ["click"]
|
|
39
|
-
}], _onWindowScroll: [{
|
|
40
|
-
type: HostListener,
|
|
41
|
-
args: ["window:scroll.out-zone"]
|
|
42
|
-
}] } });
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFjay10b3AuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL3NyYy9iYWNrLXRvcC9iYWNrLXRvcC5jb21wb25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