graphdb-workbench 3.1.1-TR3 → 3.2.0-TR1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. package/README.md +45 -0
  2. package/dist/10142.f47cd2aec05492fce7ce.bundle.js +2 -0
  3. package/dist/10142.f47cd2aec05492fce7ce.bundle.js.map +1 -0
  4. package/dist/10406.52677950658780fd8859.bundle.js +2 -0
  5. package/dist/{10406.7fed4b667b0d2813b305.bundle.js.map → 10406.52677950658780fd8859.bundle.js.map} +1 -1
  6. package/dist/12358.2061f29dc113149946a3.bundle.js +3 -0
  7. package/dist/12358.2061f29dc113149946a3.bundle.js.map +1 -0
  8. package/dist/{12396.6a14b6f5e2006b200818.bundle.js → 12396.4c26c8da50c790b0f39a.bundle.js} +2 -2
  9. package/dist/{12396.6a14b6f5e2006b200818.bundle.js.map → 12396.4c26c8da50c790b0f39a.bundle.js.map} +1 -1
  10. package/dist/14874.d6973a34188c0335fa12.bundle.js +2 -0
  11. package/dist/14874.d6973a34188c0335fa12.bundle.js.map +1 -0
  12. package/dist/{15535.a192d8a2d5f76b626c81.bundle.js → 15535.ce8d657c04f3401b9539.bundle.js} +2 -2
  13. package/dist/{15535.a192d8a2d5f76b626c81.bundle.js.map → 15535.ce8d657c04f3401b9539.bundle.js.map} +1 -1
  14. package/dist/{16162.9cfcb9db05b9cef9ef2c.bundle.js → 16162.8f482628d1b34d41d496.bundle.js} +2 -2
  15. package/dist/{16162.9cfcb9db05b9cef9ef2c.bundle.js.map → 16162.8f482628d1b34d41d496.bundle.js.map} +1 -1
  16. package/dist/{18961.d83ba5fd0855f3cfa7d7.bundle.js → 18961.c6505525fb0491b48f8b.bundle.js} +2 -2
  17. package/dist/{18961.d83ba5fd0855f3cfa7d7.bundle.js.map → 18961.c6505525fb0491b48f8b.bundle.js.map} +1 -1
  18. package/dist/19968.fdb823f9a12e11a633ec.bundle.js +2 -0
  19. package/dist/19968.fdb823f9a12e11a633ec.bundle.js.map +1 -0
  20. package/dist/{20287.8922d85f31b5c32871fa.bundle.js → 20287.c42f9d1d913c36e46931.bundle.js} +2 -2
  21. package/dist/{20287.8922d85f31b5c32871fa.bundle.js.map → 20287.c42f9d1d913c36e46931.bundle.js.map} +1 -1
  22. package/dist/20694.70b6e390d6397249c72d.bundle.js.map +1 -1
  23. package/dist/{21136.56c47558cdf33e965b38.bundle.js → 21136.199caea09a1c9ad90393.bundle.js} +2 -2
  24. package/dist/{21136.56c47558cdf33e965b38.bundle.js.map → 21136.199caea09a1c9ad90393.bundle.js.map} +1 -1
  25. package/dist/{21142.93c830c0610f98d282df.bundle.js → 21142.b690e00c8884fddb2bb3.bundle.js} +2 -2
  26. package/dist/{21142.93c830c0610f98d282df.bundle.js.map → 21142.b690e00c8884fddb2bb3.bundle.js.map} +1 -1
  27. package/dist/{21170.40b856a0c1059be48ff7.bundle.js → 21170.d5e3041241741d21080c.bundle.js} +2 -2
  28. package/dist/{21170.40b856a0c1059be48ff7.bundle.js.map → 21170.d5e3041241741d21080c.bundle.js.map} +1 -1
  29. package/dist/{21195.96a947771170a900d9e0.bundle.js → 21195.267abc9d42b711d0f17a.bundle.js} +2 -2
  30. package/dist/{21195.96a947771170a900d9e0.bundle.js.map → 21195.267abc9d42b711d0f17a.bundle.js.map} +1 -1
  31. package/dist/{25747.ce7c2a7b48934c1426d2.bundle.js → 25747.4e00941ec221c4d6ce8f.bundle.js} +2 -2
  32. package/dist/{25747.ce7c2a7b48934c1426d2.bundle.js.map → 25747.4e00941ec221c4d6ce8f.bundle.js.map} +1 -1
  33. package/dist/{27580.0ef093964518f35c5118.bundle.js → 27580.f71ebbc69dd1c7785ef3.bundle.js} +2 -2
  34. package/dist/{27580.0ef093964518f35c5118.bundle.js.map → 27580.f71ebbc69dd1c7785ef3.bundle.js.map} +1 -1
  35. package/dist/28050.8ca1fa760c892bfc5466.bundle.js +2 -0
  36. package/dist/28050.8ca1fa760c892bfc5466.bundle.js.map +1 -0
  37. package/dist/{31636.43cac2fcf593e3258dc8.bundle.js → 31636.e34ccc2d6f2dec577446.bundle.js} +2 -2
  38. package/dist/{31636.43cac2fcf593e3258dc8.bundle.js.map → 31636.e34ccc2d6f2dec577446.bundle.js.map} +1 -1
  39. package/dist/{32489.e369df1e7dac02c0c364.bundle.js → 32489.97fac2c3daa49b143d13.bundle.js} +2 -2
  40. package/dist/{32489.e369df1e7dac02c0c364.bundle.js.map → 32489.97fac2c3daa49b143d13.bundle.js.map} +1 -1
  41. package/dist/32534.fb6ef715bfb44761ec63.bundle.js +2 -0
  42. package/dist/32534.fb6ef715bfb44761ec63.bundle.js.map +1 -0
  43. package/dist/{34495.0330520329177233edb1.bundle.js → 34495.cfa15bda8009fa37c6ff.bundle.js} +2 -2
  44. package/dist/{34495.0330520329177233edb1.bundle.js.map → 34495.cfa15bda8009fa37c6ff.bundle.js.map} +1 -1
  45. package/dist/{38360.386e744b1359deaf4b8e.bundle.js → 38360.0a90e77042876c86b279.bundle.js} +2 -2
  46. package/dist/{38360.386e744b1359deaf4b8e.bundle.js.map → 38360.0a90e77042876c86b279.bundle.js.map} +1 -1
  47. package/dist/38412.fa86361561ffa367709f.bundle.js +2 -0
  48. package/dist/38412.fa86361561ffa367709f.bundle.js.map +1 -0
  49. package/dist/{38644.5b75d86fdb1b61a01177.bundle.js → 38644.3a0954c798ec413a3810.bundle.js} +2 -2
  50. package/dist/{38644.5b75d86fdb1b61a01177.bundle.js.map → 38644.3a0954c798ec413a3810.bundle.js.map} +1 -1
  51. package/dist/{38843.cb5377dcb4da9cb3786d.bundle.js → 38843.5ef7a063337524ce3bb2.bundle.js} +2 -2
  52. package/dist/{38843.cb5377dcb4da9cb3786d.bundle.js.map → 38843.5ef7a063337524ce3bb2.bundle.js.map} +1 -1
  53. package/dist/{39518.ae7e3b16d56939b60efc.bundle.js → 39518.4199684f3273d29d9105.bundle.js} +2 -2
  54. package/dist/{39518.ae7e3b16d56939b60efc.bundle.js.map → 39518.4199684f3273d29d9105.bundle.js.map} +1 -1
  55. package/dist/{39539.f6e6e6cde9c6f9830cf7.bundle.js → 39539.c23e4878044d73f2505b.bundle.js} +2 -2
  56. package/dist/{39539.f6e6e6cde9c6f9830cf7.bundle.js.map → 39539.c23e4878044d73f2505b.bundle.js.map} +1 -1
  57. package/dist/{39874.c2d7cab1a65e5a869e78.bundle.js → 39874.f94a5059e1ae4f4a87e9.bundle.js} +2 -2
  58. package/dist/39874.f94a5059e1ae4f4a87e9.bundle.js.map +1 -0
  59. package/dist/{41453.e741eca570ac0a4c772a.bundle.js → 41453.8bb4c783da2c5077a6e9.bundle.js} +2 -2
  60. package/dist/{41453.e741eca570ac0a4c772a.bundle.js.map → 41453.8bb4c783da2c5077a6e9.bundle.js.map} +1 -1
  61. package/dist/{42129.0ef4171ed6a1984d759c.bundle.js → 42129.f44b7b20f9cd376c6e59.bundle.js} +2 -2
  62. package/dist/{42129.0ef4171ed6a1984d759c.bundle.js.map → 42129.f44b7b20f9cd376c6e59.bundle.js.map} +1 -1
  63. package/dist/{44444.dab617ddb7622503b87c.bundle.js → 44444.ad66c8256bc5b653de1a.bundle.js} +2 -2
  64. package/dist/{44444.dab617ddb7622503b87c.bundle.js.map → 44444.ad66c8256bc5b653de1a.bundle.js.map} +1 -1
  65. package/dist/44874.5854c207bbe2c4f2438e.bundle.js +2 -0
  66. package/dist/44874.5854c207bbe2c4f2438e.bundle.js.map +1 -0
  67. package/dist/45149.2f77aa736bbfb13fd987.bundle.js +2 -0
  68. package/dist/45149.2f77aa736bbfb13fd987.bundle.js.map +1 -0
  69. package/dist/45758.6ceb731cbe0576149f31.bundle.js +2 -0
  70. package/dist/45758.6ceb731cbe0576149f31.bundle.js.map +1 -0
  71. package/dist/{46591.ac9d19fd699104a9ed9b.bundle.js → 46591.0b142aa76a8991a89848.bundle.js} +2 -2
  72. package/dist/46591.0b142aa76a8991a89848.bundle.js.map +1 -0
  73. package/dist/{55862.8ef52c24ecad5d1b335f.bundle.js → 55862.1fb5abd075ba11a7e93c.bundle.js} +2 -2
  74. package/dist/{55862.8ef52c24ecad5d1b335f.bundle.js.map → 55862.1fb5abd075ba11a7e93c.bundle.js.map} +1 -1
  75. package/dist/{58306.69f132627b7aa8a2fd8b.bundle.js → 58306.ba9545cbaee021ebcbce.bundle.js} +2 -2
  76. package/dist/{58306.69f132627b7aa8a2fd8b.bundle.js.map → 58306.ba9545cbaee021ebcbce.bundle.js.map} +1 -1
  77. package/dist/{60560.024578077d95b851beea.bundle.js → 60560.37740d97b418899a5d21.bundle.js} +2 -2
  78. package/dist/{60560.024578077d95b851beea.bundle.js.map → 60560.37740d97b418899a5d21.bundle.js.map} +1 -1
  79. package/dist/67232.e76f40f9d09e64ebb365.bundle.js.map +1 -1
  80. package/dist/{67888.0e199b9af05ec62b2aac.bundle.js → 67888.7d4966e0a22ba655f1b8.bundle.js} +2 -2
  81. package/dist/{67888.0e199b9af05ec62b2aac.bundle.js.map → 67888.7d4966e0a22ba655f1b8.bundle.js.map} +1 -1
  82. package/dist/{72379.90c38d8cdf911698fd58.bundle.js → 72379.bac50d0011665a85b6cd.bundle.js} +2 -2
  83. package/dist/{72379.90c38d8cdf911698fd58.bundle.js.map → 72379.bac50d0011665a85b6cd.bundle.js.map} +1 -1
  84. package/dist/{73667.6eb291069cdbfa7ee5a0.bundle.js → 73667.3dd4f377e7ef54fd8758.bundle.js} +2 -2
  85. package/dist/{73667.6eb291069cdbfa7ee5a0.bundle.js.map → 73667.3dd4f377e7ef54fd8758.bundle.js.map} +1 -1
  86. package/dist/73779.193df86f08e3a1d06d67.bundle.js +2 -0
  87. package/dist/73779.193df86f08e3a1d06d67.bundle.js.map +1 -0
  88. package/dist/{73793.0f7acda985d6954bb4f8.bundle.js → 73793.6d80d47c26ed60a587fd.bundle.js} +2 -2
  89. package/dist/{73793.0f7acda985d6954bb4f8.bundle.js.map → 73793.6d80d47c26ed60a587fd.bundle.js.map} +1 -1
  90. package/dist/{75282.e691d50bb173673e70fc.bundle.js → 75282.88819e851ed18720b275.bundle.js} +2 -2
  91. package/dist/{75282.e691d50bb173673e70fc.bundle.js.map → 75282.88819e851ed18720b275.bundle.js.map} +1 -1
  92. package/dist/{75849.ac13a455c619510af005.bundle.js → 75849.51ade15bf0074eab76f3.bundle.js} +2 -2
  93. package/dist/{75849.ac13a455c619510af005.bundle.js.map → 75849.51ade15bf0074eab76f3.bundle.js.map} +1 -1
  94. package/dist/78013.e32fade7ad42b64c8122.bundle.js +2 -0
  95. package/dist/78013.e32fade7ad42b64c8122.bundle.js.map +1 -0
  96. package/dist/{78250.93a299876bba79ebbff4.bundle.js → 78250.6db42146a120459280e4.bundle.js} +2 -2
  97. package/dist/{78250.93a299876bba79ebbff4.bundle.js.map → 78250.6db42146a120459280e4.bundle.js.map} +1 -1
  98. package/dist/{78681.e44a1eb1dce4a8a29f57.bundle.js → 78681.39694d37c0f75ea04df6.bundle.js} +2 -2
  99. package/dist/{78681.e44a1eb1dce4a8a29f57.bundle.js.map → 78681.39694d37c0f75ea04df6.bundle.js.map} +1 -1
  100. package/dist/{79329.7f5eab5efab56b8c4f3d.bundle.js → 79329.5a5cbfa466d1c62af915.bundle.js} +2 -2
  101. package/dist/{79329.7f5eab5efab56b8c4f3d.bundle.js.map → 79329.5a5cbfa466d1c62af915.bundle.js.map} +1 -1
  102. package/dist/82206.8ec983edcf675cfd4531.bundle.js +2 -0
  103. package/dist/82206.8ec983edcf675cfd4531.bundle.js.map +1 -0
  104. package/dist/82896.9aed45baf67510717c6f.bundle.js +2 -0
  105. package/dist/82896.9aed45baf67510717c6f.bundle.js.map +1 -0
  106. package/dist/{82926.eb9ca3ba256ddcf218d6.bundle.js → 82926.93dbf44f2bcccba34e9b.bundle.js} +2 -2
  107. package/dist/{82926.eb9ca3ba256ddcf218d6.bundle.js.map → 82926.93dbf44f2bcccba34e9b.bundle.js.map} +1 -1
  108. package/dist/85281.27b5a1eb8e7ac2cf8459.bundle.js +2 -0
  109. package/dist/85281.27b5a1eb8e7ac2cf8459.bundle.js.map +1 -0
  110. package/dist/{88206.fbbcf8ccd9460c579e87.bundle.js → 88206.28c337e2edbf17928836.bundle.js} +2 -2
  111. package/dist/88206.28c337e2edbf17928836.bundle.js.map +1 -0
  112. package/dist/{9062.8b631bfc91a2ae919c46.bundle.js → 9062.d9049833d076191d3e1a.bundle.js} +2 -2
  113. package/dist/{9062.8b631bfc91a2ae919c46.bundle.js.map → 9062.d9049833d076191d3e1a.bundle.js.map} +1 -1
  114. package/dist/99379.be6c85ef305af6667dc1.bundle.js +2 -0
  115. package/dist/99379.be6c85ef305af6667dc1.bundle.js.map +1 -0
  116. package/dist/{99448.4b7fc65ec6dda3d684c5.bundle.js → 99448.314018d0afb1af150ddf.bundle.js} +2 -2
  117. package/dist/{99448.4b7fc65ec6dda3d684c5.bundle.js.map → 99448.314018d0afb1af150ddf.bundle.js.map} +1 -1
  118. package/dist/api/error/error-base.d.ts +1 -1
  119. package/dist/api/ontotext-workbench-api.js +1 -1
  120. package/dist/api/ontotext-workbench-api.js.map +1 -1
  121. package/dist/i18n/locale-en.json +31 -0
  122. package/dist/i18n/locale-fr.json +31 -0
  123. package/dist/index.html +8 -8
  124. package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +1 -1
  125. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  126. package/dist/js/angular/core/directives/dynamic-form/templates/dynamic-form.html +1 -1
  127. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  128. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  129. package/dist/js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html +1 -1
  130. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  131. package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
  132. package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
  133. package/dist/js/angular/core/templates/editable-content/editable-content.html +1 -1
  134. package/dist/js/angular/core/templates/markdown-content/markdown-content.html +1 -1
  135. package/dist/js/angular/core/templates/search-resource-input.html +1 -1
  136. package/dist/js/angular/graphql/templates/create-graphql-endpoint.html +4 -3
  137. package/dist/js/angular/graphql/templates/graphql-endpoint-management.html +1 -1
  138. package/dist/js/angular/graphql/templates/graphql-playground.html +1 -1
  139. package/dist/js/angular/graphql/templates/modal/endpoint-configuration-modal.html +1 -1
  140. package/dist/js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html +1 -1
  141. package/dist/js/angular/graphql/templates/modal/import-endpoint-definition-modal.html +1 -1
  142. package/dist/js/angular/security/templates/user.html +2 -2
  143. package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
  144. package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
  145. package/dist/js/angular/ttyg/templates/chat-item-detail.html +1 -1
  146. package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
  147. package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
  148. package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
  149. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +2 -2
  150. package/dist/js/angular/ttyg/templates/modal/external-integration-configuration-modal.html +1 -1
  151. package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
  152. package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
  153. package/dist/{legacyWorkbench.e60d05442435ec0d1bd0.js → legacyWorkbench.57fc12c172f6350ac4c5.js} +3 -3
  154. package/dist/{legacyWorkbench.e60d05442435ec0d1bd0.js.map → legacyWorkbench.57fc12c172f6350ac4c5.js.map} +1 -1
  155. package/dist/{main.400f2248f076a2d31d80.js → main.b9a83da68ffc43c91de0.js} +3 -3
  156. package/dist/{main.400f2248f076a2d31d80.js.map → main.b9a83da68ffc43c91de0.js.map} +1 -1
  157. package/dist/pages/aclmanagement.html +2 -2
  158. package/dist/pages/autocomplete.html +1 -1
  159. package/dist/pages/choose-repository-type.html +1 -1
  160. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  161. package/dist/pages/create-index.html +1 -1
  162. package/dist/pages/dependencies.html +1 -1
  163. package/dist/pages/domainRangeInfo.html +2 -2
  164. package/dist/pages/edit.html +1 -1
  165. package/dist/pages/explore.html +1 -1
  166. package/dist/pages/export.html +1 -1
  167. package/dist/pages/find.html +1 -1
  168. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  169. package/dist/pages/graphs-visualizations.html +7 -7
  170. package/dist/pages/guides.html +1 -1
  171. package/dist/pages/import.html +2 -2
  172. package/dist/pages/jdbc-create.html +1 -1
  173. package/dist/pages/login.html +1 -1
  174. package/dist/pages/monitor/backup-and-restore.html +1 -1
  175. package/dist/pages/monitor/queries.html +1 -1
  176. package/dist/pages/monitor/resources.html +1 -1
  177. package/dist/pages/namespaces.html +2 -2
  178. package/dist/pages/plugins.html +1 -1
  179. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  180. package/dist/pages/rdfrank.html +2 -2
  181. package/dist/pages/repositories.html +1 -1
  182. package/dist/pages/repository.html +1 -1
  183. package/dist/pages/similarity-indexes.html +1 -1
  184. package/dist/pages/sparql-editor.html +1 -1
  185. package/dist/pages/sparql-template-create.html +1 -1
  186. package/dist/pages/ux-test1.html +2 -2
  187. package/dist/pages/webapi.html +2 -2
  188. package/dist/plugins.js +1 -1
  189. package/dist/res/swagger5/css/onto-theme.css +1 -1
  190. package/dist/res/swagger5/index.html +11 -11
  191. package/dist/shared-components/cjs/onto-cookie-consent_2.cjs.entry.js +1 -1
  192. package/dist/shared-components/cjs/onto-dialog_2.cjs.entry.js +1 -1
  193. package/dist/shared-components/cjs/onto-dropdown.cjs.entry.js +1 -1
  194. package/dist/shared-components/cjs/onto-footer_6.cjs.entry.js +1 -1
  195. package/dist/shared-components/cjs/onto-language-selector_9.cjs.entry.js +1 -1
  196. package/dist/shared-components/cjs/onto-layout.cjs.entry.js +1 -1
  197. package/dist/shared-components/cjs/translate-label.cjs.entry.js +1 -1
  198. package/dist/shared-components/collection/components/dialogs/onto-cookie-policy-dialog/onto-cookie-policy-dialog.js +1 -1
  199. package/dist/shared-components/collection/components/dialogs/onto-dialog.js +1 -1
  200. package/dist/shared-components/collection/components/onto-cookie-consent/onto-cookie-consent.js +1 -1
  201. package/dist/shared-components/collection/components/onto-dropdown/onto-dropdown.js +1 -1
  202. package/dist/shared-components/collection/components/onto-footer/onto-footer.js +1 -1
  203. package/dist/shared-components/collection/components/onto-header/onto-header.js +1 -1
  204. package/dist/shared-components/collection/components/onto-language-selector/onto-language-selector.js +1 -1
  205. package/dist/shared-components/collection/components/onto-layout/onto-layout.js +1 -1
  206. package/dist/shared-components/collection/components/onto-navbar/navbar-model.js +1 -1
  207. package/dist/shared-components/collection/components/onto-navbar/navbar-service.js +1 -1
  208. package/dist/shared-components/collection/components/onto-operations-notification/onto-operations-notification.js +1 -1
  209. package/dist/shared-components/collection/components/onto-rdf-search/onto-rdf-search.js +1 -1
  210. package/dist/shared-components/collection/components/onto-repository-selector/onto-repository-selector.js +1 -1
  211. package/dist/shared-components/collection/components/onto-search-icon/onto-search-icon.js +1 -1
  212. package/dist/shared-components/collection/components/onto-search-resource-input/onto-search-resource-input.js +1 -1
  213. package/dist/shared-components/collection/components/onto-toastr/onto-toastr.js +1 -1
  214. package/dist/shared-components/collection/components/onto-toggle-switch/onto-toggle-switch.js +1 -1
  215. package/dist/shared-components/collection/components/onto-tooltip/onto-tooltip.js +1 -1
  216. package/dist/shared-components/collection/components/translate-label/translate-label.js +1 -1
  217. package/dist/shared-components/esm/onto-cookie-consent_2.entry.js +1 -1
  218. package/dist/shared-components/esm/onto-dialog_2.entry.js +1 -1
  219. package/dist/shared-components/esm/onto-dropdown.entry.js +1 -1
  220. package/dist/shared-components/esm/onto-footer_6.entry.js +1 -1
  221. package/dist/shared-components/esm/onto-language-selector_9.entry.js +1 -1
  222. package/dist/shared-components/esm/onto-layout.entry.js +1 -1
  223. package/dist/shared-components/esm/translate-label.entry.js +1 -1
  224. package/dist/shared-components/shared-components/p-17bac1e3.entry.js +1 -0
  225. package/dist/shared-components/shared-components/p-1bc2ac8e.entry.js +1 -0
  226. package/dist/shared-components/shared-components/p-2433b25f.entry.js +1 -0
  227. package/dist/shared-components/shared-components/p-25fa0ee5.entry.js +1 -0
  228. package/dist/shared-components/shared-components/{p-a4e82a3f.entry.js → p-6266be98.entry.js} +1 -1
  229. package/dist/shared-components/shared-components/{p-eed8b067.entry.js → p-91ad7f7f.entry.js} +1 -1
  230. package/dist/shared-components/shared-components/p-aef0b970.entry.js +1 -0
  231. package/dist/shared-components/shared-components/shared-components.esm.js +1 -1
  232. package/dist/shared-components/types/components/onto-dropdown/onto-dropdown.d.ts +2 -2
  233. package/dist/shared-components/types/components/onto-navbar/navbar-model.d.ts +4 -1
  234. package/dist/shared-components/types/components/onto-navbar/navbar-toggled-event.d.ts +1 -1
  235. package/dist/shared-components/types/components/onto-navbar/onto-navbar.d.ts +2 -2
  236. package/dist/shared-components/types/components/onto-test-context/onto-test-context.d.ts +23 -23
  237. package/dist/shared-components/types/components/onto-tooltip/models/onto-tooltip-configuration.d.ts +1 -2
  238. package/dist/shared-components/types/components.d.ts +4 -4
  239. package/dist/shared-components/types/models/component-event.d.ts +1 -1
  240. package/dist/shared-components/types/utils/function-utils.d.ts +1 -1
  241. package/dist/shared-components/types/utils/tooltip-util.d.ts +2 -2
  242. package/dist/workbench/workbench/workbenchApp.js +1 -1
  243. package/package.json +8 -2
  244. package/dist/10142.6a276ff32f58aa4d1b72.bundle.js +0 -2
  245. package/dist/10142.6a276ff32f58aa4d1b72.bundle.js.map +0 -1
  246. package/dist/10153.1532fddd43604bf408c3.bundle.js +0 -2
  247. package/dist/10153.1532fddd43604bf408c3.bundle.js.map +0 -1
  248. package/dist/10406.7fed4b667b0d2813b305.bundle.js +0 -2
  249. package/dist/12358.736ea9c178c92655de3a.bundle.js +0 -3
  250. package/dist/12358.736ea9c178c92655de3a.bundle.js.map +0 -1
  251. package/dist/14874.17bc671b6ff6123b9eb1.bundle.js +0 -2
  252. package/dist/14874.17bc671b6ff6123b9eb1.bundle.js.map +0 -1
  253. package/dist/28050.1359d262b2e2c497ad6d.bundle.js +0 -2
  254. package/dist/28050.1359d262b2e2c497ad6d.bundle.js.map +0 -1
  255. package/dist/32534.73081e468e918a03bd70.bundle.js +0 -2
  256. package/dist/32534.73081e468e918a03bd70.bundle.js.map +0 -1
  257. package/dist/32606.376e14770ba6e81b7159.bundle.js +0 -2
  258. package/dist/32606.376e14770ba6e81b7159.bundle.js.map +0 -1
  259. package/dist/38412.85b4c12f5ed5ffb6e4dd.bundle.js +0 -2
  260. package/dist/38412.85b4c12f5ed5ffb6e4dd.bundle.js.map +0 -1
  261. package/dist/39874.c2d7cab1a65e5a869e78.bundle.js.map +0 -1
  262. package/dist/44874.60bab9adf89019b35654.bundle.js +0 -2
  263. package/dist/44874.60bab9adf89019b35654.bundle.js.map +0 -1
  264. package/dist/45758.4e363b98020c3460b4ff.bundle.js +0 -2
  265. package/dist/45758.4e363b98020c3460b4ff.bundle.js.map +0 -1
  266. package/dist/46591.ac9d19fd699104a9ed9b.bundle.js.map +0 -1
  267. package/dist/58163.747b20ea052b22b24bd0.bundle.js +0 -2
  268. package/dist/58163.747b20ea052b22b24bd0.bundle.js.map +0 -1
  269. package/dist/73779.c4608b73b63083cb3352.bundle.js +0 -2
  270. package/dist/73779.c4608b73b63083cb3352.bundle.js.map +0 -1
  271. package/dist/82206.b3b37c3e0cc1aa18148c.bundle.js +0 -2
  272. package/dist/82206.b3b37c3e0cc1aa18148c.bundle.js.map +0 -1
  273. package/dist/85281.049ddec87de0b8b07e79.bundle.js +0 -2
  274. package/dist/85281.049ddec87de0b8b07e79.bundle.js.map +0 -1
  275. package/dist/88206.fbbcf8ccd9460c579e87.bundle.js.map +0 -1
  276. package/dist/99379.d5dffb14dd46150e91f9.bundle.js +0 -2
  277. package/dist/99379.d5dffb14dd46150e91f9.bundle.js.map +0 -1
  278. package/dist/shared-components/shared-components/p-106d7df8.entry.js +0 -1
  279. package/dist/shared-components/shared-components/p-17ce51bb.entry.js +0 -1
  280. package/dist/shared-components/shared-components/p-306527cc.entry.js +0 -1
  281. package/dist/shared-components/shared-components/p-96e87635.entry.js +0 -1
  282. package/dist/shared-components/shared-components/p-af359495.entry.js +0 -1
  283. /package/dist/{12358.736ea9c178c92655de3a.bundle.js.LICENSE.txt → 12358.2061f29dc113149946a3.bundle.js.LICENSE.txt} +0 -0
  284. /package/dist/{legacyWorkbench.e60d05442435ec0d1bd0.js.LICENSE.txt → legacyWorkbench.57fc12c172f6350ac4c5.js.LICENSE.txt} +0 -0
  285. /package/dist/{main.400f2248f076a2d31d80.js.LICENSE.txt → main.b9a83da68ffc43c91de0.js.LICENSE.txt} +0 -0
  286. /package/dist/shared-components/cjs/{tooltip-util-CmDLnWqH.js → tooltip-util-CnEXLMnw.js} +0 -0
  287. /package/dist/shared-components/esm/{tooltip-util-C1So-qrf.js → tooltip-util-BqOc8q8q.js} +0 -0
  288. /package/dist/shared-components/shared-components/{p-Bisudk7O.js → p-DzOPDgzQ.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"10406.7fed4b667b0d2813b305.bundle.js","mappings":"4MAGO,MAAMA,EAMTC,KAAO,GAMPC,OAAS,GAMTC,MAAQ,GAMRC,aAAc,EAKdC,OAKAC,QAKAC,OAMAC,WAAY,EAKZC,OAKAC,QAAS,EAMTC,WAAAA,CAAYC,GACRC,KAAKZ,KAAOW,EAAQE,IACpBD,KAAKX,OAASU,EAAQG,MACtBF,KAAKV,MAAQS,EAAQI,KACrBH,KAAKT,YAAcQ,EAAQK,WAC3BJ,KAAKR,OAASO,EAAQM,MACtBL,KAAKP,QAAUM,EAAQO,OACvBN,KAAKN,OAAkC,iBAAlBK,EAAQQ,MAAqB,IAAIC,OAAOT,EAAQQ,OAASR,EAAQQ,MACtFP,KAAKL,UAAYI,EAAQU,SACzBT,KAAKJ,OAASG,EAAQW,MACtBV,KAAKH,OAASE,EAAQF,MAC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AAUjD,GACVL,KAAKyE,WAAapE,CACtB,CAEA,UAAIkC,GACA,OAAOvC,KAAK4H,OAChB,CAEA,UAAIrF,CAAOlC,GACPL,KAAK4H,QAAUvH,CACnB,E","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/models/dynamic-form/dynamic-form-field.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/models/graphql/graphql-endpoint-configuration.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/models/graphql/graphql-endpoint-overview-list.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/models/graphql/wizard.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/models/graphql/create-endpoint-wizard-steps.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/models/graphql/create-endpoint-from-shapes-request.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/models/graphql/graphql-endpoint-configuration-setting.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/models/graphql/graphql-schema-shapes.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/models/graphql/create-endpoint-from-owl-request.js"],"sourcesContent":["/**\n * A model representing a dynamic form field used by the dynamic form component.\n */\nexport class DynamicFormField {\n /**\n * The unique key of the setting.\n * @type {string}\n * @private\n */\n _key = '';\n /**\n * The label displayed for the setting.\n * @type {string}\n * @private\n */\n _label = '';\n /**\n * The type of the field (e.g., string, boolean, select, etc.).\n * @type {string}\n * @private\n */\n _type = '';\n /**\n * Whether the value is a collection.\n * @type {boolean}\n * @private\n */\n _collection = false;\n /**\n * The current value of the setting.\n * @private\n */\n _value;\n /**\n * The possible values (used for select-type fields).\n * @private\n */\n _values;\n /**\n * A regular expression or its string representation for validating the value.\n * @private\n */\n _regex;\n /**\n * Whether the field is required.\n * @type {boolean}\n * @private\n */\n _required = false;\n /**\n * The group of the setting. Used for grouping settings in the form.\n * @private\n */\n _group;\n /**\n * Whether the setting is hidden.\n * @type {boolean}\n */\n hidden = false;\n\n /**\n * Creates an instance of GraphqlEndpointConfigurationSetting.\n * @param {Object} options - The setting options.\n */\n constructor(options) {\n this._key = options.key;\n this._label = options.label;\n this._type = options.type;\n this._collection = options.collection;\n this._value = options.value;\n this._values = options.values;\n this._regex = typeof options.regex === 'string' ? new RegExp(options.regex) : options.regex;\n this._required = options.required;\n this._group = options.group;\n this.hidden = options.hidden;\n }\n\n get key() {\n return this._key;\n }\n\n set key(value) {\n this._key = value;\n }\n\n get label() {\n return this._label;\n }\n\n set label(value) {\n this._label = value;\n }\n\n get type() {\n return this._type;\n }\n\n set type(value) {\n this._type = value;\n }\n\n get collection() {\n return this._collection;\n }\n\n set collection(value) {\n this._collection = value;\n }\n\n get value() {\n return this._value;\n }\n\n set value(value) {\n this._value = value;\n }\n\n get values() {\n return this._values;\n }\n\n set values(value) {\n this._values = value;\n }\n\n get regex() {\n return this._regex;\n }\n\n set regex(value) {\n this._regex = typeof value === 'string' ? new RegExp(value) : value;\n }\n\n get required() {\n return this._required;\n }\n\n set required(value) {\n this._required = value;\n }\n\n get group() {\n return this._group;\n }\n\n set group(value) {\n this._group = value;\n }\n\n get hidden() {\n return this._hidden;\n }\n\n set hidden(value) {\n this._hidden = value;\n }\n}\n","import {GraphqlSchemaShapes} from \"./graphql-schema-shapes\";\nimport {GraphListOptions} from \"../graphs/graph-list-options\";\nimport {GraphqlEndpointConfigurationSettings} from \"./graphql-endpoint-configuration-setting\";\nimport {GraphqlEndpointOverview} from \"./graphql-endpoint-overview-list\";\nimport {CreateEndpointFromShapesRequest} from \"./create-endpoint-from-shapes-request\";\nimport {CreateEndpointFromOwlRequest} from \"./create-endpoint-from-owl-request\";\nimport {OntologyShaclShapeSource, SchemaSourceType} from \"./create-endpoint-wizard-steps\";\n\nexport class GraphqlEndpointConfiguration {\n /**\n * One of SchemaSourceType.GRAPHQL_SCHEMA_SHAPES or SchemaSourceType.SHACL_SHAPES\n * @type {string}\n * @private\n */\n _schemaSourceType;\n /**\n * One of OntologyShaclShapeSource.USE_ALL_GRAPHS or OntologyShaclShapeSource.USE_SHACL_SHAPE_GRAPH or\n * OntologyShaclShapeSource.PICK_GRAPHS\n * @type {string}\n * @private\n */\n _owlOrShaclSourceType;\n /**\n * @type {GraphqlSchemaShapes}\n */\n _selectedGraphqlSchemaShapes;\n /**\n * @type {GraphListOptions}\n * @private\n */\n _selectedGraphs;\n /**\n * @type {GraphqlEndpointParams}\n * @private\n */\n _params;\n /**\n * The endpoint configuration settings model.\n * @type {GraphqlEndpointConfigurationSettings|undefined}\n * @private\n */\n _settings ;\n\n constructor() {\n this._schemaSourceType = SchemaSourceType.GRAPHQL_SCHEMA_SHAPES;\n this._owlOrShaclSourceType = OntologyShaclShapeSource.USE_ALL_GRAPHS;\n this._selectedGraphqlSchemaShapes = new GraphqlSchemaShapes();\n this._selectedGraphs = new GraphListOptions();\n this._params = new GraphqlEndpointParams({});\n this._endpointConfigurationSettings = new GraphqlEndpointConfigurationSettings();\n }\n\n /**\n * Returns if the endpoint will be generated from the GraphQL schema shapes.\n * @returns {boolean}\n */\n generateFromGraphqlSchemaShapes() {\n return this.schemaSourceType === SchemaSourceType.GRAPHQL_SCHEMA_SHAPES;\n }\n\n /**\n * Returns if the endpoint will be generated from ontologies or SHACL shapes.\n * @returns {boolean}\n */\n generateFromShaclShapes() {\n return this.schemaSourceType === SchemaSourceType.SHACL_SHAPES;\n }\n\n /**\n * Builds an endpoint create request from the current configuration.\n * @param {string} sourceRepositoryId The source repository ID.\n * @returns {CreateEndpointFromShapesRequest}\n */\n toCreateEndpointFromShapesRequest(sourceRepositoryId) {\n return new CreateEndpointFromShapesRequest({\n fromRepo: sourceRepositoryId,\n shapes: this.selectedGraphqlSchemaShapes.getShapeIds(),\n config: this.settings.toFlatJSON()\n })\n }\n\n /**\n * Builds an endpoint create request from the current configuration.\n * @param {string} sourceRepositoryId The source repository ID.\n * @returns {CreateEndpointFromOwlRequest}\n */\n toCreateEndpointFromOwlRequest(sourceRepositoryId) {\n // when using all graphs, we don't need to send them all to the server\n const namedGraphs = this._owlOrShaclSourceType === OntologyShaclShapeSource.USE_ALL_GRAPHS ? [] : this.selectedGraphs.getGraphIds();\n return new CreateEndpointFromOwlRequest({\n id: this.params.endpointId,\n label: this.params.endpointLabel,\n description: this.params.endpointDescription,\n fromRepo: sourceRepositoryId,\n namedGraphs: namedGraphs,\n vocabPrefix: this.params.vocPrefix,\n config: this.settings.toFlatJSON()\n });\n }\n\n /**\n * Returns an array of GraphQL endpoint overview models for the selected shapes.\n * @returns {GraphqlEndpointOverview[]}\n */\n getSelectedGraphqlSchemaShapesOverview() {\n if (this.generateFromGraphqlSchemaShapes()) {\n return this.selectedGraphqlSchemaShapes.processShapes((shape) => {\n return new GraphqlEndpointOverview({\n label: shape.label || shape.id,\n uri: shape.id\n });\n });\n }\n if (this.generateFromShaclShapes()) {\n if (this.selectedGraphs.isEmpty) {\n return [new GraphqlEndpointOverview({\n label: `${this.params.endpointId}`\n })];\n }\n return this.selectedGraphs.processGraphList((graph) => {\n return new GraphqlEndpointOverview({\n label: graph.label || graph.uri,\n uri: graph.uri\n });\n });\n }\n }\n\n /**\n * Returns the count of selected GraphQL schema shapes.\n * @returns {number} The count of selected GraphQL schema shapes.\n */\n getSelectedGraphqlSchemaShapesCount() {\n return this.selectedGraphqlSchemaShapes.shapes.length;\n }\n\n /**\n * Returns if there are selected GraphQL schema shapes.\n * @returns {boolean} True if there are selected GraphQL schema shapes, false otherwise.\n */\n hasSelectedGraphqlSchemaShapes() {\n return this.getSelectedGraphqlSchemaShapesCount() > 0;\n }\n\n /**\n * Returns the count of selected graphs.\n * @returns {number} The count of selected graphs.\n */\n getSelectedGraphsCount() {\n return this.selectedGraphs.graphList.length;\n }\n\n /**\n * Returns if there are selected graphs.\n * @returns {boolean} True if there are selected graphs, false otherwise.\n */\n hasSelectedGraphs() {\n return this.getSelectedGraphsCount() > 0;\n }\n\n get owlOrShaclSourceType() {\n return this._owlOrShaclSourceType;\n }\n\n set owlOrShaclSourceType(value) {\n this._owlOrShaclSourceType = value;\n }\n\n get schemaSourceType() {\n return this._schemaSourceType;\n }\n\n set schemaSourceType(value) {\n this._schemaSourceType = value;\n }\n\n get settings() {\n return this._settings;\n }\n\n set settings(value) {\n this._settings = value;\n }\n\n get selectedGraphs() {\n return this._selectedGraphs;\n }\n\n set selectedGraphs(value) {\n this._selectedGraphs = value;\n }\n\n get params() {\n return this._params;\n }\n\n set params(value) {\n this._params = value;\n }\n\n get selectedGraphqlSchemaShapes() {\n return this._selectedGraphqlSchemaShapes;\n }\n\n set selectedGraphqlSchemaShapes(value) {\n this._selectedGraphqlSchemaShapes = value;\n }\n}\n\nexport class GraphqlEndpointParams {\n /**\n * @type {string}\n * @private\n */\n _endpointId;\n /**\n * @type {string}\n * @private\n */\n _endpointLabel;\n /**\n * @type {string}\n * @private\n */\n _endpointDescription;\n /**\n * @type {string}\n * @private\n */\n _vocPrefix;\n\n constructor(data) {\n this._endpointId = data.endpointId || '';\n this._endpointLabel = data.endpointLabel || '';\n this._vocPrefix = data.vocPrefix || '';\n this._endpointDescription = data.endpointDescription || '';\n }\n\n get endpointId() {\n return this._endpointId;\n }\n\n set endpointId(value) {\n this._endpointId = value;\n }\n\n get endpointLabel() {\n return this._endpointLabel;\n }\n\n set endpointLabel(value) {\n this._endpointLabel = value;\n }\n\n get endpointDescription() {\n return this._endpointDescription;\n }\n\n set endpointDescription(value) {\n this._endpointDescription = value;\n }\n\n get vocPrefix() {\n return this._vocPrefix;\n }\n\n set vocPrefix(value) {\n this._vocPrefix = value;\n }\n\n toJSON() {\n return {\n endpointId: this.endpointId,\n endpointLabel: this.endpointLabel,\n vocPrefix: this.vocPrefix,\n description: this.endpointDescription\n };\n }\n}\n","export const ENDPOINT_GENERATION_STATUS = {\n NONE: 'NONE',\n SUCCESS: 'SUCCESS',\n ERROR: 'ERROR'\n};\n\nexport class GraphqlEndpointOverviewList {\n /**\n * @type {GraphqlEndpointOverview[]}\n * @private\n */\n _endpointList = [];\n\n constructor(data) {\n this._endpointList = data || [];\n }\n\n get endpointList() {\n return this._endpointList;\n }\n\n set endpointList(value) {\n this._endpointList = value;\n }\n}\n\nexport class GraphqlEndpointOverview {\n /**\n * @type {string}\n * @private\n */\n _label;\n\n /**\n * @type {string}\n * @private\n */\n _uri;\n\n /**\n * @type {string}\n * @private\n */\n _status;\n\n constructor(data) {\n this._label = data.label || '';\n this._uri = data.uri || '';\n this._status = data.status || ENDPOINT_GENERATION_STATUS.NONE;\n }\n\n get label() {\n return this._label;\n }\n\n set label(value) {\n this._label = value;\n }\n\n get uri() {\n return this._uri;\n }\n\n set uri(value) {\n this._uri = value;\n }\n\n get status() {\n return this._status;\n }\n\n set status(value) {\n this._status = value;\n }\n}\n","export class Wizard {\n /**\n * @type {WizardStep[]}\n */\n #steps = [];\n /**\n * The current step of the wizard.\n * @type {number}\n */\n #currentStep = 0;\n\n /**\n * @param {WizardStep[]} steps The steps of the wizard.\n * @param {number} currentStep The current step of the wizard.\n */\n constructor(steps= [], currentStep = 0) {\n this.#steps = steps;\n this.#currentStep = currentStep;\n }\n\n /**\n * Adds a step to the wizard.\n * @param {WizardStep} step\n * @returns {Wizard}\n */\n addStep(step) {\n this.#steps.push(step);\n return this;\n }\n\n getActiveStep() {\n return this.#steps.find((step) => step.active);\n }\n\n isAPreviousStep(step) {\n return this.#steps.indexOf(step) < this.#currentStep;\n }\n\n /**\n * Makes a step active.\n * @param {WizardStep} step\n */\n setStepActive(step) {\n this.#steps.forEach((wizardStep) => wizardStep.active = false);\n step.active = true;\n\n const stepIndex = this.#steps.indexOf(step);\n this.#currentStep = stepIndex;\n\n // Reset all visited statuses\n this.#steps.forEach((current, currentStepIndex) => {\n // Mark steps as visited only if they come before the current step\n current.visited = currentStepIndex < stepIndex;\n });\n }\n\n /**\n * Makes the previous step active if there is one.\n * @return {WizardStep}\n */\n previousStep() {\n if (this.#currentStep > 0) {\n this.#currentStep--;\n }\n const previousStep = this.#steps[this.#currentStep];\n this.setStepActive(previousStep);\n return previousStep;\n }\n\n /**\n * Makes the next step active if there is one.\n * @return {WizardStep}\n */\n nextStep() {\n if (this.#currentStep < this.#steps.length - 1) {\n this.#currentStep++;\n }\n const nextStep = this.#steps[this.#currentStep];\n this.setStepActive(nextStep);\n return nextStep;\n }\n\n get steps() {\n return this.#steps;\n }\n\n set steps(value) {\n this.#steps = value;\n }\n\n get currentStep() {\n return this.#currentStep;\n }\n\n set currentStep(value) {\n this.#currentStep = value;\n }\n}\n\nexport class WizardStep {\n /**\n * The id of the step. It must be unique.\n * @type {string}\n */\n #id = '';\n /**\n * The active status of the step.\n * @type {boolean}\n */\n #active = false;\n /**\n * The visited status of the step.\n * @type {boolean}\n */\n #visited = false;\n /**\n * The URL of the template of the step.\n * @type {string}\n */\n #templateUrl = '';\n /**\n * The page url of the step. This will be appended to the route.\n * @type {string}\n */\n #page = '';\n\n constructor(id, templateUrl, page, active = false) {\n this.#id = id;\n this.#active = active;\n this.#templateUrl = templateUrl;\n this.#page = page;\n this.#visited = false;\n }\n\n get page() {\n return this.#page;\n }\n\n set page(value) {\n this.#page = value;\n }\n\n get templateUrl() {\n return this.#templateUrl;\n }\n\n set templateUrl(value) {\n this.#templateUrl = value;\n }\n\n get active() {\n return this.#active;\n }\n\n set active(value) {\n this.#active = value;\n }\n\n get id() {\n return this.#id;\n }\n\n set id(value) {\n this.#id = value;\n }\n\n get visited() {\n return this.#visited;\n }\n\n set visited(value) {\n this.#visited = value;\n }\n}\n","import {WizardStep} from \"./wizard\";\n\nexport const SchemaSourceType = {\n GRAPHQL_SCHEMA_SHAPES: 'graphql_schema_shapes',\n SHACL_SHAPES: 'shacl_shapes'\n};\n\nexport const OntologyShaclShapeSource = {\n USE_ALL_GRAPHS: 'use_all_graphs',\n USE_SHACL_SHAPE_GRAPH: 'use_shacl_shape_graph',\n PICK_GRAPHS: 'pick_graphs'\n}\n\nexport class SelectSchemaSourceStep extends WizardStep {\n _schemaSourceTypes = [\n {value: SchemaSourceType.GRAPHQL_SCHEMA_SHAPES},\n {value: SchemaSourceType.SHACL_SHAPES}\n ];\n _schemaSourceType = this._schemaSourceTypes[0].value;\n\n _ontologyShaclShapeSources = [\n {value: OntologyShaclShapeSource.USE_ALL_GRAPHS},\n {value: OntologyShaclShapeSource.USE_SHACL_SHAPE_GRAPH},\n {value: OntologyShaclShapeSource.PICK_GRAPHS}\n ];\n _ontotlogyShaclShapeSource = this._ontologyShaclShapeSources[0].value;\n\n constructor() {\n super('select_schema_sources', undefined, 'schema-sources',true);\n }\n\n get ontotlogyShaclShapeSource() {\n return this._ontotlogyShaclShapeSource;\n }\n\n set ontotlogyShaclShapeSource(value) {\n this._ontotlogyShaclShapeSource = value;\n }\n\n get ontologyShaclShapeSources() {\n return this._ontologyShaclShapeSources;\n }\n\n set ontologyShaclShapeSources(value) {\n this._ontologyShaclShapeSources = value;\n }\n\n get schemaSourceType() {\n return this._schemaSourceType;\n }\n\n set schemaSourceType(value) {\n this._schemaSourceType = value;\n }\n\n get schemaSourceTypes() {\n return this._schemaSourceTypes;\n }\n\n set schemaSourceTypes(value) {\n this._schemaSourceTypes = value;\n }\n}\n\nexport class ConfigureEndpointStep extends WizardStep {\n constructor() {\n super('configure_endpoint', undefined, 'endpoint-config', false);\n }\n}\n\nexport class GenerateEndpointStep extends WizardStep {\n constructor() {\n super('generate_endpoint', undefined, 'generate-endpoint', false);\n }\n}\n","export class CreateEndpointFromShapesRequest {\n /**\n * @type {string}\n * @private\n */\n _fromRepo;\n /**\n * @type {string[]}\n * @private\n */\n _shapes;\n /**\n * @type {Object.<string, *>}\n * @private\n */\n _config;\n\n constructor(data) {\n this._fromRepo = data.fromRepo || '';\n this._shapes = data.shapes || [];\n this._config = data.config || {};\n }\n\n toJSON() {\n return {\n fromRepo: this.fromRepo,\n shapes: this.shapes,\n config: this.config\n };\n }\n\n get fromRepo() {\n return this._fromRepo;\n }\n\n set fromRepo(value) {\n this._fromRepo = value;\n }\n\n get shapes() {\n return this._shapes;\n }\n\n set shapes(value) {\n this._shapes = value;\n }\n\n get config() {\n return this._config;\n }\n\n set config(value) {\n this._config = value;\n }\n}\n","import {DynamicFormField} from \"../dynamic-form/dynamic-form-field\";\n\n/**\n * Enum for configuration types.\n * @readonly\n * @enum {string}\n */\nexport const CONFIG_TYPE = {\n STRING: 'string',\n TEXT: 'text',\n BOOLEAN: 'boolean',\n JSON: 'json'\n}\n\nexport class GraphqlEndpointConfigurationSettings {\n /**\n * Endpoint configuration settings model.\n * @type {DynamicFormModel}\n * @private\n */\n _settings;\n\n /**\n * Flag indicating if the settings are present.\n * @private\n */\n _hasSettings;\n\n constructor(data) {\n this._settings = data;\n this._hasSettings = this._settings ? this._settings.models.length > 0 : false;\n }\n\n /**\n * Returns a flat JSON representation of the settings where the keys are the setting keys and the values are the\n * setting values.\n * @returns {Object.<string, *>}\n */\n toFlatJSON() {\n const settings = {};\n\n const processField = (field) => {\n if (field.collection) {\n settings[field.key] = field.value;\n } else if (field.type === 'select') {\n settings[field.key] = field.value.value;\n } else {\n settings[field.key] = field.value;\n }\n // JSON type field value is string, and the backend doesn't expect it to be parsed, so we send it as is\n };\n\n this._settings.models.forEach((model) => {\n if (model instanceof DynamicFormField) {\n processField(model);\n } else {\n // Process both visible and hidden fields\n [...model.fields, ...model.hiddenFields].forEach(processField);\n }\n });\n\n return settings;\n }\n\n get hasSettings() {\n return this._hasSettings;\n }\n\n get settings() {\n return this._settings;\n }\n\n set settings(value) {\n this._settings = value;\n this._hasSettings = this._settings.models.length > 0;\n }\n}\n","export class GraphqlSchemaShapes {\n /**\n * @type {GraphqlSchemaShape[]}\n */\n _shapes;\n /**\n * @type {number}\n * @private\n */\n _size;\n /**\n * @type {boolean}\n * @private\n */\n _isEmpty;\n\n constructor(data) {\n this._shapes = data || [];\n this._size = this.shapes.length;\n this._isEmpty = this.shapes.length === 0;\n }\n\n /**\n * Process the shapes with the given predicate.\n * @param {function} predicate The predicate to apply to each shape.\n * @returns {GraphqlSchemaShape[]}\n */\n processShapes(predicate) {\n return this.shapes.map(predicate);\n }\n\n /**\n * Get the ids of the shapes.\n * @returns {string[]} The ids of the shapes.\n */\n getShapeIds() {\n return this.shapes.map(shape => shape.id);\n }\n\n get isEmpty() {\n return this._isEmpty;\n }\n\n get size() {\n return this._size;\n }\n\n get shapes() {\n return this._shapes;\n }\n\n set shapes(value) {\n this._shapes = value;\n this._size = this.shapes.length;\n this._isEmpty = this.shapes.length === 0;\n }\n\n toJSON() {\n return this.shapes.map(shape => shape.id);\n }\n}\n\nexport class GraphqlSchemaShape {\n /**\n * @type {string}\n */\n _id;\n /**\n * @type {string}\n */\n _name;\n /**\n * @type {string}\n */\n _label;\n /**\n * @type {string}\n */\n _description;\n\n constructor(data) {\n this._id = data.id;\n this._name = data.name;\n this._label = data.label;\n this._description = data.description;\n }\n\n get id() {\n return this._id;\n }\n\n set id(value) {\n this._id = value;\n }\n\n get name() {\n return this._name;\n }\n\n set name(value) {\n this._name = value;\n }\n\n get label() {\n return this._label;\n }\n\n set label(value) {\n this._label = value;\n }\n\n get description() {\n return this._description;\n }\n\n set description(value) {\n this._description = value;\n }\n}\n","export class CreateEndpointFromOwlRequest {\n /**\n * The source repository ID from which the schema will be generated. If empty, the current repository is used.\n * @type {string}\n * @private\n */\n _fromRepo;\n /**\n * A list of named graphs to be included in the schema generation process. If empty, all repository data is considered.\n * @type {string[]}\n * @private\n */\n _namedGraphs;\n /**\n * A unique identifier for the generated schema.\n * @type {string}\n * @private\n */\n _id;\n /**\n * A user-friendly name for the schema.\n * @type {string}\n * @private\n */\n _label;\n /**\n * A description of the schema for documentation purposes.\n * @type {string}\n * @private\n */\n _description;\n /**\n * A prefix used for vocabulary terms in the schema.\n * @type {string}\n * @private\n */\n _vocPrefix;\n /**\n * The schema configuration settings, including details such as schema ID, label, description, and vocabulary prefix.\n * @type {Object.<string, *>}\n * @private\n */\n _config;\n\n constructor(data) {\n this._id = data.id || '';\n this._label = data.label || '';\n this._description = data.description || '';\n this._fromRepo = data.fromRepo || '';\n this._namedGraphs = data.namedGraphs || [];\n this._vocPrefix = data.vocabPrefix || '';\n this._config = data.config || {};\n }\n\n toJSON() {\n return {\n id: this.id,\n label: this.label,\n description: this.description,\n fromRepo: this.fromRepo,\n namedGraphs: this.namedGraphs,\n vocabPrefix: this.vocPrefix,\n config: this.config\n };\n }\n\n get fromRepo() {\n return this._fromRepo;\n }\n\n set fromRepo(value) {\n this._fromRepo = value;\n }\n\n get namedGraphs() {\n return this._namedGraphs;\n }\n\n set namedGraphs(value) {\n this._namedGraphs = value;\n }\n\n get id() {\n return this._id;\n }\n\n set id(value) {\n this._id = value;\n }\n\n get label() {\n return this._label;\n }\n\n set label(value) {\n this._label = value;\n }\n\n get description() {\n return this._description;\n }\n\n set description(value) {\n this._description = value;\n }\n\n get vocPrefix() {\n return this._vocPrefix;\n }\n\n set vocPrefix(value) {\n this._vocPrefix = value;\n }\n\n get config() {\n return this._config;\n }\n\n set config(value) {\n this._config = value;\n }\n}\n"],"names":["DynamicFormField","_key","_label","_type","_collection","_value","_values","_regex","_required","_group","hidden","constructor","options","this","key","label","type","collection","value","values","regex","RegExp","required","group","_hidden","GraphqlEndpointConfiguration","_schemaSourceType","_owlOrShaclSourceType","_selectedGraphqlSchemaShapes","_selectedGraphs","_params","_settings","SchemaSourceType","GRAPHQL_SCHEMA_SHAPES","OntologyShaclShapeSource","USE_ALL_GRAPHS","GraphqlSchemaShapes","GraphListOptions","GraphqlEndpointParams","_endpointConfigurationSettings","GraphqlEndpointConfigurationSettings","generateFromGraphqlSchemaShapes","schemaSourceType","generateFromShaclShapes","SHACL_SHAPES","toCreateEndpointFromShapesRequest","sourceRepositoryId","CreateEndpointFromShapesRequest","fromRepo","shapes","selectedGraphqlSchemaShapes","getShapeIds","config","settings","toFlatJSON","toCreateEndpointFromOwlRequest","namedGraphs","selectedGraphs","getGraphIds","CreateEndpointFromOwlRequest","id","params","endpointId","endpointLabel","description","endpointDescription","vocabPrefix","vocPrefix","getSelectedGraphqlSchemaShapesOverview","processShapes","shape","GraphqlEndpointOverview","uri","isEmpty","processGraphList","graph","getSelectedGraphqlSchemaShapesCount","length","hasSelectedGraphqlSchemaShapes","getSelectedGraphsCount","graphList","hasSelectedGraphs","owlOrShaclSourceType","_endpointId","_endpointLabel","_endpointDescription","_vocPrefix","data","toJSON","ENDPOINT_GENERATION_STATUS","NONE","SUCCESS","ERROR","GraphqlEndpointOverviewList","_endpointList","endpointList","_uri","_status","status","Wizard","steps","currentStep","addStep","step","push","getActiveStep","find","active","isAPreviousStep","indexOf","setStepActive","forEach","wizardStep","stepIndex","current","currentStepIndex","visited","previousStep","nextStep","WizardStep","templateUrl","page","USE_SHACL_SHAPE_GRAPH","PICK_GRAPHS","SelectSchemaSourceStep","_schemaSourceTypes","_ontologyShaclShapeSources","_ontotlogyShaclShapeSource","super","undefined","ontotlogyShaclShapeSource","ontologyShaclShapeSources","schemaSourceTypes","ConfigureEndpointStep","GenerateEndpointStep","_fromRepo","_shapes","_config","CONFIG_TYPE","STRING","TEXT","BOOLEAN","JSON","_hasSettings","models","processField","field","model","fields","hiddenFields","hasSettings","_size","_isEmpty","predicate","map","size","GraphqlSchemaShape","_id","_name","_description","name","_namedGraphs"],"sourceRoot":""}
1
+ {"version":3,"file":"10406.52677950658780fd8859.bundle.js","mappings":"kNAGO,MAAMA,EAMTC,KAAO,GAMPC,OAAS,GAMTC,MAAQ,GAMRC,aAAc,EAKdC,OAKAC,QAKAC,OAMAC,WAAY,EAKZC,OAKAC,QAAS,EAMTC,WAAAA,CAAYC,GACRC,KAAKZ,KAAOW,EAAQE,IACpBD,KAAKX,OAASU,EAAQG,MACtBF,KAAKV,MAAQS,EAAQI,KACrBH,KAAKT,YAAcQ,EAAQK,WAC3BJ,KAAKR,OAASO,EAAQM,MACtBL,KAAKP,QAAUM,EAAQO,OACvBN,KAAKN,OAAkC,iBAAlBK,EAAQQ,MAAqB,IAAIC,OAAOT,EAAQQ,OAASR,EAAQQ,MACtFP,KAAKL,UAAYI,EAAQU,SACzBT,KAAKJ,OAASG,EAAQW,MACtBV,KAAKH,OAASE,EAAQF,MAC1B,CAE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GACVL,KAAKyE,WAAapE,CACtB,CAEA,UAAIkC,GACA,OAAOvC,KAAK4H,OAChB,CAEA,UAAIrF,CAAOlC,GACPL,KAAK4H,QAAUvH,CACnB,E","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/models/dynamic-form/dynamic-form-field.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/models/graphql/graphql-endpoint-configuration.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/models/graphql/graphql-endpoint-overview-list.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/models/graphql/wizard.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/models/graphql/create-endpoint-wizard-steps.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/models/graphql/create-endpoint-from-shapes-request.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/models/graphql/graphql-endpoint-configuration-setting.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/models/graphql/graphql-schema-shapes.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/models/graphql/create-endpoint-from-owl-request.js"],"sourcesContent":["/**\n * A model representing a dynamic form field used by the dynamic form component.\n */\nexport class DynamicFormField {\n /**\n * The unique key of the setting.\n * @type {string}\n * @private\n */\n _key = '';\n /**\n * The label displayed for the setting.\n * @type {string}\n * @private\n */\n _label = '';\n /**\n * The type of the field (e.g., string, boolean, select, etc.).\n * @type {string}\n * @private\n */\n _type = '';\n /**\n * Whether the value is a collection.\n * @type {boolean}\n * @private\n */\n _collection = false;\n /**\n * The current value of the setting.\n * @private\n */\n _value;\n /**\n * The possible values (used for select-type fields).\n * @private\n */\n _values;\n /**\n * A regular expression or its string representation for validating the value.\n * @private\n */\n _regex;\n /**\n * Whether the field is required.\n * @type {boolean}\n * @private\n */\n _required = false;\n /**\n * The group of the setting. Used for grouping settings in the form.\n * @private\n */\n _group;\n /**\n * Whether the setting is hidden.\n * @type {boolean}\n */\n hidden = false;\n\n /**\n * Creates an instance of GraphqlEndpointConfigurationSetting.\n * @param {Object} options - The setting options.\n */\n constructor(options) {\n this._key = options.key;\n this._label = options.label;\n this._type = options.type;\n this._collection = options.collection;\n this._value = options.value;\n this._values = options.values;\n this._regex = typeof options.regex === 'string' ? new RegExp(options.regex) : options.regex;\n this._required = options.required;\n this._group = options.group;\n this.hidden = options.hidden;\n }\n\n get key() {\n return this._key;\n }\n\n set key(value) {\n this._key = value;\n }\n\n get label() {\n return this._label;\n }\n\n set label(value) {\n this._label = value;\n }\n\n get type() {\n return this._type;\n }\n\n set type(value) {\n this._type = value;\n }\n\n get collection() {\n return this._collection;\n }\n\n set collection(value) {\n this._collection = value;\n }\n\n get value() {\n return this._value;\n }\n\n set value(value) {\n this._value = value;\n }\n\n get values() {\n return this._values;\n }\n\n set values(value) {\n this._values = value;\n }\n\n get regex() {\n return this._regex;\n }\n\n set regex(value) {\n this._regex = typeof value === 'string' ? new RegExp(value) : value;\n }\n\n get required() {\n return this._required;\n }\n\n set required(value) {\n this._required = value;\n }\n\n get group() {\n return this._group;\n }\n\n set group(value) {\n this._group = value;\n }\n\n get hidden() {\n return this._hidden;\n }\n\n set hidden(value) {\n this._hidden = value;\n }\n}\n","import {GraphqlSchemaShapes} from \"./graphql-schema-shapes\";\nimport {GraphListOptions} from \"../graphs/graph-list-options\";\nimport {GraphqlEndpointConfigurationSettings} from \"./graphql-endpoint-configuration-setting\";\nimport {GraphqlEndpointOverview} from \"./graphql-endpoint-overview-list\";\nimport {CreateEndpointFromShapesRequest} from \"./create-endpoint-from-shapes-request\";\nimport {CreateEndpointFromOwlRequest} from \"./create-endpoint-from-owl-request\";\nimport {OntologyShaclShapeSource, SchemaSourceType} from \"./create-endpoint-wizard-steps\";\n\nexport class GraphqlEndpointConfiguration {\n /**\n * One of SchemaSourceType.GRAPHQL_SCHEMA_SHAPES or SchemaSourceType.SHACL_SHAPES\n * @type {string}\n * @private\n */\n _schemaSourceType;\n /**\n * One of OntologyShaclShapeSource.USE_ALL_GRAPHS or OntologyShaclShapeSource.USE_SHACL_SHAPE_GRAPH or\n * OntologyShaclShapeSource.PICK_GRAPHS\n * @type {string}\n * @private\n */\n _owlOrShaclSourceType;\n /**\n * @type {GraphqlSchemaShapes}\n */\n _selectedGraphqlSchemaShapes;\n /**\n * @type {GraphListOptions}\n * @private\n */\n _selectedGraphs;\n /**\n * @type {GraphqlEndpointParams}\n * @private\n */\n _params;\n /**\n * The endpoint configuration settings model.\n * @type {GraphqlEndpointConfigurationSettings|undefined}\n * @private\n */\n _settings ;\n\n constructor() {\n this._schemaSourceType = SchemaSourceType.GRAPHQL_SCHEMA_SHAPES;\n this._owlOrShaclSourceType = OntologyShaclShapeSource.USE_ALL_GRAPHS;\n this._selectedGraphqlSchemaShapes = new GraphqlSchemaShapes();\n this._selectedGraphs = new GraphListOptions();\n this._params = new GraphqlEndpointParams({});\n this._endpointConfigurationSettings = new GraphqlEndpointConfigurationSettings();\n }\n\n /**\n * Returns if the endpoint will be generated from the GraphQL schema shapes.\n * @returns {boolean}\n */\n generateFromGraphqlSchemaShapes() {\n return this.schemaSourceType === SchemaSourceType.GRAPHQL_SCHEMA_SHAPES;\n }\n\n /**\n * Returns if the endpoint will be generated from ontologies or SHACL shapes.\n * @returns {boolean}\n */\n generateFromShaclShapes() {\n return this.schemaSourceType === SchemaSourceType.SHACL_SHAPES;\n }\n\n /**\n * Builds an endpoint create request from the current configuration.\n * @param {string} sourceRepositoryId The source repository ID.\n * @returns {CreateEndpointFromShapesRequest}\n */\n toCreateEndpointFromShapesRequest(sourceRepositoryId) {\n return new CreateEndpointFromShapesRequest({\n fromRepo: sourceRepositoryId,\n shapes: this.selectedGraphqlSchemaShapes.getShapeIds(),\n config: this.settings.toFlatJSON()\n })\n }\n\n /**\n * Builds an endpoint create request from the current configuration.\n * @param {string} sourceRepositoryId The source repository ID.\n * @returns {CreateEndpointFromOwlRequest}\n */\n toCreateEndpointFromOwlRequest(sourceRepositoryId) {\n // when using all graphs, we don't need to send them all to the server\n const namedGraphs = this._owlOrShaclSourceType === OntologyShaclShapeSource.USE_ALL_GRAPHS ? [] : this.selectedGraphs.getGraphIds();\n return new CreateEndpointFromOwlRequest({\n id: this.params.endpointId,\n label: this.params.endpointLabel,\n description: this.params.endpointDescription,\n fromRepo: sourceRepositoryId,\n namedGraphs: namedGraphs,\n vocabPrefix: this.params.vocPrefix,\n config: this.settings.toFlatJSON()\n });\n }\n\n /**\n * Returns an array of GraphQL endpoint overview models for the selected shapes.\n * @returns {GraphqlEndpointOverview[]}\n */\n getSelectedGraphqlSchemaShapesOverview() {\n if (this.generateFromGraphqlSchemaShapes()) {\n return this.selectedGraphqlSchemaShapes.processShapes((shape) => {\n return new GraphqlEndpointOverview({\n label: shape.label || shape.id,\n uri: shape.id\n });\n });\n }\n if (this.generateFromShaclShapes()) {\n if (this.selectedGraphs.isEmpty) {\n return [new GraphqlEndpointOverview({\n label: `${this.params.endpointId}`\n })];\n }\n return this.selectedGraphs.processGraphList((graph) => {\n return new GraphqlEndpointOverview({\n label: graph.label || graph.uri,\n uri: graph.uri\n });\n });\n }\n }\n\n /**\n * Returns the count of selected GraphQL schema shapes.\n * @returns {number} The count of selected GraphQL schema shapes.\n */\n getSelectedGraphqlSchemaShapesCount() {\n return this.selectedGraphqlSchemaShapes.shapes.length;\n }\n\n /**\n * Returns if there are selected GraphQL schema shapes.\n * @returns {boolean} True if there are selected GraphQL schema shapes, false otherwise.\n */\n hasSelectedGraphqlSchemaShapes() {\n return this.getSelectedGraphqlSchemaShapesCount() > 0;\n }\n\n /**\n * Returns the count of selected graphs.\n * @returns {number} The count of selected graphs.\n */\n getSelectedGraphsCount() {\n return this.selectedGraphs.graphList.length;\n }\n\n /**\n * Returns if there are selected graphs.\n * @returns {boolean} True if there are selected graphs, false otherwise.\n */\n hasSelectedGraphs() {\n return this.getSelectedGraphsCount() > 0;\n }\n\n get owlOrShaclSourceType() {\n return this._owlOrShaclSourceType;\n }\n\n set owlOrShaclSourceType(value) {\n this._owlOrShaclSourceType = value;\n }\n\n get schemaSourceType() {\n return this._schemaSourceType;\n }\n\n set schemaSourceType(value) {\n this._schemaSourceType = value;\n }\n\n get settings() {\n return this._settings;\n }\n\n set settings(value) {\n this._settings = value;\n }\n\n get selectedGraphs() {\n return this._selectedGraphs;\n }\n\n set selectedGraphs(value) {\n this._selectedGraphs = value;\n }\n\n get params() {\n return this._params;\n }\n\n set params(value) {\n this._params = value;\n }\n\n get selectedGraphqlSchemaShapes() {\n return this._selectedGraphqlSchemaShapes;\n }\n\n set selectedGraphqlSchemaShapes(value) {\n this._selectedGraphqlSchemaShapes = value;\n }\n}\n\nexport class GraphqlEndpointParams {\n /**\n * @type {string}\n * @private\n */\n _endpointId;\n /**\n * @type {string}\n * @private\n */\n _endpointLabel;\n /**\n * @type {string}\n * @private\n */\n _endpointDescription;\n /**\n * @type {string}\n * @private\n */\n _vocPrefix;\n\n constructor(data) {\n this._endpointId = data.endpointId || '';\n this._endpointLabel = data.endpointLabel || '';\n this._vocPrefix = data.vocPrefix || '';\n this._endpointDescription = data.endpointDescription || '';\n }\n\n get endpointId() {\n return this._endpointId;\n }\n\n set endpointId(value) {\n this._endpointId = value;\n }\n\n get endpointLabel() {\n return this._endpointLabel;\n }\n\n set endpointLabel(value) {\n this._endpointLabel = value;\n }\n\n get endpointDescription() {\n return this._endpointDescription;\n }\n\n set endpointDescription(value) {\n this._endpointDescription = value;\n }\n\n get vocPrefix() {\n return this._vocPrefix;\n }\n\n set vocPrefix(value) {\n this._vocPrefix = value;\n }\n\n toJSON() {\n return {\n endpointId: this.endpointId,\n endpointLabel: this.endpointLabel,\n vocPrefix: this.vocPrefix,\n description: this.endpointDescription\n };\n }\n}\n","export const ENDPOINT_GENERATION_STATUS = {\n NONE: 'NONE',\n SUCCESS: 'SUCCESS',\n ERROR: 'ERROR'\n};\n\nexport class GraphqlEndpointOverviewList {\n /**\n * @type {GraphqlEndpointOverview[]}\n * @private\n */\n _endpointList = [];\n\n constructor(data) {\n this._endpointList = data || [];\n }\n\n get endpointList() {\n return this._endpointList;\n }\n\n set endpointList(value) {\n this._endpointList = value;\n }\n}\n\nexport class GraphqlEndpointOverview {\n /**\n * @type {string}\n * @private\n */\n _label;\n\n /**\n * @type {string}\n * @private\n */\n _uri;\n\n /**\n * @type {string}\n * @private\n */\n _status;\n\n constructor(data) {\n this._label = data.label || '';\n this._uri = data.uri || '';\n this._status = data.status || ENDPOINT_GENERATION_STATUS.NONE;\n }\n\n get label() {\n return this._label;\n }\n\n set label(value) {\n this._label = value;\n }\n\n get uri() {\n return this._uri;\n }\n\n set uri(value) {\n this._uri = value;\n }\n\n get status() {\n return this._status;\n }\n\n set status(value) {\n this._status = value;\n }\n}\n","export class Wizard {\n /**\n * @type {WizardStep[]}\n */\n #steps = [];\n /**\n * The current step of the wizard.\n * @type {number}\n */\n #currentStep = 0;\n\n /**\n * @param {WizardStep[]} steps The steps of the wizard.\n * @param {number} currentStep The current step of the wizard.\n */\n constructor(steps= [], currentStep = 0) {\n this.#steps = steps;\n this.#currentStep = currentStep;\n }\n\n /**\n * Adds a step to the wizard.\n * @param {WizardStep} step\n * @returns {Wizard}\n */\n addStep(step) {\n this.#steps.push(step);\n return this;\n }\n\n getActiveStep() {\n return this.#steps.find((step) => step.active);\n }\n\n isAPreviousStep(step) {\n return this.#steps.indexOf(step) < this.#currentStep;\n }\n\n /**\n * Makes a step active.\n * @param {WizardStep} step\n */\n setStepActive(step) {\n this.#steps.forEach((wizardStep) => wizardStep.active = false);\n step.active = true;\n\n const stepIndex = this.#steps.indexOf(step);\n this.#currentStep = stepIndex;\n\n // Reset all visited statuses\n this.#steps.forEach((current, currentStepIndex) => {\n // Mark steps as visited only if they come before the current step\n current.visited = currentStepIndex < stepIndex;\n });\n }\n\n /**\n * Makes the previous step active if there is one.\n * @return {WizardStep}\n */\n previousStep() {\n if (this.#currentStep > 0) {\n this.#currentStep--;\n }\n const previousStep = this.#steps[this.#currentStep];\n this.setStepActive(previousStep);\n return previousStep;\n }\n\n /**\n * Makes the next step active if there is one.\n * @return {WizardStep}\n */\n nextStep() {\n if (this.#currentStep < this.#steps.length - 1) {\n this.#currentStep++;\n }\n const nextStep = this.#steps[this.#currentStep];\n this.setStepActive(nextStep);\n return nextStep;\n }\n\n get steps() {\n return this.#steps;\n }\n\n set steps(value) {\n this.#steps = value;\n }\n\n get currentStep() {\n return this.#currentStep;\n }\n\n set currentStep(value) {\n this.#currentStep = value;\n }\n}\n\nexport class WizardStep {\n /**\n * The id of the step. It must be unique.\n * @type {string}\n */\n #id = '';\n /**\n * The active status of the step.\n * @type {boolean}\n */\n #active = false;\n /**\n * The visited status of the step.\n * @type {boolean}\n */\n #visited = false;\n /**\n * The URL of the template of the step.\n * @type {string}\n */\n #templateUrl = '';\n /**\n * The page url of the step. This will be appended to the route.\n * @type {string}\n */\n #page = '';\n\n constructor(id, templateUrl, page, active = false) {\n this.#id = id;\n this.#active = active;\n this.#templateUrl = templateUrl;\n this.#page = page;\n this.#visited = false;\n }\n\n get page() {\n return this.#page;\n }\n\n set page(value) {\n this.#page = value;\n }\n\n get templateUrl() {\n return this.#templateUrl;\n }\n\n set templateUrl(value) {\n this.#templateUrl = value;\n }\n\n get active() {\n return this.#active;\n }\n\n set active(value) {\n this.#active = value;\n }\n\n get id() {\n return this.#id;\n }\n\n set id(value) {\n this.#id = value;\n }\n\n get visited() {\n return this.#visited;\n }\n\n set visited(value) {\n this.#visited = value;\n }\n}\n","import {WizardStep} from \"./wizard\";\n\nexport const SchemaSourceType = {\n GRAPHQL_SCHEMA_SHAPES: 'graphql_schema_shapes',\n SHACL_SHAPES: 'shacl_shapes'\n};\n\nexport const OntologyShaclShapeSource = {\n USE_ALL_GRAPHS: 'use_all_graphs',\n USE_SHACL_SHAPE_GRAPH: 'use_shacl_shape_graph',\n PICK_GRAPHS: 'pick_graphs'\n}\n\nexport class SelectSchemaSourceStep extends WizardStep {\n _schemaSourceTypes = [\n {value: SchemaSourceType.GRAPHQL_SCHEMA_SHAPES},\n {value: SchemaSourceType.SHACL_SHAPES}\n ];\n _schemaSourceType = this._schemaSourceTypes[0].value;\n\n _ontologyShaclShapeSources = [\n {value: OntologyShaclShapeSource.USE_ALL_GRAPHS},\n {value: OntologyShaclShapeSource.USE_SHACL_SHAPE_GRAPH},\n {value: OntologyShaclShapeSource.PICK_GRAPHS}\n ];\n _ontotlogyShaclShapeSource = this._ontologyShaclShapeSources[0].value;\n\n constructor() {\n super('select_schema_sources', undefined, 'schema-sources',true);\n }\n\n get ontotlogyShaclShapeSource() {\n return this._ontotlogyShaclShapeSource;\n }\n\n set ontotlogyShaclShapeSource(value) {\n this._ontotlogyShaclShapeSource = value;\n }\n\n get ontologyShaclShapeSources() {\n return this._ontologyShaclShapeSources;\n }\n\n set ontologyShaclShapeSources(value) {\n this._ontologyShaclShapeSources = value;\n }\n\n get schemaSourceType() {\n return this._schemaSourceType;\n }\n\n set schemaSourceType(value) {\n this._schemaSourceType = value;\n }\n\n get schemaSourceTypes() {\n return this._schemaSourceTypes;\n }\n\n set schemaSourceTypes(value) {\n this._schemaSourceTypes = value;\n }\n}\n\nexport class ConfigureEndpointStep extends WizardStep {\n constructor() {\n super('configure_endpoint', undefined, 'endpoint-config', false);\n }\n}\n\nexport class GenerateEndpointStep extends WizardStep {\n constructor() {\n super('generate_endpoint', undefined, 'generate-endpoint', false);\n }\n}\n","export class CreateEndpointFromShapesRequest {\n /**\n * @type {string}\n * @private\n */\n _fromRepo;\n /**\n * @type {string[]}\n * @private\n */\n _shapes;\n /**\n * @type {Object.<string, *>}\n * @private\n */\n _config;\n\n constructor(data) {\n this._fromRepo = data.fromRepo || '';\n this._shapes = data.shapes || [];\n this._config = data.config || {};\n }\n\n toJSON() {\n return {\n fromRepo: this.fromRepo,\n shapes: this.shapes,\n config: this.config\n };\n }\n\n get fromRepo() {\n return this._fromRepo;\n }\n\n set fromRepo(value) {\n this._fromRepo = value;\n }\n\n get shapes() {\n return this._shapes;\n }\n\n set shapes(value) {\n this._shapes = value;\n }\n\n get config() {\n return this._config;\n }\n\n set config(value) {\n this._config = value;\n }\n}\n","import {DynamicFormField} from \"../dynamic-form/dynamic-form-field\";\n\n/**\n * Enum for configuration types.\n * @readonly\n * @enum {string}\n */\nexport const CONFIG_TYPE = {\n STRING: 'string',\n TEXT: 'text',\n BOOLEAN: 'boolean',\n JSON: 'json'\n}\n\nexport class GraphqlEndpointConfigurationSettings {\n /**\n * Endpoint configuration settings model.\n * @type {DynamicFormModel}\n * @private\n */\n _settings;\n\n /**\n * Flag indicating if the settings are present.\n * @private\n */\n _hasSettings;\n\n constructor(data) {\n this._settings = data;\n this._hasSettings = this._settings ? this._settings.models.length > 0 : false;\n }\n\n /**\n * Returns a flat JSON representation of the settings where the keys are the setting keys and the values are the\n * setting values.\n * @returns {Object.<string, *>}\n */\n toFlatJSON() {\n const settings = {};\n\n const processField = (field) => {\n if (field.collection) {\n settings[field.key] = field.value;\n } else if (field.type === 'select') {\n settings[field.key] = field.value.value;\n } else {\n settings[field.key] = field.value;\n }\n // JSON type field value is string, and the backend doesn't expect it to be parsed, so we send it as is\n };\n\n this._settings.models.forEach((model) => {\n if (model instanceof DynamicFormField) {\n processField(model);\n } else {\n // Process both visible and hidden fields\n [...model.fields, ...model.hiddenFields].forEach(processField);\n }\n });\n\n return settings;\n }\n\n get hasSettings() {\n return this._hasSettings;\n }\n\n get settings() {\n return this._settings;\n }\n\n set settings(value) {\n this._settings = value;\n this._hasSettings = this._settings.models.length > 0;\n }\n}\n","export class GraphqlSchemaShapes {\n /**\n * @type {GraphqlSchemaShape[]}\n */\n _shapes;\n /**\n * @type {number}\n * @private\n */\n _size;\n /**\n * @type {boolean}\n * @private\n */\n _isEmpty;\n\n constructor(data) {\n this._shapes = data || [];\n this._size = this.shapes.length;\n this._isEmpty = this.shapes.length === 0;\n }\n\n /**\n * Process the shapes with the given predicate.\n * @param {function} predicate The predicate to apply to each shape.\n * @returns {GraphqlSchemaShape[]}\n */\n processShapes(predicate) {\n return this.shapes.map(predicate);\n }\n\n /**\n * Get the ids of the shapes.\n * @returns {string[]} The ids of the shapes.\n */\n getShapeIds() {\n return this.shapes.map(shape => shape.id);\n }\n\n get isEmpty() {\n return this._isEmpty;\n }\n\n get size() {\n return this._size;\n }\n\n get shapes() {\n return this._shapes;\n }\n\n set shapes(value) {\n this._shapes = value;\n this._size = this.shapes.length;\n this._isEmpty = this.shapes.length === 0;\n }\n\n toJSON() {\n return this.shapes.map(shape => shape.id);\n }\n}\n\nexport class GraphqlSchemaShape {\n /**\n * @type {string}\n */\n _id;\n /**\n * @type {string}\n */\n _name;\n /**\n * @type {string}\n */\n _label;\n /**\n * @type {string}\n */\n _description;\n\n constructor(data) {\n this._id = data.id;\n this._name = data.name;\n this._label = data.label;\n this._description = data.description;\n }\n\n get id() {\n return this._id;\n }\n\n set id(value) {\n this._id = value;\n }\n\n get name() {\n return this._name;\n }\n\n set name(value) {\n this._name = value;\n }\n\n get label() {\n return this._label;\n }\n\n set label(value) {\n this._label = value;\n }\n\n get description() {\n return this._description;\n }\n\n set description(value) {\n this._description = value;\n }\n}\n","export class CreateEndpointFromOwlRequest {\n /**\n * The source repository ID from which the schema will be generated. If empty, the current repository is used.\n * @type {string}\n * @private\n */\n _fromRepo;\n /**\n * A list of named graphs to be included in the schema generation process. If empty, all repository data is considered.\n * @type {string[]}\n * @private\n */\n _namedGraphs;\n /**\n * A unique identifier for the generated schema.\n * @type {string}\n * @private\n */\n _id;\n /**\n * A user-friendly name for the schema.\n * @type {string}\n * @private\n */\n _label;\n /**\n * A description of the schema for documentation purposes.\n * @type {string}\n * @private\n */\n _description;\n /**\n * A prefix used for vocabulary terms in the schema.\n * @type {string}\n * @private\n */\n _vocPrefix;\n /**\n * The schema configuration settings, including details such as schema ID, label, description, and vocabulary prefix.\n * @type {Object.<string, *>}\n * @private\n */\n _config;\n\n constructor(data) {\n this._id = data.id || '';\n this._label = data.label || '';\n this._description = data.description || '';\n this._fromRepo = data.fromRepo || '';\n this._namedGraphs = data.namedGraphs || [];\n this._vocPrefix = data.vocabPrefix || '';\n this._config = data.config || {};\n }\n\n toJSON() {\n return {\n id: this.id,\n label: this.label,\n description: this.description,\n fromRepo: this.fromRepo,\n namedGraphs: this.namedGraphs,\n vocabPrefix: this.vocPrefix,\n config: this.config\n };\n }\n\n get fromRepo() {\n return this._fromRepo;\n }\n\n set fromRepo(value) {\n this._fromRepo = value;\n }\n\n get namedGraphs() {\n return this._namedGraphs;\n }\n\n set namedGraphs(value) {\n this._namedGraphs = value;\n }\n\n get id() {\n return this._id;\n }\n\n set id(value) {\n this._id = value;\n }\n\n get label() {\n return this._label;\n }\n\n set label(value) {\n this._label = value;\n }\n\n get description() {\n return this._description;\n }\n\n set description(value) {\n this._description = value;\n }\n\n get vocPrefix() {\n return this._vocPrefix;\n }\n\n set vocPrefix(value) {\n this._vocPrefix = value;\n }\n\n get config() {\n return this._config;\n }\n\n set config(value) {\n this._config = value;\n }\n}\n"],"names":["DynamicFormField","_key","_label","_type","_collection","_value","_values","_regex","_required","_group","hidden","constructor","options","this","key","label","type","collection","value","values","regex","RegExp","required","group","_hidden","GraphqlEndpointConfiguration","_schemaSourceType","_owlOrShaclSourceType","_selectedGraphqlSchemaShapes","_selectedGraphs","_params","_settings","SchemaSourceType","GRAPHQL_SCHEMA_SHAPES","OntologyShaclShapeSource","USE_ALL_GRAPHS","GraphqlSchemaShapes","GraphListOptions","GraphqlEndpointParams","_endpointConfigurationSettings","GraphqlEndpointConfigurationSettings","generateFromGraphqlSchemaShapes","schemaSourceType","generateFromShaclShapes","SHACL_SHAPES","toCreateEndpointFromShapesRequest","sourceRepositoryId","CreateEndpointFromShapesRequest","fromRepo","shapes","selectedGraphqlSchemaShapes","getShapeIds","config","settings","toFlatJSON","toCreateEndpointFromOwlRequest","namedGraphs","selectedGraphs","getGraphIds","CreateEndpointFromOwlRequest","id","params","endpointId","endpointLabel","description","endpointDescription","vocabPrefix","vocPrefix","getSelectedGraphqlSchemaShapesOverview","processShapes","shape","GraphqlEndpointOverview","uri","isEmpty","processGraphList","graph","getSelectedGraphqlSchemaShapesCount","length","hasSelectedGraphqlSchemaShapes","getSelectedGraphsCount","graphList","hasSelectedGraphs","owlOrShaclSourceType","_endpointId","_endpointLabel","_endpointDescription","_vocPrefix","data","toJSON","ENDPOINT_GENERATION_STATUS","NONE","SUCCESS","ERROR","GraphqlEndpointOverviewList","_endpointList","endpointList","_uri","_status","status","Wizard","steps","currentStep","addStep","step","push","getActiveStep","find","active","isAPreviousStep","indexOf","setStepActive","forEach","wizardStep","stepIndex","current","currentStepIndex","visited","previousStep","nextStep","WizardStep","templateUrl","page","USE_SHACL_SHAPE_GRAPH","PICK_GRAPHS","SelectSchemaSourceStep","_schemaSourceTypes","_ontologyShaclShapeSources","_ontotlogyShaclShapeSource","super","undefined","ontotlogyShaclShapeSource","ontologyShaclShapeSources","schemaSourceTypes","ConfigureEndpointStep","GenerateEndpointStep","_fromRepo","_shapes","_config","CONFIG_TYPE","STRING","TEXT","BOOLEAN","JSON","_hasSettings","models","processField","field","model","fields","hiddenFields","hasSettings","_size","_isEmpty","predicate","map","size","GraphqlSchemaShape","_id","_name","_description","name","_namedGraphs"],"sourceRoot":""}
@@ -0,0 +1,3 @@
1
+ /*! For license information please see 12358.2061f29dc113149946a3.bundle.js.LICENSE.txt */
2
+ export const __webpack_id__=12358;export const __webpack_ids__=[3909,12358,42618,43319,62062,78508,81801,87054];export const __webpack_modules__={3909:()=>{function e(){return{restrict:"E",require:"ngModel",scope:{ngModel:"=",ngDisabled:"=",placeholder:"@"},templateUrl:"js/angular/core/templates/editable-content/editable-content.html",link:function(e,t,n,a){const o=t.find("div"),i=()=>{e.ngDisabled||e.$apply(()=>{o.html().length&&!o.text().trim().length&&o.empty(),a.$setViewValue(o[0].innerText)})};a.$render=()=>{o.html(a.$viewValue||"")};const r=e=>{e.preventDefault();const t=(e.originalEvent||e).clipboardData.getData("text/plain"),n=window.getSelection();if(!n.rangeCount)return;n.deleteFromDocument();const a=n.getRangeAt(0),o=document.createDocumentFragment(),i=t.split("\n");i.forEach((e,t)=>{o.appendChild(document.createTextNode(e)),t<i.length-1&&o.appendChild(document.createElement("br"))}),a.insertNode(o),n.collapseToEnd()};e.$on("$destroy",()=>{o.off("blur keyup change input",i),o.off("paste",r)}),o.on("blur keyup change input",i),o.on("paste",r)}}}angular.module("graphdb.framework.core.directives.editable-content",[]).directive("editableContent",e),e.$inject=[]},7928:(e,t,n)=>{n.r(t);var a=n(71920),o=n(76076);function i(e,t){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/no-agents-view.html",scope:{},link:n=>{n.canModifyAgent=!1,n.talkToGraphDocumentationLink=o.DocumentationUrlResolver.getDocumentationUrl(t.productShortVersion,"talk-to-graph.html"),n.onCreateAgent=()=>{e.emit(a.TTYGEventName.OPEN_AGENT_SETTINGS)};const i=[];i.push(e.onCanUpdateAgentUpdated(e=>{n.canModifyAgent=e})),n.$on("$destroy",()=>{i.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.no-agents-view",[]).directive("noAgentsView",i),i.$inject=["TTYGContextService","productInfo"]},12358:(e,t,n)=>{n.r(t),n(60039),n(13815),n(29350),n(44874),n(7928),n(62062),n(78508),n(95953),n(36665);var a=n(71920),o=(n(87054),n(70826)),i=n(28319),r=n(19402),s=n(51490),c=n(38940),l=n(11695),d=n(76752),g=n(43319),h=n(69937),m=n(81801),p=n(45458),u=n(57154);function T(e,t,n,T,E,v,C,A,f,_,y,N,b,S,G){const I=[],R={filter_all:C.instant("ttyg.agent.btn.filter.all")};T.helpTemplateUrl="js/angular/ttyg/templates/chatInfo.html",T.isHelpVisible=!1,T.showChats=!0,T.showAgents=!1,T.chats=void 0,T.loadingChats=!1,T.loadingChat=!1,T.initialized=!1,T.agents=void 0,T.selectedAgent=void 0,T.loadingAgents=!1,T.reloadingAgents=!1,T.connectorID=void 0,T.canModifyAgent=!1,T.agentListFilterModel=[],T.activeRepositoryList=[],T.onopen=T.onclose=()=>angular.noop(),T.startNewChat=()=>{S.deselectChat()},T.toggleChatsListSidebar=()=>{T.showChats=!T.showChats},T.toggleAgentsListSidebar=()=>{T.showAgents=!T.showAgents},T.onToggleHelp=()=>{T.isHelpVisible=!T.isHelpVisible},T.onExportSelectedChat=()=>{U(S.getSelectedChat())};const w=()=>{const e=S.getDefaultAgent();return e?Promise.resolve(e):b.getDefaultAgent().then(e=>(S.setDefaultAgent(e),e))};T.onOpenNewAgentSettings=()=>{w().then(e=>{const t=(0,l.repositoryInfoMapper)(f.getActiveRepositoryObject());e.repositoryId=t.id;const n=(0,s.agentFormModelMapper)(new i.AgentModel({}),e,o.AGENT_OPERATION.CREATE);return{templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",backdrop:"static",resolve:{dialogModel:function(){return new g.AgentSettingsModal(t,T.activeRepositoryList,n,o.AGENT_OPERATION.CREATE)}},size:"lg"}}).then(e=>{A.open(e).result.then(O)}).catch(e=>{_.error(getError(e,0,o.TTYG_ERROR_MSG_LENGTH))})},T.onOpenAgentSettings=e=>{let t=e;t||(t=S.getSelectedAgent()),w().then(e=>{const n=(0,s.agentFormModelMapper)(t,e,o.AGENT_OPERATION.EDIT),a=(0,l.repositoryInfoMapper)(f.getActiveRepositoryObject());return{templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",backdrop:"static",resolve:{dialogModel:function(){return new g.AgentSettingsModal(a,T.activeRepositoryList,n,o.AGENT_OPERATION.EDIT)}},size:"lg"}}).then(e=>{A.open(e).result.then(e=>{const t=S.getSelectedAgent();t&&e.id===t.id&&S.selectAgent(e),O()})}).catch(e=>{_.error(getError(e,0,o.TTYG_ERROR_MSG_LENGTH))})},T.onOpenCloneAgentSettings=e=>{w().then(t=>{const n=(0,s.agentFormModelMapper)(e,t,o.AGENT_OPERATION.CLONE);n.name=`clone-${n.name}`;const a=(0,l.repositoryInfoMapper)(f.getActiveRepositoryObject());return{templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",backdrop:"static",resolve:{dialogModel:function(){return new g.AgentSettingsModal(a,T.activeRepositoryList,n,o.AGENT_OPERATION.CLONE)}},size:"lg"}}).then(e=>{A.open(e).result.then(e=>{const t=S.getSelectedAgent();t&&e.id===t.id&&S.selectAgent(e),O()})}).catch(e=>{_.error(getError(e,0,o.TTYG_ERROR_MSG_LENGTH))})};const L=()=>(T.loadingChats=!0,b.getConversations().then(e=>S.updateChats(e)).catch(e=>{_.error(getError(e,0,o.TTYG_ERROR_MSG_LENGTH)),D(new r.ChatsListModel)}).finally(()=>{T.loadingChats=!1})),O=()=>(T.reloadingAgents=!0,b.getAgents().then(e=>S.updateAgents(e)).catch(e=>{_.error(getError(e,0,o.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{T.reloadingAgents=!1})),M=()=>{S.setCanModifyAgent(e.isRepoManager())},Y=(e,t,n)=>{if(e.timestamp=n.timestamp,t.answers=t.answers||[],t.answers.push(...n.messages),S.updateSelectedChat(e),n.continueRunId)S.emit(a.TTYGEventName.CONTINUE_CHAT_RUN,new p.ContinueChatRun(t,n.continueRunId));else{const t=S.getChats();t.updateChatTimestamp(e.id,n.timestamp),t.updateChatName(e.id,n.chatName),e.name=n.name,S.updateChats(t),S.emit(a.TTYGEventName.LAST_MESSAGE_RECEIVED,e)}},k=(e,t,n)=>{e.chatHistory.appendItem(t),Y(e,t,n)},D=e=>{e.isEmpty()?T.showChats=!1:(T.showChats=!0,S.getSelectedChat()||G.getChatId()||S.selectChat(T.chats.getFirstChat()))},U=e=>{b.exportConversation(e.id).then(function({data:t,filename:n}){(0,d.saveAs)(t,n),S.emit(a.TTYGEventName.CHAT_EXPORT_SUCCESSFUL,e)}).catch(()=>{S.emit(a.TTYGEventName.CHAT_EXPORT_FAILURE),_.error(C.instant("ttyg.chat.messages.export_failure"))})},$=()=>{const e=f.getActiveRepository(),t=f.getLocalReadableGraphdbRepositories().map(t=>new i.AgentListFilterModel(t.id,t.id,t.id===e));T.agentListFilterModel=[new i.AgentListFilterModel(o.AGENTS_FILTER_ALL_KEY,R.filter_all),...t]},F=(e,t,n)=>{if(e!==f.getActiveRepository()){const a=f.getRepository(e);a&&y.openConfirmationModal({title:C.instant("common.confirm"),message:(0,h.Gz)(C.instant(t,{repositoryId:a.id})),confirmButtonKey:"ttyg.chat_panel.btn.proceed.label"},()=>{f.setRepository(a),H(n)})}else H(n)},H=e=>{t.open(e,"_blank")},x=e=>{t.open(`/sparql?query=${encodeURIComponent(e)}&execute=true`,"_blank")},P=()=>{const e=G.getChatId(),t=S.getChats();e&&t.getChat(e)&&S.selectChat(S.getChats().getChat(e))};I.push(T.$watch(T.getActiveRepositoryObject,e=>{const t=(0,u.service)(u.AuthenticationService);e&&!t.hasGqlRights(e)&&(T.activeRepositoryList=f.getLocalReadableGraphdbRepositories().map(e=>new c.SelectMenuOptionsModel({value:e.id,label:e.id,data:{repository:e}})),((e=!0)=>(T.loadingAgents=e,b.getAgents().then(e=>S.updateAgents(e)).catch(e=>{_.error(getError(e,0,o.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{T.loadingAgents=!1})))().then(()=>(T.initialized=!0,$(),L())).then(P),M())})),I.push(S.onSelectedChatChanged(e=>{e&&e.id?b.getConversation(e.id).then(t=>{S.updateSelectedChat(t),G.saveChat(e)}).catch(t=>{t.status===m.status.NOT_FOUND&&((e=>{y.openModalAlert({title:C.instant("ttyg.chat.dialog.chat_is_missing.title"),message:C.instant("ttyg.chat.dialog.chat_is_missing.body")}).result.then(function(){S.deleteChat(e)})})(e),S.emit(a.TTYGEventName.LOAD_CHAT_FAILURE,e))}):e&&S.updateSelectedChat(e)})),I.push(S.onChatsListChanged(e=>{T.chats=e,D(e)})),I.push(S.onCanUpdateAgentUpdated(e=>{T.canModifyAgent=e})),I.push(S.subscribe(S.onAgentsListChanged(e=>{T.agents=e}))),I.push(S.subscribe(a.TTYGEventName.CREATE_CHAT,e=>{let t=S.getChats().getNonPersistedChat();t||(t=r.ChatModel.getEmptyChat(),S.addChat(t)),S.selectChat(t),b.createConversation(e).then(t=>{S.emit(a.TTYGEventName.CREATE_CHAT_SUCCESSFUL);const n=S.getSelectedChat();if(n&&!n.id){n.id=t.chatId,e.chatId=t.chatId;const a=S.getChats().getNonPersistedChat();S.replaceChat(n,a),G.saveChat(n),k(n,e,t)}}).catch(e=>{S.emit(a.TTYGEventName.CREATE_CHAT_FAILURE),_.error(getError(e,0,o.TTYG_ERROR_MSG_LENGTH))})})),I.push(S.subscribe(a.TTYGEventName.RENAME_CHAT,e=>{b.renameConversation(e).then(()=>{S.emit(a.TTYGEventName.RENAME_CHAT_SUCCESSFUL),S.emit(a.TTYGEventName.LOAD_CHATS)}).catch(()=>{S.emit(a.TTYGEventName.RENAME_CHAT_FAILURE),_.error(C.instant("ttyg.chat.messages.rename_failure"))})})),I.push(S.subscribe(a.TTYGEventName.DELETE_CHAT,e=>{S.emit(a.TTYGEventName.DELETING_CHAT,{chatId:e.id,inProgress:!0}),b.deleteConversation(e.id).then(()=>{S.emit(a.TTYGEventName.DELETE_CHAT_SUCCESSFUL,e);const t=S.getChats();t.deleteChat(e),S.updateChats(t)}).catch(()=>{S.emit(a.TTYGEventName.DELETE_CHAT_FAILURE),_.error(C.instant("ttyg.chat.messages.delete_failure"))}).finally(()=>S.emit(a.TTYGEventName.DELETING_CHAT,{chatId:e.id,inProgress:!1}))})),I.push(S.subscribe(a.TTYGEventName.CHAT_EXPORT,U)),I.push(S.subscribe(a.TTYGEventName.ASK_QUESTION,e=>{b.askQuestion(e).then(t=>{const n=S.getSelectedChat();n&&n.id===e.chatId&&k(n,e,t)}).catch(e=>{S.emit(a.TTYGEventName.ASK_QUESTION_FAILURE),_.error(getError(e,0,o.TTYG_ERROR_MSG_LENGTH))})})),I.push(S.subscribe(a.TTYGEventName.CONTINUE_CHAT_RUN,e=>{b.continueChatRun(e).then(t=>{const n=e.chatId,a=S.getSelectedChat();if(a&&a.id===n){const e=a.chatHistory.items,n=e[e.length-1];Y(a,n,t)}}).catch(e=>{S.emit(a.TTYGEventName.ASK_QUESTION_FAILURE),_.error(getError(e,0,o.TTYG_ERROR_MSG_LENGTH))})})),I.push(S.subscribe(a.TTYGEventName.LOAD_CHATS,L)),I.push(S.subscribe(a.TTYGEventName.OPEN_AGENT_SETTINGS,T.onOpenNewAgentSettings)),I.push(S.subscribe(a.TTYGEventName.EDIT_AGENT,T.onOpenAgentSettings)),I.push(S.subscribe(a.TTYGEventName.CLONE_AGENT,T.onOpenCloneAgentSettings)),I.push(S.subscribe(a.TTYGEventName.DELETE_AGENT,e=>{S.emit(a.TTYGEventName.DELETING_AGENT,{agentId:e.id,inProgress:!0}),b.deleteAgent(e.id).then(()=>O()).then(()=>{S.emit(a.TTYGEventName.AGENT_DELETED,e),T.selectedAgent&&T.selectedAgent.id===e.id&&(T.selectedAgent=void 0)}).catch(e=>{_.error(getError(e,0,o.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{S.emit(a.TTYGEventName.DELETING_AGENT,{agentId:e.id,inProgress:!1})})})),I.push(S.subscribe(a.TTYGEventName.AGENT_SELECTED,e=>{T.selectedAgent=e})),I.push(S.subscribe(a.TTYGEventName.GO_TO_CREATE_SIMILARITY_VIEW,e=>{F(e.repositoryId,"ttyg.agent.create_agent_modal.dialog.confirm_repository_change_before_open_similarity.body","similarity/index/create")})),I.push(S.subscribe(a.TTYGEventName.GO_TO_AUTOCOMPLETE_INDEX_VIEW,e=>{F(e.repositoryId,"ttyg.agent.create_agent_modal.dialog.confirm_repository_change_before_open_autocomplete_index.body","autocomplete")})),I.push(S.subscribe(a.TTYGEventName.GO_TO_CONNECTORS_VIEW,e=>{F(e.repositoryId,"ttyg.agent.create_agent_modal.dialog.confirm_repository_change_before_open_connectors.body","connectors")})),I.push(S.subscribe(a.TTYGEventName.GO_TO_SPARQL_EDITOR,e=>{if(e.repositoryId!==f.getActiveRepository()){const t=f.getRepository(e.repositoryId);t&&y.openConfirmation(C.instant("common.confirm"),(0,h.Gz)(C.instant("ttyg.chat_panel.dialog.confirm_repository_change.body",{repositoryId:e.repositoryId})),()=>{f.setRepository(t),x(e.query)})}else x(e.query)})),I.push(n.$on("$translateChangeSuccess",()=>{R.filter_all=C.instant("ttyg.agent.btn.filter.all"),$()})),I.push(n.$on("securityInit",M)),T.$on("$destroy",function(){I.forEach(e=>e()),S.resetContext()})}angular.module("graphdb.framework.ttyg.controllers.ttyg-view",["toastr","graphdb.framework.utils.localstorageadapter","graphdb.framework.core.services.ttyg-service","graphdb.framework.ttyg.services.ttygcontext","graphdb.framework.ttyg.services.ttygstorage","graphdb.framework.ttyg.directives.chat-list","graphdb.framework.ttyg.directives.chat-panel","graphdb.framework.ttyg.directives.agent-list","graphdb.framework.ttyg.directives.agent-select-menu","graphdb.framework.ttyg.directives.no-agents-view","graphdb.framework.ttyg.directives.show-tooltip-on-overflow","graphdb.framework.ttyg.controllers.agent-settings-modal","graphdb.framework.core.directives.help-info-popover"]).controller("TTYGViewCtrl",T),T.$inject=["$jwtAuth","$window","$rootScope","$scope","$http","$timeout","$translate","$uibModal","$repositories","toastr","ModalService","LocalStorageAdapter","TTYGService","TTYGContextService","TTYGStorageService"]},13815:(e,t,n)=>{n.r(t),n(64118),n(3909);var a=n(71920),o=n(36633),i=n(63415),r=n(98980),s=n(69937),c=n(19402);function l(e,t,n,l){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-panel.html",link:(e,l,d)=>{e.chat=void 0,e.selectedAgent=void 0,e.chatItem=void 0,e.askingChatItem=void 0,e.waitingForLastMessage=!1,e.loadingChat=!0,e.ask=()=>{e.chatItem.question.timestamp=Date.now(),e.askingChatItem=(0,r.cloneDeep)(e.chatItem),e.chatItem.chatId?h(e.chatItem):g(),e.chatItem=p(),T(),u()},e.regenerateQuestion=t=>{const n=p();n.setQuestionMessage(t.getQuestionMessage()),n.question.timestamp=Date.now(),e.askingChatItem=n,h(n),T()},e.onKeypressOnInput=t=>{e.askingChatItem||"Enter"!==t.key||t.shiftKey||t.ctrlKey||e.ask()},e.onAskHowDeliveredAnswer=()=>{const n=p();n.setQuestionMessage(t.instant("ttyg.chat_panel.btn.derive_answer.label")),n.question.timestamp=Date.now(),e.askingChatItem=(0,r.cloneDeep)(n),h(n),T()},e.getAgentName=e=>{const a=n.getAgent(e);return a?a.name:(0,s.Gz)(t.instant("ttyg.chat_panel.deleted_agent"))};const g=()=>{e.waitingForLastMessage=!0,n.emit(a.TTYGEventName.CREATE_CHAT,e.chatItem)},h=t=>{e.waitingForLastMessage=!0,n.emit(a.TTYGEventName.ASK_QUESTION,t)},m=()=>{e.chatItem=(0,r.cloneDeep)(e.askingChatItem),e.askingChatItem=void 0,e.waitingForLastMessage=!1},p=()=>{const t=new i.ChatItemModel;return t.question=new o.ChatMessageModel({role:o.CHAT_MESSAGE_ROLE.USER}),e.chat&&(t.chatId=e.chat.id),e.selectedAgent&&(t.agentId=e.selectedAgent.id),t},u=()=>{setTimeout(()=>{let e=document.querySelector(".question-input");e&&e.focus()})},T=()=>{setTimeout(()=>{const e=l.find(".chat-details")[0];e&&(e.scrollTop=e.scrollHeight)})},E=()=>{e.chat=c.ChatModel.getEmptyChat(),e.loadingChat=!1,e.chatItem=p(),e.askingChatItem=void 0,e.waitingForLastMessage=!1,u()},v=[];v.push(e.$watchCollection("chat.chatHistory.items",T)),v.push(n.onSelectedChatUpdated(t=>{if(e.chat=t,!t||!t.id&&e.askingChatItem)return;e.loadingChat=!1;let a=e.chatItem.question.message;if(e.chatItem=p(),e.chatItem.question.message=a,e.askingChatItem=void 0,e.chat){const t=e.chat.chatHistory.getLast();t&&t.agentId&&n.selectAgent(n.getAgent(t.agentId))}u()})),v.push(n.onLastMessageReceived(()=>{e.waitingForLastMessage=!1})),v.push(n.onSelectedAgentChanged(t=>{e.selectedAgent=t,e.selectedAgent&&e.chatItem&&(e.chatItem.agentId=e.selectedAgent.id),u()})),v.push(n.onSelectedChatChanged(t=>{t?(e.loadingChat=t&&t.id,e.chatItem=p(),u()):E()})),v.push(n.subscribe(a.TTYGEventName.LOAD_CHAT_FAILURE,()=>{e.loadingChat=!1,e.chatItem=p(),u()})),v.push(n.subscribe(a.TTYGEventName.ASK_QUESTION_FAILURE,m)),v.push(n.subscribe(a.TTYGEventName.CREATE_CHAT_FAILURE,m)),v.push(n.subscribe(a.TTYGEventName.DELETE_CHAT_SUCCESSFUL,t=>{e.chat&&t.id===e.chat.id&&E()})),e.$on("$destroy",()=>{v.forEach(e=>e())}),e.chat=c.ChatModel.getEmptyChat(),e.chatItem=p(),u()}}}angular.module("graphdb.framework.ttyg.directives.chat-panel",["graphdb.framework.ttyg.directives.chat-item-detail","graphdb.framework.core.directives.editable-content"]).directive("chatPanel",l),l.$inject=["toastr","$translate","TTYGContextService","$timeout"]},29350:(e,t,n)=>{n.r(t);var a=n(69937),o=n(71920);function i(e,t,n,i,r){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-list.html",scope:{agentList:"=",agentListFilterModel:"="},link:(i,s,c)=>{i.selectedAgent=void 0,i.selectedAgentsFilter=void 0,i.deletingAgent=void 0,i.onEditAgent=t=>{e.emit(o.TTYGEventName.EDIT_AGENT,t)},i.onExternalIntegration=e=>{r.open(e)},i.onCloneAgent=t=>{e.emit(o.TTYGEventName.CLONE_AGENT,t)},i.onDeleteAgent=i=>{const r=n.instant("ttyg.agent.delete_agent_modal.title"),s=(0,a.Gz)(n.instant("ttyg.agent.delete_agent_modal.body",{agentName:i.name}));t.openConfirmation(r,s,()=>e.emit(o.TTYGEventName.DELETE_AGENT,i))},i.onAgentsFilterChange=e=>{i.selectedAgentsFilter=e,i.selectedAgentsFilter&&i.agentList.filterByRepository(i.selectedAgentsFilter.key)};const l=()=>{const e=i.agentListFilterModel.find(e=>e.selected);i.selectedAgentsFilter=e||i.agentListFilterModel[0],i.onAgentsFilterChange(i.selectedAgentsFilter)},d=[];d.push(i.$watch("agentListFilterModel",l)),d.push(e.subscribe(o.TTYGEventName.DELETING_AGENT,e=>{i.deletingAgent=e})),d.push(e.onSelectedAgentChanged(e=>{i.selectedAgent=e})),i.$on("$destroy",()=>{d.forEach(e=>e())}),l()}}}n(84430),angular.module("graphdb.framework.ttyg.directives.agent-list",["graphdb.framework.ttyg.services.externalIntegrationModal"]).directive("agentList",i),i.$inject=["TTYGContextService","ModalService","$translate","$uibModal","ExternalIntegrationModalService"]},42618:()=>{function e(e){return{restrict:"E",scope:{fieldName:"@",source:"=",onSave:"&",onCancel:"&",onClick:"&",onDblclick:"&",isEditing:"="},templateUrl:"js/angular/core/directives/inline-editable-text/templates/inline-editable-text.template.html",link:function(t,n){t.editableModel={};const a=[];let o;t.onKeydown=e=>{"Enter"===e.key?(r(),t.editableModel.text!==t.text&&t.onSave({newText:t.editableModel.text,source:t.source})):"Escape"===e.key&&i()},t.onCancelEditing=()=>{i()},t.onSelect=()=>{o?(r(),t.onDblclick({source:t.source})):o=e(function(){t.onClick({source:t.source}),r()},250)};const i=()=>{r(),t.onCancel()},r=()=>{e.cancel(o),o=void 0};a.push(t.$watch("isEditing",a=>{a&&(t.editableModel.text=t.source[t.fieldName],e(()=>{const e=n.find("input")[0];e.focus(),e.select()},0))})),t.$on("$destroy",()=>{a.forEach(e=>e()),r()})}}}angular.module("graphdb.framework.core.directives.inline-editable-text",[]).directive("inlineEditableText",e),e.$inject=["$timeout"]},43319:(e,t,n)=>{n.r(t),n.d(t,{AgentSettingsModal:()=>a});class a{constructor(e,t,n,a){this.activeRepositoryInfo=e,this.activeRepositoryList=t,this.agentFormModel=n,this.operation=a}}},44874:(e,t,n)=>{n.r(t);var a=n(38940),o=n(71920);function i(e,t,n,i,r){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-select-menu.html",scope:{},link:n=>{n.agentOptionsList=[],n.selectedAgent=void 0,n.onAgentSelected=(a,c)=>{if(!c.isCompatible)return a.stopPropagation(),void a.preventDefault();if(s(c),r.saveAgent(c),n.selectedAgent=c,e.selectAgent(c),c.isRepositoryDeleted){const n=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.title"),a=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.body");i.openConfirmation(n,a,()=>e.emit(o.TTYGEventName.EDIT_AGENT,c))}};const s=e=>{n.agentOptionsList.forEach(t=>{t.selected=t.data.agent===e})},c=e=>{s(e),n.selectedAgent=e},l=[];l.push(e.onAgentsListChanged(t=>{var o;o=t,n.agentOptionsList=o.agents.map(e=>new a.SelectMenuOptionsModel({value:e.id,label:e.name,data:{agent:e}})),(()=>{let t;const a=r.getAgentId();a&&n.agentOptionsList.forEach(e=>{e.data.agent.id===a&&(t=e.data.agent)}),!t&&n.agentOptionsList[0]&&(t=n.agentOptionsList[0].data.agent),c(t),e.selectAgent(t)})()})),l.push(e.subscribe(o.TTYGEventName.AGENT_DELETED,t=>{n.selectedAgent&&n.selectedAgent.id===t.id&&(n.selectedAgent.isDeleted=!0,e.selectAgent(n.selectedAgent))})),l.push(e.onSelectedAgentChanged(c)),n.$on("$destroy",()=>{l.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.agent-select-menu",[]).directive("agentSelectMenu",i),i.$inject=["TTYGContextService","$translate","$sce","ModalService","TTYGStorageService"]},60039:(e,t,n)=>{n.r(t),n(42618);var a=n(71920),o=n(65820),i=n(69937);function r(e,t,n,r){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-list.html",link:s=>{s.selectedChat=void 0,s.renamedChat=void 0,s.deletingChat=void 0,s.onSelectChatForRenaming=e=>{s.renamedChat=e},s.onSelectChat=t=>{if(!s.selectedChat||s.selectedChat.id!==t.id){const n=e.getChats().getNonPersistedChat();n&&e.deleteChat(n),e.selectChat(t),s.renamedChat=void 0}},s.onDeleteChat=o=>{const r=n.instant("ttyg.dialog.delete.title"),s=(0,i.Gz)(n.instant("ttyg.dialog.delete.body",{chatName:o.name}));t.openConfirmation(r,s,()=>e.emit(a.TTYGEventName.DELETE_CHAT,o))},s.onRenameChat=(t,n)=>{n.name=t,s.renamedChat=void 0,e.emit(a.TTYGEventName.RENAME_CHAT,n)},s.onExportChat=t=>{e.emit(a.TTYGEventName.CHAT_EXPORT,t)},s.onCancelChatRenaming=()=>{s.renamedChat=void 0},s.getHumanReadableChatGroupTimestamp=e=>(0,o.getHumanReadableTimestamp)(n,r,e);const c=e=>{s.selectedChat=e},l=[];l.push(e.onSelectedChatChanged(c)),l.push(e.onSelectedChatUpdated(c)),l.push(e.onChatsListChanged(e=>{s.chatList=e})),l.push(e.subscribe(a.TTYGEventName.DELETING_CHAT,e=>{s.deletingChat=e})),s.$on("$destroy",()=>{l.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.chat-list",["graphdb.framework.core.directives.inline-editable-text"]).directive("chatList",r),r.$inject=["TTYGContextService","ModalService","$translate","$filter"]},62062:()=>{angular.module("graphdb.framework.ttyg.directives.show-tooltip-on-overflow",[]).directive("showTooltipOnOverflow",function(){return{link:function(e,t){setTimeout(function(){const n=t[0].querySelector(".editable-text-element");n&&(n.scrollWidth>n.clientWidth?t.attr("title",e.chat.name):t.removeAttr("title"))},0)}}})},76752:function(e,t,n){var a,o=o||function(e){if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var t=e.document,n=function(){return e.URL||e.webkitURL||e},a=t.createElementNS("http://www.w3.org/1999/xhtml","a"),o=e.webkitRequestFileSystem,i=e.requestFileSystem||o||e.mozRequestFileSystem,r=function(t){(e.setImmediate||e.setTimeout)(function(){throw t},0)},s="application/octet-stream",c=0,l=function(t){var a=function(){"string"==typeof t?n().revokeObjectURL(t):t.remove()};e.chrome?a():setTimeout(a,500)},d=function(e,t,n){for(var a=(t=[].concat(t)).length;a--;){var o=e["on"+t[a]];if("function"==typeof o)try{o.call(e,n||e)}catch(e){r(e)}}},g=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e},h=function(t,r){t=g(t);var h,m,p,u=this,T=t.type,E=!1,v=function(){d(u,"writestart progress write writeend".split(" "))},C=function(){!E&&h||(h=n().createObjectURL(t)),m?m.location.href=h:null==e.open(h,"_blank")&&"undefined"!=typeof safari&&(e.location.href=h),u.readyState=u.DONE,v(),l(h)},A=function(e){return function(){if(u.readyState!==u.DONE)return e.apply(this,arguments)}},f={create:!0,exclusive:!1};if(u.readyState=u.INIT,r||(r="download"),a)return h=n().createObjectURL(t),a.href=h,a.download=r,void setTimeout(function(){var e,t;e=a,t=new MouseEvent("click"),e.dispatchEvent(t),v(),l(h),u.readyState=u.DONE});e.chrome&&T&&T!==s&&(p=t.slice||t.webkitSlice,t=p.call(t,0,t.size,s),E=!0),o&&"download"!==r&&(r+=".download"),(T===s||o)&&(m=e),i?(c+=t.size,i(e.TEMPORARY,c,A(function(e){e.root.getDirectory("saved",f,A(function(e){var n=function(){e.getFile(r,f,A(function(e){e.createWriter(A(function(n){n.onwriteend=function(t){m.location.href=e.toURL(),u.readyState=u.DONE,d(u,"writeend",t),l(e)},n.onerror=function(){var e=n.error;e.code!==e.ABORT_ERR&&C()},"writestart progress write abort".split(" ").forEach(function(e){n["on"+e]=u["on"+e]}),n.write(t),u.abort=function(){n.abort(),u.readyState=u.DONE},u.readyState=u.WRITING}),C)}),C)};e.getFile(r,{create:!1},A(function(e){e.remove(),n()}),A(function(e){e.code===e.NOT_FOUND_ERR?n():C()}))}),C)}),C)):C()},m=h.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t){return navigator.msSaveOrOpenBlob(g(e),t)}:(m.abort=function(){var e=this;e.readyState=e.DONE,d(e,"abort")},m.readyState=m.INIT=0,m.WRITING=1,m.DONE=2,m.error=m.onwritestart=m.onprogress=m.onwrite=m.onabort=m.onerror=m.onwriteend=null,function(e,t){return new h(e,t)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);e.exports?e.exports.saveAs=o:null!==n.amdD&&null!=n.amdO&&(void 0===(a=function(){return o}.apply(t,[]))||(e.exports=a))},78508:()=>{angular.module("graphdb.framework.core.directives.help-info-popover",[]).directive("helpInfoPopover",function(){return{restrict:"E",scope:{helpInfo:"="},templateUrl:"js/angular/ttyg/templates/modal/helpInfoPopoverTemplate.html",link:function(e,t){e.isPopoverOpen=!1;const n=()=>{e.$apply(()=>{e.isPopoverOpen=!0})},a=()=>{e.$apply(()=>{e.isPopoverOpen=!1})};t.on("mouseenter",n),t.on("mouseleave",a),e.$on("$destroy",function(){t.off("mouseenter",n),t.off("mouseleave",a)})}}})},81801:(e,t,n)=>{n.r(t),n.d(t,{status:()=>a});const a={BAD_REQUEST:400,UNAUTHORIZED:401,FORBIDDEN:403,NOT_FOUND:404,CONFLICT:409,INTERNAL_SERVER_ERROR:500,SERVICE_UNAVAILABLE:503}},87054:()=>{function e(e,t){const n={agent:{id:void 0},chat:{id:void 0}},a=()=>{let a=e.get(t.TTYG);return a||(a=n),a.agent||(a.agent={}),a.chat||(a.chat={}),a};return{saveAgent:function(n){const o=a();o.agent.id=n?n.id:void 0,e.set(t.TTYG,o)},getAgentId:function(){const e=a();if(e.agent)return e.agent.id},saveChat:function(n){const o=a();o.chat.id=n?n.id:void 0,e.set(t.TTYG,o)},getChatId:function(){const e=a();if(e.chat)return e.chat.id}}}angular.module("graphdb.framework.ttyg.services.ttygstorage",[]).factory("TTYGStorageService",e),e.$inject=["LocalStorageAdapter","LSKeys"]}};
3
+ //# sourceMappingURL=12358.2061f29dc113149946a3.bundle.js.map