@posiwise/dashboard-module 0.0.153 → 0.0.154
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.
|
@@ -53,7 +53,7 @@ var DocumentationComponent = class DocumentationComponent {
|
|
|
53
53
|
static {
|
|
54
54
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
55
55
|
minVersion: "12.0.0",
|
|
56
|
-
version: "22.2.
|
|
56
|
+
version: "22.2.3",
|
|
57
57
|
ngImport: i0,
|
|
58
58
|
type: DocumentationComponent,
|
|
59
59
|
deps: [{ token: i1$2.DomSanitizer }],
|
|
@@ -63,7 +63,7 @@ var DocumentationComponent = class DocumentationComponent {
|
|
|
63
63
|
static {
|
|
64
64
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
65
65
|
minVersion: "17.0.0",
|
|
66
|
-
version: "22.2.
|
|
66
|
+
version: "22.2.3",
|
|
67
67
|
type: DocumentationComponent,
|
|
68
68
|
isStandalone: false,
|
|
69
69
|
selector: "pw-documentation",
|
|
@@ -89,7 +89,7 @@ var DocumentationComponent = class DocumentationComponent {
|
|
|
89
89
|
};
|
|
90
90
|
i0.ɵɵngDeclareClassMetadata({
|
|
91
91
|
minVersion: "12.0.0",
|
|
92
|
-
version: "22.2.
|
|
92
|
+
version: "22.2.3",
|
|
93
93
|
ngImport: i0,
|
|
94
94
|
type: DocumentationComponent,
|
|
95
95
|
decorators: [{
|
|
@@ -222,7 +222,7 @@ var FaqComponent = class FaqComponent extends AppBaseComponent {
|
|
|
222
222
|
static {
|
|
223
223
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
224
224
|
minVersion: "12.0.0",
|
|
225
|
-
version: "22.2.
|
|
225
|
+
version: "22.2.3",
|
|
226
226
|
ngImport: i0,
|
|
227
227
|
type: FaqComponent,
|
|
228
228
|
deps: [
|
|
@@ -238,7 +238,7 @@ var FaqComponent = class FaqComponent extends AppBaseComponent {
|
|
|
238
238
|
static {
|
|
239
239
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
240
240
|
minVersion: "17.0.0",
|
|
241
|
-
version: "22.2.
|
|
241
|
+
version: "22.2.3",
|
|
242
242
|
type: FaqComponent,
|
|
243
243
|
isStandalone: false,
|
|
244
244
|
selector: "pw-faq",
|
|
@@ -329,7 +329,7 @@ var FaqComponent = class FaqComponent extends AppBaseComponent {
|
|
|
329
329
|
};
|
|
330
330
|
i0.ɵɵngDeclareClassMetadata({
|
|
331
331
|
minVersion: "12.0.0",
|
|
332
|
-
version: "22.2.
|
|
332
|
+
version: "22.2.3",
|
|
333
333
|
ngImport: i0,
|
|
334
334
|
type: FaqComponent,
|
|
335
335
|
decorators: [{
|
|
@@ -432,7 +432,7 @@ var FaqDetailsComponent = class FaqDetailsComponent extends AppBaseComponent {
|
|
|
432
432
|
static {
|
|
433
433
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
434
434
|
minVersion: "12.0.0",
|
|
435
|
-
version: "22.2.
|
|
435
|
+
version: "22.2.3",
|
|
436
436
|
ngImport: i0,
|
|
437
437
|
type: FaqDetailsComponent,
|
|
438
438
|
deps: [
|
|
@@ -447,7 +447,7 @@ var FaqDetailsComponent = class FaqDetailsComponent extends AppBaseComponent {
|
|
|
447
447
|
static {
|
|
448
448
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
449
449
|
minVersion: "17.0.0",
|
|
450
|
-
version: "22.2.
|
|
450
|
+
version: "22.2.3",
|
|
451
451
|
type: FaqDetailsComponent,
|
|
452
452
|
isStandalone: false,
|
|
453
453
|
selector: "pw-faq-details",
|
|
@@ -549,7 +549,7 @@ var FaqDetailsComponent = class FaqDetailsComponent extends AppBaseComponent {
|
|
|
549
549
|
};
|
|
550
550
|
i0.ɵɵngDeclareClassMetadata({
|
|
551
551
|
minVersion: "12.0.0",
|
|
552
|
-
version: "22.2.
|
|
552
|
+
version: "22.2.3",
|
|
553
553
|
ngImport: i0,
|
|
554
554
|
type: FaqDetailsComponent,
|
|
555
555
|
decorators: [{
|
|
@@ -628,7 +628,7 @@ var UserFeedbackComponent = class UserFeedbackComponent extends AppBaseComponent
|
|
|
628
628
|
static {
|
|
629
629
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
630
630
|
minVersion: "12.0.0",
|
|
631
|
-
version: "22.2.
|
|
631
|
+
version: "22.2.3",
|
|
632
632
|
ngImport: i0,
|
|
633
633
|
type: UserFeedbackComponent,
|
|
634
634
|
deps: [
|
|
@@ -642,13 +642,13 @@ var UserFeedbackComponent = class UserFeedbackComponent extends AppBaseComponent
|
|
|
642
642
|
static {
|
|
643
643
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
644
644
|
minVersion: "17.0.0",
|
|
645
|
-
version: "22.2.
|
|
645
|
+
version: "22.2.3",
|
|
646
646
|
type: UserFeedbackComponent,
|
|
647
647
|
isStandalone: false,
|
|
648
648
|
selector: "pw-user-feedback",
|
|
649
649
|
usesInheritance: true,
|
|
650
650
|
ngImport: i0,
|
|
651
|
-
template: "@if (showSection) {\n @if (questions?.length) {\n <div class=\"mt-4\"\n >\n <div class=\"card pb-1\">\n <h3 class=\"text-end me-3 pt-2 cursor-pointer\"\n (keydown.enter)=\"closeSection()\"\n (click)=\"closeSection()\">×</h3>\n @for (question of questions; track trackByQuestion($index, question); let first = $first) {\n <div class=\"card-content p-0\"\n >\n <div class=\"card-header\">\n <form #feedbackForm=\"ngForm\">\n <div class=\"col-lg-8 p-0 mx-auto\">\n @if (first) {\n <h3 class=\"mb-1\"\n >
|
|
651
|
+
template: "@if (showSection) {\n @if (questions?.length) {\n <div class=\"mt-4\"\n >\n <div class=\"card pb-1\">\n <h3 class=\"text-end me-3 pt-2 cursor-pointer\"\n (keydown.enter)=\"closeSection()\"\n (click)=\"closeSection()\">×</h3>\n @for (question of questions; track trackByQuestion($index, question); let first = $first) {\n <div class=\"card-content p-0\"\n >\n <div class=\"card-header\">\n <form #feedbackForm=\"ngForm\">\n <div class=\"col-lg-8 p-0 mx-auto\">\n @if (first) {\n <h3 class=\"mb-1\"\n >{{ 'Feedback.Title' | transloco }}</h3>\n }\n @if (first) {\n <p class=\"mb-4\"\n >\n {{ 'Feedback.Intro' | transloco }}\n </p>\n }\n <h6 class=\"fw-bold pb-3 mx-auto\">{{ question?.question }}</h6>\n <div class=\"text-center row p-2 mx-md-2 feedback-value\">\n <span class=\"col-auto me-0\">{{ 'Feedback.NotAtAll' | transloco }}</span>\n @for (val of counter(11); track val; let i = $index) {\n <div class=\"p-field-checkbox col-auto ms-0 me-0\">\n <p-radio-button name=\"feedback\" [(ngModel)]=\"selectedValue\" [value]=\"i\" [inputId]=\"i\"></p-radio-button>\n <br />\n <label [for]=\"i\">{{ i }}</label>\n </div>\n }\n <span class=\"col-auto ms-0\">{{ 'Feedback.Extremely' | transloco }}</span>\n </div>\n <div class=\"text mt-3\">\n <h6>{{ 'Feedback.ReasonQuestion' | transloco }}</h6>\n <label for=\"user-feedback-description\" class=\"visually-hidden\">{{ 'Feedback.ReasonLabel' | transloco }}</label>\n <textarea id=\"user-feedback-description\"\n rows=\"4\"\n name=\"description\"\n [placeholder]=\"'Feedback.ReasonPlaceholder' | transloco\"\n ngModel\n type=\"text\"\n pInputTextarea\n class=\"form-control\"\n [attr.aria-label]=\"'Feedback.ReasonPlaceholder' | transloco\">\n </textarea>\n </div>\n <div class=\"mt-3\">\n <button class=\"btn btn-primary d-block mx-auto\"\n (click)=\"onSubmit(question?.id, feedbackForm.value)\">\n {{ 'Button.Submit' | transloco }}\n </button>\n </div>\n </div>\n </form>\n </div>\n </div>\n }\n </div>\n </div>\n }\n}\n",
|
|
652
652
|
styles: ["::ng-deep .p-radiobutton-checked .p-radiobutton-box{border-color:var(--first)!important;background:var(--first)!important}.feedback-value{justify-content:center}.feedback-value label{color:#000000de;cursor:pointer;font-size:1rem;font-weight:400;letter-spacing:normal;margin-left:10px;margin-right:10px;text-transform:none}.feedback-value .p-field-checkbox{margin:0 10px}\n"],
|
|
653
653
|
dependencies: [
|
|
654
654
|
{
|
|
@@ -712,6 +712,11 @@ var UserFeedbackComponent = class UserFeedbackComponent extends AppBaseComponent
|
|
|
712
712
|
"onFocus",
|
|
713
713
|
"onBlur"
|
|
714
714
|
]
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
kind: "pipe",
|
|
718
|
+
type: i7.TranslocoPipe,
|
|
719
|
+
name: "transloco"
|
|
715
720
|
}
|
|
716
721
|
]
|
|
717
722
|
});
|
|
@@ -719,7 +724,7 @@ var UserFeedbackComponent = class UserFeedbackComponent extends AppBaseComponent
|
|
|
719
724
|
};
|
|
720
725
|
i0.ɵɵngDeclareClassMetadata({
|
|
721
726
|
minVersion: "12.0.0",
|
|
722
|
-
version: "22.2.
|
|
727
|
+
version: "22.2.3",
|
|
723
728
|
ngImport: i0,
|
|
724
729
|
type: UserFeedbackComponent,
|
|
725
730
|
decorators: [{
|
|
@@ -727,7 +732,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
727
732
|
args: [{
|
|
728
733
|
selector: "pw-user-feedback",
|
|
729
734
|
standalone: false,
|
|
730
|
-
template: "@if (showSection) {\n @if (questions?.length) {\n <div class=\"mt-4\"\n >\n <div class=\"card pb-1\">\n <h3 class=\"text-end me-3 pt-2 cursor-pointer\"\n (keydown.enter)=\"closeSection()\"\n (click)=\"closeSection()\">×</h3>\n @for (question of questions; track trackByQuestion($index, question); let first = $first) {\n <div class=\"card-content p-0\"\n >\n <div class=\"card-header\">\n <form #feedbackForm=\"ngForm\">\n <div class=\"col-lg-8 p-0 mx-auto\">\n @if (first) {\n <h3 class=\"mb-1\"\n >
|
|
735
|
+
template: "@if (showSection) {\n @if (questions?.length) {\n <div class=\"mt-4\"\n >\n <div class=\"card pb-1\">\n <h3 class=\"text-end me-3 pt-2 cursor-pointer\"\n (keydown.enter)=\"closeSection()\"\n (click)=\"closeSection()\">×</h3>\n @for (question of questions; track trackByQuestion($index, question); let first = $first) {\n <div class=\"card-content p-0\"\n >\n <div class=\"card-header\">\n <form #feedbackForm=\"ngForm\">\n <div class=\"col-lg-8 p-0 mx-auto\">\n @if (first) {\n <h3 class=\"mb-1\"\n >{{ 'Feedback.Title' | transloco }}</h3>\n }\n @if (first) {\n <p class=\"mb-4\"\n >\n {{ 'Feedback.Intro' | transloco }}\n </p>\n }\n <h6 class=\"fw-bold pb-3 mx-auto\">{{ question?.question }}</h6>\n <div class=\"text-center row p-2 mx-md-2 feedback-value\">\n <span class=\"col-auto me-0\">{{ 'Feedback.NotAtAll' | transloco }}</span>\n @for (val of counter(11); track val; let i = $index) {\n <div class=\"p-field-checkbox col-auto ms-0 me-0\">\n <p-radio-button name=\"feedback\" [(ngModel)]=\"selectedValue\" [value]=\"i\" [inputId]=\"i\"></p-radio-button>\n <br />\n <label [for]=\"i\">{{ i }}</label>\n </div>\n }\n <span class=\"col-auto ms-0\">{{ 'Feedback.Extremely' | transloco }}</span>\n </div>\n <div class=\"text mt-3\">\n <h6>{{ 'Feedback.ReasonQuestion' | transloco }}</h6>\n <label for=\"user-feedback-description\" class=\"visually-hidden\">{{ 'Feedback.ReasonLabel' | transloco }}</label>\n <textarea id=\"user-feedback-description\"\n rows=\"4\"\n name=\"description\"\n [placeholder]=\"'Feedback.ReasonPlaceholder' | transloco\"\n ngModel\n type=\"text\"\n pInputTextarea\n class=\"form-control\"\n [attr.aria-label]=\"'Feedback.ReasonPlaceholder' | transloco\">\n </textarea>\n </div>\n <div class=\"mt-3\">\n <button class=\"btn btn-primary d-block mx-auto\"\n (click)=\"onSubmit(question?.id, feedbackForm.value)\">\n {{ 'Button.Submit' | transloco }}\n </button>\n </div>\n </div>\n </form>\n </div>\n </div>\n }\n </div>\n </div>\n }\n}\n",
|
|
731
736
|
styles: ["::ng-deep .p-radiobutton-checked .p-radiobutton-box{border-color:var(--first)!important;background:var(--first)!important}.feedback-value{justify-content:center}.feedback-value label{color:#000000de;cursor:pointer;font-size:1rem;font-weight:400;letter-spacing:normal;margin-left:10px;margin-right:10px;text-transform:none}.feedback-value .p-field-checkbox{margin:0 10px}\n"]
|
|
732
737
|
}]
|
|
733
738
|
}],
|
|
@@ -793,7 +798,7 @@ var HomeComponent = class HomeComponent extends AppBaseComponent {
|
|
|
793
798
|
static {
|
|
794
799
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
795
800
|
minVersion: "12.0.0",
|
|
796
|
-
version: "22.2.
|
|
801
|
+
version: "22.2.3",
|
|
797
802
|
ngImport: i0,
|
|
798
803
|
type: HomeComponent,
|
|
799
804
|
deps: [
|
|
@@ -811,7 +816,7 @@ var HomeComponent = class HomeComponent extends AppBaseComponent {
|
|
|
811
816
|
static {
|
|
812
817
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
813
818
|
minVersion: "17.0.0",
|
|
814
|
-
version: "22.2.
|
|
819
|
+
version: "22.2.3",
|
|
815
820
|
type: HomeComponent,
|
|
816
821
|
isStandalone: false,
|
|
817
822
|
selector: "pw-home",
|
|
@@ -874,7 +879,7 @@ var HomeComponent = class HomeComponent extends AppBaseComponent {
|
|
|
874
879
|
};
|
|
875
880
|
i0.ɵɵngDeclareClassMetadata({
|
|
876
881
|
minVersion: "12.0.0",
|
|
877
|
-
version: "22.2.
|
|
882
|
+
version: "22.2.3",
|
|
878
883
|
ngImport: i0,
|
|
879
884
|
type: HomeComponent,
|
|
880
885
|
decorators: [{
|
|
@@ -962,7 +967,7 @@ var CurrentNotificationsComponent = class CurrentNotificationsComponent {
|
|
|
962
967
|
static {
|
|
963
968
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
964
969
|
minVersion: "12.0.0",
|
|
965
|
-
version: "22.2.
|
|
970
|
+
version: "22.2.3",
|
|
966
971
|
ngImport: i0,
|
|
967
972
|
type: CurrentNotificationsComponent,
|
|
968
973
|
deps: [{ token: i1$1.NotificationService }, { token: i0.ChangeDetectorRef }],
|
|
@@ -972,7 +977,7 @@ var CurrentNotificationsComponent = class CurrentNotificationsComponent {
|
|
|
972
977
|
static {
|
|
973
978
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
974
979
|
minVersion: "17.0.0",
|
|
975
|
-
version: "22.2.
|
|
980
|
+
version: "22.2.3",
|
|
976
981
|
type: CurrentNotificationsComponent,
|
|
977
982
|
isStandalone: false,
|
|
978
983
|
selector: "pw-current-notifications",
|
|
@@ -1027,7 +1032,7 @@ var CurrentNotificationsComponent = class CurrentNotificationsComponent {
|
|
|
1027
1032
|
};
|
|
1028
1033
|
i0.ɵɵngDeclareClassMetadata({
|
|
1029
1034
|
minVersion: "12.0.0",
|
|
1030
|
-
version: "22.2.
|
|
1035
|
+
version: "22.2.3",
|
|
1031
1036
|
ngImport: i0,
|
|
1032
1037
|
type: CurrentNotificationsComponent,
|
|
1033
1038
|
decorators: [{
|
|
@@ -1116,7 +1121,7 @@ var DismissedNotificationsComponent = class DismissedNotificationsComponent {
|
|
|
1116
1121
|
static {
|
|
1117
1122
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
1118
1123
|
minVersion: "12.0.0",
|
|
1119
|
-
version: "22.2.
|
|
1124
|
+
version: "22.2.3",
|
|
1120
1125
|
ngImport: i0,
|
|
1121
1126
|
type: DismissedNotificationsComponent,
|
|
1122
1127
|
deps: [{ token: i1$1.NotificationService }, { token: i0.ChangeDetectorRef }],
|
|
@@ -1126,7 +1131,7 @@ var DismissedNotificationsComponent = class DismissedNotificationsComponent {
|
|
|
1126
1131
|
static {
|
|
1127
1132
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1128
1133
|
minVersion: "17.0.0",
|
|
1129
|
-
version: "22.2.
|
|
1134
|
+
version: "22.2.3",
|
|
1130
1135
|
type: DismissedNotificationsComponent,
|
|
1131
1136
|
isStandalone: false,
|
|
1132
1137
|
selector: "pw-dismissed-notifications",
|
|
@@ -1181,7 +1186,7 @@ var DismissedNotificationsComponent = class DismissedNotificationsComponent {
|
|
|
1181
1186
|
};
|
|
1182
1187
|
i0.ɵɵngDeclareClassMetadata({
|
|
1183
1188
|
minVersion: "12.0.0",
|
|
1184
|
-
version: "22.2.
|
|
1189
|
+
version: "22.2.3",
|
|
1185
1190
|
ngImport: i0,
|
|
1186
1191
|
type: DismissedNotificationsComponent,
|
|
1187
1192
|
decorators: [{
|
|
@@ -1199,7 +1204,7 @@ var NotificationsPageComponent = class NotificationsPageComponent {
|
|
|
1199
1204
|
static {
|
|
1200
1205
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
1201
1206
|
minVersion: "12.0.0",
|
|
1202
|
-
version: "22.2.
|
|
1207
|
+
version: "22.2.3",
|
|
1203
1208
|
ngImport: i0,
|
|
1204
1209
|
type: NotificationsPageComponent,
|
|
1205
1210
|
deps: [],
|
|
@@ -1209,7 +1214,7 @@ var NotificationsPageComponent = class NotificationsPageComponent {
|
|
|
1209
1214
|
static {
|
|
1210
1215
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1211
1216
|
minVersion: "14.0.0",
|
|
1212
|
-
version: "22.2.
|
|
1217
|
+
version: "22.2.3",
|
|
1213
1218
|
type: NotificationsPageComponent,
|
|
1214
1219
|
isStandalone: false,
|
|
1215
1220
|
selector: "pw-notifications-page",
|
|
@@ -1292,7 +1297,7 @@ var NotificationsPageComponent = class NotificationsPageComponent {
|
|
|
1292
1297
|
};
|
|
1293
1298
|
i0.ɵɵngDeclareClassMetadata({
|
|
1294
1299
|
minVersion: "12.0.0",
|
|
1295
|
-
version: "22.2.
|
|
1300
|
+
version: "22.2.3",
|
|
1296
1301
|
ngImport: i0,
|
|
1297
1302
|
type: NotificationsPageComponent,
|
|
1298
1303
|
decorators: [{
|
|
@@ -1381,7 +1386,7 @@ var SearchComponent = class SearchComponent {
|
|
|
1381
1386
|
static {
|
|
1382
1387
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
1383
1388
|
minVersion: "12.0.0",
|
|
1384
|
-
version: "22.2.
|
|
1389
|
+
version: "22.2.3",
|
|
1385
1390
|
ngImport: i0,
|
|
1386
1391
|
type: SearchComponent,
|
|
1387
1392
|
deps: [
|
|
@@ -1395,7 +1400,7 @@ var SearchComponent = class SearchComponent {
|
|
|
1395
1400
|
static {
|
|
1396
1401
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1397
1402
|
minVersion: "17.0.0",
|
|
1398
|
-
version: "22.2.
|
|
1403
|
+
version: "22.2.3",
|
|
1399
1404
|
type: SearchComponent,
|
|
1400
1405
|
isStandalone: false,
|
|
1401
1406
|
selector: "pw-search",
|
|
@@ -1472,7 +1477,7 @@ var SearchComponent = class SearchComponent {
|
|
|
1472
1477
|
};
|
|
1473
1478
|
i0.ɵɵngDeclareClassMetadata({
|
|
1474
1479
|
minVersion: "12.0.0",
|
|
1475
|
-
version: "22.2.
|
|
1480
|
+
version: "22.2.3",
|
|
1476
1481
|
ngImport: i0,
|
|
1477
1482
|
type: SearchComponent,
|
|
1478
1483
|
decorators: [{
|
|
@@ -1494,7 +1499,7 @@ var DashboardContentModule = class DashboardContentModule {
|
|
|
1494
1499
|
static {
|
|
1495
1500
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
1496
1501
|
minVersion: "12.0.0",
|
|
1497
|
-
version: "22.2.
|
|
1502
|
+
version: "22.2.3",
|
|
1498
1503
|
ngImport: i0,
|
|
1499
1504
|
type: DashboardContentModule,
|
|
1500
1505
|
deps: [],
|
|
@@ -1504,7 +1509,7 @@ var DashboardContentModule = class DashboardContentModule {
|
|
|
1504
1509
|
static {
|
|
1505
1510
|
this.ɵmod = i0.ɵɵngDeclareNgModule({
|
|
1506
1511
|
minVersion: "14.0.0",
|
|
1507
|
-
version: "22.2.
|
|
1512
|
+
version: "22.2.3",
|
|
1508
1513
|
ngImport: i0,
|
|
1509
1514
|
type: DashboardContentModule,
|
|
1510
1515
|
declarations: [
|
|
@@ -1549,7 +1554,7 @@ var DashboardContentModule = class DashboardContentModule {
|
|
|
1549
1554
|
static {
|
|
1550
1555
|
this.ɵinj = i0.ɵɵngDeclareInjector({
|
|
1551
1556
|
minVersion: "12.0.0",
|
|
1552
|
-
version: "22.2.
|
|
1557
|
+
version: "22.2.3",
|
|
1553
1558
|
ngImport: i0,
|
|
1554
1559
|
type: DashboardContentModule,
|
|
1555
1560
|
imports: [
|
|
@@ -1571,7 +1576,7 @@ var DashboardContentModule = class DashboardContentModule {
|
|
|
1571
1576
|
};
|
|
1572
1577
|
i0.ɵɵngDeclareClassMetadata({
|
|
1573
1578
|
minVersion: "12.0.0",
|
|
1574
|
-
version: "22.2.
|
|
1579
|
+
version: "22.2.3",
|
|
1575
1580
|
ngImport: i0,
|
|
1576
1581
|
type: DashboardContentModule,
|
|
1577
1582
|
decorators: [{
|
|
@@ -1622,7 +1627,7 @@ var DashboardLibModule = class DashboardLibModule {
|
|
|
1622
1627
|
static {
|
|
1623
1628
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
1624
1629
|
minVersion: "12.0.0",
|
|
1625
|
-
version: "22.2.
|
|
1630
|
+
version: "22.2.3",
|
|
1626
1631
|
ngImport: i0,
|
|
1627
1632
|
type: DashboardLibModule,
|
|
1628
1633
|
deps: [],
|
|
@@ -1632,7 +1637,7 @@ var DashboardLibModule = class DashboardLibModule {
|
|
|
1632
1637
|
static {
|
|
1633
1638
|
this.ɵmod = i0.ɵɵngDeclareNgModule({
|
|
1634
1639
|
minVersion: "14.0.0",
|
|
1635
|
-
version: "22.2.
|
|
1640
|
+
version: "22.2.3",
|
|
1636
1641
|
ngImport: i0,
|
|
1637
1642
|
type: DashboardLibModule,
|
|
1638
1643
|
imports: [
|
|
@@ -1655,7 +1660,7 @@ var DashboardLibModule = class DashboardLibModule {
|
|
|
1655
1660
|
static {
|
|
1656
1661
|
this.ɵinj = i0.ɵɵngDeclareInjector({
|
|
1657
1662
|
minVersion: "12.0.0",
|
|
1658
|
-
version: "22.2.
|
|
1663
|
+
version: "22.2.3",
|
|
1659
1664
|
ngImport: i0,
|
|
1660
1665
|
type: DashboardLibModule,
|
|
1661
1666
|
providers: [SubscriptionService],
|
|
@@ -1679,7 +1684,7 @@ var DashboardLibModule = class DashboardLibModule {
|
|
|
1679
1684
|
};
|
|
1680
1685
|
i0.ɵɵngDeclareClassMetadata({
|
|
1681
1686
|
minVersion: "12.0.0",
|
|
1682
|
-
version: "22.2.
|
|
1687
|
+
version: "22.2.3",
|
|
1683
1688
|
ngImport: i0,
|
|
1684
1689
|
type: DashboardLibModule,
|
|
1685
1690
|
decorators: [{
|
|
@@ -1739,6 +1744,7 @@ const COMMON_MENUS = {
|
|
|
1739
1744
|
permission: "Pages.Product.{permission_key}.{feature_key}.FAQ",
|
|
1740
1745
|
path: "/faq",
|
|
1741
1746
|
title: "FAQ",
|
|
1747
|
+
titleKey: "Menu.Faq",
|
|
1742
1748
|
icon: "ft-info",
|
|
1743
1749
|
order: 999
|
|
1744
1750
|
}),
|
|
@@ -1746,6 +1752,7 @@ const COMMON_MENUS = {
|
|
|
1746
1752
|
permission: "Pages.Product.{permission_key}.{feature_key}.Enterprise",
|
|
1747
1753
|
path: "/enterprise",
|
|
1748
1754
|
title: "Enterprise",
|
|
1755
|
+
titleKey: "Menu.Enterprise",
|
|
1749
1756
|
icon: "ft-package",
|
|
1750
1757
|
class: "has-sub",
|
|
1751
1758
|
badgeClass: "badge rounded-pill bg-danger float-end mt-1",
|
|
@@ -1754,42 +1761,49 @@ const COMMON_MENUS = {
|
|
|
1754
1761
|
createSubMenuItem({
|
|
1755
1762
|
path: ":slug/enterprise/members",
|
|
1756
1763
|
title: "Members",
|
|
1764
|
+
titleKey: "Menu.Enterprise.Members",
|
|
1757
1765
|
icon: "far fa-users"
|
|
1758
1766
|
}),
|
|
1759
1767
|
createSubMenuItem({
|
|
1760
1768
|
permission: "Pages.Alpha",
|
|
1761
1769
|
path: ":slug/enterprise/partners",
|
|
1762
1770
|
title: "Partners",
|
|
1771
|
+
titleKey: "Menu.Enterprise.Partners",
|
|
1763
1772
|
icon: "far fa-users"
|
|
1764
1773
|
}),
|
|
1765
1774
|
createSubMenuItem({
|
|
1766
1775
|
permission: "Pages.Beta",
|
|
1767
1776
|
path: ":slug/enterprise/groups",
|
|
1768
1777
|
title: "Teams",
|
|
1778
|
+
titleKey: "Menu.Enterprise.Teams",
|
|
1769
1779
|
icon: "far fa-users-class"
|
|
1770
1780
|
}),
|
|
1771
1781
|
createSubMenuItem({
|
|
1772
1782
|
permission: "Pages.Beta",
|
|
1773
1783
|
path: ":slug/enterprise/communications",
|
|
1774
1784
|
title: "Communications",
|
|
1785
|
+
titleKey: "Menu.Enterprise.Communications",
|
|
1775
1786
|
icon: "fas fa-comments"
|
|
1776
1787
|
}),
|
|
1777
1788
|
createSubMenuItem({
|
|
1778
1789
|
permission: "Pages.Beta",
|
|
1779
1790
|
path: ":slug/enterprise/wiki",
|
|
1780
1791
|
title: "Documentation",
|
|
1792
|
+
titleKey: "Menu.Enterprise.Documentation",
|
|
1781
1793
|
icon: "fab fa-wikipedia-w"
|
|
1782
1794
|
}),
|
|
1783
1795
|
createSubMenuItem({
|
|
1784
1796
|
permission: "granted:Pages.Alpha && ( SuperAdmin || SubscriptionAdmin )",
|
|
1785
1797
|
path: ":slug/enterprise/ai-knowledge",
|
|
1786
1798
|
title: "AI Knowledge",
|
|
1799
|
+
titleKey: "Menu.Enterprise.AiKnowledge",
|
|
1787
1800
|
icon: "fa fa-brain"
|
|
1788
1801
|
}),
|
|
1789
1802
|
createSubMenuItem({
|
|
1790
1803
|
permission: "Pages.Beta",
|
|
1791
1804
|
path: ":slug/enterprise/insights",
|
|
1792
1805
|
title: "Insights",
|
|
1806
|
+
titleKey: "Menu.Enterprise.Insights",
|
|
1793
1807
|
icon: "far fa-tag"
|
|
1794
1808
|
})
|
|
1795
1809
|
]
|
|
@@ -1798,6 +1812,7 @@ const COMMON_MENUS = {
|
|
|
1798
1812
|
permission: "Pages.Product.{permission_key}.{feature_key}.Chat",
|
|
1799
1813
|
path: "/message",
|
|
1800
1814
|
title: "Chat",
|
|
1815
|
+
titleKey: "Menu.Chat",
|
|
1801
1816
|
icon: "ft-message-square",
|
|
1802
1817
|
badgeClass: "badge rounded-pill bg-danger float-end mt-1",
|
|
1803
1818
|
order: 2
|
|
@@ -1806,6 +1821,7 @@ const COMMON_MENUS = {
|
|
|
1806
1821
|
permission: "Pages.Product.{permission_key}.{feature_key}.Blog || Pages.Role.MarketingManager || Pages.Role.CustomerSuccessManager",
|
|
1807
1822
|
path: "/posts/list",
|
|
1808
1823
|
title: "Blog",
|
|
1824
|
+
titleKey: "Menu.Blog",
|
|
1809
1825
|
icon: "far fa-blog"
|
|
1810
1826
|
})
|
|
1811
1827
|
};
|
|
@@ -1861,111 +1877,133 @@ const ADMIN_MENU_DATA = [
|
|
|
1861
1877
|
{
|
|
1862
1878
|
key: "GENERIC",
|
|
1863
1879
|
title: "Generic",
|
|
1880
|
+
titleKey: "Menu.Admin.Generic",
|
|
1864
1881
|
icon: "far fa-book"
|
|
1865
1882
|
},
|
|
1866
1883
|
{
|
|
1867
1884
|
key: "DOMAIN_CONFIG",
|
|
1868
1885
|
title: "Domains",
|
|
1886
|
+
titleKey: "Menu.Admin.Domains",
|
|
1869
1887
|
icon: "fa fa-fw fa-cog"
|
|
1870
1888
|
},
|
|
1871
1889
|
{
|
|
1872
1890
|
key: "USERS",
|
|
1873
1891
|
title: "Users",
|
|
1892
|
+
titleKey: "Menu.Admin.Users",
|
|
1874
1893
|
icon: "far fa-user-cog"
|
|
1875
1894
|
},
|
|
1876
1895
|
{
|
|
1877
1896
|
key: "SUBSCRIPTION",
|
|
1878
1897
|
title: "Subscriptions",
|
|
1898
|
+
titleKey: "Menu.Admin.Subscriptions",
|
|
1879
1899
|
icon: "ft-box"
|
|
1880
1900
|
},
|
|
1881
1901
|
{
|
|
1882
1902
|
key: "PRODUCT",
|
|
1883
1903
|
title: "Products",
|
|
1904
|
+
titleKey: "Menu.Admin.Products",
|
|
1884
1905
|
icon: "far fa-parking"
|
|
1885
1906
|
},
|
|
1886
1907
|
{
|
|
1887
1908
|
key: "LOGIN_NOTIFICATION",
|
|
1888
1909
|
title: "Notifications",
|
|
1910
|
+
titleKey: "Menu.Admin.Notifications",
|
|
1889
1911
|
icon: "fa fa-fw fa-bell"
|
|
1890
1912
|
},
|
|
1891
1913
|
{
|
|
1892
1914
|
key: "NEWSLETTER",
|
|
1893
1915
|
title: "Newsletters",
|
|
1916
|
+
titleKey: "Menu.Admin.Newsletters",
|
|
1894
1917
|
icon: "far fa-newspaper"
|
|
1895
1918
|
},
|
|
1896
1919
|
{
|
|
1897
1920
|
key: "MAILER",
|
|
1898
1921
|
title: "Mailers",
|
|
1922
|
+
titleKey: "Menu.Admin.Mailers",
|
|
1899
1923
|
icon: "far fa-envelope"
|
|
1900
1924
|
},
|
|
1901
1925
|
{
|
|
1902
1926
|
key: "BLOG",
|
|
1903
1927
|
title: "Resources",
|
|
1928
|
+
titleKey: "Resource.Posts.Title",
|
|
1904
1929
|
icon: "far fa-blog"
|
|
1905
1930
|
},
|
|
1906
1931
|
{
|
|
1907
1932
|
key: "FEATURE_FLAGS",
|
|
1908
1933
|
title: "Feature Flags",
|
|
1934
|
+
titleKey: "Menu.Admin.FeatureFlags",
|
|
1909
1935
|
icon: "fa fa-fw fa-toggle-on"
|
|
1910
1936
|
},
|
|
1911
1937
|
{
|
|
1912
1938
|
key: "FAQ",
|
|
1913
1939
|
title: "FAQs",
|
|
1940
|
+
titleKey: "Menu.Admin.Faqs",
|
|
1914
1941
|
icon: "fa fa-question"
|
|
1915
1942
|
},
|
|
1916
1943
|
{
|
|
1917
1944
|
key: "INCIDENT",
|
|
1918
1945
|
title: "Incidents",
|
|
1946
|
+
titleKey: "Menu.Admin.Incidents",
|
|
1919
1947
|
icon: "fa fa-solid fa-triangle-exclamation"
|
|
1920
1948
|
},
|
|
1921
1949
|
{
|
|
1922
1950
|
key: "CONTACT_US",
|
|
1923
1951
|
title: "Contact Us",
|
|
1952
|
+
titleKey: "Menu.Admin.ContactUs",
|
|
1924
1953
|
icon: "fa fa-address-book"
|
|
1925
1954
|
},
|
|
1926
1955
|
{
|
|
1927
1956
|
key: "TIPS",
|
|
1928
1957
|
title: "Tours",
|
|
1958
|
+
titleKey: "Menu.Admin.Tours",
|
|
1929
1959
|
icon: "far fa-lightbulb"
|
|
1930
1960
|
},
|
|
1931
1961
|
{
|
|
1932
1962
|
key: "TAGS",
|
|
1933
1963
|
title: "Tags",
|
|
1964
|
+
titleKey: "Menu.Admin.Tags",
|
|
1934
1965
|
icon: "far fa-tags"
|
|
1935
1966
|
},
|
|
1936
1967
|
{
|
|
1937
1968
|
key: "ROLES",
|
|
1938
1969
|
title: "Permissions",
|
|
1970
|
+
titleKey: "Label.Permissions",
|
|
1939
1971
|
icon: "fas fa-key"
|
|
1940
1972
|
},
|
|
1941
1973
|
{
|
|
1942
1974
|
key: "TOS",
|
|
1943
1975
|
title: "Privacy & TOS",
|
|
1976
|
+
titleKey: "Menu.Admin.PrivacyTos",
|
|
1944
1977
|
icon: "fas fa-sticky-note"
|
|
1945
1978
|
},
|
|
1946
1979
|
{
|
|
1947
1980
|
key: "CREDENTIAL",
|
|
1948
1981
|
title: "Credentials",
|
|
1982
|
+
titleKey: "Menu.Admin.Credentials",
|
|
1949
1983
|
icon: "fas fa-file-signature"
|
|
1950
1984
|
},
|
|
1951
1985
|
{
|
|
1952
1986
|
key: "OAUTH_CLIENTS",
|
|
1953
1987
|
title: "MCP OAuth Clients",
|
|
1988
|
+
titleKey: "Admin.OauthClients.Title",
|
|
1954
1989
|
icon: "fas fa-robot"
|
|
1955
1990
|
},
|
|
1956
1991
|
{
|
|
1957
1992
|
key: "AMBASSADOR_PAYOUTS",
|
|
1958
1993
|
title: "Ambassador Payouts",
|
|
1994
|
+
titleKey: "Admin.AmbassadorPayouts.Title",
|
|
1959
1995
|
icon: "fa fa-handshake"
|
|
1960
1996
|
},
|
|
1961
1997
|
{
|
|
1962
1998
|
key: "TRACKING",
|
|
1963
1999
|
title: "Tracking",
|
|
2000
|
+
titleKey: "Menu.Admin.Tracking",
|
|
1964
2001
|
icon: "fa fa-map-marker"
|
|
1965
2002
|
},
|
|
1966
2003
|
{
|
|
1967
2004
|
key: "GLOBAL_CONFIG",
|
|
1968
2005
|
title: "Global Configs",
|
|
2006
|
+
titleKey: "Menu.Admin.GlobalConfigs",
|
|
1969
2007
|
icon: "fa fa-fw fa-cog"
|
|
1970
2008
|
}
|
|
1971
2009
|
];
|
|
@@ -1973,6 +2011,7 @@ const createAdminSubMenuItem = (menuKey) => createSubMenuItem({
|
|
|
1973
2011
|
permission: ADMIN_PERMISSIONS[menuKey],
|
|
1974
2012
|
path: ADMIN_PATHS[menuKey],
|
|
1975
2013
|
title: ADMIN_MENU_DATA.find((item) => item.key === menuKey)?.title || "",
|
|
2014
|
+
titleKey: ADMIN_MENU_DATA.find((item) => item.key === menuKey)?.titleKey,
|
|
1976
2015
|
icon: ADMIN_MENU_DATA.find((item) => item.key === menuKey)?.icon || ""
|
|
1977
2016
|
});
|
|
1978
2017
|
const generateAdminSubmenu = () => ADMIN_MENU_DATA.map((item) => createAdminSubMenuItem(item.key));
|
|
@@ -1980,12 +2019,14 @@ const ROUTES = [createMenuItem({
|
|
|
1980
2019
|
permission: "Pages.Dashboard",
|
|
1981
2020
|
path: "/home",
|
|
1982
2021
|
title: "Home",
|
|
2022
|
+
titleKey: "Button.Home",
|
|
1983
2023
|
icon: "ft-home",
|
|
1984
2024
|
order: 1
|
|
1985
2025
|
}), createMenuItem({
|
|
1986
2026
|
permission: "Pages.Admin",
|
|
1987
2027
|
path: null,
|
|
1988
2028
|
title: "Admin",
|
|
2029
|
+
titleKey: "Menu.Admin",
|
|
1989
2030
|
icon: "ft-user",
|
|
1990
2031
|
class: "has-sub",
|
|
1991
2032
|
order: 3,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"posiwise-dashboard-module.mjs","names":["i1","i2","i1","i2","i3","i4","i5","i1","i2","i3","i5","i6","i7","i8","i1","i2","i1","i3","i5.UserFeedbackComponent","i6","i1","i3","i4","i1","i3","i4","i2.CurrentNotificationsComponent","i3.DismissedNotificationsComponent","i1","i2","i3","i4","i5","i6","i8"],"sources":["../../../../libs/dashboard-module/src/lib/documentation-view/documentation-view.component.ts","../../../../libs/dashboard-module/src/lib/documentation-view/documentation-view.component.html","../../../../libs/dashboard-module/src/lib/faq/faq-admin-permission.ts","../../../../libs/dashboard-module/src/lib/faq/faq-grouping.ts","../../../../libs/dashboard-module/src/lib/faq/faq.component.ts","../../../../libs/dashboard-module/src/lib/faq/faq.component.html","../../../../libs/dashboard-module/src/lib/faq-details/faq-status-badges.ts","../../../../libs/dashboard-module/src/lib/faq-details/faq-details.component.ts","../../../../libs/dashboard-module/src/lib/faq-details/faq-details.component.html","../../../../libs/dashboard-module/src/lib/home/home-product-sections.token.ts","../../../../libs/dashboard-module/src/lib/user-feedback/user-feedback.component.ts","../../../../libs/dashboard-module/src/lib/user-feedback/user-feedback.component.html","../../../../libs/dashboard-module/src/lib/home/home.component.ts","../../../../libs/dashboard-module/src/lib/home/home.component.html","../../../../libs/dashboard-module/src/lib/notifications-page/current-notifications/current-notifications.component.ts","../../../../libs/dashboard-module/src/lib/notifications-page/current-notifications/current-notifications.component.html","../../../../libs/dashboard-module/src/lib/notifications-page/dismissed-notifications/dismissed-notifications.component.ts","../../../../libs/dashboard-module/src/lib/notifications-page/dismissed-notifications/dismissed-notifications.component.html","../../../../libs/dashboard-module/src/lib/notifications-page/notifications-page.component.ts","../../../../libs/dashboard-module/src/lib/notifications-page/notifications-page.component.html","../../../../libs/dashboard-module/src/lib/search/search.component.ts","../../../../libs/dashboard-module/src/lib/search/search.component.html","../../../../libs/dashboard-module/src/lib/dashboard-content.module.ts","../../../../libs/dashboard-module/src/lib/dashboard.module.ts","../../../../libs/dashboard-module/src/lib/sidebar/sidebar-route-utils.ts","../../../../libs/dashboard-module/src/lib/sidebar/sidebar-routes.config.ts","../../../../libs/dashboard-module/src/lib/sidebar/sidebar-active-group.ts"],"sourcesContent":["import { Component, OnInit } from '@angular/core';\nimport { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';\n\n@Component({\n selector: 'pw-documentation',\n templateUrl: './documentation-view.component.html',\n styleUrls: ['./documentation-view.component.scss'],\n\n standalone: false\n})\nexport class DocumentationComponent implements OnInit {\n iframeUrl: SafeResourceUrl;\n isLoaded = false;\n\n constructor(private readonly sanitizer: DomSanitizer) {}\n\n ngOnInit() {\n // Read from sessionStorage - don't clear it so it persists on refresh\n const sessionStorageUrl = sessionStorage.getItem('documentation_url');\n const rawUrl = sessionStorageUrl;\n\n if (rawUrl) {\n // baseUrl is a trusted internal source (e.g. YouTube embed URL)\n this.iframeUrl = this.sanitizer.bypassSecurityTrustResourceUrl(rawUrl); //NOSONAR\n } else {\n // If no URL is available, mark as loaded to hide spinner\n this.isLoaded = true;\n }\n }\n\n onIframeLoad(): void {\n // Defer change to next tick to avoid ExpressionChangedAfterItHasBeenCheckedError\n setTimeout(() => {\n this.isLoaded = true;\n }, 0);\n }\n}\n","@if (!isLoaded) {\n <div class=\"w-100 text-center mt-3\">\n <p-progress-spinner strokeWidth=\"2\"></p-progress-spinner>\n </div>\n}\n\n<div class=\"documentation-wrapper\" [hidden]=\"!isLoaded || !iframeUrl\">\n @if (iframeUrl) {\n <iframe\n [src]=\"iframeUrl\"\n width=\"100%\"\n height=\"100%\"\n allowfullscreen\n title=\"Documentation Frame\"\n (load)=\"onIframeLoad()\"\n ></iframe>\n }\n</div>\n","/// The permission expression guarding the admin FAQ routes. Kept verbatim in\n/// step with `libs/admin-module/src/lib/admin-module.routing.ts`, where the\n/// `faq` parent and its `add` / `:id` children all carry this exact string.\n/// Offering an edit affordance to anyone `PageAccessGuard` would then bounce\n/// to `notfound` is the failure mode this mirroring exists to prevent.\n///\n/// Shared by the public FAQ list (`FaqComponent`) and the public FAQ detail\n/// page (`FaqDetailsComponent`) so the two surfaces can never drift apart.\nexport const FAQ_ADMIN_PERMISSION =\n 'Pages.Admin.FAQ || Pages.Role.MarketingManager || Pages.Role.CustomerSuccessManager';\n","import { FAQ } from '@posiwise/common-utilities';\n\nimport groupBy from 'lodash/groupBy';\nimport sortBy from 'lodash/sortBy';\n\nexport interface GroupedFaqs {\n [category: string]: FAQ[];\n}\n\n/// Non-product FAQs first, then product-scoped ones, grouped by category and\n/// ordered by `position` within each group.\nexport function groupFaqsByCategory(nonProductFaqs: FAQ[], productFaqs: FAQ[]): GroupedFaqs {\n const grouped = groupBy([...nonProductFaqs, ...productFaqs], 'category');\n\n Object.keys(grouped).forEach(category => {\n grouped[category] = sortBy(grouped[category], 'position');\n });\n\n return grouped;\n}\n\n/// Sanitize every answer up front so the markup is present before the collapse\n/// measures its target height — prevents the end-of-animation height snap that\n/// made expand/collapse feel clunky. Keyed `{itemIndex}-{categoryIndex}` to\n/// match the template's collapse ids.\nexport function buildSanitizedAnswers<T>(\n faqs: GroupedFaqs,\n sanitize: (body: string) => T\n): { [key: string]: T } {\n const answers: { [key: string]: T } = {};\n\n Object.keys(faqs).forEach((category, categoryIndex) => {\n faqs[category].forEach((faq, itemIndex) => {\n if (faq?.answer) {\n answers[`${itemIndex}-${categoryIndex}`] = sanitize(faq.answer);\n }\n });\n });\n\n return answers;\n}\n","import { ChangeDetectorRef, Component, Injector, OnDestroy, OnInit } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\n\nimport { AppBaseComponent } from '@posiwise/app-base-component';\nimport { CommonService, PermissionService, ProductService } from '@posiwise/common-services';\nimport { ADMIN_ROUTERS, FAQ, Product, User } from '@posiwise/common-utilities';\nimport { HelperService } from '@posiwise/helper-service';\n\nimport { forkJoin, Subject } from 'rxjs';\nimport { debounceTime, finalize, takeUntil } from 'rxjs/operators';\n\nimport { FAQ_ADMIN_PERMISSION } from './faq-admin-permission';\nimport { buildSanitizedAnswers, GroupedFaqs, groupFaqsByCategory } from './faq-grouping';\n\nexport { GroupedFaqs };\n\n@Component({\n selector: 'pw-faq',\n templateUrl: './faq.component.html',\n styleUrls: ['./faq.component.scss'],\n\n standalone: false\n})\nexport class FaqComponent extends AppBaseComponent implements OnInit, OnDestroy {\n private readonly searchSubject: Subject<string> = new Subject<string>();\n private readonly destroy$ = new Subject<void>();\n faqs: GroupedFaqs;\n search_term;\n\n sanitizedFaqAnswers: { [key: string]: SafeHtml } = {};\n\n productFaq: FAQ[];\n\n private nonProductFaqs: FAQ[];\n\n private allProductFaqs: FAQ[];\n\n subscriptions = [];\n\n objectKeys = Object.keys;\n\n isLoaded = false;\n masterProductId;\n\n totalRecords: number;\n\n products: Product[];\n\n private faqsResponse = [];\n\n allFaqFalse: boolean;\n\n subscriptionId: number;\n\n showSupport: boolean;\n showDocumentation;\n\n faqHashMap = {};\n slug;\n\n readonly routers = ADMIN_ROUTERS;\n\n /// Whether to offer the inline link through to the admin edit form. Unlike\n /// the detail page, the list endpoint returns each FAQ's `id`, so no\n /// fallback is needed here.\n canEditFaq = false;\n\n constructor(\n private readonly commonService: CommonService,\n injector: Injector,\n private readonly productService: ProductService,\n private readonly sanitizer: DomSanitizer,\n private readonly cdr: ChangeDetectorRef\n ) {\n super(injector);\n }\n\n ngOnInit() {\n this.faqHashMap = {};\n this.showSupport = PermissionService.selectedProduct?.gitlab_service_desk_email;\n this.showDocumentation = PermissionService.selectedProduct?.documentation_url;\n this.slug = PermissionService.selectedSubscription?.slug;\n this.subscriptionId = PermissionService?.selectedSubscription?.id;\n this.masterProductId = this.appConfig.master_subscription.product_id;\n this.canEditFaq = this.permissionService.evaluatePermissions(FAQ_ADMIN_PERMISSION);\n this.getProducts();\n\n this.searchSubject\n .pipe(debounceTime(1000), takeUntil(this.destroy$))\n .subscribe(searchValue => {\n this.search_term = searchValue;\n this.loadFaqData();\n this.cdr.markForCheck();\n });\n\n this.loadFaqData();\n }\n\n loadFaqData() {\n this.isLoaded = false;\n\n forkJoin({\n faqs: this.commonService.getPublicFaq(this.subscriptionId, this.search_term),\n products: this.productService.getProducts({ master_product_id: this.masterProductId })\n })\n .pipe(\n finalize(() => {\n this.isLoaded = true;\n this.cdr.markForCheck();\n })\n )\n .subscribe(({ faqs, products }) => {\n this.faqsResponse = faqs.faqs;\n faqs?.available_category?.forEach(x => {\n this.faqHashMap[x.key] = x;\n });\n this.totalRecords = faqs.faqs.length;\n this.nonProductFaqs = this.faqsResponse.filter(x => x.visible && !x.product_id);\n this.allProductFaqs = this.faqsResponse.filter(x => x.visible && x.product_id);\n const noProductObjects: boolean = this.faqsResponse.every(x => x.product === null);\n this.allFaqFalse = this.faqsResponse.every(x => x.visible === false);\n\n if (!noProductObjects) {\n this.products = products.products;\n this.faqValidation();\n } else {\n this.products = [];\n this.faqValidation();\n }\n this.cdr.markForCheck();\n });\n }\n\n private faqValidation() {\n this.faqs = groupFaqsByCategory(this.nonProductFaqs, this.allProductFaqs);\n this.sanitizedFaqAnswers = buildSanitizedAnswers(this.faqs, body =>\n this.sanitizeFaqAnswer(body)\n );\n }\n\n private getProducts() {\n this.subscriptions = [];\n this.userStore().subscribe((user: User) => {\n if (user) {\n this.subscriptions = user.subscriptions;\n }\n this.cdr.markForCheck();\n });\n }\n\n filter(searchValue: string) {\n this.searchSubject.next(searchValue);\n }\n\n navigateToSupport() {\n this.router.navigate(['/support']);\n }\n\n navigateToDocumentation() {\n sessionStorage.setItem('documentation_url', this.showDocumentation);\n const documentationRoute = this.router.createUrlTree([this.slug, 'documentation']);\n const url = window.location.origin + this.router.serializeUrl(documentationRoute);\n window.open(url, '_blank');\n }\n\n trackByProductFaqId(_index: number, item: { id: number }) {\n return item.id;\n }\n\n onCollapseToggle(key: string, answer: string): void {\n if (!this.sanitizedFaqAnswers[key] && answer) {\n this.sanitizedFaqAnswers[key] = this.sanitizeFaqAnswer(answer);\n }\n }\n\n sanitizeFaqAnswer(body: string) {\n return HelperService.sanitizeQuillBody(body, this.sanitizer);\n }\n\n override ngOnDestroy() {\n this.destroy$.next();\n this.destroy$.complete();\n super.ngOnDestroy();\n }\n}\n","<div class=\"mt-md-4 mt-4\">\n <div class=\"row mb-3\">\n <div class=\"col-12\">\n <div class=\"card gradient-custom-branding white text-center p-1 p-sm-2\">\n <div class=\"card-header p-1 p-sm-2\">\n <div class=\"d-flex justify-content-between align-items-start mb-3 mb-md-0\">\n <div>\n @if (showDocumentation) {\n <button\n class=\"btn btn-sm document-btn\"\n (click)=\"navigateToDocumentation()\">\n Documentation\n </button>\n }\n </div>\n <div>\n @if (showSupport) {\n <button\n class=\"btn btn-sm btn-primary\"\n (click)=\"navigateToSupport()\">\n Support\n </button>\n }\n </div>\n </div>\n\n <h1>You need help?</h1>\n <p><em>Please search through our frequently asked questions first.</em></p>\n </div>\n <div class=\"card-block p-2 p-sm-2\">\n <fieldset>\n <legend></legend>\n <label for=\"faq-search\" class=\"visually-hidden\">Search in FAQs</label>\n <input type=\"text\"\n id=\"faq-search\"\n name=\"faq-search\"\n class=\"form-control bg-white\"\n placeholder=\"Search FAQs...\"\n (input)=\"filter($event.target.value)\"\n #messageInput\n aria-label=\"Search FAQs...\" />\n </fieldset>\n </div>\n </div>\n </div>\n </div>\n @if (!isLoaded) {\n <div class=\"w-100 text-center mt-3\"\n >\n <p-progress-spinner strokeWidth=\"2\"> </p-progress-spinner>\n </div>\n }\n @if (faqs) {\n @for (category of objectKeys(faqs); track category; let idx1 = $index) {\n <div>\n @if (faqs[category]?.length) {\n <h6 class=\"text-uppercase mt-3 p-1\">{{ faqHashMap[category]?.name }}</h6>\n <div class=\"dashboard\">\n @for (\n faq of faqs[category]; track trackByProductFaqId(idx,\n faq); let idx = $index) {\n <div class=\"faq-item\"\n >\n <div class=\"dashboard-header p-2\">\n <h5 class=\"accordion-title mt-2\">\n <a class=\"accordion-toggle collapsed\"\n data-bs-toggle=\"collapse\"\n (click)=\"onCollapseToggle(idx + '-' + idx1, faq?.answer)\"\n [href]=\"'#collapse' + idx + idx1\">\n {{ faq.question }}\n </a>\n </h5>\n @if (canEditFaq && faq?.id) {\n <a class=\"faq-edit-link\"\n [pTooltip]=\"'Admin.Faq.EditTitle' | transloco\"\n tooltipPosition=\"top\"\n appendTo=\"body\"\n [attr.aria-label]=\"'Admin.Faq.EditTitle' | transloco\"\n [routerLink]=\"[routers.faqDetails + faq.id]\"\n target=\"_blank\">\n <i class=\"fa fa-edit edit-icon\" aria-hidden=\"true\"></i>\n </a>\n }\n </div>\n <div [id]=\"'collapse' + idx + idx1\"\n class=\"panel-collapse p-3 collapse in\">\n <div class=\"card-block\">\n @if (faq?.answer) {\n <div class=\"ql-container ql-snow no-border\">\n <div class=\"ql-editor\"\n [innerHTML]=\"sanitizedFaqAnswers[idx + '-' + idx1]\">\n </div>\n </div>\n }\n </div>\n </div>\n </div>\n }\n </div>\n }\n </div>\n }\n }\n @if (isLoaded && (totalRecords === 0 || allFaqFalse)) {\n <div>\n <pw-no-data [withImage]=\"true\" message=\"This is embarrassing - we couldn't find any FAQ.\"> </pw-no-data>\n </div>\n }\n</div>\n","/// Editor-only status badges for the FAQ detail page.\n///\n/// `public`, `visible`, `category` and `feature_keys` are all on main-api's\n/// public whitelist (`FaqHelpers#faq_attributes_to_return`), so the badges cost\n/// no extra request — only naming the category does.\n///\n/// Each boolean badge is derived to render ONLY in its notable state: a\n/// \"Not public\" / \"Visible\" badge on every other FAQ would be noise on a page\n/// that shows exactly one. A hidden FAQ only reaches this page for a\n/// master-subscription admin at all (`filter_initial_faqs` drops\n/// `visible IS FALSE` for everyone else), which is precisely who it is for.\n\n/// One entry of main-api's `Faq::AVAILABLE_CATEGORIES`, as served verbatim by\n/// the public `faqs/available_categories` endpoint.\nexport interface FaqCategory {\n key: string;\n name: string;\n description?: string;\n}\n\nexport interface FaqStatusBadges {\n isPublic: boolean;\n isHidden: boolean;\n /// Raw category key — the palette lookup `appDynamicBadge` matches on.\n category: string;\n /// Human-readable category name, falling back to the raw key so the badge\n /// still says something useful when the lookup is skipped or fails.\n categoryLabel: string;\n /// Palette input for `appDynamicBadge` — the same key list the admin FAQ\n /// table feeds it, so a category lands on the same colour on both screens.\n categoryKeys: string[];\n /// Rendered as the category badge's tooltip, mirroring the admin table.\n featureKeys: string[];\n}\n\nexport const EMPTY_FAQ_STATUS_BADGES: FaqStatusBadges = {\n isPublic: false,\n isHidden: false,\n category: undefined,\n categoryLabel: '',\n categoryKeys: [],\n featureKeys: []\n};\n\nexport function buildStatusBadges(faq, categories: FaqCategory[] | null): FaqStatusBadges {\n if (!faq) {\n return { ...EMPTY_FAQ_STATUS_BADGES };\n }\n\n const resolved = categories ?? [];\n const category = faq.category;\n const named = resolved.find(entry => entry.key === category);\n\n return {\n isPublic: faq.public === true,\n isHidden: faq.visible === false,\n category,\n categoryLabel: named?.name || category || '',\n categoryKeys: resolved.map(entry => entry.key),\n featureKeys: Array.isArray(faq.feature_keys) ? faq.feature_keys : []\n };\n}\n","import { ChangeDetectorRef, Component, Injector, OnInit } from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\n\nimport { AppBaseComponent } from '@posiwise/app-base-component';\nimport { CommonService, PermissionService } from '@posiwise/common-services';\nimport { ADMIN_ROUTERS, FAQ } from '@posiwise/common-utilities';\n\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize, map, switchMap, take } from 'rxjs/operators';\n\nimport { FAQ_ADMIN_PERMISSION } from '../faq/faq-admin-permission';\n\nimport { buildStatusBadges, EMPTY_FAQ_STATUS_BADGES, FaqStatusBadges } from './faq-status-badges';\n\n@Component({\n selector: 'pw-faq-details',\n templateUrl: './faq-details.component.html',\n styleUrls: ['./faq-details.component.scss'],\n\n standalone: false\n})\nexport class FaqDetailsComponent extends AppBaseComponent implements OnInit {\n /// Route param for the FAQ: either its numeric id or its slug. The public\n /// endpoint resolves BOTH (`faq[:id] == params[:id].to_i || faq[:slug] == params[:id]`\n /// — main-api FaqHelpers#fetch_faq), so this must stay a raw string. Coercing it\n /// with Number() turned every slug URL into NaN, which is what made the Brain\n /// chat's published `/faq/{slug}` links dead.\n faqRef: string;\n\n faq: FAQ;\n\n isLoading = false;\n\n slug: string;\n\n readonly routers = ADMIN_ROUTERS;\n\n /// Whether to offer the inline link through to the admin edit form.\n canEditFaq = false;\n\n /// Numeric id for the admin edit route, or null when none can be resolved.\n editFaqId: number | null = null;\n\n /// Editor-only status badges — see `faq-status-badges.ts` for what each\n /// one means and why the booleans only render in their notable state.\n badges: FaqStatusBadges = { ...EMPTY_FAQ_STATUS_BADGES };\n\n /// Resolved before the request so the categories lookup can be issued in\n /// parallel rather than chained behind the FAQ (AI54: one loader, one wait).\n private hasFaqAdminPermission = false;\n\n constructor(\n private readonly commonService: CommonService,\n injector: Injector,\n private readonly sanitizer: DomSanitizer,\n private readonly cdr: ChangeDetectorRef\n ) {\n super(injector);\n this.faqRef = this.route.snapshot.params['id'];\n this.slug = PermissionService.selectedSubscription?.slug;\n }\n\n ngOnInit() {\n this.hasFaqAdminPermission =\n this.permissionService.evaluatePermissions(FAQ_ADMIN_PERMISSION);\n this.getFaq();\n }\n\n /// True once there is at least one badge worth a row of its own.\n get showStatusBadges(): boolean {\n return (\n this.canEditFaq &&\n (this.badges.isPublic || this.badges.isHidden || !!this.badges.categoryLabel)\n );\n }\n\n getFaq() {\n this.isLoading = true;\n forkJoin({\n faq: this.commonService.getPublicFaqById(this.faqRef),\n categories: this.faqCategories$()\n })\n .pipe(\n finalize(() => {\n this.isLoading = false;\n this.cdr.markForCheck();\n })\n )\n .subscribe(({ faq, categories }) => {\n this.faq = { ...faq, answer: this.sanitizeAnswer(faq) };\n\n // Only offer the edit affordance once a FAQ actually resolved —\n // a miss still leaves `faq` truthy (spreading null yields\n // `{answer: undefined}`), so key off the question itself.\n const loaded = !!faq?.question;\n this.canEditFaq = loaded && this.hasFaqAdminPermission;\n this.editFaqId = loaded ? this.resolveEditFaqId(faq) : null;\n this.badges = buildStatusBadges(loaded ? faq : null, categories);\n\n this.cdr.markForCheck();\n });\n }\n\n /// Category names are only ever rendered for an editor — skip the call\n /// entirely otherwise.\n ///\n /// Subscription resolution is [TEN2]-first: `getUserSubscriptionId()`\n /// matches the route slug against the user's OWN subscriptions, never\n /// trusting a raw route param. `PermissionService.selectedSubscription` is\n /// kept only as a FALLBACK, for the one case that helper cannot serve — a\n /// super admin viewing a subscription they are not a member of, where it\n /// resolves to nothing and the badge would degrade to a raw\n /// `master_admin`-style key for exactly the audience that needs the name.\n ///\n /// 🔴 That fallback is safe HERE AND ONLY HERE because this endpoint's\n /// payload is tenant-invariant: `available_categories` returns the frozen\n /// `Faq::AVAILABLE_CATEGORIES` constant and never reads `subscription_id`\n /// (main-api `app/api/v1/public/faqs.rb:27` -> `faq_helpers.rb:34`). The\n /// param exists only to satisfy Grape's required-params contract, so a\n /// stale id cannot surface another tenant's data. Do NOT copy this\n /// fallback onto a call that returns tenant-scoped data.\n ///\n /// `take(1)` is load-bearing: `getUserSubscriptionId()` wraps\n /// `route.parent.params`, which never completes, and `forkJoin` waits for\n /// EVERY source to complete — without it the page spins forever.\n ///\n /// A failure must never take the FAQ itself down with it, so it degrades to\n /// the raw category key rather than propagating.\n private faqCategories$() {\n if (!this.hasFaqAdminPermission) {\n return of(null);\n }\n\n return this.getUserSubscriptionId().pipe(\n take(1),\n map(id => id ?? PermissionService.selectedSubscription?.id),\n switchMap(id => (id ? this.commonService.getFaqCategories(id) : of(null))),\n catchError(() => of(null))\n );\n }\n\n private sanitizeAnswer(faq) {\n if (!faq?.answer) {\n return undefined;\n }\n\n const doc = new DOMParser().parseFromString(faq.answer, 'text/html');\n\n // Remove all button elements\n doc.querySelectorAll('button').forEach(button => button.remove());\n\n // Return sanitized HTML\n // NOSONAR: Trusted HTML content is handled safely here\n return this.sanitizer.bypassSecurityTrustHtml(doc.body.innerHTML); // NOSONAR\n }\n\n /// The admin edit route resolves a NUMERIC id (`+params['id'] || 0` in\n /// `AddEditFaqComponent`), but this page is reachable by slug too and the\n /// public endpoint does not return the id at all — main-api's\n /// `FaqHelpers#faq_attributes_to_return` whitelists `slug`, not `id`. So\n /// prefer a payload id if one ever appears, then fall back to the route\n /// param only when it is already numeric. Returning null hides the link\n /// rather than opening the admin form in \"add a new FAQ\" mode.\n private resolveEditFaqId(faq: FAQ): number | null {\n const fromPayload = Number(faq?.id);\n if (Number.isInteger(fromPayload) && fromPayload > 0) {\n return fromPayload;\n }\n\n const fromRoute = Number(this.faqRef);\n return Number.isInteger(fromRoute) && fromRoute > 0 ? fromRoute : null;\n }\n}\n","@if (!isLoading) {\n <div class=\"content-quill-wrapper overflow-hidden mt-5 p-3\">\n <div class=\"content-quill-box\">\n <h2 [class.mb-3]=\"!showStatusBadges\" [class.mb-2]=\"showStatusBadges\">\n {{faq?.question}}\n @if (canEditFaq && editFaqId) {\n <a class=\"faq-edit-link ms-3\"\n [pTooltip]=\"'Admin.Faq.EditTitle' | transloco\"\n tooltipPosition=\"top\"\n appendTo=\"body\"\n [attr.aria-label]=\"'Admin.Faq.EditTitle' | transloco\"\n [routerLink]=\"[routers.faqDetails + editFaqId]\"\n target=\"_blank\">\n <i class=\"fa fa-edit edit-icon\" aria-hidden=\"true\"></i>\n </a>\n }\n </h2>\n @if (showStatusBadges) {\n <!-- `badge-soft` opts these out of Bootstrap's saturated fills and into\n the platform badge doctrine (admin-list-view §B-1..B-5: light tint +\n dark ink, status dot on success/danger, no dot on a taxonomy value).\n Defined once in @posiwise/core-styles — never restate the hexes. -->\n <div class=\"faq-status-badges d-flex flex-wrap align-items-center gap-2 mb-3\">\n @if (badges.categoryLabel) {\n <span class=\"badge badge-soft\"\n [appDynamicBadge]=\"{ itemsArray: badges.categoryKeys, item: badges.category }\"\n color=\"cyan\"\n [pTooltip]=\"badges.featureKeys.length ? badges.featureKeys.join(', ') : ''\"\n tooltipPosition=\"top\"\n appendTo=\"body\">{{ badges.categoryLabel }}</span>\n }\n @if (badges.isPublic) {\n <span class=\"badge badge-soft bg-success\"\n [pTooltip]=\"'Admin.Faq.Tooltip.Public' | transloco\"\n tooltipPosition=\"top\"\n appendTo=\"body\">{{ 'Admin.Faq.Public' | transloco }}</span>\n }\n @if (badges.isHidden) {\n <span class=\"badge badge-soft bg-danger\"\n [pTooltip]=\"'Admin.Faq.Tooltip.Hidden' | transloco\"\n tooltipPosition=\"top\"\n appendTo=\"body\">{{ 'Admin.Faq.Hidden' | transloco }}</span>\n }\n </div>\n }\n <ng-container>\n <div class=\"ql-container ql-snow no-border\">\n <div class=\"ql-editor\"\n [innerHTML]=\"faq?.answer\">\n </div>\n </div>\n </ng-container>\n </div>\n @if (!faq && !isLoading) {\n <pw-no-data\n message=\"No Faq found\">\n </pw-no-data>\n }\n <div class=\"text-end mt-3\">\n <button class=\"btn btn-outline-primary\"\n [routerLink]=\"['/',slug,'faq']\">See all FAQs</button>\n </div>\n </div>\n}\n@if (isLoading) {\n <div class=\"w-100 text-center mt-3\"\n >\n <p-progress-spinner strokeWidth=\"2\"> </p-progress-spinner>\n </div>\n}\n","import { InjectionToken, Type } from '@angular/core';\n\n/**\n * Product sections a host frontend adds to the top of the shared /home page (cloudolive-api#441),\n * e.g. CloudOlive's onboarding checklist. Optional: an app that provides nothing renders the page\n * unchanged.\n *\n * Holds component classes supplied in code by the host app, never server data, so rendering them\n * with ngComponentOutlet is safe. Each section owns its own data, gating and permissions (e.g.\n * Pages.Alpha), so dashboard-module stays product-agnostic.\n */\nexport const HOME_PRODUCT_SECTIONS = new InjectionToken<Type<unknown>[]>('HOME_PRODUCT_SECTIONS');\n","import { ChangeDetectorRef, Component, Injector, OnInit } from '@angular/core';\n\nimport { AppBaseComponent } from '@posiwise/app-base-component';\nimport { CommonService, PermissionService } from '@posiwise/common-services';\nimport { User } from '@posiwise/common-utilities';\n\nimport moment from 'moment';\n\n@Component({\n selector: 'pw-user-feedback',\n templateUrl: './user-feedback.component.html',\n styleUrls: ['./user-feedback.component.scss'],\n\n standalone: false\n})\nexport class UserFeedbackComponent extends AppBaseComponent implements OnInit {\n rating = 3;\n\n selectedValue: number | null = null;\n\n questions = [];\n\n counter = Array;\n\n subscriptionId: number;\n\n user: User;\n\n showSection = true;\n\n constructor(\n injector: Injector,\n private readonly commonService: CommonService,\n private readonly cdr: ChangeDetectorRef\n ) {\n super(injector);\n }\n\n ngOnInit(): void {\n this.subscriptionId = PermissionService.selectedSubscription?.id;\n this.getFeedbackQuestions();\n this.userService.getUserInfo().subscribe({\n next: user => {\n this.user = user;\n this.cdr.markForCheck();\n }\n });\n this.checkFeedBackExpiry();\n }\n\n checkFeedBackExpiry() {\n const item = localStorage.getItem('showFeedBack');\n if (item) {\n const currentDate = Date.now();\n const expiryDate = new Date(JSON.parse(item)).getTime();\n this.showSection = currentDate > expiryDate;\n }\n }\n\n closeSection() {\n this.showSection = false;\n const addedTime = moment(new Date()).add(7, 'days').toDate();\n localStorage.setItem('showFeedBack', JSON.stringify(addedTime));\n }\n\n private getFeedbackQuestions() {\n if (this.subscriptionId) {\n this.commonService.feedbackQuestions(this.subscriptionId).subscribe(res => {\n this.questions = res;\n this.cdr.markForCheck();\n });\n }\n }\n\n onSubmit(questionId: number, formValue) {\n if (formValue?.feedback) {\n const data = {\n subscription_id: this.subscriptionId,\n feedback_question_id: questionId,\n value: Number(formValue?.feedback),\n comment: formValue?.description\n };\n this.commonService.userFeedbacks(data).subscribe(() => {\n this.getFeedbackQuestions();\n this.cdr.markForCheck();\n });\n }\n }\n\n trackByQuestion(_index: number, item: { id: number }) {\n return item.id;\n }\n}\n","@if (showSection) {\n @if (questions?.length) {\n <div class=\"mt-4\"\n >\n <div class=\"card pb-1\">\n <h3 class=\"text-end me-3 pt-2 cursor-pointer\"\n (keydown.enter)=\"closeSection()\"\n (click)=\"closeSection()\">×</h3>\n @for (question of questions; track trackByQuestion($index, question); let first = $first) {\n <div class=\"card-content p-0\"\n >\n <div class=\"card-header\">\n <form #feedbackForm=\"ngForm\">\n <div class=\"col-lg-8 p-0 mx-auto\">\n @if (first) {\n <h3 class=\"mb-1\"\n >Your input is valuable to us</h3>\n }\n @if (first) {\n <p class=\"mb-4\"\n >\n Please take a moment to answer these questions\n </p>\n }\n <h6 class=\"fw-bold pb-3 mx-auto\">{{ question?.question }}</h6>\n <div class=\"text-center row p-2 mx-md-2 feedback-value\">\n <span class=\"col-auto me-0\">Not at all</span>\n @for (val of counter(11); track val; let i = $index) {\n <div class=\"p-field-checkbox col-auto ms-0 me-0\">\n <p-radio-button name=\"feedback\" [(ngModel)]=\"selectedValue\" [value]=\"i\" [inputId]=\"i\"></p-radio-button>\n <br />\n <label [for]=\"i\">{{ i }}</label>\n </div>\n }\n <span class=\"col-auto ms-0\">Extremely</span>\n </div>\n <div class=\"text mt-3\">\n <h6>Can you tell us the reason for your score? Do you have any particular features you want us to build or fix?</h6>\n <label for=\"user-feedback-description\" class=\"visually-hidden\">Reason for your score</label>\n <textarea id=\"user-feedback-description\"\n rows=\"4\"\n name=\"description\"\n placeholder=\"“What is the primary reason for your score?”\"\n ngModel\n type=\"text\"\n pInputTextarea\n class=\"form-control\"\n aria-label=\"“What is the primary reason for your score?”\">\n </textarea>\n </div>\n <div class=\"mt-3\">\n <button class=\"btn btn-primary d-block mx-auto\"\n (click)=\"onSubmit(question?.id, feedbackForm.value)\">\n Submit\n </button>\n </div>\n </div>\n </form>\n </div>\n </div>\n }\n </div>\n </div>\n }\n}\n","import {\n ChangeDetectorRef,\n Component,\n Inject,\n Injector,\n OnDestroy,\n OnInit,\n Optional,\n Type\n} from '@angular/core';\n\nimport { AppBaseComponent } from '@posiwise/app-base-component';\nimport { HopscotchService, PermissionService } from '@posiwise/common-services';\nimport { User } from '@posiwise/common-utilities';\n\nimport { HOME_PRODUCT_SECTIONS } from './home-product-sections.token';\n\n@Component({\n selector: 'pw-home',\n templateUrl: './home.component.html',\n styleUrls: ['./home.component.scss'],\n\n standalone: false\n})\nexport class HomeComponent extends AppBaseComponent implements OnInit, OnDestroy {\n user: User;\n\n userSlug: string;\n\n componentActive = true;\n\n selectedSubscriptionSlug: string;\n subscriptionId: number;\n\n constructor(\n injector: Injector,\n private readonly hopscotchService: HopscotchService,\n private readonly cdr: ChangeDetectorRef,\n @Optional()\n @Inject(HOME_PRODUCT_SECTIONS)\n readonly productSections?: Type<unknown>[] | null\n ) {\n super(injector);\n }\n\n sanitizeContent(jsonString) {\n let sanitizedString = jsonString.replaceAll(\"'\", '\"');\n sanitizedString = sanitizedString.replace(\n /<img\\s+src=\"([^\"]+)\"/g,\n String.raw`<img src=\\\"$1\\\"`\n );\n sanitizedString = sanitizedString.replace(/,\\s*([}\\]])/g, '$1');\n\n return sanitizedString;\n }\n\n ngOnInit() {\n this.selectedSubscriptionSlug = PermissionService.selectedSubscription?.slug;\n this.subscriptionId = PermissionService.selectedSubscription?.id;\n this.userStore().subscribe(state => {\n if (state) {\n this.userService.getCurrentUserObject('active_tips').subscribe(response => {\n if (response?.length) {\n const welcomeTips = response.find(x => x.name === 'welcome');\n if (welcomeTips) {\n const steps = JSON.parse(\n this.sanitizeContent(welcomeTips.instructions)\n ).steps;\n try {\n this.hopscotchService.initializeTour(\n 'dashboard',\n steps,\n {\n tip_id: welcomeTips.id,\n disregarded: true\n },\n this.subscriptionId\n );\n } catch (error) {\n console.error('Error parsing JSON:', error);\n }\n }\n }\n this.cdr.markForCheck();\n });\n }\n this.cdr.markForCheck();\n });\n\n this.userStore().subscribe({\n next: user => {\n this.user = user;\n if (this.user) {\n this.userSlug = user.slug;\n }\n this.cdr.markForCheck();\n },\n error: error => {\n this.toast.showToast(error);\n this.cdr.markForCheck();\n }\n });\n }\n\n override ngOnDestroy() {\n this.hopscotchService.endTour();\n super.ngOnDestroy();\n }\n}\n","<pw-user-feedback></pw-user-feedback>\n@if (productSections?.length) {\n @for (section of productSections; track section) {\n <ng-container *ngComponentOutlet=\"section\"></ng-container>\n }\n}\n<div class=\"row mt-3\">\n <div class=\"col-12 col-lg-6 mt-2 mb-4\">\n <div class=\"card\">\n <div class=\"card-content p-0\">\n <div class=\"card-header d-flex mt-0\">\n <div class=\"w-100\">\n <div id=\"cards\"></div>\n <h3 class=\"mb-3\">{{'ManageYourAccount'|transloco}}</h3>\n <p>{{'ManageYourAccountDescription'|transloco}}</p>\n </div>\n <div class=\"ms-3 img-wrapper\">\n <img src=\"assets/img/products/hyper-dashboard/ManageYourAccount.png\"\n alt=\"img\"\n class=\"img-fluid\" />\n </div>\n </div>\n <div class=\"card-footer px-3\">\n <a routerLink=\"/account/details\"\n class=\"d-block\">{{'ManageYourAccount'|transloco}}</a>\n </div>\n <div id=\"tips-onboarding-step2\"></div>\n </div>\n </div>\n </div>\n <div class=\"col-12 col-lg-6 mt-2 mb-4\">\n <div class=\"card\">\n <div class=\"card-content p-0\">\n <div class=\"card-header d-flex mt-0\">\n <div class=\"w-100\">\n <h3 class=\"mb-3\">{{'UpdateYourProfile'|transloco}}</h3>\n <p>{{'UpdateYourProfileDescription'|transloco}}</p>\n </div>\n <div class=\"ms-3 img-wrapper\">\n <img src=\"assets/img/products/hyper-dashboard/UpdateYourProfile.png\"\n alt=\"img\"\n class=\"img-fluid\" />\n </div>\n </div>\n <div class=\"card-footer px-3\">\n <a [routerLink]=\"['/members', userSlug]\"\n class=\"d-block\">{{'UpdateYourProfile'|transloco}}</a>\n </div>\n </div>\n </div>\n </div>\n <div class=\"col-12 col-lg-6 mt-2 mb-4\">\n <div class=\"card\">\n <div class=\"card-content p-0\">\n <div class=\"card-header d-flex mt-0\">\n <div class=\"w-100\">\n <h3 class=\"mb-3\">{{'CommunicationSettings'|transloco}}</h3>\n <p>\n {{'CommunicationSettingsDescription'|transloco}}\n </p>\n </div>\n <div class=\"ms-3 img-wrapper\">\n <img src=\"assets/img/products/hyper-dashboard/CommunicationSettings.png\"\n alt=\"img\"\n class=\"img-fluid\" />\n </div>\n </div>\n <div class=\"card-footer px-3\">\n <a routerLink=\"/settings/communication\"\n class=\"d-block\">{{'GotoCommunicationSettings'|transloco}}</a>\n </div>\n <div id=\"tips-onboarding-step3\"></div>\n </div>\n </div>\n </div>\n <div class=\"col-12 col-lg-6 mt-2 mb-4\">\n <div class=\"card\">\n <div class=\"card-content p-0\">\n <div class=\"card-header d-flex mt-0\">\n <div class=\"w-100\">\n <h3 class=\"mb-3\">{{'NeedHelp'|transloco}}</h3>\n <p>{{'NeedHelpDescription'|transloco}}</p>\n </div>\n <div class=\"ms-3 img-wrapper\">\n <img src=\"assets/img/products/hyper-dashboard/NeedHelp.png\"\n alt=\"img\"\n class=\"img-fluid\" />\n </div>\n </div>\n <div class=\"card-footer px-3\">\n <a [routerLink]=\"'/' + selectedSubscriptionSlug + '/faq'\"\n class=\"d-block\">{{'SeeAllOurFaq'|transloco}}</a>\n </div>\n <div id=\"tips-onboarding-step4\"></div>\n </div>\n </div>\n </div>\n</div>\n","import { ChangeDetectorRef, Component, OnInit } from '@angular/core';\n\nimport { NotificationService } from '@posiwise/common-services';\n\n@Component({\n selector: 'pw-current-notifications',\n templateUrl: './current-notifications.component.html',\n styleUrls: ['../notifications-page.component.scss'],\n\n standalone: false\n})\nexport class CurrentNotificationsComponent implements OnInit {\n notificationCount = 0;\n\n noNoti = true;\n\n itemsPerPage = 100;\n\n notifications = [];\n\n currentPage = 1;\n\n isLoaded = false;\n\n totalPages = 1;\n\n totalRecords = 0;\n\n constructor(\n private readonly notificationService: NotificationService,\n private readonly cdr: ChangeDetectorRef\n ) {}\n\n ngOnInit() {\n this.getNotifications();\n }\n\n private getNotifications() {\n this.notificationService\n .getNotifications({ page: this.currentPage, page_size: this.itemsPerPage })\n .subscribe(data => {\n if (Array.isArray(data?.notes) && data?.notes?.length > 0) {\n this.totalRecords = data.unfiltered_count;\n this.notifications = data.notes?.filter(\n note => !note.dismissed && note.show_on_dashboard\n );\n this.totalPages = Math.ceil(data.unfiltered_count / this.itemsPerPage);\n this.noNoti = true;\n if (this.notifications?.length) {\n this.noNoti = false;\n }\n }\n this.cdr.markForCheck();\n })\n .add(() => {\n this.isLoaded = true;\n this.cdr.markForCheck();\n });\n }\n\n nextPage() {\n if (this.currentPage < this.totalPages) {\n this.currentPage++;\n this.getNotifications();\n }\n }\n\n previousPage() {\n if (this.currentPage > 1) {\n this.currentPage--;\n this.getNotifications();\n }\n }\n\n dismiss(id: number, e) {\n this.notificationService.dismissNotification(id).subscribe(() => {\n // Remove notification from notification array\n const index = this.notifications.indexOf(e);\n this.notifications.splice(index, 1);\n\n if (this.notifications.length === 0) {\n this.noNoti = true;\n }\n this.cdr.markForCheck();\n\n $('#noty').slideUp('slow', () => {\n $('#noty').remove();\n });\n });\n }\n\n trackByNotification(_index: number, item: { id: number }) {\n return item.id;\n }\n}\n","<div class=\"row main-div\">\n <div class=\"w-100 text-center mt-3\">\n @if (!isLoaded) {\n <p-progress-spinner strokeWidth=\"2\"> </p-progress-spinner>\n }\n </div>\n @if (notifications?.length && isLoaded) {\n <div class=\"col-12 col-sm-12 col-md-12 mb-5\"\n >\n <div class=\"card\">\n <div class=\"card-body\">\n <ul class=\"noti-list\">\n @for (item of notifications; track trackByNotification($index, item)) {\n <li\n class=\"p-3 border-bottom border-bottom-blue-grey border-bottom-lighten-4 d-flex align-items-center\">\n <span class=\"btn btn-circle me-2\"\n [ngClass]=\"{\n 'btn-danger': item.note_type === 'administrative',\n 'btn-secondary': item.note_type === 'object_event',\n 'btn-primary': item.note_type === 'user_generated'\n }\">\n <i\n class=\"fal float-start\"\n [ngClass]=\"{\n 'fa-bell': item.note_type === 'administrative',\n 'fa-share-alt': item.note_type === 'object_event',\n 'fa-bells': item.note_type === 'user_generated'\n }\"\n aria-hidden=\"true\"\n ></i>\n </span>\n <span class=\"d-inline-block noty-body\">\n <span class=\"noti-title line-height-1p5 d-block text-bold-400\">{{\n item.content\n }}</span>\n <span class=\"noti-text\"><span class=\"fal fa-clock\"></span>\n {{ item?.created_at | sinceAgo }}</span>\n </span>\n <span class=\"noti-buttons\">\n <button class=\"btn float-end\">\n <i\n class=\"far fa-trash-alt\"\n (click)=\"dismiss(item.id, item)\"\n (keydown.enter)=\"dismiss(item.id, item)\"\n aria-hidden=\"true\"\n ></i>\n </button>\n </span>\n </li>\n }\n </ul>\n </div>\n <div class=\"pagination-container d-flex justify-content-between align-items-center mt-3 mb-3\">\n <pw-records-summary [showing]=\"totalRecords\" [total]=\"totalRecords\" />\n <div class=\"d-flex align-items-center\">\n <button class=\"btn btn-outline-primary me-2\" (click)=\"previousPage()\" [disabled]=\"currentPage === 1\">\n <i class=\"fas fa-chevron-left\"></i>\n </button>\n <span>Page {{ currentPage }} of {{ totalPages }}</span>\n <button class=\"btn btn-outline-primary ms-2\" (click)=\"nextPage()\" [disabled]=\"currentPage === totalPages\">\n <i class=\"fas fa-chevron-right\"></i>\n </button>\n </div>\n </div>\n </div>\n </div>\n}\n\n@if (noNoti && isLoaded) {\n <div class=\"col-12 col-sm-12 col-md-12\"\n >\n <pw-no-data [withImage]=\"true\" message=\"You are all caught up\" description=\"You currently do not have any notifications.\">\n </pw-no-data>\n </div>\n}\n</div>\n","import { ChangeDetectorRef, Component, OnInit } from '@angular/core';\n\nimport { NotificationService } from '@posiwise/common-services';\nimport { HelperService } from '@posiwise/helper-service';\n\n@Component({\n selector: 'pw-dismissed-notifications',\n templateUrl: './dismissed-notifications.component.html',\n styleUrls: ['../notifications-page.component.scss'],\n\n standalone: false\n})\nexport class DismissedNotificationsComponent implements OnInit {\n notificationCount = 0;\n\n noNoti = true;\n\n dismissedNotifications = [];\n\n isLoaded = false;\n\n itemsPerPage = 100;\n\n currentPage = 1;\n\n totalPages = 1;\n\n totalRecords = 0;\n\n constructor(\n private readonly notificationService: NotificationService,\n private readonly cdr: ChangeDetectorRef\n ) {}\n\n ngOnInit() {\n this.getNotifications();\n }\n\n private getNotifications() {\n this.notificationService\n .getDismissedNotifications({ page: this.currentPage, page_size: this.itemsPerPage })\n .subscribe(data => {\n if (Array.isArray(data?.notes) && data?.notes?.length > 0) {\n this.noNoti = false;\n this.dismissedNotifications = data?.notes;\n this.totalRecords = data?.unfiltered_count;\n this.totalPages = Math.ceil(data.unfiltered_count / this.itemsPerPage);\n }\n this.cdr.markForCheck();\n })\n .add(() => {\n this.isLoaded = true;\n this.cdr.markForCheck();\n });\n }\n\n nextPage() {\n if (this.currentPage < this.totalPages) {\n this.currentPage++;\n this.getNotifications();\n }\n }\n\n previousPage() {\n if (this.currentPage > 1) {\n this.currentPage--;\n this.getNotifications();\n }\n }\n\n dismiss(id: number, e) {\n HelperService.raiseDeletePopup().then(res => {\n if (res.value) {\n this.notificationService.deleteNotifications(id).subscribe(() => {\n // Remove notification from notification array\n const index = this.dismissedNotifications.indexOf(e);\n this.dismissedNotifications.splice(index, 1);\n\n if (this.dismissedNotifications.length === 0) {\n this.noNoti = true;\n }\n this.cdr.markForCheck();\n\n $('#noty').slideUp('slow', () => {\n $('#noty').remove();\n });\n });\n }\n });\n }\n\n restoreNotification(id: number, e) {\n this.notificationService.reinstateNotification(id).subscribe(() => {\n // Remove notification from dismissed notification array\n const index = this.dismissedNotifications.indexOf(e);\n this.dismissedNotifications.splice(index, 1);\n\n if (this.dismissedNotifications.length === 0) {\n this.noNoti = true;\n }\n this.cdr.markForCheck();\n\n $('#noty').slideUp('slow', () => {\n $('#noty').remove();\n });\n });\n }\n\n trackByNotification(_index: number, item: { id: number }) {\n return item.id;\n }\n}\n","<div class=\"row main-div\">\n <div class=\"w-100 text-center mt-3\">\n @if (!isLoaded) {\n <p-progress-spinner strokeWidth=\"2\"> </p-progress-spinner>\n }\n </div>\n @if (dismissedNotifications?.length && isLoaded) {\n <div class=\"col-12 col-sm-12 col-md-12 mb-5\"\n >\n <div class=\"card\">\n <div class=\"card-body\">\n <ul class=\"noti-list\">\n @for (item of dismissedNotifications; track trackByNotification($index, item)) {\n <li\n class=\"p-3 border-bottom border-bottom-blue-grey border-bottom-lighten-4 d-flex align-items-center\">\n <span class=\"btn btn-circle me-2\"\n [ngClass]=\"{\n 'btn-danger': item.note_type === 'administrative',\n 'btn-secondary': item.note_type === 'object_event',\n 'btn-primary': item.note_type === 'user_generated'\n }\">\n <i\n class=\"fal float-start\"\n [ngClass]=\"{\n 'fa-bell': item.note_type === 'administrative',\n 'fa-share-alt': item.note_type === 'object_event',\n 'fa-bells': item.note_type === 'user_generated'\n }\"\n aria-hidden=\"true\"\n ></i>\n </span>\n <span class=\"d-inline-block noty-body\">\n <span class=\"noti-title line-height-1p5 d-block text-bold-400\">{{\n item.content\n }}</span>\n <span class=\"noti-text\"><span class=\"fal fa-clock\"></span>\n {{ item?.created_at | sinceAgo }}</span>\n </span>\n <span class=\"noti-buttons\">\n <button class=\"btn float-end\">\n <i\n class=\"far fa-trash-alt\"\n (click)=\"dismiss(item.id, item)\"\n (keydown.enter)=\"dismiss(item.id, item)\"\n aria-hidden=\"true\"\n ></i>\n </button>\n <button class=\"btn float-end\">\n <i\n class=\"fas fa-trash-restore-alt\"\n (click)=\"restoreNotification(item.id, item)\"\n (keydown.enter)=\"restoreNotification(item.id, item)\"\n aria-hidden=\"true\"\n ></i>\n </button>\n </span>\n </li>\n }\n </ul>\n </div>\n <div class=\"pagination-container d-flex justify-content-between align-items-center mt-3 mb-3\">\n <pw-records-summary [showing]=\"totalRecords\" [total]=\"totalRecords\" />\n <div class=\"d-flex align-items-center\">\n <button class=\"btn btn-outline-primary me-2\" (click)=\"previousPage()\" [disabled]=\"currentPage === 1\">\n <i class=\"fas fa-chevron-left\"></i>\n </button>\n <span>Page {{ currentPage }} of {{ totalPages }}</span>\n <button class=\"btn btn-outline-primary ms-2\" (click)=\"nextPage()\" [disabled]=\"currentPage === totalPages\">\n <i class=\"fas fa-chevron-right\"></i>\n </button>\n </div>\n </div>\n </div>\n </div>\n}\n\n@if (noNoti && isLoaded) {\n <div class=\"col-12 col-sm-12 col-md-12\"\n >\n <pw-no-data [withImage]=\"true\" message=\"You currently do not have any dismissed notifications\">\n </pw-no-data>\n </div>\n}\n</div>\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'pw-notifications-page',\n templateUrl: './notifications-page.component.html',\n styleUrls: ['./notifications-page.component.scss'],\n\n standalone: false\n})\nexport class NotificationsPageComponent {}\n","<div class=\"row\">\n <div class=\"col-12 col-sm-12 col-md-12 mt-4\">\n <h2 class=\"p-2\">Notifications</h2>\n </div>\n</div>\n\n<ul ngbNav\n #nav=\"ngbNav\"\n class=\"nav-tabs\">\n <li [ngbNavItem]=\"1\">\n <a ngbNavLink>Current Notifications</a>\n <ng-template ngbNavContent>\n <pw-current-notifications></pw-current-notifications>\n </ng-template>\n </li>\n <li [ngbNavItem]=\"2\">\n <a ngbNavLink>Dismissed Notifications</a>\n <ng-template ngbNavContent>\n <pw-dismissed-notifications></pw-dismissed-notifications>\n </ng-template>\n </li>\n</ul>\n\n<div [ngbNavOutlet]=\"nav\"></div>\n","import { ChangeDetectorRef, Component, OnInit } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\n\nimport { DashboardService, PermissionService } from '@posiwise/common-services';\nimport { GlobalSearchResponse } from '@posiwise/common-utilities';\nimport { HelperService } from '@posiwise/helper-service';\n\n@Component({\n selector: 'pw-search',\n templateUrl: './search.component.html',\n styleUrls: ['./search.component.scss'],\n\n standalone: false\n})\nexport class SearchComponent implements OnInit {\n private readonly emptySearchResult: GlobalSearchResponse = {\n users: [],\n faqs: [],\n recipients: []\n };\n\n keyword: string;\n\n result: GlobalSearchResponse;\n\n isLoaded = false;\n\n objectKeys = Object.keys;\n\n subscriptionId: number;\n\n constructor(\n private readonly route: ActivatedRoute,\n private readonly service: DashboardService,\n private readonly cdr: ChangeDetectorRef\n ) {}\n\n ngOnInit() {\n this.subscriptionId = PermissionService.selectedSubscription.id;\n this.route.queryParams.subscribe(response => {\n this.keyword = response['keyword'];\n if (this.keyword) {\n this.search();\n }\n this.cdr.markForCheck();\n });\n }\n\n search() {\n this.isLoaded = false;\n this.service\n .search(this.keyword, this.subscriptionId)\n .subscribe(response => {\n this.result = {\n ...this.emptySearchResult,\n ...response\n };\n this.cdr.markForCheck();\n })\n .add(() => {\n this.isLoaded = true;\n this.cdr.markForCheck();\n });\n }\n\n get hasResults() {\n return this.searchGroups.some(group => group.length > 0);\n }\n\n private get searchGroups() {\n return ['users', 'faqs', 'recipients'].map(group => this.getResultGroup(group));\n }\n\n getResultGroup(group: keyof GlobalSearchResponse | string) {\n if (!this.isSearchGroupKey(group)) {\n return [];\n }\n\n const resultGroup = this.result?.[group];\n if (!Array.isArray(resultGroup)) {\n return [];\n }\n\n return resultGroup.filter(item => this.isRenderableResult(item));\n }\n\n private isSearchGroupKey(group: string): group is keyof GlobalSearchResponse {\n return group === 'users' || group === 'faqs' || group === 'recipients';\n }\n\n private isRenderableResult(item: unknown) {\n if (item == null) {\n return false;\n }\n\n if (typeof item !== 'object') {\n return true;\n }\n\n return Object.values(item).some(value => {\n if (Array.isArray(value)) {\n return value.length > 0;\n }\n\n return value !== null && value !== undefined && value !== '';\n });\n }\n\n handleImageError(event: Event, fallbackPath): void {\n HelperService.handleImageFallbackPath(event, fallbackPath);\n }\n\n trackByUserId(_index: number, item: { id: number }) {\n return item.id;\n }\n\n trackByFaqId(_index: number, item: { id: number }) {\n return item.id;\n }\n\n trackBySkill(_index: number, item: { id: number }) {\n return item.id;\n }\n}\n","<div class=\"container-fluid dashboard-card overflow-hidden\">\n <div class=\"dashboard\">\n <div class=\"dashboard-body\">\n <div class=\"row\">\n <div class=\"col-12 my-3 mt-4\">\n <h2>Search Results</h2>\n </div>\n </div>\n @if (!isLoaded) {\n <div class=\"w-100 text-center mt-3\">\n <p-progress-spinner strokeWidth=\"2\"> </p-progress-spinner>\n </div>\n }\n @if (isLoaded) {\n <div class=\"row faqlist search-result\">\n <div class=\"col-12\">\n <div data-cy=\"faq-list\">\n @if (result) {\n @for (group of objectKeys(result); track group; let idx = $index) {\n <div>\n @switch (group) {\n @case ('users') {\n @if (getResultGroup(group).length) {\n <h6 class=\"text-uppercase mt-3 p-1\">{{ group }}</h6>\n <div class=\"dashboard\">\n @for (\n user of getResultGroup(group); track trackByUserId($index, user); let idx1 = $index) {\n <div class=\"faq-item\">\n <div class=\"dashboard-header p-2\">\n <h5 class=\"accordion-title mt-2\">\n <a\n class=\"accordion-toggle collapsed\"\n data-bs-toggle=\"collapse\"\n [href]=\"'#collapse' + idx1 + idx\"><span>{{\n user.first_name !== null\n ? user.first_name\n : user?.email\n }}</span></a>\n </h5>\n <p class=\"m-0 title-font\">\n @if (user.user_skills?.length > 0) {\n <strong>Skills :\n </strong>\n }\n @for (\n skill of (user.user_skills ?? []); track trackBySkill($index, skill); let isLast = $last) {\n <span class=\"badge bg-success m-1\">\n {{ skill.name\n }}{{ isLast ? '' : ', ' }}</span>\n }\n </p>\n @if (\n user?.user_profile?.headline\n ?.length > 0\n ) {\n <p class=\"m-0 title-font\">\n {{ user?.user_profile?.headline }}\n </p>\n }\n @if (\n user?.user_profile?.country\n ?.length > 0\n ) {\n <p class=\"m-0 title-font\">\n <strong>Location : </strong>{{ user?.user_profile?.country }}\n </p>\n }\n </div>\n <div [id]=\"'collapse' + idx1 + idx\"\n class=\"panel-collapse collapse in p-3\">\n <div class=\"display-block overflow-hidden\">\n <div class=\"row align-items-center\">\n <div class=\"col-sm-3\">\n @if (user?.user_avatar?.length > 0) {\n @for (\n profile_image of user.user_avatar; track profile_image) {\n @if (profile_image.width === 200) {\n <div class=\"text-center my-2\">\n <div class=\"avatar\">\n <img class=\"img-fluid\"\n [src]=\"profile_image.url\"\n alt=\"Male Icon\"\n (error)=\"handleImageError($event, 'assets/img/icons/male.png')\" />\n </div>\n </div>\n }\n }\n } @else {\n <div class=\"text-center my-2\">\n <div class=\"avatar\">\n <img src=\"/assets/img/icons/male.png\"\n alt=\"\"\n class=\"img-fluid\" />\n </div>\n </div>\n }\n </div>\n <div class=\"col-sm-9\">\n <ul class=\"name-fl\">\n <li>\n <strong>First Name:\n </strong>\n <span>{{\n user.first_name !== null\n ? user.first_name\n : 'N/A'\n }}</span>\n </li>\n <li>\n <strong>Last Name:\n </strong>\n <span>{{\n user.last_name !== null\n ? user.last_name\n : 'N/A'\n }}</span>\n </li>\n </ul>\n <p>\n <strong>Email: </strong>\n <span>{{\n user.email !== null\n ? user.email\n : 'N/A'\n }}</span>\n </p>\n <p>\n <strong>Description:\n </strong>\n <span>{{\n user?.user_profile\n ?.description !== null\n ? user?.user_profile\n ?.description\n : 'N/A'\n }}</span>\n </p>\n <div class=\"view-btn text-end\">\n <a class=\"btn btn-outline-primary inline-block\"\n [routerLink]=\"[\n '/members/' +\n user.slug\n ]\">View More</a>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n }\n </div>\n }\n }\n @case ('faqs') {\n @if (getResultGroup(group).length) {\n <h6>\n {{ group | uppercase }}\n </h6>\n @for (\n faq of getResultGroup(group); track trackByFaqId($index, faq); let idx2 = $index) {\n <div class=\"faq-item\">\n <div class=\"dashboard-header p-2\">\n <h5 class=\"accordion-title mt-2\">\n <a\n class=\"accordion-toggle collapsed\"\n data-bs-toggle=\"collapse\"\n [href]=\"'#collapse' + idx2 + idx\">{{ faq.question }}</a>\n </h5>\n </div>\n <div [id]=\"'collapse' + idx2 + idx\"\n class=\"panel-collapse collapse in\">\n @if (faq?.answer) {\n <div class=\"ql-container ql-snow no-border\">\n <div class=\"ql-editor\"\n [innerHTML]=\"faq?.answer |safe:'html'\">\n </div>\n </div>\n }\n </div>\n </div>\n }\n }\n }\n }\n </div>\n }\n @if (!hasResults) {\n <pw-no-data [withImage]=\"true\" [message]=\"'Search.NoDataMessage' | transloco\" [description]=\"'Search.NoDataDescription' | transloco\">\n </pw-no-data>\n }\n }\n </div>\n </div>\n </div>\n }\n </div>\n </div>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { RouterModule } from '@angular/router';\n\nimport { CoreTranslocoModule } from '@posiwise/core-transloco';\nimport { DirectivesModule } from '@posiwise/directives';\nimport { PipesModule } from '@posiwise/pipes';\nimport { ResourceSharedComponentsModule } from '@posiwise/shared-components';\n\nimport { ProgressSpinnerModule } from 'primeng/progressspinner';\nimport { RadioButtonModule } from 'primeng/radiobutton';\nimport { TooltipModule } from 'primeng/tooltip';\n\nimport { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';\n\nimport { DocumentationComponent } from './documentation-view/documentation-view.component';\nimport { FaqComponent } from './faq/faq.component';\nimport { FaqDetailsComponent } from './faq-details/faq-details.component';\nimport { HomeComponent } from './home/home.component';\nimport { CurrentNotificationsComponent } from './notifications-page/current-notifications/current-notifications.component';\nimport { DismissedNotificationsComponent } from './notifications-page/dismissed-notifications/dismissed-notifications.component';\nimport { NotificationsPageComponent } from './notifications-page/notifications-page.component';\nimport { SearchComponent } from './search/search.component';\nimport { UserFeedbackComponent } from './user-feedback/user-feedback.component';\n\n// Note: CurrentNotificationsComponent and DismissedNotificationsComponent\n// are declared in DashboardLibModule and exported from there\n// They are needed by NotificationsPageComponent but kept in the main dashboard module\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n RouterModule,\n CoreTranslocoModule,\n DirectivesModule,\n PipesModule,\n ProgressSpinnerModule,\n NgbNavModule,\n RadioButtonModule,\n TooltipModule,\n ResourceSharedComponentsModule\n ],\n declarations: [\n DocumentationComponent,\n FaqComponent,\n FaqDetailsComponent,\n HomeComponent,\n NotificationsPageComponent,\n CurrentNotificationsComponent,\n NotificationsPageComponent,\n DismissedNotificationsComponent,\n SearchComponent,\n UserFeedbackComponent\n ],\n exports: [\n DocumentationComponent,\n FaqComponent,\n FaqDetailsComponent,\n HomeComponent,\n NotificationsPageComponent,\n CurrentNotificationsComponent,\n NotificationsPageComponent,\n DismissedNotificationsComponent,\n SearchComponent,\n RadioButtonModule\n ],\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\n})\nexport class DashboardContentModule {}\n","// Core Angular modules\nimport { CommonModule } from '@angular/common';\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\n\nimport { SubscriptionService } from '@posiwise/common-services';\nimport { CoreTranslocoModule } from '@posiwise/core-transloco';\nimport { DirectivesModule } from '@posiwise/directives';\nimport { PipesModule } from '@posiwise/pipes';\nimport { UserModuleModule } from '@posiwise/user-module';\n\nimport { ProgressSpinnerModule } from 'primeng/progressspinner';\nimport { RadioButtonModule } from 'primeng/radiobutton';\nimport { SelectModule } from 'primeng/select';\n\nimport { NgbDropdownModule, NgbNavModule } from '@ng-bootstrap/ng-bootstrap';\n\nimport { DashboardContentModule } from './dashboard-content.module';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n PipesModule,\n SelectModule,\n DirectivesModule,\n ReactiveFormsModule,\n CoreTranslocoModule,\n NgbNavModule,\n NgbDropdownModule,\n UserModuleModule,\n RadioButtonModule,\n ProgressSpinnerModule,\n DashboardContentModule\n ],\n declarations: [],\n\n providers: [SubscriptionService],\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\n})\nexport class DashboardLibModule {}\n","import { RouteInfo } from './sidebar.metadata';\n\n/**\n * Drops menu items gated behind a feature flag the current user isn't entitled\n * to. An item with no `featureFlag` always passes; one with a `featureFlag`\n * passes only when `isEnabled(item.featureFlag)` returns true. Non-destructive\n * — returns a new array and never mutates the input.\n *\n * Shared so every frontend's sidebar gates flag-protected menus identically\n * (e.g. alpha-only pages) instead of copy-pasting the predicate.\n *\n * @param menus - the menu items to filter (one level; pass the specific list to gate)\n * @param isEnabled - predicate resolving a flag key to enabled/disabled for the user\n */\nexport const filterMenusByFeatureFlag = (\n menus: RouteInfo[],\n isEnabled: (flagKey: string) => boolean\n): RouteInfo[] => (menus ?? []).filter(menu => !menu.featureFlag || isEnabled(menu.featureFlag));\n\n/**\n * Helper function to create menu items with default values\n * @param overrides - Partial RouteInfo object with overrides\n * @returns RouteInfo object with defaults applied\n */\nexport const createMenuItem = (overrides: Partial<RouteInfo>): RouteInfo => ({\n permission: '',\n path: '',\n title: '',\n icon: '',\n class: '',\n badge: '',\n badgeClass: '',\n isExternalLink: false,\n submenu: [],\n visible: true,\n order: 0,\n ...overrides\n});\n\n/**\n * Helper function to create submenu items with default values\n * @param overrides - Partial RouteInfo object with overrides\n * @returns RouteInfo object with defaults applied\n */\nexport const createSubMenuItem = (overrides: Partial<RouteInfo>): RouteInfo => ({\n permission: '',\n path: '',\n title: '',\n icon: '',\n class: '',\n badge: '',\n badgeClass: '',\n isExternalLink: false,\n submenu: [],\n visible: true,\n ...overrides\n});\n\n/**\n * Common menu items that can be reused across modules\n */\nexport const COMMON_MENUS = {\n FAQ_Menu: createMenuItem({\n permission: 'Pages.Product.{permission_key}.{feature_key}.FAQ',\n path: '/faq',\n title: 'FAQ',\n icon: 'ft-info',\n order: 999\n }),\n\n ENTERPRISE_MENU: createMenuItem({\n permission: 'Pages.Product.{permission_key}.{feature_key}.Enterprise',\n path: '/enterprise',\n title: 'Enterprise',\n icon: 'ft-package',\n class: 'has-sub',\n badgeClass: 'badge rounded-pill bg-danger float-end mt-1',\n order: 5,\n submenu: [\n createSubMenuItem({\n path: ':slug/enterprise/members',\n title: 'Members',\n icon: 'far fa-users'\n }),\n createSubMenuItem({\n permission: 'Pages.Alpha',\n path: ':slug/enterprise/partners',\n title: 'Partners',\n icon: 'far fa-users'\n }),\n createSubMenuItem({\n permission: 'Pages.Beta',\n path: ':slug/enterprise/groups',\n title: 'Teams',\n icon: 'far fa-users-class'\n }),\n createSubMenuItem({\n permission: 'Pages.Beta',\n path: ':slug/enterprise/communications',\n title: 'Communications',\n icon: 'fas fa-comments'\n }),\n createSubMenuItem({\n permission: 'Pages.Beta',\n path: ':slug/enterprise/wiki',\n title: 'Documentation',\n icon: 'fab fa-wikipedia-w'\n }),\n createSubMenuItem({\n // Alpha users who are admins (or super admins). `granted:` reads the\n // literal grant: a plain `Pages.Alpha` is true for EVERY super admin, but\n // brain-api only admits users whose alpha flag is set. \"Use my data\" is\n // enforced by the page and by brain-api. Spaces around the parentheses\n // are required: the expression parser splits on spaces.\n permission: 'granted:Pages.Alpha && ( SuperAdmin || SubscriptionAdmin )',\n path: ':slug/enterprise/ai-knowledge',\n title: 'AI Knowledge',\n icon: 'fa fa-brain'\n }),\n createSubMenuItem({\n permission: 'Pages.Beta',\n path: ':slug/enterprise/insights',\n title: 'Insights',\n icon: 'far fa-tag'\n })\n ]\n }),\n\n CHAT_MENU: createMenuItem({\n permission: 'Pages.Product.{permission_key}.{feature_key}.Chat',\n path: '/message',\n title: 'Chat',\n icon: 'ft-message-square',\n badgeClass: 'badge rounded-pill bg-danger float-end mt-1',\n order: 2\n }),\n\n BLOG_MENU: createMenuItem({\n permission:\n 'Pages.Product.{permission_key}.{feature_key}.Blog || Pages.Role.MarketingManager || Pages.Role.CustomerSuccessManager',\n path: '/posts/list',\n title: 'Blog',\n icon: 'far fa-blog'\n })\n};\n","import { RouteInfo } from './sidebar.metadata';\nimport { COMMON_MENUS, createMenuItem, createSubMenuItem } from './sidebar-route-utils';\n\n// Centralized admin permissions\nconst ADMIN_PERMISSIONS = {\n GENERIC: 'Pages.Admin',\n DOMAIN_CONFIG: 'Pages.Admin.DomainConfig || Pages.Role.MarketingManager',\n USERS: 'Pages.Admin.Users',\n SUBSCRIPTION: 'Pages.Admin.Subscription',\n PRODUCT: 'Pages.Admin.Product',\n LOGIN_NOTIFICATION:\n 'Pages.Admin.LoginNotification || Pages.Role.MarketingManager || Pages.Role.CustomerSuccessManager',\n NEWSLETTER:\n 'Pages.Admin.Newsletter || Pages.Role.MarketingManager || Pages.Role.CustomerSuccessManager',\n MAILER: 'Pages.Admin.Mailer',\n BLOG: 'Pages.Admin.Blog || Pages.Role.MarketingManager || Pages.Role.CustomerSuccessManager',\n FEATURE_FLAGS: 'Pages.Admin.FeatureFlags',\n FAQ: 'Pages.Admin.FAQ || Pages.Role.MarketingManager || Pages.Role.CustomerSuccessManager',\n INCIDENT: 'Pages.Admin.Incident',\n CONTACT_US: 'Pages.Admin.ContactUs',\n TIPS: 'Pages.Admin.Tips',\n TAGS: 'Pages.Admin.Tags',\n ROLES: 'Pages.Admin.Roles',\n TOS: 'Pages.Admin.Tos',\n CREDENTIAL: 'Pages.Admin.Credential',\n OAUTH_CLIENTS: 'Pages.Admin.Oauth',\n AMBASSADOR_PAYOUTS: 'Pages.Admin.AmbassadorPayouts',\n TRACKING: 'Pages.Admin.Tracking',\n GLOBAL_CONFIG: 'Pages.Admin.Global-Config'\n} as const;\n\n// Centralized admin paths\nconst ADMIN_PATHS = {\n GENERIC: '/admin/generic',\n DOMAIN_CONFIG: '/admin/domain-config/list',\n USERS: '/admin/users',\n SUBSCRIPTION: '/admin/subscriptions',\n PRODUCT: '/admin/products',\n LOGIN_NOTIFICATION: '/admin/login-notifications/list',\n NEWSLETTER: '/admin/newsletter',\n MAILER: '/admin/mailers',\n BLOG: '/admin/resources',\n FEATURE_FLAGS: '/admin/feature-flags/list',\n FAQ: '/admin/faq/list',\n INCIDENT: '/admin/incident/list',\n CONTACT_US: '/admin/contact-us/list',\n TIPS: '/admin/tips/list',\n TAGS: '/admin/tags',\n ROLES: '/admin/permissions',\n // Section root (redirects to /list) so routerLinkActive also matches the\n // /admin/tos/:id edit route — keeps the menu item highlighted when deep-linked.\n TOS: '/admin/tos',\n CREDENTIAL: '/admin/credentials',\n OAUTH_CLIENTS: '/admin/oauth-clients',\n // Section root (redirects to /list), so routerLinkActive also matches the\n // /admin/ambassador-payouts/:id detail route — keeps the menu item\n // highlighted when a payout is opened or deep-linked. Same reason as TOS.\n AMBASSADOR_PAYOUTS: '/admin/ambassador-payouts',\n TRACKING: '/admin/tracking',\n GLOBAL_CONFIG: '/admin/global-config'\n} as const;\n\n// Centralized admin menu data\nconst ADMIN_MENU_DATA = [\n { key: 'GENERIC', title: 'Generic', icon: 'far fa-book' },\n { key: 'DOMAIN_CONFIG', title: 'Domains', icon: 'fa fa-fw fa-cog' },\n { key: 'USERS', title: 'Users', icon: 'far fa-user-cog' },\n { key: 'SUBSCRIPTION', title: 'Subscriptions', icon: 'ft-box' },\n { key: 'PRODUCT', title: 'Products', icon: 'far fa-parking' },\n { key: 'LOGIN_NOTIFICATION', title: 'Notifications', icon: 'fa fa-fw fa-bell' },\n { key: 'NEWSLETTER', title: 'Newsletters', icon: 'far fa-newspaper' },\n { key: 'MAILER', title: 'Mailers', icon: 'far fa-envelope' },\n { key: 'BLOG', title: 'Resources', icon: 'far fa-blog' },\n { key: 'FEATURE_FLAGS', title: 'Feature Flags', icon: 'fa fa-fw fa-toggle-on' },\n { key: 'FAQ', title: 'FAQs', icon: 'fa fa-question' },\n { key: 'INCIDENT', title: 'Incidents', icon: 'fa fa-solid fa-triangle-exclamation' },\n { key: 'CONTACT_US', title: 'Contact Us', icon: 'fa fa-address-book' },\n { key: 'TIPS', title: 'Tours', icon: 'far fa-lightbulb' },\n { key: 'TAGS', title: 'Tags', icon: 'far fa-tags' },\n { key: 'ROLES', title: 'Permissions', icon: 'fas fa-key' },\n { key: 'TOS', title: 'Privacy & TOS', icon: 'fas fa-sticky-note' },\n { key: 'CREDENTIAL', title: 'Credentials', icon: 'fas fa-file-signature' },\n { key: 'OAUTH_CLIENTS', title: 'MCP OAuth Clients', icon: 'fas fa-robot' },\n // fa-handshake is already the ambassador icon in the users list.\n { key: 'AMBASSADOR_PAYOUTS', title: 'Ambassador Payouts', icon: 'fa fa-handshake' },\n { key: 'TRACKING', title: 'Tracking', icon: 'fa fa-map-marker' },\n { key: 'GLOBAL_CONFIG', title: 'Global Configs', icon: 'fa fa-fw fa-cog' }\n] as const;\n\n// Helper function to create admin submenu items\nconst createAdminSubMenuItem = (menuKey: keyof typeof ADMIN_PERMISSIONS): RouteInfo =>\n createSubMenuItem({\n permission: ADMIN_PERMISSIONS[menuKey],\n path: ADMIN_PATHS[menuKey],\n title: ADMIN_MENU_DATA.find(item => item.key === menuKey)?.title || '',\n icon: ADMIN_MENU_DATA.find(item => item.key === menuKey)?.icon || ''\n });\n\n// Generate admin submenu from centralized data\nconst generateAdminSubmenu = (): RouteInfo[] =>\n ADMIN_MENU_DATA.map(item => createAdminSubMenuItem(item.key));\n\n// Sidebar menu Routes and data\nexport const ROUTES: RouteInfo[] = [\n createMenuItem({\n permission: 'Pages.Dashboard',\n path: '/home',\n title: 'Home',\n icon: 'ft-home',\n order: 1\n }),\n createMenuItem({\n permission: 'Pages.Admin',\n path: null,\n title: 'Admin',\n icon: 'ft-user',\n class: 'has-sub',\n order: 3,\n submenu: generateAdminSubmenu()\n })\n];\n\n// Export common menus from shared utilities\nexport const { FAQ_Menu, ENTERPRISE_MENU, CHAT_MENU, BLOG_MENU } = COMMON_MENUS;\n","import { NavigationEnd } from '@angular/router';\n\nimport { filter, Observable, Subscription } from 'rxjs';\n\n/**\n * Opens every `has-sub` group around the active sidebar item and scrolls the sidebar\n * until the item is visible. app-sidebar.js opens the group too, but only once jQuery\n * is in, which on a direct load can be 10+ seconds away, and nothing scrolled: a long\n * menu (super admin) left the active item below the fold. Additive only — it never\n * collapses, so it cannot fight jQuery's toggle.\n *\n * Shared so every frontend's sidebar behaves the same on a cold load\n * (posiwise-frontend#4205).\n */\nexport function openActiveGroup(doc: Document): void {\n if (doc.querySelector('.wrapper')?.classList.contains('nav-collapsed')) {\n return;\n }\n\n const active = doc.querySelector('.sidebar-content .navigation li.active');\n let parent = active?.parentElement?.closest('li.has-sub');\n while (parent) {\n parent.classList.add('open');\n parent = parent.parentElement?.closest('li.has-sub');\n }\n revealInSidebar(doc.querySelector('.sidebar-content'), active);\n}\n\n/**\n * Scrolls the sidebar, never the page, to centre an item that is not fully visible.\n * Centring keeps it clear of the edges, where a pinned footer can cover it.\n */\nfunction revealInSidebar(sidebar: Element | null, item: Element | null): void {\n if (!sidebar || !item) {\n return;\n }\n const box = sidebar.getBoundingClientRect();\n const rect = item.getBoundingClientRect();\n if (rect.top >= box.top && rect.bottom <= box.bottom) {\n return;\n }\n const offset = rect.top + rect.height / 2 - (box.top + box.height / 2);\n sidebar.scrollTop = Math.max(0, Math.round(sidebar.scrollTop + offset));\n}\n\n/**\n * Re-opens the active item's group after every navigation, once the new\n * `routerLinkActive` classes have rendered.\n */\nexport function watchActiveGroup(doc: Document, routerEvents$: Observable<unknown>): Subscription {\n return routerEvents$\n .pipe(filter(event => event instanceof NavigationEnd))\n .subscribe(() => setTimeout(() => openActiveGroup(doc)));\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,IAAa,yBAAb,MAAa,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gBAAgB,IAAI,cAAc,kBAAkB,GAAG,MAAM;AACjE;AAMA,SAAS,gBAAgB,SAAyB,MAAoB;CAClE,IAAI,CAAC,WAAW,CAAC,MACb;CAEJ,MAAM,MAAM,QAAQ,sBAAqB;CACzC,MAAM,OAAO,KAAK,sBAAqB;CACvC,IAAI,KAAK,OAAO,IAAI,OAAO,KAAK,UAAU,IAAI,QAC1C;CAEJ,MAAM,SAAS,KAAK,MAAM,KAAK,SAAS,KAAK,IAAI,MAAM,IAAI,SAAS;CACpE,QAAQ,YAAY,KAAK,IAAI,GAAG,KAAK,MAAM,QAAQ,YAAY,MAAM,CAAC;AAC1E;AAMA,SAAgB,iBAAiB,KAAe,eAAkC;CAC9E,OAAO,cACF,KAAK,QAAO,UAAS,iBAAiB,aAAa,CAAC,CAAC,CACrD,gBAAgB,iBAAiB,gBAAgB,GAAG,CAAC,CAAC;AAC/D"}
|
|
1
|
+
{"version":3,"file":"posiwise-dashboard-module.mjs","names":["i1","i2","i1","i2","i3","i4","i5","i1","i2","i3","i5","i6","i7","i8","i1","i2","i4","i1","i3","i5.UserFeedbackComponent","i6","i1","i3","i4","i1","i3","i4","i2.CurrentNotificationsComponent","i3.DismissedNotificationsComponent","i1","i2","i3","i4","i5","i6","i8"],"sources":["../../../../libs/dashboard-module/src/lib/documentation-view/documentation-view.component.ts","../../../../libs/dashboard-module/src/lib/documentation-view/documentation-view.component.html","../../../../libs/dashboard-module/src/lib/faq/faq-admin-permission.ts","../../../../libs/dashboard-module/src/lib/faq/faq-grouping.ts","../../../../libs/dashboard-module/src/lib/faq/faq.component.ts","../../../../libs/dashboard-module/src/lib/faq/faq.component.html","../../../../libs/dashboard-module/src/lib/faq-details/faq-status-badges.ts","../../../../libs/dashboard-module/src/lib/faq-details/faq-details.component.ts","../../../../libs/dashboard-module/src/lib/faq-details/faq-details.component.html","../../../../libs/dashboard-module/src/lib/home/home-product-sections.token.ts","../../../../libs/dashboard-module/src/lib/user-feedback/user-feedback.component.ts","../../../../libs/dashboard-module/src/lib/user-feedback/user-feedback.component.html","../../../../libs/dashboard-module/src/lib/home/home.component.ts","../../../../libs/dashboard-module/src/lib/home/home.component.html","../../../../libs/dashboard-module/src/lib/notifications-page/current-notifications/current-notifications.component.ts","../../../../libs/dashboard-module/src/lib/notifications-page/current-notifications/current-notifications.component.html","../../../../libs/dashboard-module/src/lib/notifications-page/dismissed-notifications/dismissed-notifications.component.ts","../../../../libs/dashboard-module/src/lib/notifications-page/dismissed-notifications/dismissed-notifications.component.html","../../../../libs/dashboard-module/src/lib/notifications-page/notifications-page.component.ts","../../../../libs/dashboard-module/src/lib/notifications-page/notifications-page.component.html","../../../../libs/dashboard-module/src/lib/search/search.component.ts","../../../../libs/dashboard-module/src/lib/search/search.component.html","../../../../libs/dashboard-module/src/lib/dashboard-content.module.ts","../../../../libs/dashboard-module/src/lib/dashboard.module.ts","../../../../libs/dashboard-module/src/lib/sidebar/sidebar-route-utils.ts","../../../../libs/dashboard-module/src/lib/sidebar/sidebar-routes.config.ts","../../../../libs/dashboard-module/src/lib/sidebar/sidebar-active-group.ts"],"sourcesContent":["import { Component, OnInit } from '@angular/core';\nimport { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';\n\n@Component({\n selector: 'pw-documentation',\n templateUrl: './documentation-view.component.html',\n styleUrls: ['./documentation-view.component.scss'],\n\n standalone: false\n})\nexport class DocumentationComponent implements OnInit {\n iframeUrl: SafeResourceUrl;\n isLoaded = false;\n\n constructor(private readonly sanitizer: DomSanitizer) {}\n\n ngOnInit() {\n // Read from sessionStorage - don't clear it so it persists on refresh\n const sessionStorageUrl = sessionStorage.getItem('documentation_url');\n const rawUrl = sessionStorageUrl;\n\n if (rawUrl) {\n // baseUrl is a trusted internal source (e.g. YouTube embed URL)\n this.iframeUrl = this.sanitizer.bypassSecurityTrustResourceUrl(rawUrl); //NOSONAR\n } else {\n // If no URL is available, mark as loaded to hide spinner\n this.isLoaded = true;\n }\n }\n\n onIframeLoad(): void {\n // Defer change to next tick to avoid ExpressionChangedAfterItHasBeenCheckedError\n setTimeout(() => {\n this.isLoaded = true;\n }, 0);\n }\n}\n","@if (!isLoaded) {\n <div class=\"w-100 text-center mt-3\">\n <p-progress-spinner strokeWidth=\"2\"></p-progress-spinner>\n </div>\n}\n\n<div class=\"documentation-wrapper\" [hidden]=\"!isLoaded || !iframeUrl\">\n @if (iframeUrl) {\n <iframe\n [src]=\"iframeUrl\"\n width=\"100%\"\n height=\"100%\"\n allowfullscreen\n title=\"Documentation Frame\"\n (load)=\"onIframeLoad()\"\n ></iframe>\n }\n</div>\n","/// The permission expression guarding the admin FAQ routes. Kept verbatim in\n/// step with `libs/admin-module/src/lib/admin-module.routing.ts`, where the\n/// `faq` parent and its `add` / `:id` children all carry this exact string.\n/// Offering an edit affordance to anyone `PageAccessGuard` would then bounce\n/// to `notfound` is the failure mode this mirroring exists to prevent.\n///\n/// Shared by the public FAQ list (`FaqComponent`) and the public FAQ detail\n/// page (`FaqDetailsComponent`) so the two surfaces can never drift apart.\nexport const FAQ_ADMIN_PERMISSION =\n 'Pages.Admin.FAQ || Pages.Role.MarketingManager || Pages.Role.CustomerSuccessManager';\n","import { FAQ } from '@posiwise/common-utilities';\n\nimport groupBy from 'lodash/groupBy';\nimport sortBy from 'lodash/sortBy';\n\nexport interface GroupedFaqs {\n [category: string]: FAQ[];\n}\n\n/// Non-product FAQs first, then product-scoped ones, grouped by category and\n/// ordered by `position` within each group.\nexport function groupFaqsByCategory(nonProductFaqs: FAQ[], productFaqs: FAQ[]): GroupedFaqs {\n const grouped = groupBy([...nonProductFaqs, ...productFaqs], 'category');\n\n Object.keys(grouped).forEach(category => {\n grouped[category] = sortBy(grouped[category], 'position');\n });\n\n return grouped;\n}\n\n/// Sanitize every answer up front so the markup is present before the collapse\n/// measures its target height — prevents the end-of-animation height snap that\n/// made expand/collapse feel clunky. Keyed `{itemIndex}-{categoryIndex}` to\n/// match the template's collapse ids.\nexport function buildSanitizedAnswers<T>(\n faqs: GroupedFaqs,\n sanitize: (body: string) => T\n): { [key: string]: T } {\n const answers: { [key: string]: T } = {};\n\n Object.keys(faqs).forEach((category, categoryIndex) => {\n faqs[category].forEach((faq, itemIndex) => {\n if (faq?.answer) {\n answers[`${itemIndex}-${categoryIndex}`] = sanitize(faq.answer);\n }\n });\n });\n\n return answers;\n}\n","import { ChangeDetectorRef, Component, Injector, OnDestroy, OnInit } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\n\nimport { AppBaseComponent } from '@posiwise/app-base-component';\nimport { CommonService, PermissionService, ProductService } from '@posiwise/common-services';\nimport { ADMIN_ROUTERS, FAQ, Product, User } from '@posiwise/common-utilities';\nimport { HelperService } from '@posiwise/helper-service';\n\nimport { forkJoin, Subject } from 'rxjs';\nimport { debounceTime, finalize, takeUntil } from 'rxjs/operators';\n\nimport { FAQ_ADMIN_PERMISSION } from './faq-admin-permission';\nimport { buildSanitizedAnswers, GroupedFaqs, groupFaqsByCategory } from './faq-grouping';\n\nexport { GroupedFaqs };\n\n@Component({\n selector: 'pw-faq',\n templateUrl: './faq.component.html',\n styleUrls: ['./faq.component.scss'],\n\n standalone: false\n})\nexport class FaqComponent extends AppBaseComponent implements OnInit, OnDestroy {\n private readonly searchSubject: Subject<string> = new Subject<string>();\n private readonly destroy$ = new Subject<void>();\n faqs: GroupedFaqs;\n search_term;\n\n sanitizedFaqAnswers: { [key: string]: SafeHtml } = {};\n\n productFaq: FAQ[];\n\n private nonProductFaqs: FAQ[];\n\n private allProductFaqs: FAQ[];\n\n subscriptions = [];\n\n objectKeys = Object.keys;\n\n isLoaded = false;\n masterProductId;\n\n totalRecords: number;\n\n products: Product[];\n\n private faqsResponse = [];\n\n allFaqFalse: boolean;\n\n subscriptionId: number;\n\n showSupport: boolean;\n showDocumentation;\n\n faqHashMap = {};\n slug;\n\n readonly routers = ADMIN_ROUTERS;\n\n /// Whether to offer the inline link through to the admin edit form. Unlike\n /// the detail page, the list endpoint returns each FAQ's `id`, so no\n /// fallback is needed here.\n canEditFaq = false;\n\n constructor(\n private readonly commonService: CommonService,\n injector: Injector,\n private readonly productService: ProductService,\n private readonly sanitizer: DomSanitizer,\n private readonly cdr: ChangeDetectorRef\n ) {\n super(injector);\n }\n\n ngOnInit() {\n this.faqHashMap = {};\n this.showSupport = PermissionService.selectedProduct?.gitlab_service_desk_email;\n this.showDocumentation = PermissionService.selectedProduct?.documentation_url;\n this.slug = PermissionService.selectedSubscription?.slug;\n this.subscriptionId = PermissionService?.selectedSubscription?.id;\n this.masterProductId = this.appConfig.master_subscription.product_id;\n this.canEditFaq = this.permissionService.evaluatePermissions(FAQ_ADMIN_PERMISSION);\n this.getProducts();\n\n this.searchSubject\n .pipe(debounceTime(1000), takeUntil(this.destroy$))\n .subscribe(searchValue => {\n this.search_term = searchValue;\n this.loadFaqData();\n this.cdr.markForCheck();\n });\n\n this.loadFaqData();\n }\n\n loadFaqData() {\n this.isLoaded = false;\n\n forkJoin({\n faqs: this.commonService.getPublicFaq(this.subscriptionId, this.search_term),\n products: this.productService.getProducts({ master_product_id: this.masterProductId })\n })\n .pipe(\n finalize(() => {\n this.isLoaded = true;\n this.cdr.markForCheck();\n })\n )\n .subscribe(({ faqs, products }) => {\n this.faqsResponse = faqs.faqs;\n faqs?.available_category?.forEach(x => {\n this.faqHashMap[x.key] = x;\n });\n this.totalRecords = faqs.faqs.length;\n this.nonProductFaqs = this.faqsResponse.filter(x => x.visible && !x.product_id);\n this.allProductFaqs = this.faqsResponse.filter(x => x.visible && x.product_id);\n const noProductObjects: boolean = this.faqsResponse.every(x => x.product === null);\n this.allFaqFalse = this.faqsResponse.every(x => x.visible === false);\n\n if (!noProductObjects) {\n this.products = products.products;\n this.faqValidation();\n } else {\n this.products = [];\n this.faqValidation();\n }\n this.cdr.markForCheck();\n });\n }\n\n private faqValidation() {\n this.faqs = groupFaqsByCategory(this.nonProductFaqs, this.allProductFaqs);\n this.sanitizedFaqAnswers = buildSanitizedAnswers(this.faqs, body =>\n this.sanitizeFaqAnswer(body)\n );\n }\n\n private getProducts() {\n this.subscriptions = [];\n this.userStore().subscribe((user: User) => {\n if (user) {\n this.subscriptions = user.subscriptions;\n }\n this.cdr.markForCheck();\n });\n }\n\n filter(searchValue: string) {\n this.searchSubject.next(searchValue);\n }\n\n navigateToSupport() {\n this.router.navigate(['/support']);\n }\n\n navigateToDocumentation() {\n sessionStorage.setItem('documentation_url', this.showDocumentation);\n const documentationRoute = this.router.createUrlTree([this.slug, 'documentation']);\n const url = window.location.origin + this.router.serializeUrl(documentationRoute);\n window.open(url, '_blank');\n }\n\n trackByProductFaqId(_index: number, item: { id: number }) {\n return item.id;\n }\n\n onCollapseToggle(key: string, answer: string): void {\n if (!this.sanitizedFaqAnswers[key] && answer) {\n this.sanitizedFaqAnswers[key] = this.sanitizeFaqAnswer(answer);\n }\n }\n\n sanitizeFaqAnswer(body: string) {\n return HelperService.sanitizeQuillBody(body, this.sanitizer);\n }\n\n override ngOnDestroy() {\n this.destroy$.next();\n this.destroy$.complete();\n super.ngOnDestroy();\n }\n}\n","<div class=\"mt-md-4 mt-4\">\n <div class=\"row mb-3\">\n <div class=\"col-12\">\n <div class=\"card gradient-custom-branding white text-center p-1 p-sm-2\">\n <div class=\"card-header p-1 p-sm-2\">\n <div class=\"d-flex justify-content-between align-items-start mb-3 mb-md-0\">\n <div>\n @if (showDocumentation) {\n <button\n class=\"btn btn-sm document-btn\"\n (click)=\"navigateToDocumentation()\">\n Documentation\n </button>\n }\n </div>\n <div>\n @if (showSupport) {\n <button\n class=\"btn btn-sm btn-primary\"\n (click)=\"navigateToSupport()\">\n Support\n </button>\n }\n </div>\n </div>\n\n <h1>You need help?</h1>\n <p><em>Please search through our frequently asked questions first.</em></p>\n </div>\n <div class=\"card-block p-2 p-sm-2\">\n <fieldset>\n <legend></legend>\n <label for=\"faq-search\" class=\"visually-hidden\">Search in FAQs</label>\n <input type=\"text\"\n id=\"faq-search\"\n name=\"faq-search\"\n class=\"form-control bg-white\"\n placeholder=\"Search FAQs...\"\n (input)=\"filter($event.target.value)\"\n #messageInput\n aria-label=\"Search FAQs...\" />\n </fieldset>\n </div>\n </div>\n </div>\n </div>\n @if (!isLoaded) {\n <div class=\"w-100 text-center mt-3\"\n >\n <p-progress-spinner strokeWidth=\"2\"> </p-progress-spinner>\n </div>\n }\n @if (faqs) {\n @for (category of objectKeys(faqs); track category; let idx1 = $index) {\n <div>\n @if (faqs[category]?.length) {\n <h6 class=\"text-uppercase mt-3 p-1\">{{ faqHashMap[category]?.name }}</h6>\n <div class=\"dashboard\">\n @for (\n faq of faqs[category]; track trackByProductFaqId(idx,\n faq); let idx = $index) {\n <div class=\"faq-item\"\n >\n <div class=\"dashboard-header p-2\">\n <h5 class=\"accordion-title mt-2\">\n <a class=\"accordion-toggle collapsed\"\n data-bs-toggle=\"collapse\"\n (click)=\"onCollapseToggle(idx + '-' + idx1, faq?.answer)\"\n [href]=\"'#collapse' + idx + idx1\">\n {{ faq.question }}\n </a>\n </h5>\n @if (canEditFaq && faq?.id) {\n <a class=\"faq-edit-link\"\n [pTooltip]=\"'Admin.Faq.EditTitle' | transloco\"\n tooltipPosition=\"top\"\n appendTo=\"body\"\n [attr.aria-label]=\"'Admin.Faq.EditTitle' | transloco\"\n [routerLink]=\"[routers.faqDetails + faq.id]\"\n target=\"_blank\">\n <i class=\"fa fa-edit edit-icon\" aria-hidden=\"true\"></i>\n </a>\n }\n </div>\n <div [id]=\"'collapse' + idx + idx1\"\n class=\"panel-collapse p-3 collapse in\">\n <div class=\"card-block\">\n @if (faq?.answer) {\n <div class=\"ql-container ql-snow no-border\">\n <div class=\"ql-editor\"\n [innerHTML]=\"sanitizedFaqAnswers[idx + '-' + idx1]\">\n </div>\n </div>\n }\n </div>\n </div>\n </div>\n }\n </div>\n }\n </div>\n }\n }\n @if (isLoaded && (totalRecords === 0 || allFaqFalse)) {\n <div>\n <pw-no-data [withImage]=\"true\" message=\"This is embarrassing - we couldn't find any FAQ.\"> </pw-no-data>\n </div>\n }\n</div>\n","/// Editor-only status badges for the FAQ detail page.\n///\n/// `public`, `visible`, `category` and `feature_keys` are all on main-api's\n/// public whitelist (`FaqHelpers#faq_attributes_to_return`), so the badges cost\n/// no extra request — only naming the category does.\n///\n/// Each boolean badge is derived to render ONLY in its notable state: a\n/// \"Not public\" / \"Visible\" badge on every other FAQ would be noise on a page\n/// that shows exactly one. A hidden FAQ only reaches this page for a\n/// master-subscription admin at all (`filter_initial_faqs` drops\n/// `visible IS FALSE` for everyone else), which is precisely who it is for.\n\n/// One entry of main-api's `Faq::AVAILABLE_CATEGORIES`, as served verbatim by\n/// the public `faqs/available_categories` endpoint.\nexport interface FaqCategory {\n key: string;\n name: string;\n description?: string;\n}\n\nexport interface FaqStatusBadges {\n isPublic: boolean;\n isHidden: boolean;\n /// Raw category key — the palette lookup `appDynamicBadge` matches on.\n category: string;\n /// Human-readable category name, falling back to the raw key so the badge\n /// still says something useful when the lookup is skipped or fails.\n categoryLabel: string;\n /// Palette input for `appDynamicBadge` — the same key list the admin FAQ\n /// table feeds it, so a category lands on the same colour on both screens.\n categoryKeys: string[];\n /// Rendered as the category badge's tooltip, mirroring the admin table.\n featureKeys: string[];\n}\n\nexport const EMPTY_FAQ_STATUS_BADGES: FaqStatusBadges = {\n isPublic: false,\n isHidden: false,\n category: undefined,\n categoryLabel: '',\n categoryKeys: [],\n featureKeys: []\n};\n\nexport function buildStatusBadges(faq, categories: FaqCategory[] | null): FaqStatusBadges {\n if (!faq) {\n return { ...EMPTY_FAQ_STATUS_BADGES };\n }\n\n const resolved = categories ?? [];\n const category = faq.category;\n const named = resolved.find(entry => entry.key === category);\n\n return {\n isPublic: faq.public === true,\n isHidden: faq.visible === false,\n category,\n categoryLabel: named?.name || category || '',\n categoryKeys: resolved.map(entry => entry.key),\n featureKeys: Array.isArray(faq.feature_keys) ? faq.feature_keys : []\n };\n}\n","import { ChangeDetectorRef, Component, Injector, OnInit } from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\n\nimport { AppBaseComponent } from '@posiwise/app-base-component';\nimport { CommonService, PermissionService } from '@posiwise/common-services';\nimport { ADMIN_ROUTERS, FAQ } from '@posiwise/common-utilities';\n\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize, map, switchMap, take } from 'rxjs/operators';\n\nimport { FAQ_ADMIN_PERMISSION } from '../faq/faq-admin-permission';\n\nimport { buildStatusBadges, EMPTY_FAQ_STATUS_BADGES, FaqStatusBadges } from './faq-status-badges';\n\n@Component({\n selector: 'pw-faq-details',\n templateUrl: './faq-details.component.html',\n styleUrls: ['./faq-details.component.scss'],\n\n standalone: false\n})\nexport class FaqDetailsComponent extends AppBaseComponent implements OnInit {\n /// Route param for the FAQ: either its numeric id or its slug. The public\n /// endpoint resolves BOTH (`faq[:id] == params[:id].to_i || faq[:slug] == params[:id]`\n /// — main-api FaqHelpers#fetch_faq), so this must stay a raw string. Coercing it\n /// with Number() turned every slug URL into NaN, which is what made the Brain\n /// chat's published `/faq/{slug}` links dead.\n faqRef: string;\n\n faq: FAQ;\n\n isLoading = false;\n\n slug: string;\n\n readonly routers = ADMIN_ROUTERS;\n\n /// Whether to offer the inline link through to the admin edit form.\n canEditFaq = false;\n\n /// Numeric id for the admin edit route, or null when none can be resolved.\n editFaqId: number | null = null;\n\n /// Editor-only status badges — see `faq-status-badges.ts` for what each\n /// one means and why the booleans only render in their notable state.\n badges: FaqStatusBadges = { ...EMPTY_FAQ_STATUS_BADGES };\n\n /// Resolved before the request so the categories lookup can be issued in\n /// parallel rather than chained behind the FAQ (AI54: one loader, one wait).\n private hasFaqAdminPermission = false;\n\n constructor(\n private readonly commonService: CommonService,\n injector: Injector,\n private readonly sanitizer: DomSanitizer,\n private readonly cdr: ChangeDetectorRef\n ) {\n super(injector);\n this.faqRef = this.route.snapshot.params['id'];\n this.slug = PermissionService.selectedSubscription?.slug;\n }\n\n ngOnInit() {\n this.hasFaqAdminPermission =\n this.permissionService.evaluatePermissions(FAQ_ADMIN_PERMISSION);\n this.getFaq();\n }\n\n /// True once there is at least one badge worth a row of its own.\n get showStatusBadges(): boolean {\n return (\n this.canEditFaq &&\n (this.badges.isPublic || this.badges.isHidden || !!this.badges.categoryLabel)\n );\n }\n\n getFaq() {\n this.isLoading = true;\n forkJoin({\n faq: this.commonService.getPublicFaqById(this.faqRef),\n categories: this.faqCategories$()\n })\n .pipe(\n finalize(() => {\n this.isLoading = false;\n this.cdr.markForCheck();\n })\n )\n .subscribe(({ faq, categories }) => {\n this.faq = { ...faq, answer: this.sanitizeAnswer(faq) };\n\n // Only offer the edit affordance once a FAQ actually resolved —\n // a miss still leaves `faq` truthy (spreading null yields\n // `{answer: undefined}`), so key off the question itself.\n const loaded = !!faq?.question;\n this.canEditFaq = loaded && this.hasFaqAdminPermission;\n this.editFaqId = loaded ? this.resolveEditFaqId(faq) : null;\n this.badges = buildStatusBadges(loaded ? faq : null, categories);\n\n this.cdr.markForCheck();\n });\n }\n\n /// Category names are only ever rendered for an editor — skip the call\n /// entirely otherwise.\n ///\n /// Subscription resolution is [TEN2]-first: `getUserSubscriptionId()`\n /// matches the route slug against the user's OWN subscriptions, never\n /// trusting a raw route param. `PermissionService.selectedSubscription` is\n /// kept only as a FALLBACK, for the one case that helper cannot serve — a\n /// super admin viewing a subscription they are not a member of, where it\n /// resolves to nothing and the badge would degrade to a raw\n /// `master_admin`-style key for exactly the audience that needs the name.\n ///\n /// 🔴 That fallback is safe HERE AND ONLY HERE because this endpoint's\n /// payload is tenant-invariant: `available_categories` returns the frozen\n /// `Faq::AVAILABLE_CATEGORIES` constant and never reads `subscription_id`\n /// (main-api `app/api/v1/public/faqs.rb:27` -> `faq_helpers.rb:34`). The\n /// param exists only to satisfy Grape's required-params contract, so a\n /// stale id cannot surface another tenant's data. Do NOT copy this\n /// fallback onto a call that returns tenant-scoped data.\n ///\n /// `take(1)` is load-bearing: `getUserSubscriptionId()` wraps\n /// `route.parent.params`, which never completes, and `forkJoin` waits for\n /// EVERY source to complete — without it the page spins forever.\n ///\n /// A failure must never take the FAQ itself down with it, so it degrades to\n /// the raw category key rather than propagating.\n private faqCategories$() {\n if (!this.hasFaqAdminPermission) {\n return of(null);\n }\n\n return this.getUserSubscriptionId().pipe(\n take(1),\n map(id => id ?? PermissionService.selectedSubscription?.id),\n switchMap(id => (id ? this.commonService.getFaqCategories(id) : of(null))),\n catchError(() => of(null))\n );\n }\n\n private sanitizeAnswer(faq) {\n if (!faq?.answer) {\n return undefined;\n }\n\n const doc = new DOMParser().parseFromString(faq.answer, 'text/html');\n\n // Remove all button elements\n doc.querySelectorAll('button').forEach(button => button.remove());\n\n // Return sanitized HTML\n // NOSONAR: Trusted HTML content is handled safely here\n return this.sanitizer.bypassSecurityTrustHtml(doc.body.innerHTML); // NOSONAR\n }\n\n /// The admin edit route resolves a NUMERIC id (`+params['id'] || 0` in\n /// `AddEditFaqComponent`), but this page is reachable by slug too and the\n /// public endpoint does not return the id at all — main-api's\n /// `FaqHelpers#faq_attributes_to_return` whitelists `slug`, not `id`. So\n /// prefer a payload id if one ever appears, then fall back to the route\n /// param only when it is already numeric. Returning null hides the link\n /// rather than opening the admin form in \"add a new FAQ\" mode.\n private resolveEditFaqId(faq: FAQ): number | null {\n const fromPayload = Number(faq?.id);\n if (Number.isInteger(fromPayload) && fromPayload > 0) {\n return fromPayload;\n }\n\n const fromRoute = Number(this.faqRef);\n return Number.isInteger(fromRoute) && fromRoute > 0 ? fromRoute : null;\n }\n}\n","@if (!isLoading) {\n <div class=\"content-quill-wrapper overflow-hidden mt-5 p-3\">\n <div class=\"content-quill-box\">\n <h2 [class.mb-3]=\"!showStatusBadges\" [class.mb-2]=\"showStatusBadges\">\n {{faq?.question}}\n @if (canEditFaq && editFaqId) {\n <a class=\"faq-edit-link ms-3\"\n [pTooltip]=\"'Admin.Faq.EditTitle' | transloco\"\n tooltipPosition=\"top\"\n appendTo=\"body\"\n [attr.aria-label]=\"'Admin.Faq.EditTitle' | transloco\"\n [routerLink]=\"[routers.faqDetails + editFaqId]\"\n target=\"_blank\">\n <i class=\"fa fa-edit edit-icon\" aria-hidden=\"true\"></i>\n </a>\n }\n </h2>\n @if (showStatusBadges) {\n <!-- `badge-soft` opts these out of Bootstrap's saturated fills and into\n the platform badge doctrine (admin-list-view §B-1..B-5: light tint +\n dark ink, status dot on success/danger, no dot on a taxonomy value).\n Defined once in @posiwise/core-styles — never restate the hexes. -->\n <div class=\"faq-status-badges d-flex flex-wrap align-items-center gap-2 mb-3\">\n @if (badges.categoryLabel) {\n <span class=\"badge badge-soft\"\n [appDynamicBadge]=\"{ itemsArray: badges.categoryKeys, item: badges.category }\"\n color=\"cyan\"\n [pTooltip]=\"badges.featureKeys.length ? badges.featureKeys.join(', ') : ''\"\n tooltipPosition=\"top\"\n appendTo=\"body\">{{ badges.categoryLabel }}</span>\n }\n @if (badges.isPublic) {\n <span class=\"badge badge-soft bg-success\"\n [pTooltip]=\"'Admin.Faq.Tooltip.Public' | transloco\"\n tooltipPosition=\"top\"\n appendTo=\"body\">{{ 'Admin.Faq.Public' | transloco }}</span>\n }\n @if (badges.isHidden) {\n <span class=\"badge badge-soft bg-danger\"\n [pTooltip]=\"'Admin.Faq.Tooltip.Hidden' | transloco\"\n tooltipPosition=\"top\"\n appendTo=\"body\">{{ 'Admin.Faq.Hidden' | transloco }}</span>\n }\n </div>\n }\n <ng-container>\n <div class=\"ql-container ql-snow no-border\">\n <div class=\"ql-editor\"\n [innerHTML]=\"faq?.answer\">\n </div>\n </div>\n </ng-container>\n </div>\n @if (!faq && !isLoading) {\n <pw-no-data\n message=\"No Faq found\">\n </pw-no-data>\n }\n <div class=\"text-end mt-3\">\n <button class=\"btn btn-outline-primary\"\n [routerLink]=\"['/',slug,'faq']\">See all FAQs</button>\n </div>\n </div>\n}\n@if (isLoading) {\n <div class=\"w-100 text-center mt-3\"\n >\n <p-progress-spinner strokeWidth=\"2\"> </p-progress-spinner>\n </div>\n}\n","import { InjectionToken, Type } from '@angular/core';\n\n/**\n * Product sections a host frontend adds to the top of the shared /home page (cloudolive-api#441),\n * e.g. CloudOlive's onboarding checklist. Optional: an app that provides nothing renders the page\n * unchanged.\n *\n * Holds component classes supplied in code by the host app, never server data, so rendering them\n * with ngComponentOutlet is safe. Each section owns its own data, gating and permissions (e.g.\n * Pages.Alpha), so dashboard-module stays product-agnostic.\n */\nexport const HOME_PRODUCT_SECTIONS = new InjectionToken<Type<unknown>[]>('HOME_PRODUCT_SECTIONS');\n","import { ChangeDetectorRef, Component, Injector, OnInit } from '@angular/core';\n\nimport { AppBaseComponent } from '@posiwise/app-base-component';\nimport { CommonService, PermissionService } from '@posiwise/common-services';\nimport { User } from '@posiwise/common-utilities';\n\nimport moment from 'moment';\n\n@Component({\n selector: 'pw-user-feedback',\n templateUrl: './user-feedback.component.html',\n styleUrls: ['./user-feedback.component.scss'],\n\n standalone: false\n})\nexport class UserFeedbackComponent extends AppBaseComponent implements OnInit {\n rating = 3;\n\n selectedValue: number | null = null;\n\n questions = [];\n\n counter = Array;\n\n subscriptionId: number;\n\n user: User;\n\n showSection = true;\n\n constructor(\n injector: Injector,\n private readonly commonService: CommonService,\n private readonly cdr: ChangeDetectorRef\n ) {\n super(injector);\n }\n\n ngOnInit(): void {\n this.subscriptionId = PermissionService.selectedSubscription?.id;\n this.getFeedbackQuestions();\n this.userService.getUserInfo().subscribe({\n next: user => {\n this.user = user;\n this.cdr.markForCheck();\n }\n });\n this.checkFeedBackExpiry();\n }\n\n checkFeedBackExpiry() {\n const item = localStorage.getItem('showFeedBack');\n if (item) {\n const currentDate = Date.now();\n const expiryDate = new Date(JSON.parse(item)).getTime();\n this.showSection = currentDate > expiryDate;\n }\n }\n\n closeSection() {\n this.showSection = false;\n const addedTime = moment(new Date()).add(7, 'days').toDate();\n localStorage.setItem('showFeedBack', JSON.stringify(addedTime));\n }\n\n private getFeedbackQuestions() {\n if (this.subscriptionId) {\n this.commonService.feedbackQuestions(this.subscriptionId).subscribe(res => {\n this.questions = res;\n this.cdr.markForCheck();\n });\n }\n }\n\n onSubmit(questionId: number, formValue) {\n if (formValue?.feedback) {\n const data = {\n subscription_id: this.subscriptionId,\n feedback_question_id: questionId,\n value: Number(formValue?.feedback),\n comment: formValue?.description\n };\n this.commonService.userFeedbacks(data).subscribe(() => {\n this.getFeedbackQuestions();\n this.cdr.markForCheck();\n });\n }\n }\n\n trackByQuestion(_index: number, item: { id: number }) {\n return item.id;\n }\n}\n","@if (showSection) {\n @if (questions?.length) {\n <div class=\"mt-4\"\n >\n <div class=\"card pb-1\">\n <h3 class=\"text-end me-3 pt-2 cursor-pointer\"\n (keydown.enter)=\"closeSection()\"\n (click)=\"closeSection()\">×</h3>\n @for (question of questions; track trackByQuestion($index, question); let first = $first) {\n <div class=\"card-content p-0\"\n >\n <div class=\"card-header\">\n <form #feedbackForm=\"ngForm\">\n <div class=\"col-lg-8 p-0 mx-auto\">\n @if (first) {\n <h3 class=\"mb-1\"\n >{{ 'Feedback.Title' | transloco }}</h3>\n }\n @if (first) {\n <p class=\"mb-4\"\n >\n {{ 'Feedback.Intro' | transloco }}\n </p>\n }\n <h6 class=\"fw-bold pb-3 mx-auto\">{{ question?.question }}</h6>\n <div class=\"text-center row p-2 mx-md-2 feedback-value\">\n <span class=\"col-auto me-0\">{{ 'Feedback.NotAtAll' | transloco }}</span>\n @for (val of counter(11); track val; let i = $index) {\n <div class=\"p-field-checkbox col-auto ms-0 me-0\">\n <p-radio-button name=\"feedback\" [(ngModel)]=\"selectedValue\" [value]=\"i\" [inputId]=\"i\"></p-radio-button>\n <br />\n <label [for]=\"i\">{{ i }}</label>\n </div>\n }\n <span class=\"col-auto ms-0\">{{ 'Feedback.Extremely' | transloco }}</span>\n </div>\n <div class=\"text mt-3\">\n <h6>{{ 'Feedback.ReasonQuestion' | transloco }}</h6>\n <label for=\"user-feedback-description\" class=\"visually-hidden\">{{ 'Feedback.ReasonLabel' | transloco }}</label>\n <textarea id=\"user-feedback-description\"\n rows=\"4\"\n name=\"description\"\n [placeholder]=\"'Feedback.ReasonPlaceholder' | transloco\"\n ngModel\n type=\"text\"\n pInputTextarea\n class=\"form-control\"\n [attr.aria-label]=\"'Feedback.ReasonPlaceholder' | transloco\">\n </textarea>\n </div>\n <div class=\"mt-3\">\n <button class=\"btn btn-primary d-block mx-auto\"\n (click)=\"onSubmit(question?.id, feedbackForm.value)\">\n {{ 'Button.Submit' | transloco }}\n </button>\n </div>\n </div>\n </form>\n </div>\n </div>\n }\n </div>\n </div>\n }\n}\n","import {\n ChangeDetectorRef,\n Component,\n Inject,\n Injector,\n OnDestroy,\n OnInit,\n Optional,\n Type\n} from '@angular/core';\n\nimport { AppBaseComponent } from '@posiwise/app-base-component';\nimport { HopscotchService, PermissionService } from '@posiwise/common-services';\nimport { User } from '@posiwise/common-utilities';\n\nimport { HOME_PRODUCT_SECTIONS } from './home-product-sections.token';\n\n@Component({\n selector: 'pw-home',\n templateUrl: './home.component.html',\n styleUrls: ['./home.component.scss'],\n\n standalone: false\n})\nexport class HomeComponent extends AppBaseComponent implements OnInit, OnDestroy {\n user: User;\n\n userSlug: string;\n\n componentActive = true;\n\n selectedSubscriptionSlug: string;\n subscriptionId: number;\n\n constructor(\n injector: Injector,\n private readonly hopscotchService: HopscotchService,\n private readonly cdr: ChangeDetectorRef,\n @Optional()\n @Inject(HOME_PRODUCT_SECTIONS)\n readonly productSections?: Type<unknown>[] | null\n ) {\n super(injector);\n }\n\n sanitizeContent(jsonString) {\n let sanitizedString = jsonString.replaceAll(\"'\", '\"');\n sanitizedString = sanitizedString.replace(\n /<img\\s+src=\"([^\"]+)\"/g,\n String.raw`<img src=\\\"$1\\\"`\n );\n sanitizedString = sanitizedString.replace(/,\\s*([}\\]])/g, '$1');\n\n return sanitizedString;\n }\n\n ngOnInit() {\n this.selectedSubscriptionSlug = PermissionService.selectedSubscription?.slug;\n this.subscriptionId = PermissionService.selectedSubscription?.id;\n this.userStore().subscribe(state => {\n if (state) {\n this.userService.getCurrentUserObject('active_tips').subscribe(response => {\n if (response?.length) {\n const welcomeTips = response.find(x => x.name === 'welcome');\n if (welcomeTips) {\n const steps = JSON.parse(\n this.sanitizeContent(welcomeTips.instructions)\n ).steps;\n try {\n this.hopscotchService.initializeTour(\n 'dashboard',\n steps,\n {\n tip_id: welcomeTips.id,\n disregarded: true\n },\n this.subscriptionId\n );\n } catch (error) {\n console.error('Error parsing JSON:', error);\n }\n }\n }\n this.cdr.markForCheck();\n });\n }\n this.cdr.markForCheck();\n });\n\n this.userStore().subscribe({\n next: user => {\n this.user = user;\n if (this.user) {\n this.userSlug = user.slug;\n }\n this.cdr.markForCheck();\n },\n error: error => {\n this.toast.showToast(error);\n this.cdr.markForCheck();\n }\n });\n }\n\n override ngOnDestroy() {\n this.hopscotchService.endTour();\n super.ngOnDestroy();\n }\n}\n","<pw-user-feedback></pw-user-feedback>\n@if (productSections?.length) {\n @for (section of productSections; track section) {\n <ng-container *ngComponentOutlet=\"section\"></ng-container>\n }\n}\n<div class=\"row mt-3\">\n <div class=\"col-12 col-lg-6 mt-2 mb-4\">\n <div class=\"card\">\n <div class=\"card-content p-0\">\n <div class=\"card-header d-flex mt-0\">\n <div class=\"w-100\">\n <div id=\"cards\"></div>\n <h3 class=\"mb-3\">{{'ManageYourAccount'|transloco}}</h3>\n <p>{{'ManageYourAccountDescription'|transloco}}</p>\n </div>\n <div class=\"ms-3 img-wrapper\">\n <img src=\"assets/img/products/hyper-dashboard/ManageYourAccount.png\"\n alt=\"img\"\n class=\"img-fluid\" />\n </div>\n </div>\n <div class=\"card-footer px-3\">\n <a routerLink=\"/account/details\"\n class=\"d-block\">{{'ManageYourAccount'|transloco}}</a>\n </div>\n <div id=\"tips-onboarding-step2\"></div>\n </div>\n </div>\n </div>\n <div class=\"col-12 col-lg-6 mt-2 mb-4\">\n <div class=\"card\">\n <div class=\"card-content p-0\">\n <div class=\"card-header d-flex mt-0\">\n <div class=\"w-100\">\n <h3 class=\"mb-3\">{{'UpdateYourProfile'|transloco}}</h3>\n <p>{{'UpdateYourProfileDescription'|transloco}}</p>\n </div>\n <div class=\"ms-3 img-wrapper\">\n <img src=\"assets/img/products/hyper-dashboard/UpdateYourProfile.png\"\n alt=\"img\"\n class=\"img-fluid\" />\n </div>\n </div>\n <div class=\"card-footer px-3\">\n <a [routerLink]=\"['/members', userSlug]\"\n class=\"d-block\">{{'UpdateYourProfile'|transloco}}</a>\n </div>\n </div>\n </div>\n </div>\n <div class=\"col-12 col-lg-6 mt-2 mb-4\">\n <div class=\"card\">\n <div class=\"card-content p-0\">\n <div class=\"card-header d-flex mt-0\">\n <div class=\"w-100\">\n <h3 class=\"mb-3\">{{'CommunicationSettings'|transloco}}</h3>\n <p>\n {{'CommunicationSettingsDescription'|transloco}}\n </p>\n </div>\n <div class=\"ms-3 img-wrapper\">\n <img src=\"assets/img/products/hyper-dashboard/CommunicationSettings.png\"\n alt=\"img\"\n class=\"img-fluid\" />\n </div>\n </div>\n <div class=\"card-footer px-3\">\n <a routerLink=\"/settings/communication\"\n class=\"d-block\">{{'GotoCommunicationSettings'|transloco}}</a>\n </div>\n <div id=\"tips-onboarding-step3\"></div>\n </div>\n </div>\n </div>\n <div class=\"col-12 col-lg-6 mt-2 mb-4\">\n <div class=\"card\">\n <div class=\"card-content p-0\">\n <div class=\"card-header d-flex mt-0\">\n <div class=\"w-100\">\n <h3 class=\"mb-3\">{{'NeedHelp'|transloco}}</h3>\n <p>{{'NeedHelpDescription'|transloco}}</p>\n </div>\n <div class=\"ms-3 img-wrapper\">\n <img src=\"assets/img/products/hyper-dashboard/NeedHelp.png\"\n alt=\"img\"\n class=\"img-fluid\" />\n </div>\n </div>\n <div class=\"card-footer px-3\">\n <a [routerLink]=\"'/' + selectedSubscriptionSlug + '/faq'\"\n class=\"d-block\">{{'SeeAllOurFaq'|transloco}}</a>\n </div>\n <div id=\"tips-onboarding-step4\"></div>\n </div>\n </div>\n </div>\n</div>\n","import { ChangeDetectorRef, Component, OnInit } from '@angular/core';\n\nimport { NotificationService } from '@posiwise/common-services';\n\n@Component({\n selector: 'pw-current-notifications',\n templateUrl: './current-notifications.component.html',\n styleUrls: ['../notifications-page.component.scss'],\n\n standalone: false\n})\nexport class CurrentNotificationsComponent implements OnInit {\n notificationCount = 0;\n\n noNoti = true;\n\n itemsPerPage = 100;\n\n notifications = [];\n\n currentPage = 1;\n\n isLoaded = false;\n\n totalPages = 1;\n\n totalRecords = 0;\n\n constructor(\n private readonly notificationService: NotificationService,\n private readonly cdr: ChangeDetectorRef\n ) {}\n\n ngOnInit() {\n this.getNotifications();\n }\n\n private getNotifications() {\n this.notificationService\n .getNotifications({ page: this.currentPage, page_size: this.itemsPerPage })\n .subscribe(data => {\n if (Array.isArray(data?.notes) && data?.notes?.length > 0) {\n this.totalRecords = data.unfiltered_count;\n this.notifications = data.notes?.filter(\n note => !note.dismissed && note.show_on_dashboard\n );\n this.totalPages = Math.ceil(data.unfiltered_count / this.itemsPerPage);\n this.noNoti = true;\n if (this.notifications?.length) {\n this.noNoti = false;\n }\n }\n this.cdr.markForCheck();\n })\n .add(() => {\n this.isLoaded = true;\n this.cdr.markForCheck();\n });\n }\n\n nextPage() {\n if (this.currentPage < this.totalPages) {\n this.currentPage++;\n this.getNotifications();\n }\n }\n\n previousPage() {\n if (this.currentPage > 1) {\n this.currentPage--;\n this.getNotifications();\n }\n }\n\n dismiss(id: number, e) {\n this.notificationService.dismissNotification(id).subscribe(() => {\n // Remove notification from notification array\n const index = this.notifications.indexOf(e);\n this.notifications.splice(index, 1);\n\n if (this.notifications.length === 0) {\n this.noNoti = true;\n }\n this.cdr.markForCheck();\n\n $('#noty').slideUp('slow', () => {\n $('#noty').remove();\n });\n });\n }\n\n trackByNotification(_index: number, item: { id: number }) {\n return item.id;\n }\n}\n","<div class=\"row main-div\">\n <div class=\"w-100 text-center mt-3\">\n @if (!isLoaded) {\n <p-progress-spinner strokeWidth=\"2\"> </p-progress-spinner>\n }\n </div>\n @if (notifications?.length && isLoaded) {\n <div class=\"col-12 col-sm-12 col-md-12 mb-5\"\n >\n <div class=\"card\">\n <div class=\"card-body\">\n <ul class=\"noti-list\">\n @for (item of notifications; track trackByNotification($index, item)) {\n <li\n class=\"p-3 border-bottom border-bottom-blue-grey border-bottom-lighten-4 d-flex align-items-center\">\n <span class=\"btn btn-circle me-2\"\n [ngClass]=\"{\n 'btn-danger': item.note_type === 'administrative',\n 'btn-secondary': item.note_type === 'object_event',\n 'btn-primary': item.note_type === 'user_generated'\n }\">\n <i\n class=\"fal float-start\"\n [ngClass]=\"{\n 'fa-bell': item.note_type === 'administrative',\n 'fa-share-alt': item.note_type === 'object_event',\n 'fa-bells': item.note_type === 'user_generated'\n }\"\n aria-hidden=\"true\"\n ></i>\n </span>\n <span class=\"d-inline-block noty-body\">\n <span class=\"noti-title line-height-1p5 d-block text-bold-400\">{{\n item.content\n }}</span>\n <span class=\"noti-text\"><span class=\"fal fa-clock\"></span>\n {{ item?.created_at | sinceAgo }}</span>\n </span>\n <span class=\"noti-buttons\">\n <button class=\"btn float-end\">\n <i\n class=\"far fa-trash-alt\"\n (click)=\"dismiss(item.id, item)\"\n (keydown.enter)=\"dismiss(item.id, item)\"\n aria-hidden=\"true\"\n ></i>\n </button>\n </span>\n </li>\n }\n </ul>\n </div>\n <div class=\"pagination-container d-flex justify-content-between align-items-center mt-3 mb-3\">\n <pw-records-summary [showing]=\"totalRecords\" [total]=\"totalRecords\" />\n <div class=\"d-flex align-items-center\">\n <button class=\"btn btn-outline-primary me-2\" (click)=\"previousPage()\" [disabled]=\"currentPage === 1\">\n <i class=\"fas fa-chevron-left\"></i>\n </button>\n <span>Page {{ currentPage }} of {{ totalPages }}</span>\n <button class=\"btn btn-outline-primary ms-2\" (click)=\"nextPage()\" [disabled]=\"currentPage === totalPages\">\n <i class=\"fas fa-chevron-right\"></i>\n </button>\n </div>\n </div>\n </div>\n </div>\n}\n\n@if (noNoti && isLoaded) {\n <div class=\"col-12 col-sm-12 col-md-12\"\n >\n <pw-no-data [withImage]=\"true\" message=\"You are all caught up\" description=\"You currently do not have any notifications.\">\n </pw-no-data>\n </div>\n}\n</div>\n","import { ChangeDetectorRef, Component, OnInit } from '@angular/core';\n\nimport { NotificationService } from '@posiwise/common-services';\nimport { HelperService } from '@posiwise/helper-service';\n\n@Component({\n selector: 'pw-dismissed-notifications',\n templateUrl: './dismissed-notifications.component.html',\n styleUrls: ['../notifications-page.component.scss'],\n\n standalone: false\n})\nexport class DismissedNotificationsComponent implements OnInit {\n notificationCount = 0;\n\n noNoti = true;\n\n dismissedNotifications = [];\n\n isLoaded = false;\n\n itemsPerPage = 100;\n\n currentPage = 1;\n\n totalPages = 1;\n\n totalRecords = 0;\n\n constructor(\n private readonly notificationService: NotificationService,\n private readonly cdr: ChangeDetectorRef\n ) {}\n\n ngOnInit() {\n this.getNotifications();\n }\n\n private getNotifications() {\n this.notificationService\n .getDismissedNotifications({ page: this.currentPage, page_size: this.itemsPerPage })\n .subscribe(data => {\n if (Array.isArray(data?.notes) && data?.notes?.length > 0) {\n this.noNoti = false;\n this.dismissedNotifications = data?.notes;\n this.totalRecords = data?.unfiltered_count;\n this.totalPages = Math.ceil(data.unfiltered_count / this.itemsPerPage);\n }\n this.cdr.markForCheck();\n })\n .add(() => {\n this.isLoaded = true;\n this.cdr.markForCheck();\n });\n }\n\n nextPage() {\n if (this.currentPage < this.totalPages) {\n this.currentPage++;\n this.getNotifications();\n }\n }\n\n previousPage() {\n if (this.currentPage > 1) {\n this.currentPage--;\n this.getNotifications();\n }\n }\n\n dismiss(id: number, e) {\n HelperService.raiseDeletePopup().then(res => {\n if (res.value) {\n this.notificationService.deleteNotifications(id).subscribe(() => {\n // Remove notification from notification array\n const index = this.dismissedNotifications.indexOf(e);\n this.dismissedNotifications.splice(index, 1);\n\n if (this.dismissedNotifications.length === 0) {\n this.noNoti = true;\n }\n this.cdr.markForCheck();\n\n $('#noty').slideUp('slow', () => {\n $('#noty').remove();\n });\n });\n }\n });\n }\n\n restoreNotification(id: number, e) {\n this.notificationService.reinstateNotification(id).subscribe(() => {\n // Remove notification from dismissed notification array\n const index = this.dismissedNotifications.indexOf(e);\n this.dismissedNotifications.splice(index, 1);\n\n if (this.dismissedNotifications.length === 0) {\n this.noNoti = true;\n }\n this.cdr.markForCheck();\n\n $('#noty').slideUp('slow', () => {\n $('#noty').remove();\n });\n });\n }\n\n trackByNotification(_index: number, item: { id: number }) {\n return item.id;\n }\n}\n","<div class=\"row main-div\">\n <div class=\"w-100 text-center mt-3\">\n @if (!isLoaded) {\n <p-progress-spinner strokeWidth=\"2\"> </p-progress-spinner>\n }\n </div>\n @if (dismissedNotifications?.length && isLoaded) {\n <div class=\"col-12 col-sm-12 col-md-12 mb-5\"\n >\n <div class=\"card\">\n <div class=\"card-body\">\n <ul class=\"noti-list\">\n @for (item of dismissedNotifications; track trackByNotification($index, item)) {\n <li\n class=\"p-3 border-bottom border-bottom-blue-grey border-bottom-lighten-4 d-flex align-items-center\">\n <span class=\"btn btn-circle me-2\"\n [ngClass]=\"{\n 'btn-danger': item.note_type === 'administrative',\n 'btn-secondary': item.note_type === 'object_event',\n 'btn-primary': item.note_type === 'user_generated'\n }\">\n <i\n class=\"fal float-start\"\n [ngClass]=\"{\n 'fa-bell': item.note_type === 'administrative',\n 'fa-share-alt': item.note_type === 'object_event',\n 'fa-bells': item.note_type === 'user_generated'\n }\"\n aria-hidden=\"true\"\n ></i>\n </span>\n <span class=\"d-inline-block noty-body\">\n <span class=\"noti-title line-height-1p5 d-block text-bold-400\">{{\n item.content\n }}</span>\n <span class=\"noti-text\"><span class=\"fal fa-clock\"></span>\n {{ item?.created_at | sinceAgo }}</span>\n </span>\n <span class=\"noti-buttons\">\n <button class=\"btn float-end\">\n <i\n class=\"far fa-trash-alt\"\n (click)=\"dismiss(item.id, item)\"\n (keydown.enter)=\"dismiss(item.id, item)\"\n aria-hidden=\"true\"\n ></i>\n </button>\n <button class=\"btn float-end\">\n <i\n class=\"fas fa-trash-restore-alt\"\n (click)=\"restoreNotification(item.id, item)\"\n (keydown.enter)=\"restoreNotification(item.id, item)\"\n aria-hidden=\"true\"\n ></i>\n </button>\n </span>\n </li>\n }\n </ul>\n </div>\n <div class=\"pagination-container d-flex justify-content-between align-items-center mt-3 mb-3\">\n <pw-records-summary [showing]=\"totalRecords\" [total]=\"totalRecords\" />\n <div class=\"d-flex align-items-center\">\n <button class=\"btn btn-outline-primary me-2\" (click)=\"previousPage()\" [disabled]=\"currentPage === 1\">\n <i class=\"fas fa-chevron-left\"></i>\n </button>\n <span>Page {{ currentPage }} of {{ totalPages }}</span>\n <button class=\"btn btn-outline-primary ms-2\" (click)=\"nextPage()\" [disabled]=\"currentPage === totalPages\">\n <i class=\"fas fa-chevron-right\"></i>\n </button>\n </div>\n </div>\n </div>\n </div>\n}\n\n@if (noNoti && isLoaded) {\n <div class=\"col-12 col-sm-12 col-md-12\"\n >\n <pw-no-data [withImage]=\"true\" message=\"You currently do not have any dismissed notifications\">\n </pw-no-data>\n </div>\n}\n</div>\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'pw-notifications-page',\n templateUrl: './notifications-page.component.html',\n styleUrls: ['./notifications-page.component.scss'],\n\n standalone: false\n})\nexport class NotificationsPageComponent {}\n","<div class=\"row\">\n <div class=\"col-12 col-sm-12 col-md-12 mt-4\">\n <h2 class=\"p-2\">Notifications</h2>\n </div>\n</div>\n\n<ul ngbNav\n #nav=\"ngbNav\"\n class=\"nav-tabs\">\n <li [ngbNavItem]=\"1\">\n <a ngbNavLink>Current Notifications</a>\n <ng-template ngbNavContent>\n <pw-current-notifications></pw-current-notifications>\n </ng-template>\n </li>\n <li [ngbNavItem]=\"2\">\n <a ngbNavLink>Dismissed Notifications</a>\n <ng-template ngbNavContent>\n <pw-dismissed-notifications></pw-dismissed-notifications>\n </ng-template>\n </li>\n</ul>\n\n<div [ngbNavOutlet]=\"nav\"></div>\n","import { ChangeDetectorRef, Component, OnInit } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\n\nimport { DashboardService, PermissionService } from '@posiwise/common-services';\nimport { GlobalSearchResponse } from '@posiwise/common-utilities';\nimport { HelperService } from '@posiwise/helper-service';\n\n@Component({\n selector: 'pw-search',\n templateUrl: './search.component.html',\n styleUrls: ['./search.component.scss'],\n\n standalone: false\n})\nexport class SearchComponent implements OnInit {\n private readonly emptySearchResult: GlobalSearchResponse = {\n users: [],\n faqs: [],\n recipients: []\n };\n\n keyword: string;\n\n result: GlobalSearchResponse;\n\n isLoaded = false;\n\n objectKeys = Object.keys;\n\n subscriptionId: number;\n\n constructor(\n private readonly route: ActivatedRoute,\n private readonly service: DashboardService,\n private readonly cdr: ChangeDetectorRef\n ) {}\n\n ngOnInit() {\n this.subscriptionId = PermissionService.selectedSubscription.id;\n this.route.queryParams.subscribe(response => {\n this.keyword = response['keyword'];\n if (this.keyword) {\n this.search();\n }\n this.cdr.markForCheck();\n });\n }\n\n search() {\n this.isLoaded = false;\n this.service\n .search(this.keyword, this.subscriptionId)\n .subscribe(response => {\n this.result = {\n ...this.emptySearchResult,\n ...response\n };\n this.cdr.markForCheck();\n })\n .add(() => {\n this.isLoaded = true;\n this.cdr.markForCheck();\n });\n }\n\n get hasResults() {\n return this.searchGroups.some(group => group.length > 0);\n }\n\n private get searchGroups() {\n return ['users', 'faqs', 'recipients'].map(group => this.getResultGroup(group));\n }\n\n getResultGroup(group: keyof GlobalSearchResponse | string) {\n if (!this.isSearchGroupKey(group)) {\n return [];\n }\n\n const resultGroup = this.result?.[group];\n if (!Array.isArray(resultGroup)) {\n return [];\n }\n\n return resultGroup.filter(item => this.isRenderableResult(item));\n }\n\n private isSearchGroupKey(group: string): group is keyof GlobalSearchResponse {\n return group === 'users' || group === 'faqs' || group === 'recipients';\n }\n\n private isRenderableResult(item: unknown) {\n if (item == null) {\n return false;\n }\n\n if (typeof item !== 'object') {\n return true;\n }\n\n return Object.values(item).some(value => {\n if (Array.isArray(value)) {\n return value.length > 0;\n }\n\n return value !== null && value !== undefined && value !== '';\n });\n }\n\n handleImageError(event: Event, fallbackPath): void {\n HelperService.handleImageFallbackPath(event, fallbackPath);\n }\n\n trackByUserId(_index: number, item: { id: number }) {\n return item.id;\n }\n\n trackByFaqId(_index: number, item: { id: number }) {\n return item.id;\n }\n\n trackBySkill(_index: number, item: { id: number }) {\n return item.id;\n }\n}\n","<div class=\"container-fluid dashboard-card overflow-hidden\">\n <div class=\"dashboard\">\n <div class=\"dashboard-body\">\n <div class=\"row\">\n <div class=\"col-12 my-3 mt-4\">\n <h2>Search Results</h2>\n </div>\n </div>\n @if (!isLoaded) {\n <div class=\"w-100 text-center mt-3\">\n <p-progress-spinner strokeWidth=\"2\"> </p-progress-spinner>\n </div>\n }\n @if (isLoaded) {\n <div class=\"row faqlist search-result\">\n <div class=\"col-12\">\n <div data-cy=\"faq-list\">\n @if (result) {\n @for (group of objectKeys(result); track group; let idx = $index) {\n <div>\n @switch (group) {\n @case ('users') {\n @if (getResultGroup(group).length) {\n <h6 class=\"text-uppercase mt-3 p-1\">{{ group }}</h6>\n <div class=\"dashboard\">\n @for (\n user of getResultGroup(group); track trackByUserId($index, user); let idx1 = $index) {\n <div class=\"faq-item\">\n <div class=\"dashboard-header p-2\">\n <h5 class=\"accordion-title mt-2\">\n <a\n class=\"accordion-toggle collapsed\"\n data-bs-toggle=\"collapse\"\n [href]=\"'#collapse' + idx1 + idx\"><span>{{\n user.first_name !== null\n ? user.first_name\n : user?.email\n }}</span></a>\n </h5>\n <p class=\"m-0 title-font\">\n @if (user.user_skills?.length > 0) {\n <strong>Skills :\n </strong>\n }\n @for (\n skill of (user.user_skills ?? []); track trackBySkill($index, skill); let isLast = $last) {\n <span class=\"badge bg-success m-1\">\n {{ skill.name\n }}{{ isLast ? '' : ', ' }}</span>\n }\n </p>\n @if (\n user?.user_profile?.headline\n ?.length > 0\n ) {\n <p class=\"m-0 title-font\">\n {{ user?.user_profile?.headline }}\n </p>\n }\n @if (\n user?.user_profile?.country\n ?.length > 0\n ) {\n <p class=\"m-0 title-font\">\n <strong>Location : </strong>{{ user?.user_profile?.country }}\n </p>\n }\n </div>\n <div [id]=\"'collapse' + idx1 + idx\"\n class=\"panel-collapse collapse in p-3\">\n <div class=\"display-block overflow-hidden\">\n <div class=\"row align-items-center\">\n <div class=\"col-sm-3\">\n @if (user?.user_avatar?.length > 0) {\n @for (\n profile_image of user.user_avatar; track profile_image) {\n @if (profile_image.width === 200) {\n <div class=\"text-center my-2\">\n <div class=\"avatar\">\n <img class=\"img-fluid\"\n [src]=\"profile_image.url\"\n alt=\"Male Icon\"\n (error)=\"handleImageError($event, 'assets/img/icons/male.png')\" />\n </div>\n </div>\n }\n }\n } @else {\n <div class=\"text-center my-2\">\n <div class=\"avatar\">\n <img src=\"/assets/img/icons/male.png\"\n alt=\"\"\n class=\"img-fluid\" />\n </div>\n </div>\n }\n </div>\n <div class=\"col-sm-9\">\n <ul class=\"name-fl\">\n <li>\n <strong>First Name:\n </strong>\n <span>{{\n user.first_name !== null\n ? user.first_name\n : 'N/A'\n }}</span>\n </li>\n <li>\n <strong>Last Name:\n </strong>\n <span>{{\n user.last_name !== null\n ? user.last_name\n : 'N/A'\n }}</span>\n </li>\n </ul>\n <p>\n <strong>Email: </strong>\n <span>{{\n user.email !== null\n ? user.email\n : 'N/A'\n }}</span>\n </p>\n <p>\n <strong>Description:\n </strong>\n <span>{{\n user?.user_profile\n ?.description !== null\n ? user?.user_profile\n ?.description\n : 'N/A'\n }}</span>\n </p>\n <div class=\"view-btn text-end\">\n <a class=\"btn btn-outline-primary inline-block\"\n [routerLink]=\"[\n '/members/' +\n user.slug\n ]\">View More</a>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n }\n </div>\n }\n }\n @case ('faqs') {\n @if (getResultGroup(group).length) {\n <h6>\n {{ group | uppercase }}\n </h6>\n @for (\n faq of getResultGroup(group); track trackByFaqId($index, faq); let idx2 = $index) {\n <div class=\"faq-item\">\n <div class=\"dashboard-header p-2\">\n <h5 class=\"accordion-title mt-2\">\n <a\n class=\"accordion-toggle collapsed\"\n data-bs-toggle=\"collapse\"\n [href]=\"'#collapse' + idx2 + idx\">{{ faq.question }}</a>\n </h5>\n </div>\n <div [id]=\"'collapse' + idx2 + idx\"\n class=\"panel-collapse collapse in\">\n @if (faq?.answer) {\n <div class=\"ql-container ql-snow no-border\">\n <div class=\"ql-editor\"\n [innerHTML]=\"faq?.answer |safe:'html'\">\n </div>\n </div>\n }\n </div>\n </div>\n }\n }\n }\n }\n </div>\n }\n @if (!hasResults) {\n <pw-no-data [withImage]=\"true\" [message]=\"'Search.NoDataMessage' | transloco\" [description]=\"'Search.NoDataDescription' | transloco\">\n </pw-no-data>\n }\n }\n </div>\n </div>\n </div>\n }\n </div>\n </div>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { RouterModule } from '@angular/router';\n\nimport { CoreTranslocoModule } from '@posiwise/core-transloco';\nimport { DirectivesModule } from '@posiwise/directives';\nimport { PipesModule } from '@posiwise/pipes';\nimport { ResourceSharedComponentsModule } from '@posiwise/shared-components';\n\nimport { ProgressSpinnerModule } from 'primeng/progressspinner';\nimport { RadioButtonModule } from 'primeng/radiobutton';\nimport { TooltipModule } from 'primeng/tooltip';\n\nimport { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';\n\nimport { DocumentationComponent } from './documentation-view/documentation-view.component';\nimport { FaqComponent } from './faq/faq.component';\nimport { FaqDetailsComponent } from './faq-details/faq-details.component';\nimport { HomeComponent } from './home/home.component';\nimport { CurrentNotificationsComponent } from './notifications-page/current-notifications/current-notifications.component';\nimport { DismissedNotificationsComponent } from './notifications-page/dismissed-notifications/dismissed-notifications.component';\nimport { NotificationsPageComponent } from './notifications-page/notifications-page.component';\nimport { SearchComponent } from './search/search.component';\nimport { UserFeedbackComponent } from './user-feedback/user-feedback.component';\n\n// Note: CurrentNotificationsComponent and DismissedNotificationsComponent\n// are declared in DashboardLibModule and exported from there\n// They are needed by NotificationsPageComponent but kept in the main dashboard module\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n RouterModule,\n CoreTranslocoModule,\n DirectivesModule,\n PipesModule,\n ProgressSpinnerModule,\n NgbNavModule,\n RadioButtonModule,\n TooltipModule,\n ResourceSharedComponentsModule\n ],\n declarations: [\n DocumentationComponent,\n FaqComponent,\n FaqDetailsComponent,\n HomeComponent,\n NotificationsPageComponent,\n CurrentNotificationsComponent,\n NotificationsPageComponent,\n DismissedNotificationsComponent,\n SearchComponent,\n UserFeedbackComponent\n ],\n exports: [\n DocumentationComponent,\n FaqComponent,\n FaqDetailsComponent,\n HomeComponent,\n NotificationsPageComponent,\n CurrentNotificationsComponent,\n NotificationsPageComponent,\n DismissedNotificationsComponent,\n SearchComponent,\n RadioButtonModule\n ],\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\n})\nexport class DashboardContentModule {}\n","// Core Angular modules\nimport { CommonModule } from '@angular/common';\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\n\nimport { SubscriptionService } from '@posiwise/common-services';\nimport { CoreTranslocoModule } from '@posiwise/core-transloco';\nimport { DirectivesModule } from '@posiwise/directives';\nimport { PipesModule } from '@posiwise/pipes';\nimport { UserModuleModule } from '@posiwise/user-module';\n\nimport { ProgressSpinnerModule } from 'primeng/progressspinner';\nimport { RadioButtonModule } from 'primeng/radiobutton';\nimport { SelectModule } from 'primeng/select';\n\nimport { NgbDropdownModule, NgbNavModule } from '@ng-bootstrap/ng-bootstrap';\n\nimport { DashboardContentModule } from './dashboard-content.module';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n PipesModule,\n SelectModule,\n DirectivesModule,\n ReactiveFormsModule,\n CoreTranslocoModule,\n NgbNavModule,\n NgbDropdownModule,\n UserModuleModule,\n RadioButtonModule,\n ProgressSpinnerModule,\n DashboardContentModule\n ],\n declarations: [],\n\n providers: [SubscriptionService],\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\n})\nexport class DashboardLibModule {}\n","import { RouteInfo } from './sidebar.metadata';\n\n/**\n * Drops menu items gated behind a feature flag the current user isn't entitled\n * to. An item with no `featureFlag` always passes; one with a `featureFlag`\n * passes only when `isEnabled(item.featureFlag)` returns true. Non-destructive\n * — returns a new array and never mutates the input.\n *\n * Shared so every frontend's sidebar gates flag-protected menus identically\n * (e.g. alpha-only pages) instead of copy-pasting the predicate.\n *\n * @param menus - the menu items to filter (one level; pass the specific list to gate)\n * @param isEnabled - predicate resolving a flag key to enabled/disabled for the user\n */\nexport const filterMenusByFeatureFlag = (\n menus: RouteInfo[],\n isEnabled: (flagKey: string) => boolean\n): RouteInfo[] => (menus ?? []).filter(menu => !menu.featureFlag || isEnabled(menu.featureFlag));\n\n/**\n * Helper function to create menu items with default values\n * @param overrides - Partial RouteInfo object with overrides\n * @returns RouteInfo object with defaults applied\n */\nexport const createMenuItem = (overrides: Partial<RouteInfo>): RouteInfo => ({\n permission: '',\n path: '',\n title: '',\n icon: '',\n class: '',\n badge: '',\n badgeClass: '',\n isExternalLink: false,\n submenu: [],\n visible: true,\n order: 0,\n ...overrides\n});\n\n/**\n * Helper function to create submenu items with default values\n * @param overrides - Partial RouteInfo object with overrides\n * @returns RouteInfo object with defaults applied\n */\nexport const createSubMenuItem = (overrides: Partial<RouteInfo>): RouteInfo => ({\n permission: '',\n path: '',\n title: '',\n icon: '',\n class: '',\n badge: '',\n badgeClass: '',\n isExternalLink: false,\n submenu: [],\n visible: true,\n ...overrides\n});\n\n/**\n * Common menu items that can be reused across modules\n */\nexport const COMMON_MENUS = {\n FAQ_Menu: createMenuItem({\n permission: 'Pages.Product.{permission_key}.{feature_key}.FAQ',\n path: '/faq',\n title: 'FAQ',\n titleKey: 'Menu.Faq',\n icon: 'ft-info',\n order: 999\n }),\n\n ENTERPRISE_MENU: createMenuItem({\n permission: 'Pages.Product.{permission_key}.{feature_key}.Enterprise',\n path: '/enterprise',\n title: 'Enterprise',\n titleKey: 'Menu.Enterprise',\n icon: 'ft-package',\n class: 'has-sub',\n badgeClass: 'badge rounded-pill bg-danger float-end mt-1',\n order: 5,\n submenu: [\n createSubMenuItem({\n path: ':slug/enterprise/members',\n title: 'Members',\n titleKey: 'Menu.Enterprise.Members',\n icon: 'far fa-users'\n }),\n createSubMenuItem({\n permission: 'Pages.Alpha',\n path: ':slug/enterprise/partners',\n title: 'Partners',\n titleKey: 'Menu.Enterprise.Partners',\n icon: 'far fa-users'\n }),\n createSubMenuItem({\n permission: 'Pages.Beta',\n path: ':slug/enterprise/groups',\n title: 'Teams',\n titleKey: 'Menu.Enterprise.Teams',\n icon: 'far fa-users-class'\n }),\n createSubMenuItem({\n permission: 'Pages.Beta',\n path: ':slug/enterprise/communications',\n title: 'Communications',\n titleKey: 'Menu.Enterprise.Communications',\n icon: 'fas fa-comments'\n }),\n createSubMenuItem({\n permission: 'Pages.Beta',\n path: ':slug/enterprise/wiki',\n title: 'Documentation',\n titleKey: 'Menu.Enterprise.Documentation',\n icon: 'fab fa-wikipedia-w'\n }),\n createSubMenuItem({\n // Alpha users who are admins (or super admins). `granted:` reads the\n // literal grant: a plain `Pages.Alpha` is true for EVERY super admin, but\n // brain-api only admits users whose alpha flag is set. \"Use my data\" is\n // enforced by the page and by brain-api. Spaces around the parentheses\n // are required: the expression parser splits on spaces.\n permission: 'granted:Pages.Alpha && ( SuperAdmin || SubscriptionAdmin )',\n path: ':slug/enterprise/ai-knowledge',\n title: 'AI Knowledge',\n titleKey: 'Menu.Enterprise.AiKnowledge',\n icon: 'fa fa-brain'\n }),\n createSubMenuItem({\n permission: 'Pages.Beta',\n path: ':slug/enterprise/insights',\n title: 'Insights',\n titleKey: 'Menu.Enterprise.Insights',\n icon: 'far fa-tag'\n })\n ]\n }),\n\n CHAT_MENU: createMenuItem({\n permission: 'Pages.Product.{permission_key}.{feature_key}.Chat',\n path: '/message',\n title: 'Chat',\n titleKey: 'Menu.Chat',\n icon: 'ft-message-square',\n badgeClass: 'badge rounded-pill bg-danger float-end mt-1',\n order: 2\n }),\n\n BLOG_MENU: createMenuItem({\n permission:\n 'Pages.Product.{permission_key}.{feature_key}.Blog || Pages.Role.MarketingManager || Pages.Role.CustomerSuccessManager',\n path: '/posts/list',\n title: 'Blog',\n titleKey: 'Menu.Blog',\n icon: 'far fa-blog'\n })\n};\n","import { RouteInfo } from './sidebar.metadata';\nimport { COMMON_MENUS, createMenuItem, createSubMenuItem } from './sidebar-route-utils';\n\n// Centralized admin permissions\nconst ADMIN_PERMISSIONS = {\n GENERIC: 'Pages.Admin',\n DOMAIN_CONFIG: 'Pages.Admin.DomainConfig || Pages.Role.MarketingManager',\n USERS: 'Pages.Admin.Users',\n SUBSCRIPTION: 'Pages.Admin.Subscription',\n PRODUCT: 'Pages.Admin.Product',\n LOGIN_NOTIFICATION:\n 'Pages.Admin.LoginNotification || Pages.Role.MarketingManager || Pages.Role.CustomerSuccessManager',\n NEWSLETTER:\n 'Pages.Admin.Newsletter || Pages.Role.MarketingManager || Pages.Role.CustomerSuccessManager',\n MAILER: 'Pages.Admin.Mailer',\n BLOG: 'Pages.Admin.Blog || Pages.Role.MarketingManager || Pages.Role.CustomerSuccessManager',\n FEATURE_FLAGS: 'Pages.Admin.FeatureFlags',\n FAQ: 'Pages.Admin.FAQ || Pages.Role.MarketingManager || Pages.Role.CustomerSuccessManager',\n INCIDENT: 'Pages.Admin.Incident',\n CONTACT_US: 'Pages.Admin.ContactUs',\n TIPS: 'Pages.Admin.Tips',\n TAGS: 'Pages.Admin.Tags',\n ROLES: 'Pages.Admin.Roles',\n TOS: 'Pages.Admin.Tos',\n CREDENTIAL: 'Pages.Admin.Credential',\n OAUTH_CLIENTS: 'Pages.Admin.Oauth',\n AMBASSADOR_PAYOUTS: 'Pages.Admin.AmbassadorPayouts',\n TRACKING: 'Pages.Admin.Tracking',\n GLOBAL_CONFIG: 'Pages.Admin.Global-Config'\n} as const;\n\n// Centralized admin paths\nconst ADMIN_PATHS = {\n GENERIC: '/admin/generic',\n DOMAIN_CONFIG: '/admin/domain-config/list',\n USERS: '/admin/users',\n SUBSCRIPTION: '/admin/subscriptions',\n PRODUCT: '/admin/products',\n LOGIN_NOTIFICATION: '/admin/login-notifications/list',\n NEWSLETTER: '/admin/newsletter',\n MAILER: '/admin/mailers',\n BLOG: '/admin/resources',\n FEATURE_FLAGS: '/admin/feature-flags/list',\n FAQ: '/admin/faq/list',\n INCIDENT: '/admin/incident/list',\n CONTACT_US: '/admin/contact-us/list',\n TIPS: '/admin/tips/list',\n TAGS: '/admin/tags',\n ROLES: '/admin/permissions',\n // Section root (redirects to /list) so routerLinkActive also matches the\n // /admin/tos/:id edit route — keeps the menu item highlighted when deep-linked.\n TOS: '/admin/tos',\n CREDENTIAL: '/admin/credentials',\n OAUTH_CLIENTS: '/admin/oauth-clients',\n // Section root (redirects to /list), so routerLinkActive also matches the\n // /admin/ambassador-payouts/:id detail route — keeps the menu item\n // highlighted when a payout is opened or deep-linked. Same reason as TOS.\n AMBASSADOR_PAYOUTS: '/admin/ambassador-payouts',\n TRACKING: '/admin/tracking',\n GLOBAL_CONFIG: '/admin/global-config'\n} as const;\n\n// Centralized admin menu data\nconst ADMIN_MENU_DATA = [\n { key: 'GENERIC', title: 'Generic', titleKey: 'Menu.Admin.Generic', icon: 'far fa-book' },\n { key: 'DOMAIN_CONFIG', title: 'Domains', titleKey: 'Menu.Admin.Domains', icon: 'fa fa-fw fa-cog' },\n { key: 'USERS', title: 'Users', titleKey: 'Menu.Admin.Users', icon: 'far fa-user-cog' },\n { key: 'SUBSCRIPTION', title: 'Subscriptions', titleKey: 'Menu.Admin.Subscriptions', icon: 'ft-box' },\n { key: 'PRODUCT', title: 'Products', titleKey: 'Menu.Admin.Products', icon: 'far fa-parking' },\n { key: 'LOGIN_NOTIFICATION', title: 'Notifications', titleKey: 'Menu.Admin.Notifications', icon: 'fa fa-fw fa-bell' },\n { key: 'NEWSLETTER', title: 'Newsletters', titleKey: 'Menu.Admin.Newsletters', icon: 'far fa-newspaper' },\n { key: 'MAILER', title: 'Mailers', titleKey: 'Menu.Admin.Mailers', icon: 'far fa-envelope' },\n { key: 'BLOG', title: 'Resources', titleKey: 'Resource.Posts.Title', icon: 'far fa-blog' },\n { key: 'FEATURE_FLAGS', title: 'Feature Flags', titleKey: 'Menu.Admin.FeatureFlags', icon: 'fa fa-fw fa-toggle-on' },\n { key: 'FAQ', title: 'FAQs', titleKey: 'Menu.Admin.Faqs', icon: 'fa fa-question' },\n { key: 'INCIDENT', title: 'Incidents', titleKey: 'Menu.Admin.Incidents', icon: 'fa fa-solid fa-triangle-exclamation' },\n { key: 'CONTACT_US', title: 'Contact Us', titleKey: 'Menu.Admin.ContactUs', icon: 'fa fa-address-book' },\n { key: 'TIPS', title: 'Tours', titleKey: 'Menu.Admin.Tours', icon: 'far fa-lightbulb' },\n { key: 'TAGS', title: 'Tags', titleKey: 'Menu.Admin.Tags', icon: 'far fa-tags' },\n { key: 'ROLES', title: 'Permissions', titleKey: 'Label.Permissions', icon: 'fas fa-key' },\n { key: 'TOS', title: 'Privacy & TOS', titleKey: 'Menu.Admin.PrivacyTos', icon: 'fas fa-sticky-note' },\n { key: 'CREDENTIAL', title: 'Credentials', titleKey: 'Menu.Admin.Credentials', icon: 'fas fa-file-signature' },\n { key: 'OAUTH_CLIENTS', title: 'MCP OAuth Clients', titleKey: 'Admin.OauthClients.Title', icon: 'fas fa-robot' },\n // fa-handshake is already the ambassador icon in the users list.\n { key: 'AMBASSADOR_PAYOUTS', title: 'Ambassador Payouts', titleKey: 'Admin.AmbassadorPayouts.Title', icon: 'fa fa-handshake' },\n { key: 'TRACKING', title: 'Tracking', titleKey: 'Menu.Admin.Tracking', icon: 'fa fa-map-marker' },\n { key: 'GLOBAL_CONFIG', title: 'Global Configs', titleKey: 'Menu.Admin.GlobalConfigs', icon: 'fa fa-fw fa-cog' }\n] as const;\n\n// Helper function to create admin submenu items\nconst createAdminSubMenuItem = (menuKey: keyof typeof ADMIN_PERMISSIONS): RouteInfo =>\n createSubMenuItem({\n permission: ADMIN_PERMISSIONS[menuKey],\n path: ADMIN_PATHS[menuKey],\n title: ADMIN_MENU_DATA.find(item => item.key === menuKey)?.title || '',\n titleKey: ADMIN_MENU_DATA.find(item => item.key === menuKey)?.titleKey,\n icon: ADMIN_MENU_DATA.find(item => item.key === menuKey)?.icon || ''\n });\n\n// Generate admin submenu from centralized data\nconst generateAdminSubmenu = (): RouteInfo[] =>\n ADMIN_MENU_DATA.map(item => createAdminSubMenuItem(item.key));\n\n// Sidebar menu Routes and data\nexport const ROUTES: RouteInfo[] = [\n createMenuItem({\n permission: 'Pages.Dashboard',\n path: '/home',\n title: 'Home',\n titleKey: 'Button.Home',\n icon: 'ft-home',\n order: 1\n }),\n createMenuItem({\n permission: 'Pages.Admin',\n path: null,\n title: 'Admin',\n titleKey: 'Menu.Admin',\n icon: 'ft-user',\n class: 'has-sub',\n order: 3,\n submenu: generateAdminSubmenu()\n })\n];\n\n// Export common menus from shared utilities\nexport const { FAQ_Menu, ENTERPRISE_MENU, CHAT_MENU, BLOG_MENU } = COMMON_MENUS;\n","import { NavigationEnd } from '@angular/router';\n\nimport { filter, Observable, Subscription } from 'rxjs';\n\n/**\n * Opens every `has-sub` group around the active sidebar item and scrolls the sidebar\n * until the item is visible. app-sidebar.js opens the group too, but only once jQuery\n * is in, which on a direct load can be 10+ seconds away, and nothing scrolled: a long\n * menu (super admin) left the active item below the fold. Additive only — it never\n * collapses, so it cannot fight jQuery's toggle.\n *\n * Shared so every frontend's sidebar behaves the same on a cold load\n * (posiwise-frontend#4205).\n */\nexport function openActiveGroup(doc: Document): void {\n if (doc.querySelector('.wrapper')?.classList.contains('nav-collapsed')) {\n return;\n }\n\n const active = doc.querySelector('.sidebar-content .navigation li.active');\n let parent = active?.parentElement?.closest('li.has-sub');\n while (parent) {\n parent.classList.add('open');\n parent = parent.parentElement?.closest('li.has-sub');\n }\n revealInSidebar(doc.querySelector('.sidebar-content'), active);\n}\n\n/**\n * Scrolls the sidebar, never the page, to centre an item that is not fully visible.\n * Centring keeps it clear of the edges, where a pinned footer can cover it.\n */\nfunction revealInSidebar(sidebar: Element | null, item: Element | null): void {\n if (!sidebar || !item) {\n return;\n }\n const box = sidebar.getBoundingClientRect();\n const rect = item.getBoundingClientRect();\n if (rect.top >= box.top && rect.bottom <= box.bottom) {\n return;\n }\n const offset = rect.top + rect.height / 2 - (box.top + box.height / 2);\n sidebar.scrollTop = Math.max(0, Math.round(sidebar.scrollTop + offset));\n}\n\n/**\n * Re-opens the active item's group after every navigation, once the new\n * `routerLinkActive` classes have rendered.\n */\nexport function watchActiveGroup(doc: Document, routerEvents$: Observable<unknown>): Subscription {\n return routerEvents$\n .pipe(filter(event => event instanceof NavigationEnd))\n .subscribe(() => setTimeout(() => openActiveGroup(doc)));\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,IAAa,yBAAb,MAAa,uBAAsB;CAI/B,YAA6B,WAAuB;EAAvB,KAAA,YAAA;EAF7B,KAAA,WAAW;CAE4C;CAEvD,WAAQ;EAGJ,MAAM,SADoB,eAAe,QAAQ,mBAClC;EAEf,IAAI,QAEA,KAAK,YAAY,KAAK,UAAU,+BAA+B,MAAM;OAGrE,KAAK,WAAW;CAExB;CAEA,eAAY;EAER,iBAAgB;GACZ,KAAK,WAAW;EACpB,GAAG,CAAC;CACR;CAzBS;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAsB,MAAA,CAAA,EAAA,OAAAA,KAAA,aAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAtB;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAAsB,cAAA;GAAA,UAAA;GAAA,UAAA;GAAA,UCVnC;GAkBA,QAAA,CAAA,oHAAA;GAAA,cAAA,CAAA;IAAA,MAAA;IAAA,MAAAC,KAAA;IAAA,UAAA;IAAA,QAAA;KAAA;KAAA;KAA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