@posiwise/resource-module 0.0.160 → 0.0.162
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/esm2022/lib/public/components/resource-company-card/resource-company-card.component.mjs +4 -3
- package/esm2022/lib/public/components/resource-post/related-resources/related-resources.component.mjs +5 -4
- package/esm2022/lib/public/components/resource-vault/resource-vault.component.mjs +3 -7
- package/esm2022/lib/public/components/resources/resources.component.mjs +3 -7
- package/esm2022/lib/public/components/resources/vault-section/vault-section.component.mjs +2 -2
- package/esm2022/lib/public/components/white-papers/white-papers.component.mjs +1 -1
- package/esm2022/lib/public/shared/resource-cards.module.mjs +9 -4
- package/esm2022/lib/public/shared/resource-shared.module.mjs +16 -4
- package/fesm2022/{posiwise-resource-module-base-top-banner.component-BvwwTUET.mjs → posiwise-resource-module-base-top-banner.component-CfyYVbmA.mjs} +2 -2
- package/fesm2022/{posiwise-resource-module-base-top-banner.component-BvwwTUET.mjs.map → posiwise-resource-module-base-top-banner.component-CfyYVbmA.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-posiwise-resource-module-B9sZBM6E.mjs → posiwise-resource-module-posiwise-resource-module-BLNGyQxJ.mjs} +38 -24
- package/fesm2022/posiwise-resource-module-posiwise-resource-module-BLNGyQxJ.mjs.map +1 -0
- package/fesm2022/{posiwise-resource-module-resource-blogs.module-DGXiIQFC.mjs → posiwise-resource-module-resource-blogs.module-D9R8TPyF.mjs} +5 -4
- package/fesm2022/{posiwise-resource-module-resource-blogs.module-DGXiIQFC.mjs.map → posiwise-resource-module-resource-blogs.module-D9R8TPyF.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-case-studies.module-CI7aoJOc.mjs → posiwise-resource-module-resource-case-studies.module-7XIxi-bU.mjs} +4 -3
- package/fesm2022/{posiwise-resource-module-resource-case-studies.module-CI7aoJOc.mjs.map → posiwise-resource-module-resource-case-studies.module-7XIxi-bU.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-events.module-z9DAugIY.mjs → posiwise-resource-module-resource-events.module-DKYdAT_d.mjs} +4 -3
- package/fesm2022/{posiwise-resource-module-resource-events.module-z9DAugIY.mjs.map → posiwise-resource-module-resource-events.module-DKYdAT_d.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-hub.module-DEb0Njpz.mjs → posiwise-resource-module-resource-hub.module-e0-ChqUs.mjs} +4 -3
- package/fesm2022/{posiwise-resource-module-resource-hub.module-DEb0Njpz.mjs.map → posiwise-resource-module-resource-hub.module-e0-ChqUs.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-integrations.module-Ch7jfI37.mjs → posiwise-resource-module-resource-integrations.module-CdulE2Qx.mjs} +5 -4
- package/fesm2022/{posiwise-resource-module-resource-integrations.module-Ch7jfI37.mjs.map → posiwise-resource-module-resource-integrations.module-CdulE2Qx.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-post.module-CjiVMuBE.mjs → posiwise-resource-module-resource-post.module-CoIcZ5ay.mjs} +8 -7
- package/fesm2022/{posiwise-resource-module-resource-post.module-CjiVMuBE.mjs.map → posiwise-resource-module-resource-post.module-CoIcZ5ay.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-release-notes.module-CBFB4E4C.mjs → posiwise-resource-module-resource-release-notes.module-C-FOASM0.mjs} +5 -4
- package/fesm2022/{posiwise-resource-module-resource-release-notes.module-CBFB4E4C.mjs.map → posiwise-resource-module-resource-release-notes.module-C-FOASM0.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-root.module-DQEgVM0d.mjs → posiwise-resource-module-resource-root.module-xNFAWKov.mjs} +8 -11
- package/fesm2022/posiwise-resource-module-resource-root.module-xNFAWKov.mjs.map +1 -0
- package/fesm2022/{posiwise-resource-module-resource-videos.module-jYT7sIox.mjs → posiwise-resource-module-resource-videos.module-BIaFaFBT.mjs} +5 -4
- package/fesm2022/{posiwise-resource-module-resource-videos.module-jYT7sIox.mjs.map → posiwise-resource-module-resource-videos.module-BIaFaFBT.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-white-papers.module-biuffJJa.mjs → posiwise-resource-module-resource-white-papers.module-_f7xcT1t.mjs} +6 -5
- package/fesm2022/{posiwise-resource-module-resource-white-papers.module-biuffJJa.mjs.map → posiwise-resource-module-resource-white-papers.module-_f7xcT1t.mjs.map} +1 -1
- package/fesm2022/posiwise-resource-module.mjs +3 -2
- package/fesm2022/posiwise-resource-module.mjs.map +1 -1
- package/lib/public/components/resource-vault/resource-vault.component.d.ts +2 -3
- package/lib/public/components/resources/resources.component.d.ts +0 -2
- package/lib/public/shared/resource-cards.module.d.ts +1 -1
- package/lib/public/shared/resource-shared.module.d.ts +2 -1
- package/package.json +1 -1
- package/fesm2022/posiwise-resource-module-posiwise-resource-module-B9sZBM6E.mjs.map +0 -1
- package/fesm2022/posiwise-resource-module-resource-root.module-DQEgVM0d.mjs.map +0 -1
|
@@ -9,6 +9,7 @@ import * as i3 from '@angular/common';
|
|
|
9
9
|
import { CommonModule } from '@angular/common';
|
|
10
10
|
import * as i1$1 from '@angular/forms';
|
|
11
11
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
12
|
+
import { HubSpotMeetingsSharedModule } from '@posiwise/alpha-module';
|
|
12
13
|
import { CoreTranslocoModule } from '@posiwise/core-transloco';
|
|
13
14
|
import * as i8 from '@posiwise/directives';
|
|
14
15
|
import { DirectivesModule } from '@posiwise/directives';
|
|
@@ -21,12 +22,13 @@ import * as i10 from '@jsverse/transloco';
|
|
|
21
22
|
import { TranslocoModule } from '@jsverse/transloco';
|
|
22
23
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
23
24
|
import { Subject } from 'rxjs';
|
|
25
|
+
import * as i5 from 'primeng/paginator';
|
|
26
|
+
import { PaginatorModule } from 'primeng/paginator';
|
|
24
27
|
import * as i2$1 from '@ng-bootstrap/ng-bootstrap';
|
|
25
28
|
import * as i6$1 from '@posiwise/utils';
|
|
26
29
|
import { DragDropModule } from '@angular/cdk/drag-drop';
|
|
27
30
|
import { NgxCaptchaModule } from 'ngx-captcha';
|
|
28
31
|
import { DropdownModule } from 'primeng/dropdown';
|
|
29
|
-
import { PaginatorModule } from 'primeng/paginator';
|
|
30
32
|
import * as i7 from 'primeng/progressspinner';
|
|
31
33
|
import * as i3$1 from '@angular/platform-browser';
|
|
32
34
|
import * as i11 from 'ngx-quill';
|
|
@@ -118,43 +120,43 @@ const routes = [
|
|
|
118
120
|
{
|
|
119
121
|
path: '',
|
|
120
122
|
pathMatch: 'full',
|
|
121
|
-
loadChildren: () => import('./posiwise-resource-module-resource-root.module-
|
|
123
|
+
loadChildren: () => import('./posiwise-resource-module-resource-root.module-xNFAWKov.mjs').then(m => m.ResourceRootModule)
|
|
122
124
|
},
|
|
123
125
|
{
|
|
124
126
|
path: 'hub',
|
|
125
|
-
loadChildren: () => import('./posiwise-resource-module-resource-hub.module-
|
|
127
|
+
loadChildren: () => import('./posiwise-resource-module-resource-hub.module-e0-ChqUs.mjs').then(m => m.ResourceHubModule)
|
|
126
128
|
},
|
|
127
129
|
{
|
|
128
130
|
path: 'blogs',
|
|
129
|
-
loadChildren: () => import('./posiwise-resource-module-resource-blogs.module-
|
|
131
|
+
loadChildren: () => import('./posiwise-resource-module-resource-blogs.module-D9R8TPyF.mjs').then(m => m.ResourceBlogsModule)
|
|
130
132
|
},
|
|
131
133
|
{
|
|
132
134
|
path: 'videos',
|
|
133
|
-
loadChildren: () => import('./posiwise-resource-module-resource-videos.module-
|
|
135
|
+
loadChildren: () => import('./posiwise-resource-module-resource-videos.module-BIaFaFBT.mjs').then(m => m.ResourceVideosModule)
|
|
134
136
|
},
|
|
135
137
|
{
|
|
136
138
|
path: 'integrations',
|
|
137
|
-
loadChildren: () => import('./posiwise-resource-module-resource-integrations.module-
|
|
139
|
+
loadChildren: () => import('./posiwise-resource-module-resource-integrations.module-CdulE2Qx.mjs').then(m => m.ResourceIntegrationsModule)
|
|
138
140
|
},
|
|
139
141
|
{
|
|
140
142
|
path: 'release-notes',
|
|
141
|
-
loadChildren: () => import('./posiwise-resource-module-resource-release-notes.module-
|
|
143
|
+
loadChildren: () => import('./posiwise-resource-module-resource-release-notes.module-C-FOASM0.mjs').then(m => m.ResourceReleaseNotesModule)
|
|
142
144
|
},
|
|
143
145
|
{
|
|
144
146
|
path: 'events',
|
|
145
|
-
loadChildren: () => import('./posiwise-resource-module-resource-events.module-
|
|
147
|
+
loadChildren: () => import('./posiwise-resource-module-resource-events.module-DKYdAT_d.mjs').then(m => m.ResourceEventsModule)
|
|
146
148
|
},
|
|
147
149
|
{
|
|
148
150
|
path: 'white-papers',
|
|
149
|
-
loadChildren: () => import('./posiwise-resource-module-resource-white-papers.module-
|
|
151
|
+
loadChildren: () => import('./posiwise-resource-module-resource-white-papers.module-_f7xcT1t.mjs').then(m => m.ResourceWhitePapersModule)
|
|
150
152
|
},
|
|
151
153
|
{
|
|
152
154
|
path: 'case-studies',
|
|
153
|
-
loadChildren: () => import('./posiwise-resource-module-resource-case-studies.module-
|
|
155
|
+
loadChildren: () => import('./posiwise-resource-module-resource-case-studies.module-7XIxi-bU.mjs').then(m => m.ResourceCaseStudiesModule)
|
|
154
156
|
},
|
|
155
157
|
{
|
|
156
158
|
path: 'view/:slug',
|
|
157
|
-
loadChildren: () => import('./posiwise-resource-module-resource-post.module-
|
|
159
|
+
loadChildren: () => import('./posiwise-resource-module-resource-post.module-CoIcZ5ay.mjs').then(m => m.ResourcePostModule)
|
|
158
160
|
}
|
|
159
161
|
];
|
|
160
162
|
class BlogPublicRoutingModule {
|
|
@@ -338,7 +340,7 @@ class ResourceCompanyCardComponent extends AppBaseComponent {
|
|
|
338
340
|
return this.canEditResourcesValue;
|
|
339
341
|
}
|
|
340
342
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ResourceCompanyCardComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
341
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: ResourceCompanyCardComponent, selector: "pw-resource-company-card", inputs: { header: "header", data: "data", integrationCountDisplay: "integrationCountDisplay", vendor: "vendor", user: "user", userLoggedIn: "userLoggedIn" }, outputs: { getPosts: "getPosts" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div [ngClass]=\"{ 'vendors-distributor-wrapper': !vendor }\">\n <div class=\"d-flex justify-content-between align-items-center mb-3 search-container\">\n <div>\n <span class=\"int-span\">{{header}}</span>\n </div>\n <div class=\"search-wrapper position-relative\" *ngIf=\"integrationCountDisplay > 0\">\n <i class=\"fa fa-search search-icon\"></i>\n <input type=\"text\"\n\n (keyup)=\"search($event.target.value)\"\n placeholder=\"Search eg security\"\n class=\"search-input top-search-input\" />\n </div>\n\n </div>\n\n <div *ngIf=\"postData\">\n <pw-no-data [withImage]=\"true\" [message]=\"'Search.NoDataMessage' | transloco\"> </pw-no-data>\n </div>\n\n <div class=\"row\" *ngIf=\"!postData && integrationCountDisplay > 0\">\n <div class=\"col-md-3 mt-4\"\n *ngFor=\"let img of filteredData | slice:first:(first + rows)\">\n <div class=\"boxes d-flex align-items-center justify-content-center\">\n <ng-container *ngIf=\"img?.companyImg; else checkRectangular\">\n <img [src]=\"img.companyImg\" alt=\"Vendor Company Icon\" class=\"vendor-icon\" />\n </ng-container>\n\n <ng-template #checkRectangular>\n <ng-container *ngIf=\"img?.rectangular_picture?.url; else noImage\">\n <ng-container *ngIf=\"!img.rectangular_picture.url.includes('default-photo'); else showPostName\">\n <ng-container *ngIf=\"img?.showcase; else noLinkImage\">\n <a class=\"vendor-link\" [href]=\"img.external_url || ('/resources/view/' + img.slug)\">\n <img [src]=\"img.rectangular_picture.url\" alt=\"Vendor Rectangular Company Icon\" class=\"vendor-icon\" />\n </a>\n </ng-container>\n <ng-template #noLinkImage>\n <img [src]=\"img.rectangular_picture.url\" alt=\"Vendor Rectangular Company Icon\" class=\"vendor-icon\" />\n </ng-template>\n\n <pw-resource-edit-card-lazy\n [canEdit]=\"canEditResourcesValue\"\n [id]=\"img?.id\"\n [resourceData]=\"img\"\n (updated)=\"getPosts.emit()\">\n </pw-resource-edit-card-lazy>\n </ng-container>\n </ng-container>\n </ng-template>\n\n <ng-template #showPostName>\n <ng-container *ngIf=\"img?.showcase; else noLinkTitle\">\n <a class=\"vendor-link\" [href]=\"img.external_url || ('/resources/view/' + img.slug)\">\n <span class=\"vendor-name text-center mt-2\">{{ img?.title }}</span>\n </a>\n </ng-container>\n <ng-template #noLinkTitle>\n <span class=\"vendor-name text-center\">{{ img?.title }}</span>\n </ng-template>\n\n <pw-resource-edit-card-lazy\n [canEdit]=\"canEditResourcesValue\"\n [id]=\"img?.id\"\n [resourceData]=\"img\"\n (updated)=\"getPosts.emit()\">\n </pw-resource-edit-card-lazy>\n </ng-template>\n </div>\n </div>\n\n <div class=\"customPaginator d-flex align-items-center mt-5 justify-content-center\"\n *ngIf=\"filteredData.length > 0\"\n >\n <p-paginator\n [first]=\"first\"\n [rows]=\"rows\"\n [totalRecords]=\"filteredData.length\"\n (onPageChange)=\"onPageChange($event)\"></p-paginator>\n </div>\n </div>\n</div>\n", styles: [".top-search-input{color:#000!important;border:3px solid #d4d4d4!important;padding:5px 30px!important;border-radius:29px!important}::placeholder{color:#d4d4d4}.vendors-distributor-wrapper{margin-top:5rem!important}.vendor-icon{max-width:180px;max-height:100%;width:100%!important}.vendor-name{font-size:3rem;line-height:3rem;color:var(--text-color, black)}::ng-deep .customPaginator .p-paginator{border:none!important}::ng-deep .customPaginator .p-paginator button{border:none!important}.int-span{text-transform:uppercase;font-size:2.5rem;color:var(--first)}.boxes{width:100%;min-height:150px;display:flex;align-items:center;justify-content:center;text-align:center;padding:15px;border:1px dashed #ccc;border-radius:8px;word-break:break-word;white-space:normal;height:100%}a.vendor-link{display:inline-block;transition:transform .2s ease}a.vendor-link:hover{transform:scale(1.05);cursor:pointer}.search-wrapper{position:relative;width:300px}.search-input{width:100%;padding:10px 20px 10px 40px;border:2px solid #d4d4d4;border-radius:30px;font-size:1rem;color:#000;background-color:#fff}.search-input::placeholder{color:silver}.search-input:focus{outline:none;border-color:var(--first)}.search-icon{position:absolute;top:50%;left:14px;transform:translateY(-50%);color:#d4d4d4;font-size:1.1rem}@media (width <= 768px){.vendor-icon{width:50!important}.search-container{flex-wrap:wrap!important;gap:2rem}.int-span{font-size:1.75rem}}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6.NoDataComponent, selector: "pw-no-data", inputs: ["message", "description", "withImage"] }, { kind: "directive", type: i8.LazyImgDirective, selector: "img" }, { kind: "component", type: ResourceEditCardLazyComponent, selector: "pw-resource-edit-card-lazy", inputs: ["id", "resourceData", "canEdit"], outputs: ["updated"] }, { kind: "pipe", type: i3.SlicePipe, name: "slice" }, { kind: "pipe", type: i10.TranslocoPipe, name: "transloco" }] }); }
|
|
343
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: ResourceCompanyCardComponent, selector: "pw-resource-company-card", inputs: { header: "header", data: "data", integrationCountDisplay: "integrationCountDisplay", vendor: "vendor", user: "user", userLoggedIn: "userLoggedIn" }, outputs: { getPosts: "getPosts" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div [ngClass]=\"{ 'vendors-distributor-wrapper': !vendor }\">\n <div class=\"d-flex justify-content-between align-items-center mb-3 search-container\">\n <div>\n <span class=\"int-span\">{{header}}</span>\n </div>\n <div class=\"search-wrapper position-relative\" *ngIf=\"integrationCountDisplay > 0\">\n <i class=\"fa fa-search search-icon\"></i>\n <input type=\"text\"\n\n (keyup)=\"search($event.target.value)\"\n placeholder=\"Search eg security\"\n class=\"search-input top-search-input\" />\n </div>\n\n </div>\n\n <div *ngIf=\"postData\">\n <pw-no-data [withImage]=\"true\" [message]=\"'Search.NoDataMessage' | transloco\"> </pw-no-data>\n </div>\n\n <div class=\"row\" *ngIf=\"!postData && integrationCountDisplay > 0\">\n <div class=\"col-md-3 mt-4\"\n *ngFor=\"let img of filteredData | slice:first:(first + rows)\">\n <div class=\"boxes d-flex align-items-center justify-content-center\">\n <ng-container *ngIf=\"img?.companyImg; else checkRectangular\">\n <img [src]=\"img.companyImg\" alt=\"Vendor Company Icon\" class=\"vendor-icon\" />\n </ng-container>\n\n <ng-template #checkRectangular>\n <ng-container *ngIf=\"img?.rectangular_picture?.url; else noImage\">\n <ng-container *ngIf=\"!img.rectangular_picture.url.includes('default-photo'); else showPostName\">\n <ng-container *ngIf=\"img?.showcase; else noLinkImage\">\n <a class=\"vendor-link\" [href]=\"img.external_url || ('/resources/view/' + img.slug)\">\n <img [src]=\"img.rectangular_picture.url\" alt=\"Vendor Rectangular Company Icon\" class=\"vendor-icon\" />\n </a>\n </ng-container>\n <ng-template #noLinkImage>\n <img [src]=\"img.rectangular_picture.url\" alt=\"Vendor Rectangular Company Icon\" class=\"vendor-icon\" />\n </ng-template>\n\n <pw-resource-edit-card-lazy\n [canEdit]=\"canEditResourcesValue\"\n [id]=\"img?.id\"\n [resourceData]=\"img\"\n (updated)=\"getPosts.emit()\">\n </pw-resource-edit-card-lazy>\n </ng-container>\n </ng-container>\n </ng-template>\n\n <ng-template #showPostName>\n <ng-container *ngIf=\"img?.showcase; else noLinkTitle\">\n <a class=\"vendor-link\" [href]=\"img.external_url || ('/resources/view/' + img.slug)\">\n <span class=\"vendor-name text-center mt-2\">{{ img?.title }}</span>\n </a>\n </ng-container>\n <ng-template #noLinkTitle>\n <span class=\"vendor-name text-center\">{{ img?.title }}</span>\n </ng-template>\n\n <pw-resource-edit-card-lazy\n [canEdit]=\"canEditResourcesValue\"\n [id]=\"img?.id\"\n [resourceData]=\"img\"\n (updated)=\"getPosts.emit()\">\n </pw-resource-edit-card-lazy>\n </ng-template>\n </div>\n </div>\n\n <div class=\"customPaginator d-flex align-items-center mt-5 justify-content-center\"\n *ngIf=\"filteredData.length > 0\"\n >\n <p-paginator\n [first]=\"first\"\n [rows]=\"rows\"\n [totalRecords]=\"filteredData.length\"\n (onPageChange)=\"onPageChange($event)\"></p-paginator>\n </div>\n </div>\n</div>\n", styles: [".top-search-input{color:#000!important;border:3px solid #d4d4d4!important;padding:5px 30px!important;border-radius:29px!important}::placeholder{color:#d4d4d4}.vendors-distributor-wrapper{margin-top:5rem!important}.vendor-icon{max-width:180px;max-height:100%;width:100%!important}.vendor-name{font-size:3rem;line-height:3rem;color:var(--text-color, black)}::ng-deep .customPaginator .p-paginator{border:none!important}::ng-deep .customPaginator .p-paginator button{border:none!important}.int-span{text-transform:uppercase;font-size:2.5rem;color:var(--first)}.boxes{width:100%;min-height:150px;display:flex;align-items:center;justify-content:center;text-align:center;padding:15px;border:1px dashed #ccc;border-radius:8px;word-break:break-word;white-space:normal;height:100%}a.vendor-link{display:inline-block;transition:transform .2s ease}a.vendor-link:hover{transform:scale(1.05);cursor:pointer}.search-wrapper{position:relative;width:300px}.search-input{width:100%;padding:10px 20px 10px 40px;border:2px solid #d4d4d4;border-radius:30px;font-size:1rem;color:#000;background-color:#fff}.search-input::placeholder{color:silver}.search-input:focus{outline:none;border-color:var(--first)}.search-icon{position:absolute;top:50%;left:14px;transform:translateY(-50%);color:#d4d4d4;font-size:1.1rem}@media (width <= 768px){.vendor-icon{width:50!important}.search-container{flex-wrap:wrap!important;gap:2rem}.int-span{font-size:1.75rem}}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6.NoDataComponent, selector: "pw-no-data", inputs: ["message", "description", "withImage"] }, { kind: "directive", type: i8.LazyImgDirective, selector: "img" }, { kind: "component", type: ResourceEditCardLazyComponent, selector: "pw-resource-edit-card-lazy", inputs: ["id", "resourceData", "canEdit"], outputs: ["updated"] }, { kind: "component", type: i5.Paginator, selector: "p-paginator", inputs: ["pageLinkSize", "style", "styleClass", "alwaysShow", "dropdownAppendTo", "templateLeft", "templateRight", "appendTo", "dropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showFirstLastIcon", "totalRecords", "rows", "rowsPerPageOptions", "showJumpToPageDropdown", "showJumpToPageInput", "jumpToPageItemTemplate", "showPageLinks", "locale", "dropdownItemTemplate", "first"], outputs: ["onPageChange"] }, { kind: "pipe", type: i3.SlicePipe, name: "slice" }, { kind: "pipe", type: i10.TranslocoPipe, name: "transloco" }] }); }
|
|
342
344
|
}
|
|
343
345
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ResourceCompanyCardComponent, decorators: [{
|
|
344
346
|
type: Component,
|
|
@@ -933,7 +935,6 @@ class ResourceVaultComponent extends BaseResourceComponent {
|
|
|
933
935
|
super(resourceService, tagService, authService, injector);
|
|
934
936
|
this.showVaultSection = false;
|
|
935
937
|
this.postSlice = false;
|
|
936
|
-
this.isLoadedChange = new EventEmitter();
|
|
937
938
|
this.isEditingTitle = false;
|
|
938
939
|
}
|
|
939
940
|
ngOnInit() {
|
|
@@ -955,7 +956,6 @@ class ResourceVaultComponent extends BaseResourceComponent {
|
|
|
955
956
|
})
|
|
956
957
|
.add(() => {
|
|
957
958
|
this.isLoaded = true;
|
|
958
|
-
this.isLoadedChange.emit(this.isLoaded);
|
|
959
959
|
});
|
|
960
960
|
}
|
|
961
961
|
toggleEditTitle() {
|
|
@@ -969,7 +969,7 @@ class ResourceVaultComponent extends BaseResourceComponent {
|
|
|
969
969
|
});
|
|
970
970
|
}
|
|
971
971
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ResourceVaultComponent, deps: [{ token: ResourceService }, { token: i2.TagService }, { token: i2.AuthService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
972
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: ResourceVaultComponent, selector: "pw-resource--vault", inputs: { showVaultSection: "showVaultSection", postSlice: "postSlice", categoryId: "categoryId", resourceTitle: "resourceTitle", tag: "tag" },
|
|
972
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: ResourceVaultComponent, selector: "pw-resource--vault", inputs: { showVaultSection: "showVaultSection", postSlice: "postSlice", categoryId: "categoryId", resourceTitle: "resourceTitle", tag: "tag" }, usesInheritance: true, ngImport: i0, template: "<section class=\"resource-vault-section bg-white text-center py-5 extra-top-padding section-outer\">\n <div class=\"container\">\n <div *ngIf=\"showVaultSection\" class=\"d-flex justify-content-between align-items-center flex-wrap mb-5\">\n <h2 class=\"section-heading d-flex align-items-center\" [ngClass]=\"{ 'w-50': isEditingTitle }\">\n <ng-container *ngIf=\"!isEditingTitle; else editTitleBlock\">\n <span *ngIf=\"resourceTitle; else fallback\" [innerHTML]=\"resourceTitle\"></span>\n <ng-template #fallback>Whitepapers & Tools</ng-template>\n <i *ngIf=\"canEditResourcesValue\" class=\"fa fa-edit in-page-edit-icon ms-3 cursor-pointer\" (click)=\"toggleEditTitle()\" (keydown.enter)=\"toggleEditTitle()\" (keydown.space)=\"toggleEditTitle()\" title=\"Edit Title\"></i>\n </ng-container>\n\n <ng-template #editTitleBlock>\n <input [(ngModel)]=\"editedTitle\" class=\"form-control d-inline w-auto me-2\" [ngClass]=\"{ 'w-100': isEditingTitle }\" />\n <button class=\"btn btn-sm btn-primary me-1\" (click)=\"saveEditedTitle()\">Save</button>\n <button class=\"btn btn-sm btn-secondary\" (click)=\"isEditingTitle = false\">Cancel</button>\n </ng-template>\n </h2>\n\n <a class=\"view-all\" routerLink=\"/resources/white-papers\">VIEW ALL ></a>\n </div>\n <div class=\"w-100 text-center mt-3\" *ngIf=\"!isLoaded\">\n <p-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\n </div>\n <div *ngIf=\"posts.length === 0 && isLoaded\">\n <pw-no-data [withImage]=\"true\" [message]=\"'Resource.NoDataMessage' | transloco\"/>\n </div>\n <div class=\"d-flex mt-2 flex-wrap justify-content-center gap-4 video-row\" *ngIf=\"posts.length !== 0 && isLoaded\">\n <div class=\"resource-blog-card text-center p-4\" *ngFor=\"let post of posts\">\n <pw-resource-edit-card-lazy\n [canEdit]=\"canEditResourcesValue\"\n [id]=\"post.id\"\n [resourceData]=\"post\"\n (updated)=\"getPosts(1, 100)\">\n </pw-resource-edit-card-lazy>\n <p class=\"mb-4\" [innerHTML]=\"post.title\"></p>\n <a\n [href]=\"post.external_url || ('/resources/view/' + post?.slug)\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n aria-label=\"Navigate to resource\"\n >\n <img\n [src]=\"post.picture.url\"\n class=\"img-fluid my-3 mt-auto\"\n alt=\"Webinar\"\n loading=\"lazy\"\n />\n </a>\n <a *ngIf=\"post?.external_url; else internalLink\"\n class=\"resource-btn mt-3\"\n aria-label=\"Navigate to external url\"\n [href]=\"post.external_url\"\n target=\"_blank\"\n rel=\"noopener noreferrer\">\n <span>{{ post?.cta_text && post.cta_text !== 'null' ? post.cta_text : 'Read Now' }}</span>\n <span class=\"arrow\">\u2192</span>\n </a>\n\n <ng-template #internalLink>\n <a class=\"resource-btn mt-3\" aria-label=\"Navigate to resource view\" [href]=\"'/resources/view/' + post?.slug\" target=\"_blank\">\n <span>{{ post?.cta_text && post.cta_text !== 'null' ? post.cta_text : 'Read Now' }}</span>\n <span class=\"arrow\">\u2192</span>\n </a>\n </ng-template>\n </div>\n </div>\n </div>\n</section>\n", styles: [".bold{font-weight:700}.resource-heading{margin-bottom:2rem}.resource-note{margin-top:1rem;font-size:.85rem;color:#555}.resource-divider{border:0;height:40px;width:100%;background:linear-gradient(to bottom,#0000,#00000026);margin:0}.press-release-icon{height:auto!important;margin:0 11px 1.9rem;display:block;align-self:center;width:auto!important;aspect-ratio:0!important;object-fit:cover;margin-top:auto;margin-right:0!important}.resource-vault-section{padding:60px 0;background:#fff;padding-bottom:9rem!important;padding-top:7rem!important;box-shadow:0 4px 32px -14px #40576d4d!important}.resource-vault-section .vault-heading{font-size:3rem;font-weight:300}.resource-vault-section .explore-link{color:#000;font-weight:400;text-decoration:none;font-size:1.5rem}.resource-vault-section .resource-blog-card{display:flex;flex-direction:column;justify-content:space-between;background-color:#fff;border-radius:30px;box-shadow:0 20px 40px #00000014;padding:25px;text-align:center;width:338px;height:auto!important}.resource-vault-section .resource-blog-card h5{font-size:1.5rem;font-weight:400;margin-bottom:.5rem;color:var(--text-color, black)}.resource-vault-section .resource-blog-card p{font-size:1.5rem;color:var(--text-color, black);line-height:2rem}.resource-vault-section .resource-blog-card img{width:100%;border-radius:10px;aspect-ratio:1/1;object-fit:cover;margin-top:auto;margin-right:0!important;max-width:250px!important;align-self:center!important}.resource-vault-section .resource-blog-card iframe{height:210px;border-radius:10px;object-fit:cover;margin-right:0!important;max-width:280px!important}.resource-vault-section .resource-blog-card .resource-btn{background-color:var(--text-color, black);color:#fff;margin-top:auto;padding:10px 24px;border-radius:24px;font-size:1.5rem;font-weight:500;width:100%;max-width:240px;cursor:pointer;transition:background .3s ease;display:flex;justify-content:space-between;align-self:center;align-items:center;text-align:left;text-decoration:none;border:1px solid;box-shadow:none!important;border-color:var(--text-color, black)}.resource-vault-section .resource-blog-card .resource-btn:hover{background:#fff;color:var(--text-color, black)!important}.resource-vault-section .vault-description{text-align:left;max-width:657px;color:#182527;line-height:2.3rem!important;font-size:1.65rem}@media (width <= 1200px){.resource-vault-section .vault-heading{font-size:3.5rem}.resource-vault-section .vault-description{margin-top:1.35rem}.resource-vault-section .resource-btn{margin-left:0!important}}.video-row{gap:5.5rem!important;margin-top:3rem!important}@media (width >= 991px){section.bg-white.text-center.extra-top-padding{position:relative;overflow:hidden}section.bg-white.text-center.extra-top-padding .banner-header{margin-bottom:4rem!important}}.vault-header{text-align:left}@media (width >= 768px) and (width <= 1200px){.container{padding:0 6rem!important}}@media (width <= 768px){.video-row{gap:3rem!important}}@media (max-width: 768px){.resource-vault-section{padding-bottom:6rem!important}.resource-vault-section .container{padding-top:0rem!important;padding-bottom:0rem!important}.vault-header{text-align:center!important}.vault-heading{font-size:3rem!important}}@media (width <= 1200px){.container{padding:7rem 3rem 1rem!important}}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i6.NoDataComponent, selector: "pw-no-data", inputs: ["message", "description", "withImage"] }, { kind: "component", type: i7.ProgressSpinner, selector: "p-progressSpinner", inputs: ["styleClass", "style", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }, { kind: "directive", type: i8.LazyImgDirective, selector: "img" }, { kind: "component", type: ResourceEditCardLazyComponent, selector: "pw-resource-edit-card-lazy", inputs: ["id", "resourceData", "canEdit"], outputs: ["updated"] }, { kind: "pipe", type: i10.TranslocoPipe, name: "transloco" }] }); }
|
|
973
973
|
}
|
|
974
974
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ResourceVaultComponent, decorators: [{
|
|
975
975
|
type: Component,
|
|
@@ -984,8 +984,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
|
|
|
984
984
|
type: Input
|
|
985
985
|
}], tag: [{
|
|
986
986
|
type: Input
|
|
987
|
-
}], isLoadedChange: [{
|
|
988
|
-
type: Output
|
|
989
987
|
}] } });
|
|
990
988
|
|
|
991
989
|
class ResourceVideoCardComponent extends AppBaseComponent {
|
|
@@ -1267,7 +1265,9 @@ class ResourceCardsModule {
|
|
|
1267
1265
|
ResourceNoteCardComponent,
|
|
1268
1266
|
ResourceVaultComponent,
|
|
1269
1267
|
Trial4ContactUsModule, // ✅ Re-export for backward compatibility
|
|
1270
|
-
ResourceEditCardLazyComponent
|
|
1268
|
+
ResourceEditCardLazyComponent,
|
|
1269
|
+
PaginatorModule // Export PaginatorModule so ResourceCompanyCardComponent can use p-paginator
|
|
1270
|
+
] }); }
|
|
1271
1271
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ResourceCardsModule, imports: [CommonModule,
|
|
1272
1272
|
RouterModule,
|
|
1273
1273
|
FormsModule,
|
|
@@ -1282,7 +1282,9 @@ class ResourceCardsModule {
|
|
|
1282
1282
|
DragDropModule,
|
|
1283
1283
|
NgxCaptchaModule,
|
|
1284
1284
|
Trial4ContactUsModule // ✅ Import standalone module
|
|
1285
|
-
, Trial4ContactUsModule
|
|
1285
|
+
, Trial4ContactUsModule,
|
|
1286
|
+
PaginatorModule // Export PaginatorModule so ResourceCompanyCardComponent can use p-paginator
|
|
1287
|
+
] }); }
|
|
1286
1288
|
}
|
|
1287
1289
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ResourceCardsModule, decorators: [{
|
|
1288
1290
|
type: NgModule,
|
|
@@ -1320,7 +1322,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
|
|
|
1320
1322
|
ResourceNoteCardComponent,
|
|
1321
1323
|
ResourceVaultComponent,
|
|
1322
1324
|
Trial4ContactUsModule, // ✅ Re-export for backward compatibility
|
|
1323
|
-
ResourceEditCardLazyComponent
|
|
1325
|
+
ResourceEditCardLazyComponent,
|
|
1326
|
+
PaginatorModule // Export PaginatorModule so ResourceCompanyCardComponent can use p-paginator
|
|
1324
1327
|
],
|
|
1325
1328
|
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
1326
1329
|
}]
|
|
@@ -1341,12 +1344,16 @@ class ResourceSharedModule {
|
|
|
1341
1344
|
DirectivesModule,
|
|
1342
1345
|
InputTextModule,
|
|
1343
1346
|
InputTextareaModule,
|
|
1344
|
-
ResourceCardsModule
|
|
1347
|
+
ResourceCardsModule,
|
|
1348
|
+
HubSpotMeetingsSharedModule // For pw-book-a-demo component (HubSpotMeetingsComponent)
|
|
1349
|
+
], exports: [
|
|
1345
1350
|
// Export the 2 components specific to this module
|
|
1346
1351
|
ResourceCompanyCardComponent,
|
|
1347
1352
|
ResourceTopBannerEditComponent,
|
|
1348
1353
|
// Export card components module (includes all heavy modules + card components)
|
|
1349
1354
|
ResourceCardsModule,
|
|
1355
|
+
// Export HubSpotMeetingsSharedModule to make pw-book-a-demo component available
|
|
1356
|
+
HubSpotMeetingsSharedModule,
|
|
1350
1357
|
// Export common lightweight modules
|
|
1351
1358
|
CommonModule,
|
|
1352
1359
|
RouterModule,
|
|
@@ -1370,9 +1377,13 @@ class ResourceSharedModule {
|
|
|
1370
1377
|
DirectivesModule,
|
|
1371
1378
|
InputTextModule,
|
|
1372
1379
|
InputTextareaModule,
|
|
1373
|
-
ResourceCardsModule,
|
|
1380
|
+
ResourceCardsModule,
|
|
1381
|
+
HubSpotMeetingsSharedModule // For pw-book-a-demo component (HubSpotMeetingsComponent)
|
|
1382
|
+
,
|
|
1374
1383
|
// Export card components module (includes all heavy modules + card components)
|
|
1375
1384
|
ResourceCardsModule,
|
|
1385
|
+
// Export HubSpotMeetingsSharedModule to make pw-book-a-demo component available
|
|
1386
|
+
HubSpotMeetingsSharedModule,
|
|
1376
1387
|
// Export common lightweight modules
|
|
1377
1388
|
CommonModule,
|
|
1378
1389
|
RouterModule,
|
|
@@ -1402,7 +1413,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
|
|
|
1402
1413
|
DirectivesModule,
|
|
1403
1414
|
InputTextModule,
|
|
1404
1415
|
InputTextareaModule,
|
|
1405
|
-
ResourceCardsModule
|
|
1416
|
+
ResourceCardsModule,
|
|
1417
|
+
HubSpotMeetingsSharedModule // For pw-book-a-demo component (HubSpotMeetingsComponent)
|
|
1406
1418
|
],
|
|
1407
1419
|
exports: [
|
|
1408
1420
|
// Export the 2 components specific to this module
|
|
@@ -1410,6 +1422,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
|
|
|
1410
1422
|
ResourceTopBannerEditComponent,
|
|
1411
1423
|
// Export card components module (includes all heavy modules + card components)
|
|
1412
1424
|
ResourceCardsModule,
|
|
1425
|
+
// Export HubSpotMeetingsSharedModule to make pw-book-a-demo component available
|
|
1426
|
+
HubSpotMeetingsSharedModule,
|
|
1413
1427
|
// Export common lightweight modules
|
|
1414
1428
|
CommonModule,
|
|
1415
1429
|
RouterModule,
|
|
@@ -1774,4 +1788,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
|
|
|
1774
1788
|
*/
|
|
1775
1789
|
|
|
1776
1790
|
export { BaseResourceComponent as B, CaseStudyCardComponent as C, ResourceVideoCardComponent as R, TestimonialCardListComponent as T, UpcomingEventCardComponent as U, ResourceCardComponent as a, ResourceNoteCardComponent as b, ResourceVaultComponent as c, ResourceCardsModule as d, ResourceService as e, ResourceEditCardLazyComponent as f, ResourceSharedModule as g, ResourceTopBannerEditComponent as h, ResourceCompanyCardComponent as i, ResourceModule as j, Trial4ContactUsModule as k, ResourcePublicModule as l, ResourceEditModule as m, ResourceEditCardComponent as n };
|
|
1777
|
-
//# sourceMappingURL=posiwise-resource-module-posiwise-resource-module-
|
|
1791
|
+
//# sourceMappingURL=posiwise-resource-module-posiwise-resource-module-BLNGyQxJ.mjs.map
|