tango-app-ui-shared 3.0.28-dev → 3.0.30-dev
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/lead.guard.mjs +16 -0
- package/esm2022/lib/guards/tickets.guard.mjs +2 -2
- package/esm2022/lib/interceptors/http-auth-interceptor.mjs +11 -4
- package/esm2022/lib/modules/common/filters/filters.component.mjs +3 -3
- package/esm2022/lib/modules/errors/error403/error403.component.mjs +33 -0
- package/esm2022/lib/modules/errors/error404/error404.component.mjs +11 -11
- package/esm2022/lib/modules/errors/errors-routing.module.mjs +6 -1
- package/esm2022/lib/modules/errors/errors.module.mjs +6 -3
- package/esm2022/lib/modules/intro/intro-routing.module.mjs +24 -0
- package/esm2022/lib/modules/intro/intro.module.mjs +25 -0
- package/esm2022/lib/modules/intro/lead-intro/lead-intro.component.mjs +25 -0
- package/esm2022/lib/modules/layout/layout/layout.component.mjs +4 -1
- package/esm2022/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.mjs +32 -26
- package/esm2022/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.mjs +3 -3
- package/esm2022/lib/modules/layout/sidebar/sidebar.component.mjs +3 -3
- package/esm2022/lib/modules/layout/toolbar/classic/classic.component.mjs +7 -3
- package/esm2022/lib/modules/layout/toolbar/client-settings/client-settings.component.mjs +17 -20
- package/esm2022/lib/modules/layout/toolbar/date-single-select/date-single-select.component.mjs +7 -10
- package/esm2022/lib/modules/layout/toolbar/datepicker/datepicker.component.mjs +58 -34
- package/esm2022/lib/modules/layout/toolbar/single-store/single-store.component.mjs +6 -2
- package/esm2022/lib/modules/layout/toolbar/toolbar.component.mjs +63 -27
- package/esm2022/lib/routes/route-wraper-modules/edge-wrapper.module.mjs +18 -0
- package/esm2022/lib/routes/routing.mjs +15 -8
- package/fesm2022/tango-app-ui-shared-edge-wrapper.module-DM8Er_Bd.mjs +21 -0
- package/fesm2022/tango-app-ui-shared-edge-wrapper.module-DM8Er_Bd.mjs.map +1 -0
- package/fesm2022/tango-app-ui-shared-intro.module-6XgiboVK.mjs +70 -0
- package/fesm2022/tango-app-ui-shared-intro.module-6XgiboVK.mjs.map +1 -0
- package/fesm2022/tango-app-ui-shared.mjs +281 -140
- package/fesm2022/tango-app-ui-shared.mjs.map +1 -1
- package/lib/guards/lead.guard.d.ts +2 -0
- package/lib/interceptors/http-auth-interceptor.d.ts +3 -1
- package/lib/modules/errors/error403/error403.component.d.ts +14 -0
- package/lib/modules/errors/errors.module.d.ts +4 -3
- package/lib/modules/intro/intro-routing.module.d.ts +7 -0
- package/lib/modules/intro/intro.module.d.ts +9 -0
- package/lib/modules/intro/lead-intro/lead-intro.component.d.ts +9 -0
- package/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.d.ts +8 -2
- package/lib/modules/layout/toolbar/datepicker/datepicker.component.d.ts +7 -6
- package/lib/modules/layout/toolbar/toolbar.component.d.ts +4 -3
- package/lib/routes/route-wraper-modules/edge-wrapper.module.d.ts +7 -0
- package/package.json +1 -1
|
@@ -2,14 +2,16 @@ import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from '@angular/c
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { GlobalStateService } from 'tango-app-ui-global';
|
|
4
4
|
import { AuthService } from '../services/auth.service';
|
|
5
|
+
import { Router } from '@angular/router';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class HttpAuthInterceptor implements HttpInterceptor {
|
|
7
8
|
private gs;
|
|
8
9
|
private authService;
|
|
10
|
+
private router;
|
|
9
11
|
authlocalStorageToken: string;
|
|
10
12
|
private isRefreshingToken;
|
|
11
13
|
private tokenRefreshed;
|
|
12
|
-
constructor(gs: GlobalStateService, authService: AuthService);
|
|
14
|
+
constructor(gs: GlobalStateService, authService: AuthService, router: Router);
|
|
13
15
|
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
14
16
|
private handle401Error;
|
|
15
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<HttpAuthInterceptor, never>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { ThemeModeService } from 'tango-app-ui-global';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class Error403Component implements OnInit, OnDestroy {
|
|
6
|
+
private router;
|
|
7
|
+
private modeService;
|
|
8
|
+
private unsubscribe;
|
|
9
|
+
constructor(router: Router, modeService: ThemeModeService);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
ngOnDestroy(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Error403Component, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Error403Component, "lib-error403", never, {}, {}, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -2,10 +2,11 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./errors.component";
|
|
3
3
|
import * as i2 from "./error404/error404.component";
|
|
4
4
|
import * as i3 from "./error500/error500.component";
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "
|
|
5
|
+
import * as i4 from "./error403/error403.component";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "./errors-routing.module";
|
|
7
8
|
export declare class ErrorsModule {
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorsModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ErrorsModule, [typeof i1.ErrorsComponent, typeof i2.Error404Component, typeof i3.Error500Component], [typeof
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ErrorsModule, [typeof i1.ErrorsComponent, typeof i2.Error404Component, typeof i3.Error500Component, typeof i4.Error403Component], [typeof i5.CommonModule, typeof i6.ErrorsRoutingModule], never>;
|
|
10
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<ErrorsModule>;
|
|
11
12
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
export declare class IntroRoutingModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IntroRoutingModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IntroRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IntroRoutingModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./lead-intro/lead-intro.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "./intro-routing.module";
|
|
5
|
+
export declare class IntroModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IntroModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IntroModule, [typeof i1.LeadIntroComponent], [typeof i2.CommonModule, typeof i3.IntroRoutingModule], never>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IntroModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PageInfoService } from 'tango-app-ui-global';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LeadIntroComponent {
|
|
4
|
+
private pageInfo;
|
|
5
|
+
constructor(pageInfo: PageInfoService);
|
|
6
|
+
setPageData(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LeadIntroComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LeadIntroComponent, "lib-lead-intro", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
3
|
import { AuthService } from '../../../../services/auth.service';
|
|
4
4
|
import { LayoutService, LayoutType } from 'tango-app-ui-global';
|
|
@@ -7,6 +7,7 @@ export declare class SidebarFooterComponent implements OnInit, OnDestroy {
|
|
|
7
7
|
private auth;
|
|
8
8
|
private router;
|
|
9
9
|
private layout;
|
|
10
|
+
private ngZone;
|
|
10
11
|
isSubMenuActive: boolean;
|
|
11
12
|
userValue: any;
|
|
12
13
|
hovered: boolean;
|
|
@@ -20,9 +21,14 @@ export declare class SidebarFooterComponent implements OnInit, OnDestroy {
|
|
|
20
21
|
toggleAttr: string;
|
|
21
22
|
shouldShowMenuTop: boolean;
|
|
22
23
|
private readonly destroy$;
|
|
23
|
-
|
|
24
|
+
openshow: boolean;
|
|
25
|
+
constructor(auth: AuthService, router: Router, layout: LayoutService, ngZone: NgZone);
|
|
26
|
+
isArrowReversed: boolean;
|
|
27
|
+
setArrowDirection(isMouseOver: boolean): void;
|
|
24
28
|
ngOnInit(): void;
|
|
25
29
|
toggleMenu(): void;
|
|
30
|
+
profileUrl(): void;
|
|
31
|
+
closeMenu(): void;
|
|
26
32
|
logout(): void;
|
|
27
33
|
ngOnDestroy(): void;
|
|
28
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarFooterComponent, never>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit } from
|
|
2
|
-
import dayjs from
|
|
3
|
-
import
|
|
4
|
-
import { LayoutService } from
|
|
5
|
-
import { AuthService } from
|
|
6
|
-
import { GlobalStateService } from
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from "@angular/core";
|
|
2
|
+
import dayjs from "dayjs";
|
|
3
|
+
import "dayjs/locale/en";
|
|
4
|
+
import { LayoutService } from "tango-app-ui-global";
|
|
5
|
+
import { AuthService } from "../../../../services/auth.service";
|
|
6
|
+
import { GlobalStateService } from "tango-app-ui-global";
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class DatepickerComponent implements OnDestroy, OnInit {
|
|
9
9
|
private layout;
|
|
@@ -15,6 +15,7 @@ export declare class DatepickerComponent implements OnDestroy, OnInit {
|
|
|
15
15
|
isCustomDate: (m: dayjs.Dayjs) => false | "invalid-date";
|
|
16
16
|
selectedDateRange: any;
|
|
17
17
|
selectedFilters: any;
|
|
18
|
+
users: any;
|
|
18
19
|
constructor(layout: LayoutService, gs: GlobalStateService, service: AuthService, cd: ChangeDetectorRef);
|
|
19
20
|
ngOnDestroy(): void;
|
|
20
21
|
ngOnInit(): void;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from "@angular/core";
|
|
2
2
|
import { ActivatedRoute, Router } from "@angular/router";
|
|
3
|
-
import {
|
|
3
|
+
import { GlobalStateService, LayoutService } from "tango-app-ui-global";
|
|
4
4
|
import { ILayout, LayoutType } from "tango-app-ui-global";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class ToolbarComponent implements OnInit, OnDestroy {
|
|
7
7
|
private layout;
|
|
8
8
|
private router;
|
|
9
9
|
private route;
|
|
10
|
-
|
|
10
|
+
gs: GlobalStateService;
|
|
11
11
|
private unsubscribe;
|
|
12
12
|
currentLayoutType: LayoutType | null;
|
|
13
13
|
appToolbarLayout: "classic" | "accounting" | "extended" | "reports" | "saas";
|
|
@@ -29,7 +29,8 @@ export declare class ToolbarComponent implements OnInit, OnDestroy {
|
|
|
29
29
|
singleStore: boolean;
|
|
30
30
|
headervalue: any;
|
|
31
31
|
storeId: any;
|
|
32
|
-
|
|
32
|
+
users: any;
|
|
33
|
+
constructor(layout: LayoutService, router: Router, route: ActivatedRoute, gs: GlobalStateService);
|
|
33
34
|
ngOnInit(): void;
|
|
34
35
|
updateProps(config: ILayout): void;
|
|
35
36
|
ngOnDestroy(): void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "tango-app-ui-stores-edgeapp";
|
|
3
|
+
export declare class TangoEdgeAppWrapperModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TangoEdgeAppWrapperModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TangoEdgeAppWrapperModule, never, [typeof i1.TangoStoresEdgeappModule], never>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TangoEdgeAppWrapperModule>;
|
|
7
|
+
}
|