@posiwise/resource-module 0.0.148 → 0.0.149

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 (22) hide show
  1. package/esm2022/lib/public/components/reslease-note-card/release-note-card.component.mjs +2 -2
  2. package/esm2022/lib/public/components/resource-blogs/resource-blog-top-banner/resource-blog-top-banner.component.mjs +2 -2
  3. package/esm2022/lib/public/components/resource-blogs/resource-blog.component.mjs +2 -2
  4. package/esm2022/lib/public/components/resource-card-list/resource-card-list.component.mjs +2 -2
  5. package/esm2022/lib/public/components/resource-integration/integration-top-banner/integration-top-banner.component.mjs +2 -2
  6. package/esm2022/lib/public/components/resource-integration/resource-integration.component.mjs +2 -2
  7. package/esm2022/lib/public/components/resource-post/related-resources/related-resources.component.mjs +3 -3
  8. package/esm2022/lib/public/components/resource-post/related-resources/resource-cards/resource-cards.component.mjs +2 -2
  9. package/esm2022/lib/public/components/resource-post/resource-post-details/resource-post-details.component.mjs +62 -7
  10. package/esm2022/lib/public/components/resource-release-notes/resource-release-notes-top-banner/resource-release-notes-top-banner.component.mjs +2 -2
  11. package/esm2022/lib/public/components/resource-vault/resource-vault.component.mjs +2 -2
  12. package/esm2022/lib/public/components/resource-videos/resource-video-cards/resource-video-cards.component.mjs +2 -2
  13. package/esm2022/lib/public/components/resource-videos/resource-videos-top-banner/resource-videos-top-banner.component.mjs +2 -2
  14. package/esm2022/lib/public/components/resource-webinars/replay-event-cards/replay-event-cards.component.mjs +2 -2
  15. package/esm2022/lib/public/components/resource-webinars/resource-webinars.component.mjs +2 -2
  16. package/esm2022/lib/public/components/resource-webinars/upcoming-event-cards/upcoming-event-cards.component.mjs +2 -2
  17. package/esm2022/lib/public/components/testimonial-card/testimonial-card.component.mjs +2 -2
  18. package/esm2022/lib/public/components/white-papers/white-papers-top-banner/white-papers-top-banner.component.mjs +2 -2
  19. package/fesm2022/posiwise-resource-module.mjs +94 -39
  20. package/fesm2022/posiwise-resource-module.mjs.map +1 -1
  21. package/lib/public/components/resource-post/resource-post-details/resource-post-details.component.d.ts +5 -2
  22. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { Injector, OnInit } from '@angular/core';
2
- import { DomSanitizer, Title } from '@angular/platform-browser';
2
+ import { DomSanitizer, Meta, Title } from '@angular/platform-browser';
3
3
  import { AppBaseComponent } from '@posiwise/app-base-component';
4
4
  import { AuthService, TagService } from '@posiwise/common-services';
5
5
  import { User } from '@posiwise/common-utilities';
@@ -10,6 +10,7 @@ export declare class ResourcePostDetailsComponent extends AppBaseComponent imple
10
10
  private readonly tagService;
11
11
  private readonly authService;
12
12
  private readonly titleService;
13
+ private readonly meta;
13
14
  private readonly sanitizer;
14
15
  post: any;
15
16
  masterSubscriptionId: any;
@@ -59,12 +60,14 @@ export declare class ResourcePostDetailsComponent extends AppBaseComponent imple
59
60
  subscriptionId: number;
60
61
  blogPostTag: any;
61
62
  isLoaded: boolean;
62
- constructor(resourceService: ResourceService, tagService: TagService, authService: AuthService, titleService: Title, injector: Injector, sanitizer: DomSanitizer);
63
+ constructor(resourceService: ResourceService, tagService: TagService, authService: AuthService, titleService: Title, meta: Meta, injector: Injector, sanitizer: DomSanitizer);
63
64
  ngOnInit(): void;
64
65
  private getPostTags;
65
66
  private getBlogItem;
66
67
  private updateSEOMetadata;
67
68
  private updateMetaDescription;
69
+ private setOpenGraphMetaTags;
70
+ getImageUrl(): string | null;
68
71
  static ɵfac: i0.ɵɵFactoryDeclaration<ResourcePostDetailsComponent, never>;
69
72
  static ɵcmp: i0.ɵɵComponentDeclaration<ResourcePostDetailsComponent, "pw-resource-post-details", never, {}, {}, never, never, false, never>;
70
73
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/resource-module",
3
- "version": "0.0.148",
3
+ "version": "0.0.149",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "17.3.11",
6
6
  "@angular/core": "17.3.11",