ngx-vector-components 4.6.0 → 4.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,10 +4,12 @@ export declare class PercentageFieldComponent {
4
4
  control: any;
5
5
  min: number;
6
6
  max: number;
7
+ minFractionDigits: number;
8
+ maxFractionDigits: number;
7
9
  blurEvent: EventEmitter<any>;
8
10
  enterKeyPress: EventEmitter<any>;
9
11
  focusEvent: EventEmitter<any>;
10
12
  readonly percentageRegex = "^(100(\\.0{1,2})?|[1-9]?\\d(\\.\\d{1,2})?)$";
11
13
  static ɵfac: i0.ɵɵFactoryDeclaration<PercentageFieldComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<PercentageFieldComponent, "vector-percentage-field", never, { "control": "control"; "min": "min"; "max": "max"; }, { "blurEvent": "blurEvent"; "enterKeyPress": "enterKeyPress"; "focusEvent": "focusEvent"; }, never, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<PercentageFieldComponent, "vector-percentage-field", never, { "control": "control"; "min": "min"; "max": "max"; "minFractionDigits": "minFractionDigits"; "maxFractionDigits": "maxFractionDigits"; }, { "blurEvent": "blurEvent"; "enterKeyPress": "enterKeyPress"; "focusEvent": "focusEvent"; }, never, never>;
13
15
  }
@@ -1,6 +1,6 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { Router } from '@angular/router';
3
- import { AuthService } from '../../services';
3
+ import { AuthService, ProfileService } from '../../services';
4
4
  import { MenuService } from '../../services/menu.service';
5
5
  import { MaskUtil } from '../../utils';
6
6
  import * as i0 from "@angular/core";
@@ -8,10 +8,12 @@ export declare class TopBarComponent implements OnInit, OnDestroy {
8
8
  private menuService;
9
9
  private authService;
10
10
  private router;
11
+ private profileService;
11
12
  hideElements: boolean;
12
13
  openedMenu: boolean;
13
14
  openedChangeAccountMenu: boolean;
14
15
  doingOnboarding: boolean;
16
+ vectorFirstName: any;
15
17
  currentAccount: any;
16
18
  isAdmin: boolean;
17
19
  otherAccounts: any[];
@@ -19,7 +21,7 @@ export declare class TopBarComponent implements OnInit, OnDestroy {
19
21
  fintech: boolean;
20
22
  accountService: any;
21
23
  private subscription;
22
- constructor(menuService: MenuService, authService: AuthService, router: Router);
24
+ constructor(menuService: MenuService, authService: AuthService, router: Router, profileService: ProfileService);
23
25
  ngOnInit(): void;
24
26
  ngOnDestroy(): void;
25
27
  toggleMenu(): void;
@@ -140,5 +140,9 @@ export declare enum ProfileModuleActionType {
140
140
  DELETE_USER = "Delete User",
141
141
  ADD_REGION = "Add Region",
142
142
  SHOW_REGION = "Show Region",
143
- EDIT_REGION = "Edit Region"
143
+ EDIT_REGION = "Edit Region",
144
+ ADD_LOCATION_SHIPPER = "Add LocationShipper",
145
+ EDIT_LOCATION_SHIPPER = "Edit LocationShipper",
146
+ SHOW_LOCATION_SHIPPER = "Show LocationShipper",
147
+ DELETE_LOCATION_SHIPPER = "Delete LocationShipper"
144
148
  }
@@ -7,6 +7,12 @@ export declare class ProfileService {
7
7
  private http;
8
8
  private storageService;
9
9
  readonly moduleProfile$: BehaviorSubject<ProfileModule[] | undefined>;
10
+ readonly profileFirstName$: BehaviorSubject<string | undefined>;
11
+ readonly profileTypeItens$: BehaviorSubject<{
12
+ shipper: number;
13
+ carrierId: number;
14
+ profileTypeId: number;
15
+ } | undefined>;
10
16
  hasFintechAdminPermission: boolean;
11
17
  hasMarketplaceAdminPermission: boolean;
12
18
  hasAnyFintechPermission: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-vector-components",
3
- "version": "4.6.0",
3
+ "version": "4.7.0",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "~13.2.3",
6
6
  "@angular/cdk": "^13.3.9",