@posiwise/resource-module 0.0.135 → 0.0.137

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.
Files changed (64) hide show
  1. package/esm2022/lib/public/components/base/base-resource.component.mjs +127 -0
  2. package/esm2022/lib/public/components/base/base-top-banner.component.mjs +69 -0
  3. package/esm2022/lib/public/components/reslease-note-card/release-note-card.component.mjs +9 -9
  4. package/esm2022/lib/public/components/resource-blogs/resource-blog-top-banner/resource-blog-top-banner.component.mjs +10 -51
  5. package/esm2022/lib/public/components/resource-blogs/resource-blog.component.mjs +10 -45
  6. package/esm2022/lib/public/components/resource-case-studies/case-studies-cards/case-studies-cards.component.mjs +9 -9
  7. package/esm2022/lib/public/components/resource-case-studies/resource-case-studies.component.mjs +16 -66
  8. package/esm2022/lib/public/components/resource-company-card/resource-company-card.component.mjs +15 -13
  9. package/esm2022/lib/public/components/resource-edit-card/resource-edit-card.component.mjs +15 -15
  10. package/esm2022/lib/public/components/resource-integration/integration-top-banner/integration-top-banner.component.mjs +10 -52
  11. package/esm2022/lib/public/components/resource-integration/resource-integration.component.mjs +11 -10
  12. package/esm2022/lib/public/components/resource-post/related-resources/related-resources.component.mjs +7 -7
  13. package/esm2022/lib/public/components/resource-post/related-resources/resource-cards/resource-cards.component.mjs +9 -9
  14. package/esm2022/lib/public/components/resource-post/resource-post-details/resource-post-details.component.mjs +8 -7
  15. package/esm2022/lib/public/components/resource-release-notes/resource-release-notes-top-banner/resource-release-notes-top-banner.component.mjs +10 -51
  16. package/esm2022/lib/public/components/resource-release-notes/resource-release-notes.component.mjs +14 -17
  17. package/esm2022/lib/public/components/resource-top-banner-edit/resource-top-banner-edit.component.mjs +16 -16
  18. package/esm2022/lib/public/components/resource-vault/resource-vault.component.mjs +14 -28
  19. package/esm2022/lib/public/components/resource-videos/resource-video-cards/resource-video-cards.component.mjs +9 -9
  20. package/esm2022/lib/public/components/resource-videos/resource-videos-top-banner/resource-videos-top-banner.component.mjs +10 -51
  21. package/esm2022/lib/public/components/resource-videos/resource-videos.component.mjs +10 -45
  22. package/esm2022/lib/public/components/resource-webinars/replay-event-cards/replay-event-cards.component.mjs +7 -7
  23. package/esm2022/lib/public/components/resource-webinars/resource-webinars.component.mjs +7 -7
  24. package/esm2022/lib/public/components/resource-webinars/upcoming-event-cards/upcoming-event-cards.component.mjs +9 -9
  25. package/esm2022/lib/public/components/resources/resource-tags/resource-tags.component.mjs +9 -9
  26. package/esm2022/lib/public/components/resources/vault-section/vault-section.component.mjs +20 -18
  27. package/esm2022/lib/public/components/resources-hub/resources-hub.component.mjs +9 -9
  28. package/esm2022/lib/public/components/resources-read/resources-read.component.mjs +7 -7
  29. package/esm2022/lib/public/components/testimonial-card/testimonial-card.component.mjs +3 -3
  30. package/esm2022/lib/public/components/white-papers/white-papers-top-banner/white-papers-top-banner.component.mjs +10 -51
  31. package/esm2022/lib/public/components/white-papers/white-papers.component.mjs +10 -45
  32. package/fesm2022/posiwise-resource-module.mjs +420 -586
  33. package/fesm2022/posiwise-resource-module.mjs.map +1 -1
  34. package/lib/public/components/base/base-resource.component.d.ts +39 -0
  35. package/lib/public/components/base/base-top-banner.component.d.ts +30 -0
  36. package/lib/public/components/reslease-note-card/release-note-card.component.d.ts +3 -2
  37. package/lib/public/components/resource-blogs/resource-blog-top-banner/resource-blog-top-banner.component.d.ts +6 -21
  38. package/lib/public/components/resource-blogs/resource-blog.component.d.ts +6 -16
  39. package/lib/public/components/resource-case-studies/case-studies-cards/case-studies-cards.component.d.ts +3 -2
  40. package/lib/public/components/resource-case-studies/resource-case-studies.component.d.ts +9 -23
  41. package/lib/public/components/resource-company-card/resource-company-card.component.d.ts +4 -2
  42. package/lib/public/components/resource-edit-card/resource-edit-card.component.d.ts +7 -6
  43. package/lib/public/components/resource-integration/integration-top-banner/integration-top-banner.component.d.ts +6 -22
  44. package/lib/public/components/resource-integration/resource-integration.component.d.ts +3 -2
  45. package/lib/public/components/resource-post/related-resources/related-resources.component.d.ts +3 -2
  46. package/lib/public/components/resource-post/related-resources/resource-cards/resource-cards.component.d.ts +3 -2
  47. package/lib/public/components/resource-post/resource-post-details/resource-post-details.component.d.ts +3 -2
  48. package/lib/public/components/resource-release-notes/resource-release-notes-top-banner/resource-release-notes-top-banner.component.d.ts +6 -21
  49. package/lib/public/components/resource-release-notes/resource-release-notes.component.d.ts +3 -4
  50. package/lib/public/components/resource-top-banner-edit/resource-top-banner-edit.component.d.ts +6 -5
  51. package/lib/public/components/resource-vault/resource-vault.component.d.ts +6 -14
  52. package/lib/public/components/resource-videos/resource-video-cards/resource-video-cards.component.d.ts +3 -2
  53. package/lib/public/components/resource-videos/resource-videos-top-banner/resource-videos-top-banner.component.d.ts +6 -21
  54. package/lib/public/components/resource-videos/resource-videos.component.d.ts +6 -16
  55. package/lib/public/components/resource-webinars/replay-event-cards/replay-event-cards.component.d.ts +3 -2
  56. package/lib/public/components/resource-webinars/resource-webinars.component.d.ts +3 -2
  57. package/lib/public/components/resource-webinars/upcoming-event-cards/upcoming-event-cards.component.d.ts +3 -2
  58. package/lib/public/components/resources/resource-tags/resource-tags.component.d.ts +3 -2
  59. package/lib/public/components/resources/vault-section/vault-section.component.d.ts +3 -1
  60. package/lib/public/components/resources-hub/resources-hub.component.d.ts +3 -2
  61. package/lib/public/components/resources-read/resources-read.component.d.ts +3 -2
  62. package/lib/public/components/white-papers/white-papers-top-banner/white-papers-top-banner.component.d.ts +6 -21
  63. package/lib/public/components/white-papers/white-papers.component.d.ts +6 -16
  64. package/package.json +1 -1
@@ -0,0 +1,39 @@
1
+ import { Injector, OnInit } from '@angular/core';
2
+ import { AppBaseComponent } from '@posiwise/app-base-component';
3
+ import { AuthService, TagService } from '@posiwise/common-services';
4
+ import { Resource, User } from '@posiwise/common-utilities';
5
+ import { ResourceService } from '../../../resource.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare abstract class BaseResourceComponent extends AppBaseComponent implements OnInit {
8
+ protected readonly resourceService: ResourceService;
9
+ protected readonly tagService: TagService;
10
+ private readonly authService;
11
+ subscriptionId: number;
12
+ masterSubscriptionId: any;
13
+ posts: Resource[];
14
+ testimonialsPosts: Resource[];
15
+ userLoggedIn: boolean;
16
+ blogPostTag: any;
17
+ tagCategory: any;
18
+ blogTestimonialsPostTag: any;
19
+ isLoaded: boolean;
20
+ user: User;
21
+ constructor(resourceService: ResourceService, tagService: TagService, authService: AuthService, injector: Injector);
22
+ ngOnInit(): void;
23
+ protected initializeComponent(): void;
24
+ protected getTags(): void;
25
+ protected getPostTags(): void;
26
+ protected getTestimonialTags(): void;
27
+ protected getPosts(page: number, pageSize: number): void;
28
+ getTestimonialsPosts(page: number, pageSize: number): void;
29
+ /** Shared method to fetch posts with common filtering, sorting, and slicing logic */
30
+ private fetchPosts;
31
+ /** Helper method to get effective subscription ID */
32
+ protected getEffectiveSubscriptionId(): number;
33
+ protected abstract getResourceType(): string;
34
+ protected getSearchTerm(): string;
35
+ protected shouldUseTagCategories(): boolean;
36
+ protected shouldLoadTestimonials(): boolean;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseResourceComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseResourceComponent, "ng-component", never, {}, {}, never, never, false, never>;
39
+ }
@@ -0,0 +1,30 @@
1
+ import { Injector, OnInit } from '@angular/core';
2
+ import { AppBaseComponent } from '@posiwise/app-base-component';
3
+ import { AuthService, TagService } from '@posiwise/common-services';
4
+ import { Resource, User } from '@posiwise/common-utilities';
5
+ import { ResourceService } from '../../../resource.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare abstract class BaseTopBannerComponent extends AppBaseComponent implements OnInit {
8
+ protected readonly resourceService: ResourceService;
9
+ protected readonly tagService: TagService;
10
+ private readonly authService;
11
+ subscriptionId: number;
12
+ masterSubscriptionId: any;
13
+ posts: Resource[];
14
+ testimonialsPosts: any[];
15
+ userLoggedIn: boolean;
16
+ blogPostTag: any;
17
+ tagCategory: any;
18
+ blogTestimonialsPostTag: any;
19
+ isLoaded: boolean;
20
+ user: User;
21
+ constructor(resourceService: ResourceService, tagService: TagService, authService: AuthService, injector: Injector);
22
+ ngOnInit(): void;
23
+ protected getTags(): void;
24
+ private getPostTags;
25
+ /** Helper method to get effective subscription ID */
26
+ protected getEffectiveSubscriptionId(): number;
27
+ protected abstract getSearchTerm(): string;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseTopBannerComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseTopBannerComponent, "ng-component", never, {}, {}, never, never, false, never>;
30
+ }
@@ -1,11 +1,12 @@
1
1
  import { Injector, OnInit } from '@angular/core';
2
2
  import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { TagService } from '@posiwise/common-services';
3
+ import { AuthService, TagService } from '@posiwise/common-services';
4
4
  import { Resource, User } from '@posiwise/common-utilities';
5
5
  import { ResourceService } from '../../../resource.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class ResourceNoteCardComponent extends AppBaseComponent implements OnInit {
8
8
  private readonly resourceService;
9
+ private readonly authService;
9
10
  private readonly tagService;
10
11
  releaseHeader: boolean;
11
12
  categoryId: string;
@@ -31,7 +32,7 @@ export declare class ResourceNoteCardComponent extends AppBaseComponent implemen
31
32
  isPressEditingTitle: boolean;
32
33
  editedTitle: string;
33
34
  user: User;
34
- constructor(injector: Injector, resourceService: ResourceService, tagService: TagService);
35
+ constructor(injector: Injector, resourceService: ResourceService, authService: AuthService, tagService: TagService);
35
36
  ngOnInit(): void;
36
37
  private getTags;
37
38
  private getPostTags;
@@ -1,26 +1,11 @@
1
- import { Injector, OnInit } from '@angular/core';
2
- import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { TagService } from '@posiwise/common-services';
4
- import { Resource, User } from '@posiwise/common-utilities';
1
+ import { Injector } from '@angular/core';
2
+ import { AuthService, TagService } from '@posiwise/common-services';
5
3
  import { ResourceService } from '../../../../resource.service';
4
+ import { BaseTopBannerComponent } from '../../base/base-top-banner.component';
6
5
  import * as i0 from "@angular/core";
7
- export declare class ResourceBlogTopBannerComponent extends AppBaseComponent implements OnInit {
8
- private readonly resourceService;
9
- private readonly tagService;
10
- subscriptionId: number;
11
- masterSubscriptionId: any;
12
- posts: Resource[];
13
- testimonialsPosts: any[];
14
- userLoggedIn: boolean;
15
- blogPostTag: any;
16
- tagCategory: any;
17
- blogTestimonialsPostTag: any;
18
- isLoaded: boolean;
19
- user: User;
20
- constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
21
- ngOnInit(): void;
22
- private getTags;
23
- private getPostTags;
6
+ export declare class ResourceBlogTopBannerComponent extends BaseTopBannerComponent {
7
+ constructor(resourceService: ResourceService, tagService: TagService, injector: Injector, authService: AuthService);
8
+ protected getSearchTerm(): string;
24
9
  static ɵfac: i0.ɵɵFactoryDeclaration<ResourceBlogTopBannerComponent, never>;
25
10
  static ɵcmp: i0.ɵɵComponentDeclaration<ResourceBlogTopBannerComponent, "pw-resource-blog-top-banner", never, {}, {}, never, never, false, never>;
26
11
  }
@@ -1,21 +1,11 @@
1
- import { Injector, OnInit } from '@angular/core';
2
- import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { TagService } from '@posiwise/common-services';
4
- import { Resource } from '@posiwise/common-utilities';
1
+ import { Injector } from '@angular/core';
2
+ import { AuthService, TagService } from '@posiwise/common-services';
5
3
  import { ResourceService } from '../../../resource.service';
4
+ import { BaseResourceComponent } from '../base/base-resource.component';
6
5
  import * as i0 from "@angular/core";
7
- export declare class ResourceBlogComponent extends AppBaseComponent implements OnInit {
8
- private readonly resourceService;
9
- private readonly tagService;
10
- subscriptionId: number;
11
- masterSubscriptionId: any;
12
- posts: Resource[];
13
- userLoggedIn: boolean;
14
- blogPostTag: any;
15
- constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
16
- ngOnInit(): void;
17
- private getPostTags;
18
- getPosts(page: number, pageSize: number): void;
6
+ export declare class ResourceBlogComponent extends BaseResourceComponent {
7
+ constructor(resourceService: ResourceService, tagService: TagService, injector: Injector, authService: AuthService);
8
+ protected getResourceType(): string;
19
9
  static ɵfac: i0.ɵɵFactoryDeclaration<ResourceBlogComponent, never>;
20
10
  static ɵcmp: i0.ɵɵComponentDeclaration<ResourceBlogComponent, "pw-resource-blog", never, {}, {}, never, never, false, never>;
21
11
  }
@@ -1,11 +1,12 @@
1
1
  import { Injector, OnInit } from '@angular/core';
2
2
  import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { TagService } from '@posiwise/common-services';
3
+ import { AuthService, TagService } from '@posiwise/common-services';
4
4
  import { Resource, User } from '@posiwise/common-utilities';
5
5
  import { ResourceService } from '../../../../resource.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class CaseStudyCardComponent extends AppBaseComponent implements OnInit {
8
8
  private readonly resourceService;
9
+ private readonly authService;
9
10
  private readonly tagService;
10
11
  showCaseStudyHeader: boolean;
11
12
  categoryId: string;
@@ -21,7 +22,7 @@ export declare class CaseStudyCardComponent extends AppBaseComponent implements
21
22
  user: User;
22
23
  isEditingTitle: boolean;
23
24
  editedTitle: string;
24
- constructor(injector: Injector, resourceService: ResourceService, tagService: TagService);
25
+ constructor(injector: Injector, resourceService: ResourceService, authService: AuthService, tagService: TagService);
25
26
  ngOnInit(): void;
26
27
  getPosts(page: number, pageSize: number): void;
27
28
  toggleEditTitle(): void;
@@ -1,28 +1,14 @@
1
- import { Injector, OnInit } from '@angular/core';
2
- import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { TagService } from '@posiwise/common-services';
4
- import { Resource, User } from '@posiwise/common-utilities';
1
+ import { Injector } from '@angular/core';
2
+ import { AuthService, TagService } from '@posiwise/common-services';
5
3
  import { ResourceService } from '../../../resource.service';
4
+ import { BaseResourceComponent } from '../base/base-resource.component';
6
5
  import * as i0 from "@angular/core";
7
- export declare class ResourceCaseStudiesComponent extends AppBaseComponent implements OnInit {
8
- private readonly resourceService;
9
- private readonly tagService;
10
- subscriptionId: number;
11
- masterSubscriptionId: any;
12
- posts: Resource[];
13
- testimonialsPosts: any[];
14
- userLoggedIn: boolean;
15
- blogPostTag: any;
16
- tagCategory: any;
17
- blogTestimonialsPostTag: any;
18
- isLoaded: boolean;
19
- user: User;
20
- constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
21
- ngOnInit(): void;
22
- private getTags;
23
- private getPostTags;
24
- private getTestimonialTags;
25
- getTestimonialsPosts(page: number, pageSize: number): void;
6
+ export declare class ResourceCaseStudiesComponent extends BaseResourceComponent {
7
+ constructor(resourceService: ResourceService, tagService: TagService, injector: Injector, authService: AuthService);
8
+ protected getResourceType(): string;
9
+ protected getSearchTerm(): string;
10
+ protected shouldUseTagCategories(): boolean;
11
+ protected shouldLoadTestimonials(): boolean;
26
12
  static ɵfac: i0.ɵɵFactoryDeclaration<ResourceCaseStudiesComponent, never>;
27
13
  static ɵcmp: i0.ɵɵComponentDeclaration<ResourceCaseStudiesComponent, "pw-resource-case-studies", never, {}, {}, never, never, false, never>;
28
14
  }
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter, Injector, OnChanges, OnDestroy, OnInit } from '@angular/core';
2
2
  import { AppBaseComponent } from '@posiwise/app-base-component';
3
+ import { AuthService } from '@posiwise/common-services';
3
4
  import { ResourcePost, User } from '@posiwise/common-utilities';
4
5
  import * as i0 from "@angular/core";
5
6
  interface PageEvent {
@@ -9,8 +10,9 @@ interface PageEvent {
9
10
  pageCount: number;
10
11
  }
11
12
  export declare class ResourceCompanyCardComponent extends AppBaseComponent implements OnChanges, OnInit, OnDestroy {
13
+ private readonly authService;
12
14
  getPosts: EventEmitter<ResourcePost[]>;
13
- private destroy$;
15
+ private readonly destroy$;
14
16
  header: string;
15
17
  data: any[];
16
18
  integrationCountDisplay: any;
@@ -22,7 +24,7 @@ export declare class ResourceCompanyCardComponent extends AppBaseComponent imple
22
24
  userLoggedIn: boolean;
23
25
  subscriptionId: string;
24
26
  user: User;
25
- constructor(injector: Injector);
27
+ constructor(injector: Injector, authService: AuthService);
26
28
  ngOnChanges(): void;
27
29
  ngOnInit(): void;
28
30
  search(keywords?: any): void;
@@ -1,15 +1,16 @@
1
1
  import { EventEmitter, Injector, OnInit } from '@angular/core';
2
2
  import { FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { AppBaseComponent } from '@posiwise/app-base-component';
4
- import { TagService } from '@posiwise/common-services';
4
+ import { AuthService, TagService } from '@posiwise/common-services';
5
5
  import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
6
6
  import { ResourceService } from '../../../resource.service';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class ResourceEditCardComponent extends AppBaseComponent implements OnInit {
9
- private fb;
10
- private modalService;
11
- private resourceService;
12
- private tagService;
9
+ private readonly fb;
10
+ private readonly modalService;
11
+ private readonly resourceService;
12
+ private readonly authService;
13
+ private readonly tagService;
13
14
  id: number;
14
15
  resourceData: any;
15
16
  updated: EventEmitter<void>;
@@ -25,7 +26,7 @@ export declare class ResourceEditCardComponent extends AppBaseComponent implemen
25
26
  subscriptionId: number;
26
27
  userLoggedIn: boolean;
27
28
  buttonBusy: boolean;
28
- constructor(fb: FormBuilder, modalService: NgbModal, resourceService: ResourceService, tagService: TagService, injector: Injector);
29
+ constructor(fb: FormBuilder, modalService: NgbModal, resourceService: ResourceService, authService: AuthService, tagService: TagService, injector: Injector);
29
30
  ngOnInit(): void;
30
31
  navigateToResourceEdit(): void;
31
32
  openModal(modalTemplate: any): void;
@@ -1,27 +1,11 @@
1
- import { Injector, OnInit } from '@angular/core';
2
- import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { TagService } from '@posiwise/common-services';
4
- import { Resource, User } from '@posiwise/common-utilities';
1
+ import { Injector } from '@angular/core';
2
+ import { AuthService, TagService } from '@posiwise/common-services';
5
3
  import { ResourceService } from '../../../../resource.service';
4
+ import { BaseTopBannerComponent } from '../../base/base-top-banner.component';
6
5
  import * as i0 from "@angular/core";
7
- export declare class IntegrationTopBannerComponent extends AppBaseComponent implements OnInit {
8
- private readonly resourceService;
9
- private readonly tagService;
10
- subscriptionId: number;
11
- masterSubscriptionId: any;
12
- posts: Resource[];
13
- testimonialsPosts: any[];
14
- userLoggedIn: boolean;
15
- blogPostTag: any;
16
- tagCategory: any;
17
- contactUsUrl: any;
18
- blogTestimonialsPostTag: any;
19
- isLoaded: boolean;
20
- user: User;
21
- constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
22
- ngOnInit(): void;
23
- private getTags;
24
- private getPostTags;
6
+ export declare class IntegrationTopBannerComponent extends BaseTopBannerComponent {
7
+ constructor(resourceService: ResourceService, tagService: TagService, injector: Injector, authService: AuthService);
8
+ protected getSearchTerm(): string;
25
9
  static ɵfac: i0.ɵɵFactoryDeclaration<IntegrationTopBannerComponent, never>;
26
10
  static ɵcmp: i0.ɵɵComponentDeclaration<IntegrationTopBannerComponent, "pw-integration-top-banner", never, {}, {}, never, never, false, never>;
27
11
  }
@@ -3,7 +3,7 @@ import { Injector, OnInit, TemplateRef } from '@angular/core';
3
3
  import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
4
4
  import { AdminService } from '@posiwise/admin-module-utils';
5
5
  import { AppBaseComponent } from '@posiwise/app-base-component';
6
- import { TagService } from '@posiwise/common-services';
6
+ import { AuthService, TagService } from '@posiwise/common-services';
7
7
  import { Resource, User } from '@posiwise/common-utilities';
8
8
  import { CustomUploaderComponent } from '@posiwise/shared-components';
9
9
  import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
@@ -14,6 +14,7 @@ export declare class ResourceIntegrationComponent extends AppBaseComponent imple
14
14
  private readonly resourceService;
15
15
  private readonly modalService;
16
16
  private readonly tagService;
17
+ private readonly authService;
17
18
  private readonly adminService;
18
19
  editIntegrationsModal: TemplateRef<CustomUploaderComponent>;
19
20
  editingIntegrations: any;
@@ -59,7 +60,7 @@ export declare class ResourceIntegrationComponent extends AppBaseComponent imple
59
60
  };
60
61
  user: User;
61
62
  domainId: any;
62
- constructor(sanitizer: DomSanitizer, resourceService: ResourceService, modalService: NgbModal, tagService: TagService, adminService: AdminService, injector: Injector);
63
+ constructor(sanitizer: DomSanitizer, resourceService: ResourceService, modalService: NgbModal, tagService: TagService, authService: AuthService, adminService: AdminService, injector: Injector);
63
64
  ngOnInit(): void;
64
65
  private getTags;
65
66
  openEditIntegrationsModal(modalRef: any): void;
@@ -1,7 +1,7 @@
1
1
  import { Injector, OnInit } from '@angular/core';
2
2
  import { DomSanitizer } from '@angular/platform-browser';
3
3
  import { AppBaseComponent } from '@posiwise/app-base-component';
4
- import { CustomToastService, TagService } from '@posiwise/common-services';
4
+ import { AuthService, CustomToastService, TagService } from '@posiwise/common-services';
5
5
  import { User } from '@posiwise/common-utilities';
6
6
  import { ResourceService } from '../../../../resource.service';
7
7
  import * as i0 from "@angular/core";
@@ -9,6 +9,7 @@ export declare class RelatedResourcesComponent extends AppBaseComponent implemen
9
9
  private readonly resourceService;
10
10
  private readonly sanitizer;
11
11
  private readonly tagService;
12
+ private readonly authService;
12
13
  private readonly toastr;
13
14
  resourceCards: {
14
15
  title: string;
@@ -28,7 +29,7 @@ export declare class RelatedResourcesComponent extends AppBaseComponent implemen
28
29
  subscriptionId: any;
29
30
  linkedInUrl: any;
30
31
  company_email: any;
31
- constructor(resourceService: ResourceService, injector: Injector, sanitizer: DomSanitizer, tagService: TagService, toastr: CustomToastService);
32
+ constructor(resourceService: ResourceService, injector: Injector, sanitizer: DomSanitizer, tagService: TagService, authService: AuthService, toastr: CustomToastService);
32
33
  ngOnInit(): void;
33
34
  get hasValidDemoLinks(): boolean;
34
35
  private getPostTags;
@@ -1,11 +1,12 @@
1
1
  import { Injector, OnInit } from '@angular/core';
2
2
  import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { TagService } from '@posiwise/common-services';
3
+ import { AuthService, TagService } from '@posiwise/common-services';
4
4
  import { Resource, User } from '@posiwise/common-utilities';
5
5
  import { ResourceService } from '../../../../../resource.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class ResourceCardComponent extends AppBaseComponent implements OnInit {
8
8
  private readonly resourceService;
9
+ private readonly authService;
9
10
  private readonly tagService;
10
11
  categoryId: string;
11
12
  isHeaderVisible: boolean;
@@ -23,7 +24,7 @@ export declare class ResourceCardComponent extends AppBaseComponent implements O
23
24
  isEditingTitle: boolean;
24
25
  editedTitle: string;
25
26
  user: User;
26
- constructor(injector: Injector, resourceService: ResourceService, tagService: TagService);
27
+ constructor(injector: Injector, resourceService: ResourceService, authService: AuthService, tagService: TagService);
27
28
  ngOnInit(): void;
28
29
  getPosts(page: number, pageSize: number): void;
29
30
  toggleTagEditTitle(): void;
@@ -1,13 +1,14 @@
1
1
  import { Injector, OnInit } from '@angular/core';
2
2
  import { DomSanitizer } from '@angular/platform-browser';
3
3
  import { AppBaseComponent } from '@posiwise/app-base-component';
4
- import { TagService } from '@posiwise/common-services';
4
+ import { AuthService, TagService } from '@posiwise/common-services';
5
5
  import { User } from '@posiwise/common-utilities';
6
6
  import { ResourceService } from '../../../../resource.service';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class ResourcePostDetailsComponent extends AppBaseComponent implements OnInit {
9
9
  private readonly resourceService;
10
10
  private readonly tagService;
11
+ private readonly authService;
11
12
  private readonly sanitizer;
12
13
  post: any;
13
14
  masterSubscriptionId: any;
@@ -57,7 +58,7 @@ export declare class ResourcePostDetailsComponent extends AppBaseComponent imple
57
58
  subscriptionId: number;
58
59
  blogPostTag: any;
59
60
  isLoaded: boolean;
60
- constructor(resourceService: ResourceService, tagService: TagService, injector: Injector, sanitizer: DomSanitizer);
61
+ constructor(resourceService: ResourceService, tagService: TagService, authService: AuthService, injector: Injector, sanitizer: DomSanitizer);
61
62
  ngOnInit(): void;
62
63
  private getPostTags;
63
64
  private getBlogItem;
@@ -1,26 +1,11 @@
1
- import { Injector, OnInit } from '@angular/core';
2
- import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { TagService } from '@posiwise/common-services';
4
- import { Resource, User } from '@posiwise/common-utilities';
1
+ import { Injector } from '@angular/core';
2
+ import { AuthService, TagService } from '@posiwise/common-services';
5
3
  import { ResourceService } from '../../../../resource.service';
4
+ import { BaseTopBannerComponent } from '../../base/base-top-banner.component';
6
5
  import * as i0 from "@angular/core";
7
- export declare class ReleaseTopBannerComponent extends AppBaseComponent implements OnInit {
8
- private readonly resourceService;
9
- private readonly tagService;
10
- subscriptionId: number;
11
- masterSubscriptionId: any;
12
- posts: Resource[];
13
- testimonialsPosts: any[];
14
- userLoggedIn: boolean;
15
- blogPostTag: any;
16
- tagCategory: any;
17
- blogTestimonialsPostTag: any;
18
- isLoaded: boolean;
19
- user: User;
20
- constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
21
- ngOnInit(): void;
22
- private getTags;
23
- private getPostTags;
6
+ export declare class ReleaseTopBannerComponent extends BaseTopBannerComponent {
7
+ constructor(resourceService: ResourceService, tagService: TagService, injector: Injector, authService: AuthService);
8
+ protected getSearchTerm(): string;
24
9
  static ɵfac: i0.ɵɵFactoryDeclaration<ReleaseTopBannerComponent, never>;
25
10
  static ɵcmp: i0.ɵɵComponentDeclaration<ReleaseTopBannerComponent, "pw-resource-release-notes-top-banner", never, {}, {}, never, never, false, never>;
26
11
  }
@@ -1,18 +1,17 @@
1
1
  import { Injector, OnInit } from '@angular/core';
2
2
  import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { TagService } from '@posiwise/common-services';
3
+ import { AuthService, TagService } from '@posiwise/common-services';
4
4
  import { Resource } from '@posiwise/common-utilities';
5
- import { ResourceService } from '../../../resource.service';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class ResourceReleaseNoteComponent extends AppBaseComponent implements OnInit {
8
- private readonly resourceService;
7
+ private readonly authService;
9
8
  private readonly tagService;
10
9
  subscriptionId: number;
11
10
  masterSubscriptionId: any;
12
11
  posts: Resource[];
13
12
  userLoggedIn: boolean;
14
13
  blogPostTag: any;
15
- constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
14
+ constructor(authService: AuthService, tagService: TagService, injector: Injector);
16
15
  ngOnInit(): void;
17
16
  private getPostTags;
18
17
  static ɵfac: i0.ɵɵFactoryDeclaration<ResourceReleaseNoteComponent, never>;
@@ -1,15 +1,16 @@
1
1
  import { EventEmitter, Injector, OnInit, TemplateRef } from '@angular/core';
2
2
  import { FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { AppBaseComponent } from '@posiwise/app-base-component';
4
- import { TagService } from '@posiwise/common-services';
4
+ import { AuthService, TagService } from '@posiwise/common-services';
5
5
  import { User } from '@posiwise/common-utilities';
6
6
  import { CustomUploaderComponent } from '@posiwise/shared-components';
7
7
  import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class ResourceTopBannerEditComponent extends AppBaseComponent implements OnInit {
10
- private fb;
11
- private modalService;
12
- private tagService;
10
+ private readonly fb;
11
+ private readonly authService;
12
+ private readonly modalService;
13
+ private readonly tagService;
13
14
  blogPostTag: any;
14
15
  getUpdatedTag: EventEmitter<any>;
15
16
  editModal: TemplateRef<CustomUploaderComponent>;
@@ -23,7 +24,7 @@ export declare class ResourceTopBannerEditComponent extends AppBaseComponent imp
23
24
  imageModalRef: any;
24
25
  buttonBusy: boolean;
25
26
  user: User;
26
- constructor(fb: FormBuilder, modalService: NgbModal, tagService: TagService, injector: Injector);
27
+ constructor(fb: FormBuilder, authService: AuthService, modalService: NgbModal, tagService: TagService, injector: Injector);
27
28
  ngOnInit(): void;
28
29
  openEditModal(): void;
29
30
  openImageModal(modalRef: any): void;
@@ -1,28 +1,20 @@
1
1
  import { Injector, OnInit } from '@angular/core';
2
- import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { TagService } from '@posiwise/common-services';
4
- import { Resource, User } from '@posiwise/common-utilities';
2
+ import { AuthService, TagService } from '@posiwise/common-services';
5
3
  import { ResourceService } from '../../../resource.service';
4
+ import { BaseResourceComponent } from '../base/base-resource.component';
6
5
  import * as i0 from "@angular/core";
7
- export declare class ResourceVaultComponent extends AppBaseComponent implements OnInit {
8
- private readonly resourceService;
9
- private readonly tagService;
6
+ export declare class ResourceVaultComponent extends BaseResourceComponent implements OnInit {
10
7
  showVaultSection: boolean;
11
8
  postSlice: boolean;
12
9
  categoryId: any;
13
10
  resourceTitle: any;
14
11
  tag: any;
15
- userLoggedIn: boolean;
16
- isLoaded: boolean;
17
- subscriptionId: any;
18
- masterSubscriptionId: any;
19
- posts: Resource[];
20
- user: User;
21
12
  isEditingTitle: boolean;
22
13
  editedTitle: string;
23
- constructor(injector: Injector, resourceService: ResourceService, tagService: TagService);
14
+ constructor(resourceService: ResourceService, tagService: TagService, injector: Injector, authService: AuthService);
24
15
  ngOnInit(): void;
25
- getPosts(page: number, pageSize: number): void;
16
+ protected getResourceType(): string;
17
+ protected getPosts(page: number, pageSize: number): void;
26
18
  toggleEditTitle(): void;
27
19
  saveEditedTitle(): void;
28
20
  static ɵfac: i0.ɵɵFactoryDeclaration<ResourceVaultComponent, never>;
@@ -1,13 +1,14 @@
1
1
  import { Injector, OnInit } from '@angular/core';
2
2
  import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
3
3
  import { AppBaseComponent } from '@posiwise/app-base-component';
4
- import { TagService } from '@posiwise/common-services';
4
+ import { AuthService, TagService } from '@posiwise/common-services';
5
5
  import { Resource, User } from '@posiwise/common-utilities';
6
6
  import { ResourceService } from '../../../../resource.service';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class ResourceVideoCardComponent extends AppBaseComponent implements OnInit {
9
9
  private readonly sanitizer;
10
10
  private readonly resourceService;
11
+ private readonly authService;
11
12
  private readonly tagService;
12
13
  showVideoSection: boolean;
13
14
  categoryId: string;
@@ -28,7 +29,7 @@ export declare class ResourceVideoCardComponent extends AppBaseComponent impleme
28
29
  isEditingTitle: boolean;
29
30
  editedTitle: string;
30
31
  user: User;
31
- constructor(sanitizer: DomSanitizer, resourceService: ResourceService, tagService: TagService, injector: Injector);
32
+ constructor(sanitizer: DomSanitizer, resourceService: ResourceService, authService: AuthService, tagService: TagService, injector: Injector);
32
33
  ngOnInit(): void;
33
34
  loadVideo(post: any): void;
34
35
  getPosts(page: number, pageSize: number): void;
@@ -1,26 +1,11 @@
1
- import { Injector, OnInit } from '@angular/core';
2
- import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { TagService } from '@posiwise/common-services';
4
- import { Resource, User } from '@posiwise/common-utilities';
1
+ import { Injector } from '@angular/core';
2
+ import { AuthService, TagService } from '@posiwise/common-services';
5
3
  import { ResourceService } from '../../../../resource.service';
4
+ import { BaseTopBannerComponent } from '../../base/base-top-banner.component';
6
5
  import * as i0 from "@angular/core";
7
- export declare class VideosTopBannerComponent extends AppBaseComponent implements OnInit {
8
- private readonly resourceService;
9
- private readonly tagService;
10
- subscriptionId: number;
11
- masterSubscriptionId: any;
12
- posts: Resource[];
13
- testimonialsPosts: any[];
14
- userLoggedIn: boolean;
15
- blogPostTag: any;
16
- tagCategory: any;
17
- blogTestimonialsPostTag: any;
18
- isLoaded: boolean;
19
- user: User;
20
- constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
21
- ngOnInit(): void;
22
- private getTags;
23
- private getPostTags;
6
+ export declare class VideosTopBannerComponent extends BaseTopBannerComponent {
7
+ constructor(resourceService: ResourceService, tagService: TagService, injector: Injector, authService: AuthService);
8
+ protected getSearchTerm(): string;
24
9
  static ɵfac: i0.ɵɵFactoryDeclaration<VideosTopBannerComponent, never>;
25
10
  static ɵcmp: i0.ɵɵComponentDeclaration<VideosTopBannerComponent, "pw-resource-videos-top-banner", never, {}, {}, never, never, false, never>;
26
11
  }
@@ -1,21 +1,11 @@
1
- import { Injector, OnInit } from '@angular/core';
2
- import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { TagService } from '@posiwise/common-services';
4
- import { Resource } from '@posiwise/common-utilities';
1
+ import { Injector } from '@angular/core';
2
+ import { AuthService, TagService } from '@posiwise/common-services';
5
3
  import { ResourceService } from '../../../resource.service';
4
+ import { BaseResourceComponent } from '../base/base-resource.component';
6
5
  import * as i0 from "@angular/core";
7
- export declare class ResourceVideoComponent extends AppBaseComponent implements OnInit {
8
- private readonly resourceService;
9
- private readonly tagService;
10
- subscriptionId: number;
11
- masterSubscriptionId: any;
12
- posts: Resource[];
13
- userLoggedIn: boolean;
14
- blogPostTag: any;
15
- constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
16
- ngOnInit(): void;
17
- private getPostTags;
18
- getPosts(page: number, pageSize: number): void;
6
+ export declare class ResourceVideoComponent extends BaseResourceComponent {
7
+ constructor(resourceService: ResourceService, tagService: TagService, injector: Injector, authService: AuthService);
8
+ protected getResourceType(): string;
19
9
  static ɵfac: i0.ɵɵFactoryDeclaration<ResourceVideoComponent, never>;
20
10
  static ɵcmp: i0.ɵɵComponentDeclaration<ResourceVideoComponent, "pw-resource-videos", never, {}, {}, never, never, false, never>;
21
11
  }