tango-app-ui-shared 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/guards/auth.guard.mjs +26 -0
- package/esm2022/lib/i18n/index.mjs +3 -0
- package/esm2022/lib/i18n/translation.module.mjs +17 -0
- package/esm2022/lib/i18n/translation.service.mjs +53 -0
- package/esm2022/lib/i18n/vocabs/ch.mjs +106 -0
- package/esm2022/lib/i18n/vocabs/de.mjs +106 -0
- package/esm2022/lib/i18n/vocabs/en.mjs +106 -0
- package/esm2022/lib/i18n/vocabs/es.mjs +106 -0
- package/esm2022/lib/i18n/vocabs/fr.mjs +106 -0
- package/esm2022/lib/i18n/vocabs/jp.mjs +106 -0
- package/esm2022/lib/interceptors/http-auth-interceptor.mjs +19 -0
- package/esm2022/lib/interfaces/global-state.mjs +2 -0
- package/esm2022/lib/modules/errors/error404/error404.component.mjs +45 -0
- package/esm2022/lib/modules/errors/error500/error500.component.mjs +45 -0
- package/esm2022/lib/modules/errors/errors-routing.module.mjs +38 -0
- package/esm2022/lib/modules/errors/errors.component.mjs +39 -0
- package/esm2022/lib/modules/errors/errors.module.mjs +31 -0
- package/esm2022/lib/modules/layout/content/content.component.mjs +43 -0
- package/esm2022/lib/modules/layout/footer/footer.component.mjs +17 -0
- package/esm2022/lib/modules/layout/header/header-menu/header-menu.component.mjs +41 -0
- package/esm2022/lib/modules/layout/header/header.component.mjs +100 -0
- package/esm2022/lib/modules/layout/header/navbar/navbar.component.mjs +24 -0
- package/esm2022/lib/modules/layout/header/page-title/page-title.component.mjs +50 -0
- package/esm2022/lib/modules/layout/keenicon/icons.json +1 -0
- package/esm2022/lib/modules/layout/keenicon/keenicon.component.mjs +37 -0
- package/esm2022/lib/modules/layout/layout/layout.component.mjs +285 -0
- package/esm2022/lib/modules/layout/layout.module.mjs +139 -0
- package/esm2022/lib/modules/layout/scripts-init/scripts-init.component.mjs +74 -0
- package/esm2022/lib/modules/layout/scroll-top/scroll-top.component.mjs +74 -0
- package/esm2022/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.mjs +14 -0
- package/esm2022/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.mjs +46 -0
- package/esm2022/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.mjs +15 -0
- package/esm2022/lib/modules/layout/sidebar/sidebar.component.mjs +132 -0
- package/esm2022/lib/modules/layout/toolbar/accounting/accounting.component.mjs +15 -0
- package/esm2022/lib/modules/layout/toolbar/classic/classic.component.mjs +67 -0
- package/esm2022/lib/modules/layout/toolbar/extended/extended.component.mjs +14 -0
- package/esm2022/lib/modules/layout/toolbar/reports/reports.component.mjs +17 -0
- package/esm2022/lib/modules/layout/toolbar/saas/saas.component.mjs +17 -0
- package/esm2022/lib/modules/layout/toolbar/toolbar.component.mjs +89 -0
- package/esm2022/lib/routes/route-wraper-modules/manage-wrapper.module.mjs +18 -0
- package/esm2022/lib/routes/route-wraper-modules/profile-wrapper.module.mjs +18 -0
- package/esm2022/lib/routes/route-wraper-modules/store-wrapper.module.mjs +18 -0
- package/esm2022/lib/routes/routing.mjs +25 -0
- package/esm2022/lib/services/auth.service.mjs +23 -0
- package/esm2022/lib/services/global-state.service.mjs +16 -0
- package/esm2022/public-api.mjs +48 -0
- package/esm2022/tango-app-ui-shared.mjs +5 -0
- package/fesm2022/tango-app-ui-shared-manage-wrapper.module-B6GJQNQZ.mjs +21 -0
- package/fesm2022/tango-app-ui-shared-manage-wrapper.module-B6GJQNQZ.mjs.map +1 -0
- package/fesm2022/tango-app-ui-shared-profile-wrapper.module-CTJBnU9I.mjs +21 -0
- package/fesm2022/tango-app-ui-shared-profile-wrapper.module-CTJBnU9I.mjs.map +1 -0
- package/fesm2022/tango-app-ui-shared-store-wrapper.module-UYYC9an_.mjs +21 -0
- package/fesm2022/tango-app-ui-shared-store-wrapper.module-UYYC9an_.mjs.map +1 -0
- package/fesm2022/tango-app-ui-shared.mjs +3420 -0
- package/fesm2022/tango-app-ui-shared.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/guards/auth.guard.d.ts +10 -0
- package/{src/lib/i18n/index.ts → lib/i18n/index.d.ts} +2 -2
- package/lib/i18n/translation.module.d.ts +8 -0
- package/lib/i18n/translation.service.d.ts +19 -0
- package/lib/i18n/vocabs/ch.d.ts +104 -0
- package/lib/i18n/vocabs/de.d.ts +104 -0
- package/lib/i18n/vocabs/en.d.ts +104 -0
- package/lib/i18n/vocabs/es.d.ts +104 -0
- package/lib/i18n/vocabs/fr.d.ts +104 -0
- package/lib/i18n/vocabs/jp.d.ts +104 -0
- package/lib/interceptors/http-auth-interceptor.d.ts +9 -0
- package/lib/interfaces/global-state.d.ts +5 -0
- package/lib/modules/errors/error404/error404.component.d.ts +15 -0
- package/lib/modules/errors/error500/error500.component.d.ts +15 -0
- package/lib/modules/errors/errors-routing.module.d.ts +7 -0
- package/lib/modules/errors/errors.component.d.ts +13 -0
- package/lib/modules/errors/errors.module.d.ts +11 -0
- package/lib/modules/layout/content/content.component.d.ts +16 -0
- package/lib/modules/layout/footer/footer.component.d.ts +8 -0
- package/lib/modules/layout/header/header-menu/header-menu.component.d.ts +18 -0
- package/lib/modules/layout/header/header.component.d.ts +30 -0
- package/lib/modules/layout/header/navbar/navbar.component.d.ts +14 -0
- package/lib/modules/layout/header/page-title/page-title.component.d.ts +20 -0
- package/lib/modules/layout/keenicon/keenicon.component.d.ts +13 -0
- package/lib/modules/layout/layout/layout.component.d.ts +74 -0
- package/lib/modules/layout/layout.module.d.ts +32 -0
- package/lib/modules/layout/scripts-init/scripts-init.component.d.ts +19 -0
- package/lib/modules/layout/scroll-top/scroll-top.component.d.ts +19 -0
- package/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.d.ts +8 -0
- package/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.d.ts +19 -0
- package/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.d.ts +8 -0
- package/lib/modules/layout/sidebar/sidebar.component.d.ts +35 -0
- package/lib/modules/layout/toolbar/accounting/accounting.component.d.ts +8 -0
- package/lib/modules/layout/toolbar/classic/classic.component.d.ts +27 -0
- package/lib/modules/layout/toolbar/extended/extended.component.d.ts +8 -0
- package/lib/modules/layout/toolbar/reports/reports.component.d.ts +9 -0
- package/lib/modules/layout/toolbar/saas/saas.component.d.ts +9 -0
- package/lib/modules/layout/toolbar/toolbar.component.d.ts +27 -0
- package/lib/routes/route-wraper-modules/manage-wrapper.module.d.ts +7 -0
- package/lib/routes/route-wraper-modules/profile-wrapper.module.d.ts +7 -0
- package/lib/routes/route-wraper-modules/store-wrapper.module.d.ts +7 -0
- package/lib/routes/routing.d.ts +3 -0
- package/lib/services/auth.service.d.ts +9 -0
- package/lib/services/global-state.service.d.ts +9 -0
- package/package.json +25 -12
- package/{src/public-api.ts → public-api.d.ts} +37 -64
- package/.eslintrc.json +0 -37
- package/ng-package.json +0 -7
- package/src/lib/guards/auth.guard.ts +0 -20
- package/src/lib/i18n/translation.module.ts +0 -9
- package/src/lib/i18n/translation.service.ts +0 -61
- package/src/lib/i18n/vocabs/ch.ts +0 -105
- package/src/lib/i18n/vocabs/de.ts +0 -105
- package/src/lib/i18n/vocabs/en.ts +0 -105
- package/src/lib/i18n/vocabs/es.ts +0 -105
- package/src/lib/i18n/vocabs/fr.ts +0 -105
- package/src/lib/i18n/vocabs/jp.ts +0 -105
- package/src/lib/interceptors/http-auth-interceptor.ts +0 -21
- package/src/lib/interfaces/global-state.ts +0 -6
- package/src/lib/modules/errors/error404/error404.component.html +0 -24
- package/src/lib/modules/errors/error404/error404.component.scss +0 -0
- package/src/lib/modules/errors/error404/error404.component.spec.ts +0 -25
- package/src/lib/modules/errors/error404/error404.component.ts +0 -50
- package/src/lib/modules/errors/error500/error500.component.html +0 -24
- package/src/lib/modules/errors/error500/error500.component.scss +0 -0
- package/src/lib/modules/errors/error500/error500.component.spec.ts +0 -25
- package/src/lib/modules/errors/error500/error500.component.ts +0 -50
- package/src/lib/modules/errors/errors-routing.module.ts +0 -30
- package/src/lib/modules/errors/errors.component.html +0 -15
- package/src/lib/modules/errors/errors.component.scss +0 -4
- package/src/lib/modules/errors/errors.component.spec.ts +0 -25
- package/src/lib/modules/errors/errors.component.ts +0 -42
- package/src/lib/modules/errors/errors.module.ts +0 -21
- package/src/lib/modules/layout/content/content.component.html +0 -12
- package/src/lib/modules/layout/content/content.component.scss +0 -0
- package/src/lib/modules/layout/content/content.component.ts +0 -35
- package/src/lib/modules/layout/footer/footer.component.html +0 -32
- package/src/lib/modules/layout/footer/footer.component.scss +0 -0
- package/src/lib/modules/layout/footer/footer.component.spec.ts +0 -25
- package/src/lib/modules/layout/footer/footer.component.ts +0 -13
- package/src/lib/modules/layout/header/header-menu/header-menu.component.html +0 -27
- package/src/lib/modules/layout/header/header-menu/header-menu.component.scss +0 -4
- package/src/lib/modules/layout/header/header-menu/header-menu.component.spec.ts +0 -25
- package/src/lib/modules/layout/header/header-menu/header-menu.component.ts +0 -38
- package/src/lib/modules/layout/header/header.component.html +0 -90
- package/src/lib/modules/layout/header/header.component.scss +0 -0
- package/src/lib/modules/layout/header/header.component.spec.ts +0 -25
- package/src/lib/modules/layout/header/header.component.ts +0 -139
- package/src/lib/modules/layout/header/navbar/navbar.component.html +0 -92
- package/src/lib/modules/layout/header/navbar/navbar.component.scss +0 -0
- package/src/lib/modules/layout/header/navbar/navbar.component.spec.ts +0 -23
- package/src/lib/modules/layout/header/navbar/navbar.component.ts +0 -20
- package/src/lib/modules/layout/header/page-title/page-title.component.html +0 -32
- package/src/lib/modules/layout/header/page-title/page-title.component.ts +0 -40
- package/src/lib/modules/layout/keenicon/icons.json +0 -1
- package/src/lib/modules/layout/keenicon/keenicon.component.html +0 -4
- package/src/lib/modules/layout/keenicon/keenicon.component.scss +0 -0
- package/src/lib/modules/layout/keenicon/keenicon.component.spec.ts +0 -23
- package/src/lib/modules/layout/keenicon/keenicon.component.ts +0 -30
- package/src/lib/modules/layout/layout/layout.component.html +0 -70
- package/src/lib/modules/layout/layout/layout.component.scss +0 -15
- package/src/lib/modules/layout/layout/layout.component.ts +0 -399
- package/src/lib/modules/layout/layout.module.ts +0 -93
- package/src/lib/modules/layout/scripts-init/scripts-init.component.html +0 -0
- package/src/lib/modules/layout/scripts-init/scripts-init.component.ts +0 -81
- package/src/lib/modules/layout/scroll-top/scroll-top.component.html +0 -1
- package/src/lib/modules/layout/scroll-top/scroll-top.component.ts +0 -75
- package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.html +0 -9
- package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.scss +0 -0
- package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.spec.ts +0 -23
- package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.ts +0 -13
- package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.html +0 -26
- package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.scss +0 -0
- package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.spec.ts +0 -23
- package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.ts +0 -36
- package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.html +0 -276
- package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.scss +0 -0
- package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.spec.ts +0 -23
- package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.ts +0 -15
- package/src/lib/modules/layout/sidebar/sidebar.component.html +0 -16
- package/src/lib/modules/layout/sidebar/sidebar.component.scss +0 -0
- package/src/lib/modules/layout/sidebar/sidebar.component.spec.ts +0 -23
- package/src/lib/modules/layout/sidebar/sidebar.component.ts +0 -203
- package/src/lib/modules/layout/toolbar/accounting/accounting.component.html +0 -84
- package/src/lib/modules/layout/toolbar/accounting/accounting.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/accounting/accounting.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/accounting/accounting.component.ts +0 -14
- package/src/lib/modules/layout/toolbar/classic/classic.component.html +0 -37
- package/src/lib/modules/layout/toolbar/classic/classic.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/classic/classic.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/classic/classic.component.ts +0 -88
- package/src/lib/modules/layout/toolbar/extended/extended.component.html +0 -100
- package/src/lib/modules/layout/toolbar/extended/extended.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/extended/extended.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/extended/extended.component.ts +0 -12
- package/src/lib/modules/layout/toolbar/reports/reports.component.html +0 -62
- package/src/lib/modules/layout/toolbar/reports/reports.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/reports/reports.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/reports/reports.component.ts +0 -14
- package/src/lib/modules/layout/toolbar/saas/saas.component.html +0 -77
- package/src/lib/modules/layout/toolbar/saas/saas.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/saas/saas.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/saas/saas.component.ts +0 -14
- package/src/lib/modules/layout/toolbar/toolbar.component.html +0 -27
- package/src/lib/modules/layout/toolbar/toolbar.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/toolbar.component.spec.ts +0 -25
- package/src/lib/modules/layout/toolbar/toolbar.component.ts +0 -125
- package/src/lib/routes/route-wraper-modules/manage-wrapper.module.ts +0 -12
- package/src/lib/routes/route-wraper-modules/profile-wrapper.module.ts +0 -12
- package/src/lib/routes/route-wraper-modules/store-wrapper.module.ts +0 -12
- package/src/lib/routes/routing.ts +0 -72
- package/src/lib/services/auth.service.ts +0 -16
- package/src/lib/services/global-state.service.ts +0 -11
- package/tsconfig.lib.json +0 -14
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
|
@@ -0,0 +1,3420 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, Input, HostBinding, ViewChild, NgModule, Injectable } from '@angular/core';
|
|
3
|
+
import * as i1$1 from '@angular/router';
|
|
4
|
+
import { NavigationEnd, NavigationCancel, ResolveEnd, RouterModule } from '@angular/router';
|
|
5
|
+
import * as i1 from 'tango-app-metronics';
|
|
6
|
+
import { MenuComponent, StickyComponent as StickyComponent$1, ScrollTopComponent as ScrollTopComponent$1, ToggleComponent as ToggleComponent$1, DrawerComponent as DrawerComponent$1, ScrollComponent as ScrollComponent$1 } from 'tango-app-metronics';
|
|
7
|
+
import * as i2 from '@angular/common';
|
|
8
|
+
import { CommonModule } from '@angular/common';
|
|
9
|
+
import { filter } from 'rxjs/operators';
|
|
10
|
+
import * as i1$2 from 'tango-app-ui-metronics';
|
|
11
|
+
import { ToggleComponent, ScrollTopComponent, DrawerComponent, StickyComponent, MenuComponent as MenuComponent$1, ScrollComponent } from 'tango-app-ui-metronics';
|
|
12
|
+
import * as i3 from '@angular/platform-browser';
|
|
13
|
+
import * as i1$3 from '@ngx-translate/core';
|
|
14
|
+
import { TranslateModule } from '@ngx-translate/core';
|
|
15
|
+
import { InlineSVGModule } from 'ng-inline-svg-2';
|
|
16
|
+
import { NgbDropdownModule, NgbProgressbarModule, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';
|
|
17
|
+
import { BehaviorSubject } from 'rxjs';
|
|
18
|
+
|
|
19
|
+
class HeaderMenuComponent {
|
|
20
|
+
pageInfo;
|
|
21
|
+
cd;
|
|
22
|
+
unsubscribe = [];
|
|
23
|
+
appPageTitleDirection = '';
|
|
24
|
+
appPageTitleDescription = true;
|
|
25
|
+
title$;
|
|
26
|
+
description$;
|
|
27
|
+
constructor(pageInfo, cd) {
|
|
28
|
+
this.pageInfo = pageInfo;
|
|
29
|
+
this.cd = cd;
|
|
30
|
+
}
|
|
31
|
+
ngOnInit() {
|
|
32
|
+
this.title$ = this.pageInfo.title.asObservable();
|
|
33
|
+
this.description$ = this.pageInfo.description.asObservable();
|
|
34
|
+
this.title$.subscribe((e) => {
|
|
35
|
+
this.cd.detectChanges();
|
|
36
|
+
});
|
|
37
|
+
this.description$.subscribe((e) => {
|
|
38
|
+
this.cd.detectChanges();
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
ngOnDestroy() {
|
|
42
|
+
this.unsubscribe.forEach((sb) => sb.unsubscribe());
|
|
43
|
+
}
|
|
44
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: HeaderMenuComponent, deps: [{ token: i1.PageInfoService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
45
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: HeaderMenuComponent, selector: "lib-header-menu", inputs: { appPageTitleDirection: "appPageTitleDirection", appPageTitleDescription: "appPageTitleDescription" }, ngImport: i0, template: "<ng-container *ngIf=\"title$ | async as title\">\r\n <!-- begin::Title -->\r\n <h1 class=\"page-heading d-flex text-gray-900 fw-bold fs-3 my-0 flex-column justify-content-center\">\r\n {{ title }}\r\n <ng-container *ngIf=\"appPageTitleDescription\">\r\n <ng-container *ngIf=\"description$ | async as description\">\r\n\r\n\r\n <!--begin::Description-->\r\n <span class=\"page-desc text-muted fs-7 fw-semibold\" [ngClass]=\"{'pt-2': appPageTitleDirection === 'column'}\">\r\n <ng-container *ngIf=\"appPageTitleDirection === 'row'\">\r\n <!--begin::Separator-->\r\n <span class=\"h-20px border-1 border-gray-300 border-start ms-3 mx-2\"></span>\r\n <!--end::Separator-->\r\n </ng-container>\r\n\r\n {{description}}\r\n </span>\r\n <!--end::Description-->\r\n </ng-container>\r\n\r\n </ng-container>\r\n\r\n </h1>\r\n <!-- end::Title -->\r\n\r\n</ng-container>\r\n", styles: [":host{height:inherit;width:inherit}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }] });
|
|
46
|
+
}
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: HeaderMenuComponent, decorators: [{
|
|
48
|
+
type: Component,
|
|
49
|
+
args: [{ selector: 'lib-header-menu', template: "<ng-container *ngIf=\"title$ | async as title\">\r\n <!-- begin::Title -->\r\n <h1 class=\"page-heading d-flex text-gray-900 fw-bold fs-3 my-0 flex-column justify-content-center\">\r\n {{ title }}\r\n <ng-container *ngIf=\"appPageTitleDescription\">\r\n <ng-container *ngIf=\"description$ | async as description\">\r\n\r\n\r\n <!--begin::Description-->\r\n <span class=\"page-desc text-muted fs-7 fw-semibold\" [ngClass]=\"{'pt-2': appPageTitleDirection === 'column'}\">\r\n <ng-container *ngIf=\"appPageTitleDirection === 'row'\">\r\n <!--begin::Separator-->\r\n <span class=\"h-20px border-1 border-gray-300 border-start ms-3 mx-2\"></span>\r\n <!--end::Separator-->\r\n </ng-container>\r\n\r\n {{description}}\r\n </span>\r\n <!--end::Description-->\r\n </ng-container>\r\n\r\n </ng-container>\r\n\r\n </h1>\r\n <!-- end::Title -->\r\n\r\n</ng-container>\r\n", styles: [":host{height:inherit;width:inherit}\n"] }]
|
|
50
|
+
}], ctorParameters: () => [{ type: i1.PageInfoService }, { type: i0.ChangeDetectorRef }], propDecorators: { appPageTitleDirection: [{
|
|
51
|
+
type: Input
|
|
52
|
+
}], appPageTitleDescription: [{
|
|
53
|
+
type: Input
|
|
54
|
+
}] } });
|
|
55
|
+
|
|
56
|
+
class NavbarComponent {
|
|
57
|
+
appHeaderDefaulMenuDisplay;
|
|
58
|
+
isRtl;
|
|
59
|
+
itemClass = 'ms-1 ms-lg-3';
|
|
60
|
+
btnClass = 'btn btn-icon btn-custom btn-icon-muted btn-active-light btn-active-color-primary w-35px h-35px w-md-40px h-md-40px';
|
|
61
|
+
userAvatarClass = 'symbol-35px symbol-md-40px';
|
|
62
|
+
btnIconClass = 'fs-2 fs-md-1';
|
|
63
|
+
constructor() { }
|
|
64
|
+
ngOnInit() { }
|
|
65
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: NavbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
66
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: NavbarComponent, selector: "lib-navbar", inputs: { appHeaderDefaulMenuDisplay: "appHeaderDefaulMenuDisplay", isRtl: "isRtl" }, ngImport: i0, template: "\r\n<!--begin::Theme mode-->\r\n<div class=\"app-navbar-item\" [ngClass]=\"itemClass\">\r\n <img src=\"./assets/tango/layout/bell.svg\" alt=\"\">\r\n</div>\r\n<!--end::Theme mode-->\r\n\r\n\r\n\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
67
|
+
}
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: NavbarComponent, decorators: [{
|
|
69
|
+
type: Component,
|
|
70
|
+
args: [{ selector: 'lib-navbar', template: "\r\n<!--begin::Theme mode-->\r\n<div class=\"app-navbar-item\" [ngClass]=\"itemClass\">\r\n <img src=\"./assets/tango/layout/bell.svg\" alt=\"\">\r\n</div>\r\n<!--end::Theme mode-->\r\n\r\n\r\n\r\n" }]
|
|
71
|
+
}], ctorParameters: () => [], propDecorators: { appHeaderDefaulMenuDisplay: [{
|
|
72
|
+
type: Input
|
|
73
|
+
}], isRtl: [{
|
|
74
|
+
type: Input
|
|
75
|
+
}] } });
|
|
76
|
+
|
|
77
|
+
var categories = {
|
|
78
|
+
abstract: [
|
|
79
|
+
"abstract-33",
|
|
80
|
+
"abstract-27",
|
|
81
|
+
"abstract-26",
|
|
82
|
+
"abstract-32",
|
|
83
|
+
"abstract-18",
|
|
84
|
+
"abstract-24",
|
|
85
|
+
"abstract-30",
|
|
86
|
+
"abstract-8",
|
|
87
|
+
"abstract-9",
|
|
88
|
+
"abstract-31",
|
|
89
|
+
"abstract-25",
|
|
90
|
+
"abstract-19",
|
|
91
|
+
"abstract-21",
|
|
92
|
+
"abstract-35",
|
|
93
|
+
"abstract-34",
|
|
94
|
+
"abstract-20",
|
|
95
|
+
"abstract-36",
|
|
96
|
+
"abstract-22",
|
|
97
|
+
"abstract-23",
|
|
98
|
+
"abstract-37",
|
|
99
|
+
"abstract-44",
|
|
100
|
+
"abstract",
|
|
101
|
+
"abstract-45",
|
|
102
|
+
"abstract-47",
|
|
103
|
+
"abstract-46",
|
|
104
|
+
"abstract-42",
|
|
105
|
+
"abstract-43",
|
|
106
|
+
"abstract-41",
|
|
107
|
+
"abstract-40",
|
|
108
|
+
"abstract-48",
|
|
109
|
+
"abstract-49",
|
|
110
|
+
"abstract-12",
|
|
111
|
+
"abstract-2",
|
|
112
|
+
"abstract-3",
|
|
113
|
+
"abstract-13",
|
|
114
|
+
"abstract-39",
|
|
115
|
+
"abstract-11",
|
|
116
|
+
"abstract-1",
|
|
117
|
+
"abstract-10",
|
|
118
|
+
"abstract-38",
|
|
119
|
+
"abstract-14",
|
|
120
|
+
"abstract-28",
|
|
121
|
+
"abstract-4",
|
|
122
|
+
"abstract-5",
|
|
123
|
+
"abstract-29",
|
|
124
|
+
"abstract-15",
|
|
125
|
+
"abstract-17",
|
|
126
|
+
"abstract-7",
|
|
127
|
+
"abstract-6",
|
|
128
|
+
"abstract-16"
|
|
129
|
+
],
|
|
130
|
+
settings: [
|
|
131
|
+
"toggle-on",
|
|
132
|
+
"toggle-on-circle",
|
|
133
|
+
"toggle-off",
|
|
134
|
+
"category",
|
|
135
|
+
"setting",
|
|
136
|
+
"toggle-off-circle",
|
|
137
|
+
"more-2",
|
|
138
|
+
"setting-4",
|
|
139
|
+
"setting-2",
|
|
140
|
+
"setting-3"
|
|
141
|
+
],
|
|
142
|
+
design: [
|
|
143
|
+
"eraser",
|
|
144
|
+
"paintbucket",
|
|
145
|
+
"add-item",
|
|
146
|
+
"design-2",
|
|
147
|
+
"brush",
|
|
148
|
+
"size",
|
|
149
|
+
"design",
|
|
150
|
+
"copy",
|
|
151
|
+
"text",
|
|
152
|
+
"design-frame",
|
|
153
|
+
"bucket",
|
|
154
|
+
"glass",
|
|
155
|
+
"feather",
|
|
156
|
+
"pencil",
|
|
157
|
+
"colors-square",
|
|
158
|
+
"design-mask",
|
|
159
|
+
"bucket-square",
|
|
160
|
+
"copy-success",
|
|
161
|
+
"color-swatch"
|
|
162
|
+
],
|
|
163
|
+
"social-media": [
|
|
164
|
+
"instagram",
|
|
165
|
+
"snapchat",
|
|
166
|
+
"classmates",
|
|
167
|
+
"facebook",
|
|
168
|
+
"whatsapp",
|
|
169
|
+
"social-media",
|
|
170
|
+
"youtube",
|
|
171
|
+
"dribbble",
|
|
172
|
+
"twitter",
|
|
173
|
+
"tiktok",
|
|
174
|
+
"behance"
|
|
175
|
+
],
|
|
176
|
+
"it-network": [
|
|
177
|
+
"underlining",
|
|
178
|
+
"disconnect",
|
|
179
|
+
"code",
|
|
180
|
+
"gear",
|
|
181
|
+
"loading",
|
|
182
|
+
"scroll",
|
|
183
|
+
"wrench",
|
|
184
|
+
"square-brackets",
|
|
185
|
+
"frame",
|
|
186
|
+
"message-programming",
|
|
187
|
+
"data",
|
|
188
|
+
"fasten",
|
|
189
|
+
"click"
|
|
190
|
+
],
|
|
191
|
+
technologies: [
|
|
192
|
+
"tech-wifi",
|
|
193
|
+
"joystick",
|
|
194
|
+
"faceid",
|
|
195
|
+
"technology-3",
|
|
196
|
+
"technology-2",
|
|
197
|
+
"electricity",
|
|
198
|
+
"fingerprint-scanning",
|
|
199
|
+
"technology-4",
|
|
200
|
+
"artificial-intelligence",
|
|
201
|
+
"technology"
|
|
202
|
+
],
|
|
203
|
+
ecommerce: [
|
|
204
|
+
"basket-ok",
|
|
205
|
+
"cheque",
|
|
206
|
+
"handcart",
|
|
207
|
+
"shop",
|
|
208
|
+
"tag",
|
|
209
|
+
"purchase",
|
|
210
|
+
"discount",
|
|
211
|
+
"package",
|
|
212
|
+
"percentage",
|
|
213
|
+
"barcode",
|
|
214
|
+
"lots-shopping",
|
|
215
|
+
"basket"
|
|
216
|
+
],
|
|
217
|
+
archive: [
|
|
218
|
+
"book-square",
|
|
219
|
+
"receipt-square",
|
|
220
|
+
"save-2",
|
|
221
|
+
"archive-tick"
|
|
222
|
+
],
|
|
223
|
+
security: [
|
|
224
|
+
"shield-search",
|
|
225
|
+
"password-check",
|
|
226
|
+
"shield-tick",
|
|
227
|
+
"lock",
|
|
228
|
+
"key",
|
|
229
|
+
"shield",
|
|
230
|
+
"shield-cross",
|
|
231
|
+
"key-square",
|
|
232
|
+
"eye-slash",
|
|
233
|
+
"security-check",
|
|
234
|
+
"lock-3",
|
|
235
|
+
"scan-barcode",
|
|
236
|
+
"lock-2",
|
|
237
|
+
"eye",
|
|
238
|
+
"shield-slash",
|
|
239
|
+
"security-user"
|
|
240
|
+
],
|
|
241
|
+
general: [
|
|
242
|
+
"triangle",
|
|
243
|
+
"subtitle",
|
|
244
|
+
"ghost",
|
|
245
|
+
"information",
|
|
246
|
+
"milk",
|
|
247
|
+
"home",
|
|
248
|
+
"happy-emoji",
|
|
249
|
+
"mouse-square",
|
|
250
|
+
"filter-tick",
|
|
251
|
+
"filter-search",
|
|
252
|
+
"wifi-home",
|
|
253
|
+
"trash-square",
|
|
254
|
+
"paper-clip",
|
|
255
|
+
"archive",
|
|
256
|
+
"pin",
|
|
257
|
+
"wifi-square",
|
|
258
|
+
"auto-brightness",
|
|
259
|
+
"coffee",
|
|
260
|
+
"icon",
|
|
261
|
+
"emoji-happy",
|
|
262
|
+
"general-mouse",
|
|
263
|
+
"ranking",
|
|
264
|
+
"slider",
|
|
265
|
+
"crown-2",
|
|
266
|
+
"rescue",
|
|
267
|
+
"flash-circle",
|
|
268
|
+
"safe-home",
|
|
269
|
+
"cloud-change",
|
|
270
|
+
"crown",
|
|
271
|
+
"filter-edit",
|
|
272
|
+
"picture",
|
|
273
|
+
"verify",
|
|
274
|
+
"send",
|
|
275
|
+
"tag-cross",
|
|
276
|
+
"cloud-add",
|
|
277
|
+
"home-3",
|
|
278
|
+
"disk",
|
|
279
|
+
"trash",
|
|
280
|
+
"star",
|
|
281
|
+
"cd",
|
|
282
|
+
"home-2",
|
|
283
|
+
"mouse-circle",
|
|
284
|
+
"home-1",
|
|
285
|
+
"call",
|
|
286
|
+
"gift",
|
|
287
|
+
"share",
|
|
288
|
+
"sort",
|
|
289
|
+
"magnifier",
|
|
290
|
+
"filter-square",
|
|
291
|
+
"tree",
|
|
292
|
+
"filter",
|
|
293
|
+
"switch",
|
|
294
|
+
"cloud",
|
|
295
|
+
"cup",
|
|
296
|
+
"diamonds",
|
|
297
|
+
"status",
|
|
298
|
+
"rocket",
|
|
299
|
+
"cloud-download",
|
|
300
|
+
"menu",
|
|
301
|
+
"chrome"
|
|
302
|
+
],
|
|
303
|
+
location: [
|
|
304
|
+
"geolocation-home",
|
|
305
|
+
"map",
|
|
306
|
+
"telephone-geolocation",
|
|
307
|
+
"satellite",
|
|
308
|
+
"flag",
|
|
309
|
+
"focus",
|
|
310
|
+
"pointers",
|
|
311
|
+
"compass",
|
|
312
|
+
"route",
|
|
313
|
+
"geolocation"
|
|
314
|
+
],
|
|
315
|
+
education: [
|
|
316
|
+
"brifecase-timer",
|
|
317
|
+
"briefcase",
|
|
318
|
+
"clipboard",
|
|
319
|
+
"bookmark-2",
|
|
320
|
+
"note",
|
|
321
|
+
"note-2",
|
|
322
|
+
"book-open",
|
|
323
|
+
"book",
|
|
324
|
+
"teacher",
|
|
325
|
+
"award",
|
|
326
|
+
"brifecase-tick",
|
|
327
|
+
"brifecase-cros",
|
|
328
|
+
"bookmark"
|
|
329
|
+
],
|
|
330
|
+
business: [
|
|
331
|
+
"chart-line",
|
|
332
|
+
"chart",
|
|
333
|
+
"graph-3",
|
|
334
|
+
"chart-pie-3",
|
|
335
|
+
"graph-2",
|
|
336
|
+
"chart-line-down",
|
|
337
|
+
"chart-pie-too",
|
|
338
|
+
"chart-pie-4",
|
|
339
|
+
"chart-line-down-2",
|
|
340
|
+
"graph-4",
|
|
341
|
+
"chart-line-up-2",
|
|
342
|
+
"badge",
|
|
343
|
+
"chart-line-up",
|
|
344
|
+
"chart-simple-3",
|
|
345
|
+
"chart-pie-simple",
|
|
346
|
+
"chart-simple-2",
|
|
347
|
+
"graph-up",
|
|
348
|
+
"chart-line-star",
|
|
349
|
+
"graph",
|
|
350
|
+
"chart-simple"
|
|
351
|
+
],
|
|
352
|
+
"files-folders": [
|
|
353
|
+
"tablet-delete",
|
|
354
|
+
"file-added",
|
|
355
|
+
"file-up",
|
|
356
|
+
"minus-folder",
|
|
357
|
+
"file",
|
|
358
|
+
"delete-files",
|
|
359
|
+
"add-folder",
|
|
360
|
+
"file-left",
|
|
361
|
+
"file-deleted",
|
|
362
|
+
"some-files",
|
|
363
|
+
"file-right",
|
|
364
|
+
"notepad",
|
|
365
|
+
"notepad-bookmark",
|
|
366
|
+
"document",
|
|
367
|
+
"like-folder",
|
|
368
|
+
"folder-up",
|
|
369
|
+
"folder-added",
|
|
370
|
+
"file-down",
|
|
371
|
+
"filter-tablet",
|
|
372
|
+
"tablet-book",
|
|
373
|
+
"update-file",
|
|
374
|
+
"add-notepad",
|
|
375
|
+
"questionnaire-tablet",
|
|
376
|
+
"tablet-up",
|
|
377
|
+
"tablet-ok",
|
|
378
|
+
"update-folder",
|
|
379
|
+
"files-tablet",
|
|
380
|
+
"folder-down",
|
|
381
|
+
"notepad-edit",
|
|
382
|
+
"tablet-text-up",
|
|
383
|
+
"search-list",
|
|
384
|
+
"tablet-text-down",
|
|
385
|
+
"add-files",
|
|
386
|
+
"tablet-down",
|
|
387
|
+
"delete-folder",
|
|
388
|
+
"folder",
|
|
389
|
+
"file-sheet"
|
|
390
|
+
],
|
|
391
|
+
software: [
|
|
392
|
+
"bootstrap",
|
|
393
|
+
"figma",
|
|
394
|
+
"dropbox",
|
|
395
|
+
"xaomi",
|
|
396
|
+
"microsoft",
|
|
397
|
+
"android",
|
|
398
|
+
"vue",
|
|
399
|
+
"js",
|
|
400
|
+
"spring-framework",
|
|
401
|
+
"github",
|
|
402
|
+
"dj",
|
|
403
|
+
"google-play",
|
|
404
|
+
"angular",
|
|
405
|
+
"soft-3",
|
|
406
|
+
"python",
|
|
407
|
+
"soft-2",
|
|
408
|
+
"ts",
|
|
409
|
+
"xd",
|
|
410
|
+
"spotify",
|
|
411
|
+
"js-2",
|
|
412
|
+
"laravel",
|
|
413
|
+
"css",
|
|
414
|
+
"google",
|
|
415
|
+
"photoshop",
|
|
416
|
+
"twitch",
|
|
417
|
+
"illustrator",
|
|
418
|
+
"pails",
|
|
419
|
+
"react",
|
|
420
|
+
"html",
|
|
421
|
+
"slack",
|
|
422
|
+
"soft",
|
|
423
|
+
"yii",
|
|
424
|
+
"apple",
|
|
425
|
+
"vuesax"
|
|
426
|
+
],
|
|
427
|
+
time: [
|
|
428
|
+
"calendar-add",
|
|
429
|
+
"calendar-search",
|
|
430
|
+
"calendar-2",
|
|
431
|
+
"calendar-tick",
|
|
432
|
+
"time",
|
|
433
|
+
"watch",
|
|
434
|
+
"calendar-edit",
|
|
435
|
+
"calendar",
|
|
436
|
+
"calendar-8",
|
|
437
|
+
"timer",
|
|
438
|
+
"calendar-remove"
|
|
439
|
+
],
|
|
440
|
+
support: [
|
|
441
|
+
"heart-circle",
|
|
442
|
+
"like",
|
|
443
|
+
"information-4",
|
|
444
|
+
"information-5",
|
|
445
|
+
"information-2",
|
|
446
|
+
"information-3",
|
|
447
|
+
"question",
|
|
448
|
+
"dislike",
|
|
449
|
+
"message-question",
|
|
450
|
+
"medal-star",
|
|
451
|
+
"like-tag",
|
|
452
|
+
"like-2",
|
|
453
|
+
"support-24",
|
|
454
|
+
"question-2",
|
|
455
|
+
"lovely",
|
|
456
|
+
"like-shapes",
|
|
457
|
+
"heart"
|
|
458
|
+
],
|
|
459
|
+
users: [
|
|
460
|
+
"user",
|
|
461
|
+
"user-square",
|
|
462
|
+
"user-tick",
|
|
463
|
+
"people",
|
|
464
|
+
"user-edit",
|
|
465
|
+
"profile-user",
|
|
466
|
+
"profile-circle"
|
|
467
|
+
],
|
|
468
|
+
medicine: [
|
|
469
|
+
"capsule",
|
|
470
|
+
"virus",
|
|
471
|
+
"bandage",
|
|
472
|
+
"thermometer",
|
|
473
|
+
"flask",
|
|
474
|
+
"test-tubes",
|
|
475
|
+
"syringe",
|
|
476
|
+
"mask",
|
|
477
|
+
"pill",
|
|
478
|
+
"pulse"
|
|
479
|
+
],
|
|
480
|
+
"burger-menu": [
|
|
481
|
+
"burger-menu",
|
|
482
|
+
"burger-menu-6",
|
|
483
|
+
"burger-menu-5",
|
|
484
|
+
"burger-menu-4",
|
|
485
|
+
"burger-menu-1",
|
|
486
|
+
"burger-menu-3",
|
|
487
|
+
"burger-menu-2"
|
|
488
|
+
],
|
|
489
|
+
typography: [
|
|
490
|
+
"text-align-center",
|
|
491
|
+
"text-italic",
|
|
492
|
+
"text-bold",
|
|
493
|
+
"text-strikethrough",
|
|
494
|
+
"text-underline",
|
|
495
|
+
"text-number",
|
|
496
|
+
"text-align-left",
|
|
497
|
+
"text-align-right",
|
|
498
|
+
"text-circle",
|
|
499
|
+
"text-align-justify-center"
|
|
500
|
+
],
|
|
501
|
+
finance: [
|
|
502
|
+
"theta",
|
|
503
|
+
"dollar",
|
|
504
|
+
"binance",
|
|
505
|
+
"nexo",
|
|
506
|
+
"euro",
|
|
507
|
+
"avalanche",
|
|
508
|
+
"bitcoin",
|
|
509
|
+
"wallet",
|
|
510
|
+
"price-tag",
|
|
511
|
+
"finance-calculator",
|
|
512
|
+
"dash",
|
|
513
|
+
"lts",
|
|
514
|
+
"vibe",
|
|
515
|
+
"credit-cart",
|
|
516
|
+
"paypal",
|
|
517
|
+
"bill",
|
|
518
|
+
"ocean",
|
|
519
|
+
"celsius",
|
|
520
|
+
"educare",
|
|
521
|
+
"enjin-coin",
|
|
522
|
+
"two-credit-cart",
|
|
523
|
+
"bank",
|
|
524
|
+
"binance-usd",
|
|
525
|
+
"wanchain",
|
|
526
|
+
"trello",
|
|
527
|
+
"save-deposit",
|
|
528
|
+
"xmr",
|
|
529
|
+
"financial-schedule",
|
|
530
|
+
"office-bag"
|
|
531
|
+
],
|
|
532
|
+
weather: [
|
|
533
|
+
"night-day",
|
|
534
|
+
"sun",
|
|
535
|
+
"drop",
|
|
536
|
+
"moon"
|
|
537
|
+
],
|
|
538
|
+
arrows: [
|
|
539
|
+
"exit-right-corner",
|
|
540
|
+
"dots-circle-vertical",
|
|
541
|
+
"check-square",
|
|
542
|
+
"right-left",
|
|
543
|
+
"arrow-down",
|
|
544
|
+
"dots-horizontal",
|
|
545
|
+
"arrow-right-left",
|
|
546
|
+
"up-down",
|
|
547
|
+
"double-check",
|
|
548
|
+
"arrow-up-left",
|
|
549
|
+
"down",
|
|
550
|
+
"exit-up",
|
|
551
|
+
"up-square",
|
|
552
|
+
"down-square",
|
|
553
|
+
"plus-square",
|
|
554
|
+
"dots-circle",
|
|
555
|
+
"arrow-down-left",
|
|
556
|
+
"double-check-circle",
|
|
557
|
+
"up",
|
|
558
|
+
"entrance-right",
|
|
559
|
+
"arrow-right",
|
|
560
|
+
"arrow-two-diagonals",
|
|
561
|
+
"minus-square",
|
|
562
|
+
"arrow-diagonal",
|
|
563
|
+
"black-left",
|
|
564
|
+
"arrow-down-refraction",
|
|
565
|
+
"black-right",
|
|
566
|
+
"double-left",
|
|
567
|
+
"arrow-circle-left",
|
|
568
|
+
"arrow-zigzag",
|
|
569
|
+
"plus",
|
|
570
|
+
"check",
|
|
571
|
+
"exit-left",
|
|
572
|
+
"arrow-circle-right",
|
|
573
|
+
"cross-square",
|
|
574
|
+
"entrance-left",
|
|
575
|
+
"left-square",
|
|
576
|
+
"arrows-loop",
|
|
577
|
+
"black-left-line",
|
|
578
|
+
"double-left-arrow",
|
|
579
|
+
"check-circle",
|
|
580
|
+
"right",
|
|
581
|
+
"dots-square-vertical",
|
|
582
|
+
"arrow-up-right",
|
|
583
|
+
"exit-down",
|
|
584
|
+
"dots-square",
|
|
585
|
+
"to-left",
|
|
586
|
+
"double-down",
|
|
587
|
+
"plus-circle",
|
|
588
|
+
"black-down",
|
|
589
|
+
"double-up",
|
|
590
|
+
"black-up",
|
|
591
|
+
"double-right-arrow",
|
|
592
|
+
"arrow-up",
|
|
593
|
+
"black-right-line",
|
|
594
|
+
"arrow-up-refraction",
|
|
595
|
+
"arrow-left",
|
|
596
|
+
"cross",
|
|
597
|
+
"minus-circle",
|
|
598
|
+
"arrow-down-right",
|
|
599
|
+
"exit-right",
|
|
600
|
+
"to-right",
|
|
601
|
+
"double-right",
|
|
602
|
+
"arrow-mix",
|
|
603
|
+
"right-square",
|
|
604
|
+
"arrows-circle",
|
|
605
|
+
"cross-circle",
|
|
606
|
+
"left",
|
|
607
|
+
"minus",
|
|
608
|
+
"dots-vertical",
|
|
609
|
+
"arrow-up-down"
|
|
610
|
+
],
|
|
611
|
+
communication: [
|
|
612
|
+
"message-text-2",
|
|
613
|
+
"message-notif",
|
|
614
|
+
"message-add",
|
|
615
|
+
"sms",
|
|
616
|
+
"directbox-default",
|
|
617
|
+
"message-text",
|
|
618
|
+
"messages",
|
|
619
|
+
"address-book",
|
|
620
|
+
"message-edit",
|
|
621
|
+
"message-minus"
|
|
622
|
+
],
|
|
623
|
+
notifications: [
|
|
624
|
+
"notification-circle",
|
|
625
|
+
"notification-favorite",
|
|
626
|
+
"notification-2",
|
|
627
|
+
"notification",
|
|
628
|
+
"notification-bing",
|
|
629
|
+
"notification-status",
|
|
630
|
+
"notification-on"
|
|
631
|
+
],
|
|
632
|
+
"delivery-and-logistics": [
|
|
633
|
+
"scooter-2",
|
|
634
|
+
"parcel",
|
|
635
|
+
"delivery-time",
|
|
636
|
+
"delivery",
|
|
637
|
+
"delivery-24",
|
|
638
|
+
"ship",
|
|
639
|
+
"courier",
|
|
640
|
+
"logistic",
|
|
641
|
+
"trailer",
|
|
642
|
+
"car-2",
|
|
643
|
+
"car-3",
|
|
644
|
+
"airplane-square",
|
|
645
|
+
"scooter",
|
|
646
|
+
"truck",
|
|
647
|
+
"cube-3",
|
|
648
|
+
"bus",
|
|
649
|
+
"cube-2",
|
|
650
|
+
"delivery-door",
|
|
651
|
+
"delivery-3",
|
|
652
|
+
"delivery-2",
|
|
653
|
+
"car",
|
|
654
|
+
"courier-express",
|
|
655
|
+
"airplane",
|
|
656
|
+
"delivery-geolocation",
|
|
657
|
+
"parcel-tracking"
|
|
658
|
+
],
|
|
659
|
+
devices: [
|
|
660
|
+
"monitor-mobile",
|
|
661
|
+
"devices",
|
|
662
|
+
"keyboard",
|
|
663
|
+
"devices-2",
|
|
664
|
+
"bluetooth",
|
|
665
|
+
"wifi",
|
|
666
|
+
"airpod",
|
|
667
|
+
"simcard-2",
|
|
668
|
+
"speaker",
|
|
669
|
+
"printer",
|
|
670
|
+
"simcard",
|
|
671
|
+
"router",
|
|
672
|
+
"phone",
|
|
673
|
+
"electronic-clock",
|
|
674
|
+
"external-drive",
|
|
675
|
+
"laptop",
|
|
676
|
+
"tablet",
|
|
677
|
+
"screen",
|
|
678
|
+
"calculator",
|
|
679
|
+
"mouse"
|
|
680
|
+
],
|
|
681
|
+
grid: [
|
|
682
|
+
"grid",
|
|
683
|
+
"slider-vertical-2",
|
|
684
|
+
"maximize",
|
|
685
|
+
"slider-vertical",
|
|
686
|
+
"row-horizontal",
|
|
687
|
+
"kanban",
|
|
688
|
+
"row-vertical",
|
|
689
|
+
"fat-rows",
|
|
690
|
+
"grid-2",
|
|
691
|
+
"element-8",
|
|
692
|
+
"element-9",
|
|
693
|
+
"element-12",
|
|
694
|
+
"element-4",
|
|
695
|
+
"element-5",
|
|
696
|
+
"grid-frame",
|
|
697
|
+
"element-11",
|
|
698
|
+
"element-7",
|
|
699
|
+
"element-6",
|
|
700
|
+
"element-10",
|
|
701
|
+
"element-2",
|
|
702
|
+
"element-3",
|
|
703
|
+
"element-equal",
|
|
704
|
+
"element-1",
|
|
705
|
+
"slider-horizontal-2",
|
|
706
|
+
"slider-horizontal",
|
|
707
|
+
"element-plus"
|
|
708
|
+
]
|
|
709
|
+
};
|
|
710
|
+
var number = 573;
|
|
711
|
+
var icons = {
|
|
712
|
+
"free-version-categories": [
|
|
713
|
+
"general",
|
|
714
|
+
"abstract",
|
|
715
|
+
"devices",
|
|
716
|
+
"location",
|
|
717
|
+
"users",
|
|
718
|
+
"it-newtwork",
|
|
719
|
+
"design",
|
|
720
|
+
"archive",
|
|
721
|
+
"typography",
|
|
722
|
+
"technologies",
|
|
723
|
+
"social-media",
|
|
724
|
+
"weather"
|
|
725
|
+
],
|
|
726
|
+
categories: categories,
|
|
727
|
+
"duotone-paths": {
|
|
728
|
+
"abstract-33": 2,
|
|
729
|
+
"abstract-27": 2,
|
|
730
|
+
"abstract-26": 2,
|
|
731
|
+
"abstract-32": 2,
|
|
732
|
+
"abstract-18": 2,
|
|
733
|
+
"abstract-24": 2,
|
|
734
|
+
"abstract-30": 2,
|
|
735
|
+
"abstract-8": 2,
|
|
736
|
+
"abstract-9": 2,
|
|
737
|
+
"abstract-31": 2,
|
|
738
|
+
"abstract-25": 2,
|
|
739
|
+
"abstract-19": 2,
|
|
740
|
+
"abstract-21": 2,
|
|
741
|
+
"abstract-35": 2,
|
|
742
|
+
"abstract-34": 2,
|
|
743
|
+
"abstract-20": 2,
|
|
744
|
+
"abstract-36": 2,
|
|
745
|
+
"abstract-22": 2,
|
|
746
|
+
"abstract-23": 2,
|
|
747
|
+
"abstract-37": 2,
|
|
748
|
+
"abstract-44": 2,
|
|
749
|
+
abstract: 2,
|
|
750
|
+
"abstract-45": 2,
|
|
751
|
+
"abstract-47": 2,
|
|
752
|
+
"abstract-46": 2,
|
|
753
|
+
"abstract-42": 2,
|
|
754
|
+
"abstract-43": 2,
|
|
755
|
+
"abstract-41": 2,
|
|
756
|
+
"abstract-40": 2,
|
|
757
|
+
"abstract-48": 3,
|
|
758
|
+
"abstract-49": 3,
|
|
759
|
+
"abstract-12": 2,
|
|
760
|
+
"abstract-2": 2,
|
|
761
|
+
"abstract-3": 2,
|
|
762
|
+
"abstract-13": 2,
|
|
763
|
+
"abstract-39": 2,
|
|
764
|
+
"abstract-11": 2,
|
|
765
|
+
"abstract-1": 2,
|
|
766
|
+
"abstract-10": 2,
|
|
767
|
+
"abstract-38": 2,
|
|
768
|
+
"abstract-14": 2,
|
|
769
|
+
"abstract-28": 2,
|
|
770
|
+
"abstract-4": 2,
|
|
771
|
+
"abstract-5": 2,
|
|
772
|
+
"abstract-29": 2,
|
|
773
|
+
"abstract-15": 2,
|
|
774
|
+
"abstract-17": 2,
|
|
775
|
+
"abstract-7": 2,
|
|
776
|
+
"abstract-6": 0,
|
|
777
|
+
"abstract-16": 2,
|
|
778
|
+
"toggle-on": 2,
|
|
779
|
+
"toggle-on-circle": 2,
|
|
780
|
+
"toggle-off": 2,
|
|
781
|
+
category: 4,
|
|
782
|
+
setting: 2,
|
|
783
|
+
"toggle-off-circle": 2,
|
|
784
|
+
"more-2": 4,
|
|
785
|
+
"setting-4": 0,
|
|
786
|
+
"setting-2": 2,
|
|
787
|
+
"setting-3": 5,
|
|
788
|
+
eraser: 3,
|
|
789
|
+
paintbucket: 3,
|
|
790
|
+
"add-item": 3,
|
|
791
|
+
"design-2": 2,
|
|
792
|
+
brush: 2,
|
|
793
|
+
size: 2,
|
|
794
|
+
design: 2,
|
|
795
|
+
copy: 0,
|
|
796
|
+
text: 0,
|
|
797
|
+
"design-frame": 2,
|
|
798
|
+
bucket: 4,
|
|
799
|
+
glass: 3,
|
|
800
|
+
feather: 2,
|
|
801
|
+
pencil: 2,
|
|
802
|
+
"colors-square": 4,
|
|
803
|
+
"design-mask": 2,
|
|
804
|
+
"bucket-square": 3,
|
|
805
|
+
"copy-success": 2,
|
|
806
|
+
"color-swatch": 21,
|
|
807
|
+
instagram: 2,
|
|
808
|
+
snapchat: 2,
|
|
809
|
+
classmates: 2,
|
|
810
|
+
facebook: 2,
|
|
811
|
+
whatsapp: 2,
|
|
812
|
+
"social-media": 2,
|
|
813
|
+
youtube: 2,
|
|
814
|
+
dribbble: 6,
|
|
815
|
+
twitter: 2,
|
|
816
|
+
tiktok: 2,
|
|
817
|
+
behance: 2,
|
|
818
|
+
underlining: 3,
|
|
819
|
+
disconnect: 5,
|
|
820
|
+
code: 4,
|
|
821
|
+
gear: 2,
|
|
822
|
+
loading: 2,
|
|
823
|
+
scroll: 3,
|
|
824
|
+
wrench: 2,
|
|
825
|
+
"square-brackets": 4,
|
|
826
|
+
frame: 4,
|
|
827
|
+
"message-programming": 4,
|
|
828
|
+
data: 5,
|
|
829
|
+
fasten: 2,
|
|
830
|
+
click: 5,
|
|
831
|
+
"tech-wifi": 2,
|
|
832
|
+
joystick: 4,
|
|
833
|
+
faceid: 6,
|
|
834
|
+
"technology-3": 4,
|
|
835
|
+
"technology-2": 2,
|
|
836
|
+
electricity: 10,
|
|
837
|
+
"fingerprint-scanning": 5,
|
|
838
|
+
"technology-4": 7,
|
|
839
|
+
"artificial-intelligence": 8,
|
|
840
|
+
technology: 9,
|
|
841
|
+
"basket-ok": 4,
|
|
842
|
+
cheque: 7,
|
|
843
|
+
handcart: 0,
|
|
844
|
+
shop: 5,
|
|
845
|
+
tag: 3,
|
|
846
|
+
purchase: 2,
|
|
847
|
+
discount: 2,
|
|
848
|
+
"package": 3,
|
|
849
|
+
percentage: 2,
|
|
850
|
+
barcode: 8,
|
|
851
|
+
"lots-shopping": 8,
|
|
852
|
+
basket: 4,
|
|
853
|
+
"book-square": 3,
|
|
854
|
+
"receipt-square": 2,
|
|
855
|
+
"save-2": 2,
|
|
856
|
+
"archive-tick": 2,
|
|
857
|
+
"shield-search": 3,
|
|
858
|
+
"password-check": 5,
|
|
859
|
+
"shield-tick": 2,
|
|
860
|
+
lock: 3,
|
|
861
|
+
key: 2,
|
|
862
|
+
shield: 2,
|
|
863
|
+
"shield-cross": 3,
|
|
864
|
+
"key-square": 2,
|
|
865
|
+
"eye-slash": 4,
|
|
866
|
+
"security-check": 4,
|
|
867
|
+
"lock-3": 3,
|
|
868
|
+
"scan-barcode": 8,
|
|
869
|
+
"lock-2": 5,
|
|
870
|
+
eye: 3,
|
|
871
|
+
"shield-slash": 3,
|
|
872
|
+
"security-user": 2,
|
|
873
|
+
triangle: 3,
|
|
874
|
+
subtitle: 5,
|
|
875
|
+
ghost: 3,
|
|
876
|
+
information: 3,
|
|
877
|
+
milk: 3,
|
|
878
|
+
home: 0,
|
|
879
|
+
"happy-emoji": 2,
|
|
880
|
+
"mouse-square": 2,
|
|
881
|
+
"filter-tick": 2,
|
|
882
|
+
"filter-search": 3,
|
|
883
|
+
"wifi-home": 4,
|
|
884
|
+
"trash-square": 4,
|
|
885
|
+
"paper-clip": 0,
|
|
886
|
+
archive: 3,
|
|
887
|
+
pin: 2,
|
|
888
|
+
"wifi-square": 4,
|
|
889
|
+
"auto-brightness": 3,
|
|
890
|
+
coffee: 6,
|
|
891
|
+
icon: 3,
|
|
892
|
+
"emoji-happy": 4,
|
|
893
|
+
"general-mouse": 2,
|
|
894
|
+
ranking: 4,
|
|
895
|
+
slider: 4,
|
|
896
|
+
"crown-2": 3,
|
|
897
|
+
rescue: 2,
|
|
898
|
+
"flash-circle": 2,
|
|
899
|
+
"safe-home": 2,
|
|
900
|
+
"cloud-change": 3,
|
|
901
|
+
crown: 2,
|
|
902
|
+
"filter-edit": 2,
|
|
903
|
+
picture: 2,
|
|
904
|
+
verify: 2,
|
|
905
|
+
send: 2,
|
|
906
|
+
"tag-cross": 3,
|
|
907
|
+
"cloud-add": 2,
|
|
908
|
+
"home-3": 2,
|
|
909
|
+
disk: 2,
|
|
910
|
+
trash: 5,
|
|
911
|
+
star: 0,
|
|
912
|
+
cd: 2,
|
|
913
|
+
"home-2": 2,
|
|
914
|
+
"mouse-circle": 2,
|
|
915
|
+
"home-1": 2,
|
|
916
|
+
call: 8,
|
|
917
|
+
gift: 4,
|
|
918
|
+
share: 6,
|
|
919
|
+
sort: 4,
|
|
920
|
+
magnifier: 2,
|
|
921
|
+
"filter-square": 2,
|
|
922
|
+
tree: 3,
|
|
923
|
+
filter: 2,
|
|
924
|
+
"switch": 2,
|
|
925
|
+
cloud: 0,
|
|
926
|
+
cup: 2,
|
|
927
|
+
diamonds: 2,
|
|
928
|
+
status: 3,
|
|
929
|
+
rocket: 2,
|
|
930
|
+
"cloud-download": 2,
|
|
931
|
+
menu: 4,
|
|
932
|
+
chrome: 2,
|
|
933
|
+
"geolocation-home": 2,
|
|
934
|
+
map: 3,
|
|
935
|
+
"telephone-geolocation": 3,
|
|
936
|
+
satellite: 6,
|
|
937
|
+
flag: 2,
|
|
938
|
+
focus: 2,
|
|
939
|
+
pointers: 3,
|
|
940
|
+
compass: 2,
|
|
941
|
+
route: 4,
|
|
942
|
+
geolocation: 2,
|
|
943
|
+
"brifecase-timer": 3,
|
|
944
|
+
briefcase: 2,
|
|
945
|
+
clipboard: 3,
|
|
946
|
+
"bookmark-2": 2,
|
|
947
|
+
note: 2,
|
|
948
|
+
"note-2": 4,
|
|
949
|
+
"book-open": 4,
|
|
950
|
+
book: 4,
|
|
951
|
+
teacher: 2,
|
|
952
|
+
award: 3,
|
|
953
|
+
"brifecase-tick": 3,
|
|
954
|
+
"brifecase-cros": 3,
|
|
955
|
+
bookmark: 2,
|
|
956
|
+
"chart-line": 2,
|
|
957
|
+
chart: 2,
|
|
958
|
+
"graph-3": 2,
|
|
959
|
+
"chart-pie-3": 3,
|
|
960
|
+
"graph-2": 3,
|
|
961
|
+
"chart-line-down": 2,
|
|
962
|
+
"chart-pie-too": 2,
|
|
963
|
+
"chart-pie-4": 3,
|
|
964
|
+
"chart-line-down-2": 3,
|
|
965
|
+
"graph-4": 2,
|
|
966
|
+
"chart-line-up-2": 2,
|
|
967
|
+
badge: 5,
|
|
968
|
+
"chart-line-up": 2,
|
|
969
|
+
"chart-simple-3": 4,
|
|
970
|
+
"chart-pie-simple": 2,
|
|
971
|
+
"chart-simple-2": 4,
|
|
972
|
+
"graph-up": 6,
|
|
973
|
+
"chart-line-star": 3,
|
|
974
|
+
graph: 4,
|
|
975
|
+
"chart-simple": 4,
|
|
976
|
+
"tablet-delete": 3,
|
|
977
|
+
"file-added": 2,
|
|
978
|
+
"file-up": 2,
|
|
979
|
+
"minus-folder": 2,
|
|
980
|
+
file: 2,
|
|
981
|
+
"delete-files": 2,
|
|
982
|
+
"add-folder": 2,
|
|
983
|
+
"file-left": 2,
|
|
984
|
+
"file-deleted": 2,
|
|
985
|
+
"some-files": 2,
|
|
986
|
+
"file-right": 2,
|
|
987
|
+
notepad: 5,
|
|
988
|
+
"notepad-bookmark": 6,
|
|
989
|
+
document: 2,
|
|
990
|
+
"like-folder": 2,
|
|
991
|
+
"folder-up": 2,
|
|
992
|
+
"folder-added": 2,
|
|
993
|
+
"file-down": 2,
|
|
994
|
+
"filter-tablet": 2,
|
|
995
|
+
"tablet-book": 2,
|
|
996
|
+
"update-file": 4,
|
|
997
|
+
"add-notepad": 4,
|
|
998
|
+
"questionnaire-tablet": 2,
|
|
999
|
+
"tablet-up": 3,
|
|
1000
|
+
"tablet-ok": 3,
|
|
1001
|
+
"update-folder": 2,
|
|
1002
|
+
"files-tablet": 2,
|
|
1003
|
+
"folder-down": 2,
|
|
1004
|
+
"notepad-edit": 2,
|
|
1005
|
+
"tablet-text-up": 2,
|
|
1006
|
+
"search-list": 3,
|
|
1007
|
+
"tablet-text-down": 4,
|
|
1008
|
+
"add-files": 3,
|
|
1009
|
+
"tablet-down": 3,
|
|
1010
|
+
"delete-folder": 2,
|
|
1011
|
+
folder: 2,
|
|
1012
|
+
"file-sheet": 2,
|
|
1013
|
+
bootstrap: 3,
|
|
1014
|
+
figma: 5,
|
|
1015
|
+
dropbox: 5,
|
|
1016
|
+
xaomi: 2,
|
|
1017
|
+
microsoft: 4,
|
|
1018
|
+
android: 6,
|
|
1019
|
+
vue: 2,
|
|
1020
|
+
js: 2,
|
|
1021
|
+
"spring-framework": 0,
|
|
1022
|
+
github: 2,
|
|
1023
|
+
dj: 0,
|
|
1024
|
+
"google-play": 2,
|
|
1025
|
+
angular: 3,
|
|
1026
|
+
"soft-3": 2,
|
|
1027
|
+
python: 2,
|
|
1028
|
+
"soft-2": 2,
|
|
1029
|
+
ts: 3,
|
|
1030
|
+
xd: 3,
|
|
1031
|
+
spotify: 2,
|
|
1032
|
+
"js-2": 2,
|
|
1033
|
+
laravel: 7,
|
|
1034
|
+
css: 2,
|
|
1035
|
+
google: 2,
|
|
1036
|
+
photoshop: 2,
|
|
1037
|
+
twitch: 3,
|
|
1038
|
+
illustrator: 4,
|
|
1039
|
+
pails: 9,
|
|
1040
|
+
react: 2,
|
|
1041
|
+
html: 2,
|
|
1042
|
+
slack: 8,
|
|
1043
|
+
soft: 6,
|
|
1044
|
+
yii: 3,
|
|
1045
|
+
apple: 2,
|
|
1046
|
+
vuesax: 3,
|
|
1047
|
+
"calendar-add": 6,
|
|
1048
|
+
"calendar-search": 4,
|
|
1049
|
+
"calendar-2": 5,
|
|
1050
|
+
"calendar-tick": 6,
|
|
1051
|
+
time: 2,
|
|
1052
|
+
watch: 2,
|
|
1053
|
+
"calendar-edit": 3,
|
|
1054
|
+
calendar: 2,
|
|
1055
|
+
"calendar-8": 6,
|
|
1056
|
+
timer: 3,
|
|
1057
|
+
"calendar-remove": 6,
|
|
1058
|
+
"heart-circle": 2,
|
|
1059
|
+
like: 2,
|
|
1060
|
+
"information-4": 3,
|
|
1061
|
+
"information-5": 3,
|
|
1062
|
+
"information-2": 3,
|
|
1063
|
+
"information-3": 3,
|
|
1064
|
+
question: 3,
|
|
1065
|
+
dislike: 2,
|
|
1066
|
+
"message-question": 3,
|
|
1067
|
+
"medal-star": 4,
|
|
1068
|
+
"like-tag": 2,
|
|
1069
|
+
"like-2": 2,
|
|
1070
|
+
"support-24": 3,
|
|
1071
|
+
"question-2": 3,
|
|
1072
|
+
lovely: 2,
|
|
1073
|
+
"like-shapes": 2,
|
|
1074
|
+
heart: 2,
|
|
1075
|
+
user: 2,
|
|
1076
|
+
"user-square": 3,
|
|
1077
|
+
"user-tick": 3,
|
|
1078
|
+
people: 5,
|
|
1079
|
+
"user-edit": 3,
|
|
1080
|
+
"profile-user": 4,
|
|
1081
|
+
"profile-circle": 3,
|
|
1082
|
+
capsule: 2,
|
|
1083
|
+
virus: 3,
|
|
1084
|
+
bandage: 2,
|
|
1085
|
+
thermometer: 2,
|
|
1086
|
+
flask: 2,
|
|
1087
|
+
"test-tubes": 2,
|
|
1088
|
+
syringe: 3,
|
|
1089
|
+
mask: 3,
|
|
1090
|
+
pill: 0,
|
|
1091
|
+
pulse: 2,
|
|
1092
|
+
"burger-menu": 4,
|
|
1093
|
+
"burger-menu-6": 0,
|
|
1094
|
+
"burger-menu-5": 0,
|
|
1095
|
+
"burger-menu-4": 0,
|
|
1096
|
+
"burger-menu-1": 4,
|
|
1097
|
+
"burger-menu-3": 9,
|
|
1098
|
+
"burger-menu-2": 10,
|
|
1099
|
+
"text-align-center": 4,
|
|
1100
|
+
"text-italic": 4,
|
|
1101
|
+
"text-bold": 3,
|
|
1102
|
+
"text-strikethrough": 3,
|
|
1103
|
+
"text-underline": 3,
|
|
1104
|
+
"text-number": 6,
|
|
1105
|
+
"text-align-left": 4,
|
|
1106
|
+
"text-align-right": 4,
|
|
1107
|
+
"text-circle": 6,
|
|
1108
|
+
"text-align-justify-center": 4,
|
|
1109
|
+
theta: 2,
|
|
1110
|
+
dollar: 3,
|
|
1111
|
+
binance: 5,
|
|
1112
|
+
nexo: 2,
|
|
1113
|
+
euro: 3,
|
|
1114
|
+
avalanche: 2,
|
|
1115
|
+
bitcoin: 2,
|
|
1116
|
+
wallet: 4,
|
|
1117
|
+
"price-tag": 3,
|
|
1118
|
+
"finance-calculator": 7,
|
|
1119
|
+
dash: 2,
|
|
1120
|
+
lts: 2,
|
|
1121
|
+
vibe: 2,
|
|
1122
|
+
"credit-cart": 2,
|
|
1123
|
+
paypal: 2,
|
|
1124
|
+
bill: 6,
|
|
1125
|
+
ocean: 19,
|
|
1126
|
+
celsius: 2,
|
|
1127
|
+
educare: 4,
|
|
1128
|
+
"enjin-coin": 2,
|
|
1129
|
+
"two-credit-cart": 5,
|
|
1130
|
+
bank: 2,
|
|
1131
|
+
"binance-usd": 4,
|
|
1132
|
+
wanchain: 2,
|
|
1133
|
+
trello: 3,
|
|
1134
|
+
"save-deposit": 4,
|
|
1135
|
+
xmr: 2,
|
|
1136
|
+
"financial-schedule": 4,
|
|
1137
|
+
"office-bag": 4,
|
|
1138
|
+
"night-day": 10,
|
|
1139
|
+
sun: 9,
|
|
1140
|
+
drop: 2,
|
|
1141
|
+
moon: 2,
|
|
1142
|
+
"exit-right-corner": 2,
|
|
1143
|
+
"dots-circle-vertical": 4,
|
|
1144
|
+
"check-square": 2,
|
|
1145
|
+
"right-left": 3,
|
|
1146
|
+
"arrow-down": 2,
|
|
1147
|
+
"dots-horizontal": 3,
|
|
1148
|
+
"arrow-right-left": 2,
|
|
1149
|
+
"up-down": 3,
|
|
1150
|
+
"double-check": 2,
|
|
1151
|
+
"arrow-up-left": 2,
|
|
1152
|
+
down: 0,
|
|
1153
|
+
"exit-up": 2,
|
|
1154
|
+
"up-square": 2,
|
|
1155
|
+
"down-square": 2,
|
|
1156
|
+
"plus-square": 3,
|
|
1157
|
+
"dots-circle": 4,
|
|
1158
|
+
"arrow-down-left": 2,
|
|
1159
|
+
"double-check-circle": 3,
|
|
1160
|
+
up: 0,
|
|
1161
|
+
"entrance-right": 2,
|
|
1162
|
+
"arrow-right": 2,
|
|
1163
|
+
"arrow-two-diagonals": 5,
|
|
1164
|
+
"minus-square": 2,
|
|
1165
|
+
"arrow-diagonal": 3,
|
|
1166
|
+
"black-left": 0,
|
|
1167
|
+
"arrow-down-refraction": 2,
|
|
1168
|
+
"black-right": 0,
|
|
1169
|
+
"double-left": 2,
|
|
1170
|
+
"arrow-circle-left": 2,
|
|
1171
|
+
"arrow-zigzag": 2,
|
|
1172
|
+
plus: 0,
|
|
1173
|
+
check: 0,
|
|
1174
|
+
"exit-left": 2,
|
|
1175
|
+
"arrow-circle-right": 2,
|
|
1176
|
+
"cross-square": 2,
|
|
1177
|
+
"entrance-left": 2,
|
|
1178
|
+
"left-square": 2,
|
|
1179
|
+
"arrows-loop": 2,
|
|
1180
|
+
"black-left-line": 2,
|
|
1181
|
+
"double-left-arrow": 2,
|
|
1182
|
+
"check-circle": 2,
|
|
1183
|
+
right: 0,
|
|
1184
|
+
"dots-square-vertical": 4,
|
|
1185
|
+
"arrow-up-right": 2,
|
|
1186
|
+
"exit-down": 2,
|
|
1187
|
+
"dots-square": 4,
|
|
1188
|
+
"to-left": 0,
|
|
1189
|
+
"double-down": 3,
|
|
1190
|
+
"plus-circle": 2,
|
|
1191
|
+
"black-down": 0,
|
|
1192
|
+
"double-up": 3,
|
|
1193
|
+
"black-up": 0,
|
|
1194
|
+
"double-right-arrow": 2,
|
|
1195
|
+
"arrow-up": 2,
|
|
1196
|
+
"black-right-line": 2,
|
|
1197
|
+
"arrow-up-refraction": 2,
|
|
1198
|
+
"arrow-left": 2,
|
|
1199
|
+
cross: 2,
|
|
1200
|
+
"minus-circle": 2,
|
|
1201
|
+
"arrow-down-right": 2,
|
|
1202
|
+
"exit-right": 2,
|
|
1203
|
+
"to-right": 0,
|
|
1204
|
+
"double-right": 2,
|
|
1205
|
+
"arrow-mix": 2,
|
|
1206
|
+
"right-square": 2,
|
|
1207
|
+
"arrows-circle": 2,
|
|
1208
|
+
"cross-circle": 2,
|
|
1209
|
+
left: 0,
|
|
1210
|
+
minus: 0,
|
|
1211
|
+
"dots-vertical": 3,
|
|
1212
|
+
"arrow-up-down": 2,
|
|
1213
|
+
"message-text-2": 3,
|
|
1214
|
+
"message-notif": 5,
|
|
1215
|
+
"message-add": 3,
|
|
1216
|
+
sms: 2,
|
|
1217
|
+
"directbox-default": 4,
|
|
1218
|
+
"message-text": 3,
|
|
1219
|
+
messages: 5,
|
|
1220
|
+
"address-book": 3,
|
|
1221
|
+
"message-edit": 2,
|
|
1222
|
+
"message-minus": 2,
|
|
1223
|
+
"notification-circle": 2,
|
|
1224
|
+
"notification-favorite": 3,
|
|
1225
|
+
"notification-2": 2,
|
|
1226
|
+
notification: 3,
|
|
1227
|
+
"notification-bing": 3,
|
|
1228
|
+
"notification-status": 4,
|
|
1229
|
+
"notification-on": 5,
|
|
1230
|
+
"scooter-2": 0,
|
|
1231
|
+
parcel: 5,
|
|
1232
|
+
"delivery-time": 5,
|
|
1233
|
+
delivery: 5,
|
|
1234
|
+
"delivery-24": 4,
|
|
1235
|
+
ship: 3,
|
|
1236
|
+
courier: 3,
|
|
1237
|
+
logistic: 7,
|
|
1238
|
+
trailer: 5,
|
|
1239
|
+
"car-2": 6,
|
|
1240
|
+
"car-3": 3,
|
|
1241
|
+
"airplane-square": 2,
|
|
1242
|
+
scooter: 7,
|
|
1243
|
+
truck: 5,
|
|
1244
|
+
"cube-3": 2,
|
|
1245
|
+
bus: 5,
|
|
1246
|
+
"cube-2": 3,
|
|
1247
|
+
"delivery-door": 4,
|
|
1248
|
+
"delivery-3": 3,
|
|
1249
|
+
"delivery-2": 9,
|
|
1250
|
+
car: 5,
|
|
1251
|
+
"courier-express": 7,
|
|
1252
|
+
airplane: 2,
|
|
1253
|
+
"delivery-geolocation": 5,
|
|
1254
|
+
"parcel-tracking": 3,
|
|
1255
|
+
"monitor-mobile": 2,
|
|
1256
|
+
devices: 5,
|
|
1257
|
+
keyboard: 2,
|
|
1258
|
+
"devices-2": 3,
|
|
1259
|
+
bluetooth: 2,
|
|
1260
|
+
wifi: 4,
|
|
1261
|
+
airpod: 3,
|
|
1262
|
+
"simcard-2": 2,
|
|
1263
|
+
speaker: 3,
|
|
1264
|
+
printer: 5,
|
|
1265
|
+
simcard: 5,
|
|
1266
|
+
router: 2,
|
|
1267
|
+
phone: 2,
|
|
1268
|
+
"electronic-clock": 4,
|
|
1269
|
+
"external-drive": 5,
|
|
1270
|
+
laptop: 2,
|
|
1271
|
+
tablet: 3,
|
|
1272
|
+
screen: 4,
|
|
1273
|
+
calculator: 6,
|
|
1274
|
+
mouse: 2,
|
|
1275
|
+
grid: 2,
|
|
1276
|
+
"slider-vertical-2": 3,
|
|
1277
|
+
maximize: 5,
|
|
1278
|
+
"slider-vertical": 3,
|
|
1279
|
+
"row-horizontal": 2,
|
|
1280
|
+
kanban: 2,
|
|
1281
|
+
"row-vertical": 2,
|
|
1282
|
+
"fat-rows": 2,
|
|
1283
|
+
"grid-2": 2,
|
|
1284
|
+
"element-8": 2,
|
|
1285
|
+
"element-9": 2,
|
|
1286
|
+
"element-12": 3,
|
|
1287
|
+
"element-4": 2,
|
|
1288
|
+
"element-5": 2,
|
|
1289
|
+
"grid-frame": 3,
|
|
1290
|
+
"element-11": 4,
|
|
1291
|
+
"element-7": 2,
|
|
1292
|
+
"element-6": 2,
|
|
1293
|
+
"element-10": 3,
|
|
1294
|
+
"element-2": 2,
|
|
1295
|
+
"element-3": 2,
|
|
1296
|
+
"element-equal": 5,
|
|
1297
|
+
"element-1": 4,
|
|
1298
|
+
"slider-horizontal-2": 3,
|
|
1299
|
+
"slider-horizontal": 3,
|
|
1300
|
+
"element-plus": 5
|
|
1301
|
+
},
|
|
1302
|
+
number: number
|
|
1303
|
+
};
|
|
1304
|
+
|
|
1305
|
+
class KeeniconComponent {
|
|
1306
|
+
name;
|
|
1307
|
+
class;
|
|
1308
|
+
type = 'duotone';
|
|
1309
|
+
pathsNumber = 0;
|
|
1310
|
+
constructor() {
|
|
1311
|
+
}
|
|
1312
|
+
ngOnInit() {
|
|
1313
|
+
if (this.type === 'duotone') {
|
|
1314
|
+
// @ts-ignore
|
|
1315
|
+
this.pathsNumber = icons[this.type + '-paths'][this.name] ?? 0;
|
|
1316
|
+
}
|
|
1317
|
+
}
|
|
1318
|
+
get styleDisplay() {
|
|
1319
|
+
return 'contents';
|
|
1320
|
+
}
|
|
1321
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: KeeniconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1322
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: KeeniconComponent, selector: "lib-keenicon", inputs: { name: "name", class: "class", type: "type" }, host: { properties: { "style.display": "this.styleDisplay" } }, ngImport: i0, template: "<span *ngIf=\"type === 'duotone'\" class=\"ki-{{ type }} ki-{{ name }}{{ class ? ' ' + class : '' }}\">\r\n <span *ngFor=\"let i of [].constructor(pathsNumber); let idx = index\" class=\"path{{ idx + 1 }}\"></span>\r\n</span>\r\n<span *ngIf=\"type !== 'duotone'\" class=\"ki-{{ type }} ki-{{ name }}{{ class ? ' ' + class : '' }}\"></span>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1323
|
+
}
|
|
1324
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: KeeniconComponent, decorators: [{
|
|
1325
|
+
type: Component,
|
|
1326
|
+
args: [{ selector: 'lib-keenicon', template: "<span *ngIf=\"type === 'duotone'\" class=\"ki-{{ type }} ki-{{ name }}{{ class ? ' ' + class : '' }}\">\r\n <span *ngFor=\"let i of [].constructor(pathsNumber); let idx = index\" class=\"path{{ idx + 1 }}\"></span>\r\n</span>\r\n<span *ngIf=\"type !== 'duotone'\" class=\"ki-{{ type }} ki-{{ name }}{{ class ? ' ' + class : '' }}\"></span>\r\n" }]
|
|
1327
|
+
}], ctorParameters: () => [], propDecorators: { name: [{
|
|
1328
|
+
type: Input
|
|
1329
|
+
}], class: [{
|
|
1330
|
+
type: Input
|
|
1331
|
+
}], type: [{
|
|
1332
|
+
type: Input
|
|
1333
|
+
}], styleDisplay: [{
|
|
1334
|
+
type: HostBinding,
|
|
1335
|
+
args: ['style.display']
|
|
1336
|
+
}] } });
|
|
1337
|
+
|
|
1338
|
+
class HeaderComponent {
|
|
1339
|
+
layout;
|
|
1340
|
+
router;
|
|
1341
|
+
unsubscribe = [];
|
|
1342
|
+
// Public props
|
|
1343
|
+
currentLayoutType;
|
|
1344
|
+
appHeaderDisplay;
|
|
1345
|
+
appHeaderDefaultFixedDesktop;
|
|
1346
|
+
appHeaderDefaultFixedMobile;
|
|
1347
|
+
appHeaderDefaultContainer;
|
|
1348
|
+
headerContainerCssClass = '';
|
|
1349
|
+
appHeaderDefaultContainerClass = '';
|
|
1350
|
+
appHeaderDefaultStacked;
|
|
1351
|
+
// view
|
|
1352
|
+
appSidebarDefaultCollapseDesktopEnabled;
|
|
1353
|
+
appSidebarDisplay;
|
|
1354
|
+
appHeaderDefaultContent = '';
|
|
1355
|
+
appHeaderDefaulMenuDisplay;
|
|
1356
|
+
appPageTitleDisplay;
|
|
1357
|
+
constructor(layout, router) {
|
|
1358
|
+
this.layout = layout;
|
|
1359
|
+
this.router = router;
|
|
1360
|
+
this.routingChanges();
|
|
1361
|
+
}
|
|
1362
|
+
updateProps(config) {
|
|
1363
|
+
this.appHeaderDisplay = this.layout.getProp('app.header.display', config);
|
|
1364
|
+
// view
|
|
1365
|
+
this.appSidebarDefaultCollapseDesktopEnabled = this.layout.getProp('app.sidebar.default.collapse.desktop.enabled', config);
|
|
1366
|
+
this.appSidebarDisplay = this.layout.getProp('app.sidebar.display', config);
|
|
1367
|
+
this.appHeaderDefaultContent = this.layout.getProp('app.header.default.content', config);
|
|
1368
|
+
this.appHeaderDefaulMenuDisplay = this.layout.getProp('app.header.default.menu.display', config);
|
|
1369
|
+
this.appPageTitleDisplay = this.layout.getProp('app.pageTitle.display', config);
|
|
1370
|
+
// body attrs and container css classes
|
|
1371
|
+
this.appHeaderDefaultFixedDesktop = this.layout.getProp('app.header.default.fixed.desktop', config);
|
|
1372
|
+
if (this.appHeaderDefaultFixedDesktop) {
|
|
1373
|
+
document.body.setAttribute('data-kt-app-header-fixed', 'true');
|
|
1374
|
+
}
|
|
1375
|
+
this.appHeaderDefaultFixedMobile = this.layout.getProp('app.header.default.fixed.mobile', config);
|
|
1376
|
+
if (this.appHeaderDefaultFixedMobile) {
|
|
1377
|
+
document.body.setAttribute('data-kt-app-header-fixed-mobile', 'true');
|
|
1378
|
+
}
|
|
1379
|
+
this.appHeaderDefaultContainer = this.layout.getProp('appHeaderDefaultContainer', config);
|
|
1380
|
+
this.headerContainerCssClass =
|
|
1381
|
+
this.appHeaderDefaultContainer === 'fixed'
|
|
1382
|
+
? 'container-xxl'
|
|
1383
|
+
: 'container-fluid';
|
|
1384
|
+
this.appHeaderDefaultContainerClass = this.layout.getProp('app.header.default.containerClass', config);
|
|
1385
|
+
if (this.appHeaderDefaultContainerClass) {
|
|
1386
|
+
this.headerContainerCssClass += ` ${this.appHeaderDefaultContainerClass}`;
|
|
1387
|
+
}
|
|
1388
|
+
this.appHeaderDefaultStacked = this.layout.getProp('app.header.default.stacked', config);
|
|
1389
|
+
if (this.appHeaderDefaultStacked) {
|
|
1390
|
+
document.body.setAttribute('data-kt-app-header-stacked', 'true');
|
|
1391
|
+
}
|
|
1392
|
+
// Primary header
|
|
1393
|
+
// Secondary header
|
|
1394
|
+
}
|
|
1395
|
+
ngOnInit() {
|
|
1396
|
+
const subscr = this.layout.layoutConfigSubject
|
|
1397
|
+
.asObservable()
|
|
1398
|
+
.subscribe((config) => {
|
|
1399
|
+
this.updateProps(config);
|
|
1400
|
+
});
|
|
1401
|
+
this.unsubscribe.push(subscr);
|
|
1402
|
+
const layoutSubscr = this.layout.currentLayoutTypeSubject
|
|
1403
|
+
.asObservable()
|
|
1404
|
+
.subscribe((layout) => {
|
|
1405
|
+
this.currentLayoutType = layout;
|
|
1406
|
+
});
|
|
1407
|
+
this.unsubscribe.push(layoutSubscr);
|
|
1408
|
+
}
|
|
1409
|
+
routingChanges() {
|
|
1410
|
+
const routerSubscription = this.router.events.subscribe((event) => {
|
|
1411
|
+
if (event instanceof NavigationEnd || event instanceof NavigationCancel) {
|
|
1412
|
+
MenuComponent.reinitialization();
|
|
1413
|
+
}
|
|
1414
|
+
});
|
|
1415
|
+
this.unsubscribe.push(routerSubscription);
|
|
1416
|
+
}
|
|
1417
|
+
ngOnDestroy() {
|
|
1418
|
+
this.unsubscribe.forEach((sb) => sb.unsubscribe());
|
|
1419
|
+
}
|
|
1420
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: HeaderComponent, deps: [{ token: i1.LayoutService }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
1421
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: HeaderComponent, selector: "lib-header", ngImport: i0, template: "<!--begin::Header container-->\r\n<div class=\"app-container header-style\" id=\"kt_app_header_container\" [ngClass]=\"headerContainerCssClass\">\r\n <ng-container *ngIf=\"appSidebarDefaultCollapseDesktopEnabled\">\r\n <div class=\"app-sidebar-collapse-d-flex align-items-center me-3\">\r\n <!--begin::sidebar toggle-->\r\n <div class=\"btn btn-icon w-auto px-0 btn-color-muted btn-active-icon-primary\" data-kt-toggle=\"true\"\r\n data-kt-toggle-target=\"body\" data-kt-toggle-mode=\"on\" data-kt-toggle-name=\"app-sidebar-collapse\">\r\n <lib-keenicon name=\"double-right\" class=\"fs-1\"></lib-keenicon>\r\n </div>\r\n <!--end::sidebar toggle-->\r\n </div>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"appSidebarDisplay\">\r\n <!--begin::sidebar mobile toggle-->\r\n <div class=\"d-flex align-items-center d-lg-none ms-n2 me-2\" title=\"Show sidebar menu\">\r\n <div class=\"btn btn-icon btn-active-color-primary w-35px h-35px\" id=\"kt_app_sidebar_mobile_toggle\">\r\n <lib-keenicon name=\"abstract-14\" class=\"fs-1\"></lib-keenicon>\r\n </div>\r\n </div>\r\n <!--end::sidebar mobile toggle-->\r\n <!--begin::Mobile logo-->\r\n <div class=\"d-flex align-items-center flex-grow-1 flex-lg-grow-0\">\r\n <a routerLink=\"/dashboard\" class=\"d-lg-none\">\r\n <img alt=\"Logo\" src=\"./assets/media/logos/default-small.svg\" class=\"h-30px\" />\r\n </a>\r\n </div>\r\n <!--end::Mobile logo-->\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"!appSidebarDisplay\">\r\n <!--begin::Logo-->\r\n <div class=\"d-flex align-items-center flex-grow-1 flex-lg-grow-0 me-lg-15\">\r\n <a routerLink=\"/dashboard\">\r\n <ng-container *ngIf=\"currentLayoutType === 'dark-header'\">\r\n <img alt=\"Logo\" src=\"./assets/media/logos/default-dark.svg\"\r\n class=\"h-20px h-lg-30px app-sidebar-logo-default\" />\r\n </ng-container>\r\n <ng-container *ngIf=\"currentLayoutType !== 'dark-header'\">\r\n <img alt=\"Logo\" src=\"./assets/media/logos/default.svg\"\r\n class=\"h-20px h-lg-30px app-sidebar-logo-default theme-light-show\" />\r\n <img alt=\"Logo\" src=\"./assets/media/logos/default-dark.svg\"\r\n class=\"h-20px h-lg-30px app-sidebar-logo-default theme-dark-show\" />\r\n </ng-container>\r\n </a>\r\n </div>\r\n <!--end::Logo-->\r\n </ng-container>\r\n\r\n <!--begin::Header wrapper-->\r\n <div class=\"d-flex align-items-stretch justify-content-between flex-lg-grow-1\" id=\"kt_app_header_wrapper\">\r\n <ng-container *ngIf=\"appHeaderDefaultContent === 'menu' && appHeaderDefaulMenuDisplay\">\r\n <!--begin::Menu wrapper-->\r\n <div class=\"\r\n app-header-menu\r\n app-header-mobile-drawer\r\n align-items-stretch\r\n\" data-kt-drawer=\"true\" data-kt-drawer-name=\"app-header-menu\" data-kt-drawer-activate=\"{default: true, lg: false}\"\r\n data-kt-drawer-overlay=\"true\" data-kt-drawer-width=\"225px\" data-kt-drawer-direction=\"end\"\r\n data-kt-drawer-toggle=\"#kt_app_header_menu_toggle\" data-kt-swapper=\"true\"\r\n data-kt-swapper-mode=\"{default: 'append', lg: 'prepend'}\"\r\n data-kt-swapper-parent=\"{default: '#kt_app_body', lg: '#kt_app_header_wrapper'}\">\r\n <!--begin::Menu-->\r\n <lib-header-menu\r\n appPageTitleDirection = ''\r\n [appPageTitleDescription] = true\r\n class=\"\r\n menu\r\n menu-rounded\r\n menu-column\r\n menu-lg-row\r\n my-5\r\n my-lg-0\r\n align-items-stretch\r\n fw-semibold\r\n px-2 px-lg-0\r\n \" id=\"kt_app_header_menu\" data-kt-menu=\"true\"></lib-header-menu>\r\n <!--end::Menu-->\r\n </div>\r\n <!--end::Menu wrapper-->\r\n </ng-container>\r\n <!-- <ng-container *ngIf=\"appHeaderDefaultContent === 'page-title' && appPageTitleDisplay\">\r\n <app-page-title #ktPageTitle class=\"page-title d-flex\"></app-page-title>\r\n </ng-container> -->\r\n <lib-navbar class=\"app-navbar flex-shrink-0\" [appHeaderDefaulMenuDisplay]=\"appHeaderDefaulMenuDisplay\"\r\n [isRtl]=\"false\"></lib-navbar>\r\n </div>\r\n <!--end::Header wrapper-->\r\n</div>\r\n<!--end::Header container-->\r\n", styles: [".header-style{background-color:#fff}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: HeaderMenuComponent, selector: "lib-header-menu", inputs: ["appPageTitleDirection", "appPageTitleDescription"] }, { kind: "component", type: NavbarComponent, selector: "lib-navbar", inputs: ["appHeaderDefaulMenuDisplay", "isRtl"] }, { kind: "component", type: KeeniconComponent, selector: "lib-keenicon", inputs: ["name", "class", "type"] }] });
|
|
1422
|
+
}
|
|
1423
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
1424
|
+
type: Component,
|
|
1425
|
+
args: [{ selector: 'lib-header', template: "<!--begin::Header container-->\r\n<div class=\"app-container header-style\" id=\"kt_app_header_container\" [ngClass]=\"headerContainerCssClass\">\r\n <ng-container *ngIf=\"appSidebarDefaultCollapseDesktopEnabled\">\r\n <div class=\"app-sidebar-collapse-d-flex align-items-center me-3\">\r\n <!--begin::sidebar toggle-->\r\n <div class=\"btn btn-icon w-auto px-0 btn-color-muted btn-active-icon-primary\" data-kt-toggle=\"true\"\r\n data-kt-toggle-target=\"body\" data-kt-toggle-mode=\"on\" data-kt-toggle-name=\"app-sidebar-collapse\">\r\n <lib-keenicon name=\"double-right\" class=\"fs-1\"></lib-keenicon>\r\n </div>\r\n <!--end::sidebar toggle-->\r\n </div>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"appSidebarDisplay\">\r\n <!--begin::sidebar mobile toggle-->\r\n <div class=\"d-flex align-items-center d-lg-none ms-n2 me-2\" title=\"Show sidebar menu\">\r\n <div class=\"btn btn-icon btn-active-color-primary w-35px h-35px\" id=\"kt_app_sidebar_mobile_toggle\">\r\n <lib-keenicon name=\"abstract-14\" class=\"fs-1\"></lib-keenicon>\r\n </div>\r\n </div>\r\n <!--end::sidebar mobile toggle-->\r\n <!--begin::Mobile logo-->\r\n <div class=\"d-flex align-items-center flex-grow-1 flex-lg-grow-0\">\r\n <a routerLink=\"/dashboard\" class=\"d-lg-none\">\r\n <img alt=\"Logo\" src=\"./assets/media/logos/default-small.svg\" class=\"h-30px\" />\r\n </a>\r\n </div>\r\n <!--end::Mobile logo-->\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"!appSidebarDisplay\">\r\n <!--begin::Logo-->\r\n <div class=\"d-flex align-items-center flex-grow-1 flex-lg-grow-0 me-lg-15\">\r\n <a routerLink=\"/dashboard\">\r\n <ng-container *ngIf=\"currentLayoutType === 'dark-header'\">\r\n <img alt=\"Logo\" src=\"./assets/media/logos/default-dark.svg\"\r\n class=\"h-20px h-lg-30px app-sidebar-logo-default\" />\r\n </ng-container>\r\n <ng-container *ngIf=\"currentLayoutType !== 'dark-header'\">\r\n <img alt=\"Logo\" src=\"./assets/media/logos/default.svg\"\r\n class=\"h-20px h-lg-30px app-sidebar-logo-default theme-light-show\" />\r\n <img alt=\"Logo\" src=\"./assets/media/logos/default-dark.svg\"\r\n class=\"h-20px h-lg-30px app-sidebar-logo-default theme-dark-show\" />\r\n </ng-container>\r\n </a>\r\n </div>\r\n <!--end::Logo-->\r\n </ng-container>\r\n\r\n <!--begin::Header wrapper-->\r\n <div class=\"d-flex align-items-stretch justify-content-between flex-lg-grow-1\" id=\"kt_app_header_wrapper\">\r\n <ng-container *ngIf=\"appHeaderDefaultContent === 'menu' && appHeaderDefaulMenuDisplay\">\r\n <!--begin::Menu wrapper-->\r\n <div class=\"\r\n app-header-menu\r\n app-header-mobile-drawer\r\n align-items-stretch\r\n\" data-kt-drawer=\"true\" data-kt-drawer-name=\"app-header-menu\" data-kt-drawer-activate=\"{default: true, lg: false}\"\r\n data-kt-drawer-overlay=\"true\" data-kt-drawer-width=\"225px\" data-kt-drawer-direction=\"end\"\r\n data-kt-drawer-toggle=\"#kt_app_header_menu_toggle\" data-kt-swapper=\"true\"\r\n data-kt-swapper-mode=\"{default: 'append', lg: 'prepend'}\"\r\n data-kt-swapper-parent=\"{default: '#kt_app_body', lg: '#kt_app_header_wrapper'}\">\r\n <!--begin::Menu-->\r\n <lib-header-menu\r\n appPageTitleDirection = ''\r\n [appPageTitleDescription] = true\r\n class=\"\r\n menu\r\n menu-rounded\r\n menu-column\r\n menu-lg-row\r\n my-5\r\n my-lg-0\r\n align-items-stretch\r\n fw-semibold\r\n px-2 px-lg-0\r\n \" id=\"kt_app_header_menu\" data-kt-menu=\"true\"></lib-header-menu>\r\n <!--end::Menu-->\r\n </div>\r\n <!--end::Menu wrapper-->\r\n </ng-container>\r\n <!-- <ng-container *ngIf=\"appHeaderDefaultContent === 'page-title' && appPageTitleDisplay\">\r\n <app-page-title #ktPageTitle class=\"page-title d-flex\"></app-page-title>\r\n </ng-container> -->\r\n <lib-navbar class=\"app-navbar flex-shrink-0\" [appHeaderDefaulMenuDisplay]=\"appHeaderDefaulMenuDisplay\"\r\n [isRtl]=\"false\"></lib-navbar>\r\n </div>\r\n <!--end::Header wrapper-->\r\n</div>\r\n<!--end::Header container-->\r\n", styles: [".header-style{background-color:#fff}\n"] }]
|
|
1426
|
+
}], ctorParameters: () => [{ type: i1.LayoutService }, { type: i1$1.Router }] });
|
|
1427
|
+
|
|
1428
|
+
// import { DrawerComponent } from '../../../kt/components';
|
|
1429
|
+
class ContentComponent {
|
|
1430
|
+
router;
|
|
1431
|
+
contentContainerCSSClass = '';
|
|
1432
|
+
appContentContiner;
|
|
1433
|
+
appContentContainerClass = '';
|
|
1434
|
+
unsubscribe = [];
|
|
1435
|
+
constructor(router) {
|
|
1436
|
+
this.router = router;
|
|
1437
|
+
}
|
|
1438
|
+
ngOnInit() {
|
|
1439
|
+
this.routingChanges();
|
|
1440
|
+
}
|
|
1441
|
+
routingChanges() {
|
|
1442
|
+
const routerSubscription = this.router.events.subscribe((event) => {
|
|
1443
|
+
if (event instanceof NavigationEnd || event instanceof NavigationCancel) {
|
|
1444
|
+
// DrawerComponent.hideAll();
|
|
1445
|
+
}
|
|
1446
|
+
});
|
|
1447
|
+
this.unsubscribe.push(routerSubscription);
|
|
1448
|
+
}
|
|
1449
|
+
ngOnDestroy() {
|
|
1450
|
+
this.unsubscribe.forEach((sb) => sb.unsubscribe());
|
|
1451
|
+
}
|
|
1452
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ContentComponent, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
1453
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: ContentComponent, selector: "lib-content", inputs: { contentContainerCSSClass: "contentContainerCSSClass", appContentContiner: "appContentContiner", appContentContainerClass: "appContentContainerClass" }, ngImport: i0, template: "<ng-container *ngIf=\"appContentContiner\">\r\n <!--begin::Content container-->\r\n <div id=\"kt_app_content_container\" class=\"app-container\"\r\n [ngClass]=\"appContentContainerClass + ' ' + contentContainerCSSClass\"\r\n [ngClass]=\"{'container-xxl': appContentContiner === 'fixed', 'container-fluid': appContentContiner === 'fluid'}\">\r\n <router-outlet></router-outlet>\r\n </div>\r\n <!--end::Content container-->\r\n</ng-container>\r\n<ng-container *ngIf=\"!appContentContiner\">\r\n <router-outlet></router-outlet>\r\n</ng-container>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] });
|
|
1454
|
+
}
|
|
1455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ContentComponent, decorators: [{
|
|
1456
|
+
type: Component,
|
|
1457
|
+
args: [{ selector: 'lib-content', template: "<ng-container *ngIf=\"appContentContiner\">\r\n <!--begin::Content container-->\r\n <div id=\"kt_app_content_container\" class=\"app-container\"\r\n [ngClass]=\"appContentContainerClass + ' ' + contentContainerCSSClass\"\r\n [ngClass]=\"{'container-xxl': appContentContiner === 'fixed', 'container-fluid': appContentContiner === 'fluid'}\">\r\n <router-outlet></router-outlet>\r\n </div>\r\n <!--end::Content container-->\r\n</ng-container>\r\n<ng-container *ngIf=\"!appContentContiner\">\r\n <router-outlet></router-outlet>\r\n</ng-container>\r\n" }]
|
|
1458
|
+
}], ctorParameters: () => [{ type: i1$1.Router }], propDecorators: { contentContainerCSSClass: [{
|
|
1459
|
+
type: Input
|
|
1460
|
+
}], appContentContiner: [{
|
|
1461
|
+
type: Input
|
|
1462
|
+
}], appContentContainerClass: [{
|
|
1463
|
+
type: Input
|
|
1464
|
+
}] } });
|
|
1465
|
+
|
|
1466
|
+
class ScriptsInitComponent {
|
|
1467
|
+
layout;
|
|
1468
|
+
pageInfo;
|
|
1469
|
+
router;
|
|
1470
|
+
titleService;
|
|
1471
|
+
unsubscribe = [];
|
|
1472
|
+
constructor(layout, pageInfo, router, titleService) {
|
|
1473
|
+
this.layout = layout;
|
|
1474
|
+
this.pageInfo = pageInfo;
|
|
1475
|
+
this.router = router;
|
|
1476
|
+
this.titleService = titleService;
|
|
1477
|
+
const initPageInfo = () => {
|
|
1478
|
+
setTimeout(() => {
|
|
1479
|
+
// this.pageInfo.calculateTitle();
|
|
1480
|
+
// this.pageInfo.calculateBreadcrumbs();
|
|
1481
|
+
this.pageInfo.title.asObservable().subscribe((title) => {
|
|
1482
|
+
this.titleService.setTitle(title + ' - TangoEye');
|
|
1483
|
+
});
|
|
1484
|
+
}, 10);
|
|
1485
|
+
};
|
|
1486
|
+
initPageInfo();
|
|
1487
|
+
// subscribe to router events
|
|
1488
|
+
this.router.events
|
|
1489
|
+
.pipe(filter((event) => event instanceof ResolveEnd))
|
|
1490
|
+
.subscribe(initPageInfo);
|
|
1491
|
+
}
|
|
1492
|
+
ngOnInit() {
|
|
1493
|
+
this.pluginsInitialization();
|
|
1494
|
+
const layoutUpdateSubscription = this.layout.layoutConfigSubject
|
|
1495
|
+
.asObservable()
|
|
1496
|
+
.subscribe(() => {
|
|
1497
|
+
this.pluginsReInitialization();
|
|
1498
|
+
});
|
|
1499
|
+
this.unsubscribe.push(layoutUpdateSubscription);
|
|
1500
|
+
}
|
|
1501
|
+
pluginsInitialization() {
|
|
1502
|
+
setTimeout(() => {
|
|
1503
|
+
ToggleComponent.bootstrap();
|
|
1504
|
+
ScrollTopComponent.bootstrap();
|
|
1505
|
+
DrawerComponent.bootstrap();
|
|
1506
|
+
StickyComponent.bootstrap();
|
|
1507
|
+
MenuComponent$1.bootstrap();
|
|
1508
|
+
ScrollComponent.bootstrap();
|
|
1509
|
+
}, 200);
|
|
1510
|
+
}
|
|
1511
|
+
pluginsReInitialization() {
|
|
1512
|
+
setTimeout(() => {
|
|
1513
|
+
ToggleComponent.reinitialization();
|
|
1514
|
+
ScrollTopComponent.reinitialization();
|
|
1515
|
+
DrawerComponent.reinitialization();
|
|
1516
|
+
StickyComponent.bootstrap();
|
|
1517
|
+
MenuComponent$1.reinitialization();
|
|
1518
|
+
ScrollComponent.reinitialization();
|
|
1519
|
+
}, 100);
|
|
1520
|
+
}
|
|
1521
|
+
ngOnDestroy() {
|
|
1522
|
+
this.unsubscribe.forEach((sb) => sb.unsubscribe());
|
|
1523
|
+
}
|
|
1524
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ScriptsInitComponent, deps: [{ token: i1$2.LayoutService }, { token: i1$2.PageInfoService }, { token: i1$1.Router }, { token: i3.Title }], target: i0.ɵɵFactoryTarget.Component });
|
|
1525
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: ScriptsInitComponent, selector: "lib-scripts-init", ngImport: i0, template: "" });
|
|
1526
|
+
}
|
|
1527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ScriptsInitComponent, decorators: [{
|
|
1528
|
+
type: Component,
|
|
1529
|
+
args: [{ selector: 'lib-scripts-init', template: "" }]
|
|
1530
|
+
}], ctorParameters: () => [{ type: i1$2.LayoutService }, { type: i1$2.PageInfoService }, { type: i1$1.Router }, { type: i3.Title }] });
|
|
1531
|
+
|
|
1532
|
+
class PageTitleComponent {
|
|
1533
|
+
pageInfo;
|
|
1534
|
+
cd;
|
|
1535
|
+
unsubscribe = [];
|
|
1536
|
+
appPageTitleDirection = '';
|
|
1537
|
+
appPageTitleBreadcrumb;
|
|
1538
|
+
appPageTitleDescription;
|
|
1539
|
+
title$;
|
|
1540
|
+
description$;
|
|
1541
|
+
bc$;
|
|
1542
|
+
constructor(pageInfo, cd) {
|
|
1543
|
+
this.pageInfo = pageInfo;
|
|
1544
|
+
this.cd = cd;
|
|
1545
|
+
}
|
|
1546
|
+
ngOnInit() {
|
|
1547
|
+
this.title$ = this.pageInfo.title.asObservable();
|
|
1548
|
+
this.description$ = this.pageInfo.description.asObservable();
|
|
1549
|
+
this.bc$ = this.pageInfo.breadcrumbs.asObservable();
|
|
1550
|
+
this.title$.subscribe((e) => {
|
|
1551
|
+
this.cd.detectChanges();
|
|
1552
|
+
});
|
|
1553
|
+
this.description$.subscribe((e) => {
|
|
1554
|
+
this.cd.detectChanges();
|
|
1555
|
+
});
|
|
1556
|
+
this.bc$.subscribe((e) => {
|
|
1557
|
+
this.cd.detectChanges();
|
|
1558
|
+
});
|
|
1559
|
+
}
|
|
1560
|
+
ngOnDestroy() {
|
|
1561
|
+
this.unsubscribe.forEach((sb) => sb.unsubscribe());
|
|
1562
|
+
}
|
|
1563
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: PageTitleComponent, deps: [{ token: i1.PageInfoService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1564
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: PageTitleComponent, selector: "lib-page-title", inputs: { appPageTitleDirection: "appPageTitleDirection", appPageTitleBreadcrumb: "appPageTitleBreadcrumb", appPageTitleDescription: "appPageTitleDescription" }, ngImport: i0, template: "<ng-container *ngIf=\"title$ | async as title\">\r\n\r\n <ng-container *ngIf=\"appPageTitleBreadcrumb\">\r\n <ng-container *ngIf=\"bc$ | async as _bc\">\r\n <!-- <ng-container *ngIf=\"_bc.length > 0\"> -->\r\n <ng-container *ngIf=\"appPageTitleDirection === 'row'\">\r\n <span class=\"h-20px border-gray-300 border-start mx-4\"></span>\r\n </ng-container>\r\n <!--begin::Breadcrumb-->\r\n\r\n <ul class=\"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0\"\r\n [ngClass]=\"{'pt-1': appPageTitleDirection === 'column'}\">\r\n <li *ngFor=\"let bc of _bc\" class=\"breadcrumb-item\"\r\n [ngClass]=\"!bc.isSeparator && bc.isActive ? 'text-gray-900' : ''\"\r\n [ngClass]=\"!bc.isSeparator && !bc.isActive ? 'text-muted' : ''\">\r\n <ng-container *ngIf=\"!bc.isSeparator\">\r\n <a class=\"inactive-bc text-hover-primary\" [routerLink]=\"bc.path\">\r\n {{ bc.title }}\r\n </a>\r\n </ng-container>\r\n <ng-container *ngIf=\"bc.isSeparator\">\r\n <img src=\"/assets/tango/layout/bc-seperator.svg\" alt=\"\">\r\n </ng-container>\r\n </li>\r\n <li class=\"breadcrumb-item active-bc\">{{ title }}</li>\r\n </ul>\r\n <!--end::Breadcrumb-->\r\n\r\n <!-- </ng-container> -->\r\n </ng-container>\r\n </ng-container>\r\n</ng-container>\r\n", styles: [".active-bc{color:#00a3ff}.inactive-bc{color:#98a2b3}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }] });
|
|
1565
|
+
}
|
|
1566
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: PageTitleComponent, decorators: [{
|
|
1567
|
+
type: Component,
|
|
1568
|
+
args: [{ selector: 'lib-page-title', template: "<ng-container *ngIf=\"title$ | async as title\">\r\n\r\n <ng-container *ngIf=\"appPageTitleBreadcrumb\">\r\n <ng-container *ngIf=\"bc$ | async as _bc\">\r\n <!-- <ng-container *ngIf=\"_bc.length > 0\"> -->\r\n <ng-container *ngIf=\"appPageTitleDirection === 'row'\">\r\n <span class=\"h-20px border-gray-300 border-start mx-4\"></span>\r\n </ng-container>\r\n <!--begin::Breadcrumb-->\r\n\r\n <ul class=\"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0\"\r\n [ngClass]=\"{'pt-1': appPageTitleDirection === 'column'}\">\r\n <li *ngFor=\"let bc of _bc\" class=\"breadcrumb-item\"\r\n [ngClass]=\"!bc.isSeparator && bc.isActive ? 'text-gray-900' : ''\"\r\n [ngClass]=\"!bc.isSeparator && !bc.isActive ? 'text-muted' : ''\">\r\n <ng-container *ngIf=\"!bc.isSeparator\">\r\n <a class=\"inactive-bc text-hover-primary\" [routerLink]=\"bc.path\">\r\n {{ bc.title }}\r\n </a>\r\n </ng-container>\r\n <ng-container *ngIf=\"bc.isSeparator\">\r\n <img src=\"/assets/tango/layout/bc-seperator.svg\" alt=\"\">\r\n </ng-container>\r\n </li>\r\n <li class=\"breadcrumb-item active-bc\">{{ title }}</li>\r\n </ul>\r\n <!--end::Breadcrumb-->\r\n\r\n <!-- </ng-container> -->\r\n </ng-container>\r\n </ng-container>\r\n</ng-container>\r\n", styles: [".active-bc{color:#00a3ff}.inactive-bc{color:#98a2b3}\n"] }]
|
|
1569
|
+
}], ctorParameters: () => [{ type: i1.PageInfoService }, { type: i0.ChangeDetectorRef }], propDecorators: { appPageTitleDirection: [{
|
|
1570
|
+
type: Input
|
|
1571
|
+
}], appPageTitleBreadcrumb: [{
|
|
1572
|
+
type: Input
|
|
1573
|
+
}], appPageTitleDescription: [{
|
|
1574
|
+
type: Input
|
|
1575
|
+
}] } });
|
|
1576
|
+
|
|
1577
|
+
class AccountingComponent {
|
|
1578
|
+
constructor() { }
|
|
1579
|
+
ngOnInit() {
|
|
1580
|
+
}
|
|
1581
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AccountingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1582
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: AccountingComponent, selector: "lib-accounting", ngImport: i0, template: "<!--begin::Input group-->\r\n<div class=\"d-flex align-items-center flex-shrink-0\">\r\n <!--begin::Label-->\r\n <span class=\"fs-7 text-gray-700 fw-bold pe-3 d-none d-md-block\">Actions:</span>\r\n <!--end::Label-->\r\n\r\n <!--begin::Actions-->\r\n <div class=\"d-flex flex-shrink-0\">\r\n <!--begin::Button-->\r\n <div data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" data-bs-trigger=\"hover\" title=\"Add a team member\">\r\n <a href=\"#\" class=\"btn btn-sm btn-icon btn-active-color-success\">\r\n <lib-keenicon name=\"plus-square\" class=\"fs-2x\"></lib-keenicon>\r\n </a>\r\n </div>\r\n <!--end::Button-->\r\n\r\n <!--begin::Button-->\r\n <div data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" data-bs-trigger=\"hover\" title=\"Create new account\">\r\n <a href=\"#\" class=\"btn btn-sm btn-icon btn-active-color-success\">\r\n <lib-keenicon name=\"gen037.svg\" class=\"fs-2x\"></lib-keenicon>\r\n </a>\r\n </div>\r\n <!--end::Button-->\r\n\r\n <!--begin::Button-->\r\n <div data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" data-bs-trigger=\"hover\" title=\"Invite friends\">\r\n <a href=\"#\" class=\"btn btn-sm btn-icon btn-active-color-success\">\r\n <lib-keenicon name=\"dots-square\" class=\"fs-2x\"></lib-keenicon>\r\n </a>\r\n </div>\r\n <!--end::Button-->\r\n </div>\r\n <!--end::Actions-->\r\n</div>\r\n<!--end::Input group-->\r\n\r\n<!--begin::Input group-->\r\n<div class=\"d-flex align-items-center flex-shrink-0\">\r\n <!--begin::Desktop separartor-->\r\n <div class=\"bullet bg-secondary h-35px w-1px mx-5\"></div>\r\n <!--end::Desktop separartor-->\r\n\r\n <!--begin::Label-->\r\n <span class=\"fs-7 text-gray-700 fw-bold pe-4 ps-1 d-none d-md-block\">Progress:</span>\r\n <!--end::Label-->\r\n\r\n <div class=\"progress w-100px w-xl-150px w-xxl-300px h-25px bg-light-success\">\r\n <div class=\"progress-bar rounded bg-success fs-7 fw-bold\" role=\"progressbar\" style=\"width: 72%;\" aria-valuenow=\"72\"\r\n aria-valuemin=\"0\" aria-valuemax=\"100\">72%</div>\r\n </div>\r\n</div>\r\n<!--end::Input group-->\r\n<!--end::Toolbar start-->\r\n\r\n<!--begin::Toolbar end-->\r\n<div class=\"d-flex align-items-center\">\r\n <!--begin::Input group-->\r\n <div class=\"me-3\">\r\n <!--begin::Select-->\r\n <select class=\"form-select form-select-sm form-select-solid\" data-control=\"select2\" data-placeholder=\"Latest\"\r\n data-hide-search=\"true\">\r\n <option value=\"\"></option>\r\n <option value=\"1\" selected>Today 16 Feb</option>\r\n <option value=\"2\">In Progress</option>\r\n <option value=\"3\">Done</option>\r\n </select>\r\n <!--end::Select-->\r\n </div>\r\n <!--end::Input group--->\r\n\r\n <!--begin::Input group--->\r\n <div class=\"m-0\">\r\n <!--begin::Select-->\r\n <select class=\"form-select form-select-sm form-select-solid w-md-125px\" data-control=\"select2\"\r\n data-placeholder=\"Filters\" data-hide-search=\"true\">\r\n <option value=\"\"></option>\r\n <option value=\"1\" selected>Filters</option>\r\n <option value=\"2\">In Progress</option>\r\n <option value=\"3\">Done</option>\r\n </select>\r\n <!--end::Content-->\r\n </div>\r\n <!--end::Input group--->\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "component", type: KeeniconComponent, selector: "lib-keenicon", inputs: ["name", "class", "type"] }] });
|
|
1583
|
+
}
|
|
1584
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AccountingComponent, decorators: [{
|
|
1585
|
+
type: Component,
|
|
1586
|
+
args: [{ selector: 'lib-accounting', template: "<!--begin::Input group-->\r\n<div class=\"d-flex align-items-center flex-shrink-0\">\r\n <!--begin::Label-->\r\n <span class=\"fs-7 text-gray-700 fw-bold pe-3 d-none d-md-block\">Actions:</span>\r\n <!--end::Label-->\r\n\r\n <!--begin::Actions-->\r\n <div class=\"d-flex flex-shrink-0\">\r\n <!--begin::Button-->\r\n <div data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" data-bs-trigger=\"hover\" title=\"Add a team member\">\r\n <a href=\"#\" class=\"btn btn-sm btn-icon btn-active-color-success\">\r\n <lib-keenicon name=\"plus-square\" class=\"fs-2x\"></lib-keenicon>\r\n </a>\r\n </div>\r\n <!--end::Button-->\r\n\r\n <!--begin::Button-->\r\n <div data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" data-bs-trigger=\"hover\" title=\"Create new account\">\r\n <a href=\"#\" class=\"btn btn-sm btn-icon btn-active-color-success\">\r\n <lib-keenicon name=\"gen037.svg\" class=\"fs-2x\"></lib-keenicon>\r\n </a>\r\n </div>\r\n <!--end::Button-->\r\n\r\n <!--begin::Button-->\r\n <div data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" data-bs-trigger=\"hover\" title=\"Invite friends\">\r\n <a href=\"#\" class=\"btn btn-sm btn-icon btn-active-color-success\">\r\n <lib-keenicon name=\"dots-square\" class=\"fs-2x\"></lib-keenicon>\r\n </a>\r\n </div>\r\n <!--end::Button-->\r\n </div>\r\n <!--end::Actions-->\r\n</div>\r\n<!--end::Input group-->\r\n\r\n<!--begin::Input group-->\r\n<div class=\"d-flex align-items-center flex-shrink-0\">\r\n <!--begin::Desktop separartor-->\r\n <div class=\"bullet bg-secondary h-35px w-1px mx-5\"></div>\r\n <!--end::Desktop separartor-->\r\n\r\n <!--begin::Label-->\r\n <span class=\"fs-7 text-gray-700 fw-bold pe-4 ps-1 d-none d-md-block\">Progress:</span>\r\n <!--end::Label-->\r\n\r\n <div class=\"progress w-100px w-xl-150px w-xxl-300px h-25px bg-light-success\">\r\n <div class=\"progress-bar rounded bg-success fs-7 fw-bold\" role=\"progressbar\" style=\"width: 72%;\" aria-valuenow=\"72\"\r\n aria-valuemin=\"0\" aria-valuemax=\"100\">72%</div>\r\n </div>\r\n</div>\r\n<!--end::Input group-->\r\n<!--end::Toolbar start-->\r\n\r\n<!--begin::Toolbar end-->\r\n<div class=\"d-flex align-items-center\">\r\n <!--begin::Input group-->\r\n <div class=\"me-3\">\r\n <!--begin::Select-->\r\n <select class=\"form-select form-select-sm form-select-solid\" data-control=\"select2\" data-placeholder=\"Latest\"\r\n data-hide-search=\"true\">\r\n <option value=\"\"></option>\r\n <option value=\"1\" selected>Today 16 Feb</option>\r\n <option value=\"2\">In Progress</option>\r\n <option value=\"3\">Done</option>\r\n </select>\r\n <!--end::Select-->\r\n </div>\r\n <!--end::Input group--->\r\n\r\n <!--begin::Input group--->\r\n <div class=\"m-0\">\r\n <!--begin::Select-->\r\n <select class=\"form-select form-select-sm form-select-solid w-md-125px\" data-control=\"select2\"\r\n data-placeholder=\"Filters\" data-hide-search=\"true\">\r\n <option value=\"\"></option>\r\n <option value=\"1\" selected>Filters</option>\r\n <option value=\"2\">In Progress</option>\r\n <option value=\"3\">Done</option>\r\n </select>\r\n <!--end::Content-->\r\n </div>\r\n <!--end::Input group--->\r\n</div>\r\n" }]
|
|
1587
|
+
}], ctorParameters: () => [] });
|
|
1588
|
+
|
|
1589
|
+
class ClassicComponent {
|
|
1590
|
+
layout;
|
|
1591
|
+
unsubscribe = [];
|
|
1592
|
+
appToolbarPrimaryButton;
|
|
1593
|
+
appToolbarPrimaryButtonLabel = '';
|
|
1594
|
+
appToolbarPrimaryButtonUrl = '';
|
|
1595
|
+
appToolbarPrimaryButtonModal = '';
|
|
1596
|
+
appToolbarSecondaryButton;
|
|
1597
|
+
appToolbarFixedDesktop;
|
|
1598
|
+
appToolbarSecondaryButtonLabel = '';
|
|
1599
|
+
appToolbarSecondaryButtonUrl = '';
|
|
1600
|
+
appToolbarSecondaryButtonModal = '';
|
|
1601
|
+
appToolbarFilterButton;
|
|
1602
|
+
appToolbarDaterangepickerButton;
|
|
1603
|
+
secondaryButtonClass = '';
|
|
1604
|
+
filterButtonClass = '';
|
|
1605
|
+
daterangepickerButtonClass = '';
|
|
1606
|
+
constructor(layout) {
|
|
1607
|
+
this.layout = layout;
|
|
1608
|
+
}
|
|
1609
|
+
ngOnInit() {
|
|
1610
|
+
this.updateProps();
|
|
1611
|
+
const subscr = this.layout.layoutConfigSubject
|
|
1612
|
+
.asObservable()
|
|
1613
|
+
.subscribe(() => {
|
|
1614
|
+
this.updateProps();
|
|
1615
|
+
});
|
|
1616
|
+
this.unsubscribe.push(subscr);
|
|
1617
|
+
}
|
|
1618
|
+
updateProps() {
|
|
1619
|
+
this.appToolbarPrimaryButton = this.layout.getProp('app.toolbar.primaryButton');
|
|
1620
|
+
this.appToolbarPrimaryButtonLabel = this.layout.getProp('app.toolbar.primaryButtonLabel');
|
|
1621
|
+
this.appToolbarPrimaryButtonUrl = this.layout.getProp('app.toolbar.primaryButtonUrl');
|
|
1622
|
+
this.appToolbarPrimaryButtonModal = this.layout.getProp('app.toolbar.primaryButtonModal');
|
|
1623
|
+
this.appToolbarSecondaryButton = this.layout.getProp('app.toolbar.secondaryButton');
|
|
1624
|
+
this.secondaryButtonClass = this.appToolbarFixedDesktop
|
|
1625
|
+
? 'btn-light'
|
|
1626
|
+
: 'bg-body btn-color-gray-700 btn-active-color-primary';
|
|
1627
|
+
this.appToolbarFixedDesktop = this.layout.getProp('appToolbarFixedDesktop');
|
|
1628
|
+
this.appToolbarSecondaryButtonLabel = this.layout.getProp('appToolbarSecondaryButtonLabel');
|
|
1629
|
+
this.appToolbarSecondaryButtonUrl = this.layout.getProp('appToolbarSecondaryButtonUrl');
|
|
1630
|
+
this.appToolbarSecondaryButtonModal = this.layout.getProp('appToolbarSecondaryButtonModal');
|
|
1631
|
+
this.appToolbarFilterButton = this.layout.getProp('appToolbarFilterButton');
|
|
1632
|
+
this.appToolbarDaterangepickerButton = this.layout.getProp('appToolbarDaterangepickerButton');
|
|
1633
|
+
this.filterButtonClass = this.appToolbarFixedDesktop
|
|
1634
|
+
? 'btn-light'
|
|
1635
|
+
: 'bg-body btn-color-gray-600 btn-active-color-primary';
|
|
1636
|
+
this.daterangepickerButtonClass = this.appToolbarFixedDesktop
|
|
1637
|
+
? 'btn-light'
|
|
1638
|
+
: 'bg-body btn-color-gray-700 btn-active-color-primary';
|
|
1639
|
+
}
|
|
1640
|
+
ngOnDestroy() {
|
|
1641
|
+
this.unsubscribe.forEach((sb) => sb.unsubscribe());
|
|
1642
|
+
}
|
|
1643
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ClassicComponent, deps: [{ token: i1.LayoutService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1644
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: ClassicComponent, selector: "lib-classic", ngImport: i0, template: "<ng-container *ngIf=\"appToolbarFilterButton\">\r\n <!--begin::Filter menu-->\r\n <div class=\"m-0\">\r\n <!--begin::Menu toggle-->\r\n <a href=\"#\" class=\"btn btn-sm btn-flex fw-bold\" [ngClass]=\"daterangepickerButtonClass\" data-kt-menu-trigger=\"click\"\r\n data-kt-menu-placement=\"bottom-end\">\r\n <lib-keenicon name=\"filter\" class=\"fs-6 text-muted me-1\"></lib-keenicon>\r\n Filter\r\n </a>\r\n <!--end::Menu toggle-->\r\n\r\n <!-- <lib-dropdown-menu1></lib-dropdown-menu1> -->\r\n </div>\r\n <!--end::Filter menu-->\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"appToolbarDaterangepickerButton\">\r\n <div data-kt-daterangepicker=\"true\" data-kt-daterangepicker-opens=\"left\"\r\n class=\"btn btn-sm fw-bold d-flex align-items-center px-4\" [ngClass]=\"daterangepickerButtonClass\">\r\n <!--begin::Display range-->\r\n <div class=\"text-gray-600 fw-bold\">\r\n Loading date range...\r\n </div>\r\n <!--end::Display range-->\r\n <lib-keenicon name=\"calendar-8\" class=\"fs-1 ms-2 me-0\"></lib-keenicon>\r\n </div>\r\n</ng-container>\r\n\r\n<!--begin::Secondary button-->\r\n<a href=\"javascript:;\" class=\"btn btn-sm btn-flex btn-light fw-bold\">\r\n Filter\r\n</a>\r\n<!--end::Secondary button-->\r\n\r\n<!--begin::Primary button--> \r\n<a href=\"javascript:;\" class=\"btn btn-sm fw-bold btn-primary\" data-bs-toggle=\"modal\" data-bs-target=\"#kt_modal_create_app\">Create</a>\r\n<!--end::Primary button-->\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: KeeniconComponent, selector: "lib-keenicon", inputs: ["name", "class", "type"] }] });
|
|
1645
|
+
}
|
|
1646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ClassicComponent, decorators: [{
|
|
1647
|
+
type: Component,
|
|
1648
|
+
args: [{ selector: 'lib-classic', template: "<ng-container *ngIf=\"appToolbarFilterButton\">\r\n <!--begin::Filter menu-->\r\n <div class=\"m-0\">\r\n <!--begin::Menu toggle-->\r\n <a href=\"#\" class=\"btn btn-sm btn-flex fw-bold\" [ngClass]=\"daterangepickerButtonClass\" data-kt-menu-trigger=\"click\"\r\n data-kt-menu-placement=\"bottom-end\">\r\n <lib-keenicon name=\"filter\" class=\"fs-6 text-muted me-1\"></lib-keenicon>\r\n Filter\r\n </a>\r\n <!--end::Menu toggle-->\r\n\r\n <!-- <lib-dropdown-menu1></lib-dropdown-menu1> -->\r\n </div>\r\n <!--end::Filter menu-->\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"appToolbarDaterangepickerButton\">\r\n <div data-kt-daterangepicker=\"true\" data-kt-daterangepicker-opens=\"left\"\r\n class=\"btn btn-sm fw-bold d-flex align-items-center px-4\" [ngClass]=\"daterangepickerButtonClass\">\r\n <!--begin::Display range-->\r\n <div class=\"text-gray-600 fw-bold\">\r\n Loading date range...\r\n </div>\r\n <!--end::Display range-->\r\n <lib-keenicon name=\"calendar-8\" class=\"fs-1 ms-2 me-0\"></lib-keenicon>\r\n </div>\r\n</ng-container>\r\n\r\n<!--begin::Secondary button-->\r\n<a href=\"javascript:;\" class=\"btn btn-sm btn-flex btn-light fw-bold\">\r\n Filter\r\n</a>\r\n<!--end::Secondary button-->\r\n\r\n<!--begin::Primary button--> \r\n<a href=\"javascript:;\" class=\"btn btn-sm fw-bold btn-primary\" data-bs-toggle=\"modal\" data-bs-target=\"#kt_modal_create_app\">Create</a>\r\n<!--end::Primary button-->\r\n" }]
|
|
1649
|
+
}], ctorParameters: () => [{ type: i1.LayoutService }] });
|
|
1650
|
+
|
|
1651
|
+
class ExtendedComponent {
|
|
1652
|
+
constructor() { }
|
|
1653
|
+
ngOnInit() { }
|
|
1654
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ExtendedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1655
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: ExtendedComponent, selector: "lib-extended", ngImport: i0, template: "<!--begin::Label-->\r\n<span class=\"fs-7 fw-bold text-gray-700 pe-4 d-none d-md-block\">Team:</span>\r\n<!--end::Label-->\r\n\r\n<!--begin::Users-->\r\n<div class=\"symbol-group symbol-hover flex-shrink-0 me-2\">\r\n <!--begin::User-->\r\n <div class=\"symbol symbol-circle symbol-35px\">\r\n <div class=\"symbol-label fw-bold bg-warning text-inverse-warning\">A</div>\r\n </div>\r\n <!--end::User-->\r\n\r\n <!--begin::User-->\r\n <div class=\"symbol symbol-circle symbol-35px\">\r\n <img src=\"./assets/media/avatars/300-1.jpg\" alt=\"\" />\r\n </div>\r\n <!--end::User-->\r\n\r\n <!--begin::User-->\r\n <div class=\"symbol symbol-circle symbol-35px\">\r\n <img src=\"./assets/media/avatars/300-2.jpg\" alt=\"\" />\r\n </div>\r\n <!--end::User-->\r\n\r\n <!--begin::User-->\r\n <div class=\"symbol symbol-circle symbol-35px\">\r\n <div class=\"symbol-label fw-bold bg-primary text-inverse-primary\">S</div>\r\n </div>\r\n <!--end::User-->\r\n\r\n <!--begin::User-->\r\n <div class=\"symbol symbol-circle symbol-35px\">\r\n <img src=\"./assets/media/avatars/300-5.jpg\" alt=\"\" />\r\n </div>\r\n <!--end::User-->\r\n\r\n <!--begin::User-->\r\n <div class=\"symbol symbol-circle symbol-35px\">\r\n <div class=\"symbol-label fw-bold bg-danger text-inverse-danger\">P</div>\r\n </div>\r\n <!--end::User-->\r\n\r\n <!--begin::User-->\r\n <div class=\"symbol symbol-circle symbol-35px\">\r\n <img src=\"./assets/media/avatars/300-20.jpg\" alt=\"\" />\r\n </div>\r\n <!--end::User-->\r\n</div>\r\n<!--end::Users-->\r\n\r\n<!--begin::Button-->\r\n<div data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" data-bs-trigger=\"hover\" title=\"Invite a team member\">\r\n <a href=\"#\" class=\"btn btn-sm btn-icon\">\r\n <lib-keenicon name=\"plus-square\" class=\"fs-2hx text-success\"></lib-keenicon>\r\n </a>\r\n</div>\r\n<!--end::Button-->\r\n<!--end::Toolbar start-->\r\n\r\n<!--begin::Toolbar end-->\r\n<div class=\"d-flex align-items-center overflow-auto\">\r\n <!--begin::Search-->\r\n <div class=\"position-relative my-1\">\r\n <lib-keenicon name=\"magnifier\" class=\"fs-3 text-gray500 position-absolute top-50 translate-middle ps-10\"></lib-keenicon>\r\n <input type=\"text\" class=\"form-control form-control-sm form-control-solid w-150px ps-10\" name=\"Search Team\" value=\"\"\r\n placeholder=\"Search Team\" />\r\n </div>\r\n <!--end::Search-->\r\n\r\n <!--begin::Separartor-->\r\n <div class=\"bullet bg-secondary h-35px w-1px mx-6\"></div>\r\n <!--end::Separartor-->\r\n\r\n <!--begin::Label-->\r\n <span class=\"fs-7 fw-bold text-gray-700 flex-shrink-0 pe-4 d-none d-md-block\">Sort By:</span>\r\n <!--end::Label-->\r\n\r\n <!--begin::Select-->\r\n <select class=\"form-select form-select-sm w-125px form-select-solid me-6\" data-control=\"select2\"\r\n data-placeholder=\"Latest\" data-hide-search=\"true\">\r\n <option value=\"\"></option>\r\n <option value=\"1\" selected>Latest</option>\r\n <option value=\"2\">In Progress</option>\r\n <option value=\"3\">Done</option>\r\n </select>\r\n <!--end::Select-->\r\n\r\n <!--begin::Actions-->\r\n <div class=\"d-flex align-items-center\">\r\n <button type=\"button\" class=\"btn btn-sm btn-icon btn-light-primary me-3\" data-bs-toggle=\"tooltip\"\r\n data-bs-placement=\"top\" title=\"Enable grid view\">\r\n <lib-keenicon name=\"element-11\" class=\"fs-3 text-primary\"></lib-keenicon>\r\n </button>\r\n\r\n <button type=\"button\" class=\"btn btn-sm btn-icon btn-light\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\"\r\n title=\"Enable row view\">\r\n <lib-keenicon name=\"row-horizontal\" class=\"fs-3 text-gray400\"></lib-keenicon>\r\n </button>\r\n </div>\r\n <!--end::Actions-->\r\n", styles: [""], dependencies: [{ kind: "component", type: KeeniconComponent, selector: "lib-keenicon", inputs: ["name", "class", "type"] }] });
|
|
1656
|
+
}
|
|
1657
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ExtendedComponent, decorators: [{
|
|
1658
|
+
type: Component,
|
|
1659
|
+
args: [{ selector: 'lib-extended', template: "<!--begin::Label-->\r\n<span class=\"fs-7 fw-bold text-gray-700 pe-4 d-none d-md-block\">Team:</span>\r\n<!--end::Label-->\r\n\r\n<!--begin::Users-->\r\n<div class=\"symbol-group symbol-hover flex-shrink-0 me-2\">\r\n <!--begin::User-->\r\n <div class=\"symbol symbol-circle symbol-35px\">\r\n <div class=\"symbol-label fw-bold bg-warning text-inverse-warning\">A</div>\r\n </div>\r\n <!--end::User-->\r\n\r\n <!--begin::User-->\r\n <div class=\"symbol symbol-circle symbol-35px\">\r\n <img src=\"./assets/media/avatars/300-1.jpg\" alt=\"\" />\r\n </div>\r\n <!--end::User-->\r\n\r\n <!--begin::User-->\r\n <div class=\"symbol symbol-circle symbol-35px\">\r\n <img src=\"./assets/media/avatars/300-2.jpg\" alt=\"\" />\r\n </div>\r\n <!--end::User-->\r\n\r\n <!--begin::User-->\r\n <div class=\"symbol symbol-circle symbol-35px\">\r\n <div class=\"symbol-label fw-bold bg-primary text-inverse-primary\">S</div>\r\n </div>\r\n <!--end::User-->\r\n\r\n <!--begin::User-->\r\n <div class=\"symbol symbol-circle symbol-35px\">\r\n <img src=\"./assets/media/avatars/300-5.jpg\" alt=\"\" />\r\n </div>\r\n <!--end::User-->\r\n\r\n <!--begin::User-->\r\n <div class=\"symbol symbol-circle symbol-35px\">\r\n <div class=\"symbol-label fw-bold bg-danger text-inverse-danger\">P</div>\r\n </div>\r\n <!--end::User-->\r\n\r\n <!--begin::User-->\r\n <div class=\"symbol symbol-circle symbol-35px\">\r\n <img src=\"./assets/media/avatars/300-20.jpg\" alt=\"\" />\r\n </div>\r\n <!--end::User-->\r\n</div>\r\n<!--end::Users-->\r\n\r\n<!--begin::Button-->\r\n<div data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" data-bs-trigger=\"hover\" title=\"Invite a team member\">\r\n <a href=\"#\" class=\"btn btn-sm btn-icon\">\r\n <lib-keenicon name=\"plus-square\" class=\"fs-2hx text-success\"></lib-keenicon>\r\n </a>\r\n</div>\r\n<!--end::Button-->\r\n<!--end::Toolbar start-->\r\n\r\n<!--begin::Toolbar end-->\r\n<div class=\"d-flex align-items-center overflow-auto\">\r\n <!--begin::Search-->\r\n <div class=\"position-relative my-1\">\r\n <lib-keenicon name=\"magnifier\" class=\"fs-3 text-gray500 position-absolute top-50 translate-middle ps-10\"></lib-keenicon>\r\n <input type=\"text\" class=\"form-control form-control-sm form-control-solid w-150px ps-10\" name=\"Search Team\" value=\"\"\r\n placeholder=\"Search Team\" />\r\n </div>\r\n <!--end::Search-->\r\n\r\n <!--begin::Separartor-->\r\n <div class=\"bullet bg-secondary h-35px w-1px mx-6\"></div>\r\n <!--end::Separartor-->\r\n\r\n <!--begin::Label-->\r\n <span class=\"fs-7 fw-bold text-gray-700 flex-shrink-0 pe-4 d-none d-md-block\">Sort By:</span>\r\n <!--end::Label-->\r\n\r\n <!--begin::Select-->\r\n <select class=\"form-select form-select-sm w-125px form-select-solid me-6\" data-control=\"select2\"\r\n data-placeholder=\"Latest\" data-hide-search=\"true\">\r\n <option value=\"\"></option>\r\n <option value=\"1\" selected>Latest</option>\r\n <option value=\"2\">In Progress</option>\r\n <option value=\"3\">Done</option>\r\n </select>\r\n <!--end::Select-->\r\n\r\n <!--begin::Actions-->\r\n <div class=\"d-flex align-items-center\">\r\n <button type=\"button\" class=\"btn btn-sm btn-icon btn-light-primary me-3\" data-bs-toggle=\"tooltip\"\r\n data-bs-placement=\"top\" title=\"Enable grid view\">\r\n <lib-keenicon name=\"element-11\" class=\"fs-3 text-primary\"></lib-keenicon>\r\n </button>\r\n\r\n <button type=\"button\" class=\"btn btn-sm btn-icon btn-light\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\"\r\n title=\"Enable row view\">\r\n <lib-keenicon name=\"row-horizontal\" class=\"fs-3 text-gray400\"></lib-keenicon>\r\n </button>\r\n </div>\r\n <!--end::Actions-->\r\n" }]
|
|
1660
|
+
}], ctorParameters: () => [] });
|
|
1661
|
+
|
|
1662
|
+
class ReportsComponent {
|
|
1663
|
+
appPageTitleDisplay;
|
|
1664
|
+
constructor() { }
|
|
1665
|
+
ngOnInit() { }
|
|
1666
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ReportsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1667
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: ReportsComponent, selector: "lib-reports", inputs: { appPageTitleDisplay: "appPageTitleDisplay" }, ngImport: i0, template: "<!--begin::Wrapper-->\r\n<div class=\"d-flex align-items-center flex-shrink-0\">\r\n <!--begin::Label-->\r\n <span class=\"fs-7 fw-bold text-gray-700 flex-shrink-0 pe-4 d-none d-md-block\">Filter By:</span>\r\n <!--end::Label-->\r\n\r\n <div class=\"flex-shrink-0 \">\r\n <ul class=\"nav\">\r\n <li class=\"nav-item\">\r\n <a class=\"nav-link btn btn-sm btn-color-muted btn-active-color-primary btn-active-light active fw-semibold fs-7 px-4 me-1\"\r\n data-bs-toggle=\"tab\" href=\"#\">Today</a>\r\n </li>\r\n\r\n <li class=\"nav-item\">\r\n <a class=\"nav-link btn btn-sm btn-color-muted btn-active-color-primary btn-active-light fw-semibold fs-7 px-4 me-1\"\r\n data-bs-toggle=\"tab\" href=\"\">Week</a>\r\n </li>\r\n\r\n <li class=\"nav-item\">\r\n <a class=\"nav-link btn btn-sm btn-color-muted btn-active-color-primary btn-active-light fw-semibold fs-7 px-4\"\r\n data-bs-toggle=\"tab\" href=\"#\">Day</a>\r\n </li>\r\n </ul>\r\n </div>\r\n</div>\r\n<!--end::Wrapper-->\r\n\r\n<!--begin::Separartor-->\r\n<div class=\"bullet bg-secondary h-35px w-1px mx-5\"></div>\r\n<!--end::Separartor-->\r\n\r\n<!--begin::Wrapper-->\r\n<div class=\"d-flex align-items-center\">\r\n <!--begin::Label-->\r\n <span class=\"fs-7 fw-bold text-gray-700 flex-shrink-0 pe-4 d-none d-md-block\">Sort By:</span>\r\n <!--end::Label-->\r\n\r\n <!--begin::Select-->\r\n <select class=\"form-select form-select-sm w-md-125px form-select-solid\" data-control=\"select2\"\r\n data-placeholder=\"Latest\" data-hide-search=\"true\">\r\n <option value=\"\"></option>\r\n <option value=\"1\" selected>Latest</option>\r\n <option value=\"2\">In Progress</option>\r\n <option value=\"3\">Done</option>\r\n </select>\r\n <!--end::Select-->\r\n\r\n <!--begin::Actions-->\r\n <div class=\"d-flex align-items-center ms-3\">\r\n <button type=\"button\" class=\"btn btn-sm btn-icon btn-light-primary me-3\" data-bs-toggle=\"tooltip\"\r\n data-bs-placement=\"top\" title=\"Enable grid view\">\r\n <lib-keenicon name=\"element-11\" class=\"fs-2 text-primary\"></lib-keenicon>\r\n </button>\r\n\r\n <button type=\"button\" class=\"btn btn-sm btn-icon btn-light\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\"\r\n title=\"Enable row view\">\r\n <lib-keenicon name=\"abstract-14\" class=\"fs-2 text-gray400\"></lib-keenicon>\r\n </button>\r\n </div>\r\n <!--end::Actions-->\r\n</div>\r\n<!--end::Wrapper-->\r\n", styles: [""], dependencies: [{ kind: "component", type: KeeniconComponent, selector: "lib-keenicon", inputs: ["name", "class", "type"] }] });
|
|
1668
|
+
}
|
|
1669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ReportsComponent, decorators: [{
|
|
1670
|
+
type: Component,
|
|
1671
|
+
args: [{ selector: 'lib-reports', template: "<!--begin::Wrapper-->\r\n<div class=\"d-flex align-items-center flex-shrink-0\">\r\n <!--begin::Label-->\r\n <span class=\"fs-7 fw-bold text-gray-700 flex-shrink-0 pe-4 d-none d-md-block\">Filter By:</span>\r\n <!--end::Label-->\r\n\r\n <div class=\"flex-shrink-0 \">\r\n <ul class=\"nav\">\r\n <li class=\"nav-item\">\r\n <a class=\"nav-link btn btn-sm btn-color-muted btn-active-color-primary btn-active-light active fw-semibold fs-7 px-4 me-1\"\r\n data-bs-toggle=\"tab\" href=\"#\">Today</a>\r\n </li>\r\n\r\n <li class=\"nav-item\">\r\n <a class=\"nav-link btn btn-sm btn-color-muted btn-active-color-primary btn-active-light fw-semibold fs-7 px-4 me-1\"\r\n data-bs-toggle=\"tab\" href=\"\">Week</a>\r\n </li>\r\n\r\n <li class=\"nav-item\">\r\n <a class=\"nav-link btn btn-sm btn-color-muted btn-active-color-primary btn-active-light fw-semibold fs-7 px-4\"\r\n data-bs-toggle=\"tab\" href=\"#\">Day</a>\r\n </li>\r\n </ul>\r\n </div>\r\n</div>\r\n<!--end::Wrapper-->\r\n\r\n<!--begin::Separartor-->\r\n<div class=\"bullet bg-secondary h-35px w-1px mx-5\"></div>\r\n<!--end::Separartor-->\r\n\r\n<!--begin::Wrapper-->\r\n<div class=\"d-flex align-items-center\">\r\n <!--begin::Label-->\r\n <span class=\"fs-7 fw-bold text-gray-700 flex-shrink-0 pe-4 d-none d-md-block\">Sort By:</span>\r\n <!--end::Label-->\r\n\r\n <!--begin::Select-->\r\n <select class=\"form-select form-select-sm w-md-125px form-select-solid\" data-control=\"select2\"\r\n data-placeholder=\"Latest\" data-hide-search=\"true\">\r\n <option value=\"\"></option>\r\n <option value=\"1\" selected>Latest</option>\r\n <option value=\"2\">In Progress</option>\r\n <option value=\"3\">Done</option>\r\n </select>\r\n <!--end::Select-->\r\n\r\n <!--begin::Actions-->\r\n <div class=\"d-flex align-items-center ms-3\">\r\n <button type=\"button\" class=\"btn btn-sm btn-icon btn-light-primary me-3\" data-bs-toggle=\"tooltip\"\r\n data-bs-placement=\"top\" title=\"Enable grid view\">\r\n <lib-keenicon name=\"element-11\" class=\"fs-2 text-primary\"></lib-keenicon>\r\n </button>\r\n\r\n <button type=\"button\" class=\"btn btn-sm btn-icon btn-light\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\"\r\n title=\"Enable row view\">\r\n <lib-keenicon name=\"abstract-14\" class=\"fs-2 text-gray400\"></lib-keenicon>\r\n </button>\r\n </div>\r\n <!--end::Actions-->\r\n</div>\r\n<!--end::Wrapper-->\r\n" }]
|
|
1672
|
+
}], ctorParameters: () => [], propDecorators: { appPageTitleDisplay: [{
|
|
1673
|
+
type: Input
|
|
1674
|
+
}] } });
|
|
1675
|
+
|
|
1676
|
+
class SaasComponent {
|
|
1677
|
+
appPageTitleDisplay;
|
|
1678
|
+
constructor() { }
|
|
1679
|
+
ngOnInit() { }
|
|
1680
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: SaasComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1681
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: SaasComponent, selector: "lib-saas", inputs: { appPageTitleDisplay: "appPageTitleDisplay" }, ngImport: i0, template: "<!--begin::Action wrapper-->\r\n<div class=\"d-flex align-items-center\">\r\n <!--begin::Label-->\r\n <span class=\"fs-7 fw-bold text-gray-700 pe-4 text-nowrap d-none d-md-block\">Sort By:</span>\r\n <!--end::Label-->\r\n\r\n <!--begin::Select-->\r\n <select class=\"form-select form-select-sm form-select-solid w-100px w-xxl-125px\" data-control=\"select2\"\r\n data-placeholder=\"Latest\" data-hide-search=\"true\">\r\n <option value=\"\"></option>\r\n <option value=\"1\" selected>Latest</option>\r\n <option value=\"2\">In Progress</option>\r\n <option value=\"3\">Done</option>\r\n </select>\r\n <!--end::Select-->\r\n</div>\r\n<!--end::Action wrapper-->\r\n\r\n<!--begin::Action wrapper-->\r\n<div class=\"d-flex align-items-center\">\r\n <!--begin::Separartor-->\r\n <div class=\"bullet bg-secondary h-35px w-1px mx-5\"></div>\r\n <!--end::Separartor-->\r\n\r\n <!--begin::Label-->\r\n <span class=\"fs-7 text-gray-700 fw-bold\">Impact Level:</span>\r\n <!--end::Label-->\r\n\r\n <!--begin::NoUiSlider-->\r\n <div class=\"d-flex align-items-center ps-4\">\r\n <div id=\"kt_app_toolbar_slider\" class=\"noUi-target noUi-target-success w-75px w-xxl-150px noUi-sm\"></div>\r\n\r\n <span id=\"kt_app_toolbar_slider_value\"\r\n class=\"d-flex flex-center bg-light-success rounded-circle w-35px h-35px ms-4 fs-7 fw-bold text-success\"\r\n data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"Set impact level\">\r\n </span>\r\n </div>\r\n <!--end::NoUiSlider-->\r\n\r\n <!--begin::Separartor-->\r\n <div class=\"bullet bg-secondary h-35px w-1px mx-5\"></div>\r\n <!--end::Separartor-->\r\n</div>\r\n<!--end::Action wrapper-->\r\n\r\n<!--begin::Action wrapper-->\r\n<div class=\"d-flex align-items-center\">\r\n <!--begin::Label-->\r\n <span class=\"fs-7 text-gray-700 fw-bold pe-3 d-none d-md-block\">Quick Tools:</span>\r\n <!--end::Label-->\r\n\r\n <!--begin::Actions-->\r\n <div class=\"d-flex\">\r\n <!--begin::Action-->\r\n <a href=\"#\" class=\"btn btn-sm btn-icon btn-icon-muted btn-active-icon-success\" data-bs-toggle=\"tooltip\"\r\n data-bs-trigger=\"hover\" data-bs-placement=\"top\" title=\"Add new page\">\r\n <lib-keenicon name=\"files\" class=\"fs-2x\"></lib-keenicon>\r\n </a>\r\n <!--end::Action-->\r\n\r\n <!--begin::Action-->\r\n <a href=\"#\" class=\"btn btn-sm btn-icon btn-icon-muted btn-active-icon-success\" data-bs-toggle=\"tooltip\"\r\n data-bs-trigger=\"hover\" data-bs-placement=\"top\" title=\"Add new category\">\r\n <lib-keenicon name=\"add-files\" class=\"fs-2x\"></lib-keenicon>\r\n </a>\r\n <!--end::Action-->\r\n\r\n <!--begin::Action-->\r\n <a href=\"#\" class=\"btn btn-sm btn-icon btn-icon-muted btn-active-icon-success\" data-bs-toggle=\"tooltip\"\r\n data-bs-trigger=\"hover\" data-bs-placement=\"top\" title=\"Add new section\">\r\n <lib-keenicon name=\"search-list\" class=\"fs-2x\"></lib-keenicon>\r\n </a>\r\n <!--end::Action-->\r\n </div>\r\n <!--end::Actions-->\r\n</div>\r\n<!--end::Action wrapper-->\r\n", styles: [""], dependencies: [{ kind: "component", type: KeeniconComponent, selector: "lib-keenicon", inputs: ["name", "class", "type"] }] });
|
|
1682
|
+
}
|
|
1683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: SaasComponent, decorators: [{
|
|
1684
|
+
type: Component,
|
|
1685
|
+
args: [{ selector: 'lib-saas', template: "<!--begin::Action wrapper-->\r\n<div class=\"d-flex align-items-center\">\r\n <!--begin::Label-->\r\n <span class=\"fs-7 fw-bold text-gray-700 pe-4 text-nowrap d-none d-md-block\">Sort By:</span>\r\n <!--end::Label-->\r\n\r\n <!--begin::Select-->\r\n <select class=\"form-select form-select-sm form-select-solid w-100px w-xxl-125px\" data-control=\"select2\"\r\n data-placeholder=\"Latest\" data-hide-search=\"true\">\r\n <option value=\"\"></option>\r\n <option value=\"1\" selected>Latest</option>\r\n <option value=\"2\">In Progress</option>\r\n <option value=\"3\">Done</option>\r\n </select>\r\n <!--end::Select-->\r\n</div>\r\n<!--end::Action wrapper-->\r\n\r\n<!--begin::Action wrapper-->\r\n<div class=\"d-flex align-items-center\">\r\n <!--begin::Separartor-->\r\n <div class=\"bullet bg-secondary h-35px w-1px mx-5\"></div>\r\n <!--end::Separartor-->\r\n\r\n <!--begin::Label-->\r\n <span class=\"fs-7 text-gray-700 fw-bold\">Impact Level:</span>\r\n <!--end::Label-->\r\n\r\n <!--begin::NoUiSlider-->\r\n <div class=\"d-flex align-items-center ps-4\">\r\n <div id=\"kt_app_toolbar_slider\" class=\"noUi-target noUi-target-success w-75px w-xxl-150px noUi-sm\"></div>\r\n\r\n <span id=\"kt_app_toolbar_slider_value\"\r\n class=\"d-flex flex-center bg-light-success rounded-circle w-35px h-35px ms-4 fs-7 fw-bold text-success\"\r\n data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"Set impact level\">\r\n </span>\r\n </div>\r\n <!--end::NoUiSlider-->\r\n\r\n <!--begin::Separartor-->\r\n <div class=\"bullet bg-secondary h-35px w-1px mx-5\"></div>\r\n <!--end::Separartor-->\r\n</div>\r\n<!--end::Action wrapper-->\r\n\r\n<!--begin::Action wrapper-->\r\n<div class=\"d-flex align-items-center\">\r\n <!--begin::Label-->\r\n <span class=\"fs-7 text-gray-700 fw-bold pe-3 d-none d-md-block\">Quick Tools:</span>\r\n <!--end::Label-->\r\n\r\n <!--begin::Actions-->\r\n <div class=\"d-flex\">\r\n <!--begin::Action-->\r\n <a href=\"#\" class=\"btn btn-sm btn-icon btn-icon-muted btn-active-icon-success\" data-bs-toggle=\"tooltip\"\r\n data-bs-trigger=\"hover\" data-bs-placement=\"top\" title=\"Add new page\">\r\n <lib-keenicon name=\"files\" class=\"fs-2x\"></lib-keenicon>\r\n </a>\r\n <!--end::Action-->\r\n\r\n <!--begin::Action-->\r\n <a href=\"#\" class=\"btn btn-sm btn-icon btn-icon-muted btn-active-icon-success\" data-bs-toggle=\"tooltip\"\r\n data-bs-trigger=\"hover\" data-bs-placement=\"top\" title=\"Add new category\">\r\n <lib-keenicon name=\"add-files\" class=\"fs-2x\"></lib-keenicon>\r\n </a>\r\n <!--end::Action-->\r\n\r\n <!--begin::Action-->\r\n <a href=\"#\" class=\"btn btn-sm btn-icon btn-icon-muted btn-active-icon-success\" data-bs-toggle=\"tooltip\"\r\n data-bs-trigger=\"hover\" data-bs-placement=\"top\" title=\"Add new section\">\r\n <lib-keenicon name=\"search-list\" class=\"fs-2x\"></lib-keenicon>\r\n </a>\r\n <!--end::Action-->\r\n </div>\r\n <!--end::Actions-->\r\n</div>\r\n<!--end::Action wrapper-->\r\n" }]
|
|
1686
|
+
}], ctorParameters: () => [], propDecorators: { appPageTitleDisplay: [{
|
|
1687
|
+
type: Input
|
|
1688
|
+
}] } });
|
|
1689
|
+
|
|
1690
|
+
class ToolbarComponent {
|
|
1691
|
+
layout;
|
|
1692
|
+
unsubscribe = [];
|
|
1693
|
+
// Public props
|
|
1694
|
+
currentLayoutType;
|
|
1695
|
+
appToolbarLayout;
|
|
1696
|
+
// toolbar
|
|
1697
|
+
appToolbarDisplay;
|
|
1698
|
+
appToolbarContainer;
|
|
1699
|
+
appToolbarContainerCSSClass = '';
|
|
1700
|
+
appToolbarFixedDesktop;
|
|
1701
|
+
appToolbarFixedMobile;
|
|
1702
|
+
appPageTitleDisplay;
|
|
1703
|
+
// page title
|
|
1704
|
+
appPageTitleDirection = '';
|
|
1705
|
+
appPageTitleCSSClass = '';
|
|
1706
|
+
appPageTitleBreadcrumb;
|
|
1707
|
+
appPageTitleDescription;
|
|
1708
|
+
constructor(layout) {
|
|
1709
|
+
this.layout = layout;
|
|
1710
|
+
}
|
|
1711
|
+
ngOnInit() {
|
|
1712
|
+
const subscr = this.layout.layoutConfigSubject
|
|
1713
|
+
.asObservable()
|
|
1714
|
+
.subscribe((config) => {
|
|
1715
|
+
this.updateProps(config);
|
|
1716
|
+
});
|
|
1717
|
+
this.unsubscribe.push(subscr);
|
|
1718
|
+
}
|
|
1719
|
+
updateProps(config) {
|
|
1720
|
+
this.appToolbarDisplay = this.layout.getProp('app.toolbar.display', config);
|
|
1721
|
+
if (!this.appToolbarDisplay) {
|
|
1722
|
+
return;
|
|
1723
|
+
}
|
|
1724
|
+
this.appPageTitleDisplay = this.layout.getProp('app.pageTitle.display', config);
|
|
1725
|
+
this.appToolbarContainer = this.layout.getProp('app.toolbar.container', config);
|
|
1726
|
+
this.appToolbarContainerCSSClass =
|
|
1727
|
+
this.appToolbarContainer === 'fixed'
|
|
1728
|
+
? 'container-xxl'
|
|
1729
|
+
: 'container-fluid';
|
|
1730
|
+
const containerClass = this.layout.getProp('app.toolbar.containerClass', config);
|
|
1731
|
+
if (containerClass) {
|
|
1732
|
+
this.appToolbarContainerCSSClass += ` ${containerClass}`;
|
|
1733
|
+
}
|
|
1734
|
+
this.appToolbarFixedDesktop = this.layout.getProp('app.toolbar.fixed.desktop', config);
|
|
1735
|
+
if (this.appToolbarFixedDesktop) {
|
|
1736
|
+
document.body.setAttribute('data-kt-app-toolbar-fixed', 'true');
|
|
1737
|
+
}
|
|
1738
|
+
this.appToolbarFixedMobile = this.layout.getProp('app.toolbar.fixed.mobile', config);
|
|
1739
|
+
if (this.appToolbarFixedMobile) {
|
|
1740
|
+
document.body.setAttribute('data-kt-app-toolbar-fixed-mobile', 'true');
|
|
1741
|
+
}
|
|
1742
|
+
// toolbar
|
|
1743
|
+
this.appPageTitleDirection = this.layout.getProp('app.pageTitle.direction', config);
|
|
1744
|
+
this.appPageTitleCSSClass = this.layout.getProp('app.pageTitle.class', config);
|
|
1745
|
+
this.appPageTitleBreadcrumb = this.layout.getProp('app.pageTitle.breadCrumb', config);
|
|
1746
|
+
this.appPageTitleDescription = this.layout.getProp('app.pageTitle.description', config);
|
|
1747
|
+
document.body.setAttribute('data-kt-app-toolbar-enabled', 'true');
|
|
1748
|
+
}
|
|
1749
|
+
ngOnDestroy() {
|
|
1750
|
+
this.unsubscribe.forEach((sb) => sb.unsubscribe());
|
|
1751
|
+
}
|
|
1752
|
+
showPageTitle() {
|
|
1753
|
+
const viewsWithPageTitles = ['classic', 'reports', 'saas'];
|
|
1754
|
+
return (this.appPageTitleDisplay &&
|
|
1755
|
+
viewsWithPageTitles.some((t) => t === this.appToolbarLayout));
|
|
1756
|
+
}
|
|
1757
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ToolbarComponent, deps: [{ token: i1.LayoutService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1758
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: ToolbarComponent, selector: "lib-toolbar", inputs: { currentLayoutType: "currentLayoutType", appToolbarLayout: "appToolbarLayout" }, ngImport: i0, template: "<!--begin::Toolbar container-->\r\n<div id=\"kt_app_toolbar_container\" class=\"app-container\" [ngClass]=\"appToolbarContainerCSSClass\">\r\n <ng-container *ngIf=\"showPageTitle()\">\r\n <lib-page-title [appPageTitleDirection]=\"appPageTitleDirection\" [appPageTitleBreadcrumb]=\"appPageTitleBreadcrumb\"\r\n [appPageTitleDescription]=\"appPageTitleDescription\" class=\"page-title d-flex flex-wrap me-3\"\r\n [ngClass]=\"{'flex-column justify-content-center': appPageTitleDirection === 'column', 'align-items-center': appPageTitleDirection !== 'column', appPageTitleCSSClass}\">\r\n </lib-page-title>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"appToolbarLayout === 'classic'\">\r\n <lib-classic class=\"d-flex align-items-center gap-2 gap-lg-3\"></lib-classic>\r\n </ng-container>\r\n <ng-container *ngIf=\"appToolbarLayout === 'accounting'\">\r\n <lib-accounting class=\"d-flex align-items-center me-5\"></lib-accounting>\r\n </ng-container>\r\n <ng-container *ngIf=\"appToolbarLayout === 'extended'\">\r\n <lib-extended class=\"d-flex align-items-center flex-shrink-0 me-5\"></lib-extended>\r\n </ng-container>\r\n <ng-container *ngIf=\"appToolbarLayout === 'reports'\">\r\n <lib-reports class=\"d-flex align-items-center overflow-auto\" [appPageTitleDisplay]=\"appPageTitleDisplay\">\r\n </lib-reports>\r\n </ng-container>\r\n <ng-container *ngIf=\"appToolbarLayout === 'saas'\">\r\n <lib-saas class=\"d-flex align-items-center gap-2\" [appPageTitleDisplay]=\"appPageTitleDisplay\"></lib-saas>\r\n </ng-container>\r\n</div>\r\n<!--end::Toolbar container-->\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: PageTitleComponent, selector: "lib-page-title", inputs: ["appPageTitleDirection", "appPageTitleBreadcrumb", "appPageTitleDescription"] }, { kind: "component", type: AccountingComponent, selector: "lib-accounting" }, { kind: "component", type: ClassicComponent, selector: "lib-classic" }, { kind: "component", type: ExtendedComponent, selector: "lib-extended" }, { kind: "component", type: ReportsComponent, selector: "lib-reports", inputs: ["appPageTitleDisplay"] }, { kind: "component", type: SaasComponent, selector: "lib-saas", inputs: ["appPageTitleDisplay"] }] });
|
|
1759
|
+
}
|
|
1760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ToolbarComponent, decorators: [{
|
|
1761
|
+
type: Component,
|
|
1762
|
+
args: [{ selector: 'lib-toolbar', template: "<!--begin::Toolbar container-->\r\n<div id=\"kt_app_toolbar_container\" class=\"app-container\" [ngClass]=\"appToolbarContainerCSSClass\">\r\n <ng-container *ngIf=\"showPageTitle()\">\r\n <lib-page-title [appPageTitleDirection]=\"appPageTitleDirection\" [appPageTitleBreadcrumb]=\"appPageTitleBreadcrumb\"\r\n [appPageTitleDescription]=\"appPageTitleDescription\" class=\"page-title d-flex flex-wrap me-3\"\r\n [ngClass]=\"{'flex-column justify-content-center': appPageTitleDirection === 'column', 'align-items-center': appPageTitleDirection !== 'column', appPageTitleCSSClass}\">\r\n </lib-page-title>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"appToolbarLayout === 'classic'\">\r\n <lib-classic class=\"d-flex align-items-center gap-2 gap-lg-3\"></lib-classic>\r\n </ng-container>\r\n <ng-container *ngIf=\"appToolbarLayout === 'accounting'\">\r\n <lib-accounting class=\"d-flex align-items-center me-5\"></lib-accounting>\r\n </ng-container>\r\n <ng-container *ngIf=\"appToolbarLayout === 'extended'\">\r\n <lib-extended class=\"d-flex align-items-center flex-shrink-0 me-5\"></lib-extended>\r\n </ng-container>\r\n <ng-container *ngIf=\"appToolbarLayout === 'reports'\">\r\n <lib-reports class=\"d-flex align-items-center overflow-auto\" [appPageTitleDisplay]=\"appPageTitleDisplay\">\r\n </lib-reports>\r\n </ng-container>\r\n <ng-container *ngIf=\"appToolbarLayout === 'saas'\">\r\n <lib-saas class=\"d-flex align-items-center gap-2\" [appPageTitleDisplay]=\"appPageTitleDisplay\"></lib-saas>\r\n </ng-container>\r\n</div>\r\n<!--end::Toolbar container-->\r\n" }]
|
|
1763
|
+
}], ctorParameters: () => [{ type: i1.LayoutService }], propDecorators: { currentLayoutType: [{
|
|
1764
|
+
type: Input
|
|
1765
|
+
}], appToolbarLayout: [{
|
|
1766
|
+
type: Input
|
|
1767
|
+
}] } });
|
|
1768
|
+
|
|
1769
|
+
class SidebarLogoComponent {
|
|
1770
|
+
layout;
|
|
1771
|
+
unsubscribe = [];
|
|
1772
|
+
toggleButtonClass = '';
|
|
1773
|
+
toggleEnabled;
|
|
1774
|
+
toggleType = '';
|
|
1775
|
+
toggleState = '';
|
|
1776
|
+
currentLayoutType;
|
|
1777
|
+
toggleAttr;
|
|
1778
|
+
constructor(layout) {
|
|
1779
|
+
this.layout = layout;
|
|
1780
|
+
}
|
|
1781
|
+
ngOnInit() {
|
|
1782
|
+
this.toggleAttr = `app-sidebar-${this.toggleType}`;
|
|
1783
|
+
const layoutSubscr = this.layout.currentLayoutTypeSubject
|
|
1784
|
+
.asObservable()
|
|
1785
|
+
.subscribe((layout) => {
|
|
1786
|
+
this.currentLayoutType = layout;
|
|
1787
|
+
});
|
|
1788
|
+
this.unsubscribe.push(layoutSubscr);
|
|
1789
|
+
}
|
|
1790
|
+
ngOnDestroy() {
|
|
1791
|
+
this.unsubscribe.forEach((sb) => sb.unsubscribe());
|
|
1792
|
+
}
|
|
1793
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: SidebarLogoComponent, deps: [{ token: i1.LayoutService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1794
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: SidebarLogoComponent, selector: "lib-sidebar-logo", inputs: { toggleButtonClass: "toggleButtonClass", toggleEnabled: "toggleEnabled", toggleType: "toggleType", toggleState: "toggleState" }, ngImport: i0, template: "<!--begin::Logo image-->\r\n<a routerLink=\"/dashboard\">\r\n <ng-container *ngIf=\"currentLayoutType === 'dark-sidebar'\">\r\n <img alt=\"Logo\" src=\"./assets/tango/sidemenu-icons/tango_logo_text.svg\" class=\"h-40px app-sidebar-logo-default\" />\r\n </ng-container>\r\n <ng-container *ngIf=\"currentLayoutType !== 'dark-sidebar'\">\r\n <img alt=\"Logo\" src=\"./assets/tango/sidemenu-icons/tango_logo_text.svg\" class=\"h-40px app-sidebar-logo-default theme-light-show\" />\r\n <img alt=\"Logo\" src=\"./assets/tango/sidemenu-icons/tango_logo_text.svg\"\r\n class=\"h-40px app-sidebar-logo-default theme-dark-show\" />\r\n </ng-container>\r\n\r\n <img alt=\"Logo\" src=\"./assets/tango/sidemenu-icons/tango_logo.svg\" class=\"h-38px app-sidebar-logo-minimize\" />\r\n</a>\r\n<!--end::Logo image-->\r\n\r\n\r\n<ng-container *ngIf=\"toggleEnabled\">\r\n <!--begin::Sidebar toggle-->\r\n <div id=\"kt_app_sidebar_toggle\"\r\n class=\"app-sidebar-toggle btn btn-icon btn-shadow btn-sm btn-color-muted btn-active-color-primary body-bg h-30px w-30px position-absolute top-50 start-100 translate-middle rotate d-none\"\r\n [ngClass]=\"toggleButtonClass\" data-kt-toggle=\"true\" [attr.data-kt-toggle-state]=\"toggleState\"\r\n data-kt-toggle-target=\"body\" [attr.data-kt-toggle-name]=\"toggleAttr\">\r\n <lib-keenicon name=\"double-left\" class=\"fs-2 rotate-180\"></lib-keenicon>\r\n </div>\r\n <!--end::Sidebar toggle-->\r\n</ng-container>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: KeeniconComponent, selector: "lib-keenicon", inputs: ["name", "class", "type"] }] });
|
|
1795
|
+
}
|
|
1796
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: SidebarLogoComponent, decorators: [{
|
|
1797
|
+
type: Component,
|
|
1798
|
+
args: [{ selector: 'lib-sidebar-logo', template: "<!--begin::Logo image-->\r\n<a routerLink=\"/dashboard\">\r\n <ng-container *ngIf=\"currentLayoutType === 'dark-sidebar'\">\r\n <img alt=\"Logo\" src=\"./assets/tango/sidemenu-icons/tango_logo_text.svg\" class=\"h-40px app-sidebar-logo-default\" />\r\n </ng-container>\r\n <ng-container *ngIf=\"currentLayoutType !== 'dark-sidebar'\">\r\n <img alt=\"Logo\" src=\"./assets/tango/sidemenu-icons/tango_logo_text.svg\" class=\"h-40px app-sidebar-logo-default theme-light-show\" />\r\n <img alt=\"Logo\" src=\"./assets/tango/sidemenu-icons/tango_logo_text.svg\"\r\n class=\"h-40px app-sidebar-logo-default theme-dark-show\" />\r\n </ng-container>\r\n\r\n <img alt=\"Logo\" src=\"./assets/tango/sidemenu-icons/tango_logo.svg\" class=\"h-38px app-sidebar-logo-minimize\" />\r\n</a>\r\n<!--end::Logo image-->\r\n\r\n\r\n<ng-container *ngIf=\"toggleEnabled\">\r\n <!--begin::Sidebar toggle-->\r\n <div id=\"kt_app_sidebar_toggle\"\r\n class=\"app-sidebar-toggle btn btn-icon btn-shadow btn-sm btn-color-muted btn-active-color-primary body-bg h-30px w-30px position-absolute top-50 start-100 translate-middle rotate d-none\"\r\n [ngClass]=\"toggleButtonClass\" data-kt-toggle=\"true\" [attr.data-kt-toggle-state]=\"toggleState\"\r\n data-kt-toggle-target=\"body\" [attr.data-kt-toggle-name]=\"toggleAttr\">\r\n <lib-keenicon name=\"double-left\" class=\"fs-2 rotate-180\"></lib-keenicon>\r\n </div>\r\n <!--end::Sidebar toggle-->\r\n</ng-container>\r\n" }]
|
|
1799
|
+
}], ctorParameters: () => [{ type: i1.LayoutService }], propDecorators: { toggleButtonClass: [{
|
|
1800
|
+
type: Input
|
|
1801
|
+
}], toggleEnabled: [{
|
|
1802
|
+
type: Input
|
|
1803
|
+
}], toggleType: [{
|
|
1804
|
+
type: Input
|
|
1805
|
+
}], toggleState: [{
|
|
1806
|
+
type: Input
|
|
1807
|
+
}] } });
|
|
1808
|
+
|
|
1809
|
+
class SidebarMenuComponent {
|
|
1810
|
+
constructor() { }
|
|
1811
|
+
ngOnInit() {
|
|
1812
|
+
}
|
|
1813
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: SidebarMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1814
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: SidebarMenuComponent, selector: "lib-sidebar-menu", ngImport: i0, template: "<!--begin::Menu wrapper-->\r\n<div id=\"kt_app_sidebar_menu_scroll\" class=\"scroll-y my-5 mx-3\" data-kt-scroll=\"true\" data-kt-scroll-activate=\"true\"\r\n data-kt-scroll-height=\"auto\" data-kt-scroll-dependencies=\"#kt_app_sidebar_logo, #kt_app_sidebar_footer\"\r\n data-kt-scroll-wrappers=\"#kt_app_sidebar_menu\" data-kt-scroll-offset=\"5px\" data-kt-scroll-save-state=\"true\">\r\n <!--begin::Menu-->\r\n <div class=\"menu menu-column menu-rounded menu-sub-indention fw-semibold fs-6\" id=\"#kt_app_sidebar_menu\"\r\n data-kt-menu=\"true\" data-kt-menu-expand=\"false\">\r\n <!-- Birds Eye -->\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-icon\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/birds_eye.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Birds Eye</span>\r\n </a>\r\n </div>\r\n\r\n <!-- Tango Traffic -->\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-icon\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/tango_traffic.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Tango Traffic</span>\r\n </a>\r\n </div>\r\n\r\n <!-- Tango Zone -->\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-icon\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/tango_zone.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Tango Zone</span>\r\n </a>\r\n </div>\r\n\r\n <!-- Tango Revop -->\r\n <div class=\"menu-item menu-accordion\" data-kt-menu-trigger=\"click\" routerLinkActive=\"here show\">\r\n <span class=\"menu-link\">\r\n <span class=\"menu-icon\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/tango_revop.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\" data-link=\"/crafted/account\">Tango Revop\r\n </span>\r\n <span class=\"menu-arrow\"></span>\r\n </span>\r\n <div class=\"menu-sub menu-sub-accordion\" routerLinkActive=\"menu-active-bg\">\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Home\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Tagging\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Pending Action\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Customer Profile\r\n </span>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- Control Center -->\r\n <div class=\"menu-item menu-accordion\" data-kt-menu-trigger=\"click\" routerLinkActive=\"here show\">\r\n <span class=\"menu-link\">\r\n <span class=\"menu-icon\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/control_center.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\" data-link=\"/crafted/account\">Control Center\r\n </span>\r\n <span class=\"menu-arrow\"></span>\r\n </span>\r\n <div class=\"menu-sub menu-sub-accordion\" routerLinkActive=\"menu-active-bg\">\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Live & Playback\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Screen Manager\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Store Explore\r\n </span>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- Tango SOP -->\r\n <div class=\"menu-item menu-accordion\" data-kt-menu-trigger=\"click\" routerLinkActive=\"here show\">\r\n <span class=\"menu-link\">\r\n <span class=\"menu-icon\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/tango_sop.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\" data-link=\"/crafted/account\">Tango SOP\r\n </span>\r\n <span class=\"menu-arrow\"></span>\r\n </span>\r\n <div class=\"menu-sub menu-sub-accordion\" routerLinkActive=\"menu-active-bg\">\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Dashboard\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Create & Manage\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Flag\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Reports\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\" routerLink=\"/crafted/account/settings\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Incidents\r\n </span>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- Manage -->\r\n <div class=\"menu-item menu-accordion\" data-kt-menu-trigger=\"click\" routerLinkActive=\"here show\">\r\n <span class=\"menu-link\">\r\n <span style=\"width: 0px;\" class=\"menu-icon\">\r\n <!-- <lib-keenicon name=\"profile-circle\" class=\"fs-2\"></lib-keenicon> -->\r\n </span>\r\n <span class=\"menu-title\" data-link=\"/manage\">Manage\r\n </span>\r\n <span class=\"menu-arrow\"></span>\r\n </span>\r\n <div class=\"menu-sub menu-sub-accordion\" routerLinkActive=\"menu-active-bg\" >\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\" routerLink=\"/manage/brands\">\r\n <span class=\"menu-bullet\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/brands.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Brands\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\" routerLink=\"/manage/overview\">\r\n <span class=\"menu-bullet\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/overview.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Overview\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\" routerLink=\"/manage/stores\">\r\n <span class=\"menu-bullet\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/stores.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Stores\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\" routerLink=\"/manage/users\">\r\n <span class=\"menu-bullet\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/users.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Users\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\" routerLink=\"/manage/tickets\" >\r\n <span class=\"menu-bullet\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/tickets.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Tickets\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\" routerLink=\"/manage/reports\" >\r\n <span class=\"menu-bullet\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/reports.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Reports\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\" routerLink=\"/manage/audit\" >\r\n <span class=\"menu-bullet\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/audit.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Audit\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\" routerLink=\"/manage/settings\" >\r\n <span class=\"menu-bullet\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/settings.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Settings\r\n </span>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <!--end::Menu-->\r\n</div>\r\n<!--end::Menu wrapper-->", styles: [""], dependencies: [{ kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i1$1.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }] });
|
|
1815
|
+
}
|
|
1816
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: SidebarMenuComponent, decorators: [{
|
|
1817
|
+
type: Component,
|
|
1818
|
+
args: [{ selector: 'lib-sidebar-menu', template: "<!--begin::Menu wrapper-->\r\n<div id=\"kt_app_sidebar_menu_scroll\" class=\"scroll-y my-5 mx-3\" data-kt-scroll=\"true\" data-kt-scroll-activate=\"true\"\r\n data-kt-scroll-height=\"auto\" data-kt-scroll-dependencies=\"#kt_app_sidebar_logo, #kt_app_sidebar_footer\"\r\n data-kt-scroll-wrappers=\"#kt_app_sidebar_menu\" data-kt-scroll-offset=\"5px\" data-kt-scroll-save-state=\"true\">\r\n <!--begin::Menu-->\r\n <div class=\"menu menu-column menu-rounded menu-sub-indention fw-semibold fs-6\" id=\"#kt_app_sidebar_menu\"\r\n data-kt-menu=\"true\" data-kt-menu-expand=\"false\">\r\n <!-- Birds Eye -->\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-icon\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/birds_eye.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Birds Eye</span>\r\n </a>\r\n </div>\r\n\r\n <!-- Tango Traffic -->\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-icon\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/tango_traffic.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Tango Traffic</span>\r\n </a>\r\n </div>\r\n\r\n <!-- Tango Zone -->\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-icon\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/tango_zone.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Tango Zone</span>\r\n </a>\r\n </div>\r\n\r\n <!-- Tango Revop -->\r\n <div class=\"menu-item menu-accordion\" data-kt-menu-trigger=\"click\" routerLinkActive=\"here show\">\r\n <span class=\"menu-link\">\r\n <span class=\"menu-icon\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/tango_revop.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\" data-link=\"/crafted/account\">Tango Revop\r\n </span>\r\n <span class=\"menu-arrow\"></span>\r\n </span>\r\n <div class=\"menu-sub menu-sub-accordion\" routerLinkActive=\"menu-active-bg\">\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Home\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Tagging\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Pending Action\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Customer Profile\r\n </span>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- Control Center -->\r\n <div class=\"menu-item menu-accordion\" data-kt-menu-trigger=\"click\" routerLinkActive=\"here show\">\r\n <span class=\"menu-link\">\r\n <span class=\"menu-icon\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/control_center.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\" data-link=\"/crafted/account\">Control Center\r\n </span>\r\n <span class=\"menu-arrow\"></span>\r\n </span>\r\n <div class=\"menu-sub menu-sub-accordion\" routerLinkActive=\"menu-active-bg\">\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Live & Playback\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Screen Manager\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Store Explore\r\n </span>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- Tango SOP -->\r\n <div class=\"menu-item menu-accordion\" data-kt-menu-trigger=\"click\" routerLinkActive=\"here show\">\r\n <span class=\"menu-link\">\r\n <span class=\"menu-icon\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/tango_sop.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\" data-link=\"/crafted/account\">Tango SOP\r\n </span>\r\n <span class=\"menu-arrow\"></span>\r\n </span>\r\n <div class=\"menu-sub menu-sub-accordion\" routerLinkActive=\"menu-active-bg\">\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Dashboard\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Create & Manage\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Flag\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Reports\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\" routerLink=\"/crafted/account/settings\">\r\n <span class=\"menu-bullet\">\r\n <span class=\"bullet bullet-dot\"></span>\r\n </span>\r\n <span class=\"menu-title\">Incidents\r\n </span>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- Manage -->\r\n <div class=\"menu-item menu-accordion\" data-kt-menu-trigger=\"click\" routerLinkActive=\"here show\">\r\n <span class=\"menu-link\">\r\n <span style=\"width: 0px;\" class=\"menu-icon\">\r\n <!-- <lib-keenicon name=\"profile-circle\" class=\"fs-2\"></lib-keenicon> -->\r\n </span>\r\n <span class=\"menu-title\" data-link=\"/manage\">Manage\r\n </span>\r\n <span class=\"menu-arrow\"></span>\r\n </span>\r\n <div class=\"menu-sub menu-sub-accordion\" routerLinkActive=\"menu-active-bg\" >\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\" routerLink=\"/manage/brands\">\r\n <span class=\"menu-bullet\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/brands.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Brands\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\" routerLink=\"/manage/overview\">\r\n <span class=\"menu-bullet\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/overview.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Overview\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\" routerLink=\"/manage/stores\">\r\n <span class=\"menu-bullet\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/stores.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Stores\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\" routerLink=\"/manage/users\">\r\n <span class=\"menu-bullet\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/users.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Users\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\" routerLink=\"/manage/tickets\" >\r\n <span class=\"menu-bullet\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/tickets.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Tickets\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\" routerLink=\"/manage/reports\" >\r\n <span class=\"menu-bullet\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/reports.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Reports\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\" routerLink=\"/manage/audit\" >\r\n <span class=\"menu-bullet\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/audit.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Audit\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"menu-item\">\r\n <a class=\"menu-link without-sub\" routerLinkActive=\"active\" routerLink=\"/manage/settings\" >\r\n <span class=\"menu-bullet\">\r\n <img class=\"fs-2\" src=\"./assets/tango/sidemenu-icons/settings.svg\" alt=\"\">\r\n </span>\r\n <span class=\"menu-title\">Settings\r\n </span>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <!--end::Menu-->\r\n</div>\r\n<!--end::Menu wrapper-->" }]
|
|
1819
|
+
}], ctorParameters: () => [] });
|
|
1820
|
+
|
|
1821
|
+
class SidebarComponent {
|
|
1822
|
+
layout;
|
|
1823
|
+
unsubscribe = [];
|
|
1824
|
+
// public props
|
|
1825
|
+
appSidebarDisplay;
|
|
1826
|
+
appSidebarDefaultFixedDesktop;
|
|
1827
|
+
appSidebarDefaultMinimizeDesktopEnabled;
|
|
1828
|
+
appSidebarDefaultMinimizeDesktopDefault;
|
|
1829
|
+
appSidebarDefaultMinimizeDesktopHoverable;
|
|
1830
|
+
appSidebarDefaultMinimizeMobileEnabled;
|
|
1831
|
+
appSidebarDefaultMinimizeMobileDefault;
|
|
1832
|
+
appSidebarDefaultMinimizeMobileHoverable;
|
|
1833
|
+
appSidebarDefaultCollapseDesktopEnabled;
|
|
1834
|
+
appSidebarDefaultCollapseDesktopDefault;
|
|
1835
|
+
appSidebarDefaultCollapseMobileEnabled;
|
|
1836
|
+
appSidebarDefaultCollapseMobileDefault;
|
|
1837
|
+
appSidebarDefaultPushHeader;
|
|
1838
|
+
appSidebarDefaultPushToolbar;
|
|
1839
|
+
appSidebarDefaultPushFooter;
|
|
1840
|
+
appSidebarDefaultStacked;
|
|
1841
|
+
// logo
|
|
1842
|
+
appSidebarDefaultMinimizeDefault;
|
|
1843
|
+
toggleButtonClass;
|
|
1844
|
+
toggleEnabled;
|
|
1845
|
+
toggleType;
|
|
1846
|
+
toggleState;
|
|
1847
|
+
constructor(layout) {
|
|
1848
|
+
this.layout = layout;
|
|
1849
|
+
}
|
|
1850
|
+
ngOnInit() {
|
|
1851
|
+
const subscr = this.layout.layoutConfigSubject
|
|
1852
|
+
.asObservable()
|
|
1853
|
+
.subscribe((config) => {
|
|
1854
|
+
this.updateProps(config);
|
|
1855
|
+
});
|
|
1856
|
+
this.unsubscribe.push(subscr);
|
|
1857
|
+
}
|
|
1858
|
+
updateProps(config) {
|
|
1859
|
+
this.appSidebarDisplay = this.layout.getProp('app.sidebar.display', config);
|
|
1860
|
+
if (!this.appSidebarDisplay) {
|
|
1861
|
+
return;
|
|
1862
|
+
}
|
|
1863
|
+
this.appSidebarDefaultFixedDesktop = this.layout.getProp('app.sidebar.default.fixed.desktop', config);
|
|
1864
|
+
this.appSidebarDefaultMinimizeDesktopEnabled = this.layout.getProp('app.sidebar.default.minimize.desktop.enabled', config);
|
|
1865
|
+
if (this.appSidebarDefaultMinimizeDesktopEnabled) {
|
|
1866
|
+
this.appSidebarDefaultMinimizeDesktopDefault = this.layout.getProp('app.sidebar.default.minimize.desktop.default', config);
|
|
1867
|
+
// if (this.appSidebarDefaultMinimizeDesktopDefault) {
|
|
1868
|
+
document.body.setAttribute('data-kt-app-sidebar-minimize', 'on');
|
|
1869
|
+
// }
|
|
1870
|
+
this.appSidebarDefaultMinimizeDesktopHoverable = this.layout.getProp('app.sidebar.default.minimize.desktop.hoverable', config);
|
|
1871
|
+
if (this.appSidebarDefaultMinimizeDesktopHoverable) {
|
|
1872
|
+
document.body.setAttribute('data-kt-app-sidebar-hoverable', 'true');
|
|
1873
|
+
}
|
|
1874
|
+
}
|
|
1875
|
+
this.appSidebarDefaultMinimizeMobileEnabled = this.layout.getProp('app.sidebar.default.minimize.mobile.enabled', config);
|
|
1876
|
+
if (this.appSidebarDefaultMinimizeMobileEnabled) {
|
|
1877
|
+
this.appSidebarDefaultMinimizeMobileDefault = this.layout.getProp('app.sidebar.default.minimize.mobile.default', config);
|
|
1878
|
+
// if (this.appSidebarDefaultMinimizeMobileDefault) {
|
|
1879
|
+
document.body.setAttribute('data-kt-app-sidebar-minimize-mobile', 'on');
|
|
1880
|
+
// }
|
|
1881
|
+
this.appSidebarDefaultMinimizeMobileHoverable = this.layout.getProp('app.sidebar.default.minimize.mobile.hoverable', config);
|
|
1882
|
+
if (this.appSidebarDefaultMinimizeMobileHoverable) {
|
|
1883
|
+
document.body.setAttribute('data-kt-app-sidebar-hoverable-mobile', 'true');
|
|
1884
|
+
}
|
|
1885
|
+
}
|
|
1886
|
+
this.appSidebarDefaultCollapseDesktopEnabled = this.layout.getProp('app.sidebar.default.collapse.desktop.enabled', config);
|
|
1887
|
+
if (this.appSidebarDefaultCollapseDesktopEnabled) {
|
|
1888
|
+
this.appSidebarDefaultCollapseDesktopDefault = this.layout.getProp('app.sidebar.default.collapse.desktop.default', config);
|
|
1889
|
+
if (this.appSidebarDefaultCollapseDesktopDefault) {
|
|
1890
|
+
document.body.setAttribute('data-kt-app-sidebar-collapse', 'on');
|
|
1891
|
+
}
|
|
1892
|
+
}
|
|
1893
|
+
this.appSidebarDefaultCollapseMobileEnabled = this.layout.getProp('app.sidebar.default.collapse.mobile.enabled', config);
|
|
1894
|
+
if (this.appSidebarDefaultCollapseMobileEnabled) {
|
|
1895
|
+
this.appSidebarDefaultCollapseMobileDefault = this.layout.getProp('app.sidebar.default.collapse.mobile.default', config);
|
|
1896
|
+
if (this.appSidebarDefaultCollapseMobileDefault) {
|
|
1897
|
+
document.body.setAttribute('data-kt-app-sidebar-collapse-mobile', 'on');
|
|
1898
|
+
}
|
|
1899
|
+
}
|
|
1900
|
+
if (this.layout.getProp('app.sidebar.default.push')) {
|
|
1901
|
+
this.appSidebarDefaultPushHeader = this.layout.getProp('app.sidebar.default.push.header', config);
|
|
1902
|
+
if (this.appSidebarDefaultPushHeader) {
|
|
1903
|
+
document.body.setAttribute('data-kt-app-sidebar-push-header', 'true');
|
|
1904
|
+
}
|
|
1905
|
+
this.appSidebarDefaultPushToolbar = this.layout.getProp('app.sidebar.default.push.toolbar', config);
|
|
1906
|
+
if (this.appSidebarDefaultPushToolbar) {
|
|
1907
|
+
document.body.setAttribute('data-kt-app-sidebar-push-toolbar', 'true');
|
|
1908
|
+
}
|
|
1909
|
+
this.appSidebarDefaultPushFooter = this.layout.getProp('app.sidebar.default.push.footer', config);
|
|
1910
|
+
if (this.appSidebarDefaultPushFooter) {
|
|
1911
|
+
document.body.setAttribute('data-kt-app-sidebar-push-footer', 'true');
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1914
|
+
this.appSidebarDefaultStacked = this.layout.getProp('app.sidebar.default.stacked', config);
|
|
1915
|
+
if (this.appSidebarDefaultStacked) {
|
|
1916
|
+
document.body.setAttribute('app-sidebar-stacked', 'true');
|
|
1917
|
+
}
|
|
1918
|
+
// Logo
|
|
1919
|
+
this.appSidebarDefaultMinimizeDefault = this.layout.getProp('app.sidebar.default.minimize.desktop.default', config);
|
|
1920
|
+
this.toggleButtonClass = this.appSidebarDefaultMinimizeDefault
|
|
1921
|
+
? 'active'
|
|
1922
|
+
: '';
|
|
1923
|
+
this.toggleEnabled =
|
|
1924
|
+
this.appSidebarDefaultMinimizeDesktopEnabled ||
|
|
1925
|
+
this.appSidebarDefaultCollapseDesktopEnabled;
|
|
1926
|
+
if (this.appSidebarDefaultMinimizeDesktopEnabled) {
|
|
1927
|
+
this.toggleType = 'minimize';
|
|
1928
|
+
this.toggleState = 'active';
|
|
1929
|
+
}
|
|
1930
|
+
if (this.appSidebarDefaultCollapseDesktopEnabled) {
|
|
1931
|
+
this.toggleType = 'collapse';
|
|
1932
|
+
this.toggleState = '';
|
|
1933
|
+
}
|
|
1934
|
+
document.body.setAttribute('data-kt-app-sidebar-enabled', 'true');
|
|
1935
|
+
document.body.setAttribute('data-kt-app-sidebar-fixed', this.appSidebarDefaultFixedDesktop.toString());
|
|
1936
|
+
}
|
|
1937
|
+
ngOnDestroy() {
|
|
1938
|
+
this.unsubscribe.forEach((sb) => sb.unsubscribe());
|
|
1939
|
+
}
|
|
1940
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: SidebarComponent, deps: [{ token: i1.LayoutService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1941
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: SidebarComponent, selector: "lib-sidebar", ngImport: i0, template: "<!--begin::Logo-->\r\n<lib-sidebar-logo class=\"app-sidebar-logo px-6\" id=\"kt_app_sidebar_logo\"\r\n [toggleButtonClass]=\"toggleButtonClass\" [toggleEnabled]=\"toggleEnabled\" [toggleType]=\"toggleType\"\r\n [toggleState]=\"toggleState\">\r\n</lib-sidebar-logo>\r\n<!--end::Logo-->\r\n\r\n<!--begin::sidebar menu-->\r\n<lib-sidebar-menu class=\"app-sidebar-menu overflow-hidden flex-column-fluid\">\r\n</lib-sidebar-menu>\r\n<!--end::sidebar menu-->\r\n\r\n<!--begin::Footer-->\r\n<!-- <lib-sidebar-footer class=\"app-sidebar-footer flex-column-auto pt-2 pb-6 px-6\" id=\"kt_app_sidebar_footer\">\r\n</lib-sidebar-footer> -->\r\n<!--end::Footer-->\r\n", styles: [""], dependencies: [{ kind: "component", type: SidebarLogoComponent, selector: "lib-sidebar-logo", inputs: ["toggleButtonClass", "toggleEnabled", "toggleType", "toggleState"] }, { kind: "component", type: SidebarMenuComponent, selector: "lib-sidebar-menu" }] });
|
|
1942
|
+
}
|
|
1943
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: SidebarComponent, decorators: [{
|
|
1944
|
+
type: Component,
|
|
1945
|
+
args: [{ selector: 'lib-sidebar', template: "<!--begin::Logo-->\r\n<lib-sidebar-logo class=\"app-sidebar-logo px-6\" id=\"kt_app_sidebar_logo\"\r\n [toggleButtonClass]=\"toggleButtonClass\" [toggleEnabled]=\"toggleEnabled\" [toggleType]=\"toggleType\"\r\n [toggleState]=\"toggleState\">\r\n</lib-sidebar-logo>\r\n<!--end::Logo-->\r\n\r\n<!--begin::sidebar menu-->\r\n<lib-sidebar-menu class=\"app-sidebar-menu overflow-hidden flex-column-fluid\">\r\n</lib-sidebar-menu>\r\n<!--end::sidebar menu-->\r\n\r\n<!--begin::Footer-->\r\n<!-- <lib-sidebar-footer class=\"app-sidebar-footer flex-column-auto pt-2 pb-6 px-6\" id=\"kt_app_sidebar_footer\">\r\n</lib-sidebar-footer> -->\r\n<!--end::Footer-->\r\n" }]
|
|
1946
|
+
}], ctorParameters: () => [{ type: i1.LayoutService }] });
|
|
1947
|
+
|
|
1948
|
+
class LayoutScrollTopComponent {
|
|
1949
|
+
router;
|
|
1950
|
+
class = 'kt_scrolltop';
|
|
1951
|
+
id = 'scrolltop';
|
|
1952
|
+
dataKtScrolltop = 'true';
|
|
1953
|
+
unsubscribe = [];
|
|
1954
|
+
constructor(router) {
|
|
1955
|
+
this.router = router;
|
|
1956
|
+
}
|
|
1957
|
+
ngOnInit() {
|
|
1958
|
+
this.routingChanges();
|
|
1959
|
+
}
|
|
1960
|
+
routingChanges() {
|
|
1961
|
+
const routerSubscription = this.router.events.subscribe((event) => {
|
|
1962
|
+
if (event instanceof NavigationEnd || event instanceof NavigationCancel) {
|
|
1963
|
+
this.pluginsReinitialization();
|
|
1964
|
+
this.updateHeaderSticky();
|
|
1965
|
+
setTimeout(() => {
|
|
1966
|
+
this.scrollTop();
|
|
1967
|
+
}, 0);
|
|
1968
|
+
}
|
|
1969
|
+
});
|
|
1970
|
+
this.unsubscribe.push(routerSubscription);
|
|
1971
|
+
}
|
|
1972
|
+
updateHeaderSticky() {
|
|
1973
|
+
const stickyHeader = document.body.querySelectorAll(`[data-kt-sticky-name="header"]`);
|
|
1974
|
+
if (stickyHeader && stickyHeader.length > 0) {
|
|
1975
|
+
const sticky = StickyComponent$1.getInstance(stickyHeader[0]);
|
|
1976
|
+
if (sticky) {
|
|
1977
|
+
sticky.update();
|
|
1978
|
+
}
|
|
1979
|
+
}
|
|
1980
|
+
}
|
|
1981
|
+
scrollTop() {
|
|
1982
|
+
ScrollTopComponent$1.goTop();
|
|
1983
|
+
}
|
|
1984
|
+
pluginsReinitialization() {
|
|
1985
|
+
setTimeout(() => {
|
|
1986
|
+
// ScrollTopComponent.reinitialization()
|
|
1987
|
+
MenuComponent.reinitialization();
|
|
1988
|
+
StickyComponent$1.reInitialization();
|
|
1989
|
+
setTimeout(() => {
|
|
1990
|
+
ToggleComponent$1.reinitialization();
|
|
1991
|
+
DrawerComponent$1.reinitialization();
|
|
1992
|
+
// ScrollComponent.reinitialization()
|
|
1993
|
+
}, 70);
|
|
1994
|
+
}, 140);
|
|
1995
|
+
}
|
|
1996
|
+
ngOnDestroy() {
|
|
1997
|
+
this.unsubscribe.forEach((sb) => sb.unsubscribe());
|
|
1998
|
+
}
|
|
1999
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LayoutScrollTopComponent, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
2000
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: LayoutScrollTopComponent, selector: "lib-scroll-top", host: { properties: { "class": "this.class", "id": "this.id", "attr.data-kt-scrolltop": "this.dataKtScrolltop" } }, ngImport: i0, template: "<lib-keenicon name=\"arrow-up\" class=\"\"></lib-keenicon>\r\n", dependencies: [{ kind: "component", type: KeeniconComponent, selector: "lib-keenicon", inputs: ["name", "class", "type"] }] });
|
|
2001
|
+
}
|
|
2002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LayoutScrollTopComponent, decorators: [{
|
|
2003
|
+
type: Component,
|
|
2004
|
+
args: [{ selector: 'lib-scroll-top', template: "<lib-keenicon name=\"arrow-up\" class=\"\"></lib-keenicon>\r\n" }]
|
|
2005
|
+
}], ctorParameters: () => [{ type: i1$1.Router }], propDecorators: { class: [{
|
|
2006
|
+
type: HostBinding,
|
|
2007
|
+
args: ['class']
|
|
2008
|
+
}], id: [{
|
|
2009
|
+
type: HostBinding,
|
|
2010
|
+
args: ['id']
|
|
2011
|
+
}], dataKtScrolltop: [{
|
|
2012
|
+
type: HostBinding,
|
|
2013
|
+
args: ['attr.data-kt-scrolltop']
|
|
2014
|
+
}] } });
|
|
2015
|
+
|
|
2016
|
+
class LayoutComponent {
|
|
2017
|
+
initService;
|
|
2018
|
+
layout;
|
|
2019
|
+
router;
|
|
2020
|
+
activatedRoute;
|
|
2021
|
+
unsubscribe = [];
|
|
2022
|
+
// Public variables
|
|
2023
|
+
// page
|
|
2024
|
+
pageContainerCSSClasses;
|
|
2025
|
+
// header
|
|
2026
|
+
appHeaderDefaultClass = '';
|
|
2027
|
+
appHeaderDisplay;
|
|
2028
|
+
appHeaderDefaultStickyEnabled;
|
|
2029
|
+
appHeaderDefaultStickyAttributes = {};
|
|
2030
|
+
appHeaderDefaultMinimizeEnabled;
|
|
2031
|
+
appHeaderDefaultMinimizeAttributes = {};
|
|
2032
|
+
// toolbar
|
|
2033
|
+
appToolbarDisplay;
|
|
2034
|
+
appToolbarLayout;
|
|
2035
|
+
appToolbarCSSClass = '';
|
|
2036
|
+
appToolbarSwapEnabled;
|
|
2037
|
+
appToolbarSwapAttributes = {};
|
|
2038
|
+
appToolbarStickyEnabled;
|
|
2039
|
+
appToolbarStickyAttributes = {};
|
|
2040
|
+
appToolbarMinimizeEnabled;
|
|
2041
|
+
appToolbarMinimizeAttributes = {};
|
|
2042
|
+
// content
|
|
2043
|
+
appContentContiner;
|
|
2044
|
+
appContentContainerClass;
|
|
2045
|
+
contentCSSClasses;
|
|
2046
|
+
contentContainerCSSClass;
|
|
2047
|
+
// sidebar
|
|
2048
|
+
appSidebarDefaultClass;
|
|
2049
|
+
appSidebarDefaultDrawerEnabled;
|
|
2050
|
+
appSidebarDefaultDrawerAttributes = {};
|
|
2051
|
+
appSidebarDisplay;
|
|
2052
|
+
appSidebarDefaultStickyEnabled;
|
|
2053
|
+
appSidebarDefaultStickyAttributes = {};
|
|
2054
|
+
ktSidebar;
|
|
2055
|
+
/// sidebar panel
|
|
2056
|
+
appSidebarPanelDisplay;
|
|
2057
|
+
// footer
|
|
2058
|
+
appFooterDisplay;
|
|
2059
|
+
appFooterCSSClass = '';
|
|
2060
|
+
appFooterContainer = '';
|
|
2061
|
+
appFooterContainerCSSClass = '';
|
|
2062
|
+
appFooterFixedDesktop;
|
|
2063
|
+
appFooterFixedMobile;
|
|
2064
|
+
// scrolltop
|
|
2065
|
+
scrolltopDisplay;
|
|
2066
|
+
ktAside;
|
|
2067
|
+
ktHeaderMobile;
|
|
2068
|
+
ktHeader;
|
|
2069
|
+
constructor(initService, layout, router, activatedRoute) {
|
|
2070
|
+
this.initService = initService;
|
|
2071
|
+
this.layout = layout;
|
|
2072
|
+
this.router = router;
|
|
2073
|
+
this.activatedRoute = activatedRoute;
|
|
2074
|
+
// define layout type and load layout
|
|
2075
|
+
this.router.events.subscribe((event) => {
|
|
2076
|
+
if (event instanceof NavigationEnd) {
|
|
2077
|
+
const currentLayoutType = this.layout.currentLayoutTypeSubject.value;
|
|
2078
|
+
const nextLayoutType = this.activatedRoute?.firstChild?.snapshot.data.layout ||
|
|
2079
|
+
this.layout.getBaseLayoutTypeFromLocalStorage();
|
|
2080
|
+
if (currentLayoutType !== nextLayoutType || !currentLayoutType) {
|
|
2081
|
+
this.layout.currentLayoutTypeSubject.next(nextLayoutType);
|
|
2082
|
+
this.initService.reInitProps(nextLayoutType);
|
|
2083
|
+
}
|
|
2084
|
+
}
|
|
2085
|
+
});
|
|
2086
|
+
}
|
|
2087
|
+
ngOnInit() {
|
|
2088
|
+
const subscr = this.layout.layoutConfigSubject
|
|
2089
|
+
.asObservable()
|
|
2090
|
+
.subscribe((config) => {
|
|
2091
|
+
this.updateProps(config);
|
|
2092
|
+
});
|
|
2093
|
+
this.unsubscribe.push(subscr);
|
|
2094
|
+
}
|
|
2095
|
+
updateProps(config) {
|
|
2096
|
+
this.scrolltopDisplay = this.layout.getProp('scrolltop.display', config);
|
|
2097
|
+
this.pageContainerCSSClasses =
|
|
2098
|
+
this.layout.getStringCSSClasses('pageContainer');
|
|
2099
|
+
this.appHeaderDefaultClass = this.layout.getProp('app.header.default.class', config);
|
|
2100
|
+
this.appHeaderDisplay = this.layout.getProp('app.header.display', config);
|
|
2101
|
+
this.appFooterDisplay = this.layout.getProp('app.footer.display', config);
|
|
2102
|
+
this.appSidebarDisplay = this.layout.getProp('app.sidebar.display', config);
|
|
2103
|
+
this.appSidebarPanelDisplay = this.layout.getProp('app.sidebar-panel.display', config);
|
|
2104
|
+
this.appToolbarDisplay = this.layout.getProp('app.toolbar.display', config);
|
|
2105
|
+
this.contentCSSClasses = this.layout.getStringCSSClasses('content');
|
|
2106
|
+
this.contentContainerCSSClass =
|
|
2107
|
+
this.layout.getStringCSSClasses('contentContainer');
|
|
2108
|
+
this.appContentContiner = this.layout.getProp('app.content.container', config);
|
|
2109
|
+
this.appContentContainerClass = this.layout.getProp('app.content.containerClass', config);
|
|
2110
|
+
// footer
|
|
2111
|
+
if (this.appFooterDisplay) {
|
|
2112
|
+
this.updateFooter(config);
|
|
2113
|
+
}
|
|
2114
|
+
// sidebar
|
|
2115
|
+
if (this.appSidebarDisplay) {
|
|
2116
|
+
this.updateSidebar(config);
|
|
2117
|
+
}
|
|
2118
|
+
// header
|
|
2119
|
+
if (this.appHeaderDisplay) {
|
|
2120
|
+
this.updateHeader(config);
|
|
2121
|
+
}
|
|
2122
|
+
// toolbar
|
|
2123
|
+
if (this.appToolbarDisplay) {
|
|
2124
|
+
this.updateToolbar(config);
|
|
2125
|
+
}
|
|
2126
|
+
}
|
|
2127
|
+
updateSidebar(config) {
|
|
2128
|
+
this.appSidebarDefaultClass = this.layout.getProp('app.sidebar.default.class', config);
|
|
2129
|
+
this.appSidebarDefaultDrawerEnabled = this.layout.getProp('app.sidebar.default.drawer.enabled', config);
|
|
2130
|
+
if (this.appSidebarDefaultDrawerEnabled) {
|
|
2131
|
+
this.appSidebarDefaultDrawerAttributes = this.layout.getProp('app.sidebar.default.drawer.attributes', config);
|
|
2132
|
+
}
|
|
2133
|
+
this.appSidebarDefaultStickyEnabled = this.layout.getProp('app.sidebar.default.sticky.enabled', config);
|
|
2134
|
+
if (this.appSidebarDefaultStickyEnabled) {
|
|
2135
|
+
this.appSidebarDefaultStickyAttributes = this.layout.getProp('app.sidebar.default.sticky.attributes', config);
|
|
2136
|
+
}
|
|
2137
|
+
setTimeout(() => {
|
|
2138
|
+
const sidebarElement = document.getElementById('kt_app_sidebar');
|
|
2139
|
+
// sidebar
|
|
2140
|
+
if (this.appSidebarDisplay && sidebarElement) {
|
|
2141
|
+
const sidebarAttributes = sidebarElement
|
|
2142
|
+
.getAttributeNames()
|
|
2143
|
+
.filter((t) => t.indexOf('data-') > -1);
|
|
2144
|
+
sidebarAttributes.forEach((attr) => sidebarElement.removeAttribute(attr));
|
|
2145
|
+
if (this.appSidebarDefaultDrawerEnabled) {
|
|
2146
|
+
for (const key in this.appSidebarDefaultDrawerAttributes) {
|
|
2147
|
+
if (this.appSidebarDefaultDrawerAttributes.hasOwnProperty(key)) {
|
|
2148
|
+
sidebarElement.setAttribute(key, this.appSidebarDefaultDrawerAttributes[key]);
|
|
2149
|
+
}
|
|
2150
|
+
}
|
|
2151
|
+
}
|
|
2152
|
+
if (this.appSidebarDefaultStickyEnabled) {
|
|
2153
|
+
for (const key in this.appSidebarDefaultStickyAttributes) {
|
|
2154
|
+
if (this.appSidebarDefaultStickyAttributes.hasOwnProperty(key)) {
|
|
2155
|
+
sidebarElement.setAttribute(key, this.appSidebarDefaultStickyAttributes[key]);
|
|
2156
|
+
}
|
|
2157
|
+
}
|
|
2158
|
+
}
|
|
2159
|
+
}
|
|
2160
|
+
}, 0);
|
|
2161
|
+
}
|
|
2162
|
+
updateHeader(config) {
|
|
2163
|
+
this.appHeaderDefaultStickyEnabled = this.layout.getProp('app.header.default.sticky.enabled', config);
|
|
2164
|
+
if (this.appHeaderDefaultStickyEnabled) {
|
|
2165
|
+
this.appHeaderDefaultStickyAttributes = this.layout.getProp('app.header.default.sticky.attributes', config);
|
|
2166
|
+
}
|
|
2167
|
+
this.appHeaderDefaultMinimizeEnabled = this.layout.getProp('app.header.default.minimize.enabled', config);
|
|
2168
|
+
if (this.appHeaderDefaultMinimizeEnabled) {
|
|
2169
|
+
this.appHeaderDefaultMinimizeAttributes = this.layout.getProp('app.header.default.minimize.attributes', config);
|
|
2170
|
+
}
|
|
2171
|
+
setTimeout(() => {
|
|
2172
|
+
const headerElement = document.getElementById('kt_app_header');
|
|
2173
|
+
// header
|
|
2174
|
+
if (this.appHeaderDisplay && headerElement) {
|
|
2175
|
+
const headerAttributes = headerElement
|
|
2176
|
+
.getAttributeNames()
|
|
2177
|
+
.filter((t) => t.indexOf('data-') > -1);
|
|
2178
|
+
headerAttributes.forEach((attr) => headerElement.removeAttribute(attr));
|
|
2179
|
+
if (this.appHeaderDefaultStickyEnabled) {
|
|
2180
|
+
for (const key in this.appHeaderDefaultStickyAttributes) {
|
|
2181
|
+
if (this.appHeaderDefaultStickyAttributes.hasOwnProperty(key)) {
|
|
2182
|
+
headerElement.setAttribute(key, this.appHeaderDefaultStickyAttributes[key]);
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
}
|
|
2186
|
+
if (this.appHeaderDefaultMinimizeEnabled) {
|
|
2187
|
+
for (const key in this.appHeaderDefaultMinimizeAttributes) {
|
|
2188
|
+
if (this.appHeaderDefaultMinimizeAttributes.hasOwnProperty(key)) {
|
|
2189
|
+
headerElement.setAttribute(key, this.appHeaderDefaultMinimizeAttributes[key]);
|
|
2190
|
+
}
|
|
2191
|
+
}
|
|
2192
|
+
}
|
|
2193
|
+
}
|
|
2194
|
+
}, 0);
|
|
2195
|
+
}
|
|
2196
|
+
updateFooter(config) {
|
|
2197
|
+
this.appFooterCSSClass = this.layout.getProp('app.footer.class', config);
|
|
2198
|
+
this.appFooterContainer = this.layout.getProp('app.footer.container', config);
|
|
2199
|
+
this.appFooterContainerCSSClass = this.layout.getProp('app.footer.containerClass', config);
|
|
2200
|
+
if (this.appFooterContainer === 'fixed') {
|
|
2201
|
+
this.appFooterContainerCSSClass += ' container-xxl';
|
|
2202
|
+
}
|
|
2203
|
+
else {
|
|
2204
|
+
if (this.appFooterContainer === 'fluid') {
|
|
2205
|
+
this.appFooterContainerCSSClass += ' container-fluid';
|
|
2206
|
+
}
|
|
2207
|
+
}
|
|
2208
|
+
this.appFooterFixedDesktop = this.layout.getProp('app.footer.fixed.desktop', config);
|
|
2209
|
+
if (this.appFooterFixedDesktop) {
|
|
2210
|
+
document.body.setAttribute('data-kt-app-footer-fixed', 'true');
|
|
2211
|
+
}
|
|
2212
|
+
this.appFooterFixedMobile = this.layout.getProp('app.footer.fixed.mobile');
|
|
2213
|
+
if (this.appFooterFixedMobile) {
|
|
2214
|
+
document.body.setAttribute('data-kt-app-footer-fixed-mobile', 'true');
|
|
2215
|
+
}
|
|
2216
|
+
}
|
|
2217
|
+
updateToolbar(config) {
|
|
2218
|
+
this.appToolbarLayout = this.layout.getProp('app.toolbar.layout', config);
|
|
2219
|
+
this.appToolbarSwapEnabled = this.layout.getProp('app.toolbar.swap.enabled', config);
|
|
2220
|
+
if (this.appToolbarSwapEnabled) {
|
|
2221
|
+
this.appToolbarSwapAttributes = this.layout.getProp('app.toolbar.swap.attributes', config);
|
|
2222
|
+
}
|
|
2223
|
+
this.appToolbarStickyEnabled = this.layout.getProp('app.toolbar.sticky.enabled', config);
|
|
2224
|
+
if (this.appToolbarStickyEnabled) {
|
|
2225
|
+
this.appToolbarStickyAttributes = this.layout.getProp('app.toolbar.sticky.attributes', config);
|
|
2226
|
+
}
|
|
2227
|
+
this.appToolbarCSSClass =
|
|
2228
|
+
this.layout.getProp('app.toolbar.class', config) || '';
|
|
2229
|
+
this.appToolbarMinimizeEnabled = this.layout.getProp('app.toolbar.minimize.enabled', config);
|
|
2230
|
+
if (this.appToolbarMinimizeEnabled) {
|
|
2231
|
+
this.appToolbarMinimizeAttributes = this.layout.getProp('app.toolbar.minimize.attributes', config);
|
|
2232
|
+
this.appToolbarCSSClass += ' app-toolbar-minimize';
|
|
2233
|
+
}
|
|
2234
|
+
setTimeout(() => {
|
|
2235
|
+
const toolbarElement = document.getElementById('kt_app_toolbar');
|
|
2236
|
+
// toolbar
|
|
2237
|
+
if (this.appToolbarDisplay && toolbarElement) {
|
|
2238
|
+
const toolbarAttributes = toolbarElement
|
|
2239
|
+
.getAttributeNames()
|
|
2240
|
+
.filter((t) => t.indexOf('data-') > -1);
|
|
2241
|
+
toolbarAttributes.forEach((attr) => toolbarElement.removeAttribute(attr));
|
|
2242
|
+
if (this.appToolbarSwapEnabled) {
|
|
2243
|
+
for (const key in this.appToolbarSwapAttributes) {
|
|
2244
|
+
if (this.appToolbarSwapAttributes.hasOwnProperty(key)) {
|
|
2245
|
+
toolbarElement.setAttribute(key, this.appToolbarSwapAttributes[key]);
|
|
2246
|
+
}
|
|
2247
|
+
}
|
|
2248
|
+
}
|
|
2249
|
+
if (this.appToolbarStickyEnabled) {
|
|
2250
|
+
for (const key in this.appToolbarStickyAttributes) {
|
|
2251
|
+
if (this.appToolbarStickyAttributes.hasOwnProperty(key)) {
|
|
2252
|
+
toolbarElement.setAttribute(key, this.appToolbarStickyAttributes[key]);
|
|
2253
|
+
}
|
|
2254
|
+
}
|
|
2255
|
+
}
|
|
2256
|
+
if (this.appToolbarMinimizeEnabled) {
|
|
2257
|
+
for (const key in this.appToolbarMinimizeAttributes) {
|
|
2258
|
+
if (this.appToolbarMinimizeAttributes.hasOwnProperty(key)) {
|
|
2259
|
+
toolbarElement.setAttribute(key, this.appToolbarMinimizeAttributes[key]);
|
|
2260
|
+
}
|
|
2261
|
+
}
|
|
2262
|
+
}
|
|
2263
|
+
}
|
|
2264
|
+
}, 0);
|
|
2265
|
+
}
|
|
2266
|
+
ngOnDestroy() {
|
|
2267
|
+
this.unsubscribe.forEach((sb) => sb.unsubscribe());
|
|
2268
|
+
}
|
|
2269
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LayoutComponent, deps: [{ token: i1.LayoutInitService }, { token: i1.LayoutService }, { token: i1$1.Router }, { token: i1$1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
2270
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: LayoutComponent, selector: "lib-layout", viewQueries: [{ propertyName: "ktSidebar", first: true, predicate: ["ktSidebar"], descendants: true, static: true }, { propertyName: "ktAside", first: true, predicate: ["ktAside"], descendants: true, static: true }, { propertyName: "ktHeaderMobile", first: true, predicate: ["ktHeaderMobile"], descendants: true, static: true }, { propertyName: "ktHeader", first: true, predicate: ["ktHeader"], descendants: true, static: true }], ngImport: i0, template: "<!--begin::App-->\r\n<div class=\"d-flex flex-column flex-root app-root\" id=\"kt_app_root\">\r\n <!--begin::Page-->\r\n <div class=\"app-page flex-column flex-column-fluid\" id=\"kt_app_page\">\r\n <ng-container *ngIf=\"appHeaderDisplay\">\r\n <!--begin::Header-->\r\n <lib-header [ngClass]=\"appHeaderDefaultClass\" id=\"kt_app_header\" class=\"app-header\" data-kt-sticky=\"true\" data-kt-sticky-activate=\"{default: true, lg: true}\" data-kt-sticky-name=\"app-header-minimize\" data-kt-sticky-offset=\"{default: '200px', lg: '0'}\" data-kt-sticky-animation=\"false\">\r\n </lib-header>\r\n <!--end::Header-->\r\n </ng-container>\r\n\r\n <!--begin::Wrapper-->\r\n <div class=\"app-wrapper flex-column flex-row-fluid\" id=\"kt_app_wrapper\">\r\n\r\n <ng-container *ngIf=\"appSidebarDisplay\">\r\n <!--begin::sidebar-->\r\n <lib-sidebar #ktSidebar id=\"kt_app_sidebar\" class=\"app-sidebar flex-column\" [ngClass]=\"appSidebarDefaultClass\">\r\n </lib-sidebar>\r\n <!--end::sidebar-->\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"appSidebarPanelDisplay\">\r\n <!-- TODO: app sidebar panel -->\r\n </ng-container>\r\n <!--begin::Main-->\r\n <div class=\"app-main flex-column flex-row-fluid\" id=\"kt_app_main\">\r\n <!--begin::Content wrapper-->\r\n <div class=\"d-flex flex-column flex-column-fluid\">\r\n <ng-container *ngIf=\"appToolbarDisplay\">\r\n <lib-toolbar class=\"app-toolbar\" [ngClass]=\"appToolbarCSSClass\" id=\"kt_app_toolbar\"\r\n [appToolbarLayout]=\"appToolbarLayout\"></lib-toolbar>\r\n </ng-container>\r\n <lib-content id=\" kt_app_content\" class=\"app-content\" [ngClass]=\"contentCSSClasses\"\r\n [contentContainerCSSClass]=\"contentContainerCSSClass\" [appContentContiner]=\"appContentContiner\"\r\n [appContentContainerClass]=\"appContentContainerClass\">\r\n </lib-content>\r\n </div>\r\n <!--end::Content wrapper-->\r\n <!-- <ng-container *ngIf=\"appFooterDisplay\">\r\n <lib-footer class=\"app-footer\" [ngClass]=\"appFooterCSSClass\" id=\"kt_app_footer\"\r\n [appFooterContainerCSSClass]=\"appFooterContainerCSSClass\"></lib-footer>\r\n </ng-container> -->\r\n </div>\r\n <!--end:::Main-->\r\n </div>\r\n <!--end::Wrapper-->\r\n\r\n </div>\r\n <!--end::Page-->\r\n</div>\r\n<!--end::App-->\r\n\r\n<lib-scripts-init></lib-scripts-init>\r\n<ng-container>\r\n <lib-scroll-top id=\"kt_scrolltop\" class=\"scrolltop\" data-kt-scrolltop=\"true\"></lib-scroll-top>\r\n</ng-container>\r\n<!-- begin:: Drawers -->\r\n<!-- <lib-activity-drawer></lib-activity-drawer> -->\r\n<!-- <lib-messenger-drawer></lib-messenger-drawer> -->\r\n<!-- end:: Drawers -->\r\n\r\n<!-- end:: Engage -->\r\n<!-- <lib-engages></lib-engages> -->\r\n<!-- end:: Engage -->\r\n\r\n<!-- begin:: Modals -->\r\n<!-- <lib-main-modal></lib-main-modal> -->\r\n<!-- <lib-invite-users-modal></lib-invite-users-modal> -->\r\n<!-- <lib-upgrade-plan-modal></lib-upgrade-plan-modal> -->\r\n<!-- end:: Modals -->\r\n", styles: [":host{height:100%;margin:0}:host .flex-root{height:100%}.page-loaded app-layout{opacity:1;transition:opacity 1s ease-in-out}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: HeaderComponent, selector: "lib-header" }, { kind: "component", type: ContentComponent, selector: "lib-content", inputs: ["contentContainerCSSClass", "appContentContiner", "appContentContainerClass"] }, { kind: "component", type: ScriptsInitComponent, selector: "lib-scripts-init" }, { kind: "component", type: ToolbarComponent, selector: "lib-toolbar", inputs: ["currentLayoutType", "appToolbarLayout"] }, { kind: "component", type: SidebarComponent, selector: "lib-sidebar" }, { kind: "component", type: LayoutScrollTopComponent, selector: "lib-scroll-top" }] });
|
|
2271
|
+
}
|
|
2272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LayoutComponent, decorators: [{
|
|
2273
|
+
type: Component,
|
|
2274
|
+
args: [{ selector: 'lib-layout', template: "<!--begin::App-->\r\n<div class=\"d-flex flex-column flex-root app-root\" id=\"kt_app_root\">\r\n <!--begin::Page-->\r\n <div class=\"app-page flex-column flex-column-fluid\" id=\"kt_app_page\">\r\n <ng-container *ngIf=\"appHeaderDisplay\">\r\n <!--begin::Header-->\r\n <lib-header [ngClass]=\"appHeaderDefaultClass\" id=\"kt_app_header\" class=\"app-header\" data-kt-sticky=\"true\" data-kt-sticky-activate=\"{default: true, lg: true}\" data-kt-sticky-name=\"app-header-minimize\" data-kt-sticky-offset=\"{default: '200px', lg: '0'}\" data-kt-sticky-animation=\"false\">\r\n </lib-header>\r\n <!--end::Header-->\r\n </ng-container>\r\n\r\n <!--begin::Wrapper-->\r\n <div class=\"app-wrapper flex-column flex-row-fluid\" id=\"kt_app_wrapper\">\r\n\r\n <ng-container *ngIf=\"appSidebarDisplay\">\r\n <!--begin::sidebar-->\r\n <lib-sidebar #ktSidebar id=\"kt_app_sidebar\" class=\"app-sidebar flex-column\" [ngClass]=\"appSidebarDefaultClass\">\r\n </lib-sidebar>\r\n <!--end::sidebar-->\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"appSidebarPanelDisplay\">\r\n <!-- TODO: app sidebar panel -->\r\n </ng-container>\r\n <!--begin::Main-->\r\n <div class=\"app-main flex-column flex-row-fluid\" id=\"kt_app_main\">\r\n <!--begin::Content wrapper-->\r\n <div class=\"d-flex flex-column flex-column-fluid\">\r\n <ng-container *ngIf=\"appToolbarDisplay\">\r\n <lib-toolbar class=\"app-toolbar\" [ngClass]=\"appToolbarCSSClass\" id=\"kt_app_toolbar\"\r\n [appToolbarLayout]=\"appToolbarLayout\"></lib-toolbar>\r\n </ng-container>\r\n <lib-content id=\" kt_app_content\" class=\"app-content\" [ngClass]=\"contentCSSClasses\"\r\n [contentContainerCSSClass]=\"contentContainerCSSClass\" [appContentContiner]=\"appContentContiner\"\r\n [appContentContainerClass]=\"appContentContainerClass\">\r\n </lib-content>\r\n </div>\r\n <!--end::Content wrapper-->\r\n <!-- <ng-container *ngIf=\"appFooterDisplay\">\r\n <lib-footer class=\"app-footer\" [ngClass]=\"appFooterCSSClass\" id=\"kt_app_footer\"\r\n [appFooterContainerCSSClass]=\"appFooterContainerCSSClass\"></lib-footer>\r\n </ng-container> -->\r\n </div>\r\n <!--end:::Main-->\r\n </div>\r\n <!--end::Wrapper-->\r\n\r\n </div>\r\n <!--end::Page-->\r\n</div>\r\n<!--end::App-->\r\n\r\n<lib-scripts-init></lib-scripts-init>\r\n<ng-container>\r\n <lib-scroll-top id=\"kt_scrolltop\" class=\"scrolltop\" data-kt-scrolltop=\"true\"></lib-scroll-top>\r\n</ng-container>\r\n<!-- begin:: Drawers -->\r\n<!-- <lib-activity-drawer></lib-activity-drawer> -->\r\n<!-- <lib-messenger-drawer></lib-messenger-drawer> -->\r\n<!-- end:: Drawers -->\r\n\r\n<!-- end:: Engage -->\r\n<!-- <lib-engages></lib-engages> -->\r\n<!-- end:: Engage -->\r\n\r\n<!-- begin:: Modals -->\r\n<!-- <lib-main-modal></lib-main-modal> -->\r\n<!-- <lib-invite-users-modal></lib-invite-users-modal> -->\r\n<!-- <lib-upgrade-plan-modal></lib-upgrade-plan-modal> -->\r\n<!-- end:: Modals -->\r\n", styles: [":host{height:100%;margin:0}:host .flex-root{height:100%}.page-loaded app-layout{opacity:1;transition:opacity 1s ease-in-out}\n"] }]
|
|
2275
|
+
}], ctorParameters: () => [{ type: i1.LayoutInitService }, { type: i1.LayoutService }, { type: i1$1.Router }, { type: i1$1.ActivatedRoute }], propDecorators: { ktSidebar: [{
|
|
2276
|
+
type: ViewChild,
|
|
2277
|
+
args: ['ktSidebar', { static: true }]
|
|
2278
|
+
}], ktAside: [{
|
|
2279
|
+
type: ViewChild,
|
|
2280
|
+
args: ['ktAside', { static: true }]
|
|
2281
|
+
}], ktHeaderMobile: [{
|
|
2282
|
+
type: ViewChild,
|
|
2283
|
+
args: ['ktHeaderMobile', { static: true }]
|
|
2284
|
+
}], ktHeader: [{
|
|
2285
|
+
type: ViewChild,
|
|
2286
|
+
args: ['ktHeader', { static: true }]
|
|
2287
|
+
}] } });
|
|
2288
|
+
|
|
2289
|
+
class FooterComponent {
|
|
2290
|
+
appFooterContainerCSSClass = '';
|
|
2291
|
+
currentDateStr = new Date().getFullYear().toString();
|
|
2292
|
+
constructor() { }
|
|
2293
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2294
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: FooterComponent, selector: "lib-footer", inputs: { appFooterContainerCSSClass: "appFooterContainerCSSClass" }, ngImport: i0, template: "<ng-container *ngIf=\"appFooterContainerCSSClass\">\r\n <!--begin::Footer container-->\r\n <div class=\"app-container\" [ngClass]=\"appFooterContainerCSSClass\">\r\n <ng-container *ngTemplateOutlet=\"footerView\"></ng-container>\r\n </div>\r\n <!--end::Footer container-->\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"!appFooterContainerCSSClass\">\r\n <ng-container *ngTemplateOutlet=\"footerView\"></ng-container>\r\n</ng-container>\r\n\r\n<ng-template #footerView>\r\n <!--begin::Copyright-->\r\n <div class=\"text-gray-900 order-2 order-md-1\">\r\n <span class=\"text-muted fw-semibold me-1\">{{currentDateStr}}©</span>\r\n <a href=\"https://keenthemes.com/\" target=\"_blank\" class=\"text-gray-800 text-hover-primary\">Keenthemes</a>\r\n </div>\r\n <!--end::Copyright-->\r\n\r\n <!--begin::Menu-->\r\n <ul class=\"menu menu-gray-600 menu-hover-primary fw-semibold order-1\">\r\n <li class=\"menu-item\"><a href=\"https://keenthemes.com/\" target=\"_blank\" class=\"menu-link px-2\">About</a></li>\r\n\r\n <li class=\"menu-item\"><a href=\"https://devs.keenthemes.com/\" target=\"_blank\" class=\"menu-link px-2\">Support</a></li>\r\n\r\n <li class=\"menu-item\"><a href=\"https://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469\"\r\n target=\"_blank\" class=\"menu-link px-2\">Purchase</a></li>\r\n </ul>\r\n <!--end::Menu-->\r\n\r\n</ng-template>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
2295
|
+
}
|
|
2296
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FooterComponent, decorators: [{
|
|
2297
|
+
type: Component,
|
|
2298
|
+
args: [{ selector: 'lib-footer', template: "<ng-container *ngIf=\"appFooterContainerCSSClass\">\r\n <!--begin::Footer container-->\r\n <div class=\"app-container\" [ngClass]=\"appFooterContainerCSSClass\">\r\n <ng-container *ngTemplateOutlet=\"footerView\"></ng-container>\r\n </div>\r\n <!--end::Footer container-->\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"!appFooterContainerCSSClass\">\r\n <ng-container *ngTemplateOutlet=\"footerView\"></ng-container>\r\n</ng-container>\r\n\r\n<ng-template #footerView>\r\n <!--begin::Copyright-->\r\n <div class=\"text-gray-900 order-2 order-md-1\">\r\n <span class=\"text-muted fw-semibold me-1\">{{currentDateStr}}©</span>\r\n <a href=\"https://keenthemes.com/\" target=\"_blank\" class=\"text-gray-800 text-hover-primary\">Keenthemes</a>\r\n </div>\r\n <!--end::Copyright-->\r\n\r\n <!--begin::Menu-->\r\n <ul class=\"menu menu-gray-600 menu-hover-primary fw-semibold order-1\">\r\n <li class=\"menu-item\"><a href=\"https://keenthemes.com/\" target=\"_blank\" class=\"menu-link px-2\">About</a></li>\r\n\r\n <li class=\"menu-item\"><a href=\"https://devs.keenthemes.com/\" target=\"_blank\" class=\"menu-link px-2\">Support</a></li>\r\n\r\n <li class=\"menu-item\"><a href=\"https://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469\"\r\n target=\"_blank\" class=\"menu-link px-2\">Purchase</a></li>\r\n </ul>\r\n <!--end::Menu-->\r\n\r\n</ng-template>\r\n" }]
|
|
2299
|
+
}], ctorParameters: () => [], propDecorators: { appFooterContainerCSSClass: [{
|
|
2300
|
+
type: Input
|
|
2301
|
+
}] } });
|
|
2302
|
+
|
|
2303
|
+
class SidebarFooterComponent {
|
|
2304
|
+
constructor() { }
|
|
2305
|
+
ngOnInit() { }
|
|
2306
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: SidebarFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2307
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: SidebarFooterComponent, selector: "lib-sidebar-footer", ngImport: i0, template: "<a target=\"_blank\" \r\n class=\"btn btn-flex flex-center btn-custom btn-primary overflow-hidden text-nowrap px-0 h-40px w-100\"\r\n data-bs-toggle=\"tooltip\" data-bs-trigger=\"hover\" data-bs-dismiss-=\"click\" title=\"Metronic Docs & Components\">\r\n\r\n <span class=\"btn-label\">\r\n Docs & Components\r\n </span>\r\n <lib-keenicon name=\"document\" class=\"fs-2 m-0\"></lib-keenicon>\r\n</a>\r\n", styles: [""], dependencies: [{ kind: "component", type: KeeniconComponent, selector: "lib-keenicon", inputs: ["name", "class", "type"] }] });
|
|
2308
|
+
}
|
|
2309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: SidebarFooterComponent, decorators: [{
|
|
2310
|
+
type: Component,
|
|
2311
|
+
args: [{ selector: 'lib-sidebar-footer', template: "<a target=\"_blank\" \r\n class=\"btn btn-flex flex-center btn-custom btn-primary overflow-hidden text-nowrap px-0 h-40px w-100\"\r\n data-bs-toggle=\"tooltip\" data-bs-trigger=\"hover\" data-bs-dismiss-=\"click\" title=\"Metronic Docs & Components\">\r\n\r\n <span class=\"btn-label\">\r\n Docs & Components\r\n </span>\r\n <lib-keenicon name=\"document\" class=\"fs-2 m-0\"></lib-keenicon>\r\n</a>\r\n" }]
|
|
2312
|
+
}], ctorParameters: () => [] });
|
|
2313
|
+
|
|
2314
|
+
const BODY_CLASSES = ['bgi-size-cover', 'bgi-position-center', 'bgi-no-repeat'];
|
|
2315
|
+
class ErrorsComponent {
|
|
2316
|
+
router;
|
|
2317
|
+
class = 'd-flex flex-column flex-root';
|
|
2318
|
+
constructor(router) {
|
|
2319
|
+
this.router = router;
|
|
2320
|
+
}
|
|
2321
|
+
ngOnInit() {
|
|
2322
|
+
BODY_CLASSES.forEach((c) => document.body.classList.add(c));
|
|
2323
|
+
}
|
|
2324
|
+
ngOnDestroy() {
|
|
2325
|
+
BODY_CLASSES.forEach((c) => document.body.classList.remove(c));
|
|
2326
|
+
}
|
|
2327
|
+
routeToDashboard() {
|
|
2328
|
+
this.router.navigate(['dashboard']);
|
|
2329
|
+
setTimeout(() => {
|
|
2330
|
+
ToggleComponent$1.bootstrap();
|
|
2331
|
+
ScrollTopComponent$1.bootstrap();
|
|
2332
|
+
DrawerComponent$1.bootstrap();
|
|
2333
|
+
StickyComponent$1.bootstrap();
|
|
2334
|
+
MenuComponent.bootstrap();
|
|
2335
|
+
ScrollComponent$1.bootstrap();
|
|
2336
|
+
}, 200);
|
|
2337
|
+
}
|
|
2338
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ErrorsComponent, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
2339
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: ErrorsComponent, selector: "lib-errors", host: { properties: { "class": "this.class" } }, ngImport: i0, template: "<!--begin::Authentication - -->\r\n<div class=\"d-flex flex-column flex-center flex-column-fluid\">\r\n <!--begin::Content-->\r\n <div class=\"d-flex flex-column flex-center text-center p-10\">\r\n <!--begin::Wrapper-->\r\n <div class=\"card card-flush w-lg-650px py-5\">\r\n <div class=\"card-body py-15 py-lg-20\">\r\n <router-outlet></router-outlet>\r\n </div>\r\n </div>\r\n <!--end::Wrapper-->\r\n </div>\r\n <!--end::Content-->\r\n</div>\r\n<!--end::Authentication - -->\r\n", styles: [":host{height:100%;margin:0}\n"], dependencies: [{ kind: "directive", type: i1$1.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] });
|
|
2340
|
+
}
|
|
2341
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ErrorsComponent, decorators: [{
|
|
2342
|
+
type: Component,
|
|
2343
|
+
args: [{ selector: 'lib-errors', template: "<!--begin::Authentication - -->\r\n<div class=\"d-flex flex-column flex-center flex-column-fluid\">\r\n <!--begin::Content-->\r\n <div class=\"d-flex flex-column flex-center text-center p-10\">\r\n <!--begin::Wrapper-->\r\n <div class=\"card card-flush w-lg-650px py-5\">\r\n <div class=\"card-body py-15 py-lg-20\">\r\n <router-outlet></router-outlet>\r\n </div>\r\n </div>\r\n <!--end::Wrapper-->\r\n </div>\r\n <!--end::Content-->\r\n</div>\r\n<!--end::Authentication - -->\r\n", styles: [":host{height:100%;margin:0}\n"] }]
|
|
2344
|
+
}], ctorParameters: () => [{ type: i1$1.Router }], propDecorators: { class: [{
|
|
2345
|
+
type: HostBinding,
|
|
2346
|
+
args: ['class']
|
|
2347
|
+
}] } });
|
|
2348
|
+
|
|
2349
|
+
class Error404Component {
|
|
2350
|
+
router;
|
|
2351
|
+
modeService;
|
|
2352
|
+
unsubscribe = [];
|
|
2353
|
+
constructor(router, modeService) {
|
|
2354
|
+
this.router = router;
|
|
2355
|
+
this.modeService = modeService;
|
|
2356
|
+
}
|
|
2357
|
+
ngOnInit() {
|
|
2358
|
+
const subscr = this.modeService.mode.asObservable().subscribe((mode) => {
|
|
2359
|
+
document.body.style.backgroundImage =
|
|
2360
|
+
mode === 'dark'
|
|
2361
|
+
? 'url(./assets/media/auth/bg1-dark.jpg)'
|
|
2362
|
+
: 'url(./assets/media/auth/bg1.jpg)';
|
|
2363
|
+
});
|
|
2364
|
+
this.unsubscribe.push(subscr);
|
|
2365
|
+
}
|
|
2366
|
+
routeToDashboard() {
|
|
2367
|
+
this.router.navigate(['dashboard']);
|
|
2368
|
+
setTimeout(() => {
|
|
2369
|
+
ToggleComponent$1.reinitialization();
|
|
2370
|
+
ScrollTopComponent$1.reinitialization();
|
|
2371
|
+
DrawerComponent$1.reinitialization();
|
|
2372
|
+
StickyComponent$1.bootstrap();
|
|
2373
|
+
MenuComponent.reinitialization();
|
|
2374
|
+
ScrollComponent$1.reinitialization();
|
|
2375
|
+
}, 200);
|
|
2376
|
+
}
|
|
2377
|
+
ngOnDestroy() {
|
|
2378
|
+
this.unsubscribe.forEach((sb) => sb.unsubscribe());
|
|
2379
|
+
document.body.style.backgroundImage = 'none';
|
|
2380
|
+
}
|
|
2381
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: Error404Component, deps: [{ token: i1$1.Router }, { token: i1.ThemeModeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2382
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: Error404Component, selector: "lib-error404", ngImport: i0, template: "<!--begin::Title-->\r\n<h1 class=\"fw-bolder fs-2hx text-gray-900 mb-4\">\r\n Oops!\r\n</h1>\r\n<!--end::Title-->\r\n\r\n<!--begin::Text-->\r\n<div class=\"fw-semibold fs-6 text-gray-500 mb-7\">\r\n We can't find that page.\r\n</div>\r\n<!--end::Text-->\r\n\r\n<!--begin::Illustration-->\r\n<div class=\"mb-3\">\r\n <img src=\"./assets/media/auth/404-error.png\" class=\"mw-100 mh-300px theme-light-show\" alt=\"\" />\r\n <img src=\"./assets/media/auth/404-error-dark.png\" class=\"mw-100 mh-300px theme-dark-show\" alt=\"\" />\r\n</div>\r\n<!--end::Illustration-->\r\n\r\n<!--begin::Link-->\r\n<div class=\"mb-0\">\r\n <a (click)=\"routeToDashboard()\" class=\"btn btn-sm btn-primary\">Return Home</a>\r\n</div>\r\n<!--end::Link-->\r\n", styles: [""] });
|
|
2383
|
+
}
|
|
2384
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: Error404Component, decorators: [{
|
|
2385
|
+
type: Component,
|
|
2386
|
+
args: [{ selector: 'lib-error404', template: "<!--begin::Title-->\r\n<h1 class=\"fw-bolder fs-2hx text-gray-900 mb-4\">\r\n Oops!\r\n</h1>\r\n<!--end::Title-->\r\n\r\n<!--begin::Text-->\r\n<div class=\"fw-semibold fs-6 text-gray-500 mb-7\">\r\n We can't find that page.\r\n</div>\r\n<!--end::Text-->\r\n\r\n<!--begin::Illustration-->\r\n<div class=\"mb-3\">\r\n <img src=\"./assets/media/auth/404-error.png\" class=\"mw-100 mh-300px theme-light-show\" alt=\"\" />\r\n <img src=\"./assets/media/auth/404-error-dark.png\" class=\"mw-100 mh-300px theme-dark-show\" alt=\"\" />\r\n</div>\r\n<!--end::Illustration-->\r\n\r\n<!--begin::Link-->\r\n<div class=\"mb-0\">\r\n <a (click)=\"routeToDashboard()\" class=\"btn btn-sm btn-primary\">Return Home</a>\r\n</div>\r\n<!--end::Link-->\r\n" }]
|
|
2387
|
+
}], ctorParameters: () => [{ type: i1$1.Router }, { type: i1.ThemeModeService }] });
|
|
2388
|
+
|
|
2389
|
+
class Error500Component {
|
|
2390
|
+
router;
|
|
2391
|
+
modeService;
|
|
2392
|
+
unsubscribe = [];
|
|
2393
|
+
constructor(router, modeService) {
|
|
2394
|
+
this.router = router;
|
|
2395
|
+
this.modeService = modeService;
|
|
2396
|
+
}
|
|
2397
|
+
ngOnInit() {
|
|
2398
|
+
const subscr = this.modeService.mode.asObservable().subscribe((mode) => {
|
|
2399
|
+
document.body.style.backgroundImage =
|
|
2400
|
+
mode === 'dark'
|
|
2401
|
+
? 'url(./assets/media/auth/bg7-dark.jpg)'
|
|
2402
|
+
: 'url(./assets/media/auth/bg7.jpg)';
|
|
2403
|
+
});
|
|
2404
|
+
this.unsubscribe.push(subscr);
|
|
2405
|
+
}
|
|
2406
|
+
routeToDashboard() {
|
|
2407
|
+
this.router.navigate(['dashboard']);
|
|
2408
|
+
setTimeout(() => {
|
|
2409
|
+
ToggleComponent$1.reinitialization();
|
|
2410
|
+
ScrollTopComponent$1.reinitialization();
|
|
2411
|
+
DrawerComponent$1.reinitialization();
|
|
2412
|
+
StickyComponent$1.bootstrap();
|
|
2413
|
+
MenuComponent.reinitialization();
|
|
2414
|
+
ScrollComponent$1.reinitialization();
|
|
2415
|
+
}, 200);
|
|
2416
|
+
}
|
|
2417
|
+
ngOnDestroy() {
|
|
2418
|
+
this.unsubscribe.forEach((sb) => sb.unsubscribe());
|
|
2419
|
+
document.body.style.backgroundImage = 'none';
|
|
2420
|
+
}
|
|
2421
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: Error500Component, deps: [{ token: i1$1.Router }, { token: i1.ThemeModeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2422
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: Error500Component, selector: "lib-error500", ngImport: i0, template: "<!--begin::Title-->\r\n<h1 class=\"fw-bolder fs-2qx text-gray-900 mb-4\">\r\n System Error\r\n</h1>\r\n<!--end::Title-->\r\n\r\n<!--begin::Text-->\r\n<div class=\"fw-semibold fs-6 text-gray-500 mb-7\">\r\n Something went wrong! Please try again later.\r\n</div>\r\n<!--end::Text-->\r\n\r\n<!--begin::Illustration-->\r\n<div class=\"mb-11\">\r\n <img src=\"./assets/media/auth/500-error.png\" class=\"mw-100 mh-300px theme-light-show\" alt=\"\" />\r\n <img src=\"./assets/media/auth/500-error-dark.png\" class=\"mw-100 mh-300px theme-dark-show\" alt=\"\" />\r\n</div>\r\n<!--end::Illustration-->\r\n\r\n<!--begin::Link-->\r\n<div class=\"mb-0\">\r\n <a (click)=\"routeToDashboard()\" class=\"btn btn-sm btn-primary\">Return Home</a>\r\n</div>\r\n<!--end::Link-->\r\n", styles: [""] });
|
|
2423
|
+
}
|
|
2424
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: Error500Component, decorators: [{
|
|
2425
|
+
type: Component,
|
|
2426
|
+
args: [{ selector: 'lib-error500', template: "<!--begin::Title-->\r\n<h1 class=\"fw-bolder fs-2qx text-gray-900 mb-4\">\r\n System Error\r\n</h1>\r\n<!--end::Title-->\r\n\r\n<!--begin::Text-->\r\n<div class=\"fw-semibold fs-6 text-gray-500 mb-7\">\r\n Something went wrong! Please try again later.\r\n</div>\r\n<!--end::Text-->\r\n\r\n<!--begin::Illustration-->\r\n<div class=\"mb-11\">\r\n <img src=\"./assets/media/auth/500-error.png\" class=\"mw-100 mh-300px theme-light-show\" alt=\"\" />\r\n <img src=\"./assets/media/auth/500-error-dark.png\" class=\"mw-100 mh-300px theme-dark-show\" alt=\"\" />\r\n</div>\r\n<!--end::Illustration-->\r\n\r\n<!--begin::Link-->\r\n<div class=\"mb-0\">\r\n <a (click)=\"routeToDashboard()\" class=\"btn btn-sm btn-primary\">Return Home</a>\r\n</div>\r\n<!--end::Link-->\r\n" }]
|
|
2427
|
+
}], ctorParameters: () => [{ type: i1$1.Router }, { type: i1.ThemeModeService }] });
|
|
2428
|
+
|
|
2429
|
+
class TranslationModule {
|
|
2430
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TranslationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2431
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: TranslationModule, imports: [CommonModule, TranslateModule], exports: [TranslateModule] });
|
|
2432
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TranslationModule, imports: [CommonModule, TranslateModule, TranslateModule] });
|
|
2433
|
+
}
|
|
2434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TranslationModule, decorators: [{
|
|
2435
|
+
type: NgModule,
|
|
2436
|
+
args: [{
|
|
2437
|
+
imports: [CommonModule, TranslateModule],
|
|
2438
|
+
exports: [TranslateModule],
|
|
2439
|
+
}]
|
|
2440
|
+
}] });
|
|
2441
|
+
|
|
2442
|
+
// Localization is based on '@ngx-translate/core';
|
|
2443
|
+
// Please be familiar with official documentations first => https://github.com/ngx-translate/core
|
|
2444
|
+
const LOCALIZATION_LOCAL_STORAGE_KEY = 'language';
|
|
2445
|
+
class TranslationService {
|
|
2446
|
+
translate;
|
|
2447
|
+
// Private properties
|
|
2448
|
+
langIds = [];
|
|
2449
|
+
constructor(translate) {
|
|
2450
|
+
this.translate = translate;
|
|
2451
|
+
// add new langIds to the list
|
|
2452
|
+
this.translate.addLangs(['en']);
|
|
2453
|
+
// this language will be used as a fallback when a translation isn't found in the current language
|
|
2454
|
+
this.translate.setDefaultLang('en');
|
|
2455
|
+
}
|
|
2456
|
+
loadTranslations(...args) {
|
|
2457
|
+
const locales = [...args];
|
|
2458
|
+
locales.forEach((locale) => {
|
|
2459
|
+
// use setTranslation() with the third argument set to true
|
|
2460
|
+
// to append translations instead of replacing them
|
|
2461
|
+
this.translate.setTranslation(locale.lang, locale.data, true);
|
|
2462
|
+
this.langIds.push(locale.lang);
|
|
2463
|
+
});
|
|
2464
|
+
// add new languages to the list
|
|
2465
|
+
this.translate.addLangs(this.langIds);
|
|
2466
|
+
this.translate.use(this.getSelectedLanguage());
|
|
2467
|
+
}
|
|
2468
|
+
setLanguage(lang) {
|
|
2469
|
+
if (lang) {
|
|
2470
|
+
this.translate.use(this.translate.getDefaultLang());
|
|
2471
|
+
this.translate.use(lang);
|
|
2472
|
+
localStorage.setItem(LOCALIZATION_LOCAL_STORAGE_KEY, lang);
|
|
2473
|
+
}
|
|
2474
|
+
}
|
|
2475
|
+
/**
|
|
2476
|
+
* Returns selected language
|
|
2477
|
+
*/
|
|
2478
|
+
getSelectedLanguage() {
|
|
2479
|
+
return (localStorage.getItem(LOCALIZATION_LOCAL_STORAGE_KEY) ||
|
|
2480
|
+
this.translate.getDefaultLang());
|
|
2481
|
+
}
|
|
2482
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TranslationService, deps: [{ token: i1$3.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2483
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TranslationService, providedIn: 'root' });
|
|
2484
|
+
}
|
|
2485
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TranslationService, decorators: [{
|
|
2486
|
+
type: Injectable,
|
|
2487
|
+
args: [{
|
|
2488
|
+
providedIn: 'root',
|
|
2489
|
+
}]
|
|
2490
|
+
}], ctorParameters: () => [{ type: i1$3.TranslateService }] });
|
|
2491
|
+
|
|
2492
|
+
// USA
|
|
2493
|
+
const locale$5 = {
|
|
2494
|
+
lang: 'en',
|
|
2495
|
+
data: {
|
|
2496
|
+
TRANSLATOR: {
|
|
2497
|
+
SELECT: 'Select your language',
|
|
2498
|
+
},
|
|
2499
|
+
MENU: {
|
|
2500
|
+
NEW: 'new',
|
|
2501
|
+
ACTIONS: 'Actions',
|
|
2502
|
+
CREATE_POST: 'Create New Post',
|
|
2503
|
+
PAGES: 'Pages',
|
|
2504
|
+
FEATURES: 'Features',
|
|
2505
|
+
APPS: 'Apps',
|
|
2506
|
+
DASHBOARD: 'Dashboard',
|
|
2507
|
+
},
|
|
2508
|
+
AUTH: {
|
|
2509
|
+
GENERAL: {
|
|
2510
|
+
OR: 'Or',
|
|
2511
|
+
SUBMIT_BUTTON: 'Submit',
|
|
2512
|
+
NO_ACCOUNT: 'Don\'t have an account?',
|
|
2513
|
+
SIGNUP_BUTTON: 'Sign Up',
|
|
2514
|
+
FORGOT_BUTTON: 'Forgot Password',
|
|
2515
|
+
BACK_BUTTON: 'Back',
|
|
2516
|
+
PRIVACY: 'Privacy',
|
|
2517
|
+
LEGAL: 'Legal',
|
|
2518
|
+
CONTACT: 'Contact',
|
|
2519
|
+
},
|
|
2520
|
+
LOGIN: {
|
|
2521
|
+
TITLE: 'Login Account',
|
|
2522
|
+
BUTTON: 'Sign In',
|
|
2523
|
+
},
|
|
2524
|
+
FORGOT: {
|
|
2525
|
+
TITLE: 'Forgotten Password?',
|
|
2526
|
+
DESC: 'Enter your email to reset your password',
|
|
2527
|
+
SUCCESS: 'Your account has been successfully reset.'
|
|
2528
|
+
},
|
|
2529
|
+
REGISTER: {
|
|
2530
|
+
TITLE: 'Sign Up',
|
|
2531
|
+
DESC: 'Enter your details to create your account',
|
|
2532
|
+
SUCCESS: 'Your account has been successfuly registered.'
|
|
2533
|
+
},
|
|
2534
|
+
INPUT: {
|
|
2535
|
+
EMAIL: 'Email',
|
|
2536
|
+
FULLNAME: 'Fullname',
|
|
2537
|
+
PASSWORD: 'Password',
|
|
2538
|
+
CONFIRM_PASSWORD: 'Confirm Password',
|
|
2539
|
+
USERNAME: 'Username'
|
|
2540
|
+
},
|
|
2541
|
+
VALIDATION: {
|
|
2542
|
+
INVALID: '{{name}} is not valid',
|
|
2543
|
+
REQUIRED: '{{name}} is required',
|
|
2544
|
+
MIN_LENGTH: '{{name}} minimum length is {{min}}',
|
|
2545
|
+
AGREEMENT_REQUIRED: 'Accepting terms & conditions are required',
|
|
2546
|
+
NOT_FOUND: 'The requested {{name}} is not found',
|
|
2547
|
+
INVALID_LOGIN: 'The login detail is incorrect',
|
|
2548
|
+
REQUIRED_FIELD: 'Required field',
|
|
2549
|
+
MIN_LENGTH_FIELD: 'Minimum field length:',
|
|
2550
|
+
MAX_LENGTH_FIELD: 'Maximum field length:',
|
|
2551
|
+
INVALID_FIELD: 'Field is not valid',
|
|
2552
|
+
}
|
|
2553
|
+
},
|
|
2554
|
+
ECOMMERCE: {
|
|
2555
|
+
COMMON: {
|
|
2556
|
+
SELECTED_RECORDS_COUNT: 'Selected records count: ',
|
|
2557
|
+
ALL: 'All',
|
|
2558
|
+
SUSPENDED: 'Suspended',
|
|
2559
|
+
ACTIVE: 'Active',
|
|
2560
|
+
FILTER: 'Filter',
|
|
2561
|
+
BY_STATUS: 'by Status',
|
|
2562
|
+
BY_TYPE: 'by Type',
|
|
2563
|
+
BUSINESS: 'Business',
|
|
2564
|
+
INDIVIDUAL: 'Individual',
|
|
2565
|
+
SEARCH: 'Search',
|
|
2566
|
+
IN_ALL_FIELDS: 'in all fields'
|
|
2567
|
+
},
|
|
2568
|
+
ECOMMERCE: 'eCommerce',
|
|
2569
|
+
CUSTOMERS: {
|
|
2570
|
+
CUSTOMERS: 'Customers',
|
|
2571
|
+
CUSTOMERS_LIST: 'Customers list',
|
|
2572
|
+
NEW_CUSTOMER: 'New Customer',
|
|
2573
|
+
DELETE_CUSTOMER_SIMPLE: {
|
|
2574
|
+
TITLE: 'Customer Delete',
|
|
2575
|
+
DESCRIPTION: 'Are you sure to permanently delete this customer?',
|
|
2576
|
+
WAIT_DESCRIPTION: 'Customer is deleting...',
|
|
2577
|
+
MESSAGE: 'Customer has been deleted'
|
|
2578
|
+
},
|
|
2579
|
+
DELETE_CUSTOMER_MULTY: {
|
|
2580
|
+
TITLE: 'Customers Delete',
|
|
2581
|
+
DESCRIPTION: 'Are you sure to permanently delete selected customers?',
|
|
2582
|
+
WAIT_DESCRIPTION: 'Customers are deleting...',
|
|
2583
|
+
MESSAGE: 'Selected customers have been deleted'
|
|
2584
|
+
},
|
|
2585
|
+
UPDATE_STATUS: {
|
|
2586
|
+
TITLE: 'Status has been updated for selected customers',
|
|
2587
|
+
MESSAGE: 'Selected customers status have successfully been updated'
|
|
2588
|
+
},
|
|
2589
|
+
EDIT: {
|
|
2590
|
+
UPDATE_MESSAGE: 'Customer has been updated',
|
|
2591
|
+
ADD_MESSAGE: 'Customer has been created'
|
|
2592
|
+
}
|
|
2593
|
+
}
|
|
2594
|
+
}
|
|
2595
|
+
}
|
|
2596
|
+
};
|
|
2597
|
+
|
|
2598
|
+
var en = /*#__PURE__*/Object.freeze({
|
|
2599
|
+
__proto__: null,
|
|
2600
|
+
locale: locale$5
|
|
2601
|
+
});
|
|
2602
|
+
|
|
2603
|
+
// China
|
|
2604
|
+
const locale$4 = {
|
|
2605
|
+
lang: 'zh',
|
|
2606
|
+
data: {
|
|
2607
|
+
TRANSLATOR: {
|
|
2608
|
+
SELECT: '选择你的语言',
|
|
2609
|
+
},
|
|
2610
|
+
MENU: {
|
|
2611
|
+
NEW: '新',
|
|
2612
|
+
ACTIONS: '行动',
|
|
2613
|
+
CREATE_POST: '创建新帖子',
|
|
2614
|
+
PAGES: 'Pages',
|
|
2615
|
+
FEATURES: '特征',
|
|
2616
|
+
APPS: '应用',
|
|
2617
|
+
DASHBOARD: '仪表板',
|
|
2618
|
+
},
|
|
2619
|
+
AUTH: {
|
|
2620
|
+
GENERAL: {
|
|
2621
|
+
OR: '要么',
|
|
2622
|
+
SUBMIT_BUTTON: '提交',
|
|
2623
|
+
NO_ACCOUNT: '没有账号?',
|
|
2624
|
+
SIGNUP_BUTTON: '注册',
|
|
2625
|
+
FORGOT_BUTTON: '忘记密码',
|
|
2626
|
+
BACK_BUTTON: '背部',
|
|
2627
|
+
PRIVACY: '隐私',
|
|
2628
|
+
LEGAL: '法律',
|
|
2629
|
+
CONTACT: '联系',
|
|
2630
|
+
},
|
|
2631
|
+
LOGIN: {
|
|
2632
|
+
TITLE: '创建帐号',
|
|
2633
|
+
BUTTON: '签到',
|
|
2634
|
+
},
|
|
2635
|
+
FORGOT: {
|
|
2636
|
+
TITLE: 'Forgotten Password?',
|
|
2637
|
+
DESC: 'Enter your email to reset your password',
|
|
2638
|
+
SUCCESS: 'Your account has been successfully reset.',
|
|
2639
|
+
},
|
|
2640
|
+
REGISTER: {
|
|
2641
|
+
TITLE: 'Sign Up',
|
|
2642
|
+
DESC: 'Enter your details to create your account',
|
|
2643
|
+
SUCCESS: 'Your account has been successfuly registered.',
|
|
2644
|
+
},
|
|
2645
|
+
INPUT: {
|
|
2646
|
+
EMAIL: 'Email',
|
|
2647
|
+
FULLNAME: 'Fullname',
|
|
2648
|
+
PASSWORD: 'Password',
|
|
2649
|
+
CONFIRM_PASSWORD: 'Confirm Password',
|
|
2650
|
+
USERNAME: '用戶名',
|
|
2651
|
+
},
|
|
2652
|
+
VALIDATION: {
|
|
2653
|
+
INVALID: '{{name}} is not valid',
|
|
2654
|
+
REQUIRED: '{{name}} is required',
|
|
2655
|
+
MIN_LENGTH: '{{name}} minimum length is {{min}}',
|
|
2656
|
+
AGREEMENT_REQUIRED: 'Accepting terms & conditions are required',
|
|
2657
|
+
NOT_FOUND: 'The requested {{name}} is not found',
|
|
2658
|
+
INVALID_LOGIN: 'The login detail is incorrect',
|
|
2659
|
+
REQUIRED_FIELD: 'Required field',
|
|
2660
|
+
MIN_LENGTH_FIELD: 'Minimum field length:',
|
|
2661
|
+
MAX_LENGTH_FIELD: 'Maximum field length:',
|
|
2662
|
+
INVALID_FIELD: 'Field is not valid',
|
|
2663
|
+
},
|
|
2664
|
+
},
|
|
2665
|
+
ECOMMERCE: {
|
|
2666
|
+
COMMON: {
|
|
2667
|
+
SELECTED_RECORDS_COUNT: 'Selected records count: ',
|
|
2668
|
+
ALL: 'All',
|
|
2669
|
+
SUSPENDED: 'Suspended',
|
|
2670
|
+
ACTIVE: 'Active',
|
|
2671
|
+
FILTER: 'Filter',
|
|
2672
|
+
BY_STATUS: 'by Status',
|
|
2673
|
+
BY_TYPE: 'by Type',
|
|
2674
|
+
BUSINESS: 'Business',
|
|
2675
|
+
INDIVIDUAL: 'Individual',
|
|
2676
|
+
SEARCH: 'Search',
|
|
2677
|
+
IN_ALL_FIELDS: 'in all fields',
|
|
2678
|
+
},
|
|
2679
|
+
ECOMMERCE: 'eCommerce',
|
|
2680
|
+
CUSTOMERS: {
|
|
2681
|
+
CUSTOMERS: '顾客',
|
|
2682
|
+
CUSTOMERS_LIST: '客户名单',
|
|
2683
|
+
NEW_CUSTOMER: 'New Customer',
|
|
2684
|
+
DELETE_CUSTOMER_SIMPLE: {
|
|
2685
|
+
TITLE: 'Customer Delete',
|
|
2686
|
+
DESCRIPTION: 'Are you sure to permanently delete this customer?',
|
|
2687
|
+
WAIT_DESCRIPTION: 'Customer is deleting...',
|
|
2688
|
+
MESSAGE: 'Customer has been deleted',
|
|
2689
|
+
},
|
|
2690
|
+
DELETE_CUSTOMER_MULTY: {
|
|
2691
|
+
TITLE: 'Customers Delete',
|
|
2692
|
+
DESCRIPTION: 'Are you sure to permanently delete selected customers?',
|
|
2693
|
+
WAIT_DESCRIPTION: 'Customers are deleting...',
|
|
2694
|
+
MESSAGE: 'Selected customers have been deleted',
|
|
2695
|
+
},
|
|
2696
|
+
UPDATE_STATUS: {
|
|
2697
|
+
TITLE: 'Status has been updated for selected customers',
|
|
2698
|
+
MESSAGE: 'Selected customers status have successfully been updated',
|
|
2699
|
+
},
|
|
2700
|
+
EDIT: {
|
|
2701
|
+
UPDATE_MESSAGE: 'Customer has been updated',
|
|
2702
|
+
ADD_MESSAGE: 'Customer has been created',
|
|
2703
|
+
},
|
|
2704
|
+
},
|
|
2705
|
+
},
|
|
2706
|
+
},
|
|
2707
|
+
};
|
|
2708
|
+
|
|
2709
|
+
var ch = /*#__PURE__*/Object.freeze({
|
|
2710
|
+
__proto__: null,
|
|
2711
|
+
locale: locale$4
|
|
2712
|
+
});
|
|
2713
|
+
|
|
2714
|
+
// Germany
|
|
2715
|
+
const locale$3 = {
|
|
2716
|
+
lang: 'de',
|
|
2717
|
+
data: {
|
|
2718
|
+
TRANSLATOR: {
|
|
2719
|
+
SELECT: 'Wähle deine Sprache',
|
|
2720
|
+
},
|
|
2721
|
+
MENU: {
|
|
2722
|
+
NEW: 'Neu',
|
|
2723
|
+
ACTIONS: 'Aktionen',
|
|
2724
|
+
CREATE_POST: 'Erstellen Sie einen neuen Beitrag',
|
|
2725
|
+
PAGES: 'Pages',
|
|
2726
|
+
FEATURES: 'Eigenschaften',
|
|
2727
|
+
APPS: 'Apps',
|
|
2728
|
+
DASHBOARD: 'Instrumententafel'
|
|
2729
|
+
},
|
|
2730
|
+
AUTH: {
|
|
2731
|
+
GENERAL: {
|
|
2732
|
+
OR: 'Oder',
|
|
2733
|
+
SUBMIT_BUTTON: 'einreichen',
|
|
2734
|
+
NO_ACCOUNT: 'Hast du kein Konto?',
|
|
2735
|
+
SIGNUP_BUTTON: 'Anmelden',
|
|
2736
|
+
FORGOT_BUTTON: 'Passwort vergessen',
|
|
2737
|
+
BACK_BUTTON: 'Zurück',
|
|
2738
|
+
PRIVACY: 'Privatsphäre',
|
|
2739
|
+
LEGAL: 'Legal',
|
|
2740
|
+
CONTACT: 'Kontakt',
|
|
2741
|
+
},
|
|
2742
|
+
LOGIN: {
|
|
2743
|
+
TITLE: 'Create Account',
|
|
2744
|
+
BUTTON: 'Sign In',
|
|
2745
|
+
},
|
|
2746
|
+
FORGOT: {
|
|
2747
|
+
TITLE: 'Forgotten Password?',
|
|
2748
|
+
DESC: 'Enter your email to reset your password',
|
|
2749
|
+
SUCCESS: 'Your account has been successfully reset.'
|
|
2750
|
+
},
|
|
2751
|
+
REGISTER: {
|
|
2752
|
+
TITLE: 'Sign Up',
|
|
2753
|
+
DESC: 'Enter your details to create your account',
|
|
2754
|
+
SUCCESS: 'Your account has been successfuly registered.'
|
|
2755
|
+
},
|
|
2756
|
+
INPUT: {
|
|
2757
|
+
EMAIL: 'Email',
|
|
2758
|
+
FULLNAME: 'Fullname',
|
|
2759
|
+
PASSWORD: 'Password',
|
|
2760
|
+
CONFIRM_PASSWORD: 'Confirm Password',
|
|
2761
|
+
USERNAME: 'Nutzername'
|
|
2762
|
+
},
|
|
2763
|
+
VALIDATION: {
|
|
2764
|
+
INVALID: '{{name}} is not valid',
|
|
2765
|
+
REQUIRED: '{{name}} is required',
|
|
2766
|
+
MIN_LENGTH: '{{name}} minimum length is {{min}}',
|
|
2767
|
+
AGREEMENT_REQUIRED: 'Accepting terms & conditions are required',
|
|
2768
|
+
NOT_FOUND: 'The requested {{name}} is not found',
|
|
2769
|
+
INVALID_LOGIN: 'The login detail is incorrect',
|
|
2770
|
+
REQUIRED_FIELD: 'Required field',
|
|
2771
|
+
MIN_LENGTH_FIELD: 'Minimum field length:',
|
|
2772
|
+
MAX_LENGTH_FIELD: 'Maximum field length:',
|
|
2773
|
+
INVALID_FIELD: 'Field is not valid',
|
|
2774
|
+
}
|
|
2775
|
+
},
|
|
2776
|
+
ECOMMERCE: {
|
|
2777
|
+
COMMON: {
|
|
2778
|
+
SELECTED_RECORDS_COUNT: 'Selected records count: ',
|
|
2779
|
+
ALL: 'All',
|
|
2780
|
+
SUSPENDED: 'Suspended',
|
|
2781
|
+
ACTIVE: 'Active',
|
|
2782
|
+
FILTER: 'Filter',
|
|
2783
|
+
BY_STATUS: 'by Status',
|
|
2784
|
+
BY_TYPE: 'by Type',
|
|
2785
|
+
BUSINESS: 'Business',
|
|
2786
|
+
INDIVIDUAL: 'Individual',
|
|
2787
|
+
SEARCH: 'Search',
|
|
2788
|
+
IN_ALL_FIELDS: 'in all fields'
|
|
2789
|
+
},
|
|
2790
|
+
ECOMMERCE: 'eCommerce',
|
|
2791
|
+
CUSTOMERS: {
|
|
2792
|
+
CUSTOMERS: 'Customers',
|
|
2793
|
+
CUSTOMERS_LIST: 'Customers list',
|
|
2794
|
+
NEW_CUSTOMER: 'New Customer',
|
|
2795
|
+
DELETE_CUSTOMER_SIMPLE: {
|
|
2796
|
+
TITLE: 'Customer Delete',
|
|
2797
|
+
DESCRIPTION: 'Are you sure to permanently delete this customer?',
|
|
2798
|
+
WAIT_DESCRIPTION: 'Customer is deleting...',
|
|
2799
|
+
MESSAGE: 'Customer has been deleted'
|
|
2800
|
+
},
|
|
2801
|
+
DELETE_CUSTOMER_MULTY: {
|
|
2802
|
+
TITLE: 'Customers Delete',
|
|
2803
|
+
DESCRIPTION: 'Are you sure to permanently delete selected customers?',
|
|
2804
|
+
WAIT_DESCRIPTION: 'Customers are deleting...',
|
|
2805
|
+
MESSAGE: 'Selected customers have been deleted'
|
|
2806
|
+
},
|
|
2807
|
+
UPDATE_STATUS: {
|
|
2808
|
+
TITLE: 'Status has been updated for selected customers',
|
|
2809
|
+
MESSAGE: 'Selected customers status have successfully been updated'
|
|
2810
|
+
},
|
|
2811
|
+
EDIT: {
|
|
2812
|
+
UPDATE_MESSAGE: 'Customer has been updated',
|
|
2813
|
+
ADD_MESSAGE: 'Customer has been created'
|
|
2814
|
+
}
|
|
2815
|
+
}
|
|
2816
|
+
}
|
|
2817
|
+
}
|
|
2818
|
+
};
|
|
2819
|
+
|
|
2820
|
+
var de = /*#__PURE__*/Object.freeze({
|
|
2821
|
+
__proto__: null,
|
|
2822
|
+
locale: locale$3
|
|
2823
|
+
});
|
|
2824
|
+
|
|
2825
|
+
// Spain
|
|
2826
|
+
const locale$2 = {
|
|
2827
|
+
lang: 'es',
|
|
2828
|
+
data: {
|
|
2829
|
+
TRANSLATOR: {
|
|
2830
|
+
SELECT: 'Elige tu idioma',
|
|
2831
|
+
},
|
|
2832
|
+
MENU: {
|
|
2833
|
+
NEW: 'nuevo',
|
|
2834
|
+
ACTIONS: 'Comportamiento',
|
|
2835
|
+
CREATE_POST: 'Crear nueva publicación',
|
|
2836
|
+
PAGES: 'Pages',
|
|
2837
|
+
FEATURES: 'Caracteristicas',
|
|
2838
|
+
APPS: 'Aplicaciones',
|
|
2839
|
+
DASHBOARD: 'Tablero'
|
|
2840
|
+
},
|
|
2841
|
+
AUTH: {
|
|
2842
|
+
GENERAL: {
|
|
2843
|
+
OR: 'O',
|
|
2844
|
+
SUBMIT_BUTTON: 'Enviar',
|
|
2845
|
+
NO_ACCOUNT: 'No tienes una cuenta?',
|
|
2846
|
+
SIGNUP_BUTTON: 'Regístrate',
|
|
2847
|
+
FORGOT_BUTTON: 'Se te olvidó tu contraseña',
|
|
2848
|
+
BACK_BUTTON: 'Espalda',
|
|
2849
|
+
PRIVACY: 'Intimidad',
|
|
2850
|
+
LEGAL: 'Legal',
|
|
2851
|
+
CONTACT: 'Contacto',
|
|
2852
|
+
},
|
|
2853
|
+
LOGIN: {
|
|
2854
|
+
TITLE: 'Crear una cuenta',
|
|
2855
|
+
BUTTON: 'Registrarse',
|
|
2856
|
+
},
|
|
2857
|
+
FORGOT: {
|
|
2858
|
+
TITLE: 'Contraseña olvidada?',
|
|
2859
|
+
DESC: 'Ingrese su correo electrónico para restablecer su contraseña',
|
|
2860
|
+
SUCCESS: 'Your account has been successfully reset.'
|
|
2861
|
+
},
|
|
2862
|
+
REGISTER: {
|
|
2863
|
+
TITLE: 'Sign Up',
|
|
2864
|
+
DESC: 'Enter your details to create your account',
|
|
2865
|
+
SUCCESS: 'Your account has been successfuly registered.'
|
|
2866
|
+
},
|
|
2867
|
+
INPUT: {
|
|
2868
|
+
EMAIL: 'Email',
|
|
2869
|
+
FULLNAME: 'Fullname',
|
|
2870
|
+
PASSWORD: 'Password',
|
|
2871
|
+
CONFIRM_PASSWORD: 'Confirm Password',
|
|
2872
|
+
USERNAME: 'Usuario'
|
|
2873
|
+
},
|
|
2874
|
+
VALIDATION: {
|
|
2875
|
+
INVALID: '{{name}} is not valid',
|
|
2876
|
+
REQUIRED: '{{name}} is required',
|
|
2877
|
+
MIN_LENGTH: '{{name}} minimum length is {{min}}',
|
|
2878
|
+
AGREEMENT_REQUIRED: 'Accepting terms & conditions are required',
|
|
2879
|
+
NOT_FOUND: 'The requested {{name}} is not found',
|
|
2880
|
+
INVALID_LOGIN: 'The login detail is incorrect',
|
|
2881
|
+
REQUIRED_FIELD: 'Required field',
|
|
2882
|
+
MIN_LENGTH_FIELD: 'Minimum field length:',
|
|
2883
|
+
MAX_LENGTH_FIELD: 'Maximum field length:',
|
|
2884
|
+
INVALID_FIELD: 'Field is not valid',
|
|
2885
|
+
}
|
|
2886
|
+
},
|
|
2887
|
+
ECOMMERCE: {
|
|
2888
|
+
COMMON: {
|
|
2889
|
+
SELECTED_RECORDS_COUNT: 'Selected records count: ',
|
|
2890
|
+
ALL: 'All',
|
|
2891
|
+
SUSPENDED: 'Suspended',
|
|
2892
|
+
ACTIVE: 'Active',
|
|
2893
|
+
FILTER: 'Filter',
|
|
2894
|
+
BY_STATUS: 'by Status',
|
|
2895
|
+
BY_TYPE: 'by Type',
|
|
2896
|
+
BUSINESS: 'Business',
|
|
2897
|
+
INDIVIDUAL: 'Individual',
|
|
2898
|
+
SEARCH: 'Search',
|
|
2899
|
+
IN_ALL_FIELDS: 'in all fields'
|
|
2900
|
+
},
|
|
2901
|
+
ECOMMERCE: 'eCommerce',
|
|
2902
|
+
CUSTOMERS: {
|
|
2903
|
+
CUSTOMERS: 'Customers',
|
|
2904
|
+
CUSTOMERS_LIST: 'Customers list',
|
|
2905
|
+
NEW_CUSTOMER: 'New Customer',
|
|
2906
|
+
DELETE_CUSTOMER_SIMPLE: {
|
|
2907
|
+
TITLE: 'Customer Delete',
|
|
2908
|
+
DESCRIPTION: 'Are you sure to permanently delete this customer?',
|
|
2909
|
+
WAIT_DESCRIPTION: 'Customer is deleting...',
|
|
2910
|
+
MESSAGE: 'Customer has been deleted'
|
|
2911
|
+
},
|
|
2912
|
+
DELETE_CUSTOMER_MULTY: {
|
|
2913
|
+
TITLE: 'Customers Delete',
|
|
2914
|
+
DESCRIPTION: 'Are you sure to permanently delete selected customers?',
|
|
2915
|
+
WAIT_DESCRIPTION: 'Customers are deleting...',
|
|
2916
|
+
MESSAGE: 'Selected customers have been deleted'
|
|
2917
|
+
},
|
|
2918
|
+
UPDATE_STATUS: {
|
|
2919
|
+
TITLE: 'Status has been updated for selected customers',
|
|
2920
|
+
MESSAGE: 'Selected customers status have successfully been updated'
|
|
2921
|
+
},
|
|
2922
|
+
EDIT: {
|
|
2923
|
+
UPDATE_MESSAGE: 'Customer has been updated',
|
|
2924
|
+
ADD_MESSAGE: 'Customer has been created'
|
|
2925
|
+
}
|
|
2926
|
+
}
|
|
2927
|
+
}
|
|
2928
|
+
}
|
|
2929
|
+
};
|
|
2930
|
+
|
|
2931
|
+
var es = /*#__PURE__*/Object.freeze({
|
|
2932
|
+
__proto__: null,
|
|
2933
|
+
locale: locale$2
|
|
2934
|
+
});
|
|
2935
|
+
|
|
2936
|
+
// France
|
|
2937
|
+
const locale$1 = {
|
|
2938
|
+
lang: 'fr',
|
|
2939
|
+
data: {
|
|
2940
|
+
TRANSLATOR: {
|
|
2941
|
+
SELECT: 'choisissez votre langue',
|
|
2942
|
+
},
|
|
2943
|
+
MENU: {
|
|
2944
|
+
NEW: 'Nouveau',
|
|
2945
|
+
ACTIONS: 'Actes',
|
|
2946
|
+
CREATE_POST: 'Créer un nouveau Post',
|
|
2947
|
+
PAGES: 'Pages',
|
|
2948
|
+
FEATURES: 'Fonctionnalités',
|
|
2949
|
+
APPS: 'Applications',
|
|
2950
|
+
DASHBOARD: 'Tableau de Bord',
|
|
2951
|
+
},
|
|
2952
|
+
AUTH: {
|
|
2953
|
+
GENERAL: {
|
|
2954
|
+
OR: 'Ou',
|
|
2955
|
+
SUBMIT_BUTTON: 'Soumettre',
|
|
2956
|
+
NO_ACCOUNT: 'Ne pas avoir de compte?',
|
|
2957
|
+
SIGNUP_BUTTON: 'Registre',
|
|
2958
|
+
FORGOT_BUTTON: 'Mot de passe oublié',
|
|
2959
|
+
BACK_BUTTON: 'Back',
|
|
2960
|
+
PRIVACY: 'Privacy',
|
|
2961
|
+
LEGAL: 'Legal',
|
|
2962
|
+
CONTACT: 'Contact',
|
|
2963
|
+
},
|
|
2964
|
+
LOGIN: {
|
|
2965
|
+
TITLE: 'Créer un compte',
|
|
2966
|
+
BUTTON: 'Sign In',
|
|
2967
|
+
},
|
|
2968
|
+
FORGOT: {
|
|
2969
|
+
TITLE: 'Forgotten Password?',
|
|
2970
|
+
DESC: 'Enter your email to reset your password',
|
|
2971
|
+
SUCCESS: 'Your account has been successfully reset.'
|
|
2972
|
+
},
|
|
2973
|
+
REGISTER: {
|
|
2974
|
+
TITLE: 'Sign Up',
|
|
2975
|
+
DESC: 'Enter your details to create your account',
|
|
2976
|
+
SUCCESS: 'Your account has been successfuly registered.'
|
|
2977
|
+
},
|
|
2978
|
+
INPUT: {
|
|
2979
|
+
EMAIL: 'Email',
|
|
2980
|
+
FULLNAME: 'Fullname',
|
|
2981
|
+
PASSWORD: 'Mot de passe',
|
|
2982
|
+
CONFIRM_PASSWORD: 'Confirm Password',
|
|
2983
|
+
USERNAME: 'Nom d\'utilisateur'
|
|
2984
|
+
},
|
|
2985
|
+
VALIDATION: {
|
|
2986
|
+
INVALID: '{{name}} n\'est pas valide',
|
|
2987
|
+
REQUIRED: '{{name}} est requis',
|
|
2988
|
+
MIN_LENGTH: '{{name}} minimum length is {{min}}',
|
|
2989
|
+
AGREEMENT_REQUIRED: 'Accepting terms & conditions are required',
|
|
2990
|
+
NOT_FOUND: 'The requested {{name}} is not found',
|
|
2991
|
+
INVALID_LOGIN: 'The login detail is incorrect',
|
|
2992
|
+
REQUIRED_FIELD: 'Required field',
|
|
2993
|
+
MIN_LENGTH_FIELD: 'Minimum field length:',
|
|
2994
|
+
MAX_LENGTH_FIELD: 'Maximum field length:',
|
|
2995
|
+
INVALID_FIELD: 'Field is not valid',
|
|
2996
|
+
}
|
|
2997
|
+
},
|
|
2998
|
+
ECOMMERCE: {
|
|
2999
|
+
COMMON: {
|
|
3000
|
+
SELECTED_RECORDS_COUNT: 'Nombre d\'enregistrements sélectionnés: ',
|
|
3001
|
+
ALL: 'All',
|
|
3002
|
+
SUSPENDED: 'Suspended',
|
|
3003
|
+
ACTIVE: 'Active',
|
|
3004
|
+
FILTER: 'Filter',
|
|
3005
|
+
BY_STATUS: 'by Status',
|
|
3006
|
+
BY_TYPE: 'by Type',
|
|
3007
|
+
BUSINESS: 'Business',
|
|
3008
|
+
INDIVIDUAL: 'Individual',
|
|
3009
|
+
SEARCH: 'Search',
|
|
3010
|
+
IN_ALL_FIELDS: 'in all fields'
|
|
3011
|
+
},
|
|
3012
|
+
ECOMMERCE: 'éCommerce',
|
|
3013
|
+
CUSTOMERS: {
|
|
3014
|
+
CUSTOMERS: 'Les clients',
|
|
3015
|
+
CUSTOMERS_LIST: 'Liste des clients',
|
|
3016
|
+
NEW_CUSTOMER: 'Nouveau client',
|
|
3017
|
+
DELETE_CUSTOMER_SIMPLE: {
|
|
3018
|
+
TITLE: 'Suppression du client',
|
|
3019
|
+
DESCRIPTION: 'Êtes-vous sûr de supprimer définitivement ce client?',
|
|
3020
|
+
WAIT_DESCRIPTION: 'Le client est en train de supprimer ...',
|
|
3021
|
+
MESSAGE: 'Le client a été supprimé'
|
|
3022
|
+
},
|
|
3023
|
+
DELETE_CUSTOMER_MULTY: {
|
|
3024
|
+
TITLE: 'Supprimer les clients',
|
|
3025
|
+
DESCRIPTION: 'Êtes-vous sûr de supprimer définitivement les clients sélectionnés?',
|
|
3026
|
+
WAIT_DESCRIPTION: 'Les clients suppriment ...',
|
|
3027
|
+
MESSAGE: 'Les clients sélectionnés ont été supprimés'
|
|
3028
|
+
},
|
|
3029
|
+
UPDATE_STATUS: {
|
|
3030
|
+
TITLE: 'Le statut a été mis à jour pour les clients sélectionnés',
|
|
3031
|
+
MESSAGE: 'Le statut des clients sélectionnés a été mis à jour avec succès'
|
|
3032
|
+
},
|
|
3033
|
+
EDIT: {
|
|
3034
|
+
UPDATE_MESSAGE: 'Le client a été mis à jour',
|
|
3035
|
+
ADD_MESSAGE: 'Le client a été créé'
|
|
3036
|
+
}
|
|
3037
|
+
}
|
|
3038
|
+
}
|
|
3039
|
+
}
|
|
3040
|
+
};
|
|
3041
|
+
|
|
3042
|
+
var fr = /*#__PURE__*/Object.freeze({
|
|
3043
|
+
__proto__: null,
|
|
3044
|
+
locale: locale$1
|
|
3045
|
+
});
|
|
3046
|
+
|
|
3047
|
+
// Japan
|
|
3048
|
+
const locale = {
|
|
3049
|
+
lang: 'ja',
|
|
3050
|
+
data: {
|
|
3051
|
+
TRANSLATOR: {
|
|
3052
|
+
SELECT: 'あなたが使う言語を選んでください',
|
|
3053
|
+
},
|
|
3054
|
+
MENU: {
|
|
3055
|
+
NEW: '新しい',
|
|
3056
|
+
ACTIONS: '行動',
|
|
3057
|
+
CREATE_POST: '新しい投稿を作成',
|
|
3058
|
+
PAGES: 'Pages',
|
|
3059
|
+
FEATURES: '特徴',
|
|
3060
|
+
APPS: 'アプリ',
|
|
3061
|
+
DASHBOARD: 'ダッシュボード',
|
|
3062
|
+
},
|
|
3063
|
+
AUTH: {
|
|
3064
|
+
GENERAL: {
|
|
3065
|
+
OR: 'または',
|
|
3066
|
+
SUBMIT_BUTTON: '提出する',
|
|
3067
|
+
NO_ACCOUNT: 'アカウントを持っていない?',
|
|
3068
|
+
SIGNUP_BUTTON: 'サインアップ',
|
|
3069
|
+
FORGOT_BUTTON: 'パスワードをお忘れですか',
|
|
3070
|
+
BACK_BUTTON: 'バック',
|
|
3071
|
+
PRIVACY: 'プライバシー',
|
|
3072
|
+
LEGAL: '法的',
|
|
3073
|
+
CONTACT: '接触',
|
|
3074
|
+
},
|
|
3075
|
+
LOGIN: {
|
|
3076
|
+
TITLE: 'Create Account',
|
|
3077
|
+
BUTTON: 'Sign In',
|
|
3078
|
+
},
|
|
3079
|
+
FORGOT: {
|
|
3080
|
+
TITLE: 'Forgotten Password?',
|
|
3081
|
+
DESC: 'Enter your email to reset your password',
|
|
3082
|
+
SUCCESS: 'Your account has been successfully reset.',
|
|
3083
|
+
},
|
|
3084
|
+
REGISTER: {
|
|
3085
|
+
TITLE: 'Sign Up',
|
|
3086
|
+
DESC: 'Enter your details to create your account',
|
|
3087
|
+
SUCCESS: 'Your account has been successfuly registered.',
|
|
3088
|
+
},
|
|
3089
|
+
INPUT: {
|
|
3090
|
+
EMAIL: 'Email',
|
|
3091
|
+
FULLNAME: 'Fullname',
|
|
3092
|
+
PASSWORD: 'Password',
|
|
3093
|
+
CONFIRM_PASSWORD: 'Confirm Password',
|
|
3094
|
+
USERNAME: 'ユーザー名',
|
|
3095
|
+
},
|
|
3096
|
+
VALIDATION: {
|
|
3097
|
+
INVALID: '{{name}} is not valid',
|
|
3098
|
+
REQUIRED: '{{name}} is required',
|
|
3099
|
+
MIN_LENGTH: '{{name}} minimum length is {{min}}',
|
|
3100
|
+
AGREEMENT_REQUIRED: 'Accepting terms & conditions are required',
|
|
3101
|
+
NOT_FOUND: 'The requested {{name}} is not found',
|
|
3102
|
+
INVALID_LOGIN: 'The login detail is incorrect',
|
|
3103
|
+
REQUIRED_FIELD: 'Required field',
|
|
3104
|
+
MIN_LENGTH_FIELD: 'Minimum field length:',
|
|
3105
|
+
MAX_LENGTH_FIELD: 'Maximum field length:',
|
|
3106
|
+
INVALID_FIELD: 'Field is not valid',
|
|
3107
|
+
},
|
|
3108
|
+
},
|
|
3109
|
+
ECOMMERCE: {
|
|
3110
|
+
COMMON: {
|
|
3111
|
+
SELECTED_RECORDS_COUNT: 'Selected records count: ',
|
|
3112
|
+
ALL: 'All',
|
|
3113
|
+
SUSPENDED: 'Suspended',
|
|
3114
|
+
ACTIVE: 'Active',
|
|
3115
|
+
FILTER: 'Filter',
|
|
3116
|
+
BY_STATUS: 'by Status',
|
|
3117
|
+
BY_TYPE: 'by Type',
|
|
3118
|
+
BUSINESS: 'Business',
|
|
3119
|
+
INDIVIDUAL: 'Individual',
|
|
3120
|
+
SEARCH: 'Search',
|
|
3121
|
+
IN_ALL_FIELDS: 'in all fields',
|
|
3122
|
+
},
|
|
3123
|
+
ECOMMERCE: 'eCommerce',
|
|
3124
|
+
CUSTOMERS: {
|
|
3125
|
+
CUSTOMERS: 'Customers',
|
|
3126
|
+
CUSTOMERS_LIST: 'Customers list',
|
|
3127
|
+
NEW_CUSTOMER: 'New Customer',
|
|
3128
|
+
DELETE_CUSTOMER_SIMPLE: {
|
|
3129
|
+
TITLE: 'Customer Delete',
|
|
3130
|
+
DESCRIPTION: 'Are you sure to permanently delete this customer?',
|
|
3131
|
+
WAIT_DESCRIPTION: 'Customer is deleting...',
|
|
3132
|
+
MESSAGE: 'Customer has been deleted',
|
|
3133
|
+
},
|
|
3134
|
+
DELETE_CUSTOMER_MULTY: {
|
|
3135
|
+
TITLE: 'Customers Delete',
|
|
3136
|
+
DESCRIPTION: 'Are you sure to permanently delete selected customers?',
|
|
3137
|
+
WAIT_DESCRIPTION: 'Customers are deleting...',
|
|
3138
|
+
MESSAGE: 'Selected customers have been deleted',
|
|
3139
|
+
},
|
|
3140
|
+
UPDATE_STATUS: {
|
|
3141
|
+
TITLE: 'Status has been updated for selected customers',
|
|
3142
|
+
MESSAGE: 'Selected customers status have successfully been updated',
|
|
3143
|
+
},
|
|
3144
|
+
EDIT: {
|
|
3145
|
+
UPDATE_MESSAGE: 'Customer has been updated',
|
|
3146
|
+
ADD_MESSAGE: 'Customer has been created',
|
|
3147
|
+
},
|
|
3148
|
+
},
|
|
3149
|
+
},
|
|
3150
|
+
},
|
|
3151
|
+
};
|
|
3152
|
+
|
|
3153
|
+
var jp = /*#__PURE__*/Object.freeze({
|
|
3154
|
+
__proto__: null,
|
|
3155
|
+
locale: locale
|
|
3156
|
+
});
|
|
3157
|
+
|
|
3158
|
+
const Routing = [
|
|
3159
|
+
{
|
|
3160
|
+
path: 'manage',
|
|
3161
|
+
loadChildren: () => import('./tango-app-ui-shared-manage-wrapper.module-B6GJQNQZ.mjs').then((m) => m.ManageWrapperModule),
|
|
3162
|
+
},
|
|
3163
|
+
{
|
|
3164
|
+
path: 'manage/stores/:id',
|
|
3165
|
+
loadChildren: () => import('./tango-app-ui-shared-store-wrapper.module-UYYC9an_.mjs').then((m) => m.StoreWrapperModule),
|
|
3166
|
+
},
|
|
3167
|
+
{
|
|
3168
|
+
path: 'profile',
|
|
3169
|
+
loadChildren: () => import('./tango-app-ui-shared-profile-wrapper.module-CTJBnU9I.mjs').then((m) => m.ProfileWrapperModule),
|
|
3170
|
+
},
|
|
3171
|
+
{
|
|
3172
|
+
path: '',
|
|
3173
|
+
redirectTo: '/manage',
|
|
3174
|
+
pathMatch: 'full',
|
|
3175
|
+
},
|
|
3176
|
+
{
|
|
3177
|
+
path: '**',
|
|
3178
|
+
redirectTo: 'error/404',
|
|
3179
|
+
},
|
|
3180
|
+
];
|
|
3181
|
+
|
|
3182
|
+
const routes$1 = [
|
|
3183
|
+
{
|
|
3184
|
+
path: '',
|
|
3185
|
+
component: LayoutComponent,
|
|
3186
|
+
children: Routing,
|
|
3187
|
+
},
|
|
3188
|
+
];
|
|
3189
|
+
class LayoutModule {
|
|
3190
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3191
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: LayoutModule, declarations: [LayoutComponent,
|
|
3192
|
+
HeaderComponent,
|
|
3193
|
+
ContentComponent,
|
|
3194
|
+
FooterComponent,
|
|
3195
|
+
ScriptsInitComponent,
|
|
3196
|
+
ToolbarComponent,
|
|
3197
|
+
PageTitleComponent,
|
|
3198
|
+
HeaderMenuComponent,
|
|
3199
|
+
// EngagesComponent,
|
|
3200
|
+
SidebarComponent,
|
|
3201
|
+
SidebarLogoComponent,
|
|
3202
|
+
SidebarMenuComponent,
|
|
3203
|
+
SidebarFooterComponent,
|
|
3204
|
+
NavbarComponent,
|
|
3205
|
+
AccountingComponent,
|
|
3206
|
+
ClassicComponent,
|
|
3207
|
+
ExtendedComponent,
|
|
3208
|
+
ReportsComponent,
|
|
3209
|
+
SaasComponent,
|
|
3210
|
+
KeeniconComponent,
|
|
3211
|
+
LayoutScrollTopComponent], imports: [CommonModule, i1$1.RouterModule, TranslationModule,
|
|
3212
|
+
InlineSVGModule,
|
|
3213
|
+
NgbDropdownModule,
|
|
3214
|
+
NgbProgressbarModule,
|
|
3215
|
+
// ExtrasModule,
|
|
3216
|
+
// ModalsModule,
|
|
3217
|
+
// DrawersModule,
|
|
3218
|
+
// EngagesModule,
|
|
3219
|
+
// DropdownMenusModule,
|
|
3220
|
+
NgbTooltipModule,
|
|
3221
|
+
TranslateModule], exports: [RouterModule] });
|
|
3222
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LayoutModule, imports: [CommonModule,
|
|
3223
|
+
RouterModule.forChild(routes$1),
|
|
3224
|
+
TranslationModule,
|
|
3225
|
+
InlineSVGModule,
|
|
3226
|
+
NgbDropdownModule,
|
|
3227
|
+
NgbProgressbarModule,
|
|
3228
|
+
// ExtrasModule,
|
|
3229
|
+
// ModalsModule,
|
|
3230
|
+
// DrawersModule,
|
|
3231
|
+
// EngagesModule,
|
|
3232
|
+
// DropdownMenusModule,
|
|
3233
|
+
NgbTooltipModule,
|
|
3234
|
+
TranslateModule, RouterModule] });
|
|
3235
|
+
}
|
|
3236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LayoutModule, decorators: [{
|
|
3237
|
+
type: NgModule,
|
|
3238
|
+
args: [{
|
|
3239
|
+
declarations: [
|
|
3240
|
+
LayoutComponent,
|
|
3241
|
+
HeaderComponent,
|
|
3242
|
+
ContentComponent,
|
|
3243
|
+
FooterComponent,
|
|
3244
|
+
ScriptsInitComponent,
|
|
3245
|
+
ToolbarComponent,
|
|
3246
|
+
PageTitleComponent,
|
|
3247
|
+
HeaderMenuComponent,
|
|
3248
|
+
// EngagesComponent,
|
|
3249
|
+
SidebarComponent,
|
|
3250
|
+
SidebarLogoComponent,
|
|
3251
|
+
SidebarMenuComponent,
|
|
3252
|
+
SidebarFooterComponent,
|
|
3253
|
+
NavbarComponent,
|
|
3254
|
+
AccountingComponent,
|
|
3255
|
+
ClassicComponent,
|
|
3256
|
+
ExtendedComponent,
|
|
3257
|
+
ReportsComponent,
|
|
3258
|
+
SaasComponent,
|
|
3259
|
+
KeeniconComponent,
|
|
3260
|
+
LayoutScrollTopComponent
|
|
3261
|
+
],
|
|
3262
|
+
imports: [
|
|
3263
|
+
CommonModule,
|
|
3264
|
+
RouterModule.forChild(routes$1),
|
|
3265
|
+
TranslationModule,
|
|
3266
|
+
InlineSVGModule,
|
|
3267
|
+
NgbDropdownModule,
|
|
3268
|
+
NgbProgressbarModule,
|
|
3269
|
+
// ExtrasModule,
|
|
3270
|
+
// ModalsModule,
|
|
3271
|
+
// DrawersModule,
|
|
3272
|
+
// EngagesModule,
|
|
3273
|
+
// DropdownMenusModule,
|
|
3274
|
+
NgbTooltipModule,
|
|
3275
|
+
TranslateModule,
|
|
3276
|
+
// ThemeModeModule,
|
|
3277
|
+
],
|
|
3278
|
+
exports: [RouterModule],
|
|
3279
|
+
}]
|
|
3280
|
+
}] });
|
|
3281
|
+
|
|
3282
|
+
const routes = [
|
|
3283
|
+
{
|
|
3284
|
+
path: '',
|
|
3285
|
+
component: ErrorsComponent,
|
|
3286
|
+
children: [
|
|
3287
|
+
{
|
|
3288
|
+
path: '404',
|
|
3289
|
+
component: Error404Component,
|
|
3290
|
+
},
|
|
3291
|
+
{
|
|
3292
|
+
path: '500',
|
|
3293
|
+
component: Error500Component,
|
|
3294
|
+
},
|
|
3295
|
+
{ path: '', redirectTo: '404', pathMatch: 'full' },
|
|
3296
|
+
{ path: '**', redirectTo: '404', pathMatch: 'full' },
|
|
3297
|
+
],
|
|
3298
|
+
},
|
|
3299
|
+
];
|
|
3300
|
+
class ErrorsRoutingModule {
|
|
3301
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ErrorsRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3302
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: ErrorsRoutingModule, imports: [i1$1.RouterModule], exports: [RouterModule] });
|
|
3303
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ErrorsRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] });
|
|
3304
|
+
}
|
|
3305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ErrorsRoutingModule, decorators: [{
|
|
3306
|
+
type: NgModule,
|
|
3307
|
+
args: [{
|
|
3308
|
+
imports: [RouterModule.forChild(routes)],
|
|
3309
|
+
exports: [RouterModule],
|
|
3310
|
+
}]
|
|
3311
|
+
}] });
|
|
3312
|
+
|
|
3313
|
+
class ErrorsModule {
|
|
3314
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ErrorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3315
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: ErrorsModule, declarations: [ErrorsComponent,
|
|
3316
|
+
Error404Component,
|
|
3317
|
+
Error500Component], imports: [CommonModule,
|
|
3318
|
+
ErrorsRoutingModule] });
|
|
3319
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ErrorsModule, imports: [CommonModule,
|
|
3320
|
+
ErrorsRoutingModule] });
|
|
3321
|
+
}
|
|
3322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ErrorsModule, decorators: [{
|
|
3323
|
+
type: NgModule,
|
|
3324
|
+
args: [{
|
|
3325
|
+
declarations: [
|
|
3326
|
+
ErrorsComponent,
|
|
3327
|
+
Error404Component,
|
|
3328
|
+
Error500Component
|
|
3329
|
+
],
|
|
3330
|
+
imports: [
|
|
3331
|
+
CommonModule,
|
|
3332
|
+
ErrorsRoutingModule
|
|
3333
|
+
]
|
|
3334
|
+
}]
|
|
3335
|
+
}] });
|
|
3336
|
+
|
|
3337
|
+
class AuthService {
|
|
3338
|
+
router;
|
|
3339
|
+
constructor(router) {
|
|
3340
|
+
this.router = router;
|
|
3341
|
+
}
|
|
3342
|
+
logout() {
|
|
3343
|
+
this.router.navigate(['/auth/login'], {
|
|
3344
|
+
queryParams: {},
|
|
3345
|
+
});
|
|
3346
|
+
}
|
|
3347
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AuthService, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3348
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AuthService, providedIn: 'root' });
|
|
3349
|
+
}
|
|
3350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AuthService, decorators: [{
|
|
3351
|
+
type: Injectable,
|
|
3352
|
+
args: [{
|
|
3353
|
+
providedIn: 'root'
|
|
3354
|
+
}]
|
|
3355
|
+
}], ctorParameters: () => [{ type: i1$1.Router }] });
|
|
3356
|
+
|
|
3357
|
+
class AuthGuard {
|
|
3358
|
+
authService;
|
|
3359
|
+
constructor(authService) {
|
|
3360
|
+
this.authService = authService;
|
|
3361
|
+
}
|
|
3362
|
+
canActivate(route, state) {
|
|
3363
|
+
const currentUser = localStorage.getItem('isLoggedIn');
|
|
3364
|
+
if (currentUser === 'true') {
|
|
3365
|
+
// logged in so return true
|
|
3366
|
+
return true;
|
|
3367
|
+
}
|
|
3368
|
+
// not logged in so redirect to login page with the return url
|
|
3369
|
+
this.authService.logout();
|
|
3370
|
+
return false;
|
|
3371
|
+
}
|
|
3372
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AuthGuard, deps: [{ token: AuthService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3373
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AuthGuard, providedIn: 'root' });
|
|
3374
|
+
}
|
|
3375
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AuthGuard, decorators: [{
|
|
3376
|
+
type: Injectable,
|
|
3377
|
+
args: [{ providedIn: 'root' }]
|
|
3378
|
+
}], ctorParameters: () => [{ type: AuthService }] });
|
|
3379
|
+
|
|
3380
|
+
class GlobalStateService {
|
|
3381
|
+
userData = new BehaviorSubject(null);
|
|
3382
|
+
environment = new BehaviorSubject(null);
|
|
3383
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: GlobalStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3384
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: GlobalStateService, providedIn: 'root' });
|
|
3385
|
+
}
|
|
3386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: GlobalStateService, decorators: [{
|
|
3387
|
+
type: Injectable,
|
|
3388
|
+
args: [{
|
|
3389
|
+
providedIn: 'root'
|
|
3390
|
+
}]
|
|
3391
|
+
}] });
|
|
3392
|
+
|
|
3393
|
+
class HttpAuthInterceptor {
|
|
3394
|
+
constructor() { }
|
|
3395
|
+
intercept(request, next) {
|
|
3396
|
+
request = request.clone({
|
|
3397
|
+
setHeaders: {
|
|
3398
|
+
Authorization: `Bearer 7762ffb2-58be-47ab-be39-99e776bfe78a`
|
|
3399
|
+
}
|
|
3400
|
+
});
|
|
3401
|
+
return next.handle(request);
|
|
3402
|
+
}
|
|
3403
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: HttpAuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3404
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: HttpAuthInterceptor });
|
|
3405
|
+
}
|
|
3406
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: HttpAuthInterceptor, decorators: [{
|
|
3407
|
+
type: Injectable
|
|
3408
|
+
}], ctorParameters: () => [] });
|
|
3409
|
+
|
|
3410
|
+
/*
|
|
3411
|
+
* Public API Surface of tango-app-shared
|
|
3412
|
+
*/
|
|
3413
|
+
// Components
|
|
3414
|
+
|
|
3415
|
+
/**
|
|
3416
|
+
* Generated bundle index. Do not edit.
|
|
3417
|
+
*/
|
|
3418
|
+
|
|
3419
|
+
export { AccountingComponent, AuthGuard, AuthService, ClassicComponent, ContentComponent, Error404Component, Error500Component, ErrorsComponent, ErrorsModule, ExtendedComponent, FooterComponent, GlobalStateService, HeaderComponent, HeaderMenuComponent, HttpAuthInterceptor, LayoutComponent, LayoutModule, LayoutScrollTopComponent, NavbarComponent, PageTitleComponent, ReportsComponent, SaasComponent, ScriptsInitComponent, SidebarComponent, SidebarFooterComponent, SidebarLogoComponent, SidebarMenuComponent, ToolbarComponent, TranslationModule, TranslationService, ch as chLang, de as deLang, en as enLang, es as esLang, fr as frLang, jp as jpLang };
|
|
3420
|
+
//# sourceMappingURL=tango-app-ui-shared.mjs.map
|