graphdb-workbench
Version:
The web application for GraphDB APIs
2 lines • 1 kB
JavaScript
export const __webpack_esm_id__=70884;export const __webpack_esm_ids__=[5759,70884];export const __webpack_esm_modules__={5759:(e,r,a)=>{a.d(r,{a:()=>t});class t{constructor(e){this.graphQLPlaygroundComponent=e}setLanguage(e){this.graphQLPlaygroundComponent.setLanguage(e)}}},70884:(e,r,a)=>{var t=a(5759);function o(e,r,a,o){return{restrict:"E",templateUrl:"js/angular/core/directives/graphql-playground/templates/graphql-playground.html",scope:{configuration:"="},link:(n,s,p)=>{n.getGraphQLPlaygroundComponent=()=>new t.a(g()[0]),n.abortQuery=t=>{const n=e.getActiveRepository(),s=t.detail.headers["X-GraphDB-Track-Alias"];o.info(r.instant("graphql.playground.message.abort_query")),a.deleteQuery(s,n)};const g=()=>s.find("graphql-playground-component")}}}angular.module("graphdb.framework.core.directives.graphql-playground",[]).directive("graphqlPlayground",o),o.$inject=["$repositories","$translate","MonitoringRestService","toastr"]}};
//# sourceMappingURL=70884.765f92a0abe07679d79b.bundle.js.map