UNPKG

graphdb-workbench

Version:
2 lines 2.12 kB
export const __webpack_id__=86142;export const __webpack_ids__=[86142];export const __webpack_modules__={86142:()=>{PluginRegistry.add("guide.step",[{guideBlockName:"select-ttyg-agent",getSteps:(e,t)=>{const n=t.GuideUtils;return e.mainAction="select-ttyg-agent",[{guideBlockName:"info-message",options:angular.extend({},{content:"guide.step_plugin.select-ttyg-agent.info.content",url:"ttyg",class:"select-ttyg-agent",skipPoint:!0,disablePreviousFlow:!0},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.select-ttyg-agent.open-agent-dropdown",class:"open-agent-dropdown",url:"ttyg",elementSelector:n.getGuideElementSelector("select-agent-dropdown"),disableNextFlow:!0},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.select-ttyg-agent.select-agent",elementSelector:n.getGuideElementSelector("select-agent-panel"),class:"select-your-agent",show:()=>()=>{const t=document.querySelector(n.getGuideElementSelector("select-agent-dropdown")),o=document.querySelector(n.getGuideElementSelector("select-agent-dropdown-toggle"));e.observer=new MutationObserver(function(e){for(const t of e)"attributes"===t.type&&(t.target.classList.contains("open")||o.click())}),e.observer.observe(t,{attributes:!0})},disableNextFlow:!0,hide:()=>()=>{e.observer.disconnect()}},e)},{guideBlockName:"info-message",options:angular.extend({},{beforeShowPromise:(e,t)=>n.getOrWaitFor(n.getElementSelector(".confirm-dialog .cancel-btn"),1).then(()=>{setTimeout(()=>e.next())}).catch(()=>{const n=t.id;setTimeout(()=>e.show(n+2))})},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.select-ttyg-agent.missing-repository",elementSelector:n.getElementSelector(".confirm-dialog .cancel-btn"),showOn:()=>n.isVisible(".confirm-dialog .cancel-btn"),onNextClick:()=>{n.clickOnElement(".confirm-dialog .cancel-btn")()},show:(e,t)=>()=>{const n=t.id;$(t.elementSelector).on("click",()=>{e.show(n-3)})},hide:(e,t)=>()=>{$(t.elementSelector).off("click")}},e)}]}}])}}; //# sourceMappingURL=86142.b13c0e7a81e70b6a8f72.bundle.js.map