@posiwise/resource-module 0.0.93 → 0.0.95

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 (61) hide show
  1. package/esm2022/index.mjs +3 -2
  2. package/esm2022/lib/public/components/reslease-note-card/release-note-card.component.mjs +26 -0
  3. package/esm2022/lib/public/components/resource-blogs/resource-blog.component.mjs +64 -0
  4. package/esm2022/lib/public/components/resource-card-list/resource-card-list.component.mjs +22 -0
  5. package/esm2022/lib/public/components/resource-case-studies/case-studies-cards/case-studies-cards.component.mjs +24 -0
  6. package/esm2022/lib/public/components/resource-case-studies/resource-case-studies.component.mjs +83 -0
  7. package/esm2022/lib/public/components/resource-company-card/resource-company-card.component.mjs +43 -0
  8. package/esm2022/lib/public/components/resource-integration/resource-integration.component.mjs +52 -0
  9. package/esm2022/lib/public/components/resource-post/related-resources/related-resources.component.mjs +102 -0
  10. package/esm2022/lib/public/components/resource-post/related-resources/resource-cards/resource-cards.component.mjs +36 -0
  11. package/esm2022/lib/public/components/resource-post/resource-post-details/resource-post-details.component.mjs +42 -0
  12. package/esm2022/lib/public/components/resource-post/resource-post.component.mjs +31 -0
  13. package/esm2022/lib/public/components/resource-release-notes/resource-release-notes.component.mjs +64 -0
  14. package/esm2022/lib/public/components/resource-vault/resource-vault.component.mjs +41 -0
  15. package/esm2022/lib/public/components/resource-videos/resource-video-cards/resource-video-cards.component.mjs +35 -0
  16. package/esm2022/lib/public/components/resource-videos/resource-videos.component.mjs +63 -0
  17. package/esm2022/lib/public/components/resource-webinars/replay-event-cards/replay-event-cards.component.mjs +31 -0
  18. package/esm2022/lib/public/components/resource-webinars/resource-webinars.component.mjs +79 -0
  19. package/esm2022/lib/public/components/resource-webinars/upcoming-event-cards/upcoming-event-cards.component.mjs +19 -0
  20. package/esm2022/lib/public/components/resources/resource-tags/resource-tags.component.mjs +51 -0
  21. package/esm2022/lib/public/components/resources/resources.component.mjs +21 -0
  22. package/esm2022/lib/public/components/resources/vault-section/vault-section.component.mjs +12 -0
  23. package/esm2022/lib/public/components/resources-hub/resources-hub.component.mjs +174 -0
  24. package/esm2022/lib/public/components/resources-read/resources-read.component.mjs +3 -3
  25. package/esm2022/lib/public/components/testimonial-card/testimonial-card.component.mjs +74 -0
  26. package/esm2022/lib/public/components/white-papers/white-papers.component.mjs +63 -0
  27. package/esm2022/lib/public/resource-public.module.mjs +88 -7
  28. package/esm2022/lib/public/resource-public.routing.module.mjs +80 -8
  29. package/esm2022/lib/resource.service.mjs +14 -3
  30. package/fesm2022/posiwise-resource-module.mjs +1130 -77
  31. package/fesm2022/posiwise-resource-module.mjs.map +1 -1
  32. package/index.d.ts +2 -1
  33. package/lib/public/components/reslease-note-card/release-note-card.component.d.ts +11 -0
  34. package/lib/public/components/resource-blogs/resource-blog.component.d.ts +20 -0
  35. package/lib/public/components/resource-card-list/resource-card-list.component.d.ts +7 -0
  36. package/lib/public/components/resource-case-studies/case-studies-cards/case-studies-cards.component.d.ts +11 -0
  37. package/lib/public/components/resource-case-studies/resource-case-studies.component.d.ts +23 -0
  38. package/lib/public/components/resource-company-card/resource-company-card.component.d.ts +22 -0
  39. package/lib/public/components/resource-integration/resource-integration.component.d.ts +34 -0
  40. package/lib/public/components/resource-post/related-resources/related-resources.component.d.ts +34 -0
  41. package/lib/public/components/resource-post/related-resources/resource-cards/resource-cards.component.d.ts +11 -0
  42. package/lib/public/components/resource-post/resource-post-details/resource-post-details.component.d.ts +17 -0
  43. package/lib/public/components/resource-post/resource-post.component.d.ts +13 -0
  44. package/lib/public/components/resource-release-notes/resource-release-notes.component.d.ts +20 -0
  45. package/lib/public/components/resource-vault/resource-vault.component.d.ts +20 -0
  46. package/lib/public/components/resource-videos/resource-video-cards/resource-video-cards.component.d.ts +29 -0
  47. package/lib/public/components/resource-videos/resource-videos.component.d.ts +20 -0
  48. package/lib/public/components/resource-webinars/replay-event-cards/replay-event-cards.component.d.ts +28 -0
  49. package/lib/public/components/resource-webinars/resource-webinars.component.d.ts +22 -0
  50. package/lib/public/components/resource-webinars/upcoming-event-cards/upcoming-event-cards.component.d.ts +6 -0
  51. package/lib/public/components/resources/resource-tags/resource-tags.component.d.ts +20 -0
  52. package/lib/public/components/resources/resources.component.d.ts +5 -0
  53. package/lib/public/components/resources/vault-section/vault-section.component.d.ts +5 -0
  54. package/lib/public/components/{resources-list/resources-list.component.d.ts → resources-hub/resources-hub.component.d.ts} +14 -6
  55. package/lib/public/components/resources-read/resources-read.component.d.ts +1 -2
  56. package/lib/public/components/testimonial-card/testimonial-card.component.d.ts +11 -0
  57. package/lib/public/components/white-papers/white-papers.component.d.ts +20 -0
  58. package/lib/public/resource-public.module.d.ts +41 -16
  59. package/lib/resource.service.d.ts +1 -1
  60. package/package.json +1 -1
  61. package/esm2022/lib/public/components/resources-list/resources-list.component.mjs +0 -129
package/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './lib/resource.module';
2
2
  export * from './lib/public/components/resources-read/resources-read.component';
3
- export * from './lib/public/components/resources-list/resources-list.component';
3
+ export * from './lib/public/components/resources-hub/resources-hub.component';
4
4
  export * from './lib/public/resource-public.module';
5
+ export * from './lib/resource.service';
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ResourceNoteCardComponent {
3
+ posts: any[];
4
+ releaseHeader: boolean;
5
+ q1NotesLink: string;
6
+ q3NotesLink: string;
7
+ q4NotesLink: string;
8
+ releaseNotesLink: string;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourceNoteCardComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResourceNoteCardComponent, "pw-resource-note-card", never, { "posts": { "alias": "posts"; "required": false; }; "releaseHeader": { "alias": "releaseHeader"; "required": false; }; }, {}, never, never, false, never>;
11
+ }
@@ -0,0 +1,20 @@
1
+ import { Injector, OnInit } from '@angular/core';
2
+ import { AppBaseComponent } from '@posiwise/app-base-component';
3
+ import { TagService } from '@posiwise/common-services';
4
+ import { ResourceService } from '../../../resource.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ResourceBlogComponent extends AppBaseComponent implements OnInit {
7
+ private readonly resourceService;
8
+ private readonly tagService;
9
+ subscriptionId: number;
10
+ masterSubscriptionId: any;
11
+ posts: any[];
12
+ userLoggedIn: boolean;
13
+ blogPostTag: any;
14
+ constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
15
+ ngOnInit(): void;
16
+ private getPostTags;
17
+ getPosts(page: number, pageSize: number): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourceBlogComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResourceBlogComponent, "pw-resource-blog", never, {}, {}, never, never, false, never>;
20
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ResourceCardListComponent {
3
+ posts: any[];
4
+ postHeader: string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourceCardListComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResourceCardListComponent, "pw-resource-card-list", never, { "posts": { "alias": "posts"; "required": false; }; "postHeader": { "alias": "postHeader"; "required": false; }; }, {}, never, never, false, never>;
7
+ }
@@ -0,0 +1,11 @@
1
+ import { Injector } from '@angular/core';
2
+ import { DomSanitizer } from '@angular/platform-browser';
3
+ import { AppBaseComponent } from '@posiwise/app-base-component';
4
+ import * as i0 from "@angular/core";
5
+ export declare class CaseStudyCardComponent extends AppBaseComponent {
6
+ private readonly sanitizer;
7
+ showCaseStudyHeader: boolean;
8
+ constructor(sanitizer: DomSanitizer, injector: Injector);
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<CaseStudyCardComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaseStudyCardComponent, "pw-case-studies-card", never, { "showCaseStudyHeader": { "alias": "showCaseStudyHeader"; "required": false; }; }, {}, never, never, false, never>;
11
+ }
@@ -0,0 +1,23 @@
1
+ import { Injector, OnInit } from '@angular/core';
2
+ import { AppBaseComponent } from '@posiwise/app-base-component';
3
+ import { TagService } from '@posiwise/common-services';
4
+ import { ResourceService } from '../../../resource.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ResourceCaseStudiesComponent extends AppBaseComponent implements OnInit {
7
+ private readonly resourceService;
8
+ private readonly tagService;
9
+ subscriptionId: number;
10
+ masterSubscriptionId: number;
11
+ posts: any[];
12
+ testimonialsPosts: any[];
13
+ userLoggedIn: boolean;
14
+ blogPostTag: any;
15
+ blogTestimonialsPostTag: any;
16
+ constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
17
+ ngOnInit(): void;
18
+ private getPostTags;
19
+ getPosts(page: number, pageSize: number): void;
20
+ getTestimonialsPosts(page: number, pageSize: number): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourceCaseStudiesComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResourceCaseStudiesComponent, "pw-resource-blog", never, {}, {}, never, never, false, never>;
23
+ }
@@ -0,0 +1,22 @@
1
+ import { OnChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ interface PageEvent {
4
+ first: number;
5
+ rows: number;
6
+ page: number;
7
+ pageCount: number;
8
+ }
9
+ export declare class ResourceCompanyCardComponent implements OnChanges {
10
+ header: string;
11
+ data: any[];
12
+ vendor: boolean;
13
+ filteredData: any[];
14
+ first: number;
15
+ rows: number;
16
+ ngOnChanges(): void;
17
+ search(keywords?: any): void;
18
+ onPageChange(event: PageEvent): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourceCompanyCardComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResourceCompanyCardComponent, "pw-resource-company-card", never, { "header": { "alias": "header"; "required": false; }; "data": { "alias": "data"; "required": false; }; "vendor": { "alias": "vendor"; "required": false; }; }, {}, never, never, false, never>;
21
+ }
22
+ export {};
@@ -0,0 +1,34 @@
1
+ import { Injector, OnInit } from '@angular/core';
2
+ import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
3
+ import { AppBaseComponent } from '@posiwise/app-base-component';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ResourceIntegrationComponent extends AppBaseComponent implements OnInit {
6
+ private readonly sanitizer;
7
+ distributorsData: {
8
+ id: string;
9
+ name: string;
10
+ companyImg: string;
11
+ }[];
12
+ vendorsData: {
13
+ id: string;
14
+ name: string;
15
+ companyImg: string;
16
+ }[];
17
+ textColor: any;
18
+ releaseNotesLink: string;
19
+ q1NotesLink: string;
20
+ q3NotesLink: string;
21
+ q4NotesLink: string;
22
+ videoWebinarLoaded: boolean;
23
+ videoDemoLoaded: boolean;
24
+ youtubeVideoId: string;
25
+ videoTitle: string;
26
+ sanitizedMicrosoftVideoUrl: SafeResourceUrl;
27
+ sanitizedKesyaVideoUrl: SafeResourceUrl;
28
+ constructor(sanitizer: DomSanitizer, injector: Injector);
29
+ ngOnInit(): void;
30
+ loadMicrosoftVideo(): void;
31
+ loadKeseyaVideo(): void;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourceIntegrationComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResourceIntegrationComponent, "pw-resource-integration", never, {}, {}, never, never, false, never>;
34
+ }
@@ -0,0 +1,34 @@
1
+ import { Injector, OnInit } from '@angular/core';
2
+ import { DomSanitizer } from '@angular/platform-browser';
3
+ import { AppBaseComponent } from '@posiwise/app-base-component';
4
+ import { CustomToastService } from '@posiwise/common-services';
5
+ import { User } from '@posiwise/common-utilities';
6
+ import { ResourceService } from '../../../../resource.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class RelatedResourcesComponent extends AppBaseComponent implements OnInit {
9
+ private readonly resourceService;
10
+ private readonly sanitizer;
11
+ private readonly toastr;
12
+ resourceCards: {
13
+ title: string;
14
+ image: string;
15
+ alt: string;
16
+ url: string;
17
+ }[];
18
+ post: any;
19
+ masterSubscriptionId: any;
20
+ slug: any;
21
+ postComments: any[];
22
+ commentForm: any;
23
+ userLoggedIn: boolean;
24
+ user: User;
25
+ constructor(resourceService: ResourceService, injector: Injector, sanitizer: DomSanitizer, toastr: CustomToastService);
26
+ ngOnInit(): void;
27
+ private getBlogItem;
28
+ onComment(): void;
29
+ trackByComment(_index: number, item: {
30
+ id: number;
31
+ }): number;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<RelatedResourcesComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<RelatedResourcesComponent, "pw-related-resources", never, {}, {}, never, never, false, never>;
34
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ResourceCardComponent {
3
+ resourceCards: {
4
+ title: string;
5
+ image: string;
6
+ alt: string;
7
+ url: string;
8
+ }[];
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourceCardComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResourceCardComponent, "pw-resource-cards", never, {}, {}, never, never, false, never>;
11
+ }
@@ -0,0 +1,17 @@
1
+ import { Injector, OnInit } from '@angular/core';
2
+ import { DomSanitizer } from '@angular/platform-browser';
3
+ import { AppBaseComponent } from '@posiwise/app-base-component';
4
+ import { ResourceService } from '../../../../resource.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ResourcePostDetailsComponent extends AppBaseComponent implements OnInit {
7
+ private readonly resourceService;
8
+ private readonly sanitizer;
9
+ post: any;
10
+ masterSubscriptionId: any;
11
+ slug: any;
12
+ constructor(resourceService: ResourceService, injector: Injector, sanitizer: DomSanitizer);
13
+ ngOnInit(): void;
14
+ private getBlogItem;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourcePostDetailsComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResourcePostDetailsComponent, "pw-resource-post-details", never, {}, {}, never, never, false, never>;
17
+ }
@@ -0,0 +1,13 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { Title } from '@angular/platform-browser';
3
+ import { ActivatedRoute } from '@angular/router';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ResourcePostComponent implements OnInit {
6
+ private route;
7
+ private titleService;
8
+ slug: string;
9
+ constructor(route: ActivatedRoute, titleService: Title);
10
+ ngOnInit(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourcePostComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResourcePostComponent, "app-resource-post", never, {}, {}, never, never, false, never>;
13
+ }
@@ -0,0 +1,20 @@
1
+ import { Injector, OnInit } from '@angular/core';
2
+ import { AppBaseComponent } from '@posiwise/app-base-component';
3
+ import { TagService } from '@posiwise/common-services';
4
+ import { ResourceService } from '../../../resource.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ResourceReleaseNoteComponent extends AppBaseComponent implements OnInit {
7
+ private readonly resourceService;
8
+ private readonly tagService;
9
+ subscriptionId: number;
10
+ masterSubscriptionId: number;
11
+ posts: any[];
12
+ userLoggedIn: boolean;
13
+ blogPostTag: any;
14
+ constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
15
+ ngOnInit(): void;
16
+ private getPostTags;
17
+ getPosts(page: number, pageSize: number): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourceReleaseNoteComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResourceReleaseNoteComponent, "pw-resource-release-notes", never, {}, {}, never, never, false, never>;
20
+ }
@@ -0,0 +1,20 @@
1
+ import { Injector } from '@angular/core';
2
+ import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
3
+ import { AppBaseComponent } from '@posiwise/app-base-component';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ResourceVaultComponent extends AppBaseComponent {
6
+ private readonly sanitizer;
7
+ showVaultSection: boolean;
8
+ videoWebinarLoaded: boolean;
9
+ videoDemoLoaded: boolean;
10
+ ebookLink: string;
11
+ youtubeVideoId: string;
12
+ videoTitle: string;
13
+ sanitizedDemoVideoUrl: SafeResourceUrl;
14
+ sanitizedWebinarVideoUrl: SafeResourceUrl;
15
+ constructor(sanitizer: DomSanitizer, injector: Injector);
16
+ loadDemoVideo(): void;
17
+ loadWebinarVideo(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourceVaultComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResourceVaultComponent, "pw-resource--vault", never, { "showVaultSection": { "alias": "showVaultSection"; "required": false; }; }, {}, never, never, false, never>;
20
+ }
@@ -0,0 +1,29 @@
1
+ import { Injector } from '@angular/core';
2
+ import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
3
+ import { AppBaseComponent } from '@posiwise/app-base-component';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ResourceVideoCardComponent extends AppBaseComponent {
6
+ private readonly sanitizer;
7
+ showVideoSection: boolean;
8
+ videoStates: {
9
+ datto: {
10
+ loaded: boolean;
11
+ id: string;
12
+ url: SafeResourceUrl;
13
+ };
14
+ connectwise: {
15
+ loaded: boolean;
16
+ id: string;
17
+ url: SafeResourceUrl;
18
+ };
19
+ cloudolive: {
20
+ loaded: boolean;
21
+ id: string;
22
+ url: SafeResourceUrl;
23
+ };
24
+ };
25
+ constructor(sanitizer: DomSanitizer, injector: Injector);
26
+ loadVideo(key: 'datto' | 'connectwise' | 'cloudolive'): void;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourceVideoCardComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResourceVideoCardComponent, "pw-resource-video-card", never, { "showVideoSection": { "alias": "showVideoSection"; "required": false; }; }, {}, never, never, false, never>;
29
+ }
@@ -0,0 +1,20 @@
1
+ import { Injector, OnInit } from '@angular/core';
2
+ import { AppBaseComponent } from '@posiwise/app-base-component';
3
+ import { TagService } from '@posiwise/common-services';
4
+ import { ResourceService } from '../../../resource.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ResourceVideoComponent extends AppBaseComponent implements OnInit {
7
+ private readonly resourceService;
8
+ private readonly tagService;
9
+ subscriptionId: number;
10
+ masterSubscriptionId: number;
11
+ posts: any[];
12
+ userLoggedIn: boolean;
13
+ blogPostTag: any;
14
+ constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
15
+ ngOnInit(): void;
16
+ private getPostTags;
17
+ getPosts(page: number, pageSize: number): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourceVideoComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResourceVideoComponent, "pw-resource-videos", never, {}, {}, never, never, false, never>;
20
+ }
@@ -0,0 +1,28 @@
1
+ import { Injector } from '@angular/core';
2
+ import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
3
+ import { AppBaseComponent } from '@posiwise/app-base-component';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ReplayEventCardComponent extends AppBaseComponent {
6
+ private readonly sanitizer;
7
+ videoStates: {
8
+ inforcer: {
9
+ loaded: boolean;
10
+ id: string;
11
+ url: SafeResourceUrl;
12
+ };
13
+ inforcer2: {
14
+ loaded: boolean;
15
+ id: string;
16
+ url: SafeResourceUrl;
17
+ };
18
+ huntress: {
19
+ loaded: boolean;
20
+ id: string;
21
+ url: SafeResourceUrl;
22
+ };
23
+ };
24
+ constructor(sanitizer: DomSanitizer, injector: Injector);
25
+ loadVideo(key: 'inforcer' | 'inforcer2' | 'huntress'): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReplayEventCardComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReplayEventCardComponent, "pw-replay-event-card", never, {}, {}, never, never, false, never>;
28
+ }
@@ -0,0 +1,22 @@
1
+ import { Injector, OnInit } from '@angular/core';
2
+ import { AppBaseComponent } from '@posiwise/app-base-component';
3
+ import { TagService } from '@posiwise/common-services';
4
+ import { ResourceService } from '../../../resource.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ResourceWebinarComponent extends AppBaseComponent implements OnInit {
7
+ private readonly resourceService;
8
+ private readonly tagService;
9
+ subscriptionId: number;
10
+ masterSubscriptionId: number;
11
+ posts: any[];
12
+ upcomingPosts: any[];
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;
19
+ getUpcomingPosts(page: number, pageSize: number): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourceWebinarComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResourceWebinarComponent, "pw-resource-blog", never, {}, {}, never, never, false, never>;
22
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class UpcomingEventCardComponent {
3
+ showEventContent: boolean;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<UpcomingEventCardComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<UpcomingEventCardComponent, "pw-upcoming-event-card", never, { "showEventContent": { "alias": "showEventContent"; "required": false; }; }, {}, never, never, false, never>;
6
+ }
@@ -0,0 +1,20 @@
1
+ import { Injector, OnInit } from '@angular/core';
2
+ import { AppBaseComponent } from '@posiwise/app-base-component';
3
+ import { TagService } from '@posiwise/common-services';
4
+ import { Tag } from '@posiwise/common-utilities';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ResourceTagComponent extends AppBaseComponent implements OnInit {
7
+ private readonly tagService;
8
+ tags: any[];
9
+ subscriptionId: number;
10
+ userLoggedIn: boolean;
11
+ loading: boolean;
12
+ loaded: boolean;
13
+ selectedTag: Tag | null;
14
+ constructor(tagService: TagService, injector: Injector);
15
+ ngOnInit(): void;
16
+ selectTag(tag: Tag): void;
17
+ getTags(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourceTagComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResourceTagComponent, "pw-resource-tags", never, {}, {}, never, never, false, never>;
20
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ResourceComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourceComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResourceComponent, "pw-resources", never, {}, {}, never, never, false, never>;
5
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class VaultSectionComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<VaultSectionComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<VaultSectionComponent, "pw-vault-section", never, {}, {}, never, never, false, never>;
5
+ }
@@ -1,16 +1,20 @@
1
1
  import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { Resource, Tag } from '@posiwise/admin-module';
3
2
  import { AppBaseComponent } from '@posiwise/app-base-component';
4
3
  import { TagService } from '@posiwise/common-services';
4
+ import { Resource, Tag } from '@posiwise/common-utilities';
5
5
  import { ResourceService } from '../../../resource.service';
6
6
  import * as i0 from "@angular/core";
7
- export declare class ResourceListComponent extends AppBaseComponent implements OnInit, OnDestroy {
7
+ export declare class ResourceHubComponent extends AppBaseComponent implements OnInit, OnDestroy {
8
8
  private readonly resourceService;
9
9
  private readonly tagService;
10
10
  private delayTimeout;
11
11
  data: any[];
12
12
  posts: Resource[];
13
13
  tags: Tag[];
14
+ selectedTags: any[];
15
+ currentPage: number;
16
+ pageSize: number;
17
+ objectCount: number;
14
18
  searchTextItems: string;
15
19
  searchInput: boolean;
16
20
  readingTime: number;
@@ -20,15 +24,19 @@ export declare class ResourceListComponent extends AppBaseComponent implements O
20
24
  masterSubscriptionId: number;
21
25
  subscriptionId: any;
22
26
  userLoggedIn: boolean;
27
+ scrollLocked: boolean;
28
+ iconClasses: string[];
23
29
  constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
24
30
  ngOnInit(): void;
25
31
  getPostsAndTags(): void;
26
- getPosts(page: number, pageSize: number): void;
27
- showSearch(close: string): void;
32
+ getRandomIcon(): string;
33
+ getPosts(page: number, pageSize: number, fetchAll?: boolean, append?: boolean): void;
28
34
  onSearch(seconds: number): void;
35
+ onWindowScroll(): void;
36
+ isSelected(tagId: number): boolean;
29
37
  tagPost(selectedTag: any): void;
30
38
  thisPostReadingTime(text: string): string;
31
39
  ngOnDestroy(): void;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<ResourceListComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<ResourceListComponent, "pw-posts-list", never, {}, {}, never, never, false, never>;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourceHubComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResourceHubComponent, "pw-posts-list", never, {}, {}, never, never, false, never>;
34
42
  }
@@ -1,10 +1,9 @@
1
1
  import { Injector, OnDestroy, OnInit } from '@angular/core';
2
2
  import { UntypedFormGroup } from '@angular/forms';
3
3
  import { DomSanitizer } from '@angular/platform-browser';
4
- import { RecentPost, Resource, ResourceComment } from '@posiwise/admin-module';
5
4
  import { AppBaseComponent } from '@posiwise/app-base-component';
6
5
  import { CustomToastService } from '@posiwise/common-services';
7
- import { User } from '@posiwise/common-utilities';
6
+ import { RecentPost, Resource, ResourceComment, User } from '@posiwise/common-utilities';
8
7
  import { ResourceService } from '../../../resource.service';
9
8
  import * as i0 from "@angular/core";
10
9
  export declare class ResourceReadComponent extends AppBaseComponent implements OnInit, OnDestroy {
@@ -0,0 +1,11 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TestimonialCardListComponent implements OnInit {
4
+ posts: any[];
5
+ postHeader: string;
6
+ swiper: any;
7
+ ngOnInit(): void;
8
+ private initSwiper;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<TestimonialCardListComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestimonialCardListComponent, "pw-testimonial-card", never, { "posts": { "alias": "posts"; "required": false; }; "postHeader": { "alias": "postHeader"; "required": false; }; }, {}, never, never, false, never>;
11
+ }
@@ -0,0 +1,20 @@
1
+ import { Injector, OnInit } from '@angular/core';
2
+ import { AppBaseComponent } from '@posiwise/app-base-component';
3
+ import { TagService } from '@posiwise/common-services';
4
+ import { ResourceService } from '../../../resource.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class WhitePaperComponent extends AppBaseComponent implements OnInit {
7
+ private readonly resourceService;
8
+ private readonly tagService;
9
+ subscriptionId: number;
10
+ masterSubscriptionId: number;
11
+ posts: any[];
12
+ userLoggedIn: boolean;
13
+ blogPostTag: any;
14
+ constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
15
+ ngOnInit(): void;
16
+ private getPostTags;
17
+ getPosts(page: number, pageSize: number): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<WhitePaperComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<WhitePaperComponent, "pw-resource-blog", never, {}, {}, never, never, false, never>;
20
+ }
@@ -1,21 +1,46 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./components/resources-list/resources-list.component";
3
- import * as i2 from "./components/resources-read/resources-read.component";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@posiwise/pipes";
6
- import * as i5 from "@posiwise/shared-components";
7
- import * as i6 from "ngx-uploader";
8
- import * as i7 from "./resource-public.routing.module";
9
- import * as i8 from "ngx-sharebuttons/buttons";
10
- import * as i9 from "ngx-sharebuttons/icons";
11
- import * as i10 from "ngx-quill";
12
- import * as i11 from "@angular/forms";
13
- import * as i12 from "@posiwise/public-modules";
14
- import * as i13 from "@posiwise/core-transloco";
15
- import * as i14 from "@jsverse/transloco";
16
- import * as i15 from "@posiwise/directives";
2
+ import * as i1 from "./components/resources-hub/resources-hub.component";
3
+ import * as i2 from "./components/resources/resource-tags/resource-tags.component";
4
+ import * as i3 from "./components/resources-read/resources-read.component";
5
+ import * as i4 from "./components/resources/vault-section/vault-section.component";
6
+ import * as i5 from "./components/resources/resources.component";
7
+ import * as i6 from "./components/resource-post/resource-post.component";
8
+ import * as i7 from "./components/resource-post/related-resources/related-resources.component";
9
+ import * as i8 from "./components/resource-post/related-resources/resource-cards/resource-cards.component";
10
+ import * as i9 from "./components/resource-post/resource-post-details/resource-post-details.component";
11
+ import * as i10 from "./components/resource-blogs/resource-blog.component";
12
+ import * as i11 from "./components/resource-videos/resource-videos.component";
13
+ import * as i12 from "./components/resource-integration/resource-integration.component";
14
+ import * as i13 from "./components/resource-release-notes/resource-release-notes.component";
15
+ import * as i14 from "./components/resource-webinars/resource-webinars.component";
16
+ import * as i15 from "./components/white-papers/white-papers.component";
17
+ import * as i16 from "./components/resource-case-studies/resource-case-studies.component";
18
+ import * as i17 from "./components/resource-card-list/resource-card-list.component";
19
+ import * as i18 from "./components/testimonial-card/testimonial-card.component";
20
+ import * as i19 from "./components/reslease-note-card/release-note-card.component";
21
+ import * as i20 from "./components/resource-company-card/resource-company-card.component";
22
+ import * as i21 from "./components/resource-vault/resource-vault.component";
23
+ import * as i22 from "./components/resource-videos/resource-video-cards/resource-video-cards.component";
24
+ import * as i23 from "./components/resource-webinars/upcoming-event-cards/upcoming-event-cards.component";
25
+ import * as i24 from "./components/resource-webinars/replay-event-cards/replay-event-cards.component";
26
+ import * as i25 from "./components/resource-case-studies/case-studies-cards/case-studies-cards.component";
27
+ import * as i26 from "@angular/common";
28
+ import * as i27 from "@posiwise/pipes";
29
+ import * as i28 from "@posiwise/alpha-module";
30
+ import * as i29 from "primeng/dropdown";
31
+ import * as i30 from "@posiwise/shared-components";
32
+ import * as i31 from "ngx-uploader";
33
+ import * as i32 from "./resource-public.routing.module";
34
+ import * as i33 from "ngx-sharebuttons/buttons";
35
+ import * as i34 from "@posiwise/public-modules";
36
+ import * as i35 from "ngx-sharebuttons/icons";
37
+ import * as i36 from "ngx-quill";
38
+ import * as i37 from "@angular/forms";
39
+ import * as i38 from "@posiwise/core-transloco";
40
+ import * as i39 from "@jsverse/transloco";
41
+ import * as i40 from "@posiwise/directives";
17
42
  export declare class ResourcePublicModule {
18
43
  static ɵfac: i0.ɵɵFactoryDeclaration<ResourcePublicModule, never>;
19
- static ɵmod: i0.ɵɵNgModuleDeclaration<ResourcePublicModule, [typeof i1.ResourceListComponent, typeof i2.ResourceReadComponent], [typeof i3.CommonModule, typeof i4.PipesModule, typeof i5.SharedComponentsModule, typeof i6.NgxUploaderModule, typeof i7.BlogPublicRoutingModule, typeof i8.ShareButtonsModule, typeof i9.ShareIconsModule, typeof i10.QuillModule, typeof i11.FormsModule, typeof i12.PublicModule, typeof i13.CoreTranslocoModule, typeof i14.TranslocoModule, typeof i11.ReactiveFormsModule, typeof i15.DirectivesModule], never>;
44
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ResourcePublicModule, [typeof i1.ResourceHubComponent, typeof i2.ResourceTagComponent, typeof i3.ResourceReadComponent, typeof i4.VaultSectionComponent, typeof i5.ResourceComponent, typeof i6.ResourcePostComponent, typeof i7.RelatedResourcesComponent, typeof i8.ResourceCardComponent, typeof i9.ResourcePostDetailsComponent, typeof i10.ResourceBlogComponent, typeof i11.ResourceVideoComponent, typeof i12.ResourceIntegrationComponent, typeof i13.ResourceReleaseNoteComponent, typeof i14.ResourceWebinarComponent, typeof i15.WhitePaperComponent, typeof i16.ResourceCaseStudiesComponent, typeof i17.ResourceCardListComponent, typeof i18.TestimonialCardListComponent, typeof i19.ResourceNoteCardComponent, typeof i20.ResourceCompanyCardComponent, typeof i21.ResourceVaultComponent, typeof i22.ResourceVideoCardComponent, typeof i23.UpcomingEventCardComponent, typeof i24.ReplayEventCardComponent, typeof i25.CaseStudyCardComponent], [typeof i26.CommonModule, typeof i27.PipesModule, typeof i28.AlphaPublicModule, typeof i29.DropdownModule, typeof i30.SharedComponentsModule, typeof i31.NgxUploaderModule, typeof i32.BlogPublicRoutingModule, typeof i33.ShareButtonsModule, typeof i34.PublicModule, typeof i35.ShareIconsModule, typeof i36.QuillModule, typeof i37.FormsModule, typeof i38.CoreTranslocoModule, typeof i39.TranslocoModule, typeof i37.ReactiveFormsModule, typeof i40.DirectivesModule], never>;
20
45
  static ɵinj: i0.ɵɵInjectorDeclaration<ResourcePublicModule>;
21
46
  }
@@ -6,7 +6,7 @@ export declare class ResourceService {
6
6
  private readonly resource;
7
7
  private readonly comments;
8
8
  constructor(api: MainApiHttpService);
9
- getPublicPosts(master_subscription_id: any, page: number, pageSize: number, search: string): import("rxjs").Observable<any>;
9
+ getPublicPosts(master_subscription_id: any, page: number, pageSize: number, search: string, tagCategoryIds?: string): import("rxjs").Observable<any>;
10
10
  getAdminPosts(subscriptionId: any, paging?: Paging): import("rxjs").Observable<any>;
11
11
  addPost(post: any): import("rxjs").Observable<any>;
12
12
  getPostBySlug(slug: string): import("rxjs").Observable<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/resource-module",
3
- "version": "0.0.93",
3
+ "version": "0.0.95",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "17.3.11",
6
6
  "@angular/core": "17.3.11",