@posiwise/resource-module 0.0.167 → 0.0.169
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.
- package/fesm2022/{posiwise-resource-module-base-top-banner.component-BPTic8Ha.mjs → posiwise-resource-module-base-top-banner.component-Cs5rG9Ho.mjs} +2 -2
- package/fesm2022/{posiwise-resource-module-base-top-banner.component-BPTic8Ha.mjs.map → posiwise-resource-module-base-top-banner.component-Cs5rG9Ho.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-posiwise-resource-module-Cbhl4OZt.mjs → posiwise-resource-module-posiwise-resource-module-D4-tth1f.mjs} +11 -11
- package/fesm2022/{posiwise-resource-module-posiwise-resource-module-Cbhl4OZt.mjs.map → posiwise-resource-module-posiwise-resource-module-D4-tth1f.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-blogs.module-BKFwYvuJ.mjs → posiwise-resource-module-resource-blogs.module-DJzGrpbz.mjs} +5 -5
- package/fesm2022/{posiwise-resource-module-resource-blogs.module-BKFwYvuJ.mjs.map → posiwise-resource-module-resource-blogs.module-DJzGrpbz.mjs.map} +1 -1
- package/fesm2022/posiwise-resource-module-resource-case-studies.module-C-NSn2pH.mjs +133 -0
- package/fesm2022/{posiwise-resource-module-resource-case-studies.module-CRf9fPR1.mjs.map → posiwise-resource-module-resource-case-studies.module-C-NSn2pH.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-events.module-DmzL1dU7.mjs → posiwise-resource-module-resource-events.module-C7MFma9Y.mjs} +4 -4
- package/fesm2022/{posiwise-resource-module-resource-events.module-DmzL1dU7.mjs.map → posiwise-resource-module-resource-events.module-C7MFma9Y.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-hub.module-Vw3FHZxm.mjs → posiwise-resource-module-resource-hub.module-yftceCMI.mjs} +4 -4
- package/fesm2022/{posiwise-resource-module-resource-hub.module-Vw3FHZxm.mjs.map → posiwise-resource-module-resource-hub.module-yftceCMI.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-integrations.module-BJXMl2br.mjs → posiwise-resource-module-resource-integrations.module-lMyG_Wpv.mjs} +5 -5
- package/fesm2022/{posiwise-resource-module-resource-integrations.module-BJXMl2br.mjs.map → posiwise-resource-module-resource-integrations.module-lMyG_Wpv.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-post.module-DoVkmGxX.mjs → posiwise-resource-module-resource-post.module-Ccs5qJZs.mjs} +2 -2
- package/fesm2022/{posiwise-resource-module-resource-post.module-DoVkmGxX.mjs.map → posiwise-resource-module-resource-post.module-Ccs5qJZs.mjs.map} +1 -1
- package/fesm2022/posiwise-resource-module-resource-release-notes.module-BNqU6PCH.mjs +104 -0
- package/fesm2022/{posiwise-resource-module-resource-release-notes.module-Bpk3hV9R.mjs.map → posiwise-resource-module-resource-release-notes.module-BNqU6PCH.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-root.module-DGItMsFh.mjs → posiwise-resource-module-resource-root.module-BWTn3IkQ.mjs} +4 -4
- package/fesm2022/{posiwise-resource-module-resource-root.module-DGItMsFh.mjs.map → posiwise-resource-module-resource-root.module-BWTn3IkQ.mjs.map} +1 -1
- package/fesm2022/posiwise-resource-module-resource-videos.module-ad160S0n.mjs +69 -0
- package/fesm2022/{posiwise-resource-module-resource-videos.module-Cb_P8p3H.mjs.map → posiwise-resource-module-resource-videos.module-ad160S0n.mjs.map} +1 -1
- package/fesm2022/posiwise-resource-module-resource-white-papers.module-KvXLnUEn.mjs +70 -0
- package/fesm2022/{posiwise-resource-module-resource-white-papers.module-BMljtI-i.mjs.map → posiwise-resource-module-resource-white-papers.module-KvXLnUEn.mjs.map} +1 -1
- package/fesm2022/posiwise-resource-module.mjs +1 -1
- package/package.json +1 -1
- package/fesm2022/posiwise-resource-module-resource-case-studies.module-CRf9fPR1.mjs +0 -133
- package/fesm2022/posiwise-resource-module-resource-release-notes.module-Bpk3hV9R.mjs +0 -104
- package/fesm2022/posiwise-resource-module-resource-videos.module-Cb_P8p3H.mjs +0 -69
- package/fesm2022/posiwise-resource-module-resource-white-papers.module-BMljtI-i.mjs +0 -70
|
@@ -4,7 +4,7 @@ import * as i3 from '@angular/platform-browser';
|
|
|
4
4
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
5
|
import * as i2 from '@posiwise/common-services';
|
|
6
6
|
import { HelperService } from '@posiwise/helper-service';
|
|
7
|
-
import { e as ResourceService } from './posiwise-resource-module-posiwise-resource-module-
|
|
7
|
+
import { e as ResourceService } from './posiwise-resource-module-posiwise-resource-module-D4-tth1f.mjs';
|
|
8
8
|
|
|
9
9
|
class BaseTopBannerComponent extends AppBaseComponent {
|
|
10
10
|
constructor(resourceService, tagService, authService, titleService, injector) {
|
|
@@ -109,4 +109,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
109
109
|
}], ctorParameters: () => [{ type: ResourceService }, { type: i2.TagService }, { type: i2.AuthService }, { type: i3.Title }, { type: i0.Injector }] });
|
|
110
110
|
|
|
111
111
|
export { BaseTopBannerComponent as B };
|
|
112
|
-
//# sourceMappingURL=posiwise-resource-module-base-top-banner.component-
|
|
112
|
+
//# sourceMappingURL=posiwise-resource-module-base-top-banner.component-Cs5rG9Ho.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"posiwise-resource-module-base-top-banner.component-
|
|
1
|
+
{"version":3,"file":"posiwise-resource-module-base-top-banner.component-Cs5rG9Ho.mjs","sources":["../../../../libs/resource-module/src/lib/public/components/base/base-top-banner.component.ts"],"sourcesContent":["import { Component, Injector, OnInit } from '@angular/core';\nimport { Title } from '@angular/platform-browser';\n\nimport { AppBaseComponent } from '@posiwise/app-base-component';\nimport { AuthService, TagService } from '@posiwise/common-services';\nimport { Resource, User } from '@posiwise/common-utilities';\nimport { HelperService } from '@posiwise/helper-service';\n\nimport { ResourceService } from '../../../resource.service';\n\n@Component({\n template: '',\n\n standalone: false\n})\nexport abstract class BaseTopBannerComponent extends AppBaseComponent implements OnInit {\n subscriptionId: number;\n masterSubscriptionId = this.appConfig.master_subscription.subscription_id;\n posts: Resource[] = [];\n testimonialsPosts = [];\n userLoggedIn: boolean;\n blogPostTag;\n tagCategory;\n blogTestimonialsPostTag;\n isLoaded = false;\n user: User;\n isMasterSubscription;\n\n canEditResourcesValue = false;\n\n constructor(\n protected readonly resourceService: ResourceService,\n protected readonly tagService: TagService,\n private readonly authService: AuthService,\n private readonly titleService: Title,\n injector: Injector\n ) {\n super(injector);\n }\n\n ngOnInit() {\n this.getUserSubscriptionId().subscribe(response => {\n this.subscriptionId = response;\n });\n this.authService.getToken$().subscribe(res => {\n this.userLoggedIn = !!res;\n if (this.userLoggedIn) {\n this.localStorage.getItem$('product').subscribe(res => {\n const data = res ? JSON.parse(res) : null;\n this.subscriptionId = data?.subscriptionId;\n });\n this.userService.getUserInfo().subscribe(data => {\n this.user = data;\n this.updateCanEditResourcesValue();\n this.getTags();\n });\n } else {\n this.getTags();\n }\n });\n }\n\n protected getTags() {\n this.isLoaded = false;\n this.tagService\n .getAllTagCategories(\n { search: this.getSearchTerm() },\n this.getEffectiveSubscriptionId()\n )\n .subscribe(response => {\n this.tagCategory = response.tag_categories[0];\n this.getPostTags();\n });\n }\n\n private getPostTags() {\n this.tagService\n .getTagsByType('post_categories', {}, this.getEffectiveSubscriptionId())\n .subscribe(response => {\n this.blogPostTag = response.tags.find(\n tag => tag.tag_category_id === this.tagCategory?.id\n );\n this.updateSEOMetadata();\n })\n .add(() => {\n this.isLoaded = true;\n });\n }\n\n /** Helper method to get effective subscription ID */\n protected getEffectiveSubscriptionId(): number {\n return HelperService.getEffectiveSubscriptionId(\n this.user,\n this.subscriptionId,\n this.masterSubscriptionId\n );\n }\n\n protected updateSEOMetadata() {\n if (this.blogPostTag) {\n // Update page title if meta_title is available\n if (this.blogPostTag.meta_title) {\n this.titleService.setTitle(this.blogPostTag.meta_title);\n }\n\n // Update meta description if meta_description is available\n if (this.blogPostTag.meta_description) {\n this.updateMetaDescription(this.blogPostTag.meta_description);\n }\n }\n }\n\n private updateMetaDescription(description: string) {\n let metaDescription = document.querySelector('meta[name=\"description\"]');\n if (!metaDescription) {\n metaDescription = document.createElement('meta');\n metaDescription.setAttribute('name', 'description');\n document.head.appendChild(metaDescription);\n }\n metaDescription.setAttribute('content', description);\n }\n\n // Abstract method that each component must implement\n protected abstract getSearchTerm(): string;\n\n private updateCanEditResourcesValue(): void {\n if (this.userLoggedIn && this.user) {\n this.canEditResourcesValue = HelperService.canEditResources(\n this.user,\n this.userLoggedIn,\n this.permissionService\n );\n } else {\n this.canEditResourcesValue = false;\n }\n }\n\n canEditResources(): boolean {\n return this.canEditResourcesValue;\n }\n}\n"],"names":["i1.ResourceService"],"mappings":";;;;;;;;AAeM,MAAgB,sBAAuB,SAAQ,gBAAgB,CAAA;IAejE,WACuB,CAAA,eAAgC,EAChC,UAAsB,EACxB,WAAwB,EACxB,YAAmB,EACpC,QAAkB,EAAA;QAElB,KAAK,CAAC,QAAQ,CAAC;QANI,IAAe,CAAA,eAAA,GAAf,eAAe;QACf,IAAU,CAAA,UAAA,GAAV,UAAU;QACZ,IAAW,CAAA,WAAA,GAAX,WAAW;QACX,IAAY,CAAA,YAAA,GAAZ,YAAY;QAjBjC,IAAoB,CAAA,oBAAA,GAAG,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,eAAe;QACzE,IAAK,CAAA,KAAA,GAAe,EAAE;QACtB,IAAiB,CAAA,iBAAA,GAAG,EAAE;QAKtB,IAAQ,CAAA,QAAA,GAAG,KAAK;QAIhB,IAAqB,CAAA,qBAAA,GAAG,KAAK;;IAY7B,QAAQ,GAAA;QACJ,IAAI,CAAC,qBAAqB,EAAE,CAAC,SAAS,CAAC,QAAQ,IAAG;AAC9C,YAAA,IAAI,CAAC,cAAc,GAAG,QAAQ;AAClC,SAAC,CAAC;QACF,IAAI,CAAC,WAAW,CAAC,SAA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AI,CAAC,iBAAiB,CACzB;;aACE;AACH,YAAA,IAAI,CAAC,qBAAqB,GAAG,KAAK;;;IAI1C,gBAAgB,GAAA;QACZ,OAAO,IAAI,CAAC,qBAAqB;;+GA3HnB,sBAAsB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAAA,eAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,WAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,KAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,QAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,gGAJ9B,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA;;4FAIM,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAL3C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,EAAE;AAEZ,oBAAA,UAAU,EAAE;AACf,iBAAA;;;;;"}
|
|
@@ -120,43 +120,43 @@ const routes = [
|
|
|
120
120
|
{
|
|
121
121
|
path: '',
|
|
122
122
|
pathMatch: 'full',
|
|
123
|
-
loadChildren: () => import('./posiwise-resource-module-resource-root.module-
|
|
123
|
+
loadChildren: () => import('./posiwise-resource-module-resource-root.module-BWTn3IkQ.mjs').then(m => m.ResourceRootModule)
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
path: 'hub',
|
|
127
|
-
loadChildren: () => import('./posiwise-resource-module-resource-hub.module-
|
|
127
|
+
loadChildren: () => import('./posiwise-resource-module-resource-hub.module-yftceCMI.mjs').then(m => m.ResourceHubModule)
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
path: 'blogs',
|
|
131
|
-
loadChildren: () => import('./posiwise-resource-module-resource-blogs.module-
|
|
131
|
+
loadChildren: () => import('./posiwise-resource-module-resource-blogs.module-DJzGrpbz.mjs').then(m => m.ResourceBlogsModule)
|
|
132
132
|
},
|
|
133
133
|
{
|
|
134
134
|
path: 'videos',
|
|
135
|
-
loadChildren: () => import('./posiwise-resource-module-resource-videos.module-
|
|
135
|
+
loadChildren: () => import('./posiwise-resource-module-resource-videos.module-ad160S0n.mjs').then(m => m.ResourceVideosModule)
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
path: 'integrations',
|
|
139
|
-
loadChildren: () => import('./posiwise-resource-module-resource-integrations.module-
|
|
139
|
+
loadChildren: () => import('./posiwise-resource-module-resource-integrations.module-lMyG_Wpv.mjs').then(m => m.ResourceIntegrationsModule)
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
path: 'release-notes',
|
|
143
|
-
loadChildren: () => import('./posiwise-resource-module-resource-release-notes.module-
|
|
143
|
+
loadChildren: () => import('./posiwise-resource-module-resource-release-notes.module-BNqU6PCH.mjs').then(m => m.ResourceReleaseNotesModule)
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
path: 'events',
|
|
147
|
-
loadChildren: () => import('./posiwise-resource-module-resource-events.module-
|
|
147
|
+
loadChildren: () => import('./posiwise-resource-module-resource-events.module-C7MFma9Y.mjs').then(m => m.ResourceEventsModule)
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
150
|
path: 'white-papers',
|
|
151
|
-
loadChildren: () => import('./posiwise-resource-module-resource-white-papers.module-
|
|
151
|
+
loadChildren: () => import('./posiwise-resource-module-resource-white-papers.module-KvXLnUEn.mjs').then(m => m.ResourceWhitePapersModule)
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
154
|
path: 'case-studies',
|
|
155
|
-
loadChildren: () => import('./posiwise-resource-module-resource-case-studies.module-
|
|
155
|
+
loadChildren: () => import('./posiwise-resource-module-resource-case-studies.module-C-NSn2pH.mjs').then(m => m.ResourceCaseStudiesModule)
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
158
|
path: 'view/:slug',
|
|
159
|
-
loadChildren: () => import('./posiwise-resource-module-resource-post.module-
|
|
159
|
+
loadChildren: () => import('./posiwise-resource-module-resource-post.module-Ccs5qJZs.mjs').then(m => m.ResourcePostModule)
|
|
160
160
|
}
|
|
161
161
|
];
|
|
162
162
|
class BlogPublicRoutingModule {
|
|
@@ -1792,4 +1792,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
1792
1792
|
*/
|
|
1793
1793
|
|
|
1794
1794
|
export { BaseResourceComponent as B, CaseStudyCardComponent as C, ResourceVideoCardComponent as R, TestimonialCardListComponent as T, UpcomingEventCardComponent as U, ResourceCardComponent as a, ResourceNoteCardComponent as b, ResourceVaultComponent as c, ResourceCardsModule as d, ResourceService as e, ResourceEditCardLazyComponent as f, ResourceSharedModule as g, ResourceTopBannerEditComponent as h, ResourceCompanyCardComponent as i, ResourceModule as j, Trial4ContactUsModule as k, ResourcePublicModule as l, ResourceEditModule as m, ResourceEditCardComponent as n };
|
|
1795
|
-
//# sourceMappingURL=posiwise-resource-module-posiwise-resource-module-
|
|
1795
|
+
//# sourceMappingURL=posiwise-resource-module-posiwise-resource-module-D4-tth1f.mjs.map
|