UNPKG

graphdb-workbench

Version:
2 lines 3.02 kB
export const __webpack_id__=21195;export const __webpack_ids__=[21195];export const __webpack_modules__={21195:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s='<link href="css/ttyg/chat-panel.css?v=3.1.0-RC3" rel="stylesheet"/> <div class="chat-panel h-100" ng-class="chat.chatHistory.isEmpty() && !askingChatItem ? \'no-content\' : \'\'"> <div class="chat-loading" ng-if="loadingChat" onto-loader-new size="40"></div> <div class="chat-details" ng-class="{\'hidden\': !chat}" ng-if="!loadingChat && !chat.chatHistory.isEmpty() || askingChatItem" guide-selector="chat-details"> <div ng-repeat="chatItemDetail in chat.chatHistory.items" guide-selector="chat-item"> <div class="alert alert-info agent-changed-info" ng-if="!$first && chatItemDetail.agentId !== chat.chatHistory.items[$index - 1].agentId" ng-bind-html="\'ttyg.chat_panel.messages.agent_changed_info\' | translate: {agentName: getAgentName(chatItemDetail.agentId)} | trustAsHtml"> </div> <chat-item-detail chat-item-detail="chatItemDetail" show-actions="!waitingForLastMessage && $last" on-regenerate-question="regenerateQuestion(chatItem)" on-copy-answer-to-clipboard="copyAnswerToClipboard(chatItem)" on-ask-how-delivered-answer="onAskHowDeliveredAnswer(chatItem)" asking="!askingChatItem && waitingForLastMessage && $last" disabled="waitingForLastMessage"> </chat-item-detail> </div> <div class="alert alert-info agent-changed-info" ng-if="askingChatItem && selectedAgent && chat.chatHistory.items.length && chat.chatHistory.items[chat.chatHistory.items.length -1].agentId !== selectedAgent.id" ng-bind-html="\'ttyg.chat_panel.messages.agent_changed_info\' | translate: {agentName: getAgentName(selectedAgent.id)} | trustAsHtml"> </div> <chat-item-detail ng-if="askingChatItem" chat-item-detail="askingChatItem" asking="!!askingChatItem"></chat-item-detail> </div> <div class="new-question mt-3" ng-if="!loadingChat" guide-selector="question-box"> <div class="form-control"> <editable-content placeholder="{{\'ttyg.chat_panel.placeholder.ask-input\' | translate}}" ng-model="chatItem.question.message" guide-selector="question-input" ng-disabled="loadingChat || !selectedAgent || selectedAgent.isDeleted" ng-keypress="onKeypressOnInput($event)" class="question-input"></editable-content> <div class="new-question-actions"> <div class="left-side-actions"></div> <div class="right-side-actions"> <button class="btn btn-primary ask-button" guide-selector="question-ask" ng-disabled="!chatItem.question.message || !selectedAgent || selectedAgent.isDeleted || waitingForLastMessage || loadingChat" ng-click="ask()"> <i class="fa fa-arrow-up"></i> </button> </div> </div> </div> </div> <div class="messages-hint text-muted" ng-if="!loadingChat && chat.chatHistory.isEmpty() && !waitingForLastMessage" ng-cloak> <div class="hint2" ng-bind="\'ttyg.chat_panel.hint2\' | translate"></div> <div class="hint1" ng-bind-html="\'ttyg.chat_panel.hint1\' | translate | trustAsHtml"></div> </div> </div> '}}; //# sourceMappingURL=21195.cbfb42f7f0060bce5665.bundle.js.map