UNPKG

graphdb-workbench

Version:
2 lines 2.35 kB
export const __webpack_id__=13813;export const __webpack_ids__=[13813];export const __webpack_modules__={13813:()=>{const e="guide.step-action.fts-search-method";PluginRegistry.add("guide.step",[{guideBlockName:"set-max-triples-per-call",getSteps:(t,l)=>{const s=l.GuideUtils;return{guideBlockName:"input-element",options:{content:"guide.step_plugin.fts-search-method.set-max-triples-per-call",...t.mainAction?{}:{title:e},class:"toggle-fts-search",...t,url:"ttyg",elementSelector:s.getGuideElementSelector("max-triples-per-call-input"),onNextValidate:()=>t.maxTriplesPerCall?Promise.resolve(s.validateTextInput(s.getGuideElementSelector("max-triples-per-call-input"),t.maxTriplesPerCall,!1)):Promise.resolve(!0)}}}},{guideBlockName:"ttyg-fts-method-disable",getSteps:(t,l)=>{const s=l.GuideUtils,o=s.getGuideElementSelector("query-method-fts_search-input");return[{guideBlockName:"toggle-element",options:{content:"guide.step_plugin.fts-search-method.disable-toggle",...t.mainAction?{}:{title:e},class:"toggle-fts-search",...t,disable:!0,url:"ttyg",elementSelector:s.getGuideElementSelector("query-method-fts_search"),toggleableElementSelector:o,onNextValidate:()=>Promise.resolve(!s.isChecked(o))}}]}},{guideBlockName:"ttyg-fts-method-info",getSteps:(t,l)=>[{guideBlockName:"info-message",options:{content:"guide.step_plugin.fts-search-method.content",...t.mainAction?{}:{title:e},class:"info-fts-search",...t,url:"ttyg"}}]},{guideBlockName:"ttyg-fts-method-enable",getSteps:(t,l)=>{const s=l.GuideUtils,o=s.getGuideElementSelector("query-method-fts_search-input");return[{guideBlockName:"toggle-element",options:{content:"guide.step_plugin.fts-search-method.enable-toggle",...t.mainAction?{}:{title:e},class:"toggle-fts-search",...t,url:"ttyg",elementSelector:s.getGuideElementSelector("query-method-fts_search"),toggleableElementSelector:o,onNextValidate:()=>Promise.resolve(s.isChecked(o))}}]}},{guideBlockName:"fts-search-method",getSteps:(e,t)=>{if(e.mainAction="fts-search-method",e.disable)return[{guideBlockName:"ttyg-fts-method-disable",options:{...e}}];const l=[{guideBlockName:"ttyg-fts-method-info",options:{...e}},{guideBlockName:"ttyg-fts-method-enable",options:{...e}}];return e.maxTriplesPerCall&&l.push({guideBlockName:"set-max-triples-per-call",options:{...e}}),l}}])}}; //# sourceMappingURL=13813.fffbf6757044e3cef1a5.bundle.js.map