@posiwise/resource-module 0.0.200 → 0.0.202
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-db9D53MI.mjs → posiwise-resource-module-base-top-banner.component-CrdBpNSj.mjs} +5 -5
- package/fesm2022/{posiwise-resource-module-base-top-banner.component-db9D53MI.mjs.map → posiwise-resource-module-base-top-banner.component-CrdBpNSj.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-blogs.module-C7DtGCXR.mjs → posiwise-resource-module-resource-blogs.module-hxktrj98.mjs} +14 -14
- package/fesm2022/{posiwise-resource-module-resource-blogs.module-C7DtGCXR.mjs.map → posiwise-resource-module-resource-blogs.module-hxktrj98.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-cards.module-mbvmvJpV.mjs → posiwise-resource-module-resource-cards.module-D3yf7FNt.mjs} +37 -37
- package/fesm2022/{posiwise-resource-module-resource-cards.module-mbvmvJpV.mjs.map → posiwise-resource-module-resource-cards.module-D3yf7FNt.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-case-studies.module-CPcpQWlI.mjs → posiwise-resource-module-resource-case-studies.module-CFcO0CI-.mjs} +10 -10
- package/fesm2022/{posiwise-resource-module-resource-case-studies.module-CPcpQWlI.mjs.map → posiwise-resource-module-resource-case-studies.module-CFcO0CI-.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-events.module-yyacWPwv.mjs → posiwise-resource-module-resource-events.module-0PDppSJ6.mjs} +10 -10
- package/fesm2022/{posiwise-resource-module-resource-events.module-yyacWPwv.mjs.map → posiwise-resource-module-resource-events.module-0PDppSJ6.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-hub.module-C-SpVctG.mjs → posiwise-resource-module-resource-hub.module-2qzLV9I1.mjs} +12 -12
- package/fesm2022/{posiwise-resource-module-resource-hub.module-C-SpVctG.mjs.map → posiwise-resource-module-resource-hub.module-2qzLV9I1.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-integrations.module-0Ei4NMHQ.mjs → posiwise-resource-module-resource-integrations.module-DqDd_1U9.mjs} +18 -16
- package/fesm2022/posiwise-resource-module-resource-integrations.module-DqDd_1U9.mjs.map +1 -0
- package/fesm2022/{posiwise-resource-module-resource-post.module-C8O8oiWv.mjs → posiwise-resource-module-resource-post.module-BFuEjqA9.mjs} +16 -16
- package/fesm2022/{posiwise-resource-module-resource-post.module-C8O8oiWv.mjs.map → posiwise-resource-module-resource-post.module-BFuEjqA9.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-release-notes.module-CZeNqmRV.mjs → posiwise-resource-module-resource-release-notes.module-BbofH_0n.mjs} +14 -14
- package/fesm2022/{posiwise-resource-module-resource-release-notes.module-CZeNqmRV.mjs.map → posiwise-resource-module-resource-release-notes.module-BbofH_0n.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-root.module-CQd_uoG7.mjs → posiwise-resource-module-resource-root.module-C9c17Dhm.mjs} +21 -21
- package/fesm2022/{posiwise-resource-module-resource-root.module-CQd_uoG7.mjs.map → posiwise-resource-module-resource-root.module-C9c17Dhm.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-videos.module-DUz-VKpv.mjs → posiwise-resource-module-resource-videos.module-BsnB9vFd.mjs} +14 -14
- package/fesm2022/{posiwise-resource-module-resource-videos.module-DUz-VKpv.mjs.map → posiwise-resource-module-resource-videos.module-BsnB9vFd.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-white-papers.module-Badb-ZZo.mjs → posiwise-resource-module-resource-white-papers.module-BC-OyhAK.mjs} +14 -14
- package/fesm2022/{posiwise-resource-module-resource-white-papers.module-Badb-ZZo.mjs.map → posiwise-resource-module-resource-white-papers.module-BC-OyhAK.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource.service-Dyxc3yQ6.mjs → posiwise-resource-module-resource.service-IK3r0iUB.mjs} +4 -4
- package/fesm2022/posiwise-resource-module-resource.service-IK3r0iUB.mjs.map +1 -0
- package/fesm2022/posiwise-resource-module.mjs +46 -46
- package/fesm2022/posiwise-resource-module.mjs.map +1 -1
- package/package.json +1 -1
- package/fesm2022/posiwise-resource-module-resource-integrations.module-0Ei4NMHQ.mjs.map +0 -1
- package/fesm2022/posiwise-resource-module-resource.service-Dyxc3yQ6.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"posiwise-resource-module-resource-videos.module-
|
|
1
|
+
{"version":3,"file":"posiwise-resource-module-resource-videos.module-BsnB9vFd.mjs","names":["i1.ResourceService","i4.ResourceTopBannerEditComponent","i5","i1.ResourceService","i3.ResourceVideoCardComponent","i6.VideosTopBannerComponent"],"sources":["../../../../libs/resource-module/src/lib/public/components/resource-videos/resource-videos-top-banner/resource-videos-top-banner.component.ts","../../../../libs/resource-module/src/lib/public/components/resource-videos/resource-videos-top-banner/resource-videos-top-banner.component.html","../../../../libs/resource-module/src/lib/public/components/resource-videos/resource-videos.component.ts","../../../../libs/resource-module/src/lib/public/components/resource-videos/resource-videos.component.html","../../../../libs/resource-module/src/lib/public/modules/videos/resource-videos.module.ts"],"sourcesContent":["import { ChangeDetectionStrategy,\n ChangeDetectorRef, Component, Injector } from '@angular/core';\nimport { Title } from '@angular/platform-browser';\n\nimport { AuthService, TagService } from '@posiwise/common-services';\n\nimport { ResourceService } from '../../../../resource.service';\nimport { BaseTopBannerComponent } from '../../base/base-top-banner.component';\n\n@Component({\n selector: 'pw-resource-videos-top-banner',\n templateUrl: './resource-videos-top-banner.component.html',\n styleUrls: [\n '../../resource-case-studies/resource-case-studies.component.scss',\n './resource-videos-top-banner.component.scss',\n '../../resources/resources-shared.component.scss',\n '../../resource-post/related-resources/related-resources.component.scss'\n ],\n\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false\n})\nexport class VideosTopBannerComponent extends BaseTopBannerComponent {\n constructor(\n resourceService: ResourceService,\n tagService: TagService,\n authService: AuthService,\n titleService: Title,\n cdr: ChangeDetectorRef,\n injector: Injector\n ) {\n super(resourceService, tagService, authService, titleService, cdr, injector);\n }\n\n protected getSearchTerm(): string {\n return 'Videos';\n }\n}\n","<section class=\"bg-white pricing-section\">\n <div class=\"resource-banner\">\n @if (isLoaded) {\n <div class=\"container d-flex flex-column flex-lg-row align-items-center justify-content-between\">\n <!-- Left Content -->\n <div class=\"text-content\">\n <div class=\"resource-heading\">\n <h1 class=\"resource-header-text mb-4\">\n <span class=\"d-inline-flex align-items-center gap-2 flex-wrap\">\n <span [innerHTML]=\"blogPostTag?.title || 'Videos on Demand'\"></span>\n @if (canEditResourcesValue) {\n <pw-resource-top-banner-edit\n [blogPostTag]=\"blogPostTag\"\n [user]=\"user\"\n [userLoggedIn]=\"userLoggedIn\"\n (getUpdatedTag)=\"getTags()\"\n ></pw-resource-top-banner-edit>\n }\n </span>\n <span class=\"blue-text\"></span>\n </h1>\n </div>\n </div>\n <div class=\"text-extension mt-4\">\n <div class=\"cta-buttons d-flex flex-column justify-between h-100\">\n <div class=\"flex-grow-1\">\n @if (blogPostTag?.description && blogPostTag.description !== 'null' ) {\n <p class=\"intro\" [innerHTML]=\"blogPostTag.description\"></p>\n } @else {\n <p class=\"intro\">\n Discover below all our videos.\n </p>\n }\n </div>\n </div>\n </div>\n <!-- Right Content -->\n <div class=\"image-content ms-lg-5 mt-5 mt-lg-0\">\n <div class=\"resource-math-img\"></div>\n <img class=\"resource-laptop-img dyn-img\"\n [src]=\"(blogPostTag?.image?.url && !(blogPostTag?.image?.url.includes('no_image_uploaded_squared'))) ? blogPostTag?.image?.url : '/assets/img/resource/video-template.png'\"\n alt=\"Videos on demand banner\"\n width=\"600\"\n height=\"450\"\n loading=\"eager\"\n fetchpriority=\"high\" />\n </div>\n </div>\n }\n </div>\n</section>\n","import { ChangeDetectionStrategy,\n ChangeDetectorRef, Component, Injector } from '@angular/core';\n\nimport { AuthService, TagService } from '@posiwise/common-services';\n\nimport { ResourceService } from '../../../resource.service';\nimport { BaseResourceComponent } from '../base/base-resource.component';\n\n@Component({\n selector: 'pw-resource-videos',\n templateUrl: './resource-videos.component.html',\n styleUrls: [],\n\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false\n})\nexport class ResourceVideoComponent extends BaseResourceComponent {\n constructor(\n resourceService: ResourceService,\n tagService: TagService,\n authService: AuthService,\n cdr: ChangeDetectorRef,\n injector: Injector\n ) {\n super(resourceService, tagService, authService, cdr, injector);\n }\n\n protected getResourceType(): string {\n return 'Videos';\n }\n}\n","<pw-resource-header [user]=\"user\" [userLoggedIn]=\"userLoggedIn\"></pw-resource-header>\n<pw-resource-videos-top-banner></pw-resource-videos-top-banner>\n\n\n@if (blogPostTag?.tag_category_id) {\n <pw-resource-video-card [tag]=\"blogPostTag\" [categoryId]=\"blogPostTag?.tag_category_id\" [resourceTitle]=\"blogPostTag?.title\" [resourceTitle]=\"blogPostTag?.title\" [postSlice]=\"true\" [user]=\"user\" [userLoggedIn]=\"userLoggedIn\"></pw-resource-video-card>\n}\n\n<pw-trial-4-contact-us [user]=\"user\" [userLoggedIn]=\"userLoggedIn\"></pw-trial-4-contact-us>\n","import { NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\n\nimport { ResourceVideoComponent } from '../../components/resource-videos/resource-videos.component';\nimport { VideosTopBannerComponent } from '../../components/resource-videos/resource-videos-top-banner/resource-videos-top-banner.component';\nimport { ResourceSharedModule } from '../../shared/resource-shared.module';\n\nconst routes: Routes = [\n {\n path: '',\n component: ResourceVideoComponent,\n data: {\n title: 'Resources - Videos',\n permission: 'Pages.Blog',\n preload: false\n }\n }\n];\n\n@NgModule({\n declarations: [ResourceVideoComponent, VideosTopBannerComponent],\n imports: [ResourceSharedModule, RouterModule.forChild(routes)]\n})\nexport class ResourceVideosModule {}\n"],"mappings":";;;;;;;;;;;;;AAsBA,IAAa,2BAAb,MAAa,iCAAiC,uBAAsB;CAChE,YACI,iBACA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;CAApB;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAoB,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAApB;EAAA,KAAA,OAAA,GAAA,oBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAoB,cAAA,CAHd,wBAAwB,wBAAwB;GAAA,SAAA,CACrD,sBAAoB,GAAA,YAAA;EAAA,CAAA;CAAA;CAErB;EAAA,KAAA,OAAA,GAAA,oBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAoB,SAAA,CAFnB,sBAAsB,aAAa,SAAS,MAAM,CAAC;EAAA,CAAA;CAAA;;AAEpD,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAoB,YAAA,CAAA;EAJhC,MAAA;EAAS,MAAA,CAAA;GACN,cAAc,CAAC,wBAAwB,wBAAwB;GAC/D,SAAS,CAAC,sBAAsB,aAAa,SAAS,MAAM,CAAC;EAChE,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as ResourceService } from "./posiwise-resource-module-resource.service-
|
|
2
|
-
import { a as BaseResourceComponent, i as ResourceVaultComponent } from "./posiwise-resource-module-resource-cards.module-
|
|
1
|
+
import { t as ResourceService } from "./posiwise-resource-module-resource.service-IK3r0iUB.mjs";
|
|
2
|
+
import { a as BaseResourceComponent, i as ResourceVaultComponent } from "./posiwise-resource-module-resource-cards.module-D3yf7FNt.mjs";
|
|
3
3
|
import { ResourceSharedModule, ResourceTopBannerEditComponent } from "./posiwise-resource-module.mjs";
|
|
4
|
-
import { t as BaseTopBannerComponent } from "./posiwise-resource-module-base-top-banner.component-
|
|
4
|
+
import { t as BaseTopBannerComponent } from "./posiwise-resource-module-base-top-banner.component-CrdBpNSj.mjs";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import { CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component, NgModule } from "@angular/core";
|
|
7
7
|
import * as i2 from "@posiwise/common-services";
|
|
@@ -22,7 +22,7 @@ var WhitePaperTopBannerComponent = class WhitePaperTopBannerComponent extends Ba
|
|
|
22
22
|
static {
|
|
23
23
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
24
24
|
minVersion: "12.0.0",
|
|
25
|
-
version: "22.2.
|
|
25
|
+
version: "22.2.3",
|
|
26
26
|
ngImport: i0,
|
|
27
27
|
type: WhitePaperTopBannerComponent,
|
|
28
28
|
deps: [
|
|
@@ -39,7 +39,7 @@ var WhitePaperTopBannerComponent = class WhitePaperTopBannerComponent extends Ba
|
|
|
39
39
|
static {
|
|
40
40
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
41
41
|
minVersion: "17.0.0",
|
|
42
|
-
version: "22.2.
|
|
42
|
+
version: "22.2.3",
|
|
43
43
|
type: WhitePaperTopBannerComponent,
|
|
44
44
|
isStandalone: false,
|
|
45
45
|
selector: "pw-white-paper-top-banner",
|
|
@@ -73,7 +73,7 @@ var WhitePaperTopBannerComponent = class WhitePaperTopBannerComponent extends Ba
|
|
|
73
73
|
};
|
|
74
74
|
i0.ɵɵngDeclareClassMetadata({
|
|
75
75
|
minVersion: "12.0.0",
|
|
76
|
-
version: "22.2.
|
|
76
|
+
version: "22.2.3",
|
|
77
77
|
ngImport: i0,
|
|
78
78
|
type: WhitePaperTopBannerComponent,
|
|
79
79
|
decorators: [{
|
|
@@ -110,7 +110,7 @@ var WhitePaperComponent = class WhitePaperComponent extends BaseResourceComponen
|
|
|
110
110
|
static {
|
|
111
111
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
112
112
|
minVersion: "12.0.0",
|
|
113
|
-
version: "22.2.
|
|
113
|
+
version: "22.2.3",
|
|
114
114
|
ngImport: i0,
|
|
115
115
|
type: WhitePaperComponent,
|
|
116
116
|
deps: [
|
|
@@ -126,7 +126,7 @@ var WhitePaperComponent = class WhitePaperComponent extends BaseResourceComponen
|
|
|
126
126
|
static {
|
|
127
127
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
128
128
|
minVersion: "17.0.0",
|
|
129
|
-
version: "22.2.
|
|
129
|
+
version: "22.2.3",
|
|
130
130
|
type: WhitePaperComponent,
|
|
131
131
|
isStandalone: false,
|
|
132
132
|
selector: "pw-resource-white-papers",
|
|
@@ -180,7 +180,7 @@ var WhitePaperComponent = class WhitePaperComponent extends BaseResourceComponen
|
|
|
180
180
|
};
|
|
181
181
|
i0.ɵɵngDeclareClassMetadata({
|
|
182
182
|
minVersion: "12.0.0",
|
|
183
|
-
version: "22.2.
|
|
183
|
+
version: "22.2.3",
|
|
184
184
|
ngImport: i0,
|
|
185
185
|
type: WhitePaperComponent,
|
|
186
186
|
decorators: [{
|
|
@@ -213,7 +213,7 @@ var ResourceWhitePapersModule = class ResourceWhitePapersModule {
|
|
|
213
213
|
static {
|
|
214
214
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
215
215
|
minVersion: "12.0.0",
|
|
216
|
-
version: "22.2.
|
|
216
|
+
version: "22.2.3",
|
|
217
217
|
ngImport: i0,
|
|
218
218
|
type: ResourceWhitePapersModule,
|
|
219
219
|
deps: [],
|
|
@@ -223,7 +223,7 @@ var ResourceWhitePapersModule = class ResourceWhitePapersModule {
|
|
|
223
223
|
static {
|
|
224
224
|
this.ɵmod = i0.ɵɵngDeclareNgModule({
|
|
225
225
|
minVersion: "14.0.0",
|
|
226
|
-
version: "22.2.
|
|
226
|
+
version: "22.2.3",
|
|
227
227
|
ngImport: i0,
|
|
228
228
|
type: ResourceWhitePapersModule,
|
|
229
229
|
declarations: [WhitePaperComponent, WhitePaperTopBannerComponent],
|
|
@@ -233,7 +233,7 @@ var ResourceWhitePapersModule = class ResourceWhitePapersModule {
|
|
|
233
233
|
static {
|
|
234
234
|
this.ɵinj = i0.ɵɵngDeclareInjector({
|
|
235
235
|
minVersion: "12.0.0",
|
|
236
|
-
version: "22.2.
|
|
236
|
+
version: "22.2.3",
|
|
237
237
|
ngImport: i0,
|
|
238
238
|
type: ResourceWhitePapersModule,
|
|
239
239
|
imports: [ResourceSharedModule, RouterModule.forChild(routes)]
|
|
@@ -242,7 +242,7 @@ var ResourceWhitePapersModule = class ResourceWhitePapersModule {
|
|
|
242
242
|
};
|
|
243
243
|
i0.ɵɵngDeclareClassMetadata({
|
|
244
244
|
minVersion: "12.0.0",
|
|
245
|
-
version: "22.2.
|
|
245
|
+
version: "22.2.3",
|
|
246
246
|
ngImport: i0,
|
|
247
247
|
type: ResourceWhitePapersModule,
|
|
248
248
|
decorators: [{
|
|
@@ -256,4 +256,4 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
256
256
|
});
|
|
257
257
|
export { ResourceWhitePapersModule };
|
|
258
258
|
|
|
259
|
-
//# sourceMappingURL=posiwise-resource-module-resource-white-papers.module-
|
|
259
|
+
//# sourceMappingURL=posiwise-resource-module-resource-white-papers.module-BC-OyhAK.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"posiwise-resource-module-resource-white-papers.module-Badb-ZZo.mjs","names":["i1.ResourceService","i4.ResourceTopBannerEditComponent","i5","i1.ResourceService","i3.ResourceVaultComponent","i6.WhitePaperTopBannerComponent"],"sources":["../../../../libs/resource-module/src/lib/public/components/white-papers/white-papers-top-banner/white-papers-top-banner.component.ts","../../../../libs/resource-module/src/lib/public/components/white-papers/white-papers-top-banner/white-papers-top-banner.component.html","../../../../libs/resource-module/src/lib/public/components/white-papers/white-papers.component.ts","../../../../libs/resource-module/src/lib/public/components/white-papers/white-papers.component.html","../../../../libs/resource-module/src/lib/public/modules/white-papers/resource-white-papers.module.ts"],"sourcesContent":["import { ChangeDetectionStrategy,\n ChangeDetectorRef, Component, Injector } from '@angular/core';\nimport { Title } from '@angular/platform-browser';\n\nimport { AuthService, TagService } from '@posiwise/common-services';\n\nimport { ResourceService } from '../../../../resource.service';\nimport { BaseTopBannerComponent } from '../../base/base-top-banner.component';\n\n@Component({\n selector: 'pw-white-paper-top-banner',\n templateUrl: './white-papers-top-banner.component.html',\n styleUrls: [\n '../../resource-case-studies/resource-case-studies.component.scss',\n './white-papers-top-banner.component.scss',\n '../../resources/resources-shared.component.scss',\n '../../resource-post/related-resources/related-resources.component.scss'\n ],\n\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false\n})\nexport class WhitePaperTopBannerComponent extends BaseTopBannerComponent {\n contactUsUrl = this.appConfig?.pages_config?.contact_us?.url;\n\n constructor(\n resourceService: ResourceService,\n tagService: TagService,\n authService: AuthService,\n titleService: Title,\n cdr: ChangeDetectorRef,\n injector: Injector\n ) {\n super(resourceService, tagService, authService, titleService, cdr, injector);\n }\n\n protected getSearchTerm(): string {\n return 'White Papers';\n }\n}\n","<section class=\"bg-white pricing-section\">\n <div class=\"resource-banner\">\n @if (isLoaded) {\n <div class=\"container d-flex flex-column flex-lg-row align-items-center justify-content-between\">\n <!-- Left Content -->\n <div class=\"text-content\">\n <div class=\"resource-heading\">\n <h1 class=\"resource-header-text mb-4\">\n <span class=\"d-inline-flex align-items-center gap-2 flex-wrap\">\n <span [innerHTML]=\"blogPostTag?.title || 'White papers & Tools'\"></span>\n @if (canEditResourcesValue) {\n <pw-resource-top-banner-edit\n [blogPostTag]=\"blogPostTag\"\n [user]=\"user\"\n [userLoggedIn]=\"userLoggedIn\"\n (getUpdatedTag)=\"getPostTags()\"\n ></pw-resource-top-banner-edit>\n }\n </span>\n </h1>\n </div>\n </div>\n <div class=\"text-extension mt-4\">\n <div class=\"cta-buttons d-flex flex-column justify-between h-100\">\n <div class=\"flex-grow-1\">\n @if (blogPostTag?.description && blogPostTag.description !== 'null' ) {\n <p class=\"intro\" [innerHTML]=\"blogPostTag.description\"></p>\n } @else {\n <p class=\"intro\">\n If you like your insights practical and your downloads actually useful — you’re in the right place.\n </p>\n }\n </div>\n <div class=\"d-flex gap-3 flex-wrap mt-3\">\n <a [href]=\"contactUsUrl\" target=\"_blank\" rel=\"noopener noreferrer\"\n class=\"cta-btn filled\">Talk to us <i class=\"fa fa-chevron-right cta-btn__icon\" aria-hidden=\"true\"></i></a>\n </div>\n </div>\n </div>\n <!-- Right Content -->\n <div class=\"image-content ms-lg-5 mt-5 mt-lg-0\">\n <div class=\"resource-math-img\"></div>\n <img class=\"resource-laptop-img dyn-img\"\n [src]=\"(blogPostTag?.image?.url && !(blogPostTag?.image?.url.includes('no_image_uploaded_squared'))) ? blogPostTag?.image?.url : '/assets/img/resource/white-paper-women.png'\"\n alt=\"White papers and tools banner\"\n width=\"600\"\n height=\"450\"\n loading=\"eager\"\n fetchpriority=\"high\" />\n </div>\n </div>\n }\n </div>\n</section>\n","import { ChangeDetectionStrategy,\n ChangeDetectorRef, Component, Injector } from '@angular/core';\n\nimport { AuthService, TagService } from '@posiwise/common-services';\n\nimport { ResourceService } from '../../../resource.service';\nimport { BaseResourceComponent } from '../base/base-resource.component';\n\n@Component({\n selector: 'pw-resource-white-papers',\n templateUrl: './white-papers.component.html',\n\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false\n})\nexport class WhitePaperComponent extends BaseResourceComponent {\n constructor(\n resourceService: ResourceService,\n tagService: TagService,\n authService: AuthService,\n cdr: ChangeDetectorRef,\n injector: Injector\n ) {\n super(resourceService, tagService, authService, cdr, injector);\n }\n\n protected getResourceType(): string {\n return 'White Papers';\n }\n}\n","<pw-resource-header [user]=\"user\" [userLoggedIn]=\"userLoggedIn\"></pw-resource-header>\n\n<pw-white-paper-top-banner></pw-white-paper-top-banner>\n\n@if (blogPostTag?.tag_category_id) {\n <pw-resource--vault [tag]=\"blogPostTag\" [categoryId]=\"blogPostTag?.tag_category_id\" [resourceTitle]=\"blogPostTag?.title\" [postSlice]=\"true\" [user]=\"user\" [userLoggedIn]=\"userLoggedIn\"></pw-resource--vault>\n}\n\n<pw-trial-4-contact-us [user]=\"user\" [userLoggedIn]=\"userLoggedIn\"></pw-trial-4-contact-us>\n","import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\n\nimport { WhitePaperComponent } from '../../components/white-papers/white-papers.component';\nimport { WhitePaperTopBannerComponent } from '../../components/white-papers/white-papers-top-banner/white-papers-top-banner.component';\nimport { ResourceSharedModule } from '../../shared/resource-shared.module';\n\nconst routes: Routes = [\n {\n path: '',\n component: WhitePaperComponent,\n data: {\n title: 'Resources - White Papers',\n permission: 'Pages.Blog',\n preload: false\n }\n }\n];\n\n@NgModule({\n declarations: [WhitePaperComponent, WhitePaperTopBannerComponent],\n imports: [ResourceSharedModule, RouterModule.forChild(routes)],\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\n})\nexport class ResourceWhitePapersModule {}\n"],"mappings":";;;;;;;;;;;;;AAsBA,IAAa,+BAAb,MAAa,qCAAqC,uBAAsB;CAGpE,YACI,iBACA,YACA,aACA,cACA,KACA,UAAkB;EAElB,MAAM,iBAAiB,YAAY,aAAa,cAAc,KAAK,QAAQ;EAV/E,KAAA,eAAe,KAAK,WAAW,cAAc,YAAY;CAWzD;CAEU,gBAAa;EACnB,OAAO;CACX;CAhBS;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAA4B,MAAA;IAAA,EAAA,OAAAA,gBAAA;IAAA,EAAA,OAAA,GAAA,WAAA;IAAA,EAAA,OAAA,GAAA,YAAA;IAAA,EAAA,OAAA,GAAA,MAAA;IAAA,EAAA,OAAA,GAAA,kBAAA;IAAA,EAAA,OAAA,GAAA,SAAA;GAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAA5B;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAA4B,cAAA;GAAA,UAAA;GAAA,iBAAA;GAAA,UAAA;GAAA,UCtBzC;GAsDA,QAAA;IAAA;IAAA;IAAA;IAAA;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GACN,cAAc,CAAC,qBAAqB,4BAA4B;GAChE,SAAS,CAAC,sBAAsB,aAAa,SAAS,MAAM,CAAC;GAC7D,SAAS,CAAC,sBAAsB;EACnC,CAAA"}
|
|
1
|
+
{"version":3,"file":"posiwise-resource-module-resource-white-papers.module-BC-OyhAK.mjs","names":["i1.ResourceService","i4.ResourceTopBannerEditComponent","i5","i1.ResourceService","i3.ResourceVaultComponent","i6.WhitePaperTopBannerComponent"],"sources":["../../../../libs/resource-module/src/lib/public/components/white-papers/white-papers-top-banner/white-papers-top-banner.component.ts","../../../../libs/resource-module/src/lib/public/components/white-papers/white-papers-top-banner/white-papers-top-banner.component.html","../../../../libs/resource-module/src/lib/public/components/white-papers/white-papers.component.ts","../../../../libs/resource-module/src/lib/public/components/white-papers/white-papers.component.html","../../../../libs/resource-module/src/lib/public/modules/white-papers/resource-white-papers.module.ts"],"sourcesContent":["import { ChangeDetectionStrategy,\n ChangeDetectorRef, Component, Injector } from '@angular/core';\nimport { Title } from '@angular/platform-browser';\n\nimport { AuthService, TagService } from '@posiwise/common-services';\n\nimport { ResourceService } from '../../../../resource.service';\nimport { BaseTopBannerComponent } from '../../base/base-top-banner.component';\n\n@Component({\n selector: 'pw-white-paper-top-banner',\n templateUrl: './white-papers-top-banner.component.html',\n styleUrls: [\n '../../resource-case-studies/resource-case-studies.component.scss',\n './white-papers-top-banner.component.scss',\n '../../resources/resources-shared.component.scss',\n '../../resource-post/related-resources/related-resources.component.scss'\n ],\n\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false\n})\nexport class WhitePaperTopBannerComponent extends BaseTopBannerComponent {\n contactUsUrl = this.appConfig?.pages_config?.contact_us?.url;\n\n constructor(\n resourceService: ResourceService,\n tagService: TagService,\n authService: AuthService,\n titleService: Title,\n cdr: ChangeDetectorRef,\n injector: Injector\n ) {\n super(resourceService, tagService, authService, titleService, cdr, injector);\n }\n\n protected getSearchTerm(): string {\n return 'White Papers';\n }\n}\n","<section class=\"bg-white pricing-section\">\n <div class=\"resource-banner\">\n @if (isLoaded) {\n <div class=\"container d-flex flex-column flex-lg-row align-items-center justify-content-between\">\n <!-- Left Content -->\n <div class=\"text-content\">\n <div class=\"resource-heading\">\n <h1 class=\"resource-header-text mb-4\">\n <span class=\"d-inline-flex align-items-center gap-2 flex-wrap\">\n <span [innerHTML]=\"blogPostTag?.title || 'White papers & Tools'\"></span>\n @if (canEditResourcesValue) {\n <pw-resource-top-banner-edit\n [blogPostTag]=\"blogPostTag\"\n [user]=\"user\"\n [userLoggedIn]=\"userLoggedIn\"\n (getUpdatedTag)=\"getPostTags()\"\n ></pw-resource-top-banner-edit>\n }\n </span>\n </h1>\n </div>\n </div>\n <div class=\"text-extension mt-4\">\n <div class=\"cta-buttons d-flex flex-column justify-between h-100\">\n <div class=\"flex-grow-1\">\n @if (blogPostTag?.description && blogPostTag.description !== 'null' ) {\n <p class=\"intro\" [innerHTML]=\"blogPostTag.description\"></p>\n } @else {\n <p class=\"intro\">\n If you like your insights practical and your downloads actually useful — you’re in the right place.\n </p>\n }\n </div>\n <div class=\"d-flex gap-3 flex-wrap mt-3\">\n <a [href]=\"contactUsUrl\" target=\"_blank\" rel=\"noopener noreferrer\"\n class=\"cta-btn filled\">Talk to us <i class=\"fa fa-chevron-right cta-btn__icon\" aria-hidden=\"true\"></i></a>\n </div>\n </div>\n </div>\n <!-- Right Content -->\n <div class=\"image-content ms-lg-5 mt-5 mt-lg-0\">\n <div class=\"resource-math-img\"></div>\n <img class=\"resource-laptop-img dyn-img\"\n [src]=\"(blogPostTag?.image?.url && !(blogPostTag?.image?.url.includes('no_image_uploaded_squared'))) ? blogPostTag?.image?.url : '/assets/img/resource/white-paper-women.png'\"\n alt=\"White papers and tools banner\"\n width=\"600\"\n height=\"450\"\n loading=\"eager\"\n fetchpriority=\"high\" />\n </div>\n </div>\n }\n </div>\n</section>\n","import { ChangeDetectionStrategy,\n ChangeDetectorRef, Component, Injector } from '@angular/core';\n\nimport { AuthService, TagService } from '@posiwise/common-services';\n\nimport { ResourceService } from '../../../resource.service';\nimport { BaseResourceComponent } from '../base/base-resource.component';\n\n@Component({\n selector: 'pw-resource-white-papers',\n templateUrl: './white-papers.component.html',\n\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false\n})\nexport class WhitePaperComponent extends BaseResourceComponent {\n constructor(\n resourceService: ResourceService,\n tagService: TagService,\n authService: AuthService,\n cdr: ChangeDetectorRef,\n injector: Injector\n ) {\n super(resourceService, tagService, authService, cdr, injector);\n }\n\n protected getResourceType(): string {\n return 'White Papers';\n }\n}\n","<pw-resource-header [user]=\"user\" [userLoggedIn]=\"userLoggedIn\"></pw-resource-header>\n\n<pw-white-paper-top-banner></pw-white-paper-top-banner>\n\n@if (blogPostTag?.tag_category_id) {\n <pw-resource--vault [tag]=\"blogPostTag\" [categoryId]=\"blogPostTag?.tag_category_id\" [resourceTitle]=\"blogPostTag?.title\" [postSlice]=\"true\" [user]=\"user\" [userLoggedIn]=\"userLoggedIn\"></pw-resource--vault>\n}\n\n<pw-trial-4-contact-us [user]=\"user\" [userLoggedIn]=\"userLoggedIn\"></pw-trial-4-contact-us>\n","import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\n\nimport { WhitePaperComponent } from '../../components/white-papers/white-papers.component';\nimport { WhitePaperTopBannerComponent } from '../../components/white-papers/white-papers-top-banner/white-papers-top-banner.component';\nimport { ResourceSharedModule } from '../../shared/resource-shared.module';\n\nconst routes: Routes = [\n {\n path: '',\n component: WhitePaperComponent,\n data: {\n title: 'Resources - White Papers',\n permission: 'Pages.Blog',\n preload: false\n }\n }\n];\n\n@NgModule({\n declarations: [WhitePaperComponent, WhitePaperTopBannerComponent],\n imports: [ResourceSharedModule, RouterModule.forChild(routes)],\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\n})\nexport class ResourceWhitePapersModule {}\n"],"mappings":";;;;;;;;;;;;;AAsBA,IAAa,+BAAb,MAAa,qCAAqC,u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,OAAO;EACP,YAAY;EACZ,SAAS;CACZ;AACJ,CACJ;AAOD,IAAa,4BAAb,MAAa,0BAAyB;CAAzB;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAyB,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAzB;EAAA,KAAA,OAAA,GAAA,oBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAyB,cAAA,CAJnB,qBAAqB,4BAA4B;GAAA,SAAA,CACtD,sBAAoB,GAAA,YAAA;EAAA,CAAA;CAAA;CAGrB;EAAA,KAAA,OAAA,GAAA,oBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAyB,SAAA,CAHxB,sBAAsB,aAAa,SAAS,MAAM,CAAC;EAAA,CAAA;CAAA;;AAGpD,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAyB,YAAA,CAAA;EALrC,MAAA;EAAS,MAAA,CAAA;GACN,cAAc,CAAC,qBAAqB,4BAA4B;GAChE,SAAS,CAAC,sBAAsB,aAAa,SAAS,MAAM,CAAC;GAC7D,SAAS,CAAC,sBAAsB;EACnC,CAAA"}
|
|
@@ -63,7 +63,7 @@ var ResourceService = class ResourceService {
|
|
|
63
63
|
static {
|
|
64
64
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
65
65
|
minVersion: "12.0.0",
|
|
66
|
-
version: "22.2.
|
|
66
|
+
version: "22.2.3",
|
|
67
67
|
ngImport: i0,
|
|
68
68
|
type: ResourceService,
|
|
69
69
|
deps: [{ token: i1.MainApiHttpService }],
|
|
@@ -73,7 +73,7 @@ var ResourceService = class ResourceService {
|
|
|
73
73
|
static {
|
|
74
74
|
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
75
75
|
minVersion: "12.0.0",
|
|
76
|
-
version: "22.2.
|
|
76
|
+
version: "22.2.3",
|
|
77
77
|
ngImport: i0,
|
|
78
78
|
type: ResourceService
|
|
79
79
|
});
|
|
@@ -81,7 +81,7 @@ var ResourceService = class ResourceService {
|
|
|
81
81
|
};
|
|
82
82
|
i0.ɵɵngDeclareClassMetadata({
|
|
83
83
|
minVersion: "12.0.0",
|
|
84
|
-
version: "22.2.
|
|
84
|
+
version: "22.2.3",
|
|
85
85
|
ngImport: i0,
|
|
86
86
|
type: ResourceService,
|
|
87
87
|
decorators: [{ type: Injectable }],
|
|
@@ -89,4 +89,4 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
89
89
|
});
|
|
90
90
|
export { ResourceService as t };
|
|
91
91
|
|
|
92
|
-
//# sourceMappingURL=posiwise-resource-module-resource.service-
|
|
92
|
+
//# sourceMappingURL=posiwise-resource-module-resource.service-IK3r0iUB.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"posiwise-resource-module-resource.service-IK3r0iUB.mjs","names":[],"sources":["../../../../libs/resource-module/src/lib/resource.service.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\nimport { MainApiHttpService } from '@posiwise/common-services';\nimport { Paging } from '@posiwise/common-utilities';\nimport { HelperService } from '@posiwise/helper-service';\n\ntype PostFormValue = string | number | boolean | Blob | null | undefined;\n\n@Injectable()\nexport class ResourceService {\n private readonly resource = '/posts';\n\n private readonly comments = '/comments';\n\n constructor(private readonly api: MainApiHttpService) {}\n\n getPublicPosts(\n master_subscription_id,\n page: number,\n pageSize: number,\n search: string,\n tagCategoryIds?: string,\n tagIds?: string,\n extraParams: Record<string, string | number> = {}\n ) {\n const params = {\n ...extraParams,\n page,\n page_size: pageSize,\n search: search,\n master_subscription_id\n };\n\n if (tagCategoryIds) {\n params['tag_category_ids'] = tagCategoryIds;\n }\n\n if (tagIds) {\n params['tag_ids'] = tagIds;\n }\n return this.api.getWithParams(`${this.resource}/get_all`, {\n ...params\n });\n }\n\n getAdminPosts(subscriptionId, paging?: Paging) {\n return this.api.getWithParams(`${this.resource}/admin_get_all`, {\n ...HelperService.getPagingParams(paging),\n subscription_id: subscriptionId\n });\n }\n\n addPost(post) {\n return this.api.post(this.resource, this.toPostFormData(post));\n }\n\n getPostBySlug(slug: string) {\n return this.api.get(`${this.resource}/${slug}`);\n }\n\n deletePost(id) {\n return this.api.delete(`${this.resource}/${id}`);\n }\n\n updatePost(post, id) {\n return this.api.put(`${this.resource}/${id}`, this.toPostFormData(post));\n }\n\n // FormData sends null as the TEXT \"null\", which main-api then stored (a post's\n // external_url became \"null\" and its card linked to /null). Unset fields are left out.\n private toPostFormData(post: Record<string, PostFormValue>): FormData {\n const formData = new FormData();\n Object.entries(post).forEach(([key, value]) => {\n if (value !== null && value !== undefined) {\n formData.append(key, value instanceof Blob ? value : String(value));\n }\n });\n return formData;\n }\n\n private getComments() {\n return this.api.get(`${this.comments}/get_all`);\n }\n\n postComments(post) {\n return this.api.post(this.comments, post);\n }\n\n getResourceInsight(subscription_id, starting_at?: string, ending_at?: string) {\n return this.api.getWithParams(\n `/admin/posts_analytics?type=views&subscription_id=${subscription_id}`,\n { starting_at, ending_at }\n );\n }\n\n getResourcePostsInsight(id) {\n return this.api.get(`${this.resource}/${id}/insights`);\n }\n}\n"],"mappings":";;;;AASA,IAAa,kBAAb,MAAa,gBAAe;CAKxB,YAA6B,KAAuB;EAAvB,KAAA,MAAA;EAJZ,KAAA,WAAW;EAEX,KAAA,WAAW;CAE2B;CAEvD,eACI,wBACA,MACA,UACA,QACA,gBACA,QACA,cAA+C,CAAA,GAAE;EAEjD,MAAM,SAAS;GACX,GAAG;GACH;GACA,WAAW;GACH;GACR;EACH;EAED,IAAI,gBACA,OAAO,sBAAsB;EAGjC,IAAI,QACA,OAAO,aAAa;EAExB,OAAO,KAAK,IAAI,cAAc,GAAG,KAAK,SAAQ,WAAY,EACtD,GAAG,OACN,CAAA;CACL;CAEA,cAAc,gBAAgB,QAAe;EACzC,OAAO,KAAK,IAAI,cAAc,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