@posiwise/resource-module 0.0.202 → 0.0.203
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-CrdBpNSj.mjs → posiwise-resource-module-base-top-banner.component-BwujN_up.mjs} +16 -32
- package/fesm2022/posiwise-resource-module-base-top-banner.component-BwujN_up.mjs.map +1 -0
- package/fesm2022/{posiwise-resource-module-resource-blogs.module-hxktrj98.mjs → posiwise-resource-module-resource-blogs.module-mSKg7oDE.mjs} +52 -70
- package/fesm2022/posiwise-resource-module-resource-blogs.module-mSKg7oDE.mjs.map +1 -0
- package/fesm2022/{posiwise-resource-module-resource-cards.module-D3yf7FNt.mjs → posiwise-resource-module-resource-cards.module-BSJpkk9V.mjs} +718 -705
- package/fesm2022/posiwise-resource-module-resource-cards.module-BSJpkk9V.mjs.map +1 -0
- package/fesm2022/{posiwise-resource-module-resource-case-studies.module-CFcO0CI-.mjs → posiwise-resource-module-resource-case-studies.module-rCEpwQ4J.mjs} +62 -61
- package/fesm2022/posiwise-resource-module-resource-case-studies.module-rCEpwQ4J.mjs.map +1 -0
- package/fesm2022/{posiwise-resource-module-resource-events.module-0PDppSJ6.mjs → posiwise-resource-module-resource-events.module-Djau8zuG.mjs} +53 -54
- package/fesm2022/posiwise-resource-module-resource-events.module-Djau8zuG.mjs.map +1 -0
- package/fesm2022/{posiwise-resource-module-resource-hub.module-2qzLV9I1.mjs → posiwise-resource-module-resource-hub.module-CQtyBld2.mjs} +141 -122
- package/fesm2022/posiwise-resource-module-resource-hub.module-CQtyBld2.mjs.map +1 -0
- package/fesm2022/{posiwise-resource-module-resource-integrations.module-DqDd_1U9.mjs → posiwise-resource-module-resource-integrations.module-BXyPZf3W.mjs} +129 -132
- package/fesm2022/posiwise-resource-module-resource-integrations.module-BXyPZf3W.mjs.map +1 -0
- package/fesm2022/posiwise-resource-module-resource-jobs.module-B53AOs8y.mjs +399 -0
- package/fesm2022/posiwise-resource-module-resource-jobs.module-B53AOs8y.mjs.map +1 -0
- package/fesm2022/{posiwise-resource-module-resource-post.module-BFuEjqA9.mjs → posiwise-resource-module-resource-post.module-DIaB5kyW.mjs} +206 -212
- package/fesm2022/posiwise-resource-module-resource-post.module-DIaB5kyW.mjs.map +1 -0
- package/fesm2022/{posiwise-resource-module-resource-release-notes.module-BbofH_0n.mjs → posiwise-resource-module-resource-release-notes.module-Btxs8la7.mjs} +59 -71
- package/fesm2022/posiwise-resource-module-resource-release-notes.module-Btxs8la7.mjs.map +1 -0
- package/fesm2022/{posiwise-resource-module-resource-root.module-C9c17Dhm.mjs → posiwise-resource-module-resource-root.module-BukwL-wp.mjs} +129 -132
- package/fesm2022/posiwise-resource-module-resource-root.module-BukwL-wp.mjs.map +1 -0
- package/fesm2022/{posiwise-resource-module-resource-videos.module-BsnB9vFd.mjs → posiwise-resource-module-resource-videos.module-CFkPbXn3.mjs} +50 -71
- package/fesm2022/posiwise-resource-module-resource-videos.module-CFkPbXn3.mjs.map +1 -0
- package/fesm2022/{posiwise-resource-module-resource-white-papers.module-BC-OyhAK.mjs → posiwise-resource-module-resource-white-papers.module-DBjSfwx4.mjs} +54 -68
- package/fesm2022/posiwise-resource-module-resource-white-papers.module-DBjSfwx4.mjs.map +1 -0
- package/fesm2022/{posiwise-resource-module-resource.service-IK3r0iUB.mjs → posiwise-resource-module-resource.service-DAXsq-WG.mjs} +7 -8
- package/fesm2022/posiwise-resource-module-resource.service-DAXsq-WG.mjs.map +1 -0
- package/fesm2022/posiwise-resource-module.mjs +250 -217
- package/fesm2022/posiwise-resource-module.mjs.map +1 -1
- package/package.json +1 -1
- package/types/posiwise-resource-module.d.ts +159 -168
- package/fesm2022/posiwise-resource-module-base-top-banner.component-CrdBpNSj.mjs.map +0 -1
- package/fesm2022/posiwise-resource-module-resource-blogs.module-hxktrj98.mjs.map +0 -1
- package/fesm2022/posiwise-resource-module-resource-cards.module-D3yf7FNt.mjs.map +0 -1
- package/fesm2022/posiwise-resource-module-resource-case-studies.module-CFcO0CI-.mjs.map +0 -1
- package/fesm2022/posiwise-resource-module-resource-events.module-0PDppSJ6.mjs.map +0 -1
- package/fesm2022/posiwise-resource-module-resource-hub.module-2qzLV9I1.mjs.map +0 -1
- package/fesm2022/posiwise-resource-module-resource-integrations.module-DqDd_1U9.mjs.map +0 -1
- package/fesm2022/posiwise-resource-module-resource-post.module-BFuEjqA9.mjs.map +0 -1
- package/fesm2022/posiwise-resource-module-resource-release-notes.module-BbofH_0n.mjs.map +0 -1
- package/fesm2022/posiwise-resource-module-resource-root.module-C9c17Dhm.mjs.map +0 -1
- package/fesm2022/posiwise-resource-module-resource-videos.module-BsnB9vFd.mjs.map +0 -1
- package/fesm2022/posiwise-resource-module-resource-white-papers.module-BC-OyhAK.mjs.map +0 -1
- package/fesm2022/posiwise-resource-module-resource.service-IK3r0iUB.mjs.map +0 -1
|
@@ -1,20 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as BaseResourceComponent, r as ResourceVideoCardComponent } from "./posiwise-resource-module-resource-cards.module-D3yf7FNt.mjs";
|
|
1
|
+
import { i as BaseResourceComponent, s as ResourceVideoCardComponent } from "./posiwise-resource-module-resource-cards.module-BSJpkk9V.mjs";
|
|
3
2
|
import { ResourceSharedModule, ResourceTopBannerEditComponent } from "./posiwise-resource-module.mjs";
|
|
4
|
-
import { t as BaseTopBannerComponent } from "./posiwise-resource-module-base-top-banner.component-
|
|
3
|
+
import { t as BaseTopBannerComponent } from "./posiwise-resource-module-base-top-banner.component-BwujN_up.mjs";
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
import { ChangeDetectionStrategy, Component, NgModule } from "@angular/core";
|
|
7
|
-
import * as i2 from "@posiwise/common-services";
|
|
8
6
|
import * as i1 from "@angular/router";
|
|
9
7
|
import { RouterModule } from "@angular/router";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import * as i3 from "@angular/platform-browser";
|
|
8
|
+
import { Trial4ContactUsComponent } from "@posiwise/resource-contact-us";
|
|
9
|
+
import { LazyImgDirective } from "@posiwise/directives";
|
|
10
|
+
import { ResourceHeaderComponent } from "@posiwise/utils";
|
|
14
11
|
var VideosTopBannerComponent = class VideosTopBannerComponent extends BaseTopBannerComponent {
|
|
15
|
-
constructor(resourceService, tagService, authService, titleService, cdr, injector) {
|
|
16
|
-
super(resourceService, tagService, authService, titleService, cdr, injector);
|
|
17
|
-
}
|
|
18
12
|
getSearchTerm() {
|
|
19
13
|
return "Videos";
|
|
20
14
|
}
|
|
@@ -24,14 +18,7 @@ var VideosTopBannerComponent = class VideosTopBannerComponent extends BaseTopBan
|
|
|
24
18
|
version: "22.2.3",
|
|
25
19
|
ngImport: i0,
|
|
26
20
|
type: VideosTopBannerComponent,
|
|
27
|
-
deps:
|
|
28
|
-
{ token: ResourceService },
|
|
29
|
-
{ token: i2.TagService },
|
|
30
|
-
{ token: i2.AuthService },
|
|
31
|
-
{ token: i3.Title },
|
|
32
|
-
{ token: i0.ChangeDetectorRef },
|
|
33
|
-
{ token: i0.Injector }
|
|
34
|
-
],
|
|
21
|
+
deps: null,
|
|
35
22
|
target: i0.ɵɵFactoryTarget.Component
|
|
36
23
|
});
|
|
37
24
|
}
|
|
@@ -40,7 +27,7 @@ var VideosTopBannerComponent = class VideosTopBannerComponent extends BaseTopBan
|
|
|
40
27
|
minVersion: "17.0.0",
|
|
41
28
|
version: "22.2.3",
|
|
42
29
|
type: VideosTopBannerComponent,
|
|
43
|
-
isStandalone:
|
|
30
|
+
isStandalone: true,
|
|
44
31
|
selector: "pw-resource-videos-top-banner",
|
|
45
32
|
usesInheritance: true,
|
|
46
33
|
ngImport: i0,
|
|
@@ -63,7 +50,7 @@ var VideosTopBannerComponent = class VideosTopBannerComponent extends BaseTopBan
|
|
|
63
50
|
outputs: ["getUpdatedTag"]
|
|
64
51
|
}, {
|
|
65
52
|
kind: "directive",
|
|
66
|
-
type:
|
|
53
|
+
type: LazyImgDirective,
|
|
67
54
|
selector: "img"
|
|
68
55
|
}],
|
|
69
56
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
@@ -80,7 +67,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
80
67
|
args: [{
|
|
81
68
|
selector: "pw-resource-videos-top-banner",
|
|
82
69
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
83
|
-
|
|
70
|
+
imports: [ResourceTopBannerEditComponent, LazyImgDirective],
|
|
84
71
|
template: "<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",
|
|
85
72
|
styles: [
|
|
86
73
|
"@charset \"UTF-8\";.cta-btn{display:inline-flex;align-items:center;gap:.6rem;background:var(--text-color, currentcolor);color:#fff;padding:1rem 2rem;border-radius:40px;font-weight:500;text-decoration:none;font-size:1.4rem;border:1px solid var(--text-color, currentcolor);box-shadow:none!important;transition:background .15s ease,color .15s ease,transform .15s ease}.cta-btn:hover{background-color:#fff!important;color:var(--text-color, currentcolor)!important;transform:translateY(-1px)}.cta-btn:focus-visible{outline:2px solid var(--text-color, currentcolor);outline-offset:3px}.cta-btn__icon{font-size:1.1rem;line-height:1}@media(width<=768px){.dyn-img{top:-3rem!important}}.text-extension{max-width:560px}.text-extension .intro{font-size:2rem;line-height:3rem;font-weight:400;color:var(--text-color, currentColor);margin-bottom:1rem}.text-extension .cta-buttons{margin-top:2rem!important}.text-extension .note{font-size:1.2rem;color:#000;margin-top:1rem;margin-left:3rem}.resource-banner{box-shadow:0 4px 32px -14px #40576d4d!important;position:relative;padding:5rem 0;color:#fff;background:linear-gradient(90deg,var(--first) 0%,#a8e1fb 100%);overflow:hidden;z-index:2}@media(width<=1200px){.resource-banner .container{padding:7rem 3rem 0rem!important}}.resource-banner:after{content:\"\";position:absolute;bottom:0;left:0;width:100%;height:61%;background:#fff;clip-path:polygon(0 18%,100% 0%,100% 100%,0% 100%)}.resource-banner .container{position:relative;z-index:2}.resource-banner .text-content{max-width:500px;text-align:left;margin-bottom:75rem}.resource-banner .text-content h1{margin-bottom:1.5rem;line-height:1.2}.resource-banner .text-content .intro{font-size:1.2rem;margin:1rem 0;color:#000}.resource-banner .text-content .cta-btn{display:inline-block;background:#000;color:#fff;padding:1rem 2rem;border-radius:40px;font-weight:500;text-decoration:none;font-size:1.4rem}.resource-banner .text-content .cta-buttons{margin-top:2rem}.resource-banner .text-content .note{margin-top:1rem;margin-left:5.6rem;font-size:.9rem;color:#555}.resource-banner .resource-header-text{max-width:500px;font-weight:500;color:#fff!important;font-size:4.5rem!important}.resource-banner .blue-text{font-weight:100}@media(width<=991px){.resource-banner .text-content{margin-top:1.5rem;margin-bottom:0;text-align:center;max-width:360px}.resource-banner .text-content h1{margin-bottom:6.5rem!important}.resource-banner .resource-header-text{font-size:2.5rem!important}.resource-banner .cta-buttons{margin-top:0rem!important;justify-content:center!important}.resource-banner .note{margin-left:8rem!important}.resource-banner .image-content{position:relative;margin-bottom:3rem;height:230px}.resource-banner .image-content .floating-box{position:absolute;top:25px;left:3rem;transform:translate(-50%) rotate(-10deg);background:#fff;padding:.75rem 1rem;border-radius:20px;box-shadow:0 8px 30px #00000026;text-align:center;z-index:3;display:inline-block;width:auto}.resource-banner .image-content .floating-box img{width:24px;margin-bottom:.4rem}.resource-banner .image-content .floating-box .label{font-size:.75rem;color:#333;margin:0;line-height:1.2}.resource-banner .image-content .floating-box .count{font-size:1.2rem;font-weight:700;color:#000;margin-top:.25rem}.resource-banner .image-content .screen-img{max-width:280px;position:absolute;bottom:0;left:3rem;z-index:2;transform:rotate(-1deg);box-shadow:0 8px 15px #0003}.resource-banner .image-content .person-img{max-width:170px;width:100%;position:relative;z-index:3;left:13rem;top:-11.35rem}.resource-banner .image-content .resource-laptop-img{max-width:300px;width:100%;position:relative;z-index:3;margin-top:3rem;left:2%;height:auto!important;top:4rem}}@media(width>=991px){.resource-banner .text-content{position:absolute;width:760px}}.white-content{background:#fff;color:#000}.white-content .intro{font-size:1.2rem;color:#000}.white-content .note{font-size:.85rem;margin-top:1rem;color:#555}@media(width>=991px){.section-outer{padding-top:7rem!important}}@media(width>=768px)and (width<=991px){.resource-math-img{left:36%!important;top:22rem!important}}@media(width>=991px)and (width<=1200px){.text-extension{max-width:760px;position:absolute;margin-bottom:23rem!important}.resource-divider{top:63.5rem;position:absolute!important}.resource-banner{padding-bottom:90px!important}}@media(width>=1200px){.text-extension{max-width:500px;position:absolute;margin-bottom:31rem!important}.resource-laptop-img{width:100%;max-width:800px!important;max-height:800px!important;height:auto}}@media(width>=1200px){.resource-divider{top:59.5rem;position:absolute!important}.cta-tab{margin-bottom:5rem!important}}@media(width>=1200px){.image-content{margin-top:0;display:flex;align-items:flex-end;gap:1.5rem;height:0}.image-content .floating-box{position:absolute;top:25px;transform:translate(-50%) rotate(-10deg);background:#fff;padding:1rem;border-radius:20px;box-shadow:0 8px 30px #00000026;text-align:center;width:170px;z-index:3}.image-content .floating-box img{width:30px;margin-bottom:.5rem}.image-content .floating-box .label{font-size:.85rem;color:#333;margin:0}.image-content .floating-box .count{font-size:1.5rem;font-weight:700;color:#000;margin:.25rem 0 0}.image-content .screen-img{width:100%;position:absolute;bottom:5rem;left:3rem;z-index:2;transform:rotate(-1deg);box-shadow:0 8px 15px #0003;max-width:400px;margin-bottom:4rem}.image-content .person-img{max-width:800px;width:100%;position:relative;z-index:3;min-width:420px;margin-bottom:0;bottom:7rem;left:4rem}.image-content .resource-laptop-img{top:4rem;left:2rem;position:relative}.image-content .resource-math-img{bottom:9rem;left:61rem;position:relative;height:312px;margin-right:1rem;min-width:450px!important}}@media(width<=786px){.text-extension{position:absolute;margin:3rem;margin-top:11rem!important}}@media(width>=786px)and (width<=991px){.text-extension{position:absolute;margin:3rem;margin-top:24rem!important}}@media(width>=704px)and (width<=768px){.resource-laptop-img{top:18rem!important;right:30%!important;left:auto!important}}@media(width>=786px)and (width<=991px){.resource-laptop-img{max-width:250px!important;top:18rem!important;right:30%!important;left:auto!important}}@media(width>=991px)and (width<=1200px){.resource-laptop-img{top:7rem;left:3%;position:relative;width:100%;max-width:600px!important;height:auto}}@media(width>=786px)and (width<=1200px){.image-content{margin-top:0;display:flex;align-items:flex-end;gap:1.5rem;height:0}.image-content .floating-box{position:absolute;top:25px;transform:translate(-50%) rotate(-10deg);background:#fff;padding:1rem;border-radius:20px;box-shadow:0 8px 30px #00000026;text-align:center;width:170px;z-index:3}.image-content .floating-box img{width:30px;margin-bottom:.5rem}.image-content .floating-box .label{font-size:.85rem;color:#333;margin:0}.image-content .floating-box .count{font-size:1.5rem;font-weight:700;color:#000;margin:.25rem 0 0}.image-content .screen-img{width:100%;position:absolute;bottom:5rem;left:3rem;z-index:2;transform:rotate(-1deg);box-shadow:0 8px 15px #0003;max-width:400px;margin-bottom:4rem}.image-content .person-img{max-width:800px;width:100%;position:relative;z-index:3;min-width:420px;margin-bottom:0;bottom:7rem;left:4rem}.image-content .resource-math-img{height:243px!important;min-width:350px;bottom:9rem;left:34rem;position:relative;width:350px!important}}@media(width<=991px){.resource-banner{padding-bottom:15rem}}@media(width<=768px){.resource-math-img{top:18rem}.cta-btn{justify-content:center}.resource-divider{margin-top:49rem!important}.intro{font-size:1.7rem!important}}@media(width>=768px)and (width<=991px){.cta-btn{justify-content:center}.resource-divider{margin-top:36rem!important}}@media(width>=991px){.resource-banner{padding-top:768px;padding-bottom:42px;overflow:hidden}.section-fadeout{height:40px;width:100%;background:linear-gradient(to bottom,#fff0,#f8f9fa)}.resource-heading{width:700px!important}::ng-deep .vault-section{max-width:1580px!important;padding-left:48px!important;padding-top:130px!important}}@media(width<=991px){.billing-section{flex-direction:column!important;gap:3rem}.billing-section .billing-section1,.billing-section .billing-section2{width:90%!important}.billing-section .billing-section1{margin-left:1.5rem;margin-top:4rem}}@media(width>=768px)and (width<=1200px){.container{padding:0 6rem!important}.outer-section-fadeout{top:62rem!important}}@media(max-width:991px){.resource-banner .container{display:flex;flex-direction:column;align-items:flex-start;min-height:auto}.resource-banner .text-content,.resource-banner .text-extension,.resource-banner .image-content{position:static!important;left:auto;top:auto;max-width:100%;margin:0!important}.resource-banner .text-content{margin-bottom:0!important}.text-extension{margin-top:1rem!important}.resource-banner .image-content{width:100%;height:auto;align-self:center;margin-top:auto!important}.resource-banner .resource-laptop-img{position:static!important;max-width:260px;width:100%;height:auto!important}.resource-banner{padding:2rem 0 0rem!important}}@media(max-width:575px){.resource-banner:after{height:45%}}\n",
|
|
@@ -89,20 +76,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
89
76
|
"textarea{font-size:1rem!important}.resource-body-section{background-color:#fff}.resource-body-section .container{padding:3rem 1.5rem 4rem!important;max-width:850px!important;margin:0 auto;text-align:left}.user-not-logged-in{background:#fafbfc;border:1px solid #e2e5ea;border-radius:8px;font-size:14px;font-weight:400;color:#5a6473;padding:1rem 1.5rem;box-shadow:none!important;margin-bottom:2rem!important}.user-not-logged-in a{color:#1a1d21!important;text-decoration:none;font-weight:600;transition:color .15s ease-out}.user-not-logged-in a:hover,.user-not-logged-in a:focus-visible{color:var(--first)!important}.user-not-logged-in a:focus-visible{outline:2px solid var(--first);outline-offset:2px;border-radius:2px}.resource-book-section{background:#fff;padding-top:4rem;padding-bottom:0}.resource-book-section .container{max-width:850px;margin:0 auto;padding:0 1.5rem!important;text-align:left}.resource-book-section .resource-contact{line-height:1.6;font-size:1rem;color:#3d4654}.resource-book-section .resource-contact a{text-decoration:underline;color:#1a1d21;margin:0 .2rem;transition:color .15s ease-out}.resource-book-section .resource-contact a:hover{color:var(--first)!important}.resource-offer-section{background:#fff;padding-top:1rem}.resource-offer-section .container{max-width:850px;margin:0 auto;padding:0 1.5rem;text-align:left}.resource-divider{border:0;border-top:1px solid #e2e5ea;margin:2rem auto;max-width:850px;height:0;background:none}::ng-deep .body-quill{border-width:0!important;max-width:850px;display:block;margin-left:auto;margin-right:auto}::ng-deep .ql-snow .ql-editor.post-body-text blockquote{font-size:22px;line-height:1.45;font-weight:600;color:#1a1d21;border-left:4px solid var(--first);padding:6px 0 6px 22px;margin:8px 0}::ng-deep .ql-snow .ql-editor.post-body-text mark{background:linear-gradient(transparent 55%,color-mix(in srgb,var(--first) 22%,transparent) 55%);color:inherit;padding:0 2px}::ng-deep .p-textarea{border-radius:8px;border:1px solid #e2e5ea;font-size:1rem!important}.card{background-color:#fff;border-radius:12px}.comment-row{gap:1.5rem;padding-bottom:3rem;max-width:850px;display:block;margin-left:auto;margin-right:auto}.comment-label{font-size:14px!important;font-weight:600!important;letter-spacing:.04em;text-transform:uppercase;color:#5a6473}.response-row{max-width:850px;display:block;margin-left:auto;margin-right:auto;margin-top:2rem!important}@media(width<=768px){.resource-body-section .container{padding:2rem 1rem 3rem}.resource-book-section{padding-top:2rem!important}.resource-book-section .resource-contact{font-size:.9375rem!important}}\n"
|
|
90
77
|
]
|
|
91
78
|
}]
|
|
92
|
-
}]
|
|
93
|
-
ctorParameters: () => [
|
|
94
|
-
{ type: ResourceService },
|
|
95
|
-
{ type: i2.TagService },
|
|
96
|
-
{ type: i2.AuthService },
|
|
97
|
-
{ type: i3.Title },
|
|
98
|
-
{ type: i0.ChangeDetectorRef },
|
|
99
|
-
{ type: i0.Injector }
|
|
100
|
-
]
|
|
79
|
+
}]
|
|
101
80
|
});
|
|
102
81
|
var ResourceVideoComponent = class ResourceVideoComponent extends BaseResourceComponent {
|
|
103
|
-
constructor(resourceService, tagService, authService, cdr, injector) {
|
|
104
|
-
super(resourceService, tagService, authService, cdr, injector);
|
|
105
|
-
}
|
|
106
82
|
getResourceType() {
|
|
107
83
|
return "Videos";
|
|
108
84
|
}
|
|
@@ -112,13 +88,7 @@ var ResourceVideoComponent = class ResourceVideoComponent extends BaseResourceCo
|
|
|
112
88
|
version: "22.2.3",
|
|
113
89
|
ngImport: i0,
|
|
114
90
|
type: ResourceVideoComponent,
|
|
115
|
-
deps:
|
|
116
|
-
{ token: ResourceService },
|
|
117
|
-
{ token: i2.TagService },
|
|
118
|
-
{ token: i2.AuthService },
|
|
119
|
-
{ token: i0.ChangeDetectorRef },
|
|
120
|
-
{ token: i0.Injector }
|
|
121
|
-
],
|
|
91
|
+
deps: null,
|
|
122
92
|
target: i0.ɵɵFactoryTarget.Component
|
|
123
93
|
});
|
|
124
94
|
}
|
|
@@ -127,12 +97,23 @@ var ResourceVideoComponent = class ResourceVideoComponent extends BaseResourceCo
|
|
|
127
97
|
minVersion: "17.0.0",
|
|
128
98
|
version: "22.2.3",
|
|
129
99
|
type: ResourceVideoComponent,
|
|
130
|
-
isStandalone:
|
|
100
|
+
isStandalone: true,
|
|
131
101
|
selector: "pw-resource-videos",
|
|
132
102
|
usesInheritance: true,
|
|
133
103
|
ngImport: i0,
|
|
134
104
|
template: "<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",
|
|
135
105
|
dependencies: [
|
|
106
|
+
{
|
|
107
|
+
kind: "component",
|
|
108
|
+
type: ResourceHeaderComponent,
|
|
109
|
+
selector: "pw-resource-header",
|
|
110
|
+
inputs: ["user", "userLoggedIn"]
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
kind: "component",
|
|
114
|
+
type: VideosTopBannerComponent,
|
|
115
|
+
selector: "pw-resource-videos-top-banner"
|
|
116
|
+
},
|
|
136
117
|
{
|
|
137
118
|
kind: "component",
|
|
138
119
|
type: ResourceVideoCardComponent,
|
|
@@ -149,7 +130,7 @@ var ResourceVideoComponent = class ResourceVideoComponent extends BaseResourceCo
|
|
|
149
130
|
},
|
|
150
131
|
{
|
|
151
132
|
kind: "component",
|
|
152
|
-
type:
|
|
133
|
+
type: Trial4ContactUsComponent,
|
|
153
134
|
selector: "pw-trial-4-contact-us",
|
|
154
135
|
inputs: [
|
|
155
136
|
"subscriptionId",
|
|
@@ -161,17 +142,6 @@ var ResourceVideoComponent = class ResourceVideoComponent extends BaseResourceCo
|
|
|
161
142
|
"user",
|
|
162
143
|
"userLoggedIn"
|
|
163
144
|
]
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
kind: "component",
|
|
167
|
-
type: i5.ResourceHeaderComponent,
|
|
168
|
-
selector: "pw-resource-header",
|
|
169
|
-
inputs: ["user", "userLoggedIn"]
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
kind: "component",
|
|
173
|
-
type: VideosTopBannerComponent,
|
|
174
|
-
selector: "pw-resource-videos-top-banner"
|
|
175
145
|
}
|
|
176
146
|
],
|
|
177
147
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
@@ -188,17 +158,15 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
188
158
|
args: [{
|
|
189
159
|
selector: "pw-resource-videos",
|
|
190
160
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
191
|
-
|
|
161
|
+
imports: [
|
|
162
|
+
ResourceHeaderComponent,
|
|
163
|
+
VideosTopBannerComponent,
|
|
164
|
+
ResourceVideoCardComponent,
|
|
165
|
+
Trial4ContactUsComponent
|
|
166
|
+
],
|
|
192
167
|
template: "<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"
|
|
193
168
|
}]
|
|
194
|
-
}]
|
|
195
|
-
ctorParameters: () => [
|
|
196
|
-
{ type: ResourceService },
|
|
197
|
-
{ type: i2.TagService },
|
|
198
|
-
{ type: i2.AuthService },
|
|
199
|
-
{ type: i0.ChangeDetectorRef },
|
|
200
|
-
{ type: i0.Injector }
|
|
201
|
-
]
|
|
169
|
+
}]
|
|
202
170
|
});
|
|
203
171
|
const routes = [{
|
|
204
172
|
path: "",
|
|
@@ -226,8 +194,12 @@ var ResourceVideosModule = class ResourceVideosModule {
|
|
|
226
194
|
version: "22.2.3",
|
|
227
195
|
ngImport: i0,
|
|
228
196
|
type: ResourceVideosModule,
|
|
229
|
-
|
|
230
|
-
|
|
197
|
+
imports: [
|
|
198
|
+
ResourceSharedModule,
|
|
199
|
+
i1.RouterModule,
|
|
200
|
+
ResourceVideoComponent,
|
|
201
|
+
VideosTopBannerComponent
|
|
202
|
+
]
|
|
231
203
|
});
|
|
232
204
|
}
|
|
233
205
|
static {
|
|
@@ -236,7 +208,12 @@ var ResourceVideosModule = class ResourceVideosModule {
|
|
|
236
208
|
version: "22.2.3",
|
|
237
209
|
ngImport: i0,
|
|
238
210
|
type: ResourceVideosModule,
|
|
239
|
-
imports: [
|
|
211
|
+
imports: [
|
|
212
|
+
ResourceSharedModule,
|
|
213
|
+
RouterModule.forChild(routes),
|
|
214
|
+
ResourceVideoComponent,
|
|
215
|
+
VideosTopBannerComponent
|
|
216
|
+
]
|
|
240
217
|
});
|
|
241
218
|
}
|
|
242
219
|
};
|
|
@@ -247,12 +224,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
247
224
|
type: ResourceVideosModule,
|
|
248
225
|
decorators: [{
|
|
249
226
|
type: NgModule,
|
|
250
|
-
args: [{
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
227
|
+
args: [{ imports: [
|
|
228
|
+
ResourceSharedModule,
|
|
229
|
+
RouterModule.forChild(routes),
|
|
230
|
+
ResourceVideoComponent,
|
|
231
|
+
VideosTopBannerComponent
|
|
232
|
+
] }]
|
|
254
233
|
}]
|
|
255
234
|
});
|
|
256
235
|
export { ResourceVideosModule };
|
|
257
236
|
|
|
258
|
-
//# sourceMappingURL=posiwise-resource-module-resource-videos.module-
|
|
237
|
+
//# sourceMappingURL=posiwise-resource-module-resource-videos.module-CFkPbXn3.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"posiwise-resource-module-resource-videos.module-CFkPbXn3.mjs","names":[],"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, Component } from '@angular/core';\n\nimport { LazyImgDirective } from '@posiwise/directives';\n\nimport { BaseTopBannerComponent } from '../../base/base-top-banner.component';\nimport { ResourceTopBannerEditComponent } from '../../resource-top-banner-edit/resource-top-banner-edit.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 changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [ResourceTopBannerEditComponent, LazyImgDirective]\n})\nexport class VideosTopBannerComponent extends BaseTopBannerComponent {\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, Component } from '@angular/core';\n\nimport { Trial4ContactUsComponent } from '@posiwise/resource-contact-us';\nimport { ResourceHeaderComponent } from '@posiwise/utils';\n\nimport { BaseResourceComponent } from '../base/base-resource.component';\n\nimport { ResourceVideoCardComponent } from './resource-video-cards/resource-video-cards.component';\nimport { VideosTopBannerComponent } from './resource-videos-top-banner/resource-videos-top-banner.component';\n\n@Component({\n selector: 'pw-resource-videos',\n templateUrl: './resource-videos.component.html',\n styleUrls: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n ResourceHeaderComponent,\n VideosTopBannerComponent,\n ResourceVideoCardComponent,\n Trial4ContactUsComponent\n ]\n})\nexport class ResourceVideoComponent extends BaseResourceComponent {\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 imports: [\n ResourceSharedModule,\n RouterModule.forChild(routes),\n ResourceVideoComponent,\n VideosTopBannerComponent\n ]\n})\nexport class ResourceVideosModule {}\n"],"mappings":"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"}
|
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as BaseResourceComponent, i as ResourceVaultComponent } from "./posiwise-resource-module-resource-cards.module-D3yf7FNt.mjs";
|
|
1
|
+
import { i as BaseResourceComponent, r as ResourceVaultComponent } from "./posiwise-resource-module-resource-cards.module-BSJpkk9V.mjs";
|
|
3
2
|
import { ResourceSharedModule, ResourceTopBannerEditComponent } from "./posiwise-resource-module.mjs";
|
|
4
|
-
import { t as BaseTopBannerComponent } from "./posiwise-resource-module-base-top-banner.component-
|
|
3
|
+
import { t as BaseTopBannerComponent } from "./posiwise-resource-module-base-top-banner.component-BwujN_up.mjs";
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
import { CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component, NgModule } from "@angular/core";
|
|
7
|
-
import * as i2 from "@posiwise/common-services";
|
|
8
6
|
import * as i1 from "@angular/router";
|
|
9
7
|
import { RouterModule } from "@angular/router";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import * as i3 from "@angular/platform-browser";
|
|
8
|
+
import { Trial4ContactUsComponent } from "@posiwise/resource-contact-us";
|
|
9
|
+
import { LazyImgDirective } from "@posiwise/directives";
|
|
10
|
+
import { ResourceHeaderComponent } from "@posiwise/utils";
|
|
14
11
|
var WhitePaperTopBannerComponent = class WhitePaperTopBannerComponent extends BaseTopBannerComponent {
|
|
15
|
-
constructor(
|
|
16
|
-
super(
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments);
|
|
17
14
|
this.contactUsUrl = this.appConfig?.pages_config?.contact_us?.url;
|
|
18
15
|
}
|
|
19
16
|
getSearchTerm() {
|
|
@@ -25,14 +22,7 @@ var WhitePaperTopBannerComponent = class WhitePaperTopBannerComponent extends Ba
|
|
|
25
22
|
version: "22.2.3",
|
|
26
23
|
ngImport: i0,
|
|
27
24
|
type: WhitePaperTopBannerComponent,
|
|
28
|
-
deps:
|
|
29
|
-
{ token: ResourceService },
|
|
30
|
-
{ token: i2.TagService },
|
|
31
|
-
{ token: i2.AuthService },
|
|
32
|
-
{ token: i3.Title },
|
|
33
|
-
{ token: i0.ChangeDetectorRef },
|
|
34
|
-
{ token: i0.Injector }
|
|
35
|
-
],
|
|
25
|
+
deps: null,
|
|
36
26
|
target: i0.ɵɵFactoryTarget.Component
|
|
37
27
|
});
|
|
38
28
|
}
|
|
@@ -41,7 +31,7 @@ var WhitePaperTopBannerComponent = class WhitePaperTopBannerComponent extends Ba
|
|
|
41
31
|
minVersion: "17.0.0",
|
|
42
32
|
version: "22.2.3",
|
|
43
33
|
type: WhitePaperTopBannerComponent,
|
|
44
|
-
isStandalone:
|
|
34
|
+
isStandalone: true,
|
|
45
35
|
selector: "pw-white-paper-top-banner",
|
|
46
36
|
usesInheritance: true,
|
|
47
37
|
ngImport: i0,
|
|
@@ -64,7 +54,7 @@ var WhitePaperTopBannerComponent = class WhitePaperTopBannerComponent extends Ba
|
|
|
64
54
|
outputs: ["getUpdatedTag"]
|
|
65
55
|
}, {
|
|
66
56
|
kind: "directive",
|
|
67
|
-
type:
|
|
57
|
+
type: LazyImgDirective,
|
|
68
58
|
selector: "img"
|
|
69
59
|
}],
|
|
70
60
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
@@ -81,7 +71,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
81
71
|
args: [{
|
|
82
72
|
selector: "pw-white-paper-top-banner",
|
|
83
73
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
84
|
-
|
|
74
|
+
imports: [ResourceTopBannerEditComponent, LazyImgDirective],
|
|
75
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
85
76
|
template: "<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",
|
|
86
77
|
styles: [
|
|
87
78
|
"@charset \"UTF-8\";.cta-btn{display:inline-flex;align-items:center;gap:.6rem;background:var(--text-color, currentcolor);color:#fff;padding:1rem 2rem;border-radius:40px;font-weight:500;text-decoration:none;font-size:1.4rem;border:1px solid var(--text-color, currentcolor);box-shadow:none!important;transition:background .15s ease,color .15s ease,transform .15s ease}.cta-btn:hover{background-color:#fff!important;color:var(--text-color, currentcolor)!important;transform:translateY(-1px)}.cta-btn:focus-visible{outline:2px solid var(--text-color, currentcolor);outline-offset:3px}.cta-btn__icon{font-size:1.1rem;line-height:1}@media(width<=768px){.dyn-img{top:-3rem!important}}.text-extension{max-width:560px}.text-extension .intro{font-size:2rem;line-height:3rem;font-weight:400;color:var(--text-color, currentColor);margin-bottom:1rem}.text-extension .cta-buttons{margin-top:2rem!important}.text-extension .note{font-size:1.2rem;color:#000;margin-top:1rem;margin-left:3rem}.resource-banner{box-shadow:0 4px 32px -14px #40576d4d!important;position:relative;padding:5rem 0;color:#fff;background:linear-gradient(90deg,var(--first) 0%,#a8e1fb 100%);overflow:hidden;z-index:2}@media(width<=1200px){.resource-banner .container{padding:7rem 3rem 0rem!important}}.resource-banner:after{content:\"\";position:absolute;bottom:0;left:0;width:100%;height:61%;background:#fff;clip-path:polygon(0 18%,100% 0%,100% 100%,0% 100%)}.resource-banner .container{position:relative;z-index:2}.resource-banner .text-content{max-width:500px;text-align:left;margin-bottom:75rem}.resource-banner .text-content h1{margin-bottom:1.5rem;line-height:1.2}.resource-banner .text-content .intro{font-size:1.2rem;margin:1rem 0;color:#000}.resource-banner .text-content .cta-btn{display:inline-block;background:#000;color:#fff;padding:1rem 2rem;border-radius:40px;font-weight:500;text-decoration:none;font-size:1.4rem}.resource-banner .text-content .cta-buttons{margin-top:2rem}.resource-banner .text-content .note{margin-top:1rem;margin-left:5.6rem;font-size:.9rem;color:#555}.resource-banner .resource-header-text{max-width:500px;font-weight:500;color:#fff!important;font-size:4.5rem!important}.resource-banner .blue-text{font-weight:100}@media(width<=991px){.resource-banner .text-content{margin-top:1.5rem;margin-bottom:0;text-align:center;max-width:360px}.resource-banner .text-content h1{margin-bottom:6.5rem!important}.resource-banner .resource-header-text{font-size:2.5rem!important}.resource-banner .cta-buttons{margin-top:0rem!important;justify-content:center!important}.resource-banner .note{margin-left:8rem!important}.resource-banner .image-content{position:relative;margin-bottom:3rem;height:230px}.resource-banner .image-content .floating-box{position:absolute;top:25px;left:3rem;transform:translate(-50%) rotate(-10deg);background:#fff;padding:.75rem 1rem;border-radius:20px;box-shadow:0 8px 30px #00000026;text-align:center;z-index:3;display:inline-block;width:auto}.resource-banner .image-content .floating-box img{width:24px;margin-bottom:.4rem}.resource-banner .image-content .floating-box .label{font-size:.75rem;color:#333;margin:0;line-height:1.2}.resource-banner .image-content .floating-box .count{font-size:1.2rem;font-weight:700;color:#000;margin-top:.25rem}.resource-banner .image-content .screen-img{max-width:280px;position:absolute;bottom:0;left:3rem;z-index:2;transform:rotate(-1deg);box-shadow:0 8px 15px #0003}.resource-banner .image-content .person-img{max-width:170px;width:100%;position:relative;z-index:3;left:13rem;top:-11.35rem}.resource-banner .image-content .resource-laptop-img{max-width:300px;width:100%;position:relative;z-index:3;margin-top:3rem;left:2%;height:auto!important;top:4rem}}@media(width>=991px){.resource-banner .text-content{position:absolute;width:760px}}.white-content{background:#fff;color:#000}.white-content .intro{font-size:1.2rem;color:#000}.white-content .note{font-size:.85rem;margin-top:1rem;color:#555}@media(width>=991px){.section-outer{padding-top:7rem!important}}@media(width>=768px)and (width<=991px){.resource-math-img{left:36%!important;top:22rem!important}}@media(width>=991px)and (width<=1200px){.text-extension{max-width:760px;position:absolute;margin-bottom:23rem!important}.resource-divider{top:63.5rem;position:absolute!important}.resource-banner{padding-bottom:90px!important}}@media(width>=1200px){.text-extension{max-width:500px;position:absolute;margin-bottom:31rem!important}.resource-laptop-img{width:100%;max-width:800px!important;max-height:800px!important;height:auto}}@media(width>=1200px){.resource-divider{top:59.5rem;position:absolute!important}.cta-tab{margin-bottom:5rem!important}}@media(width>=1200px){.image-content{margin-top:0;display:flex;align-items:flex-end;gap:1.5rem;height:0}.image-content .floating-box{position:absolute;top:25px;transform:translate(-50%) rotate(-10deg);background:#fff;padding:1rem;border-radius:20px;box-shadow:0 8px 30px #00000026;text-align:center;width:170px;z-index:3}.image-content .floating-box img{width:30px;margin-bottom:.5rem}.image-content .floating-box .label{font-size:.85rem;color:#333;margin:0}.image-content .floating-box .count{font-size:1.5rem;font-weight:700;color:#000;margin:.25rem 0 0}.image-content .screen-img{width:100%;position:absolute;bottom:5rem;left:3rem;z-index:2;transform:rotate(-1deg);box-shadow:0 8px 15px #0003;max-width:400px;margin-bottom:4rem}.image-content .person-img{max-width:800px;width:100%;position:relative;z-index:3;min-width:420px;margin-bottom:0;bottom:7rem;left:4rem}.image-content .resource-laptop-img{top:4rem;left:2rem;position:relative}.image-content .resource-math-img{bottom:9rem;left:61rem;position:relative;height:312px;margin-right:1rem;min-width:450px!important}}@media(width<=786px){.text-extension{position:absolute;margin:3rem;margin-top:11rem!important}}@media(width>=786px)and (width<=991px){.text-extension{position:absolute;margin:3rem;margin-top:24rem!important}}@media(width>=704px)and (width<=768px){.resource-laptop-img{top:18rem!important;right:30%!important;left:auto!important}}@media(width>=786px)and (width<=991px){.resource-laptop-img{max-width:250px!important;top:18rem!important;right:30%!important;left:auto!important}}@media(width>=991px)and (width<=1200px){.resource-laptop-img{top:7rem;left:3%;position:relative;width:100%;max-width:600px!important;height:auto}}@media(width>=786px)and (width<=1200px){.image-content{margin-top:0;display:flex;align-items:flex-end;gap:1.5rem;height:0}.image-content .floating-box{position:absolute;top:25px;transform:translate(-50%) rotate(-10deg);background:#fff;padding:1rem;border-radius:20px;box-shadow:0 8px 30px #00000026;text-align:center;width:170px;z-index:3}.image-content .floating-box img{width:30px;margin-bottom:.5rem}.image-content .floating-box .label{font-size:.85rem;color:#333;margin:0}.image-content .floating-box .count{font-size:1.5rem;font-weight:700;color:#000;margin:.25rem 0 0}.image-content .screen-img{width:100%;position:absolute;bottom:5rem;left:3rem;z-index:2;transform:rotate(-1deg);box-shadow:0 8px 15px #0003;max-width:400px;margin-bottom:4rem}.image-content .person-img{max-width:800px;width:100%;position:relative;z-index:3;min-width:420px;margin-bottom:0;bottom:7rem;left:4rem}.image-content .resource-math-img{height:243px!important;min-width:350px;bottom:9rem;left:34rem;position:relative;width:350px!important}}@media(width<=991px){.resource-banner{padding-bottom:15rem}}@media(width<=768px){.resource-math-img{top:18rem}.cta-btn{justify-content:center}.resource-divider{margin-top:49rem!important}.intro{font-size:1.7rem!important}}@media(width>=768px)and (width<=991px){.cta-btn{justify-content:center}.resource-divider{margin-top:36rem!important}}@media(width>=991px){.resource-banner{padding-top:768px;padding-bottom:42px;overflow:hidden}.section-fadeout{height:40px;width:100%;background:linear-gradient(to bottom,#fff0,#f8f9fa)}.resource-heading{width:700px!important}::ng-deep .vault-section{max-width:1580px!important;padding-left:48px!important;padding-top:130px!important}}@media(width<=991px){.billing-section{flex-direction:column!important;gap:3rem}.billing-section .billing-section1,.billing-section .billing-section2{width:90%!important}.billing-section .billing-section1{margin-left:1.5rem;margin-top:4rem}}@media(width>=768px)and (width<=1200px){.container{padding:0 6rem!important}.outer-section-fadeout{top:62rem!important}}@media(max-width:991px){.resource-banner .container{display:flex;flex-direction:column;align-items:flex-start;min-height:auto}.resource-banner .text-content,.resource-banner .text-extension,.resource-banner .image-content{position:static!important;left:auto;top:auto;max-width:100%;margin:0!important}.resource-banner .text-content{margin-bottom:0!important}.text-extension{margin-top:1rem!important}.resource-banner .image-content{width:100%;height:auto;align-self:center;margin-top:auto!important}.resource-banner .resource-laptop-img{position:static!important;max-width:260px;width:100%;height:auto!important}.resource-banner{padding:2rem 0 0rem!important}}@media(max-width:575px){.resource-banner:after{height:45%}}\n",
|
|
@@ -90,20 +81,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
90
81
|
"textarea{font-size:1rem!important}.resource-body-section{background-color:#fff}.resource-body-section .container{padding:3rem 1.5rem 4rem!important;max-width:850px!important;margin:0 auto;text-align:left}.user-not-logged-in{background:#fafbfc;border:1px solid #e2e5ea;border-radius:8px;font-size:14px;font-weight:400;color:#5a6473;padding:1rem 1.5rem;box-shadow:none!important;margin-bottom:2rem!important}.user-not-logged-in a{color:#1a1d21!important;text-decoration:none;font-weight:600;transition:color .15s ease-out}.user-not-logged-in a:hover,.user-not-logged-in a:focus-visible{color:var(--first)!important}.user-not-logged-in a:focus-visible{outline:2px solid var(--first);outline-offset:2px;border-radius:2px}.resource-book-section{background:#fff;padding-top:4rem;padding-bottom:0}.resource-book-section .container{max-width:850px;margin:0 auto;padding:0 1.5rem!important;text-align:left}.resource-book-section .resource-contact{line-height:1.6;font-size:1rem;color:#3d4654}.resource-book-section .resource-contact a{text-decoration:underline;color:#1a1d21;margin:0 .2rem;transition:color .15s ease-out}.resource-book-section .resource-contact a:hover{color:var(--first)!important}.resource-offer-section{background:#fff;padding-top:1rem}.resource-offer-section .container{max-width:850px;margin:0 auto;padding:0 1.5rem;text-align:left}.resource-divider{border:0;border-top:1px solid #e2e5ea;margin:2rem auto;max-width:850px;height:0;background:none}::ng-deep .body-quill{border-width:0!important;max-width:850px;display:block;margin-left:auto;margin-right:auto}::ng-deep .ql-snow .ql-editor.post-body-text blockquote{font-size:22px;line-height:1.45;font-weight:600;color:#1a1d21;border-left:4px solid var(--first);padding:6px 0 6px 22px;margin:8px 0}::ng-deep .ql-snow .ql-editor.post-body-text mark{background:linear-gradient(transparent 55%,color-mix(in srgb,var(--first) 22%,transparent) 55%);color:inherit;padding:0 2px}::ng-deep .p-textarea{border-radius:8px;border:1px solid #e2e5ea;font-size:1rem!important}.card{background-color:#fff;border-radius:12px}.comment-row{gap:1.5rem;padding-bottom:3rem;max-width:850px;display:block;margin-left:auto;margin-right:auto}.comment-label{font-size:14px!important;font-weight:600!important;letter-spacing:.04em;text-transform:uppercase;color:#5a6473}.response-row{max-width:850px;display:block;margin-left:auto;margin-right:auto;margin-top:2rem!important}@media(width<=768px){.resource-body-section .container{padding:2rem 1rem 3rem}.resource-book-section{padding-top:2rem!important}.resource-book-section .resource-contact{font-size:.9375rem!important}}\n"
|
|
91
82
|
]
|
|
92
83
|
}]
|
|
93
|
-
}]
|
|
94
|
-
ctorParameters: () => [
|
|
95
|
-
{ type: ResourceService },
|
|
96
|
-
{ type: i2.TagService },
|
|
97
|
-
{ type: i2.AuthService },
|
|
98
|
-
{ type: i3.Title },
|
|
99
|
-
{ type: i0.ChangeDetectorRef },
|
|
100
|
-
{ type: i0.Injector }
|
|
101
|
-
]
|
|
84
|
+
}]
|
|
102
85
|
});
|
|
103
86
|
var WhitePaperComponent = class WhitePaperComponent extends BaseResourceComponent {
|
|
104
|
-
constructor(resourceService, tagService, authService, cdr, injector) {
|
|
105
|
-
super(resourceService, tagService, authService, cdr, injector);
|
|
106
|
-
}
|
|
107
87
|
getResourceType() {
|
|
108
88
|
return "White Papers";
|
|
109
89
|
}
|
|
@@ -113,13 +93,7 @@ var WhitePaperComponent = class WhitePaperComponent extends BaseResourceComponen
|
|
|
113
93
|
version: "22.2.3",
|
|
114
94
|
ngImport: i0,
|
|
115
95
|
type: WhitePaperComponent,
|
|
116
|
-
deps:
|
|
117
|
-
{ token: ResourceService },
|
|
118
|
-
{ token: i2.TagService },
|
|
119
|
-
{ token: i2.AuthService },
|
|
120
|
-
{ token: i0.ChangeDetectorRef },
|
|
121
|
-
{ token: i0.Injector }
|
|
122
|
-
],
|
|
96
|
+
deps: null,
|
|
123
97
|
target: i0.ɵɵFactoryTarget.Component
|
|
124
98
|
});
|
|
125
99
|
}
|
|
@@ -128,12 +102,23 @@ var WhitePaperComponent = class WhitePaperComponent extends BaseResourceComponen
|
|
|
128
102
|
minVersion: "17.0.0",
|
|
129
103
|
version: "22.2.3",
|
|
130
104
|
type: WhitePaperComponent,
|
|
131
|
-
isStandalone:
|
|
105
|
+
isStandalone: true,
|
|
132
106
|
selector: "pw-resource-white-papers",
|
|
133
107
|
usesInheritance: true,
|
|
134
108
|
ngImport: i0,
|
|
135
109
|
template: "<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",
|
|
136
110
|
dependencies: [
|
|
111
|
+
{
|
|
112
|
+
kind: "component",
|
|
113
|
+
type: ResourceHeaderComponent,
|
|
114
|
+
selector: "pw-resource-header",
|
|
115
|
+
inputs: ["user", "userLoggedIn"]
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
kind: "component",
|
|
119
|
+
type: WhitePaperTopBannerComponent,
|
|
120
|
+
selector: "pw-white-paper-top-banner"
|
|
121
|
+
},
|
|
137
122
|
{
|
|
138
123
|
kind: "component",
|
|
139
124
|
type: ResourceVaultComponent,
|
|
@@ -149,7 +134,7 @@ var WhitePaperComponent = class WhitePaperComponent extends BaseResourceComponen
|
|
|
149
134
|
},
|
|
150
135
|
{
|
|
151
136
|
kind: "component",
|
|
152
|
-
type:
|
|
137
|
+
type: Trial4ContactUsComponent,
|
|
153
138
|
selector: "pw-trial-4-contact-us",
|
|
154
139
|
inputs: [
|
|
155
140
|
"subscriptionId",
|
|
@@ -161,17 +146,6 @@ var WhitePaperComponent = class WhitePaperComponent extends BaseResourceComponen
|
|
|
161
146
|
"user",
|
|
162
147
|
"userLoggedIn"
|
|
163
148
|
]
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
kind: "component",
|
|
167
|
-
type: i5.ResourceHeaderComponent,
|
|
168
|
-
selector: "pw-resource-header",
|
|
169
|
-
inputs: ["user", "userLoggedIn"]
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
kind: "component",
|
|
173
|
-
type: WhitePaperTopBannerComponent,
|
|
174
|
-
selector: "pw-white-paper-top-banner"
|
|
175
149
|
}
|
|
176
150
|
],
|
|
177
151
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
@@ -188,17 +162,16 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
188
162
|
args: [{
|
|
189
163
|
selector: "pw-resource-white-papers",
|
|
190
164
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
191
|
-
|
|
165
|
+
imports: [
|
|
166
|
+
ResourceHeaderComponent,
|
|
167
|
+
WhitePaperTopBannerComponent,
|
|
168
|
+
ResourceVaultComponent,
|
|
169
|
+
Trial4ContactUsComponent
|
|
170
|
+
],
|
|
171
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
192
172
|
template: "<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"
|
|
193
173
|
}]
|
|
194
|
-
}]
|
|
195
|
-
ctorParameters: () => [
|
|
196
|
-
{ type: ResourceService },
|
|
197
|
-
{ type: i2.TagService },
|
|
198
|
-
{ type: i2.AuthService },
|
|
199
|
-
{ type: i0.ChangeDetectorRef },
|
|
200
|
-
{ type: i0.Injector }
|
|
201
|
-
]
|
|
174
|
+
}]
|
|
202
175
|
});
|
|
203
176
|
const routes = [{
|
|
204
177
|
path: "",
|
|
@@ -226,8 +199,12 @@ var ResourceWhitePapersModule = class ResourceWhitePapersModule {
|
|
|
226
199
|
version: "22.2.3",
|
|
227
200
|
ngImport: i0,
|
|
228
201
|
type: ResourceWhitePapersModule,
|
|
229
|
-
|
|
230
|
-
|
|
202
|
+
imports: [
|
|
203
|
+
ResourceSharedModule,
|
|
204
|
+
i1.RouterModule,
|
|
205
|
+
WhitePaperComponent,
|
|
206
|
+
WhitePaperTopBannerComponent
|
|
207
|
+
]
|
|
231
208
|
});
|
|
232
209
|
}
|
|
233
210
|
static {
|
|
@@ -236,7 +213,12 @@ var ResourceWhitePapersModule = class ResourceWhitePapersModule {
|
|
|
236
213
|
version: "22.2.3",
|
|
237
214
|
ngImport: i0,
|
|
238
215
|
type: ResourceWhitePapersModule,
|
|
239
|
-
imports: [
|
|
216
|
+
imports: [
|
|
217
|
+
ResourceSharedModule,
|
|
218
|
+
RouterModule.forChild(routes),
|
|
219
|
+
WhitePaperComponent,
|
|
220
|
+
WhitePaperTopBannerComponent
|
|
221
|
+
]
|
|
240
222
|
});
|
|
241
223
|
}
|
|
242
224
|
};
|
|
@@ -248,12 +230,16 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
248
230
|
decorators: [{
|
|
249
231
|
type: NgModule,
|
|
250
232
|
args: [{
|
|
251
|
-
|
|
252
|
-
|
|
233
|
+
imports: [
|
|
234
|
+
ResourceSharedModule,
|
|
235
|
+
RouterModule.forChild(routes),
|
|
236
|
+
WhitePaperComponent,
|
|
237
|
+
WhitePaperTopBannerComponent
|
|
238
|
+
],
|
|
253
239
|
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
254
240
|
}]
|
|
255
241
|
}]
|
|
256
242
|
});
|
|
257
243
|
export { ResourceWhitePapersModule };
|
|
258
244
|
|
|
259
|
-
//# sourceMappingURL=posiwise-resource-module-resource-white-papers.module-
|
|
245
|
+
//# sourceMappingURL=posiwise-resource-module-resource-white-papers.module-DBjSfwx4.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"posiwise-resource-module-resource-white-papers.module-DBjSfwx4.mjs","names":[],"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, Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\n\nimport { LazyImgDirective } from '@posiwise/directives';\n\nimport { BaseTopBannerComponent } from '../../base/base-top-banner.component';\nimport { ResourceTopBannerEditComponent } from '../../resource-top-banner-edit/resource-top-banner-edit.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 changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [ResourceTopBannerEditComponent, LazyImgDirective],\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\n})\nexport class WhitePaperTopBannerComponent extends BaseTopBannerComponent {\n contactUsUrl = this.appConfig?.pages_config?.contact_us?.url;\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, Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\n\nimport { Trial4ContactUsComponent } from '@posiwise/resource-contact-us';\nimport { ResourceHeaderComponent } from '@posiwise/utils';\n\nimport { BaseResourceComponent } from '../base/base-resource.component';\nimport { ResourceVaultComponent } from '../resource-vault/resource-vault.component';\n\nimport { WhitePaperTopBannerComponent } from './white-papers-top-banner/white-papers-top-banner.component';\n\n@Component({\n selector: 'pw-resource-white-papers',\n templateUrl: './white-papers.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n ResourceHeaderComponent,\n WhitePaperTopBannerComponent,\n ResourceVaultComponent,\n Trial4ContactUsComponent\n ],\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\n})\nexport class WhitePaperComponent extends BaseResourceComponent {\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 imports: [\n ResourceSharedModule,\n RouterModule.forChild(routes),\n WhitePaperComponent,\n WhitePaperTopBannerComponent\n ],\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\n})\nexport class ResourceWhitePapersModule {}\n"],"mappings":"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"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { Injectable } from "@angular/core";
|
|
2
|
+
import { Injectable, inject } from "@angular/core";
|
|
3
|
+
import { MainApiHttpService } from "@posiwise/common-services";
|
|
3
4
|
import { HelperService } from "@posiwise/helper-service";
|
|
4
|
-
import * as i1 from "@posiwise/common-services";
|
|
5
5
|
var ResourceService = class ResourceService {
|
|
6
|
-
constructor(
|
|
7
|
-
this.api =
|
|
6
|
+
constructor() {
|
|
7
|
+
this.api = inject(MainApiHttpService);
|
|
8
8
|
this.resource = "/posts";
|
|
9
9
|
this.comments = "/comments";
|
|
10
10
|
}
|
|
@@ -66,7 +66,7 @@ var ResourceService = class ResourceService {
|
|
|
66
66
|
version: "22.2.3",
|
|
67
67
|
ngImport: i0,
|
|
68
68
|
type: ResourceService,
|
|
69
|
-
deps: [
|
|
69
|
+
deps: [],
|
|
70
70
|
target: i0.ɵɵFactoryTarget.Injectable
|
|
71
71
|
});
|
|
72
72
|
}
|
|
@@ -84,9 +84,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
84
84
|
version: "22.2.3",
|
|
85
85
|
ngImport: i0,
|
|
86
86
|
type: ResourceService,
|
|
87
|
-
decorators: [{ type: Injectable }]
|
|
88
|
-
ctorParameters: () => [{ type: i1.MainApiHttpService }]
|
|
87
|
+
decorators: [{ type: Injectable }]
|
|
89
88
|
});
|
|
90
89
|
export { ResourceService as t };
|
|
91
90
|
|
|
92
|
-
//# sourceMappingURL=posiwise-resource-module-resource.service-
|
|
91
|
+
//# sourceMappingURL=posiwise-resource-module-resource.service-DAXsq-WG.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"posiwise-resource-module-resource.service-DAXsq-WG.mjs","names":[],"sources":["../../../../libs/resource-module/src/lib/resource.service.ts"],"sourcesContent":["import { inject, 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 api = inject(MainApiHttpService);\n\n private readonly resource = '/posts';\n\n private readonly comments = '/comments';\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;CAD5B,cAAA;EAEqB,KAAA,MAAM,OAAO,kBAAkB;EAE/B,KAAA,WAAW;EAEX,KAAA,WAAW;CAoF/B;CAlFG,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,GAAG,KAAK,SAAQ,iBAAkB;GAC5D,GAAG,cAAc,gBAAgB,MAAM;GACvC,iBAAiB;EACpB,CAAA;CACL;CAEA,QAAQ,MAAI;EACR,OAAO,KAAK,IAAI,KAAK,KAAK,UAAU,KAAK,eAAe,IAAI,CAAC;CACjE;CAEA,cAAc,MAAY;EACtB,OAAO,KAAK,IAAI,IAAI,GAAG,KAAK,SAAQ,GAAI,MAAM;CAClD;CAEA,WAAW,IAAE;EACT,OAAO,KAAK,IAAI,OAAO,GAAG,KAAK,SAAQ,GAAI,IAAI;CACnD;CAEA,WAAW,MAAM,IAAE;EACf,OAAO,KAAK,IAAI,IAAI,GAAG,KAAK,SAAQ,GAAI,MAAM,KAAK,eAAe,IAAI,CAAC;CAC3E;CAIQ,eAAe,MAAmC;EACtD,MAAM,WAAW,IAAI,SAAQ;EAC7B,OAAO,QAAQ,IAAI,CAAC,CAAC,SAAS,CAAC,KAAK,WAAU;GAC1C,IAAI,UAAU,QAAQ,UAAU,QAC5B,SAAS,OAAO,KAAK,iBAAiB,OAAO,QAAQ,OAAO,KAAK,CAAC;EAE1E,CAAC;EACD,OAAO;CACX;CAEQ,cAAW;EACf,OAAO,KAAK,IAAI,IAAI,GAAG,KAAK,SAAQ,SAAU;CAClD;CAEA,aAAa,MAAI;EACb,OAAO,KAAK,IAAI,KAAK,KAAK,UAAU,IAAI;CAC5C;CAEA,mBAAmB,iBAAiB,aAAsB,WAAkB;EACxE,OAAO,KAAK,IAAI,cACZ,qDAAqD,mBACrD;GAAE;GAAa;EAAS,CAAE;CAElC;CAEA,wBAAwB,IAAE;EACtB,OAAO,KAAK,IAAI,IAAI,GAAG,KAAK,SAAQ,GAAI,GAAE,UAAW;CACzD;CAxFS;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAe,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAf;EAAA,KAAA,QAAA,GAAA,sBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;EAAe,CAAA;CAAA;;AAAf,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAe,YAAA,CAAA,EAD3B,MAAA,WAAA,CAAA"}
|