@posiwise/resource-module 0.0.200 → 0.0.202
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/{posiwise-resource-module-base-top-banner.component-db9D53MI.mjs → posiwise-resource-module-base-top-banner.component-CrdBpNSj.mjs} +5 -5
- package/fesm2022/{posiwise-resource-module-base-top-banner.component-db9D53MI.mjs.map → posiwise-resource-module-base-top-banner.component-CrdBpNSj.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-blogs.module-C7DtGCXR.mjs → posiwise-resource-module-resource-blogs.module-hxktrj98.mjs} +14 -14
- package/fesm2022/{posiwise-resource-module-resource-blogs.module-C7DtGCXR.mjs.map → posiwise-resource-module-resource-blogs.module-hxktrj98.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-cards.module-mbvmvJpV.mjs → posiwise-resource-module-resource-cards.module-D3yf7FNt.mjs} +37 -37
- package/fesm2022/{posiwise-resource-module-resource-cards.module-mbvmvJpV.mjs.map → posiwise-resource-module-resource-cards.module-D3yf7FNt.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-case-studies.module-CPcpQWlI.mjs → posiwise-resource-module-resource-case-studies.module-CFcO0CI-.mjs} +10 -10
- package/fesm2022/{posiwise-resource-module-resource-case-studies.module-CPcpQWlI.mjs.map → posiwise-resource-module-resource-case-studies.module-CFcO0CI-.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-events.module-yyacWPwv.mjs → posiwise-resource-module-resource-events.module-0PDppSJ6.mjs} +10 -10
- package/fesm2022/{posiwise-resource-module-resource-events.module-yyacWPwv.mjs.map → posiwise-resource-module-resource-events.module-0PDppSJ6.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-hub.module-C-SpVctG.mjs → posiwise-resource-module-resource-hub.module-2qzLV9I1.mjs} +12 -12
- package/fesm2022/{posiwise-resource-module-resource-hub.module-C-SpVctG.mjs.map → posiwise-resource-module-resource-hub.module-2qzLV9I1.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-integrations.module-0Ei4NMHQ.mjs → posiwise-resource-module-resource-integrations.module-DqDd_1U9.mjs} +18 -16
- package/fesm2022/posiwise-resource-module-resource-integrations.module-DqDd_1U9.mjs.map +1 -0
- package/fesm2022/{posiwise-resource-module-resource-post.module-C8O8oiWv.mjs → posiwise-resource-module-resource-post.module-BFuEjqA9.mjs} +16 -16
- package/fesm2022/{posiwise-resource-module-resource-post.module-C8O8oiWv.mjs.map → posiwise-resource-module-resource-post.module-BFuEjqA9.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-release-notes.module-CZeNqmRV.mjs → posiwise-resource-module-resource-release-notes.module-BbofH_0n.mjs} +14 -14
- package/fesm2022/{posiwise-resource-module-resource-release-notes.module-CZeNqmRV.mjs.map → posiwise-resource-module-resource-release-notes.module-BbofH_0n.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-root.module-CQd_uoG7.mjs → posiwise-resource-module-resource-root.module-C9c17Dhm.mjs} +21 -21
- package/fesm2022/{posiwise-resource-module-resource-root.module-CQd_uoG7.mjs.map → posiwise-resource-module-resource-root.module-C9c17Dhm.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-videos.module-DUz-VKpv.mjs → posiwise-resource-module-resource-videos.module-BsnB9vFd.mjs} +14 -14
- package/fesm2022/{posiwise-resource-module-resource-videos.module-DUz-VKpv.mjs.map → posiwise-resource-module-resource-videos.module-BsnB9vFd.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource-white-papers.module-Badb-ZZo.mjs → posiwise-resource-module-resource-white-papers.module-BC-OyhAK.mjs} +14 -14
- package/fesm2022/{posiwise-resource-module-resource-white-papers.module-Badb-ZZo.mjs.map → posiwise-resource-module-resource-white-papers.module-BC-OyhAK.mjs.map} +1 -1
- package/fesm2022/{posiwise-resource-module-resource.service-Dyxc3yQ6.mjs → posiwise-resource-module-resource.service-IK3r0iUB.mjs} +4 -4
- package/fesm2022/posiwise-resource-module-resource.service-IK3r0iUB.mjs.map +1 -0
- package/fesm2022/posiwise-resource-module.mjs +46 -46
- package/fesm2022/posiwise-resource-module.mjs.map +1 -1
- package/package.json +1 -1
- package/fesm2022/posiwise-resource-module-resource-integrations.module-0Ei4NMHQ.mjs.map +0 -1
- package/fesm2022/posiwise-resource-module-resource.service-Dyxc3yQ6.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ResourceService } from "./posiwise-resource-module-resource.service-
|
|
2
|
-
import { c as ResourceNoteCardComponent, i as ResourceVaultComponent, l as ResourceEditCardLazyComponent, n as UpcomingEventCardComponent, o as ResourceCardComponent, r as ResourceVideoCardComponent, s as CaseStudyCardComponent, t as ResourceCardsModule, u as Trial4ContactUsModule } from "./posiwise-resource-module-resource-cards.module-
|
|
1
|
+
import { t as ResourceService } from "./posiwise-resource-module-resource.service-IK3r0iUB.mjs";
|
|
2
|
+
import { c as ResourceNoteCardComponent, i as ResourceVaultComponent, l as ResourceEditCardLazyComponent, n as UpcomingEventCardComponent, o as ResourceCardComponent, r as ResourceVideoCardComponent, s as CaseStudyCardComponent, t as ResourceCardsModule, u as Trial4ContactUsModule } from "./posiwise-resource-module-resource-cards.module-D3yf7FNt.mjs";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import { CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component, EventEmitter, Input, NgModule, Output, ViewChild } from "@angular/core";
|
|
5
5
|
import { HelperService } from "@posiwise/helper-service";
|
|
@@ -51,50 +51,50 @@ const routes = [
|
|
|
51
51
|
{
|
|
52
52
|
path: "",
|
|
53
53
|
pathMatch: "full",
|
|
54
|
-
loadChildren: () => import("./posiwise-resource-module-resource-root.module-
|
|
54
|
+
loadChildren: () => import("./posiwise-resource-module-resource-root.module-C9c17Dhm.mjs").then((m) => m.ResourceRootModule)
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
path: "hub",
|
|
58
|
-
loadChildren: () => import("./posiwise-resource-module-resource-hub.module-
|
|
58
|
+
loadChildren: () => import("./posiwise-resource-module-resource-hub.module-2qzLV9I1.mjs").then((m) => m.ResourceHubModule)
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
path: "blogs",
|
|
62
|
-
loadChildren: () => import("./posiwise-resource-module-resource-blogs.module-
|
|
62
|
+
loadChildren: () => import("./posiwise-resource-module-resource-blogs.module-hxktrj98.mjs").then((m) => m.ResourceBlogsModule)
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
path: "videos",
|
|
66
|
-
loadChildren: () => import("./posiwise-resource-module-resource-videos.module-
|
|
66
|
+
loadChildren: () => import("./posiwise-resource-module-resource-videos.module-BsnB9vFd.mjs").then((m) => m.ResourceVideosModule)
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
path: "integrations",
|
|
70
|
-
loadChildren: () => import("./posiwise-resource-module-resource-integrations.module-
|
|
70
|
+
loadChildren: () => import("./posiwise-resource-module-resource-integrations.module-DqDd_1U9.mjs").then((m) => m.ResourceIntegrationsModule)
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
path: "release-notes",
|
|
74
|
-
loadChildren: () => import("./posiwise-resource-module-resource-release-notes.module-
|
|
74
|
+
loadChildren: () => import("./posiwise-resource-module-resource-release-notes.module-BbofH_0n.mjs").then((m) => m.ResourceReleaseNotesModule)
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
path: "events",
|
|
78
|
-
loadChildren: () => import("./posiwise-resource-module-resource-events.module-
|
|
78
|
+
loadChildren: () => import("./posiwise-resource-module-resource-events.module-0PDppSJ6.mjs").then((m) => m.ResourceEventsModule)
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
path: "white-papers",
|
|
82
|
-
loadChildren: () => import("./posiwise-resource-module-resource-white-papers.module-
|
|
82
|
+
loadChildren: () => import("./posiwise-resource-module-resource-white-papers.module-BC-OyhAK.mjs").then((m) => m.ResourceWhitePapersModule)
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
path: "case-studies",
|
|
86
|
-
loadChildren: () => import("./posiwise-resource-module-resource-case-studies.module-
|
|
86
|
+
loadChildren: () => import("./posiwise-resource-module-resource-case-studies.module-CFcO0CI-.mjs").then((m) => m.ResourceCaseStudiesModule)
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
path: "view/:slug",
|
|
90
|
-
loadChildren: () => import("./posiwise-resource-module-resource-post.module-
|
|
90
|
+
loadChildren: () => import("./posiwise-resource-module-resource-post.module-BFuEjqA9.mjs").then((m) => m.ResourcePostModule)
|
|
91
91
|
}
|
|
92
92
|
];
|
|
93
93
|
var BlogPublicRoutingModule = class BlogPublicRoutingModule {
|
|
94
94
|
static {
|
|
95
95
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
96
96
|
minVersion: "12.0.0",
|
|
97
|
-
version: "22.2.
|
|
97
|
+
version: "22.2.3",
|
|
98
98
|
ngImport: i0,
|
|
99
99
|
type: BlogPublicRoutingModule,
|
|
100
100
|
deps: [],
|
|
@@ -104,7 +104,7 @@ var BlogPublicRoutingModule = class BlogPublicRoutingModule {
|
|
|
104
104
|
static {
|
|
105
105
|
this.ɵmod = i0.ɵɵngDeclareNgModule({
|
|
106
106
|
minVersion: "14.0.0",
|
|
107
|
-
version: "22.2.
|
|
107
|
+
version: "22.2.3",
|
|
108
108
|
ngImport: i0,
|
|
109
109
|
type: BlogPublicRoutingModule,
|
|
110
110
|
imports: [i1$2.RouterModule],
|
|
@@ -114,7 +114,7 @@ var BlogPublicRoutingModule = class BlogPublicRoutingModule {
|
|
|
114
114
|
static {
|
|
115
115
|
this.ɵinj = i0.ɵɵngDeclareInjector({
|
|
116
116
|
minVersion: "12.0.0",
|
|
117
|
-
version: "22.2.
|
|
117
|
+
version: "22.2.3",
|
|
118
118
|
ngImport: i0,
|
|
119
119
|
type: BlogPublicRoutingModule,
|
|
120
120
|
imports: [RouterModule.forChild(routes), RouterModule]
|
|
@@ -123,7 +123,7 @@ var BlogPublicRoutingModule = class BlogPublicRoutingModule {
|
|
|
123
123
|
};
|
|
124
124
|
i0.ɵɵngDeclareClassMetadata({
|
|
125
125
|
minVersion: "12.0.0",
|
|
126
|
-
version: "22.2.
|
|
126
|
+
version: "22.2.3",
|
|
127
127
|
ngImport: i0,
|
|
128
128
|
type: BlogPublicRoutingModule,
|
|
129
129
|
decorators: [{
|
|
@@ -138,7 +138,7 @@ var ResourcePublicModule = class ResourcePublicModule {
|
|
|
138
138
|
static {
|
|
139
139
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
140
140
|
minVersion: "12.0.0",
|
|
141
|
-
version: "22.2.
|
|
141
|
+
version: "22.2.3",
|
|
142
142
|
ngImport: i0,
|
|
143
143
|
type: ResourcePublicModule,
|
|
144
144
|
deps: [],
|
|
@@ -148,7 +148,7 @@ var ResourcePublicModule = class ResourcePublicModule {
|
|
|
148
148
|
static {
|
|
149
149
|
this.ɵmod = i0.ɵɵngDeclareNgModule({
|
|
150
150
|
minVersion: "14.0.0",
|
|
151
|
-
version: "22.2.
|
|
151
|
+
version: "22.2.3",
|
|
152
152
|
ngImport: i0,
|
|
153
153
|
type: ResourcePublicModule,
|
|
154
154
|
imports: [BlogPublicRoutingModule]
|
|
@@ -157,7 +157,7 @@ var ResourcePublicModule = class ResourcePublicModule {
|
|
|
157
157
|
static {
|
|
158
158
|
this.ɵinj = i0.ɵɵngDeclareInjector({
|
|
159
159
|
minVersion: "12.0.0",
|
|
160
|
-
version: "22.2.
|
|
160
|
+
version: "22.2.3",
|
|
161
161
|
ngImport: i0,
|
|
162
162
|
type: ResourcePublicModule,
|
|
163
163
|
providers: [ResourceService],
|
|
@@ -167,7 +167,7 @@ var ResourcePublicModule = class ResourcePublicModule {
|
|
|
167
167
|
};
|
|
168
168
|
i0.ɵɵngDeclareClassMetadata({
|
|
169
169
|
minVersion: "12.0.0",
|
|
170
|
-
version: "22.2.
|
|
170
|
+
version: "22.2.3",
|
|
171
171
|
ngImport: i0,
|
|
172
172
|
type: ResourcePublicModule,
|
|
173
173
|
decorators: [{
|
|
@@ -183,7 +183,7 @@ var ResourceModule = class ResourceModule {
|
|
|
183
183
|
static {
|
|
184
184
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
185
185
|
minVersion: "12.0.0",
|
|
186
|
-
version: "22.2.
|
|
186
|
+
version: "22.2.3",
|
|
187
187
|
ngImport: i0,
|
|
188
188
|
type: ResourceModule,
|
|
189
189
|
deps: [],
|
|
@@ -193,7 +193,7 @@ var ResourceModule = class ResourceModule {
|
|
|
193
193
|
static {
|
|
194
194
|
this.ɵmod = i0.ɵɵngDeclareNgModule({
|
|
195
195
|
minVersion: "14.0.0",
|
|
196
|
-
version: "22.2.
|
|
196
|
+
version: "22.2.3",
|
|
197
197
|
ngImport: i0,
|
|
198
198
|
type: ResourceModule,
|
|
199
199
|
imports: [ResourcePublicModule]
|
|
@@ -202,7 +202,7 @@ var ResourceModule = class ResourceModule {
|
|
|
202
202
|
static {
|
|
203
203
|
this.ɵinj = i0.ɵɵngDeclareInjector({
|
|
204
204
|
minVersion: "12.0.0",
|
|
205
|
-
version: "22.2.
|
|
205
|
+
version: "22.2.3",
|
|
206
206
|
ngImport: i0,
|
|
207
207
|
type: ResourceModule,
|
|
208
208
|
imports: [ResourcePublicModule]
|
|
@@ -211,7 +211,7 @@ var ResourceModule = class ResourceModule {
|
|
|
211
211
|
};
|
|
212
212
|
i0.ɵɵngDeclareClassMetadata({
|
|
213
213
|
minVersion: "12.0.0",
|
|
214
|
-
version: "22.2.
|
|
214
|
+
version: "22.2.3",
|
|
215
215
|
ngImport: i0,
|
|
216
216
|
type: ResourceModule,
|
|
217
217
|
decorators: [{
|
|
@@ -277,7 +277,7 @@ var ResourceCompanyCardComponent = class ResourceCompanyCardComponent extends Ap
|
|
|
277
277
|
static {
|
|
278
278
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
279
279
|
minVersion: "12.0.0",
|
|
280
|
-
version: "22.2.
|
|
280
|
+
version: "22.2.3",
|
|
281
281
|
ngImport: i0,
|
|
282
282
|
type: ResourceCompanyCardComponent,
|
|
283
283
|
deps: [{ token: i0.Injector }, { token: i0.ChangeDetectorRef }],
|
|
@@ -287,7 +287,7 @@ var ResourceCompanyCardComponent = class ResourceCompanyCardComponent extends Ap
|
|
|
287
287
|
static {
|
|
288
288
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
289
289
|
minVersion: "17.0.0",
|
|
290
|
-
version: "22.2.
|
|
290
|
+
version: "22.2.3",
|
|
291
291
|
type: ResourceCompanyCardComponent,
|
|
292
292
|
isStandalone: false,
|
|
293
293
|
selector: "pw-resource-company-card",
|
|
@@ -396,7 +396,7 @@ var ResourceCompanyCardComponent = class ResourceCompanyCardComponent extends Ap
|
|
|
396
396
|
};
|
|
397
397
|
i0.ɵɵngDeclareClassMetadata({
|
|
398
398
|
minVersion: "12.0.0",
|
|
399
|
-
version: "22.2.
|
|
399
|
+
version: "22.2.3",
|
|
400
400
|
ngImport: i0,
|
|
401
401
|
type: ResourceCompanyCardComponent,
|
|
402
402
|
decorators: [{
|
|
@@ -493,7 +493,7 @@ var ResourceTopBannerEditComponent = class ResourceTopBannerEditComponent extend
|
|
|
493
493
|
static {
|
|
494
494
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
495
495
|
minVersion: "12.0.0",
|
|
496
|
-
version: "22.2.
|
|
496
|
+
version: "22.2.3",
|
|
497
497
|
ngImport: i0,
|
|
498
498
|
type: ResourceTopBannerEditComponent,
|
|
499
499
|
deps: [
|
|
@@ -509,7 +509,7 @@ var ResourceTopBannerEditComponent = class ResourceTopBannerEditComponent extend
|
|
|
509
509
|
static {
|
|
510
510
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
511
511
|
minVersion: "17.0.0",
|
|
512
|
-
version: "22.2.
|
|
512
|
+
version: "22.2.3",
|
|
513
513
|
type: ResourceTopBannerEditComponent,
|
|
514
514
|
isStandalone: false,
|
|
515
515
|
selector: "pw-resource-top-banner-edit",
|
|
@@ -625,7 +625,7 @@ var ResourceTopBannerEditComponent = class ResourceTopBannerEditComponent extend
|
|
|
625
625
|
};
|
|
626
626
|
i0.ɵɵngDeclareClassMetadata({
|
|
627
627
|
minVersion: "12.0.0",
|
|
628
|
-
version: "22.2.
|
|
628
|
+
version: "22.2.3",
|
|
629
629
|
ngImport: i0,
|
|
630
630
|
type: ResourceTopBannerEditComponent,
|
|
631
631
|
decorators: [{
|
|
@@ -663,7 +663,7 @@ var ResourceSharedModule = class ResourceSharedModule {
|
|
|
663
663
|
static {
|
|
664
664
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
665
665
|
minVersion: "12.0.0",
|
|
666
|
-
version: "22.2.
|
|
666
|
+
version: "22.2.3",
|
|
667
667
|
ngImport: i0,
|
|
668
668
|
type: ResourceSharedModule,
|
|
669
669
|
deps: [],
|
|
@@ -673,7 +673,7 @@ var ResourceSharedModule = class ResourceSharedModule {
|
|
|
673
673
|
static {
|
|
674
674
|
this.ɵmod = i0.ɵɵngDeclareNgModule({
|
|
675
675
|
minVersion: "14.0.0",
|
|
676
|
-
version: "22.2.
|
|
676
|
+
version: "22.2.3",
|
|
677
677
|
ngImport: i0,
|
|
678
678
|
type: ResourceSharedModule,
|
|
679
679
|
declarations: [ResourceCompanyCardComponent, ResourceTopBannerEditComponent],
|
|
@@ -718,7 +718,7 @@ var ResourceSharedModule = class ResourceSharedModule {
|
|
|
718
718
|
static {
|
|
719
719
|
this.ɵinj = i0.ɵɵngDeclareInjector({
|
|
720
720
|
minVersion: "12.0.0",
|
|
721
|
-
version: "22.2.
|
|
721
|
+
version: "22.2.3",
|
|
722
722
|
ngImport: i0,
|
|
723
723
|
type: ResourceSharedModule,
|
|
724
724
|
imports: [
|
|
@@ -758,7 +758,7 @@ var ResourceSharedModule = class ResourceSharedModule {
|
|
|
758
758
|
};
|
|
759
759
|
i0.ɵɵngDeclareClassMetadata({
|
|
760
760
|
minVersion: "12.0.0",
|
|
761
|
-
version: "22.2.
|
|
761
|
+
version: "22.2.3",
|
|
762
762
|
ngImport: i0,
|
|
763
763
|
type: ResourceSharedModule,
|
|
764
764
|
decorators: [{
|
|
@@ -997,7 +997,7 @@ var ResourceEditCardComponent = class ResourceEditCardComponent extends AppBaseC
|
|
|
997
997
|
static {
|
|
998
998
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
999
999
|
minVersion: "12.0.0",
|
|
1000
|
-
version: "22.2.
|
|
1000
|
+
version: "22.2.3",
|
|
1001
1001
|
ngImport: i0,
|
|
1002
1002
|
type: ResourceEditCardComponent,
|
|
1003
1003
|
deps: [
|
|
@@ -1015,7 +1015,7 @@ var ResourceEditCardComponent = class ResourceEditCardComponent extends AppBaseC
|
|
|
1015
1015
|
static {
|
|
1016
1016
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1017
1017
|
minVersion: "17.0.0",
|
|
1018
|
-
version: "22.2.
|
|
1018
|
+
version: "22.2.3",
|
|
1019
1019
|
type: ResourceEditCardComponent,
|
|
1020
1020
|
isStandalone: false,
|
|
1021
1021
|
selector: "pw-resource-edit-card",
|
|
@@ -1026,7 +1026,7 @@ var ResourceEditCardComponent = class ResourceEditCardComponent extends AppBaseC
|
|
|
1026
1026
|
outputs: { updated: "updated" },
|
|
1027
1027
|
usesInheritance: true,
|
|
1028
1028
|
ngImport: i0,
|
|
1029
|
-
template: "<div class=\"edit-card\">\n <i class=\"fa fa-edit cursor-pointer text-dark in-page-edit-icon d-flex justify-content-center mb-2\"\n (click)=\"openModal(editResourceModal)\"\n (keydown.enter)=\"openModal(editResourceModal)\"\n (keydown.space)=\"openModal(editResourceModal)\"\n title=\"Edit Resource\"></i>\n</div>\n\n<ng-template #editResourceModal let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Edit Resource</h5>\n <i class=\"fa fa-edit cursor-pointer text-dark in-page-edit-icon d-flex justify-content-center ms-3\"\n (click)=\"navigateToResourceEdit()\"\n (keydown.enter)=\"navigateToResourceEdit()\"\n (keydown.space)=\"navigateToResourceEdit()\"\n title=\"Go to the main edit page\"></i>\n <button type=\"button\" class=\"btn-close\" aria-label=\"Close\" (click)=\"modal.dismiss()\"></button>\n </div>\n\n <div class=\"modal-body\">\n <form [formGroup]=\"editForm\">\n <div class=\"row\">\n\n\n <div class=\"col-12\">\n <pw-input-container label=\"Title\" name=\"title\">\n <input type=\"text\" class=\"form-control\" formControlName=\"title\" id=\"input_title_1\" name=\"input_title_1\"\n aria-label=\"Title\"/>\n </pw-input-container>\n </div>\n\n <div class=\"col-12 row\">\n <pw-input-container label=\"CTA Text\" name=\"cta_text\" class=\"col-md-6\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Resource.Posts.Tooltip.CtaText' | transloco\">\n <input type=\"text\" class=\"form-control\" formControlName=\"cta_text\" id=\"input_cta_text_2\" name=\"input_cta_text_2\"\n aria-label=\"Cta Text\"/>\n </pw-input-container>\n\n <pw-input-container label=\"External URL\" name=\"external_url\" class=\"col-md-6\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Resource.Posts.Tooltip.ExternalUrl' | transloco\">\n <input type=\"text\" class=\"form-control\" formControlName=\"external_url\" id=\"input_external_url_3\" name=\"input_external_url_3\"\n [attr.aria-label]=\"'Resource.Posts.Body' | transloco\"/>\n </pw-input-container>\n </div>\n\n <div class=\"col-12\">\n <pw-input-container\n [label]=\"'Resource.Posts.Body' | transloco\"\n name=\"body\"\n [errorMsg]=\"'Resource.Posts.Validation.Body' | transloco\">\n <quill-editor\n [styles]=\"{ height: '300px' }\"\n class=\"quillEditor\"\n [modules]=\"editorConfig\"\n formControlName=\"body\"\n [ngClass]=\"{\n 'w-100': true,\n 'quill-container': true,\n 'is-invalid': submitted && f['body'].errors\n }\">\n </quill-editor>\n </pw-input-container>\n </div>\n\n <div class=\"col-12 col-md-3 col-sm-6\">\n <pw-input-container\n [label]=\"'Resource.Posts.When' | transloco\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Resource.Posts.Tooltip.When' | transloco\"\n name=\"when\">\n <p-datepicker inputId=\"resource-edit-card-when\" formControlName=\"when\"\n [showIcon]=\"true\"\n dateFormat=\"dd-M-yy\"\n [placeholder]=\"'Select Date'\"\n [ngClass]=\"{ 'is-invalid': submitted && f['when'].errors }\">\n </p-datepicker>\n </pw-input-container>\n </div>\n\n <div class=\"col-12 col-md-8\">\n <pw-input-container\n [label]=\"'Resource.Posts.Tags' | transloco\"\n class=\"ui-fluid skills-modal tags\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Resource.Posts.Tooltip.CtaText' | transloco\"\n name=\"cta_text\">\n <p-auto-complete appendTo=\"body\" [(ngModel)]=\"selectedTags\"\n class=\"body-bg w-100\"\n [suggestions]=\"tagsSuggestion\"\n dataKey=\"id\"\n optionLabel=\"name\"\n (completeMethod)=\"search($event)\"\n [minLength]=\"1\"\n [maxlength]=\"10\"\n [dropdown]=\"true\"\n [ngModelOptions]=\"{ standalone: true }\"\n placeholder=\"Tags\"\n [multiple]=\"true\">\n </p-auto-complete>\n </pw-input-container>\n </div>\n\n <div class=\"col-12 row\">\n <div class=\"col-md-4 col-sm-6\">\n <pw-input-container\n [label]=\"'SHOWCASE'\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Mark as showcase post'\"\n name=\"showcase\">\n <ui-switch formControlName=\"showcase\" class=\"d-block\"></ui-switch>\n </pw-input-container>\n </div>\n\n <div class=\"col-md-4 col-sm-6\">\n <pw-input-container\n [label]=\"'PUBLISHED'\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Set to publish the post'\"\n name=\"published_at\">\n <ui-switch formControlName=\"published_at\" class=\"d-block\"></ui-switch>\n </pw-input-container>\n </div>\n\n <div class=\"col-md-4 col-sm-6\">\n <pw-input-container\n [label]=\"'ACCEPTED BY ADMIN'\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Indicates approval by admin'\"\n name=\"accepted_at\">\n <ui-switch formControlName=\"accepted_at\" class=\"d-block\"></ui-switch>\n </pw-input-container>\n </div>\n </div>\n\n <div class=\"col-12 col-md-4 col-sm-4 my-4 ms-3\">\n <div class=\"text-center mb-4\">\n <span id=\"resource-edit-cover-picture-label\" class=\"pw-label-style\">{{ 'Resource.Posts.CoverPicture' | transloco }}</span>\n <div class=\"text-center d-flex flex-column align-items-center\">\n <img [src]=\"(image && !image.includes('default-photo.jpg')) ? image : 'assets/img/resource/blog.png'\"\n (click)=\"openImageModal(imageCropContent)\"\n (keydown.enter)=\"openImageModal(imageCropContent)\"\n class=\"image w-100\"\n alt=\"Modal\"\n (error)=\"handleImageError($event, 'assets/img/resource/blog.png')\" />\n <div class=\"d-flex justify-content-between align-items-center mt-2\">\n <a class=\"d-inline-block\" (click)=\"openImageModal(imageCropContent)\">\n {{ slug !== 'create' ? 'Edit' : 'Add' }} Picture\n </a>\n @if (image && !image.includes('default-photo.jpg')) {\n <i\n class=\"fa fa-trash delete-icon text-danger ms-2 cursor-pointer\"\n title=\"Remove Image\"\n (click)=\"removeImage()\"\n (keydown.enter)=\"removeImage()\"></i>\n }\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"col-12 col-md-4 col-sm-4 my-4 ms-3\">\n <div class=\"text-center mb-4\">\n <span id=\"resource-edit-rectangular-picture-label\" class=\"pw-label-style\">Rectangular Picture</span>\n <div class=\"text-center d-flex flex-column align-items-center\">\n <img [src]=\"(rectangularImage && !rectangularImage.includes('default-photo.jpg')) ? rectangularImage : 'assets/img/resource/blog.png'\"\n (click)=\"openRectModal(rectContent)\"\n (keydown.enter)=\"openRectModal(rectContent)\"\n class=\"image w-100\"\n alt=\"Uploaded rectangular media preview\"\n (error)=\"handleImageError($event, 'assets/img/resource/blog.png')\" />\n <div class=\"d-flex justify-content-between align-items-center mt-2\">\n <a class=\"d-inline-block\" (click)=\"openRectModal(rectContent)\">\n {{ slug !== 'create' ? 'Edit' : 'Add' }} Picture\n </a>\n @if (rectangularImage && !rectangularImage.includes('default-photo.jpg')) {\n <i\n class=\"fa fa-trash delete-icon text-danger ms-2 cursor-pointer\"\n title=\"Remove Image\"\n (click)=\"deleteRectangularImage()\"\n (keydown.enter)=\"deleteRectangularImage()\"></i>\n }\n </div>\n </div>\n </div>\n </div>\n\n </div>\n </form>\n </div>\n\n <div class=\"modal-footer\">\n <button class=\"btn btn-secondary\" (click)=\"modal.dismiss()\">Cancel</button>\n <button class=\"btn btn-primary\" [buttonBusy]=\"buttonBusy\" (click)=\"saveResource()\">Save</button>\n </div>\n</ng-template>\n\n<ng-template #imageCropContent let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Upload Picture</h5>\n <button type=\"button\" class=\"btn-close\" (click)=\"modal.dismiss()\"></button>\n </div>\n <div class=\"modal-body\">\n <small>You can upload a JPG, GIF, or PNG file. (Do not upload pictures containing celebrities,\n nudity, artwork or copyrighted images.)</small>\n <pw-image-cropper\n [aspectRatio]=\"'dynamic'\"\n (imageSelectionEvent)=\"onImageSelected($event)\"\n (closeEvent)=\"modal.close()\">\n </pw-image-cropper>\n </div>\n</ng-template>\n\n<ng-template #rectContent let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Upload Picture</h5>\n <button type=\"button\" class=\"btn-close float-end\" aria-label=\"Close\" (click)=\"modal.dismiss()\"></button>\n </div>\n <div class=\"modal-body\">\n <small>You can upload a JPG, GIF, or PNG file. (Do not upload pictures containing celebrities,\n nudity, artwork or copyrighted images.)</small>\n <pw-image-cropper\n #profile\n [aspectRatio]=\"'dynamic'\"\n (imageSelectionEvent)=\"onRectangularImageSelection($event)\"\n (closeEvent)=\"onClose()\">\n </pw-image-cropper>\n </div>\n</ng-template>\n",
|
|
1029
|
+
template: "<div class=\"edit-card\">\n <i class=\"fa fa-edit cursor-pointer text-dark in-page-edit-icon d-flex justify-content-center mb-2\"\n (click)=\"openModal(editResourceModal)\"\n (keydown.enter)=\"openModal(editResourceModal)\"\n (keydown.space)=\"openModal(editResourceModal)\"\n title=\"Edit Resource\"></i>\n</div>\n\n<ng-template #editResourceModal let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Edit Resource</h5>\n <i class=\"fa fa-edit cursor-pointer text-dark in-page-edit-icon d-flex justify-content-center ms-3\"\n (click)=\"navigateToResourceEdit()\"\n (keydown.enter)=\"navigateToResourceEdit()\"\n (keydown.space)=\"navigateToResourceEdit()\"\n title=\"Go to the main edit page\"></i>\n <button type=\"button\" class=\"btn-close\" aria-label=\"Close\" (click)=\"modal.dismiss()\"></button>\n </div>\n\n <div class=\"modal-body\">\n <form [formGroup]=\"editForm\">\n <div class=\"row\">\n\n\n <div class=\"col-12\">\n <pw-input-container label=\"Title\" name=\"title\">\n <input type=\"text\" class=\"form-control\" formControlName=\"title\" id=\"input_title_1\" name=\"input_title_1\"\n aria-label=\"Title\"/>\n </pw-input-container>\n </div>\n\n <div class=\"col-12 row\">\n <pw-input-container label=\"CTA Text\" name=\"cta_text\" class=\"col-md-6\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Resource.Posts.Tooltip.CtaText' | transloco\">\n <input type=\"text\" class=\"form-control\" formControlName=\"cta_text\" id=\"input_cta_text_2\" name=\"input_cta_text_2\"\n aria-label=\"Cta Text\"/>\n </pw-input-container>\n\n <pw-input-container label=\"External URL\" name=\"external_url\" class=\"col-md-6\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Resource.Posts.Tooltip.ExternalUrl' | transloco\">\n <input type=\"text\" class=\"form-control\" formControlName=\"external_url\" id=\"input_external_url_3\" name=\"input_external_url_3\"\n [attr.aria-label]=\"'Resource.Posts.Body' | transloco\"/>\n </pw-input-container>\n </div>\n\n <div class=\"col-12\">\n <pw-input-container\n [label]=\"'Resource.Posts.Body' | transloco\"\n name=\"body\"\n errorMsg=\"Resource.Posts.Validation.Body\">\n <quill-editor\n [styles]=\"{ height: '300px' }\"\n class=\"quillEditor\"\n [modules]=\"editorConfig\"\n formControlName=\"body\"\n [ngClass]=\"{\n 'w-100': true,\n 'quill-container': true,\n 'is-invalid': submitted && f['body'].errors\n }\">\n </quill-editor>\n </pw-input-container>\n </div>\n\n <div class=\"col-12 col-md-3 col-sm-6\">\n <pw-input-container\n [label]=\"'Resource.Posts.When' | transloco\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Resource.Posts.Tooltip.When' | transloco\"\n name=\"when\">\n <p-datepicker inputId=\"resource-edit-card-when\" formControlName=\"when\"\n [showIcon]=\"true\"\n dateFormat=\"dd-M-yy\"\n [placeholder]=\"'Select Date'\"\n [ngClass]=\"{ 'is-invalid': submitted && f['when'].errors }\">\n </p-datepicker>\n </pw-input-container>\n </div>\n\n <div class=\"col-12 col-md-8\">\n <pw-input-container\n [label]=\"'Resource.Posts.Tags' | transloco\"\n class=\"ui-fluid skills-modal tags\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Resource.Posts.Tooltip.CtaText' | transloco\"\n name=\"cta_text\">\n <p-auto-complete appendTo=\"body\" [(ngModel)]=\"selectedTags\"\n class=\"body-bg w-100\"\n [suggestions]=\"tagsSuggestion\"\n dataKey=\"id\"\n optionLabel=\"name\"\n (completeMethod)=\"search($event)\"\n [minLength]=\"1\"\n [maxlength]=\"10\"\n [dropdown]=\"true\"\n [ngModelOptions]=\"{ standalone: true }\"\n placeholder=\"Tags\"\n [multiple]=\"true\">\n </p-auto-complete>\n </pw-input-container>\n </div>\n\n <div class=\"col-12 row\">\n <div class=\"col-md-4 col-sm-6\">\n <pw-input-container\n [label]=\"'SHOWCASE'\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Mark as showcase post'\"\n name=\"showcase\">\n <ui-switch formControlName=\"showcase\" class=\"d-block\"></ui-switch>\n </pw-input-container>\n </div>\n\n <div class=\"col-md-4 col-sm-6\">\n <pw-input-container\n [label]=\"'PUBLISHED'\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Set to publish the post'\"\n name=\"published_at\">\n <ui-switch formControlName=\"published_at\" class=\"d-block\"></ui-switch>\n </pw-input-container>\n </div>\n\n <div class=\"col-md-4 col-sm-6\">\n <pw-input-container\n [label]=\"'ACCEPTED BY ADMIN'\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Indicates approval by admin'\"\n name=\"accepted_at\">\n <ui-switch formControlName=\"accepted_at\" class=\"d-block\"></ui-switch>\n </pw-input-container>\n </div>\n </div>\n\n <div class=\"col-12 col-md-4 col-sm-4 my-4 ms-3\">\n <div class=\"text-center mb-4\">\n <span id=\"resource-edit-cover-picture-label\" class=\"pw-label-style\">{{ 'Resource.Posts.CoverPicture' | transloco }}</span>\n <div class=\"text-center d-flex flex-column align-items-center\">\n <img [src]=\"(image && !image.includes('default-photo.jpg')) ? image : 'assets/img/resource/blog.png'\"\n (click)=\"openImageModal(imageCropContent)\"\n (keydown.enter)=\"openImageModal(imageCropContent)\"\n class=\"image w-100\"\n alt=\"Modal\"\n (error)=\"handleImageError($event, 'assets/img/resource/blog.png')\" />\n <div class=\"d-flex justify-content-between align-items-center mt-2\">\n <a class=\"d-inline-block\" (click)=\"openImageModal(imageCropContent)\">\n {{ slug !== 'create' ? 'Edit' : 'Add' }} Picture\n </a>\n @if (image && !image.includes('default-photo.jpg')) {\n <i\n class=\"fa fa-trash delete-icon text-danger ms-2 cursor-pointer\"\n title=\"Remove Image\"\n (click)=\"removeImage()\"\n (keydown.enter)=\"removeImage()\"></i>\n }\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"col-12 col-md-4 col-sm-4 my-4 ms-3\">\n <div class=\"text-center mb-4\">\n <span id=\"resource-edit-rectangular-picture-label\" class=\"pw-label-style\">Rectangular Picture</span>\n <div class=\"text-center d-flex flex-column align-items-center\">\n <img [src]=\"(rectangularImage && !rectangularImage.includes('default-photo.jpg')) ? rectangularImage : 'assets/img/resource/blog.png'\"\n (click)=\"openRectModal(rectContent)\"\n (keydown.enter)=\"openRectModal(rectContent)\"\n class=\"image w-100\"\n alt=\"Uploaded rectangular media preview\"\n (error)=\"handleImageError($event, 'assets/img/resource/blog.png')\" />\n <div class=\"d-flex justify-content-between align-items-center mt-2\">\n <a class=\"d-inline-block\" (click)=\"openRectModal(rectContent)\">\n {{ slug !== 'create' ? 'Edit' : 'Add' }} Picture\n </a>\n @if (rectangularImage && !rectangularImage.includes('default-photo.jpg')) {\n <i\n class=\"fa fa-trash delete-icon text-danger ms-2 cursor-pointer\"\n title=\"Remove Image\"\n (click)=\"deleteRectangularImage()\"\n (keydown.enter)=\"deleteRectangularImage()\"></i>\n }\n </div>\n </div>\n </div>\n </div>\n\n </div>\n </form>\n </div>\n\n <div class=\"modal-footer\">\n <button class=\"btn btn-secondary\" (click)=\"modal.dismiss()\">Cancel</button>\n <button class=\"btn btn-primary\" [buttonBusy]=\"buttonBusy\" (click)=\"saveResource()\">Save</button>\n </div>\n</ng-template>\n\n<ng-template #imageCropContent let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Upload Picture</h5>\n <button type=\"button\" class=\"btn-close\" (click)=\"modal.dismiss()\"></button>\n </div>\n <div class=\"modal-body\">\n <small>You can upload a JPG, GIF, or PNG file. (Do not upload pictures containing celebrities,\n nudity, artwork or copyrighted images.)</small>\n <pw-image-cropper\n [aspectRatio]=\"'dynamic'\"\n (imageSelectionEvent)=\"onImageSelected($event)\"\n (closeEvent)=\"modal.close()\">\n </pw-image-cropper>\n </div>\n</ng-template>\n\n<ng-template #rectContent let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Upload Picture</h5>\n <button type=\"button\" class=\"btn-close float-end\" aria-label=\"Close\" (click)=\"modal.dismiss()\"></button>\n </div>\n <div class=\"modal-body\">\n <small>You can upload a JPG, GIF, or PNG file. (Do not upload pictures containing celebrities,\n nudity, artwork or copyrighted images.)</small>\n <pw-image-cropper\n #profile\n [aspectRatio]=\"'dynamic'\"\n (imageSelectionEvent)=\"onRectangularImageSelection($event)\"\n (closeEvent)=\"onClose()\">\n </pw-image-cropper>\n </div>\n</ng-template>\n",
|
|
1030
1030
|
styles: ["::ng-deep .modal-content{margin-top:5rem!important}\n"],
|
|
1031
1031
|
dependencies: [
|
|
1032
1032
|
{
|
|
@@ -1340,7 +1340,7 @@ var ResourceEditCardComponent = class ResourceEditCardComponent extends AppBaseC
|
|
|
1340
1340
|
};
|
|
1341
1341
|
i0.ɵɵngDeclareClassMetadata({
|
|
1342
1342
|
minVersion: "12.0.0",
|
|
1343
|
-
version: "22.2.
|
|
1343
|
+
version: "22.2.3",
|
|
1344
1344
|
ngImport: i0,
|
|
1345
1345
|
type: ResourceEditCardComponent,
|
|
1346
1346
|
decorators: [{
|
|
@@ -1349,7 +1349,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1349
1349
|
selector: "pw-resource-edit-card",
|
|
1350
1350
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1351
1351
|
standalone: false,
|
|
1352
|
-
template: "<div class=\"edit-card\">\n <i class=\"fa fa-edit cursor-pointer text-dark in-page-edit-icon d-flex justify-content-center mb-2\"\n (click)=\"openModal(editResourceModal)\"\n (keydown.enter)=\"openModal(editResourceModal)\"\n (keydown.space)=\"openModal(editResourceModal)\"\n title=\"Edit Resource\"></i>\n</div>\n\n<ng-template #editResourceModal let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Edit Resource</h5>\n <i class=\"fa fa-edit cursor-pointer text-dark in-page-edit-icon d-flex justify-content-center ms-3\"\n (click)=\"navigateToResourceEdit()\"\n (keydown.enter)=\"navigateToResourceEdit()\"\n (keydown.space)=\"navigateToResourceEdit()\"\n title=\"Go to the main edit page\"></i>\n <button type=\"button\" class=\"btn-close\" aria-label=\"Close\" (click)=\"modal.dismiss()\"></button>\n </div>\n\n <div class=\"modal-body\">\n <form [formGroup]=\"editForm\">\n <div class=\"row\">\n\n\n <div class=\"col-12\">\n <pw-input-container label=\"Title\" name=\"title\">\n <input type=\"text\" class=\"form-control\" formControlName=\"title\" id=\"input_title_1\" name=\"input_title_1\"\n aria-label=\"Title\"/>\n </pw-input-container>\n </div>\n\n <div class=\"col-12 row\">\n <pw-input-container label=\"CTA Text\" name=\"cta_text\" class=\"col-md-6\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Resource.Posts.Tooltip.CtaText' | transloco\">\n <input type=\"text\" class=\"form-control\" formControlName=\"cta_text\" id=\"input_cta_text_2\" name=\"input_cta_text_2\"\n aria-label=\"Cta Text\"/>\n </pw-input-container>\n\n <pw-input-container label=\"External URL\" name=\"external_url\" class=\"col-md-6\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Resource.Posts.Tooltip.ExternalUrl' | transloco\">\n <input type=\"text\" class=\"form-control\" formControlName=\"external_url\" id=\"input_external_url_3\" name=\"input_external_url_3\"\n [attr.aria-label]=\"'Resource.Posts.Body' | transloco\"/>\n </pw-input-container>\n </div>\n\n <div class=\"col-12\">\n <pw-input-container\n [label]=\"'Resource.Posts.Body' | transloco\"\n name=\"body\"\n [errorMsg]=\"'Resource.Posts.Validation.Body' | transloco\">\n <quill-editor\n [styles]=\"{ height: '300px' }\"\n class=\"quillEditor\"\n [modules]=\"editorConfig\"\n formControlName=\"body\"\n [ngClass]=\"{\n 'w-100': true,\n 'quill-container': true,\n 'is-invalid': submitted && f['body'].errors\n }\">\n </quill-editor>\n </pw-input-container>\n </div>\n\n <div class=\"col-12 col-md-3 col-sm-6\">\n <pw-input-container\n [label]=\"'Resource.Posts.When' | transloco\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Resource.Posts.Tooltip.When' | transloco\"\n name=\"when\">\n <p-datepicker inputId=\"resource-edit-card-when\" formControlName=\"when\"\n [showIcon]=\"true\"\n dateFormat=\"dd-M-yy\"\n [placeholder]=\"'Select Date'\"\n [ngClass]=\"{ 'is-invalid': submitted && f['when'].errors }\">\n </p-datepicker>\n </pw-input-container>\n </div>\n\n <div class=\"col-12 col-md-8\">\n <pw-input-container\n [label]=\"'Resource.Posts.Tags' | transloco\"\n class=\"ui-fluid skills-modal tags\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Resource.Posts.Tooltip.CtaText' | transloco\"\n name=\"cta_text\">\n <p-auto-complete appendTo=\"body\" [(ngModel)]=\"selectedTags\"\n class=\"body-bg w-100\"\n [suggestions]=\"tagsSuggestion\"\n dataKey=\"id\"\n optionLabel=\"name\"\n (completeMethod)=\"search($event)\"\n [minLength]=\"1\"\n [maxlength]=\"10\"\n [dropdown]=\"true\"\n [ngModelOptions]=\"{ standalone: true }\"\n placeholder=\"Tags\"\n [multiple]=\"true\">\n </p-auto-complete>\n </pw-input-container>\n </div>\n\n <div class=\"col-12 row\">\n <div class=\"col-md-4 col-sm-6\">\n <pw-input-container\n [label]=\"'SHOWCASE'\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Mark as showcase post'\"\n name=\"showcase\">\n <ui-switch formControlName=\"showcase\" class=\"d-block\"></ui-switch>\n </pw-input-container>\n </div>\n\n <div class=\"col-md-4 col-sm-6\">\n <pw-input-container\n [label]=\"'PUBLISHED'\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Set to publish the post'\"\n name=\"published_at\">\n <ui-switch formControlName=\"published_at\" class=\"d-block\"></ui-switch>\n </pw-input-container>\n </div>\n\n <div class=\"col-md-4 col-sm-6\">\n <pw-input-container\n [label]=\"'ACCEPTED BY ADMIN'\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Indicates approval by admin'\"\n name=\"accepted_at\">\n <ui-switch formControlName=\"accepted_at\" class=\"d-block\"></ui-switch>\n </pw-input-container>\n </div>\n </div>\n\n <div class=\"col-12 col-md-4 col-sm-4 my-4 ms-3\">\n <div class=\"text-center mb-4\">\n <span id=\"resource-edit-cover-picture-label\" class=\"pw-label-style\">{{ 'Resource.Posts.CoverPicture' | transloco }}</span>\n <div class=\"text-center d-flex flex-column align-items-center\">\n <img [src]=\"(image && !image.includes('default-photo.jpg')) ? image : 'assets/img/resource/blog.png'\"\n (click)=\"openImageModal(imageCropContent)\"\n (keydown.enter)=\"openImageModal(imageCropContent)\"\n class=\"image w-100\"\n alt=\"Modal\"\n (error)=\"handleImageError($event, 'assets/img/resource/blog.png')\" />\n <div class=\"d-flex justify-content-between align-items-center mt-2\">\n <a class=\"d-inline-block\" (click)=\"openImageModal(imageCropContent)\">\n {{ slug !== 'create' ? 'Edit' : 'Add' }} Picture\n </a>\n @if (image && !image.includes('default-photo.jpg')) {\n <i\n class=\"fa fa-trash delete-icon text-danger ms-2 cursor-pointer\"\n title=\"Remove Image\"\n (click)=\"removeImage()\"\n (keydown.enter)=\"removeImage()\"></i>\n }\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"col-12 col-md-4 col-sm-4 my-4 ms-3\">\n <div class=\"text-center mb-4\">\n <span id=\"resource-edit-rectangular-picture-label\" class=\"pw-label-style\">Rectangular Picture</span>\n <div class=\"text-center d-flex flex-column align-items-center\">\n <img [src]=\"(rectangularImage && !rectangularImage.includes('default-photo.jpg')) ? rectangularImage : 'assets/img/resource/blog.png'\"\n (click)=\"openRectModal(rectContent)\"\n (keydown.enter)=\"openRectModal(rectContent)\"\n class=\"image w-100\"\n alt=\"Uploaded rectangular media preview\"\n (error)=\"handleImageError($event, 'assets/img/resource/blog.png')\" />\n <div class=\"d-flex justify-content-between align-items-center mt-2\">\n <a class=\"d-inline-block\" (click)=\"openRectModal(rectContent)\">\n {{ slug !== 'create' ? 'Edit' : 'Add' }} Picture\n </a>\n @if (rectangularImage && !rectangularImage.includes('default-photo.jpg')) {\n <i\n class=\"fa fa-trash delete-icon text-danger ms-2 cursor-pointer\"\n title=\"Remove Image\"\n (click)=\"deleteRectangularImage()\"\n (keydown.enter)=\"deleteRectangularImage()\"></i>\n }\n </div>\n </div>\n </div>\n </div>\n\n </div>\n </form>\n </div>\n\n <div class=\"modal-footer\">\n <button class=\"btn btn-secondary\" (click)=\"modal.dismiss()\">Cancel</button>\n <button class=\"btn btn-primary\" [buttonBusy]=\"buttonBusy\" (click)=\"saveResource()\">Save</button>\n </div>\n</ng-template>\n\n<ng-template #imageCropContent let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Upload Picture</h5>\n <button type=\"button\" class=\"btn-close\" (click)=\"modal.dismiss()\"></button>\n </div>\n <div class=\"modal-body\">\n <small>You can upload a JPG, GIF, or PNG file. (Do not upload pictures containing celebrities,\n nudity, artwork or copyrighted images.)</small>\n <pw-image-cropper\n [aspectRatio]=\"'dynamic'\"\n (imageSelectionEvent)=\"onImageSelected($event)\"\n (closeEvent)=\"modal.close()\">\n </pw-image-cropper>\n </div>\n</ng-template>\n\n<ng-template #rectContent let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Upload Picture</h5>\n <button type=\"button\" class=\"btn-close float-end\" aria-label=\"Close\" (click)=\"modal.dismiss()\"></button>\n </div>\n <div class=\"modal-body\">\n <small>You can upload a JPG, GIF, or PNG file. (Do not upload pictures containing celebrities,\n nudity, artwork or copyrighted images.)</small>\n <pw-image-cropper\n #profile\n [aspectRatio]=\"'dynamic'\"\n (imageSelectionEvent)=\"onRectangularImageSelection($event)\"\n (closeEvent)=\"onClose()\">\n </pw-image-cropper>\n </div>\n</ng-template>\n",
|
|
1352
|
+
template: "<div class=\"edit-card\">\n <i class=\"fa fa-edit cursor-pointer text-dark in-page-edit-icon d-flex justify-content-center mb-2\"\n (click)=\"openModal(editResourceModal)\"\n (keydown.enter)=\"openModal(editResourceModal)\"\n (keydown.space)=\"openModal(editResourceModal)\"\n title=\"Edit Resource\"></i>\n</div>\n\n<ng-template #editResourceModal let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Edit Resource</h5>\n <i class=\"fa fa-edit cursor-pointer text-dark in-page-edit-icon d-flex justify-content-center ms-3\"\n (click)=\"navigateToResourceEdit()\"\n (keydown.enter)=\"navigateToResourceEdit()\"\n (keydown.space)=\"navigateToResourceEdit()\"\n title=\"Go to the main edit page\"></i>\n <button type=\"button\" class=\"btn-close\" aria-label=\"Close\" (click)=\"modal.dismiss()\"></button>\n </div>\n\n <div class=\"modal-body\">\n <form [formGroup]=\"editForm\">\n <div class=\"row\">\n\n\n <div class=\"col-12\">\n <pw-input-container label=\"Title\" name=\"title\">\n <input type=\"text\" class=\"form-control\" formControlName=\"title\" id=\"input_title_1\" name=\"input_title_1\"\n aria-label=\"Title\"/>\n </pw-input-container>\n </div>\n\n <div class=\"col-12 row\">\n <pw-input-container label=\"CTA Text\" name=\"cta_text\" class=\"col-md-6\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Resource.Posts.Tooltip.CtaText' | transloco\">\n <input type=\"text\" class=\"form-control\" formControlName=\"cta_text\" id=\"input_cta_text_2\" name=\"input_cta_text_2\"\n aria-label=\"Cta Text\"/>\n </pw-input-container>\n\n <pw-input-container label=\"External URL\" name=\"external_url\" class=\"col-md-6\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Resource.Posts.Tooltip.ExternalUrl' | transloco\">\n <input type=\"text\" class=\"form-control\" formControlName=\"external_url\" id=\"input_external_url_3\" name=\"input_external_url_3\"\n [attr.aria-label]=\"'Resource.Posts.Body' | transloco\"/>\n </pw-input-container>\n </div>\n\n <div class=\"col-12\">\n <pw-input-container\n [label]=\"'Resource.Posts.Body' | transloco\"\n name=\"body\"\n errorMsg=\"Resource.Posts.Validation.Body\">\n <quill-editor\n [styles]=\"{ height: '300px' }\"\n class=\"quillEditor\"\n [modules]=\"editorConfig\"\n formControlName=\"body\"\n [ngClass]=\"{\n 'w-100': true,\n 'quill-container': true,\n 'is-invalid': submitted && f['body'].errors\n }\">\n </quill-editor>\n </pw-input-container>\n </div>\n\n <div class=\"col-12 col-md-3 col-sm-6\">\n <pw-input-container\n [label]=\"'Resource.Posts.When' | transloco\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Resource.Posts.Tooltip.When' | transloco\"\n name=\"when\">\n <p-datepicker inputId=\"resource-edit-card-when\" formControlName=\"when\"\n [showIcon]=\"true\"\n dateFormat=\"dd-M-yy\"\n [placeholder]=\"'Select Date'\"\n [ngClass]=\"{ 'is-invalid': submitted && f['when'].errors }\">\n </p-datepicker>\n </pw-input-container>\n </div>\n\n <div class=\"col-12 col-md-8\">\n <pw-input-container\n [label]=\"'Resource.Posts.Tags' | transloco\"\n class=\"ui-fluid skills-modal tags\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Resource.Posts.Tooltip.CtaText' | transloco\"\n name=\"cta_text\">\n <p-auto-complete appendTo=\"body\" [(ngModel)]=\"selectedTags\"\n class=\"body-bg w-100\"\n [suggestions]=\"tagsSuggestion\"\n dataKey=\"id\"\n optionLabel=\"name\"\n (completeMethod)=\"search($event)\"\n [minLength]=\"1\"\n [maxlength]=\"10\"\n [dropdown]=\"true\"\n [ngModelOptions]=\"{ standalone: true }\"\n placeholder=\"Tags\"\n [multiple]=\"true\">\n </p-auto-complete>\n </pw-input-container>\n </div>\n\n <div class=\"col-12 row\">\n <div class=\"col-md-4 col-sm-6\">\n <pw-input-container\n [label]=\"'SHOWCASE'\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Mark as showcase post'\"\n name=\"showcase\">\n <ui-switch formControlName=\"showcase\" class=\"d-block\"></ui-switch>\n </pw-input-container>\n </div>\n\n <div class=\"col-md-4 col-sm-6\">\n <pw-input-container\n [label]=\"'PUBLISHED'\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Set to publish the post'\"\n name=\"published_at\">\n <ui-switch formControlName=\"published_at\" class=\"d-block\"></ui-switch>\n </pw-input-container>\n </div>\n\n <div class=\"col-md-4 col-sm-6\">\n <pw-input-container\n [label]=\"'ACCEPTED BY ADMIN'\"\n [showTooltip]=\"true\"\n [tooltipText]=\"'Indicates approval by admin'\"\n name=\"accepted_at\">\n <ui-switch formControlName=\"accepted_at\" class=\"d-block\"></ui-switch>\n </pw-input-container>\n </div>\n </div>\n\n <div class=\"col-12 col-md-4 col-sm-4 my-4 ms-3\">\n <div class=\"text-center mb-4\">\n <span id=\"resource-edit-cover-picture-label\" class=\"pw-label-style\">{{ 'Resource.Posts.CoverPicture' | transloco }}</span>\n <div class=\"text-center d-flex flex-column align-items-center\">\n <img [src]=\"(image && !image.includes('default-photo.jpg')) ? image : 'assets/img/resource/blog.png'\"\n (click)=\"openImageModal(imageCropContent)\"\n (keydown.enter)=\"openImageModal(imageCropContent)\"\n class=\"image w-100\"\n alt=\"Modal\"\n (error)=\"handleImageError($event, 'assets/img/resource/blog.png')\" />\n <div class=\"d-flex justify-content-between align-items-center mt-2\">\n <a class=\"d-inline-block\" (click)=\"openImageModal(imageCropContent)\">\n {{ slug !== 'create' ? 'Edit' : 'Add' }} Picture\n </a>\n @if (image && !image.includes('default-photo.jpg')) {\n <i\n class=\"fa fa-trash delete-icon text-danger ms-2 cursor-pointer\"\n title=\"Remove Image\"\n (click)=\"removeImage()\"\n (keydown.enter)=\"removeImage()\"></i>\n }\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"col-12 col-md-4 col-sm-4 my-4 ms-3\">\n <div class=\"text-center mb-4\">\n <span id=\"resource-edit-rectangular-picture-label\" class=\"pw-label-style\">Rectangular Picture</span>\n <div class=\"text-center d-flex flex-column align-items-center\">\n <img [src]=\"(rectangularImage && !rectangularImage.includes('default-photo.jpg')) ? rectangularImage : 'assets/img/resource/blog.png'\"\n (click)=\"openRectModal(rectContent)\"\n (keydown.enter)=\"openRectModal(rectContent)\"\n class=\"image w-100\"\n alt=\"Uploaded rectangular media preview\"\n (error)=\"handleImageError($event, 'assets/img/resource/blog.png')\" />\n <div class=\"d-flex justify-content-between align-items-center mt-2\">\n <a class=\"d-inline-block\" (click)=\"openRectModal(rectContent)\">\n {{ slug !== 'create' ? 'Edit' : 'Add' }} Picture\n </a>\n @if (rectangularImage && !rectangularImage.includes('default-photo.jpg')) {\n <i\n class=\"fa fa-trash delete-icon text-danger ms-2 cursor-pointer\"\n title=\"Remove Image\"\n (click)=\"deleteRectangularImage()\"\n (keydown.enter)=\"deleteRectangularImage()\"></i>\n }\n </div>\n </div>\n </div>\n </div>\n\n </div>\n </form>\n </div>\n\n <div class=\"modal-footer\">\n <button class=\"btn btn-secondary\" (click)=\"modal.dismiss()\">Cancel</button>\n <button class=\"btn btn-primary\" [buttonBusy]=\"buttonBusy\" (click)=\"saveResource()\">Save</button>\n </div>\n</ng-template>\n\n<ng-template #imageCropContent let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Upload Picture</h5>\n <button type=\"button\" class=\"btn-close\" (click)=\"modal.dismiss()\"></button>\n </div>\n <div class=\"modal-body\">\n <small>You can upload a JPG, GIF, or PNG file. (Do not upload pictures containing celebrities,\n nudity, artwork or copyrighted images.)</small>\n <pw-image-cropper\n [aspectRatio]=\"'dynamic'\"\n (imageSelectionEvent)=\"onImageSelected($event)\"\n (closeEvent)=\"modal.close()\">\n </pw-image-cropper>\n </div>\n</ng-template>\n\n<ng-template #rectContent let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Upload Picture</h5>\n <button type=\"button\" class=\"btn-close float-end\" aria-label=\"Close\" (click)=\"modal.dismiss()\"></button>\n </div>\n <div class=\"modal-body\">\n <small>You can upload a JPG, GIF, or PNG file. (Do not upload pictures containing celebrities,\n nudity, artwork or copyrighted images.)</small>\n <pw-image-cropper\n #profile\n [aspectRatio]=\"'dynamic'\"\n (imageSelectionEvent)=\"onRectangularImageSelection($event)\"\n (closeEvent)=\"onClose()\">\n </pw-image-cropper>\n </div>\n</ng-template>\n",
|
|
1353
1353
|
styles: ["::ng-deep .modal-content{margin-top:5rem!important}\n"]
|
|
1354
1354
|
}]
|
|
1355
1355
|
}],
|
|
@@ -1372,7 +1372,7 @@ var ResourceEditModule = class ResourceEditModule {
|
|
|
1372
1372
|
static {
|
|
1373
1373
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
1374
1374
|
minVersion: "12.0.0",
|
|
1375
|
-
version: "22.2.
|
|
1375
|
+
version: "22.2.3",
|
|
1376
1376
|
ngImport: i0,
|
|
1377
1377
|
type: ResourceEditModule,
|
|
1378
1378
|
deps: [],
|
|
@@ -1382,7 +1382,7 @@ var ResourceEditModule = class ResourceEditModule {
|
|
|
1382
1382
|
static {
|
|
1383
1383
|
this.ɵmod = i0.ɵɵngDeclareNgModule({
|
|
1384
1384
|
minVersion: "14.0.0",
|
|
1385
|
-
version: "22.2.
|
|
1385
|
+
version: "22.2.3",
|
|
1386
1386
|
ngImport: i0,
|
|
1387
1387
|
type: ResourceEditModule,
|
|
1388
1388
|
declarations: [ResourceEditCardComponent],
|
|
@@ -1405,7 +1405,7 @@ var ResourceEditModule = class ResourceEditModule {
|
|
|
1405
1405
|
static {
|
|
1406
1406
|
this.ɵinj = i0.ɵɵngDeclareInjector({
|
|
1407
1407
|
minVersion: "12.0.0",
|
|
1408
|
-
version: "22.2.
|
|
1408
|
+
version: "22.2.3",
|
|
1409
1409
|
ngImport: i0,
|
|
1410
1410
|
type: ResourceEditModule,
|
|
1411
1411
|
imports: [
|
|
@@ -1426,7 +1426,7 @@ var ResourceEditModule = class ResourceEditModule {
|
|
|
1426
1426
|
};
|
|
1427
1427
|
i0.ɵɵngDeclareClassMetadata({
|
|
1428
1428
|
minVersion: "12.0.0",
|
|
1429
|
-
version: "22.2.
|
|
1429
|
+
version: "22.2.3",
|
|
1430
1430
|
ngImport: i0,
|
|
1431
1431
|
type: ResourceEditModule,
|
|
1432
1432
|
decorators: [{
|
|
@@ -1515,7 +1515,7 @@ var TestimonialCardListComponent = class TestimonialCardListComponent {
|
|
|
1515
1515
|
static {
|
|
1516
1516
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
1517
1517
|
minVersion: "12.0.0",
|
|
1518
|
-
version: "22.2.
|
|
1518
|
+
version: "22.2.3",
|
|
1519
1519
|
ngImport: i0,
|
|
1520
1520
|
type: TestimonialCardListComponent,
|
|
1521
1521
|
deps: [],
|
|
@@ -1525,7 +1525,7 @@ var TestimonialCardListComponent = class TestimonialCardListComponent {
|
|
|
1525
1525
|
static {
|
|
1526
1526
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1527
1527
|
minVersion: "17.0.0",
|
|
1528
|
-
version: "22.2.
|
|
1528
|
+
version: "22.2.3",
|
|
1529
1529
|
type: TestimonialCardListComponent,
|
|
1530
1530
|
isStandalone: false,
|
|
1531
1531
|
selector: "pw-testimonial-card",
|
|
@@ -1578,7 +1578,7 @@ var TestimonialCardListComponent = class TestimonialCardListComponent {
|
|
|
1578
1578
|
};
|
|
1579
1579
|
i0.ɵɵngDeclareClassMetadata({
|
|
1580
1580
|
minVersion: "12.0.0",
|
|
1581
|
-
version: "22.2.
|
|
1581
|
+
version: "22.2.3",
|
|
1582
1582
|
ngImport: i0,
|
|
1583
1583
|
type: TestimonialCardListComponent,
|
|
1584
1584
|
decorators: [{
|