tango-app-ui-shared 3.0.20-dev → 3.0.22-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/interceptors/http-auth-interceptor.mjs +2 -2
- package/esm2022/lib/modules/common/filters/filters.component.mjs +37 -45
- package/esm2022/lib/modules/errors/errors.component.mjs +2 -2
- package/esm2022/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.mjs +47 -13
- package/esm2022/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.mjs +2 -2
- package/esm2022/lib/modules/layout/sidebar/sidebar.component.mjs +3 -3
- package/esm2022/lib/modules/layout/toolbar/classic/classic.component.mjs +9 -10
- package/esm2022/lib/modules/layout/toolbar/client-settings/client-settings.component.mjs +27 -12
- package/esm2022/lib/modules/layout/toolbar/date-single-select/date-single-select.component.mjs +3 -2
- package/esm2022/lib/modules/layout/toolbar/datepicker/datepicker.component.mjs +2 -2
- package/esm2022/lib/modules/layout/toolbar/single-store/single-store.component.mjs +3 -2
- package/esm2022/lib/modules/layout/toolbar/toolbar.component.mjs +15 -17
- package/esm2022/lib/services/auth.service.mjs +16 -6
- package/fesm2022/tango-app-ui-shared.mjs +171 -118
- package/fesm2022/tango-app-ui-shared.mjs.map +1 -1
- package/lib/interceptors/http-auth-interceptor.d.ts +1 -1
- package/lib/modules/common/filters/filters.component.d.ts +9 -5
- package/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.d.ts +16 -4
- package/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.d.ts +2 -2
- package/lib/modules/layout/sidebar/sidebar.component.d.ts +2 -2
- package/lib/modules/layout/toolbar/classic/classic.component.d.ts +3 -3
- package/lib/modules/layout/toolbar/client-settings/client-settings.component.d.ts +2 -2
- package/lib/modules/layout/toolbar/date-single-select/date-single-select.component.d.ts +2 -2
- package/lib/modules/layout/toolbar/datepicker/datepicker.component.d.ts +1 -1
- package/lib/modules/layout/toolbar/single-store/single-store.component.d.ts +2 -2
- package/lib/modules/layout/toolbar/toolbar.component.d.ts +3 -5
- package/lib/services/auth.service.d.ts +8 -3
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { GlobalStateService } from '
|
|
3
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class HttpAuthInterceptor implements HttpInterceptor {
|
|
6
6
|
private gs;
|
|
@@ -8,23 +8,27 @@ export declare class FiltersComponent implements OnInit {
|
|
|
8
8
|
dataObject: any[];
|
|
9
9
|
appliedFilters: EventEmitter<any>;
|
|
10
10
|
Opendropdown: boolean;
|
|
11
|
-
permission: {
|
|
12
|
-
group: string;
|
|
13
|
-
description: string;
|
|
14
|
-
}[];
|
|
15
11
|
showdropdown: any;
|
|
16
12
|
selectedValues: string[];
|
|
13
|
+
searchTerms: string[];
|
|
17
14
|
selectedValuesArray: any[];
|
|
18
15
|
searchValue: any;
|
|
16
|
+
selectedItem: any;
|
|
17
|
+
dropDown: boolean;
|
|
19
18
|
dummyArray: any[];
|
|
20
19
|
noFilter: boolean;
|
|
21
20
|
responseArray: any[];
|
|
21
|
+
productModule: any;
|
|
22
|
+
product: any;
|
|
23
|
+
selectedProductCount: string;
|
|
22
24
|
constructor(elementRef: ElementRef, renderer: Renderer2, router: Router);
|
|
23
25
|
onClick(event: MouseEvent): void;
|
|
24
26
|
ngOnInit(): void;
|
|
27
|
+
selectItem(event: any, index: any, subIndex: any): void;
|
|
28
|
+
openDropdown(event: MouseEvent, index: any): void;
|
|
25
29
|
opendropdown(e: MouseEvent): void;
|
|
26
30
|
Dropdown(value: any, index: number, event: MouseEvent): void;
|
|
27
|
-
toggleCheckbox(issue:
|
|
31
|
+
toggleCheckbox(event: any, issue: any, index: number, subIndex: number): void;
|
|
28
32
|
Reset(): void;
|
|
29
33
|
searchData(event: any, i: any): void;
|
|
30
34
|
Apply(): void;
|
|
@@ -1,15 +1,27 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
3
|
import { AuthService } from '../../../../services/auth.service';
|
|
4
|
+
import { LayoutService, LayoutType } from 'tango-app-ui-global';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SidebarFooterComponent implements OnInit {
|
|
6
|
+
export declare class SidebarFooterComponent implements OnInit, OnDestroy {
|
|
6
7
|
private auth;
|
|
7
8
|
private router;
|
|
9
|
+
private layout;
|
|
8
10
|
isSubMenuActive: boolean;
|
|
9
|
-
|
|
11
|
+
userValue: any;
|
|
12
|
+
hovered: boolean;
|
|
13
|
+
private unsubscribe;
|
|
14
|
+
toggleButtonClass: string;
|
|
15
|
+
toggleEnabled: boolean;
|
|
16
|
+
toggleType: string;
|
|
17
|
+
toggleState: string;
|
|
18
|
+
currentLayoutType: LayoutType | null;
|
|
19
|
+
toggleAttr: string;
|
|
20
|
+
constructor(auth: AuthService, router: Router, layout: LayoutService);
|
|
10
21
|
ngOnInit(): void;
|
|
11
22
|
toggleMenu(): void;
|
|
12
23
|
logout(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
13
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarFooterComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarFooterComponent, "lib-sidebar-footer", never, {}, {}, never, never, false, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarFooterComponent, "lib-sidebar-footer", never, { "toggleButtonClass": { "alias": "toggleButtonClass"; "required": false; }; "toggleEnabled": { "alias": "toggleEnabled"; "required": false; }; "toggleType": { "alias": "toggleType"; "required": false; }; "toggleState": { "alias": "toggleState"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
27
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { LayoutService } from 'tango-app-ui-
|
|
3
|
-
import { LayoutType } from 'tango-app-ui-
|
|
2
|
+
import { LayoutService } from 'tango-app-ui-global';
|
|
3
|
+
import { LayoutType } from 'tango-app-ui-global';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SidebarLogoComponent implements OnInit, OnDestroy {
|
|
6
6
|
private layout;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { LayoutService } from 'tango-app-ui-
|
|
3
|
-
import { ILayout } from 'tango-app-ui-
|
|
2
|
+
import { LayoutService } from 'tango-app-ui-global';
|
|
3
|
+
import { ILayout } from 'tango-app-ui-global';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SidebarComponent implements OnInit, OnDestroy {
|
|
6
6
|
private layout;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from "@angular/core";
|
|
2
|
-
import { LayoutService } from "tango-app-ui-
|
|
2
|
+
import { LayoutService } from "tango-app-ui-global";
|
|
3
3
|
import dayjs from "dayjs";
|
|
4
4
|
import "dayjs/locale/en";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
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 ClassicComponent implements OnInit, OnDestroy {
|
|
9
9
|
private layout;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { AuthService } from '../../../../services/auth.service';
|
|
3
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ClientSettingsComponent {
|
|
6
6
|
private auth;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from "@angular/core";
|
|
2
2
|
import dayjs from "dayjs";
|
|
3
3
|
import "dayjs/locale/en";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { AuthService } from '../../../../services/auth.service';
|
|
5
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class DateSingleSelectComponent implements OnInit {
|
|
8
8
|
private auth;
|
|
@@ -3,7 +3,7 @@ import dayjs from 'dayjs';
|
|
|
3
3
|
import 'dayjs/locale/en';
|
|
4
4
|
import { LayoutService } from 'tango-app-ui-metronics';
|
|
5
5
|
import { AuthService } from '../../../../services/auth.service';
|
|
6
|
-
import { GlobalStateService } from '
|
|
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;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
2
|
import dayjs from 'dayjs';
|
|
3
3
|
import 'dayjs/locale/en';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { AuthService } from '../../../../services/auth.service';
|
|
5
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class SingleStoreComponent implements OnInit {
|
|
8
8
|
private auth;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from "@angular/core";
|
|
2
2
|
import { ActivatedRoute, Router } from "@angular/router";
|
|
3
|
-
import { LayoutService, PageInfoService } from "tango-app-ui-
|
|
4
|
-
import { ILayout, LayoutType } from "tango-app-ui-
|
|
5
|
-
import { GlobalStateService } from "../../../services/global-state.service";
|
|
3
|
+
import { LayoutService, PageInfoService } from "tango-app-ui-global";
|
|
4
|
+
import { ILayout, LayoutType } from "tango-app-ui-global";
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class ToolbarComponent implements OnInit, OnDestroy {
|
|
8
7
|
private layout;
|
|
9
8
|
private router;
|
|
10
9
|
private route;
|
|
11
|
-
private gs;
|
|
12
10
|
private pageInfo;
|
|
13
11
|
private unsubscribe;
|
|
14
12
|
currentLayoutType: LayoutType | null;
|
|
@@ -31,7 +29,7 @@ export declare class ToolbarComponent implements OnInit, OnDestroy {
|
|
|
31
29
|
singleStore: boolean;
|
|
32
30
|
headervalue: any;
|
|
33
31
|
storeId: any;
|
|
34
|
-
constructor(layout: LayoutService, router: Router, route: ActivatedRoute,
|
|
32
|
+
constructor(layout: LayoutService, router: Router, route: ActivatedRoute, pageInfo: PageInfoService);
|
|
35
33
|
ngOnInit(): void;
|
|
36
34
|
updateProps(config: ILayout): void;
|
|
37
35
|
ngOnDestroy(): void;
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
|
-
import { GlobalStateService } from '
|
|
3
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AuthService {
|
|
6
6
|
private router;
|
|
7
7
|
private gs;
|
|
8
8
|
private http;
|
|
9
|
-
clientApiUrl:
|
|
9
|
+
clientApiUrl: string;
|
|
10
10
|
authlocalStorageToken: string;
|
|
11
|
+
userApiUrl: string;
|
|
12
|
+
storeApiUrl: string;
|
|
11
13
|
constructor(router: Router, gs: GlobalStateService, http: HttpClient);
|
|
12
14
|
handleError(res: any): import("rxjs").Observable<never>;
|
|
13
|
-
|
|
15
|
+
getHeaders(): {
|
|
16
|
+
Authorization: string;
|
|
17
|
+
};
|
|
18
|
+
logout(): import("rxjs").Observable<Object>;
|
|
14
19
|
getClients(): import("rxjs").Observable<any>;
|
|
15
20
|
getStores(id: any): import("rxjs").Observable<any>;
|
|
16
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|