graphdb-workbench 3.3.2 → 3.3.3-RC1

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 (220) hide show
  1. package/dist/{10759.b2e1d643d681ebd9c124.bundle.js → 10759.57059f90014058a86952.bundle.js} +2 -2
  2. package/dist/10759.57059f90014058a86952.bundle.js.map +1 -0
  3. package/dist/{13231.d7107e7549453805e13a.bundle.js → 13231.8bbbe30c10e6c0dfdba3.bundle.js} +2 -2
  4. package/dist/13231.8bbbe30c10e6c0dfdba3.bundle.js.map +1 -0
  5. package/dist/{18961.01ff5fcc0f4b9f99236e.bundle.js → 18961.732c0c355509452ac6da.bundle.js} +2 -2
  6. package/dist/18961.732c0c355509452ac6da.bundle.js.map +1 -0
  7. package/dist/{20694.4becb7771236462dcc5a.bundle.js → 20694.03b5abf23347ae0bad65.bundle.js} +2 -2
  8. package/dist/{20694.4becb7771236462dcc5a.bundle.js.map → 20694.03b5abf23347ae0bad65.bundle.js.map} +1 -1
  9. package/dist/21015.6db2b66597f78d4b83cc.bundle.js +2 -0
  10. package/dist/21015.6db2b66597f78d4b83cc.bundle.js.map +1 -0
  11. package/dist/2975.c5ebc3e3ad52df3ab907.bundle.js +2 -0
  12. package/dist/2975.c5ebc3e3ad52df3ab907.bundle.js.map +1 -0
  13. package/dist/38644.8585127c40697ea58e00.bundle.js +2 -0
  14. package/dist/38644.8585127c40697ea58e00.bundle.js.map +1 -0
  15. package/dist/39518.0acc5eb68f38cc6b62a5.bundle.js +2 -0
  16. package/dist/{39518.4d72b74fffba395c6b2a.bundle.js.map → 39518.0acc5eb68f38cc6b62a5.bundle.js.map} +1 -1
  17. package/dist/{39874.710e94f211579215f997.bundle.js → 39874.17dde6245fc4cc91bb58.bundle.js} +2 -2
  18. package/dist/39874.17dde6245fc4cc91bb58.bundle.js.map +1 -0
  19. package/dist/{45758.1212136a37dd4f7528f8.bundle.js → 45758.b9ce5fe0ed6c8c4fc141.bundle.js} +2 -2
  20. package/dist/45758.b9ce5fe0ed6c8c4fc141.bundle.js.map +1 -0
  21. package/dist/{60560.6ba1b091a34af6c00770.bundle.js → 60560.62ed0cb0b3d07fecbf28.bundle.js} +2 -2
  22. package/dist/60560.62ed0cb0b3d07fecbf28.bundle.js.map +1 -0
  23. package/dist/{60730.35493812d428872eddb6.bundle.js → 60730.a9fc5342637039776562.bundle.js} +2 -2
  24. package/dist/60730.a9fc5342637039776562.bundle.js.map +1 -0
  25. package/dist/{64118.b06aebc9f8d7e822244f.bundle.js → 64118.177457589341de779668.bundle.js} +2 -2
  26. package/dist/64118.177457589341de779668.bundle.js.map +1 -0
  27. package/dist/67888.0f7d008c6f62683e2c62.bundle.js +2 -0
  28. package/dist/67888.0f7d008c6f62683e2c62.bundle.js.map +1 -0
  29. package/dist/71099.ba1073458b96d9789756.bundle.js +2 -0
  30. package/dist/71099.ba1073458b96d9789756.bundle.js.map +1 -0
  31. package/dist/75881.148ce498d06784abfd6c.bundle.js +2 -0
  32. package/dist/75881.148ce498d06784abfd6c.bundle.js.map +1 -0
  33. package/dist/78070.d54ede951a08e1c8689d.bundle.js +2 -0
  34. package/dist/78070.d54ede951a08e1c8689d.bundle.js.map +1 -0
  35. package/dist/{7815.2aec5ebbcd434f5582ff.bundle.js → 7815.89cc59b6625e84913351.bundle.js} +2 -2
  36. package/dist/7815.89cc59b6625e84913351.bundle.js.map +1 -0
  37. package/dist/{78681.9e1d4e064e9e1fb5fb21.bundle.js → 78681.6c8614aad7e5465be505.bundle.js} +2 -2
  38. package/dist/78681.6c8614aad7e5465be505.bundle.js.map +1 -0
  39. package/dist/{82206.229877d7931849236456.bundle.js → 82206.473f6d4f79e12f6a9da6.bundle.js} +2 -2
  40. package/dist/82206.473f6d4f79e12f6a9da6.bundle.js.map +1 -0
  41. package/dist/{82926.ce1d6bf65b09288a2b10.bundle.js → 82926.7d300bdaae879f385185.bundle.js} +2 -2
  42. package/dist/{82926.ce1d6bf65b09288a2b10.bundle.js.map → 82926.7d300bdaae879f385185.bundle.js.map} +1 -1
  43. package/dist/{94229.47dbdba202106c61dff1.bundle.js → 94229.5a853fae006f6ef633af.bundle.js} +2 -2
  44. package/dist/94229.5a853fae006f6ef633af.bundle.js.map +1 -0
  45. package/dist/95953.1350a9dc14b22372b4e2.bundle.js +2 -0
  46. package/dist/95953.1350a9dc14b22372b4e2.bundle.js.map +1 -0
  47. package/dist/98268.a1bd17e40ede031a0a00.bundle.js +2 -0
  48. package/dist/98268.a1bd17e40ede031a0a00.bundle.js.map +1 -0
  49. package/dist/99448.147164e93b1ab3a87d36.bundle.js +2 -0
  50. package/dist/99448.147164e93b1ab3a87d36.bundle.js.map +1 -0
  51. package/dist/index.html +9 -9
  52. package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +1 -1
  53. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  54. package/dist/js/angular/core/directives/dynamic-form/templates/dynamic-form.html +1 -1
  55. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  56. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  57. package/dist/js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html +1 -1
  58. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +2 -2
  59. package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
  60. package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
  61. package/dist/js/angular/core/templates/editable-content/editable-content.html +1 -1
  62. package/dist/js/angular/core/templates/markdown-content/markdown-content.html +1 -1
  63. package/dist/js/angular/core/templates/search-resource-input.html +1 -1
  64. package/dist/js/angular/graphql/templates/create-graphql-endpoint.html +2 -2
  65. package/dist/js/angular/graphql/templates/graphql-endpoint-management.html +1 -1
  66. package/dist/js/angular/graphql/templates/graphql-playground.html +2 -2
  67. package/dist/js/angular/graphql/templates/modal/endpoint-configuration-modal.html +1 -1
  68. package/dist/js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html +1 -1
  69. package/dist/js/angular/graphql/templates/modal/import-endpoint-definition-modal.html +1 -1
  70. package/dist/js/angular/security/templates/user.html +2 -2
  71. package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
  72. package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
  73. package/dist/js/angular/ttyg/templates/chat-item-detail.html +3 -2
  74. package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
  75. package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
  76. package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
  77. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +3 -3
  78. package/dist/js/angular/ttyg/templates/modal/external-integration-configuration-modal.html +1 -1
  79. package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
  80. package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
  81. package/dist/legacyWorkbench.f1ed8e359786e8adeab2.js +3 -0
  82. package/dist/{legacyWorkbench.40eba9e09196e1483221.js.map → legacyWorkbench.f1ed8e359786e8adeab2.js.map} +1 -1
  83. package/dist/main.a67c284710a8b9a98ca2.js +3 -0
  84. package/dist/main.a67c284710a8b9a98ca2.js.map +1 -0
  85. package/dist/pages/aclmanagement.html +1 -1
  86. package/dist/pages/autocomplete.html +1 -1
  87. package/dist/pages/choose-repository-type.html +1 -1
  88. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  89. package/dist/pages/create-index.html +1 -1
  90. package/dist/pages/dependencies.html +1 -1
  91. package/dist/pages/domainRangeInfo.html +2 -2
  92. package/dist/pages/edit.html +1 -1
  93. package/dist/pages/explore.html +1 -1
  94. package/dist/pages/export.html +1 -1
  95. package/dist/pages/find.html +1 -1
  96. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  97. package/dist/pages/graphs-visualizations.html +7 -7
  98. package/dist/pages/guides.html +1 -1
  99. package/dist/pages/home.html +1 -1
  100. package/dist/pages/import.html +2 -2
  101. package/dist/pages/jdbc-create.html +1 -1
  102. package/dist/pages/jdbc.html +1 -1
  103. package/dist/pages/monitor/backup-and-restore.html +1 -1
  104. package/dist/pages/monitor/queries.html +1 -1
  105. package/dist/pages/monitor/resources.html +1 -1
  106. package/dist/pages/namespaces.html +2 -2
  107. package/dist/pages/plugins.html +1 -1
  108. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  109. package/dist/pages/rdfrank.html +2 -2
  110. package/dist/pages/repositories.html +1 -1
  111. package/dist/pages/repository.html +1 -1
  112. package/dist/pages/similarity-indexes.html +1 -1
  113. package/dist/pages/sparql-editor.html +1 -1
  114. package/dist/pages/sparql-template-create.html +1 -1
  115. package/dist/pages/sparql-templates.html +1 -1
  116. package/dist/pages/ux-test1.html +2 -2
  117. package/dist/pages/webapi.html +4 -3
  118. package/dist/res/swagger5/index.html +11 -11
  119. package/dist/res/swagger5/swagger-initializer.js +1 -1
  120. package/dist/shared-components/cjs/index-CTK5NoJt.js +2 -0
  121. package/dist/shared-components/cjs/loader.cjs.js +1 -1
  122. package/dist/shared-components/cjs/onto-cookie-consent_2.cjs.entry.js +1 -1
  123. package/dist/shared-components/cjs/onto-dialog_2.cjs.entry.js +1 -1
  124. package/dist/shared-components/cjs/onto-dropdown.cjs.entry.js +1 -1
  125. package/dist/shared-components/cjs/onto-footer_5.cjs.entry.js +1 -1
  126. package/dist/shared-components/cjs/onto-language-selector_9.cjs.entry.js +1 -1
  127. package/dist/shared-components/cjs/onto-layout.cjs.entry.js +1 -1
  128. package/dist/shared-components/cjs/onto-permission-banner.cjs.entry.js +1 -1
  129. package/dist/shared-components/cjs/onto-test-context.cjs.entry.js +1 -1
  130. package/dist/shared-components/cjs/onto-toastr.cjs.entry.js +1 -1
  131. package/dist/shared-components/cjs/shared-components.cjs.js +1 -1
  132. package/dist/shared-components/cjs/translate-label.cjs.entry.js +1 -1
  133. package/dist/shared-components/collection/collection-manifest.json +2 -2
  134. package/dist/shared-components/collection/components/dialogs/onto-dialog.js +1 -1
  135. package/dist/shared-components/collection/components/onto-dropdown/onto-dropdown.js +1 -1
  136. package/dist/shared-components/collection/components/onto-language-selector/onto-language-selector.js +1 -1
  137. package/dist/shared-components/collection/components/onto-license-alert/onto-license-alert.js +1 -1
  138. package/dist/shared-components/collection/components/onto-loader/onto-loader.js +1 -1
  139. package/dist/shared-components/collection/components/onto-navbar/onto-navbar.js +1 -1
  140. package/dist/shared-components/collection/components/onto-operations-notification/onto-operations-notification.js +1 -1
  141. package/dist/shared-components/collection/components/onto-repository-selector/onto-repository-selector.js +1 -1
  142. package/dist/shared-components/collection/components/onto-search-resource-input/onto-search-resource-input.js +1 -1
  143. package/dist/shared-components/collection/components/onto-test-context/onto-test-context.js +1 -1
  144. package/dist/shared-components/collection/components/onto-toggle-switch/onto-toggle-switch.js +1 -1
  145. package/dist/shared-components/collection/components/onto-user-menu/onto-user-menu.js +1 -1
  146. package/dist/shared-components/collection/components/translate-label/translate-label.js +1 -1
  147. package/dist/shared-components/esm/index-EiAqSNMq.js +2 -0
  148. package/dist/shared-components/esm/loader.js +1 -1
  149. package/dist/shared-components/esm/onto-cookie-consent_2.entry.js +1 -1
  150. package/dist/shared-components/esm/onto-dialog_2.entry.js +1 -1
  151. package/dist/shared-components/esm/onto-dropdown.entry.js +1 -1
  152. package/dist/shared-components/esm/onto-footer_5.entry.js +1 -1
  153. package/dist/shared-components/esm/onto-language-selector_9.entry.js +1 -1
  154. package/dist/shared-components/esm/onto-layout.entry.js +1 -1
  155. package/dist/shared-components/esm/onto-permission-banner.entry.js +1 -1
  156. package/dist/shared-components/esm/onto-test-context.entry.js +1 -1
  157. package/dist/shared-components/esm/onto-toastr.entry.js +1 -1
  158. package/dist/shared-components/esm/shared-components.js +1 -1
  159. package/dist/shared-components/esm/translate-label.entry.js +1 -1
  160. package/dist/shared-components/shared-components/{p-6d34b2cb.entry.js → p-1103d100.entry.js} +1 -1
  161. package/dist/shared-components/shared-components/{p-9b2c6e80.entry.js → p-2e2bb175.entry.js} +1 -1
  162. package/dist/shared-components/shared-components/{p-b754971e.entry.js → p-50735428.entry.js} +1 -1
  163. package/dist/shared-components/shared-components/{p-7e47d850.entry.js → p-59707503.entry.js} +1 -1
  164. package/dist/shared-components/shared-components/{p-598d33d7.entry.js → p-6a37f808.entry.js} +1 -1
  165. package/dist/shared-components/shared-components/{p-9214bb16.entry.js → p-6fb5eec5.entry.js} +1 -1
  166. package/dist/shared-components/shared-components/{p-c27fe716.entry.js → p-97930684.entry.js} +1 -1
  167. package/dist/shared-components/shared-components/p-EiAqSNMq.js +2 -0
  168. package/dist/shared-components/shared-components/{p-b5d4081d.entry.js → p-a5a49d87.entry.js} +1 -1
  169. package/dist/shared-components/shared-components/{p-74888633.entry.js → p-d134e207.entry.js} +1 -1
  170. package/dist/shared-components/shared-components/{p-5886e663.entry.js → p-ec2f4ea5.entry.js} +1 -1
  171. package/dist/shared-components/shared-components/shared-components.esm.js +1 -1
  172. package/dist/shared-components/types/stencil-public-runtime.d.ts +10 -147
  173. package/package.json +1 -1
  174. package/dist/10759.b2e1d643d681ebd9c124.bundle.js.map +0 -1
  175. package/dist/13231.d7107e7549453805e13a.bundle.js.map +0 -1
  176. package/dist/18961.01ff5fcc0f4b9f99236e.bundle.js.map +0 -1
  177. package/dist/21015.ea34b563b4149ad0975e.bundle.js +0 -2
  178. package/dist/21015.ea34b563b4149ad0975e.bundle.js.map +0 -1
  179. package/dist/2975.8be1a79816fd811be223.bundle.js +0 -2
  180. package/dist/2975.8be1a79816fd811be223.bundle.js.map +0 -1
  181. package/dist/38644.0e8652c647a0f341abd7.bundle.js +0 -2
  182. package/dist/38644.0e8652c647a0f341abd7.bundle.js.map +0 -1
  183. package/dist/39518.4d72b74fffba395c6b2a.bundle.js +0 -2
  184. package/dist/39874.710e94f211579215f997.bundle.js.map +0 -1
  185. package/dist/45758.1212136a37dd4f7528f8.bundle.js.map +0 -1
  186. package/dist/60560.6ba1b091a34af6c00770.bundle.js.map +0 -1
  187. package/dist/60730.35493812d428872eddb6.bundle.js.map +0 -1
  188. package/dist/64118.b06aebc9f8d7e822244f.bundle.js.map +0 -1
  189. package/dist/67888.41803878170b6c7a5ca5.bundle.js +0 -2
  190. package/dist/67888.41803878170b6c7a5ca5.bundle.js.map +0 -1
  191. package/dist/71099.ca7720893604e9d908d6.bundle.js +0 -2
  192. package/dist/71099.ca7720893604e9d908d6.bundle.js.map +0 -1
  193. package/dist/75881.54dc716f79b6fe29232a.bundle.js +0 -2
  194. package/dist/75881.54dc716f79b6fe29232a.bundle.js.map +0 -1
  195. package/dist/78070.13538271878de6a98862.bundle.js +0 -2
  196. package/dist/78070.13538271878de6a98862.bundle.js.map +0 -1
  197. package/dist/7815.2aec5ebbcd434f5582ff.bundle.js.map +0 -1
  198. package/dist/78681.9e1d4e064e9e1fb5fb21.bundle.js.map +0 -1
  199. package/dist/82206.229877d7931849236456.bundle.js.map +0 -1
  200. package/dist/94229.47dbdba202106c61dff1.bundle.js.map +0 -1
  201. package/dist/95953.ec1b9d5e568d43ec3dcf.bundle.js +0 -2
  202. package/dist/95953.ec1b9d5e568d43ec3dcf.bundle.js.map +0 -1
  203. package/dist/98268.86ff371dde616b4e2a76.bundle.js +0 -2
  204. package/dist/98268.86ff371dde616b4e2a76.bundle.js.map +0 -1
  205. package/dist/99448.2a87f387a8062617d893.bundle.js +0 -2
  206. package/dist/99448.2a87f387a8062617d893.bundle.js.map +0 -1
  207. package/dist/legacyWorkbench.40eba9e09196e1483221.js +0 -3
  208. package/dist/main.14f083264cd64618d96a.js +0 -3
  209. package/dist/main.14f083264cd64618d96a.js.map +0 -1
  210. package/dist/shared-components/cjs/app-globals-V2Kpy_OQ.js +0 -1
  211. package/dist/shared-components/cjs/index-L_ZmIeD5.js +0 -2
  212. package/dist/shared-components/esm/app-globals-DQuL1Twl.js +0 -1
  213. package/dist/shared-components/esm/index-CGqARDX4.js +0 -2
  214. package/dist/shared-components/shared-components/p-CGqARDX4.js +0 -2
  215. package/dist/shared-components/shared-components/p-DQuL1Twl.js +0 -1
  216. /package/dist/{legacyWorkbench.40eba9e09196e1483221.js.LICENSE.txt → legacyWorkbench.f1ed8e359786e8adeab2.js.LICENSE.txt} +0 -0
  217. /package/dist/{main.14f083264cd64618d96a.js.LICENSE.txt → main.a67c284710a8b9a98ca2.js.LICENSE.txt} +0 -0
  218. /package/dist/shared-components/cjs/{index-L_ZmIeD5.js.LICENSE.txt → index-CTK5NoJt.js.LICENSE.txt} +0 -0
  219. /package/dist/shared-components/esm/{index-CGqARDX4.js.LICENSE.txt → index-EiAqSNMq.js.LICENSE.txt} +0 -0
  220. /package/dist/shared-components/shared-components/{p-CGqARDX4.js.LICENSE.txt → p-EiAqSNMq.js.LICENSE.txt} +0 -0
@@ -1,2 +1,2 @@
1
- export const __webpack_esm_id__=10759;export const __webpack_esm_ids__=[10759];export const __webpack_esm_modules__={10759(t,o,e){e.r(o),e.d(o,{onto_toastr:()=>i});var s=e(55508),a=e(57154),r=e(79939);const n={[a.ToastType.INFO]:"ri-information-2-fill",[a.ToastType.SUCCESS]:"ri-checkbox-circle-line",[a.ToastType.WARNING]:"ri-message-line",[a.ToastType.ERROR]:"ri-alert-line"},i=class{constructor(t){(0,s.r)(this,t),this.toasts=new a.ToastMessageList([]),this.toastToTimeout=new Map,this.config=a.ToastrConfig.getDefaultConfig(),this.onToastMouseEnter=t=>()=>{this.clearToastTimeout(t)},this.onToastMouseLeave=t=>()=>{this.setTimeoutForToast(t)}}handleToastCreate(t){this.addToast(t.detail)}render(){var t;return(0,s.h)("section",{key:"2d8a4bf8daa44b240995ecc4a22e3551a4287054",style:{display:this.toasts.isEmpty()?"none":"flex"},class:`onto-toastr-container ${this.config.position}`},null===(t=this.toasts)||void 0===t?void 0:t.getItems().map(t=>{var o,e,a;return(0,s.h)("div",{class:`onto-toast toast ${t.type}`,key:t.id,onMouseEnter:this.onToastMouseEnter(t),onMouseLeave:this.onToastMouseLeave(t),onClick:this.handleToastClick(t),onKeyUp:this.handleKeyUp(t)},(0,s.h)("i",{class:`${n[t.type]}`}),(0,s.h)("span",null,(null===(o=t.config)||void 0===o?void 0:o.title)?(0,s.h)("div",{class:"toast-title",innerHTML:(0,r.s)(r.T.translate(t.config.title,null===(e=t.config)||void 0===e?void 0:e.translationParams))}):"",(0,s.h)("div",{class:"toast-message",innerHTML:(0,r.s)(r.T.translate(t.message,null===(a=t.config)||void 0===a?void 0:a.translationParams))})))}))}addToast(t){this.toasts.addToStart(t),this.setTimeoutForToast(t),this.updateToastrReference()}setTimeoutForToast(t){var o;const e=a.WindowService.getWindow().setTimeout(()=>{this.toasts.remove(t),this.clearToastTimeout(t)},(null===(o=t.config)||void 0===o?void 0:o.timeout)||this.config.timeout);this.toastToTimeout.set(t,e)}updateToastrReference(){this.toasts=new a.ToastMessageList(this.toasts.getItems())}clearToastTimeout(t){const o=this.toastToTimeout.get(t);clearTimeout(o),this.toastToTimeout.delete(t),this.updateToastrReference()}handleToastClick(t){return o=>{var e,s;(null===(e=t.config)||void 0===e?void 0:e.onClick)&&t.config.onClick(o),(null===(s=t.config)||void 0===s?void 0:s.removeOnClick)&&(this.toasts.remove(t),this.clearToastTimeout(t))}}handleKeyUp(t){return o=>{"Enter"===o.key&&this.handleToastClick(t)}}};i.style=".onto-toastr-container{position:fixed;z-index:9999999;pointer-events:auto;flex-direction:column}.onto-toastr-container.bottom-right{bottom:12px;right:12px}.onto-toastr-container.bottom-left{bottom:12px;left:12px}.onto-toastr-container .onto-toast{display:flex;align-items:center;border-radius:0;box-shadow:0 0 12px rgba(0, 0, 0, 0.3);position:relative;width:400px;padding:25px 0;color:white;margin-bottom:5px;overflow-wrap:break-word}.onto-toastr-container .onto-toast:hover{box-shadow:0 0 12px #000;opacity:1;cursor:pointer}.onto-toastr-container .onto-toast.warning{color:var(--gw-toast-warn-color);background-color:var(--gw-toast-warn-background);border-color:var(--gw-toast-warn-border-color)}.onto-toastr-container .onto-toast.success{background-color:var(--gw-toast-success-background);border-color:var(--gw-toast-success-border-color);color:var(--gw-toast-success-color)}.onto-toastr-container .onto-toast.error{background-color:var(--gw-toast-error-background);border-color:var(--gw-toast-error-border-color);color:var(--gw-toast-error-color)}.onto-toastr-container .onto-toast.info{background-color:var(--gw-toast-info-background);border-color:var(--gw-toast-info-border-color);color:var(--gw-toast-info-color)}.onto-toastr-container .onto-toast i{font-size:1.8rem;padding:0 20px;color:inherit}.onto-toastr-container .onto-toast i:hover{transform:none}.onto-toastr-container .onto-toast .toast-message{font-size:1.2rem;opacity:1;max-width:370px}"},79939(t,o,e){e.d(o,{L:()=>r,T:()=>i,s:()=>a});var s=e(57154);function a(t){const o=document.createElement("textarea");return o.innerHTML=t,o.value}class r{static get logger(){return s.Loggers.getLoggerInstance("SharedComponents")}}class n{constructor(){this.languageContextService=s.ServiceProvider.get(s.LanguageContextService),this.translationChangedObservers={},this.logger=r.logger,this.defaultBundle=this.languageContextService.getDefaultBundle(),this.subscribeToBundleChange()}onTranslate(t,o=[],e=()=>{}){this.translationChangedObservers[t]=this.translationChangedObservers[t]||[];const s={parameters:o,callback:e};return this.translationChangedObservers[t].push(s),e(this.translate(t,o)),()=>{const o=this.translationChangedObservers[t].indexOf(s);-1!==o&&this.translationChangedObservers[t].splice(o,1)}}translate(t,o){return this.translateInLocale(t,o)}translateInLocale(t,o){let e=this.translateFromBundle(this.currentBundle,t);return e||(e=this.translateFromBundle(this.defaultBundle,t)),e?(e=this.applyParameters(e,o),a(e)):(this.logger.warn(`Missing translation for key: [${t}]`),t)}translateFromBundle(t,o){if(!t)return;let e=t[o];return"string"!=typeof e&&(e=this.translateAsJsonObject(t,o)),e}translateAsJsonObject(t,o){let e=o.split(".");return this.getTranslation(t,e)}getTranslation(t,o){if(!o||!t)return;const e=t[o.splice(0,1)[0]];return 0===o.length?e:"string"!=typeof e?o.length>0?this.getTranslation(e,o):e:void 0}applyParameters(t,o){return o?o.reduce((t,o)=>n.replaceAll(t,o),t):t}static replaceAll(t,o){return o?t.split(`{{${o.key}}}`).join(o.value):t}notifyTranslationsChanged(){Object.keys(this.translationChangedObservers).forEach(t=>{(this.translationChangedObservers[t]||[]).forEach(o=>o.callback(this.translate(t,o.parameters)))})}subscribeToBundleChange(){this.languageChangeSubscription=this.languageContextService.onLanguageBundleChanged(t=>{t&&(this.currentBundle=t,this.notifyTranslationsChanged())})}destroy(){this.languageChangeSubscription&&this.languageChangeSubscription()}}const i=new n}};
2
- //# sourceMappingURL=10759.b2e1d643d681ebd9c124.bundle.js.map
1
+ export const __webpack_esm_id__=10759;export const __webpack_esm_ids__=[10759];export const __webpack_esm_modules__={10759(t,o,e){e.r(o),e.d(o,{onto_toastr:()=>i});var s=e(76133),a=e(57154),r=e(79939);const n={[a.ToastType.INFO]:"ri-information-2-fill",[a.ToastType.SUCCESS]:"ri-checkbox-circle-line",[a.ToastType.WARNING]:"ri-message-line",[a.ToastType.ERROR]:"ri-alert-line"},i=class{constructor(t){(0,s.r)(this,t),this.toasts=new a.ToastMessageList([]),this.toastToTimeout=new Map,this.config=a.ToastrConfig.getDefaultConfig(),this.onToastMouseEnter=t=>()=>{this.clearToastTimeout(t)},this.onToastMouseLeave=t=>()=>{this.setTimeoutForToast(t)}}handleToastCreate(t){this.addToast(t.detail)}render(){var t;return(0,s.h)("section",{key:"2d8a4bf8daa44b240995ecc4a22e3551a4287054",style:{display:this.toasts.isEmpty()?"none":"flex"},class:`onto-toastr-container ${this.config.position}`},null===(t=this.toasts)||void 0===t?void 0:t.getItems().map(t=>{var o,e,a;return(0,s.h)("div",{class:`onto-toast toast ${t.type}`,key:t.id,onMouseEnter:this.onToastMouseEnter(t),onMouseLeave:this.onToastMouseLeave(t),onClick:this.handleToastClick(t),onKeyUp:this.handleKeyUp(t)},(0,s.h)("i",{class:`${n[t.type]}`}),(0,s.h)("span",null,(null===(o=t.config)||void 0===o?void 0:o.title)?(0,s.h)("div",{class:"toast-title",innerHTML:(0,r.s)(r.T.translate(t.config.title,null===(e=t.config)||void 0===e?void 0:e.translationParams))}):"",(0,s.h)("div",{class:"toast-message",innerHTML:(0,r.s)(r.T.translate(t.message,null===(a=t.config)||void 0===a?void 0:a.translationParams))})))}))}addToast(t){this.toasts.addToStart(t),this.setTimeoutForToast(t),this.updateToastrReference()}setTimeoutForToast(t){var o;const e=a.WindowService.getWindow().setTimeout(()=>{this.toasts.remove(t),this.clearToastTimeout(t)},(null===(o=t.config)||void 0===o?void 0:o.timeout)||this.config.timeout);this.toastToTimeout.set(t,e)}updateToastrReference(){this.toasts=new a.ToastMessageList(this.toasts.getItems())}clearToastTimeout(t){const o=this.toastToTimeout.get(t);clearTimeout(o),this.toastToTimeout.delete(t),this.updateToastrReference()}handleToastClick(t){return o=>{var e,s;(null===(e=t.config)||void 0===e?void 0:e.onClick)&&t.config.onClick(o),(null===(s=t.config)||void 0===s?void 0:s.removeOnClick)&&(this.toasts.remove(t),this.clearToastTimeout(t))}}handleKeyUp(t){return o=>{"Enter"===o.key&&this.handleToastClick(t)}}};i.style=".onto-toastr-container{position:fixed;z-index:9999999;pointer-events:auto;flex-direction:column}.onto-toastr-container.bottom-right{bottom:12px;right:12px}.onto-toastr-container.bottom-left{bottom:12px;left:12px}.onto-toastr-container .onto-toast{display:flex;align-items:center;border-radius:0;box-shadow:0 0 12px rgba(0, 0, 0, 0.3);position:relative;width:400px;padding:25px 0;color:white;margin-bottom:5px;overflow-wrap:break-word}.onto-toastr-container .onto-toast:hover{box-shadow:0 0 12px #000;opacity:1;cursor:pointer}.onto-toastr-container .onto-toast.warning{color:var(--gw-toast-warn-color);background-color:var(--gw-toast-warn-background);border-color:var(--gw-toast-warn-border-color)}.onto-toastr-container .onto-toast.success{background-color:var(--gw-toast-success-background);border-color:var(--gw-toast-success-border-color);color:var(--gw-toast-success-color)}.onto-toastr-container .onto-toast.error{background-color:var(--gw-toast-error-background);border-color:var(--gw-toast-error-border-color);color:var(--gw-toast-error-color)}.onto-toastr-container .onto-toast.info{background-color:var(--gw-toast-info-background);border-color:var(--gw-toast-info-border-color);color:var(--gw-toast-info-color)}.onto-toastr-container .onto-toast i{font-size:1.8rem;padding:0 20px;color:inherit}.onto-toastr-container .onto-toast i:hover{transform:none}.onto-toastr-container .onto-toast .toast-message{font-size:1.2rem;opacity:1;max-width:370px}"},79939(t,o,e){e.d(o,{L:()=>r,T:()=>i,s:()=>a});var s=e(57154);function a(t){const o=document.createElement("textarea");return o.innerHTML=t,o.value}class r{static get logger(){return s.Loggers.getLoggerInstance("SharedComponents")}}class n{constructor(){this.languageContextService=s.ServiceProvider.get(s.LanguageContextService),this.translationChangedObservers={},this.logger=r.logger,this.defaultBundle=this.languageContextService.getDefaultBundle(),this.subscribeToBundleChange()}onTranslate(t,o=[],e=()=>{}){this.translationChangedObservers[t]=this.translationChangedObservers[t]||[];const s={parameters:o,callback:e};return this.translationChangedObservers[t].push(s),e(this.translate(t,o)),()=>{const o=this.translationChangedObservers[t].indexOf(s);-1!==o&&this.translationChangedObservers[t].splice(o,1)}}translate(t,o){return this.translateInLocale(t,o)}translateInLocale(t,o){let e=this.translateFromBundle(this.currentBundle,t);return e||(e=this.translateFromBundle(this.defaultBundle,t)),e?(e=this.applyParameters(e,o),a(e)):(this.logger.warn(`Missing translation for key: [${t}]`),t)}translateFromBundle(t,o){if(!t)return;let e=t[o];return"string"!=typeof e&&(e=this.translateAsJsonObject(t,o)),e}translateAsJsonObject(t,o){let e=o.split(".");return this.getTranslation(t,e)}getTranslation(t,o){if(!o||!t)return;const e=t[o.splice(0,1)[0]];return 0===o.length?e:"string"!=typeof e?o.length>0?this.getTranslation(e,o):e:void 0}applyParameters(t,o){return o?o.reduce((t,o)=>n.replaceAll(t,o),t):t}static replaceAll(t,o){return o?t.split(`{{${o.key}}}`).join(o.value):t}notifyTranslationsChanged(){Object.keys(this.translationChangedObservers).forEach(t=>{(this.translationChangedObservers[t]||[]).forEach(o=>o.callback(this.translate(t,o.parameters)))})}subscribeToBundleChange(){this.languageChangeSubscription=this.languageContextService.onLanguageBundleChanged(t=>{t&&(this.currentBundle=t,this.notifyTranslationsChanged())})}destroy(){this.languageChangeSubscription&&this.languageChangeSubscription()}}const i=new n}};
2
+ //# sourceMappingURL=10759.57059f90014058a86952.bundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"10759.57059f90014058a86952.bundle.js","mappings":"yMAIA,MAEMA,EAAqB,CACvB,CAACC,EAAAA,UAAUC,MAAO,wBAClB,CAACD,EAAAA,UAAUE,SAAU,0BACrB,CAACF,EAAAA,UAAUG,SAAU,kBACrB,CAACH,EAAAA,UAAUI,OAAQ,iBAEjBC,EAAa,MACfC,WAAAA,CAAYC,IACRC,EAAAA,EAAAA,GAAiBC,KAAMF,GAIvBE,KAAKC,OAAS,IAAIC,EAAAA,iBAAiB,IAInCF,KAAKG,eAAiB,IAAIC,IAE1BJ,KAAKK,OAASC,EAAAA,aAAaC,mBAC3BP,KAAKQ,kBAAqBC,GAAU,KAChCT,KAAKU,kBAAkBD,IAE3BT,KAAKW,kBAAqBF,GAAU,KAChCT,KAAKY,mBAAmBH,GAEhC,CAQAI,iBAAAA,CAAkBC,GACdd,KAAKe,SAASD,EAAME,OACxB,CACAC,MAAAA,GACI,IAAIC,EACJ,OAAQC,EAAAA,EAAAA,GAAE,UAAW,CAAEC,IAAK,2CAA4CC,MAAO,CAAEC,QAAStB,KAAKC,OAAOsB,UAAY,OAAS,QAAUC,MAAO,yBAAyBxB,KAAKK,OAAOoB,YAAqC,QAAtBP,EAAKlB,KAAKC,cAAgC,IAAZiB,OAAqB,EAAIA,EAAGQ,WAAWC,IAAKlB,IACtQ,IAAIS,EAAIU,EAAIC,EACZ,OAAQV,EAAAA,EAAAA,GAAE,MAAO,CAAEK,MAAO,oBAAoBf,EAAMqB,OAAQV,IAAKX,EAAMsB,GAAIC,aAAchC,KAAKQ,kBAAkBC,GAAQwB,aAAcjC,KAAKW,kBAAkBF,GAAQyB,QAASlC,KAAKmC,iBAAiB1B,GAAQ2B,QAASpC,KAAKqC,YAAY5B,KAAUU,EAAAA,EAAAA,GAAE,IAAK,CAA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F,cAAgBG,EACrB5F,KAAKwG,8BAGjB,CACAO,OAAAA,GACQ/G,KAAK6G,4BACL7G,KAAK6G,4BAEb,EAEJ,MAAMpE,EAAqB,IAAI0B,C","sources":["webpack://root-config/./packages/shared-components/dist/esm/onto-toastr.entry.js","webpack://root-config/./packages/shared-components/dist/esm/translation.service-nljGIprK.js"],"sourcesContent":["import { r as registerInstance, h } from './index-EiAqSNMq.js';\nimport { ToastMessageList, ToastrConfig, WindowService, ToastType } from '@ontotext/workbench-api';\nimport { s as sanitizeHTML, T as TranslationService } from './translation.service-nljGIprK.js';\n\nconst ontoToastrCss = \".onto-toastr-container{position:fixed;z-index:9999999;pointer-events:auto;flex-direction:column}.onto-toastr-container.bottom-right{bottom:12px;right:12px}.onto-toastr-container.bottom-left{bottom:12px;left:12px}.onto-toastr-container .onto-toast{display:flex;align-items:center;border-radius:0;box-shadow:0 0 12px rgba(0, 0, 0, 0.3);position:relative;width:400px;padding:25px 0;color:white;margin-bottom:5px;overflow-wrap:break-word}.onto-toastr-container .onto-toast:hover{box-shadow:0 0 12px #000;opacity:1;cursor:pointer}.onto-toastr-container .onto-toast.warning{color:var(--gw-toast-warn-color);background-color:var(--gw-toast-warn-background);border-color:var(--gw-toast-warn-border-color)}.onto-toastr-container .onto-toast.success{background-color:var(--gw-toast-success-background);border-color:var(--gw-toast-success-border-color);color:var(--gw-toast-success-color)}.onto-toastr-container .onto-toast.error{background-color:var(--gw-toast-error-background);border-color:var(--gw-toast-error-border-color);color:var(--gw-toast-error-color)}.onto-toastr-container .onto-toast.info{background-color:var(--gw-toast-info-background);border-color:var(--gw-toast-info-border-color);color:var(--gw-toast-info-color)}.onto-toastr-container .onto-toast i{font-size:1.8rem;padding:0 20px;color:inherit}.onto-toastr-container .onto-toast i:hover{transform:none}.onto-toastr-container .onto-toast .toast-message{font-size:1.2rem;opacity:1;max-width:370px}\";\n\nconst toastTypeToIconMap = {\n [ToastType.INFO]: 'ri-information-2-fill',\n [ToastType.SUCCESS]: 'ri-checkbox-circle-line',\n [ToastType.WARNING]: 'ri-message-line',\n [ToastType.ERROR]: 'ri-alert-line',\n};\nconst OntoToastr = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n /**\n * State containing the list of active toast messages\n */\n this.toasts = new ToastMessageList([]);\n /**\n * Map to track timeout IDs for each toast message\n */\n this.toastToTimeout = new Map();\n /** Configuration options, such as toast timeout */\n this.config = ToastrConfig.getDefaultConfig();\n this.onToastMouseEnter = (toast) => () => {\n this.clearToastTimeout(toast);\n };\n this.onToastMouseLeave = (toast) => () => {\n this.setTimeoutForToast(toast);\n };\n }\n /**\n * Listen for toast creation events\n *\n * @param event - Custom event containing the toast message to be displayed\n */\n // TODO Fix jest tests are failing- usage variables in stencil decorators is enabled since 4.3.0\n // see https://github.com/stenciljs/core/issues/2924\n handleToastCreate(event) {\n this.addToast(event.detail);\n }\n render() {\n var _a;\n return (h(\"section\", { key: '2d8a4bf8daa44b240995ecc4a22e3551a4287054', style: { display: this.toasts.isEmpty() ? 'none' : 'flex' }, class: `onto-toastr-container ${this.config.position}` }, (_a = this.toasts) === null || _a === void 0 ? void 0 : _a.getItems().map((toast) => {\n var _a, _b, _c;\n return (h(\"div\", { class: `onto-toast toast ${toast.type}`, key: toast.id, onMouseEnter: this.onToastMouseEnter(toast), onMouseLeave: this.onToastMouseLeave(toast), onClick: this.handleToastClick(toast), onKeyUp: this.handleKeyUp(toast) }, h(\"i\", { class: `${toastTypeToIconMap[toast.type]}` }), h(\"span\", null, ((_a = toast.config) === null || _a === void 0 ? void 0 : _a.title) ?\n h(\"div\", { class: \"toast-title\", innerHTML: sanitizeHTML(TranslationService.translate(toast.config.title, (_b = toast.config) === null || _b === void 0 ? void 0 : _b.translationParams)) }) : '', h(\"div\", { class: \"toast-message\", innerHTML: sanitizeHTML(TranslationService.translate(toast.message, (_c = toast.config) === null || _c === void 0 ? void 0 : _c.translationParams)) }))));\n })));\n }\n /**\n * Adds a new toast message.\n * The message is added to the start of the list, so new toasts appear on top.\n * The toast is also set to automatically be removed after the specified timeout.\n *\n * @param toast - The toast message to be added\n */\n addToast(toast) {\n this.toasts.addToStart(toast);\n this.setTimeoutForToast(toast);\n this.updateToastrReference();\n }\n /**\n * Sets a timeout for automatic removal of a toast message.\n * The value of the timeout is determined by the toast's configuration, or the default timeout, if\n * the toast hasn't provided a value\n *\n * @param toast - The toast message to set timeout for\n */\n setTimeoutForToast(toast) {\n var _a;\n const timeout = WindowService.getWindow().setTimeout(() => {\n this.toasts.remove(toast);\n this.clearToastTimeout(toast);\n }, ((_a = toast.config) === null || _a === void 0 ? void 0 : _a.timeout) || this.config.timeout);\n this.toastToTimeout.set(toast, timeout);\n }\n /**\n * Updates the toast list reference to trigger re-rendering\n */\n updateToastrReference() {\n this.toasts = new ToastMessageList(this.toasts.getItems());\n }\n /**\n * Clears the timeout for a toast message and removes it from the tracking map\n * When a user hovers over a toast message, the timeout is cleared, since the toast should\n * remain visible until the user stops hovering.\n *\n * @param toast - The toast message whose timeout should be cleared\n */\n clearToastTimeout(toast) {\n const timeoutId = this.toastToTimeout.get(toast);\n clearTimeout(timeoutId);\n this.toastToTimeout.delete(toast);\n this.updateToastrReference();\n }\n /**\n * Handle click events on toast messages.\n * Executes the configured onClick callback for the toast message, if provided.\n * Removes the toast message, if the removeOnClick configuration is enabled.\n *\n * @param toast - The clicked toast message\n * @returns An event handler function that processes click events on the toast\n */\n handleToastClick(toast) {\n return (event) => {\n var _a, _b;\n if ((_a = toast.config) === null || _a === void 0 ? void 0 : _a.onClick) {\n toast.config.onClick(event);\n }\n if ((_b = toast.config) === null || _b === void 0 ? void 0 : _b.removeOnClick) {\n this.toasts.remove(toast);\n this.clearToastTimeout(toast);\n }\n };\n }\n handleKeyUp(toast) {\n return (event) => {\n if (event.key === 'Enter') {\n this.handleToastClick(toast);\n }\n };\n }\n};\nOntoToastr.style = ontoToastrCss;\n\nexport { OntoToastr as onto_toastr };\n","import { Loggers, ServiceProvider, LanguageContextService } from '@ontotext/workbench-api';\n\nfunction sanitizeHTML(html) {\n const element = document.createElement('textarea');\n element.innerHTML = html;\n return element.value;\n}\n\nconst MODULE_NAME = 'SharedComponents';\n/**\n * Logger for the Shared Components module.\n */\nclass LoggerProvider {\n /**\n * Gets the logger instance for the Shared Components module.\n *\n * @returns LoggerService instance for the Shared Components module\n */\n static get logger() {\n return Loggers.getLoggerInstance(MODULE_NAME);\n }\n}\n\n/**\n * Service responsible for translation operations in the component.\n */\nclass TranslationServiceClassDefinition {\n constructor() {\n this.languageContextService = ServiceProvider.get(LanguageContextService);\n this.translationChangedObservers = {};\n this.logger = LoggerProvider.logger;\n // log with background color\n this.defaultBundle = this.languageContextService.getDefaultBundle();\n this.subscribeToBundleChange();\n }\n /**\n * Translates the <code>messageLabelKey</code> with <code>translationParameter</code> and call <code>translationCallback</code> with translation of current language.\n * The <code>translationCallback</code> is called upon subscription and whenever the selected language is changed.\n *\n * @param messageLabelKey - The label key for the translation.\n * @param translationParameter - Parameters, if needed, for translation.\n * @param translationCallback - A function to be called when translating the `messageLabelKey`.\n * @returns A function that, when called, unsubscribes the provided callback from further translation updates.\n */\n onTranslate(messageLabelKey, translationParameter = [], translationCallback = () => { }) {\n this.translationChangedObservers[messageLabelKey] = this.translationChangedObservers[messageLabelKey] || [];\n const observer = { parameters: translationParameter, callback: translationCallback };\n this.translationChangedObservers[messageLabelKey].push(observer);\n translationCallback(this.translate(messageLabelKey, translationParameter));\n return () => {\n const index = this.translationChangedObservers[messageLabelKey].indexOf(observer);\n if (index !== -1) {\n this.translationChangedObservers[messageLabelKey].splice(index, 1);\n }\n };\n }\n /**\n * Translates the provided key using the currently selected language by applying the parameters if\n * provided.\n * @param key The key for the label which needs to be translated.\n * @param parameters Optional parameters which to be applied during the translation.\n */\n translate(key, parameters) {\n return this.translateInLocale(key, parameters);\n }\n /**\n * Translates a given key into the specified locale. If parameters are provided,\n * they will be applied to the translation.\n *\n * @param key - The translation key, which can be dot-separated for nested translations.\n * @param parameters - Optional parameters to be substituted into the translation string.\n * @returns The translated string with parameters applied if available, or the key itself if not found.\n */\n translateInLocale(key, parameters) {\n // Attempt to retrieve the translation from the specified locale's bundle.\n let translation = this.translateFromBundle(this.currentBundle, key);\n // If not found, fall back to the default language bundle.\n if (!translation) {\n translation = this.translateFromBundle(this.defaultBundle, key);\n }\n // If translation was found, apply any parameters provided and return the result.\n if (translation) {\n translation = this.applyParameters(translation, parameters);\n return sanitizeHTML(translation);\n }\n this.logger.warn(`Missing translation for key: [${key}]`);\n return key;\n }\n /**\n * Retrieves a translation from a specified translation bundle using the given key.\n * If the key represents a nested JSON path, it attempts to resolve the key as such.\n *\n * @param bundle - The translation bundle for the specified locale.\n * @param key - The key to translate, which may be a simple key or dot-separated for nested keys.\n * @returns The translation string if found, or `undefined` if not available.\n */\n translateFromBundle(bundle, key) {\n if (!bundle) {\n return undefined;\n }\n // Try to retrieve the translation directly if it is defined as a whole string,\n // for instance as \"some_function.btn.label\".\n let translation = bundle[key];\n // If not found, attempt to retrieve the translation if it is defined as a JSON object.\n if (typeof translation !== 'string') {\n translation = this.translateAsJsonObject(bundle, key);\n }\n return translation;\n }\n /**\n * Resolves a nested translation key by treating it as a path in a JSON object.\n * For example, if the key is \"some.key.path\", this method will navigate through\n * the JSON object structure to retrieve the value at that path.\n *\n * @param bundle - The translation bundle containing nested keys.\n * @param key - The dot-separated key representing the path to the translation.\n * @returns The translation string if found, or `undefined` if the path does not exist.\n */\n translateAsJsonObject(bundle, key) {\n let path = key.split('.');\n return this.getTranslation(bundle, path);\n }\n /**\n * Recursively navigates through a JSON object based on a path array to retrieve\n * a translation string. Each element in the path array represents a nested key.\n *\n * @param jsonObject - The current JSON object or nested object being searched.\n * @param path - An array representing the path to the translation, where each element is a key.\n * @returns The translation string if found, or `undefined` if the path does not exist.\n */\n getTranslation(jsonObject, path) {\n // Stop the recursion if path or reach the inner element\n if (!path || !jsonObject) {\n return undefined;\n }\n const jsonOrTranslation = jsonObject[path.splice(0, 1)[0]];\n if (path.length === 0) {\n return jsonOrTranslation;\n }\n if (typeof jsonOrTranslation !== 'string') {\n // continue if the inner element is not reached.\n if (path.length > 0) {\n return this.getTranslation(jsonOrTranslation, path);\n }\n return jsonOrTranslation;\n }\n return undefined;\n }\n applyParameters(translation, parameters) {\n if (parameters) {\n return parameters.reduce(\n // replace all occurrence of parameter key with parameter value.\n (translation, parameter) => TranslationServiceClassDefinition.replaceAll(translation, parameter), translation);\n }\n return translation;\n }\n static replaceAll(translation, parameter) {\n return parameter ? translation.split(`{{${parameter.key}}}`).join(parameter.value) : translation;\n }\n notifyTranslationsChanged() {\n Object.keys(this.translationChangedObservers).forEach((eventName) => {\n const observers = this.translationChangedObservers[eventName] || [];\n observers.forEach((observer) => observer.callback(this.translate(eventName, observer.parameters)));\n });\n }\n subscribeToBundleChange() {\n this.languageChangeSubscription = this.languageContextService.onLanguageBundleChanged((bundle) => {\n if (bundle) {\n this.currentBundle = bundle;\n this.notifyTranslationsChanged();\n }\n });\n }\n destroy() {\n if (this.languageChangeSubscription) {\n this.languageChangeSubscription();\n }\n }\n}\nconst TranslationService = new TranslationServiceClassDefinition();\n\nexport { LoggerProvider as L, TranslationService as T, sanitizeHTML as s };\n"],"names":["toastTypeToIconMap","ToastType","INFO","SUCCESS","WARNING","ERROR","OntoToastr","constructor","hostRef","registerInstance","this","toasts","ToastMessageList","toastToTimeout","Map","config","ToastrConfig","getDefaultConfig","onToastMouseEnter","toast","clearToastTimeout","onToastMouseLeave","setTimeoutForToast","handleToastCreate","event","addToast","detail","render","_a","h","key","style","display","isEmpty","class","position","getItems","map","_b","_c","type","id","onMouseEnter","onMouseLeave","onClick","handleToastClick","onKeyUp","handleKeyUp","title","innerHTML","sanitizeHTML","TranslationService","translate","translationParams","message","addToStart","updateToastrReference","timeout","WindowService","getWindow","setTimeout","remove","set","timeoutId","get","clearTimeout","delete","removeOnClick","html","element","document","createElement","value","LoggerProvider","logger","Loggers","getLoggerInstance","TranslationServiceClassDefinition","languageContextService","ServiceProvider","LanguageContextService","translationChangedObservers","defaultBundle","getDefaultBundle","subscribeToBundleChange","onTranslate","messageLabelKey","translationParameter","translationCallback","observer","parameters","callback","push","index","indexOf","splice","translateInLocale","translation","translateFromBundle","currentBundle","applyParameters","warn","bundle","translateAsJsonObject","path","split","getTranslation","jsonObject","jsonOrTranslation","length","reduce","parameter","replaceAll","join","notifyTranslationsChanged","Object","keys","forEach","eventName","languageChangeSubscription","onLanguageBundleChanged","destroy"],"ignoreList":[],"sourceRoot":""}
@@ -1,2 +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,h){angular.extend(this,u("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"}));const m=(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});m.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,s.history.back()},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=h.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.d7107e7549453805e13a.bundle.js.map
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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acy-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__=18961;export const __webpack_esm_ids__=[18961];export const __webpack_esm_modules__={18961(o,t,n){n.r(t),n.d(t,{onto_dropdown:()=>s});var e=n(55508),r=n(79939),i=n(28499),d=n(84987),l=n(44123);n(57154);const s=class{constructor(o){(0,e.r)(this,o),this.valueChanged=(0,e.c)(this,"valueChanged"),this.logger=r.L.logger,this.GUIDE_SELECTOR_ATTR="guide-selector",this.open=!1,this.buttonTooltipContent="",this.iconClass="",this.tooltipPlacement=l.O.LEFT,this.dropdownAlignment=i.D.LEFT,this.autoClose=!1,this.toggleButtonClickHandler=()=>{d.T.destroyTooltip(this.dropdownButtonElement),this.buttonTooltipContent="",this.clearDropdownItemTooltips(),this.toggleComponent()}}keydownListener(o){"Escape"===o.key&&this.closeMenu()}mouseClickListener(o){const t=o.target;this.autoClose&&!this.hostElement.contains(t)&&this.closeMenu()}componentDidUpdate(){this.dropdownButtonElement&&(this.buttonTooltipContent&&""!==this.buttonTooltipContent?d.T.updateTooltipContent(this.dropdownButtonElement,this.buttonTooltipContent):d.T.destroyTooltip(this.dropdownButtonElement))}render(){var o,t;const n=this.dropdownAlignment===i.D.RIGHT?"onto-dropdown-right-item-alignment":"onto-dropdown-left-item-alignment",r="function"==typeof this.tooltipPlacement?this.tooltipPlacement(this.open):this.tooltipPlacement;return(0,e.h)("div",{key:"36e8f37b8188fd8de748890b64e323346fd93d1d",class:"onto-dropdown "+(this.open?"open":"closed")},(0,e.h)("button",Object.assign({key:"079c4a67fc1e5d85d5cccb66c604308eaab6bcbc",class:"onto-dropdown-button",ref:o=>this.dropdownButtonElement=o},this.dropdownButtonGuideSelector?{[this.GUIDE_SELECTOR_ATTR]:this.dropdownButtonGuideSelector}:{},{"tooltip-placement":r,"tooltip-content":this.buttonTooltipContent},this.tooltipTheme?{"tooltip-theme":this.tooltipTheme}:{},{onMouseEnter:this.setDropdownButtonTooltip(),onClick:this.toggleButtonClickHandler}),this.iconClass?(0,e.h)("i",{class:"button-icon ri-lg "+this.iconClass}):"",(0,e.h)("span",{key:"3a258b3105ff250ea6565140db7d95096e33aaa3",class:"button-name"},null!==(o=this.dropdownButtonName)&&void 0!==o?o:this.translate(this.dropdownButtonNameLabelKey)),(0,e.h)("i",{key:"6efadb314fa809e7c7b49825699f4b5abd9b3bc0",class:"ri-arrow-down-s-line "+(this.open?"rotate-180":"")})),(0,e.h)("div",{key:"c6dd9f644a166347e5a34eb483520d82bc23270c",class:"onto-dropdown-menu "+n},null===(t=this.items)||void 0===t?void 0:t.map(o=>{var t;return(0,e.h)("button",Object.assign({class:"onto-dropdown-menu-item "+o.cssClass},o.guideSelector?{[this.GUIDE_SELECTOR_ATTR]:o.guideSelector}:{},{"tooltip-placement":l.O.LEFT},this.tooltipTheme?{"tooltip-theme":this.tooltipTheme}:{},{onMouseEnter:this.setDropdownItemTooltip(o),onClick:this.itemClickHandler(o.value)}),o.iconClass?(0,e.h)("span",{class:"onto-dropdown-option-icon "+o.iconClass}):"",(0,e.h)("span",null,null!==(t=o.name)&&void 0!==t?t:this.translate(o.nameLabelKey)))})))}setDropdownButtonTooltip(){return async()=>{var o;let t;t="function"==typeof this.dropdownButtonTooltip?await this.getTooltipContent(this.dropdownButtonTooltip):null!==(o=this.dropdownButtonTooltip)&&void 0!==o?o:this.translate(this.dropdownButtonTooltipLabelKey),this.buttonTooltipContent=t}}setDropdownItemTooltip(o){return async t=>{var n;const e=t.currentTarget;if("function"==typeof o.tooltip){let t=await this.getTooltipContent(o.tooltip);e.setAttribute("tooltip-content",t)}else e.setAttribute("tooltip-content",null!==(n=o.tooltip)&&void 0!==n?n:this.translate(o.tooltipLabelKey))}}clearDropdownItemTooltips(){this.hostElement.querySelectorAll(".onto-dropdown-menu-item").forEach(o=>{d.T.destroyTooltip(o),o.setAttribute("tooltip-content","")})}itemClickHandler(o){return()=>this.onSelect(o)}translate(o){return o?r.T.translate(o):""}onSelect(o){this.open=!1,this.valueChanged.emit(o)}toggleComponent(){this.open=!this.open}closeMenu(){this.open=!1}async getTooltipContent(o){let t="";try{t=await o()}catch(o){this.logger.error(o)}return t}get hostElement(){return(0,e.g)(this)}};s.style=":host{display:block}.onto-dropdown{position:relative;width:fit-content}.onto-dropdown.closed .onto-dropdown-menu{display:none}.onto-dropdown.open .onto-dropdown-button{color:var(--gw-button-primary-color);background-color:var(--gw-button-primary-background);border-color:var(--gw-button-primary-border-color)}.onto-dropdown.open .onto-dropdown-button .button-icon{color:var(--gw-button-primary-icon-color)}.onto-dropdown.open .onto-dropdown-button:hover{color:var(--gw-button-primary-hover-color);background-color:var(--gw-button-primary-hover-background);border-color:var(--gw-button-primary-hover-border-color)}.onto-dropdown .onto-dropdown-button{display:flex;flex-direction:row;gap:0.3em;align-items:center;font-size:1rem;font-weight:400;padding:0.4em 1rem;line-height:1.5;outline:none;background-color:var(--gw-button-secondary-background);border:1px solid var(--gw-button-secondary-border-color);color:var(--gw-button-secondary-color);transition:all 0.15s ease-out}.onto-dropdown .onto-dropdown-button .button-icon{color:var(--gw-button-secondary-icon-color)}.onto-dropdown .onto-dropdown-button .ri-arrow-down-s-line{font-size:1.1em;transition:all 0.2s ease-in}.onto-dropdown .onto-dropdown-button:hover{background-color:var(--gw-button-secondary-hover-background);border:1px solid var(--gw-button-secondary-hover-border-color);color:var(--gw-button-secondary-hover-color)}.onto-dropdown .onto-dropdown-menu{position:absolute;margin:0;padding:0;z-index:1000;overflow-y:auto;max-height:340px;min-width:100%}.onto-dropdown .onto-dropdown-menu-item{display:block;text-decoration:none;font-size:1rem;font-weight:400;padding:0.5em 1.2em;color:var(--gw-button-primary-color);background-color:var(--gw-button-primary-background);text-align:end;white-space:nowrap;border:none;outline:none;width:100%}.onto-dropdown .onto-dropdown-menu-item:hover{cursor:pointer;color:var(--gw-button-primary-hover-color);background-color:var(--gw-button-primary-hover-background);border-color:var(--gw-button-primary-hover-border-color)}.onto-dropdown .onto-dropdown-menu-item:hover .item-icon{transform:scale(1.2)}.onto-dropdown .onto-dropdown-button:hover{cursor:pointer}.onto-dropdown .onto-dropdown-button:hover .button-icon{transform:scale(1.2)}.onto-dropdown .onto-dropdown-option-icon{margin-right:0.2em}.onto-dropdown .onto-dropdown-right-item-alignment{right:0;left:auto}"},28499(o,t,n){var e;n.d(t,{D:()=>e}),function(o){o.RIGHT="right",o.LEFT="left"}(e||(e={}))}};
2
- //# sourceMappingURL=18961.01ff5fcc0f4b9f99236e.bundle.js.map
1
+ export const __webpack_esm_id__=18961;export const __webpack_esm_ids__=[18961];export const __webpack_esm_modules__={18961(o,t,n){n.r(t),n.d(t,{onto_dropdown:()=>s});var e=n(76133),r=n(79939),i=n(28499),d=n(84987),l=n(44123);n(57154);const s=class{constructor(o){(0,e.r)(this,o),this.valueChanged=(0,e.d)(this,"valueChanged"),this.logger=r.L.logger,this.GUIDE_SELECTOR_ATTR="guide-selector",this.open=!1,this.buttonTooltipContent="",this.iconClass="",this.tooltipPlacement=l.O.LEFT,this.dropdownAlignment=i.D.LEFT,this.autoClose=!1,this.toggleButtonClickHandler=()=>{d.T.destroyTooltip(this.dropdownButtonElement),this.buttonTooltipContent="",this.clearDropdownItemTooltips(),this.toggleComponent()}}keydownListener(o){"Escape"===o.key&&this.closeMenu()}mouseClickListener(o){const t=o.target;this.autoClose&&!this.hostElement.contains(t)&&this.closeMenu()}componentDidUpdate(){this.dropdownButtonElement&&(this.buttonTooltipContent&&""!==this.buttonTooltipContent?d.T.updateTooltipContent(this.dropdownButtonElement,this.buttonTooltipContent):d.T.destroyTooltip(this.dropdownButtonElement))}render(){var o,t;const n=this.dropdownAlignment===i.D.RIGHT?"onto-dropdown-right-item-alignment":"onto-dropdown-left-item-alignment",r="function"==typeof this.tooltipPlacement?this.tooltipPlacement(this.open):this.tooltipPlacement;return(0,e.h)("div",{key:"36e8f37b8188fd8de748890b64e323346fd93d1d",class:"onto-dropdown "+(this.open?"open":"closed")},(0,e.h)("button",Object.assign({key:"079c4a67fc1e5d85d5cccb66c604308eaab6bcbc",class:"onto-dropdown-button",ref:o=>this.dropdownButtonElement=o},this.dropdownButtonGuideSelector?{[this.GUIDE_SELECTOR_ATTR]:this.dropdownButtonGuideSelector}:{},{"tooltip-placement":r,"tooltip-content":this.buttonTooltipContent},this.tooltipTheme?{"tooltip-theme":this.tooltipTheme}:{},{onMouseEnter:this.setDropdownButtonTooltip(),onClick:this.toggleButtonClickHandler}),this.iconClass?(0,e.h)("i",{class:"button-icon ri-lg "+this.iconClass}):"",(0,e.h)("span",{key:"3a258b3105ff250ea6565140db7d95096e33aaa3",class:"button-name"},null!==(o=this.dropdownButtonName)&&void 0!==o?o:this.translate(this.dropdownButtonNameLabelKey)),(0,e.h)("i",{key:"6efadb314fa809e7c7b49825699f4b5abd9b3bc0",class:"ri-arrow-down-s-line "+(this.open?"rotate-180":"")})),(0,e.h)("div",{key:"c6dd9f644a166347e5a34eb483520d82bc23270c",class:"onto-dropdown-menu "+n},null===(t=this.items)||void 0===t?void 0:t.map(o=>{var t;return(0,e.h)("button",Object.assign({class:"onto-dropdown-menu-item "+o.cssClass},o.guideSelector?{[this.GUIDE_SELECTOR_ATTR]:o.guideSelector}:{},{"tooltip-placement":l.O.LEFT},this.tooltipTheme?{"tooltip-theme":this.tooltipTheme}:{},{onMouseEnter:this.setDropdownItemTooltip(o),onClick:this.itemClickHandler(o.value)}),o.iconClass?(0,e.h)("span",{class:"onto-dropdown-option-icon "+o.iconClass}):"",(0,e.h)("span",null,null!==(t=o.name)&&void 0!==t?t:this.translate(o.nameLabelKey)))})))}setDropdownButtonTooltip(){return async()=>{var o;let t;t="function"==typeof this.dropdownButtonTooltip?await this.getTooltipContent(this.dropdownButtonTooltip):null!==(o=this.dropdownButtonTooltip)&&void 0!==o?o:this.translate(this.dropdownButtonTooltipLabelKey),this.buttonTooltipContent=t}}setDropdownItemTooltip(o){return async t=>{var n;const e=t.currentTarget;if("function"==typeof o.tooltip){let t=await this.getTooltipContent(o.tooltip);e.setAttribute("tooltip-content",t)}else e.setAttribute("tooltip-content",null!==(n=o.tooltip)&&void 0!==n?n:this.translate(o.tooltipLabelKey))}}clearDropdownItemTooltips(){this.hostElement.querySelectorAll(".onto-dropdown-menu-item").forEach(o=>{d.T.destroyTooltip(o),o.setAttribute("tooltip-content","")})}itemClickHandler(o){return()=>this.onSelect(o)}translate(o){return o?r.T.translate(o):""}onSelect(o){this.open=!1,this.valueChanged.emit(o)}toggleComponent(){this.open=!this.open}closeMenu(){this.open=!1}async getTooltipContent(o){let t="";try{t=await o()}catch(o){this.logger.error(o)}return t}get hostElement(){return(0,e.c)(this)}};s.style=":host{display:block}.onto-dropdown{position:relative;width:fit-content}.onto-dropdown.closed .onto-dropdown-menu{display:none}.onto-dropdown.open .onto-dropdown-button{color:var(--gw-button-primary-color);background-color:var(--gw-button-primary-background);border-color:var(--gw-button-primary-border-color)}.onto-dropdown.open .onto-dropdown-button .button-icon{color:var(--gw-button-primary-icon-color)}.onto-dropdown.open .onto-dropdown-button:hover{color:var(--gw-button-primary-hover-color);background-color:var(--gw-button-primary-hover-background);border-color:var(--gw-button-primary-hover-border-color)}.onto-dropdown .onto-dropdown-button{display:flex;flex-direction:row;gap:0.3em;align-items:center;font-size:1rem;font-weight:400;padding:0.4em 1rem;line-height:1.5;outline:none;background-color:var(--gw-button-secondary-background);border:1px solid var(--gw-button-secondary-border-color);color:var(--gw-button-secondary-color);transition:all 0.15s ease-out}.onto-dropdown .onto-dropdown-button .button-icon{color:var(--gw-button-secondary-icon-color)}.onto-dropdown .onto-dropdown-button .ri-arrow-down-s-line{font-size:1.1em;transition:all 0.2s ease-in}.onto-dropdown .onto-dropdown-button:hover{background-color:var(--gw-button-secondary-hover-background);border:1px solid var(--gw-button-secondary-hover-border-color);color:var(--gw-button-secondary-hover-color)}.onto-dropdown .onto-dropdown-menu{position:absolute;margin:0;padding:0;z-index:1000;overflow-y:auto;max-height:340px;min-width:100%}.onto-dropdown .onto-dropdown-menu-item{display:block;text-decoration:none;font-size:1rem;font-weight:400;padding:0.5em 1.2em;color:var(--gw-button-primary-color);background-color:var(--gw-button-primary-background);text-align:end;white-space:nowrap;border:none;outline:none;width:100%}.onto-dropdown .onto-dropdown-menu-item:hover{cursor:pointer;color:var(--gw-button-primary-hover-color);background-color:var(--gw-button-primary-hover-background);border-color:var(--gw-button-primary-hover-border-color)}.onto-dropdown .onto-dropdown-menu-item:hover .item-icon{transform:scale(1.2)}.onto-dropdown .onto-dropdown-button:hover{cursor:pointer}.onto-dropdown .onto-dropdown-button:hover .button-icon{transform:scale(1.2)}.onto-dropdown .onto-dropdown-option-icon{margin-right:0.2em}.onto-dropdown .onto-dropdown-right-item-alignment{right:0;left:auto}"},28499(o,t,n){var e;n.d(t,{D:()=>e}),function(o){o.RIGHT="right",o.LEFT="left"}(e||(e={}))}};
2
+ //# sourceMappingURL=18961.732c0c355509452ac6da.bundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"18961.732c0c355509452ac6da.bundle.js","mappings":"0OAOA,MAEMA,EAAe,MACjBC,WAAAA,CAAYC,IACRC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,cAAeC,EAAAA,EAAAA,GAAYF,KAAM,gBACtCA,KAAKG,OAASC,EAAAA,EAAeD,OAC7BH,KAAKK,oBAAsB,iBAI3BL,KAAKM,MAAO,EAIZN,KAAKO,qBAAuB,GAI5BP,KAAKQ,UAAY,GAOjBR,KAAKS,iBAAmBC,EAAAA,EAAqBC,KAK7CX,KAAKY,kBAAoBC,EAAAA,EAAsBF,KAI/CX,KAAKc,WAAY,EACjBd,KAAKe,yBAA2B,KAC5BC,EAAAA,EAAYC,eAAejB,KAAKkB,uBAChClB,KAAKO,qBAAuB,GAC5BP,KAAKmB,4BACLnB,KAAKoB,kBAEb,CAOAC,eA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AuB7D,KAAK+D,kBAAkBX,EAAKe,SACvDzC,EAAO0C,aAAa,kBAAmBP,EAC3C,MAEInC,EAAO0C,aAAa,kBAA2C,QAAvBpC,EAAKoB,EAAKe,eAAiC,IAAZnC,EAAgBA,EAAKhC,KAAKgD,UAAUI,EAAKiB,kBAG5H,CACAlD,yBAAAA,GACInB,KAAK2B,YACA2C,iBAAiB,4BACjBC,QAAS9B,IACVzB,EAAAA,EAAYC,eAAewB,GAC3BA,EAAG2B,aAAa,kBAAmB,KAE3C,CACAZ,gBAAAA,CAAiBC,GACb,MAAO,IAAMzD,KAAKwE,SAASf,EAC/B,CACAT,SAAAA,CAAUzB,GACN,OAAOA,EAAMkD,EAAAA,EAAmBzB,UAAUzB,GAAO,EACrD,CACAiD,QAAAA,CAASf,GACLzD,KAAKM,MAAO,EACZN,KAAKC,aAAayE,KAAKjB,EAC3B,CACArC,eAAAA,GACIpB,KAAKM,MAAQN,KAAKM,IACtB,CACAkB,SAAAA,GACIxB,KAAKM,MAAO,CAChB,CACA,uBAAMyD,CAAkBY,GACpB,IAAId,EAAiB,GACrB,IACIA,QAAuBc,GAC3B,CACA,MAAOC,GACH5E,KAAKG,OAAOyE,MAAMA,EACtB,CACA,OAAOf,CACX,CACA,eAAIlC,GAAgB,OAAOkD,EAAAA,EAAAA,GAAW7E,KAAO,GAEjDJ,EAAakF,MApJW,4zE,eCPxB,IAAIjE,E,iBACJ,SAAWA,GACPA,EAA6B,MAAI,QACjCA,EAA4B,KAAI,MACnC,CAHD,CAGGA,IAA0BA,EAAwB,CAAC,G","sources":["webpack://root-config/./packages/shared-components/dist/esm/onto-dropdown.entry.js","webpack://root-config/./packages/shared-components/dist/esm/dropdown-item-alignment-DghTf3pJ.js"],"sourcesContent":["import { r as registerInstance, d as createEvent, h, c as getElement } from './index-EiAqSNMq.js';\nimport { L as LoggerProvider, T as TranslationService } from './translation.service-nljGIprK.js';\nimport { D as DropdownItemAlignment } from './dropdown-item-alignment-DghTf3pJ.js';\nimport { T as TooltipUtil } from './tooltip-util-CzsgdbCC.js';\nimport { O as OntoTooltipPlacement } from './onto-tooltip-placement-D_J2-9CG.js';\nimport '@ontotext/workbench-api';\n\nconst ontoDropdownCss = \":host{display:block}.onto-dropdown{position:relative;width:fit-content}.onto-dropdown.closed .onto-dropdown-menu{display:none}.onto-dropdown.open .onto-dropdown-button{color:var(--gw-button-primary-color);background-color:var(--gw-button-primary-background);border-color:var(--gw-button-primary-border-color)}.onto-dropdown.open .onto-dropdown-button .button-icon{color:var(--gw-button-primary-icon-color)}.onto-dropdown.open .onto-dropdown-button:hover{color:var(--gw-button-primary-hover-color);background-color:var(--gw-button-primary-hover-background);border-color:var(--gw-button-primary-hover-border-color)}.onto-dropdown .onto-dropdown-button{display:flex;flex-direction:row;gap:0.3em;align-items:center;font-size:1rem;font-weight:400;padding:0.4em 1rem;line-height:1.5;outline:none;background-color:var(--gw-button-secondary-background);border:1px solid var(--gw-button-secondary-border-color);color:var(--gw-button-secondary-color);transition:all 0.15s ease-out}.onto-dropdown .onto-dropdown-button .button-icon{color:var(--gw-button-secondary-icon-color)}.onto-dropdown .onto-dropdown-button .ri-arrow-down-s-line{font-size:1.1em;transition:all 0.2s ease-in}.onto-dropdown .onto-dropdown-button:hover{background-color:var(--gw-button-secondary-hover-background);border:1px solid var(--gw-button-secondary-hover-border-color);color:var(--gw-button-secondary-hover-color)}.onto-dropdown .onto-dropdown-menu{position:absolute;margin:0;padding:0;z-index:1000;overflow-y:auto;max-height:340px;min-width:100%}.onto-dropdown .onto-dropdown-menu-item{display:block;text-decoration:none;font-size:1rem;font-weight:400;padding:0.5em 1.2em;color:var(--gw-button-primary-color);background-color:var(--gw-button-primary-background);text-align:end;white-space:nowrap;border:none;outline:none;width:100%}.onto-dropdown .onto-dropdown-menu-item:hover{cursor:pointer;color:var(--gw-button-primary-hover-color);background-color:var(--gw-button-primary-hover-background);border-color:var(--gw-button-primary-hover-border-color)}.onto-dropdown .onto-dropdown-menu-item:hover .item-icon{transform:scale(1.2)}.onto-dropdown .onto-dropdown-button:hover{cursor:pointer}.onto-dropdown .onto-dropdown-button:hover .button-icon{transform:scale(1.2)}.onto-dropdown .onto-dropdown-option-icon{margin-right:0.2em}.onto-dropdown .onto-dropdown-right-item-alignment{right:0;left:auto}\";\n\nconst OntoDropdown = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.valueChanged = createEvent(this, \"valueChanged\");\n this.logger = LoggerProvider.logger;\n this.GUIDE_SELECTOR_ATTR = 'guide-selector';\n /**\n * Indicates whether the dropdown menu is open.\n */\n this.open = false;\n /**\n * Holds the content of the tooltip\n */\n this.buttonTooltipContent = '';\n /**\n * Icon class for the main dropdown button.\n */\n this.iconClass = '';\n /**\n * Specifies the items tooltip placement. Accepts a string of the placement or a function that returns the placement.\n * The function takes the isOpen parameter as a boolean and returns the placement as a string.\n * If not provided, the tooltip will be placed to the left.\n *\n */\n this.tooltipPlacement = OntoTooltipPlacement.LEFT;\n /**\n * Specifies the dropdown items' alignment. If not provided, the items and the dropdown button will be aligned to the left.\n *\n */\n this.dropdownAlignment = DropdownItemAlignment.LEFT;\n /**\n * Flag to determine if the dropdown should close automatically when a click occurs outside the dropdown.\n */\n this.autoClose = false;\n this.toggleButtonClickHandler = () => {\n TooltipUtil.destroyTooltip(this.dropdownButtonElement);\n this.buttonTooltipContent = '';\n this.clearDropdownItemTooltips();\n this.toggleComponent();\n };\n }\n /**\n * Listens for the Escape key keydown event globally.\n * Closes the dropdown menu if the Escape key is pressed.\n *\n * @param ev The keyboard event triggered by the Escape key.\n */\n keydownListener(ev) {\n if (ev.key === 'Escape') {\n this.closeMenu();\n }\n }\n /**\n * Listens for mouse click events globally.\n * Closes the dropdown menu if the click occurs outside the dropdown.\n *\n * @param ev The mouse event triggered by a click.\n */\n mouseClickListener(ev) {\n const target = ev.target;\n if (this.autoClose && !this.hostElement.contains(target)) {\n this.closeMenu();\n }\n }\n componentDidUpdate() {\n if (this.dropdownButtonElement) {\n if (this.buttonTooltipContent && this.buttonTooltipContent !== '') {\n TooltipUtil.updateTooltipContent(this.dropdownButtonElement, this.buttonTooltipContent);\n }\n else {\n TooltipUtil.destroyTooltip(this.dropdownButtonElement);\n }\n }\n }\n render() {\n var _a, _b;\n const dropdownAlignmentClass = this.dropdownAlignment === DropdownItemAlignment.RIGHT\n ? 'onto-dropdown-right-item-alignment' : 'onto-dropdown-left-item-alignment';\n const tooltipPlacement = typeof this.tooltipPlacement === 'function' ? this.tooltipPlacement(this.open) : this.tooltipPlacement;\n return (h(\"div\", { key: '36e8f37b8188fd8de748890b64e323346fd93d1d', class: `onto-dropdown ${this.open ? 'open' : 'closed'}` }, h(\"button\", Object.assign({ key: '079c4a67fc1e5d85d5cccb66c604308eaab6bcbc', class: \"onto-dropdown-button\", ref: (el) => this.dropdownButtonElement = el }, (this.dropdownButtonGuideSelector ? { [this.GUIDE_SELECTOR_ATTR]: this.dropdownButtonGuideSelector } : {}), { \"tooltip-placement\": tooltipPlacement, \"tooltip-content\": this.buttonTooltipContent }, (this.tooltipTheme ? { 'tooltip-theme': this.tooltipTheme } : {}), { onMouseEnter: this.setDropdownButtonTooltip(), onClick: this.toggleButtonClickHandler }), this.iconClass ? h(\"i\", { class: 'button-icon ri-lg ' + this.iconClass }) : '', h(\"span\", { key: '3a258b3105ff250ea6565140db7d95096e33aaa3', class: 'button-name' }, (_a = this.dropdownButtonName) !== null && _a !== void 0 ? _a : this.translate(this.dropdownButtonNameLabelKey)), h(\"i\", { key: '6efadb314fa809e7c7b49825699f4b5abd9b3bc0', class: `ri-arrow-down-s-line ${this.open ? 'rotate-180' : ''}` })), h(\"div\", { key: 'c6dd9f644a166347e5a34eb483520d82bc23270c', class: 'onto-dropdown-menu ' + dropdownAlignmentClass }, (_b = this.items) === null || _b === void 0 ? void 0 : _b.map((item) => {\n var _a;\n return h(\"button\", Object.assign({ class: 'onto-dropdown-menu-item ' + item.cssClass }, (item.guideSelector ? { [this.GUIDE_SELECTOR_ATTR]: item.guideSelector } : {}), { \"tooltip-placement\": OntoTooltipPlacement.LEFT }, (this.tooltipTheme ? { 'tooltip-theme': this.tooltipTheme } : {}), { onMouseEnter: this.setDropdownItemTooltip(item), onClick: this.itemClickHandler(item.value) }), item.iconClass ? h(\"span\", { class: 'onto-dropdown-option-icon ' + item.iconClass }) : '', h(\"span\", null, (_a = item.name) !== null && _a !== void 0 ? _a : this.translate(item.nameLabelKey)));\n }))));\n }\n setDropdownButtonTooltip() {\n return async () => {\n var _a;\n let tooltipContent;\n if (typeof this.dropdownButtonTooltip === 'function') {\n tooltipContent = await this.getTooltipContent(this.dropdownButtonTooltip);\n }\n else {\n tooltipContent = (_a = this.dropdownButtonTooltip) !== null && _a !== void 0 ? _a : this.translate(this.dropdownButtonTooltipLabelKey);\n }\n this.buttonTooltipContent = tooltipContent;\n };\n }\n setDropdownItemTooltip(item) {\n return async (event) => {\n var _a;\n const target = event.currentTarget;\n if (typeof item.tooltip === 'function') {\n let tooltipContent = await this.getTooltipContent(item.tooltip);\n target.setAttribute('tooltip-content', tooltipContent);\n }\n else {\n target.setAttribute('tooltip-content', (_a = item.tooltip) !== null && _a !== void 0 ? _a : this.translate(item.tooltipLabelKey));\n }\n };\n }\n clearDropdownItemTooltips() {\n this.hostElement\n .querySelectorAll('.onto-dropdown-menu-item')\n .forEach((el) => {\n TooltipUtil.destroyTooltip(el);\n el.setAttribute('tooltip-content', '');\n });\n }\n itemClickHandler(value) {\n return () => this.onSelect(value);\n }\n translate(key) {\n return key ? TranslationService.translate(key) : '';\n }\n onSelect(value) {\n this.open = false;\n this.valueChanged.emit(value);\n }\n toggleComponent() {\n this.open = !this.open;\n }\n closeMenu() {\n this.open = false;\n }\n async getTooltipContent(tooltipFunction) {\n let tooltipContent = '';\n try {\n tooltipContent = await tooltipFunction();\n }\n catch (error) {\n this.logger.error(error);\n }\n return tooltipContent;\n }\n get hostElement() { return getElement(this); }\n};\nOntoDropdown.style = ontoDropdownCss;\n\nexport { OntoDropdown as onto_dropdown };\n","var DropdownItemAlignment;\n(function (DropdownItemAlignment) {\n DropdownItemAlignment[\"RIGHT\"] = \"right\";\n DropdownItemAlignment[\"LEFT\"] = \"left\";\n})(DropdownItemAlignment || (DropdownItemAlignment = {}));\n\nexport { DropdownItemAlignment as D };\n"],"names":["OntoDropdown","constructor","hostRef","registerInstance","this","valueChanged","createEvent","logger","LoggerProvider","GUIDE_SELECTOR_ATTR","open","buttonTooltipContent","iconClass","tooltipPlacement","OntoTooltipPlacement","LEFT","dropdownAlignment","DropdownItemAlignment","autoClose","toggleButtonClickHandler","TooltipUtil","destroyTooltip","dropdownButtonElement","clearDropdownItemTooltips","toggleComponent","keydownListener","ev","key","closeMenu","mouseClickListener","target","hostElement","contains","componentDidUpdate","updateTooltipContent","render","_a","_b","dropdownAlignmentClass","RIGHT","h","class","Object","assign","ref","el","dropdownButtonGuideSelector","tooltipTheme","onMouseEnter","setDropdownButtonTooltip","onClick","dropdownButtonName","translate","dropdownButtonNameLabelKey","items","map","item","cssClass","guideSelector","setDropdownItemTooltip","itemClickHandler","value","name","nameLabelKey","async","tooltipContent","dropdownButtonTooltip","getTooltipContent","dropdownButtonTooltipLabelKey","event","currentTarget","tooltip","setAttribute","tooltipLabelKey","querySelectorAll","forEach","onSelect","TranslationService","emit","tooltipFunction","error","getElement","style"],"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 : 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
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(76133),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.03b5abf23347ae0bad65.bundle.js.map
@@ -1 +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,wBAAyB,aACzB,oBAAqB,SACrB,qBAAsB,UACtB,iCAAkC,sBAClC,gCAAiC,qBACjC,4BAA6B,sCAC7B,wBAAyB,yCACzB,oCAAqC,oCACrC,0BAA2B,2CAC3B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,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":""}
1
+ {"version":3,"file":"20694.03b5abf23347ae0bad65.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,wBAAyB,aACzB,oBAAqB,SACrB,qBAAsB,UACtB,iCAAkC,sBAClC,gCAAiC,qBACjC,4BAA6B,sCAC7B,wBAAyB,yCACzB,oCAAqC,oCACrC,0BAA2B,2CAC3B,gCAAiC,iCACjC,uBAAwB,SACxB,mBAAoB,QACpB,iBAAkB,MAClB,kBAAmB,qBACnB,0BAA2B,eAC3B,2BAA4B,iBAC5B,8BAA+B,mBAC/B,yBAA0B,cAC1B,qBAAsB,UACtB,wBAAyB,aACzB,wBAAyB,aACzB,0BAA2B,eAC3B,kBAAmB,OACnB,6BAA8B,mBAC9B,qBAAsB,UACtB,kBAAmB,OACnB,gCAAiC,qBACjC,sBAAuB,WACvB,2BAA4B,gBAC5B,uBAAwB,YACxB,qBAAsB,UACtB,oBAAqB,qBACrB,qBAAsB,UACtB,qBAAsB,UACtB,yCAA0C,sBAC1C,gCAAiC,qBACjC,qBAAsB,eACtB,sBAAuB,WACvBC,kBAnK2B,CAC3BC,YAAa,CACZC,MAAO,kBACPC,QAAS,6BAEVC,SAAU,CACTV,GAAI,CACHQ,MAAO,sBACPC,QAAS,CACRE,SAAU,mBACVC,aAAc,+BAGhBC,GAAI,CACHL,MAAO,uBACPC,QAAS,CACRE,SAAU,mBACVC,aAAc,oCAmJjB,sBAAuB,CACvBE,IAAK,CACJC,OAAQ,oBACRC,gBAAiB,8BAElBP,QAAS,CACRQ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AAA,GACIM,EAAAA,gBAAgBC,IAAIoC,EAAAA,wBAAwBiC,0BAA2BC,IAC/DA,GACAjF,KAAK8C,eAAemC,IAGhC,CAUAvC,eAAAA,CAAgBJ,GACZ,MAAM4C,EAA+BxE,EAAAA,gBAAgBC,IAAIyB,EAAAA,8BACnD+C,EAAyBzE,EAAAA,gBAAgBC,IAAIuB,EAAAA,wBAC7CkD,EAAuB1E,EAAAA,gBAAgBC,IAAI0E,EAAAA,sBACjDH,EAA6BI,kBACAhB,EAAAA,EAAAA,SAAQiB,EAAAA,sBACKC,gBAAgBlD,GAC7CmD,aAAa/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-EiAqSNMq.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":""}