@posiwise/admin-module 0.0.106 → 0.0.108
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/admin-module.routing.mjs +385 -325
- package/esm2022/lib/admin.module.mjs +4 -4
- package/esm2022/lib/components/TOS/terms-of-service-details/terms-of-service-details.component.mjs +2 -2
- package/esm2022/lib/components/credentials/credentials-tab/credentials-tab.component.mjs +2 -2
- package/esm2022/lib/components/faqs/add-faq/add-faq.component.mjs +3 -3
- package/esm2022/lib/components/faqs/edit-faq/edit-faq.component.mjs +3 -3
- package/esm2022/lib/components/faqs/faqs-list/faqs-list.component.mjs +4 -4
- package/esm2022/lib/components/incidents/add-edit-incident/add-edit-incident.component.mjs +4 -4
- package/esm2022/lib/components/login-notifications/login-notifications-list/login-notifications-list.component.mjs +3 -3
- package/esm2022/lib/components/newsletters/newsletter-item-details/newsletter-item-details.component.mjs +2 -2
- package/esm2022/lib/components/products/product-details/product-details.component.mjs +2 -2
- package/esm2022/lib/components/products/products-tabs/products-tabs.component.mjs +5 -5
- package/esm2022/lib/shared/routers/routers.mjs +30 -31
- package/fesm2022/posiwise-admin-module.mjs +435 -376
- package/fesm2022/posiwise-admin-module.mjs.map +1 -1
- package/lib/admin.module.d.ts +1 -1
- package/lib/components/TOS/terms-of-service/terms-of-service.component.d.ts +2 -3
- package/lib/components/TOS/terms-of-service-details/terms-of-service-details.component.d.ts +1 -12
- package/lib/components/config/global-config-list/global-config-list.component.d.ts +2 -3
- package/lib/components/credentials/credentials/credentials.component.d.ts +2 -3
- package/lib/components/credentials/subscription-credentials/subscription-credentials.component.d.ts +2 -3
- package/lib/components/domain-config/domain-config-details/domain-config-build/domain-config-build.component.d.ts +2 -3
- package/lib/components/domain-config/domain-config-details/domain-config-core/domain-config-core.component.d.ts +2 -3
- package/lib/components/domain-config/domain-config-details/domain-config-details.component.d.ts +2 -3
- package/lib/components/domain-config/domain-config-details/domain-config-integrations/domain-config-integrations.component.d.ts +2 -3
- package/lib/components/domain-config/domain-config-details/domain-config-interface/domain-config-interface.component.d.ts +2 -3
- package/lib/components/domain-config/domain-config-details/domain-config-organization/domain-config-organization.component.d.ts +2 -3
- package/lib/components/domain-config/domain-config-details/domain-config-security/domain-config-security.component.d.ts +2 -3
- package/lib/components/domain-config/domain-config-details/domain-config-social/domain-config-social.component.d.ts +2 -3
- package/lib/components/domain-config/domain-config-list/domain-config-list.component.d.ts +2 -3
- package/lib/components/faqs/add-faq/add-faq.component.d.ts +2 -3
- package/lib/components/faqs/edit-faq/edit-faq.component.d.ts +2 -3
- package/lib/components/faqs/faqs-list/faqs-list.component.d.ts +2 -3
- package/lib/components/feedback-questions/feedback-questions-details/feedback-questions-details.component.d.ts +2 -3
- package/lib/components/feedback-questions/feedback-questions-list/feedback-questions-list.component.d.ts +2 -3
- package/lib/components/incidents/add-edit-incident/add-edit-incident.component.d.ts +2 -3
- package/lib/components/incidents/incidents-list/incidents-list.component.d.ts +2 -3
- package/lib/components/login-notifications/login-notification-details/login-notification-details.component.d.ts +2 -3
- package/lib/components/login-notifications/login-notifications-list/login-notifications-list.component.d.ts +2 -3
- package/lib/components/newsletters/newsletter-details/newsletter-details.component.d.ts +2 -3
- package/lib/components/newsletters/newsletter-item-details/newsletter-item-details.component.d.ts +3 -15
- package/lib/components/newsletters/newsletters-items/newsletters-items.component.d.ts +2 -3
- package/lib/components/newsletters/newsletters-list/newsletters-list.component.d.ts +2 -3
- package/lib/components/permissions/permissions-details/permissions-details.component.d.ts +2 -3
- package/lib/components/permissions/permissions-list/permissions-list.component.d.ts +2 -3
- package/lib/components/permissions/roles-list/roles-list.component.d.ts +2 -3
- package/lib/components/products/product-details/product-details.component.d.ts +1 -12
- package/lib/components/products/products-list/products-list.component.d.ts +2 -3
- package/lib/components/products/products-tabs/products-tabs.component.d.ts +3 -3
- package/lib/components/subscriptions/subscription-product-details/subscription-product-details.component.d.ts +2 -3
- package/lib/components/subscriptions/subscription-products/subscription-products.component.d.ts +2 -3
- package/lib/components/subscriptions/subscription-users/subscription-users.component.d.ts +2 -3
- package/lib/components/subscriptions/subscriptions-list/invite-users/invite-users.component.d.ts +2 -3
- package/lib/components/subscriptions/subscriptions-list/subscriptions-list.component.d.ts +2 -3
- package/lib/components/tips/tips-list/tips-list.component.d.ts +2 -3
- package/lib/components/users/users-list/users-list.component.d.ts +2 -3
- package/lib/shared/routers/routers.d.ts +2 -3
- package/package.json +1 -1
|
@@ -70,9 +70,9 @@ class TermsOfServiceDetailsComponent extends AppBaseComponent {
|
|
|
70
70
|
constructor(adminService, injector) {
|
|
71
71
|
super(injector);
|
|
72
72
|
this.adminService = adminService;
|
|
73
|
-
this.editorConfig = QuillHelper.getEditorConfig();
|
|
74
73
|
this.submitted = false;
|
|
75
74
|
this.form = AppAdmin.getTosForm();
|
|
75
|
+
this.editorConfig = QuillHelper.getEditorConfig();
|
|
76
76
|
}
|
|
77
77
|
ngOnInit() {
|
|
78
78
|
this.route.params.subscribe(params => {
|
|
@@ -147,37 +147,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
|
|
|
147
147
|
}]
|
|
148
148
|
}], ctorParameters: () => [] });
|
|
149
149
|
|
|
150
|
-
const baseUrl = '/admin
|
|
150
|
+
const baseUrl = '/admin';
|
|
151
151
|
const ROUTERS = {
|
|
152
|
-
globalConfigDetails: `${baseUrl}global-config
|
|
153
|
-
adminCredentialsDetails: `${baseUrl}credentials
|
|
154
|
-
subscriptionCredentialDetails: `${baseUrl}subscription
|
|
155
|
-
newsletter: `${baseUrl}newsletter`,
|
|
156
|
-
newsletterItemDetails: `${baseUrl}newsletter
|
|
157
|
-
newslettersUserList: `${baseUrl}newsletter/
|
|
158
|
-
newsletterDetails: `${baseUrl}newsletter
|
|
159
|
-
permissionsList: `${baseUrl}permissions/list`,
|
|
160
|
-
permissionsDetails: `${baseUrl}permissions
|
|
161
|
-
rolesDetails: `${baseUrl}role
|
|
162
|
-
productDetails: `${baseUrl}products
|
|
163
|
-
productsUserList: `${baseUrl}products/list/users/`,
|
|
164
|
-
feedbackQuestions: `${baseUrl}products/list/feedback-questions-list`,
|
|
165
|
-
feedbackQuestionsDetails: `${baseUrl}products/list/feedback-questions-details/`,
|
|
166
|
-
subscriptionDetails: `${baseUrl}subscription/`,
|
|
167
|
-
subscriptionProductDetails: `${baseUrl}/subscription
|
|
168
|
-
tipsDetails: `${baseUrl}tips/`,
|
|
169
|
-
tosAndPrivacyDetails: `${baseUrl}tos
|
|
170
|
-
usersDetails: `${baseUrl}
|
|
171
|
-
domainConfig: `${baseUrl}domain-config/`,
|
|
172
|
-
domainConfigDetails: `${baseUrl}domain-config
|
|
173
|
-
loginNotifications: `${baseUrl}login-notifications/`,
|
|
174
|
-
|
|
175
|
-
incidentDetails: `${baseUrl}incident
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
subscriptionList: `${baseUrl}subscriptions/list/`
|
|
152
|
+
globalConfigDetails: `${baseUrl}/global-config/`,
|
|
153
|
+
adminCredentialsDetails: `${baseUrl}/credentials/`,
|
|
154
|
+
subscriptionCredentialDetails: `${baseUrl}/credentials/subscription/`,
|
|
155
|
+
newsletter: `${baseUrl}/newsletter`,
|
|
156
|
+
newsletterItemDetails: `${baseUrl}/newsletter/item/`,
|
|
157
|
+
newslettersUserList: `${baseUrl}/newsletter/item/users-list/`,
|
|
158
|
+
newsletterDetails: `${baseUrl}/newsletter/`,
|
|
159
|
+
permissionsList: `${baseUrl}/permissions/list`,
|
|
160
|
+
permissionsDetails: `${baseUrl}/permissions/`,
|
|
161
|
+
rolesDetails: `${baseUrl}/permissions/role/`,
|
|
162
|
+
productDetails: `${baseUrl}/products/`,
|
|
163
|
+
productsUserList: `${baseUrl}/products/list/users/`,
|
|
164
|
+
feedbackQuestions: `${baseUrl}/products/list/feedback-questions-list`,
|
|
165
|
+
feedbackQuestionsDetails: `${baseUrl}/products/list/feedback-questions-details/`,
|
|
166
|
+
subscriptionDetails: `${baseUrl}/subscription/`,
|
|
167
|
+
subscriptionProductDetails: `${baseUrl}/products/subscription/`,
|
|
168
|
+
tipsDetails: `${baseUrl}/tips/`,
|
|
169
|
+
tosAndPrivacyDetails: `${baseUrl}/tos/`,
|
|
170
|
+
usersDetails: `${baseUrl}/users/`,
|
|
171
|
+
domainConfig: `${baseUrl}/domain-config/`,
|
|
172
|
+
domainConfigDetails: `${baseUrl}/domain-config/`,
|
|
173
|
+
loginNotifications: `${baseUrl}/login-notifications/`,
|
|
174
|
+
incidentConfig: `${baseUrl}/incident/list/`,
|
|
175
|
+
incidentDetails: `${baseUrl}/incident/`,
|
|
176
|
+
faqConfig: `${baseUrl}/faq/list/`,
|
|
177
|
+
faqDetails: `${baseUrl}/faq/`,
|
|
178
|
+
inviteUsers: `${baseUrl}/subscriptions/invite-user/`,
|
|
179
|
+
subscriptionList: `${baseUrl}/subscriptions/list/`
|
|
181
180
|
};
|
|
182
181
|
|
|
183
182
|
class TermsOfServiceComponent extends AppBaseComponent {
|
|
@@ -567,7 +566,7 @@ class CredentialsTabComponent {
|
|
|
567
566
|
id: 'subscription-credentials',
|
|
568
567
|
label: 'Subscription-Credentials',
|
|
569
568
|
icon: 'fa fa-fw fa-tag',
|
|
570
|
-
routerLink: ['/admin/credentials/subscription
|
|
569
|
+
routerLink: ['/admin/credentials/subscription']
|
|
571
570
|
}
|
|
572
571
|
];
|
|
573
572
|
}
|
|
@@ -1666,7 +1665,7 @@ class FaqListComponent extends AppBaseComponent {
|
|
|
1666
1665
|
}
|
|
1667
1666
|
}
|
|
1668
1667
|
navigateToEdit(faq) {
|
|
1669
|
-
this.router.navigate([this.routers.
|
|
1668
|
+
this.router.navigate([this.routers.faqDetails + faq?.id], {
|
|
1670
1669
|
state: { data: faq }
|
|
1671
1670
|
});
|
|
1672
1671
|
}
|
|
@@ -1796,11 +1795,11 @@ class FaqListComponent extends AppBaseComponent {
|
|
|
1796
1795
|
super.ngOnDestroy();
|
|
1797
1796
|
}
|
|
1798
1797
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FaqListComponent, deps: [{ token: i1$1.CommonService }, { token: i1.AdminService }, { token: i1$1.ProductService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1799
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: FaqListComponent, selector: "pw-admin-faq-list", viewQueries: [{ propertyName: "editForm", first: true, predicate: ["editForm"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"row\" [class.custom-disable-wrapper]=\"buttonBusy\">\n <div class=\"col-12 d-flex flex-wrap justify-content-between align-items-center\"\n *ngIf=\"showList\">\n <h2 class=\"card-title p-0 float-start\">Frequently Asked Questions</h2>\n <a href=\"javascript:void(0)\" [routerLink]=\"[routers.faqAddDetails]\"\n class=\"btn btn-sm btn-outline-primary float-end\" role=\"button\" aria-expanded=\"false\">\n <i class=\"fa fa-plus-circle\" aria-hidden=\"true\"></i> {{ 'Label.AddNew' | transloco }} FAQ </a>\n </div>\n</div>\n\n<div class=\"w-100 text-center mt-3\" *ngIf=\"!isLoaded\">\n <p-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\n</div>\n<div class=\"row faqlist primeng-datatable-container mt-0\" [class.custom-disable-wrapper]=\"buttonBusy\" [class.hideTable]=\"totalRecordsUnFiltered === 0 || !showList\">\n <div class=\"col-12 px-0\">\n <p-table #dt\n [value]=\"faqs\"\n [paginator]=\"totalRecords !== 0\"\n [lazy]=\"true\"\n [rows]=\"PAGE_SIZE\"\n [totalRecords]=\"totalRecords\"\n [filterDelay]=\"1000\"\n (onLazyLoad)=\"onLazyLoad($event)\"\n [customSort]=\"true\">\n <ng-template pTemplate=\"caption\">\n <div class=\"search-filter\">\n <div class=\"col-sm-4\">\n <p-multiSelect [showToggleAll]=\"true\" [options]=\"featureKeysList\" (onChange)=\"onProductChange($event)\"\n placeholder=\"Search by Feature keys\" [showHeader]=\"true\" maxSelectedLabels=\"2\" appendTo=\"body\">\n </p-multiSelect>\n </div>\n <div class=\"text-end\">\n <i class=\"fa fa-search mt-2 me-2\" aria-hidden=\"true\"></i>\n <input type=\"text\" [(ngModel)]=\"searchText\" pInputText size=\"50\" placeholder=\"Search FAQ...\"\n (input)=\"dt.filterGlobal($event.target.value, 'contains')\" class=\"mw-90\" />\n </div>\n </div>\n </ng-template>\n <ng-template pTemplate=\"header\">\n <tr>\n <th scope=\"true\">{{ 'Admin.Faq.Question' | transloco }}</th>\n <th scope=\"true\">{{ 'Admin.Faq.Answer' | transloco }}</th>\n <th scope=\"true\">{{ 'Admin.Faq.Position' | transloco }}</th>\n <th scope=\"true\">{{ 'Admin.Faq.Category' | transloco }}</th>\n <th scope=\"true\">{{ 'Admin.Faq.Visible' | transloco }}</th>\n <th scope=\"true\">{{ 'Admin.Faq.Public' | transloco }}</th>\n <th scope=\"true\" class=\"actions-list-two\">{{ 'Label.Actions' | transloco }}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-faq>\n <tr>\n <td data-head=\"Question\">{{ faq.question }} </td>\n <td data-head=\"Answer\">{{(faq.answer|removeHtml)|textTruncate: 200}} </td>\n <td data-head=\"Position\">{{faq.position}}</td>\n <td data-head=\"Category\">\n <span [appDynamicBadge]=\"{ itemsArray: categoryForBadges, item: faq?.category }\" color=\"cyan\"\n class=\"badge ms-1\">\n <span [pTooltip]=\"faq?.feature_keys?.join(',')\" tooltipPosition=\"top\">{{ faqHashMap[faq?.category]?.name\n }}</span>\n </span>\n <span class=\"ms-1 badge bg-warning\" *ngIf=\"faq.is_shared_faq || faq.is_admin_faq || faq.is_build_faq\">Super\n FAQ</span>\n </td>\n <td data-head=\"Visible\">\n <span [appDynamicBadge]=\"{ itemsArray: [true, false], item: faq?.visible }\" color=\"success-danger\"\n class=\"badge\">{{ faq?.visible }}</span>\n </td>\n <td data-head=\"Public\">\n <span [appDynamicBadge]=\"{ itemsArray: [true, false], item: faq?.public }\" color=\"success-danger\"\n class=\"badge\">{{ faq?.public }}</span>\n </td>\n <td data-head=\"Action\">\n <ul class=\"list-unstyled list-inline\">\n <li ngbTooltip=\"Edit\" class=\"me-2 me-sm-2\">\n <i class=\"fa fa-edit edit-icon\" (click)=\"navigateToEdit(faq)\" aria-hidden=\"true\"></i>\n </li>\n <li ngbTooltip=\"Delete\" class=\"me-2 me-sm-2\">\n <i class=\"fa fa-trash delete-icon\" (click)=\"onDelete(faq)\" aria-hidden=\"true\"></i>\n </li>\n <li ngbTooltip=\"View faq\" *ngIf=\"faq?.visible\">\n <a [routerLink]=\"['/',slug,'faq',faq.id]\" target=\"_blank\">\n <i class=\"fa fa-eye\" aria-hidden=\"true\"></i>\n </a>\n </li>\n </ul>\n </td>\n </tr>\n </ng-template>\n </p-table>\n <div *ngIf=\"totalRecords === 0 && totalRecordsUnFiltered !== 0\">\n <pw-no-data [withImage]=\"true\" [message]=\"'Search.NoDataMessage' | transloco\" [description]=\"'Search.NoDataDescription' | transloco\" >\n </pw-no-data>\n </div>\n <span *ngIf=\"totalRecords !== 0\" class=\"total-records-count\">{{ 'Label.Total' | transloco }}: {{ totalRecords }}</span>\n </div>\n</div>\n<pw-no-data [withImage]=\"true\" [message]=\"'Admin.Faq.NoDataMessage' | transloco\" *ngIf=\"totalRecordsUnFiltered === 0 && isLoaded\">\n</pw-no-data>\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)}.faq-item{background-color:#eee;border:1px dashed rgba(0,0,0,.1);border-radius:3px;margin-top:10px;transition:all .2s ease-in-out}.faq-item h5{padding:0 15px 0 0;position:relative}.faq-item h5 a:before{position:absolute;right:-24px;top:3px}input.warning{border-color:red}@media only screen and (max-width: 1024px){.faq-item h5 a{font-size:16px}.faq-item button.btn{font-size:14px}.panel-collapse .card-block{font-size:14px;margin-bottom:20px;padding:0 8px}}.actions{min-width:80px}@media only screen and (max-width: 768px){.faq-item h5 a{font-size:14px}.faq-item button.btn,.panel-collapse .card-block{font-size:12px}}.tooltip-wrap{vertical-align:top}.custom-dropdown,.custom-multiselect{position:absolute!important;width:inherit!important;z-index:9999!important}.p-dropdown-items-wrapper{max-height:142px}.fa-eye{font-size:15px}quill-editor,[_nghost-ng-c3617506782]{display:block!important}.quill-editor label{display:block}\n"], dependencies: [{ kind: "component", type: i2.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll", "virtualRowHeight"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i3$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i3$3.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: i6.MultiSelect, selector: "p-multiSelect", inputs: ["id", "ariaLabel", "style", "styleClass", "panelStyle", "panelStyleClass", "inputId", "disabled", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "variant", "appendTo", "dataKey", "name", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "loading", "virtualScrollItemSize", "loadingIcon", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "showClear", "autofocus", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "defaultLabel", "placeholder", "options", "filterValue", "itemSize", "selectAll", "focusOnHover", "filterFields", "selectOnFocus", "autoOptionFocus"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove", "onSelectAllChange"] }, { kind: "directive", type: i4.InputText, selector: "[pInputText]", inputs: ["variant"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i7.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i8.ProgressSpinner, selector: "p-progressSpinner", inputs: ["styleClass", "style", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }, { kind: "component", type: i9.NoDataComponent, selector: "pw-no-data", inputs: ["message", "description", "withImage"] }, { kind: "directive", type: i10.DynamicBadgeDirective, selector: "[appDynamicBadge]", inputs: ["appDynamicBadge", "color"] }, { kind: "directive", type: i3$2.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "popperOptions", "triggers", "positionTarget", "container", "disableTooltip", "tooltipClass", "tooltipContext", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }, { kind: "pipe", type: i12.TranslocoPipe, name: "transloco" }, { kind: "pipe", type: i13.RemoveHtmlPipe, name: "removeHtml" }, { kind: "pipe", type: i13.TextTruncatePipe, name: "textTruncate" }] }); }
|
|
1798
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: FaqListComponent, selector: "pw-admin-faq-list", viewQueries: [{ propertyName: "editForm", first: true, predicate: ["editForm"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"row\" [class.custom-disable-wrapper]=\"buttonBusy\">\n <div class=\"col-12 d-flex flex-wrap justify-content-between align-items-center\"\n *ngIf=\"showList\">\n <h2 class=\"card-title p-0 float-start\">Frequently Asked Questions</h2>\n <a href=\"javascript:void(0)\" [routerLink]=\"[routers.faqDetails + 'add']\"\n class=\"btn btn-sm btn-outline-primary float-end\" role=\"button\" aria-expanded=\"false\">\n <i class=\"fa fa-plus-circle\" aria-hidden=\"true\"></i> {{ 'Label.AddNew' | transloco }} FAQ </a>\n </div>\n</div>\n\n<div class=\"w-100 text-center mt-3\" *ngIf=\"!isLoaded\">\n <p-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\n</div>\n<div class=\"row faqlist primeng-datatable-container mt-0\" [class.custom-disable-wrapper]=\"buttonBusy\" [class.hideTable]=\"totalRecordsUnFiltered === 0 || !showList\">\n <div class=\"col-12 px-0\">\n <p-table #dt\n [value]=\"faqs\"\n [paginator]=\"totalRecords !== 0\"\n [lazy]=\"true\"\n [rows]=\"PAGE_SIZE\"\n [totalRecords]=\"totalRecords\"\n [filterDelay]=\"1000\"\n (onLazyLoad)=\"onLazyLoad($event)\"\n [customSort]=\"true\">\n <ng-template pTemplate=\"caption\">\n <div class=\"search-filter\">\n <div class=\"col-sm-4\">\n <p-multiSelect [showToggleAll]=\"true\" [options]=\"featureKeysList\" (onChange)=\"onProductChange($event)\"\n placeholder=\"Search by Feature keys\" [showHeader]=\"true\" maxSelectedLabels=\"2\" appendTo=\"body\">\n </p-multiSelect>\n </div>\n <div class=\"text-end\">\n <i class=\"fa fa-search mt-2 me-2\" aria-hidden=\"true\"></i>\n <input type=\"text\" [(ngModel)]=\"searchText\" pInputText size=\"50\" placeholder=\"Search FAQ...\"\n (input)=\"dt.filterGlobal($event.target.value, 'contains')\" class=\"mw-90\" />\n </div>\n </div>\n </ng-template>\n <ng-template pTemplate=\"header\">\n <tr>\n <th scope=\"true\">{{ 'Admin.Faq.Question' | transloco }}</th>\n <th scope=\"true\">{{ 'Admin.Faq.Answer' | transloco }}</th>\n <th scope=\"true\">{{ 'Admin.Faq.Position' | transloco }}</th>\n <th scope=\"true\">{{ 'Admin.Faq.Category' | transloco }}</th>\n <th scope=\"true\">{{ 'Admin.Faq.Visible' | transloco }}</th>\n <th scope=\"true\">{{ 'Admin.Faq.Public' | transloco }}</th>\n <th scope=\"true\" class=\"actions-list-two\">{{ 'Label.Actions' | transloco }}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-faq>\n <tr>\n <td data-head=\"Question\">{{ faq.question }} </td>\n <td data-head=\"Answer\">{{(faq.answer|removeHtml)|textTruncate: 200}} </td>\n <td data-head=\"Position\">{{faq.position}}</td>\n <td data-head=\"Category\">\n <span [appDynamicBadge]=\"{ itemsArray: categoryForBadges, item: faq?.category }\" color=\"cyan\"\n class=\"badge ms-1\">\n <span [pTooltip]=\"faq?.feature_keys?.join(',')\" tooltipPosition=\"top\">{{ faqHashMap[faq?.category]?.name\n }}</span>\n </span>\n <span class=\"ms-1 badge bg-warning\" *ngIf=\"faq.is_shared_faq || faq.is_admin_faq || faq.is_build_faq\">Super\n FAQ</span>\n </td>\n <td data-head=\"Visible\">\n <span [appDynamicBadge]=\"{ itemsArray: [true, false], item: faq?.visible }\" color=\"success-danger\"\n class=\"badge\">{{ faq?.visible }}</span>\n </td>\n <td data-head=\"Public\">\n <span [appDynamicBadge]=\"{ itemsArray: [true, false], item: faq?.public }\" color=\"success-danger\"\n class=\"badge\">{{ faq?.public }}</span>\n </td>\n <td data-head=\"Action\">\n <ul class=\"list-unstyled list-inline\">\n <li ngbTooltip=\"Edit\" class=\"me-2 me-sm-2\">\n <i class=\"fa fa-edit edit-icon\" (click)=\"navigateToEdit(faq)\" aria-hidden=\"true\"></i>\n </li>\n <li ngbTooltip=\"Delete\" class=\"me-2 me-sm-2\">\n <i class=\"fa fa-trash delete-icon\" (click)=\"onDelete(faq)\" aria-hidden=\"true\"></i>\n </li>\n <li ngbTooltip=\"View faq\" *ngIf=\"faq?.visible\">\n <a [routerLink]=\"['/',slug,'faq',faq.id]\" target=\"_blank\">\n <i class=\"fa fa-eye\" aria-hidden=\"true\"></i>\n </a>\n </li>\n </ul>\n </td>\n </tr>\n </ng-template>\n </p-table>\n <div *ngIf=\"totalRecords === 0 && totalRecordsUnFiltered !== 0\">\n <pw-no-data [withImage]=\"true\" [message]=\"'Search.NoDataMessage' | transloco\" [description]=\"'Search.NoDataDescription' | transloco\" >\n </pw-no-data>\n </div>\n <span *ngIf=\"totalRecords !== 0\" class=\"total-records-count\">{{ 'Label.Total' | transloco }}: {{ totalRecords }}</span>\n </div>\n</div>\n<pw-no-data [withImage]=\"true\" [message]=\"'Admin.Faq.NoDataMessage' | transloco\" *ngIf=\"totalRecordsUnFiltered === 0 && isLoaded\">\n</pw-no-data>\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)}.faq-item{background-color:#eee;border:1px dashed rgba(0,0,0,.1);border-radius:3px;margin-top:10px;transition:all .2s ease-in-out}.faq-item h5{padding:0 15px 0 0;position:relative}.faq-item h5 a:before{position:absolute;right:-24px;top:3px}input.warning{border-color:red}@media only screen and (max-width: 1024px){.faq-item h5 a{font-size:16px}.faq-item button.btn{font-size:14px}.panel-collapse .card-block{font-size:14px;margin-bottom:20px;padding:0 8px}}.actions{min-width:80px}@media only screen and (max-width: 768px){.faq-item h5 a{font-size:14px}.faq-item button.btn,.panel-collapse .card-block{font-size:12px}}.tooltip-wrap{vertical-align:top}.custom-dropdown,.custom-multiselect{position:absolute!important;width:inherit!important;z-index:9999!important}.p-dropdown-items-wrapper{max-height:142px}.fa-eye{font-size:15px}quill-editor,[_nghost-ng-c3617506782]{display:block!important}.quill-editor label{display:block}\n"], dependencies: [{ kind: "component", type: i2.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll", "virtualRowHeight"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i3$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i3$3.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: i6.MultiSelect, selector: "p-multiSelect", inputs: ["id", "ariaLabel", "style", "styleClass", "panelStyle", "panelStyleClass", "inputId", "disabled", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "variant", "appendTo", "dataKey", "name", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "loading", "virtualScrollItemSize", "loadingIcon", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "showClear", "autofocus", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "defaultLabel", "placeholder", "options", "filterValue", "itemSize", "selectAll", "focusOnHover", "filterFields", "selectOnFocus", "autoOptionFocus"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove", "onSelectAllChange"] }, { kind: "directive", type: i4.InputText, selector: "[pInputText]", inputs: ["variant"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i7.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i8.ProgressSpinner, selector: "p-progressSpinner", inputs: ["styleClass", "style", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }, { kind: "component", type: i9.NoDataComponent, selector: "pw-no-data", inputs: ["message", "description", "withImage"] }, { kind: "directive", type: i10.DynamicBadgeDirective, selector: "[appDynamicBadge]", inputs: ["appDynamicBadge", "color"] }, { kind: "directive", type: i3$2.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "popperOptions", "triggers", "positionTarget", "container", "disableTooltip", "tooltipClass", "tooltipContext", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }, { kind: "pipe", type: i12.TranslocoPipe, name: "transloco" }, { kind: "pipe", type: i13.RemoveHtmlPipe, name: "removeHtml" }, { kind: "pipe", type: i13.TextTruncatePipe, name: "textTruncate" }] }); }
|
|
1800
1799
|
}
|
|
1801
1800
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FaqListComponent, decorators: [{
|
|
1802
1801
|
type: Component,
|
|
1803
|
-
args: [{ selector: 'pw-admin-faq-list', template: "<div class=\"row\" [class.custom-disable-wrapper]=\"buttonBusy\">\n <div class=\"col-12 d-flex flex-wrap justify-content-between align-items-center\"\n *ngIf=\"showList\">\n <h2 class=\"card-title p-0 float-start\">Frequently Asked Questions</h2>\n <a href=\"javascript:void(0)\" [routerLink]=\"[routers.
|
|
1802
|
+
args: [{ selector: 'pw-admin-faq-list', template: "<div class=\"row\" [class.custom-disable-wrapper]=\"buttonBusy\">\n <div class=\"col-12 d-flex flex-wrap justify-content-between align-items-center\"\n *ngIf=\"showList\">\n <h2 class=\"card-title p-0 float-start\">Frequently Asked Questions</h2>\n <a href=\"javascript:void(0)\" [routerLink]=\"[routers.faqDetails + 'add']\"\n class=\"btn btn-sm btn-outline-primary float-end\" role=\"button\" aria-expanded=\"false\">\n <i class=\"fa fa-plus-circle\" aria-hidden=\"true\"></i> {{ 'Label.AddNew' | transloco }} FAQ </a>\n </div>\n</div>\n\n<div class=\"w-100 text-center mt-3\" *ngIf=\"!isLoaded\">\n <p-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\n</div>\n<div class=\"row faqlist primeng-datatable-container mt-0\" [class.custom-disable-wrapper]=\"buttonBusy\" [class.hideTable]=\"totalRecordsUnFiltered === 0 || !showList\">\n <div class=\"col-12 px-0\">\n <p-table #dt\n [value]=\"faqs\"\n [paginator]=\"totalRecords !== 0\"\n [lazy]=\"true\"\n [rows]=\"PAGE_SIZE\"\n [totalRecords]=\"totalRecords\"\n [filterDelay]=\"1000\"\n (onLazyLoad)=\"onLazyLoad($event)\"\n [customSort]=\"true\">\n <ng-template pTemplate=\"caption\">\n <div class=\"search-filter\">\n <div class=\"col-sm-4\">\n <p-multiSelect [showToggleAll]=\"true\" [options]=\"featureKeysList\" (onChange)=\"onProductChange($event)\"\n placeholder=\"Search by Feature keys\" [showHeader]=\"true\" maxSelectedLabels=\"2\" appendTo=\"body\">\n </p-multiSelect>\n </div>\n <div class=\"text-end\">\n <i class=\"fa fa-search mt-2 me-2\" aria-hidden=\"true\"></i>\n <input type=\"text\" [(ngModel)]=\"searchText\" pInputText size=\"50\" placeholder=\"Search FAQ...\"\n (input)=\"dt.filterGlobal($event.target.value, 'contains')\" class=\"mw-90\" />\n </div>\n </div>\n </ng-template>\n <ng-template pTemplate=\"header\">\n <tr>\n <th scope=\"true\">{{ 'Admin.Faq.Question' | transloco }}</th>\n <th scope=\"true\">{{ 'Admin.Faq.Answer' | transloco }}</th>\n <th scope=\"true\">{{ 'Admin.Faq.Position' | transloco }}</th>\n <th scope=\"true\">{{ 'Admin.Faq.Category' | transloco }}</th>\n <th scope=\"true\">{{ 'Admin.Faq.Visible' | transloco }}</th>\n <th scope=\"true\">{{ 'Admin.Faq.Public' | transloco }}</th>\n <th scope=\"true\" class=\"actions-list-two\">{{ 'Label.Actions' | transloco }}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-faq>\n <tr>\n <td data-head=\"Question\">{{ faq.question }} </td>\n <td data-head=\"Answer\">{{(faq.answer|removeHtml)|textTruncate: 200}} </td>\n <td data-head=\"Position\">{{faq.position}}</td>\n <td data-head=\"Category\">\n <span [appDynamicBadge]=\"{ itemsArray: categoryForBadges, item: faq?.category }\" color=\"cyan\"\n class=\"badge ms-1\">\n <span [pTooltip]=\"faq?.feature_keys?.join(',')\" tooltipPosition=\"top\">{{ faqHashMap[faq?.category]?.name\n }}</span>\n </span>\n <span class=\"ms-1 badge bg-warning\" *ngIf=\"faq.is_shared_faq || faq.is_admin_faq || faq.is_build_faq\">Super\n FAQ</span>\n </td>\n <td data-head=\"Visible\">\n <span [appDynamicBadge]=\"{ itemsArray: [true, false], item: faq?.visible }\" color=\"success-danger\"\n class=\"badge\">{{ faq?.visible }}</span>\n </td>\n <td data-head=\"Public\">\n <span [appDynamicBadge]=\"{ itemsArray: [true, false], item: faq?.public }\" color=\"success-danger\"\n class=\"badge\">{{ faq?.public }}</span>\n </td>\n <td data-head=\"Action\">\n <ul class=\"list-unstyled list-inline\">\n <li ngbTooltip=\"Edit\" class=\"me-2 me-sm-2\">\n <i class=\"fa fa-edit edit-icon\" (click)=\"navigateToEdit(faq)\" aria-hidden=\"true\"></i>\n </li>\n <li ngbTooltip=\"Delete\" class=\"me-2 me-sm-2\">\n <i class=\"fa fa-trash delete-icon\" (click)=\"onDelete(faq)\" aria-hidden=\"true\"></i>\n </li>\n <li ngbTooltip=\"View faq\" *ngIf=\"faq?.visible\">\n <a [routerLink]=\"['/',slug,'faq',faq.id]\" target=\"_blank\">\n <i class=\"fa fa-eye\" aria-hidden=\"true\"></i>\n </a>\n </li>\n </ul>\n </td>\n </tr>\n </ng-template>\n </p-table>\n <div *ngIf=\"totalRecords === 0 && totalRecordsUnFiltered !== 0\">\n <pw-no-data [withImage]=\"true\" [message]=\"'Search.NoDataMessage' | transloco\" [description]=\"'Search.NoDataDescription' | transloco\" >\n </pw-no-data>\n </div>\n <span *ngIf=\"totalRecords !== 0\" class=\"total-records-count\">{{ 'Label.Total' | transloco }}: {{ totalRecords }}</span>\n </div>\n</div>\n<pw-no-data [withImage]=\"true\" [message]=\"'Admin.Faq.NoDataMessage' | transloco\" *ngIf=\"totalRecordsUnFiltered === 0 && isLoaded\">\n</pw-no-data>\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)}.faq-item{background-color:#eee;border:1px dashed rgba(0,0,0,.1);border-radius:3px;margin-top:10px;transition:all .2s ease-in-out}.faq-item h5{padding:0 15px 0 0;position:relative}.faq-item h5 a:before{position:absolute;right:-24px;top:3px}input.warning{border-color:red}@media only screen and (max-width: 1024px){.faq-item h5 a{font-size:16px}.faq-item button.btn{font-size:14px}.panel-collapse .card-block{font-size:14px;margin-bottom:20px;padding:0 8px}}.actions{min-width:80px}@media only screen and (max-width: 768px){.faq-item h5 a{font-size:14px}.faq-item button.btn,.panel-collapse .card-block{font-size:12px}}.tooltip-wrap{vertical-align:top}.custom-dropdown,.custom-multiselect{position:absolute!important;width:inherit!important;z-index:9999!important}.p-dropdown-items-wrapper{max-height:142px}.fa-eye{font-size:15px}quill-editor,[_nghost-ng-c3617506782]{display:block!important}.quill-editor label{display:block}\n"] }]
|
|
1804
1803
|
}], ctorParameters: () => [{ type: i1$1.CommonService }, { type: i1.AdminService }, { type: i1$1.ProductService }, { type: i0.Injector }], propDecorators: { editForm: [{
|
|
1805
1804
|
type: ViewChild,
|
|
1806
1805
|
args: ['editForm', { static: false }]
|
|
@@ -2256,11 +2255,11 @@ class LoginNotificationsListComponent extends AppBaseComponent {
|
|
|
2256
2255
|
super.ngOnDestroy();
|
|
2257
2256
|
}
|
|
2258
2257
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: LoginNotificationsListComponent, deps: [{ token: i0.Injector }, { token: i1.AdminService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2259
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: LoginNotificationsListComponent, selector: "pw-login-notifications-list", usesInheritance: true, ngImport: i0, template: "<div class=\"row\">\n <div class=\"col-12 d-flex justify-content-between align-items-center text-end\">\n <h2 class=\"card-title p-0 float-start\">Login Notifications</h2>\n <button class=\"btn btn-outline-primary btn-sm float-end m-0\"\n [routerLink]=\"[routers.
|
|
2258
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: LoginNotificationsListComponent, selector: "pw-login-notifications-list", usesInheritance: true, ngImport: i0, template: "<div class=\"row\">\n <div class=\"col-12 d-flex justify-content-between align-items-center text-end\">\n <h2 class=\"card-title p-0 float-start\">Login Notifications</h2>\n <button class=\"btn btn-outline-primary btn-sm float-end m-0\"\n [routerLink]=\"[routers.loginNotifications + 'add']\">\n <i class=\"fa fa-plus-circle\" aria-hidden=\"true\"></i> Create\n </button>\n </div>\n</div>\n<div class=\"w-100 text-center mt-3\"\n *ngIf=\"!isLoaded\">\n <p-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\n</div>\n<div class=\"primeng-datatable-container table-responsive mt-0\"\n [class.hideTable]=\"data.unfiltered_count === 0\">\n <p-table #tt\n [value]=\"data.notifications\"\n [paginator]=\"data.object_count !== 0\"\n [rows]=\"PAGE_SIZE\"\n [totalRecords]=\"data.object_count\"\n [loading]=\"loading\"\n [lazy]=\"true\"\n [filterDelay]=\"1000\"\n (onLazyLoad)=\"onLazyLoad($event)\"\n [customSort]=\"true\">\n <!--sort order should be default empty when page load-->\n\n <!-- Caption Header, Search Bar -->\n <ng-template pTemplate=\"caption\">\n <div class=\"text-end\">\n <i class=\"fa fa-search mt-2 me-2\" aria-hidden=\"true\"></i>\n <input type=\"text\"\n pInputText\n size=\"50\"\n placeholder=\"Search\"\n [(ngModel)]=\"searchText\"\n (input)=\"tt.filterGlobal($event.target.value, 'contains')\" />\n </div>\n </ng-template>\n\n <!-- Column Header -->\n <ng-template pTemplate=\"header\">\n <tr>\n <th scope=\"true\"\n pSortableColumn=\"notification_type\">\n {{ 'Admin.LoginNotification.NotificationType' | transloco }}\n <p-sortIcon field=\"notification_type\"></p-sortIcon>\n </th>\n <th scope=\"true\"\n pSortableColumn=\"body\">\n {{ 'Admin.LoginNotification.Body' | transloco }}\n <p-sortIcon field=\"body\"></p-sortIcon>\n </th>\n <th scope=\"true\"\n class=\"w-25\">\n {{ 'Admin.LoginNotification.FeatureKeys' | transloco }}\n </th>\n <th scope=\"true\"\n pSortableColumn=\"visible_from\">\n {{ 'Admin.LoginNotification.VisibleFrom' | transloco }}\n <p-sortIcon field=\"visible_from\"></p-sortIcon>\n </th>\n <th scope=\"true\"\n pSortableColumn=\"visible_until\">\n {{ 'Admin.LoginNotification.VisibleUntil' | transloco }}\n <p-sortIcon field=\"visible_until\"></p-sortIcon>\n </th>\n <th class=\"actions-list-two\"\n scope=\"true\">{{ 'Label.Actions' | transloco }}</th>\n </tr>\n </ng-template>\n\n <!-- Table Body -->\n <ng-template pTemplate=\"body\"\n let-item>\n <tr>\n <td data-head=\"notification_type\">{{ item?.notification_type }}</td>\n <td data-head=\"body\">{{ item?.body | textTruncate: 30 }}</td>\n <td data-head=\"feature_keys\">\n <span *ngFor=\"let data of item?.feature_keys\"\n class=\"badge m-1\"\n [appDynamicBadge]=\"{ itemsArray: item?.feature_keys, item: data }\"\n color=\"cyan\">{{ data }}</span>\n </td>\n <td data-head=\"visible_from\">{{ item?.visible_from | dateFormat }}</td>\n <td data-head=\"visible_until\">{{ item?.visible_until | dateFormat }}</td>\n <td data-head=\"Action\">\n <ul class=\"list-unstyled list-inline\">\n <li ngbTooltip=\"Edit\"\n [routerLink]=\"[routers.loginNotifications + item?.id]\"\n class=\"me-2 me-sm-3\">\n <i class=\"fa fa-edit edit-icon\" aria-hidden=\"true\"></i>\n </li>\n <li ngbTooltip=\"Delete\"\n class=\"me-2 me-sm-3\"\n (click)=\"onDelete(item?.id)\">\n <i class=\"fa fa-trash delete-icon\" aria-hidden=\"true\"></i>\n </li>\n </ul>\n </td>\n </tr>\n </ng-template>\n </p-table>\n<div *ngIf=\"data.object_count === 0 && data.unfiltered_count !== 0\">\n <pw-no-data [withImage]=\"true\" [message]=\"'Search.NoDataMessage' | transloco\" [description]=\"'Search.NoDataDescription' | transloco\" >\n </pw-no-data>\n</div>\n <span *ngIf=\"data.object_count !== 0\" class=\"total-records-count\">{{ 'Label.Total' | transloco }}: {{ data.object_count }}</span>\n</div>\n<div *ngIf=\"data.unfiltered_count === 0 && isLoaded\">\n <pw-no-data [withImage]=\"true\" [message]=\"'Admin.LoginNotification.NoDataMessage' | transloco\"> </pw-no-data>\n</div>\n", dependencies: [{ kind: "component", type: i2.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll", "virtualRowHeight"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i3$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i2.SortableColumn, selector: "[pSortableColumn]", inputs: ["pSortableColumn", "pSortableColumnDisabled"] }, { kind: "component", type: i2.SortIcon, selector: "p-sortIcon", inputs: ["field"] }, { kind: "directive", type: i4.InputText, selector: "[pInputText]", inputs: ["variant"] }, { kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i7.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i8.ProgressSpinner, selector: "p-progressSpinner", inputs: ["styleClass", "style", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }, { kind: "component", type: i9.NoDataComponent, selector: "pw-no-data", inputs: ["message", "description", "withImage"] }, { kind: "directive", type: i10.DynamicBadgeDirective, selector: "[appDynamicBadge]", inputs: ["appDynamicBadge", "color"] }, { kind: "directive", type: i3$2.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "popperOptions", "triggers", "positionTarget", "container", "disableTooltip", "tooltipClass", "tooltipContext", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }, { kind: "pipe", type: i12.TranslocoPipe, name: "transloco" }, { kind: "pipe", type: i13.DateFormatPipe, name: "dateFormat" }, { kind: "pipe", type: i13.TextTruncatePipe, name: "textTruncate" }] }); }
|
|
2260
2259
|
}
|
|
2261
2260
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: LoginNotificationsListComponent, decorators: [{
|
|
2262
2261
|
type: Component,
|
|
2263
|
-
args: [{ selector: 'pw-login-notifications-list', template: "<div class=\"row\">\n <div class=\"col-12 d-flex justify-content-between align-items-center text-end\">\n <h2 class=\"card-title p-0 float-start\">Login Notifications</h2>\n <button class=\"btn btn-outline-primary btn-sm float-end m-0\"\n [routerLink]=\"[routers.
|
|
2262
|
+
args: [{ selector: 'pw-login-notifications-list', template: "<div class=\"row\">\n <div class=\"col-12 d-flex justify-content-between align-items-center text-end\">\n <h2 class=\"card-title p-0 float-start\">Login Notifications</h2>\n <button class=\"btn btn-outline-primary btn-sm float-end m-0\"\n [routerLink]=\"[routers.loginNotifications + 'add']\">\n <i class=\"fa fa-plus-circle\" aria-hidden=\"true\"></i> Create\n </button>\n </div>\n</div>\n<div class=\"w-100 text-center mt-3\"\n *ngIf=\"!isLoaded\">\n <p-progressSpinner strokeWidth=\"2\"> </p-progressSpinner>\n</div>\n<div class=\"primeng-datatable-container table-responsive mt-0\"\n [class.hideTable]=\"data.unfiltered_count === 0\">\n <p-table #tt\n [value]=\"data.notifications\"\n [paginator]=\"data.object_count !== 0\"\n [rows]=\"PAGE_SIZE\"\n [totalRecords]=\"data.object_count\"\n [loading]=\"loading\"\n [lazy]=\"true\"\n [filterDelay]=\"1000\"\n (onLazyLoad)=\"onLazyLoad($event)\"\n [customSort]=\"true\">\n <!--sort order should be default empty when page load-->\n\n <!-- Caption Header, Search Bar -->\n <ng-template pTemplate=\"caption\">\n <div class=\"text-end\">\n <i class=\"fa fa-search mt-2 me-2\" aria-hidden=\"true\"></i>\n <input type=\"text\"\n pInputText\n size=\"50\"\n placeholder=\"Search\"\n [(ngModel)]=\"searchText\"\n (input)=\"tt.filterGlobal($event.target.value, 'contains')\" />\n </div>\n </ng-template>\n\n <!-- Column Header -->\n <ng-template pTemplate=\"header\">\n <tr>\n <th scope=\"true\"\n pSortableColumn=\"notification_type\">\n {{ 'Admin.LoginNotification.NotificationType' | transloco }}\n <p-sortIcon field=\"notification_type\"></p-sortIcon>\n </th>\n <th scope=\"true\"\n pSortableColumn=\"body\">\n {{ 'Admin.LoginNotification.Body' | transloco }}\n <p-sortIcon field=\"body\"></p-sortIcon>\n </th>\n <th scope=\"true\"\n class=\"w-25\">\n {{ 'Admin.LoginNotification.FeatureKeys' | transloco }}\n </th>\n <th scope=\"true\"\n pSortableColumn=\"visible_from\">\n {{ 'Admin.LoginNotification.VisibleFrom' | transloco }}\n <p-sortIcon field=\"visible_from\"></p-sortIcon>\n </th>\n <th scope=\"true\"\n pSortableColumn=\"visible_until\">\n {{ 'Admin.LoginNotification.VisibleUntil' | transloco }}\n <p-sortIcon field=\"visible_until\"></p-sortIcon>\n </th>\n <th class=\"actions-list-two\"\n scope=\"true\">{{ 'Label.Actions' | transloco }}</th>\n </tr>\n </ng-template>\n\n <!-- Table Body -->\n <ng-template pTemplate=\"body\"\n let-item>\n <tr>\n <td data-head=\"notification_type\">{{ item?.notification_type }}</td>\n <td data-head=\"body\">{{ item?.body | textTruncate: 30 }}</td>\n <td data-head=\"feature_keys\">\n <span *ngFor=\"let data of item?.feature_keys\"\n class=\"badge m-1\"\n [appDynamicBadge]=\"{ itemsArray: item?.feature_keys, item: data }\"\n color=\"cyan\">{{ data }}</span>\n </td>\n <td data-head=\"visible_from\">{{ item?.visible_from | dateFormat }}</td>\n <td data-head=\"visible_until\">{{ item?.visible_until | dateFormat }}</td>\n <td data-head=\"Action\">\n <ul class=\"list-unstyled list-inline\">\n <li ngbTooltip=\"Edit\"\n [routerLink]=\"[routers.loginNotifications + item?.id]\"\n class=\"me-2 me-sm-3\">\n <i class=\"fa fa-edit edit-icon\" aria-hidden=\"true\"></i>\n </li>\n <li ngbTooltip=\"Delete\"\n class=\"me-2 me-sm-3\"\n (click)=\"onDelete(item?.id)\">\n <i class=\"fa fa-trash delete-icon\" aria-hidden=\"true\"></i>\n </li>\n </ul>\n </td>\n </tr>\n </ng-template>\n </p-table>\n<div *ngIf=\"data.object_count === 0 && data.unfiltered_count !== 0\">\n <pw-no-data [withImage]=\"true\" [message]=\"'Search.NoDataMessage' | transloco\" [description]=\"'Search.NoDataDescription' | transloco\" >\n </pw-no-data>\n</div>\n <span *ngIf=\"data.object_count !== 0\" class=\"total-records-count\">{{ 'Label.Total' | transloco }}: {{ data.object_count }}</span>\n</div>\n<div *ngIf=\"data.unfiltered_count === 0 && isLoaded\">\n <pw-no-data [withImage]=\"true\" [message]=\"'Admin.LoginNotification.NoDataMessage' | transloco\"> </pw-no-data>\n</div>\n" }]
|
|
2264
2263
|
}], ctorParameters: () => [{ type: i0.Injector }, { type: i1.AdminService }, { type: i0.ChangeDetectorRef }] });
|
|
2265
2264
|
|
|
2266
2265
|
class NewsletterDetailsComponent extends AppBaseComponent {
|
|
@@ -2331,7 +2330,6 @@ class NewsletterItemDetailsComponent extends AppBaseComponent {
|
|
|
2331
2330
|
this.adminService = adminService;
|
|
2332
2331
|
this.tagService = tagService;
|
|
2333
2332
|
this.productService = productService;
|
|
2334
|
-
this.editorConfig = QuillHelper.getEditorConfig();
|
|
2335
2333
|
this.submitted = false;
|
|
2336
2334
|
this.newsletters = [];
|
|
2337
2335
|
this.options = [];
|
|
@@ -2345,6 +2343,7 @@ class NewsletterItemDetailsComponent extends AppBaseComponent {
|
|
|
2345
2343
|
this.featureKeys = [];
|
|
2346
2344
|
this.userNameSyntax = '{{ @user.share_name }}';
|
|
2347
2345
|
this.form = AppAdmin.getNewsletterItemForm();
|
|
2346
|
+
this.editorConfig = QuillHelper.getEditorConfig();
|
|
2348
2347
|
}
|
|
2349
2348
|
ngOnInit() {
|
|
2350
2349
|
this.subscriptionId = PermissionService.selectedSubscription?.id;
|
|
@@ -3219,7 +3218,6 @@ class ProductDetailsComponent extends AppBaseComponent {
|
|
|
3219
3218
|
this.productService = productService;
|
|
3220
3219
|
this.modalService = modalService;
|
|
3221
3220
|
this.adminService = adminService;
|
|
3222
|
-
this.editorConfig = QuillHelper.getEditorConfig();
|
|
3223
3221
|
this.submitted = false;
|
|
3224
3222
|
this.selectedProducts = [];
|
|
3225
3223
|
this.selectedScopes = [];
|
|
@@ -3242,6 +3240,7 @@ class ProductDetailsComponent extends AppBaseComponent {
|
|
|
3242
3240
|
this.categories = [];
|
|
3243
3241
|
this.fullLogo = '';
|
|
3244
3242
|
this.form = AppAdmin.getProductsForm();
|
|
3243
|
+
this.editorConfig = QuillHelper.getEditorConfig();
|
|
3245
3244
|
}
|
|
3246
3245
|
ngOnInit() {
|
|
3247
3246
|
this.supportedCurrency$ = this.productService.getSupportedCurrency();
|
|
@@ -3666,7 +3665,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
|
|
|
3666
3665
|
args: ['passwordValidationModalForProductDelete', { static: false }]
|
|
3667
3666
|
}] } });
|
|
3668
3667
|
|
|
3669
|
-
class
|
|
3668
|
+
class ProductsTabComponent {
|
|
3670
3669
|
constructor() {
|
|
3671
3670
|
this.items = [
|
|
3672
3671
|
{
|
|
@@ -3683,10 +3682,10 @@ class ProductsComponent {
|
|
|
3683
3682
|
}
|
|
3684
3683
|
];
|
|
3685
3684
|
}
|
|
3686
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type:
|
|
3687
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type:
|
|
3685
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ProductsTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3686
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: ProductsTabComponent, selector: "pw-products-tabs", ngImport: i0, template: `<pw-tabs [items]="items"></pw-tabs>`, isInline: true, 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)}.table-title{border-bottom:4px solid rgb(23,105,225);padding:0}.table-title .m-subheader__title{background-color:#1769e1;padding:7px 25px}.table-title .m-subheader__title span{color:#fff;font-size:16px;text-transform:uppercase}\n"], dependencies: [{ kind: "component", type: i9.PwTabsComponent, selector: "pw-tabs", inputs: ["items", "withSubscription"] }] }); }
|
|
3688
3687
|
}
|
|
3689
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type:
|
|
3688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ProductsTabComponent, decorators: [{
|
|
3690
3689
|
type: Component,
|
|
3691
3690
|
args: [{ selector: 'pw-products-tabs', template: `<pw-tabs [items]="items"></pw-tabs>`, 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)}.table-title{border-bottom:4px solid rgb(23,105,225);padding:0}.table-title .m-subheader__title{background-color:#1769e1;padding:7px 25px}.table-title .m-subheader__title span{color:#fff;font-size:16px;text-transform:uppercase}\n"] }]
|
|
3692
3691
|
}], ctorParameters: () => [] });
|
|
@@ -6615,7 +6614,7 @@ class AddEditIncidentComponent extends AppBaseComponent {
|
|
|
6615
6614
|
.addIncident(data)
|
|
6616
6615
|
.subscribe(response => {
|
|
6617
6616
|
this.toast.success(this.translation.translate('Admin.Incident.AddMessage'));
|
|
6618
|
-
this.router.navigate([`${this.routers.
|
|
6617
|
+
this.router.navigate([`${this.routers.incidentConfig}`]);
|
|
6619
6618
|
})
|
|
6620
6619
|
.add(() => (this.buttonBusy = false));
|
|
6621
6620
|
}
|
|
@@ -6637,7 +6636,7 @@ class AddEditIncidentComponent extends AppBaseComponent {
|
|
|
6637
6636
|
.editIncident(this.id, data)
|
|
6638
6637
|
.subscribe(response => {
|
|
6639
6638
|
this.toast.success(this.translation.translate('Admin.Incident.UpdateMessage'));
|
|
6640
|
-
this.router.navigate([`${this.routers.
|
|
6639
|
+
this.router.navigate([`${this.routers.incidentConfig}`]);
|
|
6641
6640
|
})
|
|
6642
6641
|
.add(() => (this.buttonBusy = false));
|
|
6643
6642
|
}
|
|
@@ -6646,7 +6645,7 @@ class AddEditIncidentComponent extends AppBaseComponent {
|
|
|
6646
6645
|
}
|
|
6647
6646
|
}
|
|
6648
6647
|
onCancel() {
|
|
6649
|
-
this.router.navigate([`${this.routers.
|
|
6648
|
+
this.router.navigate([`${this.routers.incidentConfig}`]);
|
|
6650
6649
|
}
|
|
6651
6650
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: AddEditIncidentComponent, deps: [{ token: i0.Injector }, { token: i1$1.CommonService }, { token: i2$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6652
6651
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: AddEditIncidentComponent, selector: "pw-admin-add-edit-incident", viewQueries: [{ propertyName: "editForm", first: true, predicate: ["editForm"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"container-fluid pw-tab overflow-hidden\">\n <div class=\"dashboard\">\n <div class=\"dashboard-body\">\n <div class=\"me-auto col-xs-6 mt-4\">\n <a href=\"javascript:void(0)\" routerLink=\"/admin/incident/list\" class=\"previous\"><i\n class=\"fa fa-arrow-alt-circle-left\" aria-hidden=\"true\"></i></a>\n <h3 class=\"mt-3\">{{ id ? 'Edit' : 'Add New' }} Incident</h3>\n </div>\n <div class=\"p-2 mt-3\">\n <form (ngSubmit)=\"onSubmit()\" [formGroup]=\"form\">\n <div class=\"row\">\n <pw-input-container class=\"col-lg-6\" [label]=\"'Admin.Incident.UrlImpacted' | transloco\"\n name=\"url_impacted\" [errorMsg]=\"'Admin.Incident.Validation.UrlImpacted' | transloco\">\n <input type=\"text\" formControlName=\"url_impacted\" class=\"form-control\"\n [ngClass]=\"{ 'is-invalid': submitted && f['url_impacted'].errors }\" />\n </pw-input-container>\n <pw-input-container class=\"col-lg-6\" [label]=\"'Admin.Incident.ServiceImpacted' | transloco\"\n name=\"service_impacted\"\n [errorMsg]=\"'Admin.Incident.Validation.ServiceImpacted' | transloco\">\n <input type=\"text\" formControlName=\"service_impacted\" class=\"form-control\"\n [ngClass]=\"{ 'is-invalid': submitted && f['service_impacted'].errors }\" />\n </pw-input-container>\n <div class=\"col-lg-12\">\n <pw-input-container class=\"col-12 quill-editor\"\n [label]=\"'Admin.Incident.Description' | transloco\" name=\"description\"\n [errorMsg]=\"'Admin.Incident.Validation.Description' | transloco\">\n <quill-editor [styles]=\"{ height: '200px'}\" formControlName=\"description\"\n class=\"quillEditor d-block\"\n [modules]=\"editorConfig\"\n [ngClass]=\"{ 'is-invalid': submitted && f['description'].errors, 'w-100': true }\">\n </quill-editor>\n </pw-input-container>\n </div>\n <div class=\"row\">\n <div class=\"col-xs-12 col-sm-4 col-md-4 col-lg-4\">\n <pw-input-container [label]=\"'Admin.Incident.StartedAt' | transloco\" name=\"started_at\"\n [errorMsg]=\"'Admin.Incident.Validation.Date' | transloco\">\n <p-calendar class=\"addEditincident\" formControlName=\"started_at\" [showIcon]=\"true\" [placeholder]=\"'Admin.Incident.calender.placeholder' | transloco\"\n [showTime]=\"true\" [appendTo]=\"'body'\" dateFormat=\"dd/M/yy\">\n </p-calendar>\n </pw-input-container>\n </div>\n <div class=\"col-xs-12 col-sm-4 col-md-4 col-lg-4\">\n <pw-input-container [label]=\"'Admin.Incident.ResolvedAt' | transloco\" name=\"resolved_at\"\n [errorMsg]=\"'Admin.Incident.Validation.Date' | transloco\">\n <p-calendar class=\"addEditincident\" formControlName=\"resolved_at\" [showIcon]=\"true\" [placeholder]=\"'Admin.Incident.calender.placeholder' | transloco\"\n [showTime]=\"true\" [appendTo]=\"'body'\" dateFormat=\"dd/M/yy\">\n </p-calendar>\n </pw-input-container>\n </div>\n <div class=\"col-xs-12 col-sm-4 col-md-4 col-lg-4\">\n <pw-input-container [label]=\"'Admin.Incident.LastCheckedAt' | transloco\"\n name=\"last_check_at\" [errorMsg]=\"'Admin.Incident.Validation.Date' | transloco\">\n <p-calendar class=\"addEditincident\" formControlName=\"last_check_at\"[placeholder]=\"'Admin.Incident.calender.placeholder' | transloco\"\n [showIcon]=\"true\" [showTime]=\"true\" [appendTo]=\"'body'\" dateFormat=\"dd/M/yy\">\n </p-calendar>\n </pw-input-container>\n </div>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-12 mt-4\">\n <div class=\"mb-3 text-end\">\n <button type=\"button\" class=\"btn btn-outline-default me-2\" data-bs-toggle=\"collapse\"\n (click)=\"onCancel()\" role=\"button\" aria-expanded=\"false\"\n aria-controls=\"incidentCollapse\"> {{ 'Button.Cancel' | transloco }} </button>\n <button class=\"btn btn-primary\" [disabled]=\"!isSuperAdmin\" [buttonBusy]=\"buttonBusy\">{{\n 'Button.Save' | transloco }}</button>\n </div>\n </div>\n </div>\n </form>\n </div>\n </div>\n </div>\n</div>", 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)}\n"], dependencies: [{ kind: "component", type: i7$1.Calendar, selector: "p-calendar", inputs: ["iconDisplay", "style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepYearPicker", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "variant", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "locale", "view", "defaultDate"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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: i7.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i9.InputContainerComponent, selector: "pw-input-container", inputs: ["name", "label", "labelClass", "tooltipPosition", "required", "errorMsg", "isReadOnly", "showTooltip", "tooltipText", "showTriangle", "afterLabel", "showAfterLabel", "showTriangleText"] }, { kind: "directive", type: i10.ButtonBusyDirective, selector: "[buttonBusy]", inputs: ["buttonBusy", "busyText"] }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i11.QuillEditorComponent, selector: "quill-editor" }, { kind: "pipe", type: i12.TranslocoPipe, name: "transloco" }] }); }
|
|
@@ -6745,7 +6744,7 @@ class AddFaqComponent extends AppBaseComponent {
|
|
|
6745
6744
|
.postFaq(this.form.value, this.subscriptionId)
|
|
6746
6745
|
.subscribe(response => {
|
|
6747
6746
|
this.toast.success(this.translation.translate('Admin.Faq.AddMessage'));
|
|
6748
|
-
this.router.navigate([`${this.routers.
|
|
6747
|
+
this.router.navigate([`${this.routers.faqConfig}`]);
|
|
6749
6748
|
})
|
|
6750
6749
|
.add(() => (this.buttonBusy = false));
|
|
6751
6750
|
}
|
|
@@ -6834,7 +6833,7 @@ class AddFaqComponent extends AppBaseComponent {
|
|
|
6834
6833
|
});
|
|
6835
6834
|
}
|
|
6836
6835
|
onCancel() {
|
|
6837
|
-
this.router.navigate([`${this.routers.
|
|
6836
|
+
this.router.navigate([`${this.routers.faqConfig}`]);
|
|
6838
6837
|
}
|
|
6839
6838
|
ngOnDestroy() {
|
|
6840
6839
|
super.ngOnDestroy();
|
|
@@ -7136,7 +7135,7 @@ class EditFaqComponent extends AppBaseComponent {
|
|
|
7136
7135
|
next: response => {
|
|
7137
7136
|
this.toast.success(this.translation.translate('Admin.Faq.UpdatedMessage'));
|
|
7138
7137
|
this.toast.success(this.translation.translate('Admin.Faq.UpdatedMessage'));
|
|
7139
|
-
this.router.navigate([`${this.routers.
|
|
7138
|
+
this.router.navigate([`${this.routers.faqConfig}`]);
|
|
7140
7139
|
}
|
|
7141
7140
|
});
|
|
7142
7141
|
}
|
|
@@ -7210,7 +7209,7 @@ class EditFaqComponent extends AppBaseComponent {
|
|
|
7210
7209
|
});
|
|
7211
7210
|
}
|
|
7212
7211
|
onCancel() {
|
|
7213
|
-
this.router.navigate([`${this.routers.
|
|
7212
|
+
this.router.navigate([`${this.routers.faqConfig}`]);
|
|
7214
7213
|
}
|
|
7215
7214
|
ngOnDestroy() {
|
|
7216
7215
|
super.ngOnDestroy();
|
|
@@ -7258,7 +7257,6 @@ const routes = [
|
|
|
7258
7257
|
},
|
|
7259
7258
|
{
|
|
7260
7259
|
path: 'tips',
|
|
7261
|
-
component: TipsTabsComponent,
|
|
7262
7260
|
data: {
|
|
7263
7261
|
title: 'Tips',
|
|
7264
7262
|
permission: 'Pages.Admin'
|
|
@@ -7266,83 +7264,99 @@ const routes = [
|
|
|
7266
7264
|
children: [
|
|
7267
7265
|
{
|
|
7268
7266
|
path: '',
|
|
7269
|
-
|
|
7270
|
-
|
|
7267
|
+
component: TipsTabsComponent,
|
|
7268
|
+
children: [
|
|
7269
|
+
{
|
|
7270
|
+
path: '',
|
|
7271
|
+
redirectTo: 'list',
|
|
7272
|
+
pathMatch: 'full'
|
|
7273
|
+
},
|
|
7274
|
+
{
|
|
7275
|
+
path: 'list',
|
|
7276
|
+
component: TipsComponent
|
|
7277
|
+
}
|
|
7278
|
+
]
|
|
7271
7279
|
},
|
|
7272
7280
|
{
|
|
7273
|
-
path: '
|
|
7274
|
-
component:
|
|
7281
|
+
path: 'add',
|
|
7282
|
+
component: TipComponent,
|
|
7283
|
+
data: {
|
|
7284
|
+
title: 'Add or Edit Tip',
|
|
7285
|
+
permission: 'Pages.Admin'
|
|
7286
|
+
}
|
|
7287
|
+
},
|
|
7288
|
+
{
|
|
7289
|
+
path: ':id',
|
|
7290
|
+
component: TipComponent,
|
|
7291
|
+
data: {
|
|
7292
|
+
title: 'Tip Details',
|
|
7293
|
+
permission: 'Pages.Admin'
|
|
7294
|
+
}
|
|
7275
7295
|
}
|
|
7276
7296
|
]
|
|
7277
7297
|
},
|
|
7278
|
-
{
|
|
7279
|
-
path: 'tips/:id',
|
|
7280
|
-
component: TipComponent,
|
|
7281
|
-
data: {
|
|
7282
|
-
title: 'Tip',
|
|
7283
|
-
permission: 'Pages.Admin'
|
|
7284
|
-
}
|
|
7285
|
-
},
|
|
7286
|
-
{
|
|
7287
|
-
path: 'tips/add',
|
|
7288
|
-
component: TipComponent,
|
|
7289
|
-
data: {
|
|
7290
|
-
title: 'Tip Add or Edit',
|
|
7291
|
-
permission: 'Pages.Admin'
|
|
7292
|
-
}
|
|
7293
|
-
},
|
|
7294
7298
|
{
|
|
7295
7299
|
path: 'faq',
|
|
7296
|
-
component: FaqTabsComponent,
|
|
7297
7300
|
data: {
|
|
7298
7301
|
title: 'FAQ',
|
|
7299
7302
|
permission: 'Pages.Admin.FAQ'
|
|
7300
7303
|
},
|
|
7301
7304
|
children: [
|
|
7302
7305
|
{
|
|
7303
|
-
path: '
|
|
7304
|
-
component:
|
|
7306
|
+
path: '',
|
|
7307
|
+
component: FaqTabsComponent,
|
|
7308
|
+
children: [
|
|
7309
|
+
{
|
|
7310
|
+
path: 'list',
|
|
7311
|
+
component: FaqListComponent
|
|
7312
|
+
}
|
|
7313
|
+
]
|
|
7314
|
+
},
|
|
7315
|
+
{
|
|
7316
|
+
path: 'add',
|
|
7317
|
+
component: AddFaqComponent,
|
|
7318
|
+
data: {
|
|
7319
|
+
title: 'Add FAQ',
|
|
7320
|
+
permission: 'Pages.Admin.Incident'
|
|
7321
|
+
}
|
|
7322
|
+
},
|
|
7323
|
+
{
|
|
7324
|
+
path: ':id',
|
|
7325
|
+
component: EditFaqComponent,
|
|
7326
|
+
data: {
|
|
7327
|
+
title: 'Edit FAQ',
|
|
7328
|
+
permission: 'Pages.Admin.Incident'
|
|
7329
|
+
}
|
|
7305
7330
|
}
|
|
7306
7331
|
]
|
|
7307
7332
|
},
|
|
7308
|
-
{
|
|
7309
|
-
path: 'faq/edit/:id',
|
|
7310
|
-
component: EditFaqComponent,
|
|
7311
|
-
data: {
|
|
7312
|
-
title: 'Faq Edit',
|
|
7313
|
-
permission: 'Pages.Admin.Incident'
|
|
7314
|
-
}
|
|
7315
|
-
},
|
|
7316
|
-
{
|
|
7317
|
-
path: 'faq/add',
|
|
7318
|
-
component: AddFaqComponent,
|
|
7319
|
-
data: {
|
|
7320
|
-
title: 'Faq Add',
|
|
7321
|
-
permission: 'Pages.Admin.Incident'
|
|
7322
|
-
}
|
|
7323
|
-
},
|
|
7324
7333
|
{
|
|
7325
7334
|
path: 'incident',
|
|
7326
|
-
component: IncidentTabsComponent,
|
|
7327
7335
|
data: {
|
|
7328
7336
|
title: 'Incidents',
|
|
7329
7337
|
permission: 'Pages.Admin.Incident'
|
|
7330
7338
|
},
|
|
7331
7339
|
children: [
|
|
7332
7340
|
{
|
|
7333
|
-
path: '
|
|
7334
|
-
component:
|
|
7341
|
+
path: '',
|
|
7342
|
+
component: IncidentTabsComponent,
|
|
7343
|
+
children: [
|
|
7344
|
+
{
|
|
7345
|
+
path: 'list',
|
|
7346
|
+
component: IncidentListComponent
|
|
7347
|
+
}
|
|
7348
|
+
]
|
|
7349
|
+
},
|
|
7350
|
+
{
|
|
7351
|
+
path: ':id',
|
|
7352
|
+
component: AddEditIncidentComponent,
|
|
7353
|
+
data: {
|
|
7354
|
+
title: 'Incident',
|
|
7355
|
+
permission: 'Pages.Admin.Incident'
|
|
7356
|
+
}
|
|
7335
7357
|
}
|
|
7336
7358
|
]
|
|
7337
7359
|
},
|
|
7338
|
-
{
|
|
7339
|
-
path: 'incident/list/:id',
|
|
7340
|
-
component: AddEditIncidentComponent,
|
|
7341
|
-
data: {
|
|
7342
|
-
title: 'Incident',
|
|
7343
|
-
permission: 'Pages.Admin.Incident'
|
|
7344
|
-
}
|
|
7345
|
-
},
|
|
7346
7360
|
{
|
|
7347
7361
|
path: 'contact-us',
|
|
7348
7362
|
component: ContactUsTabsComponent,
|
|
@@ -7380,7 +7394,7 @@ const routes = [
|
|
|
7380
7394
|
]
|
|
7381
7395
|
},
|
|
7382
7396
|
{
|
|
7383
|
-
path: '
|
|
7397
|
+
path: 'add',
|
|
7384
7398
|
component: DomainConfigDetailsComponent,
|
|
7385
7399
|
data: {
|
|
7386
7400
|
title: 'DomainConfig Add',
|
|
@@ -7388,7 +7402,7 @@ const routes = [
|
|
|
7388
7402
|
}
|
|
7389
7403
|
},
|
|
7390
7404
|
{
|
|
7391
|
-
path: '
|
|
7405
|
+
path: ':id',
|
|
7392
7406
|
component: DomainConfigDetailsComponent,
|
|
7393
7407
|
data: {
|
|
7394
7408
|
title: 'DomainConfig',
|
|
@@ -7399,7 +7413,6 @@ const routes = [
|
|
|
7399
7413
|
},
|
|
7400
7414
|
{
|
|
7401
7415
|
path: 'login-notifications',
|
|
7402
|
-
component: LoginNotificationTabsComponent,
|
|
7403
7416
|
data: {
|
|
7404
7417
|
title: 'Login Notifications',
|
|
7405
7418
|
permission: 'Pages.Admin.LoginNotification'
|
|
@@ -7407,34 +7420,39 @@ const routes = [
|
|
|
7407
7420
|
children: [
|
|
7408
7421
|
{
|
|
7409
7422
|
path: '',
|
|
7410
|
-
|
|
7411
|
-
|
|
7423
|
+
component: LoginNotificationTabsComponent,
|
|
7424
|
+
children: [
|
|
7425
|
+
{
|
|
7426
|
+
path: '',
|
|
7427
|
+
redirectTo: 'list',
|
|
7428
|
+
pathMatch: 'full'
|
|
7429
|
+
},
|
|
7430
|
+
{
|
|
7431
|
+
path: 'list',
|
|
7432
|
+
component: LoginNotificationsListComponent
|
|
7433
|
+
}
|
|
7434
|
+
]
|
|
7412
7435
|
},
|
|
7413
7436
|
{
|
|
7414
|
-
path: '
|
|
7415
|
-
component:
|
|
7437
|
+
path: 'add',
|
|
7438
|
+
component: LoginNotificationDetailsComponent,
|
|
7439
|
+
data: {
|
|
7440
|
+
title: 'Login Notification Add',
|
|
7441
|
+
permission: 'Pages.Admin.LoginNotification'
|
|
7442
|
+
}
|
|
7443
|
+
},
|
|
7444
|
+
{
|
|
7445
|
+
path: ':id',
|
|
7446
|
+
component: LoginNotificationDetailsComponent,
|
|
7447
|
+
data: {
|
|
7448
|
+
title: 'Login Notification Edit',
|
|
7449
|
+
permission: 'Pages.Admin.LoginNotification'
|
|
7450
|
+
}
|
|
7416
7451
|
}
|
|
7417
7452
|
]
|
|
7418
7453
|
},
|
|
7419
|
-
{
|
|
7420
|
-
path: 'login-notification-details/add',
|
|
7421
|
-
component: LoginNotificationDetailsComponent,
|
|
7422
|
-
data: {
|
|
7423
|
-
title: 'LoginNotification Add',
|
|
7424
|
-
permission: 'Pages.Admin.LoginNotification'
|
|
7425
|
-
}
|
|
7426
|
-
},
|
|
7427
|
-
{
|
|
7428
|
-
path: 'login-notification-details/:id',
|
|
7429
|
-
component: LoginNotificationDetailsComponent,
|
|
7430
|
-
data: {
|
|
7431
|
-
title: 'LoginNotification',
|
|
7432
|
-
permission: 'Pages.Admin.LoginNotification'
|
|
7433
|
-
}
|
|
7434
|
-
},
|
|
7435
7454
|
{
|
|
7436
7455
|
path: 'newsletter',
|
|
7437
|
-
component: NewsletterComponent,
|
|
7438
7456
|
data: {
|
|
7439
7457
|
title: 'Newsletter',
|
|
7440
7458
|
permission: 'Pages.Admin.Newsletter'
|
|
@@ -7442,62 +7460,67 @@ const routes = [
|
|
|
7442
7460
|
children: [
|
|
7443
7461
|
{
|
|
7444
7462
|
path: '',
|
|
7445
|
-
|
|
7446
|
-
|
|
7463
|
+
component: NewsletterComponent,
|
|
7464
|
+
children: [
|
|
7465
|
+
{
|
|
7466
|
+
path: '',
|
|
7467
|
+
redirectTo: 'list',
|
|
7468
|
+
pathMatch: 'full'
|
|
7469
|
+
},
|
|
7470
|
+
{
|
|
7471
|
+
path: 'list',
|
|
7472
|
+
component: NewslettersListComponent
|
|
7473
|
+
},
|
|
7474
|
+
{
|
|
7475
|
+
path: 'items',
|
|
7476
|
+
component: NewslettersItemsComponent
|
|
7477
|
+
},
|
|
7478
|
+
{
|
|
7479
|
+
path: 'item/users-list/:id',
|
|
7480
|
+
component: NewsletterUsersListComponent
|
|
7481
|
+
},
|
|
7482
|
+
{
|
|
7483
|
+
path: 'insight',
|
|
7484
|
+
component: NewsletterInsightComponent
|
|
7485
|
+
}
|
|
7486
|
+
]
|
|
7447
7487
|
},
|
|
7448
7488
|
{
|
|
7449
|
-
path: '
|
|
7450
|
-
component:
|
|
7489
|
+
path: ':id',
|
|
7490
|
+
component: NewsletterDetailsComponent,
|
|
7491
|
+
data: {
|
|
7492
|
+
title: 'Newsletter',
|
|
7493
|
+
permission: 'Pages.Admin.Newsletter'
|
|
7494
|
+
}
|
|
7451
7495
|
},
|
|
7452
7496
|
{
|
|
7453
|
-
path: '
|
|
7454
|
-
component:
|
|
7497
|
+
path: 'add',
|
|
7498
|
+
component: NewsletterDetailsComponent,
|
|
7499
|
+
data: {
|
|
7500
|
+
title: 'Newsletter',
|
|
7501
|
+
permission: 'Pages.Admin.Newsletter'
|
|
7502
|
+
}
|
|
7455
7503
|
},
|
|
7456
7504
|
{
|
|
7457
|
-
path: '
|
|
7458
|
-
component:
|
|
7505
|
+
path: 'item/:id',
|
|
7506
|
+
component: NewsletterItemDetailsComponent,
|
|
7507
|
+
data: {
|
|
7508
|
+
title: 'Newsletter Item',
|
|
7509
|
+
permission: 'Pages.Admin.Newsletter'
|
|
7510
|
+
}
|
|
7459
7511
|
},
|
|
7460
7512
|
{
|
|
7461
|
-
path: '
|
|
7462
|
-
component:
|
|
7513
|
+
path: 'item/add',
|
|
7514
|
+
component: NewsletterItemDetailsComponent,
|
|
7515
|
+
data: {
|
|
7516
|
+
title: 'Newsletter Item',
|
|
7517
|
+
permission: 'Pages.Admin.Newsletter'
|
|
7518
|
+
}
|
|
7463
7519
|
}
|
|
7464
7520
|
]
|
|
7465
7521
|
},
|
|
7466
|
-
{
|
|
7467
|
-
path: 'newsletter-details/:id',
|
|
7468
|
-
component: NewsletterDetailsComponent,
|
|
7469
|
-
data: {
|
|
7470
|
-
title: 'Newsletter',
|
|
7471
|
-
permission: 'Pages.Admin.Newsletter'
|
|
7472
|
-
}
|
|
7473
|
-
},
|
|
7474
|
-
{
|
|
7475
|
-
path: 'newsletter-details/add',
|
|
7476
|
-
component: NewsletterDetailsComponent,
|
|
7477
|
-
data: {
|
|
7478
|
-
title: 'Newsletter',
|
|
7479
|
-
permission: 'Pages.Admin.Newsletter'
|
|
7480
|
-
}
|
|
7481
|
-
},
|
|
7482
|
-
{
|
|
7483
|
-
path: 'newsletter-item/:id',
|
|
7484
|
-
component: NewsletterItemDetailsComponent,
|
|
7485
|
-
data: {
|
|
7486
|
-
title: 'Newsletter Item',
|
|
7487
|
-
permission: 'Pages.Admin.Newsletter'
|
|
7488
|
-
}
|
|
7489
|
-
},
|
|
7490
|
-
{
|
|
7491
|
-
path: 'newsletter-item/add',
|
|
7492
|
-
component: NewsletterItemDetailsComponent,
|
|
7493
|
-
data: {
|
|
7494
|
-
title: 'Newsletter Item',
|
|
7495
|
-
permission: 'Pages.Admin.Newsletter'
|
|
7496
|
-
}
|
|
7497
|
-
},
|
|
7498
7522
|
{
|
|
7499
7523
|
path: 'subscriptions',
|
|
7500
|
-
component: SubscriptionComponent,
|
|
7501
7524
|
data: {
|
|
7502
7525
|
title: 'Subscription',
|
|
7503
7526
|
permission: 'Pages.Admin.Subscription'
|
|
@@ -7505,22 +7528,35 @@ const routes = [
|
|
|
7505
7528
|
children: [
|
|
7506
7529
|
{
|
|
7507
7530
|
path: '',
|
|
7508
|
-
|
|
7509
|
-
|
|
7510
|
-
|
|
7511
|
-
|
|
7512
|
-
|
|
7513
|
-
|
|
7531
|
+
component: SubscriptionComponent,
|
|
7532
|
+
children: [
|
|
7533
|
+
{
|
|
7534
|
+
path: '',
|
|
7535
|
+
redirectTo: 'list',
|
|
7536
|
+
pathMatch: 'full'
|
|
7537
|
+
},
|
|
7538
|
+
{
|
|
7539
|
+
path: 'list',
|
|
7540
|
+
component: SubscriptionsListComponent
|
|
7541
|
+
},
|
|
7542
|
+
{
|
|
7543
|
+
path: 'insight',
|
|
7544
|
+
component: SubscriptionInsightTabsComponent
|
|
7545
|
+
}
|
|
7546
|
+
]
|
|
7514
7547
|
},
|
|
7515
7548
|
{
|
|
7516
|
-
path: '
|
|
7517
|
-
component:
|
|
7549
|
+
path: 'invite-user',
|
|
7550
|
+
component: InviteUsersComponent,
|
|
7551
|
+
data: {
|
|
7552
|
+
title: 'Invite Users',
|
|
7553
|
+
permission: 'Pages.Admin.Product'
|
|
7554
|
+
}
|
|
7518
7555
|
}
|
|
7519
7556
|
]
|
|
7520
7557
|
},
|
|
7521
7558
|
{
|
|
7522
7559
|
path: 'users',
|
|
7523
|
-
component: UserTabComponent,
|
|
7524
7560
|
data: {
|
|
7525
7561
|
title: 'Users Management',
|
|
7526
7562
|
permission: 'Pages.Admin.Users'
|
|
@@ -7528,43 +7564,41 @@ const routes = [
|
|
|
7528
7564
|
children: [
|
|
7529
7565
|
{
|
|
7530
7566
|
path: '',
|
|
7531
|
-
|
|
7532
|
-
|
|
7567
|
+
component: UserTabComponent,
|
|
7568
|
+
children: [
|
|
7569
|
+
{
|
|
7570
|
+
path: '',
|
|
7571
|
+
redirectTo: 'list',
|
|
7572
|
+
pathMatch: 'full'
|
|
7573
|
+
},
|
|
7574
|
+
{
|
|
7575
|
+
path: 'list',
|
|
7576
|
+
component: UserListComponent
|
|
7577
|
+
},
|
|
7578
|
+
{
|
|
7579
|
+
path: 'insight',
|
|
7580
|
+
component: UserInsightComponent
|
|
7581
|
+
}
|
|
7582
|
+
]
|
|
7533
7583
|
},
|
|
7534
7584
|
{
|
|
7535
|
-
path: '
|
|
7536
|
-
component:
|
|
7585
|
+
path: 'add',
|
|
7586
|
+
component: UserDetailsComponent,
|
|
7587
|
+
data: {
|
|
7588
|
+
title: 'Add User',
|
|
7589
|
+
permission: 'Pages.Admin.Users'
|
|
7590
|
+
}
|
|
7537
7591
|
},
|
|
7538
7592
|
{
|
|
7539
|
-
path: '
|
|
7540
|
-
component:
|
|
7593
|
+
path: ':id',
|
|
7594
|
+
component: UserDetailsComponent,
|
|
7595
|
+
data: {
|
|
7596
|
+
title: 'User Details',
|
|
7597
|
+
permission: 'Pages.Admin.Users'
|
|
7598
|
+
}
|
|
7541
7599
|
}
|
|
7542
7600
|
]
|
|
7543
7601
|
},
|
|
7544
|
-
{
|
|
7545
|
-
path: 'user-details/:id',
|
|
7546
|
-
component: UserDetailsComponent,
|
|
7547
|
-
data: {
|
|
7548
|
-
title: 'User Management',
|
|
7549
|
-
permission: 'Pages.Admin.Users'
|
|
7550
|
-
}
|
|
7551
|
-
},
|
|
7552
|
-
{
|
|
7553
|
-
path: 'user-details/add',
|
|
7554
|
-
component: UserDetailsComponent,
|
|
7555
|
-
data: {
|
|
7556
|
-
title: 'User Management',
|
|
7557
|
-
permission: 'Pages.Admin.Users'
|
|
7558
|
-
}
|
|
7559
|
-
},
|
|
7560
|
-
{
|
|
7561
|
-
path: 'subscription-product-details/:id',
|
|
7562
|
-
component: SubscriptionProductDetailsComponent,
|
|
7563
|
-
data: {
|
|
7564
|
-
title: 'Subscription',
|
|
7565
|
-
permission: 'Pages.Admin.Subscription'
|
|
7566
|
-
}
|
|
7567
|
-
},
|
|
7568
7602
|
{
|
|
7569
7603
|
path: 'subscription/:id',
|
|
7570
7604
|
component: SubscriptionDetailsComponent,
|
|
@@ -7583,7 +7617,6 @@ const routes = [
|
|
|
7583
7617
|
},
|
|
7584
7618
|
{
|
|
7585
7619
|
path: 'products',
|
|
7586
|
-
component: ProductsComponent,
|
|
7587
7620
|
data: {
|
|
7588
7621
|
title: 'Product Management',
|
|
7589
7622
|
permission: 'Pages.Admin.Product'
|
|
@@ -7591,75 +7624,81 @@ const routes = [
|
|
|
7591
7624
|
children: [
|
|
7592
7625
|
{
|
|
7593
7626
|
path: '',
|
|
7594
|
-
|
|
7595
|
-
|
|
7596
|
-
|
|
7597
|
-
|
|
7598
|
-
|
|
7599
|
-
|
|
7600
|
-
|
|
7601
|
-
|
|
7602
|
-
|
|
7603
|
-
|
|
7627
|
+
component: ProductsTabComponent,
|
|
7628
|
+
children: [
|
|
7629
|
+
{
|
|
7630
|
+
path: '',
|
|
7631
|
+
redirectTo: 'list',
|
|
7632
|
+
pathMatch: 'full'
|
|
7633
|
+
},
|
|
7634
|
+
{
|
|
7635
|
+
path: 'list',
|
|
7636
|
+
component: ProductsListComponent
|
|
7637
|
+
},
|
|
7638
|
+
{
|
|
7639
|
+
path: 'insight',
|
|
7640
|
+
component: ProductInsightComponent
|
|
7641
|
+
},
|
|
7642
|
+
{
|
|
7643
|
+
path: 'list/users/:id',
|
|
7644
|
+
component: UsersListForProductComponent,
|
|
7645
|
+
data: {
|
|
7646
|
+
title: 'Product Management',
|
|
7647
|
+
permission: 'Pages.Admin.Product'
|
|
7648
|
+
}
|
|
7649
|
+
},
|
|
7650
|
+
{
|
|
7651
|
+
path: 'list/feedback-questions-list',
|
|
7652
|
+
component: FeedbackQuestionsListComponent,
|
|
7653
|
+
data: {
|
|
7654
|
+
title: 'FeedbackQuestions',
|
|
7655
|
+
permission: 'Pages.Admin.FeedbackQuestions'
|
|
7656
|
+
}
|
|
7657
|
+
},
|
|
7658
|
+
{
|
|
7659
|
+
path: 'list/feedback-questions-details/add',
|
|
7660
|
+
component: FeedbackQuestionsDetailsComponent,
|
|
7661
|
+
data: {
|
|
7662
|
+
title: 'FeedbackQuestions',
|
|
7663
|
+
permission: 'Pages.Admin.FeedbackQuestions'
|
|
7664
|
+
}
|
|
7665
|
+
},
|
|
7666
|
+
{
|
|
7667
|
+
path: 'list/feedback-questions-details/:id',
|
|
7668
|
+
component: FeedbackQuestionsDetailsComponent,
|
|
7669
|
+
data: {
|
|
7670
|
+
title: 'FeedbackQuestions',
|
|
7671
|
+
permission: 'Pages.Admin.FeedbackQuestions'
|
|
7672
|
+
}
|
|
7673
|
+
}
|
|
7674
|
+
]
|
|
7604
7675
|
},
|
|
7605
7676
|
{
|
|
7606
|
-
path: '
|
|
7607
|
-
component:
|
|
7677
|
+
path: 'add',
|
|
7678
|
+
component: ProductDetailsComponent,
|
|
7608
7679
|
data: {
|
|
7609
|
-
title: 'Product
|
|
7680
|
+
title: 'Add Product',
|
|
7610
7681
|
permission: 'Pages.Admin.Product'
|
|
7611
7682
|
}
|
|
7612
7683
|
},
|
|
7613
7684
|
{
|
|
7614
|
-
path: '
|
|
7615
|
-
component:
|
|
7685
|
+
path: ':id',
|
|
7686
|
+
component: ProductDetailsComponent,
|
|
7616
7687
|
data: {
|
|
7617
|
-
title: '
|
|
7618
|
-
permission: 'Pages.Admin.
|
|
7619
|
-
}
|
|
7620
|
-
},
|
|
7621
|
-
{
|
|
7622
|
-
path: 'list/feedback-questions-details/add',
|
|
7623
|
-
component: FeedbackQuestionsDetailsComponent,
|
|
7624
|
-
data: {
|
|
7625
|
-
title: 'FeedbackQuestions',
|
|
7626
|
-
permission: 'Pages.Admin.FeedbackQuestions'
|
|
7688
|
+
title: 'Product Details',
|
|
7689
|
+
permission: 'Pages.Admin.Product'
|
|
7627
7690
|
}
|
|
7628
7691
|
},
|
|
7629
7692
|
{
|
|
7630
|
-
path: '
|
|
7631
|
-
component:
|
|
7693
|
+
path: 'subscription/:id',
|
|
7694
|
+
component: SubscriptionProductDetailsComponent,
|
|
7632
7695
|
data: {
|
|
7633
|
-
title: '
|
|
7634
|
-
permission: 'Pages.Admin.
|
|
7696
|
+
title: 'Subscription',
|
|
7697
|
+
permission: 'Pages.Admin.Subscription'
|
|
7635
7698
|
}
|
|
7636
7699
|
}
|
|
7637
7700
|
]
|
|
7638
7701
|
},
|
|
7639
|
-
{
|
|
7640
|
-
path: 'products/list/product-details/:id',
|
|
7641
|
-
component: ProductDetailsComponent,
|
|
7642
|
-
data: {
|
|
7643
|
-
title: 'Product Management',
|
|
7644
|
-
permission: 'Pages.Admin.Product'
|
|
7645
|
-
}
|
|
7646
|
-
},
|
|
7647
|
-
{
|
|
7648
|
-
path: 'subscriptions/invite-user',
|
|
7649
|
-
component: InviteUsersComponent,
|
|
7650
|
-
data: {
|
|
7651
|
-
title: 'Invite Users',
|
|
7652
|
-
permission: 'Pages.Admin.Product'
|
|
7653
|
-
}
|
|
7654
|
-
},
|
|
7655
|
-
{
|
|
7656
|
-
path: 'products/list/product-details/add',
|
|
7657
|
-
component: ProductDetailsComponent,
|
|
7658
|
-
data: {
|
|
7659
|
-
title: 'Product Management',
|
|
7660
|
-
permission: 'Pages.Admin.Product'
|
|
7661
|
-
}
|
|
7662
|
-
},
|
|
7663
7702
|
{
|
|
7664
7703
|
path: 'tags',
|
|
7665
7704
|
component: TagsTabsComponent,
|
|
@@ -7692,7 +7731,6 @@ const routes = [
|
|
|
7692
7731
|
},
|
|
7693
7732
|
{
|
|
7694
7733
|
path: 'permissions',
|
|
7695
|
-
component: PermissionsTabsComponent,
|
|
7696
7734
|
data: {
|
|
7697
7735
|
title: 'Permissions',
|
|
7698
7736
|
permission: 'Pages.Admin.Roles'
|
|
@@ -7700,54 +7738,59 @@ const routes = [
|
|
|
7700
7738
|
children: [
|
|
7701
7739
|
{
|
|
7702
7740
|
path: '',
|
|
7703
|
-
|
|
7704
|
-
|
|
7741
|
+
component: PermissionsTabsComponent,
|
|
7742
|
+
children: [
|
|
7743
|
+
{
|
|
7744
|
+
path: '',
|
|
7745
|
+
redirectTo: 'list',
|
|
7746
|
+
pathMatch: 'full'
|
|
7747
|
+
},
|
|
7748
|
+
{
|
|
7749
|
+
path: 'list',
|
|
7750
|
+
component: PermissionsListComponent
|
|
7751
|
+
},
|
|
7752
|
+
{
|
|
7753
|
+
path: 'roles-list',
|
|
7754
|
+
component: RolesListComponent
|
|
7755
|
+
}
|
|
7756
|
+
]
|
|
7705
7757
|
},
|
|
7706
7758
|
{
|
|
7707
|
-
path: '
|
|
7708
|
-
component:
|
|
7759
|
+
path: 'add',
|
|
7760
|
+
component: PermissionsDetailsComponent,
|
|
7761
|
+
data: {
|
|
7762
|
+
title: 'Add Permission',
|
|
7763
|
+
permission: 'Pages.Admin.Roles'
|
|
7764
|
+
}
|
|
7709
7765
|
},
|
|
7710
7766
|
{
|
|
7711
|
-
path: '
|
|
7712
|
-
component:
|
|
7767
|
+
path: ':id',
|
|
7768
|
+
component: PermissionsDetailsComponent,
|
|
7769
|
+
data: {
|
|
7770
|
+
title: 'Permissions',
|
|
7771
|
+
permission: 'Pages.Admin.Roles'
|
|
7772
|
+
}
|
|
7773
|
+
},
|
|
7774
|
+
{
|
|
7775
|
+
path: 'role/add',
|
|
7776
|
+
component: RoleDetailsComponent,
|
|
7777
|
+
data: {
|
|
7778
|
+
title: 'Role Management',
|
|
7779
|
+
permission: 'Pages.Admin.Roles'
|
|
7780
|
+
}
|
|
7781
|
+
},
|
|
7782
|
+
{
|
|
7783
|
+
path: 'role/:id',
|
|
7784
|
+
component: RoleDetailsComponent,
|
|
7785
|
+
data: {
|
|
7786
|
+
title: 'Role Management',
|
|
7787
|
+
permission: 'Pages.Admin.Roles'
|
|
7788
|
+
}
|
|
7713
7789
|
}
|
|
7714
7790
|
]
|
|
7715
7791
|
},
|
|
7716
|
-
{
|
|
7717
|
-
path: 'permissions-details/:id',
|
|
7718
|
-
component: PermissionsDetailsComponent,
|
|
7719
|
-
data: {
|
|
7720
|
-
title: 'Permissions',
|
|
7721
|
-
permission: 'Pages.Admin.Roles'
|
|
7722
|
-
}
|
|
7723
|
-
},
|
|
7724
|
-
{
|
|
7725
|
-
path: 'permissions-details/add',
|
|
7726
|
-
component: PermissionsDetailsComponent,
|
|
7727
|
-
data: {
|
|
7728
|
-
title: 'Permissions',
|
|
7729
|
-
permission: 'Pages.Admin.Roles'
|
|
7730
|
-
}
|
|
7731
|
-
},
|
|
7732
|
-
{
|
|
7733
|
-
path: 'role-details/:id',
|
|
7734
|
-
component: RoleDetailsComponent,
|
|
7735
|
-
data: {
|
|
7736
|
-
title: 'Role Management',
|
|
7737
|
-
permission: 'Pages.Admin.Roles'
|
|
7738
|
-
}
|
|
7739
|
-
},
|
|
7740
|
-
{
|
|
7741
|
-
path: 'role-details/add',
|
|
7742
|
-
component: RoleDetailsComponent,
|
|
7743
|
-
data: {
|
|
7744
|
-
title: 'Role Management',
|
|
7745
|
-
permission: 'Pages.Admin.Roles'
|
|
7746
|
-
}
|
|
7747
|
-
},
|
|
7748
7792
|
{
|
|
7749
7793
|
path: 'tos',
|
|
7750
|
-
component: TermsOfServiceTabsComponent,
|
|
7751
7794
|
data: {
|
|
7752
7795
|
title: 'Tos',
|
|
7753
7796
|
permission: 'Pages.Admin.Tos'
|
|
@@ -7755,34 +7798,39 @@ const routes = [
|
|
|
7755
7798
|
children: [
|
|
7756
7799
|
{
|
|
7757
7800
|
path: '',
|
|
7758
|
-
|
|
7759
|
-
|
|
7801
|
+
component: TermsOfServiceTabsComponent,
|
|
7802
|
+
children: [
|
|
7803
|
+
{
|
|
7804
|
+
path: '',
|
|
7805
|
+
redirectTo: 'list',
|
|
7806
|
+
pathMatch: 'full'
|
|
7807
|
+
},
|
|
7808
|
+
{
|
|
7809
|
+
path: 'list',
|
|
7810
|
+
component: TermsOfServiceComponent
|
|
7811
|
+
}
|
|
7812
|
+
]
|
|
7760
7813
|
},
|
|
7761
7814
|
{
|
|
7762
|
-
path: '
|
|
7763
|
-
component:
|
|
7815
|
+
path: 'add',
|
|
7816
|
+
component: TermsOfServiceDetailsComponent,
|
|
7817
|
+
data: {
|
|
7818
|
+
title: 'Tos',
|
|
7819
|
+
permission: 'Pages.Admin.Tos'
|
|
7820
|
+
}
|
|
7821
|
+
},
|
|
7822
|
+
{
|
|
7823
|
+
path: ':id',
|
|
7824
|
+
component: TermsOfServiceDetailsComponent,
|
|
7825
|
+
data: {
|
|
7826
|
+
title: 'Tos',
|
|
7827
|
+
permission: 'Pages.Admin.Tos'
|
|
7828
|
+
}
|
|
7764
7829
|
}
|
|
7765
7830
|
]
|
|
7766
7831
|
},
|
|
7767
|
-
{
|
|
7768
|
-
path: 'tos-details/:id',
|
|
7769
|
-
component: TermsOfServiceDetailsComponent,
|
|
7770
|
-
data: {
|
|
7771
|
-
title: 'Tos',
|
|
7772
|
-
permission: 'Pages.Admin.Tos'
|
|
7773
|
-
}
|
|
7774
|
-
},
|
|
7775
|
-
{
|
|
7776
|
-
path: 'tos-details/add',
|
|
7777
|
-
component: TermsOfServiceDetailsComponent,
|
|
7778
|
-
data: {
|
|
7779
|
-
title: 'Tos',
|
|
7780
|
-
permission: 'Pages.Admin.Tos'
|
|
7781
|
-
}
|
|
7782
|
-
},
|
|
7783
7832
|
{
|
|
7784
7833
|
path: 'credentials',
|
|
7785
|
-
component: CredentialsTabComponent,
|
|
7786
7834
|
data: {
|
|
7787
7835
|
title: 'Credential Management',
|
|
7788
7836
|
permission: 'Pages.Admin.Credential'
|
|
@@ -7790,51 +7838,57 @@ const routes = [
|
|
|
7790
7838
|
children: [
|
|
7791
7839
|
{
|
|
7792
7840
|
path: '',
|
|
7793
|
-
|
|
7794
|
-
|
|
7841
|
+
component: CredentialsTabComponent,
|
|
7842
|
+
children: [
|
|
7843
|
+
{
|
|
7844
|
+
path: '',
|
|
7845
|
+
redirectTo: 'list',
|
|
7846
|
+
pathMatch: 'full'
|
|
7847
|
+
},
|
|
7848
|
+
{
|
|
7849
|
+
path: 'list',
|
|
7850
|
+
component: CredentialsComponent
|
|
7851
|
+
},
|
|
7852
|
+
{
|
|
7853
|
+
path: 'subscription',
|
|
7854
|
+
component: SubscriptionCredentialsComponent
|
|
7855
|
+
}
|
|
7856
|
+
]
|
|
7795
7857
|
},
|
|
7796
7858
|
{
|
|
7797
|
-
path: '
|
|
7798
|
-
component:
|
|
7859
|
+
path: 'add',
|
|
7860
|
+
component: CredentialsDetailsComponent,
|
|
7861
|
+
data: {
|
|
7862
|
+
title: 'Credential Management Add',
|
|
7863
|
+
permission: 'Pages.Admin.Credential'
|
|
7864
|
+
}
|
|
7865
|
+
},
|
|
7866
|
+
{
|
|
7867
|
+
path: ':id',
|
|
7868
|
+
component: CredentialsDetailsComponent,
|
|
7869
|
+
data: {
|
|
7870
|
+
title: 'Credential Management',
|
|
7871
|
+
permission: 'Pages.Admin.Credential'
|
|
7872
|
+
}
|
|
7873
|
+
},
|
|
7874
|
+
{
|
|
7875
|
+
path: 'subscription/:id',
|
|
7876
|
+
component: SubscriptionCredentialsDetailsComponent,
|
|
7877
|
+
data: {
|
|
7878
|
+
title: 'Credential Management Subscription Details',
|
|
7879
|
+
permission: 'Pages.Admin.Credential'
|
|
7880
|
+
}
|
|
7799
7881
|
},
|
|
7800
7882
|
{
|
|
7801
|
-
path: 'subscription
|
|
7802
|
-
component:
|
|
7883
|
+
path: 'subscription/add',
|
|
7884
|
+
component: SubscriptionCredentialsDetailsComponent,
|
|
7885
|
+
data: {
|
|
7886
|
+
title: 'Credential Management',
|
|
7887
|
+
permission: 'Pages.Admin.Credential'
|
|
7888
|
+
}
|
|
7803
7889
|
}
|
|
7804
7890
|
]
|
|
7805
7891
|
},
|
|
7806
|
-
{
|
|
7807
|
-
path: 'credentials-details/:id',
|
|
7808
|
-
component: CredentialsDetailsComponent,
|
|
7809
|
-
data: {
|
|
7810
|
-
title: 'Credential Management',
|
|
7811
|
-
permission: 'Pages.Admin.Credential'
|
|
7812
|
-
}
|
|
7813
|
-
},
|
|
7814
|
-
{
|
|
7815
|
-
path: 'credentials-details/add',
|
|
7816
|
-
component: CredentialsDetailsComponent,
|
|
7817
|
-
data: {
|
|
7818
|
-
title: 'Credential Management',
|
|
7819
|
-
permission: 'Pages.Admin.Credential'
|
|
7820
|
-
}
|
|
7821
|
-
},
|
|
7822
|
-
{
|
|
7823
|
-
path: 'subscription-credentials-details/:id',
|
|
7824
|
-
component: SubscriptionCredentialsDetailsComponent,
|
|
7825
|
-
data: {
|
|
7826
|
-
title: 'Credential Management',
|
|
7827
|
-
permission: 'Pages.Admin.Credential'
|
|
7828
|
-
}
|
|
7829
|
-
},
|
|
7830
|
-
{
|
|
7831
|
-
path: 'subscription-credentials-details/add',
|
|
7832
|
-
component: SubscriptionCredentialsDetailsComponent,
|
|
7833
|
-
data: {
|
|
7834
|
-
title: 'Credential Management',
|
|
7835
|
-
permission: 'Pages.Admin.Credential'
|
|
7836
|
-
}
|
|
7837
|
-
},
|
|
7838
7892
|
{
|
|
7839
7893
|
path: 'tracking',
|
|
7840
7894
|
component: TrackingComponent,
|
|
@@ -7872,7 +7926,6 @@ const routes = [
|
|
|
7872
7926
|
},
|
|
7873
7927
|
{
|
|
7874
7928
|
path: 'global-config',
|
|
7875
|
-
component: GlobalConfigTabsComponent,
|
|
7876
7929
|
data: {
|
|
7877
7930
|
title: 'Global config',
|
|
7878
7931
|
permission: 'Pages.Admin.Global-Config'
|
|
@@ -7880,22 +7933,28 @@ const routes = [
|
|
|
7880
7933
|
children: [
|
|
7881
7934
|
{
|
|
7882
7935
|
path: '',
|
|
7883
|
-
|
|
7884
|
-
|
|
7936
|
+
component: GlobalConfigTabsComponent,
|
|
7937
|
+
children: [
|
|
7938
|
+
{
|
|
7939
|
+
path: '',
|
|
7940
|
+
redirectTo: 'list',
|
|
7941
|
+
pathMatch: 'full'
|
|
7942
|
+
},
|
|
7943
|
+
{
|
|
7944
|
+
path: 'list',
|
|
7945
|
+
component: GlobalConfigListComponent
|
|
7946
|
+
}
|
|
7947
|
+
]
|
|
7885
7948
|
},
|
|
7886
7949
|
{
|
|
7887
|
-
path: '
|
|
7888
|
-
component:
|
|
7950
|
+
path: 'add',
|
|
7951
|
+
component: GlobalConfigDetailsComponent
|
|
7952
|
+
},
|
|
7953
|
+
{
|
|
7954
|
+
path: ':id',
|
|
7955
|
+
component: GlobalConfigDetailsComponent
|
|
7889
7956
|
}
|
|
7890
7957
|
]
|
|
7891
|
-
},
|
|
7892
|
-
{
|
|
7893
|
-
path: 'global-config/list/details/add',
|
|
7894
|
-
component: GlobalConfigDetailsComponent
|
|
7895
|
-
},
|
|
7896
|
-
{
|
|
7897
|
-
path: 'global-config/list/details/:id',
|
|
7898
|
-
component: GlobalConfigDetailsComponent
|
|
7899
7958
|
}
|
|
7900
7959
|
]
|
|
7901
7960
|
}
|
|
@@ -7946,7 +8005,7 @@ class AdminModule {
|
|
|
7946
8005
|
FeedbackQuestionsListComponent,
|
|
7947
8006
|
FeedbackQuestionsDetailsComponent,
|
|
7948
8007
|
UserDetailsComponent,
|
|
7949
|
-
|
|
8008
|
+
ProductsTabComponent,
|
|
7950
8009
|
SubscriptionDetailsComponent,
|
|
7951
8010
|
NewsletterDetailsComponent,
|
|
7952
8011
|
NewsletterItemDetailsComponent,
|
|
@@ -8096,7 +8155,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
|
|
|
8096
8155
|
FeedbackQuestionsListComponent,
|
|
8097
8156
|
FeedbackQuestionsDetailsComponent,
|
|
8098
8157
|
UserDetailsComponent,
|
|
8099
|
-
|
|
8158
|
+
ProductsTabComponent,
|
|
8100
8159
|
SubscriptionDetailsComponent,
|
|
8101
8160
|
NewsletterDetailsComponent,
|
|
8102
8161
|
NewsletterItemDetailsComponent,
|
|
@@ -8254,5 +8313,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
|
|
|
8254
8313
|
* Generated bundle index. Do not edit.
|
|
8255
8314
|
*/
|
|
8256
8315
|
|
|
8257
|
-
export { AddFaqComponent, AdminGuardService, AdminModule, AdminRoutingModule, AgentDetailsComponent, AhoyEventsComponent, AhoyMessagesComponent, AhoyVisitsComponent, ContactUsListComponent, ContactUsTabsComponent, CredentialsComponent, CredentialsDetailsComponent, CredentialsTabComponent, DomainConfigBuildComponent, DomainConfigCoreComponent, DomainConfigDetailsComponent, DomainConfigIntegrationsComponent, DomainConfigInterfaceComponent, DomainConfigListComponent, DomainConfigOrganizationComponent, DomainConfigSecurityComponent, DomainConfigSocialComponent, DomainConfigTabsComponent, EditFaqComponent, EventsComponent, FaqListComponent, FaqTabsComponent, FeedbackQuestionsDetailsComponent, FeedbackQuestionsListComponent, GeneralTabsComponent, GenericInsightComponent, GenericMiscComponent, GlobalConfigDetailsComponent, GlobalConfigListComponent, GlobalConfigTabsComponent, InsightComponent, LoginNotificationDetailsComponent, LoginNotificationTabsComponent, LoginNotificationsListComponent, NewsletterComponent, NewsletterDetailsComponent, NewsletterInsightComponent, NewsletterItemDetailsComponent, NewsletterUsersListComponent, NewslettersItemsComponent, NewslettersListComponent, PermissionsDetailsComponent, PermissionsListComponent, PermissionsTabsComponent, ProductDetailsComponent, ProductInsightComponent,
|
|
8316
|
+
export { AddFaqComponent, AdminGuardService, AdminModule, AdminRoutingModule, AgentDetailsComponent, AhoyEventsComponent, AhoyMessagesComponent, AhoyVisitsComponent, ContactUsListComponent, ContactUsTabsComponent, CredentialsComponent, CredentialsDetailsComponent, CredentialsTabComponent, DomainConfigBuildComponent, DomainConfigCoreComponent, DomainConfigDetailsComponent, DomainConfigIntegrationsComponent, DomainConfigInterfaceComponent, DomainConfigListComponent, DomainConfigOrganizationComponent, DomainConfigSecurityComponent, DomainConfigSocialComponent, DomainConfigTabsComponent, EditFaqComponent, EventsComponent, FaqListComponent, FaqTabsComponent, FeedbackQuestionsDetailsComponent, FeedbackQuestionsListComponent, GeneralTabsComponent, GenericInsightComponent, GenericMiscComponent, GlobalConfigDetailsComponent, GlobalConfigListComponent, GlobalConfigTabsComponent, InsightComponent, LoginNotificationDetailsComponent, LoginNotificationTabsComponent, LoginNotificationsListComponent, NewsletterComponent, NewsletterDetailsComponent, NewsletterInsightComponent, NewsletterItemDetailsComponent, NewsletterUsersListComponent, NewslettersItemsComponent, NewslettersListComponent, PermissionsDetailsComponent, PermissionsListComponent, PermissionsTabsComponent, ProductDetailsComponent, ProductInsightComponent, ProductsListComponent, ProductsTabComponent, ROUTERS, RoleDetailsComponent, RolesListComponent, SubscriptionAgentsListComponent, SubscriptionComponent, SubscriptionCredentialsComponent, SubscriptionCredentialsDetailsComponent, SubscriptionDetailsComponent, SubscriptionInsightNpsComponent, SubscriptionInsightRevenueComponent, SubscriptionInsightTabsComponent, SubscriptionProductDetailsComponent, SubscriptionProductsComponent, SubscriptionUsersComponent, SubscriptionsListComponent, TagsCategoryComponent, TagsListComponent, TagsTabsComponent, TermsOfServiceComponent, TermsOfServiceDetailsComponent, TermsOfServiceTabsComponent, TipComponent, TipsComponent, TipsTabsComponent, TrackingComponent, UserDetailsComponent, UserInsightComponent, UserListComponent, UserTabComponent, UsersListForProductComponent, VersionsComponent };
|
|
8258
8317
|
//# sourceMappingURL=posiwise-admin-module.mjs.map
|