graphdb-workbench 3.0.0-TR11 → 3.0.0-TR12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/dist/1.39e19d96412c7076b07d.bundle.js +1 -0
  2. package/dist/{104.0e43cc06c4d50c948ab9.bundle.js → 104.6368c2f57e416b73f456.bundle.js} +1 -1
  3. package/dist/106.5288f1ad99f347241086.bundle.js +1 -0
  4. package/dist/{112.8bb061a901618f808961.bundle.js → 112.754eeb989b9fb6029118.bundle.js} +1 -1
  5. package/dist/{142.230dfcf89cbfd62eee9c.bundle.js → 142.c3bd1f3432f35502708a.bundle.js} +1 -1
  6. package/dist/18.d3f73158b992d7219511.bundle.js +2 -0
  7. package/dist/{197.586704561b51ea6257cc.bundle.js → 197.a937b3ad310812ff43ef.bundle.js} +1 -1
  8. package/dist/2.27e31a84f27f272c0660.bundle.js +1 -0
  9. package/dist/217.60102bdf8cb97e7a1418.bundle.js +1 -1
  10. package/dist/24.1958c56d11054d975118.bundle.js +1 -0
  11. package/dist/31.d87fd08fe233e4ef078d.bundle.js +1 -1
  12. package/dist/393.30902de41362d4e30f8b.bundle.js +1 -1
  13. package/dist/399.7b084495d2060aedcf92.bundle.js +1 -1
  14. package/dist/400.fb5676b637fd7026247a.bundle.js +1 -1
  15. package/dist/405.787a9086f3a449252b49.bundle.js +1 -1
  16. package/dist/406.c4b9f9ff2961e4b3e636.bundle.js +1 -1
  17. package/dist/407.f0cb9dba6fdd9af668c6.bundle.js +1 -1
  18. package/dist/408.2601ad32df281ee39d6c.bundle.js +1 -1
  19. package/dist/409.a6cb40d13075ee59d115.bundle.js +1 -1
  20. package/dist/410.2347b48bb8e0c5bf95ea.bundle.js +1 -1
  21. package/dist/42.b3d80a38fe571384610a.bundle.js +1 -1
  22. package/dist/425.f8451eef1e944b92901f.bundle.js +1 -0
  23. package/dist/426.2d2d0747bf7a39b9aa2a.bundle.js +1 -0
  24. package/dist/427.7bd52ecfc1708bfc397e.bundle.js +1 -1
  25. package/dist/428.3620b3969b4edf5494df.bundle.js +1 -1
  26. package/dist/429.1b1cbd4bd9bdb0ef6ffc.bundle.js +1 -0
  27. package/dist/430.4be4926cd4a3c3268afd.bundle.js +1 -0
  28. package/dist/432.a5a742ac307ae8cfc379.bundle.js +1 -0
  29. package/dist/433.098ce29696be1dc16c38.bundle.js +1 -0
  30. package/dist/{449.69e02e5aa17f2aa6471c.bundle.js → 449.cfc462770ce4088bc4ca.bundle.js} +1 -1
  31. package/dist/461.27f611f25ba93bc87049.bundle.js +1 -1
  32. package/dist/462.7fe2184dd08b3c47e2de.bundle.js +1 -1
  33. package/dist/464.41ab9967595a086cc6c2.bundle.js +1 -1
  34. package/dist/465.1ed69732d62361ac682d.bundle.js +1 -1
  35. package/dist/466.3e9e53e8ffead64f3d90.bundle.js +1 -1
  36. package/dist/469.6809d3dcbfba9e983b42.bundle.js +1 -1
  37. package/dist/470.580302ce6310eb5155be.bundle.js +1 -1
  38. package/dist/471.d400827a9719a3befdfe.bundle.js +1 -1
  39. package/dist/472.f7b9527be77688886d61.bundle.js +1 -1
  40. package/dist/48.a71ed20ffcceb8aad3ad.bundle.js +1 -1
  41. package/dist/49.6aba0141911f999b500c.bundle.js +1 -1
  42. package/dist/65.71923ca1a7e8809d18ea.bundle.js +1 -0
  43. package/dist/68.d16fb0d63c16114eb141.bundle.js +1 -0
  44. package/dist/72.0e45ef33efe14fe7886e.bundle.js +1 -1
  45. package/dist/{84.e4e9d6eb0de6227044b6.bundle.js → 84.0e39cd84fde745107b77.bundle.js} +1 -1
  46. package/dist/{bundle.2ad00cc6206c35cf551c.bundle.js → bundle.688b583d1ff481e42ae3.bundle.js} +2 -2
  47. package/dist/css/graphql/create-graphql-endpoint.css +11 -15
  48. package/dist/css/graphql/graphql-endpoint-management.css +9 -0
  49. package/dist/css/graphql/import-endpoint-definition-modal.css +12 -1
  50. package/dist/i18n/locale-en.json +21 -12
  51. package/dist/i18n/locale-fr.json +21 -12
  52. package/dist/index.html +3 -3
  53. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  54. package/dist/js/angular/core/directives/dynamic-form/templates/dynamic-form.html +1 -1
  55. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  56. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  57. package/dist/js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html +1 -1
  58. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  59. package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
  60. package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
  61. package/dist/js/angular/graphql/templates/create-graphql-endpoint.html +3 -2
  62. package/dist/js/angular/graphql/templates/graphql-endpoint-management.html +11 -5
  63. package/dist/js/angular/graphql/templates/graphql-playground.html +1 -1
  64. package/dist/js/angular/graphql/templates/modal/endpoint-configuration-modal.html +1 -1
  65. package/dist/js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html +21 -7
  66. package/dist/js/angular/graphql/templates/modal/import-endpoint-definition-modal.html +61 -62
  67. package/dist/js/angular/graphql/templates/step-generate-endpoint.html +6 -7
  68. package/dist/js/angular/graphql/templates/step-select-schema-sources.html +8 -3
  69. package/dist/js/angular/security/templates/user.html +26 -8
  70. package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
  71. package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
  72. package/dist/js/angular/ttyg/templates/chat-item-detail.html +1 -1
  73. package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
  74. package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
  75. package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
  76. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +2 -2
  77. package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
  78. package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
  79. package/dist/license-checker.json +2 -2
  80. package/dist/pages/aclmanagement.html +2 -2
  81. package/dist/pages/autocomplete.html +1 -1
  82. package/dist/pages/choose-repository-type.html +1 -1
  83. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  84. package/dist/pages/create-index.html +1 -1
  85. package/dist/pages/dependencies.html +1 -1
  86. package/dist/pages/domainRangeInfo.html +2 -2
  87. package/dist/pages/edit.html +1 -1
  88. package/dist/pages/explore.html +1 -1
  89. package/dist/pages/export.html +1 -1
  90. package/dist/pages/find.html +1 -1
  91. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  92. package/dist/pages/graphs-visualizations.html +7 -7
  93. package/dist/pages/guides.html +1 -1
  94. package/dist/pages/import.html +2 -2
  95. package/dist/pages/jdbc-create.html +1 -1
  96. package/dist/pages/monitor/backup-and-restore.html +1 -1
  97. package/dist/pages/monitor/queries.html +1 -1
  98. package/dist/pages/monitor/resources.html +1 -1
  99. package/dist/pages/namespaces.html +2 -2
  100. package/dist/pages/plugins.html +1 -1
  101. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  102. package/dist/pages/rdfrank.html +2 -2
  103. package/dist/pages/repositories.html +1 -1
  104. package/dist/pages/repository.html +1 -1
  105. package/dist/pages/similarity-indexes.html +1 -1
  106. package/dist/pages/sparql-editor.html +1 -1
  107. package/dist/pages/sparql-template-create.html +1 -1
  108. package/dist/pages/ux-test1.html +2 -2
  109. package/dist/pages/webapi.html +2 -2
  110. package/dist/plugins.js +1 -1
  111. package/dist/res/swagger5/index.html +12 -12
  112. package/package.json +1 -1
  113. package/dist/1.e65e27d8821868ae3a85.bundle.js +0 -1
  114. package/dist/106.f3d15640d6e1a1063e3f.bundle.js +0 -1
  115. package/dist/18.f3ff9a57c4c2f634022f.bundle.js +0 -2
  116. package/dist/2.281a5ec4ab6ac51434da.bundle.js +0 -1
  117. package/dist/24.c40a58984f206bfe25d7.bundle.js +0 -1
  118. package/dist/425.09f32d4a01a70e483896.bundle.js +0 -1
  119. package/dist/426.e0a19062822bb0ad13a5.bundle.js +0 -1
  120. package/dist/429.c94168cb54c9f7c007cd.bundle.js +0 -1
  121. package/dist/430.22a47d0bbfdfc2985b57.bundle.js +0 -1
  122. package/dist/432.b8b32db5f037520cde21.bundle.js +0 -1
  123. package/dist/433.60a2069cd395e77b3b1e.bundle.js +0 -1
  124. package/dist/65.63bcd6c1000bf0edaa41.bundle.js +0 -1
  125. package/dist/68.04df8259ed117af3bed4.bundle.js +0 -1
  126. /package/dist/{50.34f111474a027b75f7f3.bundle.js → 50.ecfe7a8c4fffeeb2c400.bundle.js} +0 -0
  127. /package/dist/{73.791ef6b4a85ef812651b.bundle.js → 73.b6b2fd69f1e41e6cc8c6.bundle.js} +0 -0
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[1,117,118,229,230,231,235,239,241],{142:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,u(i.key),i)}}function o(t,e,n){return(e=u(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"DynamicFormField",(function(){return s}));var s=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),o(this,"_key",""),o(this,"_label",""),o(this,"_type",""),o(this,"_collection",!1),o(this,"_value",void 0),o(this,"_values",void 0),o(this,"_regex",void 0),o(this,"_required",!1),this._key=e.key,this._label=e.label,this._type=e.type,this._collection=e.collection,this._value=e.value,this._values=e.values,this._regex="string"==typeof e.regex?new RegExp(e.regex):e.regex,this._required=e.required},(e=[{key:"key",get:function(){return this._key},set:function(t){this._key=t}},{key:"label",get:function(){return this._label},set:function(t){this._label=t}},{key:"type",get:function(){return this._type},set:function(t){this._type=t}},{key:"collection",get:function(){return this._collection},set:function(t){this._collection=t}},{key:"value",get:function(){return this._value},set:function(t){this._value=t}},{key:"values",get:function(){return this._values},set:function(t){this._values=t}},{key:"regex",get:function(){return this._regex},set:function(t){this._regex="string"==typeof t?new RegExp(t):t}},{key:"required",get:function(){return this._required},set:function(t){this._required=t}}])&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()},152:function(t,e,n){"use strict";n.r(e),n.d(e,"GraphqlEndpointConfiguration",(function(){return d})),n.d(e,"GraphqlEndpointParams",(function(){return m}));var i=n(176),r=n(16),o=n(168),u=n(241),s=n(274),c=n(275),a=n(177);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,b(i.key),i)}}function p(t,e,n){return e&&l(t.prototype,e),n&&l(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function y(t,e,n){return(e=b(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function b(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=f(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:e+""}var d=function(){return p((function t(){h(this,t),y(this,"_schemaSourceType",void 0),y(this,"_owlOrShaclSourceType",void 0),y(this,"_selectedGraphqlSchemaShapes",void 0),y(this,"_selectedGraphs",void 0),y(this,"_params",void 0),y(this,"_settings",void 0),this._schemaSourceType=a.SchemaSourceType.GRAPHQL_SCHEMA_SHAPES,this._owlOrShaclSourceType=a.OntologyShaclShapeSource.USE_ALL_GRAPHS,this._selectedGraphqlSchemaShapes=new i.GraphqlSchemaShapes,this._selectedGraphs=new r.GraphListOptions,this._params=new m({}),this._endpointConfigurationSettings=new o.GraphqlEndpointConfigurationSettings}),[{key:"generateFromGraphqlSchemaShapes",value:function(){return this.schemaSourceType===a.SchemaSourceType.GRAPHQL_SCHEMA_SHAPES}},{key:"generateFromShaclShapes",value:function(){return this.schemaSourceType===a.SchemaSourceType.SHACL_SHAPES}},{key:"toCreateEndpointFromShapesRequest",value:function(t){return new s.CreateEndpointFromShapesRequest({fromRepo:t,shapes:this.selectedGraphqlSchemaShapes.getShapeIds(),config:this.settings.toFlatJSON()})}},{key:"toCreateEndpointFromOwlRequest",value:function(t){return new c.CreateEndpointFromOwlRequest({id:this.params.endpointId,label:this.params.endpointLabel,description:this.params.endpointDescription,fromRepo:t,namedGraphs:this.selectedGraphs.getGraphIds(),vocabPrefix:this.params.vocPrefix,config:this.settings.toFlatJSON()})}},{key:"getSelectedGraphqlSchemaShapesOverview",value:function(){return this.generateFromGraphqlSchemaShapes()?this.selectedGraphqlSchemaShapes.processShapes((function(t){return new u.GraphqlEndpointOverview({label:t.label||t.id,uri:t.id})})):this.generateFromShaclShapes()?this.selectedGraphs.isEmpty?[new u.GraphqlEndpointOverview({label:"".concat(this.params.endpointId)})]:this.selectedGraphs.processGraphList((function(t){return new u.GraphqlEndpointOverview({label:t.label||t.uri,uri:t.uri})})):void 0}},{key:"getSelectedGraphqlSchemaShapesCount",value:function(){return this.selectedGraphqlSchemaShapes.shapes.length}},{key:"hasSelectedGraphqlSchemaShapes",value:function(){return this.getSelectedGraphqlSchemaShapesCount()>0}},{key:"getSelectedGraphsCount",value:function(){return this.selectedGraphs.graphList.length}},{key:"hasSelectedGraphs",value:function(){return this.getSelectedGraphsCount()>0}},{key:"owlOrShaclSourceType",get:function(){return this._owlOrShaclSourceType},set:function(t){this._owlOrShaclSourceType=t}},{key:"schemaSourceType",get:function(){return this._schemaSourceType},set:function(t){this._schemaSourceType=t}},{key:"settings",get:function(){return this._settings},set:function(t){this._settings=t}},{key:"selectedGraphs",get:function(){return this._selectedGraphs},set:function(t){this._selectedGraphs=t}},{key:"params",get:function(){return this._params},set:function(t){this._params=t}},{key:"selectedGraphqlSchemaShapes",get:function(){return this._selectedGraphqlSchemaShapes},set:function(t){this._selectedGraphqlSchemaShapes=t}}])}(),m=function(){return p((function t(e){h(this,t),y(this,"_endpointId",void 0),y(this,"_endpointLabel",void 0),y(this,"_endpointDescription",void 0),y(this,"_vocPrefix",void 0),this._endpointId=e.endpointId||"",this._endpointLabel=e.endpointLabel||"",this._vocPrefix=e.vocPrefix||"",this._endpointDescription=e.endpointDescription||""}),[{key:"endpointId",get:function(){return this._endpointId},set:function(t){this._endpointId=t}},{key:"endpointLabel",get:function(){return this._endpointLabel},set:function(t){this._endpointLabel=t}},{key:"endpointDescription",get:function(){return this._endpointDescription},set:function(t){this._endpointDescription=t}},{key:"vocPrefix",get:function(){return this._vocPrefix},set:function(t){this._vocPrefix=t}},{key:"toJSON",value:function(){return{endpointId:this.endpointId,endpointLabel:this.endpointLabel,vocPrefix:this.vocPrefix,description:this.endpointDescription}}}])}()},168:function(t,e,n){"use strict";n.r(e),n.d(e,"CONFIG_TYPE",(function(){return s})),n.d(e,"GraphqlEndpointConfigurationSettings",(function(){return c}));n(142);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,u(i.key),i)}}function o(t,e,n){return(e=u(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}var s={STRING:"string",TEXT:"text",BOOLEAN:"boolean",JSON:"json"},c=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),o(this,"_settings",void 0),o(this,"_hasSettings",void 0),this._settings=e||[],this._hasSettings=this._settings.length>0},(e=[{key:"toFlatJSON",value:function(){return this.settings.reduce((function(t,e){return e.collection?(t[e.key]=e.value,t):"select"===e.type?(t[e.key]=e.value.value,t):(t[e.key]=e.value,t)}),{})}},{key:"hasSettings",get:function(){return this._hasSettings}},{key:"settings",get:function(){return this._settings},set:function(t){this._settings=t,this._hasSettings=this._settings.length>0}}])&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()},176:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,c(i.key),i)}}function u(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(t,e,n){return(e=c(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"GraphqlSchemaShapes",(function(){return a})),n.d(e,"GraphqlSchemaShape",(function(){return f}));var a=function(){return u((function t(e){r(this,t),s(this,"_shapes",void 0),s(this,"_size",void 0),s(this,"_isEmpty",void 0),this._shapes=e||[],this._size=this.shapes.length,this._isEmpty=0===this.shapes.length}),[{key:"processShapes",value:function(t){return this.shapes.map(t)}},{key:"getShapeIds",value:function(){return this.shapes.map((function(t){return t.id}))}},{key:"isEmpty",get:function(){return this._isEmpty}},{key:"size",get:function(){return this._size}},{key:"shapes",get:function(){return this._shapes},set:function(t){this._shapes=t,this._size=this.shapes.length,this._isEmpty=0===this.shapes.length}},{key:"toJSON",value:function(){return this.shapes.map((function(t){return t.id}))}}])}(),f=function(){return u((function t(e){r(this,t),s(this,"_id",void 0),s(this,"_name",void 0),s(this,"_label",void 0),s(this,"_description",void 0),this._id=e.id,this._name=e.name,this._label=e.label,this._description=e.description}),[{key:"id",get:function(){return this._id},set:function(t){this._id=t}},{key:"name",get:function(){return this._name},set:function(t){this._name=t}},{key:"label",get:function(){return this._label},set:function(t){this._label=t}},{key:"description",get:function(){return this._description},set:function(t){this._description=t}}])}()},177:function(t,e,n){"use strict";n.r(e),n.d(e,"SchemaSourceType",(function(){return y})),n.d(e,"OntologyShaclShapeSource",(function(){return b})),n.d(e,"SelectSchemaSourceStep",(function(){return d})),n.d(e,"ConfigureEndpointStep",(function(){return m})),n.d(e,"GenerateEndpointStep",(function(){return v}));var i=n(178);function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,p(i.key),i)}}function s(t,e,n){return e&&u(t.prototype,e),n&&u(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t,e,n){return e=a(e),function(t,e){if(e&&("object"==r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,n||[],a(t).constructor):e.apply(t,n))}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&h(t,e)}function h(t,e){return(h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function l(t,e,n){return(e=p(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}var y={GRAPHQL_SCHEMA_SHAPES:"graphql_schema_shapes",SHACL_SHAPES:"shacl_shapes"},b={USE_ALL_GRAPHS:"use_all_graphs",USE_SHACL_SHAPE_GRAPH:"use_shacl_shape_graph",PICK_GRAPHS:"pick_graphs"},d=function(t){function e(){var t;return o(this,e),l(t=c(this,e,["select_schema_sources",void 0,"schema-sources",!0]),"_schemaSourceTypes",[{value:y.GRAPHQL_SCHEMA_SHAPES},{value:y.SHACL_SHAPES}]),l(t,"_schemaSourceType",t._schemaSourceTypes[0].value),l(t,"_ontologyShaclShapeSources",[{value:b.USE_ALL_GRAPHS},{value:b.USE_SHACL_SHAPE_GRAPH},{value:b.PICK_GRAPHS}]),l(t,"_ontotlogyShaclShapeSource",t._ontologyShaclShapeSources[0].value),t}return f(e,t),s(e,[{key:"ontotlogyShaclShapeSource",get:function(){return this._ontotlogyShaclShapeSource},set:function(t){this._ontotlogyShaclShapeSource=t}},{key:"ontologyShaclShapeSources",get:function(){return this._ontologyShaclShapeSources},set:function(t){this._ontologyShaclShapeSources=t}},{key:"schemaSourceType",get:function(){return this._schemaSourceType},set:function(t){this._schemaSourceType=t}},{key:"schemaSourceTypes",get:function(){return this._schemaSourceTypes},set:function(t){this._schemaSourceTypes=t}}])}(i.WizardStep),m=function(t){function e(){return o(this,e),c(this,e,["configure_endpoint",void 0,"endpoint-config",!1])}return f(e,t),s(e)}(i.WizardStep),v=function(t){function e(){return o(this,e),c(this,e,["generate_endpoint",void 0,"generate-endpoint",!1])}return f(e,t),s(e)}(i.WizardStep)},178:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,s(i.key),i)}}function u(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}function c(t,e,n){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,n)}function a(t,e){return t.get(h(t,e))}function f(t,e,n){return t.set(h(t,e),n),n}function h(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}n.r(e),n.d(e,"Wizard",(function(){return y})),n.d(e,"WizardStep",(function(){return S}));var l=new WeakMap,p=new WeakMap,y=function(){return u((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;r(this,t),c(this,l,[]),c(this,p,0),f(l,this,e),f(p,this,n)}),[{key:"addStep",value:function(t){return a(l,this).push(t),this}},{key:"getActiveStep",value:function(){return a(l,this).find((function(t){return t.active}))}},{key:"setStepActive",value:function(t){a(l,this).forEach((function(t){return t.active=!1})),t.active=!0}},{key:"previousStep",value:function(){var t;a(p,this)>0&&f(p,this,(t=a(p,this),t--,t));var e=a(l,this)[a(p,this)];return this.setStepActive(e),e}},{key:"nextStep",value:function(){var t;a(p,this)<a(l,this).length-1&&f(p,this,(t=a(p,this),t++,t));var e=a(l,this)[a(p,this)];return this.setStepActive(e),e}},{key:"steps",get:function(){return a(l,this)},set:function(t){f(l,this,t)}},{key:"currentStep",get:function(){return a(p,this)},set:function(t){f(p,this,t)}}])}(),b=new WeakMap,d=new WeakMap,m=new WeakMap,v=new WeakMap,S=function(){return u((function t(e,n,i){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];r(this,t),c(this,b,""),c(this,d,!1),c(this,m,""),c(this,v,""),f(b,this,e),f(d,this,o),f(m,this,n),f(v,this,i)}),[{key:"page",get:function(){return a(v,this)},set:function(t){f(v,this,t)}},{key:"templateUrl",get:function(){return a(m,this)},set:function(t){f(m,this,t)}},{key:"active",get:function(){return a(d,this)},set:function(t){f(d,this,t)}},{key:"id",get:function(){return a(b,this)},set:function(t){f(b,this,t)}}])}()},241:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,c(i.key),i)}}function u(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(t,e,n){return(e=c(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"ENDPOINT_GENERATION_STATUS",(function(){return a})),n.d(e,"GraphqlEndpointOverviewList",(function(){return f})),n.d(e,"GraphqlEndpointOverview",(function(){return h}));var a={NONE:"NONE",SUCCESS:"SUCCESS",ERROR:"ERROR"},f=function(){return u((function t(e){r(this,t),s(this,"_endpointList",[]),this._endpointList=e||[]}),[{key:"endpointList",get:function(){return this._endpointList},set:function(t){this._endpointList=t}}])}(),h=function(){return u((function t(e){r(this,t),s(this,"_label",void 0),s(this,"_uri",void 0),s(this,"_status",void 0),this._label=e.label||"",this._uri=e.uri||"",this._status=e.status||a.NONE}),[{key:"label",get:function(){return this._label},set:function(t){this._label=t}},{key:"uri",get:function(){return this._uri},set:function(t){this._uri=t}},{key:"status",get:function(){return this._status},set:function(t){this._status=t}}])}()},274:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,u(i.key),i)}}function o(t,e,n){return(e=u(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"CreateEndpointFromShapesRequest",(function(){return s}));var s=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),o(this,"_fromRepo",void 0),o(this,"_shapes",void 0),o(this,"_config",void 0),this._fromRepo=e.fromRepo||"",this._shapes=e.shapes||[],this._config=e.config||{}},(e=[{key:"toJSON",value:function(){return{fromRepo:this.fromRepo,shapes:this.shapes,config:this.config}}},{key:"fromRepo",get:function(){return this._fromRepo},set:function(t){this._fromRepo=t}},{key:"shapes",get:function(){return this._shapes},set:function(t){this._shapes=t}},{key:"config",get:function(){return this._config},set:function(t){this._config=t}}])&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()},275:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,u(i.key),i)}}function o(t,e,n){return(e=u(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"CreateEndpointFromOwlRequest",(function(){return s}));var s=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),o(this,"_fromRepo",void 0),o(this,"_namedGraphs",void 0),o(this,"_id",void 0),o(this,"_label",void 0),o(this,"_description",void 0),o(this,"_vocPrefix",void 0),o(this,"_config",void 0),this._id=e.id||"",this._label=e.label||"",this._description=e.description||"",this._fromRepo=e.fromRepo||"",this._namedGraphs=e.namedGraphs||[],this._vocPrefix=e.vocabPrefix||"",this._config=e.config||{}},(e=[{key:"toJSON",value:function(){return{id:this.id,label:this.label,description:this.description,fromRepo:this.fromRepo,namedGraphs:this.namedGraphs,vocabPrefix:this.vocPrefix,config:this.config}}},{key:"fromRepo",get:function(){return this._fromRepo},set:function(t){this._fromRepo=t}},{key:"namedGraphs",get:function(){return this._namedGraphs},set:function(t){this._namedGraphs=t}},{key:"id",get:function(){return this._id},set:function(t){this._id=t}},{key:"label",get:function(){return this._label},set:function(t){this._label=t}},{key:"description",get:function(){return this._description},set:function(t){this._description=t}},{key:"vocPrefix",get:function(){return this._vocPrefix},set:function(t){this._vocPrefix=t}},{key:"config",get:function(){return this._config},set:function(t){this._config=t}}])&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[104,170],{127:function(e,n){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(n,t,o,r){n.isOpen=!1;var i=function(e){t[0].contains(e.target)||n.$apply((function(){n.isOpen=!1}))};n.toggleDropdown=function(){n.isOpen=!n.isOpen},n.toggleSelection=function(e){var t;e.selected=!e.selected,t=n.options.filter((function(e){return e.selected})),r.$setViewValue(t)},n.getSelectedText=function(){var t=n.options.filter((function(e){return e.selected}));return 0===t.length?n.dropdownLabel||e.instant("common.select"):t.map((function(e){return e.label})).join(", ")},r.$render=function(){angular.isArray(r.$viewValue)&&n.options.forEach((function(e){e.selected=r.$viewValue.some((function(n){return n.value===e.value}))}))},document.addEventListener("click",i),n.$on("$destroy",(function(){document.removeEventListener("click",i)}))}}}])},216:function(e,n,t){"use strict";t.r(n);t(121),t(134),t(127);function o(e,n,t){e.endpointReport=void 0,e.downloadReport=function(){var n=JSON.stringify(e.endpointReport.toJSON(),null,2),t=new Blob([n],{type:"application/json"}),o=URL.createObjectURL(t),r=document.createElement("a");r.href=o,r.download=e.endpointReport.endpointId?"".concat(e.endpointReport.endpointId,"-").concat("generation-report.json"):"generation-report.json",document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(o)},e.close=function(){n.dismiss("cancel")};e.endpointReport=t.endpointReport}angular.module("graphdb.framework.graphql.controllers.endpoint-generation-failure-result-modal",["graphdb.framework.core.services.graphql-service"]).controller("EndpointGenerationResultFailureModalController",o),o.$inject=["$scope","$uibModalInstance","data"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[104,170],{127:function(e,n){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(n,t,o,r){n.isOpen=!1;var i=function(e){t[0].contains(e.target)||n.$apply((function(){n.isOpen=!1}))};n.toggleDropdown=function(){n.isOpen=!n.isOpen},n.toggleSelection=function(e){var t;e.selected=!e.selected,t=n.options.filter((function(e){return e.selected})),r.$setViewValue(t)},n.getSelectedText=function(){var t=n.options.filter((function(e){return e.selected}));return 0===t.length?n.dropdownLabel||e.instant("common.select"):t.map((function(e){return e.label})).join(", ")},r.$render=function(){angular.isArray(r.$viewValue)&&n.options.forEach((function(e){e.selected=r.$viewValue.some((function(n){return n.value===e.value}))}))},document.addEventListener("click",i),n.$on("$destroy",(function(){document.removeEventListener("click",i)}))}}}])},216:function(e,n,t){"use strict";t.r(n);t(121),t(134),t(127);function o(e,n,t,o){e.endpointReport=void 0,e.downloadReport=function(){var n=JSON.stringify(e.endpointReport.toJSON(),null,2),t=new Blob([n],{type:"application/json"}),o=URL.createObjectURL(t),r=document.createElement("a");r.href=o,r.download=e.endpointReport.endpointId?"".concat(e.endpointReport.endpointId,"-").concat("generation-report.json"):"generation-report.json",document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(o)},e.deleteReport=function(){o.deleteEndpointGenerationReport(e.endpointReport),e.close()},e.close=function(){n.dismiss("cancel")};e.endpointReport=t.endpointReport}angular.module("graphdb.framework.graphql.controllers.endpoint-generation-failure-result-modal",["graphdb.framework.core.services.graphql-service"]).controller("EndpointGenerationResultFailureModalController",o),o.$inject=["$scope","$uibModalInstance","data","GraphqlContextService"]}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[106,170],{119:function(n,e,t){"use strict";t.r(e),t.d(e,"GraphqlEventName",(function(){return E}));var o=t(23),i=t(152);t(115);function r(n){var e=void 0,t=void 0,r=void 0,c=function(){return e},u=function(){return r},a=function(e,t){n.emitSync(e,Object(o.cloneDeep)(t))},d=function(e,t){return n.subscribeSync(e,(function(n){return t(n)}))};return{resetContext:function(){t=void 0,r=void 0},updateSourceRepository:function(n){e=n,a(E.SOURCE_REPOSITORY_UPDATED,c())},getSourceRepository:c,setSelectedEndpoint:function(n){t=n},getSelectedEndpoint:function(){return Object(o.cloneDeep)(t)},getNewEndpoint:u,createEndpointConfig:function(){r=new i.GraphqlEndpointConfiguration,n.emitSync(E.ENDPOINT_CONFIG_CREATED,r)},onEndpointConfigCreated:function(n){return r&&angular.isFunction(n)&&n(r),d(E.ENDPOINT_CONFIG_CREATED,(function(e){return n(e)}))},startCreateEndpointWizard:function(){a(E.START_CREATE_ENDPOINT_WIZARD,null)},generateEndpoint:function(){a(E.GENERATE_ENDPOINT,u())},endpointGenerated:function(n){a(E.ENDPOINT_GENERATED,n)},exploreEndpointInPlayground:function(n){a(E.EXPLORE_ENDPOINT_IN_PLAYGROUND,n)},openEndpointGenerationReport:function(n){a(E.OPEN_ENDPOINT_GENERATION_REPORT,n)},deleteEndpointGenerationReport:function(n){a(E.DELETE_ENDPOINT_REPORT,n)},cancelEndpointCreation:function(){a(E.CANCEL_ENDPOINT_CREATION,{})},nextEndpointCreationStep:function(){a(E.NEXT_ENDPOINT_CREATION_STEP,{})},previousEndpointCreationStep:function(){a(E.PREVIOUS_ENDPOINT_CREATION_STEP,{})},subscribe:d}}angular.module("graphdb.framework.graphql.services.graphql-context",[]).factory("GraphqlContextService",r),r.$inject=["EventEmitterService","GraphqlService"];var E={SOURCE_REPOSITORY_UPDATED:"sourceRepositoryUpdated",START_CREATE_ENDPOINT_WIZARD:"startCreateEndpointWizard",ENDPOINT_CONFIG_CREATED:"updateConfigCreated",GENERATE_ENDPOINT:"generateEndpoint",ENDPOINT_GENERATED:"endpointGenerated",CANCEL_ENDPOINT_CREATION:"cancelEndpointCreation",EXPLORE_ENDPOINT_IN_PLAYGROUND:"exploreEndpointInPlayground",OPEN_ENDPOINT_GENERATION_REPORT:"openEndpointGenerationReport",DELETE_ENDPOINT_REPORT:"deleteEndpointReport",NEXT_ENDPOINT_CREATION_STEP:"nextEndpointCreationStep",PREVIOUS_ENDPOINT_CREATION_STEP:"previousEndpointCreationStep"}},127:function(n,e){angular.module("graphdb.framework.core.directives.multiselect-dropdown",[]).directive("multiselectDropdown",["$translate",function(n){return{restrict:"E",require:"ngModel",scope:{options:"=",dropdownLabel:"=?"},templateUrl:"js/angular/core/directives/multiselect-dropdown/templates/multiselect-dropdown.html",link:function(e,t,o,i){e.isOpen=!1;var r=function(n){t[0].contains(n.target)||e.$apply((function(){e.isOpen=!1}))};e.toggleDropdown=function(){e.isOpen=!e.isOpen},e.toggleSelection=function(n){var t;n.selected=!n.selected,t=e.options.filter((function(n){return n.selected})),i.$setViewValue(t)},e.getSelectedText=function(){var t=e.options.filter((function(n){return n.selected}));return 0===t.length?e.dropdownLabel||n.instant("common.select"):t.map((function(n){return n.label})).join(", ")},i.$render=function(){angular.isArray(i.$viewValue)&&e.options.forEach((function(n){n.selected=i.$viewValue.some((function(e){return e.value===n.value}))}))},document.addEventListener("click",r),e.$on("$destroy",(function(){document.removeEventListener("click",r)}))}}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[112,234],{115:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,c(i.key),i)}}function s(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t,e,n){return(e=c(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"EndpointGenerationReportList",(function(){return a})),n.d(e,"EndpointGenerationReport",(function(){return d}));var a=function(){return s((function t(e){o(this,t),u(this,"_reports",void 0),this._reports=e||[]}),[{key:"getReport",value:function(t){return this._reports.find((function(e){return e.endpointId===t}))}},{key:"reports",get:function(){return this._reports},set:function(t){this._reports=t}}])}(),d=function(){return s((function t(e){o(this,t),u(this,"_endpointId",void 0),u(this,"_endpointURI",void 0),u(this,"_active",void 0),u(this,"_default",void 0),u(this,"_label",void 0),u(this,"_description",void 0),u(this,"_lastModified",void 0),u(this,"_objectsCount",void 0),u(this,"_propertiesCount",void 0),u(this,"_warnings",void 0),u(this,"_errors",void 0),u(this,"_messages",void 0),u(this,"_createdSuccessfully",void 0),this._endpointId=e.endpointId||"",this._endpointURI=e.endpointURI||"",this._active=e.active||!1,this._default=e.default||!1,this._label=e.label||"",this._description=e.description||"",this._lastModified=e.lastModified||"",this._objectsCount=e.objectsCount||0,this._propertiesCount=e.propertiesCount||0,this._warnings=e.warnings||0,this._errors=e.errors||0,this._messages=e.messages||[],this._createdSuccessfully=this._active&&0===this._errors}),[{key:"toJSON",value:function(){return{id:this._endpointId,active:this._active,default:this._default,label:this._label,description:this._description,lastModified:this._lastModified,objectsCount:this._objectsCount,propertiesCount:this._propertiesCount,warnings:this._warnings,errors:this._errors,messages:this._messages}}},{key:"endpointId",get:function(){return this._endpointId},set:function(t){this._endpointId=t}},{key:"endpointURI",get:function(){return this._endpointURI},set:function(t){this._endpointURI=t}},{key:"active",get:function(){return this._active},set:function(t){this._active=t}},{key:"default",get:function(){return this._default},set:function(t){this._default=t}},{key:"label",get:function(){return this._label},set:function(t){this._label=t}},{key:"description",get:function(){return this._description},set:function(t){this._description=t}},{key:"lastModified",get:function(){return this._lastModified},set:function(t){this._lastModified=t}},{key:"objectsCount",get:function(){return this._objectsCount},set:function(t){this._objectsCount=t}},{key:"propertiesCount",get:function(){return this._propertiesCount},set:function(t){this._propertiesCount=t}},{key:"warnings",get:function(){return this._warnings},set:function(t){this._warnings=t}},{key:"errors",get:function(){return this._errors},set:function(t){this._errors=t}},{key:"messages",get:function(){return this._messages},set:function(t){this._messages=t}},{key:"createdSuccessfully",get:function(){return this._createdSuccessfully},set:function(t){this._createdSuccessfully=t}}])}()},119:function(t,e,n){"use strict";n.r(e),n.d(e,"GraphqlEventName",(function(){return s}));var i=n(23),o=n(152);n(115);function r(t){var e=void 0,n=void 0,r=void 0,u=function(){return e},c=function(){return r},a=function(e,n){t.emitSync(e,Object(i.cloneDeep)(n))},d=function(e,n){return t.subscribeSync(e,(function(t){return n(t)}))};return{resetContext:function(){n=void 0,r=void 0},updateSourceRepository:function(t){e=t,a(s.SOURCE_REPOSITORY_UPDATED,u())},getSourceRepository:u,setSelectedEndpoint:function(t){n=t},getSelectedEndpoint:function(){return Object(i.cloneDeep)(n)},getNewEndpoint:c,createEndpointConfig:function(){r=new o.GraphqlEndpointConfiguration,t.emitSync(s.ENDPOINT_CONFIG_CREATED,r)},onEndpointConfigCreated:function(t){return r&&angular.isFunction(t)&&t(r),d(s.ENDPOINT_CONFIG_CREATED,(function(e){return t(e)}))},startCreateEndpointWizard:function(){a(s.START_CREATE_ENDPOINT_WIZARD,null)},generateEndpoint:function(){a(s.GENERATE_ENDPOINT,c())},endpointGenerated:function(t){a(s.ENDPOINT_GENERATED,t)},exploreEndpointInPlayground:function(t){a(s.EXPLORE_ENDPOINT_IN_PLAYGROUND,t)},openEndpointGenerationReport:function(t){a(s.OPEN_ENDPOINT_GENERATION_REPORT,t)},cancelEndpointCreation:function(){a(s.CANCEL_ENDPOINT_CREATION,{})},nextEndpointCreationStep:function(){a(s.NEXT_ENDPOINT_CREATION_STEP,{})},previousEndpointCreationStep:function(){a(s.PREVIOUS_ENDPOINT_CREATION_STEP,{})},subscribe:d}}angular.module("graphdb.framework.graphql.services.graphql-context",[]).factory("GraphqlContextService",r),r.$inject=["EventEmitterService","GraphqlService"];var s={SOURCE_REPOSITORY_UPDATED:"sourceRepositoryUpdated",START_CREATE_ENDPOINT_WIZARD:"startCreateEndpointWizard",ENDPOINT_CONFIG_CREATED:"updateConfigCreated",GENERATE_ENDPOINT:"generateEndpoint",ENDPOINT_GENERATED:"endpointGenerated",CANCEL_ENDPOINT_CREATION:"cancelEndpointCreation",EXPLORE_ENDPOINT_IN_PLAYGROUND:"exploreEndpointInPlayground",OPEN_ENDPOINT_GENERATION_REPORT:"openEndpointGenerationReport",NEXT_ENDPOINT_CREATION_STEP:"nextEndpointCreationStep",PREVIOUS_ENDPOINT_CREATION_STEP:"previousEndpointCreationStep"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[112,234],{115:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,c(i.key),i)}}function s(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t,e,n){return(e=c(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"EndpointGenerationReportList",(function(){return a})),n.d(e,"EndpointGenerationReport",(function(){return d}));var a=function(){return s((function t(e){o(this,t),u(this,"_reports",void 0),this._reports=e||[]}),[{key:"getReport",value:function(t){return this._reports.find((function(e){return e.endpointId===t}))}},{key:"reports",get:function(){return this._reports},set:function(t){this._reports=t}}])}(),d=function(){return s((function t(e){o(this,t),u(this,"_endpointId",void 0),u(this,"_endpointURI",void 0),u(this,"_active",void 0),u(this,"_default",void 0),u(this,"_label",void 0),u(this,"_description",void 0),u(this,"_lastModified",void 0),u(this,"_objectsCount",void 0),u(this,"_propertiesCount",void 0),u(this,"_warnings",void 0),u(this,"_errors",void 0),u(this,"_messages",void 0),u(this,"_createdSuccessfully",void 0),this._endpointId=e.endpointId||"",this._endpointURI=e.endpointURI||"",this._active=e.active||!1,this._default=e.default||!1,this._label=e.label||"",this._description=e.description||"",this._lastModified=e.lastModified||"",this._objectsCount=e.objectsCount||0,this._propertiesCount=e.propertiesCount||0,this._warnings=e.warnings||0,this._errors=e.errors||0,this._messages=e.messages||[],this._createdSuccessfully=this._active&&0===this._errors}),[{key:"toJSON",value:function(){return{id:this._endpointId,active:this._active,default:this._default,label:this._label,description:this._description,lastModified:this._lastModified,objectsCount:this._objectsCount,propertiesCount:this._propertiesCount,warnings:this._warnings,errors:this._errors,messages:this._messages}}},{key:"endpointId",get:function(){return this._endpointId},set:function(t){this._endpointId=t}},{key:"endpointURI",get:function(){return this._endpointURI},set:function(t){this._endpointURI=t}},{key:"active",get:function(){return this._active},set:function(t){this._active=t}},{key:"default",get:function(){return this._default},set:function(t){this._default=t}},{key:"label",get:function(){return this._label},set:function(t){this._label=t}},{key:"description",get:function(){return this._description},set:function(t){this._description=t}},{key:"lastModified",get:function(){return this._lastModified},set:function(t){this._lastModified=t}},{key:"objectsCount",get:function(){return this._objectsCount},set:function(t){this._objectsCount=t}},{key:"propertiesCount",get:function(){return this._propertiesCount},set:function(t){this._propertiesCount=t}},{key:"warnings",get:function(){return this._warnings},set:function(t){this._warnings=t}},{key:"errors",get:function(){return this._errors},set:function(t){this._errors=t}},{key:"messages",get:function(){return this._messages},set:function(t){this._messages=t}},{key:"createdSuccessfully",get:function(){return this._createdSuccessfully},set:function(t){this._createdSuccessfully=t}}])}()},119:function(t,e,n){"use strict";n.r(e),n.d(e,"GraphqlEventName",(function(){return s}));var i=n(23),o=n(152);n(115);function r(t){var e=void 0,n=void 0,r=void 0,u=function(){return e},c=function(){return r},a=function(e,n){t.emitSync(e,Object(i.cloneDeep)(n))},d=function(e,n){return t.subscribeSync(e,(function(t){return n(t)}))};return{resetContext:function(){n=void 0,r=void 0},updateSourceRepository:function(t){e=t,a(s.SOURCE_REPOSITORY_UPDATED,u())},getSourceRepository:u,setSelectedEndpoint:function(t){n=t},getSelectedEndpoint:function(){return Object(i.cloneDeep)(n)},getNewEndpoint:c,createEndpointConfig:function(){r=new o.GraphqlEndpointConfiguration,t.emitSync(s.ENDPOINT_CONFIG_CREATED,r)},onEndpointConfigCreated:function(t){return r&&angular.isFunction(t)&&t(r),d(s.ENDPOINT_CONFIG_CREATED,(function(e){return t(e)}))},startCreateEndpointWizard:function(){a(s.START_CREATE_ENDPOINT_WIZARD,null)},generateEndpoint:function(){a(s.GENERATE_ENDPOINT,c())},endpointGenerated:function(t){a(s.ENDPOINT_GENERATED,t)},exploreEndpointInPlayground:function(t){a(s.EXPLORE_ENDPOINT_IN_PLAYGROUND,t)},openEndpointGenerationReport:function(t){a(s.OPEN_ENDPOINT_GENERATION_REPORT,t)},deleteEndpointGenerationReport:function(t){a(s.DELETE_ENDPOINT_REPORT,t)},cancelEndpointCreation:function(){a(s.CANCEL_ENDPOINT_CREATION,{})},nextEndpointCreationStep:function(){a(s.NEXT_ENDPOINT_CREATION_STEP,{})},previousEndpointCreationStep:function(){a(s.PREVIOUS_ENDPOINT_CREATION_STEP,{})},subscribe:d}}angular.module("graphdb.framework.graphql.services.graphql-context",[]).factory("GraphqlContextService",r),r.$inject=["EventEmitterService","GraphqlService"];var s={SOURCE_REPOSITORY_UPDATED:"sourceRepositoryUpdated",START_CREATE_ENDPOINT_WIZARD:"startCreateEndpointWizard",ENDPOINT_CONFIG_CREATED:"updateConfigCreated",GENERATE_ENDPOINT:"generateEndpoint",ENDPOINT_GENERATED:"endpointGenerated",CANCEL_ENDPOINT_CREATION:"cancelEndpointCreation",EXPLORE_ENDPOINT_IN_PLAYGROUND:"exploreEndpointInPlayground",OPEN_ENDPOINT_GENERATION_REPORT:"openEndpointGenerationReport",DELETE_ENDPOINT_REPORT:"deleteEndpointReport",NEXT_ENDPOINT_CREATION_STEP:"nextEndpointCreationStep",PREVIOUS_ENDPOINT_CREATION_STEP:"previousEndpointCreationStep"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[142,343],{205:function(e,t,n){"use strict";n.r(t),n.d(t,"GraphqlRestServiceMock",(function(){return c}));var a=n(23);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,r(a.key),a)}}function r(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=i(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}var c=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"getEndpointsMock",value:function(e){return new Promise((function(e){setTimeout((function(){return e({data:Object(a.cloneDeep)(s)})}),200)}))}},{key:"getEndpointsInfoMock",value:function(e){return new Promise((function(e){setTimeout((function(){return e({data:Object(a.cloneDeep)(l)})}),200)}))}},{key:"getGraphqlSchemaShapesMock",value:function(e){return new Promise((function(e){setTimeout((function(){return e({data:Object(a.cloneDeep)(p)})}),200)}))}},{key:"getEndpointConfigurationMock",value:function(){return new Promise((function(e){setTimeout((function(){return e({data:Object(a.cloneDeep)(u)})}),200)}))}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}(),s={repository:"swapi",endpoints:[{id:"swapi",graphQL:"/rest/repositories/swapi/graphql/swapi",active:!0,default:!0},{id:"film-restricted",graphQL:"/rest/repositories/swapi/graphql/film-restricted",active:!0,default:!1},{id:"swapi-charcters",graphQL:"/rest/repositories/swapi/graphql/swapi-charcters",active:!1,default:!1}]},l={endpoints:[{id:"gqlendpoint1",endpointId:"swapi",endpointURI:"/rest/repositories/swapi/graphql/swapi",label:"SWAPI GraphQL endpoint",description:"SWAPI GraphQL endpoint description",default:!1,active:!0,lastModified:"2025-01-28",objects_count:10,properties_count:120,warnings:0,errors:0,status:""},{id:"gqlendpoint2",endpointId:"film-restricted",endpointURI:"/rest/repositories/swapi/graphql/film-restricted",label:"SWAPI GraphQL endpoint with restricted film relations",description:"SWAPI GraphQL endpoint with restricted film relations description",default:!0,active:!0,lastModified:"2025-01-28",objects_count:13,properties_count:133,warnings:0,errors:0,status:""},{id:"gqlendpoint3",endpointId:"swapi-characters",endpointURI:"/rest/repositories/swapi/graphql/swapi-characters",label:"SWAPI GraphQL endpoint for swapi characters",description:"SWAPI GraphQL endpoint for swapi characters description",default:!1,active:!1,lastModified:"2025-01-28",objects_count:3,properties_count:20,warnings:0,errors:0,status:""}]},p={shapes:[{id:"https://schema.ubs.net/schema/AIModelSchema",name:"AI Model Schema",label:"AI Model Schema",description:null},{id:"https://schema.ubs.net/schema/AIProductSchema",name:"AI Product Schema",label:"AI Product Schema",description:null},{id:"https://schema.ubs.net/schema/DatabaseSchema",name:null,label:"Database Schema",description:null},{id:"https://schema.ubs.net/schema/BbsPermissionSchema",name:null,label:"BBS Permissions",description:null},{id:"https://schema.ubs.net/schema/DataProductBasicSchema",name:null,label:"Data Product Basic Schema No Policy and No Provenance",description:null},{id:"https://schema.ubs.net/schema/DataQualityMetricSchema",name:null,label:"Data Quality Metric Schema",description:"This is the basic schema for DQV initiated from Metric class"},{id:"https://schema.ubs.net/schema/DataQualityObservationSchema",name:null,label:"Data Quality Observation Schema",description:null},{id:"https://schema.ubs.net/schema/DatasetSchema",name:null,label:"Dataset Schema",description:null},{id:"https://schema.ubs.net/schema/ApplicationSchema",name:null,label:"Application Schema",description:null},{id:"https://schema.ubs.net/schema/PolicyBasicSchema",name:null,label:"Policy Basic Schema",description:null},{id:"https://schema.ubs.net/schema/DataQualityMeasurementSchema",name:null,label:"Data Quality Measurement Schema",description:null},{id:"https://schema.ubs.net/schema/DataProductFullSchema",name:null,label:"Data Product Schema where datasets can also be defined",description:null},{id:"https://schema.ubs.net/schema/ValidationSchema",name:null,label:"Validation Schema",description:null},{id:"https://schema.ubs.net/schema/WMAAccountSchema",name:null,label:"WMA Account Schema",description:null}]},u={configs:[{key:"str",label:"String",type:"string",collection:!1,value:"strValue",values:[],regex:"^(?:ALL:?)?(?:(?:-?[\\w]{2}(?:-[\\w]*)?~?|-?NONE|ANY|BROWSER)?(?:,(?:-?[\\w]{2}(?:-[\\w]*)?~?|-?NONE|ANY|BROWSER))*)$"},{key:"bool",label:"Boolean value",description:"",type:"boolean",collection:!1,value:!1,values:[]},{key:"select",label:"Select",type:"",collection:!1,value:"Two",values:["One","Two","Three"]},{key:"multiselect",label:"Multiselect",type:"",collection:!0,value:["Angular","JavaScript"],values:["Angular","JavaScript","WebDevelopment"]},{key:"json",label:"JSON",type:"json",collection:!1,value:'{"foo": "bar"}',values:[],required:!0}]}},268:function(e,t,n){"use strict";n.r(t);var a=n(25),i=n(205);angular.module("graphdb.framework.rest.graphql.service",[]).factory("GraphqlRestService",o),o.$inject=["$http","Upload"];function o(e,t){new i.GraphqlRestServiceMock;return{getEndpoints:function(t){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/endpoints"))},getEndpointsInfo:function(t,n){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/list"))},getGraphqlSchemaShapes:function(t){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/graphql_shapes"))},getPrefixes:function(t){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/prefixes"))},getShaclShapeGraphs:function(t){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/shacl_graphs"))},getGraphqlGenerationSettings:function(){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/graphql/manage/generate/config"))},getGraphqlEndpointConfigurationSettings:function(t,n){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n,"/config"))},getEndpointConfiguration:function(t,n){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n))},editEndpointConfiguration:function(t,n,i){return e.post("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n),i)},deleteEndpoint:function(t,n){return e.delete("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n))},generateEndpointFromGraphqlShapes:function(t,n){return e.post("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/generate/graphql_shapes"),n)},generateEndpointFromOwl:function(t,n){return e.post("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/generate/owl_shacl"),n)},exportEndpointDefinition:function(t,n){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n,"/export"),{responseType:"blob"})},importEndpointDefinition:function(e,n){return t.http({url:"".concat(a.REPOSITORIES_ENDPOINT,"/").concat(e,"/graphql/manage/endpoints/import"),data:n,headers:{"Content-Type":void 0}})}}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[142,343],{205:function(e,t,n){"use strict";n.r(t),n.d(t,"GraphqlRestServiceMock",(function(){return c}));var a=n(23);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,r(a.key),a)}}function r(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=i(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}var c=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"getEndpointsMock",value:function(e){return new Promise((function(e){setTimeout((function(){return e({data:Object(a.cloneDeep)(s)})}),200)}))}},{key:"getEndpointsInfoMock",value:function(e){return new Promise((function(e){setTimeout((function(){return e({data:Object(a.cloneDeep)(l)})}),200)}))}},{key:"getGraphqlSchemaShapesMock",value:function(e){return new Promise((function(e){setTimeout((function(){return e({data:Object(a.cloneDeep)(p)})}),200)}))}},{key:"getEndpointConfigurationMock",value:function(){return new Promise((function(e){setTimeout((function(){return e({data:Object(a.cloneDeep)(u)})}),200)}))}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}(),s={repository:"swapi",endpoints:[{id:"swapi",graphQL:"/rest/repositories/swapi/graphql/swapi",active:!0,default:!0},{id:"film-restricted",graphQL:"/rest/repositories/swapi/graphql/film-restricted",active:!0,default:!1},{id:"swapi-charcters",graphQL:"/rest/repositories/swapi/graphql/swapi-charcters",active:!1,default:!1}]},l={endpoints:[{id:"gqlendpoint1",endpointId:"swapi",endpointURI:"/rest/repositories/swapi/graphql/swapi",label:"SWAPI GraphQL endpoint",description:"SWAPI GraphQL endpoint description",default:!1,active:!0,lastModified:"2025-01-28",objects_count:10,properties_count:120,warnings:0,errors:0,status:""},{id:"gqlendpoint2",endpointId:"film-restricted",endpointURI:"/rest/repositories/swapi/graphql/film-restricted",label:"SWAPI GraphQL endpoint with restricted film relations",description:"SWAPI GraphQL endpoint with restricted film relations description",default:!0,active:!0,lastModified:"2025-01-28",objects_count:13,properties_count:133,warnings:0,errors:0,status:""},{id:"gqlendpoint3",endpointId:"swapi-characters",endpointURI:"/rest/repositories/swapi/graphql/swapi-characters",label:"SWAPI GraphQL endpoint for swapi characters",description:"SWAPI GraphQL endpoint for swapi characters description",default:!1,active:!1,lastModified:"2025-01-28",objects_count:3,properties_count:20,warnings:0,errors:0,status:""}]},p={shapes:[{id:"https://schema.ubs.net/schema/AIModelSchema",name:"AI Model Schema",label:"AI Model Schema",description:null},{id:"https://schema.ubs.net/schema/AIProductSchema",name:"AI Product Schema",label:"AI Product Schema",description:null},{id:"https://schema.ubs.net/schema/DatabaseSchema",name:null,label:"Database Schema",description:null},{id:"https://schema.ubs.net/schema/BbsPermissionSchema",name:null,label:"BBS Permissions",description:null},{id:"https://schema.ubs.net/schema/DataProductBasicSchema",name:null,label:"Data Product Basic Schema No Policy and No Provenance",description:null},{id:"https://schema.ubs.net/schema/DataQualityMetricSchema",name:null,label:"Data Quality Metric Schema",description:"This is the basic schema for DQV initiated from Metric class"},{id:"https://schema.ubs.net/schema/DataQualityObservationSchema",name:null,label:"Data Quality Observation Schema",description:null},{id:"https://schema.ubs.net/schema/DatasetSchema",name:null,label:"Dataset Schema",description:null},{id:"https://schema.ubs.net/schema/ApplicationSchema",name:null,label:"Application Schema",description:null},{id:"https://schema.ubs.net/schema/PolicyBasicSchema",name:null,label:"Policy Basic Schema",description:null},{id:"https://schema.ubs.net/schema/DataQualityMeasurementSchema",name:null,label:"Data Quality Measurement Schema",description:null},{id:"https://schema.ubs.net/schema/DataProductFullSchema",name:null,label:"Data Product Schema where datasets can also be defined",description:null},{id:"https://schema.ubs.net/schema/ValidationSchema",name:null,label:"Validation Schema",description:null},{id:"https://schema.ubs.net/schema/WMAAccountSchema",name:null,label:"WMA Account Schema",description:null}]},u={configs:[{key:"str",label:"String",type:"string",collection:!1,value:"strValue",values:[],regex:"^(?:ALL:?)?(?:(?:-?[\\w]{2}(?:-[\\w]*)?~?|-?NONE|ANY|BROWSER)?(?:,(?:-?[\\w]{2}(?:-[\\w]*)?~?|-?NONE|ANY|BROWSER))*)$"},{key:"bool",label:"Boolean value",description:"",type:"boolean",collection:!1,value:!1,values:[]},{key:"select",label:"Select",type:"",collection:!1,value:"Two",values:["One","Two","Three"]},{key:"multiselect",label:"Multiselect",type:"",collection:!0,value:["Angular","JavaScript"],values:["Angular","JavaScript","WebDevelopment"]},{key:"json",label:"JSON",type:"json",collection:!1,value:'{"foo": "bar"}',values:[],required:!0}]}},268:function(e,t,n){"use strict";n.r(t);var a=n(25),i=n(205);angular.module("graphdb.framework.rest.graphql.service",[]).factory("GraphqlRestService",o),o.$inject=["$http","Upload"];function o(e,t){new i.GraphqlRestServiceMock;return{getEndpoints:function(t){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/endpoints"))},getEndpointsInfo:function(t,n){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/list"))},getGraphqlSchemaShapes:function(t){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/graphql_shapes"))},getPrefixes:function(t){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/prefixes"))},getShaclShapeGraphs:function(t){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/shacl_graphs"))},getGraphqlGenerationSettings:function(){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/graphql/manage/generate/config"))},getGraphqlEndpointConfigurationSettings:function(t,n){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n,"/config"))},getEndpointConfiguration:function(t,n){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n))},editEndpointConfiguration:function(t,n,i){return e.post("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n),i)},deleteEndpoint:function(t,n){return e.delete("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n))},generateEndpointFromGraphqlShapes:function(t,n){return e.post("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/generate/graphql_shapes"),n)},generateEndpointFromOwl:function(t,n){return e.post("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/generate/owl_shacl"),n)},exportEndpointDefinition:function(t,n){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n,"/export"),{responseType:"blob"})},importEndpointDefinition:function(e,n){return t.http({url:"".concat(a.REPOSITORIES_ENDPOINT,"/").concat(e,"/graphql/manage/endpoints/import"),data:n,headers:{"Content-Type":void 0}})},deleteEndpointGenerationReport:function(t,n){return e.patch("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n,"/messages"))}}}}}]);
@@ -0,0 +1,2 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[18,84,105,106,170,233],{119:function(n,t,e){"use strict";e.r(t),e.d(t,"GraphqlEventName",(function(){return a}));var o=e(23),i=e(152);e(115);function r(n){var t=void 0,e=void 0,r=void 0,s=function(){return t},l=function(){return r},u=function(t,e){n.emitSync(t,Object(o.cloneDeep)(e))},d=function(t,e){return n.subscribeSync(t,(function(n){return e(n)}))};return{resetContext:function(){e=void 0,r=void 0},updateSourceRepository:function(n){t=n,u(a.SOURCE_REPOSITORY_UPDATED,s())},getSourceRepository:s,setSelectedEndpoint:function(n){e=n},getSelectedEndpoint:function(){return Object(o.cloneDeep)(e)},getNewEndpoint:l,createEndpointConfig:function(){r=new i.GraphqlEndpointConfiguration,n.emitSync(a.ENDPOINT_CONFIG_CREATED,r)},onEndpointConfigCreated:function(n){return r&&angular.isFunction(n)&&n(r),d(a.ENDPOINT_CONFIG_CREATED,(function(t){return n(t)}))},startCreateEndpointWizard:function(){u(a.START_CREATE_ENDPOINT_WIZARD,null)},generateEndpoint:function(){u(a.GENERATE_ENDPOINT,l())},endpointGenerated:function(n){u(a.ENDPOINT_GENERATED,n)},exploreEndpointInPlayground:function(n){u(a.EXPLORE_ENDPOINT_IN_PLAYGROUND,n)},openEndpointGenerationReport:function(n){u(a.OPEN_ENDPOINT_GENERATION_REPORT,n)},deleteEndpointGenerationReport:function(n){u(a.DELETE_ENDPOINT_REPORT,n)},cancelEndpointCreation:function(){u(a.CANCEL_ENDPOINT_CREATION,{})},nextEndpointCreationStep:function(){u(a.NEXT_ENDPOINT_CREATION_STEP,{})},previousEndpointCreationStep:function(){u(a.PREVIOUS_ENDPOINT_CREATION_STEP,{})},subscribe:d}}angular.module("graphdb.framework.graphql.services.graphql-context",[]).factory("GraphqlContextService",r),r.$inject=["EventEmitterService","GraphqlService"];var a={SOURCE_REPOSITORY_UPDATED:"sourceRepositoryUpdated",START_CREATE_ENDPOINT_WIZARD:"startCreateEndpointWizard",ENDPOINT_CONFIG_CREATED:"updateConfigCreated",GENERATE_ENDPOINT:"generateEndpoint",ENDPOINT_GENERATED:"endpointGenerated",CANCEL_ENDPOINT_CREATION:"cancelEndpointCreation",EXPLORE_ENDPOINT_IN_PLAYGROUND:"exploreEndpointInPlayground",OPEN_ENDPOINT_GENERATION_REPORT:"openEndpointGenerationReport",DELETE_ENDPOINT_REPORT:"deleteEndpointReport",NEXT_ENDPOINT_CREATION_STEP:"nextEndpointCreationStep",PREVIOUS_ENDPOINT_CREATION_STEP:"previousEndpointCreationStep"}},127:function(n,t){angular.module("graphdb.framework.core.directives.multiselect-dropdown",[]).directive("multiselectDropdown",["$translate",function(n){return{restrict:"E",require:"ngModel",scope:{options:"=",dropdownLabel:"=?"},templateUrl:"js/angular/core/directives/multiselect-dropdown/templates/multiselect-dropdown.html",link:function(t,e,o,i){t.isOpen=!1;var r=function(n){e[0].contains(n.target)||t.$apply((function(){t.isOpen=!1}))};t.toggleDropdown=function(){t.isOpen=!t.isOpen},t.toggleSelection=function(n){var e;n.selected=!n.selected,e=t.options.filter((function(n){return n.selected})),i.$setViewValue(e)},t.getSelectedText=function(){var e=t.options.filter((function(n){return n.selected}));return 0===e.length?t.dropdownLabel||n.instant("common.select"):e.map((function(n){return n.label})).join(", ")},i.$render=function(){angular.isArray(i.$viewValue)&&t.options.forEach((function(n){n.selected=i.$viewValue.some((function(t){return t.value===n.value}))}))},document.addEventListener("click",r),t.$on("$destroy",(function(){document.removeEventListener("click",r)}))}}}])},145:function(n,t,e){"use strict";function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function i(n){return function(n){if(Array.isArray(n))return r(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,t){if(n){if("string"==typeof n)return r(n,t);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?r(n,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,o=Array(t);e<t;e++)o[e]=n[e];return o}function a(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function s(n,t){for(var e=0;e<t.length;e++){var o=t[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,d(o.key),o)}}function l(n,t,e){return t&&s(n.prototype,t),e&&s(n,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function u(n,t,e){return(t=d(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function d(n){var t=function(n,t){if("object"!=o(n)||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var i=e.call(n,t||"default");if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"==o(t)?t:t+""}e.r(t),e.d(t,"ImportStatus",(function(){return c})),e.d(t,"ImportStatusLabelKeys",(function(){return p})),e.d(t,"ImportStatusToViewMapping",(function(){return f})),e.d(t,"EndpointDefinitionFileList",(function(){return g})),e.d(t,"EndpointDefinitionFile",(function(){return E}));var c={PENDING:"PENDING",SUCCESS:"SUCCESS",FAIL:"FAIL",SKIP:"SKIP"},p=u(u(u(u({},c.PENDING,"graphql.endpoints_management.import_definition_modal.status.pending"),c.SUCCESS,"graphql.endpoints_management.import_definition_modal.status.completed"),c.FAIL,"graphql.endpoints_management.import_definition_modal.status.failed"),c.SKIP,"graphql.endpoints_management.import_definition_modal.status.not_allowed"),f=u(u(u(u({},c.PENDING,"tag-warning"),c.SUCCESS,"tag-success"),c.FAIL,"tag-danger"),c.SKIP,"tag-info"),g=function(){return l((function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];a(this,n),u(this,"_list",void 0),u(this,"_size",void 0),this._list=t,this._size=t.length}),[{key:"processWith",value:function(n){this.list.forEach(n)}},{key:"findDefinitionFileByName",value:function(n){return this.list.find((function(t){return t.file.name===n}))}},{key:"getFileNames",value:function(){return this.list.map((function(n){return n.file.name}))}},{key:"appendFiles",value:function(n){var t;(t=this.list).push.apply(t,i(n)),this._size=this.list.length}},{key:"removeFile",value:function(n){this.list=this.list.filter((function(t){return t.file!==n.file}))}},{key:"size",get:function(){return this._size},set:function(n){this._size=n}},{key:"list",get:function(){return this._list},set:function(n){this._list=n,this._size=n.length}}])}(),E=function(){return l((function n(t,e,o,i){a(this,n),u(this,"_list",void 0),u(this,"_file",void 0),u(this,"_filename",void 0),u(this,"_status",void 0),u(this,"_viewStatus",void 0),u(this,"_statusMessage",void 0),u(this,"_endpointId",void 0),u(this,"_report",void 0),this._file=t,this._status=e,this._viewStatus=f[e],this._statusMessage=o,this._list=i}),[{key:"file",get:function(){return this._file},set:function(n){this._file=n}},{key:"filename",get:function(){return this._filename},set:function(n){this._filename=n}},{key:"status",get:function(){return this._status},set:function(n){this._status=n,this._viewStatus=f[n]}},{key:"viewStatus",get:function(){return this._viewStatus},set:function(n){this._viewStatus=n}},{key:"statusMessage",get:function(){return this._statusMessage},set:function(n){this._statusMessage=n}},{key:"endpointId",get:function(){return this._endpointId},set:function(n){this._endpointId=n}},{key:"report",get:function(){return this._report},set:function(n){this._report=n}},{key:"list",get:function(){return this._list},set:function(n){this._list=n}}])}()},215:function(n,t,e){"use strict";e.r(t),e.d(t,"fileToImportDefinitionsMapper",(function(){return s})),e.d(t,"fileToImportDefinitionMapper",(function(){return l})),e.d(t,"importEndpointDefinitionListMapper",(function(){return u}));var o=e(145),i=e(169);function r(n){return function(n){if(Array.isArray(n))return a(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,t){if(n){if("string"==typeof n)return a(n,t);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?a(n,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,o=Array(t);e<t;e++)o[e]=n[e];return o}var s=function(n,t){var e=n.map((function(n){return l(n,t)}));return new o.EndpointDefinitionFileList(e)},l=function(n,t){return new o.EndpointDefinitionFile(n,t,o.ImportStatusLabelKeys[t])},u=function(n,t,e){if(!n||!n.length)return new o.EndpointDefinitionFileList;var a=function(n){var r=n.id,s=n.filename,l=n.status.toUpperCase(),u=e.findDefinitionFileByName(s)||new o.EndpointDefinitionFile;if(u.endpointId=r,u.filename=s,u.status=l,u.statusMessage=o.ImportStatusLabelKeys[l],u.report=Object(i.importEndpointDefinitionReportMapper)(n,r,t),n.subFiles){var d=n.subFiles.map(a);u.list=new o.EndpointDefinitionFileList(d)}return u};return n.forEach(a),new o.EndpointDefinitionFileList(r(e.list))}},304:function(n,t,e){"use strict";e.r(t);e(121),e(134),e(127);function o(n,t,e,o,i,r){n.repositoryId=e.repositoryId,n.endpointConfiguration=e.endpointConfiguration,n.endpointConfigurationSettings=void 0,n.endpointConfigurationSettingsValid=!1,n.loadingEndpointConfigurationSettings=!1,n.savingEndpointSettings=!1,n.ok=function(){a()},n.cancel=function(){t.dismiss("cancel")},n.handleValidityChange=function(t){n.endpointConfigurationSettingsValid=t};var a=function(){n.savingEndpointSettings=!0;var e=n.endpointConfiguration.toUpdateEndpointRequest(n.endpointConfigurationSettings);r.editEndpointConfiguration(n.repositoryId,n.endpointConfiguration.endpointId,e.getUpdateEndpointSettingsRequest()).then((function(){t.close(),i.success(o.instant("graphql.endpoints_management.endpoint_configuration_modal.messages.success_saving_configuration"))})).catch((function(n){i.error(getError(n),o.instant("graphql.endpoints_management.endpoint_configuration_modal.messages.error_saving_configuration"))})).finally((function(){n.savingEndpointSettings=!1}))};n.loadingEndpointConfigurationSettings=!0,r.getGraphqlEndpointConfigurationSettings(n.repositoryId,n.endpointConfiguration.endpointId).then((function(t){n.endpointConfigurationSettings=t})).catch((function(n){i.error(getError(n))})).finally((function(){n.loadingEndpointConfigurationSettings=!1}))}angular.module("graphdb.framework.graphql.controllers.graphql-endpoint-configuration-modal",["graphdb.framework.core.services.graphql-service","graphdb.framework.core.directives.dynamic-form","graphdb.framework.core.directives.multiselect-dropdown"]).controller("GraphqlEndpointConfigurationModalController",o),o.$inject=["$scope","$uibModalInstance","data","$translate","toastr","GraphqlService"]},305:function(n,t,e){"use strict";e.r(t);e(121);var o=e(145),i=e(215),r=e(109),a=e(151);function s(n,t,e,s,l,u,d,c){var p=[".zip",".yaml",".yml"];n.allowedFileTypesString=p.join(","),n.ImportStatus=o.ImportStatus,n.repositoryId=u.repositoryId,n.definitionFiles=new o.EndpointDefinitionFileList,n.progress=void 0,n.uploadFinished=!1,n.onFilesChange=function(t,e,r,a,s){var l=r||[],u=l.filter((function(n){var t="."+n.name.split(".").pop().toLowerCase();return!p.includes(t)}));if(u.length&&console.error("The following files have invalid extensions: ".concat(u.map((function(n){return n.name})).join(", "))),(l=l.filter((function(n){var t="."+n.name.split(".").pop().toLowerCase();return p.includes(t)})))&&l.length){n.progress=void 0;var d=new Set(n.definitionFiles.getFileNames()),c=l.filter((function(n){return!d.has(n.name)}));n.definitionFiles.appendFiles(Object(i.fileToImportDefinitionsMapper)(c,o.ImportStatus.PENDING).list)}},n.onImport=function(){n.uploadFinished=!1;var t=f();d.importEndpointDefinition(n.repositoryId,t).progress((function(t){n.uploadFinished||(n.progress=Math.min(100,parseInt(100*t.loaded/t.total)))})).success((function(t){n.progress=void 0,n.uploadFinished=!0,n.definitionFiles=Object(i.importEndpointDefinitionListMapper)(t,n.repositoryId,n.definitionFiles)})).error((function(t){n.progress=void 0,n.uploadFinished=!0,e.error(getError(t))}))},n.onRemoveFile=function(t){n.definitionFiles.removeFile(t),0===n.definitionFiles.size&&(n.progress=void 0)},n.onExploreEndpoint=function(n){var t=Object(r.resolvePlaygroundUrlWithEndpoint)(n);c.setSelectedEndpoint(new a.GraphqlEndpointInfo({endpointId:n})),window.open(t,"_blank","noopener,noreferrer")},n.onOpenReport=function(n){return s.open({templateUrl:"js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html",controller:"EndpointGenerationResultFailureModalController",windowClass:"endpoint-generation-failure-result-modal",size:"lg",backdrop:"static",keyboard:!1,resolve:{data:function(){return{endpointReport:n}}}}).result},n.close=function(){l.dismiss("cancel")};var f=function(){var t=new FormData;return n.definitionFiles.processWith((function(n){t.append("importFiles",n.file,n.file.name)})),t}}angular.module("graphdb.framework.graphql.controllers.import-endpoint-definition-modal",["ngFileUpload","graphdb.framework.core.services.graphql-service"]).controller("ImportEndpointDefinitionModalController",s),s.$inject=["$scope","$q","toastr","$uibModal","$uibModalInstance","data","GraphqlService","GraphqlContextService"]},369:function(n,t,e){"use strict";e.r(t);e(121);var o=e(119),i=(e(304),e(305),e(110)),r=e(109),a=e(617),s=e(151);function l(n,t,e,l,u,d,c,p,f,g,E){var m=[];n.hasEndpoints=!1,n.expandedRow=-1,n.loadingEndpointsInfo=!1,n.endpointsInfoList=void 0,n.filterTerm="",n.selectedDefaultEndpoint=void 0,n.operationInProgress=!1;var h=void 0,v=void 0;n.changingEndpointActiveState=!1,n.setEndpointAsDefault=function(t){var e;n.selectedDefaultEndpoint&&(e=n.selectedDefaultEndpoint,n.selectedDefaultEndpoint.default=!1),n.selectedDefaultEndpoint=t,t.default=!0,n.operationInProgress=!0;var o=t.toUpdateEndpointRequest(n.endpointConfigurationSettings);f.editEndpointConfiguration(l.getActiveRepository(),t.endpointId,o.getUpdateDefaultEndpointRequest()).then((function(t){c.success(p.instant("graphql.endpoints_management.table.actions.set_as_default.success",{endpointId:t.endpointId})),n.endpointsInfoList.updateEndpoint(t)})).catch((function(o){t.default=!0,e?(n.selectedDefaultEndpoint.default=!1,n.selectedDefaultEndpoint=e,n.selectedDefaultEndpoint.default=!0):n.selectedDefaultEndpoint=void 0,c.error(getError(o)),console.error("Error setting default endpoint",o)})).finally((function(){n.operationInProgress=!1}))},n.toggleRow=function(t,e){t.preventDefault(),n.expandedRow===e?n.expandedRow=-1:n.expandedRow=e},n.onExploreEndpoint=function(n){var e=Object(r.resolvePlaygroundUrlWithEndpoint)(n.endpointId);t.url(e)},n.onEndpointsFilter=function(t){n.filterTerm=t.toLowerCase(),n.endpointsInfoList.filter(t)},n.startCreateEndpointWizard=function(){g.startCreateEndpointWizard()},n.toggleEndpointActiveState=function(t){n.changingEndpointActiveState=!0;var e=!t.active,o=t.toUpdateEndpointRequest(n.endpointConfigurationSettings);f.editEndpointConfiguration(l.getActiveRepository(),t.endpointId,o.getUpdateEndpointActiveStateRequest()).then((function(t){var o=e?"activated":"deactivated";c.success(p.instant("graphql.endpoints_management.table.actions.toggle_active_state.".concat(o,".success"),{endpointId:t.endpointId})),n.endpointsInfoList.updateEndpoint(t)})).catch((function(n){t.active=!e,c.error(getError(n)),console.error("Error updating endpoint active state",n)})).finally((function(){n.changingEndpointActiveState=!1}))},n.importSchema=function(){return u.open({templateUrl:"js/angular/graphql/templates/modal/import-endpoint-definition-modal.html",controller:"ImportEndpointDefinitionModalController",windowClass:"import-endpoint-definition-modal",size:"lg",backdrop:"static",keyboard:!1,resolve:{data:function(){return{repositoryId:l.getActiveRepository()}}}}).result},n.onExportSchema=function(n){f.exportEndpointDefinition(l.getActiveRepository(),n.endpointId).then((function(n){var t=n.data,e=n.filename;Object(a.saveAs)(t,e)})).catch((function(n){c.error(getError(n)),console.error("Error exporting GraphQL endpoint definition",n)}))},n.onConfigureEndpoint=function(n){return u.open({templateUrl:"js/angular/graphql/templates/modal/endpoint-configuration-modal.html",controller:"GraphqlEndpointConfigurationModalController",windowClass:"graphql-endpoint-configuration-modal",size:"lg",backdrop:"static",keyboard:!1,resolve:{data:function(){return{repositoryId:l.getActiveRepository(),endpointConfiguration:n}}}}).result},n.onDeleteEndpoint=function(n){d.openConfirmationModal({title:p.instant("graphql.endpoints_management.table.actions.delete_endpoint.confirmation.title"),message:p.instant("graphql.endpoints_management.table.actions.delete_endpoint.confirmation.body",{name:n.endpointId}),confirmButtonKey:"common.confirm"},(function(){I(n)}))},n.onShowEndpointReport=function(n){f.getEndpointConfigurationReport(l.getActiveRepository(),n.endpointId).then((function(t){y(t.getReport(n.endpointId))})).catch((function(n){c.error(getError(n)),console.error("Error loading GraphQL endpoint configuration",n)}))};var y=function(n){return u.open({templateUrl:"js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html",controller:"EndpointGenerationResultFailureModalController",windowClass:"endpoint-generation-failure-result-modal",size:"lg",backdrop:"static",keyboard:!1,resolve:{data:function(){return{endpointReport:n}}}}).result},I=function(t){n.operationInProgress=!0,f.deleteEndpoint(l.getActiveRepository(),t.endpointId).then((function(){return c.success(p.instant("graphql.endpoints_management.table.actions.delete_endpoint.success",{name:t.endpointId})),n.operationInProgress=!1,S(!1)})).catch((function(n){c.error(getError(n)),console.error("Error deleting GraphQL endpoint",n)})).finally((function(){n.operationInProgress=!1}))},_=function(t){n.endpointsInfoList=t,n.endpointsInfoList&&n.endpointsInfoList.endpoints.length>0&&(n.hasEndpoints=!0,n.selectedDefaultEndpoint=n.endpointsInfoList.findDefaultEndpoint()||new s.GraphqlEndpointInfo)},S=function(t){return n.loadingEndpointsInfo=!0===t,f.getEndpointsInfo(l.getActiveRepository()).then(_).catch((function(n){c.error(getError(n)),console.error("Error loading GraphQL endpoints info",n)})).finally((function(){n.loadingEndpointsInfo=!1}))},w=function(){h=e((function(){v||(v=f.getEndpointsInfo(l.getActiveRepository()).then(_).catch((function(n){c.error(getError(n)),console.error("Error loading GraphQL endpoints info",n)})).finally((function(){v&&(v=void 0)})))}),5e3)};m.push(g.subscribe(o.GraphqlEventName.START_CREATE_ENDPOINT_WIZARD,(function(){t.path(i.endpointUrl.CREATE_ENDPOINT)}))),m.push(g.subscribe(o.GraphqlEventName.DELETE_ENDPOINT_REPORT,(function(n){f.deleteEndpointGenerationReport(l.getActiveRepository(),n.endpointId).then((function(){return c.success(p.instant("graphql.endpoints_management.generation_failure_report_modal.actions.delete_report.success")),S(!1)})).catch((function(n){c.error(getError(n)),console.error("Error deleting endpoint generation report",n)}))}))),m.push(n.$watch(n.getActiveRepositoryObject,(function(n){n&&b()}))),n.$on("$destroy",(function(){h&&e.cancel(h),h=void 0,m.forEach((function(n){return n()}))}));var b=function(){S(!0).then((function(){w()}))}}angular.module("graphdb.framework.graphql.controllers.graphql-endpoint-management-view",["graphdb.framework.core.services.graphql-service","graphdb.framework.graphql.services.graphql-context","graphdb.framework.graphql.controllers.graphql-endpoint-configuration-modal","graphdb.framework.graphql.controllers.import-endpoint-definition-modal"]).controller("GraphqlEndpointManagementViewCtrl",l),l.$inject=["$scope","$location","$interval","$repositories","$uibModal","ModalService","toastr","$translate","GraphqlService","GraphqlContextService","AuthTokenService"]},616:function(n,t){(function(t){n.exports=t}).call(this,{})},617:function(n,t,e){var o,i=i||function(n){"use strict";if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var t=n.document,e=function(){return n.URL||n.webkitURL||n},o=t.createElementNS("http://www.w3.org/1999/xhtml","a"),i=n.webkitRequestFileSystem,r=n.requestFileSystem||i||n.mozRequestFileSystem,a=function(t){(n.setImmediate||n.setTimeout)((function(){throw t}),0)},s=0,l=function(t){var o=function(){"string"==typeof t?e().revokeObjectURL(t):t.remove()};n.chrome?o():setTimeout(o,500)},u=function(n,t,e){for(var o=(t=[].concat(t)).length;o--;){var i=n["on"+t[o]];if("function"==typeof i)try{i.call(n,e||n)}catch(n){a(n)}}},d=function(n){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(n.type)?new Blob(["\ufeff",n],{type:n.type}):n},c=function(t,a){t=d(t);var c,p,f,g=this,E=t.type,m=!1,h=function(){u(g,"writestart progress write writeend".split(" "))},v=function(){(!m&&c||(c=e().createObjectURL(t)),p)?p.location.href=c:null==n.open(c,"_blank")&&"undefined"!=typeof safari&&(n.location.href=c);g.readyState=g.DONE,h(),l(c)},y=function(n){return function(){if(g.readyState!==g.DONE)return n.apply(this,arguments)}},I={create:!0,exclusive:!1};if(g.readyState=g.INIT,a||(a="download"),o)return c=e().createObjectURL(t),o.href=c,o.download=a,void setTimeout((function(){var n,t;n=o,t=new MouseEvent("click"),n.dispatchEvent(t),h(),l(c),g.readyState=g.DONE}));n.chrome&&E&&"application/octet-stream"!==E&&(f=t.slice||t.webkitSlice,t=f.call(t,0,t.size,"application/octet-stream"),m=!0),i&&"download"!==a&&(a+=".download"),("application/octet-stream"===E||i)&&(p=n),r?(s+=t.size,r(n.TEMPORARY,s,y((function(n){n.root.getDirectory("saved",I,y((function(n){var e=function(){n.getFile(a,I,y((function(n){n.createWriter(y((function(e){e.onwriteend=function(t){p.location.href=n.toURL(),g.readyState=g.DONE,u(g,"writeend",t),l(n)},e.onerror=function(){var n=e.error;n.code!==n.ABORT_ERR&&v()},"writestart progress write abort".split(" ").forEach((function(n){e["on"+n]=g["on"+n]})),e.write(t),g.abort=function(){e.abort(),g.readyState=g.DONE},g.readyState=g.WRITING})),v)})),v)};n.getFile(a,{create:!1},y((function(n){n.remove(),e()})),y((function(n){n.code===n.NOT_FOUND_ERR?e():v()})))})),v)})),v)):v()},p=c.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(n,t){return navigator.msSaveOrOpenBlob(d(n),t)}:(p.abort=function(){this.readyState=this.DONE,u(this,"abort")},p.readyState=p.INIT=0,p.WRITING=1,p.DONE=2,p.error=p.onwritestart=p.onprogress=p.onwrite=p.onabort=p.onerror=p.onwriteend=null,function(n,t){return new c(n,t)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);
2
+ /*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */n.exports?n.exports.saveAs=i:null!==e(623)&&null!=e(616)&&(void 0===(o=function(){return i}.apply(t,[]))||(n.exports=o))},623:function(n,t){n.exports=function(){throw new Error("define cannot be used indirect")}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[197],{394:function(e,l){PluginRegistry.add("route",[{url:"/graphql/endpoints",templateUrl:"js/angular/graphql/templates/graphql-endpoint-management.html",module:"graphdb.framework.graphql",path:"graphql/app",controller:"GraphqlEndpointManagementViewCtrl",title:"menu.graphql-endpoint-management.label",helpInfo:"graphql.endpoints_management.helpInfo",documentationUrl:"graphql-endpoint-management.html",allowAuthorities:["WRITE_REPO_{repoId}","WRITE_REPO_{repoId}:GRAPHQL"]},{url:"/graphql/endpoint/create",templateUrl:"js/angular/graphql/templates/create-graphql-endpoint.html",module:"graphdb.framework.graphql",path:"graphql/app",controller:"CreateGraphqlEndpointViewCtrl",title:"menu.create-graphql-endpoint.label",helpInfo:"graphql.create_endpoint.helpInfo",documentationUrl:"create-graphql-endpoint.html",allowAuthorities:["WRITE_REPO_{repoId}:GRAPHQL","WRITE_REPO_{repoId}:GRAPHQL"]},{url:"/graphql/playground",templateUrl:"js/angular/graphql/templates/graphql-playground.html",module:"graphdb.framework.graphql",path:"graphql/app",controller:"GraphqlPlaygroundViewCtrl",title:"menu.graphql-playground.label",helpInfo:"graphql.playground.helpInfo",documentationUrl:"graphql-playground.html"}]),PluginRegistry.add("main.menu",{items:[{label:"GraphQL",labelKey:"menu.graphql.label",href:"#",order:2.5,role:"IS_AUTHENTICATED_FULLY",icon:"fa-kit fa-gdb-graphql"},{label:"Endpoint Management",labelKey:"menu.graphql-endpoint-management.label",href:"graphql/endpoints",order:10,role:"IS_AUTHENTICATED_FULLY",parent:"GraphQL",children:[{href:"graphql/endpoint/create",children:[]}]},{label:"GraphQL Playground",labelKey:"menu.graphql-playground.label",href:"graphql/playground",order:15,role:"IS_AUTHENTICATED_FULLY",parent:"GraphQL"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[197],{394:function(e,l){PluginRegistry.add("route",[{url:"/graphql/endpoints",templateUrl:"js/angular/graphql/templates/graphql-endpoint-management.html",module:"graphdb.framework.graphql",path:"graphql/app",controller:"GraphqlEndpointManagementViewCtrl",title:"menu.graphql-endpoint-management.label",helpInfo:"graphql.endpoints_management.helpInfo",documentationUrl:"graphql-endpoint-management.html",allowAuthorities:["WRITE_REPO_{repoId}","WRITE_REPO_{repoId}:GRAPHQL"]},{url:"/graphql/endpoint/create",templateUrl:"js/angular/graphql/templates/create-graphql-endpoint.html",module:"graphdb.framework.graphql",path:"graphql/app",controller:"CreateGraphqlEndpointViewCtrl",title:"menu.create-graphql-endpoint.label",helpInfo:"graphql.create_endpoint.helpInfo",documentationUrl:"create-graphql-endpoint.html",allowAuthorities:["WRITE_REPO_{repoId}:GRAPHQL","WRITE_REPO_{repoId}:GRAPHQL"]},{url:"/graphql/playground",templateUrl:"js/angular/graphql/templates/graphql-playground.html",module:"graphdb.framework.graphql",path:"graphql/app",controller:"GraphqlPlaygroundViewCtrl",title:"menu.graphql-playground.label",helpInfo:"graphql.playground.helpInfo",documentationUrl:"graphql-playground.html"}]),PluginRegistry.add("main.menu",{items:[{label:"GraphQL",labelKey:"menu.graphql.label",href:"#",order:2.5,role:"IS_AUTHENTICATED_FULLY",icon:"fa-kit fa-gdb-graphql"},{label:"Endpoint Management",labelKey:"menu.graphql-endpoint-management.label",href:"graphql/endpoints",order:10,role:"ROLE_REPO_MANAGER",parent:"GraphQL",children:[{href:"graphql/endpoint/create",children:[]}]},{label:"GraphQL Playground",labelKey:"menu.graphql-playground.label",href:"graphql/playground",order:15,role:"IS_AUTHENTICATED_FULLY",parent:"GraphQL"}]})}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[2,58,73,74,111,114,119,142,165,196,198,234,236,240,292,343],{109:function(t,e,n){"use strict";n.r(e),n.d(e,"resolveGraphqlEndpoint",(function(){return o})),n.d(e,"resolvePlaygroundUrlWithEndpoint",(function(){return a}));var i=n(110),r=n(25),o=function(t,e){return"".concat(r.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/").concat(e)},a=function(t){return"".concat(i.endpointUrl.PLAYGROUND,"?endpointId=").concat(t)}},110:function(t,e,n){"use strict";n.r(e),n.d(e,"endpointUrl",(function(){return i}));var i={PLAYGROUND:"/graphql/playground",CREATE_ENDPOINT:"/graphql/endpoint/create",ENDPOINT_MANAGEMENT:"/graphql/endpoints"}},115:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,u(i.key),i)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(t,e,n){return(e=u(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"EndpointGenerationReportList",(function(){return c})),n.d(e,"EndpointGenerationReport",(function(){return p}));var c=function(){return a((function t(e){r(this,t),s(this,"_reports",void 0),this._reports=e||[]}),[{key:"getReport",value:function(t){return this._reports.find((function(e){return e.endpointId===t}))}},{key:"reports",get:function(){return this._reports},set:function(t){this._reports=t}}])}(),p=function(){return a((function t(e){r(this,t),s(this,"_endpointId",void 0),s(this,"_endpointURI",void 0),s(this,"_active",void 0),s(this,"_default",void 0),s(this,"_label",void 0),s(this,"_description",void 0),s(this,"_lastModified",void 0),s(this,"_objectsCount",void 0),s(this,"_propertiesCount",void 0),s(this,"_warnings",void 0),s(this,"_errors",void 0),s(this,"_messages",void 0),s(this,"_createdSuccessfully",void 0),this._endpointId=e.endpointId||"",this._endpointURI=e.endpointURI||"",this._active=e.active||!1,this._default=e.default||!1,this._label=e.label||"",this._description=e.description||"",this._lastModified=e.lastModified||"",this._objectsCount=e.objectsCount||0,this._propertiesCount=e.propertiesCount||0,this._warnings=e.warnings||0,this._errors=e.errors||0,this._messages=e.messages||[],this._createdSuccessfully=this._active&&0===this._errors}),[{key:"toJSON",value:function(){return{id:this._endpointId,active:this._active,default:this._default,label:this._label,description:this._description,lastModified:this._lastModified,objectsCount:this._objectsCount,propertiesCount:this._propertiesCount,warnings:this._warnings,errors:this._errors,messages:this._messages}}},{key:"endpointId",get:function(){return this._endpointId},set:function(t){this._endpointId=t}},{key:"endpointURI",get:function(){return this._endpointURI},set:function(t){this._endpointURI=t}},{key:"active",get:function(){return this._active},set:function(t){this._active=t}},{key:"default",get:function(){return this._default},set:function(t){this._default=t}},{key:"label",get:function(){return this._label},set:function(t){this._label=t}},{key:"description",get:function(){return this._description},set:function(t){this._description=t}},{key:"lastModified",get:function(){return this._lastModified},set:function(t){this._lastModified=t}},{key:"objectsCount",get:function(){return this._objectsCount},set:function(t){this._objectsCount=t}},{key:"propertiesCount",get:function(){return this._propertiesCount},set:function(t){this._propertiesCount=t}},{key:"warnings",get:function(){return this._warnings},set:function(t){this._warnings=t}},{key:"errors",get:function(){return this._errors},set:function(t){this._errors=t}},{key:"messages",get:function(){return this._messages},set:function(t){this._messages=t}},{key:"createdSuccessfully",get:function(){return this._createdSuccessfully},set:function(t){this._createdSuccessfully=t}}])}()},121:function(t,e,n){"use strict";n.r(e);n(268);var i=n(269),r=n(270),o=n(271),a=n(272),s=n(273),u=(n(152),n(276)),c=n(168),p=n(241),l=n(169);function d(t){return{getEndpointsCountToGenerate:function(t){var e=0;return t||(e=0),t.generateFromGraphqlSchemaShapes()&&(e=t.getSelectedGraphqlSchemaShapesCount()),t.generateFromShaclShapes()&&(e=1),e},getGenerateEndpointsOverview:function(t){if(!t)return new p.GraphqlEndpointOverviewList;var e=t.getSelectedGraphqlSchemaShapesOverview();return new p.GraphqlEndpointOverviewList(e)},getEndpoints:function(e){return t.getEndpoints(e).then((function(t){return Object(i.endpointListMapper)(t.data)}))},getEndpointsAsSelectMenuOptions:function(e){return t.getEndpoints(e).then((function(t){return Object(i.endpointsToSelectMenuOptionsMapper)(t.data,e)}))},getEndpointsInfo:function(e){return t.getEndpointsInfo(e).then((function(t){return Object(r.endpointsInfoListMapper)(t.data,e)}))},getGraphqlSchemaShapes:function(e){return t.getGraphqlSchemaShapes(e).then((function(t){return Object(o.graphqlSchemaShapesMapper)(t.data)}))},getPrefixListAsSelectOptions:function(e){return t.getPrefixes(e).then((function(t){return Object(a.prefixModelToSelectMenuOptionsMapper)(t.data)}))},getShaclShapeGraphs:function(e){return t.getShaclShapeGraphs(e).then((function(t){return Object(s.shaclShapeGraphListOptionsMapper)(t.data)}))},getGraphqlGenerationSettings:function(){return t.getGraphqlGenerationSettings().then((function(t){var e=Object(u.dynamicFormModelMapper)(t.data);return new c.GraphqlEndpointConfigurationSettings(e)}))},getGraphqlEndpointConfigurationSettings:function(e,n){return t.getGraphqlEndpointConfigurationSettings(e,n).then((function(t){var e=Object(u.dynamicFormModelMapper)(t.data);return new c.GraphqlEndpointConfigurationSettings(e)}))},getEndpointConfiguration:function(e,n){return t.getEndpointConfiguration(e,n)},getEndpointConfigurationReport:function(e,n){return t.getEndpointConfiguration(e,n).then((function(t){return Object(l.endpointGenerationReportListMapper)([t.data],e)}))},editEndpointConfiguration:function(e,n,i){return t.editEndpointConfiguration(e,n,i).then((function(t){return Object(r.endpointInfoModelMapper)(t.data,e)}))},deleteEndpoint:function(e,n){return t.deleteEndpoint(e,n)},generateEndpointFromGraphqlShapes:function(e,n){return t.generateEndpointFromGraphqlShapes(e,n.toJSON()).then((function(t){return Object(l.endpointGenerationReportListMapper)(t.data,e)}))},generateEndpointFromOwl:function(e,n){return t.generateEndpointFromOwl(e,n.toJSON()).then((function(t){return Object(l.endpointGenerationReportListMapper)([t.data],e)}))},exportEndpointDefinition:function(e,n){return t.exportEndpointDefinition(e,n).then((function(t){var e=t.data,i=t.headers()["content-disposition"],r="endpoint-".concat(n,"-definition");return i&&(r=(r=i.split("filename=")[1]).replace(/"/g,"")),{data:e,filename:r}}))},importEndpointDefinition:function(e,n){return t.importEndpointDefinition(e,n)},deleteEndpointGenerationReport:function(e,n){return t.deleteEndpointGenerationReport(e,n)}}}angular.module("graphdb.framework.core.services.graphql-service",["graphdb.framework.rest.graphql.service"]).factory("GraphqlService",d),d.$inject=["GraphqlRestService"]},134:function(t,e,n){"use strict";n.r(e),n.d(e,"FIELD_TYPE",(function(){return i}));var i={STRING:"string",TEXT:"text",BOOLEAN:"boolean",JSON:"json",SELECT:"select",MULTI_SELECT:"multi_select"};function r(){return{restrict:"E",scope:{fields:"=",onValidityChange:"&?",formCtrl:"=?",translationKeyPrefix:"@?"},templateUrl:"js/angular/core/directives/dynamic-form/templates/dynamic-form.html",link:function(t,e){t.FIELD_TYPE=i,t.formCtrl=void 0;!function(){var n=e.find("form").controller("form");if(n){t.formCtrl=n;var i=n.$setValidity;t.formCtrl.$setValidity=function(e,r,o){i.call(n,e,r,o),t.onValidityChange&&t.onValidityChange({valid:n.$valid})}}else console.error("Form controller not found!")}()}}}angular.module("graphdb.framework.core.directives.dynamic-form",[]).directive("dynamicForm",r),r.$inject=[]},151:function(t,e,n){"use strict";n.r(e),n.d(e,"GraphqlEndpointInfo",(function(){return p})),n.d(e,"GraphqlEndpointsInfoList",(function(){return l}));var i=n(167);function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,c(i.key),i)}}function s(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t,e,n){return(e=c(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}var p=function(){return s((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,t),u(this,"_endpointId",void 0),u(this,"_endpointURI",void 0),u(this,"_label",void 0),u(this,"_description",void 0),u(this,"_default",void 0),u(this,"_active",void 0),u(this,"_lastModified",void 0),u(this,"_objectsCount",void 0),u(this,"_propertiesCount",void 0),u(this,"_warnings",void 0),u(this,"_errors",void 0),u(this,"_createdSuccessfully",void 0),this._endpointId=e.endpointId,this._endpointURI=e.endpointURI,this._label=e.label,this._description=e.description,this._default=e.default,this._active=e.active,this._lastModified=e.lastModified,this._objectsCount=e.objectsCount,this._propertiesCount=e.propertiesCount,this._warnings=e.warnings,this._errors=e.errors,this._createdSuccessfully=0===this._errors}),[{key:"toUpdateEndpointRequest",value:function(t){return new i.UpdateEndpointRequest({id:this.endpointId,label:this.label,description:this.description,active:this.active,default:this.default,options:t})}},{key:"createdSuccessfully",get:function(){return this._createdSuccessfully}},{key:"endpointId",get:function(){return this._endpointId},set:function(t){this._endpointId=t}},{key:"endpointURI",get:function(){return this._endpointURI},set:function(t){this._endpointURI=t}},{key:"label",get:function(){return this._label},set:function(t){this._label=t}},{key:"description",get:function(){return this._description},set:function(t){this._description=t}},{key:"default",get:function(){return this._default},set:function(t){this._default=t}},{key:"active",get:function(){return this._active},set:function(t){this._active=t}},{key:"lastModified",get:function(){return this._lastModified},set:function(t){this._lastModified=t}},{key:"objectsCount",get:function(){return this._objectsCount},set:function(t){this._objectsCount=t}},{key:"propertiesCount",get:function(){return this._propertiesCount},set:function(t){this._propertiesCount=t}},{key:"warnings",get:function(){return this._warnings},set:function(t){this._warnings=t}},{key:"errors",get:function(){return this._errors},set:function(t){this._errors=t}}])}(),l=function(){return s((function t(e){o(this,t),u(this,"_originalEndpointsList",void 0),u(this,"_endpoints",void 0),this._originalEndpointsList=e||[],this._endpoints=e||[]}),[{key:"updateEndpoint",value:function(t){var e=this._endpoints.findIndex((function(e){return e.endpointId===t.endpointId}));-1!==e&&(this._endpoints[e]=t)}},{key:"filter",value:function(t){this._endpoints=this._originalEndpointsList.filter((function(e){return e.endpointId.toLowerCase().includes(t.toLowerCase())||e.label.toLowerCase().includes(t.toLowerCase())}))}},{key:"findDefaultEndpoint",value:function(){return this._endpoints.find((function(t){return t.default}))}},{key:"endpoints",get:function(){return this._endpoints},set:function(t){this._endpoints=t}}])}()},167:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,a(i.key),i)}}function o(t,e,n){return(e=a(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"UpdateEndpointRequest",(function(){return s}));var s=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),o(this,"_id",void 0),o(this,"_label",void 0),o(this,"_description",void 0),o(this,"_active",void 0),o(this,"_default",void 0),o(this,"_options",void 0),this._id=e.id,this._label=e.label,this._description=e.description,this._active=e.active,this._default=e.default,this._options=e.options},(e=[{key:"getUpdateDefaultEndpointRequest",value:function(){return{default:this.default}}},{key:"getUpdateEndpointActiveStateRequest",value:function(){return{active:!this.active}}},{key:"getUpdateEndpointSettingsRequest",value:function(){return{options:this.options?this.options.toFlatJSON():null}}},{key:"id",get:function(){return this._id},set:function(t){this._id=t}},{key:"label",get:function(){return this._label},set:function(t){this._label=t}},{key:"description",get:function(){return this._description},set:function(t){this._description=t}},{key:"active",get:function(){return this._active},set:function(t){this._active=t}},{key:"default",get:function(){return this._default},set:function(t){this._default=t}},{key:"options",get:function(){return this._options},set:function(t){this._options=t}}])&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()},169:function(t,e,n){"use strict";n.r(e),n.d(e,"endpointGenerationReportListMapper",(function(){return o})),n.d(e,"endpointGenerationReportMapper",(function(){return a})),n.d(e,"importEndpointDefinitionReportMapper",(function(){return s}));var i=n(115),r=n(109),o=function(t,e){if(!t)return new i.EndpointGenerationReportList;var n=t.map((function(t){return a(t,e)}));return new i.EndpointGenerationReportList(n)},a=function(t,e){return new i.EndpointGenerationReport({endpointId:t.id,endpointURI:Object(r.resolveGraphqlEndpoint)(e,t.id),active:t.active,default:t.default,label:t.label,description:t.description,lastModified:t.lastModified,objectsCount:t.objectsCount,propertiesCount:t.propertiesCount,warnings:t.warnings,errors:t.errors,messages:t.messages})},s=function(t,e,n){var o,a,s=t.messages?null===(o=t.messages.errors)||void 0===o?void 0:o.length:0,u=t.messages?null===(a=t.messages.warnings)||void 0===a?void 0:a.length:0;return new i.EndpointGenerationReport({endpointId:t.id,endpointURI:Object(r.resolveGraphqlEndpoint)(n,t.id),warnings:u,errors:s,messages:t.messages})}},205:function(t,e,n){"use strict";n.r(e),n.d(e,"GraphqlRestServiceMock",(function(){return s}));var i=n(23);function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,a(i.key),i)}}function a(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}var s=function(){return t=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)},(e=[{key:"getEndpointsMock",value:function(t){return new Promise((function(t){setTimeout((function(){return t({data:Object(i.cloneDeep)(u)})}),200)}))}},{key:"getEndpointsInfoMock",value:function(t){return new Promise((function(t){setTimeout((function(){return t({data:Object(i.cloneDeep)(c)})}),200)}))}},{key:"getGraphqlSchemaShapesMock",value:function(t){return new Promise((function(t){setTimeout((function(){return t({data:Object(i.cloneDeep)(p)})}),200)}))}},{key:"getEndpointConfigurationMock",value:function(){return new Promise((function(t){setTimeout((function(){return t({data:Object(i.cloneDeep)(l)})}),200)}))}}])&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}(),u={repository:"swapi",endpoints:[{id:"swapi",graphQL:"/rest/repositories/swapi/graphql/swapi",active:!0,default:!0},{id:"film-restricted",graphQL:"/rest/repositories/swapi/graphql/film-restricted",active:!0,default:!1},{id:"swapi-charcters",graphQL:"/rest/repositories/swapi/graphql/swapi-charcters",active:!1,default:!1}]},c={endpoints:[{id:"gqlendpoint1",endpointId:"swapi",endpointURI:"/rest/repositories/swapi/graphql/swapi",label:"SWAPI GraphQL endpoint",description:"SWAPI GraphQL endpoint description",default:!1,active:!0,lastModified:"2025-01-28",objects_count:10,properties_count:120,warnings:0,errors:0,status:""},{id:"gqlendpoint2",endpointId:"film-restricted",endpointURI:"/rest/repositories/swapi/graphql/film-restricted",label:"SWAPI GraphQL endpoint with restricted film relations",description:"SWAPI GraphQL endpoint with restricted film relations description",default:!0,active:!0,lastModified:"2025-01-28",objects_count:13,properties_count:133,warnings:0,errors:0,status:""},{id:"gqlendpoint3",endpointId:"swapi-characters",endpointURI:"/rest/repositories/swapi/graphql/swapi-characters",label:"SWAPI GraphQL endpoint for swapi characters",description:"SWAPI GraphQL endpoint for swapi characters description",default:!1,active:!1,lastModified:"2025-01-28",objects_count:3,properties_count:20,warnings:0,errors:0,status:""}]},p={shapes:[{id:"https://schema.ubs.net/schema/AIModelSchema",name:"AI Model Schema",label:"AI Model Schema",description:null},{id:"https://schema.ubs.net/schema/AIProductSchema",name:"AI Product Schema",label:"AI Product Schema",description:null},{id:"https://schema.ubs.net/schema/DatabaseSchema",name:null,label:"Database Schema",description:null},{id:"https://schema.ubs.net/schema/BbsPermissionSchema",name:null,label:"BBS Permissions",description:null},{id:"https://schema.ubs.net/schema/DataProductBasicSchema",name:null,label:"Data Product Basic Schema No Policy and No Provenance",description:null},{id:"https://schema.ubs.net/schema/DataQualityMetricSchema",name:null,label:"Data Quality Metric Schema",description:"This is the basic schema for DQV initiated from Metric class"},{id:"https://schema.ubs.net/schema/DataQualityObservationSchema",name:null,label:"Data Quality Observation Schema",description:null},{id:"https://schema.ubs.net/schema/DatasetSchema",name:null,label:"Dataset Schema",description:null},{id:"https://schema.ubs.net/schema/ApplicationSchema",name:null,label:"Application Schema",description:null},{id:"https://schema.ubs.net/schema/PolicyBasicSchema",name:null,label:"Policy Basic Schema",description:null},{id:"https://schema.ubs.net/schema/DataQualityMeasurementSchema",name:null,label:"Data Quality Measurement Schema",description:null},{id:"https://schema.ubs.net/schema/DataProductFullSchema",name:null,label:"Data Product Schema where datasets can also be defined",description:null},{id:"https://schema.ubs.net/schema/ValidationSchema",name:null,label:"Validation Schema",description:null},{id:"https://schema.ubs.net/schema/WMAAccountSchema",name:null,label:"WMA Account Schema",description:null}]},l={configs:[{key:"str",label:"String",type:"string",collection:!1,value:"strValue",values:[],regex:"^(?:ALL:?)?(?:(?:-?[\\w]{2}(?:-[\\w]*)?~?|-?NONE|ANY|BROWSER)?(?:,(?:-?[\\w]{2}(?:-[\\w]*)?~?|-?NONE|ANY|BROWSER))*)$"},{key:"bool",label:"Boolean value",description:"",type:"boolean",collection:!1,value:!1,values:[]},{key:"select",label:"Select",type:"",collection:!1,value:"Two",values:["One","Two","Three"]},{key:"multiselect",label:"Multiselect",type:"",collection:!0,value:["Angular","JavaScript"],values:["Angular","JavaScript","WebDevelopment"]},{key:"json",label:"JSON",type:"json",collection:!1,value:'{"foo": "bar"}',values:[],required:!0}]}},206:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,s(i.key),i)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"GraphqlEndpoint",(function(){return u})),n.d(e,"GraphqlEndpointList",(function(){return c}));var u=function(){return a((function t(e){r(this,t),this._endpointId=e.endpointId,this._endpointURI=e.endpointURI,this._active=e.active,this._default=e.default}),[{key:"endpointId",get:function(){return this._endpointId},set:function(t){this._endpointId=t}},{key:"endpointURI",get:function(){return this._endpointURI},set:function(t){this._endpointURI=t}},{key:"default",get:function(){return this._default},set:function(t){this._default=t}},{key:"active",get:function(){return this._active},set:function(t){this._active=t}}])}(),c=function(){return a((function t(e){r(this,t),this._endpoints=e||[]}),[{key:"endpoints",get:function(){return this._endpoints},set:function(t){this._endpoints=t}}])}()},207:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,u(i.key),i)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(t,e,n){return(e=u(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"PrefixList",(function(){return c})),n.d(e,"Prefix",(function(){return p}));var c=function(){return a((function t(e){r(this,t),s(this,"_prefixes",void 0),this._prefixes=e||[]}),[{key:"prefixes",get:function(){return this._prefixes},set:function(t){this._prefixes=t}}])}(),p=a((function t(e){r(this,t),s(this,"_prefix",void 0),s(this,"_namespace",void 0),s(this,"_sources",void 0),this._prefix=e.prefix,this._namespace=e.namespace,this._sources=e.sources}))},268:function(t,e,n){"use strict";n.r(e);var i=n(25),r=n(205);angular.module("graphdb.framework.rest.graphql.service",[]).factory("GraphqlRestService",o),o.$inject=["$http","Upload"];function o(t,e){new r.GraphqlRestServiceMock;return{getEndpoints:function(e){return t.get("".concat(i.REPOSITORIES_ENDPOINT,"/").concat(e,"/graphql/endpoints"))},getEndpointsInfo:function(e,n){return t.get("".concat(i.REPOSITORIES_ENDPOINT,"/").concat(e,"/graphql/manage/list"))},getGraphqlSchemaShapes:function(e){return t.get("".concat(i.REPOSITORIES_ENDPOINT,"/").concat(e,"/graphql/manage/graphql_shapes"))},getPrefixes:function(e){return t.get("".concat(i.REPOSITORIES_ENDPOINT,"/").concat(e,"/graphql/manage/prefixes"))},getShaclShapeGraphs:function(e){return t.get("".concat(i.REPOSITORIES_ENDPOINT,"/").concat(e,"/graphql/manage/shacl_graphs"))},getGraphqlGenerationSettings:function(){return t.get("".concat(i.REPOSITORIES_ENDPOINT,"/graphql/manage/generate/config"))},getGraphqlEndpointConfigurationSettings:function(e,n){return t.get("".concat(i.REPOSITORIES_ENDPOINT,"/").concat(e,"/graphql/manage/endpoints/").concat(n,"/config"))},getEndpointConfiguration:function(e,n){return t.get("".concat(i.REPOSITORIES_ENDPOINT,"/").concat(e,"/graphql/manage/endpoints/").concat(n))},editEndpointConfiguration:function(e,n,r){return t.post("".concat(i.REPOSITORIES_ENDPOINT,"/").concat(e,"/graphql/manage/endpoints/").concat(n),r)},deleteEndpoint:function(e,n){return t.delete("".concat(i.REPOSITORIES_ENDPOINT,"/").concat(e,"/graphql/manage/endpoints/").concat(n))},generateEndpointFromGraphqlShapes:function(e,n){return t.post("".concat(i.REPOSITORIES_ENDPOINT,"/").concat(e,"/graphql/manage/generate/graphql_shapes"),n)},generateEndpointFromOwl:function(e,n){return t.post("".concat(i.REPOSITORIES_ENDPOINT,"/").concat(e,"/graphql/manage/generate/owl_shacl"),n)},exportEndpointDefinition:function(e,n){return t.get("".concat(i.REPOSITORIES_ENDPOINT,"/").concat(e,"/graphql/manage/endpoints/").concat(n,"/export"),{responseType:"blob"})},importEndpointDefinition:function(t,n){return e.http({url:"".concat(i.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/import"),data:n,headers:{"Content-Type":void 0}})},deleteEndpointGenerationReport:function(e,n){return t.patch("".concat(i.REPOSITORIES_ENDPOINT,"/").concat(e,"/graphql/manage/endpoints/").concat(n,"/messages"))}}}},269:function(t,e,n){"use strict";n.r(e),n.d(e,"endpointListMapper",(function(){return a})),n.d(e,"endpointModelMapper",(function(){return s})),n.d(e,"endpointsToSelectMenuOptionsMapper",(function(){return u}));var i=n(206),r=n(24),o=n(109),a=function(t){if(!t||!t.endpoints)return new i.GraphqlEndpointList;var e=t.endpoints.map((function(t){return s(t)}));return new i.GraphqlEndpointList(e)},s=function(t){if(t)return new i.GraphqlEndpoint({endpointId:t.endpointId,endpointURI:t.endpointURI,active:t.active,default:t.default})},u=function(t,e){return t&&t.length?t.map((function(t){return new r.SelectMenuOptionsModel({value:Object(o.resolveGraphqlEndpoint)(e,t.id),label:t.id,selected:t.default,data:{active:t.active,default:t.default}})})):[]}},270:function(t,e,n){"use strict";n.r(e),n.d(e,"endpointsInfoListMapper",(function(){return o})),n.d(e,"endpointInfoModelMapper",(function(){return a}));var i=n(151),r=n(109),o=function(t,e){if(!t||!t.endpoints)return new i.GraphqlEndpointsInfoList;var n=t.endpoints.map((function(t){return a(t,e)}));return new i.GraphqlEndpointsInfoList(n)},a=function(t,e){if(t)return new i.GraphqlEndpointInfo({endpointId:t.id,endpointURI:Object(r.resolveGraphqlEndpoint)(e,t.id),label:t.label,description:t.description,default:t.default,active:t.active,lastModified:t.lastModified,objectsCount:t.objectsCount,propertiesCount:t.propertiesCount,warnings:t.warnings,errors:t.errors})}},271:function(t,e,n){"use strict";n.r(e),n.d(e,"graphqlSchemaShapesMapper",(function(){return r})),n.d(e,"shapeModelMapper",(function(){return o}));var i=n(176),r=function(t){if(!t||!t.shapes)return new i.GraphqlSchemaShapes([]);var e=t.shapes.map((function(t){return o(t)}));return new i.GraphqlSchemaShapes(e)},o=function(t){if(t)return new i.GraphqlSchemaShape({id:t.id,name:t.name,label:t.label,description:t.description})}},272:function(t,e,n){"use strict";n.r(e),n.d(e,"prefixListMapper",(function(){return o})),n.d(e,"prefixModelToSelectMenuOptionsMapper",(function(){return s}));var i=n(207),r=n(24),o=function(t){if(!t&&!t.prefixes)return new i.PrefixList;var e=t.prefixes.map((function(t){return a(t)}));return new i.PrefixList(e)},a=function(t){if(t)return new i.Prefix({prefix:t.prefix,namespace:t.namespace,sources:t.sources})},s=function(t){return t&&t.prefixes?t.prefixes.map((function(t){return new r.SelectMenuOptionsModel({value:t.prefix,label:t.prefix,selected:!1})})):[]}},273:function(t,e,n){"use strict";n.r(e),n.d(e,"shaclShapeGraphListOptionsMapper",(function(){return r}));var i=n(16),r=function(t){if(!t||!t.shacl_graphs)return new i.GraphListOptions;var e=t.shacl_graphs.map((function(t){return new i.GraphOption({uri:t,label:t,id:t})}));return new i.GraphListOptions(e)}},276:function(t,e,n){"use strict";n.r(e),n.d(e,"dynamicFormModelMapper",(function(){return s}));var i=n(134),r=n(24),o=n(142),a=n(168),s=function(t){return t&&t.configs?t.configs.map((function(t){var e;t.type===a.CONFIG_TYPE.TEXT?e=i.FIELD_TYPE.TEXT:t.type===a.CONFIG_TYPE.BOOLEAN?e=i.FIELD_TYPE.BOOLEAN:t.type===a.CONFIG_TYPE.JSON?e=i.FIELD_TYPE.JSON:t.type===a.CONFIG_TYPE.STRING&&(e=t.values&&t.values.length>0?t.collection?i.FIELD_TYPE.MULTI_SELECT:i.FIELD_TYPE.SELECT:i.FIELD_TYPE.STRING);var n=t.values,o=[];return e!==i.FIELD_TYPE.MULTI_SELECT&&e!==i.FIELD_TYPE.SELECT||(n=n.map((function(e){var n=Array.isArray(t.value)&&t.value.indexOf(e)>-1||"string"==typeof t.value&&t.value===e,i=new r.SelectMenuOptionsModel({label:e,value:e,selected:n});return n&&o.push(i),i})),e===i.FIELD_TYPE.SELECT?t.value=o[0]?o[0]:[]:e===i.FIELD_TYPE.MULTI_SELECT&&(t.value=o)),u(t,e,n)})):[]},u=function(t,e,n){return new o.DynamicFormField({key:t.key,label:t.label,description:t.description,type:e,collection:t.collection||!1,value:t.value,values:n,regex:t.regex,required:t.required||!1})}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[217],{323:function(t,e){function o(){return{link:function(t,e,o){t.$watch("file.status",(function(){"IMPORTING"!==t.file.status&&"UPLOADING"!==t.file.status||!$(e).has("object").length>0&&$(e).append('<object width="'+o.size+'" height="'+o.size+'" data="js/angular/templates/loader/ot-loader.svg?v=3.0.0-TR11">{{\'common.loading\' | translate}}</object>')}))}}}angular.module("graphdb.framework.import.directives.import-progress-indicator",[]).directive("ImportProgressIndicator",o),o.$inject=[]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[217],{323:function(t,e){function o(){return{link:function(t,e,o){t.$watch("file.status",(function(){"IMPORTING"!==t.file.status&&"UPLOADING"!==t.file.status||!$(e).has("object").length>0&&$(e).append('<object width="'+o.size+'" height="'+o.size+'" data="js/angular/templates/loader/ot-loader.svg?v=3.0.0-TR12">{{\'common.loading\' | translate}}</object>')}))}}}angular.module("graphdb.framework.import.directives.import-progress-indicator",[]).directive("ImportProgressIndicator",o),o.$inject=[]}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[24,173,195],{193:function(e,t,n){"use strict";n.r(t);var o=n(23);function r(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function a(){return{restrict:"E",scope:{options:"=",selected:"=",labels:"="},templateUrl:"js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html",link:function(e){var t=[];e.searchLeft="",e.availableOptions=[],e.selectedOptions=[],e.selectOption=function(t){e.selectedOptions.push(t),e.availableOptions=e.availableOptions.filter((function(e){return e!==t})),n()},e.selectAll=function(){e.selectedOptions=e.selectedOptions.concat(e.availableOptions),e.availableOptions=[],n()},e.deselectOption=function(t){e.availableOptions.push(t),e.selectedOptions=e.selectedOptions.filter((function(e){return e!==t})),n()},e.deselectAll=function(){e.availableOptions=e.availableOptions.concat(e.selectedOptions),e.selectedOptions=[],n()};var n=function(){e.selected=r(e.selectedOptions)};e.$on("$destroy",(function(){t.forEach((function(e){return e()}))}));e.selectedOptions=Object(o.cloneDeep)(e.selected),e.selectedOptions.length?e.availableOptions=e.options.filter((function(t){return!e.selectedOptions.find((function(e){return e.id===t.id}))})):e.availableOptions=Object(o.cloneDeep)(e.options)}}}angular.module("graphdb.framework.core.directives.shuttle-multiselect",[]).directive("shuttleMultiselect",a),a.$inject=[]},216:function(e,t,n){"use strict";n.r(t);n(121),n(134),n(127);function o(e,t,n,o){e.endpointReport=void 0,e.downloadReport=function(){var t=JSON.stringify(e.endpointReport.toJSON(),null,2),n=new Blob([t],{type:"application/json"}),o=URL.createObjectURL(n),r=document.createElement("a");r.href=o,r.download=e.endpointReport.endpointId?"".concat(e.endpointReport.endpointId,"-").concat("generation-report.json"):"generation-report.json",document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(o)},e.deleteReport=function(){o.deleteEndpointGenerationReport(e.endpointReport),e.close()},e.close=function(){t.dismiss("cancel")};e.endpointReport=n.endpointReport}angular.module("graphdb.framework.graphql.controllers.endpoint-generation-failure-result-modal",["graphdb.framework.core.services.graphql-service"]).controller("EndpointGenerationResultFailureModalController",o),o.$inject=["$scope","$uibModalInstance","data","GraphqlContextService"]},306:function(e,t,n){"use strict";n.r(t);n(193);var o=n(16),r=n(119),i=n(177);function a(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||c(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return l}}(e,t)||c(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){if(e){if("string"==typeof e)return s(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function p(e,t,n,c,s,p,u){return{restrict:"E",templateUrl:"js/angular/graphql/templates/step-select-schema-sources.html",scope:{stepDefinition:"="},link:function(c,d){var h=[];c.schemaSourceType=i.SchemaSourceType,c.ontologyShaclShapeSource=i.OntologyShaclShapeSource,c.shapesMultiselectLabels={availableOptionsTitle:"graphql.create_endpoint.wizard_steps.shapes_multiselect.available_options.title",availableOptionsFilter:"graphql.create_endpoint.wizard_steps.shapes_multiselect.available_options.filter_placeholder",selectedOptionsTitle:"graphql.create_endpoint.wizard_steps.shapes_multiselect.selected_options.title",selectedOptionsCount:"graphql.create_endpoint.wizard_steps.shapes_multiselect.selected_options.count",selectTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add.tooltip",selectAllLabel:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add_all.label",selectAllTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add_all.tooltip",deselectTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove.tooltip",deselectAllLabel:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove_all.label",deselectAllTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove_all.tooltip"},c.graphsMultiselectLabels={availableOptionsTitle:"graphql.create_endpoint.wizard_steps.graphs_multiselect.available_options.title",availableOptionsFilter:"graphql.create_endpoint.wizard_steps.graphs_multiselect.available_options.filter_placeholder",selectedOptionsTitle:"graphql.create_endpoint.wizard_steps.graphs_multiselect.selected_options.title",selectedOptionsCount:"graphql.create_endpoint.wizard_steps.graphs_multiselect.selected_options.count",selectTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add.tooltip",selectAllLabel:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add_all.label",selectAllTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add_all.tooltip",deselectTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove.tooltip",deselectAllLabel:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove_all.label",deselectAllTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove_all.tooltip"},c.endpointConfiguration=void 0,c.prefixList=[],c.loadingPrefixes=!1,c.graphs=void 0,c.shaclShapeGraphs=void 0,c.graphqlSchemaShapes=void 0,c.allGraphs=void 0,c.loadingGraphs=!1,c.cancel=function(){var n=t.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.title"),o=t.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.body");e.openConfirmation(n,o,(function(){s.cancelEndpointCreation()}))},c.next=function(){s.nextEndpointCreationStep()},c.onSchemaSourceTypeChange=function(){c.endpointConfiguration.schemaSourceType=c.stepDefinition.schemaSourceType,c.endpointConfiguration.generateFromShaclShapes()&&(c.stepDefinition.ontotlogyShaclShapeSource===i.OntologyShaclShapeSource.USE_ALL_GRAPHS?c.endpointConfiguration.selectedGraphs=c.allGraphs:c.stepDefinition.ontotlogyShaclShapeSource===i.OntologyShaclShapeSource.USE_SHACL_SHAPE_GRAPH?c.endpointConfiguration.selectedGraphs=c.shaclShapeGraphs:c.stepDefinition.ontotlogyShaclShapeSource===i.OntologyShaclShapeSource.PICK_GRAPHS&&(c.endpointConfiguration.selectedGraphs=new o.GraphListOptions))},c.onOntologyShaclShapeSourceChange=function(){c.endpointConfiguration.owlOrShaclSourceType=c.stepDefinition.ontotlogyShaclShapeSource,c.stepDefinition.ontotlogyShaclShapeSource===i.OntologyShaclShapeSource.USE_ALL_GRAPHS?c.endpointConfiguration.selectedGraphs=c.allGraphs:c.stepDefinition.ontotlogyShaclShapeSource===i.OntologyShaclShapeSource.USE_SHACL_SHAPE_GRAPH?c.endpointConfiguration.selectedGraphs=c.shaclShapeGraphs:c.stepDefinition.ontotlogyShaclShapeSource===i.OntologyShaclShapeSource.PICK_GRAPHS&&(c.endpointConfiguration.selectedGraphs=new o.GraphListOptions)},c.canProceed=function(){var e=!1;if(c.endpointConfiguration){var t=c.endpointConfiguration.hasSelectedGraphqlSchemaShapes(),n=c.endpointParamsForm.$valid;c.stepDefinition.schemaSourceType===i.SchemaSourceType.GRAPHQL_SCHEMA_SHAPES&&t?e=!0:c.stepDefinition.schemaSourceType===i.SchemaSourceType.SHACL_SHAPES&&n&&(e=c.endpointConfiguration.owlOrShaclSourceType===i.OntologyShaclShapeSource.USE_ALL_GRAPHS||c.endpointConfiguration.hasSelectedGraphs())}return e};var f=function(e){c.loadingData=!0,Promise.all([(c.loadingPrefixes=!0,p.getPrefixListAsSelectOptions(s.getSourceRepository()).catch((function(e){console.error("Error loading prefixes",e),n.error(getError(e))})).finally((function(){c.loadingPrefixes=!1}))),(c.loadingGraphs=!0,u.getGraphs(s.getSourceRepository()).catch((function(e){console.error("Error loading graphs",e),n.error(getError(e))})).finally((function(){c.loadingGraphs=!1}))),p.getGraphqlSchemaShapes(s.getSourceRepository()).catch((function(e){console.error("Error loading GraphQL schema shapes",e),n.error(getError(e))})),p.getShaclShapeGraphs(s.getSourceRepository()).catch((function(e){console.error("Error loading SHACL shape graphs",e),n.error(getError(e))}))]).then((function(t){var n=l(t,4),r=n[0],i=n[1],s=n[2],p=n[3];c.graphqlSchemaShapes=s,c.graphs=i,c.shaclShapeGraphs=p,c.allGraphs=new o.GraphListOptions([].concat(a(i.graphList),a(p.graphList))),c.prefixList=r,c.endpointConfiguration=e})).finally((function(){c.loadingData=!1}))},g=function(){f(s.getNewEndpoint())},S=function(){h.forEach((function(e){return e()}))};!function(){c.$on("$destroy",S),h.push(s.subscribe(r.GraphqlEventName.SOURCE_REPOSITORY_UPDATED,g));var e=s.getNewEndpoint();e?f(e):h.push(s.onEndpointConfigCreated(f))}()}}}angular.module("graphdb.framework.graphql.directives.select-schema-sources",["graphdb.framework.core.directives.shuttle-multiselect"]).directive("selectSchemaSources",p),p.$inject=["ModalService","$translate","toastr","$repositories","GraphqlContextService","GraphqlService","RDF4JRepositoriesService"]},307:function(e,t){function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function r(e,t,o,r){return{restrict:"E",templateUrl:"js/angular/graphql/templates/step-configure-endpoint.html",scope:{stepDefinition:"="},link:function(i){i.endpointConfiguration=void 0,i.generationSettings=void 0,i.generationSettingsValid=!1,i.handleValidityChange=function(e){i.endpointConfigurationSettingsValid=e},i.next=function(){r.nextEndpointCreationStep()},i.back=function(){r.previousEndpointCreationStep()},i.cancel=function(){var n=t.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.title"),o=t.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.body");e.openConfirmation(n,o,(function(){r.cancelEndpointCreation()}))};var a=[];i.$on("$destroy",(function(){a.forEach((function(e){return e()}))}));i.endpointConfiguration=r.getNewEndpoint(),i.endpointConfiguration.settings||(i.endpointConfiguration,i.loadingData=!0,Promise.all([o.getGraphqlGenerationSettings().catch((function(e){console.error("Error loading generation settings",e),toastr.error(getError(e))}))]).then((function(e){var t=n(e,1)[0];i.endpointConfiguration.settings=t})).finally((function(){i.loadingData=!1})))}}}angular.module("graphdb.framework.graphql.directives.configure-endpoint",[]).directive("configureEndpoint",r),r.$inject=["ModalService","$translate","GraphqlService","GraphqlContextService"]},308:function(e,t,n){"use strict";n.r(t);var o=n(119),r=(n(216),n(110));function i(e,t,n,i,a,l){return{restrict:"E",templateUrl:"js/angular/graphql/templates/step-generate-endpoint.html",scope:{stepDefinition:"="},link:function(t){t.endpointConfiguration=void 0,t.endpointsCountToGenerate=0,t.endpointsOverview=void 0,t.activeRepository=i.getActiveRepository(),t.generateFromGraphqlSchemaShapes=!1,t.generatingEndpoint=!1,t.generationReport=void 0,t.endpointUrl=r.endpointUrl,t.back=function(){l.previousEndpointCreationStep()},t.cancel=function(){var t=n.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.title"),o=n.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.body");e.openConfirmation(t,o,(function(){l.cancelEndpointCreation()}))},t.generateEndpoint=function(){t.generatingEndpoint=!0,l.generateEndpoint()},t.showEndpointReport=function(e){l.openEndpointGenerationReport(e)},t.exploreInPlayground=function(e){l.exploreEndpointInPlayground(e)};var c=[];c.push(l.subscribe(o.GraphqlEventName.ENDPOINT_GENERATED,(function(e){t.generatingEndpoint=!1,t.generationReport=e}))),t.$on("$destroy",(function(){c.forEach((function(e){return e()}))}));t.endpointConfiguration=l.getNewEndpoint(),t.generateFromGraphqlSchemaShapes=t.endpointConfiguration.hasSelectedGraphqlSchemaShapes(),t.endpointsCountToGenerate=a.getEndpointsCountToGenerate(t.endpointConfiguration),t.endpointsOverview=a.getGenerateEndpointsOverview(t.endpointConfiguration)}}}angular.module("graphdb.framework.graphql.directives.generate-endpoint",["graphdb.framework.graphql.controllers.endpoint-generation-failure-result-modal"]).directive("generateEndpoint",i),i.$inject=["ModalService","$uibModal","$translate","$repositories","GraphqlService","GraphqlContextService"]},370:function(e,t,n){"use strict";n.r(t);n(121);var o=n(119),r=n(177),i=n(110),a=n(178),l=(n(306),n(307),n(308),n(152),n(109));function c(e,t,n,c,s,p,u,d,h){var f=[];e.sourceRepositories=[],e.selectedSourceRepository=void 0,e.previousSelectedSourceRepository=void 0,e.wizardModel=void 0,e.currentStep=void 0,e.generatingEndpoint=!1,e.onSelectedSourceRepositoryChange=function(t){p.openConfirmationModal({title:c.instant("graphql.create_endpoint.messages.source_repository_changed.title"),message:c.instant("graphql.create_endpoint.messages.source_repository_changed.body"),confirmButtonKey:"common.confirm"},(function(){e.previousSelectedSourceRepository=e.selectedSourceRepository,h.updateSourceRepository(t.value),h.createEndpointConfig(),S()}),(function(){e.selectedSourceRepository=e.previousSelectedSourceRepository}))},e.activateStep=function(t){e.wizardModel.setStepActive(t),g(t)};var g=function(t){e.currentStep=t},S=function(){e.wizardModel=(new a.Wizard).addStep(new r.SelectSchemaSourceStep).addStep(new r.ConfigureEndpointStep).addStep(new r.GenerateEndpointStep),g(e.wizardModel.getActiveStep())};f.push(h.subscribe(o.GraphqlEventName.GENERATE_ENDPOINT,(function(t){var o=t.schemaSourceType===r.SchemaSourceType.GRAPHQL_SCHEMA_SHAPES,i=t.schemaSourceType===r.SchemaSourceType.SHACL_SHAPES;return o?function(t){e.generatingEndpoint=!0;var o,r=t.toCreateEndpointFromShapesRequest(e.selectedSourceRepository.value);return d.generateEndpointFromGraphqlShapes(n.getActiveRepository(),r).then((function(e){o=e})).catch((function(e){u.error(getError(e))})).finally((function(){h.endpointGenerated(o),e.generatingEndpoint=!1}))}(t):i?function(t){e.generatingEndpoint=!0;var o,r=t.toCreateEndpointFromOwlRequest(e.selectedSourceRepository.value);return d.generateEndpointFromOwl(n.getActiveRepository(),r).then((function(e){o=e})).catch((function(e){u.error(getError(e))})).finally((function(){e.generatingEndpoint=!1,h.endpointGenerated(o)}))}(t):void 0}))),f.push(h.subscribe(o.GraphqlEventName.PREVIOUS_ENDPOINT_CREATION_STEP,(function(){g(e.wizardModel.previousStep())}))),f.push(h.subscribe(o.GraphqlEventName.NEXT_ENDPOINT_CREATION_STEP,(function(){g(e.wizardModel.nextStep())}))),f.push(h.subscribe(o.GraphqlEventName.CANCEL_ENDPOINT_CREATION,(function(){t.path(i.endpointUrl.ENDPOINT_MANAGEMENT)}))),f.push(h.subscribe(o.GraphqlEventName.EXPLORE_ENDPOINT_IN_PLAYGROUND,(function(e){var t=Object(l.resolvePlaygroundUrlWithEndpoint)(e.endpointId);h.setSelectedEndpoint(e),window.open(t,"_blank","noopener,noreferrer")}))),f.push(h.subscribe(o.GraphqlEventName.OPEN_ENDPOINT_GENERATION_REPORT,(function(e){return s.open({templateUrl:"js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html",controller:"EndpointGenerationResultFailureModalController",windowClass:"endpoint-generation-failure-result-modal",size:"lg",backdrop:"static",keyboard:!1,resolve:{data:function(){return{endpointReport:e}}}}).result}))),f.push(e.$watch(e.getActiveRepositoryObject,(function(e){e&&m()}))),e.$on("$destroy",(function(){f.forEach((function(e){return e()}))}));var m=function(){e.selectedSourceRepository||(h.createEndpointConfig(),S(),function(){e.sourceRepositories=n.getRepositoriesAsSelectMenuOptions((function(){return n.getLocalReadableGraphdbRepositories()}));var t=n.getActiveRepository();e.selectedSourceRepository=e.sourceRepositories.find((function(e){return e.value===t})),h.updateSourceRepository(e.selectedSourceRepository.value),e.previousSelectedSourceRepository=e.selectedSourceRepository}())}}angular.module("graphdb.framework.graphql.controllers.create-graphql-endpoint-view",["graphdb.framework.core.services.graphql-service","graphdb.framework.graphql.services.graphql-context","graphdb.framework.graphql.directives.select-schema-sources","graphdb.framework.graphql.directives.configure-endpoint","graphdb.framework.graphql.directives.generate-endpoint"]).controller("CreateGraphqlEndpointViewCtrl",c),c.$inject=["$scope","$location","$repositories","$translate","$uibModal","ModalService","toastr","GraphqlService","GraphqlContextService"]}}]);