{"version":3,"file":"solutionspme-ngx-microsoft-bot-framework.mjs","sources":["../../../projects/ngx-microsoft-bot-framework/src/lib/services/com.service.ts","../../../projects/ngx-microsoft-bot-framework/src/lib/services/message.service.ts","../../../projects/ngx-microsoft-bot-framework/src/lib/services/http-error-handler.service.ts","../../../projects/ngx-microsoft-bot-framework/src/lib/services/bot.service.ts","../../../projects/ngx-microsoft-bot-framework/src/lib/directives/style-set.directive.ts","../../../projects/ngx-microsoft-bot-framework/src/lib/directives/bot.directive.ts","../../../projects/ngx-microsoft-bot-framework/src/lib/directives/bot-helper.directive.ts","../../../projects/ngx-microsoft-bot-framework/src/lib/interfaces/default-options.ts","../../../projects/ngx-microsoft-bot-framework/src/lib/ngx-microsoft-bot-framework.module.ts","../../../projects/ngx-microsoft-bot-framework/src/public-api.ts","../../../projects/ngx-microsoft-bot-framework/src/solutionspme-ngx-microsoft-bot-framework.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\nimport { Subject }    from 'rxjs';\r\nimport { IPayload } from '../interfaces/bot-payload';\r\nimport { DEFAULT_OPTIONS } from '../interfaces/default-options';\r\n\r\n@Injectable()\r\nexport class ComService {\r\n\r\n  // Observable string sources\r\n  private secretDirectlineToken = new Subject<IPayload>();\r\n  private styleSetPayload = new Subject<DEFAULT_OPTIONS>();\r\n  private styleOptionsPayload = new Subject<DEFAULT_OPTIONS>();\r\n\r\n  // Observable string streams\r\n  botPayload$ = this.secretDirectlineToken.asObservable();\r\n  styleSet$ = this.styleSetPayload.asObservable();\r\n  styleOptions$ = this.styleOptionsPayload.asObservable();\r\n\r\n  // Service message commands\r\n  obtainToken(payload: IPayload) {\r\n    this.secretDirectlineToken.next(payload);\r\n  }\r\n\r\n  obtainStylePayload(styleoptionsPayload?: DEFAULT_OPTIONS, stylesetPayload?: DEFAULT_OPTIONS) {\r\n    this.styleSetPayload.next(stylesetPayload);\r\n    this.styleOptionsPayload.next(styleoptionsPayload);\r\n  }\r\n}","import { Injectable } from '@angular/core';\r\n\r\n@Injectable()\r\nexport class MessageService {\r\n  messages: string[] = [];\r\n\r\n  add(message: string) {\r\n    this.messages.push(message);\r\n  }\r\n\r\n  clear() {\r\n    this.messages = [];\r\n  }\r\n}","import { Injectable } from '@angular/core';\r\nimport { HttpErrorResponse } from '@angular/common/http';\r\n\r\nimport { Observable, of } from 'rxjs';\r\n\r\nimport { MessageService } from './message.service';\r\n\r\n/** Type of the handleError function returned by HttpErrorHandler.createHandleError */\r\nexport type HandleError =\r\n  <T> (operation?: string, result?: T) => (error: HttpErrorResponse) => Observable<T>;\r\n\r\n/** Handles HttpClient errors */\r\n@Injectable()\r\nexport class HttpErrorHandler {\r\n  constructor(private messageService: MessageService) { }\r\n\r\n  /** Create curried handleError function that already knows the service name */\r\n  createHandleError = (serviceName = '') => <T>\r\n    (operation = 'operation', result = {} as T) => this.handleError(serviceName, operation, result);\r\n\r\n  /**\r\n   * Returns a function that handles Http operation failures.\r\n   * This error handler lets the app continue to run as if no error occurred.\r\n   * @param serviceName = name of the data service that attempted the operation\r\n   * @param operation - name of the operation that failed\r\n   * @param result - optional value to return as the observable result\r\n   */\r\n  handleError<T> (serviceName = '', operation = 'operation', result = {} as T) {\r\n\r\n    return (error: HttpErrorResponse): Observable<T> => {\r\n      // TODO: send the error to remote logging infrastructure\r\n      console.error(error, operation); // log to console instead and add specific service call\r\n\r\n      const message = (error.error instanceof ErrorEvent) ?\r\n        error.error.message :\r\n       `server returned code ${error.status} with body \"${error.error}\"`;\r\n\r\n      // TODO: better job of transforming error for user consumption\r\n      this.messageService.add(`${serviceName}: ${operation} failed: ${message}`);\r\n\r\n      // Let the app keep running by returning a safe result.\r\n      return of( result );\r\n    };\r\n\r\n  }\r\n}","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { HttpHeaders } from '@angular/common/http';\r\n\r\nimport { ComService } from './com.service';\r\nimport { Observable, Subscription, of } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\n\r\nimport { HttpErrorHandler, HandleError } from './http-error-handler.service';\r\n\r\nconst httpOptions = {\r\n  headers: new HttpHeaders({\r\n    'Content-Type':  'application/json',\r\n    'Authorization': 'my-auth-token'\r\n  })\r\n};\r\n\r\n@Injectable()\r\nexport class BotService {\r\n  webchatUrl: string;\r\n  subscription: Subscription;\r\n  botTokenHeader: HttpHeaders;\r\n  secretSetting: boolean;\r\n  private handleError: HandleError;\r\n\r\n  constructor(\r\n    private http: HttpClient,\r\n    private comService: ComService,\r\n    httpErrorHandler: HttpErrorHandler\r\n  ) {\r\n    this.handleError = httpErrorHandler.createHandleError('AppService');\r\n    this.subscription = this.comService.botPayload$.subscribe(\r\n      response => {\r\n        this.botTokenHeader =\r\n          httpOptions.headers.set('Authorization', 'BotConnector ' + response.secret);\r\n        this.webchatUrl = response.url;\r\n        this.secretSetting = response.secretSetting;\r\n    });\r\n  }\r\n\r\n  /** GET temporary token from the server api */\r\n  public getTokenObs (): Observable<any> {\r\n    if (this.secretSetting) {\r\n      return this.http.get<any>(\r\n        this.webchatUrl, \r\n        { headers: this.botTokenHeader, observe: 'response' }\r\n      )\r\n      .pipe(\r\n       catchError(this.handleError<any>('getTokenObs', []))\r\n      );\r\n    } else {\r\n      return of<any>(false);\r\n    }\r\n  }\r\n\r\n  makeIntentionalError() {\r\n    return this.http.get('not/a/real/url')\r\n      .pipe(\r\n        catchError(this.handleError('makeIntentionalError', []))\r\n      );\r\n  }\r\n}","import { Directive } from '@angular/core';\r\n\r\nimport { BotService } from '../services/bot.service';\r\nimport { ComService } from '../services/com.service';\r\n\r\nimport { StyleSetObj, StyleSetProp, StyleSetObjReturn } from '../interfaces/style-set';\r\n\r\n@Directive({\r\n  selector: 'app-style-set',\r\n  providers: [BotService, ComService]\r\n})\r\nexport class StyleSetDirective implements StyleSetProp, StyleSetObj { \r\n  activities: StyleSetProp;\r\n  activity: StyleSetProp;\r\n  audioAttachment: StyleSetProp;\r\n  audioContent: StyleSetProp;\r\n  avatar: StyleSetProp;\r\n  bubble: StyleSetProp;\r\n  carouselFilmStrip: StyleSetProp;\r\n  carouselFlipper: StyleSetProp;\r\n  connectivityNotification: StyleSetProp;\r\n  dictationInterims: StyleSetProp;\r\n  downloadAttachment: StyleSetProp;\r\n  errorBox: StyleSetProp;\r\n  errorNotification: StyleSetProp;\r\n  microphoneButton: StyleSetProp;\r\n  root: StyleSetProp;\r\n  scrollToEndButton: StyleSetProp;\r\n  sendBox: StyleSetProp;\r\n  sendBoxButton: StyleSetProp;\r\n  sendBoxTextArea: StyleSetProp;\r\n  sendBoxTextBox: StyleSetProp;\r\n  sendStatus: StyleSetProp;\r\n  singleAttachmentActivity: StyleSetProp;\r\n  spinnerAnnimation: StyleSetProp;\r\n  stackedLayout: StyleSetProp;\r\n  suggestedAction: StyleSetProp;\r\n  suggestedActionsStyleSet: StyleSetProp;\r\n  textContent: StyleSetProp;\r\n  timestamp: StyleSetProp;\r\n  typingActivity: StyleSetProp;\r\n  typingAnimation: StyleSetProp;\r\n  uploadButton: StyleSetProp;\r\n  videoAttachment: StyleSetProp;\r\n  videoContent: StyleSetProp;\r\n  vimeoContent: StyleSetProp;\r\n  warningNotification: StyleSetProp;\r\n  youTubeContent: StyleSetProp;\r\n\r\n  Activities(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  Activity(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  AudioAttachment(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  AudioContent(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  Avatar(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  Bubble(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  CarouselFilmStrip(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  CarouselFlipper(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  ConnectivityNotification(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  DictationInterims(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  DownloadAttachment(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  ErrorBox(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  ErrorNotification(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  MicrophoneButton(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  Root(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  ScrollToEndButton(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  SendBox(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  SendBoxButton(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  SendBoxTextArea(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  SendBoxTextBox(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  SendStatus(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  SingleAttachmentActivity(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  SpinnerAnimation(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  StackedLayout(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  SuggestedAction(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  SuggestedActions(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  SuggestedActionsStyleSet(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  TextContent(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  Timestamp(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  TypingActivity(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  TypingAnimation(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  UploadButton(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  VideoAttachment(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  VideoContent(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  VimeoContent(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  WarningNotification(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n  YouTubeContent(a: StyleSetProp , b: StyleSetObjReturn) {\r\n    return a = Object.assign({}, a, b);\r\n  }\r\n}","// directives\r\nimport { Directive, ViewChild } from \"@angular/core\";\r\nimport { StyleSetDirective } from './style-set.directive';\r\n// services\r\nimport { BotService } from '../services/bot.service';\r\nimport { ComService } from '../services/com.service';\r\n// interfaces\r\nimport { DEFAULT_OPTIONS } from '../interfaces/default-options';\r\nimport { StyleSetProp } from '../interfaces/style-set';\r\n\r\n/**\r\n * Declares the WebChat property on the window object.\r\n */\r\ndeclare global {\r\n    interface Window {\r\n        WebChat: any;\r\n    }\r\n}\r\n\r\nwindow.WebChat = window.WebChat || {};\r\n\r\n@Directive({\r\n    selector: 'app-bot',\r\n    providers: [BotService, ComService]\r\n})\r\nexport class BotDirective {\r\nviewChild: ViewChild;\r\nstyleSet: StyleSetProp;\r\nstyleOptions: DEFAULT_OPTIONS;\r\nsecretSetting: boolean;\r\nsecret: string;\r\nuserId: string = 'USER_ID';\r\nwebSocket: boolean = true;\r\nerror: any;\r\n\r\n  constructor(\r\n    private styleSetDir: StyleSetDirective,\r\n    private botService: BotService,\r\n    private comService: ComService\r\n  ) {\r\n    this.comService.botPayload$.subscribe(\r\n    payload => {\r\n      this.secretSetting = payload.secretSetting;\r\n      this.secret = payload.secret;\r\n      payload.userId != undefined ? this.userId = payload.userId : this.userId;\r\n      payload.webSocket != undefined ? this.webSocket = payload.webSocket : this.webSocket;\r\n    }); \r\n    this.comService.styleSet$.subscribe(\r\n      response => {\r\n        if (response != null || response != undefined) {\r\n          // styleset set to property options for creatstyleset set from user\r\n          this.styleSet = window.WebChat.createStyleSet(response);\r\n          // stylesetdirective properties set to response from user\r\n          this.styleSetDir.activities = response.activties;\r\n          this.styleSetDir.activity = response.activity;\r\n          this.styleSetDir.audioAttachment = response.audioAttachment;\r\n          this.styleSetDir.audioContent = response.audioContent;\r\n          this.styleSetDir.avatar = response.avatar;\r\n          this.styleSetDir.bubble = response.bubble;\r\n          this.styleSetDir.carouselFilmStrip = response.carouselFilmStrip;\r\n          this.styleSetDir.carouselFlipper = response.carouselFlipper;\r\n          this.styleSetDir.connectivityNotification = response.connectivityNotification;\r\n          this.styleSetDir.dictationInterims = response.dictationInterims;\r\n          this.styleSetDir.downloadAttachment = response.downloadAttachment;\r\n          this.styleSetDir.errorBox = response.errorBox;\r\n          this.styleSetDir.errorNotification = response.errorNotification;\r\n          this.styleSetDir.microphoneButton = response.microphoneButton;\r\n          this.styleSetDir.root = response.root;\r\n          this.styleSetDir.scrollToEndButton = response.scrollToEndButton;\r\n          this.styleSetDir.sendBox = response.sendBox;\r\n          this.styleSetDir.sendBoxButton = response.sendBoxButton;\r\n          this.styleSetDir.sendBoxTextArea = response.sendBoxTextArea;\r\n          this.styleSetDir.sendBoxTextBox = response.sendBoxTextBox;\r\n          this.styleSetDir.sendStatus = response.sendStatus;\r\n          this.styleSetDir.singleAttachmentActivity = response.singleAttachmentActivity;\r\n          this.styleSetDir.spinnerAnnimation = response.spinnerAnnimation;\r\n          this.styleSetDir.stackedLayout = response.stackedLayout;\r\n          this.styleSetDir.suggestedAction = response.suggestedAction;\r\n          this.styleSetDir.suggestedActionsStyleSet = response.suggestedActionsStyleSet;\r\n          this.styleSetDir.textContent = response.textContent;\r\n          this.styleSetDir.timestamp = response.timestamp;\r\n          this.styleSetDir.typingActivity = response.typingActivity;\r\n          this.styleSetDir.uploadButton = response.uploadButton;\r\n          this.styleSetDir.videoAttachment = response.videoAttachment;\r\n          this.styleSetDir.videoContent = response.videoContent;\r\n          this.styleSetDir.vimeoContent = response.vimeoContent;\r\n          this.styleSetDir.warningNotification = response.warningNotification;\r\n          this.styleSetDir.youTubeContent = response.youTubContent;\r\n        }\r\n      });\r\n    this.comService.styleOptions$.subscribe(\r\n      response => {\r\n        if (response !== null || response !== undefined) {\r\n          this.styleOptions = response;\r\n        }\r\n      }\r\n    )\r\n  }\r\n  /**\r\n  * botDirective initiates the botservice to retreive token or secret,\r\n  * initiates renderWebChat and activates the directLine api.\r\n  * set styles from styleSet and styleOptions properties \r\n  * @viewChild is the only required parameter\r\n  * Use the bot-helper for full access and control of directline webchat api\r\n  */\r\n  botDirective(viewChild): void {\r\n    this.viewChild = viewChild;\r\n    let token: string;\r\n    this.botService.getTokenObs()\r\n      .subscribe(\r\n        response => {            \r\n          this.secretSetting ? token = response.body : token = this.secret;\r\n          if (response.status == 200 && response.statusText == 'OK' || response == false) {\r\n            const directLine = window.WebChat.createDirectLine({\r\n                secret: token,\r\n                webSocket: this.webSocket\r\n            });\r\n            if (this.styleSet && this.styleOptions) {\r\n              window.WebChat.renderWebChat(\r\n                  {\r\n                      directLine: directLine,\r\n                      userID: this.userId,\r\n                      styleOptions: this.styleOptions,\r\n                      styleSet: this.styleSet\r\n                  },\r\n                  this.viewChild\r\n              );\r\n            } else if (this.styleSet && !this.styleOptions) {\r\n              window.WebChat.renderWebChat(\r\n                  {\r\n                      directLine: directLine,\r\n                      userID: this.userId,\r\n                      styleSet: this.styleSet\r\n                  },\r\n                  this.viewChild\r\n              );\r\n            } \r\n            else if (this.styleOptions && !this.styleSet) {\r\n              window.WebChat.renderWebChat(\r\n                  {\r\n                      directLine: directLine,\r\n                      userID: this.userId,\r\n                      styleOptions: this.styleOptions,\r\n                  },\r\n                  this.viewChild\r\n              );\r\n            } else {\r\n              window.WebChat.renderWebChat(\r\n                  {\r\n                      directLine: directLine,\r\n                      userID: this.userId,\r\n                  },\r\n                  this.viewChild\r\n              );\r\n            }\r\n            directLine\r\n                .postActivity({\r\n                    from: { id: this.userId, name: \"USER_NAME\" },\r\n                    name: \"requestWelcomeDialog\",\r\n                    type: \"event\",\r\n                    value: \"token\"\r\n                })\r\n                .subscribe(\r\n                    id => console.log(`Posted activity, assigned ID ${id}`),\r\n                    error => console.log(`Error posting activity ${error}`)\r\n                );\r\n          }\r\n          if (this.styleSet != null || this.styleSet != undefined) {\r\n            this.styleSet.activities = this.styleSetDir.Activities(this.styleSet.activities, this.styleSetDir.activities);\r\n            this.styleSet.activity = this.styleSetDir.Activity(this.styleSet.activity, this.styleSetDir.activity);\r\n            this.styleSet.audioAttachment = this.styleSetDir.AudioAttachment(this.styleSet.audioAttachment, this.styleSetDir.audioAttachment);\r\n            this.styleSet.audioContent = this.styleSetDir.AudioContent(this.styleSet.audioContent, this.styleSetDir.audioContent);\r\n            this.styleSet.avatar = this.styleSetDir.Avatar(this.styleSet.avatar, this.styleSetDir.avatar);\r\n            this.styleSet.bubble = this.styleSetDir.Bubble(this.styleSet.bubble, this.styleSetDir.bubble);\r\n            this.styleSet.carouselFilmStrip = this.styleSetDir.CarouselFilmStrip(this.styleSet.carouselFilmStrip, this.styleSetDir.carouselFilmStrip);\r\n            this.styleSet.carouselFlipper = this.styleSetDir.CarouselFlipper(this.styleSet.carouselFlipper, this.styleSetDir.carouselFlipper);\r\n            this.styleSet.connectivityNotification = this.styleSetDir.ConnectivityNotification(this.styleSet.connectivityNotification, this.styleSetDir.connectivityNotification);\r\n            this.styleSet.dictationInterims = this.styleSetDir.DictationInterims(this.styleSet.dictationInterims, this.styleSetDir.dictationInterims);\r\n            this.styleSet.downloadAttachment = this.styleSetDir.DownloadAttachment(this.styleSet.downloadAttachment, this.styleSetDir.downloadAttachment);\r\n            this.styleSet.errorBox = this.styleSetDir.ErrorBox(this.styleSet.errorBox, this.styleSetDir.errorBox);\r\n            this.styleSet.errorNotification = this.styleSetDir.ErrorNotification(this.styleSet.errorNotification, this.styleSetDir.errorNotification);\r\n            this.styleSet.microphoneButton = this.styleSetDir.MicrophoneButton(this.styleSet.microphoneButton, this.styleSetDir.microphoneButton);\r\n            this.styleSet.root = this.styleSetDir.Root(this.styleSet.root, this.styleSetDir.root);\r\n            this.styleSet.scrollToEndButton = this.styleSetDir.ScrollToEndButton(this.styleSet.scrollToEndButton, this.styleSetDir.scrollToEndButton);\r\n            this.styleSet.sendBox = this.styleSetDir.SendBox(this.styleSet.sendBox, this.styleSetDir.sendBox);\r\n            this.styleSet.sendBoxButton = this.styleSetDir.SendBoxButton(this.styleSet.sendBoxButton, this.styleSetDir.sendBoxButton);\r\n            this.styleSet.sendBoxTextArea = this.styleSetDir.SendBoxTextArea(this.styleSet.sendBoxTextArea, this.styleSetDir.sendBoxTextArea);\r\n            this.styleSet.sendBoxTextBox = this.styleSetDir.SendBoxTextBox(this.styleSet.sendBoxTextBox, this.styleSetDir.sendBoxTextBox);\r\n            this.styleSet.sendStatus = this.styleSetDir.SendStatus(this.styleSet.sendStatus, this.styleSetDir.sendStatus);\r\n            this.styleSet.singleAttachmentActivity = this.styleSetDir.SingleAttachmentActivity(this.styleSet.singleAttachmentActivity, this.styleSetDir.singleAttachmentActivity);\r\n            this.styleSet.spinnerAnnimation = this.styleSetDir.SpinnerAnimation(this.styleSet.spinnerAnnimation, this.styleSetDir.spinnerAnnimation);\r\n            this.styleSet.stackedLayout = this.styleSetDir.StackedLayout(this.styleSet.stackedLayout, this.styleSetDir.stackedLayout);\r\n            this.styleSet.suggestedAction = this.styleSetDir.SuggestedAction(this.styleSet.suggestedAction, this.styleSetDir.suggestedAction);\r\n            this.styleSet.suggestedActionsStyleSet = this.styleSetDir.SuggestedActionsStyleSet(this.styleSet.suggestedActionsStyleSet, this.styleSetDir.suggestedActionsStyleSet);\r\n            this.styleSet.textContent = this.styleSetDir.TextContent(this.styleSet.textContent, this.styleSetDir.textContent);\r\n            this.styleSet.timestamp = this.styleSetDir.Timestamp(this.styleSet.timestamp, this.styleSetDir.timestamp);\r\n            this.styleSet.typingActivity = this.styleSetDir.TypingActivity(this.styleSet.typingActivity, this.styleSetDir.typingActivity);\r\n            this.styleSet.typingAnimation = this.styleSetDir.TypingAnimation(this.styleSet.typingAnimation, this.styleSetDir.typingAnimation);\r\n            this.styleSet.uploadButton = this.styleSetDir.UploadButton(this.styleSet.uploadButton, this.styleSetDir.uploadButton);\r\n            this.styleSet.videoAttachment = this.styleSetDir.VideoAttachment(this.styleSet.videoAttachment, this.styleSetDir.videoAttachment);\r\n            this.styleSet.videoContent = this.styleSetDir.VideoContent(this.styleSet.videoContent, this.styleSetDir.videoContent);\r\n            this.styleSet.vimeoContent = this.styleSetDir.VimeoContent(this.styleSet.vimeoContent, this.styleSetDir.vimeoContent);\r\n            this.styleSet.warningNotification = this.styleSetDir.WarningNotification(this.styleSet.warningNotification, this.styleSetDir.warningNotification);\r\n            this.styleSet.youTubeContent = this.styleSetDir.YouTubeContent(this.styleSet.youTubeContent, this.styleSetDir.youTubeContent);\r\n          }\r\n        }\r\n      );\r\n  }\r\n  makeError() {\r\n    this.botService.makeIntentionalError().subscribe(null, error => this.error = error );\r\n  }\r\n}","import { Directive, ViewChild } from \"@angular/core\";\r\n\r\n@Directive({\r\n    selector: 'bot-helper'\r\n})\r\nexport class BotHelperDirective {\r\n  viewChild: ViewChild; \r\n  userId: string = 'USER_ID';\r\n\r\n  /**\r\n  * renderWebChat overloaded method(+3) to initiate renderWebChat object for bot construction\r\n  * 2 - 6 parameters allow for a self constructed renderWebChat objects to a \r\n  * 2 parameter self contained object will full access to the WebChat api \r\n  * @viewChild is the only required parameter i\r\n  * If not providing a @renderObject provide null in its place to skip over\r\n  */\r\n  public renderWebChat(viewChild, renderObject, directLine, userId, styleOptionsPayload, styleSet);\r\n  public renderWebChat(viewChild, renderObject: {}, directLine, userId, styleOptionsPayload);\r\n  public renderWebChat(viewChild, renderObject: {}, directLine, userId: string);\r\n  public renderWebChat(viewChild, renderObject: {});\r\n  public renderWebChat(viewChild, renderObject?, directLine?, userId?, styleOptionsPayload?, styleSet?): void {\r\n    userId != undefined ? this.userId = userId : this.userId;\r\n    if (styleOptionsPayload && styleSet) {\r\n      window.WebChat.renderWebChat(\r\n        {\r\n          directLine: directLine,\r\n          userID: this.userId,\r\n          styleOptions: styleOptionsPayload,\r\n          styleSet: styleSet\r\n        },\r\n        this.viewChild = viewChild\r\n      );\r\n    } else if (styleOptionsPayload && !styleSet)  {\r\n      window.WebChat.renderWebChat(\r\n        {\r\n          directLine: directLine,\r\n          userID: this.userId,\r\n          styleOptions: styleOptionsPayload\r\n        },\r\n        this.viewChild = viewChild\r\n      );\r\n    } else if (styleSet && !styleOptionsPayload) {\r\n      window.WebChat.renderWebChat(\r\n        {\r\n          directLine: directLine,\r\n          userID: this.userId,\r\n          styleSet: styleSet\r\n        },\r\n        this.viewChild = viewChild\r\n      );\r\n    } else if (renderObject) {\r\n      window.WebChat.renderWebChat(\r\n        renderObject,\r\n        this.viewChild = viewChild\r\n      );\r\n    } else {\r\n      window.WebChat.renderWebChat(\r\n        {\r\n          directLine: directLine,\r\n          userId: this.userId\r\n        }\r\n      );\r\n    }\r\n  }\r\n}","function fontFamily(fonts) {\r\n  return fonts.map(font => `'${font}'`).join(', ');\r\n}\r\n\r\nexport interface DEFAULT_OPTIONS {\r\n  // Color and paddings\r\n  accent?: string;\r\n  backgroundColor?: string;\r\n  cardEmphasisBackgroundColor?: string;\r\n  paddingRegular?: any;\r\n  paddingWide?: any;\r\n  subtle?: string;\r\n\r\n  // Word break\r\n  messageActivityWordBreak?: string; // 'normal' || 'break-all' || 'break-word' || 'keep-all'\r\n\r\n  // Fonts\r\n  fontSizeSmall?: string;\r\n  monospaceFont?: string;\r\n  primaryFont?: string;\r\n\r\n  // Avatar\r\n  avatarSize?: any;\r\n  botAvatarImage?: string;\r\n  botAvatarInitials?: string;\r\n  userAvatarImage?: string;\r\n  userAvatarInitials?: string;\r\n\r\n  // Bubble\r\n  bubbleBackground?: string;\r\n  bubbleBorderColor?: string;\r\n  bubbleBorderRadius?: any;\r\n  bubbleBorderStyle?: string;\r\n  bubbleBorderWidth?: any;\r\n  bubbleFromUserBackground?: string;\r\n  bubbleFromUserBorderColor?: string;\r\n  bubbleFromUserBorderRadius?: any;\r\n  bubbleFromUserBorderStyle?: string;\r\n  bubbleFromUserBorderWidth?: any;\r\n  bubbleFromUserNubOffset?: string;\r\n  bubbleFromUserNubSize?: any;\r\n  bubbleFromUserTextColor?: string;\r\n  bubbleImageHeight?: any;\r\n  bubbleMaxWidth?: any; // screen width = 600px\r\n  bubbleMinHeight?: any;\r\n  bubbleMinWidth?: any; // min screen width = 300px, Edge requires 372px (https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/13621468/)\r\n  bubbleNubOffset?: string;\r\n  bubbleNubSize?: any;\r\n  bubbleTextColor?: string;\r\n\r\n  // Markdown\r\n  markdownRespectCRLF?: boolean;\r\n\r\n  // Rich Cards\r\n  richCardWrapTitle?: boolean; // Applies to subtitles as well\r\n\r\n  // Root\r\n  rootHeight?: string;\r\n  rootWidth?: string;\r\n\r\n  // Send box\r\n  hideSendBox?: boolean;\r\n  hideUploadButton?: boolean;\r\n  microphoneButtonColorOnDictate?: string;\r\n  sendBoxBackground?: string;\r\n  sendBoxButtonColor?: string;\r\n  sendBoxButtonColorOnDisabled?: string;\r\n  sendBoxButtonColorOnFocus?: string;\r\n  sendBoxButtonColorOnHover?: string;\r\n  sendBoxHeight?: any;\r\n  sendBoxMaxHeight?: any;\r\n  sendBoxTextColor?: string;\r\n  sendBoxBorderBottom?: string;\r\n  sendBoxBorderLeft?: string;\r\n  sendBoxBorderRight?: string;\r\n  sendBoxBorderTop?: string;\r\n  sendBoxPlaceholderColor?: string;\r\n  sendBoxTextWrap?: boolean;\r\n\r\n  // Visually show spoken text\r\n  showSpokenText?: boolean;\r\n\r\n  // Suggested actions\r\n  suggestedActionBackground?: string;\r\n  suggestedActionBorder?: string;\r\n  suggestedActionBorderRadius?: any;\r\n  suggestedActionImageHeight?: any;\r\n  // DEFAULT_ACCENT\r\n  suggestedActionTextColor?: string;\r\n  suggestedActionDisabledBackground?: string;\r\n  suggestedActionDisabledBorder?: string;\r\n  // DEFAULT_SUBTLE\r\n  suggestedActionDisabledTextColor?: string;\r\n  suggestedActionHeight?: any;\r\n\r\n  // Timestamp\r\n  timestampColor?: string;\r\n\r\n  // Transcript overlay buttons (e.g. carousel and suggested action flippers, scroll to bottom, etc.)\r\n  transcriptOverlayButtonBackground?: string;\r\n  transcriptOverlayButtonBackgroundOnFocus?: string;\r\n  transcriptOverlayButtonBackgroundOnHover?: string;\r\n  transcriptOverlayButtonColor?: string;\r\n  transcriptOverlayButtonColorOnFocus?: string;\r\n  transcriptOverlayButtonColorOnHover?: string;\r\n\r\n  // Video\r\n  videoHeight?: any; // based on bubbleMaxWidth, 480 / 16 * 9 = 270\r\n\r\n  // Connectivity UI\r\n  // PADDING_REGULAR\r\n  connectivityIconPadding?: any;\r\n  // PADDING_REGULAR\r\n  connectivityMarginLeftRight?: any;\r\n  // PADDING_REGULAR\r\n  connectivityMarginTopBottom?: any;\r\n  connectivityTextSize?: any;\r\n  failedConnectivity?: string;\r\n  slowConnectivity?: string;\r\n  notificationText?: string;\r\n\r\n  typingAnimationBackgroundImage?: any;\r\n  typingAnimationHeight?: any;\r\n  typingAnimationWidth?: any;\r\n\r\n  spinnerAnimationBackgroundImage?: any;\r\n  spinnerAnimationHeight?: any;\r\n  spinnerAnimationWidth?: any;\r\n  spinnerAnimationPaddingRight?: any;\r\n\r\n  // added properties for styling styleSet\r\n  activties?: {};\r\n  activity?: {};\r\n  audioAttachment?: {};\r\n  audioContent?: {};\r\n  avatar?: {};\r\n  bubble?: {};\r\n  carouselFilmStrip?: {};\r\n  carouselFlipper?: {};\r\n  connectivityNotification?: {};\r\n  dictationInterims?: {};\r\n  downloadAttachment?: {};\r\n  errorBox?: {};\r\n  errorNotification?: {};\r\n  microphoneButton?: {};\r\n  root?: {};\r\n  scrollToEndButton?: {};\r\n  sendBox?: {};\r\n  sendBoxButton?: {};\r\n  sendBoxTextArea?: {};\r\n  sendBoxTextBox?: {};\r\n  sendStatus?: {};\r\n  singleAttachmentActivity?: {};\r\n  spinnerAnnimation?: {};\r\n  stackedLayout?: {};\r\n  suggestedAction?: {};\r\n  suggestedActionsStyleSet?: {};\r\n  textContent?: {};\r\n  timestamp?: {};\r\n  typingActivity?: {};\r\n  uploadButton?: {};\r\n  videoAttachment?: {};\r\n  videoContent?: {};\r\n  vimeoContent?: {};\r\n  warningNotification?: {};\r\n  youTubContent?: {};\r\n};","import { BrowserModule } from '@angular/platform-browser';\r\nimport { NgModule } from '@angular/core';\r\n\r\nimport { BotDirective } from './directives/bot.directive';\r\nimport { BotHelperDirective } from './directives/bot-helper.directive';\r\nimport { StyleSetDirective } from './directives/style-set.directive';\r\nimport { HttpClientModule } from '@angular/common/http';\r\n\r\nimport { HttpErrorHandler }     from './services/http-error-handler.service';\r\nimport { MessageService }       from './services/message.service';\r\n\r\n\r\n@NgModule({\r\n  declarations: [\r\n    BotDirective,\r\n    BotHelperDirective,\r\n    StyleSetDirective\r\n  ],\r\n  imports: [\r\n    BrowserModule,\r\n    HttpClientModule\r\n  ],\r\n  exports: [],\r\n  providers: [\r\n    HttpErrorHandler,\r\n    MessageService\r\n  ]\r\n})\r\nexport class NgxMicrosoftBotFrameworkModule { }\r\n","/*\r\n * Public API Surface of ngx-microsoft-bot-framework\r\n */\r\n\r\n// directives \r\nexport * from './lib/directives/bot.directive';\r\nexport * from './lib/directives/bot-helper.directive';\r\nexport * from './lib/directives/style-set.directive';\r\n// services\r\nexport * from './lib/services/bot.service';\r\nexport * from './lib/services/com.service';\r\nexport * from './lib/services/http-error-handler.service';\r\nexport * from './lib/services/message.service';\r\n// interfaces\r\nexport * from './lib/interfaces/bot-payload';\r\nexport * from './lib/interfaces/webchat';\r\nexport * from './lib/interfaces/default-options';\r\nexport * from './lib/interfaces/payload-response';\r\nexport * from './lib/interfaces/style-set';\r\n// module.ts\r\nexport * from './lib/ngx-microsoft-bot-framework.module';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.MessageService","i2.ComService","i3.HttpErrorHandler","i1.StyleSetDirective","i2.BotService","i3.ComService"],"mappings":";;;;;;;;MAMa,UAAU,CAAA;AADvB,IAAA,WAAA,GAAA;;AAIU,QAAA,IAAA,CAAA,qBAAqB,GAAG,IAAI,OAAO,EAAY,CAAC;AAChD,QAAA,IAAA,CAAA,eAAe,GAAG,IAAI,OAAO,EAAmB,CAAC;AACjD,QAAA,IAAA,CAAA,mBAAmB,GAAG,IAAI,OAAO,EAAmB,CAAC;;AAG7D,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,CAAC,qBAAqB,CAAC,YAAY,EAAE,CAAC;AACxD,QAAA,IAAA,CAAA,SAAS,GAAG,IAAI,CAAC,eAAe,CAAC,YAAY,EAAE,CAAC;AAChD,QAAA,IAAA,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