graphdb-workbench 2.7.0-RC4 → 2.7.0-RC6

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 (62) hide show
  1. package/README.md +1 -12
  2. package/dist/13.5b30668f0f8b090a74fb.bundle.js +1 -0
  3. package/dist/149.fa1d474cfaf6b767889b.bundle.js +1 -1
  4. package/dist/150.7d401b8223acd1b3e6e6.bundle.js +1 -0
  5. package/dist/17.61150aea9442c9814294.bundle.js +1 -1
  6. package/dist/28.8699576c7fe3a1d8fc03.bundle.js +1 -1
  7. package/dist/29.15213e151364f5ecfcd5.bundle.js +1 -1
  8. package/dist/300.cef8eccb11324bcfdb36.bundle.js +1 -1
  9. package/dist/302.7a5d2ba28bd6479a77be.bundle.js +1 -1
  10. package/dist/303.e817b957f010153de97a.bundle.js +1 -1
  11. package/dist/304.fd2e766c67cd966f6751.bundle.js +1 -1
  12. package/dist/322.8933652e5daf83c24378.bundle.js +1 -0
  13. package/dist/333.9f051c77b4c6747b320c.bundle.js +1 -1
  14. package/dist/42.52befbab22e69bb433f4.bundle.js +1 -1
  15. package/dist/43.57ab2f400ac0185bdc0b.bundle.js +1 -0
  16. package/dist/51.ebafb19025c2f912a73d.bundle.js +1 -1
  17. package/dist/{bundle.f15808f9a6068388d32f.bundle.js → bundle.85c062b8f26f60eeb6f8.bundle.js} +2 -2
  18. package/dist/css/explore.css +4 -0
  19. package/dist/index.html +3 -3
  20. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  21. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  22. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  23. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  24. package/dist/js/angular/import/templates/import-resource-message.html +5 -5
  25. package/dist/js/angular/security/templates/user.html +1 -1
  26. package/dist/license-checker.json +2 -2
  27. package/dist/pages/aclmanagement.html +2 -2
  28. package/dist/pages/autocomplete.html +1 -1
  29. package/dist/pages/choose-repository-type.html +1 -1
  30. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  31. package/dist/pages/create-index.html +1 -1
  32. package/dist/pages/dependencies.html +1 -1
  33. package/dist/pages/domainRangeInfo.html +2 -2
  34. package/dist/pages/edit.html +1 -1
  35. package/dist/pages/explore.html +1 -1
  36. package/dist/pages/export.html +1 -1
  37. package/dist/pages/find.html +1 -1
  38. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  39. package/dist/pages/graphs-visualizations.html +7 -7
  40. package/dist/pages/guides.html +1 -1
  41. package/dist/pages/import.html +2 -2
  42. package/dist/pages/jdbc-create.html +1 -1
  43. package/dist/pages/monitor/backup-and-restore.html +1 -1
  44. package/dist/pages/monitor/queries.html +1 -1
  45. package/dist/pages/monitor/resources.html +1 -1
  46. package/dist/pages/namespaces.html +2 -2
  47. package/dist/pages/plugins.html +1 -1
  48. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  49. package/dist/pages/rdfrank.html +2 -2
  50. package/dist/pages/repositories.html +1 -1
  51. package/dist/pages/repository.html +1 -1
  52. package/dist/pages/similarity-indexes.html +1 -1
  53. package/dist/pages/sparql-editor.html +1 -1
  54. package/dist/pages/sparql-template-create.html +1 -1
  55. package/dist/pages/ux-test1.html +2 -2
  56. package/dist/pages/webapi.html +2 -2
  57. package/dist/res/swagger5/index.html +12 -12
  58. package/package.json +1 -13
  59. package/dist/13.73f9ba20665547175128.bundle.js +0 -1
  60. package/dist/150.35beaee434c36b8a57ed.bundle.js +0 -1
  61. package/dist/322.166a8d15dbebcaad2c0f.bundle.js +0 -1
  62. package/dist/43.51797617f14c61a5cce9.bundle.js +0 -1
package/README.md CHANGED
@@ -3,7 +3,7 @@ The web application for GraphDB APIs
3
3
 
4
4
  [![Build Status](https://jenkins.ontotext.com/buildStatus/icon?job=graphdb-workbench-pipeline)]
5
5
  ### Setup Environment
6
- test
6
+
7
7
  * Checkout or clone the project.
8
8
  * Enter the project directory and execute `npm install` in order to install all
9
9
  needed dependencies locally.
@@ -21,17 +21,6 @@ development server and proxy requests to `localhost:7200` (default).
21
21
 
22
22
  ## Testing
23
23
 
24
- ### Unit tests
25
-
26
- Unit tests can be run by executing `npm test`.
27
-
28
- > It's important to be noted that angular components in the application and the
29
- tests are built as AMD modules and all new tests must follow the same style.
30
-
31
- Requirejs is used as a module loader. The test framework is Jasmine with Karma
32
- as test launcher. Karma is configured to watch source and tests files for
33
- changes and continuously re-executing the tests.
34
-
35
24
  ### Acceptance/functional tests
36
25
 
37
26
  Cypress is used as a framework for writing functional tests which cover concrete UI components as
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[13,145,150],{102:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceTreeElement",(function(){return i}));var r=s(66),o=s(64);class i{constructor(){this.importResource=void 0,this.parent=void 0,this.partialSelected=!1,this.indent=0,this.isImportable=!1,this.hasOngoingImport=!1,this.hasStatusInfo=!1,this.canResetStatus=!1,this.name="",this.shortenedName="",this.path="",this.shortenedContext="",this.selected=!1,this.directories=[],this.files=[],this.isImportedBiggerThanModified=!1,this.isModifiedBiggerThanImported=!1,this.isEditable=!1,this.iconClass="",this.shortenedMessage=""}addResource(e){if(e.isFile())this.files.push(e);else{if(!e.isDirectory())throw new Error("Unsupported resource type!");this.directories.push(e)}}removeResource(e){e.isFile()?this.files=this.files.filter(t=>e.importResource.name!==t.importResource.name):this.directories=this.directories.filter(t=>e.importResource.name!==t.importResource.name)}remove(){this.isRoot()||this.parent.removeResource(this)}getOrCreateDirectory(e){let t=this.directories.find(t=>t.name===e);return t||(t=new i,t.name=e,this.directories.push(t)),t}getRoot(){return this.isRoot()?this:this.parent.getRoot()}isRoot(){return void 0===this.parent}isDirectory(){return this.importResource.isDirectory()}isFile(){return!this.isRoot()&&this.importResource.isFile()}isEmpty(){return 0===this.directories.length&&0===this.files.length}toList(){const e=[];return this.parent&&e.push(this),this.directories.forEach(t=>{e.push(...t.toList())}),e.push(...this.files),e}setSelection(e,t=!0){this.selected=e,this.files.forEach(t=>t.setSelection(e,!1)),this.directories.forEach(t=>t.setSelection(e,!1)),t&&this.getRoot().updateSelectionState()}updateSelectionState(){if(this.directories.forEach(e=>e.updateSelectionState()),this.parent&&this.isDirectory()){const e=this.hasUnselectedChildren(),t=this.hasSelectedChildren();this.selected=t&&!e,this.partialSelected=t&&e}}hasUnselectedChildren(){return this.files.some(e=>!e.selected)||this.directories.some(e=>!e.selected||e.hasUnselectedChildren())}hasSelectedChildren(){return this.files.some(e=>e.selected)||this.directories.some(e=>e.selected||e.hasSelectedChildren())}selectAllWithStatus(e){this.importResource&&e.indexOf(this.importResource.status)>-1&&(this.selected=!0),this.files.forEach(t=>t.selectAllWithStatus(e)),this.directories.forEach(t=>t.selectAllWithStatus(e))}getAllSelectedForImport(){const e=[],t=this.isRoot();return!t&&this.selected&&e.push(this),(t||this.isDirectory()&&!this.selected)&&(this.files.forEach(t=>e.push(...t.getAllSelectedForImport())),this.directories.forEach(t=>e.push(...t.getAllSelectedForImport()))),Object(o.cloneDeep)(e)}getAllSelected(){const e=[];return!this.isRoot()&&this.selected&&e.push(this),this.files.forEach(t=>e.push(...t.getAllSelected())),this.directories.forEach(t=>e.push(...t.getAllSelected())),Object(o.cloneDeep)(e)}getSelectedImportedResources(){return this.getAllSelected().some(e=>e.importResource.status===r.ImportResourceStatus.DONE)}deselectAll(){this.files.forEach(e=>e.deselectAll()),this.directories.forEach(e=>e.deselectAll()),this.selected=!1,this.partialSelected=!1}getAllSelectedFiles(){const e=[];return!this.isRoot()&&this.selected&&e.push(this.importResource),this.files.forEach(t=>e.push(...t.getAllSelectedFiles())),this.directories.forEach(t=>e.push(...t.getAllSelectedFiles())),e}getAllSelectedFilesNames(){return this.getAllSelectedFiles().map(e=>e.name)}getResourceByName(e){if(this.importResource&&this.importResource.name===e)return this;const t=this.files.find(t=>t.importResource.name===e);if(t)return t;for(const t of this.directories){const s=t.getResourceByName(e);if(s)return s}return null}hasTextInResourcesName(e){return!!this.importResource.name.toLowerCase().includes(e.toLowerCase())||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e)))}hasTextInDirectoriesName(e){return!(!this.isDirectory()||!this.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e))}hasTextInFilesName(e){return!(!this.isFile()||!this.name.toLowerCase().includes(e.toLowerCase()))||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInFilesName(e)))}sort(e){this.directories.sort(e),this.files.sort(e),this.directories.forEach(t=>t.sort(e))}getSize(){return this.toList().length}}},126:function(e,t){function s(e,t,s,r,o){e.message=o,e.close=()=>{t.dismiss()},e.copyToClipboard=()=>{navigator.clipboard.writeText(e.message).then(()=>{r.success(s.instant("import.help.messages.copied_to_clipboard")),e.close()},e=>{console.error("Could not copy text: ",e)})}}angular.module("graphdb.framework.impex.import.controllers.import-resource-message-dialog",[]).controller("ImportResourceMessageDialogController",s),s.$inject=["$scope","$uibModalInstance","$translate","toastr","message"]},202:function(e,t,s){"use strict";s.r(t);s(126);var r=s(66),o=s(71);function i(e){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-message.html",scope:{resource:"="},link:t=>{t.ImportResourceStatus=r.ImportResourceStatus,t.toTitleCase=e=>o.toTitleCase(e),t.showMessage=t=>{e.open({templateUrl:"js/angular/import/templates/import-resource-message-dialog.html",controller:"ImportResourceMessageDialogController",size:"lg",windowClass:"import-resource-message-dialog",backdrop:"static",resolve:{message:function(){return t?t.importResource.message:""}}})}}}}angular.module("graphdb.framework.import.directives.import-resource-message",["graphdb.framework.impex.import.controllers.import-resource-message-dialog"]).directive("importResourceMessage",i),i.$inject=["$uibModal"]},203:function(e,t){function s(e,t){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-status-info.html",scope:{resource:"="},link:s=>{const r=[];s.popoverTemplate="resourceStatusInfoTemplate.html",s.popoverIsOpen=!1,s.context=s.resource.importResource.context,s.replaceGraphs=s.resource.importResource.replaceGraphs,s.baseUrl=decodeURIComponent(s.resource.importResource.baseURI),s.forceSerial=s.resource.importResource.forceSerial,s.importedOn=s.resource.importResource.importedOn,s.parserSettings=s.resource.importResource.parserSettings,s.open=()=>{s.closeAllDialogs(),s.popoverIsOpen=!0},s.closeAllDialogs=()=>{e.$broadcast("closePopovers")},s.close=()=>{s.popoverIsOpen=!1};const o=e=>{"Escape"===e.key&&s.$apply(()=>{s.close()})};r.push(s.$on("closePopovers",s.close)),t.on("keydown",o),s.$on("$destroy",()=>{t.off("keydown",o),r.forEach(e=>e())})}}}angular.module("graphdb.framework.import.directives.import-resource-status-info",[]).directive("importResourceStatusInfo",s),s.$inject=["$rootScope","$document"]},204:function(e,t,s){"use strict";s.r(t),s.d(t,"INDENT",(function(){return c})),s.d(t,"serverImportResourceTypeToIconMapping",(function(){return a})),s.d(t,"userImportResourceTypeToIconMapping",(function(){return n})),s.d(t,"ImportResourceTreeService",(function(){return u}));var r=s(75),o=s(102),i=s(66);const c=30,a=new Map;a.set(r.ImportResourceType.DIRECTORY,"icon-folder"),a.set(r.ImportResourceType.FILE,"icon-file");const n=new Map;n.set(r.ImportResourceType.DIRECTORY,"icon-folder"),n.set(r.ImportResourceType.FILE,"icon-upload"),n.set(r.ImportResourceType.URL,"icon-link"),n.set(r.ImportResourceType.TEXT,"icon-sparql");class u{static toImportResourceTree(e,t){const s=new o.ImportResourceTreeElement;return e.forEach(e=>{u.addResourceToTree(s,e,t)}),s}static mergeResourceTree(e,t,s){e.getRoot().toList().forEach(e=>{t.find(t=>t.name===e.importResource.name)||e.remove()}),t.forEach(t=>{const r=e.getResourceByName(t.name);r?r.importResource=t:u.addResourceToTree(e,t,s)})}static addResourceToTree(e,t,s){const r=u.getPath(t);let i;i=t.isDirectory()?r:r.slice(0,r.length-1);const c=u.getOrCreateParent(e,i);if(t.isFile()){const e=new o.ImportResourceTreeElement;return e.parent=c,e.importResource=t,e.path=r.join("/"),e.name=r[r.length-1],c.addResource(e),u.setIcon(e,s),e}return c.importResource=t,c.path=r.join("/"),u.setIcon(c,s),c}static setIcon(e,t){e.iconClass=t?n.get(e.importResource.type):a.get(e.importResource.type)}static getOrCreateParent(e,t){let s=e;return t.forEach(e=>{const t=s.getOrCreateDirectory(e);t.parent=s,s=t}),s}static getPath(e){if(e.isURL())return[e.name];const t=/[/\\]/;return t.test(e.name)?e.name.split(t):[e.name]}static calculateElementIndent(e){e.indent=8+u.getParentsCount(e)*c+"px",e.directories.forEach(e=>u.calculateElementIndent(e)),e.files.forEach(e=>u.calculateElementIndent(e))}static setupAfterTreeInitProperties(e){e.isRoot()||(e.isImportable=u.isImportable(e.importResource),e.hasOngoingImport=u.hasOngoingImport(e.importResource),e.canResetStatus=u.canResetStatus(e.importResource),e.hasStatusInfo="DONE"===e.importResource.status||"ERROR"===e.importResource.status,e.isEditable=e.importResource.isText(),u.setupShortenedMessage(e),u.setupShortenedContext(e),u.setupShortenedName(e),u.setupImportedAndModifiedComparableProperties(e)),e.directories.forEach(e=>u.setupAfterTreeInitProperties(e)),e.files.forEach(e=>u.setupAfterTreeInitProperties(e))}static setupShortenedMessage(e){const t=e.importResource?e.importResource.message:"";t.length>150&&(e.shortenedMessage=t.substring(0,150)+"...")}static setupShortenedContext(e){const t=e.importResource?e.importResource.context:"";t.length>63&&(e.shortenedContext=t.substring(0,30)+"..."+t.substring(t.length-30))}static setupShortenedName(e){const t=e.name||"";t.length>123&&(e.shortenedName=t.substring(0,30)+"..."+t.substring(t.length-30))}static setupImportedAndModifiedComparableProperties(e){const t=e.importResource;if(t){if(0===t.importedOn||0===t.modifiedOn||t.importedOn===t.modifiedOn)return;e.isImportedBiggerThanModified=t.importedOn>t.modifiedOn,e.isModifiedBiggerThanImported=!e.isImportedBiggerThanModified}}static isImportable(e){return e.status!==i.ImportResourceStatus.IMPORTING&&e.status!==i.ImportResourceStatus.UPLOADING&&e.status!==i.ImportResourceStatus.PENDING&&e.status!==i.ImportResourceStatus.INTERRUPTING}static hasOngoingImport(e){return e.status===i.ImportResourceStatus.IMPORTING||e.status===i.ImportResourceStatus.UPLOADING||e.status===i.ImportResourceStatus.PENDING||e.status===i.ImportResourceStatus.INTERRUPTING}static canResetStatus(e){return e.status===i.ImportResourceStatus.DONE||e.status===i.ImportResourceStatus.ERROR}static getParentsCount(e){let t=0;if(void 0===e.parent)return t;let s=e.parent;for(;s;)s=s.parent,t++;return t-1}}},243:function(e,t,s){"use strict";s.r(t);var r=s(66),o=(s(202),s(203),s(125)),i=s(102),c=s(82),a=s(204);const n={FILE:"FILE",DIRECTORY:"DIRECTORY",ALL:"ALL"},u={ALL:"ALL",NONE:"NONE",IMPORTED:"IMPORTED",NOT_IMPORTED:"NOT_IMPORTED"};function l(e,t){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-tree.html",scope:{columnKeys:"=",showTypeFilter:"=",sortBy:"=",asc:"=",onImport:"&",onImportAll:"&",onReset:"&",onRemove:"&",onStopImport:"&",onEditResource:"&"},link:(s,l,p)=>{s.resources=new i.ImportResourceTreeElement,s.displayResources=[],s.TYPE_FILTER_OPTIONS=n,s.filterByType=n.ALL,s.filterByFileName="",s.STATUS_OPTIONS=u,s.selectedByStatus=void 0,s.areAllDisplayedImportResourcesSelected=!1,s.areAllDisplayedImportResourcesPartialSelected=!1,s.ImportResourceStatus=r.ImportResourceStatus,s.canRemoveResource=angular.isDefined(p.onRemove),s.canResetSelectedResources=!1,s.SORTING_TYPES=o.SortingType,s.sortAsc=!angular.isDefined(p.asc)||s.asc,s.sortedBy=s.sortBy,s.showLoader=t.getShowLoader(),s.hasSelection=!1,s.selectionChanged=e=>{e.setSelection(e.selected),R(),m(),h()},s.selectResourceWithStatus=e=>{s.selectedByStatus=e,s.resources.setSelection(!1),u.ALL===s.selectedByStatus?s.resources.setSelection(!0):u.IMPORTED===s.selectedByStatus?s.resources.selectAllWithStatus([r.ImportResourceStatus.DONE]):u.NOT_IMPORTED===s.selectedByStatus&&s.resources.selectAllWithStatus([r.ImportResourceStatus.IMPORTING,r.ImportResourceStatus.NONE,r.ImportResourceStatus.ERROR,r.ImportResourceStatus.PENDING,r.ImportResourceStatus.INTERRUPTING]),d(),m()},s.filterByTypeChanged=e=>{s.filterByType=e,d()},s.filterByFileNameChanged=e=>{s.filterByFileName=e,A(d,100)},s.onResetStatus=()=>{const e=s.resources.getAllSelected().map(e=>e.path);e.length>0&&s.onReset({resources:e})},s.resetStatus=e=>{s.onReset({resources:[e.path]})},s.onRemoveResources=()=>{const e=s.resources.getAllSelected();e&&e.length>0&&s.onRemove({resources:e})},s.removeResource=e=>{s.onRemove({resources:[e]})},s.importAll=e=>{const t=s.resources.getAllSelectedForImport();t.length>0&&s.onImportAll({selectedResources:t,withoutChangingSettings:e})},s.stopImport=e=>{s.onStopImport({resource:e})},s.sort=e=>{s.sortedBy===e?s.sortAsc=!s.sortAsc:s.sortAsc=!0,s.sortedBy=e,d()},s.editResource=e=>{s.onEditResource({resource:e})};const m=()=>{s.canResetSelectedResources=s.resources.getSelectedImportedResources()},d=()=>{s.resources.getRoot().updateSelectionState(),I(),s.displayResources=s.resources.toList().filter(y).filter(O),h(),R()},h=()=>{const e=s.resources.getAllSelectedFilesNames();s.hasSelection=e.length>0,t.updateSelectedFilesNames(e)},R=()=>{const e=s.displayResources.some(e=>!e.selected),t=s.displayResources.some(e=>e.selected);s.areAllDisplayedImportResourcesSelected=t&&!e,s.areAllDisplayedImportResourcesPartialSelected=t&&e},I=()=>{o.SortingType.NAME===s.sortedBy?s.resources.sort(g(s.sortAsc)):o.SortingType.SIZE===s.sortedBy?s.resources.sort(f(s.sortAsc)):o.SortingType.MODIFIED===s.sortedBy?s.resources.sort(S(s.sortAsc)):o.SortingType.IMPORTED===s.sortedBy?s.resources.sort(T(s.sortAsc)):o.SortingType.CONTEXT===s.sortedBy&&s.resources.sort(E(s.sortAsc))},g=e=>(t,s)=>e?t.importResource.name.localeCompare(s.importResource.name):s.importResource.name.localeCompare(t.importResource.name),f=e=>(t,s)=>{const r=0|t.importResource.size,o=0|s.importResource.size;return e?r-o:o-r},S=e=>(t,s)=>{const r=0|t.importResource.modifiedOn,o=0|s.importResource.modifiedOn;return e?r-o:o-r},T=e=>(t,s)=>{const r=0|t.importResource.importedOn,o=0|s.importResource.importedOn;return e?r-o:o-r},E=e=>(t,s)=>e?t.importResource.context.localeCompare(s.importResource.context):s.importResource.context.localeCompare(t.importResource.context),y=e=>n.ALL===s.filterByType||(s.filterByType===n.FILE?e.isFile():s.filterByType===n.DIRECTORY&&e.isDirectory()),O=e=>!s.filterByFileName||(s.filterByType===n.DIRECTORY?e.hasTextInDirectoriesName(s.filterByFileName):s.filterByType===n.FILE?e.hasTextInFilesName(s.filterByFileName):e.hasTextInResourcesName(s.filterByFileName));let N;const A=(t,s)=>{N&&e.cancel(N),N=e(t,s)},C=[];C.push(t.onResourcesUpdated((e=[])=>{const r=c.TABS.USER===t.getActiveTabId();s.resources.isEmpty()?(s.resources=a.ImportResourceTreeService.toImportResourceTree(e,r),r&&(s.sortedBy=o.SortingType.MODIFIED)):a.ImportResourceTreeService.mergeResourceTree(s.resources,e,r),a.ImportResourceTreeService.calculateElementIndent(s.resources),a.ImportResourceTreeService.setupAfterTreeInitProperties(s.resources),d(),m()})),C.push(t.onShowLoaderUpdated(e=>s.showLoader=e)),C.push(t.onActiveTabIdUpdated(()=>s.resources=new i.ImportResourceTreeElement));s.$on("$destroy",()=>{C.forEach(e=>e())})}}}angular.module("graphdb.framework.import.directives.import-resource-tree",["graphdb.framework.import.directives.import-resource-message","graphdb.framework.import.directives.import-resource-status-info"]).directive("importResourceTree",l),l.$inject=["$timeout","ImportContextService"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[149],{201: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=2.7.0-RC4">{{\'common.loading\' | translate}}</object>')}))}}}angular.module("graphdb.framework.import.directives.import-progress-indicator",[]).directive("ImportProgressIndicator",o),o.$inject=[]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[149],{201: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=2.7.0-RC6">{{\'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([[150],{203:function(e,o){function r(e,o){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-status-info.html",scope:{resource:"="},link:r=>{const s=[];r.popoverTemplate="resourceStatusInfoTemplate.html",r.popoverIsOpen=!1,r.context=r.resource.importResource.context,r.replaceGraphs=r.resource.importResource.replaceGraphs,r.baseUrl=decodeURIComponent(r.resource.importResource.baseURI),r.forceSerial=r.resource.importResource.forceSerial,r.importedOn=r.resource.importResource.importedOn,r.parserSettings=r.resource.importResource.parserSettings,r.open=()=>{r.closeAllDialogs(),r.popoverIsOpen=!0},r.closeAllDialogs=()=>{e.$broadcast("closePopovers")},r.close=()=>{r.popoverIsOpen=!1};const t=e=>{"Escape"===e.key&&r.$apply(()=>{r.close()})};s.push(r.$on("closePopovers",r.close)),o.on("keydown",t),r.$on("$destroy",()=>{o.off("keydown",t),s.forEach(e=>e())})}}}angular.module("graphdb.framework.import.directives.import-resource-status-info",[]).directive("importResourceStatusInfo",r),r.$inject=["$rootScope","$document"]}}]);