graphdb-workbench
Version:
The web application for GraphDB APIs
2 lines • 1.59 kB
JavaScript
export const __webpack_id__=98860;export const __webpack_ids__=[98860];export const __webpack_modules__={98860:()=>{const t="guide.step-action.conversation-with-ttyg-agent";PluginRegistry.add("guide.step",[{guideBlockName:"ttyg-conversation-info-message",getSteps:(e,o)=>[{guideBlockName:"info-message",options:{skipPoint:!0,class:"conversation-info",...e.mainAction?{}:{title:t},content:"guide.step_plugin.conversation-with-ttyg-agent.info",...e,url:"ttyg"}}]},{guideBlockName:"ttyg-click-to-create-new-chat",getSteps:(e,o)=>{const n=o.GuideUtils.getGuideElementSelector("create-chat-btn");return[{guideBlockName:"clickable-element",options:{content:"guide.step_plugin.conversation-with-ttyg-agent.start-conversation",...e.mainAction?{}:{title:t},class:"start-conversation",disableNextFlow:!0,...e,url:"ttyg",elementSelector:n}}]}},{guideBlockName:"conversation-with-ttyg-agent",getSteps:(t,e)=>{const o=e.GuideUtils;t.mainAction="conversation-with-ttyg-agent";const n=t.startNewConversation,i=[];if(t.showInfo&&i.push({guideBlockName:"ttyg-conversation-info-message",options:{...t}}),n){const e=o.getGuideElementSelector("create-chat-btn"),n=[{guideBlockName:"info-message",options:angular.extend({},{url:"ttyg",beforeShowPromise:(t,n)=>o.waitFor(e,1).then(()=>{setTimeout(()=>t.next())}).catch(()=>{const e=n.id;setTimeout(()=>t.show(e+2))})},t)},{guideBlockName:"ttyg-click-to-create-new-chat",options:{...t}}];i.push(...n)}const s=t.questions.map(t=>({guideBlockName:"ask-ttyg-agent",options:t}));return i.push(...s),i}}])}};
//# sourceMappingURL=98860.7f152968421e60b308d2.bundle.js.map