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