@posiwise/dashboard-module 0.0.135 → 0.0.136
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.
|
@@ -20,6 +20,8 @@ import * as i1$2 from '@ng-bootstrap/ng-bootstrap';
|
|
|
20
20
|
import { NgbNavModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
|
|
21
21
|
import * as i1$1 from '@angular/router';
|
|
22
22
|
import { RouterModule } from '@angular/router';
|
|
23
|
+
import * as i4 from '@posiwise/shared-components';
|
|
24
|
+
import { ResourceSharedComponentsModule } from '@posiwise/shared-components';
|
|
23
25
|
import * as i2 from '@angular/platform-browser';
|
|
24
26
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
25
27
|
import { HelperService } from '@posiwise/helper-service';
|
|
@@ -28,7 +30,7 @@ import sortBy from 'lodash/sortBy';
|
|
|
28
30
|
import { Subject, forkJoin } from 'rxjs';
|
|
29
31
|
import { debounceTime, takeUntil, finalize } from 'rxjs/operators';
|
|
30
32
|
import moment from 'moment';
|
|
31
|
-
import * as i4 from '@jsverse/transloco';
|
|
33
|
+
import * as i4$1 from '@jsverse/transloco';
|
|
32
34
|
|
|
33
35
|
class DocumentationComponent {
|
|
34
36
|
constructor(sanitizer) {
|
|
@@ -175,11 +177,11 @@ class FaqComponent extends AppBaseComponent {
|
|
|
175
177
|
super.ngOnDestroy();
|
|
176
178
|
}
|
|
177
179
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: FaqComponent, deps: [{ token: i1.CommonService }, { token: i0.Injector }, { token: i1.ProductService }, { token: i2.DomSanitizer }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
178
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", 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 in faqs..\"\n (input)=\"filter($event.target.value)\"\n #messageInput />\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: ["
|
|
180
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", 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 in faqs..\"\n (input)=\"filter($event.target.value)\"\n #messageInput />\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: rgb(70, 136, 236);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255)}.card-header h1,.card-header p{color:#fff!important}.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}.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 .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{background:var(--sidebar_bg)!important;color:var(--sidebar_text)!important;padding:.8rem!important}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"] }] }); }
|
|
179
181
|
}
|
|
180
182
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: FaqComponent, decorators: [{
|
|
181
183
|
type: Component,
|
|
182
|
-
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 in faqs..\"\n (input)=\"filter($event.target.value)\"\n #messageInput />\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: ["
|
|
184
|
+
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 in faqs..\"\n (input)=\"filter($event.target.value)\"\n #messageInput />\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: rgb(70, 136, 236);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255)}.card-header h1,.card-header p{color:#fff!important}.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}.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 .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{background:var(--sidebar_bg)!important;color:var(--sidebar_text)!important;padding:.8rem!important}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"] }]
|
|
183
185
|
}], ctorParameters: () => [{ type: i1.CommonService }, { type: i0.Injector }, { type: i1.ProductService }, { type: i2.DomSanitizer }, { type: i0.ChangeDetectorRef }] });
|
|
184
186
|
|
|
185
187
|
class FaqDetailsComponent extends AppBaseComponent {
|
|
@@ -220,7 +222,7 @@ class FaqDetailsComponent extends AppBaseComponent {
|
|
|
220
222
|
});
|
|
221
223
|
}
|
|
222
224
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: FaqDetailsComponent, deps: [{ token: i1.CommonService }, { token: i0.Injector }, { token: i2.DomSanitizer }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
223
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", 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"] }] }); }
|
|
225
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", 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"] }] }); }
|
|
224
226
|
}
|
|
225
227
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: FaqDetailsComponent, decorators: [{
|
|
226
228
|
type: Component,
|
|
@@ -353,7 +355,7 @@ class HomeComponent extends AppBaseComponent {
|
|
|
353
355
|
super.ngOnDestroy();
|
|
354
356
|
}
|
|
355
357
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: HomeComponent, deps: [{ token: i0.Injector }, { token: i1.HopscotchService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
356
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", 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.TranslocoPipe, name: "transloco" }] }); }
|
|
358
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", 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" }] }); }
|
|
357
359
|
}
|
|
358
360
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: HomeComponent, decorators: [{
|
|
359
361
|
type: Component,
|
|
@@ -426,11 +428,11 @@ class CurrentNotificationsComponent {
|
|
|
426
428
|
return item.id;
|
|
427
429
|
}
|
|
428
430
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: CurrentNotificationsComponent, deps: [{ token: i1.NotificationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
429
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", 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 <
|
|
431
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", 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" }] }); }
|
|
430
432
|
}
|
|
431
433
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: CurrentNotificationsComponent, decorators: [{
|
|
432
434
|
type: Component,
|
|
433
|
-
args: [{ selector: 'pw-current-notifications', standalone: false, 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 <
|
|
435
|
+
args: [{ selector: 'pw-current-notifications', standalone: false, 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"] }]
|
|
434
436
|
}], ctorParameters: () => [{ type: i1.NotificationService }, { type: i0.ChangeDetectorRef }] });
|
|
435
437
|
|
|
436
438
|
class DismissedNotificationsComponent {
|
|
@@ -514,11 +516,11 @@ class DismissedNotificationsComponent {
|
|
|
514
516
|
return item.id;
|
|
515
517
|
}
|
|
516
518
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: DismissedNotificationsComponent, deps: [{ token: i1.NotificationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
517
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", 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 <
|
|
519
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", 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" }] }); }
|
|
518
520
|
}
|
|
519
521
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: DismissedNotificationsComponent, decorators: [{
|
|
520
522
|
type: Component,
|
|
521
|
-
args: [{ selector: 'pw-dismissed-notifications', standalone: false, 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 <
|
|
523
|
+
args: [{ selector: 'pw-dismissed-notifications', standalone: false, 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"] }]
|
|
522
524
|
}], ctorParameters: () => [{ type: i1.NotificationService }, { type: i0.ChangeDetectorRef }] });
|
|
523
525
|
|
|
524
526
|
class NotificationsPageComponent {
|
|
@@ -535,6 +537,11 @@ class SearchComponent {
|
|
|
535
537
|
this.route = route;
|
|
536
538
|
this.service = service;
|
|
537
539
|
this.cdr = cdr;
|
|
540
|
+
this.emptySearchResult = {
|
|
541
|
+
users: [],
|
|
542
|
+
faqs: [],
|
|
543
|
+
recipients: []
|
|
544
|
+
};
|
|
538
545
|
this.isLoaded = false;
|
|
539
546
|
this.objectKeys = Object.keys;
|
|
540
547
|
}
|
|
@@ -553,7 +560,10 @@ class SearchComponent {
|
|
|
553
560
|
this.service
|
|
554
561
|
.search(this.keyword, this.subscriptionId)
|
|
555
562
|
.subscribe(response => {
|
|
556
|
-
this.result =
|
|
563
|
+
this.result = {
|
|
564
|
+
...this.emptySearchResult,
|
|
565
|
+
...(response ?? {})
|
|
566
|
+
};
|
|
557
567
|
this.cdr.markForCheck();
|
|
558
568
|
})
|
|
559
569
|
.add(() => {
|
|
@@ -561,6 +571,39 @@ class SearchComponent {
|
|
|
561
571
|
this.cdr.markForCheck();
|
|
562
572
|
});
|
|
563
573
|
}
|
|
574
|
+
get hasResults() {
|
|
575
|
+
return this.searchGroups.some(group => group.length > 0);
|
|
576
|
+
}
|
|
577
|
+
get searchGroups() {
|
|
578
|
+
return ['users', 'faqs', 'recipients'].map(group => this.getResultGroup(group));
|
|
579
|
+
}
|
|
580
|
+
getResultGroup(group) {
|
|
581
|
+
if (!this.isSearchGroupKey(group)) {
|
|
582
|
+
return [];
|
|
583
|
+
}
|
|
584
|
+
const resultGroup = this.result?.[group];
|
|
585
|
+
if (!Array.isArray(resultGroup)) {
|
|
586
|
+
return [];
|
|
587
|
+
}
|
|
588
|
+
return resultGroup.filter(item => this.isRenderableResult(item));
|
|
589
|
+
}
|
|
590
|
+
isSearchGroupKey(group) {
|
|
591
|
+
return group === 'users' || group === 'faqs' || group === 'recipients';
|
|
592
|
+
}
|
|
593
|
+
isRenderableResult(item) {
|
|
594
|
+
if (item == null) {
|
|
595
|
+
return false;
|
|
596
|
+
}
|
|
597
|
+
if (typeof item !== 'object') {
|
|
598
|
+
return true;
|
|
599
|
+
}
|
|
600
|
+
return Object.values(item).some(value => {
|
|
601
|
+
if (Array.isArray(value)) {
|
|
602
|
+
return value.length > 0;
|
|
603
|
+
}
|
|
604
|
+
return value !== null && value !== undefined && value !== '';
|
|
605
|
+
});
|
|
606
|
+
}
|
|
564
607
|
handleImageError(event, fallbackPath) {
|
|
565
608
|
HelperService.handleImageFallbackPath(event, fallbackPath);
|
|
566
609
|
}
|
|
@@ -574,11 +617,11 @@ class SearchComponent {
|
|
|
574
617
|
return item.id;
|
|
575
618
|
}
|
|
576
619
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: SearchComponent, deps: [{ token: i1$1.ActivatedRoute }, { token: i1.DashboardService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
577
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", 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 >\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 >\n @switch (group) {\n @case ('users') {\n @if (result[group].length) {\n <h6 class=\"text-uppercase mt-3 p-1\">{{ group }}</h6>\n <div class=\"dashboard\">\n @for (\n user of result[group]; track trackByUserId(idx1,\n user); let idx1 = $index) {\n <div class=\"faq-item\"\n >\n <div class=\"dashboard-header p-2\">\n <h5 class=\"accordion-title mt-2\">\n <a aria-label=\"Navigate to Target\"\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,\n skill); let isLast = $last) {\n <span class=\"badge bg-success m-1\"\n >\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 >\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 >\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 (\n user?.user_avatar\n ?.length > 0) {\n @for (\n profile_image of user.user_avatar\n ; track\n profile_image) {\n @if (\n profile_image.width ===\n 200\n ) {\n <div class=\"text-center my-2\"\n >\n <div class=\"avatar\">\n <img class=\"img-fluid\"\n [src]=\"\n profile_image.url\n \"\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 !==\n 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 !==\n 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 !==\n 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 (result[group].length) {\n <h6>\n {{ group | uppercase }}\n </h6>\n @for (\n faq of result[group]; track trackByFaqId(idx2,\n faq); let idx2 = $index) {\n <div class=\"faq-item\"\n >\n <div class=\"dashboard-header p-2\">\n <h5 class=\"accordion-title mt-2\">\n <a aria-label=\"Navigate to Target\"\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 (\n result.users?.length === 0 &&\n result.faqs?.length === 0 &&\n result.recipients?.length === 0\n ) {\n <pw-no-data [withImage]=\"true\" [message]=\"'Search.NoDataMessage' | transloco\" [description]=\"'Search.NoDataDescription' | transloco\"\n >\n </pw-no-data>\n }\n }\n </div>\n </div>\n </div>\n }\n </div>\n </div>\n</div>\n", styles: [":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: rgb(70, 136, 236);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255)}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: "pipe", type: i2$2.UpperCasePipe, name: "uppercase" }, { kind: "pipe", type: i4.TranslocoPipe, name: "transloco" }, { kind: "pipe", type: i5.DOMSanitizerPipe, name: "safe" }] }); }
|
|
620
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", 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 aria-label=\"Navigate to Target\"\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 aria-label=\"Navigate to Target\"\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: rgb(70, 136, 236);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255)}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" }] }); }
|
|
578
621
|
}
|
|
579
622
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: SearchComponent, decorators: [{
|
|
580
623
|
type: Component,
|
|
581
|
-
args: [{ selector: 'pw-search', standalone: false, 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 >\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 >\n @switch (group) {\n @case ('users') {\n @if (result[group].length) {\n <h6 class=\"text-uppercase mt-3 p-1\">{{ group }}</h6>\n <div class=\"dashboard\">\n @for (\n user of result[group]; track trackByUserId(idx1,\n user); let idx1 = $index) {\n <div class=\"faq-item\"\n >\n <div class=\"dashboard-header p-2\">\n <h5 class=\"accordion-title mt-2\">\n <a aria-label=\"Navigate to Target\"\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,\n skill); let isLast = $last) {\n <span class=\"badge bg-success m-1\"\n >\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 >\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 >\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 (\n user?.user_avatar\n ?.length > 0) {\n @for (\n profile_image of user.user_avatar\n ; track\n profile_image) {\n @if (\n profile_image.width ===\n 200\n ) {\n <div class=\"text-center my-2\"\n >\n <div class=\"avatar\">\n <img class=\"img-fluid\"\n [src]=\"\n profile_image.url\n \"\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 !==\n 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 !==\n 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 !==\n 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 (result[group].length) {\n <h6>\n {{ group | uppercase }}\n </h6>\n @for (\n faq of result[group]; track trackByFaqId(idx2,\n faq); let idx2 = $index) {\n <div class=\"faq-item\"\n >\n <div class=\"dashboard-header p-2\">\n <h5 class=\"accordion-title mt-2\">\n <a aria-label=\"Navigate to Target\"\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 (\n result.users?.length === 0 &&\n result.faqs?.length === 0 &&\n result.recipients?.length === 0\n ) {\n <pw-no-data [withImage]=\"true\" [message]=\"'Search.NoDataMessage' | transloco\" [description]=\"'Search.NoDataDescription' | transloco\"\n >\n </pw-no-data>\n }\n }\n </div>\n </div>\n </div>\n }\n </div>\n </div>\n</div>\n", styles: [":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: rgb(70, 136, 236);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255)}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"] }]
|
|
624
|
+
args: [{ selector: 'pw-search', standalone: false, 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 aria-label=\"Navigate to Target\"\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 aria-label=\"Navigate to Target\"\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: rgb(70, 136, 236);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255)}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"] }]
|
|
582
625
|
}], ctorParameters: () => [{ type: i1$1.ActivatedRoute }, { type: i1.DashboardService }, { type: i0.ChangeDetectorRef }] });
|
|
583
626
|
|
|
584
627
|
// Note: CurrentNotificationsComponent and DismissedNotificationsComponent
|
|
@@ -602,7 +645,8 @@ class DashboardContentModule {
|
|
|
602
645
|
PipesModule,
|
|
603
646
|
ProgressSpinnerModule,
|
|
604
647
|
NgbNavModule,
|
|
605
|
-
RadioButtonModule
|
|
648
|
+
RadioButtonModule,
|
|
649
|
+
ResourceSharedComponentsModule], exports: [DocumentationComponent,
|
|
606
650
|
FaqComponent,
|
|
607
651
|
FaqDetailsComponent,
|
|
608
652
|
HomeComponent,
|
|
@@ -619,7 +663,8 @@ class DashboardContentModule {
|
|
|
619
663
|
PipesModule,
|
|
620
664
|
ProgressSpinnerModule,
|
|
621
665
|
NgbNavModule,
|
|
622
|
-
RadioButtonModule,
|
|
666
|
+
RadioButtonModule,
|
|
667
|
+
ResourceSharedComponentsModule, RadioButtonModule] }); }
|
|
623
668
|
}
|
|
624
669
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: DashboardContentModule, decorators: [{
|
|
625
670
|
type: NgModule,
|
|
@@ -632,7 +677,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
632
677
|
PipesModule,
|
|
633
678
|
ProgressSpinnerModule,
|
|
634
679
|
NgbNavModule,
|
|
635
|
-
RadioButtonModule
|
|
680
|
+
RadioButtonModule,
|
|
681
|
+
ResourceSharedComponentsModule
|
|
636
682
|
],
|
|
637
683
|
declarations: [
|
|
638
684
|
DocumentationComponent,
|
|
@@ -837,6 +883,7 @@ const ADMIN_PERMISSIONS = {
|
|
|
837
883
|
NEWSLETTER: 'Pages.Admin.Newsletter || Pages.Role.MarketingManager || Pages.Role.CustomerSuccessManager',
|
|
838
884
|
MAILER: 'Pages.Admin.Mailer',
|
|
839
885
|
BLOG: 'Pages.Admin.Blog || Pages.Role.MarketingManager || Pages.Role.CustomerSuccessManager',
|
|
886
|
+
FEATURE_FLAGS: 'Pages.Admin',
|
|
840
887
|
FAQ: 'Pages.Admin.FAQ || Pages.Role.MarketingManager || Pages.Role.CustomerSuccessManager',
|
|
841
888
|
INCIDENT: 'Pages.Admin.Incident',
|
|
842
889
|
CONTACT_US: 'Pages.Admin.ContactUs',
|
|
@@ -859,13 +906,16 @@ const ADMIN_PATHS = {
|
|
|
859
906
|
NEWSLETTER: '/admin/newsletter',
|
|
860
907
|
MAILER: '/admin/mailers',
|
|
861
908
|
BLOG: '/admin/resources',
|
|
909
|
+
FEATURE_FLAGS: '/admin/feature-flags/list',
|
|
862
910
|
FAQ: '/admin/faq/list',
|
|
863
911
|
INCIDENT: '/admin/incident/list',
|
|
864
912
|
CONTACT_US: '/admin/contact-us/list',
|
|
865
913
|
TIPS: '/admin/tips/list',
|
|
866
914
|
TAGS: '/admin/tags',
|
|
867
915
|
ROLES: '/admin/permissions',
|
|
868
|
-
|
|
916
|
+
// Section root (redirects to /list) so routerLinkActive also matches the
|
|
917
|
+
// /admin/tos/:id edit route — keeps the menu item highlighted when deep-linked.
|
|
918
|
+
TOS: '/admin/tos',
|
|
869
919
|
CREDENTIAL: '/admin/credentials',
|
|
870
920
|
TRACKING: '/admin/tracking',
|
|
871
921
|
GLOBAL_CONFIG: '/admin/global-config'
|
|
@@ -881,6 +931,7 @@ const ADMIN_MENU_DATA = [
|
|
|
881
931
|
{ key: 'NEWSLETTER', title: 'Newsletters', icon: 'far fa-newspaper' },
|
|
882
932
|
{ key: 'MAILER', title: 'Mailers', icon: 'far fa-envelope' },
|
|
883
933
|
{ key: 'BLOG', title: 'Resources', icon: 'far fa-blog' },
|
|
934
|
+
{ key: 'FEATURE_FLAGS', title: 'Feature Flags', icon: 'fa fa-fw fa-toggle-on' },
|
|
884
935
|
{ key: 'FAQ', title: 'FAQs', icon: 'fa fa-question' },
|
|
885
936
|
{ key: 'INCIDENT', title: 'Incidents', icon: 'fa fa-solid fa-triangle-exclamation' },
|
|
886
937
|
{ key: 'CONTACT_US', title: 'Contact Us', icon: 'fa fa-address-book' },
|
|
@@ -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 }\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 trackByNonProductFaqId(_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 in faqs..\"\n (input)=\"filter($event.target.value)\"\n #messageInput />\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 id: number;\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.id = Number(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.id)\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 = new Date().getTime();\n const expiryDate = new Date(JSON.parse(item)).getTime();\n this.showSection = currentDate > expiryDate;\n }\n }\n\n closeSection() {\n this.showSection = false;\n const addedTime = moment(new Date()).add(7, 'days').toDate();\n localStorage.setItem('showFeedBack', JSON.stringify(addedTime));\n }\n\n private getFeedbackQuestions() {\n if (this.subscriptionId) {\n this.commonService.feedbackQuestions(this.subscriptionId).subscribe(res => {\n this.questions = res;\n this.cdr.markForCheck();\n });\n }\n }\n\n onSubmit(questionId: number, formValue) {\n if (formValue?.feedback) {\n const data = {\n subscription_id: this.subscriptionId,\n feedback_question_id: questionId,\n value: Number(formValue?.feedback),\n comment: formValue?.description\n };\n this.commonService.userFeedbacks(data).subscribe(() => {\n this.getFeedbackQuestions();\n this.cdr.markForCheck();\n });\n }\n }\n\n trackByQuestion(_index: number, item: { id: number }) {\n return item.id;\n }\n}\n","@if (showSection) {\n @if (questions?.length) {\n <div class=\"mt-4\"\n >\n <div class=\"card pb-1\">\n <h3 class=\"text-end me-3 pt-2 cursor-pointer\"\n (keydown.enter)=\"closeSection()\"\n (click)=\"closeSection()\">×</h3>\n @for (question of questions; track trackByQuestion($index, question); let first = $first) {\n <div class=\"card-content p-0\"\n >\n <div class=\"card-header\">\n <form #feedbackForm=\"ngForm\">\n <div class=\"col-lg-8 p-0 mx-auto\">\n @if (first) {\n <h3 class=\"mb-1\"\n >Your input is valuable to us</h3>\n }\n @if (first) {\n <p class=\"mb-4\"\n >\n Please take a moment to answer these questions\n </p>\n }\n <h6 class=\"fw-bold pb-3 mx-auto\">{{ question?.question }}</h6>\n <div class=\"text-center row p-2 mx-md-2 feedback-value\">\n <span class=\"col-auto me-0\">Not at all</span>\n @for (val of counter(11); track val; let i = $index) {\n <div class=\"p-field-checkbox col-auto ms-0 me-0\">\n <p-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 </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.replace(/'/g, '\"');\n sanitizedString = sanitizedString.replace(/<img\\s+src=\"([^\"]+)\"/g, '<img src=\\\\\"$1\\\\\"');\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 <span class=\"total-records-count\">{{ 'Label.Total' | transloco }}: {{ totalRecords }}</span>\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 <span class=\"total-records-count\">{{ 'Label.Total' | transloco }}: {{ totalRecords }}</span>\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 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 = response;\n this.cdr.markForCheck();\n })\n .add(() => {\n this.isLoaded = true;\n this.cdr.markForCheck();\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 >\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 >\n @switch (group) {\n @case ('users') {\n @if (result[group].length) {\n <h6 class=\"text-uppercase mt-3 p-1\">{{ group }}</h6>\n <div class=\"dashboard\">\n @for (\n user of result[group]; track trackByUserId(idx1,\n user); let idx1 = $index) {\n <div class=\"faq-item\"\n >\n <div class=\"dashboard-header p-2\">\n <h5 class=\"accordion-title mt-2\">\n <a aria-label=\"Navigate to Target\"\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,\n skill); let isLast = $last) {\n <span class=\"badge bg-success m-1\"\n >\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 >\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 >\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 (\n user?.user_avatar\n ?.length > 0) {\n @for (\n profile_image of user.user_avatar\n ; track\n profile_image) {\n @if (\n profile_image.width ===\n 200\n ) {\n <div class=\"text-center my-2\"\n >\n <div class=\"avatar\">\n <img class=\"img-fluid\"\n [src]=\"\n profile_image.url\n \"\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 !==\n 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 !==\n 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 !==\n 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 (result[group].length) {\n <h6>\n {{ group | uppercase }}\n </h6>\n @for (\n faq of result[group]; track trackByFaqId(idx2,\n faq); let idx2 = $index) {\n <div class=\"faq-item\"\n >\n <div class=\"dashboard-header p-2\">\n <h5 class=\"accordion-title mt-2\">\n <a aria-label=\"Navigate to Target\"\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 (\n result.users?.length === 0 &&\n result.faqs?.length === 0 &&\n result.recipients?.length === 0\n ) {\n <pw-no-data [withImage]=\"true\" [message]=\"'Search.NoDataMessage' | transloco\" [description]=\"'Search.NoDataDescription' | transloco\"\n >\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';\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 ],\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 * 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 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 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 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 TOS: '/admin/tos/list',\n CREDENTIAL: '/admin/credentials',\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: '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: '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","i3.UserFeedbackComponent","i2.CurrentNotificationsComponent","i3.DismissedNotificationsComponent","i5","i6"],"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,CAA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,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;;AC5GnE;;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.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 }\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 trackByNonProductFaqId(_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 in faqs..\"\n (input)=\"filter($event.target.value)\"\n #messageInput />\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 id: number;\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.id = Number(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.id)\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 = new Date().getTime();\n const expiryDate = new Date(JSON.parse(item)).getTime();\n this.showSection = currentDate > expiryDate;\n }\n }\n\n closeSection() {\n this.showSection = false;\n const addedTime = moment(new Date()).add(7, 'days').toDate();\n localStorage.setItem('showFeedBack', JSON.stringify(addedTime));\n }\n\n private getFeedbackQuestions() {\n if (this.subscriptionId) {\n this.commonService.feedbackQuestions(this.subscriptionId).subscribe(res => {\n this.questions = res;\n this.cdr.markForCheck();\n });\n }\n }\n\n onSubmit(questionId: number, formValue) {\n if (formValue?.feedback) {\n const data = {\n subscription_id: this.subscriptionId,\n feedback_question_id: questionId,\n value: Number(formValue?.feedback),\n comment: formValue?.description\n };\n this.commonService.userFeedbacks(data).subscribe(() => {\n this.getFeedbackQuestions();\n this.cdr.markForCheck();\n });\n }\n }\n\n trackByQuestion(_index: number, item: { id: number }) {\n return item.id;\n }\n}\n","@if (showSection) {\n @if (questions?.length) {\n <div class=\"mt-4\"\n >\n <div class=\"card pb-1\">\n <h3 class=\"text-end me-3 pt-2 cursor-pointer\"\n (keydown.enter)=\"closeSection()\"\n (click)=\"closeSection()\">×</h3>\n @for (question of questions; track trackByQuestion($index, question); let first = $first) {\n <div class=\"card-content p-0\"\n >\n <div class=\"card-header\">\n <form #feedbackForm=\"ngForm\">\n <div class=\"col-lg-8 p-0 mx-auto\">\n @if (first) {\n <h3 class=\"mb-1\"\n >Your input is valuable to us</h3>\n }\n @if (first) {\n <p class=\"mb-4\"\n >\n Please take a moment to answer these questions\n </p>\n }\n <h6 class=\"fw-bold pb-3 mx-auto\">{{ question?.question }}</h6>\n <div class=\"text-center row p-2 mx-md-2 feedback-value\">\n <span class=\"col-auto me-0\">Not at all</span>\n @for (val of counter(11); track val; let i = $index) {\n <div class=\"p-field-checkbox col-auto ms-0 me-0\">\n <p-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 </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.replace(/'/g, '\"');\n sanitizedString = sanitizedString.replace(/<img\\s+src=\"([^\"]+)\"/g, '<img src=\\\\\"$1\\\\\"');\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 aria-label=\"Navigate to Target\"\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 aria-label=\"Navigate to Target\"\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 * 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',\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 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 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: '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,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;8GAzBS,sBAAsB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAAA,EAAA,CAAA,YAAA,EAAA,C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AAe,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;;ACjHnE;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -16,6 +16,7 @@ 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
20
|
|
|
20
21
|
declare class DocumentationComponent implements OnInit {
|
|
21
22
|
private readonly sanitizer;
|
|
@@ -172,6 +173,7 @@ declare class SearchComponent implements OnInit {
|
|
|
172
173
|
private readonly route;
|
|
173
174
|
private readonly service;
|
|
174
175
|
private readonly cdr;
|
|
176
|
+
private readonly emptySearchResult;
|
|
175
177
|
keyword: string;
|
|
176
178
|
result: GlobalSearchResponse;
|
|
177
179
|
isLoaded: boolean;
|
|
@@ -183,6 +185,11 @@ declare class SearchComponent implements OnInit {
|
|
|
183
185
|
constructor(route: ActivatedRoute, service: DashboardService, cdr: ChangeDetectorRef);
|
|
184
186
|
ngOnInit(): void;
|
|
185
187
|
search(): void;
|
|
188
|
+
get hasResults(): boolean;
|
|
189
|
+
private get searchGroups();
|
|
190
|
+
getResultGroup(group: keyof GlobalSearchResponse | string): unknown[];
|
|
191
|
+
private isSearchGroupKey;
|
|
192
|
+
private isRenderableResult;
|
|
186
193
|
handleImageError(event: Event, fallbackPath: any): void;
|
|
187
194
|
trackByUserId(_index: number, item: {
|
|
188
195
|
id: number;
|
|
@@ -222,7 +229,7 @@ declare class UserFeedbackComponent extends AppBaseComponent implements OnInit {
|
|
|
222
229
|
|
|
223
230
|
declare class DashboardContentModule {
|
|
224
231
|
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardContentModule, never>;
|
|
225
|
-
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 DocumentationComponent, typeof FaqComponent, typeof FaqDetailsComponent, typeof HomeComponent, typeof NotificationsPageComponent, typeof CurrentNotificationsComponent, typeof NotificationsPageComponent, typeof DismissedNotificationsComponent, typeof SearchComponent, typeof i17.RadioButtonModule]>;
|
|
232
|
+
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]>;
|
|
226
233
|
static ɵinj: i0.ɵɵInjectorDeclaration<DashboardContentModule>;
|
|
227
234
|
}
|
|
228
235
|
|