@posiwise/dashboard-module 0.0.145 → 0.0.146

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.
@@ -8,7 +8,7 @@ import * as i1 from '@posiwise/common-services';
8
8
  import { PermissionService, SubscriptionService } from '@posiwise/common-services';
9
9
  import { CoreTranslocoModule } from '@posiwise/core-transloco';
10
10
  import { DirectivesModule } from '@posiwise/directives';
11
- import * as i5 from '@posiwise/pipes';
11
+ import * as i5$1 from '@posiwise/pipes';
12
12
  import { PipesModule } from '@posiwise/pipes';
13
13
  import { UserModuleModule } from '@posiwise/user-module';
14
14
  import * as i3 from 'primeng/progressspinner';
@@ -22,15 +22,18 @@ import * as i1$1 from '@angular/router';
22
22
  import { RouterModule } from '@angular/router';
23
23
  import * as i4 from '@posiwise/shared-components';
24
24
  import { ResourceSharedComponentsModule } from '@posiwise/shared-components';
25
+ import * as i5 from 'primeng/tooltip';
26
+ import { TooltipModule } from 'primeng/tooltip';
25
27
  import * as i2 from '@angular/platform-browser';
26
28
  import { AppBaseComponent } from '@posiwise/app-base-component';
29
+ import { ADMIN_ROUTERS } from '@posiwise/common-utilities';
27
30
  import { HelperService } from '@posiwise/helper-service';
28
- import groupBy from 'lodash/groupBy';
29
- import sortBy from 'lodash/sortBy';
30
31
  import { Subject, forkJoin } from 'rxjs';
31
32
  import { debounceTime, takeUntil, finalize } from 'rxjs/operators';
33
+ import groupBy from 'lodash/groupBy';
34
+ import sortBy from 'lodash/sortBy';
35
+ import * as i7 from '@jsverse/transloco';
32
36
  import moment from 'moment';
33
- import * as i4$1 from '@jsverse/transloco';
34
37
 
35
38
  class DocumentationComponent {
36
39
  constructor(sanitizer) {
@@ -64,6 +67,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImpo
64
67
  args: [{ selector: 'pw-documentation', standalone: false, template: "@if (!isLoaded) {\n <div class=\"w-100 text-center mt-3\">\n <p-progressSpinner strokeWidth=\"2\"></p-progressSpinner>\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", styles: [".documentation-wrapper{width:100%;height:100vh}.documentation-wrapper iframe{width:100%;height:100%;border:none}\n"] }]
65
68
  }], ctorParameters: () => [{ type: i2.DomSanitizer }] });
66
69
 
70
+ /// The permission expression guarding the admin FAQ routes. Kept verbatim in
71
+ /// step with `libs/admin-module/src/lib/admin-module.routing.ts`, where the
72
+ /// `faq` parent and its `add` / `:id` children all carry this exact string.
73
+ /// Offering an edit affordance to anyone `PageAccessGuard` would then bounce
74
+ /// to `notfound` is the failure mode this mirroring exists to prevent.
75
+ ///
76
+ /// Shared by the public FAQ list (`FaqComponent`) and the public FAQ detail
77
+ /// page (`FaqDetailsComponent`) so the two surfaces can never drift apart.
78
+ const FAQ_ADMIN_PERMISSION = 'Pages.Admin.FAQ || Pages.Role.MarketingManager || Pages.Role.CustomerSuccessManager';
79
+
80
+ /// Non-product FAQs first, then product-scoped ones, grouped by category and
81
+ /// ordered by `position` within each group.
82
+ function groupFaqsByCategory(nonProductFaqs, productFaqs) {
83
+ const grouped = groupBy([...nonProductFaqs, ...productFaqs], 'category');
84
+ Object.keys(grouped).forEach(category => {
85
+ grouped[category] = sortBy(grouped[category], 'position');
86
+ });
87
+ return grouped;
88
+ }
89
+ /// Sanitize every answer up front so the markup is present before the collapse
90
+ /// measures its target height — prevents the end-of-animation height snap that
91
+ /// made expand/collapse feel clunky. Keyed `{itemIndex}-{categoryIndex}` to
92
+ /// match the template's collapse ids.
93
+ function buildSanitizedAnswers(faqs, sanitize) {
94
+ const answers = {};
95
+ Object.keys(faqs).forEach((category, categoryIndex) => {
96
+ faqs[category].forEach((faq, itemIndex) => {
97
+ if (faq?.answer) {
98
+ answers[`${itemIndex}-${categoryIndex}`] = sanitize(faq.answer);
99
+ }
100
+ });
101
+ });
102
+ return answers;
103
+ }
104
+
67
105
  class FaqComponent extends AppBaseComponent {
68
106
  constructor(commonService, injector, productService, sanitizer, cdr) {
69
107
  super(injector);
@@ -79,6 +117,11 @@ class FaqComponent extends AppBaseComponent {
79
117
  this.isLoaded = false;
80
118
  this.faqsResponse = [];
81
119
  this.faqHashMap = {};
120
+ this.routers = ADMIN_ROUTERS;
121
+ /// Whether to offer the inline link through to the admin edit form. Unlike
122
+ /// the detail page, the list endpoint returns each FAQ's `id`, so no
123
+ /// fallback is needed here.
124
+ this.canEditFaq = false;
82
125
  }
83
126
  ngOnInit() {
84
127
  this.faqHashMap = {};
@@ -87,6 +130,7 @@ class FaqComponent extends AppBaseComponent {
87
130
  this.slug = PermissionService.selectedSubscription?.slug;
88
131
  this.subscriptionId = PermissionService?.selectedSubscription?.id;
89
132
  this.masterProductId = this.appConfig.master_subscription.product_id;
133
+ this.canEditFaq = this.permissionService.evaluatePermissions(FAQ_ADMIN_PERMISSION);
90
134
  this.getProducts();
91
135
  this.searchSubject
92
136
  .pipe(debounceTime(1000), takeUntil(this.destroy$))
@@ -129,27 +173,8 @@ class FaqComponent extends AppBaseComponent {
129
173
  });
130
174
  }
131
175
  faqValidation() {
132
- const combinedFaqs = [...this.nonProductFaqs, ...this.allProductFaqs];
133
- const groupedFaqs = groupBy(combinedFaqs, 'category');
134
- Object.keys(groupedFaqs).forEach(category => {
135
- groupedFaqs[category] = sortBy(groupedFaqs[category], 'position');
136
- });
137
- this.faqs = groupedFaqs; // Use a single collection for all FAQs
138
- this.prepareSanitizedAnswers();
139
- }
140
- // Sanitize every answer up front so the markup is present before the
141
- // collapse measures its target height — prevents the end-of-animation
142
- // height snap that made expand/collapse feel clunky.
143
- prepareSanitizedAnswers() {
144
- this.sanitizedFaqAnswers = {};
145
- Object.keys(this.faqs).forEach((category, categoryIndex) => {
146
- this.faqs[category].forEach((faq, itemIndex) => {
147
- if (faq?.answer) {
148
- this.sanitizedFaqAnswers[`${itemIndex}-${categoryIndex}`] =
149
- this.sanitizeFaqAnswer(faq.answer);
150
- }
151
- });
152
- });
176
+ this.faqs = groupFaqsByCategory(this.nonProductFaqs, this.allProductFaqs);
177
+ this.sanitizedFaqAnswers = buildSanitizedAnswers(this.faqs, body => this.sanitizeFaqAnswer(body));
153
178
  }
154
179
  getProducts() {
155
180
  this.subscriptions = [];
@@ -189,11 +214,11 @@ class FaqComponent extends AppBaseComponent {
189
214
  super.ngOnDestroy();
190
215
  }
191
216
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: FaqComponent, deps: [{ token: i1.CommonService }, { token: i0.Injector }, { token: i1.ProductService }, { token: i2.DomSanitizer }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
192
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.19", type: FaqComponent, isStandalone: false, selector: "pw-faq", usesInheritance: true, ngImport: i0, template: "<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-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\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 </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", styles: ["@charset \"UTF-8\";:root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: color-mix(in srgb, var(--first, rgb(23 105 225)) 85%, #000000);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255);--dashboard_bg: rgb(255 255 255);--public-btn-radius: 24px}.card-header h1,.card-header p{color:#fff!important}.faq-item{border:1px solid rgb(224,224,224);background-color:#fff;border-radius:8px;margin:8px 0;overflow:hidden;transition:border-color .16s ease-out,box-shadow .16s ease-out}.faq-item:hover{border-color:#bdbdbd}.faq-item .dashboard-header{background:transparent;padding:0}.faq-item .accordion-title{margin:0}.faq-item .accordion-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:14px 18px;font-size:15px;font-weight:600;line-height:1.45;color:var(--titles);text-decoration:none;cursor:pointer}.faq-item .accordion-toggle:before{content:none!important}.faq-item .accordion-toggle:after{content:\"\\f078\";font-family:\"Font Awesome 5 Pro\",sans-serif;font-weight:600;font-size:13px;color:#9e9e9e;flex-shrink:0;transition:transform .18s ease-out,color .18s ease-out}.faq-item .accordion-toggle:hover:after{color:var(--titles)}.faq-item .accordion-toggle:not(.collapsed):after{transform:rotate(180deg);color:var(--titles)}.faq-item .accordion-toggle:focus-visible{outline:2px solid var(--first);outline-offset:-2px}.faq-item .panel-collapse{padding:0!important}.faq-item .card-block{padding:4px 18px 16px;border-top:1px solid rgb(238,238,238)}.faq-item .ql-editor{font-size:14px;line-height:1.65;color:#616161;text-align:left}.document-btn{background-color:var(--second);border-color:var(--second)!important;color:#fff}.document-btn:hover{color:var(--second)!important;background-color:transparent!important}.card{background:var(--sidebar_bg)!important;color:var(--sidebar_text)!important;padding:.8rem!important}.card .accordion-toggle:before{content:\"\\f078\"}.card .accordion-toggle.collapsed{transition:all .3s ease-in-out}.card .accordion-toggle.collapsed:before{content:\"\\f054\"}h6{color:var(--titles)!important;font-size:17px;font-weight:700;letter-spacing:.04em;padding:0 0 10px!important;margin:32px 0 14px!important;border-bottom:1px solid rgb(224,224,224)}.accordion-title a{color:var(--titles)!important}.ql-container{resize:none!important;max-width:1000px;margin:0 auto}\n"], dependencies: [{ kind: "component", type: i3.ProgressSpinner, selector: "p-progressSpinner, p-progress-spinner, p-progressspinner", inputs: ["styleClass", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }, { kind: "component", type: i4.NoDataComponent, selector: "pw-no-data", inputs: ["message", "description", "withImage"] }] }); }
217
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.19", type: FaqComponent, isStandalone: false, selector: "pw-faq", usesInheritance: true, ngImport: i0, template: "<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-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\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", styles: ["@charset \"UTF-8\";:root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: color-mix(in srgb, var(--first, rgb(23 105 225)) 85%, #000000);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255);--dashboard_bg: rgb(255 255 255);--public-btn-radius: 24px}.card-header h1,.card-header p{color:#fff!important}.faq-item{border:1px solid rgb(224,224,224);background-color:#fff;border-radius:8px;margin:8px 0;overflow:hidden;transition:border-color .16s ease-out,box-shadow .16s ease-out}.faq-item:hover{border-color:#bdbdbd}.faq-item .dashboard-header{background:transparent;padding:0;display:flex;align-items:center;position:relative}.faq-item .dashboard-header:after{content:\"\\f078\";font-family:\"Font Awesome 5 Pro\",sans-serif;font-weight:600;font-size:13px;color:#9e9e9e;flex:0 0 auto;margin-left:auto;margin-right:18px;transition:transform .18s ease-out,color .18s ease-out}.faq-item .dashboard-header:hover:after{color:var(--titles)}.faq-item .dashboard-header:has(.accordion-toggle:not(.collapsed)):after{transform:rotate(180deg);color:var(--titles)}.faq-item .accordion-title{margin:0;flex:0 1 auto;min-width:0}.faq-item .faq-edit-link{position:relative;z-index:1;display:inline-flex;align-items:center;flex:0 0 auto;padding:14px 8px;text-decoration:none}.faq-item .faq-edit-link .edit-icon{font-size:14px}.faq-item .accordion-toggle{display:flex;align-items:center;padding:14px 4px 14px 18px;font-size:15px;font-weight:600;line-height:1.45;color:var(--titles);text-decoration:none;cursor:pointer}.faq-item .accordion-toggle:before{content:\"\"!important;position:absolute;inset:0;width:auto;padding:0}.faq-item .accordion-toggle:focus-visible{outline:2px solid var(--first);outline-offset:-2px}.faq-item .panel-collapse{padding:0!important}.faq-item .card-block{padding:4px 18px 16px;border-top:1px solid rgb(238,238,238)}.faq-item .ql-editor{font-size:14px;line-height:1.65;color:#616161;text-align:left}.document-btn{background-color:var(--second);border-color:var(--second)!important;color:#fff}.document-btn:hover{color:var(--second)!important;background-color:transparent!important}.card{background:var(--sidebar_bg)!important;color:var(--sidebar_text)!important;padding:.8rem!important}.card .accordion-toggle:before{content:\"\\f078\"}.card .accordion-toggle.collapsed{transition:all .3s ease-in-out}.card .accordion-toggle.collapsed:before{content:\"\\f054\"}h6{color:var(--titles)!important;font-size:17px;font-weight:700;letter-spacing:.04em;padding:0 0 10px!important;margin:32px 0 14px!important;border-bottom:1px solid rgb(224,224,224)}.accordion-title a{color:var(--titles)!important}.ql-container{resize:none!important;max-width:1000px;margin:0 auto}\n"], dependencies: [{ kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i3.ProgressSpinner, selector: "p-progressSpinner, p-progress-spinner, p-progressspinner", inputs: ["styleClass", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }, { kind: "directive", type: i5.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "component", type: i4.NoDataComponent, selector: "pw-no-data", inputs: ["message", "description", "withImage"] }, { kind: "pipe", type: i7.TranslocoPipe, name: "transloco" }] }); }
193
218
  }
194
219
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: FaqComponent, decorators: [{
195
220
  type: Component,
196
- args: [{ selector: 'pw-faq', standalone: false, template: "<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-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\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 </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", styles: ["@charset \"UTF-8\";:root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: color-mix(in srgb, var(--first, rgb(23 105 225)) 85%, #000000);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255);--dashboard_bg: rgb(255 255 255);--public-btn-radius: 24px}.card-header h1,.card-header p{color:#fff!important}.faq-item{border:1px solid rgb(224,224,224);background-color:#fff;border-radius:8px;margin:8px 0;overflow:hidden;transition:border-color .16s ease-out,box-shadow .16s ease-out}.faq-item:hover{border-color:#bdbdbd}.faq-item .dashboard-header{background:transparent;padding:0}.faq-item .accordion-title{margin:0}.faq-item .accordion-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:14px 18px;font-size:15px;font-weight:600;line-height:1.45;color:var(--titles);text-decoration:none;cursor:pointer}.faq-item .accordion-toggle:before{content:none!important}.faq-item .accordion-toggle:after{content:\"\\f078\";font-family:\"Font Awesome 5 Pro\",sans-serif;font-weight:600;font-size:13px;color:#9e9e9e;flex-shrink:0;transition:transform .18s ease-out,color .18s ease-out}.faq-item .accordion-toggle:hover:after{color:var(--titles)}.faq-item .accordion-toggle:not(.collapsed):after{transform:rotate(180deg);color:var(--titles)}.faq-item .accordion-toggle:focus-visible{outline:2px solid var(--first);outline-offset:-2px}.faq-item .panel-collapse{padding:0!important}.faq-item .card-block{padding:4px 18px 16px;border-top:1px solid rgb(238,238,238)}.faq-item .ql-editor{font-size:14px;line-height:1.65;color:#616161;text-align:left}.document-btn{background-color:var(--second);border-color:var(--second)!important;color:#fff}.document-btn:hover{color:var(--second)!important;background-color:transparent!important}.card{background:var(--sidebar_bg)!important;color:var(--sidebar_text)!important;padding:.8rem!important}.card .accordion-toggle:before{content:\"\\f078\"}.card .accordion-toggle.collapsed{transition:all .3s ease-in-out}.card .accordion-toggle.collapsed:before{content:\"\\f054\"}h6{color:var(--titles)!important;font-size:17px;font-weight:700;letter-spacing:.04em;padding:0 0 10px!important;margin:32px 0 14px!important;border-bottom:1px solid rgb(224,224,224)}.accordion-title a{color:var(--titles)!important}.ql-container{resize:none!important;max-width:1000px;margin:0 auto}\n"] }]
221
+ args: [{ selector: 'pw-faq', standalone: false, template: "<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-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\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", styles: ["@charset \"UTF-8\";:root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: color-mix(in srgb, var(--first, rgb(23 105 225)) 85%, #000000);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255);--dashboard_bg: rgb(255 255 255);--public-btn-radius: 24px}.card-header h1,.card-header p{color:#fff!important}.faq-item{border:1px solid rgb(224,224,224);background-color:#fff;border-radius:8px;margin:8px 0;overflow:hidden;transition:border-color .16s ease-out,box-shadow .16s ease-out}.faq-item:hover{border-color:#bdbdbd}.faq-item .dashboard-header{background:transparent;padding:0;display:flex;align-items:center;position:relative}.faq-item .dashboard-header:after{content:\"\\f078\";font-family:\"Font Awesome 5 Pro\",sans-serif;font-weight:600;font-size:13px;color:#9e9e9e;flex:0 0 auto;margin-left:auto;margin-right:18px;transition:transform .18s ease-out,color .18s ease-out}.faq-item .dashboard-header:hover:after{color:var(--titles)}.faq-item .dashboard-header:has(.accordion-toggle:not(.collapsed)):after{transform:rotate(180deg);color:var(--titles)}.faq-item .accordion-title{margin:0;flex:0 1 auto;min-width:0}.faq-item .faq-edit-link{position:relative;z-index:1;display:inline-flex;align-items:center;flex:0 0 auto;padding:14px 8px;text-decoration:none}.faq-item .faq-edit-link .edit-icon{font-size:14px}.faq-item .accordion-toggle{display:flex;align-items:center;padding:14px 4px 14px 18px;font-size:15px;font-weight:600;line-height:1.45;color:var(--titles);text-decoration:none;cursor:pointer}.faq-item .accordion-toggle:before{content:\"\"!important;position:absolute;inset:0;width:auto;padding:0}.faq-item .accordion-toggle:focus-visible{outline:2px solid var(--first);outline-offset:-2px}.faq-item .panel-collapse{padding:0!important}.faq-item .card-block{padding:4px 18px 16px;border-top:1px solid rgb(238,238,238)}.faq-item .ql-editor{font-size:14px;line-height:1.65;color:#616161;text-align:left}.document-btn{background-color:var(--second);border-color:var(--second)!important;color:#fff}.document-btn:hover{color:var(--second)!important;background-color:transparent!important}.card{background:var(--sidebar_bg)!important;color:var(--sidebar_text)!important;padding:.8rem!important}.card .accordion-toggle:before{content:\"\\f078\"}.card .accordion-toggle.collapsed{transition:all .3s ease-in-out}.card .accordion-toggle.collapsed:before{content:\"\\f054\"}h6{color:var(--titles)!important;font-size:17px;font-weight:700;letter-spacing:.04em;padding:0 0 10px!important;margin:32px 0 14px!important;border-bottom:1px solid rgb(224,224,224)}.accordion-title a{color:var(--titles)!important}.ql-container{resize:none!important;max-width:1000px;margin:0 auto}\n"] }]
197
222
  }], ctorParameters: () => [{ type: i1.CommonService }, { type: i0.Injector }, { type: i1.ProductService }, { type: i2.DomSanitizer }, { type: i0.ChangeDetectorRef }] });
198
223
 
199
224
  class FaqDetailsComponent extends AppBaseComponent {
@@ -203,6 +228,11 @@ class FaqDetailsComponent extends AppBaseComponent {
203
228
  this.sanitizer = sanitizer;
204
229
  this.cdr = cdr;
205
230
  this.isLoading = false;
231
+ this.routers = ADMIN_ROUTERS;
232
+ /// Whether to offer the inline link through to the admin edit form.
233
+ this.canEditFaq = false;
234
+ /// Numeric id for the admin edit route, or null when none can be resolved.
235
+ this.editFaqId = null;
206
236
  this.faqRef = this.route.snapshot.params['id'];
207
237
  this.slug = PermissionService.selectedSubscription?.slug;
208
238
  }
@@ -226,6 +256,13 @@ class FaqDetailsComponent extends AppBaseComponent {
226
256
  faqAnswer = this.sanitizer.bypassSecurityTrustHtml(doc.body.innerHTML); // NOSONAR
227
257
  }
228
258
  this.faq = { ...res, answer: faqAnswer };
259
+ // Only offer the edit affordance once a FAQ actually resolved —
260
+ // a miss still leaves `faq` truthy (spreading null yields
261
+ // `{answer: undefined}`), so key off the question itself.
262
+ const loaded = !!res?.question;
263
+ this.canEditFaq =
264
+ loaded && this.permissionService.evaluatePermissions(FAQ_ADMIN_PERMISSION);
265
+ this.editFaqId = loaded ? this.resolveEditFaqId(res) : null;
229
266
  this.cdr.markForCheck();
230
267
  })
231
268
  .add(() => {
@@ -233,12 +270,27 @@ class FaqDetailsComponent extends AppBaseComponent {
233
270
  this.cdr.markForCheck();
234
271
  });
235
272
  }
273
+ /// The admin edit route resolves a NUMERIC id (`+params['id'] || 0` in
274
+ /// `AddEditFaqComponent`), but this page is reachable by slug too and the
275
+ /// public endpoint does not return the id at all — main-api's
276
+ /// `FaqHelpers#faq_attributes_to_return` whitelists `slug`, not `id`. So
277
+ /// prefer a payload id if one ever appears, then fall back to the route
278
+ /// param only when it is already numeric. Returning null hides the link
279
+ /// rather than opening the admin form in "add a new FAQ" mode.
280
+ resolveEditFaqId(faq) {
281
+ const fromPayload = Number(faq?.id);
282
+ if (Number.isInteger(fromPayload) && fromPayload > 0) {
283
+ return fromPayload;
284
+ }
285
+ const fromRoute = Number(this.faqRef);
286
+ return Number.isInteger(fromRoute) && fromRoute > 0 ? fromRoute : null;
287
+ }
236
288
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: FaqDetailsComponent, deps: [{ token: i1.CommonService }, { token: i0.Injector }, { token: i2.DomSanitizer }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
237
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.19", type: FaqDetailsComponent, isStandalone: false, selector: "pw-faq-details", usesInheritance: true, ngImport: i0, template: "@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\">{{faq?.question}}</h2>\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-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\n </div>\n}\n", styles: [".ql-container{resize:none!important}\n"], dependencies: [{ kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i3.ProgressSpinner, selector: "p-progressSpinner, p-progress-spinner, p-progressspinner", inputs: ["styleClass", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }, { kind: "component", type: i4.NoDataComponent, selector: "pw-no-data", inputs: ["message", "description", "withImage"] }] }); }
289
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.19", type: FaqDetailsComponent, isStandalone: false, selector: "pw-faq-details", usesInheritance: true, ngImport: i0, template: "@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\">\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 <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-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\n </div>\n}\n", styles: [".ql-container{resize:none!important}.faq-edit-link{text-decoration:none;vertical-align:middle}.faq-edit-link .edit-icon{font-size:16px}\n"], dependencies: [{ kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i3.ProgressSpinner, selector: "p-progressSpinner, p-progress-spinner, p-progressspinner", inputs: ["styleClass", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }, { kind: "directive", type: i5.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "component", type: i4.NoDataComponent, selector: "pw-no-data", inputs: ["message", "description", "withImage"] }, { kind: "pipe", type: i7.TranslocoPipe, name: "transloco" }] }); }
238
290
  }
239
291
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: FaqDetailsComponent, decorators: [{
240
292
  type: Component,
241
- args: [{ selector: 'pw-faq-details', standalone: false, template: "@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\">{{faq?.question}}</h2>\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-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\n </div>\n}\n", styles: [".ql-container{resize:none!important}\n"] }]
293
+ args: [{ selector: 'pw-faq-details', standalone: false, template: "@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\">\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 <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-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\n </div>\n}\n", styles: [".ql-container{resize:none!important}.faq-edit-link{text-decoration:none;vertical-align:middle}.faq-edit-link .edit-icon{font-size:16px}\n"] }]
242
294
  }], ctorParameters: () => [{ type: i1.CommonService }, { type: i0.Injector }, { type: i2.DomSanitizer }, { type: i0.ChangeDetectorRef }] });
243
295
 
244
296
  class UserFeedbackComponent extends AppBaseComponent {
@@ -367,7 +419,7 @@ class HomeComponent extends AppBaseComponent {
367
419
  super.ngOnDestroy();
368
420
  }
369
421
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: HomeComponent, deps: [{ token: i0.Injector }, { token: i1.HopscotchService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
370
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.19", type: HomeComponent, isStandalone: false, selector: "pw-home", usesInheritance: true, ngImport: i0, template: "<pw-user-feedback></pw-user-feedback>\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", styles: ["::ng-deep .hopscotch-title{text-align:center!important;margin-bottom:20px!important}::ng-deep .hopscotch-title h2{margin:0}::ng-deep .hopscotch-content{text-align:center;padding:20px;margin:0!important}::ng-deep .hopscotch-content img{width:150px;margin:20px 0}::ng-deep .hopscotch-content p{font-size:16px;color:#555}::ng-deep .hopscotch-step-title{text-align:left;margin-bottom:15px}::ng-deep .hopscotch-step-content{padding:20px;text-align:left!important}::ng-deep .hopscotch-step-content p{font-size:14px;color:#555;margin-bottom:10px;text-align:left!important}\n"], dependencies: [{ kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: UserFeedbackComponent, selector: "pw-user-feedback" }, { kind: "pipe", type: i4$1.TranslocoPipe, name: "transloco" }] }); }
422
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.19", type: HomeComponent, isStandalone: false, selector: "pw-home", usesInheritance: true, ngImport: i0, template: "<pw-user-feedback></pw-user-feedback>\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", styles: ["::ng-deep .hopscotch-title{text-align:center!important;margin-bottom:20px!important}::ng-deep .hopscotch-title h2{margin:0}::ng-deep .hopscotch-content{text-align:center;padding:20px;margin:0!important}::ng-deep .hopscotch-content img{width:150px;margin:20px 0}::ng-deep .hopscotch-content p{font-size:16px;color:#555}::ng-deep .hopscotch-step-title{text-align:left;margin-bottom:15px}::ng-deep .hopscotch-step-content{padding:20px;text-align:left!important}::ng-deep .hopscotch-step-content p{font-size:14px;color:#555;margin-bottom:10px;text-align:left!important}\n"], dependencies: [{ kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: UserFeedbackComponent, selector: "pw-user-feedback" }, { kind: "pipe", type: i7.TranslocoPipe, name: "transloco" }] }); }
371
423
  }
372
424
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: HomeComponent, decorators: [{
373
425
  type: Component,
@@ -440,7 +492,7 @@ class CurrentNotificationsComponent {
440
492
  return item.id;
441
493
  }
442
494
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: CurrentNotificationsComponent, deps: [{ token: i1.NotificationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
443
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.19", type: CurrentNotificationsComponent, isStandalone: false, selector: "pw-current-notifications", ngImport: i0, template: "<div class=\"row main-div\">\n <div class=\"w-100 text-center mt-3\">\n @if (!isLoaded) {\n <p-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\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", styles: [".icon-dismiss{position:relative;right:15px;top:30px;z-index:9}.noti-list{overflow-x:hidden!important}.noti-buttons{flex:auto}.main-div{padding:0 20px}.card{padding-bottom:0}@media screen and (max-width:480px){.noty-body{width:240px}}.pagination-container{padding:0 1rem}\n"], dependencies: [{ kind: "directive", type: i2$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i3.ProgressSpinner, selector: "p-progressSpinner, p-progress-spinner, p-progressspinner", inputs: ["styleClass", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }, { kind: "component", type: i4.NoDataComponent, selector: "pw-no-data", inputs: ["message", "description", "withImage"] }, { kind: "component", type: i4.RecordsSummaryComponent, selector: "pw-records-summary", inputs: ["showing", "total"] }, { kind: "pipe", type: i5.SinceAgoPipe, name: "sinceAgo" }] }); }
495
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.19", type: CurrentNotificationsComponent, isStandalone: false, selector: "pw-current-notifications", ngImport: i0, template: "<div class=\"row main-div\">\n <div class=\"w-100 text-center mt-3\">\n @if (!isLoaded) {\n <p-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\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", styles: [".icon-dismiss{position:relative;right:15px;top:30px;z-index:9}.noti-list{overflow-x:hidden!important}.noti-buttons{flex:auto}.main-div{padding:0 20px}.card{padding-bottom:0}@media screen and (max-width:480px){.noty-body{width:240px}}.pagination-container{padding:0 1rem}\n"], dependencies: [{ kind: "directive", type: i2$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i3.ProgressSpinner, selector: "p-progressSpinner, p-progress-spinner, p-progressspinner", inputs: ["styleClass", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }, { kind: "component", type: i4.NoDataComponent, selector: "pw-no-data", inputs: ["message", "description", "withImage"] }, { kind: "component", type: i4.RecordsSummaryComponent, selector: "pw-records-summary", inputs: ["showing", "total"] }, { kind: "pipe", type: i5$1.SinceAgoPipe, name: "sinceAgo" }] }); }
444
496
  }
445
497
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: CurrentNotificationsComponent, decorators: [{
446
498
  type: Component,
@@ -528,7 +580,7 @@ class DismissedNotificationsComponent {
528
580
  return item.id;
529
581
  }
530
582
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: DismissedNotificationsComponent, deps: [{ token: i1.NotificationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
531
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.19", type: DismissedNotificationsComponent, isStandalone: false, selector: "pw-dismissed-notifications", ngImport: i0, template: "<div class=\"row main-div\">\n <div class=\"w-100 text-center mt-3\">\n @if (!isLoaded) {\n <p-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\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", styles: [".icon-dismiss{position:relative;right:15px;top:30px;z-index:9}.noti-list{overflow-x:hidden!important}.noti-buttons{flex:auto}.main-div{padding:0 20px}.card{padding-bottom:0}@media screen and (max-width:480px){.noty-body{width:240px}}.pagination-container{padding:0 1rem}\n"], dependencies: [{ kind: "directive", type: i2$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i3.ProgressSpinner, selector: "p-progressSpinner, p-progress-spinner, p-progressspinner", inputs: ["styleClass", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }, { kind: "component", type: i4.NoDataComponent, selector: "pw-no-data", inputs: ["message", "description", "withImage"] }, { kind: "component", type: i4.RecordsSummaryComponent, selector: "pw-records-summary", inputs: ["showing", "total"] }, { kind: "pipe", type: i5.SinceAgoPipe, name: "sinceAgo" }] }); }
583
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.19", type: DismissedNotificationsComponent, isStandalone: false, selector: "pw-dismissed-notifications", ngImport: i0, template: "<div class=\"row main-div\">\n <div class=\"w-100 text-center mt-3\">\n @if (!isLoaded) {\n <p-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\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", styles: [".icon-dismiss{position:relative;right:15px;top:30px;z-index:9}.noti-list{overflow-x:hidden!important}.noti-buttons{flex:auto}.main-div{padding:0 20px}.card{padding-bottom:0}@media screen and (max-width:480px){.noty-body{width:240px}}.pagination-container{padding:0 1rem}\n"], dependencies: [{ kind: "directive", type: i2$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i3.ProgressSpinner, selector: "p-progressSpinner, p-progress-spinner, p-progressspinner", inputs: ["styleClass", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }, { kind: "component", type: i4.NoDataComponent, selector: "pw-no-data", inputs: ["message", "description", "withImage"] }, { kind: "component", type: i4.RecordsSummaryComponent, selector: "pw-records-summary", inputs: ["showing", "total"] }, { kind: "pipe", type: i5$1.SinceAgoPipe, name: "sinceAgo" }] }); }
532
584
  }
533
585
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: DismissedNotificationsComponent, decorators: [{
534
586
  type: Component,
@@ -629,7 +681,7 @@ class SearchComponent {
629
681
  return item.id;
630
682
  }
631
683
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SearchComponent, deps: [{ token: i1$1.ActivatedRoute }, { token: i1.DashboardService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
632
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.19", type: SearchComponent, isStandalone: false, selector: "pw-search", ngImport: i0, template: "<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-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\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", styles: ["@charset \"UTF-8\";:root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: color-mix(in srgb, var(--first, rgb(23 105 225)) 85%, #000000);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255);--dashboard_bg: rgb(255 255 255);--public-btn-radius: 24px}h6{background:var(--sidebar_bg)!important;color:var(--sidebar_text)!important;padding:.8rem!important}.faq-search-answer a{color:#144086;display:inline-block;float:right;font-size:14px;margin-right:15px}::ng-deep .ql-snow *{font-size:16px!important}.faq-search-answer a:after{right:-10px}.faq-item{border:1px dashed rgba(0,0,0,.1);background-color:#fff;border-radius:3px;margin:10px 0;transition:all .2s ease-in-out}.faq-item .dashboard-header{background:#fff}.accord-title1 .faq-search-answer a{margin-right:0!important}a.accordion-toggle:after{display:none}.accord-title p.title-font{font-size:.8rem}.panel-collapse.show{border-top:1px dashed rgba(0,0,0,.1);padding-top:20px;padding-bottom:20px}.panel-collapse ul{margin-bottom:1rem}.panel-collapse ul.name-fl li{display:inline-block;padding-right:15px}.view-btn a{display:inline-block}.avatar{width:130px;margin:0 auto;display:block}.accordion-title a{color:var(--sidebar_bg)!important}.card-header h1,.card-header p{color:#fff!important}.card .accordion-toggle:before{content:\"\\f078\"}.card .accordion-toggle.collapsed{transition:all .3s ease-in-out}.card .accordion-toggle.collapsed:before{content:\"\\f054\"}.card-block p{font-size:16px}.card,h6{background:var(--sidebar_bg)!important;color:var(--sidebar_text)!important;padding:.8rem!important}.ql-container{resize:none!important;max-width:1000px;margin:0 auto}\n"], dependencies: [{ kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i3.ProgressSpinner, selector: "p-progressSpinner, p-progress-spinner, p-progressspinner", inputs: ["styleClass", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }, { kind: "component", type: i4.NoDataComponent, selector: "pw-no-data", inputs: ["message", "description", "withImage"] }, { kind: "pipe", type: i2$2.UpperCasePipe, name: "uppercase" }, { kind: "pipe", type: i4$1.TranslocoPipe, name: "transloco" }, { kind: "pipe", type: i5.DOMSanitizerPipe, name: "safe" }] }); }
684
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.19", type: SearchComponent, isStandalone: false, selector: "pw-search", ngImport: i0, template: "<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-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\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", styles: ["@charset \"UTF-8\";:root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: color-mix(in srgb, var(--first, rgb(23 105 225)) 85%, #000000);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255);--dashboard_bg: rgb(255 255 255);--public-btn-radius: 24px}h6{background:var(--sidebar_bg)!important;color:var(--sidebar_text)!important;padding:.8rem!important}.faq-search-answer a{color:#144086;display:inline-block;float:right;font-size:14px;margin-right:15px}::ng-deep .ql-snow *{font-size:16px!important}.faq-search-answer a:after{right:-10px}.faq-item{border:1px dashed rgba(0,0,0,.1);background-color:#fff;border-radius:3px;margin:10px 0;transition:all .2s ease-in-out}.faq-item .dashboard-header{background:#fff}.accord-title1 .faq-search-answer a{margin-right:0!important}a.accordion-toggle:after{display:none}.accord-title p.title-font{font-size:.8rem}.panel-collapse.show{border-top:1px dashed rgba(0,0,0,.1);padding-top:20px;padding-bottom:20px}.panel-collapse ul{margin-bottom:1rem}.panel-collapse ul.name-fl li{display:inline-block;padding-right:15px}.view-btn a{display:inline-block}.avatar{width:130px;margin:0 auto;display:block}.accordion-title a{color:var(--sidebar_bg)!important}.card-header h1,.card-header p{color:#fff!important}.card .accordion-toggle:before{content:\"\\f078\"}.card .accordion-toggle.collapsed{transition:all .3s ease-in-out}.card .accordion-toggle.collapsed:before{content:\"\\f054\"}.card-block p{font-size:16px}.card,h6{background:var(--sidebar_bg)!important;color:var(--sidebar_text)!important;padding:.8rem!important}.ql-container{resize:none!important;max-width:1000px;margin:0 auto}\n"], dependencies: [{ kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i3.ProgressSpinner, selector: "p-progressSpinner, p-progress-spinner, p-progressspinner", inputs: ["styleClass", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }, { kind: "component", type: i4.NoDataComponent, selector: "pw-no-data", inputs: ["message", "description", "withImage"] }, { kind: "pipe", type: i2$2.UpperCasePipe, name: "uppercase" }, { kind: "pipe", type: i7.TranslocoPipe, name: "transloco" }, { kind: "pipe", type: i5$1.DOMSanitizerPipe, name: "safe" }] }); }
633
685
  }
634
686
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SearchComponent, decorators: [{
635
687
  type: Component,
@@ -658,6 +710,7 @@ class DashboardContentModule {
658
710
  ProgressSpinnerModule,
659
711
  NgbNavModule,
660
712
  RadioButtonModule,
713
+ TooltipModule,
661
714
  ResourceSharedComponentsModule], exports: [DocumentationComponent,
662
715
  FaqComponent,
663
716
  FaqDetailsComponent,
@@ -676,6 +729,7 @@ class DashboardContentModule {
676
729
  ProgressSpinnerModule,
677
730
  NgbNavModule,
678
731
  RadioButtonModule,
732
+ TooltipModule,
679
733
  ResourceSharedComponentsModule, RadioButtonModule] }); }
680
734
  }
681
735
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: DashboardContentModule, decorators: [{
@@ -690,6 +744,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImpo
690
744
  ProgressSpinnerModule,
691
745
  NgbNavModule,
692
746
  RadioButtonModule,
747
+ TooltipModule,
693
748
  ResourceSharedComponentsModule
694
749
  ],
695
750
  declarations: [
@@ -1 +1 @@
1
- {"version":3,"file":"posiwise-dashboard-module.mjs","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.component.ts","../../../../libs/dashboard-module/src/lib/faq/faq.component.html","../../../../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/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/posiwise-dashboard-module.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-progressSpinner strokeWidth=\"2\"></p-progressSpinner>\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","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 { FAQ, Product, User } from '@posiwise/common-utilities';\nimport { HelperService } from '@posiwise/helper-service';\n\nimport groupBy from 'lodash/groupBy';\nimport sortBy from 'lodash/sortBy';\nimport { forkJoin, Subject } from 'rxjs';\nimport { debounceTime, finalize, takeUntil } from 'rxjs/operators';\n\nexport interface GroupedFaqs {\n [category: string]: FAQ[];\n}\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 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.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 const combinedFaqs = [...this.nonProductFaqs, ...this.allProductFaqs];\n const groupedFaqs = groupBy(combinedFaqs, 'category');\n\n Object.keys(groupedFaqs).forEach(category => {\n groupedFaqs[category] = sortBy(groupedFaqs[category], 'position');\n });\n\n this.faqs = groupedFaqs; // Use a single collection for all FAQs\n this.prepareSanitizedAnswers();\n }\n\n // Sanitize every answer up front so the markup is present before the\n // collapse measures its target height — prevents the end-of-animation\n // height snap that made expand/collapse feel clunky.\n private prepareSanitizedAnswers() {\n this.sanitizedFaqAnswers = {};\n Object.keys(this.faqs).forEach((category, categoryIndex) => {\n this.faqs[category].forEach((faq, itemIndex) => {\n if (faq?.answer) {\n this.sanitizedFaqAnswers[`${itemIndex}-${categoryIndex}`] =\n this.sanitizeFaqAnswer(faq.answer);\n }\n });\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-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\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 </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","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 { FAQ } from '@posiwise/common-utilities';\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 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.getFaq();\n }\n\n getFaq() {\n this.isLoading = true;\n this.commonService\n .getPublicFaqById(this.faqRef)\n .subscribe(res => {\n let faqAnswer;\n if (res?.answer) {\n const parser = new DOMParser();\n const doc = parser.parseFromString(res.answer, 'text/html');\n\n // Remove all button elements\n const buttons = doc.querySelectorAll('button');\n buttons.forEach(button => button.remove());\n\n // Return sanitized HTML\n // NOSONAR: Trusted HTML content is handled safely here\n faqAnswer = this.sanitizer.bypassSecurityTrustHtml(doc.body.innerHTML); // NOSONAR\n }\n this.faq = { ...res, answer: faqAnswer };\n this.cdr.markForCheck();\n })\n .add(() => {\n this.isLoading = false;\n this.cdr.markForCheck();\n });\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\">{{faq?.question}}</h2>\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-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\n </div>\n}\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()\">&times;</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-radioButton name=\"feedback\" [(ngModel)]=\"selectedValue\" [value]=\"i\" [inputId]=\"i\"></p-radioButton>\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 { ChangeDetectorRef, Component, Injector, OnDestroy, OnInit } 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\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 ) {\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<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-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\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-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\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-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\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 { PipesModule } from '@posiwise/pipes';\nimport { ResourceSharedComponentsModule } from '@posiwise/shared-components';\n\nimport { ProgressSpinnerModule } from 'primeng/progressspinner';\nimport { RadioButtonModule } from 'primeng/radiobutton';\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 PipesModule,\n ProgressSpinnerModule,\n NgbNavModule,\n RadioButtonModule,\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 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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2","i3","i4","i5","i3.UserFeedbackComponent","i2.CurrentNotificationsComponent","i3.DismissedNotificationsComponent","i6","i7"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAUa,sBAAsB,CAAA;AAI/B,IAAA,WAAA,CAA6B,SAAuB,EAAA;QAAvB,IAAA,CAAA,SAAS,GAAT,SAAS;QAFtC,IAAA,CAAA,QAAQ,GAAG,KAAK;IAEuC;IAEvD,QAAQ,GAAA;;QAEJ,MAAM,iBAAiB,GAAG,cA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IAAA,UAAU,EAAE,iBAAiB,CAAC,OAAO,CAAC;AACtC,IAAA,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC;AAC1B,IAAA,KAAK,EAAE,eAAe,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,GAAG,KAAK,OAAO,CAAC,EAAE,KAAK,IAAI,EAAE;AACtE,IAAA,IAAI,EAAE,eAAe,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,GAAG,KAAK,OAAO,CAAC,EAAE,IAAI,IAAI;AACrE,CAAA,CAAC;AAEN;AACA,MAAM,oBAAoB,GAAG,MACzB,eAAe,CAAC,GAAG,CAAC,IAAI,IAAI,sBAAsB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEjE;AACO,MAAM,MAAM,GAAgB;AAC/B,IAAA,cAAc,CAAC;AACX,QAAA,UAAU,EAAE,iBAAiB;AAC7B,QAAA,IAAI,EAAE,OAAO;AACb,QAAA,KAAK,EAAE,MAAM;AACb,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,KAAK,EAAE;KACV,CAAC;AACF,IAAA,cAAc,CAAC;AACX,QAAA,UAAU,EAAE,aAAa;AACzB,QAAA,IAAI,EAAE,IAAI;AACV,QAAA,KAAK,EAAE,OAAO;AACd,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,KAAK,EAAE,CAAC;QACR,OAAO,EAAE,oBAAoB;KAChC;;AAGL;AACO,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG;;AC3HnE;;AAEG;;;;"}
1
+ {"version":3,"file":"posiwise-dashboard-module.mjs","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-details.component.ts","../../../../libs/dashboard-module/src/lib/faq-details/faq-details.component.html","../../../../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/posiwise-dashboard-module.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-progressSpinner strokeWidth=\"2\"></p-progressSpinner>\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-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\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","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 { FAQ_ADMIN_PERMISSION } from '../faq/faq-admin-permission';\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 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.getFaq();\n }\n\n getFaq() {\n this.isLoading = true;\n this.commonService\n .getPublicFaqById(this.faqRef)\n .subscribe(res => {\n let faqAnswer;\n if (res?.answer) {\n const parser = new DOMParser();\n const doc = parser.parseFromString(res.answer, 'text/html');\n\n // Remove all button elements\n const buttons = doc.querySelectorAll('button');\n buttons.forEach(button => button.remove());\n\n // Return sanitized HTML\n // NOSONAR: Trusted HTML content is handled safely here\n faqAnswer = this.sanitizer.bypassSecurityTrustHtml(doc.body.innerHTML); // NOSONAR\n }\n this.faq = { ...res, answer: faqAnswer };\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 = !!res?.question;\n this.canEditFaq =\n loaded && this.permissionService.evaluatePermissions(FAQ_ADMIN_PERMISSION);\n this.editFaqId = loaded ? this.resolveEditFaqId(res) : null;\n\n this.cdr.markForCheck();\n })\n .add(() => {\n this.isLoading = false;\n this.cdr.markForCheck();\n });\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\">\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 <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-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\n </div>\n}\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()\">&times;</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-radioButton name=\"feedback\" [(ngModel)]=\"selectedValue\" [value]=\"i\" [inputId]=\"i\"></p-radioButton>\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 { ChangeDetectorRef, Component, Injector, OnDestroy, OnInit } 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\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 ) {\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<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-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\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-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\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-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\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 { 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 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 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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2","i3","i4","i6","i3.UserFeedbackComponent","i5","i2.CurrentNotificationsComponent","i3.DismissedNotificationsComponent","i7"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAUa,sBAAsB,CAAA;AAI/B,IAAA,WAAA,CAA6B,SAAuB,EAAA;QAAvB,IAAA,CAAA,SAAS,GAAT,SAAS;QAFtC,IAAA,CAAA,QAAQ,GAAG,KAAK;IAEuC;IAEvD,QAAQ,GAAA;;QAEJ,MAAM,iBAAiB,GAAG,cAAc,CAAC,OAAO,CAAC,mBAAmB,CAAC;QACrE,MAAM,MAAM,GAAG,iBAAiB;QAEhC,IAAI,MAAM,EAAE;;AAER,YAAA,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,8BAA8B,CAAC,MAAM,CAAC,CAAC;QAC3E;aAAO;;AAEH,YAAA,IAAI,CAAC,QAAQ,GAAG,IAAI;QACxB;IACJ;IAEA,YAAY,GAAA;;QAER,UAAU,CAAC,MAAK;AACZ,YAAA,IAAI,CAAC,QAAQ,GAAG,IAAI;QACxB,CAAC,EAAE,CAAC,CAAC;IACT;+GAzBS,sBAAsB,EAAA,IAAA,EAAA,CA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AsB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEjE;AACO,MAAM,MAAM,GAAgB;AAC/B,IAAA,cAAc,CAAC;AACX,QAAA,UAAU,EAAE,iBAAiB;AAC7B,QAAA,IAAI,EAAE,OAAO;AACb,QAAA,KAAK,EAAE,MAAM;AACb,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,KAAK,EAAE;KACV,CAAC;AACF,IAAA,cAAc,CAAC;AACX,QAAA,UAAU,EAAE,aAAa;AACzB,QAAA,IAAI,EAAE,IAAI;AACV,QAAA,KAAK,EAAE,OAAO;AACd,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,KAAK,EAAE,CAAC;QACR,OAAO,EAAE,oBAAoB;KAChC;;AAGL;AACO,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG;;AC3HnE;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/dashboard-module",
3
- "version": "0.0.145",
3
+ "version": "0.0.146",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.2.19",
6
6
  "@angular/core": "^21.2.19"
@@ -16,7 +16,8 @@ import { CommonService, ProductService, HopscotchService, NotificationService, D
16
16
  import { FAQ, Product, User, GlobalSearchResponse } from '@posiwise/common-utilities';
17
17
  import * as i12 from '@angular/router';
18
18
  import { ActivatedRoute } from '@angular/router';
19
- import * as i18 from '@posiwise/shared-components';
19
+ import * as i18 from 'primeng/tooltip';
20
+ import * as i19 from '@posiwise/shared-components';
20
21
 
21
22
  declare class DocumentationComponent implements OnInit {
22
23
  private readonly sanitizer;
@@ -32,6 +33,7 @@ declare class DocumentationComponent implements OnInit {
32
33
  interface GroupedFaqs {
33
34
  [category: string]: FAQ[];
34
35
  }
36
+
35
37
  declare class FaqComponent extends AppBaseComponent implements OnInit, OnDestroy {
36
38
  private readonly commonService;
37
39
  private readonly productService;
@@ -63,11 +65,49 @@ declare class FaqComponent extends AppBaseComponent implements OnInit, OnDestroy
63
65
  showDocumentation: any;
64
66
  faqHashMap: {};
65
67
  slug: any;
68
+ readonly routers: {
69
+ globalConfigDetails: string;
70
+ adminCredentialsDetails: string;
71
+ subscriptionCredentialDetails: string;
72
+ newsletter: string;
73
+ mailerDetails: string;
74
+ newsletterItemDetails: string;
75
+ newsletterItemView: string;
76
+ newslettersUserList: string;
77
+ newsletterDetails: string;
78
+ permissionsList: string;
79
+ permissionsDetails: string;
80
+ rolesDetails: string;
81
+ productDetails: string;
82
+ productsUserList: string;
83
+ feedbackQuestions: string;
84
+ feedbackQuestionsDetails: string;
85
+ subscriptionDetails: string;
86
+ subscriptionProductDetails: string;
87
+ tipsDetails: string;
88
+ tosAndPrivacyDetails: string;
89
+ tosAndPrivacyView: string;
90
+ usersDetails: string;
91
+ domainConfig: string;
92
+ domainConfigDetails: string;
93
+ loginNotifications: string;
94
+ incidentConfig: string;
95
+ incidentDetails: string;
96
+ faqConfig: string;
97
+ faqDetails: string;
98
+ inviteUsers: string;
99
+ subscriptionList: string;
100
+ createResource: string;
101
+ createTag: string;
102
+ tags: string;
103
+ posts: string;
104
+ resourcesList: string;
105
+ };
106
+ canEditFaq: boolean;
66
107
  constructor(commonService: CommonService, injector: Injector, productService: ProductService, sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
67
108
  ngOnInit(): void;
68
109
  loadFaqData(): void;
69
110
  private faqValidation;
70
- private prepareSanitizedAnswers;
71
111
  private getProducts;
72
112
  filter(searchValue: string): void;
73
113
  navigateToSupport(): void;
@@ -90,9 +130,50 @@ declare class FaqDetailsComponent extends AppBaseComponent implements OnInit {
90
130
  faq: FAQ;
91
131
  isLoading: boolean;
92
132
  slug: string;
133
+ readonly routers: {
134
+ globalConfigDetails: string;
135
+ adminCredentialsDetails: string;
136
+ subscriptionCredentialDetails: string;
137
+ newsletter: string;
138
+ mailerDetails: string;
139
+ newsletterItemDetails: string;
140
+ newsletterItemView: string;
141
+ newslettersUserList: string;
142
+ newsletterDetails: string;
143
+ permissionsList: string;
144
+ permissionsDetails: string;
145
+ rolesDetails: string;
146
+ productDetails: string;
147
+ productsUserList: string;
148
+ feedbackQuestions: string;
149
+ feedbackQuestionsDetails: string;
150
+ subscriptionDetails: string;
151
+ subscriptionProductDetails: string;
152
+ tipsDetails: string;
153
+ tosAndPrivacyDetails: string;
154
+ tosAndPrivacyView: string;
155
+ usersDetails: string;
156
+ domainConfig: string;
157
+ domainConfigDetails: string;
158
+ loginNotifications: string;
159
+ incidentConfig: string;
160
+ incidentDetails: string;
161
+ faqConfig: string;
162
+ faqDetails: string;
163
+ inviteUsers: string;
164
+ subscriptionList: string;
165
+ createResource: string;
166
+ createTag: string;
167
+ tags: string;
168
+ posts: string;
169
+ resourcesList: string;
170
+ };
171
+ canEditFaq: boolean;
172
+ editFaqId: number | null;
93
173
  constructor(commonService: CommonService, injector: Injector, sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
94
174
  ngOnInit(): void;
95
175
  getFaq(): void;
176
+ private resolveEditFaqId;
96
177
  static ɵfac: i0.ɵɵFactoryDeclaration<FaqDetailsComponent, never>;
97
178
  static ɵcmp: i0.ɵɵComponentDeclaration<FaqDetailsComponent, "pw-faq-details", never, {}, {}, never, never, false, never>;
98
179
  }
@@ -227,7 +308,7 @@ declare class UserFeedbackComponent extends AppBaseComponent implements OnInit {
227
308
 
228
309
  declare class DashboardContentModule {
229
310
  static ɵfac: i0.ɵɵFactoryDeclaration<DashboardContentModule, never>;
230
- static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardContentModule, [typeof DocumentationComponent, typeof FaqComponent, typeof FaqDetailsComponent, typeof HomeComponent, typeof NotificationsPageComponent, typeof CurrentNotificationsComponent, typeof NotificationsPageComponent, typeof DismissedNotificationsComponent, typeof SearchComponent, typeof UserFeedbackComponent], [typeof i10.CommonModule, typeof i2.FormsModule, typeof i12.RouterModule, typeof i13.CoreTranslocoModule, typeof i14.PipesModule, typeof i15.ProgressSpinnerModule, typeof i7.NgbNavModule, typeof i17.RadioButtonModule, typeof i18.ResourceSharedComponentsModule], [typeof DocumentationComponent, typeof FaqComponent, typeof FaqDetailsComponent, typeof HomeComponent, typeof NotificationsPageComponent, typeof CurrentNotificationsComponent, typeof NotificationsPageComponent, typeof DismissedNotificationsComponent, typeof SearchComponent, typeof i17.RadioButtonModule]>;
311
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardContentModule, [typeof DocumentationComponent, typeof FaqComponent, typeof FaqDetailsComponent, typeof HomeComponent, typeof NotificationsPageComponent, typeof CurrentNotificationsComponent, typeof NotificationsPageComponent, typeof DismissedNotificationsComponent, typeof SearchComponent, typeof UserFeedbackComponent], [typeof i10.CommonModule, typeof i2.FormsModule, typeof i12.RouterModule, typeof i13.CoreTranslocoModule, typeof i14.PipesModule, typeof i15.ProgressSpinnerModule, typeof i7.NgbNavModule, typeof i17.RadioButtonModule, typeof i18.TooltipModule, typeof i19.ResourceSharedComponentsModule], [typeof DocumentationComponent, typeof FaqComponent, typeof FaqDetailsComponent, typeof HomeComponent, typeof NotificationsPageComponent, typeof CurrentNotificationsComponent, typeof NotificationsPageComponent, typeof DismissedNotificationsComponent, typeof SearchComponent, typeof i17.RadioButtonModule]>;
231
312
  static ɵinj: i0.ɵɵInjectorDeclaration<DashboardContentModule>;
232
313
  }
233
314