graphdb-workbench
Version:
The web application for GraphDB APIs
2 lines • 895 B
JavaScript
export const __webpack_id__=81837;export const __webpack_ids__=[81837];export const __webpack_modules__={81837:(e,t,n)=>{n.r(t),n.d(t,{GraphqlPlaygroundDirectiveUtil:()=>o});class o{static getGraphqlPlaygroundDirectiveController(e){const t=angular.element(document.querySelector(e));return angular.element(t).isolateScope()}static getGraphqlPlaygroundComponent=e=>{const t=o.getGraphqlPlaygroundDirectiveController(e);if(t)return t.getGraphQLPlaygroundComponent()};static getGraphqlPlaygroundComponentAsync=(e,t=1)=>new Promise((n,r)=>{let l=o.getGraphqlPlaygroundComponent(e);l&&n(l);let a=1e3*t|1e3;const c=setInterval(()=>{l=o.getGraphqlPlaygroundComponent(e),l?(clearInterval(c),n(l)):(a-=100,a<0&&(clearInterval(c),console.log("GraphQL Playground component is not found",e),r(new Error("Element is not found: "+e))))},100)})}}};
//# sourceMappingURL=81837.f10e22eaf72a0642b50e.bundle.js.map