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B;QAAhBA,wDAAA,iBAAgB;QACtBA,uDAAA,EAAe;QAAfA,wDAAA,gBAAe;QAChBA,uDAAA,EAA8B;QAA9BA,wDAAA,+BAA8B;QAG9BA,uDAAA,EAA+B;QAA/BA,wDAAA,SAAA2B,GAAA,CAAAipB,WAAA,eAA+B;QAwC8B5qB,uDAAA,EAA+B;QAA/BA,wDAAA,SAAA2B,GAAA,CAAAipB,WAAA,eAA+B;QAKlH5qB,uDAAA,EAAwB;QAAxBA,wDAAA,SAAA2B,GAAA,CAAA4b,kBAAA,CAAwB;QAMxBvd,uDAAA,EAAyB;QAAzBA,wDAAA,SAAA2B,GAAA,CAAA6b,mBAAA,CAAyB;QAOzBxd,uDAAA,EAAiB;QAAjBA,wDAAA,SAAA2B,GAAA,CAAA2rB,WAAA,CAAiB;;;;;;SDjIT/gB,gCAAgC;AAAA","sources":["./src/app/models/message/message-log-filter.model.ts","./src/app/models/message/message-log-grid.model.ts","./src/app/models/templates/invoice-template-pd.mode.ts","./src/app/models/templates/invoice-template.model.ts","./src/app/models/templates/message-template-pd.model.ts","./src/app/routes/message-centre/invoice-report/invoice-report.component.ts","./src/app/routes/message-centre/invoice-report/invoice-report.component.html","./src/app/routes/message-centre/invoice-template/invoice-template.component.ts","./src/app/routes/message-centre/invoice-template/invoice-template.component.html","./src/app/routes/message-centre/message-centre.module.ts","./src/app/routes/message-centre/messaging-logs/message-logs.service.ts","./src/app/routes/message-centre/messaging-logs/messaging-logs-preview/messaging-logs-preview.component.ts","./src/app/routes/message-centre/messaging-logs/messaging-logs-preview/messaging-logs-preview.component.html","./src/app/routes/message-centre/messaging-logs/messaging-logs.component.ts","./src/app/routes/message-centre/messaging-logs/messaging-logs.component.html","./src/app/routes/message-centre/settings-messaging-centre/messaging-centre-details/messaging-centre-details.component.ts","./src/app/routes/message-centre/settings-messaging-centre/messaging-centre-details/messaging-centre-details.component.html","./src/app/routes/message-centre/settings-messaging-centre/messaging-centre.service.ts","./src/app/routes/message-centre/settings-messaging-centre/settings-messaging-centre.component.ts","./src/app/routes/message-centre/settings-messaging-centre/settings-messaging-centre.component.html"],"sourcesContent":["import { EnumModel } from '../shared/enum-model';\r\n\r\nexport class MessageLogFilterModel {\r\n date: Date;\r\n status: EnumModel;\r\n type: EnumModel;\r\n page: number; // koja je strana\r\n messagesPerPage: number; // koliko ih ima\r\n\r\n constructor(date = null, status = null, type = null, page = 1, messagesPerPage = 15) {\r\n this.date = date;\r\n this.status = status;\r\n this.type = type;\r\n this.page = page;\r\n this.messagesPerPage = messagesPerPage;\r\n }\r\n}\r\n","import { GridConfiguration, GridRequest } from '../../shared/helpers/dx-grid-helper';\r\n\r\nexport class MessageLogsGridModel extends GridRequest {\r\n public filters: MessageLogsFilterApiModel;\r\n\r\n constructor() {\r\n super();\r\n this.filters = new MessageLogsFilterApiModel();\r\n }\r\n}\r\n\r\nexport class MessageLogsFilterApiModel {\r\n otaConnectionId: number;\r\n date: string;\r\n status: string;\r\n type: string;\r\n}\r\n\r\nexport class MessageLogsGridResponseModel extends GridConfiguration {\r\n constructor() {\r\n super();\r\n this.columns = [\r\n {\r\n dataField: 'refNumber',\r\n caption: 'Booking #',\r\n cellTemplate: 'refNumber',\r\n allowSorting: true,\r\n alignment: 'left',\r\n width: 70,\r\n },\r\n { dataField: 'type', caption: 'Type', allowSorting: true, width: 60 },\r\n { dataField: 'recipient', caption: 'Recipient', allowSorting: false, alignment: 'left', width: 180 },\r\n { dataField: 'id', caption: 'Id', allowSorting: true, alignment: 'left', width: 50 },\r\n {\r\n dataField: 'subject',\r\n cellTemplate: 'subject',\r\n caption: 'Message',\r\n allowSorting: false,\r\n alignment: 'left',\r\n width: 180,\r\n },\r\n { cellTemplate: 'subjectIcon', caption: '', allowSorting: false, alignment: 'center', width: 30 },\r\n {\r\n dataField: 'scheduledTime',\r\n cellTemplate: 'time',\r\n caption: 'Scheduled Time',\r\n allowSorting: true,\r\n format: 'dd/MM/yyyy, H:mm',\r\n alignment: 'left',\r\n width: 150,\r\n },\r\n {\r\n dataField: 'timeSent',\r\n cellTemplate: 'timeSent',\r\n caption: 'Time Sent',\r\n allowSorting: true,\r\n format: 'dd/MM/yyyy, H:mm',\r\n alignment: 'left',\r\n width: 150,\r\n },\r\n {\r\n dataField: 'status',\r\n cellTemplate: 'status',\r\n caption: 'Status',\r\n allowSorting: false,\r\n alignment: 'left',\r\n width: 100,\r\n },\r\n {\r\n dataField: 'status',\r\n cellTemplate: 'action',\r\n caption: '',\r\n allowSorting: false,\r\n alignment: 'left',\r\n width: 50,\r\n },\r\n {\r\n dataField: 'responseMessage',\r\n cellTemplate: 'responseMessage',\r\n caption: '',\r\n allowSorting: false,\r\n alignment: 'left',\r\n width: 30,\r\n },\r\n ];\r\n\r\n this.customSearch = [\r\n {\r\n fieldName: 'searchString',\r\n value: '',\r\n },\r\n ];\r\n\r\n this.pager = {\r\n showPageSizeSelector: true,\r\n showNavigationButtons: true,\r\n allowedPageSizes: [10, 15, 20],\r\n pageSize: 10,\r\n showInfo: false,\r\n };\r\n }\r\n\r\n mapGridRequest(gridRequest: GridRequest, loadOptions: any) {\r\n super.mapGridRequest(gridRequest, loadOptions);\r\n gridRequest.options.customSearch = this.customSearch;\r\n }\r\n}\r\n","import { EnumModel } from '../shared/enum-model';\r\nimport { InvoiceTemplateModel } from './invoice-template.model';\r\nimport { MessageTemplateModel } from './message-template.model';\r\n\r\nexport class InvoiceTemplatePDModel {\r\n public invoiceTemplate: InvoiceTemplateModel;\r\n public logoTypes: EnumModel[];\r\n public messageGuestTemplate: MessageTemplateModel;\r\n public messagePartnerTemplate: MessageTemplateModel;\r\n public messageStatementTemplate: MessageTemplateModel;\r\n public messagePaymentLinkTemplate: MessageTemplateModel;\r\n\r\n constructor() {\r\n this.logoTypes = [];\r\n this.invoiceTemplate = new InvoiceTemplateModel();\r\n this.messageGuestTemplate = new MessageTemplateModel();\r\n this.messagePartnerTemplate = new MessageTemplateModel();\r\n this.messageStatementTemplate = new MessageTemplateModel();\r\n this.messagePaymentLinkTemplate = new MessageTemplateModel();\r\n }\r\n}\r\n","export class InvoiceTemplateModel {\r\n id: number;\r\n propertyId: number;\r\n name: string;\r\n content: string;\r\n active: boolean;\r\n dateCreated: Date;\r\n isDefault: boolean;\r\n logoType: string;\r\n logo: string;\r\n}\r\n","import { EnumModel } from '../shared/enum-model';\r\nimport { RatePlanBaseModel } from '../rate-plan/rate-plan-base.model';\r\nimport { RateScheduleBaseModel } from '../rate-schedule/rate-schedule-base.model';\r\nimport { PartnerModel } from '../partners/partner.model';\r\nimport { MessageTemplateModel } from './message-template.model';\r\nimport { SaleItemModel } from '../cost-center/sale-item.model';\r\n\r\nexport class MessageTemplatePDModel {\r\n public messageTemplateTypes: EnumModelSelected[] = [];\r\n public messageTemplateSenders: EnumModelSelected[] = [];\r\n public messageTemplateRecipients: EnumModelSelected[] = [];\r\n public messageTemplateBookingSources: EnumModelSelected[] = [];\r\n public messageTemplateFilters: EnumModel[] = [];\r\n public messageTemplateScheduleTypes: EnumModelSelected[] = [];\r\n public messageTemplateScheduleEventTriggers: EnumModel[] = [];\r\n public messageTemplateScheduleTimeTriggers: EnumModelSelected[] = [];\r\n public ratePlansSource: RatePlanBaseModel[] = [];\r\n public rateSchedulesSource: RateScheduleBaseModel[] = [];\r\n public partnersSource: PartnerModel[] = [];\r\n public otaSource: number[] = [];\r\n public messageTemplate: MessageTemplateModel;\r\n public bookingTypes: EnumModelSelected[] = [];\r\n public saleItemsSource: SaleItemModel[] = [];\r\n\r\n constructor() {\r\n this.messageTemplate = new MessageTemplateModel();\r\n }\r\n}\r\n\r\nexport class EnumModelSelected extends EnumModel {\r\n public selected: boolean;\r\n}\r\n","import { Component, OnInit, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { SafeHtml, DomSanitizer } from '@angular/platform-browser';\r\nimport { AfterViewInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-invoice-report',\r\n templateUrl: './invoice-report.component.html',\r\n styleUrls: ['./invoice-report.component.less'],\r\n})\r\nexport class InvoiceReportComponent implements OnInit, AfterViewInit {\r\n @Input() invoiceHtml: string;\r\n safeHtml: SafeHtml;\r\n designInvoice: any;\r\n\r\n constructor(private sanitizer: DomSanitizer) {}\r\n\r\n ngOnInit() {\r\n this.safeHtml = this.sanitizer.bypassSecurityTrustHtml(this.invoiceHtml);\r\n }\r\n\r\n ngAfterViewInit() {\r\n document.forms['cpform'].submit();\r\n }\r\n}\r\n","
\r\n","import { Component, OnInit, Sanitizer } from '@angular/core';\r\nimport { UntypedFormBuilder } from '@angular/forms';\r\nimport { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';\r\nimport { ToastService } from 'src/app/shared/services/toast.service';\r\nimport { ToastEventType } from 'src/app/enums/toast-event-type';\r\nimport { InvoiceTemplatePDModel } from 'src/app/models/templates/invoice-template-pd.mode';\r\nimport { SettingsTemplatesService } from '../../settings/settings-templates/settings-templates.service';\r\nimport { AuthTokenService } from 'src/app/shared/services/auth-token.service';\r\nimport { MessageTemplateModel } from 'src/app/models/templates/message-template.model';\r\nimport { TokenContext } from 'src/app/models/auth-jwt/token-context';\r\n\r\n@Component({\r\n selector: 'app-invoice-template',\r\n templateUrl: './invoice-template.component.html',\r\n styleUrls: ['./invoice-template.component.less'],\r\n})\r\nexport class InvoiceTemplateComponent implements OnInit {\r\n title = 'Templates';\r\n invoiceIframeHtml: any;\r\n invoiceTemplatePDModel: InvoiceTemplatePDModel = new InvoiceTemplatePDModel();\r\n invoiceTemplateLoader = false;\r\n theme: number;\r\n\r\n logoTypes: string[] = [];\r\n logoType: string;\r\n\r\n logoUploaded = false;\r\n file: File[] = [];\r\n logo = '';\r\n\r\n openGuestInvoiceTemplateList = false;\r\n openPartnerInvoiceTemplateList = false;\r\n openPartnerStatementsTemplateList = false;\r\n openPaymentLinkTemplateList = false;\r\n invoiceIframeUrl: SafeResourceUrl = '';\r\n\r\n token: TokenContext = new TokenContext();\r\n\r\n constructor(\r\n private settingsTemplatesService: SettingsTemplatesService,\r\n private fb: UntypedFormBuilder,\r\n private sanitizer: DomSanitizer,\r\n private toasterService: ToastService\r\n ) {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n this.token = AuthTokenService.decodeJwtToken();\r\n }\r\n\r\n ngOnInit() {\r\n this.getInvoiceForProperty();\r\n this.getInvoiceForm();\r\n }\r\n\r\n getInvoiceForm() {\r\n const id = AuthTokenService.decodeJwtToken().Property.Id;\r\n this.settingsTemplatesService.getInvoiceReportsAccessToken().subscribe((response) => {\r\n this.invoiceIframeUrl = this.sanitizer.bypassSecurityTrustResourceUrl(this.settingsTemplatesService.getInvoiceReportsIFrameUrl + '?token=' + response);\r\n });;\r\n }\r\n\r\n getInvoiceForProperty() {\r\n this.settingsTemplatesService.getInvoiceTemplateForProperty().subscribe((response) => {\r\n this.invoiceTemplatePDModel = response;\r\n this.logoTypes = this.invoiceTemplatePDModel.logoTypes.map((x) => x.name);\r\n this.logo = this.invoiceTemplatePDModel.invoiceTemplate.logo;\r\n });\r\n }\r\n\r\n openGInvoiceTemplates() {\r\n this.openGuestInvoiceTemplateList = true;\r\n }\r\n\r\n openPInvoiceTemplates() {\r\n this.openPartnerInvoiceTemplateList = true;\r\n }\r\n\r\n openStatementsTemplates() {\r\n this.openPartnerStatementsTemplateList = true;\r\n }\r\n\r\n openPaymentLinkTemplates() {\r\n this.openPaymentLinkTemplateList = true;\r\n }\r\n\r\n selectGuestTemplate(template: MessageTemplateModel) {\r\n this.invoiceTemplatePDModel.messageGuestTemplate = template;\r\n }\r\n\r\n selectPartnerInvoiceTemplate(template: MessageTemplateModel) {\r\n this.invoiceTemplatePDModel.messagePartnerTemplate = template;\r\n }\r\n\r\n selectPartnerStatementTemplate(template: MessageTemplateModel) {\r\n this.invoiceTemplatePDModel.messageStatementTemplate = template;\r\n }\r\n\r\n selectPaymentLinkTemplate(template: MessageTemplateModel) {\r\n this.invoiceTemplatePDModel.messagePaymentLinkTemplate = template;\r\n }\r\n\r\n saveInvoiceTemplate() {\r\n this.invoiceTemplateLoader = true;\r\n this.invoiceTemplatePDModel.invoiceTemplate.logo = this.logo;\r\n this.settingsTemplatesService.updateInvoiceTemplate(this.invoiceTemplatePDModel).subscribe((response) => {\r\n this.invoiceTemplateLoader = false;\r\n document.forms['cpform'].submit();\r\n });\r\n }\r\n\r\n uploadInvoiceLogo(event) {\r\n const component = this;\r\n const files: any = event.target.files;\r\n const urlStringReader = new FileReader();\r\n if (files.length && files.length > 0 && this.isValidUploadData(files)) {\r\n this.logoUploaded = true;\r\n const file = files[0];\r\n\r\n urlStringReader.addEventListener('load', function (event: any) {\r\n const src = event.target.result;\r\n component.logo = '';\r\n component.logo = src.split(',').pop();\r\n component.file = [];\r\n component.file.push(file);\r\n });\r\n urlStringReader.readAsDataURL(file);\r\n } else {\r\n this.toasterService.showToast('Error', 'File size exceeds the set limit of 4MB. Please try with a smaller file.', null, ToastEventType.Error, true, 5000);\r\n }\r\n }\r\n\r\n isValidUploadData(files: FileList) {\r\n let valid = true;\r\n Object.keys(files).forEach((i) => {\r\n if (files[i].size >= 4000000) {\r\n valid = false;\r\n }\r\n });\r\n return valid;\r\n }\r\n\r\n removeLogo() {\r\n this.logo = '';\r\n this.file = [];\r\n this.invoiceTemplatePDModel.invoiceTemplate.logo = null;\r\n this.logoUploaded = false;\r\n }\r\n\r\n sanitize() {\r\n return this.sanitizer.bypassSecurityTrustUrl('data:image/jpeg;base64,' + this.logo);\r\n }\r\n}\r\n","
\r\n
\r\n

Finance Templates

\r\n
\r\n
\r\n
\r\n
Select Logo Type
\r\n \r\n
\r\n
{{ logoType }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Upload Property Logo
\r\n \r\n \r\n
\r\n
\r\n
Uploaded Logo
\r\n
\r\n \"\"\r\n\r\n
\r\n
Remove
\r\n
\r\n
* Maximum image size that you can upload is 4MB
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
Payment Link Template
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
Guest Invoice Template
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
Partner Invoice Template
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
Partner Statement Template
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
Footer text
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n Save\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { AuthGuardUserByRole } from 'src/app/shared/auth-guards/auth-guard.service';\r\nimport { RouterModule, mapToCanActivate } from '@angular/router';\r\nimport { InvoiceTemplateComponent } from './invoice-template/invoice-template.component';\r\nimport { MessagingLogsComponent } from './messaging-logs/messaging-logs.component';\r\nimport { CommonModule } from '@angular/common';\r\nimport { SharedModule } from 'src/app/shared/shared.module';\r\nimport {\r\n DxSelectBoxModule,\r\n DxDataGridModule,\r\n DxDateBoxModule,\r\n DxPopoverModule,\r\n DxTooltipModule,\r\n DxRadioGroupModule,\r\n DxTextAreaModule,\r\n DxCheckBoxModule,\r\n} from 'devextreme-angular';\r\nimport { SettingsMessagingCentreComponent } from './settings-messaging-centre/settings-messaging-centre.component';\r\nimport { MessagingCentreDetailsComponent } from './settings-messaging-centre/messaging-centre-details/messaging-centre-details.component';\r\nimport { MessagingLogsPreviewComponent } from './messaging-logs/messaging-logs-preview/messaging-logs-preview.component';\r\nimport { MessagingCentreService } from './settings-messaging-centre/messaging-centre.service';\r\nimport { MessageLogsService } from './messaging-logs/message-logs.service';\r\nimport { ReactiveFormsModule, FormsModule } from '@angular/forms';\r\nimport { InvoiceReportComponent } from './invoice-report/invoice-report.component';\r\n\r\nconst messageCentreRoutes = [\r\n // messaging center\r\n {\r\n path: 'templates',\r\n canActivate: mapToCanActivate([AuthGuardUserByRole]),\r\n data: { roles: ['Owner', 'Manager', 'Supervisor'] },\r\n component: SettingsMessagingCentreComponent,\r\n },\r\n {\r\n path: 'logs',\r\n canActivate: mapToCanActivate([AuthGuardUserByRole]),\r\n data: { roles: ['Owner', 'Manager', 'Supervisor', 'Receptionist', 'BookingOnly'] },\r\n component: MessagingLogsComponent,\r\n },\r\n {\r\n path: 'invoice-template',\r\n canActivate: mapToCanActivate([AuthGuardUserByRole]),\r\n data: { roles: ['Owner', 'Manager'] },\r\n component: InvoiceTemplateComponent,\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [\r\n RouterModule.forChild(messageCentreRoutes),\r\n CommonModule,\r\n SharedModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n DxSelectBoxModule,\r\n DxDataGridModule,\r\n DxDateBoxModule,\r\n DxCheckBoxModule,\r\n DxPopoverModule,\r\n DxTooltipModule,\r\n DxRadioGroupModule,\r\n DxTextAreaModule,\r\n ],\r\n declarations: [\r\n SettingsMessagingCentreComponent,\r\n MessagingCentreDetailsComponent,\r\n MessagingLogsComponent,\r\n MessagingLogsPreviewComponent,\r\n InvoiceTemplateComponent,\r\n InvoiceReportComponent,\r\n ],\r\n providers: [MessagingCentreService, MessageLogsService],\r\n})\r\nexport class MessageCentreModule {}\r\n","import { Injectable } from '@angular/core';\r\nimport { environment } from 'src/environments/environment';\r\nimport { HttpRequestService } from 'src/app/shared/services/http-request.service';\r\n\r\n@Injectable()\r\nexport class MessageLogsService {\r\n private getMessageLogsUrl = environment.apiUrl + '/Property/GetMessageLogs';\r\n private deleteMessageLogUrl = environment.apiUrl + '/Property/DeleteMessageLog';\r\n\r\n constructor(private http: HttpRequestService) {}\r\n\r\n getData(data) {\r\n return this.http.post(this.getMessageLogsUrl, data);\r\n }\r\n\r\n deleteMessageLog(logId: number) {\r\n return this.http.delete(`${this.deleteMessageLogUrl}?logId=${logId}`);\r\n }\r\n}\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { AuthTokenService } from 'src/app/shared/services/auth-token.service';\r\n\r\n@Component({\r\n selector: 'app-messaging-logs-preview',\r\n templateUrl: './messaging-logs-preview.component.html',\r\n styleUrls: ['./messaging-logs-preview.component.less'],\r\n})\r\nexport class MessagingLogsPreviewComponent implements OnInit {\r\n @Input() showMessage: boolean;\r\n @Output() showMessageChange: EventEmitter = new EventEmitter();\r\n @Input() currentMessage: string;\r\n\r\n theme: number;\r\n\r\n constructor() {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n }\r\n\r\n ngOnInit() {}\r\n\r\n close() {\r\n this.showMessageChange.emit(false);\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n

Message Preview

\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { MessageLogsService } from './message-logs.service';\r\nimport { Component, OnInit, ViewChild, AfterContentInit, ElementRef } from '@angular/core';\r\nimport { DxDataGridComponent, DxSelectBoxComponent } from 'devextreme-angular';\r\nimport { EnumModel } from 'src/app/models/shared/enum-model';\r\nimport { MessageLogViewModel } from 'src/app/models/message/message-log-view.model';\r\nimport { MessageLogFilterModel } from 'src/app/models/message/message-log-filter.model';\r\nimport { MessageLogsGridModel, MessageLogsGridResponseModel } from 'src/app/models/message/message-log-grid.model';\r\nimport { GridConfiguration, DxGridHelper } from 'src/app/shared/helpers/dx-grid-helper';\r\nimport { SettingsTemplatesService } from '../../settings/settings-templates/settings-templates.service';\r\nimport { Router } from '@angular/router';\r\nimport { AuthTokenService } from 'src/app/shared/services/auth-token.service';\r\nimport { first } from 'rxjs/operators';\r\nimport { ToastService } from 'src/app/shared/services/toast.service';\r\nimport { ToastEventType } from 'src/app/enums/toast-event-type';\r\n\r\n@Component({\r\n selector: 'app-messaging-logs',\r\n templateUrl: './messaging-logs.component.html',\r\n styleUrls: ['./messaging-logs.component.less'],\r\n})\r\nexport class MessagingLogsComponent implements OnInit, AfterContentInit {\r\n @ViewChild(DxDataGridComponent, { static: true }) grid: DxDataGridComponent;\r\n @ViewChild('status') statusValue: DxSelectBoxComponent;\r\n @ViewChild('type') typeValue: DxSelectBoxComponent;\r\n @ViewChild('msgContainer', { read: ElementRef }) msgContainer: ElementRef;\r\n\r\n loader = false;\r\n theme: number;\r\n\r\n date: Date = null;\r\n activeId: number;\r\n showMessage = false;\r\n showTooltipMessage = false;\r\n confirmMessageDelete = false;\r\n messageToDelete = null;\r\n currentMessage: string;\r\n statuses = new EnumModel();\r\n types = new EnumModel();\r\n messageLogFilterModel = new MessageLogFilterModel();\r\n messagesList: Array;\r\n searchValue: string;\r\n showFilter: boolean;\r\n\r\n messageLogsRequest = new MessageLogsGridModel();\r\n gridConfiguration: GridConfiguration;\r\n\r\n constructor(\r\n private settingsTemplatesService: SettingsTemplatesService,\r\n private messageLogsService: MessageLogsService,\r\n private toasterService: ToastService,\r\n private router: Router\r\n ) {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n\r\n this.settingsTemplatesService.getForMessageLogs().subscribe(\r\n (response) => {\r\n this.statuses = response.statuses;\r\n this.types = response.types;\r\n },\r\n (error) => console.log(error)\r\n );\r\n\r\n this.messageLogsRequest.filters.date = null;\r\n this.messageLogsRequest.filters.status = null;\r\n this.messageLogsRequest.filters.type = null;\r\n }\r\n\r\n showTooltip(e) {\r\n setTimeout(() => {\r\n e.showMessageResponse = true;\r\n }, 100);\r\n }\r\n\r\n hideTooltip(e) {\r\n setTimeout(() => {\r\n e.showMessageResponse = false;\r\n }, 100);\r\n }\r\n\r\n ngOnInit() {\r\n this.init();\r\n }\r\n\r\n init() {\r\n this.gridConfiguration = new MessageLogsGridResponseModel();\r\n this.gridConfiguration.service = this.messageLogsService;\r\n }\r\n\r\n ngAfterContentInit(): void {\r\n this.initGrid();\r\n }\r\n\r\n initGrid(): void {\r\n DxGridHelper.ConfigureGrid(this.grid, this.messageLogsRequest, this.gridConfiguration);\r\n }\r\n\r\n reloadGrid() {\r\n this.messageLogsRequest.filters.date = this.date ? this.date.toDateString() : null;\r\n this.messageLogsRequest.filters.status = this.statusValue.value ? this.statusValue.value : null;\r\n this.messageLogsRequest.filters.type = this.typeValue.value ? this.typeValue.value : null;\r\n this.gridConfiguration.reloadGrid();\r\n }\r\n\r\n messagePopup(msg) {\r\n this.showMessage = true;\r\n this.currentMessage = msg;\r\n }\r\n\r\n toggleTooltip(id) {\r\n this.activeId = id;\r\n this.showTooltipMessage = !this.showTooltipMessage;\r\n }\r\n\r\n goToBooking(bookingId, functionId) {\r\n if (bookingId) {\r\n this.router.navigate(['booking/details/', bookingId]);\r\n }\r\n if (functionId) {\r\n this.router.navigate(['function/details/', functionId]);\r\n }\r\n return;\r\n }\r\n\r\n searchLogs() {\r\n if (this.searchValue && this.searchValue.length < 3) {\r\n this.showToastError('Please enter a search word of at least 3 characters.','')\r\n return;\r\n }\r\n this.gridConfiguration.customSearch[0].value = this.searchValue;\r\n this.gridConfiguration.reloadGrid();\r\n }\r\n\r\n showToastError(message: string, title?: string) {\r\n this.toasterService.showToast(title ? title : 'Error', message, null, ToastEventType.Error, true, 5000);\r\n }\r\n\r\n toogleFilter() {\r\n this.showFilter = !this.showFilter;\r\n }\r\n\r\n deleteMessageLog(item) {\r\n console.log(item);\r\n this.confirmMessageDelete = true;\r\n this.messageToDelete = item;\r\n }\r\n\r\n confirmDeleteMessage() {\r\n this.loader = true;\r\n this.messageLogsService\r\n .deleteMessageLog(this.messageToDelete.id)\r\n .pipe(first())\r\n .subscribe(\r\n (res) => {\r\n console.log(res);\r\n this.loader = false;\r\n this.reloadGrid();\r\n this.confirmMessageDelete = false;\r\n this.messageToDelete = null;\r\n },\r\n (error) => {\r\n this.loader = false;\r\n this.reloadGrid();\r\n this.confirmMessageDelete = false;\r\n this.messageToDelete = null;\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n clearFilters() {\r\n for (const key in this.messageLogsRequest.filters) {\r\n if (this.messageLogsRequest.filters.hasOwnProperty(key)) {\r\n let element = this.messageLogsRequest.filters[key];\r\n element = null;\r\n }\r\n }\r\n\r\n this.date = null;\r\n this.statusValue.value = null;\r\n this.typeValue.value = null;\r\n }\r\n}\r\n","
\r\n
\r\n

Messaging Logs

\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n \r\n
\r\n #{{ r.data?.refNumber }}\r\n
\r\n
\r\n {{ n.data?.subject || n.data?.message }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n {{ n.data?.scheduledTime | datex: 'DD/MM/YYYY HH:mm' }}\r\n
\r\n
\r\n {{ n.data?.timeSent | datex: 'DD/MM/YYYY HH:mm' }}\r\n
\r\n \r\n {{ n.data?.status }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
{{ n.data?.responseMessage }}
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n
\r\n
Click here to view message
\r\n
\r\n
\r\n\r\n\r\n","import { Component, ElementRef, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core';\r\nimport { AuthTokenService } from '../../../../shared/services/auth-token.service';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { MessagingCentreService } from '../messaging-centre.service';\r\nimport { EnumModelSelected, MessageTemplatePDModel } from '../../../../models/templates/message-template-pd.model';\r\nimport { EnumModel } from '../../../../models/shared/enum-model';\r\nimport { CommunicationService } from '../../../../shared/services/communication.service';\r\nimport { DxSelectBoxComponent } from 'devextreme-angular';\r\nimport { TokenContext } from 'src/app/models/auth-jwt/token-context';\r\n\r\n@Component({\r\n selector: 'app-messaging-centre-details',\r\n templateUrl: './messaging-centre-details.component.html',\r\n styleUrls: ['./messaging-centre-details.component.less'],\r\n})\r\nexport class MessagingCentreDetailsComponent implements OnInit {\r\n @Input() addMessageTemplate: boolean;\r\n @Output() addMessageTemplateChange = new EventEmitter();\r\n\r\n @Input() editMessageTemplate: boolean;\r\n @Output() editMessageTemplateChange = new EventEmitter();\r\n @Output() update = new EventEmitter();\r\n\r\n @Input() templateId: number;\r\n @Input() reservationType: string;\r\n\r\n @ViewChild('variableSelectBox') variableSelectBox: DxSelectBoxComponent;\r\n @ViewChild('smsTextArea') smsTextArea: ElementRef;\r\n\r\n messageSubmitted = false;\r\n loaderMessage = false;\r\n loaderSchedule = false;\r\n disableFilter = true;\r\n showSubject = true;\r\n showEditor = false;\r\n eventBased = true;\r\n timeBased = false;\r\n hours = true;\r\n days = false;\r\n minutes = false;\r\n before = true;\r\n after = false;\r\n\r\n activeTab = 0;\r\n timeDelay = 0;\r\n eventDelay = 0;\r\n theme: number;\r\n filterComboId: number;\r\n displayExprFilters: string;\r\n filterChosen: string;\r\n\r\n messageForm: UntypedFormGroup;\r\n eventBasedForm: UntypedFormGroup;\r\n timeBasedForm: UntypedFormGroup;\r\n messageTemplatePDModel = new MessageTemplatePDModel();\r\n sourceForFilters: any[] = [];\r\n\r\n emailVariables: EnumModel[] = [];\r\n smsVariables: EnumModel[] = [];\r\n variablesSource: EnumModel[] = [];\r\n // messageWithoutHTMLTags: string;\r\n\r\n alreadySavedMessage: boolean;\r\n token: TokenContext = new TokenContext();\r\n\r\n constructor(\r\n private messageCentreService: MessagingCentreService,\r\n private fb: UntypedFormBuilder,\r\n private communicationService: CommunicationService\r\n ) {\r\n this.messageForm = fb.group({\r\n name: [null, Validators.compose([Validators.required, Validators.maxLength(50)])],\r\n subject: [null],\r\n active: [null],\r\n });\r\n\r\n this.eventBasedForm = fb.group({\r\n triggerEvent: [null, Validators.compose([Validators.required])],\r\n delayEvent: [null, Validators.compose([Validators.required, Validators.min(0)])],\r\n });\r\n\r\n this.timeBasedForm = fb.group({\r\n delayTime: [null, Validators.compose([Validators.required, Validators.min(0)])],\r\n });\r\n\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n this.token = AuthTokenService.decodeJwtToken();\r\n\r\n }\r\n\r\n changeTab(index) {\r\n this.activeTab = index;\r\n }\r\n\r\n showBodyScroll() {\r\n const body = document.getElementsByTagName('body')[0];\r\n body.style.overflow = 'auto';\r\n }\r\n\r\n close() {\r\n this.showBodyScroll();\r\n this.addMessageTemplateChange.emit(false);\r\n this.editMessageTemplateChange.emit(false);\r\n }\r\n\r\n setDynamicVariables() {\r\n this.emailVariables.length = 0;\r\n\r\n if (this.reservationType == \"Function\")\r\n {\r\n this.emailVariables.push(\r\n new EnumModel('{functionName}', null, 'Function Name'),\r\n new EnumModel('{functionReferenceNumber}', null, 'Function Reference Number'),\r\n new EnumModel('{functionBookerTitle}', null, 'Function Booker Title'),\r\n new EnumModel('{functionBookerFname}', null, 'Function Booker First Name'),\r\n new EnumModel('{functionBookerLname}', null, 'Function Booker Last Name'),\r\n new EnumModel('{functionAmount}', null, 'Function Amount'),\r\n new EnumModel('{functionPaymentTotal}', null, 'Function Payment(s) Total'),\r\n new EnumModel('{functionBalance}', null, 'Function Balance'),\r\n new EnumModel('{roomBookingDetails}', null, 'Room Booking Details'),\r\n new EnumModel('{extraItemDetails}', null, 'Extra Item Details'),\r\n new EnumModel('{cateringDetails}', null, 'Catering Details'),\r\n new EnumModel('{paymentDetails}', null, 'Payment Details'),\r\n\r\n new EnumModel('{propertyName}', null, 'Property Name'),\r\n new EnumModel('{propertyAddress}', null, 'Property Address'),\r\n new EnumModel('{propertyPhone}', null, 'Property Phone'),\r\n new EnumModel('{propertyEmail}', null, 'Property Email'),\r\n new EnumModel('{propertyWebsite}', null, 'Property Website'),\r\n new EnumModel('{propertyLogo}', null, 'Property Logo'),\r\n );\r\n }\r\n else \r\n {\r\n this.emailVariables.push(\r\n new EnumModel(\r\n '{foreach}:{bookingRoom}
{
// You can access room row variables here (please remove this line).
}',\r\n null,\r\n '{ Foreach }'\r\n ),\r\n new EnumModel('{guestTitle}', null, 'Guest Title'),\r\n new EnumModel('{guestForename}', null, 'Guest Forename'),\r\n new EnumModel('{guestSurname}', null, 'Guest Surname'),\r\n new EnumModel('{guestNotes}', null, 'Guest Notes'),\r\n new EnumModel('{guestPhone}', null, 'Guest Phone'),\r\n new EnumModel('{guestMobilePhone}', null, 'Guest Mobile Phone'),\r\n new EnumModel('{guestFullAddress}', null, 'Guest Full Address'),\r\n new EnumModel('{guestEmail}', null, 'Guest Email'),\r\n \r\n new EnumModel('{registrationForm}', null, 'Guest Registration Link'),\r\n new EnumModel('{registrationFormNakedLink}', null, 'Guest Registration Naked Link'),\r\n new EnumModel('{partnerName}', null, 'Partner Name'),\r\n \r\n new EnumModel('{bookingFirstArrivalDate}', null, 'Booking First Arrival Date'),\r\n new EnumModel('{bookingLastDepartureDate}', null, 'Booking Last Departure Date'),\r\n new EnumModel('{bookingAccommodationTotal}', null, 'Booking Accommodation Total'),\r\n new EnumModel('{bookingExtrasList}', null, 'Booking Extras List'),\r\n new EnumModel('{bookingExtrasTotal}', null, 'Booking Extras Total'),\r\n new EnumModel('{bookingFullNotes}', null, 'Booking Full Notes'),\r\n \r\n new EnumModel('{bookingReferenceNumber}', null, 'Booking Reference Number'),\r\n new EnumModel('{bookingStatus}', null, 'Booking Status'),\r\n new EnumModel('{bookingAdultGuestCount}', null, 'Booking Adult Guest Count'),\r\n new EnumModel('{bookingChildGuestCount}', null, 'Booking Child Guest Count'),\r\n new EnumModel('{bookingTotalRoomNights}', null, 'Booking Total Room Nights'),\r\n new EnumModel('{bookingTotalValue}', null, 'Booking Total Value'),\r\n new EnumModel('{bookingTotalVATAmount}', null, 'Booking Total VAT Amount'),\r\n new EnumModel('{bookingTotalExcludingVAT}', null, 'Booking Total Excluding VAT'),\r\n new EnumModel('{bookingDepositPaid}', null, 'Booking Deposit Paid'),\r\n new EnumModel('{bookingPaid}', null, 'Booking Paid'),\r\n new EnumModel('{bookingBalanceOwing}', null, 'Booking Balance Owing '),\r\n new EnumModel('{bookingPaymentLink}', null, 'Booking Balance Link'),\r\n new EnumModel('{bookingPaymentNakedLink}', null, 'Booking Balance Naked Link'),\r\n new EnumModel('{bookingPaymentAmount}', null, 'Booking Payment Amount'),\r\n new EnumModel('{bookingPaymentRequest}', null, 'Booking Payment Link'),\r\n new EnumModel('{bookingPaymentNakedRequest}', null, 'Booking Payment Naked Link'),\r\n new EnumModel('{bookingRoom.arrivalDate}', null, 'Room Row Arrival Date'),\r\n new EnumModel('{bookingRoom.departureDate}', null, 'Room Row Departure Date'),\r\n new EnumModel('{bookingRoom.roomTypeName}', null, 'Room Row Room Type'),\r\n new EnumModel('{bookingRoom.roomNumber}', null, 'Room Row Room Number'),\r\n new EnumModel('{bookingRoom.adults}', null, 'Room Adult Guest Count'),\r\n new EnumModel('{bookingRoom.children}', null, 'Room Child Guest Count'),\r\n new EnumModel('{bookingRoom.ratePlanName}', null, 'Room Row RatePlan'),\r\n new EnumModel('{bookingRoom.price}', null, 'Room Row Sub Total Price'),\r\n new EnumModel('{bookingRoom.depositPolicy}', null, 'Room Row Deposit Policy'),\r\n new EnumModel('{bookingRoom.paymentPolicy}', null, 'Room Row Payment Policy'),\r\n new EnumModel('{bookingRoom.cancellationPolicy}', null, 'Room Row Cancellation Policy'),\r\n new EnumModel('{propertyName}', null, 'Property Name'),\r\n new EnumModel('{propertyAddress}', null, 'Property Address'),\r\n new EnumModel('{propertyPhone}', null, 'Property Phone'),\r\n new EnumModel('{propertyEmail}', null, 'Property Email'),\r\n new EnumModel('{propertyWebsite}', null, 'Property Website'),\r\n new EnumModel('{propertyLogo}', null, 'Property Logo'),\r\n new EnumModel('{thisBookingRoom.BookingFrom}', null, 'This Booking Room - Arrival Date'),\r\n new EnumModel('{thisBookingRoom.BookingTo}', null, 'This Booking Room - Departure Date'),\r\n new EnumModel('{thisBookingRoom.RoomType}', null, 'This Booking Room - Room Type'),\r\n new EnumModel('{thisBookingRoom.RoomNumber}', null, 'This Booking Room - Room Number'),\r\n new EnumModel('{thisBookingRoom.RatePlan}', null, 'This Booking Room - RatePlan'),\r\n new EnumModel('{thisBookingRoom.Price}', null, 'This Booking Room - Accommodation Total'),\r\n new EnumModel('{thisBookingRoom.ExtrasTotal}', null, 'This Booking Room - Extras Total'),\r\n new EnumModel('{thisBookingRoom.SubTotalPrice}', null, 'This Booking Room - Sub Total Price'),\r\n new EnumModel('{thisBookingRoom.bookingVerifyLink}', null, 'This Booking Room - Verify Link'),\r\n new EnumModel('{thisBookingRoom.bookingVerifyNakedLink}', null, 'This Booking Room - Verify Naked Link'),\r\n //new EnumModel('{thisBookingRoom.PaymentLink}', null, 'This Booking Room - Payment Link '),\r\n //new EnumModel('{thisBookingRoom.PaymentNakedLink}', null, 'This Booking Room - Payment Naked Link '),\r\n );\r\n \r\n this.smsVariables = JSON.parse(\r\n JSON.stringify(\r\n this.emailVariables.filter(\r\n (x) => x.id !== '{propertyLogo}' && x.id !== '{bookingPaymentLink}' && x.id !== '{propertyWebsite}' && x.id !== '{bookingVerifyLink}'\r\n )\r\n )\r\n );\r\n const smsForeach = this.smsVariables.find((x) => x.name === '{ Foreach }');\r\n smsForeach.id = `{foreach}:{bookingRoom}\\n{\\n// You can access room row variables here (please remove this line).\\n}`;\r\n \r\n }\r\n\r\n this.variablesSource = this.emailVariables;\r\n }\r\n\r\n ngOnInit() {\r\n this.setDynamicVariables();\r\n\r\n if (this.addMessageTemplate) {\r\n this.messageCentreService.newMessageTemplate().subscribe(\r\n (response) => {\r\n this.messageTemplatePDModel = response;\r\n this.messageTemplatePDModel.messageTemplateTypes[0].selected = true;\r\n this.messageTemplatePDModel.messageTemplateSenders[0].selected = true;\r\n this.messageTemplatePDModel.messageTemplateRecipients[0].selected = true;\r\n this.messageTemplatePDModel.messageTemplateScheduleTypes[0].selected = true;\r\n this.messageTemplatePDModel.messageTemplateScheduleTimeTriggers[0].selected = true;\r\n this.messageTemplatePDModel.messageTemplate.type =\r\n this.messageTemplatePDModel.messageTemplateTypes[0].value;\r\n this.messageTemplatePDModel.messageTemplate.sender =\r\n this.messageTemplatePDModel.messageTemplateSenders[0].value;\r\n this.messageTemplatePDModel.messageTemplate.recipient =\r\n this.messageTemplatePDModel.messageTemplateRecipients[0].value;\r\n this.messageTemplatePDModel.messageTemplate.scheduleType =\r\n this.messageTemplatePDModel.messageTemplateScheduleTypes[0].value;\r\n this.messageTemplatePDModel.messageTemplate.scheduleTrigger =\r\n this.messageTemplatePDModel.messageTemplateScheduleTimeTriggers[0].value;\r\n this.eventBasedForm.controls['triggerEvent'].setValue(\r\n this.messageTemplatePDModel.messageTemplate.scheduleTrigger\r\n );\r\n this.messageTemplatePDModel.messageTemplate.reservationType = this.reservationType;\r\n this.eventBased = false;\r\n this.timeBased = false;\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n } else if (this.editMessageTemplate) {\r\n this.messageCentreService.editMessageTemplate(this.templateId).subscribe(\r\n (response) => {\r\n this.messageTemplatePDModel = response;\r\n this.showEditor = true;\r\n this.setInitialData();\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n }\r\n\r\n getBookingSource(item: string): EnumModelSelected {\r\n for (const x of this.messageTemplatePDModel.messageTemplateBookingSources) {\r\n if (item === x.value) {\r\n return x;\r\n }\r\n }\r\n\r\n return new EnumModelSelected();\r\n }\r\n\r\n setInitialData() {\r\n // set message type\r\n this.messageTemplatePDModel.messageTemplateTypes.forEach((x) => {\r\n if (x.value === this.messageTemplatePDModel.messageTemplate.type) {\r\n x.selected = true;\r\n } else {\r\n x.selected = false;\r\n }\r\n });\r\n this.showSubject = this.messageTemplatePDModel.messageTemplate.type === 'Email';\r\n\r\n // set booking source\r\n if (this.messageTemplatePDModel.messageTemplate.madeByStaff) {\r\n this.getBookingSource('Staff').selected = true;\r\n } else {\r\n this.getBookingSource('Staff').selected = false;\r\n }\r\n\r\n if (this.messageTemplatePDModel.messageTemplate.madeByWebsite) {\r\n this.getBookingSource('Website').selected = true;\r\n } else {\r\n this.getBookingSource('Website').selected = false;\r\n }\r\n\r\n if (this.messageTemplatePDModel.messageTemplate.madeByOTA) {\r\n this.getBookingSource('OTA').selected = true;\r\n } else {\r\n this.getBookingSource('OTA').selected = false;\r\n }\r\n\r\n // set sender value\r\n this.messageTemplatePDModel.messageTemplateSenders.forEach((x) => {\r\n if (x.value === this.messageTemplatePDModel.messageTemplate.sender) {\r\n x.selected = true;\r\n } else {\r\n x.selected = false;\r\n }\r\n });\r\n\r\n // set recipient value\r\n this.messageTemplatePDModel.messageTemplateRecipients.forEach((x) => {\r\n if (x.value === this.messageTemplatePDModel.messageTemplate.recipient) {\r\n x.selected = true;\r\n } else {\r\n x.selected = false;\r\n }\r\n if (this.messageTemplatePDModel.messageTemplate.ccProperty && x.name === 'Property') {\r\n x.selected = true;\r\n }\r\n });\r\n\r\n // set values for filter\r\n if (this.messageTemplatePDModel.messageTemplate.otaChannelId !== null) {\r\n this.filterChosen = 'OTA';\r\n }\r\n\r\n if (this.messageTemplatePDModel.messageTemplate.rateplanId !== null) {\r\n this.filterChosen = 'RatePlan';\r\n }\r\n\r\n if (this.messageTemplatePDModel.messageTemplate.partnerId !== null) {\r\n this.filterChosen = 'Partner';\r\n }\r\n\r\n if (this.messageTemplatePDModel.messageTemplate.rateScheduleId !== null) {\r\n this.filterChosen = 'RateSchedule';\r\n }\r\n\r\n if (this.messageTemplatePDModel.messageTemplate.saleItemId !== null) {\r\n this.filterChosen = 'Extras';\r\n }\r\n\r\n if (\r\n this.messageTemplatePDModel.messageTemplate.otaChannelId === null &&\r\n this.messageTemplatePDModel.messageTemplate.partnerId === null &&\r\n this.messageTemplatePDModel.messageTemplate.rateplanId === null &&\r\n this.messageTemplatePDModel.messageTemplate.rateScheduleId === null && \r\n this.messageTemplatePDModel.messageTemplate.saleItemId === null\r\n ) {\r\n this.filterChosen = '';\r\n }\r\n\r\n this.setSourceForFilters(this.filterChosen);\r\n\r\n // set source for variables\r\n this.variablesSource =\r\n this.messageTemplatePDModel.messageTemplate.type === 'Email' ? this.emailVariables : this.smsVariables;\r\n\r\n // set messageWithoutHTMLTags\r\n /*const div = document.createElement('div');\r\n div.innerHTML = this.messageTemplatePDModel.messageTemplate.message;\r\n this.messageWithoutHTMLTags = div.textContent || div.innerText || '';*/\r\n\r\n // set schedule type\r\n if (this.messageTemplatePDModel.messageTemplate.scheduleType === null) {\r\n this.messageTemplatePDModel.messageTemplateScheduleTypes[0].selected = true;\r\n this.messageTemplatePDModel.messageTemplate.scheduleType =\r\n this.messageTemplatePDModel.messageTemplateScheduleTypes[0].value;\r\n }\r\n\r\n this.messageTemplatePDModel.messageTemplateScheduleTypes.forEach((x) => {\r\n if (x.value === this.messageTemplatePDModel.messageTemplate.scheduleType) {\r\n x.selected = true;\r\n } else {\r\n x.selected = false;\r\n }\r\n });\r\n if (this.messageTemplatePDModel.messageTemplate.scheduleType === 'Event') {\r\n // set values for EventBased Schedule\r\n this.timeBased = false;\r\n this.eventBased = true;\r\n this.eventBasedForm.controls['triggerEvent'].setValue(\r\n this.messageTemplatePDModel.messageTemplate.scheduleTrigger\r\n );\r\n this.eventDelay = this.messageTemplatePDModel.messageTemplate.minutesDelay;\r\n } else if (this.messageTemplatePDModel.messageTemplate.scheduleType === 'Time') {\r\n // set values for TimeBased Schedule\r\n this.eventBased = false;\r\n this.timeBased = true;\r\n\r\n if (this.checkIfDayIsSelected()) {\r\n this.days = true;\r\n this.hours = false;\r\n this.minutes = false;\r\n\r\n this.timeDelay = Math.abs(this.messageTemplatePDModel.messageTemplate.minutesDelay / 1440);\r\n } else if (this.checkIfHourIsSelected()) {\r\n this.hours = true;\r\n this.minutes = false;\r\n this.days = false;\r\n\r\n this.timeDelay = +Math.abs(this.messageTemplatePDModel.messageTemplate.minutesDelay / 60);\r\n } else {\r\n this.minutes = true;\r\n this.hours = false;\r\n this.days = false;\r\n\r\n this.timeDelay = +Math.abs(this.messageTemplatePDModel.messageTemplate.minutesDelay);\r\n }\r\n\r\n if (this.messageTemplatePDModel.messageTemplate.minutesDelay >= 0) {\r\n this.before = false;\r\n this.after = true;\r\n } else {\r\n this.after = false;\r\n this.before = true;\r\n }\r\n\r\n this.messageTemplatePDModel.messageTemplateScheduleTimeTriggers.forEach((x) => {\r\n if (x.value === this.messageTemplatePDModel.messageTemplate.scheduleTrigger) {\r\n x.selected = true;\r\n } else {\r\n x.selected = false;\r\n }\r\n });\r\n } else {\r\n this.eventBased = false;\r\n this.timeBased = false;\r\n }\r\n }\r\n\r\n checkIfDayIsSelected(): boolean {\r\n const divided: number = Math.abs(this.messageTemplatePDModel.messageTemplate.minutesDelay) / 1440;\r\n return divided >= 1 && divided % 1 === 0;\r\n }\r\n\r\n checkIfHourIsSelected(): boolean {\r\n const divided: number = Math.abs(this.messageTemplatePDModel.messageTemplate.minutesDelay) / 60;\r\n return divided >= 1 && Math.abs(this.messageTemplatePDModel.messageTemplate.minutesDelay) % 60 === 0;\r\n }\r\n\r\n // \r\n\r\n setValueMessageType(type: EnumModelSelected) {\r\n this.messageTemplatePDModel.messageTemplate.type = type.value;\r\n this.messageTemplatePDModel.messageTemplateTypes.forEach((x) => (x.selected = false));\r\n type.selected = true;\r\n this.showSubject = type.value === 'Email';\r\n this.messageTemplatePDModel.messageTemplate.subject =\r\n type.value === 'Email' ? this.messageTemplatePDModel.messageTemplate.subject : null;\r\n this.variablesSource = type.value === 'Email' ? this.emailVariables : this.smsVariables;\r\n }\r\n\r\n setValueBookingSource() {\r\n this.messageTemplatePDModel.messageTemplate.madeByStaff = false;\r\n this.messageTemplatePDModel.messageTemplate.madeByWebsite = false;\r\n this.messageTemplatePDModel.messageTemplate.madeByOTA = false;\r\n this.messageTemplatePDModel.messageTemplateBookingSources.forEach((x) => {\r\n if (x.selected) {\r\n if (x.value === 'Staff') {\r\n this.messageTemplatePDModel.messageTemplate.madeByStaff = true;\r\n }\r\n\r\n if (x.value === 'Website') {\r\n this.messageTemplatePDModel.messageTemplate.madeByWebsite = true;\r\n }\r\n\r\n if (x.value === 'OTA') {\r\n this.messageTemplatePDModel.messageTemplate.madeByOTA = true;\r\n }\r\n }\r\n });\r\n }\r\n\r\n setValueMessageSender(sender: EnumModelSelected) {\r\n this.messageTemplatePDModel.messageTemplate.sender = sender.value;\r\n this.messageTemplatePDModel.messageTemplateSenders.forEach((x) => (x.selected = false));\r\n sender.selected = true;\r\n }\r\n\r\n setSourceForFiltersDevex(e) {\r\n if (e.value) {\r\n const item: EnumModel = this.messageTemplatePDModel.messageTemplateFilters.find(\r\n (vs) => vs.value === e.value\r\n );\r\n this.filterChosen = item.value;\r\n this.setSourceForFilters(this.filterChosen);\r\n this.disableFilter = false;\r\n }\r\n }\r\n\r\n setBookingTypeForFiltersDevex(e) {\r\n if (e.value) {\r\n const item: EnumModel = this.messageTemplatePDModel.bookingTypes.find(\r\n (vs) => vs.value === e.value\r\n );\r\n }\r\n }\r\n\r\n setCcProperty(e) {\r\n this.messageTemplatePDModel.messageTemplate.ccProperty = e.value;\r\n }\r\n\r\n setSourceForFilters(value: string) {\r\n switch (value) {\r\n case 'OTA':\r\n this.sourceForFilters = this.messageTemplatePDModel.partnersSource.filter((x) =>\r\n this.messageTemplatePDModel.otaSource.includes(x.id)\r\n );\r\n this.displayExprFilters = 'name';\r\n this.filterComboId = this.messageTemplatePDModel.messageTemplate.otaChannelId;\r\n break;\r\n case 'RatePlan':\r\n this.sourceForFilters = this.messageTemplatePDModel.ratePlansSource;\r\n this.displayExprFilters = 'name';\r\n this.filterComboId = this.messageTemplatePDModel.messageTemplate.rateplanId;\r\n break;\r\n case 'Partner':\r\n this.sourceForFilters = this.messageTemplatePDModel.partnersSource.filter(\r\n (x) => !this.messageTemplatePDModel.otaSource.includes(x.id)\r\n );\r\n this.displayExprFilters = 'name';\r\n this.filterComboId = this.messageTemplatePDModel.messageTemplate.partnerId;\r\n break;\r\n case 'RateSchedule':\r\n this.sourceForFilters = this.messageTemplatePDModel.rateSchedulesSource;\r\n this.displayExprFilters = 'name';\r\n this.filterComboId = this.messageTemplatePDModel.messageTemplate.rateScheduleId;\r\n break;\r\n case 'Extras':\r\n this.sourceForFilters = this.messageTemplatePDModel.saleItemsSource;\r\n this.displayExprFilters = 'name';\r\n this.filterComboId = this.messageTemplatePDModel.messageTemplate.saleItemId;\r\n break;\r\n default:\r\n this.sourceForFilters = [];\r\n this.displayExprFilters = 'name';\r\n this.disableFilter = true;\r\n this.filterComboId = -1;\r\n break;\r\n }\r\n }\r\n\r\n\r\n setValueFromFilters(e) {\r\n this.messageTemplatePDModel.messageTemplate.otaChannelId = null;\r\n this.messageTemplatePDModel.messageTemplate.partnerId = null;\r\n this.messageTemplatePDModel.messageTemplate.rateplanId = null;\r\n this.messageTemplatePDModel.messageTemplate.rateScheduleId = null;\r\n this.messageTemplatePDModel.messageTemplate.saleItemId = null;\r\n\r\n if (e.value) {\r\n const item: any = this.sourceForFilters.find((sf) => sf.id === e.value);\r\n\r\n if (this.filterChosen === 'OTA') {\r\n this.messageTemplatePDModel.messageTemplate.otaChannelId = item.id;\r\n }\r\n\r\n if (this.filterChosen === 'Partner') {\r\n this.messageTemplatePDModel.messageTemplate.partnerId = item.id;\r\n }\r\n\r\n if (this.filterChosen === 'RatePlan') {\r\n this.messageTemplatePDModel.messageTemplate.rateplanId = item.id;\r\n }\r\n\r\n if (this.filterChosen === 'RateSchedule') {\r\n this.messageTemplatePDModel.messageTemplate.rateScheduleId = item.id;\r\n }\r\n\r\n if (this.filterChosen === 'Extras') {\r\n this.messageTemplatePDModel.messageTemplate.saleItemId = item.id;\r\n }\r\n } \r\n }\r\n\r\n setValueMessageRecipient(recipient: EnumModelSelected, value) {\r\n if (this.messageTemplatePDModel.messageTemplateRecipients.filter((x) => x.selected).length == 1 && !value) {\r\n this.messageTemplatePDModel.messageTemplateRecipients =\r\n this.messageTemplatePDModel.messageTemplateRecipients.map((x) => ({ ...x }));\r\n return;\r\n }\r\n\r\n if (['Guest', 'Partner'].includes(recipient.name) && !!value) {\r\n this.messageTemplatePDModel.messageTemplateRecipients =\r\n this.messageTemplatePDModel.messageTemplateRecipients.map((x) => ({\r\n ...x,\r\n selected: x.name != recipient.name && x.name !== 'Property' ? false : x.selected,\r\n }));\r\n }\r\n\r\n this.messageTemplatePDModel.messageTemplateRecipients =\r\n this.messageTemplatePDModel.messageTemplateRecipients.map((x) => ({\r\n ...x,\r\n selected: x.name === recipient.name ? value : x.selected,\r\n }));\r\n\r\n var selected = this.messageTemplatePDModel.messageTemplateRecipients.filter((x) => x.selected);\r\n if (selected.length > 1) {\r\n this.messageTemplatePDModel.messageTemplate.recipient = selected.find((x) => x.name != 'Property').name;\r\n this.messageTemplatePDModel.messageTemplate.ccProperty = true;\r\n } else {\r\n this.messageTemplatePDModel.messageTemplate.recipient = selected.find((x) => x.selected).name;\r\n this.messageTemplatePDModel.messageTemplate.ccProperty = false;\r\n }\r\n }\r\n\r\n setValueFromEditor(value) {\r\n this.messageTemplatePDModel.messageTemplate.message = value;\r\n /*const div = document.createElement('div');\r\n div.innerHTML = this.messageTemplatePDModel.messageTemplate.message;\r\n this.messageWithoutHTMLTags = div.textContent || div.innerText || '';*/\r\n }\r\n\r\n insertVariable(e) {\r\n if (e.itemData !== null) {\r\n const selectedVariable: EnumModel = e.itemData;\r\n if (this.showSubject) {\r\n this.communicationService.passVariableToTinyMCE.next(selectedVariable);\r\n } else {\r\n const indexStart = this.smsTextArea.nativeElement.selectionStart;\r\n const indexEnd = this.smsTextArea.nativeElement.selectionEnd;\r\n this.messageTemplatePDModel.messageTemplate.message = this.insertSelectedValueToText(\r\n this.messageTemplatePDModel.messageTemplate.message\r\n ? this.messageTemplatePDModel.messageTemplate.message\r\n : '',\r\n indexStart,\r\n indexEnd,\r\n selectedVariable.id\r\n );\r\n }\r\n this.variableSelectBox.instance.reset();\r\n }\r\n }\r\n\r\n insertSelectedValueToText(text: string, startIndex: number, endIndex: number, replaceWord: string) {\r\n const first = text.substring(0, startIndex);\r\n const second = text.substring(endIndex);\r\n\r\n return first + replaceWord + second;\r\n }\r\n\r\n submitMessage(e) {\r\n e.stopPropagation();\r\n for (const c in this.messageForm.controls) {\r\n this.messageForm.controls[c].markAsTouched();\r\n }\r\n\r\n this.messageSubmitted = true;\r\n if (\r\n this.messageForm.valid &&\r\n this.messageTemplatePDModel.messageTemplate.message !== null &&\r\n this.messageTemplatePDModel.messageTemplate.message !== ''\r\n ) {\r\n this.setValueBookingSource();\r\n\r\n this.loaderMessage = true;\r\n if (this.addMessageTemplate && !this.alreadySavedMessage) {\r\n this.messageCentreService\r\n .insertMessageTemplateMessage(this.messageTemplatePDModel.messageTemplate)\r\n .subscribe(\r\n (response) => {\r\n this.loaderMessage = false;\r\n this.messageSubmitted = false;\r\n this.alreadySavedMessage = true;\r\n this.messageTemplatePDModel.messageTemplate.id = response;\r\n this.update.emit();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loaderMessage = false;\r\n this.messageSubmitted = false;\r\n }\r\n );\r\n } else if (this.editMessageTemplate || this.alreadySavedMessage) {\r\n this.messageCentreService\r\n .updateMessageTemplateMessage(this.messageTemplatePDModel.messageTemplate)\r\n .subscribe(\r\n (response) => {\r\n this.loaderMessage = false;\r\n this.update.emit();\r\n this.messageSubmitted = false;\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loaderMessage = false;\r\n this.messageSubmitted = false;\r\n }\r\n );\r\n }\r\n }\r\n }\r\n\r\n // \r\n\r\n // \r\n\r\n setValueScheduleType(type: EnumModelSelected) {\r\n this.messageTemplatePDModel.messageTemplate.scheduleType = type.value;\r\n this.messageTemplatePDModel.messageTemplateScheduleTypes.forEach((x) => (x.selected = false));\r\n type.selected = true;\r\n\r\n if (type.value === 'Event') {\r\n this.timeBased = false;\r\n this.eventBased = true;\r\n if (\r\n this.messageTemplatePDModel.messageTemplateScheduleEventTriggers.find(\r\n (x) => x.value == this.messageTemplatePDModel.messageTemplate.scheduleTrigger\r\n ) === undefined\r\n ) {\r\n //current schedule trigger value is not in the options for the select trigger, therefore reset it\r\n this.messageTemplatePDModel.messageTemplate.scheduleTrigger =\r\n this.messageTemplatePDModel.messageTemplateScheduleEventTriggers[0].value;\r\n }\r\n this.eventBasedForm.controls['triggerEvent'].setValue(\r\n this.messageTemplatePDModel.messageTemplate.scheduleTrigger\r\n );\r\n } else if (type.value === 'Time') {\r\n this.eventBased = false;\r\n this.timeBased = true;\r\n if (this.messageTemplatePDModel.messageTemplateScheduleTimeTriggers.length > 0) {\r\n this.messageTemplatePDModel.messageTemplateScheduleTimeTriggers.forEach((x) => {\r\n x.selected = x.value === this.messageTemplatePDModel.messageTemplate.scheduleTrigger;\r\n });\r\n //now check if something is selected, if not we select first as default\r\n if (\r\n this.messageTemplatePDModel.messageTemplateScheduleTimeTriggers.find((x) => x.selected == true) ===\r\n undefined\r\n ) {\r\n this.messageTemplatePDModel.messageTemplate.scheduleTrigger =\r\n this.messageTemplatePDModel.messageTemplateScheduleTimeTriggers[0].value;\r\n this.messageTemplatePDModel.messageTemplateScheduleTimeTriggers[0].selected = true;\r\n this.messageTemplatePDModel.messageTemplate.scheduleTrigger =\r\n this.messageTemplatePDModel.messageTemplateScheduleTimeTriggers[0].value;\r\n }\r\n }\r\n } else {\r\n this.eventBased = false;\r\n this.timeBased = false;\r\n }\r\n }\r\n\r\n setValueScheduleTimeTriggers(trigger: EnumModelSelected) {\r\n this.messageTemplatePDModel.messageTemplate.scheduleTrigger = trigger.value;\r\n this.messageTemplatePDModel.messageTemplateScheduleTimeTriggers.forEach((x) => (x.selected = false));\r\n trigger.selected = true;\r\n }\r\n\r\n setTimeDelay() {\r\n if (this.timeBased) {\r\n if (this.hours) {\r\n this.messageTemplatePDModel.messageTemplate.minutesDelay = 60 * this.timeDelay;\r\n } else if (this.days) {\r\n this.messageTemplatePDModel.messageTemplate.minutesDelay = 1440 * this.timeDelay;\r\n } else {\r\n this.messageTemplatePDModel.messageTemplate.minutesDelay = this.timeDelay;\r\n }\r\n\r\n if (this.before) {\r\n this.messageTemplatePDModel.messageTemplate.minutesDelay =\r\n -1 * this.messageTemplatePDModel.messageTemplate.minutesDelay;\r\n }\r\n } else if (this.eventBased) {\r\n this.messageTemplatePDModel.messageTemplate.minutesDelay = this.eventDelay;\r\n }\r\n }\r\n\r\n setPeriodDelay(item: string) {\r\n if (item === 'before') {\r\n this.after = false;\r\n this.before = true;\r\n } else if (item === 'after') {\r\n this.before = false;\r\n this.after = true;\r\n }\r\n }\r\n\r\n setUnitDelay(item: string) {\r\n if (item === 'hours') {\r\n this.hours = true;\r\n this.days = false;\r\n this.minutes = false;\r\n } else if (item === 'days') {\r\n this.days = true;\r\n this.hours = false;\r\n this.minutes = false;\r\n } else if (item === 'minutes') {\r\n this.minutes = true;\r\n this.hours = false;\r\n this.days = false;\r\n }\r\n }\r\n\r\n submitSchedule(e) {\r\n e.stopPropagation();\r\n\r\n if (this.eventBased) {\r\n for (const c in this.eventBasedForm.controls) {\r\n this.eventBasedForm.controls[c].markAsTouched();\r\n }\r\n\r\n if (this.eventBasedForm.valid) {\r\n this.messageTemplatePDModel.messageTemplate.minutesDelay = this.eventDelay;\r\n if (this.addMessageTemplate) {\r\n this.createMessageTemplateSchedule();\r\n } else if (this.editMessageTemplate) {\r\n this.updateMessageTemplateSchedule();\r\n }\r\n }\r\n } else if (this.timeBased) {\r\n for (const c in this.timeBasedForm.controls) {\r\n this.timeBasedForm.controls[c].markAsTouched();\r\n }\r\n\r\n if (this.timeBasedForm.valid) {\r\n this.setTimeDelay();\r\n if (this.addMessageTemplate) {\r\n this.createMessageTemplateSchedule();\r\n } else if (this.editMessageTemplate) {\r\n this.updateMessageTemplateSchedule();\r\n }\r\n }\r\n } else {\r\n if (this.addMessageTemplate) {\r\n this.createMessageTemplateSchedule();\r\n } else if (this.editMessageTemplate) {\r\n this.updateMessageTemplateSchedule();\r\n }\r\n }\r\n }\r\n\r\n createMessageTemplateSchedule() {\r\n this.messageCentreService.insertMessageTemplateSchedule(this.messageTemplatePDModel.messageTemplate).subscribe(\r\n (response) => {\r\n this.loaderMessage = false;\r\n this.update.emit();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loaderMessage = false;\r\n }\r\n );\r\n }\r\n\r\n updateMessageTemplateSchedule() {\r\n this.messageCentreService.updateMessageTemplateSchedule(this.messageTemplatePDModel.messageTemplate).subscribe(\r\n (response) => {\r\n this.loaderMessage = false;\r\n this.update.emit();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loaderMessage = false;\r\n }\r\n );\r\n }\r\n\r\n // \r\n}\r\n","
\r\n
\r\n
\r\n
Message
\r\n
Schedule
\r\n\r\n
\r\n \r\n

New Template

\r\n

Edit Template

\r\n\r\n
\r\n
\r\n
\r\n
Name
\r\n \r\n Name is required.\r\n Maximum 50 characters.\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
Message type
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
Booking source
\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
Sender
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
Filters
\r\n \r\n \r\n\r\n \r\n \r\n
\r\n\r\n
\r\n
Recipient
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
Subject
\r\n \r\n
\r\n
\r\n
Placeholder variables
\r\n \r\n \r\n
\r\n * You can send up to 160 characters using one SMS credit. Messages longer than 160\r\n characters will incur additional SMS credit costs per each additional 160 block of\r\n characters used. Bear in mind that using placeholder variables such as guest's names\r\n may in some cases cause SMS to contain more characters than you planned.\r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n Message is required.\r\n
\r\n\r\n
\r\n \r\n Save\r\n \r\n
\r\n \r\n
\r\n \r\n\r\n \r\n

New Template

\r\n

Edit Template

\r\n\r\n
\r\n
\r\n
\r\n
Type
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n
Trigger
\r\n \r\n \r\n Trigger is required.\r\n
\r\n\r\n
\r\n
Delay (minutes)
\r\n \r\n Delay is required.\r\n Minimum delay is 0.\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n
\r\n\r\n \r\n
\r\n

Send

\r\n
\r\n
\r\n \r\n Delay is required.\r\n Minimum delay is 0.\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n \r\n Save\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { environment } from '../../../../environments/environment';\r\nimport { HttpRequestService } from '../../../shared/services/http-request.service';\r\nimport { MessageTemplateModel } from '../../../models/templates/message-template.model';\r\n\r\n@Injectable()\r\nexport class MessagingCentreService {\r\n private getMessageTemplatesUrl = environment.apiUrl + '/Templates/GetMessageTemplates';\r\n private newMessageTemplateUrl = environment.apiUrl + '/Templates/NewMessageTemplate';\r\n private insertMessageTemplateMessageUrl = environment.apiUrl + '/Templates/InsertMessageTemplateMessage';\r\n private insertMessageTemplateScheduleUrl = environment.apiUrl + '/Templates/InsertMessageTemplateSchedule';\r\n private updateMessageTemplateMessageUrl = environment.apiUrl + '/Templates/UpdateMessageTemplateMessage';\r\n private updateMessageTemplateScheduleUrl = environment.apiUrl + '/Templates/UpdateMessageTemplateSchedule';\r\n private deleteMessageTemplateUrl = environment.apiUrl + '/Templates/DeleteMessageTemplate';\r\n private editMessageTemplateUrl = environment.apiUrl + '/Templates/EditMessageTemplate';\r\n\r\n constructor(private http: HttpRequestService) {}\r\n\r\n getMessageTemplates(reservationType: string) {\r\n return this.http.get(this.getMessageTemplatesUrl + '?reservationType=' + reservationType);\r\n }\r\n\r\n newMessageTemplate() {\r\n return this.http.get(this.newMessageTemplateUrl);\r\n }\r\n\r\n editMessageTemplate(messageTemplateId: number) {\r\n return this.http.get(this.editMessageTemplateUrl + '?messageTemplateId=' + messageTemplateId);\r\n }\r\n\r\n insertMessageTemplateMessage(model: MessageTemplateModel) {\r\n return this.http.post(this.insertMessageTemplateMessageUrl, model, true);\r\n }\r\n\r\n insertMessageTemplateSchedule(model: MessageTemplateModel) {\r\n return this.http.post(this.insertMessageTemplateScheduleUrl, model, true);\r\n }\r\n\r\n updateMessageTemplateMessage(model: MessageTemplateModel) {\r\n return this.http.post(this.updateMessageTemplateMessageUrl, model, true);\r\n }\r\n\r\n updateMessageTemplateSchedule(model: MessageTemplateModel) {\r\n return this.http.post(this.updateMessageTemplateScheduleUrl, model, true);\r\n }\r\n\r\n deleteMessageTemplate(messageTemplateId: number) {\r\n return this.http.delete(this.deleteMessageTemplateUrl + '?messageTemplateId=' + messageTemplateId, true);\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { AuthTokenService } from '../../../shared/services/auth-token.service';\r\nimport { MessagingCentreService } from './messaging-centre.service';\r\nimport { MessageTemplateGridModel } from '../../../models/templates/message-template-grid.model';\r\nimport { MessagingPermissionsModel } from '../../../models/permissions/permissions.model';\r\nimport { PermissionsService } from '../../../shared/services/permissions.service';\r\nimport { PermissionsEnum } from '../../../enums/permissions.enum';\r\nimport { EnumModel } from 'src/app/models/shared/enum-model';\r\nimport { TokenContext } from 'src/app/models/auth-jwt/token-context';\r\n\r\n@Component({\r\n selector: 'app-settings-messaging-centre',\r\n templateUrl: './settings-messaging-centre.component.html',\r\n styleUrls: ['./settings-messaging-centre.component.less'],\r\n})\r\nexport class SettingsMessagingCentreComponent implements OnInit {\r\n loader = false;\r\n addMessageTemplate = false;\r\n editMessageTemplate = false;\r\n deletePopup = false;\r\n\r\n templateId: number;\r\n theme: number;\r\n\r\n messageTemplateGridModel: MessageTemplateGridModel[] = [];\r\n emailTemplates: MessageTemplateGridModel[] = [];\r\n smsTemplates: MessageTemplateGridModel[] = [];\r\n\r\n permissionsModel: MessagingPermissionsModel;\r\n\r\n token: TokenContext = new TokenContext();\r\n bookingType: string = \"Accommodation\";\r\n bookingTypes: EnumModel[] = [{id:\"1\", name:\"Accommodation\", value:\"Accommodation\" },{id:\"2\", name:\"Function\", value:\"Function\" }]\r\n\r\n constructor(\r\n private messagingCentreService: MessagingCentreService,\r\n private permissionsService: PermissionsService\r\n ) {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n this.permissionsModel = permissionsService.createPermissionsModel(PermissionsEnum.Messaging);\r\n this.token = AuthTokenService.decodeJwtToken();\r\n }\r\n\r\n setBookingType(item: string) {\r\n this.bookingType = item;\r\n if (item == \"Function\") {\r\n \r\n }\r\n this.loadTemplates()\r\n }\r\n\r\n ngOnInit() {\r\n this.init();\r\n }\r\n\r\n hideBodyScroll() {\r\n const body = document.getElementsByTagName('body')[0];\r\n body.style.overflow = 'hidden';\r\n }\r\n\r\n sortTemplatesByName(a, b) {\r\n let x = a.name.toLowerCase();\r\n let y = b.name.toLowerCase();\r\n if (x < y) {\r\n return -1;\r\n }\r\n if (x > y) {\r\n return 1;\r\n }\r\n return 0;\r\n }\r\n\r\n init() {\r\n this.loadTemplates();\r\n }\r\n\r\n loadTemplates() {\r\n this.loader = true;\r\n this.messagingCentreService.getMessageTemplates(this.bookingType).subscribe(\r\n (response) => {\r\n this.loader = false;\r\n this.messageTemplateGridModel = response.sort(this.sortTemplatesByName);\r\n this.emailTemplates = this.messageTemplateGridModel.filter((x) => x.type === 'Email');\r\n this.smsTemplates = this.messageTemplateGridModel.filter((x) => x.type === 'Sms');\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n updateMessageTemplate(id) {\r\n this.templateId = id;\r\n this.editMessageTemplate = true;\r\n this.hideBodyScroll();\r\n }\r\n\r\n createNewTemplate() {\r\n this.addMessageTemplate = true;\r\n this.hideBodyScroll();\r\n }\r\n\r\n deleteMessageTemplate(id) {\r\n this.templateId = id;\r\n this.deletePopup = true;\r\n }\r\n\r\n deleteTemplateConfirmed() {\r\n this.messagingCentreService.deleteMessageTemplate(this.templateId).subscribe(\r\n (response) => {\r\n this.loader = false;\r\n this.init();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n}\r\n","
\r\n
\r\n

Email/SMS Templates

\r\n\r\n
\r\n\r\n
\r\n

Booking type

\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n

Email

\r\n \r\n
\r\n Active \r\n\r\n Inactive \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n

SMS

\r\n \r\n
\r\n Active \r\n\r\n Inactive \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n\r\n"],"names":["MessageLogFilterModel","constructor","date","status","type","page","messagesPerPage","_defineProperty","GridConfiguration","GridRequest","MessageLogsGridModel","filters","MessageLogsFilterApiModel","MessageLogsGridResponseModel","columns","dataField","caption","cellTemplate","allowSorting","alignment","width","format","customSearch","fieldName","value","pager","showPageSizeSelector","showNavigationButtons","allowedPageSizes","pageSize","showInfo","mapGridRequest","gridRequest","loadOptions","options","InvoiceTemplateModel","MessageTemplateModel","InvoiceTemplatePDModel","logoTypes","invoiceTemplate","messageGuestTemplate","messagePartnerTemplate","messageStatementTemplate","messagePaymentLinkTemplate","EnumModel","MessageTemplatePDModel","messageTemplate","EnumModelSelected","args","i0","ɵɵelement","ɵɵproperty","ctx_r0","safeHtml","ɵɵsanitizeHtml","InvoiceReportComponent","_InvoiceReportComponent","sanitizer","ngOnInit","bypassSecurityTrustHtml","invoiceHtml","ngAfterViewInit","document","forms","submit","ɵɵdirectiveInject","i1","DomSanitizer","selectors","inputs","decls","vars","consts","template","InvoiceReportComponent_Template","rf","ctx","ɵɵtemplate","InvoiceReportComponent_div_0_Template","designInvoice","ToastEventType","AuthTokenService","TokenContext","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵstyleProp","ɵɵpureFunction1","_c0","theme","ɵɵtextInterpolate","logoType_r8","ctx_r10","sanitize","ɵɵsanitizeUrl","ɵɵlistener","InvoiceTemplateComponent_div_11_div_11_Template_div_click_1_listener","ɵɵrestoreView","_r13","ctx_r12","ɵɵnextContext","ɵɵresetView","removeLogo","InvoiceTemplateComponent_div_11_Template_input_change_4_listener","$event","_r15","ctx_r14","uploadInvoiceLogo","InvoiceTemplateComponent_div_11_div_8_Template","InvoiceTemplateComponent_div_11_img_10_Template","InvoiceTemplateComponent_div_11_div_11_Template","ctx_r1","logo","logoUploaded","InvoiceTemplateComponent_button_46_Template_button_click_0_listener","_r17","ctx_r16","saveInvoiceTemplate","ɵɵtwoWayListener","InvoiceTemplateComponent_app_message_template_preview_49_Template_app_message_template_preview_templatesPreviewChange_0_listener","_r19","ctx_r18","ɵɵtwoWayBindingSet","openGuestInvoiceTemplateList","InvoiceTemplateComponent_app_message_template_preview_49_Template_app_message_template_preview_selectedTemplate_0_listener","ctx_r20","selectGuestTemplate","ɵɵtwoWayProperty","ctx_r4","invoiceTemplatePDModel","id","InvoiceTemplateComponent_app_message_template_preview_50_Template_app_message_template_preview_templatesPreviewChange_0_listener","_r22","ctx_r21","openPartnerInvoiceTemplateList","InvoiceTemplateComponent_app_message_template_preview_50_Template_app_message_template_preview_selectedTemplate_0_listener","ctx_r23","selectPartnerInvoiceTemplate","ctx_r5","InvoiceTemplateComponent_app_message_template_preview_51_Template_app_message_template_preview_templatesPreviewChange_0_listener","_r25","ctx_r24","openPartnerStatementsTemplateList","InvoiceTemplateComponent_app_message_template_preview_51_Template_app_message_template_preview_selectedTemplate_0_listener","ctx_r26","selectPartnerStatementTemplate","ctx_r6","InvoiceTemplateComponent_app_message_template_preview_52_Template_app_message_template_preview_templatesPreviewChange_0_listener","_r28","ctx_r27","openPaymentLinkTemplateList","InvoiceTemplateComponent_app_message_template_preview_52_Template_app_message_template_preview_selectedTemplate_0_listener","ctx_r29","selectPaymentLinkTemplate","ctx_r7","InvoiceTemplateComponent","_InvoiceTemplateComponent","settingsTemplatesService","fb","toasterService","decodeJwtToken","User","CmsTheme","token","getInvoiceForProperty","getInvoiceForm","Property","Id","getInvoiceReportsAccessToken","subscribe","response","invoiceIframeUrl","bypassSecurityTrustResourceUrl","getInvoiceReportsIFrameUrl","getInvoiceTemplateForProperty","map","x","name","openGInvoiceTemplates","openPInvoiceTemplates","openStatementsTemplates","openPaymentLinkTemplates","invoiceTemplateLoader","updateInvoiceTemplate","event","component","files","target","urlStringReader","FileReader","length","isValidUploadData","file","addEventListener","src","result","split","pop","push","readAsDataURL","showToast","Error","valid","Object","keys","forEach","i","size","bypassSecurityTrustUrl","SettingsTemplatesService","i2","UntypedFormBuilder","i3","i4","ToastService","InvoiceTemplateComponent_Template","InvoiceTemplateComponent_Template_dx_radio_group_valueChange_9_listener","logoType","InvoiceTemplateComponent_div_10_Template","InvoiceTemplateComponent_div_11_Template","InvoiceTemplateComponent_Template_button_click_17_listener","InvoiceTemplateComponent_Template_button_click_24_listener","InvoiceTemplateComponent_Template_button_click_31_listener","InvoiceTemplateComponent_Template_button_click_38_listener","InvoiceTemplateComponent_Template_dx_text_area_valueChange_43_listener","content","InvoiceTemplateComponent_div_45_Template","InvoiceTemplateComponent_button_46_Template","InvoiceTemplateComponent_app_message_template_preview_49_Template","InvoiceTemplateComponent_app_message_template_preview_50_Template","InvoiceTemplateComponent_app_message_template_preview_51_Template","InvoiceTemplateComponent_app_message_template_preview_52_Template","ɵɵsanitizeResourceUrl","AuthGuardUserByRole","RouterModule","mapToCanActivate","MessagingLogsComponent","CommonModule","SharedModule","DxSelectBoxModule","DxDataGridModule","DxDateBoxModule","DxPopoverModule","DxTooltipModule","DxRadioGroupModule","DxTextAreaModule","DxCheckBoxModule","SettingsMessagingCentreComponent","MessagingCentreDetailsComponent","MessagingLogsPreviewComponent","MessagingCentreService","MessageLogsService","ReactiveFormsModule","FormsModule","messageCentreRoutes","path","canActivate","data","roles","MessageCentreModule","_MessageCentreModule","imports","forChild","declarations","environment","_MessageLogsService","http","apiUrl","getData","post","getMessageLogsUrl","deleteMessageLog","logId","delete","deleteMessageLogUrl","ɵɵinject","HttpRequestService","factory","ɵfac","EventEmitter","_MessagingLogsPreviewComponent","close","showMessageChange","emit","showMessage","currentMessage","outputs","MessagingLogsPreviewComponent_Template","MessagingLogsPreviewComponent_Template_button_click_7_listener","ElementRef","DxDataGridComponent","DxGridHelper","first","MessagingLogsComponent_div_20_Template_dx_select_box_onValueChanged_3_listener","_r16","ctx_r15","reloadGrid","statuses","MessagingLogsComponent_div_21_Template_dx_select_box_onValueChanged_3_listener","types","ɵɵelementContainerStart","ɵɵelementContainerEnd","ɵɵtextInterpolate1","r_r20","refNumber","MessagingLogsComponent_div_27_Template_div_click_0_listener","restoredCtx","_r24","$implicit","goToBooking","bookingId","functionId","MessagingLogsComponent_div_27_ng_container_1_Template","n_r25","subject","message","MessagingLogsComponent_div_29_i_2_Template_i_mouseenter_0_listener","_r30","n_r26","ctx_r28","toggleTooltip","MessagingLogsComponent_div_29_i_2_Template_i_mouseleave_0_listener","ctx_r31","MessagingLogsComponent_div_29_i_2_Template_i_click_0_listener","ctx_r33","messagePopup","ɵɵpropertyInterpolate1","MessagingLogsComponent_div_29_i_2_Template","ɵɵpipeBind2","n_r36","scheduledTime","n_r37","timeSent","_c3","n_r38","MessagingLogsComponent_div_33_i_1_Template_i_click_0_listener","_r43","n_r39","ctx_r41","MessagingLogsComponent_div_33_i_1_Template","MessagingLogsComponent_div_34_i_1_Template_i_mouseenter_0_listener","_r49","n_r44","ctx_r47","showTooltip","MessagingLogsComponent_div_34_i_1_Template_i_mouseleave_0_listener","ctx_r50","hideTooltip","ɵɵclassMapInterpolate1","responseMessage","MessagingLogsComponent_div_34_i_1_Template","MessagingLogsComponent_div_34_Template_dx_popover_visibleChange_2_listener","_r56","showMessageResponse","MessagingLogsComponent_div_34_div_6_Template","ɵɵpureFunction0","_c4","_c5","MessagingLogsComponent_app_confirm_modal_36_Template_app_confirm_modal_confirmModalChange_0_listener","_r58","ctx_r57","confirmMessageDelete","MessagingLogsComponent_app_confirm_modal_36_Template_app_confirm_modal_declined_0_listener","ctx_r59","MessagingLogsComponent_app_confirm_modal_36_Template_app_confirm_modal_confirm_0_listener","ctx_r60","confirmDeleteMessage","ctx_r11","MessagingLogsComponent_app_messaging_logs_preview_42_Template_app_messaging_logs_preview_showMessageChange_0_listener","_r63","ctx_r62","ctx_r13","_MessagingLogsComponent","messageLogsService","router","getForMessageLogs","error","console","log","messageLogsRequest","e","setTimeout","init","gridConfiguration","service","ngAfterContentInit","initGrid","ConfigureGrid","grid","toDateString","statusValue","typeValue","msg","activeId","showTooltipMessage","navigate","searchLogs","searchValue","showToastError","title","toogleFilter","showFilter","item","messageToDelete","loader","pipe","res","clearFilters","key","hasOwnProperty","element","Router","viewQuery","MessagingLogsComponent_Query","MessagingLogsComponent_Template_input_ngModelChange_6_listener","MessagingLogsComponent_Template_input_keyup_enter_6_listener","MessagingLogsComponent_Template_button_click_8_listener","MessagingLogsComponent_Template_button_click_11_listener","MessagingLogsComponent_Template_dx_date_box_onValueChanged_19_listener","MessagingLogsComponent_Template_dx_date_box_valueChange_19_listener","MessagingLogsComponent_div_20_Template","MessagingLogsComponent_div_21_Template","MessagingLogsComponent_Template_button_click_23_listener","MessagingLogsComponent_div_27_Template","MessagingLogsComponent_div_28_Template","MessagingLogsComponent_div_29_Template","MessagingLogsComponent_div_30_Template","MessagingLogsComponent_div_31_Template","MessagingLogsComponent_div_32_Template","MessagingLogsComponent_div_33_Template","MessagingLogsComponent_div_34_Template","MessagingLogsComponent_div_35_Template","MessagingLogsComponent_app_confirm_modal_36_Template","MessagingLogsComponent_Template_dx_tooltip_visibleChange_37_listener","MessagingLogsComponent_div_41_Template","MessagingLogsComponent_app_messaging_logs_preview_42_Template","_c6","Validators","MessagingCentreDetailsComponent_div_5_Template_div_click_0_listener","_r4","ctx_r3","changeTab","_c2","activeTab","MessagingCentreDetailsComponent_ng_container_7_div_21_Template_input_change_1_listener","item_r21","setValueMessageType","i_r22","ɵɵpropertyInterpolate","selected","MessagingCentreDetailsComponent_ng_container_7_div_25_Template_input_click_1_listener","item_r25","setValueBookingSource","MessagingCentreDetailsComponent_ng_container_7_div_25_Template_input_ngModelChange_1_listener","i_r26","MessagingCentreDetailsComponent_ng_container_7_div_29_Template_input_change_1_listener","_r33","item_r30","ctx_r32","setValueMessageSender","i_r31","MessagingCentreDetailsComponent_ng_container_7_div_40_Template_input_ngModelChange_4_listener","_r37","item_r34","ctx_r36","setValueMessageRecipient","i_r35","MessagingCentreDetailsComponent_ng_container_7_div_42_Template_input_ngModelChange_3_listener","_r39","ctx_r38","messageTemplatePDModel","MessagingCentreDetailsComponent_ng_container_7_ng_container_49_Template_app_tiny_editor_onEditorContentChange_1_listener","_r41","ctx_r40","setValueFromEditor","MessagingCentreDetailsComponent_ng_container_7_ng_container_50_Template_textarea_ngModelChange_2_listener","_r44","ctx_r43","ctx_r17","MessagingCentreDetailsComponent_ng_container_7_button_54_Template_button_click_0_listener","_r46","ctx_r45","submitMessage","MessagingCentreDetailsComponent_ng_container_7_h2_1_Template","MessagingCentreDetailsComponent_ng_container_7_h2_2_Template","MessagingCentreDetailsComponent_ng_container_7_Template_input_ngModelChange_8_listener","_r48","MessagingCentreDetailsComponent_ng_container_7_span_9_Template","MessagingCentreDetailsComponent_ng_container_7_span_10_Template","MessagingCentreDetailsComponent_ng_container_7_Template_input_ngModelChange_12_listener","ctx_r49","scheduleActive","MessagingCentreDetailsComponent_ng_container_7_div_21_Template","MessagingCentreDetailsComponent_ng_container_7_div_25_Template","MessagingCentreDetailsComponent_ng_container_7_div_29_Template","MessagingCentreDetailsComponent_ng_container_7_Template_dx_select_box_valueChange_34_listener","filterChosen","MessagingCentreDetailsComponent_ng_container_7_Template_dx_select_box_onValueChanged_34_listener","ctx_r51","setSourceForFiltersDevex","MessagingCentreDetailsComponent_ng_container_7_Template_dx_select_box_valueChange_35_listener","ctx_r52","filterComboId","MessagingCentreDetailsComponent_ng_container_7_Template_dx_select_box_onValueChanged_35_listener","ctx_r53","setValueFromFilters","MessagingCentreDetailsComponent_ng_container_7_div_40_Template","MessagingCentreDetailsComponent_ng_container_7_div_42_Template","MessagingCentreDetailsComponent_ng_container_7_Template_dx_select_box_onItemClick_46_listener","ctx_r54","insertVariable","MessagingCentreDetailsComponent_ng_container_7_div_48_Template","MessagingCentreDetailsComponent_ng_container_7_ng_container_49_Template","MessagingCentreDetailsComponent_ng_container_7_ng_container_50_Template","MessagingCentreDetailsComponent_ng_container_7_span_52_Template","MessagingCentreDetailsComponent_ng_container_7_button_54_Template","MessagingCentreDetailsComponent_ng_container_7_div_55_Template","MessagingCentreDetailsComponent_ng_container_7_Template_button_click_56_listener","ctx_r55","addMessageTemplate","editMessageTemplate","messageForm","controls","hasError","dirty","touched","messageTemplateTypes","messageTemplateBookingSources","messageTemplateSenders","messageTemplateFilters","displayExprFilters","disableFilter","sourceForFilters","messageTemplateRecipients","showSubject","variablesSource","showEditor","messageSubmitted","loaderMessage","MessagingCentreDetailsComponent_ng_container_8_div_8_Template_input_change_1_listener","_r66","item_r63","ctx_r65","setValueScheduleType","i_r64","MessagingCentreDetailsComponent_ng_container_8_ng_container_9_Template_dx_select_box_valueChange_6_listener","_r71","ctx_r70","scheduleTrigger","MessagingCentreDetailsComponent_ng_container_8_ng_container_9_span_7_Template","MessagingCentreDetailsComponent_ng_container_8_ng_container_9_Template_input_ngModelChange_11_listener","ctx_r72","eventDelay","MessagingCentreDetailsComponent_ng_container_8_ng_container_9_span_12_Template","MessagingCentreDetailsComponent_ng_container_8_ng_container_9_span_13_Template","eventBasedForm","messageTemplateScheduleEventTriggers","MessagingCentreDetailsComponent_ng_container_8_ng_container_10_div_37_Template_input_change_1_listener","_r79","item_r76","ctx_r78","setValueScheduleTimeTriggers","i_r77","MessagingCentreDetailsComponent_ng_container_8_ng_container_10_Template_input_ngModelChange_6_listener","_r81","ctx_r80","timeDelay","MessagingCentreDetailsComponent_ng_container_8_ng_container_10_span_7_Template","MessagingCentreDetailsComponent_ng_container_8_ng_container_10_span_8_Template","MessagingCentreDetailsComponent_ng_container_8_ng_container_10_Template_input_change_11_listener","ctx_r82","setUnitDelay","MessagingCentreDetailsComponent_ng_container_8_ng_container_10_Template_input_change_16_listener","ctx_r83","MessagingCentreDetailsComponent_ng_container_8_ng_container_10_Template_input_change_21_listener","ctx_r84","MessagingCentreDetailsComponent_ng_container_8_ng_container_10_Template_input_change_27_listener","ctx_r85","setPeriodDelay","MessagingCentreDetailsComponent_ng_container_8_ng_container_10_Template_input_change_32_listener","ctx_r86","MessagingCentreDetailsComponent_ng_container_8_ng_container_10_div_37_Template","timeBasedForm","minutes","hours","days","before","after","messageTemplateScheduleTimeTriggers","MessagingCentreDetailsComponent_ng_container_8_button_12_Template_button_click_0_listener","_r88","ctx_r87","submitSchedule","MessagingCentreDetailsComponent_ng_container_8_h2_1_Template","MessagingCentreDetailsComponent_ng_container_8_h2_2_Template","MessagingCentreDetailsComponent_ng_container_8_div_8_Template","MessagingCentreDetailsComponent_ng_container_8_ng_container_9_Template","MessagingCentreDetailsComponent_ng_container_8_ng_container_10_Template","MessagingCentreDetailsComponent_ng_container_8_button_12_Template","MessagingCentreDetailsComponent_ng_container_8_div_13_Template","MessagingCentreDetailsComponent_ng_container_8_Template_button_click_14_listener","_r90","ctx_r89","ctx_r2","messageTemplateScheduleTypes","eventBased","timeBased","loaderSchedule","_MessagingCentreDetailsComponent","messageCentreService","communicationService","group","compose","required","maxLength","active","triggerEvent","delayEvent","min","delayTime","index","showBodyScroll","body","getElementsByTagName","style","overflow","addMessageTemplateChange","editMessageTemplateChange","setDynamicVariables","emailVariables","reservationType","smsVariables","JSON","parse","stringify","filter","smsForeach","find","newMessageTemplate","sender","recipient","scheduleType","setValue","templateId","setInitialData","getBookingSource","madeByStaff","madeByWebsite","madeByOTA","ccProperty","otaChannelId","rateplanId","partnerId","rateScheduleId","saleItemId","setSourceForFilters","minutesDelay","checkIfDayIsSelected","Math","abs","checkIfHourIsSelected","divided","vs","setBookingTypeForFiltersDevex","bookingTypes","setCcProperty","partnersSource","otaSource","includes","ratePlansSource","rateSchedulesSource","saleItemsSource","sf","_objectSpread","itemData","selectedVariable","passVariableToTinyMCE","next","indexStart","smsTextArea","nativeElement","selectionStart","indexEnd","selectionEnd","insertSelectedValueToText","variableSelectBox","instance","reset","text","startIndex","endIndex","replaceWord","substring","second","stopPropagation","c","markAsTouched","alreadySavedMessage","insertMessageTemplateMessage","update","updateMessageTemplateMessage","undefined","trigger","setTimeDelay","createMessageTemplateSchedule","updateMessageTemplateSchedule","insertMessageTemplateSchedule","CommunicationService","MessagingCentreDetailsComponent_Query","MessagingCentreDetailsComponent_Template_div_click_3_listener","MessagingCentreDetailsComponent_div_5_Template","MessagingCentreDetailsComponent_ng_container_7_Template","MessagingCentreDetailsComponent_ng_container_8_Template","_MessagingCentreService","getMessageTemplates","get","getMessageTemplatesUrl","newMessageTemplateUrl","messageTemplateId","editMessageTemplateUrl","model","insertMessageTemplateMessageUrl","insertMessageTemplateScheduleUrl","updateMessageTemplateMessageUrl","updateMessageTemplateScheduleUrl","deleteMessageTemplate","deleteMessageTemplateUrl","PermissionsEnum","SettingsMessagingCentreComponent_div_6_Template_input_change_4_listener","_r11","setBookingType","SettingsMessagingCentreComponent_div_6_Template_input_change_11_listener","bookingType","SettingsMessagingCentreComponent_div_11_ng_container_1_Template","SettingsMessagingCentreComponent_div_11_ng_container_2_Template","d_r13","SettingsMessagingCentreComponent_div_12_Template_i_click_1_listener","_r18","d_r16","updateMessageTemplate","permissionsModel","formButtonEnabled","SettingsMessagingCentreComponent_div_13_i_1_Template_i_click_0_listener","_r23","d_r19","SettingsMessagingCentreComponent_div_13_i_1_Template","SettingsMessagingCentreComponent_ng_container_18_div_4_ng_container_1_Template","SettingsMessagingCentreComponent_ng_container_18_div_4_ng_container_2_Template","d_r27","SettingsMessagingCentreComponent_ng_container_18_div_5_Template_i_click_1_listener","_r32","d_r30","ctx_r25","SettingsMessagingCentreComponent_ng_container_18_div_6_i_1_Template_i_click_0_listener","d_r33","ctx_r35","SettingsMessagingCentreComponent_ng_container_18_div_6_i_1_Template","SettingsMessagingCentreComponent_ng_container_18_div_4_Template","SettingsMessagingCentreComponent_ng_container_18_div_5_Template","SettingsMessagingCentreComponent_ng_container_18_div_6_Template","smsTemplates","ɵɵpureFunction5","_c1","SettingsMessagingCentreComponent_button_19_Template_button_click_0_listener","createNewTemplate","SettingsMessagingCentreComponent_app_messaging_centre_details_20_Template_app_messaging_centre_details_addMessageTemplateChange_0_listener","SettingsMessagingCentreComponent_app_messaging_centre_details_20_Template_app_messaging_centre_details_update_0_listener","ctx_r42","SettingsMessagingCentreComponent_app_messaging_centre_details_21_Template_app_messaging_centre_details_editMessageTemplateChange_0_listener","SettingsMessagingCentreComponent_app_messaging_centre_details_21_Template_app_messaging_centre_details_update_0_listener","ctx_r8","SettingsMessagingCentreComponent_app_delete_modal_22_Template_app_delete_modal_deleteModalChange_0_listener","_r47","ctx_r46","deletePopup","SettingsMessagingCentreComponent_app_delete_modal_22_Template_app_delete_modal_delete_0_listener","ctx_r48","deleteTemplateConfirmed","ctx_r9","_SettingsMessagingCentreComponent","messagingCentreService","permissionsService","createPermissionsModel","Messaging","loadTemplates","hideBodyScroll","sortTemplatesByName","a","b","toLowerCase","y","messageTemplateGridModel","sort","emailTemplates","PermissionsService","SettingsMessagingCentreComponent_Template","SettingsMessagingCentreComponent_div_5_Template","SettingsMessagingCentreComponent_div_6_Template","SettingsMessagingCentreComponent_div_11_Template","SettingsMessagingCentreComponent_div_12_Template","SettingsMessagingCentreComponent_div_13_Template","SettingsMessagingCentreComponent_ng_container_18_Template","SettingsMessagingCentreComponent_button_19_Template","SettingsMessagingCentreComponent_app_messaging_centre_details_20_Template","SettingsMessagingCentreComponent_app_messaging_centre_details_21_Template","SettingsMessagingCentreComponent_app_delete_modal_22_Template","Functions","_c7","_c8"],"sourceRoot":"webpack:///","x_google_ignoreList":[]}