@posiwise/dashboard-module 0.0.75 → 0.0.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/customizer/customizer.component.mjs +3 -3
- package/esm2022/lib/dashboard.module.mjs +4 -4
- package/esm2022/lib/faq/faq.component.mjs +3 -3
- package/esm2022/lib/faq-details/faq-details.component.mjs +3 -3
- package/esm2022/lib/footer/footer.component.mjs +8 -8
- package/esm2022/lib/home/home.component.mjs +3 -3
- package/esm2022/lib/navbar/navbar.component.mjs +3 -3
- package/esm2022/lib/notifications-page/current-notifications/current-notifications.component.mjs +3 -3
- package/esm2022/lib/notifications-page/dismissed-notifications/dismissed-notifications.component.mjs +3 -3
- package/esm2022/lib/notifications-page/notifications-page.component.mjs +3 -3
- package/esm2022/lib/search/search.component.mjs +3 -3
- package/esm2022/lib/user-feedback/user-feedback.component.mjs +3 -3
- package/esm2022/lib/user-notifications/user-notifications.component.mjs +3 -3
- package/fesm2022/posiwise-dashboard-module.mjs +43 -43
- package/fesm2022/posiwise-dashboard-module.mjs.map +1 -1
- package/lib/footer/footer.component.d.ts +2 -1
- package/package.json +3 -3
|
@@ -37,10 +37,10 @@ export class SearchComponent {
|
|
|
37
37
|
trackBySkill(_index, item) {
|
|
38
38
|
return item.id;
|
|
39
39
|
}
|
|
40
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
41
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: SearchComponent, 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 <div class=\"row faqlist search-result\">\n <div class=\"col-12\">\n <div data-cy=\"faq-list\">\n <ng-container *ngIf=\"result\">\n <div *ngFor=\"let group of objectKeys(result); let idx = index\"\n [ngSwitch]=\"group\">\n <ng-container *ngSwitchCase=\"'users'\">\n <ng-container *ngIf=\"result[group].length\">\n <h6 class=\"gradient-custom-branding\">\n {{ group | uppercase }}\n </h6>\n <div class=\"row px-2\">\n <div class=\"col-12 ms-2 faq-item\"\n *ngFor=\"\n let user of result[group];\n let idx1 = index;\n trackBy: trackByUserId\n \">\n <div class=\"accordion\">\n <div class=\"accord-title p-2\">\n <h5 class=\"accordion-title mt-2\">\n <a href=\"javascript:void(0)\"\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 <strong *ngIf=\"user.user_skills?.length > 0\">Skills :\n </strong>\n <span class=\"badge bg-success m-1\"\n *ngFor=\"\n let skill of user.user_skills;\n let isLast = last;\n trackBy: trackBySkill\n \">\n {{ skill.name\n }}{{ isLast ? '' : ', ' }}</span>\n </p>\n <p class=\"m-0 title-font\"\n *ngIf=\"\n user?.user_profile?.headline\n ?.length > 0\n \">\n {{ user?.user_profile?.headline }}\n </p>\n <p class=\"m-0 title-font\"\n *ngIf=\"\n user?.user_profile?.country\n ?.length > 0\n \">\n <strong>Location : </strong>{{ user?.user_profile?.country }}\n </p>\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 <ng-container *ngIf=\"\n user?.user_avatar\n ?.length > 0;\n else noProfileImg\n \">\n <ng-container *ngFor=\"\n let profile_image of user.user_avatar\n \">\n <div class=\"text-center my-2\"\n *ngIf=\"\n profile_image.width ===\n 200\n \">\n <div class=\"avatar\">\n <img class=\"img-fluid\"\n [src]=\"\n profile_image.url\n \"\n alt=\"\"\n onerror=\"this.onerror=null;this.src='assets/img/icons/male.png';\" />\n </div>\n </div>\n </ng-container>\n </ng-container>\n <ng-template #noProfileImg>\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 </ng-template>\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 </div>\n </div>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'faqs'\">\n <ng-container *ngIf=\"result[group].length\">\n <h6 class=\"gradient-custom-branding\">\n {{ group | uppercase }}\n </h6>\n <div class=\"row px-2\">\n <div class=\"col-12 ms-2 faq-item\"\n *ngFor=\"\n let faq of result[group];\n let idx2 = index;\n trackBy: trackByFaqId\n \">\n <div class=\"p-2\">\n <div class=\"accord-title1s\">\n <h5 class=\"accordion-title mt-2\">\n <a href=\"javascript:void(0)\"\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 <ng-container *ngIf=\"faq?.answer\">\n <div class=\"ql-container ql-snow\"\n style=\"border-width: 0;\">\n <div class=\"ql-editor\"\n [innerHTML]=\"faq?.answer |safe:'html'\">\n </div>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n <pw-no-data message=\"No result found.\"\n *ngIf=\"\n result.users?.length === 0 &&\n result.faqs?.length === 0 &&\n result.recipients?.length === 0\n \">\n </pw-no-data>\n </ng-container>\n </div>\n </div>\n </div>\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_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255)}h6{background-color:var(--sidebar_bg)!important;color:var(--sidebar_text)!important;padding:.8rem}a{color:#333;display:block;margin:6px 0;position:relative;transition:all .5s}a:hover{color:var(--titles);text-decoration:underline}.faq-search-answer a{color:#144086;display:inline-block;float:right;font-size:14px;margin-right:15px}.faq-search-answer a:after{right:-10px}.faq-item{border:1px dashed rgba(0,0,0,.1);border-radius:3px;margin:10px;transition:all .2s ease-in-out}.faq-item.faq-item{flex:auto;padding:0}.faq-item a{text-decoration:none}.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)}.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}.ql-container{resize:none!important}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i4.NoDataComponent, selector: "pw-no-data", inputs: ["message"] }, { kind: "directive", type: i5.LazyImgDirective, selector: "img" }, { kind: "pipe", type: i3.UpperCasePipe, name: "uppercase" }, { kind: "pipe", type: i6.DOMSanitizerPipe, name: "safe" }] }); }
|
|
40
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: SearchComponent, deps: [{ token: i1.ActivatedRoute }, { token: i2.DashboardService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
41
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: SearchComponent, 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 <div class=\"row faqlist search-result\">\n <div class=\"col-12\">\n <div data-cy=\"faq-list\">\n <ng-container *ngIf=\"result\">\n <div *ngFor=\"let group of objectKeys(result); let idx = index\"\n [ngSwitch]=\"group\">\n <ng-container *ngSwitchCase=\"'users'\">\n <ng-container *ngIf=\"result[group].length\">\n <h6 class=\"gradient-custom-branding\">\n {{ group | uppercase }}\n </h6>\n <div class=\"row px-2\">\n <div class=\"col-12 ms-2 faq-item\"\n *ngFor=\"\n let user of result[group];\n let idx1 = index;\n trackBy: trackByUserId\n \">\n <div class=\"accordion\">\n <div class=\"accord-title p-2\">\n <h5 class=\"accordion-title mt-2\">\n <a href=\"javascript:void(0)\"\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 <strong *ngIf=\"user.user_skills?.length > 0\">Skills :\n </strong>\n <span class=\"badge bg-success m-1\"\n *ngFor=\"\n let skill of user.user_skills;\n let isLast = last;\n trackBy: trackBySkill\n \">\n {{ skill.name\n }}{{ isLast ? '' : ', ' }}</span>\n </p>\n <p class=\"m-0 title-font\"\n *ngIf=\"\n user?.user_profile?.headline\n ?.length > 0\n \">\n {{ user?.user_profile?.headline }}\n </p>\n <p class=\"m-0 title-font\"\n *ngIf=\"\n user?.user_profile?.country\n ?.length > 0\n \">\n <strong>Location : </strong>{{ user?.user_profile?.country }}\n </p>\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 <ng-container *ngIf=\"\n user?.user_avatar\n ?.length > 0;\n else noProfileImg\n \">\n <ng-container *ngFor=\"\n let profile_image of user.user_avatar\n \">\n <div class=\"text-center my-2\"\n *ngIf=\"\n profile_image.width ===\n 200\n \">\n <div class=\"avatar\">\n <img class=\"img-fluid\"\n [src]=\"\n profile_image.url\n \"\n alt=\"\"\n onerror=\"this.onerror=null;this.src='assets/img/icons/male.png';\" />\n </div>\n </div>\n </ng-container>\n </ng-container>\n <ng-template #noProfileImg>\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 </ng-template>\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 </div>\n </div>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'faqs'\">\n <ng-container *ngIf=\"result[group].length\">\n <h6 class=\"gradient-custom-branding\">\n {{ group | uppercase }}\n </h6>\n <div class=\"row px-2\">\n <div class=\"col-12 ms-2 faq-item\"\n *ngFor=\"\n let faq of result[group];\n let idx2 = index;\n trackBy: trackByFaqId\n \">\n <div class=\"p-2\">\n <div class=\"accord-title1s\">\n <h5 class=\"accordion-title mt-2\">\n <a href=\"javascript:void(0)\"\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 <ng-container *ngIf=\"faq?.answer\">\n <div class=\"ql-container ql-snow\"\n style=\"border-width: 0;\">\n <div class=\"ql-editor\"\n [innerHTML]=\"faq?.answer |safe:'html'\">\n </div>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n <pw-no-data message=\"No result found.\"\n *ngIf=\"\n result.users?.length === 0 &&\n result.faqs?.length === 0 &&\n result.recipients?.length === 0\n \">\n </pw-no-data>\n </ng-container>\n </div>\n </div>\n </div>\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_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255)}h6{background-color:var(--sidebar_bg)!important;color:var(--sidebar_text)!important;padding:.8rem}a{color:#333;display:block;margin:6px 0;position:relative;transition:all .5s}a:hover{color:var(--titles);text-decoration:underline}.faq-search-answer a{color:#144086;display:inline-block;float:right;font-size:14px;margin-right:15px}.faq-search-answer a:after{right:-10px}.faq-item{border:1px dashed rgba(0,0,0,.1);border-radius:3px;margin:10px;transition:all .2s ease-in-out}.faq-item.faq-item{flex:auto;padding:0}.faq-item a{text-decoration:none}.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)}.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}.ql-container{resize:none!important}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i4.NoDataComponent, selector: "pw-no-data", inputs: ["message"] }, { kind: "directive", type: i5.LazyImgDirective, selector: "img" }, { kind: "pipe", type: i3.UpperCasePipe, name: "uppercase" }, { kind: "pipe", type: i6.DOMSanitizerPipe, name: "safe" }] }); }
|
|
42
42
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: SearchComponent, decorators: [{
|
|
44
44
|
type: Component,
|
|
45
45
|
args: [{ selector: 'pw-search', 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 <div class=\"row faqlist search-result\">\n <div class=\"col-12\">\n <div data-cy=\"faq-list\">\n <ng-container *ngIf=\"result\">\n <div *ngFor=\"let group of objectKeys(result); let idx = index\"\n [ngSwitch]=\"group\">\n <ng-container *ngSwitchCase=\"'users'\">\n <ng-container *ngIf=\"result[group].length\">\n <h6 class=\"gradient-custom-branding\">\n {{ group | uppercase }}\n </h6>\n <div class=\"row px-2\">\n <div class=\"col-12 ms-2 faq-item\"\n *ngFor=\"\n let user of result[group];\n let idx1 = index;\n trackBy: trackByUserId\n \">\n <div class=\"accordion\">\n <div class=\"accord-title p-2\">\n <h5 class=\"accordion-title mt-2\">\n <a href=\"javascript:void(0)\"\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 <strong *ngIf=\"user.user_skills?.length > 0\">Skills :\n </strong>\n <span class=\"badge bg-success m-1\"\n *ngFor=\"\n let skill of user.user_skills;\n let isLast = last;\n trackBy: trackBySkill\n \">\n {{ skill.name\n }}{{ isLast ? '' : ', ' }}</span>\n </p>\n <p class=\"m-0 title-font\"\n *ngIf=\"\n user?.user_profile?.headline\n ?.length > 0\n \">\n {{ user?.user_profile?.headline }}\n </p>\n <p class=\"m-0 title-font\"\n *ngIf=\"\n user?.user_profile?.country\n ?.length > 0\n \">\n <strong>Location : </strong>{{ user?.user_profile?.country }}\n </p>\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 <ng-container *ngIf=\"\n user?.user_avatar\n ?.length > 0;\n else noProfileImg\n \">\n <ng-container *ngFor=\"\n let profile_image of user.user_avatar\n \">\n <div class=\"text-center my-2\"\n *ngIf=\"\n profile_image.width ===\n 200\n \">\n <div class=\"avatar\">\n <img class=\"img-fluid\"\n [src]=\"\n profile_image.url\n \"\n alt=\"\"\n onerror=\"this.onerror=null;this.src='assets/img/icons/male.png';\" />\n </div>\n </div>\n </ng-container>\n </ng-container>\n <ng-template #noProfileImg>\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 </ng-template>\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 </div>\n </div>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'faqs'\">\n <ng-container *ngIf=\"result[group].length\">\n <h6 class=\"gradient-custom-branding\">\n {{ group | uppercase }}\n </h6>\n <div class=\"row px-2\">\n <div class=\"col-12 ms-2 faq-item\"\n *ngFor=\"\n let faq of result[group];\n let idx2 = index;\n trackBy: trackByFaqId\n \">\n <div class=\"p-2\">\n <div class=\"accord-title1s\">\n <h5 class=\"accordion-title mt-2\">\n <a href=\"javascript:void(0)\"\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 <ng-container *ngIf=\"faq?.answer\">\n <div class=\"ql-container ql-snow\"\n style=\"border-width: 0;\">\n <div class=\"ql-editor\"\n [innerHTML]=\"faq?.answer |safe:'html'\">\n </div>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n <pw-no-data message=\"No result found.\"\n *ngIf=\"\n result.users?.length === 0 &&\n result.faqs?.length === 0 &&\n result.recipients?.length === 0\n \">\n </pw-no-data>\n </ng-container>\n </div>\n </div>\n </div>\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_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255)}h6{background-color:var(--sidebar_bg)!important;color:var(--sidebar_text)!important;padding:.8rem}a{color:#333;display:block;margin:6px 0;position:relative;transition:all .5s}a:hover{color:var(--titles);text-decoration:underline}.faq-search-answer a{color:#144086;display:inline-block;float:right;font-size:14px;margin-right:15px}.faq-search-answer a:after{right:-10px}.faq-item{border:1px dashed rgba(0,0,0,.1);border-radius:3px;margin:10px;transition:all .2s ease-in-out}.faq-item.faq-item{flex:auto;padding:0}.faq-item a{text-decoration:none}.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)}.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}.ql-container{resize:none!important}\n"] }]
|
|
46
46
|
}], ctorParameters: () => [{ type: i1.ActivatedRoute }, { type: i2.DashboardService }] });
|
|
@@ -63,10 +63,10 @@ export class UserFeedbackComponent extends AppBaseComponent {
|
|
|
63
63
|
trackByQuestion(_index, item) {
|
|
64
64
|
return item.id;
|
|
65
65
|
}
|
|
66
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
67
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
|
66
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: UserFeedbackComponent, deps: [{ token: i0.Injector }, { token: i1.CommonService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
67
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: UserFeedbackComponent, selector: "pw-user-feedback", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"showSection\">\n <div class=\"mt-4\"\n *ngIf=\"questions?.length\">\n <div class=\"card pb-1\">\n <h3 class=\"text-end me-3 pt-2 cursor-pointer\"\n (click)=\"closeSection()\">×</h3>\n <div class=\"card-content p-0\"\n *ngFor=\"let question of questions; let first = first; trackBy: trackByQuestion\">\n <div class=\"card-header\">\n <form #feedbackForm=\"ngForm\">\n <div class=\"col-lg-8 p-0 mx-auto\">\n <h3 class=\"mb-1\"\n *ngIf=\"first\">Your input is valuable to us</h3>\n <p class=\"mb-4\"\n *ngIf=\"first\">\n Please take a moment to answer these questions\n </p>\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 <div *ngFor=\"let val of counter(11); let i = index\" 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 <span class=\"col-auto ms-0\">Extremely</span>\n </div>\n\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 <textarea rows=\"4\"\n name=\"description\"\n placeholder=\"\u201CWhat is the primary reason for your score?\u201D\"\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 </div>\n </div>\n\n</ng-container>\n", styles: [".feedback-value{justify-content:center}.feedback-value label{color:#000000de;cursor:pointer;font-size:1rem;font-weight:400;letter-spacing:normal;margin-left:10px;margin-right:10px;text-transform:none}.feedback-value .p-field-checkbox{margin:0 10px}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i4.RadioButton, selector: "p-radioButton", inputs: ["value", "formControlName", "name", "disabled", "label", "tabindex", "inputId", "ariaLabelledBy", "ariaLabel", "style", "styleClass", "labelStyleClass"], outputs: ["onClick", "onFocus", "onBlur"] }] }); }
|
|
68
68
|
}
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: UserFeedbackComponent, decorators: [{
|
|
70
70
|
type: Component,
|
|
71
71
|
args: [{ selector: 'pw-user-feedback', template: "<ng-container *ngIf=\"showSection\">\n <div class=\"mt-4\"\n *ngIf=\"questions?.length\">\n <div class=\"card pb-1\">\n <h3 class=\"text-end me-3 pt-2 cursor-pointer\"\n (click)=\"closeSection()\">×</h3>\n <div class=\"card-content p-0\"\n *ngFor=\"let question of questions; let first = first; trackBy: trackByQuestion\">\n <div class=\"card-header\">\n <form #feedbackForm=\"ngForm\">\n <div class=\"col-lg-8 p-0 mx-auto\">\n <h3 class=\"mb-1\"\n *ngIf=\"first\">Your input is valuable to us</h3>\n <p class=\"mb-4\"\n *ngIf=\"first\">\n Please take a moment to answer these questions\n </p>\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 <div *ngFor=\"let val of counter(11); let i = index\" 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 <span class=\"col-auto ms-0\">Extremely</span>\n </div>\n\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 <textarea rows=\"4\"\n name=\"description\"\n placeholder=\"\u201CWhat is the primary reason for your score?\u201D\"\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 </div>\n </div>\n\n</ng-container>\n", styles: [".feedback-value{justify-content:center}.feedback-value label{color:#000000de;cursor:pointer;font-size:1rem;font-weight:400;letter-spacing:normal;margin-left:10px;margin-right:10px;text-transform:none}.feedback-value .p-field-checkbox{margin:0 10px}\n"] }]
|
|
72
72
|
}], ctorParameters: () => [{ type: i0.Injector }, { type: i1.CommonService }] });
|
|
@@ -55,10 +55,10 @@ export class UserNotificationsComponent extends AppBaseComponent {
|
|
|
55
55
|
ngOnDestroy() {
|
|
56
56
|
this.notifier.next('');
|
|
57
57
|
}
|
|
58
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
59
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
|
58
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: UserNotificationsComponent, deps: [{ token: i0.Injector }, { token: i1.CommonService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
59
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: UserNotificationsComponent, selector: "pw-user-notifications", usesInheritance: true, ngImport: i0, template: "<div class=\"row mt-4 mb-0 notification-wrapper\"\n id=\"user-message\">\n <ng-container *ngFor=\"let noti of notifications\">\n <div class=\"col-12 col-sm-12 col-md-12 mb-2\"\n *ngIf=\"isHomePage || noti?.can_disregard\">\n <div class=\"card pb-0\">\n <div class=\"alert border-0 card-body d-flex align-items-center justify-content-between px-3 mb-0\"\n [ngClass]=\"noti.type ? 'alert-' + noti.type : 'alert-panel'\">\n <p class=\"mb-0\"\n [innerHtml]=\"noti.message | safe: 'html'\"\n appAnchorRouter></p>\n <a class=\"icon-dismiss float-end text-white\"\n *ngIf=\"noti?.can_disregard\"\n (click)=\"hideNoty(noti?.notification_id)\">\n <i class=\"ft-x\" aria-hidden=\"true\"></i>\n </a>\n </div>\n </div>\n </div>\n </ng-container>\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_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255)}.alert-panel{background-color:#fff!important;border-color:#ddd!important;border-radius:8px;box-shadow:3px 3px 40px #d2d2d2;color:#021a11!important}.alert-info{background-color:var(--tabs_bg)!important}p{color:#fff}.notification-wrapper:empty{display:none}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.AnchorRouterDirective, selector: "[appAnchorRouter]" }, { kind: "pipe", type: i4.DOMSanitizerPipe, name: "safe" }] }); }
|
|
60
60
|
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: UserNotificationsComponent, decorators: [{
|
|
62
62
|
type: Component,
|
|
63
63
|
args: [{ selector: 'pw-user-notifications', template: "<div class=\"row mt-4 mb-0 notification-wrapper\"\n id=\"user-message\">\n <ng-container *ngFor=\"let noti of notifications\">\n <div class=\"col-12 col-sm-12 col-md-12 mb-2\"\n *ngIf=\"isHomePage || noti?.can_disregard\">\n <div class=\"card pb-0\">\n <div class=\"alert border-0 card-body d-flex align-items-center justify-content-between px-3 mb-0\"\n [ngClass]=\"noti.type ? 'alert-' + noti.type : 'alert-panel'\">\n <p class=\"mb-0\"\n [innerHtml]=\"noti.message | safe: 'html'\"\n appAnchorRouter></p>\n <a class=\"icon-dismiss float-end text-white\"\n *ngIf=\"noti?.can_disregard\"\n (click)=\"hideNoty(noti?.notification_id)\">\n <i class=\"ft-x\" aria-hidden=\"true\"></i>\n </a>\n </div>\n </div>\n </div>\n </ng-container>\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_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255)}.alert-panel{background-color:#fff!important;border-color:#ddd!important;border-radius:8px;box-shadow:3px 3px 40px #d2d2d2;color:#021a11!important}.alert-info{background-color:var(--tabs_bg)!important}p{color:#fff}.notification-wrapper:empty{display:none}\n"] }]
|
|
64
64
|
}], ctorParameters: () => [{ type: i0.Injector }, { type: i1.CommonService }] });
|