export const __webpack_esm_id__=90207;export const __webpack_esm_ids__=[19115,54211,90207];export const __webpack_esm_modules__={68152(e,o,t){var n=t(20575);function r(e){return{restrict:"E",scope:{field:"=",form:"=",translationKeyPrefix:"="},templateUrl:"js/angular/core/directives/dynamic-form/templates/form-field-template.html",link:function(e){e.FIELD_TYPE=n.w}}}angular.module("graphdb.framework.core.directives.dynamic-form-field",[]).directive("dynamicFormField",r),r.$inject=[]},95113(e,o,t){t(68152);var n=t(20575),r=t(71315);angular.module("graphdb.framework.core.directives.dynamic-form",["graphdb.framework.core.directives.dynamic-form-field"]).directive("dynamicForm",l),l.$inject=[];const i=r.I.logger;function l(){return{restrict:"E",scope:{formModel:"=",showAllFields:"=?",onValidityChange:"&?",formCtrl:"=?",translationKeyPrefix:"@?"},templateUrl:"js/angular/core/directives/dynamic-form/templates/dynamic-form.html",link:function(e,o){e.FIELD_TYPE=n.w,e.formCtrl=void 0,e.showAllFields=e.showAllFields||!1,(()=>{const t=o.find("form").controller("form");if(!t)return void i.error("Form controller not found!");e.formCtrl=t;const n=t.$setValidity;e.formCtrl.$setValidity=function(o,r,i){n.call(t,o,r,i),e.onValidityChange&&e.onValidityChange({valid:t.$valid})}})()}}}},19115(){angular.module("graphdb.framework.core.directives.multiselect-dropdown",[]).directive("multiselectDropdown",["$translate",function(e){return{restrict:"E",require:"ngModel",scope:{options:"=",dropdownLabel:"=?"},templateUrl:"js/angular/core/directives/multiselect-dropdown/templates/multiselect-dropdown.html",link:function(o,t,n,r){o.isOpen=!1;const i=e=>{t[0].contains(e.target)||o.$apply(()=>{o.isOpen=!1})};o.toggleDropdown=function(){o.isOpen=!o.isOpen},o.toggleSelection=function(e){e.selected=!e.selected,(()=>{const e=o.options.filter(function(e){return e.selected});r.$setViewValue(e)})()},o.getSelectedText=function(){const t=o.options.filter(e=>e.selected);return 0===t.length?o.dropdownLabel||e.instant("common.select"):t.map(e=>e.label).join(", ")},r.$render=function(){angular.isArray(r.$viewValue)&&o.options.forEach(function(e){e.selected=r.$viewValue.some(function(o){return o.value===e.value})})},document.addEventListener("click",i),o.$on("$destroy",()=>{document.removeEventListener("click",i)})}}}])},90207(e,o,t){function n(e,o,t,n){const r="generation-report.json";e.endpointReport=void 0,e.downloadReport=()=>{const o=JSON.stringify(e.endpointReport.toJSON(),null,2),t=new Blob([o],{type:"application/json"}),n=URL.createObjectURL(t),i=document.createElement("a");i.href=n,i.download=e.endpointReport.endpointId?`${e.endpointReport.endpointId}-${r}`:r,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(n)},e.deleteReport=()=>{n.deleteEndpointGenerationReport(e.endpointReport),e.close()},e.close=()=>{o.dismiss("cancel")},e.endpointReport=t.endpointReport}t(6861),t(95113),t(19115),angular.module("graphdb.framework.graphql.controllers.endpoint-generation-failure-result-modal",["graphdb.framework.core.services.graphql-service"]).controller("EndpointGenerationResultFailureModalController",n),n.$inject=["$scope","$uibModalInstance","data","GraphqlContextService"]}};
//# sourceMappingURL=90207.f6772f3df713804f1925.bundle.js.map