@esfaenza/core 15.2.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 +24 -0
- package/components/back-top/back-top.component.d.ts +12 -0
- package/components/breadcrumb/breadcrumb.component.d.ts +15 -0
- package/components/components.module.d.ts +25 -0
- package/components/error/404/pagenotfound.component.d.ts +13 -0
- package/components/error/500/servererror.component.d.ts +17 -0
- package/components/error/Angular/angularerror.component.d.ts +24 -0
- package/components/external-page/external_pages.component.d.ts +21 -0
- package/components/index.d.ts +5 -0
- package/components/jace-login/jace-login.component.d.ts +7 -0
- package/components/navbar/modules-board/jace-modules-board.component.d.ts +13 -0
- package/components/navbar/navbar.component.d.ts +60 -0
- package/components/navbar/navbar.component.loc.d.ts +8 -0
- package/components/page/pages.component.d.ts +23 -0
- package/components/public-api.d.ts +13 -0
- package/components/redirecter/redirecter.component.d.ts +19 -0
- package/components/sidebar/sidebar.component.d.ts +39 -0
- package/components/sidebar/sidebar.component.service.d.ts +27 -0
- package/directives/directives.module.d.ts +9 -0
- package/directives/draggable/draggable.directive.d.ts +13 -0
- package/directives/index.d.ts +5 -0
- package/directives/public-api.d.ts +4 -0
- package/directives/slim-scroll/slim-scroll.directive.d.ts +15 -0
- package/directives/widget/widget.directive.d.ts +9 -0
- package/domain/index.d.ts +5 -0
- package/domain/models/core/classes/ApplicationMenu.d.ts +16 -0
- package/domain/models/core/classes/EnvOptions.d.ts +14 -0
- package/domain/models/jace/classes/AccountScope.d.ts +9 -0
- package/domain/models/jace/classes/ActiveModuleView.d.ts +15 -0
- package/domain/models/jace/classes/JaceAccount.d.ts +26 -0
- package/domain/models/jace/classes/JaceIdentity.d.ts +17 -0
- package/domain/models/jace/classes/JaceModule.d.ts +6 -0
- package/domain/models/jace/classes/JacePermission.d.ts +9 -0
- package/domain/models/jace/classes/JaceRole.d.ts +11 -0
- package/domain/models/jace/classes/User.d.ts +4 -0
- package/domain/public-api.d.ts +11 -0
- package/domain/tokens.d.ts +16 -0
- package/esm2020/components/back-top/back-top.component.mjs +43 -0
- package/esm2020/components/breadcrumb/breadcrumb.component.mjs +55 -0
- package/esm2020/components/components.module.mjs +74 -0
- package/esm2020/components/error/404/pagenotfound.component.mjs +27 -0
- package/esm2020/components/error/500/servererror.component.mjs +35 -0
- package/esm2020/components/error/Angular/angularerror.component.mjs +50 -0
- package/esm2020/components/esfaenza-core-components.mjs +5 -0
- package/esm2020/components/external-page/external_pages.component.mjs +46 -0
- package/esm2020/components/jace-login/jace-login.component.mjs +17 -0
- package/esm2020/components/navbar/modules-board/jace-modules-board.component.mjs +40 -0
- package/esm2020/components/navbar/navbar.component.loc.mjs +36 -0
- package/esm2020/components/navbar/navbar.component.mjs +179 -0
- package/esm2020/components/page/pages.component.mjs +57 -0
- package/esm2020/components/public-api.mjs +14 -0
- package/esm2020/components/redirecter/redirecter.component.mjs +53 -0
- package/esm2020/components/sidebar/sidebar.component.mjs +179 -0
- package/esm2020/components/sidebar/sidebar.component.service.mjs +58 -0
- package/esm2020/directives/directives.module.mjs +18 -0
- package/esm2020/directives/draggable/draggable.directive.mjs +48 -0
- package/esm2020/directives/esfaenza-core-directives.mjs +5 -0
- package/esm2020/directives/public-api.mjs +5 -0
- package/esm2020/directives/slim-scroll/slim-scroll.directive.mjs +40 -0
- package/esm2020/directives/widget/widget.directive.mjs +36 -0
- package/esm2020/domain/esfaenza-core-domain.mjs +5 -0
- package/esm2020/domain/models/core/classes/ApplicationMenu.mjs +26 -0
- package/esm2020/domain/models/core/classes/EnvOptions.mjs +4 -0
- package/esm2020/domain/models/jace/classes/AccountScope.mjs +8 -0
- package/esm2020/domain/models/jace/classes/ActiveModuleView.mjs +9 -0
- package/esm2020/domain/models/jace/classes/JaceAccount.mjs +5 -0
- package/esm2020/domain/models/jace/classes/JaceIdentity.mjs +16 -0
- package/esm2020/domain/models/jace/classes/JaceModule.mjs +3 -0
- package/esm2020/domain/models/jace/classes/JacePermission.mjs +3 -0
- package/esm2020/domain/models/jace/classes/JaceRole.mjs +3 -0
- package/esm2020/domain/models/jace/classes/User.mjs +3 -0
- package/esm2020/domain/public-api.mjs +12 -0
- package/esm2020/domain/tokens.mjs +11 -0
- package/esm2020/esfaenza-core.mjs +5 -0
- package/esm2020/helpers/classes/ResizeListener.mjs +38 -0
- package/esm2020/helpers/esfaenza-core-helpers.mjs +5 -0
- package/esm2020/helpers/public-api.mjs +2 -0
- package/esm2020/lib/app.component.mjs +26 -0
- package/esm2020/lib/core.module.mjs +227 -0
- package/esm2020/modules/classes/_base.module.mjs +27 -0
- package/esm2020/modules/classes/t_c.module.mjs +85 -0
- package/esm2020/modules/esfaenza-core-modules.mjs +5 -0
- package/esm2020/modules/public-api.mjs +3 -0
- package/esm2020/pipes/esfaenza-core-pipes.mjs +5 -0
- package/esm2020/pipes/included_in/included_in.pipe.mjs +17 -0
- package/esm2020/pipes/pipes.module.mjs +20 -0
- package/esm2020/pipes/public-api.mjs +7 -0
- package/esm2020/pipes/safe_html/safe_html.pipe.mjs +18 -0
- package/esm2020/pipes/safe_script/safe_script.pipe.mjs +18 -0
- package/esm2020/pipes/safe_style/safe_style.pipe.mjs +18 -0
- package/esm2020/pipes/safe_url/safe_url.pipe.mjs +18 -0
- package/esm2020/public-api.mjs +4 -0
- package/esm2020/services/classes/app.accesstoken.mjs +51 -0
- package/esm2020/services/classes/app.errorhandler.mjs +41 -0
- package/esm2020/services/classes/app.event.mjs +27 -0
- package/esm2020/services/classes/app.httpextensions.loc.mjs +15 -0
- package/esm2020/services/classes/app.httpextensions.mjs +90 -0
- package/esm2020/services/classes/app.routeguard.mjs +22 -0
- package/esm2020/services/classes/app.session.mjs +33 -0
- package/esm2020/services/classes/app.state.mjs +172 -0
- package/esm2020/services/classes/preferences/app.cache.persistor.mjs +94 -0
- package/esm2020/services/classes/preferences/app.preference.persistor.mjs +94 -0
- package/esm2020/services/esfaenza-core-services.mjs +5 -0
- package/esm2020/services/public-api.mjs +10 -0
- package/fesm2015/esfaenza-core-components.mjs +870 -0
- package/fesm2015/esfaenza-core-components.mjs.map +1 -0
- package/fesm2015/esfaenza-core-directives.mjs +138 -0
- package/fesm2015/esfaenza-core-directives.mjs.map +1 -0
- package/fesm2015/esfaenza-core-domain.mjs +99 -0
- package/fesm2015/esfaenza-core-domain.mjs.map +1 -0
- package/fesm2015/esfaenza-core-helpers.mjs +44 -0
- package/fesm2015/esfaenza-core-helpers.mjs.map +1 -0
- package/fesm2015/esfaenza-core-modules.mjs +112 -0
- package/fesm2015/esfaenza-core-modules.mjs.map +1 -0
- package/fesm2015/esfaenza-core-pipes.mjs +97 -0
- package/fesm2015/esfaenza-core-pipes.mjs.map +1 -0
- package/fesm2015/esfaenza-core-services.mjs +598 -0
- package/fesm2015/esfaenza-core-services.mjs.map +1 -0
- package/fesm2015/esfaenza-core.mjs +251 -0
- package/fesm2015/esfaenza-core.mjs.map +1 -0
- package/fesm2020/esfaenza-core-components.mjs +863 -0
- package/fesm2020/esfaenza-core-components.mjs.map +1 -0
- package/fesm2020/esfaenza-core-directives.mjs +138 -0
- package/fesm2020/esfaenza-core-directives.mjs.map +1 -0
- package/fesm2020/esfaenza-core-domain.mjs +98 -0
- package/fesm2020/esfaenza-core-domain.mjs.map +1 -0
- package/fesm2020/esfaenza-core-helpers.mjs +44 -0
- package/fesm2020/esfaenza-core-helpers.mjs.map +1 -0
- package/fesm2020/esfaenza-core-modules.mjs +112 -0
- package/fesm2020/esfaenza-core-modules.mjs.map +1 -0
- package/fesm2020/esfaenza-core-pipes.mjs +97 -0
- package/fesm2020/esfaenza-core-pipes.mjs.map +1 -0
- package/fesm2020/esfaenza-core-services.mjs +595 -0
- package/fesm2020/esfaenza-core-services.mjs.map +1 -0
- package/fesm2020/esfaenza-core.mjs +251 -0
- package/fesm2020/esfaenza-core.mjs.map +1 -0
- package/helpers/classes/ResizeListener.d.ts +12 -0
- package/helpers/index.d.ts +5 -0
- package/helpers/public-api.d.ts +1 -0
- package/index.d.ts +5 -0
- package/lib/app.component.d.ts +12 -0
- package/lib/core.module.d.ts +82 -0
- package/modules/classes/_base.module.d.ts +4 -0
- package/modules/classes/t_c.module.d.ts +19 -0
- package/modules/index.d.ts +5 -0
- package/modules/public-api.d.ts +2 -0
- package/package.json +115 -0
- package/pipes/included_in/included_in.pipe.d.ts +7 -0
- package/pipes/index.d.ts +5 -0
- package/pipes/pipes.module.d.ts +11 -0
- package/pipes/public-api.d.ts +6 -0
- package/pipes/safe_html/safe_html.pipe.d.ts +10 -0
- package/pipes/safe_script/safe_script.pipe.d.ts +10 -0
- package/pipes/safe_style/safe_style.pipe.d.ts +10 -0
- package/pipes/safe_url/safe_url.pipe.d.ts +10 -0
- package/public-api.d.ts +3 -0
- package/services/classes/app.accesstoken.d.ts +15 -0
- package/services/classes/app.errorhandler.d.ts +11 -0
- package/services/classes/app.event.d.ts +10 -0
- package/services/classes/app.httpextensions.d.ts +34 -0
- package/services/classes/app.httpextensions.loc.d.ts +8 -0
- package/services/classes/app.routeguard.d.ts +10 -0
- package/services/classes/app.session.d.ts +14 -0
- package/services/classes/app.state.d.ts +59 -0
- package/services/classes/preferences/app.cache.persistor.d.ts +25 -0
- package/services/classes/preferences/app.preference.persistor.d.ts +25 -0
- package/services/index.d.ts +5 -0
- package/services/public-api.d.ts +9 -0
- package/theme/initial.scss +48 -0
- package/theme/styles/_base.scss +257 -0
- package/theme/styles/_bootstrap-override.scss +1624 -0
- package/theme/styles/_font.scss +86 -0
- package/theme/styles/_fullcalendar-override.scss +86 -0
- package/theme/styles/_libs-override.scss +97 -0
- package/theme/styles/_material-override.scss +231 -0
- package/theme/styles/_mixins.scss +50 -0
- package/theme/styles/_preloader.scss +119 -0
- package/theme/styles/_project-override.scss +2383 -0
- package/theme/styles/_variables.scss +52 -0
- package/theme/styles/skins/_blue.scss +16 -0
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Core
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project core` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project core`.
|
|
8
|
+
> Note: Don't forget to add `--project core` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build core` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build core`, go to the dist folder `cd dist/core` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test core` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BackTop {
|
|
3
|
+
position: number;
|
|
4
|
+
showSpeed: number;
|
|
5
|
+
moveSpeed: number;
|
|
6
|
+
private _selector;
|
|
7
|
+
ngAfterViewInit(): void;
|
|
8
|
+
_onClick(): boolean;
|
|
9
|
+
_onWindowScroll(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BackTop, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BackTop, "back-top", never, { "position": "position"; "showSpeed": "showSpeed"; "moveSpeed": "moveSpeed"; }, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Title } from "@angular/platform-browser";
|
|
2
|
+
import { ActivatedRoute } from "@angular/router";
|
|
3
|
+
import { AppState } from "@esfaenza/core/services";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class Breadcrumb {
|
|
6
|
+
_state: AppState;
|
|
7
|
+
private _activatedRoute;
|
|
8
|
+
private _titleService;
|
|
9
|
+
activePageTitle: string;
|
|
10
|
+
subActiveLinks: string[];
|
|
11
|
+
constructor(_state: AppState, _activatedRoute: ActivatedRoute, _titleService: Title);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Breadcrumb, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Breadcrumb, "breadcrumb", never, {}, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./back-top/back-top.component";
|
|
3
|
+
import * as i2 from "./breadcrumb/breadcrumb.component";
|
|
4
|
+
import * as i3 from "./error/404/pagenotfound.component";
|
|
5
|
+
import * as i4 from "./error/500/servererror.component";
|
|
6
|
+
import * as i5 from "./error/Angular/angularerror.component";
|
|
7
|
+
import * as i6 from "./page/pages.component";
|
|
8
|
+
import * as i7 from "./external-page/external_pages.component";
|
|
9
|
+
import * as i8 from "./jace-login/jace-login.component";
|
|
10
|
+
import * as i9 from "./navbar/modules-board/jace-modules-board.component";
|
|
11
|
+
import * as i10 from "./navbar/navbar.component";
|
|
12
|
+
import * as i11 from "./redirecter/redirecter.component";
|
|
13
|
+
import * as i12 from "./sidebar/sidebar.component";
|
|
14
|
+
import * as i13 from "@angular/common";
|
|
15
|
+
import * as i14 from "@angular/router";
|
|
16
|
+
import * as i15 from "@angular/forms";
|
|
17
|
+
import * as i16 from "@esfaenza/core/directives";
|
|
18
|
+
import * as i17 from "@esfaenza/localizations";
|
|
19
|
+
import * as i18 from "ngx-bootstrap/progressbar";
|
|
20
|
+
import * as i19 from "@angular/material/slide-toggle";
|
|
21
|
+
export declare class ComponentsModule {
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentsModule, never>;
|
|
23
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ComponentsModule, [typeof i1.BackTop, typeof i2.Breadcrumb, typeof i3.PageNotFoundComponent, typeof i4.ServerErrorComponent, typeof i5.AngularErrorComponent, typeof i6.PagesComponent, typeof i7.ExternalPagesComponent, typeof i8.JaceLoginComponent, typeof i9.JaceModulesBoardComponent, typeof i10.Navbar, typeof i11.RedirecterComponent, typeof i12.Sidebar], [typeof i13.CommonModule, typeof i14.RouterModule, typeof i15.FormsModule, typeof i16.DirectivesModule, typeof i17.LocalizationModule, typeof i18.ProgressbarModule, typeof i19.MatSlideToggleModule], [typeof i1.BackTop, typeof i2.Breadcrumb, typeof i3.PageNotFoundComponent, typeof i4.ServerErrorComponent, typeof i5.AngularErrorComponent, typeof i6.PagesComponent, typeof i7.ExternalPagesComponent, typeof i8.JaceLoginComponent, typeof i9.JaceModulesBoardComponent, typeof i10.Navbar, typeof i11.RedirecterComponent, typeof i12.Sidebar]>;
|
|
24
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ComponentsModule>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Location } from "@angular/common";
|
|
2
|
+
import { Router } from "@angular/router";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PageNotFoundComponent {
|
|
5
|
+
private _location;
|
|
6
|
+
router: Router;
|
|
7
|
+
constructor(router: Router, _location: Location);
|
|
8
|
+
searchResult(): void;
|
|
9
|
+
goPreviousPage(): void;
|
|
10
|
+
goDashboard(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageNotFoundComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageNotFoundComponent, "pagenotfound", never, {}, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ActivatedRoute, Router } from "@angular/router";
|
|
2
|
+
import { AppState } from "@esfaenza/core/services";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ServerErrorComponent {
|
|
5
|
+
private router;
|
|
6
|
+
private route;
|
|
7
|
+
private as;
|
|
8
|
+
statusCode: string;
|
|
9
|
+
statusText: string;
|
|
10
|
+
previousUrl: string;
|
|
11
|
+
constructor(router: Router, route: ActivatedRoute, as: AppState);
|
|
12
|
+
b64DecodeUnicode(str: any): string;
|
|
13
|
+
goPreviousPage(): void;
|
|
14
|
+
goDashboard(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ServerErrorComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ServerErrorComponent, "servererror", never, {}, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ActivatedRoute, Router } from "@angular/router";
|
|
2
|
+
import { CacheService } from "@esfaenza/preferences";
|
|
3
|
+
import { HTTPService } from "@esfaenza/httpservice";
|
|
4
|
+
import { TokenService } from "@esfaenza/core/services";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AngularErrorComponent {
|
|
7
|
+
private router;
|
|
8
|
+
private route;
|
|
9
|
+
private store;
|
|
10
|
+
private http;
|
|
11
|
+
private bts;
|
|
12
|
+
errorMessage: string;
|
|
13
|
+
errorFrom: string;
|
|
14
|
+
errorLastCalls: string;
|
|
15
|
+
previousUrl: string;
|
|
16
|
+
identityInfos: string;
|
|
17
|
+
constructor(router: Router, route: ActivatedRoute, store: CacheService, http: HTTPService, bts: TokenService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
b64DecodeUnicode(str: any): string;
|
|
20
|
+
goPreviousPage(): void;
|
|
21
|
+
goDashboard(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AngularErrorComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AngularErrorComponent, "angularerror", never, {}, {}, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ActivatedRoute } from "@angular/router";
|
|
2
|
+
import { AccessControlService } from "@esfaenza/access-control";
|
|
3
|
+
import { LocalizationService } from "@esfaenza/localizations";
|
|
4
|
+
import { HTTPService } from "@esfaenza/httpservice";
|
|
5
|
+
import { AppState, TokenService } from "@esfaenza/core/services";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ExternalPagesComponent {
|
|
8
|
+
private aac;
|
|
9
|
+
lc: LocalizationService;
|
|
10
|
+
private http;
|
|
11
|
+
private _state;
|
|
12
|
+
private route;
|
|
13
|
+
private bts;
|
|
14
|
+
private Username;
|
|
15
|
+
private Password;
|
|
16
|
+
private Tenant;
|
|
17
|
+
constructor(aac: AccessControlService, lc: LocalizationService, http: HTTPService, _state: AppState, route: ActivatedRoute, bts: TokenService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExternalPagesComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExternalPagesComponent, "external-pages", never, {}, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class JaceLoginComponent {
|
|
3
|
+
constructor();
|
|
4
|
+
ngOnInit(): void;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JaceLoginComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JaceLoginComponent, "login", never, {}, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TokenService } from "@esfaenza/core/services";
|
|
2
|
+
import { ActiveModuleView, CategoriesWithModules } from "@esfaenza/core/domain";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class JaceModulesBoardComponent {
|
|
5
|
+
private bts;
|
|
6
|
+
Modules: ActiveModuleView[];
|
|
7
|
+
Categories: CategoriesWithModules[];
|
|
8
|
+
private Tenant;
|
|
9
|
+
constructor(bts: TokenService);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JaceModulesBoardComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JaceModulesBoardComponent, "jace-modules-board", never, { "Modules": "Modules"; }, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from "@angular/core";
|
|
2
|
+
import { Router } from "@angular/router";
|
|
3
|
+
import { BaseMessageService, NotificationsService } from "@esfaenza/signalr-notifications";
|
|
4
|
+
import { CacheService, PreferencesService } from "@esfaenza/preferences";
|
|
5
|
+
import { LocalizationService } from "@esfaenza/localizations";
|
|
6
|
+
import { MessageService } from "@esfaenza/extensions";
|
|
7
|
+
import { HTTPService } from "@esfaenza/httpservice";
|
|
8
|
+
import { AppState, ApplicationJob, TokenService } from "@esfaenza/core/services";
|
|
9
|
+
import { ActiveModuleView, EnvOptions } from "@esfaenza/core/domain";
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class Navbar {
|
|
12
|
+
private prefsService;
|
|
13
|
+
private cacheService;
|
|
14
|
+
private MessageDef;
|
|
15
|
+
private notifications;
|
|
16
|
+
private msgExts;
|
|
17
|
+
lc: LocalizationService;
|
|
18
|
+
private http;
|
|
19
|
+
cdr: ChangeDetectorRef;
|
|
20
|
+
_state: AppState;
|
|
21
|
+
sr: TokenService;
|
|
22
|
+
private router;
|
|
23
|
+
isMenuCollapsed: boolean;
|
|
24
|
+
applicationVersion: string;
|
|
25
|
+
myconfig: EnvOptions;
|
|
26
|
+
anomaliesProcessing: boolean;
|
|
27
|
+
intervals: any[];
|
|
28
|
+
user: string;
|
|
29
|
+
tenant: string;
|
|
30
|
+
idtenant: string;
|
|
31
|
+
groupName: string;
|
|
32
|
+
IsJaceAdmin: boolean;
|
|
33
|
+
private newVersionWarned;
|
|
34
|
+
thisLoc: string;
|
|
35
|
+
navbar: ElementRef;
|
|
36
|
+
Permissions: string[];
|
|
37
|
+
Roles: string[];
|
|
38
|
+
Modules: ActiveModuleView[];
|
|
39
|
+
private notificationsSubs;
|
|
40
|
+
constructor(prefsService: PreferencesService, cacheService: CacheService, MessageDef: BaseMessageService, notifications: NotificationsService, msgExts: MessageService, lc: LocalizationService, http: HTTPService, cdr: ChangeDetectorRef, _state: AppState, sr: TokenService, router: Router);
|
|
41
|
+
ngOnDestroy(): void;
|
|
42
|
+
startSignalRListening(): void;
|
|
43
|
+
stopSignalRListening(): void;
|
|
44
|
+
checkIdentity(): void;
|
|
45
|
+
getActiveJaceModules(): void;
|
|
46
|
+
private checkSession;
|
|
47
|
+
ngAfterViewInit(): void;
|
|
48
|
+
toggleMenu(): void;
|
|
49
|
+
logout(): void;
|
|
50
|
+
changeModule(): void;
|
|
51
|
+
changeTenant(): void;
|
|
52
|
+
clearUserPreferences(): void;
|
|
53
|
+
clearCacheClient(): void;
|
|
54
|
+
clearCacheServer(): void;
|
|
55
|
+
clearAll(): void;
|
|
56
|
+
clearMessages(): void;
|
|
57
|
+
completedJobClicked(job: ApplicationJob): void;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Navbar, never>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Navbar, "navbar", never, {}, {}, never, never, false, never>;
|
|
60
|
+
}
|
|
@@ -0,0 +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 NavBarLoc extends LocalizationService {
|
|
5
|
+
constructor(injector: Injector);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavBarLoc, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NavBarLoc>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { DomSanitizer, SafeResourceUrl } from "@angular/platform-browser";
|
|
2
|
+
import { Location } from "@angular/common";
|
|
3
|
+
import { Router } from "@angular/router";
|
|
4
|
+
import { AppState } from "@esfaenza/core/services";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class PagesComponent {
|
|
7
|
+
sanitizer: DomSanitizer;
|
|
8
|
+
_state: AppState;
|
|
9
|
+
private _location;
|
|
10
|
+
router: Router;
|
|
11
|
+
isMenuCollapsed: boolean;
|
|
12
|
+
maxHeight: number;
|
|
13
|
+
dynamicCSSUrl: SafeResourceUrl;
|
|
14
|
+
loadedModuleCss: string;
|
|
15
|
+
constructor(sanitizer: DomSanitizer, _state: AppState, _location: Location, router: Router);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
getCurrentPageName(): void;
|
|
18
|
+
hideMenu(): void;
|
|
19
|
+
getHeight(): void;
|
|
20
|
+
onResize(event: any): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PagesComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PagesComponent, "pages", never, {}, {}, never, never, false, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './back-top/back-top.component';
|
|
2
|
+
export * from './breadcrumb/breadcrumb.component';
|
|
3
|
+
export * from './error/404/pagenotfound.component';
|
|
4
|
+
export * from './error/500/servererror.component';
|
|
5
|
+
export * from './error/Angular/angularerror.component';
|
|
6
|
+
export * from './page/pages.component';
|
|
7
|
+
export * from './external-page/external_pages.component';
|
|
8
|
+
export * from './jace-login/jace-login.component';
|
|
9
|
+
export * from './navbar/navbar.component';
|
|
10
|
+
export * from './navbar/modules-board/jace-modules-board.component';
|
|
11
|
+
export * from './redirecter/redirecter.component';
|
|
12
|
+
export * from './sidebar/sidebar.component';
|
|
13
|
+
export * from './components.module';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ActivatedRoute, Router } from "@angular/router";
|
|
2
|
+
import { AppState } from "@esfaenza/core/services";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RedirecterComponent {
|
|
5
|
+
_state: AppState;
|
|
6
|
+
private route;
|
|
7
|
+
router: Router;
|
|
8
|
+
private redirectMap;
|
|
9
|
+
Error: string;
|
|
10
|
+
constructor(_state: AppState, route: ActivatedRoute, router: Router, redirectMap: {
|
|
11
|
+
[index: string]: {
|
|
12
|
+
url: string;
|
|
13
|
+
params: string[];
|
|
14
|
+
};
|
|
15
|
+
});
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RedirecterComponent, [null, null, null, { optional: true; }]>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RedirecterComponent, "redirecter", never, {}, {}, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, NgZone, Type } from "@angular/core";
|
|
2
|
+
import { Router } from "@angular/router";
|
|
3
|
+
import { LocalizationService } from "@esfaenza/localizations";
|
|
4
|
+
import { SidebarService } from "./sidebar.component.service";
|
|
5
|
+
import { AppState } from "@esfaenza/core/services";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class Sidebar {
|
|
8
|
+
lc: LocalizationService;
|
|
9
|
+
private cdr;
|
|
10
|
+
private _elementRef;
|
|
11
|
+
private _router;
|
|
12
|
+
_state: AppState;
|
|
13
|
+
private _sidebarService;
|
|
14
|
+
private zone;
|
|
15
|
+
menuItems: Array<any>;
|
|
16
|
+
menuHeight: number;
|
|
17
|
+
isMenuCollapsed: boolean;
|
|
18
|
+
isMenuShouldCollapsed: boolean;
|
|
19
|
+
showHoverElem: boolean;
|
|
20
|
+
hoverElemHeight: number;
|
|
21
|
+
hoverElemTop: number;
|
|
22
|
+
sidebar: ElementRef;
|
|
23
|
+
constructor(lc: LocalizationService, lcMenu: Type<LocalizationService>, cdr: ChangeDetectorRef, _elementRef: ElementRef, _router: Router, _state: AppState, _sidebarService: SidebarService, zone: NgZone);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
init(): void;
|
|
26
|
+
assignLevel(menuItem: any, level: any): void;
|
|
27
|
+
onWindowResize(): void;
|
|
28
|
+
private _shouldMenuCollapse;
|
|
29
|
+
menuCollapse(): void;
|
|
30
|
+
menuCollapseStateChange(isCollapsed: boolean): void;
|
|
31
|
+
menuExpand(): void;
|
|
32
|
+
hoverItem($event: any): void;
|
|
33
|
+
sendAwayHoverElement(): void;
|
|
34
|
+
updateSidebarHeight(): void;
|
|
35
|
+
collapseMenu($event: any, item: any): boolean;
|
|
36
|
+
private outsideAngularClickHandler;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Sidebar, [null, { optional: true; }, null, null, null, null, null, null]>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Sidebar, "sidebar", never, {}, {}, never, never, false, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AccessControlService } from "@esfaenza/access-control";
|
|
2
|
+
import { UtilityService } from "@esfaenza/extensions";
|
|
3
|
+
import { ApplicationMenu } from "@esfaenza/core/domain";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SidebarService {
|
|
6
|
+
private utiExts;
|
|
7
|
+
private aac;
|
|
8
|
+
private menuItems;
|
|
9
|
+
custom_permissions: any;
|
|
10
|
+
constructor(utiExts: UtilityService, aac: AccessControlService, menuItems: ApplicationMenu[]);
|
|
11
|
+
getMenuItems(): Array<Object>;
|
|
12
|
+
checkSubMenuOverClaims(menuItem: MenuItem): MenuItem;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SidebarService>;
|
|
15
|
+
}
|
|
16
|
+
declare class MenuItem {
|
|
17
|
+
title: string;
|
|
18
|
+
ac: string;
|
|
19
|
+
routerLink: string;
|
|
20
|
+
icon: string;
|
|
21
|
+
selected: boolean;
|
|
22
|
+
expanded: boolean;
|
|
23
|
+
level: number;
|
|
24
|
+
queryParams: any;
|
|
25
|
+
subMenu: MenuItem[];
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./draggable/draggable.directive";
|
|
3
|
+
import * as i2 from "./slim-scroll/slim-scroll.directive";
|
|
4
|
+
import * as i3 from "./widget/widget.directive";
|
|
5
|
+
export declare class DirectivesModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DirectivesModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DirectivesModule, [typeof i1.Draggable, typeof i2.SlimScroll, typeof i3.Widget], never, [typeof i1.Draggable, typeof i2.SlimScroll, typeof i3.Widget]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DirectivesModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ElementRef, NgZone } from "@angular/core";
|
|
2
|
+
import { AppState } from "@esfaenza/core/services";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class Draggable {
|
|
5
|
+
private _elementRef;
|
|
6
|
+
private zone;
|
|
7
|
+
private _state;
|
|
8
|
+
handlerSelector: string;
|
|
9
|
+
constructor(_elementRef: ElementRef, zone: NgZone, _state: AppState);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Draggable, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<Draggable, "[emaDraggable]", never, { "handlerSelector": "emaDraggable"; }, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ElementRef, NgZone } from "@angular/core";
|
|
2
|
+
import "jquery-slimscroll";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SlimScroll {
|
|
5
|
+
private _elementRef;
|
|
6
|
+
private zone;
|
|
7
|
+
slimScrollOptions: Object;
|
|
8
|
+
constructor(_elementRef: ElementRef, zone: NgZone);
|
|
9
|
+
ngOnChanges(changes: any): void;
|
|
10
|
+
private _scroll;
|
|
11
|
+
private _init;
|
|
12
|
+
private _destroy;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlimScroll, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlimScroll, "[slim-scroll]", never, { "slimScrollOptions": "slimScrollOptions"; }, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ElementRef, OnInit } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class Widget implements OnInit {
|
|
4
|
+
$el: any;
|
|
5
|
+
constructor(el: ElementRef);
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Widget, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<Widget, "[widget]", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare class ApplicationMenu {
|
|
2
|
+
title: string;
|
|
3
|
+
link?: string;
|
|
4
|
+
routerLink?: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
ac?: string;
|
|
7
|
+
wip?: boolean;
|
|
8
|
+
subMenu?: ApplicationMenu[];
|
|
9
|
+
queryParams?: {};
|
|
10
|
+
constructor(title: string, link?: string, routerLink?: string, icon?: string, ac?: string, wip?: boolean, subMenu?: ApplicationMenu[], queryParams?: {});
|
|
11
|
+
static Group(title: string, icon: string, ac: string, wip: boolean, subMenu: ApplicationMenu[]): ApplicationMenu;
|
|
12
|
+
static TopItem(title: string, icon: string, routerLink?: string, ac?: string, queryParams?: {}, wip?: boolean): ApplicationMenu;
|
|
13
|
+
static Item(title: string, routerLink?: string, ac?: string, queryParams?: {}, wip?: boolean): ApplicationMenu;
|
|
14
|
+
static Link(title: string, link?: string): ApplicationMenu;
|
|
15
|
+
static ignoreStorage: any;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class EnvOptions {
|
|
2
|
+
AppData: {
|
|
3
|
+
ModuleId: string;
|
|
4
|
+
ModuleDefId: number;
|
|
5
|
+
ComponentEnvironment: number;
|
|
6
|
+
ComponentVersion: string;
|
|
7
|
+
ModuleDescription: string;
|
|
8
|
+
};
|
|
9
|
+
AuthUrl?: string;
|
|
10
|
+
Client?: string;
|
|
11
|
+
JaceDashboardUrl?: string;
|
|
12
|
+
TransactionTimeoutSeconds: number;
|
|
13
|
+
redirectInProgress?: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { JaceModule } from "./JaceModule";
|
|
2
|
+
import { JacePermission } from "./JacePermission";
|
|
3
|
+
import { JaceRole } from "./JaceRole";
|
|
4
|
+
export declare class AccountScope {
|
|
5
|
+
modules: JaceModule[];
|
|
6
|
+
roles: JaceRole[];
|
|
7
|
+
permissions: JacePermission[];
|
|
8
|
+
constructor(modules?: JaceModule[], roles?: JaceRole[], permissions?: JacePermission[]);
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare class ActiveModuleView {
|
|
2
|
+
idmodule: number;
|
|
3
|
+
name: string;
|
|
4
|
+
altname: string;
|
|
5
|
+
category: string;
|
|
6
|
+
tenant: string;
|
|
7
|
+
uiurl: string;
|
|
8
|
+
environment: string;
|
|
9
|
+
href: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class CategoriesWithModules {
|
|
12
|
+
constructor(module: ActiveModuleView);
|
|
13
|
+
category: string;
|
|
14
|
+
module_rows: ActiveModuleView[][];
|
|
15
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare class JaceAccount {
|
|
2
|
+
idaccount: number;
|
|
3
|
+
iduser: number;
|
|
4
|
+
idtenant: string;
|
|
5
|
+
dsusername: string;
|
|
6
|
+
dspassword: string;
|
|
7
|
+
dtvalidfrom: Date;
|
|
8
|
+
dtvalidto: Date;
|
|
9
|
+
sydatains: Date;
|
|
10
|
+
sydataupd: Date;
|
|
11
|
+
dtlockdown: Date;
|
|
12
|
+
syuserupd: string;
|
|
13
|
+
syuserins: string;
|
|
14
|
+
dsreasonlockdown: string;
|
|
15
|
+
cnattempts: number;
|
|
16
|
+
description: string;
|
|
17
|
+
}
|
|
18
|
+
export declare class JaceUser {
|
|
19
|
+
iduser: number;
|
|
20
|
+
dsnome: string;
|
|
21
|
+
dscognome: string;
|
|
22
|
+
sydatains: Date;
|
|
23
|
+
syuserins: string;
|
|
24
|
+
sydataupd: Date;
|
|
25
|
+
syuserupd: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AccountScope } from "./AccountScope";
|
|
2
|
+
export declare class BaseIdentity {
|
|
3
|
+
Expired: boolean;
|
|
4
|
+
IdAccount: number;
|
|
5
|
+
IdUser: number;
|
|
6
|
+
DsUser: string;
|
|
7
|
+
FullName: string;
|
|
8
|
+
Idtenant: string;
|
|
9
|
+
TenantName: string;
|
|
10
|
+
ExpirationTime: Date;
|
|
11
|
+
}
|
|
12
|
+
export declare class JaceIdentity extends BaseIdentity {
|
|
13
|
+
constructor(scope?: AccountScope);
|
|
14
|
+
Roles: string[];
|
|
15
|
+
Modules: number[];
|
|
16
|
+
Permissions: string[];
|
|
17
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './models/core/classes/ApplicationMenu';
|
|
2
|
+
export * from './models/core/classes/EnvOptions';
|
|
3
|
+
export * from './models/jace/classes/AccountScope';
|
|
4
|
+
export * from './models/jace/classes/ActiveModuleView';
|
|
5
|
+
export * from './models/jace/classes/JaceAccount';
|
|
6
|
+
export * from './models/jace/classes/JaceIdentity';
|
|
7
|
+
export * from './models/jace/classes/JaceModule';
|
|
8
|
+
export * from './models/jace/classes/JacePermission';
|
|
9
|
+
export * from './models/jace/classes/JaceRole';
|
|
10
|
+
export * from './models/jace/classes/User';
|
|
11
|
+
export * from './tokens';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { InjectionToken, Type } from "@angular/core";
|
|
2
|
+
import { LocalizationService } from "@esfaenza/localizations";
|
|
3
|
+
import { ApplicationMenu } from "./models/core/classes/ApplicationMenu";
|
|
4
|
+
/** Token che indica i default da assegnare agli Input */
|
|
5
|
+
export declare const REDIRECT_MAP: InjectionToken<{
|
|
6
|
+
[index: string]: {
|
|
7
|
+
url: string;
|
|
8
|
+
params: string[];
|
|
9
|
+
};
|
|
10
|
+
}>;
|
|
11
|
+
/** Token che indica il servizio di localizzazione utilizzato per i menù */
|
|
12
|
+
export declare const MENU_LOCALIZATION: InjectionToken<Type<LocalizationService>>;
|
|
13
|
+
/** Token che indica i menù dell'applicazione, da quello vegano fino a quello celiaco */
|
|
14
|
+
export declare const MENU: InjectionToken<ApplicationMenu[]>;
|
|
15
|
+
/** Token che indica se il servizio di autenticazione deve utilizzare un token finto */
|
|
16
|
+
export declare const USE_FAKE_ACCESS_TOKEN: InjectionToken<boolean>;
|