{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/features/bots/components/designer/InputStringComponent.vue?5021","webpack:///./src/features/bots/components/botTestTool/PhonePreview.vue?f0fc","webpack:///./src/shared/util/wordWrapUtil.ts","webpack:///./src/features/reports/components/usage/BillableConversationsTrendChart.vue?07e1","webpack:///./src/shared/components/ReadonlyCopyableField.vue?487c","webpack:///./src/features/reports/components/ChartError.vue?5c7d","webpack:///./src/features/bots/components/designer/InputPatternEditor.vue?f0fb","webpack:///./src/features/apps/googlebm/models/launchStatus.ts","webpack:///./src/features/reports/services/datePicker.ts","webpack:///./src/features/reports/components/usage/ChannelMessagesTrendChart.vue?b454","webpack:///./src/shared/components/conditions/configComponents/DateTimeCondition.vue?2404","webpack:///./src/features/bots/components/designer/TextEditor/VariableBadge.vue?cc07","webpack:///./src/features/settings/components/UpdateAttribute.vue?61c8","webpack:///./src/store/attributes/getters.ts","webpack:///./src/features/reports/views/IntentsReports.vue?608b","webpack:///./src/App.vue?5197","webpack:///./src/features/bots/components/rules/RulesList.vue?bcad","webpack:///./src/features/reports/components/usage/UsageDateRangeFilter.vue","webpack:///./src/features/contacts/components/ContactConversationModal.vue?293c","webpack:///./src/shared/icons/InsertChartOutlined.vue?0a06","webpack:///./src/shared/components/capableAppPicker/CapableAppModal.vue","webpack:///./src/features/reports/components/flows/FlowTotalsCharts.vue?905c","webpack:///./src/features/bots/views/Intents.vue?f6f6","webpack:///./src/features/contacts/components/ContactConversationList.vue?25d5","webpack:///./src/features/bots/components/designer/IslandBadge.vue?96bd","webpack:///./src/App.vue?60ad","webpack:///./src/features/contacts/contacts.ts","webpack:///./src/shared/components/contentHighlights/ContentHighlightsEditModal.vue?c4e3","webpack:///./src/features/bots/components/designer/TextEditor/TextEditor.vue","webpack:///./src/features/bots/views/Bots.vue?1730","webpack:///./src/features/settings/views/GeneralSettings.vue?e4c2","webpack:///./src/features/reports/components/chartjs/DoughnutChartBaseWrapper.vue?e74e","webpack:///./src/shared/components/dataTable/ColumnPicker.vue?d5d8","webpack:///./src/features/reports/components/usage/BillableConversationsTrendChart.vue","webpack:///./src/shared/components/dataTable/DataTable.vue","webpack:///./src/shared/components/dropDownMenu/DropDownMenu.vue","webpack:///./src/store/index.ts","webpack:///./src/shared/components/PersonSearchIcon.vue?20d5","webpack:///./src/shared/components/capableAppPicker/CapableAppSelection.vue","webpack:///./src/shared/components/conditions/configComponents/DecimalCondition.vue?38d1","webpack:///./src/features/reports/components/flows/FlowReportFilters.vue?6d80","webpack:///./src/features/bots/components/designer/Triggers.vue?f7f3","webpack:///./src/features/bots/views/BotFlows.vue?0008","webpack:///./src/features/privateapps/views/CreatePrivateApp.vue","webpack:///./src/authentication/claims.ts","webpack:///./src/shared/icons/ChannelIcon.vue","webpack:///./src/features/registration/views/Register.vue?bc3f","webpack:///./src/shared/components/cardRenderer/CardRenderer.vue?369a","webpack:///./src/features/apps/googlebm/components/GoogleBmVerificationModal.vue?931f","webpack:///./src/shared/components/conditions/configComponents/DecimalCondition.vue?5df1","webpack:///./src/shared/components/dataTable/DataTable.vue?2fa3","webpack:///./src/features/bots/components/botTestTool/TimeSelector.vue?809d","webpack:///./src/features/bots/components/botTestTool/ChannelIdentityPicker.vue?39e4","webpack:///./src/fontawesome.ts","webpack:///./src/features/reports/components/usage/ProactiveTriggersTrendChart.vue?82c3","webpack:///./src/features/bots/components/businessHoursSelection/BusinessHoursSelection.vue?4ecc","webpack:///./src/shared/icons/PersonIcon.vue?daaa","webpack:///./src/features/apps/googlebm/components/GoogleBmAgentTestModal.vue?5fd8","webpack:///./src/features/reports/components/DateRangeFilter.vue?4112","webpack:///./src/features/reports/components/flows/baseFlowReport.ts","webpack:///./src/features/contacts/components/JoinOperatorPicker.vue?1aa8","webpack:///./src/shared/components/conditions/configComponents/ListCondition.vue?335d","webpack:///./src/shared/components/ConfirmationModal.vue","webpack:///./src/features/apps/btsms/btsmsConfig.vue?f27c","webpack:///./src/features/settings/views/UsersInWorkspace.vue?ac2d","webpack:///./src/features/apps/btsms/btsmsConfig.vue?fefc","webpack:///./src/features/bots/components/designer/VariablePicker/VariablePicker.vue?a2bf","webpack:///./src/features/bots/components/botTestTool/ChannelIdentityPicker.vue","webpack:///./src/features/webassistant/services/webAssistantAppService.ts","webpack:///./src/features/reports/components/ChartNoData.vue?087e","webpack:///./src/store/app/index.ts","webpack:///./src/shared/icons/Icon.vue?376c","webpack:///./src/features/bots/components/designer/PathPicker.vue?40a2","webpack:///./src/features/reports/services/usageReportsApi.ts","webpack:///./src/features/bots/components/botTestTool/PhonePreview.vue?2f93","webpack:///./src/features/bots/components/designer/Decision.vue?43d2","webpack:///./src/features/contacts/components/ContactTypePicker.vue?cdac","webpack:///./src/features/apps/shared/views/Apps.vue","webpack:///./src/shared/services/queryStringBuilder.ts","webpack:///./src/store/bot-designer/paths/actionTypes.ts","webpack:///./src/features/apps/googlebm/components/GoogleBmEditAgent.vue?bc89","webpack:///./src/features/webassistant/components/WebAssistantPreview.vue?b926","webpack:///./src/features/reports/views/IntentsReports.vue?ef2f","webpack:///./src/features/settings/views/EmailTemplate.vue?c48a","webpack:///./src/store/bot-designer/states/actionTypes.ts","webpack:///./src/shared/components/TriageIcon.vue?1147","webpack:///./src/store/channel-identities/index.ts","webpack:///./src/features/reports/components/ReportFilters.vue?c14e","webpack:///./src/features/reports/services/messagingReportsApi.ts","webpack:///./src/features/bots/components/designer/VariablePicker/VariablePicker.vue?1b65","webpack:///./src/features/apps/messenger/messengerConfig.vue?ae1e","webpack:///./src/features/apps/shared/components/AppUninstallNotAllowedModal.vue","webpack:///./src/workspaces/workspaces.ts","webpack:///./src/features/reports/components/usage/UsageDateRangeFilter.vue?228d","webpack:///./src/features/settings/services/emailTokenPlaceholders.ts","webpack:///./src/shared/components/conditions/ConditionGroupBuilder.vue?53ef","webpack:///./src/shared/components/conditions/ConditionConfigurator.vue","webpack:///./src/store/attributes/mutations.ts","webpack:///./src/features/bots/components/UpgradeBanner.vue?f07c","webpack:///./src/features/privateapps/views/EditPrivateApp.vue?b027","webpack:///./src/features/reports/components/usage/ChannelMessagesTrendChart.vue","webpack:///./src/features/apps/shared/components/AppConfirmModal.vue?6e73","webpack:///./src/features/bots/components/designer/TriggerBox.vue","webpack:///./src/features/settings/views/EmailTemplate.vue?7965","webpack:///./src/features/contacts/components/ContactTypePicker.vue?6994","webpack:///./src/shared/components/pageHeader/PageHeader.vue?8f68","webpack:///./src/shared/components/conditions/ConditionGroupBuilder.vue","webpack:///./src/features/bots/components/botTestTool/BrowserUrlBar.vue?626e","webpack:///./src/shared/components/capableAppPicker/CapableAppPicker.vue?3e14","webpack:///./src/features/webassistant/models/index.ts","webpack:///./src/features/webassistant/components/WebAssistantImageUpload.vue?c05e","webpack:///./src/features/apps/btsms/services/btApi.ts","webpack:///./src/features/privateapps/views/EditPrivateApp.vue?cae6","webpack:///./src/shared/components/TitledSection.vue?d4f6","webpack:///./src/features/bots/components/designer/VariablePicker/AddNewVariableModal.vue","webpack:///./src/features/apps/shared/components/AppOverview.vue?b3b2","webpack:///./src/features/bots/components/designer/UtteranceList.vue?2845","webpack:///./src/features/contacts/views/Contacts.vue?d165","webpack:///./src/features/contacts/components/ContactConversationModal.vue?2ea4","webpack:///./src/features/bots/views/BotFlows.vue?722e","webpack:///./src/features/reports/components/chartjs/DoughnutChart.vue?7eca","webpack:///./src/shared/icons/GoToIcon.vue?d79d","webpack:///./src/features/bots/components/designer/AppIntegrationComponent.vue?85ea","webpack:///./src/features/bots/components/designer/AdditionalInformationWrapper.vue?d184","webpack:///./src/features/apps/shared/components/AppUninstallNotAllowedModal.vue?fb1b","webpack:///./src/features/bots/components/designer/TriggerBox.vue?1d26","webpack:///./src/features/webassistant/components/homescreenPreview/HomeScreenHeader.vue?f865","webpack:///./src/features/bots/views/Tasks.vue?1ce2","webpack:///./src/features/contacts/views/Contacts.vue?5f02","webpack:///./src/features/bots/components/designer/TriggerScheduler.vue?fa44","webpack:///./src/features/settings/views/Settings.vue?47ed","webpack:///./src/features/bots/components/designer/TriggerScheduler.vue","webpack:///./src/features/bots/components/designer/AdditionalInformationWrapper.vue?4444","webpack:///./src/features/bots/components/designer/IslandBadge.vue?7c0e","webpack:///./src/features/webassistant/views/WebAssistant.vue","webpack:///./src/store/intents/actions.ts","webpack:///./src/features/webassistant/views/WebAssistant.vue?a518","webpack:///./src/shared/components/dataTable/DataTable.vue?fa4f","webpack:///./src/store/holidays/actionTypes.ts","webpack:///./src/features/bots/components/designer/TextEditor/EmojiPicker.vue?683e","webpack:///./src/features/bots/components/rules/Rule.vue?305b","webpack:///./src/features/webassistant/components/WebAssistantLauncher.vue","webpack:///./src/shared/icons/PersonIcon.vue?dca5","webpack:///./src/features/contacts/components/JoinOperatorPicker.vue","webpack:///./src/store/channel-identities/mutations.ts","webpack:///./src/shared/util/vuelidateUtil.ts","webpack:///./src/features/bots/services/nlp.ts","webpack:///./src/features/bots/components/rules/RulesList.vue?3ddc","webpack:///./src/shared/components/loadingSpinner/LoadingSpinner.vue?0216","webpack:///./src/features/reports/components/ChartNoData.vue?e296","webpack:///./src/features/apps/googlebm/components/GoogleBmEditAgent.vue?a920","webpack:///./src/connect/connectWidget.ts","webpack:///./src/features/reports/components/Report.vue?34af","webpack:///./src/shared/components/FriendlyString.vue?4a3f","webpack:///./src/features/bots/components/businessHoursSelection/BusinessHoursSelection.vue?436c","webpack:///./src/shared/components/contentHighlights/ContentHighlightsListAppEdit.vue?5dff","webpack:///./src/features/apps/shared/components/AppUninstallNotAllowedModal.vue?7e7c","webpack:///./src/shared/components/ReadonlyCopyableField.vue?ce86","webpack:///./src/features/contacts/models/contactType.ts","webpack:///./src/features/reports/components/Report.vue","webpack:///./src/features/settings/views/EmailTemplate.vue?909b","webpack:///./src/shared/components/DragIcon.vue?cc20","webpack:///./src/shared/components/conditions/ConditionConfigurator.vue?1101","webpack:///./src/features/apps/govuknotifysms/govuknotifysmsConfig.vue?7b0f","webpack:///./src/shared/icons/CustomAttributeIcon.vue?caf8","webpack:///./src/store/app/mutationTypes.ts","webpack:///./src/features/apps/govuknotifysms/components/GovNotifyServiceConfiguration.vue?952b","webpack:///./src/shared/components/conditions/configComponents/DateTimeCondition.vue?05e1","webpack:///./src/features/reports/views/UsageReports.vue?cb34","webpack:///./src/features/bots/services/exportFlow.ts","webpack:///./src/features/webassistant/components/WebAssistantImageUpload.vue","webpack:///./src/store/bot-designer/actions.ts","webpack:///./src/features/apps/googlebm/components/GoogleBmAgentList.vue?edd0","webpack:///./src/features/bots/components/botTestTool/ConversationControlBar.vue","webpack:///./src/features/apps/govuknotifysms/services/govNotifyApi.ts","webpack:///./src/features/bots/components/designer/TextComponent.vue?f3ca","webpack:///./src/App.vue?7449","webpack:///./src/features/bots/components/designer/GoToComponent.vue?dabf","webpack:///./src/features/apps/govuknotifysms/govuknotifysmsConfig.vue?9421","webpack:///./src/shared/components/conditions/configComponents/TimeOfDayCondition.vue?915e","webpack:///./src/features/bots/components/designer/TriggerScheduler.vue?0f9e","webpack:///./src/shared/components/FriendlyDateTime.vue?cd3c","webpack:///./src/features/bots/components/designer/InputStringComponent.vue?cf3b","webpack:///./src/features/bots/components/botTestTool/FlowSelector.vue","webpack:///./src/shared/components/conditions/ConditionPicker.vue?304e","webpack:///./src/features/apps/googlebm/services/googleMyBusinessApi.ts","webpack:///./src/features/apps/twitter/components/twitterAuthPopup.vue?7404","webpack:///./src/workspaces/CurrentWorkspaceHelper.ts","webpack:///./src/features/settings/components/InviteUser.vue?f913","webpack:///./src/features/bots/components/UpgradeBanner.vue","webpack:///./src/features/bots/components/botTestTool/ConversationControlBar.vue?729e","webpack:///./src/features/bots/components/AddAnswerModal.vue","webpack:///./src/features/bots/components/businessHoursSelection/BusinessHoursSelection.vue?a8d8","webpack:///./src/features/bots/views/FlowEditor.vue?23e4","webpack:///./src/features/apps/shared/components/AppModal.vue","webpack:///./src/features/settings/components/UpdateHoliday.vue?0ef6","webpack:///./src/features/bots/components/designer/Decision.vue?54af","webpack:///./src/features/webassistant/components/homescreenPreview/HomeScreenPreview.vue?8730","webpack:///./src/features/privateapps/views/PrivateApps.vue?3142","webpack:///./src/shared/components/TagBox.vue","webpack:///./src/shared/components/MultiSelectPicker.vue?412f","webpack:///./src/features/settings/views/Email.vue?4c8a","webpack:///./src/shared/icons/AnswerIcon.vue?6cda","webpack:///./src/features/reports/components/chartjs/LineChart.vue?46ca","webpack:///./src/features/bots/components/designer/VariablePicker/VariablePicker.vue?371f","webpack:///./src/features/apps/shared/components/AppConfig.vue?ec63","webpack:///./src/class-component-hooks.ts","webpack:///./src/features/contacts/components/ContactTypePicker.vue?6059","webpack:///./src/features/bots/components/designer/LinkedPathsBox.vue?0dbb","webpack:///./src/features/bots/components/designer/TextEditor/EmojiPicker.vue?a4aa","webpack:///./src/features/bots/components/botTestTool/BotPreviewMessagingClientContainer.vue","webpack:///./src/features/apps/googlebm/components/GoogleBmLocations.vue?376b","webpack:///./src/features/registration/views/Register.vue?8e70","webpack:///./src/store/answers/mutations.ts","webpack:///./src/shared/components/contentHighlights/ContentHighlightsListAppEdit.vue?04f5","webpack:///./src/shared/components/conditions/ConditionPicker.vue?450c","webpack:///./src/shared/icons/MessageIcon.vue?8379","webpack:///./src/features/bots/components/designer/TextComponent.vue?c132","webpack:///./src/features/webassistant/components/homescreenPreview/HomeScreenPanelStartChat.vue?4a84","webpack:///./src/features/apps/twitter/components/twitterAuthPopup.vue","webpack:///./src/features/bots/components/designer/InputValidationConfig.vue?41b5","webpack:///./src/shared/components/Badge.vue?9731","webpack:///./src/shared/components/conditions/configComponents/TimeOfDayCondition.vue","webpack:///./src/store/app/actionTypes.ts","webpack:///./src/features/bots/components/designer/Decision.vue","webpack:///./src/features/apps/govuknotifysms/govuknotifysmsConfig.vue","webpack:///./src/features/reports/components/usage/ChannelMessagesTrendChart.vue?17c4","webpack:///./src/features/bots/components/designer/IslandBadge.vue","webpack:///./src/shared/components/MultiSelectPicker.vue?6a1b","webpack:///./src/shared/components/capableAppPicker/CapableAppConfig.vue?dbfe","webpack:///./src/shared/components/loadingSpinner/LoadingSpinner.vue","webpack:///./src/features/bots/components/designer/TextEditor/VariableBadge.vue?04d4","webpack:///./src/features/settings/views/GeneralSettings.vue?fa46","webpack:///./src/features/bots/components/designer/AppIntegrationComponent.vue?605d","webpack:///./src/shared/components/conditions/configComponents/TextCondition.vue","webpack:///./src/shared/components/capableAppPicker/CapableAppSelection.vue?8166","webpack:///./src/features/settings/components/UpdateHoliday.vue?98df","webpack:///./src/features/bots/components/designer/TextEditor/ActionBar.vue?eb84","webpack:///./src/features/bots/components/designer/TextEditor/ActionBar.vue","webpack:///./src/features/bots/components/designer/Triggers.vue?d896","webpack:///./src/shared/components/conditions/configComponents/TextCondition.vue?340b","webpack:///./src/features/settings/views/EmailTemplate.vue","webpack:///./src/features/settings/views/Settings.vue?8eea","webpack:///./src/features/bots/components/designer/TextEditor/EmojiPicker.vue?f4c0","webpack:///./src/features/privateapps/views/CreatePrivateApp.vue?2236","webpack:///./src/shared/components/conditions/ConditionConfigurator.vue?cff7","webpack:///./src/shared/components/PagingControl.vue?f989","webpack:///./src/shared/util/attributeIconUtil.ts","webpack:///./src/features/bots/components/botTestTool/FlowSelector.vue?04bf","webpack:///./src/shared/icons/ListIcon.vue?df5c","webpack:///./src/features/bots/components/FaqIntentPicker.vue?966f","webpack:///./src/features/webassistant/components/homescreenPreview/HomeScreenHeader.vue","webpack:///./src/features/webassistant/components/WebAssistantPreview.vue?0849","webpack:///./src/shared/components/conditions/AddCondition.vue?00d7","webpack:///./src/shared/components/MultiSelectPicker.vue?e895","webpack:///./src/shared/components/dataTable/DataTable.vue?cc29","webpack:///./src/shared/components/EditableComponent.vue?4d51","webpack:///./src/features/bots/components/rules/Rule.vue?5f81","webpack:///./src/features/bots/components/designer/TextEditor/TextEditor.vue?f9ec","webpack:///./src/shared/components/capableAppPicker/CapableAppPicker.vue?0190","webpack:///./src/features/apps/messenger/services/messengerApi.ts","webpack:///./src/features/apps/twitter/twitterConfig.vue?f7fc","webpack:///./src/shared/components/conditions/configComponents/ListCondition.vue?0d3e","webpack:///./src/features/privateapps/views/PrivateAppsList.vue?e36d","webpack:///./src/features/reports/components/flows/FlowEscalationRateCharts.vue?fad2","webpack:///./src/features/bots/components/designer/UtteranceList.vue","webpack:///./src/features/contacts/models/operatorTypes.ts","webpack:///./src/features/privateapps/views/EditPrivateApp.vue","webpack:///./src/features/bots/components/designer/FaqAddIntentModal.vue","webpack:///./src/features/bots/components/designer/TriggerBox.vue?112c","webpack:///./src/store/answers/actions.ts","webpack:///./src/shared/components/AddFlowModal.vue?2a59","webpack:///./src/features/contacts/components/ContactConversationModal.vue","webpack:///./src/features/apps/messenger/services/instagramApi.ts","webpack:///./src/features/reports/components/flows/FlowReportFilters.vue","webpack:///./src/features/bots/components/designer/HumanHandoverComponent.vue?d344","webpack:///./src/features/bots/views/BotFlows.vue","webpack:///./src/features/reports/components/chartjs/DoughnutChart.vue","webpack:///./src/features/bots/components/UpgradeBanner.vue?1069","webpack:///./src/shared/icons/ListIcon.vue","webpack:///./src/features/webassistant/components/WebAssistantPreview.vue?7618","webpack:///./src/features/bots/views/ActiveLearning.vue","webpack:///./src/features/reports/components/chartjs/LineChart.vue?0030","webpack:///./src/store/answers/mutationTypes.ts","webpack:///./src/store/attributes/index.ts","webpack:///./src/features/contacts/views/ContactsList.vue","webpack:///./src/shared/components/ReadonlyCopyableField.vue","webpack:///./src/App.vue","webpack:///./src/features/bots/components/botTestTool/ConversationControlBar.vue?604c","webpack:///./src/shared/components/EditableComponent.vue","webpack:///./src/shared/components/conditions/configComponents/NumberCondition.vue?3c1d","webpack:///./src/shared/components/AdvancedTooltip.vue","webpack:///./src/features/reports/components/usage/ProactiveTriggersTrendChart.vue?5c57","webpack:///./src/features/bots/services/flows.ts","webpack:///./src/store/holidays/actions.ts","webpack:///./src/shared/components/contentHighlights/ContentHighlightsListItemEdit.vue?39d6","webpack:///./src/features/reports/components/conversations/ConversationTrendCharts.vue?03b0","webpack:///./src/store/bot-designer/actionTypes.ts","webpack:///./src/features/webassistant/components/WebAssistantLauncher.vue?8578","webpack:///./src/features/settings/services/emailApiService.ts","webpack:///./src/features/reports/components/chartjs/DoughnutChart.vue?6668","webpack:///./src/features/privateapps/views/EditPrivateApp.vue?7598","webpack:///./src/shared/components/capableAppPicker/CapableAppConfig.vue","webpack:///./src/features/bots/components/designer/InputValidationConfig.vue?967d","webpack:///./src/shared/icons/ChannelIcon.vue?d775","webpack:///./src/store/bot-designer/states/mutationTypes.ts","webpack:///./src/features/reports/views/Reports.vue?e7a0","webpack:///./src/features/reports/components/usage/ProactiveTriggersTrendChart.vue?8a78","webpack:///./src/shared/icons/FlowVariableIcon.vue?a157","webpack:///./src/store/bot-designer/triggers/mutationTypes.ts","webpack:///./src/shared/components/capableAppPicker/CapableAppConfig.vue?6a13","webpack:///./src/shared/components/Modal.vue?25b5","webpack:///./src/features/bots/components/botTestTool/BotPreviewMessagingClientContainer.vue?2772","webpack:///./src/features/apps/shared/components/AppOverview.vue","webpack:///./src/features/webassistant/components/conversationPreview/ConversationHeader.vue?076a","webpack:///./src/features/bots/components/designer/Decision.vue?bc12","webpack:///./src/features/reports/components/conversations/ContactTrendCharts.vue?b3e9","webpack:///./src/shared/components/conditions/configComponents/NumberCondition.vue?bfc9","webpack:///./src/features/settings/views/BusinessHours.vue?78c8","webpack:///./src/features/bots/components/designer/VariablePicker/VariablePicker.vue","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/features/bots/components/botTestTool/ConversationControlBar.vue?c4a0","webpack:///./src/shared/components/Banner.vue?413a","webpack:///./src/shared/icons/ChannelIcon.vue?4da9","webpack:///./src/shared/components/conditions/configComponents/DateTimeCondition.vue?c057","webpack:///./src/shared/components/Modal.vue?f091","webpack:///./src/features/webassistant/components/homescreenPreview/HomeScreenPanelStartChat.vue","webpack:///./src/ErrorPage.vue","webpack:///./src/features/reports/components/flows/FlowTotalsCharts.vue?6fce","webpack:///./src/features/settings/components/CreateAttribute.vue","webpack:///./src/features/apps/googlebm/components/googleBmAgentConfig.vue","webpack:///./src/features/settings/components/CreateHoliday.vue?ffd7","webpack:///./src/store/intents/mutations.ts","webpack:///./src/features/bots/components/designer/InputValidationConfig.vue?68e1","webpack:///./src/features/settings/components/UpdateHoliday.vue?aa43","webpack:///./src/shared/components/contentHighlights/ContentHighlightsEditModal.vue?1591","webpack:///./src/features/bots/components/AddAnswerModal.vue?a4b5","webpack:///./src/features/apps/googlebm/components/GoogleBmLaunchModal.vue?8345","webpack:///./src/features/reports/components/usage/BillableConversationsTrendChart.vue?1af3","webpack:///./src/features/bots/components/designer/PathPicker.vue?a504","webpack:///./src/ErrorPage.vue?88c2","webpack:///./src/features/reports/components/conversations/ContactTrendCharts.vue?8e1b","webpack:///./src/features/apps/twitter/twitterConfig.vue?a0af","webpack:///./src/shared/icons/GoToIcon.vue?2bac","webpack:///./src/shared/components/pageHeader/PageHeader.vue?78ad","webpack:///./src/shared/components/FriendlyString.vue","webpack:///./src/features/contacts/components/ContactConversationList.vue?1215","webpack:///./src/features/bots/views/Flow.vue?6bce","webpack:///./src/features/settings/components/InviteUser.vue","webpack:///./src/features/webassistant/components/homescreenPreview/HomeScreenPreview.vue?5838","webpack:///./src/shared/components/capableAppPicker/CapableAppSelection.vue?e9d8","webpack:///./src/features/apps/googlebm/components/GoogleBmLocations.vue?272b","webpack:///./src/features/bots/components/designer/InputValidationConfig.vue?eb86","webpack:///./src/features/bots/components/designer/TextComponent.vue","webpack:///./src/shared/components/FriendlyDateTime.vue?fa97","webpack:///./src/shared/components/TagsInput.vue","webpack:///./src/shared/components/PagingControl.vue?3886","webpack:///./src/features/reports/views/MessagingReports.vue?b5f3","webpack:///./src/features/bots/components/designer/Triggers.vue?d1e7","webpack:///./src/shared/icons/CustomAttributeIcon.vue","webpack:///./src/shared/components/Badge.vue","webpack:///./src/features/webassistant/components/WebAssistantPreview.vue?95ea","webpack:///./src/shared/components/conditions/ConditionGroupBuilder.vue?7687","webpack:///./src/features/contacts/views/ContactsList.vue?c8d8","webpack:///./src/features/settings/components/UpdateAttribute.vue?3463","webpack:///./src/features/contacts/components/ContactDetails.vue?bae6","webpack:///./src/features/reports/models/index.ts","webpack:///./src/features/reports/util/ChartDataUtil.ts","webpack:///./src/shared/components/AddFlowModal.vue?ad76","webpack:///./src/features/bots/components/designer/QuickReplyComponent.vue?b803","webpack:///./src/features/reports/components/flows/TotalsDoughnutChart.vue","webpack:///./src/shared/icons/InsertChartOutlined.vue?0f95","webpack:///./src/features/webassistant/services/assets.ts","webpack:///./src/features/bots/components/designer/TriggerScheduler.vue?864f","webpack:///./src/shared/components/DragIcon.vue?3f05","webpack:///./src/features/settings/components/CreateAttribute.vue?3791","webpack:///./src/features/bots/components/designer/AdditionalInformationWrapper.vue?6bb8","webpack:///./src/features/settings/views/Email.vue?cf0e","webpack:///./src/features/settings/services/htmlFormatter.ts","webpack:///./src/features/bots/components/designer/QuickReplyComponent.vue?625c","webpack:///./src/shared/components/PagingControl.vue","webpack:///./src/shared/services/htmlFormatter.ts","webpack:///./src/features/reports/views/Reports.vue?127c","webpack:///./src/features/reports/components/flows/TotalsDoughnutChart.vue?be17","webpack:///./src/features/settings/views/GeneralSettings.vue","webpack:///./src/features/reports/components/chartjs/DoughnutChart.vue?89b7","webpack:///./src/shared/components/EditableText.vue?a373","webpack:///./src/features/bots/components/botTestTool/PhonePreview.vue?75a4","webpack:///./src/shared/components/conditions/configComponents/TextCondition.vue?d4db","webpack:///./src/features/settings/components/CreateHoliday.vue","webpack:///./src/features/bots/components/designer/LinkedPathsBox.vue","webpack:///./src/shared/components/AddFlowModal.vue?5a9b","webpack:///./src/features/apps/shared/views/Apps.vue?55f0","webpack:///./src/features/bots/components/designer/MultiContactTypePicker.vue","webpack:///./src/store/attributes/mutationTypes.ts","webpack:///./src/features/reports/components/chartjs/plugins/inlineLabelsPlugin.ts","webpack:///./src/shared/components/conditions/configComponents/DurationCondition.vue?2693","webpack:///./src/features/reports/components/flows/FlowTotalsCharts.vue","webpack:///./src/features/bots/views/ActiveLearning.vue?74c2","webpack:///./src/features/reports/components/chartjs/chartConfig.ts","webpack:///./src/features/apps/shared/components/AppConfig.vue?0714","webpack:///./src/features/apps/twitter/components/twitterAuthPopup.vue?cc90","webpack:///./src/features/bots/views/Intents.vue?6b12","webpack:///./src/features/webassistant/components/WebAssistantPreview.vue?5a26","webpack:///./src/features/bots/components/designer/DeleteIntentModal.vue?3bf3","webpack:///./src/features/bots/components/UpgradeModal.vue?4f14","webpack:///./src/features/privateapps/views/CreatePrivateApp.vue?de7b","webpack:///./src/features/bots/components/FaqIntentPicker.vue?9d96","webpack:///./src/features/bots/components/designer/EditIntentModal.vue?3088","webpack:///./src/features/bots/components/rules/RulesList.vue?27f2","webpack:///./src/shared/components/Badge.vue?b44c","webpack:///./src/features/bots/components/designer/InputStringComponent.vue","webpack:///./src/shared/components/TagsInput.vue?b042","webpack:///./src/features/reports/views/FlowsReports.vue?8c62","webpack:///./src/features/contacts/components/ContactTypePicker.vue","webpack:///./src/features/bots/views/Tasks.vue","webpack:///./src/features/webassistant/models/typicalResponseTimeOptions.ts","webpack:///./src/shared/services/appInsights.ts","webpack:///./src/features/bots/components/designer/Conditions/decisionConditionsManager.ts","webpack:///./src/router.ts","webpack:///./src/features/bots/views/FlowEditor.vue?1b27","webpack:///./src/features/bots/components/designer/GoToComponent.vue?cbdd","webpack:///./src/features/bots/views/ActiveLearning.vue?d215","webpack:///./src/features/bots/components/designer/TextEditor/TextEditor.vue?cf3d","webpack:///./src/features/reports/components/ChartLabels.vue?f66f","webpack:///./src/features/webassistant/components/WebAssistantLauncher.vue?4f82","webpack:///./src/features/apps/googlebm/components/GoogleBmLocations.vue","webpack:///./src/features/contacts/components/ContactConversation.vue?5773","webpack:///./src/shared/components/conditions/ConditionGroupBuilder.vue?0e09","webpack:///./src/features/settings/views/GeneralSettings.vue?ceea","webpack:///./src/shared/icons/MessageIcon.vue","webpack:///./src/App.vue?3402","webpack:///./src/shared/components/dataTable/DataTableIcon.vue?ba11","webpack:///./src/features/bots/components/designer/InputPatternEditor.vue?b3e1","webpack:///./src/features/bots/components/botTestTool/FlowSelector.vue?a6ef","webpack:///./src/store/app/actions.ts","webpack:///./src/features/bots/components/designer/Conditions/IntentCondition.vue","webpack:///./src/features/reports/components/chartjs/DoughnutChartBaseWrapper.vue","webpack:///./src/features/bots/components/designer/TextEditor/VariableBadge.vue?6f1e","webpack:///./src/features/reports/components/chartjs/BarChart.vue?4d65","webpack:///./src/features/bots/components/designer/MultiContactTypePicker.vue?3755","webpack:///./src/store/bot-designer/paths/actions.ts","webpack:///./src/features/bots/components/designer/InputStringComponent.vue?883b","webpack:///./src/features/reports/components/ChartLabels.vue?72ae","webpack:///./src/features/webassistant/services/webAssistant.ts","webpack:///./src/features/settings/views/GeneralSettings.vue?d1fd","webpack:///./src/features/contacts/components/ContactConversationList.vue?4762","webpack:///./src/features/apps/twitter/twitterConfig.vue","webpack:///./src/features/bots/views/BotFlows.vue?b0aa","webpack:///./src/features/reports/components/chartjs/plugins/doughnutLabels/types.ts","webpack:///./src/features/contacts/views/Contacts.vue?ce8d","webpack:///./src/features/apps/shared/components/AppModal.vue?ccf2","webpack:///./src/features/settings/components/CreateHoliday.vue?fa15","webpack:///./src/features/bots/components/designer/Conditions/triggerConditionsManager.ts","webpack:///./src/features/reports/components/DateRangeFilter.vue","webpack:///./src/features/reports/views/MessagingReports.vue?a2af","webpack:///./src/features/reports/components/flows/FlowEngagementCharts.vue?3fac","webpack:///./src/shared/icons/ListIcon.vue?9347","webpack:///./src/shared/components/conditions/configComponents/NumberCondition.vue?3f60","webpack:///./src/features/reports/components/conversations/ConversationTrendCharts.vue","webpack:///./src/features/reports/views/UsageReports.vue?1673","webpack:///./src/shared/icons/AnswerIcon.vue?e949","webpack:///./src/features/privateapps/views/PrivateApps.vue?f926","webpack:///./src/shared/components/contentHighlights/ContentHighlightsListItemEdit.vue?f61a","webpack:///./src/features/bots/views/FlowEditor.vue","webpack:///./src/features/apps/messenger/messengerConfig.vue","webpack:///./src/features/settings/views/Email.vue?7deb","webpack:///./src/features/bots/components/botTestTool/BotPausedBanner.vue?41c8","webpack:///./src/features/reports/services/nlpReportApi.ts","webpack:///./src/features/bots/components/designer/AddIntentModal.vue?8afd","webpack:///./src/config/config.ts","webpack:///./src/features/registration/views/Register.vue?c5a9","webpack:///./src/features/bots/components/botTestTool/TimeSelector.vue","webpack:///./src/store/channel-identities/actionTypes.ts","webpack:///./src/features/apps/shared/components/AppModal.vue?b638","webpack:///./src/features/apps/googlebm/components/GoogleBmAgentList.vue","webpack:///./src/features/bots/components/designer/UtteranceList.vue?e23e","webpack:///./src/shared/components/contentHighlights/ContentHighlightsArticleAppEdit.vue?f5be","webpack:///./src/shared/services/baseApiClient.ts","webpack:///./src/features/reports/services/index.ts","webpack:///./src/features/reports/components/chartjs/HorizontalThresholdBarChart.vue?1dfe","webpack:///./src/features/bots/components/designer/DecisionComponent.vue","webpack:///./src/shared/components/MultiSelectPicker.vue?cea1","webpack:///./src/features/bots/components/rules/Rule.vue?82b8","webpack:///./src/ErrorPage.vue?ce42","webpack:///./src/features/apps/googlebm/googlebmConfig.vue?a3ea","webpack:///./src/features/settings/views/Settings.vue","webpack:///./src/features/reports/models/chartType.ts","webpack:///./src/shared/icons/InsertChartOutlined.vue","webpack:///./src/shared/components/capableAppPicker/CapableAppModal.vue?7d0a","webpack:///./src/features/apps/googlebm/components/GoogleBmUnlaunchModal.vue?690c","webpack:///./src/features/bots/views/BotFlows.vue?de52","webpack:///./src/shared/icons/MessageIcon.vue?2be2","webpack:///./src/features/bots/services/flowVariableUtils.ts","webpack:///./src/features/bots/components/designer/MultiContactTypePicker.vue?a4b8","webpack:///./src/shared/components/conditions/ConditionButton.vue?a716","webpack:///./src/features/bots/components/businessHoursSelection/businessHoursOptions.ts","webpack:///./src/features/reports/views/UsageReports.vue?eba1","webpack:///./src/features/reports/components/chartjs/PercentageStackedBarChart.vue?ef16","webpack:///./src/features/reports/components/ReportDownloader.vue","webpack:///./src/features/reports/components/ChartNoData.vue?cd74","webpack:///./src/shared/components/TitledSection.vue","webpack:///./src/features/apps/shared/services/appApiFactory.ts","webpack:///./src/features/reports/views/Reports.vue?7c38","webpack:///./src/features/reports/components/chartjs/PercentageBarChart.vue?2d35","webpack:///./src/shared/components/dropDownMenu/DropDownMenu.vue?6dc2","webpack:///./src/features/bots/components/botTestTool/ChannelIdentityPicker.vue?c761","webpack:///./src/store/bot-designer/mutations.ts","webpack:///./src/features/bots/models/designer/changeType.ts","webpack:///./src/features/bots/components/designer/Conditions/IntentCondition.vue?e425","webpack:///./src/shared/components/conditions/configComponents/ListCondition.vue","webpack:///./src/shared/components/PagingControl.vue?a4aa","webpack:///./src/features/bots/components/designer/UtteranceList.vue?6e27","webpack:///./src/shared/components/Badge.vue?f62b","webpack:///./src/features/reports/models/date.ts","webpack:///./src/shared/components/TagsInput.vue?f245","webpack:///./src/shared/components/CollapsibleSection.vue?1e19","webpack:///./src/shared/components/pageHeader/PageHeader.vue?393f","webpack:///./src/features/bots/views/Bots.vue?fa71","webpack:///./src/features/apps/googlebm/components/GoogleBmCancelVerificationModal.vue?dbac","webpack:///./src/features/settings/components/InviteUser.vue?5181","webpack:///./src/features/privateapps/views/CreatePrivateApp.vue?8889","webpack:///./src/features/reports/models/chartDataFormat.ts","webpack:///./src/features/reports/views/MessagingReports.vue?d86e","webpack:///./src/features/privateapps/views/PrivateApps.vue?0b91","webpack:///./src/features/apps/btsms/btsmsConfig.vue","webpack:///./src/features/reports/components/flows/baseReport.ts","webpack:///./src/features/apps/messenger/services/messengerSdkWrapper.ts","webpack:///./src/features/bots/components/designer/TransitionPicker.vue?41d5","webpack:///./src/shared/components/loadingSpinner/LoadingSpinner.vue?fda7","webpack:///./src/store/bot-designer/triggers/mutations.ts","webpack:///./src/features/reports/components/ChartNoData.vue","webpack:///./src/features/settings/views/BusinessHours.vue","webpack:///./src/features/settings/views/ContactAttributes.vue?a20e","webpack:///./src/features/bots/components/designer/AddIntentModal.vue?5c7e","webpack:///./src/features/webassistant/components/WebAssistantLauncher.vue?f077","webpack:///./src/features/contacts/components/ContactConversation.vue?9fa7","webpack:///./src/features/bots/components/designer/MultiContactTypePicker.vue?3b2a","webpack:///./src/features/reports/components/conversations/ContactTrendCharts.vue","webpack:///./src/shared/components/Banner.vue?bbe8","webpack:///./src/shared/components/capableAppPicker/CapableAppModal.vue?d656","webpack:///./src/features/contacts/components/ContactTypePicker.vue?118d","webpack:///./src/features/apps/googlebm/components/GoogleBmAgentList.vue?05fa","webpack:///./src/features/bots/components/designer/FaqAddIntentModal.vue?b684","webpack:///./src/features/apps/shared/components/AppConfirmModal.vue?a14f","webpack:///./src/shared/components/loadingSpinner/LoadingSpinner.vue?7f73","webpack:///./src/features/reports/components/flows/FlowTotalsCharts.vue?3c6c","webpack:///./src/shared/components/FriendlyDateTime.vue?5292","webpack:///./src/features/apps/googlebm/googlebmConfig.vue?32b8","webpack:///./src/features/reports/components/chartjs/HorizontalThresholdBarChart.vue?3a0a","webpack:///./src/shared/components/CollapsibleSection.vue?a3f5","webpack:///./src/features/settings/components/CreateHoliday.vue?bd7f","webpack:///./src/features/apps/shared/components/AppConfirmModal.vue?8799","webpack:///./src/shared/components/conditions/ConditionGroupBuilder.vue?69ae","webpack:///./src/features/webassistant/components/conversationPreview/ConversationHeader.vue?d30d","webpack:///./src/shared/components/contentHighlights/ContentHighlightsListItemEdit.vue?20df","webpack:///./src/shared/components/FriendlyDateTime.vue","webpack:///./src/features/bots/components/designer/VariablePicker/AddNewVariableModal.vue?694d","webpack:///./src/shared/components/conditions/configComponents/NumberCondition.vue","webpack:///./src/features/reports/components/usage/ProactiveTriggersTrendChart.vue","webpack:///./src/features/bots/components/businessHoursSelection/index.ts","webpack:///./src/features/bots/components/businessHoursSelection/validationHelpers.ts","webpack:///./src/features/bots/components/botTestTool/ConversationControlBar.vue?bfcc","webpack:///./src/shared/components/conditions/ConditionButton.vue?4c03","webpack:///./src/features/webassistant/components/homescreenPreview/HomeScreenPanelStartChat.vue?db5e","webpack:///./src/features/contacts/components/JoinOperatorPicker.vue?c463","webpack:///./src/features/bots/views/Tasks.vue?f4c8","webpack:///./src/shared/components/Banner.vue?9bed","webpack:///./src/shared/components/Modal.vue?f95f","webpack:///./src/shared/components/Modal.vue","webpack:///./src/features/bots/components/designer/InputPatternEditor.vue","webpack:///./src/features/reports/components/flows/FlowEscalationRateCharts.vue?6184","webpack:///./src/shared/components/conditions/ConditionPicker.vue?9ea5","webpack:///./src/features/reports/services/reportDownloader.ts","webpack:///./src/features/apps/googlebm/components/GoogleBmUnlaunchModal.vue","webpack:///./src/features/bots/components/designer/EditIntentModal.vue?7043","webpack:///./src/features/reports/services/fluentDate.ts","webpack:///./src/store/bot-designer/mutationTypes.ts","webpack:///./src/features/bots/components/designer/Decision.vue?c7a0","webpack:///./src/features/bots/components/botTestTool/BotPausedBanner.vue?c743","webpack:///./src/features/reports/components/usage/ProactiveTriggersTrendChart.vue?aa66","webpack:///./src/features/apps/govuknotifysms/components/GovNotifyServiceConfiguration.vue?6cec","webpack:///./src/shared/components/conditions/AddCondition.vue","webpack:///./src/features/bots/models/designer/triggerType.ts","webpack:///./src/shared/components/capableAppPicker/CapableAppModal.vue?fb95","webpack:///./src/store/holidays/mutations.ts","webpack:///./src/shared/components/conditions/ConditionConfigurator.vue?96fc","webpack:///./src/shared/components/capableAppPicker/CapableAppPicker.vue?c1aa","webpack:///./src/shared/components/conditions/models/conditionGroup.ts","webpack:///./src/features/bots/views/Tasks.vue?3aaa","webpack:///./src/shared/components/AdvancedTooltip.vue?2b5a","webpack:///./src/store/answers/index.ts","webpack:///./src/features/webassistant/components/homescreenPreview/HomeScreenHeader.vue?7b59","webpack:///./src/features/bots/components/AddAnswerModal.vue?22d9","webpack:///./src/shared/components/conditions/configComponents/TextCondition.vue?67ad","webpack:///./src/features/bots/components/businessHoursSelection/BusinessHoursSelection.vue?b95f","webpack:///./src/shared/components/conditions/ConditionConfigurator.vue?4dd3","webpack:///./src/features/apps/shared/views/Apps.vue?8926","webpack:///./src/features/bots/views/AnswerEditor.vue","webpack:///./src/features/privateapps/views/PrivateApps.vue","webpack:///./src/features/webassistant/components/homescreenPreview/HomeScreenPanelStartChat.vue?3875","webpack:///./src/features/bots/components/UpgradeBanner.vue?da56","webpack:///./src/features/bots/components/designer/AddIntentModal.vue","webpack:///./src/features/reports/components/chartjs/PercentageStackedBarChart.vue?2c94","webpack:///./src/shared/components/conditions/configComponents/NumberCondition.vue?c4d1","webpack:///./src/shared/components/capableAppPicker/CapableAppConfig.vue?13a5","webpack:///./src/features/webassistant/components/WebAssistantImageUpload.vue?a6be","webpack:///./src/features/apps/googlebm/components/GoogleBmLaunchModal.vue","webpack:///./src/features/bots/components/UpgradeModal.vue?c5d8","webpack:///./src/features/settings/components/CreateHoliday.vue?d3d7","webpack:///./src/shared/icons/Icon.vue?9527","webpack:///./src/shared/components/conditions/configComponents/ListCondition.vue?5f45","webpack:///./src/shared/components/contentHighlights/ContentHighlightsListAppEdit.vue?adb8","webpack:///./src/features/reports/views/MessagingReports.vue","webpack:///./src/features/apps/googlebm/components/GoogleBmAgentTestModal.vue?a41d","webpack:///./src/features/bots/components/designer/AdditionalInformationWrapper.vue?7072","webpack:///./src/features/reports/components/flows/FlowEngagementCharts.vue?5dca","webpack:///./src/features/bots/components/designer/TextComponent.vue?8a4b","webpack:///./src/features/contacts/components/ContactDetails.vue","webpack:///./src/shared/components/TagsInput.vue?29a0","webpack:///./src/shared/components/dataTable/DataTable.vue?40d0","webpack:///./src/features/contacts/views/ContactsList.vue?ba46","webpack:///./src/features/reports/views/UsageReports.vue","webpack:///./src/features/bots/components/rules/RulesList.vue","webpack:///./src/features/reports/components/usage/UsageDateRangeFilter.vue?22cb","webpack:///./src/shared/icons/CustomAttributeIcon.vue?d7c1","webpack:///./src/shared/components/dropDownMenu/dropDownHelper.ts","webpack:///./src/store/answers/actionTypes.ts","webpack:///./src/features/reports/components/chartjs/HorizontalThresholdBarChart.vue?0787","webpack:///./src/shared/components/cardRenderer/CardRenderer.vue?cafb","webpack:///./src/features/webassistant/components/homescreenPreview/HomeScreenHeader.vue?9ae2","webpack:///./src/features/bots/components/designer/IslandBadge.vue?f302","webpack:///./src/features/apps/googlebm/components/GoogleBmEditAgent.vue?212b","webpack:///./src/features/webassistant/components/WebAssistantViewToggle.vue?2eb3","webpack:///./src/shared/components/conditions/ConditionButton.vue?5592","webpack:///./src/store/reports/getters.ts","webpack:///./src/shared/components/ReadonlyField.vue?a432","webpack:///./src/features/webassistant/components/conversationPreview/ConversationPreview.vue?10f1","webpack:///./src/features/registration/views/Register.vue?cedc","webpack:///./src/shared/components/TagBox.vue?2400","webpack:///./src/shared/components/dataTable/ColumnPicker.vue?4b66","webpack:///./src/shared/components/cardRenderer/CardRenderer.vue?3b8e","webpack:///./src/features/webassistant/components/conversationPreview/ConversationPreview.vue?dcd3","webpack:///./src/features/bots/views/Answers.vue","webpack:///./src/features/bots/components/botTestTool/TimeSelector.vue?28eb","webpack:///./src/features/bots/components/designer/VariablePicker/VariablePicker.vue?6f49","webpack:///./src/shared/icons/InsertChartOutlined.vue?06da","webpack:///./src/features/bots/components/designer/PathPicker.vue?5877","webpack:///./src/features/reports/components/Report.vue?1e63","webpack:///./src/features/reports/components/ChartLabels.vue?9b98","webpack:///./src/shared/components/AdvancedTooltip.vue?5384","webpack:///./src/features/bots/components/designer/AppIntegrationComponent.vue?3fb2","webpack:///./src/shared/components/dropDownMenu/DropDownMenu.vue?95a3","webpack:///./src/features/bots/components/designer/DecisionComponent.vue?4c1b","webpack:///./src/features/bots/components/designer/EditIntentModal.vue?217b","webpack:///./src/features/bots/components/designer/AddIntentModal.vue?c72a","webpack:///./src/features/bots/components/botTestTool/ChannelIdentityPicker.vue?a9fe","webpack:///./src/features/bots/components/designer/DecisionComponent.vue?1f92","webpack:///./src/shared/components/conditions/configComponents/DateTimeCondition.vue?5397","webpack:///./src/features/reports/components/chartjs/DoughnutChartBaseWrapper.vue?a704","webpack:///./src/features/apps/googlebm/components/GoogleBmCancelVerificationModal.vue?764b","webpack:///./src/shared/services/dateTime.ts","webpack:///./src/features/reports/components/ReportDownloader.vue?0298","webpack:///./src/features/reports/components/ChartError.vue?853d","webpack:///./src/features/apps/shared/components/AppConfig.vue","webpack:///./src/features/reports/components/conversations/ConversationTrendCharts.vue?0c04","webpack:///./src/features/webassistant/components/conversationPreview/ConversationHeader.vue","webpack:///./src/features/bots/components/designer/AppIntegrationComponent.vue?e23d","webpack:///./src/features/reports/components/ReportDownloader.vue?3eed","webpack:///./src/features/apps/twitter/services/twitterApi.ts","webpack:///./src/features/bots/views/Answers.vue?87ec","webpack:///./src/features/bots/components/UpgradeModal.vue?fbfe","webpack:///./src/features/reports/components/chartjs/DoughnutChartBaseWrapper.vue?3789","webpack:///./src/features/bots/views/Intents.vue?2f99","webpack:///./src/features/bots/components/designer/FaqAddIntentModal.vue?edd3","webpack:///./src/features/bots/views/Answers.vue?9834","webpack:///./src/features/reports/components/flows/TotalsDoughnutChart.vue?a455","webpack:///./src/features/contacts/views/Contacts.vue","webpack:///./src/features/reports/components/usage/UsageDateRangeFilter.vue?2ec0","webpack:///./src/features/reports/components/ChartError.vue?edcf","webpack:///./src/features/reports/components/Report.vue?d80d","webpack:///./src/features/bots/components/designer/Conditions/IntentCondition.vue?21b2","webpack:///./src/features/apps/googlebm/components/googleBmAgentConfig.vue?f3ba","webpack:///./src/store/holidays/index.ts","webpack:///./src/features/reports/views/UsageReports.vue?182d","webpack:///./src/store/channel-identities/getters.ts","webpack:///./src/features/bots/views/AnswerEditor.vue?8ab9","webpack:///./src/shared/components/conditions/configComponents/DurationCondition.vue","webpack:///./src/features/settings/views/UsersInWorkspace.vue?c6c5","webpack:///./src/features/bots/components/designer/DeleteIntentModal.vue","webpack:///./src/features/webassistant/components/WebAssistantViewToggle.vue","webpack:///./src/shared/services/toast.ts","webpack:///./src/store/reports/actions.ts","webpack:///./src/features/bots/components/rules/ruleConditionsManager.ts","webpack:///./src/shared/icons/PersonIcon.vue?ef87","webpack:///./src/features/apps/googlebm/components/GoogleBmLaunchModal.vue?1776","webpack:///./src/features/settings/views/UsersInWorkspace.vue?a3c8","webpack:///./src/features/reports/components/flows/FlowTotalsCharts.vue?11e6","webpack:///./src/features/apps/googlebm/services/googlebmApi.ts","webpack:///./src/features/settings/components/UpdateAttribute.vue","webpack:///./src/store/attributes/actionTypes.ts","webpack:///./src/features/apps/shared/services/apps.ts","webpack:///./src/shared/components/conditions/configComponents/DateTimeCondition.vue","webpack:///./src/features/bots/components/botTestTool/BotPreviewModal.vue?e374","webpack:///./src/features/bots/views/Answers.vue?15a4","webpack:///./src/features/registration/views/Register.vue","webpack:///./src/features/apps/govuknotifysms/components/GovNotifyServiceConfiguration.vue?9f20","webpack:///./src/features/bots/views/AnswerEditor.vue?7ca9","webpack:///./src/features/bots/components/FaqIntentPicker.vue?2bb0","webpack:///./src/features/bots/components/botTestTool/BotPreviewMessagingClientContainer.vue?59f3","webpack:///./src/store/app/featureTypes.ts","webpack:///./src/features/bots/components/designer/EditIntentModal.vue?cb8b","webpack:///./src/features/reports/views/Reports.vue","webpack:///./src/shared/components/conditions/configComponents/DecimalCondition.vue","webpack:///./src/features/bots/components/designer/HumanHandoverComponent.vue?5794","webpack:///./src/features/apps/googlebm/components/GoogleBmAgentTestModal.vue?995f","webpack:///./src/features/reports/components/flows/FlowEscalationRateCharts.vue?c46c","webpack:///./src/features/reports/components/conversations/ContactTrendCharts.vue?4bb7","webpack:///./src/features/reports/views/IntentsReports.vue?d1d0","webpack:///./src/shared/components/conditions/configComponents/TimeOfDayCondition.vue?9fd7","webpack:///./src/shared/components/AddFlowModal.vue","webpack:///./src/shared/components/dataTable/DataTableIcon.vue?4828","webpack:///./src/features/apps/twitter/components/twitterAuthPopup.vue?9d11","webpack:///./src/shared/components/contentHighlights/ContentHighlightsEditModal.vue","webpack:///./src/shared/components/Banner.vue?278a","webpack:///./src/store/intents/index.ts","webpack:///./src/features/contacts/services/conversationApi.ts","webpack:///./src/features/webassistant/views/WebAssistant.vue?54d7","webpack:///./src/features/bots/components/designer/TextEditor/ActionBar.vue?f2fb","webpack:///./src/features/apps/googlebm/components/GoogleBmEditAgent.vue","webpack:///./src/shared/constants.ts","webpack:///./src/features/bots/components/designer/UtteranceList.vue?c822","webpack:///./src/store/reports/index.ts","webpack:///./src/features/bots/views/Intents.vue","webpack:///./src/store/intents/mutationTypes.ts","webpack:///./src/shared/components/CollapsibleSection.vue","webpack:///./src/features/apps/googlebm/components/GoogleBmVerificationModal.vue?bb1d","webpack:///./src/features/bots/components/designer/TextEditor/EmojiPicker.vue","webpack:///./src/features/bots/components/designer/TextEditor/TextEditor.vue?469a","webpack:///./src/store/reports/mutations.ts","webpack:///./src/features/settings/components/InviteUser.vue?42e2","webpack:///./src/shared/components/EditableComponent.vue?f4f2","webpack:///./src/features/bots/components/designer/DeleteIntentModal.vue?0f1b","webpack:///./src/features/apps/twitter/twitterConfig.vue?730c","webpack:///./src/features/bots/components/designer/Triggers.vue","webpack:///./src/features/reports/components/flows/FlowEscalationRateCharts.vue?8893","webpack:///./src/features/reports/components/conversations/ConversationTrendCharts.vue?2a81","webpack:///./src/features/bots/components/businessHoursSelection/businessHoursOption.ts","webpack:///./src/features/bots/components/botTestTool/FlowSelector.vue?f031","webpack:///./src/shared/components/capableAppPicker/CapableAppPicker.vue?f448","webpack:///./src/shared/components/capableAppPicker/CapableAppSelection.vue?112c","webpack:///./src/features/contacts/models/contactDataTableColumns.ts","webpack:///./src/features/reports/components/usage/ChannelMessagesTrendChart.vue?8fa7","webpack:///./src/shared/icons/Icon.vue?203e","webpack:///./src/features/reports/components/Report.vue?4758","webpack:///./src/features/webassistant/views/WebAssistant.vue?c955","webpack:///./src/shared/components/FriendlyString.vue?7311","webpack:///./src/features/reports/components/ChartLabels.vue","webpack:///./src/features/webassistant/components/homescreenPreview/HomeScreenPreview.vue?8702","webpack:///./src/features/bots/components/designer/PathDesigner.vue?0585","webpack:///./src/features/webassistant/models/response/homescreenAppInitViewModel.ts","webpack:///./src/features/bots/components/designer/TextEditor/ActionBar.vue?c99e","webpack:///./src/features/webassistant/components/homescreenPreview/HomeScreenHeader.vue?2642","webpack:///./src/features/apps/shared/components/AppConfirmModal.vue?230a","webpack:///./src/features/apps/twitter/twitterConfig.vue?dc2f","webpack:///./src/features/bots/components/botTestTool/BrowserUrlBar.vue","webpack:///./src/features/bots/components/designer/TextEditor/VariableBadge.vue","webpack:///./src/features/webassistant/services/homescreenAppCache.ts","webpack:///./src/features/bots/views/AnswerEditor.vue?8edd","webpack:///./src/features/settings/views/EmailTemplate.vue?4564","webpack:///./src/features/bots/components/designer/GoToComponent.vue?6eb2","webpack:///./src/messaging/models/contactAttributeType.ts","webpack:///./src/features/webassistant/components/homescreenPreview/HomeScreenPreview.vue","webpack:///./src/shared/components/ReadonlyField.vue?dfac","webpack:///./src/features/bots/components/designer/PathDesigner.vue?8a59","webpack:///./src/shared/components/contentHighlights/ContentHighlightsListAppEdit.vue","webpack:///./src/shared/components/conditions/AddCondition.vue?11a2","webpack:///./src/features/bots/components/designer/DeleteIntentModal.vue?8836","webpack:///./src/shared/components/loadingSpinner/LoadingSpinner.vue?b2bc","webpack:///./src/features/bots/components/designer/VariablePicker/AddNewVariableModal.vue?9000","webpack:///./src/features/reports/components/ChartError.vue","webpack:///./src/features/apps/googlebm/services/googleApi.ts","webpack:///./src/features/apps/messenger/messengerConfig.vue?b49b","webpack:///./src/shared/components/EditableText.vue","webpack:///./src/shared/components/dataTable/ColumnPicker.vue?5acd","webpack:///./src/shared/components/PagingControl.vue?b3ab","webpack:///./src/features/webassistant/components/WebAssistantViewToggle.vue?3a5e","webpack:///./src/features/reports/components/ChartNoData.vue?3f48","webpack:///./src/features/settings/components/CreateAttribute.vue?0a2d","webpack:///./src/features/apps/googlebm/googlebmConfig.vue","webpack:///./src/shared/icons/GoToIcon.vue?04be","webpack:///./src/shared/components/CollapsibleSection.vue?7ef2","webpack:///./src/shared/components/pageHeader/PageHeader.vue?2ffa","webpack:///./src/features/reports/components/flows/FlowTotalsCharts.vue?3efe","webpack:///./src/features/webassistant/components/WebAssistantViewToggle.vue?0e36","webpack:///./src/features/apps/googlebm/components/GoogleBmAgentList.vue?4cb9","webpack:///./src/shared/components/FriendlyString.vue?80aa","webpack:///./src/features/bots/views/Tasks.vue?6816","webpack:///./src/features/apps/twitter/components/twitterAuthPopup.vue?2b62","webpack:///./src/shared/components/Badge.vue?0177","webpack:///./src/features/settings/views/ContactAttributes.vue?fb09","webpack:///./src/features/apps/googlebm/components/GoogleBmUnlaunchModal.vue?e82d","webpack:///./src/features/privateapps/views/PrivateAppsList.vue?cebd","webpack:///./src/features/bots/components/designer/InputPatternEditor.vue?0e66","webpack:///./src/shared/components/TitledSection.vue?d0cc","webpack:///./src/features/bots/views/Answers.vue?ec5c","webpack:///./src/shared/components/conditions/configComponents/TimeOfDayCondition.vue?8567","webpack:///./src/features/settings/components/UpdateHoliday.vue?e42b","webpack:///./src/features/bots/components/designer/TextEditor/TextEditor.vue?7285","webpack:///./src/features/apps/shared/components/AppModal.vue?9538","webpack:///./src/features/bots/components/botTestTool/FlowSelector.vue?94ba","webpack:///./src/features/apps/googlebm/components/GoogleBmUnlaunchModal.vue?24d7","webpack:///./src/features/bots/components/designer/GoToComponent.vue","webpack:///./src/features/bots/services/bots.ts","webpack:///./src/features/bots/components/designer/HumanHandoverComponent.vue","webpack:///./src/shared/components/PersonSearchIcon.vue","webpack:///./src/store/app/getters.ts","webpack:///./src/features/bots/components/AddAnswerModal.vue?1e9a","webpack:///./src/features/reports/components/flows/TotalsDoughnutChart.vue?3922","webpack:///./src/features/bots/components/botTestTool/BotPreviewModal.vue?7be2","webpack:///./src/features/bots/views/Flow.vue?587c","webpack:///./src/features/bots/components/botTestTool/BrowserUrlBar.vue?0f67","webpack:///./src/features/apps/govuknotifysms/govuknotifysmsConfig.vue?455a","webpack:///./src/shared/util/sanitize-html/EmailTemplateSanitizeOptions.ts","webpack:///./src/features/bots/components/botTestTool/BotPausedBanner.vue?4d09","webpack:///./src/shared/components/DragIcon.vue?0c2f","webpack:///./src/features/reports/views/FlowsReports.vue?4504","webpack:///./src/features/settings/components/CreateAttribute.vue?13dc","webpack:///./src/features/bots/components/designer/PathPicker.vue?c64c","webpack:///./src/features/bots/components/designer/Triggers.vue?49d4","webpack:///./src/features/bots/components/designer/LinkedPathsBox.vue?bbd8","webpack:///./src/shared/components/ConfirmationModal.vue?e0e9","webpack:///./src/store/reports/mutationTypes.ts","webpack:///./src/features/bots/components/UpgradeModal.vue","webpack:///./src/features/bots/components/designer/LinkedPathsBox.vue?05b8","webpack:///./src/features/reports/views/FlowsReports.vue?a0b7","webpack:///./src/features/reports/components/chartjs/plugins/doughnutLabels/plugin.ts","webpack:///./src/store/intents/actionTypes.ts","webpack:///./src/features/apps/messenger/messengerConfig.vue?1033","webpack:///./src/features/webassistant/components/WebAssistantImageUpload.vue?4259","webpack:///./src/features/reports/components/DateRangeFilter.vue?c737","webpack:///./src/shared/components/conditions/ConditionButton.vue","webpack:///./src/features/reports/components/conversations/ContactTrendCharts.vue?abd3","webpack:///./src/features/contacts/components/ContactConversationList.vue?8094","webpack:///./src/features/bots/views/Intents.vue?b697","webpack:///./src/store/bot-designer/getters.ts","webpack:///./src/features/webassistant/models/messageDirection.ts","webpack:///./src/shared/components/dataTable/DataTableIcon.vue?35b7","webpack:///./src/shared/components/ReadonlyField.vue?c6a5","webpack:///./src/features/bots/components/FaqIntentPicker.vue","webpack:///./src/features/apps/googlebm/components/GoogleBmAgentTestModal.vue","webpack:///./src/features/reports/components/usage/BillableConversationsTrendChart.vue?6e4e","webpack:///./src/features/bots/components/designer/TextEditor/ActionBar.vue?373d","webpack:///./src/shared/components/PersonSearchIcon.vue?218a","webpack:///./src/features/bots/models/flowStatus.ts","webpack:///./src/features/settings/views/UsersInWorkspace.vue?8328","webpack:///./src/features/contacts/components/ContactConversationList.vue","webpack:///./src/shared/components/dataTable/ColumnPicker.vue","webpack:///./src/shared/components/contentHighlights/ContentHighlightsArticleAppEdit.vue","webpack:///./src/shared/components/contentHighlights/ContentHighlightsEditModal.vue?f2dd","webpack:///./src/features/reports/components/ReportFilters.vue?1fb8","webpack:///./src/shared/components/TriageIcon.vue?52d8","webpack:///./src/features/reports/views/FlowsReports.vue?0f34","webpack:///./src/features/bots/models/designer/regexType.ts","webpack:///./src/features/bots/views/ActiveLearning.vue?1b32","webpack:///./src/features/bots/components/designer/TextComponent.vue?e16e","webpack:///./src/features/bots/components/designer/TextEditor/EmojiPicker.vue?7356","webpack:///./src/features/bots/components/designer/LinkedPathsBox.vue?20c1","webpack:///./src/features/settings/views/BusinessHours.vue?4fb8","webpack:///./src/features/contacts/components/ContactConversation.vue","webpack:///./src/shared/components/ReadonlyCopyableField.vue?0f76","webpack:///./src/shared/components/EditableText.vue?6626","webpack:///./src/features/reports/components/ReportDownloader.vue?c5c2","webpack:///./src/features/bots/components/designer/InputValidationConfig.vue","webpack:///./src/features/bots/components/UpgradeModal.vue?70b3","webpack:///./src/shared/icons/FlowVariableIcon.vue?28b5","webpack:///./src/features/bots/contactNameUtil.ts","webpack:///./src/shared/components/AdvancedTooltip.vue?082c","webpack:///./src/features/contacts/components/ContactConversationModal.vue?3b20","webpack:///./src/features/apps/googlebm/components/GoogleBmLocations.vue?a14a","webpack:///./src/features/bots/components/designer/QuickReplyComponent.vue?a01f","webpack:///./src/shared/components/CollapsibleSection.vue?7b72","webpack:///./src/features/settings/models/usageLimitType.ts","webpack:///./src/features/bots/components/designer/VariablePicker/AddNewVariableModal.vue?c199","webpack:///./src/store/holidays/mutationTypes.ts","webpack:///./src/features/apps/googlebm/components/GoogleBmAddAgent.vue?5b2d","webpack:///./src/main.ts","webpack:///./src/features/bots/components/designer/AppIntegrationComponent.vue","webpack:///./src/shared/icons/CustomAttributeIcon.vue?eba9","webpack:///./src/features/settings/components/UpdateHoliday.vue","webpack:///./src/features/reports/components/flows/FlowEngagementCharts.vue?0152","webpack:///./src/features/apps/shared/components/AppModal.vue?6662","webpack:///./src/shared/components/conditions/ConditionPicker.vue?71aa","webpack:///./src/features/apps/googlebm/components/GoogleBmVerificationModal.vue","webpack:///./src/shared/components/TagBox.vue?121b","webpack:///./src/features/contacts/models/filtersManager.ts","webpack:///./src/features/bots/components/designer/PathDesigner.vue?69d9","webpack:///./src/shared/components/conditions/configComponents/DecimalCondition.vue?ee2a","webpack:///./src/features/reports/components/chartjs/PercentageBarChart.vue?15bd","webpack:///./src/features/apps/googlebm/components/googleBmAgentConfig.vue?efcf","webpack:///./src/features/bots/components/botTestTool/BrowserUrlBar.vue?fee2","webpack:///./src/features/apps/googlebm/components/GoogleBmLocations.vue?deb3","webpack:///./src/shared/icons/GoToIcon.vue","webpack:///./src/features/bots/components/designer/DecisionComponent.vue?2865","webpack:///./src/shared/components/FriendlyDateTime.vue?9158","webpack:///./src/features/apps/googlebm/components/GoogleBmAddAgent.vue","webpack:///./src/features/webassistant/components/WebAssistantImageUpload.vue?f723","webpack:///./src/shared/icons/ChannelIcon.vue?251c","webpack:///./src/store/channel-identities/mutationTypes.ts","webpack:///./src/features/bots/components/designer/HumanHandoverComponent.vue?0147","webpack:///./src/features/apps/shared/views/Apps.vue?e55b","webpack:///./src/shared/components/ConfirmationModal.vue?a2d9","webpack:///./src/features/bots/components/botTestTool/BotPausedBanner.vue","webpack:///./src/features/bots/components/designer/DecisionComponent.vue?e9d3","webpack:///./src/features/bots/components/botTestTool/BotPreviewModal.vue?f32b","webpack:///./src/shared/icons/MessageIcon.vue?1ac4","webpack:///./src/store/bot-designer/states/actions.ts","webpack:///./src/features/settings/views/ContactAttributes.vue?c1f2","webpack:///./src/shared/components/ConfirmationModal.vue?b585","webpack:///./src/features/settings/views/ContactAttributes.vue","webpack:///./src/shared/icons/PersonIcon.vue","webpack:///./src/shared/components/TriageIcon.vue","webpack:///./src/store/reports/actionTypes.ts","webpack:///./src/shared/components/conditions/configComponents/DurationCondition.vue?bb8c","webpack:///./src/features/bots/components/designer/TriggerScheduler.vue?5021","webpack:///./src/features/settings/views/Settings.vue?bb43","webpack:///./src/features/bots/views/Flow.vue","webpack:///./src/features/bots/services/botAppService.ts","webpack:///./src/features/reports/views/IntentsReports.vue?792b","webpack:///./src/shared/icons/ChannelIcon.vue?132a","webpack:///./src/shared/components/conditions/models/conditionsManager.ts","webpack:///./src/shared/components/dropDownMenu/DropDownMenu.vue?8c7b","webpack:///./src/features/apps/btsms/btsmsConfig.vue?bf6a","webpack:///./src/shared/components/AdvancedTooltip.vue?3642","webpack:///./src/ErrorPage.vue?4fd0","webpack:///./src/shared/components/EditableText.vue?5256","webpack:///./src/features/apps/googlebm/models/verificationStatus.ts","webpack:///./src/shared/components/TagsInput.vue?1965","webpack:///./src/features/webassistant/components/conversationPreview/ConversationPreview.vue","webpack:///./src/features/bots/services/answers.ts","webpack:///./src/shared/icons/FlowVariableIcon.vue?e230","webpack:///./src/shared/components/cardRenderer/CardRenderer.vue?0080","webpack:///./src/features/webassistant/services/webAssistantImageUpload.ts","webpack:///./src/features/reports/components/ReportDownloader.vue?83b9","webpack:///./src/shared/components/conditions/configComponents/DurationCondition.vue?0fa9","webpack:///./src/shared/components/dropDownMenu/DropDownMenu.vue?2a3d","webpack:///./src/features/apps/messenger/messengerConfig.vue?71c0","webpack:///./src/features/reports/components/DateRangeFilter.vue?4ef1","webpack:///./src/shared/components/conditions/configComponents/TimeOfDayCondition.vue?6385","webpack:///./src/features/contacts/views/ContactsList.vue?b1e8","webpack:///./src/features/apps/googlebm/components/googleBmAgentConfig.vue?6894","webpack:///./src/features/bots/components/botTestTool/BotPreviewMessagingClientContainer.vue?49bf","webpack:///./src/features/bots/components/designer/EditIntentModal.vue","webpack:///./src/features/bots/models/index.ts","webpack:///./src/features/bots/components/rules/Rule.vue?1385","webpack:///./src/features/bots/components/designer/AdditionalInformationWrapper.vue","webpack:///./src/features/reports/components/flows/FlowEngagementCharts.vue?9356","webpack:///./src/shared/components/TitledSection.vue?53bd","webpack:///./src/shared/components/contentHighlights/ContentHighlightsListItemEdit.vue?a18f","webpack:///./src/features/bots/components/designer/TriggerBox.vue?c7de","webpack:///./src/features/reports/components/flows/FlowReportFilters.vue?95de","webpack:///./src/features/reports/components/flows/FlowEngagementCharts.vue","webpack:///./src/features/webassistant/components/conversationPreview/ConversationHeader.vue?1ada","webpack:///./src/features/webassistant/components/homescreenPreview/HomeScreenPreview.vue?ef39","webpack:///./src/features/bots/components/FaqIntentPicker.vue?04cb","webpack:///./src/features/reports/components/flows/TotalsDoughnutChart.vue?b72d","webpack:///./src/features/reports/components/ReportFilters.vue","webpack:///./src/shared/components/conditions/ConditionButton.vue?86e4","webpack:///./src/features/apps/googlebm/components/GoogleBmAddAgent.vue?9f80","webpack:///./src/features/bots/components/designer/DeleteIntentModal.vue?5a4b","webpack:///./src/features/webassistant/models/response/imageUploadViewModel.ts","webpack:///./src/features/bots/components/botTestTool/PhonePreview.vue","webpack:///./src/features/bots/components/designer/Conditions/audienceConditionsManager.ts","webpack:///./src/authentication/authentication.service.ts","webpack:///./src/features/reports/components/usage/ChannelMessagesTrendChart.vue?1246","webpack:///./src/features/bots/components/botTestTool/TimeSelector.vue?2bb5","webpack:///./src/features/reports/views/MessagingReports.vue?8170","webpack:///./src/features/contacts/components/ContactDetails.vue?bec6","webpack:///./src/messaging/messaging.ts","webpack:///./src/shared/components/conditions/AddCondition.vue?11df","webpack:///./src/shared/components/capableAppPicker/CapableAppPicker.vue","webpack:///./src/features/bots/views/Flow.vue?e3ca","webpack:///./src/shared/components/contentHighlights/ContentHighlightsEditModal.vue?92fe","webpack:///./src/features/settings/components/UpdateAttribute.vue?b243","webpack:///./src/shared/components/cardRenderer/CardRenderer.vue","webpack:///./src/features/apps/googlebm/components/GoogleBmCancelVerificationModal.vue","webpack:///./src/features/bots/components/designer/AddIntentModal.vue?abec","webpack:///./src/features/bots/models/designer/index.ts","webpack:///./src/shared/components/MultiSelectPicker.vue","webpack:///./src/store/holidays/getters.ts","webpack:///./src/shared/components/dataTable/DataTableIcon.vue","webpack:///./src/features/apps/googlebm/components/googleBmAgentConfig.vue?e134","webpack:///./src/shared/components/contentHighlights/ContentHighlightsArticleAppEdit.vue?fd68","webpack:///./src/shared/icons/Icon.vue","webpack:///./src/features/bots/components/designer/MultiContactTypePicker.vue?bbd7","webpack:///./src/shared/components/ReadonlyField.vue","webpack:///./src/features/bots/views/AnswerEditor.vue?84e6","webpack:///./src/shared/components/DragIcon.vue","webpack:///./src/store/intents/getters.ts","webpack:///./src/features/settings/views/Email.vue","webpack:///./src/features/reports/views/Reports.vue?cdff","webpack:///./src/features/reports/components/usage/BillableConversationsTrendChart.vue?f626","webpack:///./src/features/bots/components/designer/TransitionPicker.vue?5b2b","webpack:///./src/features/reports/services/flowsReportApi.ts","webpack:///./src/features/apps/googlebm/components/GoogleBmLaunchModal.vue?458b","webpack:///./src/features/privateapps/views/PrivateAppsList.vue","webpack:///./src/features/reports/components/chartjs/DoughnutChart.vue?a83a","webpack:///./src/features/privateapps/views/PrivateAppsList.vue?d30b","webpack:///./src/features/bots/components/designer/Conditions/IntentCondition.vue?7da4","webpack:///./src/shared/components/conditions/models/conditions.ts","webpack:///./src/features/webassistant/components/conversationPreview/ConversationPreview.vue?76d5","webpack:///./src/features/reports/components/chartjs/LineChart.vue","webpack:///./src/features/bots/components/designer/TransitionPicker.vue?47a3","webpack:///./src/shared/components/TagBox.vue?be7c","webpack:///./src/features/bots/components/businessHoursSelection/BusinessHoursSelection.vue","webpack:///./src/features/webassistant/views/WebAssistant.vue?8419","webpack:///./src/features/webassistant/models/messageStatus.ts","webpack:///./src/features/bots/components/botTestTool/BotPreviewMessagingClientContainer.vue?0b11","webpack:///./src/features/bots/components/designer/HumanHandoverComponent.vue?ae57","webpack:///./src/features/apps/shared/components/AppOverview.vue?8a86","webpack:///./src/features/apps/govuknotifysms/components/GovNotifyServiceConfiguration.vue","webpack:///./src/shared/icons/FlowVariableIcon.vue","webpack:///./src/features/bots/components/botTestTool/BrowserUrlBar.vue?c6cd","webpack:///./src/features/reports/components/chartjs/PercentageStackedBarChart.vue","webpack:///./src/features/bots/models/followUpActionType.ts","webpack:///./src/features/bots/views/Bots.vue?8b80","webpack:///./src/features/reports/components/DateRangeFilter.vue?b178","webpack:///./src/store/bot-designer/states/mutations.ts","webpack:///./src/features/apps/shared/views/Apps.vue?2b32","webpack:///./src/features/apps/googlebm/components/GoogleBmCancelVerificationModal.vue?ec0f","webpack:///./src/shared/components/conditions/configComponents/DurationCondition.vue?edb7","webpack:///./src/features/bots/components/designer/TransitionPicker.vue?793a","webpack:///./src/features/apps/googlebm/components/GoogleBmAgentTestModal.vue?f887","webpack:///./src/features/apps/shared/components/AppUninstallNotAllowedModal.vue?6b83","webpack:///./src/features/reports/components/usage/UsageDateRangeFilter.vue?b265","webpack:///./src/store/bot-designer/paths/mutationTypes.ts","webpack:///./src/shared/icons/ListIcon.vue?9433","webpack:///./src/shared/components/pageHeader/PageHeader.vue","webpack:///./src/shared/components/contentHighlights/ContentHighlightsListAppEdit.vue?9796","webpack:///./src/features/bots/views/FlowEditor.vue?69d7","webpack:///./src/features/contacts/components/ContactDetails.vue?b049","webpack:///./src/features/apps/shared/components/AppOverview.vue?0fff","webpack:///./src/shared/components/EditableComponent.vue?0253","webpack:///./src/features/bots/views/Flow.vue?93ce","webpack:///./src/features/reports/components/chartjs/BarChart.vue","webpack:///./src/features/apps/btsms/btsmsConfig.vue?2230","webpack:///./src/features/reports/components/chartjs/plugins/doughnutLabels/utils.ts","webpack:///./src/features/apps/govuknotifysms/components/GovNotifyServiceConfiguration.vue?f470","webpack:///./src/shared/util/sanitize-html/sanitizeHtml.ts","webpack:///./src/features/bots/components/designer/PathDesigner.vue?939c","webpack:///./src/features/bots/components/botTestTool/PhonePreview.vue?ce3f","webpack:///./src/features/webassistant/components/conversationPreview/ConversationPreview.vue?22bc","webpack:///./src/store/bot-designer/index.ts","webpack:///./src/features/bots/components/botTestTool/BotPausedBanner.vue?57c9","webpack:///./src/ErrorPage.vue?23b1","webpack:///./src/features/bots/models/designer/transitionType.ts","webpack:///./src/shared/components/FriendlyString.vue?e439","webpack:///./src/features/settings/views/BusinessHours.vue?75b8","webpack:///./src/features/reports/views/IntentsReports.vue?cd6c","webpack:///./src/features/webassistant/components/homescreenPreview/HomeScreenPanelStartChat.vue?ed4d","webpack:///./src/features/bots/views/Bots.vue","webpack:///./src/features/reports/components/ChartLabels.vue?2377","webpack:///./src/features/contacts/components/ContactConversation.vue?5b43","webpack:///./src/features/reports/components/conversations/ConversationTrendCharts.vue?f77d","webpack:///./src/features/contacts/components/JoinOperatorPicker.vue?028f","webpack:///./src/shared/components/TriageIcon.vue?f4d4","webpack:///./src/features/apps/shared/components/AppConfig.vue?9cb1","webpack:///./src/features/bots/components/botTestTool/TimeSelector.vue?5bb5","webpack:///./src/features/bots/components/designer/Conditions/IntentCondition.vue?2cd9","webpack:///./src/store/attributes/actions.ts","webpack:///./src/features/webassistant/components/WebAssistantLauncher.vue?972c","webpack:///./src/shared/services/color.ts","webpack:///./src/features/bots/components/botTestTool/ChannelIdentityPicker.vue?e483","webpack:///./src/features/bots/components/designer/GoToComponent.vue?5365","webpack:///./src/shared/icons/GoToIcon.vue?0c5a","webpack:///./src/features/reports/components/chartjs/HorizontalThresholdBarChart.vue","webpack:///./src/features/reports/components/ReportFilters.vue?4a7d","webpack:///./src/features/apps/govuknotifysms/govuknotifysmsConfig.vue?7397","webpack:///./src/features/settings/views/UsersInWorkspace.vue","webpack:///./src/store/answers/getters.ts","webpack:///./src/shared/components/EditableComponent.vue?a5ad","webpack:///./src/store/app/mutations.ts","webpack:///./src/features/reports/components/ChartError.vue?4a58","webpack:///./src/features/bots/components/designer/IslandBadge.vue?5357","webpack:///./src/features/settings/views/Email.vue?e024","webpack:///./src/shared/components/Modal.vue?dd5f","webpack:///./src/features/settings/views/BusinessHours.vue?1fe3","webpack:///./src/features/apps/googlebm/components/GoogleBmVerificationModal.vue?00e8","webpack:///./src/features/reports/components/flows/FlowEscalationRateCharts.vue","webpack:///./src/features/reports/views/FlowsReports.vue","webpack:///./src/features/bots/components/rules/RulesList.vue?a022","webpack:///./src/store/channel-identities/actions.ts","webpack:///./src/shared/components/contentHighlights/ContentHighlightsListItemEdit.vue","webpack:///./src/features/bots/components/rules/Rule.vue","webpack:///./src/features/reports/components/flows/FlowReportFilters.vue?f810","webpack:///./src/features/bots/components/designer/FaqAddIntentModal.vue?1886","webpack:///./src/features/bots/components/designer/QuickReplyComponent.vue","webpack:///./src/features/bots/views/ActiveLearning.vue?f036","webpack:///./src/features/reports/views/IntentsReports.vue","webpack:///./src/shared/components/conditions/AddCondition.vue?b789","webpack:///./src/features/apps/googlebm/googlebmConfig.vue?141f","webpack:///./src/features/reports/components/chartjs/PercentageBarChart.vue","webpack:///./src/shared/components/EditableText.vue?6fbd","webpack:///./src/features/reports/components/flows/FlowReportFilters.vue?6af5","webpack:///./src/features/apps/googlebm/components/GoogleBmAgentList.vue?6912","webpack:///./src/features/settings/views/ContactAttributes.vue?eb67","webpack:///./src/features/webassistant/components/conversationPreview/ConversationHeader.vue?6a47","webpack:///./src/features/bots/components/botTestTool/BotPreviewModal.vue","webpack:///./src/features/bots/components/designer/QuickReplyComponent.vue?e93b","webpack:///./src/features/bots/components/designer/TextEditor/VariableBadge.vue?63ea","webpack:///./src/features/bots/components/designer/PathPicker.vue","webpack:///./src/shared/icons/AnswerIcon.vue?4922","webpack:///./src/features/contacts/components/ContactConversation.vue?2602","webpack:///./src/features/bots/models/designer/path.ts","webpack:///./src/store/bot-designer/paths/mutations.ts","webpack:///./src/features/bots/components/designer/TransitionPicker.vue","webpack:///./src/features/contacts/components/JoinOperatorPicker.vue?e486","webpack:///./src/features/apps/shared/components/AppOverview.vue?0233","webpack:///./src/shared/components/dataTable/DataTableIcon.vue?bb61","webpack:///./src/features/contacts/components/ContactConversationModal.vue?e3c0","webpack:///./src/features/reports/components/chartjs/DoughnutChartBaseWrapper.vue?f612","webpack:///./src/shared/components/TitledSection.vue?30e9","webpack:///./src/features/bots/views/FlowEditor.vue?da36","webpack:///./src/shared/components/conditions/ConditionPicker.vue","webpack:///./src/features/contacts/views/ContactsList.vue?0480","webpack:///./src/features/bots/components/designer/TriggerBox.vue?dd8d","webpack:///./src/features/contacts/components/ContactDetails.vue?f385","webpack:///./src/features/bots/components/designer/PathDesigner.vue","webpack:///./src/shared/components/Banner.vue","webpack:///./src/shared/icons/AnswerIcon.vue","webpack:///./src/features/reports/components/chartjs/BarChart.vue?dfa8","webpack:///./src/features/reports/models/reportType.ts","webpack:///./src/features/bots/components/botTestTool/BotPreviewModal.vue?9958","webpack:///./src/features/apps/shared/components/AppConfirmModal.vue","webpack:///./src/shared/components/capableAppPicker/CapableAppModal.vue?4dee","webpack:///./src/shared/components/PersonSearchIcon.vue?38a1","webpack:///./src/features/apps/googlebm/components/GoogleBmAddAgent.vue?30bf","webpack:///./src/shared/components/contentHighlights/ContentHighlightsArticleAppEdit.vue?ef14","webpack:///./src/features/bots/components/designer/InputStringComponent.vue?5128","webpack:///./src/features/webassistant/components/WebAssistantPreview.vue"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","render","_vm","this","_h","$createElement","_c","_self","staticClass","_t","staticRenderFns","WordWrapUtil","limit","breakCount","newname","Array","from","x","join","trimEnd","words","split","newSentence","line","word","map","breakWord","LaunchStatus","DatePicker","option","monthOptions","toArray","some","getDateRange","start","getTime","end","today","label","group","DateGrouping","HOUR","FluentDate","startOfDay","endOfDay","listGroup","yesterday","subtractDays","last7Days","DAY","last30Days","last90Days","last3Months","MONTH","startOfMonth","subtractMonths","last6Months","last12Months","thisMonth","endOfMonth","lastMonth","thisYear","startOfYear","endOfYear","lastYear","subtractYears","dateOptions","values","options","presets","currentYear","Date","getFullYear","toString","_v","directives","rawName","expression","modifiers","attrs","reportId","reportData","seriesOrder","_e","on","closeModal","scopedSlots","_u","fn","proxy","attribute","id","request","ref","domProps","$event","target","composing","$set","$v","$touch","isFieldNotPopulated","isFieldInvalid","description","attributeType","submitDisabled","updateInProgress","update","getters","allContactAttributes","state","contactAttributes","filter","a","archived","getAttribute","attributeId","find","attr","isAttributeArchived","doesAttributeExist","component","ContactConversationModal","loadingContactProfile","conversations","contactProfile","contactId","$route","params","loadContactProfile","conversationApi","getContactProfile","currentWorkspace","response","contact","$router","Vue","Getter","Component","components","ContactConversationList","_b","class","decorative","fillColor","size","library","add","faSearch","Intents","loading","intentToEdit","title","utteranceCount","references","deleteModalVisible","intentToDelete","tableColumns","display","clickable","getIntents","loadIntents","showError","message","intents","sort","b","localeCompare","$refs","addIntentModal","addNewIntent","intent","$nextTick","editIntentModal","showModal","Action","LOAD_INTENTS","LoadingSpinner","AddIntentModal","EditIntentModal","DeleteIntentModal","DropDownMenu","DeleteIcon","App","activeRoute","to","isWorkspaceFeatureEnabled","ATTENDANT_TRIAGE_FLOWS_ENABLED","addConnectWidget","setupRouteHooks","logout","isAuthenticated","getUserName","workspace","changeWorkspace","startsWith","config","webAssistantWorkspaceId","workspacesApi","createUserTokenForConnect","token","userId","getClaim","ConnectClaim","UserId","getUserCredentials","userCredentials","addWebAssistant","afterEach","CHANGE_WORKSPACE","Watch","immediate","ContactsApi","version","workspaceId","url","messagingHost","api","send","appUserId","continuationToken","encodeURIComponent","contactsApi","Bots","botPreviewActive","tabs","route","NLP_ENABLED","clickHandler","openBotPreviewModal","content","variant","trackEvent","UpgradeBanner","PageHeader","BotPreviewModal","use","store","Store","app","attributes","flowDesigner","holidays","reports","channelIdentities","answers","PersonSearchIcon","Prop","default","shouldDisplayProactiveTriggerMessage","_l","currentFlow","trigger","index","getIconName","_s","getSelectedTriggerDescription","isValidIntentSelected","stopPropagation","editIntent","isCurrentFlowTriggerable","linkedFlow","getFlowTransition","parentAnswer","getAnswerTransition","containsLetters","test","containsNumbers","Register","email","firstName","lastName","password","confirmPassword","isTokenValid","tokenErrorMsg","validateRegistrationToken","validateResponse","isValid","errorMsg","user","tokenString","registerUser","loginUrl","location","assign","login","mixins","validationMixin","validations","required","maxLength","minLength","sameAs","CardRenderer","generate","cards","previous","renderCards","document","addEventListener","cardSubmitHandler","removeEventListener","getStyles","colour","innerHTML","cardContainer","forEach","card","renderCard","isCardComponentsValid","cardJson","JSON","stringify","renderElements","readonly","renderError","e","customEvent","onSubmit","detail","$emit","$$selectedVal","selected","val","_value","selectedOperationId","multiple","operationSelected","operation","liveCondition","textChanged","$invalid","$dirty","isDecimal","complete","hasResults","isLoading","column","sortColumn","requiresAlignmentFix","icon","getSortClass","sortable","$scopedSlots","row","wrappable","isCellClickable","cellClicked","getDisplayValue","pagination","total","rowsPerPage","onPageChanged","faRobot","faComment","faCommentAlt","faCubes","faCog","faCheck","faCode","faTrash","faAngleDown","faAngleUp","faArrowRight","faChevronRight","faUser","faCube","faFile","faChartArea","faChartBar","faChartLine","faExclamationCircle","faPercent","faCalendarAlt","faUserFriends","faBan","faLevelUpAlt","faCopy","timezone","openingTimes","$each","v","onChange","model","day","callback","$$v","$model","open","generateErrorMessage","startTime","endTime","deleteOfficeHours","hasNoOverlap","overlapErrorMessage","hasAtLeastOneOnlineTime","atLeastOneOnlineTimeErrorMessage","addOfficeHours","GoogleBmAgentTestModal","activeTab","tab","agent","androidMapsUrl","iosMapsUrl","androidWebUrl","VueQrcode","isReportLoading","toggleDateSelector","selectedDateOption","date","shouldDisplayPresetDivider","isActivePreset","setDateOption","datePickerModelConfig","datePickerAttributes","availableDates","handleDateChange","selectedDateRange","applySelection","cancel","BaseFlowReport","newFlowId","renderReportData","selectedFlowId","filterRange","flowsReportApi","type","flowId","getFlowIdForRequest","startDate","endDate","grouping","dataPointGrouping","ListCondition","selectedItem","condition","ConditionOperationType","Equals","unit","invalid","getSelectedItemValue","itemSelected","emitConditionChanged","webhookUrl","arg","username","trim","$forceUpdate","mobileVirtualNumber","actionInProgress","save","openInviteUserModal","_m","displayName","formatDate","createdTimeUtc","getStatusClass","status","getStatus","openRemoveUserModal","getConfirmationMessage","removeUser","closeRemoveUserModal","closeInviteUsersModal","BtSmsConfig","btApp","btHost","currentApp","isInstalled","btApi","getInstalledApp","then","catch","err","finally","showInfo","installId","installedAppId","install","numeric","WebAssistantAppService","workspaceName","defaultViewModel","installedAppId$","getInstalledAppId","identityVerificationSecret$","generateIdentityVerificationSecret","Promise","all","identityVerificationSecret","configureWebAssistant","webAssistantApi","installWebAssistant","array","Int32Array","crypto","getRandomValues","subtle","digest","hash","toBase64Url","buffer","binary","bytes","Uint8Array","len","byteLength","String","fromCharCode","encoded","btoa","replace","appId","appsApi","error","installInstalledApp","Error","installRequest","published","webAssistantAppService","appState","workspaces","features","usageLimits","installedApps","namespaced","actions","mutations","tag","UsageReportsApi","query","QueryStringBuilder","toISOString","build","usageHost","usageReportsApi","disabled","setActive","active","getFormattedType","selectedType","getContactTypes","contactType","selectType","queryString","DELETE_PATH","disableInteraction","activeView","brandColour","actionColour","homescreenImageUrl","greetingText","introductionText","typicalResponseTimeString","homescreenApps","outboundMessageColour","headerText","messages","readonlyApps","$state","quickReply","getContrastingBrandColour","isOpen","DELETE_STATE","channelIdentitiesState","ReportFilters","FlowReportFilters","DateRangeFilter","UsageDateRangeFilter","ReportDownloader","MessagingReportsApi","messagingReportsApi","WorkspacesApi","workspacesHost","emails","inviteUserModel","isPlatformAdmin","removeUserModel","post","EmailTokenPlaceholders","contentPlaceholderMessage","contentPlaceholderContainer","messagesHtml","messageText","emailTokenPlaceholders","SET_CONTACT_ATTRIBUTES","ADD_TO_CONTACT_ATTRIBUTE_CACHE","newAttribute","systemAttributes","att","system","customAttributesOrderedByName","UPDATE_CONTACT_ATTRIBUTE_IN_CACHE","updateAttribute","attributeInCache","ARCHIVE_CONTACT_ATTRIBUTE_IN_CACHE","upgradeModalOpen","BOT_STUDIO_ENABLED","Banner","UpgradeModal","ContactTypePicker","ContactType","User","Lead","charAt","toUpperCase","refreshButtonClicked","urlChanged","accept","imageSelected","style","width","previewWidth","height","previewHeight","imageUrl","imageUploaded","uploading","clearImage","BtSmsApiService","capabilities","isArray","supportsBotAction","_i","$$a","$$el","$$c","checked","$$i","concat","supportsHomescreen","supportsWebhooks","workflowOptions","configUrl","supportsAppLifecycleHooks","initUrl","submitUrl","TitledSection","longDescription","images","image","video","UtteranceList","utterances","$reset","addUtterance","utteranceId","text","focusOnUtterance","u","fromUtteranceId","currentIndex","findIndex","nextIndex","nextUtteranceId","term","refId","inputField","focus","loaded","BotFlows","showDeleteModal","flowName","botFlows","flowPriorityTooltip","getBotFlows","setPriorities","createUpdateFlowsPrioritiesRequest","updateBotFlows","flows","flowsApi","updateFlows","setFlows","flow","created","event","files","file","handleFlowFile","botFlowAsJson","parse","importFlow","getFlow","fullFlowDetails","isTransitionedTo","flowToDelete","cloneFlow","clonedFlow","insertInBotFlows","updatePriorities","showSuccess","importFlowButton","click","deleteFlow","botflow","getTriggerItem","exportFlowHelper","exportFlow","Math","round","priority","triggers","AvailableTriggers","reader","FileReader","onload","handleFileLoad","readAsText","botId","botFlow","importedFlow","botFlowDataPromise","loadFlows","first","second","hasFlowParent","hasAnswerParent","parentFlows","parentAnswers","LOAD_FLOWS","Mutation","SET_FLOWS","Modal","Draggable","DragIcon","HelpIcon","CloneIcon","ExportIcon","AddFlowModal","getSelectedAppDescription","shouldShowEditButton","openAppEditModal","capableApps","configRequest","close","renderAppPreview","appAction","showAppEditModal","handleAppSave","AdditionalInformationWrapper","showTriggerConfig","triggerConditions","isTriggerSelected","selectTriggerType","getTooltipForTrigger","triggerValidity","triggerConditionList","triggerConditionsManager","triggerConditionsUpdated","audienceConditionList","audienceConditionsManager","audienceConditionsUpdated","contactTypes","contactTypeUpdated","scheduleCondition","onScheduleUpdated","Tasks","botAppLoaded","botAppInstallError","reinstallInProgress","enableInProgress","viewModel","captureName","captureEmail","captureEnquiry","enquiryOptions","rules","followUpActions","ruleConditionsManager","RuleConditionsManager","setContextualConditions","ConditionDataType","Text","botsApi","botResponse","initBotApp","handleSeriousError","previousValues","componentId","botAppConfig","action","FollowUpActionType","AppIntegration","undefined","selectedApps","nonAppActions","appActions","botAppSerivce","fullInstall","res","ruleList","areRulesAreValid","enableBot","confirm","disableBot","rulesList","HANDLE_SERIOUS_ERROR","TagsInput","CapableAppPicker","TriageIcon","RulesList","Contacts","ScheduleType","AnyTime","_q","selectedSchedule","switchedScheduleType","InHours","OutOfHours","CustomTimes","scheduleChanged","setInvalid","customTimes","showDragIcon","staticStyle","draggable","GET_INTENT","rootState","dispatch","nlpApi","getIntent","forceLoad","commit","SET_INTENTS","CREATE_INTENT","addIntent","createdIntent","ADD_TO_INTENTS_CACHE","UPDATE_INTENT","updateIntent","updatedIntent","UPDATE_INTENT_IN_CACHE","DELETE_INTENT","deleteIntent","REMOVE_INTENT_FROM_CACHE","LOAD_HOLIDAYS","CREATE_HOLIDAY","UPDATE_HOLIDAY","DELETE_HOLIDAY","SET_CHANNEL_IDENTITIES","identities","VuelidateUtil","dateString","enteredDate","utc","startOf","isSameOrAfter","match","vuelidate","prop","$params","max","isValidationInvalid","validationType","vuelidateForProp","validationExistsForPropertyAndIsInvalid","isPropertyInvalidAndBeenTouched","NlpService","nlpHost","intentId","utterance","offset","predictionId","onSave","onCancel","ConnectWidget","loadWidget","Connect","init","TypeError","arguments","f","g","next","__onConnectHostReady__","h","XMLHttpRequest","getElementsByTagName","createElement","async","src","parentNode","insertBefore","webAssistantHost","responseType","connectWidget","time","vm","isValidTime","after","helpers","withParams","parentVm","compareTo","minutes","getMinutes","compareToMinutes","current","comparison","isSameDay","hasOverlappingOpenClose","hasOverlappingHours","hasOnlineTimes","enforceOnlineDayOfWeek","BusinessHoursSelection","BusinessHoursOptions","dayOptions","opt","dayRangeOptions","holidayId","allowEmpty","BusinessHoursOption","fromViewModel","getDefaultOption","field","toViewModel","requiredIf","openTime","AppUninstallNotAllowedModal","ReadonlyCopyableField","onCopyMessage","TOKENS","senderName","Flow","templateId","templateName","templateHtml","previewHtml","templateHtmlHasIssues","templateChanged","EDITOR_ID","templateLoaded","showDiscardChangesModel","loadTemplate","setupAceEditor","emailApi","getTemplateContent","htmlContent","setAceEditorValue","setPreviewValue","isEditorReadyForSetup","langTools","ace","acequire","setCompleters","editor","edit","getSession","setMode","setTheme","setShowPrintMargin","session","setTemplateHtmlOnChange","setOptions","enableBasicAutocompletion","customCompleter","getCompletions","pos","prefix","suggestions","caption","meta","addCompleter","resize","getElementById","newContent","getValue","updateTemplateHtml","getSafeHtml","html","whiteBackgroundStyle","replaceTokens","newValue","setValue","getContentPlaceholder","getSenderNamePlaceholder","unCleaned","sanitizeHtml","SANITIZE_OPTIONS","showEditorWarningsAfterDelay","issues","output","editorAnnotationTimeout","clearTimeout","setTimeout","showEditorWarnings","setAnnotations","issue","newName","validateSaveRequest","htmlFormatter","format","callSaveApi","goBackToEmailSettings","saveEmailTemplate","createEmailTemplate","indexOf","ConfirmationModal","EditableText","SET_CURRENT_WORKSPACE","SET_WORKSPACES","SET_CURRENT_APP","SET_ERROR","ADD_INSTALLED_APP","REMOVE_INSTALLED_APP","CLEAR_INSTALLED_APPS","numericIf","req","regex","GovNotifyServiceConfiguration","messageCallbackUrl","govNotifyApi","getMessageWebhookUrl","deliveryCallbackUrl","getDeliveryWebhookUrl","loadingToken","loadingTemplates","serviceToDelete","serviceDataTableColumns","serviceData","hasInitialised","addEmptyRow","newService","bearerToken","notifyApiKey","phoneNumber","isDraft","getBearerToken","getServiceIdFromBearerToken","service","getTemplates","templates","template","currentField","getRowIndex","deleteService","claims","atob","serviceId","selectedTemplate","chartData","billableConversationsTrendReport","loadedData","loadingError","proactiveTriggersTrendReport","channelMessagesTrendReport","ExportFlow","Blob","saveAs","LOAD_FLOW","SET_CURRENT_FLOW","flowVariables","paths","path","states","getTransitionPayloads","payload","isTransitionPayloadInvalid","storedVariable","scope","dataType","intentCondition","ConditionGroup","allIntents","isIntentConditionValid","forEachCondition","audienceConditions","substring","lastIndexOf","SET_FLOW_VARIABLES","firstPathId","firstPath","ADD_PATH","RESET_CHANGE_TRACKER","SET_CURRENT_PATH","SAVE_FLOW","hasMadeChanges","resolve","isFlowInvalid","hasPathsChanged","hasNameChanged","hasTriggersChanged","hasConditionsChanged","targetContactTypes","businessHours","closed","updateFlow","updatedFlow","UPDATE_FLOW","doLoad","getFlows","UPDATE_STATUS","SET_FLOW_STATUS","Set","decisions","decision","transition","noMatch","isScreenVisible","entryPoints","getColumns","showScreen","getVerificationStatusBadgeType","verificationStatus","getVerificationStatusMessage","getLaunchStatusBadgeType","launchStatus","getLaunchStatusMessage","isRowUnverified","isVerificationPending","isRowReadyForLaunch","isRowLaunchedOrPending","selectedRow","agentUpdated","hideScreen","GovNotifyApiService","govNotifyHost","apiKey","services","chooseOption","getIconComponent","GoogleMyBusinessApi","accessToken","accountId","headers","Authorization","googleMyBusinessApi","CurrentWorkspaceHelper","lastStoredWorkspaceId","localStorage","getItem","setToPreviousWorkspace","setItem","FlowEditor","loadHolidays","unshift","setPaths","newPath","addPath","setCurrentPath","pathId","currentPath","SET_PATHS","PathDesigner","ErrorIcon","AddIcon","deleteDecision","providedDecision","conditions","decisionConditionsManager","conditionUpdated","$anyDirty","conditionValid","transitionSelected","payloadValid","HomeScreenPreview","darken","getContrastingColour","HomeScreenHeader","HomeScreenPanelStartChat","PrivateApps","dropdownAlignment","displayAttribute","idAttribute","onInput","toggle","preventDefault","props","isLastOptionSelected","isOptionSelected","getDisplayLabel","slot","AnswerIcon","isUp","direction","top","getTopDistance","togglePicker","isFlowVariableSelected","isAppUserVariableSelected","getDescription","variable","chooseVariable","openNewAttributeModal","openNewVariableModal","showButton","variableAdded","closeAttributeModel","registerHooks","linkedPaths","linkedPath","EmojiPicker","pickerId","ei","EmojiIndex","recentLength","exclude","show","isEmojiPickerUp","menu","querySelector","getEmojiPickerId","position","getBoundingClientRect","padding","bottom","innerHeight","Picker","SET_CURRENT_ANSWER","answer","currentAnswer","SET_ANSWERS","ADD_ANSWER","createdAnswer","UPDATE_ANSWER_IN_CACHE","updatedAnswer","CLEAR_ANSWERS_CACHE","MessageIcon","subtitle","latestMessage","background","color","textColour","LOAD_WORKSPACES","GET_INSTALLED_APPS","MultiSelectPicker","updateDisabledStateOfItems","orderedSelectedColumns","getIdValue","selectedOptions","lastItem","$isDisabled","Multiselect","getCards","cardSubmit","VariableBadge","fallbackValue","fallback","getIcon","Icon","getErrorMessage","messageRetentionInDays","appUserRetentionInDays","maxProactiveTriggers","updateWorkspace","AppIntegrationComponent","initialiseApps","removeState","botAppInit","appInitData","isPanelComponentsValid","preview","storedData","contentHighlightsApp","getCapableApps","apps","panel","CapableAppModal","IslandBadge","EditIcon","ContentHighlightsEditModal","Triggers","TransitionType","Answer","TriggerType","MessageReceived","getDescriptionForMessageReceived","iconKey","getIntentCondition","modal","getIntentName","proactiveTriggerLimit","WidgetLoaded","TriggerConditionAttributeType","MessageIntent","findAll","MessageText","workspaceUsageLimit","UsageLimitType","ProactiveTriggers","TransitionPicker","AlertOutline","AttributeIconUtil","List","selectedIntent","selectIntent","openCreateIntentModal","addedIntent","AddCondition","isConditionPickerOpen","closeNewConditionPicker","ConditionPicker","DataTable","sortBy","defaultSortBy","sortDirection","defaultSortDirection","page","loadData","clickableConfig","formatter","PagingControl","DataTableIcon","isEditing","startEditing","editableTextId","getPlaceholder","saveSelection","_k","keyCode","ctrlKey","shiftKey","altKey","metaKey","finishEditing","showVariablePicker","addVariable","addEmoji","capability","emitChangeEvent","moved","getCapableApp","appIndex","editingAppIndex","ca","MessengerApiService","messengerHost","userAccessToken","appType","messengerApi","PrivateAppsList","listPrivate","beforeRouteEnter","OperatorType","CREATE_ANSWER","answersApi","createAnswer","UPDATE_ANSWER","answerId","updateAnswer","LOAD_ANSWERS","getAnswers","LOAD_ANSWER","getAnswer","InstagramApiService","instagramApi","WebAssistantPreview","typicalResponseTime","TypicalResponseTimeOptions","toLowerCase","ConversationPreview","WebAssistantLauncher","LineChart","renderSeriesInReverse","mapData","overrideOptions","ChartConfig","gridChartsGlobalOptions","renderChart","plugins","inlineLabels","reverseLabels","dataFormat","defaultLabelValues","labelValues","scales","xAxes","scaleLabel","labelString","scale","ticks","maxTicksLimit","gridLines","yAxes","beginAtZero","allowDecimalTicksY","legend","reverse","hasSeriesConfiguration","mapDataWithConfiguredSeries","coloursRequired","series","borderPalette","backgroundColoursForRandomItems","backgroundPalette","fill","setAlpha","labels","datasets","backgroundColor","borderColor","borderWidth","lineTension","showLine","radius","seriesConfig","castToSeriesConfig","seriesRenderOrder","orderedSeries","seriesName","Mixins","Line","attributeState","ConversationControlBar","channelIdentity","externalId","identity","ChannelIdentityPicker","RestartIcon","FlowsApiService","flowsHost","getHolidays","SET_HOLIDAYS","createHoliday","createdHoliday","ADD_TO_HOLIDAYS_CACHE","updateHoliday","updatedHoliday","UPDATE_HOLIDAY_IN_CACHE","deleteHoliday","REMOVE_HOLIDAY_FROM_CACHE","itemIndex","markAsTouched","totalItems","removeItem","backgroundColour","buttonClick","stroke","iconColour","EmailApiService","emailHost","EditPrivateApp","ownerWorkspaceId","apiToken","verificationToken","webhookTopics","getPrivateApp","appName","updatePrivateApp","isVisible","pattern","isTypeConfigRequired","patternUpdated","allowsAnyValue","allowedAttemptsId","allowedAttempts","allowedAttemptsUpdated","configChanged","noMatchUpdated","$error","ChannelIcon","channelType","ADD_STATE","REMOVE_STATE","UPDATE_STATE","REMOVE_TRANSITION","ProactiveTriggersTrendChart","tooltipText","createBlankSeries","BarChart","ChartError","ChartNoData","ChartLabels","SET_TRIGGER","ADD_CONDITION","REMOVE_CONDITION","UPDATE_CONDITION","UPDATE_SCHEDULE_CONDITION","UPDATE_TRIGGER_CONDITIONS","UPDATE_AUDIENCE_CONDITIONS","UPDATE_TARGET_CONTACT_TYPES","ContactTrendCharts","chartType","ChartType","BAR","LINE","PERCENTAGE_BAR","PercentageStackedBarChart","FlowIcon","NumberCondition","operations","Conditions","Operations","number","op","getSelectedOperation","selectedOperation","IsSet","requiresInput","BusinessHours","selectedHoliday","createHolidayModalDisplayed","updateHolidayModalDisplayed","showDeleteAttributeModal","invalidOpeningTimes","loadBusinessHours","holiday","canSelectedHolidayBeDeleted","isHolidayUsedInFlows","isHolidayUsedInDefaultBusinessHours","holidayDisplayName","warningText","usedFlowHtmlList","executeDelete","formatWhen","getBusinessHours","updateBusinessHours","dates","datesToDisplay","readableDates","bh","usedInFlowIds","flowNames","getFlowDisplayName","flowListHtml","escapeHtmlCharacters","CalendarIcon","ClockIcon","CreateHoliday","UpdateHoliday","webpackContext","webpackContextResolve","code","keys","bgColour","isWebAssistant","logo","DateTimeCondition","datetime","units","DateTimeUnits","selectedUnitValue","getSelectedDateTimeUnit","unitSelected","selectedUnit","FlowTotalsCharts","ReportType","FLOW_TOTALS","isStartOfMonth","isEndOfMonth","DoughnutChart","TotalsDoughnutChart","focusOnInput","nameInput","now","dateInputs","dateInput","lastDateInput","isMaxLengthInvalid","getAllowedMaxLength","isRequiredInvalid","createRequestModel","inputElements","$el","holidayNameValid","objectName","todayOrFutureValid","todayOrFuture","CLEAR_INTENTS_CACHE","GoogleBmLaunchModal","item","rowType","googleBmApi","requestAgentLaunch","customAgentId","requestLocationLaunch","locationId","launchState","showLineChart","switchLineChart","showPercentageBarChart","switchStackedChart","showBarChart","switchBarChart","hasTabs","button","isTabActive","GoogleBmLocations","locations","selectedLocations","isLoggedIn","insertGoogleMetaTags","insertGoogleScript","gapi","signin2","onsuccess","onSignIn","theme","longtitle","removeGoogleScript","removeGoogleMetaTags","signOut","clientIdMetaElement","remove","signinScopeMetaElement","scriptElement","googleUser","profile","getBasicProfile","googleAccessToken","getAuthResponse","access_token","getLocations","getId","locationsWithAPlace","metadata","placeId","mergeLocations","existingLocation","reject","head","appendChild","setAttribute","googleClientId","auth2","getAuthInstance","disconnect","InputValidationConfig","invalidPattern","refreshComponent","hasPatternChanged","allowsAnyPattern","clearMatchingOptions","Number","isInputForCustomAttribute","isInputCustomAttributeDataType","fields","Path","errorMessage","PathPicker","InputPatternEditor","self","relativeDate","isUnknown","MessagingReports","newContactsTrendReport","newConversationsTrendReport","setLoading","loadReportData","SET_REPORT_LOADING","ConversationTrendCharts","ConditionGroupBuilder","conditionGroup","operatorButtonHover","isCondition","numberOfConditions","nested","newItem","emitUpdatedEvent","newList","operatorType","onGroupUpdated","hover","isGroupInvalid","hasAnyInvalidConditions","ConditionButton","JoinOperatorPicker","validName","search","UpdateAttribute","vuelidateObject","fieldName","ContactAttributeType","updatedAttribute","UPDATE_CONTACT_ATTRIBUTE","ReadonlyField","avatarUrl","columns","argsArray","contactUpdated","ChartDataUtil","reduce","labelsAndData","inOptions","defaults","dataOrderAscending","forceZeroValuesToBottom","sourceDataCopy","sourceLabelsCopy","nextValueIndex","min","lastIndex","input","orderedData","groupNonDisplayedItemsIntoOther","maxItems","otherItemsLabel","topData","othersTotal","labelDataPairs","convertToLabelsAndData","pair","filterData","chartDataUtil","addFlow","AssetService","webAssistantLoaderUrl","method","statusText","TriggerScheduler","getSelectedSchedule","hasNoSchedule","isInHours","hasAttribute","isScheduleCondition","getDefaultModel","createScheduleCondition","createCondition","inHours","CreateAttribute","dataTypeOptions","Decimal","toCamelCase","excludedDataTypes","excluded","createAttribute","createdAttribute","toWords","substr","CREATE_CONTACT_ATTRIBUTE","Email","verifyInProgress","showDeleteTemplateModal","activeTemplateId","lastActiveTemplateId","domain","domainVerified","domainSaved","loadTemplates","loadConfiguration","getEmailWorkspace","setConfig","emailWorkspace","savedEmailWorkspace","outboundEmailDomain","outboundEmailDomainVerified","templateActive","deleteTemplateModel","deleteEmailTemplate","activeTemplateTouched","domainTouched","saveEmailWorkspace","verifyDomain","verifyResponse","success","Badge","HtmlFormatter","parse5","formattedHtml","serialize","sel","range","getSelection","getRangeAt","rangeCount","deleteContents","el","node","lastNode","frag","createDocumentFragment","firstChild","insertNode","cloneRange","setStartAfter","collapse","removeAllRanges","addRange","nbspReg","RegExp","convertBreaksToNewLines","newLineReg","selection","element","createRange","contentEditableElement","selectNodeContents","lessThanReg","greaterThanReg","ampersandThanReg","subTitle","processedData","dataFilter","PhonePreview","TextCondition","defaultOperation","addFlowInput","flowItem","addFlowToList","flowNameValid","ADD_FLOW","Apps","listPublished","isHidden","setCurrentApp","AppModal","inlineLabelsPlugin","afterInit","afterUpdate","chart","inlineLabelsOptions","defaultLabels","calculateDefaults","setDefaults","canvas","tooltips","callbacks","custom","tooltipModel","opacity","afterFooter","items","xAxisIndex","xAxisLabel","setLabelsForDataPoint","Map","dataset","set","toLocaleString","ChartDataFormat","PERCENTAGE","overallTotal","labelValue","parseInt","labelName","totals","percentageOfTotal","roundedPercentage","labelData","visibleChartData","getVisibleChartData","borderColour","fillColour","scaleTitle","scaleValue","visibleData","getTitle","dataSetIndex","dataSet","legendItems","enabledLegendItems","hidden","datasetIndex","formattedValue","secondsChanged","minValue","reloadPageMessage","reloadPredictions","prediction","isActionInProgress","getFormattedIntentScore","intentScore","intentScores","isUtteranceBeingAdded","addToIntent","isPredictionBeingDeleted","deletePrediction","intentToEditId","globalOptions","autoSkip","crosshair","sync","enabled","zoom","snap","responsive","maintainAspectRatio","animation","duration","intersect","animationDuration","responsiveAnimationDuration","tooltipItem","formatNumber","orderedSeriesConfig","palette","metricPalette","Default","repeat","unknownItemPalette","flat","isNaN","Started","Engaged","Completed","HandedOver","Leads","Users","Conversations","getComponentName","configSaved","isUnknownIntent","hasLoadedReferences","answerReferences","answerReference","getAnswerName","flowReferences","flowReference","getFlowName","isConfirmHidden","deleteInProgress","confirmDelete","isSaveInProgress","selectedIntentTitle","selectedIntentUtterances","saveIntent","providedRules","ruleInvalidStates","hasInvalidRuleConditions","rule","ruleUpdated","hasAnyInvalidRules","hasInvalidConditions","componentName","ruleIsValid","providedRule","$anyError","deep","Rule","TagBox","badgeClass","elementId","placeholder","onBeforeAddingTag","onBeforeRemovingTag","validate","addTagsOnSpace","onTagsUpdated","onKeyUp","tags","FlowsReports","reportIsLoaded","engagement","escalation","resetLoadingStatus","setReportLoading","FlowEscalationRateCharts","FlowEngagementCharts","AppInsightsService","insights","ApplicationInsights","connectionString","telemetryKey","telemetryHost","enableAutoRouteTracking","loadAppInsights","customProperties","trackPageView","setAuthenticatedUserContext","context","DecisionConditionsAttributeType","DecisionConditionsManager","contextualConditions","conditionsFromCache","flowVariable","fv","TimeOfDay","ConditionsManager","generatePageTitle","pageName","router","base","routes","children","registerRouterHooks","beforeEach","isConnectUser","endsWith","updatePageTitle","currentRoute","nearestPageWithTitle","matched","updateTransition","ActiveLearning","predictions","addingUtterance","deletingPredictionId","startIndex","loadPredictionHistory","score","addUtteranceToIntent","loadPredictions","noPredictionsBefore","includes","getPredictions","pagedResults","Check","Close","ReloadIcon","GeneralSettings","showUsageLimits","PROACTIVE_FLOWS_ENABLED","messagingWorkspacesApi","getWorkspace","workspaceFromMessaging","createUpdateRequest","addOrReplace","createAddOrReplaceMessagingWorkspaceRequest","maxValue","MAX_INTEGER","botsLandingPage","selectWorkspace","goToSettings","isPageThatAllowsUnauthenticatedAccess","patternChanged","patternValue","patternLabel","greaterThan","FlowSelector","selectedFlowCount","isSelected","loadAll","selectCurrentWorkspace","storeCurrentWorkspace","LOAD_CONTACT_ATTRIBUTES","GET_CHANNEL_IDENTITIES","CLEAR_HOLIDAYS_CACHE","CLEAR_FLOWS_CACHE","getInstalledApps","pathToDelete","REMOVE_PATH","currentState","deleteUnusedFlowVariables","currentPathId","pathToRemove","storedFlowVariables","getFlowVariablesForPath","variableUsedElsewhere","pathContainsFlowVariable","removeFlowVariableFromState","pathState","checkStateForInvalidDecisions","InputStringComponent","showConfig","hasClicked","invalidAttribute","visibleFields","selectedVariable","additionalConfigInvalid","updateValidation","initialiseVisibleFields","isAppUserName","isAppUserEmail","isAppUserPhoneNumber","RegexType","EMAIL","PHONE_NUMBER","NUMERIC","DECIMAL","textEditor","focusElement","TextEditor","VariablePicker","ChevronRight","ChevronLeft","attributeInvalid","inputStringComponent","attributeMissing","storedVar","attributeArchived","isArchived","getReportLabels","reportLabels","WebAssistantApiService","webAssistantConfig","configData","host","inputData","conversation","openFileSelector","onFileChange","getTriggerDescription","getTriggerIcon","startedCount","calculatePercentage","engagedCount","completedCount","chooseFlow","deleteFlowConfirm","ResizeStrategy","showAppUninstallNotAllowedModal","requiresInstallConfig","showAppConfig","showAppOverview","showAppsStore","isAppLive","eventProperties","canInstall","addInstalledApp","uninstallPromise","specificAppApi","AppApiFactory","canUninstall","uninstall","loadChannelIdentities","removeInstalledApp","getUninstallNotAllowedMessage","TriggerConditionsManager","conditionsToDisplay","allConditions","Intent","EventSource","ChannelIdentity","CurrentPageUrl","TimeOnPage","Duration","channelOptions","excludedConditions","channelIds","channel","numberChanged","NlpReportApiService","modelId","nlpReportApi","appConfig","loadConfig","cfg","register","ContentHighlightsArticleAppEdit","image_url","header_text","body_text","article_url","link_label","BaseApiClient","getToken","handleError","deleteRule","getSelectedFollowUpApps","actionsChanged","hasLoaded","agents","loadApp","stateContainsFlowVariable","flowVar","checkPathForInvalidDecision","conditionContainsDeletedFlowVariable","deletedFlowVariable","MultiContactTypePicker","typeOptions","toOptionObjects","Visitor","shouldAllTypesBeSelected","newSelectedOptions","selectedTypes","getFriendlyName","types","deleted","allowClickAway","checkConditionStillValid","closeConfig","pickerOption","manager","isInvalid","isConditionValid","currentlyInvalid","ConditionConfigurator","everyDayOption","findDayRangeOption","defaultDayStart","defaultDayEnd","defaultTimeStart","defaultTimeEnd","startDay","endDay","getHolidayOptions","addPlugin","stacked","stacked100","enable","replaceTooltipLabel","seriesToCompareTo","calculatePercentageLabels","originalValue","compareToValue","getSeries","prev","curr","getSeriesConfig","getAdjustedValues","hoverBackgroundColor","compareToSeries","compareToTotal","sum","seriesData","dataPoint","getValueForAdjustment","thisSeriesIndex","getIndexOfSeries","adjustmentValueIsInSeriesAfter","Bar","NoDataIcon","apis","twitterApi","Reports","handleOnTabExit","fromName","toName","onReportExit","ON_REPORT_VIEW_EXIT","ADD_FLOW_VARIABLE","SET_FLOW_NAME","MAKE_DIRTY","changes","flowStatus","ChangeType","Name","Paths","SET_IS_SAVE_FLOW_IN_PROGRESS","isSaving","isSaveFlowInProgress","IntentCondition","selectedIntentId","chosenIntent","intentConditionAddModal","currentPage","totalRows","isPageOutOfBounds","pageChanged","ceil","disableControls","hasNext","numberOfPages","hasPrevious","pageNumber","startOfPage","endOfPage","SkipNext","SkipPrevious","refInFor","getPlaceholderText","isEditable","moveToNextUtterance","utteranceChanged","deleteUtterance","isUnique","badgeTypeClass","badgeSizeClass","CollapsibleSection","buttons","isTabTheActiveRoute","isNoExactMatchAndActiveRouteBeginsWithTabsPath","isAnyTabActive","doesActiveRouteBeginWithPath","routeName","getRoutePath","allRoutes","matchedRoutes","closeBotPreviewModal","GoogleBmCancelVerificationModal","cancelVerification","verificationState","InviteUser","emailRegex","hasEmailAddresses","inviteUsers","CreatePrivateApp","createPrivateApp","BaseReport","isDataEmpty","isReportCriterionValid","numberOfPopulatedValuesInSeries","initialisedAppId","FB_SDK_VERSION","fbGetSdk","changedApp","handleAppChange","FB","fbInit","appid","js","fjs","fbAsyncInit","xfbml","fbLogin","fbGetLoginStatus","getLoginStatus","fbLogout","intentTitle","intentUtterances","toggleMessageTray","messageTrayOpen","truncatedTitle","conversationDate","onLoad","validIntentName","FaqAddIntentModal","intentNameInput","FriendlyDateTime","fromNow","GoogleBmConfig","GoogleBmAddAgent","GoogleBmAgentList","HorizontalThresholdBarChart","truncated","afterFit","instance","longestLabelWidth","tooltip","displayColors","tooltipItems","lineLength","breakWordsOverLimit","wrap","parseFloat","toFixed","annotation","annotations","scaleID","lineMarkerPosition","thresholdLineColour","borderDash","orderData","orderAsc","barColour","maxBarThickness","thresholdData","HorizontalBar","getConditionKey","onConditionDeleted","onConditionUpdated","showMakeFilterGroupOption","visibleConditions","makeFilterGroup","showAddToFilterGroupOption","addToFilterGroup","isLastConditionInList","operatorTypeUpdated","updateOperatorHoverState","onConditionAdded","getDarkHeader","subtitleText","ContentHighlightsListItemEdit","currentStartTime","currentEndTime","comparisonStartTime","comparisonEndTime","nonHolidayHours","businessHour","resetButtonClicked","onUpdatedHoverState","selectedOperator","getJoinOperators","selectOperator","ReportDownloaderService","dateOption","fileName","getFilenameFromHeader","header","exec","reportDownloaderService","setUTCMonth","setUTCHours","setUTCDate","getUTCMonth","days","getDate","months","getMonth","years","setUTCFullYear","UPDATE_FLOW_ID","Decision","isInvalidCondition","checkValidTransition","setUpConditions","clone","DateTime","invalidCondition","BotPausedBanner","ConversationOpened","Unknown","AgentRequested","list","modalHeading","hasConfigUrl","CapableAppSelection","CapableAppConfig","h1","h2","holidayInCache","mappedType","getConfigComponent","getConditionOptions","mappings","seconds","DecimalCondition","DurationCondition","TimeOfDayCondition","predicate","matchingConditions","reinstall","rulesUpdated","selectedFollowUpActionsChanged","AdvancedTooltip","fromTop","advancedTooltip","answersState","FlowStatus","Draft","parentFlowIds","answerStates","isChatBoxOpen","isFullscreen","faqTitle","addFAQ","getConditionConfigComponent","onConfigChanged","botStudioEnabled","openUpgradeModal","closeUpgradeModal","installedApp","parsedValues","getInputData","submittedValues","deleteDate","addDate","PersonIcon","EmailIcon","PhoneIcon","TextIcon","DecimalIcon","CustomAttributeIcon","QuestionIcon","NumberIcon","PageIcon","DurationIcon","ListIcon","FlowVariableIcon","getItemValidation","addItem","textColor","textUpdated","setInvalidAttribute","internalList","oldValues","arraysEqual","rawValue","raw","getOriginalValue","tagElement","internalValue","DropDownHelper","dropdown","dropDownHelper","GoogleBmEditAgent","updateAgent","GoogleBmAgentConfig","reportFlowsOptions","flowListOptions","netcallSalmonColour","widthWithArrow","border","align","ConversationHeader","TimeSelector","selectedDate","emitSelectedDate","EditableComponent","showNewVariableModal","showCreateAttributeModal","newVarName","positionDropdown","additionalAttributes","isSystemAttribute","newVar","variableForNewAttribute","contactVariables","variableId","isDropDownUp","AddNewVariableModal","InsertChartOutlinedIcon","fixed","getPathsToChooseFrom","choosePath","addNewPath","hasSelectedPath","goToPath","loadedAndReturnedData","showLabels","toggleOpen","dropDownIcon","useColourOnActive","goLeft","uttOne","uttTwo","createIntent","firstUtterance","intentNameValid","intentName","DecisionComponent","decisionsChanged","showAllDecisionValidationErrors","decisionIsValid","areDecisionsValid","DoughnutChartBaseWrapper","createLegend","cutoutPercentage","doughnutlabel","labelProvider","resizeStrategy","TRUNCATE","legendCallback","dataSets","backgroundColours","originalLabel","encodedLabel","legendColour","singleColourPalette","setAlphas","hoverBorderColor","font","family","getHoverTooltipWhenSelection","getHoverTooltipWhenNoSelection","legendItemName","$data","_chart","legendContainer","legendElementId","generateLegend","legendRows","hoveredDatasetIndex","highlightActiveSegment","createTooltipEventObject","tooltipEvent","body","lines","dataPoints","segmentIndex","highlight","metaData","getDatasetMeta","activeSegment","updateHoverStyle","Doughnut","DateTimeService","localtime","timeFormat","midnight","momentDate","difference","diff","as","asMilliseconds","isDownloadInProgress","downloadReport","TwitterApiService","twitterHost","Answers","showCreateModal","answerToDelete","deleteAnswer","loadAnswers","AddAnswerModal","chatWithUsClicked","chooseIntent","intentsForFlows","cancelled","holidaysState","UsageReports","isValidMonthOption","BillableConversationsTrendChart","ChannelMessagesTrendChart","showBotPreviewModal","loadedAnswer","loadedIntentList","discardAnswer","faqName","setFaqName","currentAnswerStatus","isSaveButtonEnabled","saveAnswer","isPreviewButtonEnabled","openPreview","isMakeLiveButtonVisible","isBotStudioEnabled","canMakeLive","showMakeAnswerLiveConfirmation","upgradeButtonClicked","isPauseOptionVisible","pauseAnswer","handleIntentChange","loadedFullIntent","questions","onAnswerChange","clearTransform","getStateComponentName","stateUpdated","deleteState","isStatePickerUp","setIsStatePickerUp","addMessageState","addAppIntegrationState","containsGoToState","addGoToState","getLeaveConfirmationMessage","showLeaveModal","getMakeLiveConfirmationMessage","makeAnswerLive","showMakeLiveModal","getPauseConfirmationMessage","onPauseAnswerConfirmed","showPauseAnswerModal","getDeleteAnswerConfirmationMessage","onDeleteAnswerConfirmed","showUpgradeModal","Toast","toasted","className","LOAD_FLOW_LIST_OPTIONS","SET_FLOW_LIST_OPTIONS","flow1","flow2","isSelectedFlowStillInList","SET_REPORTING_FLOW","CLEAR_REPORTING_LIST_OPTIONS","REMOVE_ALL_REPORT_LABEL_VALUES","UsersInWorkspace","users","showInviteUserModal","showRemoveUserModal","getAllUsersForWorkspace","userToRemove","revokeUser","refreshRequired","GoogleBmApiService","entryPointStates","googleApi","createAgent","requestAgentVerification","entryPointState","unlaunchAgent","requestLocationVerification","unlaunchLocation","every","VerificationStatus","VERIFICATION_STATE_UNSPECIFIED","ARCHIVE_CONTACT_ATTRIBUTE","AppsApiService","appsHost","capabilityList","FaqIntentPicker","selectedIntentIsNewIntent","matchingIntentOnId","matchingIntentOnName","existingIntent","emitSelectedIntent","createIntentModal","BotPreviewMessagingClientContainer","variables","isConversationVisible","isBotPaused","currentUser","currentUrl","currentChannelType","currentChannelIdentityId","postbackTimers","sessionId","sendPostback","setupTimeOnPageTimers","deletePostbackTimers","deleteSession","sentMessage","addOutboundMessage","source","currentTime","flowsAndPriorities","sendTestBotEvent","MessageStatus","DeliverySucceeded","handleBotResponse","trackTestBotEventSent","postbackType","handleMessageSend","resetPostbacks","channelChanged","channelId","reset","resetConversation","MessageDirection","Outbound","timestampUtc","Sent","scrollToBottom","isFromAppUserMessageRequest","getCurrentUser","handleBotInstructions","newUser","entries","extractGivenName","extractSurname","containsMessageInstructions","instructions","instruction","whisper","sendApp","handleAppInstruction","handover","sendConversationHandover","createTextConversationMessage","getMessageType","getMessageText","ask","appInstruction","botAppInitViewModel","getAppUserFromUser","appResponse","conversationMessage","createAppConversationMessage","appMsg","initiateNextBotTurn","Inbound","say","previewComponent","container","getElementsByClassName","scrollTop","scrollHeight","timeOnPage","postbackTimer","evt","eventDetail","panelId","submit","botAppSubmit","containsStoredData","submitData","frescoValues","givenName","surname","customAttributes","getCustomAttributesFromUser","eventType","BrowserUrlBar","loadIntentWithId","setIntentToEdit","nlpEnabled","errorLoading","HumanHandover","mostPopularTotals","lowestConfidenceTotals","averageConfidence","highestConfidenceTotals","mostPopularTrends","slotProps","lowestConfidenceTrends","lowestLabelValues","highestConfidenceTrends","highestLabelValues","timeOfDayOptions","scheduleType","handleSelectionChange","customScheduleInvalid","customScheduleChanged","TwitterAuthPopup","classList","fromLocust","fc","oauth_token","oauth_verifier","parentWindow","parent","opener","setAuthToken","intentsState","ConversationApi","API_VERSION","conversationId","isVariablePickerOpen","getNameAttributes","addVariableToText","isEmojiPickerOpen","toggleEmojiPicker","insertEmoji","reportState","GoogleBmVerificationModal","isAgent","SET_LABELS","SET_REPORTING_DATE_RANGE","obj","validation","Infinity","valueToDisplay","actualValue","clearUpdateTimer","prevValue","setupDateTime","isSame","getDateToDisplay","setUpdateDateTimer","checkValidity","setActualValueFromDate","displayRelativeDate","dateAsIso","getTimezoneOffset","dateHasSeconds","updateDateTimer","setInterval","formatRelativeDate","clearInterval","loadedFlows","loadedAnswers","intentReference","hasTwitterInstalledApp","connected","loginInProgress","twitterApp","EscalationRateCharts","FLOW_ESCALATIONS","PercentageBarChart","minutesToTime","handleFlowSelectedChange","appAdded","isLozengeMode","hasSelectedApps","appsMoved","getName","canEditApp","openContentHighlightsEditModal","appRemoved","createCardContent","createListItem","createError","contactColumns","Report","dataEmpty","webAssistantAppLoaded","activeCollapseId","webAssistantAppInstallError","onImageSelected","onImageUploaded","onImageCleared","typicalResponseTimeOptions","homescreenAppsChanged","handleAppUpdate","getCodeSnippet","getInitSnippet","view","sentMessageColour","useDefaultLauncher","initialisedHomescreenApps","sampleMessages","messageLoad","FriendlyString","getDarkPrimary","pathNameUpdated","isFirstPathInFlow","openDeletePathModal","getStates","openDeleteStateModal","addQuestionState","addDecisionState","addQuickReplyState","hasEndingStates","addHumanHandoverState","getEndStates","deleteModalOptions","DeleteModalType","State","confirmation","HomescreenAppInitViewModel","AppConfirmModal","TwitterConfig","onbeforeunload","popup","origin","getRequestToken","requestToken","href","oauthToken","oauthVerifier","verifier","secret","HomescreenAppCache","cache","cached","getFromCache","appInit","addToCache","createErrorModel","homescreenAppInit","AnswerEditor","hasLiveParentFlows","navigationTo","existingAnswer","fetchAnswer","fetchIntents","createNewIntent","updateExistingIntent","canDeleteAnswer","forceDiscard","canPauseAnswer","pauseAnswerErrorMessage","Live","savedAnswer","Paused","previousValue","addState","transform","vuelidateFaqNameField","isStatus","isAnswerTransitioningToAnInactiveFlow","hasChangedIntent","isInitialChangeToFaqNameIntent","loadFullIntent","loadAnswer","allowedStatuses","q","newIntent","endStates","PauseIcon","PlayIcon","SaveIcon","BackArrow","TextComponent","GoToComponent","GoToIcon","onNameChange","saveTemplate","openNewConditionPicker","availableConditions","unique","variableInput","addFlowVariable","GoogleApi","googleBmHost","MessengerConfig","selectedPage","userPages","messengerApp","loginOptions","messenger","instagram","loadingPages","loadFacebookLoginSdk","pageId","instagramAppId","facebookAppId","onConnected","authResponse","loginScope","authToken","getFacebookPages","getUserPages","pages","pageAccessToken","ColumnPicker","ColumnIcon","last","WebAssistantViewToggle","isActive","setActiveView","ContactAttributes","showUpdateAttributeModal","showArchiveAttributeModal","selectedAttribute","typeValue","GoogleBmUnlaunchModal","sendUnlaunchRequest","itemTitle","locationName","availablePatternTypes","parsePattern","getSelectedType","canBeAnyLength","openingBrace","closingBrace","lengths","buildDecimalPattern","newPattern","buildPattern","isRegexEndedWithPlusSymbol","canDecimalBeAnyLength","regExWithoutStartEndLineCharacters","stripLineStartAndEndCharacters","isRegexDefaultDecimalRegex","$slots","alignContentLeft","addAnswer","deleteAnswerConfirm","editAnswer","setConditionType","selectInHours","selectCustomSchedule","variableIds","idAndVariable","reevaluateBadgeComponent","editableDiv","setupEditableDivEvents","restoreSelection","convertNewLinesToBreaks","containsVariable","convertVariablesToHtml","pasteHtmlAtCaret","insertVariableBadgeElement","setCaretAtTheEndOfContentEditable","blurElement","containsInvalidAttribute","hasClickedTooltip","blur","convertToProcessableText","inputAsHtml","createVariableBadgeComponent","setCaretAfterElement","emoji","innerText","toElement","clipboardData","getData","execCommand","bannedCommands","setSelection","regexForVariable","variableRegArray","convertVariableToHtml","vmComponent","closedFallback","mountedInstance","$mount","_vnode","componentInstance","convertHtmlElementsToVariables","cleanseHtml","convertEscapedHtmlToString","currentVariable","convertHtmlElementToVariable","pillElements","pillsContainInvalidAttribute","elementWithData","elementAsHtml","outerHTML","scopePrefix","replaceHtmlWithVariable","pillElement","pillIsInvalid","variableWithBracket","variableWithoutBracket","variableData","variableSyntax","extractVariableAndScope","syntaxParts","convertCustomAttributeVariable","convertSystemVariable","variableScope","variableKey","variableName","contactAttribute","reevaluateInvalidBadgeComponent","badge","ActionBar","BotsApiService","bot","convertIso8601ToDate","botsHost","iso8601","featureName","defaultValue","hasInstalledApps","isAppInstalled","usageLimitType","validFaqTitle","addFaqInput","faqNameInput","filteredData","restrictDataToTopX","botUser","selectedFlows","selectedAnswers","handleBotUserUpdated","resetContact","handleContactUpdated","isFlowSelectorVisible","flowSelection","isAnswerSelectorVisible","answerSelection","flowLoaded","setFlowName","currentFlowStatus","saveButtonClicked","previewButtonClicked","makeLiveButtonClicked","pauseFlowClicked","deleteFlowClicked","getDeleteConfirmationMessage","pauseFlow","showPauseFlowModal","makeFlowLive","getNoTriggerSelectedConfirmationMessage","showNoTriggerModal","saveChanges","hasGovNotifyInstalledApp","hasMultipleGovNotifyServicesEnabled","loadingServices","handleServiceChange","handleServiceConfigurationError","canLoadTemplates","govNotifyApp","submitIsDisabled","hasConfirmedDiscard","showConfirmationModal","showDeleteConfirmationModal","allowedTags","allowedAttributes","allowedSchemes","selectedPath","confirmValue","$sanitize","confirmationTitle","confirmationMessage","typedConfirmationRequired","typedConfirmationValid","typeConfirmationValidationMessage","LinkedPathsBox","handleReportLoad","afterDatasetsDraw","setup","clearLabels","ctx","pluginData","tipData","innerLabel","parseFont","global","defaultFontColor","lastLabels","drawLabels","innerLabels","textAreaSize","calculateTextAreaSize","textAlign","textBaseline","centerX","chartArea","left","right","centerY","topY","currentHeight","fillStyle","string","lineHeight","lineCenterY","fillText","textSize","isTextAreaTooLarge","SHRINK","alterLabelsToFit","truncateLabelsToFit","fitRatio","getAdjustmentRequiredToFitArea","floor","tmpLabels","textAreaForSingleLabel","hypotenuse","sqrt","pow","innerDiameter","innerRadius","hasMessengerInstalledApp","WebAssistantImageUpload","inputElement","selectedFile","isValidFileType","emitSelected","imageUploadApi","upload","emitUploaded","emitCleared","ContactConversation","sortedIntents","hasGoToPathWithId","hasQuickReplyPathWithId","hasDecisionPathWithId","hasNoMatchPathWithId","pathVm","localGetters","isPathInvalid","isTransitioningToAnInactiveFlow","flowDesignerState","transitionedToFlows","addGoToTransitionFlow","addQuickReplyTransitionFlows","addDecisionTransitionFlows","addNoMatchTransitionFlow","flowsAndAnswers","has","pathIndex","validity","triggerConditionsInvalid","audienceConditionsInvalid","messageCondition","transitionPickerFixedConfig","createTransitionPickerOptions","currentStatus","allowAddPath","transitionPickerConfigForFlow","getFlowsForTransitionPicker","getPathsForTransitionPicker","getAnswersForTransitionPicker","None","uniqueFlows","addDestinationFlowOrAnswer","readonlyValue","closeEmojiPicker","native","secondName","EmojiIcon","CodeIcon","articleAppConfig","listAppConfig","isArticleApp","$templateName","parseListAppConfig","appConfigComponent","getListAppFromConfig","k","parts","heading","connectListApp","ContentHighlightsListAppEdit","isUsageReportDisplayed","textComponent","textfield","multiline","textEmpty","userInput","maxChars","ContactNameUtil","replaceMultiSpaceWithSingle","contactName","setClickedState","optionUpdated","updateOptionTransition","deleteOption","matchesType","hasDataType","getDataTypeErrorMessage","transitions","isValidTransition","getAddTooltipText","canAddMoreOptions","addOption","additionalConfigChanged","variableSelected","showExpandedConfig","hideExpandedConfig","humanAvailability","load","FontAwesomeIcon","productionTip","componentPrefix","FLOW_ENGAGEMENT","hasStatusBadge","getStatusBadgeText","category","isActiveTab","installApp","uninstallApp","websiteUrl","privacyPolicyUrl","termsOfServiceUrl","uninstallNotAllowedMessage","FiltersManager","decimalRegex","decimal","makeFriendlyDecimal","padLeadingZeroAndDecimalPlaces","decimalPosition","getPercentageValues","totalValue","isLocationSelected","isLocationSaved","handleCheckboxChange","updateDecisionsIfChanged","createKey","updateDecision","addDecision","updateNoMatch","buttonDisabled","confirmButtonLabel","cancelButtonLabel","enableCurrentFlowOrAnswer","a1","a2","updateUser","applyBotUserUpdateToContact","updateBotUser","firstSeenUtc","lastSeenUtc","lastContactedUtc","lastHeardFromUtc","resetCustomAttributes","flowToPreview","answerToPreview","attributeName","ContactDetails","stateToRemove","deleteUnusedFlowVariable","storedFlowVariable","foundVarElsewhere","greaterThanZero","Settings","BotAppService","configureConnectBot","hasChatBotAppInstalled","getDefaultConfiguration","cachedAttributes","dateTimeUnits","getOperation","getUnit","matchedAttribute","typedOperations","matchedOperation","getListConditionValueTitle","getIntentConditionValueTitle","dateTime","refresh","Dots","ErrorPage","minWidth","maxWidth","hasText","nativeOn","AnswersApiService","answersHost","results","ImageUploadService","validateImage","uploadImage","FormData","append","maxFilesize","maxHeight","bytesToKilobytes","getDimensions","dimensions","getImageAsString","dataUrl","readFile","Image","naturalWidth","naturalHeight","onerror","readAsDataURL","getReport","report","getMessagingReportCsv","getFlowsReportCsv","getNLPReportCsv","getUsageReportCsv","filters","filtersManager","reloading","onFiltersChanged","visibleColumns","formattedContacts","dataTableChanged","handleCellClick","getContactAttributesToFormat","E164_REGEX","internationalPhoneNumber","https","agentConfig","disabledFields","loadedHours","saving","brandDisplayName","brandLogoUrl","brandWebsiteUrl","brandContactName","brandContactEmail","agentDisplayName","welcomeMessage","conversationStarters","nonLocalContactWebsiteUrl","nonLocalPhoneNumber","nonLocalCallDeflectionPhoneNumbers","hasAgentRequestedVerification","showAllFormErrors","isDisabledField","validationField","VERIFICATION_STATE_PENDING","VERIFICATION_STATE_VERIFIED","VERIFICATION_STATE_SUSPENDED_IN_GMB","brand","resumeBot","refreshClicked","handleLoad","handleQuickReply","toggleConversationVisibility","resetClicked","setFlowForReports","openConfig","getFormattedDescription","deleteCondition","onMouseDownInside","onMouseUpInside","updateCondition","onConfigCompleted","ImageUploadViewModel","AudienceConditionsManager","nonArchivedAttributes","AuthenticationService","tenantConfig","signInUrl","authority","tenant","signInPolicy","passwordResetUrl","passwordResetPolicy","scopes","clientId","account","idToken","conf","auth","navigateToLoginRequestUrl","redirectUri","knownAuthorities","cacheLocation","loadFrameTimeout","msal","PublicClientApplication","handleRedirectPromise","handleRedirectResponse","handleRedirectError","loginRedirect","logOutRequest","idTokenHint","postLogoutRedirectUri","logoutRedirect","getAllAccounts","acquireTokenSilent","acquireTokenRedirect","idTokenClaims","accounts","AuthError","getConfiguration","authService","channels","MessagingWorkspacesApi","handleInput","saveApp","getHoliday","isTypeSelected","getSelectedOptionName","noneTransition","showNoneTransition","isPathOptionsVisible","isFlowOptionsVisible","isNoneChosen","isGoToButtonDisabled","goToTransition","FlowsReportApiService","launchItem","DateTimeDataTypeUnits","Contains","GreaterThan","LessThan","Days","displayAvatar","enableAvatarTooltip","selectedLabel","selectedTransition","loadFlowsAndAnswers","isOnAnswersPage","transitionPickerConfigForAnswer","pathOptions","flowOptions","canAddNewFlow","answerOptions","isTransitionValid","goToFlow","goToAnswer","chooseTransition","closePicker","transitionType","getRouteName","PathIcon","boxPath","arrowPath","textX","WebAssistant","whitelistedDomains","imageUploading","codeSnippet","invalidRequired","invalidMaxLength","homescreenAppCache","loadCodeSnippet","updateWebAssistant","homescreenAppConfig","promises","initialiseApp","configured","initialised","ImageUpload","AppOverview","RefreshIcon","dateSelectorOpen","timeAdjust","fillMode","isSelectedDateInOptions","getSelectedPreset","getDateOptionForCustomRange","setReportingDateRange","moveCalendar","selectedPreset","matchingValues","optRange","matchingValueWithLabel","selectedStart","selectedEnd","getGroupingForCustomRange","generateLabelForCustomRange","dateRange","calendar","dragValue","date1","date2","oneDay","abs","startDateEqualsEndDate","getDaysBetweenDates","move","daySpan","newState","pathToUpdate","lastState","stateIndexToRemove","updatedState","removeTransition","removeFromGoTo","removeFromQuickReplies","removeFromDecisions","removeFromNoMatch","showAppDetails","selectTab","testUrl","findMatchingValue","aIsNumeric","bIsNumeric","UPDATE_PATH","resetTracking","fetchFlow","unsubscribeMutations","flowToDeleteName","confirmed","setIsSaveFlowInProgress","updateFlowStatus","canPauseFlow","pauseFlowErrorMessage","saveFlow","canDeleteFlow","hasLiveParentAnswers","parentFlow","loadFlow","resetChangeTracker","$store","subscribe","trackChanges","mutation","changeType","determineChangeType","makeDirty","setupLeaveModal","leaveModal","$once","utils","valueOrDefault","defaultFontSize","defaultFontFamily","toLineHeight","defaultFontStyle","weight","toFontString","isNullOrUndef","measureText","getTemplateOptions","onCopy","handleDeleteClick","extend","quoteRegexp","cloneDeep","mergeWith","isString","isPlainObject","srcset","postcss","LINE_FEED","CARRIAGE_RETURN","each","cb","VALID_HTML_ATTRIBUTE_NAME","Frame","attribs","tagPosition","updateParentNodeText","thisFrame","stack","parentFrame","addIssue","parser","getTagPosition","characterIndex","previousCharacter","character","charCodeAt","htmlParserDefaults","allowedAttributesMap","allowedAttributesGlobMap","nonTextTagsArray","nonTextTags","globRegex","allowedClassesMap","allowedClasses","classes","transformTagsAll","transformTagsMap","transformTags","transFun","simpleTransform","depth","skipMap","transformMap","skipText","skipTextDepth","Parser","onopentag","frame","transformedTag","skip","tagName","removedAttributes","parsed","passedAllowedAttributesMapCheck","splitStrArray","allowedSchemesAppliedToAttributes","naughtyHref","allowed","isRelativeUrl","protocol","allowIframeRelativeUrls","allowedIframeHostnames","hostname","evil","filterClasses","abstractSyntaxTree","filteredAST","filterCss","allowedStyles","stringifyStyleAttributes","escapeHtml","selfClosing","textFilter","ontext","lastFrame","escaped","onclosetag","pop","exclusiveFilter","write","quote","decodeEntities","matches","allowProtocolRelative","scheme","allowedSchemesByTag","selectedRule","astRules","nodes","selector","objValue","srcValue","filterDeclarations","extractedAttributes","attributeObject","allowedDeclarationsList","matchesRegex","regularExpression","clss","newTagName","merge","newAttribs","img","isStatePickerOpen","updatePath","deletePathConfirmed","closeDeleteModal","deleteStateConfirmed","deletePath","focusOnStateInput","updateState","hasEndingState","getLastAddedState","QuickReplyComponent","HumanHandoverComponent","TriggerBox","QuickReplyIcon","PauseBotIcon","DecisionIcon","resume","openingTimesError","showCreateHolidayModal","openEditHoliday","closeCreateHolidayModal","closeUpdateHolidayModal","deleteConfirmationMessage","IntentsReports","responseData","mostPopularTotalsReport","lowestConfidenceTotalsReport","highestConfidenceTotalsReport","confidenceAverage","highestConfidenceTrendReport","mostPopularTrendReport","lowestConfidenceTrendReport","setAverageLabels","setLabels","average","roundedAverage","AppConfig","replaceAll","stopRedirect","btsmsConfig","govuknotifysmsConfig","messengerConfig","twitterConfig","googlebmConfig","getAttributesForWorkspace","createAttributeForWorkspace","updateAttributeForWorkspace","archiveAttributeForWorkspace","ColourService","contrastingColour","isLight","amount","newColour","toHexString","colours","toRgbString","faSync","GovUkNotifySmsConfig","deletedGovNotifyServices","serviceConfigurationIsInvalid","appUnsavedState","bindRouterHook","loadServices","routerHookFn","getServices","multipleIdentitiesPerChannelEnabled","force","saveMultiService","saveSingleService","updateServices","saveServiceRequest","templateBody","answerState","hasGoToState","TriggerIcon","LinkedPathsIcon","openTemplateEditorForCreate","editTemplate","showDeleteTemplateConfirmation","deleteTemplate","deleteDomain","canSave","verifyItem","addRule","APP_ID_MAPPING","btsms","govuknotifysms","twitter","webassistant","connectbot","forceReload","getChannelIdentities","publishedApps","installedChannelApps","getInstalledChannelIdentities","getInstalledChannelDefaultIdentities","orderedResults","sortChannelIdentitiesByTypeThenName","relatedApp","doesChannelIdentityExistForAppType","ci","c1","c2","app1","app2","type1Name","type2Name","visibleScreen","mapAgents","screen","VERIFICATION_STATE_UNVERIFIED","LAUNCH_STATE_UNLAUNCHED","LAUNCH_STATE_UNSPECIFIED","LAUNCH_STATE_LAUNCHED","LAUNCH_STATE_PENDING","LAUNCH_STATE_REJECTED","LAUNCH_STATE_SUSPENDED","LAUNCH_STATE_PENDING_UNLAUNCH","Flask","Rocket","openCreateAttributeModal","openEditAttribute","getTypeDisplay","showArchiveModal","closeAttributeModal","getArchiveConfirmationMessage","archiveAttribute","updatedOptionTransition","optionIndex","stateOptionHasBeenUpdated","quickReplyComponent","getError","closeFallback","maxConversationTitleLength","hasLoadedMessages","expanded","channelIdentityName","getConversationMessages","role","received","getMessageCard","mediaSrc","mediaUrl","mediaFilename","fileSize","mediaSize","fileType","mediaType","shouldLoadMessages","getMessages","isEndState","indexToRemove","updatedPath","hovered","And","Or","isPathActive","reorderablePathList","ContactsList","contacts","previousFilterString","loadContacts","getContacts","createFiltersForRequest","formatData","contactAttributesToFormat","getCustomAttributeId","allContactColumns","getCustomAttributeColumns","isNameEmpty","newFilterString","reloadContacts","newContactType","pageData","clearOffset","typeFilter","formattedContact","getContactName","lastSeen","lastContacted","lastHeardFrom","firstSeen","addCustomAttributeValues","triggerType","excludedTriggerTypes","isAddNewPickerOpen","availableTypes","getExcludedTriggerTypes","excludeConditions","getExcludedConditions","updateTriggerConditions","updateAudienceConditions","newContactTypes","updateContactTypes","closeAddNewPicker","handleSwitchingTrigger","setTrigger","onlineTimes","updateScheduleCondition","getIsGoogleAppInstalled","isGoogleAppInstalled","isProactiveFlowsEnabled","timeOnPageCondition","invalidAttributes","removeInvalidConditions","getHtmlInputTypeForAttribute","getAttributeDisplayValue","emitContact","getSystemAttributeDisplayValue","getCustomAttributeDisplayValue","getSubtitle","onAppSelected"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/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AAG,CAAC,QAAUlF,EAAI0qG,6BAA6BnlG,OAAM,IAAO,MAAK,EAAM,cAAcvF,EAAIiF,KAAK7E,EAAG,aAAa,CAACyE,MAAM,CAAC,KAAO7E,EAAIukC,aAAa,CAAEvkC,EAAIi/D,aAAej/D,EAAIg/D,YAAch/D,EAAIm/D,cAAcziE,OAAQ0D,EAAG,MAAM,CAACE,YAAY,WAAW4E,GAAG,CAAC,MAAQlF,EAAI4qG,qBAAqB,CAACxqG,EAAG,eAAe,CAACE,YAAY,aAAa,GAAGN,EAAIiF,OAAQjF,EAAIi/D,YAAcj/D,EAAIg/D,YAAch/D,EAAIm/D,cAAcziE,OAAQ0D,EAAG,MAAM,CAACE,YAAY,WAAW4E,GAAG,CAAC,MAAQlF,EAAI6qG,qBAAqB,CAACzqG,EAAG,cAAc,CAACE,YAAY,aAAa,GAAGN,EAAIiF,KAAMjF,EAAI4G,MAAM0U,UAAYtb,EAAIg/D,WAAY5+D,EAAG,MAAM,CAACE,YAAY,kBAAkBsI,MAAM,CAAE,qBAAsB5I,EAAIi/D,YAAcj/D,EAAIm/D,cAAcziE,SAAU,CAAC0D,EAAG,YAAY,CAACE,YAAY,eAAe,GAAGN,EAAIiF,MAAM,IACrkFzE,EAAkB,I,kCCDtB,mKASI+G,EAAY,eACd,aACA,OACA,QACA,EACA,KACA,WACA,MAIa,aAAAA,E","file":"js/app.d4fb5a0a.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([4,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InputStringComponent.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InputStringComponent.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"phone-preview\"},[_c('div',{staticClass:\"phone-preview__top-bar\"}),_c('div',{staticClass:\"phone-preview__sleep\"}),_c('div',{staticClass:\"phone-preview__bottom-bar\"}),_c('div',{staticClass:\"phone-preview__power\"}),_c('div',{staticClass:\"phone-preview__volume-up\"}),_c('div',{staticClass:\"phone-preview__volume-down\"}),_c('div',{staticClass:\"phone-preview__overflow\"}),_c('div',{staticClass:\"phone-preview__inner-shadow\"}),_c('div',{staticClass:\"phone-preview__screen\"},[_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default class WordWrapUtil {\r\n\tpublic static breakWord(s: string, limit: number): string {\r\n\t\tconst breakCount = (s.length / limit);\r\n\t\tconst newname = Array.from(s);\r\n\t\tfor (let x = 1; x < breakCount + 1; x++) {\r\n\t\t\tnewname.splice((x * limit) + (x - 1), 0, ' ');\r\n\t\t}\r\n\t\treturn newname.join('').trimEnd();\r\n\t}\r\n\r\n\tpublic static wrap(s: string, limit: number): string[] {\r\n\t\tconst words = s.split(' ');\r\n\t\tconst newSentence = [];\r\n\r\n\t\tlet line = '';\r\n\t\tfor (const word of words) {\r\n\t\t\tif ((line + word).length > limit) {\r\n\t\t\t\tnewSentence.push(line.trimEnd());\r\n\t\t\t\tline = '';\r\n\t\t\t}\r\n\t\t\tline += `${word} `;\r\n\t\t}\r\n\r\n\t\tif (line.length > 0) {\r\n\t\t\tnewSentence.push(line.trimEnd());\r\n\t\t}\r\n\r\n\t\treturn newSentence;\r\n\t}\r\n\r\n\tpublic static breakWordsOverLimit(s: string, limit: number): string {\r\n\t\treturn s\r\n\t\t\t.split(' ')\r\n\t\t\t.map(x => {\r\n\t\t\t\treturn (x.length > limit)\r\n\t\t\t\t\t? WordWrapUtil.breakWord(x, limit)\r\n\t\t\t\t\t: x;\r\n\t\t\t})\r\n\t\t\t.join(' ');\r\n\t}\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BillableConversationsTrendChart.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BillableConversationsTrendChart.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReadonlyCopyableField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReadonlyCopyableField.vue?vue&type=script&lang=ts\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChartError.vue?vue&type=style&index=0&id=7216999c&prod&scoped=true&lang=scss\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InputPatternEditor.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InputPatternEditor.vue?vue&type=script&lang=ts\"","export enum LaunchStatus {\r\n\tLAUNCH_STATE_UNSPECIFIED = 'LAUNCH_STATE_UNSPECIFIED',\r\n\tLAUNCH_STATE_UNLAUNCHED = 'LAUNCH_STATE_UNLAUNCHED',\r\n\tLAUNCH_STATE_PENDING = 'LAUNCH_STATE_PENDING',\r\n\tLAUNCH_STATE_LAUNCHED = 'LAUNCH_STATE_LAUNCHED',\r\n\tLAUNCH_STATE_REJECTED = 'LAUNCH_STATE_REJECTED',\r\n\tLAUNCH_STATE_SUSPENDED = 'LAUNCH_STATE_SUSPENDED',\r\n\tLAUNCH_STATE_PENDING_UNLAUNCH = 'LAUNCH_STATE_PENDING_UNLAUNCH'\r\n}\r\n","import { DateOption, DateGrouping } from '../models';\r\nimport { FluentDate } from '.';\r\n\r\ninterface IDateOptions {\r\n\ttoday: DateOption;\r\n\tyesterday: DateOption;\r\n\tlast7Days: DateOption;\r\n\tlast30Days: DateOption;\r\n\tlast90Days: DateOption;\r\n\tthisMonth: DateOption;\r\n\tlastMonth: DateOption;\r\n\tthisYear: DateOption;\r\n\tlastYear: DateOption;\r\n}\r\n\r\ninterface IDatePreset {\r\n\t[key: string]: DateOption;\r\n}\r\n\r\nexport class DatePicker {\r\n\tpublic static isValidMonthOption(option: DateOption): boolean {\r\n\t\treturn DatePicker.monthOptions.toArray().some(m =>\r\n\t\t\tm.getDateRange().start.getTime() === option.getDateRange().start.getTime() &&\r\n\t\t\tm.getDateRange().end.getTime() === option.getDateRange().end.getTime());\r\n\t}\r\n\r\n\tprivate static get presets(): IDatePreset {\r\n\t\treturn {\r\n\t\t\ttoday: {\r\n\t\t\t\tlabel: 'Today',\r\n\t\t\t\tgroup: DateGrouping.HOUR,\r\n\t\t\t\tgetDateRange: () => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tstart: new FluentDate().startOfDay().value,\r\n\t\t\t\t\t\tend: new FluentDate().endOfDay().value\r\n\t\t\t\t\t};\r\n\t\t\t\t},\r\n\t\t\t\tlistGroup: 0\r\n\t\t\t},\r\n\t\t\tyesterday: {\r\n\t\t\t\tlabel: 'Yesterday',\r\n\t\t\t\tgroup: DateGrouping.HOUR,\r\n\t\t\t\tgetDateRange: () => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tstart: new FluentDate().subtractDays(1).startOfDay().value,\r\n\t\t\t\t\t\tend: new FluentDate().subtractDays(1).endOfDay().value\r\n\t\t\t\t\t};\r\n\t\t\t\t},\r\n\t\t\t\tlistGroup: 0\r\n\t\t\t},\r\n\t\t\tlast7Days: {\r\n\t\t\t\tlabel: 'Last 7 days',\r\n\t\t\t\tgroup: DateGrouping.DAY,\r\n\t\t\t\tgetDateRange: () => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tstart: new FluentDate().subtractDays(7).startOfDay().value,\r\n\t\t\t\t\t\tend: new FluentDate().endOfDay().value\r\n\t\t\t\t\t};\r\n\t\t\t\t},\r\n\t\t\t\tlistGroup: 1\r\n\t\t\t},\r\n\t\t\tlast30Days: {\r\n\t\t\t\tlabel: 'Last 30 days',\r\n\t\t\t\tgroup: DateGrouping.DAY,\r\n\t\t\t\tgetDateRange: () => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tstart: new FluentDate().subtractDays(30).startOfDay().value,\r\n\t\t\t\t\t\tend: new FluentDate().endOfDay().value\r\n\t\t\t\t\t};\r\n\t\t\t\t},\r\n\t\t\t\tlistGroup: 1\r\n\t\t\t},\r\n\t\t\tlast90Days: {\r\n\t\t\t\tlabel: 'Last 90 days',\r\n\t\t\t\tgroup: DateGrouping.DAY,\r\n\t\t\t\tgetDateRange: () => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tstart: new FluentDate().subtractDays(90).startOfDay().value,\r\n\t\t\t\t\t\tend: new FluentDate().endOfDay().value\r\n\t\t\t\t\t};\r\n\t\t\t\t},\r\n\t\t\t\tlistGroup: 1\r\n\t\t\t},\r\n\t\t\tlast3Months: {\r\n\t\t\t\tlabel: 'Last 3 months',\r\n\t\t\t\tgroup: DateGrouping.MONTH,\r\n\t\t\t\tgetDateRange: () => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tstart: new FluentDate().startOfMonth().subtractMonths(2).value,\r\n\t\t\t\t\t\tend: new FluentDate().endOfDay().value\r\n\t\t\t\t\t};\r\n\t\t\t\t},\r\n\t\t\t\tlistGroup: 2\r\n\t\t\t},\r\n\t\t\tlast6Months: {\r\n\t\t\t\tlabel: 'Last 6 months',\r\n\t\t\t\tgroup: DateGrouping.MONTH,\r\n\t\t\t\tgetDateRange: () => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tstart: new FluentDate().startOfMonth().subtractMonths(5).value,\r\n\t\t\t\t\t\tend: new FluentDate().endOfDay().value\r\n\t\t\t\t\t};\r\n\t\t\t\t},\r\n\t\t\t\tlistGroup: 2\r\n\t\t\t},\r\n\t\t\tlast12Months: {\r\n\t\t\t\tlabel: 'Last 12 months',\r\n\t\t\t\tgroup: DateGrouping.MONTH,\r\n\t\t\t\tgetDateRange: () => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tstart: new FluentDate().startOfMonth().subtractMonths(11).value,\r\n\t\t\t\t\t\tend: new FluentDate().endOfDay().value\r\n\t\t\t\t\t};\r\n\t\t\t\t},\r\n\t\t\t\tlistGroup: 2\r\n\t\t\t},\r\n\t\t\tthisMonth: {\r\n\t\t\t\tlabel: 'This month',\r\n\t\t\t\tgroup: DateGrouping.DAY,\r\n\t\t\t\tgetDateRange: () => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tstart: new FluentDate().startOfMonth().value,\r\n\t\t\t\t\t\tend: new FluentDate().endOfMonth().value\r\n\t\t\t\t\t};\r\n\t\t\t\t},\r\n\t\t\t\tlistGroup: 2\r\n\t\t\t},\r\n\t\t\tlastMonth: {\r\n\t\t\t\tlabel: 'Last month',\r\n\t\t\t\tgroup: DateGrouping.DAY,\r\n\t\t\t\tgetDateRange: () => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tstart: new FluentDate().startOfMonth().subtractMonths(1).value,\r\n\t\t\t\t\t\tend: new FluentDate().startOfMonth().subtractMonths(1).endOfMonth().value\r\n\t\t\t\t\t};\r\n\t\t\t\t},\r\n\t\t\t\tlistGroup: 2\r\n\t\t\t},\r\n\t\t\tthisYear: {\r\n\t\t\t\tlabel: 'This year',\r\n\t\t\t\tgroup: DateGrouping.MONTH,\r\n\t\t\t\tgetDateRange: () => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tstart: new FluentDate().startOfYear().value,\r\n\t\t\t\t\t\tend: new FluentDate().endOfYear().value\r\n\t\t\t\t\t};\r\n\t\t\t\t},\r\n\t\t\t\tlistGroup: 3\r\n\t\t\t},\r\n\t\t\tlastYear: {\r\n\t\t\t\tlabel: 'Last year',\r\n\t\t\t\tgroup: DateGrouping.MONTH,\r\n\t\t\t\tgetDateRange: () => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tstart: new FluentDate().subtractYears(1).startOfYear().value,\r\n\t\t\t\t\t\tend: new FluentDate().subtractYears(1).endOfYear().value\r\n\t\t\t\t\t};\r\n\t\t\t\t},\r\n\t\t\t\tlistGroup: 3\r\n\t\t\t}\r\n\t\t};\r\n\t}\r\n\r\n\tprivate static dateOptions: IDateOptions = {\r\n\t\ttoday: DatePicker.presets.today,\r\n\t\tyesterday: DatePicker.presets.yesterday,\r\n\t\tlast7Days: DatePicker.presets.last7Days,\r\n\t\tlast30Days: DatePicker.presets.last30Days,\r\n\t\tlast90Days: DatePicker.presets.last90Days,\r\n\t\tthisMonth: DatePicker.presets.thisMonth,\r\n\t\tlastMonth: DatePicker.presets.lastMonth,\r\n\t\tthisYear: DatePicker.presets.thisYear,\r\n\t\tlastYear: DatePicker.presets.lastYear\r\n\t};\r\n\r\n\tpublic static get options() {\r\n\t\treturn {\r\n\t\t\t...this.dateOptions,\r\n\t\t\ttoArray: (): DateOption[] => Object.values(this.dateOptions)\r\n\t\t};\r\n\t}\r\n\r\n\tpublic static get monthOptions() {\r\n\t\tconst options = {\r\n\t\t\tthisMonth: DatePicker.presets.thisMonth,\r\n\t\t\tlastMonth: DatePicker.presets.lastMonth,\r\n\t\t\tlast3Months: DatePicker.presets.last3Months,\r\n\t\t\tlast6Months: DatePicker.presets.last6Months,\r\n\t\t\tlast12Months: DatePicker.presets.last12Months\r\n\t\t};\r\n\r\n\t\tconst currentYear = new Date().getFullYear();\r\n\r\n\t\tfor (let i = currentYear; i > currentYear - 3; i--) {\r\n\t\t\toptions[i.toString() as keyof typeof options] = {\r\n\t\t\t\tlabel: i.toString(),\r\n\t\t\t\tgroup: DateGrouping.MONTH,\r\n\t\t\t\tgetDateRange: () => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tstart: new FluentDate(new Date(i, 0, 1)).startOfYear().value,\r\n\t\t\t\t\t\tend: new FluentDate(new Date(i, 0, 1)).endOfYear().value\r\n\t\t\t\t\t};\r\n\t\t\t\t},\r\n\t\t\t\tlistGroup: 3\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\t...options,\r\n\t\t\ttoArray: (): DateOption[] => Object.values(options)\r\n\t\t};\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"chart-container\"},[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"title-container\"},[_c('span',{staticClass:\"title is-5\"},[_vm._v(\"\\n\\t\\t\\t\\tChannel Messages\\n\\t\\t\\t\\t\"),_c('div',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.right\",value:(_vm.tooltipText),expression:\"tooltipText\",modifiers:{\"right\":true}}],staticClass:\"icon\"},[_c('HelpIcon')],1)])])]),(_vm.loadedAndReturnedData)?_c('div',[_c('BarChart',{staticClass:\"chart\",attrs:{\"reportId\":_vm.reportId,\"data\":_vm.reportData,\"seriesOrder\":_vm.seriesOrder}})],1):(_vm.loadedAndNotReturnedData)?_c('div',[_c('ChartNoData')],1):(_vm.loadingError)?_c('div',{staticClass:\"error-overlay\"},[_c('ChartError')],1):_c('div',[_c('LoadingSpinner')],1),(_vm.loadedAndReturnedData)?_c('div',{staticClass:\"chart-labels\"},[_c('ChartLabels',{attrs:{\"reportId\":_vm.reportId}})],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateTimeCondition.vue?vue&type=style&index=0&id=6ffbf05e&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VariableBadge.vue?vue&type=style&index=0&id=5e324435&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('modal',{on:{\"cancel\":_vm.closeModal},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"modal-card-title\"},[_vm._v(\"Update Contact Attribute\")])]},proxy:true},{key:\"body\",fn:function(){return [_c('fieldset',[_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"ID\")]),_c('ReadonlyField',{attrs:{\"readonlyValue\":_vm.attribute.id}})],1),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\",attrs:{\"for\":\"name\"}},[_vm._v(\"Name\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.request.name),expression:\"request.name\"}],ref:\"nameInput\",staticClass:\"input\",attrs:{\"type\":\"text\",\"id\":\"name\",\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.request.name)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.request, \"name\", $event.target.value)},function($event){return _vm.$v.request.name.$touch()}]}}),(_vm.isFieldNotPopulated(_vm.$v.request, 'name'))?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Name is required\")]):(_vm.isFieldInvalid(_vm.$v.request, 'name'))?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Name may only contain letters, numbers, spaces, underscores or hyphens, and must be no longer than 50 characters\")]):_vm._e()])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\",attrs:{\"for\":\"description\"}},[_vm._v(\"Description\")]),_c('div',{staticClass:\"control\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.request.description),expression:\"request.description\"}],ref:\"descriptionInput\",staticClass:\"textarea\",attrs:{\"id\":\"description\"},domProps:{\"value\":(_vm.request.description)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.request, \"description\", $event.target.value)},function($event){return _vm.$v.request.description.$touch()}]}}),(_vm.isFieldNotPopulated(_vm.$v.request, 'description'))?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Description is required\")]):(_vm.isFieldInvalid(_vm.$v.request, 'description'))?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Description must be no longer than 255 characters\")]):_vm._e()])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Data type\")]),_c('ReadonlyField',{attrs:{\"readonlyValue\":_vm.attributeType}})],1)])]},proxy:true},{key:\"buttons\",fn:function(){return [_c('n-button-group',[_c('n-button',{attrs:{\"id\":\"create-attribute-submit-btn\",\"type\":\"button\",\"variant\":\"primary\",\"disabled\":_vm.submitDisabled,\"loading\":_vm.updateInProgress},on:{\"click\":_vm.update}},[_vm._v(\"Update Attribute\")]),_c('n-button',{attrs:{\"variant\":\"primary--outline\"},on:{\"click\":_vm.closeModal}},[_vm._v(\"Cancel\")])],1)]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import {AttributesState} from '.';\r\nimport { GetterTree } from 'vuex';\r\nimport { AppState } from '../app';\r\nimport {ContactAttributeViewModel} from '@/messaging/models/contactAttributeViewModel';\r\n\r\nexport const getters: GetterTree = {\r\n\r\n\r\n\tallContactAttributes(state: AttributesState): ContactAttributeViewModel[] {\r\n\t\treturn state.contactAttributes;\r\n\t},\r\n\r\n\tcontactAttributes(state: AttributesState): ContactAttributeViewModel[] {\r\n\t\treturn state.contactAttributes.filter(a => !a.archived);\r\n\t},\r\n\r\n\tgetAttribute(state: AttributesState): (attributeId: string) => ContactAttributeViewModel | undefined {\r\n\t\treturn (attributeId: string) => {\r\n\t\t\treturn state.contactAttributes.find(attr => attr.id === attributeId);\r\n\t\t};\r\n\t},\r\n\r\n\tisAttributeArchived(state: AttributesState): (attributeId: string) => boolean {\r\n\t\treturn (attributeId: string) => {\r\n\t\t\tconst attribute = state.contactAttributes.find(attr => attr.id === attributeId);\r\n\t\t\treturn !!attribute && attribute.archived;\r\n\t\t};\r\n\t},\r\n\r\n\tdoesAttributeExist(state: AttributesState) {\r\n\t\treturn (attributeId: string) => {\r\n\t\t\treturn !!state.contactAttributes.find(attr => attr.id === attributeId);\r\n\t\t};\r\n\t},\r\n};\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IntentsReports.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IntentsReports.vue?vue&type=script&lang=ts\"","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--13-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--13-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RulesList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RulesList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./UsageDateRangeFilter.vue?vue&type=template&id=8e94ceb0&scoped=true\"\nimport script from \"./UsageDateRangeFilter.vue?vue&type=script&lang=ts\"\nexport * from \"./UsageDateRangeFilter.vue?vue&type=script&lang=ts\"\nimport style0 from \"./UsageDateRangeFilter.vue?vue&type=style&index=0&id=8e94ceb0&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8e94ceb0\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport { Getter } from 'vuex-class';\r\nimport { ContactProfile } from '../models/contactProfile';\r\nimport { Conversation } from '../models/conversation';\r\nimport { conversationApi } from '../services/conversationApi';\r\nimport ContactConversationList from './ContactConversationList.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tContactConversationList\r\n\t}\r\n})\r\nexport default class ContactConversationModal extends Vue {\r\n\t@Getter public currentWorkspace: WorkspaceViewModel;\r\n\r\n\tpublic contactId: string;\r\n\r\n\tpublic loadingContactProfile: boolean = false;\r\n\r\n\tpublic conversations: Conversation[] = [];\r\n\r\n\tpublic contactProfile: ContactProfile | null = null;\r\n\r\n\tpublic async mounted() {\r\n\t\tthis.contactId = this.$route.params.id;\r\n\t\tawait this.loadContactProfile();\r\n\t}\r\n\r\n\tpublic async loadContactProfile(): Promise {\r\n\t\tthis.loadingContactProfile = true;\r\n\t\tconst response = await conversationApi.getContactProfile(this.currentWorkspace.id, this.contactId);\r\n\t\tthis.conversations = response.conversations;\r\n\t\tthis.contactProfile = response.contact;\r\n\t\tthis.loadingContactProfile = false;\r\n\t}\r\n\r\n\tpublic closeModal() {\r\n\t\tthis.$router.push({ name: 'contacts-list' });\r\n\t}\r\n\r\n\tpublic get contactName(): string | undefined {\r\n\t\tif (this.contactProfile) {\r\n\t\t\treturn !this.contactProfile.name ? 'Unknown' : this.contactProfile.name;\r\n\t\t}\r\n\t\treturn 'Unknown';\r\n\t}\r\n}\r\n","var render = function (_h,_vm) {var _c=_vm._c;return _c('span',_vm._b({staticClass:\"material-design-icon account-icon\",class:[_vm.data.class, _vm.data.staticClass],attrs:{\"aria-hidden\":_vm.decorative,\"role\":\"img\"}},'span',_vm.data.attrs,false),[_c('svg',{staticClass:\"material-design-icon__svg\",attrs:{\"fill\":_vm.fillColor,\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M0 0h24v24H0z\",\"fill\":\"none\"}}),_c('path',{attrs:{\"d\":\"M9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4zm2.5 2.1h-15V5h15v14.1zm0-16.1h-15c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z\"}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./CapableAppModal.vue?vue&type=template&id=278dec5a&scoped=true\"\nimport script from \"./CapableAppModal.vue?vue&type=script&lang=ts\"\nexport * from \"./CapableAppModal.vue?vue&type=script&lang=ts\"\nimport style0 from \"./CapableAppModal.vue?vue&type=style&index=0&id=278dec5a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"278dec5a\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowTotalsCharts.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowTotalsCharts.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Toast from '@/shared/services/toast';\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport { Action, Getter } from 'vuex-class';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport { IntentListItemViewModel } from '../models/intents/intentListItemViewModel';\r\nimport AddIntentModal from '@/features/bots/components/designer/AddIntentModal.vue';\r\nimport { LOAD_INTENTS } from '@/store/intents/actionTypes';\r\nimport { library } from '@fortawesome/fontawesome-svg-core';\r\nimport { faSearch } from '@fortawesome/free-solid-svg-icons';\r\nimport EditIntentModal from '@/features/bots/components/designer/EditIntentModal.vue';\r\nimport DeleteIntentModal from '@/features/bots/components/designer/DeleteIntentModal.vue';\r\nimport DropDownMenu from '@/shared/components/dropDownMenu/DropDownMenu.vue';\r\nimport DeleteIcon from 'vue-material-design-icons/TrashCanOutline.vue';\r\n\r\nlibrary.add(faSearch);\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tLoadingSpinner,\r\n\t\tAddIntentModal,\r\n\t\tEditIntentModal,\r\n\t\tDeleteIntentModal,\r\n\t\tDropDownMenu,\r\n\t\tDeleteIcon\r\n\t}\r\n})\r\nexport default class Intents extends Vue {\r\n\t@Getter public intents!: IntentListItemViewModel[];\r\n\r\n\t@Action(LOAD_INTENTS) public loadIntents!: (forceLoad?: boolean) => Promise;\r\n\r\n\tpublic loading = false;\r\n\tpublic intentToEdit: IntentListItemViewModel = { id: '', title: '', utteranceCount: 0, references: [] };\r\n\r\n\tpublic deleteModalVisible: boolean = false;\r\n\tpublic intentToDelete: IntentListItemViewModel | null = null;\r\n\r\n\tpublic tableColumns = [\r\n\t\t{\r\n\t\t\tdisplay: 'Intent',\r\n\t\t\tname: 'title',\r\n\t\t\tclickable: true\r\n\t\t},\r\n\t\t{\r\n\t\t\tdisplay: 'Utterances',\r\n\t\t\tname: 'utteranceCount'\r\n\t\t}\r\n\t];\r\n\r\n\tpublic async mounted() {\r\n\t\tawait this.getIntents();\r\n\t}\r\n\r\n\tpublic async getIntents(): Promise {\r\n\t\tthis.loading = true;\r\n\t\ttry {\r\n\t\t\tawait this.loadIntents(true);\r\n\t\t} catch (error: any) {\r\n\t\t\tToast.showError(error.message);\r\n\t\t}\r\n\t\tthis.loading = false;\r\n\t}\r\n\r\n\tpublic get sortedIntents(): IntentListItemViewModel[] {\r\n\t\treturn this.intents.sort((a, b) => a.title.localeCompare(b.title));\r\n\t}\r\n\r\n\tpublic addIntent() {\r\n\t\tif (this.$refs.addIntentModal) {\r\n\t\t\t(this.$refs.addIntentModal as AddIntentModal).addNewIntent();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic editIntent(intent: IntentListItemViewModel) {\r\n\t\tthis.intentToEdit = intent;\r\n\t\tthis.$nextTick(() => {\r\n\t\t\tif (this.$refs.editIntentModal) {\r\n\t\t\t\t(this.$refs.editIntentModal as EditIntentModal).showModal();\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tpublic showDeleteModal(intent: IntentListItemViewModel) {\r\n\t\tthis.intentToDelete = intent;\r\n\t\tthis.deleteModalVisible = true;\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactConversationList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactConversationList.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IslandBadge.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IslandBadge.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Watch } from 'vue-property-decorator';\r\nimport { Action, Getter } from 'vuex-class';\r\nimport authService from './authentication/authentication.service';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { CHANGE_WORKSPACE } from '@/store/app/actionTypes';\r\nimport {workspacesApi} from '@/workspaces/workspaces';\r\nimport {ConnectClaim} from '@/authentication/claims';\r\nimport {config} from '@/config/config';\r\nimport connectWidget from '@/connect/connectWidget';\r\nimport { ATTENDANT_TRIAGE_FLOWS_ENABLED } from '@/store/app/featureTypes';\r\n\r\n@Component\r\nexport default class App extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Getter public workspaces!: WorkspaceViewModel[];\r\n\t@Getter public isWorkspaceFeatureEnabled!: (key: string) => boolean;\r\n\r\n\tpublic activeRoute: string = '';\r\n\r\n\t@Action(CHANGE_WORKSPACE) public changeWorkspace: any;\r\n\r\n\t@Watch('$route', { immediate: true })\r\n\tpublic onRoute(to: any) {\r\n\t\tthis.activeRoute = to.name ?? '';\r\n\t}\r\n\r\n\tpublic get botsLandingPage() {\r\n\t\treturn this.isWorkspaceFeatureEnabled(ATTENDANT_TRIAGE_FLOWS_ENABLED) ? '/bots/tasks' : '/bots/flows';\r\n\t}\r\n\r\n\tpublic async mounted() {\r\n\t\tawait this.addConnectWidget();\r\n\t\tawait this.setupRouteHooks();\r\n\t}\r\n\r\n\tpublic logout() {\r\n\t\tauthService.logout();\r\n\t}\r\n\r\n\tpublic isAuthenticated() {\r\n\t\treturn authService.isAuthenticated();\r\n\t}\r\n\r\n\tpublic getUserName() {\r\n\t\treturn authService.getUserName();\r\n\t}\r\n\r\n\tpublic selectWorkspace(workspace: WorkspaceViewModel) {\r\n\t\tthis.changeWorkspace(workspace);\r\n\t}\r\n\r\n\tpublic goToSettings() {\r\n\t\tthis.$router.push({name: 'general-settings'});\r\n\t}\r\n\r\n\tpublic isPageThatAllowsUnauthenticatedAccess() {\r\n\t\treturn this.activeRoute.startsWith('register') || this.activeRoute.startsWith('twitter-auth');\r\n\t}\r\n\r\n\tprivate async getUserCredentials() {\r\n\t\tif (config().webAssistantWorkspaceId && this.isAuthenticated()) {\r\n\t\t\tconst token = await workspacesApi.createUserTokenForConnect();\r\n\t\t\tconst userId = authService.getClaim(ConnectClaim.UserId);\r\n\t\t\treturn {token, userId};\r\n\t\t}\r\n\t}\r\n\r\n\tprivate async addConnectWidget(): Promise {\r\n\t\tconst userCredentials = await this.getUserCredentials();\r\n\t\tif (userCredentials) {\r\n\t\t\tconnectWidget.addWebAssistant(userCredentials.userId, userCredentials.token);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate async setupRouteHooks() {\r\n\t\tthis.$router.afterEach(() => {\r\n\t\t\tthis.$nextTick\r\n\t\t\t(async () => {\r\n\t\t\t\tconst userCredentials = await this.getUserCredentials();\r\n\t\t\t\tif (userCredentials) {\r\n\t\t\t\t\tawait connectWidget.update(userCredentials.userId, userCredentials.token);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t});\r\n\t}\r\n}\r\n","import urljoin from 'url-join';\r\nimport { api } from '@/shared/services/baseApiClient';\r\nimport { config } from '@/config/config';\r\nimport { SearchContactsRequest } from '@/features/contacts/models/searchContactsRequest';\r\nimport { PagedContactsViewModel } from '@/features/contacts/models/pagedContactsViewModel';\r\n\r\nclass ContactsApi {\r\n\tprivate version = 'v1';\r\n\r\n\r\n\tpublic getContacts(request: SearchContactsRequest, workspaceId: string): Promise {\r\n\t\tconst url = urljoin(config().messagingHost, this.version, 'workspaces', workspaceId, 'appusers', 'search');\r\n\t\treturn api.send('POST', url, request);\r\n\t}\r\n\r\n\tpublic getConversation(appUserId: string, workspaceId: string, continuationToken: string | ''): Promise {\r\n\t\tconst url = urljoin(config().messagingHost, this.version, 'workspaces', workspaceId, 'appusers', appUserId, `messages?size=50&token=${encodeURIComponent(continuationToken)}`);\r\n\t\treturn api.send('GET', url);\r\n\t}\r\n}\r\n\r\nexport const contactsApi = new ContactsApi();\r\n\r\nexport interface GetMessagesResponse {\r\n\tmessages: MessageViewModel[];\r\n\tcontinuationToken: string;\r\n}\r\n\r\nexport interface MessageViewModel {\r\n\tid: string;\r\n\trole: string;\r\n\tname: string;\r\n\ttype: string;\r\n\ttext: string;\r\n\tstatus: string;\r\n\treceived: Date;\r\n\tapp?: AppContentViewModel;\r\n}\r\n\r\nexport interface AppContentViewModel {\r\n\tinstalledAppId: string;\r\n\tconfig: any;\r\n\tcard: AppContentCardViewModel;\r\n}\r\n\r\nexport interface AppContentCardViewModel {\r\n\tcomponents: any[];\r\n}\r\n\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContentHighlightsEditModal.vue?vue&type=style&index=0&id=50fe061c&prod&lang=scss&scoped=true\"","import { render, staticRenderFns } from \"./TextEditor.vue?vue&type=template&id=39c04088&scoped=true\"\nimport script from \"./TextEditor.vue?vue&type=script&lang=ts\"\nexport * from \"./TextEditor.vue?vue&type=script&lang=ts\"\nimport style0 from \"./TextEditor.vue?vue&type=style&index=0&id=39c04088&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"39c04088\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport PageHeader from '@/shared/components/pageHeader/PageHeader.vue';\r\nimport {TabItem} from '@/shared/components/pageHeader/tabItem';\r\nimport {Getter} from 'vuex-class';\r\nimport { ATTENDANT_TRIAGE_FLOWS_ENABLED, NLP_ENABLED } from '@/store/app/featureTypes';\r\nimport BotPreviewModal from '@/features/bots/components/botTestTool/BotPreviewModal.vue';\r\nimport appInsights from '@/shared/services/appInsights';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport UpgradeBanner from '@/features/bots/components/UpgradeBanner.vue';\r\nimport { HeaderButton } from '@/shared/components/pageHeader/headerButton';\r\n\r\n@Component({\r\n\tcomponents: {UpgradeBanner, PageHeader, BotPreviewModal},\r\n})\r\nexport default class Bots extends Vue {\r\n\t@Getter public isWorkspaceFeatureEnabled!: (key: string) => boolean;\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\tpublic botPreviewActive = false;\r\n\r\n\tpublic get tabs(): TabItem[] {\r\n\t\tconst tabs = [];\r\n\r\n\t\tif (this.isWorkspaceFeatureEnabled(ATTENDANT_TRIAGE_FLOWS_ENABLED)) {\r\n\t\t\ttabs.push({ name: 'Tasks', route: 'bots-tasks'});\r\n\t\t}\r\n\r\n\t\ttabs.push({ name: 'Flows', route: 'bots-flows'});\r\n\r\n\t\tif (this.isWorkspaceFeatureEnabled(NLP_ENABLED)) {\r\n\t\t\ttabs.push({ name: 'FAQs', route: 'bots-answers'});\r\n\t\t\ttabs.push({ name: 'Intents', route: 'bots-intents'});\r\n\t\t\ttabs.push({ name: 'Active Learning', route: 'bots-active-learning'});\r\n\t\t}\r\n\r\n\t\treturn tabs;\r\n\t}\r\n\r\n\tpublic get buttons(): HeaderButton[] {\r\n\t\treturn [{\r\n\t\t\tclickHandler: () => this.openBotPreviewModal(),\r\n\t\t\tcontent: 'Preview your Bot',\r\n\t\t\tvariant: 'secondary'\r\n\t\t}];\r\n\t}\r\n\r\n\tpublic openBotPreviewModal() {\r\n\t\tthis.botPreviewActive = true;\r\n\t\tappInsights.trackEvent({ name: 'Preview your Bot clicked' }, { workspaceId: this.currentWorkspace.id });\r\n\t}\r\n\r\n\tpublic closeBotPreviewModal() {\r\n\t\tthis.botPreviewActive = false;\r\n\t}\r\n}\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GeneralSettings.vue?vue&type=style&index=0&id=1326a68e&prod&scoped=true&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DoughnutChartBaseWrapper.vue?vue&type=style&index=0&id=7809ba4b&prod&lang=scss&scoped=true\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ColumnPicker.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ColumnPicker.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BillableConversationsTrendChart.vue?vue&type=template&id=6e5d1975&scoped=true\"\nimport script from \"./BillableConversationsTrendChart.vue?vue&type=script&lang=ts\"\nexport * from \"./BillableConversationsTrendChart.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BillableConversationsTrendChart.vue?vue&type=style&index=0&id=6e5d1975&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6e5d1975\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./DataTable.vue?vue&type=template&id=70772642&scoped=true\"\nimport script from \"./DataTable.vue?vue&type=script&lang=ts\"\nexport * from \"./DataTable.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DataTable.vue?vue&type=style&index=0&id=70772642&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"70772642\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./DropDownMenu.vue?vue&type=template&id=6a19fc23&scoped=true\"\nimport script from \"./DropDownMenu.vue?vue&type=script&lang=ts\"\nexport * from \"./DropDownMenu.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DropDownMenu.vue?vue&type=style&index=0&id=6a19fc23&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6a19fc23\",\n null\n \n)\n\nexport default component.exports","import Vue from 'vue';\r\nimport Vuex from 'vuex';\r\nimport { app } from './app';\r\nimport { attributes } from './attributes';\r\nimport { flowDesigner } from './bot-designer';\r\nimport { holidays } from './holidays';\r\nimport { reports } from './reports';\r\nimport { channelIdentities } from './channel-identities';\r\nimport { intents } from './intents';\r\nimport { answers } from './answers';\r\n\r\nVue.use(Vuex);\r\n\r\nexport const store = new Vuex.Store({\r\n\tmodules: {\r\n\t\tapp,\r\n\t\tattributes,\r\n\t\tflowDesigner,\r\n\t\tholidays,\r\n\t\treports,\r\n\t\tchannelIdentities,\r\n\t\tintents,\r\n\t\tanswers\r\n\t},\r\n});\r\n","\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\n\r\n\r\n@Component\r\nexport default class PersonSearchIcon extends Vue {\r\n\t@Prop({default: 'white'}) public color: string;\r\n}\r\n","import { render, staticRenderFns } from \"./CapableAppSelection.vue?vue&type=template&id=07befe5c\"\nimport script from \"./CapableAppSelection.vue?vue&type=script&lang=ts\"\nexport * from \"./CapableAppSelection.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DecimalCondition.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DecimalCondition.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowReportFilters.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowReportFilters.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"triggers\"},[_c('IslandBadge',{attrs:{\"type\":\"trigger\",\"draggable\":false}}),_c('div',{staticClass:\"triggers-contents\"},[_c('div',{staticClass:\"triggers-summary\"},[(_vm.shouldDisplayProactiveTriggerMessage())?_c('div',{staticClass:\"proactive-trigger-message\"},[_c('AlertOutline',{staticClass:\"icon-1-5x\"}),_c('p',[_vm._v(\"This flow will not be triggered on page load because the workspace has a proactive trigger limit of 0\")])],1):_vm._e(),_vm._l((_vm.currentFlow.triggers),function(trigger,index){return _c('div',{key:index,staticClass:\"transition\"},[_c('div',{staticClass:\"flow-trigger-box\"},[_c('div',{staticClass:\"trigger-option-icon\"},[_c('span',{staticClass:\"icon\"},[(_vm.getIconName(trigger).startsWith('#'))?_c('svg',{staticClass:\"custom-icon\"},[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":_vm.getIconName(trigger)}})]):_vm._e(),(!_vm.getIconName(trigger).startsWith('#'))?_c('font-awesome-icon',{staticClass:\"fa-icons\",attrs:{\"icon\":['far', _vm.getIconName(trigger)]}}):_vm._e()],1)]),_c('div',{staticClass:\"trigger-option-description\"},[_c('span',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.getSelectedTriggerDescription(trigger))+\"\\n\\t\\t\\t\\t\\t\\t\")])]),(_vm.isValidIntentSelected(trigger))?_c('div',{staticClass:\"edit-icon\"},[_c('EditIcon',{staticClass:\"icon-1-2x\",on:{\"click\":function($event){$event.stopPropagation();return _vm.editIntent(trigger)}}})],1):_vm._e()])])}),(!_vm.isCurrentFlowTriggerable)?_c('div',{staticClass:\"none-option-description\"},[_vm._v(\"\\n\\t\\t\\t\\tNone\\n\\t\\t\\t\")]):_vm._e(),_vm._l((_vm.parentFlows),function(linkedFlow){return _c('div',{key:linkedFlow.id,staticClass:\"transition\"},[_c('TransitionPicker',{attrs:{\"transition\":_vm.getFlowTransition(linkedFlow),\"fixed\":true}})],1)}),_vm._l((_vm.parentAnswers),function(parentAnswer){return _c('div',{key:parentAnswer.id,staticClass:\"transition\"},[_c('TransitionPicker',{attrs:{\"transition\":_vm.getAnswerTransition(parentAnswer),\"fixed\":true}})],1)})],2)]),_c('EditIntentModal',{key:_vm.intentToEdit,ref:\"editIntentModal\",attrs:{\"intent-id\":_vm.intentToEdit}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BotFlows.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BotFlows.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./CreatePrivateApp.vue?vue&type=template&id=7048eee8&scoped=true\"\nimport script from \"./CreatePrivateApp.vue?vue&type=script&lang=ts\"\nexport * from \"./CreatePrivateApp.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7048eee8\",\n null\n \n)\n\nexport default component.exports","export enum ConnectClaim {\r\n\tRole = 'extension_connect_role',\r\n\tAccountId = 'extension_connect_account_id',\r\n\tGivenName = 'given_name',\r\n\tFamilyName = 'family_name',\r\n\tCompleteName = 'name',\r\n\tEmails = 'emails',\r\n\tUserId = 'extension_connect_user_id',\r\n}\r\n","import { render, staticRenderFns } from \"./ChannelIcon.vue?vue&type=template&id=392e5896&scoped=true\"\nimport script from \"./ChannelIcon.vue?vue&type=script&lang=ts\"\nexport * from \"./ChannelIcon.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ChannelIcon.vue?vue&type=style&index=0&id=392e5896&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"392e5896\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport { workspacesApi } from '@/workspaces/workspaces';\r\nimport { RegisterUserViewModel } from '@/workspaces/models/request/registerUserViewModel';\r\nimport authService from '@/authentication/authentication.service';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { minLength, required, sameAs, maxLength } from 'vuelidate/lib/validators';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport jwt_decode from 'jwt-decode';\r\nimport { InviteToken } from '@/features/registration/models/inviteToken';\r\n\r\nconst containsLetters = (value: string) => /(.*[a-z].*)/.test(value) && /(.*[A-Z].*)/.test(value);\r\nconst containsNumbers = (value: string) => /\\d/.test(value);\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tLoadingSpinner\r\n\t},\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tfirstName: {\r\n\t\t\trequired,\r\n\t\t\tmaxLength: maxLength(64)\r\n\t\t},\r\n\t\tlastName: {\r\n\t\t\trequired,\r\n\t\t\tmaxLength: maxLength(64)\r\n\t\t},\r\n\t\tpassword: {\r\n\t\t\trequired,\r\n\t\t\tminLength: minLength(8),\r\n\t\t\tcontainsLetters,\r\n\t\t\tcontainsNumbers\r\n\t\t},\r\n\t\tconfirmPassword: {\r\n\t\t\trequired,\r\n\t\t\tsameAs: sameAs('password')\r\n\t\t}\r\n\r\n\t}\r\n})\r\nexport default class Register extends Vue {\r\n\r\n\tpublic email: string = '';\r\n\tpublic firstName: string = '';\r\n\tpublic lastName: string = '';\r\n\tpublic password: string = '';\r\n\tpublic confirmPassword: string = '';\r\n\r\n\tpublic loading: boolean = true;\r\n\tpublic isTokenValid: boolean = false;\r\n\tpublic tokenErrorMsg: string = '';\r\n\r\n\tpublic token: string = '';\r\n\r\n\tpublic async created(): Promise {\r\n\t\tthis.token = this.$route.params.token;\r\n\t\tconst validateResponse = await workspacesApi.validateRegistrationToken(this.token);\r\n\t\tthis.loading = false;\r\n\t\tif (validateResponse.isValid) {\r\n\t\t\tthis.isTokenValid = true;\r\n\t\t\tthis.tokenErrorMsg = '';\r\n\t\t\tthis.email = validateResponse.email;\r\n\t\t} else {\r\n\t\t\tthis.isTokenValid = false;\r\n\t\t\tthis.tokenErrorMsg = validateResponse.errorMsg;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async register(): Promise {\r\n\t\tconst user: RegisterUserViewModel = {\r\n\t\t\temail: this.email,\r\n\t\t\tfirstName: this.firstName,\r\n\t\t\tlastName: this.lastName,\r\n\t\t\tpassword: this.password,\r\n\t\t\ttokenString: this.token\r\n\t\t};\r\n\t\ttry {\r\n\t\t\tawait workspacesApi.registerUser(user);\r\n\t\t\tconst token: InviteToken = jwt_decode(user.tokenString);\r\n\t\t\tif (token.loginUrl) {\r\n\t\t\t\twindow.location.assign(token.loginUrl);\r\n\t\t\t} else {\r\n\t\t\t\tauthService.login();\r\n\t\t\t}\r\n\t\t} catch (err: any) {\r\n\t\t\tthis.tokenErrorMsg = err.message;\r\n\t\t}\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { Card, CardSubmitEvent } from '.';\r\n// @ts-ignore\r\nimport { renderElements, getStyles } from '@netcall/card-renderer';\r\nimport shortid from 'shortid';\r\n\r\n@Component\r\nexport default class CardRenderer extends Vue {\r\n\t@Prop() public cards: Card[];\r\n\t@Prop() public colour: string;\r\n\t@Prop({ default: false }) public readonly: boolean;\r\n\t@Prop() public location: string;\r\n\r\n\tpublic id: string = `nc_${shortid.generate()}`;\r\n\r\n\tpublic $refs: {\r\n\t\tcardContainer: HTMLElement,\r\n\t};\r\n\r\n\t@Watch('cards')\r\n\tpublic onCardChange(cards: Card[], previous: Card[]) {\r\n\t\tthis.renderCards(cards);\r\n\t}\r\n\r\n\tpublic mounted() {\r\n\t\tthis.renderCards(this.cards);\r\n\t\tdocument.addEventListener('fresco-panel-submit', this.cardSubmitHandler);\r\n\t}\r\n\r\n\tpublic beforeDestroy() {\r\n\t\tdocument.removeEventListener('fresco-panel-submit', this.cardSubmitHandler);\r\n\t}\r\n\r\n\tpublic getStyles() {\r\n\t\treturn getStyles(this.colour, this.id).innerHTML;\r\n\t}\r\n\r\n\tprivate renderCards(cards: Card[]) {\r\n\t\tif (!this.$refs.cardContainer) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.$refs.cardContainer.innerHTML = '';\r\n\t\tcards.forEach(card => this.renderCard(card));\r\n\t}\r\n\r\n\tprivate renderCard(card: Card) {\r\n\t\tif (this.isCardComponentsValid(card)) {\r\n\t\t\tconst cardJson = JSON.stringify(card.content.components);\r\n\t\t\trenderElements(card.id || '', cardJson, this.$refs.cardContainer, this.location, this.readonly);\r\n\t\t} else {\r\n\t\t\tthis.renderError(card);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate renderError(card: Card) {\r\n\t\trenderElements(card.id || '', '{}', this.$refs.cardContainer, this.location, this.readonly);\r\n\t}\r\n\r\n\tprivate isCardComponentsValid(card: Card) {\r\n\t\treturn card.content && card.content && card.content.components && card.content.components.length > 0;\r\n\t}\r\n\r\n\tprivate cardSubmitHandler(e: Event) {\r\n\t\tconst customEvent = e as CustomEvent;\r\n\t\tthis.onSubmit(customEvent.detail);\r\n\t}\r\n\r\n\tprivate onSubmit(e: CardSubmitEvent) {\r\n\t\tthis.$emit('submit', e);\r\n\t}\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleBmVerificationModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleBmVerificationModal.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"select is-fullwidth\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedOperationId),expression:\"selectedOperationId\"}],on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedOperationId=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},_vm.operationSelected]}},_vm._l((_vm.operations),function(operation){return _c('option',{key:operation.id,domProps:{\"value\":operation.id}},[_vm._v(_vm._s(operation.title))])}),0)])])]),(_vm.requiresInput)?_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control is-fullwidth\"},[_c('input',{staticClass:\"input\",attrs:{\"type\":\"text\"},domProps:{\"value\":_vm.liveCondition.value},on:{\"input\":function($event){return _vm.textChanged($event.target.value)}}}),(_vm.$v.liveCondition.value.$invalid && _vm.$v.liveCondition.value.$dirty && !_vm.$v.liveCondition.value.required)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Value required\")]):_vm._e(),(_vm.$v.liveCondition.value.$invalid && _vm.$v.liveCondition.value.$dirty && _vm.$v.liveCondition.value.required && !_vm.$v.liveCondition.value.isDecimal)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Must be a number with maximum of 2 decimal places\")]):_vm._e(),(_vm.$v.liveCondition.value.$invalid && _vm.$v.liveCondition.value.$dirty && _vm.$v.liveCondition.value.required && !_vm.$v.liveCondition.value.maxLength)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Must be a maximum of 25 characters\")]):_vm._e()])]):_vm._e(),_c('div',{staticClass:\"control\"},[_c('n-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.complete()}}},[_vm._v(\"Done\")])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"data-table\"},[(_vm.hasResults() || _vm.isLoading)?_c('div',{staticClass:\"data-table-container\"},[(_vm.hasResults() && !_vm.isLoading)?_c('table',{staticClass:\"table is-fullwidth\"},[_c('thead',[_c('tr',[_vm._l((_vm.columns),function(column){return _c('th',{key:column.name},[_c('div',{staticClass:\"column-heading\"},[(column.sortable)?_c('div',{staticClass:\"data-table-column sortable\",on:{\"click\":function($event){return _vm.sortColumn(column.name)}}},[(column.icon)?_c('DataTableIcon',{class:{'icon--gap-fix': _vm.requiresAlignmentFix(column.icon)},attrs:{\"icon\":column.icon}}):_vm._e(),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(column.display)+\"\\n\\t\\t\\t\\t\\t\\t\\t\"),_c('div',{class:_vm.getSortClass(column.name)})],1):_vm._e(),(!column.sortable)?_c('div',{staticClass:\"data-table-column\"},[(column.icon)?_c('DataTableIcon',{class:{'icon--gap-fix': _vm.requiresAlignmentFix(column.icon)},attrs:{\"icon\":column.icon}}):_vm._e(),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(column.display)+\"\\n\\t\\t\\t\\t\\t\\t\")],1):_vm._e()])])}),(!!_vm.$scopedSlots['actions'])?_c('th'):_vm._e()],2)]),_c('tbody',_vm._l((_vm.data),function(row){return _c('tr',{key:row.id,staticClass:\"data-item\"},[_vm._l((_vm.columns),function(column){return _c('td',{key:column.name,staticClass:\"data-cell\",class:{ 'cell-wrap': column.wrappable }},[(!_vm.$scopedSlots[column.name])?_c('div',{staticClass:\"default-cell-display\"},[(_vm.isCellClickable(row, column.clickable))?_c('a',{staticClass:\"clickable-cell\",on:{\"click\":function($event){return _vm.cellClicked(row)}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.getDisplayValue(row, column))+\"\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e(),(!_vm.isCellClickable(row, column.clickable))?_c('span',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.getDisplayValue(row, column))+\"\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e()]):_vm._e(),(!!_vm.$scopedSlots[column.name])?_vm._t(column.name,null,{\"row\":row}):_vm._e()],2)}),(!!_vm.$scopedSlots['actions'])?_c('td',{staticClass:\"actions-column\"},[_vm._t(\"actions\",null,{\"row\":row})],2):_vm._e()],2)}),0)]):_vm._e(),(_vm.isLoading)?_c('div',{staticClass:\"loading-spinner-container\"},[_c('div',{staticClass:\"loading-spinner\"},[_c('LoadingSpinner')],1)]):_vm._e()]):_vm._e(),(_vm.pagination && _vm.hasResults())?_c('PagingControl',{staticClass:\"pagination-controls\",attrs:{\"total\":_vm.total,\"rows-per-page\":_vm.rowsPerPage},on:{\"page-changed\":_vm.onPageChanged}}):_vm._e(),(!_vm.hasResults() && !_vm.isLoading)?_vm._t(\"nodata\"):_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TimeSelector.vue?vue&type=style&index=0&id=208ed158&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChannelIdentityPicker.vue?vue&type=style&index=0&id=c963e66a&prod&scoped=true&lang=scss\"","export { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';\r\n\r\nimport { library } from '@fortawesome/fontawesome-svg-core';\r\nimport {\r\n\tfaRobot,\r\n\tfaComment,\r\n\tfaCommentAlt,\r\n\tfaCubes,\r\n\tfaCog,\r\n\tfaCheck,\r\n\tfaCode,\r\n\tfaTrash,\r\n\tfaAngleDown,\r\n\tfaArrowRight,\r\n\tfaChevronRight,\r\n\tfaUser,\r\n\tfaCube,\r\n\tfaFile,\r\n\tfaChartArea,\r\n\tfaChartBar,\r\n\tfaChartLine,\r\n\tfaExclamationCircle,\r\n\tfaPercent,\r\n\tfaCalendarAlt,\r\n\tfaUserFriends,\r\n\tfaBan,\r\n\tfaAngleUp,\r\n\tfaLevelUpAlt,\r\n\tfaCopy\r\n} from '@fortawesome/free-solid-svg-icons';\r\n\r\nimport {\r\n\tfaFile as farFile,\r\n\tfaComment as farComment,\r\n\tfaClock as farClock\r\n} from '@fortawesome/free-regular-svg-icons';\r\n\r\nlibrary.add(faRobot);\r\nlibrary.add(faComment);\r\nlibrary.add(faCommentAlt);\r\nlibrary.add(faCubes);\r\nlibrary.add(faCog);\r\nlibrary.add(faCheck);\r\nlibrary.add(faCode);\r\nlibrary.add(faTrash);\r\nlibrary.add(faAngleDown);\r\nlibrary.add(faAngleUp);\r\nlibrary.add(faArrowRight);\r\nlibrary.add(faChevronRight);\r\nlibrary.add(faUser);\r\nlibrary.add(faCube);\r\nlibrary.add(faFile);\r\nlibrary.add(farFile);\r\nlibrary.add(farComment);\r\nlibrary.add(faChartArea);\r\nlibrary.add(faChartBar);\r\nlibrary.add(faChartLine);\r\nlibrary.add(faExclamationCircle);\r\nlibrary.add(faPercent);\r\nlibrary.add(faCalendarAlt);\r\nlibrary.add(faUserFriends);\r\nlibrary.add(faBan);\r\nlibrary.add(faLevelUpAlt);\r\nlibrary.add(farClock);\r\nlibrary.add(faCopy);\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProactiveTriggersTrendChart.vue?vue&type=style&index=0&id=2f7dac58&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"timezone\"},[_c('span',{staticClass:\"timezone-label\"},[_vm._v(\"Timezone:\")]),_c('span',{staticClass:\"timezone-text\"},[_vm._v(_vm._s(_vm.timezone))])]),_vm._l((_vm.$v.openingTimes.$each.$iter),function(v,index){return _c('div',{key:index,staticClass:\"field with-icon openingTimes-row\"},[_c('div',{staticClass:\"opening-times-inputs\"},[_c('div',{staticClass:\"control select-input\"},[_c('n-select',{attrs:{\"options\":_vm.options,\"label\":\"Select a day\",\"hideLabel\":true},on:{\"input\":_vm.onChange},model:{value:(v.day.$model),callback:function ($$v) {_vm.$set(v.day, \"$model\", $$v)},expression:\"v.day.$model\"}})],1),_c('div',{staticClass:\"toggle-container\"},[_c('div',{staticClass:\"control\"},[_c('n-toggle',{attrs:{\"label\":\"Toggle Online/Offline\",\"hideLabel\":true},on:{\"input\":_vm.onChange},model:{value:(v.$model.open),callback:function ($$v) {_vm.$set(v.$model, \"open\", $$v)},expression:\"v.$model.open\"}})],1),_c('div',{staticClass:\"control inline-item toggle-label\"},[(v.$model.open)?_c('span',{staticClass:\"toggle-label__text--online\"},[_vm._v(\"online\")]):_vm._e(),(!v.$model.open)?_c('span',{staticClass:\"toggle-label__text--offline\"},[_vm._v(\"offline\")]):_vm._e()])]),_c('div',{staticClass:\"time-inputs\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(v.$model.open),expression:\"v.$model.open\"}],staticClass:\"control time-input\"},[_c('n-text-input',{attrs:{\"type\":\"text\",\"label\":\"Start time\",\"hideLabel\":true,\"errorMessage\":_vm.generateErrorMessage(v, 'startTime', 'Start time')},on:{\"input\":_vm.onChange},model:{value:(v.startTime.$model),callback:function ($$v) {_vm.$set(v.startTime, \"$model\", $$v)},expression:\"v.startTime.$model\"}})],1),(v.$model.open)?_c('span',{staticClass:\"control inline-item\"},[_vm._v(\"to\")]):_vm._e(),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(v.$model.open),expression:\"v.$model.open\"}],staticClass:\"control time-input\"},[_c('n-text-input',{attrs:{\"type\":\"text\",\"label\":\"End time\",\"hideLabel\":true,\"errorMessage\":_vm.generateErrorMessage(v, 'endTime', 'End time')},on:{\"input\":_vm.onChange},model:{value:(v.endTime.$model),callback:function ($$v) {_vm.$set(v.endTime, \"$model\", $$v)},expression:\"v.endTime.$model\"}})],1)])]),_c('div',{staticClass:\"inline-item delete-icon\"},[(_vm.showDeleteIcon)?_c('svg',{staticClass:\"add-icon\",on:{\"click\":function($event){return _vm.deleteOfficeHours(index)}}},[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":\"#trash\"}})]):_vm._e()])])}),(!_vm.$v.openingTimes.hasNoOverlap)?_c('div',{staticClass:\"error-message\"},[_vm._v(_vm._s(_vm.overlapErrorMessage))]):_vm._e(),(!_vm.$v.openingTimes.hasAtLeastOneOnlineTime)?_c('div',{staticClass:\"error-message\"},[_vm._v(_vm._s(_vm.atLeastOneOnlineTimeErrorMessage))]):_vm._e(),_c('div',{staticClass:\"field\"},[_c('n-button',{attrs:{\"variant\":\"ghost\",\"icon\":\"add\"},on:{\"click\":function($event){return _vm.addOfficeHours()}}},[_vm._v(\"Add Times\")])],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function (_h,_vm) {var _c=_vm._c;return _c('font-awesome-icon',{staticClass:\"person-icon\",attrs:{\"icon\":\"user\"}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { GoogleBmAgent } from '../models/googleBmAgent';\r\nimport VueQrcode from '@chenfengyuan/vue-qrcode';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tVueQrcode\r\n\t}\r\n})\r\nexport default class GoogleBmAgentTestModal extends Vue {\r\n\t@Prop() public agent: GoogleBmAgent;\r\n\r\n\tpublic activeTab: 'androidMaps' | 'iosMaps' | 'androidWeb' = 'androidMaps';\r\n\r\n\tpublic isActiveTab(tab: 'androidMaps' | 'iosMaps' | 'androidWeb') {\r\n\t\treturn this.activeTab === tab;\r\n\t}\r\n\r\n\tpublic selectTab(tab: 'androidMaps' | 'iosMaps' | 'androidWeb') {\r\n\t\treturn this.activeTab = tab;\r\n\t}\r\n\r\n\tpublic get testUrl(): string {\r\n\t\tif (this.activeTab === 'androidMaps') {\r\n\t\t\treturn this.agent!.androidMapsUrl;\r\n\t\t} else if (this.activeTab === 'iosMaps') {\r\n\t\t\treturn this.agent!.iosMapsUrl;\r\n\t\t} else if (this.activeTab === 'androidWeb') {\r\n\t\t\treturn this.agent!.androidWebUrl;\r\n\t\t}\r\n\t\treturn '';\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"date-range-filter\"},[_c('button',{staticClass:\"date-range-filter__trigger button\",attrs:{\"disabled\":_vm.isReportLoading},on:{\"click\":_vm.toggleDateSelector}},[_c('div',[_c('font-awesome-icon',{staticClass:\"date-range-filter__trigger-icon\",attrs:{\"icon\":\"calendar-alt\"}})],1),_c('div',[_c('span',[_vm._v(_vm._s(_vm.selectedDateOption.label))])])]),(_vm.dateSelectorOpen)?_c('div',{directives:[{name:\"on-clickaway\",rawName:\"v-on-clickaway\",value:(_vm.cancel),expression:\"cancel\"}],staticClass:\"date-range-filter__dropdown\"},[_c('div',{staticClass:\"date-range-filter__dropdown-content\"},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-narrow date-range-filter__presets\"},[_c('div',_vm._l((_vm.dateOptions),function(date,index){return _c('div',{key:date.label,staticClass:\"date-range-filter__preset-container\"},[(_vm.shouldDisplayPresetDivider(index))?_c('hr'):_vm._e(),_c('a',{key:date.label,staticClass:\"date-range-filter__preset\",class:{ 'date-range-filter__preset--active': _vm.isActivePreset(date.label) },on:{\"click\":function($event){return _vm.setDateOption(date)}}},[_vm._v(_vm._s(date.label))])])}),0)]),_c('div',{staticClass:\"column is-flex is-flex-direction-column is-justify-content-space-between\"},[_c('div',{staticClass:\"date-range-filter__date-picker\"},[_c('vc-date-picker',{ref:\"calendar\",attrs:{\"is-range\":\"\",\"columns\":2,\"is-required\":\"\",\"model-config\":_vm.datePickerModelConfig,\"timezone\":\"UTC\",\"attributes\":_vm.datePickerAttributes,\"available-dates\":_vm.availableDates},on:{\"input\":_vm.handleDateChange},model:{value:(_vm.selectedDateRange),callback:function ($$v) {_vm.selectedDateRange=$$v},expression:\"selectedDateRange\"}})],1),_c('div',{staticClass:\"date-range-filter__actions\"},[_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":_vm.applySelection}},[_vm._v(\"Apply\")]),_c('n-button',{attrs:{\"variant\":\"primary--outline\"},on:{\"click\":_vm.cancel}},[_vm._v(\"Cancel\")])],1)],1)])])])]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import {Watch} from 'vue-property-decorator';\r\nimport {Getter} from 'vuex-class';\r\nimport {flowsReportApi} from '@/features/reports/services';\r\nimport BaseReport from '@/features/reports/components/flows/baseReport';\r\nimport {DateGrouping} from '@/features/reports/models';\r\n\r\nexport default abstract class BaseFlowReport extends BaseReport {\r\n\t@Getter public selectedFlowId!: string;\r\n\r\n\t@Watch('selectedFlowId')\r\n\tpublic async onFlowChange(newFlowId: string, previous: string) {\r\n\t\tif (newFlowId && newFlowId === previous) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tawait this.renderReportData();\r\n\t}\r\n\r\n\tpublic isReportCriterionValid(): boolean {\r\n\t\treturn !!this.selectedDateOption && !!this.selectedFlowId;\r\n\t}\r\n\r\n\tpublic loadReportData() {\r\n\t\tconst filterRange = this.selectedDateOption.getDateRange();\r\n\r\n\t\treturn flowsReportApi.get(this.currentWorkspace.id, {\r\n\t\t\ttype: this.reportId,\r\n\t\t\tflowId: this.getFlowIdForRequest(),\r\n\t\t\tstartDate: filterRange.start,\r\n\t\t\tendDate: filterRange.end,\r\n\t\t\tgrouping: this.dataPointGrouping()\r\n\t\t});\r\n\t}\r\n\r\n\tpublic dataPointGrouping(): DateGrouping {\r\n\t\treturn this.selectedDateOption.group;\r\n\t}\r\n\r\n\tpublic getFlowIdForRequest(): string {\r\n\t\treturn this.selectedFlowId;\r\n\t}\r\n}\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./JoinOperatorPicker.vue?vue&type=style&index=0&id=784bca99&prod&scoped=true&lang=scss\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\r\nimport { ConditionOperationType, PickerOption } from '../models/conditions';\r\nimport { ConditionViewModel } from '../models/conditionViewModel';\r\nimport { required } from 'vuelidate/lib/validators';\r\nimport { validationMixin } from 'vuelidate';\r\n\r\n@Component({\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tliveCondition: {\r\n\t\t\tvalue: { required }\r\n\t\t},\r\n\t}\r\n})\r\nexport default class ListCondition extends Vue {\r\n\t@Prop() public condition: ConditionViewModel;\r\n\t@Prop() public options: PickerOption[];\r\n\r\n\tpublic liveCondition: ConditionViewModel = {\r\n\t\tattribute: '',\r\n\t\toperation: '',\r\n\t\ttype: '',\r\n\t\tvalue: '',\r\n\t\tresult: true\r\n\t};\r\n\r\n\tpublic selectedItem: string = '';\r\n\r\n\tpublic mounted() {\r\n\t\tif (this.condition) {\r\n\t\t\tthis.liveCondition = {\r\n\t\t\t\tattribute: this.condition.attribute,\r\n\t\t\t\toperation: ConditionOperationType.Equals,\r\n\t\t\t\ttype: this.condition.type,\r\n\t\t\t\tvalue: this.condition.value,\r\n\t\t\t\tresult: this.condition.result,\r\n\t\t\t\tunit: this.condition.unit,\r\n\t\t\t\tinvalid: this.condition.invalid\r\n\t\t\t};\r\n\r\n\t\t\tif (this.liveCondition.invalid) {\r\n\t\t\t\tthis.$v.$touch();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tthis.selectedItem = this.getSelectedItemValue();\r\n\t\tthis.itemSelected();\r\n\t}\r\n\r\n\tpublic getSelectedItemValue() {\r\n\t\tif (!this.liveCondition || this.liveCondition.value.length === 0) {\r\n\t\t\treturn this.options[0].id;\r\n\t\t}\r\n\r\n\t\treturn this.liveCondition.value;\r\n\t}\r\n\r\n\tpublic itemSelected() {\r\n\t\tthis.liveCondition.value = this.selectedItem;\r\n\t\tthis.emitConditionChanged();\r\n\t}\r\n\r\n\tprivate emitConditionChanged() {\r\n\t\tthis.liveCondition.invalid = this.$v.$invalid;\r\n\t\tthis.$emit('changed', this.liveCondition);\r\n\t}\r\n\r\n\tprivate complete() {\r\n\t\tthis.liveCondition.invalid = this.$v.$invalid;\r\n\t\tthis.$emit('completed', this.liveCondition);\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./ConfirmationModal.vue?vue&type=template&id=46646ddc&scoped=true\"\nimport script from \"./ConfirmationModal.vue?vue&type=script&lang=ts\"\nexport * from \"./ConfirmationModal.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"46646ddc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('fieldset',[_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Webhook URL\")]),_c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"field has-addons\"},[_c('div',{staticClass:\"control is-expanded\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.webhookUrl),expression:\"webhookUrl\"}],staticClass:\"input\",attrs:{\"type\":\"text\",\"disabled\":\"\"},domProps:{\"value\":(_vm.webhookUrl)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.webhookUrl=$event.target.value}}})]),_c('p',{staticClass:\"control\"},[_c('button',{directives:[{name:\"clipboard\",rawName:\"v-clipboard:copy\",value:(_vm.webhookUrl),expression:\"webhookUrl\",arg:\"copy\"},{name:\"clipboard\",rawName:\"v-clipboard:success\",value:(_vm.onCopy),expression:\"onCopy\",arg:\"success\"}],staticClass:\"button is-info\"},[_c('span',{staticClass:\"icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"copy\"}})],1)])])])])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Username\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.username),expression:\"username\",modifiers:{\"trim\":true}}],staticClass:\"input\",class:{'is-danger': _vm.$v.username.$invalid && _vm.$v.username.$dirty },attrs:{\"type\":\"text\",\"placeholder\":\"Enter username here\",\"required\":\"\"},domProps:{\"value\":(_vm.username)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.username=$event.target.value.trim()},function($event){return _vm.$v.username.$touch()}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.username.$invalid && _vm.$v.username.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"The username is required\")]):_vm._e()])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Password\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.password),expression:\"password\",modifiers:{\"trim\":true}}],staticClass:\"input\",class:{'is-danger': _vm.$v.password.$invalid && _vm.$v.password.$dirty },attrs:{\"type\":\"password\",\"placeholder\":\"Enter password here\",\"required\":\"\"},domProps:{\"value\":(_vm.password)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.password=$event.target.value.trim()},function($event){return _vm.$v.password.$touch()}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.password.$invalid && _vm.$v.password.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"The password is required\")]):_vm._e()])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Mobile Virtual Number (MVN)\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.mobileVirtualNumber),expression:\"mobileVirtualNumber\",modifiers:{\"trim\":true}}],staticClass:\"input\",class:{'is-danger': _vm.$v.mobileVirtualNumber.$invalid && _vm.$v.mobileVirtualNumber.$dirty },attrs:{\"type\":\"text\",\"placeholder\":\"Enter MVN here\",\"required\":\"\"},domProps:{\"value\":(_vm.mobileVirtualNumber)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.mobileVirtualNumber=$event.target.value.trim()},function($event){return _vm.$v.mobileVirtualNumber.$touch()}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.mobileVirtualNumber.$invalid && !_vm.$v.mobileVirtualNumber.required && _vm.$v.mobileVirtualNumber.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"The MVN is required\")]):_vm._e(),(_vm.$v.mobileVirtualNumber.$invalid && _vm.$v.mobileVirtualNumber.required && _vm.$v.mobileVirtualNumber.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"The MVN must be numeric and a maximum of 15 digits long\")]):_vm._e()])]),_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\",\"disabled\":_vm.$v.$invalid,\"loading\":_vm.actionInProgress},on:{\"click\":function($event){return _vm.save()}}},[_vm._v(\"Submit\")]),_c('n-button',{attrs:{\"variant\":\"primary--outline\"},on:{\"click\":function($event){return _vm.cancel()}}},[_vm._v(\"Cancel\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"section content-container\"},[(_vm.isLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.isLoading)?_c('div',{staticClass:\"container is-fluid\"},[_c('div',{staticClass:\"island\"},[_c('nav',{staticClass:\"level\"},[_c('div',{staticClass:\"level-left\"}),_c('div',{staticClass:\"level-right\"},[_c('p',{staticClass:\"level-item\"},[_c('n-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":_vm.openInviteUserModal}},[_c('span',[_vm._v(\"Invite new teammate\")])])],1)])]),_c('table',{staticClass:\"table is-fullwidth\"},[_vm._m(0),_vm._l((_vm.users),function(user){return _c('tr',{key:user.id},[_c('td',[_vm._v(_vm._s(user.displayName))]),_c('td',[_vm._v(_vm._s(user.userId))]),_c('td',[_vm._v(_vm._s(_vm.formatDate(user.createdTimeUtc)))]),_c('td',[_c('span',{staticClass:\"tag\",class:_vm.getStatusClass(user.status)},[_vm._v(_vm._s(_vm.getStatus(user.status)))])]),_c('td',[_c('span',{staticClass:\"icon is-small\",on:{\"click\":function($event){return _vm.openRemoveUserModal(user)}}},[_c('font-awesome-icon',{attrs:{\"icon\":\"trash\"}})],1)])])})],2)])]):_vm._e(),(_vm.showRemoveUserModal)?_c('ConfirmationModal',{attrs:{\"confirmationTitle\":\"Remove teammate\",\"confirmationMessage\":_vm.getConfirmationMessage()},on:{\"confirm\":function($event){return _vm.removeUser()},\"cancel\":function($event){return _vm.closeRemoveUserModal()}}}):_vm._e(),(_vm.showInviteUserModal)?_c('InviteUser',{on:{\"close\":_vm.closeInviteUsersModal}}):_vm._e()],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('th',[_vm._v(\"Name\")]),_c('th',[_vm._v(\"Email\")]),_c('th',[_vm._v(\"Created\")]),_c('th',[_vm._v(\"Status\")]),_c('th')])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { Getter } from 'vuex-class';\r\nimport { required, maxLength, numeric } from 'vuelidate/lib/validators';\r\nimport { validationMixin } from 'vuelidate';\r\n\r\nimport { config } from '@/config/config';\r\nimport { PublishedApp } from '../shared/models';\r\nimport { btApi } from './services/btApi';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport Toast from '@/shared/services/toast';\r\nimport { BTInstalledApp, InstallBTRequest } from './models';\r\n\r\n@Component({\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tusername: { required },\r\n\t\tpassword: {required},\r\n\t\tmobileVirtualNumber: {required, maxLength: maxLength(15), numeric}\r\n\t}\r\n})\r\nexport default class BtSmsConfig extends Vue {\r\n\t@Getter public currentApp!: PublishedApp;\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\r\n\tpublic btApp: BTInstalledApp | null = null;\r\n\tpublic webhookUrl: string = `${config().btHost}/v1/webhook`;\r\n\tpublic username: string = '';\r\n\tpublic password: string = '';\r\n\tpublic mobileVirtualNumber: string = '';\r\n\r\n\tpublic actionInProgress: boolean = false;\r\n\r\n\tpublic created() {\r\n\t\tif (this.currentApp.isInstalled) {\r\n\t\t\tbtApi.getInstalledApp(this.currentWorkspace.id)\r\n\t\t\t\t.then(btApp => {\r\n\t\t\t\t\tthis.btApp = btApp;\r\n\r\n\t\t\t\t\tif (btApp) {\r\n\t\t\t\t\t\tthis.username = btApp.username;\r\n\t\t\t\t\t\tthis.password = btApp.password;\r\n\t\t\t\t\t\tthis.mobileVirtualNumber = btApp.mobileVirtualNumber;\r\n\t\t\t\t\t}\r\n\t\t\t\t}).catch(err => {\r\n\t\t\t\t\t// if it's not found, then we haven't installed the bt app fully, so let them fill in the form\r\n\t\t\t\t\tif (err.status !== 404) {\r\n\t\t\t\t\t\t// show error state...\r\n\t\t\t\t\t}\r\n\t\t\t\t}).finally(() => {\r\n\t\t\t\t\tthis.$emit('loaded');\r\n\t\t\t\t});\r\n\t\t} else {\r\n\t\t\tthis.$emit('loaded');\r\n\t\t}\r\n\t}\r\n\r\n\tpublic onCopy() {\r\n\t\tToast.showInfo('Copied to clipboard');\r\n\t}\r\n\r\n\tpublic save() {\r\n\t\tif (this.actionInProgress) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.actionInProgress = true;\r\n\r\n\t\tconst request = {\r\n\t\t\tinstallId: this.currentApp.installedAppId,\r\n\t\t\tworkspaceId: this.currentWorkspace.id,\r\n\t\t\tusername: this.username,\r\n\t\t\tpassword: this.password,\r\n\t\t\tmobileVirtualNumber: this.mobileVirtualNumber\r\n\t\t} as InstallBTRequest;\r\n\r\n\t\tbtApi.install(request)\r\n\t\t\t.then(() => this.$emit('configSaved'))\r\n\t\t\t.catch((err) => Toast.showError(err.message))\r\n\t\t\t.finally(() => this.actionInProgress = false);\r\n\t}\r\n\r\n\tpublic cancel() {\r\n\t\tthis.$router.push({ name: 'apps' });\r\n\t}\r\n\r\n}\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VariablePicker.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VariablePicker.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ChannelIdentityPicker.vue?vue&type=template&id=c963e66a&scoped=true\"\nimport script from \"./ChannelIdentityPicker.vue?vue&type=script&lang=ts\"\nexport * from \"./ChannelIdentityPicker.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ChannelIdentityPicker.vue?vue&type=style&index=0&id=c963e66a&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c963e66a\",\n null\n \n)\n\nexport default component.exports","import { ApiError } from '@/shared/services/baseApiClient';\r\nimport { appsApi } from '@/features/apps/shared/services/apps';\r\nimport { InstallAppViewModel } from '@/features/apps/shared/models';\r\nimport { webAssistantApi } from './webAssistant';\r\nimport { WebAssistantViewModel } from '../models/webAssistantViewModel';\r\nimport { InstallWebAssistantViewModel } from '../models/request/installWebAssistantViewModel';\r\nimport { InstalledAppViewModel } from '../models/response/installedAppViewModel';\r\n\r\nclass WebAssistantAppService {\r\n\t// installs the 'WebAssistant' domain app\r\n\t// and the 'Apps' domain app if it doesn't exist already\r\n\tpublic fullInstall(workspaceId: string, workspaceName: string, defaultViewModel: WebAssistantViewModel): Promise {\r\n\r\n\t\tconst installedAppId$ = this.getInstalledAppId(workspaceId, 'webassistant');\r\n\r\n\t\tconst identityVerificationSecret$ = this.generateIdentityVerificationSecret();\r\n\r\n\t\treturn Promise.all([installedAppId$, identityVerificationSecret$])\r\n\t\t\t.then((values) => {\r\n\t\t\t\tconst installedAppId = values[0];\r\n\t\t\t\tconst identityVerificationSecret = values[1];\r\n\t\t\t\treturn this.configureWebAssistant(workspaceId, workspaceName, installedAppId, identityVerificationSecret, defaultViewModel);\r\n\t\t\t});\r\n\t}\r\n\r\n\tprivate configureWebAssistant(\r\n\t\tworkspaceId: string,\r\n\t\tworkspaceName: string,\r\n\t\tinstalledAppId: string,\r\n\t\tidentityVerificationSecret: string,\r\n\t\tdefaultViewModel: WebAssistantViewModel\r\n\t) {\r\n\t\tconst config = defaultViewModel as InstallWebAssistantViewModel;\r\n\t\tconfig.installId = installedAppId;\r\n\t\tconfig.workspaceId = workspaceId;\r\n\t\tconfig.identityVerificationSecret = identityVerificationSecret;\r\n\t\treturn webAssistantApi.installWebAssistant(config);\r\n\t}\r\n\r\n\tprivate generateIdentityVerificationSecret() {\r\n\t\tconst array = new Int32Array(32);\r\n\t\tcrypto.getRandomValues(array);\r\n\t\treturn crypto.subtle.digest('SHA-256', array).then(hash => {\r\n\t\t\treturn this.toBase64Url(hash);\r\n\t\t});\r\n\t}\r\n\r\n\tprivate toBase64Url(buffer: any) {\r\n\t\tlet binary = '';\r\n\t\tconst bytes = new Uint8Array( buffer );\r\n\t\tconst len = bytes.byteLength;\r\n\t\tfor (let i = 0; i < len; i++) {\r\n\t\t\tbinary += String.fromCharCode( bytes[ i ] );\r\n\t\t}\r\n\t\tconst encoded = window.btoa( binary );\r\n\t\treturn encoded\r\n\t\t\t.replace(/=+$/, '') // trim =\r\n\t\t\t.replace(/\\+/g, '-') // replace +\r\n\t\t\t.replace(/\\//g, '_'); // replace /\r\n\t}\r\n\r\n\t/** Gets the installed app, or creates it if it doesn't exist */\r\n\tprivate getInstalledAppId(workspaceId: string, appId: string): Promise {\r\n\t\treturn appsApi.getInstalledApp(workspaceId, appId)\r\n\t\t\t.then(app => {\r\n\t\t\t\t// app exists, return its id\r\n\t\t\t\treturn app.installedAppId;\r\n\t\t\t})\r\n\t\t\t.catch((error: ApiError) => {\r\n\t\t\t\tif (error.status === 404) {\r\n\t\t\t\t\t// app does not exist, we'll create it\r\n\t\t\t\t\treturn this.installInstalledApp(workspaceId, appId)\r\n\t\t\t\t\t\t.then(app => {\r\n\t\t\t\t\t\t\treturn app.installedAppId;\r\n\t\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\t// anything other than a 404 is unexpected\r\n\t\t\t\tthrow new Error(`Encountered unexpected error: Http Status ${error.status}`);\r\n\t\t\t});\r\n\t}\r\n\r\n\tprivate installInstalledApp(workspaceId: string, appId: string) {\r\n\t\tconst installRequest = { appId, published: true } as InstallAppViewModel;\r\n\t\treturn appsApi.install(workspaceId, installRequest);\r\n\t}\r\n}\r\n\r\nexport const webAssistantAppService = new WebAssistantAppService();\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"chart-error\"},[_c('NoDataIcon',{staticClass:\"error-icon\"}),_c('div',{staticClass:\"error-text\"},[_vm._v(\"No data to display\")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Module } from 'vuex';\r\nimport { getters } from './getters';\r\nimport { actions } from './actions';\r\nimport { mutations } from './mutations';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { PublishedApp } from '@/features/apps/shared/models';\r\n\r\nexport interface AppState {\r\n\tworkspaces: WorkspaceViewModel[];\r\n\tcurrentWorkspace: WorkspaceViewModel;\r\n\tcurrentApp: PublishedApp | null;\r\n\tinstalledApps: string[];\r\n\terror: string;\r\n}\r\n\r\n// initial state\r\nexport const appState: AppState = {\r\n\tworkspaces: [],\r\n\tcurrentWorkspace: {\r\n\t\tid: '',\r\n\t\tname: '',\r\n\t\tfeatures: {},\r\n\t\tusageLimits: {}\r\n\t},\r\n\tcurrentApp: null,\r\n\tinstalledApps: [],\r\n\terror: ''\r\n};\r\n\r\nexport const app: Module = {\r\n\tnamespaced: false,\r\n\tstate: appState,\r\n\tgetters,\r\n\tactions,\r\n\tmutations\r\n};\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.icon,{tag:\"component\"})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PathPicker.vue?vue&type=style&index=0&id=3cac42c6&prod&scoped=true&lang=scss\"","import { api } from '@/shared/services/baseApiClient';\r\nimport { QueryStringBuilder } from '@/shared/services/queryStringBuilder';\r\nimport { Data } from '@/features/reports/models';\r\nimport { config } from '@/config/config';\r\nimport urljoin from 'url-join';\r\n\r\nexport interface UsageReportsRequest {\r\n\tstartDate: Date;\r\n\tendDate: Date;\r\n}\r\n\r\nexport interface UsageReportsData {\r\n\tproactiveTriggersTrendReport: Data;\r\n\tbillableConversationsTrendReport: Data;\r\n\tchannelMessagesTrendReport: Data;\r\n}\r\n\r\nclass UsageReportsApi {\r\n\tprivate readonly version = 'v1';\r\n\r\n\tpublic loadData(workspaceId: string, request: UsageReportsRequest): Promise {\r\n\t\tconst query = new QueryStringBuilder()\r\n\t\t\t.add('startDate', request.startDate.toISOString())\r\n\t\t\t.add('endDate', request.endDate.toISOString())\r\n\t\t\t.build();\r\n\r\n\t\treturn api.send('GET', urljoin(config().usageHost, this.version, 'workspaces', workspaceId, `reports`) + query);\r\n\t}\r\n}\r\n\r\nexport const usageReportsApi = new UsageReportsApi();\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PhonePreview.vue?vue&type=style&index=0&id=8fa67a9e&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Decision.vue?vue&type=style&index=0&id=09904f3a&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('DropDownMenu',{staticClass:\"contact-type-dropdown\",attrs:{\"drop-down-icon\":\"none\",\"disabled\":_vm.disabled},on:{\"open\":_vm.setActive},scopedSlots:_vm._u([{key:\"trigger\",fn:function(){return [_c('button',{staticClass:\"button\",class:{ 'dropdown-active': _vm.active },attrs:{\"disabled\":_vm.disabled}},[_c('div',{staticClass:\"selected-type-label\"},[_c('div',{staticClass:\"contacts-icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"user-friends\"}})],1),_c('div',{staticClass:\"selected-type-text\"},[_vm._v(\"\\r\\n\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.getFormattedType(_vm.selectedType))+\"\\r\\n\\t\\t\\t\\t\\t\")])])])]},proxy:true}])},[_c('div',{staticClass:\"scrollable-item-list\"},_vm._l((_vm.getContactTypes()),function(contactType){return _c('a',{key:contactType,staticClass:\"dropdown-item\",attrs:{\"id\":'contact-type-item-' + contactType},on:{\"click\":function($event){return _vm.selectType(contactType)}}},[_vm._v(\"\\r\\n\\t\\t\\t\\t\"+_vm._s(_vm.getFormattedType(contactType))+\"\\r\\n\\t\\t\\t\")])}),0)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./Apps.vue?vue&type=template&id=00e0eb6a&scoped=true\"\nimport script from \"./Apps.vue?vue&type=script&lang=ts\"\nexport * from \"./Apps.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Apps.vue?vue&type=style&index=0&id=00e0eb6a&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"00e0eb6a\",\n null\n \n)\n\nexport default component.exports","export class QueryStringBuilder {\r\n\tprivate queryString: string[] = [];\r\n\r\n\tpublic add(key: string, value: string | number | undefined) {\r\n\t\tif (value) {\r\n\t\t\tthis.queryString.push(`${key}=${value}`);\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\tpublic build() {\r\n\t\tif (!this.queryString.length) {\r\n\t\t\treturn '';\r\n\t\t}\r\n\r\n\t\treturn `?${this.queryString.join('&')}`;\r\n\t}\r\n}\r\n","export const DELETE_PATH = 'DELETE_PATH';\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleBmEditAgent.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleBmEditAgent.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"webassistant-preview-container\"},[_c('div',{staticClass:\"webassistant-preview-root\"},[_c('div',{staticClass:\"wa-container\"},[_c('div',{staticClass:\"wa-chatbox\"},[_c('transition',{attrs:{\"name\":\"fade-shadow\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isOpen),expression:\"isOpen\"}],staticClass:\"wa-shadow\"})]),_c('transition',{attrs:{\"name\":\"fade\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isOpen),expression:\"isOpen\"}],staticClass:\"chat-container notFullscreen\",class:{ 'chat-container__static': _vm.disableInteraction }},[_c('HomeScreenPreview',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.activeView === 'homescreen'),expression:\"activeView === 'homescreen'\"}],attrs:{\"brandColour\":_vm.brandColour,\"actionColour\":_vm.actionColour,\"homescreenImageUrl\":_vm.homescreenImageUrl,\"greetingText\":_vm.greetingText,\"introductionText\":_vm.introductionText,\"typical-response-time\":_vm.typicalResponseTimeString,\"homescreenApps\":_vm.homescreenApps}}),_c('ConversationPreview',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.activeView === 'conversation'),expression:\"activeView === 'conversation'\"}],attrs:{\"brand-colour\":_vm.brandColour,\"outboundMessageColour\":_vm.outboundMessageColour,\"action-colour\":_vm.actionColour,\"header-text\":_vm.headerText,\"messages\":_vm.messages,\"typical-response-time\":_vm.typicalResponseTimeString,\"readonly-apps\":_vm.readonlyApps},on:{\"load\":function ($state) { return _vm.$emit('load', $state); },\"sendQuickReply\":function (quickReply) { return _vm.$emit('sendQuickReply', quickReply); },\"messageSend\":function (message) { return _vm.$emit('messageSend', message); },\"conversationRead\":function($event){return _vm.$emit('conversationRead')},\"typingStart\":function($event){return _vm.$emit('typingStart')},\"typingStop\":function($event){return _vm.$emit('typingStop')}}})],1)])],1),(_vm.displayLauncher)?_c('WebAssistantLauncher',{attrs:{\"backgroundColour\":_vm.brandColour,\"iconColour\":_vm.getContrastingBrandColour(),\"isOpen\":_vm.isOpen},on:{\"buttonClick\":function($event){return _vm.$emit('launcherButtonClick')}}}):_vm._e()],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IntentsReports.vue?vue&type=style&index=0&id=2937a7ee&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmailTemplate.vue?vue&type=style&index=0&id=0b747356&prod&scoped=true&lang=scss\"","export const DELETE_STATE = 'DELETE_STATE';\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"material-design-icon\"},[_c('svg',{staticClass:\"material-design-icon__svg\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 24 24\",\"width\":\"18px\",\"height\":\"18px\"}},[_c('path',{attrs:{\"d\":\"M0 0h24v24H0V0z\",\"fill\":\"none\"}}),_c('path',{attrs:{\"d\":\"M12 12c1.65 0 3-1.35 3-3s-1.35-3-3-3-3 1.35-3 3 1.35 3 3 3zm0-4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm6 8.58c0-2.5-3.97-3.58-6-3.58s-6 1.08-6 3.58V18h12v-1.42zM8.48 16c.74-.51 2.23-1 3.52-1s2.78.49 3.52 1H8.48zM19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z\"}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Module } from 'vuex';\r\nimport { actions } from './actions';\r\nimport { getters } from './getters';\r\nimport { mutations } from './mutations';\r\nimport { AppState } from '../app';\r\nimport {ChannelIdentityViewModel} from '@/messaging/models/channelIdentityViewModel';\r\n\r\nexport interface ChannelIdentitiesState {\r\n\tchannelIdentities: ChannelIdentityViewModel[];\r\n}\r\n\r\n// initial state\r\nexport const channelIdentitiesState: ChannelIdentitiesState = {\r\n\tchannelIdentities: []\r\n};\r\n\r\nexport const channelIdentities: Module = {\r\n\tnamespaced: false,\r\n\tstate: channelIdentitiesState,\r\n\tactions,\r\n\tmutations,\r\n\tgetters\r\n};\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {Component, Vue, Prop} from 'vue-property-decorator';\nimport {Route} from 'vue-router';\nimport FlowReportFilters from '@/features/reports/components/flows/FlowReportFilters.vue';\nimport DateRangeFilter from '@/features/reports/components/DateRangeFilter.vue';\nimport ReportDownloader from '@/features/reports/components/ReportDownloader.vue';\nimport UsageDateRangeFilter from '@/features/reports/components/usage/UsageDateRangeFilter.vue';\n\n@Component({\n\tcomponents: {\n\t\tFlowReportFilters,\n\t\tDateRangeFilter,\n\t\tUsageDateRangeFilter,\n\t\tReportDownloader\n\t}\n})\nexport default class ReportFilters extends Vue {\n\t@Prop() public activeRoute: Route;\n\n\tpublic get isFlowReportDisplayed() {\n\t\treturn this.activeRoute && this.activeRoute.name === 'reports-flows';\n\t}\n\n\tpublic get isIntentsReportDisplayed() {\n\t\treturn this.activeRoute && this.activeRoute.name === 'reports-intents';\n\t}\n\n\tpublic get isUsageReportDisplayed() {\n\t\treturn this.activeRoute && this.activeRoute.name === 'reports-usage';\n\t}\n}\n","import { config } from '@/config/config';\r\nimport { api } from '@/shared/services/baseApiClient';\r\nimport { QueryStringBuilder } from '@/shared/services/queryStringBuilder';\r\nimport urljoin from 'url-join';\r\nimport { Data, DateGrouping } from '../models';\r\n\r\nexport interface MessagingReportsRequest {\r\n\tstartDate: Date;\r\n\tendDate: Date;\r\n\tgrouping: DateGrouping;\r\n}\r\n\r\nexport interface MessagingReportsData {\r\n\tnewContactsTrendReport: Data;\r\n\tnewConversationsTrendReport: Data;\r\n}\r\n\r\nclass MessagingReportsApi {\r\n\tprivate readonly version = 'v1';\r\n\tpublic loadReportData(workspaceId: string, request: MessagingReportsRequest): Promise {\r\n\t\tconst query = new QueryStringBuilder()\r\n\t\t\t.add('startDate', request.startDate.toISOString())\r\n\t\t\t.add('endDate', request.endDate.toISOString())\r\n\t\t\t.add('grouping', request.grouping)\r\n\t\t\t.build();\r\n\r\n\t\treturn api.send('GET', urljoin(config().messagingHost, this.version, workspaceId, `reports`) + query);\r\n\t}\r\n}\r\n\r\nexport const messagingReportsApi = new MessagingReportsApi();\r\n","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VariablePicker.vue?vue&type=style&index=0&id=54b55d48&prod&scoped=true&lang=scss\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./messengerConfig.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./messengerConfig.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AppUninstallNotAllowedModal.vue?vue&type=template&id=b91d626c\"\nimport script from \"./AppUninstallNotAllowedModal.vue?vue&type=script&lang=ts\"\nexport * from \"./AppUninstallNotAllowedModal.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import {api} from '@/shared/services/baseApiClient';\r\nimport urljoin from 'url-join';\r\nimport WorkspaceViewModel from './models/workspaceViewModel';\r\nimport {config} from '@/config/config';\r\nimport {UpdateWorkspaceViewModel} from './models/request/updateWorkspaceViewModel';\r\nimport {InviteUserViewModel} from '@/workspaces/models/request/inviteUserViewModel';\r\nimport {UserViewModel} from '@/workspaces/models/userViewModel';\r\nimport {RevokeUserViewModel} from '@/workspaces/models/request/revokeUserViewModel';\r\nimport axios, {AxiosPromise} from 'axios';\r\nimport {ValidateInviteTokenViewModel} from '@/workspaces/models/response/validateInviteTokenViewModel';\r\nimport {RegisterUserViewModel} from '@/workspaces/models/request/registerUserViewModel';\r\n\r\nclass WorkspacesApi {\r\n\tprivate version = 'v1';\r\n\r\n\tpublic loadAll(): Promise {\r\n\t\tconst url = urljoin(config().workspacesHost, this.version, 'workspaces');\r\n\t\treturn api.send('GET', url);\r\n\t}\r\n\r\n\tpublic getById(id: string): Promise {\r\n\t\tconst url = urljoin(config().workspacesHost, this.version, 'workspaces', id);\r\n\t\treturn api.send('GET', url);\r\n\t}\r\n\r\n\tpublic async update(workspaceId: string, request: UpdateWorkspaceViewModel): Promise {\r\n\t\tconst url = urljoin(config().workspacesHost, this.version, 'workspaces', workspaceId);\r\n\t\treturn await api.send('PUT', url, request);\r\n\t}\r\n\r\n\tpublic inviteUsers(emails: string[], workspaceId: string) {\r\n\t\tconst inviteUserModel: InviteUserViewModel = {\r\n\t\t\temails,\r\n\t\t\tisPlatformAdmin: false,\r\n\t\t\tworkspaceId\r\n\t\t};\r\n\r\n\t\tconst url = urljoin(config().workspacesHost, this.version, '/users/invite');\r\n\t\treturn api.send('POST', url, inviteUserModel);\r\n\t}\r\n\r\n\tpublic getAllUsersForWorkspace(workspaceId: string): Promise {\r\n\t\tconst url = urljoin(config().workspacesHost, this.version, '/users', `?workspaceid=${workspaceId}`);\r\n\t\treturn api.send('GET', url);\r\n\t}\r\n\r\n\tpublic revokeUser(id: string, workspaceId: string): Promise {\r\n\r\n\t\tconst removeUserModel: RevokeUserViewModel = {\r\n\t\t\tuserId: id,\r\n\t\t\tworkspaceId,\r\n\t\t\tisPlatformAdmin: false\r\n\t\t};\r\n\r\n\t\tconst url = urljoin(config().workspacesHost, this.version, '/users/revoke');\r\n\t\treturn api.send('POST', url, removeUserModel);\r\n\t}\r\n\r\n\tpublic async validateRegistrationToken(token: string): Promise {\r\n\t\tconst url = urljoin(config().workspacesHost, this.version, '/users/invite/status');\r\n\t\tconst response = await axios.post(url, token);\r\n\t\treturn response.data;\r\n\t}\r\n\r\n\tpublic registerUser(user: RegisterUserViewModel): AxiosPromise {\r\n\t\tconst url = urljoin(config().workspacesHost, this.version, '/users/register');\r\n\t\treturn axios.post( url, user);\r\n\t}\r\n\r\n\tpublic async createUserTokenForConnect(): Promise {\r\n\t\tconst url = urljoin(config().workspacesHost, this.version, '/tokens/web-assistant');\r\n\t\treturn await api.send('POST', url);\r\n\t}\r\n}\r\n\r\n\r\nexport const workspacesApi = new WorkspacesApi();\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UsageDateRangeFilter.vue?vue&type=style&index=0&id=8e94ceb0&prod&lang=scss&scoped=true\"","class EmailTokenPlaceholders {\r\n\tpublic getSenderNamePlaceholder() {\r\n\t\treturn 'Jane Bloggs';\r\n\t}\r\n\r\n\tpublic getContentPlaceholder() {\r\n\t\tlet messages = '';\r\n\t\tmessages += this.contentPlaceholderMessage('Your appointment is next Friday');\r\n\t\tmessages += this.contentPlaceholderMessage('Is that going to be okay?');\r\n\t\treturn this.contentPlaceholderContainer(messages);\r\n\t}\r\n\r\n\tprivate contentPlaceholderContainer(messagesHtml: string) {\r\n\t\treturn `
${messagesHtml}
`;\r\n\t}\r\n\r\n\tprivate contentPlaceholderMessage(messageText: string) {\r\n\t\treturn `
${messageText}
`;\r\n\t}\r\n}\r\n\r\nexport const emailTokenPlaceholders = new EmailTokenPlaceholders();\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConditionGroupBuilder.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConditionGroupBuilder.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ConditionConfigurator.vue?vue&type=template&id=d3aa30f0&scoped=true\"\nimport script from \"./ConditionConfigurator.vue?vue&type=script&lang=ts\"\nexport * from \"./ConditionConfigurator.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ConditionConfigurator.vue?vue&type=style&index=0&id=d3aa30f0&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d3aa30f0\",\n null\n \n)\n\nexport default component.exports","import { MutationTree } from 'vuex';\r\nimport {AttributesState} from '.';\r\nimport {ADD_TO_CONTACT_ATTRIBUTE_CACHE, SET_CONTACT_ATTRIBUTES, UPDATE_CONTACT_ATTRIBUTE_IN_CACHE, ARCHIVE_CONTACT_ATTRIBUTE_IN_CACHE} from '@/store/attributes/mutationTypes';\r\nimport {ContactAttributeViewModel} from '@/messaging/models/contactAttributeViewModel';\r\n\r\nexport const mutations: MutationTree = {\r\n\t[SET_CONTACT_ATTRIBUTES](state, attributes: ContactAttributeViewModel[]) {\r\n\t\tstate.contactAttributes = attributes;\r\n\t},\r\n\r\n\t[ADD_TO_CONTACT_ATTRIBUTE_CACHE](state, newAttribute: ContactAttributeViewModel) {\r\n\t\tstate.contactAttributes.push(newAttribute);\r\n\r\n\t\tconst systemAttributes = state.contactAttributes.filter(att => att.system);\r\n\t\tconst customAttributesOrderedByName = state.contactAttributes.filter(att => !att.system).sort((a, b) => a.name.localeCompare(b.name));\r\n\t\tstate.contactAttributes = [...systemAttributes, ...customAttributesOrderedByName];\r\n\t},\r\n\r\n\t[UPDATE_CONTACT_ATTRIBUTE_IN_CACHE](state, updateAttribute: ContactAttributeViewModel) {\r\n\t\tconst attributeInCache = state.contactAttributes.find(att => att.id === updateAttribute.id) as ContactAttributeViewModel;\r\n\t\tattributeInCache.description = updateAttribute.description;\r\n\t\tattributeInCache.name = updateAttribute.name;\r\n\t},\r\n\r\n\t[ARCHIVE_CONTACT_ATTRIBUTE_IN_CACHE](state, attributeId: string) {\r\n\t\tconst attributeInCache = state.contactAttributes.find(att => att.id === attributeId) as ContactAttributeViewModel;\r\n\t\tattributeInCache.archived = true;\r\n\t}\r\n};\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Component from 'vue-class-component';\r\nimport Vue from 'vue';\r\nimport Banner from '@/shared/components/Banner.vue';\r\nimport {BOT_STUDIO_ENABLED} from '@/store/app/featureTypes';\r\nimport {Getter} from 'vuex-class';\r\nimport UpgradeModal from '@/features/bots/components/UpgradeModal.vue';\r\n\r\n@Component({\r\n\tcomponents: { Banner, UpgradeModal }\r\n})\r\nexport default class UpgradeBanner extends Vue {\r\n\t@Getter public isWorkspaceFeatureEnabled!: (key: string, defaultValue?: boolean) => boolean;\r\n\tpublic upgradeModalOpen: boolean = false;\r\n\r\n\tpublic get botStudioEnabled() {\r\n\t\treturn this.isWorkspaceFeatureEnabled(BOT_STUDIO_ENABLED, true);\r\n\t}\r\n\r\n\tpublic closeUpgradeModal() {\r\n\t\tthis.upgradeModalOpen = false;\r\n\t}\r\n\r\n\tpublic openUpgradeModal() {\r\n\t\tthis.upgradeModalOpen = true;\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditPrivateApp.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditPrivateApp.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ChannelMessagesTrendChart.vue?vue&type=template&id=b26d9792&scoped=true\"\nimport script from \"./ChannelMessagesTrendChart.vue?vue&type=script&lang=ts\"\nexport * from \"./ChannelMessagesTrendChart.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ChannelMessagesTrendChart.vue?vue&type=style&index=0&id=b26d9792&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b26d9792\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppConfirmModal.vue?vue&type=style&index=0&id=5a436090&prod&lang=scss&scoped=true\"","import { render, staticRenderFns } from \"./TriggerBox.vue?vue&type=template&id=1d702ab2&scoped=true\"\nimport script from \"./TriggerBox.vue?vue&type=script&lang=ts\"\nexport * from \"./TriggerBox.vue?vue&type=script&lang=ts\"\nimport style0 from \"./TriggerBox.vue?vue&type=style&index=0&id=1d702ab2&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1d702ab2\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmailTemplate.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmailTemplate.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport DropDownMenu from '@/shared/components/dropDownMenu/DropDownMenu.vue';\r\nimport {ContactType} from '@/features/contacts/models/contactType';\r\n@Component({\r\n\tcomponents: {\r\n\t\tDropDownMenu\r\n\t}\r\n})\r\nexport default class ContactTypePicker extends Vue {\r\n\t@Prop({default: ContactType.Lead}) public value: ContactType;\r\n\t@Prop({default: false}) public disabled: boolean;\r\n\r\n\tpublic selectedType: ContactType = ContactType.User;\r\n\tpublic active: boolean = false;\r\n\r\n\tpublic mounted() {\r\n\t\tthis.selectedType = this.value;\r\n\t}\r\n\r\n\tpublic getContactTypes(): ContactType[] {\r\n\t\treturn [ContactType.Lead, ContactType.User];\r\n\t}\r\n\r\n\tpublic selectType(type: ContactType) {\r\n\t\tif (this.disabled) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (this.selectedType !== type) {\r\n\t\t\tthis.$emit('updated-type', type);\r\n\t\t}\r\n\t\tthis.selectedType = type;\r\n\t\tthis.active = false;\r\n\t}\r\n\r\n\tpublic getFormattedType(type: ContactType): string {\r\n\t\treturn `${type.charAt(0).toUpperCase()}${type.slice(1)}s`;\r\n\t}\r\n\r\n\tpublic setActive(isOpen: boolean) {\r\n\t\tif (this.disabled) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.active = isOpen;\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PageHeader.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PageHeader.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ConditionGroupBuilder.vue?vue&type=template&id=5c381ff7&scoped=true\"\nimport script from \"./ConditionGroupBuilder.vue?vue&type=script&lang=ts\"\nexport * from \"./ConditionGroupBuilder.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ConditionGroupBuilder.vue?vue&type=style&index=0&id=5c381ff7&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5c381ff7\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"browser-url-bar level is-mobile\"},[_c('n-button',{staticClass:\"refresh-button level-item is-narrow\",attrs:{\"variant\":\"ghost\"},on:{\"click\":_vm.refreshButtonClicked}},[_c('RefreshIcon',{staticClass:\"icon-1-3x\"})],1),_c('n-text-input',{staticClass:\"level-item\",attrs:{\"hideLabel\":true,\"label\":\"Current URL\"},on:{\"change\":_vm.urlChanged},model:{value:(_vm.url),callback:function ($$v) {_vm.url=$$v},expression:\"url\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CapableAppPicker.vue?vue&type=style&index=0&id=c238ff5c&prod&lang=scss&scoped=true\"","export { WebAssistantViewModel } from './webAssistantViewModel';\r\nexport { WebAssistantThemeViewModel } from './webAssistantThemeViewModel';\r\nexport { TypicalResponseTimeOptions } from './typicalResponseTimeOptions';\r\nexport { HomescreenAppViewModel } from './homescreenAppViewModel';\r\n\r\nexport { InstallWebAssistantViewModel } from './request/installWebAssistantViewModel';\r\nexport { UpdateWebAssistantViewModel } from './request/updateWebAssistantViewModel';\r\nexport { UninstallWebAssistantViewModel } from './request/uninstallWebAssistantViewModel';\r\nexport { AppInitViewModel } from './request/appInitViewModel';\r\n\r\nexport { HomescreenAppInitViewModel } from './response/homescreenAppInitViewModel';\r\nexport { ImageUploadViewModel } from './response/imageUploadViewModel';\r\nexport { InstalledAppViewModel } from './response/installedAppViewModel';\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container\"},[_c('input',{staticClass:\"image-input\",attrs:{\"type\":\"file\",\"id\":\"image-input\",\"accept\":_vm.accept,\"disabled\":_vm.disabled},on:{\"change\":_vm.imageSelected}}),_c('div',{staticClass:\"upload-state\"},[_c('div',{staticClass:\"image-preview\",style:({ width: _vm.previewWidth + 'px', height: _vm.previewHeight + 'px' })},[(_vm.imageUploaded)?_c('div',{staticClass:\"image-preview__image checkerboard\"},[_c('img',{attrs:{\"src\":_vm.imageUrl}})]):_vm._e(),(!_vm.imageUploaded)?_c('div',{staticClass:\"image-preview__placeholder\"},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm.previewWidth)+\"px x \"+_vm._s(_vm.previewHeight)+\"px\\n\\t\\t\\t\")]):_vm._e()])]),_c('div',{staticClass:\"upload-action\"},[(!_vm.imageUploaded)?_c('label',{staticClass:\"button is-primary\",class:{ 'is-loading': _vm.uploading },attrs:{\"for\":\"image-input\",\"disabled\":_vm.disabled}},[_vm._v(\"\\n\\t\\t\\tChoose file...\\n\\t\\t\")]):_vm._e(),(_vm.imageUploaded)?_c('div',{staticClass:\"selected-image-buttons\"},[_c('n-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.clearImage()}}},[_vm._v(\"Clear\")])],1):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import urljoin from 'url-join';\r\nimport { api } from '@/shared/services/baseApiClient';\r\nimport { config } from '@/config/config';\r\nimport { IAppApiUninstall } from '../../shared/services/appApiFactory';\r\nimport { InstallBTRequest, BTInstalledApp } from '../models';\r\nimport { UninstallAppRequest } from '../../shared/models';\r\n\r\nclass BtSmsApiService implements IAppApiUninstall {\r\n\tprivate version = 'v1';\r\n\r\n\tpublic install(\r\n\t\trequest: InstallBTRequest\r\n\t): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'POST',\r\n\t\t\turljoin(config().btHost, this.version, 'app', 'install'),\r\n\t\t\trequest\r\n\t\t);\r\n\t}\r\n\r\n\tpublic uninstall(\r\n\t\tworkspaceId: string,\r\n\t\tinstallId: string\r\n\t): Promise {\r\n\t\tconst request = {\r\n\t\t\tworkspaceId,\r\n\t\t\tinstallId\r\n\t\t} as UninstallAppRequest;\r\n\r\n\t\treturn api.send(\r\n\t\t\t'POST',\r\n\t\t\turljoin(config().btHost, this.version, 'app', 'uninstall'),\r\n\t\t\trequest);\r\n\t}\r\n\r\n\tpublic getInstalledApp(\r\n\t\tworkspaceId: string\r\n\t): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'GET',\r\n\t\t\turljoin(config().btHost, this.version, `app?workspaceid=${workspaceId}`)\r\n\t\t);\r\n\t}\r\n\r\n\tpublic canUninstall(): boolean {\r\n\t\treturn true;\r\n\t}\r\n\r\n\tpublic getUninstallNotAllowedMessage(): string {\r\n\t\treturn '';\r\n\t}\r\n}\r\n\r\nexport const btApi = new BtSmsApiService();\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('fieldset',[_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"App Name\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.app.name),expression:\"app.name\",modifiers:{\"trim\":true}}],staticClass:\"input\",class:{'is-danger': _vm.$v.app.name.$invalid && _vm.$v.app.name.$dirty },attrs:{\"type\":\"text\",\"placeholder\":\"Enter app name here\",\"required\":\"\"},domProps:{\"value\":(_vm.app.name)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.app, \"name\", $event.target.value.trim())},function($event){return _vm.$v.app.name.$touch()}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.app.name.$invalid && _vm.$v.app.name.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"The app name is required\")]):_vm._e()])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Capabilities\")]),_c('div',{staticClass:\"control\"},[_c('label',{staticClass:\"checkbox\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.app.capabilities.supportsBotAction),expression:\"app.capabilities.supportsBotAction\"}],attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.app.capabilities.supportsBotAction)?_vm._i(_vm.app.capabilities.supportsBotAction,null)>-1:(_vm.app.capabilities.supportsBotAction)},on:{\"change\":function($event){var $$a=_vm.app.capabilities.supportsBotAction,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.app.capabilities, \"supportsBotAction\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.app.capabilities, \"supportsBotAction\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.app.capabilities, \"supportsBotAction\", $$c)}}}}),_vm._v(\"\\n\\t\\t\\t\\tSupports bot action\\n\\t\\t\\t\\t\")])]),_c('div',{staticClass:\"control\"},[_c('label',{staticClass:\"checkbox\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.app.capabilities.supportsHomescreen),expression:\"app.capabilities.supportsHomescreen\"}],attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.app.capabilities.supportsHomescreen)?_vm._i(_vm.app.capabilities.supportsHomescreen,null)>-1:(_vm.app.capabilities.supportsHomescreen)},on:{\"change\":function($event){var $$a=_vm.app.capabilities.supportsHomescreen,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.app.capabilities, \"supportsHomescreen\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.app.capabilities, \"supportsHomescreen\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.app.capabilities, \"supportsHomescreen\", $$c)}}}}),_vm._v(\"\\n\\t\\t\\t\\tSupports homescreen\\n\\t\\t\\t\\t\")])]),_c('div',{staticClass:\"control\"},[_c('label',{staticClass:\"checkbox\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.app.capabilities.supportsWebhooks),expression:\"app.capabilities.supportsWebhooks\"}],attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.app.capabilities.supportsWebhooks)?_vm._i(_vm.app.capabilities.supportsWebhooks,null)>-1:(_vm.app.capabilities.supportsWebhooks)},on:{\"change\":function($event){var $$a=_vm.app.capabilities.supportsWebhooks,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.app.capabilities, \"supportsWebhooks\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.app.capabilities, \"supportsWebhooks\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.app.capabilities, \"supportsWebhooks\", $$c)}}}}),_vm._v(\"\\n\\t\\t\\t\\tSupports webhooks\\n\\t\\t\\t\\t\")])])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Config URL\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.app.workflowOptions.configUrl),expression:\"app.workflowOptions.configUrl\",modifiers:{\"trim\":true}}],staticClass:\"input\",class:{'is-danger': _vm.$v.app.workflowOptions.configUrl.$invalid && _vm.$v.app.workflowOptions.configUrl.$dirty },attrs:{\"type\":\"text\",\"placeholder\":\"Enter config URL here\",\"required\":\"\",\"disabled\":!_vm.supportsAppLifecycleHooks()},domProps:{\"value\":(_vm.app.workflowOptions.configUrl)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.app.workflowOptions, \"configUrl\", $event.target.value.trim())},function($event){return _vm.$v.app.workflowOptions.configUrl.$touch()}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.app.workflowOptions.configUrl.$invalid && _vm.$v.app.workflowOptions.configUrl.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Must be a valid URL\")]):_vm._e()])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Init URL\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.app.workflowOptions.initUrl),expression:\"app.workflowOptions.initUrl\",modifiers:{\"trim\":true}}],staticClass:\"input\",class:{'is-danger': _vm.$v.app.workflowOptions.initUrl.$invalid && _vm.$v.app.workflowOptions.initUrl.$dirty },attrs:{\"type\":\"text\",\"placeholder\":\"Enter init URL here\",\"required\":\"\",\"disabled\":!_vm.supportsAppLifecycleHooks()},domProps:{\"value\":(_vm.app.workflowOptions.initUrl)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.app.workflowOptions, \"initUrl\", $event.target.value.trim())},function($event){return _vm.$v.app.workflowOptions.initUrl.$touch()}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.app.workflowOptions.initUrl.$invalid && _vm.$v.app.workflowOptions.initUrl.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Must be a valid URL\")]):_vm._e()])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Submit URL\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.app.workflowOptions.submitUrl),expression:\"app.workflowOptions.submitUrl\",modifiers:{\"trim\":true}}],staticClass:\"input\",class:{'is-danger': _vm.$v.app.workflowOptions.submitUrl.$invalid && _vm.$v.app.workflowOptions.submitUrl.$dirty },attrs:{\"type\":\"text\",\"placeholder\":\"Enter submit URL here\",\"required\":\"\",\"disabled\":!_vm.supportsAppLifecycleHooks()},domProps:{\"value\":(_vm.app.workflowOptions.submitUrl)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.app.workflowOptions, \"submitUrl\", $event.target.value.trim())},function($event){return _vm.$v.app.workflowOptions.submitUrl.$touch()}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.app.workflowOptions.submitUrl.$invalid && _vm.$v.app.workflowOptions.submitUrl.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Must be a valid URL\")]):_vm._e()])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Webhook URL\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.app.workflowOptions.webhookUrl),expression:\"app.workflowOptions.webhookUrl\",modifiers:{\"trim\":true}}],staticClass:\"input\",class:{'is-danger': _vm.$v.app.workflowOptions.webhookUrl.$invalid && _vm.$v.app.workflowOptions.webhookUrl.$dirty },attrs:{\"type\":\"text\",\"placeholder\":\"Enter webhook URL here\",\"required\":\"\",\"disabled\":!_vm.app.capabilities.supportsWebhooks},domProps:{\"value\":(_vm.app.workflowOptions.webhookUrl)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.app.workflowOptions, \"webhookUrl\", $event.target.value.trim())},function($event){return _vm.$v.app.workflowOptions.webhookUrl.$touch()}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.app.workflowOptions.webhookUrl.$invalid && _vm.$v.app.workflowOptions.webhookUrl.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Must be a valid URL\")]):_vm._e()])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Verification Token\")]),_c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"field has-addons\"},[_c('div',{staticClass:\"control is-expanded\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.app.workflowOptions.verificationToken),expression:\"app.workflowOptions.verificationToken\"}],staticClass:\"input\",attrs:{\"type\":\"text\",\"disabled\":\"\"},domProps:{\"value\":(_vm.app.workflowOptions.verificationToken)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.app.workflowOptions, \"verificationToken\", $event.target.value)}}})]),_c('p',{staticClass:\"control\"},[_c('button',{directives:[{name:\"clipboard\",rawName:\"v-clipboard:copy\",value:(_vm.app.workflowOptions.verificationToken),expression:\"app.workflowOptions.verificationToken\",arg:\"copy\"},{name:\"clipboard\",rawName:\"v-clipboard:success\",value:(_vm.onCopy),expression:\"onCopy\",arg:\"success\"}],staticClass:\"button is-info\"},[_c('span',{staticClass:\"icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"copy\"}})],1)])])])])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"API Token\")]),_c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"field has-addons\"},[_c('div',{staticClass:\"control is-expanded\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.app.apiToken),expression:\"app.apiToken\"}],staticClass:\"input\",attrs:{\"type\":\"text\",\"disabled\":\"\"},domProps:{\"value\":(_vm.app.apiToken)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.app, \"apiToken\", $event.target.value)}}})]),_c('p',{staticClass:\"control\"},[_c('button',{directives:[{name:\"clipboard\",rawName:\"v-clipboard:copy\",value:(_vm.app.apiToken),expression:\"app.apiToken\",arg:\"copy\"},{name:\"clipboard\",rawName:\"v-clipboard:success\",value:(_vm.onCopy),expression:\"onCopy\",arg:\"success\"}],staticClass:\"button is-info\"},[_c('span',{staticClass:\"icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"copy\"}})],1)])])])])]),_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\",\"disabled\":_vm.$v.$invalid,\"loading\":_vm.actionInProgress},on:{\"click\":function($event){return _vm.save()}}},[_vm._v(\"Submit\")]),_c('n-button',{attrs:{\"variant\":\"primary--outline\"},on:{\"click\":function($event){return _vm.cancel()}}},[_vm._v(\"Cancel\")])],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class TitledSection extends Vue {\r\n\t@Prop({default: false}) public alignContentLeft: boolean;\r\n\t@Prop() public iconColour: string;\r\n}\r\n","import { render, staticRenderFns } from \"./AddNewVariableModal.vue?vue&type=template&id=bdd79d8c\"\nimport script from \"./AddNewVariableModal.vue?vue&type=script&lang=ts\"\nexport * from \"./AddNewVariableModal.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"app-overview\"},[_c('div',{staticClass:\"app-overview__description\"},[_c('p',[_vm._v(_vm._s(_vm.currentApp.longDescription))])]),(_vm.currentApp.images && _vm.currentApp.images.length > 0)?_c('div',{staticClass:\"app-overview__images-container\"},_vm._l((_vm.currentApp.images),function(image,index){return _c('div',{key:((_vm.currentApp.id) + \"-image-\" + index),staticClass:\"app-overview__image-container\"},[_c('img',{staticClass:\"app-overview__image\",attrs:{\"src\":image,\"alt\":((_vm.currentApp.name) + \" screenshot\")}})])}),0):_vm._e(),(_vm.currentApp.video)?_c('div',{staticClass:\"app-overview__video-container\"},[_c('iframe',{attrs:{\"src\":_vm.currentApp.video,\"title\":\"Video player\",\"frameborder\":\"0\",\"allowfullscreen\":\"\"}})]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { UtteranceViewModel } from '@/features/bots/models/intents/utteranceViewModel';\r\nimport shortid from 'shortid';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t}\r\n})\r\nexport default class UtteranceList extends Vue {\r\n\t@Prop() public value: UtteranceViewModel[];\r\n\t@Prop() public v: any;\r\n\t@Prop({default: 'utterance'}) public term: string;\r\n\t@Prop({default: false}) public isEditable: boolean;\r\n\r\n\tpublic utterances: UtteranceViewModel[] = [];\r\n\r\n\t@Watch('value', { immediate: false })\r\n\tpublic onValueChanged(value: UtteranceViewModel[]) {\r\n\t\tthis.utterances = value;\r\n\t}\r\n\r\n\tpublic mounted() {\r\n\t\tif (this.v && this.v.$reset) {\r\n\t\t\tthis.v.$reset();\r\n\t\t}\r\n\t\tthis.utterances = this.value;\r\n\t\tif (this.utterances.length === 0) {\r\n\t\t\tthis.addUtterance();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic addUtterance() {\r\n\t\tconst utteranceId = shortid.generate();\r\n\t\tthis.utterances.push({\r\n\t\t\tid: utteranceId,\r\n\t\t\ttext: ''\r\n\t\t});\r\n\r\n\t\tthis.$emit('input', this.utterances);\r\n\t\tthis.focusOnUtterance(utteranceId);\r\n\t}\r\n\r\n\tpublic deleteUtterance(id: string) {\r\n\t\tthis.v.$touch();\r\n\t\tthis.utterances = this.utterances.filter(u => u.id !== id);\r\n\t\tthis.$emit('input', this.utterances);\r\n\t}\r\n\r\n\tpublic utteranceChanged() {\r\n\t\tthis.$emit('input', this.utterances);\r\n\t}\r\n\r\n\tpublic moveToNextUtterance(fromUtteranceId: string) {\r\n\t\tconst currentIndex = this.utterances.findIndex(u => u.id === fromUtteranceId);\r\n\t\tconst nextIndex = currentIndex + 1;\r\n\t\tif (nextIndex >= this.utterances.length) {\r\n\t\t\tthis.addUtterance();\r\n\t\t} else {\r\n\t\t\tconst nextUtteranceId = this.utterances[nextIndex].id;\r\n\t\t\tthis.focusOnUtterance(nextUtteranceId);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getPlaceholderText() {\r\n\t\treturn `Enter your ${this.term}`;\r\n\t}\r\n\r\n\tprivate focusOnUtterance(utteranceId: string) {\r\n\t\tthis.$nextTick(() => {\r\n\t\t\tconst refId = 'input-' + utteranceId;\r\n\t\t\tconst inputField = (this.$refs[refId] as HTMLElement[]);\r\n\t\t\tif (inputField) {\r\n\t\t\t\tinputField[0].focus();\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n}\r\n\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page\"},[_vm._m(0),_c('section',{staticClass:\"section content-container\"},[(_vm.isLoading)?_c('LoadingSpinner'):_vm._e(),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isLoading),expression:\"!isLoading\"}],staticClass:\"container is-fluid\"},[_c('div',{staticClass:\"island\"},[_c('router-view',{on:{\"loaded\":function($event){return _vm.loaded()},\"loading\":function($event){return _vm.loading()}}})],1)])],1)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"section primary-header\"},[_c('div',{staticClass:\"container is-fluid\"},[_c('h1',{staticClass:\"title is-2\"},[_vm._v(\"Contacts\")]),_c('h2',{staticClass:\"subtitle\"},[_vm._v(\"View, filter, search, and segment your leads and users\")])])])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactConversationModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactConversationModal.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport PageHeader from '@/shared/components/pageHeader/PageHeader.vue';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { Action, Getter, Mutation } from 'vuex-class';\r\nimport Draggable from 'vuedraggable';\r\nimport { UpdateBotFlowsPriorityViewModel } from '@/features/bots/models/request/updateBotFlowsPriorityViewModel';\r\nimport { FlowListItemViewModel } from '@/features/bots/models/flowListItemViewModel';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport Modal from '@/shared/components/Modal.vue';\r\nimport { AvailableTriggers, FlowViewModel } from '@/features/bots/models/designer';\r\nimport Toast from '@/shared/services/toast';\r\nimport { exportFlowHelper } from '@/features/bots/services/exportFlow';\r\nimport DropDownMenu from '@/shared/components/dropDownMenu/DropDownMenu.vue';\r\nimport DragIcon from '@/shared/components/DragIcon.vue';\r\nimport HelpIcon from 'vue-material-design-icons/HelpCircleOutline.vue';\r\nimport CloneIcon from 'vue-material-design-icons/ContentCopy.vue';\r\nimport ExportIcon from 'vue-material-design-icons/Export.vue';\r\nimport DeleteIcon from 'vue-material-design-icons/TrashCanOutline.vue';\r\nimport { LOAD_FLOWS } from '@/store/bot-designer/actionTypes';\r\nimport AddFlowModal from '@/shared/components/AddFlowModal.vue';\r\nimport { flowsApi } from '@/features/bots/services/flows';\r\nimport appInsights from '@/shared/services/appInsights';\r\nimport { BOT_STUDIO_ENABLED, NLP_ENABLED } from '@/store/app/featureTypes';\r\nimport { SET_FLOWS } from '@/store/bot-designer/mutationTypes';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tModal,\r\n\t\tPageHeader,\r\n\t\tLoadingSpinner,\r\n\t\tDraggable,\r\n\t\tDropDownMenu,\r\n\t\tDragIcon,\r\n\t\tHelpIcon,\r\n\t\tCloneIcon,\r\n\t\tExportIcon,\r\n\t\tDeleteIcon,\r\n\t\tAddFlowModal\r\n\t}\r\n})\r\nexport default class BotFlows extends Vue {\r\n\tpublic loading: boolean = false;\r\n\tpublic showModal: boolean = false;\r\n\tpublic showDeleteModal: boolean = false;\r\n\tpublic flowName: string = '';\r\n\tpublic flowToDelete: FlowListItemViewModel;\r\n\tpublic botFlows: FlowListItemViewModel[] = [];\r\n\r\n\t@Getter public isWorkspaceFeatureEnabled!: (key: string) => boolean;\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Action(LOAD_FLOWS) public loadFlows: any;\r\n\t@Mutation(SET_FLOWS) public setFlows: (flows: FlowListItemViewModel[]) => void;\r\n\r\n\tpublic $refs: {\r\n\t\timportFlowButton: any\r\n\t};\r\n\r\n\tpublic flowPriorityTooltip = `Order your flows by priority.

\r\n\tIf multiple flows share the same trigger conditions, the one with the highest priority will be shown to visitors.

\r\n\tIf none of the flows are triggered, a bot task will respond instead.`;\r\n\r\n\tpublic async mounted() {\r\n\t\tawait this.getBotFlows();\r\n\t}\r\n\r\n\tpublic async updatePriorities() {\r\n\t\tthis.setPriorities();\r\n\t\tconst request = this.createUpdateFlowsPrioritiesRequest();\r\n\t\tconst updateBotFlows: UpdateBotFlowsPriorityViewModel = {\r\n\t\t\tflows: request\r\n\t\t};\r\n\t\tawait flowsApi.updateFlows(this.currentWorkspace.id, updateBotFlows);\r\n\t\tthis.setFlows(this.botFlows);\r\n\t}\r\n\r\n\r\n\tpublic addFlow() {\r\n\t\tthis.showModal = true;\r\n\t\tthis.flowName = '';\r\n\t}\r\n\r\n\tpublic chooseFlow(flow: FlowListItemViewModel, created = false) {\r\n\t\tthis.$router.push({ name: 'bots-flow-designer', params: { flowId: flow.id }, query: { created: created.toString() } });\r\n\t}\r\n\r\n\tpublic onFileChange(event: any) {\r\n\t\tappInsights.trackEvent({ name: 'Import flow clicked' }, { workspaceId: this.currentWorkspace.id });\r\n\t\tconst files = event.target.files;\r\n\t\tif (!files.length) {\r\n\t\t\tToast.showError('No file selected');\r\n\t\t\tthrow new Error('No file selected');\r\n\t\t}\r\n\t\tconst file = event.target.files[0];\r\n\t\tthis.handleFlowFile(file);\r\n\t}\r\n\r\n\tpublic handleFileLoad(event: any) {\r\n\t\ttry {\r\n\t\t\tconst botFlowAsJson = JSON.parse(event.target.result);\r\n\t\t\tthis.importFlow(this.currentWorkspace.id, botFlowAsJson);\r\n\t\t} catch (e) {\r\n\t\t\tToast.showError('The file must contain valid JSON');\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async deleteFlow(flow: FlowListItemViewModel) {\r\n\t\ttry {\r\n\t\t\tconst fullFlowDetails = await flowsApi.getFlow(this.currentWorkspace.id, flow.id);\r\n\t\t\tif (!fullFlowDetails) {\r\n\t\t\t\tToast.showError(`Unable to delete ${flow.name}`);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tif (this.isTransitionedTo(fullFlowDetails)) {\r\n\t\t\t\tToast.showError('Cannot delete a flow that is transitioned to by another flow or FAQ');\r\n\t\t\t} else {\r\n\t\t\t\tthis.flowName = '';\r\n\t\t\t\tthis.flowToDelete = flow;\r\n\t\t\t\tthis.showDeleteModal = true;\r\n\t\t\t}\r\n\t\t} catch {\r\n\t\t\tToast.showError(`Unable to delete ${flow.name}`);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async cloneFlow(flow: FlowListItemViewModel, index: number) {\r\n\t\ttry {\r\n\t\t\tappInsights.trackEvent({ name: 'Clone flow clicked' }, { workspaceId: this.currentWorkspace.id, flowId: flow.id });\r\n\t\t\tconst clonedFlow = await flowsApi.cloneFlow(this.currentWorkspace.id, flow.id);\r\n\t\t\tthis.insertInBotFlows(index + 1, clonedFlow);\r\n\t\t\tawait this.updatePriorities();\r\n\t\t\tToast.showSuccess('Successfully cloned flow');\r\n\t\t} catch {\r\n\t\t\tToast.showError('Error duplicating flow');\r\n\t\t}\r\n\t}\r\n\r\n\tpublic openFileSelector() {\r\n\t\tthis.$refs.importFlowButton.click();\r\n\t}\r\n\r\n\tpublic async deleteFlowConfirm() {\r\n\t\tappInsights.trackEvent({ name: 'Delete flow clicked' });\r\n\t\tthis.showDeleteModal = false;\r\n\t\ttry {\r\n\t\t\tawait flowsApi.deleteFlow(this.currentWorkspace.id, this.flowToDelete.id);\r\n\t\t\tthis.botFlows = this.botFlows.filter(botflow => botflow.id !== this.flowToDelete.id);\r\n\t\t\tthis.setFlows(this.botFlows);\r\n\t\t\tToast.showSuccess(`Successfully deleted ${this.flowToDelete.name}`);\r\n\t\t} catch (e) {\r\n\t\t\tToast.showError(`Unable to delete ${this.flowToDelete.name}`);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getTriggerDescription(flow: FlowListItemViewModel) {\r\n\t\tconst trigger = this.getTriggerItem(flow);\r\n\t\tif (!trigger) {\r\n\t\t\treturn 'None';\r\n\t\t}\r\n\t\treturn trigger.description;\r\n\t}\r\n\r\n\tpublic getTriggerIcon(flow: FlowListItemViewModel) {\r\n\t\tconst trigger = this.getTriggerItem(flow);\r\n\t\tif (!trigger) {\r\n\t\t\treturn '';\r\n\t\t}\r\n\t\treturn trigger.icon;\r\n\r\n\t}\r\n\r\n\tpublic async exportFlow(flow: FlowListItemViewModel) {\r\n\t\ttry {\r\n\t\t\tawait exportFlowHelper.exportFlow(this.currentWorkspace.id, flow.id);\r\n\t\t} catch (e) {\r\n\t\t\tToast.showError(`There was a problem exporting ${flow.name}`);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic calculatePercentage(value: number, total: number) {\r\n\t\tif (!total) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\treturn Math.round((value / total) * 100);\r\n\t}\r\n\r\n\tpublic get botStudioEnabled() {\r\n\t\treturn this.isWorkspaceFeatureEnabled(BOT_STUDIO_ENABLED);\r\n\t}\r\n\r\n\tprivate createUpdateFlowsPrioritiesRequest() {\r\n\t\treturn this.botFlows.map(flow => ({ id: flow.id, priority: flow.priority }));\r\n\t}\r\n\r\n\tprivate insertInBotFlows(index: number, flow: FlowListItemViewModel) {\r\n\t\tthis.botFlows.splice(index, 0, flow);\r\n\t}\r\n\r\n\tprivate getTriggerItem(flow: FlowListItemViewModel) {\r\n\t\tif (flow.triggers.length === 0) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t\treturn AvailableTriggers.get(flow.triggers[0]);\r\n\t}\r\n\r\n\tprivate handleFlowFile(file: any) {\r\n\t\tif (file.type === 'application/json') {\r\n\t\t\tconst reader = new FileReader();\r\n\t\t\treader.onload = this.handleFileLoad;\r\n\t\t\treader.readAsText(file);\r\n\t\t} else {\r\n\t\t\tToast.showError('File must be JSON');\r\n\t\t}\r\n\t}\r\n\r\n\r\n\tprivate async importFlow(botId: string, botFlow: string) {\r\n\t\ttry {\r\n\t\t\tconst importedFlow = await flowsApi.importFlow(botId, { flow: botFlow });\r\n\t\t\tthis.botFlows.push(importedFlow);\r\n\t\t\tthis.$router.push({ name: 'bots-flow-designer', params: { flowId: importedFlow.id } });\r\n\t\t\tToast.showSuccess('File imported successfully');\r\n\t\t} catch (e: any) {\r\n\t\t\tif (e.status === 409) {\r\n\t\t\t\tToast.showError(e.message);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tToast.showError('The Flow you imported is not valid');\r\n\t\t}\r\n\t}\r\n\r\n\tprivate setPriorities() {\r\n\t\tfor (let i = 0; i < this.botFlows.length; i++) {\r\n\t\t\tthis.botFlows[i].priority = this.botFlows.length - i;\r\n\t\t}\r\n\t}\r\n\r\n\tprivate async getBotFlows() {\r\n\t\tthis.loading = true;\r\n\t\ttry {\r\n\t\t\tconst botFlowDataPromise = this.loadFlows(true);\r\n\t\t\tconst botFlows: FlowListItemViewModel[] = await botFlowDataPromise;\r\n\t\t\tbotFlows.sort((first, second) => second.priority - first.priority);\r\n\t\t\tthis.botFlows = botFlows;\r\n\t\t} finally {\r\n\t\t\tthis.loading = false;\r\n\t\t}\r\n\t}\r\n\r\n\tprivate isTransitionedTo(fullFlowDetails: FlowViewModel) {\r\n\t\treturn this.hasFlowParent(fullFlowDetails) || this.hasAnswerParent(fullFlowDetails);\r\n\t}\r\n\r\n\tprivate hasFlowParent(fullFlowDetails: FlowViewModel) {\r\n\t\treturn fullFlowDetails.parentFlows.length > 0;\r\n\t}\r\n\r\n\tprivate hasAnswerParent(fullFlowDetails: FlowViewModel) {\r\n\t\treturn fullFlowDetails.parentAnswers.length > 0;\r\n\t}\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DoughnutChart.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DoughnutChart.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"material-design-icon\",attrs:{\"role\":\"img\"}},[_c('svg',{staticClass:\"material-design-icon__svg\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 384 512\"}},[_c('path',{attrs:{\"d\":\"M342.6 182.6C336.4 188.9 328.2 192 319.1 192s-16.38-3.125-22.62-9.375L224 109.3V432c0 44.13-35.89 80-80 80H32c-17.67 0-32-14.31-32-32s14.33-32 32-32h112C152.8 448 160 440.8 160 432V109.3L86.62 182.6c-12.5 12.5-32.75 12.5-45.25 0s-12.5-32.75 0-45.25l127.1-128c12.5-12.5 32.75-12.5 45.25 0l128 128C355.1 149.9 355.1 170.1 342.6 182.6z\"}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"appintegration-component\"},[_c('IslandBadge',{attrs:{\"type\":\"appintegration\"}}),_c('div',{staticClass:\"component-contents\"},[(_vm.isLoading)?_c('button',{staticClass:\"button is-text\",class:{'is-loading': _vm.isLoading}}):_vm._e(),(!_vm.isLoading && !_vm.card)?_c('div',[_vm._v(_vm._s(_vm.getSelectedAppDescription()))]):_vm._e(),(!_vm.isLoading && _vm.card)?_c('CardRenderer',{attrs:{\"colour\":_vm.actionColour,\"cards\":[_vm.card],\"location\":'embedded',\"readonly\":true}}):_vm._e(),(_vm.shouldShowEditButton())?_c('div',{staticClass:\"appintegration-component__edit\"},[_c('n-button',{attrs:{\"variant\":\"ghost\"},on:{\"click\":function($event){return _vm.openAppEditModal()}}},[_c('EditIcon'),_vm._v(\"Edit\")],1)],1):_vm._e()],1),(_vm.showModal)?_c('CapableAppModal',{attrs:{\"modalHeading\":'Bot Apps',\"capableApps\":_vm.capableApps,\"configRequest\":_vm.configRequest},on:{\"close\":_vm.close,\"completed\":_vm.renderAppPreview}}):_vm._e(),(_vm.showAppEditModal)?_c('ContentHighlightsEditModal',{attrs:{\"app-config\":_vm.value.appAction},on:{\"cancel\":function($event){_vm.showAppEditModal = false},\"save\":function (app) { return _vm.handleAppSave(app); }}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t}\r\n})\r\nexport default class AdditionalInformationWrapper extends Vue {\r\n\t@Prop() public color: string;\r\n\t@Prop() public textColor: string;\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('n-modal',{on:{\"cancel\":function($event){return _vm.$emit('cancel')}},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"modal-card-title\"},[_vm._v(\"Unable to uninstall app\")])]},proxy:true},{key:\"body\",fn:function(){return [_c('p',[_vm._v(_vm._s(_vm.message))]),_c('p',[_c('br'),_vm._v(\"Please contact support for assistance.\")])]},proxy:true},{key:\"buttons\",fn:function(){return [_c('n-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.$emit('cancel')}}},[_vm._v(\"\\n\\t\\t\\tCancel\\n\\t\\t\")])]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"trigger-box-wrapper\"},[_c('div',{directives:[{name:\"on-clickaway\",rawName:\"v-on-clickaway\",value:(_vm.hideTriggerConfig),expression:\"hideTriggerConfig\"}],staticClass:\"trigger-config\",on:{\"click\":function($event){return _vm.showTriggerConfig()}}},[_c('Triggers',{attrs:{\"conditions\":_vm.triggerConditions}}),(_vm.showConfig)?_c('AdditionalInformationWrapper',{attrs:{\"color\":\"#E6C300\",\"text-color\":\"#212529\"},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_c('div',{staticClass:\"trigger-box-section\"},[_c('h6',{staticClass:\"title is-6\"},[_c('strong',[_vm._v(\"Trigger\")])]),_c('h6',{staticClass:\"subtitle is-6\"},[_vm._v(\"Choose an action that will trigger the flow\")]),_c('div',{staticClass:\"trigger-options\"},_vm._l((_vm.availableTriggerTypes),function(option){return _c('div',{key:option.type,staticClass:\"trigger-option\",class:{'selected': _vm.isTriggerSelected(option.type) },attrs:{\"id\":option.type === 'unknown' ? 'unknown-intent-trigger' : null},on:{\"click\":function($event){return _vm.selectTriggerType(option.type)}}},[_c('div',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.bottom\",value:(_vm.getTooltipForTrigger(option.type)),expression:\"getTooltipForTrigger(option.type)\",modifiers:{\"bottom\":true}}]},[_c('span',{staticClass:\"icon is-medium trigger-option-icon\"},[(option.icon.startsWith('#'))?_c('svg',{staticClass:\"custom-icon\"},[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":(\"\" + (option.icon))}})]):_vm._e(),(!option.icon.startsWith('#'))?_c('font-awesome-icon',{attrs:{\"icon\":['far', option.icon],\"size\":\"2x\"}}):_vm._e()],1)]),_c('div',{staticClass:\"has-text-centered is-size-7 trigger-option-text\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(option.description)+\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\")])])}),0),(!_vm.triggerValidity.isValid)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.triggerValidity.message)+\"\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e(),_c('h6',{staticClass:\"subtitle is-6\"},[_vm._v(\"When these conditions are met\")]),_c('ConditionGroupBuilder',{attrs:{\"value\":_vm.triggerConditionList,\"manager\":_vm.triggerConditionsManager,\"context\":\"condition\"},on:{\"updated\":_vm.triggerConditionsUpdated}})],1),_c('div',{staticClass:\"trigger-box-section\"},[_c('h6',{staticClass:\"title is-6\"},[_c('strong',[_vm._v(\"Audience\")])]),_c('h6',{staticClass:\"subtitle is-6\"},[_vm._v(\"Select which contacts are sent the flow\")]),_c('ConditionGroupBuilder',{attrs:{\"value\":_vm.audienceConditionList,\"manager\":_vm.audienceConditionsManager,\"context\":\"condition\"},on:{\"updated\":_vm.audienceConditionsUpdated},scopedSlots:_vm._u([{key:\"before\",fn:function(){return [_c('MultiContactTypePicker',{staticClass:\"contact-type-picker\",attrs:{\"value\":_vm.contactTypes},on:{\"updated-type\":_vm.contactTypeUpdated}})]},proxy:true}],null,false,186728818)})],1),_c('div',{staticClass:\"trigger-box-section\"},[_c('h6',{staticClass:\"title is-6\"},[_c('strong',[_vm._v(\"Schedule\")])]),_c('h6',{staticClass:\"subtitle is-6\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tDecide when the flow should interact with your visitors\\n\\t\\t\\t\\t\\t\\t\\t\"),_c('span',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.top\",value:('Your default business hours are defined in workspace settings'),expression:\"'Your default business hours are defined in workspace settings'\",modifiers:{\"top\":true}}]},[_c('HelpIcon')],1)]),_c('TriggerScheduler',{attrs:{\"condition\":_vm.scheduleCondition,\"openingTimes\":_vm.openingTimes},on:{\"updated\":_vm.onScheduleUpdated}})],1)]},proxy:true}],null,false,410061816)}):_vm._e()],1),(!_vm.triggerValidity.isValid)?_c('div',{staticClass:\"invalid-warning\"},[_c('ErrorIcon',{staticClass:\"icon-1-3x\"})],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HomeScreenHeader.vue?vue&type=style&index=0&id=0fcc9d6a&prod&lang=scss&scoped=true\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport { Action, Getter } from 'vuex-class';\r\nimport PageHeader from '@/shared/components/pageHeader/PageHeader.vue';\r\nimport { ApiError } from '@/shared/services/baseApiClient';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport Toast from '@/shared/services/toast';\r\nimport TitledSection from '@/shared/components/TitledSection.vue';\r\nimport Banner from '@/shared/components/Banner.vue';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport { botsApi } from '../services/bots';\r\nimport { botAppSerivce } from '../services/botAppService';\r\nimport {\r\n\tBotActionAppViewModel,\r\n\tBotConfigurationViewModel,\r\n\tFollowUpActionType,\r\n\tFollowUpActionViewModel,\r\n} from '@/features/bots/models';\r\nimport CapableAppPicker from '@/shared/components/capableAppPicker/CapableAppPicker.vue';\r\nimport { HANDLE_SERIOUS_ERROR } from '@/store/app/actionTypes';\r\nimport TagsInput from '@/shared/components/TagsInput.vue';\r\nimport TriageIcon from '@/shared/components/TriageIcon.vue';\r\nimport { ConfiguredAppIntegration } from '../../apps/shared/models/configuredAppIntegration';\r\nimport { RuleViewModel } from '../models/ruleViewModel';\r\nimport RulesList from '@/features/bots/components/rules/RulesList.vue';\r\nimport { RuleConditionsManager } from '@/features/bots/components/rules/ruleConditionsManager';\r\nimport { ConditionDataType } from '@/shared/components/conditions/models/conditions';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tPageHeader,\r\n\t\tBanner,\r\n\t\tLoadingSpinner,\r\n\t\tTitledSection,\r\n\t\tTagsInput,\r\n\t\tCapableAppPicker,\r\n\t\tTriageIcon,\r\n\t\tRulesList,\r\n\t},\r\n})\r\nexport default class Tasks extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Action(HANDLE_SERIOUS_ERROR) public handleSeriousError: any;\r\n\r\n\tpublic botAppLoaded: boolean = false;\r\n\tpublic botAppInstallError: boolean = false;\r\n\r\n\tpublic updateInProgress: boolean = false;\r\n\tpublic reinstallInProgress: boolean = false;\r\n\tpublic enableInProgress: boolean = false;\r\n\r\n\tpublic viewModel: BotConfigurationViewModel = {\r\n\t\tdisabled: false,\r\n\t\tcaptureName: true,\r\n\t\tcaptureEmail: true,\r\n\t\tcaptureEnquiry: false,\r\n\t\tenquiryOptions: [],\r\n\t\trules: [],\r\n\t\tfollowUpActions: [],\r\n\t};\r\n\r\n\tpublic ruleConditionsManager: RuleConditionsManager = new RuleConditionsManager();\r\n\r\n\tpublic created() {\r\n\t\tif (!this.currentWorkspace) {\r\n\t\t\tthis.handleSeriousError('No workspace selected');\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.ruleConditionsManager.setContextualConditions([\r\n\t\t\t{\r\n\t\t\t\tid: 'flow.route',\r\n\t\t\t\ttitle: 'Enquiry Topic',\r\n\t\t\t\ttype: ConditionDataType.Text,\r\n\t\t\t\ticon: 'QuestionIcon',\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tid: 'appUser.currentUrl',\r\n\t\t\t\ttitle: 'Current Page URL',\r\n\t\t\t\ttype: ConditionDataType.Text,\r\n\t\t\t\ticon: 'PageIcon',\r\n\t\t\t},\r\n\t\t]);\r\n\r\n\t\tbotsApi\r\n\t\t\t.get(this.currentWorkspace.id)\r\n\t\t\t.then((botResponse: BotConfigurationViewModel) => {\r\n\t\t\t\tthis.initBotApp(botResponse);\r\n\t\t\t\tthis.botAppLoaded = true;\r\n\t\t\t})\r\n\t\t\t.catch((error: ApiError) => {\r\n\t\t\t\tif (error.status === 404) {\r\n\t\t\t\t\tthis.botAppInstallError = true;\r\n\t\t\t\t\tthis.botAppLoaded = true;\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tthis.handleSeriousError(error.message);\r\n\t\t\t});\r\n\t}\r\n\r\n\tpublic configRequest(\r\n\t\tworkspaceId: string,\r\n\t\tinstalledAppId: string,\r\n\t\tvalues: any,\r\n\t\tpreviousValues: any,\r\n\t\tcomponentId: any\r\n\t) {\r\n\t\treturn botsApi.botAppConfig(\r\n\t\t\tworkspaceId,\r\n\t\t\tinstalledAppId,\r\n\t\t\tvalues,\r\n\t\t\tpreviousValues,\r\n\t\t\tcomponentId\r\n\t\t);\r\n\t}\r\n\r\n\tpublic getSelectedFollowUpApps(): Array<\r\n\t\tConfiguredAppIntegration | undefined\r\n\t> {\r\n\t\treturn this.viewModel.followUpActions\r\n\t\t\t.filter(\r\n\t\t\t\t(action) => action.type === FollowUpActionType.AppIntegration\r\n\t\t\t)\r\n\t\t\t.filter((action) => action.app !== undefined)\r\n\t\t\t.map((action) => action.app);\r\n\t}\r\n\r\n\tpublic rulesUpdated(rules: RuleViewModel[]) {\r\n\t\tthis.viewModel.rules = rules;\r\n\t}\r\n\r\n\tpublic selectedFollowUpActionsChanged(\r\n\t\tselectedApps: BotActionAppViewModel[]\r\n\t) {\r\n\t\tconst nonAppActions = this.viewModel.followUpActions.filter(\r\n\t\t\t(x) => x.type !== FollowUpActionType.AppIntegration\r\n\t\t);\r\n\t\tconst appActions = selectedApps.map((app) => ({\r\n\t\t\ttype: FollowUpActionType.AppIntegration,\r\n\t\t\tapp,\r\n\t\t}));\r\n\t\tthis.viewModel.followUpActions = [...appActions, ...nonAppActions];\r\n\t}\r\n\r\n\tpublic reinstall() {\r\n\t\tif (this.reinstallInProgress) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.reinstallInProgress = true;\r\n\r\n\t\tbotAppSerivce\r\n\t\t\t.fullInstall(this.currentWorkspace.id)\r\n\t\t\t.then((res) => {\r\n\t\t\t\tthis.initBotApp(res);\r\n\t\t\t\tToast.showSuccess('Bots have been successfully configured');\r\n\t\t\t\tthis.botAppInstallError = false;\r\n\t\t\t})\r\n\t\t\t.catch((error) => {\r\n\t\t\t\tToast.showError(error.message);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.reinstallInProgress = false;\r\n\t\t\t});\r\n\t}\r\n\r\n\tpublic save() {\r\n\t\tif (\r\n\t\t\tthis.updateInProgress ||\r\n\t\t\t!this.botAppLoaded ||\r\n\t\t\tthis.botAppInstallError\r\n\t\t) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (this.ruleList.areRulesAreValid()) {\r\n\t\t\tthis.updateInProgress = true;\r\n\t\t\tbotsApi\r\n\t\t\t\t.update(this.currentWorkspace.id, this.viewModel)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tToast.showSuccess('Successfully updated Bot');\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tToast.showError(err.message);\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => {\r\n\t\t\t\t\tthis.updateInProgress = false;\r\n\t\t\t\t});\r\n\t\t} else {\r\n\t\t\tToast.showError('Please fix the errors displayed before saving');\r\n\t\t}\r\n\t}\r\n\r\n\tpublic enableBot() {\r\n\t\tif (this.enableInProgress) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.enableInProgress = true;\r\n\r\n\t\t// todo: make a copy of the viewModel on init and on save\r\n\t\t// then use that version of the viewModel in this request\r\n\t\t// so that other options aren't saved by enable or disable\r\n\t\tthis.viewModel.disabled = false;\r\n\r\n\t\tbotAppSerivce\r\n\t\t\t.enableBot(this.currentWorkspace, this.viewModel)\r\n\t\t\t.then(() => {\r\n\t\t\t\tToast.showSuccess('Bots have been enabled');\r\n\t\t\t\tthis.viewModel.disabled = false;\r\n\t\t\t})\r\n\t\t\t.catch((err) => {\r\n\t\t\t\tToast.showError(err.message);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.enableInProgress = false;\r\n\t\t\t});\r\n\t}\r\n\r\n\tpublic disableBot() {\r\n\t\tif (!this.botAppLoaded) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (confirm('Are you sure you want to disable bots?')) {\r\n\t\t\t// see related todo in enableBot\r\n\t\t\tthis.viewModel.disabled = true;\r\n\r\n\t\t\tbotAppSerivce\r\n\t\t\t\t.disableBot(this.currentWorkspace, this.viewModel)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tToast.showSuccess('Bots have been disabled');\r\n\t\t\t\t\tthis.viewModel.disabled = true;\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tToast.showError(err.message);\r\n\t\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\tprivate initBotApp(config: BotConfigurationViewModel) {\r\n\t\tthis.viewModel = config;\r\n\t}\r\n\r\n\tprivate get ruleList(): RulesList {\r\n\t\treturn this.$refs.rulesList as RulesList;\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\n@Component({\r\n\tcomponents: {\r\n\t\tLoadingSpinner\r\n\t},\r\n})\r\nexport default class Contacts extends Vue {\r\n\tpublic isLoading: boolean = true;\r\n\r\n\tpublic loading() {\r\n\t\tthis.isLoading = true;\r\n\t}\r\n\tpublic loaded() {\r\n\t\tthis.isLoading = false;\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"schedule-container\"},[_c('div',{staticClass:\"details\"},[_c('div',{staticClass:\"control\"},[_c('label',{staticClass:\"radio\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedSchedule),expression:\"selectedSchedule\"}],attrs:{\"type\":\"radio\",\"name\":\"schedule-option\"},domProps:{\"value\":_vm.ScheduleType.AnyTime,\"checked\":_vm._q(_vm.selectedSchedule,_vm.ScheduleType.AnyTime)},on:{\"change\":[function($event){_vm.selectedSchedule=_vm.ScheduleType.AnyTime},_vm.switchedScheduleType]}}),_vm._v(\"\\n\\t\\t\\t\\tAt any time\\n\\t\\t\\t\")]),_c('label',{staticClass:\"radio\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedSchedule),expression:\"selectedSchedule\"}],attrs:{\"type\":\"radio\",\"name\":\"schedule-option\"},domProps:{\"value\":_vm.ScheduleType.InHours,\"checked\":_vm._q(_vm.selectedSchedule,_vm.ScheduleType.InHours)},on:{\"change\":[function($event){_vm.selectedSchedule=_vm.ScheduleType.InHours},_vm.switchedScheduleType]}}),_vm._v(\"\\n\\t\\t\\t\\tDuring business hours\\n\\t\\t\\t\")]),_c('label',{staticClass:\"radio\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedSchedule),expression:\"selectedSchedule\"}],attrs:{\"type\":\"radio\",\"name\":\"schedule-option\"},domProps:{\"value\":_vm.ScheduleType.OutOfHours,\"checked\":_vm._q(_vm.selectedSchedule,_vm.ScheduleType.OutOfHours)},on:{\"change\":[function($event){_vm.selectedSchedule=_vm.ScheduleType.OutOfHours},_vm.switchedScheduleType]}}),_vm._v(\"\\n\\t\\t\\t\\tOutside business hours\\n\\t\\t\\t\")]),_c('label',{staticClass:\"radio\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedSchedule),expression:\"selectedSchedule\"}],attrs:{\"type\":\"radio\",\"name\":\"schedule-option\"},domProps:{\"value\":_vm.ScheduleType.CustomTimes,\"checked\":_vm._q(_vm.selectedSchedule,_vm.ScheduleType.CustomTimes)},on:{\"change\":[function($event){_vm.selectedSchedule=_vm.ScheduleType.CustomTimes},_vm.switchedScheduleType]}}),_vm._v(\"\\n\\t\\t\\t\\tCustom\\n\\t\\t\\t\")])]),(_vm.showCustomTimePicker)?_c('div',{staticClass:\"online-times-picker\"},[_c('BusinessHoursSelection',{attrs:{\"allowEmpty\":false},on:{\"input\":_vm.scheduleChanged,\"error\":_vm.setInvalid},model:{value:(_vm.customTimes),callback:function ($$v) {_vm.customTimes=$$v},expression:\"customTimes\"}})],1):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page\"},[_c('PageHeader',{attrs:{\"title\":\"Settings\",\"description\":_vm.currentWorkspace.name,\"tabs\":_vm.tabs}}),_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./TriggerScheduler.vue?vue&type=template&id=6dacb4e2&scoped=true\"\nimport script from \"./TriggerScheduler.vue?vue&type=script&lang=ts\"\nexport * from \"./TriggerScheduler.vue?vue&type=script&lang=ts\"\nimport style0 from \"./TriggerScheduler.vue?vue&type=style&index=0&id=6dacb4e2&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6dacb4e2\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdditionalInformationWrapper.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdditionalInformationWrapper.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"island-badge\",class:_vm.type,on:{\"mouseover\":function($event){_vm.showDragIcon = true},\"mouseleave\":function($event){_vm.showDragIcon = false}}},[(_vm.type === 'inputstring' && !_vm.showDragIcon)?_c('div',[_c('QuestionIcon',{staticClass:\"icon-1-3x\"})],1):_vm._e(),(_vm.type === 'decision' && !_vm.showDragIcon)?_c('div',[_c('DecisionIcon',{staticClass:\"icon-1-5x\"})],1):_vm._e(),(_vm.type === 'appintegration' && !_vm.showDragIcon)?_c('div',[_c('font-awesome-icon',{attrs:{\"icon\":\"cube\"}})],1):_vm._e(),(_vm.type === 'parentflows')?_c('div',[_c('FlowIcon',{staticClass:\"icon-1-5x\"})],1):_vm._e(),(_vm.type === 'linkedpaths')?_c('div',[_c('LinkedPathsIcon',{staticClass:\"icon-1-5x fa-flip-vertical path-icon\"})],1):_vm._e(),(_vm.type === 'quickreply')?_c('div',[_c('QuickReplyIcon',{staticClass:\"icon-1-5x\"})],1):_vm._e(),(_vm.type === 'trigger')?_c('div',[_c('TriggerIcon',{staticClass:\"icon-1-5x\"})],1):_vm._e(),(_vm.type === 'humanhandover')?_c('div',[_c('PauseBotIcon',{staticClass:\"icon-1-5x\"})],1):_vm._e(),(_vm.type === 'goto')?_c('div',[_c('GoToIcon',{staticClass:\"icon-1-3x\"})],1):_vm._e(),(_vm.type === 'text' && !_vm.showDragIcon)?_c('div',{staticClass:\"text-icon\"},[_c('svg',{staticStyle:{\"fill\":\"#000000\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"x\":\"0px\",\"y\":\"0px\",\"width\":\"20\",\"height\":\"20\",\"viewBox\":\"0 0 172 172\"}},[_c('g',{staticStyle:{\"mix-blend-mode\":\"normal\"},attrs:{\"fill\":\"none\",\"fill-rule\":\"nonzero\",\"stroke\":\"none\",\"stroke-width\":\"1\",\"stroke-linecap\":\"butt\",\"stroke-linejoin\":\"miter\",\"stroke-miterlimit\":\"10\",\"stroke-dasharray\":\"\",\"stroke-dashoffset\":\"0\",\"font-family\":\"none\",\"font-weight\":\"none\",\"font-size\":\"none\",\"text-anchor\":\"none\"}},[_c('path',{attrs:{\"d\":\"M0,172v-172h172v172z\",\"fill\":\"none\"}}),_c('g',{attrs:{\"fill\":\"#ffffff\"}},[_c('path',{attrs:{\"d\":\"M85.83203,22.77656c-0.54801,0.01312 -1.09438,0.06551 -1.63489,0.15677h-44.0638h-5.73333c-3.1648,0 -5.73333,2.56853 -5.73333,5.73333v17.2c0,3.1648 2.56853,5.73333 5.73333,5.73333h5.73333c3.1648,0 5.73333,-2.56853 5.73333,-5.73333v-5.73333h28.66667v91.73333h-5.73333c-3.1648,0 -5.73333,2.56853 -5.73333,5.73333v5.73333c0,3.1648 2.56853,5.73333 5.73333,5.73333h15.34114c1.23099,0.20221 2.48672,0.20221 3.71771,0h15.34114c3.1648,0 5.73333,-2.56853 5.73333,-5.73333v-5.73333c0,-3.1648 -2.56853,-5.73333 -5.73333,-5.73333h-5.73333v-91.73333h28.66667v5.73333c0,3.1648 2.56853,5.73333 5.73333,5.73333h5.73333c3.1648,0 5.73333,-2.56853 5.73333,-5.73333v-17.2c0,-3.1648 -2.56853,-5.73333 -5.73333,-5.73333h-5.73333h-44.03021c-0.66226,-0.11084 -1.33298,-0.1633 -2.00442,-0.15677z\"}})])])])]):_vm._e(),(_vm.draggable && _vm.showDragIcon)?_c('DragIcon',{staticClass:\"icon-1-5x\"}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./WebAssistant.vue?vue&type=template&id=42d5bfe6&scoped=true\"\nimport script from \"./WebAssistant.vue?vue&type=script&lang=ts\"\nexport * from \"./WebAssistant.vue?vue&type=script&lang=ts\"\nimport style0 from \"./WebAssistant.vue?vue&type=style&index=0&id=42d5bfe6&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"42d5bfe6\",\n null\n \n)\n\nexport default component.exports","import { ActionTree } from 'vuex';\r\nimport { AppState } from '@/store/app';\r\nimport { IntentsState } from '.';\r\nimport { CREATE_INTENT, DELETE_INTENT, GET_INTENT, LOAD_INTENTS, UPDATE_INTENT } from './actionTypes';\r\nimport { ADD_TO_INTENTS_CACHE, REMOVE_INTENT_FROM_CACHE, SET_INTENTS, UPDATE_INTENT_IN_CACHE } from './mutationTypes';\r\nimport { HANDLE_SERIOUS_ERROR } from '@/store/app/actionTypes';\r\nimport { nlpApi } from '@/features/bots/services/nlp';\r\nimport { SaveIntentViewModel } from '@/features/bots/models/intents/saveIntentViewModel';\r\n\r\nexport const actions: ActionTree = {\r\n\tasync [GET_INTENT]({ rootState, dispatch }, id: string) {\r\n\t\tconst currentWorkspace = (rootState as any).app.currentWorkspace;\r\n\t\tif (!currentWorkspace) {\r\n\t\t\treturn dispatch(HANDLE_SERIOUS_ERROR, 'No workspace selected');\r\n\t\t}\r\n\t\treturn await nlpApi.getIntent(currentWorkspace.id, id);\r\n\t},\r\n\r\n\tasync [LOAD_INTENTS]({ commit, rootState, state, dispatch }, forceLoad?: boolean) {\r\n\t\tconst currentWorkspace = (rootState as any).app.currentWorkspace;\r\n\t\tif (!currentWorkspace) {\r\n\t\t\treturn dispatch(HANDLE_SERIOUS_ERROR, 'No workspace selected');\r\n\t\t}\r\n\r\n\t\tif (state.intents.length === 0 || forceLoad) {\r\n\t\t\tconst response = await nlpApi.getIntents(currentWorkspace.id);\r\n\t\t\tcommit(SET_INTENTS, response);\r\n\t\t}\r\n\r\n\t\treturn state.intents;\r\n\t},\r\n\r\n\tasync [CREATE_INTENT]({ commit, rootState, dispatch }, intent: SaveIntentViewModel) {\r\n\t\tconst currentWorkspace = (rootState as any).app.currentWorkspace;\r\n\t\tif (!currentWorkspace) {\r\n\t\t\treturn dispatch(HANDLE_SERIOUS_ERROR, 'No workspace selected');\r\n\t\t}\r\n\r\n\t\tconst createdIntent = await nlpApi.addIntent(currentWorkspace.id, intent);\r\n\t\tcommit(ADD_TO_INTENTS_CACHE, createdIntent);\r\n\r\n\t\treturn createdIntent;\r\n\t},\r\n\r\n\tasync [UPDATE_INTENT]({ commit, rootState, dispatch }, { id, intent }) {\r\n\t\tconst currentWorkspace = (rootState as any).app.currentWorkspace;\r\n\t\tif (!currentWorkspace) {\r\n\t\t\treturn dispatch(HANDLE_SERIOUS_ERROR, 'No workspace selected');\r\n\t\t}\r\n\r\n\t\tconst updatedIntent = await nlpApi.updateIntent(currentWorkspace.id, intent, id);\r\n\r\n\t\tcommit(UPDATE_INTENT_IN_CACHE, updatedIntent);\r\n\t\treturn updatedIntent;\r\n\t},\r\n\r\n\tasync [DELETE_INTENT]({ commit, rootState, dispatch }, id: string) {\r\n\t\tconst currentWorkspace = (rootState as any).app.currentWorkspace;\r\n\t\tif (!currentWorkspace) {\r\n\t\t\treturn dispatch(HANDLE_SERIOUS_ERROR, 'No workspace selected');\r\n\t\t}\r\n\t\tawait nlpApi.deleteIntent(currentWorkspace.id, id);\r\n\t\tcommit(REMOVE_INTENT_FROM_CACHE, id);\r\n\t}\r\n};\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebAssistant.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebAssistant.vue?vue&type=script&lang=ts\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTable.vue?vue&type=style&index=0&id=70772642&prod&scoped=true&lang=scss\"","export const LOAD_HOLIDAYS = 'LOAD_HOLIDAYS';\r\nexport const CREATE_HOLIDAY = 'CREATE_HOLIDAY';\r\nexport const UPDATE_HOLIDAY = 'UPDATE_HOLIDAY';\r\nexport const DELETE_HOLIDAY = 'DELETE_HOLIDAY';\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmojiPicker.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmojiPicker.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Rule.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Rule.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./WebAssistantLauncher.vue?vue&type=template&id=681cdd36&scoped=true\"\nimport script from \"./WebAssistantLauncher.vue?vue&type=script&lang=ts\"\nexport * from \"./WebAssistantLauncher.vue?vue&type=script&lang=ts\"\nimport style0 from \"./WebAssistantLauncher.vue?vue&type=style&index=0&id=681cdd36&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"681cdd36\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PersonIcon.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PersonIcon.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./JoinOperatorPicker.vue?vue&type=template&id=784bca99&scoped=true\"\nimport script from \"./JoinOperatorPicker.vue?vue&type=script&lang=ts\"\nexport * from \"./JoinOperatorPicker.vue?vue&type=script&lang=ts\"\nimport style0 from \"./JoinOperatorPicker.vue?vue&type=style&index=0&id=784bca99&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"784bca99\",\n null\n \n)\n\nexport default component.exports","import { MutationTree } from 'vuex';\r\nimport { ChannelIdentitiesState } from '.';\r\nimport { SET_CHANNEL_IDENTITIES } from './mutationTypes';\r\nimport { ChannelIdentityViewModel } from '@/messaging/models/channelIdentityViewModel';\r\n\r\nexport const mutations: MutationTree = {\r\n\t[SET_CHANNEL_IDENTITIES](state, identities: ChannelIdentityViewModel[]) {\r\n\t\tstate.channelIdentities = identities;\r\n\t},\r\n};\r\n","import moment from 'moment';\r\n\r\nexport default class VuelidateUtil {\r\n\r\n\t// Validators\r\n\r\n\tpublic static todayOrFuture(dateString: string) {\r\n\t\tif (dateString) {\r\n\t\t\tconst enteredDate = moment.utc(dateString);\r\n\t\t\tconst today = moment.utc().startOf('day');\r\n\t\t\treturn enteredDate.isSameOrAfter(today);\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n\r\n\tpublic static objectName(name: string) {\r\n\t\treturn !!name.match(/^[A-Za-z0-9,\\-_\\(\\)&\\s]*$/);\r\n\t}\r\n\r\n\tpublic static intentName(name: string) {\r\n\t\treturn !!name.match(/^[A-Za-z0-9,\\-_\\(\\)\\s]*$/);\r\n\t}\r\n\r\n\t// Validator Settings\r\n\r\n\tpublic static getAllowedMaxLength(vuelidate: any, prop: string): number {\r\n\t\treturn vuelidate[prop].$params.maxLength.max;\r\n\t}\r\n\r\n\t// Checks\r\n\r\n\tpublic static isRequiredInvalid(vuelidate: any, prop: string): boolean {\r\n\t\treturn VuelidateUtil.isValidationInvalid(vuelidate, prop, 'required');\r\n\t}\r\n\r\n\tpublic static isMaxLengthInvalid(vuelidate: any, prop: string): boolean {\r\n\t\treturn VuelidateUtil.isValidationInvalid(vuelidate, prop, 'maxLength');\r\n\t}\r\n\r\n\tpublic static isValidationInvalid(vuelidate: any, prop: string, validationType: string): boolean {\r\n\t\tconst vuelidateForProp = vuelidate[prop];\r\n\t\tconst validationExistsForPropertyAndIsInvalid = vuelidateForProp[validationType] === false;\r\n\t\treturn validationExistsForPropertyAndIsInvalid && VuelidateUtil.isPropertyInvalidAndBeenTouched(vuelidateForProp);\r\n\t}\r\n\r\n\tprivate static isPropertyInvalidAndBeenTouched(vuelidateForProp: any): boolean {\r\n\t\t// Only invalid if it's been changed\r\n\t\treturn vuelidateForProp.$invalid && vuelidateForProp.$dirty;\r\n\t}\r\n}\r\n","import {IntentListItemViewModel} from '@/features/bots/models/intents/intentListItemViewModel';\r\nimport {SaveIntentViewModel} from '@/features/bots/models/intents/saveIntentViewModel';\r\nimport {IntentViewModel} from '@/features/bots/models/intents/intentViewModel';\r\nimport {api} from '@/shared/services/baseApiClient';\r\nimport urljoin from 'url-join';\r\nimport {config} from '@/config/config';\r\nimport { AddUtteranceToIntentViewModel } from '../models/intents/addUtteranceToIntentViewModel';\r\nimport { UtteranceViewModel } from '../models/intents/utteranceViewModel';\r\nimport {PagedPredictionsViewModel} from '@/features/bots/models/intents/pagedPredictionsViewModel';\r\n\r\n\r\nclass NlpService {\r\n\tprivate version = 'v1';\r\n\r\n\tpublic async getIntents(workspaceId: string): Promise {\r\n\t\treturn await api.send('GET', urljoin(config().nlpHost, this.version, 'models', workspaceId, 'intents'));\r\n\t}\r\n\r\n\tpublic async addIntent(workspaceId: string, request: SaveIntentViewModel): Promise {\r\n\t\treturn api.send('POST', urljoin(config().nlpHost, this.version, 'models', workspaceId, 'intents'), request);\r\n\t}\r\n\r\n\tpublic async updateIntent(workspaceId: string, request: SaveIntentViewModel, id: string): Promise {\r\n\t\treturn api.send('PUT', urljoin(config().nlpHost, this.version, 'models', workspaceId, 'intents', id), request);\r\n\t}\r\n\r\n\tpublic async deleteIntent(workspaceId: string, intentId: string): Promise {\r\n\t\treturn await api.send('DELETE', urljoin(config().nlpHost, this.version, 'models', workspaceId, 'intents', intentId));\r\n\t}\r\n\r\n\tpublic async getIntent(workspaceId: string, intentId: string): Promise {\r\n\t\treturn api.send('GET', urljoin(config().nlpHost, this.version, 'models', workspaceId, 'intents', intentId));\r\n\t}\r\n\r\n\tpublic async addUtteranceToIntent(workspaceId: string, intentId: string, utterance: string): Promise {\r\n\t\tconst request: AddUtteranceToIntentViewModel = {\r\n\t\t\tutterance\r\n\t\t};\r\n\t\treturn api.send('POST', urljoin(config().nlpHost, this.version, 'models', workspaceId, 'intents', intentId, 'utterances'), request);\r\n\t}\r\n\r\n\tpublic async getPredictions(workspaceId: string, limit: number, offset: number): Promise {\r\n\t\treturn api.send('GET', urljoin(\r\n\t\t\tconfig().nlpHost,\r\n\t\t\tthis.version,\r\n\t\t\t'models',\r\n\t\t\tworkspaceId,\r\n\t\t\t`predictions?limit=${limit}&offset=${offset}`));\r\n\t}\r\n\r\n\tpublic async deletePrediction(workspaceId: string, predictionId: string): Promise {\r\n\t\treturn await api.send('DELETE', urljoin(config().nlpHost, this.version, 'models', workspaceId, 'predictions', predictionId));\r\n\t}\r\n}\r\n\r\nexport const nlpApi = new NlpService();\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RulesList.vue?vue&type=style&index=0&id=2b20734b&prod&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadingSpinner.vue?vue&type=style&index=0&id=253ab418&prod&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChartNoData.vue?vue&type=style&index=0&id=7dffbf82&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('GoogleBmAgentConfig',{attrs:{\"agent\":_vm.agent,\"saving\":_vm.actionInProgress},on:{\"save\":_vm.onSave,\"cancel\":_vm.onCancel}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","// @ts-nocheck\r\n/* tslint:disable */\r\nimport {config} from \"@/config/config\";\r\n\r\nclass ConnectWidget {\r\n\r\n public addWebAssistant(userId: string, token: string) {\r\n this.loadWidget(() => {\r\n Connect.init({\r\n workspaceId: config().webAssistantWorkspaceId,\r\n contact: {\r\n userId: userId,\r\n token: token\r\n }\r\n })\r\n })\r\n\t}\r\n\r\n\tpublic async update(userId: string, token: string) {\r\n\t\tif (Connect) {\r\n\t\t\tawait Connect.update({\r\n\t\t\t\tcontact: {\r\n\t\t\t\t\tuserId,\r\n\t\t\t\t\ttoken\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n private loadWidget(callback) {\r\n 'use strict';\r\n \"function\" != typeof Object.assign && function () {\r\n Object.assign = function (a) {\r\n if (a === void 0 || null === a) throw new TypeError(\"Cannot convert undefined or null to object\");\r\n for (var b, c = Object(a), d = 1; d < arguments.length; d++) if (b = arguments[d], void 0 !== b && null !== b) for (var e in b) b.hasOwnProperty(e) && (c[e] = b[e]);\r\n return c\r\n }\r\n }(), function (a, b, c, d) {\r\n var e, f = [], g = [];\r\n a[c] = {\r\n init: function () {\r\n for (var a = arguments.length, b = Array(a), c = 0; c < a; c++) b[c] = arguments[c];\r\n e = b;\r\n var d = {\r\n then: function (a) {\r\n return f.push({type: \"then\", next: a}), d\r\n }, catch: function (a) {\r\n return f.push({type: \"catch\", next: a}), d\r\n }\r\n };\r\n return d\r\n }, on: function () {\r\n for (var a = arguments.length, b = Array(a), c = 0; c < a; c++) b[c] = arguments[c];\r\n g.push(b)\r\n }\r\n }, a.__onConnectHostReady__ = function (b) {\r\n if (delete a.__onConnectHostReady__, a[c] = b, e) for (var d, h = b.init.apply(b, e), j = 0; j < f.length; j++) d = f[j], h = \"then\" === d.type ? h.then(d.next) : h.catch(d.next);\r\n for (var j = 0; j < g.length; j++) b.on.apply(b, g[j])\r\n };\r\n var h = new XMLHttpRequest;\r\n h.addEventListener(\"load\", function () {\r\n try {\r\n var a = this.response;\r\n if (\"string\" == typeof a && (a = JSON.parse(a)), a.url) {\r\n var c = b.getElementsByTagName(\"script\")[0], d = b.createElement(\"script\");\r\n d.async = !0, d.src = a.url, c.parentNode.insertBefore(d, c)\r\n }\r\n callback();\r\n } catch (a) {\r\n }\r\n }), h.open(\"GET\", `${config().webAssistantHost}/v1/loader/` + d, !0), h.responseType = \"json\", h.send()\r\n }(window, document, \"Connect\", config().webAssistantWorkspaceId)\r\n }\r\n}\r\n\r\nconst connectWidget = new ConnectWidget();\r\nexport default connectWidget;\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Report.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Report.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FriendlyString.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FriendlyString.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { requiredIf } from 'vuelidate/lib/validators';\r\nimport { validationMixin } from 'vuelidate';\r\n\r\nimport { BusinessHoursViewModel } from '@/features/bots/models';\r\nimport DateTimeService from '@/shared/services/dateTime';\r\nimport { BusinessHoursOption, BusinessHoursOptions } from '.';\r\n\r\nimport { helpers } from 'vuelidate/lib/validators';\r\nimport { Getter } from 'vuex-class';\r\nimport { HolidayViewModel } from '@/features/bots/models/holidayViewModel';\r\nimport { isSameDay, hasOverlappingOpenClose, hasOverlappingHours, hasAtLeastOneOnlineTime } from './validationHelpers';\r\n\r\nconst time = (value: string, vm: any) => {\r\n\tif (!vm.open) {\r\n\t\treturn true;\r\n\t}\r\n\treturn !value || DateTimeService.isValidTime(value);\r\n};\r\n\r\n\r\nconst after = (prop: any) =>\r\n\thelpers.withParams({ type: 'after', prop }, (value: any, parentVm: any) => {\r\n\t\tif (!value) {\r\n\t\t\treturn true; // Required validation will deal with this\r\n\t\t}\r\n\t\tconst compareTo = helpers.ref(prop, parentVm, parentVm);\r\n\t\tconst minutes = DateTimeService.getMinutes(value);\r\n\t\tconst compareToMinutes = DateTimeService.getMinutes(compareTo);\r\n\t\tif (!compareToMinutes) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn minutes !== undefined && minutes > compareToMinutes;\r\n\t});\r\n\r\n\r\n/**\r\n * A validation method which compares are the openingTimes and checks to see if any of them overlap.\r\n */\r\nconst hasNoOverlap = () => helpers.withParams({ type: 'hasNoOverlap'}, (value: any) => {\r\n\tfor (let i = 0; i < value.length; i++) {\r\n\t\tfor (let j = i + 1; j < value.length; j++) {\r\n\t\t\tconst current = value[i];\r\n\t\t\tconst comparison = value[j];\r\n\t\t\tif (!isSameDay(current, comparison)) {\r\n\t\t\t\t// If they're not the same day, they are valid.\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\tif (hasOverlappingOpenClose(current, comparison)) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\tif (!(current.startTime && comparison.endTime)) {\r\n\t\t\t\t// If these aren't defined, we can just ignore them\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\tif (hasOverlappingHours(current, comparison)) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\treturn true;\r\n});\r\n\r\nconst hasOnlineTimes = () => helpers.withParams({ type: 'hasOnlineTimes' }, (value: BusinessHoursOption[], parentVm: any) => {\r\n\tif (!parentVm.enforceOnlineDayOfWeek) {\r\n\t\treturn true;\r\n\t}\r\n\treturn hasAtLeastOneOnlineTime(value);\r\n});\r\n\r\n@Component({\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\topeningTimes: {\r\n\t\t\thasAtLeastOneOnlineTime: hasOnlineTimes(),\r\n\t\t\thasNoOverlap: hasNoOverlap(),\r\n\t\t\t$each: {\r\n\t\t\t\tday: {},\r\n\t\t\t\tstartTime: {\r\n\t\t\t\t\trequired: requiredIf((openTime) => openTime.open),\r\n\t\t\t\t\ttime\r\n\t\t\t\t},\r\n\t\t\t\tendTime: {\r\n\t\t\t\t\trequired: requiredIf((openTime) => openTime.open),\r\n\t\t\t\t\ttime,\r\n\t\t\t\t\tafter: after('startTime'),\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t},\r\n\t},\r\n})\r\nexport default class BusinessHoursSelection extends Vue {\r\n\t@Prop() public value: BusinessHoursViewModel[];\r\n\t@Prop() public allowEmpty: boolean | undefined;\r\n\t@Prop({ default: false }) public enforceOnlineDayOfWeek: boolean;\r\n\t@Getter public holidays!: HolidayViewModel[];\r\n\r\n\tpublic openingTimes: BusinessHoursOption[] = [];\r\n\tpublic timezone: string = 'Europe/London';\r\n\r\n\tpublic overlapErrorMessage = 'Must not contain conflicting business hours for the same day';\r\n\tpublic atLeastOneOnlineTimeErrorMessage = 'Default Business Hours must be online for at least one day of the week';\r\n\r\n\tget options(): any[] {\r\n\t\tconst options = [];\r\n\t\toptions.push({ label: 'Select...', value: '', disabled: true });\r\n\t\toptions.push(\r\n\t\t\t...BusinessHoursOptions.dayOptions.map((opt) => ({\r\n\t\t\t\tlabel: opt.name,\r\n\t\t\t\tvalue: opt,\r\n\t\t\t}))\r\n\t\t);\r\n\t\toptions.push({\r\n\t\t\tlabel: '──────────',\r\n\t\t\tvalue: 'divider1',\r\n\t\t\tdisabled: true,\r\n\t\t});\r\n\t\toptions.push(\r\n\t\t\t...BusinessHoursOptions.dayRangeOptions.map((opt) => ({\r\n\t\t\t\tlabel: opt.name,\r\n\t\t\t\tvalue: opt,\r\n\t\t\t}))\r\n\t\t);\r\n\t\tif (this.holidays.length > 0) {\r\n\t\t\toptions.push({\r\n\t\t\t\tlabel: '──────────',\r\n\t\t\t\tvalue: 'divider2',\r\n\t\t\t\tdisabled: true,\r\n\t\t\t});\r\n\t\t\toptions.push(\r\n\t\t\t\t...this.holidays.map((h) => ({\r\n\t\t\t\t\tlabel: h.name,\r\n\t\t\t\t\tkey: h.id,\r\n\t\t\t\t\tvalue: { name: h.name, holidayId: h.id },\r\n\t\t\t\t}))\r\n\t\t\t);\r\n\t\t}\r\n\t\treturn options;\r\n\t}\r\n\r\n\tget showDeleteIcon(): boolean {\r\n\t\tif (this.openingTimes.length > 1) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn this.allowEmpty || this.allowEmpty === undefined;\r\n\t}\r\n\r\n\tpublic mounted() {\r\n\t\tthis.openingTimes = this.value.map((vm) => BusinessHoursOption.fromViewModel(vm));\r\n\t}\r\n\r\n\t@Watch('holidays', { immediate: true })\r\n\tpublic onHolidayChanged(holidays: HolidayViewModel[]) {\r\n\t\tthis.openingTimes = this.value.map((vm) => BusinessHoursOption.fromViewModel(vm));\r\n\t}\r\n\r\n\tpublic addOfficeHours() {\r\n\t\tthis.openingTimes.push(BusinessHoursOptions.getDefaultOption());\r\n\t\tthis.onChange();\r\n\t}\r\n\r\n\tpublic deleteOfficeHours(index: number) {\r\n\t\tthis.openingTimes.splice(index, 1);\r\n\t\tthis.onChange();\r\n\t}\r\n\r\n\tpublic generateErrorMessage(v: any, field: string, label: string): string | null {\r\n\t\tif (v[field].$invalid) {\r\n\t\t\tif (!v[field].required) {\r\n\t\t\t\treturn `${label} is required.`;\r\n\t\t\t}\r\n\t\t\tif (v[field].hasOwnProperty('after')) {\r\n\t\t\t\tif (v[field].required && !v[field].after) {\r\n\t\t\t\t\treturn 'Must be after start time';\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn 'Must be in HH:mm format';\r\n\t\t}\r\n\t\treturn null;\r\n\t}\r\n\r\n\tprivate onChange() {\r\n\t\tthis.$emit('error', this.$v.$invalid);\r\n\t\tthis.$emit('input', this.openingTimes.map((r) => r.toViewModel()));\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContentHighlightsListAppEdit.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContentHighlightsListAppEdit.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component({})\r\nexport default class AppUninstallNotAllowedModal extends Vue {\r\n\t@Prop() public message!: string;\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue} from 'vue-property-decorator';\r\nimport Toast from '@/shared/services/toast';\r\n\r\n@Component({\r\n\tcomponents: {}\r\n})\r\nexport default class ReadonlyCopyableField extends Vue {\r\n\t@Prop() public readonlyValue: string;\r\n\t@Prop() public onCopyMessage: string;\r\n\r\n\r\n\tpublic onCopiedToClipboard() {\r\n\t\tToast.showInfo(this.onCopyMessage);\r\n\t}\r\n}\r\n","export enum ContactType {\r\n\tUser = 'user',\r\n\tLead = 'lead',\r\n\tVisitor = 'visitor'\r\n}\r\n","import { render, staticRenderFns } from \"./Report.vue?vue&type=template&id=e44e4028&scoped=true\"\nimport script from \"./Report.vue?vue&type=script&lang=ts\"\nexport * from \"./Report.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Report.vue?vue&type=style&index=0&id=e44e4028&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e44e4028\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {Component, Vue} from 'vue-property-decorator';\nimport {Action, Getter} from 'vuex-class';\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\nimport ConfirmationModal from '@/shared/components/ConfirmationModal.vue';\nimport Toast from '@/shared/services/toast';\nimport {HANDLE_SERIOUS_ERROR} from '@/store/app/actionTypes';\nimport {emailApi} from '../services/emailApiService';\nimport * as ace from 'brace';\nimport 'brace/mode/html';\nimport 'brace/theme/monokai';\nimport 'brace/ext/language_tools';\nimport EditableText from '@/shared/components/EditableText.vue';\nimport {sanitizeHtml} from '@/shared/util/sanitize-html/sanitizeHtml';\nimport {Issues} from '@/shared/util/sanitize-html/types';\nimport {emailTokenPlaceholders} from '../services/emailTokenPlaceholders';\nimport {htmlFormatter} from '../services/htmlFormatter';\nimport { SANITIZE_OPTIONS } from '@/shared/util/sanitize-html/EmailTemplateSanitizeOptions';\n\nconst TOKENS = {\n\tmessages: '{{ messages }}',\n\tsenderName: '{{ senderName }}'\n};\n\n@Component({\n\tcomponents: {\n\t\tConfirmationModal,\n\t\tLoadingSpinner,\n\t\tEditableText\n\t}\n})\nexport default class Flow extends Vue {\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\n\t@Action(HANDLE_SERIOUS_ERROR) public handleSeriousError: any;\n\n\tprivate templateId: string = '';\n\tprivate templateName: string = '';\n\tprivate templateHtml: string = '';\n\tprivate previewHtml: string = '';\n\tprivate templateHtmlHasIssues: boolean = false;\n\tprivate templateChanged: boolean = false;\n\n\tprivate readonly EDITOR_ID = 'email-template-editor';\n\tprivate editor: ace.Editor;\n\tprivate editorAnnotationTimeout: number;\n\n\tprivate templateLoaded: boolean = false;\n\tprivate updateInProgress: boolean = false;\n\tprivate showDiscardChangesModel: boolean = false;\n\n\tpublic async mounted() {\n\t\tthis.templateId = this.$route.params.templateId;\n\t\tthis.templateName = this.$route.params.templateName;\n\t\tawait this.loadTemplate();\n\t\tthis.setupAceEditor();\n\t}\n\n\tpublic destroyed() {\n\t\tthis.templateHtml = '';\n\t\tthis.previewHtml = '';\n\t\tthis.templateChanged = false;\n\t}\n\n\tprivate async loadTemplate() {\n\t\tif (this.templateId) {\n\t\t\ttry {\n\t\t\t\tconst htmlContent: string = await emailApi.getTemplateContent(this.currentWorkspace.id, this.templateId);\n\t\t\t\tthis.templateHtml = htmlContent;\n\t\t\t\tthis.setAceEditorValue(htmlContent);\n\t\t\t\tthis.setPreviewValue(htmlContent);\n\t\t\t\tthis.templateLoaded = true;\n\t\t\t} catch (error) {\n\t\t\t\tif (error.status !== 404) {\n\t\t\t\t\tthis.handleSeriousError(error.message);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tthis.templateHtml = `\\r\\n${TOKENS.messages}`;\n\t\t\tthis.setAceEditorValue(TOKENS.messages);\n\t\t\tthis.setPreviewValue(this.templateHtml);\n\t\t\tthis.templateLoaded = true;\n\t\t}\n\t}\n\n\tprivate setupAceEditor() {\n\t\tif (this.isEditorReadyForSetup()) {\n\t\t\tconst langTools = ace.acequire('ace/ext/language_tools');\n\t\t\tlangTools.setCompleters([]);\n\n\t\t\tthis.editor = ace.edit(this.EDITOR_ID);\n\t\t\tthis.editor.getSession().setMode('ace/mode/html');\n\t\t\tthis.editor.setTheme('ace/theme/monokai');\n\t\t\tthis.editor.setShowPrintMargin(false);\n\t\t\tthis.editor.session.on('change', (event: ace.EditorChangeEvent) => this.setTemplateHtmlOnChange());\n\n\t\t\tthis.editor.setOptions({\n\t\t\t\tenableBasicAutocompletion: true\n\t\t\t});\n\n\t\t\tconst customCompleter = {\n\t\t\t\tgetCompletions: (editor: ace.Editor, session: ace.IEditSession, pos: number, prefix: any, callback: any) => {\n\t\t\t\t\tconst suggestions = [\n\t\t\t\t\t\t{caption: 'Content Placeholder', value: TOKENS.messages, meta: 'Metadata'},\n\t\t\t\t\t\t{caption: 'Sender\\'s Name Placeholder', value: TOKENS.senderName, meta: 'Metadata'}\n\t\t\t\t\t];\n\n\t\t\t\t\tcallback(null, suggestions);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tlangTools.addCompleter(customCompleter);\n\n\t\t\tif (this.templateHtml) {\n\t\t\t\tthis.setAceEditorValue(this.templateHtml);\n\t\t\t}\n\n\t\t\tthis.editor.resize();\n\t\t}\n\t}\n\n\tprivate isEditorReadyForSetup(): boolean {\n\t\treturn !this.editor && !!document.getElementById(this.EDITOR_ID);\n\t}\n\n\tprivate setTemplateHtmlOnChange() {\n\t\tconst newContent: string = this.editor.session.getValue();\n\n\t\tif (this.templateHtml !== newContent) {\n\t\t\tthis.updateTemplateHtml(newContent);\n\t\t}\n\t}\n\n\tprivate updateTemplateHtml(newContent: string) {\n\t\tthis.templateHtml = newContent;\n\n\t\tthis.setPreviewValue(this.getSafeHtml(newContent));\n\t\tthis.templateChanged = true;\n\t}\n\n\tprivate setPreviewValue(html: string) {\n\t\tconst whiteBackgroundStyle = '';\n\t\tthis.previewHtml = whiteBackgroundStyle + this.replaceTokens(html);\n\t}\n\n\tprivate setAceEditorValue(newValue: string) {\n\t\tif (this.editor) {\n\t\t\tthis.editor.session.setValue(newValue);\n\t\t}\n\t}\n\n\tprivate replaceTokens(newContent: string): string {\n\t\treturn newContent\n\t\t\t.replace(TOKENS.messages, emailTokenPlaceholders.getContentPlaceholder())\n\t\t\t.replace(TOKENS.senderName, emailTokenPlaceholders.getSenderNamePlaceholder());\n\t}\n\n\tprivate getSafeHtml(unCleaned: string): string {\n\t\t// https://www.npmjs.com/package/sanitize-html\n\n\t\tconst response = sanitizeHtml(unCleaned, SANITIZE_OPTIONS);\n\t\tthis.showEditorWarningsAfterDelay(response.issues);\n\t\treturn response.output;\n\t}\n\n\tprivate showEditorWarningsAfterDelay(issues: Issues[]) {\n\t\tthis.templateHtmlHasIssues = issues.length > 0;\n\t\tif (this.editorAnnotationTimeout) {\n\t\t\tclearTimeout(this.editorAnnotationTimeout);\n\t\t}\n\t\tthis.editorAnnotationTimeout = window.setTimeout(() => this.showEditorWarnings(issues), 1000);\n\t}\n\n\tprivate showEditorWarnings(issues: Issues[]) {\n\t\tthis.editor.getSession().setAnnotations(issues.map(issue => {\n\t\t\treturn {\n\t\t\t\trow: issue.line - 1,\n\t\t\t\tcolumn: issue.column,\n\t\t\t\ttext: issue.description,\n\t\t\t\ttype: 'error' // also warning and information\n\t\t\t};\n\t\t}));\n\t}\n\n\tprivate onNameChange(newName: string) {\n\t\tthis.templateChanged = true;\n\t\tthis.templateName = newName;\n\t}\n\n\tprivate async saveTemplate() {\n\t\tif (this.validateSaveRequest()) {\n\t\t\ttry {\n\t\t\t\tthis.updateInProgress = true;\n\t\t\t\tthis.templateHtml = htmlFormatter.format(this.templateHtml);\n\t\t\t\tawait this.callSaveApi();\n\t\t\t\tthis.templateChanged = false;\n\t\t\t\tToast.showSuccess('Template saved');\n\t\t\t\tthis.goBackToEmailSettings();\n\t\t\t} catch (err) {\n\t\t\t\tToast.showError(err.message);\n\t\t\t} finally {\n\t\t\t\tthis.updateInProgress = false;\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate callSaveApi(): Promise {\n\t\tif (this.templateId) {\n\t\t\treturn emailApi.saveEmailTemplate(this.currentWorkspace.id, this.templateId, this.templateName, this.templateHtml);\n\t\t} else {\n\t\t\treturn emailApi.createEmailTemplate(this.currentWorkspace.id, this.templateName, this.templateHtml);\n\t\t}\n\t}\n\n\tprivate validateSaveRequest(): boolean {\n\t\tif (!this.templateName) {\n\t\t\tToast.showError('Template name cannot be empty');\n\t\t\treturn false;\n\t\t}\n\t\tif (this.templateHtml.indexOf(TOKENS.messages) === -1) {\n\t\t\tToast.showError(`Placeholder ${TOKENS.messages} must be present in template`);\n\t\t\treturn false;\n\t\t}\n\t\tif (this.templateHtmlHasIssues) {\n\t\t\tToast.showError(`HTML content contains issues, please resolve before saving`);\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}\n\n\tprivate cancel() {\n\t\tif (this.templateChanged) {\n\t\t\tthis.showDiscardChangesModel = true;\n\t\t} else {\n\t\t\tthis.goBackToEmailSettings();\n\t\t}\n\t}\n\n\tprivate goBackToEmailSettings() {\n\t\tthis.$router.push({name: 'email'});\n\t}\n}\n","\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\n\r\n\r\n@Component\r\nexport default class DragIcon extends Vue {\r\n\t@Prop({default: 'white'}) public color: string;\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConditionConfigurator.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConditionConfigurator.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./govuknotifysmsConfig.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./govuknotifysmsConfig.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomAttributeIcon.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomAttributeIcon.vue?vue&type=script&lang=ts\"","export const SET_CURRENT_WORKSPACE = 'SET_CURRENT_WORKSPACE';\r\nexport const SET_WORKSPACES = 'SET_WORKSPACES';\r\nexport const SET_CURRENT_APP = 'SET_CURRENT_APP';\r\nexport const SET_ERROR = 'SET_ERROR';\r\nexport const ADD_INSTALLED_APP = 'ADD_INSTALLED_APP';\r\nexport const REMOVE_INSTALLED_APP = 'REMOVE_INSTALLED_APP';\r\nexport const CLEAR_INSTALLED_APPS = 'CLEAR_INSTALLED_APPS';\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Toast from '@/shared/services/toast';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { maxLength, required, requiredIf, helpers } from 'vuelidate/lib/validators';\r\nimport { Getter } from 'vuex-class';\r\nimport { GovNotifyServiceViewModel } from '../models/govNotifyServiceViewModel';\r\nimport { govNotifyApi } from '../services/govNotifyApi';\r\n\r\nconst numericIf = (fn: any) =>\r\n\thelpers.withParams({ type: 'numeric' }, (value: any, vm: any) => {\r\n\t\tif (!helpers.req(value)) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\tif (fn.call(this, vm)) {\r\n\t\t\tconst regex = /^[0-9]+$/;\r\n\t\t\treturn regex.test(value);\r\n\t\t}\r\n\t\treturn true;\r\n\t});\r\n\r\n@Component({\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tserviceData: {\r\n\t\t\t$each: {\r\n\t\t\t\tname: { required },\r\n\t\t\t\tphoneNumber: {\r\n\t\t\t\t\trequired: requiredIf(vm => {\r\n\t\t\t\t\t\treturn vm.isDraft;\r\n\t\t\t\t\t}),\r\n\t\t\t\t\tnumeric: numericIf((vm: any) => {\r\n\t\t\t\t\t\treturn vm.isDraft;\r\n\t\t\t\t\t}),\r\n\t\t\t\t\tmaxLength: maxLength(15)\r\n\t\t\t\t},\r\n\t\t\t\tnotifyApiKey: {\r\n\t\t\t\t\trequired: requiredIf(vm => {\r\n\t\t\t\t\t\treturn vm.isDraft;\r\n\t\t\t\t\t})\r\n\t\t\t\t},\r\n\t\t\t\tselectedTemplate: {\r\n\t\t\t\t\trequired: requiredIf(vm => {\r\n\t\t\t\t\t\treturn vm.isDraft;\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n})\r\nexport default class GovNotifyServiceConfiguration extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\r\n\t@Prop({ default: () => [] }) public value!: GovNotifyServiceViewModel[];\r\n\r\n\t@Prop() public loading!: boolean;\r\n\r\n\tpublic messageCallbackUrl: string = govNotifyApi.getMessageWebhookUrl();\r\n\r\n\tpublic deliveryCallbackUrl: string = govNotifyApi.getDeliveryWebhookUrl();\r\n\r\n\tpublic loadingToken = false;\r\n\r\n\tpublic loadingTemplates = false;\r\n\r\n\tpublic serviceToDelete: GovNotifyServiceViewModel | null = null;\r\n\r\n\tpublic serviceDataTableColumns = [\r\n\t\t{ name: 'name', display: 'Name' },\r\n\t\t{ name: 'phoneNumber', display: 'Phone Number' },\r\n\t\t{ name: 'notifyApiKey', display: 'API Key' },\r\n\t\t{ name: 'templateName', display: 'Template' },\r\n\t\t{ name: 'bearerToken', display: 'Bearer Token' }\r\n\t];\r\n\r\n\tpublic serviceData: Array> = [];\r\n\r\n\tpublic hasInitialised = false;\r\n\r\n\t@Watch('value', { immediate: true })\r\n\tpublic onValueChange() {\r\n\t\tthis.serviceData = this.value;\r\n\t\tif (this.value.length === 0 && !this.loading && !this.hasInitialised) {\r\n\t\t\tthis.addEmptyRow();\r\n\t\t}\r\n\t\tif (this.value.length > 0) {\r\n\t\t\tthis.hasInitialised = true;\r\n\t\t}\r\n\t\tthis.$emit('error', this.$v.$invalid);\r\n\t}\r\n\r\n\tpublic async addEmptyRow() {\r\n\t\tthis.loadingToken = true;\r\n\t\ttry {\r\n\t\t\tconst newService = {\r\n\t\t\t\tbearerToken: 'Loading...',\r\n\t\t\t\tnotifyApiKey: '',\r\n\t\t\t\tname: '',\r\n\t\t\t\tphoneNumber: '',\r\n\t\t\t\tid: '',\r\n\t\t\t\tisDraft: true\r\n\t\t\t};\r\n\t\t\tthis.serviceData.push(newService);\r\n\r\n\t\t\tconst { bearerToken } = await govNotifyApi.getBearerToken(this.currentWorkspace.id);\r\n\r\n\t\t\tnewService.bearerToken = bearerToken;\r\n\t\t\tnewService.id = this.getServiceIdFromBearerToken(bearerToken);\r\n\r\n\t\t\tthis.$emit('input', this.serviceData);\r\n\t\t} catch (err) {\r\n\t\t\tToast.showError(err.message);\r\n\t\t}\r\n\t\tthis.loadingToken = false;\r\n\t}\r\n\r\n\tpublic async loadTemplates(service: GovNotifyServiceViewModel) {\r\n\t\tif (service.notifyApiKey === '') {\r\n\t\t\t// If the field is empty, don't fetch templates.\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.loadingTemplates = true;\r\n\t\ttry {\r\n\t\t\tconst response = await govNotifyApi.getTemplates(this.currentWorkspace.id, service.notifyApiKey);\r\n\r\n\t\t\tservice.templates = response.templates;\r\n\t\t} catch (err) {\r\n\t\t\tToast.showError(err.message);\r\n\t\t}\r\n\t\tthis.loadingTemplates = false;\r\n\t}\r\n\r\n\tpublic getTemplateOptions(service: GovNotifyServiceViewModel) {\r\n\t\tif (!service.templates) {\r\n\t\t\treturn [{ label: 'No templates configured', value: null }];\r\n\t\t}\r\n\t\treturn service.templates.map(template => ({ label: template.name, value: template }));\r\n\t}\r\n\r\n\tpublic getRowIndex(row: GovNotifyServiceViewModel) {\r\n\t\treturn this.serviceData.indexOf(row);\r\n\t}\r\n\r\n\tpublic onChange() {\r\n\t\tthis.$emit('error', this.$v.$invalid);\r\n\t\tthis.$emit('input', this.serviceData);\r\n\t}\r\n\r\n\tpublic onCopy() {\r\n\t\tToast.showInfo('Copied to clipboard');\r\n\t}\r\n\r\n\tpublic canLoadTemplates(row: GovNotifyServiceViewModel) {\r\n\t\treturn !this.loadingTemplates && row.notifyApiKey.length > 0;\r\n\t}\r\n\r\n\tpublic getErrorMessage(row: GovNotifyServiceViewModel, field: string, label: string): string {\r\n\t\tconst currentField = (this.$v.serviceData.$each as any)[this.getRowIndex(row)][field];\r\n\t\tif (!currentField.required && currentField.$dirty) {\r\n\t\t\treturn `${label} is required`;\r\n\t\t}\r\n\t\tif (!currentField.numeric && currentField.$params.numeric && currentField.$dirty) {\r\n\t\t\treturn `${label} must be numeric`;\r\n\t\t}\r\n\t\tif (!currentField.maxLength && currentField.$params.maxLength && currentField.$dirty) {\r\n\t\t\treturn `${label} must not be longer than ${currentField.$params.maxLength.max} characters`;\r\n\t\t}\r\n\t\treturn '';\r\n\t}\r\n\r\n\tpublic markAsTouched(row: GovNotifyServiceViewModel, field: string) {\r\n\t\tconst currentField = (this.$v.serviceData.$each as any)[this.getRowIndex(row)][field];\r\n\t\tcurrentField.$touch();\r\n\t}\r\n\r\n\tpublic handleDeleteClick(row: GovNotifyServiceViewModel) {\r\n\t\tthis.serviceToDelete = row;\r\n\t\tthis.deleteService();\r\n\t}\r\n\r\n\tpublic deleteService() {\r\n\t\tif (this.serviceToDelete) {\r\n\t\t\tthis.serviceData = this.serviceData.filter(service => service !== this.serviceToDelete);\r\n\t\t\tthis.$emit('input', this.serviceData);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getServiceIdFromBearerToken(bearerToken: string) {\r\n\t\tconst claims = JSON.parse(atob(bearerToken.split('.')[1]));\r\n\t\treturn claims.serviceId;\r\n\t}\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateTimeCondition.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateTimeCondition.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page\"},[_c('section',{staticClass:\"section content-container\"},[_c('div',{staticClass:\"container is-fluid\"},[_c('div',{staticClass:\"report-container island\"},[_c('BillableConversationsTrendChart',{attrs:{\"data\":_vm.chartData.billableConversationsTrendReport,\"loadedData\":_vm.loadedData,\"loadingError\":_vm.loadingError}})],1),_c('div',{staticClass:\"report-container island\"},[_c('ProactiveTriggersTrendChart',{attrs:{\"data\":_vm.chartData.proactiveTriggersTrendReport,\"loadedData\":_vm.loadedData,\"loadingError\":_vm.loadingError}})],1),_c('div',{staticClass:\"report-container island\"},[_c('ChannelMessagesTrendChart',{attrs:{\"data\":_vm.chartData.channelMessagesTrendReport,\"loadedData\":_vm.loadedData,\"loadingError\":_vm.loadingError}})],1)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Toast from '@/shared/services/toast';\r\nimport FileSaver from 'file-saver';\r\nimport { flowsApi } from '@/features/bots/services/flows';\r\n\r\nclass ExportFlow {\r\n\r\n\tpublic async exportFlow(botId: string, flowId: string): Promise {\r\n\t\ttry {\r\n\t\t\tconst response = await flowsApi.getFlow(botId, flowId);\r\n\t\t\tresponse.id = '';\r\n\t\t\tconst save: Blob = new Blob([JSON.stringify(response, (key, value) => {\r\n\t\t\t\tif (value !== null) {\r\n\t\t\t\t\treturn value;\r\n\t\t\t\t}\r\n\t\t\t})], { type: 'application/json;charset=utf-8' });\r\n\t\t\tFileSaver.saveAs(save, `${response.name}.json`);\r\n\t\t} catch (e) {\r\n\t\t\tToast.showError('Failed to export flow');\r\n\t\t}\r\n\t}\r\n}\r\n\r\nexport const exportFlowHelper = new ExportFlow();\r\n","import { render, staticRenderFns } from \"./WebAssistantImageUpload.vue?vue&type=template&id=60b41190&scoped=true\"\nimport script from \"./WebAssistantImageUpload.vue?vue&type=script&lang=ts\"\nexport * from \"./WebAssistantImageUpload.vue?vue&type=script&lang=ts\"\nimport style0 from \"./WebAssistantImageUpload.vue?vue&type=style&index=0&id=60b41190&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"60b41190\",\n null\n \n)\n\nexport default component.exports","import {ActionTree} from 'vuex';\r\nimport {FlowDesignerState} from '.';\r\nimport { LOAD_FLOW, LOAD_FLOWS, SAVE_FLOW, UPDATE_STATUS } from './actionTypes';\r\nimport {SET_CURRENT_PATH, ADD_PATH} from './paths/mutationTypes';\r\nimport {AppState} from '../app';\r\nimport {\r\n\tSET_CURRENT_FLOW,\r\n\tRESET_CHANGE_TRACKER,\r\n\tSET_FLOWS,\r\n\tSET_FLOW_VARIABLES,\r\n\tSET_FLOW_STATUS,\r\n\tUPDATE_FLOW,\r\n} from './mutationTypes';\r\nimport {UpdateBotFlowViewModel} from '@/features/bots/models/request/updateBotFlowViewModel';\r\nimport {HANDLE_SERIOUS_ERROR} from '../app/actionTypes';\r\nimport shortid from 'shortid';\r\nimport { InputVariableViewModel, PathViewModel, StateViewModel } from '@/features/bots/models/designer';\r\nimport {flowsApi} from '@/features/bots/services/flows';\r\nimport { ConditionGroup } from '@/shared/components/conditions/models/conditionGroup';\r\nimport { ConditionViewModel } from '@/shared/components/conditions/models/conditionViewModel';\r\nimport { ContactAttributeViewModel } from '@/messaging/models/ContactAttributeViewModel';\r\nimport {BusinessHoursViewModel} from '@/features/bots/models';\r\nimport { FlowStatus } from '@/features/bots/models/flowStatus';\r\nimport { LOAD_INTENTS } from '@/store/intents/actionTypes';\r\nimport { IntentListItemViewModel } from '@/features/bots/models/intents/intentListItemViewModel';\r\n\r\n\r\nexport const actions: ActionTree = {\r\n\tasync [LOAD_FLOW]({commit, getters, rootState, dispatch}, flowId: string) {\r\n\t\tconst currentWorkspace = (rootState as any).app.currentWorkspace;\r\n\t\tif (!currentWorkspace) {\r\n\t\t\treturn dispatch(HANDLE_SERIOUS_ERROR, 'No workspace selected');\r\n\t\t}\r\n\r\n\t\ttry {\r\n\t\t\tconst flow = await flowsApi.getFlow(currentWorkspace.id, flowId);\r\n\t\t\tcommit(SET_CURRENT_FLOW, flow);\r\n\t\t\t// Update any storedVariables mapped to contact attributes to have correct name and a data type\r\n\t\t\tconst flowVariables: InputVariableViewModel[] = [];\r\n\t\t\tflow.paths.forEach(path => {\r\n\t\t\t\tpath.states.forEach(state => {\r\n\t\t\t\t\tgetTransitionPayloads(state).forEach(payload => {\r\n\t\t\t\t\t\tif (getters.isTransitionPayloadInvalid(payload)) {\r\n\t\t\t\t\t\t\tstate.invalid = true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t\tif (state.storedVariable) {\r\n\t\t\t\t\t\tif (state.storedVariable.scope !== 'flow') {\r\n\t\t\t\t\t\t\tconst attributeId = state.storedVariable.key;\r\n\t\t\t\t\t\t\tconst attribute = getters.getAttribute(attributeId);\r\n\t\t\t\t\t\t\tstate.storedVariable.dataType = attribute ? attribute.type : undefined;\r\n\t\t\t\t\t\t\tstate.storedVariable.name = attribute ? attribute.name : state.storedVariable.name;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tif (flowVariables.find(v => v.scope === state.storedVariable!.scope && v.key === state.storedVariable!.key) === undefined) {\r\n\t\t\t\t\t\t\t\tflowVariables.push(state.storedVariable);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t\tconst intentCondition = flow.triggerConditions ? ConditionGroup.find(flow.triggerConditions, (condition: ConditionViewModel) => condition.type === 'intent') : null;\r\n\t\t\tif (intentCondition) {\r\n\t\t\t\tconst allIntents: IntentListItemViewModel[] = await dispatch(LOAD_INTENTS);\r\n\t\t\t\tintentCondition.invalid = !isIntentConditionValid(intentCondition, allIntents);\r\n\t\t\t}\r\n\r\n\t\t\tConditionGroup.forEachCondition(flow.audienceConditions, (condition: ConditionViewModel) => {\r\n\t\t\t\tif (!condition.invalid) {\r\n\t\t\t\t\tconst attribute: ContactAttributeViewModel = getters.getAttribute(condition.attribute.substring(condition.attribute.lastIndexOf('.') + 1));\r\n\t\t\t\t\tcondition.invalid = !attribute || attribute.archived;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tcommit(SET_FLOW_VARIABLES, flowVariables);\r\n\r\n\t\t\t// ensure there's a 'first path'\r\n\t\t\tlet firstPathId = '';\r\n\t\t\tif (flow.paths.length > 0) {\r\n\t\t\t\tfirstPathId = flow.paths[0].id;\r\n\t\t\t} else {\r\n\t\t\t\tconst firstPath = {\r\n\t\t\t\t\tid: `path-${shortid.generate()}`,\r\n\t\t\t\t\tname: `Welcome`,\r\n\t\t\t\t\tstates: [],\r\n\t\t\t\t} as PathViewModel;\r\n\r\n\t\t\t\tcommit(ADD_PATH, firstPath);\r\n\t\t\t\tfirstPathId = firstPath.id;\r\n\t\t\t}\r\n\r\n\t\t\tcommit(RESET_CHANGE_TRACKER);\r\n\t\t\tcommit(SET_CURRENT_PATH, firstPathId);\r\n\t\t\treturn flow;\r\n\t\t} catch (err) {\r\n\t\t\tdispatch(HANDLE_SERIOUS_ERROR, err.message);\r\n\t\t}\r\n\t},\r\n\r\n\tasync [SAVE_FLOW]({state, rootState, dispatch, getters, commit}) {\r\n\t\tconst currentWorkspace = (rootState as any).app.currentWorkspace;\r\n\t\tif (!currentWorkspace) {\r\n\t\t\treturn dispatch(HANDLE_SERIOUS_ERROR, 'No workspace selected');\r\n\t\t}\r\n\r\n\t\tif (!getters.hasMadeChanges) {\r\n\t\t\treturn Promise.resolve();\r\n\t\t}\r\n\r\n\t\tif (getters.isFlowInvalid) {\r\n\t\t\tthrow new Error('The flow is invalid. Fix the problems highlighted and try again');\r\n\t\t}\r\n\r\n\t\tconst request = {} as UpdateBotFlowViewModel;\r\n\r\n\t\tif (getters.hasPathsChanged) {\r\n\t\t\trequest.paths = state.currentFlow.paths;\r\n\t\t}\r\n\r\n\t\tif (getters.hasNameChanged) {\r\n\t\t\trequest.name = state.currentFlow.name;\r\n\t\t}\r\n\r\n\t\tif (getters.hasTriggersChanged) {\r\n\t\t\trequest.triggers = state.currentFlow.triggers;\r\n\t\t}\r\n\r\n\t\tif (getters.hasConditionsChanged) {\r\n\t\t\trequest.triggerConditions = state.currentFlow.triggerConditions;\r\n\t\t\trequest.audienceConditions = state.currentFlow.audienceConditions;\r\n\t\t\trequest.targetContactTypes = state.currentFlow.targetContactTypes;\r\n\t\t\tif (state.currentFlow.scheduleCondition) {\r\n\t\t\t\trequest.scheduleCondition = state.currentFlow.scheduleCondition;\r\n\t\t\t}\r\n\t\t\trequest.businessHours = state.currentFlow.businessHours.map((val: BusinessHoursViewModel) => {\r\n\t\t\t\tif (val.closed) {\r\n\t\t\t\t\tval.startTime = undefined;\r\n\t\t\t\t\tval.endTime = undefined;\r\n\t\t\t\t}\r\n\t\t\t\treturn val;\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\ttry {\r\n\t\t\tconst updatedFlow = await flowsApi.updateFlow((rootState as any).app.currentWorkspace.id, state.currentFlow.id, request);\r\n\t\t\tcommit(UPDATE_FLOW, updatedFlow);\r\n\t\t\treturn updatedFlow;\r\n\t\t} catch (err) {\r\n\t\t\tthrow new Error(`Error saving flow: ${err.message}`);\r\n\t\t}\r\n\t},\r\n\r\n\tasync [LOAD_FLOWS]({commit, rootState, dispatch, state}, doLoad: boolean) {\r\n\t\tconst currentWorkspace = (rootState as any).app.currentWorkspace;\r\n\t\tif (!currentWorkspace) {\r\n\t\t\treturn dispatch(HANDLE_SERIOUS_ERROR, 'No workspace selected');\r\n\t\t}\r\n\r\n\t\tif (doLoad || !state.flows || state.flows.length === 0) {\r\n\t\t\ttry {\r\n\t\t\t\tconst data = await flowsApi.getFlows(currentWorkspace.id);\r\n\t\t\t\tif (data && data.flows) {\r\n\t\t\t\t\tcommit(SET_FLOWS, data.flows);\r\n\t\t\t\t}\r\n\t\t\t} catch (err) {\r\n\t\t\t\tthrow new Error(`Error loading flows: ${err.message}`);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn state.flows;\r\n\t},\r\n\r\n\tasync [UPDATE_STATUS]({ commit, rootState, dispatch, state }, status: FlowStatus) {\r\n\t\tconst currentWorkspace = (rootState as any).app.currentWorkspace;\r\n\t\tif (!currentWorkspace) {\r\n\t\t\treturn dispatch(HANDLE_SERIOUS_ERROR, 'No workspace selected');\r\n\t\t}\r\n\t\ttry {\r\n\t\t\tawait flowsApi.updateFlow(currentWorkspace.id, state.currentFlow.id, {status});\r\n\t\t\tcommit(SET_FLOW_STATUS, status);\r\n\t\t} catch (err) {\r\n\t\t\tthrow new Error(`Error updating flow status: ${err.message}`);\r\n\t\t}\r\n\t},\r\n};\r\n\r\nfunction isIntentConditionValid(intentCondition: ConditionViewModel, allIntents: IntentListItemViewModel[]): boolean {\r\n\tconst intentId = intentCondition.value;\r\n\tconst intent = allIntents.find(i => i.id === intentId);\r\n\treturn !!intent;\r\n}\r\n\r\nfunction getTransitionPayloads(state: StateViewModel): Set {\r\n\tconst flows = new Set();\r\n\r\n\tif (state.decisions) {\r\n\t\tstate.decisions.forEach((decision) => {\r\n\t\t\tif (decision.transition && decision.transition.payload) {\r\n\t\t\t\tflows.add(decision.transition.payload);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tif (state.options) {\r\n\t\tstate.options.forEach((option) => {\r\n\t\t\tif (option.transition && option.transition.payload) {\r\n\t\t\t\tflows.add(option.transition.payload);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tif (state.noMatch && state.noMatch.payload) {\r\n\t\tflows.add(state.noMatch.payload);\r\n\t}\r\n\r\n\tif (state.transition && state.transition.payload) {\r\n\t\tflows.add(state.transition.payload);\r\n\t}\r\n\r\n\treturn flows;\r\n}\r\n\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.isScreenVisible('edit'))?_c('n-data-table',{attrs:{\"items\":_vm.entryPoints,\"columns\":_vm.getColumns()},on:{\"cellClicked\":function (row) { return _vm.showScreen('edit', row); }},scopedSlots:_vm._u([{key:\"verificationStatus\",fn:function(ref){\nvar row = ref.row;\nreturn [_c('n-badge',{attrs:{\"variant\":_vm.getVerificationStatusBadgeType(row.verificationStatus)}},[_vm._v(_vm._s(_vm.getVerificationStatusMessage(row.verificationStatus)))])]}},{key:\"launchStatus\",fn:function(ref){\nvar row = ref.row;\nreturn [_c('n-badge',{attrs:{\"variant\":_vm.getLaunchStatusBadgeType(row.launchStatus)}},[_vm._v(_vm._s(_vm.getLaunchStatusMessage(row.launchStatus)))])]}},{key:\"actions\",fn:function(ref){\nvar row = ref.row;\nreturn [_c('DropDownMenu',{attrs:{\"goLeft\":\"true\",\"dropDownIcon\":\"dots\"}},[_c('a',{staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.showScreen('test', row)}}},[_c('Flask'),_c('span',{staticClass:\"action-label\"},[_vm._v(\"Test\")])],1),(_vm.isRowUnverified(row))?_c('a',{staticClass:\"dropdown-item row-verification\",on:{\"click\":function($event){return _vm.showScreen('verify', row)}}},[_c('Check'),_c('span',{staticClass:\"action-label\"},[_vm._v(\"Request Verification\")])],1):_vm._e(),(_vm.isVerificationPending(row))?_c('a',{staticClass:\"dropdown-item cancel-verification\",on:{\"click\":function($event){return _vm.showScreen('cancel', row)}}},[_c('Close'),_c('span',{staticClass:\"action-label\"},[_vm._v(\"Cancel Verification\")])],1):_vm._e(),(_vm.isRowReadyForLaunch(row))?_c('a',{staticClass:\"dropdown-item row-launch\",on:{\"click\":function($event){return _vm.showScreen('launch', row)}}},[_c('Rocket'),_c('span',{staticClass:\"action-label\"},[_vm._v(\"Request Launch\")])],1):_vm._e(),(_vm.isRowLaunchedOrPending(row))?_c('a',{staticClass:\"dropdown-item unlaunch\",on:{\"click\":function($event){return _vm.showScreen('unlaunch', row)}}},[_c('Close'),_c('span',{staticClass:\"action-label\"},[_vm._v(\"Unlaunch\")])],1):_vm._e()])]}}],null,false,3481325921)}):_vm._e(),(_vm.isScreenVisible('edit'))?_c('GoogleBmEditAgent',{attrs:{\"agent\":_vm.selectedRow},on:{\"configSaved\":_vm.agentUpdated,\"cancel\":function($event){return _vm.hideScreen()}}}):_vm._e(),(_vm.isScreenVisible('test'))?_c('GoogleBmAgentTestModal',{attrs:{\"agent\":_vm.selectedRow},on:{\"cancel\":function($event){return _vm.hideScreen()}}}):_vm._e(),(_vm.isScreenVisible('verify'))?_c('GoogleBmVerificationModal',{attrs:{\"item\":_vm.selectedRow},on:{\"verify\":function($event){return _vm.hideScreen()},\"cancel\":function($event){return _vm.hideScreen()}}}):_vm._e(),(_vm.isScreenVisible('cancel'))?_c('GoogleBmCancelVerificationModal',{attrs:{\"agent\":_vm.selectedRow},on:{\"cancelVerification\":function($event){return _vm.hideScreen()},\"cancel\":function($event){return _vm.hideScreen()}}}):_vm._e(),(_vm.isScreenVisible('launch'))?_c('GoogleBmLaunchModal',{attrs:{\"item\":_vm.selectedRow},on:{\"launch\":function($event){return _vm.hideScreen()},\"cancel\":function($event){return _vm.hideScreen()}}}):_vm._e(),(_vm.isScreenVisible('unlaunch'))?_c('GoogleBmUnlaunchModal',{attrs:{\"item\":_vm.selectedRow},on:{\"unlaunch\":function($event){return _vm.hideScreen()},\"cancel\":function($event){return _vm.hideScreen()}}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./ConversationControlBar.vue?vue&type=template&id=4c70c92a&scoped=true\"\nimport script from \"./ConversationControlBar.vue?vue&type=script&lang=ts\"\nexport * from \"./ConversationControlBar.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ConversationControlBar.vue?vue&type=style&index=0&id=4c70c92a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4c70c92a\",\n null\n \n)\n\nexport default component.exports","import urljoin from 'url-join';\r\nimport { api } from '@/shared/services/baseApiClient';\r\nimport { config } from '@/config/config';\r\nimport { UninstallAppRequest } from '../../shared/models';\r\nimport { IAppApiUninstall } from '../../shared/services/appApiFactory';\r\nimport { InstallGovNotifyRequest } from '../models/request/installGovNotifyRequest';\r\nimport { GovNotifyInstalledApp } from '../models/govNotifyInstalledApp';\r\nimport { GetGovNotifyTemplatesViewModel } from '../models/response/getGovNotifyTemplatesViewModel';\r\nimport { GetGovNotifyTemplatesRequest } from '../models/request/getGovNotifyTemplatesRequest';\r\nimport { GovNotifyBearerTokenViewModel } from '../models/govNotifyBearerTokenViewModel';\r\nimport { GetGovNotifyBearerTokenRequest } from '../models/request/getGovNotifyBearerTokenRequest';\r\nimport { GovNotifyServiceViewModel } from '../models/govNotifyServiceViewModel';\r\n\r\nclass GovNotifyApiService implements IAppApiUninstall {\r\n\tprivate version = 'v1';\r\n\r\n\tpublic getDeliveryWebhookUrl() {\r\n\t\treturn `${config().govNotifyHost}/${this.version}/webhook/delivery`;\r\n\t}\r\n\r\n\tpublic getMessageWebhookUrl() {\r\n\t\treturn `${config().govNotifyHost}/${this.version}/webhook/message`;\r\n\t}\r\n\r\n\tpublic install(\r\n\t\trequest: InstallGovNotifyRequest\r\n\t): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'POST',\r\n\t\t\turljoin(config().govNotifyHost, this.version, 'app', 'install'),\r\n\t\t\trequest\r\n\t\t);\r\n\t}\r\n\r\n\tpublic uninstall(\r\n\t\tworkspaceId: string,\r\n\t\tinstallId: string\r\n\t): Promise {\r\n\t\tconst request = {\r\n\t\t\tworkspaceId,\r\n\t\t\tinstallId\r\n\t\t} as UninstallAppRequest;\r\n\r\n\t\treturn api.send(\r\n\t\t\t'POST',\r\n\t\t\turljoin(config().govNotifyHost, this.version, 'app', 'uninstall'),\r\n\t\t\trequest);\r\n\t}\r\n\r\n\tpublic getInstalledApp(\r\n\t\tworkspaceId: string\r\n\t): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'GET',\r\n\t\t\turljoin(config().govNotifyHost, this.version, `app?workspaceid=${workspaceId}`)\r\n\t\t);\r\n\t}\r\n\r\n\tpublic getTemplates(\r\n\t\tworkspaceId: string,\r\n\t\tapiKey: string\r\n\t): Promise {\r\n\t\tconst request = {\r\n\t\t\tworkspaceId,\r\n\t\t\tapiKey\r\n\t\t} as GetGovNotifyTemplatesRequest;\r\n\t\treturn api.send(\r\n\t\t\t'POST',\r\n\t\t\turljoin(config().govNotifyHost, this.version, 'templates'),\r\n\t\t\trequest\r\n\t\t);\r\n\t}\r\n\r\n\tpublic getBearerToken(workspaceId: string): Promise {\r\n\t\tconst request = {\r\n\t\t\tworkspaceId\r\n\t\t} as GetGovNotifyBearerTokenRequest;\r\n\t\treturn api.send(\r\n\t\t\t'POST',\r\n\t\t\turljoin(config().govNotifyHost, this.version, 'token'),\r\n\t\t\trequest\r\n\t\t);\r\n\t}\r\n\r\n\tpublic getServices(workspaceId: string): Promise {\r\n\t\treturn api.send('GET', urljoin(config().govNotifyHost, this.version, 'workspaces', workspaceId, 'services'));\r\n\t}\r\n\r\n\tpublic updateServices(workspaceId: string, services: GovNotifyServiceViewModel[]) {\r\n\t\treturn api.send('PATCH', urljoin(config().govNotifyHost, this.version, 'workspaces', workspaceId, 'services'), services);\r\n\t}\r\n\r\n\tpublic canUninstall(): boolean {\r\n\t\treturn true;\r\n\t}\r\n\r\n\tpublic getUninstallNotAllowedMessage(): string {\r\n\t\treturn '';\r\n\t}\r\n}\r\n\r\nexport const govNotifyApi = new GovNotifyApiService();\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextComponent.vue?vue&type=style&index=0&id=462acd7e&prod&scoped=true&lang=scss\"","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&id=3949fb83&prod&lang=scss\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoToComponent.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoToComponent.vue?vue&type=script&lang=ts\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./govuknotifysmsConfig.vue?vue&type=style&index=0&id=6cfa3f7b&prod&scoped=true&lang=scss\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TimeOfDayCondition.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TimeOfDayCondition.vue?vue&type=script&lang=ts\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TriggerScheduler.vue?vue&type=style&index=0&id=6dacb4e2&prod&scoped=true&lang=scss\"","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FriendlyDateTime.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FriendlyDateTime.vue?vue&type=script&lang=ts\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InputStringComponent.vue?vue&type=style&index=0&id=7778dfc6&prod&scoped=true&lang=scss\"","import { render, staticRenderFns } from \"./FlowSelector.vue?vue&type=template&id=794d9ff3&scoped=true\"\nimport script from \"./FlowSelector.vue?vue&type=script&lang=ts\"\nexport * from \"./FlowSelector.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FlowSelector.vue?vue&type=style&index=0&id=794d9ff3&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"794d9ff3\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"picker-container\"},[_c('div',_vm._l((_vm.availableConditions),function(option){return _c('a',{key:option.id,staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.chooseOption(option)}}},[_c('Icon',{attrs:{\"icon\":_vm.getIconComponent(option)}}),_c('span',{staticClass:\"item-title\"},[_vm._v(_vm._s(option.title))])],1)}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import urljoin from 'url-join';\r\nimport axios from 'axios';\r\nimport { BusinessLocation } from '../models/businessLocation';\r\n\r\nclass GoogleMyBusinessApi {\r\n\tpublic async getLocations(accessToken: string, accountId: string): Promise {\r\n\t\tconst url = urljoin('https://mybusinessbusinessinformation.googleapis.com/v1/accounts', accountId, 'locations');\r\n\t\tconst headers = {\r\n\t\t\tAuthorization: `Bearer ${accessToken}`\r\n\t\t};\r\n\t\treturn axios.get(url, { headers });\r\n\t}\r\n}\r\n\r\nexport const googleMyBusinessApi = new GoogleMyBusinessApi();\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./twitterAuthPopup.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./twitterAuthPopup.vue?vue&type=script&lang=ts\"","import WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport {SET_CURRENT_WORKSPACE} from '@/store/app/mutationTypes';\r\n\r\nexport default class CurrentWorkspaceHelper {\r\n\r\n\tpublic static selectCurrentWorkspace(data: WorkspaceViewModel[], commit: any) {\r\n\t\tconst lastStoredWorkspaceId = localStorage.getItem('CurrentWorkspace');\r\n\t\tif (lastStoredWorkspaceId == null || !data.some(workspace => workspace.id === lastStoredWorkspaceId)) {\r\n\t\t\tcommit(SET_CURRENT_WORKSPACE, data[0]);\r\n\t\t} else {\r\n\t\t\tthis.setToPreviousWorkspace(data, lastStoredWorkspaceId, commit);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic static setToPreviousWorkspace(data: WorkspaceViewModel[], lastStoredWorkspaceId: string, commit: any) {\r\n\t\tdata.forEach(workspace => {\r\n\t\t\tif (workspace.id === lastStoredWorkspaceId) {\r\n\t\t\t\tcommit(SET_CURRENT_WORKSPACE, workspace);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tpublic static storeCurrentWorkspace(workspaceId: string) {\r\n\t\tlocalStorage.setItem('CurrentWorkspace', workspaceId);\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InviteUser.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InviteUser.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./UpgradeBanner.vue?vue&type=template&id=6455db7f\"\nimport script from \"./UpgradeBanner.vue?vue&type=script&lang=ts\"\nexport * from \"./UpgradeBanner.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConversationControlBar.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConversationControlBar.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddAnswerModal.vue?vue&type=template&id=a704dff0&scoped=true\"\nimport script from \"./AddAnswerModal.vue?vue&type=script&lang=ts\"\nexport * from \"./AddAnswerModal.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a704dff0\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BusinessHoursSelection.vue?vue&type=style&index=0&id=9104ba94&prod&scoped=true&lang=scss\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport Draggable from 'vuedraggable';\r\nimport shortid from 'shortid';\r\nimport { PathViewModel, Path } from '@/features/bots/models/designer';\r\nimport PathDesigner from '../components/designer/PathDesigner.vue';\r\nimport {Action, Getter, Mutation} from 'vuex-class';\r\nimport { SET_PATHS, ADD_PATH, SET_CURRENT_PATH } from '@/store/bot-designer/paths/mutationTypes';\r\nimport DragIcon from '@/shared/components/DragIcon.vue';\r\nimport ErrorIcon from 'vue-material-design-icons/AlertCircleOutline.vue';\r\nimport AddIcon from 'vue-material-design-icons/PlusCircle.vue';\r\nimport HelpIcon from 'vue-material-design-icons/HelpCircleOutline.vue';\r\nimport {LOAD_HOLIDAYS} from '@/store/holidays/actionTypes';\r\nimport {HolidayViewModel} from '@/features/bots/models/holidayViewModel';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tDraggable,\r\n\t\tPathDesigner,\r\n\t\tDragIcon,\r\n\t\tErrorIcon,\r\n\t\tAddIcon,\r\n\t\tHelpIcon\r\n\t}\r\n})\r\nexport default class FlowEditor extends Vue {\r\n\t@Getter public paths!: PathViewModel[];\r\n\t@Getter public currentPath!: Path;\r\n\t@Getter public firstPath!: PathViewModel;\r\n\t@Getter public isPathInvalid!: boolean;\r\n\t@Mutation(SET_PATHS) public setPaths: (paths: PathViewModel[]) => void;\r\n\t@Mutation(ADD_PATH) public addPath: (path: PathViewModel) => void;\r\n\t@Mutation(SET_CURRENT_PATH) public setCurrentPath: (id: string) => void;\r\n\t@Action(LOAD_HOLIDAYS) public loadHolidays: () => Promise;\r\n\r\n\tpublic async created() {\r\n\t\t// Holidays need to be loaded before trigger box opened\r\n\t\tawait this.loadHolidays();\r\n\t}\r\n\r\n\tget reorderablePathList() {\r\n\t\treturn this.paths.slice(1);\r\n\t}\r\n\r\n\tset reorderablePathList(value) {\r\n\t\tvalue.unshift(this.firstPath); // add the first path back onto the list\r\n\t\tthis.setPaths(value);\r\n\t}\r\n\r\n\tpublic addNewPath() {\r\n\t\tconst newPath = {\r\n\t\t\tid: `path-${shortid.generate()}`,\r\n\t\t\tname: `New Path`,\r\n\t\t\tstates: [],\r\n\t\t} as PathViewModel;\r\n\r\n\t\tthis.addPath(newPath);\r\n\t\tthis.setCurrentPath(newPath.id);\r\n\t}\r\n\r\n\tpublic isPathActive(pathId: string): boolean {\r\n\t\treturn this.currentPath && this.currentPath.id === pathId;\r\n\t}\r\n\r\n}\r\n","import { render, staticRenderFns } from \"./AppModal.vue?vue&type=template&id=3165601e&scoped=true\"\nimport script from \"./AppModal.vue?vue&type=script&lang=ts\"\nexport * from \"./AppModal.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AppModal.vue?vue&type=style&index=0&id=3165601e&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3165601e\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UpdateHoliday.vue?vue&type=style&index=0&id=6978b05f&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"decision-container\"},[(_vm.canDelete)?_c('div',{staticClass:\"decision-container__delete-icon\"},[_c('svg',{staticClass:\"trash-icon\",on:{\"click\":_vm.deleteDecision}},[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":\"#trash\"}})])]):_vm._e(),_c('div',{staticClass:\"decision-container__drag-icon handle\"},[_c('DragIcon',{staticClass:\"icon-1-5x drag-icon\",attrs:{\"color\":\"#A9A9A9\"}})],1),_c('div',{staticClass:\"decision-container__clause\"},[_c('TagBox',{attrs:{\"value\":\"if\"}}),_c('div',{staticClass:\"decision-container__condition\"},[_c('ConditionGroupBuilder',{attrs:{\"value\":_vm.providedDecision.conditions,\"manager\":_vm.decisionConditionsManager,\"disabled\":false,\"context\":\"condition\"},on:{\"updated\":_vm.conditionUpdated}}),(!_vm.$v.providedDecision.conditions.conditions.required && _vm.$v.providedDecision.$anyDirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\tMust configure a condition\\n\\t\\t\\t\")]):_vm._e(),(_vm.$v.providedDecision.conditions.conditions.$invalid && !_vm.$v.providedDecision.conditions.conditions.conditionValid && _vm.$v.providedDecision.$anyDirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\tMust not contain an invalid condition\\n\\t\\t\\t\")]):_vm._e()],1)],1),_c('div',{staticClass:\"decision-container__transition\"},[_c('TagBox',{attrs:{\"value\":\"then\"}}),_c('div',{staticClass:\"decision-container__transition-picker\"},[_c('TransitionPicker',{attrs:{\"transition\":_vm.providedDecision.transition},on:{\"transition-selected\":_vm.transitionSelected}}),(_vm.$v.providedDecision.transition.$invalid && _vm.$v.providedDecision.$anyDirty && _vm.$v.providedDecision.transition.payload.payloadValid)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\tMust select a transition\\n\\t\\t\\t\")]):_vm._e(),(_vm.$v.providedDecision.transition.payload.$invalid && !_vm.$v.providedDecision.transition.payload.payloadValid)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\tMust not contain an invalid transition\\n\\t\\t\\t\")]):_vm._e()],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue';\r\nimport { default as ColourPicker } from '@/shared/services/color';\r\nimport { Component, Prop, Watch } from 'vue-property-decorator';\r\nimport { HomescreenAppInitViewModel } from '../../models/response/homescreenAppInitViewModel';\r\nimport HomeScreenHeader from './HomeScreenHeader.vue';\r\nimport HomeScreenPanelStartChat from './HomeScreenPanelStartChat.vue';\r\nimport CardRenderer from '@/shared/components/cardRenderer/CardRenderer.vue';\r\nimport { Card } from '@/shared/components/cardRenderer';\r\n\r\n@Component({\r\n\tcomponents: { HomeScreenHeader, HomeScreenPanelStartChat, CardRenderer }\r\n})\r\nexport default class HomeScreenPreview extends Vue {\r\n\t@Prop() public brandColour: string;\r\n\t@Prop() public actionColour: string;\r\n\t@Prop() public homescreenImageUrl: string;\r\n\t@Prop() public greetingText: string;\r\n\t@Prop() public introductionText: string;\r\n\t@Prop() public typicalResponseTime: string;\r\n\r\n\t@Prop() public homescreenApps: HomescreenAppInitViewModel[];\r\n\r\n\tpublic cards: Card[] = [];\r\n\r\n\tpublic $refs: {\r\n\t\tpanelContainer: HTMLElement,\r\n\t};\r\n\r\n\t@Watch('homescreenApps')\r\n\tpublic onHomescreenAppsChanged(value: HomescreenAppInitViewModel[]) {\r\n\t\tthis.cards = value.map(app => ({ id: app.id, content: app.card }));\r\n\t}\r\n\r\n\tpublic getDarkPrimary() {\r\n\t\treturn ColourPicker.darken(this.brandColour, 12);\r\n\t}\r\n\r\n\tget textColour() {\r\n\t\treturn ColourPicker.getContrastingColour(this.brandColour);\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tLoadingSpinner\r\n\t},\r\n})\r\nexport default class PrivateApps extends Vue {\r\n\tpublic isLoading: boolean = true;\r\n\r\n\tpublic loading() {\r\n\t\tthis.isLoading = true;\r\n\t}\r\n\tpublic loaded() {\r\n\t\tthis.isLoading = false;\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./TagBox.vue?vue&type=template&id=42462076\"\nimport script from \"./TagBox.vue?vue&type=script&lang=ts\"\nexport * from \"./TagBox.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"multiselect-container\",class:_vm.dropdownAlignment},[_c('multiselect',{attrs:{\"value\":_vm.value,\"searchable\":false,\"options\":_vm.options,\"multiple\":true,\"close-on-select\":false,\"clear-on-select\":false,\"preserve-search\":true,\"label\":_vm.displayAttribute,\"track-by\":_vm.idAttribute,\"preselect-first\":false,\"showLabels\":false,\"allowEmpty\":false},on:{\"input\":_vm.onInput},scopedSlots:_vm._u([{key:\"caret\",fn:function(ref){\nvar toggle = ref.toggle;\nreturn [_c('button',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.left\",value:(_vm.tooltip),expression:\"tooltip\",modifiers:{\"left\":true}}],staticClass:\"button\",on:{\"mousedown\":function($event){$event.preventDefault();$event.stopPropagation();return toggle()}}},[_vm._t(\"button-display\")],2)]}},{key:\"option\",fn:function(props){return [_c('div',{staticClass:\"option__content\"},[_c('input',{attrs:{\"type\":\"checkbox\",\"disabled\":_vm.isLastOptionSelected(props.option)},domProps:{\"checked\":_vm.isOptionSelected(props.option)}}),_c('span',{staticClass:\"option__title\"},[_vm._v(_vm._s(_vm.getDisplayLabel(props.option)))])])]}}],null,true)},[_c('template',{slot:\"selection\"},[_c('span')])],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Email.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Email.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Vue} from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class AnswerIcon extends Vue {\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LineChart.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LineChart.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"dropdown\",class:{'is-active': this.isOpen, 'is-up' : this.isUp,\n\t\t'is-left': this.direction === 'left',\n\t\t'is-right': this.direction === 'right'},style:({ top: _vm.getTopDistance()})},[(_vm.showButton)?_c('div',{directives:[{name:\"on-clickaway\",rawName:\"v-on-clickaway\",value:(_vm.closePicker),expression:\"closePicker\"}],staticClass:\"dropdown-trigger\",on:{\"click\":_vm.togglePicker}},[_c('button',{staticClass:\"button\"},[(_vm.isFlowVariableSelected())?_c('span',{staticClass:\"icon\"},[_c('Icon',{attrs:{\"icon\":\"FlowVariableIcon\"}})],1):_vm._e(),(_vm.isAppUserVariableSelected())?_c('span',{staticClass:\"icon\"},[_c('Icon',{attrs:{\"icon\":_vm.getIconComponent(_vm.selected)}})],1):_vm._e(),_c('span',[_vm._v(_vm._s(_vm.getDescription()))]),_c('span',{staticClass:\"icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"angle-down\"}})],1)])]):_vm._e(),_c('div',{staticClass:\"dropdown-menu\",attrs:{\"id\":\"dropdown-menu\",\"role\":\"menu\"}},[_c('div',{staticClass:\"dropdown-content\"},[_c('div',{staticClass:\"scrollable-item-list\"},[_vm._m(0),_vm._l((_vm.contactVariables),function(variable){return _c('a',{key:variable.id,staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.chooseVariable(variable)}}},[_c('Icon',{attrs:{\"icon\":_vm.getIconComponent(variable)}}),_c('span',{staticClass:\"item-title\"},[_vm._v(_vm._s(variable.name))])],1)}),(!_vm.readonly)?_c('a',{staticClass:\"dropdown-item add-item\",attrs:{\"id\":\"add-attribute\"},on:{\"click\":_vm.openNewAttributeModal}},[_c('AddIcon'),_c('span',{staticClass:\"item-title\"},[_vm._v(\"Add new attribute\")])],1):_vm._e(),(!_vm.readonly || _vm.flowVariables.length > 0)?_c('hr',{staticClass:\"dropdown-divider\"}):_vm._e(),(!_vm.readonly || _vm.flowVariables.length > 0)?_c('div',{staticClass:\"dropdown-item item-group-heading\"},[_c('span',[_vm._v(\"Flow\")])]):_vm._e(),_vm._l((_vm.flowVariables),function(variable){return _c('a',{key:variable.id,staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.chooseVariable(variable)}}},[_c('Icon',{attrs:{\"icon\":\"FlowVariableIcon\"}}),_c('span',{staticClass:\"item-title\"},[_vm._v(_vm._s(variable.name))])],1)}),(!_vm.readonly)?_c('a',{staticClass:\"dropdown-item add-item\",attrs:{\"id\":\"add-variable\"},on:{\"click\":_vm.openNewVariableModal}},[_c('AddIcon'),_c('span',{staticClass:\"item-title\"},[_vm._v(\"Add new variable\")])],1):_vm._e()],2)])]),(!_vm.showButton && _vm.isOpen)?_c('div',{class:{'arrow-down' : _vm.isUp, 'arrow-up' : !_vm.isUp}},[_c('div',{staticClass:\"inner-arrow\"})]):_vm._e()]),(_vm.showNewVariableModal)?_c('AddNewVariableModal',{on:{\"added\":_vm.variableAdded,\"close\":_vm.closeModal}}):_vm._e(),(_vm.showCreateAttributeModal)?_c('CreateAttribute',{attrs:{\"excluded-data-types\":['date']},on:{\"cancel\":_vm.closeAttributeModel,\"create\":_vm.closeAttributeModel}}):_vm._e()],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dropdown-item item-group-heading\"},[_c('span',[_vm._v(\"Contact\")])])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppConfig.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppConfig.vue?vue&type=script&lang=ts\"","import Component from 'vue-class-component';\r\n\r\n// Register the router hooks with their names\r\nComponent.registerHooks([\r\n\t'beforeRouteEnter',\r\n\t'beforeRouteLeave',\r\n\t'beforeRouteUpdate'\r\n]);\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactTypePicker.vue?vue&type=style&index=0&id=2b5edcf2&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.linkedPaths.length > 0)?_c('div',{staticClass:\"linked-paths-box\"},[_c('IslandBadge',{attrs:{\"type\":\"linkedpaths\",\"draggable\":false}}),_c('div',{staticClass:\"linked-paths-box-contents\"},[_c('div',{staticClass:\"linked-paths-summary\"},_vm._l((_vm.linkedPaths),function(linkedPath){return _c('div',{key:linkedPath.id,staticClass:\"path\"},[_c('PathPicker',{attrs:{\"value\":linkedPath.id,\"fixed\":\"true\"}})],1)}),0)])],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue, Watch} from 'vue-property-decorator';\r\nimport { Picker, EmojiIndex } from 'emoji-mart-vue-fast';\r\nimport data from '../../../../../assets/emojis.json';\r\nimport shortid from 'shortid';\r\n\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tPicker\r\n\t},\r\n})\r\nexport default class EmojiPicker extends Vue {\r\n\r\n\t@Prop({default: false}) public show: boolean;\r\n\r\n\tpublic pickerId: string = '';\r\n\r\n\tpublic ei = new EmojiIndex(data, {recentLength: 8, exclude: ['flags', 'symbols']});\r\n\r\n\tpublic isUp: boolean = false;\r\n\r\n\t@Watch('show', {immediate: true})\r\n\tpublic displayPickerChange(to: boolean, from: boolean) {\r\n\t\tthis.show = to;\r\n\t\tthis.$nextTick(() => this.isUp = this.isEmojiPickerUp());\r\n\t}\r\n\tpublic addVariableToText(variable: any) {\r\n\t\tthis.$emit('insertEmoji', variable);\r\n\t}\r\n\r\n\tpublic getEmojiPickerId() {\r\n\t\treturn `emoji-picker-${this.pickerId}`;\r\n\t}\r\n\tpublic beforeMount() {\r\n\t\tthis.pickerId = shortid.generate();\r\n\t}\r\n\tprivate isEmojiPickerUp() {\r\n\t\tconst menu = document.querySelector(`#${this.getEmojiPickerId()}`);\r\n\t\tif (menu) {\r\n\t\t\tconst position = menu.getBoundingClientRect();\r\n\t\t\tconst padding = 10;\r\n\t\t\tif (position.bottom > window.innerHeight - padding) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n\r\n\r\n\r\n\r\n}\r\n","import { render, staticRenderFns } from \"./BotPreviewMessagingClientContainer.vue?vue&type=template&id=fc4360ae&scoped=true\"\nimport script from \"./BotPreviewMessagingClientContainer.vue?vue&type=script&lang=ts\"\nexport * from \"./BotPreviewMessagingClientContainer.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BotPreviewMessagingClientContainer.vue?vue&type=style&index=0&id=fc4360ae&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fc4360ae\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleBmLocations.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleBmLocations.vue?vue&type=script&lang=ts\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Register.vue?vue&type=style&index=0&id=ab060f20&prod&scoped=true&lang=scss\"","import { MutationTree } from 'vuex';\r\nimport { AnswersState } from '.';\r\nimport {\r\n\tSET_ANSWERS,\r\n\tUPDATE_ANSWER_IN_CACHE,\r\n\tCLEAR_ANSWERS_CACHE,\r\n\tADD_ANSWER,\r\n\tSET_CURRENT_ANSWER\r\n} from './mutationTypes';\r\nimport { AnswerListItemViewModel } from '@/features/bots/models/answers/answerListItemViewModel';\r\nimport { AnswerViewModel } from '@/features/bots/models/answers/answerViewModel';\r\n\r\nexport const mutations: MutationTree = {\r\n\t[SET_CURRENT_ANSWER](state, answer: AnswerViewModel) {\r\n\t\tstate.currentAnswer = answer;\r\n\t},\r\n\r\n\t[SET_ANSWERS](state, answers: AnswerListItemViewModel[]) {\r\n\t\tstate.answers = answers;\r\n\t},\r\n\r\n\t[ADD_ANSWER](state, createdAnswer: AnswerViewModel) {\r\n\t\tstate.answers.push({\r\n\t\t\tid: createdAnswer.id,\r\n\t\t\ttitle: createdAnswer.title,\r\n\t\t\tstatus: createdAnswer.status\r\n\t\t});\r\n\t\tstate.answers.sort((first, second) => first.title.localeCompare(second.title));\r\n\t},\r\n\r\n\t[UPDATE_ANSWER_IN_CACHE](state, updatedAnswer: AnswerViewModel) {\r\n\t\tconst index = state.answers.findIndex((a) => a.id === updatedAnswer.id);\r\n\t\tif (index === -1) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tstate.answers[index] = {\r\n\t\t\tid: updatedAnswer.id,\r\n\t\t\ttitle: updatedAnswer.title,\r\n\t\t\tstatus: updatedAnswer.status\r\n\t\t};\r\n\r\n\t\tstate.currentAnswer = updatedAnswer;\r\n\t\tstate.answers.sort((first, second) => first.title.localeCompare(second.title));\r\n\t},\r\n\r\n\t[CLEAR_ANSWERS_CACHE](state) {\r\n\t\tstate.answers = [];\r\n\t}\r\n};\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContentHighlightsListAppEdit.vue?vue&type=style&index=0&id=e78e8e96&prod&scoped=true&lang=scss\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConditionPicker.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConditionPicker.vue?vue&type=script&lang=ts\"","\n\n\n\r\nimport {Component, Vue} from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class MessageIcon extends Vue {\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextComponent.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextComponent.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fresco-panel\"},[_c('div',{staticClass:\"text-container component-container\"},[_c('div',{staticClass:\"start-title text header\"},[_vm._v(_vm._s(_vm.title))])]),(_vm.subtitle.length)?_c('div',{staticClass:\"text-container component-container\"},[(_vm.subtitle.length)?_c('div',{staticClass:\"start-subtitle text\"},[_vm._v(_vm._s(_vm.subtitle))]):_vm._e()]):_vm._e(),_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.latestMessage)?_c('div',{staticClass:\"sender-name\"},[_vm._v(_vm._s(_vm.latestMessage.name)+\" said:\")]):_vm._e()]),_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.latestMessage)?_c('div',{staticClass:\"msg\"},[_vm._v(_vm._s(_vm.latestMessage.text))]):_vm._e()]),_c('div',{staticClass:\"button-container component-container\"},[_c('button',{staticClass:\"conversation-button\",style:({\n\t\t\t\tbackground: _vm.actionColour,\n\t\t\t\tcolor: _vm.textColour,\n\t\t\t\t'outline-color': _vm.textColour\n\t\t\t\t})},[_c('span',[_vm._v(\"Chat with us\")]),_c('svg',{staticClass:\"chat-icon\",attrs:{\"fill\":_vm.textColour,\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 32 27.389\"}},[_c('path',{attrs:{\"d\":\"M22.242 5H4.922C2.313 5 0 7.106 0 9.712v8.659C0 20.979 2.313 23 4.922 23h7.505l-1.137 3.619c-.099.619.527.924 1.073.691L21.605 23h.637C24.849 23 27 20.979 27 18.371V9.712C27 7.106 24.849 5 22.242 5z\"}}),_c('path',{attrs:{\"d\":\"M27.242 0H9.922C7.92 0 6.103 1.245 5.36 3h16.882C25.969 3 29 6.011 29 9.712v7.957c1.748-.672 3-2.312 3-4.298V4.712C32 2.106 29.849 0 27.242 0z\"}})])])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./twitterAuthPopup.vue?vue&type=template&id=2fd23297&scoped=true\"\nimport script from \"./twitterAuthPopup.vue?vue&type=script&lang=ts\"\nexport * from \"./twitterAuthPopup.vue?vue&type=script&lang=ts\"\nimport style0 from \"./twitterAuthPopup.vue?vue&type=style&index=0&id=2fd23297&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2fd23297\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InputValidationConfig.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InputValidationConfig.vue?vue&type=script&lang=ts\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Badge.vue?vue&type=style&index=0&id=10715954&prod&scoped=true&lang=css\"","import { render, staticRenderFns } from \"./TimeOfDayCondition.vue?vue&type=template&id=7e9cdd7f\"\nimport script from \"./TimeOfDayCondition.vue?vue&type=script&lang=ts\"\nexport * from \"./TimeOfDayCondition.vue?vue&type=script&lang=ts\"\nimport style0 from \"./TimeOfDayCondition.vue?vue&type=style&index=0&id=7e9cdd7f&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export const LOAD_WORKSPACES = 'LOAD_WORKSPACES';\r\nexport const CHANGE_WORKSPACE = 'CHANGE_WORKSPACE';\r\nexport const SET_CURRENT_APP = 'SET_CURRENT_APP';\r\nexport const HANDLE_SERIOUS_ERROR = 'HANDLE_SERIOUS_ERROR';\r\nexport const GET_INSTALLED_APPS = 'GET_INSTALLED_APPS';\r\n","import { render, staticRenderFns } from \"./Decision.vue?vue&type=template&id=09904f3a&scoped=true\"\nimport script from \"./Decision.vue?vue&type=script&lang=ts\"\nexport * from \"./Decision.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Decision.vue?vue&type=style&index=0&id=09904f3a&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"09904f3a\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./govuknotifysmsConfig.vue?vue&type=template&id=6cfa3f7b&scoped=true\"\nimport script from \"./govuknotifysmsConfig.vue?vue&type=script&lang=ts\"\nexport * from \"./govuknotifysmsConfig.vue?vue&type=script&lang=ts\"\nimport style0 from \"./govuknotifysmsConfig.vue?vue&type=style&index=0&id=6cfa3f7b&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6cfa3f7b\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChannelMessagesTrendChart.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChannelMessagesTrendChart.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./IslandBadge.vue?vue&type=template&id=7148775a&scoped=true\"\nimport script from \"./IslandBadge.vue?vue&type=script&lang=ts\"\nexport * from \"./IslandBadge.vue?vue&type=script&lang=ts\"\nimport style0 from \"./IslandBadge.vue?vue&type=style&index=0&id=7148775a&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7148775a\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue} from 'vue-property-decorator';\r\nimport Multiselect from 'vue-multiselect';\r\n@Component({\r\n\tcomponents: {\r\n\t\tMultiselect\r\n\t}\r\n})\r\nexport default class MultiSelectPicker extends Vue {\r\n\t@Prop() public options: any[];\r\n\t@Prop() public value: any[];\r\n\t@Prop() public idAttribute: string;\r\n\t@Prop() public displayAttribute: string;\r\n\t@Prop({default: ''}) public tooltip: string;\r\n\t@Prop({default: 'right'}) public dropdownAlignment: 'left' | 'right';\r\n\r\n\tpublic onInput(newValue: any[]) {\r\n\t\tthis.updateDisabledStateOfItems(newValue);\r\n\t\t// order selected columns based on order of original column list\r\n\t\tconst orderedSelectedColumns = this.options.filter(c => newValue.findIndex(v => this.getIdValue(v) === this.getIdValue(c)) !== -1);\r\n\t\tthis.$emit('input', orderedSelectedColumns);\r\n\t}\r\n\r\n\tpublic getDisplayLabel(option: any) {\r\n\t\treturn option[this.displayAttribute];\r\n\t}\r\n\r\n\tpublic isOptionSelected(option: any) {\r\n\t\treturn this.value.some(c => this.getIdValue(c) === this.getIdValue(option));\r\n\t}\r\n\r\n\tpublic isLastOptionSelected(name: string) {\r\n\t\treturn this.isOptionSelected(name) && this.value.length === 1;\r\n\t}\r\n\r\n\tprivate updateDisabledStateOfItems(selectedOptions: any[]) {\r\n\t\t// if only one option is selected, disable it so 1 selection is required\r\n\t\tif (selectedOptions.length === 1) {\r\n\t\t\tconst lastItem = this.options.find(c => this.getIdValue(c) === this.getIdValue(selectedOptions[0]));\r\n\t\t\tif (lastItem) {\r\n\t\t\t\t(lastItem as any).$isDisabled = true;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tthis.options.forEach(c => (c as any).$isDisabled = false);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate getIdValue(option: any) {\r\n\t\treturn option[this.idAttribute];\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.loading)?_c('LoadingSpinner'):_vm._e(),(!_vm.loading)?_c('CardRenderer',{attrs:{\"colour\":'#062B80',\"location\":'embedded',\"cards\":_vm.getCards()},on:{\"submit\":function($event){return _vm.cardSubmit($event)}}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./LoadingSpinner.vue?vue&type=template&id=253ab418&scoped=true\"\nimport script from \"./LoadingSpinner.vue?vue&type=script&lang=ts\"\nexport * from \"./LoadingSpinner.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LoadingSpinner.vue?vue&type=style&index=0&id=253ab418&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"253ab418\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { InputVariableViewModel } from '../../../models/designer';\r\nimport Icon from '@/shared/icons/Icon.vue';\r\nimport AttributeIconUtil from '../../../../../shared/util/attributeIconUtil';\r\n@Component({\r\n\tcomponents: {\r\n\t\tIcon\r\n\t}\r\n})\r\nexport default class VariableBadge extends Vue {\r\n\t@Prop() public id: string;\r\n\t@Prop() public variable: InputVariableViewModel;\r\n\t@Prop() public fallback: string;\r\n\r\n\tpublic fallbackValue: string = '';\r\n\tpublic isOpen: boolean = false;\r\n\tpublic icon: string = '';\r\n\tpublic invalid: boolean = false;\r\n\r\n\tpublic created() {\r\n\t\tthis.fallbackValue = this.fallback;\r\n\t\tthis.invalid = !this.isValid();\r\n\t\tthis.icon = this.getIcon();\r\n\t}\r\n\r\n\tpublic update() {\r\n\t\tthis.invalid = !this.isValid();\r\n\t\tthis.icon = this.getIcon();\r\n\t}\r\n\r\n\tpublic getIcon(): string {\r\n\t\tif (this.invalid) {\r\n\t\t\treturn 'ErrorIcon';\r\n\t\t} else {\r\n\t\t\treturn AttributeIconUtil.getIcon(this.variable.dataType, this.variable.key, false) || '';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic isValid(): boolean {\r\n\t\treturn !this.variable.error;\r\n\t}\r\n\r\n\tpublic closeFallback() {\r\n\t\tthis.isOpen = false;\r\n\t\tthis.$emit('closedFallback');\r\n\t}\r\n\r\n\tpublic getError() {\r\n\t\tif (this.variable.error) {\r\n\t\t\treturn this.variable.error;\r\n\t\t}\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"section content-container\"},[(_vm.isLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.isLoading)?_c('div',{staticClass:\"container is-fluid\"},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column\"},[_c('TitledSection',{staticClass:\"container is-fluid island\",scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\"Workspace\")]},proxy:true},{key:\"subtitle\",fn:function(){return [_vm._v(\"Change your workspace name\")]},proxy:true}],null,false,1875212637)},[_c('div',{staticClass:\"island-body\"},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-12\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Workspace ID\")]),_c('ReadonlyCopyableField',{attrs:{\"readonlyValue\":_vm.currentWorkspace.id,\"onCopyMessage\":\"Copied to clipboard\"}}),_c('label',{staticClass:\"label\",attrs:{\"for\":\"name\"}},[_vm._v(\"Workspace name\")]),_c('div',{staticClass:\"control\"},[_c('n-text-input',{attrs:{\"id\":\"name\",\"errorMessage\":_vm.getErrorMessage(_vm.$v, 'workspaceName', 'Name')},model:{value:(_vm.workspaceName),callback:function ($$v) {_vm.workspaceName=$$v},expression:\"workspaceName\"}})],1)],1)])])]),_c('TitledSection',{staticClass:\"container is-fluid island\",scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\"Retention Policies\")]},proxy:true},{key:\"subtitle\",fn:function(){return [_vm._v(\"Define how long you want to retain your customer's data\")]},proxy:true}],null,false,473743040)},[_c('div',{staticClass:\"island-body\"},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-12\"},[_c('n-number-input',{attrs:{\"id\":\"messageRetentionInDays\",\"label\":\"Messages (in days)\",\"min\":1,\"max\":365,\"errorMessage\":_vm.getErrorMessage(_vm.$v, 'messageRetentionInDays', 'Retention policy')},model:{value:(_vm.messageRetentionInDays),callback:function ($$v) {_vm.messageRetentionInDays=$$v},expression:\"messageRetentionInDays\"}}),_c('br'),_c('n-number-input',{attrs:{\"id\":\"appUserRetentionInDays\",\"label\":\"Inactive leads (in days)\",\"min\":1,\"max\":365,\"errorMessage\":_vm.getErrorMessage(_vm.$v, 'appUserRetentionInDays', 'Retention policy')},model:{value:(_vm.appUserRetentionInDays),callback:function ($$v) {_vm.appUserRetentionInDays=$$v},expression:\"appUserRetentionInDays\"}})],1)])])]),(_vm.showUsageLimits)?_c('TitledSection',{staticClass:\"container is-fluid island\",scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\"Usage Limits\")]},proxy:true},{key:\"subtitle\",fn:function(){return [_vm._v(\"Set usage limits for proactive triggers\")]},proxy:true}],null,false,2430933086)},[_c('div',{staticClass:\"island-body\"},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-12\"},[_c('n-number-input',{attrs:{\"id\":\"max-proactive-triggers\",\"label\":\"Proactive triggers (per month)\",\"min\":0,\"errorMessage\":_vm.getErrorMessage(_vm.$v, 'maxProactiveTriggers', 'Usage limit')},model:{value:(_vm.maxProactiveTriggers),callback:function ($$v) {_vm.maxProactiveTriggers=$$v},expression:\"maxProactiveTriggers\"}})],1)])])]):_vm._e(),_c('n-button',{attrs:{\"variant\":\"primary\",\"loading\":_vm.updateInProgress,\"disabled\":_vm.$v.$invalid},on:{\"click\":function($event){return _vm.updateWorkspace()}}},[_vm._v(\"\\n\\t\\t\\t\\t\\tSave\\n\\t\\t\\t\\t\")])],1)])]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { StateViewModel } from '@/features/bots/models/designer';\r\nimport { appsApi } from '@/features/apps/shared/services/apps';\r\nimport { Action, Getter } from 'vuex-class';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { InstalledApp } from '@/features/apps/shared/models';\r\nimport CapableAppModal from '@/shared/components/capableAppPicker/CapableAppModal.vue';\r\nimport IslandBadge from './IslandBadge.vue';\r\nimport { botsApi } from '../../services/bots';\r\nimport CardRenderer from '@/shared/components/cardRenderer/CardRenderer.vue';\r\nimport { Card } from '@/shared/components/cardRenderer';\r\nimport {AppCard} from '@/features/apps/shared/models/appCard';\r\nimport { BotAppInitViewModel } from '@/features/bots/models/request/botAppInitViewModel';\r\nimport { DELETE_STATE } from '@/store/bot-designer/states/actionTypes';\r\nimport ContentHighlightsEditModal from '@/shared/components/contentHighlights/ContentHighlightsEditModal.vue';\r\nimport EditIcon from 'vue-material-design-icons/SquareEditOutline.vue';\r\nimport { ConfiguredAppIntegration } from '@/features/apps/shared/models/configuredAppIntegration';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tCapableAppModal,\r\n\t\tIslandBadge,\r\n\t\tCardRenderer,\r\n\t\tEditIcon,\r\n\t\tContentHighlightsEditModal\r\n\t}\r\n})\r\nexport default class AppIntegrationComponent extends Vue {\r\n\t@Prop() public value: StateViewModel;\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Action(DELETE_STATE) public removeState: (stateToRemove: StateViewModel) => void;\r\n\r\n\tpublic actionColour = '#062B80';\r\n\tpublic card: Card | null = null;\r\n\tpublic capableApps: InstalledApp[] = [];\r\n\tpublic showModal: boolean = false;\r\n\tpublic isLoading: boolean = false;\r\n\tpublic showAppEditModal = false;\r\n\r\n\tpublic state: StateViewModel = {\r\n\t\tid: '',\r\n\t\tcomponent: 'AppIntegration'\r\n\t};\r\n\r\n\t@Watch('value', {immediate: true})\r\n\tpublic onValueChanged(value: StateViewModel, previous: StateViewModel) {\r\n\t\tthis.state = value;\r\n\t}\r\n\r\n\tpublic async created() {\r\n\t\tthis.isLoading = true;\r\n\t\tawait this.initialiseApps();\r\n\t}\r\n\r\n\tpublic close() {\r\n\t\tthis.showModal = false;\r\n\r\n\t\tif (!this.state.appAction) {\r\n\t\t\tthis.removeState(this.state);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async renderAppPreview(installedAppId: string, config: any) {\r\n\t\tthis.isLoading = true;\r\n\r\n\t\tthis.state.appAction = {\r\n\t\t\tinstalledAppId,\r\n\t\t\tconfig\r\n\t\t};\r\n\r\n\t\ttry {\r\n\t\t\tconst request = { config } as BotAppInitViewModel;\r\n\t\t\tconst appInitData = await botsApi.botAppInit(this.currentWorkspace.id, installedAppId, request);\r\n\t\t\tif (this.isPanelComponentsValid(appInitData.card)) {\r\n\t\t\t\tthis.state.appAction.preview = JSON.stringify(appInitData.card.components);\r\n\t\t\t\tthis.card = { id: appInitData.id, content: appInitData.card };\r\n\t\t\t}\r\n\t\t} catch {\r\n\t\t\t// just carry on\r\n\t\t} finally {\r\n\t\t\tthis.isLoading = false;\r\n\t\t}\r\n\r\n\t\tthis.$emit('state-updated', this.state);\r\n\t}\r\n\r\n\tpublic getSelectedAppDescription() {\r\n\t\tlet app: InstalledApp | undefined;\r\n\t\tif (this.state.appAction && this.state.appAction) {\r\n\t\t\tconst installedAppId = this.state.appAction.installedAppId;\r\n\t\t\tapp = this.capableApps.find(a => a.installedAppId === installedAppId);\r\n\t\t}\r\n\r\n\t\tif (!app) {\r\n\t\t\treturn '';\r\n\t\t}\r\n\r\n\t\treturn app.name;\r\n\t}\r\n\r\n\tpublic configRequest(workspaceId: string, installedAppId: string, values: any, storedData: any, componentId: any) {\r\n\t\treturn botsApi.botAppConfig(workspaceId, installedAppId, values, storedData, componentId);\r\n\t}\r\n\r\n\tpublic handleAppSave(app: ConfiguredAppIntegration) {\r\n\t\tthis.showAppEditModal = false;\r\n\t\tthis.state.appAction = app;\r\n\t\tthis.renderAppPreview(this.state.appAction.installedAppId, this.state.appAction.config);\r\n\t\tthis.$emit('state-updated', this.state);\r\n\t}\r\n\r\n\tpublic openAppEditModal() {\r\n\t\tthis.showAppEditModal = true;\r\n\t}\r\n\r\n\tpublic shouldShowEditButton() {\r\n\t\tconst contentHighlightsApp = this.capableApps.find(app => app.appId === 'contenthighlights');\r\n\r\n\t\tif (!contentHighlightsApp) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\treturn this.value.appAction?.installedAppId === contentHighlightsApp.installedAppId;\r\n\t}\r\n\r\n\tprivate async initialiseApps() {\r\n\t\ttry {\r\n\t\t\tconst apps = await appsApi.getCapableApps(this.currentWorkspace.id, ['botActions']);\r\n\t\t\tthis.capableApps = apps.map(app => app as InstalledApp);\r\n\t\t\tif (!this.state.appAction) {\r\n\t\t\t\tthis.showModal = true;\r\n\t\t\t} else {\r\n\t\t\t\tif (this.state.appAction.preview) {\r\n\t\t\t\t\tthis.card = {\r\n\t\t\t\t\t\tid: this.state.appAction.installedAppId,\r\n\t\t\t\t\t\tcontent: {\r\n\t\t\t\t\t\t\tcomponents: JSON.parse(this.state.appAction.preview)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t};\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} finally {\r\n\t\t\tthis.isLoading = false;\r\n\t\t}\r\n\t}\r\n\r\n\tprivate isPanelComponentsValid(panel: AppCard) {\r\n\t\treturn panel && panel.components && panel.components.length > 0;\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./TextCondition.vue?vue&type=template&id=005e5f61\"\nimport script from \"./TextCondition.vue?vue&type=script&lang=ts\"\nexport * from \"./TextCondition.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('CardRenderer',{attrs:{\"colour\":'#062B80',\"location\":'embedded',\"cards\":_vm.getCards()},on:{\"submit\":function($event){return _vm.cardSubmit($event)}}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UpdateHoliday.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UpdateHoliday.vue?vue&type=script&lang=ts\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActionBar.vue?vue&type=style&index=0&id=65200121&prod&scoped=true&lang=scss\"","import { render, staticRenderFns } from \"./ActionBar.vue?vue&type=template&id=65200121&scoped=true\"\nimport script from \"./ActionBar.vue?vue&type=script&lang=ts\"\nexport * from \"./ActionBar.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ActionBar.vue?vue&type=style&index=0&id=65200121&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"65200121\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport IslandBadge from './IslandBadge.vue';\r\nimport { Getter } from 'vuex-class';\r\nimport { AvailableTriggers, FlowViewModel, TriggerType } from '@/features/bots/models/designer';\r\nimport { ConditionGroupViewModel } from '@/shared/components/conditions/models/conditionGroupViewModel';\r\nimport EditIcon from 'vue-material-design-icons/SquareEditOutline.vue';\r\nimport EditIntentModal from '@/features/bots/components/designer/EditIntentModal.vue';\r\nimport { ParentViewModel } from '@/features/bots/models/parentViewModel';\r\nimport TransitionPicker from '@/features/bots/components/designer/TransitionPicker.vue';\r\nimport { TransitionType } from '@/features/bots/models/designer/transitionType';\r\nimport { TransitionViewModel } from '@/features/bots/models/designer/transitionViewModel';\r\nimport { TriggerItem } from '@/features/bots/models/designer/triggerType';\r\nimport { TriggerConditionAttributeType } from './Conditions/triggerConditionsManager';\r\nimport { ConditionGroup } from '@/shared/components/conditions/models/conditionGroup';\r\nimport { UsageLimitType } from '@/features/settings/models/usageLimitType';\r\nimport AlertOutline from 'vue-material-design-icons/AlertOutline.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tEditIntentModal,\r\n\t\tIslandBadge,\r\n\t\tTransitionPicker,\r\n\t\tEditIcon,\r\n\t\tAlertOutline: AlertOutline as any\r\n\t}\r\n})\r\nexport default class Triggers extends Vue {\r\n\t@Prop() public conditions: ConditionGroupViewModel;\r\n\t@Getter public parentFlows!: ParentViewModel[];\r\n\t@Getter public parentAnswers!: ParentViewModel[];\r\n\t@Getter public currentFlow!: FlowViewModel;\r\n\t@Getter public isCurrentFlowTriggerable!: boolean;\r\n\t@Getter public getIntentName!: (intentId: string) => string;\r\n\t@Getter public workspaceUsageLimit!: (usageLimitType: string) => number;\r\n\tpublic intentToEdit: string = '';\r\n\r\n\tpublic getFlowTransition(flow: ParentViewModel) {\r\n\t\treturn {\r\n\t\t\tpayload: flow.id,\r\n\t\t\ttype: TransitionType.Flow\r\n\t\t} as TransitionViewModel;\r\n\t}\r\n\r\n\tpublic getAnswerTransition(answer: ParentViewModel) {\r\n\t\treturn {\r\n\t\t\tpayload: answer.id,\r\n\t\t\ttype: TransitionType.Answer\r\n\t\t} as TransitionViewModel;\r\n\t}\r\n\r\n\tpublic getSelectedTriggerDescription(type: string) {\r\n\t\tconst selected = AvailableTriggers.get(type);\r\n\t\tif (selected) {\r\n\t\t\tif (selected.type === TriggerType.MessageReceived && this.conditions) {\r\n\t\t\t\treturn this.getDescriptionForMessageReceived(selected);\r\n\t\t\t}\r\n\t\t\treturn selected.description;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getIconName(iconKey: string) {\r\n\t\treturn AvailableTriggers.get(iconKey).icon;\r\n\t}\r\n\r\n\tpublic editIntent(trigger: string) {\r\n\t\tconst intent = this.getIntentCondition(trigger);\r\n\t\tif (intent) {\r\n\t\t\tthis.intentToEdit = intent.value;\r\n\t\t\tthis.$nextTick(() => {\r\n\t\t\t\tconst modal: any = this.$refs.editIntentModal;\r\n\t\t\t\tif (modal) {\r\n\t\t\t\t\tmodal.showModal();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\tpublic isValidIntentSelected(trigger: string) {\r\n\t\tconst intentCondition = this.getIntentCondition(trigger);\r\n\t\treturn !!intentCondition && !!this.getIntentName(intentCondition.value);\r\n\t}\r\n\r\n\tpublic shouldDisplayProactiveTriggerMessage() {\r\n\t\treturn this.proactiveTriggerLimit === 0 && this.currentFlow.triggers.some((trigger: string) => {\r\n\t\t\treturn trigger === TriggerType.WidgetLoaded;\r\n\t\t});\r\n\t}\r\n\r\n\tprivate getIntentCondition(trigger: string) {\r\n\t\tconst selected = AvailableTriggers.get(trigger);\r\n\t\tif (selected) {\r\n\t\t\tif (selected.type === TriggerType.MessageReceived && this.conditions) {\r\n\t\t\t\treturn ConditionGroup.find(this.conditions, c => c.attribute === TriggerConditionAttributeType.MessageIntent && c.value.length > 0);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tprivate getDescriptionForMessageReceived(selected: TriggerItem) {\r\n\t\tlet output = '';\r\n\t\tconst conditions = ConditionGroup.findAll(this.conditions,\r\n\t\t\tc => (c.attribute === TriggerConditionAttributeType.MessageText || c.attribute === TriggerConditionAttributeType.MessageIntent) && c.value.length > 0);\r\n\t\tfor (const condition of conditions) {\r\n\t\t\tif (condition.type === 'intent') {\r\n\t\t\t\toutput += ` ${this.getIntentName(condition.value) || condition.value}`;\r\n\t\t\t} else {\r\n\t\t\t\toutput += ` ${condition.value}`;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn output ? output : selected.description;\r\n\t}\r\n\r\n\tprivate get proactiveTriggerLimit(): number {\r\n\t\treturn this.workspaceUsageLimit(UsageLimitType.ProactiveTriggers);\r\n\t}\r\n\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"select is-fullwidth\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedOperationId),expression:\"selectedOperationId\"}],on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedOperationId=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},_vm.operationSelected]}},_vm._l((_vm.operations),function(operation){return _c('option',{key:operation.id,domProps:{\"value\":operation.id}},[_vm._v(_vm._s(operation.title))])}),0)])])]),_c('div',{staticClass:\"field\"},[(_vm.requiresInput)?_c('div',{staticClass:\"control\"},[_c('input',{staticClass:\"input\",attrs:{\"type\":\"text\"},domProps:{\"value\":_vm.liveCondition.value},on:{\"input\":function($event){return _vm.textChanged($event.target.value)}}}),(_vm.$v.liveCondition.value.$invalid && _vm.$v.liveCondition.value.$dirty && !_vm.$v.liveCondition.value.required)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Text required\")]):_vm._e()]):_vm._e()]),_c('div',{staticClass:\"control\"},[_c('n-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.complete()}}},[_vm._v(\"Done\")])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./EmailTemplate.vue?vue&type=template&id=0b747356&scoped=true\"\nimport script from \"./EmailTemplate.vue?vue&type=script&lang=ts\"\nexport * from \"./EmailTemplate.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EmailTemplate.vue?vue&type=style&index=0&id=0b747356&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0b747356\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Settings.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Settings.vue?vue&type=script&lang=ts\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmojiPicker.vue?vue&type=style&index=0&id=74b51f3b&prod&scoped=true&lang=scss\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreatePrivateApp.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreatePrivateApp.vue?vue&type=script&lang=ts\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConditionConfigurator.vue?vue&type=style&index=0&id=d3aa30f0&prod&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PagingControl.vue?vue&type=style&index=0&id=afed84f8&prod&scoped=true&lang=scss\"","export default class AttributeIconUtil {\r\n\tpublic static getIcon(type: string | undefined, attributeId: string, system: boolean): string | undefined {\r\n\t\tif (attributeId === 'name' || attributeId === 'givenName' || attributeId === 'surname') {\r\n\t\t\treturn 'PersonIcon';\r\n\t\t} else if (attributeId === 'email') {\r\n\t\t\treturn 'EmailIcon';\r\n\t\t} else if (attributeId === 'phoneNumber') {\r\n\t\t\treturn 'PhoneIcon';\r\n\t\t} else if (type === 'date' || type === 'datetime') {\r\n\t\t\treturn 'CalendarIcon';\r\n\t\t} else if (type === 'text') {\r\n\t\t\treturn 'TextIcon';\r\n\t\t} else if (type === 'number') {\r\n\t\t\treturn 'NumberIcon';\r\n\t\t} else if (type === 'decimal') {\r\n\t\t\treturn 'DecimalIcon';\r\n\t\t} else if (attributeId.indexOf('flow.') === 0) {\r\n\t\t\treturn 'QuestionIcon';\r\n\t\t} else if (!system) {\r\n\t\t\treturn 'CustomAttributeIcon';\r\n\t\t}\r\n\t}\r\n}\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowSelector.vue?vue&type=style&index=0&id=794d9ff3&prod&lang=scss&scoped=true\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue} from 'vue-property-decorator';\r\n@Component\r\nexport default class List extends Vue {\r\n\t@Prop({default: 'currentColor'}) public fillColor: string;\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"intent-picker\"},[_vm._m(0),_c('DropDownMenu',{attrs:{\"dropDownIcon\":\"none\"}},[_c('template',{slot:\"trigger\"},[_c('button',{staticClass:\"intent-picker__trigger button has-text-left\"},[_c('div',[(_vm.selectedIntent)?_c('span',[_vm._v(_vm._s(_vm.selectedIntent.title))]):_c('span',{staticClass:\"intent-picker__trigger-placeholder\"},[_vm._v(\"Select an intent\")])])])]),_c('div',[_vm._l((_vm.intentsForFaq),function(intent){return _c('div',{key:intent.id,staticClass:\"intent-picker__dropdown-item\"},[_c('a',{on:{\"click\":function($event){return _vm.selectIntent(intent)}}},[_c('div',{staticClass:\"intent-picker__intent-name\"},[_vm._v(_vm._s(intent.title))])])])}),_c('hr',{staticClass:\"dropdown-divider\"}),_c('div',{staticClass:\"intent-picker__dropdown-item\"},[_c('a',{staticClass:\"intent-picker__add-intent\",on:{\"click\":_vm.openCreateIntentModal}},[_c('AddIcon',{staticClass:\"icon-1-3x\"}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\tAdd new intent\\n\\t\\t\\t\\t\\t\")],1)])],2)],2),(!_vm.v.required && _vm.v.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\tIntent must not be empty\\n\\t\\t\")]):_vm._e()],1),_c('FaqAddIntentModal',{ref:\"createIntentModal\",on:{\"create\":_vm.addedIntent}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('h2',[_c('strong',[_vm._v(\"Intent\")])])}]\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./HomeScreenHeader.vue?vue&type=template&id=0fcc9d6a&scoped=true\"\nimport script from \"./HomeScreenHeader.vue?vue&type=script&lang=ts\"\nexport * from \"./HomeScreenHeader.vue?vue&type=script&lang=ts\"\nimport style0 from \"./HomeScreenHeader.vue?vue&type=style&index=0&id=0fcc9d6a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0fcc9d6a\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebAssistantPreview.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebAssistantPreview.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue} from 'vue-property-decorator';\r\nimport {mixin as clickaway} from 'vue-clickaway';\r\nimport {ConditionViewModel} from './models/conditionViewModel';\r\nimport {ConditionPickerOption} from './models/conditions';\r\nimport ConditionPicker from './ConditionPicker.vue';\r\nimport AddIcon from 'vue-material-design-icons/Plus.vue';\r\n\r\n@Component({\r\n\tmixins: [\r\n\t\tclickaway,\r\n\t],\r\n\tcomponents: {\r\n\t\tAddIcon,\r\n\t\tConditionPicker\r\n\t}\r\n})\r\nexport default class AddCondition extends Vue {\r\n\t@Prop() public availableConditions: ConditionPickerOption[];\r\n\t@Prop({default: false}) public disabled: boolean;\r\n\t@Prop() public tooltip: string;\r\n\r\n\tpublic isConditionPickerOpen = false;\r\n\r\n\tpublic openNewConditionPicker() {\r\n\t\tif (this.disabled) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.isConditionPickerOpen = true;\r\n\t}\r\n\r\n\tpublic closeNewConditionPicker() {\r\n\t\tthis.isConditionPickerOpen = false;\r\n\t}\r\n\r\n\tpublic onConditionAdded(condition: ConditionViewModel) {\r\n\t\tthis.closeNewConditionPicker();\r\n\t\tthis.$emit('added', condition);\r\n\t}\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MultiSelectPicker.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MultiSelectPicker.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue, Watch} from 'vue-property-decorator';\r\nimport PagingControl, {Page} from '@/shared/components/PagingControl.vue';\r\nimport DataTableColumn from '@/shared/components/dataTable/dataTableColumn';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport PageData from '@/shared/components/dataTable/pageData';\r\nimport DataTableIcon from '@/shared/components/dataTable/DataTableIcon.vue';\r\n@Component({\r\n\tcomponents: {\r\n\t\tPagingControl,\r\n\t\tLoadingSpinner,\r\n\t\tDataTableIcon\r\n\t}\r\n})\r\nexport default class DataTable extends Vue {\r\n\t@Prop() public columns: DataTableColumn[];\r\n\t@Prop() public data: any[];\r\n\t@Prop() public total: number;\r\n\t@Prop() public loading: boolean;\r\n\t@Prop() public pagination: boolean;\r\n\t@Prop() public rowsPerPage: number;\r\n\t@Prop() public defaultSortBy: string;\r\n\t@Prop() public defaultSortDirection: string;\r\n\r\n\tpublic isLoading: boolean = false;\r\n\tpublic offset: number = 0;\r\n\tpublic sortBy: string;\r\n\tpublic sortDirection: string;\r\n\r\n\t@Watch('loading', {immediate: true})\r\n\tpublic loadingChangedFromParent(loading: boolean) {\r\n\t\tthis.isLoading = loading;\r\n\t}\r\n\r\n\t@Watch('data', {immediate: true})\r\n\tpublic dataUpdated(data: any) {\r\n\t\tthis.isLoading = false;\r\n\t}\r\n\r\n\tpublic mounted() {\r\n\t\tthis.sortBy = this.defaultSortBy;\r\n\t\tthis.sortDirection = this.defaultSortDirection;\r\n\t}\r\n\r\n\tpublic async onPageChanged(page: Page) {\r\n\t\tthis.offset = page.start;\r\n\t\tawait this.loadData();\r\n\t}\r\n\r\n\tpublic loadData() {\r\n\t\tthis.isLoading = true;\r\n\t\tthis.$emit('load', {\r\n\t\t\toffset: this.offset,\r\n\t\t\tsortBy: this.sortBy,\r\n\t\t\tsortDirection: this.sortDirection\r\n\t\t} as PageData);\r\n\t}\r\n\r\n\tpublic getSortClass(column: string) {\r\n\t\tif (column !== this.sortBy) {\r\n\t\t\treturn '';\r\n\t\t} else {\r\n\t\t\treturn this.sortDirection;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic sortColumn(column: string) {\r\n\t\tif (column === this.sortBy) {\r\n\t\t\tif (this.sortDirection === 'desc') {\r\n\t\t\t\tthis.sortDirection = 'asc';\r\n\t\t\t} else if (this.sortDirection === 'asc') {\r\n\t\t\t\tthis.sortDirection = 'desc';\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tthis.sortDirection = 'desc';\r\n\t\t\tthis.sortBy = column;\r\n\t\t}\r\n\t\tthis.loadData();\r\n\t}\r\n\r\n\tpublic isCellClickable(row: any, clickableConfig?: boolean | ((row: any) => boolean)): boolean {\r\n\t\tif (typeof clickableConfig === 'function') {\r\n\t\t\treturn clickableConfig(row);\r\n\t\t}\r\n\t\treturn !!clickableConfig;\r\n\t}\r\n\r\n\tpublic cellClicked(row: any) {\r\n\t\tthis.$emit('cellClicked', row);\r\n\t}\r\n\r\n\tpublic hasResults() {\r\n\t\tif (this.pagination) {\r\n\t\t\treturn this.total > 0 && this.data && this.data.length > 0;\r\n\t\t} else {\r\n\t\t\treturn this.data && this.data.length > 0;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic requiresAlignmentFix(icon: string) {\r\n\t\treturn icon === 'DecimalIcon';\r\n\t}\r\n\r\n\tpublic getDisplayValue(row: any, column: DataTableColumn): string {\r\n\t\tif (column.formatter) {\r\n\t\t\treturn column.formatter(row);\r\n\t\t}\r\n\t\treturn row[column.name];\r\n\t}\r\n}\r\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditableComponent.vue?vue&type=style&index=0&id=0752a070&prod&scoped=true&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Rule.vue?vue&type=style&index=0&id=086cc5f0&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"on-clickaway\",rawName:\"v-on-clickaway\",value:(_vm.finishEditing),expression:\"finishEditing\"}],staticClass:\"editable-text\",class:{'editing' : _vm.isEditing, 'not-editing' : !_vm.isEditing }},[_c('div',{staticClass:\"write-view\",attrs:{\"id\":\"text-editor-box\"},on:{\"click\":_vm.startEditing}},[_c('div',{ref:_vm.editableTextId,staticClass:\"text-editor\",attrs:{\"id\":_vm.editableTextId,\"contenteditable\":\"true\",\"data-placeholder\":_vm.getPlaceholder()},on:{\"mousedown\":_vm.saveSelection,\"mouseup\":_vm.saveSelection,\"keyup\":[_vm.saveSelection,function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }if($event.ctrlKey||$event.shiftKey||$event.altKey||$event.metaKey){ return null; }return _vm.finishEditing($event)}],\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }if($event.ctrlKey||$event.shiftKey||$event.altKey||$event.metaKey){ return null; }$event.preventDefault();}}})]),_c('div',{on:{\"click\":_vm.startEditing}},[_c('transition',{attrs:{\"name\":\"expand\"}},[_c('ActionBar',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isEditing),expression:\"isEditing\"}],staticClass:\"action-bar\",attrs:{\"show-variable-picker\":_vm.showVariablePicker},on:{\"addVariable\":_vm.addVariable,\"addEmoji\":_vm.addEmoji}})],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { Getter } from 'vuex-class';\r\n\r\nimport CapableAppModal from './CapableAppModal.vue';\r\nimport ContentHighlightsEditModal from '../contentHighlights/ContentHighlightsEditModal.vue';\r\nimport { appsApi } from '@/features/apps/shared/services/apps';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { InstalledApp } from '@/features/apps/shared/models';\r\nimport { ConfigRequest } from './configRequest';\r\nimport { ConfiguredAppIntegration } from '@/features/apps/shared/models/configuredAppIntegration';\r\nimport AddIcon from 'vue-material-design-icons/Plus.vue';\r\nimport EditIcon from 'vue-material-design-icons/SquareEditOutline.vue';\r\n// @ts-ignore\r\nimport draggable from 'vuedraggable';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tCapableAppModal,\r\n\t\tdraggable,\r\n\t\tAddIcon,\r\n\t\tEditIcon,\r\n\t\tContentHighlightsEditModal\r\n\t}\r\n})\r\nexport default class CapableAppPicker extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Prop() public capability: string;\r\n\t@Prop() public selectedApps: ConfiguredAppIntegration[];\r\n\t@Prop() public configRequest: ConfigRequest;\r\n\t@Prop() public modalHeading: string;\r\n\t@Prop({default: false}) public isLozengeMode: boolean;\r\n\r\n\tpublic capableApps: InstalledApp[] = [];\r\n\tpublic showModal = false;\r\n\tpublic showAppEditModal = false;\r\n\tpublic editingAppIndex?: number;\r\n\r\n\tpublic apps: ConfiguredAppIntegration[] = [];\r\n\r\n\t@Watch('selectedApps', { immediate: true })\r\n\tpublic onSelectedAppsChanged(value: ConfiguredAppIntegration[]) {\r\n\t\tthis.apps = value;\r\n\t}\r\n\r\n\tpublic mounted() {\r\n\t\tappsApi.getCapableApps(this.currentWorkspace.id, [this.capability])\r\n\t\t\t.then(apps => {\r\n\t\t\t\tthis.capableApps = apps.map(app => app as InstalledApp);\r\n\t\t\t});\r\n\t}\r\n\r\n\tpublic appAdded(installedAppId: string, config: any) {\r\n\t\tthis.apps.push({ installedAppId, config });\r\n\t\tthis.emitChangeEvent();\r\n\t}\r\n\r\n\tpublic appRemoved(index: number) {\r\n\t\tthis.apps.splice(index, 1);\r\n\t\tthis.emitChangeEvent();\r\n\t}\r\n\r\n\tpublic appsMoved(e: DraggableChangeEvent) {\r\n\t\tif (e.moved) {\r\n\t\t\tthis.emitChangeEvent();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getName(installedAppId: string) {\r\n\t\treturn this.getCapableApp(installedAppId).name;\r\n\t}\r\n\r\n\tpublic getDescription(installedAppId: string) {\r\n\t\treturn this.getCapableApp(installedAppId).description || 'Private app';\r\n\t}\r\n\r\n\tpublic hasSelectedApps() {\r\n\t\treturn this.apps\r\n\t\t\t&& this.apps.length\r\n\t\t\t&& this.capableApps\r\n\t\t\t&& this.capableApps.length;\r\n\t}\r\n\r\n\tpublic openContentHighlightsEditModal(appIndex: number) {\r\n\t\tthis.showAppEditModal = true;\r\n\t\tthis.editingAppIndex = appIndex;\r\n\t}\r\n\r\n\tpublic handleAppSave(app: ConfiguredAppIntegration, appIndex: number) {\r\n\t\tthis.$emit('update', app, appIndex);\r\n\t\tthis.showAppEditModal = false;\r\n\t\tthis.editingAppIndex = undefined;\r\n\t}\r\n\r\n\tpublic canEditApp(app: ConfiguredAppIntegration): boolean {\r\n\t\tconst contentHighlightsApp = this.capableApps.find(a => a.appId === 'contenthighlights');\r\n\r\n\t\tif (!contentHighlightsApp) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tif (app.installedAppId !== contentHighlightsApp.installedAppId) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\treturn true;\r\n\t}\r\n\r\n\tprivate getCapableApp(installedAppId: string) {\r\n\t\treturn this.capableApps.find(ca => ca.installedAppId === installedAppId) as InstalledApp;\r\n\t}\r\n\r\n\tprivate emitChangeEvent() {\r\n\t\tthis.$emit('change', this.apps);\r\n\t}\r\n}\r\n\r\nexport interface DraggableChangeEvent {\r\n\tmoved: {\r\n\t\tnewIndex: number,\r\n\t\toldIndex: number,\r\n\t\telement: Element\r\n\t};\r\n}\r\n\r\n","import urljoin from 'url-join';\r\nimport { api } from '@/shared/services/baseApiClient';\r\nimport { config } from '@/config/config';\r\nimport { UninstallAppRequest } from '../../shared/models/uninstallAppRequest';\r\nimport { IAppApiUninstall } from '../../shared/services/appApiFactory';\r\nimport { InstallMessengerRequest, MessengerInstalledApp, FacebookPage, GetFacebookUserPagesRequest } from '../models';\r\nimport { FacebookApi } from './facebookAppApi';\r\n\r\n\r\nclass MessengerApiService implements IAppApiUninstall, FacebookApi {\r\n\tprivate version = 'v1';\r\n\r\n\tpublic install(\r\n\t\trequest: InstallMessengerRequest\r\n\t): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'POST',\r\n\t\t\turljoin(config().messengerHost, this.version, 'app', 'install'),\r\n\t\t\trequest\r\n\t\t);\r\n\t}\r\n\r\n\tpublic uninstall(\r\n\t\tworkspaceId: string,\r\n\t\tinstallId: string\r\n\t): Promise {\r\n\t\tconst request = {\r\n\t\t\tworkspaceId,\r\n\t\t\tinstallId\r\n\t\t} as UninstallAppRequest;\r\n\r\n\t\treturn api.send(\r\n\t\t\t'POST',\r\n\t\t\turljoin(config().messengerHost, this.version, 'app', 'uninstall'),\r\n\t\t\trequest);\r\n\t}\r\n\r\n\tpublic getInstalledApp(\r\n\t\tworkspaceId: string\r\n\t): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'GET',\r\n\t\t\turljoin(config().messengerHost, this.version, `app?workspaceid=${workspaceId}`)\r\n\t\t);\r\n\t}\r\n\r\n\tpublic getUserPages(\r\n\t\tuserAccessToken: string\r\n\t): Promise {\r\n\t\tconst request = {\r\n\t\t\tuserAccessToken,\r\n\t\t\tappType: 'messenger'\r\n\t\t} as GetFacebookUserPagesRequest;\r\n\t\treturn api.send(\r\n\t\t\t'POST',\r\n\t\t\turljoin(config().messengerHost, this.version, 'pages'),\r\n\t\t\trequest\r\n\t\t);\r\n\t}\r\n\r\n\tpublic canUninstall(): boolean {\r\n\t\treturn true;\r\n\t}\r\n\r\n\tpublic getUninstallNotAllowedMessage(): string {\r\n\t\treturn '';\r\n\t}\r\n}\r\n\r\nexport const messengerApi = new MessengerApiService();\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./twitterConfig.vue?vue&type=style&index=0&id=5b6a780b&prod&scoped=true&lang=scss\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListCondition.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListCondition.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport { Getter, Action } from 'vuex-class';\r\n\r\nimport { appsApi } from '@/features/apps/shared/services/apps';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { PrivateApp } from '@/features/apps/shared/models';\r\nimport { HANDLE_SERIOUS_ERROR } from '@/store/app/actionTypes';\r\n\r\n@Component({\r\n\tbeforeRouteEnter(to: any, from: any, next: any) {\r\n\t\tnext((vm: PrivateAppsList) => {\r\n\t\t\tvm.$emit('loading');\r\n\t\t});\r\n\t}\r\n})\r\nexport default class PrivateAppsList extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Action(HANDLE_SERIOUS_ERROR) public handleSeriousError: any;\r\n\r\n\tpublic apps: PrivateApp[] = [];\r\n\r\n\tpublic created() {\r\n\t\tif (!this.currentWorkspace) {\r\n\t\t\tthis.handleSeriousError('No workspace selected');\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tappsApi.listPrivate(this.currentWorkspace.id)\r\n\t\t\t.then(apps => {\r\n\t\t\t\tthis.apps = apps;\r\n\t\t\t}).catch(err => {\r\n\t\t\t\tthis.handleSeriousError(err.message);\r\n\t\t\t}).finally(() => this.$emit('loaded'));\r\n\t}\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowEscalationRateCharts.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowEscalationRateCharts.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./UtteranceList.vue?vue&type=template&id=93c0d9d6&scoped=true\"\nimport script from \"./UtteranceList.vue?vue&type=script&lang=ts\"\nexport * from \"./UtteranceList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./UtteranceList.vue?vue&type=style&index=0&id=93c0d9d6&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"93c0d9d6\",\n null\n \n)\n\nexport default component.exports","export enum OperatorType {\r\n\tAnd = 'and',\r\n\tOr = 'or'\r\n}\r\n","import { render, staticRenderFns } from \"./EditPrivateApp.vue?vue&type=template&id=35bd7aff&scoped=true\"\nimport script from \"./EditPrivateApp.vue?vue&type=script&lang=ts\"\nexport * from \"./EditPrivateApp.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"35bd7aff\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./FaqAddIntentModal.vue?vue&type=template&id=5a06bfd6\"\nimport script from \"./FaqAddIntentModal.vue?vue&type=script&lang=ts\"\nexport * from \"./FaqAddIntentModal.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TriggerBox.vue?vue&type=style&index=0&id=1d702ab2&prod&scoped=true&lang=scss\"","import {ActionTree} from 'vuex';\r\nimport {\r\n\tCREATE_ANSWER, LOAD_ANSWER, LOAD_ANSWERS, UPDATE_ANSWER\r\n} from './actionTypes';\r\nimport {AppState} from '../app';\r\nimport {\r\n\tSET_ANSWERS,\r\n\tADD_ANSWER,\r\n\tUPDATE_ANSWER_IN_CACHE,\r\n\tSET_CURRENT_ANSWER\r\n} from './mutationTypes';\r\nimport { HANDLE_SERIOUS_ERROR } from '../app/actionTypes';\r\nimport { answersApi } from '@/features/bots/services/answers';\r\nimport { NLP_ENABLED } from '@/store/app/featureTypes';\r\nimport { CreateAnswerViewModel } from '@/features/bots/models/answers/createAnswerViewModel';\r\nimport { UpdateAnswerViewModel } from '@/features/bots/models/answers/updateAnswerViewModel';\r\nimport { AnswerViewModel } from '@/features/bots/models/answers/answerViewModel';\r\nimport { AnswersState } from '.';\r\n\r\n\r\nexport const actions: ActionTree = {\r\n\tasync [CREATE_ANSWER]({commit, rootState, dispatch}, request: CreateAnswerViewModel) {\r\n\t\tconst currentWorkspace = (rootState as any).app.currentWorkspace;\r\n\t\tif (!currentWorkspace) {\r\n\t\t\treturn dispatch(HANDLE_SERIOUS_ERROR, 'No workspace selected');\r\n\t\t}\r\n\r\n\t\tconst createdAnswer = await answersApi.createAnswer(currentWorkspace.id, request);\r\n\t\tcommit(ADD_ANSWER, createdAnswer);\r\n\t\treturn createdAnswer;\r\n\t},\r\n\r\n\tasync [UPDATE_ANSWER]({ commit, rootState, dispatch }, { answerId, request }: { answerId: string, request: UpdateAnswerViewModel }): Promise {\r\n\t\tconst currentWorkspace = (rootState as any).app.currentWorkspace;\r\n\t\tif (!currentWorkspace) {\r\n\t\t\treturn dispatch(HANDLE_SERIOUS_ERROR, 'No workspace selected');\r\n\t\t}\r\n\r\n\t\tconst updatedAnswer = await answersApi.updateAnswer(currentWorkspace.id, answerId, request);\r\n\t\tcommit(UPDATE_ANSWER_IN_CACHE, updatedAnswer);\r\n\t\treturn updatedAnswer;\r\n\t},\r\n\r\n\tasync [LOAD_ANSWERS]({commit, rootState, dispatch, state, getters}, doLoad: boolean) {\r\n\t\tconst currentWorkspace = (rootState as any).app.currentWorkspace;\r\n\t\tif (!currentWorkspace) {\r\n\t\t\treturn dispatch(HANDLE_SERIOUS_ERROR, 'No workspace selected');\r\n\t\t}\r\n\r\n\t\tif (getters.isWorkspaceFeatureEnabled(NLP_ENABLED) && (doLoad || !state.answers || state.answers.length === 0)) {\r\n\t\t\ttry {\r\n\t\t\t\tconst answers = await answersApi.getAnswers(currentWorkspace.id);\r\n\t\t\t\tif (answers) {\r\n\t\t\t\t\tcommit(SET_ANSWERS, answers);\r\n\t\t\t\t}\r\n\t\t\t} catch (err: any) {\r\n\t\t\t\tthrow new Error(`Error loading FAQs: ${err.message}`);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn state.answers;\r\n\t},\r\n\r\n\tasync [LOAD_ANSWER]({ commit, rootState, dispatch }, answerId: string): Promise {\r\n\t\tconst currentWorkspace = (rootState as any).app.currentWorkspace;\r\n\t\tif (!currentWorkspace) {\r\n\t\t\treturn dispatch(HANDLE_SERIOUS_ERROR, 'No workspace selected');\r\n\t\t}\r\n\t\ttry {\r\n\t\t\tconst answer = await answersApi.getAnswer(currentWorkspace.id, answerId);\r\n\r\n\t\t\tcommit(SET_CURRENT_ANSWER, answer);\r\n\r\n\t\t\treturn answer;\r\n\t\t} catch (err: any) {\r\n\t\t\tthrow new Error(`Error loading FAQ: ${err.message}`);\r\n\t\t}\r\n\t},\r\n\r\n};\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddFlowModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddFlowModal.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ContactConversationModal.vue?vue&type=template&id=756eca87&scoped=true\"\nimport script from \"./ContactConversationModal.vue?vue&type=script&lang=ts\"\nexport * from \"./ContactConversationModal.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ContactConversationModal.vue?vue&type=style&index=0&id=756eca87&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"756eca87\",\n null\n \n)\n\nexport default component.exports","import urljoin from 'url-join';\r\nimport { api } from '@/shared/services/baseApiClient';\r\nimport { config } from '@/config/config';\r\nimport { UninstallAppRequest } from '../../shared/models/uninstallAppRequest';\r\nimport { IAppApiUninstall } from '../../shared/services/appApiFactory';\r\nimport { InstallMessengerRequest, MessengerInstalledApp, FacebookPage, GetFacebookUserPagesRequest } from '../models';\r\nimport { FacebookApi } from './facebookAppApi';\r\n\r\nclass InstagramApiService implements IAppApiUninstall, FacebookApi {\r\n\tprivate version = 'v1';\r\n\r\n\tpublic install(request: InstallMessengerRequest): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'POST',\r\n\t\t\turljoin(config().messengerHost, this.version, 'app', 'install', 'instagram'),\r\n\t\t\trequest\r\n\t\t);\r\n\t}\r\n\r\n\tpublic uninstall(workspaceId: string, installId: string): Promise {\r\n\t\tconst request = {\r\n\t\t\tworkspaceId,\r\n\t\t\tinstallId\r\n\t\t} as UninstallAppRequest;\r\n\r\n\t\treturn api.send(\r\n\t\t\t'POST',\r\n\t\t\turljoin(config().messengerHost, this.version, 'app', 'uninstall', 'instagram'),\r\n\t\t\trequest\r\n\t\t);\r\n\t}\r\n\r\n\tpublic getInstalledApp(workspaceId: string): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'GET',\r\n\t\t\turljoin(config().messengerHost, this.version, `app?workspaceid=${workspaceId}&type=instagram`)\r\n\t\t);\r\n\t}\r\n\r\n\tpublic getUserPages(userAccessToken: string): Promise {\r\n\t\tconst request = {\r\n\t\t\tuserAccessToken,\r\n\t\t\tappType: 'instagram'\r\n\t\t} as GetFacebookUserPagesRequest;\r\n\t\treturn api.send(\r\n\t\t\t'POST',\r\n\t\t\turljoin(config().messengerHost, this.version, 'pages'),\r\n\t\t\trequest\r\n\t\t);\r\n\t}\r\n\r\n\tpublic canUninstall(): boolean {\r\n\t\treturn true;\r\n\t}\r\n\r\n\tpublic getUninstallNotAllowedMessage(): string {\r\n\t\treturn '';\r\n\t}\r\n}\r\n\r\nexport const instagramApi = new InstagramApiService();\r\n","import { render, staticRenderFns } from \"./FlowReportFilters.vue?vue&type=template&id=020ed872&scoped=true\"\nimport script from \"./FlowReportFilters.vue?vue&type=script&lang=ts\"\nexport * from \"./FlowReportFilters.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FlowReportFilters.vue?vue&type=style&index=0&id=020ed872&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"020ed872\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"handover-component\"},[_c('IslandBadge',{attrs:{\"type\":\"humanhandover\",\"draggable\":false}}),_c('div',{staticClass:\"component-contents\"},[_vm._v(\"\\n\\t\\tPause Bot\\n\\t\")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./BotFlows.vue?vue&type=template&id=adf6c51c&scoped=true\"\nimport script from \"./BotFlows.vue?vue&type=script&lang=ts\"\nexport * from \"./BotFlows.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BotFlows.vue?vue&type=style&index=0&id=adf6c51c&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"adf6c51c\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./DoughnutChart.vue?vue&type=template&id=0ef31111&scoped=true\"\nimport script from \"./DoughnutChart.vue?vue&type=script&lang=ts\"\nexport * from \"./DoughnutChart.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DoughnutChart.vue?vue&type=style&index=0&id=0ef31111&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0ef31111\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UpgradeBanner.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UpgradeBanner.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ListIcon.vue?vue&type=template&id=2601a057&functional=true\"\nimport script from \"./ListIcon.vue?vue&type=script&lang=ts\"\nexport * from \"./ListIcon.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n true,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue';\r\nimport Component from 'vue-class-component';\r\nimport HomeScreenPreview from './homescreenPreview/HomeScreenPreview.vue';\r\nimport ConversationPreview from './conversationPreview/ConversationPreview.vue';\r\nimport WebAssistantLauncher from './WebAssistantLauncher.vue';\r\nimport { Prop } from 'vue-property-decorator';\r\nimport ColourService from '@/shared/services/color';\r\nimport { HomescreenAppInitViewModel, TypicalResponseTimeOptions } from '../models';\r\nimport { ConversationMessage } from '@/features/webassistant/models/conversation-message';\r\n\r\n@Component({\r\n\tcomponents: { HomeScreenPreview, ConversationPreview, WebAssistantLauncher }\r\n})\r\nexport default class WebAssistantPreview extends Vue {\r\n\t@Prop() public brandColour: string;\r\n\t@Prop() public outboundMessageColour: string;\r\n\t@Prop() public actionColour: string;\r\n\t@Prop() public headerText: string;\r\n\t@Prop() public homescreenImageUrl: string;\r\n\t@Prop() public greetingText: string;\r\n\t@Prop() public introductionText: string;\r\n\t@Prop() public typicalResponseTime: number;\r\n\t@Prop() public displayLauncher: boolean;\r\n\t@Prop() public messages: ConversationMessage[];\r\n\t@Prop() public isOpen: boolean;\r\n\t@Prop({ default: 'homescreen' }) public activeView: 'homescreen' | 'conversation';\r\n\t@Prop() public disableInteraction: boolean;\r\n\t@Prop({ default: true }) public readonlyApps: string;\r\n\r\n\t@Prop() public homescreenApps: HomescreenAppInitViewModel[];\r\n\r\n\tget typicalResponseTimeString() {\r\n\t\tif (this.typicalResponseTime === 0) {\r\n\t\t\treturn 'Web Assistant';\r\n\t\t}\r\n\t\treturn `We typically reply ${TypicalResponseTimeOptions[this.typicalResponseTime].label.toLowerCase()}`;\r\n\t}\r\n\r\n\tpublic getContrastingBrandColour() {\r\n\t\treturn ColourService.getContrastingColour(this.brandColour);\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./ActiveLearning.vue?vue&type=template&id=58a2f234&scoped=true\"\nimport script from \"./ActiveLearning.vue?vue&type=script&lang=ts\"\nexport * from \"./ActiveLearning.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ActiveLearning.vue?vue&type=style&index=0&id=58a2f234&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"58a2f234\",\n null\n \n)\n\nexport default component.exports","\r\nimport { Component, Prop, Vue, Mixins } from 'vue-property-decorator';\r\nimport { Line } from 'vue-chartjs';\r\nimport { ChartConfig } from './chartConfig';\r\nimport {Data, Series, SeriesConfig, SeriesOrderConfiguration} from '../../models';\r\nimport Chart from 'chart.js';\r\nimport ColourService from '@/shared/services/color';\r\nimport { ChartDataFormat } from '@/features/reports/models/chartDataFormat';\r\n\r\n@Component\r\nexport default class LineChart extends Mixins(Line) {\r\n\t@Prop() public data!: Data;\r\n\t@Prop() public reportId: string;\r\n\t@Prop() public seriesOrder: SeriesOrderConfiguration;\r\n\t@Prop() public fill: boolean;\r\n\t@Prop() public allowDecimalTicksY: boolean;\r\n\t@Prop() public dataFormat: ChartDataFormat;\r\n\t@Prop() public labelValues: Map;\r\n\r\n\tpublic renderSeriesInReverse: boolean = false;\r\n\r\n\tpublic mounted() {\r\n\t\tconst data = this.mapData(this.data);\r\n\t\tconst options = this.overrideOptions(ChartConfig.gridChartsGlobalOptions);\r\n\t\tthis.renderChart(data, options);\r\n\t}\r\n\r\n\tpublic overrideOptions(options: Chart.ChartOptions): Chart.ChartOptions {\r\n\t\toptions.plugins!.inlineLabels = {\r\n\t\t\treportId: this.reportId,\r\n\t\t\treverseLabels: this.renderSeriesInReverse,\r\n\t\t\tdataFormat: this.dataFormat,\r\n\t\t\tdefaultLabelValues: this.labelValues\r\n\t\t};\r\n\t\toptions.scales = {\r\n\t\t\txAxes: [{\r\n\t\t\t\tscaleLabel: {\r\n\t\t\t\t\tlabelString: this.data.scale.title\r\n\t\t\t\t},\r\n\t\t\t\tticks: {\r\n\t\t\t\t\tmaxTicksLimit: 32\r\n\t\t\t\t},\r\n\t\t\t\tgridLines: {\r\n\t\t\t\t\tdisplay: false\r\n\t\t\t\t}\r\n\t\t\t}],\r\n\t\t\tyAxes: [{\r\n\t\t\t\tticks: {\r\n\t\t\t\t\tbeginAtZero: true,\r\n\t\t\t\t\tcallback: (value: any) => {\r\n\t\t\t\t\t\tif (this.allowDecimalTicksY) {\r\n\t\t\t\t\t\t\treturn value;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn value % 1 === 0 ? value : undefined;\r\n\t\t\t\t\t},\r\n\t\t\t\t\tmax: this.allowDecimalTicksY ? 1 : undefined\r\n\t\t\t\t},\r\n\t\t\t}]\r\n\t\t};\r\n\t\toptions.legend!.reverse = this.renderSeriesInReverse;\r\n\t\treturn options;\r\n\t}\r\n\r\n\tpublic mapData(data: Data) {\r\n\t\tif (this.hasSeriesConfiguration()) {\r\n\t\t\tthis.renderSeriesInReverse = true;\r\n\t\t\treturn this.mapDataWithConfiguredSeries(data, this.seriesOrder);\r\n\t\t}\r\n\r\n\t\tconst coloursRequired = data.series.length;\r\n\t\tconst borderPalette = ChartConfig.backgroundColoursForRandomItems(coloursRequired);\r\n\t\tconst backgroundPalette = this.fill\r\n\t\t\t? borderPalette.map(c => ColourService.setAlpha(c, 0.2))\r\n\t\t\t: borderPalette;\r\n\r\n\t\treturn {\r\n\t\t\tlabels: data.scale.labels,\r\n\t\t\tdatasets: data.series.map((series, index) => ({\r\n\t\t\t\tlabel: series.name,\r\n\t\t\t\tdata: series.data,\r\n\t\t\t\tbackgroundColor: backgroundPalette[index],\r\n\t\t\t\tborderColor: borderPalette[index],\r\n\t\t\t\tborderWidth: 1,\r\n\t\t\t\tfill: this.fill ? (index === 0 ? true : '-1') : false,\r\n\t\t\t\tlineTension: 0,\r\n\t\t\t\tshowLine: true,\r\n\t\t\t\tradius: 0,\r\n\t\t\t}))\r\n\t\t};\r\n\t}\r\n\r\n\tprivate mapDataWithConfiguredSeries(data: Data, seriesOrder: SeriesOrderConfiguration) {\r\n\t\tconst seriesConfig = this.castToSeriesConfig(seriesOrder);\r\n\r\n\t\tconst seriesRenderOrder = this.renderSeriesInReverse ? seriesConfig.slice().reverse() : seriesConfig;\r\n\r\n\t\tconst backgroundPalette = ChartConfig.backgroundPalette(seriesRenderOrder);\r\n\t\tconst borderPalette = ChartConfig.borderPalette(seriesRenderOrder);\r\n\r\n\t\tconst orderedSeries = seriesRenderOrder.map(config => {\r\n\t\t\treturn data.series.filter(series => series.name === config.name)[0];\r\n\t\t});\r\n\r\n\t\treturn {\r\n\t\t\tlabels: data.scale.labels,\r\n\t\t\tdatasets: orderedSeries.map((series, index) => {\r\n\t\t\t\tconst config = seriesConfig.filter(c => c.name === series.name)[0];\r\n\t\t\t\treturn {\r\n\t\t\t\t\tlabel: config.displayName,\r\n\t\t\t\t\tdata: series.data,\r\n\t\t\t\t\tbackgroundColor: backgroundPalette[index],\r\n\t\t\t\t\tborderColor: borderPalette[index],\r\n\t\t\t\t\tborderWidth: 1,\r\n\t\t\t\t\tfill: this.fill ? (index === 0 ? true : '-1') : false,\r\n\t\t\t\t\tlineTension: 0,\r\n\t\t\t\t\tshowLine: true,\r\n\t\t\t\t\tradius: 0,\r\n\t\t\t\t};\r\n\t\t\t})\r\n\t\t};\r\n\t}\r\n\r\n\tprivate castToSeriesConfig(seriesOrder: SeriesOrderConfiguration) {\r\n\t\treturn (typeof seriesOrder[0] === 'string')\r\n\t\t\t? (seriesOrder as string[]).map(seriesName => ({ name: seriesName, displayName: seriesName }))\r\n\t\t\t: seriesOrder as SeriesConfig[];\r\n\t}\r\n\r\n\tprivate hasSeriesConfiguration(): boolean {\r\n\t\treturn !!(this.seriesOrder && this.seriesOrder.length);\r\n\t}\r\n}\r\n","export const SET_CURRENT_ANSWER = 'SET_CURRENT_ANSWER';\r\nexport const SET_ANSWERS = 'SET_ANSWERS';\r\nexport const ADD_ANSWER = 'ADD_ANSWER';\r\nexport const UPDATE_ANSWER_IN_CACHE = 'UPDATE_ANSWER_IN_CACHE';\r\nexport const CLEAR_ANSWERS_CACHE = 'CLEAR_ANSWERS_CACHE';\r\n","import { Module } from 'vuex';\r\nimport { actions } from './actions';\r\nimport { getters } from './getters';\r\nimport { mutations } from './mutations';\r\nimport { AppState } from '../app';\r\nimport {ContactAttributeViewModel} from '@/messaging/models/contactAttributeViewModel';\r\n\r\nexport interface AttributesState {\r\n\tcontactAttributes: ContactAttributeViewModel[];\r\n}\r\n\r\n// initial state\r\nexport const attributeState: AttributesState = {\r\n\tcontactAttributes: []\r\n};\r\n\r\nexport const attributes: Module = {\r\n\tnamespaced: false,\r\n\tstate: attributeState,\r\n\tactions,\r\n\tgetters,\r\n\tmutations\r\n};\r\n","import { render, staticRenderFns } from \"./ContactsList.vue?vue&type=template&id=d0049fe6&scoped=true\"\nimport script from \"./ContactsList.vue?vue&type=script&lang=ts\"\nexport * from \"./ContactsList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ContactsList.vue?vue&type=style&index=0&id=d0049fe6&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d0049fe6\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./ReadonlyCopyableField.vue?vue&type=template&id=3d9c9e08&scoped=true\"\nimport script from \"./ReadonlyCopyableField.vue?vue&type=script&lang=ts\"\nexport * from \"./ReadonlyCopyableField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3d9c9e08\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=3949fb83\"\nimport script from \"./App.vue?vue&type=script&lang=ts\"\nexport * from \"./App.vue?vue&type=script&lang=ts\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=3949fb83&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Watch } from 'vue-property-decorator';\r\nimport ChannelIdentityPicker from '@/features/bots/components/botTestTool/ChannelIdentityPicker.vue';\r\nimport { ChannelIdentityViewModel } from '@/messaging/models/channelIdentityViewModel';\r\nimport RestartIcon from 'vue-material-design-icons/Restart.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tChannelIdentityPicker,\r\n\t\tRestartIcon\r\n\t}\r\n})\r\nexport default class ConversationControlBar extends Vue {\r\n\tpublic channelIdentity: ChannelIdentityViewModel = {\r\n\t\tid: 'web-assistant-default',\r\n\t\ttype: 'web-assistant',\r\n\t\tname: 'Web Assistant',\r\n\t\texternalId: ''\r\n\t};\r\n\r\n\t@Watch('channelIdentity', { immediate: true })\r\n\tpublic onChannelChange(identity: ChannelIdentityViewModel) {\r\n\t\tthis.$emit('channelChanged', identity.type, identity.id);\r\n\t}\r\n\r\n\tpublic resetButtonClicked() {\r\n\t\tthis.$emit('resetClicked');\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./EditableComponent.vue?vue&type=template&id=0752a070&scoped=true\"\nimport script from \"./EditableComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./EditableComponent.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EditableComponent.vue?vue&type=style&index=0&id=0752a070&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0752a070\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NumberCondition.vue?vue&type=style&index=0&id=28da789c&prod&lang=scss&scoped=true\"","import { render, staticRenderFns } from \"./AdvancedTooltip.vue?vue&type=template&id=3697b06a&scoped=true\"\nimport script from \"./AdvancedTooltip.vue?vue&type=script&lang=ts\"\nexport * from \"./AdvancedTooltip.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AdvancedTooltip.vue?vue&type=style&index=0&id=3697b06a&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3697b06a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"chart-container\"},[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"title-container\"},[_c('span',{staticClass:\"title is-5\"},[_vm._v(\"\\n\\t\\t\\t\\tProactive Triggers\\n\\t\\t\\t\\t\"),_c('div',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.right\",value:(_vm.tooltipText),expression:\"tooltipText\",modifiers:{\"right\":true}}],staticClass:\"icon\"},[_c('HelpIcon')],1)])])]),(_vm.loadedAndReturnedData)?_c('div',[_c('BarChart',{staticClass:\"chart\",attrs:{\"reportId\":_vm.reportId,\"data\":_vm.reportData,\"seriesOrder\":_vm.seriesOrder,\"stacked\":true}})],1):(_vm.loadedAndNotReturnedData)?_c('div',[_c('ChartNoData')],1):(_vm.loadingError)?_c('div',{staticClass:\"error-overlay\"},[_c('ChartError')],1):_c('div',[_c('LoadingSpinner')],1),(_vm.loadedAndReturnedData)?_c('div',{staticClass:\"chart-labels\"},[_c('ChartLabels',{attrs:{\"reportId\":_vm.reportId}})],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { api } from '@/shared/services/baseApiClient';\r\nimport { config } from '@/config/config';\r\nimport urljoin from 'url-join';\r\nimport {UpdateBotFlowsPriorityViewModel} from '@/features/bots/models/request/updateBotFlowsPriorityViewModel';\r\nimport {AddBotFlowViewModel} from '@/features/bots/models/addBotFlowViewModel';\r\nimport { FlowViewModel } from '@/features/bots/models/designer';\r\nimport { UpdateBotFlowViewModel } from '../models/request/updateBotFlowViewModel';\r\nimport { FlowListItemViewModel } from '../models/flowListItemViewModel';\r\nimport {GetFlowsViewModel} from '@/features/bots/models/request/getFlowsViewModel';\r\nimport { ImportBotFlowViewModel } from '../models/request/importBotFlowViewModel';\r\n\r\nclass FlowsApiService {\r\n\tprivate version = 'v1';\r\n\r\n\tpublic getFlows(botId: string): Promise {\r\n\t\treturn api.send('GET', urljoin(config().flowsHost, this.version, botId, 'flows'));\r\n\t}\r\n\r\n\tpublic addFlow(botId: string, request: AddBotFlowViewModel): Promise {\r\n\t\treturn api.send('POST', urljoin(config().flowsHost, this.version, `${botId}/flows`), request);\r\n\t}\r\n\r\n\tpublic getFlow(botId: string, flowId: string): Promise {\r\n\t\treturn api.send('GET', urljoin(config().flowsHost, this.version, `${botId}/flows/${flowId}`));\r\n\t}\r\n\r\n\tpublic updateFlow(botId: string, flowId: string, request: UpdateBotFlowViewModel): Promise {\r\n\t\treturn api.send('PATCH', urljoin(config().flowsHost, this.version, `${botId}/flows/${flowId}`), request);\r\n\t}\r\n\r\n\tpublic cloneFlow(botId: string, flowId: string): Promise {\r\n\t\treturn api.send('POST', urljoin(config().flowsHost, this.version, `${botId}/flows/${flowId}/clone`));\r\n\t}\r\n\r\n\tpublic importFlow(botId: string, request: ImportBotFlowViewModel): Promise {\r\n\t\treturn api.send('POST', urljoin(config().flowsHost, this.version, `${botId}/flows/import`), request);\r\n\t}\r\n\r\n\tpublic updateFlows(botId: string, request: UpdateBotFlowsPriorityViewModel): Promise {\r\n\t\treturn api.send('POST', urljoin(config().flowsHost, this.version, `${botId}/flows/reorder`), request);\r\n\t}\r\n\r\n\tpublic deleteFlow(botId: string, flowId: string): Promise {\r\n\t\treturn api.send('DELETE', urljoin(config().flowsHost, this.version, `${botId}/flows/${flowId}`));\r\n\t}\r\n}\r\n\r\nexport const flowsApi = new FlowsApiService();\r\n","import {ActionTree} from 'vuex';\r\nimport {AppState} from '@/store/app';\r\nimport {HolidaysState} from '.';\r\nimport {CREATE_HOLIDAY, DELETE_HOLIDAY, LOAD_HOLIDAYS, UPDATE_HOLIDAY} from './actionTypes';\r\nimport {ADD_TO_HOLIDAYS_CACHE, REMOVE_HOLIDAY_FROM_CACHE, SET_HOLIDAYS, UPDATE_HOLIDAY_IN_CACHE} from './mutationTypes';\r\nimport {HANDLE_SERIOUS_ERROR} from '@/store/app/actionTypes';\r\nimport {HolidayViewModel} from '@/features/bots/models/holidayViewModel';\r\nimport {botsApi} from '@/features/bots/services/bots';\r\n\r\nexport const actions: ActionTree = {\r\n\r\n\tasync [LOAD_HOLIDAYS]({commit, rootState, state, dispatch}, forceLoad?: boolean) {\r\n\t\tconst currentWorkspace = (rootState as any).app.currentWorkspace;\r\n\t\tif (!currentWorkspace) {\r\n\t\t\treturn dispatch(HANDLE_SERIOUS_ERROR, 'No workspace selected');\r\n\t\t}\r\n\r\n\t\tif (state.holidays.length === 0 || forceLoad) {\r\n\t\t\tconst response = await botsApi.getHolidays(currentWorkspace.id);\r\n\t\t\tcommit(SET_HOLIDAYS, response);\r\n\t\t}\r\n\r\n\t\treturn state.holidays;\r\n\t},\r\n\r\n\tasync [CREATE_HOLIDAY]({commit, rootState}, request: HolidayViewModel) {\r\n\t\tconst currentWorkspace = (rootState as any).app.currentWorkspace;\r\n\t\tconst createdHoliday = await botsApi.createHoliday(currentWorkspace.id, request);\r\n\t\tcommit(ADD_TO_HOLIDAYS_CACHE, createdHoliday);\r\n\t\treturn createdHoliday;\r\n\t},\r\n\r\n\tasync [UPDATE_HOLIDAY]({commit, rootState}, request: HolidayViewModel) {\r\n\t\tconst currentWorkspace = (rootState as any).app.currentWorkspace;\r\n\t\tconst updatedHoliday = await botsApi.updateHoliday(currentWorkspace.id, request);\r\n\t\tcommit(UPDATE_HOLIDAY_IN_CACHE, updatedHoliday);\r\n\t\treturn updatedHoliday;\r\n\t},\r\n\r\n\tasync [DELETE_HOLIDAY]({commit, rootState}, holidayId) {\r\n\t\tconst currentWorkspace = (rootState as any).app.currentWorkspace;\r\n\t\tawait botsApi.deleteHoliday(currentWorkspace.id, holidayId);\r\n\t\tcommit(REMOVE_HOLIDAY_FROM_CACHE, holidayId);\r\n\t},\r\n};\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"app-item\"},[_c('h2',{staticClass:\"app-item__heading\"},[_vm._v(\"Highlight \"+_vm._s(_vm.itemIndex + 1))]),_c('div',{staticClass:\"field\"},[_c('n-text-input',{attrs:{\"label\":\"Link URL\",\"errorMessage\":_vm.getErrorMessage('url', 'Link URL')},on:{\"input\":function () { return _vm.markAsTouched('url'); }},model:{value:(_vm.value.url),callback:function ($$v) {_vm.$set(_vm.value, \"url\", $$v)},expression:\"value.url\"}})],1),_c('div',{staticClass:\"field\"},[_c('n-text-input',{attrs:{\"label\":\"Link Label\",\"errorMessage\":_vm.getErrorMessage('label', 'Link Label')},on:{\"input\":function () { return _vm.markAsTouched('label'); }},model:{value:(_vm.value.label),callback:function ($$v) {_vm.$set(_vm.value, \"label\", $$v)},expression:\"value.label\"}})],1),_c('div',{staticClass:\"field\"},[_c('n-text-input',{attrs:{\"label\":\"Link Description\",\"errorMessage\":_vm.getErrorMessage('description', 'Link Description')},on:{\"input\":function () { return _vm.markAsTouched('description'); }},model:{value:(_vm.value.description),callback:function ($$v) {_vm.$set(_vm.value, \"description\", $$v)},expression:\"value.description\"}})],1),_c('div',{staticClass:\"field\"},[_c('n-text-input',{attrs:{\"label\":\"Link Image\",\"errorMessage\":_vm.getErrorMessage('image', 'Link Image')},on:{\"input\":function () { return _vm.markAsTouched('image'); }},model:{value:(_vm.value.image),callback:function ($$v) {_vm.$set(_vm.value, \"image\", $$v)},expression:\"value.image\"}})],1),_c('div',{staticClass:\"app-item__actions\"},[_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary--outline\",\"disabled\":_vm.totalItems === 1},on:{\"click\":_vm.removeItem}},[_vm._v(\"Remove Item\")])],1)],1),_c('hr')])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConversationTrendCharts.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConversationTrendCharts.vue?vue&type=script&lang=ts\"","export const LOAD_FLOW = 'LOAD_FLOW';\r\nexport const SAVE_FLOW = 'SAVE_FLOW';\r\nexport const LOAD_FLOWS = 'LOAD_FLOWS';\r\nexport const UPDATE_STATUS = 'UPDATE_STATUS';\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"web-assistant-launcher\"},[_c('button',{staticClass:\"web-assistant-launcher__button\",style:({ backgroundColor: _vm.backgroundColour }),on:{\"click\":_vm.buttonClick}},[(!_vm.isOpen)?_c('svg',{staticClass:\"app-icon\",style:({ fill: _vm.iconColour })},[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":\"#web-assistant\"}})]):_c('svg',{staticClass:\"close-icon\",style:({ stroke: _vm.iconColour })},[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":\"#cross\"}})])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import {api} from '@/shared/services/baseApiClient';\r\nimport {config} from '@/config/config';\r\nimport urljoin from 'url-join';\r\nimport {EmailTemplateViewModel} from '@/features/settings/models/emailTemplateViewModel';\r\nimport {CreateTemplateViewModel} from '@/features/settings/models/request/createTemplateViewModel';\r\nimport {UpdateTemplateViewModel} from '@/features/settings/models/request/updateTemplateViewModel';\r\nimport {EmailWorkspaceModel} from '@/features/settings/models/response/emailWorkspaceModel';\r\nimport {SaveEmailWorkspaceModel} from '@/features/settings/models/request/saveEmailWorkspaceModel';\r\nimport {VerifyDomainModel} from '@/workspaces/models/response/verifyDomainModel';\r\n\r\nclass EmailApiService {\r\n\tprivate version = 'v1';\r\n\r\n\tpublic getEmailWorkspace(workspaceId: string): Promise {\r\n\t\treturn api.send('GET', urljoin(config().emailHost, this.version, 'workspaces', workspaceId));\r\n\t}\r\n\r\n\tpublic saveEmailWorkspace(workspaceId: string, request: SaveEmailWorkspaceModel): Promise {\r\n\t\treturn api.send('PUT', urljoin(config().emailHost, this.version, 'workspaces', workspaceId), request);\r\n\t}\r\n\r\n\tpublic async verifyDomain(workspaceId: string): Promise {\r\n\t\treturn await api.send('POST', urljoin(config().emailHost, this.version, 'workspaces', workspaceId, 'domain/verify'));\r\n\t}\r\n\r\n\tpublic getTemplates(workspaceId: string): Promise {\r\n\t\treturn api.send('GET', urljoin(config().emailHost, this.version, workspaceId, 'templates'));\r\n\t}\r\n\r\n\tpublic async getTemplateContent(workspaceId: string, templateId: string): Promise {\r\n\t\tconst response: any = await api.send('GET', urljoin(config().emailHost, this.version, workspaceId, 'templates', templateId));\r\n\t\treturn response.template;\r\n\t}\r\n\r\n\tpublic createEmailTemplate(workspaceId: string, templateName: string, content: string): Promise {\r\n\t\tconst request: CreateTemplateViewModel = {templateName, content};\r\n\t\treturn api.send('POST', urljoin(config().emailHost, this.version, workspaceId, 'templates'), request);\r\n\t}\r\n\r\n\tpublic saveEmailTemplate(workspaceId: string, templateId: string, templateName: string, content: string): Promise {\r\n\t\tconst request: UpdateTemplateViewModel = {templateName, content};\r\n\t\treturn api.send('PUT', urljoin(config().emailHost, this.version, workspaceId, 'templates', templateId), request);\r\n\t}\r\n\r\n\tpublic deleteEmailTemplate(workspaceId: string, templateId: string): Promise {\r\n\t\treturn api.send('DELETE', urljoin(config().emailHost, this.version, workspaceId, 'templates', templateId));\r\n\t}\r\n}\r\n\r\nexport const emailApi = new EmailApiService();\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"chart-content\"},[_c('div',{staticClass:\"doughnut-chart-container\"},[_c('DoughnutChartBaseWrapper',{staticClass:\"chart\",attrs:{\"legend-element-id\":'legendContainer-' + _vm.reportId,\"title\":_vm.title,\"data\":_vm.data}})],1),_c('div',{staticClass:\"legend-container\",attrs:{\"id\":'legendContainer-' + _vm.reportId}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport { Getter, Action } from 'vuex-class';\r\nimport { required } from 'vuelidate/lib/validators';\r\nimport { validationMixin } from 'vuelidate';\r\n\r\nimport { appsApi } from '@/features/apps/shared/services/apps';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { PrivateApp, UpdatePrivateAppViewModel } from '@/features/apps/shared/models';\r\nimport Toast from '@/shared/services/toast';\r\nimport { HANDLE_SERIOUS_ERROR } from '@/store/app/actionTypes';\r\n\r\nconst url = (value: string) => {\r\n\tif (!value) {\r\n\t\treturn true;\r\n\t}\r\n\treturn value.startsWith('http://') || value.startsWith('https://');\r\n};\r\n\r\n@Component({\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tapp: {\r\n\t\t\tname: { required },\r\n\t\t\tworkflowOptions: {\r\n\t\t\t\tconfigUrl: {url},\r\n\t\t\t\tinitUrl: {url},\r\n\t\t\t\tsubmitUrl: {url},\r\n\t\t\t\twebhookUrl: {url}\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\tbeforeRouteEnter(to: any, from: any, next: any) {\r\n\t\tnext((vm: EditPrivateApp) => {\r\n\t\t\tvm.$emit('loading');\r\n\t\t});\r\n\t}\r\n})\r\nexport default class EditPrivateApp extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Action(HANDLE_SERIOUS_ERROR) public handleSeriousError: any;\r\n\r\n\tpublic actionInProgress: boolean = false;\r\n\r\n\tpublic app: PrivateApp = {\r\n\t\tid: '',\r\n\t\tname: '',\r\n\t\townerWorkspaceId: '',\r\n\t\tapiToken: '',\r\n\t\tcapabilities: {\r\n\t\t\tsupportsWebhooks: false,\r\n\t\t\tsupportsBotAction: false,\r\n\t\t\tsupportsHomescreen: false\r\n\t\t},\r\n\t\tworkflowOptions: {\r\n\t\t\tconfigUrl: '',\r\n\t\t\tinitUrl: '',\r\n\t\t\tsubmitUrl: '',\r\n\t\t\twebhookUrl: '',\r\n\t\t\tverificationToken: '',\r\n\t\t\twebhookTopics: []\r\n\t\t}\r\n\t};\r\n\r\n\tpublic supportsAppLifecycleHooks() {\r\n\t\treturn this.app.capabilities.supportsHomescreen || this.app.capabilities.supportsBotAction;\r\n\t}\r\n\r\n\tpublic created() {\r\n\t\tif (!this.currentWorkspace) {\r\n\t\t\tthis.handleSeriousError('No workspace selected');\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tappsApi.getPrivateApp(this.currentWorkspace.id, this.$route.params.id)\r\n\t\t\t.then(app => {\r\n\t\t\t\tthis.app = app;\r\n\t\t\t}).catch(err => {\r\n\t\t\t\tthis.handleSeriousError(err.message);\r\n\t\t\t}).finally(() => this.$emit('loaded'));\r\n\t}\r\n\r\n\tpublic onCopy() {\r\n\t\tToast.showInfo('Copied to clipboard');\r\n\t}\r\n\r\n\tpublic save() {\r\n\t\tif (this.actionInProgress) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.actionInProgress = true;\r\n\r\n\t\tconst request = {\r\n\t\t\tappName: this.app.name,\r\n\t\t\tcapabilities: this.app.capabilities,\r\n\t\t\tworkflowOptions: this.app.workflowOptions\r\n\t\t} as UpdatePrivateAppViewModel;\r\n\r\n\t\tappsApi.updatePrivateApp(this.currentWorkspace.id, this.app.id, request)\r\n\t\t\t.then(() => {\r\n\t\t\t\tToast.showSuccess('App config saved');\r\n\t\t\t\tthis.$router.push({ name: 'private-apps-list' });\r\n\t\t\t})\r\n\t\t\t.catch((err) => Toast.showError(err.message))\r\n\t\t\t.finally(() => this.actionInProgress = false);\r\n\t}\r\n\r\n\tpublic cancel() {\r\n\t\tthis.$router.push({ name: 'private-apps-list' });\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./CapableAppConfig.vue?vue&type=template&id=0d7c1bea\"\nimport script from \"./CapableAppConfig.vue?vue&type=script&lang=ts\"\nexport * from \"./CapableAppConfig.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('fieldset',[(_vm.isVisible('pattern'))?_c('InputPatternEditor',{attrs:{\"value\":_vm.state.pattern,\"showType\":_vm.isTypeConfigRequired},on:{\"updated\":_vm.patternUpdated}}):_vm._e(),(!_vm.allowsAnyValue)?_c('div',[(_vm.isVisible('allowedAttempts'))?_c('div',{staticClass:\"field is-horizontal\"},[_c('div',{staticClass:\"field-label\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"\\n\\t\\t\\t\\t\\tMax Attempts\\n\\t\\t\\t\\t\\t\"),_c('span',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.top\",value:('The number of attempts allowed for the inputted value to meet the input requirements. If the limit of attempts is reached, the flow will transition into the \\'Max Attempts Exceeded\\' path'),expression:\"'The number of attempts allowed for the inputted value to meet the input requirements. If the limit of attempts is reached, the flow will transition into the \\\\'Max Attempts Exceeded\\\\' path'\",modifiers:{\"top\":true}}]},[_c('HelpIcon')],1)])]),_c('div',{staticClass:\"field-body\"},[_c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"select\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.allowedAttempts),expression:\"allowedAttempts\"}],attrs:{\"id\":_vm.allowedAttemptsId},on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.allowedAttempts=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},_vm.allowedAttemptsUpdated]}},[_c('option',{domProps:{\"value\":-1}},[_vm._v(\"Unlimited\")]),_vm._l((5),function(index){return _c('option',{key:index},[_vm._v(_vm._s(index))])})],2)])])])]):_vm._e(),(_vm.isVisible('errorMessage') && _vm.state.allowedAttempts !== 1)?_c('div',{staticClass:\"field is-horizontal\"},[_c('div',{staticClass:\"field-label\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"\\n\\t\\t\\t\\t\\tError Message\\n\\t\\t\\t\\t\\t\"),_c('span',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.top\",value:('Message to play when a value was entered that doesn\\'t meet the input requirements. If this is blank, the original message will be repeated'),expression:\"'Message to play when a value was entered that doesn\\\\'t meet the input requirements. If this is blank, the original message will be repeated'\",modifiers:{\"top\":true}}]},[_c('HelpIcon')],1)])]),_c('div',{staticClass:\"field-body\"},[_c('div',{staticClass:\"control\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.state.errorMessage),expression:\"state.errorMessage\",modifiers:{\"trim\":true}}],staticClass:\"textarea\",attrs:{\"placeholder\":\"Prompt the user to try again\",\"type\":\"text\"},domProps:{\"value\":(_vm.state.errorMessage)},on:{\"change\":_vm.configChanged,\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.state, \"errorMessage\", $event.target.value.trim())},\"blur\":function($event){return _vm.$forceUpdate()}}})])])]):_vm._e(),(_vm.isVisible('noMatch') && _vm.state.allowedAttempts !== -1)?_c('div',{staticClass:\"field is-horizontal\"},[_c('div',{staticClass:\"field-label\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"\\n\\t\\t\\t\\t\\tAfter Max Attempts\\n\\t\\t\\t\\t\\t\"),_c('span',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.top\",value:('Transition to another path if a value was entered that doesn\\'t meet the input requirements'),expression:\"'Transition to another path if a value was entered that doesn\\\\'t meet the input requirements'\",modifiers:{\"top\":true}}]},[_c('HelpIcon')],1)])]),_c('div',{staticClass:\"field-body\"},[_c('div',{staticClass:\"control\"},[_c('TransitionPicker',{attrs:{\"transition\":_vm.state.noMatch},on:{\"transition-selected\":_vm.noMatchUpdated}}),(_vm.$v.noMatch.$error && !_vm.$v.noMatch.required)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tPath must not be empty\\n\\t\\t\\t\\t\\t\")]):_vm._e(),(!_vm.$v.noMatch.payload.payloadValid)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tMust not contain an invalid transition\\n\\t\\t\\t\\t\\t\")]):_vm._e()],1)])]):_vm._e()]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\r\nimport {Component, Prop, Vue} from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class ChannelIcon extends Vue {\r\n\t@Prop({required: true}) public channelType!: string;\r\n\r\n\tpublic get logo(): string {\r\n\t\tswitch (this.channelType) {\r\n\t\t\tcase 'sms-bt':\r\n\t\t\t\treturn 'bt';\r\n\t\t\tcase 'sms-govuknotify':\r\n\t\t\t\treturn 'govuk-crown';\r\n\t\t\tcase 'messenger':\r\n\t\t\t\treturn 'fb-messenger';\r\n\t\t\tcase 'twitter-dm':\r\n\t\t\t\treturn 'twitter';\r\n\t\t\tcase 'instagram':\r\n\t\t\t\treturn 'instagram';\r\n\t\t\tcase 'google-bm':\r\n\t\t\t\treturn 'google-bm';\r\n\t\t\tdefault:\r\n\t\t\t\treturn 'web-assistant';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic get isWebAssistant() {\r\n\t\treturn this.channelType === 'web-assistant';\r\n\t}\r\n}\r\n","export const ADD_STATE = 'ADD_STATE';\r\nexport const REMOVE_STATE = 'REMOVE_STATE';\r\nexport const UPDATE_STATE = 'UPDATE_STATE';\r\nexport const REMOVE_TRANSITION = 'REMOVE_TRANSITION';\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Reports.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Reports.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport BarChart from '@/features/reports/components/chartjs/BarChart.vue';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport ChartError from '@/features/reports/components/ChartError.vue';\r\nimport ChartLabels from '@/features/reports/components/ChartLabels.vue';\r\nimport ChartNoData from '@/features/reports/components/ChartNoData.vue';\r\nimport HelpIcon from 'vue-material-design-icons/HelpCircleOutline.vue';\r\nimport { Data, Series, SeriesConfig } from '@/features/reports/models';\r\nimport shortid from 'shortid';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tBarChart,\r\n\t\tLoadingSpinner,\r\n\t\tChartError,\r\n\t\tChartNoData,\r\n\t\tChartLabels,\r\n\t\tHelpIcon,\r\n\t},\r\n})\r\nexport default class ProactiveTriggersTrendChart extends Vue {\r\n\t@Prop() public data!: Data;\r\n\r\n\t@Prop() public loadedData!: boolean;\r\n\r\n\t@Prop() public loadingError!: boolean;\r\n\r\n\tpublic reportId = '';\r\n\r\n\tpublic tooltipText = 'A trend showing the number of proactive flows that were started and the number that were blocked from starting due to the monthly limit being reached';\r\n\r\n\tpublic created() {\r\n\t\tthis.reportId = `${shortid.generate()}`;\r\n\t}\r\n\r\n\tpublic get seriesOrder(): SeriesConfig[] {\r\n\t\treturn [\r\n\t\t\t{ name: 'Started', displayName: 'Proactive Triggers Started', colour: '#062B80' },\r\n\t\t\t{ name: 'Blocked', displayName: 'Proactive Triggers Blocked', colour: '#FF6666' }\r\n\t\t];\r\n\t}\r\n\r\n\tpublic get reportData(): Data {\r\n\t\treturn {\r\n\t\t\tscale: this.data.scale,\r\n\t\t\tseries: this.seriesOrder.map(seriesConfig => {\r\n\t\t\t\treturn this.data.series.find(s => s.name === seriesConfig.name)\r\n\t\t\t\t\t|| this.createBlankSeries(seriesConfig.name, seriesConfig.displayName);\r\n\t\t\t})\r\n\t\t};\r\n\t}\r\n\r\n\tpublic createBlankSeries(name: string, displayName: string): Series {\r\n\t\treturn {\r\n\t\t\tname,\r\n\t\t\tdisplayName: displayName || name,\r\n\t\t\tdata: this.data.scale.labels.map(() => 0)\r\n\t\t};\r\n\t}\r\n\r\n\tpublic get loadedAndNotReturnedData() {\r\n\t\treturn this.loadedData && (!this.data || !this.data.series || this.data.series.length === 0);\r\n\t}\r\n\r\n\tpublic get loadedAndReturnedData() {\r\n\t\treturn this.loadedData && this.data && this.data.series && this.data.series.length > 0;\r\n\t}\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowVariableIcon.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowVariableIcon.vue?vue&type=script&lang=ts\"","export const SET_TRIGGER = 'SET_TRIGGER';\r\nexport const ADD_CONDITION = 'ADD_CONDITION';\r\nexport const REMOVE_CONDITION = 'REMOVE_CONDITION';\r\nexport const UPDATE_CONDITION = 'UPDATE_CONDITION';\r\nexport const UPDATE_SCHEDULE_CONDITION = 'UPDATE_SCHEDULE_CONDITION';\r\nexport const UPDATE_TRIGGER_CONDITIONS = 'UPDATE_TRIGGER_CONDITIONS';\r\nexport const UPDATE_AUDIENCE_CONDITIONS = 'UPDATE_AUDIENCE_CONDITIONS';\r\nexport const UPDATE_TARGET_CONTACT_TYPES = 'UPDATE_TARGET_CONTACT_TYPES';\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CapableAppConfig.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CapableAppConfig.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal is-active\"},[_c('div',{staticClass:\"modal-background\",on:{\"click\":function($event){return _vm.$emit('cancel')}}}),_c('div',{staticClass:\"modal-card\"},[_c('header',{staticClass:\"modal-card-head\"},[_vm._t(\"title\"),_c('button',{staticClass:\"delete\",attrs:{\"aria-label\":\"close\"},on:{\"click\":function($event){return _vm.$emit('cancel')}}})],2),_c('section',{staticClass:\"modal-card-body\"},[_vm._t(\"body\")],2),_c('footer',{staticClass:\"modal-card-foot\"},[_vm._t(\"buttons\")],2)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BotPreviewMessagingClientContainer.vue?vue&type=style&index=0&id=fc4360ae&prod&lang=scss&scoped=true\"","import { render, staticRenderFns } from \"./AppOverview.vue?vue&type=template&id=3706bf6c&scoped=true\"\nimport script from \"./AppOverview.vue?vue&type=script&lang=ts\"\nexport * from \"./AppOverview.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AppOverview.vue?vue&type=style&index=0&id=3706bf6c&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3706bf6c\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConversationHeader.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConversationHeader.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Decision.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Decision.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport PercentageStackedBarChart from '../chartjs/PercentageStackedBarChart.vue';\r\nimport BarChart from '../chartjs/BarChart.vue';\r\nimport LineChart from '../chartjs/LineChart.vue';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport ChartError from '../ChartError.vue';\r\nimport ChartLabels from '../ChartLabels.vue';\r\nimport FlowIcon from 'vue-material-design-icons/Waves.vue';\r\nimport ChartNoData from '@/features/reports/components/ChartNoData.vue';\r\nimport HelpIcon from 'vue-material-design-icons/HelpCircleOutline.vue';\r\nimport {Data, Series} from '../../models';\r\nimport { ChartType } from '../../models/chartType';\r\nimport shortid from 'shortid';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tBarChart,\r\n\t\tPercentageStackedBarChart,\r\n\t\tLineChart,\r\n\t\tLoadingSpinner,\r\n\t\tChartError,\r\n\t\tChartNoData,\r\n\t\tChartLabels,\r\n\t\tFlowIcon,\r\n\t\tHelpIcon,\r\n\t},\r\n})\r\nexport default class ContactTrendCharts extends Vue {\r\n\t@Prop() public data!: Data;\r\n\r\n\t@Prop() public loadedData!: boolean;\r\n\r\n\t@Prop() public loadingError!: boolean;\r\n\r\n\tpublic reportId = '';\r\n\r\n\tpublic tooltipText = 'A trend showing the number of recently created contacts, split by whether they are currently a lead or a user';\r\n\r\n\tpublic chartType: ChartType = ChartType.BAR;\r\n\r\n\tpublic created() {\r\n\t\tthis.reportId = `${shortid.generate()}`;\r\n\t}\r\n\r\n\tpublic get seriesOrder(): string[] {\r\n\t\treturn ['Leads', 'Users'];\r\n\t}\r\n\r\n\tpublic get reportData(): Data {\r\n\t\treturn {\r\n\t\t\tscale: this.data.scale,\r\n\t\t\tseries: this.seriesOrder.map(seriesName => this.data.series.find(s => s.name === seriesName) || this.createBlankSeries(seriesName))\r\n\t\t};\r\n\t}\r\n\r\n\tpublic get showLineChart() {\r\n\t\treturn this.chartType === ChartType.LINE;\r\n\t}\r\n\r\n\tpublic get showBarChart() {\r\n\t\treturn this.chartType === ChartType.BAR;\r\n\t}\r\n\r\n\tpublic get showPercentageBarChart() {\r\n\t\treturn this.chartType === ChartType.PERCENTAGE_BAR;\r\n\t}\r\n\r\n\tpublic switchLineChart() {\r\n\t\tthis.chartType = ChartType.LINE;\r\n\t}\r\n\r\n\tpublic switchBarChart() {\r\n\t\tthis.chartType = ChartType.BAR;\r\n\t}\r\n\r\n\tpublic switchStackedChart() {\r\n\t\tthis.chartType = ChartType.PERCENTAGE_BAR;\r\n\t}\r\n\r\n\tpublic createBlankSeries(name: string): Series {\r\n\t\treturn {\r\n\t\t\tname,\r\n\t\t\tdisplayName: name,\r\n\t\t\tdata: this.data.scale.labels.map(() => 0)\r\n\t\t};\r\n\t}\r\n\r\n\tpublic get loadedAndNotReturnedData() {\r\n\t\treturn this.loadedData && (!this.data || !this.data.series || this.data.series.length === 0);\r\n\t}\r\n\r\n\tpublic get loadedAndReturnedData() {\r\n\t\treturn this.loadedData && this.data && this.data.series.length > 0;\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { Conditions, OperationPickerOption, ConditionOperationType } from './../models/conditions';\r\nimport { ConditionViewModel } from './../models/conditionViewModel';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { required, numeric, maxLength } from 'vuelidate/lib/validators';\r\n\r\n@Component({\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tliveCondition: {\r\n\t\t\tvalue: { required, numeric, maxLength: maxLength(8) }\r\n\t\t},\r\n\t}\r\n})\r\nexport default class NumberCondition extends Vue {\r\n\t@Prop() public condition: ConditionViewModel;\r\n\r\n\tpublic liveCondition: ConditionViewModel = {\r\n\t\tattribute: '',\r\n\t\toperation: '',\r\n\t\ttype: '',\r\n\t\tunit: '',\r\n\t\tvalue: '',\r\n\t\tresult: true\r\n\t};\r\n\r\n\tpublic operations: OperationPickerOption[] = Conditions.Operations.number.map((op, index) => {\r\n\t\treturn {\r\n\t\t\tid: `${index}`,\r\n\t\t\ttitle: op.title,\r\n\t\t\toperation: op.operation,\r\n\t\t\tresult: op.result\r\n\t\t};\r\n\t});\r\n\r\n\tpublic selectedOperationId: string = '';\r\n\r\n\tpublic mounted() {\r\n\t\tif (this.condition) {\r\n\t\t\tthis.liveCondition = {\r\n\t\t\t\tattribute: this.condition.attribute,\r\n\t\t\t\toperation: this.condition.operation,\r\n\t\t\t\ttype: this.condition.type,\r\n\t\t\t\tvalue: this.condition.value,\r\n\t\t\t\tresult: this.condition.result,\r\n\t\t\t\tunit: this.condition.unit,\r\n\t\t\t\tinvalid: this.condition.invalid\r\n\t\t\t};\r\n\r\n\t\t\tif (this.liveCondition.invalid) {\r\n\t\t\t\tthis.$v.$touch();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tthis.selectedOperationId = this.getSelectedOperation();\r\n\t\tthis.operationSelected();\r\n\t}\r\n\r\n\tpublic getSelectedOperation() {\r\n\t\tif (this.liveCondition) {\r\n\t\t\tconst selectedOperation = this.operations.find(op => op.operation === this.liveCondition.operation && op.result === this.liveCondition.result);\r\n\t\t\tif (selectedOperation) {\r\n\t\t\t\treturn selectedOperation.id;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn this.operations[0].id;\r\n\t}\r\n\r\n\tpublic operationSelected() {\r\n\t\tconst selectedOperation = this.operations.find(op => op.id === this.selectedOperationId);\r\n\t\tif (selectedOperation) {\r\n\t\t\tthis.liveCondition.operation = selectedOperation.operation;\r\n\t\t\tthis.liveCondition.result = selectedOperation.result;\r\n\t\t\tthis.emitConditionChanged();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic numberChanged(value: string) {\r\n\t\tthis.liveCondition.value = value;\r\n\t\tthis.$v.$touch();\r\n\t\tthis.emitConditionChanged();\r\n\t}\r\n\r\n\tpublic get requiresInput() {\r\n\t\treturn this.liveCondition.operation !== ConditionOperationType.IsSet;\r\n\t}\r\n\r\n\tprivate emitConditionChanged() {\r\n\t\tthis.liveCondition.invalid = this.$v.$invalid && this.requiresInput;\r\n\t\tthis.$emit('changed', this.liveCondition);\r\n\t}\r\n\r\n\tprivate complete() {\r\n\t\tthis.liveCondition.invalid = this.$v.$invalid && this.requiresInput;\r\n\t\tthis.$emit('completed', this.liveCondition);\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport { Action, Getter } from 'vuex-class';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { HANDLE_SERIOUS_ERROR } from '@/store/app/actionTypes';\r\nimport TitledSection from '@/shared/components/TitledSection.vue';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport CreateHoliday from '@/features/settings/components/CreateHoliday.vue';\r\nimport UpdateHoliday from '@/features/settings/components/UpdateHoliday.vue';\r\nimport { HolidayViewModel } from '@/features/bots/models/holidayViewModel';\r\nimport DataTableColumn from '@/shared/components/dataTable/dataTableColumn';\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\r\nimport DeleteIcon from 'vue-material-design-icons/TrashCanOutline.vue';\r\nimport ClockIcon from 'vue-material-design-icons/ClockOutline.vue';\r\nimport { DELETE_HOLIDAY, LOAD_HOLIDAYS } from '@/store/holidays/actionTypes';\r\nimport moment from 'moment';\r\nimport DropDownMenu from '@/shared/components/dropDownMenu/DropDownMenu.vue';\r\nimport ConfirmationModal from '@/shared/components/ConfirmationModal.vue';\r\nimport HtmlFormatter from '@/shared/services/htmlFormatter';\r\nimport Toast from '@/shared/services/toast';\r\nimport { LOAD_FLOWS } from '@/store/bot-designer/actionTypes';\r\nimport { FlowListItemViewModel } from '@/features/bots/models/flowListItemViewModel';\r\nimport CalendarIcon from 'vue-material-design-icons/CalendarRange.vue';\r\nimport BusinessHoursSelection from '@/features/bots/components/businessHoursSelection/BusinessHoursSelection.vue';\r\nimport { BusinessHoursViewModel } from '@/features/bots/models';\r\nimport { botsApi } from '@/features/bots/services/bots';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tCalendarIcon,\r\n\t\tClockIcon,\r\n\t\tConfirmationModal,\r\n\t\tCreateHoliday,\r\n\t\tDataTable,\r\n\t\tDeleteIcon,\r\n\t\tDropDownMenu,\r\n\t\tLoadingSpinner,\r\n\t\tBusinessHoursSelection,\r\n\t\tTitledSection,\r\n\t\tUpdateHoliday,\r\n\t},\r\n})\r\nexport default class BusinessHours extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Getter public holidays!: HolidayViewModel[];\r\n\t@Getter public getFlow!: (flowId: string) => FlowListItemViewModel | undefined;\r\n\r\n\tpublic businessHours: BusinessHoursViewModel[] = [];\r\n\r\n\t@Action(HANDLE_SERIOUS_ERROR) public handleSeriousError: any;\r\n\t@Action(LOAD_HOLIDAYS) public loadHolidays: (forceLoad?: boolean) => Promise;\r\n\t@Action(DELETE_HOLIDAY) public executeDelete: (holidayId: string) => Promise;\r\n\t@Action(LOAD_FLOWS) public loadFlows: any;\r\n\r\n\tpublic selectedHoliday = {} as HolidayViewModel;\r\n\r\n\tpublic createHolidayModalDisplayed: boolean = false;\r\n\tpublic updateHolidayModalDisplayed: boolean = false;\r\n\tpublic showDeleteAttributeModal: boolean = false;\r\n\tpublic isLoading: boolean = true;\r\n\tpublic botAppInstallError: boolean = false;\r\n\tpublic updateInProgress: boolean = false;\r\n\tpublic invalidOpeningTimes: boolean = false;\r\n\r\n\tpublic async mounted() {\r\n\t\ttry {\r\n\t\t\tawait this.loadHolidays(true);\r\n\t\t\tthis.businessHours = await this.loadBusinessHours();\r\n\t\t} catch (error) {\r\n\t\t\tif (error.status !== 404) {\r\n\t\t\t\tthis.handleSeriousError(error.message);\r\n\t\t\t}\r\n\t\t} finally {\r\n\t\t\tthis.isLoading = false;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic showCreateHolidayModal() {\r\n\t\tthis.createHolidayModalDisplayed = true;\r\n\t}\r\n\r\n\tpublic closeCreateHolidayModal() {\r\n\t\tthis.createHolidayModalDisplayed = false;\r\n\t}\r\n\r\n\tpublic openEditHoliday(holiday: HolidayViewModel) {\r\n\t\tthis.selectedHoliday = holiday;\r\n\t\tthis.updateHolidayModalDisplayed = true;\r\n\t}\r\n\r\n\tpublic closeUpdateHolidayModal() {\r\n\t\tthis.updateHolidayModalDisplayed = false;\r\n\t}\r\n\r\n\tpublic async showDeleteModal(holiday: HolidayViewModel) {\r\n\t\tthis.selectedHoliday = holiday;\r\n\t\tif (this.canSelectedHolidayBeDeleted) {\r\n\t\t\tthis.showDeleteAttributeModal = true;\r\n\t\t} else {\r\n\t\t\tif (this.isHolidayUsedInFlows) {\r\n\t\t\t\tawait this.loadFlows();\r\n\t\t\t}\r\n\t\t\tthis.showDeleteAttributeModal = true;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic get canSelectedHolidayBeDeleted(): boolean {\r\n\t\treturn !this.isHolidayUsedInDefaultBusinessHours && !this.isHolidayUsedInFlows;\r\n\t}\r\n\r\n\tpublic get deleteConfirmationMessage() {\r\n\t\tif (this.canSelectedHolidayBeDeleted) {\r\n\t\t\treturn `Are you sure you want to delete holiday ${this.holidayDisplayName}?`;\r\n\t\t} else {\r\n\t\t\tlet warningText = `The holiday ${this.holidayDisplayName} cannot be deleted `;\r\n\t\t\tif (this.isHolidayUsedInDefaultBusinessHours && this.isHolidayUsedInFlows) {\r\n\t\t\t\twarningText += `as it's in use in your default business hours and in the following flows: ${this.usedFlowHtmlList}`;\r\n\t\t\t} else if (this.isHolidayUsedInDefaultBusinessHours) {\r\n\t\t\t\twarningText += `as it's in use in your default business hours.`;\r\n\t\t\t} else if (this.isHolidayUsedInFlows) {\r\n\t\t\t\twarningText += `as it's in use in the following flows: ${this.usedFlowHtmlList}`;\r\n\t\t\t}\r\n\t\t\treturn warningText;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async deleteHoliday() {\r\n\t\tthis.showDeleteAttributeModal = false;\r\n\t\tif (this.canSelectedHolidayBeDeleted) {\r\n\t\t\ttry {\r\n\t\t\t\tawait this.executeDelete(this.selectedHoliday.id!);\r\n\t\t\t\tToast.showSuccess(`Successfully deleted holiday: ${this.selectedHoliday.name}`);\r\n\t\t\t} catch (err) {\r\n\t\t\t\tToast.showError(err.message);\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.selectedHoliday = {} as HolidayViewModel;\r\n\t}\r\n\r\n\tpublic getColumns(): DataTableColumn[] {\r\n\t\treturn [\r\n\t\t\t{\r\n\t\t\t\tdisplay: 'Name',\r\n\t\t\t\tname: 'name',\r\n\t\t\t\tclickable: true,\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tdisplay: 'When',\r\n\t\t\t\tname: 'dates',\r\n\t\t\t\tformatter: this.formatWhen,\r\n\t\t\t},\r\n\t\t];\r\n\t}\r\n\r\n\tpublic loadBusinessHours() {\r\n\t\treturn botsApi.getBusinessHours(this.currentWorkspace.id);\r\n\t}\r\n\r\n\tpublic openingTimesError($event: any) {\r\n\t\tthis.invalidOpeningTimes = $event;\r\n\t}\r\n\r\n\tpublic save() {\r\n\t\tif (\r\n\t\t\t\tthis.updateInProgress ||\r\n\t\t\t\tthis.isLoading ||\r\n\t\t\t\tthis.botAppInstallError\r\n\t\t) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.updateInProgress = true;\r\n\r\n\t\tconst businessHours = this.businessHours.map((val) => {\r\n\t\t\tif (val.closed) {\r\n\t\t\t\tval.startTime = undefined;\r\n\t\t\t\tval.endTime = undefined;\r\n\t\t\t}\r\n\t\t\treturn val;\r\n\t\t});\r\n\r\n\t\tbotsApi\r\n\t\t\t\t.updateBusinessHours(this.currentWorkspace.id, businessHours)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tToast.showSuccess('Successfully updated Bot');\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tToast.showError(err.message);\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => {\r\n\t\t\t\t\tthis.updateInProgress = false;\r\n\t\t\t\t});\r\n\t}\r\n\r\n\tprivate formatWhen(dates: Date[]): string {\r\n\t\tif (dates) {\r\n\t\t\tconst datesToDisplay = dates.slice(0, 3);\r\n\t\t\tconst readableDates = datesToDisplay\r\n\t\t\t\t\t.map((date) => moment(date).format('MMMM Do YYYY'))\r\n\t\t\t\t\t.join(', ');\r\n\t\t\treturn dates.length > 3 ? `${readableDates}...` : readableDates;\r\n\t\t}\r\n\t\treturn '';\r\n\t}\r\n\r\n\tprivate get isHolidayUsedInDefaultBusinessHours(): boolean {\r\n\t\treturn this.businessHours.some(bh => bh.holidayId === this.selectedHoliday.id);\r\n\t}\r\n\r\n\tprivate get isHolidayUsedInFlows(): boolean {\r\n\t\treturn !!this.selectedHoliday.usedInFlowIds && this.selectedHoliday.usedInFlowIds.length > 0;\r\n\t}\r\n\r\n\tprivate get usedFlowHtmlList() {\r\n\t\tconst flowNames = this.selectedHoliday.usedInFlowIds!.map(flowId => this.getFlowDisplayName(flowId));\r\n\t\tlet flowListHtml = '
    ';\r\n\t\tflowListHtml += flowNames.map(flowName => `
  • ${flowName}
  • `).join('');\r\n\t\tflowListHtml += '
';\r\n\t\treturn flowListHtml;\r\n\t}\r\n\r\n\tprivate getFlowDisplayName(flowId: string): string {\r\n\t\tconst flow = this.getFlow(flowId);\r\n\t\treturn flow ? HtmlFormatter.escapeHtmlCharacters(flow.name) : flowId;\r\n\t}\r\n\r\n\tprivate get holidayDisplayName(): string {\r\n\t\treturn HtmlFormatter.escapeHtmlCharacters(this.selectedHoliday.name);\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./VariablePicker.vue?vue&type=template&id=54b55d48&scoped=true\"\nimport script from \"./VariablePicker.vue?vue&type=script&lang=ts\"\nexport * from \"./VariablePicker.vue?vue&type=script&lang=ts\"\nimport style0 from \"./VariablePicker.vue?vue&type=style&index=0&id=54b55d48&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"54b55d48\",\n null\n \n)\n\nexport default component.exports","var map = {\n\t\"./af\": \"2bfb\",\n\t\"./af.js\": \"2bfb\",\n\t\"./ar\": \"8e73\",\n\t\"./ar-dz\": \"a356\",\n\t\"./ar-dz.js\": \"a356\",\n\t\"./ar-kw\": \"423e\",\n\t\"./ar-kw.js\": \"423e\",\n\t\"./ar-ly\": \"1cfd\",\n\t\"./ar-ly.js\": \"1cfd\",\n\t\"./ar-ma\": \"0a84\",\n\t\"./ar-ma.js\": \"0a84\",\n\t\"./ar-sa\": \"8230\",\n\t\"./ar-sa.js\": \"8230\",\n\t\"./ar-tn\": \"6d83\",\n\t\"./ar-tn.js\": \"6d83\",\n\t\"./ar.js\": \"8e73\",\n\t\"./az\": \"485c\",\n\t\"./az.js\": \"485c\",\n\t\"./be\": \"1fc1\",\n\t\"./be.js\": \"1fc1\",\n\t\"./bg\": \"84aa\",\n\t\"./bg.js\": \"84aa\",\n\t\"./bm\": \"a7fa\",\n\t\"./bm.js\": \"a7fa\",\n\t\"./bn\": \"9043\",\n\t\"./bn-bd\": \"9686\",\n\t\"./bn-bd.js\": \"9686\",\n\t\"./bn.js\": \"9043\",\n\t\"./bo\": \"d26a3\",\n\t\"./bo.js\": \"d26a3\",\n\t\"./br\": \"6887\",\n\t\"./br.js\": \"6887\",\n\t\"./bs\": \"2554\",\n\t\"./bs.js\": \"2554\",\n\t\"./ca\": \"d716\",\n\t\"./ca.js\": \"d716\",\n\t\"./cs\": \"3c0d\",\n\t\"./cs.js\": \"3c0d\",\n\t\"./cv\": \"03ec\",\n\t\"./cv.js\": \"03ec\",\n\t\"./cy\": \"9797\",\n\t\"./cy.js\": \"9797\",\n\t\"./da\": \"0f14\",\n\t\"./da.js\": \"0f14\",\n\t\"./de\": \"b469\",\n\t\"./de-at\": \"b3eb\",\n\t\"./de-at.js\": \"b3eb\",\n\t\"./de-ch\": \"bb71\",\n\t\"./de-ch.js\": \"bb71\",\n\t\"./de.js\": \"b469\",\n\t\"./dv\": \"598a\",\n\t\"./dv.js\": \"598a\",\n\t\"./el\": \"8d47\",\n\t\"./el.js\": \"8d47\",\n\t\"./en-au\": \"0e6b\",\n\t\"./en-au.js\": \"0e6b\",\n\t\"./en-ca\": \"3886\",\n\t\"./en-ca.js\": \"3886\",\n\t\"./en-gb\": \"39a6\",\n\t\"./en-gb.js\": \"39a6\",\n\t\"./en-ie\": \"e1d3\",\n\t\"./en-ie.js\": \"e1d3\",\n\t\"./en-il\": \"73332\",\n\t\"./en-il.js\": \"73332\",\n\t\"./en-in\": \"ec2e\",\n\t\"./en-in.js\": \"ec2e\",\n\t\"./en-nz\": \"6f50\",\n\t\"./en-nz.js\": \"6f50\",\n\t\"./en-sg\": \"b7e9a\",\n\t\"./en-sg.js\": \"b7e9a\",\n\t\"./eo\": \"65db\",\n\t\"./eo.js\": \"65db\",\n\t\"./es\": \"898b\",\n\t\"./es-do\": \"0a3c\",\n\t\"./es-do.js\": \"0a3c\",\n\t\"./es-mx\": \"b5b7\",\n\t\"./es-mx.js\": \"b5b7\",\n\t\"./es-us\": \"55c9\",\n\t\"./es-us.js\": \"55c9\",\n\t\"./es.js\": \"898b\",\n\t\"./et\": \"ec18\",\n\t\"./et.js\": \"ec18\",\n\t\"./eu\": \"0ff2\",\n\t\"./eu.js\": \"0ff2\",\n\t\"./fa\": \"8df4\",\n\t\"./fa.js\": \"8df4\",\n\t\"./fi\": \"81e9\",\n\t\"./fi.js\": \"81e9\",\n\t\"./fil\": \"d69a\",\n\t\"./fil.js\": \"d69a\",\n\t\"./fo\": \"0721\",\n\t\"./fo.js\": \"0721\",\n\t\"./fr\": \"9f26\",\n\t\"./fr-ca\": \"d9f8\",\n\t\"./fr-ca.js\": \"d9f8\",\n\t\"./fr-ch\": \"0e49\",\n\t\"./fr-ch.js\": \"0e49\",\n\t\"./fr.js\": \"9f26\",\n\t\"./fy\": \"7118\",\n\t\"./fy.js\": \"7118\",\n\t\"./ga\": \"5120\",\n\t\"./ga.js\": \"5120\",\n\t\"./gd\": \"f6b4\",\n\t\"./gd.js\": \"f6b4\",\n\t\"./gl\": \"8840\",\n\t\"./gl.js\": \"8840\",\n\t\"./gom-deva\": \"aaf2\",\n\t\"./gom-deva.js\": \"aaf2\",\n\t\"./gom-latn\": \"0caa\",\n\t\"./gom-latn.js\": \"0caa\",\n\t\"./gu\": \"e0c5\",\n\t\"./gu.js\": \"e0c5\",\n\t\"./he\": \"c7aa\",\n\t\"./he.js\": \"c7aa\",\n\t\"./hi\": \"dc4d\",\n\t\"./hi.js\": \"dc4d\",\n\t\"./hr\": \"4ba9\",\n\t\"./hr.js\": \"4ba9\",\n\t\"./hu\": \"5b14\",\n\t\"./hu.js\": \"5b14\",\n\t\"./hy-am\": \"d6b6\",\n\t\"./hy-am.js\": \"d6b6\",\n\t\"./id\": \"5038\",\n\t\"./id.js\": \"5038\",\n\t\"./is\": \"0558\",\n\t\"./is.js\": \"0558\",\n\t\"./it\": \"6e98\",\n\t\"./it-ch\": \"6f12\",\n\t\"./it-ch.js\": \"6f12\",\n\t\"./it.js\": \"6e98\",\n\t\"./ja\": \"079e\",\n\t\"./ja.js\": \"079e\",\n\t\"./jv\": \"b540\",\n\t\"./jv.js\": \"b540\",\n\t\"./ka\": \"201b\",\n\t\"./ka.js\": \"201b\",\n\t\"./kk\": \"6d79\",\n\t\"./kk.js\": \"6d79\",\n\t\"./km\": \"e81d\",\n\t\"./km.js\": \"e81d\",\n\t\"./kn\": \"3e92\",\n\t\"./kn.js\": \"3e92\",\n\t\"./ko\": \"22f8\",\n\t\"./ko.js\": \"22f8\",\n\t\"./ku\": \"2421\",\n\t\"./ku.js\": \"2421\",\n\t\"./ky\": \"9609\",\n\t\"./ky.js\": \"9609\",\n\t\"./lb\": \"440c\",\n\t\"./lb.js\": \"440c\",\n\t\"./lo\": \"b29d\",\n\t\"./lo.js\": \"b29d\",\n\t\"./lt\": \"26f9\",\n\t\"./lt.js\": \"26f9\",\n\t\"./lv\": \"b97c\",\n\t\"./lv.js\": \"b97c\",\n\t\"./me\": \"293c\",\n\t\"./me.js\": \"293c\",\n\t\"./mi\": \"688b\",\n\t\"./mi.js\": \"688b\",\n\t\"./mk\": \"6909\",\n\t\"./mk.js\": \"6909\",\n\t\"./ml\": \"02fb\",\n\t\"./ml.js\": \"02fb\",\n\t\"./mn\": \"958b\",\n\t\"./mn.js\": \"958b\",\n\t\"./mr\": \"39bd\",\n\t\"./mr.js\": \"39bd\",\n\t\"./ms\": \"ebe4\",\n\t\"./ms-my\": \"64030\",\n\t\"./ms-my.js\": \"64030\",\n\t\"./ms.js\": \"ebe4\",\n\t\"./mt\": \"1b45\",\n\t\"./mt.js\": \"1b45\",\n\t\"./my\": \"8689\",\n\t\"./my.js\": \"8689\",\n\t\"./nb\": \"6ce3\",\n\t\"./nb.js\": \"6ce3\",\n\t\"./ne\": \"3a39\",\n\t\"./ne.js\": \"3a39\",\n\t\"./nl\": \"facd\",\n\t\"./nl-be\": \"db29\",\n\t\"./nl-be.js\": \"db29\",\n\t\"./nl.js\": \"facd\",\n\t\"./nn\": \"b84c\",\n\t\"./nn.js\": \"b84c\",\n\t\"./oc-lnc\": \"167b\",\n\t\"./oc-lnc.js\": \"167b\",\n\t\"./pa-in\": \"f3ff\",\n\t\"./pa-in.js\": \"f3ff\",\n\t\"./pl\": \"8d57\",\n\t\"./pl.js\": \"8d57\",\n\t\"./pt\": \"f260\",\n\t\"./pt-br\": \"d2d4\",\n\t\"./pt-br.js\": \"d2d4\",\n\t\"./pt.js\": \"f260\",\n\t\"./ro\": \"972c\",\n\t\"./ro.js\": \"972c\",\n\t\"./ru\": \"957c\",\n\t\"./ru.js\": \"957c\",\n\t\"./sd\": \"6784\",\n\t\"./sd.js\": \"6784\",\n\t\"./se\": \"ffff\",\n\t\"./se.js\": \"ffff\",\n\t\"./si\": \"eda5\",\n\t\"./si.js\": \"eda5\",\n\t\"./sk\": \"7be6\",\n\t\"./sk.js\": \"7be6\",\n\t\"./sl\": \"8155\",\n\t\"./sl.js\": \"8155\",\n\t\"./sq\": \"c8f3\",\n\t\"./sq.js\": \"c8f3\",\n\t\"./sr\": \"cf1e\",\n\t\"./sr-cyrl\": \"13e9\",\n\t\"./sr-cyrl.js\": \"13e9\",\n\t\"./sr.js\": \"cf1e\",\n\t\"./ss\": \"52bd\",\n\t\"./ss.js\": \"52bd\",\n\t\"./sv\": \"5fbd\",\n\t\"./sv.js\": \"5fbd\",\n\t\"./sw\": \"74dc\",\n\t\"./sw.js\": \"74dc\",\n\t\"./ta\": \"3de5\",\n\t\"./ta.js\": \"3de5\",\n\t\"./te\": \"5cbb\",\n\t\"./te.js\": \"5cbb\",\n\t\"./tet\": \"576c\",\n\t\"./tet.js\": \"576c\",\n\t\"./tg\": \"3b1b\",\n\t\"./tg.js\": \"3b1b\",\n\t\"./th\": \"10e8\",\n\t\"./th.js\": \"10e8\",\n\t\"./tk\": \"5aff\",\n\t\"./tk.js\": \"5aff\",\n\t\"./tl-ph\": \"0f38b\",\n\t\"./tl-ph.js\": \"0f38b\",\n\t\"./tlh\": \"cf75\",\n\t\"./tlh.js\": \"cf75\",\n\t\"./tr\": \"0e81\",\n\t\"./tr.js\": \"0e81\",\n\t\"./tzl\": \"cf51\",\n\t\"./tzl.js\": \"cf51\",\n\t\"./tzm\": \"c109\",\n\t\"./tzm-latn\": \"b53d\",\n\t\"./tzm-latn.js\": \"b53d\",\n\t\"./tzm.js\": \"c109\",\n\t\"./ug-cn\": \"6117\",\n\t\"./ug-cn.js\": \"6117\",\n\t\"./uk\": \"ada2\",\n\t\"./uk.js\": \"ada2\",\n\t\"./ur\": \"5294\",\n\t\"./ur.js\": \"5294\",\n\t\"./uz\": \"2e8c\",\n\t\"./uz-latn\": \"010e\",\n\t\"./uz-latn.js\": \"010e\",\n\t\"./uz.js\": \"2e8c\",\n\t\"./vi\": \"2921\",\n\t\"./vi.js\": \"2921\",\n\t\"./x-pseudo\": \"fd7e\",\n\t\"./x-pseudo.js\": \"fd7e\",\n\t\"./yo\": \"7f33\",\n\t\"./yo.js\": \"7f33\",\n\t\"./zh-cn\": \"5c3a\",\n\t\"./zh-cn.js\": \"5c3a\",\n\t\"./zh-hk\": \"49ab\",\n\t\"./zh-hk.js\": \"49ab\",\n\t\"./zh-mo\": \"3a6c\",\n\t\"./zh-mo.js\": \"3a6c\",\n\t\"./zh-tw\": \"90ea\",\n\t\"./zh-tw.js\": \"90ea\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"4678\";","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConversationControlBar.vue?vue&type=style&index=0&id=4c70c92a&prod&lang=scss&scoped=true\"","\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { default as ColourPicker } from '@/shared/services/color';\r\n@Component\r\nexport default class Banner extends Vue {\r\n\t@Prop() public showOverlay: boolean;\r\n\t@Prop({default: 'warning'}) public type: 'warning' | 'info';\r\n\r\n\tpublic getContrastingColour() {\r\n\t\tlet bgColour = '#91B2ff';\r\n\t\tif (this.type === 'warning') {\r\n\t\t\tbgColour = '#E6C300';\r\n\t\t}\r\n\t\treturn ColourPicker.getContrastingColour(bgColour);\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticClass:\"app-icon\",class:{ 'web-assistant': _vm.isWebAssistant }},[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":(\"#\" + _vm.logo)}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { Conditions, OperationPickerOption, ConditionOperationType } from './../models/conditions';\r\nimport { ConditionViewModel } from './../models/conditionViewModel';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { required, numeric, maxLength } from 'vuelidate/lib/validators';\r\n\r\n\r\n@Component({\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tliveCondition: {\r\n\t\t\tvalue: { required, numeric, maxLength: maxLength(8) }\r\n\t\t},\r\n\t}\r\n})\r\nexport default class DateTimeCondition extends Vue {\r\n\t@Prop() public condition: ConditionViewModel;\r\n\r\n\tpublic liveCondition: ConditionViewModel = {\r\n\t\tattribute: '',\r\n\t\toperation: '',\r\n\t\ttype: '',\r\n\t\tunit: '',\r\n\t\tvalue: '',\r\n\t\tresult: true\r\n\t};\r\n\r\n\tpublic operations: OperationPickerOption[] = Conditions.Operations.datetime.map((op, index) => {\r\n\t\treturn {\r\n\t\t\tid: `${index}`,\r\n\t\t\ttitle: op.title,\r\n\t\t\toperation: op.operation,\r\n\t\t\tresult: op.result\r\n\t\t};\r\n\t});\r\n\r\n\tpublic units = Conditions.DateTimeUnits;\r\n\r\n\tpublic selectedOperationId: string = '';\r\n\tpublic selectedUnitValue: string|undefined = '';\r\n\r\n\tpublic mounted() {\r\n\t\tif (this.condition) {\r\n\t\t\tthis.liveCondition = {\r\n\t\t\t\tattribute: this.condition.attribute,\r\n\t\t\t\toperation: this.condition.operation,\r\n\t\t\t\ttype: this.condition.type,\r\n\t\t\t\tvalue: this.condition.value,\r\n\t\t\t\tresult: this.condition.result,\r\n\t\t\t\tunit: this.condition.unit,\r\n\t\t\t\tinvalid: this.condition.invalid\r\n\t\t\t};\r\n\r\n\t\t\tif (this.liveCondition.invalid) {\r\n\t\t\t\tthis.$v.$touch();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tthis.selectedOperationId = this.getSelectedOperation();\r\n\t\tthis.operationSelected();\r\n\r\n\t\tthis.selectedUnitValue = this.getSelectedDateTimeUnit();\r\n\t\tthis.unitSelected();\r\n\t}\r\n\r\n\tpublic getSelectedOperation() {\r\n\t\tif (this.liveCondition) {\r\n\t\t\tconst selectedOperation = this.operations.find(op => op.operation === this.liveCondition.operation && op.result === this.liveCondition.result);\r\n\t\t\tif (selectedOperation) {\r\n\t\t\t\treturn selectedOperation.id;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn this.operations[0].id;\r\n\t}\r\n\r\n\tpublic getSelectedDateTimeUnit() {\r\n\t\tif (this.liveCondition && this.liveCondition.unit) {\r\n\t\t\treturn this.liveCondition.unit as string;\r\n\t\t} else if (this.liveCondition.operation !== ConditionOperationType.IsSet) {\r\n\t\t\treturn this.units[0].id;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getSelectedValue() {\r\n\t\tif (this.liveCondition) {\r\n\t\t\treturn this.liveCondition.value;\r\n\t\t}\r\n\t\treturn '1';\r\n\t}\r\n\r\n\tpublic operationSelected() {\r\n\t\tconst selectedOperation = this.operations.find(op => op.id === this.selectedOperationId);\r\n\t\tif (selectedOperation) {\r\n\t\t\tthis.liveCondition.operation = selectedOperation.operation;\r\n\t\t\tthis.liveCondition.result = selectedOperation.result;\r\n\t\t\tthis.emitConditionChanged();\r\n\t\t\tthis.selectedUnitValue = this.getSelectedDateTimeUnit();\r\n\t\t\tthis.unitSelected();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic unitSelected() {\r\n\t\tconst selectedUnit = this.units.find(op => op.id === this.selectedUnitValue);\r\n\t\tif (selectedUnit) {\r\n\t\t\tthis.liveCondition.unit = selectedUnit.id;\r\n\t\t} else {\r\n\t\t\tthis.liveCondition.unit = undefined;\r\n\t\t}\r\n\t\tthis.emitConditionChanged();\r\n\t}\r\n\r\n\tpublic textChanged(value: string) {\r\n\t\tthis.liveCondition.value = value;\r\n\t\tthis.$v.$touch();\r\n\t\tthis.emitConditionChanged();\r\n\t}\r\n\r\n\tpublic get requiresInput() {\r\n\t\treturn this.liveCondition.operation !== ConditionOperationType.IsSet;\r\n\t}\r\n\r\n\tprivate emitConditionChanged() {\r\n\t\tthis.liveCondition.invalid = this.$v.$invalid && this.requiresInput;\r\n\t\tthis.$emit('changed', this.liveCondition);\r\n\t}\r\n\r\n\tprivate complete() {\r\n\t\tthis.liveCondition.invalid = this.$v.$invalid && this.requiresInput;\r\n\t\tthis.$emit('completed', this.liveCondition);\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\n\r\n@Component({})\r\nexport default class Modal extends Vue {}\r\n","import { render, staticRenderFns } from \"./HomeScreenPanelStartChat.vue?vue&type=template&id=34a36a44&scoped=true\"\nimport script from \"./HomeScreenPanelStartChat.vue?vue&type=script&lang=ts\"\nexport * from \"./HomeScreenPanelStartChat.vue?vue&type=script&lang=ts\"\nimport style0 from \"./HomeScreenPanelStartChat.vue?vue&type=style&index=0&id=34a36a44&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"34a36a44\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./ErrorPage.vue?vue&type=template&id=8e6543c2&scoped=true\"\nimport script from \"./ErrorPage.vue?vue&type=script&lang=ts\"\nexport * from \"./ErrorPage.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ErrorPage.vue?vue&type=style&index=0&id=8e6543c2&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8e6543c2\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component} from 'vue-property-decorator';\r\nimport DoughnutChart from '../chartjs/DoughnutChart.vue';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport ChartError from '../ChartError.vue';\r\nimport ChartLabels from '../ChartLabels.vue';\r\nimport { ReportType } from '../../models/reportType';\r\nimport BaseFlowReport from '@/features/reports/components/flows/baseFlowReport';\r\nimport TotalsDoughnutChart from './TotalsDoughnutChart.vue';\r\nimport {Data, DateGrouping, Series} from '@/features/reports/models';\r\nimport {FluentDate} from '@/features/reports/services';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tDoughnutChart,\r\n\t\tLoadingSpinner,\r\n\t\tChartError,\r\n\t\tChartLabels,\r\n\t\tTotalsDoughnutChart\r\n\t}\r\n})\r\nexport default class FlowTotalsCharts extends BaseFlowReport {\r\n\tpublic reportId = ReportType.FLOW_TOTALS;\r\n\r\n\tpublic dataPointGrouping(): DateGrouping {\r\n\t\tconst filterRange = this.selectedDateOption.getDateRange();\r\n\r\n\t\tif (new FluentDate(filterRange.start).isStartOfMonth() && new FluentDate(filterRange.end).isEndOfMonth()) {\r\n\t\t\treturn DateGrouping.MONTH;\r\n\t\t}\r\n\r\n\t\treturn DateGrouping.DAY;\r\n\t}\r\n\r\n\tpublic getFlowIdForRequest(): string {\r\n\t\treturn 'all';\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./CreateAttribute.vue?vue&type=template&id=40ade313\"\nimport script from \"./CreateAttribute.vue?vue&type=script&lang=ts\"\nexport * from \"./CreateAttribute.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./googleBmAgentConfig.vue?vue&type=template&id=5e609ead&scoped=true\"\nimport script from \"./googleBmAgentConfig.vue?vue&type=script&lang=ts\"\nexport * from \"./googleBmAgentConfig.vue?vue&type=script&lang=ts\"\nimport style0 from \"./googleBmAgentConfig.vue?vue&type=style&index=0&id=5e609ead&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5e609ead\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport { Action } from 'vuex-class';\r\nimport { maxLength, required } from 'vuelidate/lib/validators';\r\nimport { validationMixin } from 'vuelidate';\r\nimport Toast from '@/shared/services/toast';\r\nimport Modal from '@/shared/components/Modal.vue';\r\nimport { CREATE_HOLIDAY } from '@/store/holidays/actionTypes';\r\nimport { HolidayViewModel } from '@/features/bots/models/holidayViewModel';\r\nimport VuelidateUtil from '@/shared/util/vuelidateUtil';\r\nimport HelpIcon from 'vue-material-design-icons/HelpCircleOutline.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tModal,\r\n\t\tHelpIcon\r\n\t},\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tname: {\r\n\t\t\trequired,\r\n\t\t\tmaxLength: maxLength(50),\r\n\t\t\tholidayNameValid: VuelidateUtil.objectName\r\n\t\t},\r\n\t\tdates: {\r\n\t\t\trequired,\r\n\t\t\t$each: {\r\n\t\t\t\tdate: {required, todayOrFutureValid: VuelidateUtil.todayOrFuture}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n})\r\nexport default class CreateHoliday extends Vue {\r\n\t@Action(CREATE_HOLIDAY) public createHoliday: (request: HolidayViewModel) => Promise;\r\n\r\n\tpublic name = '';\r\n\tpublic dates: any[] = [\r\n\t\t{ date: new Date(), key: 'first' }\r\n\t]; // Needs to be in object because v-for can't modify directly the model\r\n\r\n\tpublic updateInProgress: boolean = false;\r\n\r\n\tpublic mounted() {\r\n\t\tthis.focusOnInput(this.$refs.nameInput as Vue);\r\n\t}\r\n\r\n\tpublic closeModal() {\r\n\t\tthis.$emit('cancel');\r\n\t}\r\n\r\n\tpublic addDate() {\r\n\t\tthis.dates.push({date: new Date(), key: Date.now()});\r\n\t\tthis.$nextTick(() => {\r\n\t\t\tconst dateInputs = this.$refs.dateInput as Vue[];\r\n\t\t\tconst lastDateInput = dateInputs[dateInputs.length - 1];\r\n\t\t\tthis.focusOnInput(lastDateInput);\r\n\t\t});\r\n\t}\r\n\r\n\tpublic deleteDate(index: number) {\r\n\t\tthis.dates.splice(index, 1);\r\n\t}\r\n\r\n\tpublic getErrorMessage(vuelidate: any, prop: string, label: string) {\r\n\t\tif (VuelidateUtil.isValidationInvalid(vuelidate, prop, 'holidayNameValid')) {\r\n\t\t\treturn `${label} must only contain letters, numbers, spaces, and the characters , - _ ( ) &`;\r\n\t\t}\r\n\t\tif (VuelidateUtil.isMaxLengthInvalid(vuelidate, prop)) {\r\n\t\t\treturn `${label} must not be longer than ${VuelidateUtil.getAllowedMaxLength(vuelidate, prop)} characters`;\r\n\t\t}\r\n\t\tif (VuelidateUtil.isRequiredInvalid(vuelidate, prop)) {\r\n\t\t\treturn prop === 'date' ? `A valid date is required` : `${label} must not be empty`;\r\n\t\t}\r\n\t\tif (VuelidateUtil.isValidationInvalid(vuelidate, prop, 'todayOrFutureValid')) {\r\n\t\t\treturn `${label} must be today or in the future`;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async update() {\r\n\t\tif (this.updateInProgress) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.updateInProgress = true;\r\n\t\ttry {\r\n\t\t\tconst request = this.createRequestModel();\r\n\t\t\tconst createdHoliday = await this.createHoliday(request);\r\n\t\t\tToast.showSuccess('Holiday successfully created');\r\n\t\t\tthis.$emit('create', createdHoliday);\r\n\t\t} catch (err) {\r\n\t\t\tToast.showError(err.message);\r\n\t\t} finally {\r\n\t\t\tthis.updateInProgress = false;\r\n\t\t}\r\n\t}\r\n\r\n\tprivate createRequestModel(): HolidayViewModel {\r\n\t\treturn {\r\n\t\t\tname: this.name,\r\n\t\t\tdates: this.dates.map(d => d.date)\r\n\t\t};\r\n\t}\r\n\r\n\tprivate focusOnInput(component: Vue) {\r\n\t\tif (component) {\r\n\t\t\tconst inputElements = component.$el.getElementsByTagName('input');\r\n\t\t\tif (inputElements.length === 1) {\r\n\t\t\t\tinputElements[0].focus();\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n","import { MutationTree } from 'vuex';\r\nimport { IntentsState } from '.';\r\nimport { ADD_TO_INTENTS_CACHE, CLEAR_INTENTS_CACHE, REMOVE_INTENT_FROM_CACHE, SET_INTENTS, UPDATE_INTENT_IN_CACHE } from './mutationTypes';\r\nimport { IntentListItemViewModel } from '@/features/bots/models/intents/intentListItemViewModel';\r\n\r\nexport const mutations: MutationTree = {\r\n\t[SET_INTENTS](state, intents: IntentListItemViewModel[]) {\r\n\t\tstate.intents = intents;\r\n\t},\r\n\r\n\t[CLEAR_INTENTS_CACHE](state) {\r\n\t\tstate.intents = [];\r\n\t},\r\n\r\n\t[ADD_TO_INTENTS_CACHE](state, intent: IntentListItemViewModel) {\r\n\t\tstate.intents.push(intent);\r\n\t\tstate.intents.sort((a, b) => a.title.localeCompare(b.title));\r\n\t},\r\n\r\n\t[UPDATE_INTENT_IN_CACHE](state, updatedIntent: IntentListItemViewModel) {\r\n\t\tconst index = state.intents.findIndex(x => x.id === updatedIntent.id);\r\n\t\tif (index !== -1) {\r\n\t\t\tstate.intents[index] = updatedIntent;\r\n\t\t\tstate.intents.sort((a, b) => a.title.localeCompare(b.title));\r\n\t\t}\r\n\t},\r\n\r\n\t[REMOVE_INTENT_FROM_CACHE](state, id: string) {\r\n\t\tconst index = state.intents.findIndex(x => x.id === id);\r\n\t\tif (index !== -1) {\r\n\t\t\tstate.intents.splice(index, 1);\r\n\t\t}\r\n\t}\r\n};\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InputValidationConfig.vue?vue&type=style&index=0&id=1813528c&prod&scoped=true&lang=scss\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { Action } from 'vuex-class';\r\nimport { maxLength, required } from 'vuelidate/lib/validators';\r\nimport { validationMixin } from 'vuelidate';\r\nimport Toast from '@/shared/services/toast';\r\nimport Modal from '@/shared/components/Modal.vue';\r\nimport { UPDATE_HOLIDAY } from '@/store/holidays/actionTypes';\r\nimport { HolidayViewModel } from '@/features/bots/models/holidayViewModel';\r\nimport VuelidateUtil from '@/shared/util/vuelidateUtil';\r\nimport HelpIcon from 'vue-material-design-icons/HelpCircleOutline.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tModal,\r\n\t\tHelpIcon\r\n\t},\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tname: {\r\n\t\t\trequired,\r\n\t\t\tmaxLength: maxLength(50),\r\n\t\t\tholidayNameValid: VuelidateUtil.objectName\r\n\t\t},\r\n\t\tdates: {\r\n\t\t\trequired,\r\n\t\t\t$each: {\r\n\t\t\t\tdate: {required, todayOrFutureValid: VuelidateUtil.todayOrFuture}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n})\r\nexport default class UpdateHoliday extends Vue {\r\n\t@Action(UPDATE_HOLIDAY) public updateHoliday: (request: HolidayViewModel) => Promise;\r\n\r\n\t@Prop() public holiday: HolidayViewModel;\r\n\r\n\tpublic name = '';\r\n\tpublic dates: any[] = [];\r\n\r\n\tpublic updateInProgress: boolean = false;\r\n\r\n\tpublic mounted() {\r\n\t\tthis.name = this.holiday.name;\r\n\t\tif (this.holiday.dates) {\r\n\t\t\tthis.dates = this.holiday.dates.map((d, key) => ({\r\n\t\t\t\tdate: d,\r\n\t\t\t\tkey\r\n\t\t\t}));\r\n\t\t} else {\r\n\t\t\tthis.dates = [];\r\n\t\t}\r\n\r\n\t\tthis.focusOnInput(this.$refs.nameInput as Vue);\r\n\t}\r\n\r\n\tpublic closeModal() {\r\n\t\tthis.$emit('cancel');\r\n\t}\r\n\r\n\tpublic addDate() {\r\n\t\tthis.dates.push({date: new Date(), key: Date.now()});\r\n\t\tthis.$nextTick(() => {\r\n\t\t\tconst dateInputs = this.$refs.dateInput as Vue[];\r\n\t\t\tconst lastDateInput = dateInputs[dateInputs.length - 1];\r\n\t\t\tthis.focusOnInput(lastDateInput);\r\n\t\t});\r\n\t}\r\n\r\n\tpublic deleteDate(index: number) {\r\n\t\tthis.dates.splice(index, 1);\r\n\t}\r\n\r\n\tpublic getErrorMessage(vuelidate: any, prop: string, label: string) {\r\n\t\tif (VuelidateUtil.isValidationInvalid(vuelidate, prop, 'holidayNameValid')) {\r\n\t\t\treturn `${label} must only contain letters, numbers, spaces, and the characters , - _ ( ) &`;\r\n\t\t}\r\n\t\tif (VuelidateUtil.isMaxLengthInvalid(vuelidate, prop)) {\r\n\t\t\treturn `${label} must not be longer than ${VuelidateUtil.getAllowedMaxLength(vuelidate, prop)} characters`;\r\n\t\t}\r\n\t\tif (VuelidateUtil.isRequiredInvalid(vuelidate, prop)) {\r\n\t\t\treturn prop === 'date' ? `A valid date is required` : `${label} must not be empty`;\r\n\t\t}\r\n\t\tif (VuelidateUtil.isValidationInvalid(vuelidate, prop, 'todayOrFutureValid')) {\r\n\t\t\treturn `${label} must be today or in the future`;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async update() {\r\n\t\tif (this.updateInProgress) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.updateInProgress = true;\r\n\t\ttry {\r\n\t\t\tconst request = this.createRequestModel();\r\n\t\t\tconst updatedHoliday = await this.updateHoliday(request);\r\n\t\t\tToast.showSuccess('Holiday successfully updated');\r\n\t\t\tthis.$emit('update', updatedHoliday);\r\n\t\t} catch (err) {\r\n\t\t\tToast.showError(err.message);\r\n\t\t} finally {\r\n\t\t\tthis.updateInProgress = false;\r\n\t\t}\r\n\t}\r\n\r\n\tprivate createRequestModel(): HolidayViewModel {\r\n\t\treturn {\r\n\t\t\tid: this.holiday.id,\r\n\t\t\tname: this.name,\r\n\t\t\tdates: this.dates.map(d => d.date)\r\n\t\t};\r\n\t}\r\n\r\n\tprivate focusOnInput(component: Vue) {\r\n\t\tif (component) {\r\n\t\t\tconst inputElements = component.$el.getElementsByTagName('input');\r\n\t\t\tif (inputElements.length === 1) {\r\n\t\t\t\tinputElements[0].focus();\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContentHighlightsEditModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContentHighlightsEditModal.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddAnswerModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddAnswerModal.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { Getter } from 'vuex-class';\r\nimport { googleBmApi } from '@/features/apps/googlebm/services/googlebmApi';\r\nimport Toast from '@/shared/services/toast';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { AgentTableRow } from '../models/agentTableRow';\r\n\r\n@Component({})\r\nexport default class GoogleBmLaunchModal extends Vue {\r\n\t@Getter public currentWorkspace: WorkspaceViewModel;\r\n\r\n\t@Prop() public item!: AgentTableRow;\r\n\r\n\tpublic loading: boolean = false;\r\n\r\n\tpublic async launchItem() {\r\n\t\tif (this.loading || !this.item) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.loading = true;\r\n\t\ttry {\r\n\t\t\tlet result;\r\n\t\t\tif (this.item.rowType === 'agent') {\r\n\t\t\t\tresult = await googleBmApi.requestAgentLaunch(this.currentWorkspace.id, this.item.customAgentId);\r\n\t\t\t} else {\r\n\t\t\t\tresult = await googleBmApi.requestLocationLaunch(this.currentWorkspace.id, this.item.locationId);\r\n\t\t\t}\r\n\r\n\t\t\tthis.item.launchStatus = result.launchState;\r\n\t\t\tToast.showSuccess('Launch requested');\r\n\t\t\tthis.$emit('launch', result.launchState);\r\n\t\t} catch (e) {\r\n\t\t\tToast.showError(`Launch request failed: ${e.message}`);\r\n\t\t}\r\n\t\tthis.loading = false;\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"chart-container\"},[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"title-container\"},[_c('span',{staticClass:\"title is-5\"},[_vm._v(\"\\n\\t\\t\\t\\tBillable Conversations\\n\\t\\t\\t\\t\"),_c('div',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.right\",value:(_vm.tooltipText),expression:\"tooltipText\",modifiers:{\"right\":true}}],staticClass:\"icon\"},[_c('HelpIcon')],1)])])]),(_vm.loadedAndReturnedData)?_c('div',[_c('BarChart',{staticClass:\"chart\",attrs:{\"reportId\":_vm.reportId,\"data\":_vm.reportData,\"seriesOrder\":_vm.seriesOrder}})],1):(_vm.loadedAndNotReturnedData)?_c('div',[_c('ChartNoData')],1):(_vm.loadingError)?_c('div',{staticClass:\"error-overlay\"},[_c('ChartError')],1):_c('div',[_c('LoadingSpinner')],1),(_vm.loadedAndReturnedData)?_c('div',{staticClass:\"chart-labels\"},[_c('ChartLabels',{attrs:{\"reportId\":_vm.reportId}})],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PathPicker.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PathPicker.vue?vue&type=script&lang=ts\"","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./ErrorPage.vue?vue&type=style&index=0&id=8e6543c2&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"chart-container\"},[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"title-container\"},[_c('span',{staticClass:\"title is-5\"},[_vm._v(\"\\n\\t\\t\\t\\tNew Contacts\\n\\t\\t\\t\\t\"),_c('div',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.right\",value:(_vm.tooltipText),expression:\"tooltipText\",modifiers:{\"right\":true}}],staticClass:\"icon\"},[_c('HelpIcon')],1)])]),(_vm.loadedAndReturnedData)?_c('div',{staticClass:\"buttons has-addons\"},[_c('span',{staticClass:\"button\",class:{ 'is-static': _vm.showLineChart },on:{\"click\":function($event){return _vm.switchLineChart()}}},[_c('font-awesome-icon',{attrs:{\"icon\":\"chart-line\"}})],1),_c('span',{staticClass:\"button percent-button\",class:{ 'is-static': _vm.showPercentageBarChart },on:{\"click\":function($event){return _vm.switchStackedChart()}}},[_c('font-awesome-icon',{attrs:{\"icon\":\"percent\"}})],1),_c('span',{staticClass:\"button\",class:{ 'is-static': _vm.showBarChart },on:{\"click\":function($event){return _vm.switchBarChart()}}},[_c('font-awesome-icon',{attrs:{\"icon\":\"chart-bar\"}})],1)]):_vm._e()]),(_vm.loadedAndReturnedData)?_c('div',[(_vm.showLineChart)?_c('LineChart',{staticClass:\"chart\",attrs:{\"reportId\":_vm.reportId,\"data\":_vm.reportData,\"fill\":false,\"allowDecimalTicksY\":false,\"seriesOrder\":_vm.seriesOrder}}):_vm._e(),(_vm.showPercentageBarChart)?_c('PercentageStackedBarChart',{staticClass:\"chart\",attrs:{\"reportId\":_vm.reportId,\"data\":_vm.reportData,\"seriesOrder\":_vm.seriesOrder}}):_vm._e(),(_vm.showBarChart)?_c('BarChart',{staticClass:\"chart\",attrs:{\"reportId\":_vm.reportId,\"data\":_vm.reportData,\"seriesOrder\":_vm.seriesOrder}}):_vm._e()],1):(_vm.loadedAndNotReturnedData)?_c('div',[_c('ChartNoData')],1):(_vm.loadingError)?_c('div',{staticClass:\"error-overlay\"},[_c('ChartError')],1):_c('div',[_c('LoadingSpinner')],1),(_vm.loadedAndReturnedData)?_c('div',{staticClass:\"chart-labels\"},[_c('ChartLabels',{attrs:{\"reportId\":_vm.reportId}})],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./twitterConfig.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./twitterConfig.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoToIcon.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoToIcon.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"section primary-header\",class:{ 'has-tabs': _vm.hasTabs() }},[_c('div',{staticClass:\"container is-fluid \"},[_c('div',{staticClass:\"container__section\"},[_c('div',{staticClass:\"container__titles\"},[_c('h1',{staticClass:\"title is-2\"},[_vm._v(_vm._s(_vm.title))]),_c('h2',{staticClass:\"subtitle is-6\"},[_vm._v(_vm._s(_vm.description))])]),(_vm.hasButtons)?_c('div',{staticClass:\"container__buttons\"},_vm._l((_vm.buttons),function(button){return _c('div',{key:button.content},[_c('n-button',{attrs:{\"variant\":button.variant},on:{\"click\":button.clickHandler}},[_vm._v(_vm._s(button.content))])],1)}),0):_vm._e()]),(_vm.hasTabs())?_c('div',{staticClass:\"tabs\"},[_c('ul',_vm._l((_vm.tabs),function(tab){return _c('li',{key:tab.name,class:{ 'is-active': _vm.isTabActive(tab) }},[_c('router-link',{attrs:{\"to\":{ name: tab.route }}},[_vm._v(_vm._s(tab.name))])],1)}),0),_c('div',[_vm._t(\"tab-icons\")],2)]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./FriendlyString.vue?vue&type=template&id=37b88c1a&scoped=true\"\nimport script from \"./FriendlyString.vue?vue&type=script&lang=ts\"\nexport * from \"./FriendlyString.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FriendlyString.vue?vue&type=style&index=0&id=37b88c1a&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"37b88c1a\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactConversationList.vue?vue&type=style&index=0&id=06704bdc&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Flow.vue?vue&type=style&index=0&id=1e87687c&prod&scoped=true&lang=scss\"","import { render, staticRenderFns } from \"./InviteUser.vue?vue&type=template&id=8c93b6a4&scoped=true\"\nimport script from \"./InviteUser.vue?vue&type=script&lang=ts\"\nexport * from \"./InviteUser.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8c93b6a4\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HomeScreenPreview.vue?vue&type=style&index=0&id=2d92a9ae&prod&lang=scss&scoped=true\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CapableAppSelection.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CapableAppSelection.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { config } from '@/config/config';\r\nimport { BusinessLocation } from '../models/businessLocation';\r\nimport { ConfigLocation } from '../models/configLocation';\r\nimport Toast from '@/shared/services/toast';\r\nimport { googleMyBusinessApi } from '@/features/apps/googlebm/services/googleMyBusinessApi';\r\n@Component({})\r\nexport default class GoogleBmLocations extends Vue {\r\n\t@Prop() public value: ConfigLocation[];\r\n\r\n\tpublic locations: ConfigLocation[] = [];\r\n\r\n\tpublic selectedLocations: ConfigLocation[] = [];\r\n\r\n\tpublic isLoggedIn: boolean = false;\r\n\r\n\tpublic scriptElement: HTMLScriptElement;\r\n\r\n\tpublic clientIdMetaElement: HTMLMetaElement;\r\n\r\n\tpublic signinScopeMetaElement: HTMLMetaElement;\r\n\r\n\t@Watch('value', { immediate: true })\r\n\tpublic handleValueChange() {\r\n\t\tif (!this.value) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.selectedLocations = this.value;\r\n\t\tif (!this.isLoggedIn) {\r\n\t\t\tthis.locations = JSON.parse(JSON.stringify(this.value));\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async mounted() {\r\n\t\ttry {\r\n\t\t\tthis.insertGoogleMetaTags();\r\n\t\t\tawait this.insertGoogleScript();\r\n\t\t\tgapi.signin2.render('google-signin-button', {\r\n\t\t\t\tonsuccess: this.onSignIn,\r\n\t\t\t\ttheme: 'dark',\r\n\t\t\t\twidth: 240,\r\n\t\t\t\theight: 46,\r\n\t\t\t\tlongtitle: true\r\n\t\t\t});\r\n\t\t} catch (e) {\r\n\t\t\tToast.showError(`Google script failed to load: ${e.message}`);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic beforeDestroy() {\r\n\t\tthis.removeGoogleScript();\r\n\t\tthis.removeGoogleMetaTags();\r\n\t\tif (this.isLoggedIn) {\r\n\t\t\tthis.signOut();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic removeGoogleMetaTags() {\r\n\t\tif (this.clientIdMetaElement) {\r\n\t\t\tthis.clientIdMetaElement.remove();\r\n\t\t}\r\n\t\tif (this.signinScopeMetaElement) {\r\n\t\t\tthis.signinScopeMetaElement.remove();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic removeGoogleScript() {\r\n\t\tif (this.scriptElement) {\r\n\t\t\tthis.scriptElement.remove();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async onSignIn(googleUser: any) {\r\n\t\ttry {\r\n\t\t\tthis.isLoggedIn = true;\r\n\t\t\tconst profile = googleUser.getBasicProfile();\r\n\t\t\tconst googleAccessToken = googleUser.getAuthResponse().access_token;\r\n\t\t\tconst locations = await googleMyBusinessApi.getLocations(googleAccessToken, profile.getId());\r\n\t\t\tconst locationsWithAPlace = locations.filter((location: BusinessLocation) => location.metadata.placeId);\r\n\t\t\tthis.mergeLocations(locationsWithAPlace);\r\n\t\t} catch (e) {\r\n\t\t\tToast.showError(`Failed to load locations ${e.message}`);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic handleCheckboxChange(location: ConfigLocation, checked: boolean) {\r\n\t\tif (checked) {\r\n\t\t\tthis.selectedLocations.push(location);\r\n\t\t} else {\r\n\t\t\tthis.selectedLocations = this.selectedLocations.filter(e => e.placeId !== location.placeId);\r\n\t\t}\r\n\t\tthis.$emit('change', this.selectedLocations);\r\n\t}\r\n\r\n\tpublic isLocationSelected(location: ConfigLocation) {\r\n\t\tif (!this.selectedLocations) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\treturn this.selectedLocations.find(l => l.placeId === location.placeId) !== undefined;\r\n\t}\r\n\r\n\tpublic isLocationSaved(location: ConfigLocation) {\r\n\t\tif (!this.selectedLocations || this.selectedLocations.length === 0 || !location.id) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\treturn this.selectedLocations.find(l => l.id === location.id) !== undefined;\r\n\t}\r\n\r\n\tprivate mergeLocations(locationsWithAPlace: BusinessLocation[]) {\r\n\t\tfor (const location of locationsWithAPlace) {\r\n\t\t\tconst existingLocation = this.locations.find(e => e.placeId === location.metadata.placeId);\r\n\t\t\tif (!existingLocation) {\r\n\t\t\t\tthis.locations.push({ placeId: location.metadata.placeId, displayName: location.title } as ConfigLocation);\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.locations = this.locations.filter(location => locationsWithAPlace.find(s => location.placeId === s.metadata.placeId));\r\n\t\tthis.selectedLocations = this.selectedLocations.filter(location => locationsWithAPlace.find(s => location.placeId === s.metadata.placeId));\r\n\t}\r\n\r\n\tprivate insertGoogleScript() {\r\n\t\treturn new Promise((resolve, reject) => {\r\n\t\t\tthis.scriptElement = document.createElement('script');\r\n\t\t\tthis.scriptElement.src = 'https://apis.google.com/js/platform.js';\r\n\t\t\tthis.scriptElement.addEventListener('load', resolve);\r\n\t\t\tthis.scriptElement.addEventListener('error', e => reject(e.error));\r\n\t\t\tdocument.head.appendChild(this.scriptElement);\r\n\t\t});\r\n\t}\r\n\r\n\tprivate insertGoogleMetaTags() {\r\n\t\tthis.clientIdMetaElement = document.createElement('meta');\r\n\t\tthis.clientIdMetaElement.setAttribute('name', 'google-signin-client_id');\r\n\t\tthis.clientIdMetaElement.content = `${config().googleClientId}`;\r\n\t\tdocument.head.appendChild(this.clientIdMetaElement);\r\n\r\n\t\tthis.signinScopeMetaElement = document.createElement('meta');\r\n\t\tthis.signinScopeMetaElement.setAttribute('name', 'google-signin-scope');\r\n\t\tthis.signinScopeMetaElement.content = 'profile email https://www.googleapis.com/auth/business.manage';\r\n\t\tdocument.head.appendChild(this.signinScopeMetaElement);\r\n\t}\r\n\r\n\tprivate signOut() {\r\n\t\tgapi.auth2.getAuthInstance().disconnect();\r\n\t}\r\n\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue, Watch} from 'vue-property-decorator';\r\nimport {StateViewModel} from '@/features/bots/models/designer';\r\nimport PathPicker from './PathPicker.vue';\r\nimport InputPatternEditor from './InputPatternEditor.vue';\r\nimport {validationMixin} from 'vuelidate';\r\nimport {required} from 'vuelidate/lib/validators';\r\nimport HelpIcon from 'vue-material-design-icons/HelpCircleOutline.vue';\r\nimport TransitionPicker from '@/features/bots/components/designer/TransitionPicker.vue';\r\nimport {TransitionViewModel} from '@/features/bots/models/designer/transitionViewModel';\r\nimport {TransitionType} from '@/features/bots/models/designer/transitionType';\r\nimport { Getter } from 'vuex-class';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tPathPicker,\r\n\t\tInputPatternEditor,\r\n\t\tHelpIcon,\r\n\t\tTransitionPicker\r\n\t},\r\n\tmixins: [\r\n\t\tvalidationMixin\r\n\t],\r\n\tvalidations() {\r\n\t\tconst self = this as InputValidationConfig;\r\n\t\tif (self.isVisible('noMatch') && self.allowedAttempts !== -1 && !self.allowsAnyValue) {\r\n\t\t\treturn {\r\n\t\t\t\tnoMatch: {\r\n\t\t\t\t\trequired,\r\n\t\t\t\t\tpayload: {\r\n\t\t\t\t\t\tpayloadValid(payload: string) {\r\n\t\t\t\t\t\t\tconst component = (this as any);\r\n\t\t\t\t\t\t\tif (payload) {\r\n\t\t\t\t\t\t\t\treturn !component.isTransitionPayloadInvalid(payload);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t};\r\n\t\t} else {\r\n\t\t\treturn {} as any;\r\n\t\t}\r\n\t}\r\n})\r\nexport default class InputValidationConfig extends Vue {\r\n\t@Prop() public value: StateViewModel;\r\n\t@Prop() public fields: string[];\r\n\t@Getter public isTransitionPayloadInvalid: (payload: string) => boolean;\r\n\r\n\tpublic state: StateViewModel = {\r\n\t\tid: '',\r\n\t\tcomponent: 'InputString',\r\n\t};\r\n\r\n\tpublic noMatch = {};\r\n\tpublic allowedAttempts = -1;\r\n\tpublic allowsAnyValue = true;\r\n\tprivate invalidPattern = false;\r\n\r\n\t@Watch('value', { immediate: true })\r\n\tpublic onValueChanged(value: StateViewModel, previous: StateViewModel) {\r\n\t\tthis.state = value;\r\n\t\tthis.refreshComponent();\r\n\t}\r\n\r\n\t@Watch('fields')\r\n\tpublic onFieldsChanged(value: string[], previous: string[]) {\r\n\t\tthis.refreshComponent();\r\n\t\tthis.configChanged();\r\n\t}\r\n\r\n\tpublic noMatchUpdated(action: TransitionViewModel) {\r\n\t\tthis.noMatch = action;\r\n\t\tthis.state.noMatch = action;\r\n\t\tthis.configChanged();\r\n\t}\r\n\r\n\tpublic patternUpdated(update: any) {\r\n\t\tlet hasPatternChanged = false;\r\n\r\n\t\tif (this.state.pattern !== update.pattern || this.invalidPattern !== update.invalid) {\r\n\t\t\thasPatternChanged = true;\r\n\t\t}\r\n\r\n\t\tthis.state.pattern = update.pattern;\r\n\t\tthis.invalidPattern = update.invalid;\r\n\t\tthis.allowsAnyValue = this.allowsAnyPattern();\r\n\r\n\t\tif (this.allowsAnyValue) {\r\n\t\t\tthis.clearMatchingOptions();\r\n\t\t}\r\n\r\n\t\tif (hasPatternChanged) {\r\n\t\t\tthis.configChanged();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic allowedAttemptsUpdated() {\r\n\t\tthis.state.allowedAttempts = Number(this.allowedAttempts);\r\n\t\tthis.configChanged();\r\n\t}\r\n\r\n\tpublic configChanged() {\r\n\t\tthis.$v.$touch();\r\n\t\tthis.$emit('updated', { state: this.state, invalid: this.invalidPattern || this.$v.$invalid});\r\n\t}\r\n\r\n\tpublic get isTypeConfigRequired() {\r\n\t\treturn !this.isInputForCustomAttribute() || this.isInputCustomAttributeDataType('text');\r\n\t}\r\n\r\n\tpublic isVisible(key: string) {\r\n\t\treturn this.fields && this.fields.indexOf(key) > -1;\r\n\t}\r\n\r\n\tpublic get allowedAttemptsId() {\r\n\t\treturn `allowed-attempts-${this.state.id}`;\r\n\t}\r\n\r\n\tprivate allowsAnyPattern() {\r\n\t\treturn this.state.pattern === '^.+$'; // not 'any' with any lengths\r\n\t}\r\n\r\n\tprivate clearMatchingOptions() {\r\n\t\tthis.allowedAttempts = -1;\r\n\t\tthis.noMatch = '';\r\n\t\tthis.state.allowedAttempts = -1;\r\n\t\tthis.state.noMatch = {type : TransitionType.Path, payload: ''};\r\n\t\tthis.state.errorMessage = '';\r\n\t}\r\n\r\n\tprivate refreshComponent() {\r\n\t\tif (this.state.noMatch !== null && this.state.noMatch !== undefined) {\r\n\t\t\tthis.noMatch = this.state.noMatch;\r\n\t\t}\r\n\r\n\t\tif (this.state.allowedAttempts !== null && this.state.allowedAttempts !== undefined) {\r\n\t\t\tthis.allowedAttempts = this.state.allowedAttempts;\r\n\t\t}\r\n\r\n\t\tthis.allowsAnyValue = this.allowsAnyPattern();\r\n\r\n\t\tif (this.$v.$invalid) {\r\n\t\t\t// emit the config back up to parent so that it know if we are in an invalid state on load\r\n\t\t\tthis.configChanged();\r\n\t\t}\r\n\t}\r\n\r\n\tprivate isInputForCustomAttribute() {\r\n\t\treturn this.state.storedVariable!.scope === 'appUser.customAttributes';\r\n\t}\r\n\r\n\tprivate isInputCustomAttributeDataType(dataType: string) {\r\n\t\treturn this.state.storedVariable!.dataType === dataType;\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./TextComponent.vue?vue&type=template&id=462acd7e&scoped=true\"\nimport script from \"./TextComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./TextComponent.vue?vue&type=script&lang=ts\"\nimport style0 from \"./TextComponent.vue?vue&type=style&index=0&id=462acd7e&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"462acd7e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.date)?_c('span',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.top\",value:(_vm.actualDate),expression:\"actualDate\",modifiers:{\"top\":true}}]},[_vm._v(\"\\n\\t\"+_vm._s(_vm.relativeDate)+\"\\n\")]):_c('span',{class:{ 'is-unknown': _vm.isUnknown }},[_vm._v(\"\\n\\t\"+_vm._s(_vm.relativeDate)+\"\\n\")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./TagsInput.vue?vue&type=template&id=bbdc81a0&scoped=true\"\nimport script from \"./TagsInput.vue?vue&type=script&lang=ts\"\nexport * from \"./TagsInput.vue?vue&type=script&lang=ts\"\nimport style0 from \"./TagsInput.vue?vue&type=style&index=0&id=bbdc81a0&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bbdc81a0\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PagingControl.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PagingControl.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Watch } from 'vue-property-decorator';\r\nimport { MessagingReportsData, messagingReportsApi } from '@/features/reports/services/messagingReportsApi';\r\nimport ContactTrendCharts from '@/features/reports/components/conversations/ContactTrendCharts.vue';\r\nimport ConversationTrendCharts from '@/features/reports/components/conversations/ConversationTrendCharts.vue';\r\nimport { Getter, Mutation } from 'vuex-class';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { DateOption } from '../models';\r\nimport { SET_REPORT_LOADING } from '@/store/reports/mutationTypes';\r\n\r\n@Component({\r\n\tmixins: [],\r\n\tcomponents: {\r\n\t\tConversationTrendCharts,\r\n\t\tContactTrendCharts,\r\n\t},\r\n})\r\nexport default class MessagingReports extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Getter public selectedDateOption!: DateOption;\r\n\r\n\t@Mutation(SET_REPORT_LOADING) public setLoading: (loading: boolean) => void;\r\n\r\n\tpublic data: MessagingReportsData | { newContactsTrendReport: null; newConversationsTrendReport: null } = {\r\n\t\tnewContactsTrendReport: null,\r\n\t\tnewConversationsTrendReport: null,\r\n\t};\r\n\r\n\tpublic loadingError: boolean = false;\r\n\tpublic loadedData: boolean = false;\r\n\r\n\t@Watch('selectedDateOption', { immediate: true })\r\n\tpublic async onFilterChange(filter: DateOption, previous: DateOption) {\r\n\t\tif (filter && filter === previous) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tawait this.loadData();\r\n\t}\r\n\r\n\tprivate async loadData() {\r\n\t\tthis.loadedData = false;\r\n\t\tthis.loadingError = false;\r\n\t\tthis.setLoading(true);\r\n\t\ttry {\r\n\t\t\tthis.data = await messagingReportsApi.loadReportData(this.currentWorkspace.id, {\r\n\t\t\t\tstartDate: this.selectedDateOption.getDateRange().start,\r\n\t\t\t\tendDate: this.selectedDateOption.getDateRange().end,\r\n\t\t\t\tgrouping: this.selectedDateOption.group,\r\n\t\t\t});\r\n\t\t\tthis.loadedData = true;\r\n\t\t} catch {\r\n\t\t\tthis.loadingError = true;\r\n\t\t} finally {\r\n\t\t\tthis.setLoading(false);\r\n\t\t}\r\n\t}\r\n}\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Triggers.vue?vue&type=style&index=0&id=85828fc2&prod&scoped=true&lang=scss\"","import { render, staticRenderFns } from \"./CustomAttributeIcon.vue?vue&type=template&id=04c93444&functional=true\"\nimport script from \"./CustomAttributeIcon.vue?vue&type=script&lang=ts\"\nexport * from \"./CustomAttributeIcon.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n true,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./Badge.vue?vue&type=template&id=10715954&scoped=true\"\nimport script from \"./Badge.vue?vue&type=script&lang=ts\"\nexport * from \"./Badge.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Badge.vue?vue&type=style&index=0&id=10715954&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"10715954\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebAssistantPreview.vue?vue&type=style&index=0&id=634b5dc2&prod&lang=scss\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\r\nimport { mixin as clickaway } from 'vue-clickaway';\r\nimport { ConditionGroupViewModel } from './models/conditionGroupViewModel';\r\nimport { ConditionGroup } from '@/shared/components/conditions/models/conditionGroup';\r\nimport { ConditionViewModel } from './models/conditionViewModel';\r\nimport { IConditionsManager } from './models/conditionsManager';\r\nimport AddCondition from './AddCondition.vue';\r\nimport ConditionButton from './ConditionButton.vue';\r\nimport AddIcon from 'vue-material-design-icons/Plus.vue';\r\nimport JoinOperatorPicker from '@/features/contacts/components/JoinOperatorPicker.vue';\r\nimport { OperatorType } from '@/features/contacts/models/operatorTypes';\r\n\r\nexport interface ConditionGroupUpdate {\r\n\tconditionGroup: ConditionGroupViewModel;\r\n\tinvalid: boolean;\r\n}\r\n\r\n@Component({\r\n\tname: 'ConditionGroupBuilder',\r\n\tmixins: [\r\n\t\tclickaway\r\n\t],\r\n\tcomponents: {\r\n\t\tConditionGroupBuilder,\r\n\t\tConditionButton,\r\n\t\tAddCondition,\r\n\t\tAddIcon,\r\n\t\tJoinOperatorPicker\r\n\t}\r\n})\r\nexport default class ConditionGroupBuilder extends Vue {\r\n\t@Prop() public value: ConditionGroupViewModel;\r\n\t@Prop() public manager: IConditionsManager;\r\n\t@Prop({default: false}) public nested: boolean;\r\n\t@Prop({default: false}) public disabled: boolean;\r\n\t@Prop({default: 'filter'}) public context: string;\r\n\r\n\tpublic conditionGroup: ConditionGroupViewModel = { type: 'and', conditions: [] };\r\n\tpublic operatorButtonHover: boolean = false;\r\n\r\n\t@Watch('value', { immediate: true })\r\n\tpublic onValueChanged(value: ConditionGroupViewModel, previous: ConditionGroupViewModel) {\r\n\t\tthis.conditionGroup = value;\r\n\t}\r\n\r\n\tpublic get numberOfConditions() {\r\n\t\tif (!this.conditionGroup || !this.conditionGroup.conditions) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\r\n\t\treturn this.conditionGroup.conditions.length;\r\n\t}\r\n\r\n\tpublic getConditionKey(index: number, item: ConditionViewModel | ConditionGroupViewModel) {\r\n\t\tif (this.isCondition(item)) {\r\n\t\t\treturn `${index}_${item.attribute}_${item.operation}_${item.value}`;\r\n\t\t}\r\n\r\n\t\treturn `${index}_group`;\r\n\t}\r\n\r\n\tpublic isLastConditionInList(index: number) {\r\n\t\treturn index === this.numberOfConditions - 1;\r\n\t}\r\n\r\n\tpublic isCondition(item: ConditionViewModel | ConditionGroupViewModel): item is ConditionViewModel {\r\n\t\treturn ConditionGroup.isCondition(item);\r\n\t}\r\n\r\n\tpublic showMakeFilterGroupOption(item: ConditionViewModel | ConditionGroupViewModel) {\r\n\t\treturn !this.nested && this.isCondition(item);\r\n\t}\r\n\r\n\tpublic showAddToFilterGroupOption(item: ConditionViewModel | ConditionGroupViewModel, index: number) {\r\n\t\treturn this.nested && this.isCondition(item) && index === this.numberOfConditions - 1;\r\n\t}\r\n\r\n\tpublic onConditionAdded(newItem: ConditionViewModel) {\r\n\t\tnewItem.active = true;\r\n\t\tthis.conditionGroup.conditions.push(newItem);\r\n\t}\r\n\r\n\tpublic onConditionUpdated(index: number, item: ConditionViewModel) {\r\n\t\titem.active = false;\r\n\t\tthis.$set(this.conditionGroup.conditions, index, item);\r\n\r\n\t\tthis.emitUpdatedEvent();\r\n\t}\r\n\r\n\tpublic onConditionDeleted(index: number) {\r\n\t\tthis.conditionGroup.conditions.splice(index, 1);\r\n\r\n\t\tthis.emitUpdatedEvent();\r\n\t}\r\n\r\n\tpublic makeFilterGroup(index: number, item: ConditionViewModel, newItem: ConditionViewModel) {\r\n\t\t// replace the condition with a condition group containing existing and new item\r\n\t\tnewItem.active = true;\r\n\t\tthis.$set(this.conditionGroup.conditions, index, {\r\n\t\t\ttype: 'and',\r\n\t\t\tconditions: [\r\n\t\t\t\titem,\r\n\t\t\t\tnewItem\r\n\t\t\t]\r\n\t\t} as ConditionGroupViewModel);\r\n\t}\r\n\r\n\tpublic addToFilterGroup(index: number, newItem: ConditionViewModel) {\r\n\t\tnewItem.active = true;\r\n\t\tthis.conditionGroup.conditions.push(newItem);\r\n\t}\r\n\r\n\tpublic onGroupUpdated() {\r\n\t\t// a child group has been updated - check if any groups have only got one condition left,\r\n\t\t// if so convert them back to a condition from a filter group\r\n\t\tconst newList = this.conditionGroup.conditions.map((c, index) => {\r\n\t\t\tif (this.isCondition(c)) {\r\n\t\t\t\tc.active = false;\r\n\t\t\t\treturn c;\r\n\t\t\t}\r\n\r\n\t\t\tc = c as ConditionGroupViewModel;\r\n\t\t\tif (c.conditions.length === 1) {\r\n\t\t\t\treturn c.conditions[0];\r\n\t\t\t}\r\n\r\n\t\t\treturn c;\r\n\t\t});\r\n\r\n\t\tthis.conditionGroup.conditions = newList;\r\n\t\tthis.emitUpdatedEvent();\r\n\t}\r\n\r\n\tpublic operatorTypeUpdated(operatorType: OperatorType) {\r\n\t\tthis.conditionGroup.type = operatorType;\r\n\t\tthis.onGroupUpdated();\r\n\t}\r\n\r\n\tpublic updateOperatorHoverState(hover: boolean) {\r\n\t\tthis.operatorButtonHover = hover;\r\n\t}\r\n\r\n\tpublic hasAnyInvalidConditions() {\r\n\t\treturn ConditionGroup.isGroupInvalid(this.conditionGroup);\r\n\t}\r\n\r\n\tprivate emitUpdatedEvent() {\r\n\t\tif (this.nested) {\r\n\t\t\tthis.$emit('updated', this.conditionGroup);\r\n\t\t} else {\r\n\t\t\tthis.$emit('updated', {\r\n\t\t\t\tconditionGroup: this.conditionGroup,\r\n\t\t\t\tinvalid: this.hasAnyInvalidConditions()\r\n\t\t\t} as ConditionGroupUpdate);\r\n\t\t}\r\n\t}\r\n}\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactsList.vue?vue&type=style&index=0&id=d0049fe6&prod&scoped=true&lang=scss\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Vue, Prop, Watch} from 'vue-property-decorator';\r\nimport {Action} from 'vuex-class';\r\nimport {maxLength, required} from 'vuelidate/lib/validators';\r\nimport { validationMixin } from 'vuelidate';\r\nimport Toast from '@/shared/services/toast';\r\nimport ReadonlyField from '@/shared/components/ReadonlyField.vue';\r\nimport Modal from '@/shared/components/Modal.vue';\r\nimport {UpdateContactAttributeViewModel} from '@/messaging/models/updateContactAttributeViewModel';\r\nimport {ContactAttributeViewModel} from '@/messaging/models/contactAttributeViewModel';\r\nimport {ContactAttributeType} from '@/messaging/models/contactAttributeType';\r\nimport {UPDATE_CONTACT_ATTRIBUTE} from '@/store/attributes/actionTypes';\r\nconst validName = (value: string) => value.search(/[^a-zA-Z0-9 _\\-]/) === -1;\r\n@Component({\r\n\tcomponents: {\r\n\t\tReadonlyField,\r\n\t\tModal\r\n\t},\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\trequest: {\r\n\t\t\tdescription: {\r\n\t\t\t\trequired,\r\n\t\t\t\tmaxLength: maxLength(255)\r\n\t\t\t},\r\n\t\t\tname: {\r\n\t\t\t\trequired,\r\n\t\t\t\tvalidName,\r\n\t\t\t\tmaxLength: maxLength(50)\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n})\r\nexport default class UpdateAttribute extends Vue {\r\n\t@Prop() public attribute: ContactAttributeViewModel;\r\n\t@Action(UPDATE_CONTACT_ATTRIBUTE) public updateAttribute: (request: { attributeId: string, request: UpdateContactAttributeViewModel }) => Promise;\r\n\tpublic request: UpdateContactAttributeViewModel = { description: '', name: '' };\r\n\r\n\tpublic updateInProgress: boolean = false;\r\n\r\n\t@Watch('attribute', { immediate: true })\r\n\tpublic onAttributeChange(to: ContactAttributeViewModel, from: ContactAttributeViewModel) {\r\n\t\tthis.request.description = to.description;\r\n\t\tthis.request.name = to.name;\r\n\t}\r\n\r\n\tpublic mounted() {\r\n\t\tconst nameInput = (this.$refs.nameInput as any);\r\n\t\tif (nameInput) {\r\n\t\t\tnameInput.focus();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic closeModal() {\r\n\t\tthis.$emit('cancel');\r\n\t}\r\n\r\n\tpublic isFieldNotPopulated(vuelidateObject: any, fieldName: string): boolean {\r\n\t\tconst field = vuelidateObject[fieldName];\r\n\t\treturn !field || (field.$invalid && !field.required && field.$dirty);\r\n\t}\r\n\r\n\tpublic isFieldInvalid(vuelidateObject: any, fieldName: string): boolean {\r\n\t\tconst field = vuelidateObject[fieldName];\r\n\t\treturn !field || (field.$invalid && field.$dirty);\r\n\t}\r\n\r\n\tpublic get submitDisabled() {\r\n\t\treturn this.$v.$invalid || this.attribute.description === this.request.description && this.attribute.name === this.request.name;\r\n\t}\r\n\r\n\tpublic get attributeType() {\r\n\t\treturn Object.keys(ContactAttributeType).filter(x => (ContactAttributeType as any)[x] === this.attribute.type)[0];\r\n\t}\r\n\r\n\tpublic async update() {\r\n\t\tif (this.updateInProgress) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.updateInProgress = true;\r\n\t\ttry {\r\n\t\t\tconst updatedAttribute = await this.updateAttribute({attributeId : this.attribute.id, request: this.request });\r\n\t\t\tToast.showSuccess('Attribute successfully updated');\r\n\t\t\tthis.$emit('update', updatedAttribute);\r\n\t\t} catch (err) {\r\n\t\t\tToast.showError(err.message);\r\n\t\t} finally {\r\n\t\t\tthis.updateInProgress = false;\r\n\t\t}\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('TitledSection',{staticClass:\"contact-details\",attrs:{\"align-content-left\":true,\"icon-colour\":\"inherit\"},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('n-avatar',{attrs:{\"name\":_vm.value.name,\"imageUrl\":_vm.value.avatarUrl}})]},proxy:true},{key:\"title\",fn:function(){return [_c('h2',{staticClass:\"title is-5\"},[_vm._v(_vm._s(_vm.value.name ? _vm.value.name : 'Unknown'))])]},proxy:true}])},[_c('n-data-table',{staticClass:\"contact-details__body\",attrs:{\"columns\":_vm.columns,\"items\":_vm.data},scopedSlots:_vm._u([{key:\"icon\",fn:function(ref){\nvar row = ref.row;\nreturn [_c('Icon',{attrs:{\"icon\":row.icon}})]}},{key:\"name\",fn:function(ref){\nvar row = ref.row;\nreturn [_c('span',{staticClass:\"contact-details__body__title\"},[_vm._v(_vm._s(row.name))])]}},{key:\"value\",fn:function(ref){\nvar row = ref.row;\nreturn [_c('EditableComponent',{attrs:{\"type\":row.type,\"value\":row.value,\"options\":row.options,\"field-name\":row.name},on:{\"input\":function($event){\nvar i = arguments.length, argsArray = Array(i);\nwhile ( i-- ) argsArray[i] = arguments[i];\nreturn _vm.contactUpdated.apply(void 0, [ row ].concat( argsArray ))}}})]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from './date';\r\nexport * from './data';\r\nexport * from './reportLabels';\r\nexport * from './flowListOption';\r\nexport * from './dataFilter';\r\nexport * from './labelsAndData';\r\n","import { Data, DataFilter, LabelsAndData } from '../models';\r\n\r\ninterface RestrictToTopDataOptions {\r\n\tgroupNonDisplayedItemsIntoOther?: boolean;\r\n\tmaxItems?: number;\r\n\totherItemsLabel?: string;\r\n}\r\n\r\ninterface OrderDataOptions {\r\n\tdataOrderAscending?: boolean;\r\n\tforceZeroValuesToBottom?: boolean;\r\n}\r\n\r\nclass ChartDataUtil {\r\n\tpublic total(data: number[]): number {\r\n\t\treturn data.reduce((a, b) => a + b, 0);\r\n\t}\r\n\r\n\tpublic orderData(labelsAndData: LabelsAndData, inOptions?: OrderDataOptions): LabelsAndData {\r\n\t\tconst defaults: OrderDataOptions = {\r\n\t\t\tdataOrderAscending: false,\r\n\t\t\tforceZeroValuesToBottom: false\r\n\t\t};\r\n\t\tconst options = { ...defaults, ...inOptions };\r\n\r\n\t\tconst sourceDataCopy = [...labelsAndData.data];\r\n\t\tconst sourceLabelsCopy = [...labelsAndData.labels];\r\n\r\n\t\tconst labels: string[] = [];\r\n\t\tconst data: number[] = [];\r\n\r\n\t\twhile (sourceDataCopy.length > 0) {\r\n\t\t\tconst nextValueIndex = sourceDataCopy.indexOf(!options.dataOrderAscending ? Math.max(...sourceDataCopy) : Math.min(...sourceDataCopy));\r\n\t\t\tdata.push(...sourceDataCopy.splice(nextValueIndex, 1));\r\n\t\t\tlabels.push(...sourceLabelsCopy.splice(nextValueIndex, 1));\r\n\t\t}\r\n\r\n\t\tif (options.dataOrderAscending && options.forceZeroValuesToBottom) {\r\n\t\t\tconst lastIndex = data.lastIndexOf(0);\r\n\t\t\tif (lastIndex >= 0 && lastIndex < data.length - 1) {\r\n\t\t\t\tdata.push(...data.splice(0, lastIndex + 1));\r\n\t\t\t\tlabels.push(...labels.splice(0, lastIndex + 1));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn { labels, data };\r\n\t}\r\n\r\n\tpublic filterData(input: LabelsAndData, filter?: DataFilter): LabelsAndData {\r\n\t\tif (!filter) {\r\n\t\t\treturn input;\r\n\t\t}\r\n\r\n\t\tconst labels: string[] = [];\r\n\t\tconst data: number[] = [];\r\n\r\n\t\tfor (let i = 0; i < input.data.length; i++) {\r\n\t\t\tif (filter(input.labels[i], input.data[i])) {\r\n\t\t\t\tlabels.push(input.labels[i]);\r\n\t\t\t\tdata.push(input.data[i]);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn { labels, data };\r\n\t}\r\n\r\n\tpublic restrictDataToTopX(orderedData: LabelsAndData, inOptions: RestrictToTopDataOptions): LabelsAndData {\r\n\t\tconst defaults: RestrictToTopDataOptions = {\r\n\t\t\tgroupNonDisplayedItemsIntoOther: true,\r\n\t\t\tmaxItems: 10,\r\n\t\t\totherItemsLabel: 'Others'\r\n\t\t};\r\n\t\tconst options = { ...defaults, ...inOptions };\r\n\r\n\r\n\t\tconst totalItems = orderedData.labels.length;\r\n\t\tconst maxItems = Number(options.maxItems);\r\n\r\n\t\tif (totalItems <= maxItems) {\r\n\t\t\t// no need to limit any items\r\n\t\t\treturn orderedData;\r\n\t\t}\r\n\r\n\t\tconst topData = {\r\n\t\t\tlabels: orderedData.labels.splice(0, maxItems),\r\n\t\t\tdata: orderedData.data.splice(0, maxItems)\r\n\t\t};\r\n\r\n\t\tif (options.groupNonDisplayedItemsIntoOther) {\r\n\t\t\tconst othersTotal = orderedData.data.reduce((a, b) => a + b, 0);\r\n\t\t\ttopData.labels.push(`${options.otherItemsLabel}`);\r\n\t\t\ttopData.data.push(othersTotal);\r\n\t\t}\r\n\r\n\t\treturn topData;\r\n\t}\r\n\r\n\tpublic filterDataSeries(data: Data, filter?: DataFilter): Data {\r\n\t\tconst labelDataPairs = this.convertToLabelsAndData(data)\r\n\t\t\t.map(pair => this.filterData(pair, filter));\r\n\r\n\t\t// should be the same across all series, so just use the first one\r\n\t\tconst labels = labelDataPairs.length ? labelDataPairs[0].labels : [];\r\n\r\n\t\treturn {\r\n\t\t\tscale: {\r\n\t\t\t\ttitle: data.scale.title,\r\n\t\t\t\tlabels\r\n\t\t\t},\r\n\t\t\tseries: labelDataPairs.map((pair, id) => {\r\n\t\t\t\t// assumes the order has stayed the same\r\n\t\t\t\tconst series = data.series[id];\r\n\t\t\t\treturn {\r\n\t\t\t\t\tname: series.name,\r\n\t\t\t\t\tdisplayName: series.name,\r\n\t\t\t\t\tdata: pair.data\r\n\t\t\t\t};\r\n\t\t\t})\r\n\t\t};\r\n\t}\r\n\r\n\tprivate convertToLabelsAndData(data: Data): LabelsAndData[] {\r\n\t\treturn data.series.map(series => ({\r\n\t\t\tlabels: data.scale.labels,\r\n\t\t\tdata: series.data\r\n\t\t}));\r\n\t}\r\n}\r\n\r\nexport const chartDataUtil = new ChartDataUtil();\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Modal',{on:{\"cancel\":_vm.close},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"modal-card-title\"},[_vm._v(\"Add a new flow\")])]},proxy:true},{key:\"body\",fn:function(){return [_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\",attrs:{\"for\":\"flow-modal-name-input\"}},[_vm._v(\"Flow Name\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.flowName),expression:\"flowName\"}],ref:\"addFlowInput\",staticClass:\"input\",class:{'is-danger': _vm.$v.flowName.$invalid && _vm.$v.flowName.$dirty },attrs:{\"id\":\"flow-modal-name-input\",\"type\":\"text\",\"placeholder\":\"Enter the Flow Name...\"},domProps:{\"value\":(_vm.flowName)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.flowName=$event.target.value},function($event){return _vm.$v.flowName.$touch()}],\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.addFlow($event)}}}),(_vm.$v.flowName.$invalid && _vm.$v.flowName.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(_vm._s(_vm.getErrorMessage()))]):_vm._e()])])]},proxy:true},{key:\"buttons\",fn:function(){return [_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\",\"disabled\":_vm.$v.$invalid,\"loading\":_vm.isLoading},on:{\"click\":_vm.addFlow}},[_vm._v(\"Add\")]),_c('n-button',{attrs:{\"variant\":\"primary--outline\"},on:{\"click\":_vm.close}},[_vm._v(\"Cancel\")])],1)]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickReplyComponent.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickReplyComponent.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./TotalsDoughnutChart.vue?vue&type=template&id=47cd1d5c&scoped=true\"\nimport script from \"./TotalsDoughnutChart.vue?vue&type=script&lang=ts\"\nexport * from \"./TotalsDoughnutChart.vue?vue&type=script&lang=ts\"\nimport style0 from \"./TotalsDoughnutChart.vue?vue&type=style&index=0&id=47cd1d5c&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"47cd1d5c\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsertChartOutlined.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsertChartOutlined.vue?vue&type=script&lang=ts\"","import axios from 'axios';\r\nimport { config } from '@/config/config';\r\n\r\nexport default class AssetService {\r\n\tpublic static loadCodeSnippet(): Promise {\r\n\t\tconst url = config().webAssistantLoaderUrl;\r\n\r\n\t\treturn axios(url, {\r\n\t\t\tmethod: 'GET',\r\n\t\t\tresponseType: 'text'\r\n\t\t}).then(response => {\r\n\t\t\tif (response.status >= 400) {\r\n\t\t\t\t// check for 4XX, 5XX\r\n\t\t\t\treturn Promise.reject({\r\n\t\t\t\t\tstatus: response.status,\r\n\t\t\t\t\tmessage: response.statusText\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t\tif (response.status >= 200 && response.status <= 202) {\r\n\t\t\t\treturn response.data;\r\n\t\t\t}\r\n\t\t\treturn {};\r\n\t\t});\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\r\nimport BusinessHoursSelection from '../businessHoursSelection/BusinessHoursSelection.vue';\r\nimport { BusinessHoursOptions } from '../businessHoursSelection';\r\nimport { BusinessHoursViewModel } from '../../models';\r\nimport { ConditionViewModel } from '@/shared/components/conditions/models/conditionViewModel';\r\n\r\nenum ScheduleType {\r\n\tAnyTime,\r\n\tInHours,\r\n\tOutOfHours,\r\n\tCustomTimes\r\n}\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tBusinessHoursSelection\r\n\t}\r\n})\r\nexport default class TriggerScheduler extends Vue {\r\n\t@Prop() public condition: ConditionViewModel;\r\n\t@Prop() public openingTimes: BusinessHoursViewModel[];\r\n\r\n\tpublic invalid: boolean = false;\r\n\tpublic selectedSchedule = ScheduleType.AnyTime;\r\n\tpublic ScheduleType = ScheduleType;\r\n\r\n\tpublic customTimes: BusinessHoursViewModel[] = [];\r\n\r\n\t@Watch('openingTimes', { immediate: true })\r\n\tpublic onOpeningTimesChanged(openingTimes: BusinessHoursViewModel[], previous: BusinessHoursViewModel[]) {\r\n\t\tthis.customTimes = openingTimes;\r\n\t}\r\n\r\n\t@Watch('condition', { immediate: true })\r\n\tpublic onConditionChanged(condition: ConditionViewModel, previous: ConditionViewModel) {\r\n\t\tthis.selectedSchedule = this.getSelectedSchedule();\r\n\t}\r\n\r\n\tget showCustomTimePicker(): boolean {\r\n\t\treturn this.selectedSchedule === ScheduleType.CustomTimes;\r\n\t}\r\n\r\n\tpublic getSelectedSchedule() {\r\n\t\tif (this.hasNoSchedule()) {\r\n\t\t\treturn ScheduleType.AnyTime;\r\n\t\t}\r\n\r\n\t\tif (this.isInHours()) {\r\n\t\t\tif (this.openingTimes.length) {\r\n\t\t\t\treturn ScheduleType.CustomTimes;\r\n\t\t\t}\r\n\t\t\treturn ScheduleType.InHours;\r\n\t\t}\r\n\r\n\t\tif (!this.isInHours()) {\r\n\t\t\treturn ScheduleType.OutOfHours;\r\n\t\t}\r\n\r\n\t\treturn ScheduleType.AnyTime;\r\n\t}\r\n\r\n\tpublic hasNoSchedule() {\r\n\t\treturn !this.condition || !this.hasAttribute() || !this.isScheduleCondition();\r\n\t}\r\n\r\n\tpublic isInHours() {\r\n\t\treturn this.condition.attribute === 'bot.openingTimes' &&\r\n\t\t\tthis.condition.operation === 'contains' &&\r\n\t\t\tthis.condition.result;\r\n\t}\r\n\r\n\tpublic switchedScheduleType() {\r\n\t\tthis.invalid = false;\r\n\t\tthis.scheduleChanged();\r\n\t}\r\n\r\n\tpublic scheduleChanged() {\r\n\t\tif (this.selectedSchedule === ScheduleType.CustomTimes) {\r\n\t\t\tif (!this.customTimes.length) {\r\n\t\t\t\tthis.customTimes = [BusinessHoursOptions.getDefaultModel()];\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tthis.customTimes = [];\r\n\t\t}\r\n\t\tthis.$emit('updated', this.createScheduleCondition(this.selectedSchedule), {customTimes: this.customTimes});\r\n\t}\r\n\r\n\tpublic setInvalid(invalid: boolean) {\r\n\t\tthis.invalid = invalid;\r\n\t}\r\n\r\n\tprivate createScheduleCondition(type: ScheduleType) {\r\n\t\tswitch (type) {\r\n\t\t\tcase ScheduleType.InHours:\r\n\t\t\tcase ScheduleType.CustomTimes:\r\n\t\t\t\treturn this.createCondition(true);\r\n\t\t\tcase ScheduleType.OutOfHours:\r\n\t\t\t\treturn this.createCondition(false);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate isScheduleCondition() {\r\n\t\tif (this.condition.attribute) {\r\n\t\t\treturn this.condition.attribute === 'bot.openingTimes';\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n\r\n\tprivate hasAttribute() {\r\n\t\treturn this.condition.attribute && this.condition.attribute.length > 0;\r\n\t}\r\n\r\n\tprivate createCondition(inHours: boolean) {\r\n\t\treturn {\r\n\t\t\tattribute: 'bot.openingTimes',\r\n\t\t\toperation: 'contains',\r\n\t\t\ttype: 'datetime',\r\n\t\t\tvalue: 'utcNow',\r\n\t\t\tresult: inHours,\r\n\t\t\tinvalid: this.invalid\r\n\t\t} as ConditionViewModel;\r\n\t}\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DragIcon.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DragIcon.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { Action } from 'vuex-class';\r\nimport { maxLength, required } from 'vuelidate/lib/validators';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { CreateContactAttributeViewModel } from '@/messaging/models/createContactAttributeViewModel';\r\nimport Toast from '@/shared/services/toast';\r\nimport {ContactAttributeType} from '@/messaging/models/contactAttributeType';\r\nimport ReadonlyField from '@/shared/components/ReadonlyField.vue';\r\nimport Modal from '@/shared/components/Modal.vue';\r\nimport { CREATE_CONTACT_ATTRIBUTE } from '@/store/attributes/actionTypes';\r\nimport { ContactAttributeViewModel } from '@/messaging/models/contactAttributeViewModel';\r\n\r\nconst validName = (value: string) => value.search(/[^a-zA-Z0-9 _\\-]/) === -1;\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tReadonlyField,\r\n\t\tModal\r\n\t},\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tattribute: {\r\n\t\t\tname: {required, validName, maxLength: maxLength(50)},\r\n\t\t\tdescription: {required, maxLength: maxLength(255)}\r\n\t\t}\r\n\t}\r\n})\r\nexport default class CreateAttribute extends Vue {\r\n\t@Action(CREATE_CONTACT_ATTRIBUTE) public createAttribute: (request: CreateContactAttributeViewModel) => Promise;\r\n\t@Prop() public excludedDataTypes: ContactAttributeType[];\r\n\r\n\tpublic attribute: CreateContactAttributeViewModel = {\r\n\t\tid: '',\r\n\t\tname: '',\r\n\t\tdescription: '',\r\n\t\ttype: 'text'\r\n\t};\r\n\r\n\tpublic dataTypeOptions = [\r\n\t\t{ value: ContactAttributeType.Text, display: 'Text' },\r\n\t\t{ value: ContactAttributeType.Number, display: 'Number' },\r\n\t\t{ value: ContactAttributeType.Decimal, display: 'Decimal' },\r\n\t\t{ value: ContactAttributeType.Date, display: 'Date' }\r\n\t];\r\n\r\n\tpublic updateInProgress: boolean = false;\r\n\r\n\t@Watch('attribute.name', { immediate: true })\r\n\tpublic onNameChange(to: string, from: string) {\r\n\t\tthis.attribute.id = this.toCamelCase(to);\r\n\t}\r\n\r\n\tpublic mounted() {\r\n\t\tconst nameInput = (this.$refs.nameInput as any);\r\n\t\tif (nameInput) {\r\n\t\t\tnameInput.focus();\r\n\t\t}\r\n\r\n\t\tif (this.excludedDataTypes) {\r\n\t\t\tthis.dataTypeOptions = this.dataTypeOptions.filter(t => !this.excludedDataTypes.find(excluded => excluded === t.value));\r\n\t\t}\r\n\t}\r\n\r\n\tpublic closeModal() {\r\n\t\tthis.$emit('cancel');\r\n\t}\r\n\r\n\tpublic isFieldNotPopulated(vuelidateObject: any, fieldName: string): boolean {\r\n\t\tconst field = vuelidateObject[fieldName];\r\n\t\treturn !field || (field.$invalid && !field.required && field.$dirty);\r\n\t}\r\n\r\n\tpublic isFieldInvalid(vuelidateObject: any, fieldName: string): boolean {\r\n\t\tconst field = vuelidateObject[fieldName];\r\n\t\treturn !field || (field.$invalid && field.$dirty);\r\n\t}\r\n\r\n\tpublic async update() {\r\n\t\tif (this.updateInProgress) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.updateInProgress = true;\r\n\t\ttry {\r\n\t\t\tconst createdAttribute = await this.createAttribute(this.attribute);\r\n\t\t\tToast.showSuccess('Attribute successfully created');\r\n\t\t\tthis.$emit('create', createdAttribute);\r\n\t\t} catch (err) {\r\n\t\t\tToast.showError(err.message);\r\n\t\t} finally {\r\n\t\t\tthis.updateInProgress = false;\r\n\t\t}\r\n\t}\r\n\r\n\tprivate toCamelCase(input: string): string {\r\n\t\tconst words = this.toWords(input);\r\n\t\tlet result = '';\r\n\t\tfor (let i = 0; i < words.length; i++) {\r\n\t\t\tlet word = words[i].toLowerCase();\r\n\t\t\tif (i !== 0) {\r\n\t\t\t\tword = word.substr(0, 1).toUpperCase() + word.substr(1);\r\n\t\t\t}\r\n\r\n\t\t\tresult += word;\r\n\t\t}\r\n\t\treturn result;\r\n\t}\r\n\r\n\tprivate toWords(input: string): RegExpMatchArray {\r\n\t\tif (!input) {\r\n\t\t\treturn [];\r\n\t\t}\r\n\r\n\t\tconst regex = /[A-Z\\xC0-\\xD6\\xD8-\\xDE]?[a-z\\xDF-\\xF6\\xF8-\\xFF]+|[A-Z\\xC0-\\xD6\\xD8-\\xDE]+(?![a-z\\xDF-\\xF6\\xF8-\\xFF])|\\d+/g;\r\n\t\treturn input.match(regex) as RegExpMatchArray;\r\n\t}\r\n}\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdditionalInformationWrapper.vue?vue&type=style&index=0&id=16d60090&prod&scoped=true&lang=scss\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport { Action, Getter } from 'vuex-class';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { HANDLE_SERIOUS_ERROR } from '@/store/app/actionTypes';\r\nimport { emailApi } from '@/features/settings/services/emailApiService';\r\nimport Modal from '@/shared/components/Modal.vue';\r\nimport { EmailTemplateViewModel } from '@/features/settings/models/emailTemplateViewModel';\r\nimport TitledSection from '@/shared/components/TitledSection.vue';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport Toast from '@/shared/services/toast';\r\nimport { maxLength } from 'vuelidate/lib/validators';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { EmailWorkspaceModel } from '@/features/settings/models/response/emailWorkspaceModel';\r\nimport Badge from '@/shared/components/Badge.vue';\r\n\r\nconst NULL_TEMPLATE: EmailTemplateViewModel = { // Null Object pattern\r\n\ttemplateId: '',\r\n\tname: 'NULL'\r\n};\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tLoadingSpinner,\r\n\t\tTitledSection,\r\n\t\tModal,\r\n\t\tBadge\r\n\t},\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tactiveTemplateId: {},\r\n\t\tdomain: {maxLength: maxLength(67)}\r\n\t}\r\n})\r\nexport default class Email extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Action(HANDLE_SERIOUS_ERROR) public handleSeriousError: any;\r\n\r\n\tprivate isLoading: boolean = true;\r\n\tprivate updateInProgress: boolean = false;\r\n\tprivate verifyInProgress: boolean = false;\r\n\r\n\tprivate showDeleteTemplateModal: boolean = false;\r\n\tprivate deleteTemplateModel: EmailTemplateViewModel;\r\n\r\n\tprivate activeTemplateId: string = '';\r\n\tprivate lastActiveTemplateId: string = '';\r\n\tprivate domain: string = '';\r\n\tprivate domainVerified: boolean = false;\r\n\tprivate domainSaved: boolean = false;\r\n\tprivate templates: EmailTemplateViewModel[] = [];\r\n\r\n\t// should reflect what is currently stored on the server, only change with repsonses from the server\r\n\tprivate savedEmailWorkspace: EmailWorkspaceModel;\r\n\r\n\tpublic async mounted() {\r\n\t\ttry {\r\n\t\t\tawait this.loadTemplates();\r\n\t\t} catch (error) {\r\n\t\t\tif (error.status !== 404) {\r\n\t\t\t\tthis.handleSeriousError(error.message);\r\n\t\t\t}\r\n\t\t} finally {\r\n\t\t\tthis.isLoading = false;\r\n\t\t}\r\n\t}\r\n\r\n\tprivate async loadTemplates() {\r\n\t\tthis.templates = await emailApi.getTemplates(this.currentWorkspace.id);\r\n\t\tawait this.loadConfiguration();\r\n\t}\r\n\r\n\tprivate async loadConfiguration() {\r\n\t\tconst response: EmailWorkspaceModel = await emailApi.getEmailWorkspace(this.currentWorkspace.id);\r\n\t\tthis.setConfig(response);\r\n\t}\r\n\r\n\tprivate setConfig(emailWorkspace: EmailWorkspaceModel) {\r\n\t\tthis.savedEmailWorkspace = emailWorkspace;\r\n\r\n\t\tthis.domain = emailWorkspace.outboundEmailDomain;\r\n\t\tthis.domainVerified = emailWorkspace.outboundEmailDomainVerified;\r\n\t\tthis.domainSaved = !!this.domain;\r\n\r\n\t\tthis.activeTemplateId = emailWorkspace.activeTemplateId;\r\n\t\tthis.lastActiveTemplateId = emailWorkspace.activeTemplateId;\r\n\t}\r\n\r\n\tprivate get hasTemplates(): boolean {\r\n\t\treturn this.templates.length > 0;\r\n\t}\r\n\r\n\tprivate getStatus(template: EmailTemplateViewModel): string {\r\n\t\tconst templateActive = template.templateId === this.lastActiveTemplateId;\r\n\t\tif (templateActive) {\r\n\t\t\treturn 'Active';\r\n\t\t} else {\r\n\t\t\treturn 'Inactive';\r\n\t\t}\r\n\t}\r\n\r\n\tprivate getStatusClass(template: EmailTemplateViewModel): string {\r\n\t\tconst templateActive = template.templateId === this.lastActiveTemplateId;\r\n\t\tif (templateActive) {\r\n\t\t\treturn 'success';\r\n\t\t} else {\r\n\t\t\treturn 'disabled';\r\n\t\t}\r\n\t}\r\n\r\n\tprivate openTemplateEditorForCreate() {\r\n\t\tthis.$router.push({name: 'email-template-create', params: {}});\r\n\t}\r\n\r\n\tprivate editTemplate(template: EmailTemplateViewModel) {\r\n\t\tthis.$router.push({\r\n\t\t\tname: 'email-template-edit',\r\n\t\t\tparams: {templateId: template.templateId, templateName: template.name}\r\n\t\t});\r\n\t}\r\n\r\n\tprivate showDeleteTemplateConfirmation(template: EmailTemplateViewModel) {\r\n\t\tthis.showDeleteTemplateModal = true;\r\n\t\tthis.deleteTemplateModel = template;\r\n\t}\r\n\r\n\tprivate async deleteTemplate() {\r\n\t\ttry {\r\n\t\t\tawait emailApi.deleteEmailTemplate(this.currentWorkspace.id, this.deleteTemplateModel.templateId);\r\n\t\t\tthis.loadTemplates();\r\n\t\t} catch (err) {\r\n\t\t\tToast.showError(`Failed to delete template ${err}`);\r\n\t\t} finally {\r\n\t\t\tthis.showDeleteTemplateModal = false;\r\n\t\t}\r\n\t}\r\n\r\n\tprivate canSave() {\r\n\t\tconst invalid = this.$v.$invalid;\r\n\t\tconst activeTemplateTouched = this.activeTemplateId !== this.lastActiveTemplateId;\r\n\t\tconst domainTouched = this.$v.domain.$dirty;\r\n\t\treturn (activeTemplateTouched || domainTouched) && !invalid;\r\n\t}\r\n\r\n\tprivate async save() {\r\n\t\ttry {\r\n\t\t\tthis.updateInProgress = true;\r\n\t\t\tconst response: EmailWorkspaceModel = await emailApi.saveEmailWorkspace(this.currentWorkspace.id, {\r\n\t\t\t\tactiveTemplateId: this.activeTemplateId,\r\n\t\t\t\toutboundEmailDomain: this.domain\r\n\t\t\t});\r\n\t\t\tthis.setConfig(response);\r\n\t\t\tToast.showSuccess(`Email configuration successfully saved`);\r\n\t\t} catch (err) {\r\n\t\t\tToast.showError(`Failed to save email configuration ${err}`);\r\n\t\t} finally {\r\n\t\t\tthis.updateInProgress = false;\r\n\t\t}\r\n\t}\r\n\r\n\tprivate async deleteDomain() {\r\n\t\tconst response: EmailWorkspaceModel = await emailApi.saveEmailWorkspace(this.currentWorkspace.id, {\r\n\t\t\tactiveTemplateId: this.savedEmailWorkspace.activeTemplateId,\r\n\t\t\toutboundEmailDomain: ''\r\n\t\t});\r\n\r\n\t\tToast.showSuccess('Successfuly cleared company domain');\r\n\t\tthis.setConfig(response);\r\n\t}\r\n\r\n\tprivate async verifyDomain() {\r\n\t\ttry {\r\n\t\t\tthis.verifyInProgress = true;\r\n\t\t\tconst verifyResponse = await emailApi.verifyDomain(this.currentWorkspace.id);\r\n\r\n\t\t\tif (verifyResponse.success) {\r\n\t\t\t\tthis.domainVerified = true;\r\n\t\t\t\tToast.showSuccess(`Domain is now verified`);\r\n\t\t\t} else {\r\n\t\t\t\tToast.showInfo(verifyResponse.errorMessage);\r\n\t\t\t}\r\n\t\t} catch (err) {\r\n\t\t\tToast.showError(`Failed to verify domain. ${err.message}`);\r\n\t\t} finally {\r\n\t\t\tthis.verifyInProgress = false;\r\n\t\t}\r\n\t}\r\n}\r\n","import * as parse5 from 'parse5';\r\n\r\nclass HtmlFormatter {\r\n\tpublic format(html: string) {\r\n\t\tconst document = parse5.parse(html);\r\n\t\tconst formattedHtml = parse5.serialize(document);\r\n\t\tif (!formattedHtml.startsWith('\\r\\n${formattedHtml}`;\r\n\t\t}\r\n\t\treturn formattedHtml;\r\n\t}\r\n}\r\n\r\nexport const htmlFormatter = new HtmlFormatter();\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickReplyComponent.vue?vue&type=style&index=0&id=0955d520&prod&scoped=true&lang=scss\"","import { render, staticRenderFns } from \"./PagingControl.vue?vue&type=template&id=afed84f8&scoped=true\"\nimport script from \"./PagingControl.vue?vue&type=script&lang=ts\"\nexport * from \"./PagingControl.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PagingControl.vue?vue&type=style&index=0&id=afed84f8&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"afed84f8\",\n null\n \n)\n\nexport default component.exports","export default class HtmlFormatter {\r\n\r\n\tpublic static pasteHtmlAtCaret(html: string) {\r\n\t\tlet sel;\r\n\t\tlet range;\r\n\t\tif (window.getSelection) {\r\n\t\t\t// IE9 and non-IE\r\n\t\t\t// window.getSelection\r\n\r\n\t\t\tsel = window.getSelection();\r\n\t\t\tif (sel && sel.getRangeAt && sel.rangeCount) {\r\n\t\t\t\trange = sel.getRangeAt(0);\r\n\t\t\t\trange.deleteContents();\r\n\t\t\t\tconst el = document.createElement('div');\r\n\t\t\t\tel.innerHTML = html;\r\n\t\t\t\t// tslint:disable-next-line\r\n let frag = document.createDocumentFragment(), node, lastNode;\r\n\t\t\t\t// tslint:disable-next-line\r\n while ( (node = el.firstChild) ) {\r\n\t\t\t\t\tlastNode = frag.appendChild(node);\r\n\t\t\t\t}\r\n\t\t\t\trange.insertNode(frag);\r\n\t\t\t\t// Preserve the selection\r\n\t\t\t\tif (lastNode) {\r\n\t\t\t\t\trange = range.cloneRange();\r\n\t\t\t\t\trange.setStartAfter(lastNode);\r\n\t\t\t\t\trange.collapse(true);\r\n\t\t\t\t\tsel.removeAllRanges();\r\n\t\t\t\t\tsel.addRange(range);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\r\n\tpublic static cleanseHtml(html: string) {\r\n\t\tconst nbspReg = new RegExp(' ', 'g');\r\n\t\thtml = html.replace(nbspReg, ' ');\r\n\r\n\t\thtml = this.convertBreaksToNewLines(html);\r\n\r\n\t\thtml = html.trim();\r\n\t\treturn html;\r\n\t}\r\n\r\n\tpublic static convertBreaksToNewLines(value: string) {\r\n\t\tconst newLineReg = new RegExp('
', 'g');\r\n\t\treturn value.replace(newLineReg, '\\n');\r\n\t}\r\n\r\n\tpublic static convertNewLinesToBreaks(value: string) {\r\n\t\tconst newLineReg = new RegExp('\\n', 'g');\r\n\t\treturn value.replace(newLineReg, '
');\r\n\t}\r\n\r\n\tpublic static getSelection() {\r\n\t\tif (window.getSelection) {\r\n\t\t\tconst selection = window.getSelection();\r\n\t\t\tif (selection && selection.getRangeAt && selection.rangeCount) {\r\n\t\t\t\treturn selection.getRangeAt(0);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}\r\n\r\n\tpublic static setSelection(selection: any) {\r\n\t\tif (window.getSelection) {\r\n\t\t\tconst sel = window.getSelection();\r\n\t\t\tif (sel) {\r\n\t\t\t\tsel.removeAllRanges();\r\n\t\t\t\tsel.addRange(selection);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\r\n\tpublic static setCaretAfterElement(id: string) {\r\n\t\tconst element = document.getElementById(id) as HTMLElement;\r\n\t\tif (typeof window.getSelection !== 'undefined') {\r\n\t\t\tconst range = document.createRange();\r\n\t\t\trange.setStartAfter(element);\r\n\t\t\trange.collapse(true);\r\n\t\t\tconst selection = window.getSelection();\r\n\t\t\tif (selection) {\r\n\t\t\t\tselection.removeAllRanges();\r\n\t\t\t\tselection.addRange(range);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\tpublic static setCaretAtTheEndOfContentEditable(contentEditableElement: HTMLDivElement) {\r\n\t\tif (document.createRange) {\r\n\t\t\tconst range = document.createRange();\r\n\t\t\trange.selectNodeContents(contentEditableElement);\r\n\t\t\trange.collapse(false);\r\n\t\t\tconst selection = window.getSelection();\r\n\t\t\tif (selection) {\r\n\t\t\t\tselection.removeAllRanges();\r\n\t\t\t\tselection.addRange(range);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tpublic static convertEscapedHtmlToString(html: string) {\r\n\t\tconst lessThanReg = new RegExp('<', 'g');\r\n\t\thtml = html.replace(lessThanReg, '<');\r\n\r\n\t\tconst greaterThanReg = new RegExp('>', 'g');\r\n\t\thtml = html.replace(greaterThanReg, '>');\r\n\r\n\t\tconst ampersandThanReg = new RegExp('&', 'g');\r\n\t\thtml = html.replace(ampersandThanReg, '&');\r\n\r\n\r\n\t\treturn html;\r\n\t}\r\n\r\n\tpublic static escapeHtmlCharacters(html: string) {\r\n\t\tconst ampersandThanReg = new RegExp('&', 'g');\r\n\t\thtml = html.replace(ampersandThanReg, '&');\r\n\r\n\t\tconst lessThanReg = new RegExp('<', 'g');\r\n\t\thtml = html.replace(lessThanReg, '<');\r\n\r\n\t\tconst greaterThanReg = new RegExp('>', 'g');\r\n\t\thtml = html.replace(greaterThanReg, '>');\r\n\r\n\t\treturn html;\r\n\t}\r\n}\r\n\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Reports.vue?vue&type=style&index=0&id=706f6c24&prod&lang=scss&scoped=true\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"title-container\"},[_c('span',{staticClass:\"title is-5\"},[_vm._v(_vm._s(_vm.title))])])]),(_vm.loadedAndReturnedData)?_c('div',{staticClass:\"chart-content\"},[_c('div',{staticClass:\"doughnut-chart-container\"},[_c('DoughnutChartBaseWrapper',{staticClass:\"chart\",attrs:{\"title\":_vm.subTitle,\"legend-element-id\":'legendContainer-' + _vm.reportId,\"labels-and-data\":_vm.processedData,\"dataFilter\":_vm.dataFilter,\"series\":_vm.series,\"max-items\":_vm.maxItems}})],1),_c('div',{staticClass:\"legend-container\",attrs:{\"id\":'legendContainer-' + _vm.reportId}})]):(_vm.loadedAndNotReturnedData)?_c('div',{staticClass:\"no-data\"},[_c('ChartNoData')],1):(_vm.loadingError)?_c('div',{staticClass:\"error-overlay\"},[_c('ChartError')],1):_c('div',[_c('LoadingSpinner')],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./GeneralSettings.vue?vue&type=template&id=1326a68e&scoped=true\"\nimport script from \"./GeneralSettings.vue?vue&type=script&lang=ts\"\nexport * from \"./GeneralSettings.vue?vue&type=script&lang=ts\"\nimport style0 from \"./GeneralSettings.vue?vue&type=style&index=0&id=1326a68e&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1326a68e\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DoughnutChart.vue?vue&type=style&index=0&id=0ef31111&prod&scoped=true&lang=scss\"","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditableText.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditableText.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\n\r\n@Component({})\r\nexport default class PhonePreview extends Vue {}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { ConditionViewModel } from '../models/conditionViewModel';\r\nimport { OperationPickerOption, Conditions, ConditionOperationType } from '../models/conditions';\r\nimport { required } from 'vuelidate/lib/validators';\r\nimport { validationMixin } from 'vuelidate';\r\n\r\n@Component({\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tliveCondition: {\r\n\t\t\tvalue: { required }\r\n\t\t},\r\n\t}\r\n})\r\nexport default class TextCondition extends Vue {\r\n\t@Prop() public condition: ConditionViewModel;\r\n\r\n\tpublic liveCondition: ConditionViewModel = {\r\n\t\tattribute: '',\r\n\t\toperation: '',\r\n\t\ttype: '',\r\n\t\tvalue: '',\r\n\t\tresult: true\r\n\t};\r\n\r\n\tpublic operations: OperationPickerOption[] = Conditions.Operations.text.map((op, index) => {\r\n\t\treturn {\r\n\t\t\tid: `${index}`,\r\n\t\t\ttitle: op.title,\r\n\t\t\toperation: op.operation,\r\n\t\t\tresult: op.result\r\n\t\t};\r\n\t});\r\n\r\n\tpublic selectedOperationId: string = '';\r\n\r\n\tpublic mounted() {\r\n\t\tif (this.condition) {\r\n\t\t\tthis.liveCondition = {\r\n\t\t\t\tattribute: this.condition.attribute,\r\n\t\t\t\toperation: this.condition.operation,\r\n\t\t\t\ttype: this.condition.type,\r\n\t\t\t\tvalue: this.condition.value,\r\n\t\t\t\tresult: this.condition.result,\r\n\t\t\t\tunit: this.condition.unit,\r\n\t\t\t\tinvalid: this.condition.invalid\r\n\t\t\t};\r\n\r\n\t\t\tif (this.liveCondition.invalid) {\r\n\t\t\t\tthis.$v.$touch();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tthis.selectedOperationId = this.getSelectedOperation();\r\n\t\tthis.operationSelected();\r\n\t}\r\n\r\n\tpublic getSelectedOperation() {\r\n\t\tif (this.liveCondition) {\r\n\t\t\tconst selectedOperation = this.operations.find(op => op.operation === this.liveCondition.operation && op.result === this.liveCondition.result);\r\n\t\t\tif (selectedOperation) {\r\n\t\t\t\treturn selectedOperation.id;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tconst defaultOperation = this.operations[0].id;\r\n\t\treturn defaultOperation;\r\n\t}\r\n\r\n\tpublic operationSelected() {\r\n\t\tconst selectedOperation = this.operations.find(op => op.id === this.selectedOperationId);\r\n\t\tif (selectedOperation) {\r\n\t\t\tthis.liveCondition.operation = selectedOperation.operation;\r\n\t\t\tthis.liveCondition.result = selectedOperation.result;\r\n\t\t\tthis.emitConditionChanged();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic textChanged(value: string) {\r\n\t\tthis.liveCondition.value = value;\r\n\t\tthis.$v.$touch();\r\n\t\tthis.emitConditionChanged();\r\n\t}\r\n\r\n\tpublic get requiresInput() {\r\n\t\treturn this.liveCondition.operation !== ConditionOperationType.IsSet;\r\n\t}\r\n\r\n\tprivate emitConditionChanged() {\r\n\t\tthis.liveCondition.invalid = this.$v.$invalid && this.requiresInput;\r\n\t\tthis.$emit('changed', this.liveCondition);\r\n\t}\r\n\r\n\tprivate complete() {\r\n\t\tthis.liveCondition.invalid = this.$v.$invalid && this.requiresInput;\r\n\t\tthis.$emit('completed', this.liveCondition);\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./CreateHoliday.vue?vue&type=template&id=6a181f53&scoped=true\"\nimport script from \"./CreateHoliday.vue?vue&type=script&lang=ts\"\nexport * from \"./CreateHoliday.vue?vue&type=script&lang=ts\"\nimport style0 from \"./CreateHoliday.vue?vue&type=style&index=0&id=6a181f53&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6a181f53\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./LinkedPathsBox.vue?vue&type=template&id=140b79f2&scoped=true\"\nimport script from \"./LinkedPathsBox.vue?vue&type=script&lang=ts\"\nexport * from \"./LinkedPathsBox.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LinkedPathsBox.vue?vue&type=style&index=0&id=140b79f2&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"140b79f2\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport Modal from '@/shared/components/Modal.vue';\r\nimport { Getter, Mutation } from 'vuex-class';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { ADD_FLOW } from '@/store/bot-designer/paths/mutationTypes';\r\nimport { FlowListItemViewModel } from '@/features/bots/models/flowListItemViewModel';\r\nimport { flowsApi } from '@/features/bots/services/flows';\r\nimport Toast from '../services/toast';\r\nimport appInsights from '../services/appInsights';\r\nimport { maxLength, required } from 'vuelidate/lib/validators';\r\nimport { validationMixin } from 'vuelidate';\r\nimport VuelidateUtil from '@/shared/util/vuelidateUtil';\r\n\r\n@Component({\r\n\tmixins: [\r\n\t\tvalidationMixin\r\n\t],\r\n\tcomponents: {\r\n\t\tModal\r\n\t},\r\n\tvalidations: {\r\n\t\tflowName: {\r\n\t\t\trequired,\r\n\t\t\tmaxLength: maxLength(50),\r\n\t\t\tflowNameValid: VuelidateUtil.objectName\r\n\t\t}\r\n\t}\r\n})\r\nexport default class AddFlowModal extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Mutation(ADD_FLOW) public addFlowToList: (path: FlowListItemViewModel) => void;\r\n\tpublic flowName: string = '';\r\n\tpublic isLoading: boolean = false;\r\n\r\n\tpublic mounted() {\r\n\t\tconst addFlowInput: any = this.$refs.addFlowInput;\r\n\t\tif (addFlowInput) {\r\n\t\t\taddFlowInput.focus();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async addFlow() {\r\n\t\tif (this.$v.$invalid) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tappInsights.trackEvent({ name: 'Add flow clicked' }, { workspaceId: this.currentWorkspace.id });\r\n\t\tthis.isLoading = true;\r\n\t\ttry {\r\n\t\t\tconst flowItem = await flowsApi.addFlow(this.currentWorkspace.id, { name: this.flowName });\r\n\t\t\tthis.addFlowToList(flowItem);\r\n\t\t\tthis.isLoading = false;\r\n\t\t\tthis.$emit('flow-added', flowItem);\r\n\t\t\tthis.close();\r\n\t\t} catch (e: any) {\r\n\t\t\tthis.isLoading = false;\r\n\t\t\tif (e.status === 409) {\r\n\t\t\t\tToast.showError(e.message);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tToast.showError('Failed to add flow');\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getErrorMessage(): string {\r\n\t\tif (this.$v.flowName.required && !this.$v.flowName.flowNameValid) {\r\n\t\t\treturn 'Name must only contain letters, numbers, spaces, and the characters , - _ ( ) &';\r\n\t\t}\r\n\t\tif (!this.$v.flowName.maxLength) {\r\n\t\t\treturn 'Name must not be longer than 50 characters';\r\n\t\t}\r\n\t\tif (!this.$v.flowName.required) {\r\n\t\t\treturn 'Name must not be empty';\r\n\t\t}\r\n\r\n\t\treturn '';\r\n\t}\r\n\r\n\tpublic close() {\r\n\t\tthis.$emit('close');\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { Getter, Action } from 'vuex-class';\r\n\r\nimport AppModal from '../components/AppModal.vue';\r\nimport { appsApi } from '../services/apps';\r\nimport { PublishedApp } from '../models';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\n\r\n\r\nimport PageHeader from '@/shared/components/pageHeader/PageHeader.vue';\r\n\r\nimport { SET_CURRENT_APP, HANDLE_SERIOUS_ERROR } from '@/store/app/actionTypes';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport appInsights from '@/shared/services/appInsights';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tAppModal,\r\n\t\tLoadingSpinner,\r\n\t\tPageHeader\r\n\t}\r\n})\r\nexport default class Apps extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Action(SET_CURRENT_APP) public setCurrentApp: any;\r\n\t@Action(HANDLE_SERIOUS_ERROR) public handleSeriousError: any;\r\n\r\n\tpublic apps: PublishedApp[] = [];\r\n\tpublic isLoading: boolean = true;\r\n\r\n\tpublic async created() {\r\n\t\tif (!this.currentWorkspace) {\r\n\t\t\tthis.handleSeriousError('No workspace selected');\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\ttry {\r\n\t\t\tconst apps = await appsApi.listPublished(this.currentWorkspace.id);\r\n\t\t\tthis.apps = apps.filter(a => !this.isHidden(a));\r\n\t\t} catch (err: any) {\r\n\t\t\tthis.handleSeriousError(err.message);\r\n\t\t} finally {\r\n\t\t\tthis.isLoading = false;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic showAppDetails(app: PublishedApp) {\r\n\t\tthis.setCurrentApp(app);\r\n\t\tappInsights.trackEvent({ name: 'App viewed' }, { appId: app.id, workspaceId: this.currentWorkspace.id });\r\n\t\tthis.$router.push({ name: 'app', params: { id: app.id } });\r\n\t}\r\n\r\n\tprivate isHidden(app: PublishedApp): boolean {\r\n\t\treturn app.status === 'hidden';\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./MultiContactTypePicker.vue?vue&type=template&id=3a732d36&scoped=true\"\nimport script from \"./MultiContactTypePicker.vue?vue&type=script&lang=ts\"\nexport * from \"./MultiContactTypePicker.vue?vue&type=script&lang=ts\"\nimport style0 from \"./MultiContactTypePicker.vue?vue&type=style&index=0&id=3a732d36&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3a732d36\",\n null\n \n)\n\nexport default component.exports","export const SET_CONTACT_ATTRIBUTES = 'SET_CONTACT_ATTRIBUTES';\r\nexport const ADD_TO_CONTACT_ATTRIBUTE_CACHE = 'ADD_TO_CONTACT_ATTRIBUTE_CACHE';\r\nexport const UPDATE_CONTACT_ATTRIBUTE_IN_CACHE = 'UPDATE_CONTACT_ATTRIBUTE_IN_CACHE';\r\nexport const ARCHIVE_CONTACT_ATTRIBUTE_IN_CACHE = 'ARCHIVE_CONTACT_ATTRIBUTE_IN_CACHE';\r\n\r\n\r\n","import { store } from '@/store';\r\nimport { Label, ReportLabels } from '@/features/reports/models';\r\nimport Chart from 'chart.js';\r\nimport { ChartDataSets } from 'chart.js';\r\nimport { ChartDataFormat } from '@/features/reports/models/chartDataFormat';\r\n\r\nexport const inlineLabelsPlugin: Chart.PluginServiceGlobalRegistration & Chart.PluginServiceRegistrationOptions = {\r\n\tafterInit,\r\n\tafterUpdate\r\n};\r\n\r\nfunction afterInit(chart: Chart) {\r\n\tconst options = chart.options;\r\n\tconst inlineLabelsOptions = options.plugins!.inlineLabels;\r\n\r\n\tif (!inlineLabelsOptions) {\r\n\t\treturn;\r\n\t}\r\n\r\n\tconst reportId = options.plugins!.inlineLabels.reportId;\r\n\tconst reverseLabels = !!options.plugins!.inlineLabels.reverseLabels;\r\n\tconst dataFormat = options.plugins!.inlineLabels.dataFormat;\r\n\r\n\tlet defaultLabels: Map;\r\n\tif (options.plugins!.inlineLabels.defaultLabelValues) {\r\n\t\tdefaultLabels = options.plugins!.inlineLabels.defaultLabelValues;\r\n\t} else {\r\n\t\tdefaultLabels = calculateDefaults(chart, dataFormat);\r\n\t}\r\n\r\n\tsetDefaults(reportId, chart, defaultLabels, reverseLabels);\r\n\r\n\t// register event listener to reset the labels\r\n\tchart.canvas!.addEventListener('mouseleave', () => {\r\n\t\tsetDefaults(reportId, chart, defaultLabels, reverseLabels);\r\n\t});\r\n\r\n\tif (!options.tooltips) {\r\n\t\toptions.tooltips = {};\r\n\t\toptions.tooltips.callbacks = {};\r\n\t}\r\n\r\n\toptions.tooltips.custom = (tooltipModel: Chart.ChartTooltipModel) => {\r\n\t\ttooltipModel.opacity = 0;\r\n\t};\r\n\r\n\toptions.tooltips.callbacks!.afterFooter = (items: Chart.ChartTooltipItem[]) => {\r\n\t\tconst xAxisIndex = items[0].index!;\r\n\t\tconst xAxisLabel = items[0].label!;\r\n\t\tsetLabelsForDataPoint(reportId, xAxisLabel, chart, xAxisIndex, reverseLabels);\r\n\t\treturn '';\r\n\t};\r\n}\r\n\r\nfunction afterUpdate(chart: Chart) {\r\n\tconst options = chart.options;\r\n\r\n\tconst reportId = options.plugins!.inlineLabels.reportId;\r\n\tconst reverseLabels = !!options.plugins!.inlineLabels.reverseLabels;\r\n\r\n\tconst xAxisIndex = chart.data.labels!.length - 1;\r\n\tconst xAxisLabel = String(chart.data.labels![xAxisIndex]);\r\n\tsetLabelsForDataPoint(reportId, xAxisLabel, chart, xAxisIndex, reverseLabels);\r\n}\r\n\r\nfunction calculateDefaults(chart: Chart, dataFormat: ChartDataFormat): Map {\r\n\tconst defaultLabels = new Map();\r\n\r\n\tchart.data.datasets!.forEach(dataset => {\r\n\t\tlet total = 0;\r\n\r\n\t\tdataset.data?.forEach((value: any) => {\r\n\t\t\tif (typeof value === 'number') {\r\n\t\t\t\ttotal += value;\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tdefaultLabels.set(dataset.label!, total.toLocaleString());\r\n\t});\r\n\r\n\tif (dataFormat === ChartDataFormat.PERCENTAGE) {\r\n\t\tlet overallTotal = 0;\r\n\t\tdefaultLabels.forEach((labelValue) => overallTotal += parseInt(labelValue, 10));\r\n\t\tdefaultLabels.forEach((labelValue, labelName, totals) => {\r\n\t\t\tconst value = labelValue ? parseInt(labelValue, 10) : 0;\r\n\t\t\tconst percentageOfTotal = overallTotal === 0 ? 0 : value / overallTotal * 100;\r\n\t\t\tconst roundedPercentage = Math.round(percentageOfTotal * 100) / 100;\r\n\t\t\ttotals.set(labelName, `${roundedPercentage.toString()}%`);\r\n\t\t});\r\n\t\treturn defaultLabels;\r\n\t}\r\n\treturn defaultLabels;\r\n}\r\n\r\nfunction setDefaults(reportId: string, chart: Chart, labelData: Map, reverseLabels: boolean) {\r\n\tconst visibleChartData = getVisibleChartData(chart);\r\n\r\n\tconst labels = visibleChartData.map((dataset: ChartDataSets) => ({\r\n\t\tlabel: dataset.label,\r\n\t\tvalue: labelData.get(dataset.label!),\r\n\t\tborderColour: dataset.borderColor,\r\n\t\tfillColour: dataset.backgroundColor,\r\n\t}));\r\n\r\n\tstore.commit('SET_LABELS', {\r\n\t\treportId,\r\n\t\tscaleTitle: 'Period',\r\n\t\tscaleValue: store.getters.selectedDateOption.label,\r\n\t\tlabels,\r\n\t\treverse: reverseLabels\r\n\t} as ReportLabels);\r\n}\r\n\r\nfunction setLabelsForDataPoint(reportId: string, scaleValue: string, chart: Chart, xAxisIndex: number, reverseLabels: boolean) {\r\n\tconst visibleData = getVisibleChartData(chart);\r\n\r\n\tstore.commit('SET_LABELS', {\r\n\t\treportId,\r\n\t\tscaleTitle: getTitle(chart),\r\n\t\tscaleValue,\r\n\t\tlabels: visibleData.map((dataset, dataSetIndex) => {\r\n\t\t\treturn {\r\n\t\t\t\tlabel: dataset.label,\r\n\t\t\t\tvalue: getDisplayValue(chart, dataset.data![xAxisIndex], xAxisIndex, dataSetIndex),\r\n\t\t\t\tborderColour: dataset.borderColor,\r\n\t\t\t\tfillColour: dataset.backgroundColor,\r\n\t\t\t} as Label;\r\n\t\t}),\r\n\t\treverse: reverseLabels\r\n\t} as ReportLabels);\r\n}\r\n\r\nfunction getVisibleChartData(chart: Chart): ChartDataSets[] {\r\n\tconst dataSet = chart.data.datasets!;\r\n\r\n\tif (!(chart as any).legend.legendItems) {\r\n\t\treturn dataSet;\r\n\t}\r\n\tconst enabledLegendItems = (chart as any).legend.legendItems.filter((item: any) => !item.hidden) as any[];\r\n\treturn dataSet.filter(data => enabledLegendItems.find(item => item.text === data.label));\r\n}\r\n\r\nfunction getTitle(chart: Chart) {\r\n\tif (chart.options.scales) {\r\n\t\treturn chart.options.scales!.xAxes![0].scaleLabel!.labelString!;\r\n\t} else {\r\n\t\treturn '-';\r\n\t}\r\n}\r\n\r\nfunction getDisplayValue(chart: Chart, value: any, index: number, datasetIndex: number): string {\r\n\tif (chart.options.tooltips && chart.options.tooltips!.callbacks && chart.options.tooltips!.callbacks.label) {\r\n\t\tconst formattedValue = chart.options.tooltips!.callbacks.label({ value, index, datasetIndex }, chart.data);\r\n\t\treturn String(formattedValue);\r\n\t}\r\n\r\n\treturn value ? String(value) : '';\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"field is-grouped\"},[_c('div',{staticClass:\"control\"},[_c('input',{staticClass:\"input\",attrs:{\"type\":\"number\"},domProps:{\"value\":_vm.liveCondition.value},on:{\"input\":_vm.secondsChanged}}),(_vm.$v.liveCondition.value.$invalid && _vm.$v.liveCondition.value.$dirty && !_vm.$v.liveCondition.value.required)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Number of seconds required\")]):_vm._e(),(_vm.$v.liveCondition.value.$invalid && _vm.$v.liveCondition.value.$dirty && _vm.$v.liveCondition.value.required && !_vm.$v.liveCondition.value.minValue)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Must be greater than 0\")]):_vm._e(),(_vm.$v.liveCondition.value.$invalid && _vm.$v.liveCondition.value.$dirty && _vm.$v.liveCondition.value.required && !_vm.$v.liveCondition.value.numeric)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Must be a valid whole number\")]):_vm._e()]),_vm._m(0)]),_c('div',{staticClass:\"control\"},[_c('n-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.complete()}}},[_vm._v(\"Done\")])],1)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"relative-text\"},[_c('span',[_vm._v(\"seconds\")])])])}]\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./FlowTotalsCharts.vue?vue&type=template&id=76134a60&scoped=true\"\nimport script from \"./FlowTotalsCharts.vue?vue&type=script&lang=ts\"\nexport * from \"./FlowTotalsCharts.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FlowTotalsCharts.vue?vue&type=style&index=0&id=76134a60&prod&lang=scss\"\nimport style1 from \"./FlowTotalsCharts.vue?vue&type=style&index=1&id=76134a60&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"76134a60\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page\"},[_c('LoadingSpinner',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.loading),expression:\"loading\"}]}),_c('section',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.loading),expression:\"!loading\"}],staticClass:\"section content-container\"},[_c('div',{staticClass:\"container is-fluid\"},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column\"},[_c('div',{staticClass:\"island\"},[_c('table',{staticClass:\"table is-fullwidth\"},[_c('tr',[_c('th',{staticClass:\"icon-column\"},[_c('span',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.bottom\",value:(_vm.reloadPageMessage()),expression:\"reloadPageMessage()\",modifiers:{\"bottom\":true}}],staticClass:\"reload-icon icon-1-5x\",on:{\"click\":_vm.reloadPredictions}},[_c('ReloadIcon')],1)]),_c('th',[_vm._v(\"Message\")]),_c('th',[_vm._v(\"Intent\")]),_c('th',{staticClass:\"has-text-centered\"},[_vm._v(\"Add/Remove\")])]),_vm._l((_vm.predictions),function(prediction){return _c('tr',{key:prediction.utterance},[_c('td'),_c('td',{staticClass:\"table-column--message\"},[_vm._v(_vm._s(prediction.utterance))]),_c('td',{staticClass:\"table-column--intent\"},[_c('div',{staticClass:\"field has-addons\"},[_c('div',{staticClass:\"control is-expanded\"},[_c('div',{staticClass:\"select is-fullwidth\",class:{'is-disabled': _vm.isActionInProgress()}},[_c('DropDownMenu',{staticClass:\"intent-dropdown\",attrs:{\"drop-down-icon\":\"none\",\"go-left\":\"false\"},scopedSlots:_vm._u([{key:\"trigger\",fn:function(){return [_c('button',{staticClass:\"button\"},[_c('span',{staticClass:\"selected-intent-label\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.getFormattedIntentScore(prediction.selectedIntent))+\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\")])])]},proxy:true}],null,true)},[_c('div',{staticClass:\"scrollable-item-list\"},_vm._l((prediction.intentScores),function(intentScore){return _c('a',{key:intentScore.id,staticClass:\"dropdown-item\",on:{\"click\":function($event){prediction.selectedIntent = intentScore}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.getFormattedIntentScore(intentScore))+\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\")])}),0),(prediction.intentScores.length > 0)?_c('hr',{staticClass:\"dropdown-divider\"}):_vm._e(),_c('a',{staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.addNewIntent(prediction.utterance)}}},[_c('div',{staticClass:\"add-item\"},[_c('a',{staticClass:\"add-intent\"},[_c('AddIcon',{staticClass:\"icon-1-3x\"}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tAdd new intent\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\")],1)])])])],1)]),_c('div',{staticClass:\"control edit-icon\",attrs:{\"disabled\":_vm.isActionInProgress()}},[_c('a',[_c('EditIcon',{staticClass:\"icon-1-2x\",on:{\"click\":function($event){$event.stopPropagation();return _vm.editIntent(prediction.selectedIntent.id)}}})],1)])])]),_c('td',{staticClass:\"table-column--actions has-text-centered\"},[_c('button',{staticClass:\"button is-success is-outlined\",class:{ 'is-loading': _vm.isUtteranceBeingAdded(prediction.utterance),'is-disabled': _vm.isActionInProgress() },on:{\"click\":function($event){return _vm.addToIntent(prediction.utterance, prediction.selectedIntent.id)}}},[_c('Check',{staticClass:\"icon-1-3x\"})],1),_c('button',{staticClass:\"button is-danger is-outlined\",class:{ 'is-loading': _vm.isPredictionBeingDeleted(prediction.utterance),'is-disabled': _vm.isActionInProgress() },on:{\"click\":function($event){return _vm.deletePrediction(prediction.id)}}},[_c('Close',{staticClass:\"icon-1-3x\"})],1)])])})],2),_c('PagingControl',{attrs:{\"total\":_vm.total,\"rows-per-page\":_vm.rowsPerPage,\"disable-controls\":_vm.isActionInProgress()},on:{\"page-changed\":_vm.onPageChanged}})],1)])])])]),_c('AddIntentModal',{ref:\"addIntentModal\",on:{\"completed\":_vm.addedIntent}}),_c('EditIntentModal',{key:_vm.intentToEditId,ref:\"editIntentModal\",attrs:{\"intent-id\":_vm.intentToEditId},on:{\"completed\":_vm.addedIntent}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import ColourService from '@/shared/services/color';\r\nimport { SeriesConfig } from '@/features/reports/models';\r\n\r\nexport class ChartConfig {\r\n\tpublic static get gridChartsGlobalOptions(): Chart.ChartOptions {\r\n\t\tconst options = ChartConfig.globalOptions;\r\n\t\toptions.scales = {\r\n\t\t\t\txAxes: [\r\n\t\t\t\t{\r\n\t\t\t\t\tticks: {\r\n\t\t\t\t\t\tautoSkip: true,\r\n\t\t\t\t\t\tmaxTicksLimit: 10\r\n\t\t\t\t\t},\r\n\t\t\t\t\tgridLines: {\r\n\t\t\t\t\t\tdisplay: false\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t};\r\n\t\toptions.plugins = {\r\n\t\t\tcrosshair: {\r\n\t\t\t\tsync: {\r\n\t\t\t\t\tenabled: false\r\n\t\t\t\t},\r\n\t\t\t\tline: {\r\n\t\t\t\t\tcolor: 'red',\r\n\t\t\t\t\t\twidth: 1\r\n\t\t\t\t},\r\n\t\t\t\tzoom: {\r\n\t\t\t\t\tenabled: false\r\n\t\t\t\t},\r\n\t\t\t\tsnap: {\r\n\t\t\t\t\tenabled: true\r\n\t\t\t\t},\r\n\t\t\t}\r\n\t\t};\r\n\t\treturn options;\r\n\t}\r\n\r\n\tpublic static get globalOptions(): Chart.ChartOptions {\r\n\t\treturn {\r\n\t\t\tresponsive: true,\r\n\t\t\tmaintainAspectRatio: false,\r\n\t\t\tlegend: {\r\n\t\t\t\tposition: 'right',\r\n\t\t\t\t// Uncomment to disable legend click event\r\n\t\t\t\t// onClick: () => { /**/ }\r\n\t\t\t},\r\n\t\t\tanimation: {\r\n\t\t\t\tduration: 1000 // general animation time\r\n\t\t\t},\r\n\t\t\thover: {\r\n\t\t\t\tintersect: false,\r\n\t\t\t\tanimationDuration: 0 // duration of animations when hovering an item\r\n\t\t\t},\r\n\t\t\tresponsiveAnimationDuration: 0, // animation duration after a resize\r\n\t\t\ttooltips: {\r\n\t\t\t\tmode: 'index',\r\n\t\t\t\tintersect: false,\r\n\t\t\t\tcallbacks: {\r\n\t\t\t\t\tlabel: (tooltipItem: Chart.ChartTooltipItem) => {\r\n\t\t\t\t\t\ttooltipItem.value = this.formatNumber(tooltipItem.value as string);\r\n\t\t\t\t\t\treturn tooltipItem.value;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tplugins: {},\r\n\t\t};\r\n\t}\r\n\r\n\tpublic static backgroundPalette(orderedSeriesConfig: SeriesConfig[]): string[] {\r\n\t\tconst palette = orderedSeriesConfig.map(config => {\r\n\t\t\treturn config.colour || this.metricPalette[config.name] || this.metricPalette.Default;\r\n\t\t});\r\n\t\treturn this.repeat(orderedSeriesConfig.length, palette.map(color => {\r\n\t\t\tif (color.startsWith('#')) {\r\n\t\t\t\treturn ColourService.setAlpha(color, 0.2);\r\n\t\t\t}\r\n\t\t}));\r\n\t}\r\n\r\n\tpublic static borderPalette(orderedSeriesConfig: SeriesConfig[]): string[] {\r\n\t\tconst palette = orderedSeriesConfig.map(config => {\r\n\t\t\treturn config.colour || this.metricPalette[config.name];\r\n\t\t});\r\n\t\treturn this.repeat(orderedSeriesConfig.length, palette.map(color => {\r\n\t\t\treturn ColourService.darken(color, 1);\r\n\t\t}));\r\n\t}\r\n\r\n\tpublic static backgroundColoursForRandomItems(length: number): string[] {\r\n\t\treturn [...this.unknownItemPalette].splice(0, length);\r\n\t}\r\n\r\n\tpublic static singleColourPalette(length: number, colour: string): string[] {\r\n\t\treturn Array(length).fill(colour);\r\n\t}\r\n\r\n\tprivate static metricPalette: {[key: string]: string} = {\r\n\t\tDefault: '#FF6666',\r\n\t\tStarted: '#E6C300',\r\n\t\tEngaged: '#FF6666',\r\n\t\tCompleted: '#062B80',\r\n\t\tHandedOver: '#FF6666',\r\n\t\tLeads: '#062B80',\r\n\t\tUsers: '#FF6666',\r\n\t\tConversations: '#062B80'\r\n\t};\r\n\r\n\tprivate static unknownItemPalette: string[] = [\r\n\t\t'#4A3B79',\r\n\t\t'#774674',\r\n\t\t'#BB566D',\r\n\t\t'#FF6666',\r\n\t\t'#F87F4A',\r\n\t\t'#EDAA1C',\r\n\t\t'#E6C300',\r\n\t\t'#A99A23',\r\n\t\t'#576251',\r\n\t\t'#43545D'\r\n\t];\r\n\r\n\tprivate static repeat(length: number, array: T[]) {\r\n\t\treturn Array(length).fill(array).flat();\r\n\t}\r\n\r\n\tprivate static formatNumber(value: string): string {\r\n\t\tconst n = Number(value);\r\n\t\tif (isNaN(n)) {\r\n\t\t\treturn value;\r\n\t\t}\r\n\t\treturn n.toLocaleString();\r\n\t}\r\n}\r\n\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.isLoading)?_c('LoadingSpinner'):_vm._e(),_c(_vm.getComponentName(),{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isLoading),expression:\"!isLoading\"}],tag:\"component\",on:{\"configSaved\":_vm.configSaved,\"loaded\":function($event){return _vm.loaded()}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./twitterAuthPopup.vue?vue&type=style&index=0&id=2fd23297&prod&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Intents.vue?vue&type=style&index=0&id=64a2ad3e&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebAssistantPreview.vue?vue&type=style&index=1&id=634b5dc2&prod&lang=scss&scoped=true\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"delete-intent\"},[_c('n-modal',{on:{\"cancel\":_vm.cancel},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"modal-card-title\"},[_vm._v(\"Delete intent\")])]},proxy:true},{key:\"body\",fn:function(){return [((!_vm.intent.references || _vm.intent.references.length === 0) && !_vm.isUnknownIntent())?_c('p',[_vm._v(\"\\n\\t\\t\\t\\tAre you sure you want to delete \"),_c('strong',[_vm._v(_vm._s(_vm.intent.title))]),_vm._v(\"?\\n\\t\\t\\t\")]):(_vm.isUnknownIntent())?_c('p',[_vm._v(\"\\n\\t\\t\\t\\tThe \"),_c('strong',[_vm._v(\"Unknown\")]),_vm._v(\" intent is a system-defined intent and cannot be deleted.\\n\\t\\t\\t\")]):_c('div',[_c('p',[_vm._v(\"You are currently unable to delete this intent because it is used in the following:\")]),(!_vm.hasLoadedReferences())?_c('div',[_c('LoadingSpinner')],1):_c('div',[(_vm.answerReferences.length > 0)?_c('div',{staticClass:\"delete-intent__answer-references\"},[_c('h2',{staticClass:\"title is-6\"},[_vm._v(\"FAQs\")]),_c('ul',_vm._l((_vm.answerReferences),function(answerReference){return _c('li',{key:answerReference.id},[_c('router-link',{attrs:{\"to\":{ name: 'bots-answer-editor', params: { id: answerReference.id } }}},[_vm._v(_vm._s(_vm.getAnswerName(answerReference)))])],1)}),0)]):_vm._e(),(_vm.flowReferences.length > 0)?_c('div',{staticClass:\"delete-intent__flow-references\"},[_c('h2',{staticClass:\"title is-6\"},[_vm._v(\"Flows\")]),_c('ul',_vm._l((_vm.flowReferences),function(flowReference){return _c('li',{key:flowReference.id},[_c('router-link',{attrs:{\"to\":{ name: 'bots-flow-designer', params: { flowId: flowReference.id } }}},[_vm._v(_vm._s(_vm.getFlowName(flowReference)))])],1)}),0)]):_vm._e()])])]},proxy:true},{key:\"buttons\",fn:function(){return [_c('n-button-group',[(!_vm.isConfirmHidden())?_c('n-button',{attrs:{\"id\":\"delete-confirm-button\",\"variant\":\"primary\",\"loading\":_vm.deleteInProgress},on:{\"click\":_vm.confirmDelete}},[_vm._v(\"Confirm\")]):_vm._e(),_c('n-button',{attrs:{\"variant\":\"primary--outline\"},on:{\"click\":_vm.cancel}},[_vm._v(\"Cancel\")])],1)]},proxy:true}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UpgradeModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UpgradeModal.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('fieldset',[_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"App Name\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.appName),expression:\"appName\",modifiers:{\"trim\":true}}],staticClass:\"input\",class:{'is-danger': _vm.$v.appName.$invalid && _vm.$v.appName.$dirty },attrs:{\"type\":\"text\",\"placeholder\":\"Enter app name here\",\"required\":\"\"},domProps:{\"value\":(_vm.appName)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.appName=$event.target.value.trim()},function($event){return _vm.$v.appName.$touch()}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.appName.$invalid && _vm.$v.appName.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"The app name is required\")]):_vm._e()])]),_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\",\"disabled\":_vm.$v.$invalid,\"loading\":_vm.actionInProgress},on:{\"click\":function($event){return _vm.save()}}},[_vm._v(\"Submit\")]),_c('n-button',{attrs:{\"variant\":\"primary--outline\"},on:{\"click\":function($event){return _vm.cancel()}}},[_vm._v(\"Cancel\")])],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FaqIntentPicker.vue?vue&type=style&index=0&id=11fc92dd&prod&lang=scss&scoped=true\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.show)?_c('modal',{on:{\"cancel\":_vm.closeModal},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"modal-card-title\"},[_vm._v(\"Edit intent\")])]},proxy:true},{key:\"body\",fn:function(){return [(!_vm.loading)?_c('div',{staticClass:\"edit-title-container\"},[_c('h1',[_vm._v(\"Name\\n\\t\\t\\t\\t\\t\"),(_vm.isUnknownIntent())?_c('n-tooltip',{attrs:{\"position\":\"right\",\"text\":\"The 'Unknown' intent is a system-defined intent and cannot be renamed\"}}):_vm._e()],1),_c('div',{staticClass:\"field\"},[_c('n-text-input',{staticClass:\"edit-title\",attrs:{\"hideLabel\":true,\"label\":\"Intent name\",\"disabled\":_vm.isUnknownIntent() || _vm.isSaveInProgress,\"errorMessage\":_vm.getErrorMessage()},model:{value:(_vm.selectedIntentTitle),callback:function ($$v) {_vm.selectedIntentTitle=$$v},expression:\"selectedIntentTitle\"}})],1)]):_vm._e(),(!_vm.loading)?_c('div',{staticClass:\"edit-utterances-container\"},[_c('h1',[_vm._v(\"Example Utterances\")]),_c('UtteranceList',{attrs:{\"v\":_vm.$v.selectedIntentUtterances,\"term\":\"utterance\",\"is-editable\":!_vm.isSaveInProgress},model:{value:(_vm.selectedIntentUtterances),callback:function ($$v) {_vm.selectedIntentUtterances=$$v},expression:\"selectedIntentUtterances\"}})],1):_vm._e(),(_vm.loading)?_c('LoadingSpinner',{staticClass:\"loading-spinner\"}):_vm._e()]},proxy:true},{key:\"buttons\",fn:function(){return [_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\",\"loading\":_vm.isSaveInProgress},on:{\"click\":_vm.saveIntent}},[_vm._v(\"Save\\n\\t\\t\\t\\t\")]),_c('n-button',{attrs:{\"variant\":\"primary--outline\",\"disabled\":_vm.isSaveInProgress},on:{\"click\":_vm.closeModal}},[_vm._v(\"Cancel\")])],1)]},proxy:true}],null,false,3171818980)}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue, Watch} from 'vue-property-decorator';\r\nimport {Getter} from 'vuex-class';\r\nimport {mixin as clickaway} from 'vue-clickaway';\r\nimport Rule from './Rule.vue';\r\nimport AddIcon from 'vue-material-design-icons/Plus.vue';\r\nimport {RuleViewModel} from '../../models/ruleViewModel';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport {RuleConditionsManager} from '@/features/bots/components/rules/ruleConditionsManager';\r\nimport {ConfiguredAppIntegration} from '@/features/apps/shared/models/configuredAppIntegration';\r\nimport TagBox from '@/shared/components/TagBox.vue';\r\nimport CapableAppPicker from '@/shared/components/capableAppPicker/CapableAppPicker.vue';\r\nimport {ConfigRequest} from '@/shared/components/capableAppPicker/configRequest';\r\nimport {BotActionAppViewModel} from '@/features/bots/models';\r\n\r\n@Component({\r\n\tmixins: [\r\n\t\tclickaway,\r\n\t],\r\n\tcomponents: {\r\n\t\tRule,\r\n\t\tTagBox,\r\n\t\tCapableAppPicker,\r\n\t\tAddIcon\r\n\t}\r\n})\r\nexport default class RulesList extends Vue {\r\n\t@Prop() public configRequest!: ConfigRequest;\r\n\t@Prop() public rules!: RuleViewModel[];\r\n\t@Prop() public selectedApps!: Array;\r\n\t@Prop() public ruleConditionsManager!: RuleConditionsManager;\r\n\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\tpublic providedRules: RuleViewModel[] = [];\r\n\tpublic ruleInvalidStates: boolean[] = [];\r\n\tpublic hasInvalidRuleConditions: boolean = false;\r\n\r\n\t@Watch('rules', {immediate: true, deep: true})\r\n\tpublic onValueChanged(value: RuleViewModel[]) {\r\n\t\tif (value && value.length > 0) {\r\n\t\t\tthis.providedRules = value;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic addRule() {\r\n\t\tconst rule = {\r\n\t\t\tconditions: {\r\n\t\t\t\ttype: 'and',\r\n\t\t\t\tconditions: []\r\n\t\t\t},\r\n\t\t\tactions: []\r\n\t\t};\r\n\t\tthis.providedRules.push(rule);\r\n\t\tthis.ruleUpdated(this.providedRules.length - 1, rule, this.hasAnyInvalidRules());\r\n\t}\r\n\r\n\tpublic ruleUpdated(index: number, rule: RuleViewModel, hasInvalidConditions: boolean, ) {\r\n\t\tthis.providedRules[index] = rule;\r\n\t\tthis.ruleInvalidStates[index] = hasInvalidConditions;\r\n\t\tthis.hasInvalidRuleConditions = this.hasAnyInvalidRules();\r\n\r\n\t\tthis.$emit('rules-updated', this.providedRules);\r\n\t}\r\n\r\n\tpublic selectedFollowUpActionsChanged(selectedApps: BotActionAppViewModel[]) {\r\n\t\tthis.$emit('followup-action-change', selectedApps);\r\n\t}\r\n\r\n\tpublic deleteRule(index: number) {\r\n\t\tthis.providedRules.splice(index, 1);\r\n\t}\r\n\r\n\tpublic areRulesAreValid(): boolean {\r\n\t\tif (this.hasInvalidRuleConditions) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tfor (let i = 0; i < this.rules.length; i++) {\r\n\t\t\tconst componentName = `rule-component-${i}`;\r\n\t\t\tif (!this.ruleIsValid(componentName)) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn true;\r\n\t}\r\n\r\n\tprivate hasAnyInvalidRules() {\r\n\t\treturn this.ruleInvalidStates.some(invalid => invalid);\r\n\t}\r\n\r\n\tprivate ruleIsValid(componentName: string) {\r\n\t\tconst component = (this.$refs[componentName]as any)[0] as Rule;\r\n\t\tif (component) {\r\n\t\t\t(component.$v as any).providedRule.$touch();\r\n\t\t\tif (component.$v.$anyError) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn true;\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"tag\",class:_vm.badgeClass},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./InputStringComponent.vue?vue&type=template&id=7778dfc6&scoped=true\"\nimport script from \"./InputStringComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./InputStringComponent.vue?vue&type=script&lang=ts\"\nimport style0 from \"./InputStringComponent.vue?vue&type=style&index=0&id=7778dfc6&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7778dfc6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tags-input',{ref:\"tag-input-element\",attrs:{\"element-id\":_vm.elementId,\"placeholder\":_vm.placeholder,\"disabled\":_vm.disabled,\"limit\":_vm.limit,\"before-adding-tag\":_vm.onBeforeAddingTag,\"before-removing-tag\":_vm.onBeforeRemovingTag,\"validate\":_vm.validate,\"add-tags-on-space\":_vm.addTagsOnSpace,\"add-tags-on-comma\":true,\"add-tags-on-blur\":true},on:{\"input\":_vm.onInput,\"tags-updated\":_vm.onTagsUpdated,\"keyup\":_vm.onKeyUp},model:{value:(_vm.tags),callback:function ($$v) {_vm.tags=$$v},expression:\"tags\"}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Watch } from 'vue-property-decorator';\r\n\r\nimport PageHeader from '@/shared/components/pageHeader/PageHeader.vue';\r\nimport FlowEscalationRateCharts from '@/features/reports/components/flows/FlowEscalationRateCharts.vue';\r\nimport FlowEngagementCharts from '@/features/reports/components/flows/FlowEngagementCharts.vue';\r\nimport FlowTotalsCharts from '@/features/reports/components/flows/FlowTotalsCharts.vue';\r\nimport { Getter, Mutation } from 'vuex-class';\r\nimport { SET_REPORT_LOADING } from '@/store/reports/mutationTypes';\r\nimport { DateOption } from '../models';\r\n\r\ninterface ReportsLoaded {\r\n\ttotals: boolean;\r\n\tengagement: boolean;\r\n\tescalation: boolean;\r\n}\r\n\r\n@Component({\r\n\tmixins: [],\r\n\tcomponents: {\r\n\t\tFlowTotalsCharts,\r\n\t\tPageHeader,\r\n\t\tFlowEscalationRateCharts,\r\n\t\tFlowEngagementCharts\r\n\t}\r\n})\r\nexport default class FlowsReports extends Vue {\r\n\t@Getter public selectedDateOption!: DateOption;\r\n\t@Getter public selectedFlowId!: string;\r\n\t@Mutation(SET_REPORT_LOADING) public setReportLoading: (loading: boolean) => void;\r\n\r\n\tpublic reportIsLoaded: ReportsLoaded = {\r\n\t\ttotals: false,\r\n\t\tengagement: false,\r\n\t\tescalation: false\r\n\t};\r\n\r\n\t@Watch('selectedDateOption')\r\n\tpublic onSelectedDateOptionChange() {\r\n\t\tthis.resetLoadingStatus();\r\n\t\tthis.setReportLoading(true);\r\n\t}\r\n\r\n\t@Watch('selectedFlowId')\r\n\tpublic onSelectedFlowChange() {\r\n\t\tthis.resetLoadingStatus();\r\n\t\tthis.setReportLoading(true);\r\n\t}\r\n\r\n\tpublic mounted() {\r\n\t\tthis.setReportLoading(true);\r\n\t}\r\n\r\n\tpublic handleReportLoad(type: keyof ReportsLoaded) {\r\n\t\tthis.reportIsLoaded[type] = true;\r\n\t\tif (this.reportIsLoaded.totals && this.reportIsLoaded.engagement && this.reportIsLoaded.escalation) {\r\n\t\t\tthis.setReportLoading(false);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate resetLoadingStatus() {\r\n\t\tthis.reportIsLoaded = {\r\n\t\t\ttotals: false,\r\n\t\t\tengagement: false,\r\n\t\t\tescalation: false\r\n\t\t};\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./ContactTypePicker.vue?vue&type=template&id=2b5edcf2&scoped=true\"\nimport script from \"./ContactTypePicker.vue?vue&type=script&lang=ts\"\nexport * from \"./ContactTypePicker.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ContactTypePicker.vue?vue&type=style&index=0&id=2b5edcf2&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2b5edcf2\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./Tasks.vue?vue&type=template&id=be18c042&scoped=true\"\nimport script from \"./Tasks.vue?vue&type=script&lang=ts\"\nexport * from \"./Tasks.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Tasks.vue?vue&type=style&index=0&id=be18c042&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"be18c042\",\n null\n \n)\n\nexport default component.exports","export const TypicalResponseTimeOptions = [\r\n\t{ value: 0, label: 'Do not display estimate' },\r\n\t{ value: 1, label: 'As soon as possible' },\r\n\t{ value: 2, label: 'Within a few minutes' },\r\n\t{ value: 3, label: 'Within a few hours' },\r\n\t{ value: 4, label: 'Within a day' }\r\n];\r\n","import authService from '@/authentication/authentication.service';\r\nimport { ConnectClaim } from '@/authentication/claims';\r\nimport { ApplicationInsights, ICustomProperties, IEventTelemetry } from '@microsoft/applicationinsights-web';\r\nimport { config } from '@/config/config';\r\n\r\nclass AppInsightsService {\r\n\tprivate insights: ApplicationInsights;\r\n\r\n\tpublic init() {\r\n\t\tthis.insights = new ApplicationInsights({\r\n\t\t\tconfig: {\r\n\t\t\t\tconnectionString: `InstrumentationKey=${config().telemetryKey};IngestionEndpoint=${config().telemetryHost}`,\r\n\t\t\t\tenableAutoRouteTracking: true,\r\n\t\t\t},\r\n\t\t});\r\n\t\tthis.insights.loadAppInsights();\r\n\t}\r\n\r\n\tpublic trackEvent(event: IEventTelemetry, customProperties?: ICustomProperties) {\r\n\t\tthis.insights.trackEvent(event, customProperties);\r\n\t}\r\n\r\n\tpublic trackPageView() {\r\n\t\tthis.insights.trackPageView();\r\n\t}\r\n\r\n\tpublic setAuthenticatedUserContext() {\r\n\t\tconst userId = authService.getClaim(ConnectClaim.UserId);\r\n\t\tthis.insights.setAuthenticatedUserContext(userId, undefined, true);\r\n\t\tthis.insights.context.user.id = userId;\r\n\t}\r\n}\r\n\r\nexport default new AppInsightsService();\r\n","import { ConditionsManager } from '@/shared/components/conditions/models/conditionsManager';\r\nimport { ConditionPickerOption } from '@/shared/components/conditions/models/conditions';\r\nimport { store } from '@/store';\r\nimport { ConditionViewModel } from '@/shared/components/conditions/models/conditionViewModel';\r\nimport { InputVariableViewModel } from '@/features/bots/models/designer';\r\n\r\nexport enum DecisionConditionsAttributeType {\r\n\tTimeOfDay = 'system.currentTimeUtc',\r\n}\r\n\r\nexport class DecisionConditionsManager extends ConditionsManager {\r\n\tprivate contextualConditions: ConditionPickerOption[] = [];\r\n\r\n\tconstructor() {\r\n\t\tsuper(store.getters.contactAttributes);\r\n\t}\r\n\r\n\tpublic get conditions(): ConditionPickerOption[] {\r\n\t\tconst attributes = this.conditionsFromCache;\r\n\r\n\t\tif (this.contextualConditions) {\r\n\t\t\tattributes.push(...this.contextualConditions);\r\n\t\t}\r\n\t\treturn attributes;\r\n\t}\r\n\r\n\tpublic setContextualConditions(contextualConditions: ConditionPickerOption[]) {\r\n\t\tthis.contextualConditions = contextualConditions;\r\n\t}\r\n\r\n\tpublic isConditionValid(condition: ConditionViewModel): boolean {\r\n\t\tif (condition.attribute.startsWith('flow')) {\r\n\t\t\tconst flowVariables = store.getters.flowVariables;\r\n\t\t\tconst flowVariable = flowVariables.find((fv: InputVariableViewModel) => fv.name === condition.attribute.split('.')[1]);\r\n\t\t\treturn !!flowVariable;\r\n\t\t}\r\n\t\treturn super.isConditionValid(condition);\r\n\t}\r\n\r\n\tpublic getConfigComponent(condition: ConditionViewModel) {\r\n\t\tif (condition.attribute === DecisionConditionsAttributeType.TimeOfDay) {\r\n\t\t\treturn 'TimeOfDayCondition';\r\n\t\t}\r\n\t\treturn super.getConfigComponent(condition);\r\n\t}\r\n\r\n\tpublic getFormattedDescription(condition: ConditionViewModel) {\r\n\t\tif (!condition.invalid && condition.attribute === DecisionConditionsAttributeType.TimeOfDay) {\r\n\t\t\tif (!condition.value || condition.value === 'bot.openingTimes') {\r\n\t\t\t\treturn `Time of day is ${condition.result ? 'in hours' : 'out of hours'}`;\r\n\t\t\t} else {\r\n\t\t\t\treturn 'Time of day is in custom schedule';\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn super.getFormattedDescription(condition);\r\n\t}\r\n}\r\n","import Vue from 'vue';\r\nimport Router, {Route} from 'vue-router';\r\nimport { store } from './store';\r\n\r\nimport Bots from './features/bots/views/Bots.vue';\r\nimport Flow from './features/bots/views/Flow.vue';\r\nimport FlowEditor from './features/bots/views/FlowEditor.vue';\r\nimport WebAssistant from './features/webassistant/views/WebAssistant.vue';\r\nimport Settings from './features/settings/views/Settings.vue';\r\n\r\nimport Apps from './features/apps/shared/views/Apps.vue';\r\nimport AppModal from './features/apps/shared/components/AppModal.vue';\r\nimport AppOverview from './features/apps/shared/components/AppOverview.vue';\r\nimport AppConfig from './features/apps/shared/components/AppConfig.vue';\r\n\r\nimport PrivateApps from './features/privateapps/views/PrivateApps.vue';\r\nimport PrivateAppsList from './features/privateapps/views/PrivateAppsList.vue';\r\nimport CreatePrivateApp from './features/privateapps/views/CreatePrivateApp.vue';\r\nimport EditPrivateApp from './features/privateapps/views/EditPrivateApp.vue';\r\n\r\nimport Reports from './features/reports/views/Reports.vue';\r\nimport FlowsReports from '@/features/reports/views/FlowsReports.vue';\r\nimport IntentsReports from '@/features/reports/views/IntentsReports.vue';\r\nimport MessagingReports from '@/features/reports/views/MessagingReports.vue';\r\n\r\nimport TwitterAuthPopup from './features/apps/twitter/components/twitterAuthPopup.vue';\r\nimport ErrorPage from './ErrorPage.vue';\r\n\r\nimport authService from './authentication/authentication.service';\r\nimport UsersInWorkspace from '@/features/settings/views/UsersInWorkspace.vue';\r\nimport GeneralSettings from '@/features/settings/views/GeneralSettings.vue';\r\nimport Email from '@/features/settings/views/Email.vue';\r\nimport EmailTemplate from '@/features/settings/views/EmailTemplate.vue';\r\nimport Register from '@/features/registration/views/Register.vue';\r\nimport Tasks from '@/features/bots/views/Tasks.vue';\r\nimport BotFlows from '@/features/bots/views/BotFlows.vue';\r\nimport AnswerEditor from '@/features/bots/views/AnswerEditor.vue';\r\nimport Answers from '@/features/bots/views/Answers.vue';\r\nimport ActiveLearning from '@/features/bots/views/ActiveLearning.vue';\r\nimport { NLP_ENABLED } from '@/store/app/featureTypes';\r\nimport Contacts from '@/features/contacts/views/Contacts.vue';\r\nimport ContactsList from '@/features/contacts/views/ContactsList.vue';\r\nimport ContactAttributes from '@/features/settings/views/ContactAttributes.vue';\r\nimport ContactConversationModal from '@/features/contacts/components/ContactConversationModal.vue';\r\nimport BusinessHours from '@/features/settings/views/BusinessHours.vue';\r\nimport Intents from '@/features/bots/views/Intents.vue';\r\nimport UsageReports from '@/features/reports/views/UsageReports.vue';\r\nimport { HANDLE_SERIOUS_ERROR } from '@/store/app/actionTypes';\r\n\r\nVue.use(Router);\r\n\r\nconst generatePageTitle = (pageName: string) => {\r\n\tconst workspaceName = store.getters.currentWorkspace.name;\r\n\treturn `${pageName} | ${workspaceName} | Connect`;\r\n};\r\n\r\nconst router = new Router({\r\n\tmode: 'history',\r\n\tbase: process.env.BASE_URL,\r\n\troutes: [\r\n\t\t{\r\n\t\t\tpath: '/web-assistant',\r\n\t\t\tname: 'web-assistant',\r\n\t\t\tcomponent: WebAssistant,\r\n\t\t\tmeta: {\r\n\t\t\t\ttitle: 'Web Assistant',\r\n\t\t\t},\r\n\t\t},\r\n\t\t{\r\n\t\t\tpath: '/bots',\r\n\t\t\tname: 'bots',\r\n\t\t\tcomponent: Bots,\r\n\t\t\tmeta: {\r\n\t\t\t\ttitle: 'Bot Studio',\r\n\t\t\t},\r\n\t\t\tchildren: [\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: 'tasks',\r\n\t\t\t\t\tname: 'bots-tasks',\r\n\t\t\t\t\tcomponent: Tasks,\r\n\t\t\t\t\tmeta: {\r\n\t\t\t\t\t\ttitle: 'Tasks',\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: 'flows',\r\n\t\t\t\t\tname: 'bots-flows',\r\n\t\t\t\t\tcomponent: BotFlows,\r\n\t\t\t\t\tmeta: {\r\n\t\t\t\t\t\ttitle: 'Flows',\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: 'faqs',\r\n\t\t\t\t\tname: 'bots-answers',\r\n\t\t\t\t\tcomponent: Answers,\r\n\t\t\t\t\tmeta: {\r\n\t\t\t\t\t\ttitle: 'FAQs',\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: 'active-learning',\r\n\t\t\t\t\tname: 'bots-active-learning',\r\n\t\t\t\t\tcomponent: ActiveLearning,\r\n\t\t\t\t\tmeta: {\r\n\t\t\t\t\t\ttitle: 'Active Learning',\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: 'intents',\r\n\t\t\t\t\tname: 'bots-intents',\r\n\t\t\t\t\tcomponent: Intents,\r\n\t\t\t\t\tmeta: {\r\n\t\t\t\t\t\ttitle: 'Intents',\r\n\t\t\t\t\t},\r\n\t\t\t\t}\r\n\t\t\t],\r\n\t\t},\r\n\t\t{\r\n\t\t\tpath: '/bots/faqs/:id?',\r\n\t\t\tname: 'bots-answer-editor',\r\n\t\t\tcomponent: AnswerEditor,\r\n\t\t\tmeta: {\r\n\t\t\t\ttitle: 'FAQs',\r\n\t\t\t},\r\n\t\t},\r\n\t\t{\r\n\t\t\tpath: '/bots/flows/:flowId',\r\n\t\t\tcomponent: Flow,\r\n\t\t\tchildren: [\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: '',\r\n\t\t\t\t\tname: 'bots-flow-designer',\r\n\t\t\t\t\tcomponent: FlowEditor,\r\n\t\t\t\t\tmeta: {\r\n\t\t\t\t\t\ttitle: 'Flows',\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t\tprops: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tpath: '/apps',\r\n\t\t\tname: 'apps',\r\n\t\t\tcomponent: Apps,\r\n\t\t\tmeta: {\r\n\t\t\t\ttitle: 'App Store',\r\n\t\t\t},\r\n\t\t\tchildren: [\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: ':id',\r\n\t\t\t\t\tname: 'app',\r\n\t\t\t\t\tcomponent: AppModal,\r\n\t\t\t\t\tchildren: [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tpath: 'overview',\r\n\t\t\t\t\t\t\tname: 'app-overview',\r\n\t\t\t\t\t\t\tcomponent: AppOverview,\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tpath: 'config',\r\n\t\t\t\t\t\t\tname: 'app-config',\r\n\t\t\t\t\t\t\tcomponent: AppConfig,\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t],\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t},\r\n\t\t{\r\n\t\t\tpath: '/your-apps',\r\n\t\t\tcomponent: PrivateApps,\r\n\t\t\tmeta: {\r\n\t\t\t\ttitle: 'Your Apps',\r\n\t\t\t},\r\n\t\t\tchildren: [\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: '',\r\n\t\t\t\t\tname: 'private-apps-list',\r\n\t\t\t\t\tcomponent: PrivateAppsList,\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: 'add',\r\n\t\t\t\t\tname: 'private-apps-create',\r\n\t\t\t\t\tcomponent: CreatePrivateApp,\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: ':id',\r\n\t\t\t\t\tname: 'private-apps-edit',\r\n\t\t\t\t\tcomponent: EditPrivateApp,\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t},\r\n\t\t{\r\n\t\t\tpath: '/contacts',\r\n\t\t\tcomponent: Contacts,\r\n\t\t\tmeta: {\r\n\t\t\t\ttitle: 'Contacts',\r\n\t\t\t},\r\n\t\t\tchildren: [\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: '',\r\n\t\t\t\t\tname: 'contacts-list',\r\n\t\t\t\t\tcomponent: ContactsList,\r\n\t\t\t\t\tchildren: [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tpath: ':id',\r\n\t\t\t\t\t\t\tname: 'contact-view',\r\n\t\t\t\t\t\t\tcomponent: ContactConversationModal,\r\n\t\t\t\t\t\t\tprops: true\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t]\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t},\r\n\r\n\t\t{\r\n\t\t\tpath: '/reports',\r\n\t\t\tname: 'reports',\r\n\t\t\tcomponent: Reports,\r\n\t\t\tmeta: {\r\n\t\t\t\ttitle: 'Reports',\r\n\t\t\t},\r\n\t\t\tchildren: [\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: 'overview',\r\n\t\t\t\t\tname: 'reports-overview',\r\n\t\t\t\t\tcomponent: MessagingReports,\r\n\t\t\t\t\tmeta: {\r\n\t\t\t\t\t\ttitle: 'Reports | Overview'\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: 'usage',\r\n\t\t\t\t\tname: 'reports-usage',\r\n\t\t\t\t\tcomponent: UsageReports,\r\n\t\t\t\t\tmeta: {\r\n\t\t\t\t\t\ttitle: 'Reports | Usage'\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: 'flows',\r\n\t\t\t\t\tname: 'reports-flows',\r\n\t\t\t\t\tcomponent: FlowsReports,\r\n\t\t\t\t\tmeta: {\r\n\t\t\t\t\t\ttitle: 'Reports | Flows',\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: 'intents',\r\n\t\t\t\t\tname: 'reports-intents',\r\n\t\t\t\t\tcomponent: IntentsReports,\r\n\t\t\t\t\tmeta: {\r\n\t\t\t\t\t\ttitle: 'Reports | Intents',\r\n\t\t\t\t\t},\r\n\t\t\t\t}\r\n\t\t\t],\r\n\t\t},\r\n\t\t{\r\n\t\t\tpath: '/settings',\r\n\t\t\tname: 'settings',\r\n\t\t\tcomponent: Settings,\r\n\t\t\tmeta: {\r\n\t\t\t\ttitle: 'Settings',\r\n\t\t\t},\r\n\t\t\tchildren: [\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: 'general',\r\n\t\t\t\t\tname: 'general-settings',\r\n\t\t\t\t\tcomponent: GeneralSettings,\r\n\t\t\t\t\tmeta: {\r\n\t\t\t\t\t\ttitle: 'General Settings',\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: 'teammates',\r\n\t\t\t\t\tname: 'teammates',\r\n\t\t\t\t\tcomponent: UsersInWorkspace,\r\n\t\t\t\t\tmeta: {\r\n\t\t\t\t\t\ttitle: 'Teammates',\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: 'email',\r\n\t\t\t\t\tname: 'email',\r\n\t\t\t\t\tcomponent: Email,\r\n\t\t\t\t\tmeta: {\r\n\t\t\t\t\t\ttitle: 'Email',\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: 'attributes',\r\n\t\t\t\t\tname: 'contact-attributes',\r\n\t\t\t\t\tcomponent: ContactAttributes,\r\n\t\t\t\t\tmeta: {\r\n\t\t\t\t\t\ttitle: 'Contact Attributes',\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: 'business-hours',\r\n\t\t\t\t\tname: 'business-hours',\r\n\t\t\t\t\tcomponent: BusinessHours,\r\n\t\t\t\t\tmeta: {\r\n\t\t\t\t\t\ttitle: 'Business Hours',\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t},\r\n\r\n\t\t{\r\n\t\t\tpath: '/settings/email/add',\r\n\t\t\tname: 'email-template-create',\r\n\t\t\tcomponent: EmailTemplate,\r\n\t\t},\r\n\t\t{\r\n\t\t\tpath: '/settings/email/:templateId',\r\n\t\t\tname: 'email-template-edit',\r\n\t\t\tcomponent: EmailTemplate,\r\n\t\t},\r\n\t\t{\r\n\t\t\tpath: '/twitter-auth',\r\n\t\t\tname: 'twitter-auth',\r\n\t\t\tcomponent: TwitterAuthPopup,\r\n\t\t\tmeta: {\r\n\t\t\t\ttitle: 'Authenticate with Twitter',\r\n\t\t\t},\r\n\t\t},\r\n\t\t{\r\n\t\t\tpath: '/error',\r\n\t\t\tname: 'error',\r\n\t\t\tcomponent: ErrorPage,\r\n\t\t\tmeta: {\r\n\t\t\t\ttitle: 'Error',\r\n\t\t\t},\r\n\t\t},\r\n\t\t{\r\n\t\t\tpath: '/register/:token',\r\n\t\t\tname: 'register',\r\n\t\t\tcomponent: Register,\r\n\t\t\tmeta: {\r\n\t\t\t\ttitle: 'Register',\r\n\t\t\t},\r\n\t\t},\r\n\t\t{\r\n\t\t\tpath: '/',\r\n\t\t\tname: 'root',\r\n\t\t\tcomponent: WebAssistant,\r\n\t\t\tmeta: {\r\n\t\t\t\ttitle: 'Web Assistant',\r\n\t\t\t},\r\n\t\t},\r\n\t],\r\n});\r\n\r\nexport function registerRouterHooks() {\r\n\trouter.beforeEach((to, from, next) => {\r\n\t\t// if not authenticated, only allow access to registration page\r\n\t\tif (!authService.isAuthenticated()) {\r\n\t\t\tif (to.path.startsWith('/register')) {\r\n\t\t\t\treturn next();\r\n\t\t\t}\r\n\r\n\t\t\tauthService.login();\r\n\t\t\treturn next(false);\r\n\t\t}\r\n\r\n\t\tif (!authService.isConnectUser()) {\r\n\t\t\tif (to.path === '/error') {\r\n\t\t\t\treturn next();\r\n\t\t\t} else if (from.path === '/error') {\r\n\t\t\t\treturn next(false);\r\n\t\t\t}\r\n\r\n\t\t\tstore.dispatch(HANDLE_SERIOUS_ERROR, 'User does not have access to Connect').then();\r\n\t\t\treturn next(false);\r\n\t\t}\r\n\r\n\t\t// if logged in and registration page is requested, log them out\r\n\t\tif (to.path.startsWith('/register')) {\r\n\t\t\tauthService.logout();\r\n\t\t\treturn next(false);\r\n\t\t}\r\n\r\n\t\tif (\r\n\t\t\t(to.path.endsWith('/bots/faqs') || to.path.endsWith('/bots/active-learning') || to.path.endsWith('/bots/intents')) &&\r\n\t\t\t!store.getters.isWorkspaceFeatureEnabled(NLP_ENABLED)\r\n\t\t) {\r\n\t\t\treturn next(from as any);\r\n\t\t}\r\n\r\n\t\tupdatePageTitle(to);\r\n\r\n\t\t// allow anything else\r\n\t\tnext();\r\n\t});\r\n}\r\n\r\nexport function updatePageTitle(route?: Route) {\r\n\troute = route || router.currentRoute;\r\n\r\n\tconst nearestPageWithTitle = route.matched\r\n\t\t.slice()\r\n\t\t.reverse()\r\n\t\t.find((r) => r.meta && r.meta.title);\r\n\r\n\tif (nearestPageWithTitle) {\r\n\t\tdocument.title = generatePageTitle(nearestPageWithTitle.meta.title);\r\n\t}\r\n}\r\n\r\nexport default router;\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowEditor.vue?vue&type=style&index=0&id=3bf7192a&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"on-clickaway\",rawName:\"v-on-clickaway\",value:(_vm.validateGoTo),expression:\"validateGoTo\"}],staticClass:\"go-to-component\"},[_c('IslandBadge',{attrs:{\"type\":\"goto\",\"draggable\":false}}),_c('div',{staticClass:\"go-to-component__go-to\"},[_c('div',{staticClass:\"go-to-component__content\"},[_c('TagBox',{attrs:{\"value\":\"go to\"}}),_c('div',{staticClass:\"go-to-component__transition-picker\"},[_c('TransitionPicker',{attrs:{\"transition\":_vm.state.transition,\"show-none-transition\":false},on:{\"transition-selected\":_vm.updateTransition}}),(_vm.$v.state.transition.$invalid && _vm.$v.state.transition.$anyDirty && _vm.$v.state.transition.payload.payloadValid)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tMust select a transition\\n\\t\\t\\t\\t\\t\")]):_vm._e(),(_vm.$v.state.transition.$invalid && !_vm.$v.state.transition.payload.payloadValid)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tMust not contain an invalid transition\\n\\t\\t\\t\\t\\t\")]):_vm._e()],1)],1)]),(_vm.invalid)?_c('div',{staticClass:\"invalid-warning\"},[_c('ErrorIcon',{staticClass:\"icon-1-3x\"})],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Vue} from 'vue-property-decorator';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport {Action, Getter} from 'vuex-class';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport PagingControl, { Page } from '@/shared/components/PagingControl.vue';\r\nimport Toast from '@/shared/services/toast';\r\nimport Check from 'vue-material-design-icons/Check.vue';\r\nimport Close from 'vue-material-design-icons/Close.vue';\r\nimport EditIcon from 'vue-material-design-icons/SquareEditOutline.vue';\r\nimport ReloadIcon from 'vue-material-design-icons/Reload.vue';\r\nimport EditIntentModal from '@/features/bots/components/designer/EditIntentModal.vue';\r\nimport AddIntentModal from '@/features/bots/components/designer/AddIntentModal.vue';\r\nimport {nlpApi} from '@/features/bots/services/nlp';\r\nimport {PredictionViewModel} from '@/features/bots/models/intents/predictionViewModel';\r\nimport DropDownMenu from '@/shared/components/dropDownMenu/DropDownMenu.vue';\r\nimport {IntentScoreViewModel} from '@/features/bots/models/intents/intentScoreViewModel';\r\nimport AddIcon from 'vue-material-design-icons/Plus.vue';\r\nimport {IntentViewModel} from '@/features/bots/models/intents/intentViewModel';\r\n@Component({\r\n\tcomponents: {\r\n\t\tDropDownMenu,\r\n\t\tLoadingSpinner,\r\n\t\tPagingControl,\r\n\t\tCheck,\r\n\t\tClose,\r\n\t\tEditIcon,\r\n\t\tAddIcon,\r\n\t\tReloadIcon,\r\n\t\tEditIntentModal,\r\n\t\tAddIntentModal\r\n\t}\r\n})\r\nexport default class ActiveLearning extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\r\n\tpublic predictions: PredictionViewModel[] = [];\r\n\tpublic addingUtterance = '';\r\n\tpublic deletingPredictionId = '';\r\n\tpublic loading: boolean = true;\r\n\tpublic total = 0;\r\n\tpublic rowsPerPage = 25;\r\n\tpublic startIndex = 0;\r\n\r\n\tpublic intentToEditId = '';\r\n\r\n\tpublic async mounted() {\r\n\t\tawait this.loadPredictionHistory();\r\n\t}\r\n\r\n\tpublic getFormattedIntentScore(intentScore: IntentScoreViewModel) {\r\n\t\treturn intentScore.score === 0 ? `${intentScore.title} (N/A)` : `${intentScore.title} (${intentScore.score})`;\r\n\t}\r\n\r\n\tpublic onPageChanged(page: Page) {\r\n\t\tthis.startIndex = page.start;\r\n\t\tthis.loadPredictionHistory();\r\n\t}\r\n\r\n\tpublic editIntent(id: string) {\r\n\t\tif (this.isActionInProgress()) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.intentToEditId = id;\r\n\t\tthis.$nextTick(() => {\r\n\t\t\tconst modal: any = this.$refs.editIntentModal;\r\n\t\t\tif (modal) {\r\n\t\t\t\tmodal.showModal();\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tpublic async addToIntent(utterance: string, intentId: string) {\r\n\t\tif (this.isActionInProgress()) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\ttry {\r\n\t\t\tthis.addingUtterance = utterance;\r\n\t\t\tawait nlpApi.addUtteranceToIntent(this.currentWorkspace.id, intentId, utterance);\r\n\t\t\tthis.total--;\r\n\t\t\tthis.predictions = this.predictions.filter(p => p.utterance !== utterance);\r\n\t\t\tToast.showSuccess(`Added message to intent`);\r\n\t\t} catch (ex) {\r\n\t\t\tToast.showError(`Failed to add message to intent: ${ex.message}`);\r\n\t\t} finally {\r\n\t\t\tthis.addingUtterance = '';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic isActionInProgress() {\r\n\t\treturn this.addingUtterance !== '' || this.deletingPredictionId !== '';\r\n\t}\r\n\r\n\tpublic isUtteranceBeingAdded(utterance: string) {\r\n\t\treturn this.addingUtterance === utterance;\r\n\t}\r\n\r\n\tpublic isPredictionBeingDeleted(utterance: string) {\r\n\t\treturn this.deletingPredictionId === utterance;\r\n\t}\r\n\r\n\tpublic async reloadPredictions() {\r\n\t\tawait this.loadPredictions();\r\n\t\tToast.showSuccess(`Latest predictions loaded`);\r\n\t}\r\n\r\n\tpublic reloadPageMessage() {\r\n\t\treturn 'Refresh page';\r\n\t}\r\n\r\n\tpublic async deletePrediction(predictionId: string) {\r\n\t\tif (this.isActionInProgress()) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\ttry {\r\n\t\t\tthis.deletingPredictionId = predictionId;\r\n\t\t\tawait nlpApi.deletePrediction(this.currentWorkspace.id, predictionId);\r\n\t\t\tthis.total--;\r\n\t\t\tthis.predictions = this.predictions.filter(p => p.id !== predictionId);\r\n\t\t\tToast.showSuccess('Successfully removed message');\r\n\t\t} catch (err) {\r\n\t\t\tToast.showError(`Failed to remove message: ${err.message}`);\r\n\t\t} finally {\r\n\t\t\tthis.deletingPredictionId = '';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic addNewIntent(utterance: string) {\r\n\t\tconst modal: any = this.$refs.addIntentModal;\r\n\t\tif (modal) {\r\n\t\t\tmodal.addNewIntent(utterance);\r\n\t\t}\r\n\r\n\t\tthis.$emit('modal-opened');\r\n\t}\r\n\r\n\tpublic addedIntent(intent: IntentViewModel) {\r\n\t\tconst utterances = intent.utterances.map(u => u.text.toLowerCase());\r\n\t\tconst noPredictionsBefore = this.predictions.length;\r\n\t\tthis.predictions = this.predictions.filter(p => !utterances.includes(p.utterance.toLowerCase()));\r\n\t\tthis.total -= noPredictionsBefore - this.predictions.length;\r\n\t}\r\n\r\n\r\n\tprivate async loadPredictionHistory() {\r\n\t\tthis.loading = true;\r\n\t\tawait this.loadPredictions();\r\n\t\tthis.loading = false;\r\n\t}\r\n\r\n\tprivate async loadPredictions() {\r\n\t\tconst pagedResults = await nlpApi.getPredictions(this.currentWorkspace.id, this.rowsPerPage, this.startIndex);\r\n\t\tthis.total = pagedResults.total;\r\n\t\tthis.predictions = pagedResults.page;\r\n\t\tthis.predictions.forEach(prediction => {\r\n\t\t\tprediction.selectedIntent = prediction.intentScores[0];\r\n\t\t});\r\n\t}\r\n}\r\n\r\n","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextEditor.vue?vue&type=style&index=0&id=39c04088&prod&scoped=true&lang=scss\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChartLabels.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChartLabels.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component({})\r\nexport default class WebAssistantLauncher extends Vue {\r\n\t@Prop() public isOpen: boolean;\r\n\r\n\t@Prop() public backgroundColour: string;\r\n\r\n\t@Prop() public iconColour: string;\r\n\r\n\tpublic buttonClick() {\r\n\t\tthis.$emit('buttonClick');\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./GoogleBmLocations.vue?vue&type=template&id=68ddca02&scoped=true\"\nimport script from \"./GoogleBmLocations.vue?vue&type=script&lang=ts\"\nexport * from \"./GoogleBmLocations.vue?vue&type=script&lang=ts\"\nimport style0 from \"./GoogleBmLocations.vue?vue&type=style&index=0&id=68ddca02&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"68ddca02\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactConversation.vue?vue&type=style&index=0&id=97b506dc&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConditionGroupBuilder.vue?vue&type=style&index=0&id=5c381ff7&prod&scoped=true&lang=scss\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { Action, Getter } from 'vuex-class';\r\nimport { workspacesApi } from '@/workspaces/workspaces';\r\nimport Toast from '@/shared/services/toast';\r\nimport ReadonlyCopyableField from '@/shared/components/ReadonlyCopyableField.vue';\r\nimport { required, minValue, maxValue } from 'vuelidate/lib/validators';\r\nimport { validationMixin } from 'vuelidate';\r\nimport TitledSection from '@/shared/components/TitledSection.vue';\r\nimport { messagingWorkspacesApi } from '@/messaging/messaging';\r\nimport { AddOrReplaceMessagingWorkspaceRequest } from '@/messaging/models/addOrReplaceMessagingWorkspaceRequest';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport { HANDLE_SERIOUS_ERROR } from '@/store/app/actionTypes';\r\nimport { UsageLimitType } from '@/features/settings/models/usageLimitType';\r\nimport { UpdateWorkspaceViewModel } from '@/workspaces/models/request/updateWorkspaceViewModel';\r\nimport { MAX_INTEGER } from '@/shared/constants';\r\nimport { PROACTIVE_FLOWS_ENABLED } from '@/store/app/featureTypes';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tReadonlyCopyableField,\r\n\t\tTitledSection,\r\n\t\tLoadingSpinner\r\n\t},\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tworkspaceName: { required },\r\n\t\tmessageRetentionInDays: { required, minValue: minValue(1), maxValue: maxValue(365) },\r\n\t\tappUserRetentionInDays: { required, minValue: minValue(1), maxValue: maxValue(365) },\r\n\t\tmaxProactiveTriggers: { required, minValue: minValue(0), maxValue: maxValue(MAX_INTEGER) }\r\n\t}\r\n})\r\nexport default class GeneralSettings extends Vue {\r\n\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Getter public workspaceUsageLimit!: (usageLimitType: string) => number;\r\n\t@Getter public isWorkspaceFeatureEnabled!: (key: string) => boolean;\r\n\t@Action(HANDLE_SERIOUS_ERROR) public handleSeriousError: any;\r\n\r\n\tpublic workspaceName: string = '';\r\n\tpublic messageRetentionInDays: number = 90;\r\n\tpublic appUserRetentionInDays: number = 365;\r\n\tpublic maxProactiveTriggers: number = 0;\r\n\r\n\tpublic updateInProgress: boolean = false;\r\n\tpublic isLoading: boolean = true;\r\n\tpublic showUsageLimits: boolean = false;\r\n\r\n\tpublic async mounted() {\r\n\t\ttry {\r\n\t\t\tif (this.isWorkspaceFeatureEnabled(PROACTIVE_FLOWS_ENABLED)) {\r\n\t\t\t\tthis.showUsageLimits = true;\r\n\t\t\t}\r\n\t\t\tthis.workspaceName = this.currentWorkspace.name;\r\n\t\t\tconst workspaceFromMessaging = await messagingWorkspacesApi.getWorkspace(this.currentWorkspace.id);\r\n\t\t\tthis.messageRetentionInDays = workspaceFromMessaging.messageRetentionInDays;\r\n\t\t\tthis.appUserRetentionInDays = workspaceFromMessaging.appUserRetentionInDays;\r\n\t\t\tthis.maxProactiveTriggers = this.workspaceUsageLimit(UsageLimitType.ProactiveTriggers);\r\n\t\t} catch (error) {\r\n\t\t\tif (error.status !== 404) {\r\n\t\t\t\tthis.handleSeriousError(error.message);\r\n\t\t\t} else {\r\n\t\t\t\tthis.messageRetentionInDays = 90;\r\n\t\t\t\tthis.appUserRetentionInDays = 365;\r\n\t\t\t}\r\n\t\t} finally {\r\n\t\t\tthis.isLoading = false;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async updateWorkspace() {\r\n\t\tif (!this.updateInProgress) {\r\n\t\t\ttry {\r\n\t\t\t\tthis.updateInProgress = true;\r\n\t\t\t\tconst request = this.createUpdateRequest();\r\n\t\t\t\tawait workspacesApi.update(this.currentWorkspace.id, request);\r\n\t\t\t\tthis.currentWorkspace.name = request.name;\r\n\t\t\t\tthis.currentWorkspace.usageLimits = request.usageLimits;\r\n\r\n\t\t\t\tawait messagingWorkspacesApi.addOrReplace(this.createAddOrReplaceMessagingWorkspaceRequest());\r\n\r\n\t\t\t\tToast.showSuccess(`Successfully updated workspace ${this.currentWorkspace.name}`);\r\n\t\t\t} catch (err) {\r\n\t\t\t\tToast.showError(err.message);\r\n\t\t\t} finally {\r\n\t\t\t\tthis.updateInProgress = false;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getErrorMessage($v: any, prop: string, label: string) {\r\n\t\tif ($v[prop].$invalid) {\r\n\t\t\tif (!$v[prop].required) {\r\n\t\t\t\treturn `${label} is required`;\r\n\t\t\t}\r\n\t\t\tif (!$v[prop].minValue) {\r\n\t\t\t\treturn `${label} must not be less than ${$v[prop].$params.minValue.min}`;\r\n\t\t\t}\r\n\t\t\tif (!$v[prop].maxValue) {\r\n\t\t\t\treturn `${label} must not be greater than ${$v[prop].$params.maxValue.max}`;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}\r\n\r\n\tprivate createAddOrReplaceMessagingWorkspaceRequest(): AddOrReplaceMessagingWorkspaceRequest {\r\n\t\treturn {\r\n\t\t\tid: this.currentWorkspace.id,\r\n\t\t\tname: this.currentWorkspace.name,\r\n\t\t\tmessageRetentionInDays: this.messageRetentionInDays,\r\n\t\t\tappUserRetentionInDays: this.appUserRetentionInDays\r\n\t\t};\r\n\t}\r\n\r\n\tprivate createUpdateRequest() {\r\n\t\tif (this.showUsageLimits) {\r\n\t\t\treturn {\r\n\t\t\t\tname: this.workspaceName,\r\n\t\t\t\tusageLimits: { [UsageLimitType.ProactiveTriggers]: this.maxProactiveTriggers }\r\n\t\t\t} as UpdateWorkspaceViewModel;\r\n\t\t} else {\r\n\t\t\treturn {\r\n\t\t\t\tname: this.workspaceName\r\n\t\t\t} as UpdateWorkspaceViewModel;\r\n\t\t}\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./MessageIcon.vue?vue&type=template&id=309a9c5c&functional=true\"\nimport script from \"./MessageIcon.vue?vue&type=script&lang=ts\"\nexport * from \"./MessageIcon.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n true,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[(_vm.isAuthenticated())?_c('nav',{staticClass:\"navbar menu\"},[_vm._m(0),_c('ul',{staticClass:\"nav-item-container menu-list\"},[_c('li',{class:{'is-active': _vm.activeRoute.startsWith('web-assistant') || _vm.activeRoute.startsWith('root')}},[_c('router-link',{attrs:{\"to\":\"/web-assistant\"}},[_c('font-awesome-icon',{attrs:{\"icon\":\"comment-alt\"}})],1)],1),_c('li',{class:{'is-active': _vm.activeRoute.startsWith('bots')}},[_c('router-link',{attrs:{\"to\":_vm.botsLandingPage}},[_c('font-awesome-icon',{attrs:{\"icon\":\"robot\"}})],1)],1),_c('li',{class:{'is-active': _vm.activeRoute.startsWith('contacts')}},[_c('router-link',{attrs:{\"to\":\"/contacts\"}},[_c('font-awesome-icon',{attrs:{\"icon\":\"user-friends\"}})],1)],1),_c('li',{class:{'is-active': _vm.activeRoute.startsWith('reports')}},[_c('router-link',{attrs:{\"to\":\"/reports/overview\"}},[_c('font-awesome-icon',{attrs:{\"icon\":\"chart-area\"}})],1)],1),_c('li',{class:{'is-active': _vm.activeRoute.startsWith('apps')}},[_c('router-link',{attrs:{\"to\":\"/apps\"}},[_c('font-awesome-icon',{attrs:{\"icon\":\"cubes\"}})],1)],1),_c('li',{class:{'is-active': _vm.activeRoute.startsWith('private-apps')}},[_c('router-link',{attrs:{\"to\":\"/your-apps\"}},[_c('font-awesome-icon',{attrs:{\"icon\":\"code\"}})],1)],1)]),_c('ul',{staticClass:\"user-account-container menu-list\"},[_c('li',{staticClass:\"navbar-item has-dropdown is-hoverable\"},[_c('a',{staticClass:\"navbar-link is-arrowless\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"cog\"}})],1),_c('div',{staticClass:\"navbar-dropdown is-boxed\"},[_vm._l((_vm.workspaces),function(workspace){return _c('a',{key:workspace.id,staticClass:\"navbar-item\",on:{\"click\":function($event){return _vm.selectWorkspace(workspace)}}},[_c('span',[_vm._v(_vm._s(workspace.name))]),(workspace.id === _vm.currentWorkspace.id)?_c('span',{staticClass:\"icon is-small\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"check\"}})],1):_vm._e()])}),_c('a',{staticClass:\"navbar-item\",on:{\"click\":function($event){return _vm.goToSettings()}}},[_c('span',[_vm._v(\"Manage Settings\")])]),_c('hr',{staticClass:\"navbar-divider\"}),_c('a',{staticClass:\"navbar-item\",on:{\"click\":function($event){return _vm.logout()}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tLogout\\n\\t\\t\\t\\t\\t\")])],2)])])]):_vm._e(),(_vm.isAuthenticated() || _vm.isPageThatAllowsUnauthenticatedAccess())?_c('section',{staticClass:\"content-wrapper\",class:{'without-navbar': !_vm.isAuthenticated()}},[_c('router-view',{key:_vm.currentWorkspace.id})],1):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"logo-container\"},[_c('div',{staticClass:\"navbar__logo\"})])}]\n\nexport { render, staticRenderFns }","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTableIcon.vue?vue&type=style&index=0&id=4759b96a&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"field\"},[(_vm.showType)?_c('div',{staticClass:\"field is-horizontal\"},[_c('div',{staticClass:\"field-label\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"\\n\\t\\t\\t\\tType\\n\\t\\t\\t\\t\"),_c('span',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.top\",value:('The type of characters that will be accepted as valid input'),expression:\"'The type of characters that will be accepted as valid input'\",modifiers:{\"top\":true}}]},[_c('HelpIcon')],1)])]),_c('div',{staticClass:\"field-body\"},[_c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"select is-fullwidth\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedType),expression:\"selectedType\"}],on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedType=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},_vm.patternChanged]}},_vm._l((_vm.availablePatternTypes),function(patternValue,patternLabel){return _c('option',{key:patternLabel,domProps:{\"value\":patternLabel}},[_vm._v(_vm._s(patternLabel))])}),0)])])])]):_vm._e(),_c('div',{staticClass:\"field is-horizontal\"},[_c('div',{staticClass:\"field-label\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"\\n\\t\\t\\t\\tMin / Max Length\\n\\t\\t\\t\\t\"),_c('span',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.top\",value:('Minimum and Maximum allowed character limits. If left blank, there is no limit'),expression:\"'Minimum and Maximum allowed character limits. If left blank, there is no limit'\",modifiers:{\"top\":true}}]},[_c('HelpIcon')],1)])]),_c('div',{staticClass:\"field-body\"},[_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.$v.minLength.$model),expression:\"$v.minLength.$model\",modifiers:{\"trim\":true}}],staticClass:\"input\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.$v.minLength.$model)},on:{\"change\":_vm.patternChanged,\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.$v.minLength, \"$model\", $event.target.value.trim())},\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.minLength.$error && !_vm.$v.minLength.numeric)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tMin length must be a number\\n\\t\\t\\t\\t\\t\")]):_vm._e()])]),_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.$v.maxLength.$model),expression:\"$v.maxLength.$model\",modifiers:{\"trim\":true}}],staticClass:\"input\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.$v.maxLength.$model)},on:{\"change\":_vm.patternChanged,\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.$v.maxLength, \"$model\", $event.target.value.trim())},\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.maxLength.$error && !_vm.$v.maxLength.numeric)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tMax length must be a number\\n\\t\\t\\t\\t\\t\")]):_vm._e(),(_vm.$v.maxLength.$error && !_vm.$v.maxLength.greaterThan)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tMax length must be greater than the Min length\\n\\t\\t\\t\\t\\t\")]):_vm._e()])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Vue, Component, Prop, Watch } from 'vue-property-decorator';\r\nimport Draggable from 'vuedraggable';\r\nimport DragIcon from '@/shared/components/DragIcon.vue';\r\nimport { FlowSelectorItemViewModel } from '../../models/flowSelectorItemViewModel';\r\nimport appInsights from '@/shared/services/appInsights';\r\nimport { Getter } from 'vuex-class';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport TitledSection from '@/shared/components/TitledSection.vue';\r\nimport Icon from '@/shared/icons/Icon.vue';\r\n\r\n@Component({ components: { TitledSection, Draggable, DragIcon, Icon } })\r\nexport default class FlowSelector extends Vue {\r\n\t@Prop({required: true}) public value!: FlowSelectorItemViewModel[];\r\n\t@Prop({required: true}) public title!: string;\r\n\t@Prop({required: true}) public subtitle!: string;\r\n\t@Prop({required: true}) public icon!: 'FlowIcon' | 'AnswerIcon';\r\n\t@Prop({default: ''}) public tooltip!: string;\r\n\t@Prop({default: true}) public reorderable!: boolean;\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\r\n\tpublic flows: FlowSelectorItemViewModel[] = [];\r\n\r\n\t@Watch('value', { immediate: true })\r\n\tpublic handleValueChange(value: FlowSelectorItemViewModel[]) {\r\n\t\tthis.flows = value;\r\n\t}\r\n\r\n\tpublic handleFlowSelectedChange() {\r\n\t\tappInsights.trackEvent({ name: 'Bot Preview: Flow selected changed' }, { workspaceId: this.currentWorkspace.id});\r\n\t\tthis.setPriorities();\r\n\t\tthis.$emit('input', this.flows);\r\n\t}\r\n\r\n\tpublic updatePriorities() {\r\n\t\tappInsights.trackEvent({ name: 'Bot Preview: Flow priorities changed' }, { workspaceId: this.currentWorkspace.id});\r\n\t\tthis.setPriorities();\r\n\t\tthis.$emit('input', this.flows);\r\n\t}\r\n\r\n\tpublic setPriorities() {\r\n\t\tlet selectedFlowCount = this.flows.filter(x => x.isSelected).length;\r\n\t\tthis.flows.forEach(flow => {\r\n\t\t\tflow.priority = flow.isSelected ? selectedFlowCount-- : 0;\r\n\t\t});\r\n\t}\r\n}\r\n","import { ActionTree } from 'vuex';\r\nimport { AppState } from '.';\r\nimport {\r\n\tCHANGE_WORKSPACE,\r\n\tGET_INSTALLED_APPS,\r\n\tHANDLE_SERIOUS_ERROR,\r\n\tLOAD_WORKSPACES,\r\n\tSET_CURRENT_APP\r\n} from './actionTypes';\r\nimport {\r\n\tADD_INSTALLED_APP,\r\n\tCLEAR_INSTALLED_APPS,\r\n\tSET_CURRENT_WORKSPACE,\r\n\tSET_ERROR,\r\n\tSET_WORKSPACES\r\n} from './mutationTypes';\r\nimport { workspacesApi } from '@/workspaces/workspaces';\r\nimport CurrentWorkspaceHelper from '@/workspaces/CurrentWorkspaceHelper';\r\nimport { PublishedApp } from '@/features/apps/shared/models';\r\nimport router, { updatePageTitle } from '@/router';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { LOAD_CONTACT_ATTRIBUTES } from '@/store/attributes/actionTypes';\r\nimport { CLEAR_HOLIDAYS_CACHE } from '@/store/holidays/mutationTypes';\r\nimport appInsights from '@/shared/services/appInsights';\r\nimport { GET_CHANNEL_IDENTITIES } from '../channel-identities/actionTypes';\r\nimport { appsApi } from '@/features/apps/shared/services/apps';\r\nimport { CLEAR_FLOWS_CACHE } from '../bot-designer/mutationTypes';\r\nimport { CLEAR_INTENTS_CACHE } from '../intents/mutationTypes';\r\nimport { CLEAR_ANSWERS_CACHE } from '../answers/mutationTypes';\r\n\r\nexport const actions: ActionTree = {\r\n\tasync [LOAD_WORKSPACES]({commit, dispatch}) {\r\n\t\ttry {\r\n\t\t\tconst data: WorkspaceViewModel[] = await workspacesApi.loadAll();\r\n\r\n\t\t\tcommit(SET_WORKSPACES, data);\r\n\t\t\tif (data.length === 0) {\r\n\t\t\t\tdispatch(HANDLE_SERIOUS_ERROR, 'No workspaces found');\r\n\t\t\t}\r\n\t\t\tCurrentWorkspaceHelper.selectCurrentWorkspace(data, commit);\r\n\t\t} catch (err) {\r\n\t\t\tdispatch(HANDLE_SERIOUS_ERROR, err.message);\r\n\t\t}\r\n\t},\r\n\t[CHANGE_WORKSPACE]({commit, dispatch}, workspace: WorkspaceViewModel) {\r\n\t\tCurrentWorkspaceHelper.storeCurrentWorkspace(workspace.id);\r\n\t\tif (router.currentRoute.path.includes('/your-apps')) {\r\n\t\t\trouter.push({name: 'private-apps-list'});\r\n\t\t}\r\n\t\tcommit(SET_CURRENT_WORKSPACE, workspace);\r\n\t\tdispatch(LOAD_CONTACT_ATTRIBUTES);\r\n\t\tdispatch(GET_CHANNEL_IDENTITIES, true);\r\n\t\tcommit(CLEAR_HOLIDAYS_CACHE);\r\n\t\tcommit(CLEAR_INSTALLED_APPS);\r\n\t\tcommit(CLEAR_FLOWS_CACHE);\r\n\t\tcommit(CLEAR_ANSWERS_CACHE);\r\n\t\tcommit(CLEAR_INTENTS_CACHE);\r\n\r\n\t\tupdatePageTitle();\r\n\t\tappInsights.trackPageView();\r\n\t},\r\n\t[SET_CURRENT_APP]({commit}, app: PublishedApp) {\r\n\t\tcommit(SET_CURRENT_APP, app);\r\n\t},\r\n\t[HANDLE_SERIOUS_ERROR]({commit}, error: string) {\r\n\t\tcommit(SET_ERROR, error);\r\n\t\trouter.push({name: 'error'});\r\n\t},\r\n\tasync [GET_INSTALLED_APPS]({ commit, getters }): Promise {\r\n\t\tconst apps = await appsApi.getInstalledApps(getters.currentWorkspace.id);\r\n\r\n\t\tapps.forEach((app) => {\r\n\t\t\tcommit(ADD_INSTALLED_APP, app.appId);\r\n\t\t});\r\n\t}\r\n};\r\n","import { render, staticRenderFns } from \"./IntentCondition.vue?vue&type=template&id=44a2574c&scoped=true\"\nimport script from \"./IntentCondition.vue?vue&type=script&lang=ts\"\nexport * from \"./IntentCondition.vue?vue&type=script&lang=ts\"\nimport style0 from \"./IntentCondition.vue?vue&type=style&index=0&id=44a2574c&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"44a2574c\",\n null\n \n)\n\nexport default component.exports","var render, staticRenderFns\nimport script from \"./DoughnutChartBaseWrapper.vue?vue&type=script&lang=ts\"\nexport * from \"./DoughnutChartBaseWrapper.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DoughnutChartBaseWrapper.vue?vue&type=style&index=0&id=7809ba4b&prod&lang=scss&scoped=true\"\nimport style1 from \"./DoughnutChartBaseWrapper.vue?vue&type=style&index=1&id=7809ba4b&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7809ba4b\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VariableBadge.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VariableBadge.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BarChart.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BarChart.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MultiContactTypePicker.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MultiContactTypePicker.vue?vue&type=script&lang=ts\"","import {ActionTree} from 'vuex';\r\nimport {FlowDesignerState} from '../.';\r\nimport { AppState } from '../../app';\r\nimport { REMOVE_PATH, SET_CURRENT_PATH } from './mutationTypes';\r\nimport { DELETE_PATH } from './actionTypes';\r\nimport { REMOVE_TRANSITION } from '@/store/bot-designer/states/mutationTypes';\r\nimport { StateViewModel, PathViewModel } from '@/features/bots/models/designer';\r\nimport { pathContainsFlowVariable, removeFlowVariableFromState, checkStateForInvalidDecisions, getFlowVariablesForPath } from '@/features/bots/services/flowVariableUtils';\r\n\r\nexport const actions: ActionTree = {\r\n\t[DELETE_PATH]({ commit, state, getters }, pathId: string) {\r\n\t\tconst pathToDelete = state.currentFlow.paths.find(path => {\r\n\t\t\treturn path.id === pathId;\r\n\t\t});\r\n\t\tcommit(REMOVE_PATH, pathId);\r\n\t\tconst linkedPaths = getters.linkedPaths;\r\n\t\tfor (const linkedPath of linkedPaths) {\r\n\t\t\tfor (const currentState of linkedPath.states) {\r\n\t\t\t\tcommit(REMOVE_TRANSITION, { state: currentState, pathId });\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tdeleteUnusedFlowVariables(state, pathToDelete!, state.currentFlow.paths);\r\n\r\n\t\tif (state.currentPathId === pathId) {\r\n\t\t\t// switch to the first path in the list\r\n\t\t\tif (state.currentFlow.paths.length > 0) {\r\n\t\t\t\tcommit(SET_CURRENT_PATH, state.currentFlow.paths[0].id);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t},\r\n};\r\n\r\nfunction deleteUnusedFlowVariables(state: FlowDesignerState, pathToRemove: PathViewModel, paths: PathViewModel[]) {\r\n\tconst storedFlowVariables = getFlowVariablesForPath(pathToRemove);\r\n\r\n\tif (storedFlowVariables.length === 0) {\r\n\t\treturn;\r\n\t}\r\n\r\n\tstoredFlowVariables.forEach((flowVariable) => {\r\n\t\tconst variableUsedElsewhere = state.currentFlow.paths.some(path => pathContainsFlowVariable(path, flowVariable));\r\n\t\tif (!variableUsedElsewhere) {\r\n\t\t\tremoveFlowVariableFromState(state, flowVariable);\r\n\t\t\tpaths.forEach((p: PathViewModel) => {\r\n\t\t\t\tp.states.forEach((pathState: StateViewModel) => {\r\n\t\t\t\t\tcheckStateForInvalidDecisions(flowVariable, pathState);\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t}\r\n\t});\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue, Watch} from 'vue-property-decorator';\r\nimport {InputVariableViewModel, StateViewModel} from '@/features/bots/models/designer';\r\nimport VariablePicker from './VariablePicker/VariablePicker.vue';\r\nimport IslandBadge from './IslandBadge.vue';\r\nimport {mixin as clickaway} from 'vue-clickaway';\r\nimport AdditionalInformationWrapper from './AdditionalInformationWrapper.vue';\r\nimport InputValidationConfig from './InputValidationConfig.vue';\r\nimport {validationMixin} from 'vuelidate';\r\nimport {required} from 'vuelidate/lib/validators';\r\nimport ChevronRight from 'vue-material-design-icons/ChevronDoubleRight.vue';\r\nimport ChevronLeft from 'vue-material-design-icons/ChevronDoubleLeft.vue';\r\nimport ErrorIcon from 'vue-material-design-icons/AlertCircleOutline.vue';\r\nimport TextEditor from '@/features/bots/components/designer/TextEditor/TextEditor.vue';\r\nimport {TransitionType} from '@/features/bots/models/designer/transitionType';\r\nimport {Getter} from 'vuex-class';\r\nimport { RegexType } from '../../models/designer/regexType';\r\n@Component({\r\n\tmixins: [\r\n\t\tclickaway,\r\n\t\tvalidationMixin\r\n\t],\r\n\tcomponents: {\r\n\t\tTextEditor,\r\n\t\tVariablePicker,\r\n\t\tIslandBadge,\r\n\t\tAdditionalInformationWrapper,\r\n\t\tInputValidationConfig,\r\n\t\tChevronRight,\r\n\t\tChevronLeft,\r\n\t\tErrorIcon\r\n\t},\r\n\tvalidations: {\r\n\t\tstate: {\r\n\t\t\ttext: {\r\n\t\t\t\trequired,\r\n\t\t\t\tattributeInvalid(value) {\r\n\t\t\t\t\tconst inputStringComponent = (this as any);\r\n\t\t\t\t\tconst invalidAttribute: boolean = inputStringComponent.invalidAttribute;\r\n\t\t\t\t\treturn !invalidAttribute;\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t},\r\n\t\tselectedVariable: {\r\n\t\t\trequired,\r\n\t\t\tattributeMissing(value) {\r\n\t\t\t\tconst inputStringComponent = (this as any); // Causes build error (fine in IDE) if we call this.? directly, work around\r\n\t\t\t\tconst storedVar: InputVariableViewModel = inputStringComponent.state.storedVariable;\r\n\t\t\t\treturn !storedVar || storedVar.scope !== 'appUser.customAttributes' || inputStringComponent.doesAttributeExist(storedVar.key);\r\n\t\t\t},\r\n\t\t\tattributeArchived(value) {\r\n\t\t\t\tconst inputStringComponent = (this as any);\r\n\t\t\t\treturn !inputStringComponent.isArchived();\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n})\r\nexport default class InputStringComponent extends Vue {\r\n\t@Prop() public value: StateViewModel;\r\n\t@Getter public doesAttributeExist: (attributeId: string) => boolean;\r\n\t@Getter public isAttributeArchived!: (attributeId: string) => boolean;\r\n\r\n\tpublic $refs: {\r\n\t\ttextEditor: TextEditor\r\n\t};\r\n\r\n\tpublic showConfig: boolean = false;\r\n\tpublic hasClicked: boolean = false;\r\n\tpublic transition: string = 'display';\r\n\tpublic invalidAttribute: boolean = false;\r\n\tpublic state: StateViewModel = {\r\n\t\tid: '',\r\n\t\tcomponent: 'InputString'\r\n\t};\r\n\r\n\tpublic visibleFields: string[] = [];\r\n\r\n\tpublic selectedVariable = '';\r\n\tprivate additionalConfigInvalid = false;\r\n\r\n\t@Watch('value', { immediate: true })\r\n\tpublic onValueChanged(value: StateViewModel, previous: StateViewModel) {\r\n\t\tthis.state = value;\r\n\t\tif (this.state.storedVariable) {\r\n\t\t\tthis.selectedVariable = this.state.storedVariable.id;\r\n\t\t}\r\n\t\tthis.updateValidation();\r\n\t}\r\n\r\n\tpublic mounted() {\r\n\t\tthis.initialiseVisibleFields();\r\n\t}\r\n\r\n\tpublic setClickedState() {\r\n\t\tthis.hasClicked = true;\r\n\t}\r\n\r\n\tpublic setUnclickedState() {\r\n\t\tthis.hasClicked = false;\r\n\t\tthis.showConfig = false;\r\n\t\tthis.transition = 'display';\r\n\r\n\t\tthis.$v.$touch();\r\n\t}\r\n\r\n\tpublic showExpandedConfig() {\r\n\t\tthis.hasClicked = true;\r\n\t\tthis.showConfig = true;\r\n\t\tthis.transition = 'none';\r\n\t}\r\n\r\n\tpublic hideExpandedConfig() {\r\n\t\tthis.showConfig = false;\r\n\t}\r\n\r\n\tpublic textUpdated(text: string) {\r\n\t\tif (this.state.text === text) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.state.text = text;\r\n\r\n\t\tthis.updateValidation();\r\n\t\tif (this.$v.state && this.$v.state.text) {\r\n\t\t\tthis.$v.state.text.$touch();\r\n\t\t}\r\n\r\n\t\tthis.$emit('state-updated', this.state);\r\n\t}\r\n\r\n\tpublic initialiseVisibleFields() {\r\n\t\tif (this.isAppUserName()) {\r\n\t\t\tthis.visibleFields = [];\r\n\t\t} else if (this.isAppUserEmail()) {\r\n\t\t\tthis.visibleFields = ['errorMessage', 'allowedAttempts', 'noMatch'];\r\n\t\t} else if (this.isAppUserPhoneNumber()) {\r\n\t\t\tthis.visibleFields = ['errorMessage', 'allowedAttempts', 'noMatch'];\r\n\t\t} else {\r\n\t\t\tthis.visibleFields = ['errorMessage', 'pattern', 'allowedAttempts', 'noMatch'];\r\n\t\t}\r\n\t}\r\n\r\n\tpublic variableSelected(variable: InputVariableViewModel) {\r\n\t\tthis.selectedVariable = variable.id;\r\n\t\tthis.state.storedVariable = variable;\r\n\r\n\t\tif (this.isAppUserName()) {\r\n\t\t\tthis.state.pattern = '';\r\n\t\t\tthis.state.allowedAttempts = -1;\r\n\t\t\tthis.state.errorMessage = '';\r\n\t\t\tthis.state.noMatch = {type: TransitionType.Path, payload: ''};\r\n\t\t\tthis.additionalConfigInvalid = false;\r\n\t\t} else if (this.isAppUserEmail()) {\r\n\t\t\tthis.state.pattern = RegexType.EMAIL;\r\n\t\t\tthis.state.allowedAttempts = -1;\r\n\t\t\tthis.state.errorMessage = this.state.errorMessage && this.state.errorMessage.length ? this.state.errorMessage : 'That\\'s not a valid email address, please try again.';\r\n\t\t\tthis.state.noMatch = {type: TransitionType.Path, payload: ''};\r\n\t\t\tthis.additionalConfigInvalid = false;\r\n\t\t} else if (this.isAppUserPhoneNumber()) {\r\n\t\t\tthis.state.pattern = RegexType.PHONE_NUMBER;\r\n\t\t\tthis.state.allowedAttempts = -1;\r\n\t\t\tthis.state.errorMessage = this.state.errorMessage && this.state.errorMessage.length ? this.state.errorMessage : 'That\\'s not a valid phone number, please try again.';\r\n\t\t\tthis.state.noMatch = {type: TransitionType.Path, payload: ''};\r\n\t\t\tthis.additionalConfigInvalid = false;\r\n\t\t} else if (this.state.storedVariable.dataType === 'number') {\r\n\t\t\tthis.state.pattern = RegexType.NUMERIC;\r\n\t\t\tthis.state.allowedAttempts = -1;\r\n\t\t\tthis.state.errorMessage = this.state.errorMessage && this.state.errorMessage.length ? this.state.errorMessage : 'That\\'s not a valid number, please try again.';\r\n\t\t\tthis.state.noMatch = {type: TransitionType.Path, payload: ''};\r\n\t\t\tthis.additionalConfigInvalid = false;\r\n\t\t} else if (this.state.storedVariable.dataType === 'decimal') {\r\n\t\t\tthis.state.pattern = RegexType.DECIMAL;\r\n\t\t\tthis.state.allowedAttempts = -1;\r\n\t\t\tthis.state.errorMessage = this.state.errorMessage && this.state.errorMessage.length ? this.state.errorMessage : 'That\\'s not a valid decimal, please try again.';\r\n\t\t\tthis.state.noMatch = {type: TransitionType.Path, payload: ''};\r\n\t\t\tthis.additionalConfigInvalid = false;\r\n\t\t} else {\r\n\t\t\tthis.state.pattern = '';\r\n\t\t\tthis.state.allowedAttempts = -1;\r\n\t\t\tthis.state.errorMessage = this.state.errorMessage && this.state.errorMessage.length ? this.state.errorMessage : '';\r\n\t\t\tthis.state.noMatch = this.state.noMatch && this.state.noMatch.payload ? this.state.noMatch : {type: TransitionType.Path, payload: ''};\r\n\t\t}\r\n\r\n\t\tthis.initialiseVisibleFields();\r\n\t\tif (this.$v.state && this.$v.state.storedVariable) {\r\n\t\t\tthis.$v.state.storedVariable.$touch();\r\n\t\t}\r\n\t\tthis.updateValidation();\r\n\r\n\t\tthis.$emit('state-updated', this.state);\r\n\t}\r\n\r\n\tpublic additionalConfigChanged(update: any) {\r\n\t\tthis.state = update.state;\r\n\t\tthis.additionalConfigInvalid = update.invalid;\r\n\t\tthis.updateValidation();\r\n\t\tthis.$emit('state-updated', this.state);\r\n\t}\r\n\r\n\tpublic isArchived(): boolean {\r\n\t\tif (this.state && this.state.storedVariable) {\r\n\t\t\treturn this.isAttributeArchived(this.state.storedVariable!.key);\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n\r\n\tpublic setInvalidAttribute(val: boolean) {\r\n\t\tthis.invalidAttribute = val;\r\n\t\tthis.$v.$touch();\r\n\t\tthis.state.invalid = this.$v.$invalid;\r\n\t}\r\n\r\n\tpublic focusOnInput() {\r\n\t\tthis.$refs.textEditor.focusElement();\r\n\t\tthis.$refs.textEditor.startEditing();\r\n\t}\r\n\r\n\tprivate isAppUserName() {\r\n\t\treturn this.state.storedVariable && this.state.storedVariable.scope === 'appUser' && this.state.storedVariable.key === 'name';\r\n\t}\r\n\r\n\tprivate isAppUserEmail() {\r\n\t\treturn this.state.storedVariable && this.state.storedVariable.scope === 'appUser' && this.state.storedVariable.key === 'email';\r\n\t}\r\n\r\n\tprivate isAppUserPhoneNumber() {\r\n\t\treturn this.state.storedVariable && this.state.storedVariable.scope === 'appUser' && this.state.storedVariable.key === 'phoneNumber';\r\n\t}\r\n\r\n\tprivate updateValidation() {\r\n\t\tthis.state.invalid = this.additionalConfigInvalid || this.$v.$invalid;\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport {Getter} from 'vuex-class';\r\nimport {ReportLabels} from '@/features/reports/models';\r\n\r\n@Component\r\nexport default class ChartLabels extends Vue {\r\n\t@Prop() public reportId: string;\r\n\t@Getter public getReportLabels: (reportId: string) => ReportLabels;\r\n\r\n\tpublic get reportLabels(): ReportLabels {\r\n\t\treturn this.getReportLabels(this.reportId);\r\n\t}\r\n\r\n\tpublic get labels() {\r\n\t\tif (this.reportLabels) {\r\n\t\t\treturn this.reportLabels.reverse ? this.reportLabels.labels.slice().reverse() : this.reportLabels.labels;\r\n\t\t}\r\n\t\treturn [];\r\n\t}\r\n\r\n\tpublic get scaleTitle() {\r\n\t\treturn this.reportLabels ? this.reportLabels.scaleTitle : '-';\r\n\t}\r\n\r\n\tpublic get scaleValue() {\r\n\t\treturn this.reportLabels ? this.reportLabels.scaleValue : '-';\r\n\t}\r\n}\r\n","import {api} from '@/shared/services/baseApiClient';\r\nimport {config} from '@/config/config';\r\nimport urljoin from 'url-join';\r\nimport {\r\n\tAppInitViewModel,\r\n\tHomescreenAppInitViewModel,\r\n\tInstalledAppViewModel,\r\n\tInstallWebAssistantViewModel,\r\n\tUpdateWebAssistantViewModel,\r\n\tWebAssistantViewModel\r\n} from '../models';\r\nimport { AppConfigViewModel } from '@/features/apps/shared/models';\r\n\r\nclass WebAssistantApiService {\r\n\tprivate version = 'v1';\r\n\r\n\tpublic getInstalledApp(workspaceId: string): Promise {\r\n\t\treturn api.send('GET', urljoin(config().webAssistantHost, this.version, `app?workspaceId=${workspaceId}`));\r\n\t}\r\n\r\n\tpublic installWebAssistant(request: InstallWebAssistantViewModel): Promise {\r\n\t\treturn api.send('POST', urljoin(config().webAssistantHost, this.version, 'app', 'install'), request);\r\n\t}\r\n\r\n\tpublic updateWebAssistant(workspaceId: string, webAssistantConfig: WebAssistantViewModel) {\r\n\t\tconst request = webAssistantConfig as UpdateWebAssistantViewModel;\r\n\t\trequest.workspaceId = workspaceId;\r\n\t\treturn api.send('POST', urljoin(config().webAssistantHost, this.version, 'app', 'update'), request);\r\n\t}\r\n\r\n\tpublic async homescreenAppInit(workspaceId: string, installedAppId: string, configData: any = {}): Promise {\r\n\t\tconst request: AppInitViewModel = {appUserId: '', config: configData};\r\n\t\tconst host = config().webAssistantHost;\r\n\t\tconst url = urljoin(host, this.version, 'workspaces', workspaceId, 'apps', installedAppId, 'init');\r\n\t\tconst response: any = await api.send('POST', url, request);\r\n\t\tif (typeof response.panel === 'string') {\r\n\t\t\tresponse.panel = {\r\n\t\t\t\tcomponents: JSON.parse(response.panel),\r\n\t\t\t\tstoredData: {}\r\n\t\t\t};\r\n\t\t}\r\n\t\treturn response;\r\n\t}\r\n\r\n\tpublic async homescreenAppConfig(workspaceId: string, installedAppId: string, inputData: { [key: string]: string }, storedData: { [key: string]: string }, componentId?: string): Promise {\r\n\t\tconst request = {\r\n\t\t\tinputData,\r\n\t\t\tstoredData,\r\n\t\t\tcomponentId\r\n\t\t};\r\n\t\tconst host = config().webAssistantHost;\r\n\t\tconst url = urljoin(host, this.version, 'workspaces', workspaceId, 'apps', installedAppId, 'config');\r\n\t\tconst response: any = await api.send('POST', url, request);\r\n\t\tif (typeof response.panel === 'string') {\r\n\t\t\tresponse.panel = {\r\n\t\t\t\tcomponents: JSON.parse(response.panel),\r\n\t\t\t\tstoredData: {}\r\n\t\t\t};\r\n\t\t}\r\n\t\treturn response;\r\n\t}\r\n}\r\n\r\nexport const webAssistantApi = new WebAssistantApiService();\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GeneralSettings.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GeneralSettings.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"contact-conversations\",class:{'contact-conversations--has-one': _vm.conversations.length === 1}},[(_vm.loading)?_c('LoadingSpinner'):_vm._e(),(!_vm.loading && _vm.conversations.length > 0)?_c('div',{staticClass:\"contact-conversations__list\"},_vm._l((_vm.conversations),function(conversation,index){return _c('div',{key:conversation.id,staticClass:\"contact-conversations__list-item-container\"},[_c('div',{staticClass:\"contact-conversations__list-item\"},[_c('ContactConversation',{class:{'contact-conversation--fill-height': _vm.conversations.length === 1},attrs:{\"conversation\":conversation,\"workspaceId\":_vm.workspaceId,\"expanded\":index === 0}})],1)])}),0):_vm._e(),(!_vm.loading && _vm.conversations.length === 0)?_c('div',{staticClass:\"contact-conversations__empty\"},[_vm._v(\"\\n\\t\\tNo conversations found\\n\\t\")]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./twitterConfig.vue?vue&type=template&id=5b6a780b&scoped=true\"\nimport script from \"./twitterConfig.vue?vue&type=script&lang=ts\"\nexport * from \"./twitterConfig.vue?vue&type=script&lang=ts\"\nimport style0 from \"./twitterConfig.vue?vue&type=style&index=0&id=5b6a780b&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5b6a780b\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page\"},[(_vm.loading)?_c('LoadingSpinner'):_vm._e(),(!_vm.loading)?_c('section',{staticClass:\"section content-container\"},[_c('div',{staticClass:\"container is-fluid\"},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column\"},[_c('div',{staticClass:\"island\"},[_c('nav',{staticClass:\"level\"},[_c('div',{staticClass:\"level-left\"}),_c('div',{staticClass:\"level-right\"},[_c('p',{staticClass:\"level-item\"},[_c('n-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.addFlow()}}},[_c('span',[_vm._v(\"Add Flow\")])])],1),_c('p',{staticClass:\"level-item\"},[_c('n-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.openFileSelector()}}},[_c('span',[_vm._v(\"Import flow\")]),_c('input',{ref:\"importFlowButton\",attrs:{\"id\":\"file-picker\",\"type\":\"file\",\"accept\":\".json\"},on:{\"change\":_vm.onFileChange}})])],1)])]),_c('table',{staticClass:\"table is-fullwidth\"},[_c('tr',[_c('th',{staticClass:\"icon-column\"},[_c('span',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.bottom\",value:(_vm.flowPriorityTooltip),expression:\"flowPriorityTooltip\",modifiers:{\"bottom\":true}}],staticClass:\"icon\"},[_c('HelpIcon')],1)]),_c('th',{staticClass:\"icon-column\"},[_vm._v(\" \")]),_c('th',[_vm._v(\"Name\")]),_c('th',{staticClass:\"status-column\"},[_vm._v(\"Status\")]),_c('th',{staticClass:\"has-text-right count-percent-column\"},[_vm._v(\"Started\")]),_c('th',{staticClass:\"has-text-right count-percent-column\"},[_vm._v(\"Engaged\")]),_c('th',{staticClass:\"has-text-right count-percent-column\"},[_vm._v(\"Completed\")]),_c('th')]),_c('draggable',{attrs:{\"id\":\"flows-list\",\"tag\":\"tbody\"},on:{\"end\":_vm.updatePriorities},model:{value:(_vm.botFlows),callback:function ($$v) {_vm.botFlows=$$v},expression:\"botFlows\"}},_vm._l((_vm.botFlows),function(flow,index){return _c('tr',{key:flow.id,staticClass:\"flow-row\"},[_c('td',{staticClass:\"icon-column\"},[_c('span',{staticClass:\"icon draggable\"},[_c('DragIcon',{staticClass:\"icon-1-5x draggable\",attrs:{\"color\":\"#A9A9A9\"}})],1)]),_c('td',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.bottom\",value:('Trigger: ' + _vm.getTriggerDescription(flow)),expression:\"'Trigger: ' + getTriggerDescription(flow)\",modifiers:{\"bottom\":true}}],staticClass:\"icon-column trigger-icon\"},[_c('span',{staticClass:\"icon\"},[(_vm.getTriggerIcon(flow).startsWith('#'))?_c('svg',{staticClass:\"custom-icon\"},[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":(\"\" + (_vm.getTriggerIcon(flow)))}})]):_vm._e(),(!_vm.getTriggerIcon(flow).startsWith('#') && _vm.getTriggerIcon(flow))?_c('font-awesome-icon',{attrs:{\"icon\":['far', _vm.getTriggerIcon(flow)]}}):_vm._e()],1)]),_c('td',[_c('router-link',{attrs:{\"to\":{ name: 'bots-flow-designer', params: { flowId: flow.id } }}},[_vm._v(_vm._s(flow.name))])],1),_c('td',[(flow.status === 'live')?_c('n-badge',{attrs:{\"variant\":\"success\"}},[_vm._v(\"Live\")]):_vm._e(),(flow.status === 'paused')?_c('n-badge',{attrs:{\"variant\":\"secondary\"}},[_vm._v(\"Paused\")]):_vm._e(),(flow.status === 'draft')?_c('n-badge',{attrs:{\"variant\":\"default\"}},[_vm._v(\"Draft\")]):_vm._e()],1),_c('td',{staticClass:\"has-text-right stat started\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(flow.startedCount || 0)+\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\")]),_c('td',{staticClass:\"has-text-right stat engaged\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.calculatePercentage(flow.engagedCount, flow.startedCount))+\"%\\n\\t\\t\\t\\t\\t\\t\\t\\t\")]),_c('td',{staticClass:\"has-text-right stat completed\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.calculatePercentage(flow.completedCount, flow.startedCount))+\"%\\n\\t\\t\\t\\t\\t\\t\\t\\t\")]),_c('td',{staticClass:\"menu-icon action\",attrs:{\"id\":\"drop-down-menu\"}},[_c('DropDownMenu',{attrs:{\"goLeft\":true,\"dropDownIcon\":\"dots\"}},[_c('a',{staticClass:\"dropdown-item\",attrs:{\"id\":\"export-flow-button\"},on:{\"click\":function($event){return _vm.exportFlow(flow)}}},[_c('ExportIcon'),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tExport\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\")],1),_c('a',{staticClass:\"dropdown-item\",attrs:{\"id\":\"clone-flow-button\"},on:{\"click\":function($event){return _vm.cloneFlow(flow, index)}}},[_c('CloneIcon'),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tClone\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\")],1),_c('a',{staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.deleteFlow(flow)}}},[_c('DeleteIcon'),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tDelete\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\")],1)])],1)])}),0)],1),(_vm.showModal)?_c('AddFlowModal',{on:{\"close\":function($event){_vm.showModal = false},\"flow-added\":function (flow) { return _vm.chooseFlow(flow, true); }}}):_vm._e(),(_vm.showDeleteModal)?_c('Modal',{on:{\"cancel\":function($event){_vm.showDeleteModal = false}},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"modal-card-title\"},[_vm._v(\"Delete Flow\")])]},proxy:true},{key:\"body\",fn:function(){return [_c('label',{staticClass:\"label\"},[_vm._v(\"Are you sure you want to delete the \"),_c('b',[_vm._v(_vm._s(_vm.flowToDelete.name))]),_vm._v(\" flow? The action is irreversible. Please type the name of the flow to confirm:\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.flowName),expression:\"flowName\"}],staticClass:\"input\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.flowName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.flowName=$event.target.value}}})]},proxy:true},{key:\"buttons\",fn:function(){return [_c('n-button',{attrs:{\"disabled\":_vm.flowName !== _vm.flowToDelete.name,\"variant\":\"primary\"},on:{\"click\":_vm.deleteFlowConfirm}},[_vm._v(\"Delete\")]),_c('n-button',{on:{\"click\":function($event){_vm.showDeleteModal = false}}},[_vm._v(\"Cancel\")])]},proxy:true}],null,false,3946933183)}):_vm._e()],1)])])])]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Chart, {ChartColor} from 'chart.js';\r\n\r\nexport interface DoughnutLabelConfig {\r\n\tlabelProvider: LabelProvider;\r\n\tlastLabels: DoughnutChartLabel[];\r\n\tresizeStrategy: ResizeStrategy;\r\n}\r\n\r\nexport interface Font {\r\n\tfamily?: string;\r\n\tlineHeight?: number;\r\n\tsize?: number;\r\n\tstyle?: string;\r\n\tweight?: string;\r\n\tstring?: string;\r\n}\r\n\r\nexport interface Area {\r\n\theight: number;\r\n\twidth: number;\r\n}\r\n\r\nexport interface DoughnutChartLabel {\r\n\ttext: string;\r\n\tfont: Font;\r\n\tcolor?: ChartColor;\r\n}\r\n\r\nexport enum ResizeStrategy {\r\n\tSHRINK,\r\n\tTRUNCATE\r\n}\r\n\r\nexport type LabelProvider = (chart: Chart, index?: number, key?: string, value?: number) => DoughnutChartLabel[];\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Contacts.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Contacts.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport { Getter, Action, Mutation } from 'vuex-class';\r\n\r\nimport { PublishedApp, InstallAppViewModel } from '../models';\r\nimport { appsApi } from '../services/apps';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { AppApiFactory } from '../services/appApiFactory';\r\nimport Toast from '@/shared/services/toast';\r\nimport { GET_CHANNEL_IDENTITIES } from '@/store/channel-identities/actionTypes';\r\nimport AppUninstallNotAllowedModal from './AppUninstallNotAllowedModal.vue';\r\nimport appInsights from '@/shared/services/appInsights';\r\nimport { ADD_INSTALLED_APP, REMOVE_INSTALLED_APP } from '@/store/app/mutationTypes';\r\n\r\n@Component({\r\n\tcomponents: { AppUninstallNotAllowedModal }\r\n})\r\nexport default class AppModal extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Getter public currentApp!: PublishedApp;\r\n\t@Getter public isWorkspaceFeatureEnabled!: (key: string) => boolean;\r\n\t@Mutation(ADD_INSTALLED_APP) public addInstalledApp: (appId: string) => void;\r\n\t@Mutation(REMOVE_INSTALLED_APP) public removeInstalledApp: (appId: string) => void;\r\n\t@Action(GET_CHANNEL_IDENTITIES) public loadChannelIdentities: any;\r\n\r\n\tpublic tabs: string[] = [];\r\n\tpublic activeTab: string;\r\n\tpublic actionInProgress: boolean = false;\r\n\r\n\tpublic showAppUninstallNotAllowedModal: boolean = false;\r\n\r\n\tpublic created(): void {\r\n\t\tif (this.currentApp == null) {\r\n\t\t\tthis.showAppsStore();\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (this.currentApp.isInstalled && this.currentApp.requiresInstallConfig) {\r\n\t\t\tthis.showAppConfig();\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.showAppOverview();\r\n\t}\r\n\r\n\tpublic isActiveTab(tab: string): boolean {\r\n\t\treturn this.activeTab === tab;\r\n\t}\r\n\r\n\tpublic canInstall(): boolean {\r\n\t\tif (this.isAppLive()) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\r\n\t\tif (this.isWorkspaceFeatureEnabled(`app_${this.currentApp.id}`)) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\r\n\t\treturn false;\r\n\t}\r\n\r\n\tpublic hasStatusBadge(): boolean {\r\n\t\treturn !this.isAppLive();\r\n\t}\r\n\r\n\tpublic getStatusBadgeText(): string {\r\n\t\tif (!this.isAppLive()) {\r\n\t\t\treturn 'Coming Soon!';\r\n\t\t}\r\n\r\n\t\treturn '';\r\n\t}\r\n\r\n\tpublic installApp(): void {\r\n\t\tappInsights.trackEvent({ name: 'App install clicked' }, this.eventProperties);\r\n\t\tif (!this.canInstall()) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (this.actionInProgress) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.actionInProgress = true;\r\n\r\n\t\tconst req = {\r\n\t\t\tappId: this.currentApp.id,\r\n\t\t\tpublished: true\r\n\t\t} as InstallAppViewModel;\r\n\r\n\t\tappsApi.install(this.currentWorkspace.id, req).then(result => {\r\n\t\t\tappInsights.trackEvent({ name: 'App installed' }, this.eventProperties);\r\n\r\n\t\t\t// update apps list\r\n\t\t\tthis.currentApp.isInstalled = true;\r\n\t\t\tthis.currentApp.installedAppId = result.installedAppId;\r\n\t\t\tif (this.currentApp.requiresInstallConfig) {\r\n\t\t\t\tthis.showAppConfig();\r\n\t\t\t}\r\n\t\t\tthis.addInstalledApp(this.currentApp.id);\r\n\t\t}).finally(() => {\r\n\t\t\tthis.actionInProgress = false;\r\n\t\t});\r\n\t}\r\n\r\n\tpublic uninstallApp(): void {\r\n\t\tappInsights.trackEvent({ name: 'App uninstall clicked' }, this.eventProperties);\r\n\t\tif (this.actionInProgress) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.actionInProgress = true;\r\n\r\n\t\tconst specificAppApi = AppApiFactory.get(this.currentApp.id);\r\n\r\n\t\tif (specificAppApi && !specificAppApi.canUninstall()) {\r\n\t\t\tthis.showAppUninstallNotAllowedModal = true;\r\n\t\t\tthis.actionInProgress = false;\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tlet uninstallPromise: Promise;\r\n\r\n\t\tif (specificAppApi) {\r\n\t\t\tuninstallPromise = specificAppApi.uninstall(this.currentWorkspace.id, this.currentApp.installedAppId)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\treturn appsApi.uninstall(this.currentWorkspace.id, this.currentApp.installedAppId);\r\n\t\t\t\t});\r\n\t\t} else {\r\n\t\t\tuninstallPromise = appsApi.uninstall(this.currentWorkspace.id, this.currentApp.installedAppId);\r\n\t\t}\r\n\r\n\t\tuninstallPromise // either one or both of the above two promises\r\n\t\t\t.then(() => {\r\n\t\t\t\tappInsights.trackEvent({ name: 'App uninstalled' }, this.eventProperties);\r\n\r\n\t\t\t\t// update apps list\r\n\t\t\t\tthis.currentApp.isInstalled = false;\r\n\t\t\t\tthis.currentApp.installedAppId = '';\r\n\t\t\t\tthis.showAppOverview();\r\n\t\t\t\tthis.loadChannelIdentities(true);\r\n\t\t\t\tthis.removeInstalledApp(this.currentApp.id);\r\n\t\t\t})\r\n\t\t\t.catch((err) => {\r\n\t\t\t\tToast.showError(err.message);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.actionInProgress = false;\r\n\t\t\t});\r\n\t}\r\n\r\n\tprivate showAppsStore(): void {\r\n\t\tthis.$router.push({ name: 'apps' });\r\n\t}\r\n\r\n\tprivate showAppOverview(): void {\r\n\t\tthis.activeTab = 'Overview';\r\n\t\tthis.$router.push({ name: 'app-overview'});\r\n\t}\r\n\r\n\tprivate showAppConfig(): void {\r\n\t\tthis.activeTab = 'Config';\r\n\t\tthis.$router.push({ name: 'app-config'});\r\n\t}\r\n\r\n\tprivate isAppLive(): boolean {\r\n\t\treturn !this.currentApp.status || this.currentApp.status === 'live';\r\n\t}\r\n\r\n\tpublic get uninstallNotAllowedMessage(): string {\r\n\t\tconst specificAppApi = AppApiFactory.get(this.currentApp.id);\r\n\t\treturn specificAppApi.getUninstallNotAllowedMessage();\r\n\t}\r\n\r\n\tprivate get eventProperties(): { [key: string]: any } {\r\n\t\treturn {\r\n\t\t\tappId: this.currentApp.id,\r\n\t\t\tworkspaceId: this.currentWorkspace.id\r\n\t\t};\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateHoliday.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateHoliday.vue?vue&type=script&lang=ts\"","import { ConditionsManager } from '@/shared/components/conditions/models/conditionsManager';\r\nimport { ConditionPickerOption, ConditionDataType } from '@/shared/components/conditions/models/conditions';\r\nimport { ConditionViewModel } from '@/shared/components/conditions/models/conditionViewModel';\r\nimport { store } from '@/store';\r\nimport { ChannelIdentityViewModel } from '@/messaging/models/channelIdentityViewModel';\r\n\r\nexport enum TriggerConditionAttributeType {\r\n\tMessageText = 'message.text',\r\n\tMessageIntent = 'message.intentId',\r\n\tEventSource = 'event.source',\r\n\tCurrentPageUrl = 'appUser.currentUrl',\r\n\tChannelIdentity = 'event.channelIdentity',\r\n\tTimeOnPage = 'timeOnPage'\r\n}\r\n\r\nexport class TriggerConditionsManager extends ConditionsManager {\r\n\tprivate conditionsToDisplay: ConditionPickerOption[] = [];\r\n\tprivate allConditions: ConditionPickerOption[] = [\r\n\t\t{\r\n\t\t\tid: TriggerConditionAttributeType.MessageText,\r\n\t\t\ttitle: 'Message Text',\r\n\t\t\ttype: ConditionDataType.Text,\r\n\t\t\ticon: 'MessageIcon'\r\n\t\t},\r\n\t\t{\r\n\t\t\tid: TriggerConditionAttributeType.MessageIntent,\r\n\t\t\ttitle: 'Message Intent',\r\n\t\t\ttype: ConditionDataType.Intent,\r\n\t\t\ticon: 'MessageIcon'\r\n\t\t},\r\n\t\t{\r\n\t\t\tid: TriggerConditionAttributeType.EventSource,\r\n\t\t\ttitle: 'Channel',\r\n\t\t\ttype: ConditionDataType.List,\r\n\t\t\ticon: 'ListIcon'\r\n\t\t},\r\n\t\t{\r\n\t\t\tid: TriggerConditionAttributeType.ChannelIdentity,\r\n\t\t\ttitle: 'Channel Identity',\r\n\t\t\ttype: ConditionDataType.List,\r\n\t\t\ticon: 'ListIcon'\r\n\t\t},\r\n\t\t{\r\n\t\t\tid: TriggerConditionAttributeType.CurrentPageUrl,\r\n\t\t\ttitle: 'Current Page URL',\r\n\t\t\ttype: ConditionDataType.Text,\r\n\t\t\ticon: 'PageIcon'\r\n\t\t},\r\n\t\t{\r\n\t\t\tid: TriggerConditionAttributeType.TimeOnPage,\r\n\t\t\ttitle: 'Time on Page',\r\n\t\t\ttype: ConditionDataType.Duration,\r\n\t\t\ticon: 'DurationIcon'\r\n\t\t}\r\n\t];\r\n\r\n\tprivate channelOptions = [\r\n\t\t{\r\n\t\t\tid: 'sms-bt',\r\n\t\t\ttitle: 'BT Smart Messaging Tailored'\r\n\t\t},\r\n\t\t{\r\n\t\t\tid: 'google-bm',\r\n\t\t\ttitle: 'Google Business Messages'\r\n\t\t},\r\n\t\t{\r\n\t\t\tid: 'sms-govuknotify',\r\n\t\t\ttitle: 'GOV.UK Notify SMS'\r\n\t\t},\r\n\t\t{\r\n\t\t\tid: 'instagram',\r\n\t\t\ttitle: 'Instagram'\r\n\t\t},\r\n\t\t{\r\n\t\t\tid: 'messenger',\r\n\t\t\ttitle: 'Messenger'\r\n\t\t},\r\n\t\t{\r\n\t\t\tid: 'twitter-dm',\r\n\t\t\ttitle: 'Twitter'\r\n\t\t},\r\n\t\t{\r\n\t\t\tid: 'web-assistant',\r\n\t\t\ttitle: 'Web Assistant'\r\n\t\t}\r\n\t];\r\n\r\n\tconstructor() {\r\n\t\tsuper([]);\r\n\t\tthis.conditionsToDisplay = this.allConditions;\r\n\t}\r\n\r\n\tpublic excludeConditions(excludedConditions: string[]) {\r\n\t\tif (excludedConditions.length > 0) {\r\n\t\t\tthis.conditionsToDisplay = this.allConditions.filter(c => !excludedConditions.includes(c.id));\r\n\t\t} else {\r\n\t\t\tthis.conditionsToDisplay = this.allConditions;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getConditionOptions(condition: ConditionViewModel) {\r\n\t\tif (condition.attribute === TriggerConditionAttributeType.EventSource) {\r\n\t\t\treturn this.channelOptions;\r\n\t\t} else if (condition.attribute === TriggerConditionAttributeType.ChannelIdentity) {\r\n\t\t\tconst channelIds = store.getters.channelIdentities;\r\n\t\t\treturn channelIds.map((c: ChannelIdentityViewModel) => ( {id: c.id, title: c.name}));\r\n\t\t}\r\n\t\treturn '';\r\n\t}\r\n\r\n\tpublic getListConditionValueTitle(condition: ConditionViewModel) {\r\n\t\tif (condition.attribute === TriggerConditionAttributeType.EventSource) {\r\n\t\t\tconst channel = this.channelOptions.filter(c => c.id === condition.value);\r\n\t\t\tif (channel && channel.length === 1) {\r\n\t\t\t\treturn channel[0].title;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (condition.attribute === TriggerConditionAttributeType.ChannelIdentity) {\r\n\t\t\tconst channelIdentity = store.getters.channelIdentities.filter((c: ChannelIdentityViewModel) => c.id === condition.value);\r\n\t\t\tif (channelIdentity && channelIdentity.length === 1) {\r\n\t\t\t\treturn channelIdentity[0].name;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn condition.value;\r\n\t}\r\n\r\n\tpublic getIntentConditionValueTitle(condition: ConditionViewModel) {\r\n\t\tconst intentId = condition.value;\r\n\t\t// Getter relies on intents already having been loaded and in cache\r\n\t\treturn store.getters.getIntentName(intentId) || intentId;\r\n\t}\r\n\r\n\tpublic isConditionValid(condition: ConditionViewModel): boolean {\r\n\t\tif (condition.attribute.startsWith('event.channelIdentity') && condition.value) {\r\n\t\t\tif (store.getters.channelIdentities.filter((c: ChannelIdentityViewModel) => c.id === condition.value).length === 0) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (condition.type === 'intent' && condition.value) {\r\n\t\t\treturn !!store.getters.getIntentName(condition.value);\r\n\t\t}\r\n\t\treturn !condition.invalid;\r\n\t}\r\n\r\n\tpublic get visibleConditions(): ConditionPickerOption[] {\r\n\t\treturn this.conditionsToDisplay;\r\n\t}\r\n\r\n\tpublic get conditions(): ConditionPickerOption[] {\r\n\t\treturn this.allConditions;\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./DateRangeFilter.vue?vue&type=template&id=afa028f4&scoped=true\"\nimport script from \"./DateRangeFilter.vue?vue&type=script&lang=ts\"\nexport * from \"./DateRangeFilter.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DateRangeFilter.vue?vue&type=style&index=0&id=afa028f4&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"afa028f4\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MessagingReports.vue?vue&type=style&index=0&id=24a55278&prod&scoped=true&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowEngagementCharts.vue?vue&type=style&index=0&id=4fb65b37&prod&scoped=true&lang=scss\"","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListIcon.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListIcon.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"select is-fullwidth\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedOperationId),expression:\"selectedOperationId\"}],on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedOperationId=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},_vm.operationSelected]}},_vm._l((_vm.operations),function(operation){return _c('option',{key:operation.id,domProps:{\"value\":operation.id}},[_vm._v(_vm._s(operation.title))])}),0)])])]),(_vm.requiresInput)?_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[_c('input',{staticClass:\"input\",attrs:{\"type\":\"text\"},domProps:{\"value\":_vm.liveCondition.value},on:{\"input\":function($event){return _vm.numberChanged($event.target.value)}}}),(_vm.$v.liveCondition.value.$invalid && _vm.$v.liveCondition.value.$dirty && !_vm.$v.liveCondition.value.required)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Number required\")]):_vm._e(),(_vm.$v.liveCondition.value.$invalid && _vm.$v.liveCondition.value.$dirty && _vm.$v.liveCondition.value.required && !_vm.$v.liveCondition.value.numeric)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Must be numeric\")]):_vm._e(),(_vm.$v.liveCondition.value.$invalid && _vm.$v.liveCondition.value.$dirty && _vm.$v.liveCondition.value.required && !_vm.$v.liveCondition.value.maxLength)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Must be a maximum of 8 characters\")]):_vm._e()])]):_vm._e(),_c('div',{staticClass:\"control\"},[_c('n-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.complete()}}},[_vm._v(\"Done\")])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./ConversationTrendCharts.vue?vue&type=template&id=fb300b52&scoped=true\"\nimport script from \"./ConversationTrendCharts.vue?vue&type=script&lang=ts\"\nexport * from \"./ConversationTrendCharts.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ConversationTrendCharts.vue?vue&type=style&index=0&id=fb300b52&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fb300b52\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UsageReports.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UsageReports.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AnswerIcon.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AnswerIcon.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PrivateApps.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PrivateApps.vue?vue&type=script&lang=ts\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContentHighlightsListItemEdit.vue?vue&type=style&index=0&id=4cbf07d7&prod&scoped=true&lang=scss\"","import { render, staticRenderFns } from \"./FlowEditor.vue?vue&type=template&id=3bf7192a&scoped=true\"\nimport script from \"./FlowEditor.vue?vue&type=script&lang=ts\"\nexport * from \"./FlowEditor.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FlowEditor.vue?vue&type=style&index=0&id=3bf7192a&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3bf7192a\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./messengerConfig.vue?vue&type=template&id=04030890&scoped=true\"\nimport script from \"./messengerConfig.vue?vue&type=script&lang=ts\"\nexport * from \"./messengerConfig.vue?vue&type=script&lang=ts\"\nimport style0 from \"./messengerConfig.vue?vue&type=style&index=0&id=04030890&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"04030890\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Email.vue?vue&type=style&index=0&id=9255a3bc&prod&scoped=true&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BotPausedBanner.vue?vue&type=style&index=0&id=a855caac&prod&lang=scss&scoped=true\"","import { Data, DateGrouping } from '../models';\r\nimport { api } from '@/shared/services/baseApiClient';\r\nimport urljoin from 'url-join';\r\nimport { config } from '@/config/config';\r\nimport { QueryStringBuilder } from '@/shared/services/queryStringBuilder';\r\n\r\nclass NlpReportApiService {\r\n\tprivate version = 'v1';\r\n\r\n\tpublic get(modelId: string, request: ReportRequest): Promise {\r\n\t\tconst query = new QueryStringBuilder()\r\n\t\t\t.add('startDate', request.startDate.toISOString())\r\n\t\t\t.add('endDate', request.endDate.toISOString())\r\n\t\t\t.add('grouping', request.grouping)\r\n\t\t\t.build();\r\n\r\n\t\treturn api.send('GET', urljoin(config().nlpHost, this.version, modelId, `reports`) + query);\r\n\t}\r\n}\r\n\r\nexport interface ReportRequest {\r\n\tstartDate: Date;\r\n\tendDate: Date;\r\n\tgrouping: DateGrouping;\r\n}\r\n\r\nexport interface NlpReportsResponse {\r\n\tmostPopularTotalsReport: Data;\r\n\tmostPopularTrendReport: Data;\r\n\thighestConfidenceTotalsReport: Data;\r\n\tlowestConfidenceTotalsReport: Data;\r\n\tlowestConfidenceTrendReport: Data;\r\n\thighestConfidenceTrendReport: Data;\r\n\r\n\tconfidenceAverage: number;\r\n}\r\n\r\nexport const nlpReportApi = new NlpReportApiService();\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddIntentModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddIntentModal.vue?vue&type=script&lang=ts\"","import axios from 'axios';\r\nimport { AppConfig } from './appConfig';\r\n\r\nlet appConfig: AppConfig = {} as any;\r\n\r\nconst loadConfig = axios('/assets/appConfig.json', {\r\n\tmethod: 'get'\r\n})\r\n.then(res => res.data)\r\n.then(cfg => {\r\n\tappConfig = cfg;\r\n});\r\n\r\nexport const config = () => {\r\n\treturn appConfig;\r\n};\r\n\r\nexport default loadConfig;\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page\"},[_c('link',{attrs:{\"href\":\"https://fonts.googleapis.com/css?family=Lato:400,700\",\"rel\":\"stylesheet\"}}),_c('div',{staticClass:\"sidebar\"},[_vm._m(0),(_vm.loading)?_c('div',{staticClass:\"sidebar__body\"},[_c('LoadingSpinner')],1):_vm._e(),(!_vm.loading && !_vm.isTokenValid)?_c('div',{staticClass:\"sidebar__body\"},[_c('div',{staticClass:\"sidebar-title\"},[_vm._v(\"Registration Error\")]),_c('div',{staticClass:\"sidebar-subtitle\"},[_vm._v(\"Something has gone wrong!\")]),_c('div',[_vm._v(_vm._s(_vm.tokenErrorMsg))])]):_vm._e(),(!_vm.loading && _vm.isTokenValid)?_c('div',{staticClass:\"sidebar__body\"},[_c('div',{staticClass:\"sidebar-title\"},[_vm._v(\"Register\")]),_c('div',{staticClass:\"sidebar-subtitle\"},[_vm._v(\"Enter your account details to complete your registration\")]),_c('div',{staticClass:\"form-wrapper\"},[_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Email\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],staticClass:\"input\",attrs:{\"type\":\"email\",\"placeholder\":\"Enter your email address\",\"disabled\":\"\"},domProps:{\"value\":(_vm.email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.email=$event.target.value}}})])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"First Name\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.firstName),expression:\"firstName\",modifiers:{\"trim\":true}}],staticClass:\"input\",attrs:{\"type\":\"text\",\"placeholder\":\"Enter your first name\"},domProps:{\"value\":(_vm.firstName)},on:{\"blur\":[function($event){return _vm.$v.firstName.$touch()},function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing){ return; }_vm.firstName=$event.target.value.trim()}}})]),(_vm.$v.firstName.$invalid && _vm.$v.firstName.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tPlease enter your first name\\n\\t\\t\\t\\t\\t\")]):_vm._e()]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Last Name\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.lastName),expression:\"lastName\",modifiers:{\"trim\":true}}],staticClass:\"input\",attrs:{\"type\":\"text\",\"placeholder\":\"Enter your last name\"},domProps:{\"value\":(_vm.lastName)},on:{\"blur\":[function($event){return _vm.$v.lastName.$touch()},function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing){ return; }_vm.lastName=$event.target.value.trim()}}})]),(_vm.$v.lastName.$invalid && _vm.$v.lastName.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tPlease enter your last name\\n\\t\\t\\t\\t\\t\")]):_vm._e()]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Password\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.password),expression:\"password\",modifiers:{\"trim\":true}}],staticClass:\"input\",attrs:{\"type\":\"password\",\"placeholder\":\"Enter your password\"},domProps:{\"value\":(_vm.password)},on:{\"blur\":[function($event){return _vm.$v.password.$touch()},function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing){ return; }_vm.password=$event.target.value.trim()}}})]),(_vm.$v.password.$invalid && _vm.$v.password.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tPassword not sufficient\\n\\t\\t\\t\\t\\t\")]):_vm._e(),_c('p',{staticClass:\"help\"},[_vm._v(\"Must be at least 8 characters long \")]),_c('p',{staticClass:\"help\"},[_vm._v(\"Must contain a mixture of uppercase and lowercase letters\")]),_c('p',{staticClass:\"help\"},[_vm._v(\"Must contain at least 1 number\")])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Confirm Password\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.confirmPassword),expression:\"confirmPassword\",modifiers:{\"trim\":true}}],staticClass:\"input\",attrs:{\"type\":\"password\",\"placeholder\":\"Re-enter your password\"},domProps:{\"value\":(_vm.confirmPassword)},on:{\"blur\":[function($event){return _vm.$v.confirmPassword.$touch()},function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing){ return; }_vm.confirmPassword=$event.target.value.trim()}}})]),(_vm.$v.confirmPassword.$invalid && _vm.$v.confirmPassword.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tPasswords do not match\\n\\t\\t\\t\\t\\t\")]):_vm._e()]),_c('n-button',{attrs:{\"variant\":\"primary\",\"disabled\":_vm.$v.$invalid},on:{\"click\":_vm.register}},[_vm._v(\" Register\")])],1),_vm._m(1)]):_vm._e(),_vm._m(2)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"sidebar__header\"},[_c('div',{staticClass:\"connect-logo\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{staticClass:\"help\"},[_vm._v(\"By clicking this button, you agree to Netcall's \"),_c('a',{attrs:{\"href\":\"https://www.netcall.com/privacy-statement\",\"target\":\"_blank\"}},[_vm._v(\"Privacy Policy\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"sidebar__footer\"},[_c('div',{staticClass:\"netcall-logo\"})])}]\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./TimeSelector.vue?vue&type=template&id=208ed158&scoped=true\"\nimport script from \"./TimeSelector.vue?vue&type=script&lang=ts\"\nexport * from \"./TimeSelector.vue?vue&type=script&lang=ts\"\nimport style0 from \"./TimeSelector.vue?vue&type=style&index=0&id=208ed158&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"208ed158\",\n null\n \n)\n\nexport default component.exports","export const GET_CHANNEL_IDENTITIES = 'GET_CHANNEL_IDENTITIES';\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppModal.vue?vue&type=style&index=0&id=3165601e&prod&scoped=true&lang=scss\"","import { render, staticRenderFns } from \"./GoogleBmAgentList.vue?vue&type=template&id=be30eef2&scoped=true\"\nimport script from \"./GoogleBmAgentList.vue?vue&type=script&lang=ts\"\nexport * from \"./GoogleBmAgentList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./GoogleBmAgentList.vue?vue&type=style&index=0&id=be30eef2&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"be30eef2\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UtteranceList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UtteranceList.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { required, url } from 'vuelidate/lib/validators';\r\nimport { ArticleAppConfig } from './models/ArticleApp';\r\n\r\n@Component({\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tvalue: {\r\n\t\t\timage_url: { required, url },\r\n\t\t\theader_text: { required },\r\n\t\t\tbody_text: { required },\r\n\t\t\tarticle_url: { required, url },\r\n\t\t\tlink_label: { required },\r\n\t\t}\r\n\t}\r\n})\r\nexport default class ContentHighlightsArticleAppEdit extends Vue {\r\n\t@Prop() public value: ArticleAppConfig;\r\n\r\n\tpublic markAsTouched(key: string & keyof ArticleAppConfig) {\r\n\t\tconst field = this.$v.value[key];\r\n\t\tif (field) {\r\n\t\t\tfield.$touch();\r\n\t\t}\r\n\t\tthis.$emit('input', this.$v.$invalid);\r\n\t}\r\n\r\n\tpublic getErrorMessage(fieldName: string & keyof ArticleAppConfig, label: string): string | null {\r\n\t\tconst field = this.$v.value[fieldName];\r\n\t\tif (field && field.$dirty && field.$invalid) {\r\n\t\t\tif (field.$params.required && !field.required) {\r\n\t\t\t\treturn `${label} is required`;\r\n\t\t\t}\r\n\t\t\tif (field.$params.url && !field.url) {\r\n\t\t\t\treturn `${label} must be a valid URL`;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}\r\n}\r\n","import axios, { AxiosError, AxiosResponse } from 'axios';\r\nimport authService from '@/authentication/authentication.service';\r\n\r\nexport class BaseApiClient {\r\n\t\t\tpublic send(\r\n\t\t\t\tmethod: HttpVerb,\r\n\t\t\t\turl: string,\r\n\t\t\t\tdata: T = {} as T,\r\n\t\t\t\tresponseType: 'text' | 'document' | 'arraybuffer' | 'blob' | 'json' | 'stream' | undefined = 'text'\r\n\t\t\t): Promise {\r\n\t\t\t\t// if (!authService.isAuthenticated()) {\r\n\t\t\t\t// \t//authService.login();\r\n\t\t\t\t// \treturn Promise.reject(\"Not logged in\");\r\n\t\t\t\t// }\r\n\r\n\t\t\t\treturn authService.getToken().then((token: string | null) => {\r\n\t\t\t\t\tconst headers = {\r\n\t\t\t\t\t\tAuthorization: `Bearer ${token}`\r\n\t\t\t\t\t};\r\n\r\n\t\t\t\t\t// NOTE: we are expecting responses to be in json, but our APIs return errors as strings in the body,\r\n\t\t\t\t\t// so to read those we need to expect responseType to be 'text'. Fortunately due to a quirk with axios,\r\n\t\t\t\t\t// they try and parse responses as json even if you set responseType to text, so currently this is working\r\n\t\t\t\t\t// well for us. In future, we should ensure all errors are returned by APIs as json, not strings and then\r\n\t\t\t\t\t// set the responseType to 'json\r\n\t\t\t\t\treturn axios(url, {\r\n\t\t\t\t\t\tmethod,\r\n\t\t\t\t\t\tdata,\r\n\t\t\t\t\t\theaders,\r\n\t\t\t\t\t\tresponseType,\r\n\t\t\t\t\t})\r\n\t\t\t\t\t\t.then((response) => {\r\n\t\t\t\t\t\t\tif (response.status >= 200 && response.status <= 202) {\r\n\t\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\t\treturn JSON.parse(response.data);\r\n\t\t\t\t\t\t\t\t} catch {\r\n\t\t\t\t\t\t\t\t\treturn response.data;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\treturn {};\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\t.catch((err: AxiosError) => {\r\n\t\t\t\t\t\t\tif (err.response) {\r\n\t\t\t\t\t\t\t\treturn this.handleError(err.response);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\treturn Promise.reject({\r\n\t\t\t\t\t\t\t\tstatus: -1,\r\n\t\t\t\t\t\t\t\tmessage: err.message,\r\n\t\t\t\t\t\t\t} as ApiError);\r\n\t\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\tprivate handleError(response: AxiosResponse) {\r\n\t\t\t\tlet message = '';\r\n\t\t\t\tlet status = -1;\r\n\t\t\t\tif (response) {\r\n\t\t\t\t\tstatus = response.status;\r\n\t\t\t\t\tif (response.data) {\r\n\t\t\t\t\t\tmessage = response.data;\r\n\t\t\t\t\t} else if (response.statusText) {\r\n\t\t\t\t\t\tmessage = `Request failed with status ${response.statusText}`;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tmessage = `Request failed with status code ${response.status}`;\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tmessage = `There was a problem contacting our servers.`;\r\n\t\t\t\t}\r\n\t\t\t\treturn Promise.reject({\r\n\t\t\t\t\tstatus,\r\n\t\t\t\t\tmessage,\r\n\t\t\t\t} as ApiError);\r\n\t\t\t}\r\n\t\t}\r\n\r\nexport interface ApiError {\r\n\tstatus: number;\r\n\tmessage: string;\r\n}\r\n\r\nexport const api = new BaseApiClient();\r\n\r\nexport type HttpVerb = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'OPTIONS' | 'HEAD';\r\n","export * from './fluentDate';\r\nexport * from './datePicker';\r\nexport * from './flowsReportApi';\r\nexport {nlpReportApi} from './nlpReportApi';\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HorizontalThresholdBarChart.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HorizontalThresholdBarChart.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DecisionComponent.vue?vue&type=template&id=0ba605ff&scoped=true\"\nimport script from \"./DecisionComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./DecisionComponent.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DecisionComponent.vue?vue&type=style&index=0&id=0ba605ff&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0ba605ff\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MultiSelectPicker.vue?vue&type=style&index=1&id=5ee6a231&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"rule-container\"},[_c('div',{staticClass:\"delete-icon\"},[_c('svg',{staticClass:\"trash-icon\",on:{\"click\":_vm.deleteRule}},[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":\"#trash\"}})])]),_c('div',{staticClass:\"clause\"},[_c('TagBox',{attrs:{\"value\":\"if\"}}),_c('div',{staticClass:\"condition\"},[_c('ConditionGroupBuilder',{attrs:{\"value\":_vm.providedRule.conditions,\"manager\":_vm.ruleConditionsManager,\"disabled\":false,\"context\":\"condition\"},on:{\"updated\":_vm.conditionUpdated}}),(_vm.$v.providedRule.conditions.conditions.$invalid && _vm.$v.providedRule.$anyDirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\tPlease provide a condition\\n\\t\\t\\t\")]):_vm._e()],1)],1),_c('div',{staticClass:\"action\"},[_c('TagBox',{attrs:{\"value\":\"then\"}}),_c('div',{staticClass:\"condition\"},[_c('CapableAppPicker',{attrs:{\"modalHeading\":'Bot Apps',\"capability\":'botActions',\"selectedApps\":_vm.getSelectedFollowUpApps(),\"configRequest\":_vm.configRequest,\"isLozengeMode\":true},on:{\"change\":_vm.actionsChanged}}),(_vm.$v.providedRule.actions.$invalid && _vm.$v.providedRule.$anyDirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\tPlease provide an action\\n\\t\\t\\t\")]):_vm._e()],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page\"},[_c('div',{staticClass:\"columns is-mobile is-centered\"},[_c('div',{staticClass:\"column is-half\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-content\"},[_c('p',{staticClass:\"title\"},[_vm._v(\"\\n\\t\\t\\t\\t\\tAn unexpected error has occurred\\n\\t\\t\\t\\t\\t\")]),_c('p',{staticClass:\"subtitle\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tPlease try again by navigating to another page or refreshing.\\n\\t\\t\\t\\t\\t\")]),_c('p',{staticClass:\"is-size-7\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tDetails: \"+_vm._s(_vm.error)+\"\\n\\t\\t\\t\\t\\t\")])])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.isInstalled() && _vm.hasLoaded)?_c('div',[_c('GoogleBmAddAgent',{attrs:{\"app\":_vm.app},on:{\"configSaved\":_vm.configSaved}})],1):_c('div',[_c('GoogleBmAgentList',{attrs:{\"value\":_vm.agents},on:{\"agentUpdated\":_vm.loadApp}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./Settings.vue?vue&type=template&id=d410d516&scoped=true\"\nimport script from \"./Settings.vue?vue&type=script&lang=ts\"\nexport * from \"./Settings.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d410d516\",\n null\n \n)\n\nexport default component.exports","export enum ChartType {\r\n\tLINE,\r\n\tBAR,\r\n\tPERCENTAGE_BAR\r\n}\r\n","import { render, staticRenderFns } from \"./InsertChartOutlined.vue?vue&type=template&id=46c5dca4&functional=true\"\nimport script from \"./InsertChartOutlined.vue?vue&type=script&lang=ts\"\nexport * from \"./InsertChartOutlined.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n true,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CapableAppModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CapableAppModal.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleBmUnlaunchModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleBmUnlaunchModal.vue?vue&type=script&lang=ts\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BotFlows.vue?vue&type=style&index=0&id=adf6c51c&prod&scoped=true&lang=scss\"","var render = function (_h,_vm) {var _c=_vm._c;return _c('font-awesome-icon',{staticClass:\"fa-icons\",attrs:{\"icon\":['far', 'comment']}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { StateViewModel, InputVariableViewModel, PathViewModel } from '@/features/bots/models/designer';\r\nimport { ConditionGroup } from '@/shared/components/conditions/models/conditionGroup';\r\nimport { ConditionGroupViewModel } from '@/shared/components/conditions/models/conditionGroupViewModel';\r\nimport { ConditionViewModel } from '@/shared/components/conditions/models/conditionViewModel';\r\nimport { FlowDesignerState } from '../../../store/bot-designer';\r\n\r\n\r\n\r\nexport function pathContainsFlowVariable(path: PathViewModel, flowVariable: InputVariableViewModel): boolean {\r\n\treturn path.states.some(state => {\r\n\t\treturn stateContainsFlowVariable(state, flowVariable);\r\n\t});\r\n}\r\n\r\nfunction stateContainsFlowVariable(state: StateViewModel, flowVariable: InputVariableViewModel): boolean {\r\n\tif (!state.storedVariable || state.storedVariable.scope !== 'flow') {\r\n\t\treturn false;\r\n\t}\r\n\treturn state.storedVariable.name === flowVariable.name;\r\n}\r\n\r\nexport function getFlowVariablesForPath(path: PathViewModel): InputVariableViewModel[] {\r\n\tconst flowVariables: InputVariableViewModel[] = [];\r\n\tpath.states.forEach(state => {\r\n\t\tif (state.storedVariable && state.storedVariable.scope === 'flow') {\r\n\t\t\tflowVariables.push(state.storedVariable);\r\n\t\t}\r\n\t});\r\n\treturn flowVariables;\r\n}\r\n\r\nexport function removeFlowVariableFromState(state: FlowDesignerState, flowVariables: InputVariableViewModel) {\r\n\tstate.flowVariables = state.flowVariables.filter(flowVar => {\r\n\t\treturn flowVar.name !== flowVariables.name;\r\n\t});\r\n}\r\n\r\nexport function checkPathForInvalidDecision(flowVariable: InputVariableViewModel, path: PathViewModel) {\r\n\tpath.states.forEach(state => {\r\n\t\tcheckStateForInvalidDecisions(flowVariable, state);\r\n\t});\r\n}\r\n\r\nexport function checkStateForInvalidDecisions(flowVariable: InputVariableViewModel, state: StateViewModel) {\r\n\tstate.decisions?.forEach((decision) => {\r\n\t\tdecision.conditions.conditions.forEach((condition: ConditionViewModel | ConditionGroupViewModel) => {\r\n\t\t\tif (conditionContainsDeletedFlowVariable(condition, flowVariable)) {\r\n\t\t\t\tstate.invalid = true;\r\n\t\t\t}\r\n\t\t});\r\n\t});\r\n}\r\n\r\nexport function conditionContainsDeletedFlowVariable(\r\n\tcondition: ConditionViewModel | ConditionGroupViewModel,\r\n\tdeletedFlowVariable: InputVariableViewModel\r\n) {\r\n\tif (ConditionGroup.isCondition(condition)) {\r\n\t\tif (condition.attribute === `flow.${deletedFlowVariable.name}`) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n\treturn (condition as ConditionGroupViewModel).conditions.some((c) => {\r\n\t\tconditionContainsDeletedFlowVariable(c, deletedFlowVariable);\r\n\t});\r\n}\r\n\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue} from 'vue-property-decorator';\r\nimport {ContactType} from '@/features/contacts/models/contactType';\r\nimport MultiSelectPicker from '@/shared/components/MultiSelectPicker.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tMultiSelectPicker\r\n\t}\r\n})\r\nexport default class MultiContactTypePicker extends Vue {\r\n\t@Prop() public value: ContactType[];\r\n\r\n\tpublic typeOptions: TypeOption[] = this.toOptionObjects([ContactType.Visitor, ContactType.Lead, ContactType.User]);\r\n\tpublic selectedOptions: TypeOption[] = [];\r\n\r\n\tpublic mounted() {\r\n\t\tif (this.shouldAllTypesBeSelected(this.value)) {\r\n\t\t\tthis.selectedOptions = this.toOptionObjects([ContactType.Visitor, ContactType.Lead, ContactType.User]);\r\n\t\t} else {\r\n\t\t\tthis.selectedOptions = this.toOptionObjects(this.value);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic onInput(newSelectedOptions: TypeOption[]) {\r\n\t\tthis.selectedOptions = newSelectedOptions;\r\n\t\tconst selectedTypes = newSelectedOptions.map(option => option.type);\r\n\t\tthis.$emit('updated-type', selectedTypes);\r\n\t}\r\n\r\n\tpublic get displayName() {\r\n\t\tif (this.selectedOptions.length === 0 || this.selectedOptions.length === 3) {\r\n\t\t\treturn 'Visitors, Leads, Users';\r\n\t\t} else {\r\n\t\t\treturn this.selectedOptions.map(option => this.getFriendlyName(option.type)).join(', ');\r\n\t\t}\r\n\t}\r\n\r\n\tprivate toOptionObjects(options: string[]): TypeOption[] {\r\n\t\treturn options.map(type => ({ type, display: this.getFriendlyName(type) }));\r\n\t}\r\n\r\n\tprivate getFriendlyName(type: string) {\r\n\t\treturn type.charAt(0).toUpperCase() + type.slice(1) + 's';\r\n\t}\r\n\r\n\tprivate shouldAllTypesBeSelected(types: string[]) {\r\n\t\treturn !types || types.length === 0;\r\n\t}\r\n}\r\n\r\ninterface TypeOption {\r\n\ttype: string;\r\n\tdisplay: string;\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\r\nimport { mixin as clickaway } from 'vue-clickaway';\r\nimport { ConditionViewModel } from './models/conditionViewModel';\r\nimport { IConditionsManager } from './models/conditionsManager';\r\nimport ConditionConfigurator from './ConditionConfigurator.vue';\r\nimport Icon from '../../icons/Icon.vue';\r\n\r\n@Component({\r\n\tmixins: [\r\n\t\tclickaway\r\n\t],\r\n\tcomponents: {\r\n\t\tConditionConfigurator,\r\n\t\tIcon\r\n\t}\r\n})\r\nexport default class ConditionButton extends Vue {\r\n\t@Prop() public value: ConditionViewModel;\r\n\t@Prop() public manager: IConditionsManager;\r\n\t@Prop({default: false}) public disabled: boolean;\r\n\r\n\tpublic condition: ConditionViewModel | undefined = undefined;\r\n\tpublic isOpen = false;\r\n\tpublic deleted = false;\r\n\tpublic allowClickAway = true;\r\n\r\n\t@Watch('value', { immediate: true })\r\n\tpublic onValueChanged(value: ConditionViewModel, previous: ConditionViewModel) {\r\n\t\tthis.condition = value;\r\n\t\tthis.isOpen = this.condition.active || false;\r\n\t\tthis.checkConditionStillValid();\r\n\t}\r\n\r\n\tpublic beforeDestroy() {\r\n\t\tif (!this.deleted && this.isOpen) {\r\n\t\t\tthis.closeConfig();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getIconComponent(condition: ConditionViewModel) {\r\n\t\tconst pickerOption = this.manager.conditions.find(c => c.id === condition.attribute);\r\n\t\tif (pickerOption && pickerOption.icon) {\r\n\t\t\treturn pickerOption.icon;\r\n\t\t} else if (condition.invalid) {\r\n\t\t\treturn 'ErrorIcon';\r\n\t\t}\r\n\t\treturn '';\r\n\t}\r\n\r\n\tpublic onMouseDownInside() {\r\n\t\tthis.allowClickAway = false;\r\n\t}\r\n\r\n\tpublic onMouseUpInside() {\r\n\t\tthis.allowClickAway = true;\r\n\t}\r\n\r\n\tpublic closeConfig() {\r\n\t\tif (this.allowClickAway) {\r\n\t\t\tthis.checkConditionStillValid();\r\n\t\t\tthis.$emit('updated', this.condition);\r\n\t\t\tthis.isOpen = false;\r\n\t\t}\r\n\r\n\t\tthis.allowClickAway = true;\r\n\t}\r\n\r\n\tpublic openConfig() {\r\n\t\tif (this.disabled) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.isOpen = true;\r\n\t}\r\n\r\n\tpublic updateCondition(condition: ConditionViewModel) {\r\n\t\tthis.condition = condition;\r\n\t}\r\n\r\n\tpublic onConfigCompleted(condition: ConditionViewModel) {\r\n\t\tthis.condition = condition;\r\n\t\tthis.closeConfig();\r\n\t}\r\n\r\n\tpublic deleteCondition() {\r\n\t\tif (this.disabled) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.deleted = true;\r\n\t\tthis.$emit('deleted');\r\n\t}\r\n\r\n\tprivate checkConditionStillValid() {\r\n\t\tif (this.condition) {\r\n\t\t\tconst isInvalid = !this.manager.isConditionValid(this.condition);\r\n\t\t\tconst currentlyInvalid = !!this.condition.invalid;\r\n\t\t\tif (isInvalid !== currentlyInvalid) {\r\n\t\t\t\tthis.condition.invalid = isInvalid;\r\n\t\t\t\tthis.$emit('updated', this.condition);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n","import { DayRange, BusinessHoursOption } from '.';\r\nimport { BusinessHoursViewModel } from '../../models';\r\nimport DateTimeService from '@/shared/services/dateTime';\r\nimport {store} from '@/store';\r\nimport {HolidayViewModel} from '@/features/bots/models/holidayViewModel';\r\n\r\nexport class BusinessHoursOptions {\r\n\tpublic static dayOptions: DayRange[] = [\r\n\t\t{ name: 'Monday', startDay: 0, endDay: 0 },\r\n\t\t{ name: 'Tuesday', startDay: 1, endDay: 1 },\r\n\t\t{ name: 'Wednesday', startDay: 2, endDay: 2 },\r\n\t\t{ name: 'Thursday', startDay: 3, endDay: 3 },\r\n\t\t{ name: 'Friday', startDay: 4, endDay: 4 },\r\n\t\t{ name: 'Saturday', startDay: 5, endDay: 5 },\r\n\t\t{ name: 'Sunday', startDay: 6, endDay: 6 },\r\n\t];\r\n\r\n\tpublic static dayRangeOptions: DayRange[] = [\r\n\t\t{ name: 'Every day', startDay: 0, endDay: 6 },\r\n\t\t{ name: 'Weekdays', startDay: 0, endDay: 4 },\r\n\t\t{ name: 'Weekends', startDay: 5, endDay: 6 },\r\n\t];\r\n\r\n\tpublic static getDefaultOption(): BusinessHoursOption {\r\n\t\tconst everyDayOption = this.findDayRangeOption(\r\n\t\t\tthis.defaultDayStart,\r\n\t\t\tthis.defaultDayEnd\r\n\t\t);\r\n\t\treturn new BusinessHoursOption(\r\n\t\t\teveryDayOption,\r\n\t\t\ttrue,\r\n\t\t\tthis.defaultTimeStart,\r\n\t\t\tthis.defaultTimeEnd\r\n\t\t);\r\n\t}\r\n\r\n\tpublic static getDefaultModel(): BusinessHoursViewModel {\r\n\t\treturn {\r\n\t\t\tstartDay: this.defaultDayStart,\r\n\t\t\tendDay: this.defaultDayEnd,\r\n\t\t\tclosed: false,\r\n\t\t\tstartTime: DateTimeService.getMinutes(this.defaultTimeStart),\r\n\t\t\tendTime: DateTimeService.getMinutes(this.defaultTimeEnd),\r\n\t\t};\r\n\t}\r\n\r\n\tpublic static findDayRangeOption(\r\n\t\tstartDay?: number,\r\n\t\tendDay?: number,\r\n\t\tholidayId?: string\r\n\t): DayRange {\r\n\t\tconst options = [...this.dayOptions, ...this.dayRangeOptions, ...BusinessHoursOptions.getHolidayOptions()];\r\n\r\n\t\tconst option = options.find(\r\n\t\t\t(range) => (startDay != null && endDay != null && range.startDay === startDay && range.endDay === endDay)\r\n\t\t\t\t|| (holidayId != null && range.holidayId === holidayId)\r\n\t\t);\r\n\r\n\t\tif (!option) {\r\n\t\t\tthrow new Error('could not find option');\r\n\t\t}\r\n\r\n\t\treturn option;\r\n\t}\r\n\r\n\tprivate static defaultDayStart = 0;\r\n\tprivate static defaultDayEnd = 6;\r\n\tprivate static defaultTimeStart = '09:00';\r\n\tprivate static defaultTimeEnd = '17:00';\r\n\r\n\tprivate static getHolidayOptions(): DayRange[] {\r\n\t\treturn store.getters.holidays.map((h: HolidayViewModel) => ({ name: h.name, holidayId: h.id }));\r\n\t}\r\n}\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UsageReports.vue?vue&type=style&index=0&id=176143c3&prod&scoped=true&lang=scss\"","\r\nimport { Component, Prop, Vue, Mixins } from 'vue-property-decorator';\r\nimport { Bar } from 'vue-chartjs';\r\nimport { ChartConfig } from './chartConfig';\r\nimport { Data, Series, SeriesConfig, SeriesOrderConfiguration } from '../../models';\r\nimport ColourService from '@/shared/services/color';\r\nimport { ChartDataFormat } from '@/features/reports/models/chartDataFormat';\r\n\r\n// @ts-ignore\r\nimport * as stacked from 'chartjs-plugin-stacked100';\r\n\r\ninterface PercentageChartData extends Chart.ChartData {\r\n\toriginalData: [];\r\n\tcalculatedData: [];\r\n}\r\n\r\n@Component\r\nexport default class PercentageStackedBarChart extends Mixins(Bar) {\r\n\t@Prop() public data: Data;\r\n\t@Prop() public reportId: string;\r\n\t@Prop() public seriesOrder: SeriesOrderConfiguration;\r\n\t@Prop() public seriesToCompareTo: string;\r\n\tpublic renderSeriesInReverse: boolean = true;\r\n\r\n\tpublic mounted() {\r\n\t\tthis.addPlugin(stacked);\r\n\r\n\t\tconst data = this.mapData(this.data);\r\n\t\tconst options = this.overrideOptions(ChartConfig.gridChartsGlobalOptions);\r\n\t\tthis.renderChart(data, options);\r\n\t}\r\n\r\n\tpublic overrideOptions(options: Chart.ChartOptions): Chart.ChartOptions {\r\n\t\toptions.plugins!.stacked100 = { enable: true, replaceTooltipLabel: false };\r\n\t\toptions.plugins!.inlineLabels = {\r\n\t\t\treportId: this.reportId,\r\n\t\t\treverseLabels: this.renderSeriesInReverse,\r\n\t\t\tdataFormat: ChartDataFormat.PERCENTAGE,\r\n\t\t\tdefaultLabelValues: this.seriesToCompareTo ? this.calculatePercentageLabels() : undefined\r\n\t\t};\r\n\t\toptions.plugins!.crosshair = false;\r\n\t\toptions.scales = {\r\n\t\t\txAxes: [\r\n\t\t\t\t{\r\n\t\t\t\t\tscaleLabel: {\r\n\t\t\t\t\t\tlabelString: this.data.scale.title\r\n\t\t\t\t\t},\r\n\t\t\t\t\tticks: {\r\n\t\t\t\t\t\tmaxTicksLimit: 32\r\n\t\t\t\t\t},\r\n\t\t\t\t\tgridLines: {\r\n\t\t\t\t\t\tdisplay: false\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t],\r\n\t\t\tyAxes: [\r\n\t\t\t\t{\r\n\t\t\t\t\tticks: {\r\n\t\t\t\t\t\tcallback: value => `${value}%`\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t};\r\n\t\toptions.tooltips!.callbacks = {\r\n\t\t\tlabel: (tooltipItem: Chart.ChartTooltipItem, data: PercentageChartData) => {\r\n\t\t\t\tconst index = tooltipItem.index!;\r\n\t\t\t\tconst datasetIndex = tooltipItem.datasetIndex!;\r\n\r\n\t\t\t\tconst originalValue = this.orderedSeries[datasetIndex].data[index];\r\n\t\t\t\tconst compareToValue = this.seriesToCompareTo\r\n\t\t\t\t\t? this.getSeries(this.seriesToCompareTo).data[index]\r\n\t\t\t\t\t: this.orderedSeries.reduce((prev, curr) => prev + curr.data[index], 0);\r\n\r\n\t\t\t\tconst percentageOfTotal = compareToValue === 0 ? 0 : (originalValue / compareToValue) * 100;\r\n\t\t\t\tconst roundedPercentage = Math.round(percentageOfTotal * 100) / 100;\r\n\r\n\t\t\t\ttooltipItem.value = `${roundedPercentage}%`;\r\n\t\t\t\treturn tooltipItem.value;\r\n\t\t\t}\r\n\t\t};\r\n\t\toptions.legend!.reverse = this.renderSeriesInReverse;\r\n\r\n\t\treturn options;\r\n\t}\r\n\r\n\tpublic mapData(data: Data): Chart.ChartData {\r\n\t\tconst backgroundPalette = ChartConfig.borderPalette(this.seriesRenderOrder);\r\n\t\tconst borderPalette = ChartConfig.borderPalette(this.seriesRenderOrder);\r\n\r\n\t\treturn {\r\n\t\t\tlabels: data.scale.labels,\r\n\t\t\tdatasets: this.orderedSeries.map(\r\n\t\t\t\t(series, index) =>\r\n\t\t\t\t\t({\r\n\t\t\t\t\t\tlabel: this.getSeriesConfig(series.name).displayName,\r\n\t\t\t\t\t\tdata: this.seriesToCompareTo ? this.getAdjustedValues(series) : series.data,\r\n\t\t\t\t\t\tbackgroundColor: backgroundPalette[index],\r\n\t\t\t\t\t\tborderColor: borderPalette[index],\r\n\t\t\t\t\t\thoverBackgroundColor: ColourService.setAlpha(backgroundPalette[index], 0.4),\r\n\t\t\t\t\t\tborderWidth: 1\r\n\t\t\t\t\t} as Chart.ChartDataSets)\r\n\t\t\t)\r\n\t\t};\r\n\t}\r\n\r\n\tprivate calculatePercentageLabels(): Map {\r\n\t\tconst labels = new Map();\r\n\r\n\t\tconst compareToSeries = this.getSeries(this.seriesToCompareTo);\r\n\t\tconst compareToTotal = compareToSeries.data.reduce((sum, value) => sum + value, 0);\r\n\r\n\t\tthis.data.series.forEach((series) => {\r\n\t\t\tconst total = series.data.reduce((sum, value) => sum + value, 0);\r\n\t\t\tconst percentageOfTotal = compareToTotal === 0 ? 0 : (total / compareToTotal) * 100;\r\n\t\t\tconst roundedPercentage = Math.round(percentageOfTotal * 100) / 100;\r\n\t\t\tlabels.set(series.name, `${roundedPercentage.toString()}%`);\r\n\t\t});\r\n\r\n\t\treturn labels;\r\n\t}\r\n\r\n\tprivate getAdjustedValues(seriesData: Series): number[] {\r\n\t\treturn seriesData.data.map((dataPoint, index) => {\r\n\t\t\tlet value = dataPoint;\r\n\t\t\tvalue -= this.getValueForAdjustment(seriesData, index);\r\n\t\t\treturn value;\r\n\t\t});\r\n\t}\r\n\r\n\tprivate getValueForAdjustment(seriesData: Series, index: number) {\r\n\t\tconst thisSeriesIndex = this.getIndexOfSeries(seriesData.name);\r\n\t\tconst adjustmentValueIsInSeriesAfter = this.getIndexOfSeries(this.seriesToCompareTo) === 0;\r\n\r\n\t\tif (adjustmentValueIsInSeriesAfter) {\r\n\t\t\tif (thisSeriesIndex < this.seriesRenderOrder.length) {\r\n\t\t\t\treturn this.orderedSeries[thisSeriesIndex + 1].data[index];\r\n\t\t\t}\r\n\t\t} else if (thisSeriesIndex > 0) {\r\n\t\t\treturn this.orderedSeries[thisSeriesIndex - 1].data[index];\r\n\t\t}\r\n\r\n\t\treturn 0;\r\n\t}\r\n\r\n\tprivate get orderedSeries(): Series[] {\r\n\t\treturn this.seriesRenderOrder.map(seriesConfig => this.getSeries(seriesConfig.name));\r\n\t}\r\n\r\n\tprivate getSeries(name: string): Series {\r\n\t\treturn this.data.series.filter(series => series.name === name)[0];\r\n\t}\r\n\r\n\tprivate getSeriesConfig(name: string): SeriesConfig {\r\n\t\treturn this.seriesConfig.filter(config => config.name === name)[0];\r\n\t}\r\n\r\n\tprivate get seriesConfig(): SeriesConfig[] {\r\n\t\tif (typeof this.seriesOrder[0] === 'string') {\r\n\t\t\treturn (this.seriesOrder as string[]).map(seriesName => ({ name: seriesName, displayName: seriesName }));\r\n\t\t}\r\n\t\treturn this.seriesOrder as SeriesConfig[];\r\n\t}\r\n\r\n\tprivate get seriesRenderOrder(): SeriesConfig[] {\r\n\t\treturn this.renderSeriesInReverse ? this.seriesConfig.slice().reverse() : this.seriesConfig;\r\n\t}\r\n\r\n\tprivate getIndexOfSeries(name: string): number {\r\n\t\treturn this.seriesRenderOrder.map(cfg => cfg.name).indexOf(name);\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./ReportDownloader.vue?vue&type=template&id=b40cdb30&scoped=true\"\nimport script from \"./ReportDownloader.vue?vue&type=script&lang=ts\"\nexport * from \"./ReportDownloader.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ReportDownloader.vue?vue&type=style&index=0&id=b40cdb30&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b40cdb30\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport NoDataIcon from '@/shared/icons/InsertChartOutlined.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tNoDataIcon\r\n\t}\r\n})\r\nexport default class ChartNoData extends Vue {\r\n}\r\n","import { render, staticRenderFns } from \"./TitledSection.vue?vue&type=template&id=5334468a&scoped=true\"\nimport script from \"./TitledSection.vue?vue&type=script&lang=ts\"\nexport * from \"./TitledSection.vue?vue&type=script&lang=ts\"\nimport style0 from \"./TitledSection.vue?vue&type=style&index=0&id=5334468a&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5334468a\",\n null\n \n)\n\nexport default component.exports","import { btApi } from '../../btsms/services/btApi';\r\nimport { messengerApi } from '../../messenger/services/messengerApi';\r\nimport { twitterApi } from '../../twitter/services/twitterApi';\r\nimport { govNotifyApi } from '../../govuknotifysms/services/govNotifyApi';\r\nimport { instagramApi } from '../../messenger/services/instagramApi';\r\nimport { googleBmApi } from '../../googlebm/services/googlebmApi';\r\n\r\nexport interface IAppApiUninstall {\r\n\tuninstall(workspaceId: string, installId: string): Promise;\r\n\tcanUninstall(): boolean;\r\n\tgetUninstallNotAllowedMessage(): string;\r\n}\r\nconst apis: {[key: string]: IAppApiUninstall} = {\r\n\t'btsms': btApi,\r\n\t'messenger': messengerApi,\r\n\t'twitter': twitterApi,\r\n\t'govuknotifysms': govNotifyApi,\r\n\t'instagram': instagramApi,\r\n\t'google-bm': googleBmApi\r\n};\r\n\r\nexport const AppApiFactory = {\r\n\tget: (name: string) => apis[name]\r\n};\r\n","\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Vue, Watch} from 'vue-property-decorator';\r\nimport PageHeader from '@/shared/components/pageHeader/PageHeader.vue';\r\nimport {TabItem} from '@/shared/components/pageHeader/tabItem';\r\nimport {Action, Getter} from 'vuex-class';\r\nimport {ON_REPORT_VIEW_EXIT} from '@/store/reports/actionTypes';\r\nimport {Route} from 'vue-router';\r\nimport {NLP_ENABLED} from '@/store/app/featureTypes';\r\nimport ReportFilters from '@/features/reports/components/ReportFilters.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tPageHeader,\r\n\t\tReportFilters\r\n\t}\r\n})\r\nexport default class Reports extends Vue {\r\n\t@Action(ON_REPORT_VIEW_EXIT) public onReportExit: any;\r\n\t@Getter public isWorkspaceFeatureEnabled!: (key: string) => boolean;\r\n\r\n\tpublic activeRoute: Route;\r\n\r\n\tpublic beforeRouteLeave(to: Route, from: Route, next: any) {\r\n\t\tthis.handleOnTabExit(to, from);\r\n\t\tnext();\r\n\t}\r\n\r\n\t@Watch('$route', {immediate: true})\r\n\tpublic onRoute(to: Route, from: Route) {\r\n\t\tthis.activeRoute = to;\r\n\t\tif (from && from.path.includes('/reports/')) {\r\n\t\t\tthis.handleOnTabExit(to, from);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic get tabs(): TabItem[] {\r\n\t\tconst tabs = [\r\n\t\t\t{ name: 'Overview', route: 'reports-overview'},\r\n\t\t\t{ name: 'Usage', route: 'reports-usage'},\r\n\t\t\t{ name: 'Flows', route: 'reports-flows'},\r\n\t\t];\r\n\r\n\t\tif (this.isWorkspaceFeatureEnabled(NLP_ENABLED)) {\r\n\t\t\ttabs.push({ name: 'Intents', route: 'reports-intents'});\r\n\t\t}\r\n\r\n\t\treturn tabs;\r\n\t}\r\n\r\n\tprivate handleOnTabExit(to: Route, from: Route) {\r\n\t\tconst fromName = from ? from.name : '';\r\n\t\tconst toName = to ? to.name : '';\r\n\t\tthis.onReportExit({from: fromName, to: toName});\r\n\t}\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PercentageBarChart.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PercentageBarChart.vue?vue&type=script&lang=ts\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropDownMenu.vue?vue&type=style&index=0&id=6a19fc23&prod&scoped=true&lang=scss\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChannelIdentityPicker.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChannelIdentityPicker.vue?vue&type=script&lang=ts\"","import { MutationTree } from 'vuex';\r\nimport { FlowDesignerState } from '.';\r\nimport {\r\n\tSET_CURRENT_FLOW,\r\n\tADD_FLOW_VARIABLE,\r\n\tSET_FLOW_NAME,\r\n\tMAKE_DIRTY,\r\n\tRESET_CHANGE_TRACKER,\r\n\tSET_IS_SAVE_FLOW_IN_PROGRESS,\r\n\tSET_FLOWS,\r\n\tSET_FLOW_VARIABLES,\r\n\tSET_FLOW_STATUS,\r\n\tUPDATE_FLOW,\r\n\tCLEAR_FLOWS_CACHE,\r\n} from './mutationTypes';\r\nimport {\r\n\tInputVariableViewModel,\r\n\tFlowViewModel,\r\n\tChangeType\r\n} from '@/features/bots/models/designer';\r\nimport {FlowListItemViewModel} from '@/features/bots/models/flowListItemViewModel';\r\nimport { FlowStatus } from '@/features/bots/models/flowStatus';\r\n\r\nexport const mutations: MutationTree = {\r\n\r\n\t[SET_CURRENT_FLOW](state, flow: FlowViewModel) {\r\n\t\tstate.currentFlow = {\r\n\t\t\tid: flow.id,\r\n\t\t\tname: flow.name,\r\n\t\t\tstatus: flow.status,\r\n\t\t\tbusinessHours: flow.businessHours || [],\r\n\t\t\tpaths: flow.paths || [],\r\n\t\t\ttriggers: flow.triggers || [],\r\n\t\t\tparentFlows: flow.parentFlows,\r\n\t\t\tparentAnswers: flow.parentAnswers,\r\n\t\t\tscheduleCondition: flow.scheduleCondition && flow.scheduleCondition.attribute !== null ? flow.scheduleCondition : undefined,\r\n\t\t\ttriggerConditions: flow.triggerConditions || {\r\n\t\t\t\ttype: 'and',\r\n\t\t\t\tconditions: []\r\n\t\t\t},\r\n\t\t\taudienceConditions: flow.audienceConditions || {\r\n\t\t\t\ttype: 'and',\r\n\t\t\t\tconditions: []\r\n\t\t\t},\r\n\t\t\ttargetContactTypes: flow.targetContactTypes || []\r\n\t\t};\r\n\t},\r\n\r\n\t[SET_FLOW_VARIABLES](state, flowVariables: InputVariableViewModel[]) {\r\n\t\tstate.flowVariables = flowVariables;\r\n\t},\r\n\r\n\t[ADD_FLOW_VARIABLE](state, flowVar: InputVariableViewModel) {\r\n\t\tstate.flowVariables.push(flowVar);\r\n\t},\r\n\r\n\t[SET_FLOW_NAME](state, flowName: string) {\r\n\t\tstate.currentFlow.name = flowName;\r\n\t},\r\n\r\n\t[MAKE_DIRTY](state, key: ChangeType) {\r\n\t\tstate.changes[key] = true;\r\n\t},\r\n\r\n\t[SET_FLOW_STATUS](state, flowStatus: FlowStatus) {\r\n\t\tstate.currentFlow.status = flowStatus;\r\n\t\tconst flow = state.flows.find(f => f.id === state.currentFlow.id);\r\n\t\tif (flow) {\r\n\t\t\tflow.status = flowStatus;\r\n\t\t}\r\n\t},\r\n\r\n\t[RESET_CHANGE_TRACKER](state) {\r\n\t\tstate.changes = {\r\n\t\t\t[ChangeType.Name]: false,\r\n\t\t\t[ChangeType.Paths]: false,\r\n\t\t\t[ChangeType.Triggers]: false,\r\n\t\t\t[ChangeType.Conditions]: false\r\n\t\t};\r\n\t},\r\n\r\n\t[SET_IS_SAVE_FLOW_IN_PROGRESS](state, isSaving: boolean) {\r\n\t\tstate.isSaveFlowInProgress = isSaving;\r\n\t},\r\n\r\n\t[SET_FLOWS](state, flows: FlowListItemViewModel[]) {\r\n\t\tstate.flows = flows;\r\n\t},\r\n\r\n\t[UPDATE_FLOW](state, flow: FlowViewModel) {\r\n\t\tstate.flows = state.flows.map(f => {\r\n\t\t\tif (f.id === flow.id) {\r\n\t\t\t\treturn {\r\n\t\t\t\t\t...f,\r\n\t\t\t\t\tname: flow.name,\r\n\t\t\t\t\tstatus: flow.status,\r\n\t\t\t\t\ttriggers: flow.triggers,\r\n\t\t\t\t};\r\n\t\t\t}\r\n\t\t\treturn f;\r\n\t\t});\r\n\t},\r\n\r\n\t[CLEAR_FLOWS_CACHE](state) {\r\n\t\tstate.flows = [];\r\n\t}\r\n};\r\n","export enum ChangeType {\r\n\tPaths = 'paths',\r\n\tName = 'name',\r\n\tTriggers = 'triggers',\r\n\tConditions = 'conditions'\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { Action, Getter } from 'vuex-class';\r\nimport { IntentListItemViewModel } from '@/features/bots/models/intents/intentListItemViewModel';\r\nimport AddIntentModal from '@/features/bots/components/designer/AddIntentModal.vue';\r\nimport AddIcon from 'vue-material-design-icons/Plus.vue';\r\nimport { IntentViewModel } from '@/features/bots/models/intents/intentViewModel';\r\nimport { required } from 'vuelidate/lib/validators';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { ConditionViewModel } from '@/shared/components/conditions/models/conditionViewModel';\r\nimport { LOAD_INTENTS } from '@/store/intents/actionTypes';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport Toast from '@/shared/services/toast';\r\nimport { TriggerConditionAttributeType } from '@/features/bots/components/designer/Conditions/triggerConditionsManager';\r\n\r\n@Component({\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tliveCondition: {\r\n\t\t\tvalue: { required }\r\n\t\t},\r\n\t},\r\n\tcomponents: {\r\n\t\tAddIntentModal,\r\n\t\tAddIcon,\r\n\t\tLoadingSpinner\r\n\t}\r\n})\r\nexport default class IntentCondition extends Vue {\r\n\t@Getter public intents!: IntentListItemViewModel[];\r\n\t@Action(LOAD_INTENTS) public loadIntents: (forceLoad?: boolean) => Promise;\r\n\t@Prop() public condition: ConditionViewModel;\r\n\r\n\tpublic selectedIntentId: string = '';\r\n\tpublic isLoading: boolean = false;\r\n\r\n\tpublic liveCondition: ConditionViewModel = {\r\n\t\tattribute: TriggerConditionAttributeType.MessageIntent,\r\n\t\toperation: '',\r\n\t\ttype: '',\r\n\t\tvalue: '',\r\n\t\tresult: true\r\n\t};\r\n\r\n\tpublic async mounted() {\r\n\t\tthis.isLoading = true;\r\n\t\ttry {\r\n\t\t\tawait this.loadIntents();\r\n\t\t} catch {\r\n\t\t\tToast.showError('Failed to load intents');\r\n\t\t}\r\n\t\tthis.isLoading = false;\r\n\r\n\t\tif (this.condition) {\r\n\t\t\tthis.liveCondition = {\r\n\t\t\t\tattribute: TriggerConditionAttributeType.MessageIntent,\r\n\t\t\t\toperation: 'equals',\r\n\t\t\t\ttype: this.condition.type,\r\n\t\t\t\tvalue: this.condition.value,\r\n\t\t\t\tresult: this.condition.result,\r\n\t\t\t\tunit: this.condition.unit,\r\n\t\t\t\tinvalid: this.condition.invalid\r\n\t\t\t};\r\n\r\n\t\t\tif (this.liveCondition.invalid) {\r\n\t\t\t\tthis.$v.$touch();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tthis.emitConditionChanged();\r\n\t}\r\n\r\n\tpublic get intentsForFlows() {\r\n\t\treturn this.intents.filter(e => e.id !== 'None');\r\n\t}\r\n\r\n\tpublic async chooseIntent(intent: IntentListItemViewModel) {\r\n\t\tthis.selectedIntentId = intent.id;\r\n\t\tthis.chosenIntent();\r\n\t}\r\n\r\n\tpublic addNewIntent() {\r\n\t\tconst modal: any = this.$refs.intentConditionAddModal;\r\n\t\tif (modal) {\r\n\t\t\tmodal.addNewIntent();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic addedIntent(intent: IntentViewModel) {\r\n\t\tthis.selectedIntentId = intent.id;\r\n\t\tthis.chosenIntent();\r\n\t}\r\n\r\n\tpublic cancelled() {\r\n\t\tthis.complete();\r\n\t}\r\n\r\n\tprivate chosenIntent() {\r\n\t\tthis.liveCondition.value = this.selectedIntentId;\r\n\t\tthis.complete();\r\n\t}\r\n\r\n\tprivate emitConditionChanged() {\r\n\t\tthis.liveCondition.invalid = this.$v.$invalid;\r\n\t\tthis.$emit('changed', this.liveCondition);\r\n\t}\r\n\r\n\tprivate complete() {\r\n\t\tthis.liveCondition.invalid = this.$v.$invalid;\r\n\t\tthis.$emit('completed', this.liveCondition);\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./ListCondition.vue?vue&type=template&id=a53c13c6\"\nimport script from \"./ListCondition.vue?vue&type=script&lang=ts\"\nexport * from \"./ListCondition.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue, Watch} from 'vue-property-decorator';\r\nimport ChevronRight from 'vue-material-design-icons/ChevronDoubleRight.vue';\r\nimport ChevronLeft from 'vue-material-design-icons/ChevronDoubleLeft.vue';\r\nimport SkipNext from 'vue-material-design-icons/SkipNext.vue';\r\nimport SkipPrevious from 'vue-material-design-icons/SkipPrevious.vue';\r\n\r\nexport interface Page {\r\n\tstart: number;\r\n\tend: number;\r\n}\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tChevronRight,\r\n\t\tChevronLeft,\r\n\t\tSkipNext,\r\n\t\tSkipPrevious\r\n\t}\r\n})\r\nexport default class PagingControl extends Vue {\r\n\t@Prop({default: 0}) public total: number;\r\n\t@Prop({default: 50}) public rowsPerPage: number;\r\n\t@Prop({default: 1}) public page: number;\r\n\t@Prop({default: false}) public disableControls: boolean;\r\n\r\n\tpublic currentPage = 1;\r\n\tpublic totalRows = 0;\r\n\r\n\tpublic mounted() {\r\n\t\tthis.totalRows = this.total || 0;\r\n\t\tthis.currentPage = this.page || 1;\r\n\t}\r\n\r\n\t@Watch('total')\r\n\tpublic onTotalChanged(current: number, previous: number) {\r\n\t\tthis.totalRows = current;\r\n\r\n\t\tif (this.totalRows < 0) {\r\n\t\t\tthis.totalRows = 0;\r\n\t\t}\r\n\r\n\t\t// if new total means that our current page is invalid, then reset back to the first page\r\n\t\tif (this.currentPage > 1 && this.isPageOutOfBounds(this.currentPage)) {\r\n\t\t\tthis.currentPage = 1;\r\n\t\t\tthis.pageChanged();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic numberOfPages() {\r\n\t\tif (this.totalRows <= 0) {\r\n\t\t\treturn 1;\r\n\t\t}\r\n\r\n\t\treturn Math.max(Math.ceil(this.totalRows / this.rowsPerPage), 1);\r\n\t}\r\n\r\n\tpublic last() {\r\n\t\tif (this.disableControls) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (this.hasNext()) {\r\n\t\t\tthis.currentPage = this.numberOfPages();\r\n\t\t\tthis.pageChanged();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic first() {\r\n\t\tif (this.disableControls) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (this.hasPrevious()) {\r\n\t\t\tthis.currentPage = 1;\r\n\t\t\tthis.pageChanged();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic next() {\r\n\t\tif (this.disableControls) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (this.hasNext()) {\r\n\t\t\tthis.currentPage++;\r\n\t\t\tthis.pageChanged();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic previous() {\r\n\t\tif (this.disableControls) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (this.hasPrevious()) {\r\n\t\t\tthis.currentPage--;\r\n\t\t\tthis.pageChanged();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic hasNext() {\r\n\t\tconst next = this.currentPage + 1;\r\n\t\treturn !this.isPageOutOfBounds(next);\r\n\t}\r\n\r\n\tpublic hasPrevious() {\r\n\t\treturn this.currentPage > 1;\r\n\t}\r\n\r\n\tprivate startOfPage(pageNumber?: number): number {\r\n\t\t// default to current page if page number not supplied\r\n\t\tpageNumber = typeof pageNumber !== 'undefined' ? pageNumber : this.currentPage;\r\n\t\treturn (pageNumber - 1) * this.rowsPerPage + 1;\r\n\t}\r\n\r\n\tprivate endOfPage(pageNumber?: number): number {\r\n\t\t// default to current page if page number not supplied\r\n\t\tpageNumber = typeof pageNumber !== 'undefined' ? pageNumber : this.currentPage;\r\n\t\treturn Math.min(pageNumber * this.rowsPerPage, this.totalRows);\r\n\t}\r\n\r\n\tprivate pageChanged() {\r\n\t\t// our rows are 1-based, but consumers of this will likely have their records stored in 0-based arrays\r\n\t\tthis.$emit('page-changed', {\r\n\t\t\tstart: this.startOfPage() - 1,\r\n\t\t\tend: this.endOfPage()\r\n\t\t} as Page);\r\n\t}\r\n\r\n\tprivate isPageOutOfBounds(pageNumber: number): boolean {\r\n\t\treturn this.startOfPage(pageNumber) > this.totalRows;\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:\"utterance-list\"},[_c('transition-group',{attrs:{\"name\":\"fade\"}},_vm._l((_vm.utterances),function(utterance,index){return _c('li',{key:utterance.id,staticClass:\"utterance-list-item\"},[_c('div',{staticClass:\"utterance-item\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(utterance.text),expression:\"utterance.text\"}],ref:'input-' + utterance.id,refInFor:true,staticClass:\"input\",attrs:{\"type\":\"text\",\"placeholder\":_vm.getPlaceholderText(),\"required\":\"\",\"disabled\":!_vm.isEditable},domProps:{\"value\":(utterance.text)},on:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.moveToNextUtterance(utterance.id)},\"keyup\":function($event){return _vm.v.$each[index].$touch()},\"change\":_vm.utteranceChanged,\"input\":function($event){if($event.target.composing){ return; }_vm.$set(utterance, \"text\", $event.target.value)}}}),_c('a',{staticClass:\"delete is-small\",on:{\"click\":function($event){return _vm.deleteUtterance(utterance.id)}}})]),(_vm.v.$each[index].text.$error && !_vm.v.$each[index].text.required)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\tThe \"+_vm._s(_vm.term)+\" text must not be empty\\n\\t\\t\\t\")]):_vm._e(),(_vm.v.$each[index].text.$error && !_vm.v.$each[index].text.isUnique)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\tThe \"+_vm._s(_vm.term)+\" must be unique\\n\\t\\t\\t\")]):_vm._e()])}),0),_c('li',{staticClass:\"utterance-list-item add-item-wrapper\"},[(_vm.v.$error && !_vm.v.required)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\tYou must add at least one \"+_vm._s(_vm.term)+\"\\n\\t\\t\")]):_vm._e(),_c('button',{staticClass:\"button is-primary is-outlined is-fullwidth add-utterance\",attrs:{\"disabled\":!_vm.isEditable},on:{\"click\":function($event){return _vm.addUtterance()}}},[_vm._v(\"\\n\\t\\t\\tAdd Another Example\\n\\t\\t\")])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Vue, Prop, } from 'vue-property-decorator';\n\n@Component({\n})\nexport default class Badge extends Vue {\n\t@Prop() public type: BadgeType;\n\t@Prop({default: 'small'}) public size?: BadgeSize;\n\n\tprivate get badgeClass(): string {\n\t\treturn `${this.badgeTypeClass} ${this.badgeSizeClass}`;\n\t}\n\n\tprivate get badgeTypeClass(): string {\n\t\treturn 'is-' + (this.type ? this.type : 'disabled');\n\t}\n\n\tprivate get badgeSizeClass(): string {\n\t\tif ( this.size === 'large') {\n\t\t\treturn 'large-tag';\n\t\t} else if ( this.size === 'medium') {\n\t\t\treturn 'medium-tag';\n\t\t} else {\n\t\t\treturn 'small-tag';\n\t\t}\n\t}\n}\n\ntype BadgeType = 'disabled' | 'danger' | 'warning' | 'info' | 'link' | 'primary' | 'success';\ntype BadgeSize = 'small' | 'medium' | 'large';\n\n","interface DateRange {\r\n\tstart: Date;\r\n\tend: Date;\r\n}\r\n\r\nexport enum DateGrouping {\r\n\tHOUR = 'hour',\r\n\tDAY = 'day',\r\n\tMONTH = 'month'\r\n}\r\n\r\nexport interface DateOption {\r\n\tlabel: string;\r\n\tgetDateRange: () => DateRange;\r\n\tgroup: DateGrouping;\r\n\tlistGroup: number;\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TagsInput.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TagsInput.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class CollapsibleSection extends Vue {\r\n\t@Prop() public index: any;\r\n\t@Prop() public value: any;\r\n\r\n\tpublic isActive() {\r\n\t\treturn this.index === this.value;\r\n\t}\r\n\r\n\tpublic setActive() {\r\n\t\tthis.$emit('input', this.index);\r\n\t}\r\n}\r\n\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { TabItem } from './tabItem';\r\nimport { HeaderButton } from './headerButton';\r\nimport { Route } from 'vue-router';\r\n\r\n@Component\r\nexport default class PageHeader extends Vue {\r\n\t@Prop() public title: string;\r\n\t@Prop() public description: string;\r\n\t@Prop() public tabs: TabItem[];\r\n\t@Prop() public buttons: HeaderButton[];\r\n\r\n\tpublic activeRoute: Route = {} as Route;\r\n\r\n\t@Watch('$route', { immediate: true })\r\n\tpublic onRoute(to: Route, from: Route) {\r\n\t\tthis.activeRoute = to;\r\n\t}\r\n\r\n\tpublic hasTabs() {\r\n\t\treturn this.tabs && this.tabs.length > 0;\r\n\t}\r\n\r\n\tpublic hasButtons() {\r\n\t\treturn this.buttons && this.buttons.length > 0;\r\n\t}\r\n\r\n\tpublic isTabActive(tab: TabItem): boolean {\r\n\t\treturn this.isTabTheActiveRoute(tab) || this.isNoExactMatchAndActiveRouteBeginsWithTabsPath(tab);\r\n\t}\r\n\r\n\tprivate isTabTheActiveRoute(tab: TabItem) {\r\n\t\treturn this.activeRoute.name === tab.route;\r\n\t}\r\n\r\n\tprivate isNoExactMatchAndActiveRouteBeginsWithTabsPath(tab: TabItem) {\r\n\t\treturn !this.isAnyTabActive() && this.doesActiveRouteBeginWithPath(tab.route);\r\n\t}\r\n\r\n\tprivate isAnyTabActive(): boolean {\r\n\t\treturn this.tabs.filter(tab => this.activeRoute.name === tab.route).length > 0;\r\n\t}\r\n\r\n\tprivate doesActiveRouteBeginWithPath(routeName: string): boolean {\r\n\t\tconst path: string = this.getRoutePath(routeName);\r\n\t\treturn !!this.activeRoute.path && this.activeRoute.path.indexOf(path) === 0;\r\n\t}\r\n\r\n\tprivate getRoutePath(routeName: string): string {\r\n\t\tconst allRoutes: Route[] = (this.$router as any).options.routes;\r\n\t\tconst matchedRoutes: Route[] = allRoutes.filter(route => route.name === routeName || route.name === '/' + routeName);\r\n\t\treturn matchedRoutes.length === 1 ? matchedRoutes[0].path : '';\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page\"},[_c('UpgradeBanner'),_c('PageHeader',{attrs:{\"title\":\"Bot Studio\",\"description\":\"Automate your first response and data capture or create your own bot experiences\",\"tabs\":_vm.tabs,\"buttons\":_vm.buttons}}),_c('router-view'),(_vm.botPreviewActive)?_c('BotPreviewModal',{on:{\"cancel\":_vm.closeBotPreviewModal}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Toast from '@/shared/services/toast';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { Getter } from 'vuex-class';\r\nimport { GoogleBmAgent } from '../models/googleBmAgent';\r\nimport { googleBmApi } from '../services/googlebmApi';\r\n\r\n@Component({})\r\nexport default class GoogleBmCancelVerificationModal extends Vue {\r\n\t@Getter public currentWorkspace: WorkspaceViewModel;\r\n\r\n\t@Prop() public agent!: GoogleBmAgent;\r\n\r\n\t@Prop() public loading!: boolean;\r\n\r\n\tpublic async cancelVerification(): Promise {\r\n\t\tif (this.loading || !this.agent) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.loading = true;\r\n\t\ttry {\r\n\t\t\tconst result = await googleBmApi.cancelVerification(this.currentWorkspace.id, this.agent.customAgentId);\r\n\r\n\t\t\tthis.agent.verificationStatus = result.verificationState;\r\n\t\t\tToast.showSuccess('Verification cancelled');\r\n\t\t\tthis.$emit('cancelVerification', result.verificationState);\r\n\t\t} catch (e) {\r\n\t\t\tToast.showError(`Verification cancellation failed: ${e.message}`);\r\n\t\t}\r\n\t\tthis.loading = false;\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Vue} from 'vue-property-decorator';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport {Getter} from 'vuex-class';\r\nimport {workspacesApi} from '@/workspaces/workspaces';\r\nimport TagsInput from '@/shared/components/TagsInput.vue';\r\nimport Toast from '@/shared/services/toast';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tTagsInput\r\n\t}\r\n})\r\nexport default class InviteUser extends Vue {\r\n\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\r\n\tpublic updateInProgress: boolean = false;\r\n\tpublic emails: string[] = [];\r\n\r\n\tprivate emailRegex: RegExp = /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,24}))$/;\r\n\r\n\tpublic validation(input: string) {\r\n\t\tif (this.emailRegex.test(input)) {\r\n\t\t\treturn true;\r\n\t\t} else {\r\n\t\t\tToast.showError(`This is not a valid email`);\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic update(): void {\r\n\t\tif (this.updateInProgress) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (!this.hasEmailAddresses()) {\r\n\t\t\tToast.showError('No valid email addresses added');\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.updateInProgress = true;\r\n\t\tworkspacesApi.inviteUsers(this.emails, this.currentWorkspace.id)\r\n\t\t\t.then(() => {\r\n\t\t\t\tToast.showSuccess(`Successfully invited to ${this.currentWorkspace.name}`);\r\n\t\t\t\tthis.$emit('close', true);\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tthis.updateInProgress = false;\r\n\t\t\t\tToast.showError(err.message);\r\n\t\t\t});\r\n\t}\r\n\r\n\tpublic hasEmailAddresses() {\r\n\t\treturn this.emails.length > 0;\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { Getter, Action } from 'vuex-class';\r\nimport { required } from 'vuelidate/lib/validators';\r\nimport { validationMixin } from 'vuelidate';\r\n\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { appsApi } from '@/features/apps/shared/services/apps';\r\nimport { CreatePrivateAppViewModel } from '@/features/apps/shared/models';\r\n\r\nimport Toast from '@/shared/services/toast';\r\n\r\nimport { HANDLE_SERIOUS_ERROR } from '@/store/app/actionTypes';\r\n\r\n@Component({\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tappName: { required }\r\n\t}\r\n})\r\nexport default class CreatePrivateApp extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Action(HANDLE_SERIOUS_ERROR) public handleSeriousError: any;\r\n\r\n\tpublic appName: string = '';\r\n\tpublic actionInProgress: boolean = false;\r\n\r\n\tpublic created() {\r\n\t\tif (!this.currentWorkspace) {\r\n\t\t\tthis.handleSeriousError('No workspace selected');\r\n\t\t\treturn;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic save() {\r\n\t\tif (this.actionInProgress) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.actionInProgress = true;\r\n\r\n\t\tconst request = {\r\n\t\t\tappName: this.appName,\r\n\t\t} as CreatePrivateAppViewModel;\r\n\r\n\t\tappsApi.createPrivateApp(this.currentWorkspace.id, request)\r\n\t\t\t.then((result) => {\r\n\t\t\t\tthis.$router.push({ name: 'private-apps-edit', params: { id: result.app.id} });\r\n\t\t\t})\r\n\t\t\t.catch((err) => Toast.showError(err.message))\r\n\t\t\t.finally(() => this.actionInProgress = false);\r\n\t}\r\n\r\n\tpublic cancel() {\r\n\t\tthis.$router.push({ name: 'private-apps-list' });\r\n\t}\r\n}\r\n","export enum ChartDataFormat {\r\n\tTOTAL,\r\n\tPERCENTAGE\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MessagingReports.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MessagingReports.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page\"},[_vm._m(0),_c('section',{staticClass:\"section content-container\"},[(_vm.isLoading)?_c('LoadingSpinner'):_vm._e(),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isLoading),expression:\"!isLoading\"}],staticClass:\"container is-fluid\"},[_c('div',{staticClass:\"island\"},[_c('router-view',{on:{\"loaded\":function($event){return _vm.loaded()},\"loading\":function($event){return _vm.loading()}}})],1)])],1)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"section primary-header\"},[_c('div',{staticClass:\"container is-fluid\"},[_c('h1',{staticClass:\"title is-2\"},[_vm._v(\"Your Apps\")]),_c('h2',{staticClass:\"subtitle\"},[_vm._v(\"Connect with apps of your own\")])])])}]\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./btsmsConfig.vue?vue&type=template&id=1b0f8d04&scoped=true\"\nimport script from \"./btsmsConfig.vue?vue&type=script&lang=ts\"\nexport * from \"./btsmsConfig.vue?vue&type=script&lang=ts\"\nimport style0 from \"./btsmsConfig.vue?vue&type=style&index=0&id=1b0f8d04&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1b0f8d04\",\n null\n \n)\n\nexport default component.exports","import {Vue, Watch} from 'vue-property-decorator';\r\nimport {Getter} from 'vuex-class';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport {Data, DateOption} from '@/features/reports/models';\r\nimport shortid from 'shortid';\r\nimport {ChartType} from '@/features/reports/models/chartType';\r\n\r\nexport default abstract class BaseReport extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Getter public selectedDateOption!: DateOption;\r\n\r\n\tpublic abstract reportId: string;\r\n\r\n\tpublic data: Data = { scale: { title: '', labels: [] }, series: [] };\r\n\r\n\tpublic chartType: ChartType = ChartType.LINE;\r\n\r\n\tpublic loadingError: boolean = false;\r\n\tpublic loadedData: boolean = false;\r\n\r\n\tpublic mounted() {\r\n\t\tthis.reportId += `-${shortid.generate()}`;\r\n\t}\r\n\r\n\tpublic get loadedAndReturnedData() {\r\n\t\treturn this.loadedData && !this.isDataEmpty();\r\n\t}\r\n\r\n\tpublic get loadedAndNotReturnedData() {\r\n\t\treturn this.loadedData && this.isDataEmpty();\r\n\t}\r\n\r\n\tpublic get showLineChart() {\r\n\t\treturn this.chartType === ChartType.LINE;\r\n\t}\r\n\r\n\tpublic get showBarChart() {\r\n\t\treturn this.chartType === ChartType.BAR;\r\n\t}\r\n\r\n\tpublic get showPercentageBarChart() {\r\n\t\treturn this.chartType === ChartType.PERCENTAGE_BAR;\r\n\t}\r\n\r\n\t@Watch('selectedDateOption', { immediate: true })\r\n\tpublic async onFilterChange(filter: DateOption, previous: DateOption) {\r\n\t\tif (filter && filter === previous) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tawait this.renderReportData();\r\n\t}\r\n\r\n\tpublic switchLineChart() {\r\n\t\treturn (this.chartType = ChartType.LINE);\r\n\t}\r\n\r\n\tpublic switchBarChart() {\r\n\t\treturn (this.chartType = ChartType.BAR);\r\n\t}\r\n\r\n\tpublic switchStackedChart() {\r\n\t\treturn (this.chartType = ChartType.PERCENTAGE_BAR);\r\n\t}\r\n\r\n\tpublic async renderReportData() {\r\n\t\tif (!this.isReportCriterionValid()) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.loadedData = false;\r\n\t\tthis.loadingError = false;\r\n\r\n\t\ttry {\r\n\t\t\tthis.data = await this.loadReportData();\r\n\t\t\tthis.loadedData = true;\r\n\t\t} catch {\r\n\t\t\tthis.loadingError = true;\r\n\t\t} finally {\r\n\t\t\tthis.$emit('load');\r\n\t\t}\r\n\t}\r\n\r\n\tpublic abstract isReportCriterionValid(): boolean;\r\n\r\n\tpublic abstract loadReportData(): Promise;\r\n\r\n\tpublic isDataEmpty(): boolean {\r\n\t\tfor (const series of this.data.series) {\r\n\t\t\tconst numberOfPopulatedValuesInSeries = series.data.filter((val) => val > 0).length;\r\n\t\t\tif (numberOfPopulatedValuesInSeries > 0) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn true;\r\n\t}\r\n}\r\n","declare const window: any;\r\nconst FB_SDK_VERSION: string = 'v16.0';\r\n\r\nlet initialisedAppId: string;\r\n\r\nexport function fbGetSdk(appId: string) {\r\n\tlet changedApp = false;\r\n\tif (initialisedAppId && appId !== initialisedAppId) {\r\n\t\thandleAppChange();\r\n\t\tchangedApp = true;\r\n\t}\r\n\tinitialisedAppId = appId;\r\n\r\n\treturn new Promise(resolve => {\r\n\t\tif (window.FB && !changedApp) {\r\n\t\t\tresolve(window.FB);\r\n\t\t} else {\r\n\t\t\tfbInit(appId).then(() => {\r\n\t\t\t\tresolve(window.FB);\r\n\t\t\t});\r\n\t\t}\r\n\t});\r\n}\r\n\r\nfunction fbInit(appid: string): Promise {\r\n\treturn new Promise((resolve: (val?: any) => void) => {\r\n\t\t// This function initializes the FB variable\r\n\t\t((d, s, id) => {\r\n\t\t\tlet js = d.getElementsByTagName(s)[0];\r\n\t\t\tconst fjs = d.getElementsByTagName(s)[0];\r\n\t\t\tif (d.getElementById(id)) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tjs = d.createElement(s);\r\n\t\t\tjs.id = id;\r\n\t\t\t(js as any).src = '//connect.facebook.net/en_UK/sdk.js';\r\n\t\t\tif (fjs.parentNode) {\r\n\t\t\t\tfjs.parentNode.insertBefore(js, fjs);\r\n\t\t\t}\r\n\t\t})(document, 'script', 'facebook-jssdk');\r\n\r\n\t\twindow.fbAsyncInit = () => {\r\n\t\t\tinitialisedAppId = appid;\r\n\t\t\twindow.FB.init({\r\n\t\t\t\tappId: appid,\r\n\t\t\t\txfbml: true,\r\n\t\t\t\tversion: FB_SDK_VERSION,\r\n\t\t\t});\r\n\t\t\tresolve();\r\n\t\t};\r\n\t});\r\n}\r\n\r\nexport function fbLogin(scope: string): Promise {\r\n\treturn new Promise(resolve => {\r\n\t\twindow.FB.login((response: any) => {\r\n\t\t\tresolve(response);\r\n\t\t}, { scope });\r\n\t});\r\n}\r\n\r\nexport function fbGetLoginStatus(): Promise {\r\n\treturn new Promise(resolve => {\r\n\t\twindow.FB.getLoginStatus((response: any) => resolve(response));\r\n\t});\r\n}\r\n\r\nexport function fbLogout(): Promise {\r\n\treturn new Promise((resolve: (val?: any) => void) => {\r\n\t\twindow.FB.logout((response: any) => {\r\n\t\t\tresolve(response);\r\n\t\t});\r\n\t\tresolve();\r\n\t});\r\n}\r\n\r\nfunction handleAppChange() {\r\n\twindow.FB = undefined;\r\n\tconst element = document.getElementById('facebook-jssdk');\r\n\telement!.remove();\r\n}\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransitionPicker.vue?vue&type=style&index=0&id=47d67272&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"sk-folding-cube\"},[_c('div',{staticClass:\"sk-cube1 sk-cube\"}),_c('div',{staticClass:\"sk-cube2 sk-cube\"}),_c('div',{staticClass:\"sk-cube4 sk-cube\"}),_c('div',{staticClass:\"sk-cube3 sk-cube\"})])}]\n\nexport { render, staticRenderFns }","import { MutationTree } from 'vuex';\r\nimport { FlowDesignerState } from '..';\r\nimport {\r\n\tSET_TRIGGER,\r\n\tUPDATE_SCHEDULE_CONDITION,\r\n\tUPDATE_TRIGGER_CONDITIONS,\r\n\tUPDATE_AUDIENCE_CONDITIONS,\r\n\tUPDATE_TARGET_CONTACT_TYPES\r\n} from './mutationTypes';\r\nimport { ConditionGroupViewModel } from '@/shared/components/conditions/models/conditionGroupViewModel';\r\nimport { ConditionViewModel } from '@/shared/components/conditions/models/conditionViewModel';\r\n\r\nexport const mutations: MutationTree = {\r\n\r\n\t[SET_TRIGGER](state, trigger: string) {\r\n\t\tif (trigger) {\r\n\t\t\tstate.currentFlow.triggers = [trigger];\r\n\t\t} else {\r\n\t\t\tstate.currentFlow.triggers = []; // if a toggle happens\r\n\t\t}\r\n\t},\r\n\r\n\t[UPDATE_SCHEDULE_CONDITION](state, { condition, openingTimes }) {\r\n\t\tif (condition) {\r\n\t\t\tstate.currentFlow.scheduleCondition = condition;\r\n\t\t} else {\r\n\t\t\tstate.currentFlow.scheduleCondition = {} as ConditionViewModel;\r\n\t\t}\r\n\t\tstate.currentFlow.businessHours = openingTimes;\r\n\t},\r\n\r\n\t[UPDATE_TRIGGER_CONDITIONS](state, conditionGroup: ConditionGroupViewModel) {\r\n\t\tstate.currentFlow.triggerConditions = conditionGroup;\r\n\t},\r\n\r\n\t[UPDATE_AUDIENCE_CONDITIONS](state, conditionGroup: ConditionGroupViewModel) {\r\n\t\tstate.currentFlow.audienceConditions = conditionGroup;\r\n\t},\r\n\r\n\t[UPDATE_TARGET_CONTACT_TYPES](state, contactTypes: string[]) {\r\n\t\tstate.currentFlow.targetContactTypes = contactTypes;\r\n\t},\r\n};\r\n","import { render, staticRenderFns } from \"./ChartNoData.vue?vue&type=template&id=7dffbf82&scoped=true\"\nimport script from \"./ChartNoData.vue?vue&type=script&lang=ts\"\nexport * from \"./ChartNoData.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ChartNoData.vue?vue&type=style&index=0&id=7dffbf82&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7dffbf82\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./BusinessHours.vue?vue&type=template&id=0f3870d7&scoped=true\"\nimport script from \"./BusinessHours.vue?vue&type=script&lang=ts\"\nexport * from \"./BusinessHours.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BusinessHours.vue?vue&type=style&index=0&id=0f3870d7&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0f3870d7\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactAttributes.vue?vue&type=style&index=0&id=7c89ac40&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"add-intent-modal\"},[(_vm.show)?_c('modal',{on:{\"cancel\":function($event){return _vm.cancel()}},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"modal-card-title\"},[_vm._v(\"Add a new intent\")])]},proxy:true},{key:\"body\",fn:function(){return [_c('div',{staticClass:\"edit-title-container\"},[_c('h1',[_vm._v(\"Name\")]),_c('div',{staticClass:\"field\"},[_c('n-text-input',{staticClass:\"edit-title\",attrs:{\"hideLabel\":true,\"label\":\"Intent name\",\"disabled\":_vm.isSaveInProgress,\"placeholder\":\"Enter Intent Name\",\"errorMessage\":_vm.getErrorMessage()},on:{\"input\":function($event){return _vm.$v.intentTitle.$touch()}},model:{value:(_vm.intentTitle),callback:function ($$v) {_vm.intentTitle=$$v},expression:\"intentTitle\"}})],1)]),_c('div',{staticClass:\"edit-utterances-container\"},[_c('h1',[_vm._v(\"Example Utterances\")]),_c('UtteranceList',{attrs:{\"v\":_vm.$v.intentUtterances,\"term\":\"utterance\",\"isEditable\":!_vm.isSaveInProgress},model:{value:(_vm.intentUtterances),callback:function ($$v) {_vm.intentUtterances=$$v},expression:\"intentUtterances\"}})],1)]},proxy:true},{key:\"buttons\",fn:function(){return [_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\",\"loading\":_vm.isSaveInProgress},on:{\"click\":_vm.saveIntent}},[_vm._v(\"Save\\n\\t\\t\\t\\t\")]),_c('n-button',{attrs:{\"disabled\":_vm.isSaveInProgress,\"variant\":\"primary--outline\"},on:{\"click\":_vm.cancel}},[_vm._v(\"Cancel\")])],1)]},proxy:true}],null,false,2321630121)}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebAssistantLauncher.vue?vue&type=style&index=0&id=681cdd36&prod&lang=scss&scoped=true\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"contact-conversation\"},[_c('div',{staticClass:\"contact-conversation__expand-trigger\",on:{\"click\":function($event){return _vm.toggleMessageTray()}}},[_c('div',{staticClass:\"contact-conversation__trigger-content\",class:{ 'contact-conversation__trigger-content--expanded': _vm.messageTrayOpen }},[_c('div',{staticClass:\"contact-conversation__platform\"},[_c('ChannelIcon',{attrs:{\"channelType\":_vm.channelType}})],1),_c('div',{staticClass:\"contact-conversation__details\"},[_c('h2',{staticClass:\"contact-conversation__title\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.truncatedTitle)+\"\\n\\t\\t\\t\\t\")]),_c('span',{staticClass:\"contact-conversation__date\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.conversationDate)+\"\\n\\t\\t\\t\\t\")])]),_c('div',{staticClass:\"contact-conversation__header-right\"},[_c('div',{staticClass:\"contact-conversation__expanded-indicator\",class:{ 'contact-conversation__expanded-indicator--expanded': _vm.messageTrayOpen }},[_c('svg',{staticClass:\"right-arrow\"},[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":\"#arrow-right2\"}})])])])])]),(_vm.messageTrayOpen)?_c('div',{staticClass:\"contact-conversation__message-container\"},[(_vm.loading)?_c('LoadingSpinner'):_vm._e(),(!_vm.loading)?_c('n-conversation-thread',{attrs:{\"messages\":_vm.messages,\"displayAvatar\":true,\"enableAvatarTooltip\":true},on:{\"load\":_vm.onLoad}}):_vm._e()],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MultiContactTypePicker.vue?vue&type=style&index=0&id=3a732d36&prod&scoped=true&lang=scss\"","import { render, staticRenderFns } from \"./ContactTrendCharts.vue?vue&type=template&id=37dc4d3a&scoped=true\"\nimport script from \"./ContactTrendCharts.vue?vue&type=script&lang=ts\"\nexport * from \"./ContactTrendCharts.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ContactTrendCharts.vue?vue&type=style&index=0&id=37dc4d3a&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"37dc4d3a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"banner-container\"},[_c('div',{staticClass:\"banner\",class:{'info': _vm.type === 'info'},style:({ color: _vm.getContrastingColour() })},[_vm._t(\"default\")],2),_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.showOverlay)?_c('div',{staticClass:\"overlay\"}):_vm._e()])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CapableAppModal.vue?vue&type=style&index=0&id=278dec5a&prod&lang=scss&scoped=true\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactTypePicker.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactTypePicker.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleBmAgentList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleBmAgentList.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { required, maxLength } from 'vuelidate/lib/validators';\r\n\r\nconst validIntentName = (value: string) => value.search(/[<>*%&:\\\\$]/) === -1;\r\n\r\n@Component({\r\n\tmixins: [\r\n\t\tvalidationMixin,\r\n\t],\r\n\tvalidations: {\r\n\t\tintentTitle: {\r\n\t\t\trequired,\r\n\t\t\tvalidIntentName,\r\n\t\t\tmaxLength: maxLength(50)\r\n\t\t}\r\n\t}\r\n})\r\nexport default class FaqAddIntentModal extends Vue {\r\n\tpublic show: boolean = false;\r\n\r\n\tpublic intentTitle: string = '';\r\n\r\n\tpublic showModal() {\r\n\t\tthis.show = true;\r\n\t\tthis.$nextTick(() => {\r\n\t\t\tthis.focusOnInput();\r\n\t\t});\r\n\t}\r\n\r\n\tpublic close() {\r\n\t\tthis.$v.$reset();\r\n\t\tthis.show = false;\r\n\t\tthis.intentTitle = '';\r\n\t}\r\n\r\n\tpublic createIntent() {\r\n\t\tif (this.$v.$invalid) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.$emit('create', this.intentTitle);\r\n\t\tthis.close();\r\n\t}\r\n\r\n\tpublic getErrorMessage(): string {\r\n\t\tif (this.$v.intentTitle.required && !this.$v.intentTitle.validIntentName) {\r\n\t\t\treturn 'Name must not contain <, >, *, %, &, :, \\\\, $';\r\n\t\t}\r\n\t\tif (!this.$v.intentTitle.maxLength) {\r\n\t\t\treturn 'Name must not be longer than 50 characters';\r\n\t\t}\r\n\t\tif (!this.$v.intentTitle.required && this.$v.intentTitle.$dirty) {\r\n\t\t\treturn 'Name must not be empty';\r\n\t\t}\r\n\r\n\t\treturn '';\r\n\t}\r\n\r\n\tprivate focusOnInput() {\r\n\t\tconst intentNameInput: any = this.$refs.intentNameInput;\r\n\t\tif (intentNameInput) {\r\n\t\t\tintentNameInput.focus();\r\n\t\t}\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('n-modal',{on:{\"cancel\":function($event){return _vm.$emit('cancel')}},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"app-confirm-title\"},[_vm._v(_vm._s(_vm.title))])]},proxy:true},{key:\"body\",fn:function(){return [_vm._t(\"default\")]},proxy:true},{key:\"buttons\",fn:function(){return [_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.$emit('confirm')}}},[_vm._v(\"Yes\")]),_c('n-button',{attrs:{\"variant\":\"primary--outline\"},on:{\"click\":function($event){return _vm.$emit('cancel')}}},[_vm._v(\"Cancel\")])],1)]},proxy:true}],null,true)})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadingSpinner.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadingSpinner.vue?vue&type=script&lang=ts\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowTotalsCharts.vue?vue&type=style&index=0&id=76134a60&prod&lang=scss\"","\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport moment from 'moment';\r\n\r\n@Component\r\nexport default class FriendlyDateTime extends Vue {\r\n\t@Prop() public date: Date;\r\n\t@Prop({default: 'never'}) public placeholder: string;\r\n\r\n\tpublic get actualDate(): string {\r\n\t\treturn moment(this.date).format('lll');\r\n\t}\r\n\r\n\tpublic get relativeDate(): string {\r\n\t\tif (!this.date) {\r\n\t\t\treturn this.placeholder;\r\n\t\t}\r\n\r\n\t\treturn moment(this.date).fromNow();\r\n\t}\r\n\r\n\tprivate get isUnknown() {\r\n\t\treturn !this.date && this.placeholder !== 'never';\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport { Getter } from 'vuex-class';\r\nimport { PublishedApp } from '../shared/models';\r\nimport { googleBmApi } from './services/googlebmApi';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { GoogleBmInstalledApp } from './models';\r\nimport GoogleBmAddAgent from './components/GoogleBmAddAgent.vue';\r\nimport GoogleBmAgentList from './components/GoogleBmAgentList.vue';\r\nimport {GoogleBmAgent} from '@/features/apps/googlebm/models/googleBmAgent';\r\nimport Toast from '@/shared/services/toast';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tGoogleBmAddAgent,\r\n\t\tGoogleBmAgentList\r\n\t}\r\n})\r\nexport default class GoogleBmConfig extends Vue {\r\n\t@Getter public currentApp!: PublishedApp;\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\r\n\tpublic hasLoaded = false;\r\n\r\n\tpublic app: GoogleBmInstalledApp | null = null;\r\n\tpublic agents: GoogleBmAgent[] = [];\r\n\r\n\tpublic created() {\r\n\t\tthis.loadApp();\r\n\t}\r\n\r\n\tpublic isInstalled() {\r\n\t\treturn this.app !== null && this.app.agents && this.app.agents.length > 0;\r\n\t}\r\n\r\n\tpublic async configSaved() {\r\n\t\ttry {\r\n\t\t\tthis.app = await googleBmApi.getInstalledApp(this.currentWorkspace.id);\r\n\t\t\tthis.agents = this.app.agents;\r\n\t\t} catch (err) {\r\n\t\t\tToast.showError(`Failed to load app: ${err.message}`);\r\n\t\t}\r\n\t\tthis.$emit('configSaved', true);\r\n\t}\r\n\r\n\tprivate async loadApp() {\r\n\t\tif (this.currentApp.isInstalled) {\r\n\t\t\ttry {\r\n\t\t\t\tthis.app = await googleBmApi.getInstalledApp(this.currentWorkspace.id);\r\n\t\t\t\tthis.agents = this.app.agents;\r\n\t\t\t} catch (err) {\r\n\t\t\t\tif (err.status !== 404) {\r\n\t\t\t\t\t// show error state...\r\n\t\t\t\t}\r\n\t\t\t} finally {\r\n\t\t\t\tthis.hasLoaded = true;\r\n\t\t\t\tthis.$emit('loaded');\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tthis.$emit('loaded');\r\n\t\t}\r\n\t}\r\n}\r\n","\r\nimport { Component, Prop, Mixins } from 'vue-property-decorator';\r\nimport { HorizontalBar } from 'vue-chartjs';\r\nimport { ChartConfig } from './chartConfig';\r\nimport {Data, DataFilter, Series, SeriesConfig, SeriesConfigType} from '../../models';\r\nimport Chart, {ChartData, ChartTooltipItem, ChartTooltipModel} from 'chart.js';\r\nimport { chartDataUtil } from '@/features/reports/util/ChartDataUtil';\r\nimport ColourService from '@/shared/services/color';\r\nimport WordWrapUtil from '@/shared/util/wordWrapUtil';\r\n\r\n@Component\r\nexport default class HorizontalThresholdBarChart extends Mixins(HorizontalBar) {\r\n\t@Prop() public data: Data;\r\n\t@Prop() public dataFilter: DataFilter;\r\n\t@Prop() public barColour: string;\r\n\r\n\t@Prop() public thresholdData: number;\r\n\r\n\t@Prop() public thresholdLineColour: string;\r\n\t@Prop() public orderAsc: boolean;\r\n\r\n\tpublic mounted() {\r\n\t\tconst data = this.mapData();\r\n\t\tconst options = this.overrideOptions(ChartConfig.gridChartsGlobalOptions);\r\n\t\tthis.renderChart(data, options);\r\n\t}\r\n\r\n\tpublic overrideOptions(options: Chart.ChartOptions): Chart.ChartOptions {\r\n\t\toptions.plugins!.inlineLabels = false;\r\n\t\toptions.plugins!.crosshair = false;\r\n\t\toptions.legend!.display = false;\r\n\t\toptions.scales = {\r\n\t\t\txAxes: [{\r\n\t\t\t\tscaleLabel: {\r\n\t\t\t\t\tlabelString: this.data.scale.title\r\n\t\t\t\t},\r\n\t\t\t\tticks: {\r\n\t\t\t\t\tbeginAtZero: true,\r\n\t\t\t\t\tmax: 1,\r\n\t\t\t\t\tmaxTicksLimit: 20\r\n\t\t\t\t}\r\n\t\t\t}],\r\n\t\t\tyAxes: [{\r\n\t\t\t\tticks: {\r\n\t\t\t\t\tcallback: (value: string) => {\r\n\t\t\t\t\t\tconst truncated = value.substr(0, 15);\r\n\t\t\t\t\t\treturn truncated.length === value.length\r\n\t\t\t\t\t\t\t? truncated\r\n\t\t\t\t\t\t\t: `${truncated.trim()}...`;\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\tgridLines: {\r\n\t\t\t\t\tdisplay: false\r\n\t\t\t\t},\r\n\t\t\t\tafterFit: (instance) => {\r\n\t\t\t\t\t// set the width of labels to the longest label\r\n\t\t\t\t\t// with an amount of padding as a buffer\r\n\t\t\t\t\tinstance.width = instance.longestLabelWidth + 10;\r\n\t\t\t\t}\r\n\t\t\t}]\r\n\t\t};\r\n\t\toptions.tooltips!.custom = (tooltip: ChartTooltipModel) => {\r\n\t\t\ttooltip.displayColors = false;\r\n\t\t};\r\n\t\toptions.tooltips!.callbacks = {\r\n\t\t\ttitle: (tooltipItems: Chart.ChartTooltipItem[]) => {\r\n\t\t\t\tconst tooltipItem = tooltipItems[0];\r\n\t\t\t\tconst lineLength = 24;\r\n\t\t\t\t// only break characters if there are single words\r\n\t\t\t\t// longer than the limit to keep words in-tact as much as possible\r\n\t\t\t\tlet name = tooltipItem.label as string;\r\n\t\t\t\tname = WordWrapUtil.breakWordsOverLimit(name, lineLength);\r\n\t\t\t\t// return name;\r\n\t\t\t\treturn WordWrapUtil.wrap(name, lineLength);\r\n\t\t\t},\r\n\t\t\tlabel: (tooltipItem: Chart.ChartTooltipItem) => {\r\n\t\t\t\tconst score = parseFloat(tooltipItem.value as string).toFixed(3);\r\n\t\t\t\treturn `Average Score: ${score}`;\r\n\t\t\t}\r\n\t\t};\r\n\t\toptions.annotation = {\r\n\t\t\tannotations: [\r\n\t\t\t\t{\r\n\t\t\t\t\ttype: 'line',\r\n\t\t\t\t\tmode: 'vertical',\r\n\t\t\t\t\tscaleID: 'x-axis-0',\r\n\t\t\t\t\tvalue: this.lineMarkerPosition,\r\n\t\t\t\t\tborderColor: this.thresholdLineColour,\r\n\t\t\t\t\tborderDash: [8],\r\n\t\t\t\t\tborderWidth: 2\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t};\r\n\t\treturn options;\r\n\t}\r\n\r\n\tpublic mapData(): ChartData {\r\n\t\tconst series = this.data.series[0];\r\n\t\tconst orderedData = chartDataUtil.orderData({ data: series.data, labels: this.data.scale.labels }, {\r\n\t\t\tdataOrderAscending: this.orderAsc,\r\n\t\t\tforceZeroValuesToBottom: true\r\n\t\t});\r\n\r\n\t\treturn {\r\n\t\t\tlabels: orderedData.labels,\r\n\t\t\tdatasets: [\r\n\t\t\t\t{\r\n\t\t\t\t\tlabel: series.displayName,\r\n\t\t\t\t\tdata: orderedData.data,\r\n\t\t\t\t\tbackgroundColor: this.barColour,\r\n\t\t\t\t\tborderColor: this.barColour,\r\n\t\t\t\t\thoverBackgroundColor: ColourService.setAlpha(this.barColour, 0.4),\r\n\t\t\t\t\tmaxBarThickness: 32\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t};\r\n\t}\r\n\r\n\tprivate get lineMarkerPosition(): number {\r\n\t\treturn this.thresholdData;\r\n\t}\r\n}\r\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CollapsibleSection.vue?vue&type=style&index=0&id=5e5edec0&prod&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateHoliday.vue?vue&type=style&index=0&id=6a181f53&prod&scoped=true&lang=scss\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppConfirmModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppConfirmModal.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"condition-group-builder\"},[_c('div',{staticClass:\"condition-group before\"},[_vm._t(\"before\")],2),_vm._l((_vm.conditionGroup.conditions),function(item,index){return _c('div',{key:_vm.getConditionKey(index, item),staticClass:\"condition-group\"},[(!_vm.isCondition(item))?_c('ConditionGroupBuilder',{attrs:{\"value\":item,\"manager\":_vm.manager,\"nested\":true,\"disabled\":_vm.disabled,\"context\":_vm.context},on:{\"updated\":_vm.onGroupUpdated}}):_vm._e(),(_vm.isCondition(item))?_c('ConditionButton',{class:{ 'left': !_vm.nested || index === 0 },attrs:{\"value\":item,\"manager\":_vm.manager,\"disabled\":_vm.disabled},on:{\"deleted\":function($event){return _vm.onConditionDeleted(index)},\"updated\":function($event){\nvar i = arguments.length, argsArray = Array(i);\nwhile ( i-- ) argsArray[i] = arguments[i];\nreturn _vm.onConditionUpdated.apply(void 0, [ index ].concat( argsArray ))}}}):_vm._e(),(_vm.showMakeFilterGroupOption(item))?_c('AddCondition',{attrs:{\"disabled\":_vm.disabled || _vm.hasAnyInvalidConditions(),\"tooltip\":!_vm.hasAnyInvalidConditions() ? (\"Make \" + _vm.context + \" group\") : (\"Fix invalid \" + _vm.context + \"s before adding another\"),\"available-conditions\":_vm.manager.visibleConditions},on:{\"added\":function($event){\nvar i = arguments.length, argsArray = Array(i);\nwhile ( i-- ) argsArray[i] = arguments[i];\nreturn _vm.makeFilterGroup.apply(void 0, [ index, item ].concat( argsArray ))}}},[_c('button',{staticClass:\"button add-icon\",attrs:{\"disabled\":_vm.disabled}},[_c('AddIcon')],1)]):_vm._e(),(_vm.showAddToFilterGroupOption(item, index))?_c('AddCondition',{attrs:{\"available-conditions\":_vm.manager.visibleConditions,\"disabled\":_vm.disabled || _vm.hasAnyInvalidConditions(),\"tooltip\":!_vm.hasAnyInvalidConditions() ? (\"Add to \" + _vm.context + \" group\") : (\"Fix invalid \" + _vm.context + \"s before adding another\")},on:{\"added\":function($event){\nvar i = arguments.length, argsArray = Array(i);\nwhile ( i-- ) argsArray[i] = arguments[i];\nreturn _vm.addToFilterGroup.apply(void 0, [ index ].concat( argsArray ))}}},[_c('button',{staticClass:\"button add-icon\",attrs:{\"disabled\":_vm.disabled}},[_c('AddIcon')],1)]):_vm._e(),(!_vm.isLastConditionInList(index))?_c('JoinOperatorPicker',{staticClass:\"group-type\",class:{ 'top-level-grouping': !_vm.nested, 'hover': _vm.operatorButtonHover },attrs:{\"disabled\":_vm.disabled,\"value\":_vm.conditionGroup.type},on:{\"updated-operator\":_vm.operatorTypeUpdated,\"updated-hover-state\":_vm.updateOperatorHoverState}}):_vm._e()],1)}),(!_vm.nested)?_c('AddCondition',{staticClass:\"add-filter\",class:{'has-conditions' : _vm.numberOfConditions > 0},attrs:{\"available-conditions\":_vm.manager.visibleConditions,\"disabled\":_vm.disabled || _vm.hasAnyInvalidConditions()},on:{\"added\":_vm.onConditionAdded}},[_c('a',[_c('AddIcon'),_c('span',{staticClass:\"add-label\"},[_vm._v(\"Add \"+_vm._s(_vm.context))])],1)]):_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"wa-header\",style:({\n\t\tbackground: (\"linear-gradient(90deg, \" + _vm.brandColour + \" 0%, \" + (_vm.getDarkHeader()) + \" 100%)\"),\n\t\tcolor: _vm.getContrastingBrandColour()\n\t})},[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"header-left\"},[_c('div',{staticClass:\"header-action\"}),_c('div',{staticClass:\"header-text\"},[_c('div',{staticClass:\"header-primary\"},[_vm._v(_vm._s(_vm.headerText))]),_c('div',{staticClass:\"header-sub\"},[_vm._v(_vm._s(_vm.subtitleText))])])]),_c('div',{staticClass:\"header-right\"},[_c('div',{staticClass:\"header-action\"},[_c('div',{staticClass:\"header-action-icon\"},[_c('svg',{staticClass:\"download-icon\",style:({ stroke: _vm.getContrastingBrandColour() }),attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 48 48\"}},[_c('line',{attrs:{\"fill\":\"none\",\"stroke-width\":\"4\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-miterlimit\":\"10\",\"x1\":\"24\",\"y1\":\"7\",\"x2\":\"24\",\"y2\":\"36\"}}),_c('polyline',{attrs:{\"fill\":\"none\",\"stroke-width\":\"4\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-miterlimit\":\"10\",\"points\":\"35.3137093,24.6862907 24,36 12.6862917,24.6862907 \\t\"}}),_c('path',{attrs:{\"fill\":\"none\",\"stroke-width\":\"4\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-miterlimit\":\"10\",\"d\":\"M42,34v6c0,2.2091408-1.7908592,4-4,4H10c-2.2091389,0-4-1.7908592-4-4v-6\"}})])])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { ListAppItem } from './models/ListApp';\r\n\r\n@Component({})\r\nexport default class ContentHighlightsListItemEdit extends Vue {\r\n\t@Prop() public value: ListAppItem;\r\n\r\n\t@Prop() public itemIndex: number;\r\n\r\n\t@Prop() public totalItems: number;\r\n\r\n\t@Prop() public v: any;\r\n\r\n\tpublic markAsTouched(key: keyof ListAppItem) {\r\n\t\tconst field = this.v[key];\r\n\t\tif (field) {\r\n\t\t\tfield.$touch();\r\n\t\t}\r\n\t\tthis.$emit('input');\r\n\t}\r\n\r\n\tpublic getErrorMessage(\r\n\t\tfieldName: keyof ListAppItem,\r\n\t\tlabel: string\r\n\t): string | null {\r\n\t\tconst field = this.v[fieldName];\r\n\t\tif (field && field.$dirty && field.$invalid) {\r\n\t\t\tif (field.$params.required && !field.required) {\r\n\t\t\t\treturn `${label} is required`;\r\n\t\t\t}\r\n\t\t\tif (field.$params.url && !field.url) {\r\n\t\t\t\treturn `${label} must be a valid URL`;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}\r\n\r\n\tpublic removeItem() {\r\n\t\tthis.$emit('remove');\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./FriendlyDateTime.vue?vue&type=template&id=b82a6572&scoped=true\"\nimport script from \"./FriendlyDateTime.vue?vue&type=script&lang=ts\"\nexport * from \"./FriendlyDateTime.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FriendlyDateTime.vue?vue&type=style&index=0&id=b82a6572&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b82a6572\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddNewVariableModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddNewVariableModal.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NumberCondition.vue?vue&type=template&id=28da789c&scoped=true\"\nimport script from \"./NumberCondition.vue?vue&type=script&lang=ts\"\nexport * from \"./NumberCondition.vue?vue&type=script&lang=ts\"\nimport style0 from \"./NumberCondition.vue?vue&type=style&index=0&id=28da789c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"28da789c\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./ProactiveTriggersTrendChart.vue?vue&type=template&id=2f7dac58&scoped=true\"\nimport script from \"./ProactiveTriggersTrendChart.vue?vue&type=script&lang=ts\"\nexport * from \"./ProactiveTriggersTrendChart.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ProactiveTriggersTrendChart.vue?vue&type=style&index=0&id=2f7dac58&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2f7dac58\",\n null\n \n)\n\nexport default component.exports","export { DayRange } from './dayRange';\r\nexport { BusinessHoursOption } from './businessHoursOption';\r\nexport { BusinessHoursOptions } from './businessHoursOptions';\r\n","import DateTimeService from '@/shared/services/dateTime';\r\nimport { BusinessHoursOption } from './businessHoursOption';\r\n\r\nexport const hasOverlappingOpenClose = (current: BusinessHoursOption, comparison: BusinessHoursOption): boolean => {\r\n\treturn isSameDay(current, comparison) && current.open !== comparison.open;\r\n};\r\n\r\nexport const isSameDay = (current: BusinessHoursOption, comparison: BusinessHoursOption): boolean => {\r\n\treturn current.day.name === comparison.day.name;\r\n};\r\n\r\nexport const hasOverlappingHours = (current: BusinessHoursOption, comparison: BusinessHoursOption): boolean => {\r\n\tconst currentStartTime = DateTimeService.getMinutes(current.startTime) as number;\r\n\tconst currentEndTime = DateTimeService.getMinutes(current.endTime) as number;\r\n\tconst comparisonStartTime = DateTimeService.getMinutes(comparison.startTime) as number;\r\n\tconst comparisonEndTime = DateTimeService.getMinutes(comparison.endTime) as number;\r\n\treturn (\r\n\t\t(currentStartTime <= comparisonEndTime && currentStartTime >= comparisonStartTime) ||\r\n\t\t(comparisonStartTime <= currentEndTime && comparisonStartTime >= currentStartTime)\r\n\t);\r\n};\r\n\r\n\r\nexport const hasAtLeastOneOnlineTime = (businessHours: BusinessHoursOption[]): boolean => {\r\n\tif (!businessHours) { return false; }\r\n\r\n\tconst nonHolidayHours = businessHours.filter(b => !b.day.holidayId);\r\n\tif (!nonHolidayHours || nonHolidayHours.length === 0) {\r\n\t\treturn false;\r\n\t}\r\n\r\n\tfor (const businessHour of nonHolidayHours) {\r\n\t\tif (businessHour.open) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t}\r\n\treturn false;\r\n};\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"tool-footer level is-mobile\"},[_c('span',{staticClass:\"tool-footer__span level-item is-narrow\"},[_vm._v(\"Previewing: \")]),_c('ChannelIdentityPicker',{staticClass:\"tool-footer__channel is-flex-grow-1 level-item\",model:{value:(_vm.channelIdentity),callback:function ($$v) {_vm.channelIdentity=$$v},expression:\"channelIdentity\"}}),_c('n-button',{staticClass:\"reset-button level-item is-narrow\",attrs:{\"variant\":\"danger\"},on:{\"click\":_vm.resetButtonClicked}},[_c('RestartIcon',{staticClass:\"restart-icon icon-1-3x\"}),_vm._v(\"\\n\\t\\tRestart\\n\\t\")],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConditionButton.vue?vue&type=style&index=0&id=2c4ce897&prod&scoped=true&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HomeScreenPanelStartChat.vue?vue&type=style&index=0&id=34a36a44&prod&lang=scss&scoped=true\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('DropDownMenu',{staticClass:\"operator-type-dropdown\",attrs:{\"drop-down-icon\":\"none\",\"disabled\":_vm.disabled},on:{\"open\":_vm.setActive},scopedSlots:_vm._u([{key:\"trigger\",fn:function(){return [_c('button',{staticClass:\"button operator-type-button\",class:{ 'dropdown-active': _vm.active },attrs:{\"disabled\":_vm.disabled},on:{\"mouseover\":function($event){return _vm.onUpdatedHoverState(true)},\"mouseout\":function($event){return _vm.onUpdatedHoverState(false)}}},[_c('span',[_vm._v(_vm._s(_vm.selectedOperator))])])]},proxy:true}])},[_c('div',{staticClass:\"scrollable-item-list\"},_vm._l((_vm.getJoinOperators()),function(operatorType){return _c('a',{key:operatorType,staticClass:\"dropdown-item\",attrs:{\"id\":'operator-type-item-' + operatorType},on:{\"click\":function($event){return _vm.selectOperator(operatorType)}}},[_vm._v(\"\\r\\n\\t\\t\\t\\t\"+_vm._s(operatorType)+\"\\r\\n\\t\\t\\t\")])}),0)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tasks.vue?vue&type=style&index=0&id=be18c042&prod&scoped=true&lang=scss\"","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Banner.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Banner.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Modal.vue?vue&type=template&id=72cbcbf1\"\nimport script from \"./Modal.vue?vue&type=script&lang=ts\"\nexport * from \"./Modal.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Modal.vue?vue&type=style&index=0&id=72cbcbf1&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./InputPatternEditor.vue?vue&type=template&id=0c1887f3&scoped=true\"\nimport script from \"./InputPatternEditor.vue?vue&type=script&lang=ts\"\nexport * from \"./InputPatternEditor.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0c1887f3\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowEscalationRateCharts.vue?vue&type=style&index=0&id=abefaab4&prod&scoped=true&lang=scss\"","\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue, Watch} from 'vue-property-decorator';\r\nimport {mixin as clickaway} from 'vue-clickaway';\r\nimport {ConditionViewModel} from './models/conditionViewModel';\r\nimport {ConditionPickerOption} from './models/conditions';\r\nimport Icon from '../../icons/Icon.vue';\r\n\r\n@Component({\r\n\tmixins: [\r\n\t\tclickaway,\r\n\t],\r\n\tcomponents: {\r\n\t\tIcon\r\n\t}\r\n})\r\nexport default class ConditionPicker extends Vue {\r\n\t@Prop() public availableConditions: ConditionPickerOption[];\r\n\r\n\tpublic getIconComponent(option: ConditionPickerOption) {\r\n\t\tif (option && option.icon) {\r\n\t\t\treturn option.icon;\r\n\t\t}\r\n\r\n\t\treturn '';\r\n\t}\r\n\r\n\tpublic chooseOption(option: ConditionPickerOption) {\r\n\t\tconst condition: ConditionViewModel = {\r\n\t\t\tattribute: option.id,\r\n\t\t\toperation: '',\r\n\t\t\ttype: option.type,\r\n\t\t\tunit: '',\r\n\t\t\tvalue: '',\r\n\t\t\tresult: true\r\n\t\t};\r\n\r\n\t\tthis.$emit('selected', condition);\r\n\t}\r\n}\r\n","import { QueryStringBuilder } from '@/shared/services/queryStringBuilder';\r\nimport urljoin from 'url-join';\r\nimport { DateOption } from '../models';\r\nimport { config } from '@/config/config';\r\nimport axios from 'axios';\r\nimport authService from '@/authentication/authentication.service';\r\n\r\nexport interface ReportCsvDownloadResponse {\r\n\tdata: Blob;\r\n\tfileName: string;\r\n}\r\n\r\nclass ReportDownloaderService {\r\n\tprivate readonly version = 'v1';\r\n\r\n\tpublic getFlowsReportCsv(workspaceId: string, flowId: string, dateOption: DateOption): Promise {\r\n\t\tconst query = new QueryStringBuilder()\r\n\t\t\t.add('flowId', flowId)\r\n\t\t\t.add('startDate', dateOption.getDateRange().start.toISOString())\r\n\t\t\t.add('endDate', dateOption.getDateRange().end.toISOString())\r\n\t\t\t.add('grouping', dateOption.group)\r\n\t\t\t.add('format', 'csv')\r\n\t\t\t.build();\r\n\r\n\t\treturn this.send(urljoin(config().flowsHost, this.version, workspaceId, `combined-reports`) + query);\r\n\t}\r\n\r\n\tpublic getMessagingReportCsv(workspaceId: string, dateOption: DateOption): Promise {\r\n\t\tconst query = new QueryStringBuilder()\r\n\t\t\t.add('startDate', dateOption.getDateRange().start.toISOString())\r\n\t\t\t.add('endDate', dateOption.getDateRange().end.toISOString())\r\n\t\t\t.add('grouping', dateOption.group)\r\n\t\t\t.add('format', 'csv')\r\n\t\t\t.build();\r\n\r\n\t\treturn this.send(urljoin(config().messagingHost, this.version, workspaceId, `reports`) + query);\r\n\t}\r\n\r\n\tpublic getNLPReportCsv(modelId: string, dateOption: DateOption): Promise {\r\n\t\tconst query = new QueryStringBuilder()\r\n\t\t\t.add('startDate', dateOption.getDateRange().start.toISOString())\r\n\t\t\t.add('endDate', dateOption.getDateRange().end.toISOString())\r\n\t\t\t.add('grouping', dateOption.group)\r\n\t\t\t.add('format', 'csv')\r\n\t\t\t.build();\r\n\r\n\t\treturn this.send(urljoin(config().nlpHost, this.version, modelId, `reports`) + query);\r\n\t}\r\n\r\n\tpublic async getUsageReportCsv(workspaceId: string, dateOption: DateOption): Promise {\r\n\t\tconst query = new QueryStringBuilder()\r\n\t\t\t.add('startDate', dateOption.getDateRange().start.toISOString())\r\n\t\t\t.add('endDate', dateOption.getDateRange().end.toISOString())\r\n\t\t\t.add('format', 'csv')\r\n\t\t\t.build();\r\n\r\n\t\treturn this.send(urljoin(config().usageHost, this.version, 'workspaces', workspaceId, `reports`) + query);\r\n\t}\r\n\r\n\tprivate async send(url: string) {\r\n\t\tconst token = await authService.getToken();\r\n\r\n\t\tconst response = await axios.get(url, {\r\n\t\t\theaders: {\r\n\t\t\t\t'Authorization': `Bearer ${token}`,\r\n\t\t\t\t'Access-Control-Expose-Headers': 'Content-Disposition'\r\n\t\t\t},\r\n\t\t\tresponseType: 'blob'\r\n\t\t});\r\n\r\n\t\tconst fileName = this.getFilenameFromHeader(response.headers['content-disposition']);\r\n\r\n\t\treturn {\r\n\t\t\tdata: response.data,\r\n\t\t\tfileName\r\n\t\t};\r\n\t}\r\n\r\n\tprivate getFilenameFromHeader(header: string): string {\r\n\t\tconst regex = /filename=(.*);/;\r\n\t\tconst match = regex.exec(header);\r\n\r\n\t\tif (match) {\r\n\t\t\treturn match[1];\r\n\t\t}\r\n\r\n\t\treturn '';\r\n\t}\r\n}\r\n\r\nexport const reportDownloaderService = new ReportDownloaderService();\r\n","import { render, staticRenderFns } from \"./GoogleBmUnlaunchModal.vue?vue&type=template&id=245e870c\"\nimport script from \"./GoogleBmUnlaunchModal.vue?vue&type=script&lang=ts\"\nexport * from \"./GoogleBmUnlaunchModal.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditIntentModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditIntentModal.vue?vue&type=script&lang=ts\"","export class FluentDate {\r\n\tprivate date: Date;\r\n\r\n\tconstructor(date: Date | null = null) {\r\n\t\tthis.date = date ? new Date(date.getTime()) : new Date();\r\n\t}\r\n\r\n\tpublic get value() {\r\n\t\treturn this.date;\r\n\t}\r\n\r\n\tpublic startOfYear() {\r\n\t\tthis.date.setUTCMonth(0, 1);\r\n\t\tthis.date.setUTCHours(0, 0, 0, 0);\r\n\t\treturn this;\r\n\t}\r\n\r\n\tpublic startOfMonth() {\r\n\t\tthis.date.setUTCDate(1);\r\n\t\tthis.date.setUTCHours(0, 0, 0, 0);\r\n\t\treturn this;\r\n\t}\r\n\r\n\tpublic endOfMonth() {\r\n\t\tthis.date.setUTCDate(1);\r\n\t\tthis.date.setUTCMonth(this.date.getUTCMonth() + 1);\r\n\t\tthis.date.setUTCDate(0);\r\n\t\tthis.date.setUTCHours(23, 59, 59, 999);\r\n\t\treturn this;\r\n\t}\r\n\r\n\tpublic endOfYear() {\r\n\t\tthis.date.setUTCMonth(11, 31);\r\n\t\tthis.date.setUTCHours(23, 59, 59, 999);\r\n\t\treturn this;\r\n\t}\r\n\r\n\tpublic startOfDay() {\r\n\t\tthis.date.setUTCHours(0, 0, 0, 0);\r\n\t\treturn this;\r\n\t}\r\n\r\n\tpublic endOfDay() {\r\n\t\tthis.date.setUTCHours(23, 59, 59, 999);\r\n\t\treturn this;\r\n\t}\r\n\r\n\tpublic addDays(days: number) {\r\n\t\tthis.date.setUTCDate(this.date.getDate() + days);\r\n\t\treturn this;\r\n\t}\r\n\r\n\tpublic addMonths(months: number) {\r\n\t\tthis.date.setUTCMonth(this.date.getMonth() + months);\r\n\t\treturn this;\r\n\t}\r\n\r\n\tpublic subtractDays(days: number) {\r\n\t\tthis.date.setUTCDate(this.date.getDate() - days);\r\n\t\treturn this;\r\n\t}\r\n\r\n\tpublic subtractMonths(months: number) {\r\n\t\tthis.date.setUTCMonth(this.date.getMonth() - months);\r\n\t\treturn this;\r\n\t}\r\n\r\n\tpublic subtractYears(years: number) {\r\n\t\tthis.date.setUTCFullYear(this.date.getFullYear() - years);\r\n\t\treturn this;\r\n\t}\r\n\r\n\tpublic isStartOfMonth() {\r\n\t\treturn this.date.getTime() === new Date(this.date.getFullYear(), this.date.getMonth(), 1).getTime();\r\n\t}\r\n\r\n\tpublic isEndOfMonth() {\r\n\t\treturn this.date.getTime() === new Date(this.date.getFullYear(), this.date.getMonth() + 1, 0, 23, 59, 59, 999).getTime();\r\n\t}\r\n}\r\n","\r\nexport const SET_CURRENT_FLOW = 'SET_CURRENT_FLOW';\r\nexport const SET_FLOW_VARIABLES = 'SET_FLOW_VARIABLES';\r\nexport const ADD_FLOW_VARIABLE = 'ADD_FLOW_VARIABLE';\r\nexport const SET_FLOW_NAME = 'SET_FLOW_NAME';\r\nexport const MAKE_DIRTY = 'MAKE_DIRTY';\r\nexport const RESET_CHANGE_TRACKER = 'RESET_CHANGE_TRACKER';\r\nexport const SET_IS_SAVE_FLOW_IN_PROGRESS = 'SET_IS_SAVE_FLOW_IN_PROGRESS';\r\nexport const SET_FLOWS = 'SET_FLOWS';\r\nexport const UPDATE_FLOW_ID = 'UPDATE_FLOW_ID';\r\nexport const SET_FLOW_STATUS = 'SET_FLOW_STATUS';\r\nexport const UPDATE_FLOW = 'UPDATE_FLOW';\r\nexport const CLEAR_FLOWS_CACHE = 'CLEAR_FLOWS_CACHE';\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { mixin as clickaway } from 'vue-clickaway';\r\nimport ConditionGroupBuilder, { ConditionGroupUpdate } from '@/shared/components/conditions/ConditionGroupBuilder.vue';\r\nimport { validationMixin } from 'vuelidate';\r\nimport TagBox from '@/shared/components/TagBox.vue';\r\nimport TransitionPicker from '@/features/bots/components/designer/TransitionPicker.vue';\r\nimport DragIcon from '@/shared/components/DragIcon.vue';\r\nimport { TransitionViewModel } from '@/features/bots/models/designer/transitionViewModel';\r\nimport { DecisionViewModel } from '@/features/bots/models/designer/decisionViewModel';\r\nimport { DecisionConditionsAttributeType, DecisionConditionsManager } from '@/features/bots/components/designer/Conditions/decisionConditionsManager';\r\nimport { required, minLength } from 'vuelidate/lib/validators';\r\nimport { InputVariableViewModel } from '../../models/designer';\r\nimport { Getter } from 'vuex-class';\r\nimport { ConditionDataType, ConditionPickerOption } from '@/shared/components/conditions/models/conditions';\r\n\r\n@Component({\r\n\tmixins: [\r\n\t\tclickaway,\r\n\t\tvalidationMixin\r\n\t],\r\n\tvalidations: {\r\n\t providedDecision: {\r\n\t\t\tconditions: {\r\n\t\t\t\tconditions: {\r\n\t\t\t\t\trequired,\r\n\t\t\t\t\tminLength: minLength(1),\r\n\t\t\t\t\tconditionValid() {\r\n\t\t\t\t\t\tconst decision = (this as any);\r\n\t\t\t\t\t\tconst invalidCondition: boolean = decision.isInvalidCondition;\r\n\t\t\t\t\t\treturn !invalidCondition;\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t\ttransition: {\r\n\t\t\t\trequired,\r\n\t\t\t\ttype: {\r\n\t\t\t\t\trequired\r\n\t\t\t\t},\r\n\t\t\t\tpayload: {\r\n\t\t\t\t\tpayloadValid(payload: string) {\r\n\t\t\t\t\t\tconst component = (this as any);\r\n\t\t\t\t\t\tif (payload) {\r\n\t\t\t\t\t\t\treturn !component.isTransitionPayloadInvalid(payload);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\tcomponents: {\r\n\t\tConditionGroupBuilder,\r\n\t\tTagBox,\r\n\t\tTransitionPicker,\r\n\t\tDragIcon\r\n\t}\r\n})\r\nexport default class Decision extends Vue {\r\n\t@Prop() public decision: DecisionViewModel;\r\n\t@Prop() public canDelete: boolean;\r\n\t@Getter public flowVariables: InputVariableViewModel[];\r\n\t@Getter public isTransitionPayloadInvalid: (payload: string) => boolean;\r\n\tpublic isInvalidCondition: boolean = false;\r\n\tpublic decisionConditionsManager: DecisionConditionsManager = new DecisionConditionsManager();\r\n\r\n\tpublic providedDecision = {\r\n\t\tconditions: {\r\n\t\t\ttype: 'and',\r\n\t\t\tconditions: []\r\n\t\t},\r\n\t\ttransition: {\r\n\t\t\tpayload: undefined,\r\n\t\t\ttype: undefined\r\n\t\t}\r\n\t} as DecisionViewModel;\r\n\r\n\tpublic mounted() {\r\n\t\tthis.providedDecision = this.decision;\r\n\t\tthis.checkValidTransition();\r\n\t\tthis.setUpConditions();\r\n\t}\r\n\r\n\t@Watch('flowVariables', { immediate: true, deep: true })\r\n\tpublic onFlowVariablesChanged() {\r\n\t\tthis.setUpConditions();\r\n\t\tthis.providedDecision = JSON.parse(JSON.stringify(this.providedDecision));\r\n\t}\r\n\r\n\tpublic conditionUpdated(update: ConditionGroupUpdate) {\r\n\t\tthis.isInvalidCondition = update.invalid;\r\n\t\tconst clone = JSON.parse(JSON.stringify(this.providedDecision)); // to prevent updating the providedDecision which would kick off processing in child\r\n\t\tclone.conditions = update.conditionGroup;\r\n\t\tthis.$emit('updated', clone, this.$v.providedDecision.$invalid);\r\n\t}\r\n\r\n\tpublic deleteDecision() {\r\n\t\tthis.$emit('deleted');\r\n\t}\r\n\r\n\tpublic transitionSelected(transition: TransitionViewModel) {\r\n\t\tthis.providedDecision.transition = transition;\r\n\t\tthis.$emit('updated', this.providedDecision, this.$v.providedDecision.$invalid);\r\n\t}\r\n\r\n\tprivate checkValidTransition() {\r\n\t\tif (!this.providedDecision.transition) {\r\n\t\t\tthis.$v.providedDecision.transition!.$touch();\r\n\t\t\tthis.$nextTick(() => this.$emit('updated', this.providedDecision, this.$v.providedDecision.$invalid));\r\n\t\t}\r\n\t}\r\n\r\n\tprivate setUpConditions() {\r\n\t\tthis.decisionConditionsManager.setContextualConditions([\r\n\t\t\t...this.flowVariables.map((flowVar) => {\r\n\t\t\t\treturn {\r\n\t\t\t\t\tid: `flow.${flowVar.name}`,\r\n\t\t\t\t\ttitle: flowVar.name,\r\n\t\t\t\t\ttype: ConditionDataType.Text,\r\n\t\t\t\t\ticon: 'FlowVariableIcon'\r\n\t\t\t\t} as ConditionPickerOption;\r\n\t\t\t}),\r\n\t\t\t{\r\n\t\t\t\tid: DecisionConditionsAttributeType.TimeOfDay,\r\n\t\t\t\ttitle: 'Time of day',\r\n\t\t\t\ttype: ConditionDataType.DateTime,\r\n\t\t\t\ticon: 'DurationIcon'\r\n\t\t\t}\r\n\t\t]);\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\n\r\n@Component({})\r\nexport default class BotPausedBanner extends Vue {\r\n\tpublic resume() {\r\n\t\tthis.$emit('resume');\r\n\t}\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProactiveTriggersTrendChart.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProactiveTriggersTrendChart.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GovNotifyServiceConfiguration.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GovNotifyServiceConfiguration.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddCondition.vue?vue&type=template&id=252801cd&scoped=true\"\nimport script from \"./AddCondition.vue?vue&type=script&lang=ts\"\nexport * from \"./AddCondition.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddCondition.vue?vue&type=style&index=0&id=252801cd&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"252801cd\",\n null\n \n)\n\nexport default component.exports","export enum TriggerType {\r\n\tMessageReceived = 'message:appUser',\r\n\tConversationOpened = 'conversation:open',\r\n\tWidgetLoaded = 'widget:load',\r\n\tUnknown = 'unknown',\r\n\tAgentRequested = 'agent:requested'\r\n}\r\n\r\nexport interface TriggerItem {\r\n\ttype: TriggerType;\r\n\ticon: string;\r\n\tdescription: string;\r\n}\r\n\r\nconst triggers: { [key: string]: TriggerItem } = {\r\n\t[TriggerType.MessageReceived]: {\r\n\t\ttype: TriggerType.MessageReceived,\r\n\t\ticon: 'comment',\r\n\t\tdescription: 'Message Received'\r\n\t},\r\n\t[TriggerType.WidgetLoaded]: {\r\n\t\ttype: TriggerType.WidgetLoaded,\r\n\t\ticon: '#web-assistant-alt',\r\n\t\tdescription: 'Page Loaded'\r\n\t},\r\n\t[TriggerType.ConversationOpened]: {\r\n\t\ttype: TriggerType.ConversationOpened,\r\n\t\ticon: '#conversation',\r\n\t\tdescription: 'Conversation Opened'\r\n\t},\r\n\t[TriggerType.Unknown]: {\r\n\t\ttype: TriggerType.Unknown,\r\n\t\ticon: '#unknown',\r\n\t\tdescription: 'Unknown Intent'\r\n\t},\r\n\t[TriggerType.AgentRequested]: {\r\n\t\ttype: TriggerType.AgentRequested,\r\n\t\ticon: '#google-bm',\r\n\t\tdescription: 'Live Agent Requested'\r\n\t}\r\n};\r\n\r\nexport const AvailableTriggers = {\r\n\tget: (key: string) => triggers[key],\r\n\tlist: () => Object.values(triggers)\r\n};\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { Getter } from 'vuex-class';\r\n\r\nimport { InstalledApp, AppConfigViewModel } from '@/features/apps/shared/models';\r\nimport CapableAppSelection from './CapableAppSelection.vue';\r\nimport CapableAppConfig from './CapableAppConfig.vue';\r\nimport { ConfigRequest } from './configRequest';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tCapableAppSelection,\r\n\t\tCapableAppConfig\r\n\t}\r\n})\r\nexport default class CapableAppModal extends Vue {\r\n\t@Prop() public capableApps: InstalledApp[];\r\n\t@Prop() public configRequest: ConfigRequest;\r\n\t@Prop() public modalHeading: string;\r\n\tpublic currentApp: InstalledApp | null = null;\r\n\r\n\tpublic getTitle() {\r\n\t\tif (this.currentApp) {\r\n\t\t\treturn this.currentApp.name;\r\n\t\t}\r\n\t\treturn this.modalHeading;\r\n\t}\r\n\r\n\tpublic getSubtitle() {\r\n\t\tif (this.currentApp) {\r\n\t\t\tif (this.currentApp.description) {\r\n\t\t\t\treturn this.currentApp.description;\r\n\t\t\t}\r\n\t\t\treturn 'Private app';\r\n\t\t}\r\n\t\treturn 'Select from your installed apps';\r\n\t}\r\n\r\n\tpublic getIcon() {\r\n\t\tif (!this.currentApp) {\r\n\t\t\treturn { type: 'fontawesome', icon: 'cubes' };\r\n\t\t}\r\n\t\tif (this.currentApp.icon) {\r\n\t\t\treturn { type: 'svg', icon: this.currentApp.icon };\r\n\t\t}\r\n\t\treturn { type: 'fontawesome', icon: 'code' };\r\n\t}\r\n\r\n\tpublic close() {\r\n\t\tthis.$emit('close');\r\n\t}\r\n\r\n\tpublic onAppSelected(app: InstalledApp) {\r\n\t\tif (app.hasConfigUrl) {\r\n\t\t\tthis.currentApp = app;\r\n\t\t} else {\r\n\t\t\tthis.complete(app.installedAppId, {});\r\n\t\t}\r\n\t}\r\n\r\n\tpublic complete(installedAppId: string, config: any) {\r\n\t\tthis.$emit('completed', installedAppId, config);\r\n\t\tthis.close();\r\n\t}\r\n}\r\n","import { MutationTree } from 'vuex';\r\nimport {HolidaysState} from '.';\r\nimport {\r\n\tSET_HOLIDAYS,\r\n\tADD_TO_HOLIDAYS_CACHE,\r\n\tREMOVE_HOLIDAY_FROM_CACHE,\r\n\tUPDATE_HOLIDAY_IN_CACHE,\r\n\tCLEAR_HOLIDAYS_CACHE\r\n} from './mutationTypes';\r\nimport {HolidayViewModel} from '@/features/bots/models/holidayViewModel';\r\n\r\nexport const mutations: MutationTree = {\r\n\t[SET_HOLIDAYS](state, holidays: HolidayViewModel[]) {\r\n\t\tstate.holidays = holidays;\r\n\t},\r\n\r\n\t[ADD_TO_HOLIDAYS_CACHE](state, holiday: HolidayViewModel) {\r\n\t\tstate.holidays.push(holiday);\r\n\t\tstate.holidays.sort((h1, h2) => h1.name.toLowerCase().localeCompare(h2.name.toLowerCase()));\r\n\t},\r\n\r\n\t[UPDATE_HOLIDAY_IN_CACHE](state, updatedHoliday: HolidayViewModel) {\r\n\t\tconst holidayInCache = state.holidays.find(holiday => holiday.id === updatedHoliday.id);\r\n\t\tif (holidayInCache) {\r\n\t\t\tObject.assign(holidayInCache, updatedHoliday);\r\n\t\t}\r\n\t\tstate.holidays.sort((h1, h2) => h1.name.toLowerCase().localeCompare(h2.name.toLowerCase()));\r\n\t},\r\n\r\n\t[REMOVE_HOLIDAY_FROM_CACHE](state, holidayId: string) {\r\n\t\tstate.holidays = state.holidays.filter(holiday => holiday.id !== holidayId);\r\n\t},\r\n\r\n\t[CLEAR_HOLIDAYS_CACHE](state) {\r\n\t\tstate.holidays = [];\r\n\t},\r\n};\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue} from 'vue-property-decorator';\r\nimport {mixin as clickaway} from 'vue-clickaway';\r\nimport {ConditionViewModel} from './models/conditionViewModel';\r\nimport { IConditionsManager } from './models/conditionsManager';\r\nimport DateTimeCondition from './configComponents/DateTimeCondition.vue';\r\nimport TextCondition from './configComponents/TextCondition.vue';\r\nimport DecimalCondition from './configComponents/DecimalCondition.vue';\r\nimport NumberCondition from './configComponents/NumberCondition.vue';\r\nimport ListCondition from './configComponents/ListCondition.vue';\r\nimport DurationCondition from './configComponents/DurationCondition.vue';\r\nimport IntentCondition from '@/features/bots/components/designer/Conditions/IntentCondition.vue';\r\nimport TimeOfDayCondition from './configComponents/TimeOfDayCondition.vue';\r\nimport { ConditionOperationType } from '@/shared/components/conditions/models/conditions';\r\n\r\n@Component({\r\n\tmixins: [\r\n\t\tclickaway,\r\n\t],\r\n\tcomponents: {\r\n\t\tDateTimeCondition,\r\n\t\tTextCondition,\r\n\t\tNumberCondition,\r\n\t\tDecimalCondition,\r\n\t\tListCondition,\r\n\t\tDurationCondition,\r\n\t\tIntentCondition,\r\n\t\tTimeOfDayCondition\r\n\t}\r\n})\r\nexport default class ConditionConfigurator extends Vue {\r\n\t@Prop() public value: ConditionViewModel;\r\n\t@Prop() public manager: IConditionsManager;\r\n\r\n\r\n\tpublic condition: ConditionViewModel = {\r\n\t\tattribute: '',\r\n\t\toperation: '',\r\n\t\ttype: '',\r\n\t\tunit: '',\r\n\t\tvalue: '',\r\n\t\tresult: true\r\n\t};\r\n\r\n\tpublic mounted() {\r\n\t\tif (this.value) {\r\n\t\t\tthis.condition = {\r\n\t\t\t\tattribute: this.value.attribute,\r\n\t\t\t\toperation: this.value.operation,\r\n\t\t\t\ttype: this.mappedType,\r\n\t\t\t\tunit: this.value.unit,\r\n\t\t\t\tvalue: this.value.value,\r\n\t\t\t\tresult: this.value.result,\r\n\t\t\t\tinvalid: this.value.invalid,\r\n\t\t\t};\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getConditionConfigComponent() {\r\n\t\treturn this.manager.getConfigComponent(this.condition);\r\n\t}\r\n\r\n\tpublic getConditionOptions() {\r\n\t\treturn this.manager.getConditionOptions(this.condition);\r\n\t}\r\n\r\n\tpublic conditionUpdated(update: ConditionViewModel) {\r\n\t\t// pass up any changes as they happen, so that the parent has the up-to-date state\r\n\t\t// if the config is closed by clicking away\r\n\t\tif (update.operation === ConditionOperationType.IsSet) {\r\n\t\t\tupdate.value = '';\r\n\t\t\tupdate.unit = undefined;\r\n\t\t}\r\n\r\n\t\tthis.condition = update;\r\n\t\tthis.$emit('updated', this.condition);\r\n\t}\r\n\r\n\tpublic onConfigChanged(update: ConditionViewModel) {\r\n\t\t// let the parent know that the config has been closed by clicking the done button\r\n\t\tthis.condition = update;\r\n\t\tthis.$emit('completed', this.condition);\r\n\t}\r\n\r\n\tprivate get mappedType(): string {\r\n\t\tconst mappings: { [key: string]: string } = {\r\n\t\t\tseconds: 'duration'\r\n\t\t};\r\n\t\treturn mappings[this.value.type] != null ? mappings[this.value.type] : this.value.type;\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CapableAppPicker.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CapableAppPicker.vue?vue&type=script&lang=ts\"","import { ConditionGroupViewModel } from './conditionGroupViewModel';\r\nimport { ConditionViewModel } from './conditionViewModel';\r\n\r\nexport class ConditionGroup {\r\n\tpublic static find(conditionGroup: ConditionGroupViewModel, predicate: (search: ConditionViewModel) => boolean): ConditionViewModel | undefined {\r\n\t\tfor (const c of conditionGroup.conditions) {\r\n\t\t\tif (this.isCondition(c)) {\r\n\t\t\t\tif (predicate(c)) {\r\n\t\t\t\t\treturn c;\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\treturn this.find(c, predicate);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn undefined;\r\n\t}\r\n\r\n\tpublic static findAll(conditionGroup: ConditionGroupViewModel, predicate: (search: ConditionViewModel) => boolean): ConditionViewModel[] {\r\n\t\tconst matchingConditions: ConditionViewModel[] = [];\r\n\t\tConditionGroup.forEachCondition(conditionGroup, (condition: ConditionViewModel) => {\r\n\t\t\tif (predicate(condition)) {\r\n\t\t\t\tmatchingConditions.push(condition);\r\n\t\t\t}\r\n\t\t});\r\n\t\treturn matchingConditions;\r\n\t}\r\n\r\n\r\n\tpublic static forEachCondition(conditionGroup: ConditionGroupViewModel | undefined, callback: (condition: ConditionViewModel) => void) {\r\n\t\tif (conditionGroup) {\r\n\t\t\tconditionGroup.conditions.forEach(c => {\r\n\t\t\t\tif (this.isCondition(c)) {\r\n\t\t\t\t\tcallback(c);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tConditionGroup.forEachCondition(c, callback);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\tpublic static isGroupInvalid(conditionGroup: ConditionGroupViewModel): boolean {\r\n\t\treturn conditionGroup.conditions.some(c => {\r\n\t\t\tif (this.isCondition(c)) {\r\n\t\t\t\treturn c.invalid;\r\n\t\t\t} else {\r\n\t\t\t\treturn this.isGroupInvalid(c);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tpublic static isCondition(item: ConditionViewModel | ConditionGroupViewModel): item is ConditionViewModel {\r\n\t\tif ((item as ConditionViewModel).attribute) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page\"},[(_vm.viewModel.disabled)?_c('Banner',[_c('div',{staticClass:\"banner-text\"},[_vm._v(\"Bots are currently disabled\")]),_c('n-button',{attrs:{\"variant\":\"primary\",\"loading\":_vm.enableInProgress},on:{\"click\":_vm.enableBot}},[_vm._v(\"Enable\\n\\t\\t\")])],1):_vm._e(),(_vm.botAppInstallError)?_c('Banner',{attrs:{\"show-overlay\":true}},[_c('div',{staticClass:\"banner-text\"},[_vm._v(\"\\n\\t\\t\\tThere's a problem with your bot config. Let's set it up again\\n\\t\\t\")]),_c('n-button',{attrs:{\"variant\":\"primary\",\"loading\":_vm.reinstallInProgress},on:{\"click\":_vm.reinstall}},[_vm._v(\"\\n\\t\\t\\tReconfigure\\n\\t\\t\")])],1):_vm._e(),(!_vm.botAppLoaded)?_c('LoadingSpinner'):_vm._e(),(_vm.botAppLoaded)?_c('section',{staticClass:\"section content-container\"},[_c('div',{staticClass:\"container is-fluid\"},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column\"},[_c('TitledSection',{staticClass:\"container island is-fluid\",scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('TriageIcon')]},proxy:true},{key:\"title\",fn:function(){return [_vm._v(\"Triage Contacts\")]},proxy:true},{key:\"subtitle\",fn:function(){return [_vm._v(\"Decide what data to capture and actions to take.\")]},proxy:true}],null,false,602018328)},[_c('div',{staticClass:\"columns triage-contacts\"},[_c('div',{staticClass:\"column\"},[_c('div',{staticClass:\"intro-message\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tAttendant will triage contacts by asking for more\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tinformation\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\")]),_c('div',{staticClass:\"contact-information-container\"},[_c('div',{staticClass:\"contact-information\"},[_c('n-toggle',{attrs:{\"id\":\"capture-name\",\"label\":\"Contact Name\"},model:{value:(_vm.viewModel.captureName),callback:function ($$v) {_vm.$set(_vm.viewModel, \"captureName\", $$v)},expression:\"viewModel.captureName\"}})],1),_c('div',{staticClass:\"contact-information\"},[_c('n-toggle',{attrs:{\"id\":\"capture-email\",\"label\":\"Email Address\"},model:{value:(_vm.viewModel.captureEmail),callback:function ($$v) {_vm.$set(_vm.viewModel, \"captureEmail\", $$v)},expression:\"viewModel.captureEmail\"}})],1),_c('div',{staticClass:\"contact-information\"},[_c('n-toggle',{attrs:{\"id\":\"capture-enquiry\",\"label\":\"Enquiry Topic\"},model:{value:(_vm.viewModel.captureEnquiry),callback:function ($$v) {_vm.$set(_vm.viewModel, \"captureEnquiry\", $$v)},expression:\"viewModel.captureEnquiry\"}})],1),(_vm.viewModel.captureEnquiry)?_c('div',{staticClass:\"contact-information\"},[_c('span',{staticClass:\"contact-attribute-label\"},[_vm._v(\"Topics\")]),_c('TagsInput',{staticClass:\"topic-tags\",attrs:{\"element-id\":\"enquiry-topics\",\"placeholder\":\"Enter your topic...\",\"disabled\":!_vm.viewModel.captureEnquiry},model:{value:(_vm.viewModel.enquiryOptions),callback:function ($$v) {_vm.$set(_vm.viewModel, \"enquiryOptions\", $$v)},expression:\"viewModel.enquiryOptions\"}})],1):_vm._e()]),_c('RulesList',{ref:\"rulesList\",attrs:{\"configRequest\":_vm.configRequest,\"selected-apps\":_vm.getSelectedFollowUpApps(),\"rules\":_vm.viewModel.rules,\"rule-conditions-manager\":_vm.ruleConditionsManager},on:{\"rules-updated\":_vm.rulesUpdated,\"followup-action-change\":_vm.selectedFollowUpActionsChanged}})],1)])])],1)]),_c('div',{staticClass:\"save-bot column\"},[_c('n-button',{staticClass:\"save-button\",attrs:{\"variant\":\"primary\",\"loading\":_vm.updateInProgress},on:{\"click\":function($event){return _vm.save()}}},[_vm._v(\"Save\\n\\t\\t\\t\\t\")]),(!_vm.viewModel.disabled && !_vm.botAppInstallError)?_c('a',{on:{\"click\":_vm.disableBot}},[_vm._v(\"I don't want to use bots...\")]):_vm._e()],1)])]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Vue} from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class AdvancedTooltip extends Vue {\r\n\tpublic isUp: boolean = false;\r\n\tpublic fromTop: number = 50;\r\n\tpublic $refs: {\r\n\t\tadvancedTooltip: HTMLElement,\r\n\t};\r\n\r\n\tpublic mounted() {\r\n\t\tconst tooltip = this.$refs.advancedTooltip;\r\n\t\tif (tooltip) {\r\n\t\t\tconst position = tooltip.getBoundingClientRect();\r\n\t\t\tconst padding = 15;\r\n\t\t\tif (position.bottom > window.innerHeight - padding) {\r\n\t\t\t\tthis.isUp = true;\r\n\t\t\t\tthis.fromTop = -(position.height + padding);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.isUp = false;\r\n\t}\r\n}\r\n","import { AnswerListItemViewModel } from '@/features/bots/models/answers/answerListItemViewModel';\r\nimport { AnswerViewModel } from '@/features/bots/models/answers/answerViewModel';\r\nimport { FlowStatus } from '@/features/bots/models/flowStatus';\r\nimport { Module } from 'vuex';\r\nimport { AppState } from '../app';\r\nimport { actions } from './actions';\r\nimport { mutations } from './mutations';\r\nimport { getters } from '@/store/answers/getters';\r\n\r\nexport interface AnswersState {\r\n\tanswers: AnswerListItemViewModel[];\r\n\tcurrentAnswer: AnswerViewModel;\r\n}\r\n\r\n// initial state\r\nexport const answersState: AnswersState = {\r\n\tanswers: [],\r\n\tcurrentAnswer: {\r\n\t\tid: '',\r\n\t\ttitle: '',\r\n\t\tintentId: '',\r\n\t\tstatus: FlowStatus.Draft,\r\n\t\tparentFlowIds: [],\r\n\t\tanswerStates: []\r\n\t}\r\n};\r\n\r\nexport const answers: Module = {\r\n\tnamespaced: false,\r\n\tstate: answersState,\r\n\tactions,\r\n\tmutations,\r\n\tgetters\r\n};\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"header-top\"},[_c('div',{staticClass:\"header-left\"},[(_vm.homescreenImageUrl)?_c('div',{staticClass:\"logo\"},[_c('img',{attrs:{\"src\":_vm.homescreenImageUrl}})]):_vm._e()]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isChatBoxOpen && _vm.isFullscreen),expression:\"isChatBoxOpen && isFullscreen\"}],staticClass:\"header-right\"},[_c('div',{staticClass:\"header-action-icon\"},[_c('svg',{staticClass:\"close-icon\",class:[_vm.isChatBoxOpen ? 'fadeIn': 'fadeOut'],attrs:{\"fill\":_vm.textColour,\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"stroke-width\":\"2\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}},[_c('line',{attrs:{\"x1\":\"18\",\"y1\":\"6\",\"x2\":\"6\",\"y2\":\"18\"}}),_c('line',{attrs:{\"x1\":\"6\",\"y1\":\"6\",\"x2\":\"18\",\"y2\":\"18\"}})])]),_vm._m(0)])]),_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.greetingText))]),_c('div',{staticClass:\"subtitle\"},[_vm._v(_vm._s(_vm.introductionText))])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"tooltip\"},[_c('span',{staticClass:\"tooltiptext\"},[_vm._v(\"Close\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Modal',{on:{\"cancel\":_vm.close},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"modal-card-title\"},[_vm._v(\"Add a new FAQ\")])]},proxy:true},{key:\"body\",fn:function(){return [_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\",attrs:{\"for\":\"answer-modal-title-input\"}},[_vm._v(\"Frequently Asked Question\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.faqTitle),expression:\"faqTitle\"}],ref:\"faqNameInput\",staticClass:\"input\",class:{'is-danger': _vm.$v.faqTitle.$invalid && _vm.$v.faqTitle.$dirty },attrs:{\"id\":\"answer-modal-title-input\",\"type\":\"text\",\"placeholder\":\"Enter the Frequently Asked Question...\"},domProps:{\"value\":(_vm.faqTitle)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.faqTitle=$event.target.value},function($event){return _vm.$v.faqTitle.$touch()}],\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.addFAQ($event)}}}),(_vm.$v.faqTitle.$invalid && _vm.$v.faqTitle.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(_vm._s(_vm.getErrorMessage()))]):_vm._e()])])]},proxy:true},{key:\"buttons\",fn:function(){return [_c('n-button-group',[_c('n-button',{attrs:{\"id\":\"answer-modal-add-button\",\"variant\":\"primary\",\"disabled\":_vm.$v.$invalid,\"loading\":_vm.isLoading},on:{\"click\":_vm.addFAQ}},[_vm._v(\"Add\")]),_c('n-button',{attrs:{\"id\":\"answer-modal-close-button\",\"variant\":\"primary--outline\"},on:{\"click\":_vm.close}},[_vm._v(\"Cancel\")])],1)]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextCondition.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextCondition.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BusinessHoursSelection.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BusinessHoursSelection.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"picker-container\"},[_c(_vm.getConditionConfigComponent(),{tag:\"component\",attrs:{\"condition\":_vm.condition,\"options\":_vm.getConditionOptions()},on:{\"changed\":_vm.conditionUpdated,\"completed\":_vm.onConfigChanged}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Apps.vue?vue&type=style&index=0&id=00e0eb6a&prod&scoped=true&lang=scss\"","import { render, staticRenderFns } from \"./AnswerEditor.vue?vue&type=template&id=64a1f879&scoped=true\"\nimport script from \"./AnswerEditor.vue?vue&type=script&lang=ts\"\nexport * from \"./AnswerEditor.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AnswerEditor.vue?vue&type=style&index=0&id=64a1f879&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"64a1f879\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./PrivateApps.vue?vue&type=template&id=848d6218&scoped=true\"\nimport script from \"./PrivateApps.vue?vue&type=script&lang=ts\"\nexport * from \"./PrivateApps.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"848d6218\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue';\r\nimport { default as ColourPicker } from '@/shared/services/color';\r\nimport { Component, Prop} from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class HomeScreenPanelStartChat extends Vue {\r\n\t@Prop() public brandColour: string;\r\n\t@Prop() public actionColour: string;\r\n\r\n\tpublic title: string = 'Need help?';\r\n\t@Prop() public subtitle: string;\r\n\tpublic latestMessage: null = null;\r\n\r\n\tget textColour() {\r\n\t\treturn ColourPicker.getContrastingColour(this.actionColour);\r\n\t}\r\n\r\n\tpublic getDarkPrimary() {\r\n\t\treturn ColourPicker.darken(this.brandColour, 12);\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.botStudioEnabled)?_c('Banner',{attrs:{\"type\":\"info\"}},[_c('div',{staticClass:\"banner-text\"},[_vm._v(\"Upgrade to make your flows live\")]),_c('strong',[_c('a',{staticClass:\"is-underlined\",attrs:{\"id\":\"upgrade-link\"},on:{\"click\":_vm.openUpgradeModal}},[_vm._v(\"Upgrade\")])])]):_vm._e(),(_vm.upgradeModalOpen)?_c('UpgradeModal',{on:{\"close\":_vm.closeUpgradeModal}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./AddIntentModal.vue?vue&type=template&id=81263d90&scoped=true\"\nimport script from \"./AddIntentModal.vue?vue&type=script&lang=ts\"\nexport * from \"./AddIntentModal.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddIntentModal.vue?vue&type=style&index=0&id=81263d90&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"81263d90\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PercentageStackedBarChart.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PercentageStackedBarChart.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NumberCondition.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NumberCondition.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { Getter } from 'vuex-class';\r\n\r\nimport CardRenderer from '@/shared/components/cardRenderer/CardRenderer.vue';\r\nimport { Card, CardSubmitEvent, CardSubmitParsedValue } from '@/shared/components/cardRenderer';\r\nimport { InstalledApp, AppConfigViewModel } from '@/features/apps/shared/models';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport Toast from '@/shared/services/toast';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport { ConfigRequest } from './configRequest';\r\nimport {AppCard} from '@/features/apps/shared/models/appCard';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tCardRenderer,\r\n\t\tLoadingSpinner\r\n\t}\r\n})\r\nexport default class CapableAppConfig extends Vue {\r\n\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\r\n\t@Prop() public installedApp: InstalledApp;\r\n\t@Prop() public configRequest: ConfigRequest;\r\n\r\n\tpublic card: AppCard = {\r\n\t\tcomponents: []\r\n\t};\r\n\r\n\tpublic loading: boolean = true;\r\n\r\n\tpublic mounted() {\r\n\t\tthis.appConfig(this.installedApp.installedAppId);\r\n\t}\r\n\r\n\tpublic getCards(): Card[] {\r\n\t\treturn [\r\n\t\t\t{\r\n\t\t\t\tid: 'appConfig',\r\n\t\t\t\tcontent: this.card\r\n\t\t\t}\r\n\t\t];\r\n\t}\r\n\r\n\tpublic cardSubmit(e: CardSubmitEvent) {\r\n\t\tthis.appConfig(this.installedApp.installedAppId, e.parsedValues, e.componentId);\r\n\t}\r\n\r\n\tprivate async appConfig(installedAppId: string, values?: CardSubmitParsedValue[], componentId?: string) {\r\n\t\ttry {\r\n\t\t\tconst res: AppConfigViewModel = await this.configRequest(this.currentWorkspace.id, installedAppId, this.getInputData(values), this.storedData, componentId);\r\n\t\t\tif (res.card && res.card.components) {\r\n\t\t\t\t// more UI to render\r\n\t\t\t\tthis.card = res.card;\r\n\t\t\t\tthis.loading = false;\r\n\t\t\t} else {\r\n\t\t\t\t// config endpoint has created a new configuration\r\n\t\t\t\tToast.showSuccess('Configured app');\r\n\t\t\t\tthis.$emit('configured', installedAppId, res.config);\r\n\t\t\t}\r\n\t\t} catch (error) {\r\n\t\t\tToast.showError(error.message);\r\n\t\t\tif (!this.card) {\r\n\t\t\t\tthis.card = {\r\n\t\t\t\t\tcomponents: []\r\n\t\t\t\t};\r\n\t\t\t}\r\n\t\t\tthis.loading = false;\r\n\t\t}\r\n\t}\r\n\r\n\tprivate getInputData(submittedValues?: CardSubmitParsedValue[]): { [key: string]: string } {\r\n\t\tconst values: { [key: string]: string } = {};\r\n\t\tif (submittedValues) {\r\n\t\t\tfor (const value of submittedValues) {\r\n\t\t\t\tvalues[value.id] = value.value;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn values;\r\n\t}\r\n\r\n\tprivate get storedData(): { [key: string]: string } {\r\n\t\tif (this.card.storedData) {\r\n\t\t\treturn this.card.storedData;\r\n\t\t}\r\n\t\treturn {};\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebAssistantImageUpload.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebAssistantImageUpload.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./GoogleBmLaunchModal.vue?vue&type=template&id=fad6cb60\"\nimport script from \"./GoogleBmLaunchModal.vue?vue&type=script&lang=ts\"\nexport * from \"./GoogleBmLaunchModal.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UpgradeModal.vue?vue&type=style&index=0&id=7a724f64&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('modal',{on:{\"cancel\":_vm.closeModal},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"modal-card-title\"},[_vm._v(\"Add Holiday\")])]},proxy:true},{key:\"body\",fn:function(){return [_c('fieldset',[_c('div',{staticClass:\"field\"},[_c('n-text-input',{ref:\"nameInput\",attrs:{\"label\":\"Name\",\"id\":\"name\",\"errorMessage\":_vm.getErrorMessage(_vm.$v, 'name', 'Name')},on:{\"input\":function($event){return _vm.$v.name.$touch()}},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:\"name\"}})],1),_c('div',{staticClass:\"form-item\"},[_c('label',[_vm._v(\"\\n\\t\\t\\t\\t\\tOn\\n\\t\\t\\t\\t\\t\"),_c('n-tooltip',{attrs:{\"position\":\"right\",\"text\":\"Previously added holidays now in the past will automatically be removed\"}})],1)]),_c('ul',[_c('transition-group',{attrs:{\"name\":\"fade\"}},_vm._l((_vm.dates),function(d,index){return _c('li',{key:d.key,staticClass:\"date-list-item\"},[_c('div',{staticClass:\"date-item\"},[_c('n-date-picker',{ref:\"dateInput\",refInFor:true,attrs:{\"min\":new Date(),\"errorMessage\":_vm.getErrorMessage(_vm.$v.dates.$each[index], 'date', 'Date')},on:{\"input\":function($event){return _vm.$v.dates.$each[index].date.$touch()}},model:{value:(d.date),callback:function ($$v) {_vm.$set(d, \"date\", $$v)},expression:\"d.date\"}}),_c('div',{staticClass:\"icon-container\"},[_c('svg',{staticClass:\"trash-icon\",on:{\"click\":function($event){return _vm.deleteDate(index)}}},[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":\"#trash\"}})])])],1)])}),0),_c('li',{staticClass:\"date-list-item add-item-wrapper\"},[_c('n-button',{attrs:{\"variant\":\"ghost\",\"icon\":\"add\",\"disabled\":_vm.updateInProgress},on:{\"click\":_vm.addDate}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tAdd Date\\n\\t\\t\\t\\t\\t\")]),(!_vm.$v.dates.$each[0])?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tYou must add at least one date\\n\\t\\t\\t\\t\\t\")]):_vm._e()],1)],1)])]},proxy:true},{key:\"buttons\",fn:function(){return [_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\",\"disabled\":_vm.$v.$invalid,\"loading\":_vm.updateInProgress},on:{\"click\":_vm.update}},[_vm._v(\"\\n\\t\\t\\t\\tCreate Holiday\\n\\t\\t\\t\")]),_c('n-button',{attrs:{\"disabled\":_vm.updateInProgress},on:{\"click\":_vm.closeModal}},[_vm._v(\"Cancel\")])],1)]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\r\nimport {Component, Prop, Vue} from 'vue-property-decorator';\r\nimport CalendarIcon from 'vue-material-design-icons/CalendarRange.vue';\r\nimport EmailIcon from 'vue-material-design-icons/EmailOutline.vue';\r\nimport PhoneIcon from 'vue-material-design-icons/Phone.vue';\r\nimport PersonIcon from '@/shared/icons/PersonIcon.vue';\r\nimport TextIcon from 'vue-material-design-icons/TextShort.vue';\r\nimport DecimalIcon from 'vue-material-design-icons/CurrencyGbp.vue';\r\nimport CustomAttributeIcon from '@/shared/icons/CustomAttributeIcon.vue';\r\nimport QuestionIcon from 'vue-material-design-icons/ForumOutline.vue';\r\nimport NumberIcon from 'vue-material-design-icons/Pound.vue';\r\nimport PageIcon from 'vue-material-design-icons/Earth.vue';\r\nimport DurationIcon from 'vue-material-design-icons/ClockOutline.vue';\r\nimport MessageIcon from '@/shared/icons/MessageIcon.vue';\r\nimport ListIcon from '@/shared/icons/ListIcon.vue';\r\nimport ErrorIcon from 'vue-material-design-icons/AlertCircleOutline.vue';\r\nimport FlowIcon from 'vue-material-design-icons/Waves.vue';\r\nimport AnswerIcon from '@/shared/icons/AnswerIcon.vue';\r\nimport FlowVariableIcon from '@/shared/icons/FlowVariableIcon.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tCalendarIcon,\r\n\t\tPersonIcon,\r\n\t\tEmailIcon,\r\n\t\tPhoneIcon,\r\n\t\tTextIcon,\r\n\t\tDecimalIcon,\r\n\t\tCustomAttributeIcon,\r\n\t\tQuestionIcon,\r\n\t\tNumberIcon,\r\n\t\tPageIcon,\r\n\t\tDurationIcon,\r\n\t\tMessageIcon,\r\n\t\tListIcon,\r\n\t\tErrorIcon,\r\n\t\tFlowIcon,\r\n\t\tAnswerIcon,\r\n\t\tFlowVariableIcon\r\n\t}\r\n})\r\nexport default class Icon extends Vue {\r\n\t@Prop() public icon: IconName;\r\n}\r\n\r\nexport type IconName =\r\n\t'CalendarIcon' |\r\n\t'PersonIcon' |\r\n\t'EmailIcon' |\r\n\t'PhoneIcon' |\r\n\t'TextIcon' |\r\n\t'DecimalIcon' |\r\n\t'CustomAttributeIcon' |\r\n\t'QuestionIcon' |\r\n\t'NumberIcon' |\r\n\t'PageIcon' |\r\n\t'DurationIcon' |\r\n\t'MessageIcon' |\r\n\t'ListIcon' |\r\n\t'ErrorIcon' |\r\n\t'FlowIcon' |\r\n\t'AnswerIcon' |\r\n\t'FlowVariableIcon';\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"select is-fullwidth\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedItem),expression:\"selectedItem\"}],on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedItem=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},_vm.itemSelected]}},_vm._l((_vm.options),function(option){return _c('option',{key:option.id,domProps:{\"value\":option.id}},[_vm._v(_vm._s(option.title))])}),0)])])]),_c('div',{staticClass:\"control\"},[_c('n-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.complete()}}},[_vm._v(\"Done\")])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"list-app\"},[_c('div',{staticClass:\"field\"},[_c('n-text-input',{attrs:{\"label\":\"Heading\",\"errorMessage\":_vm.getErrorMessage('heading', 'Heading')},on:{\"input\":function () { return _vm.markAsTouched('heading'); }},model:{value:(_vm.value.heading),callback:function ($$v) {_vm.$set(_vm.value, \"heading\", $$v)},expression:\"value.heading\"}})],1),_vm._l((_vm.value.items),function(item,index){return _c('div',{staticClass:\"list-app__item\"},[_c('ContentHighlightsListItemEdit',{attrs:{\"value\":item,\"item-index\":index,\"v\":_vm.getItemValidation(index),\"total-items\":_vm.value.items.length},on:{\"remove\":function($event){return _vm.removeItem(index)},\"input\":function () { return _vm.$emit('input', _vm.$v.$invalid); }}})],1)}),_c('div',{staticClass:\"list-app__actions\"},[_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":_vm.addItem}},[_vm._v(\"Add Item\")])],1)],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./MessagingReports.vue?vue&type=template&id=24a55278&scoped=true\"\nimport script from \"./MessagingReports.vue?vue&type=script&lang=ts\"\nexport * from \"./MessagingReports.vue?vue&type=script&lang=ts\"\nimport style0 from \"./MessagingReports.vue?vue&type=style&index=0&id=24a55278&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"24a55278\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleBmAgentTestModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleBmAgentTestModal.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"additional-information-container\"},[_c('div',{staticClass:\"right-header\",style:({ backgroundColor: _vm.color, color: _vm.textColor })},[_c('span',[_vm._v(\"Additional Information\")])]),_c('div',{staticClass:\"config\"},[_vm._t(\"content\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"chart-container\"},[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"title-container\"},[_c('span',{staticClass:\"title is-5\"},[_vm._v(\"\\n\\t\\t\\t\\tEngagement Trend\\n\\t\\t\\t\\t\"),_c('div',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.right\",value:(_vm.tooltipText),expression:\"tooltipText\",modifiers:{\"right\":true}}],staticClass:\"icon\"},[_c('HelpIcon')],1)])]),(_vm.loadedAndReturnedData)?_c('div',{staticClass:\"buttons has-addons\"},[_c('span',{staticClass:\"button\",class:{'is-static': _vm.showLineChart},on:{\"click\":function($event){return _vm.switchLineChart()}}},[_c('font-awesome-icon',{attrs:{\"icon\":\"chart-line\"}})],1),_c('span',{staticClass:\"button percent-button\",class:{'is-static': _vm.showPercentageBarChart},on:{\"click\":function($event){return _vm.switchStackedChart()}}},[_c('font-awesome-icon',{attrs:{\"icon\":\"percent\"}})],1),_c('span',{staticClass:\"button\",class:{'is-static': _vm.showBarChart},on:{\"click\":function($event){return _vm.switchBarChart()}}},[_c('font-awesome-icon',{attrs:{\"icon\":\"chart-bar\"}})],1)]):_vm._e()]),(_vm.loadedAndReturnedData)?_c('div',[(_vm.showLineChart)?_c('LineChart',{staticClass:\"chart\",attrs:{\"reportId\":_vm.reportId,\"data\":_vm.data,\"fill\":true,\"seriesOrder\":['Started', 'Engaged', 'Completed']}}):_vm._e(),(_vm.showPercentageBarChart)?_c('PercentageStackedBarChart',{staticClass:\"chart\",attrs:{\"reportId\":_vm.reportId,\"data\":_vm.data,\"seriesOrder\":['Started', 'Engaged', 'Completed'],\"series-to-compare-to\":\"Started\"}}):_vm._e(),(_vm.showBarChart)?_c('BarChart',{staticClass:\"chart\",attrs:{\"reportId\":_vm.reportId,\"data\":_vm.data,\"seriesOrder\":['Started', 'Engaged', 'Completed']}}):_vm._e()],1):(_vm.loadedAndNotReturnedData)?_c('div',[_c('ChartNoData')],1):(_vm.loadingError)?_c('div',{staticClass:\"error-overlay\"},[_c('ChartError')],1):_c('div',[_c('LoadingSpinner')],1),(_vm.loadedAndReturnedData)?_c('div',{staticClass:\"chart-labels\"},[_c('ChartLabels',{attrs:{\"reportId\":_vm.reportId}})],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-component\"},[_c('IslandBadge',{attrs:{\"type\":\"text\"}}),_c('div',{staticClass:\"component-contents\"},[_c('div',{staticClass:\"text-container\"},[_c('TextEditor',{ref:\"textEditor\",attrs:{\"value\":_vm.state.text,\"placeholder\":'Enter a message...'},on:{\"text-updated\":_vm.textUpdated,\"error\":_vm.setInvalidAttribute}}),(_vm.$v.state.text.$error && !_vm.$v.state.text.required)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\tMessage text must not be empty\\n\\t\\t\\t\")]):_vm._e(),(_vm.$v.state.text.$error && !_vm.$v.state.text.attributeInvalid)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\tMessage contains an invalid attribute\\n\\t\\t\\t\")]):_vm._e()],1)]),(_vm.state.invalid)?_c('div',{staticClass:\"invalid-warning\"},[_c('ErrorIcon',{staticClass:\"icon-1-3x\"})],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./ContactDetails.vue?vue&type=template&id=7a28262a&scoped=true\"\nimport script from \"./ContactDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./ContactDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ContactDetails.vue?vue&type=style&index=0&id=7a28262a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7a28262a\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport VoerroTagsInput from '@voerro/vue-tagsinput';\r\nimport HtmlFormatter from '@/shared/services/htmlFormatter';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\t'tags-input': VoerroTagsInput,\r\n\t}\r\n})\r\nexport default class TagsInput extends Vue {\r\n\t@Prop() public elementId: string;\r\n\t@Prop() public placeholder: string;\r\n\t@Prop() public disabled: boolean;\r\n\t@Prop() public beforeAddingTag: () => boolean;\r\n\t@Prop() public validate: (input: string) => boolean;\r\n\t@Prop() public addTagsOnSpace: boolean;\r\n\t@Prop({default: 0}) public limit: number;\r\n\t@Prop() public value: string[]; // to support v-model fire a \"input\" event and have a \"value\" prop\r\n\r\n\tpublic tags: Array<{key: string, value: string}> = []; // binding to VoerroTagsInput component\r\n\r\n\tprivate internalList: Array<{ encoded: string, raw: string }> = []; // internal list mapping sanitized values to the original values\r\n\r\n\t@Watch('value', { immediate: true })\r\n\tpublic onValueChanged(values: string[], oldValues: string[]) {\r\n\t\tif (!values || this.arraysEqual(values, oldValues)) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.tags = values.map(value => ({ key: '', value }));\r\n\t}\r\n\r\n\t// gets called when someone adds a tag through the control\r\n\t// and for all values when the input is updated\r\n\tpublic onBeforeAddingTag(tag: {key: string, value: string}) {\r\n\t\tconst rawValue = tag.value;\r\n\t\ttag.value = HtmlFormatter.escapeHtmlCharacters(rawValue);\r\n\r\n\t\tif (!this.internalList.find(x => x.encoded === tag.value)) {\r\n\t\t\tthis.internalList.push({\r\n\t\t\t\tencoded: tag.value,\r\n\t\t\t\traw: rawValue\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\treturn true;\r\n\t}\r\n\r\n\tpublic onBeforeRemovingTag(tag: any) {\r\n\t\tthis.internalList = this.internalList.filter(x => x.encoded !== tag.value);\r\n\t\treturn true;\r\n\t}\r\n\r\n\tpublic onInput(tags: Array<{key: string, value: string}>) {\r\n\t\t// send back original values\r\n\t\tthis.$emit('input', tags.map(x => this.getOriginalValue(x.value)));\r\n\t}\r\n\r\n\tpublic onTagsUpdated() {\r\n\t\tthis.$emit('tags-updated');\r\n\t}\r\n\r\n\tpublic onKeyUp() {\r\n\t\tconst tagElement = this.$refs['tag-input-element'] as any;\r\n\t\tthis.$emit('text-updated', tagElement.input);\r\n\t}\r\n\r\n\tprivate getOriginalValue(value: string): string {\r\n\t\tconst internalValue = this.internalList.find(x => x.encoded === value);\r\n\t\treturn internalValue ? internalValue.raw : '';\r\n\t}\r\n\r\n\t// checks for genuine array equality\r\n\t// to close the v-model loop\r\n\tprivate arraysEqual(a: any, b: any) {\r\n\t\tif (a === b) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\tif (a == null || b == null) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tif (a.length !== b.length) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tfor (let i = 0; i < a.length; ++i) {\r\n\t\t\tif (a[i] !== b[i]) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn true;\r\n\t}\r\n}\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTable.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTable.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactsList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactsList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./UsageReports.vue?vue&type=template&id=176143c3&scoped=true\"\nimport script from \"./UsageReports.vue?vue&type=script&lang=ts\"\nexport * from \"./UsageReports.vue?vue&type=script&lang=ts\"\nimport style0 from \"./UsageReports.vue?vue&type=style&index=0&id=176143c3&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"176143c3\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./RulesList.vue?vue&type=template&id=2b20734b&scoped=true\"\nimport script from \"./RulesList.vue?vue&type=script&lang=ts\"\nexport * from \"./RulesList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./RulesList.vue?vue&type=style&index=0&id=2b20734b&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2b20734b\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UsageDateRangeFilter.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UsageDateRangeFilter.vue?vue&type=script&lang=ts\"","var render = function (_h,_vm) {var _c=_vm._c;return _c('span',{staticClass:\"material-design-icon sync-icon\",attrs:{\"aria-hidden\":_vm.decorative,\"role\":\"img\"}},[_c('svg',{staticClass:\"material-design-icon__svg\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"enable-background\":\"new 0 0 24 24\",\"height\":\"24\",\"viewBox\":\"0 0 24 24\",\"width\":\"24\"}},[_c('g',[_c('rect',{attrs:{\"fill\":\"none\",\"height\":\"24\",\"width\":\"24\"}})]),_c('g',[_c('g'),_c('g',[_c('path',{attrs:{\"d\":\"M22,8l-4-4v3H3v2h15v3L22,8z\"}}),_c('path',{attrs:{\"d\":\"M2,16l4,4v-3h15v-2H6v-3L2,16z\"}})])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","class DropDownHelper {\r\n\r\n\tpublic isDropDownUp(): boolean {\r\n\t\tconst dropdown = document.querySelector('.dropdown.is-active');\r\n\t\tconst menu = dropdown ? dropdown.querySelector('.dropdown-menu') : null;\r\n\t\tif (menu) {\r\n\t\t\tconst position = menu.getBoundingClientRect();\r\n\t\t\tconst padding = 10;\r\n\t\t\tif (position.bottom > window.innerHeight - padding) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n}\r\n\r\nexport const dropDownHelper = new DropDownHelper();\r\n","export const LOAD_ANSWERS = 'LOAD_ANSWERS';\r\nexport const LOAD_ANSWER = 'LOAD_ANSWER';\r\nexport const CREATE_ANSWER = 'CREATE_ANSWER';\r\nexport const UPDATE_ANSWER = 'UPDATE_ANSWER';\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HorizontalThresholdBarChart.vue?vue&type=style&index=0&id=2acc9c94&prod&lang=scss&scoped=true\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardRenderer.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardRenderer.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HomeScreenHeader.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HomeScreenHeader.vue?vue&type=script&lang=ts\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IslandBadge.vue?vue&type=style&index=0&id=7148775a&prod&scoped=true&lang=scss\"","\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { Getter } from 'vuex-class';\r\nimport { PublishedApp } from '../../shared/models';\r\nimport { googleBmApi } from '../services/googlebmApi';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport Toast from '@/shared/services/toast';\r\nimport { AgentConfigRequest } from '@/features/apps/googlebm/models/agentConfigRequest';\r\nimport { GoogleBmAgent } from '../models/googleBmAgent';\r\nimport GoogleBmAgentConfig from './googleBmAgentConfig.vue';\r\n\r\n@Component({\r\n\tcomponents: { GoogleBmAgentConfig }\r\n})\r\nexport default class GoogleBmEditAgent extends Vue {\r\n\t@Getter public currentApp!: PublishedApp;\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\r\n\t@Prop() public agent: GoogleBmAgent | null;\r\n\r\n\tpublic actionInProgress: boolean = false;\r\n\r\n\tpublic async onSave(request: AgentConfigRequest) {\r\n\t\tif (this.actionInProgress) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (!this.agent) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.actionInProgress = true;\r\n\r\n\t\ttry {\r\n\t\t\tawait googleBmApi.updateAgent(this.currentWorkspace.id, this.agent.customAgentId, request);\r\n\t\t\tthis.$emit('configSaved');\r\n\t\t} catch (err) {\r\n\t\t\tToast.showError(`Failed to save agent : ${err.message}`);\r\n\t\t}\r\n\t\tthis.actionInProgress = false;\r\n\t}\r\n\r\n\tpublic onCancel() {\r\n\t\tthis.$emit('cancel');\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebAssistantViewToggle.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebAssistantViewToggle.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConditionButton.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConditionButton.vue?vue&type=script&lang=ts\"","import { ReportState } from '.';\r\nimport { GetterTree } from 'vuex';\r\nimport { AppState } from '../app';\r\n\r\nexport const getters: GetterTree = {\r\n\tgetReportLabels(state: ReportState) {\r\n\t\treturn (reportId: string) => {\r\n\t\t\treturn state.labels[reportId];\r\n\t\t};\r\n\t},\r\n\tselectedDateOption(state: ReportState) {\r\n\t\treturn state.selectedDateOption;\r\n\t},\r\n\tselectedFlowId(state: ReportState) {\r\n\t\treturn state.selectedFlowId;\r\n\t},\r\n\treportFlowsOptions(state: ReportState) {\r\n\t\treturn state.flowListOptions;\r\n\t},\r\n\tisReportLoading(state: ReportState) {\r\n\t\treturn state.isReportLoading;\r\n\t}\r\n};\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue} from 'vue-property-decorator';\r\n\r\n@Component({\r\n\tcomponents: {}\r\n})\r\nexport default class ReadonlyField extends Vue {\r\n\t@Prop() public readonlyValue: string;\r\n}\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConversationPreview.vue?vue&type=style&index=0&id=2d7c5310&prod&scoped=true&lang=scss\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Register.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Register.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop, } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class TagBox extends Vue {\r\n\t@Prop() public value: string;\r\n\t@Prop({default: 65}) public width: number;\r\n\t@Prop({default: 36}) public height: number;\r\n\t@Prop({default: 1}) public border: number;\r\n\t@Prop({default: 'middle'}) public align: 'left' | 'middle';\r\n\r\n\tpublic netcallSalmonColour = '#FF6666';\r\n\r\n\tpublic get boxPath() {\r\n\t\treturn `M${this.width} 0 H0 V${this.height} H${this.width}`;\r\n\t}\r\n\r\n\tpublic get arrowPath() {\r\n\t\treturn `M${this.width} ${this.height} L${this.widthWithArrow} ${this.height / 2} L${this.width} 0`;\r\n\t}\r\n\r\n\tpublic get widthWithArrow() {\r\n\t\treturn this.width + 10;\r\n\t}\r\n\r\n\tpublic get textBaseline() {\r\n\t\treturn (this.height / 2) + (this.border * 2);\r\n\t}\r\n\r\n\tpublic get textX() {\r\n\t return this.align === 'left' ? 10 : this.width / 2;\r\n }\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MultiSelectPicker',{attrs:{\"value\":_vm.value,\"options\":_vm.columns,\"id-attribute\":\"name\",\"display-attribute\":\"display\",\"tooltip\":\"Show/Hide columns\"},on:{\"input\":_vm.onInput}},[_c('template',{slot:\"button-display\"},[_c('ColumnIcon',{staticClass:\"icon-1-5x\"})],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card-reset\",class:_vm.id},[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.getStyles())}}),_c('div',{ref:\"cardContainer\",staticClass:\"card-container\"})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport ConversationHeader from './ConversationHeader.vue';\r\nimport { ConversationMessage } from '../../models/conversation-message';\r\nimport { default as ColourPicker } from '@/shared/services/color';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tConversationHeader\r\n\t}\r\n})\r\nexport default class ConversationPreview extends Vue {\r\n\t@Prop() public brandColour: string;\r\n\t@Prop() public outboundMessageColour: string;\r\n\t@Prop() public actionColour: string;\r\n\t@Prop() public headerText: string;\r\n\t@Prop() public typicalResponseTime: string;\r\n\t@Prop({ default: false }) public displayAvatar: boolean;\r\n\t@Prop({ default: false }) public enableAvatarTooltip: boolean;\r\n\t@Prop() public messages: ConversationMessage[];\r\n\t@Prop({ default: true }) public readonlyApps: string;\r\n\r\n\tpublic getContrastingSentMessageColour() {\r\n\t\treturn ColourPicker.getContrastingColour(this.outboundMessageColour);\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./Answers.vue?vue&type=template&id=609578d9&scoped=true\"\nimport script from \"./Answers.vue?vue&type=script&lang=ts\"\nexport * from \"./Answers.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Answers.vue?vue&type=style&index=0&id=609578d9&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"609578d9\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport moment from 'moment';\r\nimport EditableComponent from '@/shared/components/EditableComponent.vue';\r\n\r\n@Component({\r\n\tcomponents: { EditableComponent },\r\n})\r\nexport default class TimeSelector extends Vue {\r\n\t@Prop() public value: Date;\r\n\r\n\tpublic selectedDate: Date = new Date();\r\n\r\n\tpublic mounted() {\r\n\t\tthis.selectedDate = this.value;\r\n\t}\r\n\r\n\tpublic get displayDate() {\r\n\t\treturn moment(this.selectedDate).format('HH:mm, DD/MM/YYYY');\r\n\t}\r\n\r\n\tpublic handleDateChange(date: Date) {\r\n\t\tthis.selectedDate = date;\r\n\t\tthis.emitSelectedDate();\r\n\t}\r\n\r\n\tprivate emitSelectedDate() {\r\n\t\tthis.$emit('input', this.selectedDate);\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue, Watch} from 'vue-property-decorator';\r\nimport {Getter} from 'vuex-class';\r\nimport {mixin as clickaway} from 'vue-clickaway';\r\nimport {InputVariableViewModel} from '@/features/bots/models/designer';\r\nimport AddNewVariableModal from './AddNewVariableModal.vue';\r\nimport {dropDownHelper} from '@/shared/components/dropDownMenu/dropDownHelper';\r\nimport {ContactAttributeViewModel} from '@/messaging/models/contactAttributeViewModel';\r\nimport Icon from '@/shared/icons/Icon.vue';\r\nimport AddIcon from 'vue-material-design-icons/Plus.vue';\r\nimport AttributeIconUtil from '@/shared/util/attributeIconUtil';\r\nimport {ContactAttributeType} from '@/messaging/models/contactAttributeType';\r\nimport CreateAttribute from '@/features/settings/components/CreateAttribute.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tAddNewVariableModal,\r\n\t\tCreateAttribute,\r\n\t\tIcon,\r\n\t\tAddIcon\r\n\t},\r\n\tmixins: [\r\n\t\tclickaway\r\n\t]\r\n})\r\nexport default class VariablePicker extends Vue {\r\n\t@Prop() public value: InputVariableViewModel;\r\n\t@Prop({default: true}) public showButton: boolean;\r\n\t@Prop({default: 'right'}) public direction: string;\r\n\t@Prop() public open: boolean;\r\n\t@Prop({default: false}) public readonly: boolean;\r\n\t@Prop() public additionalAttributes!: InputVariableViewModel[];\r\n\t@Getter public flowVariables!: InputVariableViewModel[];\r\n\t@Getter public contactAttributes!: ContactAttributeViewModel[];\r\n\t@Getter public getAttribute!: (attributeId: string) => ContactAttributeViewModel | undefined;\r\n\r\n\tpublic selected: InputVariableViewModel;\r\n\tpublic isOpen: boolean = false;\r\n\tpublic showNewVariableModal: boolean = false;\r\n\tpublic showCreateAttributeModal: boolean = false;\r\n\tpublic newVarName: string = '';\r\n\tpublic isUp: boolean = false;\r\n\r\n\t@Watch('value', { immediate: true })\r\n\tpublic onValueChanged(value: InputVariableViewModel, previous: InputVariableViewModel) {\r\n\t\tthis.selected = value;\r\n\t}\r\n\r\n\t@Watch('open', { immediate: true })\r\n\tpublic onDropdownOpenChanged(value: boolean) {\r\n\t\tthis.isOpen = value;\r\n\t\tthis.positionDropdown();\r\n\t}\r\n\r\n\tpublic get contactVariables(): InputVariableViewModel[] {\r\n\t\tconst contactAttributes = this.contactAttributes.filter(attr => attr.type !== ContactAttributeType.Date).map((attr: ContactAttributeViewModel) => ({\r\n\t\t\tid: (attr.system ? 'appUser.' : 'appUser.customAttributes.') + attr.id,\r\n\t\t\tscope: attr.system ? 'appUser' : 'appUser.customAttributes',\r\n\t\t\tkey: attr.id,\r\n\t\t\tname: attr.name,\r\n\t\t\tdataType: attr.type\r\n\t\t} as InputVariableViewModel));\r\n\r\n\t\tif (this.additionalAttributes) {\r\n\t\t\tcontactAttributes.unshift(...this.additionalAttributes);\r\n\t\t}\r\n\t\treturn contactAttributes;\r\n\t}\r\n\r\n\tpublic getIconComponent(variable: InputVariableViewModel) {\r\n\t\treturn AttributeIconUtil.getIcon(variable.dataType, variable.key, this.isSystemAttribute(variable.key));\r\n\t}\r\n\r\n\tpublic isFlowVariableSelected() {\r\n\t\treturn this.selected && this.selected.scope === 'flow';\r\n\t}\r\n\r\n\tpublic isAppUserVariableSelected() {\r\n\t\treturn this.selected && this.selected.scope.startsWith('appUser');\r\n\t}\r\n\r\n\tpublic getDescription() {\r\n\t\tif (!this.selected) {\r\n\t\t\treturn 'Choose a variable...';\r\n\t\t}\r\n\r\n\t\treturn this.selected.name;\r\n\t}\r\n\r\n\tpublic chooseVariable(variable: InputVariableViewModel) {\r\n\t\tthis.selected = variable;\r\n\t\tthis.$emit('variable-selected', this.selected);\r\n\t}\r\n\r\n\tpublic closePicker() {\r\n\t\tthis.isOpen = false;\r\n\t\tthis.isUp = false;\r\n\t}\r\n\r\n\tpublic togglePicker() {\r\n\t\tthis.isOpen = !this.isOpen;\r\n\t\tthis.positionDropdown();\r\n\t}\r\n\r\n\tpublic variableAdded(newVar: InputVariableViewModel) {\r\n\t\tthis.chooseVariable(newVar);\r\n\t\tthis.closeModal();\r\n\t}\r\n\r\n\tpublic openNewVariableModal() {\r\n\t\tthis.showNewVariableModal = true;\r\n\t}\r\n\r\n\tpublic closeModal() {\r\n\t\tthis.showNewVariableModal = false;\r\n\t}\r\n\r\n\tpublic getTopDistance() {\r\n\t\tif (this.isUp && !this.showButton) {\r\n\t\t\treturn '-27px';\r\n\t\t} else if (!this.isUp && !this.showButton) {\r\n\t\t\treturn '4px';\r\n\t\t}\r\n\t\treturn '0px';\r\n\t}\r\n\r\n\tpublic openNewAttributeModal() {\r\n\t\tthis.showCreateAttributeModal = true;\r\n\t}\r\n\r\n\tpublic closeAttributeModel(newAttribute?: ContactAttributeViewModel) {\r\n\t\tthis.showCreateAttributeModal = false;\r\n\t\tif (newAttribute) {\r\n\t\t\tconst variableForNewAttribute = this.contactVariables.find(attr => attr.key === newAttribute.id);\r\n\t\t\tif (variableForNewAttribute && variableForNewAttribute.dataType !== ContactAttributeType.Date) {\r\n\t\t\t\tthis.chooseVariable(variableForNewAttribute);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tprivate isSystemAttribute(variableId: string) {\r\n\t\tconst attribute = this.getAttribute(variableId);\r\n\t\treturn attribute ? attribute.system : false;\r\n\t}\r\n\r\n\tprivate positionDropdown() {\r\n\t\tthis.$nextTick(() => this.isUp = dropDownHelper.isDropDownUp());\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue} from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class InsertChartOutlinedIcon extends Vue {\r\n\t@Prop({ default: false}) public decorative: boolean;\r\n\t@Prop({ default: 'currentColor'}) public fillColor: string;\r\n\t@Prop({ default: 24}) public size: number;\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"path-picker\"},[_c('div',{staticClass:\"dropdown\",class:{'is-active': this.isOpen, 'is-up': this.isUp}},[_c('div',{directives:[{name:\"on-clickaway\",rawName:\"v-on-clickaway\",value:(_vm.closePicker),expression:\"closePicker\"}],staticClass:\"dropdown-trigger\",on:{\"click\":_vm.togglePicker}},[_c('button',{staticClass:\"button\",class:{'fixed': _vm.fixed}},[_c('span',{staticClass:\"selected-path\"},[_vm._v(_vm._s(_vm.getDescription()))]),(!_vm.fixed)?_c('span',{staticClass:\"icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"angle-down\"}})],1):_vm._e()])]),_c('div',{staticClass:\"dropdown-menu\",attrs:{\"id\":\"dropdown-menu\",\"role\":\"menu\"}},[_c('div',{staticClass:\"dropdown-content\"},[_vm._l((_vm.getPathsToChooseFrom()),function(path){return _c('a',{key:path.id,staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.choosePath(path.id)}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(path.name)+\"\\n\\t\\t\\t\\t\")])}),_c('hr',{staticClass:\"dropdown-divider\"}),_c('a',{staticClass:\"dropdown-item\",on:{\"click\":_vm.addNewPath}},[_vm._v(\"\\n\\t\\t\\t\\t\\tAdd new path\\n\\t\\t\\t\\t\")])],2)])]),_c('div',{staticClass:\"goto-button\"},[_c('button',{staticClass:\"button\",attrs:{\"disabled\":!_vm.hasSelectedPath(_vm.selected)},on:{\"click\":function($event){return _vm.goToPath(_vm.selected)}}},[_c('span',{staticClass:\"icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"arrow-right\"}})],1)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"title-container\"},[_c('span',{staticClass:\"title is-5\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.title)+\"\\n\\t\\t\\t\\t\\t\"),(_vm.tooltipText)?_c('div',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.right\",value:(_vm.tooltipText),expression:\"tooltipText\",modifiers:{\"right\":true}}],staticClass:\"icon\"},[_c('HelpIcon')],1):_vm._e()])])]),(_vm.loadedAndReturnedData)?_c('div',[_vm._t(\"chart\",null,{\"reportId\":_vm.reportId})],2):(_vm.loadedAndNotReturnedData)?_c('div',{staticClass:\"no-data\"},[_c('ChartNoData')],1):(_vm.loadingError)?_c('div',{staticClass:\"error-overlay\"},[_c('ChartError')],1):_c('div',[_c('LoadingSpinner')],1),(_vm.loadedAndReturnedData && _vm.showLabels)?_c('div',{staticClass:\"chart-labels\"},[_c('ChartLabels',{attrs:{\"reportId\":_vm.reportId}})],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"label-group\"},[_c('div',{staticClass:\"label-container\"},[_c('div',{staticClass:\"index-label-text-container\"},[_c('span',{staticClass:\"label-title\"},[_vm._v(_vm._s(_vm.scaleTitle))]),_c('span',{staticClass:\"label-value\"},[_vm._v(_vm._s(_vm.scaleValue))])])]),_vm._l((_vm.labels),function(label){return _c('div',{key:label.label,staticClass:\"label-container\"},[_c('div',{staticClass:\"label-color\",style:({'background-color': label.borderColour})}),_c('div',{staticClass:\"label-text-container\"},[_c('span',{staticClass:\"label-title\"},[_vm._v(_vm._s(label.label))]),_c('span',{staticClass:\"label-value\"},[_vm._v(_vm._s(label.value))])])])})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdvancedTooltip.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdvancedTooltip.vue?vue&type=script&lang=ts\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppIntegrationComponent.vue?vue&type=style&index=0&id=fbefa1d0&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dropdown\",class:{'is-active': _vm.isOpen, 'is-disabled': _vm.disabled}},[_c('div',{directives:[{name:\"on-clickaway\",rawName:\"v-on-clickaway\",value:(_vm.close),expression:\"close\"}],staticClass:\"dropdown-trigger\",on:{\"click\":_vm.toggleOpen}},[(_vm.dropDownIcon === 'none')?_vm._t(\"trigger\"):_c('a',{staticClass:\"dropdown-colours\",class:{'active': _vm.isOpen, 'use-colour': _vm.useColourOnActive}},[(_vm.dropDownIcon === 'big-add-circle')?_c('AddIcon',{staticClass:\"big-add-circle icon-3x\",attrs:{\"title\":\"\"}}):_vm._e(),(_vm.dropDownIcon === 'dots')?_c('Dots',{staticClass:\"dots icon-1-5x\"}):_vm._e(),(_vm.dropDownIcon === 'variable')?_c('CodeIcon',{staticClass:\"icon-1-2x\",class:{'clicked' : _vm.isOpen}}):_vm._e()],1)],2),_c('div',{staticClass:\"dropdown-menu\",class:{'go-left': _vm.goLeft},attrs:{\"id\":\"dropdown-menu\",\"role\":\"menu\"}},[_c('div',{staticClass:\"dropdown-content\"},[_vm._t(\"default\")],2)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DecisionComponent.vue?vue&type=style&index=0&id=0ba605ff&prod&scoped=true&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditIntentModal.vue?vue&type=style&index=0&id=58173104&prod&scoped=true&lang=scss\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport { Action } from 'vuex-class';\r\nimport Modal from '@/shared/components/Modal.vue';\r\nimport shortid from 'shortid';\r\nimport { required, maxLength } from 'vuelidate/lib/validators';\r\nimport { validationMixin } from 'vuelidate';\r\nimport VuelidateUtil from '@/shared/util/vuelidateUtil';\r\nimport Toast from '@/shared/services/toast';\r\nimport { IntentViewModel } from '@/features/bots/models/intents/intentViewModel';\r\nimport { UtteranceViewModel } from '@/features/bots/models/intents/utteranceViewModel';\r\nimport UtteranceList from '@/features/bots/components/designer/UtteranceList.vue';\r\nimport { CREATE_INTENT } from '@/store/intents/actionTypes';\r\nimport { SaveIntentViewModel } from '../../models/intents/saveIntentViewModel';\r\n\r\n@Component({\r\n\tmixins: [\r\n\t\tvalidationMixin,\r\n\t],\r\n\tcomponents: {\r\n\t\tUtteranceList,\r\n\t\tModal\r\n\t},\r\n\tvalidations: {\r\n\t\tintentTitle: {\r\n\t\t\trequired,\r\n\t\t\tmaxLength: maxLength(50),\r\n\t\t\tintentNameValid: VuelidateUtil.intentName\r\n\t\t},\r\n\t\tintentUtterances: {\r\n\t\t\trequired,\r\n\t\t\t$each: {\r\n\t\t\t\ttext: {\r\n\t\t\t\t\trequired,\r\n\t\t\t\t\tisUnique(value) {\r\n\t\t\t\t\t\treturn !(this.$v.intentUtterances && this.$v.intentUtterances.$model.filter((utterance: any) => utterance.text === value).length > 1);\r\n\t\t\t\t\t},\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n})\r\nexport default class AddIntentModal extends Vue {\r\n\t@Action(CREATE_INTENT) public createIntent!: (intent: SaveIntentViewModel) => Promise;\r\n\r\n\tpublic show: boolean = false;\r\n\tpublic isSaveInProgress: boolean = false;\r\n\r\n\r\n\tpublic intent: IntentViewModel;\r\n\tpublic intentId: string | undefined = '';\r\n\tpublic intentTitle: string = '';\r\n\tpublic intentUtterances: UtteranceViewModel[] = [];\r\n\r\n\tpublic showModal() {\r\n\t\tthis.show = true;\r\n\t}\r\n\r\n\tpublic cancel() {\r\n\t\tthis.$v.$reset();\r\n\t\tthis.show = false;\r\n\t\tthis.$emit('cancelled');\r\n\t}\r\n\r\n\tpublic async saveIntent() {\r\n\t\tthis.$v.$touch();\r\n\t\tif (this.$v.$invalid) {\r\n\t\t\tToast.showError('Fix the errors in red before saving');\r\n\t\t\treturn;\r\n\t\t}\r\n\t\ttry {\r\n\t\t\tthis.isSaveInProgress = true;\r\n\t\t\tthis.intent.utterances = this.intentUtterances.sort((uttOne, uttTwo) => uttOne.text.localeCompare(uttTwo.text));\r\n\t\t\tthis.intent.title = this.intentTitle.trim();\r\n\t\t\tthis.intent = await this.createIntent({\r\n\t\t\t\ttitle: this.intent.title,\r\n\t\t\t\tutterances: this.intent.utterances.map(utterance => utterance.text),\r\n\t\t\t});\r\n\t\t\tToast.showSuccess('Saved intent');\r\n\t\t\tthis.$emit('completed', this.intent);\r\n\t\t\tthis.show = false;\r\n\t\t\tthis.$v.$reset();\r\n\t\t} catch (ex: any) {\r\n\t\t\tToast.showError(ex.message);\r\n\t\t} finally {\r\n\t\t\tthis.isSaveInProgress = false;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic addNewIntent(firstUtterance?: string) {\r\n\t\tthis.intent = {\r\n\t\t\tid: `intent-${shortid.generate()}`,\r\n\t\t\ttitle: '',\r\n\t\t\tutterances: [\r\n\t\t\t\t{id: shortid.generate(), text: firstUtterance ? firstUtterance : ''},\r\n\t\t\t]\r\n\t\t} as IntentViewModel;\r\n\r\n\t\tthis.intentId = this.intent.id;\r\n\t\tthis.intentTitle = this.intent.title;\r\n\t\tthis.intentUtterances = this.intent.utterances;\r\n\r\n\t\tthis.show = true;\r\n\t}\r\n\r\n\tpublic getErrorMessage(): string {\r\n\t\tif (this.$v.intentTitle.required && !this.$v.intentTitle.intentNameValid) {\r\n\t\t\treturn 'Name must only contain letters, numbers, spaces, and the characters , - _ ( )';\r\n\t\t}\r\n\t\tif (!this.$v.intentTitle.maxLength) {\r\n\t\t\treturn 'Name must not be longer than 50 characters';\r\n\t\t}\r\n\t\tif (!this.$v.intentTitle.required && this.$v.intentTitle.$dirty) {\r\n\t\t\treturn 'Name must not be empty';\r\n\t\t}\r\n\r\n\t\treturn '';\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\nimport { Getter } from 'vuex-class';\r\nimport { ChannelIdentityViewModel } from '@/messaging/models/channelIdentityViewModel';\r\nimport DropDownMenu from '@/shared/components/dropDownMenu/DropDownMenu.vue';\r\nimport ChannelIcon from '@/shared/icons/ChannelIcon.vue';\r\n\r\n@Component({\r\n\tcomponents: { DropDownMenu, ChannelIcon }\r\n})\r\nexport default class ChannelIdentityPicker extends Vue {\r\n\t@Prop() public value: ChannelIdentityViewModel;\r\n\t@Getter public channelIdentities: ChannelIdentityViewModel[];\r\n\r\n\tpublic mounted() {\r\n\t\tif (this.value) {\r\n\t\t\tthis.chooseOption(this.channelIdentities.find(c => c.id === this.value.id));\r\n\t\t}\r\n\r\n\t\tif (!this.value && this.channelIdentities && this.channelIdentities.length > 0) {\r\n\t\t\tthis.chooseOption(this.channelIdentities[0]);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic chooseOption(identity?: ChannelIdentityViewModel) {\r\n\t\tthis.$emit('input', identity);\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport Draggable from 'vuedraggable';\r\nimport { StateViewModel } from '@/features/bots/models/designer';\r\nimport IslandBadge from './IslandBadge.vue';\r\nimport { mixin as clickaway } from 'vue-clickaway';\r\nimport {validationMixin} from 'vuelidate';\r\nimport AddIcon from 'vue-material-design-icons/Plus.vue';\r\nimport ErrorIcon from 'vue-material-design-icons/AlertCircleOutline.vue';\r\nimport TransitionPicker from '@/features/bots/components/designer/TransitionPicker.vue';\r\nimport TagBox from '@/shared/components/TagBox.vue';\r\nimport { DecisionViewModel } from '@/features/bots/models/designer/decisionViewModel';\r\nimport { TransitionViewModel } from '@/features/bots/models/designer/transitionViewModel';\r\nimport Decision from '@/features/bots/components/designer/Decision.vue';\r\nimport { required } from 'vuelidate/lib/validators';\r\nimport shortid from 'shortid';\r\nimport { Getter } from 'vuex-class';\r\n\r\n@Component({\r\n\tmixins: [\r\n\t\tclickaway,\r\n\t\tvalidationMixin\r\n\t],\r\n\tvalidations: {\r\n\t\tstate : {\r\n\t\t\tnoMatch: {\r\n\t\t\t\trequired,\r\n\t\t\t\ttype: {\r\n\t\t\t\t\trequired\r\n\t\t\t\t},\r\n\t\t\t\tpayload: {\r\n\t\t\t\t\tpayloadValid(payload: string) {\r\n\t\t\t\t\t\tconst component = (this as any);\r\n\t\t\t\t\t\tif (payload) {\r\n\t\t\t\t\t\t\treturn !component.isTransitionPayloadInvalid(payload);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\tcomponents: {\r\n\t\tDecision,\r\n\t\tDraggable,\r\n\t\tIslandBadge,\r\n\t\tAddIcon,\r\n\t\tTransitionPicker,\r\n\t\tTagBox,\r\n\t\tErrorIcon\r\n\t},\r\n})\r\nexport default class DecisionComponent extends Vue {\r\n\t@Prop() public value: StateViewModel;\r\n\t@Getter public isTransitionPayloadInvalid: (payload: string) => boolean;\r\n\r\n\tpublic state: StateViewModel = {\r\n\t\tid: '',\r\n\t\tcomponent: 'decision',\r\n\t\tdecisions: []\r\n\t};\r\n\r\n\tpublic decisions: DecisionViewModel[] = [];\r\n\tpublic invalid: boolean = true;\r\n\r\n\tpublic mounted() {\r\n\t\tif (this.value && this.value.decisions) {\r\n\t\t\tthis.state = this.value;\r\n\t\t\tthis.decisions = this.state.decisions || [];\r\n\t\t\tthis.invalid = this.state.invalid === undefined ? false : this.state.invalid;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic addDecision() {\r\n\t\tconst decision = {\r\n\t\t\ttransition: {\r\n\t\t\t\ttype: undefined,\r\n\t\t\t\tpayload: undefined\r\n\t\t\t},\r\n\t\t\tconditions: {\r\n\t\t\t\ttype: 'and',\r\n\t\t\t\tconditions: []\r\n\t\t\t}\r\n\t\t} as DecisionViewModel;\r\n\t\tthis.decisions.push(decision);\r\n\t\tthis.$nextTick(() => this.decisionsChanged());\r\n\t}\r\n\r\n\tpublic deleteDecision(index: number) {\r\n\t\tif (this.decisions.length === 1) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.decisions.splice(index, 1);\r\n\t\tthis.$nextTick(() => this.decisionsChanged());\r\n\t}\r\n\r\n\tpublic updateDecision(index: number, decision: DecisionViewModel) {\r\n\t\tthis.decisions[index] = decision;\r\n\t\tthis.decisionsChanged();\r\n\t}\r\n\r\n\tpublic updateDecisionsIfChanged() {\r\n\t\tif (this.state.decisions !== this.decisions) {\r\n\t\t\tthis.decisionsChanged();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic updateNoMatch(noMatch: TransitionViewModel) {\r\n\t\tthis.state.noMatch = noMatch;\r\n\t\tthis.state.decisions = this.decisions;\r\n\t\tthis.emitUpdatedEvent();\r\n\t}\r\n\r\n\tpublic validateDecision() {\r\n\t\tthis.$v!.state!.noMatch!.$touch();\r\n\t\tthis.showAllDecisionValidationErrors();\r\n\t}\r\n\r\n\tpublic areDecisionsValid(): boolean {\r\n\t\tfor (let i = 0; i < this.decisions.length; i++) {\r\n\t\t\tconst componentName = `decision-component-${i}`;\r\n\t\t\tif (!this.decisionIsValid(componentName)) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn true;\r\n\t}\r\n\r\n\tpublic showAllDecisionValidationErrors() {\r\n\t\tfor (let i = 0; i < this.decisions.length; i++) {\r\n\t\t\tconst componentName = `decision-component-${i}`;\r\n\t\t\tconst component = (this.$refs[componentName]as any)[0] as Decision;\r\n\t\t\tif (component) {\r\n\t\t\t\tcomponent.$v.providedDecision.$touch();\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tpublic createKey(decision: DecisionViewModel) {\r\n\t\tif (!decision.key) {\r\n\t\t\tdecision.key = shortid.generate();\r\n\t\t}\r\n\t\treturn decision.key;\r\n\t}\r\n\r\n\tprivate decisionsChanged() {\r\n\t\tthis.state.decisions = this.decisions;\r\n\t\tthis.emitUpdatedEvent();\r\n\t}\r\n\r\n\tprivate emitUpdatedEvent() {\r\n\t\tthis.invalid = this.$v!.state!.noMatch!.$invalid || !this.areDecisionsValid();\r\n\t\tthis.state.invalid = this.invalid;\r\n\t\tthis.$emit('state-updated', this.state);\r\n\t}\r\n\r\n\tprivate decisionIsValid(componentName: string) {\r\n\t\tif (this.$refs[componentName] && (this.$refs[componentName] as any)[0]) {\r\n\t\t\tconst component = (this.$refs[componentName]as any)[0] as Decision;\r\n\t\t\treturn !(component && component.$v && component.$v.$invalid);\r\n\t\t}\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"select is-fullwidth\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedOperationId),expression:\"selectedOperationId\"}],on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedOperationId=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},_vm.operationSelected]}},_vm._l((_vm.operations),function(operation){return _c('option',{key:operation.id,domProps:{\"value\":operation.id}},[_vm._v(_vm._s(operation.title))])}),0)])])]),(_vm.requiresInput)?_c('div',{staticClass:\"field is-grouped\"},[_c('div',{staticClass:\"control\"},[_c('input',{staticClass:\"input\",attrs:{\"type\":\"text\"},domProps:{\"value\":_vm.liveCondition.value},on:{\"input\":function($event){return _vm.textChanged($event.target.value)}}}),(_vm.$v.liveCondition.value.$invalid && _vm.$v.liveCondition.value.$dirty && !_vm.$v.liveCondition.value.required)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Number\\n\\t\\t\\t\\t\\tof \"+_vm._s(_vm.selectedUnitValue)+\" required\")]):_vm._e(),(_vm.$v.liveCondition.value.$invalid && _vm.$v.liveCondition.value.$dirty && _vm.$v.liveCondition.value.required && !_vm.$v.liveCondition.value.numeric)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Must be numeric\")]):_vm._e(),(_vm.$v.liveCondition.value.$invalid && _vm.$v.liveCondition.value.$dirty && _vm.$v.liveCondition.value.required && !_vm.$v.liveCondition.value.maxLength)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Must be a maximum of 8 characters\")]):_vm._e()]),_c('div',{staticClass:\"relative-text\"},[_c('span',[_vm._v(_vm._s(_vm.selectedUnitValue)+\" ago\")])])]):_vm._e(),_c('div',{staticClass:\"control\"},[_c('n-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.complete()}}},[_vm._v(\"Done\")])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport {Component, Mixins, Prop} from 'vue-property-decorator';\r\nimport {Doughnut} from 'vue-chartjs';\r\nimport {ChartConfig} from '@/features/reports/components/chartjs/chartConfig';\r\nimport {Data, Series} from '@/features/reports/models';\r\nimport Chart, {ChartData, ChartDataSets, ChartLegendItem, ChartTooltipModel} from 'chart.js';\r\nimport ColourService from '@/shared/services/color';\r\nimport {\r\n\tDoughnutChartLabel,\r\n\tDoughnutLabelConfig,\r\n\tLabelProvider,\r\n\tResizeStrategy\r\n} from '@/features/reports/components/chartjs/plugins/doughnutLabels/types';\r\nimport { chartDataUtil } from '../../util/ChartDataUtil';\r\nimport { LabelsAndData } from '../../models/labelsAndData';\r\nimport HtmlFormatter from '@/shared/services/htmlFormatter';\r\n\r\n@Component\r\nexport default class DoughnutChartBaseWrapper extends Mixins(Doughnut) {\r\n\t@Prop() public title: string;\r\n\t@Prop() public data: Data;\r\n\t@Prop() public labelsAndData: LabelsAndData; // for flows compatibility\r\n\t@Prop() public legendElementId: string;\r\n\r\n\tprivate chartData: ChartData;\r\n\r\n\tpublic async mounted() {\r\n\t\tthis.chartData = this.mapData();\r\n\t\tconst options = this.overrideOptions(ChartConfig.globalOptions);\r\n\r\n\t\tthis.renderChart(this.chartData, options);\r\n\t\tthis.createLegend();\r\n\t}\r\n\r\n\tpublic overrideOptions(options: Chart.ChartOptions): Chart.ChartOptions {\r\n\t\toptions.cutoutPercentage = 73;\r\n\t\toptions.plugins!.inlineLabels = false;\r\n\t\toptions.plugins!.crosshair = false;\r\n\t\toptions.tooltips = {\r\n\t\t\tenabled: false\r\n\t\t};\r\n\t\toptions.plugins!.doughnutlabel = {\r\n\t\t\tlabelProvider: this.labelProvider(),\r\n\t\t\tresizeStrategy: ResizeStrategy.TRUNCATE\r\n\t\t};\r\n\t\toptions.legendCallback = (chart: Chart) => {\r\n\t\t\tconst chartId: number = (chart as any).id;\r\n\r\n\t\t\tconst legendItems: ChartLegendItem[] = (chart as any).legend.legendItems;\r\n\t\t\tconst dataSets: ChartDataSets = chart.data.datasets![0];\r\n\t\t\tconst backgroundColours: string[] = dataSets.backgroundColor as string[];\r\n\r\n\t\t\tconst text = [];\r\n\t\t\ttext.push(``);\r\n\r\n\t\t\tfor (let i = 0; i < legendItems.length; i++) {\r\n\t\t\t\tif (legendItems[i].text) {\r\n\t\t\t\t\tconst originalLabel = legendItems[i].text || '';\r\n\t\t\t\t\tconst encodedLabel = HtmlFormatter.escapeHtmlCharacters(originalLabel);\r\n\t\t\t\t\tconst legendColour = i >= backgroundColours.length ? '#e5e5e5' : backgroundColours[i];\r\n\t\t\t\t\ttext.push(``);\r\n\t\t\t\t\ttext.push(`');\r\n\t\t\t\t\ttext.push(``);\r\n\t\t\t\t\ttext.push(``);\r\n\t\t\t\t\ttext.push('');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\ttext.push('
`);\r\n\t\t\t\t\ttext.push(`
 
`);\r\n\t\t\t\t\ttext.push('
${encodedLabel}${dataSets.data![i]}
');\r\n\t\t\treturn text.join('');\r\n\t\t};\r\n\t\toptions.legend!.display = false;\r\n\t\treturn options;\r\n\t}\r\n\r\n\tpublic mapData(): ChartData {\r\n\t\tlet labels: string[] = [];\r\n\t\tlet data: number[] = [];\r\n\r\n\t\tif (this.data) {\r\n\t\t\tlabels = this.data.scale.labels;\r\n\t\t\tdata = this.data.series[0].data; // only support a single series\r\n\t\t} else if (this.labelsAndData) {\r\n\t\t\tlabels = this.labelsAndData.labels;\r\n\t\t\tdata = this.labelsAndData.data;\r\n\t\t}\r\n\r\n\t\t// assumes that any grouping into \"others\" and ordering has already been done\r\n\t\tconst coloursRequired = labels.length;\r\n\t\tconst backgroundPalette = ChartConfig.backgroundColoursForRandomItems(coloursRequired);\r\n\t\tconst borderPalette = ChartConfig.singleColourPalette(coloursRequired, '#ffffff');\r\n\r\n\t\treturn {\r\n\t\t\tlabels,\r\n\t\t\tdatasets: [\r\n\t\t\t\t{\r\n\t\t\t\t\tdata,\r\n\t\t\t\t\tbackgroundColor: backgroundPalette,\r\n\t\t\t\t\thoverBackgroundColor: ColourService.setAlphas(backgroundPalette, 0.6),\r\n\t\t\t\t\tborderColor: borderPalette,\r\n\t\t\t\t\thoverBorderColor: borderPalette,\r\n\t\t\t\t\tborderWidth: 3,\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t};\r\n\t}\r\n\r\n\tprivate getHoverTooltipWhenNoSelection(): DoughnutChartLabel[] {\r\n\t\treturn [\r\n\t\t\t{ text: String(this.total), font: { size: 40, family: '\"Quicksand\", sans-serif' } },\r\n\t\t\t{ text: this.title, font: { size: 12, family: '\"Quicksand\", sans-serif' } },\r\n\t\t];\r\n\t}\r\n\r\n\tprivate labelProvider(): LabelProvider {\r\n\t\treturn (chart, index, key, value) => {\r\n\t\t\tif (value === undefined || !key) {\r\n\t\t\t\treturn this.getHoverTooltipWhenNoSelection();\r\n\t\t\t} else {\r\n\t\t\t\treturn this.getHoverTooltipWhenSelection(String(key), value);\r\n\t\t\t}\r\n\t\t};\r\n\t}\r\n\r\n\tprivate getHoverTooltipWhenSelection(legendItemName: string, value: number): DoughnutChartLabel[] {\r\n\t\tconst total = this.total;\r\n\t\tconst percentageOfTotal = (value / total) * 100;\r\n\t\tconst roundedPercentage = Math.round(percentageOfTotal * 100) / 100;\r\n\r\n\t\treturn [\r\n\t\t\t{ text: `${roundedPercentage}%`, font: { size: 40, family: '\"Quicksand\", sans-serif' } },\r\n\t\t\t{ text: legendItemName, font: { size: 12, family: '\"Quicksand\", sans-serif' } },\r\n\t\t];\r\n\t}\r\n\r\n\tprivate get total(): number {\r\n\t\treturn chartDataUtil.total(this.chartData.datasets![0].data as number[]);\r\n\t}\r\n\r\n\tprivate createLegend() {\r\n\t\tif (this.$data._chart) {\r\n\t\t\tconst chart: Chart = this.$data._chart;\r\n\r\n\t\t\tconst legendContainer = document.getElementById(this.legendElementId);\r\n\t\t\tlegendContainer!.innerHTML = chart.generateLegend().toString();\r\n\r\n\t\t\tif (this.total > 0) {\r\n\t\t\t\tconst legendRows = legendContainer!.getElementsByTagName('tr');\r\n\t\t\t\tlet index = 0;\r\n\t\t\t\tfor (const row of legendRows) {\r\n\t\t\t\t\tconst hoveredDatasetIndex = index++;\r\n\t\t\t\t\trow.addEventListener('mouseover', (event) => {\r\n\t\t\t\t\t\trow.style.backgroundColor = '#e5e5e5';\r\n\t\t\t\t\t\tthis.highlightActiveSegment(hoveredDatasetIndex, true);\r\n\t\t\t\t\t\tchart.options.tooltips!.custom!(this.createTooltipEventObject(chart, hoveredDatasetIndex));\r\n\t\t\t\t\t});\r\n\t\t\t\t\trow.addEventListener('mouseout', (event) => {\r\n\t\t\t\t\t\trow.style.backgroundColor = '';\r\n\t\t\t\t\t\tthis.highlightActiveSegment(hoveredDatasetIndex, false);\r\n\t\t\t\t\t\tconst tooltipEvent: any = { opacity: 0 };\r\n\t\t\t\t\t\tchart.options.tooltips!.custom!(tooltipEvent as ChartTooltipModel);\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tprivate createTooltipEventObject(chart: Chart, hoveredDatasetIndex: number): ChartTooltipModel {\r\n\t\tconst legendItems: ChartLegendItem[] = (chart as any).legend.legendItems;\r\n\t\tconst dataSets: ChartDataSets = chart.data.datasets![0];\r\n\t\treturn {\r\n\t\t\topacity: 1,\r\n\t\t\tbody: [\r\n\t\t\t\t{\r\n\t\t\t\t\tlines: [\r\n\t\t\t\t\t\tlegendItems[hoveredDatasetIndex].text + ': ' + String(dataSets.data![hoveredDatasetIndex])\r\n\t\t\t\t\t]\r\n\t\t\t\t}\r\n\t\t\t],\r\n\t\t\tdataPoints: [\r\n\t\t\t\t{index: hoveredDatasetIndex}\r\n\t\t\t]\r\n\t\t} as ChartTooltipModel;\r\n\t}\r\n\r\n\tprivate highlightActiveSegment(segmentIndex: number, highlight: boolean) {\r\n\t\tconst chart: Chart = this.$data._chart;\r\n\t\tconst metaData = chart.getDatasetMeta(0);\r\n\t\tconst activeSegment = metaData.data[segmentIndex];\r\n\t\t(chart as any).updateHoverStyle([activeSegment], null, highlight);\r\n\t\tchart.render();\r\n\t}\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleBmCancelVerificationModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleBmCancelVerificationModal.vue?vue&type=script&lang=ts\"","import moment from 'moment';\r\nimport momentDurationFormat from 'moment-duration-format';\r\n\r\n// @ts-ignore\r\nmomentDurationFormat(moment);\r\n\r\nexport default class DateTimeService {\r\n\tpublic static timeFormat = 'HH:mm';\r\n\r\n\tpublic static isValidTime(localtime: string) {\r\n\t\tconst m = moment(localtime, this.timeFormat, true);\r\n\t\treturn m.isValid();\r\n\t}\r\n\r\n\tpublic static getMinutes(date?: string) {\r\n\t\tif (date) {\r\n\t\t\tconst midnight = moment('00:00', 'HH:mm', true);\r\n\t\t\tconst momentDate = moment(date, 'HH:mm', true);\r\n\t\t\tconst difference = moment.duration(momentDate.diff(midnight));\r\n\t\t\tconst result = difference.as('minutes');\r\n\t\t\t// if \"24:00\" entered, treat it as \"00:00\"\r\n\t\t\tif (result === 1440) {\r\n\t\t\t\treturn 0;\r\n\t\t\t}\r\n\t\t\treturn result;\r\n\t\t}\r\n\t\treturn undefined;\r\n\t}\r\n\r\n\tpublic static minutesToTime(minutes?: number) {\r\n\t\tif (minutes !== undefined && minutes !== null) {\r\n\t\t\treturn moment.utc(moment.duration({ minutes }).asMilliseconds()).format('HH:mm');\r\n\t\t}\r\n\t}\r\n}\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportDownloader.vue?vue&type=style&index=0&id=b40cdb30&prod&lang=scss&scoped=true\"","\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class ChartError extends Vue {\r\n}\r\n","import { render, staticRenderFns } from \"./AppConfig.vue?vue&type=template&id=1d9476ec&scoped=true\"\nimport script from \"./AppConfig.vue?vue&type=script&lang=ts\"\nexport * from \"./AppConfig.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1d9476ec\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"chart-container\"},[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"title-container\"},[_c('span',{staticClass:\"title is-5\"},[_vm._v(\"\\n\\t\\t\\t\\tConversations\\n\\t\\t\\t\\t\"),_c('div',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.right\",value:(_vm.tooltipText),expression:\"tooltipText\",modifiers:{\"right\":true}}],staticClass:\"icon\"},[_c('HelpIcon')],1)])]),(_vm.loadedAndReturnedData)?_c('div',{staticClass:\"buttons has-addons\"},[_c('span',{staticClass:\"button\",class:{ 'is-static': _vm.showLineChart },on:{\"click\":function($event){return _vm.switchLineChart()}}},[_c('font-awesome-icon',{attrs:{\"icon\":\"chart-line\"}})],1),_c('span',{staticClass:\"button\",class:{ 'is-static': _vm.showBarChart },on:{\"click\":function($event){return _vm.switchBarChart()}}},[_c('font-awesome-icon',{attrs:{\"icon\":\"chart-bar\"}})],1)]):_vm._e()]),(_vm.loadedAndReturnedData)?_c('div',[(_vm.showLineChart)?_c('LineChart',{staticClass:\"chart\",attrs:{\"reportId\":_vm.reportId,\"data\":_vm.data,\"fill\":false,\"allowDecimalTicksY\":false,\"seriesOrder\":['Conversations']}}):_vm._e(),(_vm.showBarChart)?_c('BarChart',{staticClass:\"chart\",attrs:{\"reportId\":_vm.reportId,\"data\":_vm.data,\"seriesOrder\":['Conversations']}}):_vm._e()],1):(_vm.loadedAndNotReturnedData)?_c('div',[_c('ChartNoData')],1):(_vm.loadingError)?_c('div',{staticClass:\"error-overlay\"},[_c('ChartError')],1):_c('div',[_c('LoadingSpinner')],1),(_vm.loadedAndReturnedData)?_c('div',{staticClass:\"chart-labels\"},[_c('ChartLabels',{attrs:{\"reportId\":_vm.reportId}})],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./ConversationHeader.vue?vue&type=template&id=2499a663&scoped=true\"\nimport script from \"./ConversationHeader.vue?vue&type=script&lang=ts\"\nexport * from \"./ConversationHeader.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ConversationHeader.vue?vue&type=style&index=0&id=2499a663&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2499a663\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppIntegrationComponent.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppIntegrationComponent.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('n-button',{staticClass:\"report-download-button\",attrs:{\"variant\":\"secondary\",\"loading\":_vm.isDownloadInProgress,\"disabled\":_vm.isDownloadInProgress || _vm.isReportLoading},on:{\"click\":_vm.downloadReport}},[_vm._v(\"Download\\n\")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import urljoin from 'url-join';\r\nimport { api } from '@/shared/services/baseApiClient';\r\nimport { config } from '@/config/config';\r\nimport { IAppApiUninstall } from '../../shared/services/appApiFactory';\r\nimport { UninstallAppRequest } from '../../shared/models';\r\nimport { InstallTwitterRequest, TwitterInstalledApp, TwitterRequestTokenResponse } from '../models';\r\n\r\nclass TwitterApiService implements IAppApiUninstall {\r\n\tprivate version = 'v1';\r\n\r\n\tpublic install(\r\n\t\trequest: InstallTwitterRequest\r\n\t): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'POST',\r\n\t\t\turljoin(config().twitterHost, this.version, 'app', 'install'),\r\n\t\t\trequest\r\n\t\t);\r\n\t}\r\n\r\n\tpublic uninstall(\r\n\t\tworkspaceId: string,\r\n\t\tinstallId: string\r\n\t): Promise {\r\n\t\tconst request = {\r\n\t\t\tworkspaceId,\r\n\t\t\tinstallId\r\n\t\t} as UninstallAppRequest;\r\n\r\n\t\treturn api.send(\r\n\t\t\t'POST',\r\n\t\t\turljoin(config().twitterHost, this.version, 'app', 'uninstall'),\r\n\t\t\trequest);\r\n\t}\r\n\r\n\tpublic getInstalledApp(\r\n\t\tworkspaceId: string\r\n\t): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'GET',\r\n\t\t\turljoin(config().twitterHost, this.version, `app?workspaceid=${workspaceId}`)\r\n\t\t);\r\n\t}\r\n\r\n\tpublic getRequestToken(): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'GET',\r\n\t\t\turljoin(config().twitterHost, this.version, 'requesttoken')\r\n\t\t);\r\n\t}\r\n\r\n\tpublic canUninstall(): boolean {\r\n\t\treturn true;\r\n\t}\r\n\r\n\tpublic getUninstallNotAllowedMessage(): string {\r\n\t\treturn '';\r\n\t}\r\n}\r\n\r\nexport const twitterApi = new TwitterApiService();\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Vue} from 'vue-property-decorator';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport {Action, Getter} from 'vuex-class';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport {answersApi} from '../services/answers';\r\nimport { AnswerListItemViewModel } from '../models/answers/answerListItemViewModel';\r\nimport DropDownMenu from '@/shared/components/dropDownMenu/DropDownMenu.vue';\r\nimport DeleteIcon from 'vue-material-design-icons/TrashCanOutline.vue';\r\nimport Toast from '@/shared/services/toast';\r\nimport ConfirmationModal from '@/shared/components/ConfirmationModal.vue';\r\nimport { LOAD_ANSWERS } from '@/store/answers/actionTypes';\r\nimport HtmlFormatter from '@/shared/services/htmlFormatter';\r\nimport AddAnswerModal from '@/features/bots/components/AddAnswerModal.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tLoadingSpinner,\r\n\t\tDropDownMenu,\r\n\t\tDeleteIcon,\r\n\t\tAddAnswerModal,\r\n\t\tConfirmationModal\r\n\t}\r\n})\r\nexport default class Answers extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Getter public isWorkspaceFeatureEnabled!: (key: string) => boolean;\r\n\t@Action(LOAD_ANSWERS) public loadAnswers: any;\r\n\r\n\tpublic answers: AnswerListItemViewModel[] = [];\r\n\tpublic loading: boolean = true;\r\n\r\n\tpublic showCreateModal: boolean = false;\r\n\tpublic showDeleteModal: boolean = false;\r\n\tpublic answerToDelete: AnswerListItemViewModel;\r\n\r\n\r\n\tpublic async mounted() {\r\n\t\tawait this.getAnswers();\r\n\t\tthis.loading = false;\r\n\t}\r\n\r\n\tpublic addAnswer() {\r\n\t\tthis.showCreateModal = true;\r\n\t}\r\n\r\n\tpublic editAnswer(answer: AnswerListItemViewModel, created = false) {\r\n\t\tthis.$router.push({name: 'bots-answer-editor', params: {id: answer.id}, query: { created: created.toString() }});\r\n\t}\r\n\r\n\tpublic deleteAnswer(answer: AnswerListItemViewModel) {\r\n\t\tthis.answerToDelete = answer;\r\n\t\tthis.showDeleteModal = true;\r\n\t}\r\n\r\n\tpublic async deleteAnswerConfirm() {\r\n\t\tthis.showDeleteModal = false;\r\n\t\ttry {\r\n\t\t\tawait answersApi.deleteAnswer(this.currentWorkspace.id, this.answerToDelete.id);\r\n\t\t\tthis.answers = this.answers.filter(answer => answer.id !== this.answerToDelete.id);\r\n\t\t\tToast.showSuccess('Deleted FAQ');\r\n\t\t} catch (ex) {\r\n\t\t\tToast.showError('Failed to delete FAQ : ' + ex.message);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getDeleteAnswerConfirmationMessage() {\r\n\t\treturn `Are you sure you want to delete the ${HtmlFormatter.escapeHtmlCharacters(this.answerToDelete.title)} FAQ? The action is irreversible. Please type the name of the FAQ to confirm:`;\r\n\t}\r\n\r\n\tprivate async getAnswers() {\r\n\t\tthis.answers = await this.loadAnswers(true);\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('n-modal',{staticClass:\"upgrade-modal\",on:{\"cancel\":_vm.closeUpgradeModal}},[_c('div',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_c('div',{staticClass:\"upgrade-modal__header\"},[_c('h2',[_vm._v(\"Upgrade to unlock these features\")]),_c('p',[_vm._v(\"Your subscription doesn't cover these features. To benefit from the full power of Liberty Connect, our sales team would be happy to help you upgrade.\")])])]),_c('div',{attrs:{\"slot\":\"body\"},slot:\"body\"},[_c('div',{staticClass:\"upgrade-modal__body\"},[_c('div',{staticClass:\"columns is-4\"},[_c('div',{staticClass:\"column\"},[_c('div',{staticClass:\"upgrade-modal__feature\"},[_c('div',{staticClass:\"upgrade-modal__feature-header\"},[_c('FlowIcon'),_c('span',{staticClass:\"title\"},[_vm._v(\"Flows\")])],1),_c('div',{staticClass:\"upgrade-modal__feature-body\"},[_c('h4',[_vm._v(\"Scale every part of your business\")]),_c('p',[_vm._v(\"Automate and personalise your digital experience\")]),_c('ul',[_c('li',[_c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":\"20\",\"height\":\"15\",\"viewBox\":\"0 0 20 15\",\"fill\":\"none\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"clip-rule\":\"evenodd\",\"d\":\"M7.143 14.886L0 7.743L2.014 5.729L7.143 10.843L17.986 0L20 2.029L7.143 14.886Z\",\"fill\":\"#FF6666\"}})]),_vm._v(\"Design your own conversation flow\")]),_c('li',[_c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":\"20\",\"height\":\"15\",\"viewBox\":\"0 0 20 15\",\"fill\":\"none\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"clip-rule\":\"evenodd\",\"d\":\"M7.143 14.886L0 7.743L2.014 5.729L7.143 10.843L17.986 0L20 2.029L7.143 14.886Z\",\"fill\":\"#FF6666\"}})]),_vm._v(\"Triage conversations automatically\")]),_c('li',[_c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":\"20\",\"height\":\"15\",\"viewBox\":\"0 0 20 15\",\"fill\":\"none\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"clip-rule\":\"evenodd\",\"d\":\"M7.143 14.886L0 7.743L2.014 5.729L7.143 10.843L17.986 0L20 2.029L7.143 14.886Z\",\"fill\":\"#FF6666\"}})]),_vm._v(\"Proactively capture more leads 24/7\")])]),_c('a',{on:{\"click\":function($event){return _vm.chatWithUsClicked()}}},[_vm._v(\"Find out how \"),_c('svg',{attrs:{\"viewBox\":\"0 0 27 24\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"d\":\"M15.373 2.635l9.531 10.237-9.992 9.765M24.344 13H-.001\",\"stroke\":\"#f66\",\"stroke-width\":\"2\"}})])])])])]),_c('div',{staticClass:\"column\"},[_c('div',{staticClass:\"upgrade-modal__feature\"},[_c('div',{staticClass:\"upgrade-modal__feature-header\"},[_c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"enable-background\":\"new 0 0 24 24\",\"height\":\"24\",\"viewBox\":\"0 0 24 24\",\"width\":\"24\"}},[_c('g',[_c('rect',{attrs:{\"fill\":\"none\",\"height\":\"24\",\"width\":\"24\"}})]),_c('g',[_c('g',[_c('path',{attrs:{\"d\":\"M15.82,7.22l-1,0.4c-0.21-0.16-0.43-0.29-0.67-0.39L14,6.17C13.98,6.07,13.9,6,13.8,6h-1.6c-0.1,0-0.18,0.07-0.19,0.17 l-0.15,1.06c-0.24,0.1-0.47,0.23-0.67,0.39l-1-0.4c-0.09-0.03-0.2,0-0.24,0.09l-0.8,1.38c-0.05,0.09-0.03,0.2,0.05,0.26l0.85,0.66 C10.02,9.73,10,9.87,10,10c0,0.13,0.01,0.26,0.03,0.39l-0.84,0.66c-0.08,0.06-0.1,0.17-0.05,0.25l0.8,1.39 c0.05,0.09,0.15,0.12,0.25,0.09l0.99-0.4c0.21,0.16,0.43,0.29,0.68,0.39L12,13.83c0.02,0.1,0.1,0.17,0.2,0.17h1.6 c0.1,0,0.18-0.07,0.2-0.17l0.15-1.06c0.24-0.1,0.47-0.23,0.67-0.39l0.99,0.4c0.09,0.04,0.2,0,0.24-0.09l0.8-1.39 c0.05-0.09,0.03-0.19-0.05-0.25l-0.83-0.66C15.99,10.26,16,10.13,16,10c0-0.14-0.01-0.27-0.03-0.39l0.85-0.66 c0.08-0.06,0.1-0.17,0.05-0.26l-0.8-1.38C16.02,7.22,15.91,7.19,15.82,7.22z M13,11.43c-0.79,0-1.43-0.64-1.43-1.43 S12.21,8.57,13,8.57s1.43,0.64,1.43,1.43S13.79,11.43,13,11.43z\"}}),_c('path',{attrs:{\"d\":\"M19.94,9.06c-0.43-3.27-3.23-5.86-6.53-6.05C13.27,3,13.14,3,13,3C9.47,3,6.57,5.61,6.08,9l-1.93,3.48 C3.74,13.14,4.22,14,5,14h1v2c0,1.1,0.9,2,2,2h1v3h7v-4.68C18.62,15.07,20.35,12.24,19.94,9.06z M14.89,14.63L14,15.05V19h-3v-3H8 v-4H6.7l1.33-2.33C8.21,7.06,10.35,5,13,5c2.76,0,5,2.24,5,5C18,12.09,16.71,13.88,14.89,14.63z\"}})])])]),_c('span',{staticClass:\"title\"},[_vm._v(\"FAQs\")])]),_c('div',{staticClass:\"upgrade-modal__feature-body\"},[_c('h4',[_vm._v(\"24/7 automated support with FAQs\")]),_c('p',[_vm._v(\"Support automation that resolves the most common questions for you\")]),_c('ul',[_c('li',[_c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":\"20\",\"height\":\"15\",\"viewBox\":\"0 0 20 15\",\"fill\":\"none\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"clip-rule\":\"evenodd\",\"d\":\"M7.143 14.886L0 7.743L2.014 5.729L7.143 10.843L17.986 0L20 2.029L7.143 14.886Z\",\"fill\":\"#FF6666\"}})]),_vm._v(\"Speed up customer resolutions\")]),_c('li',[_c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":\"20\",\"height\":\"15\",\"viewBox\":\"0 0 20 15\",\"fill\":\"none\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"clip-rule\":\"evenodd\",\"d\":\"M7.143 14.886L0 7.743L2.014 5.729L7.143 10.843L17.986 0L20 2.029L7.143 14.886Z\",\"fill\":\"#FF6666\"}})]),_vm._v(\"Easy to train automation\")]),_c('li',[_c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":\"20\",\"height\":\"15\",\"viewBox\":\"0 0 20 15\",\"fill\":\"none\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"clip-rule\":\"evenodd\",\"d\":\"M7.143 14.886L0 7.743L2.014 5.729L7.143 10.843L17.986 0L20 2.029L7.143 14.886Z\",\"fill\":\"#FF6666\"}})]),_vm._v(\"Eliminate repetitive work\")])]),_c('a',{on:{\"click\":function($event){return _vm.chatWithUsClicked()}}},[_vm._v(\"Read more \"),_c('svg',{attrs:{\"viewBox\":\"0 0 27 24\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"d\":\"M15.373 2.635l9.531 10.237-9.992 9.765M24.344 13H-.001\",\"stroke\":\"#f66\",\"stroke-width\":\"2\"}})])])])])])])])]),_c('div',{attrs:{\"slot\":\"buttons\"},slot:\"buttons\"},[_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.chatWithUsClicked()}}},[_vm._v(\"Chat with us\")]),_c('n-button',{attrs:{\"variant\":\"primary--outline\"},on:{\"click\":_vm.closeUpgradeModal}},[_vm._v(\"Cancel\")])],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DoughnutChartBaseWrapper.vue?vue&type=style&index=1&id=7809ba4b&prod&lang=scss\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Intents.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Intents.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"add-intent-modal\"},[(_vm.show)?_c('n-modal',{on:{\"cancel\":function($event){return _vm.close()}},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"modal-card-title\"},[_vm._v(\"Add a new intent\")])]},proxy:true},{key:\"body\",fn:function(){return [_c('div',{staticClass:\"edit-title-container\"},[_c('label',{staticClass:\"label\",attrs:{\"for\":\"intent-name-input\"}},[_vm._v(\"Name\")]),_c('div',{staticClass:\"field\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.intentTitle),expression:\"intentTitle\"}],ref:\"intentNameInput\",staticClass:\"input\",attrs:{\"label\":\"Intent name\",\"type\":\"text\",\"placeholder\":\"Enter Intent Name\"},domProps:{\"value\":(_vm.intentTitle)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.intentTitle=$event.target.value},function($event){return _vm.$v.intentTitle.$touch()}],\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.createIntent($event)}}}),(_vm.$v.intentTitle.$invalid && _vm.$v.intentTitle.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(_vm._s(_vm.getErrorMessage()))]):_vm._e()])])]},proxy:true},{key:\"buttons\",fn:function(){return [_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\",\"disabled\":_vm.$v.$invalid},on:{\"click\":_vm.createIntent}},[_vm._v(\"Add\")]),_c('n-button',{attrs:{\"variant\":\"primary--outline\"},on:{\"click\":_vm.close}},[_vm._v(\"Cancel\")])],1)]},proxy:true}],null,false,764569314)}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Answers.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Answers.vue?vue&type=script&lang=ts\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TotalsDoughnutChart.vue?vue&type=style&index=0&id=47cd1d5c&prod&scoped=true&lang=scss\"","import { render, staticRenderFns } from \"./Contacts.vue?vue&type=template&id=5fb4c260&scoped=true\"\nimport script from \"./Contacts.vue?vue&type=script&lang=ts\"\nexport * from \"./Contacts.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5fb4c260\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"control has-icons-left\"},[_c('div',{staticClass:\"select\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.value),expression:\"value\"}],attrs:{\"disabled\":_vm.isReportLoading},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.value=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.dateOptions),function(range){return _c('option',{key:range.label,domProps:{\"value\":range}},[_vm._v(_vm._s(range.label))])}),0),_c('span',{staticClass:\"icon is-left select-icon\"},[_c('CalendarIcon',{staticClass:\"icon-1-3x dropdown-icons icon-adjustment flow-icon-adjustment\"})],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChartError.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChartError.vue?vue&type=script&lang=ts\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Report.vue?vue&type=style&index=0&id=e44e4028&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.isLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.isLoading)?_c('div',[_vm._l((_vm.intentsForFlows),function(intent){return _c('div',{key:intent.id,staticClass:\"intent-list\"},[_c('a',{staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.chooseIntent(intent)}}},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(intent.title)+\"\\n\\t\\t\\t\")])])}),(_vm.intentsForFlows.length > 0)?_c('hr',{staticClass:\"dropdown-divider\"}):_vm._e(),_c('a',{staticClass:\"dropdown-item\"},[_c('div',{staticClass:\"add-item\"},[_c('a',{staticClass:\"add-intent\",on:{\"click\":_vm.addNewIntent}},[_c('AddIcon',{staticClass:\"icon-1-3x\"}),_vm._v(\"\\n\\t\\t\\t\\t\\tAdd new intent\\n\\t\\t\\t\\t\")],1)])])],2):_vm._e(),_c('AddIntentModal',{ref:\"intentConditionAddModal\",on:{\"completed\":_vm.addedIntent,\"cancelled\":_vm.cancelled}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./googleBmAgentConfig.vue?vue&type=style&index=0&id=5e609ead&prod&scoped=true&lang=scss\"","import {Module} from 'vuex';\r\nimport {getters} from '@/store/holidays/getters';\r\nimport {actions} from './actions';\r\nimport {mutations} from './mutations';\r\nimport {AppState} from '../app';\r\nimport {HolidayViewModel} from '@/features/bots/models/holidayViewModel';\r\n\r\nexport interface HolidaysState {\r\n\tholidays: HolidayViewModel[];\r\n}\r\n\r\n// initial state\r\nexport const holidaysState: HolidaysState = {\r\n\tholidays: []\r\n};\r\n\r\nexport const holidays: Module = {\r\n\tnamespaced: false,\r\n\tstate: holidaysState,\r\n\tgetters,\r\n\tactions,\r\n\tmutations\r\n};\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Watch } from 'vue-property-decorator';\r\nimport { Getter, Mutation } from 'vuex-class';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { DateOption } from '@/features/reports/models';\r\nimport { SET_REPORT_LOADING } from '@/store/reports/mutationTypes';\r\nimport ProactiveTriggersTrendChart from '@/features/reports/components/usage/ProactiveTriggersTrendChart.vue';\r\nimport BillableConversationsTrendChart from '@/features/reports/components/usage/BillableConversationsTrendChart.vue';\r\nimport ChannelMessagesTrendChart from '@/features/reports/components/usage/ChannelMessagesTrendChart.vue';\r\nimport { usageReportsApi, UsageReportsData } from '@/features/reports/services/usageReportsApi';\r\nimport { DatePicker } from '@/features/reports/services';\r\n\r\n@Component({\r\n\tmixins: [],\r\n\tcomponents: {\r\n\t\tProactiveTriggersTrendChart,\r\n\t\tBillableConversationsTrendChart,\r\n\t\tChannelMessagesTrendChart\r\n\t},\r\n})\r\nexport default class UsageReports extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Getter public selectedDateOption!: DateOption;\r\n\r\n\t@Mutation(SET_REPORT_LOADING) public setLoading: (loading: boolean) => void;\r\n\r\n\tpublic chartData: UsageReportsData = {\r\n\t\tproactiveTriggersTrendReport: {\r\n\t\t\tscale: {\r\n\t\t\t\ttitle: '',\r\n\t\t\t\tlabels: []\r\n\t\t\t},\r\n\t\t\tseries: []\r\n\t\t},\r\n\t\tbillableConversationsTrendReport: {\r\n\t\t\tscale: {\r\n\t\t\t\ttitle: '',\r\n\t\t\t\tlabels: []\r\n\t\t\t},\r\n\t\t\tseries: []\r\n\t\t},\r\n\t\tchannelMessagesTrendReport: {\r\n\t\t\tscale: {\r\n\t\t\t\ttitle: '',\r\n\t\t\t\tlabels: []\r\n\t\t\t},\r\n\t\t\tseries: []\r\n\t\t},\r\n\t};\r\n\r\n\tpublic loadingError: boolean = false;\r\n\tpublic loadedData: boolean = false;\r\n\r\n\t@Watch('selectedDateOption', { immediate: true })\r\n\tpublic async onFilterChange(filter: DateOption, previous: DateOption) {\r\n\t\tif (filter && filter === previous) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tawait this.loadData();\r\n\t}\r\n\r\n\tprivate async loadData() {\r\n\t\tif (!DatePicker.isValidMonthOption(this.selectedDateOption)) {\r\n\t\t\treturn; // Invalid selection, will be corrected in the date filter and this will be called again\r\n\t\t}\r\n\r\n\t\tthis.loadedData = false;\r\n\t\tthis.loadingError = false;\r\n\t\tthis.setLoading(true);\r\n\t\ttry {\r\n\t\t\tthis.chartData = await usageReportsApi.loadData(this.currentWorkspace.id, {\r\n\t\t\t\tstartDate: this.selectedDateOption.getDateRange().start,\r\n\t\t\t\tendDate: this.selectedDateOption.getDateRange().end\r\n\t\t\t});\r\n\t\t\tthis.loadedData = true;\r\n\t\t} catch {\r\n\t\t\tthis.loadingError = true;\r\n\t\t} finally {\r\n\t\t\tthis.setLoading(false);\r\n\t\t}\r\n\t}\r\n}\r\n","import {ChannelIdentitiesState} from '.';\r\nimport { GetterTree } from 'vuex';\r\nimport { AppState } from '../app';\r\nimport { ChannelIdentityViewModel } from '@/messaging/models/channelIdentityViewModel';\r\n\r\nexport const getters: GetterTree = {\r\n\r\n\tchannelIdentities(state: ChannelIdentitiesState): ChannelIdentityViewModel[] {\r\n\t\treturn state.channelIdentities;\r\n\t},\r\n};\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page has-compressed-header\"},[(_vm.showBotPreviewModal)?_c('BotPreviewModal',{attrs:{\"id\":\"answer-preview-modal\",\"answerToPreview\":_vm.answerId},on:{\"cancel\":function($event){_vm.showBotPreviewModal = false}}}):_vm._e(),(!_vm.loadedAnswer || !_vm.loadedIntentList)?_c('LoadingSpinner'):_vm._e(),(_vm.loadedAnswer && _vm.loadedIntentList)?_c('section',{staticClass:\"section primary-header\"},[_c('nav',{staticClass:\"level container is-fluid\"},[_c('div',{staticClass:\"level-left\"},[_c('div',{staticClass:\"back-arrow\",attrs:{\"id\":\"back-to-answers-button\"},on:{\"click\":function($event){return _vm.discardAnswer()}}},[_c('BackArrow',{staticClass:\"icon-1-5x\"})],1),_c('h4',{staticClass:\"title is-4 answer-title\"},[_c('EditableText',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.bottom\",value:(_vm.faqNameErrorText),expression:\"faqNameErrorText\",modifiers:{\"bottom\":true}}],ref:\"titleInput\",class:{ 'invalid': _vm.$v.faqName.$error },attrs:{\"placeholder\":\"Enter the Frequently Asked Question...\",\"value\":_vm.faqName,\"minWidth\":\"100px\",\"maxWidth\":\"600px\"},on:{\"text-updated\":_vm.setFaqName}}),_c('div',{staticClass:\"flow-status is-flex\"},[(_vm.currentAnswerStatus === 'live')?_c('n-badge',{attrs:{\"variant\":\"success\"}},[_vm._v(\"Live\")]):_vm._e(),(_vm.currentAnswerStatus === 'paused')?_c('n-badge',{attrs:{\"variant\":\"secondary\"}},[_vm._v(\"Paused\")]):_vm._e(),(_vm.currentAnswerStatus === 'draft')?_c('n-badge',{attrs:{\"variant\":\"default\"}},[_vm._v(\"Draft\")]):_vm._e()],1)],1)]),_c('div',{staticClass:\"level-right\"},[_c('p',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.bottom\",value:(_vm.saveAnswerHoverMessage),expression:\"saveAnswerHoverMessage\",modifiers:{\"bottom\":true}}],staticClass:\"level-item\"},[_c('n-button',{attrs:{\"id\":\"save-button\",\"variant\":\"secondary\",\"disabled\":!_vm.isSaveButtonEnabled,\"loading\":_vm.isSaveInProgress},on:{\"click\":function($event){return _vm.saveAnswer()}}},[_c('div',{staticClass:\"button-content\"},[_c('SaveIcon'),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tSave Changes\\n\\t\\t\\t\\t\\t\\t\")],1)])],1),_c('p',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.bottom\",value:(_vm.previewFlowHoverMessage),expression:\"previewFlowHoverMessage\",modifiers:{\"bottom\":true}}],staticClass:\"level-item\"},[_c('n-button',{attrs:{\"variant\":\"secondary--outline\",\"disabled\":!_vm.isPreviewButtonEnabled,\"id\":\"preview-bot-button\"},on:{\"click\":function($event){return _vm.openPreview()}}},[_c('div',{staticClass:\"button-content\"},[_c('PlayIcon'),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tPreview\\n\\t\\t\\t\\t\\t\\t\")],1)])],1),(_vm.isMakeLiveButtonVisible() && !_vm.isBotStudioEnabled())?_c('AdvancedTooltip',{staticClass:\"level-item\",scopedSlots:_vm._u([{key:\"element\",fn:function(){return [_c('p',[_c('n-button',{attrs:{\"variant\":\"success\",\"disabled\":!_vm.canMakeLive,\"id\":\"make-live-button\"},on:{\"click\":function($event){return _vm.showMakeAnswerLiveConfirmation()}}},[_c('div',{staticClass:\"button-content\"},[_c('PlayIcon'),_vm._v(\" Make Live\\n\\t\\t\\t\\t\\t\\t\\t\\t\")],1)])],1)]},proxy:true},{key:\"content\",fn:function(){return [_c('div',[_c('strong',[_vm._v(\"Upgrade to unlock this feature\")])]),_c('div',[_vm._v(\"Get flows, FAQs and more\")])]},proxy:true},{key:\"footer\",fn:function(){return [_c('button',{staticClass:\"button is-primary is-outlined is-fullwidth\",on:{\"click\":function($event){return _vm.upgradeButtonClicked()}}},[_vm._v(\"Upgrade\")])]},proxy:true}],null,false,497699163)}):_vm._e(),(_vm.isMakeLiveButtonVisible() && _vm.isBotStudioEnabled())?_c('p',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.bottom\",value:(_vm.makeLiveHoverMessage),expression:\"makeLiveHoverMessage\",modifiers:{\"bottom\":true}}],staticClass:\"level-item\"},[_c('n-button',{attrs:{\"variant\":\"success\",\"disabled\":!_vm.canMakeLive,\"id\":\"make-live-button\"},on:{\"click\":function($event){return _vm.showMakeAnswerLiveConfirmation()}}},[_c('div',{staticClass:\"button-content\"},[_c('PlayIcon'),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tMake Live\\n\\t\\t\\t\\t\\t\\t\")],1)])],1):_vm._e(),_c('p',{staticClass:\"level-item\"},[_c('DropDownMenu',{attrs:{\"goLeft\":true,\"useColourOnActive\":true}},[(_vm.isPauseOptionVisible())?_c('a',{staticClass:\"dropdown-item\",attrs:{\"id\":\"pause-answer-option\"},on:{\"click\":_vm.pauseAnswer}},[_c('PauseIcon'),_vm._v(\"Pause FAQ\")],1):_vm._e(),_c('a',{staticClass:\"dropdown-item\",attrs:{\"id\":\"delete-answer-option\"},on:{\"click\":_vm.deleteAnswer}},[_c('DeleteIcon'),_vm._v(\"Delete\")],1)])],1)],1)])]):_vm._e(),(_vm.loadedAnswer && _vm.loadedIntentList)?_c('section',{staticClass:\"section content-container\",class:{'is-disabled': _vm.isSaveInProgress}},[_c('div',{staticClass:\"question-answer-container\"},[_c('div',{staticClass:\"questions-container\"},[_vm._m(0),_c('div',{staticClass:\"question-list\"},[_c('FaqIntentPicker',{attrs:{\"faqName\":_vm.faqName,\"intentId\":_vm.intentId,\"v\":_vm.$v.intent,\"intents\":_vm.intents},on:{\"input\":_vm.handleIntentChange}}),(!_vm.loadedFullIntent)?_c('LoadingSpinner'):_vm._e(),(_vm.loadedFullIntent)?_c('div',[_vm._m(1),_c('UtteranceList',{attrs:{\"v\":_vm.$v.questions,\"term\":\"utterance\",\"is-editable\":!_vm.isSaveInProgress},on:{\"input\":_vm.onAnswerChange},model:{value:(_vm.questions),callback:function ($$v) {_vm.questions=$$v},expression:\"questions\"}})],1):_vm._e()],1)]),_c('div',{staticClass:\"answer-container\"},[_vm._m(2),_c('div',{staticClass:\"answer\"},[_c('Draggable',{staticClass:\"state-list\",attrs:{\"list\":_vm.answerStates,\"handle\":\".island-badge\"},on:{\"end\":_vm.clearTransform}},_vm._l((_vm.nonEndStates),function(state){return _c('div',{key:state.id,staticClass:\"state\"},[_c(_vm.getStateComponentName(state),{tag:\"component\",attrs:{\"value\":state},on:{\"state-updated\":_vm.stateUpdated}}),_c('div',{staticClass:\"state-menu\"},[_c('a',{staticClass:\"delete is-small delete-state\",on:{\"click\":function($event){return _vm.deleteState(state)}}})])],1)}),0),_c('DropDownMenu',{staticClass:\"add-state-container\",class:{ 'is-up': _vm.isStatePickerUp },attrs:{\"dropDownIcon\":\"big-add-circle\"},on:{\"isUp\":_vm.setIsStatePickerUp}},[_c('a',{staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.addMessageState()}}},[_c('TextIcon'),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tMessage\\n\\t\\t\\t\\t\\t\\t\")],1),_c('a',{staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.addAppIntegrationState()}}},[_c('span',{staticClass:\"cube-icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"cube\"}})],1),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tApp Action\\n\\t\\t\\t\\t\\t\\t\")]),(!_vm.containsGoToState())?_c('a',{staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.addGoToState()}}},[_c('GoToIcon'),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tGo To\\n\\t\\t\\t\\t\\t\\t\")],1):_vm._e()]),(_vm.$v.answerStates.$error && !_vm.$v.answerStates.required)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tYou must add an answer\\n\\t\\t\\t\\t\\t\")]):_vm._e(),(_vm.containsGoToState())?_c('div',_vm._l((_vm.endStates),function(state){return _c('div',{key:state.id,staticClass:\"state\"},[_c(_vm.getStateComponentName(state),{tag:\"component\",attrs:{\"value\":state},on:{\"state-updated\":_vm.stateUpdated}}),_c('div',{staticClass:\"state-menu\"},[_c('a',{staticClass:\"delete is-small delete-state\",on:{\"click\":function($event){return _vm.deleteState(state)}}})])],1)}),0):_vm._e()],1)])])]):_vm._e(),(_vm.showLeaveModal)?_c('ConfirmationModal',{ref:\"discardModal\",attrs:{\"id\":\"discard-changes-modal\",\"confirmationTitle\":\"Discard Changes\",\"confirmationMessage\":_vm.getLeaveConfirmationMessage()},on:{\"confirm\":function($event){return _vm.discardAnswer(true)},\"cancel\":function($event){_vm.showLeaveModal = false}}}):_vm._e(),(_vm.showMakeLiveModal)?_c('ConfirmationModal',{attrs:{\"id\":\"make-live-modal\",\"confirmationTitle\":\"Make Live\",\"confirmationMessage\":_vm.getMakeLiveConfirmationMessage()},on:{\"confirm\":_vm.makeAnswerLive,\"cancel\":function($event){_vm.showMakeLiveModal = false}}}):_vm._e(),(_vm.showPauseAnswerModal)?_c('ConfirmationModal',{attrs:{\"id\":\"pause-answer-modal\",\"confirmationTitle\":\"Pause FAQ\",\"confirmationMessage\":_vm.getPauseConfirmationMessage()},on:{\"confirm\":_vm.onPauseAnswerConfirmed,\"cancel\":function($event){_vm.showPauseAnswerModal = false}}}):_vm._e(),(_vm.showDeleteModal)?_c('ConfirmationModal',{attrs:{\"id\":\"delete-modal\",\"confirmationTitle\":\"Delete FAQ\",\"confirmationMessage\":_vm.getDeleteAnswerConfirmationMessage(),\"typeConfirmationValidationMessage\":_vm.faqName,\"confirmButtonLabel\":\"Delete\"},on:{\"confirm\":function($event){return _vm.onDeleteAnswerConfirmed()},\"cancel\":function($event){_vm.showDeleteModal = false}}}):_vm._e(),(_vm.showUpgradeModal)?_c('UpgradeModal',{on:{\"close\":function($event){_vm.showUpgradeModal = false}}}):_vm._e()],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"sub-heading sub-heading-left\"},[_c('h5',{staticClass:\"title is-6\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tFrequently Asked Question\\n\\t\\t\\t\\t\\t\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('h2',[_c('strong',[_vm._v(\"Example Utterances\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"sub-heading sub-heading-right\"},[_c('h5',{staticClass:\"title is-6\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tAnswer\\n\\t\\t\\t\\t\\t\")])])}]\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./DurationCondition.vue?vue&type=template&id=1ab6ecd0&scoped=true\"\nimport script from \"./DurationCondition.vue?vue&type=script&lang=ts\"\nexport * from \"./DurationCondition.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DurationCondition.vue?vue&type=style&index=0&id=1ab6ecd0&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1ab6ecd0\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UsersInWorkspace.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UsersInWorkspace.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DeleteIntentModal.vue?vue&type=template&id=4a603174&scoped=true\"\nimport script from \"./DeleteIntentModal.vue?vue&type=script&lang=ts\"\nexport * from \"./DeleteIntentModal.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DeleteIntentModal.vue?vue&type=style&index=0&id=4a603174&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4a603174\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./WebAssistantViewToggle.vue?vue&type=template&id=00a4fac5\"\nimport script from \"./WebAssistantViewToggle.vue?vue&type=script&lang=ts\"\nexport * from \"./WebAssistantViewToggle.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Toasted from 'vue-toasted';\r\nimport Vue from 'vue';\r\nimport HtmlFormatter from '@/shared/services/htmlFormatter';\r\n\r\nVue.use(Toasted);\r\n\r\nexport default class Toast {\r\n\tpublic static showSuccess(message: string): void {\r\n\t\tVue.toasted.show(HtmlFormatter.escapeHtmlCharacters(message), {\r\n\t\t\tposition: 'bottom-center',\r\n\t\t\tduration: 3000,\r\n\t\t\tclassName: 'toast-success'\r\n\t\t});\r\n\t}\r\n\r\n\tpublic static showError(message: string): void {\r\n\t\tVue.toasted.show(HtmlFormatter.escapeHtmlCharacters(message), {\r\n\t\t\tposition: 'bottom-center',\r\n\t\t\tduration: 3000,\r\n\t\t\tclassName: 'toast-error'\r\n\t\t});\r\n\t}\r\n\r\n\tpublic static showInfo(message: string): void {\r\n\t\tVue.toasted.show(HtmlFormatter.escapeHtmlCharacters(message), {\r\n\t\t\tposition: 'bottom-center',\r\n\t\t\tduration: 3000,\r\n\t\t\tclassName: 'toast-info'\r\n\t\t});\r\n\t}\r\n}\r\n","import { ActionTree } from 'vuex';\r\nimport { AppState } from '@/store/app';\r\nimport { ReportState } from '@/store/reports/index';\r\nimport { LOAD_FLOW_LIST_OPTIONS, ON_REPORT_VIEW_EXIT } from '@/store/reports/actionTypes';\r\nimport { LOAD_FLOWS } from '@/store/bot-designer/actionTypes';\r\nimport { FlowStatus } from '@/features/bots/models/flowStatus';\r\nimport { FlowListItemViewModel } from '@/features/bots/models/flowListItemViewModel';\r\nimport {\r\n\tCLEAR_REPORTING_LIST_OPTIONS,\r\n\tREMOVE_ALL_REPORT_LABEL_VALUES,\r\n\tSET_FLOW_LIST_OPTIONS, SET_REPORTING_FLOW\r\n} from '@/store/reports/mutationTypes';\r\n\r\nexport const actions: ActionTree = {\r\n\tasync [LOAD_FLOW_LIST_OPTIONS]({commit, state, dispatch}) {\r\n\t\tlet botFlows: FlowListItemViewModel[] = await dispatch(LOAD_FLOWS, true);\r\n\t\tbotFlows = botFlows.filter(flow => flow.status !== FlowStatus.Draft);\r\n\r\n\t\tcommit(SET_FLOW_LIST_OPTIONS, botFlows.sort((flow1, flow2) => {\r\n\t\t\treturn flow1.name.toLowerCase().localeCompare(flow2.name.toLowerCase());\r\n\t\t}));\r\n\r\n\t\tconst isSelectedFlowStillInList = botFlows.filter(flow => flow.id === state.selectedFlowId).length > 0;\r\n\t\tif (!isSelectedFlowStillInList) {\r\n\t\t\tcommit(SET_REPORTING_FLOW, 'all');\r\n\t\t}\r\n\t},\r\n\r\n\tasync [ON_REPORT_VIEW_EXIT]({commit}, {from, to}) {\r\n\t\tif (!to.includes('report-')) {\r\n\t\t\tcommit(CLEAR_REPORTING_LIST_OPTIONS);\r\n\t\t}\r\n\t\tcommit(REMOVE_ALL_REPORT_LABEL_VALUES);\r\n\t},\r\n};\r\n","import {ConditionsManager} from '@/shared/components/conditions/models/conditionsManager';\r\nimport {ConditionPickerOption} from '@/shared/components/conditions/models/conditions';\r\nimport {store} from '@/store';\r\n\r\nexport class RuleConditionsManager extends ConditionsManager {\r\n\tprivate contextualConditions: ConditionPickerOption[] = [];\r\n\r\n\tconstructor() {\r\n\t\tsuper(store.getters.contactAttributes);\r\n\t}\r\n\r\n\tpublic get conditions(): ConditionPickerOption[] {\r\n\t\tconst attributes = this.conditionsFromCache;\r\n\r\n\t\tif (this.contextualConditions) {\r\n\t\t\tattributes.push(...this.contextualConditions);\r\n\t\t}\r\n\t\treturn attributes;\r\n\t}\r\n\r\n\tpublic setContextualConditions(contextualConditions: ConditionPickerOption[]) {\r\n\t\tthis.contextualConditions = contextualConditions;\r\n\t}\r\n}\r\n","\n\n\n\r\nimport {Component, Vue} from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class PersonIcon extends Vue {\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleBmLaunchModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleBmLaunchModal.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Vue} from 'vue-property-decorator';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport {Getter} from 'vuex-class';\r\nimport {workspacesApi} from '@/workspaces/workspaces';\r\nimport {UserViewModel} from '@/workspaces/models/userViewModel';\r\nimport moment from 'moment';\r\nimport InviteUser from '@/features/settings/components/InviteUser.vue';\r\nimport PageHeader from '@/shared/components/pageHeader/PageHeader.vue';\r\nimport ConfirmationModal from '@/shared/components/ConfirmationModal.vue';\r\nimport Toast from '@/shared/services/toast';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tInviteUser,\r\n\t\tPageHeader,\r\n\t\tConfirmationModal,\r\n\t\tLoadingSpinner\r\n\t}\r\n})\r\nexport default class UsersInWorkspace extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\r\n\tpublic isLoading: boolean = false;\r\n\tprivate users: UserViewModel[] = [];\r\n\r\n\tprivate userToRemove: UserViewModel;\r\n\tprivate showInviteUserModal = false;\r\n\tprivate showRemoveUserModal = false;\r\n\r\n\tpublic async created(): Promise {\r\n\t\tawait this.getAllUsersForWorkspace();\r\n\t}\r\n\r\n\tpublic getStatus(status: number): string {\r\n\t\tif (status === 0) {\r\n\t\t\treturn 'Pending';\r\n\t\t} else if (status === 1) {\r\n\t\t\treturn 'Active';\r\n\t\t}\r\n\t\treturn '';\r\n\t}\r\n\r\n\tpublic getStatusClass(status: number): string {\r\n\t\tif (status === 0) {\r\n\t\t\treturn 'is-warning';\r\n\t\t} else if (status === 1) {\r\n\t\t\treturn 'is-success';\r\n\t\t}\r\n\t\treturn 'is-danger';\r\n\t}\r\n\r\n\tpublic formatDate(value: string): string {\r\n\t\treturn moment(String(value)).format('DD MMM YYYY');\r\n\t}\r\n\r\n\tpublic openRemoveUserModal(user: UserViewModel): void {\r\n\t\tthis.userToRemove = user;\r\n\t\tthis.showRemoveUserModal = true;\r\n\t}\r\n\r\n\tpublic closeRemoveUserModal(): void {\r\n\t\tthis.showRemoveUserModal = false;\r\n\t}\r\n\r\n\tpublic removeUser(): void {\r\n\t\tworkspacesApi.revokeUser(this.userToRemove.id, this.currentWorkspace.id)\r\n\t\t\t.then(() => {\r\n\t\t\t\tToast.showSuccess(`Successfully removed teammate ${this.userToRemove.userId}`);\r\n\t\t\t})\r\n\t\t\t.catch(err => Toast.showError(err.message))\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.getAllUsersForWorkspace();\r\n\t\t\t\tthis.closeRemoveUserModal();\r\n\t\t\t});\r\n\t}\r\n\r\n\tpublic getConfirmationMessage(): string {\r\n\t\treturn `Are you sure you want to remove ${this.userToRemove.userId} from ${this.currentWorkspace.name}?\r\n\t\t

\r\n\t\tNote that this will only remove their access to this workspace.`;\r\n\t}\r\n\r\n\r\n\tpublic openInviteUserModal() {\r\n\t\tthis.showInviteUserModal = true;\r\n\t}\r\n\r\n\tpublic closeInviteUsersModal(refreshRequired: boolean) {\r\n\t\tif (refreshRequired) {\r\n\t\t\tthis.getAllUsersForWorkspace();\r\n\t\t}\r\n\t\tthis.showInviteUserModal = false;\r\n\t}\r\n\r\n\tprivate async getAllUsersForWorkspace() {\r\n\t\tthis.isLoading = true;\r\n\t\tthis.showRemoveUserModal = false;\r\n\t\tthis.showInviteUserModal = false;\r\n\t\tthis.users = await workspacesApi.getAllUsersForWorkspace(this.currentWorkspace.id);\r\n\t\tthis.isLoading = false;\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"flow-totals-charts\"},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-one-third-widescreen\"},[_c('div',{staticClass:\"island\"},[_c('TotalsDoughnutChart',{staticClass:\"totals-doughnut-chart\",attrs:{\"title\":\"Most Completed\",\"sub-title\":\"Total Completed\",\"max-items\":10,\"loaded-data\":_vm.loadedData,\"loading-error\":_vm.loadingError,\"data\":_vm.data,\"series\":\"Completed\"}})],1)]),_c('div',{staticClass:\"column is-one-third-widescreen\"},[_c('div',{staticClass:\"island\"},[_c('TotalsDoughnutChart',{staticClass:\"totals-doughnut-chart\",attrs:{\"title\":\"Most Escalated\",\"sub-title\":\"Total Escalated\",\"max-items\":10,\"loaded-data\":_vm.loadedData,\"loading-error\":_vm.loadingError,\"data\":_vm.data,\"series\":\"HandedOver\"}})],1)]),_c('div',{staticClass:\"column is-one-third-widescreen\"},[_c('div',{staticClass:\"island\"},[_c('TotalsDoughnutChart',{staticClass:\"totals-doughnut-chart\",attrs:{\"title\":\"Most Abandoned\",\"sub-title\":\"Total Abandoned\",\"max-items\":10,\"loaded-data\":_vm.loadedData,\"loading-error\":_vm.loadingError,\"data\":_vm.data,\"series\":\"Abandoned\"}})],1)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { IAppApiUninstall } from '../../shared/services/appApiFactory';\r\nimport { GoogleBmInstalledApp, InstallGoogleBmRequest } from '../models';\r\nimport { AgentConfigRequest } from '@/features/apps/googlebm/models/agentConfigRequest';\r\nimport { VerificationStatus } from '../models/verificationStatus';\r\nimport { LaunchStatus } from '@/features/apps/googlebm/models/launchStatus';\r\nimport { googleApi } from './googleApi';\r\nimport { EntryPointState } from '../models/entryPointState';\r\n\r\nclass GoogleBmApiService implements IAppApiUninstall {\r\n\tpublic entryPointStates: EntryPointState[] = [];\r\n\r\n\tpublic install(request: InstallGoogleBmRequest): Promise {\r\n\t\treturn googleApi.install(request);\r\n\t}\r\n\r\n\tpublic uninstall(workspaceId: string, installId: string): Promise {\r\n\t\tthis.entryPointStates = [];\r\n\t\treturn googleApi.uninstall(workspaceId, installId);\r\n\t}\r\n\r\n\tpublic async getInstalledApp(workspaceId: string): Promise {\r\n\t\tthis.entryPointStates = [];\r\n\t\tconst installedApp = await googleApi.getInstalledApp(workspaceId);\r\n\t\tif (installedApp) {\r\n\t\t\tthis.entryPointStates = installedApp.agents.map(agent => ({\r\n\t\t\t\tid: agent.customAgentId,\r\n\t\t\t\tlaunchStatus: agent.launchStatus,\r\n\t\t\t\tverificationStatus: agent.verificationStatus\r\n\t\t\t}));\r\n\t\t}\r\n\r\n\t\treturn installedApp;\r\n\t}\r\n\r\n\tpublic async createAgent(workspaceId: string, request: AgentConfigRequest) {\r\n\t\tconst agent = await googleApi.createAgent(workspaceId, request);\r\n\t\tthis.entryPointStates.push({\r\n\t\t\tid: agent.customAgentId,\r\n\t\t\tlaunchStatus: agent.launchStatus,\r\n\t\t\tverificationStatus: agent.verificationStatus\r\n\t\t});\r\n\t}\r\n\r\n\tpublic updateAgent(workspaceId: string, customAgentId: string, request: AgentConfigRequest) {\r\n\t\treturn googleApi.updateAgent(workspaceId, customAgentId, request);\r\n\t}\r\n\r\n\tpublic async requestAgentVerification(workspaceId: string, customAgentId: string): Promise<{ verificationState: VerificationStatus }> {\r\n\t\tconst result = await googleApi.requestAgentVerification(workspaceId, customAgentId);\r\n\r\n\t\tlet entryPointState = this.entryPointStates.find(state => state.id === customAgentId);\r\n\r\n\t\tif (entryPointState) {\r\n\t\t\tentryPointState = { ...entryPointState, verificationStatus: result.verificationState };\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}\r\n\r\n\tpublic async requestAgentLaunch(workspaceId: string, customAgentId: string): Promise<{ launchState: LaunchStatus }> {\r\n\t\tconst result = await googleApi.requestAgentLaunch(workspaceId, customAgentId);\r\n\r\n\t\tlet entryPointState = this.entryPointStates.find(state => state.id === customAgentId);\r\n\r\n\t\tif (entryPointState) {\r\n\t\t\tentryPointState = { ...entryPointState, launchStatus: result.launchState };\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}\r\n\r\n\tpublic async cancelVerification(workspaceId: string, customAgentId: string): Promise<{ verificationState: VerificationStatus }> {\r\n\t\tconst result = await googleApi.cancelVerification(workspaceId, customAgentId);\r\n\r\n\t\tlet entryPointState = this.entryPointStates.find(state => state.id === customAgentId);\r\n\r\n\t\tif (entryPointState) {\r\n\t\t\tentryPointState = { ...entryPointState, verificationStatus: result.verificationState };\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}\r\n\r\n\tpublic async unlaunchAgent(workspaceId: string, customAgentId: string): Promise<{ launchState: LaunchStatus }> {\r\n\t\tconst result = await googleApi.unlaunchAgent(workspaceId, customAgentId);\r\n\r\n\t\tlet entryPointState = this.entryPointStates.find(state => state.id === customAgentId);\r\n\r\n\t\tif (entryPointState) {\r\n\t\t\tentryPointState = { ...entryPointState, launchStatus: result.launchState };\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}\r\n\r\n\tpublic async requestLocationVerification(workspaceId: string, locationId: string): Promise<{ verificationState: VerificationStatus }> {\r\n\t\tconst result = await googleApi.requestLocationVerification(workspaceId, locationId);\r\n\r\n\t\tlet entryPointState = this.entryPointStates.find(state => state.id === locationId);\r\n\r\n\t\tif (entryPointState) {\r\n\t\t\tentryPointState = { ...entryPointState, verificationStatus: result.verificationState };\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}\r\n\r\n\tpublic async requestLocationLaunch(workspaceId: string, locationId: string): Promise<{ launchState: LaunchStatus }> {\r\n\t\tconst result = await googleApi.requestLocationLaunch(workspaceId, locationId);\r\n\r\n\t\tlet entryPointState = this.entryPointStates.find(state => state.id === locationId);\r\n\r\n\t\tif (entryPointState) {\r\n\t\t\tentryPointState = { ...entryPointState, launchStatus: result.launchState };\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}\r\n\r\n\tpublic async unlaunchLocation(workspaceId: string, locationId: string): Promise<{ launchState: LaunchStatus }> {\r\n\t\tconst result = await googleApi.unlaunchLocation(workspaceId, locationId);\r\n\r\n\t\tlet entryPointState = this.entryPointStates.find(state => state.id === locationId);\r\n\r\n\t\tif (entryPointState) {\r\n\t\t\tentryPointState = { ...entryPointState, launchStatus: result.launchState };\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}\r\n\r\n\tpublic canUninstall(): boolean {\r\n\t\tif (this.entryPointStates.length === 0) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn this.entryPointStates.every(state => state.verificationStatus === VerificationStatus.VERIFICATION_STATE_UNSPECIFIED);\r\n\t}\r\n\r\n\tpublic getUninstallNotAllowedMessage(): string {\r\n\t\treturn 'You are unable to uninstall the app as it contains an agent that has been verified or attempted verification.';\r\n\t}\r\n}\r\n\r\nexport const googleBmApi = new GoogleBmApiService();\r\n","import { render, staticRenderFns } from \"./UpdateAttribute.vue?vue&type=template&id=09323683\"\nimport script from \"./UpdateAttribute.vue?vue&type=script&lang=ts\"\nexport * from \"./UpdateAttribute.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export const LOAD_CONTACT_ATTRIBUTES = 'LOAD_CONTACT_ATTRIBUTES';\r\nexport const CREATE_CONTACT_ATTRIBUTE = 'CREATE_CONTACT_ATTRIBUTE';\r\nexport const UPDATE_CONTACT_ATTRIBUTE = 'UPDATE_CONTACT_ATTRIBUTE';\r\nexport const ARCHIVE_CONTACT_ATTRIBUTE = 'ARCHIVE_CONTACT_ATTRIBUTE';\r\n\r\n","import urljoin from 'url-join';\r\nimport { api } from '@/shared/services/baseApiClient';\r\nimport { config } from '@/config/config';\r\nimport {\r\n\tInstalledApp,\r\n\tPublishedApp,\r\n\tPrivateApp,\r\n\tCreatePrivateAppViewModel,\r\n\tUpdatePrivateAppViewModel,\r\n\tInstallAppViewModel,\r\n\tCreatedPrivateAppViewModel,\r\n\tInstallAppSuccessViewModel\r\n} from '../models';\r\n\r\nclass AppsApiService {\r\n\tprivate version = 'v1';\r\n\r\n\tpublic listPublished(workspaceId: string): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'GET',\r\n\t\t\turljoin(config().appsHost, this.version, `/workspaces/${workspaceId}/apps/published`)\r\n\t\t);\r\n\t}\r\n\r\n\tpublic listPrivate(workspaceId: string): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'GET',\r\n\t\t\turljoin(config().appsHost, this.version, `workspaces/${workspaceId}/apps/private`)\r\n\t\t);\r\n\t}\r\n\r\n\tpublic createPrivateApp(\r\n\t\tworkspaceId: string,\r\n\t\tdata: CreatePrivateAppViewModel\r\n\t): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'POST',\r\n\t\t\turljoin(config().appsHost, this.version, `workspaces/${workspaceId}/apps/private`),\r\n\t\t\tdata\r\n\t\t);\r\n\t}\r\n\r\n\tpublic updatePrivateApp(\r\n\t\tworkspaceId: string,\r\n\t\tappId: string,\r\n\t\tdata: UpdatePrivateAppViewModel\r\n\t): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'PUT',\r\n\t\t\turljoin(config().appsHost, this.version, `workspaces/${workspaceId}/apps/private/${appId}`),\r\n\t\t\tdata\r\n\t\t);\r\n\t}\r\n\r\n\tpublic getPrivateApp(\r\n\t\tworkspaceId: string,\r\n\t\tappId: string\r\n\t): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'GET',\r\n\t\t\turljoin(config().appsHost, this.version, `workspaces/${workspaceId}/apps/private/${appId}`)\r\n\t\t);\r\n\t}\r\n\r\n\tpublic async getCapableApps(workspaceId: string, capabilityList: string[]): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'GET',\r\n\t\t\turljoin(\r\n\t\t\t\tconfig().appsHost,\r\n\t\t\t\tthis.version,\r\n\t\t\t\t`workspaces/${workspaceId}/apps?capabilities=${capabilityList.join(\r\n\t\t\t\t\t','\r\n\t\t\t\t)}`\r\n\t\t\t)\r\n\t\t);\r\n\t}\r\n\r\n\tpublic getInstalledApps(workspaceId: string): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'GET',\r\n\t\t\turljoin(config().appsHost, this.version, `workspaces/${workspaceId}/apps/installed`)\r\n\t\t);\r\n\t}\r\n\r\n\tpublic getInstalledApp(workspaceId: string, appId: string): Promise {\r\n\t\tconst url = urljoin(config().appsHost, this.version, 'workspaces', workspaceId, `apps/installed?appId=${appId}`);\r\n\t\treturn api.send('GET', url);\r\n\t}\r\n\r\n\tpublic install(\r\n\t\tworkspaceId: string,\r\n\t\tdata: InstallAppViewModel\r\n\t): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'POST',\r\n\t\t\turljoin(config().appsHost, this.version, `workspaces/${workspaceId}/apps/installed`),\r\n\t\t\tdata\r\n\t\t);\r\n\t}\r\n\r\n\tpublic uninstall(\r\n\t\tworkspaceId: string,\r\n\t\tinstalledAppId: string\r\n\t): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'DELETE',\r\n\t\t\turljoin(config().appsHost, this.version, `workspaces/${workspaceId}/apps/installed/${installedAppId}`)\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport const appsApi = new AppsApiService();\r\n","import { render, staticRenderFns } from \"./DateTimeCondition.vue?vue&type=template&id=6ffbf05e&scoped=true\"\nimport script from \"./DateTimeCondition.vue?vue&type=script&lang=ts\"\nexport * from \"./DateTimeCondition.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DateTimeCondition.vue?vue&type=style&index=0&id=6ffbf05e&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6ffbf05e\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BotPreviewModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BotPreviewModal.vue?vue&type=script&lang=ts\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Answers.vue?vue&type=style&index=0&id=609578d9&prod&scoped=true&lang=scss\"","import { render, staticRenderFns } from \"./Register.vue?vue&type=template&id=ab060f20&scoped=true\"\nimport script from \"./Register.vue?vue&type=script&lang=ts\"\nexport * from \"./Register.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Register.vue?vue&type=style&index=0&id=ab060f20&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ab060f20\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GovNotifyServiceConfiguration.vue?vue&type=style&index=0&id=0d362a92&prod&lang=scss&scoped=true\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AnswerEditor.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AnswerEditor.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\r\nimport { IntentListItemViewModel } from '@/features/bots/models/intents/intentListItemViewModel';\r\nimport DropDownMenu from '@/shared/components/dropDownMenu/DropDownMenu.vue';\r\nimport AddIcon from 'vue-material-design-icons/Plus.vue';\r\nimport FaqAddIntentModal from '@/features/bots/components/designer/FaqAddIntentModal.vue';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { required } from 'vuelidate/lib/validators';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tDropDownMenu,\r\n\t\tAddIcon,\r\n\t\tFaqAddIntentModal,\r\n\t},\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tselectedIntent: {\r\n\t\t\trequired\r\n\t\t},\r\n\t}\r\n})\r\nexport default class FaqIntentPicker extends Vue {\r\n\t@Prop() public intents: IntentListItemViewModel[];\r\n\r\n\t@Prop() public faqName!: string;\r\n\r\n\t@Prop() public intentId!: string | null;\r\n\r\n\t@Prop() public v: any;\r\n\r\n\tpublic selectedIntent: Partial | null = null;\r\n\r\n\tpublic $refs: {\r\n\t\tcreateIntentModal: FaqAddIntentModal\r\n\t};\r\n\r\n\t@Watch('intentId', { immediate: true })\r\n\tpublic onIntentIdChanged() {\r\n\t\tif (this.selectedIntentIsNewIntent()) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tconst matchingIntentOnId = this.intents.find(i => i.id === this.intentId);\r\n\t\tif (matchingIntentOnId) {\r\n\t\t\treturn this.selectIntent(matchingIntentOnId);\r\n\t\t}\r\n\t\tconst matchingIntentOnName = this.intents.find(i => i.title === this.faqName);\r\n\t\tif (matchingIntentOnName) {\r\n\t\t\treturn this.selectIntent(matchingIntentOnName);\r\n\t\t}\r\n\t\treturn this.selectIntent({ title: this.faqName });\r\n\t}\r\n\r\n\tpublic addedIntent(intentTitle: string) {\r\n\t\tconst existingIntent = this.intents.find(i => i.title === intentTitle);\r\n\t\tif (existingIntent) {\r\n\t\t\tthis.selectIntent(existingIntent);\r\n\t\t} else {\r\n\t\t\tthis.selectIntent({ title: intentTitle });\r\n\t\t}\r\n\t}\r\n\r\n\tpublic selectIntent(intent: Partial) {\r\n\t\tif (intent !== this.selectedIntent) {\r\n\t\t\tthis.selectedIntent = intent;\r\n\t\t\tthis.emitSelectedIntent();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic openCreateIntentModal() {\r\n\t\tthis.$refs.createIntentModal.showModal();\r\n\t}\r\n\r\n\tpublic get intentsForFaq() {\r\n\t\treturn this.intents.filter(intent => intent.id !== 'None').sort((a, b) => a.title.localeCompare(b.title));\r\n\t}\r\n\r\n\tprivate selectedIntentIsNewIntent() {\r\n\t\treturn this.selectedIntent !== null && this.selectedIntent?.id === undefined && this.selectedIntent?.title !== this.faqName;\r\n\t}\r\n\r\n\tprivate emitSelectedIntent() {\r\n\t\tthis.$emit('input', this.selectedIntent);\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { Getter } from 'vuex-class';\r\nimport { botsApi } from '../../services/bots';\r\nimport ConversationControlBar from './ConversationControlBar.vue';\r\nimport BrowserUrlBar from './BrowserUrlBar.vue';\r\nimport WebAssistantPreview from '@/features/webassistant/components/WebAssistantPreview.vue';\r\nimport PhonePreview from './PhonePreview.vue';\r\nimport BotPausedBanner from './BotPausedBanner.vue';\r\nimport { ConversationMessage } from '@/features/webassistant/models/conversation-message';\r\nimport { MessageStatus } from '@/features/webassistant/models/messageStatus';\r\nimport { MessageDirection } from '@/features/webassistant/models/messageDirection';\r\nimport { FlowListItemViewModel } from '@/features/bots/models/flowListItemViewModel';\r\nimport shortid from 'shortid';\r\nimport { AppCard } from '@/features/apps/shared/models/appCard';\r\nimport { ExecuteTestBotViewModel, FlowAndPriority } from '@/features/bots/models/request/executeTestBotViewModel';\r\nimport { BotUserViewModel } from '@/features/bots/models/botUserViewModel';\r\nimport { BotTestResponseViewModel } from '@/features/bots/models/botTestResponseViewModel';\r\nimport { InstructionViewModel, SendAppInstructionViewModel } from '@/features/bots/models/instructionViewModel';\r\nimport ContactNameUtil from '@/features/bots/contactNameUtil';\r\nimport { BotAppInitViewModel } from '@/features/bots/models/request/botAppInitViewModel';\r\nimport { BotAppSubmitViewModel } from '@/features/bots/models/request/botAppSubmitViewModel';\r\nimport appInsights from '@/shared/services/appInsights';\r\nimport { AnswerListItemViewModel } from '@/features/bots/models/answers/answerListItemViewModel';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tPhonePreview,\r\n\t\tConversationControlBar,\r\n\t\tBrowserUrlBar,\r\n\t\tWebAssistantPreview,\r\n\t\tBotPausedBanner\r\n\t}\r\n})\r\nexport default class BotPreviewMessagingClientContainer extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Prop() public currentTime: Date;\r\n\t@Prop() public user: BotUserViewModel;\r\n\t@Prop() public flows!: FlowListItemViewModel[];\r\n\t@Prop() public answers!: AnswerListItemViewModel[];\r\n\r\n\tpublic messages: ConversationMessage[] = [];\r\n\tpublic sessionId: string;\r\n\tpublic variables: { [key: string]: any } = {};\r\n\r\n\tpublic isConversationVisible = true;\r\n\tpublic isBotPaused = false;\r\n\tpublic currentUser: BotUserViewModel = { id: '', data: {} };\r\n\tpublic currentUrl: string = 'http://home';\r\n\tpublic currentChannelType: string = 'web-assistant';\r\n\tpublic currentChannelIdentityId: string = 'web-assistant-default';\r\n\r\n\tpublic postbackTimers: number[] = [];\r\n\r\n\t@Watch('user', { immediate: true, deep: true })\r\n\tpublic onBotUserChanged(value: BotUserViewModel) {\r\n\t\tif (this.user) {\r\n\t\t\tthis.currentUser = value;\r\n\t\t}\r\n\t\tthis.$emit('userUpdated', value);\r\n\t}\r\n\r\n\tpublic async mounted() {\r\n\t\tthis.sessionId = shortid.generate();\r\n\t\tthis.currentUser.data['appUser.currentUrl'] = this.currentUrl;\r\n\t\tawait this.sendPostback('widget:load');\r\n\t\tawait this.sendPostback('conversation:open');\r\n\t\tawait this.setupTimeOnPageTimers();\r\n\t\tdocument.addEventListener('fresco-panel-submit', this.cardSubmitHandler);\r\n\t}\r\n\r\n\tpublic beforeDestroy() {\r\n\t\tdocument.removeEventListener('fresco-panel-submit', this.cardSubmitHandler);\r\n\t\tthis.deletePostbackTimers();\r\n\t\tthis.deleteSession();\r\n\t}\r\n\r\n\tpublic async handleMessageSend(message: string) {\r\n\t\tconst sentMessage = this.addOutboundMessage(message);\r\n\t\tif (this.isBotPaused) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\ttry {\r\n\t\t\tconst request: ExecuteTestBotViewModel = {\r\n\t\t\t\tsessionId: this.sessionId,\r\n\t\t\t\tevent: {\r\n\t\t\t\t\ttype: 'message:appUser',\r\n\t\t\t\t\tsource: {\r\n\t\t\t\t\t\tid: this.currentChannelIdentityId,\r\n\t\t\t\t\t\ttype: this.currentChannelType\r\n\t\t\t\t\t},\r\n\t\t\t\t\tdata: {\r\n\t\t\t\t\t\t'message.text': message,\r\n\t\t\t\t\t\t'system.currentTimeUtc': this.currentTime.toISOString()\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\tuser: this.currentUser,\r\n\t\t\t\tflows: this.flowsAndPriorities,\r\n\t\t\t\tvariables: this.variables\r\n\t\t\t};\r\n\t\t\tconst response = await botsApi.sendTestBotEvent(this.currentWorkspace.id, request);\r\n\t\t\tsentMessage.status = MessageStatus.DeliverySucceeded;\r\n\t\t\tawait this.handleBotResponse(response, true);\r\n\t\t} catch (e) {\r\n\t\t\tawait this.handleError();\r\n\t\t} finally {\r\n\t\t\tthis.trackTestBotEventSent('message:appUser');\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async sendConversationHandover() {\r\n\t\ttry {\r\n\t\t\tconst request: ExecuteTestBotViewModel = {\r\n\t\t\t\tsessionId: this.sessionId,\r\n\t\t\t\tevent: {\r\n\t\t\t\t\ttype: 'conversation:handover',\r\n\t\t\t\t\tsource: {\r\n\t\t\t\t\t\tid: this.currentChannelIdentityId,\r\n\t\t\t\t\t\ttype: this.currentChannelType\r\n\t\t\t\t\t},\r\n\t\t\t\t\tdata: {\r\n\t\t\t\t\t\t'system.currentTimeUtc': this.currentTime.toISOString()\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\tuser: this.currentUser,\r\n\t\t\t\tflows: this.flowsAndPriorities,\r\n\t\t\t\tvariables: this.variables\r\n\t\t\t};\r\n\t\t\tthis.deletePostbackTimers();\r\n\t\t\tconst response = await botsApi.sendTestBotEvent(this.currentWorkspace.id, request);\r\n\t\t\tawait this.handleBotResponse(response);\r\n\t\t} catch (e) {\r\n\t\t\tawait this.handleError();\r\n\t\t} finally {\r\n\t\t\tthis.trackTestBotEventSent('conversation:handover');\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async sendPostback(postbackType: string) {\r\n\t\tif (this.isBotPaused) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\ttry {\r\n\t\t\tconst request: ExecuteTestBotViewModel = {\r\n\t\t\t\tsessionId: this.sessionId,\r\n\t\t\t\tevent: {\r\n\t\t\t\t\ttype: 'postback',\r\n\t\t\t\t\tsource: {\r\n\t\t\t\t\t\tid: this.currentChannelIdentityId,\r\n\t\t\t\t\t\ttype: this.currentChannelType\r\n\t\t\t\t\t},\r\n\t\t\t\t\tdata: {\r\n\t\t\t\t\t\t'postback.payload': postbackType,\r\n\t\t\t\t\t\t'system.currentTimeUtc': this.currentTime.toISOString()\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\tuser: this.currentUser,\r\n\t\t\t\tflows: this.flowsAndPriorities,\r\n\t\t\t\tvariables: this.variables\r\n\t\t\t};\r\n\t\t\tconst response = await botsApi.sendTestBotEvent(this.currentWorkspace.id, request);\r\n\t\t\tawait this.handleBotResponse(response);\r\n\t\t} catch (e) {\r\n\t\t\tawait this.handleError();\r\n\t\t} finally {\r\n\t\t\tthis.trackTestBotEventSent('postback');\r\n\t\t}\r\n\t}\r\n\r\n\tpublic toggleConversationVisibility() {\r\n\t\tthis.isConversationVisible = !this.isConversationVisible;\r\n\t\tif (this.isConversationVisible) {\r\n\t\t\tthis.sendPostback('conversation:open');\r\n\t\t}\r\n\t}\r\n\r\n\tpublic handleQuickReply(quickReply: any) {\r\n\t\tthis.handleMessageSend(quickReply.text);\r\n\t}\r\n\r\n\tpublic handleLoad($state: any) {\r\n\t\t$state.loaded();\r\n\t\t$state.complete();\r\n\t}\r\n\r\n\tpublic async urlChanged(url: string) {\r\n\t\tthis.currentUrl = url;\r\n\t\tthis.currentUser.data['appUser.currentUrl'] = url;\r\n\t\tappInsights.trackEvent({ name: 'Bot Preview: Url changed' }, { workspaceId: this.currentWorkspace.id, url });\r\n\t\tawait this.resetPostbacks();\r\n\t}\r\n\r\n\tpublic async channelChanged(type: string, id: string) {\r\n\t\tthis.$emit('channelChanged');\r\n\t\tconst channelChanged = this.currentChannelType !== type || this.currentChannelIdentityId !== id;\r\n\t\tif (channelChanged) {\r\n\t\t\tappInsights.trackEvent({ name: 'Bot Preview: Channel changed' }, { workspaceId: this.currentWorkspace.id, channelId: id, channelType: type });\r\n\t\t\tthis.currentChannelType = type;\r\n\t\t\tthis.currentChannelIdentityId = id;\r\n\t\t\tthis.reset();\r\n\t\t\tif (this.currentChannelType === 'web-assistant') {\r\n\t\t\t\tawait this.sendPostback('widget:load');\r\n\t\t\t\tif (this.isConversationVisible) {\r\n\t\t\t\t\tawait this.sendPostback('conversation:open');\r\n\t\t\t\t}\r\n\t\t\t\tawait this.setupTimeOnPageTimers();\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async refreshClicked() {\r\n\t\tappInsights.trackEvent({ name: 'Bot Preview: Refresh clicked' }, { workspaceId: this.currentWorkspace.id });\r\n\t\tawait this.resetPostbacks();\r\n\t}\r\n\r\n\tpublic resetClicked() {\r\n\t\tthis.resetConversation();\r\n\t}\r\n\r\n\tpublic resumeBot() {\r\n\t\tthis.isBotPaused = false;\r\n\t}\r\n\r\n\tpublic get isWebAssistant() {\r\n\t\treturn this.currentChannelType === 'web-assistant';\r\n\t}\r\n\r\n\tprivate get flowsAndPriorities(): FlowAndPriority[] {\r\n\t\treturn [\r\n\t\t\t...this.flows.map(f => ({ id: f.id, priority: f.priority })),\r\n\t\t\t...this.answers.map(f => ({ id: f.id, priority: 1 }))\r\n\t\t];\r\n\t}\r\n\r\n\tprivate addOutboundMessage(message: string): ConversationMessage {\r\n\t\tconst sentMessage: ConversationMessage = {\r\n\t\t\tid: shortid.generate(),\r\n\t\t\ttype: 'text',\r\n\t\t\ttext: message,\r\n\t\t\tdirection: MessageDirection.Outbound,\r\n\t\t\ttimestampUtc: this.currentTime,\r\n\t\t\tstatus: MessageStatus.Sent\r\n\t\t};\r\n\t\tthis.messages.push(sentMessage);\r\n\t\tthis.scrollToBottom();\r\n\t\treturn sentMessage;\r\n\t}\r\n\r\n\tprivate async resetPostbacks() {\r\n\t\tthis.deletePostbackTimers();\r\n\t\tawait this.sendPostback('widget:load');\r\n\t\tawait this.setupTimeOnPageTimers();\r\n\t}\r\n\r\n\tprivate async handleBotResponse(response: BotTestResponseViewModel, isFromAppUserMessageRequest = false) {\r\n\t\tthis.currentUser = this.getCurrentUser(response);\r\n\t\tif (isFromAppUserMessageRequest) {\r\n\t\t\tthis.currentUser.data['appUser.lastHeardFrom'] = new Date();\r\n\t\t}\r\n\r\n\t\tthis.variables = response.variables;\r\n\t\tthis.$emit('userUpdated', this.currentUser);\r\n\t\tawait this.handleBotInstructions(response);\r\n\t\tthis.scrollToBottom();\r\n\t}\r\n\r\n\tprivate getCurrentUser(response: BotTestResponseViewModel) {\r\n\t\tconst newUser = response.user;\r\n\t\tif (!newUser) {\r\n\t\t\treturn newUser;\r\n\t\t}\r\n\r\n\t\tnewUser.data['appUser.firstSeen'] = this.currentUser.data['appUser.firstSeen'] || new Date();\r\n\t\tnewUser.data['appUser.lastSeen'] = new Date();\r\n\r\n\t\tfor (const [key, value] of Object.entries(newUser.data)) {\r\n\t\t\tif (key === 'appUser.name') {\r\n\t\t\t\tnewUser.data['appUser.givenName'] = ContactNameUtil.extractGivenName(value);\r\n\t\t\t\tnewUser.data['appUser.surname'] = ContactNameUtil.extractSurname(value);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (this.containsMessageInstructions(response)) {\r\n\t\t\tnewUser.data['appUser.lastContacted'] = new Date();\r\n\t\t}\r\n\r\n\t\treturn newUser;\r\n\t}\r\n\r\n\tprivate containsMessageInstructions(response: BotTestResponseViewModel) {\r\n\t\treturn response.instructions &&\r\n\t\t\t\tresponse.instructions.length > 0 &&\r\n\t\t\t\tresponse.instructions.filter(instruction => !instruction.whisper).length > 0;\r\n\t}\r\n\r\n\tprivate async handleBotInstructions(botResponse: BotTestResponseViewModel) {\r\n\t\tfor (const instruction of botResponse.instructions) {\r\n\t\t\tif (instruction.sendApp) {\r\n\t\t\t\tawait this.handleAppInstruction(instruction.sendApp, botResponse.variables, botResponse.user);\r\n\t\t\t} else if (instruction.handover) {\r\n\t\t\t\tthis.isBotPaused = true;\r\n\t\t\t\tawait this.sendConversationHandover();\r\n\t\t\t} else {\r\n\t\t\t\tthis.messages.push(\r\n\t\t\t\t\tthis.createTextConversationMessage(\r\n\t\t\t\t\t\tthis.getMessageType(instruction),\r\n\t\t\t\t\t\tthis.getMessageText(instruction),\r\n\t\t\t\t\t\tinstruction.ask ? instruction.ask.options : null\r\n\t\t\t\t\t)\r\n\t\t\t\t);\r\n\t\t\t\tthis.scrollToBottom();\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tprivate async handleAppInstruction(\r\n\t\tappInstruction: SendAppInstructionViewModel,\r\n\t\tvariables: { [p: string]: any },\r\n\t\tuser: BotUserViewModel\r\n\t) {\r\n\t\tconst context = { location: 'bot-preview', channel: this.currentChannelType };\r\n\t\tconst botAppInitViewModel = {\r\n\t\t\tuser: this.getAppUserFromUser(user),\r\n\t\t\tconfig: appInstruction.config,\r\n\t\t\tcontext,\r\n\t\t\tdata: variables\r\n\t\t} as BotAppInitViewModel;\r\n\r\n\t\tconst appResponse = await botsApi.botAppInit(this.currentWorkspace.id, appInstruction.installedAppId, botAppInitViewModel);\r\n\t\tif (appResponse.card) {\r\n\t\t\tconst conversationMessage = this.createAppConversationMessage(appResponse.card, appInstruction.installedAppId);\r\n\t\t\tthis.messages.push(conversationMessage);\r\n\t\t\tthis.scrollToBottom();\r\n\t\t} else if (appResponse.flow) {\r\n\t\t\tappResponse.flow.messages.forEach(appMsg => this.messages.push(this.createTextConversationMessage('text', appMsg.text)));\r\n\t\t\tthis.scrollToBottom();\r\n\t\t}\r\n\t\tawait this.initiateNextBotTurn();\r\n\t}\r\n\r\n\tprivate async initiateNextBotTurn() {\r\n\t\ttry {\r\n\t\t\tconst request: ExecuteTestBotViewModel = {\r\n\t\t\t\tsessionId: this.sessionId,\r\n\t\t\t\tevent: {\r\n\t\t\t\t\ttype: 'app:response',\r\n\t\t\t\t\tsource: {\r\n\t\t\t\t\t\tid: this.currentChannelIdentityId,\r\n\t\t\t\t\t\ttype: this.currentChannelType\r\n\t\t\t\t\t},\r\n\t\t\t\t\tdata: {\r\n\t\t\t\t\t\t'system.currentTimeUtc': this.currentTime.toISOString()\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\tuser: this.currentUser,\r\n\t\t\t\tflows: this.flowsAndPriorities,\r\n\t\t\t\tvariables: this.variables\r\n\t\t\t};\r\n\t\t\tconst response = await botsApi.sendTestBotEvent(this.currentWorkspace.id, request);\r\n\t\t\tawait this.handleBotResponse(response);\r\n\t\t} catch (e) {\r\n\t\t\tawait this.handleError();\r\n\t\t} finally {\r\n\t\t\tthis.trackTestBotEventSent('app:response');\r\n\t\t}\r\n\t}\r\n\r\n\tprivate async handleError() {\r\n\t\tawait this.deleteSession();\r\n\t\tthis.messages.push(this.createTextConversationMessage('text', 'Something went wrong, please try again'));\r\n\t\tthis.scrollToBottom();\r\n\t}\r\n\r\n\tprivate async deleteSession() {\r\n\t\tawait botsApi.deleteSession(this.currentWorkspace.id, this.sessionId);\r\n\t}\r\n\r\n\tprivate createTextConversationMessage(type: string, text: string, actions: string[] | null = null): ConversationMessage {\r\n\t\tappInsights.trackEvent({ name: 'Bot Preview: Message received' }, { workspaceId: this.currentWorkspace.id, type });\r\n\t\treturn {\r\n\t\t\tid: shortid.generate(),\r\n\t\t\ttype,\r\n\t\t\ttext,\r\n\t\t\tdirection: MessageDirection.Inbound,\r\n\t\t\tstatus: MessageStatus.DeliverySucceeded,\r\n\t\t\ttimestampUtc: this.currentTime,\r\n\t\t\tactions\r\n\t\t};\r\n\t}\r\n\r\n\tprivate createAppConversationMessage(card: AppCard, installedAppId: string): ConversationMessage {\r\n\t\tconst id = shortid.generate();\r\n\t\treturn {\r\n\t\t\tid,\r\n\t\t\ttype: 'app',\r\n\t\t\tdirection: MessageDirection.Inbound,\r\n\t\t\tstatus: MessageStatus.DeliverySucceeded,\r\n\t\t\ttimestampUtc: this.currentTime,\r\n\t\t\tcard: { id, content: card },\r\n\t\t\tapp: {\r\n\t\t\t\tinstalledAppId\r\n\t\t\t}\r\n\t\t} as ConversationMessage;\r\n\t}\r\n\r\n\tprivate getMessageType(instruction: InstructionViewModel): string {\r\n\t\tif (instruction.say || instruction.ask) {\r\n\t\t\treturn 'text';\r\n\t\t} else if (instruction.whisper) {\r\n\t\t\treturn 'whisper';\r\n\t\t} else if (instruction.sendApp) {\r\n\t\t\treturn this.isWebAssistant ? 'app' : 'text';\r\n\t\t}\r\n\t\treturn '';\r\n\t}\r\n\r\n\tprivate getMessageText(instruction: InstructionViewModel): string {\r\n\t\tif (instruction.say) {\r\n\t\t\treturn instruction.say.text;\r\n\t\t} else if (instruction.ask) {\r\n\t\t\treturn instruction.ask.text;\r\n\t\t} else if (instruction.whisper) {\r\n\t\t\treturn instruction.whisper.text;\r\n\t\t}\r\n\t\treturn '';\r\n\t}\r\n\r\n\tprivate reset() {\r\n\t\tthis.currentUser = { id: '', data: {} };\r\n\t\tthis.currentUser.data['appUser.currentUrl'] = this.currentUrl;\r\n\r\n\t\tthis.resetConversation();\r\n\t}\r\n\r\n\tprivate resetConversation() {\r\n\t\tthis.deleteSession();\r\n\r\n\t\tthis.messages = [];\r\n\t\tthis.sessionId = shortid.generate();\r\n\t\tthis.variables = {};\r\n\t\tthis.isBotPaused = false;\r\n\r\n\t\tthis.deletePostbackTimers();\r\n\t}\r\n\r\n\tprivate scrollToBottom() {\r\n\t\tthis.$nextTick(() => {\r\n\t\t\tconst component = this.$refs.previewComponent as Vue;\r\n\t\t\tif (component) {\r\n\t\t\t\tconst container = component.$el.getElementsByClassName('n-conversation-thread')[0];\r\n\t\t\t\tcontainer.scrollTop = container.scrollHeight;\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tprivate async setupTimeOnPageTimers() {\r\n\t\tfor (const flow of this.flows) {\r\n\t\t\tif (flow && flow.timeOnPage > 0) {\r\n\t\t\t\tconst postbackTimer = window.setTimeout(() => this.sendPostback(`widget:load+${flow.timeOnPage}`), flow.timeOnPage * 1000);\r\n\t\t\t\tthis.postbackTimers.push(postbackTimer);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tprivate deletePostbackTimers() {\r\n\t\tfor (let i = this.postbackTimers.length - 1; i >= 0; i--) {\r\n\t\t\twindow.clearTimeout(this.postbackTimers[i]);\r\n\t\t\tthis.postbackTimers.splice(i, 1);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate async cardSubmitHandler(evt: any) {\r\n\t\tconst eventDetail = evt.detail;\r\n\t\tconst message = this.messages.find(m => m.id === eventDetail.panelId);\r\n\t\tif (message && message.app && message.app.installedAppId) {\r\n\t\t\tawait this.submit(message, eventDetail);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate async submit(message: ConversationMessage, eventDetail: any) {\r\n\t\tconst submitData = await botsApi.botAppSubmit(this.currentWorkspace.id, message.app!.installedAppId, {\r\n\t\t\tuser: this.getAppUserFromUser(this.currentUser),\r\n\t\t\tcomponentId: eventDetail.componentId,\r\n\t\t\tstoredData: this.containsStoredData(message) ? message!.card!.content!.storedData : {},\r\n\t\t\tdata: this.variables,\r\n\t\t\tinputData: this.getInputData(eventDetail.parsedValues),\r\n\t\t\tcontext: { location: 'bot-preview', channel: this.currentChannelType }\r\n\t\t} as BotAppSubmitViewModel);\r\n\r\n\t\tif (message.card && message.card.content) {\r\n\t\t\tmessage.card.content = submitData.card;\r\n\t\t}\r\n\t}\r\n\r\n\tprivate containsStoredData(message: ConversationMessage) {\r\n\t\treturn message.card && message.card.content && message.card.content.storedData;\r\n\t}\r\n\r\n\tprivate getInputData(frescoValues?: any[]): { [key: string]: string } {\r\n\t\tconst values: { [key: string]: string } = {};\r\n\t\tif (frescoValues) {\r\n\t\t\tfor (const value of frescoValues) {\r\n\t\t\t\tvalues[value.id] = value.value;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn values;\r\n\t}\r\n\r\n\tprivate getAppUserFromUser(user: BotUserViewModel) {\r\n\t\tif (!user) {\r\n\t\t\treturn {};\r\n\t\t}\r\n\t\treturn {\r\n\t\t\tid: user.id,\r\n\t\t\tgivenName: user.data['appUser.givenName'],\r\n\t\t\tsurname: user.data['appUser.surname'],\r\n\t\t\temail: user.data['appUser.email'],\r\n\t\t\tphoneNumber: user.data['appUser.phoneNumber'],\r\n\t\t\tcreatedTimeUtc: user.data['appUser.firstSeen'],\r\n\t\t\tcustomAttributes: this.getCustomAttributesFromUser(user)\r\n\t\t};\r\n\t}\r\n\r\n\tprivate getCustomAttributesFromUser(user: BotUserViewModel) {\r\n\t\treturn Object.entries(user.data)\r\n\t\t\t.filter(([key, value]) => key.startsWith('appUser.customAttributes.'))\r\n\t\t\t.reduce(\r\n\t\t\t\t(prev, [key, value]) => {\r\n\t\t\t\t\tprev[key.replace('appUser.customAttributes.', '') as string] = value;\r\n\t\t\t\t\treturn prev;\r\n\t\t\t\t},\r\n\t\t\t\t{} as { [key: string]: any }\r\n\t\t\t);\r\n\t}\r\n\r\n\r\n\tprivate trackTestBotEventSent(eventType: string) {\r\n\t\tappInsights.trackEvent({ name: 'Bot Preview: Test bot event sent' }, { workspaceId: this.currentWorkspace.id, sessionId: this.sessionId, eventType });\r\n\t}\r\n\r\n}\r\n","export const NLP_ENABLED = 'nlpEnabled';\r\nexport const BOT_STUDIO_ENABLED = 'botStudioEnabled';\r\nexport const PROACTIVE_FLOWS_ENABLED = 'proactiveFlowsEnabled';\r\nexport const ATTENDANT_TRIAGE_FLOWS_ENABLED = 'attendantTriageFlowsEnabled';\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { Action, Getter } from 'vuex-class';\r\nimport Modal from '@/shared/components/Modal.vue';\r\nimport { maxLength, required } from 'vuelidate/lib/validators';\r\nimport { validationMixin } from 'vuelidate';\r\nimport VuelidateUtil from '@/shared/util/vuelidateUtil';\r\nimport Toast from '@/shared/services/toast';\r\nimport { IntentViewModel } from '@/features/bots/models/intents/intentViewModel';\r\nimport { UtteranceViewModel } from '@/features/bots/models/intents/utteranceViewModel';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport UtteranceList from '@/features/bots/components/designer/UtteranceList.vue';\r\nimport { NLP_ENABLED } from '@/store/app/featureTypes';\r\nimport { GET_INTENT, UPDATE_INTENT } from '@/store/intents/actionTypes';\r\nimport { SaveIntentViewModel } from '@/features/bots/models/intents/saveIntentViewModel';\r\n\r\n@Component({\r\n\tmixins: [\r\n\t\tvalidationMixin,\r\n\t],\r\n\tcomponents: {\r\n\t\tUtteranceList,\r\n\t\tLoadingSpinner,\r\n\t\tModal\r\n\t},\r\n\tvalidations: {\r\n\t\tselectedIntentTitle: {\r\n\t\t\trequired,\r\n\t\t\tmaxLength: maxLength(50),\r\n\t\t\tintentNameValid: VuelidateUtil.intentName\r\n\t\t},\r\n\t\tselectedIntentUtterances: {\r\n\t\t\trequired,\r\n\t\t\t$each: {\r\n\t\t\t\ttext: {\r\n\t\t\t\t\trequired,\r\n\t\t\t\t\tisUnique(value) {\r\n\t\t\t\t\t\treturn !(this.$v.selectedIntentUtterances && this.$v.selectedIntentUtterances.$model.filter((utterance: any) => utterance.text === value).length > 1);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n})\r\nexport default class EditIntentModal extends Vue {\r\n\t@Getter public isWorkspaceFeatureEnabled!: (key: string) => boolean;\r\n\t@Action(GET_INTENT) public getIntent: (id: string) => Promise;\r\n\t@Action(UPDATE_INTENT) public updateIntent: (request: { id: string, intent: SaveIntentViewModel }) => Promise;\r\n\t@Prop({ required: true }) public intentId: string;\r\n\tpublic show: boolean = false;\r\n\r\n\tpublic isSaveInProgress: boolean = false;\r\n\r\n\tpublic selectedIntent: IntentViewModel;\r\n\tpublic selectedIntentId: string = '';\r\n\tpublic selectedIntentTitle: string = '';\r\n\tpublic selectedIntentUtterances: UtteranceViewModel[] = [];\r\n\tpublic loading: boolean = false;\r\n\r\n\t@Watch('intentId', { immediate: true })\r\n\tpublic async onIntentIdChange(id: string) {\r\n\t\tthis.intentId = id;\r\n\t}\r\n\r\n\tpublic async showModal() {\r\n\t\tthis.loading = true;\r\n\t\tthis.show = true;\r\n\t\tawait this.loadIntentWithId();\r\n\t\tthis.setIntentToEdit();\r\n\t\tthis.loading = false;\r\n\t}\r\n\r\n\tpublic async saveIntent() {\r\n\t\tthis.$v.$touch();\r\n\t\tif (this.$v.$invalid) {\r\n\t\t\tToast.showError('Fix the errors in red before saving');\r\n\t\t\treturn;\r\n\t\t}\r\n\t\ttry {\r\n\t\t\tif (this.nlpEnabled()) {\r\n\t\t\t\tthis.isSaveInProgress = true;\r\n\t\t\t\tthis.selectedIntent.utterances = this.selectedIntentUtterances.sort((uttOne, uttTwo) => uttOne.text.localeCompare(uttTwo.text));\r\n\t\t\t\tthis.selectedIntent.title = this.selectedIntentTitle.trim();\r\n\r\n\t\t\t\tconst intent = {\r\n\t\t\t\t\tutterances: this.selectedIntent.utterances.map(utterance => utterance.text),\r\n\t\t\t\t\ttitle: this.selectedIntent.title\r\n\t\t\t\t};\r\n\t\t\t\tawait this.updateIntent({ id: this.selectedIntentId, intent });\r\n\r\n\t\t\t\tToast.showSuccess('Saved intent');\r\n\t\t\t\tthis.$emit('completed', this.selectedIntent);\r\n\r\n\t\t\t\tthis.isSaveInProgress = false;\r\n\t\t\t\tthis.closeModal();\r\n\t\t\t} else {\r\n\t\t\t\tToast.showError('Unable to save intent - your workspace must have Natural Language support enabled');\r\n\t\t\t\tthis.closeModal();\r\n\t\t\t}\r\n\t\t} catch (ex) {\r\n\t\t\tToast.showError(ex.message);\r\n\t\t\tthis.isSaveInProgress = false;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getErrorMessage(): string {\r\n\t\tif (this.$v.selectedIntentTitle.required && !this.$v.selectedIntentTitle.intentNameValid) {\r\n\t\t\treturn 'Name must only contain letters, numbers, spaces, and the characters , - _ ( )';\r\n\t\t}\r\n\t\tif (!this.$v.selectedIntentTitle.maxLength) {\r\n\t\t\treturn 'Name must not be longer than 50 characters';\r\n\t\t}\r\n\t\tif (!this.$v.selectedIntentTitle.required) {\r\n\t\t\treturn 'Name must not be empty';\r\n\t\t}\r\n\r\n\t\treturn '';\r\n\t}\r\n\r\n\tpublic isUnknownIntent(): boolean {\r\n\t\treturn this.selectedIntentId === 'None';\r\n\t}\r\n\r\n\tprivate async loadIntentWithId() {\r\n\t\ttry {\r\n\t\t\tthis.selectedIntent = await this.getIntent(this.intentId);\r\n\t\t} catch (e) {\r\n\t\t\tthis.errorLoading('Error loading intent');\r\n\t\t}\r\n\t}\r\n\r\n\tprivate errorLoading(message: string) {\r\n\t\tToast.showError(message);\r\n\t\tthis.show = false;\r\n\t}\r\n\r\n\tprivate setIntentToEdit() {\r\n\t\tif (this.selectedIntent) {\r\n\t\t\tthis.selectedIntentId = this.selectedIntent.id!;\r\n\t\t\tthis.selectedIntentUtterances = this.selectedIntent.utterances.sort((uttOne, uttTwo) => uttOne.text.localeCompare(uttTwo.text));\r\n\t\t\tthis.selectedIntentTitle = this.selectedIntent.title;\r\n\t\t}\r\n\t}\r\n\r\n\tprivate nlpEnabled() {\r\n\t\treturn this.isWorkspaceFeatureEnabled(NLP_ENABLED);\r\n\t}\r\n\r\n\tprivate closeModal() {\r\n\t\tthis.show = false;\r\n\t\tthis.selectedIntentId = '';\r\n\t\tthis.selectedIntentTitle = '';\r\n\t\tthis.selectedIntentUtterances = [];\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./Reports.vue?vue&type=template&id=706f6c24&scoped=true\"\nimport script from \"./Reports.vue?vue&type=script&lang=ts\"\nexport * from \"./Reports.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Reports.vue?vue&type=style&index=0&id=706f6c24&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"706f6c24\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./DecimalCondition.vue?vue&type=template&id=c7430d38\"\nimport script from \"./DecimalCondition.vue?vue&type=script&lang=ts\"\nexport * from \"./DecimalCondition.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\r\nimport { StateViewModel } from '@/features/bots/models/designer';\r\nimport IslandBadge from './IslandBadge.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tIslandBadge\r\n\t}\r\n})\r\nexport default class HumanHandover extends Vue {\r\n\t@Prop() public value: StateViewModel;\r\n\r\n\tpublic state: StateViewModel = {\r\n\t\tid: '',\r\n\t\tcomponent: 'HumanHandover'\r\n\t};\r\n\r\n\t@Watch('value', { immediate: true })\r\n\tpublic onValueChanged(value: StateViewModel, previous: StateViewModel) {\r\n\t\tthis.state = value;\r\n\t}\r\n}\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleBmAgentTestModal.vue?vue&type=style&index=0&id=b4a1e5b0&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"chart-container\"},[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"title-container\"},[_c('span',{staticClass:\"title is-5\"},[_vm._v(\"\\n\\t\\t\\t\\tEscalation Trend\\n\\t\\t\\t\\t\"),_c('div',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.right\",value:(_vm.tooltipText),expression:\"tooltipText\",modifiers:{\"right\":true}}],staticClass:\"icon\"},[_c('HelpIcon')],1)])]),(_vm.loadedAndReturnedData)?_c('div',{staticClass:\"buttons has-addons\"},[_c('span',{staticClass:\"button\",class:{'is-static': _vm.showLineChart},on:{\"click\":function($event){return _vm.switchLineChart()}}},[_c('font-awesome-icon',{attrs:{\"icon\":\"chart-line\"}})],1),_c('span',{staticClass:\"button percent-button\",class:{'is-static': _vm.showPercentageBarChart},on:{\"click\":function($event){return _vm.switchStackedChart()}}},[_c('font-awesome-icon',{attrs:{\"icon\":\"percent\"}})],1)]):_vm._e()]),(_vm.loadedAndReturnedData)?_c('div',[(_vm.showLineChart)?_c('LineChart',{staticClass:\"chart\",attrs:{\"reportId\":_vm.reportId,\"data\":_vm.data,\"fill\":true,\"seriesOrder\":[{ name: 'HandedOver', displayName: 'Escalated' }]}}):_vm._e(),(_vm.showPercentageBarChart)?_c('PercentageBarChart',{staticClass:\"chart\",attrs:{\"reportId\":_vm.reportId,\"data\":_vm.data,\"seriesOrder\":[{ name: 'HandedOver', displayName: 'Escalated' }],\"series-to-compare-to\":\"Completed\"}}):_vm._e()],1):(_vm.loadedAndNotReturnedData)?_c('div',[_c('ChartNoData')],1):(_vm.loadingError)?_c('div',{staticClass:\"error-overlay\"},[_c('ChartError')],1):_c('div',[_c('LoadingSpinner')],1),(_vm.loadedAndReturnedData)?_c('div',{staticClass:\"chart-labels\"},[_c('ChartLabels',{attrs:{\"reportId\":_vm.reportId}})],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactTrendCharts.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactTrendCharts.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page\"},[_c('section',{staticClass:\"section content-container\"},[_c('div',{staticClass:\"container is-fluid\"},[_c('div',{staticClass:\"intents-charts\"},[_c('div',{staticClass:\"columns is-desktop\"},[_c('div',{staticClass:\"column is-two-thirds-desktop\"},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-half\"},[_c('div',{staticClass:\"island\"},[_c('Report',{staticClass:\"totals-doughnut-chart\",attrs:{\"title\":\"Most Popular\",\"dataEmpty\":_vm.isDataEmpty(_vm.mostPopularTotals),\"loadedData\":_vm.loadedData,\"loadingError\":_vm.loadingError},scopedSlots:_vm._u([{key:\"chart\",fn:function(){return [_c('DoughnutChart',{staticClass:\"chart\",attrs:{\"title\":\"Total\",\"data\":_vm.mostPopularTotals}})]},proxy:true}])})],1)]),_c('div',{staticClass:\"column is-half\"},[_c('div',{staticClass:\"island\"},[_c('Report',{attrs:{\"title\":\"Lowest Confidence\",\"dataEmpty\":_vm.isDataEmpty(_vm.lowestConfidenceTotals),\"loadedData\":_vm.loadedData,\"loadingError\":_vm.loadingError,\"tooltipText\":\"Shows the average score of each intent for the selected time period against the average score of all intents\"},scopedSlots:_vm._u([{key:\"chart\",fn:function(){return [_c('HorizontalThresholdBarChart',{staticClass:\"chart\",attrs:{\"data\":_vm.lowestConfidenceTotals,\"threshold-data\":_vm.averageConfidence,\"order-asc\":true,\"bar-colour\":\"#FF6666\",\"threshold-line-colour\":\"#E6C300\"}})]},proxy:true}])})],1)])])]),_c('div',{staticClass:\"column is-one-third-desktop\"},[_c('div',{staticClass:\"island\"},[_c('Report',{attrs:{\"title\":\"Highest Confidence\",\"dataEmpty\":_vm.isDataEmpty(_vm.highestConfidenceTotals),\"loadedData\":_vm.loadedData,\"loadingError\":_vm.loadingError,\"tooltipText\":\"Shows the average score of each intent for the selected time period against the average score of all intents\"},scopedSlots:_vm._u([{key:\"chart\",fn:function(){return [_c('HorizontalThresholdBarChart',{staticClass:\"chart\",attrs:{\"data\":_vm.highestConfidenceTotals,\"threshold-data\":_vm.averageConfidence,\"order-asc\":false,\"bar-colour\":\"#FF6666\",\"threshold-line-colour\":\"#E6C300\"}})]},proxy:true}])})],1)])]),_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-full\"},[_c('div',{staticClass:\"tall island with-labels\"},[_c('Report',{attrs:{\"title\":\"Most Popular Trend\",\"dataEmpty\":_vm.isDataEmpty(_vm.mostPopularTrends),\"loadedData\":_vm.loadedData,\"loadingError\":_vm.loadingError,\"showLabels\":true,\"tooltipText\":\"A trend showing the most popular intents over time\"},scopedSlots:_vm._u([{key:\"chart\",fn:function(slotProps){return [_c('LineChart',{staticClass:\"chart\",attrs:{\"reportId\":slotProps.reportId,\"fill\":false,\"data\":_vm.mostPopularTrends}})]}}])})],1)])]),_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-full\"},[_c('div',{staticClass:\"tall island with-labels\"},[_c('Report',{attrs:{\"title\":\"Lowest Confidence Trend\",\"dataEmpty\":_vm.isDataEmpty(_vm.lowestConfidenceTrends),\"loadedData\":_vm.loadedData,\"loadingError\":_vm.loadingError,\"showLabels\":true,\"tooltipText\":\"A trend showing the average confidence score of the lowest rated intents over time\"},scopedSlots:_vm._u([{key:\"chart\",fn:function(slotProps){return [_c('LineChart',{staticClass:\"chart\",attrs:{\"reportId\":slotProps.reportId,\"fill\":false,\"data\":_vm.lowestConfidenceTrends,\"allowDecimalTicksY\":true,\"labelValues\":_vm.lowestLabelValues}})]}}])})],1)])]),_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-full\"},[_c('div',{staticClass:\"tall island with-labels\"},[_c('Report',{attrs:{\"title\":\"Highest Confidence Trend\",\"dataEmpty\":_vm.isDataEmpty(_vm.highestConfidenceTrends),\"loadedData\":_vm.loadedData,\"loadingError\":_vm.loadingError,\"showLabels\":true,\"tooltipText\":\"A trend showing the average confidence score of the highest rated intents over time\"},scopedSlots:_vm._u([{key:\"chart\",fn:function(slotProps){return [_c('LineChart',{staticClass:\"chart\",attrs:{\"reportId\":slotProps.reportId,\"fill\":false,\"data\":_vm.highestConfidenceTrends,\"allowDecimalTicksY\":true,\"labelValues\":_vm.highestLabelValues}})]}}])})],1)])])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"time-of-day-condition\"},[_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[_c('n-radio-buttons',{attrs:{\"label\":\"Business Hours\",\"options\":_vm.timeOfDayOptions,\"hideLabel\":true,\"value\":_vm.scheduleType},on:{\"change\":_vm.handleSelectionChange}})],1)]),(_vm.scheduleType === 2)?_c('div',{staticClass:\"time-of-day-condition__online-times-picker\"},[_c('BusinessHoursSelection',{attrs:{\"allowEmpty\":false},on:{\"error\":_vm.customScheduleInvalid,\"input\":_vm.customScheduleChanged},model:{value:(_vm.customTimes),callback:function ($$v) {_vm.customTimes=$$v},expression:\"customTimes\"}})],1):_vm._e(),_c('div',{staticClass:\"time-of-day-condition__control\"},[_c('n-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.complete()}}},[_vm._v(\"Done\")])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./AddFlowModal.vue?vue&type=template&id=0535b716&scoped=true\"\nimport script from \"./AddFlowModal.vue?vue&type=script&lang=ts\"\nexport * from \"./AddFlowModal.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0535b716\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\r\nimport {Component, Prop, Vue} from 'vue-property-decorator';\r\nimport CalendarIcon from 'vue-material-design-icons/CalendarRange.vue';\r\nimport EmailIcon from 'vue-material-design-icons/EmailOutline.vue';\r\nimport PhoneIcon from 'vue-material-design-icons/Phone.vue';\r\nimport PersonIcon from '@/shared/icons/PersonIcon.vue';\r\nimport TextIcon from 'vue-material-design-icons/TextShort.vue';\r\nimport DecimalIcon from 'vue-material-design-icons/CurrencyGbp.vue';\r\nimport CustomAttributeIcon from '@/shared/icons/CustomAttributeIcon.vue';\r\nimport QuestionIcon from 'vue-material-design-icons/ForumOutline.vue';\r\nimport NumberIcon from 'vue-material-design-icons/Pound.vue';\r\nimport PageIcon from 'vue-material-design-icons/Earth.vue';\r\n\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tCalendarIcon,\r\n\t\tPersonIcon,\r\n\t\tEmailIcon,\r\n\t\tPhoneIcon,\r\n\t\tTextIcon,\r\n\t\tDecimalIcon,\r\n\t\tCustomAttributeIcon,\r\n\t\tQuestionIcon,\r\n\t\tNumberIcon,\r\n\t\tPageIcon\r\n\t}\r\n})\r\nexport default class DataTableIcon extends Vue {\r\n\t@Prop() public icon: string;\r\n\r\n}\r\n","\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tLoadingSpinner\r\n\t}\r\n})\r\nexport default class TwitterAuthPopup extends Vue {\r\n\r\n\tpublic created() {\r\n\t\t// hide scrollbars\r\n\t\tdocument.body.classList.add('no-scroll');\r\n\r\n\t\t// check if we were sent here by locust\r\n\t\tconst fromLocust = this.$route.query.fc;\r\n\r\n\t\tif (!fromLocust) {\r\n\t\t\t// twitter sent us here through our callback url, set token values\r\n\t\t\tconst oauth_token = this.$route.query.oauth_token;\r\n\t\t\tconst oauth_verifier = this.$route.query.oauth_verifier;\r\n\r\n\t\t\tconst parentWindow = parent.window.opener['twitter-setup-ref'];\r\n\r\n\t\t\t// parentWindow.zone.run(() => {\r\n\t\t\tparentWindow.component.setAuthToken(oauth_token, oauth_verifier);\r\n\t\t\twindow.close();\r\n\t\t\t// });\r\n\t\t}\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./ContentHighlightsEditModal.vue?vue&type=template&id=50fe061c&scoped=true\"\nimport script from \"./ContentHighlightsEditModal.vue?vue&type=script&lang=ts\"\nexport * from \"./ContentHighlightsEditModal.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ContentHighlightsEditModal.vue?vue&type=style&index=0&id=50fe061c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"50fe061c\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Banner.vue?vue&type=style&index=0&id=04833906&prod&scoped=true&lang=scss\"","import { Module } from 'vuex';\r\nimport { getters } from './getters';\r\nimport { actions } from './actions';\r\nimport { mutations } from './mutations';\r\nimport { AppState } from '../app';\r\nimport { IntentListItemViewModel } from '@/features/bots/models/intents/intentListItemViewModel';\r\n\r\nexport interface IntentsState {\r\n\tintents: IntentListItemViewModel[];\r\n}\r\n\r\n// initial state\r\nexport const intentsState: IntentsState = {\r\n\tintents: []\r\n};\r\n\r\nexport const intents: Module = {\r\n\tnamespaced: false,\r\n\tstate: intentsState,\r\n\tgetters,\r\n\tactions,\r\n\tmutations\r\n};\r\n","import { config } from '@/config/config';\r\nimport { api } from '@/shared/services/baseApiClient';\r\n\r\nimport urljoin from 'url-join';\r\nimport { ContactProfileApiResponse } from '../models/contactProfile';\r\nimport { ConversationMessageApiResponse } from '../models/conversation-message';\r\n\r\nclass ConversationApi {\r\n\tprivate readonly API_VERSION = 'v1';\r\n\r\n\tpublic getContactProfile(workspaceId: string, contactId: string): Promise {\r\n\t\tconst url = urljoin(config().messagingHost, this.API_VERSION, 'workspaces', workspaceId, 'contacts', contactId);\r\n\t\treturn api.send('GET', url);\r\n\t}\r\n\r\n\tpublic getConversationMessages(workspaceId: string, conversationId: string): Promise {\r\n\t\tconst url = urljoin(config().messagingHost, this.API_VERSION, 'workspaces', workspaceId, 'conversations', conversationId, 'messages');\r\n\t\treturn api.send('GET', url);\r\n\t}\r\n}\r\n\r\nexport const conversationApi = new ConversationApi();\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebAssistant.vue?vue&type=style&index=0&id=42d5bfe6&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"action-bar\"},[(_vm.showVariablePicker)?_c('div',{directives:[{name:\"on-clickaway\",rawName:\"v-on-clickaway\",value:(_vm.closeVariablePicker),expression:\"closeVariablePicker\"}],staticClass:\"variable-picker\"},[_c('CodeIcon',{staticClass:\"icon-1-2x action-icon code-icon\",class:{'clicked' : _vm.isVariablePickerOpen},on:{\"click\":function($event){_vm.isVariablePickerOpen = !_vm.isVariablePickerOpen}}}),_c('VariablePicker',{staticClass:\"dropdown-trigger\",attrs:{\"direction\":\"left\",\"readonly\":true,\"open\":_vm.isVariablePickerOpen,\"showButton\":false,\"additional-attributes\":_vm.getNameAttributes()},on:{\"variable-selected\":_vm.addVariableToText}})],1):_vm._e(),_c('div',{directives:[{name:\"on-clickaway\",rawName:\"v-on-clickaway\",value:(_vm.closeEmojiPicker),expression:\"closeEmojiPicker\"}],staticClass:\"emoji-picker-and-icon\"},[_c('EmojiIcon',{staticClass:\"icon-1-2x emoji-icon action-icon\",class:{'clicked' : _vm.isEmojiPickerOpen},on:{\"click\":_vm.toggleEmojiPicker}}),_c('EmojiPicker',{attrs:{\"show\":_vm.isEmojiPickerOpen},on:{\"insertEmoji\":_vm.insertEmoji}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./GoogleBmEditAgent.vue?vue&type=template&id=afd7e15e&scoped=true\"\nimport script from \"./GoogleBmEditAgent.vue?vue&type=script&lang=ts\"\nexport * from \"./GoogleBmEditAgent.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"afd7e15e\",\n null\n \n)\n\nexport default component.exports","export const MAX_INTEGER = 2147483647;\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UtteranceList.vue?vue&type=style&index=0&id=93c0d9d6&prod&scoped=true&lang=scss\"","import { Module } from 'vuex';\r\nimport { actions } from './actions';\r\nimport { getters } from './getters';\r\nimport { mutations } from './mutations';\r\nimport { AppState } from '../app';\r\nimport {DatePicker} from '@/features/reports/services';\r\nimport {DateOption} from '@/features/reports/models';\r\nimport {ReportLabels} from '@/features/reports/models';\r\nimport {FlowListOption} from '@/features/reports/models';\r\n\r\nexport interface ReportState {\r\n\tlabels: { [reportId: string]: ReportLabels };\r\n\tselectedDateOption: DateOption;\r\n\tselectedFlowId: string;\r\n\tflowListOptions: FlowListOption[];\r\n\tisReportLoading: boolean;\r\n}\r\n\r\n// initial state\r\nexport const reportState: ReportState = {\r\n\tlabels: {},\r\n\tselectedDateOption: DatePicker.options.today,\r\n\tselectedFlowId: 'all',\r\n\tflowListOptions: [],\r\n\tisReportLoading: false\r\n};\r\n\r\nexport const reports: Module = {\r\n\tnamespaced: false,\r\n\tstate: reportState,\r\n\tactions,\r\n\tgetters,\r\n\tmutations\r\n};\r\n","import { render, staticRenderFns } from \"./Intents.vue?vue&type=template&id=64a2ad3e&scoped=true\"\nimport script from \"./Intents.vue?vue&type=script&lang=ts\"\nexport * from \"./Intents.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Intents.vue?vue&type=style&index=0&id=64a2ad3e&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"64a2ad3e\",\n null\n \n)\n\nexport default component.exports","export const SET_INTENTS = 'SET_INTENTS';\r\nexport const CLEAR_INTENTS_CACHE = 'CLEAR_INTENTS_CACHE';\r\nexport const ADD_TO_INTENTS_CACHE = 'ADD_TO_INTENTS_CACHE';\r\nexport const UPDATE_INTENT_IN_CACHE = 'UPDATE_INTENT_IN_CACHE';\r\nexport const REMOVE_INTENT_FROM_CACHE = 'REMOVE_INTENT_FROM_CACHE';\r\n","import { render, staticRenderFns } from \"./CollapsibleSection.vue?vue&type=template&id=5e5edec0&scoped=true\"\nimport script from \"./CollapsibleSection.vue?vue&type=script&lang=ts\"\nexport * from \"./CollapsibleSection.vue?vue&type=script&lang=ts\"\nimport style0 from \"./CollapsibleSection.vue?vue&type=style&index=0&id=5e5edec0&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5e5edec0\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Toast from '@/shared/services/toast';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { Getter } from 'vuex-class';\r\nimport { AgentTableRow } from '../models/agentTableRow';\r\nimport { googleBmApi } from '../services/googlebmApi';\r\n\r\n@Component({})\r\nexport default class GoogleBmVerificationModal extends Vue {\r\n\t@Getter public currentWorkspace: WorkspaceViewModel;\r\n\r\n\t@Prop() public item!: AgentTableRow;\r\n\r\n\tpublic loading: boolean = false;\r\n\r\n\tpublic async verifyItem() {\r\n\t\tif (this.loading || !this.item) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.loading = true;\r\n\t\ttry {\r\n\t\t\tlet result;\r\n\t\t\tif (this.isAgent) {\r\n\t\t\t\tresult = await googleBmApi.requestAgentVerification(this.currentWorkspace.id, this.item.customAgentId);\r\n\t\t\t} else {\r\n\t\t\t\tresult = await googleBmApi.requestLocationVerification(this.currentWorkspace.id, this.item.locationId);\r\n\t\t\t}\r\n\t\t\tthis.item.verificationStatus = result.verificationState;\r\n\t\t\tToast.showSuccess('Verification requested');\r\n\t\t\tthis.$emit('verify', result.verificationState);\r\n\t\t} catch (e) {\r\n\t\t\tToast.showError(`Verification request failed: ${e.message}`);\r\n\t\t}\r\n\t\tthis.loading = false;\r\n\t}\r\n\r\n\tpublic get isAgent(): boolean {\r\n\t\treturn this.item.rowType === 'agent';\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./EmojiPicker.vue?vue&type=template&id=74b51f3b&scoped=true\"\nimport script from \"./EmojiPicker.vue?vue&type=script&lang=ts\"\nexport * from \"./EmojiPicker.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EmojiPicker.vue?vue&type=style&index=0&id=74b51f3b&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"74b51f3b\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextEditor.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextEditor.vue?vue&type=script&lang=ts\"","import { MutationTree } from 'vuex';\r\nimport { ReportState } from '.';\r\nimport {\r\n\tCLEAR_REPORTING_LIST_OPTIONS, REMOVE_ALL_REPORT_LABEL_VALUES,\r\n\tSET_FLOW_LIST_OPTIONS,\r\n\tSET_LABELS,\r\n\tSET_REPORTING_DATE_RANGE, SET_REPORTING_FLOW, SET_REPORT_LOADING\r\n} from '@/store/reports/mutationTypes';\r\nimport {FlowListItemViewModel} from '@/features/bots/models/flowListItemViewModel';\r\nimport {DateOption, ReportLabels} from '@/features/reports/models';\r\n\r\nexport const mutations: MutationTree = {\r\n\t[SET_LABELS](state, request: ReportLabels) {\r\n\t\tstate.labels[request.reportId] = request;\r\n\t\tstate.labels = set(state.labels);\r\n\t},\r\n\t[REMOVE_ALL_REPORT_LABEL_VALUES](state) {\r\n\t\tstate.labels = {};\r\n\t\tstate.labels = set(state.labels);\r\n\t},\r\n\t[SET_REPORTING_DATE_RANGE](state, option: DateOption) {\r\n\t\tif (state.selectedDateOption && state.selectedDateOption !== option) {\r\n\t\t\tdelete state.labels[state.selectedFlowId];\r\n\t\t}\r\n\t\tstate.selectedDateOption = option;\r\n\t},\r\n\t[SET_REPORTING_FLOW](state, flowId: string) {\r\n\t\tif (state.selectedFlowId && state.selectedFlowId !== flowId) {\r\n\t\t\tdelete state.labels[state.selectedFlowId];\r\n\t\t}\r\n\r\n\t\tstate.selectedFlowId = flowId;\r\n\t},\r\n\t[CLEAR_REPORTING_LIST_OPTIONS](state) {\r\n\t\tstate.flowListOptions = [];\r\n\t},\r\n\t[SET_FLOW_LIST_OPTIONS](state, flows: FlowListItemViewModel[]) {\r\n\t\tstate.flowListOptions = [\r\n\t\t\t{id: 'all', name: 'All Flows'},\r\n\t\t\t...flows.map(flow => ({ id: flow.id, name: flow.name }))\r\n\t\t];\r\n\t},\r\n\t[SET_REPORT_LOADING](state, loading: boolean) {\r\n\t\tstate.isReportLoading = loading;\r\n\t}\r\n};\r\n\r\n// Vuex doesn't detect changes to items in an array,\r\n// so we have to mutate the array itself to maintain\r\n// reactivity\r\nfunction set(obj: object) {\r\n\treturn { ...obj };\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal is-active\"},[_c('div',{staticClass:\"modal-background\"}),_c('div',{staticClass:\"modal-card\"},[_c('header',{staticClass:\"modal-card-head\"},[_c('p',{staticClass:\"modal-card-title\"},[_vm._v(\"Add teammates to \"+_vm._s(_vm.currentWorkspace.name))]),_c('button',{staticClass:\"delete\",attrs:{\"aria-label\":\"close\"},on:{\"click\":function($event){return _vm.$emit('close')}}})]),_c('section',{staticClass:\"modal-card-body\"},[_c('div',{staticClass:\"enter-emails\"},[_c('TagsInput',{attrs:{\"element-id\":\"whitelisted-domains\",\"placeholder\":\"Enter a list of emails...\",\"add-tags-on-space\":true,\"validate\":_vm.validation},model:{value:(_vm.emails),callback:function ($$v) {_vm.emails=$$v},expression:\"emails\"}})],1)]),_c('footer',{staticClass:\"modal-card-foot\"},[_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\",\"disabled\":!_vm.hasEmailAddresses(),\"loading\":_vm.updateInProgress},on:{\"click\":_vm.update}},[_vm._v(\"\\n\\t\\t\\t\\t\\tSend Invite\\n\\t\\t\\t\\t\")]),_c('n-button',{on:{\"click\":function($event){return _vm.$emit('close')}}},[_vm._v(\"Cancel\")])],1)],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\r\nimport moment from 'moment';\r\nimport Toast from '../services/toast';\r\nimport { RegexType } from '@/features/bots/models/designer/regexType';\r\nimport EditIcon from 'vue-material-design-icons/SquareEditOutline.vue';\r\nimport { MAX_INTEGER } from '../constants';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tEditIcon\r\n\t}\r\n})\r\nexport default class EditableComponent extends Vue {\r\n\t@Prop() public value: any;\r\n\t@Prop() public fieldName: string;\r\n\t@Prop({ default : 'text' }) public type: string;\r\n\t@Prop({ default: 'unknown' }) public placeholder: string;\r\n\t@Prop() public options: string[];\r\n\t@Prop({ default: true }) public displayRelativeDate: boolean;\r\n\t@Prop({ default: false }) public displayIcon: boolean;\r\n\r\n\tpublic pattern: string = '.*';\r\n\tpublic maxLength: number = 100;\r\n\tpublic max: number = Infinity;\r\n\tpublic min: number = -Infinity;\r\n\r\n\tpublic valueToDisplay: any = '';\r\n\tpublic actualValue: any = '';\r\n\tpublic isEditing: boolean = false;\r\n\tpublic $refs: {\r\n\t\tinputField: any,\r\n\t};\r\n\tprivate updateDateTimer: number;\r\n\r\n\tpublic mounted() {\r\n\t\t if (this.type === 'tel') {\r\n\t\t\t this.pattern = RegexType.PHONE_NUMBER;\r\n\t\t\t this.maxLength = 14;\r\n\t\t } else if (this.type === 'number') {\r\n\t\t\t this.max = MAX_INTEGER;\r\n\t\t\t this.min = -MAX_INTEGER;\r\n\t\t } else if (this.type === 'decimal') {\r\n\t\t \t this.pattern = RegexType.DECIMAL;\r\n\t\t \t this.maxLength = 28;\r\n\t\t }\r\n\t}\r\n\r\n\tpublic beforeDestroy() {\r\n\t\tthis.clearUpdateTimer();\r\n\t}\r\n\r\n\t@Watch('value', { immediate: true })\r\n\tpublic onValueChanged(value: any, prevValue: any) {\r\n\t\tif (!value) {\r\n\t\t\tthis.valueToDisplay = '';\r\n\t\t\tthis.actualValue = '';\r\n\t\t} else if (this.type === 'datetime-local') {\r\n\t\t\tthis.setupDateTime(value);\r\n\t\t} else if (this.type === 'date') {\r\n\t\t\tif (value instanceof Date && moment(value).isSame(moment(prevValue), 'minute')) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tif (value instanceof Date) {\r\n\t\t\t\tthis.actualValue = moment(value).format('YYYY-MM-DD');\r\n\t\t\t} else {\r\n\t\t\t\tthis.actualValue = value;\r\n\t\t\t}\r\n\t\t\tthis.valueToDisplay = this.getDateToDisplay();\r\n\t\t\tthis.setUpdateDateTimer();\r\n\t\t} else {\r\n\t\t\tthis.valueToDisplay = value;\r\n\t\t\tthis.actualValue = value;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic startEditing() {\r\n\t\tthis.isEditing = true;\r\n\r\n\t\tthis.$nextTick(() => {\r\n\t\t\tconst el = this.$refs.inputField;\r\n\t\t\tel.focus();\r\n\t\t});\r\n\t}\r\n\r\n\tpublic finishEditing() {\r\n\t\tif (!this.$refs.inputField.checkValidity()) {\r\n\t\t\tToast.showError(this.getErrorMessage());\r\n\t\t\tif (this.type === 'datetime-local') {\r\n\t\t\t\tif (!this.value) {\r\n\t\t\t\t\tthis.valueToDisplay = '';\r\n\t\t\t\t\tthis.actualValue = '';\r\n\t\t\t\t\tthis.isEditing = false;\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tthis.setupDateTime(this.value);\r\n\t\t\t\tthis.isEditing = false;\r\n\t\t\t} else {\r\n\t\t\t\tthis.actualValue = this.value;\r\n\t\t\t}\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.isEditing = false;\r\n\t\tif ((this.type === 'datetime-local' || this.type === 'date') && this.actualValue) {\r\n\t\t\t// Convert back to a Date object\r\n\t\t\tthis.$emit('input', new Date(this.actualValue));\r\n\t\t} else {\r\n\t\t\tthis.$emit('input', this.actualValue);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate setupDateTime(value: Date) {\r\n\t\tthis.valueToDisplay = this.getDateToDisplay();\r\n\t\tthis.setActualValueFromDate(value);\r\n\t\tif (this.displayRelativeDate) {\r\n\t\t\tthis.setUpdateDateTimer();\r\n\t\t}\r\n\t}\r\n\r\n\tprivate setActualValueFromDate(date: Date) {\r\n\t\tconst dateAsIso = new Date(date.getTime() - (date.getTimezoneOffset() * 60000)).toISOString();\r\n\t\tif (this.dateHasSeconds(dateAsIso)) {\r\n\t\t\tthis.actualValue = dateAsIso.substring(0, dateAsIso.lastIndexOf(':'));\r\n\t\t} else {\r\n\t\t\tthis.actualValue = dateAsIso.substring(0, dateAsIso.length - 1); // remove zulu time from string\r\n\t\t}\r\n\t}\r\n\r\n\tprivate setUpdateDateTimer() {\r\n\t\tthis.clearUpdateTimer();\r\n\t\tthis.updateDateTimer = window.setInterval(() => this.valueToDisplay = this.formatRelativeDate(this.actualValue), 30000);\r\n\t}\r\n\r\n\tprivate clearUpdateTimer() {\r\n\t\tif (this.updateDateTimer) {\r\n\t\t\twindow.clearInterval(this.updateDateTimer);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate dateHasSeconds(value: string): boolean {\r\n\t\treturn (value.match(/:/g) || []).length === 2;\r\n\t}\r\n\r\n\tprivate getErrorMessage() {\r\n\t\tif (this.fieldName) {\r\n\t\t\treturn `${this.fieldName} is in an invalid format`;\r\n\t\t} else {\r\n\t\t\treturn`${this.type} is in an invalid format`;\r\n\t\t}\r\n\t}\r\n\r\n\tprivate getDateToDisplay() {\r\n\t\tif (this.displayRelativeDate) {\r\n\t\t\treturn this.formatRelativeDate(this.value);\r\n\t\t}\r\n\t\treturn this.formatDate(this.value);\r\n\t}\r\n\r\n\tprivate formatRelativeDate(date: Date): string {\r\n\t\tif (!date) {\r\n\t\t\treturn '';\r\n\t\t}\r\n\t\treturn moment(date).fromNow();\r\n\t}\r\n\r\n\tprivate formatDate(date: Date) {\r\n\t\treturn moment(date).format('DD/MM/YYYY HH:mm');\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Toast from '@/shared/services/toast';\r\nimport { LOAD_FLOWS } from '@/store/bot-designer/actionTypes';\r\nimport { LOAD_ANSWERS } from '@/store/answers/actionTypes';\r\nimport { DELETE_INTENT } from '@/store/intents/actionTypes';\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { Action } from 'vuex-class';\r\nimport { AnswerListItemViewModel } from '../../models/answers/answerListItemViewModel';\r\nimport { FlowListItemViewModel } from '../../models/flowListItemViewModel';\r\nimport { IntentListItemViewModel, IntentReferenceViewModel } from '../../models/intents/intentListItemViewModel';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tLoadingSpinner\r\n\t}\r\n})\r\nexport default class DeleteIntentModal extends Vue {\r\n\t@Prop() public intent: IntentListItemViewModel;\r\n\r\n\t@Action(LOAD_FLOWS) public loadFlows!: (forceLoad?: boolean) => Promise;\r\n\t@Action(LOAD_ANSWERS) public loadAnswers!: (forceLoad?: boolean) => Promise;\r\n\t@Action(DELETE_INTENT) public deleteIntent: (intentId: string) => Promise;\r\n\r\n\tpublic flows: FlowListItemViewModel[] = [];\r\n\r\n\tpublic answers: AnswerListItemViewModel[] = [];\r\n\r\n\tpublic deleteInProgress: boolean = false;\r\n\r\n\tpublic loadedFlows: boolean = false;\r\n\r\n\tpublic loadedAnswers: boolean = false;\r\n\r\n\tpublic async mounted(): Promise {\r\n\t\tif (this.flowReferences && this.flowReferences.length > 0) {\r\n\t\t\tawait this.getFlows();\r\n\t\t}\r\n\t\tif (this.answerReferences && this.answerReferences.length > 0) {\r\n\t\t\tawait this.getAnswers();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async getFlows(): Promise {\r\n\t\tthis.flows = await this.loadFlows();\r\n\t\tthis.loadedFlows = true;\r\n\t}\r\n\r\n\tpublic async getAnswers(): Promise {\r\n\t\tthis.answers = await this.loadAnswers();\r\n\t\tthis.loadedAnswers = true;\r\n\t}\r\n\r\n\tpublic cancel(): void {\r\n\t\tthis.$emit('cancel');\r\n\t}\r\n\r\n\tpublic get flowReferences(): IntentReferenceViewModel[] {\r\n\t\treturn this.intent.references?.filter((r) => r.type === 'flow');\r\n\t}\r\n\r\n\tpublic get answerReferences(): IntentReferenceViewModel[] {\r\n\t\treturn this.intent.references?.filter((r) => r.type === 'answer');\r\n\t}\r\n\r\n\tpublic getAnswerName(intentReference: IntentReferenceViewModel): string {\r\n\t\tconst answer = this.answers?.find((a) => a.id === intentReference.id);\r\n\t\treturn answer ? answer.title : '';\r\n\t}\r\n\r\n\tpublic getFlowName(intentReference: IntentReferenceViewModel): string {\r\n\t\tconst flow = this.flows?.find((f) => f.id === intentReference.id);\r\n\t\treturn flow ? flow.name : '';\r\n\t}\r\n\r\n\tpublic async confirmDelete(): Promise {\r\n\t\tthis.deleteInProgress = true;\r\n\t\ttry {\r\n\t\t\tawait this.deleteIntent(this.intent.id);\r\n\t\t\tToast.showSuccess(`Successfully deleted intent ${this.intent.title}`);\r\n\t\t\tthis.$emit('cancel');\r\n\t\t} catch (e: any) {\r\n\t\t\tToast.showError(`Failed to delete intent: ${e.message}`);\r\n\t\t} finally {\r\n\t\t\tthis.deleteInProgress = false;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic isUnknownIntent(): boolean {\r\n\t\treturn this.intent.id === 'None';\r\n\t}\r\n\r\n\tpublic isConfirmHidden(): boolean {\r\n\t\treturn this.isUnknownIntent() || (this.intent.references && this.intent.references.length > 0);\r\n\t}\r\n\r\n\tpublic hasLoadedReferences(): boolean {\r\n\t\treturn (this.answerReferences.length === 0 || this.loadedAnswers) && (this.flowReferences.length === 0 || this.loadedFlows);\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('fieldset',{attrs:{\"disabled\":_vm.hasTwitterInstalledApp()}},[(!_vm.hasTwitterInstalledApp())?_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Log in to Twitter to authenticate your account\")]),_c('div',{staticClass:\"control\"},[(!_vm.connected)?_c('a',{staticClass:\"button is-link\",class:{ 'is-loading': _vm.loginInProgress },on:{\"click\":function($event){return _vm.login()}}},[_vm._v(\"Authenticate with Twitter\")]):_vm._e(),(_vm.connected)?_c('a',{staticClass:\"button is-success\",class:{ 'is-loading': _vm.loginInProgress }},[_vm._v(\"Authenticated\")]):_vm._e()])]):_vm._e(),(_vm.hasTwitterInstalledApp())?_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Twitter Account\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.twitterApp.userName),expression:\"twitterApp.userName\"}],staticClass:\"input\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.twitterApp.userName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.twitterApp, \"userName\", $event.target.value)}}})])]):_vm._e(),_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\",\"disabled\":!_vm.connected,\"loading\":_vm.actionInProgress},on:{\"click\":function($event){return _vm.save()}}},[_vm._v(\"Submit\")]),_c('n-button',{attrs:{\"variant\":\"primary--outline\"},on:{\"click\":function($event){return _vm.cancel()}}},[_vm._v(\"Cancel\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./Triggers.vue?vue&type=template&id=85828fc2&scoped=true\"\nimport script from \"./Triggers.vue?vue&type=script&lang=ts\"\nexport * from \"./Triggers.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Triggers.vue?vue&type=style&index=0&id=85828fc2&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"85828fc2\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component } from 'vue-property-decorator';\nimport PercentageBarChart from '../chartjs/PercentageBarChart.vue';\nimport BarChart from '../chartjs/BarChart.vue';\nimport LineChart from '../chartjs/LineChart.vue';\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\nimport ChartError from '../ChartError.vue';\nimport ChartNoData from '../ChartNoData.vue';\nimport ChartLabels from '../ChartLabels.vue';\nimport { ReportType } from '../../models/reportType';\nimport FlowIcon from 'vue-material-design-icons/Waves.vue';\nimport HelpIcon from 'vue-material-design-icons/HelpCircleOutline.vue';\nimport {ChartType} from '@/features/reports/models/chartType';\nimport BaseFlowReport from './baseFlowReport';\nimport {Series} from '@/features/reports/models';\n\n@Component({\n\tcomponents: {\n\t\tBarChart,\n\t\tPercentageBarChart,\n\t\tLineChart,\n\t\tLoadingSpinner,\n\t\tChartError,\n\t\tChartNoData,\n\t\tChartLabels,\n\t\tFlowIcon,\n\t\tHelpIcon\n\t}\n})\nexport default class EscalationRateCharts extends BaseFlowReport {\n\tpublic reportId = ReportType.FLOW_ESCALATIONS;\n\tpublic chartType: ChartType = ChartType.PERCENTAGE_BAR;\n\n\tpublic tooltipText = 'A trend showing the proportion of users who completed a flow in which they were handed over to a human';\n\n\tpublic isDataEmpty(): boolean {\n\t\treturn this.seriesData.data.filter(val => val > 0).length === 0;\n\t}\n\n\tprivate get seriesData(): Series {\n\t\treturn this.data.series.filter(series => series.name === 'HandedOver')[0];\n\t}\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport PercentageStackedBarChart from '../chartjs/PercentageStackedBarChart.vue';\r\nimport BarChart from '../chartjs/BarChart.vue';\r\nimport LineChart from '../chartjs/LineChart.vue';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport ChartError from '../ChartError.vue';\r\nimport ChartLabels from '../ChartLabels.vue';\r\nimport FlowIcon from 'vue-material-design-icons/Waves.vue';\r\nimport ChartNoData from '@/features/reports/components/ChartNoData.vue';\r\nimport HelpIcon from 'vue-material-design-icons/HelpCircleOutline.vue';\r\nimport { Data } from '../../models';\r\nimport { ChartType } from '../../models/chartType';\r\nimport shortid from 'shortid';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tBarChart,\r\n\t\tPercentageStackedBarChart,\r\n\t\tLineChart,\r\n\t\tLoadingSpinner,\r\n\t\tChartError,\r\n\t\tChartNoData,\r\n\t\tChartLabels,\r\n\t\tFlowIcon,\r\n\t\tHelpIcon,\r\n\t},\r\n})\r\nexport default class ConversationTrendCharts extends Vue {\r\n\t@Prop() public data!: Data;\r\n\r\n\t@Prop() public loadedData!: boolean;\r\n\r\n\t@Prop() public loadingError!: boolean;\r\n\r\n\tpublic reportId = '';\r\n\r\n\tpublic tooltipText = 'A trend showing the number of recently created conversations';\r\n\r\n\tpublic chartType: ChartType = ChartType.BAR;\r\n\r\n\tpublic created() {\r\n\t\tthis.reportId = shortid.generate();\r\n\t}\r\n\r\n\tpublic get showLineChart() {\r\n\t\treturn this.chartType === ChartType.LINE;\r\n\t}\r\n\r\n\tpublic get showBarChart() {\r\n\t\treturn this.chartType === ChartType.BAR;\r\n\t}\r\n\r\n\tpublic switchLineChart() {\r\n\t\tthis.chartType = ChartType.LINE;\r\n\t}\r\n\r\n\tpublic switchBarChart() {\r\n\t\tthis.chartType = ChartType.BAR;\r\n\t}\r\n\r\n\tpublic get loadedAndNotReturnedData() {\r\n\t\treturn this.loadedData && (!this.data || !this.data.series || this.data.series.length === 0);\r\n\t}\r\n\r\n\tpublic get loadedAndReturnedData() {\r\n\t\treturn this.loadedData && this.data && this.data.series && this.data.series.length > 0;\r\n\t}\r\n}\r\n","import { DayRange } from './dayRange';\r\nimport DateTimeService from '@/shared/services/dateTime';\r\nimport { BusinessHoursViewModel } from '../../models';\r\nimport { BusinessHoursOptions } from './businessHoursOptions';\r\nexport class BusinessHoursOption {\r\n\tpublic static fromViewModel(businessHours: BusinessHoursViewModel): BusinessHoursOption {\r\n\t\treturn new BusinessHoursOption(\r\n\t\t\tBusinessHoursOptions.findDayRangeOption(\r\n\t\t\t\tbusinessHours.startDay,\r\n\t\t\t\tbusinessHours.endDay,\r\n\t\t\t\tbusinessHours.holidayId\r\n\t\t\t),\r\n\t\t\t!businessHours.closed,\r\n\t\t\tDateTimeService.minutesToTime(businessHours.startTime),\r\n\t\t\tDateTimeService.minutesToTime(businessHours.endTime)\r\n\t\t);\r\n\t}\r\n\tconstructor(\r\n\t\tpublic day: DayRange,\r\n\t\tpublic open: boolean,\r\n\t\tpublic startTime?: string,\r\n\t\tpublic endTime?: string\r\n\t) {}\r\n\tpublic toViewModel(): BusinessHoursViewModel {\r\n\t\tconst openingTimes = {\r\n\t\t\tstartDay: this.day.startDay,\r\n\t\t\tendDay: this.day.endDay,\r\n\t\t\tholidayId: this.day.holidayId,\r\n\t\t\tclosed: !this.open\r\n\t\t} as BusinessHoursViewModel;\r\n\r\n\t\topeningTimes.startTime = DateTimeService.getMinutes(this.startTime);\r\n\t\topeningTimes.endTime = DateTimeService.getMinutes(this.endTime);\r\n\r\n\t\treturn openingTimes;\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('TitledSection',{staticClass:\"flow-selector\",attrs:{\"align-content-left\":true},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('Icon',{staticClass:\"icon\",attrs:{\"icon\":_vm.icon}})]},proxy:true},{key:\"title\",fn:function(){return [_vm._v(\"\\n\\t\\t\"+_vm._s(_vm.title)+\"\\n\\t\")]},proxy:true},{key:\"subtitle\",fn:function(){return [_c('div',{staticClass:\"level\"},[_c('div',{staticClass:\"level-left\"},[_c('div',{staticClass:\"level-item\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.subtitle)+\"\\n\\t\\t\\t\\t\")]),(_vm.tooltip)?_c('div',{staticClass:\"level-item\"},[_c('n-tooltip',{attrs:{\"text\":_vm.tooltip,\"position\":\"top\"}})],1):_vm._e()])])]},proxy:true}])},[_c('div',{staticClass:\"flow-selector__main\"},[_c('div',{staticClass:\"flow-selector__list\"},[(_vm.reorderable)?_c('Draggable',{on:{\"end\":_vm.updatePriorities},model:{value:(_vm.flows),callback:function ($$v) {_vm.flows=$$v},expression:\"flows\"}},_vm._l((_vm.flows),function(flow){return _c('div',{key:flow.id,staticClass:\"flow-selector__list-item\"},[_c('span',{staticClass:\"icon draggable\"},[_c('DragIcon',{staticClass:\"draggable\",attrs:{\"color\":\"#A9A9A9\"}})],1),_c('label',{staticClass:\"flow-selector__toggle-label\",attrs:{\"for\":(\"toggle-\" + (flow.id))}},[_vm._v(_vm._s(flow.name))]),_c('n-toggle',{attrs:{\"label\":flow.name,\"hideLabel\":true,\"id\":(\"toggle-\" + (flow.id))},on:{\"input\":_vm.handleFlowSelectedChange},model:{value:(flow.isSelected),callback:function ($$v) {_vm.$set(flow, \"isSelected\", $$v)},expression:\"flow.isSelected\"}})],1)}),0):_vm._l((_vm.flows),function(flow){return _c('div',{key:flow.id,staticClass:\"flow-selector__list-item\"},[_c('label',{staticClass:\"flow-selector__toggle-label\",attrs:{\"for\":(\"toggle-\" + (flow.id))}},[_vm._v(_vm._s(flow.name))]),_c('n-toggle',{attrs:{\"label\":flow.name,\"hideLabel\":true,\"id\":(\"toggle-\" + (flow.id))},on:{\"input\":_vm.handleFlowSelectedChange},model:{value:(flow.isSelected),callback:function ($$v) {_vm.$set(flow, \"isSelected\", $$v)},expression:\"flow.isSelected\"}})],1)})],2)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showModal)?_c('CapableAppModal',{attrs:{\"modalHeading\":_vm.modalHeading,\"capableApps\":_vm.capableApps,\"configRequest\":_vm.configRequest},on:{\"close\":function($event){_vm.showModal = false},\"completed\":_vm.appAdded}}):_vm._e(),(_vm.showAppEditModal && _vm.editingAppIndex !== undefined)?_c('ContentHighlightsEditModal',{attrs:{\"app-config\":_vm.apps[_vm.editingAppIndex]},on:{\"cancel\":function($event){_vm.showAppEditModal = false},\"save\":function (app) { return _vm.handleAppSave(app, _vm.editingAppIndex); }}}):_vm._e(),(!_vm.isLozengeMode)?_c('n-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){_vm.showModal = true}}},[_vm._v(\"Add an app...\")]):_vm._e(),(_vm.hasSelectedApps() && !_vm.isLozengeMode)?_c('table',{staticClass:\"table is-fullwidth is-hoverable\"},[_c('tbody',[_c('draggable',{staticClass:\"draggable-table\",attrs:{\"list\":_vm.apps,\"group\":\"apps\",\"ghost-class\":\"ghost\"},on:{\"change\":_vm.appsMoved}},_vm._l((_vm.apps),function(item,index){return _c('tr',{key:index,staticClass:\"draggable-row\"},[_c('td',{staticClass:\"app-title-column\"},[_c('div',{staticClass:\"app-name\"},[_vm._v(_vm._s(_vm.getName(item.installedAppId)))]),_c('div',{staticClass:\"app-description\"},[_vm._v(_vm._s(_vm.getDescription(item.installedAppId)))])]),_c('td',{staticClass:\"action has-icon\"},[(_vm.canEditApp(item))?_c('div',{staticClass:\"icon-container\"},[_c('span',{on:{\"click\":function($event){return _vm.openContentHighlightsEditModal(index)}}},[_c('EditIcon')],1)]):_vm._e()]),_c('td',{staticClass:\"action has-icon\"},[_c('div',{staticClass:\"icon-container\"},[_c('svg',{staticClass:\"trash-icon\",on:{\"click\":function($event){return _vm.appRemoved(index)}}},[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":\"#trash\"}})])])])])}),0)],1)]):_vm._e(),(_vm.hasSelectedApps() && _vm.isLozengeMode)?_c('div',{staticClass:\"lozenge-mode\"},[_c('draggable',{staticClass:\"draggable-table-lozenge\",attrs:{\"list\":_vm.apps,\"group\":\"apps\",\"ghost-class\":\"ghost\",\"draggable\":\".draggable-row\"},on:{\"change\":_vm.appsMoved}},[_vm._l((_vm.apps),function(item,index){return _c('div',{key:index,staticClass:\"draggable-row\"},[_c('button',{staticClass:\"button\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"cube\"}}),_c('span',{staticClass:\"app-name\"},[_vm._v(\"Send an app: \"+_vm._s(_vm.getName(item.installedAppId)))]),_c('div',{staticClass:\"delete-icon\"},[_c('a',{staticClass:\"delete is-small\",on:{\"click\":function($event){$event.stopPropagation();return _vm.appRemoved(index)}}})])],1)])}),_c('div',{staticClass:\"add-action has-actions\"},[(_vm.isLozengeMode)?_c('a',{on:{\"click\":function($event){_vm.showModal = true}}},[_c('AddIcon'),_c('span',{staticClass:\"add-label\"},[_vm._v(\"Add action\")])],1):_vm._e()])],2)],1):_vm._e(),(_vm.isLozengeMode && !_vm.hasSelectedApps())?_c('div',{staticClass:\"add-action\"},[_c('a',{on:{\"click\":function($event){_vm.showModal = true}}},[_c('AddIcon'),_c('span',{staticClass:\"add-label\"},[_vm._v(\"Add action\")])],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport CardRenderer from '@/shared/components/cardRenderer/CardRenderer.vue';\r\nimport { Card, CardSubmitEvent } from '@/shared/components/cardRenderer';\r\nimport { InstalledApp } from '@/features/apps/shared/models';\r\nimport {AppCard} from '@/features/apps/shared/models/appCard';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tCardRenderer\r\n\t}\r\n})\r\nexport default class CapableAppSelection extends Vue {\r\n\r\n\t@Prop() public capableApps: InstalledApp[];\r\n\r\n\tpublic getCards(): Card[] {\r\n\t\treturn [\r\n\t\t\t{\r\n\t\t\t\tid: 'homescreenAppSelection',\r\n\t\t\t\tcontent: this.createCardContent()\r\n\t\t\t}\r\n\t\t];\r\n\t}\r\n\r\n\tpublic cardSubmit(e: CardSubmitEvent) {\r\n\t\tconst installedApp = this.capableApps.find(app => app.installedAppId === e.componentId);\r\n\t\tif (installedApp) {\r\n\t\t\tthis.$emit('selected', installedApp);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate createCardContent(): AppCard {\r\n\t\tconst content: AppCard = {\r\n\t\t\tcomponents: []\r\n\t\t};\r\n\t\tif (this.capableApps && this.capableApps.length) {\r\n\t\t\tconst items = this.capableApps.map(app => this.createListItem(app.installedAppId, app.name, app.description || ''));\r\n\t\t\tcontent.components.push({\r\n\t\t\t\ttype: 'list',\r\n\t\t\t\tdisabled: false,\r\n\t\t\t\titems\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tthis.createError().map(x => content.components.push(x));\r\n\t\t}\r\n\t\treturn content;\r\n\t}\r\n\r\n\tprivate createListItem(id: string, title: string, subtitle: string): CardListItem {\r\n\t\treturn {\r\n\t\t\ttype: 'item',\r\n\t\t\tid,\r\n\t\t\ttitle,\r\n\t\t\tsubtitle: subtitle || 'Private app',\r\n\t\t\taction: {\r\n\t\t\t\ttype: 'submit'\r\n\t\t\t}\r\n\t\t};\r\n\t}\r\n\r\n\tprivate createError() {\r\n\t\treturn [\r\n\t\t\t{\r\n\t\t\t\ttype: 'text',\r\n\t\t\t\ttext: '# No relevant apps installed',\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\ttype: 'spacer',\r\n\t\t\t\tsize: 's'\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\ttype: 'text',\r\n\t\t\t\ttext: 'Visit the App Store to install existing apps, or create your own private app.'\r\n\t\t\t}\r\n\t\t];\r\n\t}\r\n}\r\n\r\ninterface CardListItem {\r\n\ttype: string;\r\n\tid: string;\r\n\ttitle: string;\r\n\tsubtitle?: string;\r\n\taction?: {type: string};\r\n}\r\n\r\n","import DataTableColumn from '@/shared/components/dataTable/dataTableColumn';\r\n\r\nexport const contactColumns = [\r\n\t{\r\n\t\tdisplay: 'Name',\r\n\t\tname: 'name',\r\n\t\tsortable: false,\r\n\t\tclickable: true,\r\n\t\ticon: 'PersonIcon'\r\n\t},\r\n\t{\r\n\t\tdisplay: 'Email',\r\n\t\tname: 'email',\r\n\t\tsortable: true,\r\n\t\tclickable: false,\r\n\t\ticon: 'EmailIcon'\r\n\t},\r\n\t{\r\n\t\tdisplay: 'Phone Number',\r\n\t\tname: 'phoneNumber',\r\n\t\tsortable: true,\r\n\t\tclickable: false,\r\n\t\ticon: 'PhoneIcon'\r\n\t},\r\n\t{\r\n\t\tdisplay: 'Last Seen',\r\n\t\tname: 'lastSeen',\r\n\t\tsortable: true,\r\n\t\tclickable: false,\r\n\t\ticon: 'CalendarIcon'\r\n\t},\r\n\t{\r\n\t\tdisplay: 'Last Contacted',\r\n\t\tname: 'lastContacted',\r\n\t\tsortable: true,\r\n\t\tclickable: false,\r\n\t\ticon: 'CalendarIcon'\r\n\t},\r\n\t{\r\n\t\tdisplay: 'Last Heard From',\r\n\t\tname: 'lastHeardFrom',\r\n\t\tsortable: true,\r\n\t\tclickable: false,\r\n\t\ticon: 'CalendarIcon'\r\n\t},\r\n\t{\r\n\t\tdisplay: 'First Seen',\r\n\t\tname: 'firstSeen',\r\n\t\tsortable: true,\r\n\t\tclickable: false,\r\n\t\ticon: 'CalendarIcon'\r\n\t},\r\n] as DataTableColumn[];\r\n\r\n\r\n\r\n\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChannelMessagesTrendChart.vue?vue&type=style&index=0&id=b26d9792&prod&scoped=true&lang=scss\"","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Icon.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Icon.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport DoughnutChart from './chartjs/DoughnutChart.vue';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport ChartError from './ChartError.vue';\r\nimport {Data, DataFilter, Series} from '../models';\r\nimport shortid from 'shortid';\r\nimport ChartNoData from '@/features/reports/components/ChartNoData.vue';\r\nimport HelpIcon from 'vue-material-design-icons/HelpCircleOutline.vue';\r\nimport ChartLabels from '@/features/reports/components/ChartLabels.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tLoadingSpinner,\r\n\t\tChartError,\r\n\t\tChartNoData,\r\n\t\tHelpIcon,\r\n\t\tChartLabels\r\n\t}\r\n})\r\nexport default class Report extends Vue {\r\n\t@Prop() public dataEmpty: boolean;\r\n\t@Prop() public loadedData: boolean;\r\n\t@Prop() public loadingError: boolean;\r\n\r\n\t@Prop() public title: string;\r\n\t@Prop() public tooltipText: string;\r\n\r\n\t@Prop() public showLabels: boolean;\r\n\r\n\tpublic reportId: string = shortid();\r\n\r\n\tpublic get loadedAndReturnedData(): boolean {\r\n\t\treturn this.loadedData && !this.dataEmpty;\r\n\t}\r\n\r\n\tpublic get loadedAndNotReturnedData(): boolean {\r\n\t\treturn this.loadedData && this.dataEmpty;\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page\"},[(_vm.webAssistantAppInstallError)?_c('Banner',{attrs:{\"show-overlay\":true}},[_c('div',{staticClass:\"banner-text\"},[_vm._v(\"There's a problem with your Web Assistant config. Let's set it up again\")]),_c('n-button',{attrs:{\"variant\":\"primary\",\"loading\":_vm.reinstallInProgress},on:{\"click\":_vm.reinstall}},[_vm._v(\"\\n\\t\\t\\tReconfigure\\n\\t\\t\")])],1):_vm._e(),_c('PageHeader',{attrs:{\"title\":\"Web Assistant\",\"description\":\"Support your customers easily and effectively with a customizable web assistant\"}}),(!_vm.webAssistantAppLoaded)?_c('LoadingSpinner'):_vm._e(),(_vm.webAssistantAppLoaded)?_c('section',{staticClass:\"section content-container\"},[_c('div',{staticClass:\"container is-fluid\"},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-8\"},[_c('CollapsibleSection',{attrs:{\"index\":1},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\"Style your widget\")]},proxy:true},{key:\"subtitle\",fn:function(){return [_vm._v(\"Style the web assistant widget to match your site\")]},proxy:true}],null,false,3427438451),model:{value:(_vm.activeCollapseId),callback:function ($$v) {_vm.activeCollapseId=$$v},expression:\"activeCollapseId\"}},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-6 columns__column--no-top-padding\"},[_c('strong',{staticClass:\"label\"},[_vm._v(\"Colours\")]),_c('div',{staticClass:\"field\"},[_c('n-colour-picker',{attrs:{\"id\":\"brand-colour\",\"label\":\"Brand Colour\"},model:{value:(_vm.viewModel.theme.brandColour),callback:function ($$v) {_vm.$set(_vm.viewModel.theme, \"brandColour\", $$v)},expression:\"viewModel.theme.brandColour\"}})],1),_c('div',{staticClass:\"field\"},[_c('n-colour-picker',{attrs:{\"id\":\"sent-message-colour\",\"label\":\"Sent Message Colour\"},model:{value:(_vm.viewModel.theme.sentMessageColour),callback:function ($$v) {_vm.$set(_vm.viewModel.theme, \"sentMessageColour\", $$v)},expression:\"viewModel.theme.sentMessageColour\"}})],1),_c('div',{staticClass:\"field\"},[_c('n-colour-picker',{attrs:{\"id\":\"action-colour\",\"label\":\"Action Colour\"},model:{value:(_vm.viewModel.theme.actionColour),callback:function ($$v) {_vm.$set(_vm.viewModel.theme, \"actionColour\", $$v)},expression:\"viewModel.theme.actionColour\"}})],1),_c('strong',{staticClass:\"label\"},[_vm._v(\"Logo\")]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Upload a logo to display on the homescreen\")]),_c('ImageUpload',{attrs:{\"accept\":'.png,.jpg,.jpeg',\"previewWidth\":300,\"previewHeight\":48,\"image\":_vm.viewModel.imageUrl,\"disabled\":_vm.webAssistantAppInstallError},on:{\"selected\":function($event){return _vm.onImageSelected()},\"uploaded\":function($event){return _vm.onImageUploaded($event)},\"cleared\":function($event){return _vm.onImageCleared()}}})],1),_c('strong',{staticClass:\"label\"},[_vm._v(\"Launcher\")]),_c('div',{staticClass:\"field\"},[_c('n-toggle',{attrs:{\"id\":\"use-default-launcher\",\"name\":\"use-default-launcher\",\"label\":\"Show contacts the launcher\"},model:{value:(_vm.viewModel.useDefaultLauncher),callback:function ($$v) {_vm.$set(_vm.viewModel, \"useDefaultLauncher\", $$v)},expression:\"viewModel.useDefaultLauncher\"}})],1)])])]),_c('CollapsibleSection',{attrs:{\"index\":2},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\"Say hello\")]},proxy:true},{key:\"subtitle\",fn:function(){return [_vm._v(\"Greet your visitors and introduce yourself\")]},proxy:true}],null,false,276794708),model:{value:(_vm.activeCollapseId),callback:function ($$v) {_vm.activeCollapseId=$$v},expression:\"activeCollapseId\"}},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-6\"},[_c('div',{staticClass:\"field\"},[_c('n-text-input',{attrs:{\"label\":\"Greeting\",\"id\":\"greeting\",\"errorMessage\":_vm.getErrorMessage(_vm.$v, 'greetingText', 'Greeting text')},on:{\"input\":function($event){return _vm.$v.viewModel.greetingText.$touch()}},model:{value:(_vm.viewModel.greetingText),callback:function ($$v) {_vm.$set(_vm.viewModel, \"greetingText\", $$v)},expression:\"viewModel.greetingText\"}})],1),_c('div',{staticClass:\"field\"},[_c('n-text-input',{attrs:{\"label\":\"Introduction\",\"id\":\"introduction\",\"errorMessage\":_vm.getErrorMessage(_vm.$v, 'introductionText', 'Introduction text')},on:{\"input\":function($event){return _vm.$v.viewModel.introductionText.$touch()}},model:{value:(_vm.viewModel.introductionText),callback:function ($$v) {_vm.$set(_vm.viewModel, \"introductionText\", $$v)},expression:\"viewModel.introductionText\"}})],1)])])]),_c('CollapsibleSection',{attrs:{\"index\":3},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\"Set your availability\")]},proxy:true},{key:\"subtitle\",fn:function(){return [_vm._v(\"Inform your visitors how long they can expect to wait\")]},proxy:true}],null,false,4189508841),model:{value:(_vm.activeCollapseId),callback:function ($$v) {_vm.activeCollapseId=$$v},expression:\"activeCollapseId\"}},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-6\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\tLet your customers know how long they might be waiting for a response. This will be\\n\\t\\t\\t\\t\\t\\t\\t\\tdisplayed on the homescreen, and in the conversation header\\n\\t\\t\\t\\t\\t\\t\\t\")]),_c('div',{staticClass:\"column is-6\"},[_c('div',{staticClass:\"field\"},[_c('n-radio-buttons',{attrs:{\"options\":_vm.typicalResponseTimeOptions},model:{value:(_vm.viewModel.typicalResponseTime),callback:function ($$v) {_vm.$set(_vm.viewModel, \"typicalResponseTime\", $$v)},expression:\"viewModel.typicalResponseTime\"}})],1)])])]),_c('CollapsibleSection',{attrs:{\"index\":4},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\"Add homescreen apps\")]},proxy:true},{key:\"subtitle\",fn:function(){return [_vm._v(\"Enable your visitors to self serve before they start a\\n\\t\\t\\t\\t\\t\\t\\tconversation\\n\\t\\t\\t\\t\\t\\t\")]},proxy:true}],null,false,441014559),model:{value:(_vm.activeCollapseId),callback:function ($$v) {_vm.activeCollapseId=$$v},expression:\"activeCollapseId\"}},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column\"},[_c('CapableAppPicker',{attrs:{\"modalHeading\":'Homescreen Apps',\"capability\":'homescreen',\"selectedApps\":_vm.viewModel.homescreenApps,\"configRequest\":_vm.configRequest},on:{\"change\":_vm.homescreenAppsChanged,\"update\":function (app, appIndex) { return _vm.handleAppUpdate(app, appIndex); }}})],1)])]),_c('CollapsibleSection',{attrs:{\"index\":5},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\"Embed in your website\")]},proxy:true},{key:\"subtitle\",fn:function(){return [_vm._v(\"Connecting Web Assistant lets you chat with people when they're on\\n\\t\\t\\t\\t\\t\\t\\tyour website\\n\\t\\t\\t\\t\\t\\t\")]},proxy:true}],null,false,338296996),model:{value:(_vm.activeCollapseId),callback:function ($$v) {_vm.activeCollapseId=$$v},expression:\"activeCollapseId\"}},[_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Code Snippet\")]),_c('ReadonlyCopyableField',{attrs:{\"readonlyValue\":_vm.getCodeSnippet(),\"onCopyMessage\":\"Copied snippet to clipboard\"}}),_c('p',{staticClass:\"help\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\tCopy the snippet and add it to the\\n\\t\\t\\t\\t\\t\\t\\t\\t\"),_c('strong',[_vm._v(\"\")]),_vm._v(\" section on all pages of your\\n\\t\\t\\t\\t\\t\\t\\t\\twebsite\\n\\t\\t\\t\\t\\t\\t\\t\")])],1),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Init Snippet\")]),_c('ReadonlyCopyableField',{attrs:{\"readonlyValue\":_vm.getInitSnippet(),\"onCopyMessage\":\"Copied snippet to clipboard\"}}),_c('p',{staticClass:\"help\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\tCopy the snippet and add it to the\\n\\t\\t\\t\\t\\t\\t\\t\\t\"),_c('strong',[_vm._v(\"\")]),_vm._v(\" section on all pages of your\\n\\t\\t\\t\\t\\t\\t\\t\\twebsite\\n\\t\\t\\t\\t\\t\\t\\t\")])],1)]),_c('CollapsibleSection',{attrs:{\"index\":6},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\"Secure your Web Assistant\")]},proxy:true},{key:\"subtitle\",fn:function(){return [_vm._v(\"Domain whitelisting and identity verification\")]},proxy:true}],null,false,1086006350),model:{value:(_vm.activeCollapseId),callback:function ($$v) {_vm.activeCollapseId=$$v},expression:\"activeCollapseId\"}},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-6\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\tEnter a list of domains which will contain the web\\n\\t\\t\\t\\t\\t\\t\\t\\tassistant widget. Domains that are not listed here will\\n\\t\\t\\t\\t\\t\\t\\t\\tnot be able to use the web assistant widget. If this\\n\\t\\t\\t\\t\\t\\t\\t\\tfield is blank, the widget can be added to any domain.\\n\\t\\t\\t\\t\\t\\t\\t\")]),_c('div',{staticClass:\"column is-6\"},[_c('TagsInput',{attrs:{\"element-id\":\"whitelisted-domains\",\"placeholder\":\"Enter a list of domains...\"},model:{value:(_vm.viewModel.whitelistedDomains),callback:function ($$v) {_vm.$set(_vm.viewModel, \"whitelistedDomains\", $$v)},expression:\"viewModel.whitelistedDomains\"}})],1)]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Identity Verification Secret\")]),_c('ReadonlyCopyableField',{attrs:{\"readonlyValue\":_vm.identityVerificationSecret,\"onCopyMessage\":\"Copied snippet to clipboard\"}}),_c('p',{staticClass:\"help\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\tUse this secret to sign the JWT when verifying your users with us.\\n\\t\\t\\t\\t\\t\\t\\t\\tThis should only be done server side, so this value should never be exposed to front\\n\\t\\t\\t\\t\\t\\t\\t\\tend applications.\\n\\t\\t\\t\\t\\t\\t\\t\")])],1)]),_c('n-button',{attrs:{\"variant\":\"primary\",\"loading\":_vm.updateInProgress,\"disabled\":_vm.$v.$invalid},on:{\"click\":_vm.update}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tSave\\n\\t\\t\\t\\t\\t\")])],1),_c('div',{staticClass:\"column is-4 preview-column\"},[_c('div',{staticClass:\"preview-container\"},[_c('div',{staticClass:\"view-toggle-container\"},[_c('WebAssistantViewToggle',{attrs:{\"activeView\":_vm.activeView},on:{\"viewChange\":function (view) { return _vm.activeView = view; }}})],1),_c('WebAssistantPreview',{attrs:{\"brandColour\":_vm.viewModel.theme.brandColour,\"outboundMessageColour\":_vm.viewModel.theme.sentMessageColour,\"actionColour\":_vm.viewModel.theme.actionColour,\"headerText\":_vm.viewModel.headerText,\"homescreenImageUrl\":_vm.viewModel.imageUrl,\"greetingText\":_vm.viewModel.greetingText,\"introductionText\":_vm.viewModel.introductionText,\"typicalResponseTime\":_vm.viewModel.typicalResponseTime,\"displayLauncher\":_vm.viewModel.useDefaultLauncher,\"homescreenApps\":_vm.initialisedHomescreenApps,\"isOpen\":true,\"messages\":_vm.sampleMessages,\"activeView\":_vm.activeView,\"disableInteraction\":true},on:{\"load\":_vm.messageLoad}})],1)])])])]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class FriendlyString extends Vue {\r\n\t@Prop() public value: string;\r\n\t@Prop({default: 'unknown'}) public placeholder: string;\r\n\r\n\tpublic get formattedValue() {\r\n\t\tif (this.isUnknown) {\r\n\t\t\treturn this.placeholder;\r\n\t\t}\r\n\r\n\t\treturn this.value;\r\n\t}\r\n\r\n\tpublic get isUnknown() {\r\n\t\treturn !this.value || this.value.trim().length === 0;\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./ChartLabels.vue?vue&type=template&id=bfe83f48&scoped=true\"\nimport script from \"./ChartLabels.vue?vue&type=script&lang=ts\"\nexport * from \"./ChartLabels.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ChartLabels.vue?vue&type=style&index=0&id=bfe83f48&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bfe83f48\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"home-container\",style:({\n\t\t\tbackground: (\"linear-gradient(90deg, \" + _vm.brandColour + \" 0%, \" + (_vm.getDarkPrimary()) + \" 100%)\"),\n\t\t\tcolor: _vm.textColour\n\t\t\t})},[_c('div',{staticClass:\"home-content\"},[_c('HomeScreenHeader',{attrs:{\"brandColour\":_vm.brandColour,\"homescreenImageUrl\":_vm.homescreenImageUrl,\"greetingText\":_vm.greetingText,\"introductionText\":_vm.introductionText}}),_c('div',{staticClass:\"body\"},[_c('HomeScreenPanelStartChat',{attrs:{\"brandColour\":_vm.brandColour,\"actionColour\":_vm.actionColour,\"subtitle\":_vm.typicalResponseTime}}),_c('CardRenderer',{attrs:{\"colour\":_vm.actionColour,\"cards\":_vm.cards,\"location\":'homescreen'}})],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"designer-container\"},[(!_vm.currentPath)?_c('div',{staticClass:\"no-path\"},[_vm._v(\"\\n\\t\\tNo path selected\\n\\t\")]):_vm._e(),(_vm.currentPath)?_c('div',{staticClass:\"path-heading sub-heading sub-heading-right\"},[_c('h5',{staticClass:\"title is-6\"},[_c('EditableText',{attrs:{\"value\":_vm.currentPath.name,\"minWidth\":\"200px\",\"maxWidth\":\"800px\"},on:{\"text-updated\":_vm.pathNameUpdated}})],1),(!_vm.isFirstPathInFlow())?_c('div',{staticClass:\"delete-path-button\"},[_c('a',{on:{\"click\":function($event){return _vm.openDeletePathModal()}}},[_c('DeleteIcon',{staticClass:\"icon-1-3x\"})],1)]):_vm._e()]):_vm._e(),(_vm.currentPath)?_c('div',{staticClass:\"path-contents\"},[(_vm.isFirstPathInFlow())?_c('TriggerBox',{attrs:{\"value\":_vm.trigger,\"triggerConditions\":_vm.triggerConditions,\"audienceConditions\":_vm.audienceConditions,\"contact-types\":_vm.targetContactTypes,\"schedule\":_vm.scheduleCondition,\"openingTimes\":_vm.openingTimes}}):_vm._e(),_c('LinkedPathsBox'),_c('Draggable',{staticClass:\"state-list\",attrs:{\"list\":_vm.currentPath.states,\"handle\":\".island-badge\"},on:{\"end\":_vm.clearTransform}},_vm._l((_vm.currentPath.getStates()),function(state){return _c('div',{key:state.id,staticClass:\"state\"},[_c(_vm.getStateComponentName(state),{ref:\"states\",refInFor:true,tag:\"component\",attrs:{\"value\":state},on:{\"state-updated\":_vm.stateUpdated}}),_c('div',{staticClass:\"state-menu\"},[_c('a',{staticClass:\"delete is-small delete-state\",attrs:{\"id\":\"delete-state\"},on:{\"click\":function($event){return _vm.openDeleteStateModal(state)}}})])],1)}),0),_c('DropDownMenu',{staticClass:\"add-state-container\",class:{ 'is-up': _vm.isStatePickerUp },attrs:{\"dropDownIcon\":\"big-add-circle\"},on:{\"isUp\":_vm.setIsStatePickerUp}},[_c('a',{staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.addMessageState()}}},[_c('TextIcon'),_vm._v(\"\\n\\t\\t\\t\\tMessage\\n\\t\\t\\t\")],1),_c('a',{staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.addQuestionState()}}},[_c('QuestionIcon'),_vm._v(\"\\n\\t\\t\\t\\tQuestion\\n\\t\\t\\t\")],1),_c('a',{staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.addDecisionState()}}},[_c('DecisionIcon'),_vm._v(\"\\n\\t\\t\\t\\tDecision\\n\\t\\t\\t\")],1),_c('a',{staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.addQuickReplyState()}}},[_c('QuickReplyIcon'),_vm._v(\"\\n\\t\\t\\t\\tQuick Replies\\n\\t\\t\\t\")],1),_c('a',{staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.addAppIntegrationState()}}},[_c('span',{staticClass:\"cube-icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"cube\"}})],1),_vm._v(\"\\n\\t\\t\\t\\tApp Action\\n\\t\\t\\t\")]),(!_vm.hasEndingStates())?_c('a',{staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.addGoToState()}}},[_c('GoToIcon'),_vm._v(\"\\n\\t\\t\\t\\tGo To\\n\\t\\t\\t\")],1):_vm._e(),(!_vm.hasEndingStates())?_c('a',{staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.addHumanHandoverState()}}},[_c('PauseBotIcon'),_vm._v(\"\\n\\t\\t\\t\\tPause Bot\\n\\t\\t\\t\")],1):_vm._e()]),(_vm.hasEndingStates())?_c('div',{staticClass:\"state-list ending-states\"},_vm._l((_vm.currentPath.getEndStates()),function(state){return _c('div',{key:state.id,staticClass:\"state\"},[_c(_vm.getStateComponentName(state),{tag:\"component\",attrs:{\"value\":state},on:{\"state-updated\":_vm.stateUpdated}}),_c('div',{staticClass:\"state-menu\"},[_c('a',{staticClass:\"delete is-small\",on:{\"click\":function($event){return _vm.openDeleteStateModal(state)}}})])],1)}),0):_vm._e()],1):_vm._e(),(_vm.deleteModalOptions.open && _vm.deleteModalOptions.type === _vm.DeleteModalType.Path )?_c('Modal',{attrs:{\"id\":\"delete-path-modal\"},on:{\"cancel\":function($event){return _vm.deleteModalOptions.cancel()}},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"modal-card-title\"},[_vm._v(_vm._s(_vm.deleteModalOptions.title))])]},proxy:true},{key:\"body\",fn:function(){return [(_vm.linkedPaths.length > 0)?_c('p',[_vm._v(\"\\n\\t\\t\\t\\tThis path is linked to by the following path(s):\\n\\t\\t\\t\")]):_vm._e(),_c('ul',_vm._l((_vm.linkedPaths),function(linkedPath){return _c('div',{key:linkedPath.id},[_c('li',[_vm._v(\" \"+_vm._s(linkedPath.name))])])}),0),(_vm.linkedPaths.length > 0)?_c('p',{attrs:{\"id\":\"linked-path-message\"}},[_vm._v(\" These paths will become invalid if you delete \"+_vm._s(_vm.currentPath.name)+\". Are you sure you want to continue?\")]):_vm._e(),(_vm.linkedPaths.length === 0)?_c('p',[_vm._v(\" Are you sure you want to delete \"+_vm._s(_vm.currentPath.name)+\"?\")]):_vm._e()]},proxy:true},{key:\"buttons\",fn:function(){return [_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.deleteModalOptions.confirm()}}},[_vm._v(\"Delete\")]),_c('n-button',{attrs:{\"variant\":\"primary--outline\"},on:{\"click\":function($event){return _vm.deleteModalOptions.cancel()}}},[_vm._v(\"Cancel\")])],1)]},proxy:true}],null,false,3972856998)}):_vm._e(),(_vm.deleteModalOptions.open && _vm.deleteModalOptions.type === _vm.DeleteModalType.State)?_c('ConfirmationModal',{attrs:{\"id\":\"delete-modal\",\"confirmationTitle\":_vm.deleteModalOptions.title,\"confirmationMessage\":_vm.deleteModalOptions.confirmation},on:{\"confirm\":function($event){return _vm.deleteModalOptions.confirm()},\"cancel\":function($event){return _vm.deleteModalOptions.cancel()}}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import {AppCard} from '@/features/apps/shared/models/appCard';\r\n\r\nexport class HomescreenAppInitViewModel {\r\n\tpublic id: string;\r\n\tpublic card: AppCard;\r\n}\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActionBar.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActionBar.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue';\r\nimport { default as ColourPicker } from '@/shared/services/color';\r\nimport { Component, Prop } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class HomeScreenHeader extends Vue {\r\n\r\n\t@Prop() public brandColour: string;\r\n\t@Prop() public homescreenImageUrl: string;\r\n\t@Prop() public greetingText: string;\r\n\t@Prop() public introductionText: string;\r\n\r\n\tpublic isChatBoxOpen: boolean = true;\r\n\tpublic isFullscreen: boolean = false;\r\n\r\n\tget textColour() {\r\n\t\treturn ColourPicker.getContrastingColour(this.brandColour);\r\n\t}\r\n\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component({})\r\nexport default class AppConfirmModal extends Vue {\r\n\t@Prop() public title!: string;\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { Getter } from 'vuex-class';\r\nimport { PublishedApp } from '../shared/models';\r\nimport { config } from '@/config/config';\r\nimport { twitterApi } from './services/twitterApi';\r\nimport { InstallTwitterRequest, TwitterInstalledApp, TwitterRequestTokenResponse } from './models';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport Toast from '@/shared/services/toast';\r\n\r\n@Component({\r\n})\r\nexport default class TwitterConfig extends Vue {\r\n\t@Getter public currentApp!: PublishedApp;\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\r\n\tpublic twitterApp: TwitterInstalledApp | null = null;\r\n\r\n\tpublic popup: Window | null;\r\n\tpublic requestToken: TwitterRequestTokenResponse | null;\r\n\tpublic oauthToken: string;\r\n\tpublic oauthVerifier: string;\r\n\r\n\tpublic connected: boolean = false;\r\n\r\n\tpublic loginInProgress: boolean = false;\r\n\tpublic actionInProgress: boolean = false;\r\n\r\n\tpublic created() {\r\n\t\t(window as any)['twitter-setup-ref'] = { component: this };\r\n\r\n\t\twindow.onbeforeunload = () => {\r\n\t\t\tif (this.popup) {\r\n\t\t\t\tthis.popup.close();\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\tif (this.currentApp.isInstalled) {\r\n\t\t\ttwitterApi.getInstalledApp(this.currentWorkspace.id)\r\n\t\t\t\t.then(twitterApp => {\r\n\t\t\t\t\tthis.twitterApp = twitterApp;\r\n\t\t\t\t}).catch(err => {\r\n\t\t\t\t\t// if it's not found, then we haven't installed the bt app fully, so let them fill in the form\r\n\t\t\t\t\tif (err.status !== 404) {\r\n\t\t\t\t\t\t// show error state...\r\n\t\t\t\t\t}\r\n\t\t\t\t}).finally(() => {\r\n\t\t\t\t\tthis.$emit('loaded');\r\n\t\t\t\t});\r\n\t\t} else {\r\n\t\t\tthis.$emit('loaded');\r\n\t\t}\r\n\t}\r\n\r\n\tpublic destroyed() {\r\n\t\tif (this.popup) {\r\n\t\t\tthis.popup.close();\r\n\t\t}\r\n\t\twindow.onbeforeunload = null;\r\n\t}\r\n\r\n\tpublic hasTwitterInstalledApp() {\r\n\t\treturn this.twitterApp !== null;\r\n\t}\r\n\r\n\tpublic login() {\r\n\t\tthis.loginInProgress = true;\r\n\t\tif (!this.connected) {\r\n\t\t\tconst props =\r\n\t\t\t\t`scrollbars=no,resizable=no,status=no,location=no,toolbar=no,menubar=no,width=600,height=420,left=100,top=100`;\r\n\t\t\tthis.popup = window.open(`${location.origin}/twitter-auth?fc=true`, 'Twitter Authentication', props);\r\n\t\t\ttwitterApi.getRequestToken()\r\n\t\t\t\t.then((res) => {\r\n\t\t\t\t\tthis.requestToken = res;\r\n\t\t\t\t\tif (this.popup) {\r\n\t\t\t\t\t\tthis.popup.location.href = this.requestToken.url;\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tToast.showError(err.message);\r\n\t\t\t\t\tif (this.popup) {\r\n\t\t\t\t\t\tthis.popup.close();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.loginInProgress = false;\r\n\t\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\tpublic setAuthToken(oauthToken: string, oauthVerifier: string) {\r\n\t\tif (this.requestToken && this.requestToken.token === oauthToken) {\r\n\t\t\tthis.oauthToken = oauthToken;\r\n\t\t\tthis.oauthVerifier = oauthVerifier;\r\n\t\t\tthis.connected = true;\r\n\t\t\tthis.loginInProgress = false;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic reset() {\r\n\t\tthis.oauthToken = '';\r\n\t\tthis.oauthVerifier = '';\r\n\t\tthis.requestToken = null;\r\n\t\tthis.connected = false;\r\n\t\tthis.loginInProgress = false;\r\n\t}\r\n\r\n\tpublic save() {\r\n\t\tif (this.actionInProgress) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.actionInProgress = true;\r\n\r\n\t\tconst request = {\r\n\t\t\tinstallId: this.currentApp.installedAppId,\r\n\t\t\tworkspaceId: this.currentWorkspace.id,\r\n\t\t\ttoken: this.oauthToken,\r\n\t\t\tverifier: this.oauthVerifier,\r\n\t\t\tsecret: (this.requestToken) ? this.requestToken.secret : ''\r\n\t\t} as InstallTwitterRequest;\r\n\r\n\t\ttwitterApi.install(request)\r\n\t\t\t.then(() => this.$emit('configSaved'))\r\n\t\t\t.catch((err) => {\r\n\t\t\t\tToast.showError(err.message);\r\n\t\t\t\tthis.reset();\r\n\t\t\t})\r\n\t\t\t.finally(() => this.actionInProgress = false);\r\n\t}\r\n\r\n\tpublic cancel() {\r\n\t\tthis.$router.push({ name: 'apps' });\r\n\t}\r\n\r\n}\r\n","import { render, staticRenderFns } from \"./BrowserUrlBar.vue?vue&type=template&id=310c6166&scoped=true\"\nimport script from \"./BrowserUrlBar.vue?vue&type=script&lang=ts\"\nexport * from \"./BrowserUrlBar.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BrowserUrlBar.vue?vue&type=style&index=0&id=310c6166&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"310c6166\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./VariableBadge.vue?vue&type=template&id=5e324435&scoped=true\"\nimport script from \"./VariableBadge.vue?vue&type=script&lang=ts\"\nexport * from \"./VariableBadge.vue?vue&type=script&lang=ts\"\nimport style0 from \"./VariableBadge.vue?vue&type=style&index=0&id=5e324435&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5e324435\",\n null\n \n)\n\nexport default component.exports","import {HomescreenAppInitViewModel, HomescreenAppViewModel} from '../models';\r\nimport {webAssistantApi} from './webAssistant';\r\nimport hash from 'object-hash';\r\n\r\nexport class HomescreenAppCache {\r\n\r\n\tprivate cache: Map = new Map();\r\n\r\n\tpublic initialiseApp(workspaceId: string, app: HomescreenAppViewModel) {\r\n\t\treturn new Promise((resolve, reject) => {\r\n\t\t\tconst key = hash(app);\r\n\r\n\t\t\tconst cached = this.getFromCache(key);\r\n\t\t\tif (cached) {\r\n\t\t\t\tresolve(cached);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\treturn this.appInit(workspaceId, app)\r\n\t\t\t\t.then(res => {\r\n\t\t\t\t\tthis.addToCache(key, res);\r\n\t\t\t\t\tresolve(res);\r\n\t\t\t\t})\r\n\t\t\t\t.catch(error => {\r\n\t\t\t\t\tthis.addToCache(key, this.createErrorModel(app));\r\n\t\t\t\t\treject(error);\r\n\t\t\t\t});\r\n\t\t});\r\n\t}\r\n\r\n\tprivate addToCache(key: string, appInit: HomescreenAppInitViewModel) {\r\n\t\tthis.cache.set(key, appInit);\r\n\t}\r\n\r\n\tprivate getFromCache(key: string) {\r\n\t\treturn this.cache.get(key);\r\n\t}\r\n\r\n\tprivate appInit(workspaceId: string, app: HomescreenAppViewModel): Promise {\r\n\t\treturn webAssistantApi.homescreenAppInit(workspaceId, app.installedAppId, app.config);\r\n\t}\r\n\r\n\tprivate createErrorModel(app: HomescreenAppViewModel): HomescreenAppInitViewModel {\r\n\t\treturn {\r\n\t\t\tid: app.installedAppId,\r\n\t\t\tcard: {\r\n\t\t\t\tcomponents: []\r\n\t\t\t}\r\n\t\t};\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport { answersApi } from '../services/answers';\r\nimport { QuestionViewModel } from '../models/answers/questionViewModel';\r\nimport shortid from 'shortid';\r\nimport { Action, Getter } from 'vuex-class';\r\nimport AddIcon from 'vue-material-design-icons/PlusCircle.vue';\r\nimport HelpIcon from 'vue-material-design-icons/HelpCircleOutline.vue';\r\nimport DeleteIcon from 'vue-material-design-icons/TrashCanOutline.vue';\r\nimport EditableText from '@/shared/components/EditableText.vue';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport Toast from '@/shared/services/toast';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { required } from 'vuelidate/lib/validators';\r\nimport Draggable from 'vuedraggable';\r\nimport { StateViewModel } from '../models/designer';\r\nimport TextComponent from './../components/designer/TextComponent.vue';\r\nimport AppIntegrationComponent from './../components/designer/AppIntegrationComponent.vue';\r\nimport GoToComponent from './../components/designer/GoToComponent.vue';\r\nimport DropDownMenu from '@/shared/components/dropDownMenu/DropDownMenu.vue';\r\nimport TextIcon from 'vue-material-design-icons/FormatTitle.vue';\r\nimport GoToIcon from '@/shared/icons/GoToIcon.vue';\r\nimport ConfirmationModal from '@/shared/components/ConfirmationModal.vue';\r\nimport UtteranceList from '@/features/bots/components/designer/UtteranceList.vue';\r\nimport HtmlFormatter from '@/shared/services/htmlFormatter';\r\nimport { AnswerViewModel } from '@/features/bots/models/answers/answerViewModel';\r\nimport { FlowStatus } from '@/features/bots/models/flowStatus';\r\nimport BackArrow from 'vue-material-design-icons/ArrowLeft.vue';\r\nimport SaveIcon from 'vue-material-design-icons/ContentSave.vue';\r\nimport PauseIcon from 'vue-material-design-icons/Pause.vue';\r\nimport PlayIcon from 'vue-material-design-icons/Play.vue';\r\nimport appInsights from '@/shared/services/appInsights';\r\nimport BotPreviewModal from '@/features/bots/components/botTestTool/BotPreviewModal.vue';\r\nimport { Route } from 'vue-router';\r\nimport { BOT_STUDIO_ENABLED } from '@/store/app/featureTypes';\r\nimport AdvancedTooltip from '@/shared/components/AdvancedTooltip.vue';\r\nimport UpgradeModal from '@/features/bots/components/UpgradeModal.vue';\r\nimport FaqIntentPicker from '@/features/bots/components/FaqIntentPicker.vue';\r\nimport { CREATE_INTENT, GET_INTENT, LOAD_INTENTS, UPDATE_INTENT } from '@/store/intents/actionTypes';\r\nimport { IntentViewModel } from '../models/intents/intentViewModel';\r\nimport { SaveIntentViewModel } from '../models/intents/saveIntentViewModel';\r\nimport { IntentListItemViewModel } from '../models/intents/intentListItemViewModel';\r\nimport { LOAD_ANSWER, UPDATE_ANSWER } from '@/store/answers/actionTypes';\r\nimport { UpdateAnswerViewModel } from '../models/answers/updateAnswerViewModel';\r\n\r\nconst validIntentName = (value: string) => {\r\n\treturn value.search(/[<>*%&:\\\\$]/) === -1;\r\n};\r\n\r\n@Component({\r\n\tmixins: [\r\n\t\tvalidationMixin\r\n\t],\r\n\tcomponents: {\r\n\t\tUtteranceList,\r\n\t\tAddIcon,\r\n\t\tHelpIcon,\r\n\t\tDeleteIcon,\r\n\t\tPauseIcon,\r\n\t\tPlayIcon,\r\n\t\tSaveIcon,\r\n\t\tBackArrow,\r\n\t\tTextIcon,\r\n\t\tEditableText,\r\n\t\tLoadingSpinner,\r\n\t\tDraggable,\r\n\t\tTextComponent,\r\n\t\tAppIntegrationComponent,\r\n\t\tDropDownMenu,\r\n\t\tConfirmationModal,\r\n\t\tBotPreviewModal,\r\n\t\tUpgradeModal,\r\n\t\tAdvancedTooltip,\r\n\t\tFaqIntentPicker,\r\n\t\tGoToComponent,\r\n\t\tGoToIcon\r\n\t},\r\n\tvalidations: {\r\n\t\tfaqName: {\r\n\t\t\trequired,\r\n\t\t\tvalidIntentName\r\n\t\t},\r\n\t\tanswerStates: {\r\n\t\t\trequired\r\n\t\t},\r\n\t\tintent: {\r\n\t\t\trequired\r\n\t\t},\r\n\t\tquestions: {\r\n\t\t\trequired,\r\n\t\t\t$each: {\r\n\t\t\t\ttext: {\r\n\t\t\t\t\trequired,\r\n\t\t\t\t\tisUnique(value) {\r\n\t\t\t\t\t\treturn !(this.$v.questions && this.$v.questions.$model.filter((q: any) => q.text === value).length > 1);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n})\r\nexport default class AnswerEditor extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Getter public isWorkspaceFeatureEnabled!: (key: string) => boolean;\r\n\t@Action(LOAD_ANSWER) public loadAnswer!: (answerId: string) => Promise;\r\n\t@Action(UPDATE_ANSWER) public updateAnswer: ({ answerId, request }: { answerId: string, request: UpdateAnswerViewModel }) => Promise;\r\n\t@Action(GET_INTENT) public getIntent!: (id: string) => Promise;\r\n\t@Action(CREATE_INTENT) public createIntent: (intent: SaveIntentViewModel) => Promise;\r\n\t@Action(UPDATE_INTENT) public updateIntent!: (request: { id: string, intent: SaveIntentViewModel }) => Promise;\r\n\t@Action(LOAD_INTENTS) public loadIntents!: (forceLoad: boolean) => Promise;\r\n\t@Getter public isAnswerTransitioningToAnInactiveFlow: boolean;\r\n\tpublic questions: QuestionViewModel[] = [];\r\n\tpublic faqName: string = '';\r\n\tpublic currentAnswerStatus: FlowStatus = FlowStatus.Draft;\r\n\tpublic hasMadeChanges = false;\r\n\tpublic hasLiveParentFlows = false;\r\n\tpublic isSaveInProgress = false;\r\n\tpublic loadedAnswer = false;\r\n\tpublic loadedFullIntent = false;\r\n\tpublic loadedIntentList = false;\r\n\tpublic isStatePickerUp = false;\r\n\tpublic intentId: string | null = null;\r\n\tpublic intent: Partial | null = null;\r\n\tpublic intents: IntentListItemViewModel[] = [];\r\n\tpublic navigationTo: Route | null = null;\r\n\r\n\tpublic answerStates: StateViewModel[] = [];\r\n\r\n\tpublic showLeaveModal: boolean = false;\r\n\tpublic showDeleteModal: boolean = false;\r\n\tpublic showMakeLiveModal: boolean = false;\r\n\tpublic showBotPreviewModal: boolean = false;\r\n\tpublic showPauseAnswerModal: boolean = false;\r\n\tpublic showUpgradeModal: boolean = false;\r\n\r\n\tpublic existingAnswer: AnswerViewModel | null = null;\r\n\r\n\tpublic async mounted() {\r\n\t\tawait Promise.all([this.fetchAnswer(), this.fetchIntents()]);\r\n\t}\r\n\r\n\tpublic onAnswerChange() {\r\n\t\tthis.hasMadeChanges = true;\r\n\t}\r\n\r\n\tpublic async saveAnswer() {\r\n\t\tthis.$v.$touch();\r\n\t\tif (this.$v.$invalid || this.answerStates.some(s => s.invalid)) {\r\n\t\t\tToast.showError('Fix the errors in red before saving');\r\n\t\t\treturn;\r\n\t\t}\r\n\t\ttry {\r\n\t\t\tappInsights.trackEvent({ name: 'Save answer clicked' }, { answerId: this.answerId, workspaceId: this.currentWorkspace.id });\r\n\t\t\tthis.isSaveInProgress = true;\r\n\t\t\tthis.faqName = this.faqName.trim();\r\n\r\n\t\t\tif (!this.intentId) {\r\n\t\t\t\tawait this.createNewIntent();\r\n\t\t\t} else {\r\n\t\t\t\tawait this.updateExistingIntent();\r\n\t\t\t}\r\n\r\n\t\t\tawait this.updateAnswer({\r\n\t\t\t\tanswerId: this.answerId,\r\n\t\t\t\trequest: {\r\n\t\t\t\t\ttitle: this.faqName,\r\n\t\t\t\t\tintentId: this.intentId!,\r\n\t\t\t\t\tanswerStates: this.answerStates,\r\n\t\t\t\t\tstatus: this.currentAnswerStatus\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\tthis.hasMadeChanges = false;\r\n\t\t\tToast.showSuccess('Saved FAQ');\r\n\t\t} catch (ex: any) {\r\n\t\t\tToast.showError(ex.message);\r\n\t\t} finally {\r\n\t\t\tthis.isSaveInProgress = false;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic openPreview() {\r\n\t\tappInsights.trackEvent({ name: 'Preview clicked' }, { answerId: this.answerId, workspaceId: this.currentWorkspace.id });\r\n\t\tthis.showBotPreviewModal = true;\r\n\t}\r\n\r\n\tpublic showMakeAnswerLiveConfirmation() {\r\n\t\tappInsights.trackEvent({ name: 'Make live clicked' }, { answerId: this.answerId, workspaceId: this.currentWorkspace.id });\r\n\t\tthis.showMakeLiveModal = true;\r\n\t}\r\n\r\n\tpublic upgradeButtonClicked() {\r\n\t\tthis.showUpgradeModal = true;\r\n\t}\r\n\r\n\tpublic deleteAnswer() {\r\n\t\tif (!this.canDeleteAnswer) {\r\n\t\t\tToast.showError('Cannot delete an FAQ that is transitioned to by another flow');\r\n\t\t} else {\r\n\t\t\tthis.showDeleteModal = true;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic beforeRouteLeave(to: Route, from: Route, next: any) {\r\n\t\tthis.navigationTo = to;\r\n\t\tconst forceDiscard = !!to.params.forceDiscard;\r\n\t\twindow.setTimeout(async () => { // allow update to be applied before attempting to leave, nextTick doesn't work\r\n\t\t\tif (forceDiscard || !this.hasMadeChanges) {\r\n\t\t\t\tnext();\r\n\t\t\t} else {\r\n\t\t\t\tthis.showLeaveModal = true;\r\n\t\t\t}\r\n\t\t}, 100);\r\n\t}\r\n\r\n\tpublic async discardAnswer(forceDiscard: boolean = false) {\r\n\t\twindow.setTimeout(async () => { // allow update to be applied before attempting to leave, nextTick doesn't work\r\n\t\t\tif (forceDiscard || !this.hasMadeChanges) {\r\n\t\t\t\tconst route = {\r\n\t\t\t\t\tname: this.navigationTo?.name || 'bots-answers',\r\n\t\t\t\t\tparams: {\r\n\t\t\t\t\t\tforceDiscard: 'true',\r\n\t\t\t\t\t\t...this.navigationTo?.params\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t};\r\n\t\t\t\tawait this.$router.push(route);\r\n\t\t\t} else {\r\n\t\t\t\tthis.showLeaveModal = true;\r\n\t\t\t}\r\n\t\t}, 100);\r\n\t}\r\n\r\n\tpublic pauseAnswer() {\r\n\t\tappInsights.trackEvent({ name: 'Pause answer clicked' }, { answerId: this.answerId, workspaceId: this.currentWorkspace.id });\r\n\t\tif (!this.canPauseAnswer) {\r\n\t\t\tToast.showError(this.pauseAnswerErrorMessage);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.showPauseAnswerModal = true;\r\n\t}\r\n\r\n\tpublic async makeAnswerLive() {\r\n\t\ttry {\r\n\t\t\tthis.isSaveInProgress = true;\r\n\t\t\tconst savedAnswer = await this.updateAnswer({\r\n\t\t\t\tanswerId: this.answerId,\r\n\t\t\t\trequest: {\r\n\t\t\t\t\tstatus: FlowStatus.Live\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tthis.currentAnswerStatus = savedAnswer.status;\r\n\t\t\tappInsights.trackEvent({ name: 'Made answer live' }, { answerId: this.answerId, workspaceId: this.currentWorkspace.id });\r\n\t\t\tToast.showSuccess(`Made FAQ ${this.faqName} live`);\r\n\t\t} catch (error) {\r\n\t\t\tToast.showError(`Failed to make FAQ ${this.faqName} live`);\r\n\t\t}\r\n\t\tthis.isSaveInProgress = false;\r\n\t\tthis.showMakeLiveModal = false;\r\n\t}\r\n\r\n\tpublic async onDeleteAnswerConfirmed() {\r\n\t\tthis.showDeleteModal = false;\r\n\t\ttry {\r\n\t\t\tappInsights.trackEvent({ name: 'Delete answer clicked' }, { answerId: this.answerId, workspaceId: this.currentWorkspace.id });\r\n\t\t\tawait answersApi.deleteAnswer(this.currentWorkspace.id, this.answerId);\r\n\t\t\tawait this.$router.push({\r\n\t\t\t\tname: 'bots-answers',\r\n\t\t\t\tparams: {\r\n\t\t\t\t\tforceDiscard: 'true'\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tToast.showSuccess('Deleted FAQ');\r\n\t\t} catch (ex: any) {\r\n\t\t\tToast.showError('Failed to delete FAQ : ' + ex.message);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async onPauseAnswerConfirmed() {\r\n\t\ttry {\r\n\t\t\tthis.isSaveInProgress = true;\r\n\t\t\tconst savedAnswer = await this.updateAnswer({\r\n\t\t\t\tanswerId: this.answerId,\r\n\t\t\t\trequest: {\r\n\t\t\t\t\tstatus: FlowStatus.Paused\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tthis.currentAnswerStatus = savedAnswer.status;\r\n\t\t\tappInsights.trackEvent({ name: 'Answer paused' }, { answerId: this.answerId, workspaceId: this.currentWorkspace.id });\r\n\t\t\tToast.showSuccess(`Paused ${this.faqName}`);\r\n\t\t} catch (error) {\r\n\t\t\tToast.showError(`Failed to pause FAQ ${this.faqName}`);\r\n\t\t}\r\n\t\tthis.isSaveInProgress = false;\r\n\t\tthis.showPauseAnswerModal = false;\r\n\t}\r\n\r\n\tpublic getDeleteAnswerConfirmationMessage() {\r\n\t\treturn `Are you sure you want to delete the ${HtmlFormatter.escapeHtmlCharacters(this.faqName)} FAQ? The action is irreversible. Please type the name of the FAQ to confirm:`;\r\n\t}\r\n\r\n\tpublic setFaqName(text: string, previousValue: string) {\r\n\t\tif (text !== previousValue) {\r\n\t\t\tthis.faqName = text;\r\n\t\t\tthis.onAnswerChange();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getStateComponentName(state: StateViewModel) {\r\n\t\tif (state.component === 'InputString' && state.options && state.options.length > 0) {\r\n\t\t\treturn 'QuickReplyComponent';\r\n\t\t}\r\n\r\n\t\treturn `${state.component}Component`;\r\n\t}\r\n\r\n\tpublic addMessageState() {\r\n\t\tthis.addState({\r\n\t\t\tid: `state-${shortid.generate()}`,\r\n\t\t\tcomponent: 'Text',\r\n\t\t\ttext: ''\r\n\t\t});\r\n\t\tthis.onAnswerChange();\r\n\t}\r\n\r\n\tpublic addAppIntegrationState() {\r\n\t\tthis.addState({\r\n\t\t\tid: `state-${shortid.generate()}`,\r\n\t\t\tcomponent: 'AppIntegration',\r\n\t\t});\r\n\t\tthis.onAnswerChange();\r\n\t}\r\n\r\n\tpublic addGoToState() {\r\n\t\tthis.answerStates.push({\r\n\t\t\tid: `state-${shortid.generate()}`,\r\n\t\t\tcomponent: 'GoTo',\r\n\t\t\ttransition: {\r\n\t\t\t\ttype: undefined,\r\n\t\t\t\tpayload: undefined\r\n\t\t\t},\r\n\t\t\tinvalid: true\r\n\t\t});\r\n\t\tthis.onAnswerChange();\r\n\t}\r\n\r\n\tpublic deleteState(state: StateViewModel) {\r\n\t\tthis.answerStates = this.answerStates.filter(s => s.id !== state.id);\r\n\t\tthis.onAnswerChange();\r\n\t}\r\n\r\n\tpublic stateUpdated(state: StateViewModel) {\r\n\t\tconst index = this.answerStates.findIndex(s => s.id === state.id);\r\n\t\tthis.answerStates[index] = state;\r\n\t\tthis.onAnswerChange();\r\n\t}\r\n\r\n\tpublic clearTransform(event: any) {\r\n\t\t// this is a fix for the modal within a state not appearing correctly after the state is dragged\r\n\t\t// the modal is position:fixed which can be relative to a parent that has a transform style, which we don't want.\r\n\t\t// see https://github.com/SortableJS/Sortable/issues/1687\r\n\t\tevent.item.style.transform = null;\r\n\t}\r\n\r\n\tpublic setIsStatePickerUp(val: boolean) {\r\n\t\tthis.isStatePickerUp = val;\r\n\t}\r\n\r\n\tpublic get faqNameErrorText() {\r\n\t\tconst vuelidateFaqNameField = (this.$v as any).faqName;\r\n\r\n\t\tif (vuelidateFaqNameField.$error && vuelidateFaqNameField.required && !vuelidateFaqNameField.validIntentName) {\r\n\t\t\treturn 'Must not contain <, >, *, %, &, :, \\\\, $';\r\n\t\t}\r\n\t\treturn '';\r\n\t}\r\n\r\n\tpublic isMakeLiveButtonVisible() {\r\n\t\treturn this.isStatus(FlowStatus.Paused, FlowStatus.Draft);\r\n\t}\r\n\r\n\tpublic isPauseOptionVisible() {\r\n\t\treturn this.isStatus(FlowStatus.Live);\r\n\t}\r\n\r\n\tpublic getLeaveConfirmationMessage() {\r\n\t\treturn `All changes you've made to ${HtmlFormatter.escapeHtmlCharacters(this.faqName)} will be discarded.
Are you sure you want to leave the page?`;\r\n\t}\r\n\r\n\tpublic getMakeLiveConfirmationMessage() {\r\n\t\treturn `This will make the FAQ active to your audience. Are you sure you want to continue?`;\r\n\t}\r\n\r\n\tpublic get previewFlowHoverMessage() {\r\n\t\tif (this.hasMadeChanges) {\r\n\t\t\treturn 'Cannot preview an FAQ with unsaved changes';\r\n\t\t}\r\n\t\treturn '';\r\n\t}\r\n\r\n\tpublic getPauseConfirmationMessage() {\r\n\t\treturn `This will prevent the FAQ from being triggered. Are you sure you want to continue?`;\r\n\t}\r\n\r\n\tpublic get saveAnswerHoverMessage() {\r\n\t\tif (!this.hasMadeChanges) {\r\n\t\t\treturn 'No changes to save';\r\n\t\t}\r\n\t\treturn '';\r\n\t}\r\n\r\n\tpublic get makeLiveHoverMessage() {\r\n\t\tif (this.isAnswerTransitioningToAnInactiveFlow) {\r\n\t\t\treturn 'Must not transition to flow that is not live';\r\n\t\t}\r\n\t\tif (this.hasMadeChanges) {\r\n\t\t\treturn 'Cannot make FAQ live with unsaved changes';\r\n\t\t}\r\n\t\treturn '';\r\n\t}\r\n\r\n\tpublic get isPreviewButtonEnabled() {\r\n\t\treturn !this.hasMadeChanges && !this.isSaveInProgress && this.intentId;\r\n\t}\r\n\r\n\tpublic get pauseAnswerErrorMessage() {\r\n\t\tif (this.hasLiveParentFlows) {\r\n\t\t\treturn 'Cannot pause an FAQ that is transitioned to by a live flow';\r\n\t\t}\r\n\t\tif (this.hasMadeChanges) {\r\n\t\t\treturn 'Cannot pause an FAQ with unsaved changes';\r\n\t\t}\r\n\t\treturn '';\r\n\t}\r\n\r\n\tpublic get isSaveButtonEnabled() {\r\n\t\treturn !this.isSaveInProgress && this.hasMadeChanges;\r\n\t}\r\n\r\n\tpublic get canMakeLive() {\r\n\t\treturn !this.hasMadeChanges && !this.isSaveInProgress && this.isBotStudioEnabled() && this.intentId && !this.isAnswerTransitioningToAnInactiveFlow;\r\n\t}\r\n\r\n\tpublic get canPauseAnswer() {\r\n\t\treturn this.currentAnswerStatus === FlowStatus.Live && !this.hasLiveParentFlows && !this.hasMadeChanges;\r\n\t}\r\n\r\n\tpublic get canDeleteAnswer() {\r\n\t\treturn !this.hasLiveParentFlows;\r\n\t}\r\n\r\n\tpublic get answerId() {\r\n\t\treturn this.$route.params.id;\r\n\t}\r\n\r\n\tpublic isBotStudioEnabled() {\r\n\t\treturn this.isWorkspaceFeatureEnabled(BOT_STUDIO_ENABLED);\r\n\t}\r\n\r\n\tpublic async handleIntentChange(intent: Partial) {\r\n\t\tconst hasChangedIntent = intent.id !== this.intentId && intent.title !== this.intent?.title;\r\n\t\tconst isInitialChangeToFaqNameIntent = this.intent === null && intent.title === this.faqName;\r\n\t\tif (hasChangedIntent && !isInitialChangeToFaqNameIntent) {\r\n\t\t\tthis.onAnswerChange();\r\n\t\t}\r\n\t\tif (this.intentId !== intent.id) {\r\n\t\t\tthis.questions = [{ id: shortid.generate(), text: '' }];\r\n\t\t}\r\n\t\tthis.intent = intent;\r\n\t\tthis.intentId = intent.id!;\r\n\t\tthis.loadedFullIntent = false;\r\n\t\tawait this.loadFullIntent();\r\n\t\tthis.loadedFullIntent = true;\r\n\t}\r\n\r\n\tpublic async loadFullIntent() {\r\n\t\tif (!this.intentId) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.intent = await this.getIntent(this.intentId);\r\n\t\tthis.questions = this.intent.utterances || [{ id: shortid.generate(), text: '' }];\r\n\t}\r\n\r\n\tpublic containsGoToState() {\r\n\t\treturn this.answerStates?.some(s => s.component === 'GoTo');\r\n\t}\r\n\r\n\tpublic get endStates(): StateViewModel[] {\r\n\t\treturn this.answerStates?.filter(s => s.component === 'GoTo') || [];\r\n\t}\r\n\r\n\tpublic get nonEndStates(): StateViewModel[] {\r\n\t\treturn this.answerStates?.filter(s => s.component !== 'GoTo') || [];\r\n\t}\r\n\r\n\tpublic handleIntentListLoaded() {\r\n\t\tthis.loadedIntentList = true;\r\n\t}\r\n\r\n\tprivate async fetchAnswer() {\r\n\t\tthis.existingAnswer = await this.loadAnswer(this.answerId);\r\n\t\tthis.intentId = this.existingAnswer.intentId;\r\n\t\tthis.faqName = this.existingAnswer.title;\r\n\r\n\t\tthis.answerStates = this.existingAnswer.answerStates.map(s => {\r\n\t\t\ts.id = `state-${shortid.generate()}`;\r\n\t\t\treturn s;\r\n\t\t});\r\n\r\n\t\tthis.hasLiveParentFlows = this.existingAnswer.parentFlowIds && this.existingAnswer.parentFlowIds.length > 0;\r\n\t\tthis.currentAnswerStatus = this.existingAnswer.status;\r\n\t\tif (this.answerStates.length === 0) {\r\n\t\t\tthis.addMessageState();\r\n\t\t}\r\n\r\n\t\tthis.loadedAnswer = true;\r\n\r\n\t\tthis.$nextTick(() => {\r\n\t\t\tthis.hasMadeChanges = false;\r\n\t\t});\r\n\t}\r\n\r\n\tprivate async fetchIntents() {\r\n\t\tthis.intents = await this.loadIntents(true);\r\n\t\tthis.loadedIntentList = true;\r\n\t}\r\n\r\n\tprivate isStatus(...allowedStatuses: FlowStatus[]): boolean {\r\n\t\treturn allowedStatuses.includes(this.currentAnswerStatus);\r\n\t}\r\n\r\n\tprivate async createNewIntent() {\r\n\t\tif (!this.intent || !this.intent.title) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tconst newIntent = await this.createIntent({\r\n\t\t\ttitle: this.intent.title,\r\n\t\t\tutterances: this.questions.map(q => q.text),\r\n\t\t});\r\n\t\tthis.intentId = newIntent.id;\r\n\t}\r\n\r\n\tprivate async updateExistingIntent() {\r\n\t\tif (!this.intent || !this.intent.title) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tawait this.updateIntent({\r\n\t\t\tid: this.intentId!,\r\n\t\t\tintent: {\r\n\t\t\t\ttitle: this.intent.title,\r\n\t\t\t\tutterances: this.questions.map(q => q.text),\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tprivate addState(state: StateViewModel): void {\r\n\t\tif (this.endStates.length > 0) {\r\n\t\t\tthis.answerStates.splice(this.answerStates.length - 1, 0, state);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.answerStates.push(state);\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page has-compressed-header\"},[(!_vm.templateLoaded)?_c('LoadingSpinner'):_vm._e(),(_vm.templateLoaded)?_c('section',{staticClass:\"section primary-header\"},[_c('nav',{staticClass:\"level container is-fluid\"},[_c('div',{staticClass:\"level-left\"},[_c('h4',{staticClass:\"title is-4\"},[_c('EditableText',{attrs:{\"value\":_vm.templateName,\"placeholder\":'Enter template name...'},on:{\"text-updated\":_vm.onNameChange}})],1)]),_c('div',{staticClass:\"level-right\"},[_c('p',{staticClass:\"level-item\"},[_c('n-button',{attrs:{\"id\":\"save-content-button\",\"variant\":\"secondary\",\"loading\":_vm.updateInProgress},on:{\"click\":_vm.saveTemplate}},[_c('span',[_vm._v(_vm._s(this.templateId ? 'Save' : 'Create'))])])],1),_c('p',{staticClass:\"level-item\"},[_c('n-button',{attrs:{\"id\":\"cancel-save-content-button\",\"variant\":\"secondary--outline\"},on:{\"click\":_vm.cancel}},[_c('span',[_vm._v(\"Cancel\")])])],1)])])]):_vm._e(),(_vm.templateLoaded)?_c('section',{staticClass:\"section content-container\"},[_c('div',{staticClass:\"container is-fluid\"},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-6\"},[_c('div',{staticClass:\"title is-5\"},[_vm._v(\"HTML\")]),_c('div',{attrs:{\"id\":_vm.EDITOR_ID}})]),_c('div',{staticClass:\"column is-6\"},[_c('div',{staticClass:\"title is-5\"},[_vm._v(\"Preview\")]),_c('div',{staticClass:\"preview-container\"},[_c('iframe',{attrs:{\"title\":\"preview\",\"srcdoc\":_vm.previewHtml,\"sandbox\":\"\"}})])])])])]):_vm._e(),(_vm.showDiscardChangesModel)?_c('ConfirmationModal',{attrs:{\"confirmationTitle\":\"Discard changes\",\"confirmationMessage\":\"Are you sure you wish to discard your changes\"},on:{\"confirm\":_vm.goBackToEmailSettings,\"cancel\":function($event){_vm.showDiscardChangesModel = false}}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoToComponent.vue?vue&type=style&index=0&id=2e94231d&prod&lang=scss&scoped=true\"","export enum ContactAttributeType {\r\n\tText = 'text',\r\n\tNumber = 'number',\r\n\tDecimal = 'decimal',\r\n\tDate = 'date'\r\n}\r\n","import { render, staticRenderFns } from \"./HomeScreenPreview.vue?vue&type=template&id=2d92a9ae&scoped=true\"\nimport script from \"./HomeScreenPreview.vue?vue&type=script&lang=ts\"\nexport * from \"./HomeScreenPreview.vue?vue&type=script&lang=ts\"\nimport style0 from \"./HomeScreenPreview.vue?vue&type=style&index=0&id=2d92a9ae&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2d92a9ae\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReadonlyField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReadonlyField.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PathDesigner.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PathDesigner.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ContentHighlightsListAppEdit.vue?vue&type=template&id=e78e8e96&scoped=true\"\nimport script from \"./ContentHighlightsListAppEdit.vue?vue&type=script&lang=ts\"\nexport * from \"./ContentHighlightsListAppEdit.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ContentHighlightsListAppEdit.vue?vue&type=style&index=0&id=e78e8e96&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e78e8e96\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"add-condition\"},[_c('div',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.top\",value:(_vm.tooltip),expression:\"tooltip\",modifiers:{\"top\":true}}],class:{ 'disabled': _vm.disabled },on:{\"click\":_vm.openNewConditionPicker}},[_vm._t(\"default\",[_c('a',[_c('AddIcon'),_c('span',{staticClass:\"add-label\"},[_vm._v(\"Add filter\")])],1)])],2),(_vm.isConditionPickerOpen)?_c('ConditionPicker',{directives:[{name:\"on-clickaway\",rawName:\"v-on-clickaway\",value:(_vm.closeNewConditionPicker),expression:\"closeNewConditionPicker\"}],attrs:{\"available-conditions\":_vm.availableConditions},on:{\"selected\":_vm.onConditionAdded,\"cancel\":_vm.closeNewConditionPicker}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeleteIntentModal.vue?vue&type=style&index=0&id=4a603174&prod&lang=scss&scoped=true\"","\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class LoadingSpinner extends Vue {\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { Getter, Mutation } from 'vuex-class';\r\nimport shortid from 'shortid';\r\nimport { InputVariableViewModel } from '@/features/bots/models/designer';\r\nimport { ADD_FLOW_VARIABLE } from '@/store/bot-designer/mutationTypes';\r\nimport { required, maxLength } from 'vuelidate/lib/validators';\r\nimport { validationMixin } from 'vuelidate';\r\n\r\nconst unique = (value: string, vm: AddNewVariableModal) => {\r\n\treturn vm.flowVariables.findIndex(v => v.scope === 'flow' && v.name === value) === -1;\r\n};\r\n\r\n@Component({\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tnewVarName: { required, maxLength: maxLength(50), unique },\r\n\t}\r\n})\r\nexport default class AddNewVariableModal extends Vue {\r\n\t@Getter public flowVariables!: InputVariableViewModel[];\r\n\t@Mutation(ADD_FLOW_VARIABLE) public addFlowVariable: (flowVar: InputVariableViewModel) => void;\r\n\r\n\tpublic newVarName: string = '';\r\n\r\n\tpublic mounted() {\r\n\t\tconst inputField = (this.$refs.variableInput as any);\r\n\t\tif (inputField) {\r\n\t\t\tinputField.focus();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic save() {\r\n\t\tif (this.$v.$invalid) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst id = shortid.generate();\r\n\t\tconst newVar = {\r\n\t\t\tid: `var-${id}`,\r\n\t\t\tscope: 'flow',\r\n\t\t\tkey: this.newVarName,\r\n\t\t\tname: this.newVarName\r\n\t\t};\r\n\r\n\t\tthis.addFlowVariable(newVar);\r\n\t\tthis.$emit('added', newVar);\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./ChartError.vue?vue&type=template&id=7216999c&scoped=true\"\nimport script from \"./ChartError.vue?vue&type=script&lang=ts\"\nexport * from \"./ChartError.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ChartError.vue?vue&type=style&index=0&id=7216999c&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7216999c\",\n null\n \n)\n\nexport default component.exports","import urljoin from 'url-join';\r\nimport { api } from '@/shared/services/baseApiClient';\r\nimport { config } from '@/config/config';\r\nimport { UninstallAppRequest } from '../../shared/models';\r\nimport { GoogleBmInstalledApp, InstallGoogleBmRequest } from '../models';\r\nimport { AgentConfigRequest } from '@/features/apps/googlebm/models/agentConfigRequest';\r\nimport { VerificationStatus } from '../models/verificationStatus';\r\nimport { LaunchStatus } from '@/features/apps/googlebm/models/launchStatus';\r\nimport { GoogleBmAgent } from '../models/googleBmAgent';\r\n\r\nclass GoogleApi {\r\n\tprivate version = 'v1';\r\n\r\n\tpublic install(request: InstallGoogleBmRequest): Promise {\r\n\t\tconst url = urljoin(config().googleBmHost, this.version, 'app', 'install');\r\n\t\treturn api.send('POST', url, request);\r\n\t}\r\n\r\n\tpublic uninstall(workspaceId: string, installId: string): Promise {\r\n\t\tconst request = { workspaceId, installId } as UninstallAppRequest;\r\n\t\tconst url = urljoin(config().googleBmHost, this.version, 'app', 'uninstall');\r\n\t\treturn api.send('POST', url, request);\r\n\t}\r\n\r\n\tpublic getInstalledApp(workspaceId: string): Promise {\r\n\t\tconst url = urljoin(config().googleBmHost, this.version, `app?workspaceid=${workspaceId}`);\r\n\t\treturn api.send('GET', url);\r\n\t}\r\n\r\n\tpublic createAgent(workspaceId: string, request: AgentConfigRequest) {\r\n\t\tconst url = urljoin(config().googleBmHost, this.version, 'workspaces', workspaceId, 'agents');\r\n\t\treturn api.send('POST', url, request);\r\n\t}\r\n\r\n\tpublic updateAgent(workspaceId: string, customAgentId: string, request: AgentConfigRequest) {\r\n\t\tconst url = urljoin(config().googleBmHost, this.version, 'workspaces', workspaceId, 'agents', customAgentId);\r\n\t\treturn api.send('PATCH', url, request);\r\n\t}\r\n\r\n\tpublic requestAgentVerification(workspaceId: string, customAgentId: string): Promise<{ verificationState: VerificationStatus }> {\r\n\t\tconst url = urljoin(config().googleBmHost, this.version, 'workspaces', workspaceId, 'agents', customAgentId, 'verify');\r\n\t\treturn api.send('POST', url);\r\n\t}\r\n\r\n\tpublic requestAgentLaunch(workspaceId: string, customAgentId: string): Promise<{ launchState: LaunchStatus }> {\r\n\t\tconst url = urljoin(config().googleBmHost, this.version, 'workspaces', workspaceId, 'agents', customAgentId, 'launch');\r\n\t\treturn api.send('POST', url);\r\n\t}\r\n\r\n\tpublic cancelVerification(workspaceId: string, customAgentId: string): Promise<{ verificationState: VerificationStatus }> {\r\n\t\tconst url = urljoin(config().googleBmHost, this.version, 'workspaces', workspaceId, 'agents', customAgentId, 'cancelVerification');\r\n\t\treturn api.send('POST', url);\r\n\t}\r\n\r\n\tpublic unlaunchAgent(workspaceId: string, customAgentId: string): Promise<{ launchState: LaunchStatus }> {\r\n\t\tconst url = urljoin(config().googleBmHost, this.version, 'workspaces', workspaceId, 'agents', customAgentId, 'unlaunch');\r\n\t\treturn api.send('POST', url);\r\n\t}\r\n\r\n\tpublic requestLocationVerification(workspaceId: string, locationId: string) {\r\n\t\tconst url = urljoin(config().googleBmHost, this.version, 'workspaces', workspaceId, 'locations', locationId, 'verify');\r\n\t\treturn api.send('POST', url);\r\n\t}\r\n\r\n\tpublic requestLocationLaunch(workspaceId: string, locationId: string): Promise<{ launchState: LaunchStatus }> {\r\n\t\tconst url = urljoin(config().googleBmHost, this.version, 'workspaces', workspaceId, 'locations', locationId, 'launch');\r\n\t\treturn api.send('POST', url);\r\n\t}\r\n\r\n\tpublic unlaunchLocation(workspaceId: string, locationId: string): Promise<{ launchState: LaunchStatus }> {\r\n\t\tconst url = urljoin(config().googleBmHost, this.version, 'workspaces', workspaceId, 'locations', locationId, 'unlaunch');\r\n\t\treturn api.send('POST', url);\r\n\t}\r\n}\r\n\r\nexport const googleApi = new GoogleApi();\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { Getter } from 'vuex-class';\r\nimport { required } from 'vuelidate/lib/validators';\r\nimport { validationMixin } from 'vuelidate';\r\n\r\nimport { PublishedApp } from '../shared/models';\r\nimport { FacebookApi } from './services/facebookAppApi';\r\nimport { messengerApi } from './services/messengerApi';\r\nimport { instagramApi } from './services/instagramApi';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport Toast from '@/shared/services/toast';\r\nimport { fbGetSdk, fbLogin, fbLogout, fbGetLoginStatus } from './services/messengerSdkWrapper';\r\nimport { FacebookPage, MessengerInstalledApp, InstallMessengerRequest } from './models';\r\nimport {config} from '@/config/config';\r\n\r\ninterface LoginScope {\r\n\tscope: string;\r\n}\r\n\r\ninterface LoginOptions {\r\n\tmessenger: LoginScope;\r\n\tinstagram: LoginScope;\r\n}\r\n\r\n@Component({\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tselectedPage: { required }\r\n\t}\r\n})\r\nexport default class MessengerConfig extends Vue {\r\n\t@Getter public currentApp!: PublishedApp;\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\r\n\tpublic selectedPage: FacebookPage | null = null;\r\n\tpublic userPages: FacebookPage[] = [];\r\n\tpublic messengerApp: MessengerInstalledApp | null = null;\r\n\r\n\tpublic connected: boolean = false;\r\n\r\n\tpublic loginOptions: LoginOptions = {\r\n\t\tmessenger: { scope: 'pages_show_list,pages_read_engagement,pages_messaging,pages_manage_metadata' },\r\n\t\tinstagram: { scope: 'pages_show_list,pages_read_engagement,pages_manage_metadata,instagram_basic,instagram_manage_messages' }\r\n\t};\r\n\r\n\tpublic api: FacebookApi;\r\n\r\n\tpublic loginInProgress: boolean = false;\r\n\tpublic actionInProgress: boolean = false;\r\n\tpublic loadingPages: boolean = false;\r\n\r\n\tpublic created() {\r\n\t\tthis.api = this.currentApp.id === 'instagram' ? instagramApi : messengerApi;\r\n\t\tif (this.currentApp.isInstalled) {\r\n\t\t\tthis.loadFacebookLoginSdk(this.currentApp.id);\r\n\t\t\tthis.api.getInstalledApp(this.currentWorkspace.id)\r\n\t\t\t\t.then((messengerApp: MessengerInstalledApp) => {\r\n\t\t\t\t\tthis.messengerApp = messengerApp;\r\n\r\n\t\t\t\t\tif (messengerApp) {\r\n\t\t\t\t\t\tthis.selectedPage = {\r\n\t\t\t\t\t\t\taccess_token: '',\r\n\t\t\t\t\t\t\tid: messengerApp.pageId,\r\n\t\t\t\t\t\t\tname: messengerApp.pageName\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t}\r\n\t\t\t\t}).catch(err => {\r\n\t\t\t\t\t// if it's not found, then we haven't installed the bt app fully, so let them fill in the form\r\n\t\t\t\t\tif (err.status !== 404) {\r\n\t\t\t\t\t\t// show error state...\r\n\t\t\t\t\t}\r\n\t\t\t\t}).finally(() => {\r\n\t\t\t\t\tthis.$emit('loaded');\r\n\t\t\t\t});\r\n\t\t} else {\r\n\t\t\tthis.$emit('loaded');\r\n\t\t}\r\n\t}\r\n\r\n\tpublic destroyed() {\r\n\t\tif (!this.connected) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tfbLogout();\r\n\t}\r\n\r\n\tpublic loadFacebookLoginSdk(currentApp: string) {\r\n\t const appId = currentApp === 'instagram' ? config().instagramAppId : config().facebookAppId;\r\n\t\t fbGetSdk(appId).then(() => {\r\n\t\t\tfbGetLoginStatus().then((res: any) => {\r\n\t\t\t\tif (res.status === 'connected') {\r\n\t\t\t\t\tthis.onConnected(res.authResponse.accessToken);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t});\r\n\t}\r\n\r\n\tpublic hasMessengerInstalledApp() {\r\n\t\treturn this.messengerApp !== null;\r\n\t}\r\n\r\n\tpublic logout() {\r\n\t\tif (!this.connected) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tfbLogout().then(() => {\r\n\t\t\tfbGetLoginStatus().then((res: any) => {\r\n\t\t\t\tif (res.status !== 'connected') {\r\n\t\t\t\t\tthis.connected = false;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t});\r\n\t}\r\n\r\n\tpublic login() {\r\n\t\tthis.loginInProgress = true;\r\n\t\tconst loginScope = this.loginOptions[this.currentApp.id as keyof LoginOptions].scope;\r\n\t\tfbLogin(loginScope).then((res: any) => {\r\n\t\t\tif (res.status === 'connected') {\r\n\t\t\t\tthis.onConnected(res.authResponse.accessToken);\r\n\t\t\t}\r\n\t\t}).finally(() => {\r\n\t\t\tthis.loginInProgress = false;\r\n\t\t});\r\n\t}\r\n\r\n\tpublic onConnected(authToken: string) {\r\n\t\tthis.connected = true;\r\n\t\tthis.getFacebookPages(authToken);\r\n\t}\r\n\r\n\tpublic getFacebookPages(authToken: string) {\r\n\t\tthis.loadingPages = true;\r\n\t\tthis.api.getUserPages(authToken)\r\n\t\t\t.then((pages: FacebookPage[]) => {\r\n\t\t\t\tthis.userPages = pages;\r\n\t\t\t})\r\n\t\t\t.finally(() => this.loadingPages = false);\r\n\t}\r\n\r\n\tpublic save() {\r\n\t\tif (this.actionInProgress) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (!this.selectedPage) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.actionInProgress = true;\r\n\r\n\t\tconst request = {\r\n\t\t\tinstallId: this.currentApp.installedAppId,\r\n\t\t\tworkspaceId: this.currentWorkspace.id,\r\n\t\t\tpageId: this.selectedPage.id,\r\n\t\t\tpageName: this.selectedPage.name,\r\n\t\t\tpageAccessToken: this.selectedPage.access_token\r\n\t\t} as InstallMessengerRequest;\r\n\r\n\t\tthis.api.install(request)\r\n\t\t\t.then(() => this.$emit('configSaved'))\r\n\t\t\t.catch((err) => Toast.showError(err.message))\r\n\t\t\t.finally(() => this.actionInProgress = false);\r\n\t}\r\n\r\n\tpublic cancel() {\r\n\t\tthis.$router.push({ name: 'apps' });\r\n\t}\r\n\r\n}\r\n","import { render, staticRenderFns } from \"./EditableText.vue?vue&type=template&id=38e8f98c&scoped=true\"\nimport script from \"./EditableText.vue?vue&type=script&lang=ts\"\nexport * from \"./EditableText.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EditableText.vue?vue&type=style&index=0&id=38e8f98c&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"38e8f98c\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue} from 'vue-property-decorator';\r\nimport ColumnIcon from 'vue-material-design-icons/ViewColumn.vue';\r\nimport DataTableColumn from './dataTableColumn';\r\nimport MultiSelectPicker from '@/shared/components/MultiSelectPicker.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tMultiSelectPicker,\r\n\t\tColumnIcon\r\n\t}\r\n})\r\nexport default class ColumnPicker extends Vue {\r\n\t@Prop() public columns: DataTableColumn[];\r\n\t@Prop() public value: DataTableColumn[];\r\n\r\n\tpublic onInput(newValue: DataTableColumn[]) {\r\n\t\tthis.$emit('input', newValue);\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pagination-container\"},[_c('div',{staticClass:\"pagination-total-records\"},[_vm._v(_vm._s(_vm.totalRows)+\" records\")]),_c('div',{staticClass:\"pagination-paging-controls\"},[_c('div',{staticClass:\"action\",attrs:{\"disabled\":!_vm.hasPrevious() || _vm.disableControls},on:{\"click\":function($event){return _vm.first()}}},[_c('SkipPrevious')],1),_vm._v(\"\\n\\t\\t \\n\\t\\t\"),_c('div',{staticClass:\"action\",attrs:{\"disabled\":!_vm.hasPrevious() || _vm.disableControls},on:{\"click\":function($event){return _vm.previous()}}},[_c('ChevronLeft')],1),_c('div',{staticClass:\"pagination-paging-controls__current\"},[_vm._v(\"Page \"+_vm._s(_vm.currentPage)+\" of \"+_vm._s(_vm.numberOfPages()))]),_c('div',{staticClass:\"action\",attrs:{\"disabled\":!_vm.hasNext() || _vm.disableControls},on:{\"click\":function($event){return _vm.next()}}},[_c('ChevronRight')],1),_vm._v(\"\\n\\t\\t \\n\\t\\t\"),_c('div',{staticClass:\"action\",attrs:{\"disabled\":!_vm.hasNext() || _vm.disableControls},on:{\"click\":function($event){return _vm.last()}}},[_c('SkipNext')],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component({})\r\nexport default class WebAssistantViewToggle extends Vue {\r\n\t@Prop() public activeView: 'homescreen' | 'conversation';\r\n\r\n\tpublic setActiveView(view: 'homescreen' | 'conversation') {\r\n\t\tthis.$emit('viewChange', view);\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChartNoData.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChartNoData.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateAttribute.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateAttribute.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./googlebmConfig.vue?vue&type=template&id=64fb063c&scoped=true\"\nimport script from \"./googlebmConfig.vue?vue&type=script&lang=ts\"\nexport * from \"./googlebmConfig.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"64fb063c\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\n\r\n@Component({})\r\nexport default class GoToIcon extends Vue {}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"collapse-container\"},[_c('div',{staticClass:\"collapsible\",class:{ active: _vm.isActive() },on:{\"click\":function($event){return _vm.setActive()}}},[_c('div',{staticClass:\"collapse__stage\"},[_vm._t(\"icon\",[_vm._v(_vm._s(_vm.index))])],2),_c('div',{staticClass:\"collapse-header\"},[_c('div',{staticClass:\"collapse__title\"},[_vm._t(\"title\")],2),_c('div',{staticClass:\"collapse__subtitle\"},[_vm._t(\"subtitle\")],2)]),_c('svg',{staticClass:\"right-arrow\"},[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":\"#arrow-right2\"}})])]),_c('div',{staticClass:\"collapse-content-container\",class:{ active: _vm.isActive() }},[_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PageHeader.vue?vue&type=style&index=0&id=92244572&prod&scoped=true&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowTotalsCharts.vue?vue&type=style&index=1&id=76134a60&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"buttons has-addons\"},[_c('a',{staticClass:\"button\",class:{ 'is-static': _vm.activeView === 'homescreen' },on:{\"click\":function($event){return _vm.setActiveView('homescreen')}}},[_vm._v(\"Homescreen\")]),_c('a',{staticClass:\"button\",class:{ 'is-static': _vm.activeView === 'conversation' },on:{\"click\":function($event){return _vm.setActiveView('conversation')}}},[_vm._v(\"Conversation\")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleBmAgentList.vue?vue&type=style&index=0&id=be30eef2&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{class:{ 'is-unknown': _vm.isUnknown }},[_vm._v(\"\\n\\t\"+_vm._s(_vm.formattedValue)+\"\\n\")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tasks.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tasks.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"auth-wrapper\"},[_c('LoadingSpinner')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Badge.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Badge.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { Getter, Action } from 'vuex-class';\r\nimport { ContactAttributeViewModel } from '@/messaging/models/contactAttributeViewModel';\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\r\nimport FriendlyString from '@/shared/components/FriendlyString.vue';\r\nimport DropDownMenu from '@/shared/components/dropDownMenu/DropDownMenu.vue';\r\nimport CreateAttribute from '@/features/settings/components/CreateAttribute.vue';\r\nimport { ContactAttributeType } from '@/messaging/models/contactAttributeType';\r\nimport UpdateAttribute from '@/features/settings/components/UpdateAttribute.vue';\r\nimport DataTableColumn from '@/shared/components/dataTable/dataTableColumn';\r\nimport ConfirmationModal from '@/shared/components/ConfirmationModal.vue';\r\nimport HtmlFormatter from '@/shared/services/htmlFormatter';\r\nimport DeleteIcon from 'vue-material-design-icons/TrashCanOutline.vue';\r\nimport { ARCHIVE_CONTACT_ATTRIBUTE } from '@/store/attributes/actionTypes';\r\nimport Toast from '@/shared/services/toast';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tDataTable,\r\n\t\tFriendlyString,\r\n\t\tCreateAttribute,\r\n\t\tUpdateAttribute,\r\n\t\tConfirmationModal,\r\n\t\tDropDownMenu,\r\n\t\tDeleteIcon\r\n\t}\r\n})\r\nexport default class ContactAttributes extends Vue {\r\n\t@Action(ARCHIVE_CONTACT_ATTRIBUTE) public updateAttribute: (attributeId: string) => Promise;\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Getter public allContactAttributes!: ContactAttributeViewModel[];\r\n\r\n\tpublic isLoading: boolean = false;\r\n\tpublic showCreateAttributeModal: boolean = false;\r\n\tpublic showUpdateAttributeModal: boolean = false;\r\n\tpublic showArchiveAttributeModal: boolean = false;\r\n\tpublic selectedAttribute: ContactAttributeViewModel = {} as ContactAttributeViewModel;\r\n\r\n\tpublic openCreateAttributeModal() {\r\n\t\tthis.showCreateAttributeModal = true;\r\n\t}\r\n\r\n\tpublic openEditAttribute(attribute: ContactAttributeViewModel) {\r\n\t\tthis.selectedAttribute = attribute;\r\n\t\tthis.showUpdateAttributeModal = true;\r\n\t}\r\n\r\n\tpublic closeAttributeModal() {\r\n\t\tthis.showCreateAttributeModal = false;\r\n\t\tthis.showUpdateAttributeModal = false;\r\n\t}\r\n\r\n\tpublic getTypeDisplay(typeValue: string) {\r\n\t\treturn Object.keys(ContactAttributeType).filter(x => (ContactAttributeType as any)[x] === typeValue)[0];\r\n\t}\r\n\r\n\tpublic showArchiveModal(attribute: ContactAttributeViewModel) {\r\n\t\tthis.selectedAttribute = attribute;\r\n\t\tthis.showArchiveAttributeModal = true;\r\n\t}\r\n\r\n\tpublic async archiveAttribute() {\r\n\t\tthis.showArchiveAttributeModal = false;\r\n\t\ttry {\r\n\t\t\tawait this.updateAttribute(this.selectedAttribute.id);\r\n\t\t\tToast.showSuccess(`Successfully archived attribute: ${this.selectedAttribute.name}`);\r\n\t\t} catch (err) {\r\n\t\t\tToast.showError(err.message);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getArchiveConfirmationMessage() {\r\n\t\treturn `Are you sure you want to archive attribute ${HtmlFormatter.escapeHtmlCharacters(this.selectedAttribute.name)}?`;\r\n\t}\r\n\r\n\tprivate getColumns(): DataTableColumn[] {\r\n\t\treturn [\r\n\t\t\t{\r\n\t\t\t\tdisplay: 'Name',\r\n\t\t\t\tname: 'name',\r\n\t\t\t\tclickable: (row: ContactAttributeViewModel) => !row.system && !row.archived\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tdisplay: 'Type',\r\n\t\t\t\tname: 'type'\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tdisplay: 'Description',\r\n\t\t\t\tname: 'description',\r\n\t\t\t\twrappable: true\r\n\t\t\t}\r\n\t\t];\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { Getter } from 'vuex-class';\r\nimport Toast from '@/shared/services/toast';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { googleBmApi } from '@/features/apps/googlebm/services/googlebmApi';\r\nimport {AgentTableRow} from '@/features/apps/googlebm/models/agentTableRow';\r\nimport {LaunchStatus} from '@/features/apps/googlebm/models/launchStatus';\r\n\r\n@Component({})\r\nexport default class GoogleBmUnlaunchModal extends Vue {\r\n\t@Getter public currentWorkspace: WorkspaceViewModel;\r\n\r\n\t@Prop() public item!: AgentTableRow;\r\n\r\n\t@Prop() public loading!: boolean;\r\n\r\n\tpublic async unlaunchAgent(): Promise {\r\n\t\tif (this.loading || !this.item) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.loading = true;\r\n\t\ttry {\r\n\t\t\tconst result = await this.sendUnlaunchRequest();\r\n\r\n\t\t\tthis.item.launchStatus = result.launchState;\r\n\t\t\tToast.showSuccess(`${this.itemTitle} unlaunched`);\r\n\t\t\tthis.$emit('unlaunch', result.launchState);\r\n\t\t} catch (e) {\r\n\t\t\tToast.showError(`${this.itemTitle} failed to unlaunch: ${e.message}`);\r\n\t\t}\r\n\t\tthis.loading = false;\r\n\t}\r\n\r\n\tprivate sendUnlaunchRequest(): Promise<{ launchState: LaunchStatus }> {\r\n\t\tif (this.item.rowType === 'agent') {\r\n\t\t\treturn googleBmApi.unlaunchAgent(this.currentWorkspace.id, this.item.customAgentId);\r\n\t\t} else {\r\n\t\t\treturn googleBmApi.unlaunchLocation(this.currentWorkspace.id, this.item.locationId);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic get itemTitle(): string {\r\n\t\treturn this.item.rowType === 'agent' ? 'Agent' : 'Location';\r\n\t}\r\n\r\n\tpublic get displayName(): string {\r\n\t\treturn this.item.rowType === 'agent' ? this.item.displayName : this.item.locationName;\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PrivateAppsList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PrivateAppsList.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\r\nimport PathPicker from './PathPicker.vue';\r\nimport {validationMixin} from 'vuelidate';\r\nimport {numeric, minValue} from 'vuelidate/lib/validators';\r\nimport HelpIcon from 'vue-material-design-icons/HelpCircleOutline.vue';\r\n\r\nconst greaterThan = (value: string, vm: any) => (parseInt(value, 10) >= parseInt(vm.minLength, 10) || vm.maxLength === '' || vm.minLength === '');\r\n@Component({\r\n\tcomponents: {\r\n\t\tPathPicker,\r\n\t\tHelpIcon\r\n\t},\r\n\tmixins: [\r\n\t\tvalidationMixin\r\n\t],\r\n\tvalidations: {\r\n\t\tminLength: {\r\n\t\t\tnumeric,\r\n\t\t\tminValue: minValue(0),\r\n\t\t},\r\n\t\tmaxLength: {\r\n\t\t\tnumeric,\r\n\t\t\tminValue: minValue(0),\r\n\t\t\tgreaterThan\r\n\t\t},\r\n\t}\r\n})\r\nexport default class InputPatternEditor extends Vue {\r\n\t@Prop() public value: string;\r\n\t@Prop({default: true}) public showType: boolean;\r\n\r\n\tpublic selectedType = '';\r\n\tpublic minLength = '';\r\n\tpublic maxLength = '';\r\n\r\n\tpublic availablePatternTypes: { [key: string]: string } = {\r\n\t\t'Any': '.',\r\n\t\t'Alphanumeric': '[a-zA-Z0-9]',\r\n\t\t'Letters Only': '[a-zA-Z]',\r\n\t\t'Numbers Only': '[0-9]',\r\n\t\t'Decimal': '(\\\\d+(\\\\.\\\\d{0,2})?|\\\\.?\\\\d{1,2})'\r\n\t};\r\n\r\n\t@Watch('value', { immediate: true })\r\n\tpublic onValueChanged(value: string, previous: string) {\r\n\t\tthis.parsePattern();\r\n\r\n\t\tthis.$v.$touch();\r\n\t\tthis.patternChanged();\r\n\t}\r\n\r\n\tpublic parsePattern() {\r\n\t\tif (!this.value || this.value.length === 0) {\r\n\t\t\tthis.selectedType = 'Any';\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.selectedType = this.getSelectedType() || 'Any';\r\n\r\n\t\tif (this.canBeAnyLength()) {\r\n\t\t\tthis.minLength = '';\r\n\t\t\tthis.maxLength = '';\r\n\t\t} else if (this.value.indexOf('{') > -1) {\r\n\t\t\tconst openingBrace = this.value.indexOf('{') + 1;\r\n\t\t\tconst closingBrace = this.value.indexOf('}');\r\n\t\t\tconst lengths = this.value.substring(openingBrace, closingBrace).split(',');\r\n\r\n\t\t\tthis.minLength = lengths[0];\r\n\t\t\tthis.maxLength = lengths[1];\r\n\t\t}\r\n\t}\r\n\r\n\tpublic buildPattern() {\r\n\t\tlet pattern: string = `${this.availablePatternTypes[this.selectedType]}`;\r\n\t\tif (this.selectedType === 'Decimal') {\r\n\t\t\tpattern = this.buildDecimalPattern(pattern);\r\n\t\t} else {\r\n\t\t\tif (this.minLength.length === 0 && this.maxLength.length === 0) {\r\n\t\t\t\tpattern += '+';\r\n\t\t\t} else {\r\n\t\t\t\tif (this.minLength.length === 0) {\r\n\t\t\t\t\tpattern += `{1,${this.maxLength}}`;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tpattern += `{${this.minLength},${this.maxLength}}`;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tpattern = `^${pattern}$`;\r\n\r\n\t\treturn pattern;\r\n\t}\r\n\r\n\tpublic patternChanged() {\r\n\t\tconst newPattern = this.buildPattern();\r\n\t\tthis.$emit('updated', { pattern: newPattern, invalid: this.$v.$invalid });\r\n\t}\r\n\r\n\tprivate getSelectedType() {\r\n\t\tconst keys = Object.keys(this.availablePatternTypes);\r\n\t\tkeys.shift();\r\n\t\treturn keys.find(key => this.value.indexOf(this.availablePatternTypes[key]) > -1);\r\n\t}\r\n\r\n\tprivate canBeAnyLength() {\r\n\t\tif (this.isRegexEndedWithPlusSymbol()) {\r\n\t\t\treturn true;\r\n\t\t} else if (this.selectedType === 'Decimal') {\r\n\t\t\treturn this.canDecimalBeAnyLength();\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n\r\n\tprivate isRegexEndedWithPlusSymbol() {\r\n\t\tconst regExWithoutStartEndLineCharacters = this.stripLineStartAndEndCharacters(this.value);\r\n\t\treturn regExWithoutStartEndLineCharacters.endsWith('+');\r\n\t}\r\n\r\n\tprivate canDecimalBeAnyLength() {\r\n\t\tconst regExWithoutStartEndLineCharacters = this.stripLineStartAndEndCharacters(this.value);\r\n\t\treturn this.isRegexDefaultDecimalRegex(regExWithoutStartEndLineCharacters);\r\n\t}\r\n\r\n\tprivate isRegexDefaultDecimalRegex(regex: string) {\r\n\t\treturn this.availablePatternTypes.Decimal === regex;\r\n\t}\r\n\r\n\tprivate stripLineStartAndEndCharacters(input: string) {\r\n\t\tif (input.startsWith('^') && input.endsWith('$')) {\r\n\t\t\treturn input.substring(1, input.length - 1);\r\n\t\t}\r\n\t\treturn input;\r\n\t}\r\n\r\n\tprivate buildDecimalPattern(pattern: string) {\r\n\t\tif (this.minLength.length || this.maxLength.length) {\r\n\t\t\tif (this.minLength.length === 0) {\r\n\t\t\t\tpattern = `(?=^.{1,${this.maxLength}}$)${pattern}`;\r\n\t\t\t} else {\r\n\t\t\t\tpattern = `(?=^.{${this.minLength},${this.maxLength}}$)${pattern}`;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn pattern;\r\n\t}\r\n\r\n\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"titled-section container\",class:{ 'has-icon': !!_vm.$slots.icon, 'left-gutter': !!_vm.$slots.icon && !_vm.alignContentLeft }},[_c('div',{staticClass:\"titled-section__heading\"},[_c('div',{staticClass:\"header columns\"},[_c('div',{staticClass:\"column\",class:!!_vm.$slots.actions ? 'is-9' : 'is-12'},[_c('div',{staticClass:\"section__header\"},[(_vm.$slots.icon)?_c('div',{staticClass:\"section__icon\",class:!_vm.iconColour ? 'section__icon__default' : '',style:({ color: _vm.iconColour })},[_vm._t(\"icon\")],2):_vm._e(),_c('div',{staticClass:\"titles\"},[_c('div',{staticClass:\"section__title\"},[_vm._t(\"title\")],2),_c('div',{staticClass:\"section__subtitle\"},[_vm._t(\"subtitle\")],2)])])]),(!!_vm.$slots.actions)?_c('div',{staticClass:\"column is-3 section__actions\"},[_vm._t(\"actions\")],2):_vm._e()])]),_c('div',{staticClass:\"titled-section__content\"},[_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page\"},[(_vm.loading)?_c('LoadingSpinner'):_vm._e(),(!_vm.loading)?_c('section',{staticClass:\"section content-container\"},[_c('div',{staticClass:\"container is-fluid\"},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column\"},[_c('div',{staticClass:\"island\"},[_c('nav',{staticClass:\"level\"},[_c('div',{staticClass:\"level-left\"}),_c('div',{staticClass:\"level-right\"},[_c('p',{staticClass:\"level-item\"},[_c('n-button',{attrs:{\"id\":\"add-answer-button\",\"button\":\"\",\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.addAnswer()}}},[_c('span',[_vm._v(\"Add FAQ\")])])],1)])]),_c('table',{staticClass:\"table is-fullwidth\"},[_vm._m(0),_vm._l((_vm.answers),function(answer){return _c('tr',{key:answer.id,staticClass:\"answer-row\"},[_c('td',[_c('router-link',{attrs:{\"to\":{ name: 'bots-answer-editor', params: { id: answer.id } }}},[_vm._v(_vm._s(answer.title))])],1),_c('td',[(answer.status === 'live')?_c('n-badge',{attrs:{\"variant\":\"success\"}},[_vm._v(\"Live\")]):_vm._e(),(answer.status === 'paused')?_c('n-badge',{attrs:{\"variant\":\"secondary\"}},[_vm._v(\"Paused\")]):_vm._e(),(answer.status === 'draft')?_c('n-badge',{attrs:{\"variant\":\"default\"}},[_vm._v(\"Draft\")]):_vm._e()],1),_c('td',{staticClass:\"menu-icon action\",attrs:{\"id\":\"drop-down-menu\"}},[_c('DropDownMenu',{attrs:{\"goLeft\":\"true\",\"dropDownIcon\":\"dots\"}},[_c('a',{staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.deleteAnswer(answer)}}},[_c('DeleteIcon'),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tDelete\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\")],1)])],1)])})],2),(_vm.showDeleteModal)?_c('ConfirmationModal',{attrs:{\"id\":\"delete-modal\",\"confirmationTitle\":\"Delete FAQ\",\"confirmationMessage\":_vm.getDeleteAnswerConfirmationMessage(),\"typeConfirmationValidationMessage\":_vm.answerToDelete.title,\"confirmButtonLabel\":\"Delete\"},on:{\"confirm\":function($event){return _vm.deleteAnswerConfirm()},\"cancel\":function($event){_vm.showDeleteModal = false}}}):_vm._e()],1)])])])]):_vm._e(),(_vm.showCreateModal)?_c('AddAnswerModal',{on:{\"close\":function($event){_vm.showCreateModal = false},\"answer-added\":function (answer) { return _vm.editAnswer(answer, true); }}}):_vm._e()],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('th',[_vm._v(\"Frequently Asked Question\")]),_c('th',{staticClass:\"status-column\"},[_vm._v(\"Status\")]),_c('th',[_vm._v(\" \")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport BusinessHoursSelection from '@/features/bots/components/businessHoursSelection/BusinessHoursSelection.vue';\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { ConditionViewModel } from '../models/conditionViewModel';\r\nimport { BusinessHoursViewModel } from '@/features/bots/models';\r\nimport { BusinessHoursOptions } from '@/features/bots/components/businessHoursSelection';\r\n\r\nexport enum ScheduleType {\r\n\tInHours,\r\n\tOutOfHours,\r\n\tCustomTimes\r\n}\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tBusinessHoursSelection\r\n\t}\r\n})\r\nexport default class TimeOfDayCondition extends Vue {\r\n\t@Prop() public condition: ConditionViewModel;\r\n\r\n\tpublic customTimes: BusinessHoursViewModel[] = [];\r\n\tpublic scheduleType: ScheduleType = ScheduleType.InHours;\r\n\r\n\tpublic timeOfDayOptions = [\r\n\t\t{ value: ScheduleType.InHours, label: 'In hours' },\r\n\t\t{ value: ScheduleType.OutOfHours, label: 'Out of hours' },\r\n\t\t{ value: ScheduleType.CustomTimes, label: 'Custom' }\r\n\t];\r\n\r\n\tpublic liveCondition: ConditionViewModel = {\r\n\t\tattribute: '',\r\n\t\toperation: '',\r\n\t\ttype: '',\r\n\t\tvalue: '',\r\n\t\tresult: true\r\n\t};\r\n\r\n\tpublic mounted() {\r\n\t\tthis.liveCondition = this.condition;\r\n\t\tthis.setConditionType();\r\n\t\tthis.handleSelectionChange(this.scheduleType);\r\n\t}\r\n\r\n\tpublic handleSelectionChange(type: ScheduleType): void {\r\n\t\tthis.scheduleType = type;\r\n\t\tif (type === ScheduleType.InHours) {\r\n\t\t\tthis.selectInHours();\r\n\t\t} else if (type === ScheduleType.OutOfHours) {\r\n\t\t\tthis.selectInHours(false);\r\n\t\t} else if (type === ScheduleType.CustomTimes) {\r\n\t\t\tthis.selectCustomSchedule();\r\n\t\t}\r\n\t\tthis.$emit('changed', this.liveCondition);\r\n\t}\r\n\r\n\tpublic customScheduleChanged() {\r\n\t\tthis.liveCondition.result = true;\r\n\t\tthis.liveCondition.value = JSON.stringify(this.customTimes);\r\n\t\tthis.$emit('changed', this.liveCondition);\r\n\t}\r\n\r\n\tpublic customScheduleInvalid(invalid: boolean) {\r\n\t\tthis.liveCondition.invalid = invalid;\r\n\t}\r\n\r\n\tpublic complete() {\r\n\t\tthis.$emit('completed', this.liveCondition);\r\n\t}\r\n\r\n\tprivate selectInHours(isInHours: boolean = true) {\r\n\t\tthis.liveCondition = {\r\n\t\t\tattribute: this.condition.attribute,\r\n\t\t\toperation: 'in',\r\n\t\t\ttype: this.condition.type,\r\n\t\t\tvalue: 'bot.openingTimes',\r\n\t\t\tresult: isInHours,\r\n\t\t\tunit: this.condition.unit,\r\n\t\t\tinvalid: false\r\n\t\t};\r\n\t}\r\n\r\n\tprivate setConditionType() {\r\n\t\tif (!this.liveCondition.value) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (this.liveCondition.value === 'bot.openingTimes') {\r\n\t\t\tthis.scheduleType = this.liveCondition.result ? ScheduleType.InHours : ScheduleType.OutOfHours;\r\n\t\t} else {\r\n\t\t\tthis.scheduleType = ScheduleType.CustomTimes;\r\n\t\t}\r\n\t}\r\n\r\n\tprivate selectCustomSchedule() {\r\n\t\tthis.liveCondition.result = true;\r\n\t\ttry {\r\n\t\t\tthis.customTimes = JSON.parse(this.liveCondition.value);\r\n\t\t} catch {\r\n\t\t\tthis.customTimes = [BusinessHoursOptions.getDefaultModel()];\r\n\t\t\tthis.liveCondition.value = JSON.stringify([BusinessHoursOptions.getDefaultModel()]);\r\n\t\t}\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('modal',{on:{\"cancel\":_vm.closeModal},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"modal-card-title\"},[_vm._v(\"Update Holiday\")])]},proxy:true},{key:\"body\",fn:function(){return [_c('fieldset',[_c('div',{staticClass:\"field\"},[_c('n-text-input',{ref:\"nameInput\",attrs:{\"label\":\"Name\",\"id\":\"name\",\"errorMessage\":_vm.getErrorMessage(_vm.$v, 'name', 'Name')},on:{\"input\":function($event){return _vm.$v.name.$touch()}},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:\"name\"}})],1),_c('div',{staticClass:\"form-item\"},[_c('label',[_vm._v(\"\\n\\t\\t\\t\\t\\tOn\\n\\t\\t\\t\\t\\t\"),_c('n-tooltip',{attrs:{\"position\":\"right\",\"text\":\"Previously added holidays now in the past will automatically be removed\"}})],1)]),_c('ul',[_c('transition-group',{attrs:{\"name\":\"fade\"}},_vm._l((_vm.dates),function(d,index){return _c('li',{key:d.key,staticClass:\"date-list-item\"},[_c('div',{staticClass:\"date-item\"},[_c('n-date-picker',{ref:\"dateInput\",refInFor:true,attrs:{\"min\":new Date(),\"errorMessage\":_vm.getErrorMessage(_vm.$v.dates.$each[index], 'date', 'Date')},on:{\"input\":function($event){return _vm.$v.dates.$each[index].date.$touch()}},model:{value:(d.date),callback:function ($$v) {_vm.$set(d, \"date\", $$v)},expression:\"d.date\"}}),_c('div',{staticClass:\"icon-container\"},[_c('svg',{staticClass:\"trash-icon\",on:{\"click\":function($event){return _vm.deleteDate(index)}}},[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":\"#trash\"}})])])],1)])}),0),_c('li',{staticClass:\"date-list-item add-item-wrapper\"},[_c('n-button',{attrs:{\"variant\":\"ghost\",\"icon\":\"add\",\"disabled\":_vm.updateInProgress},on:{\"click\":_vm.addDate}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tAdd Date\\n\\t\\t\\t\\t\\t\")]),(!_vm.$v.dates.$each[0])?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tYou must add at least one date\\n\\t\\t\\t\\t\\t\")]):_vm._e()],1)],1)])]},proxy:true},{key:\"buttons\",fn:function(){return [_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\",\"disabled\":_vm.$v.$invalid,\"loading\":_vm.updateInProgress},on:{\"click\":_vm.update}},[_vm._v(\"\\n\\t\\t\\t\\tUpdate Holiday\\n\\t\\t\\t\")]),_c('n-button',{attrs:{\"disabled\":_vm.updateInProgress},on:{\"click\":_vm.closeModal}},[_vm._v(\"Cancel\")])],1)]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Vue, Prop, Watch} from 'vue-property-decorator';\r\nimport {InputVariableViewModel, StateViewModel} from '@/features/bots/models/designer';\r\nimport { mixin as clickaway } from 'vue-clickaway';\r\nimport ActionBar from '@/features/bots/components/designer/TextEditor/ActionBar.vue';\r\nimport VariableBadge from './VariableBadge.vue';\r\nimport Toast from '@/shared/services/toast';\r\nimport shortid from 'shortid';\r\nimport HtmlFormatter from '@/shared/services/htmlFormatter';\r\nimport { Getter } from 'vuex-class';\r\nimport { ContactAttributeViewModel } from '@/messaging/models/ContactAttributeViewModel';\r\nimport { ContactAttributeType } from '@/messaging/models/contactAttributeType';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tActionBar\r\n\t},\r\n\tmixins: [clickaway],\r\n})\r\nexport default class TextEditor extends Vue {\r\n\t@Prop() public value: string;\r\n\t@Prop() public placeholder: string;\r\n\t@Prop({default: true}) public showVariablePicker: boolean;\r\n\t@Getter public getAttribute!: (attributeId: string) => ContactAttributeViewModel | undefined;\r\n\t@Getter public contactAttributes!: ContactAttributeViewModel[];\r\n\r\n\tpublic variableIds: string[] = [];\r\n\tpublic selection: any = null;\r\n\r\n\tpublic text: string = '';\r\n\tpublic isEditing: boolean = false;\r\n\tpublic editableTextId: string = '';\r\n\r\n\tpublic idAndVariable = new Map();\r\n\tprivate editableDiv: HTMLDivElement;\r\n\tprivate containsInvalidAttribute: boolean;\r\n\r\n\t@Watch('contactAttributes', { immediate: true })\r\n\tpublic onAttributesChanged(value: StateViewModel, previous: StateViewModel) {\r\n\t\tthis.reevaluateBadgeComponent();\r\n\t}\r\n\r\n\tpublic beforeMount() {\r\n\t\tthis.editableTextId = shortid.generate();\r\n\t}\r\n\r\n\tpublic mounted() {\r\n\t\tthis.editableDiv = this.$refs[this.editableTextId] as HTMLDivElement;\r\n\t\tthis.setupEditableDivEvents();\r\n\t\tlet newValue = this.value;\r\n\t\tthis.editableDiv.focus();\r\n\t\tthis.restoreSelection();\r\n\t\tnewValue = HtmlFormatter.escapeHtmlCharacters(newValue);\r\n\t\tnewValue = HtmlFormatter.convertNewLinesToBreaks(newValue);\r\n\r\n\t\tif (this.showVariablePicker && this.containsVariable()) {\r\n\t\t\tnewValue = this.convertVariablesToHtml(newValue);\r\n\t\t\tHtmlFormatter.pasteHtmlAtCaret(newValue);\r\n\t\t\tfor (const id of this.variableIds) {\r\n\t\t\t\tthis.insertVariableBadgeElement(id);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tHtmlFormatter.pasteHtmlAtCaret(newValue);\r\n\t\t}\r\n\r\n\t\tHtmlFormatter.setCaretAtTheEndOfContentEditable(this.editableDiv);\r\n\r\n\t\t// blur the element if it already has a value\r\n\t\tif (this.value.length && this.value.length > 0) {\r\n\t\t\tthis.blurElement();\r\n\t\t}\r\n\t\tthis.$emit('error', this.containsInvalidAttribute);\r\n\t}\r\n\r\n\tpublic hasText() {\r\n\t\treturn this.text && this.text.length > 0;\r\n\t}\r\n\r\n\tpublic startEditing() {\r\n\t\tthis.isEditing = true;\r\n\t\tthis.focusElement();\r\n\t}\r\n\r\n\tpublic finishEditing(event: any) {\r\n\t\tif (!this.isEditing) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (this.hasClickedTooltip(event)) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.isEditing = false;\r\n\t\tthis.editableDiv.blur();\r\n\r\n\t\tthis.convertToProcessableText();\r\n\t\tthis.$emit('error', this.containsInvalidAttribute);\r\n\t}\r\n\r\n\tpublic addVariable(variable: InputVariableViewModel) {\r\n\t\tthis.editableDiv.focus();\r\n\t\tthis.restoreSelection();\r\n\t\tconst id = `pill-${shortid.generate()}`;\r\n\t\tthis.variableIds.push(id);\r\n\t\tconst inputAsHtml = `
`;\r\n\r\n\t\tHtmlFormatter.pasteHtmlAtCaret(inputAsHtml);\r\n\r\n\t\tthis.createVariableBadgeComponent(id, variable);\r\n\t\tHtmlFormatter.setCaretAfterElement(id);\r\n\t}\r\n\r\n\tpublic addEmoji(emoji: any) {\r\n\t\tthis.editableDiv.focus();\r\n\t\tthis.restoreSelection();\r\n\t\tHtmlFormatter.pasteHtmlAtCaret(emoji);\r\n\t}\r\n\r\n\tpublic getPlaceholder() {\r\n\t\treturn this.placeholder ? this.placeholder : ' ';\r\n\t}\r\n\r\n\tpublic saveSelection() {\r\n\t\tthis.isEditing = true;\r\n\t\tthis.selection = HtmlFormatter.getSelection();\r\n\t}\r\n\r\n\tpublic focusElement() {\r\n\t\tthis.editableDiv.focus();\r\n\t\tif (this.editableDiv.innerText?.length === 0) {\r\n\t\t\tHtmlFormatter.setCaretAtTheEndOfContentEditable(this.editableDiv);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate blurElement() {\r\n\t\tthis.editableDiv.blur();\r\n\t}\r\n\r\n\tprivate insertVariableBadgeElement(id: string) {\r\n\t\tconst variable = this.idAndVariable.get(id);\r\n\t\tif (variable) {\r\n\t\t\tthis.createVariableBadgeComponent(id, variable);\r\n\t\t}\r\n\t\tHtmlFormatter.setCaretAtTheEndOfContentEditable(this.editableDiv);\r\n\t}\r\n\r\n\tprivate containsVariable() {\r\n\t\treturn this.value.includes('{{');\r\n\t}\r\n\r\n\tprivate hasClickedTooltip(event: any) {\r\n\t\treturn event && event.toElement\r\n\t\t\t&& event.toElement.className\r\n\t\t\t&& typeof(event.toElement.className) === 'string'\r\n\t\t\t&& (event.toElement.className.startsWith('tooltip') || event.toElement.className.startsWith('fallback-text'));\r\n\t}\r\n\r\n\tprivate setupEditableDivEvents() {\r\n\r\n\t\tif (this.editableDiv) {\r\n\t\t\tthis.editableDiv.addEventListener('paste', (e: ClipboardEvent) => {\r\n\t\t\t\te.preventDefault();\r\n\t\t\t\tif (e && e.clipboardData) {\r\n\t\t\t\t\tlet text = e.clipboardData.getData('text/plain');\r\n\t\t\t\t\ttext = HtmlFormatter.escapeHtmlCharacters(text);\r\n\t\t\t\t\ttext = HtmlFormatter.convertNewLinesToBreaks(text);\r\n\t\t\t\t\tdocument.execCommand('insertHTML', false, text);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\tthis.editableDiv.addEventListener('keydown', (e: KeyboardEvent) => {\r\n\t\t\t\tconst bannedCommands = 'iIbBuU';\r\n\t\t\t\tif (e.ctrlKey && bannedCommands.includes(e.key)) {\r\n\t\t\t\t\te.preventDefault();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\tprivate restoreSelection() {\r\n\t\tif (this.selection) {\r\n\t\t\tHtmlFormatter.setSelection(this.selection);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate convertVariablesToHtml(newValue: string) {\r\n\t\tconst regexForVariable = /{{.*?.}}/;\r\n\t\twhile (regexForVariable.exec(newValue)) {\r\n\t\t\tconst variableRegArray = regexForVariable.exec(newValue);\r\n\t\t\tif (variableRegArray && variableRegArray[0]) {\r\n\t\t\t\tnewValue = this.convertVariableToHtml(variableRegArray, newValue);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn newValue;\r\n\t}\r\n\r\n\tprivate createVariableBadgeComponent(id: string, variable: InputVariableViewModel) {\r\n\t\tconst vmComponent = new Vue({\r\n\t\t\trender: (h) => h(VariableBadge, {\r\n\t\t\t\tprops: {\r\n\t\t\t\t\tid,\r\n\t\t\t\t\tvariable,\r\n\t\t\t\t\tfallback: variable.fallback ? variable.fallback : ''\r\n\t\t\t\t},\r\n\t\t\t\ton: {\r\n\t\t\t\t\tclosedFallback: this.finishEditing\r\n\t\t\t\t}}),\r\n\t\t});\r\n\t\tconst mountedInstance = vmComponent.$mount(`#${id}`);\r\n\t\tvariable.id = id;\r\n\t\tthis.$refs[id] = (mountedInstance as any)._vnode.componentInstance;\r\n\t}\r\n\r\n\tprivate convertToProcessableText() {\r\n\t\tif (this.editableDiv) {\r\n\t\t\tlet html = this.editableDiv.innerHTML;\r\n\t\t\thtml = this.convertHtmlElementsToVariables(html);\r\n\t\t\thtml = HtmlFormatter.cleanseHtml(html);\r\n\t\t\thtml = HtmlFormatter.convertEscapedHtmlToString(html);\r\n\t\t\tthis.$emit('text-updated', html);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate convertHtmlElementsToVariables(html: string) {\r\n\t\tthis.containsInvalidAttribute = false;\r\n\t\tfor (const id of this.variableIds) {\r\n\t\t\tconst currentVariable = document.getElementById(id) as HTMLElement;\r\n\t\t\tif (currentVariable) {\r\n\t\t\t\thtml = this.convertHtmlElementToVariable(currentVariable, html);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn html;\r\n\t}\r\n\r\n\tprivate convertHtmlElementToVariable(currentVariable: HTMLElement, html: string): string {\r\n\t\tconst pillElements = currentVariable.getElementsByClassName('pill');\r\n\t\tif (this.pillsContainInvalidAttribute(pillElements)) {\r\n\t\t\tthis.containsInvalidAttribute = true;\r\n\t\t}\r\n\t\tif (pillElements.length > 0 && pillElements[0]) {\r\n\t\t\tconst elementWithData = pillElements[0];\r\n\t\t\tconst fallback = elementWithData.getAttribute('data-fallback');\r\n\t\t\tconst scope = elementWithData.getAttribute('data-scope');\r\n\t\t\tconst key = elementWithData.getAttribute('data-key');\r\n\t\t\tconst elementAsHtml = currentVariable.outerHTML;\r\n\t\t\tlet scopePrefix = '';\r\n\t\t\tif (scope === 'appUser' || scope === 'appUser.customAttributes') {\r\n\t\t\t\tscopePrefix = `${scope}.`;\r\n\t\t\t}\r\n\t\t\thtml = this.replaceHtmlWithVariable(fallback, html, elementAsHtml, scopePrefix, key);\r\n\t\t}\r\n\t\treturn html;\r\n\t}\r\n\r\n\tprivate pillsContainInvalidAttribute(pillElements: HTMLCollectionOf) {\r\n\t\tfor (const pillElement of pillElements) {\r\n\t\t\tif (this.pillIsInvalid(pillElement)) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n\r\n\tprivate replaceHtmlWithVariable(fallback: string | null, html: string, elementAsHtml: string, scopePrefix: string, key: string | null): string {\r\n\t\tif (!key) {\r\n\t\t\tToast.showError('There was an error');\r\n\t\t}\r\n\t\tif (fallback) {\r\n\t\t\thtml = html.replace(elementAsHtml, `{{${scopePrefix}${key}|'${fallback}'}}`);\r\n\t\t} else {\r\n\t\t\thtml = html.replace(elementAsHtml, `{{${scopePrefix}${key}|''}}`);\r\n\t\t}\r\n\t\treturn html;\r\n\t}\r\n\r\n\tprivate convertVariableToHtml(variableRegArray: any[], newValue: string) {\r\n\t\tconst regexForVariable = /{{.*?.}}/;\r\n\t\tconst variableWithBracket = variableRegArray[0];\r\n\t\tconst variableWithoutBracket = variableWithBracket.substring(2, variableWithBracket.length - 2);\r\n\r\n\t\tconst variableData = variableWithoutBracket.split('|');\r\n\t\tconst variableSyntax = variableData[0];\r\n\t\tconst fallback = variableData[1];\r\n\r\n\t\tconst variable = this.extractVariableAndScope(variableSyntax);\r\n\r\n\t\tvariable.fallback = fallback.substring(1, fallback.length - 1);\r\n\t\tconst id = `pill-${shortid.generate()}`;\r\n\t\tthis.variableIds.push(id);\r\n\r\n\t\tthis.idAndVariable.set(id, variable);\r\n\r\n\t\tconst inputAsHtml = `
`;\r\n\r\n\t\tnewValue = newValue.replace(regexForVariable, inputAsHtml);\r\n\r\n\t\tthis.editableDiv.focus();\r\n\t\treturn newValue;\r\n\t}\r\n\r\n\tprivate extractVariableAndScope(variableSyntax: string): InputVariableViewModel {\r\n\t\tconst syntaxParts = variableSyntax.split('.');\r\n\r\n\t\tif (syntaxParts[2]) {\r\n\t\t\treturn this.convertCustomAttributeVariable(syntaxParts);\r\n\t\t} else if (syntaxParts[1]) {\r\n\t\t\treturn this.convertSystemVariable(syntaxParts);\r\n\t\t} else {\r\n\t\t\treturn {\r\n\t\t\t\tid: '',\r\n\t\t\t\tkey: syntaxParts[0].trim(),\r\n\t\t\t\tname: syntaxParts[0].trim(),\r\n\t\t\t\tscope: 'flow'\r\n\t\t\t} as InputVariableViewModel;\r\n\t\t}\r\n\t}\r\n\r\n\tprivate convertCustomAttributeVariable(value: string[]): InputVariableViewModel {\r\n\t\tlet dataType = ContactAttributeType.Text;\r\n\t\tconst variableScope = `${value[0]}.${value[1]}`;\r\n\t\tconst variableKey = value[2].trim();\r\n\t\tlet variableName = variableKey;\r\n\t\tlet error = '';\r\n\t\tconst contactAttribute = this.getAttribute(variableKey);\r\n\t\tif (contactAttribute) {\r\n\t\t\tdataType = contactAttribute.type;\r\n\t\t\tvariableName = contactAttribute.name;\r\n\r\n\t\t\tif (contactAttribute.archived) {\r\n\t\t\t\terror = 'Attribute has been archived';\r\n\t\t\t\tthis.containsInvalidAttribute = true;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\terror = 'Attribute doesn\\'t exist';\r\n\t\t\tthis.containsInvalidAttribute = true;\r\n\t\t}\r\n\t\treturn {\r\n\t\t\tid: '',\r\n\t\t\tkey : variableKey,\r\n\t\t\tname: variableName,\r\n\t\t\tscope: variableScope,\r\n\t\t\tdataType,\r\n\t\t\terror\r\n\t\t} as InputVariableViewModel;\r\n\t}\r\n\r\n\tprivate convertSystemVariable(value: string[]): InputVariableViewModel {\r\n\t\tconst variableScope = value[0].trim();\r\n\t\tconst variableKey = value[1].trim();\r\n\t\tlet variableName = variableKey;\r\n\t\tlet dataType = ContactAttributeType.Text;\r\n\t\tconst contactAttribute = this.getAttribute(variableKey);\r\n\t\tif (contactAttribute) {\r\n\t\t\tvariableName = contactAttribute.name;\r\n\t\t\tdataType = contactAttribute.type;\r\n\t\t}\r\n\t\tif (variableKey === 'surname') {\r\n\t\t\tvariableName = 'Last Name';\r\n\t\t} else if (variableKey === 'givenName') {\r\n\t\t\tvariableName = 'First Name';\r\n\t\t}\r\n\t\treturn {\r\n\t\t\tid : '',\r\n\t\t\tkey : variableKey,\r\n\t\t\tname: variableName,\r\n\t\t\tscope: variableScope\r\n\t\t} as InputVariableViewModel;\r\n\t}\r\n\r\n\tprivate reevaluateBadgeComponent() {\r\n\t\tthis.idAndVariable.forEach((variable) => {\r\n\t\t\tif (variable.error) {\r\n\t\t\t\tthis.reevaluateInvalidBadgeComponent(variable);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tprivate reevaluateInvalidBadgeComponent(variable: InputVariableViewModel) {\r\n\t\tconst contactAttribute = this.getAttribute(variable.key);\r\n\t\tif (contactAttribute) { // Previously missing attribute now exists, clear error\r\n\t\t\tvariable.error = '';\r\n\t\t\tvariable.dataType = contactAttribute.type;\r\n\t\t\tvariable.name = contactAttribute.name;\r\n\r\n\t\t\tconst badge = this.$refs[variable.id] as VariableBadge;\r\n\t\t\tbadge.update();\r\n\t\t}\r\n\t}\r\n\r\n\tprivate pillIsInvalid(pillElement: Element) {\r\n\t\tconst key = pillElement.getAttribute('data-key');\r\n\t\tconst scope = pillElement.getAttribute('data-scope');\r\n\t\tif (key && scope === 'appUser.customAttributes') {\r\n\t\t\tconst attribute = this.getAttribute(key);\r\n\t\t\tif (attribute && attribute.archived || !attribute) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppModal.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowSelector.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowSelector.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('n-modal',{on:{\"cancel\":function($event){return _vm.$emit('cancel')}},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"modal-card-title\"},[_vm._v(\"Unlaunch\")])]},proxy:true},{key:\"body\",fn:function(){return [_c('p',[_vm._v(\"Are you sure you want to unlaunch \"),_c('b',[_vm._v(_vm._s(_vm.displayName))]),_vm._v(\"?\")])]},proxy:true},{key:\"buttons\",fn:function(){return [_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\",\"loading\":_vm.loading},on:{\"click\":_vm.unlaunchAgent}},[_vm._v(\"Unlaunch\")]),_c('n-button',{attrs:{\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.$emit('cancel')}}},[_vm._v(\"Cancel\")])],1)]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./GoToComponent.vue?vue&type=template&id=2e94231d&scoped=true\"\nimport script from \"./GoToComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./GoToComponent.vue?vue&type=script&lang=ts\"\nimport style0 from \"./GoToComponent.vue?vue&type=style&index=0&id=2e94231d&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2e94231d\",\n null\n \n)\n\nexport default component.exports","import { api } from '@/shared/services/baseApiClient';\r\nimport { config } from '@/config/config';\r\nimport urljoin from 'url-join';\r\nimport {\r\n\tBotConfigurationViewModel,\r\n\tBusinessHoursViewModel,\r\n} from '@/features/bots/models';\r\nimport { InstallBotViewModel } from '@/features/bots/models';\r\nimport { UpdateBotViewModel } from '@/features/bots/models';\r\nimport { AppConfigViewModel } from '@/features/apps/shared/models';\r\nimport { AppInitViewModel } from '@/features/apps/shared/models/appInitViewModel';\r\nimport { HolidayViewModel } from '@/features/bots/models/holidayViewModel';\r\nimport { ExecuteTestBotViewModel } from '@/features/bots/models/request/executeTestBotViewModel';\r\nimport { BotTestResponseViewModel } from '@/features/bots/models/botTestResponseViewModel';\r\nimport { BotAppInitViewModel } from '../models/request/botAppInitViewModel';\r\nimport { BotAppSubmitViewModel } from '@/features/bots/models/request/botAppSubmitViewModel';\r\nimport { AppSubmitViewModel } from '@/features/apps/shared/models/appSubmitViewModel';\r\n\r\nclass BotsApiService {\r\n\tprivate version = 'v1';\r\n\r\n\tpublic install(\r\n\t\trequest: InstallBotViewModel\r\n\t): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'POST',\r\n\t\t\turljoin(this.host, this.version, 'app/install'),\r\n\t\t\trequest\r\n\t\t);\r\n\t}\r\n\r\n\tpublic update(workspaceId: string, bot: BotConfigurationViewModel) {\r\n\t\tconst request = bot as UpdateBotViewModel;\r\n\t\trequest.workspaceId = workspaceId;\r\n\t\treturn api.send(\r\n\t\t\t'POST',\r\n\t\t\turljoin(this.host, this.version, 'app/update'),\r\n\t\t\tbot\r\n\t\t);\r\n\t}\r\n\r\n\tpublic get(workspaceId: string): Promise {\r\n\t\treturn api.send(\r\n\t\t\t'GET',\r\n\t\t\turljoin(this.host, this.version, `app?workspaceId=${workspaceId}`)\r\n\t\t);\r\n\t}\r\n\r\n\tpublic async botAppConfig(\r\n\t\tworkspaceId: string,\r\n\t\tinstalledAppId: string,\r\n\t\tinputData: { [key: string]: string },\r\n\t\tstoredData: { [key: string]: string },\r\n\t\tcomponentId?: string\r\n\t): Promise {\r\n\t\tconst request = {\r\n\t\t\tinputData,\r\n\t\t\tstoredData,\r\n\t\t\tcomponentId,\r\n\t\t};\r\n\t\tconst url = urljoin(\r\n\t\t\tthis.host,\r\n\t\t\tthis.version,\r\n\t\t\t'workspaces',\r\n\t\t\tworkspaceId,\r\n\t\t\t'apps',\r\n\t\t\tinstalledAppId,\r\n\t\t\t'config'\r\n\t\t);\r\n\t\tconst response: any = await api.send('POST', url, request);\r\n\t\tif (typeof response.panel === 'string') {\r\n\t\t\tresponse.panel = {\r\n\t\t\t\tcomponents: JSON.parse(response.panel),\r\n\t\t\t\tstoredData: {},\r\n\t\t\t};\r\n\t\t}\r\n\t\treturn response;\r\n\t}\r\n\r\n\tpublic async botAppInit(workspaceId: string, installedAppId: string, request: BotAppInitViewModel): Promise {\r\n\t\tconst url = urljoin(this.host, this.version, 'workspaces', workspaceId, 'apps', installedAppId, 'init');\r\n\t\tconst response: any = await api.send('POST', url, request);\r\n\t\tif (typeof response.panel === 'string') {\r\n\t\t\tresponse.panel = {\r\n\t\t\t\tcomponents: JSON.parse(response.panel),\r\n\t\t\t\tstoredData: {},\r\n\t\t\t};\r\n\t\t}\r\n\t\treturn response;\r\n\t}\r\n\r\n\tpublic async botAppSubmit(workspaceId: string, installedAppId: string, request: BotAppSubmitViewModel): Promise {\r\n\t\tconst url = urljoin(this.host, this.version, 'workspaces', workspaceId, 'apps', installedAppId, 'submit');\r\n\t\treturn await api.send('POST', url, request);\r\n\t}\r\n\r\n\tpublic async getHolidays(botId: string): Promise {\r\n\t\tconst url = urljoin(\r\n\t\t\tthis.host,\r\n\t\t\tthis.version,\r\n\t\t\t'bots',\r\n\t\t\tbotId,\r\n\t\t\t'holidays'\r\n\t\t);\r\n\t\tconst holidays: HolidayViewModel[] = await api.send('GET', url);\r\n\t\treturn holidays.map(this.convertIso8601ToDate);\r\n\t}\r\n\r\n\tpublic async createHoliday(\r\n\t\tbotId: string,\r\n\t\trequest: HolidayViewModel\r\n\t): Promise {\r\n\t\tconst url = urljoin(\r\n\t\t\tthis.host,\r\n\t\t\tthis.version,\r\n\t\t\t'bots',\r\n\t\t\tbotId,\r\n\t\t\t'holidays'\r\n\t\t);\r\n\t\tconst holiday: HolidayViewModel = await api.send('POST', url, request);\r\n\t\treturn this.convertIso8601ToDate(holiday);\r\n\t}\r\n\r\n\tpublic async updateHoliday(\r\n\t\tbotId: string,\r\n\t\trequest: HolidayViewModel\r\n\t): Promise {\r\n\t\tconst url = urljoin(\r\n\t\t\tthis.host,\r\n\t\t\tthis.version,\r\n\t\t\t'bots',\r\n\t\t\tbotId,\r\n\t\t\t'holidays',\r\n\t\t\trequest.id!\r\n\t\t);\r\n\t\tconst holiday: HolidayViewModel = await api.send('PUT', url, request);\r\n\t\treturn this.convertIso8601ToDate(holiday);\r\n\t}\r\n\r\n\tpublic deleteHoliday(\r\n\t\tbotId: string,\r\n\t\tholidayId: string\r\n\t): Promise {\r\n\t\tconst url = urljoin(\r\n\t\t\tthis.host,\r\n\t\t\tthis.version,\r\n\t\t\t'bots',\r\n\t\t\tbotId,\r\n\t\t\t'holidays',\r\n\t\t\tholidayId\r\n\t\t);\r\n\t\treturn api.send('DELETE', url, holidayId);\r\n\t}\r\n\r\n\tpublic getBusinessHours(\r\n\t\tworkspaceId: string\r\n\t): Promise {\r\n\t\tconst url = urljoin(\r\n\t\t\tthis.host,\r\n\t\t\tthis.version,\r\n\t\t\t'bots',\r\n\t\t\tworkspaceId,\r\n\t\t\t'businesshours'\r\n\t\t);\r\n\t\treturn api.send('GET', url);\r\n\t}\r\n\r\n\tpublic updateBusinessHours(\r\n\t\tworkspaceId: string,\r\n\t\tbusinessHours: BusinessHoursViewModel[]\r\n\t) {\r\n\t\tconst url = urljoin(\r\n\t\t\tthis.host,\r\n\t\t\tthis.version,\r\n\t\t\t'bots',\r\n\t\t\tworkspaceId,\r\n\t\t\t'businesshours'\r\n\t\t);\r\n\t\treturn api.send('POST', url, businessHours);\r\n\t}\r\n\r\n\tpublic sendTestBotEvent(\r\n\t\tworkspaceId: string,\r\n\t\trequest: ExecuteTestBotViewModel\r\n\t): Promise {\r\n\t\treturn api.send('POST', urljoin(this.host, this.version, 'bots', workspaceId, 'test'), request);\r\n\t}\r\n\r\n\tpublic deleteSession(\r\n\t\tworkspaceId: string,\r\n\t\tsessionId: string\r\n\t): Promise {\r\n\t\treturn api.send('DELETE', urljoin(this.host, this.version, 'bots', workspaceId, 'sessions', sessionId));\r\n\t}\r\n\r\n\tprivate get host() {\r\n\t\treturn config().botsHost;\r\n\t}\r\n\r\n\tprivate convertIso8601ToDate(holiday: HolidayViewModel) {\r\n\t\tholiday.dates = holiday.dates.map(\r\n\t\t\t(iso8601) => new Date(Date.parse(String(iso8601)))\r\n\t\t);\r\n\t\treturn holiday;\r\n\t}\r\n}\r\n\r\nexport const botsApi = new BotsApiService();\r\n","import { render, staticRenderFns } from \"./HumanHandoverComponent.vue?vue&type=template&id=65d2ed2e&scoped=true\"\nimport script from \"./HumanHandoverComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./HumanHandoverComponent.vue?vue&type=script&lang=ts\"\nimport style0 from \"./HumanHandoverComponent.vue?vue&type=style&index=0&id=65d2ed2e&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"65d2ed2e\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./PersonSearchIcon.vue?vue&type=template&id=f7decbc2&scoped=true\"\nimport script from \"./PersonSearchIcon.vue?vue&type=script&lang=ts\"\nexport * from \"./PersonSearchIcon.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f7decbc2\",\n null\n \n)\n\nexport default component.exports","import { GetterTree } from 'vuex';\r\nimport { AppState } from '.';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { PublishedApp } from '@/features/apps/shared/models';\r\n\r\nexport const getters: GetterTree = {\r\n\tworkspaceId(state: AppState): string {\r\n\t\treturn state.currentWorkspace.id;\r\n\t},\r\n\tworkspaces(state: AppState): WorkspaceViewModel[] {\r\n\t\treturn state.workspaces;\r\n\t},\r\n\tcurrentWorkspace(state: AppState): WorkspaceViewModel {\r\n\t\treturn state.currentWorkspace;\r\n\t},\r\n\tcurrentApp(state: AppState): PublishedApp | null {\r\n\t\treturn state.currentApp;\r\n\t},\r\n\terror(state: AppState): string {\r\n\t\treturn state.error;\r\n\t},\r\n\tisWorkspaceFeatureEnabled(state: AppState): (key: string, defaultValue?: boolean) => boolean {\r\n\t\treturn (featureName, defaultValue) => {\r\n\t\t\tif (state.currentWorkspace && state.currentWorkspace.features) {\r\n\t\t\t\tif (state.currentWorkspace.features[featureName] === undefined) {\r\n\t\t\t\t\treturn !!defaultValue;\r\n\t\t\t\t}\r\n\t\t\t\treturn state.currentWorkspace.features[featureName];\r\n\t\t\t}\r\n\t\t\treturn !!defaultValue;\r\n\t\t};\r\n\t},\r\n\thasInstalledApps(state: AppState): boolean {\r\n\t\treturn state.installedApps.length !== 0;\r\n\t},\r\n\tisAppInstalled(state: AppState): (appId: string) => boolean | null {\r\n\t\treturn (appId: string) => {\r\n\t\t\treturn state.installedApps!.includes(appId);\r\n\t\t};\r\n\t},\r\n\tworkspaceUsageLimit(state: AppState): (usageLimitType: string) => number {\r\n\t\treturn (usageLimitType: string) => {\r\n\t\t\tif (!state.currentWorkspace || !state.currentWorkspace.usageLimits || !state.currentWorkspace.usageLimits[usageLimitType]) {\r\n\t\t\t\treturn 0;\r\n\t\t\t}\r\n\t\t\treturn state.currentWorkspace.usageLimits[usageLimitType];\r\n\t\t};\r\n\t}\r\n};\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Vue} from 'vue-property-decorator';\r\nimport Modal from '@/shared/components/Modal.vue';\r\nimport { Action, Getter } from 'vuex-class';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport appInsights from '@/shared/services/appInsights';\r\nimport Toast from '@/shared/services/toast';\r\nimport { AnswerViewModel } from '@/features/bots/models/answers/answerViewModel';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { maxLength, required } from 'vuelidate/lib/validators';\r\nimport { CREATE_ANSWER } from '@/store/answers/actionTypes';\r\nimport { CreateAnswerViewModel } from '@/features/bots/models/answers/createAnswerViewModel';\r\n\r\nconst validFaqTitle = (value: string) => {\r\n\treturn value.search(/[<>*%&:\\\\$]/) === -1;\r\n};\r\n\r\n@Component({\r\n\tmixins: [\r\n\t\tvalidationMixin\r\n\t],\r\n\tcomponents: {\r\n\t\tModal\r\n\t},\r\n\tvalidations: {\r\n\t\tfaqTitle: {\r\n\t\t\trequired,\r\n\t\t\tvalidFaqTitle,\r\n\t\t\tmaxLength: maxLength(50)\r\n\t\t}\r\n\t}\r\n})\r\nexport default class AddAnswerModal extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Action(CREATE_ANSWER) public createAnswer: (request: CreateAnswerViewModel) => Promise;\r\n\tpublic faqTitle: string = '';\r\n\tpublic isLoading: boolean = false;\r\n\r\n\tpublic mounted() {\r\n\t\tconst addFaqInput: any = this.$refs.faqNameInput;\r\n\t\tif (addFaqInput) {\r\n\t\t\taddFaqInput.focus();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async addFAQ() {\r\n\t\tif (this.$v.$invalid) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tappInsights.trackEvent({ name: 'Add answer clicked' }, { workspaceId: this.currentWorkspace.id });\r\n\t\tthis.isLoading = true;\r\n\t\ttry {\r\n\t\t\tthis.faqTitle = this.faqTitle.trim();\r\n\t\t\tconst createdAnswer = await this.createAnswer({ title: this.faqTitle });\r\n\t\t\tthis.isLoading = false;\r\n\t\t\tthis.$emit('answer-added', createdAnswer);\r\n\t\t\tthis.close();\r\n\t\t} catch (ex) {\r\n\t\t\tthis.isLoading = false;\r\n\t\t\tif (ex.status === 409) {\r\n\t\t\t\tToast.showError(`Failed to add FAQ - \"${this.faqTitle}\" already exists`);\r\n\t\t\t} else {\r\n\t\t\t\tToast.showError('Failed to add FAQ');\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getErrorMessage(): string {\r\n\t\tif (this.$v.faqTitle.required && !this.$v.faqTitle.validFaqTitle) {\r\n\t\t\treturn 'Must not contain <, >, *, %, &, :, \\\\, $';\r\n\t\t}\r\n\t\tif (!this.$v.faqTitle.maxLength) {\r\n\t\t\treturn 'Must not be longer than 50 characters';\r\n\t\t}\r\n\t\tif (!this.$v.faqTitle.required && this.$v.faqTitle.$dirty) {\r\n\t\t\treturn 'Must not be empty';\r\n\t\t}\r\n\r\n\t\treturn '';\r\n\t}\r\n\r\n\tpublic close() {\r\n\t\tthis.$emit('close');\r\n\t}\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport DoughnutChartBaseWrapper from '../chartjs/DoughnutChartBaseWrapper.vue';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport ChartError from '../ChartError.vue';\r\nimport { Data, DataFilter, LabelsAndData, Series } from '../../models';\r\nimport ChartNoData from '@/features/reports/components/ChartNoData.vue';\r\nimport { chartDataUtil } from '../../util/ChartDataUtil';\r\nimport shortid from 'shortid';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tDoughnutChartBaseWrapper,\r\n\t\tLoadingSpinner,\r\n\t\tChartError,\r\n\t\tChartNoData\r\n\t}\r\n})\r\nexport default class TotalsDoughnutChart extends Vue {\r\n\t@Prop() public title: string;\r\n\t@Prop() public subTitle: string;\r\n\t@Prop() public loadedData: boolean;\r\n\t@Prop() public loadingError: string;\r\n\t@Prop() public data: Data;\r\n\t@Prop() public dataFilter: DataFilter;\r\n\t@Prop() public series: ((data: Data) => Series) | string;\r\n\t@Prop({ default: 10}) public maxItems: number;\r\n\r\n\tpublic reportId: string = '';\r\n\r\n\tpublic mounted() {\r\n\t\tthis.reportId = shortid.generate();\r\n\t}\r\n\r\n\tpublic get processedData(): LabelsAndData {\r\n\t\tconst labelsAndData = { labels: this.data.scale.labels, data: this.seriesData.data };\r\n\r\n\t\tconst filter = (label: string, value: number) => value > 0;\r\n\t\tconst filteredData = chartDataUtil.filterData(labelsAndData, filter);\r\n\r\n\t\tconst orderedData = chartDataUtil.orderData(filteredData, {\r\n\t\t\tdataOrderAscending: false,\r\n\t\t\tforceZeroValuesToBottom: false,\r\n\t\t});\r\n\r\n\t\treturn chartDataUtil.restrictDataToTopX(orderedData, {\r\n\t\t\tmaxItems: this.maxItems,\r\n\t\t\tgroupNonDisplayedItemsIntoOther: true,\r\n\t\t\totherItemsLabel: 'Others'\r\n\t\t});\r\n\t}\r\n\r\n\tpublic get loadedAndReturnedData(): boolean {\r\n\t\treturn this.loadedData && !this.isDataEmpty;\r\n\t}\r\n\r\n\tpublic get loadedAndNotReturnedData(): boolean {\r\n\t\treturn this.loadedData && this.isDataEmpty;\r\n\t}\r\n\r\n\tprivate get isDataEmpty(): boolean {\r\n\t\treturn !this.seriesData || this.seriesData.data.filter(val => val > 0).length === 0;\r\n\t}\r\n\r\n\tprivate get seriesData(): Series {\r\n\t\tif (typeof this.series === 'string') {\r\n\t\t\treturn this.data.series.filter(series => series.name === this.series)[0];\r\n\t\t} else {\r\n\t\t\treturn this.series(this.data);\r\n\t\t}\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-wrapper\"},[_c('n-modal',{staticClass:\"bot-test-tool-modal\",on:{\"cancel\":function($event){return _vm.$emit('cancel')}},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('h2',[_vm._v(\"Bot Preview\")])]},proxy:true},{key:\"body\",fn:function(){return [(!_vm.loaded)?_c('LoadingSpinner'):_vm._e(),(_vm.loaded)?_c('div',{staticClass:\"columns is-mobile\"},[_c('div',{staticClass:\"column column__conversation\"},[_c('BotPreviewMessagingClientContainer',{attrs:{\"user\":_vm.botUser,\"flows\":_vm.selectedFlows,\"answers\":_vm.selectedAnswers,\"currentTime\":_vm.currentTime},on:{\"userUpdated\":_vm.handleBotUserUpdated,\"channelChanged\":_vm.resetContact}})],1),_c('div',{staticClass:\"column column__cards\"},[_c('TimeSelector',{model:{value:(_vm.currentTime),callback:function ($$v) {_vm.currentTime=$$v},expression:\"currentTime\"}}),_c('ContactDetails',{on:{\"input\":_vm.handleContactUpdated},model:{value:(_vm.contact),callback:function ($$v) {_vm.contact=$$v},expression:\"contact\"}}),(_vm.isFlowSelectorVisible())?_c('FlowSelector',{attrs:{\"id\":\"flow-selector\",\"icon\":\"FlowIcon\",\"title\":\"Flows\",\"subtitle\":\"Choose which flows to test\",\"tooltip\":\"Each flow can be enabled or disabled using the toggle or reordered to alter their priority. Changes made here only affect this preview tool and will not be seen by your customers.\"},model:{value:(_vm.flowSelection),callback:function ($$v) {_vm.flowSelection=$$v},expression:\"flowSelection\"}}):_vm._e(),(_vm.isAnswerSelectorVisible())?_c('FlowSelector',{attrs:{\"id\":\"answer-selector\",\"icon\":\"AnswerIcon\",\"title\":\"FAQs\",\"subtitle\":\"Choose which FAQs to test\",\"tooltip\":\"Each FAQ can be enabled or disabled using the toggle. Changes made here only affect this preview tool and will not be seen by your customers.\",\"reorderable\":false},model:{value:(_vm.answerSelection),callback:function ($$v) {_vm.answerSelection=$$v},expression:\"answerSelection\"}}):_vm._e()],1)]):_vm._e()]},proxy:true}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page has-compressed-header\"},[(_vm.showBotPreviewModal)?_c('BotPreviewModal',{attrs:{\"flowToPreview\":_vm.flowId},on:{\"cancel\":function($event){_vm.showBotPreviewModal = false}}}):_vm._e(),(!_vm.flowLoaded)?_c('LoadingSpinner'):_vm._e(),(_vm.flowLoaded)?_c('section',{staticClass:\"section primary-header\"},[_c('nav',{staticClass:\"level container is-fluid\"},[_c('div',{staticClass:\"level-left\"},[_c('router-link',{attrs:{\"to\":{ name: 'bots-flows' }}},[_c('div',{staticClass:\"back-arrow\"},[_c('BackArrow',{staticClass:\"icon-1-5x\"})],1)]),_c('h4',{staticClass:\"title is-4 flow-title\"},[_c('EditableText',{attrs:{\"value\":_vm.flowName,\"minWidth\":\"100px\",\"maxWidth\":\"600px\"},on:{\"text-updated\":_vm.setFlowName}}),_c('div',{staticClass:\"flow-status is-flex\"},[(_vm.currentFlowStatus === 'live')?_c('n-badge',{attrs:{\"variant\":\"success\"}},[_vm._v(\"Live\")]):_vm._e(),(_vm.currentFlowStatus === 'paused')?_c('n-badge',{attrs:{\"variant\":\"secondary\"}},[_vm._v(\"Paused\")]):_vm._e(),(_vm.currentFlowStatus === 'draft')?_c('n-badge',{attrs:{\"variant\":\"default\"}},[_vm._v(\"Draft\")]):_vm._e()],1)],1)],1),_c('div',{staticClass:\"level-right\"},[_c('p',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.bottom\",value:(_vm.saveFlowErrorMessage),expression:\"saveFlowErrorMessage\",modifiers:{\"bottom\":true}}],staticClass:\"level-item\"},[_c('n-button',{attrs:{\"variant\":\"secondary\",\"disabled\":!_vm.isSaveButtonEnabled,\"id\":\"save-flow-button\"},on:{\"click\":function($event){return _vm.saveButtonClicked()}}},[_c('div',{staticClass:\"button-content\"},[_c('SaveIcon'),_vm._v(\" Save Changes\\n\\t\\t\\t\\t\\t\\t\")],1)])],1),_c('p',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.bottom\",value:(_vm.previewFlowErrorMessage),expression:\"previewFlowErrorMessage\",modifiers:{\"bottom\":true}}],staticClass:\"level-item\"},[_c('n-button',{attrs:{\"variant\":\"secondary--outline\",\"disabled\":!_vm.isPreviewButtonEnabled,\"id\":\"preview-bot-button\"},on:{\"click\":function($event){return _vm.previewButtonClicked()}}},[_c('div',{staticClass:\"button-content\"},[_c('PlayIcon'),_vm._v(\" Preview\\n\\t\\t\\t\\t\\t\\t\")],1)])],1),(!_vm.isBotStudioEnabled() && _vm.isMakeLiveButtonVisible())?_c('AdvancedTooltip',{staticClass:\"level-item\",scopedSlots:_vm._u([{key:\"element\",fn:function(){return [_c('p',[_c('n-button',{attrs:{\"variant\":\"success\",\"disabled\":!_vm.canMakeLive,\"id\":\"make-live-button\"},on:{\"click\":function($event){return _vm.makeLiveButtonClicked()}}},[_c('div',{staticClass:\"button-content\"},[_c('PlayIcon'),_vm._v(\" Make Live\\n\\t\\t\\t\\t\\t\\t\\t\\t\")],1)])],1)]},proxy:true},{key:\"content\",fn:function(){return [_c('div',[_c('strong',[_vm._v(\"Upgrade to unlock this feature\")])]),_c('div',[_vm._v(\"Get flows, FAQs and more\")])]},proxy:true},{key:\"footer\",fn:function(){return [_c('button',{staticClass:\"button is-primary is-outlined is-fullwidth\",on:{\"click\":function($event){return _vm.upgradeButtonClicked()}}},[_vm._v(\"Upgrade\\n\\t\\t\\t\\t\\t\\t\")])]},proxy:true}],null,false,797919744)}):_vm._e(),(_vm.isMakeLiveButtonVisible() && _vm.isBotStudioEnabled())?_c('p',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.bottom\",value:(_vm.makeLiveErrorMessage),expression:\"makeLiveErrorMessage\",modifiers:{\"bottom\":true}}],staticClass:\"level-item\"},[_c('n-button',{attrs:{\"variant\":\"success\",\"disabled\":!_vm.canMakeLive,\"id\":\"make-live-button\"},on:{\"click\":function($event){return _vm.makeLiveButtonClicked()}}},[_c('div',{staticClass:\"button-content\"},[_c('PlayIcon'),_vm._v(\" Make Live\\n\\t\\t\\t\\t\\t\\t\")],1)])],1):_vm._e(),_c('p',{staticClass:\"level-item\"},[_c('DropDownMenu',{attrs:{\"goLeft\":true,\"useColourOnActive\":true}},[(_vm.isPauseOptionVisible())?_c('a',{staticClass:\"dropdown-item\",attrs:{\"id\":\"pause-flow-option\"},on:{\"click\":function($event){return _vm.pauseFlowClicked()}}},[_c('PauseIcon'),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tPause Flow\\n\\t\\t\\t\\t\\t\\t\")],1):_vm._e(),_c('a',{staticClass:\"dropdown-item\",attrs:{\"id\":\"delete-flow-option\"},on:{\"click\":_vm.deleteFlowClicked}},[_c('DeleteIcon'),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tDelete\\n\\t\\t\\t\\t\\t\\t\")],1)])],1)],1)])]):_vm._e(),(_vm.flowLoaded)?_c('section',{staticClass:\"section content-container\",class:{'is-disabled': _vm.isSaveFlowInProgress}},[_c('router-view')],1):_vm._e(),(_vm.showDeleteModal)?_c('ConfirmationModal',{attrs:{\"id\":\"delete-flow-modal\",\"confirmationTitle\":\"Delete flow\",\"confirmationMessage\":_vm.getDeleteConfirmationMessage()},on:{\"confirm\":_vm.deleteFlow,\"cancel\":function($event){_vm.showDeleteModal = false}}}):_vm._e(),(_vm.showLeaveModal)?_c('ConfirmationModal',{ref:\"leaveModal\",attrs:{\"id\":\"leave-modal\",\"confirmationTitle\":\"Discard Changes\",\"confirmationMessage\":_vm.getLeaveConfirmationMessage()},on:{\"cancel\":function($event){_vm.showLeaveModal = false}}}):_vm._e(),(_vm.showPauseFlowModal)?_c('ConfirmationModal',{attrs:{\"id\":\"pause-flow-modal\",\"confirmationTitle\":\"Pause Flow\",\"confirmationMessage\":_vm.getPauseConfirmationMessage()},on:{\"confirm\":_vm.pauseFlow,\"cancel\":function($event){_vm.showPauseFlowModal = false}}}):_vm._e(),(_vm.showMakeLiveModal)?_c('ConfirmationModal',{attrs:{\"id\":\"make-live-modal\",\"confirmationTitle\":\"Make Live\",\"confirmationMessage\":_vm.getMakeLiveConfirmationMessage()},on:{\"confirm\":_vm.makeFlowLive,\"cancel\":function($event){_vm.showMakeLiveModal = false}}}):_vm._e(),(_vm.showNoTriggerModal)?_c('ConfirmationModal',{ref:\"noTriggerModal\",attrs:{\"id\":\"no-trigger-modal\",\"confirmationTitle\":\"No triggers defined\",\"confirmationMessage\":_vm.getNoTriggerSelectedConfirmationMessage(),\"confirm-button-label\":\"Save\"},on:{\"cancel\":function($event){_vm.showNoTriggerModal = false},\"confirm\":function($event){return _vm.saveChanges()}}}):_vm._e(),(_vm.showUpgradeModal)?_c('UpgradeModal',{on:{\"close\":function($event){_vm.showUpgradeModal = false}}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BrowserUrlBar.vue?vue&type=style&index=0&id=310c6166&prod&lang=scss&scoped=true\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('fieldset',{attrs:{\"disabled\":_vm.hasGovNotifyInstalledApp() && !_vm.hasMultipleGovNotifyServicesEnabled()}},[(_vm.hasMultipleGovNotifyServicesEnabled())?_c('div',[_c('GovNotifyServiceConfiguration',{attrs:{\"value\":_vm.services,\"loading\":_vm.loadingServices},on:{\"input\":_vm.handleServiceChange,\"error\":_vm.handleServiceConfigurationError}})],1):_c('div',[_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Service Name\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim.lazy\",value:(_vm.name),expression:\"name\",modifiers:{\"trim\":true,\"lazy\":true}}],staticClass:\"input\",class:{'is-danger': _vm.$v.name.$invalid && _vm.$v.name.$dirty },attrs:{\"type\":\"text\",\"placeholder\":\"Enter Service name\",\"required\":\"\"},domProps:{\"value\":(_vm.name)},on:{\"change\":[function($event){_vm.name=$event.target.value.trim()},function($event){return _vm.$v.name.$touch();}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.name.$invalid && _vm.$v.name.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Name is required\")]):_vm._e()])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Phone Number\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim.lazy\",value:(_vm.phoneNumber),expression:\"phoneNumber\",modifiers:{\"trim\":true,\"lazy\":true}}],staticClass:\"input\",class:{'is-danger': _vm.$v.phoneNumber.$invalid && _vm.$v.phoneNumber.$dirty },attrs:{\"type\":\"text\",\"placeholder\":\"Enter Phone Number\",\"required\":\"\"},domProps:{\"value\":(_vm.phoneNumber)},on:{\"change\":[function($event){_vm.phoneNumber=$event.target.value.trim()},function($event){return _vm.$v.phoneNumber.$touch();}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.phoneNumber.$invalid && _vm.$v.phoneNumber.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Phone Number is required and must be numeric\")]):_vm._e()])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"API Key\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim.lazy\",value:(_vm.apiKey),expression:\"apiKey\",modifiers:{\"trim\":true,\"lazy\":true}}],staticClass:\"input\",class:{'is-danger': _vm.$v.apiKey.$invalid && _vm.$v.apiKey.$dirty },attrs:{\"type\":\"text\",\"placeholder\":\"Enter API key here\",\"required\":\"\",\"disabled\":_vm.loadingTemplates},domProps:{\"value\":(_vm.apiKey)},on:{\"change\":[function($event){_vm.apiKey=$event.target.value.trim()},function($event){_vm.$v.apiKey.$touch(); _vm.loadTemplates()}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.apiKey.$invalid && _vm.$v.apiKey.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"The API key is required\")]):_vm._e()])]),(!_vm.hasGovNotifyInstalledApp())?_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Choose a Template\")]),_c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"field has-addons\"},[_c('div',{staticClass:\"control is-expanded\"},[_c('div',{staticClass:\"select is-fullwidth\",class:{ 'is-loading': _vm.loadingTemplates, 'is-danger': _vm.$v.selectedTemplate.$invalid && _vm.$v.selectedTemplate.$dirty }},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedTemplate),expression:\"selectedTemplate\"}],attrs:{\"disabled\":!_vm.canLoadTemplates()},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedTemplate=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_vm._l((_vm.templates),function(template){return _c('option',{key:template.id,domProps:{\"value\":template}},[_vm._v(_vm._s(template.name))])}),(_vm.templates.length === 0)?_c('option',{attrs:{\"value\":\"null\",\"selected\":\"\"}},[_vm._v(\"\")]):_vm._e()],2)]),(_vm.$v.selectedTemplate.$invalid && _vm.$v.selectedTemplate.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"The template is required\")]):_vm._e()]),_c('p',{staticClass:\"control\"},[_c('button',{directives:[{name:\"clipboard\",rawName:\"v-clipboard:copy\",value:(_vm.bearerToken),expression:\"bearerToken\",arg:\"copy\"},{name:\"clipboard\",rawName:\"v-clipboard:success\",value:(_vm.onCopy),expression:\"onCopy\",arg:\"success\"}],staticClass:\"button is-info\",attrs:{\"disabled\":!_vm.canLoadTemplates()},on:{\"click\":function($event){return _vm.loadTemplates()}}},[_c('span',{staticClass:\"icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"sync\"}})],1)])])])])]):_vm._e(),(_vm.hasGovNotifyInstalledApp())?_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Template\")]),_c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"select is-fullwidth\"},[_c('select',[_c('option',[_vm._v(_vm._s(_vm.govNotifyApp.templateName))])])])])]):_vm._e(),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Delivery Receipts Callback URL\")]),_c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"field has-addons\"},[_c('div',{staticClass:\"control is-expanded\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.deliveryCallbackUrl),expression:\"deliveryCallbackUrl\"}],staticClass:\"input\",attrs:{\"type\":\"text\",\"disabled\":\"\"},domProps:{\"value\":(_vm.deliveryCallbackUrl)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.deliveryCallbackUrl=$event.target.value}}})]),_c('p',{staticClass:\"control\"},[_c('button',{directives:[{name:\"clipboard\",rawName:\"v-clipboard:copy\",value:(_vm.deliveryCallbackUrl),expression:\"deliveryCallbackUrl\",arg:\"copy\"},{name:\"clipboard\",rawName:\"v-clipboard:success\",value:(_vm.onCopy),expression:\"onCopy\",arg:\"success\"}],staticClass:\"button is-info\"},[_c('span',{staticClass:\"icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"copy\"}})],1)])])])])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Received Messages Callback URL\")]),_c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"field has-addons\"},[_c('div',{staticClass:\"control is-expanded\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.messageCallbackUrl),expression:\"messageCallbackUrl\"}],staticClass:\"input\",attrs:{\"type\":\"text\",\"disabled\":\"\"},domProps:{\"value\":(_vm.messageCallbackUrl)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.messageCallbackUrl=$event.target.value}}})]),_c('p',{staticClass:\"control\"},[_c('button',{directives:[{name:\"clipboard\",rawName:\"v-clipboard:copy\",value:(_vm.messageCallbackUrl),expression:\"messageCallbackUrl\",arg:\"copy\"},{name:\"clipboard\",rawName:\"v-clipboard:success\",value:(_vm.onCopy),expression:\"onCopy\",arg:\"success\"}],staticClass:\"button is-info\"},[_c('span',{staticClass:\"icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"copy\"}})],1)])])])])]),(!_vm.hasGovNotifyInstalledApp())?_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Bearer Token\")]),_c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"field has-addons\"},[_c('div',{staticClass:\"control is-expanded\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.bearerToken),expression:\"bearerToken\"}],staticClass:\"input\",attrs:{\"type\":\"text\",\"disabled\":\"\"},domProps:{\"value\":(_vm.bearerToken)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.bearerToken=$event.target.value}}})]),_c('p',{staticClass:\"control\"},[_c('button',{directives:[{name:\"clipboard\",rawName:\"v-clipboard:copy\",value:(_vm.bearerToken),expression:\"bearerToken\",arg:\"copy\"},{name:\"clipboard\",rawName:\"v-clipboard:success\",value:(_vm.onCopy),expression:\"onCopy\",arg:\"success\"}],staticClass:\"button is-info\"},[_c('span',{staticClass:\"icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"copy\"}})],1)])])])])]):_vm._e()]),_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\",\"disabled\":_vm.submitIsDisabled(),\"loading\":_vm.actionInProgress},on:{\"click\":function($event){return _vm.save()}}},[_vm._v(\"Submit\")]),_c('n-button',{attrs:{\"variant\":\"primary--outline\"},on:{\"click\":function($event){return _vm.cancel()}}},[_vm._v(\"Cancel\")])],1),(_vm.showConfirmationModal)?_c('AppConfirmModal',{attrs:{\"title\":\"Discard Changes\"},on:{\"confirm\":function($event){_vm.hasConfirmedDiscard = true; _vm.cancel(true)},\"cancel\":function($event){_vm.showConfirmationModal = false}}},[_c('p',[_vm._v(\"All changes you've made to your GovNotify Services will be discarded.\")]),_c('p',[_vm._v(\"Are you sure you want to cancel?\")])]):_vm._e(),(_vm.showDeleteConfirmationModal)?_c('AppConfirmModal',{attrs:{\"title\":\"Delete Services\"},on:{\"confirm\":function($event){return _vm.save(true)},\"cancel\":function($event){_vm.showDeleteConfirmationModal = false}}},[_c('p',[_vm._v(\"Are you sure you want to delete the following services? The action is irreversible.\")]),_c('ul',{staticClass:\"deleted-services\"},_vm._l((_vm.deletedGovNotifyServices),function(service){return _c('li',{key:service.id},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(service.name)+\" \\n\\t\\t\\t\\t\")])}),0)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import * as sanitize from '@/shared/util/sanitize-html/types';\r\n\r\nexport const SANITIZE_OPTIONS: sanitize.IOptions = {\r\n\tallowedTags: [\r\n\t\t'a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'b', 'bdi', 'big', 'blockquote', 'body', 'br',\r\n\t\t'button', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn',\r\n\t\t'dir', 'div', 'dl', 'dt', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3',\r\n\t\t'h4', 'h5', 'h6', 'head', 'header', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend',\r\n\t\t'li', 'main', 'map', 'mark', 'menu', 'menuitem', 'meta', 'meter', 'nav', 'ol', 'optgroup', 'option', 'output',\r\n\t\t'p', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'section', 'select', 'small', 'span', 'strike',\r\n\t\t'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'time',\r\n\t\t'tr', 'tt', 'u', 'ul', 'var', 'wbr'\r\n\t],\r\n\tallowedAttributes: {\r\n\t\t'*': [\r\n\t\t\t'abbr', 'accept', 'accept-charset', 'accesskey', 'action', 'align', 'alt', 'aria-*', 'autocomplete', 'autosave',\r\n\t\t\t'axis', 'bgcolor', 'border', 'cellpadding', 'cellspacing', 'challenge', 'char', 'charoff', 'charset',\r\n\t\t\t'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'compact', 'contenteditable', 'coords', 'data-*', 'datetime',\r\n\t\t\t'dir', 'disabled', 'draggable', 'dropzone', 'enctype', 'for', 'frame', 'headers', 'height', 'high', 'href',\r\n\t\t\t'hreflang', 'hspace', 'ismap', 'keytype', 'label', 'lang', 'list', 'longdesc', 'low', 'max', 'maxlength',\r\n\t\t\t'media', 'method', 'min', 'multiple', 'name', 'nohref', 'noshade', 'novalidate', 'nowrap', 'open',\r\n\t\t\t'optimum', 'pattern', 'placeholder', 'prompt', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required',\r\n\t\t\t'rev', 'reversed', 'role', 'rows', 'rowspan', 'rules', 'scope', 'selected', 'shape', 'size', 'span', 'spellcheck',\r\n\t\t\t'src', 'start', 'step', 'style', 'summary', 'tabindex', 'target', 'title', 'type', 'usemap', 'valign',\r\n\t\t\t'value', 'vspace', 'width', 'wrap'],\r\n\t\t'a': ['href', 'name', 'target'],\r\n\t\t'html': ['xmlns'],\r\n\t\t'img': ['src', 'alt', 'title', 'width', 'height'],\r\n\t\t'meta': ['content', 'http-equiv']\r\n\t},\r\n\tallowedSchemes: ['mailto', 'http', 'https', '{{'],\r\n};\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BotPausedBanner.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BotPausedBanner.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"material-design-icon\"},[_c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":_vm.color,\"height\":\"24\",\"viewBox\":\"0 0 24 24\",\"width\":\"24\"}},[_c('path',{attrs:{\"d\":\"M0 0h24v24H0V0z\",\"fill\":\"none\"}}),_c('path',{attrs:{\"d\":\"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z\"}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowsReports.vue?vue&type=style&index=0&id=4c0c383c&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('modal',{on:{\"cancel\":_vm.closeModal},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"modal-card-title\"},[_vm._v(\"Create Contact Attribute\")])]},proxy:true},{key:\"body\",fn:function(){return [_c('fieldset',[_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"ID\")]),_c('ReadonlyField',{attrs:{\"readonlyValue\":_vm.attribute.id}})],1),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\",attrs:{\"for\":\"name\"}},[_vm._v(\"Name\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.attribute.name),expression:\"attribute.name\"}],ref:\"nameInput\",staticClass:\"input\",attrs:{\"type\":\"text\",\"id\":\"name\",\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.attribute.name)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.attribute, \"name\", $event.target.value)},function($event){return _vm.$v.attribute.name.$touch()}]}}),(_vm.isFieldNotPopulated(_vm.$v.attribute, 'name'))?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Name is required\")]):(_vm.isFieldInvalid(_vm.$v.attribute, 'name'))?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Name may only contain letters, numbers, spaces, underscores or hyphens, and must be no longer than 50 characters\")]):_vm._e()])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\",attrs:{\"for\":\"description\"}},[_vm._v(\"Description\")]),_c('div',{staticClass:\"control\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.attribute.description),expression:\"attribute.description\"}],staticClass:\"textarea\",attrs:{\"id\":\"description\"},domProps:{\"value\":(_vm.attribute.description)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.attribute, \"description\", $event.target.value)},function($event){return _vm.$v.attribute.description.$touch()}]}}),(_vm.isFieldNotPopulated(_vm.$v.attribute, 'description'))?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Description is required\")]):(_vm.isFieldInvalid(_vm.$v.attribute, 'description'))?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Description must be no longer than 255 characters\")]):_vm._e()])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\",attrs:{\"for\":\"dataType\"}},[_vm._v(\"Data type\")]),_c('div',{staticClass:\"control select\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.attribute.type),expression:\"attribute.type\"}],attrs:{\"id\":\"dataType\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.attribute, \"type\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((_vm.dataTypeOptions),function(type){return _c('option',{key:type.value,domProps:{\"value\":type.value}},[_vm._v(_vm._s(type.display))])}),0)])])])]},proxy:true},{key:\"buttons\",fn:function(){return [_c('n-button-group',[_c('n-button',{attrs:{\"id\":\"create-attribute-submit-btn\",\"variant\":\"primary\",\"disabled\":_vm.$v.$invalid,\"loading\":_vm.updateInProgress},on:{\"click\":_vm.update}},[_vm._v(\"\\n\\t\\t\\t\\tCreate Attribute\\n\\t\\t\\t\")]),_c('n-button',{on:{\"click\":_vm.closeModal}},[_vm._v(\"Cancel\")])],1)]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\r\nimport { PathViewModel, Path } from '@/features/bots/models/designer';\r\nimport { Getter, Mutation } from 'vuex-class';\r\nimport shortid from 'shortid';\r\nimport { ADD_PATH, SET_CURRENT_PATH } from '@/store/bot-designer/paths/mutationTypes';\r\nimport { mixin as clickaway } from 'vue-clickaway';\r\nimport {dropDownHelper} from '@/shared/components/dropDownMenu/dropDownHelper';\r\n\r\n@Component({\r\n\tmixins: [\r\n\t\tclickaway\r\n\t]\r\n})\r\nexport default class PathPicker extends Vue {\r\n\t@Getter public paths!: PathViewModel[];\r\n\t@Getter public currentPath!: Path;\r\n\t@Prop() public value: string;\r\n\t@Prop({default : false}) public fixed: boolean;\r\n\t@Mutation(ADD_PATH) public addPath: (path: PathViewModel) => void;\r\n\t@Mutation(SET_CURRENT_PATH) public setCurrentPath: (id: string) => void;\r\n\r\n\tpublic selected: string;\r\n\tpublic isOpen = false;\r\n\r\n\tpublic isUp = false;\r\n\r\n\r\n\t@Watch('value', { immediate: true })\r\n\tpublic onValueChanged(value: string, previous: string) {\r\n\t\tthis.selected = value;\r\n\t}\r\n\r\n\tpublic getPathsToChooseFrom() {\r\n\t\treturn this.paths.filter(p => p.id !== this.currentPath.id);\r\n\t}\r\n\r\n\tpublic getDescription() {\r\n\t\tif (!this.selected) {\r\n\t\t\treturn 'Choose a path...';\r\n\t\t}\r\n\t\tconst selectedPath = this.paths.find(p => p.id === this.selected);\r\n\t\tif (!selectedPath) {\r\n\t\t\tthis.selected = '';\r\n\t\t\tthis.$emit('path-selected', this.selected);\r\n\t\t\treturn 'Choose a path...';\r\n\t\t}\r\n\r\n\t\treturn selectedPath.name;\r\n\t}\r\n\r\n\tpublic choosePath(pathId: string) {\r\n\t\tthis.selected = pathId;\r\n\t\tthis.$emit('path-selected', this.selected);\r\n\t}\r\n\r\n\tpublic addNewPath() {\r\n\t\tconst newPath = {\r\n\t\t\tid: `path-${shortid.generate()}`,\r\n\t\t\tname: `New Path`,\r\n\t\t\tstates: [],\r\n\t\t} as PathViewModel;\r\n\r\n\t\tthis.addPath(newPath);\r\n\r\n\t\tthis.selected = newPath.id;\r\n\t\tthis.$emit('path-selected', this.selected);\r\n\t}\r\n\r\n\tpublic closePicker() {\r\n\t\tthis.isOpen = false;\r\n\t\tthis.isUp = false;\r\n\t}\r\n\r\n\tpublic togglePicker() {\r\n\t\t// don't allow opening the menu/choosing a path if the picker should be 'fixed'\r\n\t\tif (this.fixed) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.isOpen = !this.isOpen;\r\n\r\n\t\tthis.$nextTick(() => this.isUp = dropDownHelper.isDropDownUp());\r\n\t}\r\n\r\n\tpublic hasSelectedPath(pathId: string) {\r\n\t\treturn pathId && pathId.length > 0;\r\n\t}\r\n\r\n\tpublic goToPath(pathId: string) {\r\n\t\tthis.setCurrentPath(pathId);\r\n\t}\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Triggers.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Triggers.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinkedPathsBox.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinkedPathsBox.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue} from 'vue-property-decorator';\r\n@Component({})\r\nexport default class ConfirmationModal extends Vue {\r\n\t@Prop({default: 'Yes'}) public confirmButtonLabel: string;\r\n\t@Prop({default: 'Cancel'}) public cancelButtonLabel: string;\r\n\r\n\t@Prop({default: true}) public showCancelButton: boolean;\r\n\t@Prop() public confirmationTitle: string;\r\n\t@Prop() public confirmationMessage: string;\r\n\t@Prop() public typeConfirmationValidationMessage: string;\r\n\tpublic confirmValue: string = '';\r\n\r\n\tpublic get title() {\r\n\t\treturn this.$sanitize(this.confirmationTitle);\r\n\t}\r\n\tpublic get message() {\r\n\t\treturn this.$sanitize(this.confirmationMessage);\r\n\t}\r\n\r\n\tpublic get buttonDisabled() {\r\n\t\treturn this.typedConfirmationRequired && !this.typedConfirmationValid;\r\n\t}\r\n\r\n\tpublic get typedConfirmationRequired(): boolean {\r\n\t\treturn !!this.typeConfirmationValidationMessage;\r\n\t}\r\n\r\n\tpublic get typedConfirmationValid() {\r\n\t\treturn this.typeConfirmationValidationMessage === this.confirmValue;\r\n\t}\r\n\r\n\tpublic confirm(): void {\r\n\t\tthis.$emit('confirm');\r\n\t}\r\n}\r\n","\r\nexport const SET_LABELS = 'SET_LABELS';\r\nexport const REMOVE_ALL_REPORT_LABEL_VALUES = 'REMOVE_ALL_REPORT_LABEL_VALUES';\r\nexport const SET_REPORTING_DATE_RANGE = 'SET_REPORTING_DATE_RANGE';\r\n\r\nexport const SET_REPORTING_FLOW = 'SET_REPORTING_FLOW';\r\nexport const SET_FLOW_LIST_OPTIONS = 'SET_FLOW_LIST_OPTIONS';\r\n\r\nexport const CLEAR_REPORTING_LIST_OPTIONS = 'CLEAR_REPORTING_LIST_OPTIONS';\r\n\r\nexport const SET_REPORT_LOADING = 'SET_REPORT_LOADING';\r\n\r\n\r\n","import { render, staticRenderFns } from \"./UpgradeModal.vue?vue&type=template&id=7a724f64&scoped=true\"\nimport script from \"./UpgradeModal.vue?vue&type=script&lang=ts\"\nexport * from \"./UpgradeModal.vue?vue&type=script&lang=ts\"\nimport style0 from \"./UpgradeModal.vue?vue&type=style&index=0&id=7a724f64&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7a724f64\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\r\nimport PathPicker from './PathPicker.vue';\r\nimport IslandBadge from './IslandBadge.vue';\r\nimport { PathViewModel } from '@/features/bots/models/designer';\r\nimport { Getter } from 'vuex-class';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tIslandBadge,\r\n\t\tPathPicker\r\n\t}\r\n})\r\nexport default class LinkedPathsBox extends Vue {\r\n\t@Getter public linkedPaths!: PathViewModel[];\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page\"},[_c('section',{staticClass:\"section content-container\"},[_c('div',{staticClass:\"container is-fluid\"},[_c('div',{staticClass:\"report-container\"},[_c('FlowTotalsCharts',{on:{\"load\":function($event){return _vm.handleReportLoad('totals')}}})],1),_c('div',{staticClass:\"report-container island\"},[_c('FlowEngagementCharts',{on:{\"load\":function($event){return _vm.handleReportLoad('engagement')}}})],1),_c('div',{staticClass:\"report-container island\"},[_c('FlowEscalationRateCharts',{on:{\"load\":function($event){return _vm.handleReportLoad('escalation')}}})],1)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Chart, {ChartTooltipModel} from 'chart.js';\r\nimport utils from './utils';\r\nimport {\r\n\tArea,\r\n\tDoughnutChartLabel, DoughnutLabelConfig,\r\n\tLabelProvider,\r\n\tResizeStrategy\r\n} from '@/features/reports/components/chartjs/plugins/doughnutLabels/types';\r\n\r\nconst helpers = Chart.helpers;\r\n\r\nexport const doughnutlabel: Chart.PluginServiceGlobalRegistration & Chart.PluginServiceRegistrationOptions = {\r\n\tafterDatasetsDraw: (chart => setup(chart)),\r\n\tafterInit\r\n};\r\n\r\nfunction afterInit(chart: Chart) {\r\n\tif (chart.config.type !== 'doughnut') {\r\n\t\treturn;\r\n\t}\r\n\r\n\tclearLabels(chart);\r\n}\r\n\r\nfunction setup(chart: Chart) {\r\n\tconst options = chart.options;\r\n\tconst ctx = chart.ctx as CanvasRenderingContext2D;\r\n\tconst pluginData: DoughnutLabelConfig = options.plugins!.doughnutlabel;\r\n\r\n\tif (chart.config.type !== 'doughnut') {\r\n\t\treturn;\r\n\t}\r\n\r\n\tchart.canvas!.addEventListener('mouseleave', () => {\r\n\t\tclearLabels(chart);\r\n\t});\r\n\r\n\toptions.tooltips!.custom = (tooltip: ChartTooltipModel) => {\r\n\t\t// Hide if no tooltip\r\n\t\tif (tooltip.opacity === 0) {\r\n\t\t\tclearLabels(chart);\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (tooltip.body) {\r\n\t\t\tconst tipData = tooltip.body.map(item => item.lines)[0][0].split(': ');\r\n\t\t\tconst key = tipData[0];\r\n\t\t\tconst value = Number(tipData[1]);\r\n\t\t\tconst index = tooltip.dataPoints[0].index;\r\n\t\t\tconst labelProvider = pluginData.labelProvider;\r\n\t\t\tconst labels = labelProvider(chart, index, key, value);\r\n\r\n\t\t\tconst resolve = helpers.options.resolve;\r\n\t\t\tconst innerLabel: DoughnutChartLabel[] = labels.map(label => ({\r\n\t\t\t\ttext: label.text,\r\n\t\t\t\tfont: utils.parseFont(resolve([label.font, {}], ctx, 0)),\r\n\t\t\t\tcolor: resolve([label.color, Chart.defaults.global.defaultFontColor], ctx, 0)\r\n\t\t\t}));\r\n\r\n\t\t\tpluginData.lastLabels = innerLabel;\r\n\t\t\tdrawLabels(chart, innerLabel);\r\n\t\t}\r\n\t};\r\n\r\n\tif (pluginData.lastLabels) {\r\n\t\tdrawLabels(chart, pluginData.lastLabels);\r\n\t}\r\n}\r\n\r\nfunction clearLabels(chart: Chart) {\r\n\tconst options = chart.options;\r\n\tconst ctx = chart.ctx as CanvasRenderingContext2D;\r\n\tconst pluginData = options.plugins!.doughnutlabel;\r\n\tconst resolve = helpers.options.resolve;\r\n\r\n\tconst labelProvider = pluginData.labelProvider as LabelProvider;\r\n\tconst labels = labelProvider(chart);\r\n\tpluginData.lastLabels = labels.map(label => ({\r\n\t\ttext: label.text,\r\n\t\tfont: utils.parseFont(resolve([label.font, {}], ctx, 0)),\r\n\t\tcolor: resolve([label.color, Chart.defaults.global.defaultFontColor], ctx, 0)\r\n\t}));\r\n}\r\nfunction drawLabels(chart: Chart, innerLabels: DoughnutChartLabel[]) {\r\n\tconst ctx = chart.ctx as CanvasRenderingContext2D;\r\n\tconst textAreaSize = calculateTextAreaSize(ctx, innerLabels, chart);\r\n\r\n\tctx.textAlign = 'center';\r\n\tctx.textBaseline = 'middle';\r\n\r\n\t// The center of the inner circle\r\n\tconst centerX = ((chart.chartArea.left + chart.chartArea.right) / 2);\r\n\tconst centerY = ((chart.chartArea.top + chart.chartArea.bottom) / 2);\r\n\r\n\t// The top Y coordinate of the text area\r\n\tconst topY = centerY - textAreaSize.height / 2;\r\n\tlet currentHeight = 0;\r\n\r\n\tfor (const label of innerLabels) {\r\n\t\tctx.fillStyle = label.color as string;\r\n\t\tctx.font = label.font.string as string;\r\n\r\n\t\t// The Y center of each line\r\n\t\tconst lineHeight = (label.font.lineHeight || 24);\r\n\t\tconst lineCenterY = topY + lineHeight / 2 + currentHeight;\r\n\t\tcurrentHeight += lineHeight;\r\n\r\n\t\t// Draw each line of text\r\n\t\t// console.log(`label.text: ${label.text}, centerX: ${centerX}, lineCenterY: ${lineCenterY}, color: ${ctx.fillStyle}, font: ${ctx.font}`);\r\n\t\tctx.fillText(label.text, centerX, lineCenterY);\r\n\t}\r\n}\r\n\r\nfunction calculateTextAreaSize(ctx: CanvasRenderingContext2D, innerLabels: DoughnutChartLabel[], chart: Chart) {\r\n\tconst textAreaSize = utils.textSize(ctx, innerLabels);\r\n\r\n\tif (isTextAreaTooLarge(textAreaSize, chart)) {\r\n\t\tif (resizeStrategy(chart) === ResizeStrategy.SHRINK) {\r\n\t\t\treturn alterLabelsToFit(ctx, innerLabels, textAreaSize, chart);\r\n\t\t} else {\r\n\t\t\treturn truncateLabelsToFit(ctx, innerLabels, chart);\r\n\t\t}\r\n\t}\r\n\r\n\treturn textAreaSize;\r\n}\r\n\r\nfunction alterLabelsToFit(ctx: CanvasRenderingContext2D, innerLabels: DoughnutChartLabel[], textAreaSize: Area, chart: Chart) {\r\n\tconst resolve = helpers.options.resolve;\r\n\tconst fitRatio = getAdjustmentRequiredToFitArea(textAreaSize, chart);\r\n\r\n\tinnerLabels.forEach(innerLabel => {\r\n\t\tinnerLabel.font.size = Math.floor(Number(innerLabel.font.size) * fitRatio);\r\n\t\tinnerLabel.font.lineHeight = undefined;\r\n\t\tinnerLabel.font = utils.parseFont(resolve([innerLabel.font, {}], ctx, 0));\r\n\t});\r\n\r\n\treturn utils.textSize(ctx, innerLabels);\r\n}\r\n\r\nfunction truncateLabelsToFit(ctx: CanvasRenderingContext2D, innerLabels: DoughnutChartLabel[], chart: Chart) {\r\n\tconst resolve = helpers.options.resolve;\r\n\r\n\tfor (let i = 0; i < innerLabels.length; i++) {\r\n\t\tconst tmpLabels = innerLabels.map(label => Object.assign({}, label));\r\n\t\ttmpLabels.forEach((label, index) => label.text = i === index ? label.text : ' ');\r\n\t\tlet textAreaForSingleLabel = utils.textSize(ctx, tmpLabels);\r\n\t\twhile (isTextAreaTooLarge(textAreaForSingleLabel, chart)) {\r\n\t\t\ttmpLabels[i].text = tmpLabels[i].text.substring(0, tmpLabels[i].text.length - 4) + '...';\r\n\t\t\ttmpLabels[i].font.lineHeight = undefined;\r\n\t\t\ttmpLabels[i].font = utils.parseFont(resolve([tmpLabels[i].font, {}], ctx, 0));\r\n\t\t\ttextAreaForSingleLabel = utils.textSize(ctx, tmpLabels);\r\n\t\t}\r\n\t\tinnerLabels[i].text = tmpLabels[i].text;\r\n\t\tinnerLabels[i].font = tmpLabels[i].font;\r\n\t}\r\n\r\n\treturn utils.textSize(ctx, innerLabels);\r\n}\r\n\r\nfunction isTextAreaTooLarge(textAreaSize: Area, chart: Chart) {\r\n\treturn getAdjustmentRequiredToFitArea(textAreaSize, chart) < 1;\r\n}\r\n\r\nfunction getAdjustmentRequiredToFitArea(textAreaSize: Area, chart: Chart) {\r\n\tconst hypotenuse = Math.sqrt(Math.pow(textAreaSize.width, 2) + Math.pow(textAreaSize.height, 2));\r\n\tconst innerDiameter = (chart as any).innerRadius * 2;\r\n\treturn innerDiameter / hypotenuse;\r\n}\r\n\r\nfunction resizeStrategy(chart: Chart): ResizeStrategy {\r\n\tconst options = chart.options;\r\n\tconst pluginData = options.plugins!.doughnutlabel;\r\n\treturn pluginData.resizeStrategy ? pluginData.resizeStrategy : ResizeStrategy.SHRINK;\r\n}\r\n","export const GET_INTENT = 'GET_INTENT';\r\nexport const LOAD_INTENTS = 'LOAD_INTENTS';\r\nexport const CREATE_INTENT = 'CREATE_INTENT';\r\nexport const UPDATE_INTENT = 'UPDATE_INTENT';\r\nexport const DELETE_INTENT = 'DELETE_INTENT';\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('fieldset',{attrs:{\"disabled\":_vm.hasMessengerInstalledApp()}},[(!_vm.hasMessengerInstalledApp())?_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Log in to Facebook to authenticate your account\")]),_c('div',{staticClass:\"control\"},[(!_vm.connected)?_c('a',{staticClass:\"button is-link\",class:{ 'is-loading': _vm.loginInProgress },on:{\"click\":function($event){return _vm.login()}}},[_vm._v(\"Authenticate with Facebook\")]):_vm._e(),(_vm.connected)?_c('a',{staticClass:\"button is-success\",class:{ 'is-loading': _vm.loginInProgress }},[_vm._v(\"Authenticated\")]):_vm._e()])]):_vm._e(),(!_vm.hasMessengerInstalledApp())?_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Facebook Page\")]),_c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"select is-fullwidth\",class:{ 'is-loading': _vm.loadingPages }},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedPage),expression:\"selectedPage\"}],attrs:{\"disabled\":!_vm.connected || _vm.loadingPages},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedPage=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.userPages),function(page){return _c('option',{key:page.id,domProps:{\"value\":page}},[_vm._v(_vm._s(page.name))])}),0)]),(_vm.$v.selectedPage.$invalid && _vm.$v.selectedPage.$dirty)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"The Facebook Page is required\")]):_vm._e()])]):_vm._e(),(_vm.hasMessengerInstalledApp())?_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Facebook Page\")]),_c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"select is-fullwidth\"},[_c('select',[_c('option',[_vm._v(_vm._s(_vm.messengerApp.pageName))])])])])]):_vm._e(),_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\",\"disabled\":_vm.$v.$invalid,\"loading\":_vm.actionInProgress},on:{\"click\":function($event){return _vm.save()}}},[_vm._v(\"Submit\")]),_c('n-button',{attrs:{\"variant\":\"primary--outline\"},on:{\"click\":function($event){return _vm.cancel()}}},[_vm._v(\"Cancel\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { imageUploadApi } from '../services/webAssistantImageUpload';\r\nimport Toast from '@/shared/services/toast';\r\n\r\n@Component\r\nexport default class WebAssistantImageUpload extends Vue {\r\n\t@Prop() public accept: string;\r\n\t@Prop() public previewWidth: number;\r\n\t@Prop() public previewHeight: number;\r\n\t@Prop() public image: string;\r\n\t@Prop() public disabled: boolean;\r\n\r\n\tpublic imageUploaded = false;\r\n\tpublic imageUrl = '';\r\n\tpublic uploading = false;\r\n\r\n\tpublic inputElement: HTMLInputElement;\r\n\r\n\t@Watch('image', {immediate: true})\r\n\tpublic onImageUrlChanged(value: string, previous: string) {\r\n\t\tif (value) {\r\n\t\t\tthis.imageUploaded = true;\r\n\t\t\tthis.imageUrl = value;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic emitSelected() {\r\n\t\tthis.$emit('selected');\r\n\t}\r\n\r\n\tpublic emitUploaded(url: string) {\r\n\t\tthis.$emit('uploaded', url);\r\n\t}\r\n\r\n\tpublic emitCleared() {\r\n\t\tthis.$emit('cleared');\r\n\t}\r\n\r\n\tpublic imageSelected(e: Event) {\r\n\t\tif (this.disabled) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.inputElement = e.target as HTMLInputElement;\r\n\t\tif (!this.inputElement.files || this.inputElement.files.length === 0) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst selectedFile = this.inputElement.files[0];\r\n\t\tif (!this.isValidFileType(selectedFile.type)) {\r\n\t\t\tToast.showError(`Invalid file type - accepted types are .png, .jpg or .jpeg`);\r\n\t\t\tthis.inputElement.value = '';\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.emitSelected();\r\n\r\n\t\tthis.uploading = true;\r\n\r\n\t\timageUploadApi.upload(selectedFile)\r\n\t\t\t.then(response => {\r\n\t\t\t\tthis.imageUploaded = true;\r\n\t\t\t\tthis.imageUrl = response.url;\r\n\t\t\t\tthis.emitUploaded(response.url);\r\n\t\t\t\tToast.showSuccess('Image uploaded successfully');\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\t// clear the file from the input\r\n\t\t\t\t// fixes issue where nothing happens if the\r\n\t\t\t\t// user goes to select the same image again\r\n\t\t\t\tthis.inputElement.value = '';\r\n\t\t\t\tToast.showError(err.message);\r\n\t\t\t\tthis.emitCleared();\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.uploading = false;\r\n\t\t\t});\r\n\t}\r\n\r\n\tpublic clearImage() {\r\n\t\tthis.imageUrl = '';\r\n\t\tif (this.inputElement) {\r\n\t\t\tthis.inputElement.value = '';\r\n\t\t}\r\n\t\tthis.imageUploaded = false;\r\n\t\tthis.emitCleared();\r\n\t}\r\n\r\n\tprivate isValidFileType(type: string) {\r\n\t\treturn type === 'image/png' || type === 'image/jpeg';\r\n\t}\r\n}\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateRangeFilter.vue?vue&type=style&index=0&id=afa028f4&prod&lang=scss&scoped=true\"","import { render, staticRenderFns } from \"./ConditionButton.vue?vue&type=template&id=2c4ce897&scoped=true\"\nimport script from \"./ConditionButton.vue?vue&type=script&lang=ts\"\nexport * from \"./ConditionButton.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ConditionButton.vue?vue&type=style&index=0&id=2c4ce897&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2c4ce897\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactTrendCharts.vue?vue&type=style&index=0&id=37dc4d3a&prod&scoped=true&lang=scss\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { Conversation } from '../models/conversation';\r\nimport ContactConversation from './ContactConversation.vue';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\n\r\n@Component({ components: { LoadingSpinner, ContactConversation } })\r\nexport default class ContactConversationList extends Vue {\r\n\t@Prop({ default: () => [] }) public conversations: Conversation[];\r\n\r\n\t@Prop() public workspaceId: string;\r\n\r\n\t@Prop({ default: false }) public loading!: boolean;\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page\"},[(_vm.loading)?_c('LoadingSpinner'):_vm._e(),(!_vm.loading)?_c('section',{staticClass:\"section content-container\"},[_c('div',{staticClass:\"container is-fluid\"},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column\"},[_c('div',{staticClass:\"island\"},[_c('nav',{staticClass:\"level\"},[_c('div',{staticClass:\"level-left\"}),_c('div',{staticClass:\"level-right\"},[_c('p',{staticClass:\"level-item\"},[_c('n-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.addIntent()}}},[_c('span',[_vm._v(\"Add Intent\")])])],1)])]),_c('n-data-table',{staticClass:\"table is-fullwidth intents\",attrs:{\"columns\":_vm.tableColumns,\"items\":_vm.sortedIntents},on:{\"cellClicked\":function (row) { return _vm.editIntent(row); }},scopedSlots:_vm._u([{key:\"nodata\",fn:function(){return [_c('div',{staticClass:\"no-intents\"},[_c('font-awesome-icon',{staticClass:\"no-intents__icon\",attrs:{\"icon\":\"search\",\"size\":\"2x\"}}),_c('div',{staticClass:\"no-intents__message\"},[_c('h1',[_vm._v(\"No intents found\")])])],1)]},proxy:true},{key:\"actions\",fn:function(ref){\nvar row = ref.row;\nreturn [_c('DropDownMenu',{attrs:{\"goLeft\":\"true\",\"dropDownIcon\":\"dots\"}},[_c('a',{staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.showDeleteModal(row)}}},[_c('span',[_c('DeleteIcon')],1),_c('span',{staticClass:\"action-label\"},[_vm._v(\"Delete\")])])])]}}],null,false,2953898592)})],1)])])])]):_vm._e(),_c('AddIntentModal',{ref:\"addIntentModal\"}),(_vm.deleteModalVisible)?_c('DeleteIntentModal',{attrs:{\"intent\":_vm.intentToDelete},on:{\"cancel\":function($event){_vm.deleteModalVisible=false;}}}):_vm._e(),(_vm.intentToEdit)?_c('EditIntentModal',{ref:\"editIntentModal\",attrs:{\"intent-id\":_vm.intentToEdit.id},on:{\"completed\":_vm.getIntents}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { GetterTree } from 'vuex';\r\nimport { FlowDesignerState } from '.';\r\nimport {\r\n\tChangeType,\r\n\tFlowViewModel,\r\n\tInputVariableViewModel,\r\n\tPath,\r\n\tPathViewModel,\r\n\tQuickReplyViewModel,\r\n\tStateViewModel,\r\n\tTriggerType,\r\n} from '@/features/bots/models/designer';\r\nimport { AppState } from '../app';\r\nimport { BusinessHoursViewModel } from '@/features/bots/models';\r\nimport { ParentViewModel } from '@/features/bots/models/parentViewModel';\r\nimport { TriggerValidity } from '@/features/bots/models/designer/triggerValidity';\r\nimport { ConditionGroup } from '@/shared/components/conditions/models/conditionGroup';\r\nimport { ConditionViewModel } from '@/shared/components/conditions/models/conditionViewModel';\r\nimport { TriggerConditionAttributeType } from '@/features/bots/components/designer/Conditions/triggerConditionsManager';\r\nimport { FlowListItemViewModel } from '@/features/bots/models/flowListItemViewModel';\r\nimport { FlowStatus } from '@/features/bots/models/flowStatus';\r\nimport { TransitionType } from '@/features/bots/models/designer/transitionType';\r\nimport { TransitionViewModel } from '@/features/bots/models/designer/transitionViewModel';\r\nimport { PROACTIVE_FLOWS_ENABLED } from '@/store/app/featureTypes';\r\nimport { DecisionViewModel } from '@/features/bots/models/designer/decisionViewModel';\r\nimport { TransitionPickerOption } from '@/features/bots/models/designer/transitionPickerOption';\r\nimport { TransitionPickerConfig } from '@/features/bots/models/designer/transitionPickerConfig';\r\nimport { AnswerListItemViewModel } from '@/features/bots/models/answers/answerListItemViewModel';\r\n\r\nexport const getters: GetterTree = {\r\n\tflowName(state: FlowDesignerState): string {\r\n\t\treturn state.currentFlow.name;\r\n\t},\r\n\r\n\tgetFlow(\r\n\t\tstate: FlowDesignerState\r\n\t): (flowId: string) => FlowListItemViewModel | undefined {\r\n\t\treturn (flowId: string) => {\r\n\t\t\treturn state.flows.find((flow) => flow.id === flowId);\r\n\t\t};\r\n\t},\r\n\r\n\ttrigger(state: FlowDesignerState): string {\r\n\t\tif (state.currentFlow.triggers.length === 0) {\r\n\t\t\treturn '';\r\n\t\t}\r\n\t\treturn state.currentFlow.triggers[0];\r\n\t},\r\n\r\n\ttriggerConditions(state: FlowDesignerState) {\r\n\t\treturn state.currentFlow.triggerConditions;\r\n\t},\r\n\r\n\taudienceConditions(state: FlowDesignerState) {\r\n\t\treturn state.currentFlow.audienceConditions;\r\n\t},\r\n\r\n\ttargetContactTypes(state: FlowDesignerState): string[] {\r\n\t\treturn state.currentFlow.targetContactTypes;\r\n\t},\r\n\r\n\tscheduleCondition(state: FlowDesignerState): ConditionViewModel | null {\r\n\t\treturn state.currentFlow.scheduleCondition || null;\r\n\t},\r\n\r\n\topeningTimes(state: FlowDesignerState): BusinessHoursViewModel[] {\r\n\t\treturn state.currentFlow.businessHours || [];\r\n\t},\r\n\r\n\tpaths(state: FlowDesignerState): PathViewModel[] {\r\n\t\treturn state.currentFlow.paths;\r\n\t},\r\n\tcurrentFlow(state: FlowDesignerState): FlowViewModel {\r\n\t\treturn state.currentFlow;\r\n\t},\r\n\tfirstPath(state: FlowDesignerState): PathViewModel {\r\n\t\treturn state.currentFlow.paths[0];\r\n\t},\r\n\r\n\tlinkedPaths(state: FlowDesignerState): PathViewModel[] {\r\n\t\tconst linkedPaths: PathViewModel[] = [];\r\n\t\tstate.currentFlow.paths.forEach((path) => {\r\n\t\t\tpath.states.forEach((s) => {\r\n\t\t\t\tif (hasGoToPathWithId(s, state.currentPathId)) {\r\n\t\t\t\t\tlinkedPaths.push(path);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (hasQuickReplyPathWithId(s, state.currentPathId)) {\r\n\t\t\t\t\tlinkedPaths.push(path);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (hasDecisionPathWithId(s, state.currentPathId)) {\r\n\t\t\t\t\tlinkedPaths.push(path);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (hasNoMatchPathWithId(s, state.currentPathId)) {\r\n\t\t\t\t\tlinkedPaths.push(path);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t});\r\n\r\n\t\t// dedupe the array\r\n\t\treturn [...new Set(linkedPaths)];\r\n\t},\r\n\tparentFlows(state: FlowDesignerState): ParentViewModel[] {\r\n\t\treturn state.currentFlow.parentFlows;\r\n\t},\r\n\tparentAnswers(state: FlowDesignerState): ParentViewModel[] {\r\n\t\treturn state.currentFlow.parentAnswers;\r\n\t},\r\n\tcurrentPath(state: FlowDesignerState): Path | undefined {\r\n\t\tconst pathVm = state.currentFlow.paths.find(\r\n\t\t\t(p) => p.id === state.currentPathId\r\n\t\t);\r\n\t\tif (pathVm) {\r\n\t\t\treturn new Path(pathVm.id, pathVm.name, pathVm.states);\r\n\t\t}\r\n\t\treturn undefined;\r\n\t},\r\n\r\n\tflowVariables(state: FlowDesignerState): InputVariableViewModel[] {\r\n\t\treturn state.flowVariables;\r\n\t},\r\n\r\n\thasMadeChanges(state: FlowDesignerState): boolean {\r\n\t\treturn state.changes && Object.values(state.changes).indexOf(true) > -1;\r\n\t},\r\n\r\n\thasPathsChanged(state: FlowDesignerState): boolean {\r\n\t\treturn state.changes[ChangeType.Paths];\r\n\t},\r\n\r\n\thasNameChanged(state: FlowDesignerState): boolean {\r\n\t\treturn state.changes[ChangeType.Name];\r\n\t},\r\n\r\n\thasTriggersChanged(state: FlowDesignerState): boolean {\r\n\t\treturn state.changes[ChangeType.Triggers];\r\n\t},\r\n\r\n\thasConditionsChanged(state: FlowDesignerState): boolean {\r\n\t\treturn state.changes[ChangeType.Conditions];\r\n\t},\r\n\r\n\tisSaveFlowInProgress(state: FlowDesignerState): boolean {\r\n\t\treturn state.isSaveFlowInProgress;\r\n\t},\r\n\r\n\tisFlowInvalid(state: FlowDesignerState, localGetters: any): boolean {\r\n\t\tlet invalid = false;\r\n\t\tstate.currentFlow.paths.forEach((path) => {\r\n\t\t\tif (localGetters.isPathInvalid(path.id)) {\r\n\t\t\t\tinvalid = true;\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\treturn invalid;\r\n\t},\r\n\r\n\tisTransitioningToAnInactiveFlow(flowDesignerState: FlowDesignerState, localGetters, rootState: any): boolean {\r\n\t\tconst transitionedToFlows = new Set();\r\n\t\tfor (const path of flowDesignerState.currentFlow.paths) {\r\n\t\t\tfor (const state of path.states) {\r\n\t\t\t\taddGoToTransitionFlow(state.transition, transitionedToFlows);\r\n\r\n\t\t\t\tif (state.options) {\r\n\t\t\t\t\taddQuickReplyTransitionFlows(state.options, transitionedToFlows);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (state.decisions) {\r\n\t\t\t\t\taddDecisionTransitionFlows(state.decisions, transitionedToFlows);\r\n\t\t\t\t}\r\n\r\n\t\t\t\taddNoMatchTransitionFlow(state.noMatch, transitionedToFlows);\r\n\t\t\t}\r\n\t\t}\r\n\t\tconst flowsAndAnswers = [...flowDesignerState.flows, ...rootState.answers.answers];\r\n\t\treturn flowsAndAnswers.some((flow) => transitionedToFlows.has(flow.id) && flow.status !== FlowStatus.Live);\r\n\t},\r\n\r\n\tisTransitionPayloadInvalid: (flowDesignerState: FlowDesignerState, localGetters, rootState: any) => (payload: string) => {\r\n\t\tconst flowsAndAnswers = [...flowDesignerState.flows, ...rootState.answers.answers, ...flowDesignerState.currentFlow.paths];\r\n\t\treturn !flowsAndAnswers.some((flow) => flow.id === payload);\r\n\t},\r\n\r\n\tisPathInvalid: (state: FlowDesignerState, localGetters: any) => (pathId: string): boolean => {\r\n\t\tlet invalid = false;\r\n\t\tconst path = state.currentFlow.paths.find((p) => p.id === pathId);\r\n\t\tconst pathIndex = state.currentFlow.paths.findIndex(\r\n\t\t\t(p) => p.id === pathId\r\n\t\t);\r\n\r\n\t\tif (path && path.name.length === 0) {\r\n\t\t\tinvalid = true;\r\n\t\t}\r\n\r\n\t\tif (path && path.states.length === 0) {\r\n\t\t\tinvalid = true;\r\n\t\t}\r\n\r\n\t\tif (path && path.states.some((s) => s.invalid)) {\r\n\t\t\tinvalid = true;\r\n\t\t}\r\n\r\n\t\t// first path should be marked as invalid if the trigger is invalid\r\n\t\tif (pathIndex === 0) {\r\n\t\t\tif (!localGetters.triggerValidity.isValid) {\r\n\t\t\t\tinvalid = true;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn invalid;\r\n\t},\r\n\r\n\ttriggerValidity(state: FlowDesignerState, localGetters: any): TriggerValidity {\r\n\t\tconst validity: TriggerValidity = {\r\n\t\t\tisValid: true,\r\n\t\t\tmessage: '',\r\n\t\t};\r\n\r\n\t\tlet triggerConditionsInvalid = false;\r\n\t\tif (state.currentFlow.triggerConditions) {\r\n\t\t\ttriggerConditionsInvalid = ConditionGroup.isGroupInvalid(\r\n\t\t\t\tstate.currentFlow.triggerConditions\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tlet audienceConditionsInvalid = false;\r\n\t\tif (state.currentFlow.audienceConditions) {\r\n\t\t\taudienceConditionsInvalid = ConditionGroup.isGroupInvalid(\r\n\t\t\t\tstate.currentFlow.audienceConditions\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tif (triggerConditionsInvalid || audienceConditionsInvalid || state?.currentFlow?.scheduleCondition?.invalid) {\r\n\t\t\tvalidity.isValid = false;\r\n\t\t}\r\n\r\n\t\tfor (const trigger of state.currentFlow.triggers) {\r\n\t\t\tif (trigger === TriggerType.MessageReceived) {\r\n\t\t\t\tlet messageCondition: ConditionViewModel | undefined;\r\n\t\t\t\tif (state.currentFlow.triggerConditions) {\r\n\t\t\t\t\tmessageCondition = ConditionGroup.find(\r\n\t\t\t\t\t\tstate.currentFlow.triggerConditions,\r\n\t\t\t\t\t\t(c) =>\r\n\t\t\t\t\t\t\tc.attribute ===\r\n\t\t\t\t\t\t\t\tTriggerConditionAttributeType.MessageText ||\r\n\t\t\t\t\t\t\tc.attribute ===\r\n\t\t\t\t\t\t\t\tTriggerConditionAttributeType.MessageIntent\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (!messageCondition) {\r\n\t\t\t\t\tvalidity.isValid = false;\r\n\t\t\t\t\tvalidity.message = `A Message Received trigger must have a Message Text or Message Intent condition`;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (trigger === TriggerType.WidgetLoaded) {\r\n\t\t\t\tif (!localGetters.isWorkspaceFeatureEnabled(PROACTIVE_FLOWS_ENABLED)) {\r\n\t\t\t\t\tvalidity.isValid = false;\r\n\t\t\t\t\tvalidity.message = `This flow is using a \"Page Loaded\" trigger, which has been disabled on your workspace - choose a different trigger type or contact Netcall if you wish to continue to use it`;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn validity;\r\n\t},\r\n\r\n\tisCurrentFlowTriggerable: (state: FlowDesignerState): boolean => {\r\n\t\treturn state.currentFlow.triggers.length > 0 || state.currentFlow.parentFlows.length > 0 || state.currentFlow.parentAnswers.length > 0;\r\n\t},\r\n\r\n\tcurrentFlowStatus: (state: FlowDesignerState): FlowStatus => {\r\n\t\treturn state.currentFlow.status;\r\n\t},\r\n\r\n\ttransitionPickerFixedConfig(state: FlowDesignerState, localGetters, rootState: any): TransitionPickerConfig {\r\n\t\tconst options = createTransitionPickerOptions(rootState.answers.answers, state.currentFlow.paths, state.flows);\r\n\t\treturn { currentStatus: state.currentFlow.status, options, allowAddPath: false };\r\n\t},\r\n\r\n\ttransitionPickerConfigForFlow(state: FlowDesignerState, localGetters, rootState: any): TransitionPickerConfig {\r\n\t\tconst flows = getFlowsForTransitionPicker(state.flows, state.currentFlow);\r\n\t\tconst paths = getPathsForTransitionPicker(state.currentFlow.paths, state.currentPathId);\r\n\t\tconst answers = getAnswersForTransitionPicker(rootState.answers.answers, state.currentFlow.status);\r\n\t\tconst options = createTransitionPickerOptions(answers, paths, flows);\r\n\t\toptions.push({\r\n\t\t\tid: '',\r\n\t\t\ttype: TransitionType.None,\r\n\t\t\tname: 'None'\r\n\t\t});\r\n\t\treturn { currentStatus: state.currentFlow.status, options, allowAddPath: true };\r\n\t}\r\n};\r\n\r\nfunction hasGoToPathWithId(state: StateViewModel, pathId: string): boolean {\r\n\treturn state.transition ? state.transition.payload === pathId : false;\r\n}\r\n\r\nfunction hasQuickReplyPathWithId(state: StateViewModel, pathId: string): boolean {\r\n\treturn state.options ? state.options.some((o) => o.transition && o.transition.payload === pathId) : false;\r\n}\r\n\r\nfunction hasDecisionPathWithId(state: StateViewModel, pathId: string): boolean {\r\n\treturn state.decisions ? state.decisions.some((o) => o.transition && o.transition.payload === pathId) : false;\r\n}\r\n\r\nfunction hasNoMatchPathWithId(state: StateViewModel, pathId: string): boolean {\r\n\treturn state.noMatch ? state.noMatch.payload === pathId : false;\r\n}\r\n\r\nfunction addGoToTransitionFlow(transition: TransitionViewModel | undefined, uniqueFlows: Set) {\r\n\taddDestinationFlowOrAnswer(transition, uniqueFlows);\r\n}\r\n\r\nfunction addQuickReplyTransitionFlows(options: QuickReplyViewModel[], uniqueFlows: Set): void {\r\n\tfor (const option of options) {\r\n\t\taddDestinationFlowOrAnswer(option.transition, uniqueFlows);\r\n\t}\r\n}\r\n\r\nfunction addDecisionTransitionFlows(decisions: DecisionViewModel[], uniqueFlows: Set): void {\r\n\tfor (const decision of decisions) {\r\n\t\taddDestinationFlowOrAnswer(decision.transition, uniqueFlows);\r\n\t}\r\n}\r\n\r\nfunction addNoMatchTransitionFlow(transition: TransitionViewModel | undefined, uniqueFlows: Set) {\r\n\taddDestinationFlowOrAnswer(transition, uniqueFlows);\r\n}\r\n\r\nfunction addDestinationFlowOrAnswer(transition: TransitionViewModel | undefined, uniqueFlows: Set): void {\r\n\tif (transition && transition.payload && (transition.type === TransitionType.Flow || transition.type === TransitionType.Answer)) {\r\n\t\tuniqueFlows.add(transition.payload);\r\n\t}\r\n}\r\n\r\nfunction getFlowsForTransitionPicker(flows: FlowListItemViewModel[], currentFlow: FlowViewModel) {\r\n\treturn flows.filter((flow) => {\r\n\t\tif (currentFlow.status === FlowStatus.Live) {\r\n\t\t\treturn flow.status === FlowStatus.Live && flow.id !== currentFlow.id;\r\n\t\t}\r\n\t\treturn flow.id !== currentFlow.id;\r\n\t});\r\n}\r\n\r\nfunction getAnswersForTransitionPicker(answers: AnswerListItemViewModel[], currentFlowStatus: FlowStatus) {\r\n\treturn answers.filter((answer) => {\r\n\t\tif (currentFlowStatus === FlowStatus.Live) {\r\n\t\t\treturn answer.status === FlowStatus.Live;\r\n\t\t}\r\n\t\treturn true;\r\n\t});\r\n}\r\n\r\nfunction getPathsForTransitionPicker(paths: PathViewModel[], currentPathId: string) {\r\n\treturn paths.filter((path) => {\r\n\t\treturn path.id !== currentPathId;\r\n\t});\r\n}\r\n\r\nfunction createTransitionPickerOptions(answers: AnswerListItemViewModel[], paths: PathViewModel[], flows: FlowListItemViewModel[]) {\r\n\treturn [\r\n\t\t...answers.map((answer: AnswerListItemViewModel) => ({\r\n\t\t\tid: answer.id,\r\n\t\t\tname: answer.title,\r\n\t\t\ttype: TransitionType.Answer\r\n\t\t})),\r\n\t\t...paths.map((path: PathViewModel) => ({\r\n\t\t\tid: path.id,\r\n\t\t\tname: path.name,\r\n\t\t\ttype: TransitionType.Path\r\n\t\t})),\r\n\t\t...flows.map((flow: FlowListItemViewModel) => ({\r\n\t\t\tid: flow.id,\r\n\t\t\tname: flow.name,\r\n\t\t\ttype: TransitionType.Flow\r\n\t\t}))\r\n\t] as TransitionPickerOption[];\r\n}\r\n","export enum MessageDirection {\r\n\tOutbound = 'outbound',\r\n\tInbound = 'inbound'\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.icon,{tag:\"component\",staticClass:\"data-table-icon\"})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"field has-addons\"},[_c('div',{staticClass:\"control is-expanded\"},[_c('input',{staticClass:\"input\",attrs:{\"type\":\"text\",\"disabled\":\"\"},domProps:{\"value\":_vm.readonlyValue}})])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./FaqIntentPicker.vue?vue&type=template&id=11fc92dd&scoped=true\"\nimport script from \"./FaqIntentPicker.vue?vue&type=script&lang=ts\"\nexport * from \"./FaqIntentPicker.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FaqIntentPicker.vue?vue&type=style&index=0&id=11fc92dd&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"11fc92dd\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./GoogleBmAgentTestModal.vue?vue&type=template&id=b4a1e5b0&scoped=true\"\nimport script from \"./GoogleBmAgentTestModal.vue?vue&type=script&lang=ts\"\nexport * from \"./GoogleBmAgentTestModal.vue?vue&type=script&lang=ts\"\nimport style0 from \"./GoogleBmAgentTestModal.vue?vue&type=style&index=0&id=b4a1e5b0&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b4a1e5b0\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BillableConversationsTrendChart.vue?vue&type=style&index=0&id=6e5d1975&prod&scoped=true&lang=scss\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue} from 'vue-property-decorator';\r\nimport {InputVariableViewModel} from '@/features/bots/models/designer';\r\nimport EmojiIcon from 'vue-material-design-icons/EmoticonHappyOutline.vue';\r\nimport { mixin as clickaway } from 'vue-clickaway';\r\nimport {Getter} from 'vuex-class';\r\nimport EmojiPicker from '@/features/bots/components/designer/TextEditor/EmojiPicker.vue';\r\nimport VariablePicker from '@/features/bots/components/designer/VariablePicker/VariablePicker.vue';\r\nimport CodeIcon from 'vue-material-design-icons/CodeBrackets.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tEmojiIcon,\r\n\t\tEmojiPicker,\r\n\t\tVariablePicker,\r\n\t\tCodeIcon\r\n\t},\r\n\tmixins: [clickaway],\r\n})\r\nexport default class ActionBar extends Vue {\r\n\t@Prop({default: true}) public showVariablePicker: boolean;\r\n\t@Getter public flowVariables!: InputVariableViewModel[];\r\n\r\n\tpublic isVariablePickerOpen: boolean = false;\r\n\tpublic isEmojiPickerOpen: boolean = false;\r\n\r\n\tpublic addVariableToText(variable: InputVariableViewModel) {\r\n\t\tthis.isVariablePickerOpen = false;\r\n\t\tthis.$emit('addVariable', variable);\r\n\t}\r\n\r\n\tpublic insertEmoji(emoji: any) {\r\n\t\tthis.closeEmojiPicker();\r\n\t\tthis.$emit('addEmoji', emoji.native);\r\n\t}\r\n\r\n\tpublic closeEmojiPicker() {\r\n\t\tthis.isEmojiPickerOpen = false;\r\n\t}\r\n\r\n\tpublic toggleEmojiPicker() {\r\n\t\tthis.isEmojiPickerOpen = !this.isEmojiPickerOpen;\r\n\t\tif (this.isEmojiPickerOpen) {\r\n\t\t\tthis.isVariablePickerOpen = false;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic closeVariablePicker() {\r\n\t\tthis.isVariablePickerOpen = false;\r\n\t}\r\n\r\n\tpublic getNameAttributes(): InputVariableViewModel[] {\r\n\t\tconst firstName = {\r\n\t\t\tkey: 'givenName',\r\n\t\t\tid: 'givenName',\r\n\t\t\tscope: 'appUser',\r\n\t\t\tdataType: 'text',\r\n\t\t\tname: 'First Name',\r\n\t\t} as InputVariableViewModel;\r\n\r\n\t\tconst secondName = {\r\n\t\t\tkey: 'surname',\r\n\t\t\tid: 'surname',\r\n\t\t\tscope: 'appUser',\r\n\t\t\tdataType: 'text',\r\n\t\t\tname: 'Last Name',\r\n\t\t} as InputVariableViewModel;\r\n\r\n\t\treturn [firstName, secondName];\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"material-design-icon\"},[_c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"enable-background\":\"new 0 0 24 24\",\"height\":\"36\",\"viewBox\":\"0 0 24 24\",\"width\":\"36\"}},[_c('g',[_c('rect',{attrs:{\"fill\":\"none\",\"height\":\"36\",\"width\":\"36\"}})]),_c('g',[_c('g',[_c('circle',{attrs:{\"fill\":\"#212529\",\"cx\":\"10\",\"cy\":\"8\",\"r\":\"4\"}}),_c('path',{attrs:{\"fill\":\"#212529\",\"d\":\"M10.35,14.01C7.62,13.91,2,15.27,2,18v2h9.54C9.07,17.24,10.31,14.11,10.35,14.01z\"}}),_c('path',{attrs:{\"fill\":\"#212529\",\"d\":\"M19.43,18.02C19.79,17.43,20,16.74,20,16c0-2.21-1.79-4-4-4s-4,1.79-4,4c0,2.21,1.79,4,4,4c0.74,0,1.43-0.22,2.02-0.57 L20.59,22L22,20.59L19.43,18.02z M16,18c-1.1,0-2-0.9-2-2c0-1.1,0.9-2,2-2s2,0.9,2,2C18,17.1,17.1,18,16,18z\"}})])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export enum FlowStatus {\r\n\tDraft = 'draft',\r\n\tLive = 'live',\r\n\tPaused = 'paused'\r\n}\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UsersInWorkspace.vue?vue&type=style&index=0&id=5b1af302&prod&scoped=true&lang=scss\"","import { render, staticRenderFns } from \"./ContactConversationList.vue?vue&type=template&id=06704bdc&scoped=true\"\nimport script from \"./ContactConversationList.vue?vue&type=script&lang=ts\"\nexport * from \"./ContactConversationList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ContactConversationList.vue?vue&type=style&index=0&id=06704bdc&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"06704bdc\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./ColumnPicker.vue?vue&type=template&id=90ccf7c0\"\nimport script from \"./ColumnPicker.vue?vue&type=script&lang=ts\"\nexport * from \"./ColumnPicker.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./ContentHighlightsArticleAppEdit.vue?vue&type=template&id=b5aed140\"\nimport script from \"./ContentHighlightsArticleAppEdit.vue?vue&type=script&lang=ts\"\nexport * from \"./ContentHighlightsArticleAppEdit.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { ConfiguredAppIntegration } from '@/features/apps/shared/models/configuredAppIntegration';\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport Modal from '@/shared/components/Modal.vue';\r\nimport ContentHighlightsArticleAppEdit from './ContentHighlightsArticleAppEdit.vue';\r\nimport ContentHighlightsListAppEdit from './ContentHighlightsListAppEdit.vue';\r\nimport { ArticleAppConfig } from './models/ArticleApp';\r\nimport { ListApp, ListAppItem } from './models/ListApp';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tModal,\r\n\t\tContentHighlightsArticleAppEdit,\r\n\t\tContentHighlightsListAppEdit,\r\n\t},\r\n})\r\nexport default class ContentHighlightsEditModal extends Vue {\r\n\t@Prop() public appConfig: ConfiguredAppIntegration;\r\n\r\n\tpublic isLoading = false;\r\n\r\n\tpublic articleAppConfig: ArticleAppConfig | null = null;\r\n\r\n\tpublic listAppConfig: ListApp | null = null;\r\n\r\n\tpublic $refs: {\r\n\t\tappConfigComponent: ContentHighlightsArticleAppEdit | ContentHighlightsListAppEdit\r\n\t};\r\n\r\n\tpublic isInvalid = false;\r\n\r\n\tpublic mounted() {\r\n\t\tif (this.isArticleApp()) {\r\n\t\t\tthis.articleAppConfig = {\r\n\t\t\t\timage_url: this.appConfig.config.image_url,\r\n\t\t\t\theader_text: this.appConfig.config.header_text,\r\n\t\t\t\tbody_text: this.appConfig.config.body_text,\r\n\t\t\t\tarticle_url: this.appConfig.config.article_url,\r\n\t\t\t\tlink_label: this.appConfig.config.link_label,\r\n\t\t\t\t$templateName: 'SingleHighlight',\r\n\t\t\t};\r\n\t\t} else {\r\n\t\t\tthis.parseListAppConfig();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic isArticleApp(): boolean {\r\n\t\treturn this.appConfig.config.$templateName === 'SingleHighlight';\r\n\t}\r\n\r\n\tpublic async saveApp() {\r\n\t\tthis.$refs.appConfigComponent?.$v.$touch();\r\n\t\tif (this.$refs.appConfigComponent?.$v.$invalid) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.$emit(\r\n\t\t\t'save',\r\n\t\t\tthis.isArticleApp() ? {\r\n\t\t\t\tconfig: {\r\n\t\t\t\t\t...this.articleAppConfig\r\n\t\t\t\t},\r\n\t\t\t\tinstalledAppId: this.appConfig.installedAppId\r\n\t\t\t} : this.getListAppFromConfig()\r\n\t\t);\r\n\t}\r\n\r\n\tpublic handleInput(isInvalid: boolean) {\r\n\t\tthis.isInvalid = isInvalid;\r\n\t}\r\n\r\n\tprivate parseListAppConfig() {\r\n\t\tconst items: ListAppItem[] = [\r\n\t\t\t{\r\n\t\t\t\turl: '',\r\n\t\t\t\tdescription: '',\r\n\t\t\t\tlabel: '',\r\n\t\t\t\timage: '',\r\n\t\t\t},\r\n\t\t];\r\n\r\n\t\tfor (const [key, value] of Object.entries(this.appConfig.config).filter(\r\n\t\t\t([k]) => k.includes('url')\r\n\t\t)) {\r\n\t\t\tconst parts = key.split('_');\r\n\t\t\tif (!items[Number(parts[parts.length - 1]) - 1]) {\r\n\t\t\t\titems[Number(parts[parts.length - 1]) - 1] = {\r\n\t\t\t\t\turl: '',\r\n\t\t\t\t\tdescription: '',\r\n\t\t\t\t\tlabel: '',\r\n\t\t\t\t\timage: '',\r\n\t\t\t\t};\r\n\t\t\t}\r\n\t\t\titems[Number(parts[parts.length - 1]) - 1][\r\n\t\t\t\tparts[parts.length - 2] as keyof ListAppItem\r\n\t\t\t] = value as string;\r\n\t\t}\r\n\r\n\t\tthis.listAppConfig = {\r\n\t\t\theading: this.appConfig.config.header,\r\n\t\t\t$templateName: 'ListOfHighlights',\r\n\t\t\titems,\r\n\t\t};\r\n\t}\r\n\r\n\tprivate getListAppFromConfig(): ConfiguredAppIntegration {\r\n\t\tconst connectListApp: ConfiguredAppIntegration = {\r\n\t\t\tinstalledAppId: this.appConfig.installedAppId,\r\n\t\t\tconfig: {\r\n\t\t\t\theader: this.listAppConfig?.heading,\r\n\t\t\t\t$templateName: 'ListOfHighlights',\r\n\t\t\t},\r\n\t\t};\r\n\r\n\t\tif (!this.listAppConfig?.items) {\r\n\t\t\tthrow new Error('App doesn\\'t contain any items');\r\n\t\t}\r\n\r\n\t\tfor (let i = 0; i < this.listAppConfig.items.length; i += 1) {\r\n\t\t\tconnectListApp.config[`url_${i + 1}`] = this.listAppConfig.items[i].url;\r\n\t\t\tconnectListApp.config[`url_description_${i + 1}`] =\r\n\t\t\tthis.listAppConfig.items[i].description;\r\n\t\t\tconnectListApp.config[`url_label_${i + 1}`] = this.listAppConfig.items[i].label;\r\n\t\t\tconnectListApp.config[`url_image_${i + 1}`] = this.listAppConfig.items[i].image;\r\n\t\t}\r\n\r\n\t\treturn connectListApp;\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"field is-horizontal\"},[_c('div',{staticClass:\"field-body\"},[(_vm.isFlowReportDisplayed)?_c('div',{staticClass:\"field\"},[_c('FlowReportFilters')],1):_vm._e(),_c('div',{staticClass:\"field\"},[(!_vm.isUsageReportDisplayed)?_c('DateRangeFilter'):_vm._e(),(_vm.isUsageReportDisplayed)?_c('UsageDateRangeFilter'):_vm._e()],1),_c('div',{staticClass:\"field\"},[_c('ReportDownloader')],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\n\r\n\r\n@Component\r\nexport default class TriageIcon extends Vue {\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowsReports.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowsReports.vue?vue&type=script&lang=ts\"","export enum RegexType {\r\n\tDECIMAL = '^(\\\\d+(\\\\.\\\\d{0,2})?|\\\\.?\\\\d{1,2})$',\r\n\tNUMERIC = '^[0-9]+$',\r\n\tEMAIL = `^\\\\w+([-+.']\\\\w+)*@\\\\w+([-.]\\\\w+)*\\\\.\\\\w+([-.]\\\\w+)*$`,\r\n\tPHONE_NUMBER = '^[\\\\-\\\\+\\\\(\\\\)\\\\d ]+$'\r\n}\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActiveLearning.vue?vue&type=style&index=0&id=58a2f234&prod&scoped=true&lang=scss\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\r\nimport {StateViewModel} from '@/features/bots/models/designer';\r\nimport TextEditor from '@/features/bots/components/designer/TextEditor/TextEditor.vue';\r\nimport IslandBadge from './IslandBadge.vue';\r\nimport {validationMixin} from 'vuelidate';\r\nimport {required} from 'vuelidate/lib/validators';\r\nimport ErrorIcon from 'vue-material-design-icons/AlertCircleOutline.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tIslandBadge,\r\n\t\tErrorIcon,\r\n\t\tTextEditor\r\n\t},\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tstate: {\r\n\t\t\ttext: {\r\n\t\t\t\trequired,\r\n\t\t\t\tattributeInvalid(value) {\r\n\t\t\t\t\tconst textComponent = (this as any);\r\n\t\t\t\t\tconst invalidAttribute: boolean = textComponent.invalidAttribute;\r\n\t\t\t\t\treturn !invalidAttribute;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n})\r\nexport default class TextComponent extends Vue {\r\n\t@Prop() public value: StateViewModel;\r\n\tpublic state: StateViewModel = {\r\n\t\tid: '',\r\n\t\tcomponent: 'Text'\r\n\t};\r\n\r\n\tpublic $refs: {\r\n\t\ttextEditor: TextEditor\r\n\t};\r\n\r\n\tpublic invalidAttribute: boolean = false;\r\n\r\n\t@Watch('value', { immediate: true })\r\n\tpublic onValueChanged(value: StateViewModel, previous: StateViewModel) {\r\n\t\tthis.state = value;\r\n\t}\r\n\r\n\tpublic async textUpdated(text: string) {\r\n\t\tif (this.state.text === text) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.state.text = text;\r\n\r\n\t\tthis.$v.$touch();\r\n\t\tthis.state.invalid = this.$v.$invalid;\r\n\r\n\t\tthis.$emit('state-updated', this.state);\r\n\t}\r\n\r\n\tpublic setInvalidAttribute(val: boolean) {\r\n\t\tthis.invalidAttribute = val;\r\n\t\tthis.$v.$touch();\r\n\t\tthis.state.invalid = this.$v.$invalid;\r\n\t}\r\n\r\n\tpublic focusOnInput() {\r\n\t\tthis.$refs.textEditor.focusElement();\r\n\t\tthis.$refs.textEditor.startEditing();\r\n\t}\r\n\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.show),expression:\"show\"}],staticClass:\"picker-position\",class:{'is-down' : !_vm.isUp, 'is-up': _vm.isUp}},[_c('Picker',{staticClass:\"emoji-picker\",attrs:{\"id\":_vm.getEmojiPickerId(),\"emoji-size\":21,\"perLine\":9,\"native\":true,\"showPreview\":false,\"data\":_vm.ei},on:{\"select\":_vm.addVariableToText}}),_c('div',{class:{ 'arrow-down' : _vm.isUp, 'arrow-up' : !_vm.isUp}},[_c('div',{staticClass:\"inner-arrow\"})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinkedPathsBox.vue?vue&type=style&index=0&id=140b79f2&prod&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BusinessHours.vue?vue&type=style&index=0&id=0f3870d7&prod&lang=scss&scoped=true\"","import { render, staticRenderFns } from \"./ContactConversation.vue?vue&type=template&id=97b506dc&scoped=true\"\nimport script from \"./ContactConversation.vue?vue&type=script&lang=ts\"\nexport * from \"./ContactConversation.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ContactConversation.vue?vue&type=style&index=0&id=97b506dc&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"97b506dc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"field has-addons\"},[_c('div',{staticClass:\"control is-expanded\"},[_c('input',{staticClass:\"input\",attrs:{\"type\":\"text\",\"disabled\":\"\"},domProps:{\"value\":_vm.readonlyValue}})]),_c('p',{staticClass:\"control\"},[_c('button',{directives:[{name:\"clipboard\",rawName:\"v-clipboard:copy\",value:(_vm.readonlyValue),expression:\"readonlyValue\",arg:\"copy\"},{name:\"clipboard\",rawName:\"v-clipboard:success\",value:(_vm.onCopiedToClipboard),expression:\"onCopiedToClipboard\",arg:\"success\"}],staticClass:\"button is-info\"},[_c('span',{staticClass:\"icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"copy\"}})],1)])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\r\nimport { mixin as clickaway } from 'vue-clickaway';\r\nimport HtmlFormatter from '@/shared/services/htmlFormatter';\r\n\r\n@Component({ mixins: [clickaway] })\r\nexport default class EditableText extends Vue {\r\n\t@Prop() public value: string;\r\n\t@Prop() public placeholder: string;\r\n\t@Prop({default: false}) public multiline: boolean;\r\n\t@Prop({default: false}) public allowEmpty: boolean;\r\n\t@Prop() public maxWidth: string;\r\n\t@Prop() public minWidth: string;\r\n\t@Prop({default: 100}) public maxChars: number;\r\n\r\n\tpublic $refs: {\r\n\t\ttextfield: any,\r\n\t};\r\n\r\n\tpublic text: string = '';\r\n\tpublic isEditing: boolean = false;\r\n\r\n\t@Watch('value', { immediate: true })\r\n\tpublic onValueChanged(value: string, previous: string) {\r\n\t\tthis.text = value;\r\n\t}\r\n\r\n\tpublic hasText() {\r\n\t\treturn this.text && this.text.length > 0;\r\n\t}\r\n\r\n\tpublic getPlaceholder() {\r\n\t\treturn this.placeholder ? this.placeholder : ' ';\r\n\t}\r\n\r\n\tpublic startEditing() {\r\n\t\tthis.isEditing = true;\r\n\t\tthis.$nextTick(() => {\r\n\t\t\tlet el = this.$refs.textfield;\r\n\t\t\tif (this.multiline) {\r\n\t\t\t\tel = this.$refs.textfield.$el;\r\n\t\t\t}\r\n\t\t\tHtmlFormatter.setCaretAtTheEndOfContentEditable(el);\r\n\t\t});\r\n\t}\r\n\r\n\tpublic finishEditing() {\r\n\t\tthis.isEditing = false;\r\n\t\tconst previousValue = this.value;\r\n\t\tif (!this.allowEmpty && this.textEmpty()) {\r\n\t\t\tthis.text = this.value;\r\n\t\t\tthis.$emit('text-updated', this.text, previousValue);\r\n\t\t} else {\r\n\t\t\tthis.$emit('text-updated', this.text, previousValue);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic onInput(e: any) {\r\n\t\tconst userInput = e.target.innerText;\r\n\t\tif (userInput.length < this.maxChars) {\r\n\t\t\tthis.text = userInput;\r\n\t\t}\r\n\t}\r\n\r\n\tprivate textEmpty(): boolean {\r\n\t\treturn (typeof this.text === 'undefined' || !this.text || 0 === this.text.length);\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportDownloader.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportDownloader.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InputValidationConfig.vue?vue&type=template&id=1813528c&scoped=true\"\nimport script from \"./InputValidationConfig.vue?vue&type=script&lang=ts\"\nexport * from \"./InputValidationConfig.vue?vue&type=script&lang=ts\"\nimport style0 from \"./InputValidationConfig.vue?vue&type=style&index=0&id=1813528c&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1813528c\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n\r\nimport Component from 'vue-class-component';\r\nimport Vue from 'vue';\r\nimport FlowIcon from 'vue-material-design-icons/Waves.vue';\r\nimport appInsights from '@/shared/services/appInsights';\r\nimport {Getter} from 'vuex-class';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\n@Component({\r\n\tcomponents: {\r\n\t\tFlowIcon\r\n\t}\r\n})\r\nexport default class UpgradeModal extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\r\n\tpublic closeUpgradeModal() {\r\n\t\tthis.$emit('close');\r\n\t}\r\n\r\n\tpublic chatWithUsClicked() {\r\n\t\tappInsights.trackEvent({ name: 'Upgrade modal: \"chat with us\" clicked' }, { workspaceId: this.currentWorkspace.id });\r\n\t\twindow.open('https://www.netcall.com/liberty-connect-custom-flows-and-triage-bots?openConversation=true&utm_source=connect&utm_campaign=subscription_upgrade', '_blank');\r\n\t}\r\n}\r\n","\n\n\n\r\nimport {Component, Vue} from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class FlowVariableIcon extends Vue {\r\n}\r\n","export default class ContactNameUtil {\r\n\r\n\tpublic static extractGivenName(input: string): string {\r\n\t\tconst givenName = this.replaceMultiSpaceWithSingle(input.trim());\r\n\t\tif (!givenName) {\r\n\t\t\treturn '';\r\n\t\t}\r\n\t\tif (givenName.includes(' ')) {\r\n\t\t\treturn givenName.substring(0, givenName.indexOf(' ')).trim();\r\n\t\t}\r\n\t\treturn givenName;\r\n\t}\r\n\r\n\tpublic static extractSurname(input: string): string {\r\n\t\tconst surname = this.replaceMultiSpaceWithSingle(input.trim());\r\n\t\tif (!surname) {\r\n\t\t\treturn '';\r\n\t\t} else if (surname.includes(' ')) {\r\n\t\t\treturn surname.substring(surname.indexOf(' ') + 1).trim();\r\n\t\t}\r\n\t\treturn '';\r\n\t}\r\n\r\n\tpublic static replaceMultiSpaceWithSingle(input: string): string {\r\n\t\treturn input.replace(/\\s\\s+/g, ' ');\r\n\t}\r\n}\r\n\r\n\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"tooltip-container\"},[_c('div',{staticClass:\"tooltip-container__element\"},[_vm._t(\"element\")],2),_c('div',{ref:\"advancedTooltip\",staticClass:\"tooltip-container__tooltip\",class:{'is-up': _vm.isUp},style:({top: (_vm.fromTop + \"px\")})},[(!_vm.isUp)?_c('div',{staticClass:\"tooltip-container__arrow-up\"}):_vm._e(),(_vm.isUp)?_c('div',{staticClass:\"tooltip-container__arrow-down\"}):_vm._e(),_c('div',{staticClass:\"tooltip-container__content\"},[_vm._t(\"content\")],2),_c('hr'),_c('div',{staticClass:\"tooltip-container__footer\"},[_vm._t(\"footer\")],2)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"conversations-modal\"},[_c('div',{staticClass:\"conversations-modal__backdrop\",on:{\"click\":function($event){return _vm.closeModal()}}}),_c('div',{staticClass:\"conversations-modal__dialog\"},[_c('header',{staticClass:\"conversations-modal__header\"},[(_vm.contactProfile)?_c('div',{staticClass:\"conversations-modal__title\"},[_c('n-avatar',{attrs:{\"name\":_vm.contactName,\"imageUrl\":_vm.contactProfile.avatarUrl,\"enableTooltip\":true}}),_c('h2',[_vm._v(_vm._s(_vm.contactName))])],1):_vm._e(),_c('button',{staticClass:\"delete conversations-modal__close-button\",attrs:{\"aria-label\":\"close\"},on:{\"click\":function($event){return _vm.closeModal()}}})]),_c('div',{staticClass:\"conversations-modal__main\"},[_c('ContactConversationList',{attrs:{\"conversations\":_vm.conversations,\"loading\":_vm.loadingContactProfile,\"workspaceId\":_vm.currentWorkspace.id}})],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleBmLocations.vue?vue&type=style&index=0&id=68ddca02&prod&scoped=true&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"on-clickaway\",rawName:\"v-on-clickaway\",value:(_vm.setUnclickedState),expression:\"setUnclickedState\"}],staticClass:\"quickreply-component\",on:{\"click\":_vm.setClickedState}},[_c('IslandBadge',{attrs:{\"type\":\"quickreply\",\"draggable\":false}}),_c('div',{staticClass:\"component-contents\"},[_c('div',{staticClass:\"message-part\"},[_c('TextEditor',{ref:\"textEditor\",attrs:{\"value\":_vm.state.text,\"placeholder\":'Enter a message...'},on:{\"text-updated\":_vm.textUpdated}}),(_vm.$v.state.text && _vm.$v.state.text.$error && !_vm.$v.state.text.required)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\tMessage text must not be empty\\n\\t\\t\\t\")]):_vm._e()],1),_c('Draggable',{staticClass:\"reply-options-list\",model:{value:(_vm.state.options),callback:function ($$v) {_vm.$set(_vm.state, \"options\", $$v)},expression:\"state.options\"}},[_vm._l((_vm.state.options),function(option,index){return _c('div',{key:option.id,staticClass:\"reply-option-container\"},[_c('div',{staticClass:\"reply-option-row\"},[_c('div',{staticClass:\"reply-option\"},[_c('div',{staticClass:\"reply-option-text\"},[_c('TextEditor',{attrs:{\"value\":option.text,\"show-variable-picker\":false,\"placeholder\":'Option'},on:{\"text-updated\":function($event){\nvar i = arguments.length, argsArray = Array(i);\nwhile ( i-- ) argsArray[i] = arguments[i];\nreturn _vm.optionUpdated.apply(void 0, [ index ].concat( argsArray ))}}})],1)]),_c('div',{staticClass:\"reply-option-icon reply-option-arrow\"},[_c('span',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.top\",value:('Options will be presented to the visitor for them to select as their reply. When selected, the flow will transition to the corresponding path'),expression:\"'Options will be presented to the visitor for them to select as their reply. When selected, the flow will transition to the corresponding path'\",modifiers:{\"top\":true}}],staticClass:\"icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"chevron-right\"}})],1)]),_c('div',{staticClass:\"reply-option-transition\"},[_c('TransitionPicker',{attrs:{\"transition\":option.transition},on:{\"transition-selected\":function($event){\nvar i = arguments.length, argsArray = Array(i);\nwhile ( i-- ) argsArray[i] = arguments[i];\nreturn _vm.updateOptionTransition.apply(void 0, [ index ].concat( argsArray ))}}})],1),_c('div',{staticClass:\"reply-option-icon reply-option-delete\"},[_c('a',{staticClass:\"delete is-small\",on:{\"click\":function($event){return _vm.deleteOption(index)}}})])]),_c('div',{staticClass:\"reply-option-row reply-option-row-errors\"},[_c('div',{staticClass:\"reply-option\"},[(_vm.$v.state.options.$each[index].text && _vm.$v.state.options.$each[index].text.$error && !_vm.$v.state.options.$each[index].text.required)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tMust not be empty\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e(),(_vm.$v.state.options.$each[index].text && _vm.$v.state.options.$each[index].text.$error && !_vm.$v.state.options.$each[index].text.matchesType && _vm.$v.state.options.$each[index].text.required && _vm.hasDataType())?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tMust be a valid \"+_vm._s(_vm.getDataTypeErrorMessage())+\"\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e(),(_vm.$v.state.options.$each[index].text && _vm.$v.state.options.$each[index].text.$error && !_vm.$v.state.options.$each[index].text.isUnique)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tMust be unique\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e()]),_c('div',{staticClass:\"reply-option-transition\"},[(_vm.$v.transitions.$each[index] && _vm.$v.transitions.$each[index].$error && !_vm.$v.transitions.$each[index].type.required)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tMust not be empty\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e(),(_vm.$v.transitions.$each[index] && _vm.$v.transitions.$each[index].$error && !_vm.$v.transitions.$each[index].isValidTransition)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tMust transition to a live flow\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e(),(_vm.$v.transitions.$each[index] && !_vm.$v.transitions.$each[index].payload.payloadValid)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tMust not contain an invalid transition\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e()])])])}),(_vm.$v.state.options && _vm.$v.state.options.$error && !_vm.$v.state.options.required)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\tMust have at least one option\\n\\t\\t\\t\")]):_vm._e(),_c('div',{staticClass:\"reply-option-add\"},[_c('a',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(_vm.getAddTooltipText()),expression:\"getAddTooltipText()\"}],staticClass:\"add-button\",class:{'disabled': !_vm.canAddMoreOptions()},on:{\"click\":_vm.addOption}},[_c('AddIcon',{staticClass:\"icon-1-3x\",attrs:{\"title\":\"\"}})],1)])],2),_c('AdditionalInformationWrapper',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showConfig),expression:\"showConfig\"}],attrs:{\"color\":\"#FF6666\",\"text-color\":\"#FFFFFF\"},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_c('InputValidationConfig',{attrs:{\"value\":_vm.state,\"fields\":['errorMessage', 'allowedAttempts', 'noMatch']},on:{\"updated\":_vm.additionalConfigChanged}}),_c('fieldset',[_c('div',{staticClass:\"field is-horizontal\"},[_c('div',{staticClass:\"field-label\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Store result\")])]),_c('div',{staticClass:\"field-body\"},[_c('div',{staticClass:\"control\"},[_c('VariablePicker',{attrs:{\"value\":_vm.state.storedVariable},on:{\"variable-selected\":_vm.variableSelected}}),(_vm.$v.storedVariable && !_vm.$v.storedVariable.attributeMissing)?_c('p',{staticClass:\"help is-danger \"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tAttribute does not exist\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\")]):_vm._e(),(_vm.$v.storedVariable && !_vm.$v.storedVariable.attributeArchived)?_c('p',{staticClass:\"help is-danger \"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tAttribute has been archived\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\")]):_vm._e()],1)])])])]},proxy:true}])}),_c('transition',{attrs:{\"name\":_vm.transition}},[(_vm.hasClicked && !_vm.showConfig)?_c('div',{staticClass:\"expander\",on:{\"click\":_vm.showExpandedConfig}},[_c('ChevronRight',{staticClass:\"chevron\"})],1):_vm._e()]),(_vm.hasClicked && _vm.showConfig)?_c('div',{staticClass:\"expander\",on:{\"click\":_vm.hideExpandedConfig}},[_c('ChevronLeft',{staticClass:\"chevron\"})],1):_vm._e(),(_vm.state.invalid && !_vm.showConfig)?_c('div',{staticClass:\"invalid-warning\",class:{ 'shift-for-expander': _vm.hasClicked }},[_c('ErrorIcon',{staticClass:\"icon-1-3x\"})],1):_vm._e()],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CollapsibleSection.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CollapsibleSection.vue?vue&type=script&lang=ts\"","export enum UsageLimitType {\r\n\tProactiveTriggers = 'ProactiveTriggers'\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal is-active\"},[_c('div',{staticClass:\"modal-background\"}),_c('div',{staticClass:\"modal-card\"},[_c('header',{staticClass:\"modal-card-head\"},[_c('p',{staticClass:\"modal-card-title\"},[_vm._v(\"Create new variable\")]),_c('button',{staticClass:\"delete\",attrs:{\"aria-label\":\"close\"},on:{\"click\":function($event){return _vm.$emit('close')}}})]),_c('section',{staticClass:\"modal-card-body\"},[_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Name\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.newVarName),expression:\"newVarName\",modifiers:{\"trim\":true}}],ref:\"variableInput\",staticClass:\"input\",class:{'is-danger': _vm.$v.newVarName.$invalid && _vm.$v.newVarName.$dirty },attrs:{\"type\":\"text\",\"placeholder\":\"Enter variable name\",\"maxlength\":\"50\",\"required\":\"\"},domProps:{\"value\":(_vm.newVarName)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.newVarName=$event.target.value.trim()},function($event){return _vm.$v.newVarName.$touch()}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.newVarName.$dirty && !_vm.$v.newVarName.required)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Name is required\")]):_vm._e(),(_vm.$v.newVarName.$dirty && !_vm.$v.newVarName.maxLength)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Name must not be longer than \"+_vm._s(_vm.$v.name.$params.maxLength.max)+\" characters\")]):_vm._e(),(_vm.$v.newVarName.$dirty && !_vm.$v.newVarName.unique)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"Name is already in use as a flow variable\")]):_vm._e()])])]),_c('footer',{staticClass:\"modal-card-foot\"},[_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\",\"disabled\":_vm.$v.$invalid},on:{\"click\":_vm.save}},[_vm._v(\"\\n\\t\\t\\t\\t\\tSave\\n\\t\\t\\t\\t\")]),_c('n-button',{attrs:{\"variant\":\"primary--outline\"},on:{\"click\":function($event){return _vm.$emit('close')}}},[_vm._v(\"Cancel\")])],1)],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export const SET_HOLIDAYS = 'SET_HOLIDAYS';\r\nexport const ADD_TO_HOLIDAYS_CACHE = 'ADD_TO_HOLIDAYS_CACHE';\r\nexport const UPDATE_HOLIDAY_IN_CACHE = 'UPDATE_HOLIDAY_IN_CACHE';\r\nexport const REMOVE_HOLIDAY_FROM_CACHE = 'REMOVE_HOLIDAY_FROM_CACHE';\r\nexport const CLEAR_HOLIDAYS_CACHE = 'CLEAR_HOLIDAYS_CACHE';\r\n\r\n\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('GoogleBmAgentConfig',{attrs:{\"saving\":_vm.actionInProgress,\"human-availability\":_vm.humanAvailability},on:{\"save\":_vm.onSave,\"cancel\":_vm.onCancel}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import './class-component-hooks';\r\nimport Vue from 'vue';\r\nimport App from './App.vue';\r\nimport router, {registerRouterHooks} from './router';\r\nimport loadConfig from './config/config';\r\nimport {store} from './store';\r\nimport { FontAwesomeIcon } from './fontawesome';\r\nimport VueClipboard from 'vue-clipboard2';\r\nimport VueTextareaAutosize from 'vue-textarea-autosize';\r\nimport VTooltip from 'v-tooltip';\r\n\r\nimport '@simonwep/pickr/dist/themes/monolith.min.css';\r\nimport '@simonwep/pickr/dist/themes/classic.min.css';\r\n\r\nimport {LOAD_WORKSPACES} from './store/app/actionTypes';\r\nimport authService from './authentication/authentication.service';\r\nimport 'vue-material-design-icons/styles.css';\r\n\r\nimport Chart from 'chart.js';\r\n\r\n// @ts-ignore\r\nimport * as crosshair from 'chartjs-plugin-crosshair';\r\nimport * as annotation from 'chartjs-plugin-annotation';\r\nimport { doughnutlabel } from './features/reports/components/chartjs/plugins/doughnutLabels/plugin';\r\nimport { inlineLabelsPlugin } from './features/reports/components/chartjs/plugins/inlineLabelsPlugin';\r\n\r\nimport VueSanitize from 'vue-sanitize';\r\nimport { LOAD_CONTACT_ATTRIBUTES } from '@/store/attributes/actionTypes';\r\nimport { GET_CHANNEL_IDENTITIES } from './store/channel-identities/actionTypes';\r\n\r\nimport VCalendar from 'v-calendar';\r\n\r\nimport appInsights from './shared/services/appInsights';\r\n\r\nimport ComponentLibrary from '@netcall/design-system';\r\nimport './style.scss';\r\n\r\nChart.plugins.register(crosshair);\r\nChart.plugins.register(doughnutlabel);\r\nChart.plugins.register(inlineLabelsPlugin);\r\nChart.plugins.register(annotation);\r\n\r\nVue.component('font-awesome-icon', FontAwesomeIcon);\r\n\r\nVue.config.productionTip = false;\r\n\r\nVue.use(VueClipboard);\r\nVue.use(VueTextareaAutosize);\r\nVue.use(VTooltip);\r\nVue.use(VueSanitize);\r\nVue.use(ComponentLibrary);\r\nVue.use(VCalendar, {\r\n componentPrefix: 'vc',\r\n});\r\n\r\ninit().then();\r\n\r\nasync function init() {\r\n\tawait loadConfig;\r\n\tauthService.setup();\r\n\tawait authService.load(); // need to wait for initial redirect to complete\r\n\r\n\tappInsights.init(); // Initialise the app insights service\r\n\tregisterRouterHooks(); // only enforce authentication in our routes once we know the auth service has been initialised\r\n\r\n\tif (authService.isAuthenticated() && authService.isConnectUser()) {\r\n\t\tappInsights.setAuthenticatedUserContext();\r\n\t\tawait store.dispatch(LOAD_WORKSPACES);\r\n\t\tawait store.dispatch(LOAD_CONTACT_ATTRIBUTES);\r\n\t\tawait store.dispatch(GET_CHANNEL_IDENTITIES);\r\n\t}\r\n\r\n\tnew Vue({\r\n\t\trouter,\r\n\t\tstore,\r\n\t\trender: h => h(App)\r\n\t}).$mount('#app');\r\n}\r\n","import { render, staticRenderFns } from \"./AppIntegrationComponent.vue?vue&type=template&id=fbefa1d0&scoped=true\"\nimport script from \"./AppIntegrationComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./AppIntegrationComponent.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AppIntegrationComponent.vue?vue&type=style&index=0&id=fbefa1d0&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fbefa1d0\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue} from 'vue-property-decorator';\r\n@Component\r\nexport default class CustomAttributeIcon extends Vue {\r\n\t@Prop({default: false}) public decorative: boolean;\r\n\t@Prop({default: 'currentColor'}) public fillColor: string;\r\n\t@Prop({default: 24}) public size: number;\r\n}\r\n","import { render, staticRenderFns } from \"./UpdateHoliday.vue?vue&type=template&id=6978b05f&scoped=true\"\nimport script from \"./UpdateHoliday.vue?vue&type=script&lang=ts\"\nexport * from \"./UpdateHoliday.vue?vue&type=script&lang=ts\"\nimport style0 from \"./UpdateHoliday.vue?vue&type=style&index=0&id=6978b05f&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6978b05f\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component } from 'vue-property-decorator';\r\nimport PercentageStackedBarChart from '../chartjs/PercentageStackedBarChart.vue';\r\nimport BarChart from '../chartjs/BarChart.vue';\r\nimport LineChart from '../chartjs/LineChart.vue';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport ChartError from '../ChartError.vue';\r\nimport ChartLabels from '../ChartLabels.vue';\r\nimport { ReportType } from '../../models/reportType';\r\nimport FlowIcon from 'vue-material-design-icons/Waves.vue';\r\nimport BaseFlowReport from '@/features/reports/components/flows/baseFlowReport';\r\nimport ChartNoData from '@/features/reports/components/ChartNoData.vue';\r\nimport HelpIcon from 'vue-material-design-icons/HelpCircleOutline.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tBarChart,\r\n\t\tPercentageStackedBarChart,\r\n\t\tLineChart,\r\n\t\tLoadingSpinner,\r\n\t\tChartError,\r\n\t\tChartNoData,\r\n\t\tChartLabels,\r\n\t\tFlowIcon,\r\n\t\tHelpIcon\r\n\t}\r\n})\r\nexport default class FlowEscalationRateCharts extends BaseFlowReport {\r\n\tpublic reportId = ReportType.FLOW_ENGAGEMENT;\r\n\tpublic tooltipText = 'A trend showing the proportion of users who started a flow and subsequently engaged and completed the flow';\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal is-active\"},[_c('div',{staticClass:\"modal-background\"}),_c('div',{staticClass:\"modal-card\"},[_c('header',{staticClass:\"modal-card-head\"},[_c('div',{staticClass:\"media\"},[_c('div',{staticClass:\"media-left\"},[_c('figure',{staticClass:\"image is-48x48\"},[_c('svg',{staticClass:\"app-icon\"},[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":(\"#\" + (_vm.currentApp.icon || ''))}})])])]),_c('div',{staticClass:\"media-content\"},[_c('p',{staticClass:\"title is-4\"},[_c('strong',[_vm._v(_vm._s(_vm.currentApp.name))]),(_vm.hasStatusBadge())?_c('n-badge',{staticClass:\"status-badge\",attrs:{\"variant\":\"secondary\"}},[_vm._v(_vm._s(_vm.getStatusBadgeText()))]):_vm._e()],1),_c('p',{staticClass:\"subtitle is-6\"},[_vm._v(_vm._s(_vm.currentApp.category))])])]),_c('button',{staticClass:\"delete\",attrs:{\"aria-label\":\"close\"},on:{\"click\":function($event){return _vm.showAppsStore()}}})]),_c('section',{staticClass:\"modal-card-body\"},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column main-content-view\"},[(_vm.currentApp.isInstalled && _vm.currentApp.requiresInstallConfig)?_c('div',{staticClass:\"tabs\"},[_c('ul',[_c('li',{class:{ 'is-active': _vm.isActiveTab('Overview') },on:{\"click\":function($event){return _vm.showAppOverview()}}},[_c('a',[_vm._v(\"Overview\")])]),_c('li',{class:{ 'is-active': _vm.isActiveTab('Config') },on:{\"click\":function($event){return _vm.showAppConfig()}}},[_c('a',[_vm._v(\"Config\")])])])]):_vm._e(),_c('router-view')],1),_c('div',{staticClass:\"column is-one-fifth\"},[_c('div',{staticClass:\"container install-actions\"},[(!_vm.currentApp.isInstalled)?_c('n-button',{attrs:{\"variant\":\"success\",\"disabled\":!_vm.canInstall(),\"loading\":_vm.actionInProgress},on:{\"click\":function($event){return _vm.installApp()}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tInstall\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e(),(_vm.currentApp.isInstalled)?_c('n-button',{attrs:{\"variant\":\"danger\",\"loading\":_vm.actionInProgress},on:{\"click\":function($event){return _vm.uninstallApp()}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tUninstall\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e()],1),_c('div',{staticClass:\"container app-links\"},[_c('h6',{staticClass:\"title is-6\"},[_vm._v(\"Related Links\")]),(_vm.currentApp.websiteUrl)?_c('p',[_c('a',{attrs:{\"href\":_vm.currentApp.websiteUrl,\"target\":\"_blank\"}},[_vm._v(\"Website\")])]):_vm._e(),(_vm.currentApp.privacyPolicyUrl)?_c('p',[_c('a',{attrs:{\"href\":_vm.currentApp.privacyPolicyUrl,\"target\":\"_blank\"}},[_vm._v(\"Privacy Policy\")])]):_vm._e(),(_vm.currentApp.termsOfServiceUrl)?_c('p',[_c('a',{attrs:{\"href\":_vm.currentApp.termsOfServiceUrl,\"target\":\"_blank\"}},[_vm._v(\"Terms of Service\")])]):_vm._e()])])])])]),(_vm.showAppUninstallNotAllowedModal)?_c('AppUninstallNotAllowedModal',{attrs:{\"message\":_vm.uninstallNotAllowedMessage},on:{\"cancel\":function($event){_vm.showAppUninstallNotAllowedModal = false}}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConditionPicker.vue?vue&type=style&index=0&id=55e98620&prod&scoped=true&lang=scss\"","import { render, staticRenderFns } from \"./GoogleBmVerificationModal.vue?vue&type=template&id=e3b3c184\"\nimport script from \"./GoogleBmVerificationModal.vue?vue&type=script&lang=ts\"\nexport * from \"./GoogleBmVerificationModal.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TagBox.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TagBox.vue?vue&type=script&lang=ts\"","import { ConditionsManager } from '@/shared/components/conditions/models/conditionsManager';\r\nimport {store} from '@/store';\r\n\r\nexport class FiltersManager extends ConditionsManager {\r\n\tconstructor() {\r\n\t\tsuper(store.getters.contactAttributes);\r\n\t}\r\n}\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PathDesigner.vue?vue&type=style&index=0&id=0206bef4&prod&scoped=true&lang=scss\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { Conditions, OperationPickerOption, ConditionOperationType } from './../models/conditions';\r\nimport { ConditionViewModel } from './../models/conditionViewModel';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { required, maxLength } from 'vuelidate/lib/validators';\r\n\r\nconst isDecimal = (value: string) => {\r\n\tconst decimalRegex: RegExp = /^(\\d+(\\.\\d{0,2})?|\\.?\\d{1,2})$/;\r\n\treturn decimalRegex.test(value);\r\n};\r\n\r\n@Component({\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tliveCondition: {\r\n\t\t\tvalue: { required, isDecimal, maxLength: maxLength(25) }\r\n\t\t},\r\n\t}\r\n})\r\nexport default class DecimalCondition extends Vue {\r\n\t@Prop() public condition: ConditionViewModel;\r\n\r\n\tpublic liveCondition: ConditionViewModel = {\r\n\t\tattribute: '',\r\n\t\toperation: '',\r\n\t\ttype: '',\r\n\t\tunit: '',\r\n\t\tvalue: '',\r\n\t\tresult: true\r\n\t};\r\n\r\n\tpublic operations: OperationPickerOption[] = Conditions.Operations.decimal.map((op, index) => {\r\n\t\treturn {\r\n\t\t\tid: `${index}`,\r\n\t\t\ttitle: op.title,\r\n\t\t\toperation: op.operation,\r\n\t\t\tresult: op.result\r\n\t\t};\r\n\t});\r\n\r\n\tpublic selectedOperationId: string = '';\r\n\r\n\tpublic mounted() {\r\n\t\tif (this.condition) {\r\n\t\t\tthis.liveCondition = {\r\n\t\t\t\tattribute: this.condition.attribute,\r\n\t\t\t\toperation: this.condition.operation,\r\n\t\t\t\ttype: this.condition.type,\r\n\t\t\t\tvalue: this.condition.value,\r\n\t\t\t\tresult: this.condition.result,\r\n\t\t\t\tunit: this.condition.unit,\r\n\t\t\t\tinvalid: this.condition.invalid\r\n\t\t\t};\r\n\r\n\t\t\tif (this.liveCondition.invalid) {\r\n\t\t\t\tthis.$v.$touch();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tthis.selectedOperationId = this.getSelectedOperation();\r\n\t\tthis.operationSelected();\r\n\t}\r\n\r\n\tpublic destroyed() {\r\n\t\tthis.makeFriendlyDecimal();\r\n\t}\r\n\r\n\tpublic getSelectedOperation() {\r\n\t\tif (this.liveCondition) {\r\n\t\t\tconst selectedOperation = this.operations.find(op => op.operation === this.liveCondition.operation && op.result === this.liveCondition.result);\r\n\t\t\tif (selectedOperation) {\r\n\t\t\t\treturn selectedOperation.id;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn this.operations[0].id;\r\n\t}\r\n\r\n\tpublic operationSelected() {\r\n\t\tconst selectedOperation = this.operations.find(op => op.id === this.selectedOperationId);\r\n\t\tif (selectedOperation) {\r\n\t\t\tthis.liveCondition.operation = selectedOperation.operation;\r\n\t\t\tthis.liveCondition.result = selectedOperation.result;\r\n\t\t\tthis.emitConditionChanged();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic textChanged(value: string) {\r\n\t\tthis.liveCondition.value = value;\r\n\t\tthis.$v.$touch();\r\n\t\tthis.emitConditionChanged();\r\n\t}\r\n\r\n\tpublic get requiresInput() {\r\n\t\treturn this.liveCondition.operation !== ConditionOperationType.IsSet;\r\n\t}\r\n\r\n\tprivate emitConditionChanged() {\r\n\t\tthis.liveCondition.invalid = this.$v.$invalid && this.requiresInput;\r\n\t\tthis.$emit('changed', this.liveCondition);\r\n\t}\r\n\r\n\tprivate complete() {\r\n\t\tthis.makeFriendlyDecimal();\r\n\t\tthis.liveCondition.invalid = this.$v.$invalid && this.requiresInput;\r\n\t\tthis.$emit('completed', this.liveCondition);\r\n\t}\r\n\r\n\tprivate makeFriendlyDecimal() {\r\n\t\tif (!this.$v.$invalid) {\r\n\t\t\t// if it's valid, append decimal places if the input doesn't contain a . or ends in a .\r\n\t\t\tthis.liveCondition.value = this.padLeadingZeroAndDecimalPlaces(this.liveCondition.value);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate padLeadingZeroAndDecimalPlaces(value: string) {\r\n\t\tconst decimalPosition = value.indexOf('.');\r\n\r\n\t\tif (decimalPosition === -1) {\r\n\t\t\treturn value + '.00';\r\n\t\t}\r\n\r\n\t\tif (decimalPosition === 0) {\r\n\t\t\treturn '0' + value;\r\n\t\t}\r\n\r\n\t\tif (decimalPosition === (value.length - 1)) {\r\n\t\t\treturn value + '00';\r\n\t\t}\r\n\r\n\t\treturn value;\r\n\t}\r\n}\r\n","\r\nimport { Component, Prop, Vue, Mixins } from 'vue-property-decorator';\r\nimport { Getter, Action } from 'vuex-class';\r\nimport { Bar } from 'vue-chartjs';\r\nimport { ChartConfig } from './chartConfig';\r\nimport {Data, Series, SeriesConfig, SeriesOrderConfiguration} from '../../models';\r\nimport ColourService from '@/shared/services/color';\r\nimport {ChartData} from 'chart.js';\r\nimport { ChartDataFormat } from '@/features/reports/models/chartDataFormat';\r\n\r\n@Component\r\nexport default class PercentageBarChart extends Mixins(Bar) {\r\n\t@Prop() public data: Data;\r\n\t@Prop() public reportId: string;\r\n\t@Prop() public seriesOrder: SeriesOrderConfiguration;\r\n\t@Prop() public seriesToCompareTo: string;\r\n\tpublic renderSeriesInReverse: boolean = true;\r\n\r\n\tpublic mounted() {\r\n\t\tconst data = this.mapData(this.data);\r\n\t\tconst options = this.overrideOptions(ChartConfig.gridChartsGlobalOptions);\r\n\t\tthis.renderChart(data, options);\r\n\t}\r\n\r\n\tpublic overrideOptions(options: Chart.ChartOptions): Chart.ChartOptions {\r\n\t\toptions.plugins!.inlineLabels = {\r\n\t\t\treportId: this.reportId,\r\n\t\t\treverseLabels: this.renderSeriesInReverse,\r\n\t\t\tdataFormat: ChartDataFormat.PERCENTAGE,\r\n\t\t\tdefaultLabelValues: this.seriesToCompareTo ? this.calculatePercentageLabels() : undefined\r\n\t\t};\r\n\t\toptions.plugins!.crosshair = false;\r\n\t\toptions.scales = {\r\n\t\t\txAxes: [{\r\n\t\t\t\tscaleLabel: {\r\n\t\t\t\t\tlabelString: this.data.scale.title\r\n\t\t\t\t},\r\n\t\t\t\tticks: {\r\n\t\t\t\t\tmaxTicksLimit: 32\r\n\t\t\t\t},\r\n\t\t\t\tgridLines: {\r\n\t\t\t\t\tdisplay: false\r\n\t\t\t\t}\r\n\t\t\t}],\r\n\t\t\tyAxes: [{\r\n\t\t\t\tticks: {\r\n\t\t\t\t\tbeginAtZero: true,\r\n\t\t\t\t\tmax: 100,\r\n\t\t\t\t\tcallback: (value: any) => value % 1 === 0 ? value + '%' : undefined\r\n\t\t\t\t}\r\n\t\t\t}]\r\n\t\t};\r\n\r\n\t\toptions.tooltips!.callbacks = {\r\n\t\t\tlabel: (tooltipItem: Chart.ChartTooltipItem, data: ChartData) => {\r\n\t\t\t\tconst index = tooltipItem.index!;\r\n\t\t\t\tconst datasetIndex = tooltipItem.datasetIndex!;\r\n\r\n\t\t\t\tconst value = data.datasets![datasetIndex].data![index];\r\n\t\t\t\ttooltipItem.value = `${value}%`;\r\n\r\n\t\t\t\treturn tooltipItem.value;\r\n\t\t\t}\r\n\t\t};\r\n\t\toptions.legend!.reverse = this.renderSeriesInReverse;\r\n\t\treturn options;\r\n\t}\r\n\r\n\tpublic mapData(data: Data) {\r\n\t\tconst backgroundPalette = ChartConfig.borderPalette(this.seriesRenderOrder);\r\n\t\tconst borderPalette = ChartConfig.borderPalette(this.seriesRenderOrder);\r\n\r\n\t\treturn {\r\n\t\t\tlabels: data.scale.labels,\r\n\t\t\tdatasets: this.orderedSeries.map((series, index) => ({\r\n\t\t\t\tlabel: this.getSeriesConfig(series.name).displayName,\r\n\t\t\t\tdata: this.getPercentageValues(series),\r\n\t\t\t\tbackgroundColor: backgroundPalette[index],\r\n\t\t\t\tborderColor: borderPalette[index],\r\n\t\t\t\thoverBackgroundColor: ColourService.setAlpha(backgroundPalette[index], 0.4),\r\n\t\t\t\tborderWidth: 1\r\n\t\t\t}))\r\n\t\t};\r\n\t}\r\n\r\n\tprivate calculatePercentageLabels(): Map {\r\n\t\tconst labels = new Map();\r\n\r\n\t\tconst compareToSeries = this.getSeries(this.seriesToCompareTo);\r\n\t\tconst compareToTotal = compareToSeries.data.reduce((sum, value) => sum + value, 0);\r\n\r\n\t\tthis.data.series.forEach((series) => {\r\n\t\t\tconst total = series.data.reduce((sum, value) => sum + value, 0);\r\n\t\t\tconst percentageOfTotal = compareToTotal === 0 ? 0 : (total / compareToTotal) * 100;\r\n\t\t\tconst roundedPercentage = Math.round(percentageOfTotal * 100) / 100;\r\n\t\t\tconst displayName = this.getSeriesConfig(series.name)?.displayName;\r\n\t\t\tlabels.set(displayName ? displayName : series.name, `${roundedPercentage.toString()}%`);\r\n\t\t});\r\n\r\n\t\treturn labels;\r\n\t}\r\n\r\n\tprivate getPercentageValues(seriesData: Series): number[] {\r\n\t\treturn seriesData.data.map((dataPoint, index) => {\r\n\t\t\tconst totalValue = this.getSeries(this.seriesToCompareTo).data[index];\r\n\t\t\tconst percentageOfTotal = totalValue === 0 ? 0 : (dataPoint / totalValue) * 100;\r\n\t\t\treturn Math.round(percentageOfTotal * 100) / 100;\r\n\t\t});\r\n\t}\r\n\r\n\tprivate get orderedSeries(): Series[] {\r\n\t\treturn this.seriesRenderOrder.map((seriesConfig => this.getSeries(seriesConfig.name)));\r\n\t}\r\n\r\n\tprivate getSeries(name: string): Series {\r\n\t\treturn this.data.series.filter(series => series.name === name)[0];\r\n\t}\r\n\r\n\tprivate getSeriesConfig(name: string): SeriesConfig {\r\n\t\treturn this.seriesConfig.filter(config => config.name === name)[0];\r\n\t}\r\n\r\n\tprivate get seriesConfig(): SeriesConfig[] {\r\n\t\tif (typeof this.seriesOrder[0] === 'string') {\r\n\t\t\treturn (this.seriesOrder as string[]).map(seriesName => ({ name: seriesName, displayName: seriesName }));\r\n\t\t}\r\n\t\treturn this.seriesOrder as SeriesConfig[];\r\n\t}\r\n\r\n\tprivate get seriesRenderOrder(): SeriesConfig[] {\r\n\t\treturn this.renderSeriesInReverse ? this.seriesConfig.slice().reverse() : this.seriesConfig;\r\n\t}\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./googleBmAgentConfig.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./googleBmAgentConfig.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BrowserUrlBar.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BrowserUrlBar.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"google-bm-locations\"},[(!_vm.isLoggedIn)?_c('div',{attrs:{\"id\":\"google-signin\"}},[_c('p',[_vm._v(\"Login with your Google My Business account\")]),_c('div',{attrs:{\"id\":\"google-signin-button\"}})]):_vm._e(),(_vm.locations.length > 0)?_c('div',{staticClass:\"google-bm-locations__selector\"},[_c('n-checkbox-group',{attrs:{\"label\":\"Select your locations\"}},_vm._l((_vm.locations),function(location){return _c('n-checkbox',{key:location.placeId,attrs:{\"label\":location.displayName,\"value\":location,\"checked\":_vm.isLocationSelected(location),\"disabled\":_vm.isLocationSaved(location)},on:{\"change\":function (checked) { return _vm.handleCheckboxChange(location, checked); }}})}),1)],1):_vm._e(),(_vm.locations.length === 0 && _vm.isLoggedIn)?_c('div',{staticClass:\"google-bm-locations__empty\"},[_c('p',[_vm._v(\"You currently have no locations set up.\")])]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./GoToIcon.vue?vue&type=template&id=6ebb37fe&scoped=true\"\nimport script from \"./GoToIcon.vue?vue&type=script&lang=ts\"\nexport * from \"./GoToIcon.vue?vue&type=script&lang=ts\"\nimport style0 from \"./GoToIcon.vue?vue&type=style&index=0&id=6ebb37fe&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6ebb37fe\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"on-clickaway\",rawName:\"v-on-clickaway\",value:(_vm.validateDecision),expression:\"validateDecision\"}],staticClass:\"decision-component\"},[_c('IslandBadge',{attrs:{\"type\":\"decision\"}}),_c('div',{staticClass:\"component-contents\"},[_c('Draggable',{staticClass:\"component-contents__decisions-list\",attrs:{\"handle\":\".handle\"},on:{\"end\":_vm.updateDecisionsIfChanged},model:{value:(_vm.decisions),callback:function ($$v) {_vm.decisions=$$v},expression:\"decisions\"}},_vm._l((_vm.decisions),function(decision,index){return _c('div',{key:_vm.createKey(decision)},[_c('Decision',{ref:(\"decision-component-\" + index),refInFor:true,staticClass:\"component-contents__decision\",attrs:{\"decision\":decision,\"canDelete\":_vm.decisions.length > 1},on:{\"deleted\":function($event){return _vm.deleteDecision(index)},\"updated\":function($event){\nvar i = arguments.length, argsArray = Array(i);\nwhile ( i-- ) argsArray[i] = arguments[i];\nreturn _vm.updateDecision.apply(void 0, [ index ].concat( argsArray ))}}})],1)}),0),_c('a',{staticClass:\"component-contents__add-condition-button\",on:{\"click\":_vm.addDecision}},[_c('AddIcon'),_c('span',{staticClass:\"component-contents__add-condition-label\"},[_vm._v(\"Add decision\")])],1),_c('div',{staticClass:\"component-contents__else-block\"},[_c('div',{staticClass:\"component-contents__else\"},[_c('TagBox',{attrs:{\"value\":\"else\"}}),_c('div',{staticClass:\"component-contents__else-transition-picker\"},[_c('TransitionPicker',{attrs:{\"transition\":_vm.state.noMatch},on:{\"transition-selected\":_vm.updateNoMatch}}),(_vm.$v.state.noMatch.$invalid && _vm.$v.state.noMatch.$anyDirty && _vm.$v.state.noMatch.payload.payloadValid)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tMust select a transition\\n\\t\\t\\t\\t\\t\")]):_vm._e(),(_vm.$v.state.noMatch.$invalid && !_vm.$v.state.noMatch.payload.payloadValid)?_c('p',{staticClass:\"help is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tMust not contain an invalid transition\\n\\t\\t\\t\\t\\t\")]):_vm._e()],1)],1)])],1),(_vm.invalid)?_c('div',{staticClass:\"invalid-warning\"},[_c('ErrorIcon',{staticClass:\"icon-1-3x\"})],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FriendlyDateTime.vue?vue&type=style&index=0&id=b82a6572&prod&scoped=true&lang=scss\"","import { render, staticRenderFns } from \"./GoogleBmAddAgent.vue?vue&type=template&id=0016df1b&scoped=true\"\nimport script from \"./GoogleBmAddAgent.vue?vue&type=script&lang=ts\"\nexport * from \"./GoogleBmAddAgent.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0016df1b\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebAssistantImageUpload.vue?vue&type=style&index=0&id=60b41190&prod&scoped=true&lang=scss\"","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChannelIcon.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChannelIcon.vue?vue&type=script&lang=ts\"","export const SET_CHANNEL_IDENTITIES = 'SET_CHANNEL_IDENTITIES';\r\n\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HumanHandoverComponent.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HumanHandoverComponent.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Apps.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Apps.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal is-active\"},[_c('div',{staticClass:\"modal-background\"}),_c('div',{staticClass:\"modal-card\"},[_c('header',{staticClass:\"modal-card-head\"},[_c('p',{staticClass:\"modal-card-title\",attrs:{\"id\":\"confirmation-title\"}},[_vm._v(_vm._s(_vm.title))]),_c('button',{staticClass:\"delete\",attrs:{\"aria-label\":\"close\"},on:{\"click\":function($event){return _vm.$emit('cancel')}}})]),(!_vm.typedConfirmationRequired)?_c('section',{staticClass:\"modal-card-body\"},[_c('span',{attrs:{\"id\":\"confirmation-message\"},domProps:{\"innerHTML\":_vm._s(_vm.message)}})]):_vm._e(),(_vm.typedConfirmationRequired)?_c('section',{staticClass:\"modal-card-body\"},[_c('label',{staticClass:\"label\",domProps:{\"innerHTML\":_vm._s(_vm.message)}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.confirmValue),expression:\"confirmValue\"}],staticClass:\"input\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.confirmValue)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.confirmValue=$event.target.value}}})]):_vm._e(),_c('footer',{staticClass:\"modal-card-foot\"},[_c('n-button-group',[_c('n-button',{attrs:{\"disabled\":_vm.buttonDisabled,\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.confirm()}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.confirmButtonLabel)+\"\\n\\t\\t\\t\\t\")]),(_vm.showCancelButton)?_c('n-button',{attrs:{\"variant\":\"primary--outline\"},on:{\"click\":function($event){return _vm.$emit('cancel')}}},[_vm._v(_vm._s(_vm.cancelButtonLabel))]):_vm._e()],1)],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./BotPausedBanner.vue?vue&type=template&id=a855caac&scoped=true\"\nimport script from \"./BotPausedBanner.vue?vue&type=script&lang=ts\"\nexport * from \"./BotPausedBanner.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BotPausedBanner.vue?vue&type=style&index=0&id=a855caac&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a855caac\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DecisionComponent.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DecisionComponent.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport PageHeader from '@/shared/components/pageHeader/PageHeader.vue';\r\nimport BotPreviewMessagingClientContainer from '@/features/bots/components/botTestTool/BotPreviewMessagingClientContainer.vue';\r\nimport ContactDetails from '@/features/contacts/components/ContactDetails.vue';\r\nimport { ContactType } from '@/features/contacts/models/contactType';\r\nimport { ContactViewModel } from '@/features/contacts/models/contactViewModel';\r\nimport { BotUserViewModel } from '@/features/bots/models/botUserViewModel';\r\nimport FlowSelector from '@/features/bots/components/botTestTool/FlowSelector.vue';\r\nimport { FlowListItemViewModel } from '../../models/flowListItemViewModel';\r\nimport { Action, Getter } from 'vuex-class';\r\nimport { LOAD_ANSWERS } from '@/store/answers/actionTypes';\r\nimport { LOAD_FLOWS } from '@/store/bot-designer/actionTypes';\r\nimport { FlowSelectorItemViewModel } from '../../models/flowSelectorItemViewModel';\r\nimport { FlowStatus } from '../../models/flowStatus';\r\nimport { BOT_STUDIO_ENABLED } from '@/store/app/featureTypes';\r\nimport { AnswerListItemViewModel } from '@/features/bots/models/answers/answerListItemViewModel';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport TimeSelector from '@/features/bots/components/botTestTool/TimeSelector.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tPageHeader,\r\n\t\tBotPreviewMessagingClientContainer,\r\n\t\tContactDetails,\r\n\t\tFlowSelector,\r\n\t\tLoadingSpinner,\r\n\t\tTimeSelector\r\n\t}\r\n})\r\nexport default class BotPreviewModal extends Vue {\r\n\t@Prop() public flowToPreview: string;\r\n\t@Prop() public answerToPreview: string;\r\n\r\n\tpublic botUser: BotUserViewModel = { id: '', data: {} };\r\n\tpublic contact: ContactViewModel = {\r\n\t\tid: '',\r\n\t\ttype: ContactType.Lead,\r\n\t\tname: '',\r\n\t\tgivenName: '',\r\n\t\tsurname: '',\r\n\t\temail: '',\r\n\t\tphoneNumber: '',\r\n\t\tavatarUrl: '',\r\n\t\tcustomAttributes: {}\r\n\t};\r\n\tpublic flows: FlowListItemViewModel[] = [];\r\n\tpublic answers: AnswerListItemViewModel[] = [];\r\n\r\n\tpublic flowSelection: FlowSelectorItemViewModel[] = [];\r\n\tpublic answerSelection: FlowSelectorItemViewModel[] = [];\r\n\tpublic currentTime = new Date();\r\n\tpublic loaded: boolean = false;\r\n\r\n\t@Getter public isWorkspaceFeatureEnabled: (feature: string, defaultValue?: boolean) => boolean;\r\n\t@Action(LOAD_FLOWS) public loadFlows: (doLoad: boolean) => Promise;\r\n\t@Action(LOAD_ANSWERS) public loadAnswers: (doLoad?: boolean) => Promise;\r\n\r\n\tpublic async mounted() {\r\n\t\tawait this.getFlows();\r\n\t}\r\n\r\n\tpublic async getFlows() {\r\n\t\tthis.flows = await this.loadFlows(false);\r\n\t\tthis.answers = await this.loadAnswers(false);\r\n\t\tthis.enableCurrentFlowOrAnswer();\r\n\t\tconst botStudioEnabled = this.isWorkspaceFeatureEnabled(BOT_STUDIO_ENABLED, true);\r\n\r\n\t\tthis.flowSelection = this.flows\r\n\t\t\t.sort((a, b) => b.priority - a.priority)\r\n\t\t\t.map((f) => ({\r\n\t\t\t\tid: f.id,\r\n\t\t\t\tname: f.name,\r\n\t\t\t\tstatus: f.status,\r\n\t\t\t\tisSelected: !botStudioEnabled ? true : f.status === FlowStatus.Live,\r\n\t\t\t\tpriority: f.priority\r\n\t\t\t}));\r\n\r\n\t\tthis.answerSelection = this.answers\r\n\t\t\t.sort((a1, a2) => a1.title.localeCompare(a2.title))\r\n\t\t\t.map((f) => ({\r\n\t\t\t\tid: f.id,\r\n\t\t\t\tname: f.title,\r\n\t\t\t\tstatus: f.status,\r\n\t\t\t\tisSelected: !botStudioEnabled ? true : f.status === FlowStatus.Live,\r\n\t\t\t\tpriority: 1\r\n\t\t\t}));\r\n\t\tthis.loaded = true;\r\n\t}\r\n\r\n\tpublic handleBotUserUpdated(updateUser: BotUserViewModel) {\r\n\t\tObject.entries(updateUser.data).forEach(([key, val]) => this.applyBotUserUpdateToContact(key, val));\r\n\t\tthis.contact = { ...this.contact }; // hack to make it reactive as nullable dates and dictionary entries not reactive\r\n\t}\r\n\r\n\tpublic handleContactUpdated() {\r\n\t\tthis.updateBotUser('appUser.type', this.contact.type);\r\n\t\tthis.updateBotUser('appUser.givenName', this.contact.givenName);\r\n\t\tthis.updateBotUser('appUser.surname', this.contact.surname);\r\n\t\tthis.updateBotUser('appUser.name', this.getName());\r\n\t\tthis.updateBotUser('appUser.email', this.contact.email);\r\n\t\tthis.updateBotUser('appUser.phoneNumber', this.contact.phoneNumber);\r\n\t\tthis.updateBotUser('appUser.firstSeen', this.contact.firstSeenUtc);\r\n\t\tthis.updateBotUser('appUser.lastSeen', this.contact.lastSeenUtc);\r\n\t\tthis.updateBotUser('appUser.lastContacted', this.contact.lastContactedUtc);\r\n\t\tthis.updateBotUser('appUser.lastHeardFrom', this.contact.lastHeardFromUtc);\r\n\r\n\t\tObject.entries(this.contact.customAttributes).forEach(([key, val]) => {\r\n\t\t\tthis.updateBotUser(`appUser.customAttributes.${key}`, val);\r\n\t\t});\r\n\t}\r\n\r\n\tpublic resetContact() {\r\n\t\tthis.contact = {\r\n\t\t\tid: '',\r\n\t\t\ttype: ContactType.Lead,\r\n\t\t\tname: '',\r\n\t\t\tgivenName: '',\r\n\t\t\tsurname: '',\r\n\t\t\temail: '',\r\n\t\t\tphoneNumber: '',\r\n\t\t\tavatarUrl: '',\r\n\t\t\tfirstSeenUtc: undefined,\r\n\t\t\tlastHeardFromUtc: undefined,\r\n\t\t\tlastSeenUtc: undefined,\r\n\t\t\tlastContactedUtc: undefined,\r\n\t\t\tcustomAttributes: {}\r\n\t\t};\r\n\t\tthis.handleContactUpdated();\r\n\t\tthis.resetCustomAttributes();\r\n\t}\r\n\r\n\tpublic isFlowSelectorVisible() {\r\n\t\treturn this.flows.length > 0;\r\n\t}\r\n\r\n\tpublic isAnswerSelectorVisible() {\r\n\t\treturn this.answers.length > 0;\r\n\t}\r\n\r\n\tprivate enableCurrentFlowOrAnswer() {\r\n\t\tif (this.flowToPreview) {\r\n\t\t\tconst flow = this.flows.find(f => f.id === this.flowToPreview);\r\n\t\t\tif (flow) {\r\n\t\t\t\tflow.status = FlowStatus.Live;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (this.answerToPreview) {\r\n\t\t\tconst answer = this.answers.find(f => f.id === this.answerToPreview);\r\n\t\t\tif (answer) {\r\n\t\t\t\tanswer.status = FlowStatus.Live;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tpublic get selectedFlows() {\r\n\t\treturn this.flows\r\n\t\t\t\t.filter(flow => this.flowSelection.find(f => f.id === flow.id)?.isSelected)\r\n\t\t\t\t.map(flow => ({\r\n\t\t\t\t\t...flow,\r\n\t\t\t\t\tpriority: this.flowSelection.find(f => f.id === flow.id)?.priority\r\n\t\t\t\t}));\r\n\t}\r\n\r\n\tpublic get selectedAnswers() {\r\n\t\treturn this.answers.filter(flow => this.answerSelection.find(f => f.id === flow.id)?.isSelected);\r\n\t}\r\n\r\n\tprivate resetCustomAttributes() {\r\n\t\tObject.entries(this.botUser.data).forEach(([key, val]) => {\r\n\t\t\tif (key.startsWith('appUser.customAttributes.')) {\r\n\t\t\t\tthis.updateBotUser(key, undefined);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tprivate getName() {\r\n\t\tlet name = '';\r\n\t\tif (this.contact.givenName) {\r\n\t\t\tname = this.contact.givenName;\r\n\t\t}\r\n\t\tif (this.contact.surname) {\r\n\t\t\tname = `${name} ${this.contact.surname}`;\r\n\t\t}\r\n\t\treturn name;\r\n\t}\r\n\r\n\tprivate applyBotUserUpdateToContact(name: string, value: any) {\r\n\t\tif (name.startsWith('appUser.customAttributes')) {\r\n\t\t\tconst attributeName = name.substring(name.lastIndexOf('.') + 1);\r\n\t\t\tthis.contact.customAttributes[attributeName] = value;\r\n\t\t} else if (name === 'appUser.name') {\r\n\t\t\tthis.contact.name = value;\r\n\t\t} else if (name === 'appUser.givenName') {\r\n\t\t\tthis.contact.givenName = value;\r\n\t\t} else if (name === 'appUser.surname') {\r\n\t\t\tthis.contact.surname = value;\r\n\t\t} else if (name === 'appUser.email') {\r\n\t\t\tthis.contact.email = value;\r\n\t\t} else if (name === 'appUser.phoneNumber') {\r\n\t\t\tthis.contact.phoneNumber = value;\r\n\t\t} else if (name === 'appUser.lastSeen') {\r\n\t\t\tthis.contact.lastSeenUtc = value;\r\n\t\t} else if (name === 'appUser.firstSeen') {\r\n\t\t\tthis.contact.firstSeenUtc = value;\r\n\t\t} else if (name === 'appUser.lastContacted') {\r\n\t\t\tthis.contact.lastContactedUtc = value;\r\n\t\t} else if (name === 'appUser.lastHeardFrom') {\r\n\t\t\tthis.contact.lastHeardFromUtc = value;\r\n\t\t}\r\n\t}\r\n\r\n\tprivate updateBotUser(key: string, value: any) {\r\n\t\tVue.set(this.botUser.data, key, value);\r\n\t}\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MessageIcon.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MessageIcon.vue?vue&type=script&lang=ts\"","import { PathViewModel, StateViewModel } from '@/features/bots/models/designer';\r\nimport { checkStateForInvalidDecisions, pathContainsFlowVariable, removeFlowVariableFromState } from '@/features/bots/services/flowVariableUtils';\r\nimport { AppState } from '@/store/app';\r\nimport { ActionTree } from 'vuex';\r\nimport { FlowDesignerState } from '..';\r\nimport { DELETE_STATE } from './actionTypes';\r\nimport { REMOVE_STATE } from './mutationTypes';\r\n\r\nexport const actions: ActionTree = {\r\n\t[DELETE_STATE]({ commit, state }, stateToRemove: StateViewModel) {\r\n\t\tcommit(REMOVE_STATE, stateToRemove);\r\n\r\n\t\tif (stateToRemove.storedVariable && stateToRemove.storedVariable.scope === 'flow') {\r\n\t\t\tdeleteUnusedFlowVariable(state, stateToRemove, state.currentFlow.paths);\r\n\t\t}\r\n\t}\r\n};\r\n\r\nfunction deleteUnusedFlowVariable(state: FlowDesignerState, stateToRemove: StateViewModel, paths: PathViewModel[]) {\r\n\tconst storedFlowVariable =\r\n\t\tstateToRemove.storedVariable && stateToRemove.storedVariable.scope === 'flow' ? stateToRemove.storedVariable : null;\r\n\r\n\tif (!storedFlowVariable) {\r\n\t\treturn;\r\n\t}\r\n\r\n\tconst foundVarElsewhere = state.currentFlow.paths.some((path) => {\r\n\t\treturn pathContainsFlowVariable(path, storedFlowVariable);\r\n\t});\r\n\r\n\tif (!foundVarElsewhere) {\r\n\t\tremoveFlowVariableFromState(state, storedFlowVariable);\r\n\t\tpaths.forEach((path: PathViewModel) => {\r\n\t\t\tpath.states.forEach((pathState: StateViewModel) => {\r\n\t\t\t\tcheckStateForInvalidDecisions(storedFlowVariable, pathState);\r\n\t\t\t});\r\n\t\t});\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactAttributes.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactAttributes.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfirmationModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfirmationModal.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ContactAttributes.vue?vue&type=template&id=7c89ac40&scoped=true\"\nimport script from \"./ContactAttributes.vue?vue&type=script&lang=ts\"\nexport * from \"./ContactAttributes.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ContactAttributes.vue?vue&type=style&index=0&id=7c89ac40&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7c89ac40\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./PersonIcon.vue?vue&type=template&id=65187034&functional=true\"\nimport script from \"./PersonIcon.vue?vue&type=script&lang=ts\"\nexport * from \"./PersonIcon.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n true,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./TriageIcon.vue?vue&type=template&id=62245da9&scoped=true\"\nimport script from \"./TriageIcon.vue?vue&type=script&lang=ts\"\nexport * from \"./TriageIcon.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"62245da9\",\n null\n \n)\n\nexport default component.exports","export const LOAD_FLOW_LIST_OPTIONS = 'LOAD_FLOW_LIST_OPTIONS';\r\nexport const ON_REPORT_VIEW_EXIT = 'ON_REPORT_VIEW_EXIT';\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport {validationMixin} from 'vuelidate';\r\nimport { numeric, required } from 'vuelidate/lib/validators';\r\nimport { ConditionViewModel } from '../models/conditionViewModel';\r\nimport { ConditionOperationType } from '../models/conditions';\r\n\r\nconst greaterThanZero = (value: number) => value > 0;\r\n@Component({\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tliveCondition: {\r\n\t\t\tvalue: { required, minValue: greaterThanZero, numeric}\r\n\t\t},\r\n\t}\r\n})\r\nexport default class DurationCondition extends Vue {\r\n\t@Prop() public condition: ConditionViewModel;\r\n\r\n\tpublic liveCondition: ConditionViewModel = {\r\n\t\tattribute: '',\r\n\t\toperation: '',\r\n\t\ttype: '',\r\n\t\tunit: '',\r\n\t\tvalue: '',\r\n\t\tresult: true\r\n\t};\r\n\r\n\tpublic mounted() {\r\n\t\tif (this.condition) {\r\n\t\t\tthis.liveCondition = {\r\n\t\t\t\tattribute: this.condition.attribute,\r\n\t\t\t\toperation: ConditionOperationType.Equals,\r\n\t\t\t\ttype: this.condition.type,\r\n\t\t\t\tvalue: this.condition.value,\r\n\t\t\t\tresult: this.condition.result,\r\n\t\t\t\tunit: 'seconds',\r\n\t\t\t\tinvalid: this.condition.invalid\r\n\t\t\t};\r\n\r\n\t\t\tif (this.liveCondition.invalid) {\r\n\t\t\t\tthis.$v.$touch();\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tpublic secondsChanged(event: any) {\r\n\t\tthis.liveCondition.value = event.target.value;\r\n\t\tthis.$v.$touch();\r\n\t\tthis.emitConditionChanged();\r\n\t}\r\n\r\n\tprivate emitConditionChanged() {\r\n\t\tthis.liveCondition.invalid = this.$v.$invalid;\r\n\t\tthis.$emit('changed', this.liveCondition);\r\n\t}\r\n\r\n\tprivate complete() {\r\n\t\tthis.liveCondition.invalid = this.$v.$invalid;\r\n\t\tthis.$emit('completed', this.liveCondition);\r\n\t}\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TriggerScheduler.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TriggerScheduler.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport PageHeader from '@/shared/components/pageHeader/PageHeader.vue';\r\nimport { TabItem } from '@/shared/components/pageHeader/tabItem';\r\nimport { Getter } from 'vuex-class';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tPageHeader,\r\n\t},\r\n})\r\nexport default class Settings extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\r\n\tpublic tabs: TabItem[] = [\r\n\t\t{ name: 'General', route: 'general-settings' },\r\n\t\t{ name: 'Teammates', route: 'teammates' },\r\n\t\t{ name: 'Email', route: 'email' },\r\n\t\t{ name: 'Business Hours', route: 'business-hours' },\r\n\t\t{ name: 'Contact Attributes', route: 'contact-attributes' },\r\n\t];\r\n}\r\n","import { render, staticRenderFns } from \"./Flow.vue?vue&type=template&id=1e87687c&scoped=true\"\nimport script from \"./Flow.vue?vue&type=script&lang=ts\"\nexport * from \"./Flow.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Flow.vue?vue&type=style&index=0&id=1e87687c&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1e87687c\",\n null\n \n)\n\nexport default component.exports","import { ApiError } from '@/shared/services/baseApiClient';\r\nimport { appsApi } from '@/features/apps/shared/services/apps';\r\nimport { InstallAppViewModel } from '@/features/apps/shared/models';\r\nimport { botsApi } from './bots';\r\nimport { BotConfigurationViewModel } from '../models/botConfigurationViewModel';\r\nimport { InstallBotViewModel } from '../models/request/installBotViewModel';\r\nimport { messagingWorkspacesApi } from '@/messaging/messaging';\r\nimport { AddOrReplaceMessagingWorkspaceRequest } from '@/messaging/models/addOrReplaceMessagingWorkspaceRequest';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\n\r\nclass BotAppService {\r\n\r\n\t// updates the bot, marking it as enabled\r\n\t// and updates the workspace, marking HasChatBotAppInstalled flag as true\r\n\tpublic enableBot(workspace: WorkspaceViewModel, bot: BotConfigurationViewModel) {\r\n\t\treturn botsApi.update(workspace.id, bot)\r\n\t\t\t.then(() => {\r\n\t\t\t\treturn this.updateWorkspace(workspace, true);\r\n\t\t\t\t// what can we do if updating workspace fails?\r\n\t\t\t});\r\n\t}\r\n\r\n\t// updates the bot, marking it as disabled\r\n\t// and updates the workspace, marking HasChatBotAppInstalled flag as false\r\n\tpublic disableBot(workspace: WorkspaceViewModel, bot: BotConfigurationViewModel) {\r\n\t\treturn botsApi.update(workspace.id, bot)\r\n\t\t\t.then(() => {\r\n\t\t\t\treturn this.updateWorkspace(workspace, false);\r\n\t\t\t\t// what can we do if updating workspace fails?\r\n\t\t\t});\r\n\t}\r\n\r\n\t// installs the 'Bots' domain app\r\n\t// and the 'Apps' domain app if it doesn't exist already\r\n\tpublic fullInstall(workspaceId: string) {\r\n\t\treturn this.getInstalledAppId(workspaceId, 'connectbot')\r\n\t\t\t.then(installedAppId => {\r\n\t\t\t\treturn this.configureConnectBot(workspaceId, installedAppId);\r\n\t\t\t});\r\n\t}\r\n\r\n\tpublic getDefaultConfiguration(): BotConfigurationViewModel {\r\n\t\treturn {\r\n\t\t\tdisabled: true,\r\n\t\t\tcaptureName: true,\r\n\t\t\tcaptureEmail: true,\r\n\t\t\tcaptureEnquiry: false,\r\n\t\t\tenquiryOptions: [],\r\n\t\t\tfollowUpActions: [],\r\n\t\t\trules: []\r\n\t\t};\r\n\t}\r\n\r\n\tprivate updateWorkspace(workspace: WorkspaceViewModel, hasChatBotAppInstalled: boolean) {\r\n\t\tconst request: AddOrReplaceMessagingWorkspaceRequest = {\r\n\t\t\tid: workspace.id,\r\n\t\t\tname: workspace.name,\r\n\t\t\thasChatBotAppInstalled\r\n\t\t};\r\n\t\treturn messagingWorkspacesApi.addOrReplace(request);\r\n\t}\r\n\r\n\tprivate configureConnectBot(workspaceId: string, installId: string) {\r\n\t\tconst config = this.getDefaultConfiguration() as InstallBotViewModel;\r\n\t\tconfig.workspaceId = workspaceId;\r\n\t\tconfig.installId = installId;\r\n\t\treturn botsApi.install(config);\r\n\t}\r\n\r\n\t/** Gets the installed app, or creates it if it doesn't exist */\r\n\tprivate getInstalledAppId(workspaceId: string, appId: string): Promise {\r\n\t\treturn appsApi.getInstalledApp(workspaceId, appId)\r\n\t\t\t.then(app => {\r\n\t\t\t\t// app exists, return its id\r\n\t\t\t\treturn app.installedAppId;\r\n\t\t\t})\r\n\t\t\t.catch((error: ApiError) => {\r\n\t\t\t\tif (error.status === 404) {\r\n\t\t\t\t\t// app does not exist, we'll create it\r\n\t\t\t\t\treturn this.installInstalledApp(workspaceId, appId)\r\n\t\t\t\t\t\t.then(app => {\r\n\t\t\t\t\t\t\treturn app.installedAppId;\r\n\t\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\t// anything other than a 404 is unexpected\r\n\t\t\t\tthrow new Error(`Encountered unexpected error: Http Status ${error.status}`);\r\n\t\t\t});\r\n\t}\r\n\r\n\tprivate installInstalledApp(workspaceId: string, appId: string) {\r\n\t\tconst installRequest = { appId, published: true } as InstallAppViewModel;\r\n\t\treturn appsApi.install(workspaceId, installRequest);\r\n\t}\r\n\r\n}\r\n\r\nexport const botAppSerivce = new BotAppService();\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IntentsReports.vue?vue&type=style&index=1&id=2937a7ee&prod&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChannelIcon.vue?vue&type=style&index=0&id=392e5896&prod&scoped=true&lang=scss\"","import { ConditionPickerOption, Conditions, ConditionDataType, ConditionOperationType } from './conditions';\r\nimport { ConditionViewModel } from './conditionViewModel';\r\nimport { ContactAttributeViewModel } from '@/messaging/models/ContactAttributeViewModel';\r\nimport AttributeIconUtil from '@/shared/util/attributeIconUtil';\r\n\r\nexport interface IConditionsManager {\r\n\tconditions: ConditionPickerOption[];\r\n\tvisibleConditions: ConditionPickerOption[];\r\n\tgetConfigComponent(condition: ConditionViewModel): string;\r\n\tgetConditionOptions(condition: ConditionViewModel): any;\r\n\tgetFormattedDescription(condition: ConditionViewModel): string;\r\n\tgetListConditionValueTitle(condition: ConditionViewModel): string;\r\n\tgetIntentConditionValueTitle(condition: ConditionViewModel): string;\r\n\tisConditionValid(condition: ConditionViewModel): boolean;\r\n}\r\n\r\nexport abstract class ConditionsManager implements IConditionsManager {\r\n\tpublic operations = Conditions.Operations;\r\n\tpublic dateTimeUnits = Conditions.DateTimeUnits;\r\n\r\n\tconstructor(private cachedAttributes: ContactAttributeViewModel[]) {\r\n\t}\r\n\r\n\tpublic get visibleConditions(): ConditionPickerOption[] {\r\n\t\treturn this.conditions;\r\n\t}\r\n\r\n\tpublic get conditions(): ConditionPickerOption[] {\r\n\t\treturn this.conditionsFromCache;\r\n\t}\r\n\r\n\tpublic getConfigComponent(condition: ConditionViewModel): string {\r\n\t\tif (condition.type === ConditionDataType.DateTime || condition.type === ConditionDataType.Date) {\r\n\t\t\treturn 'DateTimeCondition';\r\n\t\t} else if (condition.type === ConditionDataType.Text) {\r\n\t\t\treturn 'TextCondition';\r\n\t\t} else if (condition.type === ConditionDataType.Number) {\r\n\t\t\treturn 'NumberCondition';\r\n\t\t} else if (condition.type === ConditionDataType.Decimal) {\r\n\t\t\treturn 'DecimalCondition';\r\n\t\t} else if (condition.type === ConditionDataType.List) {\r\n\t\t\treturn 'ListCondition';\r\n\t\t} else if (condition.type === ConditionDataType.Duration) {\r\n\t\t\treturn 'DurationCondition';\r\n\t\t} else if (condition.type === ConditionDataType.Intent) {\r\n\t\t\treturn 'IntentCondition';\r\n\t\t}\r\n\t\treturn '';\r\n\t}\r\n\r\n\tpublic getConditionOptions(condition: ConditionViewModel): any {\r\n\t\treturn '';\r\n\t}\r\n\r\n\tpublic getListConditionValueTitle(condition: ConditionViewModel) {\r\n\t\treturn condition.value;\r\n\t}\r\n\r\n\tpublic getIntentConditionValueTitle(condition: ConditionViewModel) {\r\n\t\treturn condition.value;\r\n\t}\r\n\r\n\tpublic isConditionValid(condition: ConditionViewModel): boolean {\r\n\t\tif (condition.attribute.startsWith('appUser.customAttributes')) {\r\n\t\t\tconst attributeName = condition.attribute.substring(condition!.attribute.lastIndexOf('.') + 1);\r\n\t\t\tconst attribute = this.cachedAttributes.find(attr => attr.id === attributeName);\r\n\t\t\treturn !condition.invalid && !!attribute && !attribute.archived;\r\n\t\t}\r\n\t\treturn !condition.invalid;\r\n\t}\r\n\r\n\tpublic getFormattedDescription(condition: ConditionViewModel) {\r\n\t\tif (condition.invalid) {\r\n\t\t\treturn `${this.getAttribute(condition)} is invalid`.trim();\r\n\t\t}\r\n\t\treturn `${this.getAttribute(condition)} ${this.getOperation(condition)} ${this.getValue(condition)} ${this.getUnit(condition)}`.trim();\r\n\t}\r\n\r\n\tprotected get conditionsFromCache(): ConditionPickerOption[] {\r\n\t\treturn this.cachedAttributes.map(attribute => ({\r\n\t\t\tid: this.getId(attribute),\r\n\t\t\ttitle: attribute.name,\r\n\t\t\ttype: attribute.type,\r\n\t\t\ticon: AttributeIconUtil.getIcon(attribute.type, attribute.id, attribute.system)\r\n\t\t}));\r\n\t}\r\n\r\n\tprivate getAttribute(condition: ConditionViewModel) {\r\n\t\tconst matchedAttribute = this.conditions.find(c => c.id === condition.attribute);\r\n\t\tif (matchedAttribute) {\r\n\t\t\treturn matchedAttribute.title;\r\n\t\t} else if (condition.attribute.includes('.')) {\r\n\t\t\treturn condition.attribute.substring(condition.attribute.lastIndexOf('.') + 1);\r\n\t\t}\r\n\r\n\t\treturn condition.attribute;\r\n\t}\r\n\r\n\tprivate getOperation(condition: ConditionViewModel) {\r\n\t\tconst typedOperations = this.operations[condition.type];\r\n\t\tif (!typedOperations) {\r\n\t\t\treturn '...';\r\n\t\t}\r\n\r\n\t\tconst matchedOperation = typedOperations.find(o => o.operation === condition.operation && o.result === condition.result);\r\n\t\tif (!matchedOperation) {\r\n\t\t\treturn '...';\r\n\t\t}\r\n\r\n\t\treturn matchedOperation.title;\r\n\t}\r\n\r\n\tprivate getValue(condition: ConditionViewModel) {\r\n\t\tif (condition.type === ConditionDataType.List) {\r\n\t\t\treturn this.getListConditionValueTitle(condition);\r\n\t\t} else if (condition.type === ConditionDataType.Intent) {\r\n\t\t\treturn this.getIntentConditionValueTitle(condition);\r\n\t\t}\r\n\t\treturn condition.value;\r\n\t}\r\n\r\n\tprivate getUnit(condition: ConditionViewModel) {\r\n\t\tif (condition.unit && condition.operation !== ConditionOperationType.IsSet) {\r\n\t\t\t// 'seconds' is old type\r\n\t\t\tif (condition.type === ConditionDataType.Duration || condition.type === 'seconds') {\r\n\t\t\t\treturn condition.unit;\r\n\t\t\t}\r\n\r\n\t\t\tconst dateTime = this.dateTimeUnits.find(u => u.id === condition.unit);\r\n\t\t\tif (dateTime) {\r\n\t\t\t\tlet title = dateTime.title;\r\n\t\t\t\tif (condition.value === '1') {\r\n\t\t\t\t\ttitle = dateTime.title.slice(0, dateTime.title.length - 1);\r\n\t\t\t\t}\r\n\t\t\t\treturn `${title} ago`;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn '';\r\n\t}\r\n\r\n\tprivate getId(attribute: ContactAttributeViewModel): string {\r\n\t\tif (attribute.system) {\r\n\t\t\treturn `appUser.${attribute.id}`;\r\n\t\t} else {\r\n\t\t\treturn `appUser.customAttributes.${attribute.id}`;\r\n\t\t}\r\n\t}\r\n}\r\n\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue} from 'vue-property-decorator';\r\nimport {mixin as clickaway} from 'vue-clickaway';\r\nimport {dropDownHelper} from './dropDownHelper';\r\nimport AddIcon from 'vue-material-design-icons/PlusCircle.vue';\r\nimport CodeIcon from 'vue-material-design-icons/CodeBrackets.vue';\r\nimport Dots from 'vue-material-design-icons/DotsVertical.vue';\r\n\r\n@Component({\r\n\tmixins: [\r\n\t\tclickaway\r\n\t],\r\n\tcomponents: {\r\n\t\tAddIcon,\r\n\t\tDots,\r\n\t\tCodeIcon\r\n\t}\r\n})\r\nexport default class DropDownMenu extends Vue {\r\n\t@Prop({default : false}) public goLeft: boolean;\r\n\t@Prop({default : 'dots'}) public dropDownIcon: string;\r\n\t@Prop({default: false}) public disabled: boolean;\r\n\t@Prop({default: false}) public useColourOnActive: boolean;\r\n\r\n\tpublic isOpen: boolean = false;\r\n\tpublic isUp: boolean = false;\r\n\r\n\r\n\tpublic toggleOpen() {\r\n\t\tif (this.disabled) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.isOpen = !this.isOpen;\r\n\t\tthis.refresh();\r\n\t}\r\n\r\n\tpublic close() {\r\n\t\tthis.isOpen = false;\r\n\t\tthis.refresh();\r\n\t}\r\n\r\n\tprivate refresh() {\r\n\t\tthis.$nextTick(() => {\r\n\t\t\tthis.isUp = dropDownHelper.isDropDownUp();\r\n\t\t\tthis.$emit('isUp', this.isUp);\r\n\t\t\tthis.$emit('open', this.isOpen);\r\n\t\t});\r\n\t}\r\n}\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./btsmsConfig.vue?vue&type=style&index=0&id=1b0f8d04&prod&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdvancedTooltip.vue?vue&type=style&index=0&id=3697b06a&prod&scoped=true&lang=scss\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport { Getter } from 'vuex-class';\r\n\r\n@Component({\r\n})\r\nexport default class ErrorPage extends Vue {\r\n\t@Getter public error!: string;\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"editable-text\"},[(!_vm.isEditing)?_c('div',{staticClass:\"read-view\",class:{ 'single-line': !_vm.multiline },style:({minWidth: _vm.minWidth, maxWidth: _vm.maxWidth}),on:{\"click\":_vm.startEditing}},[(!_vm.hasText())?_c('span',{staticClass:\"placeholder\"},[_vm._v(_vm._s(_vm.placeholder || ' '))]):_vm._e(),(_vm.hasText())?_c('span',[_vm._v(_vm._s(_vm.text))]):_vm._e()]):_vm._e(),(_vm.isEditing)?_c('div',{directives:[{name:\"on-clickaway\",rawName:\"v-on-clickaway\",value:(_vm.finishEditing),expression:\"finishEditing\"}],staticClass:\"write-view\"},[(_vm.multiline)?_c('textarea-autosize',{ref:\"textfield\",attrs:{\"rows\":\"1\",\"placeholder\":_vm.placeholder},nativeOn:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.finishEditing($event)}},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:\"text\"}}):_vm._e(),(!_vm.multiline)?_c('span',{ref:\"textfield\",staticClass:\"edit-single-line\",style:({minWidth: _vm.minWidth, maxWidth: _vm.maxWidth}),attrs:{\"contenteditable\":\"true\",\"data-placeholder\":_vm.getPlaceholder()},on:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.finishEditing($event)},\"input\":_vm.onInput}},[_vm._v(_vm._s(_vm.value))]):_vm._e()],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export enum VerificationStatus {\r\n\tVERIFICATION_STATE_UNSPECIFIED = 'VERIFICATION_STATE_UNSPECIFIED',\r\n\tVERIFICATION_STATE_UNVERIFIED = 'VERIFICATION_STATE_UNVERIFIED',\r\n\tVERIFICATION_STATE_PENDING = 'VERIFICATION_STATE_PENDING',\r\n\tVERIFICATION_STATE_VERIFIED = 'VERIFICATION_STATE_VERIFIED',\r\n\tVERIFICATION_STATE_SUSPENDED_IN_GMB = 'VERIFICATION_STATE_SUSPENDED_IN_GMB'\r\n}\r\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TagsInput.vue?vue&type=style&index=0&id=bbdc81a0&prod&scoped=true&lang=scss\"","import { render, staticRenderFns } from \"./ConversationPreview.vue?vue&type=template&id=2d7c5310&scoped=true\"\nimport script from \"./ConversationPreview.vue?vue&type=script&lang=ts\"\nexport * from \"./ConversationPreview.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ConversationPreview.vue?vue&type=style&index=0&id=2d7c5310&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2d7c5310\",\n null\n \n)\n\nexport default component.exports","import { api } from '@/shared/services/baseApiClient';\r\nimport { config } from '@/config/config';\r\nimport urljoin from 'url-join';\r\nimport { AnswerViewModel } from '../models/answers/answerViewModel';\r\nimport {GetAnswersResponseViewModel} from '@/features/bots/models/answers/getAnswersResponseViewModel';\r\nimport { AnswerListItemViewModel } from '../models/answers/answerListItemViewModel';\r\nimport { UpdateAnswerViewModel } from '@/features/bots/models/answers/updateAnswerViewModel';\r\nimport { CreateAnswerViewModel } from '@/features/bots/models/answers/createAnswerViewModel';\r\n\r\nclass AnswersApiService {\r\n\tprivate version = 'v1';\r\n\r\n\tpublic async getAnswers(workspaceId: string): Promise {\r\n\t\tconst response: GetAnswersResponseViewModel = await api.send('GET', urljoin(config().answersHost, this.version, workspaceId, 'answers'));\r\n\t\treturn response.results;\r\n\t}\r\n\r\n\tpublic getAnswer(workspaceId: string, answerId: string): Promise {\r\n\t\treturn api.send('GET', urljoin(config().answersHost, this.version, workspaceId, 'answers', answerId));\r\n\t}\r\n\r\n\tpublic createAnswer(workspaceId: string, request: CreateAnswerViewModel): Promise {\r\n\t\treturn api.send('POST', urljoin(config().answersHost, this.version, workspaceId, 'answers'), request);\r\n\t}\r\n\r\n\tpublic updateAnswer(workspaceId: string, answerId: string, request: UpdateAnswerViewModel): Promise {\r\n\t\treturn api.send('PATCH', urljoin(config().answersHost, this.version, workspaceId, 'answers', answerId), request);\r\n\t}\r\n\r\n\tpublic deleteAnswer(workspaceId: string, answerId: string): Promise {\r\n\t\treturn api.send('DELETE', urljoin(config().answersHost, this.version, workspaceId, 'answers', answerId));\r\n\t}\r\n}\r\n\r\nexport const answersApi = new AnswersApiService();\r\n","var render = function (_h,_vm) {var _c=_vm._c;return _c('font-awesome-icon',{staticClass:\"fa-icons\",attrs:{\"icon\":\"robot\"}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardRenderer.vue?vue&type=style&index=0&id=6be4ae9a&prod&lang=scss\"","import { config } from '@/config/config';\r\nimport { api } from '@/shared/services/baseApiClient';\r\nimport { ImageUploadViewModel } from '../models/response/imageUploadViewModel';\r\n\r\nclass ImageUploadService {\r\n\tpublic upload(image: File): Promise {\r\n\t\treturn this.validateImage(image).then(() => {\r\n\t\t\treturn this.uploadImage(image);\r\n\t\t});\r\n\t}\r\n\r\n\tprivate uploadImage(image: File): Promise {\r\n\t\tconst url = config().webAssistantHost + '/v1/image';\r\n\r\n\t\tconst request = new FormData();\r\n\t\trequest.append('file', image);\r\n\r\n\t\treturn api.send('POST', url, request);\r\n\t}\r\n\r\n\tprivate validateImage(image: File): Promise {\r\n\t\tconst maxFilesize = 1000; // 1 MB (in kb)\r\n\t\tconst maxWidth = 300;\r\n\t\tconst maxHeight = 48;\r\n\r\n\t\treturn new Promise((resolve: (val?: any) => void, reject) => {\r\n\r\n\t\t\tif (this.bytesToKilobytes(image.size) > maxFilesize) {\r\n\t\t\t\treject({ message: 'Image filesize is too large. Please upload an image under 1MB' });\r\n\t\t\t}\r\n\r\n\t\t\tthis.getDimensions(image)\r\n\t\t\t\t.then(dimensions => {\r\n\t\t\t\t\tif (dimensions.width > maxWidth || dimensions.height > maxHeight) {\r\n\t\t\t\t\t\treject({ message: `Image dimensions are too large (${dimensions.width} x ${dimensions.height})` });\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tresolve();\r\n\t\t\t\t})\r\n\t\t\t\t.catch(message => {\r\n\t\t\t\t\treject(message);\r\n\t\t\t\t});\r\n\t\t});\r\n\r\n\t}\r\n\r\n\tprivate getDimensions(image: File): Promise {\r\n\t\treturn this.getImageAsString(image)\r\n\t\t\t.then(dataUrl => {\r\n\t\t\t\treturn this.readFile(dataUrl);\r\n\t\t\t});\r\n\t}\r\n\r\n\tprivate readFile(dataUrl: string): Promise {\r\n\t\treturn new Promise((resolve, reject) => {\r\n\t\t\tconst image = new Image();\r\n\t\t\timage.onload = () => {\r\n\t\t\t\tresolve({\r\n\t\t\t\t\twidth: image.naturalWidth,\r\n\t\t\t\t\theight: image.naturalHeight\r\n\t\t\t\t});\r\n\t\t\t};\r\n\t\t\timage.onerror = () => {\r\n\t\t\t\treject({ message: 'Unsupported file type' });\r\n\t\t\t};\r\n\t\t\timage.src = dataUrl;\r\n\t\t});\r\n\t}\r\n\r\n\tprivate getImageAsString(image: File): Promise {\r\n\t\treturn new Promise((resolve, reject) => {\r\n\t\t\tconst reader = new FileReader();\r\n\t\t\treader.readAsDataURL(image);\r\n\t\t\treader.onload = () => {\r\n\t\t\t\tif (reader.result) {\r\n\t\t\t\t\tresolve(reader.result as string);\r\n\t\t\t\t}\r\n\t\t\t\treject();\r\n\t\t\t};\r\n\t\t});\r\n\t}\r\n\r\n\r\n\tprivate bytesToKilobytes(bytes: number) {\r\n\t\treturn bytes / 1000;\r\n\t}\r\n}\r\n\r\ninterface ImageDimensions {\r\n\twidth: number;\r\n\theight: number;\r\n}\r\n\r\nexport const imageUploadApi = new ImageUploadService();\r\n","\n\n\n\n\n\n\n\n\n\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport { Route } from 'vue-router';\r\nimport { Getter, Mutation } from 'vuex-class';\r\nimport { DateOption } from '../models';\r\nimport { ReportCsvDownloadResponse, reportDownloaderService } from '../services/reportDownloader';\r\nimport { saveAs } from 'file-saver';\r\nimport Toast from '@/shared/services/toast';\r\nimport { SET_REPORT_LOADING } from '@/store/reports/mutationTypes';\r\n\r\n@Component({})\r\nexport default class ReportDownloader extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Getter public selectedDateOption!: DateOption;\r\n\t@Getter public selectedFlowId!: string;\r\n\t@Getter public isReportLoading!: boolean;\r\n\t@Mutation(SET_REPORT_LOADING) public setReportLoading: (loading: boolean) => void;\r\n\r\n\tpublic isDownloadInProgress: boolean = false;\r\n\r\n\tpublic activeRoute: Route;\r\n\r\n\tpublic async downloadReport() {\r\n\t\ttry {\r\n\t\t\tthis.isDownloadInProgress = true;\r\n\t\t\tthis.setReportLoading(true);\r\n\t\t\tconst report = await this.getReport();\r\n\t\t\tif (report) {\r\n\t\t\t\tsaveAs(report.data, report.fileName);\r\n\t\t\t}\r\n\t\t} catch (error: any) {\r\n\t\t\tToast.showError(`Failed to download report: ${error.message}`);\r\n\t\t} finally {\r\n\t\t\tthis.setReportLoading(false);\r\n\t\t\tthis.isDownloadInProgress = false;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async getReport(): Promise {\r\n\t\tconst currentRoute = this.$route.name;\r\n\r\n\t\tif (currentRoute === 'reports-overview') {\r\n\t\t\treturn await reportDownloaderService.getMessagingReportCsv(this.currentWorkspace.id, this.selectedDateOption);\r\n\t\t}\r\n\t\tif (currentRoute === 'reports-flows') {\r\n\t\t\treturn reportDownloaderService.getFlowsReportCsv(this.currentWorkspace.id, this.selectedFlowId, this.selectedDateOption);\r\n\t\t}\r\n\t\tif (currentRoute === 'reports-intents') {\r\n\t\t\treturn reportDownloaderService.getNLPReportCsv(this.currentWorkspace.id, this.selectedDateOption);\r\n\t\t}\r\n\t\tif (currentRoute === 'reports-usage') {\r\n\t\t\treturn reportDownloaderService.getUsageReportCsv(this.currentWorkspace.id, this.selectedDateOption);\r\n\t\t}\r\n\t\treturn null;\r\n\t}\r\n}\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DurationCondition.vue?vue&type=style&index=0&id=1ab6ecd0&prod&lang=scss&scoped=true\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropDownMenu.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropDownMenu.vue?vue&type=script&lang=ts\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./messengerConfig.vue?vue&type=style&index=0&id=04030890&prod&scoped=true&lang=scss\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateRangeFilter.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateRangeFilter.vue?vue&type=script&lang=ts\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TimeOfDayCondition.vue?vue&type=style&index=0&id=7e9cdd7f&prod&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"contacts-list\"},[_c('div',{staticClass:\"filter-container\"},[_c('ConditionGroupBuilder',{attrs:{\"value\":_vm.filters,\"manager\":_vm.filtersManager,\"disabled\":_vm.reloading},on:{\"updated\":_vm.onFiltersChanged},scopedSlots:_vm._u([{key:\"before\",fn:function(){return [_c('ContactTypePicker',{staticClass:\"contact-type-picker\",attrs:{\"value\":_vm.contactType,\"disabled\":_vm.reloading},on:{\"updated-type\":_vm.contactTypeUpdated}})]},proxy:true}])}),_c('ColumnPicker',{attrs:{\"columns\":_vm.getColumns()},model:{value:(_vm.visibleColumns),callback:function ($$v) {_vm.visibleColumns=$$v},expression:\"visibleColumns\"}})],1),_c('DataTable',{attrs:{\"data\":_vm.formattedContacts,\"columns\":_vm.visibleColumns,\"total\":_vm.total,\"loading\":_vm.reloading,\"pagination\":true,\"rows-per-page\":_vm.rowsPerPage,\"default-sort-by\":\"lastSeen\",\"default-sort-direction\":\"desc\"},on:{\"load\":_vm.dataTableChanged,\"cellClicked\":_vm.handleCellClick},scopedSlots:_vm._u([{key:\"nodata\",fn:function(){return [_c('div',{staticClass:\"no-contacts\"},[_c('PersonSearchIcon',{staticClass:\"icon-2x\"}),_c('div',{staticClass:\"no-contacts-message\"},[_c('h1',[_vm._v(\"No contacts match the filters\")])])],1)]},proxy:true},_vm._l((_vm.getContactAttributesToFormat()),function(attribute){return {key:attribute.id,fn:function(ref){\nvar row = ref.row;\nreturn [(attribute.type !== 'date')?_c('FriendlyString',{key:attribute.id,attrs:{\"value\":row[attribute.id] ? row[attribute.id].toString() : undefined}}):_vm._e(),(attribute.type === 'date')?_c('FriendlyDateTime',{key:attribute.id,attrs:{\"date\":row[attribute.id],\"placeholder\":!attribute.system ? 'unknown' : 'never'}}):_vm._e()]}}})],null,true)}),_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { Getter } from 'vuex-class';\r\nimport { required, url, email } from 'vuelidate/lib/validators';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { helpers } from 'vuelidate/lib/validators';\r\nimport { PublishedApp } from '@/features/apps/shared/models';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport GoogleBmLocations from '@/features/apps/googlebm/components/GoogleBmLocations.vue';\r\nimport TriageIcon from '@/shared/components/TriageIcon.vue';\r\nimport TagsInput from '@/shared/components/TagsInput.vue';\r\nimport { GoogleBmAgent } from '@/features/apps/googlebm/models/googleBmAgent';\r\nimport { AgentConfigRequest } from '@/features/apps/googlebm/models/agentConfigRequest';\r\nimport {BusinessHoursViewModel} from '@/features/bots/models';\r\nimport { VerificationStatus } from '@/features/apps/googlebm/models/verificationStatus';\r\nimport Toast from '@/shared/services/toast';\r\nimport { ConfigLocation } from '../models/configLocation';\r\n\r\nconst E164_REGEX = /^\\+[1-9]\\d{1,14}$/;\r\nconst internationalPhoneNumber = helpers.regex('phone', E164_REGEX);\r\nconst https = helpers.regex('url', /^https.*/);\r\n\r\n@Component({\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tagentConfig: {\r\n\t\t\tbrandDisplayName: { required },\r\n\t\t\tbrandLogoUrl: { required, url, https },\r\n\t\t\tbrandWebsiteUrl: { required, url, https },\r\n\t\t\tbrandContactName: { required },\r\n\t\t\tbrandContactEmail: { required, email },\r\n\t\t\twelcomeMessage: { required },\r\n\t\t\tprivacyPolicyUrl: { required, url, https },\r\n\t\t\tnonLocalPhoneNumber: { required, internationalPhoneNumber },\r\n\t\t\tbrand: [\r\n\t\t\t\t'agentConfig.brandDisplayName',\r\n\t\t\t\t'agentConfig.nonLocalPhoneNumber',\r\n\t\t\t\t'agentConfig.brandWebsiteUrl',\r\n\t\t\t\t'agentConfig.privacyPolicyUrl',\r\n\t\t\t\t'agentConfig.brandContactName',\r\n\t\t\t\t'agentConfig.brandContactEmail'\r\n\t\t\t],\r\n\t\t\tagent: [\r\n\t\t\t\t'agentConfig.brandLogoUrl',\r\n\t\t\t\t'agentConfig.welcomeMessage',\r\n\t\t\t],\r\n\t\t},\r\n\t},\r\n\tcomponents: {\r\n\t\tTriageIcon,\r\n\t\tTagsInput,\r\n\t\tGoogleBmLocations\r\n\t}\r\n})\r\nexport default class GoogleBmAgentConfig extends Vue {\r\n\t@Getter public currentApp!: PublishedApp;\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\r\n\t@Prop() public agent: GoogleBmAgent | null;\r\n\t@Prop() public humanAvailability: BusinessHoursViewModel[] | null;\r\n\t@Prop({default: false}) public saving: boolean;\r\n\r\n\tpublic agentConfig: AgentConfigRequest = {};\r\n\tpublic actionInProgress: boolean = false;\r\n\tpublic disabledFields: string[] = [];\r\n\r\n\t@Watch('humanAvailability', { immediate: false })\r\n\tpublic onHumanAvailabilityChange(loadedHours: BusinessHoursViewModel[]) {\r\n\t\tthis.agentConfig.humanAvailability = loadedHours;\r\n\t}\r\n\r\n\t@Watch('saving', { immediate: false })\r\n\tpublic onSavingChange(saving: boolean) {\r\n\t\tthis.actionInProgress = saving;\r\n\t}\r\n\r\n\tpublic mounted() {\r\n\t\tif (this.agent) {\r\n\t\t\tthis.agentConfig = {\r\n\t\t\t\tbrandDisplayName: this.agent.brandDisplayName,\r\n\t\t\t\tbrandLogoUrl: this.agent.brandLogoUrl,\r\n\t\t\t\tbrandWebsiteUrl: this.agent.brandWebsiteUrl,\r\n\t\t\t\tbrandContactName: this.agent.brandContactName,\r\n\t\t\t\tbrandContactEmail: this.agent.brandContactEmail,\r\n\t\t\t\tagentDisplayName: this.agent.displayName,\r\n\t\t\t\twelcomeMessage: this.agent.welcomeMessage,\r\n\t\t\t\tconversationStarters: this.agent.conversationStarters,\r\n\t\t\t\tprivacyPolicyUrl: this.agent.privacyPolicyUrl,\r\n\t\t\t\tnonLocalContactWebsiteUrl: this.agent.nonLocalContactWebsiteUrl,\r\n\t\t\t\tnonLocalPhoneNumber: this.agent.nonLocalPhoneNumber,\r\n\t\t\t\tnonLocalCallDeflectionPhoneNumbers: this.agent.nonLocalCallDeflectionPhoneNumbers,\r\n\t\t\t\tlocations: this.agent.locations\r\n\t\t\t};\r\n\r\n\t\t\tif (this.hasAgentRequestedVerification(this.agent)) {\r\n\t\t\t\tthis.disabledFields = [\r\n\t\t\t\t\t'agentDisplayName',\r\n\t\t\t\t\t'brandDisplayName',\r\n\t\t\t\t\t'brandLogoUrl',\r\n\t\t\t\t\t'brandWebsiteUrl',\r\n\t\t\t\t\t'brandContactName',\r\n\t\t\t\t\t'brandContactEmail',\r\n\t\t\t\t\t'nonLocalContactWebsiteUrl',\r\n\t\t\t\t\t'nonLocalPhoneNumber',\r\n\t\t\t\t\t'nonLocalCallDeflectionPhoneNumbers'\r\n\t\t\t\t];\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async save() {\r\n\t\tif (this.$v.agentConfig.$invalid) {\r\n\t\t\tthis.showAllFormErrors();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (this.actionInProgress) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.actionInProgress = true;\r\n\r\n\t\tconst request: AgentConfigRequest = {};\r\n\t\tObject.entries(this.agentConfig).forEach(([key, value]) => {\r\n\t\t\tif (!this.isDisabledField(key)) {\r\n\t\t\t\t(request as any)[key] = value;\r\n\t\t\t}\r\n\t\t});\r\n\t\tif (!this.isDisabledField('nonLocalContactWebsiteUrl')) {\r\n\t\t\trequest.nonLocalContactWebsiteUrl = this.agentConfig.brandWebsiteUrl;\r\n\t\t}\r\n\t\tif (!this.isDisabledField('agentDisplayName')) {\r\n\t\t\trequest.agentDisplayName = this.agentConfig.brandDisplayName;\r\n\t\t}\r\n\t\tif (!this.isDisabledField('nonLocalCallDeflectionPhoneNumbers')) {\r\n\t\t\trequest.nonLocalCallDeflectionPhoneNumbers = [this.agentConfig.nonLocalPhoneNumber as string];\r\n\t\t}\r\n\r\n\t\tthis.$emit('save', request);\r\n\t}\r\n\r\n\tpublic cancel() {\r\n\t\tthis.$emit('cancel');\r\n\t}\r\n\r\n\tpublic isDisabledField(key: string): boolean {\r\n\t\treturn this.disabledFields.includes(key);\r\n\t}\r\n\r\n\tpublic markAsTouched(fieldName: string) {\r\n\t\tconst field = this.$v.agentConfig[fieldName];\r\n\t\tif (field) {\r\n\t\t\tfield.$touch();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getErrorMessage(fieldName: string, label: string): string | null {\r\n\t\tconst field = this.$v.agentConfig[fieldName];\r\n\t\tif (field && field.$dirty && field.$invalid) {\r\n\t\t\tif (field.$params.required && !field.required) {\r\n\t\t\t\treturn `${label} is required`;\r\n\t\t\t}\r\n\t\t\tif (field.$params.url && !field.url) {\r\n\t\t\t\treturn `${label} must be a valid URL`;\r\n\t\t\t}\r\n\t\t\tif (field.$params.https && !field.https) {\r\n\t\t\t\treturn `${label} must be https`;\r\n\t\t\t}\r\n\t\t\tif (field.$params.email && !field.email) {\r\n\t\t\t\treturn `${label} must be a valid email address`;\r\n\t\t\t}\r\n\t\t\tif (field.$params.numeric && !field.numeric) {\r\n\t\t\t\treturn `${label} must be a number`;\r\n\t\t\t}\r\n\t\t\tif (field.$params.internationalPhoneNumber && !field.internationalPhoneNumber) {\r\n\t\t\t\treturn `${label} must be a valid phone number, e.g. (+44123456789)`;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}\r\n\r\n\tpublic handleLocationChange(locations: ConfigLocation[]) {\r\n\t\tthis.agentConfig.locations = locations;\r\n\t}\r\n\r\n\tprivate showAllFormErrors() {\r\n\t\tfor (const validationField in this.$v.agentConfig) {\r\n\t\t\tif (!validationField.startsWith('$')) {\r\n\t\t\t\tthis.markAsTouched(validationField);\r\n\t\t\t}\r\n\t\t}\r\n\t\tToast.showError(`Please fix validation errors before continuing`);\r\n\t}\r\n\r\n\tprivate hasAgentRequestedVerification(agent: GoogleBmAgent): boolean {\r\n\t\treturn (\r\n\t\t\tagent.verificationStatus === VerificationStatus.VERIFICATION_STATE_PENDING ||\r\n\t\t\tagent.verificationStatus === VerificationStatus.VERIFICATION_STATE_VERIFIED ||\r\n\t\t\tagent.verificationStatus === VerificationStatus.VERIFICATION_STATE_SUSPENDED_IN_GMB\r\n\t\t);\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"bot-test-tool\"},[(_vm.isBotPaused)?_c('BotPausedBanner',{on:{\"resume\":_vm.resumeBot}}):_vm._e(),_c('transition',{attrs:{\"name\":\"fade-header\"}},[(_vm.isWebAssistant)?_c('BrowserUrlBar',{attrs:{\"currentUrl\":_vm.currentUrl},on:{\"urlChanged\":_vm.urlChanged,\"refreshClicked\":_vm.refreshClicked}}):_vm._e()],1),_c('div',{staticClass:\"bot-test-tool__content-container\",class:{ 'bot-test-tool__content-container__has-header': _vm.isWebAssistant }},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[(!_vm.isWebAssistant)?_c('div',{key:\"phone\",staticClass:\"bot-test-tool__content bot-test-tool__content--phone\"},[_c('PhonePreview',[_c('n-conversation',{ref:\"previewComponent\",attrs:{\"messages\":_vm.messages,\"outboundMessageColour\":\"#062B80\",\"readonlyApps\":false},on:{\"load\":_vm.handleLoad,\"messageSend\":_vm.handleMessageSend,\"sendQuickReply\":_vm.handleQuickReply,\"launcherButtonClick\":_vm.toggleConversationVisibility}})],1)],1):_c('div',{key:\"web-assistant\",staticClass:\"bot-test-tool__content\"},[_c('WebAssistantPreview',{ref:\"previewComponent\",attrs:{\"messages\":_vm.messages,\"activeView\":\"conversation\",\"isOpen\":_vm.isConversationVisible,\"displayLauncher\":true,\"typicalResponseTime\":0,\"actionColour\":\"#062B80\",\"brandColour\":\"#062B80\",\"headerText\":_vm.currentWorkspace.name,\"readonlyApps\":false},on:{\"load\":_vm.handleLoad,\"messageSend\":_vm.handleMessageSend,\"sendQuickReply\":_vm.handleQuickReply,\"launcherButtonClick\":_vm.toggleConversationVisibility}})],1)])],1),_c('ConversationControlBar',{on:{\"channelChanged\":_vm.channelChanged,\"resetClicked\":_vm.resetClicked}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./EditIntentModal.vue?vue&type=template&id=58173104&scoped=true\"\nimport script from \"./EditIntentModal.vue?vue&type=script&lang=ts\"\nexport * from \"./EditIntentModal.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EditIntentModal.vue?vue&type=style&index=0&id=58173104&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"58173104\",\n null\n \n)\n\nexport default component.exports","export { BotActionAppViewModel } from './botActionAppViewModel';\r\nexport { BotConfigurationViewModel } from './botConfigurationViewModel';\r\nexport { FollowUpActionType } from './followUpActionType';\r\nexport { FollowUpActionViewModel } from './followUpActionViewModel';\r\nexport { BusinessHoursViewModel } from './businessHoursViewModel';\r\n\r\nexport { InstallBotViewModel } from './request/installBotViewModel';\r\nexport { UpdateBotViewModel } from './request/updateBotViewModel';\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Prop, Vue, Watch} from 'vue-property-decorator';\r\nimport {mixin as clickaway} from 'vue-clickaway';\r\nimport { RuleConditionsManager } from './ruleConditionsManager';\r\nimport ConditionGroupBuilder, { ConditionGroupUpdate } from '@/shared/components/conditions/ConditionGroupBuilder.vue';\r\nimport CapableAppPicker from '@/shared/components/capableAppPicker/CapableAppPicker.vue';\r\nimport { ConfiguredAppIntegration } from '@/features/apps/shared/models/configuredAppIntegration';\r\nimport { botsApi } from '../../services/bots';\r\nimport { RuleViewModel } from '../../models/ruleViewModel';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { required, minLength } from 'vuelidate/lib/validators';\r\nimport TagBox from '@/shared/components/TagBox.vue';\r\nimport { FollowUpActionViewModel, FollowUpActionType, BotActionAppViewModel } from '../../models';\r\n@Component({\r\n\tmixins: [\r\n\t\tclickaway,\r\n\t\tvalidationMixin\r\n\t],\r\n\tvalidations: {\r\n\t\tprovidedRule: {\r\n\t\t\trequired,\r\n\t\t\tconditions: {\r\n\t\t\t\tconditions: {\r\n\t\t\t\t\trequired,\r\n\t\t\t\t\tminLength: minLength(1)\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tactions: {\r\n\t\t\t\trequired,\r\n\t\t\t\tminLength: minLength(1)\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\tcomponents: {\r\n\t\tConditionGroupBuilder,\r\n\t\tCapableAppPicker,\r\n\t\tTagBox\r\n\t}\r\n})\r\nexport default class Rule extends Vue {\r\n\t@Prop() public rule: RuleViewModel;\r\n\t@Prop() public ruleConditionsManager: RuleConditionsManager;\r\n\r\n\tpublic hasInvalidConditions = false;\r\n\tpublic providedRule: RuleViewModel = {\r\n\t\tconditions: {\r\n\t\t\ttype: 'and',\r\n\t\t\tconditions: []\r\n\t\t},\r\n\t\tactions: []\r\n\t};\r\n\r\n\t@Watch('rule', { immediate: true, deep: true })\r\n\tpublic onValueChanged(value: RuleViewModel) {\r\n\t\tif (value) {\r\n\t\t\tthis.providedRule = value;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic conditionUpdated(update: ConditionGroupUpdate) {\r\n\t\tthis.hasInvalidConditions = update.invalid;\r\n\t\tconst clone = JSON.parse(JSON.stringify(this.providedRule)); // to prevent updating the providedRule which would kick off processing in child\r\n\t\tclone.conditions = update.conditionGroup;\r\n\t\tthis.$emit('updated', clone, this.hasInvalidConditions);\r\n\t}\r\n\r\n\r\n\tpublic actionsChanged(selectedApps: BotActionAppViewModel[]) {\r\n\t\tconst appActions = selectedApps.map(app => ({\r\n\t\t\ttype: FollowUpActionType.AppIntegration,\r\n\t\t\tapp\r\n\t\t}));\r\n\t\tthis.providedRule.actions = appActions;\r\n\t\tthis.$emit('updated', this.providedRule, this.hasInvalidConditions);\r\n\t}\r\n\r\n\tpublic configRequest(workspaceId: string, installedAppId: string, values: any, previousValues: any, componentId: any) {\r\n\t\treturn botsApi.botAppConfig(workspaceId, installedAppId, values, previousValues, componentId);\r\n\t}\r\n\r\n\tpublic deleteRule() {\r\n\t\tthis.$emit('deleted');\r\n\t}\r\n\r\n\tpublic getSelectedFollowUpApps(): Array {\r\n\t\treturn this.providedRule.actions\r\n\t\t\t.filter(action => action.type === FollowUpActionType.AppIntegration)\r\n\t\t\t.filter(action => action.app !== undefined)\r\n\t\t\t.map(action => action.app);\r\n\t}\r\n}\r\n","import { render, staticRenderFns } from \"./AdditionalInformationWrapper.vue?vue&type=template&id=16d60090&scoped=true\"\nimport script from \"./AdditionalInformationWrapper.vue?vue&type=script&lang=ts\"\nexport * from \"./AdditionalInformationWrapper.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AdditionalInformationWrapper.vue?vue&type=style&index=0&id=16d60090&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"16d60090\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowEngagementCharts.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlowEngagementCharts.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TitledSection.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TitledSection.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContentHighlightsListItemEdit.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContentHighlightsListItemEdit.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TriggerBox.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TriggerBox.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"control has-icons-left\"},[_c('div',{staticClass:\"select\",class:{ 'flow-select--disabled': _vm.isReportLoading }},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.flowId),expression:\"flowId\"}],attrs:{\"disabled\":_vm.isReportLoading},on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.flowId=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},function($event){return _vm.setFlowForReports(_vm.flowId)}]}},_vm._l((_vm.reportFlowsOptions),function(flow){return _c('option',{key:flow.id,domProps:{\"value\":flow.id}},[_vm._v(_vm._s(flow.name))])}),0),_c('span',{staticClass:\"icon is-left select-icon\"},[_c('FlowIcon',{staticClass:\"icon-1-3x dropdown-icons icon-adjustment flow-icon-adjustment\"})],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./FlowEngagementCharts.vue?vue&type=template&id=4fb65b37&scoped=true\"\nimport script from \"./FlowEngagementCharts.vue?vue&type=script&lang=ts\"\nexport * from \"./FlowEngagementCharts.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FlowEngagementCharts.vue?vue&type=style&index=0&id=4fb65b37&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4fb65b37\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { default as ColourPicker } from '@/shared/services/color';\r\n\r\n@Component\r\nexport default class ConversationHeader extends Vue {\r\n\r\n\t@Prop() public brandColour: string;\r\n\t@Prop() public outboundMessageColour: string;\r\n\t@Prop() public headerText: string;\r\n\t@Prop() public subtitleText: string;\r\n\r\n\tpublic getContrastingBrandColour() {\r\n\t\treturn ColourPicker.getContrastingColour(this.brandColour);\r\n\t}\r\n\r\n\tpublic getContrastingSentMessageColour() {\r\n\t\treturn ColourPicker.getContrastingColour(this.outboundMessageColour);\r\n\t}\r\n\r\n\tprivate getDarkHeader() {\r\n\t\treturn ColourPicker.darken(this.brandColour, 12);\r\n\t}\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HomeScreenPreview.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HomeScreenPreview.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FaqIntentPicker.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FaqIntentPicker.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TotalsDoughnutChart.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TotalsDoughnutChart.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ReportFilters.vue?vue&type=template&id=5e970d10&scoped=true\"\nimport script from \"./ReportFilters.vue?vue&type=script&lang=ts\"\nexport * from \"./ReportFilters.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5e970d10\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"condition-button-container\"},[_c('button',{staticClass:\"button condition-button\",class:{ 'config-active': _vm.isOpen, 'invalid': _vm.condition.invalid },attrs:{\"disabled\":_vm.disabled},on:{\"click\":_vm.openConfig}},[_c('Icon',{attrs:{\"icon\":_vm.getIconComponent(_vm.condition)}}),_c('span',{staticClass:\"description\"},[_vm._v(_vm._s(_vm.manager.getFormattedDescription(_vm.condition)))]),_c('div',{staticClass:\"delete-icon\"},[_c('a',{staticClass:\"delete is-small\",on:{\"click\":function($event){$event.stopPropagation();return _vm.deleteCondition()}}})])],1),_c('div',{staticClass:\"config-wrapper\",on:{\"mousedown\":_vm.onMouseDownInside,\"mouseup\":_vm.onMouseUpInside}},[(_vm.isOpen)?_c('ConditionConfigurator',{directives:[{name:\"on-clickaway\",rawName:\"v-on-clickaway\",value:(_vm.closeConfig),expression:\"closeConfig\"}],attrs:{\"value\":_vm.condition,\"manager\":_vm.manager},on:{\"updated\":_vm.updateCondition,\"completed\":_vm.onConfigCompleted}}):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport {Action, Getter} from 'vuex-class';\r\nimport { PublishedApp } from '../../shared/models';\r\nimport { googleBmApi } from '../services/googlebmApi';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport Toast from '@/shared/services/toast';\r\nimport { GoogleBmInstalledApp } from '../models';\r\nimport { AgentConfigRequest } from '@/features/apps/googlebm/models/agentConfigRequest';\r\nimport GoogleBmAgentConfig from './googleBmAgentConfig.vue';\r\nimport {botsApi} from '@/features/bots/services/bots';\r\nimport {HANDLE_SERIOUS_ERROR} from '@/store/app/actionTypes';\r\nimport {BusinessHoursViewModel} from '@/features/bots/models';\r\n\r\n@Component({\r\n\tcomponents: { GoogleBmAgentConfig }\r\n})\r\nexport default class GoogleBmAddAgent extends Vue {\r\n\t@Getter public currentApp!: PublishedApp;\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\r\n\t@Prop() public app: GoogleBmInstalledApp | null;\r\n\r\n\t@Action(HANDLE_SERIOUS_ERROR) public handleSeriousError: any;\r\n\r\n\tpublic humanAvailability: BusinessHoursViewModel[] = [];\r\n\tpublic actionInProgress: boolean = true;\r\n\r\n\tpublic async mounted() {\r\n\t\ttry {\r\n\t\t\tthis.humanAvailability = await this.loadBusinessHours();\r\n\t\t} catch (error) {\r\n\t\t\tif (error.status !== 404) {\r\n\t\t\t\tthis.handleSeriousError(error.message);\r\n\t\t\t}\r\n\t\t} finally {\r\n\t\t\tthis.actionInProgress = false;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async onSave(request: AgentConfigRequest) {\r\n\t\tif (this.actionInProgress) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.actionInProgress = true;\r\n\r\n\t\ttry {\r\n\t\t\tif (!this.app) {\r\n\t\t\t\tawait this.installApp();\r\n\t\t\t\tthis.app = {\r\n\t\t\t\t\tworkspaceId: this.currentWorkspace.id,\r\n\t\t\t\t\tinstallId: this.currentApp.installedAppId,\r\n\t\t\t\t\tagents: []\r\n\t\t\t\t};\r\n\t\t\t}\r\n\r\n\t\t\tawait googleBmApi.createAgent(this.currentWorkspace.id, request);\r\n\r\n\t\t\tthis.$emit('configSaved');\r\n\t\t} catch (err) {\r\n\t\t\tToast.showError(`Failed to save app : ${err.message}`);\r\n\t\t}\r\n\t\tthis.actionInProgress = false;\r\n\t}\r\n\r\n\tpublic onCancel() {\r\n\t\tthis.$router.push({ name: 'apps' });\r\n\t}\r\n\r\n\tpublic loadBusinessHours() {\r\n\t\treturn botsApi.getBusinessHours(this.currentWorkspace.id);\r\n\t}\r\n\r\n\tprivate async installApp() {\r\n\t\treturn googleBmApi.install({ workspaceId: this.currentWorkspace.id, installId: this.currentApp.installedAppId });\r\n\t}\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeleteIntentModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeleteIntentModal.vue?vue&type=script&lang=ts\"","export class ImageUploadViewModel {\r\n\tpublic url: string;\r\n}\r\n","import { render, staticRenderFns } from \"./PhonePreview.vue?vue&type=template&id=8fa67a9e&scoped=true\"\nimport script from \"./PhonePreview.vue?vue&type=script&lang=ts\"\nexport * from \"./PhonePreview.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PhonePreview.vue?vue&type=style&index=0&id=8fa67a9e&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8fa67a9e\",\n null\n \n)\n\nexport default component.exports","import { ConditionsManager } from '@/shared/components/conditions/models/conditionsManager';\r\nimport {store} from '@/store';\r\nimport {ConditionPickerOption} from '@/shared/components/conditions/models/conditions';\r\n\r\nexport class AudienceConditionsManager extends ConditionsManager {\r\n\tconstructor() {\r\n\t\tsuper(store.getters.allContactAttributes);\r\n\t}\r\n\r\n\tget visibleConditions(): ConditionPickerOption[] {\r\n\t\tconst nonArchivedAttributes = this.conditions.filter(option => {\r\n\t\t\tconst attributeId = option.id.substring(option.id.lastIndexOf('.') + 1);\r\n\t\t\treturn !store.getters.isAttributeArchived(attributeId);\r\n\t\t});\r\n\t\treturn nonArchivedAttributes;\r\n\t}\r\n}\r\n","import * as msal from '@azure/msal-browser';\r\nimport { TenantConfig } from '@/config/tenantConfig';\r\nimport { config } from '@/config/config';\r\nimport { ConnectClaim } from './claims';\r\n\r\nclass AuthenticationService {\r\n\tprivate app: msal.PublicClientApplication;\r\n\tprivate tenantConfig: TenantConfig;\r\n\r\n\tprivate account: msal.AccountInfo | null;\r\n\tprivate idToken: string;\r\n\tprivate scopes: string [];\r\n\tprivate signInUrl: string;\r\n\tprivate passwordResetUrl: string;\r\n\r\n\tpublic setup() {\r\n\t\tthis.tenantConfig = config().tenantConfig;\r\n\r\n\t\tthis.signInUrl = `${this.tenantConfig.authority}${this.tenantConfig.tenant}/${this.tenantConfig.signInPolicy}`.toLowerCase();\r\n\t\tthis.passwordResetUrl = `${this.tenantConfig.authority}/${this.tenantConfig.tenant}/${this.tenantConfig.passwordResetPolicy}`.toLowerCase();\r\n\r\n\t\tthis.scopes = [this.tenantConfig.clientId]; // using the clientId as the scope grants us access to our web api's\r\n\t\tthis.account = null;\r\n\t\tthis.idToken = '';\r\n\r\n\t\tconst conf: msal.Configuration = {\r\n\t\t\tauth: {\r\n\t\t\t\tclientId: this.tenantConfig.clientId,\r\n\t\t\t\tnavigateToLoginRequestUrl: false,\r\n\t\t\t\tredirectUri: this.tenantConfig.redirectUri,\r\n\t\t\t\tauthority: this.signInUrl,\r\n\t\t\t\tknownAuthorities: [this.signInUrl, this.passwordResetUrl],\r\n\t\t\t},\r\n\t\t\tcache: {\r\n\t\t\t\tcacheLocation: 'localStorage'\r\n\t\t\t},\r\n\t\t\tsystem: {\r\n\t\t\t\tloadFrameTimeout: 2000,\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\tthis.app = new msal.PublicClientApplication(conf);\r\n\t}\r\n\r\n\tpublic async load() {\r\n\t\ttry {\r\n\t\t\tconst response = await this.app.handleRedirectPromise();\r\n\t\t\tawait this.handleRedirectResponse(response);\r\n\t\t} catch (error) {\r\n\t\t\tawait this.handleRedirectError(error);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic login() {\r\n\t\treturn this.app.loginRedirect({ scopes: this.scopes });\r\n\t}\r\n\r\n\tpublic logout() {\r\n\t\tlet account: msal.AccountInfo | undefined;\r\n\t\tif (this.account) {\r\n\t\t\taccount = this.account;\r\n\t\t}\r\n\t\tconst logOutRequest: msal.EndSessionRequest = {\r\n\t\t\taccount,\r\n\t\t\tidTokenHint: this.idToken,\r\n\t\t\tpostLogoutRedirectUri: this.tenantConfig.redirectUri\r\n\t\t};\r\n\r\n\t\t// clear the local vars\r\n\t\tthis.idToken = '';\r\n\t\tthis.account = null;\r\n\r\n\t\treturn this.app.logoutRedirect(logOutRequest);\r\n\t}\r\n\r\n\tpublic async getToken() {\r\n\t\tlet account = this.account;\r\n\t\tif (!account) {\r\n\t\t\taccount = this.app.getAllAccounts()[0];\r\n\t\t}\r\n\r\n\t\ttry {\r\n\t\t\tconst response = await this.app.acquireTokenSilent({ account, scopes: this.scopes });\r\n\t\t\tthis.idToken = response.idToken;\r\n\t\t\treturn response.accessToken;\r\n\t\t} catch (e) {\r\n\t\t\tawait this.app.acquireTokenRedirect({ account, scopes: this.scopes });\r\n\t\t}\r\n\r\n\t\treturn null;\r\n\t}\r\n\r\n\tpublic isAuthenticated() {\r\n\t\treturn !!this.account;\r\n\t}\r\n\r\n\tpublic isConnectUser() {\r\n\t\treturn !!this.getClaim(ConnectClaim.UserId);\r\n\t}\r\n\r\n\tpublic getUserName(): string {\r\n\t\treturn this.account?.name ?? '';\r\n\t}\r\n\r\n\tpublic getClaim(key: ConnectClaim) {\r\n\t\treturn (this.account?.idTokenClaims as any)[key] ?? '';\r\n\t}\r\n\r\n\tprivate async handleRedirectResponse(response: msal.AuthenticationResult | null) {\r\n\t\tif (!response) {\r\n\t\t\tconst accounts = this.app.getAllAccounts();\r\n\t\t\tif (accounts && accounts.length > 0) {\r\n\t\t\t\t// there shouldn't be more than one, but if there is pick the first one\r\n\t\t\t\tthis.account = accounts[0];\r\n\t\t\t}\r\n\t\t} else if (response.authority.startsWith(this.passwordResetUrl)) {\r\n\t\t\tawait this.logout();\r\n\t\t} else {\r\n\t\t\tthis.idToken = response.idToken;\r\n\t\t\tthis.account = response.account;\r\n\t\t}\r\n\t}\r\n\r\n\tprivate async handleRedirectError(error: any) {\r\n\t\tif (error instanceof msal.AuthError) {\r\n\t\t\tif (error.errorMessage.includes('AADB2C90091')) {\r\n\t\t\t\t// user cancelled password reset, redirect to signin policy\r\n\t\t\t\tawait this.app.loginRedirect({ scopes: this.scopes });\r\n\t\t\t}\r\n\t\t\tif (error.errorMessage.includes('AADB2C90118')) {\r\n\t\t\t\tthis.app.getConfiguration().auth.authority = this.passwordResetUrl;\r\n\t\t\t\tawait this.app.loginRedirect({ scopes: this.scopes });\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n\r\nconst authService = new AuthenticationService();\r\nexport default authService;\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport BarChart from '@/features/reports/components/chartjs/BarChart.vue';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport ChartError from '@/features/reports/components/ChartError.vue';\r\nimport ChartLabels from '@/features/reports/components/ChartLabels.vue';\r\nimport ChartNoData from '@/features/reports/components/ChartNoData.vue';\r\nimport HelpIcon from 'vue-material-design-icons/HelpCircleOutline.vue';\r\nimport { Data, Series, SeriesConfig } from '@/features/reports/models';\r\nimport shortid from 'shortid';\r\nimport { ChartConfig } from '@/features/reports/components/chartjs/chartConfig';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tBarChart,\r\n\t\tLoadingSpinner,\r\n\t\tChartError,\r\n\t\tChartNoData,\r\n\t\tChartLabels,\r\n\t\tHelpIcon,\r\n\t},\r\n})\r\nexport default class ChannelMessagesTrendChart extends Vue {\r\n\t@Prop() public data!: Data;\r\n\r\n\t@Prop() public loadedData!: boolean;\r\n\r\n\t@Prop() public loadingError!: boolean;\r\n\r\n\tpublic reportId = '';\r\n\r\n\tpublic tooltipText = 'A trend showing the total sent and received messages for each channel';\r\n\r\n\tpublic created() {\r\n\t\tthis.reportId = `${shortid.generate()}`;\r\n\t}\r\n\r\n\tpublic get seriesOrder(): SeriesConfig[] {\r\n\t\tconst channels: SeriesConfig[] = [\r\n\t\t\t{ name: 'BT Smart Messaging Tailored', displayName: 'BT Smart Messaging Tailored', colour: '#5614B4' },\r\n\t\t\t{ name: 'Google Business Messages', displayName: 'Google Business Messages', colour: '#34A853' },\r\n\t\t\t{ name: 'GOV.UK Notify SMS', displayName: 'GOV.UK Notify SMS', colour: '#000000' },\r\n\t\t\t{ name: 'Instagram', displayName: 'Instagram', colour: '#E1306C' },\r\n\t\t\t{ name: 'Messenger', displayName: 'Messenger', colour: '#006AFF' },\r\n\t\t\t{ name: 'Twitter', displayName: 'Twitter', colour: '#1DA1F2' },\r\n\t\t\t{ name: 'Web Assistant', displayName: 'Web Assistant', colour: '#062B80' }\r\n\t\t];\r\n\r\n\t\treturn channels.filter(c => {\r\n\t\t\treturn this.data.series.some(s => s.name === c.name);\r\n\t\t});\r\n\t}\r\n\r\n\tpublic get reportData(): Data {\r\n\t\treturn {\r\n\t\t\tscale: this.data.scale,\r\n\t\t\tseries: this.data.series\r\n\t\t};\r\n\t}\r\n\r\n\tpublic createBlankSeries(name: string, displayName: string): Series {\r\n\t\treturn {\r\n\t\t\tname,\r\n\t\t\tdisplayName: displayName || name,\r\n\t\t\tdata: this.data.scale.labels.map(() => 0)\r\n\t\t};\r\n\t}\r\n\r\n\tpublic get loadedAndNotReturnedData() {\r\n\t\treturn this.loadedData && (!this.data || !this.data.series || this.data.series.length === 0);\r\n\t}\r\n\r\n\tpublic get loadedAndReturnedData() {\r\n\t\treturn this.loadedData && this.data && this.data.series && this.data.series.length > 0;\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"time-selector\"},[_c('div',{staticClass:\"time-selector__content\"},[_c('div',{staticClass:\"time-selector__value is-flex is-align-items-center\"},[_c('span',{staticClass:\"time-selector__icon is-size-4\"},[_c('n-tooltip',{attrs:{\"text\":\"Set the date and time to use in the preview tool\",\"position\":\"top\"},scopedSlots:_vm._u([{key:\"host\",fn:function(){return [_c('font-awesome-icon',{attrs:{\"icon\":['far', 'clock']}})]},proxy:true}])})],1),_c('EditableComponent',{attrs:{\"type\":\"datetime-local\",\"options\":[],\"fieldName\":\"Current Time\",\"displayRelativeDate\":false,\"displayIcon\":true},on:{\"input\":_vm.handleDateChange},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:\"value\"}})],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page\"},[_c('section',{staticClass:\"section content-container\"},[_c('div',{staticClass:\"container is-fluid\"},[_c('div',{staticClass:\"report-container island\"},[_c('ContactTrendCharts',{attrs:{\"data\":_vm.data.newContactsTrendReport,\"loadedData\":_vm.loadedData,\"loadingError\":_vm.loadingError}})],1),_c('div',{staticClass:\"report-container island\"},[_c('ConversationTrendCharts',{attrs:{\"data\":_vm.data.newConversationsTrendReport,\"loadedData\":_vm.loadedData,\"loadingError\":_vm.loadingError}})],1)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactDetails.vue?vue&type=script&lang=ts\"","import urljoin from 'url-join';\r\nimport {api} from '@/shared/services/baseApiClient';\r\nimport {config} from '@/config/config';\r\nimport { AddOrReplaceMessagingWorkspaceRequest } from './models/addOrReplaceMessagingWorkspaceRequest';\r\nimport {MessagingWorkspaceModel} from '@/messaging/models/messagingWorkspaceModel';\r\nimport {ContactAttributeViewModel} from '@/messaging/models/ContactAttributeViewModel';\r\nimport {CreateContactAttributeViewModel} from '@/messaging/models/createContactAttributeViewModel';\r\nimport {GetAttributesViewModel} from '@/messaging/models/getAttributesViewModel';\r\nimport {UpdateContactAttributeViewModel} from '@/messaging/models/updateContactAttributeViewModel';\r\nimport { ChannelIdentityViewModel } from '@/messaging/models/channelIdentityViewModel';\r\n\r\nclass MessagingWorkspacesApi {\r\n\tprivate version = 'v1';\r\n\r\n\tpublic getWorkspace(workspaceId: string): Promise {\r\n\t\tconst url = urljoin(config().messagingHost, this.version, 'workspaces', workspaceId);\r\n\t\treturn api.send('GET', url);\r\n\t}\r\n\r\n\tpublic addOrReplace(request: AddOrReplaceMessagingWorkspaceRequest): Promise {\r\n\t\tconst url = urljoin(config().messagingHost, this.version, 'workspaces');\r\n\t\treturn api.send('PATCH', url, request);\r\n\t}\r\n\r\n\tpublic async getAttributesForWorkspace(workspaceId: string): Promise {\r\n\t\tconst url = urljoin(config().messagingHost, this.version, 'workspaces', workspaceId, 'attributes');\r\n\t\treturn api.send('GET', url);\r\n\t}\r\n\r\n\tpublic async createAttributeForWorkspace(workspaceId: string, request: CreateContactAttributeViewModel): Promise {\r\n\t\tconst url = urljoin(config().messagingHost, this.version, 'workspaces', workspaceId, 'attributes');\r\n\t\treturn api.send('POST', url, request);\r\n\t}\r\n\r\n\tpublic async updateAttributeForWorkspace(workspaceId: string, attributeId: string, request: UpdateContactAttributeViewModel): Promise {\r\n\t\tconst url = urljoin(config().messagingHost, this.version, 'workspaces', workspaceId, 'attributes', attributeId);\r\n\t\treturn api.send('PATCH', url, request);\r\n\t}\r\n\r\n\tpublic async archiveAttributeForWorkspace(workspaceId: string, attributeId: string): Promise {\r\n\t\tconst url = urljoin(config().messagingHost, this.version, 'workspaces', workspaceId, 'attributes', attributeId);\r\n\t\treturn api.send('DELETE', url);\r\n\t}\r\n\r\n\tpublic async getChannelIdentities(workspaceId: string): Promise {\r\n\t\tconst url = urljoin(config().messagingHost, this.version, 'workspaces', workspaceId, 'channel-identities');\r\n\t\treturn api.send('GET', url);\r\n\t}\r\n}\r\n\r\nexport const messagingWorkspacesApi = new MessagingWorkspacesApi();\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddCondition.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddCondition.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./CapableAppPicker.vue?vue&type=template&id=c238ff5c&scoped=true\"\nimport script from \"./CapableAppPicker.vue?vue&type=script&lang=ts\"\nexport * from \"./CapableAppPicker.vue?vue&type=script&lang=ts\"\nimport style0 from \"./CapableAppPicker.vue?vue&type=style&index=0&id=c238ff5c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c238ff5c\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Flow.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Flow.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Modal',{on:{\"cancel\":function($event){return _vm.$emit('cancel')}},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('div',{staticClass:\"media\"},[_c('div',{staticClass:\"media-left\"},[_c('figure',{staticClass:\"image is-48x48\"},[_c('svg',{staticClass:\"app-icon\"},[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":\"#contenthighlights\"}})])])]),_c('div',{staticClass:\"media-content\"},[_c('p',{staticClass:\"title is-4\"},[_c('strong',[_vm._v(\"Content Highlights\")])]),_c('p',{staticClass:\"subtitle is-6\"},[_vm._v(\"Highlight important content to customers within your Web Assistant\")])])])]},proxy:true},{key:\"body\",fn:function(){return [(_vm.isArticleApp() && _vm.articleAppConfig)?_c('ContentHighlightsArticleAppEdit',{ref:\"appConfigComponent\",attrs:{\"value\":_vm.articleAppConfig},on:{\"input\":_vm.handleInput}}):_vm._e(),(!_vm.isArticleApp() && _vm.listAppConfig)?_c('ContentHighlightsListAppEdit',{ref:\"appConfigComponent\",attrs:{\"value\":_vm.listAppConfig},on:{\"input\":_vm.handleInput}}):_vm._e()]},proxy:true},{key:\"buttons\",fn:function(){return [_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\",\"loading\":_vm.isLoading,\"disabled\":_vm.isInvalid},on:{\"click\":_vm.saveApp}},[_vm._v(\"Update\")]),_c('n-button',{attrs:{\"variant\":\"primary--outline\"},on:{\"click\":function($event){return _vm.$emit('cancel')}}},[_vm._v(\"Cancel\")])],1)]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UpdateAttribute.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UpdateAttribute.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./CardRenderer.vue?vue&type=template&id=6be4ae9a\"\nimport script from \"./CardRenderer.vue?vue&type=script&lang=ts\"\nexport * from \"./CardRenderer.vue?vue&type=script&lang=ts\"\nimport style0 from \"./CardRenderer.vue?vue&type=style&index=0&id=6be4ae9a&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./GoogleBmCancelVerificationModal.vue?vue&type=template&id=4f208164\"\nimport script from \"./GoogleBmCancelVerificationModal.vue?vue&type=script&lang=ts\"\nexport * from \"./GoogleBmCancelVerificationModal.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddIntentModal.vue?vue&type=style&index=0&id=81263d90&prod&scoped=true&lang=scss\"","export { AppActionViewModel } from './appActionViewModel';\r\nexport { ChangeType } from './changeType';\r\nexport { FlowViewModel } from './flowViewModel';\r\nexport { InputVariableViewModel } from './inputVariableViewModel';\r\nexport { Path } from './path';\r\nexport { PathViewModel } from './pathViewModel';\r\nexport { QuickReplyViewModel } from './quickReplyViewModel';\r\nexport { StateViewModel } from './stateViewModel';\r\nexport { TriggerType, AvailableTriggers } from './triggerType';\r\n","import { render, staticRenderFns } from \"./MultiSelectPicker.vue?vue&type=template&id=5ee6a231&scoped=true\"\nimport script from \"./MultiSelectPicker.vue?vue&type=script&lang=ts\"\nexport * from \"./MultiSelectPicker.vue?vue&type=script&lang=ts\"\nimport style0 from \"vue-multiselect/dist/vue-multiselect.min.css?vue&type=style&index=0&prod&lang=css&external\"\nimport style1 from \"./MultiSelectPicker.vue?vue&type=style&index=1&id=5ee6a231&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5ee6a231\",\n null\n \n)\n\nexport default component.exports","import {HolidaysState} from '.';\r\nimport { GetterTree } from 'vuex';\r\nimport { AppState } from '../app';\r\nimport {HolidayViewModel} from '@/features/bots/models/holidayViewModel';\r\n\r\nexport const getters: GetterTree = {\r\n\r\n\tgetHoliday(state: HolidaysState): (holidayId: string) => HolidayViewModel | undefined {\r\n\t\treturn (holidayId: string) => {\r\n\t\t\treturn state.holidays.find(holiday => holiday.id === holidayId);\r\n\t\t};\r\n\t},\r\n\r\n\tholidays(state: HolidaysState): HolidayViewModel[] {\r\n\t\treturn state.holidays;\r\n\t},\r\n};\r\n","import { render, staticRenderFns } from \"./DataTableIcon.vue?vue&type=template&id=4759b96a&scoped=true\"\nimport script from \"./DataTableIcon.vue?vue&type=script&lang=ts\"\nexport * from \"./DataTableIcon.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DataTableIcon.vue?vue&type=style&index=0&id=4759b96a&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4759b96a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"google-agent-config__form\"},[_c('section',{staticClass:\"google-agent-config__section\"},[_vm._m(0),_c('fieldset',{staticClass:\"google-agent-config__field-group\"},[_c('div',{staticClass:\"field\"},[_c('n-text-input',{attrs:{\"label\":\"Brand Name\",\"disabled\":_vm.isDisabledField('brandDisplayName'),\"errorMessage\":_vm.getErrorMessage('brandDisplayName', 'Brand Name')},on:{\"input\":function($event){return _vm.markAsTouched('brandDisplayName')}},model:{value:(_vm.agentConfig.brandDisplayName),callback:function ($$v) {_vm.$set(_vm.agentConfig, \"brandDisplayName\", $$v)},expression:\"agentConfig.brandDisplayName\"}})],1),_c('div',{staticClass:\"field\"},[_c('n-text-input',{attrs:{\"label\":\"Phone Number\",\"disabled\":_vm.isDisabledField('nonLocalPhoneNumber'),\"errorMessage\":_vm.getErrorMessage('nonLocalPhoneNumber', 'Phone Number')},on:{\"input\":function($event){return _vm.markAsTouched('nonLocalPhoneNumber')}},model:{value:(_vm.agentConfig.nonLocalPhoneNumber),callback:function ($$v) {_vm.$set(_vm.agentConfig, \"nonLocalPhoneNumber\", $$v)},expression:\"agentConfig.nonLocalPhoneNumber\"}})],1),_c('div',{staticClass:\"field\"},[_c('n-text-input',{attrs:{\"label\":\"Website\",\"disabled\":_vm.isDisabledField('brandWebsiteUrl'),\"errorMessage\":_vm.getErrorMessage('brandWebsiteUrl', 'Website')},on:{\"input\":function($event){return _vm.markAsTouched('brandWebsiteUrl')}},model:{value:(_vm.agentConfig.brandWebsiteUrl),callback:function ($$v) {_vm.$set(_vm.agentConfig, \"brandWebsiteUrl\", $$v)},expression:\"agentConfig.brandWebsiteUrl\"}})],1),_c('div',{staticClass:\"field\"},[_c('n-text-input',{attrs:{\"label\":\"Privacy Policy\",\"disabled\":_vm.isDisabledField('privacyPolicyUrl'),\"errorMessage\":_vm.getErrorMessage('privacyPolicyUrl', 'Privacy Policy')},on:{\"input\":function($event){return _vm.markAsTouched('privacyPolicyUrl')}},model:{value:(_vm.agentConfig.privacyPolicyUrl),callback:function ($$v) {_vm.$set(_vm.agentConfig, \"privacyPolicyUrl\", $$v)},expression:\"agentConfig.privacyPolicyUrl\"}})],1),_vm._m(1),_c('div',{staticClass:\"field\"},[_c('n-text-input',{attrs:{\"label\":\"Contact Name\",\"disabled\":_vm.isDisabledField('brandContactName'),\"errorMessage\":_vm.getErrorMessage('brandContactName', 'Contact Name')},on:{\"input\":function($event){return _vm.markAsTouched('brandContactName')}},model:{value:(_vm.agentConfig.brandContactName),callback:function ($$v) {_vm.$set(_vm.agentConfig, \"brandContactName\", $$v)},expression:\"agentConfig.brandContactName\"}})],1),_c('div',{staticClass:\"field\"},[_c('n-text-input',{attrs:{\"label\":\"Contact Email\",\"disabled\":_vm.isDisabledField('brandContactEmail'),\"errorMessage\":_vm.getErrorMessage('brandContactEmail', 'Contact Email')},on:{\"input\":function($event){return _vm.markAsTouched('brandContactEmail')}},model:{value:(_vm.agentConfig.brandContactEmail),callback:function ($$v) {_vm.$set(_vm.agentConfig, \"brandContactEmail\", $$v)},expression:\"agentConfig.brandContactEmail\"}})],1)])]),_c('section',{staticClass:\"google-agent-config__section\"},[_vm._m(2),_c('fieldset',{staticClass:\"google-agent-config__field-group\"},[_c('div',{staticClass:\"field\"},[_c('n-text-input',{attrs:{\"label\":\"Logo\",\"disabled\":_vm.isDisabledField('brandLogoUrl'),\"errorMessage\":_vm.getErrorMessage('brandLogoUrl', 'Logo')},on:{\"input\":function($event){return _vm.markAsTouched('brandLogoUrl')}},model:{value:(_vm.agentConfig.brandLogoUrl),callback:function ($$v) {_vm.$set(_vm.agentConfig, \"brandLogoUrl\", $$v)},expression:\"agentConfig.brandLogoUrl\"}})],1),_c('div',{staticClass:\"field\"},[_c('n-text-input',{attrs:{\"label\":\"Welcome Message\",\"disabled\":_vm.isDisabledField('welcomeMessage'),\"errorMessage\":_vm.getErrorMessage('welcomeMessage', 'Welcome Message')},on:{\"input\":function($event){return _vm.markAsTouched('welcomeMessage')}},model:{value:(_vm.agentConfig.welcomeMessage),callback:function ($$v) {_vm.$set(_vm.agentConfig, \"welcomeMessage\", $$v)},expression:\"agentConfig.welcomeMessage\"}})],1),_c('div',{staticClass:\"field\"},[_c('div',[_c('label',{staticClass:\"google-agent-config__field-label\",attrs:{\"for\":\"conversation-starters\"}},[_vm._v(\"Conversation Starters\")]),_c('TagsInput',{attrs:{\"id\":\"conversation-starters\",\"element-id\":\"conversation-starters-element\",\"placeholder\":\"Add up to 5 conversation starters...\",\"limit\":5,\"disabled\":_vm.isDisabledField('conversationStarters')},model:{value:(_vm.agentConfig.conversationStarters),callback:function ($$v) {_vm.$set(_vm.agentConfig, \"conversationStarters\", $$v)},expression:\"agentConfig.conversationStarters\"}})],1)])])]),_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\",\"disabled\":_vm.actionInProgress,\"loading\":_vm.actionInProgress},on:{\"click\":function($event){return _vm.save()}}},[_vm._v(\"Submit\")]),_c('n-button',{attrs:{\"disabled\":_vm.actionInProgress,\"variant\":\"primary--outline\"},on:{\"click\":function($event){return _vm.cancel()}}},[_vm._v(\"Cancel\")])],1)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"google-agent-config__section-header\"},[_c('h3',[_vm._v(\"Business Profile\")]),_c('div',{staticClass:\"subtitle\"},[_vm._v(\"Provide information about the brand the agent represents\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"google-agent-config__help-text\"},[_c('p',[_vm._v(\"Google requires your contact details for agent verification.\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"google-agent-config__section-header\"},[_c('h3',[_vm._v(\"Agent Information\")]),_c('div',{staticClass:\"subtitle\"},[_vm._v(\"Customise the appearance of your agent when your customers start a conversation\")])])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContentHighlightsArticleAppEdit.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContentHighlightsArticleAppEdit.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Icon.vue?vue&type=template&id=421f75bd&scoped=true\"\nimport script from \"./Icon.vue?vue&type=script&lang=ts\"\nexport * from \"./Icon.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"421f75bd\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MultiSelectPicker',{attrs:{\"value\":_vm.selectedOptions,\"options\":_vm.typeOptions,\"id-attribute\":\"type\",\"display-attribute\":\"display\",\"dropdown-alignment\":\"left\"},on:{\"input\":_vm.onInput}},[_c('template',{slot:\"button-display\"},[_c('div',{staticClass:\"selected-type-label\"},[_c('div',{staticClass:\"contacts-icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"user-friends\"}})],1),_c('div',{staticClass:\"selected-type-text\"},[_vm._v(_vm._s(_vm.displayName))])])])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./ReadonlyField.vue?vue&type=template&id=301da1c8\"\nimport script from \"./ReadonlyField.vue?vue&type=script&lang=ts\"\nexport * from \"./ReadonlyField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AnswerEditor.vue?vue&type=style&index=0&id=64a1f879&prod&scoped=true&lang=scss\"","import { render, staticRenderFns } from \"./DragIcon.vue?vue&type=template&id=680ad188&scoped=true\"\nimport script from \"./DragIcon.vue?vue&type=script&lang=ts\"\nexport * from \"./DragIcon.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"680ad188\",\n null\n \n)\n\nexport default component.exports","import { IntentsState } from '.';\r\nimport { GetterTree } from 'vuex';\r\nimport { AppState } from '../app';\r\nimport { IntentListItemViewModel } from '@/features/bots/models/intents/intentListItemViewModel';\r\n\r\nexport const getters: GetterTree = {\r\n\tintents(state: IntentsState): IntentListItemViewModel[] {\r\n\t\treturn state.intents;\r\n\t},\r\n\tgetIntentName(state: IntentsState) {\r\n\t\treturn (intentId: string) => {\r\n\t\t\treturn state.intents.find(intent => intent.id === intentId)?.title;\r\n\t\t};\r\n\t},\r\n};\r\n","import { render, staticRenderFns } from \"./Email.vue?vue&type=template&id=9255a3bc&scoped=true\"\nimport script from \"./Email.vue?vue&type=script&lang=ts\"\nexport * from \"./Email.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Email.vue?vue&type=style&index=0&id=9255a3bc&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"9255a3bc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page\"},[_c('PageHeader',{attrs:{\"title\":\"Reports\",\"description\":\"View your workspace's messaging trends\",\"tabs\":_vm.tabs},scopedSlots:_vm._u([{key:\"tab-icons\",fn:function(){return [_c('ReportFilters',{attrs:{\"active-route\":_vm.activeRoute}})]},proxy:true}])}),_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport BarChart from '../chartjs/BarChart.vue';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport ChartError from '../ChartError.vue';\r\nimport ChartLabels from '../ChartLabels.vue';\r\nimport FlowIcon from 'vue-material-design-icons/Waves.vue';\r\nimport ChartNoData from '@/features/reports/components/ChartNoData.vue';\r\nimport HelpIcon from 'vue-material-design-icons/HelpCircleOutline.vue';\r\nimport { Data, Series, SeriesConfig } from '../../models';\r\nimport shortid from 'shortid';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tBarChart,\r\n\t\tLoadingSpinner,\r\n\t\tChartError,\r\n\t\tChartNoData,\r\n\t\tChartLabels,\r\n\t\tFlowIcon,\r\n\t\tHelpIcon\r\n\t},\r\n})\r\nexport default class BillableConversationsTrendChart extends Vue {\r\n\t@Prop() public data!: Data;\r\n\r\n\t@Prop() public loadedData!: boolean;\r\n\r\n\t@Prop() public loadingError!: boolean;\r\n\r\n\tpublic reportId = '';\r\n\r\n\tpublic tooltipText = 'A billable conversation is classified as a contact who has sent at least one message in the month. If the contact has sent/received more than 20 messages in a month, each additional set of up to 20 messages is counted as another billable conversation.';\r\n\r\n\tpublic created() {\r\n\t\tthis.reportId = `${shortid.generate()}`;\r\n\t}\r\n\r\n\tpublic get seriesOrder(): SeriesConfig[] {\r\n\t\treturn [\r\n\t\t\t{ name: 'Conversations', displayName: 'Billable Conversations' }\r\n\t\t];\r\n\t}\r\n\r\n\tpublic get reportData(): Data {\r\n\t\treturn {\r\n\t\t\tscale: this.data.scale,\r\n\t\t\tseries: this.seriesOrder.map(seriesConfig => {\r\n\t\t\t\treturn this.data.series.find(s => s.name === seriesConfig.name)\r\n\t\t\t\t\t|| this.createBlankSeries(seriesConfig.name, seriesConfig.displayName);\r\n\t\t\t})\r\n\t\t};\r\n\t}\r\n\r\n\tpublic createBlankSeries(name: string, displayName: string): Series {\r\n\t\treturn {\r\n\t\t\tname,\r\n\t\t\tdisplayName: displayName || name,\r\n\t\t\tdata: this.data.scale.labels.map(() => 0)\r\n\t\t};\r\n\t}\r\n\r\n\tpublic get loadedAndNotReturnedData() {\r\n\t\treturn this.loadedData && (!this.data || !this.data.series || this.data.series.length === 0);\r\n\t}\r\n\r\n\tpublic get loadedAndReturnedData() {\r\n\t\treturn this.loadedData && this.data && this.data.series && this.data.series.length > 0;\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"transition-picker\"},[_c('div',{staticClass:\"transition-picker__container\"},[_c('div',{staticClass:\"dropdown\",class:{'is-active': this.isOpen, 'is-up': this.isUp}},[_c('div',{directives:[{name:\"on-clickaway\",rawName:\"v-on-clickaway\",value:(_vm.closePicker),expression:\"closePicker\"}],staticClass:\"dropdown-trigger\",on:{\"click\":_vm.togglePicker}},[_c('button',{staticClass:\"button\",class:{ 'fixed': _vm.fixed, 'button--loading': !_vm.loaded }},[(_vm.loaded && _vm.isTypeSelected(2))?_c('PathIcon',{staticClass:\"icon-1-3x selected-icon fa-flip-vertical path-icon\"}):_vm._e(),(_vm.loaded && _vm.isTypeSelected(3))?_c('FlowIcon',{staticClass:\"icon-1-3x selected-icon\"}):_vm._e(),(_vm.loaded && _vm.isTypeSelected(4))?_c('div',{staticClass:\"answers-icon selected-answer\"},[_c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"enable-background\":\"new 0 0 24 24\",\"height\":\"24\",\"viewBox\":\"0 0 24 24\",\"width\":\"24\"}},[_c('g',[_c('rect',{attrs:{\"fill\":\"none\",\"height\":\"24\",\"width\":\"24\"}})]),_c('g',[_c('g',[_c('path',{attrs:{\"fill\":\"#062B80\",\"d\":\"M15.82,7.22l-1,0.4c-0.21-0.16-0.43-0.29-0.67-0.39L14,6.17C13.98,6.07,13.9,6,13.8,6h-1.6c-0.1,0-0.18,0.07-0.19,0.17 l-0.15,1.06c-0.24,0.1-0.47,0.23-0.67,0.39l-1-0.4c-0.09-0.03-0.2,0-0.24,0.09l-0.8,1.38c-0.05,0.09-0.03,0.2,0.05,0.26l0.85,0.66 C10.02,9.73,10,9.87,10,10c0,0.13,0.01,0.26,0.03,0.39l-0.84,0.66c-0.08,0.06-0.1,0.17-0.05,0.25l0.8,1.39 c0.05,0.09,0.15,0.12,0.25,0.09l0.99-0.4c0.21,0.16,0.43,0.29,0.68,0.39L12,13.83c0.02,0.1,0.1,0.17,0.2,0.17h1.6 c0.1,0,0.18-0.07,0.2-0.17l0.15-1.06c0.24-0.1,0.47-0.23,0.67-0.39l0.99,0.4c0.09,0.04,0.2,0,0.24-0.09l0.8-1.39 c0.05-0.09,0.03-0.19-0.05-0.25l-0.83-0.66C15.99,10.26,16,10.13,16,10c0-0.14-0.01-0.27-0.03-0.39l0.85-0.66 c0.08-0.06,0.1-0.17,0.05-0.26l-0.8-1.38C16.02,7.22,15.91,7.19,15.82,7.22z M13,11.43c-0.79,0-1.43-0.64-1.43-1.43 S12.21,8.57,13,8.57s1.43,0.64,1.43,1.43S13.79,11.43,13,11.43z\"}}),_c('path',{attrs:{\"fill\":\"#062B80\",\"d\":\"M19.94,9.06c-0.43-3.27-3.23-5.86-6.53-6.05C13.27,3,13.14,3,13,3C9.47,3,6.57,5.61,6.08,9l-1.93,3.48 C3.74,13.14,4.22,14,5,14h1v2c0,1.1,0.9,2,2,2h1v3h7v-4.68C18.62,15.07,20.35,12.24,19.94,9.06z M14.89,14.63L14,15.05V19h-3v-3H8 v-4H6.7l1.33-2.33C8.21,7.06,10.35,5,13,5c2.76,0,5,2.24,5,5C18,12.09,16.71,13.88,14.89,14.63z\"}})])])])]):_vm._e(),_c('span',{staticClass:\"selected-transition\"},[_vm._v(_vm._s(_vm.getSelectedOptionName()))]),(_vm.loaded && !_vm.fixed)?_c('span',{staticClass:\"icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"angle-down\"}})],1):_vm._e()],1)]),(_vm.loaded)?_c('div',{staticClass:\"dropdown-menu\",attrs:{\"id\":\"dropdown-menu\",\"role\":\"menu\"}},[_c('div',{staticClass:\"dropdown-content\"},[(_vm.noneTransition && _vm.showNoneTransition)?_c('div',[_c('a',{staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.chooseOption(_vm.noneTransition)}}},[_c('div',{staticClass:\"add-item\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\tNone\\n\\t\\t\\t\\t\\t\\t\\t\")])]),_c('hr',{staticClass:\"dropdown-divider\"})]):_vm._e(),(_vm.isPathOptionsVisible)?_c('div',[_c('div',{staticClass:\"dropdown-item item-group-heading\"},[_c('div',{staticClass:\"heading-container\"},[_c('PathIcon',{staticClass:\"icon-1-5x dropdown-icons fa-flip-vertical path-icon\"}),_c('span',{staticClass:\"heading-with-icon\"},[_vm._v(\"Paths\")])],1)]),_c('div',[_vm._l((_vm.pathOptions),function(option){return _c('a',{key:option.id,staticClass:\"dropdown-item dropdown-child\",on:{\"click\":function($event){return _vm.chooseOption(option)}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(option.name)+\"\\n\\t\\t\\t\\t\\t\\t\\t\")])}),_c('a',{staticClass:\"dropdown-item\",on:{\"click\":_vm.addNewPath}},[_c('div',{staticClass:\"add-item\"},[_c('span',{staticClass:\"add-path\"},[_c('AddIcon',{staticClass:\"icon-1-3x\"}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tAdd new path\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\")],1)])])],2)]):_vm._e(),(_vm.isFlowOptionsVisible)?_c('div',[(_vm.isPathOptionsVisible)?_c('hr',{staticClass:\"dropdown-divider\"}):_vm._e(),_c('div',{staticClass:\"dropdown-item item-group-heading\"},[_c('div',{staticClass:\"heading-container\"},[_c('FlowIcon',{staticClass:\"icon-1-5x dropdown-icons\"}),_c('span',{staticClass:\"heading-with-icon\"},[_vm._v(\"Flows\")])],1)]),_c('div',_vm._l((_vm.flowOptions),function(option){return _c('a',{key:option.id,staticClass:\"dropdown-item dropdown-child\",on:{\"click\":function($event){return _vm.chooseOption(option)}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(option.name)+\"\\n\\t\\t\\t\\t\\t\\t\\t\")])}),0),(_vm.canAddNewFlow)?_c('a',{staticClass:\"dropdown-item\",on:{\"click\":function($event){_vm.showModal = true}}},[_c('div',{staticClass:\"add-item\"},[_c('span',{staticClass:\"add-flow\"},[_c('AddIcon',{staticClass:\"icon-1-3x\"}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tAdd new flow\\n\\t\\t\\t\\t\\t\\t\\t\\t\")],1)])]):_vm._e()]):_vm._e(),(_vm.isAnswerOptionsVisible)?_c('div',[(_vm.isPathOptionsVisible || _vm.isFlowOptionsVisible)?_c('hr',{staticClass:\"dropdown-divider\"}):_vm._e(),_c('div',{staticClass:\"dropdown-item item-group-heading\"},[_c('div',{staticClass:\"heading-container\"},[_c('div',{staticClass:\"answers-icon\"},[_c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"enable-background\":\"new 0 0 24 24\",\"height\":\"24\",\"viewBox\":\"0 0 24 24\",\"width\":\"24\"}},[_c('g',[_c('rect',{attrs:{\"fill\":\"none\",\"height\":\"24\",\"width\":\"24\"}})]),_c('g',[_c('g',[_c('path',{attrs:{\"d\":\"M15.82,7.22l-1,0.4c-0.21-0.16-0.43-0.29-0.67-0.39L14,6.17C13.98,6.07,13.9,6,13.8,6h-1.6c-0.1,0-0.18,0.07-0.19,0.17 l-0.15,1.06c-0.24,0.1-0.47,0.23-0.67,0.39l-1-0.4c-0.09-0.03-0.2,0-0.24,0.09l-0.8,1.38c-0.05,0.09-0.03,0.2,0.05,0.26l0.85,0.66 C10.02,9.73,10,9.87,10,10c0,0.13,0.01,0.26,0.03,0.39l-0.84,0.66c-0.08,0.06-0.1,0.17-0.05,0.25l0.8,1.39 c0.05,0.09,0.15,0.12,0.25,0.09l0.99-0.4c0.21,0.16,0.43,0.29,0.68,0.39L12,13.83c0.02,0.1,0.1,0.17,0.2,0.17h1.6 c0.1,0,0.18-0.07,0.2-0.17l0.15-1.06c0.24-0.1,0.47-0.23,0.67-0.39l0.99,0.4c0.09,0.04,0.2,0,0.24-0.09l0.8-1.39 c0.05-0.09,0.03-0.19-0.05-0.25l-0.83-0.66C15.99,10.26,16,10.13,16,10c0-0.14-0.01-0.27-0.03-0.39l0.85-0.66 c0.08-0.06,0.1-0.17,0.05-0.26l-0.8-1.38C16.02,7.22,15.91,7.19,15.82,7.22z M13,11.43c-0.79,0-1.43-0.64-1.43-1.43 S12.21,8.57,13,8.57s1.43,0.64,1.43,1.43S13.79,11.43,13,11.43z\"}}),_c('path',{attrs:{\"d\":\"M19.94,9.06c-0.43-3.27-3.23-5.86-6.53-6.05C13.27,3,13.14,3,13,3C9.47,3,6.57,5.61,6.08,9l-1.93,3.48 C3.74,13.14,4.22,14,5,14h1v2c0,1.1,0.9,2,2,2h1v3h7v-4.68C18.62,15.07,20.35,12.24,19.94,9.06z M14.89,14.63L14,15.05V19h-3v-3H8 v-4H6.7l1.33-2.33C8.21,7.06,10.35,5,13,5c2.76,0,5,2.24,5,5C18,12.09,16.71,13.88,14.89,14.63z\"}})])])])]),_c('span',{staticClass:\"answers-heading\"},[_vm._v(\"FAQs\")])])]),_c('div',_vm._l((_vm.answerOptions),function(option){return _c('a',{key:option.id,staticClass:\"dropdown-item dropdown-child\",on:{\"click\":function($event){return _vm.chooseOption(option)}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(option.name)+\"\\n\\t\\t\\t\\t\\t\\t\\t\")])}),0)]):_vm._e()])]):_vm._e(),(!_vm.isNoneChosen())?_c('div',{staticClass:\"goto-button\"},[_c('button',{staticClass:\"button\",attrs:{\"disabled\":_vm.isGoToButtonDisabled},on:{\"click\":function($event){return _vm.goToTransition()}}},[_c('span',{staticClass:\"icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"arrow-right\"}})],1)])]):_vm._e()])]),(_vm.showModal)?_c('AddFlowModal',{on:{\"close\":function($event){_vm.showModal = false},\"flow-added\":_vm.chooseFlow}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Data, DateGrouping } from '../models';\r\nimport { api } from '@/shared/services/baseApiClient';\r\nimport urljoin from 'url-join';\r\nimport { config } from '@/config/config';\r\nimport { QueryStringBuilder } from '@/shared/services/queryStringBuilder';\r\n\r\nclass FlowsReportApiService {\r\n\tprivate version = 'v1';\r\n\r\n\tpublic get(workspaceId: string, request: ReportRequest): Promise {\r\n\t\tconst query = new QueryStringBuilder()\r\n\t\t\t.add('type', request.type)\r\n\t\t\t.add('flowId', request.flowId)\r\n\t\t\t.add('startDate', request.startDate.toISOString())\r\n\t\t\t.add('endDate', request.endDate.toISOString())\r\n\t\t\t.add('grouping', request.grouping)\r\n\t\t\t.build();\r\n\r\n\t\treturn api.send('GET', urljoin(config().flowsHost, this.version, workspaceId, `reports`) + query);\r\n\t}\r\n}\r\n\r\nexport interface ReportRequest {\r\n\ttype: string;\r\n\tflowId?: string;\r\n\tstartDate: Date;\r\n\tendDate: Date;\r\n\tgrouping: DateGrouping;\r\n}\r\n\r\nexport const flowsReportApi = new FlowsReportApiService();\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('n-modal',{on:{\"cancel\":function($event){return _vm.$emit('cancel')}},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"modal-card-title\"},[_vm._v(\"Request Launch\")])]},proxy:true},{key:\"body\",fn:function(){return [_c('p',[_vm._v(\"Launching your \"+_vm._s(_vm.item.rowType)+\" will make it accessible via Google within a few hours.\")]),_c('p',[_c('br'),_vm._v(\"Are you sure you want to launch \"),_c('b',[_vm._v(_vm._s(_vm.item.rowType === 'agent' ? _vm.item.displayName : _vm.item.locationName))]),_vm._v(\"?\\n\\t\\t\")])]},proxy:true},{key:\"buttons\",fn:function(){return [_c('n-button-group',[_c('n-button',{attrs:{\"variant\":\"primary\",\"loading\":_vm.loading},on:{\"click\":_vm.launchItem}},[_vm._v(\"Launch\")]),_c('n-button',{attrs:{\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.$emit('cancel')}}},[_vm._v(\"Cancel\")])],1)]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./PrivateAppsList.vue?vue&type=template&id=2528ab6b&scoped=true\"\nimport script from \"./PrivateAppsList.vue?vue&type=script&lang=ts\"\nexport * from \"./PrivateAppsList.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2528ab6b\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport shortid from 'shortid';\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { Data, Series } from '../../models';\r\nimport DoughnutChartBaseWrapper from './DoughnutChartBaseWrapper.vue';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tDoughnutChartBaseWrapper\r\n\t}\r\n})\r\nexport default class DoughnutChart extends Vue {\r\n\t@Prop() public title: string;\r\n\t@Prop() public data: Data;\r\n\r\n\tpublic reportId: string = '';\r\n\r\n\tpublic mounted() {\r\n\t\tthis.reportId = shortid.generate();\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('nav',{staticClass:\"level\"},[_c('div',{staticClass:\"level-left\"}),_c('div',{staticClass:\"level-right\"},[_c('p',{staticClass:\"level-item\"},[_c('router-link',{staticClass:\"button is-primary\",attrs:{\"to\":{ name: 'private-apps-create'}}},[_vm._v(\"Create New\")])],1)])]),_c('table',{staticClass:\"table is-fullwidth\"},[_vm._m(0),_c('tbody',_vm._l((_vm.apps),function(app){return _c('tr',{key:app.id},[_c('td',[_c('router-link',{attrs:{\"to\":{ name: 'private-apps-edit', params: { id: app.id } }}},[_vm._v(_vm._s(app.name))])],1),_c('td',[_vm._v(\" \")])])}),0)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Name\")]),_c('th',[_vm._v(\" \")])])])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IntentCondition.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IntentCondition.vue?vue&type=script&lang=ts\"","export interface PickerOption {\r\n\tid: string;\r\n\ttitle: string;\r\n}\r\n\r\nexport interface Condition {\r\n\tid: string;\r\n\ttitle: string;\r\n\ttype: string;\r\n}\r\n\r\nexport interface Operation {\r\n\toperation: string;\r\n\tresult: boolean;\r\n\ttitle: string;\r\n}\r\nexport interface OperationPickerOption extends Operation, PickerOption {\r\n}\r\n\r\nexport interface ConditionPickerOption extends Condition, PickerOption {\r\n\ticon?: string;\r\n}\r\n\r\nexport enum ConditionDataType {\r\n\tText = 'text',\r\n\tNumber = 'number',\r\n\tDateTime = 'datetime',\r\n\tDate = 'date',\r\n\tDecimal = 'decimal',\r\n\tList = 'list',\r\n\tDuration = 'duration',\r\n\tIntent = 'intent',\r\n}\r\n\r\nexport enum ConditionOperationType {\r\n\tEquals = 'equals',\r\n\tContains = 'contains',\r\n\tGreaterThan = 'greaterThan',\r\n\tLessThan = 'lessThan',\r\n\tIsSet = 'isSet',\r\n}\r\n\r\nconst operations: {[key: string]: Operation[]} = {\r\n\ttext: [\r\n\t\t{\r\n\t\t\ttitle: 'is',\r\n\t\t\toperation: ConditionOperationType.Equals,\r\n\t\t\tresult: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'is not',\r\n\t\t\toperation: ConditionOperationType.Equals,\r\n\t\t\tresult: false\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'contains',\r\n\t\t\toperation: ConditionOperationType.Contains,\r\n\t\t\tresult: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'does not contain',\r\n\t\t\toperation: ConditionOperationType.Contains,\r\n\t\t\tresult: false\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'has a value',\r\n\t\t\toperation: ConditionOperationType.IsSet,\r\n\t\t\tresult: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'is unknown',\r\n\t\t\toperation: ConditionOperationType.IsSet,\r\n\t\t\tresult: false\r\n\t\t},\r\n\t],\r\n\tdatetime: [\r\n\t\t{\r\n\t\t\ttitle: 'more than',\r\n\t\t\toperation: ConditionOperationType.GreaterThan,\r\n\t\t\tresult: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'less than',\r\n\t\t\toperation: ConditionOperationType.LessThan,\r\n\t\t\tresult: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'exactly',\r\n\t\t\toperation: ConditionOperationType.Equals,\r\n\t\t\tresult: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'has a value',\r\n\t\t\toperation: ConditionOperationType.IsSet,\r\n\t\t\tresult: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'is unknown',\r\n\t\t\toperation: ConditionOperationType.IsSet,\r\n\t\t\tresult: false\r\n\t\t},\r\n\t],\r\n\tdate: [\r\n\t\t{\r\n\t\t\ttitle: 'more than',\r\n\t\t\toperation: ConditionOperationType.GreaterThan,\r\n\t\t\tresult: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'less than',\r\n\t\t\toperation: ConditionOperationType.LessThan,\r\n\t\t\tresult: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'exactly',\r\n\t\t\toperation: ConditionOperationType.Equals,\r\n\t\t\tresult: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'has a value',\r\n\t\t\toperation: ConditionOperationType.IsSet,\r\n\t\t\tresult: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'is unknown',\r\n\t\t\toperation: ConditionOperationType.IsSet,\r\n\t\t\tresult: false\r\n\t\t},\r\n\t],\r\n\tnumber: [\r\n\t\t{\r\n\t\t\ttitle: 'is more than',\r\n\t\t\toperation: ConditionOperationType.GreaterThan,\r\n\t\t\tresult: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'is less than',\r\n\t\t\toperation: ConditionOperationType.LessThan,\r\n\t\t\tresult: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'is exactly',\r\n\t\t\toperation: ConditionOperationType.Equals,\r\n\t\t\tresult: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'is not',\r\n\t\t\toperation: ConditionOperationType.Equals,\r\n\t\t\tresult: false\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'has a value',\r\n\t\t\toperation: ConditionOperationType.IsSet,\r\n\t\t\tresult: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'is unknown',\r\n\t\t\toperation: ConditionOperationType.IsSet,\r\n\t\t\tresult: false\r\n\t\t},\r\n\t],\r\n\tdecimal: [\r\n\t\t{\r\n\t\t\ttitle: 'is more than',\r\n\t\t\toperation: ConditionOperationType.GreaterThan,\r\n\t\t\tresult: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'is less than',\r\n\t\t\toperation: ConditionOperationType.LessThan,\r\n\t\t\tresult: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'is exactly',\r\n\t\t\toperation: ConditionOperationType.Equals,\r\n\t\t\tresult: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'is not',\r\n\t\t\toperation: ConditionOperationType.Equals,\r\n\t\t\tresult: false\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'has a value',\r\n\t\t\toperation: ConditionOperationType.IsSet,\r\n\t\t\tresult: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle: 'is unknown',\r\n\t\t\toperation: ConditionOperationType.IsSet,\r\n\t\t\tresult: false\r\n\t\t},\r\n\t],\r\n\tlist: [\r\n\t\t{\r\n\t\t\ttitle: 'is',\r\n\t\t\toperation: ConditionOperationType.Equals,\r\n\t\t\tresult: true\r\n\t\t}\r\n\t],\r\n\tduration: [\r\n\t\t{\r\n\t\t\ttitle: 'is',\r\n\t\t\toperation: ConditionOperationType.Equals,\r\n\t\t\tresult: true\r\n\t\t}\r\n\t],\r\n\tseconds: [ // Old duration name\r\n\t\t{\r\n\t\t\ttitle: 'is',\r\n\t\t\toperation: ConditionOperationType.Equals,\r\n\t\t\tresult: true\r\n\t\t}\r\n\t],\r\n\tintent: [\r\n\t\t{\r\n\t\t\ttitle: 'is',\r\n\t\t\toperation: ConditionOperationType.Equals,\r\n\t\t\tresult: true\r\n\t\t}\r\n\t]\r\n};\r\n\r\nexport enum DateTimeDataTypeUnits {\r\n\tDays = 'days',\r\n\tHours = 'hours',\r\n\tMinutes = 'minutes',\r\n}\r\n\r\nconst dateTimeUnits: PickerOption[] = [\r\n\t{\r\n\t\tid: DateTimeDataTypeUnits.Days,\r\n\t\ttitle: 'days'\r\n\t},\r\n];\r\n\r\nexport const Conditions = {\r\n\tOperations: operations,\r\n\tDateTimeUnits: dateTimeUnits,\r\n};\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"conversation-container\"},[_c('ConversationHeader',{attrs:{\"brandColour\":_vm.brandColour,\"outboundMessageColour\":_vm.outboundMessageColour,\"headerText\":_vm.headerText,\"subtitleText\":_vm.typicalResponseTime}}),_c('div',{staticClass:\"conversation-container__body\"},[_c('n-conversation',{attrs:{\"readonlyApps\":_vm.readonlyApps,\"messages\":_vm.messages,\"outboundMessageColour\":_vm.outboundMessageColour,\"displayAvatar\":_vm.displayAvatar,\"enableAvatarTooltip\":_vm.enableAvatarTooltip},on:{\"load\":function ($state) { return _vm.$emit('load', $state); },\"sendQuickReply\":function (quickReply) { return _vm.$emit('sendQuickReply', quickReply); },\"messageSend\":function (message) { return _vm.$emit('messageSend', message); },\"conversationRead\":function($event){return _vm.$emit('conversationRead')},\"typingStart\":function($event){return _vm.$emit('typingStart')},\"typingStop\":function($event){return _vm.$emit('typingStop')}}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render, staticRenderFns\nimport script from \"./LineChart.vue?vue&type=script&lang=ts\"\nexport * from \"./LineChart.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { PathViewModel } from '@/features/bots/models/designer';\r\nimport { Action, Getter, Mutation } from 'vuex-class';\r\nimport { mixin as clickaway } from 'vue-clickaway';\r\nimport { dropDownHelper } from '@/shared/components/dropDownMenu/dropDownHelper';\r\nimport { ADD_PATH, SET_CURRENT_PATH } from '@/store/bot-designer/paths/mutationTypes';\r\nimport { TransitionViewModel } from '../../models/designer/transitionViewModel';\r\nimport { TransitionType } from '@/features/bots/models/designer/transitionType';\r\nimport PathIcon from 'vue-material-design-icons/CallSplit.vue';\r\nimport FlowIcon from 'vue-material-design-icons/Waves.vue';\r\nimport shortid from 'shortid';\r\nimport { FlowListItemViewModel } from '@/features/bots/models/flowListItemViewModel';\r\nimport AddIcon from 'vue-material-design-icons/Plus.vue';\r\nimport Toast from '@/shared/services/toast';\r\nimport AddFlowModal from '@/shared/components/AddFlowModal.vue';\r\nimport { FlowStatus } from '@/features/bots/models/flowStatus';\r\nimport { TransitionPickerOption } from '../../models/designer/transitionPickerOption';\r\nimport { TransitionPickerConfig } from '../../models/designer/transitionPickerConfig';\r\nimport { LOAD_FLOWS } from '@/store/bot-designer/actionTypes';\r\nimport { LOAD_ANSWERS } from '@/store/answers/actionTypes';\r\nimport { AnswerListItemViewModel } from '../../models/answers/answerListItemViewModel';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tPathIcon,\r\n\t\tFlowIcon,\r\n\t\tAddIcon,\r\n\t\tAddFlowModal\r\n\t},\r\n\tmixins: [clickaway]\r\n})\r\nexport default class TransitionPicker extends Vue {\r\n\t@Action(LOAD_ANSWERS) public loadFlows: () => Promise;\r\n\t@Action(LOAD_FLOWS) public loadAnswers: () => Promise;\r\n\t@Getter public transitionPickerConfigForAnswer: TransitionPickerConfig;\r\n\t@Getter public transitionPickerConfigForFlow: TransitionPickerConfig;\r\n\t@Getter public transitionPickerFixedConfig: TransitionPickerConfig;\r\n\t@Getter public isTransitionPayloadInvalid: (payload: string) => boolean;\r\n\t@Prop() public transition: TransitionViewModel;\r\n\r\n\t@Prop({ default: false }) public fixed: boolean;\r\n\t@Prop({ default: true }) public showNoneTransition: boolean;\r\n\r\n\t@Mutation(SET_CURRENT_PATH) public setCurrentPath: (id: string) => void;\r\n\t@Mutation(ADD_PATH) public addPath: (path: PathViewModel) => void;\r\n\r\n\tpublic selectedLabel: string = '';\r\n\tpublic isOpen = false;\r\n\tpublic isUp = false;\r\n\tpublic selectedTransition: TransitionViewModel;\r\n\tpublic showModal: boolean = false;\r\n\tpublic loaded: boolean = false;\r\n\r\n\t@Watch('transition', { immediate: true })\r\n\tpublic async onValueChanged(value: TransitionViewModel, previous: TransitionViewModel) {\r\n\t\tthis.selectedTransition = value;\r\n\t}\r\n\r\n\tpublic async mounted() {\r\n\t\tawait this.loadFlowsAndAnswers();\r\n\t}\r\n\r\n\tpublic get pathOptions(): TransitionPickerOption[] {\r\n\t\treturn this.options.filter(x => x.type === TransitionType.Path).sort((a, b) => a.name.localeCompare(b.name));\r\n\t}\r\n\r\n\tpublic get flowOptions(): TransitionPickerOption[] {\r\n\t\treturn this.options.filter(x => x.type === TransitionType.Flow).sort((a, b) => a.name.localeCompare(b.name));\r\n\t}\r\n\r\n\tpublic get answerOptions(): TransitionPickerOption[] {\r\n\t\treturn this.options.filter(x => x.type === TransitionType.Answer).sort((a, b) => a.name.localeCompare(b.name));\r\n\t}\r\n\r\n\tpublic get noneTransition(): TransitionPickerOption | undefined {\r\n\t\treturn this.options.find(x => x.type === TransitionType.None);\r\n\t}\r\n\r\n\tpublic get config(): TransitionPickerConfig {\r\n\t\tif (this.fixed) {\r\n\t\t\treturn this.transitionPickerFixedConfig;\r\n\t\t}\r\n\t\tif (this.isOnAnswersPage()) {\r\n\t\t\treturn this.transitionPickerConfigForAnswer;\r\n\t\t}\r\n\t\treturn this.transitionPickerConfigForFlow;\r\n\t}\r\n\r\n\tpublic get options(): TransitionPickerOption[] {\r\n\t\treturn this.config?.options || [];\r\n\t}\r\n\r\n\tpublic get canAddNewFlow() {\r\n\t\treturn this.config.currentStatus !== FlowStatus.Live;\r\n\t}\r\n\r\n\tpublic get isPathOptionsVisible() {\r\n\t\treturn (this.pathOptions && this.pathOptions.length > 0) || this.config.allowAddPath;\r\n\t}\r\n\r\n\tpublic get isFlowOptionsVisible() {\r\n\t\treturn (this.flowOptions && this.flowOptions.length > 0) || this.canAddNewFlow;\r\n\t}\r\n\r\n\tpublic get isAnswerOptionsVisible() {\r\n\t\treturn this.answerOptions && this.answerOptions.length > 0;\r\n\t}\r\n\r\n\tpublic get isGoToButtonDisabled() {\r\n\t\treturn !this.loaded || !this.isTransitionValid;\r\n\t}\r\n\r\n\tpublic get isTransitionValid() {\r\n\t\treturn this.transition && this.transition.payload && !this.isTransitionPayloadInvalid(this.transition.payload);\r\n\t}\r\n\r\n\tpublic getSelectedOptionName(): string {\r\n\t\tif (!this.loaded) {\r\n\t\t\treturn '';\r\n\t\t}\r\n\t\tif (this.selectedTransition && this.selectedTransition.payload) {\r\n\t\t\tif (this.isTransitionPayloadInvalid(this.selectedTransition.payload)) {\r\n\t\t\t\treturn 'Invalid transition';\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (!this.selectedLabel) {\r\n\t\t\tthis.selectedLabel = this.options.find(x => x.id === this.selectedTransition?.payload)?.name || '';\r\n\t\t}\r\n\t\tif (!this.selectedLabel) {\r\n\t\t\treturn 'Choose a transition';\r\n\t\t}\r\n\r\n\t\treturn this.selectedLabel;\r\n\t}\r\n\r\n\tpublic closePicker() {\r\n\t\tthis.isOpen = false;\r\n\t\tthis.isUp = false;\r\n\t}\r\n\r\n\tpublic togglePicker() {\r\n\t\t// don't allow opening the menu/choosing a path if the picker should be 'fixed'\r\n\t\tif (this.fixed) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.isOpen = !this.isOpen;\r\n\r\n\t\tthis.$nextTick(() => (this.isUp = dropDownHelper.isDropDownUp()));\r\n\t}\r\n\r\n\tpublic goToTransition() {\r\n\t\tif (typeof this.selectedTransition.payload === 'string') {\r\n\t\t\tif (this.selectedTransition.type === TransitionType.Path) {\r\n\t\t\t\tthis.setCurrentPath(this.selectedTransition.payload);\r\n\t\t\t} else if (this.selectedTransition.type === TransitionType.Flow) {\r\n\t\t\t\tthis.goToFlow();\r\n\t\t\t} else if (this.selectedTransition.type === TransitionType.Answer) {\r\n\t\t\t\tthis.goToAnswer();\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tpublic chooseOption(option: TransitionPickerOption) {\r\n\t\tthis.selectedLabel = option.name;\r\n\t\tthis.chooseTransition(option.id, option.type);\r\n\t\tthis.closePicker();\r\n\t}\r\n\r\n\tpublic chooseFlow(flow: FlowListItemViewModel) {\r\n\t\tthis.selectedLabel = flow.name;\r\n\t\tthis.chooseTransition(flow.id, TransitionType.Flow);\r\n\t}\r\n\r\n\tpublic chooseTransition(id: string, transitionType: TransitionType) {\r\n\t\tthis.selectedTransition = {\r\n\t\t\tpayload: id,\r\n\t\t\ttype: transitionType\r\n\t\t} as TransitionViewModel;\r\n\r\n\t\tthis.$emit('transition-selected', this.selectedTransition);\r\n\t}\r\n\r\n\tpublic isTypeSelected(type: TransitionType) {\r\n\t\treturn this.selectedTransition && this.selectedTransition.type === type;\r\n\t}\r\n\r\n\tpublic async goToFlow() {\r\n\t\ttry {\r\n\t\t\tif (this.selectedTransition && this.selectedTransition.payload) {\r\n\t\t\t\tthis.$router.push({\r\n\t\t\t\t\tname: 'bots-flow-designer',\r\n\t\t\t\t\tparams: { flowId: this.selectedTransition.payload }\r\n\t\t\t\t});\r\n\t\t\t} else {\r\n\t\t\t\tToast.showError('Can\\'t find Flow');\r\n\t\t\t}\r\n\t\t} catch (err: any) {\r\n\t\t\tToast.showError(err.message);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async goToAnswer() {\r\n\t\ttry {\r\n\t\t\tif (this.selectedTransition && this.selectedTransition.payload) {\r\n\t\t\t\tthis.$router.push({\r\n\t\t\t\t\tname: 'bots-answer-editor',\r\n\t\t\t\t\tparams: { id: this.selectedTransition.payload }\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t} catch (err: any) {\r\n\t\t\tToast.showError(err.message);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic addNewPath() {\r\n\t\tconst newPath = {\r\n\t\t\tid: `path-${shortid.generate()}`,\r\n\t\t\tname: `New Path`,\r\n\t\t\tstates: []\r\n\t\t} as PathViewModel;\r\n\r\n\t\tthis.addPath(newPath);\r\n\r\n\t\tthis.selectedLabel = newPath.name;\r\n\r\n\t\tthis.selectedTransition = {\r\n\t\t\ttype: TransitionType.Path,\r\n\t\t\tpayload: newPath.id\r\n\t\t};\r\n\t\tthis.$emit('transition-selected', this.selectedTransition);\r\n\t}\r\n\r\n\tpublic isNoneChosen() {\r\n\t\treturn this.transition && this.transition.type === TransitionType.None;\r\n\t}\r\n\r\n\tprivate isOnAnswersPage() {\r\n\t\treturn this.getRouteName() === 'bots-answer-editor';\r\n\t}\r\n\r\n\tprivate getRouteName() {\r\n\t\treturn this.$router.currentRoute.name;\r\n\t}\r\n\r\n\tprivate async loadFlowsAndAnswers(): Promise {\r\n\t\tthis.loaded = false;\r\n\t\ttry {\r\n\t\t\tawait Promise.all([this.loadFlows(), this.loadAnswers()]);\r\n\t\t} catch (e: any) {\r\n\t\t\tToast.showError(e.message);\r\n\t\t}\r\n\t\tthis.loaded = true;\r\n\t}\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:({height: (_vm.height + \"px\")})},[_c('svg',{staticClass:\"tag-box\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":_vm.widthWithArrow,\"height\":_vm.height}},[_c('path',{attrs:{\"d\":_vm.boxPath,\"fill\":\"none\",\"stroke\":_vm.netcallSalmonColour,\"stroke-width\":_vm.border+1}}),_c('path',{attrs:{\"d\":_vm.arrowPath,\"fill\":\"none\",\"stroke\":_vm.netcallSalmonColour,\"stroke-width\":_vm.border}}),_c('text',{attrs:{\"x\":_vm.textX,\"y\":_vm.textBaseline,\"alignment-baseline\":\"middle\",\"text-anchor\":_vm.align}},[_vm._v(_vm._s(_vm.value))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./BusinessHoursSelection.vue?vue&type=template&id=9104ba94&scoped=true\"\nimport script from \"./BusinessHoursSelection.vue?vue&type=script&lang=ts\"\nexport * from \"./BusinessHoursSelection.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BusinessHoursSelection.vue?vue&type=style&index=0&id=9104ba94&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"9104ba94\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {Component, Vue} from 'vue-property-decorator';\r\nimport {Action, Getter} from 'vuex-class';\r\nimport {maxLength, required} from 'vuelidate/lib/validators';\r\nimport {validationMixin} from 'vuelidate';\r\n\r\nimport WebAssistantPreview from '../components/WebAssistantPreview.vue';\r\nimport WebAssistantViewToggle from '../components/WebAssistantViewToggle.vue';\r\nimport ImageUpload from '../components/WebAssistantImageUpload.vue';\r\nimport AssetService from '../services/assets';\r\nimport {webAssistantApi} from '../services/webAssistant';\r\nimport {webAssistantAppService} from '../services/webAssistantAppService';\r\nimport {HomescreenAppInitViewModel, HomescreenAppViewModel, WebAssistantViewModel} from '../models';\r\nimport WorkspaceViewModel from '@/workspaces/models/workspaceViewModel';\r\nimport {HANDLE_SERIOUS_ERROR} from '@/store/app/actionTypes';\r\n\r\nimport Toast from '@/shared/services/toast';\r\nimport LoadingSpinner from '@/shared/components/loadingSpinner/LoadingSpinner.vue';\r\nimport Banner from '@/shared/components/Banner.vue';\r\nimport CollapsibleSection from '@/shared/components/CollapsibleSection.vue';\r\nimport CapableAppPicker from '@/shared/components/capableAppPicker/CapableAppPicker.vue';\r\nimport PageHeader from '@/shared/components/pageHeader/PageHeader.vue';\r\nimport ReadonlyCopyableField from '@/shared/components/ReadonlyCopyableField.vue';\r\nimport {HomescreenAppCache} from '../services/homescreenAppCache';\r\nimport TagsInput from '@/shared/components/TagsInput.vue';\r\nimport {TypicalResponseTimeOptions} from '../models/typicalResponseTimeOptions';\r\nimport { ConversationMessage } from '../models/conversation-message';\r\nimport { MessageDirection } from '../models/messageDirection';\r\nimport { MessageStatus } from '../models/messageStatus';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tPageHeader,\r\n\t\tBanner,\r\n\t\tLoadingSpinner,\r\n\t\tWebAssistantPreview,\r\n\t\tWebAssistantViewToggle,\r\n\t\tCollapsibleSection,\r\n\t\tImageUpload,\r\n\t\tCapableAppPicker,\r\n\t\tTagsInput,\r\n\t\tReadonlyCopyableField\r\n\t},\r\n\tmixins: [validationMixin],\r\n\tvalidations: {\r\n\t\tviewModel: {\r\n\t\t\tgreetingText: {required, maxLength: maxLength(25)},\r\n\t\t\tintroductionText: {required, maxLength: maxLength(40)}\r\n\t\t}\r\n\t}\r\n})\r\nexport default class WebAssistant extends Vue {\r\n\t@Getter public currentWorkspace!: WorkspaceViewModel;\r\n\t@Action(HANDLE_SERIOUS_ERROR) public handleSeriousError: any;\r\n\r\n\tpublic activeCollapseId: number = 1;\r\n\r\n\tpublic viewModel: WebAssistantViewModel = {\r\n\t\ttheme: {\r\n\t\t\tbrandColour: '#062B80',\r\n\t\t\tsentMessageColour: '#062B80',\r\n\t\t\tactionColour: '#062B80'\r\n\t\t},\r\n\t\theaderText: '',\r\n\t\ttypicalResponseTime: 0,\r\n\t\twhitelistedDomains: [],\r\n\t\thomescreenApps: [],\r\n\t\timageUrl: '',\r\n\t\tgreetingText: 'Hi there 👋',\r\n\t\tintroductionText: 'We\\'re here to help. Ask us anything',\r\n\t\tuseDefaultLauncher: true\r\n\t};\r\n\r\n\tpublic identityVerificationSecret: string = '';\r\n\r\n\tpublic initialisedHomescreenApps: HomescreenAppInitViewModel[] = [];\r\n\r\n\tpublic imageUploading: boolean = false;\r\n\tpublic webAssistantAppLoaded: boolean = false;\r\n\tpublic webAssistantAppInstallError: boolean = false;\r\n\tpublic reinstallInProgress: boolean = false;\r\n\tpublic updateInProgress: boolean = false;\r\n\r\n\tpublic typicalResponseTimeOptions = TypicalResponseTimeOptions;\r\n\r\n\tpublic sampleMessages: ConversationMessage[] = [\r\n\t\t{\r\n\t\t\tid: '1',\r\n\t\t\ttype: 'text',\r\n\t\t\tdirection: MessageDirection.Inbound,\r\n\t\t\tstatus: MessageStatus.DeliverySucceeded,\r\n\t\t\ttimestampUtc: new Date(),\r\n\t\t\ttext: 'Hi there! Is there anything we can help you with?'\r\n\t\t},\r\n\t\t{\r\n\t\t\tid: '2',\r\n\t\t\ttype: 'text',\r\n\t\t\tdirection: MessageDirection.Outbound,\r\n\t\t\tstatus: MessageStatus.DeliverySucceeded,\r\n\t\t\ttimestampUtc: new Date(),\r\n\t\t\ttext: 'Hi, yes there is...'\r\n\t\t}\r\n\t];\r\n\r\n\tpublic activeView: 'homescreen' | 'conversation' = 'homescreen';\r\n\r\n\tprivate codeSnippet: string = '';\r\n\r\n\tprivate homescreenAppCache: HomescreenAppCache;\r\n\r\n\t// Generate an error message for an input\r\n\tpublic getErrorMessage($v: any, prop: string, label: string) {\r\n\t\tif (this.invalidRequired($v, prop)) {\r\n\t\t\treturn `${label} is required`;\r\n\t\t}\r\n\t\tif (this.invalidMaxLength($v, prop)) {\r\n\t\t\treturn `${label} must be a maximum of ${$v.viewModel[prop].$params.maxLength.max} characters`;\r\n\t\t}\r\n\t\treturn null;\r\n\t}\r\n\r\n\tpublic async mounted() {\r\n\t\tif (!this.currentWorkspace) {\r\n\t\t\tthis.handleSeriousError('No workspace selected');\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.homescreenAppCache = new HomescreenAppCache();\r\n\r\n\t\ttry {\r\n\t\t\tconst response = await webAssistantApi.getInstalledApp(this.currentWorkspace.id);\r\n\t\t\tthis.viewModel = response as WebAssistantViewModel;\r\n\t\t\tthis.homescreenAppsChanged(this.viewModel.homescreenApps);\r\n\t\t\tthis.identityVerificationSecret = response.identityVerificationSecret;\r\n\t\t\tthis.webAssistantAppLoaded = true;\r\n\t\t} catch (error) {\r\n\t\t\tif (error.status === 404) {\r\n\t\t\t\tthis.webAssistantAppInstallError = true;\r\n\t\t\t\tthis.viewModel.headerText = this.currentWorkspace.name;\r\n\t\t\t\tthis.webAssistantAppLoaded = true;\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tthis.handleSeriousError(error.message);\r\n\t\t}\r\n\r\n\t\tconst data: any = await AssetService.loadCodeSnippet();\r\n\t\tthis.codeSnippet = data.replace('', this.currentWorkspace.id);\r\n\t}\r\n\r\n\tpublic reinstall() {\r\n\t\tif (this.reinstallInProgress) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.reinstallInProgress = true;\r\n\r\n\t\twebAssistantAppService.fullInstall(this.currentWorkspace.id, this.currentWorkspace.name, this.viewModel)\r\n\t\t\t.then(response => {\r\n\t\t\t\tthis.viewModel = response as WebAssistantViewModel;\r\n\t\t\t\tthis.identityVerificationSecret = response.identityVerificationSecret;\r\n\t\t\t\tToast.showSuccess('Web Assistant has been successfully configured');\r\n\t\t\t\tthis.webAssistantAppInstallError = false;\r\n\t\t\t})\r\n\t\t\t.catch(error => {\r\n\t\t\t\tToast.showError(error.message);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.reinstallInProgress = false;\r\n\t\t\t});\r\n\t}\r\n\r\n\tpublic update() {\r\n\t\tif (this.$v.$invalid) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (this.imageUploading) {\r\n\t\t\tToast.showInfo('Cannot save while an image is being uploaded, please try again');\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (!this.updateInProgress && !this.reinstallInProgress) {\r\n\t\t\tthis.updateInProgress = true;\r\n\r\n\t\t\twebAssistantApi.updateWebAssistant(this.currentWorkspace.id, this.viewModel)\r\n\t\t\t\t.then(() => Toast.showSuccess('Successfully updated Web Assistant'))\r\n\t\t\t\t.catch(err => Toast.showError(err.message))\r\n\t\t\t\t.finally(() => this.updateInProgress = false);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic onImageSelected() {\r\n\t\tthis.imageUploading = true;\r\n\t}\r\n\r\n\tpublic onImageUploaded(imageUrl: string) {\r\n\t\tthis.viewModel.imageUrl = imageUrl;\r\n\t\tthis.imageUploading = false;\r\n\t}\r\n\r\n\tpublic onImageCleared() {\r\n\t\tthis.viewModel.imageUrl = '';\r\n\t\tthis.imageUploading = false;\r\n\t}\r\n\r\n\tpublic onCodeSnippetCopy() {\r\n\t\tToast.showInfo('Copied snippet to clipboard');\r\n\t}\r\n\r\n\tpublic getCodeSnippet() {\r\n\t\treturn '