tango-app-ui-shared 3.0.10 → 3.0.11-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.
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectorRef, OnDestroy, OnInit } from "@angular/core";
2
2
  import { LayoutService } from "tango-app-ui-metronics";
3
- import * as dayjs from "dayjs";
3
+ import dayjs from "dayjs";
4
4
  import "dayjs/locale/en";
5
5
  import { GlobalStateService } from "../../../../services/global-state.service";
6
6
  import { AuthService } from "../../../../services/auth.service";
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectorRef, OnInit } from '@angular/core';
2
2
  import { AuthService } from '../../../../services/auth.service';
3
- import * as dayjs from 'dayjs';
3
+ import dayjs from 'dayjs';
4
4
  import 'dayjs/locale/en';
5
5
  import { GlobalStateService } from '../../../../services/global-state.service';
6
6
  import * as i0 from "@angular/core";
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
- import * as dayjs from 'dayjs';
2
+ 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';
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectorRef, OnInit } from '@angular/core';
2
2
  import { AuthService } from '../../../../services/auth.service';
3
- import * as dayjs from 'dayjs';
3
+ import dayjs from 'dayjs';
4
4
  import 'dayjs/locale/en';
5
5
  import { GlobalStateService } from '../../../../services/global-state.service';
6
6
  import * as i0 from "@angular/core";
@@ -2,11 +2,13 @@ import { OnDestroy, OnInit } from "@angular/core";
2
2
  import { ActivatedRoute, Router } from "@angular/router";
3
3
  import { LayoutService } from "tango-app-ui-metronics";
4
4
  import { ILayout, LayoutType } from "tango-app-ui-metronics";
5
+ import { GlobalStateService } from "../../../services/global-state.service";
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class ToolbarComponent implements OnInit, OnDestroy {
7
8
  private layout;
8
9
  private router;
9
10
  private route;
11
+ private gs;
10
12
  private unsubscribe;
11
13
  currentLayoutType: LayoutType | null;
12
14
  appToolbarLayout: "classic" | "accounting" | "extended" | "reports" | "saas";
@@ -26,7 +28,9 @@ export declare class ToolbarComponent implements OnInit, OnDestroy {
26
28
  datepicker: boolean;
27
29
  singleSelectdatepicker: boolean;
28
30
  singleStore: boolean;
29
- constructor(layout: LayoutService, router: Router, route: ActivatedRoute);
31
+ headervalue: any;
32
+ storeId: any;
33
+ constructor(layout: LayoutService, router: Router, route: ActivatedRoute, gs: GlobalStateService);
30
34
  ngOnInit(): void;
31
35
  updateProps(config: ILayout): void;
32
36
  ngOnDestroy(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-ui-shared",
3
- "version": "3.0.10",
3
+ "version": "3.0.11-dev",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.0",
6
6
  "@angular/core": "^17.0.0"