graphdb-workbench 3.3.2-TR1 → 3.3.3-TR1

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 (213) hide show
  1. package/dist/13231.8bbbe30c10e6c0dfdba3.bundle.js +2 -0
  2. package/dist/13231.8bbbe30c10e6c0dfdba3.bundle.js.map +1 -0
  3. package/dist/{20694.a738f5634ec09369dc85.bundle.js → 20694.4becb7771236462dcc5a.bundle.js} +2 -2
  4. package/dist/20694.4becb7771236462dcc5a.bundle.js.map +1 -0
  5. package/dist/21015.6db2b66597f78d4b83cc.bundle.js +2 -0
  6. package/dist/21015.6db2b66597f78d4b83cc.bundle.js.map +1 -0
  7. package/dist/2975.c5ebc3e3ad52df3ab907.bundle.js +2 -0
  8. package/dist/2975.c5ebc3e3ad52df3ab907.bundle.js.map +1 -0
  9. package/dist/{38644.37a8cd71112da94401d9.bundle.js → 38644.cc471c67239fa24901cc.bundle.js} +2 -2
  10. package/dist/{38644.37a8cd71112da94401d9.bundle.js.map → 38644.cc471c67239fa24901cc.bundle.js.map} +1 -1
  11. package/dist/{39518.2871b32c37b20075dba3.bundle.js → 39518.1c641a7dc1c50a526845.bundle.js} +2 -2
  12. package/dist/{39518.2871b32c37b20075dba3.bundle.js.map → 39518.1c641a7dc1c50a526845.bundle.js.map} +1 -1
  13. package/dist/39874.710e94f211579215f997.bundle.js +2 -0
  14. package/dist/39874.710e94f211579215f997.bundle.js.map +1 -0
  15. package/dist/60560.6ba1b091a34af6c00770.bundle.js +2 -0
  16. package/dist/60560.6ba1b091a34af6c00770.bundle.js.map +1 -0
  17. package/dist/{64118.b06aebc9f8d7e822244f.bundle.js → 64118.177457589341de779668.bundle.js} +2 -2
  18. package/dist/64118.177457589341de779668.bundle.js.map +1 -0
  19. package/dist/{67888.b75d9678cf65cd82f065.bundle.js → 67888.7224e1b2689d73c4d468.bundle.js} +2 -2
  20. package/dist/{67888.b75d9678cf65cd82f065.bundle.js.map → 67888.7224e1b2689d73c4d468.bundle.js.map} +1 -1
  21. package/dist/71099.ba1073458b96d9789756.bundle.js +2 -0
  22. package/dist/71099.ba1073458b96d9789756.bundle.js.map +1 -0
  23. package/dist/75881.148ce498d06784abfd6c.bundle.js +2 -0
  24. package/dist/75881.148ce498d06784abfd6c.bundle.js.map +1 -0
  25. package/dist/78070.d54ede951a08e1c8689d.bundle.js +2 -0
  26. package/dist/78070.d54ede951a08e1c8689d.bundle.js.map +1 -0
  27. package/dist/7815.2aec5ebbcd434f5582ff.bundle.js +2 -0
  28. package/dist/7815.2aec5ebbcd434f5582ff.bundle.js.map +1 -0
  29. package/dist/78681.9e1d4e064e9e1fb5fb21.bundle.js +2 -0
  30. package/dist/78681.9e1d4e064e9e1fb5fb21.bundle.js.map +1 -0
  31. package/dist/{82926.99231caacc379c66487a.bundle.js → 82926.bbdac6a7e9eb883ae97b.bundle.js} +2 -2
  32. package/dist/{82926.99231caacc379c66487a.bundle.js.map → 82926.bbdac6a7e9eb883ae97b.bundle.js.map} +1 -1
  33. package/dist/{94229.47dbdba202106c61dff1.bundle.js → 94229.5a853fae006f6ef633af.bundle.js} +2 -2
  34. package/dist/94229.5a853fae006f6ef633af.bundle.js.map +1 -0
  35. package/dist/95953.1350a9dc14b22372b4e2.bundle.js +2 -0
  36. package/dist/95953.1350a9dc14b22372b4e2.bundle.js.map +1 -0
  37. package/dist/98268.a1bd17e40ede031a0a00.bundle.js +2 -0
  38. package/dist/98268.a1bd17e40ede031a0a00.bundle.js.map +1 -0
  39. package/dist/{99448.272a4ba1ce8032167bea.bundle.js → 99448.b9922814bd15808a9d1c.bundle.js} +2 -2
  40. package/dist/{99448.272a4ba1ce8032167bea.bundle.js.map → 99448.b9922814bd15808a9d1c.bundle.js.map} +1 -1
  41. package/dist/api/models/cookie/cookie-options.d.ts +17 -0
  42. package/dist/api/models/cookie/index.d.ts +1 -1
  43. package/dist/api/models/security/authenticated-user.d.ts +2 -0
  44. package/dist/api/models/tracking/cookie-consent.d.ts +39 -0
  45. package/dist/api/models/tracking/index.d.ts +1 -0
  46. package/dist/api/models/users/app-settings.d.ts +2 -2
  47. package/dist/api/ontotext-workbench-api.d.ts +3 -1
  48. package/dist/api/ontotext-workbench-api.js +1 -1
  49. package/dist/api/ontotext-workbench-api.js.map +1 -1
  50. package/dist/api/services/cookie/browser-cookie-store.d.ts +19 -0
  51. package/dist/api/services/cookie/cookie-builder.d.ts +77 -0
  52. package/dist/api/services/cookie/cookie-store.d.ts +16 -0
  53. package/dist/api/services/cookie/cookie.service.d.ts +34 -7
  54. package/dist/api/services/cookie/error/invalid-cookie-expiration.d.ts +8 -0
  55. package/dist/api/services/cookie/index.d.ts +3 -0
  56. package/dist/api/services/cookie/test/cookie-builder.spec.d.ts +1 -0
  57. package/dist/api/services/cookie/test/in-memory-cookie-store.d.ts +11 -0
  58. package/dist/api/services/security/auth-strategies/tests/provider-response-mocks.d.ts +2 -2
  59. package/dist/api/services/security/security-context.service.d.ts +6 -0
  60. package/dist/api/services/tracking/google-analytics-cookie.service.d.ts +50 -0
  61. package/dist/api/services/tracking/index.d.ts +4 -0
  62. package/dist/api/services/tracking/installation-cookie.service.d.ts +37 -0
  63. package/dist/api/services/tracking/test/tracking-storage.service.spec.d.ts +1 -0
  64. package/dist/api/services/tracking/test/tracking.service.spec.d.ts +1 -0
  65. package/dist/api/services/tracking/tracking-storage.service.d.ts +27 -0
  66. package/dist/api/services/tracking/tracking.service.d.ts +56 -0
  67. package/dist/api/services/users/response/user-response.d.ts +1 -1
  68. package/dist/api/services/utils/date-util.d.ts +11 -0
  69. package/dist/api/services/utils/index.d.ts +1 -0
  70. package/dist/api/services/window/window.service.d.ts +6 -0
  71. package/dist/assets/i18n/fr.json +1 -1
  72. package/dist/index.html +9 -9
  73. package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +1 -1
  74. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  75. package/dist/js/angular/core/directives/dynamic-form/templates/dynamic-form.html +1 -1
  76. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  77. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  78. package/dist/js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html +1 -1
  79. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +2 -2
  80. package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
  81. package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
  82. package/dist/js/angular/core/templates/editable-content/editable-content.html +1 -1
  83. package/dist/js/angular/core/templates/markdown-content/markdown-content.html +1 -1
  84. package/dist/js/angular/core/templates/search-resource-input.html +1 -1
  85. package/dist/js/angular/graphql/templates/create-graphql-endpoint.html +2 -2
  86. package/dist/js/angular/graphql/templates/graphql-endpoint-management.html +1 -1
  87. package/dist/js/angular/graphql/templates/graphql-playground.html +2 -2
  88. package/dist/js/angular/graphql/templates/modal/endpoint-configuration-modal.html +1 -1
  89. package/dist/js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html +1 -1
  90. package/dist/js/angular/graphql/templates/modal/import-endpoint-definition-modal.html +1 -1
  91. package/dist/js/angular/security/templates/user.html +5 -2
  92. package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
  93. package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
  94. package/dist/js/angular/ttyg/templates/chat-item-detail.html +3 -2
  95. package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
  96. package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
  97. package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
  98. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +3 -3
  99. package/dist/js/angular/ttyg/templates/modal/external-integration-configuration-modal.html +1 -1
  100. package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
  101. package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
  102. package/dist/legacyWorkbench.4d8a4e8dde83fc9ac427.js +3 -0
  103. package/dist/{legacyWorkbench.88e1d4d209e51c6f9b65.js.map → legacyWorkbench.4d8a4e8dde83fc9ac427.js.map} +1 -1
  104. package/dist/license-checker-static.json +0 -7
  105. package/dist/{main.1be0fc11ab24b99f8800.js → main.14f083264cd64618d96a.js} +3 -3
  106. package/dist/main.14f083264cd64618d96a.js.map +1 -0
  107. package/dist/pages/aclmanagement.html +1 -1
  108. package/dist/pages/autocomplete.html +1 -1
  109. package/dist/pages/choose-repository-type.html +1 -1
  110. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  111. package/dist/pages/create-index.html +1 -1
  112. package/dist/pages/dependencies.html +1 -1
  113. package/dist/pages/domainRangeInfo.html +2 -2
  114. package/dist/pages/edit.html +1 -1
  115. package/dist/pages/explore.html +1 -1
  116. package/dist/pages/export.html +1 -1
  117. package/dist/pages/find.html +1 -1
  118. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  119. package/dist/pages/graphs-visualizations.html +7 -7
  120. package/dist/pages/guides.html +1 -1
  121. package/dist/pages/home.html +1 -1
  122. package/dist/pages/import.html +2 -2
  123. package/dist/pages/jdbc-create.html +1 -1
  124. package/dist/pages/jdbc.html +1 -1
  125. package/dist/pages/monitor/backup-and-restore.html +1 -1
  126. package/dist/pages/monitor/queries.html +1 -1
  127. package/dist/pages/monitor/resources.html +1 -1
  128. package/dist/pages/namespaces.html +2 -2
  129. package/dist/pages/plugins.html +1 -1
  130. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  131. package/dist/pages/rdfrank.html +2 -2
  132. package/dist/pages/repositories.html +1 -1
  133. package/dist/pages/repository.html +1 -1
  134. package/dist/pages/similarity-indexes.html +1 -1
  135. package/dist/pages/sparql-editor.html +1 -1
  136. package/dist/pages/sparql-template-create.html +1 -1
  137. package/dist/pages/sparql-templates.html +1 -1
  138. package/dist/pages/ux-test1.html +2 -2
  139. package/dist/pages/webapi.html +4 -3
  140. package/dist/res/swagger5/index.html +11 -11
  141. package/dist/res/swagger5/swagger-initializer.js +1 -1
  142. package/dist/shared-components/cjs/function-utils-WB47AWpR.js +1 -0
  143. package/dist/shared-components/cjs/loader.cjs.js +1 -1
  144. package/dist/shared-components/cjs/onto-cookie-consent_2.cjs.entry.js +1 -1
  145. package/dist/shared-components/cjs/onto-dialog_2.cjs.entry.js +1 -1
  146. package/dist/shared-components/cjs/onto-footer_5.cjs.entry.js +1 -1
  147. package/dist/shared-components/cjs/onto-layout.cjs.entry.js +1 -1
  148. package/dist/shared-components/cjs/onto-test-context.cjs.entry.js +1 -1
  149. package/dist/shared-components/cjs/shared-components.cjs.js +1 -1
  150. package/dist/shared-components/collection/components/dialogs/onto-cookie-policy-dialog/onto-cookie-policy-dialog.js +1 -1
  151. package/dist/shared-components/collection/components/dialogs/onto-dialog.js +1 -1
  152. package/dist/shared-components/collection/components/onto-cookie-consent/onto-cookie-consent.css +1 -1
  153. package/dist/shared-components/collection/components/onto-cookie-consent/onto-cookie-consent.js +1 -1
  154. package/dist/shared-components/collection/components/onto-footer/onto-footer.js +1 -1
  155. package/dist/shared-components/esm/function-utils-D1ZpXQQS.js +1 -0
  156. package/dist/shared-components/esm/loader.js +1 -1
  157. package/dist/shared-components/esm/onto-cookie-consent_2.entry.js +1 -1
  158. package/dist/shared-components/esm/onto-dialog_2.entry.js +1 -1
  159. package/dist/shared-components/esm/onto-footer_5.entry.js +1 -1
  160. package/dist/shared-components/esm/onto-layout.entry.js +1 -1
  161. package/dist/shared-components/esm/onto-test-context.entry.js +1 -1
  162. package/dist/shared-components/esm/shared-components.js +1 -1
  163. package/dist/shared-components/shared-components/{p-279a026b.entry.js → p-5886e663.entry.js} +1 -1
  164. package/dist/shared-components/shared-components/p-598d33d7.entry.js +1 -0
  165. package/dist/shared-components/shared-components/p-6d34b2cb.entry.js +1 -0
  166. package/dist/shared-components/shared-components/p-74888633.entry.js +1 -0
  167. package/dist/shared-components/shared-components/p-D1ZpXQQS.js +1 -0
  168. package/dist/shared-components/shared-components/p-b5d4081d.entry.js +1 -0
  169. package/dist/shared-components/shared-components/shared-components.esm.js +1 -1
  170. package/dist/shared-components/types/components/dialogs/onto-cookie-policy-dialog/onto-cookie-policy-dialog.d.ts +31 -7
  171. package/dist/shared-components/types/components/onto-cookie-consent/onto-cookie-consent.d.ts +2 -2
  172. package/dist/shared-components/types/components/onto-footer/onto-footer.d.ts +9 -2
  173. package/dist/shared-components/types/components.d.ts +17 -8
  174. package/dist/shared-components/types/models/dialog/dialog-handler.d.ts +4 -0
  175. package/package.json +1 -1
  176. package/dist/13231.9b625e487e6385faa36f.bundle.js +0 -2
  177. package/dist/13231.9b625e487e6385faa36f.bundle.js.map +0 -1
  178. package/dist/20694.a738f5634ec09369dc85.bundle.js.map +0 -1
  179. package/dist/21015.68c7c667ef64ad8e8e0d.bundle.js +0 -2
  180. package/dist/21015.68c7c667ef64ad8e8e0d.bundle.js.map +0 -1
  181. package/dist/2975.8be1a79816fd811be223.bundle.js +0 -2
  182. package/dist/2975.8be1a79816fd811be223.bundle.js.map +0 -1
  183. package/dist/39874.47a6948df3520a7bf37a.bundle.js +0 -2
  184. package/dist/39874.47a6948df3520a7bf37a.bundle.js.map +0 -1
  185. package/dist/60560.275a89ab1375e91de0aa.bundle.js +0 -2
  186. package/dist/60560.275a89ab1375e91de0aa.bundle.js.map +0 -1
  187. package/dist/64118.b06aebc9f8d7e822244f.bundle.js.map +0 -1
  188. package/dist/71099.ca7720893604e9d908d6.bundle.js +0 -2
  189. package/dist/71099.ca7720893604e9d908d6.bundle.js.map +0 -1
  190. package/dist/75881.54dc716f79b6fe29232a.bundle.js +0 -2
  191. package/dist/75881.54dc716f79b6fe29232a.bundle.js.map +0 -1
  192. package/dist/78070.13538271878de6a98862.bundle.js +0 -2
  193. package/dist/78070.13538271878de6a98862.bundle.js.map +0 -1
  194. package/dist/7815.f09f8d6953d2c964e04d.bundle.js +0 -2
  195. package/dist/7815.f09f8d6953d2c964e04d.bundle.js.map +0 -1
  196. package/dist/78681.0cfa1e86d4dac1b7e7e8.bundle.js +0 -2
  197. package/dist/78681.0cfa1e86d4dac1b7e7e8.bundle.js.map +0 -1
  198. package/dist/94229.47dbdba202106c61dff1.bundle.js.map +0 -1
  199. package/dist/95953.ec1b9d5e568d43ec3dcf.bundle.js +0 -2
  200. package/dist/95953.ec1b9d5e568d43ec3dcf.bundle.js.map +0 -1
  201. package/dist/98268.86ff371dde616b4e2a76.bundle.js +0 -2
  202. package/dist/98268.86ff371dde616b4e2a76.bundle.js.map +0 -1
  203. package/dist/api/models/cookie/cookie-consent.d.ts +0 -14
  204. package/dist/legacyWorkbench.88e1d4d209e51c6f9b65.js +0 -3
  205. package/dist/main.1be0fc11ab24b99f8800.js.map +0 -1
  206. package/dist/shared-components/collection/models/dialog/onto-dialog.js +0 -1
  207. package/dist/shared-components/shared-components/p-2075209c.entry.js +0 -1
  208. package/dist/shared-components/shared-components/p-30e4880f.entry.js +0 -1
  209. package/dist/shared-components/shared-components/p-413b3789.entry.js +0 -1
  210. package/dist/shared-components/shared-components/p-67199a46.entry.js +0 -1
  211. package/dist/shared-components/types/models/dialog/onto-dialog.d.ts +0 -4
  212. /package/dist/{legacyWorkbench.88e1d4d209e51c6f9b65.js.LICENSE.txt → legacyWorkbench.4d8a4e8dde83fc9ac427.js.LICENSE.txt} +0 -0
  213. /package/dist/{main.1be0fc11ab24b99f8800.js.LICENSE.txt → main.14f083264cd64618d96a.js.LICENSE.txt} +0 -0
@@ -0,0 +1,2 @@
1
+ export const __webpack_esm_id__=13231;export const __webpack_esm_ids__=[13231,33760];export const __webpack_esm_modules__={13231(e,t,s){s(2243);var r=s(33760),n=s(92900),o=s(57154);function i(e,t,s,i,a,c,u,d,l,p,g,m){angular.extend(this,u("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"}));const h=(0,o.service)(o.SecurityService),w=(0,o.service)(o.AuthenticationService),S=(0,o.service)(o.SecurityContextService),v=(0,o.service)(o.LicenseService),_=(0,o.service)(o.ApplicationSettingsStorageService),U=(0,o.service)(o.NavigationContextService),A=(0,o.service)(o.ThemeService);let k;e.mode="settings",e.showWorkbenchSettings=!0,e.workbenchSettings=_.getApplicationSettings(),e.selectedThemeMode=e.workbenchSettings.themeMode,e.saveButtonText=l.instant("common.save.btn"),e.pageTitle=l.instant("view.settings.title"),e.passwordPlaceholder=l.instant("security.new.password"),e.grantedAuthorities={[r.aj]:{},[r.DX]:{},[r.w0]:{}},e.loader=!1,e.noPassword=!1,e.showCookiePolicyLink=!1,e.showCookieConsentModal=!1,e.hasEditRestrictions=function(){return!0},e.isUser=function(){return e.userType===n.ut.USER},e.goBack=function(){const e=U.getPreviousRoute();(0,o.navigate)(e??"./")},e.updateCurrentUserData=function(){w.getCurrentUser().then(e=>S.updateAuthenticatedUser(e))},e.redirectAdmin=function(){e.currentUserData||c.redirectToLogin()},e.submit=function(){e.noPassword&&e.userType===n.ut.ADMIN?d.openSimpleModal({title:l.instant("security.save.admin.settings"),message:l.instant("security.admin.pass.unset"),warning:!0}).result.then(function(){e.updateUser()}):e.updateUser()},e.updateUserHttp=function(){e.loader=!0;const s=new o.User({username:e.user.username,password:e.noPassword?"":e.user.password||void 0,appSettings:e.user.appSettings});h.updateAuthenticatedUser(s).then(()=>{t.success(l.instant("security.user.updated",{name:e.user.username})),e.updateCurrentUserData(),A.setThemeMode(e.selectedThemeMode),_.setApplicationSettings(e.workbenchSettings),C()}).catch(e=>{const s=getError(e);t.error(s,l.instant("common.error"))}).finally(()=>{e.loader=!1})},e.updateUser=function(){if(!e.validateForm())return!1;e.updateUserHttp()},e.validateForm=function(){return e.validatePassword()},e.setThemeMode=function(){e.selectedThemeMode=e.workbenchSettings.themeMode},e.onDialogClose=()=>{e.showCookieConsentModal=!1},e.showCookiePolicy=t=>{t.preventDefault(),e.showCookieConsentModal=!0};const C=()=>{k=i(function(){e.loader=!1;const t=U.getPreviousRoute();(0,o.navigate)(t??"./")},2e3)};e.$on("$destroy",function(){i.cancel(k)}),(()=>{const t=S.getAuthenticatedUser();e.currentUserData=t.toUser(),e.redirectAdmin(),e.user={username:e.currentUserData.username},e.user.password="",e.user.confirmpassword="",e.user.external=e.currentUserData.external,e.user.appSettings=e.currentUserData.appSettings,void 0===e.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA&&(e.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA=!0),e.userType=e.currentUserData.getUserType(),e.grantedAuthorities=e.currentUserData.authorities.toUIModel(),e.customRoles=e.currentUserData.authorities.getCustomRoles()})(),e.setThemeMode(),v.updateLicenseStatus().then(()=>{e.showCookiePolicyLink=m.isTrackingAllowed()})}angular.module("graphdb.framework.security.controllers.user-settings",["graphdb.framework.core.services.security-service"]).controller("UserSettingsController",i),i.$inject=["$scope","toastr","$window","$timeout","$jwtAuth","$rootScope","$controller","ModalService","$translate","$q","$uibModal","TrackingService"]},33760(e,t,s){s.d(t,{B1:()=>u,DX:()=>i,_5:()=>c,aj:()=>n,n5:()=>r,w0:()=>a,xF:()=>o});const r="SYSTEM",n="READ_REPO",o="READ_REPO_",i="WRITE_REPO",a="GRAPHQL",c="WRITE_REPO_",u="GRAPHQL_"}};
2
+ //# sourceMappingURL=13231.8bbbe30c10e6c0dfdba3.bundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"13231.8bbbe30c10e6c0dfdba3.bundle.js","mappings":"qLAqCA,SAASA,EAAuBC,EAAQC,EAAQC,EAASC,EAAUC,EAAUC,EAAYC,EAAaC,EAAcC,EAAYC,EAAIC,EAAWC,GAC3IC,QAAQC,OAAOC,KAAMR,EAAY,iBAAkB,CAACN,OAAQA,EAAQe,oBAAqB,2BAKzF,MAAMC,GAAkBC,EAAAA,EAAAA,SAAQC,EAAAA,iBAC1BC,GAAwBF,EAAAA,EAAAA,SAAQG,EAAAA,uBAChCC,GAAyBJ,EAAAA,EAAAA,SAAQK,EAAAA,wBACjCC,GAAiBN,EAAAA,EAAAA,SAAQO,EAAAA,gBAEzBC,GAAoCR,EAAA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AOgE,gBAAgBa,UAChD7E,EAAO2E,KAAKG,SAAW,GACvB9E,EAAO2E,KAAK6B,gBAAkB,GAC9BxG,EAAO2E,KAAK8B,SAAWzG,EAAOgE,gBAAgByC,SAC9CzG,EAAO2E,KAAKK,YAAchF,EAAOgE,gBAAgBgB,iBAEWD,IAAxD/E,EAAO2E,KAAKK,YAAsC,2BAClDhF,EAAO2E,KAAKK,YAAsC,0BAAI,GAE1DhF,EAAOmD,SAAWnD,EAAOgE,gBAAgB0C,cACzC1G,EAAOyC,mBAAqBzC,EAAOgE,gBAAgB2C,YAAYC,YAC/D5G,EAAO6G,YAAc7G,EAAOgE,gBAAgB2C,YAAYG,kBAuBxDV,GACApG,EAAOmF,eAlDN5D,EAAewF,sBAAsBnD,KAAK,KACvC5D,EAAO+C,qBAAuBpC,EAAgBqG,qBAsD1D,CA5OApG,QACKqG,OAAO,uDAAwD,CAC5D,qDAEHC,WAAW,yBAA0BnH,GAE1CA,EAAuBoH,QAAU,CAC7B,SACA,SACA,UACA,WACA,WACA,aACA,cACA,eACA,aACA,KACA,YACA,kB,uFClCG,MAAMC,EAAc,SACd1E,EAAY,YACZ2E,EAAmB,aACnB1E,EAAa,aACbC,EAAU,UACV0E,EAAoB,cACpBC,EAAiB,U","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/security/controllers/user-settings.controller.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/security/services/constants.js"],"sourcesContent":["import 'angular/core/services/security.service';\nimport {GRAPHQL, READ_REPO, WRITE_REPO} from '../services/constants';\nimport {UserType} from 'angular/utils/user-utils';\nimport {\n navigate,\n ThemeService,\n ApplicationSettingsStorageService,\n NavigationContextService,\n SecurityService,\n AuthenticationService,\n SecurityContextService,\n LicenseService,\n service,\n User,\n} from '@ontotext/workbench-api';\n\nangular\n .module('graphdb.framework.security.controllers.user-settings', [\n 'graphdb.framework.core.services.security-service',\n ])\n .controller('UserSettingsController', UserSettingsController);\n\nUserSettingsController.$inject = [\n '$scope',\n 'toastr',\n '$window',\n '$timeout',\n '$jwtAuth',\n '$rootScope',\n '$controller',\n 'ModalService',\n '$translate',\n '$q',\n '$uibModal',\n 'TrackingService',\n];\n\nfunction UserSettingsController($scope, toastr, $window, $timeout, $jwtAuth, $rootScope, $controller, ModalService, $translate, $q, $uibModal, TrackingService) {\n angular.extend(this, $controller('CommonUserCtrl', {$scope: $scope, passwordPlaceholder: 'security.new.password'}));\n\n // =========================\n // Private variables\n // =========================\n const securityService = service(SecurityService);\n const authenticationService = service(AuthenticationService);\n const securityContextService = service(SecurityContextService);\n const licenseService = service(LicenseService);\n\n const applicationSettingsStorageService = service(ApplicationSettingsStorageService);\n const navigationContextService = service(NavigationContextService);\n const themeService = service(ThemeService);\n\n /**\n * A timer task that will redirect back to the previous page after the user has been updated.\n * @type {Promise}\n */\n let waitBeforeRedirectBack;\n\n // =========================\n // Public variables\n // =========================\n\n $scope.mode = 'settings';\n $scope.showWorkbenchSettings = true;\n /**\n * @type {ApplicationSettings}\n */\n $scope.workbenchSettings = applicationSettingsStorageService.getApplicationSettings();\n $scope.selectedThemeMode = $scope.workbenchSettings.themeMode;\n $scope.saveButtonText = $translate.instant('common.save.btn');\n $scope.pageTitle = $translate.instant('view.settings.title');\n $scope.passwordPlaceholder = $translate.instant('security.new.password');\n $scope.grantedAuthorities = {\n [READ_REPO]: {},\n [WRITE_REPO]: {},\n [GRAPHQL]: {},\n };\n $scope.loader = false;\n /**\n * Allows to reset the password when updating the user.\n * @type {boolean}\n */\n $scope.noPassword = false;\n /**\n * If the button that opens the cookie policy modal should be visible or not.\n * @type {boolean}\n */\n $scope.showCookiePolicyLink = false;\n /**\n * Flag that controls the visibility of the cookie policy modal.\n * @type {boolean}\n */\n $scope.showCookieConsentModal = false;\n\n // =========================\n // Public functions\n // =========================\n\n $scope.hasEditRestrictions = function() {\n return true;\n };\n\n $scope.isUser = function() {\n return $scope.userType === UserType.USER;\n };\n\n $scope.goBack = function() {\n const previousRoute = navigationContextService.getPreviousRoute();\n navigate(previousRoute ?? './');\n };\n\n $scope.updateCurrentUserData = function() {\n authenticationService.getCurrentUser()\n .then((authenticatedUser) => securityContextService.updateAuthenticatedUser(authenticatedUser));\n };\n\n $scope.redirectAdmin = function() {\n if (!$scope.currentUserData) {\n $rootScope.redirectToLogin();\n }\n };\n\n $scope.submit = function() {\n if ($scope.noPassword && $scope.userType === UserType.ADMIN) {\n ModalService.openSimpleModal({\n title: $translate.instant('security.save.admin.settings'),\n message: $translate.instant('security.admin.pass.unset'),\n warning: true,\n }).result.then(function() {\n $scope.updateUser();\n });\n } else {\n $scope.updateUser();\n }\n };\n\n $scope.updateUserHttp = function() {\n $scope.loader = true;\n const user = new User({\n username: $scope.user.username,\n password: $scope.noPassword ? '' : $scope.user.password || undefined,\n appSettings: $scope.user.appSettings,\n });\n securityService.updateAuthenticatedUser(user)\n .then(() => {\n toastr.success($translate.instant('security.user.updated', {name: $scope.user.username}));\n $scope.updateCurrentUserData();\n themeService.setThemeMode($scope.selectedThemeMode);\n applicationSettingsStorageService.setApplicationSettings($scope.workbenchSettings);\n goBackToPreviousView();\n }).catch((data) => {\n const msg = getError(data);\n toastr.error(msg, $translate.instant('common.error'));\n })\n .finally(() => {\n $scope.loader = false;\n });\n };\n\n $scope.updateUser = function() {\n if (!$scope.validateForm()) {\n return false;\n }\n $scope.updateUserHttp();\n };\n\n $scope.validateForm = function() {\n return $scope.validatePassword();\n };\n\n $scope.setThemeMode = function() {\n $scope.selectedThemeMode = $scope.workbenchSettings.themeMode;\n };\n\n /**\n * Handler for the cookie policy modal close event, sets the flag to hide the modal.\n */\n $scope.onDialogClose = () => {\n $scope.showCookieConsentModal = false;\n };\n\n /**\n * Handler for the cookie policy link click event, sets the flag to show the modal.\n * @param $event\n */\n $scope.showCookiePolicy = ($event) => {\n // The button that triggers this handler is inside a form which has a submit property,\n // and we need to prevent that because it leads to a redirect to the home page.\n $event.preventDefault();\n $scope.showCookieConsentModal = true;\n };\n\n // =========================\n // Private functions\n // =========================\n\n const showCookiePolicyLink = () => {\n licenseService.updateLicenseStatus().then(() => {\n $scope.showCookiePolicyLink = TrackingService.isTrackingAllowed();\n });\n };\n\n const goBackToPreviousView = () => {\n waitBeforeRedirectBack = $timeout(function() {\n $scope.loader = false;\n const previousRoute = navigationContextService.getPreviousRoute();\n navigate(previousRoute ?? './');\n }, 2000);\n };\n\n const initUserData = function() {\n // Copy needed so that Cancel would work correctly, need to call updateCurrentUserData on OK\n $scope.user = {username: $scope.currentUserData.username};\n $scope.user.password = '';\n $scope.user.confirmpassword = '';\n $scope.user.external = $scope.currentUserData.external;\n $scope.user.appSettings = $scope.currentUserData.appSettings;\n // For backward compatibility\n if ($scope.user.appSettings['DEFAULT_VIS_GRAPH_SCHEMA'] === undefined) {\n $scope.user.appSettings['DEFAULT_VIS_GRAPH_SCHEMA'] = true;\n }\n $scope.userType = $scope.currentUserData.getUserType();\n $scope.grantedAuthorities = $scope.currentUserData.authorities.toUIModel();\n $scope.customRoles = $scope.currentUserData.authorities.getCustomRoles();\n };\n\n const processUser = () => {\n const principal = securityContextService.getAuthenticatedUser();\n $scope.currentUserData = principal.toUser();\n $scope.redirectAdmin();\n initUserData();\n };\n\n // =========================\n // Subscriptions\n // =========================\n\n $scope.$on('$destroy', function() {\n $timeout.cancel(waitBeforeRedirectBack);\n });\n\n // =========================\n // Initialization\n // =========================\n\n const initView = () => {\n processUser();\n $scope.setThemeMode();\n showCookiePolicyLink();\n };\n\n initView();\n}\n","export const SYSTEM_REPO = 'SYSTEM';\nexport const READ_REPO = 'READ_REPO';\nexport const READ_REPO_PREFIX = 'READ_REPO_';\nexport const WRITE_REPO = 'WRITE_REPO';\nexport const GRAPHQL = 'GRAPHQL';\nexport const WRITE_REPO_PREFIX = 'WRITE_REPO_';\nexport const GRAPHQL_PREFIX = 'GRAPHQL_';\nexport const GRAPHQL_SUFFIX = 'GRAPHQL';\nexport const SUFFIX_DELIMITER = ':';\nexport const GRAPHQL_SUFFIX_WITH_DELIMITER = SUFFIX_DELIMITER + GRAPHQL_SUFFIX;\nexport const CUSTOM_PREFIX = 'CUSTOM_'\n"],"names":["UserSettingsController","$scope","toastr","$window","$timeout","$jwtAuth","$rootScope","$controller","ModalService","$translate","$q","$uibModal","TrackingService","angular","extend","this","passwordPlaceholder","securityService","service","SecurityService","authenticationService","AuthenticationService","securityContextService","SecurityContextService","licenseService","LicenseService","applicationSettingsStorageService","ApplicationSettingsStorageService","navigationContextService","NavigationContextService","themeService","ThemeService","waitBeforeRedirectBack","mode","showWorkbenchSettings","workbenchSettings","getApplicationSettings","selectedThemeMode","themeMode","saveButtonText","instant","pageTitle","grantedAuthorities","READ_REPO","WRITE_REPO","GRAPHQL","loader","noPassword","showCookiePolicyLink","showCookieConsentModal","hasEditRestrictions","isUser","userType","UserType","USER","goBack","previousRoute","getPreviousRoute","navigate","updateCurrentUserData","getCurrentUser","then","authenticatedUser","updateAuthenticatedUser","redirectAdmin","currentUserData","redirectToLogin","submit","ADMIN","openSimpleModal","title","message","warning","result","updateUser","updateUserHttp","user","User","username","password","undefined","appSettings","success","name","setThemeMode","setApplicationSettings","goBackToPreviousView","catch","data","msg","getError","error","finally","validateForm","validatePassword","onDialogClose","showCookiePolicy","$event","preventDefault","$on","cancel","processUser","principal","getAuthenticatedUser","toUser","confirmpassword","external","getUserType","authorities","toUIModel","customRoles","getCustomRoles","updateLicenseStatus","isTrackingAllowed","module","controller","$inject","SYSTEM_REPO","READ_REPO_PREFIX","WRITE_REPO_PREFIX","GRAPHQL_PREFIX"],"ignoreList":[],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- export const __webpack_esm_id__=20694;export const __webpack_esm_ids__=[20694];export const __webpack_esm_modules__={20694(e,t,o){o.r(t),o.d(t,{onto_test_context:()=>a});var n=o(55508),i=o(57154),s={"menu.logo.link.title":"GraphDB logo","menu.buttons.expand":"Expand menu","menu.buttons.collapse":"Collapse menu",common:{import:"Import",button:{ok:"OK",close:"Close"},loading:"Loading..."},"menu.rdf.label":"RDF","menu.explore.label":"Explore","menu.graphs.overview.label":"Graphs overview","menu.class.relationships.label":"Class relationships","menu.class.hierarchy.label":"Class hierarchy","menu.similarity.label":"Similarity","menu.sparql.label":"SPARQL","menu.monitor.label":"Monitor","menu.queries.and.updates.label":"Queries and Updates","menu.backup_and_restore.label":"Backup and Restore","menu.enableFtsIndex.label":"Enable full-text search (FTS) index","menu.ftsIndexes.label":"FTS indexes to build (comma delimited)","menu.ftsStringLiteralsIndex.label":"FTS index for xsd:string literals","menu.ftsIrisIndex.label":"FTS index for full-text indexing of IRIs","menu.ftsDefaultAnalyzer.label":"Analyzer for the default index","menu.resources.label":"System","menu.setup.label":"Setup","menu.lab.label":"Lab","menu.ttyg.label":"Talk to Your Graph","menu.repositories.label":"Repositories","menu.aclmanagement.label":"ACL Management","menu.users.and.access.label":"Users and Access","menu.my.settings.label":"My Settings","menu.cluster.label":"Cluster","menu.connectors.label":"Connectors","menu.namespaces.label":"Namespaces","menu.autocomplete.label":"Autocomplete","menu.jdbc.label":"JDBC","menu.sparql.template.label":"SPARQL Templates","menu.license.label":"License","menu.help.label":"Help","menu.system.information.label":"System information","menu.rest.api.label":"REST API","menu.documentation.label":"Documentation","menu.tutorials.label":"Tutorials","menu.support.label":"Support","menu.guides.label":"Interactive guides","menu.plugins.label":"Plugins","menu.graphql.label":"GraphQL","menu.graphql-endpoint-management.label":"Endpoint Management","menu.graphql-playground.label":"GraphQL Playground","visual.graph.label":"Visual graph","view.rdf.rank.title":"RDF Rank",language_selector:{toggle_menu:{label:"Select language",tooltip:"Current language: English"},language:{en:{label:"en &middot; English",tooltip:{selected:"Current language",not_selected:"Change language to English"}},fr:{label:"fr &middot; Français",tooltip:{selected:"Current language",not_selected:"Changer la langue en Français"}}}},"repository-selector":{btn:{toggle:"Choose repository",no_repositories:"No accessible repositories"},tooltip:{repository:"Repository",location:"Location",local:"Local",type:"Type",types:{graphdb:"Graphdb",system:"System",ontop:"Ontop",fedx:"FedX",unknown:"Unknown"},access:"Access",accesses:{read:"Read",write:"Write",read_write:"Read/Write"},"repository-size":{total:"Total statements",explicit:"Explicit",inferred:"Inferred",expansion_ratio:"Expansion ratio (total/explicit)"}}},license_alert:{label:"No valid license",no_license_set:"No license was set."},footer:{label:{all_rights_reserved:"All rights reserved."}},permission_banner:{no_access_error:"You have no permission to access this functionality with your current credentials.",change_menu_or_user_warning:"Please choose another menu item or login as a different user."},cookie:{cookie_consent:"We may use cookies to help us improve GraphDB and develop better features. No personal or sensitive information is collected. By clicking “OK” you consent to our ",cookie_policy_url_label:"Cookie Policy",policy:{title:"Cookies Policy",purpose_heading:"Purpose",purpose_text:"This Cookies Policy explains the data Ontotext collects and uses when you use our GraphDB product, specifically the Free Edition.",purpose_enterprise_text:"Note that if you upgrade to the commercial GraphDB Enterprise Edition, no cookies will be stored on your device, regardless of settings.",privacy_commitment_heading:"Ontotext privacy commitment",privacy_commitment_text:"We are committed to not collecting any personal data or information when you use GraphDB Free. Additionally:",privacy_commitment_1:"We will not sell or rent the technical information we collect to others.",privacy_commitment_2:"We strive to maximize the protection of all technical data collected.",cookies_heading:"Cookies",cookies_text:"When you use GraphDB Free Edition, Ontotext will store cookies on your device to collect anonymous information about how you interact with the product. This technical data helps us improve and refine our software. Importantly, we cannot link this information to you personally or to any identifiable data. These cookies are solely intended to help us understand user interactions and identify potential issues within GraphDB.",manage_cookies_heading:"Manage cookies",statistic_cookies:"GraphDB analytics cookies",statistic_tooltip:"Toggle GraphDB analytics cookies",statistic_text:"These cookies help us understand how users interact with different aspects of GraphDB by collecting and reporting information anonymously. This data allows us to improve the overall product experience and develop features based on how GraphDB is used, without collecting any personal information.",third_party_cookies:"Third-party cookies",third_party_tooltip:"Toggle Third-party cookies",third_party_cookies_text:"We use Google Analytics 4 (GA4) cookies to help us recognize unique users and sessions, track interactions, and collect data such as page views, session duration, and engagement. These cookies are managed by Google, meaning we do not control their operation. IP anonymization is enabled by default in GA4, so it cannot store IP addresses or track users personally. No data is shared between GA4 and other Google products, and processing occurs globally, primarily in the USA, without breaching GDPR, as no personal data is collected.",change_cookies:"You can change your cookie preferences at any time in",change_cookies_location4:"Cookie policy"}},security:{user:{settings:"User settings"}},operations_notification:{links:{queries:"Running queries",updates:"Running updates",imports:"Running imports",CREATE_BACKUP_IN_PROGRESS:"Creating backup",RESTORE_BACKUP_IN_PROGRESS:"Restoring backup",CREATE_CLOUD_BACKUP_IN_PROGRESS:"Creating cloud backup",RESTORE_CLOUD_BACKUP_IN_PROGRESS:"Restoring cloud backup",IN_SYNC:"In sync",RECOVERING:"Recovering",OUT_OF_SYNC:"Out of sync",UNAVAILABLE_NODES:"Unavailable nodes"}},user_menu:{my_settings:"My settings",logout:"Logout",login:"Login"},rdf_search:{labels:{search:"Search RDF resources",hint:'Hint: "abC" matches "abC*", "ab c*" and "ab-c*"'},buttons:{table:"Table",visual:"Visual"},tooltips:{close_search_area:"Close search",clear:"Clear"},toasts:{use_view_resource:"<b>Search RDF resources</b></br>Use <b>View resource</b> on this page",autocomplete_is_off:"Autocomplete is OFF<br>Go to Setup -> Autocomplete",empty_input:"Please fill the input field!",invalid_uri:"Invalid IRI"}},openid:{errors:{title:"OpenID Authentication Failed",unknown_flow:"Unknown auth flow: {{authFlow}}",invalid_pkce_state:"Invalid PKCE state",cannot_retrieve_token:"Cannot retrieve token after login: {{error}}",cannot_refresh_token:"Could not refresh OpenID token: {{error}}",user_no_access:"User has no access to GraphDB"}}},r={"menu.logo.link.title":"Logo GraphDB","menu.buttons.expand":"Développer le menu","menu.buttons.collapse":"Réduire le menu",common:{import:"Importer",button:{ok:"D'accord",close:"Fermer"},loading:"Chargement..."},"menu.rdf.label":"RDF","menu.explore.label":"Explorez","menu.graphs.overview.label":"Aperçu des graphes","menu.class.relationships.label":"Relations entre les classes","menu.class.hierarchy.label":"Hiérarchie des classes","menu.similarity.label":"Similarité","menu.sparql.label":"SPARQL","menu.monitor.label":"Surveiller","menu.queries.and.updates.label":"Requêtes et mises à jour","menu.backup_and_restore.label":"Sauvegarde et Restauration","menu.enableFtsIndex.label":"Activer l'index de recherche plein texte","menu.ftsIndexes.label":"Index de recherche en texte intégral à construire (délimités par des virgules)","menu.ftsStringLiteralsIndex.label":"Index de recherche en texte intégral pour les littéraux xsd:string","menu.ftsIrisIndex.label":"Index de recherche en texte intégral pour l'indexation en texte intégral des IRI","menu.ftsDefaultAnalyzer.label":"Analyseur pour l'index par défaut","menu.resources.label":"Système","menu.setup.label":"Configurer","menu.lab.label":"Laboratoire","menu.ttyg.label":"Parlez à votre graphe","menu.repositories.label":"Dépôts","menu.aclmanagement.label":"Gestion ACL","menu.users.and.access.label":"Utilisateurs et accès","menu.my.settings.label":"Mes paramètres","menu.cluster.label":"Cluster","menu.connectors.label":"Connecteurs","menu.namespaces.label":"Espaces de noms","menu.autocomplete.label":"Autocomplétion","menu.jdbc.label":"JDBC","menu.sparql.template.label":"Modèles SPARQL","menu.license.label":"Licence","menu.help.label":"Aide","menu.system.information.label":"Informations sur le système","menu.rest.api.label":"API REST","menu.documentation.label":"Documentation","menu.tutorials.label":"Tutoriels","menu.support.label":"Support","menu.guides.label":"Guides interactifs","menu.plugins.label":"Plugins","menu.graphql.label":"GraphQL","menu.graphql-endpoint-management.label":"Gestion des points de terminaison","menu.graphql-playground.label":"GraphQL Playground","visual.graph.label":"Graphique visuel","view.rdf.rank.title":"Rang RDF",language_selector:{toggle_menu:{label:"Sélectionner la langue",tooltip:"Langue actuelle : Anglais"},language:{en:{label:"en &middot; Anglais",tooltip:{selected:"Langue actuelle",not_selected:"Changer la langue en Anglais"}},fr:{label:"fr &middot; Français",tooltip:{selected:"Langue actuelle",not_selected:"Changer la langue en Français"}}}},"repository-selector":{btn:{toggle:"Choisissez le dépôt",no_repositories:"Aucun dépôt accessible"},tooltip:{repository:"Dépôt",location:"L'emplacement",local:"Local",type:"Type",types:{graphdb:"Graphdb",system:"Système",ontop:"Ontop",fedx:"FedX",unknown:"Inconnu"},access:"Accéder",accesses:{read:"Lire",write:"Écrire",read_write:"Lire/Écrire"},"repository-size":{total:"Total des déclarations",explicit:"Explicite",inferred:"Déduit",expansion_ratio:"Taux d'expansion (total/explicite)"}}},license_alert:{label:"Aucune licence valide",no_license_set:"Aucune licence n'a été définie."},footer:{label:{all_rights_reserved:"Tous droits réservés."}},permission_banner:{no_access_error:"Vous n'avez pas la permission d'accéder à cette fonctionnalité avec vos informations d'identification actuelles.",change_menu_or_user_warning:"Veuillez choisir un autre élément du menu ou vous connecter comme un autre utilisateur."},cookie:{cookie_consent:"Nous pouvons utiliser des cookies pour nous aider à améliorer GraphDB et développer de meilleures fonctionnalités. Aucune information personnelle ou sensible n'est collectée. En cliquant sur « D'accord », vous consentez à notre ",cookie_policy_url_label:"politique de cookies",policy:{title:"Politique de cookies",purpose_heading:"Objectif",purpose_text:"Cette politique de cookies explique les données qu'Ontotext collecte et utilise lorsque vous utilisez notre produit GraphDB, en particulier l'édition Free.",purpose_enterprise_text:"Veuillez noter que si vous passez à l'édition commerciale GraphDB Enterprise, aucun cookie ne sera stocké sur votre appareil, quel que soit le paramètre.",privacy_commitment_heading:"Engagement de confidentialité d'Ontotext",privacy_commitment_text:"Nous nous engageons à ne collecter aucune donnée personnelle ou information lorsque vous utilisez GraphDB Free. De plus :",privacy_commitment_1:"Nous ne vendrons ni ne louerons à d'autres les informations techniques que nous collectons.",privacy_commitment_2:"Nous nous efforçons de maximiser la protection de toutes les données techniques collectées.",cookies_heading:"Cookies",cookies_text:"Lorsque vous utilisez l'édition GraphDB Free, Ontotext stockera des cookies sur votre appareil pour collecter des informations anonymes sur la façon dont vous interagissez avec le produit. Ces données techniques nous aident à améliorer et affiner notre produit. Il est important de noter que nous ne pouvons pas relier ces informations à vous personnellement ni à aucune donnée identifiable. Ces cookies ont uniquement pour but de nous aider à comprendre les interactions des utilisateurs et à identifier les éventuels problèmes dans GraphDB.",manage_cookies_heading:"Gérer les cookies",statistic_cookies:"Cookies d'analyse GraphDB",statistic_tooltip:"Activer/désactiver les cookies d'analyse GraphDB",statistic_text:"Ces cookies nous aident à comprendre comment les utilisateurs interagissent avec différents aspects de GraphDB en collectant et en rapportant des informations de manière anonyme. Ces données nous permettent d'améliorer l'expérience globale du produit et de développer des fonctionnalités en fonction de l'utilisation de GraphDB, sans collecter d'informations personnelles.",third_party_cookies:"Cookies tiers",third_party_tooltip:"Activer/désactiver les cookies tiers",third_party_cookies_text:"Nous utilisons les cookies Google Analytics 4 (GA4) pour nous aider à reconnaître les utilisateurs et sessions uniques, à suivre les interactions et à collecter des données telles que les pages consultées, la durée des sessions et l'engagement. Ces cookies sont gérés par Google, ce qui signifie que nous n'avons pas de contrôle sur leur fonctionnement. L'anonymisation IP est activée par défaut dans GA4, de sorte qu'il ne peut ni stocker les adresses IP ni suivre les utilisateurs personnellement. Aucune donnée n'est partagée entre GA4 et d'autres produits Google, et le traitement s'effectue à l'échelle mondiale, principalement aux États-Unis, sans enfreindre le RGPD, car aucune donnée personnelle n'est collectée.",change_cookies:"Vous pouvez modifier vos préférences de cookies à tout moment dans",change_cookies_location4:"Politique de cookies"}},security:{user:{settings:"Paramètres de l'utilisateur"}},operations_notification:{links:{queries:"Exécution de requêtes",updates:"Exécution de mises à jour",imports:"Exécution d'importations",CREATE_BACKUP_IN_PROGRESS:"Création de sauvegarde en cours",RESTORE_BACKUP_IN_PROGRESS:"Restauration de sauvegarde en cours",CREATE_CLOUD_BACKUP_IN_PROGRESS:"Création de sauvegarde cloud en cours",RESTORE_CLOUD_BACKUP_IN_PROGRESS:"Restauration de sauvegarde cloud en cours",IN_SYNC:"Synchronisé",RECOVERING:"Récupération en cours",OUT_OF_SYNC:"Désynchronisé",UNAVAILABLE_NODES:"Nœuds indisponibles"}},user_menu:{my_settings:"Mes paramètres",logout:"Déconnexion",login:"Se connecter"},rdf_search:{labels:{search:"Rechercher des ressources RDF",hint:'Indice : "abC" correspond à "abC*", "ab c*" et "ab-c*".'},buttons:{table:"Tableau",visual:"Visuel"},tooltips:{close_search_area:"Fermer la recherche",clear:"Clair"},toasts:{use_view_resource:"<b>Rechercher des ressources RDF</b></br>Utilisez <b>Voir la ressource</b> sur cette page",autocomplete_is_off:"L'autocomplétion est désactivée<br>Aller à Configuration -> Autocomplétion",empty_input:"S'il vous plaît remplir le champ de saisie!",invalid_uri:"IRI non valide"}},openid:{errors:{title:"Échec de l'authentification OpenID",unknown_flow:"Flux d'authentification inconnu: {{authFlow}}",invalid_pkce_state:"État PKCE invalide",cannot_retrieve_token:"Impossible de récupérer le jeton après la connexion: {{error}}",cannot_refresh_token:"Impossible de rafraîchir le jeton OpenID: {{error}}",user_no_access:"L'utilisateur n'a pas accès à GraphDB"}}};const a=class{constructor(e){(0,n.r)(this,e),this.bundles={en:s,fr:r},this.eventEmitter=new i.EventEmitter,this.onLanguageChanged(),this.setSecurityConfig({enabled:!1,freeAccess:{enabled:!1}})}initConfigurationContext(e){return i.ServiceProvider.get(i.ConfigurationContextService).updateApplicationConfiguration(e),Promise.resolve()}updateLicense(e){return i.ServiceProvider.get(i.LicenseContextService).updateGraphdbLicense(e),Promise.resolve()}updateProductInfo(e){return i.ServiceProvider.get(i.ProductInfoContextService).updateProductInfo(e),Promise.resolve()}loadRepositories(){return i.ServiceProvider.get(i.RepositoryService).getRepositories().then(e=>{i.ServiceProvider.get(i.RepositoryContextService).updateRepositoryList(e)}),Promise.resolve()}setAuthenticatedUser(e){const t=e?(0,i.mapAuthenticatedUserResponseToModel)(e):void 0;return i.ServiceProvider.get(i.SecurityContextService).updateAuthenticatedUser(t),i.ServiceProvider.get(i.AuthenticationStorageService).setAuthToken("token"),Promise.resolve()}setSecurityConfig(e){const t=this.createSecurityConfig(e);return i.ServiceProvider.get(i.SecurityContextService).updateSecurityConfig(t),this.setAuthStrategy(t),Promise.resolve()}login(e,t){return i.ServiceProvider.get(i.AuthenticationService).login(e,t)}changeLanguage(e){return i.ServiceProvider.get(i.LanguageContextService).updateLanguageBundle(this.bundles[e]),Promise.resolve()}emitNavigateEndEvent(e,t){return i.ServiceProvider.get(i.EventService).emit(new i.NavigationEnd(e,t)),Promise.resolve()}updateSelectedRepository(e){return i.ServiceProvider.get(i.RepositoryContextService).updateSelectedRepository(e),Promise.resolve()}updateIsLoadingActiveRepositoryLocation(e){return i.ServiceProvider.get(i.RepositoryLocationContextService).updateIsLoading(e),Promise.resolve()}addToastr(e){return this.eventEmitter.emit({NAME:i.CREATE_TOAST_EVENT,payload:new i.ToastMessage(e.type,e.message)}),Promise.resolve()}addNotification(e){return(0,i.service)(i.OntoToastrService),(0,i.notify)(e),Promise.resolve()}setAutocomplete(e){return i.ServiceProvider.get(i.AutocompleteContextService).updateAutocompleteEnabled(e),Promise.resolve()}updateNamespaces(e){return i.ServiceProvider.get(i.NamespacesContextService).updateNamespaces(new i.NamespaceMap(e)),Promise.resolve()}onLanguageChanged(){i.ServiceProvider.get(i.LanguageContextService).onSelectedLanguageChanged(e=>{e&&this.changeLanguage(e)})}setAuthStrategy(e){const t=i.ServiceProvider.get(i.AuthenticationStorageService),o=i.ServiceProvider.get(i.SecurityContextService),n=i.ServiceProvider.get(i.AuthorizationService);t.clearAuthToken(),(0,i.service)(i.AuthStrategyResolver).resolveStrategy(e).initialize().then(t=>{o.updateIsLoggedIn(t),t||(n.hasFreeAccess()?n.initializeFreeAccess():e.hasOverrideAuth()&&n.initializeOverrideAuth())})}createSecurityConfig(e){const t=Object.assign({enabled:!0,userLoggedIn:!1,passwordLoginEnabled:!1,openIdEnabled:!1,freeAccess:{},overrideAuth:{}},e);return new i.SecurityConfig(t)}}}};
2
- //# sourceMappingURL=20694.a738f5634ec09369dc85.bundle.js.map
1
+ export const __webpack_esm_id__=20694;export const __webpack_esm_ids__=[20694];export const __webpack_esm_modules__={20694(e,t,o){o.r(t),o.d(t,{onto_test_context:()=>a});var n=o(55508),i=o(57154),s={"menu.logo.link.title":"GraphDB logo","menu.buttons.expand":"Expand menu","menu.buttons.collapse":"Collapse menu",common:{import:"Import",button:{ok:"OK",close:"Close"},loading:"Loading..."},"menu.rdf.label":"RDF","menu.explore.label":"Explore","menu.graphs.overview.label":"Graphs overview","menu.class.relationships.label":"Class relationships","menu.class.hierarchy.label":"Class hierarchy","menu.similarity.label":"Similarity","menu.sparql.label":"SPARQL","menu.monitor.label":"Monitor","menu.queries.and.updates.label":"Queries and Updates","menu.backup_and_restore.label":"Backup and Restore","menu.enableFtsIndex.label":"Enable full-text search (FTS) index","menu.ftsIndexes.label":"FTS indexes to build (comma delimited)","menu.ftsStringLiteralsIndex.label":"FTS index for xsd:string literals","menu.ftsIrisIndex.label":"FTS index for full-text indexing of IRIs","menu.ftsDefaultAnalyzer.label":"Analyzer for the default index","menu.resources.label":"System","menu.setup.label":"Setup","menu.lab.label":"Lab","menu.ttyg.label":"Talk to Your Graph","menu.repositories.label":"Repositories","menu.aclmanagement.label":"ACL Management","menu.users.and.access.label":"Users and Access","menu.my.settings.label":"My Settings","menu.cluster.label":"Cluster","menu.connectors.label":"Connectors","menu.namespaces.label":"Namespaces","menu.autocomplete.label":"Autocomplete","menu.jdbc.label":"JDBC","menu.sparql.template.label":"SPARQL Templates","menu.license.label":"License","menu.help.label":"Help","menu.system.information.label":"System information","menu.rest.api.label":"REST API","menu.documentation.label":"Documentation","menu.tutorials.label":"Tutorials","menu.support.label":"Support","menu.guides.label":"Interactive guides","menu.plugins.label":"Plugins","menu.graphql.label":"GraphQL","menu.graphql-endpoint-management.label":"Endpoint Management","menu.graphql-playground.label":"GraphQL Playground","visual.graph.label":"Visual graph","view.rdf.rank.title":"RDF Rank",language_selector:{toggle_menu:{label:"Select language",tooltip:"Current language: English"},language:{en:{label:"en &middot; English",tooltip:{selected:"Current language",not_selected:"Change language to English"}},fr:{label:"fr &middot; Français",tooltip:{selected:"Current language",not_selected:"Changer la langue en Français"}}}},"repository-selector":{btn:{toggle:"Choose repository",no_repositories:"No accessible repositories"},tooltip:{repository:"Repository",location:"Location",local:"Local",type:"Type",types:{graphdb:"Graphdb",system:"System",ontop:"Ontop",fedx:"FedX",unknown:"Unknown"},access:"Access",accesses:{read:"Read",write:"Write",read_write:"Read/Write"},"repository-size":{total:"Total statements",explicit:"Explicit",inferred:"Inferred",expansion_ratio:"Expansion ratio (total/explicit)"}}},license_alert:{label:"No valid license",no_license_set:"No license was set."},footer:{label:{all_rights_reserved:"All rights reserved."}},permission_banner:{no_access_error:"You have no permission to access this functionality with your current credentials.",change_menu_or_user_warning:"Please choose another menu item or login as a different user."},cookie:{cookie_consent:"We may use cookies to help us improve GraphDB and develop better features. No personal or sensitive information is collected. By clicking “OK” you consent to our ",cookie_policy_url_label:"Cookie Policy",policy:{title:"Cookies Policy",purpose_heading:"Purpose",purpose_text:"This Cookies Policy explains the data Ontotext collects and uses when you use our GraphDB product, specifically the Free Edition.",purpose_enterprise_text:"Note that if you upgrade to the commercial GraphDB Enterprise Edition, no cookies will be stored on your device, regardless of settings.",privacy_commitment_heading:"Ontotext privacy commitment",privacy_commitment_text:"We are committed to not collecting any personal data or information when you use GraphDB Free. Additionally:",privacy_commitment_1:"We will not sell or rent the technical information we collect to others.",privacy_commitment_2:"We strive to maximize the protection of all technical data collected.",cookies_heading:"Cookies",cookies_text:"When you use GraphDB Free Edition, Ontotext will store cookies on your device to collect anonymous information about how you interact with the product. This technical data helps us improve and refine our software. Importantly, we cannot link this information to you personally or to any identifiable data. These cookies are solely intended to help us understand user interactions and identify potential issues within GraphDB.",manage_cookies_heading:"Manage cookies",statistic_cookies:"GraphDB analytics cookies",statistic_tooltip:"Toggle GraphDB analytics cookies",statistic_text:"These cookies help us understand how users interact with different aspects of GraphDB by collecting and reporting information anonymously. This data allows us to improve the overall product experience and develop features based on how GraphDB is used, without collecting any personal information.",third_party_cookies:"Third-party cookies",third_party_tooltip:"Toggle Third-party cookies",third_party_cookies_text:"We use Google Analytics 4 (GA4) cookies to help us recognize unique users and sessions, track interactions, and collect data such as page views, session duration, and engagement. These cookies are managed by Google, meaning we do not control their operation. IP anonymization is enabled by default in GA4, so it cannot store IP addresses or track users personally. No data is shared between GA4 and other Google products, and processing occurs globally, primarily in the USA, without breaching GDPR, as no personal data is collected.",change_cookies:"You can change your cookie preferences at any time in",change_cookies_location4:"Cookie policy"}},security:{user:{settings:"User settings"}},operations_notification:{links:{queries:"Running queries",updates:"Running updates",imports:"Running imports",CREATE_BACKUP_IN_PROGRESS:"Creating backup",RESTORE_BACKUP_IN_PROGRESS:"Restoring backup",CREATE_CLOUD_BACKUP_IN_PROGRESS:"Creating cloud backup",RESTORE_CLOUD_BACKUP_IN_PROGRESS:"Restoring cloud backup",IN_SYNC:"In sync",RECOVERING:"Recovering",OUT_OF_SYNC:"Out of sync",UNAVAILABLE_NODES:"Unavailable nodes"}},user_menu:{my_settings:"My settings",logout:"Logout",login:"Login"},rdf_search:{labels:{search:"Search RDF resources",hint:'Hint: "abC" matches "abC*", "ab c*" and "ab-c*"'},buttons:{table:"Table",visual:"Visual"},tooltips:{close_search_area:"Close search",clear:"Clear"},toasts:{use_view_resource:"<b>Search RDF resources</b></br>Use <b>View resource</b> on this page",autocomplete_is_off:"Autocomplete is OFF<br>Go to Setup -> Autocomplete",empty_input:"Please fill the input field!",invalid_uri:"Invalid IRI"}},openid:{errors:{title:"OpenID Authentication Failed",unknown_flow:"Unknown auth flow: {{authFlow}}",invalid_pkce_state:"Invalid PKCE state",cannot_retrieve_token:"Cannot retrieve token after login: {{error}}",cannot_refresh_token:"Could not refresh OpenID token: {{error}}",user_no_access:"User has no access to GraphDB"}}},r={"menu.logo.link.title":"Logo GraphDB","menu.buttons.expand":"Développer le menu","menu.buttons.collapse":"Réduire le menu",common:{import:"Importer",button:{ok:"D'accord",close:"Fermer"},loading:"Chargement..."},"menu.rdf.label":"RDF","menu.explore.label":"Explorez","menu.graphs.overview.label":"Aperçu des graphes","menu.class.relationships.label":"Relations entre les classes","menu.class.hierarchy.label":"Hiérarchie des classes","menu.similarity.label":"Similarité","menu.sparql.label":"SPARQL","menu.monitor.label":"Surveiller","menu.queries.and.updates.label":"Requêtes et mises à jour","menu.backup_and_restore.label":"Sauvegarde et Restauration","menu.enableFtsIndex.label":"Activer l'index de recherche plein texte","menu.ftsIndexes.label":"Index de recherche en texte intégral à construire (délimités par des virgules)","menu.ftsStringLiteralsIndex.label":"Index de recherche en texte intégral pour les littéraux xsd:string","menu.ftsIrisIndex.label":"Index de recherche en texte intégral pour l'indexation en texte intégral des IRI","menu.ftsDefaultAnalyzer.label":"Analyseur pour l'index par défaut","menu.resources.label":"Système","menu.setup.label":"Configurer","menu.lab.label":"Laboratoire","menu.ttyg.label":"Parlez à votre graphe","menu.repositories.label":"Dépôts","menu.aclmanagement.label":"Gestion ACL","menu.users.and.access.label":"Utilisateurs et accès","menu.my.settings.label":"Mes paramètres","menu.cluster.label":"Cluster","menu.connectors.label":"Connecteurs","menu.namespaces.label":"Espaces de noms","menu.autocomplete.label":"Autocomplétion","menu.jdbc.label":"JDBC","menu.sparql.template.label":"Modèles SPARQL","menu.license.label":"Licence","menu.help.label":"Aide","menu.system.information.label":"Informations sur le système","menu.rest.api.label":"API REST","menu.documentation.label":"Documentation","menu.tutorials.label":"Tutoriels","menu.support.label":"Support","menu.guides.label":"Guides interactifs","menu.plugins.label":"Plugins","menu.graphql.label":"GraphQL","menu.graphql-endpoint-management.label":"Gestion des points de terminaison","menu.graphql-playground.label":"GraphQL Playground","visual.graph.label":"Graphique visuel","view.rdf.rank.title":"Rang RDF",language_selector:{toggle_menu:{label:"Sélectionner la langue",tooltip:"Langue actuelle : Français"},language:{en:{label:"en &middot; Anglais",tooltip:{selected:"Langue actuelle",not_selected:"Changer la langue en Anglais"}},fr:{label:"fr &middot; Français",tooltip:{selected:"Langue actuelle",not_selected:"Changer la langue en Français"}}}},"repository-selector":{btn:{toggle:"Choisissez le dépôt",no_repositories:"Aucun dépôt accessible"},tooltip:{repository:"Dépôt",location:"L'emplacement",local:"Local",type:"Type",types:{graphdb:"Graphdb",system:"Système",ontop:"Ontop",fedx:"FedX",unknown:"Inconnu"},access:"Accéder",accesses:{read:"Lire",write:"Écrire",read_write:"Lire/Écrire"},"repository-size":{total:"Total des déclarations",explicit:"Explicite",inferred:"Déduit",expansion_ratio:"Taux d'expansion (total/explicite)"}}},license_alert:{label:"Aucune licence valide",no_license_set:"Aucune licence n'a été définie."},footer:{label:{all_rights_reserved:"Tous droits réservés."}},permission_banner:{no_access_error:"Vous n'avez pas la permission d'accéder à cette fonctionnalité avec vos informations d'identification actuelles.",change_menu_or_user_warning:"Veuillez choisir un autre élément du menu ou vous connecter comme un autre utilisateur."},cookie:{cookie_consent:"Nous pouvons utiliser des cookies pour nous aider à améliorer GraphDB et développer de meilleures fonctionnalités. Aucune information personnelle ou sensible n'est collectée. En cliquant sur « D'accord », vous consentez à notre ",cookie_policy_url_label:"politique de cookies",policy:{title:"Politique de cookies",purpose_heading:"Objectif",purpose_text:"Cette politique de cookies explique les données qu'Ontotext collecte et utilise lorsque vous utilisez notre produit GraphDB, en particulier l'édition Free.",purpose_enterprise_text:"Veuillez noter que si vous passez à l'édition commerciale GraphDB Enterprise, aucun cookie ne sera stocké sur votre appareil, quel que soit le paramètre.",privacy_commitment_heading:"Engagement de confidentialité d'Ontotext",privacy_commitment_text:"Nous nous engageons à ne collecter aucune donnée personnelle ou information lorsque vous utilisez GraphDB Free. De plus :",privacy_commitment_1:"Nous ne vendrons ni ne louerons à d'autres les informations techniques que nous collectons.",privacy_commitment_2:"Nous nous efforçons de maximiser la protection de toutes les données techniques collectées.",cookies_heading:"Cookies",cookies_text:"Lorsque vous utilisez l'édition GraphDB Free, Ontotext stockera des cookies sur votre appareil pour collecter des informations anonymes sur la façon dont vous interagissez avec le produit. Ces données techniques nous aident à améliorer et affiner notre produit. Il est important de noter que nous ne pouvons pas relier ces informations à vous personnellement ni à aucune donnée identifiable. Ces cookies ont uniquement pour but de nous aider à comprendre les interactions des utilisateurs et à identifier les éventuels problèmes dans GraphDB.",manage_cookies_heading:"Gérer les cookies",statistic_cookies:"Cookies d'analyse GraphDB",statistic_tooltip:"Activer/désactiver les cookies d'analyse GraphDB",statistic_text:"Ces cookies nous aident à comprendre comment les utilisateurs interagissent avec différents aspects de GraphDB en collectant et en rapportant des informations de manière anonyme. Ces données nous permettent d'améliorer l'expérience globale du produit et de développer des fonctionnalités en fonction de l'utilisation de GraphDB, sans collecter d'informations personnelles.",third_party_cookies:"Cookies tiers",third_party_tooltip:"Activer/désactiver les cookies tiers",third_party_cookies_text:"Nous utilisons les cookies Google Analytics 4 (GA4) pour nous aider à reconnaître les utilisateurs et sessions uniques, à suivre les interactions et à collecter des données telles que les pages consultées, la durée des sessions et l'engagement. Ces cookies sont gérés par Google, ce qui signifie que nous n'avons pas de contrôle sur leur fonctionnement. L'anonymisation IP est activée par défaut dans GA4, de sorte qu'il ne peut ni stocker les adresses IP ni suivre les utilisateurs personnellement. Aucune donnée n'est partagée entre GA4 et d'autres produits Google, et le traitement s'effectue à l'échelle mondiale, principalement aux États-Unis, sans enfreindre le RGPD, car aucune donnée personnelle n'est collectée.",change_cookies:"Vous pouvez modifier vos préférences de cookies à tout moment dans",change_cookies_location4:"Politique de cookies"}},security:{user:{settings:"Paramètres de l'utilisateur"}},operations_notification:{links:{queries:"Exécution de requêtes",updates:"Exécution de mises à jour",imports:"Exécution d'importations",CREATE_BACKUP_IN_PROGRESS:"Création de sauvegarde en cours",RESTORE_BACKUP_IN_PROGRESS:"Restauration de sauvegarde en cours",CREATE_CLOUD_BACKUP_IN_PROGRESS:"Création de sauvegarde cloud en cours",RESTORE_CLOUD_BACKUP_IN_PROGRESS:"Restauration de sauvegarde cloud en cours",IN_SYNC:"Synchronisé",RECOVERING:"Récupération en cours",OUT_OF_SYNC:"Désynchronisé",UNAVAILABLE_NODES:"Nœuds indisponibles"}},user_menu:{my_settings:"Mes paramètres",logout:"Déconnexion",login:"Se connecter"},rdf_search:{labels:{search:"Rechercher des ressources RDF",hint:'Indice : "abC" correspond à "abC*", "ab c*" et "ab-c*".'},buttons:{table:"Tableau",visual:"Visuel"},tooltips:{close_search_area:"Fermer la recherche",clear:"Clair"},toasts:{use_view_resource:"<b>Rechercher des ressources RDF</b></br>Utilisez <b>Voir la ressource</b> sur cette page",autocomplete_is_off:"L'autocomplétion est désactivée<br>Aller à Configuration -> Autocomplétion",empty_input:"S'il vous plaît remplir le champ de saisie!",invalid_uri:"IRI non valide"}},openid:{errors:{title:"Échec de l'authentification OpenID",unknown_flow:"Flux d'authentification inconnu: {{authFlow}}",invalid_pkce_state:"État PKCE invalide",cannot_retrieve_token:"Impossible de récupérer le jeton après la connexion: {{error}}",cannot_refresh_token:"Impossible de rafraîchir le jeton OpenID: {{error}}",user_no_access:"L'utilisateur n'a pas accès à GraphDB"}}};const a=class{constructor(e){(0,n.r)(this,e),this.bundles={en:s,fr:r},this.eventEmitter=new i.EventEmitter,this.onLanguageChanged(),this.setSecurityConfig({enabled:!1,freeAccess:{enabled:!1}})}initConfigurationContext(e){return i.ServiceProvider.get(i.ConfigurationContextService).updateApplicationConfiguration(e),Promise.resolve()}updateLicense(e){return i.ServiceProvider.get(i.LicenseContextService).updateGraphdbLicense(e),Promise.resolve()}updateProductInfo(e){return i.ServiceProvider.get(i.ProductInfoContextService).updateProductInfo(e),Promise.resolve()}loadRepositories(){return i.ServiceProvider.get(i.RepositoryService).getRepositories().then(e=>{i.ServiceProvider.get(i.RepositoryContextService).updateRepositoryList(e)}),Promise.resolve()}setAuthenticatedUser(e){const t=e?(0,i.mapAuthenticatedUserResponseToModel)(e):void 0;return i.ServiceProvider.get(i.SecurityContextService).updateAuthenticatedUser(t),i.ServiceProvider.get(i.AuthenticationStorageService).setAuthToken("token"),Promise.resolve()}setSecurityConfig(e){const t=this.createSecurityConfig(e);return i.ServiceProvider.get(i.SecurityContextService).updateSecurityConfig(t),this.setAuthStrategy(t),Promise.resolve()}login(e,t){return i.ServiceProvider.get(i.AuthenticationService).login(e,t)}changeLanguage(e){return i.ServiceProvider.get(i.LanguageContextService).updateLanguageBundle(this.bundles[e]),Promise.resolve()}emitNavigateEndEvent(e,t){return i.ServiceProvider.get(i.EventService).emit(new i.NavigationEnd(e,t)),Promise.resolve()}updateSelectedRepository(e){return i.ServiceProvider.get(i.RepositoryContextService).updateSelectedRepository(e),Promise.resolve()}updateIsLoadingActiveRepositoryLocation(e){return i.ServiceProvider.get(i.RepositoryLocationContextService).updateIsLoading(e),Promise.resolve()}addToastr(e){return this.eventEmitter.emit({NAME:i.CREATE_TOAST_EVENT,payload:new i.ToastMessage(e.type,e.message)}),Promise.resolve()}addNotification(e){return(0,i.service)(i.OntoToastrService),(0,i.notify)(e),Promise.resolve()}setAutocomplete(e){return i.ServiceProvider.get(i.AutocompleteContextService).updateAutocompleteEnabled(e),Promise.resolve()}updateNamespaces(e){return i.ServiceProvider.get(i.NamespacesContextService).updateNamespaces(new i.NamespaceMap(e)),Promise.resolve()}onLanguageChanged(){i.ServiceProvider.get(i.LanguageContextService).onSelectedLanguageChanged(e=>{e&&this.changeLanguage(e)})}setAuthStrategy(e){const t=i.ServiceProvider.get(i.AuthenticationStorageService),o=i.ServiceProvider.get(i.SecurityContextService),n=i.ServiceProvider.get(i.AuthorizationService);t.clearAuthToken(),(0,i.service)(i.AuthStrategyResolver).resolveStrategy(e).initialize().then(t=>{o.updateIsLoggedIn(t),t||(n.hasFreeAccess()?n.initializeFreeAccess():e.hasOverrideAuth()&&n.initializeOverrideAuth())})}createSecurityConfig(e){const t=Object.assign({enabled:!0,userLoggedIn:!1,passwordLoginEnabled:!1,openIdEnabled:!1,freeAccess:{},overrideAuth:{}},e);return new i.SecurityConfig(t)}}}};
2
+ //# sourceMappingURL=20694.4becb7771236462dcc5a.bundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"20694.4becb7771236462dcc5a.bundle.js","mappings":"oMA8HIA,EAAK,CACR,uBAAwB,eACxB,sBAAuB,cACvB,wBAAyB,gBACzBC,OA/HgB,CAChB,OAAU,SACVC,OAAQ,CACPC,GAAI,KACJC,MAAO,SAERC,QAAS,cA0HT,iBAAkB,MAClB,qBAAsB,UACtB,6BAA8B,kBAC9B,iCAAkC,sBAClC,6BAA8B,kBAC9B,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/D,KAAMgE,IAC5BP,EAAuBQ,iBAAiBD,GACnCA,IACGN,EAAqBQ,gBACrBR,EAAqBS,uBAEhBvD,EAAewD,mBACpBV,EAAqBW,2BAIrC,CAUAvD,oBAAAA,CAAqBwD,GACjB,MAAMzD,EAAS0D,OAAOC,OAAO,CAAE5F,SAAS,EAAM6F,cAAc,EAAOC,sBAAsB,EAAOC,eAAe,EAAO9F,WAAY,CAAC,EAAG+F,aAAc,CAAC,GAAKN,GAC1J,OAAO,IAAIO,EAAAA,eAAehE,EAC9B,E","sources":["webpack://root-config/./packages/shared-components/dist/esm/onto-test-context.entry.js"],"sourcesContent":["import { r as registerInstance } from './index-CGqARDX4.js';\nimport { EventEmitter, ServiceProvider, ConfigurationContextService, LicenseContextService, ProductInfoContextService, RepositoryService, RepositoryContextService, mapAuthenticatedUserResponseToModel, SecurityContextService, AuthenticationStorageService, AuthenticationService, LanguageContextService, EventService, NavigationEnd, RepositoryLocationContextService, ToastMessage, CREATE_TOAST_EVENT, service, OntoToastrService, notify, AutocompleteContextService, NamespacesContextService, NamespaceMap, AuthorizationService, AuthStrategyResolver, SecurityConfig } from '@ontotext/workbench-api';\n\nconst common$1 = {\n\t\"import\": \"Import\",\n\tbutton: {\n\t\tok: \"OK\",\n\t\tclose: \"Close\"\n\t},\n\tloading: \"Loading...\"\n};\nconst language_selector$1 = {\n\ttoggle_menu: {\n\t\tlabel: \"Select language\",\n\t\ttooltip: \"Current language: English\"\n\t},\n\tlanguage: {\n\t\ten: {\n\t\t\tlabel: \"en &middot; English\",\n\t\t\ttooltip: {\n\t\t\t\tselected: \"Current language\",\n\t\t\t\tnot_selected: \"Change language to English\"\n\t\t\t}\n\t\t},\n\t\tfr: {\n\t\t\tlabel: \"fr &middot; Français\",\n\t\t\ttooltip: {\n\t\t\t\tselected: \"Current language\",\n\t\t\t\tnot_selected: \"Changer la langue en Français\"\n\t\t\t}\n\t\t}\n\t}\n};\nconst license_alert$1 = {\n\tlabel: \"No valid license\",\n\tno_license_set: \"No license was set.\"\n};\nconst footer$1 = {\n\tlabel: {\n\t\tall_rights_reserved: \"All rights reserved.\"\n\t}\n};\nconst permission_banner$1 = {\n\tno_access_error: \"You have no permission to access this functionality with your current credentials.\",\n\tchange_menu_or_user_warning: \"Please choose another menu item or login as a different user.\"\n};\nconst cookie$1 = {\n\tcookie_consent: \"We may use cookies to help us improve GraphDB and develop better features. No personal or sensitive information is collected. By clicking “OK” you consent to our \",\n\tcookie_policy_url_label: \"Cookie Policy\",\n\tpolicy: {\n\t\ttitle: \"Cookies Policy\",\n\t\tpurpose_heading: \"Purpose\",\n\t\tpurpose_text: \"This Cookies Policy explains the data Ontotext collects and uses when you use our GraphDB product, specifically the Free Edition.\",\n\t\tpurpose_enterprise_text: \"Note that if you upgrade to the commercial GraphDB Enterprise Edition, no cookies will be stored on your device, regardless of settings.\",\n\t\tprivacy_commitment_heading: \"Ontotext privacy commitment\",\n\t\tprivacy_commitment_text: \"We are committed to not collecting any personal data or information when you use GraphDB Free. Additionally:\",\n\t\tprivacy_commitment_1: \"We will not sell or rent the technical information we collect to others.\",\n\t\tprivacy_commitment_2: \"We strive to maximize the protection of all technical data collected.\",\n\t\tcookies_heading: \"Cookies\",\n\t\tcookies_text: \"When you use GraphDB Free Edition, Ontotext will store cookies on your device to collect anonymous information about how you interact with the product. This technical data helps us improve and refine our software. Importantly, we cannot link this information to you personally or to any identifiable data. These cookies are solely intended to help us understand user interactions and identify potential issues within GraphDB.\",\n\t\tmanage_cookies_heading: \"Manage cookies\",\n\t\tstatistic_cookies: \"GraphDB analytics cookies\",\n\t\tstatistic_tooltip: \"Toggle GraphDB analytics cookies\",\n\t\tstatistic_text: \"These cookies help us understand how users interact with different aspects of GraphDB by collecting and reporting information anonymously. This data allows us to improve the overall product experience and develop features based on how GraphDB is used, without collecting any personal information.\",\n\t\tthird_party_cookies: \"Third-party cookies\",\n\t\tthird_party_tooltip: \"Toggle Third-party cookies\",\n\t\tthird_party_cookies_text: \"We use Google Analytics 4 (GA4) cookies to help us recognize unique users and sessions, track interactions, and collect data such as page views, session duration, and engagement. These cookies are managed by Google, meaning we do not control their operation. IP anonymization is enabled by default in GA4, so it cannot store IP addresses or track users personally. No data is shared between GA4 and other Google products, and processing occurs globally, primarily in the USA, without breaching GDPR, as no personal data is collected.\",\n\t\tchange_cookies: \"You can change your cookie preferences at any time in\",\n\t\tchange_cookies_location4: \"Cookie policy\"\n\t}\n};\nconst security$1 = {\n\tuser: {\n\t\tsettings: \"User settings\"\n\t}\n};\nconst operations_notification$1 = {\n\tlinks: {\n\t\tqueries: \"Running queries\",\n\t\tupdates: \"Running updates\",\n\t\timports: \"Running imports\",\n\t\tCREATE_BACKUP_IN_PROGRESS: \"Creating backup\",\n\t\tRESTORE_BACKUP_IN_PROGRESS: \"Restoring backup\",\n\t\tCREATE_CLOUD_BACKUP_IN_PROGRESS: \"Creating cloud backup\",\n\t\tRESTORE_CLOUD_BACKUP_IN_PROGRESS: \"Restoring cloud backup\",\n\t\tIN_SYNC: \"In sync\",\n\t\tRECOVERING: \"Recovering\",\n\t\tOUT_OF_SYNC: \"Out of sync\",\n\t\tUNAVAILABLE_NODES: \"Unavailable nodes\"\n\t}\n};\nconst user_menu$1 = {\n\tmy_settings: \"My settings\",\n\tlogout: \"Logout\",\n\tlogin: \"Login\"\n};\nconst rdf_search$1 = {\n\tlabels: {\n\t\tsearch: \"Search RDF resources\",\n\t\thint: \"Hint: \\\"abC\\\" matches \\\"abC*\\\", \\\"ab c*\\\" and \\\"ab-c*\\\"\"\n\t},\n\tbuttons: {\n\t\ttable: \"Table\",\n\t\tvisual: \"Visual\"\n\t},\n\ttooltips: {\n\t\tclose_search_area: \"Close search\",\n\t\tclear: \"Clear\"\n\t},\n\ttoasts: {\n\t\tuse_view_resource: \"<b>Search RDF resources</b></br>Use <b>View resource</b> on this page\",\n\t\tautocomplete_is_off: \"Autocomplete is OFF<br>Go to Setup -> Autocomplete\",\n\t\tempty_input: \"Please fill the input field!\",\n\t\tinvalid_uri: \"Invalid IRI\"\n\t}\n};\nconst openid$1 = {\n\terrors: {\n\t\ttitle: \"OpenID Authentication Failed\",\n\t\tunknown_flow: \"Unknown auth flow: {{authFlow}}\",\n\t\tinvalid_pkce_state: \"Invalid PKCE state\",\n\t\tcannot_retrieve_token: \"Cannot retrieve token after login: {{error}}\",\n\t\tcannot_refresh_token: \"Could not refresh OpenID token: {{error}}\",\n\t\tuser_no_access: \"User has no access to GraphDB\"\n\t}\n};\nvar en = {\n\t\"menu.logo.link.title\": \"GraphDB logo\",\n\t\"menu.buttons.expand\": \"Expand menu\",\n\t\"menu.buttons.collapse\": \"Collapse menu\",\n\tcommon: common$1,\n\t\"menu.rdf.label\": \"RDF\",\n\t\"menu.explore.label\": \"Explore\",\n\t\"menu.graphs.overview.label\": \"Graphs overview\",\n\t\"menu.class.relationships.label\": \"Class relationships\",\n\t\"menu.class.hierarchy.label\": \"Class hierarchy\",\n\t\"menu.similarity.label\": \"Similarity\",\n\t\"menu.sparql.label\": \"SPARQL\",\n\t\"menu.monitor.label\": \"Monitor\",\n\t\"menu.queries.and.updates.label\": \"Queries and Updates\",\n\t\"menu.backup_and_restore.label\": \"Backup and Restore\",\n\t\"menu.enableFtsIndex.label\": \"Enable full-text search (FTS) index\",\n\t\"menu.ftsIndexes.label\": \"FTS indexes to build (comma delimited)\",\n\t\"menu.ftsStringLiteralsIndex.label\": \"FTS index for xsd:string literals\",\n\t\"menu.ftsIrisIndex.label\": \"FTS index for full-text indexing of IRIs\",\n\t\"menu.ftsDefaultAnalyzer.label\": \"Analyzer for the default index\",\n\t\"menu.resources.label\": \"System\",\n\t\"menu.setup.label\": \"Setup\",\n\t\"menu.lab.label\": \"Lab\",\n\t\"menu.ttyg.label\": \"Talk to Your Graph\",\n\t\"menu.repositories.label\": \"Repositories\",\n\t\"menu.aclmanagement.label\": \"ACL Management\",\n\t\"menu.users.and.access.label\": \"Users and Access\",\n\t\"menu.my.settings.label\": \"My Settings\",\n\t\"menu.cluster.label\": \"Cluster\",\n\t\"menu.connectors.label\": \"Connectors\",\n\t\"menu.namespaces.label\": \"Namespaces\",\n\t\"menu.autocomplete.label\": \"Autocomplete\",\n\t\"menu.jdbc.label\": \"JDBC\",\n\t\"menu.sparql.template.label\": \"SPARQL Templates\",\n\t\"menu.license.label\": \"License\",\n\t\"menu.help.label\": \"Help\",\n\t\"menu.system.information.label\": \"System information\",\n\t\"menu.rest.api.label\": \"REST API\",\n\t\"menu.documentation.label\": \"Documentation\",\n\t\"menu.tutorials.label\": \"Tutorials\",\n\t\"menu.support.label\": \"Support\",\n\t\"menu.guides.label\": \"Interactive guides\",\n\t\"menu.plugins.label\": \"Plugins\",\n\t\"menu.graphql.label\": \"GraphQL\",\n\t\"menu.graphql-endpoint-management.label\": \"Endpoint Management\",\n\t\"menu.graphql-playground.label\": \"GraphQL Playground\",\n\t\"visual.graph.label\": \"Visual graph\",\n\t\"view.rdf.rank.title\": \"RDF Rank\",\n\tlanguage_selector: language_selector$1,\n\t\"repository-selector\": {\n\tbtn: {\n\t\ttoggle: \"Choose repository\",\n\t\tno_repositories: \"No accessible repositories\"\n\t},\n\ttooltip: {\n\t\trepository: \"Repository\",\n\t\tlocation: \"Location\",\n\t\tlocal: \"Local\",\n\t\ttype: \"Type\",\n\t\ttypes: {\n\t\t\tgraphdb: \"Graphdb\",\n\t\t\tsystem: \"System\",\n\t\t\tontop: \"Ontop\",\n\t\t\tfedx: \"FedX\",\n\t\t\tunknown: \"Unknown\"\n\t\t},\n\t\taccess: \"Access\",\n\t\taccesses: {\n\t\t\tread: \"Read\",\n\t\t\twrite: \"Write\",\n\t\t\tread_write: \"Read/Write\"\n\t\t},\n\t\t\"repository-size\": {\n\t\t\ttotal: \"Total statements\",\n\t\t\texplicit: \"Explicit\",\n\t\t\tinferred: \"Inferred\",\n\t\t\texpansion_ratio: \"Expansion ratio (total/explicit)\"\n\t\t}\n\t}\n},\n\tlicense_alert: license_alert$1,\n\tfooter: footer$1,\n\tpermission_banner: permission_banner$1,\n\tcookie: cookie$1,\n\tsecurity: security$1,\n\toperations_notification: operations_notification$1,\n\tuser_menu: user_menu$1,\n\trdf_search: rdf_search$1,\n\topenid: openid$1\n};\n\nconst common = {\n\t\"import\": \"Importer\",\n\tbutton: {\n\t\tok: \"D'accord\",\n\t\tclose: \"Fermer\"\n\t},\n\tloading: \"Chargement...\"\n};\nconst language_selector = {\n\ttoggle_menu: {\n\t\tlabel: \"Sélectionner la langue\",\n\t\ttooltip: \"Langue actuelle : Français\"\n\t},\n\tlanguage: {\n\t\ten: {\n\t\t\tlabel: \"en &middot; Anglais\",\n\t\t\ttooltip: {\n\t\t\t\tselected: \"Langue actuelle\",\n\t\t\t\tnot_selected: \"Changer la langue en Anglais\"\n\t\t\t}\n\t\t},\n\t\tfr: {\n\t\t\tlabel: \"fr &middot; Français\",\n\t\t\ttooltip: {\n\t\t\t\tselected: \"Langue actuelle\",\n\t\t\t\tnot_selected: \"Changer la langue en Français\"\n\t\t\t}\n\t\t}\n\t}\n};\nconst license_alert = {\n\tlabel: \"Aucune licence valide\",\n\tno_license_set: \"Aucune licence n'a été définie.\"\n};\nconst footer = {\n\tlabel: {\n\t\tall_rights_reserved: \"Tous droits réservés.\"\n\t}\n};\nconst permission_banner = {\n\tno_access_error: \"Vous n'avez pas la permission d'accéder à cette fonctionnalité avec vos informations d'identification actuelles.\",\n\tchange_menu_or_user_warning: \"Veuillez choisir un autre élément du menu ou vous connecter comme un autre utilisateur.\"\n};\nconst cookie = {\n\tcookie_consent: \"Nous pouvons utiliser des cookies pour nous aider à améliorer GraphDB et développer de meilleures fonctionnalités. Aucune information personnelle ou sensible n'est collectée. En cliquant sur « D'accord », vous consentez à notre \",\n\tcookie_policy_url_label: \"politique de cookies\",\n\tpolicy: {\n\t\ttitle: \"Politique de cookies\",\n\t\tpurpose_heading: \"Objectif\",\n\t\tpurpose_text: \"Cette politique de cookies explique les données qu'Ontotext collecte et utilise lorsque vous utilisez notre produit GraphDB, en particulier l'édition Free.\",\n\t\tpurpose_enterprise_text: \"Veuillez noter que si vous passez à l'édition commerciale GraphDB Enterprise, aucun cookie ne sera stocké sur votre appareil, quel que soit le paramètre.\",\n\t\tprivacy_commitment_heading: \"Engagement de confidentialité d'Ontotext\",\n\t\tprivacy_commitment_text: \"Nous nous engageons à ne collecter aucune donnée personnelle ou information lorsque vous utilisez GraphDB Free. De plus :\",\n\t\tprivacy_commitment_1: \"Nous ne vendrons ni ne louerons à d'autres les informations techniques que nous collectons.\",\n\t\tprivacy_commitment_2: \"Nous nous efforçons de maximiser la protection de toutes les données techniques collectées.\",\n\t\tcookies_heading: \"Cookies\",\n\t\tcookies_text: \"Lorsque vous utilisez l'édition GraphDB Free, Ontotext stockera des cookies sur votre appareil pour collecter des informations anonymes sur la façon dont vous interagissez avec le produit. Ces données techniques nous aident à améliorer et affiner notre produit. Il est important de noter que nous ne pouvons pas relier ces informations à vous personnellement ni à aucune donnée identifiable. Ces cookies ont uniquement pour but de nous aider à comprendre les interactions des utilisateurs et à identifier les éventuels problèmes dans GraphDB.\",\n\t\tmanage_cookies_heading: \"Gérer les cookies\",\n\t\tstatistic_cookies: \"Cookies d'analyse GraphDB\",\n\t\tstatistic_tooltip: \"Activer/désactiver les cookies d'analyse GraphDB\",\n\t\tstatistic_text: \"Ces cookies nous aident à comprendre comment les utilisateurs interagissent avec différents aspects de GraphDB en collectant et en rapportant des informations de manière anonyme. Ces données nous permettent d'améliorer l'expérience globale du produit et de développer des fonctionnalités en fonction de l'utilisation de GraphDB, sans collecter d'informations personnelles.\",\n\t\tthird_party_cookies: \"Cookies tiers\",\n\t\tthird_party_tooltip: \"Activer/désactiver les cookies tiers\",\n\t\tthird_party_cookies_text: \"Nous utilisons les cookies Google Analytics 4 (GA4) pour nous aider à reconnaître les utilisateurs et sessions uniques, à suivre les interactions et à collecter des données telles que les pages consultées, la durée des sessions et l'engagement. Ces cookies sont gérés par Google, ce qui signifie que nous n'avons pas de contrôle sur leur fonctionnement. L'anonymisation IP est activée par défaut dans GA4, de sorte qu'il ne peut ni stocker les adresses IP ni suivre les utilisateurs personnellement. Aucune donnée n'est partagée entre GA4 et d'autres produits Google, et le traitement s'effectue à l'échelle mondiale, principalement aux États-Unis, sans enfreindre le RGPD, car aucune donnée personnelle n'est collectée.\",\n\t\tchange_cookies: \"Vous pouvez modifier vos préférences de cookies à tout moment dans\",\n\t\tchange_cookies_location4: \"Politique de cookies\"\n\t}\n};\nconst security = {\n\tuser: {\n\t\tsettings: \"Paramètres de l'utilisateur\"\n\t}\n};\nconst operations_notification = {\n\tlinks: {\n\t\tqueries: \"Exécution de requêtes\",\n\t\tupdates: \"Exécution de mises à jour\",\n\t\timports: \"Exécution d'importations\",\n\t\tCREATE_BACKUP_IN_PROGRESS: \"Création de sauvegarde en cours\",\n\t\tRESTORE_BACKUP_IN_PROGRESS: \"Restauration de sauvegarde en cours\",\n\t\tCREATE_CLOUD_BACKUP_IN_PROGRESS: \"Création de sauvegarde cloud en cours\",\n\t\tRESTORE_CLOUD_BACKUP_IN_PROGRESS: \"Restauration de sauvegarde cloud en cours\",\n\t\tIN_SYNC: \"Synchronisé\",\n\t\tRECOVERING: \"Récupération en cours\",\n\t\tOUT_OF_SYNC: \"Désynchronisé\",\n\t\tUNAVAILABLE_NODES: \"Nœuds indisponibles\"\n\t}\n};\nconst user_menu = {\n\tmy_settings: \"Mes paramètres\",\n\tlogout: \"Déconnexion\",\n\tlogin: \"Se connecter\"\n};\nconst rdf_search = {\n\tlabels: {\n\t\tsearch: \"Rechercher des ressources RDF\",\n\t\thint: \"Indice : \\\"abC\\\" correspond à \\\"abC*\\\", \\\"ab c*\\\" et \\\"ab-c*\\\".\"\n\t},\n\tbuttons: {\n\t\ttable: \"Tableau\",\n\t\tvisual: \"Visuel\"\n\t},\n\ttooltips: {\n\t\tclose_search_area: \"Fermer la recherche\",\n\t\tclear: \"Clair\"\n\t},\n\ttoasts: {\n\t\tuse_view_resource: \"<b>Rechercher des ressources RDF</b></br>Utilisez <b>Voir la ressource</b> sur cette page\",\n\t\tautocomplete_is_off: \"L'autocomplétion est désactivée<br>Aller à Configuration -> Autocomplétion\",\n\t\tempty_input: \"S'il vous plaît remplir le champ de saisie!\",\n\t\tinvalid_uri: \"IRI non valide\"\n\t}\n};\nconst openid = {\n\terrors: {\n\t\ttitle: \"Échec de l'authentification OpenID\",\n\t\tunknown_flow: \"Flux d'authentification inconnu: {{authFlow}}\",\n\t\tinvalid_pkce_state: \"État PKCE invalide\",\n\t\tcannot_retrieve_token: \"Impossible de récupérer le jeton après la connexion: {{error}}\",\n\t\tcannot_refresh_token: \"Impossible de rafraîchir le jeton OpenID: {{error}}\",\n\t\tuser_no_access: \"L'utilisateur n'a pas accès à GraphDB\"\n\t}\n};\nvar fr = {\n\t\"menu.logo.link.title\": \"Logo GraphDB\",\n\t\"menu.buttons.expand\": \"Développer le menu\",\n\t\"menu.buttons.collapse\": \"Réduire le menu\",\n\tcommon: common,\n\t\"menu.rdf.label\": \"RDF\",\n\t\"menu.explore.label\": \"Explorez\",\n\t\"menu.graphs.overview.label\": \"Aperçu des graphes\",\n\t\"menu.class.relationships.label\": \"Relations entre les classes\",\n\t\"menu.class.hierarchy.label\": \"Hiérarchie des classes\",\n\t\"menu.similarity.label\": \"Similarité\",\n\t\"menu.sparql.label\": \"SPARQL\",\n\t\"menu.monitor.label\": \"Surveiller\",\n\t\"menu.queries.and.updates.label\": \"Requêtes et mises à jour\",\n\t\"menu.backup_and_restore.label\": \"Sauvegarde et Restauration\",\n\t\"menu.enableFtsIndex.label\": \"Activer l'index de recherche plein texte\",\n\t\"menu.ftsIndexes.label\": \"Index de recherche en texte intégral à construire (délimités par des virgules)\",\n\t\"menu.ftsStringLiteralsIndex.label\": \"Index de recherche en texte intégral pour les littéraux xsd:string\",\n\t\"menu.ftsIrisIndex.label\": \"Index de recherche en texte intégral pour l'indexation en texte intégral des IRI\",\n\t\"menu.ftsDefaultAnalyzer.label\": \"Analyseur pour l'index par défaut\",\n\t\"menu.resources.label\": \"Système\",\n\t\"menu.setup.label\": \"Configurer\",\n\t\"menu.lab.label\": \"Laboratoire\",\n\t\"menu.ttyg.label\": \"Parlez à votre graphe\",\n\t\"menu.repositories.label\": \"Dépôts\",\n\t\"menu.aclmanagement.label\": \"Gestion ACL\",\n\t\"menu.users.and.access.label\": \"Utilisateurs et accès\",\n\t\"menu.my.settings.label\": \"Mes paramètres\",\n\t\"menu.cluster.label\": \"Cluster\",\n\t\"menu.connectors.label\": \"Connecteurs\",\n\t\"menu.namespaces.label\": \"Espaces de noms\",\n\t\"menu.autocomplete.label\": \"Autocomplétion\",\n\t\"menu.jdbc.label\": \"JDBC\",\n\t\"menu.sparql.template.label\": \"Modèles SPARQL\",\n\t\"menu.license.label\": \"Licence\",\n\t\"menu.help.label\": \"Aide\",\n\t\"menu.system.information.label\": \"Informations sur le système\",\n\t\"menu.rest.api.label\": \"API REST\",\n\t\"menu.documentation.label\": \"Documentation\",\n\t\"menu.tutorials.label\": \"Tutoriels\",\n\t\"menu.support.label\": \"Support\",\n\t\"menu.guides.label\": \"Guides interactifs\",\n\t\"menu.plugins.label\": \"Plugins\",\n\t\"menu.graphql.label\": \"GraphQL\",\n\t\"menu.graphql-endpoint-management.label\": \"Gestion des points de terminaison\",\n\t\"menu.graphql-playground.label\": \"GraphQL Playground\",\n\t\"visual.graph.label\": \"Graphique visuel\",\n\t\"view.rdf.rank.title\": \"Rang RDF\",\n\tlanguage_selector: language_selector,\n\t\"repository-selector\": {\n\tbtn: {\n\t\ttoggle: \"Choisissez le dépôt\",\n\t\tno_repositories: \"Aucun dépôt accessible\"\n\t},\n\ttooltip: {\n\t\trepository: \"Dépôt\",\n\t\tlocation: \"L'emplacement\",\n\t\tlocal: \"Local\",\n\t\ttype: \"Type\",\n\t\ttypes: {\n\t\t\tgraphdb: \"Graphdb\",\n\t\t\tsystem: \"Système\",\n\t\t\tontop: \"Ontop\",\n\t\t\tfedx: \"FedX\",\n\t\t\tunknown: \"Inconnu\"\n\t\t},\n\t\taccess: \"Accéder\",\n\t\taccesses: {\n\t\t\tread: \"Lire\",\n\t\t\twrite: \"Écrire\",\n\t\t\tread_write: \"Lire/Écrire\"\n\t\t},\n\t\t\"repository-size\": {\n\t\t\ttotal: \"Total des déclarations\",\n\t\t\texplicit: \"Explicite\",\n\t\t\tinferred: \"Déduit\",\n\t\t\texpansion_ratio: \"Taux d'expansion (total/explicite)\"\n\t\t}\n\t}\n},\n\tlicense_alert: license_alert,\n\tfooter: footer,\n\tpermission_banner: permission_banner,\n\tcookie: cookie,\n\tsecurity: security,\n\toperations_notification: operations_notification,\n\tuser_menu: user_menu,\n\trdf_search: rdf_search,\n\topenid: openid\n};\n\nconst OntoTestContext = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.bundles = { en, fr };\n this.eventEmitter = new EventEmitter();\n this.onLanguageChanged();\n this.setSecurityConfig({ enabled: false, freeAccess: { enabled: false } });\n }\n /**\n * Initializes the application configuration context.\n *\n * This method uses the ConfigurationContextService to update the application\n * configuration and returns a resolved Promise once the operation is complete.\n * @param configuration - The new Configuration object to be set.\n * @returns A Promise that resolves when the configuration update is complete.\n */\n initConfigurationContext(configuration) {\n ServiceProvider.get(ConfigurationContextService).updateApplicationConfiguration(configuration);\n return Promise.resolve();\n }\n /**\n * Updates the license information in the context.\n *\n * This method uses the LicenseContextService to update the license\n * and returns a resolved Promise once the operation is complete.\n *\n * @param license - The new License object to be set.\n * @returns A Promise that resolves when the license update is complete.\n */\n updateLicense(license) {\n ServiceProvider.get(LicenseContextService).updateGraphdbLicense(license);\n return Promise.resolve();\n }\n /**\n * Updates the product information in the context.\n *\n * This method uses the ProductInfoContextService to update the product information\n * and returns a resolved Promise once the operation is complete.\n *\n * @param productInfo - The new ProductInfo object to be set.\n * @returns A Promise that resolves when the product information update is complete.\n */\n updateProductInfo(productInfo) {\n ServiceProvider.get(ProductInfoContextService).updateProductInfo(productInfo);\n return Promise.resolve();\n }\n /**\n * Loads the repositories in the application.\n */\n loadRepositories() {\n ServiceProvider.get(RepositoryService).getRepositories().then((repositories) => {\n ServiceProvider.get(RepositoryContextService).updateRepositoryList(repositories);\n });\n return Promise.resolve();\n }\n /**\n * Sets the authenticated user in the application context.\n *\n * @param user - The AuthenticatedUser object containing the user's authentication information.\n * @returns A Promise that resolves when the authenticated user has been successfully updated\n */\n setAuthenticatedUser(user) {\n // Don't map if undefined is passed. This allows to clear the user in context\n const userModel = user\n ? mapAuthenticatedUserResponseToModel(user)\n : undefined;\n ServiceProvider.get(SecurityContextService).updateAuthenticatedUser(userModel);\n ServiceProvider.get(AuthenticationStorageService).setAuthToken('token');\n return Promise.resolve();\n }\n /**\n * Sets the security configuration in the application context.\n *\n * @param securityConfig - The SecurityConfig object containing the new security settings to be applied.\n * @returns A Promise that resolves when the security configuration has been successfully updated.\n */\n setSecurityConfig(securityConfig) {\n const config = this.createSecurityConfig(securityConfig);\n ServiceProvider.get(SecurityContextService).updateSecurityConfig(config);\n this.setAuthStrategy(config);\n return Promise.resolve();\n }\n /**\n * Logs in a user with the provided username and password.\n *\n * This method uses the AuthenticationService to perform the login operation.\n * It returns a Promise that resolves when the login process is complete.\n * @param username\n * @param password\n */\n login(username, password) {\n const authService = ServiceProvider.get(AuthenticationService);\n return authService.login(username, password);\n }\n /**\n * Changes the application's language by updating the language bundle.\n *\n * This method uses the LanguageContextService to update the language bundle\n * based on the provided language code. It retrieves the corresponding bundle\n * from the predefined bundles object and updates the context.\n *\n * @param language - The language code (e.g., 'en' for English, 'fr' for French)\n * representing the desired language to switch to.\n * @returns A Promise that resolves when the language update is complete.\n */\n changeLanguage(language) {\n ServiceProvider.get(LanguageContextService).updateLanguageBundle(this.bundles[language]);\n return Promise.resolve();\n }\n /**\n * Emits {@see NavigationEnd} event with <code>oldUrl</code> and <code>newUrl</code>.\n * @param oldUrl - the value will be used as old url in the event payload.\n * @param newUrl - the value will be used as new url in the event payload.\n */\n emitNavigateEndEvent(oldUrl, newUrl) {\n ServiceProvider.get(EventService).emit(new NavigationEnd(oldUrl, newUrl));\n return Promise.resolve();\n }\n /**\n * Updates the selected repository in the application context.\n *\n * @method updateSelectedRepository\n * @param repositoryReference - The RepositoryReference object representing the repository to select.\n * @returns A Promise that resolves when the selected repository has been updated.\n */\n updateSelectedRepository(repositoryReference) {\n ServiceProvider.get(RepositoryContextService).updateSelectedRepository(repositoryReference);\n return Promise.resolve();\n }\n /**\n * Updates whether the active repository request is in a loading state.\n *\n * @param isLoading - A boolean value indicating whether the repository location is in a loading state.\n * True indicates request is in progress, false indicates loading is complete.\n * @returns A Promise that resolves when the loading state update is complete.\n */\n updateIsLoadingActiveRepositoryLocation(isLoading) {\n ServiceProvider.get(RepositoryLocationContextService).updateIsLoading(isLoading);\n return Promise.resolve();\n }\n /**\n * Adds a toast notification to the application.\n *\n * @param toast - The ToastMessage object containing the notification details\n * such as message content, type, and display options.\n */\n addToastr(toast) {\n this.eventEmitter.emit({ NAME: CREATE_TOAST_EVENT, payload: new ToastMessage(toast.type, toast.message) });\n return Promise.resolve();\n }\n /**\n * Adds a notification to the application.\n * @param notification - The Notification object containing the notification details.\n */\n addNotification(notification) {\n // create the toastr service, which starts listening for notifications\n service(OntoToastrService);\n notify(notification);\n return Promise.resolve();\n }\n /**\n * Sets the autocomplete status in the context.\n *\n * @param enabled whether autocomplete is enabled or disabled.\n */\n setAutocomplete(enabled) {\n ServiceProvider.get(AutocompleteContextService).updateAutocompleteEnabled(enabled);\n return Promise.resolve();\n }\n /**\n * Sets the namespace map in the application context.\n *\n * @param rawNamespaces - The namespace map containing prefix-to-URI mappings to be used throughout the application\n * @returns A Promise that resolves when the namespace map has been successfully updated\n */\n updateNamespaces(rawNamespaces) {\n ServiceProvider.get(NamespacesContextService).updateNamespaces(new NamespaceMap(rawNamespaces));\n return Promise.resolve();\n }\n /**\n * Sets up a listener for language changes and updates the application language accordingly.\n *\n * This private method subscribes to language change events using the LanguageContextService.\n * When a new language is selected, it calls the changeLanguage method to update the application's language.\n */\n onLanguageChanged() {\n ServiceProvider.get(LanguageContextService).onSelectedLanguageChanged((languageCode) => {\n if (languageCode) {\n this.changeLanguage(languageCode);\n }\n });\n }\n /**\n * Configures the authentication strategy based on the provided security configuration.\n *\n * This private method retrieves the AuthenticationService and sets the authentication strategy\n * according to the given SecurityConfig. It ensures that the application uses the correct\n * authentication mechanism as specified in the security settings.\n *\n * @param securityConfig - The SecurityConfig object containing the security settings to be applied.\n */\n setAuthStrategy(securityConfig) {\n const authenticationStorageService = ServiceProvider.get(AuthenticationStorageService);\n const securityContextService = ServiceProvider.get(SecurityContextService);\n const authorizationService = ServiceProvider.get(AuthorizationService);\n authenticationStorageService.clearAuthToken();\n const authStrategyResolver = service(AuthStrategyResolver);\n const authStrategy = authStrategyResolver.resolveStrategy(securityConfig);\n authStrategy.initialize().then((isLoggedIn) => {\n securityContextService.updateIsLoggedIn(isLoggedIn);\n if (!isLoggedIn) {\n if (authorizationService.hasFreeAccess()) {\n authorizationService.initializeFreeAccess();\n }\n else if (securityConfig.hasOverrideAuth()) {\n authorizationService.initializeOverrideAuth();\n }\n }\n });\n }\n /**\n * Creates a SecurityConfig instance, merging default values with any provided overrides.\n *\n * This private method constructs a SecurityConfig object by combining default settings\n * with any specified overrides. It ensures that all necessary properties are set,\n * providing a complete configuration for security-related operations.\n * @param overrides\n * @private\n */\n createSecurityConfig(overrides) {\n const config = Object.assign({ enabled: true, userLoggedIn: false, passwordLoginEnabled: false, openIdEnabled: false, freeAccess: {}, overrideAuth: {} }, overrides);\n return new SecurityConfig(config);\n }\n};\n\nexport { OntoTestContext as onto_test_context };\n"],"names":["en","common","button","ok","close","loading","language_selector","toggle_menu","label","tooltip","language","selected","not_selected","fr","btn","toggle","no_repositories","repository","location","local","type","types","graphdb","system","ontop","fedx","unknown","access","accesses","read","write","read_write","total","explicit","inferred","expansion_ratio","license_alert","no_license_set","footer","all_rights_reserved","permission_banner","no_access_error","change_menu_or_user_warning","cookie","cookie_consent","cookie_policy_url_label","policy","title","purpose_heading","purpose_text","purpose_enterprise_text","privacy_commitment_heading","privacy_commitment_text","privacy_commitment_1","privacy_commitment_2","cookies_heading","cookies_text","manage_cookies_heading","statistic_cookies","statistic_tooltip","statistic_text","third_party_cookies","third_party_tooltip","third_party_cookies_text","change_cookies","change_cookies_location4","security","user","settings","operations_notification","links","queries","updates","imports","CREATE_BACKUP_IN_PROGRESS","RESTORE_BACKUP_IN_PROGRESS","CREATE_CLOUD_BACKUP_IN_PROGRESS","RESTORE_CLOUD_BACKUP_IN_PROGRESS","IN_SYNC","RECOVERING","OUT_OF_SYNC","UNAVAILABLE_NODES","user_menu","my_settings","logout","login","rdf_search","labels","search","hint","buttons","table","visual","tooltips","close_search_area","clear","toasts","use_view_resource","autocomplete_is_off","empty_input","invalid_uri","openid","errors","unknown_flow","invalid_pkce_state","cannot_retrieve_token","cannot_refresh_token","user_no_access","OntoTestContext","constructor","hostRef","registerInstance","this","bundles","eventEmitter","EventEmitter","onLanguageChanged","setSecurityConfig","enabled","freeAccess","initConfigurationContext","configuration","ServiceProvider","get","ConfigurationContextService","updateApplicationConfiguration","Promise","resolve","updateLicense","license","LicenseContextService","updateGraphdbLicense","updateProductInfo","productInfo","ProductInfoContextService","loadRepositories","RepositoryService","getRepositories","then","repositories","RepositoryContextService","updateRepositoryList","setAuthenticatedUser","userModel","mapAuthenticatedUserResponseToModel","undefined","SecurityContextService","updateAuthenticatedUser","AuthenticationStorageService","setAuthToken","securityConfig","config","createSecurityConfig","updateSecurityConfig","setAuthStrategy","username","password","AuthenticationService","changeLanguage","LanguageContextService","updateLanguageBundle","emitNavigateEndEvent","oldUrl","newUrl","EventService","emit","NavigationEnd","updateSelectedRepository","repositoryReference","updateIsLoadingActiveRepositoryLocation","isLoading","RepositoryLocationContextService","updateIsLoading","addToastr","toast","NAME","CREATE_TOAST_EVENT","payload","ToastMessage","message","addNotification","notification","service","OntoToastrService","notify","setAutocomplete","AutocompleteContextService","updateAutocompleteEnabled","updateNamespaces","rawNamespaces","NamespacesContextService","NamespaceMap","onSelectedLanguageChanged","languageCode","authenticationStorageService","securityContextService","authorizationService","AuthorizationService","clearAuthToken","AuthStrategyResolver","resolveStrategy","initialize","isLoggedIn","updateIsLoggedIn","hasFreeAccess","initializeFreeAccess","hasOverrideAuth","initializeOverrideAuth","overrides","Object","assign","userLoggedIn","passwordLoginEnabled","openIdEnabled","overrideAuth","SecurityConfig"],"ignoreList":[],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ export const __webpack_esm_id__=21015;export const __webpack_esm_ids__=[21015];export const __webpack_esm_modules__={13231(e,t,n){n(2243);var i=n(33760),r=n(92900),a=n(57154);function o(e,t,n,o,s,u,c,l,g,d,p,f){angular.extend(this,c("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"}));const m=(0,a.service)(a.SecurityService),h=(0,a.service)(a.AuthenticationService),v=(0,a.service)(a.SecurityContextService),T=(0,a.service)(a.LicenseService),y=(0,a.service)(a.ApplicationSettingsStorageService),$=(0,a.service)(a.NavigationContextService),w=(0,a.service)(a.ThemeService);let S;e.mode="settings",e.showWorkbenchSettings=!0,e.workbenchSettings=y.getApplicationSettings(),e.selectedThemeMode=e.workbenchSettings.themeMode,e.saveButtonText=g.instant("common.save.btn"),e.pageTitle=g.instant("view.settings.title"),e.passwordPlaceholder=g.instant("security.new.password"),e.grantedAuthorities={[i.aj]:{},[i.DX]:{},[i.w0]:{}},e.loader=!1,e.noPassword=!1,e.showCookiePolicyLink=!1,e.showCookieConsentModal=!1,e.hasEditRestrictions=function(){return!0},e.isUser=function(){return e.userType===r.ut.USER},e.goBack=function(){const e=$.getPreviousRoute();(0,a.navigate)(e??"./")},e.updateCurrentUserData=function(){h.getCurrentUser().then(e=>v.updateAuthenticatedUser(e))},e.redirectAdmin=function(){e.currentUserData||u.redirectToLogin()},e.submit=function(){e.noPassword&&e.userType===r.ut.ADMIN?l.openSimpleModal({title:g.instant("security.save.admin.settings"),message:g.instant("security.admin.pass.unset"),warning:!0}).result.then(function(){e.updateUser()}):e.updateUser()},e.updateUserHttp=function(){e.loader=!0;const n=new a.User({username:e.user.username,password:e.noPassword?"":e.user.password||void 0,appSettings:e.user.appSettings});m.updateAuthenticatedUser(n).then(()=>{t.success(g.instant("security.user.updated",{name:e.user.username})),e.updateCurrentUserData(),w.setThemeMode(e.selectedThemeMode),y.setApplicationSettings(e.workbenchSettings),x()}).catch(e=>{const n=getError(e);t.error(n,g.instant("common.error"))}).finally(()=>{e.loader=!1})},e.updateUser=function(){if(!e.validateForm())return!1;e.updateUserHttp()},e.validateForm=function(){return e.validatePassword()},e.setThemeMode=function(){e.selectedThemeMode=e.workbenchSettings.themeMode},e.onDialogClose=()=>{e.showCookieConsentModal=!1},e.showCookiePolicy=t=>{t.preventDefault(),e.showCookieConsentModal=!0};const x=()=>{S=o(function(){e.loader=!1;const t=$.getPreviousRoute();(0,a.navigate)(t??"./")},2e3)};e.$on("$destroy",function(){o.cancel(S)}),(()=>{const t=v.getAuthenticatedUser();e.currentUserData=t.toUser(),e.redirectAdmin(),e.user={username:e.currentUserData.username},e.user.password="",e.user.confirmpassword="",e.user.external=e.currentUserData.external,e.user.appSettings=e.currentUserData.appSettings,void 0===e.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA&&(e.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA=!0),e.userType=e.currentUserData.getUserType(),e.grantedAuthorities=e.currentUserData.authorities.toUIModel(),e.customRoles=e.currentUserData.authorities.getCustomRoles()})(),e.setThemeMode(),T.updateLicenseStatus().then(()=>{e.showCookiePolicyLink=f.isTrackingAllowed()})}angular.module("graphdb.framework.security.controllers.user-settings",["graphdb.framework.core.services.security-service"]).controller("UserSettingsController",o),o.$inject=["$scope","toastr","$window","$timeout","$jwtAuth","$rootScope","$controller","ModalService","$translate","$q","$uibModal","TrackingService"]},21015(e,t,n){n(82493),n(5687),n(94229),n(13231),n(98599),n(44645),angular.module("graphdb.framework.security",["toastr","ui.bootstrap","ngRoute","graphdb.framework.security.controllers","graphdb.framework.security.controllers.user-settings","graphdb.framework.core.interceptors.unauthorized","graphdb.framework.core.interceptors.authentication","graphdb.framework.core.services.jwtauth","graphdb.framework.security.directives"])},44645(){var e,t,n;e=9007199254740991,t=["text","email","url"],(n=angular.module("ngTagsInput",[])).directive("tagsInput",["$timeout","$document","$window","$q","tagsInputConfig","tiUtil",function(n,i,r,a,o,s){function u(e,t,n,i){var r,o,u,c,l={};return r=function(t){return s.safeToString(t[e.displayProperty])},o=function(t,n){t[e.displayProperty]=n},u=function(t){var i=r(t),o=i&&i.length>=e.minLength&&i.length<=e.maxLength&&e.allowedTagsPattern.test(i)&&!s.findInObjectArray(l.items,t,e.keyProperty||e.displayProperty);return a.when(o&&n({$tag:t})).then(s.promisifyValue)},c=function(e){return a.when(i({$tag:e})).then(s.promisifyValue)},l.items=[],l.addText=function(e){var t={};return o(t,e),l.add(t)},l.add=function(n){var i=r(n);return e.replaceSpacesWithDashes&&(i=s.replaceSpacesWithDashes(i)),o(n,i),u(n).then(function(){l.items.push(n),t.trigger("tag-added",{$tag:n})}).catch(function(){i&&t.trigger("invalid-tag",{$tag:n})})},l.remove=function(e){var n=l.items[e];return c(n).then(function(){return l.items.splice(e,1),l.clearSelection(),t.trigger("tag-removed",{$tag:n}),n})},l.select=function(e){0>e?e=l.items.length-1:e>=l.items.length&&(e=0),l.index=e,l.selected=l.items[e]},l.selectPrior=function(){l.select(--l.index)},l.selectNext=function(){l.select(++l.index)},l.removeSelected=function(){return l.remove(l.index)},l.clearSelection=function(){l.selected=null,l.index=-1},l.getItems=function(){return e.useStrings?l.items.map(r):l.items},l.clearSelection(),l}function c(e){return-1!==t.indexOf(e)}return{restrict:"E",require:"ngModel",scope:{tags:"=ngModel",text:"=?",templateScope:"=?",tagClass:"&",onTagAdding:"&",onTagAdded:"&",onInvalidTag:"&",onTagRemoving:"&",onTagRemoved:"&",onTagClicked:"&"},replace:!1,transclude:!0,templateUrl:"ngTagsInput/tags-input.html",controller:["$scope","$attrs","$element",function(t,n,i){t.events=s.simplePubSub(),o.load("tagsInput",t,n,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",c],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,e],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,e],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0],useStrings:[Boolean,!1]}),t.tagList=new u(t.options,t.events,s.handleUndefinedResult(t.onTagAdding,!0),s.handleUndefinedResult(t.onTagRemoving,!0)),this.registerAutocomplete=function(){return i.find("input"),{addTag:function(e){return t.tagList.add(e)},getTags:function(){return t.tagList.items},getCurrentTagText:function(){return t.newTag.text()},getOptions:function(){return t.options},getTemplateScope:function(){return t.templateScope},on:function(e,n){return t.events.on(e,n,!0),this}}},this.registerTagItem=function(){return{getOptions:function(){return t.options},removeTag:function(e){t.disabled||t.tagList.remove(e)}}}}],link:function(e,t,a,o){var u,c,l=[13,188,32,8,46,37,39],g=e.tagList,d=e.events,p=e.options,f=t.find("input"),m=["minTags","maxTags","allowLeftoverText"];u=function(){o.$setValidity("maxTags",g.items.length<=p.maxTags),o.$setValidity("minTags",g.items.length>=p.minTags),o.$setValidity("leftoverText",!(!e.hasFocus&&!p.allowLeftoverText&&e.newTag.text()))},c=function(){n(function(){f[0].focus()})},o.$isEmpty=function(e){return!e||!e.length},e.newTag={text:function(t){return angular.isDefined(t)?(e.text=t,void d.trigger("input-change",t)):e.text||""},invalid:null},e.track=function(e){return e[p.keyProperty||p.displayProperty]},e.getTagClass=function(t,n){var i=t===g.selected;return[e.tagClass({$tag:t,$index:n,$selected:i}),{selected:i}]},e.$watch("tags",function(t){if(t){if(g.items=s.makeObjectArray(t,p.displayProperty),p.useStrings)return;e.tags=g.items}else g.items=[]}),e.$watch("tags.length",function(){u(),o.$validate()}),a.$observe("disabled",function(t){e.disabled=t}),e.eventHandlers={input:{keydown:function(e){d.trigger("input-keydown",e)},focus:function(){e.hasFocus||(e.hasFocus=!0,d.trigger("input-focus"))},blur:function(){n(function(){var n=i.prop("activeElement"),r=n===f[0],a=t[0].contains(n);(r||!a)&&(e.hasFocus=!1,d.trigger("input-blur"))})},paste:function(e){e.getTextData=function(){var t=e.clipboardData||e.originalEvent&&e.originalEvent.clipboardData;return t?t.getData("text/plain"):r.clipboardData.getData("Text")},d.trigger("input-paste",e)}},host:{click:function(){e.disabled||c()}},tag:{click:function(e){d.trigger("tag-clicked",{$tag:e})}}},d.on("tag-added",e.onTagAdded).on("invalid-tag",e.onInvalidTag).on("tag-removed",e.onTagRemoved).on("tag-clicked",e.onTagClicked).on("tag-added",function(){e.newTag.text("")}).on("tag-added tag-removed",function(){e.tags=g.getItems(),o.$setDirty(),c()}).on("invalid-tag",function(){e.newTag.invalid=!0}).on("option-change",function(e){-1!==m.indexOf(e.name)&&u()}).on("input-change",function(){g.clearSelection(),e.newTag.invalid=null}).on("input-focus",function(){t.triggerHandler("focus"),o.$setValidity("leftoverText",!0)}).on("input-blur",function(){p.addOnBlur&&!p.addFromAutocompleteOnly&&g.addText(e.newTag.text()),t.triggerHandler("blur"),u()}).on("input-keydown",function(t){var n,i,r,a,o=t.keyCode,u={};s.isModifierOn(t)||-1===l.indexOf(o)||(u[13]=p.addOnEnter,u[188]=p.addOnComma,u[32]=p.addOnSpace,n=!p.addFromAutocompleteOnly&&u[o],i=(8===o||46===o)&&g.selected,a=8===o&&0===e.newTag.text().length&&p.enableEditingLastTag,r=(8===o||37===o||39===o)&&0===e.newTag.text().length&&!p.enableEditingLastTag,n?g.addText(e.newTag.text()):a?(g.selectPrior(),g.removeSelected().then(function(t){t&&e.newTag.text(t[p.displayProperty])})):i?g.removeSelected():r&&(37===o||8===o?g.selectPrior():39===o&&g.selectNext()),(n||r||i||a)&&t.preventDefault())}).on("input-paste",function(e){if(p.addOnPaste){var t=e.getTextData().split(p.pasteSplitPattern);t.length>1&&(t.forEach(function(e){g.addText(e)}),e.preventDefault())}})}}}]),n.directive("tiTagItem",["tiUtil",function(e){return{restrict:"E",require:"^tagsInput",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(t,n,i,r){var a=r.registerTagItem(),o=a.getOptions();t.$$template=o.template,t.$$removeTagSymbol=o.removeTagSymbol,t.$getDisplayText=function(){return e.safeToString(t.data[o.displayProperty])},t.$removeTag=function(){a.removeTag(t.$index)},t.$watch("$parent.$index",function(e){t.$index=e})}}}]),n.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function(e,t,n,i,r,a){function o(e,t,n){var r,o,s,u={};return s=function(){return t.tagsInput.keyProperty||t.tagsInput.displayProperty},r=function(e,n){return e.filter(function(e){return!a.findInObjectArray(n,e,s(),function(e,n){return t.tagsInput.replaceSpacesWithDashes&&(e=a.replaceSpacesWithDashes(e),n=a.replaceSpacesWithDashes(n)),a.defaultComparer(e,n)})})},u.reset=function(){o=null,u.items=[],u.visible=!1,u.index=-1,u.selected=null,u.query=null},u.show=function(){t.selectFirstMatch?u.select(0):u.selected=null,u.visible=!0},u.load=a.debounce(function(n,c){u.query=n;var l=i.when(e({$query:n}));o=l,l.then(function(e){l===o&&(e=a.makeObjectArray(e.data||e,s()),e=r(e,c),u.items=e.slice(0,t.maxResultsToShow),u.items.length>0?u.show():u.reset())})},t.debounceDelay),u.selectNext=function(){u.select(++u.index)},u.selectPrior=function(){u.select(--u.index)},u.select=function(e){0>e?e=u.items.length-1:e>=u.items.length&&(e=0),u.index=e,u.selected=u.items[e],n.trigger("suggestion-selected",e)},u.reset(),u}return{restrict:"E",require:"^tagsInput",scope:{source:"&",matchClass:"&"},templateUrl:"ngTagsInput/auto-complete.html",controller:["$scope","$element","$attrs",function(e,t,n){e.events=a.simplePubSub(),r.load("autoComplete",e,n,{template:[String,"ngTagsInput/auto-complete-match.html"],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,""]}),e.suggestionList=new o(e.source,e.options,e.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return e.options},getQuery:function(){return e.suggestionList.query}}}}],link:function(e,t,n,i){var r,o=[13,9,27,38,40],s=e.suggestionList,u=i.registerAutocomplete(),c=e.options,l=e.events;c.tagsInput=u.getOptions(),r=function(e){return e&&e.length>=c.minLength||!e&&c.loadOnEmpty},e.templateScope=u.getTemplateScope(),e.addSuggestionByIndex=function(t){s.select(t),e.addSuggestion()},e.addSuggestion=function(){var e=!1;return s.selected&&(u.addTag(angular.copy(s.selected)),s.reset(),e=!0),e},e.track=function(e){return e[c.tagsInput.keyProperty||c.tagsInput.displayProperty]},e.getSuggestionClass=function(t,n){var i=t===s.selected;return[e.matchClass({$match:t,$index:n,$selected:i}),{selected:i}]},u.on("tag-added tag-removed invalid-tag input-blur",function(){s.reset()}).on("input-change",function(e){r(e)?s.load(e,u.getTags()):s.reset()}).on("input-focus",function(){var e=u.getCurrentTagText();c.loadOnFocus&&r(e)&&s.load(e,u.getTags())}).on("input-keydown",function(t){var n=t.keyCode,i=!1;if(!a.isModifierOn(t)&&-1!==o.indexOf(n))return s.visible?40===n?(s.selectNext(),i=!0):38===n?(s.selectPrior(),i=!0):27===n?(s.reset(),i=!0):(13===n||9===n)&&(i=e.addSuggestion()):40===n&&e.options.loadOnDownArrow&&(s.load(u.getCurrentTagText(),u.getTags()),i=!0),i?(t.preventDefault(),t.stopImmediatePropagation(),!1):void 0}),l.on("suggestion-selected",function(e){!function(e,t){var n=e.find("li").eq(t),i=n.parent(),r=n.prop("offsetTop"),a=n.prop("offsetHeight"),o=i.prop("clientHeight"),s=i.prop("scrollTop");s>r?i.prop("scrollTop",r):r+a>o+s&&i.prop("scrollTop",r+a-o)}(t,e)})}}}]),n.directive("tiAutocompleteMatch",["$sce","tiUtil",function(e,t){return{restrict:"E",require:"^autoComplete",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(n,i,r,a){var o=a.registerAutocompleteMatch(),s=o.getOptions();n.$$template=s.template,n.$index=n.$parent.$index,n.$highlight=function(n){return s.highlightMatchedText&&(n=t.safeHighlight(n,o.getQuery())),e.trustAsHtml(n)},n.$getDisplayText=function(){return t.safeToString(n.data[s.displayProperty||s.tagsInput.displayProperty])}}}}]),n.directive("tiTranscludeAppend",function(){return function(e,t,n,i,r){r(function(e){t.append(e)})}}),n.directive("tiAutosize",["tagsInputConfig",function(e){return{restrict:"A",require:"ngModel",link:function(t,n,i,r){var a,o,s=e.getTextAutosizeThreshold();(a=angular.element('<span class="input"></span>')).css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),n.parent().append(a),o=function(e){var t,r=e;return angular.isString(r)&&0===r.length&&(r=i.placeholder),r&&(a.text(r),a.css("display",""),t=a.prop("offsetWidth"),a.css("display","none")),n.css("width",t?t+s+"px":""),e},r.$parsers.unshift(o),r.$formatters.unshift(o),i.$observe("placeholder",function(e){r.$modelValue||o(e)})}}}]),n.directive("tiBindAttrs",function(){return function(e,t,n){e.$watch(n.tiBindAttrs,function(e){angular.forEach(e,function(e,t){n.$set(t,e)})},!0)}}),n.provider("tagsInputConfig",function(){var e={},t={},n=3;this.setDefaults=function(t,n){return e[t]=n,this},this.setActiveInterpolation=function(e,n){return t[e]=n,this},this.setTextAutosizeThreshold=function(e){return n=e,this},this.$get=["$interpolate",function(i){var r={};return r[String]=function(e){return e},r[Number]=function(e){return parseInt(e,10)},r[Boolean]=function(e){return"true"===e.toLowerCase()},r[RegExp]=function(e){return new RegExp(e)},{load:function(n,a,o,s){var u=function(){return!0};a.options={},angular.forEach(s,function(s,c){var l,g,d,p,f,m;l=s[0],g=s[1],d=s[2]||u,p=r[l],f=function(){var t=e[n]&&e[n][c];return angular.isDefined(t)?t:g},m=function(e){a.options[c]=e&&d(e)?p(e):f()},t[n]&&t[n][c]?o.$observe(c,function(e){m(e),a.events.trigger("option-change",{name:c,newValue:e})}):m(o[c]&&i(o[c])(a.$parent))})},getTextAutosizeThreshold:function(){return n}}}]}),n.factory("tiUtil",["$timeout","$q",function(e,t){var n={debounce:function(t,n){var i;return function(){var r=arguments;e.cancel(i),i=e(function(){t.apply(null,r)},n)}},makeObjectArray:function(e,t){if(!angular.isArray(e)||0===e.length||angular.isObject(e[0]))return e;var n=[];return e.forEach(function(e){var i={};i[t]=e,n.push(i)}),n},findInObjectArray:function(e,t,i,r){var a=null;return r=r||n.defaultComparer,e.some(function(e){return r(e[i],t[i])?(a=e,!0):void 0}),a},defaultComparer:function(e,t){return n.safeToString(e).toLowerCase()===n.safeToString(t).toLowerCase()},safeHighlight:function(e,t){if(e=n.encodeHTML(e),!(t=n.encodeHTML(t)))return e;var i=new RegExp("&[^;]+;|"+function(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(t),"gi");return e.replace(i,function(e){return e.toLowerCase()===t.toLowerCase()?"<em>"+e+"</em>":e})},safeToString:function(e){return angular.isUndefined(e)||null==e?"":e.toString().trim()},encodeHTML:function(e){return n.safeToString(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},handleUndefinedResult:function(e,t){return function(){var n=e.apply(null,arguments);return angular.isUndefined(n)?t:n}},replaceSpacesWithDashes:function(e){return n.safeToString(e).replace(/\s/g,"-")},isModifierOn:function(e){return e.shiftKey||e.ctrlKey||e.altKey||e.metaKey},promisifyValue:function(e){return e=!!angular.isUndefined(e)||e,t[e?"when":"reject"]()},simplePubSub:function(){var e={};return{on:function(t,n,i){return t.split(" ").forEach(function(t){e[t]||(e[t]=[]),(i?[].unshift:[].push).call(e[t],n)}),this},trigger:function(t,i){return(e[t]||[]).every(function(e){return n.handleUndefinedResult(e,!0)(i)}),this}}}};return n}]),n.run(["$templateCache",function(e){e.put("ngTagsInput/tags-input.html",'<div class="host" tabindex="-1" ng-click="eventHandlers.host.click()" ti-transclude-append><div class="tags" ng-class="{focused: hasFocus}"><ul class="tag-list"><li class="tag-item" ng-repeat="tag in tagList.items track by track(tag)" ng-class="getTagClass(tag, $index)" ng-click="eventHandlers.tag.click(tag)"><ti-tag-item scope="templateScope" data="::tag"></ti-tag-item></li></ul><input class="input" autocomplete="off" ng-model="newTag.text" ng-model-options="{getterSetter: true}" ng-keydown="eventHandlers.input.keydown($event)" ng-focus="eventHandlers.input.focus($event)" ng-blur="eventHandlers.input.blur($event)" ng-paste="eventHandlers.input.paste($event)" ng-trim="false" ng-class="{\'invalid-tag\': newTag.invalid}" ng-disabled="disabled" ti-bind-attrs="{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}" ti-autosize></div></div>'),e.put("ngTagsInput/tag-item.html",'<span ng-bind="$getDisplayText()"></span> <a class="remove-button" ng-click="$removeTag()" ng-bind="::$$removeTagSymbol"></a>'),e.put("ngTagsInput/auto-complete.html",'<div class="autocomplete" ng-if="suggestionList.visible"><ul class="suggestion-list"><li class="suggestion-item" ng-repeat="item in suggestionList.items track by track(item)" ng-class="getSuggestionClass(item, $index)" ng-click="addSuggestionByIndex($index)" ng-mouseenter="suggestionList.select($index)"><ti-autocomplete-match scope="templateScope" data="::item"></ti-autocomplete-match></li></ul></div>'),e.put("ngTagsInput/auto-complete-match.html",'<span ng-bind-html="$highlight($getDisplayText())"></span>')}])}};
2
+ //# sourceMappingURL=21015.6db2b66597f78d4b83cc.bundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"21015.6db2b66597f78d4b83cc.bundle.js","mappings":"+KAqCA,SAASA,EAAuBC,EAAQC,EAAQC,EAASC,EAAUC,EAAUC,EAAYC,EAAa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EAAE4M,IAAI,4BAA4B,iIAAiI5M,EAAE4M,IAAI,iCAAiC,wZAAwZ5M,EAAE4M,IAAI,uCAAuC,6DAA6D,G","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/security/controllers/user-settings.controller.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/security/app.js","webpack://root-config/./packages/legacy-workbench/node_modules/ng-tags-input/build/ng-tags-input.min.js"],"sourcesContent":["import 'angular/core/services/security.service';\nimport {GRAPHQL, READ_REPO, WRITE_REPO} from '../services/constants';\nimport {UserType} from 'angular/utils/user-utils';\nimport {\n navigate,\n ThemeService,\n ApplicationSettingsStorageService,\n NavigationContextService,\n SecurityService,\n AuthenticationService,\n SecurityContextService,\n LicenseService,\n service,\n User,\n} from '@ontotext/workbench-api';\n\nangular\n .module('graphdb.framework.security.controllers.user-settings', [\n 'graphdb.framework.core.services.security-service',\n ])\n .controller('UserSettingsController', UserSettingsController);\n\nUserSettingsController.$inject = [\n '$scope',\n 'toastr',\n '$window',\n '$timeout',\n '$jwtAuth',\n '$rootScope',\n '$controller',\n 'ModalService',\n '$translate',\n '$q',\n '$uibModal',\n 'TrackingService',\n];\n\nfunction UserSettingsController($scope, toastr, $window, $timeout, $jwtAuth, $rootScope, $controller, ModalService, $translate, $q, $uibModal, TrackingService) {\n angular.extend(this, $controller('CommonUserCtrl', {$scope: $scope, passwordPlaceholder: 'security.new.password'}));\n\n // =========================\n // Private variables\n // =========================\n const securityService = service(SecurityService);\n const authenticationService = service(AuthenticationService);\n const securityContextService = service(SecurityContextService);\n const licenseService = service(LicenseService);\n\n const applicationSettingsStorageService = service(ApplicationSettingsStorageService);\n const navigationContextService = service(NavigationContextService);\n const themeService = service(ThemeService);\n\n /**\n * A timer task that will redirect back to the previous page after the user has been updated.\n * @type {Promise}\n */\n let waitBeforeRedirectBack;\n\n // =========================\n // Public variables\n // =========================\n\n $scope.mode = 'settings';\n $scope.showWorkbenchSettings = true;\n /**\n * @type {ApplicationSettings}\n */\n $scope.workbenchSettings = applicationSettingsStorageService.getApplicationSettings();\n $scope.selectedThemeMode = $scope.workbenchSettings.themeMode;\n $scope.saveButtonText = $translate.instant('common.save.btn');\n $scope.pageTitle = $translate.instant('view.settings.title');\n $scope.passwordPlaceholder = $translate.instant('security.new.password');\n $scope.grantedAuthorities = {\n [READ_REPO]: {},\n [WRITE_REPO]: {},\n [GRAPHQL]: {},\n };\n $scope.loader = false;\n /**\n * Allows to reset the password when updating the user.\n * @type {boolean}\n */\n $scope.noPassword = false;\n /**\n * If the button that opens the cookie policy modal should be visible or not.\n * @type {boolean}\n */\n $scope.showCookiePolicyLink = false;\n /**\n * Flag that controls the visibility of the cookie policy modal.\n * @type {boolean}\n */\n $scope.showCookieConsentModal = false;\n\n // =========================\n // Public functions\n // =========================\n\n $scope.hasEditRestrictions = function() {\n return true;\n };\n\n $scope.isUser = function() {\n return $scope.userType === UserType.USER;\n };\n\n $scope.goBack = function() {\n const previousRoute = navigationContextService.getPreviousRoute();\n navigate(previousRoute ?? './');\n };\n\n $scope.updateCurrentUserData = function() {\n authenticationService.getCurrentUser()\n .then((authenticatedUser) => securityContextService.updateAuthenticatedUser(authenticatedUser));\n };\n\n $scope.redirectAdmin = function() {\n if (!$scope.currentUserData) {\n $rootScope.redirectToLogin();\n }\n };\n\n $scope.submit = function() {\n if ($scope.noPassword && $scope.userType === UserType.ADMIN) {\n ModalService.openSimpleModal({\n title: $translate.instant('security.save.admin.settings'),\n message: $translate.instant('security.admin.pass.unset'),\n warning: true,\n }).result.then(function() {\n $scope.updateUser();\n });\n } else {\n $scope.updateUser();\n }\n };\n\n $scope.updateUserHttp = function() {\n $scope.loader = true;\n const user = new User({\n username: $scope.user.username,\n password: $scope.noPassword ? '' : $scope.user.password || undefined,\n appSettings: $scope.user.appSettings,\n });\n securityService.updateAuthenticatedUser(user)\n .then(() => {\n toastr.success($translate.instant('security.user.updated', {name: $scope.user.username}));\n $scope.updateCurrentUserData();\n themeService.setThemeMode($scope.selectedThemeMode);\n applicationSettingsStorageService.setApplicationSettings($scope.workbenchSettings);\n goBackToPreviousView();\n }).catch((data) => {\n const msg = getError(data);\n toastr.error(msg, $translate.instant('common.error'));\n })\n .finally(() => {\n $scope.loader = false;\n });\n };\n\n $scope.updateUser = function() {\n if (!$scope.validateForm()) {\n return false;\n }\n $scope.updateUserHttp();\n };\n\n $scope.validateForm = function() {\n return $scope.validatePassword();\n };\n\n $scope.setThemeMode = function() {\n $scope.selectedThemeMode = $scope.workbenchSettings.themeMode;\n };\n\n /**\n * Handler for the cookie policy modal close event, sets the flag to hide the modal.\n */\n $scope.onDialogClose = () => {\n $scope.showCookieConsentModal = false;\n };\n\n /**\n * Handler for the cookie policy link click event, sets the flag to show the modal.\n * @param $event\n */\n $scope.showCookiePolicy = ($event) => {\n // The button that triggers this handler is inside a form which has a submit property,\n // and we need to prevent that because it leads to a redirect to the home page.\n $event.preventDefault();\n $scope.showCookieConsentModal = true;\n };\n\n // =========================\n // Private functions\n // =========================\n\n const showCookiePolicyLink = () => {\n licenseService.updateLicenseStatus().then(() => {\n $scope.showCookiePolicyLink = TrackingService.isTrackingAllowed();\n });\n };\n\n const goBackToPreviousView = () => {\n waitBeforeRedirectBack = $timeout(function() {\n $scope.loader = false;\n const previousRoute = navigationContextService.getPreviousRoute();\n navigate(previousRoute ?? './');\n }, 2000);\n };\n\n const initUserData = function() {\n // Copy needed so that Cancel would work correctly, need to call updateCurrentUserData on OK\n $scope.user = {username: $scope.currentUserData.username};\n $scope.user.password = '';\n $scope.user.confirmpassword = '';\n $scope.user.external = $scope.currentUserData.external;\n $scope.user.appSettings = $scope.currentUserData.appSettings;\n // For backward compatibility\n if ($scope.user.appSettings['DEFAULT_VIS_GRAPH_SCHEMA'] === undefined) {\n $scope.user.appSettings['DEFAULT_VIS_GRAPH_SCHEMA'] = true;\n }\n $scope.userType = $scope.currentUserData.getUserType();\n $scope.grantedAuthorities = $scope.currentUserData.authorities.toUIModel();\n $scope.customRoles = $scope.currentUserData.authorities.getCustomRoles();\n };\n\n const processUser = () => {\n const principal = securityContextService.getAuthenticatedUser();\n $scope.currentUserData = principal.toUser();\n $scope.redirectAdmin();\n initUserData();\n };\n\n // =========================\n // Subscriptions\n // =========================\n\n $scope.$on('$destroy', function() {\n $timeout.cancel(waitBeforeRedirectBack);\n });\n\n // =========================\n // Initialization\n // =========================\n\n const initView = () => {\n processUser();\n $scope.setThemeMode();\n showCookiePolicyLink();\n };\n\n initView();\n}\n","import 'angular/core/services';\nimport 'angular/core/directives';\nimport 'angular/security/controllers';\nimport 'angular/security/controllers/user-settings.controller';\nimport 'angular/core/services/jwt-auth.service';\nimport 'ng-tags-input/build/ng-tags-input.min';\n\nconst modules = [\n 'toastr',\n 'ui.bootstrap',\n 'ngRoute',\n 'graphdb.framework.security.controllers',\n 'graphdb.framework.security.controllers.user-settings',\n 'graphdb.framework.core.interceptors.unauthorized',\n 'graphdb.framework.core.interceptors.authentication',\n 'graphdb.framework.core.services.jwtauth',\n 'graphdb.framework.security.directives'\n];\n\nangular.module('graphdb.framework.security', modules);\n","/*! ngTagsInput v3.2.0 License: MIT */!function(){\"use strict\";var a={backspace:8,tab:9,enter:13,escape:27,space:32,up:38,down:40,left:37,right:39,\"delete\":46,comma:188},b=9007199254740991,c=[\"text\",\"email\",\"url\"],d=angular.module(\"ngTagsInput\",[]);d.directive(\"tagsInput\",[\"$timeout\",\"$document\",\"$window\",\"$q\",\"tagsInputConfig\",\"tiUtil\",function(d,e,f,g,h,i){function j(a,b,c,d){var e,f,h,j,k={};return e=function(b){return i.safeToString(b[a.displayProperty])},f=function(b,c){b[a.displayProperty]=c},h=function(b){var d=e(b),f=d&&d.length>=a.minLength&&d.length<=a.maxLength&&a.allowedTagsPattern.test(d)&&!i.findInObjectArray(k.items,b,a.keyProperty||a.displayProperty);return g.when(f&&c({$tag:b})).then(i.promisifyValue)},j=function(a){return g.when(d({$tag:a})).then(i.promisifyValue)},k.items=[],k.addText=function(a){var b={};return f(b,a),k.add(b)},k.add=function(c){var d=e(c);return a.replaceSpacesWithDashes&&(d=i.replaceSpacesWithDashes(d)),f(c,d),h(c).then(function(){k.items.push(c),b.trigger(\"tag-added\",{$tag:c})})[\"catch\"](function(){d&&b.trigger(\"invalid-tag\",{$tag:c})})},k.remove=function(a){var c=k.items[a];return j(c).then(function(){return k.items.splice(a,1),k.clearSelection(),b.trigger(\"tag-removed\",{$tag:c}),c})},k.select=function(a){0>a?a=k.items.length-1:a>=k.items.length&&(a=0),k.index=a,k.selected=k.items[a]},k.selectPrior=function(){k.select(--k.index)},k.selectNext=function(){k.select(++k.index)},k.removeSelected=function(){return k.remove(k.index)},k.clearSelection=function(){k.selected=null,k.index=-1},k.getItems=function(){return a.useStrings?k.items.map(e):k.items},k.clearSelection(),k}function k(a){return-1!==c.indexOf(a)}return{restrict:\"E\",require:\"ngModel\",scope:{tags:\"=ngModel\",text:\"=?\",templateScope:\"=?\",tagClass:\"&\",onTagAdding:\"&\",onTagAdded:\"&\",onInvalidTag:\"&\",onTagRemoving:\"&\",onTagRemoved:\"&\",onTagClicked:\"&\"},replace:!1,transclude:!0,templateUrl:\"ngTagsInput/tags-input.html\",controller:[\"$scope\",\"$attrs\",\"$element\",function(a,c,d){a.events=i.simplePubSub(),h.load(\"tagsInput\",a,c,{template:[String,\"ngTagsInput/tag-item.html\"],type:[String,\"text\",k],placeholder:[String,\"Add a tag\"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,b],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,b],displayProperty:[String,\"text\"],keyProperty:[String,\"\"],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0],useStrings:[Boolean,!1]}),a.tagList=new j(a.options,a.events,i.handleUndefinedResult(a.onTagAdding,!0),i.handleUndefinedResult(a.onTagRemoving,!0)),this.registerAutocomplete=function(){d.find(\"input\");return{addTag:function(b){return a.tagList.add(b)},getTags:function(){return a.tagList.items},getCurrentTagText:function(){return a.newTag.text()},getOptions:function(){return a.options},getTemplateScope:function(){return a.templateScope},on:function(b,c){return a.events.on(b,c,!0),this}}},this.registerTagItem=function(){return{getOptions:function(){return a.options},removeTag:function(b){a.disabled||a.tagList.remove(b)}}}}],link:function(b,c,g,h){var j,k,l=[a.enter,a.comma,a.space,a.backspace,a[\"delete\"],a.left,a.right],m=b.tagList,n=b.events,o=b.options,p=c.find(\"input\"),q=[\"minTags\",\"maxTags\",\"allowLeftoverText\"];j=function(){h.$setValidity(\"maxTags\",m.items.length<=o.maxTags),h.$setValidity(\"minTags\",m.items.length>=o.minTags),h.$setValidity(\"leftoverText\",b.hasFocus||o.allowLeftoverText?!0:!b.newTag.text())},k=function(){d(function(){p[0].focus()})},h.$isEmpty=function(a){return!a||!a.length},b.newTag={text:function(a){return angular.isDefined(a)?(b.text=a,void n.trigger(\"input-change\",a)):b.text||\"\"},invalid:null},b.track=function(a){return a[o.keyProperty||o.displayProperty]},b.getTagClass=function(a,c){var d=a===m.selected;return[b.tagClass({$tag:a,$index:c,$selected:d}),{selected:d}]},b.$watch(\"tags\",function(a){if(a){if(m.items=i.makeObjectArray(a,o.displayProperty),o.useStrings)return;b.tags=m.items}else m.items=[]}),b.$watch(\"tags.length\",function(){j(),h.$validate()}),g.$observe(\"disabled\",function(a){b.disabled=a}),b.eventHandlers={input:{keydown:function(a){n.trigger(\"input-keydown\",a)},focus:function(){b.hasFocus||(b.hasFocus=!0,n.trigger(\"input-focus\"))},blur:function(){d(function(){var a=e.prop(\"activeElement\"),d=a===p[0],f=c[0].contains(a);(d||!f)&&(b.hasFocus=!1,n.trigger(\"input-blur\"))})},paste:function(a){a.getTextData=function(){var b=a.clipboardData||a.originalEvent&&a.originalEvent.clipboardData;return b?b.getData(\"text/plain\"):f.clipboardData.getData(\"Text\")},n.trigger(\"input-paste\",a)}},host:{click:function(){b.disabled||k()}},tag:{click:function(a){n.trigger(\"tag-clicked\",{$tag:a})}}},n.on(\"tag-added\",b.onTagAdded).on(\"invalid-tag\",b.onInvalidTag).on(\"tag-removed\",b.onTagRemoved).on(\"tag-clicked\",b.onTagClicked).on(\"tag-added\",function(){b.newTag.text(\"\")}).on(\"tag-added tag-removed\",function(){b.tags=m.getItems(),h.$setDirty(),k()}).on(\"invalid-tag\",function(){b.newTag.invalid=!0}).on(\"option-change\",function(a){-1!==q.indexOf(a.name)&&j()}).on(\"input-change\",function(){m.clearSelection(),b.newTag.invalid=null}).on(\"input-focus\",function(){c.triggerHandler(\"focus\"),h.$setValidity(\"leftoverText\",!0)}).on(\"input-blur\",function(){o.addOnBlur&&!o.addFromAutocompleteOnly&&m.addText(b.newTag.text()),c.triggerHandler(\"blur\"),j()}).on(\"input-keydown\",function(c){var d,e,f,g,h=c.keyCode,j={};i.isModifierOn(c)||-1===l.indexOf(h)||(j[a.enter]=o.addOnEnter,j[a.comma]=o.addOnComma,j[a.space]=o.addOnSpace,d=!o.addFromAutocompleteOnly&&j[h],e=(h===a.backspace||h===a[\"delete\"])&&m.selected,g=h===a.backspace&&0===b.newTag.text().length&&o.enableEditingLastTag,f=(h===a.backspace||h===a.left||h===a.right)&&0===b.newTag.text().length&&!o.enableEditingLastTag,d?m.addText(b.newTag.text()):g?(m.selectPrior(),m.removeSelected().then(function(a){a&&b.newTag.text(a[o.displayProperty])})):e?m.removeSelected():f&&(h===a.left||h===a.backspace?m.selectPrior():h===a.right&&m.selectNext()),(d||f||e||g)&&c.preventDefault())}).on(\"input-paste\",function(a){if(o.addOnPaste){var b=a.getTextData(),c=b.split(o.pasteSplitPattern);c.length>1&&(c.forEach(function(a){m.addText(a)}),a.preventDefault())}})}}}]),d.directive(\"tiTagItem\",[\"tiUtil\",function(a){return{restrict:\"E\",require:\"^tagsInput\",template:'<ng-include src=\"$$template\"></ng-include>',scope:{$scope:\"=scope\",data:\"=\"},link:function(b,c,d,e){var f=e.registerTagItem(),g=f.getOptions();b.$$template=g.template,b.$$removeTagSymbol=g.removeTagSymbol,b.$getDisplayText=function(){return a.safeToString(b.data[g.displayProperty])},b.$removeTag=function(){f.removeTag(b.$index)},b.$watch(\"$parent.$index\",function(a){b.$index=a})}}}]),d.directive(\"autoComplete\",[\"$document\",\"$timeout\",\"$sce\",\"$q\",\"tagsInputConfig\",\"tiUtil\",function(b,c,d,e,f,g){function h(a,b,c){var d,f,h,i={};return h=function(){return b.tagsInput.keyProperty||b.tagsInput.displayProperty},d=function(a,c){return a.filter(function(a){return!g.findInObjectArray(c,a,h(),function(a,c){return b.tagsInput.replaceSpacesWithDashes&&(a=g.replaceSpacesWithDashes(a),c=g.replaceSpacesWithDashes(c)),g.defaultComparer(a,c)})})},i.reset=function(){f=null,i.items=[],i.visible=!1,i.index=-1,i.selected=null,i.query=null},i.show=function(){b.selectFirstMatch?i.select(0):i.selected=null,i.visible=!0},i.load=g.debounce(function(c,j){i.query=c;var k=e.when(a({$query:c}));f=k,k.then(function(a){k===f&&(a=g.makeObjectArray(a.data||a,h()),a=d(a,j),i.items=a.slice(0,b.maxResultsToShow),i.items.length>0?i.show():i.reset())})},b.debounceDelay),i.selectNext=function(){i.select(++i.index)},i.selectPrior=function(){i.select(--i.index)},i.select=function(a){0>a?a=i.items.length-1:a>=i.items.length&&(a=0),i.index=a,i.selected=i.items[a],c.trigger(\"suggestion-selected\",a)},i.reset(),i}function i(a,b){var c=a.find(\"li\").eq(b),d=c.parent(),e=c.prop(\"offsetTop\"),f=c.prop(\"offsetHeight\"),g=d.prop(\"clientHeight\"),h=d.prop(\"scrollTop\");h>e?d.prop(\"scrollTop\",e):e+f>g+h&&d.prop(\"scrollTop\",e+f-g)}return{restrict:\"E\",require:\"^tagsInput\",scope:{source:\"&\",matchClass:\"&\"},templateUrl:\"ngTagsInput/auto-complete.html\",controller:[\"$scope\",\"$element\",\"$attrs\",function(a,b,c){a.events=g.simplePubSub(),f.load(\"autoComplete\",a,c,{template:[String,\"ngTagsInput/auto-complete-match.html\"],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,\"\"]}),a.suggestionList=new h(a.source,a.options,a.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return a.options},getQuery:function(){return a.suggestionList.query}}}}],link:function(b,c,d,e){var f,h=[a.enter,a.tab,a.escape,a.up,a.down],j=b.suggestionList,k=e.registerAutocomplete(),l=b.options,m=b.events;l.tagsInput=k.getOptions(),f=function(a){return a&&a.length>=l.minLength||!a&&l.loadOnEmpty},b.templateScope=k.getTemplateScope(),b.addSuggestionByIndex=function(a){j.select(a),b.addSuggestion()},b.addSuggestion=function(){var a=!1;return j.selected&&(k.addTag(angular.copy(j.selected)),j.reset(),a=!0),a},b.track=function(a){return a[l.tagsInput.keyProperty||l.tagsInput.displayProperty]},b.getSuggestionClass=function(a,c){var d=a===j.selected;return[b.matchClass({$match:a,$index:c,$selected:d}),{selected:d}]},k.on(\"tag-added tag-removed invalid-tag input-blur\",function(){j.reset()}).on(\"input-change\",function(a){f(a)?j.load(a,k.getTags()):j.reset()}).on(\"input-focus\",function(){var a=k.getCurrentTagText();l.loadOnFocus&&f(a)&&j.load(a,k.getTags())}).on(\"input-keydown\",function(c){var d=c.keyCode,e=!1;if(!g.isModifierOn(c)&&-1!==h.indexOf(d))return j.visible?d===a.down?(j.selectNext(),e=!0):d===a.up?(j.selectPrior(),e=!0):d===a.escape?(j.reset(),e=!0):(d===a.enter||d===a.tab)&&(e=b.addSuggestion()):d===a.down&&b.options.loadOnDownArrow&&(j.load(k.getCurrentTagText(),k.getTags()),e=!0),e?(c.preventDefault(),c.stopImmediatePropagation(),!1):void 0}),m.on(\"suggestion-selected\",function(a){i(c,a)})}}}]),d.directive(\"tiAutocompleteMatch\",[\"$sce\",\"tiUtil\",function(a,b){return{restrict:\"E\",require:\"^autoComplete\",template:'<ng-include src=\"$$template\"></ng-include>',scope:{$scope:\"=scope\",data:\"=\"},link:function(c,d,e,f){var g=f.registerAutocompleteMatch(),h=g.getOptions();c.$$template=h.template,c.$index=c.$parent.$index,c.$highlight=function(c){return h.highlightMatchedText&&(c=b.safeHighlight(c,g.getQuery())),a.trustAsHtml(c)},c.$getDisplayText=function(){return b.safeToString(c.data[h.displayProperty||h.tagsInput.displayProperty])}}}}]),d.directive(\"tiTranscludeAppend\",function(){return function(a,b,c,d,e){e(function(a){b.append(a)})}}),d.directive(\"tiAutosize\",[\"tagsInputConfig\",function(a){return{restrict:\"A\",require:\"ngModel\",link:function(b,c,d,e){var f,g,h=a.getTextAutosizeThreshold();f=angular.element('<span class=\"input\"></span>'),f.css(\"display\",\"none\").css(\"visibility\",\"hidden\").css(\"width\",\"auto\").css(\"white-space\",\"pre\"),c.parent().append(f),g=function(a){var b,e=a;return angular.isString(e)&&0===e.length&&(e=d.placeholder),e&&(f.text(e),f.css(\"display\",\"\"),b=f.prop(\"offsetWidth\"),f.css(\"display\",\"none\")),c.css(\"width\",b?b+h+\"px\":\"\"),a},e.$parsers.unshift(g),e.$formatters.unshift(g),d.$observe(\"placeholder\",function(a){e.$modelValue||g(a)})}}}]),d.directive(\"tiBindAttrs\",function(){return function(a,b,c){a.$watch(c.tiBindAttrs,function(a){angular.forEach(a,function(a,b){c.$set(b,a)})},!0)}}),d.provider(\"tagsInputConfig\",function(){var a={},b={},c=3;this.setDefaults=function(b,c){return a[b]=c,this},this.setActiveInterpolation=function(a,c){return b[a]=c,this},this.setTextAutosizeThreshold=function(a){return c=a,this},this.$get=[\"$interpolate\",function(d){var e={};return e[String]=function(a){return a},e[Number]=function(a){return parseInt(a,10)},e[Boolean]=function(a){return\"true\"===a.toLowerCase()},e[RegExp]=function(a){return new RegExp(a)},{load:function(c,f,g,h){var i=function(){return!0};f.options={},angular.forEach(h,function(h,j){var k,l,m,n,o,p;k=h[0],l=h[1],m=h[2]||i,n=e[k],o=function(){var b=a[c]&&a[c][j];return angular.isDefined(b)?b:l},p=function(a){f.options[j]=a&&m(a)?n(a):o()},b[c]&&b[c][j]?g.$observe(j,function(a){p(a),f.events.trigger(\"option-change\",{name:j,newValue:a})}):p(g[j]&&d(g[j])(f.$parent))})},getTextAutosizeThreshold:function(){return c}}}]}),d.factory(\"tiUtil\",[\"$timeout\",\"$q\",function(a,b){var c={};return c.debounce=function(b,c){var d;return function(){var e=arguments;a.cancel(d),d=a(function(){b.apply(null,e)},c)}},c.makeObjectArray=function(a,b){if(!angular.isArray(a)||0===a.length||angular.isObject(a[0]))return a;var c=[];return a.forEach(function(a){var d={};d[b]=a,c.push(d)}),c},c.findInObjectArray=function(a,b,d,e){var f=null;return e=e||c.defaultComparer,a.some(function(a){return e(a[d],b[d])?(f=a,!0):void 0}),f},c.defaultComparer=function(a,b){return c.safeToString(a).toLowerCase()===c.safeToString(b).toLowerCase()},c.safeHighlight=function(a,b){function d(a){return a.replace(/([.?*+^$[\\]\\\\(){}|-])/g,\"\\\\$1\")}if(a=c.encodeHTML(a),b=c.encodeHTML(b),!b)return a;var e=new RegExp(\"&[^;]+;|\"+d(b),\"gi\");return a.replace(e,function(a){return a.toLowerCase()===b.toLowerCase()?\"<em>\"+a+\"</em>\":a})},c.safeToString=function(a){return angular.isUndefined(a)||null==a?\"\":a.toString().trim()},c.encodeHTML=function(a){return c.safeToString(a).replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\")},c.handleUndefinedResult=function(a,b){return function(){var c=a.apply(null,arguments);return angular.isUndefined(c)?b:c}},c.replaceSpacesWithDashes=function(a){return c.safeToString(a).replace(/\\s/g,\"-\")},c.isModifierOn=function(a){return a.shiftKey||a.ctrlKey||a.altKey||a.metaKey},c.promisifyValue=function(a){return a=angular.isUndefined(a)?!0:a,b[a?\"when\":\"reject\"]()},c.simplePubSub=function(){var a={};return{on:function(b,c,d){return b.split(\" \").forEach(function(b){a[b]||(a[b]=[]);var e=d?[].unshift:[].push;e.call(a[b],c)}),this},trigger:function(b,d){var e=a[b]||[];return e.every(function(a){return c.handleUndefinedResult(a,!0)(d)}),this}}},c}]),d.run([\"$templateCache\",function(a){a.put(\"ngTagsInput/tags-input.html\",'<div class=\"host\" tabindex=\"-1\" ng-click=\"eventHandlers.host.click()\" ti-transclude-append><div class=\"tags\" ng-class=\"{focused: hasFocus}\"><ul class=\"tag-list\"><li class=\"tag-item\" ng-repeat=\"tag in tagList.items track by track(tag)\" ng-class=\"getTagClass(tag, $index)\" ng-click=\"eventHandlers.tag.click(tag)\"><ti-tag-item scope=\"templateScope\" data=\"::tag\"></ti-tag-item></li></ul><input class=\"input\" autocomplete=\"off\" ng-model=\"newTag.text\" ng-model-options=\"{getterSetter: true}\" ng-keydown=\"eventHandlers.input.keydown($event)\" ng-focus=\"eventHandlers.input.focus($event)\" ng-blur=\"eventHandlers.input.blur($event)\" ng-paste=\"eventHandlers.input.paste($event)\" ng-trim=\"false\" ng-class=\"{\\'invalid-tag\\': newTag.invalid}\" ng-disabled=\"disabled\" ti-bind-attrs=\"{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}\" ti-autosize></div></div>'),a.put(\"ngTagsInput/tag-item.html\",'<span ng-bind=\"$getDisplayText()\"></span> <a class=\"remove-button\" ng-click=\"$removeTag()\" ng-bind=\"::$$removeTagSymbol\"></a>'),a.put(\"ngTagsInput/auto-complete.html\",'<div class=\"autocomplete\" ng-if=\"suggestionList.visible\"><ul class=\"suggestion-list\"><li class=\"suggestion-item\" ng-repeat=\"item in suggestionList.items track by track(item)\" ng-class=\"getSuggestionClass(item, $index)\" ng-click=\"addSuggestionByIndex($index)\" ng-mouseenter=\"suggestionList.select($index)\"><ti-autocomplete-match scope=\"templateScope\" data=\"::item\"></ti-autocomplete-match></li></ul></div>'),a.put(\"ngTagsInput/auto-complete-match.html\",'<span ng-bind-html=\"$highlight($getDisplayText())\"></span>')}])}();"],"names":["UserSettingsController","$scope","toastr","$window","$timeout","$jwtAuth","$rootScope","$controller","ModalService","$translate","$q","$uibModal","TrackingService","angular","extend","this","passwordPlaceholder","securityService","service","SecurityService","authenticationService","AuthenticationService","securityContextService","SecurityContextService","licenseService","LicenseService","applicationSettingsStorageService","ApplicationSettingsStorageService","navigationContextService","NavigationContextService","themeService","ThemeService","waitBeforeRedirectBack","mode","showWorkbenchSettings","workbenchSettings","getApplicationSettings","selectedThemeMode","themeMode","saveButtonText","instant","pageTitle","grantedAuthorities","READ_REPO","WRITE_REPO","GRAPHQL","loader","noPassword","showCookiePolicyLink","showCookieConsentModal","hasEditRestrictions","isUser","userType","UserType","USER","goBack","previousRoute","getPreviousRoute","navigate","updateCurrentUserData","getCurrentUser","then","authenticatedUser","updateAuthenticatedUser","redirectAdmin","currentUserData","redirectToLogin","submit","ADMIN","openSimpleModal","title","message","warning","result","updateUser","updateUserHttp","user","User","username","password","undefined","appSettings","success","name","setThemeMode","setApplicationSettings","goBackToPreviousView","catch","data","msg","getError","error","finally","validateForm","validatePassword","onDialogClose","showCookiePolicy","$event","preventDefault","$on","cancel","processUser","principal","getAuthenticatedUser","toUser","confirmpassword","external","getUserType","authorities","toUIModel","customRoles","getCustomRoles","updateLicenseStatus","isTrackingAllowed","module","controller","$inject","b","c","d","directive","e","f","g","h","i","j","a","k","safeToString","displayProperty","length","minLength","maxLength","allowedTagsPattern","test","findInObjectArray","items","keyProperty","when","$tag","promisifyValue","addText","add","replaceSpacesWithDashes","push","trigger","remove","splice","clearSelection","select","index","selected","selectPrior","selectNext","removeSelected","getItems","useStrings","map","indexOf","restrict","require","scope","tags","text","templateScope","tagClass","onTagAdding","onTagAdded","onInvalidTag","onTagRemoving","onTagRemoved","onTagClicked","replace","transclude","templateUrl","events","simplePubSub","load","template","String","type","placeholder","tabindex","Number","removeTagSymbol","fromCharCode","Boolean","addOnEnter","addOnSpace","addOnComma","addOnBlur","addOnPaste","pasteSplitPattern","RegExp","enableEditingLastTag","minTags","maxTags","allowLeftoverText","addFromAutocompleteOnly","spellcheck","tagList","options","handleUndefinedResult","registerAutocomplete","find","addTag","getTags","getCurrentTagText","newTag","getOptions","getTemplateScope","on","registerTagItem","removeTag","disabled","link","l","m","n","o","p","q","$setValidity","hasFocus","focus","$isEmpty","isDefined","invalid","track","getTagClass","$index","$selected","$watch","makeObjectArray","$validate","$observe","eventHandlers","input","keydown","blur","prop","contains","paste","getTextData","clipboardData","originalEvent","getData","host","click","tag","$setDirty","triggerHandler","keyCode","isModifierOn","split","forEach","$$template","$$removeTagSymbol","$getDisplayText","$removeTag","tagsInput","filter","defaultComparer","reset","visible","query","show","selectFirstMatch","debounce","$query","slice","maxResultsToShow","debounceDelay","source","matchClass","highlightMatchedText","loadOnDownArrow","loadOnEmpty","loadOnFocus","suggestionList","registerAutocompleteMatch","getQuery","addSuggestionByIndex","addSuggestion","copy","getSuggestionClass","$match","stopImmediatePropagation","eq","parent","$parent","$highlight","safeHighlight","trustAsHtml","append","getTextAutosizeThreshold","element","css","isString","$parsers","unshift","$formatters","$modelValue","tiBindAttrs","$set","provider","setDefaults","setActiveInterpolation","setTextAutosizeThreshold","$get","parseInt","toLowerCase","newValue","factory","arguments","apply","isArray","isObject","some","encodeHTML","isUndefined","toString","trim","shiftKey","ctrlKey","altKey","metaKey","call","every","run","put"],"ignoreList":[],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ export const __webpack_esm_id__=2975;export const __webpack_esm_ids__=[2975];export const __webpack_esm_modules__={2975(e,t,o){o(82493);var n=o(57154);function r(e){const t=(0,n.service)(n.RuntimeConfigurationContextService),o=(document.querySelector("base")?.getAttribute("href")||"/").replace(/\/$/,"");e.webapiFrameSrc=`${o}/res/swagger5/index.html?basePath=${encodeURIComponent(o)}`;const r=[],c=document.getElementById("webapi_frame");if(!c)return;c.style.display="none";const s=()=>{try{const e=c.contentDocument||c.contentWindow?.document;if(!e?.documentElement)return;const t=getComputedStyle(document.documentElement),o=e.documentElement;for(const e of t){if(!e.startsWith("--gw-"))continue;const n=t.getPropertyValue(e);o.style.getPropertyValue(e)!==n&&o.style.setProperty(e,n)}c.style.display="block"}catch(e){c.style.display="block",console.error("Cannot access iframe styles:",e)}};let a;const l=()=>{"function"==typeof a&&a(),a=t.onThemeModeChanged(s)};c.addEventListener("load",l),r.push(()=>{c.removeEventListener("load",l)}),e.$on("$destroy",()=>{c.removeEventListener("load",l),"function"==typeof a&&(a(),a=void 0),r.forEach(e=>{try{e()}catch{}})})}angular.module("graphdb.framework.webapi",[]).controller("WebApiCtrl",r),r.$inject=["$scope"]}};
2
+ //# sourceMappingURL=2975.c5ebc3e3ad52df3ab907.bundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"2975.c5ebc3e3ad52df3ab907.bundle.js","mappings":"uJASA,SAASA,EAAWC,GAChB,MAAMC,GAAqCC,EAAAA,EAAAA,SAAQC,EAAAA,oCAI7CC,GAFOC,SAASC,cAAc,SAASC,aAAa,SAAW,KAE5CC,QAAQ,MAAO,IACxCR,EAAOS,eAAiB,GAAGL,sCAAgDM,mBAAmBN,KAE9F,MAAMO,EAAgB,GAEhBC,EAASP,SAASQ,eAAe,gBACvC,IAAKD,EAED,OAGJA,EAAOE,MAAMC,QAAU,OAKvB,MAKMC,EAAaA,KACf,IACI,MAAMC,EALHL,EAAOM,iBAAmBN,EAAOO,eAAed,SAMnD,IAAKY,GAAWG,gBACZ,OAGJ,MAAMC,EAAaC,iBAAiBjB,SAASe,iBACvCG,EAAaN,EAAUG,gBAE7B,IAAK,MAAMI,KAAQH,EAAY,CAC3B,IAAKG,EAAKC,WAAW,SACjB,SAGJ,MAAMC,EAAQL,EAAWM,iBAAiBH,GACtCD,EAAWT,MAAMa,iBAAiBH,KAAUE,GAC5CH,EAAWT,MAAMc,YAAYJ,EAAME,EAE3C,CAEAd,EAAOE,MAAMC,QAAU,OAC3B,CAAE,MAAOc,GAGLjB,EAAOE,MAAMC,QAAU,QACvBe,QAAQC,MAAM,+BAAgCF,EAClD,GAGJ,IAAIG,EAEJ,MAAMC,EAAmBA,KAIiB,mBAA3BD,GACPA,IAEJA,EAAyB/B,EAAmCiC,mBAAmBlB,IA2BnFJ,EAAOuB,iBAAiB,OAAQF,GAKhCtB,EAAcyB,KAHgBC,KAC1BzB,EAAO0B,oBAAoB,OAAQL,KAIvCjC,EAAOuC,IAAI,WArBYC,KACnB5B,EAAO0B,oBAAoB,OAAQL,GAEG,mBAA3BD,IACPA,IACAA,OAAyBS,GAd7B9B,EAAc+B,QAASC,IACnB,IACIA,GACJ,CAAE,MACE,KA2BhB,CA1GAC,QACKC,OAAO,2BAA4B,IACnCC,WAAW,aAAc/C,GAE9BA,EAAWgD,QAAU,CAAC,S","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/webapi/app.js"],"sourcesContent":["import 'angular/core/services';\nimport {RuntimeConfigurationContextService, service} from '@ontotext/workbench-api';\n\nangular\n .module('graphdb.framework.webapi', [])\n .controller('WebApiCtrl', WebApiCtrl);\n\nWebApiCtrl.$inject = ['$scope'];\n\nfunction WebApiCtrl($scope) {\n const runtimeConfigurationContextService = service(RuntimeConfigurationContextService);\n\n const base = document.querySelector('base')?.getAttribute('href') || '/';\n // strip trailing slash -> '/graphdb' or ''\n const contextPath = base.replace(/\\/$/, '');\n $scope.webapiFrameSrc = `${contextPath}/res/swagger5/index.html?basePath=${encodeURIComponent(contextPath)}`;\n\n const subscriptions = [];\n\n const iframe = document.getElementById('webapi_frame');\n if (!iframe) {\n // If the template changes or the element isn't present, avoid throwing and breaking navigation.\n return;\n }\n\n iframe.style.display = 'none';\n\n // =========================\n // Private functions\n // =========================\n const getIframeDocument = () => {\n // Access may throw depending on iframe origin.\n return iframe.contentDocument || iframe.contentWindow?.document;\n };\n\n const syncStyles = () => {\n try {\n const iframeDoc = getIframeDocument();\n if (!iframeDoc?.documentElement) {\n return;\n }\n\n const rootStyles = getComputedStyle(document.documentElement);\n const iframeRoot = iframeDoc.documentElement;\n\n for (const prop of rootStyles) {\n if (!prop.startsWith('--gw-')) {\n continue;\n }\n\n const value = rootStyles.getPropertyValue(prop);\n if (iframeRoot.style.getPropertyValue(prop) !== value) {\n iframeRoot.style.setProperty(prop, value);\n }\n }\n\n iframe.style.display = 'block';\n } catch (e) {\n // If we can't access the iframe (cross-origin), avoid breaking navigation.\n // Show it anyway to avoid leaving the UI blank.\n iframe.style.display = 'block';\n console.error('Cannot access iframe styles:', e);\n }\n };\n\n let themeChangeUnsubscribe;\n\n const handleIframeLoad = () => {\n // Subscribe to theme changes when the iframe loads.\n // This prevents subscribing before the iframe document is available.\n // Also syncs immediately on subscription.\n if (typeof themeChangeUnsubscribe === 'function') {\n themeChangeUnsubscribe();\n }\n themeChangeUnsubscribe = runtimeConfigurationContextService.onThemeModeChanged(syncStyles);\n };\n\n const removeAllListeners = () => {\n subscriptions.forEach((subscription) => {\n try {\n subscription();\n } catch {\n // Ignore cleanup errors.\n }\n });\n };\n\n const destroyHandler = () => {\n iframe.removeEventListener('load', handleIframeLoad);\n\n if (typeof themeChangeUnsubscribe === 'function') {\n themeChangeUnsubscribe();\n themeChangeUnsubscribe = undefined;\n }\n\n removeAllListeners();\n };\n\n // =========================\n // Event handlers\n // =========================\n iframe.addEventListener('load', handleIframeLoad);\n\n const iframeLoadUnsubscribe = () => {\n iframe.removeEventListener('load', handleIframeLoad);\n };\n subscriptions.push(iframeLoadUnsubscribe);\n\n $scope.$on('$destroy', destroyHandler);\n}\n"],"names":["WebApiCtrl","$scope","runtimeConfigurationContextService","service","RuntimeConfigurationContextService","contextPath","document","querySelector","getAttribute","replace","webapiFrameSrc","encodeURIComponent","subscriptions","iframe","getElementById","style","display","syncStyles","iframeDoc","contentDocument","contentWindow","documentElement","rootStyles","getComputedStyle","iframeRoot","prop","startsWith","value","getPropertyValue","setProperty","e","console","error","themeChangeUnsubscribe","handleIframeLoad","onThemeModeChanged","addEventListener","push","iframeLoadUnsubscribe","removeEventListener","$on","destroyHandler","undefined","forEach","subscription","angular","module","controller","$inject"],"ignoreList":[],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- export const __webpack_esm_id__=38644;export const __webpack_esm_ids__=[38644];export const __webpack_esm_modules__={38644(t,e,r){var a=r(88141),n=r(19935),o=(r(32150),r(93462));function s(t,e,r,s,c,i,l,d,p,u,f,g,h){return{restrict:"AE",template:'<div id="domain-range"></div>',scope:{showPredicatesInfoPanel:"=",selectedPredicate:"=",collapseEdges:"="},link:function(u){const f=d(function(){!function(u){var f=1200,y=f/18,x=f/110,m=x/2,v=f/90,b=1.2,k=o.select("#domain-range").append("svg").attr("viewBox","0 0 1200 600").attr("preserveAspectRatio","xMidYMid meet").on("dblclick.zoom",null),w=o.forceSimulation(),E=o.drag().subject(function(t){return t}).on("start",function(t,e){w.stop(),e.fx=t.x,e.fy=t.y,o.select(this).classed("selected",!0)}).on("end",function(t,e){e.fx=null,e.fy=null,o.select(this).classed("selected",!1),C?(w.alpha(.2).restart(),C=!1):w.restart()}).on("drag",function(t,e){C=!0,w.alphaTarget(0).restart(),e.fx=t.x,e.fy=t.y}),N=k.append("defs");N.append("marker").attrs({id:"arrow",viewBox:"0 -5 10 10",refX:10,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:g}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),N.append("marker").attrs({id:"collapsed-arrow",viewBox:"0 -5 10 10",refX:9,refY:0,markerUnits:"strokeWidth",markerWidth:4,markerHeight:4,orient:"auto",fill:g}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),N.append("marker").attrs({id:"arrow-loop",viewBox:"0 -5 10 10",refX:7,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:g}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),o.select("#download-svg").on("mouseover",function(){var t=a.A.Export.getCSSRules("css/domain-range-graph.css?v=3.3.2-TR1");$("defs").append('<style type="text/css"><![CDATA['+t+"]]></style>");var e=a.A.Export.generateBase64ImageSource("#domain-range svg");o.select(this).attrs({href:e,download:"domain-range-graph-"+r.getActiveRepository()+".svg"})}),function(){var t=f/7,e=205.7142857142857,r=o.select(".legend-container").append("svg").attr("viewBox","0 0 "+t+" "+e).attr("preserveAspectRatio","xMidYMid meet");r.append("rect").attrs({width:t,height:e}).style("fill","rgba(235, 235, 235, 0.9)");var a=16,n=42.66666666666667,s=n+f/90,i=v/1.1,l=(r.append("circle").attrs({class:"legend-class-node",cx:29.333333333333336,cy:30,r:y/4.5}),30+f/370);r.append("text").attrs({x:s,y:l}).style("font-size",i+"px").text("main class node"),r.append("circle").attrs({class:"legend-object-node",cx:29.333333333333336,cy:70,r:8.727272727272727});var d=l+40;r.append("text").attrs({x:s,y:d}).style("font-size",i+"px").text("class node");var p=70+f/45;r.append("circle").attrs({class:"legend-datatype-node",cx:29.333333333333336,cy:p,r:m});var u=d+f/45;r.append("text").attrs({x:s,y:u}).style("font-size",i+"px").text("datatype node");var g=123.33333333333334;r.append("line").attrs({class:"property-arrow",x1:a,y1:g,x2:n,y2:g}).style("stroke-width",b).attr("marker-end","url("+c.absUrl()+"#arrow)"),r.append("text").attrs({x:s,y:126.57657657657658}).style("font-size",i+"px").text("explicit property");var h=150;r.append("line").attrs({class:"implicit-property-arrow",x1:a,y1:h,x2:n,y2:h}).style("stroke-width",b).attr("marker-end","url("+c.absUrl()+"#arrow)"),r.append("text").attrs({x:s,y:153.24324324324326}).style("font-size",i+"px").text("implicit property");var x=176.66666666666666;r.append("line").attrs({class:"collapsed-property-arrow",x1:a,y1:x,x2:n,y2:x}).style("stroke-width",2).attr("marker-end","url("+c.absUrl()+"#collapsed-arrow)"),r.append("text").attrs({x:s,y:179.9099099099099}).style("font-size",i+"px").text("collapsed property")}();var R=c.search().uri,A=c.search().name;const L=c.search().collapsed;(function(t,e){s.getDomainRangeData(t,e).success(function(t,e,r){u.domainRangeGraphData=t}).error(function(t){p.error("Request for "+A+" failed!")})})(R,L),$(window).on("popstate",function(){i.set(l.DOMAIN_RANGE_WENT_BACK,!0)}),e.onpopstate=function(e){e.state&&t.$broadcast("changeCollapsedEdgesState",e.state.collapsed)},u.$watch("collapseEdges",function(){angular.isUndefined(u.collapseEdges)||(i.set(l.DOMAIN_RANGE_COLLAPSE_EDGES,u.collapseEdges),"true"!==i.get(l.DOMAIN_RANGE_WENT_BACK)&&function(e){t.$broadcast("switchEdgeMode",{uri:R,name:A,collapsed:e})}(u.collapseEdges),i.remove(l.DOMAIN_RANGE_WENT_BACK))}),u.$watch("domainRangeGraphData",function(){if(u.domainRangeGraphData){var r=_.cloneDeep(u.domainRangeGraphData);const S=r.nodes,I=r.links;w.nodes(S).force("x",o.forceX(600)).force("y",o.forceY(300)).force("charge",o.forceManyBody().strength(-800)).force("link",o.forceLink(I).distance(f/3.5));var a=k.selectAll(".link").data(I).enter().append("g");function B(t){t.style("stroke",g),t.style("stroke-width",2),t.attr("marker-end","url("+c.absUrl()+"#collapsed-arrow)")}var s,i,l=0;a.each(function(t){if(t.objectPropNodeClassUri!==R)s=a.append("line").attrs({class:"link","marker-end":"url("+c.absUrl()+"#arrow)"}).style("stroke-width",b).each(function(t){switch(t.propertyType){case"objectLeft":t.targetRadius=y;break;case"objectRight":t.targetRadius=x;break;case"datatype":t.targetRadius=m;break;default:t.targetRadius=0}var e=o.select(this);t.targetNodeEdgeCount>1?B(e):t.implicit&&e.style("stroke-dasharray","3, 3")});else{if(angular.isUndefined(i)){var e=y/2;i=o.select(this).append("path").attrs({d:"M 0 0 A "+e+" "+e+" 0 1 1 0 "+e,class:"loop-link",fill:"none","marker-end":"url("+c.absUrl()+"#arrow-loop)"}).style("stroke-width",b)}(l+=t.targetNodeEdgeCount)>1&&B(o.select(".loop-link"))}});var p={};function G(){$.isEmptyObject(p)||(p.text.style("fill","black"),p.background.style("fill","#f0f0f0"))}function W(t,e){G(),p.text=o.select(this),p.background=o.select(this.previousSibling),p.text.style("fill","white"),p.background.style("fill",g),d(function(){u.showPredicatesInfoPanel=!0,u.selectedPredicate=e}),t.stopPropagation()}$("document").ready(function(){$("#domain-range").bind("click",G)});var N=a.append("text").attr("class",function(t){return t.objectPropNodeClassUri===R?"loop-link-property-name":"property-name"}).attr("dx",function(t){return y/2*("objectLeft"===t.propertyType?1:-1)}).style("text-anchor",function(t){return"objectLeft"===t.propertyType?"end":"start"}).style("font-size",v).text(function(t){return t.targetNodeEdgeCount>1?t.targetNodeEdgeCount+" predicates":t.name});N.each(function(t){var r=o.select(this);/\d\spredicates/.test(r.text())?r.style("font-weight","bold").on("click",W):r.on("click",function(t,r){e.open("resource?uri="+encodeURIComponent(r.uri),"_blank")})});var L=a.append("rect").attr("class",function(t){return t.objectPropNodeClassUri!==R?"link-background":"loop-link-background"}).attr("width",function(t){return t.calculatedWidth=this.previousSibling.getBBox().width,t.calculatedWidth+4}).attr("height",function(t){return t.calculatedHeight=this.previousSibling.getBBox().height,t.calculatedHeight+2}).attr("transform",function(t){var e=2-y/2*("objectLeft"===t.propertyType?1:-1);return"objectLeft"===t.propertyType&&(e+=t.calculatedWidth),"translate(-"+e+",-"+(2+t.calculatedHeight/2)+")"}).on("click",function(t){t.stopPropagation()}),C=k.selectAll(".node").data(S).enter().append("g"),P=C.filter(function(t){return t.objectPropClassUri!==R}).append("circle").each(function(t){var e=o.select(this);"main"===t.classPosition?e.attrs({class:"class-node",r:y}).attr("marker-end","url("+c.absUrl()+"#loop-link)"):null===t.objectPropClassName?e.attrs({class:"datatype-node",r:m}):e.attrs({class:"object-prop-node",r:x})}).call(E);function z(e,r,a){u.$apply(function(){t.$broadcast("reloadDomainRangeGraphView",r,a)})}o.selectAll(".object-prop-node").on("dblclick",z),C.filter(function(t){return t.objectPropClassName&&t.objectPropClassUri!==R}).append("text").attr("class",function(t){return t.classPosition+"-class-label"}).style("font-size",v).text(function(t){return t.objectPropClassName}).on("click",function(t,r){e.open("resource?uri="+encodeURIComponent(r.objectPropClassUri),"_blank")});var U=C.select("text");k.select(".class-node").each(function(){o.select(this.parentNode).append("text").attr("class","rdf-class-label").style("font-size",function(t){return n.A.Text.calcFontSize(A,y)}).text(A).on("click",function(){e.open("resource?uri="+encodeURIComponent(R),"_blank")})});var j=k.select(".class-node + text"),T=o.select(".class-node"),M=o.selectAll(".loop-link-background"),O=o.selectAll(".loop-link-property-name");if(N=o.selectAll(".property-name"),!angular.isUndefined(i)){var D=[];M.each(function(t,e){o.select(this),D.push({idx:e,width:t.calculatedWidth,height:t.calculatedHeight})})}function F(t){var e=8*w.alpha();function r(t){var e=t.x+2*y,r=t.y-35.08771929824562;var a=[];M.each(function(n,s){a.push(n),s<h?function(a,n){var o=$.grep(D,function(t){return t.idx==n});n>0&&(e+=parseFloat(n*(o[0].height/(n/1.4)))),a.attrs({transform:"rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")",width:o[0].height,height:o[0].width})}(o.select(this),s):o.select(this).remove()}),function(t){var e;o.select(".view-more-preds-label").style("font-weight","bold").each(function(r){r.target.allEdges=t,e=this.getComputedTextLength()}).on("click",W),o.select(".view-more-preds-rect").attr("height",e+4)}(a)}s.filter(function(t){return t.objectPropNodeClassUri!==R}).attr("x1",function(t){return t.source.x}).attr("y1",function(t){return t.source.y}).attr("x2",function(t){return t.targetX}).attr("y2",function(t){return t.targetY}).each(function(t){!function(t){"objectLeft"===t.propertyType?(t.source.x-=8*e,t.source.y-=e/9):(t.target.x+=8*e,t.target.y-=e/9)}(t);var r=Math.atan2(t.target.y-t.source.y,t.target.x-t.source.x);t.targetX=t.target.x-Math.cos(r)*t.targetRadius,t.targetY=t.target.y-Math.sin(r)*t.targetRadius}),P.each(function(t){"main"!==t.classPosition||angular.isUndefined(i)||(function(t){var e=t.x+64,r=t.y-y/5.7-5;i.attr("transform","rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")")}(t),function(t){function e(e,r){var a=$.grep(D,function(t){return t.idx==r}),n=0;r>0&&(n=parseFloat(2*r*(a[0].height/1.4)));var o=t.x,s=t.y-2.1*y-n;e.attrs({x:o,y:s}).moveToFront()}O.each(function(t,r){var a=o.select(this),n=O.size()-h;n<0?e(a,r):(0==r&&!u.collapseEdges&&n>1&&(function(t,e,r){t.classed("view-more-preds-label",!0).text(r+" predicates more ..."),null!==this.nextSibling&&e.classed("view-more-preds-rect",!0)}(a,o.select(this.nextSibling),n),e(a,r)),r<h?e(a,r):a.remove())})}(t),r(t)),t.objectPropClassUri!==R&&o.select(this).attr("cx",function(t){return"main"===t.classPosition?function(t){!window.ActiveXObject&&"ActiveXObject"in window&&(Math.log10=function(t){return Math.log(t)/Math.LN10});var e=T.attr("cx")-600,r=.5*Math.log10(Math.abs(e));return t.x+=e>0?-r:r,t.x}(t):t.x}).attr("cy",function(t){return t.y})}),j.attr("x",function(t){return t.x}).attr("y",function(t){return t.y}).moveToFront(),L.filter(function(t){return t.objectPropNodeClassUri!==R}).attr("x",function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2}).attr("y",function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2}).moveToFront(),N.attr("x",function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2}).attr("y",function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2}).moveToFront(),U.attr("x",function(t){return"right"===t.classPosition?t.x+13.09090909090909:t.x-13.09090909090909}).attr("y",function(t){return t.y}).moveToFront()}w.on("tick",F)}});let C=!1}(u)},50);u.$on("$destroy",function(){d.cancel(f)})}}}angular.module("graphdb.framework.graphexplore.directives.domainrange",["graphdb.framework.graphexplore.controllers.domainrange","graphdb.framework.utils.localstorageadapter"]).constant("ONTO_RED","var(--gw-primary-base)").constant("ONTO_GREEN","var(--gw-tertiary-base)").constant("ONTO_BLUE","var(--gw-secondary-base)").constant("NON_COLLAPSED_REFLEXIVE_LINK_LIMIT",6).directive("domainRangeGraph",s),s.$inject=["$rootScope","$window","$repositories","GraphDataRestService","$location","LocalStorageAdapter","LSKeys","$timeout","toastr","ONTO_RED","ONTO_GREEN","ONTO_BLUE","NON_COLLAPSED_REFLEXIVE_LINK_LIMIT"]}};
2
- //# sourceMappingURL=38644.37a8cd71112da94401d9.bundle.js.map
1
+ export const __webpack_esm_id__=38644;export const __webpack_esm_ids__=[38644];export const __webpack_esm_modules__={38644(t,e,r){var a=r(88141),n=r(19935),o=(r(32150),r(93462));function s(t,e,r,s,c,i,l,d,p,u,f,g,h){return{restrict:"AE",template:'<div id="domain-range"></div>',scope:{showPredicatesInfoPanel:"=",selectedPredicate:"=",collapseEdges:"="},link:function(u){const f=d(function(){!function(u){var f=1200,y=f/18,x=f/110,m=x/2,v=f/90,b=1.2,k=o.select("#domain-range").append("svg").attr("viewBox","0 0 1200 600").attr("preserveAspectRatio","xMidYMid meet").on("dblclick.zoom",null),w=o.forceSimulation(),E=o.drag().subject(function(t){return t}).on("start",function(t,e){w.stop(),e.fx=t.x,e.fy=t.y,o.select(this).classed("selected",!0)}).on("end",function(t,e){e.fx=null,e.fy=null,o.select(this).classed("selected",!1),C?(w.alpha(.2).restart(),C=!1):w.restart()}).on("drag",function(t,e){C=!0,w.alphaTarget(0).restart(),e.fx=t.x,e.fy=t.y}),N=k.append("defs");N.append("marker").attrs({id:"arrow",viewBox:"0 -5 10 10",refX:10,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:g}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),N.append("marker").attrs({id:"collapsed-arrow",viewBox:"0 -5 10 10",refX:9,refY:0,markerUnits:"strokeWidth",markerWidth:4,markerHeight:4,orient:"auto",fill:g}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),N.append("marker").attrs({id:"arrow-loop",viewBox:"0 -5 10 10",refX:7,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:g}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),o.select("#download-svg").on("mouseover",function(){var t=a.A.Export.getCSSRules("css/domain-range-graph.css?v=3.3.3-TR1");$("defs").append('<style type="text/css"><![CDATA['+t+"]]></style>");var e=a.A.Export.generateBase64ImageSource("#domain-range svg");o.select(this).attrs({href:e,download:"domain-range-graph-"+r.getActiveRepository()+".svg"})}),function(){var t=f/7,e=205.7142857142857,r=o.select(".legend-container").append("svg").attr("viewBox","0 0 "+t+" "+e).attr("preserveAspectRatio","xMidYMid meet");r.append("rect").attrs({width:t,height:e}).style("fill","rgba(235, 235, 235, 0.9)");var a=16,n=42.66666666666667,s=n+f/90,i=v/1.1,l=(r.append("circle").attrs({class:"legend-class-node",cx:29.333333333333336,cy:30,r:y/4.5}),30+f/370);r.append("text").attrs({x:s,y:l}).style("font-size",i+"px").text("main class node"),r.append("circle").attrs({class:"legend-object-node",cx:29.333333333333336,cy:70,r:8.727272727272727});var d=l+40;r.append("text").attrs({x:s,y:d}).style("font-size",i+"px").text("class node");var p=70+f/45;r.append("circle").attrs({class:"legend-datatype-node",cx:29.333333333333336,cy:p,r:m});var u=d+f/45;r.append("text").attrs({x:s,y:u}).style("font-size",i+"px").text("datatype node");var g=123.33333333333334;r.append("line").attrs({class:"property-arrow",x1:a,y1:g,x2:n,y2:g}).style("stroke-width",b).attr("marker-end","url("+c.absUrl()+"#arrow)"),r.append("text").attrs({x:s,y:126.57657657657658}).style("font-size",i+"px").text("explicit property");var h=150;r.append("line").attrs({class:"implicit-property-arrow",x1:a,y1:h,x2:n,y2:h}).style("stroke-width",b).attr("marker-end","url("+c.absUrl()+"#arrow)"),r.append("text").attrs({x:s,y:153.24324324324326}).style("font-size",i+"px").text("implicit property");var x=176.66666666666666;r.append("line").attrs({class:"collapsed-property-arrow",x1:a,y1:x,x2:n,y2:x}).style("stroke-width",2).attr("marker-end","url("+c.absUrl()+"#collapsed-arrow)"),r.append("text").attrs({x:s,y:179.9099099099099}).style("font-size",i+"px").text("collapsed property")}();var R=c.search().uri,A=c.search().name;const L=c.search().collapsed;(function(t,e){s.getDomainRangeData(t,e).success(function(t,e,r){u.domainRangeGraphData=t}).error(function(t){p.error("Request for "+A+" failed!")})})(R,L),$(window).on("popstate",function(){i.set(l.DOMAIN_RANGE_WENT_BACK,!0)}),e.onpopstate=function(e){e.state&&t.$broadcast("changeCollapsedEdgesState",e.state.collapsed)},u.$watch("collapseEdges",function(){angular.isUndefined(u.collapseEdges)||(i.set(l.DOMAIN_RANGE_COLLAPSE_EDGES,u.collapseEdges),"true"!==i.get(l.DOMAIN_RANGE_WENT_BACK)&&function(e){t.$broadcast("switchEdgeMode",{uri:R,name:A,collapsed:e})}(u.collapseEdges),i.remove(l.DOMAIN_RANGE_WENT_BACK))}),u.$watch("domainRangeGraphData",function(){if(u.domainRangeGraphData){var r=_.cloneDeep(u.domainRangeGraphData);const S=r.nodes,I=r.links;w.nodes(S).force("x",o.forceX(600)).force("y",o.forceY(300)).force("charge",o.forceManyBody().strength(-800)).force("link",o.forceLink(I).distance(f/3.5));var a=k.selectAll(".link").data(I).enter().append("g");function B(t){t.style("stroke",g),t.style("stroke-width",2),t.attr("marker-end","url("+c.absUrl()+"#collapsed-arrow)")}var s,i,l=0;a.each(function(t){if(t.objectPropNodeClassUri!==R)s=a.append("line").attrs({class:"link","marker-end":"url("+c.absUrl()+"#arrow)"}).style("stroke-width",b).each(function(t){switch(t.propertyType){case"objectLeft":t.targetRadius=y;break;case"objectRight":t.targetRadius=x;break;case"datatype":t.targetRadius=m;break;default:t.targetRadius=0}var e=o.select(this);t.targetNodeEdgeCount>1?B(e):t.implicit&&e.style("stroke-dasharray","3, 3")});else{if(angular.isUndefined(i)){var e=y/2;i=o.select(this).append("path").attrs({d:"M 0 0 A "+e+" "+e+" 0 1 1 0 "+e,class:"loop-link",fill:"none","marker-end":"url("+c.absUrl()+"#arrow-loop)"}).style("stroke-width",b)}(l+=t.targetNodeEdgeCount)>1&&B(o.select(".loop-link"))}});var p={};function G(){$.isEmptyObject(p)||(p.text.style("fill","black"),p.background.style("fill","#f0f0f0"))}function W(t,e){G(),p.text=o.select(this),p.background=o.select(this.previousSibling),p.text.style("fill","white"),p.background.style("fill",g),d(function(){u.showPredicatesInfoPanel=!0,u.selectedPredicate=e}),t.stopPropagation()}$("document").ready(function(){$("#domain-range").bind("click",G)});var N=a.append("text").attr("class",function(t){return t.objectPropNodeClassUri===R?"loop-link-property-name":"property-name"}).attr("dx",function(t){return y/2*("objectLeft"===t.propertyType?1:-1)}).style("text-anchor",function(t){return"objectLeft"===t.propertyType?"end":"start"}).style("font-size",v).text(function(t){return t.targetNodeEdgeCount>1?t.targetNodeEdgeCount+" predicates":t.name});N.each(function(t){var r=o.select(this);/\d\spredicates/.test(r.text())?r.style("font-weight","bold").on("click",W):r.on("click",function(t,r){e.open("resource?uri="+encodeURIComponent(r.uri),"_blank")})});var L=a.append("rect").attr("class",function(t){return t.objectPropNodeClassUri!==R?"link-background":"loop-link-background"}).attr("width",function(t){return t.calculatedWidth=this.previousSibling.getBBox().width,t.calculatedWidth+4}).attr("height",function(t){return t.calculatedHeight=this.previousSibling.getBBox().height,t.calculatedHeight+2}).attr("transform",function(t){var e=2-y/2*("objectLeft"===t.propertyType?1:-1);return"objectLeft"===t.propertyType&&(e+=t.calculatedWidth),"translate(-"+e+",-"+(2+t.calculatedHeight/2)+")"}).on("click",function(t){t.stopPropagation()}),C=k.selectAll(".node").data(S).enter().append("g"),P=C.filter(function(t){return t.objectPropClassUri!==R}).append("circle").each(function(t){var e=o.select(this);"main"===t.classPosition?e.attrs({class:"class-node",r:y}).attr("marker-end","url("+c.absUrl()+"#loop-link)"):null===t.objectPropClassName?e.attrs({class:"datatype-node",r:m}):e.attrs({class:"object-prop-node",r:x})}).call(E);function z(e,r,a){u.$apply(function(){t.$broadcast("reloadDomainRangeGraphView",r,a)})}o.selectAll(".object-prop-node").on("dblclick",z),C.filter(function(t){return t.objectPropClassName&&t.objectPropClassUri!==R}).append("text").attr("class",function(t){return t.classPosition+"-class-label"}).style("font-size",v).text(function(t){return t.objectPropClassName}).on("click",function(t,r){e.open("resource?uri="+encodeURIComponent(r.objectPropClassUri),"_blank")});var U=C.select("text");k.select(".class-node").each(function(){o.select(this.parentNode).append("text").attr("class","rdf-class-label").style("font-size",function(t){return n.A.Text.calcFontSize(A,y)}).text(A).on("click",function(){e.open("resource?uri="+encodeURIComponent(R),"_blank")})});var j=k.select(".class-node + text"),T=o.select(".class-node"),M=o.selectAll(".loop-link-background"),O=o.selectAll(".loop-link-property-name");if(N=o.selectAll(".property-name"),!angular.isUndefined(i)){var D=[];M.each(function(t,e){o.select(this),D.push({idx:e,width:t.calculatedWidth,height:t.calculatedHeight})})}function F(t){var e=8*w.alpha();function r(t){var e=t.x+2*y,r=t.y-35.08771929824562;var a=[];M.each(function(n,s){a.push(n),s<h?function(a,n){var o=$.grep(D,function(t){return t.idx==n});n>0&&(e+=parseFloat(n*(o[0].height/(n/1.4)))),a.attrs({transform:"rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")",width:o[0].height,height:o[0].width})}(o.select(this),s):o.select(this).remove()}),function(t){var e;o.select(".view-more-preds-label").style("font-weight","bold").each(function(r){r.target.allEdges=t,e=this.getComputedTextLength()}).on("click",W),o.select(".view-more-preds-rect").attr("height",e+4)}(a)}s.filter(function(t){return t.objectPropNodeClassUri!==R}).attr("x1",function(t){return t.source.x}).attr("y1",function(t){return t.source.y}).attr("x2",function(t){return t.targetX}).attr("y2",function(t){return t.targetY}).each(function(t){!function(t){"objectLeft"===t.propertyType?(t.source.x-=8*e,t.source.y-=e/9):(t.target.x+=8*e,t.target.y-=e/9)}(t);var r=Math.atan2(t.target.y-t.source.y,t.target.x-t.source.x);t.targetX=t.target.x-Math.cos(r)*t.targetRadius,t.targetY=t.target.y-Math.sin(r)*t.targetRadius}),P.each(function(t){"main"!==t.classPosition||angular.isUndefined(i)||(function(t){var e=t.x+64,r=t.y-y/5.7-5;i.attr("transform","rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")")}(t),function(t){function e(e,r){var a=$.grep(D,function(t){return t.idx==r}),n=0;r>0&&(n=parseFloat(2*r*(a[0].height/1.4)));var o=t.x,s=t.y-2.1*y-n;e.attrs({x:o,y:s}).moveToFront()}O.each(function(t,r){var a=o.select(this),n=O.size()-h;n<0?e(a,r):(0==r&&!u.collapseEdges&&n>1&&(function(t,e,r){t.classed("view-more-preds-label",!0).text(r+" predicates more ..."),null!==this.nextSibling&&e.classed("view-more-preds-rect",!0)}(a,o.select(this.nextSibling),n),e(a,r)),r<h?e(a,r):a.remove())})}(t),r(t)),t.objectPropClassUri!==R&&o.select(this).attr("cx",function(t){return"main"===t.classPosition?function(t){!window.ActiveXObject&&"ActiveXObject"in window&&(Math.log10=function(t){return Math.log(t)/Math.LN10});var e=T.attr("cx")-600,r=.5*Math.log10(Math.abs(e));return t.x+=e>0?-r:r,t.x}(t):t.x}).attr("cy",function(t){return t.y})}),j.attr("x",function(t){return t.x}).attr("y",function(t){return t.y}).moveToFront(),L.filter(function(t){return t.objectPropNodeClassUri!==R}).attr("x",function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2}).attr("y",function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2}).moveToFront(),N.attr("x",function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2}).attr("y",function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2}).moveToFront(),U.attr("x",function(t){return"right"===t.classPosition?t.x+13.09090909090909:t.x-13.09090909090909}).attr("y",function(t){return t.y}).moveToFront()}w.on("tick",F)}});let C=!1}(u)},50);u.$on("$destroy",function(){d.cancel(f)})}}}angular.module("graphdb.framework.graphexplore.directives.domainrange",["graphdb.framework.graphexplore.controllers.domainrange","graphdb.framework.utils.localstorageadapter"]).constant("ONTO_RED","var(--gw-primary-base)").constant("ONTO_GREEN","var(--gw-tertiary-base)").constant("ONTO_BLUE","var(--gw-secondary-base)").constant("NON_COLLAPSED_REFLEXIVE_LINK_LIMIT",6).directive("domainRangeGraph",s),s.$inject=["$rootScope","$window","$repositories","GraphDataRestService","$location","LocalStorageAdapter","LSKeys","$timeout","toastr","ONTO_RED","ONTO_GREEN","ONTO_BLUE","NON_COLLAPSED_REFLEXIVE_LINK_LIMIT"]}};
2
+ //# sourceMappingURL=38644.cc471c67239fa24901cc.bundle.js.map