graphdb-workbench 4.0.0-TR22 → 4.0.0-TR23

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 (144) hide show
  1. package/dist/17631.6268d8a2089a4eff7e3e.bundle.js +2 -0
  2. package/dist/17631.6268d8a2089a4eff7e3e.bundle.js.map +1 -0
  3. package/dist/{19057.73fe17753980f4fd2ff9.bundle.js → 19057.9ab70128b78b11fdcb2e.bundle.js} +3 -3
  4. package/dist/19057.9ab70128b78b11fdcb2e.bundle.js.map +1 -0
  5. package/dist/{24690.7972ccea98a83e4669af.bundle.js → 24690.c03623f8b37234af106d.bundle.js} +2 -2
  6. package/dist/24690.c03623f8b37234af106d.bundle.js.map +1 -0
  7. package/dist/54231.a271c2f8a5cf643b3fcf.bundle.js +2 -0
  8. package/dist/54231.a271c2f8a5cf643b3fcf.bundle.js.map +1 -0
  9. package/dist/61716.de882d8c0b90532a1f49.bundle.js +2 -0
  10. package/dist/61716.de882d8c0b90532a1f49.bundle.js.map +1 -0
  11. package/dist/{64709.c3b9f2f3008166dcb26e.bundle.js → 64709.04e167e6246f3e3bdc35.bundle.js} +2 -2
  12. package/dist/64709.04e167e6246f3e3bdc35.bundle.js.map +1 -0
  13. package/dist/{65677.6a74ebccd91d9dc446ba.bundle.js → 65677.a1b18a38dec90d966443.bundle.js} +2 -2
  14. package/dist/{65677.6a74ebccd91d9dc446ba.bundle.js.map → 65677.a1b18a38dec90d966443.bundle.js.map} +1 -1
  15. package/dist/{80933.3b1ed4fd7acf37b60a7c.bundle.js → 80933.a183925871db97b10840.bundle.js} +2 -2
  16. package/dist/80933.a183925871db97b10840.bundle.js.map +1 -0
  17. package/dist/{82917.5228319455133fb9095c.bundle.js → 82917.09510c97161cdf980234.bundle.js} +2 -2
  18. package/dist/{82917.5228319455133fb9095c.bundle.js.map → 82917.09510c97161cdf980234.bundle.js.map} +1 -1
  19. package/dist/{86099.7ef141174709f7916025.bundle.js → 86099.83bf9be6bd62e30a5f21.bundle.js} +2 -2
  20. package/dist/{86099.7ef141174709f7916025.bundle.js.map → 86099.83bf9be6bd62e30a5f21.bundle.js.map} +1 -1
  21. package/dist/assets/i18n/language-config.json +1 -1
  22. package/dist/index.html +8 -8
  23. package/dist/js/angular/clustermanagement/templates/cluster-configuration/cluster-configuration.html +1 -1
  24. package/dist/js/angular/clustermanagement/templates/cluster-configuration/multi-region.html +1 -1
  25. package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +1 -1
  26. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  27. package/dist/js/angular/core/directives/dynamic-form/templates/dynamic-form.html +1 -1
  28. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  29. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  30. package/dist/js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html +1 -1
  31. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +7 -7
  32. package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
  33. package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
  34. package/dist/js/angular/core/templates/core-errors.html +1 -1
  35. package/dist/js/angular/core/templates/editable-content/editable-content.html +1 -1
  36. package/dist/js/angular/core/templates/markdown-content/markdown-content.html +1 -1
  37. package/dist/js/angular/core/templates/search-resource-input.html +1 -1
  38. package/dist/js/angular/graphql/templates/create-graphql-endpoint.html +2 -2
  39. package/dist/js/angular/graphql/templates/graphql-endpoint-management.html +1 -1
  40. package/dist/js/angular/graphql/templates/graphql-playground.html +2 -2
  41. package/dist/js/angular/graphql/templates/modal/endpoint-configuration-modal.html +1 -1
  42. package/dist/js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html +1 -1
  43. package/dist/js/angular/graphql/templates/modal/import-endpoint-definition-modal.html +1 -1
  44. package/dist/js/angular/security/templates/user.html +2 -2
  45. package/dist/js/angular/security/templates/users.html +1 -1
  46. package/dist/js/angular/templates/repositorySize.html +1 -1
  47. package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
  48. package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
  49. package/dist/js/angular/ttyg/templates/chat-item-detail.html +1 -1
  50. package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
  51. package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
  52. package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
  53. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +3 -3
  54. package/dist/js/angular/ttyg/templates/modal/external-integration-configuration-modal.html +1 -1
  55. package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
  56. package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
  57. package/dist/legacyWorkbench.dfda71780998d00155c3.js +3 -0
  58. package/dist/{legacyWorkbench.ea9a056c52acc8e36000.js.LICENSE.txt → legacyWorkbench.dfda71780998d00155c3.js.LICENSE.txt} +10 -15
  59. package/dist/legacyWorkbench.dfda71780998d00155c3.js.map +1 -0
  60. package/dist/license-checker-static.json +0 -14
  61. package/dist/license-checker.json +75 -63
  62. package/dist/pages/aclmanagement.html +1 -1
  63. package/dist/pages/autocomplete.html +1 -1
  64. package/dist/pages/choose-repository-type.html +1 -1
  65. package/dist/pages/cluster-management/clusterInfo.html +2 -2
  66. package/dist/pages/create-index.html +1 -1
  67. package/dist/pages/dependencies.html +1 -1
  68. package/dist/pages/domainRangeInfo.html +2 -2
  69. package/dist/pages/edit.html +1 -1
  70. package/dist/pages/explore.html +1 -1
  71. package/dist/pages/export.html +1 -1
  72. package/dist/pages/find.html +1 -1
  73. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  74. package/dist/pages/graphs-visualizations.html +7 -7
  75. package/dist/pages/guides.html +1 -1
  76. package/dist/pages/home.html +1 -1
  77. package/dist/pages/import.html +2 -2
  78. package/dist/pages/jdbc-create.html +1 -1
  79. package/dist/pages/jdbc.html +1 -1
  80. package/dist/pages/monitor/backup-and-restore.html +1 -1
  81. package/dist/pages/monitor/queries.html +1 -1
  82. package/dist/pages/monitor/resources.html +1 -1
  83. package/dist/pages/namespaces.html +2 -2
  84. package/dist/pages/plugins.html +1 -1
  85. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  86. package/dist/pages/rdfrank.html +2 -2
  87. package/dist/pages/repositories.html +1 -1
  88. package/dist/pages/repository.html +1 -1
  89. package/dist/pages/similarity-indexes.html +1 -1
  90. package/dist/pages/sparql-editor.html +1 -1
  91. package/dist/pages/sparql-template-create.html +1 -1
  92. package/dist/pages/sparql-templates.html +1 -1
  93. package/dist/pages/ux-test1.html +2 -2
  94. package/dist/pages/webapi.html +0 -3
  95. package/dist/res/swagger5/LICENSE +202 -0
  96. package/dist/res/swagger5/NOTICE +2 -0
  97. package/dist/res/swagger5/css/onto-theme.css +1 -1
  98. package/dist/res/swagger5/favicon-16x16.png +0 -0
  99. package/dist/res/swagger5/favicon-32x32.png +0 -0
  100. package/dist/res/swagger5/index.html +10 -11
  101. package/dist/res/swagger5/swagger-initializer.js +1 -1
  102. package/dist/res/swagger5/swagger-ui-bundle.js +1 -1
  103. package/dist/res/swagger5/swagger-ui-bundle.js.LICENSE.txt +131 -1
  104. package/dist/res/swagger5/swagger-ui.css +1 -1
  105. package/dist/res/swagger5/swagger-ui.css.map +1 -1
  106. package/package.json +4 -1
  107. package/dist/17631.b26df249b2885762a7be.bundle.js +0 -2
  108. package/dist/17631.b26df249b2885762a7be.bundle.js.map +0 -1
  109. package/dist/19057.73fe17753980f4fd2ff9.bundle.js.map +0 -1
  110. package/dist/24690.7972ccea98a83e4669af.bundle.js.map +0 -1
  111. package/dist/30513.b6ca0b93f726b09a3d5c.bundle.js +0 -1
  112. package/dist/34634.6da3e4beb406cec3ea9d.bundle.js +0 -1
  113. package/dist/46128.48f42544c37c1401e73c.bundle.js +0 -1
  114. package/dist/54231.2d67e3505a83fdae51c7.bundle.js +0 -2
  115. package/dist/54231.2d67e3505a83fdae51c7.bundle.js.map +0 -1
  116. package/dist/57222.526c8686283962c30c59.bundle.js +0 -1
  117. package/dist/61716.c5aa53159a0d73d4a8fe.bundle.js +0 -2
  118. package/dist/61716.c5aa53159a0d73d4a8fe.bundle.js.map +0 -1
  119. package/dist/64269.ce56d4605aaf4874e2e9.bundle.js +0 -2
  120. package/dist/64269.ce56d4605aaf4874e2e9.bundle.js.map +0 -1
  121. package/dist/64709.c3b9f2f3008166dcb26e.bundle.js.map +0 -1
  122. package/dist/77387.7c54c74f31e955cbf454.bundle.js +0 -1
  123. package/dist/80933.3b1ed4fd7acf37b60a7c.bundle.js.map +0 -1
  124. package/dist/86176.4f39335f05e6a6ac5b78.bundle.js +0 -1
  125. package/dist/92090.38b61e7ec51a9265b893.bundle.js +0 -2
  126. package/dist/92090.38b61e7ec51a9265b893.bundle.js.map +0 -1
  127. package/dist/css/lib/swagger-ui.min.css +0 -1
  128. package/dist/css/swagger.custom.css +0 -1
  129. package/dist/legacyWorkbench.ea9a056c52acc8e36000.js +0 -3
  130. package/dist/legacyWorkbench.ea9a056c52acc8e36000.js.map +0 -1
  131. package/dist/res/swagger5/README.md +0 -3
  132. package/dist/res/swagger5/oauth2-redirect.html +0 -79
  133. package/dist/res/swagger5/swagger-ui-es-bundle-core.js +0 -2
  134. package/dist/res/swagger5/swagger-ui-es-bundle-core.js.LICENSE.txt +0 -1
  135. package/dist/res/swagger5/swagger-ui-es-bundle-core.js.map +0 -1
  136. package/dist/res/swagger5/swagger-ui-es-bundle.js +0 -2
  137. package/dist/res/swagger5/swagger-ui-es-bundle.js.LICENSE.txt +0 -1
  138. package/dist/res/swagger5/swagger-ui-es-bundle.js.map +0 -1
  139. package/dist/res/swagger5/swagger-ui-standalone-preset.js +0 -2
  140. package/dist/res/swagger5/swagger-ui-standalone-preset.js.LICENSE.txt +0 -1
  141. package/dist/res/swagger5/swagger-ui-standalone-preset.js.map +0 -1
  142. package/dist/res/swagger5/swagger-ui.js +0 -1
  143. package/dist/res/swagger5/swagger-ui.js.map +0 -1
  144. /package/dist/{19057.73fe17753980f4fd2ff9.bundle.js.LICENSE.txt → 19057.9ab70128b78b11fdcb2e.bundle.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"64709.c3b9f2f3008166dcb26e.bundle.js","mappings":"6HASA,SAASA,IACL,MAAO,CACHC,KAAM,SAAUC,EAAOC,EAASC,GAC5BF,EAAMG,OAAO,cAAe,WACE,cAAtBH,EAAMI,KAAKC,QAAgD,cAAtBL,EAAMI,KAAKC,SAC3CC,EAAEL,GAASM,IAAI,UAAUC,OAAS,GACnCF,EAAEL,GAASQ,OAAO,kBAAoBP,EAAKQ,KAAO,aAAeR,EAAKQ,KAAO,8GAGzF,EACJ,EAER,CAnBAC,QACKC,OAAO,gEAHI,IAIXC,UAAU,0BAA2Bf,GAE1CA,EAAwBgB,QAAU,E","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/import/directives/import-progress-indicator.directive.js"],"sourcesContent":["const modules = [];\n\nangular\n .module('graphdb.framework.import.directives.import-progress-indicator', modules)\n .directive('ImportProgressIndicator', ImportProgressIndicator);\n\nImportProgressIndicator.$inject = [];\n\n// importDirectives.directive('filesOntoLoader',\nfunction ImportProgressIndicator() {\n return {\n link: function (scope, element, attr) {\n scope.$watch('file.status', function () {\n if (scope.file.status === 'IMPORTING' || scope.file.status === 'UPLOADING') {\n if (!$(element).has('object').length > 0) {\n $(element).append('<object width=\"' + attr.size + '\" height=\"' + attr.size + '\" data=\"js/angular/templates/loader/ot-loader.svg?v=4.0.0-TR22\">{{\\'common.loading\\' | translate}}</object>');\n }\n }\n });\n }\n };\n}\n"],"names":["ImportProgressIndicator","link","scope","element","attr","$watch","file","status","$","has","length","append","size","angular","module","directive","$inject"],"sourceRoot":""}
@@ -1 +0,0 @@
1
- export const __webpack_esm_id__=77387;export const __webpack_esm_ids__=[77387];export const __webpack_esm_modules__={77387(_){_.exports={}}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ular/import/app.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/import/controllers/import-resource-message-dialog.controller.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/import/directives/import-progress-indicator.directive.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/import/directives/import-resource-message.directive.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/import/directives/import-resource-status-info.directive.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/import/directives/import-resource-tree.directive.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/import/directives/validate-uri.directive.js"],"sourcesContent":["import 'angular/core/services';\nimport 'angular/core/directives';\nimport 'angular/import/controllers/import-view.controller';\nimport 'angular/import/directives/validate-uri.directive';\nimport 'angular/import/directives/import-progress-indicator.directive';\nimport 'angular/import/directives/import-resource-tree.directive';\nimport 'angular/core/services/repositories.service';\nimport 'ng-file-upload/dist/ng-file-upload.min';\nimport 'ng-file-upload/dist/ng-file-upload-shim.min';\n\nconst modules = [\n 'toastr',\n 'ngRoute',\n 'ngFileUpload',\n 'ui.bootstrap',\n 'graphdb.framework.impex.import.controllers',\n 'graphdb.framework.core.services.repositories',\n 'graphdb.framework.import.directives.validate-uri',\n 'graphdb.framework.import.directives.import-progress-indicator',\n 'graphdb.framework.import.directives.import-resource-tree'\n];\n\nangular.module('graphdb.framework.impex.import', modules);\n","import {LoggerProvider} from \"../../core/services/logger-provider\";\n\nangular\n .module('graphdb.framework.impex.import.controllers.import-resource-message-dialog', [])\n .controller('ImportResourceMessageDialogController', ImportResourceMessageDialogController);\n\nImportResourceMessageDialogController.$inject = ['$scope', '$uibModalInstance', '$translate', 'toastr', 'message'];\n\nconst logger = LoggerProvider.logger;\n\nfunction ImportResourceMessageDialogController($scope, $uibModalInstance, $translate, toastr, message) {\n $scope.message = message;\n\n\n $scope.close = () => {\n $uibModalInstance.dismiss();\n };\n\n $scope.copyToClipboard = () => {\n navigator.clipboard.writeText($scope.message)\n .then(() => {\n toastr.success($translate.instant('import.help.messages.copied_to_clipboard'));\n $scope.close();\n }, (err) => {\n logger.error('Could not copy text: ', err);\n });\n };\n}\n","const modules = [];\n\nangular\n .module('graphdb.framework.import.directives.import-progress-indicator', modules)\n .directive('ImportProgressIndicator', ImportProgressIndicator);\n\nImportProgressIndicator.$inject = [];\n\n// importDirectives.directive('filesOntoLoader',\nfunction ImportProgressIndicator() {\n return {\n link: function (scope, element, attr) {\n scope.$watch('file.status', function () {\n if (scope.file.status === 'IMPORTING' || scope.file.status === 'UPLOADING') {\n if (!$(element).has('object').length > 0) {\n $(element).append('<object width=\"' + attr.size + '\" height=\"' + attr.size + '\" data=\"js/angular/templates/loader/ot-loader.svg?v=4.0.0-TR22\">{{\\'common.loading\\' | translate}}</object>');\n }\n }\n });\n }\n };\n}\n","import 'angular/import/controllers/import-resource-message-dialog.controller';\nimport {ImportResourceStatus} from \"../../models/import/import-resource-status\";\nimport * as stringUtils from \"../../utils/string-utils\";\n\nconst modules = ['graphdb.framework.impex.import.controllers.import-resource-message-dialog'];\n\nangular\n .module('graphdb.framework.import.directives.import-resource-message', modules)\n .directive('importResourceMessage', importResourceMessageDirective);\n\nimportResourceMessageDirective.$inject = ['$uibModal'];\n\nfunction importResourceMessageDirective($uibModal) {\n return {\n restrict: 'E',\n templateUrl: 'js/angular/import/templates/import-resource-message.html',\n scope: {\n resource: '='\n },\n link: ($scope) => {\n $scope.ImportResourceStatus = ImportResourceStatus;\n $scope.toTitleCase = (str) => stringUtils.toTitleCase(str);\n\n /**\n *\n * @param {ImportResourceTreeElement} resourceTreeElement\n */\n $scope.showMessage = (resourceTreeElement) => {\n $uibModal.open({\n templateUrl: 'js/angular/import/templates/import-resource-message-dialog.html',\n controller: 'ImportResourceMessageDialogController',\n size: 'lg',\n windowClass: 'import-resource-message-dialog',\n backdrop: 'static',\n resolve: {\n message: function () {\n return resourceTreeElement ? resourceTreeElement.importResource.message : '';\n }\n }\n });\n }\n }\n };\n}\n","const modules = [];\n\nangular\n .module('graphdb.framework.import.directives.import-resource-status-info', modules)\n .directive('importResourceStatusInfo', importResourceStatusInfoDirective);\n\nimportResourceStatusInfoDirective.$inject = ['$rootScope', '$document'];\n\nfunction importResourceStatusInfoDirective($rootScope, $document) {\n return {\n restrict: 'E',\n templateUrl: 'js/angular/import/templates/import-resource-status-info.html',\n scope: {\n resource: '='\n },\n link: ($scope) => {\n const subscribers = [];\n\n // =========================\n // Public variables\n // =========================\n $scope.popoverTemplate = 'resourceStatusInfoTemplate.html';\n $scope.popoverIsOpen = false;\n $scope.context = $scope.resource.importResource.context;\n $scope.replaceGraphs = $scope.resource.importResource.replaceGraphs;\n $scope.baseUrl = decodeURIComponent($scope.resource.importResource.baseURI);\n $scope.forceSerial = $scope.resource.importResource.forceSerial;\n $scope.importedOn = $scope.resource.importResource.importedOn;\n $scope.parserSettings = $scope.resource.importResource.parserSettings;\n\n // =========================\n // Public functions\n // =========================\n $scope.open = () => {\n $scope.closeAllDialogs();\n $scope.popoverIsOpen = true;\n };\n\n $scope.closeAllDialogs = () => {\n $rootScope.$broadcast('closePopovers');\n };\n\n $scope.close = () => {\n $scope.popoverIsOpen = false;\n };\n\n const handleEscapeKeyPress = (event) => {\n if (event.key === 'Escape') {\n $scope.$apply(() => {\n $scope.close();\n });\n }\n };\n\n const removeAllSubscribers = () => {\n subscribers.forEach((subscriber) => subscriber());\n };\n\n // =========================\n // Subscriptions\n // =========================\n\n subscribers.push($scope.$on('closePopovers', $scope.close));\n $document.on('keydown', handleEscapeKeyPress);\n\n $scope.$on('$destroy', () => {\n $document.off('keydown', handleEscapeKeyPress);\n removeAllSubscribers();\n });\n }\n };\n}\n","import {ImportResourceStatus} from \"../../models/import/import-resource-status\";\nimport 'angular/import/directives/import-resource-message.directive';\nimport 'angular/import/directives/import-resource-status-info.directive';\nimport {SortingType} from \"../../models/import/sorting-type\";\nimport {ImportResourceTreeElement} from \"../../models/import/import-resource-tree-element\";\nimport {TABS} from \"../services/import-context.service\";\nimport {ImportResourceTreeService} from \"../services/import-resource-tree.service\";\nimport {\n ByteUtils,\n} from \"@ontotext/workbench-api\";\n\nconst TYPE_FILTER_OPTIONS = {\n 'FILE': 'FILE',\n 'DIRECTORY': 'DIRECTORY',\n 'ALL': 'ALL',\n};\n\nconst STATUS_OPTIONS = {\n 'ALL': 'ALL',\n 'NONE': 'NONE',\n 'IMPORTED': 'IMPORTED',\n 'NOT_IMPORTED': 'NOT_IMPORTED',\n};\n\nconst modules = [\n 'graphdb.framework.import.directives.import-resource-message',\n 'graphdb.framework.import.directives.import-resource-status-info',\n];\n\nangular\n .module('graphdb.framework.import.directives.import-resource-tree', modules)\n .directive('importResourceTree', importResourceTreeDirective);\n\nimportResourceTreeDirective.$inject = ['$timeout', 'ImportContextService'];\n\nfunction importResourceTreeDirective($timeout, ImportContextService) {\n return {\n restrict: 'E',\n templateUrl: 'js/angular/import/templates/import-resource-tree.html',\n scope: {\n /**\n * Contains mapping of the column names to label keys. Should contain\n * keys for: name, size, imported, modified, context column names.\n */\n columnKeys: '=',\n /**\n * If the type filter buttons should be visible.\n */\n showTypeFilter: '=',\n /**\n * The default field to sort the resources by.\n */\n sortBy: '=',\n asc: '=',\n onImport: '&',\n onImportAll: '&',\n onReset: '&',\n onRemove: '&',\n onStopImport: '&',\n onEditResource: '&',\n },\n link: ($scope, element, attrs) => {\n // =========================\n // Public variables\n // =========================\n $scope.resources = new ImportResourceTreeElement();\n $scope.displayResources = [];\n $scope.TYPE_FILTER_OPTIONS = TYPE_FILTER_OPTIONS;\n $scope.filterByType = TYPE_FILTER_OPTIONS.ALL;\n $scope.filterByFileName = '';\n $scope.STATUS_OPTIONS = STATUS_OPTIONS;\n $scope.allDisplayedSelected = false;\n $scope.displayedPartiallySelected = false;\n $scope.ImportResourceStatus = ImportResourceStatus;\n $scope.canRemoveResource = angular.isDefined(attrs.onRemove);\n $scope.canResetSelectedResources = false;\n $scope.SORTING_TYPES = SortingType;\n $scope.sortAsc = angular.isDefined(attrs.asc) ? $scope.asc : true;\n $scope.sortedBy = $scope.sortBy;\n $scope.showLoader = ImportContextService.getShowLoader();\n $scope.hasSelection = false;\n\n // =========================\n // Public functions\n // =========================\n\n /**\n * Updates the selection model when a resource is selected or unselected.\n * @param {ImportResourceTreeElement} resource The resource that was selected or unselected.\n */\n $scope.selectionChanged = ((resource) => {\n resource.setSelection(resource.selected);\n updateSelectAllState();\n setCanResetResourcesFlag();\n updateHasSelection();\n });\n\n $scope.selectResourceWithStatus = (resourceStatus) => {\n $scope.resources.setSelection(false);\n\n if (STATUS_OPTIONS.ALL === resourceStatus) {\n $scope.resources.setSelection(true);\n } else if (STATUS_OPTIONS.IMPORTED === resourceStatus) {\n $scope.resources.selectAllWithStatus([ImportResourceStatus.DONE]);\n } else if (STATUS_OPTIONS.NOT_IMPORTED === resourceStatus) {\n $scope.resources.selectAllWithStatus([ImportResourceStatus.IMPORTING, ImportResourceStatus.NONE, ImportResourceStatus.ERROR, ImportResourceStatus.PENDING, ImportResourceStatus.INTERRUPTING]);\n }\n\n updateListedImportResources();\n setCanResetResourcesFlag();\n };\n\n /**\n * Selects all displayed resources, or deselects them if all of them are already selected.\n * Resources hidden by the type or name filter keep their selection.\n */\n $scope.toggleAllDisplayedResources = () => {\n const select = !$scope.allDisplayedSelected;\n $scope.displayResources.forEach((resource) => resource.setSelection(select));\n updateListedImportResources();\n setCanResetResourcesFlag();\n };\n\n $scope.filterByTypeChanged = (newType) => {\n $scope.filterByType = newType;\n updateListedImportResources();\n };\n\n $scope.filterByFileNameChanged = (filterByFileName) => {\n $scope.filterByFileName = filterByFileName;\n debounce(updateListedImportResources, 100);\n };\n\n /**\n * Resets the status of the selected resources.\n */\n $scope.onResetStatus = () => {\n const resourcesNames = $scope.resources.getAllSelected()\n .map((resource) => resource.path);\n if (resourcesNames.length > 0) {\n $scope.onReset({resources: resourcesNames});\n }\n };\n\n /**\n * Resets the status of the given resource.\n * @param {ImportResourceTreeElement} importResource\n */\n $scope.resetStatus = (importResource) => {\n $scope.onReset({resources: [importResource.path]});\n };\n\n $scope.onRemoveResources = () => {\n const selectedResources = $scope.resources.getAllSelected();\n if (selectedResources && selectedResources.length > 0) {\n $scope.onRemove({resources: selectedResources});\n }\n };\n\n $scope.removeResource = (resource) => {\n $scope.onRemove({resources: [resource]});\n };\n\n $scope.importAll = (withoutChangingSettings) => {\n const selectedResources = $scope.resources.getAllSelectedForImport();\n if (selectedResources.length > 0) {\n $scope.onImportAll({selectedResources: selectedResources, withoutChangingSettings});\n }\n };\n\n $scope.stopImport = (importResource) => {\n $scope.onStopImport({resource: importResource});\n };\n\n /**\n * Sorts resources by provided sorting type.\n * @param {SortingType} sortedBy The sorting type to use.\n */\n $scope.sort = (sortedBy) => {\n if ($scope.sortedBy === sortedBy) {\n $scope.sortAsc = !$scope.sortAsc;\n } else {\n $scope.sortAsc = true;\n }\n $scope.sortedBy = sortedBy;\n updateListedImportResources();\n };\n\n /**\n * Returns the value of the aria-sort attribute of the column header with the given sorting type.\n * @param {SortingType} sortingType The sorting type of the column.\n * @return {string} 'ascending', 'descending' or 'none'.\n */\n $scope.getAriaSort = (sortingType) => {\n if ($scope.sortedBy !== sortingType) {\n return 'none';\n }\n return $scope.sortAsc ? 'ascending' : 'descending';\n };\n\n /**\n * Returns the CSS class of the sorting icon of the column header with the given sorting type.\n * @param {SortingType} sortingType The sorting type of the column.\n * @return {string} 'sorting_asc', 'sorting_desc' or 'sorting' when the column isn't sorted.\n */\n $scope.getSortClass = (sortingType) => {\n if ($scope.sortedBy !== sortingType) {\n return 'sorting';\n }\n return $scope.sortAsc ? 'sorting_asc' : 'sorting_desc';\n };\n\n $scope.editResource = (resource) => {\n $scope.onEditResource({resource});\n };\n\n // =========================\n // Private functions\n // =========================\n\n /**\n * Sets the flag showing if any of the selected resources is already imported\n * and can have their states reset.\n */\n const setCanResetResourcesFlag = () => {\n $scope.canResetSelectedResources = $scope.resources.getSelectedImportedResources();\n };\n\n const updateListedImportResources = () => {\n $scope.resources.getRoot().updateSelectionState();\n sortResources();\n $scope.displayResources = $scope.resources.toList()\n .filter(filterByType)\n .filter(filterByName);\n\n updateHasSelection();\n updateSelectAllState();\n };\n\n const updateHasSelection = () => {\n const allSelectedFilesNames = $scope.resources.getAllSelectedFilesNames();\n $scope.hasSelection = allSelectedFilesNames.length > 0;\n ImportContextService.updateSelectedFilesNames(allSelectedFilesNames);\n };\n\n const updateSelectAllState = () => {\n const hasUnselected = $scope.displayResources.some((resource) => !resource.selected);\n const hasSelected = $scope.displayResources.some((resource) => resource.selected);\n $scope.allDisplayedSelected = hasSelected && !hasUnselected;\n $scope.displayedPartiallySelected = hasSelected && hasUnselected;\n };\n\n const sortResources = () => {\n if (SortingType.NAME === $scope.sortedBy) {\n $scope.resources.sort(compareByName($scope.sortAsc));\n } else if (SortingType.SIZE === $scope.sortedBy) {\n $scope.resources.sort(compareBySize($scope.sortAsc));\n } else if (SortingType.MODIFIED === $scope.sortedBy) {\n $scope.resources.sort(compareByModified($scope.sortAsc));\n } else if (SortingType.IMPORTED === $scope.sortedBy) {\n $scope.resources.sort(compareByImportedOn($scope.sortAsc));\n } else if (SortingType.CONTEXT === $scope.sortedBy) {\n $scope.resources.sort(compareByContext($scope.sortAsc));\n }\n };\n\n const compareByName = (acs) => (r1, r2) => {\n return acs ? r1.importResource.name.localeCompare(r2.importResource.name) : r2.importResource.name.localeCompare(r1.importResource.name);\n };\n\n const compareBySize = (acs) => (r1, r2) => {\n // The format of size returned by the backend has changed, but we need to keep the old format for backward compatibility.\n // Therefore, we convert the size to always be in bytes.\n const r1Size = ByteUtils.convertToBytes(r1.importResource.size);\n const r2Size = ByteUtils.convertToBytes(r2.importResource.size);\n return acs ? r1Size - r2Size : r2Size - r1Size;\n };\n\n const compareByModified = (acs) => (r1, r2) => {\n const r1ModifiedOn = r1.importResource.modifiedOn || Number.MAX_VALUE;\n const r2ModifiedOn = r2.importResource.modifiedOn || Number.MAX_VALUE;\n return acs ? r1ModifiedOn - r2ModifiedOn : r2ModifiedOn - r1ModifiedOn;\n };\n\n const compareByImportedOn = (acs) => (r1, r2) => {\n const r1ImportedOn = r1.importResource.importedOn || Number.MAX_VALUE;\n const r2ImportedOn = r2.importResource.importedOn || Number.MAX_VALUE;\n return acs ? r1ImportedOn - r2ImportedOn : r2ImportedOn - r1ImportedOn;\n };\n\n const compareByContext = (acs) => (r1, r2) => {\n return acs ? r1.importResource.context.localeCompare(r2.importResource.context) : r2.importResource.context.localeCompare(r1.importResource.context);\n };\n\n const filterByType = (resource) => {\n if (TYPE_FILTER_OPTIONS.ALL === $scope.filterByType) {\n return true;\n }\n\n if ($scope.filterByType === TYPE_FILTER_OPTIONS.FILE) {\n return resource.isFile();\n }\n\n if ($scope.filterByType === TYPE_FILTER_OPTIONS.DIRECTORY) {\n return resource.isDirectory();\n }\n\n return false;\n };\n\n const filterByName = (resource) => {\n if (!$scope.filterByFileName) {\n return true;\n }\n\n if ($scope.filterByType === TYPE_FILTER_OPTIONS.DIRECTORY) {\n return resource.hasTextInDirectoriesName($scope.filterByFileName);\n }\n\n if ($scope.filterByType === TYPE_FILTER_OPTIONS.FILE) {\n return resource.hasTextInFilesName($scope.filterByFileName);\n }\n return resource.hasTextInResourcesName($scope.filterByFileName);\n };\n\n let debounceTimeout;\n const debounce = (func, delay) => {\n // Clear previous timeout\n if (debounceTimeout) {\n $timeout.cancel(debounceTimeout);\n }\n\n // Set new timeout\n debounceTimeout = $timeout(func, delay);\n };\n\n // =========================\n // Subscription handlers\n // =========================\n\n const onResourcesUpdatedHandler = (newResources = []) => {\n const isUserImport = TABS.USER === ImportContextService.getActiveTabId();\n if ($scope.resources.isEmpty()) {\n $scope.resources = ImportResourceTreeService.toImportResourceTree(newResources, isUserImport);\n if (isUserImport) {\n $scope.sortedBy = SortingType.MODIFIED;\n }\n } else {\n ImportResourceTreeService.mergeResourceTree($scope.resources, newResources, isUserImport);\n }\n ImportResourceTreeService.calculateElementIndent($scope.resources);\n ImportResourceTreeService.setupAfterTreeInitProperties($scope.resources);\n updateListedImportResources();\n setCanResetResourcesFlag();\n };\n\n // =========================\n // Subscriptions\n // =========================\n const subscriptions = [];\n\n subscriptions.push(ImportContextService.onResourcesUpdated(onResourcesUpdatedHandler));\n subscriptions.push(ImportContextService.onShowLoaderUpdated((showLoader) => $scope.showLoader = showLoader));\n subscriptions.push(ImportContextService.onActiveTabIdUpdated(() => $scope.resources = new ImportResourceTreeElement()));\n\n const removeAllSubscribers = () => {\n subscriptions.forEach((subscription) => subscription());\n };\n\n // Deregister the watcher when the scope/directive is destroyed\n $scope.$on('$destroy', removeAllSubscribers);\n },\n };\n}\n","/**\n * This AngularJS directive validates whether an input value is a valid URI (IRI).\n *\n * @directive validateUri\n * @restrict A (Attribute)\n * @requires ngModel\n *\n * @example\n * <input type=\"text\" name=\"url\" ng-model=\"url\" validate-uri>\n */\nconst modules = [];\n\nangular\n .module('graphdb.framework.import.directives.validate-uri', modules)\n .directive('validateUri', validateUri);\n\nvalidateUri.$inject = ['UriUtils'];\n\n/**\n * @function validateUri\n * @param {UriUtils} UriUtils - Service for URI validation.\n */\nfunction validateUri(UriUtils) {\n return {\n restrict: 'A',\n require: 'ngModel',\n link: function (scope, element, attr, ctrl) {\n ctrl.$parsers.unshift(function (value) {\n ctrl.$setValidity('validateUri', true);\n if (!ctrl.$isEmpty(value)) {\n const valid = UriUtils.isValidIri(value, value.toString());\n ctrl.$setValidity('validateUri', valid);\n }\n return value;\n });\n }\n };\n}\n"],"names":["angular","module","controller","ImportResourceMessageDialogController","$inject","logger","LoggerProvider","$scope","$uibModalInstance","$translate","toastr","message","close","dismiss","copyToClipboard","navigator","clipboard","writeText","then","success","instant","err","error","ImportProgressIndicator","link","scope","element","attr","$watch","file","status","$","has","length","append","size","directive","importResourceMessageDirective","$uibModal","restrict","templateUrl","resource","ImportResourceStatus","toTitleCase","str","stringUtils","showMessage","resourceTreeElement","open","windowClass","backdrop","resolve","importResource","importResourceStatusInfoDirective","$rootScope","$document","subscribers","popoverTemplate","popoverIsOpen","context","replaceGraphs","baseUrl","decodeURIComponent","baseURI","forceSerial","importedOn","parserSettings","closeAllDialogs","$broadcast","handleEscapeKeyPress","event","key","$apply","push","$on","on","off","forEach","subscriber","TYPE_FILTER_OPTIONS","STATUS_OPTIONS","importResourceTreeDirective","$timeout","ImportContextService","columnKeys","showTypeFilter","sortBy","asc","onImport","onImportAll","onReset","onRemove","onStopImport","onEditResource","attrs","resources","ImportResourceTreeElement","displayResources","filterByType","ALL","filterByFileName","allDisplayedSelected","displayedPartiallySelected","canRemoveResource","isDefined","canResetSelectedResources","SORTING_TYPES","SortingType","sortAsc","sortedBy","showLoader","getShowLoader","hasSelection","selectionChanged","setSelection","selected","updateSelectAllState","setCanResetResourcesFlag","updateHasSelection","selectResourceWithStatus","resourceStatus","IMPORTED","selectAllWithStatus","DONE","NOT_IMPORTED","IMPORTING","NONE","ERROR","PENDING","INTERRUPTING","updateListedImportResources","toggleAllDisplayedResources","select","filterByTypeChanged","newType","filterByFileNameChanged","debounce","onResetStatus","resourcesNames","getAllSelected","map","path","resetStatus","onRemoveResources","selectedResources","removeResource","importAll","withoutChangingSettings","getAllSelectedForImport","stopImport","sort","getAriaSort","sortingType","getSortClass","editResource","getSelectedImportedResources","getRoot","updateSelectionState","sortResources","toList","filter","filterByName","allSelectedFilesNames","getAllSelectedFilesNames","updateSelectedFilesNames","hasUnselected","some","hasSelected","NAME","compareByName","SIZE","compareBySize","MODIFIED","compareByModified","compareByImportedOn","CONTEXT","compareByContext","acs","r1","r2","name","localeCompare","r1Size","ByteUtils","convertToBytes","r2Size","r1ModifiedOn","modifiedOn","Number","MAX_VALUE","r2ModifiedOn","r1ImportedOn","r2ImportedOn","FILE","isFile","DIRECTORY","isDirectory","hasTextInDirectoriesName","hasTextInFilesName","hasTextInResourcesName","debounceTimeout","func","delay","cancel","subscriptions","onResourcesUpdated","onResourcesUpdatedHandler","newResources","isUserImport","TABS","USER","getActiveTabId","isEmpty","ImportResourceTreeService","toImportResourceTree","mergeResourceTree","calculateElementIndent","setupAfterTreeInitProperties","onShowLoaderUpdated","onActiveTabIdUpdated","removeAllSubscribers","subscription","validateUri","UriUtils","require","ctrl","$parsers","unshift","value","$setValidity","$isEmpty","valid","isValidIri","toString"],"sourceRoot":""}
@@ -1 +0,0 @@
1
- export const __webpack_esm_id__=86176;export const __webpack_esm_ids__=[86176];export const __webpack_esm_modules__={86176(){}};
@@ -1,2 +0,0 @@
1
- export const __webpack_esm_id__=92090;export const __webpack_esm_ids__=[92090];export const __webpack_esm_modules__={24963(n,a,o){o.d(a,{A:()=>t});var e=o(80960),i=o.n(e),s=o(46144),A=o.n(s)()(i());A.push([n.id,'/* Include this file in your html if you are using the CSP mode. */\n\n@charset "UTF-8";\n\n[ng\\:cloak],\n[ng-cloak],\n[data-ng-cloak],\n[x-ng-cloak],\n.ng-cloak,\n.x-ng-cloak,\n.ng-hide:not(.ng-hide-animate) {\n display: none !important;\n}\n\nng\\:form {\n display: block;\n}\n\n.ng-animate-shim {\n visibility:hidden;\n}\n\n.ng-anchor {\n position:absolute;\n}\n',"",{version:3,sources:["webpack://./packages/legacy-workbench/node_modules/angular/angular-csp.css"],names:[],mappings:"AAAA,kEAAkE;;AAElE,gBAAgB;;AAEhB;;;;;;;EAOE,wBAAwB;AAC1B;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,iBAAiB;AACnB",sourcesContent:['/* Include this file in your html if you are using the CSP mode. */\n\n@charset "UTF-8";\n\n[ng\\:cloak],\n[ng-cloak],\n[data-ng-cloak],\n[x-ng-cloak],\n.ng-cloak,\n.x-ng-cloak,\n.ng-hide:not(.ng-hide-animate) {\n display: none !important;\n}\n\nng\\:form {\n display: block;\n}\n\n.ng-animate-shim {\n visibility:hidden;\n}\n\n.ng-anchor {\n position:absolute;\n}\n'],sourceRoot:""}]);const t=A},92090(n,a,o){var e=o(85072),i=o.n(e),s=o(97825),A=o.n(s),t=o(77659),l=o.n(t),c=o(55056),g=o.n(c),r=o(10540),d=o.n(r),m=o(41113),h=o.n(m),k=o(24963),p={};p.styleTagTransform=h(),p.setAttributes=g(),p.insert=l().bind(null,"head"),p.domAPI=A(),p.insertStyleElement=d(),i()(k.A,p),k.A&&k.A.locals&&k.A.locals}};
2
- //# sourceMappingURL=92090.38b61e7ec51a9265b893.bundle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"92090.38b61e7ec51a9265b893.bundle.js","mappings":"sLAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,qXAyBtC,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,8EAA8E,MAAQ,GAAG,SAAW,iIAAiI,eAAiB,CAAC,sXAAwX,WAAa,MAE1pB,S,sJCrBIC,EAAU,CAAC,EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IACxBF,EAAQG,OAAS,SAAc,KAAM,QACrCH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAKJ,KAAW,IAAQM,QAAS,IAAQA,M","sources":["webpack://root-config/./packages/legacy-workbench/node_modules/angular/angular-csp.css","webpack://root-config/./packages/legacy-workbench/node_modules/angular/angular-csp.css?32de"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* Include this file in your html if you are using the CSP mode. */\n\n@charset \"UTF-8\";\n\n[ng\\\\:cloak],\n[ng-cloak],\n[data-ng-cloak],\n[x-ng-cloak],\n.ng-cloak,\n.x-ng-cloak,\n.ng-hide:not(.ng-hide-animate) {\n display: none !important;\n}\n\nng\\\\:form {\n display: block;\n}\n\n.ng-animate-shim {\n visibility:hidden;\n}\n\n.ng-anchor {\n position:absolute;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./packages/legacy-workbench/node_modules/angular/angular-csp.css\"],\"names\":[],\"mappings\":\"AAAA,kEAAkE;;AAElE,gBAAgB;;AAEhB;;;;;;;EAOE,wBAAwB;AAC1B;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,iBAAiB;AACnB\",\"sourcesContent\":[\"/* Include this file in your html if you are using the CSP mode. */\\n\\n@charset \\\"UTF-8\\\";\\n\\n[ng\\\\:cloak],\\n[ng-cloak],\\n[data-ng-cloak],\\n[x-ng-cloak],\\n.ng-cloak,\\n.x-ng-cloak,\\n.ng-hide:not(.ng-hide-animate) {\\n display: none !important;\\n}\\n\\nng\\\\:form {\\n display: block;\\n}\\n\\n.ng-animate-shim {\\n visibility:hidden;\\n}\\n\\n.ng-anchor {\\n position:absolute;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js!./angular-csp.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js!./angular-csp.css\";\n export default content && content.locals ? content.locals : undefined;\n"],"names":["___CSS_LOADER_EXPORT___","push","module","id","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals"],"sourceRoot":""}
@@ -1 +0,0 @@
1
- .text-uppercase{text-transform:uppercase}.operations{padding-left:4ex}.swagger-ui .api-description{margin-bottom:20px}.swagger-ui .endpoint{border-bottom:1px solid #ddd}.swagger-ui .endpoint:last-child{border:0}.swagger-ui .endpoint.active h4 a,.swagger-ui .endpoint:hover h4 a{color:#000}.swagger-ui .endpoint.active .endpoint-actions li a,.swagger-ui .endpoint:hover .endpoint-actions li a{color:#555}.swagger-ui .endpoint a{color:#999;text-decoration:none}.swagger-ui .endpoint a:hover{color:#000;text-decoration:underline}.swagger-ui .endpoint .endpoint-heading span{color:#999}.swagger-ui .endpoint .endpoint-actions{line-height:1.1;margin:10px 0}.swagger-ui .endpoint .endpoint-actions li{border-right:1px solid #ddd}.swagger-ui .endpoint .endpoint-actions li:last-child{border-right:0}.swagger-ui .operation{margin-bottom:10px}.swagger-ui .operation .heading a:hover{text-decoration:none}.swagger-ui .operation .http-method{border-radius:2px;color:#fff;display:inline-block;font-size:.7em;padding:7px 0 4px;text-align:center;width:50px}.swagger-ui .operation .path{color:#000;display:inline-block;padding-left:10px}.swagger-ui .operation .description{margin:2px 10px 0 0}.swagger-ui .operation .content-type label{margin-right:5px}.swagger-ui .operation .content{border-top:0!important;padding:10px}.swagger-ui .operation .content h5{font-weight:700;margin:0;padding:15px 0 5px}.swagger-ui .operation .content .table{font:inherit;margin:0;min-width:650px;table-layout:fixed}.swagger-ui .operation .content .table-responsive .table td,.swagger-ui .operation .content .table-responsive .table th{white-space:normal;word-break:break-word}.swagger-ui .operation .content thead th{border-bottom:1px solid #999;color:#666;padding:5px}.swagger-ui .operation .content pre{background-color:#fcf6db;border:1px solid #e5e0c6;font-size:.9em;max-height:200px;overflow:auto;word-wrap:normal}.swagger-ui .operation .content input,.swagger-ui .operation .content textarea{width:100%}.swagger-ui .operation .content textarea{font-family:Menlo,Monaco,Consolas,Courier New,monospace;font-size:.9em;height:100px;resize:none}.swagger-ui .operation .content label{font-weight:400}.swagger-ui .operation .content ul.schema{margin:0}.swagger-ui .operation .content ul.schema li{border-right:1px solid #ddd;margin:0 5px 5px 0;padding:2px 5px 2px 0}.swagger-ui .operation .content ul.schema li:last-child{border-right:0}.swagger-ui .operation .content ul.schema li a{color:#aaa}.swagger-ui .operation .content ul.schema li a.active,.swagger-ui .operation .content ul.schema li a:hover{color:#000}.swagger-ui .operation .content pre.model{background:transparent!important;border:0;cursor:text;font:inherit;font-size:.9em;height:auto;max-height:none;white-space:normal;word-break:break-word}.swagger-ui .operation .content pre.model .model-item{margin-bottom:5px}.swagger-ui .operation .content pre.model .type{color:#55a}.swagger-ui .operation .content pre.model .pad{margin-left:1em}.swagger-ui .operation .content .parameters .model-schema pre{cursor:pointer}.swagger-ui .operation .content .parameters .model-schema pre:hover{background-color:#ffd}.swagger-ui .operation .content .parameters .name{width:12%}.swagger-ui .operation .content .parameters .value{width:30%}.swagger-ui .operation .content .parameters .desc{width:20%}.swagger-ui .operation .content .parameters .type{width:12%}.swagger-ui .operation .content .responses .code{width:15%}.swagger-ui .operation .content .hide-try-it{padding:4px 0 0 10px;text-decoration:underline}.swagger-ui .get .content,.swagger-ui .get .heading{background-color:#e7f0f7;border:1px solid #c3d9ec}.swagger-ui .get .http-method{background-color:#0f6ab4}.swagger-ui .get .description,.swagger-ui .get h5{color:#0f6ab4}.swagger-ui .get a.hide-try-it{color:#6fa5d2}.swagger-ui .post .content,.swagger-ui .post .heading{background-color:#ebf7f0;border:1px solid #c3e8d1}.swagger-ui .post .http-method{background-color:#10a54a}.swagger-ui .post .description,.swagger-ui .post h5{color:#10a54a}.swagger-ui .post a.hide-try-it{color:#6fc992}.swagger-ui .put .content,.swagger-ui .put .heading{background-color:#f9f2e9;border:1px solid #f0e0ca}.swagger-ui .put .http-method{background-color:#c5862b}.swagger-ui .put .description,.swagger-ui .put h5{color:#c5862b}.swagger-ui .put a.hide-try-it{color:#dcb67f}.swagger-ui .delete .content,.swagger-ui .delete .heading{background-color:#f5e8e8;border:1px solid #e8c6c7}.swagger-ui .delete .http-method{background-color:#a41e22}.swagger-ui .delete .description,.swagger-ui .delete h5{color:#a41e22}.swagger-ui .delete a.hide-try-it{color:#c8787a}.swagger-ui .patch .content,.swagger-ui .patch .heading{background-color:#fce9e3;border:1px solid #f5d5c3}.swagger-ui .patch .http-method{background-color:#d38042}.swagger-ui .patch .description,.swagger-ui .patch h5{color:#d38042}.swagger-ui .patch a.hide-try-it{color:#dcb67f}.swagger-ui .head .content,.swagger-ui .head .heading{background-color:#fcffcd;border:1px solid #ffd20f}.swagger-ui .head .http-method{background-color:#ffd20f}.swagger-ui .head .description,.swagger-ui .head h5{color:#ffd20f}.swagger-ui .head a.hide-try-it{color:#6fc992}.swagger-ui .bold,.swagger-ui .bold label{font-weight:700!important}
@@ -1 +0,0 @@
1
- .api-infos{display:none}