@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,41 +1,40 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { ChangeDetectorRef, EventEmitter,
|
|
3
|
-
import * as i1$
|
|
4
|
-
import * as i1 from "@posiwise/resource-contact-us";
|
|
2
|
+
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef, ViewContainerRef } from "@angular/core";
|
|
3
|
+
import * as i1$2 from "@angular/router";
|
|
4
|
+
import * as i1$1 from "@posiwise/resource-contact-us";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i3$1 from "@angular/forms";
|
|
7
|
+
import { FormGroup } from "@angular/forms";
|
|
8
|
+
import * as i4$1 from "@posiwise/pipes";
|
|
9
|
+
import * as i7 from "@posiwise/shared-components";
|
|
10
|
+
import * as i8 from "@posiwise/core-transloco";
|
|
11
|
+
import * as i9$2 from "@jsverse/transloco";
|
|
12
|
+
import * as i10$2 from "@posiwise/directives";
|
|
13
|
+
import * as i9$1 from "primeng/inputtext";
|
|
14
|
+
import * as i10$1 from "primeng/iconfield";
|
|
15
|
+
import * as i11 from "primeng/inputicon";
|
|
16
|
+
import * as i12 from "primeng/textarea";
|
|
17
|
+
import * as i5 from "primeng/paginator";
|
|
18
|
+
import * as i6 from "primeng/select";
|
|
19
|
+
import * as i11$1 from "@angular/cdk/drag-drop";
|
|
20
|
+
import * as i12$1 from "ngx-captcha";
|
|
21
|
+
import { SafeResourceUrl } from "@angular/platform-browser";
|
|
5
22
|
import { AppBaseComponent } from "@posiwise/app-base-component";
|
|
6
23
|
import { Paging, Resource, ResourcePost, User } from "@posiwise/common-utilities";
|
|
7
|
-
import * as i11$2 from "@angular/forms";
|
|
8
|
-
import { FormBuilder, FormGroup } from "@angular/forms";
|
|
9
|
-
import { AuthService, MainApiHttpService, TagService } from "@posiwise/common-services";
|
|
10
|
-
import { CustomUploaderComponent } from "@posiwise/utils";
|
|
11
|
-
import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
|
|
12
|
-
import * as i9 from "@angular/common";
|
|
13
|
-
import * as i12$1 from "@posiwise/pipes";
|
|
14
|
-
import * as i15 from "@posiwise/shared-components";
|
|
15
|
-
import * as i16$1 from "@posiwise/core-transloco";
|
|
16
|
-
import * as i17 from "@jsverse/transloco";
|
|
17
|
-
import * as i18 from "@posiwise/directives";
|
|
18
|
-
import * as i11$1 from "primeng/inputtext";
|
|
19
|
-
import * as i12 from "primeng/iconfield";
|
|
20
|
-
import * as i13 from "primeng/inputicon";
|
|
21
|
-
import * as i14 from "primeng/textarea";
|
|
22
|
-
import { DomSanitizer, SafeResourceUrl } from "@angular/platform-browser";
|
|
23
24
|
import { Observable } from "rxjs";
|
|
24
|
-
import
|
|
25
|
-
import * as i14
|
|
26
|
-
import
|
|
27
|
-
import * as
|
|
28
|
-
import * as
|
|
29
|
-
import * as
|
|
30
|
-
import * as
|
|
31
|
-
import * as i10 from "ngx-quill";
|
|
32
|
-
import * as i11 from "ngx-ui-switch";
|
|
25
|
+
import { TagService } from "@posiwise/common-services";
|
|
26
|
+
import * as i14 from "@posiwise/alpha-module";
|
|
27
|
+
import { CustomUploaderComponent } from "@posiwise/utils";
|
|
28
|
+
import * as i3 from "primeng/datepicker";
|
|
29
|
+
import * as i4 from "primeng/autocomplete";
|
|
30
|
+
import * as i9 from "ngx-quill";
|
|
31
|
+
import * as i10 from "ngx-ui-switch";
|
|
33
32
|
declare namespace resource_public_routing_module_d_exports {
|
|
34
33
|
export { BlogPublicRoutingModule };
|
|
35
34
|
}
|
|
36
35
|
declare class BlogPublicRoutingModule {
|
|
37
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<BlogPublicRoutingModule, never>;
|
|
38
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BlogPublicRoutingModule, never, [typeof i1$
|
|
37
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BlogPublicRoutingModule, never, [typeof i1$2.RouterModule], [typeof i1$2.RouterModule]>;
|
|
39
38
|
static ɵinj: i0.ɵɵInjectorDeclaration<BlogPublicRoutingModule>;
|
|
40
39
|
}
|
|
41
40
|
declare namespace resource_public_module_d_exports {
|
|
@@ -56,127 +55,13 @@ declare namespace resource_contact_us_module_d_exports {
|
|
|
56
55
|
}
|
|
57
56
|
export declare class Trial4ContactUsModule {
|
|
58
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<Trial4ContactUsModule, never>;
|
|
59
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<Trial4ContactUsModule, never, [typeof i1.Trial4SharedContactUsModule], [typeof i1.Trial4SharedContactUsModule]>;
|
|
58
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<Trial4ContactUsModule, never, [typeof i1$1.Trial4SharedContactUsModule], [typeof i1$1.Trial4SharedContactUsModule]>;
|
|
60
59
|
static ɵinj: i0.ɵɵInjectorDeclaration<Trial4ContactUsModule>;
|
|
61
60
|
}
|
|
62
|
-
declare namespace resource_company_card_component_d_exports {
|
|
63
|
-
export { ResourceCompanyCardComponent };
|
|
64
|
-
}
|
|
65
|
-
interface PageEvent {
|
|
66
|
-
first: number;
|
|
67
|
-
rows: number;
|
|
68
|
-
page: number;
|
|
69
|
-
pageCount: number;
|
|
70
|
-
}
|
|
71
|
-
export declare class ResourceCompanyCardComponent extends AppBaseComponent implements OnChanges, OnInit, OnDestroy {
|
|
72
|
-
private readonly cdr;
|
|
73
|
-
getPosts: EventEmitter<ResourcePost[]>;
|
|
74
|
-
private readonly destroy$;
|
|
75
|
-
canEditResourcesValue: boolean;
|
|
76
|
-
header: string;
|
|
77
|
-
data: any[];
|
|
78
|
-
integrationCountDisplay: any;
|
|
79
|
-
vendor: boolean;
|
|
80
|
-
user: User;
|
|
81
|
-
userLoggedIn: boolean;
|
|
82
|
-
postData: boolean;
|
|
83
|
-
filteredData: any[];
|
|
84
|
-
first: number;
|
|
85
|
-
rows: number;
|
|
86
|
-
subscriptionId: string;
|
|
87
|
-
constructor(injector: Injector, cdr: ChangeDetectorRef);
|
|
88
|
-
ngOnChanges(): void;
|
|
89
|
-
ngOnInit(): void;
|
|
90
|
-
search(keywords?: any): void;
|
|
91
|
-
onPageChange(event: PageEvent): void;
|
|
92
|
-
ngOnDestroy(): void;
|
|
93
|
-
private updateCanEditResourcesValue;
|
|
94
|
-
canEditResources(): boolean;
|
|
95
|
-
/** Show no-data when there is integration count but no posts (postData is false, filteredData empty). */
|
|
96
|
-
get showNoPostsMessage(): boolean;
|
|
97
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceCompanyCardComponent, never>;
|
|
98
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceCompanyCardComponent, "pw-resource-company-card", never, {
|
|
99
|
-
"header": {
|
|
100
|
-
"alias": "header";
|
|
101
|
-
"required": false;
|
|
102
|
-
};
|
|
103
|
-
"data": {
|
|
104
|
-
"alias": "data";
|
|
105
|
-
"required": false;
|
|
106
|
-
};
|
|
107
|
-
"integrationCountDisplay": {
|
|
108
|
-
"alias": "integrationCountDisplay";
|
|
109
|
-
"required": false;
|
|
110
|
-
};
|
|
111
|
-
"vendor": {
|
|
112
|
-
"alias": "vendor";
|
|
113
|
-
"required": false;
|
|
114
|
-
};
|
|
115
|
-
"user": {
|
|
116
|
-
"alias": "user";
|
|
117
|
-
"required": false;
|
|
118
|
-
};
|
|
119
|
-
"userLoggedIn": {
|
|
120
|
-
"alias": "userLoggedIn";
|
|
121
|
-
"required": false;
|
|
122
|
-
};
|
|
123
|
-
}, {
|
|
124
|
-
"getPosts": "getPosts";
|
|
125
|
-
}, never, never, false, never>;
|
|
126
|
-
}
|
|
127
|
-
declare namespace resource_top_banner_edit_component_d_exports {
|
|
128
|
-
export { ResourceTopBannerEditComponent };
|
|
129
|
-
}
|
|
130
|
-
export declare class ResourceTopBannerEditComponent extends AppBaseComponent implements OnInit {
|
|
131
|
-
private readonly fb;
|
|
132
|
-
private readonly modalService;
|
|
133
|
-
private readonly tagService;
|
|
134
|
-
private readonly cdr;
|
|
135
|
-
blogPostTag: any;
|
|
136
|
-
user: User;
|
|
137
|
-
userLoggedIn: boolean;
|
|
138
|
-
getUpdatedTag: EventEmitter<any>;
|
|
139
|
-
editModal: TemplateRef<CustomUploaderComponent>;
|
|
140
|
-
imageCropContent: TemplateRef<CustomUploaderComponent>;
|
|
141
|
-
form: FormGroup;
|
|
142
|
-
image: string | null;
|
|
143
|
-
defaultImage: string;
|
|
144
|
-
file: File;
|
|
145
|
-
subscriptionId: string;
|
|
146
|
-
imageModalRef: any;
|
|
147
|
-
buttonBusy: boolean;
|
|
148
|
-
constructor(fb: FormBuilder, modalService: NgbModal, tagService: TagService, cdr: ChangeDetectorRef, injector: Injector);
|
|
149
|
-
ngOnInit(): void;
|
|
150
|
-
openEditModal(): void;
|
|
151
|
-
openImageModal(modalRef: any): void;
|
|
152
|
-
onImageSelected(base64: string): void;
|
|
153
|
-
onClose(): void;
|
|
154
|
-
removeImage(): void;
|
|
155
|
-
handleImageError(event: Event): void;
|
|
156
|
-
save(): void;
|
|
157
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceTopBannerEditComponent, never>;
|
|
158
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceTopBannerEditComponent, "pw-resource-top-banner-edit", never, {
|
|
159
|
-
"blogPostTag": {
|
|
160
|
-
"alias": "blogPostTag";
|
|
161
|
-
"required": false;
|
|
162
|
-
};
|
|
163
|
-
"user": {
|
|
164
|
-
"alias": "user";
|
|
165
|
-
"required": false;
|
|
166
|
-
};
|
|
167
|
-
"userLoggedIn": {
|
|
168
|
-
"alias": "userLoggedIn";
|
|
169
|
-
"required": false;
|
|
170
|
-
};
|
|
171
|
-
}, {
|
|
172
|
-
"getUpdatedTag": "getUpdatedTag";
|
|
173
|
-
}, never, never, false, never>;
|
|
174
|
-
}
|
|
175
61
|
export declare class ResourceService {
|
|
176
62
|
private readonly api;
|
|
177
63
|
private readonly resource;
|
|
178
64
|
private readonly comments;
|
|
179
|
-
constructor(api: MainApiHttpService);
|
|
180
65
|
getPublicPosts(master_subscription_id: any, page: number, pageSize: number, search: string, tagCategoryIds?: string, tagIds?: string, extraParams?: Record<string, string | number>): import("rxjs").Observable<any>;
|
|
181
66
|
getAdminPosts(subscriptionId: any, paging?: Paging): import("rxjs").Observable<any>;
|
|
182
67
|
addPost(post: any): import("rxjs").Observable<any>;
|
|
@@ -227,6 +112,8 @@ declare class ResourcePager<T> {
|
|
|
227
112
|
items: T[];
|
|
228
113
|
isLoaded: boolean;
|
|
229
114
|
isLoadingMore: boolean;
|
|
115
|
+
/** The last request failed; cleared by the next load that succeeds. */
|
|
116
|
+
hasError: boolean;
|
|
230
117
|
private page;
|
|
231
118
|
private fetched;
|
|
232
119
|
private total;
|
|
@@ -235,6 +122,8 @@ declare class ResourcePager<T> {
|
|
|
235
122
|
/** A pager over the public `/posts` list, newest-published first. */
|
|
236
123
|
static forPublicPosts(service: ResourceService, query: () => PublicPostsQuery, onChange: () => void, keep: (post: PublicPost) => boolean, pageSize?: number): ResourcePager<PublicPost>;
|
|
237
124
|
get hasMore(): boolean;
|
|
125
|
+
/** Posts the server matched, including those not loaded yet. */
|
|
126
|
+
get totalCount(): number;
|
|
238
127
|
/** Clears the list and loads the first posts. */
|
|
239
128
|
reset(): void;
|
|
240
129
|
/** Appends the next posts; ignored while a load is in flight or nothing is left. */
|
|
@@ -276,7 +165,6 @@ export declare class ResourceVideoCardComponent extends AppBaseComponent impleme
|
|
|
276
165
|
isEditingTitle: boolean;
|
|
277
166
|
editedTitle: string;
|
|
278
167
|
isMasterSubscription: any;
|
|
279
|
-
constructor(sanitizer: DomSanitizer, resourceService: ResourceService, tagService: TagService, cdr: ChangeDetectorRef, injector: Injector);
|
|
280
168
|
ngOnInit(): void;
|
|
281
169
|
ngOnChanges(changes: SimpleChanges): void;
|
|
282
170
|
loadVideo(post: any): void;
|
|
@@ -321,7 +209,7 @@ export declare class ResourceVideoCardComponent extends AppBaseComponent impleme
|
|
|
321
209
|
"alias": "userLoggedIn";
|
|
322
210
|
"required": false;
|
|
323
211
|
};
|
|
324
|
-
}, {}, never, never,
|
|
212
|
+
}, {}, never, never, true, never>;
|
|
325
213
|
}
|
|
326
214
|
declare namespace upcoming_event_cards_component_d_exports {
|
|
327
215
|
export { UpcomingEventCardComponent };
|
|
@@ -349,7 +237,6 @@ export declare class UpcomingEventCardComponent extends AppBaseComponent impleme
|
|
|
349
237
|
pager: ResourcePager<PublicPost>;
|
|
350
238
|
blogPostTag: any;
|
|
351
239
|
isMasterSubscription: any;
|
|
352
|
-
constructor(resourceService: ResourceService, tagService: TagService, cdr: ChangeDetectorRef, injector: Injector);
|
|
353
240
|
ngOnInit(): void;
|
|
354
241
|
ngOnChanges(changes: SimpleChanges): void;
|
|
355
242
|
private getPostTags;
|
|
@@ -396,7 +283,7 @@ export declare class UpcomingEventCardComponent extends AppBaseComponent impleme
|
|
|
396
283
|
"alias": "userLoggedIn";
|
|
397
284
|
"required": false;
|
|
398
285
|
};
|
|
399
|
-
}, {}, never, never,
|
|
286
|
+
}, {}, never, never, true, never>;
|
|
400
287
|
}
|
|
401
288
|
declare namespace replay_event_cards_component_d_exports {
|
|
402
289
|
export { ReplayEventCardComponent };
|
|
@@ -419,7 +306,6 @@ declare class ReplayEventCardComponent extends AppBaseComponent implements OnIni
|
|
|
419
306
|
pager: ResourcePager<PublicPost>;
|
|
420
307
|
blogPostTag: any;
|
|
421
308
|
isMasterSubscription: any;
|
|
422
|
-
constructor(resourceService: ResourceService, tagService: TagService, cdr: ChangeDetectorRef, injector: Injector);
|
|
423
309
|
ngOnInit(): void;
|
|
424
310
|
ngOnChanges(changes: SimpleChanges): void;
|
|
425
311
|
private getPostTags;
|
|
@@ -452,7 +338,7 @@ declare class ReplayEventCardComponent extends AppBaseComponent implements OnIni
|
|
|
452
338
|
"alias": "userLoggedIn";
|
|
453
339
|
"required": false;
|
|
454
340
|
};
|
|
455
|
-
}, {}, never, never,
|
|
341
|
+
}, {}, never, never, true, never>;
|
|
456
342
|
}
|
|
457
343
|
declare namespace resource_cards_component_d_exports {
|
|
458
344
|
export { ResourceCardComponent };
|
|
@@ -479,7 +365,6 @@ export declare class ResourceCardComponent extends AppBaseComponent implements O
|
|
|
479
365
|
editedTitle: string;
|
|
480
366
|
isMasterSubscription: any;
|
|
481
367
|
canEditResourcesValue: boolean;
|
|
482
|
-
constructor(injector: Injector, resourceService: ResourceService, tagService: TagService, cdr: ChangeDetectorRef);
|
|
483
368
|
ngOnInit(): void;
|
|
484
369
|
ngOnChanges(changes: SimpleChanges): void;
|
|
485
370
|
get posts(): Resource[];
|
|
@@ -536,7 +421,7 @@ export declare class ResourceCardComponent extends AppBaseComponent implements O
|
|
|
536
421
|
"alias": "userLoggedIn";
|
|
537
422
|
"required": false;
|
|
538
423
|
};
|
|
539
|
-
}, {}, never, never,
|
|
424
|
+
}, {}, never, never, true, never>;
|
|
540
425
|
}
|
|
541
426
|
declare namespace case_studies_cards_component_d_exports {
|
|
542
427
|
export { CaseStudyCardComponent };
|
|
@@ -564,7 +449,6 @@ export declare class CaseStudyCardComponent extends AppBaseComponent implements
|
|
|
564
449
|
isMasterSubscription: any;
|
|
565
450
|
isEditingTitle: boolean;
|
|
566
451
|
editedTitle: string;
|
|
567
|
-
constructor(injector: Injector, resourceService: ResourceService, tagService: TagService, cdr: ChangeDetectorRef);
|
|
568
452
|
ngOnInit(): void;
|
|
569
453
|
ngOnChanges(changes: SimpleChanges): void;
|
|
570
454
|
loadPosts(): void;
|
|
@@ -606,7 +490,7 @@ export declare class CaseStudyCardComponent extends AppBaseComponent implements
|
|
|
606
490
|
"alias": "userLoggedIn";
|
|
607
491
|
"required": false;
|
|
608
492
|
};
|
|
609
|
-
}, {}, never, never,
|
|
493
|
+
}, {}, never, never, true, never>;
|
|
610
494
|
}
|
|
611
495
|
declare namespace release_note_card_component_d_exports {
|
|
612
496
|
export { ResourceNoteCardComponent };
|
|
@@ -648,7 +532,6 @@ export declare class ResourceNoteCardComponent extends AppBaseComponent implemen
|
|
|
648
532
|
isPressEditingTitle: boolean;
|
|
649
533
|
editedTitle: string;
|
|
650
534
|
isMasterSubscription: any;
|
|
651
|
-
constructor(injector: Injector, resourceService: ResourceService, tagService: TagService, cdr: ChangeDetectorRef);
|
|
652
535
|
ngOnInit(): void;
|
|
653
536
|
ngOnChanges(changes: SimpleChanges): void;
|
|
654
537
|
private getTags;
|
|
@@ -703,7 +586,7 @@ export declare class ResourceNoteCardComponent extends AppBaseComponent implemen
|
|
|
703
586
|
"alias": "userLoggedIn";
|
|
704
587
|
"required": false;
|
|
705
588
|
};
|
|
706
|
-
}, {}, never, never,
|
|
589
|
+
}, {}, never, never, true, never>;
|
|
707
590
|
}
|
|
708
591
|
declare abstract class BaseResourceComponent extends AppBaseComponent implements OnInit {
|
|
709
592
|
protected readonly resourceService: ResourceService;
|
|
@@ -722,7 +605,6 @@ declare abstract class BaseResourceComponent extends AppBaseComponent implements
|
|
|
722
605
|
user: User;
|
|
723
606
|
isMasterSubscription: any;
|
|
724
607
|
canEditResourcesValue: boolean;
|
|
725
|
-
constructor(resourceService: ResourceService, tagService: TagService, authService: AuthService, cdr: ChangeDetectorRef, injector: Injector);
|
|
726
608
|
ngOnInit(): void;
|
|
727
609
|
protected initializeComponent(): void;
|
|
728
610
|
protected getTags(): void;
|
|
@@ -741,7 +623,7 @@ declare abstract class BaseResourceComponent extends AppBaseComponent implements
|
|
|
741
623
|
private updateCanEditResourcesValue;
|
|
742
624
|
canEditResources(): boolean;
|
|
743
625
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseResourceComponent, never>;
|
|
744
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseResourceComponent, "ng-component", never, {}, {}, never, never,
|
|
626
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseResourceComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
745
627
|
}
|
|
746
628
|
declare namespace resource_vault_component_d_exports {
|
|
747
629
|
export { ResourceVaultComponent };
|
|
@@ -759,7 +641,6 @@ export declare class ResourceVaultComponent extends BaseResourceComponent implem
|
|
|
759
641
|
private announcedPager;
|
|
760
642
|
isEditingTitle: boolean;
|
|
761
643
|
editedTitle: string;
|
|
762
|
-
constructor(resourceService: ResourceService, tagService: TagService, authService: AuthService, cdr: ChangeDetectorRef, injector: Injector);
|
|
763
644
|
ngOnInit(): void;
|
|
764
645
|
protected getResourceType(): string;
|
|
765
646
|
protected getPosts(): void;
|
|
@@ -791,7 +672,7 @@ export declare class ResourceVaultComponent extends BaseResourceComponent implem
|
|
|
791
672
|
};
|
|
792
673
|
}, {
|
|
793
674
|
"isLoadedChange": "isLoadedChange";
|
|
794
|
-
}, never, never,
|
|
675
|
+
}, never, never, true, never>;
|
|
795
676
|
}
|
|
796
677
|
declare namespace resource_edit_card_lazy_component_d_exports {
|
|
797
678
|
export { ResourceEditCardLazyComponent };
|
|
@@ -808,7 +689,6 @@ export declare class ResourceEditCardLazyComponent implements OnChanges, OnDestr
|
|
|
808
689
|
updated: EventEmitter<void>;
|
|
809
690
|
private componentRef;
|
|
810
691
|
private loading;
|
|
811
|
-
constructor(cdr: ChangeDetectorRef);
|
|
812
692
|
ngOnChanges(changes: SimpleChanges): Promise<void>;
|
|
813
693
|
private loadEditCard;
|
|
814
694
|
ngOnDestroy(): void;
|
|
@@ -828,7 +708,7 @@ export declare class ResourceEditCardLazyComponent implements OnChanges, OnDestr
|
|
|
828
708
|
};
|
|
829
709
|
}, {
|
|
830
710
|
"updated": "updated";
|
|
831
|
-
}, never, never,
|
|
711
|
+
}, never, never, true, never>;
|
|
832
712
|
}
|
|
833
713
|
declare namespace resource_cards_module_d_exports {
|
|
834
714
|
export { ResourceCardsModule };
|
|
@@ -841,12 +721,123 @@ declare namespace resource_cards_module_d_exports {
|
|
|
841
721
|
*/
|
|
842
722
|
export declare class ResourceCardsModule {
|
|
843
723
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceCardsModule, never>;
|
|
844
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ResourceCardsModule, [typeof
|
|
724
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ResourceCardsModule, never, [typeof i1.CommonModule, typeof i1$2.RouterModule, typeof i3$1.FormsModule, typeof i3$1.ReactiveFormsModule, typeof i4$1.PipesModule, typeof i5.PaginatorModule, typeof i6.SelectModule, typeof i7.ResourceSharedComponentsModule, typeof i8.CoreTranslocoModule, typeof i9$2.TranslocoModule, typeof i10$2.DirectivesModule, typeof i11$1.DragDropModule, typeof i12$1.NgxCaptchaModule, typeof Trial4ContactUsModule, typeof ResourceVideoCardComponent, typeof UpcomingEventCardComponent, typeof ReplayEventCardComponent, typeof ResourceCardComponent, typeof CaseStudyCardComponent, typeof ResourceNoteCardComponent, typeof ResourceVaultComponent, typeof ResourceEditCardLazyComponent], [typeof ResourceVideoCardComponent, typeof UpcomingEventCardComponent, typeof ResourceCardComponent, typeof CaseStudyCardComponent, typeof ResourceNoteCardComponent, typeof ResourceVaultComponent, typeof Trial4ContactUsModule, typeof ResourceEditCardLazyComponent, typeof i5.PaginatorModule]>;
|
|
845
725
|
static ɵinj: i0.ɵɵInjectorDeclaration<ResourceCardsModule>;
|
|
846
726
|
}
|
|
727
|
+
declare namespace resource_company_card_component_d_exports {
|
|
728
|
+
export { ResourceCompanyCardComponent };
|
|
729
|
+
}
|
|
730
|
+
interface PageEvent {
|
|
731
|
+
first: number;
|
|
732
|
+
rows: number;
|
|
733
|
+
page: number;
|
|
734
|
+
pageCount: number;
|
|
735
|
+
}
|
|
736
|
+
export declare class ResourceCompanyCardComponent extends AppBaseComponent implements OnChanges, OnInit, OnDestroy {
|
|
737
|
+
private readonly cdr;
|
|
738
|
+
getPosts: EventEmitter<ResourcePost[]>;
|
|
739
|
+
private readonly destroy$;
|
|
740
|
+
canEditResourcesValue: boolean;
|
|
741
|
+
header: string;
|
|
742
|
+
data: any[];
|
|
743
|
+
integrationCountDisplay: any;
|
|
744
|
+
vendor: boolean;
|
|
745
|
+
user: User;
|
|
746
|
+
userLoggedIn: boolean;
|
|
747
|
+
postData: boolean;
|
|
748
|
+
filteredData: any[];
|
|
749
|
+
first: number;
|
|
750
|
+
rows: number;
|
|
751
|
+
subscriptionId: string;
|
|
752
|
+
ngOnChanges(): void;
|
|
753
|
+
ngOnInit(): void;
|
|
754
|
+
search(keywords?: any): void;
|
|
755
|
+
onPageChange(event: PageEvent): void;
|
|
756
|
+
ngOnDestroy(): void;
|
|
757
|
+
private updateCanEditResourcesValue;
|
|
758
|
+
canEditResources(): boolean;
|
|
759
|
+
/** Show no-data when there is integration count but no posts (postData is false, filteredData empty). */
|
|
760
|
+
get showNoPostsMessage(): boolean;
|
|
761
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceCompanyCardComponent, never>;
|
|
762
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceCompanyCardComponent, "pw-resource-company-card", never, {
|
|
763
|
+
"header": {
|
|
764
|
+
"alias": "header";
|
|
765
|
+
"required": false;
|
|
766
|
+
};
|
|
767
|
+
"data": {
|
|
768
|
+
"alias": "data";
|
|
769
|
+
"required": false;
|
|
770
|
+
};
|
|
771
|
+
"integrationCountDisplay": {
|
|
772
|
+
"alias": "integrationCountDisplay";
|
|
773
|
+
"required": false;
|
|
774
|
+
};
|
|
775
|
+
"vendor": {
|
|
776
|
+
"alias": "vendor";
|
|
777
|
+
"required": false;
|
|
778
|
+
};
|
|
779
|
+
"user": {
|
|
780
|
+
"alias": "user";
|
|
781
|
+
"required": false;
|
|
782
|
+
};
|
|
783
|
+
"userLoggedIn": {
|
|
784
|
+
"alias": "userLoggedIn";
|
|
785
|
+
"required": false;
|
|
786
|
+
};
|
|
787
|
+
}, {
|
|
788
|
+
"getPosts": "getPosts";
|
|
789
|
+
}, never, never, true, never>;
|
|
790
|
+
}
|
|
791
|
+
declare namespace resource_top_banner_edit_component_d_exports {
|
|
792
|
+
export { ResourceTopBannerEditComponent };
|
|
793
|
+
}
|
|
794
|
+
export declare class ResourceTopBannerEditComponent extends AppBaseComponent implements OnInit {
|
|
795
|
+
private readonly fb;
|
|
796
|
+
private readonly modalService;
|
|
797
|
+
private readonly tagService;
|
|
798
|
+
private readonly cdr;
|
|
799
|
+
blogPostTag: any;
|
|
800
|
+
user: User;
|
|
801
|
+
userLoggedIn: boolean;
|
|
802
|
+
getUpdatedTag: EventEmitter<any>;
|
|
803
|
+
editModal: TemplateRef<CustomUploaderComponent>;
|
|
804
|
+
imageCropContent: TemplateRef<CustomUploaderComponent>;
|
|
805
|
+
form: FormGroup;
|
|
806
|
+
image: string | null;
|
|
807
|
+
defaultImage: string;
|
|
808
|
+
file: File;
|
|
809
|
+
subscriptionId: string;
|
|
810
|
+
imageModalRef: any;
|
|
811
|
+
buttonBusy: boolean;
|
|
812
|
+
ngOnInit(): void;
|
|
813
|
+
openEditModal(): void;
|
|
814
|
+
openImageModal(modalRef: any): void;
|
|
815
|
+
onImageSelected(base64: string): void;
|
|
816
|
+
onClose(): void;
|
|
817
|
+
removeImage(): void;
|
|
818
|
+
handleImageError(event: Event): void;
|
|
819
|
+
save(): void;
|
|
820
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceTopBannerEditComponent, never>;
|
|
821
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceTopBannerEditComponent, "pw-resource-top-banner-edit", never, {
|
|
822
|
+
"blogPostTag": {
|
|
823
|
+
"alias": "blogPostTag";
|
|
824
|
+
"required": false;
|
|
825
|
+
};
|
|
826
|
+
"user": {
|
|
827
|
+
"alias": "user";
|
|
828
|
+
"required": false;
|
|
829
|
+
};
|
|
830
|
+
"userLoggedIn": {
|
|
831
|
+
"alias": "userLoggedIn";
|
|
832
|
+
"required": false;
|
|
833
|
+
};
|
|
834
|
+
}, {
|
|
835
|
+
"getUpdatedTag": "getUpdatedTag";
|
|
836
|
+
}, never, never, true, never>;
|
|
837
|
+
}
|
|
847
838
|
export declare class ResourceSharedModule {
|
|
848
839
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceSharedModule, never>;
|
|
849
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ResourceSharedModule,
|
|
840
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ResourceSharedModule, never, [typeof i1.CommonModule, typeof i1$2.RouterModule, typeof i3$1.FormsModule, typeof i3$1.ReactiveFormsModule, typeof i4$1.PipesModule, typeof i7.ResourceSharedComponentsModule, typeof i8.CoreTranslocoModule, typeof i9$2.TranslocoModule, typeof i10$2.DirectivesModule, typeof i9$1.InputTextModule, typeof i10$1.IconFieldModule, typeof i11.InputIconModule, typeof i12.TextareaModule, typeof ResourceCardsModule, typeof i14.HubSpotMeetingsSharedModule, typeof ResourceCompanyCardComponent, typeof ResourceTopBannerEditComponent], [typeof ResourceCompanyCardComponent, typeof ResourceTopBannerEditComponent, typeof ResourceCardsModule, typeof i14.HubSpotMeetingsSharedModule, typeof i1.CommonModule, typeof i1$2.RouterModule, typeof i3$1.FormsModule, typeof i3$1.ReactiveFormsModule, typeof i4$1.PipesModule, typeof i7.ResourceSharedComponentsModule, typeof i8.CoreTranslocoModule, typeof i9$2.TranslocoModule, typeof i10$2.DirectivesModule, typeof i9$1.InputTextModule, typeof i10$1.IconFieldModule, typeof i11.InputIconModule, typeof i12.TextareaModule]>;
|
|
850
841
|
static ɵinj: i0.ɵɵInjectorDeclaration<ResourceSharedModule>;
|
|
851
842
|
}
|
|
852
843
|
declare namespace resource_edit_card_component_d_exports {
|
|
@@ -874,7 +865,7 @@ export declare class ResourceEditCardComponent extends AppBaseComponent implemen
|
|
|
874
865
|
subscriptionId: number;
|
|
875
866
|
userLoggedIn: boolean;
|
|
876
867
|
buttonBusy: boolean;
|
|
877
|
-
constructor(
|
|
868
|
+
constructor();
|
|
878
869
|
ngOnInit(): void;
|
|
879
870
|
navigateToResourceEdit(): void;
|
|
880
871
|
openModal(modalTemplate: any): void;
|
|
@@ -907,7 +898,7 @@ export declare class ResourceEditCardComponent extends AppBaseComponent implemen
|
|
|
907
898
|
};
|
|
908
899
|
}, {
|
|
909
900
|
"updated": "updated";
|
|
910
|
-
}, never, never,
|
|
901
|
+
}, never, never, true, never>;
|
|
911
902
|
}
|
|
912
903
|
/**
|
|
913
904
|
* Lazy-loadable module for ResourceEditCard
|
|
@@ -916,7 +907,7 @@ export declare class ResourceEditCardComponent extends AppBaseComponent implemen
|
|
|
916
907
|
*/
|
|
917
908
|
export declare class ResourceEditModule {
|
|
918
909
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceEditModule, never>;
|
|
919
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ResourceEditModule,
|
|
910
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ResourceEditModule, never, [typeof i1.CommonModule, typeof i3$1.FormsModule, typeof i3$1.ReactiveFormsModule, typeof i3.DatePickerModule, typeof i4.AutoCompleteModule, typeof i7.ResourceSharedComponentsModule, typeof i8.CoreTranslocoModule, typeof i9$2.TranslocoModule, typeof i10$2.DirectivesModule, typeof i9.QuillModule, typeof i10.UiSwitchModule, typeof ResourceEditCardComponent], [typeof ResourceEditCardComponent]>;
|
|
920
911
|
static ɵinj: i0.ɵɵInjectorDeclaration<ResourceEditModule>;
|
|
921
912
|
}
|
|
922
913
|
export interface ResourceModalContext {
|
|
@@ -949,5 +940,5 @@ export declare class TestimonialCardListComponent implements OnChanges {
|
|
|
949
940
|
};
|
|
950
941
|
}, {
|
|
951
942
|
"editPost": "editPost";
|
|
952
|
-
}, never, never,
|
|
943
|
+
}, never, never, true, never>;
|
|
953
944
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"posiwise-resource-module-base-top-banner.component-CrdBpNSj.mjs","names":["i1.ResourceService"],"sources":["../../../../libs/resource-module/src/lib/public/components/base/base-top-banner.component.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Injector,\n OnInit\n} from '@angular/core';\nimport { Title } from '@angular/platform-browser';\n\nimport { AppBaseComponent } from '@posiwise/app-base-component';\nimport { AuthService, TagService } from '@posiwise/common-services';\nimport { Resource, User } from '@posiwise/common-utilities';\nimport { HelperService } from '@posiwise/helper-service';\n\nimport { forkJoin } from 'rxjs';\n\nimport { ResourceService } from '../../../resource.service';\n\n@Component({\n template: '',\n\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false\n})\nexport abstract class BaseTopBannerComponent extends AppBaseComponent implements OnInit {\n subscriptionId: number;\n masterSubscriptionId = this.appConfig.master_subscription.subscription_id;\n posts: Resource[] = [];\n testimonialsPosts = [];\n userLoggedIn: boolean;\n blogPostTag;\n tagCategory;\n blogTestimonialsPostTag;\n isLoaded = false;\n user: User;\n isMasterSubscription;\n\n canEditResourcesValue = false;\n\n constructor(\n protected readonly resourceService: ResourceService,\n protected readonly tagService: TagService,\n private readonly authService: AuthService,\n private readonly titleService: Title,\n protected readonly cdr: ChangeDetectorRef,\n injector: Injector\n ) {\n super(injector);\n }\n\n ngOnInit() {\n this.getUserSubscriptionId().subscribe(response => {\n this.subscriptionId = response;\n this.cdr.markForCheck();\n });\n this.authService.getToken$().subscribe(res => {\n this.userLoggedIn = !!res;\n if (this.userLoggedIn) {\n this.localStorage.getItem$('product').subscribe(res => {\n const data = res ? JSON.parse(res) : null;\n this.subscriptionId = data?.subscriptionId;\n this.cdr.markForCheck();\n });\n this.userService.getUserInfo().subscribe(data => {\n this.user = data;\n this.updateCanEditResourcesValue();\n this.getTags();\n this.cdr.markForCheck();\n });\n } else {\n this.getTags();\n }\n this.cdr.markForCheck();\n });\n }\n\n protected getTags() {\n this.isLoaded = false;\n forkJoin({\n categories: this.tagService.getAllTagCategories(\n { search: this.getSearchTerm() },\n this.getEffectiveSubscriptionId()\n ),\n tags: this.tagService.getTagsByType(\n 'post_categories',\n {},\n this.getEffectiveSubscriptionId()\n )\n })\n .subscribe(({ categories, tags }) => {\n this.tagCategory = categories?.tag_categories?.[0];\n this.blogPostTag = tags.tags.find(\n tag => tag.tag_category_id === this.tagCategory?.id\n );\n this.updateSEOMetadata();\n this.cdr.markForCheck();\n })\n .add(() => {\n this.isLoaded = true;\n this.cdr.markForCheck();\n });\n }\n\n /** Helper method to get effective subscription ID */\n protected getEffectiveSubscriptionId(): number {\n return HelperService.getEffectiveSubscriptionId(\n this.user,\n this.subscriptionId,\n this.masterSubscriptionId\n );\n }\n\n protected updateSEOMetadata() {\n if (this.blogPostTag) {\n // Update page title if meta_title is available\n if (this.blogPostTag.meta_title) {\n this.titleService.setTitle(this.blogPostTag.meta_title);\n }\n\n // Update meta description if meta_description is available\n if (this.blogPostTag.meta_description) {\n this.updateMetaDescription(this.blogPostTag.meta_description);\n }\n }\n }\n\n private updateMetaDescription(description: string) {\n let metaDescription = document.querySelector('meta[name=\"description\"]');\n if (!metaDescription) {\n metaDescription = document.createElement('meta');\n metaDescription.setAttribute('name', 'description');\n document.head.appendChild(metaDescription);\n }\n metaDescription.setAttribute('content', description);\n }\n\n // Abstract method that each component must implement\n protected abstract getSearchTerm(): string;\n\n private updateCanEditResourcesValue(): void {\n if (this.userLoggedIn && this.user) {\n this.canEditResourcesValue = HelperService.canEditResources(\n this.user,\n this.userLoggedIn,\n this.permissionService\n );\n } else {\n this.canEditResourcesValue = false;\n }\n }\n\n canEditResources(): boolean {\n return this.canEditResourcesValue;\n }\n}\n"],"mappings":";;;;;;;;AAwBA,IAAsB,yBAAtB,MAAsB,+BAA+B,iBAAgB;CAejE,YACuB,iBACA,YACF,aACA,cACE,KACnB,UAAkB;EAElB,MAAM,QAAQ;EAPK,KAAA,kBAAA;EACA,KAAA,aAAA;EACF,KAAA,cAAA;EACA,KAAA,eAAA;EACE,KAAA,MAAA;EAlBvB,KAAA,uBAAuB,KAAK,UAAU,oBAAoB;EAC1D,KAAA,QAAoB,CAAA;EACpB,KAAA,oBAAoB,CAAA;EAKpB,KAAA,WAAW;EAIX,KAAA,wBAAwB;CAWxB;CAEA,WAAQ;EACJ,KAAK,sBAAqB,CAAE,CAAC,WAAU,aAAW;GAC9C,KAAK,iBAAiB;GACtB,KAAK,IAAI,aAAY;EACzB,CAAC;EACD,KAAK,YAAY,UAAS,CAAE,CAAC,WAAU,QAAM;GACzC,KAAK,eAAe,CAAC,CAAC;GACtB,IAAI,KAAK,cAAc;IACnB,KAAK,aAAa,SAAS,SAAS,CAAC,CAAC,WAAU,QAAM;KAClD,MAAM,OAAO,MAAM,KAAK,MAAM,GAAG,IAAI;KACrC,KAAK,iBAAiB,MAAM;KAC5B,KAAK,IAAI,aAAY;IACzB,CAAC;IACD,KAAK,YAAY,YAAW,CAAE,CAAC,WAAU,SAAO;KAC5C,KAAK,OAAO;KACZ,KAAK,4BAA2B;KAChC,KAAK,QAAO;KACZ,KAAK,IAAI,aAAY;IACzB,CAAC;GACL,OACI,KAAK,QAAO;GAEhB,KAAK,IAAI,aAAY;EACzB,CAAC;CACL;CAEU,UAAO;EACb,KAAK,WAAW;EAChB,SAAS;GACL,YAAY,KAAK,WAAW,oBACxB,EAAE,QAAQ,KAAK,cAAa,EAAE,GAC9B,KAAK,2BAA0B,CAAE;GAErC,MAAM,KAAK,WAAW,cAClB,mBACA,CAAA,GACA,KAAK,2BAA0B,CA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A,EAAA,OAAA,GAAA,SAAA;GAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAtB;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAAsB,cAAA;GAAA,UAAA;GAAA,iBAAA;GAAA,UAAA;GAAA,UAL9B;GAAE,UAAA;GAAA,iBAAA,GAAA,wBAAA;EAAA,CAAA;CAAA;;AAKM,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAsB,YAAA,CAAA;EAN3C,MAAA;EAAU,MAAA,CAAA;GACP,UAAU;GAEV,iBAAiB,wBAAwB;GACzC,YAAY;EACf,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"posiwise-resource-module-resource-blogs.module-hxktrj98.mjs","names":["i1.ResourceService","i4.ResourceTopBannerEditComponent","i5","i1.ResourceService","i3.ResourceCardComponent","i6.ResourceBlogTopBannerComponent"],"sources":["../../../../libs/resource-module/src/lib/public/components/resource-blogs/resource-blog-top-banner/resource-blog-top-banner.component.ts","../../../../libs/resource-module/src/lib/public/components/resource-blogs/resource-blog-top-banner/resource-blog-top-banner.component.html","../../../../libs/resource-module/src/lib/public/components/resource-blogs/resource-blog.component.ts","../../../../libs/resource-module/src/lib/public/components/resource-blogs/resource-blog.component.html","../../../../libs/resource-module/src/lib/public/modules/blogs/resource-blogs.module.ts"],"sourcesContent":["import { ChangeDetectionStrategy,\n ChangeDetectorRef, Component, Injector } from '@angular/core';\nimport { Title } from '@angular/platform-browser';\n\nimport { AuthService, TagService } from '@posiwise/common-services';\n\nimport { ResourceService } from '../../../../resource.service';\nimport { BaseTopBannerComponent } from '../../base/base-top-banner.component';\n\n@Component({\n selector: 'pw-resource-blog-top-banner',\n templateUrl: './resource-blog-top-banner.component.html',\n styleUrls: [\n '../../resource-case-studies/resource-case-studies.component.scss',\n './resource-blog-top-banner.component.scss',\n '../../resources/resources-shared.component.scss',\n '../../resource-post/related-resources/related-resources.component.scss'\n ],\n\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false\n})\nexport class ResourceBlogTopBannerComponent extends BaseTopBannerComponent {\n contactUsUrl = this.appConfig?.pages_config?.contact_us?.url;\n\n constructor(\n resourceService: ResourceService,\n tagService: TagService,\n authService: AuthService,\n titleService: Title,\n cdr: ChangeDetectorRef,\n injector: Injector\n ) {\n super(resourceService, tagService, authService, titleService, cdr, injector);\n }\n\n protected getSearchTerm(): string {\n return 'Blog Posts';\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 || 'Blogs'\"></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 </h1>\n </div>\n </div>\n <!-- Add directly below .text-content, still inside .container -->\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 Here, we share our insights, learnings & the occasional meme.\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/service-provider-man.png'\"\n alt=\"Blogs banner\"\n width=\"600\"\n height=\"450\"\n loading=\"eager\"\n fetchpriority=\"high\" />\n </div>\n </div>\n }\n </div>\n</section>\n","import { ChangeDetectionStrategy,\n ChangeDetectorRef, Component, Injector } from '@angular/core';\n\nimport { AuthService, TagService } from '@posiwise/common-services';\n\nimport { ResourceService } from '../../../resource.service';\nimport { BaseResourceComponent } from '../base/base-resource.component';\n\n@Component({\n selector: 'pw-resource-blog',\n templateUrl: './resource-blog.component.html',\n styleUrls: [\n '../resources/resources-shared.component.scss',\n '../resource-post/related-resources/related-resources.component.scss'\n ],\n\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false\n})\nexport class ResourceBlogComponent extends BaseResourceComponent {\n constructor(\n resourceService: ResourceService,\n tagService: TagService,\n authService: AuthService,\n cdr: ChangeDetectorRef,\n injector: Injector\n ) {\n super(resourceService, tagService, authService, cdr, injector);\n }\n\n protected getResourceType(): string {\n return 'Blog Posts';\n }\n}\n","<pw-resource-header [user]=\"user\" [userLoggedIn]=\"userLoggedIn\"></pw-resource-header>\n\n<pw-resource-blog-top-banner />\n\n@if (blogPostTag?.tag_category_id) {\n <pw-resource-cards [tag]=\"blogPostTag\" [categoryId]=\"blogPostTag?.tag_category_id\" [resourceTitle]=\"blogPostTag?.title\" [isHeaderVisible]=\"false\" resourceLink=\"/resources/blogs\" [postSlice]=\"true\" [user]=\"user\" [userLoggedIn]=\"userLoggedIn\"></pw-resource-cards>\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 { ResourceBlogComponent } from '../../components/resource-blogs/resource-blog.component';\nimport { ResourceBlogTopBannerComponent } from '../../components/resource-blogs/resource-blog-top-banner/resource-blog-top-banner.component';\nimport { ResourceSharedModule } from '../../shared/resource-shared.module';\n\nconst routes: Routes = [\n {\n path: '',\n component: ResourceBlogComponent,\n data: {\n title: 'Resources - Blogs',\n permission: 'Pages.Blog',\n preload: false\n }\n }\n];\n\n@NgModule({\n declarations: [ResourceBlogComponent, ResourceBlogTopBannerComponent],\n imports: [ResourceSharedModule, RouterModule.forChild(routes)]\n})\nexport class ResourceBlogsModule {}\n"],"mappings":";;;;;;;;;;;;;AAsBA,IAAa,iCAAb,MAAa,uCAAuC,uBAAsB;CAGtE,YACI,iBACA,YACA,aACA,cACA,KACA,UAAkB;EAElB,MAAM,iBAAiB,YAAY,aAAa,cAAc,KAAK,QAAQ;EAV/E,KAAA,eAAe,KAAK,WAAW,cAAc,YAAY;CAWzD;CAEU,gBAAa;EACnB,OAAO;CACX;CAhBS;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAA8B,MAAA;IAAA,EAAA,OAAAA,gBAAA;IAAA,EAAA,OAAA,GAAA,WAAA;IAAA,EAAA,OAAA,GAAA,YAAA;IAAA,EAAA,OAAA,GAAA,MAAA;IAAA,EAAA,OAAA,GAAA,kBAAA;IAAA,EAAA,OAAA,GAAA,SAAA;GAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAA9B;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAA8B,cAAA;GAAA,UAAA;GAAA,iBAAA;GAAA,UAAA;GAAA,UCtB3C;GAuDA,QAAA;IAAA;IAAA;IAAA;IAAA;GAAA;GAAA,cAAA,CAAA;IAAA,MAAA;IAAA,MAAAC;IAAA,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;IAAA;IAAA,SAAA,CAAA,eAAA;G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