@posiwise/shared-components 0.0.131 → 0.0.132

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.
@@ -2,6 +2,7 @@ import { Injector, OnInit, TemplateRef } from '@angular/core';
2
2
  import { DomSanitizer } from '@angular/platform-browser';
3
3
  import { AdminService } from '@posiwise/admin-module-utils';
4
4
  import { AppBaseComponent } from '@posiwise/app-base-component';
5
+ import { AuthService } from '@posiwise/common-services';
5
6
  import { User } from '@posiwise/common-utilities';
6
7
  import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
7
8
  import { CustomUploaderComponent } from '../custom-uploader/custom-uploader.component';
@@ -9,6 +10,7 @@ import * as i0 from "@angular/core";
9
10
  export declare class DemoCardsComponent extends AppBaseComponent implements OnInit {
10
11
  private readonly sanitizer;
11
12
  private readonly modalService;
13
+ private readonly authService;
12
14
  private readonly adminService;
13
15
  bookingLinks: any;
14
16
  editingBookingLinks: any[];
@@ -17,7 +19,7 @@ export declare class DemoCardsComponent extends AppBaseComponent implements OnIn
17
19
  userLoggedIn: boolean;
18
20
  user: User;
19
21
  editBookLinksModal: TemplateRef<CustomUploaderComponent>;
20
- constructor(sanitizer: DomSanitizer, modalService: NgbModal, adminService: AdminService, injector: Injector);
22
+ constructor(sanitizer: DomSanitizer, modalService: NgbModal, authService: AuthService, adminService: AdminService, injector: Injector);
21
23
  ngOnInit(): void;
22
24
  openEditBookLinks(modal: any): void;
23
25
  addBookingLink(): void;
@@ -1,6 +1,7 @@
1
1
  import { ElementRef, Injector, OnInit, TemplateRef } from '@angular/core';
2
2
  import { AdminService } from '@posiwise/admin-module-utils';
3
3
  import { AppBaseComponent } from '@posiwise/app-base-component';
4
+ import { AuthService } from '@posiwise/common-services';
4
5
  import { User } from '@posiwise/common-utilities';
5
6
  import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
6
7
  import { CustomUploaderComponent } from '../custom-uploader/custom-uploader.component';
@@ -8,6 +9,7 @@ import * as i0 from "@angular/core";
8
9
  export declare class ResourceHeaderComponent extends AppBaseComponent implements OnInit {
9
10
  private readonly document;
10
11
  private readonly adminService;
12
+ private readonly authService;
11
13
  private readonly modalService;
12
14
  navbarCollapse: ElementRef;
13
15
  editNavbarModal: TemplateRef<CustomUploaderComponent>;
@@ -26,7 +28,7 @@ export declare class ResourceHeaderComponent extends AppBaseComponent implements
26
28
  userLoggedIn: boolean;
27
29
  user: User;
28
30
  scrollTimeout: any;
29
- constructor(injector: Injector, document: Document, adminService: AdminService, modalService: NgbModal);
31
+ constructor(injector: Injector, document: Document, adminService: AdminService, authService: AuthService, modalService: NgbModal);
30
32
  ngOnInit(): void;
31
33
  openLogoEditModal(): void;
32
34
  onSaveLogo(event: any): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/shared-components",
3
- "version": "0.0.131",
3
+ "version": "0.0.132",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "17.3.11",
6
6
  "@angular/core": "17.3.11",