graphdb-workbench 3.1.1-TR3 → 3.1.2-RC1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/dist/{12396.6a14b6f5e2006b200818.bundle.js → 12396.45c6c5bfacbc9b618e53.bundle.js} +2 -2
  2. package/dist/{12396.6a14b6f5e2006b200818.bundle.js.map → 12396.45c6c5bfacbc9b618e53.bundle.js.map} +1 -1
  3. package/dist/{15535.a192d8a2d5f76b626c81.bundle.js → 15535.4ddd399f1c7b1a293cd1.bundle.js} +2 -2
  4. package/dist/{15535.a192d8a2d5f76b626c81.bundle.js.map → 15535.4ddd399f1c7b1a293cd1.bundle.js.map} +1 -1
  5. package/dist/{16162.9cfcb9db05b9cef9ef2c.bundle.js → 16162.5a13a7e01245ad4a1870.bundle.js} +2 -2
  6. package/dist/{16162.9cfcb9db05b9cef9ef2c.bundle.js.map → 16162.5a13a7e01245ad4a1870.bundle.js.map} +1 -1
  7. package/dist/{20287.8922d85f31b5c32871fa.bundle.js → 20287.57efc6f8c3d69e32d9eb.bundle.js} +2 -2
  8. package/dist/{20287.8922d85f31b5c32871fa.bundle.js.map → 20287.57efc6f8c3d69e32d9eb.bundle.js.map} +1 -1
  9. package/dist/{21136.56c47558cdf33e965b38.bundle.js → 21136.16ba26c3c2a5994ac804.bundle.js} +2 -2
  10. package/dist/{21136.56c47558cdf33e965b38.bundle.js.map → 21136.16ba26c3c2a5994ac804.bundle.js.map} +1 -1
  11. package/dist/{21142.93c830c0610f98d282df.bundle.js → 21142.6a0dddf4d8cbaa3f12b0.bundle.js} +2 -2
  12. package/dist/{21142.93c830c0610f98d282df.bundle.js.map → 21142.6a0dddf4d8cbaa3f12b0.bundle.js.map} +1 -1
  13. package/dist/{21170.40b856a0c1059be48ff7.bundle.js → 21170.8e1c1c6ca9e0dcabb7f1.bundle.js} +2 -2
  14. package/dist/{21170.40b856a0c1059be48ff7.bundle.js.map → 21170.8e1c1c6ca9e0dcabb7f1.bundle.js.map} +1 -1
  15. package/dist/{21195.96a947771170a900d9e0.bundle.js → 21195.a643243779a9686a80c2.bundle.js} +2 -2
  16. package/dist/{21195.96a947771170a900d9e0.bundle.js.map → 21195.a643243779a9686a80c2.bundle.js.map} +1 -1
  17. package/dist/{25747.ce7c2a7b48934c1426d2.bundle.js → 25747.cad141609522a4fada23.bundle.js} +2 -2
  18. package/dist/{25747.ce7c2a7b48934c1426d2.bundle.js.map → 25747.cad141609522a4fada23.bundle.js.map} +1 -1
  19. package/dist/{27580.0ef093964518f35c5118.bundle.js → 27580.9b398051408490eb3370.bundle.js} +2 -2
  20. package/dist/{27580.0ef093964518f35c5118.bundle.js.map → 27580.9b398051408490eb3370.bundle.js.map} +1 -1
  21. package/dist/{31636.43cac2fcf593e3258dc8.bundle.js → 31636.4cbcef238ea95947d034.bundle.js} +2 -2
  22. package/dist/{31636.43cac2fcf593e3258dc8.bundle.js.map → 31636.4cbcef238ea95947d034.bundle.js.map} +1 -1
  23. package/dist/{32489.e369df1e7dac02c0c364.bundle.js → 32489.6f365b00ec1f1a922349.bundle.js} +2 -2
  24. package/dist/{32489.e369df1e7dac02c0c364.bundle.js.map → 32489.6f365b00ec1f1a922349.bundle.js.map} +1 -1
  25. package/dist/34330.a8c1fd00d27db289888e.bundle.js +2 -0
  26. package/dist/34330.a8c1fd00d27db289888e.bundle.js.map +1 -0
  27. package/dist/{34495.0330520329177233edb1.bundle.js → 34495.26fa7bdc333ca00fd5ef.bundle.js} +2 -2
  28. package/dist/{34495.0330520329177233edb1.bundle.js.map → 34495.26fa7bdc333ca00fd5ef.bundle.js.map} +1 -1
  29. package/dist/{38360.386e744b1359deaf4b8e.bundle.js → 38360.4cdad1c762e87ebd0956.bundle.js} +2 -2
  30. package/dist/{38360.386e744b1359deaf4b8e.bundle.js.map → 38360.4cdad1c762e87ebd0956.bundle.js.map} +1 -1
  31. package/dist/{38644.5b75d86fdb1b61a01177.bundle.js → 38644.fc6c58775859f41c805f.bundle.js} +2 -2
  32. package/dist/{38644.5b75d86fdb1b61a01177.bundle.js.map → 38644.fc6c58775859f41c805f.bundle.js.map} +1 -1
  33. package/dist/{38843.cb5377dcb4da9cb3786d.bundle.js → 38843.87e1d2c22e7c03397740.bundle.js} +2 -2
  34. package/dist/{38843.cb5377dcb4da9cb3786d.bundle.js.map → 38843.87e1d2c22e7c03397740.bundle.js.map} +1 -1
  35. package/dist/39518.148d1b3347798e9919fd.bundle.js +2 -0
  36. package/dist/39518.148d1b3347798e9919fd.bundle.js.map +1 -0
  37. package/dist/{39539.f6e6e6cde9c6f9830cf7.bundle.js → 39539.43ba568d747c737aa425.bundle.js} +2 -2
  38. package/dist/{39539.f6e6e6cde9c6f9830cf7.bundle.js.map → 39539.43ba568d747c737aa425.bundle.js.map} +1 -1
  39. package/dist/{41453.e741eca570ac0a4c772a.bundle.js → 41453.cc7b9e548b29aa23051f.bundle.js} +2 -2
  40. package/dist/{41453.e741eca570ac0a4c772a.bundle.js.map → 41453.cc7b9e548b29aa23051f.bundle.js.map} +1 -1
  41. package/dist/{42129.0ef4171ed6a1984d759c.bundle.js → 42129.ea7309affc343caf1ca2.bundle.js} +2 -2
  42. package/dist/{42129.0ef4171ed6a1984d759c.bundle.js.map → 42129.ea7309affc343caf1ca2.bundle.js.map} +1 -1
  43. package/dist/42143.6c37997677f5ec643731.bundle.js +2 -0
  44. package/dist/42143.6c37997677f5ec643731.bundle.js.map +1 -0
  45. package/dist/{44444.dab617ddb7622503b87c.bundle.js → 44444.55a40d0bec02cb65abec.bundle.js} +2 -2
  46. package/dist/{44444.dab617ddb7622503b87c.bundle.js.map → 44444.55a40d0bec02cb65abec.bundle.js.map} +1 -1
  47. package/dist/{51087.b072d1c0e53403535283.bundle.js → 51087.1e118e7fe32a8c09d6cb.bundle.js} +2 -2
  48. package/dist/51087.1e118e7fe32a8c09d6cb.bundle.js.map +1 -0
  49. package/dist/{55217.4769c1f0615e364d8c2a.bundle.js → 55217.98a70cf01c4b7a826e82.bundle.js} +2 -2
  50. package/dist/55217.98a70cf01c4b7a826e82.bundle.js.map +1 -0
  51. package/dist/{55862.8ef52c24ecad5d1b335f.bundle.js → 55862.d9d6d715b3ef7c42f98f.bundle.js} +2 -2
  52. package/dist/{55862.8ef52c24ecad5d1b335f.bundle.js.map → 55862.d9d6d715b3ef7c42f98f.bundle.js.map} +1 -1
  53. package/dist/{58306.69f132627b7aa8a2fd8b.bundle.js → 58306.d34210db8418c8e2ada5.bundle.js} +2 -2
  54. package/dist/{58306.69f132627b7aa8a2fd8b.bundle.js.map → 58306.d34210db8418c8e2ada5.bundle.js.map} +1 -1
  55. package/dist/67232.ed4a76f2ed6ca5622502.bundle.js +2 -0
  56. package/dist/67232.ed4a76f2ed6ca5622502.bundle.js.map +1 -0
  57. package/dist/{67888.0e199b9af05ec62b2aac.bundle.js → 67888.351f27e70f183b0ed866.bundle.js} +2 -2
  58. package/dist/{67888.0e199b9af05ec62b2aac.bundle.js.map → 67888.351f27e70f183b0ed866.bundle.js.map} +1 -1
  59. package/dist/70938.c489d3ca5b00ad297139.bundle.js +2 -0
  60. package/dist/70938.c489d3ca5b00ad297139.bundle.js.map +1 -0
  61. package/dist/{72379.90c38d8cdf911698fd58.bundle.js → 72379.53a484997d925adb2740.bundle.js} +2 -2
  62. package/dist/{72379.90c38d8cdf911698fd58.bundle.js.map → 72379.53a484997d925adb2740.bundle.js.map} +1 -1
  63. package/dist/{73667.6eb291069cdbfa7ee5a0.bundle.js → 73667.4393561b33a20dcfa9c7.bundle.js} +2 -2
  64. package/dist/{73667.6eb291069cdbfa7ee5a0.bundle.js.map → 73667.4393561b33a20dcfa9c7.bundle.js.map} +1 -1
  65. package/dist/{73793.0f7acda985d6954bb4f8.bundle.js → 73793.4af5d04b7d2549d88c47.bundle.js} +2 -2
  66. package/dist/{73793.0f7acda985d6954bb4f8.bundle.js.map → 73793.4af5d04b7d2549d88c47.bundle.js.map} +1 -1
  67. package/dist/{75282.e691d50bb173673e70fc.bundle.js → 75282.fd7af7301abd1fbdb902.bundle.js} +2 -2
  68. package/dist/{75282.e691d50bb173673e70fc.bundle.js.map → 75282.fd7af7301abd1fbdb902.bundle.js.map} +1 -1
  69. package/dist/{75849.ac13a455c619510af005.bundle.js → 75849.a3bceb24c6c508086f31.bundle.js} +2 -2
  70. package/dist/{75849.ac13a455c619510af005.bundle.js.map → 75849.a3bceb24c6c508086f31.bundle.js.map} +1 -1
  71. package/dist/76013.9e71103dbb91bd9a558c.bundle.js +2 -0
  72. package/dist/76013.9e71103dbb91bd9a558c.bundle.js.map +1 -0
  73. package/dist/{78250.93a299876bba79ebbff4.bundle.js → 78250.291dc2a5a37971ff0e26.bundle.js} +2 -2
  74. package/dist/{78250.93a299876bba79ebbff4.bundle.js.map → 78250.291dc2a5a37971ff0e26.bundle.js.map} +1 -1
  75. package/dist/{79329.7f5eab5efab56b8c4f3d.bundle.js → 79329.3af551efaa9b79cb9ecd.bundle.js} +2 -2
  76. package/dist/{79329.7f5eab5efab56b8c4f3d.bundle.js.map → 79329.3af551efaa9b79cb9ecd.bundle.js.map} +1 -1
  77. package/dist/{82926.eb9ca3ba256ddcf218d6.bundle.js → 82926.e3185a54538c532c72ca.bundle.js} +2 -2
  78. package/dist/{82926.eb9ca3ba256ddcf218d6.bundle.js.map → 82926.e3185a54538c532c72ca.bundle.js.map} +1 -1
  79. package/dist/86142.04f4e4759998d4c37ccd.bundle.js +2 -0
  80. package/dist/86142.04f4e4759998d4c37ccd.bundle.js.map +1 -0
  81. package/dist/{86639.ab85108411ef0f006e10.bundle.js → 86639.d28da26b8f138f5eb19b.bundle.js} +2 -2
  82. package/dist/86639.d28da26b8f138f5eb19b.bundle.js.map +1 -0
  83. package/dist/89695.92f7a6ec9d8d3661a105.bundle.js +2 -0
  84. package/dist/89695.92f7a6ec9d8d3661a105.bundle.js.map +1 -0
  85. package/dist/{9062.8b631bfc91a2ae919c46.bundle.js → 9062.ffba00927452fd99ac05.bundle.js} +2 -2
  86. package/dist/{9062.8b631bfc91a2ae919c46.bundle.js.map → 9062.ffba00927452fd99ac05.bundle.js.map} +1 -1
  87. package/dist/{99448.4b7fc65ec6dda3d684c5.bundle.js → 99448.a99d92ecebfe54944813.bundle.js} +2 -2
  88. package/dist/{99448.4b7fc65ec6dda3d684c5.bundle.js.map → 99448.a99d92ecebfe54944813.bundle.js.map} +1 -1
  89. package/dist/i18n/locale-en.json +3 -2
  90. package/dist/i18n/locale-fr.json +3 -2
  91. package/dist/index.html +8 -8
  92. package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +1 -1
  93. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  94. package/dist/js/angular/core/directives/dynamic-form/templates/dynamic-form.html +1 -1
  95. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  96. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  97. package/dist/js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html +1 -1
  98. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  99. package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
  100. package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
  101. package/dist/js/angular/core/templates/editable-content/editable-content.html +1 -1
  102. package/dist/js/angular/core/templates/markdown-content/markdown-content.html +1 -1
  103. package/dist/js/angular/core/templates/search-resource-input.html +1 -1
  104. package/dist/js/angular/graphql/templates/create-graphql-endpoint.html +2 -2
  105. package/dist/js/angular/graphql/templates/graphql-endpoint-management.html +1 -1
  106. package/dist/js/angular/graphql/templates/graphql-playground.html +1 -1
  107. package/dist/js/angular/graphql/templates/modal/endpoint-configuration-modal.html +1 -1
  108. package/dist/js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html +1 -1
  109. package/dist/js/angular/graphql/templates/modal/import-endpoint-definition-modal.html +1 -1
  110. package/dist/js/angular/security/templates/user.html +2 -2
  111. package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
  112. package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
  113. package/dist/js/angular/ttyg/templates/chat-item-detail.html +1 -1
  114. package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
  115. package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
  116. package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
  117. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +2 -2
  118. package/dist/js/angular/ttyg/templates/modal/external-integration-configuration-modal.html +1 -1
  119. package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
  120. package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
  121. package/dist/{legacyWorkbench.e60d05442435ec0d1bd0.js → legacyWorkbench.7c89e10f5b13be36e507.js} +3 -3
  122. package/dist/{legacyWorkbench.e60d05442435ec0d1bd0.js.map → legacyWorkbench.7c89e10f5b13be36e507.js.map} +1 -1
  123. package/dist/{main.400f2248f076a2d31d80.js → main.69281239915ca9aecd6d.js} +3 -3
  124. package/dist/{main.400f2248f076a2d31d80.js.map → main.69281239915ca9aecd6d.js.map} +1 -1
  125. package/dist/pages/aclmanagement.html +2 -2
  126. package/dist/pages/autocomplete.html +1 -1
  127. package/dist/pages/choose-repository-type.html +1 -1
  128. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  129. package/dist/pages/create-index.html +1 -1
  130. package/dist/pages/dependencies.html +1 -1
  131. package/dist/pages/domainRangeInfo.html +2 -2
  132. package/dist/pages/edit.html +1 -1
  133. package/dist/pages/explore.html +1 -1
  134. package/dist/pages/export.html +1 -1
  135. package/dist/pages/find.html +1 -1
  136. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  137. package/dist/pages/graphs-visualizations.html +7 -7
  138. package/dist/pages/guides.html +1 -1
  139. package/dist/pages/import.html +2 -2
  140. package/dist/pages/jdbc-create.html +1 -1
  141. package/dist/pages/login.html +1 -1
  142. package/dist/pages/monitor/backup-and-restore.html +1 -1
  143. package/dist/pages/monitor/queries.html +1 -1
  144. package/dist/pages/monitor/resources.html +1 -1
  145. package/dist/pages/namespaces.html +2 -2
  146. package/dist/pages/not_found.html +1 -1
  147. package/dist/pages/plugins.html +1 -1
  148. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  149. package/dist/pages/rdfrank.html +2 -2
  150. package/dist/pages/repositories.html +1 -1
  151. package/dist/pages/repository.html +1 -1
  152. package/dist/pages/similarity-indexes.html +1 -1
  153. package/dist/pages/sparql-editor.html +1 -1
  154. package/dist/pages/sparql-template-create.html +1 -1
  155. package/dist/pages/ux-test1.html +2 -2
  156. package/dist/pages/webapi.html +2 -2
  157. package/dist/plugins.js +1 -1
  158. package/dist/res/swagger5/index.html +11 -11
  159. package/package.json +1 -1
  160. package/dist/34330.4b46c3a52d19f05fc0b2.bundle.js +0 -2
  161. package/dist/34330.4b46c3a52d19f05fc0b2.bundle.js.map +0 -1
  162. package/dist/39518.ae7e3b16d56939b60efc.bundle.js +0 -2
  163. package/dist/39518.ae7e3b16d56939b60efc.bundle.js.map +0 -1
  164. package/dist/42143.c11e5c28f2b8e9952dbb.bundle.js +0 -2
  165. package/dist/42143.c11e5c28f2b8e9952dbb.bundle.js.map +0 -1
  166. package/dist/51087.b072d1c0e53403535283.bundle.js.map +0 -1
  167. package/dist/55217.4769c1f0615e364d8c2a.bundle.js.map +0 -1
  168. package/dist/67232.e76f40f9d09e64ebb365.bundle.js +0 -2
  169. package/dist/67232.e76f40f9d09e64ebb365.bundle.js.map +0 -1
  170. package/dist/70938.6d0055f916f6d1bc91bb.bundle.js +0 -2
  171. package/dist/70938.6d0055f916f6d1bc91bb.bundle.js.map +0 -1
  172. package/dist/76013.3211939a02cf4fb2529e.bundle.js +0 -2
  173. package/dist/76013.3211939a02cf4fb2529e.bundle.js.map +0 -1
  174. package/dist/86142.c29959b68edc59a9b696.bundle.js +0 -2
  175. package/dist/86142.c29959b68edc59a9b696.bundle.js.map +0 -1
  176. package/dist/86639.ab85108411ef0f006e10.bundle.js.map +0 -1
  177. package/dist/89695.4ee87c52d4088115c51e.bundle.js +0 -2
  178. package/dist/89695.4ee87c52d4088115c51e.bundle.js.map +0 -1
  179. /package/dist/{legacyWorkbench.e60d05442435ec0d1bd0.js.LICENSE.txt → legacyWorkbench.7c89e10f5b13be36e507.js.LICENSE.txt} +0 -0
  180. /package/dist/{main.400f2248f076a2d31d80.js.LICENSE.txt → main.69281239915ca9aecd6d.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"41453.e741eca570ac0a4c772a.bundle.js","mappings":"uJAGA,QAFW,qoD","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/graphql/templates/modal/endpoint-configuration-modal.html"],"sourcesContent":["// Module\nvar code = `<link href=\"css/graphql/graphql-endpoint-configuration-modal.css?v=3.1.1-TR3\" rel=\"stylesheet\"/> <div class=\"modal-header\"> <h3 class=\"modal-title\">{{'graphql.endpoints_management.endpoint_configuration_modal.title' | translate}}</h3> <span ng-click=\"toggleAdvancedSettings()\" class=\"toggle-advanced-settings\"> <input type=\"checkbox\" class=\"switch\" ng-checked=\"showAdvancedSettings\"/> <label></label> <span>{{'graphql.endpoints_management.endpoint_configuration_modal.actions.show_advanced_settings.label' | translate}}</span> </span> </div> <div class=\"modal-body graphql-endpoint-configuration-modal-body\"> <div class=\"graphql-endpoint-configuration-loader\" onto-loader-new hide-message=\"true\" size=\"100\" ng-show=\"loadingEndpointConfigurationSettings\"></div> <dynamic-form ng-if=\"!loadingEndpointConfigurationSettings\" form-model=\"endpointConfigurationSettings.settings\" on-validity-change=\"handleValidityChange(valid)\" show-all-fields=\"showAdvancedSettings\" translation-key-prefix=\"graphql.endpoints_management.endpoint_configuration_modal.settings.\" form-ctrl=\"formCtrl\"> </dynamic-form> </div> <div class=\"modal-footer mt-0\"> <button type=\"button\" class=\"btn btn-secondary cancel-btn\" ng-click=\"cancel()\">{{'common.cancel.btn' | translate}} </button> <button id=\"graphql-endpoint-configuration-modal-submit\" class=\"btn btn-primary\" ng-disabled=\"!endpointConfigurationSettingsValid || savingEndpointSettings || formCtrl.\\$pristine\" ng-click=\"ok()\" type=\"submit\"> <span>{{'save.changes.label' | translate}}</span> <span class=\"saving-endpoint-settings\" ng-if=\"savingEndpointSettings\" onto-loader-fancy hide-message=\"true\" size=\"15\"></span> </button> </div> `;\n// Exports\nexport default code;"],"names":[],"sourceRoot":""}
1
+ {"version":3,"file":"41453.cc7b9e548b29aa23051f.bundle.js","mappings":"uJAGA,QAFW,qoD","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/graphql/templates/modal/endpoint-configuration-modal.html"],"sourcesContent":["// Module\nvar code = `<link href=\"css/graphql/graphql-endpoint-configuration-modal.css?v=3.1.2-RC1\" rel=\"stylesheet\"/> <div class=\"modal-header\"> <h3 class=\"modal-title\">{{'graphql.endpoints_management.endpoint_configuration_modal.title' | translate}}</h3> <span ng-click=\"toggleAdvancedSettings()\" class=\"toggle-advanced-settings\"> <input type=\"checkbox\" class=\"switch\" ng-checked=\"showAdvancedSettings\"/> <label></label> <span>{{'graphql.endpoints_management.endpoint_configuration_modal.actions.show_advanced_settings.label' | translate}}</span> </span> </div> <div class=\"modal-body graphql-endpoint-configuration-modal-body\"> <div class=\"graphql-endpoint-configuration-loader\" onto-loader-new hide-message=\"true\" size=\"100\" ng-show=\"loadingEndpointConfigurationSettings\"></div> <dynamic-form ng-if=\"!loadingEndpointConfigurationSettings\" form-model=\"endpointConfigurationSettings.settings\" on-validity-change=\"handleValidityChange(valid)\" show-all-fields=\"showAdvancedSettings\" translation-key-prefix=\"graphql.endpoints_management.endpoint_configuration_modal.settings.\" form-ctrl=\"formCtrl\"> </dynamic-form> </div> <div class=\"modal-footer mt-0\"> <button type=\"button\" class=\"btn btn-secondary cancel-btn\" ng-click=\"cancel()\">{{'common.cancel.btn' | translate}} </button> <button id=\"graphql-endpoint-configuration-modal-submit\" class=\"btn btn-primary\" ng-disabled=\"!endpointConfigurationSettingsValid || savingEndpointSettings || formCtrl.\\$pristine\" ng-click=\"ok()\" type=\"submit\"> <span>{{'save.changes.label' | translate}}</span> <span class=\"saving-endpoint-settings\" ng-if=\"savingEndpointSettings\" onto-loader-fancy hide-message=\"true\" size=\"15\"></span> </button> </div> `;\n// Exports\nexport default code;"],"names":[],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- export const __webpack_id__=42129;export const __webpack_ids__=[42129];export const __webpack_modules__={42129:(e,l,t)=>{t.r(l),t.d(l,{default:()=>s});const s='<link href="css/shuttle-multiselect.css?v=3.1.1-TR3" rel="stylesheet"/> <div class="shuttle-multiselect"> <div class="shuttle-panel available-options"> <div class="shuttle-panel-header"> <h5>{{labels.availableOptionsTitle | translate}}</h5> </div> <div class="shuttle-panel-toolbar toolbar-left"> <input type="text" class="form-control filter-selected" placeholder="{{labels.availableOptionsFilter | translate}}" ng-model="searchLeft"> <a href="#" ng-click="selectAll()" class="btn-link secondary add-all-btn" gdb-tooltip="{{labels.selectAllTooltip | translate}}" tooltip-placement="top">{{labels.selectAllLabel | translate}}</a> </div> <div class="options-list"> <div class="option-item" ng-repeat="item in availableOptions | searchFilter:searchLeft | orderBy:\'label\' track by $index"> <span>{{item.label}}</span> <a href="#" ng-click="selectOption(item)" class="btn-link secondary item-action add-btn" gdb-tooltip="{{labels.selectTooltip | translate}}" tooltip-placement="top"> <span class="fa fa-plus-circle"></span> </a> </div> </div> </div> <div class="shuttle-panel selected-options"> <div class="shuttle-panel-header"> <h5>{{labels.selectedOptionsTitle | translate}}</h5> </div> <div class="shuttle-panel-toolbar toolbar-right"> <div ng-if="selectedOptions.length" class="selected-items-message"> {{labels.selectedOptionsCount | translate:{count: selectedOptions.length} }} </div> <a href="#" ng-click="deselectAll()" class="btn-link secondary remove-all-btn" gdb-tooltip="{{labels.deselectAllTooltip | translate}}" tooltip-placement="top">{{labels.deselectAllLabel | translate}}</a> </div> <div class="options-list"> <div class="option-item" ng-repeat="item in selectedOptions | orderBy:\'label\' track by $index"> <span>{{item.label}}</span> <a href="#" ng-click="deselectOption(item)" class="btn-link secondary item-action remove-btn" gdb-tooltip="{{labels.deselectTooltip | translate}}" tooltip-placement="top"> <span class="fa fa-minus-circle"></span> </a> </div> </div> </div> </div> '}};
2
- //# sourceMappingURL=42129.0ef4171ed6a1984d759c.bundle.js.map
1
+ export const __webpack_id__=42129;export const __webpack_ids__=[42129];export const __webpack_modules__={42129:(e,l,t)=>{t.r(l),t.d(l,{default:()=>s});const s='<link href="css/shuttle-multiselect.css?v=3.1.2-RC1" rel="stylesheet"/> <div class="shuttle-multiselect"> <div class="shuttle-panel available-options"> <div class="shuttle-panel-header"> <h5>{{labels.availableOptionsTitle | translate}}</h5> </div> <div class="shuttle-panel-toolbar toolbar-left"> <input type="text" class="form-control filter-selected" placeholder="{{labels.availableOptionsFilter | translate}}" ng-model="searchLeft"> <a href="#" ng-click="selectAll()" class="btn-link secondary add-all-btn" gdb-tooltip="{{labels.selectAllTooltip | translate}}" tooltip-placement="top">{{labels.selectAllLabel | translate}}</a> </div> <div class="options-list"> <div class="option-item" ng-repeat="item in availableOptions | searchFilter:searchLeft | orderBy:\'label\' track by $index"> <span>{{item.label}}</span> <a href="#" ng-click="selectOption(item)" class="btn-link secondary item-action add-btn" gdb-tooltip="{{labels.selectTooltip | translate}}" tooltip-placement="top"> <span class="fa fa-plus-circle"></span> </a> </div> </div> </div> <div class="shuttle-panel selected-options"> <div class="shuttle-panel-header"> <h5>{{labels.selectedOptionsTitle | translate}}</h5> </div> <div class="shuttle-panel-toolbar toolbar-right"> <div ng-if="selectedOptions.length" class="selected-items-message"> {{labels.selectedOptionsCount | translate:{count: selectedOptions.length} }} </div> <a href="#" ng-click="deselectAll()" class="btn-link secondary remove-all-btn" gdb-tooltip="{{labels.deselectAllTooltip | translate}}" tooltip-placement="top">{{labels.deselectAllLabel | translate}}</a> </div> <div class="options-list"> <div class="option-item" ng-repeat="item in selectedOptions | orderBy:\'label\' track by $index"> <span>{{item.label}}</span> <a href="#" ng-click="deselectOption(item)" class="btn-link secondary item-action remove-btn" gdb-tooltip="{{labels.deselectTooltip | translate}}" tooltip-placement="top"> <span class="fa fa-minus-circle"></span> </a> </div> </div> </div> </div> '}};
2
+ //# sourceMappingURL=42129.ea7309affc343caf1ca2.bundle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"42129.0ef4171ed6a1984d759c.bundle.js","mappings":"uJAGA,QAFW,i9D","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html"],"sourcesContent":["// Module\nvar code = `<link href=\"css/shuttle-multiselect.css?v=3.1.1-TR3\" rel=\"stylesheet\"/> <div class=\"shuttle-multiselect\"> <div class=\"shuttle-panel available-options\"> <div class=\"shuttle-panel-header\"> <h5>{{labels.availableOptionsTitle | translate}}</h5> </div> <div class=\"shuttle-panel-toolbar toolbar-left\"> <input type=\"text\" class=\"form-control filter-selected\" placeholder=\"{{labels.availableOptionsFilter | translate}}\" ng-model=\"searchLeft\"> <a href=\"#\" ng-click=\"selectAll()\" class=\"btn-link secondary add-all-btn\" gdb-tooltip=\"{{labels.selectAllTooltip | translate}}\" tooltip-placement=\"top\">{{labels.selectAllLabel | translate}}</a> </div> <div class=\"options-list\"> <div class=\"option-item\" ng-repeat=\"item in availableOptions | searchFilter:searchLeft | orderBy:'label' track by \\$index\"> <span>{{item.label}}</span> <a href=\"#\" ng-click=\"selectOption(item)\" class=\"btn-link secondary item-action add-btn\" gdb-tooltip=\"{{labels.selectTooltip | translate}}\" tooltip-placement=\"top\"> <span class=\"fa fa-plus-circle\"></span> </a> </div> </div> </div> <div class=\"shuttle-panel selected-options\"> <div class=\"shuttle-panel-header\"> <h5>{{labels.selectedOptionsTitle | translate}}</h5> </div> <div class=\"shuttle-panel-toolbar toolbar-right\"> <div ng-if=\"selectedOptions.length\" class=\"selected-items-message\"> {{labels.selectedOptionsCount | translate:{count: selectedOptions.length} }} </div> <a href=\"#\" ng-click=\"deselectAll()\" class=\"btn-link secondary remove-all-btn\" gdb-tooltip=\"{{labels.deselectAllTooltip | translate}}\" tooltip-placement=\"top\">{{labels.deselectAllLabel | translate}}</a> </div> <div class=\"options-list\"> <div class=\"option-item\" ng-repeat=\"item in selectedOptions | orderBy:'label' track by \\$index\"> <span>{{item.label}}</span> <a href=\"#\" ng-click=\"deselectOption(item)\" class=\"btn-link secondary item-action remove-btn\" gdb-tooltip=\"{{labels.deselectTooltip | translate}}\" tooltip-placement=\"top\"> <span class=\"fa fa-minus-circle\"></span> </a> </div> </div> </div> </div> `;\n// Exports\nexport default code;"],"names":[],"sourceRoot":""}
1
+ {"version":3,"file":"42129.ea7309affc343caf1ca2.bundle.js","mappings":"uJAGA,QAFW,i9D","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html"],"sourcesContent":["// Module\nvar code = `<link href=\"css/shuttle-multiselect.css?v=3.1.2-RC1\" rel=\"stylesheet\"/> <div class=\"shuttle-multiselect\"> <div class=\"shuttle-panel available-options\"> <div class=\"shuttle-panel-header\"> <h5>{{labels.availableOptionsTitle | translate}}</h5> </div> <div class=\"shuttle-panel-toolbar toolbar-left\"> <input type=\"text\" class=\"form-control filter-selected\" placeholder=\"{{labels.availableOptionsFilter | translate}}\" ng-model=\"searchLeft\"> <a href=\"#\" ng-click=\"selectAll()\" class=\"btn-link secondary add-all-btn\" gdb-tooltip=\"{{labels.selectAllTooltip | translate}}\" tooltip-placement=\"top\">{{labels.selectAllLabel | translate}}</a> </div> <div class=\"options-list\"> <div class=\"option-item\" ng-repeat=\"item in availableOptions | searchFilter:searchLeft | orderBy:'label' track by \\$index\"> <span>{{item.label}}</span> <a href=\"#\" ng-click=\"selectOption(item)\" class=\"btn-link secondary item-action add-btn\" gdb-tooltip=\"{{labels.selectTooltip | translate}}\" tooltip-placement=\"top\"> <span class=\"fa fa-plus-circle\"></span> </a> </div> </div> </div> <div class=\"shuttle-panel selected-options\"> <div class=\"shuttle-panel-header\"> <h5>{{labels.selectedOptionsTitle | translate}}</h5> </div> <div class=\"shuttle-panel-toolbar toolbar-right\"> <div ng-if=\"selectedOptions.length\" class=\"selected-items-message\"> {{labels.selectedOptionsCount | translate:{count: selectedOptions.length} }} </div> <a href=\"#\" ng-click=\"deselectAll()\" class=\"btn-link secondary remove-all-btn\" gdb-tooltip=\"{{labels.deselectAllTooltip | translate}}\" tooltip-placement=\"top\">{{labels.deselectAllLabel | translate}}</a> </div> <div class=\"options-list\"> <div class=\"option-item\" ng-repeat=\"item in selectedOptions | orderBy:'label' track by \\$index\"> <span>{{item.label}}</span> <a href=\"#\" ng-click=\"deselectOption(item)\" class=\"btn-link secondary item-action remove-btn\" gdb-tooltip=\"{{labels.deselectTooltip | translate}}\" tooltip-placement=\"top\"> <span class=\"fa fa-minus-circle\"></span> </a> </div> </div> </div> </div> `;\n// Exports\nexport default code;"],"names":[],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ export const __webpack_id__=42143;export const __webpack_ids__=[42143];export const __webpack_modules__={42143:()=>{const e="guide.step-action.import-file";PluginRegistry.add("guide.step",[{guideBlockName:"import-upload-rdf-file",getSteps:(t,i)=>{const o=i.GuideUtils,l=i.toastr,r=i.$translate,n=i.$interpolate,c=i.EventEmitterService,s=o.getGuideElementSelector("import-settings-import-button");let m;return[{guideBlockName:"clickable-element",options:{content:"guide.step_plugin.import_rdf_file.content",class:"upload-rdf-file-button",...t.mainAction?{}:{title:e},...t,url:"import",elementSelector:o.getGuideElementSelector("uploadRdfFileButton"),advanceOn:void 0,show:e=>()=>{m=c.subscribe("filesForUploadSelected",i=>{(i.files||[]).some(e=>e.name===t.resourceFile)?o.isVisible(o.getGuideElementSelector("import-file-"+t.resourceFile))?o.getOrWaitFor(".confirm-duplicate-files-dialog").then(()=>e.next()):o.getOrWaitFor(s).then(()=>e.next()):i.cancel=!0})},hide:()=>()=>{m&&m()},onNextValidate:()=>Promise.allSettled([o.getOrWaitFor(".confirm-duplicate-files-dialog"),o.getOrWaitFor(o.getGuideElementSelector("import-file-"+t.resourceFile))]).then(([e,i])=>"rejected"!==e.status||"rejected"!==i.status||(o.noNextErrorToast(l,r,n,"guide.step_plugin.import_rdf_file.file-must-be-uploaded",t),!1)),onNextClick:e=>{o.getOrWaitFor(o.getGuideElementSelector("import-file-"+t.resourceFile)).then(e=>{e.click()}).catch(e=>{console.error(e)}).finally(()=>e.next())}}}]}},{guideBlockName:"import-confirm-duplicate-files",getSteps:(t,i)=>{const o=i.GuideUtils;return[{guideBlockName:"clickable-element",options:{content:"guide.step_plugin.import_rdf_file.confirm_duplicate_files_dialog.content",...t.mainAction?{}:{title:e},placement:"bottom",class:"import-file-button",...t,url:"import",elementSelector:o.getElementSelector(".confirm-duplicate-files-dialog .confirm-overwrite-btn"),skipFromHistory:!0,showOn:()=>o.isVisible(o.getElementSelector(".confirm-duplicate-files-dialog")),onNextClick:()=>o.clickOnElement(".confirm-duplicate-files-dialog .confirm-overwrite-btn")(),onPreviousClick:()=>o.isVisible(o.getElementSelector(".confirm-duplicate-files-dialog"))?o.clickOnElement(".confirm-duplicate-files-dialog .cancel-btn"):Promise.resolve()}}]}},{guideBlockName:"import-click-on-import-button",getSteps:(t,i)=>{const o=i.GuideUtils,l=o.getGuideElementSelector("import-settings-import-button");return[{guideBlockName:"clickable-element",options:{content:"guide.step_plugin.import_rdf_file.import-settings.import.button.content",...t.mainAction?{}:{title:e},placement:"top",class:"import-settings-import-file-button",...t,elementSelector:l,onPreviousClick:()=>new Promise(function(e){o.clickOnGuideElement("import-settings-cancel-button")().then(()=>e())}),beforeShowPromise:()=>i.GuideUtils.deferredShow(300)().then(()=>o.getOrWaitFor(l,3).catch(e=>(i.toastr.error(i.$translate.instant("guide.unexpected.error.message")),Promise.reject(e)))),onNextClick:()=>o.clickOnGuideElement("import-settings-import-button")(),canBePaused:!1}}]}},{guideBlockName:"import-show-progress",getSteps:(t,i)=>{const o=i.GuideUtils;return[{guideBlockName:"read-only-element",options:{content:"guide.step_plugin.import_status_info.content",...t.mainAction?{}:{title:e},class:"import-status-info",...t,url:"import",elementSelector:".import-resource-message",beforeShowPromise:()=>o.isVisible(".import-resource-message")?Promise.resolve():o.waitFor(".import-resource-message",10),onPreviousClick:()=>o.getOrWaitFor(o.getGuideElementSelector("import-file-"+t.resourceFile),10).then(e=>{e.click()})}}]}},{guideBlockName:"import-rdf-file",getSteps:(e,t)=>{e.mainAction="import-file";const i=[{guideBlockName:"click-main-menu",options:angular.extend({},{menu:"import",showIntro:!0},e)}];return e.resourcePath&&i.push({guideBlockName:"download-guide-resource",options:angular.extend({},{title:""},e)}),i.push({guideBlockName:"import-upload-rdf-file",options:{disablePreviousFlow:!1,...e}},{guideBlockName:"import-confirm-duplicate-files",options:{...e}},{guideBlockName:"import-click-on-import-button",options:{...e}},{guideBlockName:"import-show-progress",options:{...e}}),i}}])}};
2
+ //# sourceMappingURL=42143.6c37997677f5ec643731.bundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"42143.6c37997677f5ec643731.bundle.js","mappings":"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","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/guides/steps/complex/import-rdf-file/plugin.js"],"sourcesContent":["const IMPORT_FILE_DEFAULT_STEP_TITLE = \"guide.step-action.import-file\";\n\nPluginRegistry.add('guide.step', [\n {\n guideBlockName: 'import-upload-rdf-file',\n getSteps: (options, services) => {\n const GuideUtils = services.GuideUtils;\n const toastr = services.toastr;\n const $translate = services.$translate;\n const $interpolate = services.$interpolate;\n const EventEmitterService = services.EventEmitterService;\n const importSettingsButtonSelector = GuideUtils.getGuideElementSelector('import-settings-import-button');\n let filesForUploadSelectedSubscription;\n return [\n {\n guideBlockName: 'clickable-element',\n options: {\n content: 'guide.step_plugin.import_rdf_file.content',\n class: 'upload-rdf-file-button',\n // If mainAction is set the title will be set automatically\n ...(options.mainAction ? {} : {title: IMPORT_FILE_DEFAULT_STEP_TITLE}),\n ...options,\n url: 'import',\n elementSelector: GuideUtils.getGuideElementSelector('uploadRdfFileButton'),\n // Disable default behavior of service when element is clicked.\n advanceOn: undefined,\n show: (guide) => () => {\n // Subscribes to event \"filesForUploadSelected\", when the step is showing, this will give opportunity\n // to canceling uploading if user not choose correct file.\n filesForUploadSelectedSubscription = EventEmitterService.subscribe('filesForUploadSelected', ((eventData) => {\n const uploadedFiles = eventData.files || [];\n if (uploadedFiles.some((uploadedFile) => uploadedFile.name === options.resourceFile)) {\n // When tha correct file is selected, the guide can continue.\n\n // Check for duplicated name, if import button for guide rdf data exist.\n if (GuideUtils.isVisible(GuideUtils.getGuideElementSelector('import-file-' + options.resourceFile))) {\n GuideUtils.getOrWaitFor('.confirm-duplicate-files-dialog')\n .then(() => guide.next());\n } else {\n GuideUtils.getOrWaitFor(importSettingsButtonSelector)\n .then(() => guide.next());\n }\n } else {\n // Canceling the automatic uploading of files\n // because the guide rdf file is not selected.\n eventData.cancel = true;\n }\n }));\n },\n hide: () => () => {\n if (filesForUploadSelectedSubscription) {\n filesForUploadSelectedSubscription();\n }\n },\n onNextValidate: () => {\n return Promise.allSettled([GuideUtils.getOrWaitFor('.confirm-duplicate-files-dialog'), GuideUtils.getOrWaitFor(GuideUtils.getGuideElementSelector('import-file-' + options.resourceFile))])\n .then(([confirmDialogPromise, importButtonPromise]) => {\n // There are two ways to exit this step:\n // if the duplication dialog is opened\n // or if the import button for the guide file is displayed.\n // The first scenario indicates that the user is trying to upload the same file,\n // while the second scenario suggests\n // that the guide has been started more than once.\n if ('rejected' === confirmDialogPromise.status && 'rejected' === importButtonPromise.status) {\n GuideUtils.noNextErrorToast(toastr, $translate, $interpolate, 'guide.step_plugin.import_rdf_file.file-must-be-uploaded', options);\n return false;\n }\n return true;\n });\n },\n onNextClick: (guide) => {\n GuideUtils.getOrWaitFor(GuideUtils.getGuideElementSelector('import-file-' + options.resourceFile))\n .then((element) => {\n // If we have file import button for the guide rdf file,\n // this indicates that we go through this step for the second time.\n // This can happen if the user starts the guide for the second time.\n element.click();\n })\n .catch((error) => {\n // This shouldn't be happening.\n console.error(error);\n })\n .finally(() => guide.next());\n },\n },\n },\n ];\n },\n },\n {\n guideBlockName: 'import-confirm-duplicate-files',\n getSteps: (options, services) => {\n const GuideUtils = services.GuideUtils;\n return [\n {\n guideBlockName: 'clickable-element',\n options: {\n content: 'guide.step_plugin.import_rdf_file.confirm_duplicate_files_dialog.content',\n // If mainAction is set the title will be set automatically\n ...(options.mainAction ? {} : {title: IMPORT_FILE_DEFAULT_STEP_TITLE}),\n placement: 'bottom',\n class: 'import-file-button',\n ...options,\n url: 'import',\n elementSelector: GuideUtils.getElementSelector('.confirm-duplicate-files-dialog .confirm-overwrite-btn'),\n skipFromHistory: true,\n // Checks whether the confirm dialog is currently open.\n showOn: () => GuideUtils.isVisible(GuideUtils.getElementSelector('.confirm-duplicate-files-dialog')),\n onNextClick: () => GuideUtils.clickOnElement('.confirm-duplicate-files-dialog .confirm-overwrite-btn')(),\n onPreviousClick: () => {\n if (GuideUtils.isVisible(GuideUtils.getElementSelector('.confirm-duplicate-files-dialog'))) {\n return GuideUtils.clickOnElement('.confirm-duplicate-files-dialog .cancel-btn');\n }\n return Promise.resolve();\n },\n },\n },\n ];\n },\n },\n {\n guideBlockName: 'import-click-on-import-button',\n getSteps: (options, services) => {\n const GuideUtils = services.GuideUtils;\n const importSettingsButtonSelector = GuideUtils.getGuideElementSelector('import-settings-import-button');\n return [\n {\n guideBlockName: 'clickable-element',\n options: {\n content: 'guide.step_plugin.import_rdf_file.import-settings.import.button.content',\n // If mainAction is set the title will be set automatically\n ...(options.mainAction ? {} : {title: IMPORT_FILE_DEFAULT_STEP_TITLE}),\n placement: 'top',\n class: 'import-settings-import-file-button',\n ...options,\n elementSelector: importSettingsButtonSelector,\n onPreviousClick: () => new Promise(function(resolve) {\n GuideUtils.clickOnGuideElement('import-settings-cancel-button')()\n .then(() => resolve());\n }),\n beforeShowPromise: () => services.GuideUtils.deferredShow(300)()\n .then(() => GuideUtils.getOrWaitFor(importSettingsButtonSelector, 3)\n .catch((error) => {\n services.toastr.error(services.$translate.instant('guide.unexpected.error.message'));\n return Promise.reject(error);\n }),\n ),\n onNextClick: () => GuideUtils.clickOnGuideElement('import-settings-import-button')(),\n canBePaused: false,\n },\n },\n ];\n },\n },\n {\n guideBlockName: 'import-show-progress',\n getSteps: (options, services) => {\n const GuideUtils = services.GuideUtils;\n return [\n {\n guideBlockName: 'read-only-element',\n options: {\n content: 'guide.step_plugin.import_status_info.content',\n // If mainAction is set the title will be set automatically\n ...(options.mainAction ? {} : {title: IMPORT_FILE_DEFAULT_STEP_TITLE}),\n class: 'import-status-info',\n ...options,\n url: 'import',\n elementSelector: '.import-resource-message',\n beforeShowPromise: () => {\n if (GuideUtils.isVisible('.import-resource-message')) {\n return Promise.resolve();\n }\n return GuideUtils.waitFor('.import-resource-message', 10);\n },\n onPreviousClick: () => GuideUtils.getOrWaitFor(GuideUtils.getGuideElementSelector('import-file-' + options.resourceFile), 10)\n .then((element) => {\n element.click();\n }),\n },\n },\n ];\n },\n },\n {\n guideBlockName: 'import-rdf-file',\n getSteps: (options, services) => {\n options.mainAction = 'import-file';\n\n const steps = [\n {\n guideBlockName: 'click-main-menu',\n options: angular.extend({}, {\n menu: 'import',\n showIntro: true,\n }, options),\n },\n ];\n\n if (options.resourcePath) {\n steps.push(\n {\n guideBlockName: 'download-guide-resource',\n options: angular.extend({}, {\n title: '',\n }, options),\n },\n );\n }\n\n steps.push(...[\n {\n guideBlockName: 'import-upload-rdf-file', options: {\n disablePreviousFlow: false,\n ...options,\n },\n },\n // This step is optional and will only appear if the file we want to upload has already been uploaded.\n // If the file is already uploaded, a confirmation dialog will be opened, and this step will display the confirm button of the dialog.\n {\n guideBlockName: 'import-confirm-duplicate-files', options: {...options},\n },\n {\n guideBlockName: 'import-click-on-import-button', options: {...options},\n },\n {\n guideBlockName: 'import-show-progress', options: {...options},\n },\n ]);\n\n return steps;\n },\n },\n]);\n"],"names":["IMPORT_FILE_DEFAULT_STEP_TITLE","PluginRegistry","add","guideBlockName","getSteps","options","services","GuideUtils","toastr","$translate","$interpolate","EventEmitterService","importSettingsButtonSelector","getGuideElementSelector","filesForUploadSelectedSubscription","content","class","mainAction","title","url","elementSelector","advanceOn","undefined","show","guide","subscribe","eventData","files","some","uploadedFile","name","resourceFile","isVisible","getOrWaitFor","then","next","cancel","hide","onNextValidate","Promise","allSettled","confirmDialogPromise","importButtonPromise","status","noNextErrorToast","onNextClick","element","click","catch","error","console","finally","placement","getElementSelector","skipFromHistory","showOn","clickOnElement","onPreviousClick","resolve","clickOnGuideElement","beforeShowPromise","deferredShow","instant","reject","canBePaused","waitFor","steps","angular","extend","menu","showIntro","resourcePath","push","disablePreviousFlow"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- export const __webpack_id__=44444;export const __webpack_ids__=[44444];export const __webpack_modules__={44444:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s='<link href="css/ttyg/no-agents-view.css?v=3.1.1-TR3" rel="stylesheet"/> <div class="no-agents-view-component" data-test="no-agents-view-component"> <div class="content"> <div class="alert alert-help mb-3" data-test="ttyg-info-message" ng-bind-html="\'ttyg.agent.messages.help_1\' | translate | trustAsHtml"></div> <div class="alert alert-help mb-3" data-test="ttyg-agent-message" ng-bind-html="\'ttyg.agent.messages.help_2\' | translate | trustAsHtml"></div> <div class="actions"> <button class="btn btn-outline-primary btn-lg text-xs-left create-agent-btn" gdb-tooltip="{{!canModifyAgent ? (\'ttyg.agent.fat_btn.create_agent.tooltip_disabled\' | translate) : \'\'}}" ng-disabled="!canModifyAgent" ng-click="onCreateAgent()" guide-selector="create-agent-btn"> <i class="fa fa-message-bot fa-xl"></i> <span class="text">{{\'ttyg.agent.fat_btn.create_agent.label\' | translate}}</span> </button> </div> <div class="alert alert-warning mt-3" data-test="ttyg-api-key-message"> <div ng-bind-html="\'ttyg.agent.messages.help_config\' | translate: {talkToGraphDocumentationLink: talkToGraphDocumentationLink} | trustAsHtml"></div> </div> </div> </div> '}};
2
- //# sourceMappingURL=44444.dab617ddb7622503b87c.bundle.js.map
1
+ export const __webpack_id__=44444;export const __webpack_ids__=[44444];export const __webpack_modules__={44444:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s='<link href="css/ttyg/no-agents-view.css?v=3.1.2-RC1" rel="stylesheet"/> <div class="no-agents-view-component" data-test="no-agents-view-component"> <div class="content"> <div class="alert alert-help mb-3" data-test="ttyg-info-message" ng-bind-html="\'ttyg.agent.messages.help_1\' | translate | trustAsHtml"></div> <div class="alert alert-help mb-3" data-test="ttyg-agent-message" ng-bind-html="\'ttyg.agent.messages.help_2\' | translate | trustAsHtml"></div> <div class="actions"> <button class="btn btn-outline-primary btn-lg text-xs-left create-agent-btn" gdb-tooltip="{{!canModifyAgent ? (\'ttyg.agent.fat_btn.create_agent.tooltip_disabled\' | translate) : \'\'}}" ng-disabled="!canModifyAgent" ng-click="onCreateAgent()" guide-selector="create-agent-btn"> <i class="fa fa-message-bot fa-xl"></i> <span class="text">{{\'ttyg.agent.fat_btn.create_agent.label\' | translate}}</span> </button> </div> <div class="alert alert-warning mt-3" data-test="ttyg-api-key-message"> <div ng-bind-html="\'ttyg.agent.messages.help_config\' | translate: {talkToGraphDocumentationLink: talkToGraphDocumentationLink} | trustAsHtml"></div> </div> </div> </div> '}};
2
+ //# sourceMappingURL=44444.55a40d0bec02cb65abec.bundle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"44444.dab617ddb7622503b87c.bundle.js","mappings":"uJAGA,QAFW,2nC","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/ttyg/templates/no-agents-view.html"],"sourcesContent":["// Module\nvar code = `<link href=\"css/ttyg/no-agents-view.css?v=3.1.1-TR3\" rel=\"stylesheet\"/> <div class=\"no-agents-view-component\" data-test=\"no-agents-view-component\"> <div class=\"content\"> <div class=\"alert alert-help mb-3\" data-test=\"ttyg-info-message\" ng-bind-html=\"'ttyg.agent.messages.help_1' | translate | trustAsHtml\"></div> <div class=\"alert alert-help mb-3\" data-test=\"ttyg-agent-message\" ng-bind-html=\"'ttyg.agent.messages.help_2' | translate | trustAsHtml\"></div> <div class=\"actions\"> <button class=\"btn btn-outline-primary btn-lg text-xs-left create-agent-btn\" gdb-tooltip=\"{{!canModifyAgent ? ('ttyg.agent.fat_btn.create_agent.tooltip_disabled' | translate) : ''}}\" ng-disabled=\"!canModifyAgent\" ng-click=\"onCreateAgent()\" guide-selector=\"create-agent-btn\"> <i class=\"fa fa-message-bot fa-xl\"></i> <span class=\"text\">{{'ttyg.agent.fat_btn.create_agent.label' | translate}}</span> </button> </div> <div class=\"alert alert-warning mt-3\" data-test=\"ttyg-api-key-message\"> <div ng-bind-html=\"'ttyg.agent.messages.help_config' | translate: {talkToGraphDocumentationLink: talkToGraphDocumentationLink} | trustAsHtml\"></div> </div> </div> </div> `;\n// Exports\nexport default code;"],"names":[],"sourceRoot":""}
1
+ {"version":3,"file":"44444.55a40d0bec02cb65abec.bundle.js","mappings":"uJAGA,QAFW,2nC","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/ttyg/templates/no-agents-view.html"],"sourcesContent":["// Module\nvar code = `<link href=\"css/ttyg/no-agents-view.css?v=3.1.2-RC1\" rel=\"stylesheet\"/> <div class=\"no-agents-view-component\" data-test=\"no-agents-view-component\"> <div class=\"content\"> <div class=\"alert alert-help mb-3\" data-test=\"ttyg-info-message\" ng-bind-html=\"'ttyg.agent.messages.help_1' | translate | trustAsHtml\"></div> <div class=\"alert alert-help mb-3\" data-test=\"ttyg-agent-message\" ng-bind-html=\"'ttyg.agent.messages.help_2' | translate | trustAsHtml\"></div> <div class=\"actions\"> <button class=\"btn btn-outline-primary btn-lg text-xs-left create-agent-btn\" gdb-tooltip=\"{{!canModifyAgent ? ('ttyg.agent.fat_btn.create_agent.tooltip_disabled' | translate) : ''}}\" ng-disabled=\"!canModifyAgent\" ng-click=\"onCreateAgent()\" guide-selector=\"create-agent-btn\"> <i class=\"fa fa-message-bot fa-xl\"></i> <span class=\"text\">{{'ttyg.agent.fat_btn.create_agent.label' | translate}}</span> </button> </div> <div class=\"alert alert-warning mt-3\" data-test=\"ttyg-api-key-message\"> <div ng-bind-html=\"'ttyg.agent.messages.help_config' | translate: {talkToGraphDocumentationLink: talkToGraphDocumentationLink} | trustAsHtml\"></div> </div> </div> </div> `;\n// Exports\nexport default code;"],"names":[],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- export const __webpack_id__=51087;export const __webpack_ids__=[51087];export const __webpack_modules__={51087:()=>{const e="guide.step-action.ask-ttyg-agent",t="chat-details";PluginRegistry.add("guide.step",[{guideBlockName:"ttyg-ask-question",getSteps:(o,i)=>{const l=i.GuideUtils;return[{guideBlockName:"input-element",options:{content:"guide.step_plugin.ask-ttyg-agent.input-question",...o.mainAction?{}:{title:e},class:"input-question",disableNextFlow:!0,...o,url:"ttyg",elementSelector:l.getGuideElementSelector("question-input"),show:e=>()=>{const n=l.getGuideElementSelector("contenteditable");$(n).on("keydown",o=>{!$(n).text()||"Enter"!==o.key||o.shiftKey||o.ctrlKey||l.waitFor(l.getGuideElementSelector(t)).then(()=>e.next())})},hide:()=>()=>{const e=l.getGuideElementSelector("contenteditable");$(e).off("keydown")}}},n(l,o)]}},{guideBlockName:"ttyg-explain-response",getSteps:(t,o)=>{const i=o.GuideUtils,l=i.getLastGuideElementSelector("explain-response-btn"),s=i.getLastGuideElementSelector("chat-item",l);return[{guideBlockName:"info-message",options:angular.extend({},{url:"ttyg",beforeShowPromise:(e,t)=>i.waitFor(s,1).then(()=>{setTimeout(()=>e.next())}).catch(()=>{const n=t.id;setTimeout(()=>e.show(n+3))})},t)},{guideBlockName:"clickable-element",options:{content:"guide.step_plugin.ask-ttyg-agent.explain-answer",...t.mainAction?{}:{title:e},class:"explain-answer",disableNextFlow:!0,...t,url:"ttyg",elementSelector:s}},n(i,t)]}},{guideBlockName:"ttyg-ask-agent-explore-sparql",getSteps:(t,n)=>{const o=n.GuideUtils,i=o.getLastGuideElementSelector("open-in-sparql-editor-btn"),l=o.getLastGuideElementSelector("chat-item",i);return[{guideBlockName:"info-message",options:angular.extend({},{url:"ttyg",beforeShowPromise:(e,t)=>o.waitFor(l,1).then(()=>{setTimeout(()=>e.next())}).catch(()=>{const n=t.id;setTimeout(()=>e.show(n+2))})},t)},{guideBlockName:"clickable-element",options:{content:"guide.step_plugin.ask-ttyg-agent.explore-sparql",class:"explore-sparql",...t.mainAction?{}:{title:e},disableNextFlow:!0,...t,url:"ttyg",elementSelector:l}}]}},{guideBlockName:"ttyg-ask-explain-answer-more",getSteps:(t,o)=>{const i=o.GuideUtils,l=i.getLastGuideElementSelector("how-derive-answer-btn"),s=i.getLastGuideElementSelector("chat-item",l);return[{guideBlockName:"info-message",options:angular.extend({},{url:"ttyg",beforeShowPromise:(e,t)=>i.waitFor(s,1).then(()=>{setTimeout(()=>e.next())}).catch(()=>{const n=t.id;setTimeout(()=>e.show(n+3))})},t)},{guideBlockName:"clickable-element",options:{content:"guide.step_plugin.ask-ttyg-agent.explain-answer-more",class:"input-agent-name",...t.mainAction?{}:{title:e},disableNextFlow:!0,...t,url:"ttyg",elementSelector:s,show:e=>()=>{$(s).on("click",()=>{e.next()})},hide:()=>()=>{$(s).off("click")}}},n(i,t)]}},{guideBlockName:"ask-ttyg-agent",getSteps:e=>{e.mainAction="ask-ttyg-agent",e.maxWaitTime=10,e.forceReload=!1;const t=e.explain,n=e.explainMore,o=e.exploreSparql,i=[{guideBlockName:"ttyg-ask-question",options:{...e,skipPoint:!0}}];return t&&i.push({guideBlockName:"ttyg-explain-response",options:{...e}}),t&&o&&i.push({guideBlockName:"ttyg-ask-agent-explore-sparql",options:{...e}}),t&&n&&i.push({guideBlockName:"ttyg-ask-explain-answer-more",options:{...e}}),i}}]);const n=(e,n)=>({guideBlockName:"hold-and-wait-until-hidden",options:angular.extend({},{content:"guide.step_plugin.ask-ttyg-agent.wait-for-answer",class:"wait-for-answer",url:"ttyg",placement:"left",elementSelector:e.getGuideElementSelector(t),elementSelectorToWait:e.getGuideElementSelector("question-loader")},n)})}};
2
- //# sourceMappingURL=51087.b072d1c0e53403535283.bundle.js.map
1
+ export const __webpack_id__=51087;export const __webpack_ids__=[51087];export const __webpack_modules__={51087:()=>{const e="guide.step-action.ask-ttyg-agent",t="chat-details";PluginRegistry.add("guide.step",[{guideBlockName:"ttyg-ask-question",getSteps:(o,i)=>{const l=i.GuideUtils;return[{guideBlockName:"input-element",options:{content:"guide.step_plugin.ask-ttyg-agent.input-question",...o.mainAction?{}:{title:e},class:"input-question",disableNextFlow:!0,...o,url:"ttyg",elementSelector:l.getGuideElementSelector("question-input"),show:e=>()=>{const n=l.getGuideElementSelector("contenteditable");$(n).on("keydown",o=>{!$(n).text()||"Enter"!==o.key||o.shiftKey||o.ctrlKey||l.waitFor(l.getGuideElementSelector(t)).then(()=>e.next())})},hide:()=>()=>{const e=l.getGuideElementSelector("contenteditable");$(e).off("keydown")}}},n(l,o)]}},{guideBlockName:"ttyg-explain-response",getSteps:(t,o)=>{const i=o.GuideUtils,l=i.getLastGuideElementSelector("explain-response-btn"),s=i.getLastGuideElementSelector("chat-item",l);return[{guideBlockName:"info-message",options:angular.extend({},{url:"ttyg",beforeShowPromise:(e,t)=>i.waitFor(s,1).then(()=>{setTimeout(()=>e.next())}).catch(()=>{const n=t.id;setTimeout(()=>e.show(n+3))})},t)},{guideBlockName:"clickable-element",options:{content:"guide.step_plugin.ask-ttyg-agent.explain-answer",...t.mainAction?{}:{title:e},class:"explain-answer",disableNextFlow:!0,...t,url:"ttyg",elementSelector:s}},n(i,t)]}},{guideBlockName:"ttyg-ask-agent-explore-sparql",getSteps:(t,n)=>{const o=n.GuideUtils,i=o.getLastGuideElementSelector("open-in-sparql-editor-btn"),l=o.getLastGuideElementSelector("chat-item",i);return[{guideBlockName:"info-message",options:angular.extend({},{url:"ttyg",beforeShowPromise:(e,t)=>o.waitFor(l,1).then(()=>{setTimeout(()=>e.next())}).catch(()=>{const n=t.id;setTimeout(()=>e.show(n+2))})},t)},{guideBlockName:"clickable-element",options:{content:"guide.step_plugin.ask-ttyg-agent.explore-sparql",class:"explore-sparql",...t.mainAction?{}:{title:e},disableNextFlow:!0,...t,url:"ttyg",elementSelector:l}}]}},{guideBlockName:"ttyg-ask-explain-answer-more",getSteps:(t,o)=>{const i=o.GuideUtils,l=i.getLastGuideElementSelector("how-derive-answer-btn"),s=i.getLastGuideElementSelector("chat-item",l);return[{guideBlockName:"info-message",options:angular.extend({},{url:"ttyg",beforeShowPromise:(e,t)=>i.waitFor(s,1).then(()=>{setTimeout(()=>e.next())}).catch(()=>{const n=t.id;setTimeout(()=>e.show(n+3))})},t)},{guideBlockName:"clickable-element",options:{content:"guide.step_plugin.ask-ttyg-agent.explain-answer-more",class:"input-agent-name",...t.mainAction?{}:{title:e},disableNextFlow:!0,...t,url:"ttyg",elementSelector:s,show:e=>()=>{$(s).on("click",()=>{e.next()})},hide:()=>()=>{$(s).off("click")}}},n(i,t)]}},{guideBlockName:"ask-ttyg-agent",getSteps:e=>{e.mainAction="ask-ttyg-agent",e.maxWaitTime=10,e.forceReload=!1;const t=e.explain,n=e.explainMore,o=e.exploreSparql,i=[{guideBlockName:"ttyg-ask-question",options:{...e,skipPoint:!0}}];return t&&i.push({guideBlockName:"ttyg-explain-response",options:{...e}}),t&&o&&i.push({guideBlockName:"ttyg-ask-agent-explore-sparql",options:{...e}}),t&&n&&i.push({guideBlockName:"ttyg-ask-explain-answer-more",options:{...e}}),i}}]);const n=(e,n)=>({guideBlockName:"hold-and-wait-until-hidden",options:angular.extend({},{content:"guide.step_plugin.ask-ttyg-agent.wait-for-answer",class:"wait-for-answer",url:"ttyg",elementSelector:e.getGuideElementSelector(t),elementSelectorToWait:e.getGuideElementSelector("question-loader")},n)})}};
2
+ //# sourceMappingURL=51087.1e118e7fe32a8c09d6cb.bundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"51087.1e118e7fe32a8c09d6cb.bundle.js","mappings":"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","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/guides/steps/complex/ttyg/ask-ttyg-agent/plugin.js"],"sourcesContent":["const TTYG_ASK_DEFAULT_TITLE = 'guide.step-action.ask-ttyg-agent';\nconst CHAT_DETAILS_SELECTOR = 'chat-details';\n\nPluginRegistry.add('guide.step', [\n {\n guideBlockName: 'ttyg-ask-question',\n getSteps: (options, services) => {\n const GuideUtils = services.GuideUtils;\n return [\n {\n guideBlockName: 'input-element',\n options: {\n content: `guide.step_plugin.ask-ttyg-agent.input-question`,\n // If mainAction is set the title will be set automatically\n ...(options.mainAction ? {} : {title: TTYG_ASK_DEFAULT_TITLE}),\n class: 'input-question',\n disableNextFlow: true,\n ...options,\n url: 'ttyg',\n elementSelector: GuideUtils.getGuideElementSelector('question-input'),\n show: (guide) => () => {\n const elementSelector = GuideUtils.getGuideElementSelector('contenteditable');\n\n // Add \"keydown\" listener to the element.\n // The question-input directive listens for \"Enter\" keypress to trigger question asking.\n // When enter is pressed, proceed with next step.\n // Using 'keydown' to trigger before the directive 'keypress', which clears the value.\n $(elementSelector).on('keydown', (event) => {\n const value = $(elementSelector).text();\n\n if (value && event.key === 'Enter' && !event.shiftKey && !event.ctrlKey) {\n GuideUtils.waitFor(GuideUtils.getGuideElementSelector(CHAT_DETAILS_SELECTOR))\n .then(() => guide.next());\n }\n });\n },\n hide: () => () => {\n const elementSelector = GuideUtils.getGuideElementSelector('contenteditable');\n // Remove the \"keydown\" listener of the element. It is important when the step is hidden.\n $(elementSelector).off('keydown');\n },\n },\n },\n getWaitForAnswerStep(GuideUtils, options),\n ];\n },\n },\n {\n guideBlockName: 'ttyg-explain-response',\n getSteps: (options, services) => {\n const GuideUtils = services.GuideUtils;\n const explainBtnSelector = GuideUtils.getLastGuideElementSelector('explain-response-btn');\n const elementSelector = GuideUtils.getLastGuideElementSelector('chat-item', explainBtnSelector);\n return [\n {\n // If button is not visible for some reason, skip the whole step\n guideBlockName: 'info-message',\n options: angular.extend({}, {\n url: 'ttyg',\n beforeShowPromise: (guide, currentStep) => GuideUtils.waitFor(elementSelector, 1)\n .then(() => {\n // Using a timeout because the library executes logic to show the step in a then clause which causes current and next steps to show\n setTimeout(() => guide.next());\n })\n .catch(() => {\n const stepId = currentStep.id;\n // Using a timeout because the library executes logic to show the step in a then clause which causes current and next steps to show\n setTimeout(() => guide.show(stepId + 3));\n }),\n }, options),\n },\n {\n guideBlockName: 'clickable-element',\n options: {\n content: 'guide.step_plugin.ask-ttyg-agent.explain-answer',\n // If mainAction is set the title will be set automatically\n ...(options.mainAction ? {} : {title: TTYG_ASK_DEFAULT_TITLE}),\n class: 'explain-answer',\n disableNextFlow: true,\n ...options,\n url: 'ttyg',\n elementSelector,\n },\n },\n getWaitForAnswerStep(GuideUtils, options),\n ];\n },\n },\n {\n guideBlockName: 'ttyg-ask-agent-explore-sparql',\n getSteps: (options, services) => {\n const GuideUtils = services.GuideUtils;\n const exploreSparqlBtnSelector = GuideUtils.getLastGuideElementSelector('open-in-sparql-editor-btn');\n const elementSelector = GuideUtils.getLastGuideElementSelector('chat-item', exploreSparqlBtnSelector);\n\n return [\n {\n // If button is not visible for some reason, skip the whole step\n guideBlockName: 'info-message',\n options: angular.extend({}, {\n url: 'ttyg',\n beforeShowPromise: (guide, currentStep) => GuideUtils.waitFor(elementSelector, 1)\n .then(() => {\n // Using a timeout because the library executes logic to show the step in a then clause which causes current and next steps to show\n setTimeout(() => guide.next());\n })\n .catch(() => {\n const stepId = currentStep.id;\n // Using a timeout because the library executes logic to show the step in a then clause which causes current and next steps to show\n setTimeout(() => guide.show(stepId + 2));\n }),\n }, options),\n },\n {\n guideBlockName: 'clickable-element',\n options: {\n content: 'guide.step_plugin.ask-ttyg-agent.explore-sparql',\n class: 'explore-sparql',\n // If mainAction is set the title will be set automatically\n ...(options.mainAction ? {} : {title: TTYG_ASK_DEFAULT_TITLE}),\n disableNextFlow: true,\n ...options,\n url: 'ttyg',\n elementSelector,\n },\n },\n ];\n },\n },\n {\n guideBlockName: 'ttyg-ask-explain-answer-more',\n getSteps: (options, services) => {\n const GuideUtils = services.GuideUtils;\n const explainMoreBtnSelector = GuideUtils.getLastGuideElementSelector('how-derive-answer-btn');\n const elementSelector = GuideUtils.getLastGuideElementSelector('chat-item', explainMoreBtnSelector);\n return [\n {\n // If button is not visible for some reason, skip the whole step\n guideBlockName: 'info-message',\n options: angular.extend({}, {\n url: 'ttyg',\n beforeShowPromise: (guide, currentStep) => {\n return GuideUtils.waitFor(elementSelector, 1)\n .then(() => {\n // Using a timeout because the library executes logic to show the step in a then clause which causes current and next steps to show\n setTimeout(() => guide.next());\n })\n .catch(() => {\n const stepId = currentStep.id;\n // Using a timeout because the library executes logic to show the step in a then clause which causes current and next steps to show\n setTimeout(() => guide.show(stepId + 3));\n });\n },\n }, options),\n },\n {\n guideBlockName: 'clickable-element',\n options: {\n content: 'guide.step_plugin.ask-ttyg-agent.explain-answer-more',\n class: 'input-agent-name',\n // If mainAction is set the title will be set automatically\n ...(options.mainAction ? {} : {title: TTYG_ASK_DEFAULT_TITLE}),\n disableNextFlow: true,\n ...options,\n url: 'ttyg',\n elementSelector,\n show: (guide) => () => {\n // Add \"click\" listener to the element. Upon clicking the element is hidden and this breaks the default flow of the guide.\n // Adding a handler to proceed to next step\n $(elementSelector).on('click', () => {\n guide.next();\n });\n },\n hide: () => () => {\n // Remove the \"click\" listener of element. It is important when step is hidden.\n $(elementSelector).off('click');\n },\n },\n },\n getWaitForAnswerStep(GuideUtils, options),\n ];\n },\n },\n {\n guideBlockName: 'ask-ttyg-agent',\n getSteps: (options) => {\n options.mainAction = 'ask-ttyg-agent';\n options.maxWaitTime = 10;\n options.forceReload = false;\n\n const explain = options.explain;\n const explainMore = options.explainMore;\n const exploreSparql = options.exploreSparql;\n\n const steps = [\n {\n guideBlockName: 'ttyg-ask-question', options: {...options, skipPoint: true},\n },\n ];\n\n if (explain) {\n steps.push(\n {\n guideBlockName: 'ttyg-explain-response', options: {...options},\n },\n );\n }\n\n if (explain && exploreSparql) {\n steps.push(\n {\n guideBlockName: 'ttyg-ask-agent-explore-sparql', options: {...options},\n },\n );\n }\n\n if (explain && explainMore) {\n steps.push(\n {\n guideBlockName: 'ttyg-ask-explain-answer-more', options: {...options},\n },\n );\n }\n\n return steps;\n },\n },\n]);\n\nconst getWaitForAnswerStep = (GuideUtils, options) => {\n return {\n guideBlockName: 'hold-and-wait-until-hidden',\n options: angular.extend({}, {\n content: 'guide.step_plugin.ask-ttyg-agent.wait-for-answer',\n class: 'wait-for-answer',\n url: 'ttyg',\n elementSelector: GuideUtils.getGuideElementSelector(CHAT_DETAILS_SELECTOR),\n elementSelectorToWait: GuideUtils.getGuideElementSelector('question-loader'),\n }, options),\n };\n};\n"],"names":["TTYG_ASK_DEFAULT_TITLE","CHAT_DETAILS_SELECTOR","PluginRegistry","add","guideBlockName","getSteps","options","services","GuideUtils","content","mainAction","title","class","disableNextFlow","url","elementSelector","getGuideElementSelector","show","guide","$","on","event","text","key","shiftKey","ctrlKey","waitFor","then","next","hide","off","getWaitForAnswerStep","explainBtnSelector","getLastGuideElementSelector","angular","extend","beforeShowPromise","currentStep","setTimeout","catch","stepId","id","exploreSparqlBtnSelector","explainMoreBtnSelector","maxWaitTime","forceReload","explain","explainMore","exploreSparql","steps","skipPoint","push","elementSelectorToWait"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- export const __webpack_id__=55217;export const __webpack_ids__=[55217];export const __webpack_modules__={55217:()=>{PluginRegistry.add("guide.step",[{guideBlockName:"click-main-menu",getSteps:(e,t)=>{const n=t.GuideUtils,l=[];let i,s,a,u,o,r,m="",p="";switch(e.menu){case"repositories":i="menu-setup",s="menu.setup.label",m="menu-setup",a="sub-menu-repositories",u="menu.repositories.label",p="sub-menu-repositories",o="menu.repositories.label",r="view.repositories.helpInfo";break;case"import":i="menu-import",s="common.import",m="menu-import",o="common.import",r="view.import.helpInfo";break;case"connectors":i="menu-setup",s="menu.setup.label",m="menu-setup-guide-dialog",a="sub-menu-connectors",u="menu.connectors.label",p="sub-menu-connectors-guide-dialog",o="view.connector.management.title",r="view.connector.management.helpInfo";break;case"autocomplete":i="menu-setup",s="menu.setup.label",m="menu-setup",a="sub-menu-autocomplete",u="menu.autocomplete.label",p="sub-menu-autocomplete",o="view.autocomplete.title",r="view.autocomplete.helpInfo";break;case"visual-graph":i="menu-explore",s="menu.explore.label",m="menu-explore",a="sub-menu-visual-graph",u="visual.graph.label",p="sub-menu-visual-graph",o="visual.graph.label",r="view.visual.graph.helpInfo";break;case"sparql":i="menu-sparql",s="menu.sparql.label",m="menu-sparql",o="view.sparql-editor.title",r="view.sparql-editor.helpInfo";break;case"class-hierarchy":i="menu-explore",s="menu.explore.label",m="menu-explore",a="menu-class-hierarchy",u="menu.class.hierarchy.label",p="sub-menu-class-hierarchy",o="view.class.hierarchy.title",r="view.class.hierarchy.helpInfo";break;case"class-relationships":i="menu-explore",s="menu.explore.label",m="menu-explore",a="sub-menu-class-relationships",u="menu.class.relationships.label",p="sub-menu-class-relationships",o="view.class.relationships.title",r="view.class.relationships.helpInfo";break;case"ttyg":i="menu-lab",s="menu.lab.label",m="menu-lab",a="sub-menu-ttyg",u="menu.ttyg.label",p="sub-menu-ttyg",o="menu.ttyg.label",r="ttyg.helpInfo";break;case"similarity":i="menu-explore",s="menu.explore.label",m="menu-explore",a="sub-menu-similarity",u="menu.similarity.label",p="sub-menu-similarity",o="menu.similarity.label",r="guide.step-help-info.create-similarity-index";break;case"rdf-rank":i="menu-setup",s="menu.setup.label",m="menu-setup",a="sub-menu-rdf-rank",u="view.rdf.rank.title",p="sub-menu-rdf-rank",o="view.rdf.rank.title",r="view.rdf.rank.helpInfo"}const c=a?" div":" a";return e.viewName=o,e.showIntro&&e.mainAction&&l.push({guideBlockName:"info-message",options:{content:"guide.step-intro."+e.mainAction,extraContent:r,extraContentClass:"alert alert-help text-left",skipPoint:!0,...e}}),l.push({guideBlockName:"clickable-element",options:{content:"guide.step-menu.click-menu",menuLabelKey:s,class:m,elementSelector:n.getGuideElementSelector(i),showOn:()=>(a&&n.isGuideElementVisible(a)&&n.clickOnGuideElement(i,c)(),!0),onNextClick:n.clickOnGuideElement(i,c),initPreviousStep:(e,t)=>{const n=e.ShepherdService.getPreviousStepFromHistory(t);return n?n.options.initPreviousStep(e,n.options.id):Promise.resolve()},...e}}),a&&l.push({guideBlockName:"clickable-element",options:{content:"guide.step-menu.click-menu",menuLabelKey:u,class:p,elementSelector:n.getGuideElementSelector(a),placement:"right",canBePaused:!1,onNextClick:n.clickOnGuideElement(a," a"),initPreviousStep:(e,t)=>{const n=e.ShepherdService.getPreviousStepFromHistory(t);return n?n.options.initPreviousStep(e,n.options.id):Promise.resolve()},...e}}),l}}])}};
2
- //# sourceMappingURL=55217.4769c1f0615e364d8c2a.bundle.js.map
1
+ export const __webpack_id__=55217;export const __webpack_ids__=[55217];export const __webpack_modules__={55217:()=>{PluginRegistry.add("guide.step",[{guideBlockName:"click-main-menu",getSteps:(e,t)=>{const n=t.GuideUtils,l=[];let i,s,a,u,o,r,m="",p="";switch(e.menu){case"repositories":i="menu-setup",s="menu.setup.label",m="menu-setup",a="sub-menu-repositories",u="menu.repositories.label",p="sub-menu-repositories",o="menu.repositories.label",r="view.repositories.helpInfo";break;case"import":i="menu-import",s="common.import",m="menu-import",o="common.import",r="view.import.helpInfo";break;case"connectors":i="menu-setup",s="menu.setup.label",m="menu-setup-guide-dialog",a="sub-menu-connectors",u="menu.connectors.label",p="sub-menu-connectors-guide-dialog",o="view.connector.management.title",r="view.connector.management.helpInfo";break;case"autocomplete":i="menu-setup",s="menu.setup.label",m="menu-setup",a="sub-menu-autocomplete",u="menu.autocomplete.label",p="sub-menu-autocomplete",o="view.autocomplete.title",r="view.autocomplete.helpInfo";break;case"visual-graph":i="menu-explore",s="menu.explore.label",m="menu-explore",a="sub-menu-visual-graph",u="visual.graph.label",p="sub-menu-visual-graph",o="visual.graph.label",r="view.visual.graph.helpInfo";break;case"sparql":i="menu-sparql",s="menu.sparql.label",m="menu-sparql",o="view.sparql-editor.title",r="view.sparql-editor.helpInfo";break;case"class-hierarchy":i="menu-explore",s="menu.explore.label",m="menu-explore",a="menu-class-hierarchy",u="menu.class.hierarchy.label",p="sub-menu-class-hierarchy",o="view.class.hierarchy.title",r="view.class.hierarchy.helpInfo";break;case"class-relationships":i="menu-explore",s="menu.explore.label",m="menu-explore",a="sub-menu-class-relationships",u="menu.class.relationships.label",p="sub-menu-class-relationships",o="view.class.relationships.title",r="view.class.relationships.helpInfo";break;case"ttyg":i="menu-lab",s="menu.lab.label",m="menu-lab",a="sub-menu-ttyg",u="menu.ttyg.label",p="sub-menu-ttyg",o="menu.ttyg.label",r="ttyg.helpInfo";break;case"similarity":i="menu-explore",s="menu.explore.label",m="menu-explore",a="sub-menu-similarity",u="menu.similarity.label",p="sub-menu-similarity",o="menu.similarity.label",r="guide.step-help-info.create-similarity-index";break;case"rdf-rank":i="menu-setup",s="menu.setup.label",m="menu-setup",a="sub-menu-rdf-rank",u="view.rdf.rank.title",p="sub-menu-rdf-rank",o="view.rdf.rank.title",r="view.rdf.rank.helpInfo"}const c=a?" div":" a";return e.viewName=o,e.showIntro&&e.mainAction&&l.push({guideBlockName:"info-message",options:{content:"guide.step-intro."+e.mainAction,extraContent:r,extraContentClass:"alert alert-help text-left",skipPoint:!0,skipButtonLabel:n.BUTTONS.SKIP_SECTION,...e}}),l.push({guideBlockName:"clickable-element",options:{content:"guide.step-menu.click-menu",menuLabelKey:s,class:m,elementSelector:n.getGuideElementSelector(i),showOn:()=>(a&&n.isGuideElementVisible(a)&&n.clickOnGuideElement(i,c)(),!0),onNextClick:n.clickOnGuideElement(i,c),initPreviousStep:(e,t)=>{const n=e.ShepherdService.getPreviousStepFromHistory(t);return n?n.options.initPreviousStep(e,n.options.id):Promise.resolve()},...e}}),a&&l.push({guideBlockName:"clickable-element",options:{content:"guide.step-menu.click-menu",menuLabelKey:u,class:p,elementSelector:n.getGuideElementSelector(a),placement:"right",canBePaused:!1,onNextClick:n.clickOnGuideElement(a," a"),initPreviousStep:(e,t)=>{const n=e.ShepherdService.getPreviousStepFromHistory(t);return n?n.options.initPreviousStep(e,n.options.id):Promise.resolve()},...e}}),l}}])}};
2
+ //# sourceMappingURL=55217.98a70cf01c4b7a826e82.bundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"55217.98a70cf01c4b7a826e82.bundle.js","mappings":"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","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/guides/steps/complex/main-menu/plugin.js"],"sourcesContent":["PluginRegistry.add('guide.step', [\n {\n guideBlockName: 'click-main-menu',\n getSteps: (options, services) => {\n const GuideUtils = services.GuideUtils;\n const steps = [];\n\n let menuSelector;\n let menuTitle;\n let submenuSelector;\n let submenuTitle;\n let viewName;\n let helpInfo;\n let menuDialogClass = '';\n let submenuDialogClass = '';\n\n switch (options.menu) {\n case \"repositories\":\n menuSelector = 'menu-setup';\n menuTitle = 'menu.setup.label';\n menuDialogClass = 'menu-setup';\n submenuSelector = 'sub-menu-repositories';\n submenuTitle = 'menu.repositories.label';\n submenuDialogClass = 'sub-menu-repositories';\n viewName = 'menu.repositories.label';\n helpInfo = 'view.repositories.helpInfo';\n\n break;\n case \"import\":\n menuSelector = 'menu-import';\n menuTitle = 'common.import';\n menuDialogClass = 'menu-import';\n viewName = 'common.import';\n helpInfo = 'view.import.helpInfo';\n\n break;\n case \"connectors\":\n menuSelector = 'menu-setup';\n menuTitle = 'menu.setup.label';\n menuDialogClass = 'menu-setup-guide-dialog';\n submenuSelector = 'sub-menu-connectors';\n submenuTitle = 'menu.connectors.label';\n submenuDialogClass = 'sub-menu-connectors-guide-dialog';\n viewName = 'view.connector.management.title';\n helpInfo = 'view.connector.management.helpInfo';\n\n break;\n case \"autocomplete\":\n menuSelector = 'menu-setup';\n menuTitle = 'menu.setup.label';\n menuDialogClass = 'menu-setup';\n submenuSelector = 'sub-menu-autocomplete';\n submenuTitle = 'menu.autocomplete.label';\n submenuDialogClass = 'sub-menu-autocomplete';\n viewName = 'view.autocomplete.title';\n helpInfo = 'view.autocomplete.helpInfo';\n\n break;\n case \"visual-graph\":\n menuSelector = 'menu-explore';\n menuTitle = 'menu.explore.label';\n menuDialogClass = 'menu-explore';\n submenuSelector = 'sub-menu-visual-graph';\n submenuTitle = 'visual.graph.label';\n submenuDialogClass = 'sub-menu-visual-graph';\n viewName = 'visual.graph.label';\n helpInfo = 'view.visual.graph.helpInfo';\n\n break;\n case \"sparql\":\n menuSelector = 'menu-sparql';\n menuTitle = 'menu.sparql.label';\n menuDialogClass = 'menu-sparql';\n viewName = 'view.sparql-editor.title';\n helpInfo = 'view.sparql-editor.helpInfo';\n\n break;\n case \"class-hierarchy\":\n menuSelector = 'menu-explore';\n menuTitle = 'menu.explore.label';\n menuDialogClass = 'menu-explore';\n submenuSelector = 'menu-class-hierarchy';\n submenuTitle = 'menu.class.hierarchy.label';\n submenuDialogClass = 'sub-menu-class-hierarchy';\n viewName = 'view.class.hierarchy.title';\n helpInfo = 'view.class.hierarchy.helpInfo';\n\n break;\n case \"class-relationships\":\n menuSelector = 'menu-explore';\n menuTitle = 'menu.explore.label';\n menuDialogClass = 'menu-explore';\n submenuSelector = 'sub-menu-class-relationships';\n submenuTitle = 'menu.class.relationships.label';\n submenuDialogClass = 'sub-menu-class-relationships';\n viewName = 'view.class.relationships.title';\n helpInfo = 'view.class.relationships.helpInfo';\n\n break;\n case \"ttyg\":\n menuSelector = 'menu-lab';\n menuTitle = 'menu.lab.label';\n menuDialogClass = 'menu-lab';\n submenuSelector = 'sub-menu-ttyg';\n submenuTitle = 'menu.ttyg.label';\n submenuDialogClass = 'sub-menu-ttyg';\n viewName = 'menu.ttyg.label';\n helpInfo = 'ttyg.helpInfo';\n\n break;\n case \"similarity\":\n menuSelector = 'menu-explore';\n menuTitle = 'menu.explore.label';\n menuDialogClass = 'menu-explore';\n submenuSelector = 'sub-menu-similarity';\n submenuTitle = 'menu.similarity.label';\n submenuDialogClass = 'sub-menu-similarity';\n viewName = 'menu.similarity.label';\n helpInfo = 'guide.step-help-info.create-similarity-index';\n break;\n case \"rdf-rank\":\n menuSelector = 'menu-setup';\n menuTitle = 'menu.setup.label';\n menuDialogClass = 'menu-setup';\n submenuSelector = 'sub-menu-rdf-rank';\n submenuTitle = 'view.rdf.rank.title';\n submenuDialogClass = 'sub-menu-rdf-rank';\n viewName = 'view.rdf.rank.title';\n helpInfo = 'view.rdf.rank.helpInfo';\n break;\n }\n\n const mainMenuClickElementPostSelector = submenuSelector ? ' div' : ' a';\n options.viewName = viewName;\n\n // View intro element\n if (options.showIntro && options.mainAction) {\n steps.push({\n guideBlockName: 'info-message',\n options: {\n content: 'guide.step-intro.' + options.mainAction,\n extraContent: helpInfo,\n extraContentClass: 'alert alert-help text-left',\n skipPoint: true,\n skipButtonLabel: GuideUtils.BUTTONS.SKIP_SECTION,\n ...options,\n },\n });\n }\n\n // Main menu element\n steps.push({\n guideBlockName: 'clickable-element',\n options: {\n content: 'guide.step-menu.click-menu',\n menuLabelKey: menuTitle,\n class: menuDialogClass,\n elementSelector: GuideUtils.getGuideElementSelector(menuSelector),\n showOn: () => {\n // If submenu is visible this mean that we have to close menu.\n if (!!submenuSelector && GuideUtils.isGuideElementVisible(submenuSelector)) {\n GuideUtils.clickOnGuideElement(menuSelector, mainMenuClickElementPostSelector)();\n }\n return true;\n },\n onNextClick: GuideUtils.clickOnGuideElement(menuSelector, mainMenuClickElementPostSelector),\n initPreviousStep: (services, stepId) => {\n const previousStep = services.ShepherdService.getPreviousStepFromHistory(stepId);\n if (previousStep) {\n return previousStep.options.initPreviousStep(services, previousStep.options.id);\n }\n\n return Promise.resolve();\n },\n ...options,\n },\n });\n\n if (submenuSelector) {\n steps.push({\n guideBlockName: 'clickable-element',\n options: {\n content: 'guide.step-menu.click-menu',\n menuLabelKey: submenuTitle,\n class: submenuDialogClass,\n elementSelector: GuideUtils.getGuideElementSelector(submenuSelector),\n placement: 'right',\n canBePaused: false,\n onNextClick: GuideUtils.clickOnGuideElement(submenuSelector, ' a'),\n initPreviousStep: (services, stepId) => {\n const previousStep = services.ShepherdService.getPreviousStepFromHistory(stepId);\n if (previousStep) {\n return previousStep.options.initPreviousStep(services, previousStep.options.id);\n }\n\n return Promise.resolve();\n },\n ...options,\n },\n });\n }\n return steps;\n },\n },\n]);\n"],"names":["PluginRegistry","add","guideBlockName","getSteps","options","services","GuideUtils","steps","menuSelector","menuTitle","submenuSelector","submenuTitle","viewName","helpInfo","menuDialogClass","submenuDialogClass","menu","mainMenuClickElementPostSelector","showIntro","mainAction","push","content","extraContent","extraContentClass","skipPoint","skipButtonLabel","BUTTONS","SKIP_SECTION","menuLabelKey","class","elementSelector","getGuideElementSelector","showOn","isGuideElementVisible","clickOnGuideElement","onNextClick","initPreviousStep","stepId","previousStep","ShepherdService","getPreviousStepFromHistory","id","Promise","resolve","placement","canBePaused"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- export const __webpack_id__=55862;export const __webpack_ids__=[55862];export const __webpack_modules__={55862:(e,r,n)=>{n.r(r),n.d(r,{default:()=>t});const t='<link href="css/graphql/endpoint-generation-failure-result-modal.css?v=3.1.1-TR3" rel="stylesheet"/> <div class="modal-header"> <button type="button" class="close" ng-click="close()"></button> <h3 class="modal-title"> {{\'graphql.endpoints_management.generation_failure_report_modal.title\' | translate}}</h3> </div> <div class="modal-body endpoint-generation-failure-result-modal-body"> <div ng-if="endpointReport.errors > 0" class="alert alert-danger"> {{\'graphql.endpoints_management.generation_failure_report_modal.failing_reason_message\' | translate}} </div> <div ng-if="endpointReport.warnings > 0 && endpointReport.errors === 0" class="alert alert-info"> {{\'graphql.endpoints_management.generation_failure_report_modal.warning_reason_message\' | translate}} </div> <table class="report table table-bordered" aria-label="Endpoint generation failure report table"> <thead> <tr class="labels-row"> <th scope="col"> <strong class="errors-count mr-2">{{\'graphql.endpoints_management.generation_failure_report_modal.errors\' | translate: {errorCount: endpointReport.errors} }}</strong> <strong class="warnings-count">{{\'graphql.endpoints_management.generation_failure_report_modal.warnings\' | translate: {warningCount: endpointReport.warnings} }}</strong> </th> </tr> </thead> <tbody> <tr ng-repeat="error in endpointReport.messages.errors" class="error-row"> <td> <div class="alert alert-danger">{{error}}</div> </td> </tr> <tr ng-repeat="warning in endpointReport.messages.warnings" class="warning-row"> <td> <div class="alert alert-warning">{{warning}}</div> </td> </tr> </tbody> </table> </div> <div class="modal-footer mt-0"> <button id="download-failure-report" class="btn btn-secondary mr-1" ng-click="downloadReport()"> <i class="fa fa-arrow-down-to-line"></i> <span>{{\'graphql.endpoints_management.generation_failure_report_modal.actions.download_report.label\' | translate}}</span> </button> <button ng-if="endpointReport.errors === 0 && endpointReport.warnings > 0" id="delete-warnings" class="btn btn-primary" ng-click="deleteReport()"> <span>{{\'graphql.endpoints_management.generation_failure_report_modal.actions.delete_report.label\' | translate}}</span> </button> </div> '}};
2
- //# sourceMappingURL=55862.8ef52c24ecad5d1b335f.bundle.js.map
1
+ export const __webpack_id__=55862;export const __webpack_ids__=[55862];export const __webpack_modules__={55862:(e,r,n)=>{n.r(r),n.d(r,{default:()=>t});const t='<link href="css/graphql/endpoint-generation-failure-result-modal.css?v=3.1.2-RC1" rel="stylesheet"/> <div class="modal-header"> <button type="button" class="close" ng-click="close()"></button> <h3 class="modal-title"> {{\'graphql.endpoints_management.generation_failure_report_modal.title\' | translate}}</h3> </div> <div class="modal-body endpoint-generation-failure-result-modal-body"> <div ng-if="endpointReport.errors > 0" class="alert alert-danger"> {{\'graphql.endpoints_management.generation_failure_report_modal.failing_reason_message\' | translate}} </div> <div ng-if="endpointReport.warnings > 0 && endpointReport.errors === 0" class="alert alert-info"> {{\'graphql.endpoints_management.generation_failure_report_modal.warning_reason_message\' | translate}} </div> <table class="report table table-bordered" aria-label="Endpoint generation failure report table"> <thead> <tr class="labels-row"> <th scope="col"> <strong class="errors-count mr-2">{{\'graphql.endpoints_management.generation_failure_report_modal.errors\' | translate: {errorCount: endpointReport.errors} }}</strong> <strong class="warnings-count">{{\'graphql.endpoints_management.generation_failure_report_modal.warnings\' | translate: {warningCount: endpointReport.warnings} }}</strong> </th> </tr> </thead> <tbody> <tr ng-repeat="error in endpointReport.messages.errors" class="error-row"> <td> <div class="alert alert-danger">{{error}}</div> </td> </tr> <tr ng-repeat="warning in endpointReport.messages.warnings" class="warning-row"> <td> <div class="alert alert-warning">{{warning}}</div> </td> </tr> </tbody> </table> </div> <div class="modal-footer mt-0"> <button id="download-failure-report" class="btn btn-secondary mr-1" ng-click="downloadReport()"> <i class="fa fa-arrow-down-to-line"></i> <span>{{\'graphql.endpoints_management.generation_failure_report_modal.actions.download_report.label\' | translate}}</span> </button> <button ng-if="endpointReport.errors === 0 && endpointReport.warnings > 0" id="delete-warnings" class="btn btn-primary" ng-click="deleteReport()"> <span>{{\'graphql.endpoints_management.generation_failure_report_modal.actions.delete_report.label\' | translate}}</span> </button> </div> '}};
2
+ //# sourceMappingURL=55862.d9d6d715b3ef7c42f98f.bundle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"55862.8ef52c24ecad5d1b335f.bundle.js","mappings":"uJAGA,QAFW,spE","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html"],"sourcesContent":["// Module\nvar code = `<link href=\"css/graphql/endpoint-generation-failure-result-modal.css?v=3.1.1-TR3\" rel=\"stylesheet\"/> <div class=\"modal-header\"> <button type=\"button\" class=\"close\" ng-click=\"close()\"></button> <h3 class=\"modal-title\"> {{'graphql.endpoints_management.generation_failure_report_modal.title' | translate}}</h3> </div> <div class=\"modal-body endpoint-generation-failure-result-modal-body\"> <div ng-if=\"endpointReport.errors > 0\" class=\"alert alert-danger\"> {{'graphql.endpoints_management.generation_failure_report_modal.failing_reason_message' | translate}} </div> <div ng-if=\"endpointReport.warnings > 0 && endpointReport.errors === 0\" class=\"alert alert-info\"> {{'graphql.endpoints_management.generation_failure_report_modal.warning_reason_message' | translate}} </div> <table class=\"report table table-bordered\" aria-label=\"Endpoint generation failure report table\"> <thead> <tr class=\"labels-row\"> <th scope=\"col\"> <strong class=\"errors-count mr-2\">{{'graphql.endpoints_management.generation_failure_report_modal.errors' | translate: {errorCount: endpointReport.errors} }}</strong> <strong class=\"warnings-count\">{{'graphql.endpoints_management.generation_failure_report_modal.warnings' | translate: {warningCount: endpointReport.warnings} }}</strong> </th> </tr> </thead> <tbody> <tr ng-repeat=\"error in endpointReport.messages.errors\" class=\"error-row\"> <td> <div class=\"alert alert-danger\">{{error}}</div> </td> </tr> <tr ng-repeat=\"warning in endpointReport.messages.warnings\" class=\"warning-row\"> <td> <div class=\"alert alert-warning\">{{warning}}</div> </td> </tr> </tbody> </table> </div> <div class=\"modal-footer mt-0\"> <button id=\"download-failure-report\" class=\"btn btn-secondary mr-1\" ng-click=\"downloadReport()\"> <i class=\"fa fa-arrow-down-to-line\"></i> <span>{{'graphql.endpoints_management.generation_failure_report_modal.actions.download_report.label' | translate}}</span> </button> <button ng-if=\"endpointReport.errors === 0 && endpointReport.warnings > 0\" id=\"delete-warnings\" class=\"btn btn-primary\" ng-click=\"deleteReport()\"> <span>{{'graphql.endpoints_management.generation_failure_report_modal.actions.delete_report.label' | translate}}</span> </button> </div> `;\n// Exports\nexport default code;"],"names":[],"sourceRoot":""}
1
+ {"version":3,"file":"55862.d9d6d715b3ef7c42f98f.bundle.js","mappings":"uJAGA,QAFW,spE","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html"],"sourcesContent":["// Module\nvar code = `<link href=\"css/graphql/endpoint-generation-failure-result-modal.css?v=3.1.2-RC1\" rel=\"stylesheet\"/> <div class=\"modal-header\"> <button type=\"button\" class=\"close\" ng-click=\"close()\"></button> <h3 class=\"modal-title\"> {{'graphql.endpoints_management.generation_failure_report_modal.title' | translate}}</h3> </div> <div class=\"modal-body endpoint-generation-failure-result-modal-body\"> <div ng-if=\"endpointReport.errors > 0\" class=\"alert alert-danger\"> {{'graphql.endpoints_management.generation_failure_report_modal.failing_reason_message' | translate}} </div> <div ng-if=\"endpointReport.warnings > 0 && endpointReport.errors === 0\" class=\"alert alert-info\"> {{'graphql.endpoints_management.generation_failure_report_modal.warning_reason_message' | translate}} </div> <table class=\"report table table-bordered\" aria-label=\"Endpoint generation failure report table\"> <thead> <tr class=\"labels-row\"> <th scope=\"col\"> <strong class=\"errors-count mr-2\">{{'graphql.endpoints_management.generation_failure_report_modal.errors' | translate: {errorCount: endpointReport.errors} }}</strong> <strong class=\"warnings-count\">{{'graphql.endpoints_management.generation_failure_report_modal.warnings' | translate: {warningCount: endpointReport.warnings} }}</strong> </th> </tr> </thead> <tbody> <tr ng-repeat=\"error in endpointReport.messages.errors\" class=\"error-row\"> <td> <div class=\"alert alert-danger\">{{error}}</div> </td> </tr> <tr ng-repeat=\"warning in endpointReport.messages.warnings\" class=\"warning-row\"> <td> <div class=\"alert alert-warning\">{{warning}}</div> </td> </tr> </tbody> </table> </div> <div class=\"modal-footer mt-0\"> <button id=\"download-failure-report\" class=\"btn btn-secondary mr-1\" ng-click=\"downloadReport()\"> <i class=\"fa fa-arrow-down-to-line\"></i> <span>{{'graphql.endpoints_management.generation_failure_report_modal.actions.download_report.label' | translate}}</span> </button> <button ng-if=\"endpointReport.errors === 0 && endpointReport.warnings > 0\" id=\"delete-warnings\" class=\"btn btn-primary\" ng-click=\"deleteReport()\"> <span>{{'graphql.endpoints_management.generation_failure_report_modal.actions.delete_report.label' | translate}}</span> </button> </div> `;\n// Exports\nexport default code;"],"names":[],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- export const __webpack_id__=58306;export const __webpack_ids__=[58306];export const __webpack_modules__={58306:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});const n='<link href="css/ttyg/ttyg.css?v=3.1.1-TR3" rel="stylesheet"/> <div class="ttyg-view" ng-class="{\'help-visible\': isHelpVisible}"> <h1 id="ttyg-view-title"> {{ title }} <page-info-tooltip></page-info-tooltip> </h1> <div core-errors></div> <div uib-collapse="!isHelpVisible" class="alert alert-info"> <button type="button" ng-click="isHelpVisible = false" gdb-tooltip="{{\'common.close\' | translate}}" class="close" aria-label="Close"></button> <div ng-include="helpTemplateUrl"></div> </div> <div onto-loader-new ng-show="loadingAgents" class="ttyg-page-loader" size="100"> </div> <no-agents-view ng-cloak ng-if="initialized && getActiveRepository() && !loadingAgents && !reloadingAgents && (!agents || agents.isEmpty())"></no-agents-view> <div id="ttyg-container" class="ttyg-container" ng-show="getActiveRepository() && !loadingAgents && agents && !agents.isEmpty()"> <div id="left-sidebar" class="left-sidebar sidebar" ng-class="showChats ? \'expanded\' : \'collapsed\'"> <div class="toolbar"> <button class="btn btn-link btn-sm toggle-chats-sidebar-btn" ng-if="true" ng-click="toggleChatsListSidebar()" ng-disabled="false" gdb-tooltip="{{\'ttyg.chat.btn.\' + (showChats ? \'close_sidebar\' : \'open_sidebar\') + \'.tooltip\' | translate}}"> <i class="fa fa-sidebar"></i> </button> <button class="btn btn-link btn-sm create-chat-btn" guide-selector="create-chat-btn" ng-if="chats && !chats.isEmpty()" ng-click="startNewChat()" ng-disabled="false" gdb-tooltip="{{\'ttyg.chat.btn.create_chat.tooltip\' | translate}}"> <i class="fa fa-pen-to-square"></i> </button> </div> <pageslide ps-class="chat-list-panel slide-panel" ps-container="left-sidebar" ps-open="showChats" onopen="onopen" onclose="onclose" ps-side="left" ps-click-outside="false" ps-size="80vw"> <div class="sidebar-content"> <chat-list ng-if="chats"></chat-list> <div class="chat-list-panel-loader" ng-if="!chats && loadingChats"> <div onto-loader-fancy message="{{\'ttyg.chat.loading_chats\' | translate}}" size="25"></div> </div> </div> </pageslide> </div> <div class="chat-content"> <div class="chat"> <div class="toolbar mb-2"> <agent-select-menu class="mr-1"></agent-select-menu> <button class="btn btn-link btn-sm edit-current-agent-btn mr-1" guide-selector="edit-current-agent" ng-if="selectedAgent" ng-click="onOpenAgentSettings()" ng-disabled="!canModifyAgent" gdb-tooltip="{{ (canModifyAgent ? \'ttyg.agent.btn.edit_agent.tooltip\' : \'ttyg.agent.btn.edit_agent.tooltip_disabled\') | translate}}"> <i class="icon-settings"></i> </button> </div> <div uib-collapse="!isCollapsed" id="ot-help-text" class="alert alert-info"> <button type="button" ng-click="isCollapsed = false" gdb-tooltip="{{\'common.close\' | translate}}" class="close" aria-label="Close"></button> <div ng-include="helpTemplateUrl"></div> </div> <chat-panel class="selected-chat-panel"></chat-panel> </div> </div> <div id="right-sidebar" class="right-sidebar sidebar" ng-class="showAgents ? \'expanded\' : \'collapsed\'"> <div class="toolbar"> <button class="btn btn-link btn-sm help-btn" ng-if="true" ng-click="onToggleHelp()" ng-disabled="false" gdb-tooltip="{{\'ttyg.help.btn.show_help.tooltip\' | translate}}"> <i class="icon-help"></i> </button> <button class="btn btn-link btn-sm create-agent-btn" ng-disabled="!canModifyAgent" ng-click="onOpenNewAgentSettings()" ng-disabled="false" gdb-tooltip="{{ (canModifyAgent ? \'ttyg.agent.btn.create_agent.tooltip\' : \'ttyg.agent.btn.create_agent.tooltip_disabled\') | translate}}" guide-selector="create-agent-btn"> <i class="icon-plus"></i> </button> <button class="btn btn-link btn-sm toggle-agents-sidebar-btn" ng-if="!showAgents" ng-click="toggleAgentsListSidebar()" ng-disabled="!canModifyAgent" gdb-tooltip="{{\'ttyg.agent.btn.open_sidebar.\' + (canModifyAgent ? \'tooltip\' : \'tooltip_disabled\') | translate}}"> <i class="fa fa-message-bot"></i> </button> <button class="btn btn-link btn-sm toggle-agents-sidebar-btn" ng-if="showAgents" ng-click="toggleAgentsListSidebar()" ng-disabled="false" gdb-tooltip="{{\'ttyg.agent.btn.close_sidebar\' + \'.tooltip\' | translate}}"> <i class="icon-close"></i> </button> </div> <pageslide ps-class="agent-list-panel slide-panel" ps-container="right-sidebar" ps-open="showAgents" onopen="onopen" onclose="onclose" ps-side="right" ps-click-outside="false" ps-size="80vw"> <div class="sidebar-content"> <agent-list ng-if="agents && agentListFilterModel.length && !reloadingAgents" agent-list="agents" agent-list-filter-model="agentListFilterModel"></agent-list> <div ng-if="reloadingAgents" onto-loader-fancy message="{{\'ttyg.agent.loading_agents\' | translate}}" class="agent-list-loader" size="25" style="display:flex"></div> </div> </pageslide> </div> </div> </div> '}};
2
- //# sourceMappingURL=58306.69f132627b7aa8a2fd8b.bundle.js.map
1
+ export const __webpack_id__=58306;export const __webpack_ids__=[58306];export const __webpack_modules__={58306:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});const n='<link href="css/ttyg/ttyg.css?v=3.1.2-RC1" rel="stylesheet"/> <div class="ttyg-view" ng-class="{\'help-visible\': isHelpVisible}"> <h1 id="ttyg-view-title"> {{ title }} <page-info-tooltip></page-info-tooltip> </h1> <div core-errors></div> <div uib-collapse="!isHelpVisible" class="alert alert-info"> <button type="button" ng-click="isHelpVisible = false" gdb-tooltip="{{\'common.close\' | translate}}" class="close" aria-label="Close"></button> <div ng-include="helpTemplateUrl"></div> </div> <div onto-loader-new ng-show="loadingAgents" class="ttyg-page-loader" size="100"> </div> <no-agents-view ng-cloak ng-if="initialized && getActiveRepository() && !loadingAgents && !reloadingAgents && (!agents || agents.isEmpty())"></no-agents-view> <div id="ttyg-container" class="ttyg-container" ng-show="getActiveRepository() && !loadingAgents && agents && !agents.isEmpty()"> <div id="left-sidebar" class="left-sidebar sidebar" ng-class="showChats ? \'expanded\' : \'collapsed\'"> <div class="toolbar"> <button class="btn btn-link btn-sm toggle-chats-sidebar-btn" ng-if="true" ng-click="toggleChatsListSidebar()" ng-disabled="false" gdb-tooltip="{{\'ttyg.chat.btn.\' + (showChats ? \'close_sidebar\' : \'open_sidebar\') + \'.tooltip\' | translate}}"> <i class="fa fa-sidebar"></i> </button> <button class="btn btn-link btn-sm create-chat-btn" guide-selector="create-chat-btn" ng-if="chats && !chats.isEmpty()" ng-click="startNewChat()" ng-disabled="false" gdb-tooltip="{{\'ttyg.chat.btn.create_chat.tooltip\' | translate}}"> <i class="fa fa-pen-to-square"></i> </button> </div> <pageslide ps-class="chat-list-panel slide-panel" ps-container="left-sidebar" ps-open="showChats" onopen="onopen" onclose="onclose" ps-side="left" ps-click-outside="false" ps-size="80vw"> <div class="sidebar-content"> <chat-list ng-if="chats"></chat-list> <div class="chat-list-panel-loader" ng-if="!chats && loadingChats"> <div onto-loader-fancy message="{{\'ttyg.chat.loading_chats\' | translate}}" size="25"></div> </div> </div> </pageslide> </div> <div class="chat-content"> <div class="chat"> <div class="toolbar mb-2"> <agent-select-menu class="mr-1"></agent-select-menu> <button class="btn btn-link btn-sm edit-current-agent-btn mr-1" guide-selector="edit-current-agent" ng-if="selectedAgent" ng-click="onOpenAgentSettings()" ng-disabled="!canModifyAgent" gdb-tooltip="{{ (canModifyAgent ? \'ttyg.agent.btn.edit_agent.tooltip\' : \'ttyg.agent.btn.edit_agent.tooltip_disabled\') | translate}}"> <i class="icon-settings"></i> </button> </div> <div uib-collapse="!isCollapsed" id="ot-help-text" class="alert alert-info"> <button type="button" ng-click="isCollapsed = false" gdb-tooltip="{{\'common.close\' | translate}}" class="close" aria-label="Close"></button> <div ng-include="helpTemplateUrl"></div> </div> <chat-panel class="selected-chat-panel"></chat-panel> </div> </div> <div id="right-sidebar" class="right-sidebar sidebar" ng-class="showAgents ? \'expanded\' : \'collapsed\'"> <div class="toolbar"> <button class="btn btn-link btn-sm help-btn" ng-if="true" ng-click="onToggleHelp()" ng-disabled="false" gdb-tooltip="{{\'ttyg.help.btn.show_help.tooltip\' | translate}}"> <i class="icon-help"></i> </button> <button class="btn btn-link btn-sm create-agent-btn" ng-disabled="!canModifyAgent" ng-click="onOpenNewAgentSettings()" ng-disabled="false" gdb-tooltip="{{ (canModifyAgent ? \'ttyg.agent.btn.create_agent.tooltip\' : \'ttyg.agent.btn.create_agent.tooltip_disabled\') | translate}}" guide-selector="create-agent-btn"> <i class="icon-plus"></i> </button> <button class="btn btn-link btn-sm toggle-agents-sidebar-btn" ng-if="!showAgents" ng-click="toggleAgentsListSidebar()" ng-disabled="!canModifyAgent" gdb-tooltip="{{\'ttyg.agent.btn.open_sidebar.\' + (canModifyAgent ? \'tooltip\' : \'tooltip_disabled\') | translate}}"> <i class="fa fa-message-bot"></i> </button> <button class="btn btn-link btn-sm toggle-agents-sidebar-btn" ng-if="showAgents" ng-click="toggleAgentsListSidebar()" ng-disabled="false" gdb-tooltip="{{\'ttyg.agent.btn.close_sidebar\' + \'.tooltip\' | translate}}"> <i class="icon-close"></i> </button> </div> <pageslide ps-class="agent-list-panel slide-panel" ps-container="right-sidebar" ps-open="showAgents" onopen="onopen" onclose="onclose" ps-side="right" ps-click-outside="false" ps-size="80vw"> <div class="sidebar-content"> <agent-list ng-if="agents && agentListFilterModel.length && !reloadingAgents" agent-list="agents" agent-list-filter-model="agentListFilterModel"></agent-list> <div ng-if="reloadingAgents" onto-loader-fancy message="{{\'ttyg.agent.loading_agents\' | translate}}" class="agent-list-loader" size="25" style="display:flex"></div> </div> </pageslide> </div> </div> </div> '}};
2
+ //# sourceMappingURL=58306.d34210db8418c8e2ada5.bundle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"58306.69f132627b7aa8a2fd8b.bundle.js","mappings":"uJAGA,QAFW,smJ","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/ttyg/templates/ttyg.html"],"sourcesContent":["// Module\nvar code = `<link href=\"css/ttyg/ttyg.css?v=3.1.1-TR3\" rel=\"stylesheet\"/> <div class=\"ttyg-view\" ng-class=\"{'help-visible': isHelpVisible}\"> <h1 id=\"ttyg-view-title\"> {{ title }} <page-info-tooltip></page-info-tooltip> </h1> <div core-errors></div> <div uib-collapse=\"!isHelpVisible\" class=\"alert alert-info\"> <button type=\"button\" ng-click=\"isHelpVisible = false\" gdb-tooltip=\"{{'common.close' | translate}}\" class=\"close\" aria-label=\"Close\"></button> <div ng-include=\"helpTemplateUrl\"></div> </div> <div onto-loader-new ng-show=\"loadingAgents\" class=\"ttyg-page-loader\" size=\"100\"> </div> <no-agents-view ng-cloak ng-if=\"initialized && getActiveRepository() && !loadingAgents && !reloadingAgents && (!agents || agents.isEmpty())\"></no-agents-view> <div id=\"ttyg-container\" class=\"ttyg-container\" ng-show=\"getActiveRepository() && !loadingAgents && agents && !agents.isEmpty()\"> <div id=\"left-sidebar\" class=\"left-sidebar sidebar\" ng-class=\"showChats ? 'expanded' : 'collapsed'\"> <div class=\"toolbar\"> <button class=\"btn btn-link btn-sm toggle-chats-sidebar-btn\" ng-if=\"true\" ng-click=\"toggleChatsListSidebar()\" ng-disabled=\"false\" gdb-tooltip=\"{{'ttyg.chat.btn.' + (showChats ? 'close_sidebar' : 'open_sidebar') + '.tooltip' | translate}}\"> <i class=\"fa fa-sidebar\"></i> </button> <button class=\"btn btn-link btn-sm create-chat-btn\" guide-selector=\"create-chat-btn\" ng-if=\"chats && !chats.isEmpty()\" ng-click=\"startNewChat()\" ng-disabled=\"false\" gdb-tooltip=\"{{'ttyg.chat.btn.create_chat.tooltip' | translate}}\"> <i class=\"fa fa-pen-to-square\"></i> </button> </div> <pageslide ps-class=\"chat-list-panel slide-panel\" ps-container=\"left-sidebar\" ps-open=\"showChats\" onopen=\"onopen\" onclose=\"onclose\" ps-side=\"left\" ps-click-outside=\"false\" ps-size=\"80vw\"> <div class=\"sidebar-content\"> <chat-list ng-if=\"chats\"></chat-list> <div class=\"chat-list-panel-loader\" ng-if=\"!chats && loadingChats\"> <div onto-loader-fancy message=\"{{'ttyg.chat.loading_chats' | translate}}\" size=\"25\"></div> </div> </div> </pageslide> </div> <div class=\"chat-content\"> <div class=\"chat\"> <div class=\"toolbar mb-2\"> <agent-select-menu class=\"mr-1\"></agent-select-menu> <button class=\"btn btn-link btn-sm edit-current-agent-btn mr-1\" guide-selector=\"edit-current-agent\" ng-if=\"selectedAgent\" ng-click=\"onOpenAgentSettings()\" ng-disabled=\"!canModifyAgent\" gdb-tooltip=\"{{ (canModifyAgent ? 'ttyg.agent.btn.edit_agent.tooltip' : 'ttyg.agent.btn.edit_agent.tooltip_disabled') | translate}}\"> <i class=\"icon-settings\"></i> </button> </div> <div uib-collapse=\"!isCollapsed\" id=\"ot-help-text\" class=\"alert alert-info\"> <button type=\"button\" ng-click=\"isCollapsed = false\" gdb-tooltip=\"{{'common.close' | translate}}\" class=\"close\" aria-label=\"Close\"></button> <div ng-include=\"helpTemplateUrl\"></div> </div> <chat-panel class=\"selected-chat-panel\"></chat-panel> </div> </div> <div id=\"right-sidebar\" class=\"right-sidebar sidebar\" ng-class=\"showAgents ? 'expanded' : 'collapsed'\"> <div class=\"toolbar\"> <button class=\"btn btn-link btn-sm help-btn\" ng-if=\"true\" ng-click=\"onToggleHelp()\" ng-disabled=\"false\" gdb-tooltip=\"{{'ttyg.help.btn.show_help.tooltip' | translate}}\"> <i class=\"icon-help\"></i> </button> <button class=\"btn btn-link btn-sm create-agent-btn\" ng-disabled=\"!canModifyAgent\" ng-click=\"onOpenNewAgentSettings()\" ng-disabled=\"false\" gdb-tooltip=\"{{ (canModifyAgent ? 'ttyg.agent.btn.create_agent.tooltip' : 'ttyg.agent.btn.create_agent.tooltip_disabled') | translate}}\" guide-selector=\"create-agent-btn\"> <i class=\"icon-plus\"></i> </button> <button class=\"btn btn-link btn-sm toggle-agents-sidebar-btn\" ng-if=\"!showAgents\" ng-click=\"toggleAgentsListSidebar()\" ng-disabled=\"!canModifyAgent\" gdb-tooltip=\"{{'ttyg.agent.btn.open_sidebar.' + (canModifyAgent ? 'tooltip' : 'tooltip_disabled') | translate}}\"> <i class=\"fa fa-message-bot\"></i> </button> <button class=\"btn btn-link btn-sm toggle-agents-sidebar-btn\" ng-if=\"showAgents\" ng-click=\"toggleAgentsListSidebar()\" ng-disabled=\"false\" gdb-tooltip=\"{{'ttyg.agent.btn.close_sidebar' + '.tooltip' | translate}}\"> <i class=\"icon-close\"></i> </button> </div> <pageslide ps-class=\"agent-list-panel slide-panel\" ps-container=\"right-sidebar\" ps-open=\"showAgents\" onopen=\"onopen\" onclose=\"onclose\" ps-side=\"right\" ps-click-outside=\"false\" ps-size=\"80vw\"> <div class=\"sidebar-content\"> <agent-list ng-if=\"agents && agentListFilterModel.length && !reloadingAgents\" agent-list=\"agents\" agent-list-filter-model=\"agentListFilterModel\"></agent-list> <div ng-if=\"reloadingAgents\" onto-loader-fancy message=\"{{'ttyg.agent.loading_agents' | translate}}\" class=\"agent-list-loader\" size=\"25\" style=\"display:flex\"></div> </div> </pageslide> </div> </div> </div> `;\n// Exports\nexport default code;"],"names":[],"sourceRoot":""}
1
+ {"version":3,"file":"58306.d34210db8418c8e2ada5.bundle.js","mappings":"uJAGA,QAFW,smJ","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/ttyg/templates/ttyg.html"],"sourcesContent":["// Module\nvar code = `<link href=\"css/ttyg/ttyg.css?v=3.1.2-RC1\" rel=\"stylesheet\"/> <div class=\"ttyg-view\" ng-class=\"{'help-visible': isHelpVisible}\"> <h1 id=\"ttyg-view-title\"> {{ title }} <page-info-tooltip></page-info-tooltip> </h1> <div core-errors></div> <div uib-collapse=\"!isHelpVisible\" class=\"alert alert-info\"> <button type=\"button\" ng-click=\"isHelpVisible = false\" gdb-tooltip=\"{{'common.close' | translate}}\" class=\"close\" aria-label=\"Close\"></button> <div ng-include=\"helpTemplateUrl\"></div> </div> <div onto-loader-new ng-show=\"loadingAgents\" class=\"ttyg-page-loader\" size=\"100\"> </div> <no-agents-view ng-cloak ng-if=\"initialized && getActiveRepository() && !loadingAgents && !reloadingAgents && (!agents || agents.isEmpty())\"></no-agents-view> <div id=\"ttyg-container\" class=\"ttyg-container\" ng-show=\"getActiveRepository() && !loadingAgents && agents && !agents.isEmpty()\"> <div id=\"left-sidebar\" class=\"left-sidebar sidebar\" ng-class=\"showChats ? 'expanded' : 'collapsed'\"> <div class=\"toolbar\"> <button class=\"btn btn-link btn-sm toggle-chats-sidebar-btn\" ng-if=\"true\" ng-click=\"toggleChatsListSidebar()\" ng-disabled=\"false\" gdb-tooltip=\"{{'ttyg.chat.btn.' + (showChats ? 'close_sidebar' : 'open_sidebar') + '.tooltip' | translate}}\"> <i class=\"fa fa-sidebar\"></i> </button> <button class=\"btn btn-link btn-sm create-chat-btn\" guide-selector=\"create-chat-btn\" ng-if=\"chats && !chats.isEmpty()\" ng-click=\"startNewChat()\" ng-disabled=\"false\" gdb-tooltip=\"{{'ttyg.chat.btn.create_chat.tooltip' | translate}}\"> <i class=\"fa fa-pen-to-square\"></i> </button> </div> <pageslide ps-class=\"chat-list-panel slide-panel\" ps-container=\"left-sidebar\" ps-open=\"showChats\" onopen=\"onopen\" onclose=\"onclose\" ps-side=\"left\" ps-click-outside=\"false\" ps-size=\"80vw\"> <div class=\"sidebar-content\"> <chat-list ng-if=\"chats\"></chat-list> <div class=\"chat-list-panel-loader\" ng-if=\"!chats && loadingChats\"> <div onto-loader-fancy message=\"{{'ttyg.chat.loading_chats' | translate}}\" size=\"25\"></div> </div> </div> </pageslide> </div> <div class=\"chat-content\"> <div class=\"chat\"> <div class=\"toolbar mb-2\"> <agent-select-menu class=\"mr-1\"></agent-select-menu> <button class=\"btn btn-link btn-sm edit-current-agent-btn mr-1\" guide-selector=\"edit-current-agent\" ng-if=\"selectedAgent\" ng-click=\"onOpenAgentSettings()\" ng-disabled=\"!canModifyAgent\" gdb-tooltip=\"{{ (canModifyAgent ? 'ttyg.agent.btn.edit_agent.tooltip' : 'ttyg.agent.btn.edit_agent.tooltip_disabled') | translate}}\"> <i class=\"icon-settings\"></i> </button> </div> <div uib-collapse=\"!isCollapsed\" id=\"ot-help-text\" class=\"alert alert-info\"> <button type=\"button\" ng-click=\"isCollapsed = false\" gdb-tooltip=\"{{'common.close' | translate}}\" class=\"close\" aria-label=\"Close\"></button> <div ng-include=\"helpTemplateUrl\"></div> </div> <chat-panel class=\"selected-chat-panel\"></chat-panel> </div> </div> <div id=\"right-sidebar\" class=\"right-sidebar sidebar\" ng-class=\"showAgents ? 'expanded' : 'collapsed'\"> <div class=\"toolbar\"> <button class=\"btn btn-link btn-sm help-btn\" ng-if=\"true\" ng-click=\"onToggleHelp()\" ng-disabled=\"false\" gdb-tooltip=\"{{'ttyg.help.btn.show_help.tooltip' | translate}}\"> <i class=\"icon-help\"></i> </button> <button class=\"btn btn-link btn-sm create-agent-btn\" ng-disabled=\"!canModifyAgent\" ng-click=\"onOpenNewAgentSettings()\" ng-disabled=\"false\" gdb-tooltip=\"{{ (canModifyAgent ? 'ttyg.agent.btn.create_agent.tooltip' : 'ttyg.agent.btn.create_agent.tooltip_disabled') | translate}}\" guide-selector=\"create-agent-btn\"> <i class=\"icon-plus\"></i> </button> <button class=\"btn btn-link btn-sm toggle-agents-sidebar-btn\" ng-if=\"!showAgents\" ng-click=\"toggleAgentsListSidebar()\" ng-disabled=\"!canModifyAgent\" gdb-tooltip=\"{{'ttyg.agent.btn.open_sidebar.' + (canModifyAgent ? 'tooltip' : 'tooltip_disabled') | translate}}\"> <i class=\"fa fa-message-bot\"></i> </button> <button class=\"btn btn-link btn-sm toggle-agents-sidebar-btn\" ng-if=\"showAgents\" ng-click=\"toggleAgentsListSidebar()\" ng-disabled=\"false\" gdb-tooltip=\"{{'ttyg.agent.btn.close_sidebar' + '.tooltip' | translate}}\"> <i class=\"icon-close\"></i> </button> </div> <pageslide ps-class=\"agent-list-panel slide-panel\" ps-container=\"right-sidebar\" ps-open=\"showAgents\" onopen=\"onopen\" onclose=\"onclose\" ps-side=\"right\" ps-click-outside=\"false\" ps-size=\"80vw\"> <div class=\"sidebar-content\"> <agent-list ng-if=\"agents && agentListFilterModel.length && !reloadingAgents\" agent-list=\"agents\" agent-list-filter-model=\"agentListFilterModel\"></agent-list> <div ng-if=\"reloadingAgents\" onto-loader-fancy message=\"{{'ttyg.agent.loading_agents' | translate}}\" class=\"agent-list-loader\" size=\"25\" style=\"display:flex\"></div> </div> </pageslide> </div> </div> </div> `;\n// Exports\nexport default code;"],"names":[],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ export const __webpack_id__=67232;export const __webpack_ids__=[67232];export const __webpack_modules__={67232:()=>{const e={title:"",content:"",elementSelector:void 0,placement:"bottom",url:void 0,type:"read-only-element",maxWaitTime:3,canBePaused:!0,onNextClick:void 0,disablePreviousFlow:!0,onNextValidate:()=>Promise.resolve(!0),onPreviousClick:void 0,skipPoint:!1,skipButtonLabel:"skip.btn",class:""},t=(e,t,i)=>()=>e.GuideUtils.waitFor(t,i).catch(t=>{throw e.toastr.error(e.$translate.instant("guide.unexpected.error.message")),t}),i=["click","dblclick","keydown","keypress","keyup","input","submit","scroll","wheel"],o=["scroll","wheel"],n=(e,t,o,n)=>()=>{o&&n.GuideUtils.getOrWaitFor(o).then(o=>{const n=i.filter(t=>!e.includes(t));t?n.forEach(e=>o.removeEventListener(e,s,!0)):n.forEach(e=>o.addEventListener(e,s,!0))})},l=(e,t)=>n([],!0,e,t),r=(e,t,i)=>n(e,!1,t,i),s=e=>{e.preventDefault(),e.stopPropagation()};PluginRegistry.add("guide.step",[{guideBlockName:"clickable-element",getStep:(i,o)=>{const n=angular.extend({},e,{advanceOn:{selector:i.clickableElementSelector||i.elementSelector,event:"click"},initPreviousStep:o.GuideUtils.defaultInitPreviousStep},i,{type:"clickable"});return n.beforeShowPromise||(n.beforeShowPromise=t(o,n.elementSelector,n.maxWaitTime)),n}},{guideBlockName:"toggle-element",getStep:(i,o)=>{let n;const l=i.toggleableElementSelector||i.elementSelector,r=e=>{e.target.checked||(e.preventDefault(),e.stopPropagation())},s={...e,advanceOn:{selector:l,event:"click"},initPreviousStep:o.GuideUtils.defaultInitPreviousStep,...i,show:()=>()=>{n=document.querySelector(l),n.addEventListener("click",r,!0)},hide:()=>()=>{n&&n.removeEventListener("click",r)},type:"toggleable"};return s.beforeShowPromise||(s.beforeShowPromise=t(o,s.elementSelector,s.maxWaitTime)),s}},{guideBlockName:"focus-element",getStep:(i,o)=>{const n=angular.extend({},e,{initPreviousStep:o.GuideUtils.defaultInitPreviousStep},i);return n.beforeShowPromise||(n.beforeShowPromise=t(o,n.elementSelector,n.maxWaitTime)),n}},{guideBlockName:"read-only-element",getStep:(i,o)=>{const n=angular.extend({},e,{initPreviousStep:o.GuideUtils.defaultInitPreviousStep},i,{type:"readonly"});return n.beforeShowPromise||(n.beforeShowPromise=t(o,n.elementSelector,n.maxWaitTime)),n}},{guideBlockName:"scroll-only-element",getStep:(i,n)=>{const s={...e,initPreviousStep:n.GuideUtils.defaultInitPreviousStep,show:()=>r(o,i.elementSelector,n),hide:()=>l(i.elementSelector,n),...i};return s.beforeShowPromise||(s.beforeShowPromise=t(n,s.elementSelector,s.maxWaitTime)),s}},{guideBlockName:"input-element",getStep:(i,o)=>{const n=angular.extend({},e,{initPreviousStep:o.GuideUtils.defaultInitPreviousStep},i,{type:"input"});return n.beforeShowPromise||(n.beforeShowPromise=t(o,n.elementSelector,n.maxWaitTime)),n}},{guideBlockName:"copy-text-element",getSteps:(e,t)=>{const i=t.$translate,o=t.GuideUtils,n=e.text,l=document.createElement("code");l.innerText=n;const r=document.createElement("button"),s="guide-copy-to-input-query-button";let u;r.className=`btn btn-sm btn-secondary ${s}`,r.innerText=i.instant("guide.step_plugin.core-steps.copy-text-element.copy-to-input");const a=((e,t)=>i=>{i.preventDefault();const o=document.querySelector(e);o.value=t,o.dispatchEvent(new Event("input",{bubbles:!0}))})(o.getElementSelector(e.elementSelector),n);return[{guideBlockName:"input-element",options:{...e,content:"guide.step_plugin.core-steps.copy-text-element.content",textAsHtmlCodeElement:'<div class="shepherd-code">'+l.outerHTML+r.outerHTML+"</div>",show:e=>()=>{u=e.currentStep.el.querySelector(`.${s}`),u.addEventListener("click",a)},hide:()=>()=>{u&&u.removeEventListener("click",a)}}}]}},{guideBlockName:"info-message",getStep:(t,i)=>angular.extend({},e,{initPreviousStep:i.GuideUtils.defaultInitPreviousStep},t,{type:"readonly"})},{guideBlockName:"hold-and-wait-until-hidden",getStep:(t,i)=>angular.extend({},e,{initPreviousStep:i.GuideUtils.defaultInitPreviousStep,onNextValidate:()=>Promise.resolve(!i.GuideUtils.isVisible(t.elementSelectorToWait)),show:()=>r(o,t.elementSelector,i),hide:()=>l(t.elementSelector,i)},t)},{guideBlockName:"hold-and-wait-until-shown",getStep:(t,i)=>angular.extend({},e,{initPreviousStep:i.GuideUtils.defaultInitPreviousStep,onNextValidate:()=>Promise.resolve(i.GuideUtils.isVisible(t.elementSelectorToWait))},t,{type:"readonly"})},{guideBlockName:"wait-for-element-to-hide",getStep:(t,i)=>angular.extend({},e,{initPreviousStep:i.GuideUtils.defaultInitPreviousStep,beforeShowPromise:e=>i.GuideUtils.waitUntilHidden(t.elementSelectorToHide,t.timeToWait||2).catch(()=>{i.ShepherdService._abortGuide(e)}),show:e=>()=>{setTimeout(()=>e.next())}},t)},{guideBlockName:"wait-for-element-to-show",getStep:(t,i)=>angular.extend({},e,{initPreviousStep:i.GuideUtils.defaultInitPreviousStep,beforeShowPromise:e=>i.GuideUtils.getOrWaitFor(t.elementSelectorToShow,t.timeToWait||2).catch(()=>{i.ShepherdService._abortGuide(e)}),show:e=>()=>{setTimeout(()=>e.next())}},t)},{guideBlockName:"guide-end",getStep:(t,i)=>{const o={type:"readonly",title:t.title||"guide.step_plugin.guide-ended.title",content:t.content||"guide.step_plugin.guide-ended.content",lastStep:!0};return angular.extend({},e,{initPreviousStep:i.GuideUtils.defaultInitPreviousStep},t,o)}}])}};
2
+ //# sourceMappingURL=67232.ed4a76f2ed6ca5622502.bundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"67232.ed4a76f2ed6ca5622502.bundle.js","mappings":"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","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/guides/steps/core/plugin.js"],"sourcesContent":["const BASIC_STEP = {\n title: '',\n content: '',\n elementSelector: undefined,\n placement: 'bottom',\n url: undefined,\n type: 'read-only-element',\n maxWaitTime: 3,\n canBePaused: true,\n onNextClick: undefined,\n disablePreviousFlow: true,\n onNextValidate: () => Promise.resolve(true),\n onPreviousClick: undefined,\n skipPoint: false,\n skipButtonLabel: 'skip.btn',\n class: '',\n};\n\n/**\n * This function will be called before show a step. Step will be shown after promise is resolve. It waits element of step to be visible on the page.\n * @param {*} services\n * @param {string} elementSelector\n * @param {number} maxWaitTime\n * @return {function(): *}\n */\nconst beforeShowPromise = (services, elementSelector, maxWaitTime) => {\n return () => {\n return services.GuideUtils.waitFor(elementSelector, maxWaitTime)\n .catch((error) => {\n // error is caught just to show notification in generic way.\n services.toastr.error(services.$translate.instant('guide.unexpected.error.message'));\n // throw the error, otherwise guide will continue with the next step.\n throw error;\n });\n };\n};\n\nconst createCopyToInputListener = (elementSelector, text) => {\n return (event) => {\n event.preventDefault();\n const inputElement = document.querySelector(elementSelector);\n inputElement.value = text;\n inputElement.dispatchEvent(new Event('input', {bubbles: true}));\n };\n};\n\n/**\n * List of common DOM events to consider for interaction control.\n * @type {string[]}\n */\nconst COMMON_DOM_EVENTS = [\n 'click',\n 'dblclick',\n 'keydown',\n 'keypress',\n 'keyup',\n 'input',\n 'submit',\n 'scroll',\n 'wheel'\n]\nconst SCROLL_EVENTS = ['scroll', 'wheel'];\n\n/**\n * Configures an element interactability, by consuming events and preventing them from propagating.\n * This allows to keep scrolling, while disallowing interaction with other elements\n * (such as clicking buttons).\n * @param {string[]} allowedEvents - List of event types to allow.\n * @param interactable - true to make the element interactable, false to make it non interactable\n * @param elementSelector - the elementSelector\n * @param services - The services object\n */\nconst _configureInteractions = (allowedEvents, interactable, elementSelector, services) => () => {\n if (!elementSelector) {\n return;\n }\n\n services.GuideUtils.getOrWaitFor(elementSelector)\n .then((element) => {\n const eventsToPrevent = COMMON_DOM_EVENTS.filter(event => !allowedEvents.includes(event));\n if (interactable) {\n eventsToPrevent.forEach((event) => element.removeEventListener(event, preventDefault, true));\n } else {\n eventsToPrevent.forEach((event) => element.addEventListener(event, preventDefault, true));\n }\n })\n}\n\n/**\n * Enables all interactions on the specified element.\n *\n * @param {string} elementSelector - A CSS selector identifying the target element.\n * @param {Object} services - An object containing utility services, including GuideUtils.\n */\nconst allowAll = (elementSelector, services) => _configureInteractions([], true, elementSelector, services);\n\n/**\n * Restricts the specified element to only process events listed in <code>allowedEvents</code>.\n *\n * @param {string[]} allowedEvents - An array of event types that should remain enabled.\n * @param {string} elementSelector - A CSS selector identifying the target element.\n * @param {Object} services - An object containing utility services, including GuideUtils.\n */\nconst allowEvents = (allowedEvents, elementSelector, services) => _configureInteractions(allowedEvents, false, elementSelector, services);\n\n/**\n * Prevents the default action of an event and stops its propagation.\n * @param {Event} event - The event to prevent.\n */\nconst preventDefault = (event) => {\n event.preventDefault();\n event.stopPropagation();\n}\n\nPluginRegistry.add('guide.step', [\n {\n // An element which is expected to be clicked. If onNextClick is not defined, it will automatically click on the element on next button press\n guideBlockName: 'clickable-element',\n getStep: (options, services) => {\n const notOverridable = {\n type: 'clickable'\n };\n\n const stepDescription = angular.extend({}, BASIC_STEP, {\n advanceOn: {\n selector: options.clickableElementSelector || options.elementSelector,\n event: 'click'\n },\n initPreviousStep: services.GuideUtils.defaultInitPreviousStep\n }, options, notOverridable);\n\n if (!stepDescription.beforeShowPromise) {\n stepDescription.beforeShowPromise = beforeShowPromise(services, stepDescription.elementSelector, stepDescription.maxWaitTime);\n }\n return stepDescription;\n }\n },\n {\n // An element, which can be toggled via click\n guideBlockName: 'toggle-element',\n getStep: (options, services) => {\n const notOverridable = {\n type: 'toggleable',\n };\n\n let stepHTMLElement;\n const selector = options.toggleableElementSelector || options.elementSelector;\n\n const toggleListener = (event) => {\n if (!event.target.checked) {\n event.preventDefault();\n event.stopPropagation();\n }\n };\n const stepDescription = {\n ...BASIC_STEP,\n advanceOn: {\n selector,\n event: 'click',\n },\n\n initPreviousStep: services.GuideUtils.defaultInitPreviousStep,\n ...options,\n show: () => () => {\n stepHTMLElement = document.querySelector(selector);\n stepHTMLElement.addEventListener('click', toggleListener, true);\n },\n hide: () => () => {\n if (stepHTMLElement) {\n stepHTMLElement.removeEventListener('click', toggleListener);\n }\n },\n ...notOverridable,\n };\n\n if (!stepDescription.beforeShowPromise) {\n stepDescription.beforeShowPromise = beforeShowPromise(services, stepDescription.elementSelector, stepDescription.maxWaitTime);\n }\n return stepDescription;\n },\n },\n {\n // An element which is expected to be focused. It allows user interaction.\n guideBlockName: 'focus-element',\n getStep: (options, services) => {\n const stepDescription = angular.extend({}, BASIC_STEP, {\n initPreviousStep: services.GuideUtils.defaultInitPreviousStep\n }, options);\n\n if (!stepDescription.beforeShowPromise) {\n stepDescription.beforeShowPromise = beforeShowPromise(services, stepDescription.elementSelector, stepDescription.maxWaitTime);\n }\n return stepDescription;\n }\n },\n {\n // An element which is expected to be focused, but interactions are disabled.\n guideBlockName: 'read-only-element',\n getStep: (options, services) => {\n const notOverridable = {\n type: 'readonly'\n };\n const stepDescription = angular.extend({}, BASIC_STEP, {\n initPreviousStep: services.GuideUtils.defaultInitPreviousStep\n },\n options, notOverridable);\n if (!stepDescription.beforeShowPromise) {\n stepDescription.beforeShowPromise = beforeShowPromise(services, stepDescription.elementSelector, stepDescription.maxWaitTime);\n }\n return stepDescription;\n }\n },\n {\n guideBlockName: 'scroll-only-element',\n getStep: (options, services) => {\n const stepDescription = {\n ...BASIC_STEP,\n initPreviousStep: services.GuideUtils.defaultInitPreviousStep,\n show: () => allowEvents(SCROLL_EVENTS, options.elementSelector, services),\n hide: () => allowAll(options.elementSelector, services),\n ...options\n };\n if (!stepDescription.beforeShowPromise) {\n stepDescription.beforeShowPromise = beforeShowPromise(services, stepDescription.elementSelector, stepDescription.maxWaitTime);\n }\n return stepDescription;\n }\n },\n {\n guideBlockName: 'input-element',\n getStep: (options, services) => {\n const notOverridable = {\n type: 'input'\n };\n const stepDescription = angular.extend({}, BASIC_STEP, {\n initPreviousStep: services.GuideUtils.defaultInitPreviousStep\n }, options, notOverridable);\n if (!stepDescription.beforeShowPromise) {\n stepDescription.beforeShowPromise = beforeShowPromise(services, stepDescription.elementSelector, stepDescription.maxWaitTime);\n }\n return stepDescription;\n }\n },\n {\n guideBlockName: 'copy-text-element',\n getSteps: (options, services) => {\n const $translate = services.$translate;\n const GuideUtils = services.GuideUtils;\n\n const text = options.text;\n const code = document.createElement('code');\n code.innerText = text;\n\n const copy = document.createElement('button');\n const copyToInputQueryButtonClass = 'guide-copy-to-input-query-button';\n copy.className = `btn btn-sm btn-secondary ${copyToInputQueryButtonClass}`;\n copy.innerText = $translate.instant('guide.step_plugin.core-steps.copy-text-element.copy-to-input');\n\n\n let stepHTMLElement;\n const copyToInputListener = createCopyToInputListener(GuideUtils.getElementSelector(options.elementSelector), text);\n\n return [\n {\n guideBlockName: 'input-element',\n options: {\n ...options,\n content: 'guide.step_plugin.core-steps.copy-text-element.content',\n textAsHtmlCodeElement: '<div class=\"shepherd-code\">' + code.outerHTML + copy.outerHTML + '</div>',\n show: (_guide) => () => {\n stepHTMLElement = _guide.currentStep.el.querySelector(`.${copyToInputQueryButtonClass}`);\n stepHTMLElement.addEventListener('click', copyToInputListener);\n },\n hide: () => () => {\n if (stepHTMLElement) {\n stepHTMLElement.removeEventListener('click', copyToInputListener);\n }\n },\n }\n }\n ]\n }\n },\n {\n guideBlockName: 'info-message',\n getStep: (options, services) => {\n const notOverridable = {\n type: 'readonly'\n };\n return angular.extend({}, BASIC_STEP, {\n initPreviousStep: services.GuideUtils.defaultInitPreviousStep\n }, options, notOverridable);\n }\n },\n {\n guideBlockName: 'hold-and-wait-until-hidden',\n getStep: (options, services) => {\n return angular.extend({}, BASIC_STEP, {\n initPreviousStep: services.GuideUtils.defaultInitPreviousStep,\n onNextValidate: () => Promise.resolve(!services.GuideUtils.isVisible(options.elementSelectorToWait)),\n show: () => allowEvents(SCROLL_EVENTS, options.elementSelector, services),\n hide: () => allowAll(options.elementSelector, services)\n }, options);\n }\n },\n {\n guideBlockName: 'hold-and-wait-until-shown',\n getStep: (options, services) => {\n const notOverridable = {\n type: 'readonly'\n };\n return angular.extend({}, BASIC_STEP, {\n initPreviousStep: services.GuideUtils.defaultInitPreviousStep,\n onNextValidate: () => Promise.resolve(services.GuideUtils.isVisible(options.elementSelectorToWait))\n }, options, notOverridable);\n }\n },\n {\n guideBlockName: 'wait-for-element-to-hide',\n getStep: (options, services) => {\n return angular.extend({}, BASIC_STEP, {\n initPreviousStep: services.GuideUtils.defaultInitPreviousStep,\n beforeShowPromise: (guide) => services.GuideUtils.waitUntilHidden(options.elementSelectorToHide, options.timeToWait || 2)\n .catch(() => {\n services.ShepherdService._abortGuide(guide)\n }),\n show: (guide) => () => {\n // Using a timeout because the library executes async logic\n setTimeout(() => guide.next())\n }\n }, options);\n }\n },\n {\n guideBlockName: 'wait-for-element-to-show',\n getStep: (options, services) => {\n return angular.extend({}, BASIC_STEP, {\n initPreviousStep: services.GuideUtils.defaultInitPreviousStep,\n beforeShowPromise: (guide) => services.GuideUtils.getOrWaitFor(options.elementSelectorToShow, options.timeToWait || 2)\n .catch(() => {\n services.ShepherdService._abortGuide(guide)\n }),\n show: (guide) => () => {\n // Using a timeout because the library executes async logic\n setTimeout(() => guide.next())\n }\n }, options);\n }\n },\n {\n guideBlockName: 'guide-end',\n getStep: (options, services) => {\n const notOverridable = {\n type: 'readonly',\n title: options.title || 'guide.step_plugin.guide-ended.title',\n content: options.content || 'guide.step_plugin.guide-ended.content',\n lastStep: true\n };\n return angular.extend({}, BASIC_STEP, {\n initPreviousStep: services.GuideUtils.defaultInitPreviousStep\n }, options, notOverridable);\n }\n }\n]);\n"],"names":["BASIC_STEP","title","content","elementSelector","undefined","placement","url","type","maxWaitTime","canBePaused","onNextClick","disablePreviousFlow","onNextValidate","Promise","resolve","onPreviousClick","skipPoint","skipButtonLabel","class","beforeShowPromise","services","GuideUtils","waitFor","catch","error","toastr","$translate","instant","COMMON_DOM_EVENTS","SCROLL_EVENTS","_configureInteractions","allowedEvents","interactable","getOrWaitFor","then","element","eventsToPrevent","filter","event","includes","forEach","removeEventListener","preventDefault","addEventListener","allowAll","allowEvents","stopPropagation","PluginRegistry","add","guideBlockName","getStep","options","stepDescription","angular","extend","advanceOn","selector","clickableElementSelector","initPreviousStep","defaultInitPreviousStep","stepHTMLElement","toggleableElementSelector","toggleListener","target","checked","show","document","querySelector","hide","getSteps","text","code","createElement","innerText","copy","copyToInputQueryButtonClass","className","copyToInputListener","createCopyToInputListener","inputElement","value","dispatchEvent","Event","bubbles","getElementSelector","textAsHtmlCodeElement","outerHTML","_guide","currentStep","el","isVisible","elementSelectorToWait","guide","waitUntilHidden","elementSelectorToHide","timeToWait","ShepherdService","_abortGuide","setTimeout","next","elementSelectorToShow","notOverridable","lastStep"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- export const __webpack_id__=67888;export const __webpack_ids__=[9717,67888,73702,82926,96248];export const __webpack_modules__={9717:()=>{function e(e,r){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-status-info.html",scope:{resource:"="},link:o=>{const t=[];o.popoverTemplate="resourceStatusInfoTemplate.html",o.popoverIsOpen=!1,o.context=o.resource.importResource.context,o.replaceGraphs=o.resource.importResource.replaceGraphs,o.baseUrl=decodeURIComponent(o.resource.importResource.baseURI),o.forceSerial=o.resource.importResource.forceSerial,o.importedOn=o.resource.importResource.importedOn,o.parserSettings=o.resource.importResource.parserSettings,o.open=()=>{o.closeAllDialogs(),o.popoverIsOpen=!0},o.closeAllDialogs=()=>{e.$broadcast("closePopovers")},o.close=()=>{o.popoverIsOpen=!1};const s=e=>{"Escape"===e.key&&o.$apply(()=>{o.close()})};t.push(o.$on("closePopovers",o.close)),r.on("keydown",s),o.$on("$destroy",()=>{r.off("keydown",s),t.forEach(e=>e())})}}}angular.module("graphdb.framework.import.directives.import-resource-status-info",[]).directive("importResourceStatusInfo",e),e.$inject=["$rootScope","$document"]},54419:(e,r,o)=>{o.r(r),o(96248);var t=o(28847),s=o(78618);function c(e){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-message.html",scope:{resource:"="},link:r=>{r.ImportResourceStatus=t.ImportResourceStatus,r.toTitleCase=e=>s.toTitleCase(e),r.showMessage=r=>{e.open({templateUrl:"js/angular/import/templates/import-resource-message-dialog.html",controller:"ImportResourceMessageDialogController",size:"lg",windowClass:"import-resource-message-dialog",backdrop:"static",resolve:{message:function(){return r?r.importResource.message:""}}})}}}}angular.module("graphdb.framework.import.directives.import-resource-message",["graphdb.framework.impex.import.controllers.import-resource-message-dialog"]).directive("importResourceMessage",c),c.$inject=["$uibModal"]},67888:(e,r,o)=>{o.r(r),o(82493),o(5687),o(39324),o(73702),o(82926),o(83136),o(76933),o(47195),o(56669),angular.module("graphdb.framework.impex.import",["toastr","ngRoute","ngFileUpload","ui.bootstrap","graphdb.framework.impex.import.controllers","graphdb.framework.core.services.repositories","graphdb.framework.import.directives.validate-uri","graphdb.framework.import.directives.import-progress-indicator","graphdb.framework.import.directives.import-resource-tree"])},73702:()=>{function e(e){return{restrict:"A",require:"ngModel",link:function(r,o,t,s){s.$parsers.unshift(function(r){if(s.$setValidity("validateUri",!0),!s.$isEmpty(r)){const o=e.isValidIri(r,r.toString());s.$setValidity("validateUri",o)}return r})}}}angular.module("graphdb.framework.import.directives.validate-uri",[]).directive("validateUri",e),e.$inject=["UriUtils"]},82926:()=>{function e(){return{link:function(e,r,o){e.$watch("file.status",function(){"IMPORTING"!==e.file.status&&"UPLOADING"!==e.file.status||!$(r).has("object").length>0&&$(r).append('<object width="'+o.size+'" height="'+o.size+'" data="js/angular/templates/loader/ot-loader.svg?v=3.1.1-TR3">{{\'common.loading\' | translate}}</object>')})}}}angular.module("graphdb.framework.import.directives.import-progress-indicator",[]).directive("ImportProgressIndicator",e),e.$inject=[]},83136:(e,r,o)=>{o.r(r);var t=o(28847),s=(o(54419),o(9717),o(18025)),c=o(57436),i=o(7796),a=o(56636),l=o(25079);const p={FILE:"FILE",DIRECTORY:"DIRECTORY",ALL:"ALL"},u={ALL:"ALL",NONE:"NONE",IMPORTED:"IMPORTED",NOT_IMPORTED:"NOT_IMPORTED"};function n(e,r){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-tree.html",scope:{columnKeys:"=",showTypeFilter:"=",sortBy:"=",asc:"=",onImport:"&",onImportAll:"&",onReset:"&",onRemove:"&",onStopImport:"&",onEditResource:"&"},link:(o,n,m)=>{o.resources=new c.ImportResourceTreeElement,o.displayResources=[],o.TYPE_FILTER_OPTIONS=p,o.filterByType=p.ALL,o.filterByFileName="",o.STATUS_OPTIONS=u,o.selectedByStatus=void 0,o.areAllDisplayedImportResourcesSelected=!1,o.areAllDisplayedImportResourcesPartialSelected=!1,o.ImportResourceStatus=t.ImportResourceStatus,o.canRemoveResource=angular.isDefined(m.onRemove),o.canResetSelectedResources=!1,o.SORTING_TYPES=s.SortingType,o.sortAsc=!angular.isDefined(m.asc)||o.asc,o.sortedBy=o.sortBy,o.showLoader=r.getShowLoader(),o.hasSelection=!1,o.selectionChanged=e=>{e.setSelection(e.selected),I(),d(),g()},o.selectResourceWithStatus=e=>{o.selectedByStatus=e,o.resources.setSelection(!1),u.ALL===o.selectedByStatus?o.resources.setSelection(!0):u.IMPORTED===o.selectedByStatus?o.resources.selectAllWithStatus([t.ImportResourceStatus.DONE]):u.NOT_IMPORTED===o.selectedByStatus&&o.resources.selectAllWithStatus([t.ImportResourceStatus.IMPORTING,t.ImportResourceStatus.NONE,t.ImportResourceStatus.ERROR,t.ImportResourceStatus.PENDING,t.ImportResourceStatus.INTERRUPTING]),R(),d()},o.filterByTypeChanged=e=>{o.filterByType=e,R()},o.filterByFileNameChanged=e=>{o.filterByFileName=e,N(R,100)},o.onResetStatus=()=>{const e=o.resources.getAllSelected().map(e=>e.path);e.length>0&&o.onReset({resources:e})},o.resetStatus=e=>{o.onReset({resources:[e.path]})},o.onRemoveResources=()=>{const e=o.resources.getAllSelected();e&&e.length>0&&o.onRemove({resources:e})},o.removeResource=e=>{o.onRemove({resources:[e]})},o.importAll=e=>{const r=o.resources.getAllSelectedForImport();r.length>0&&o.onImportAll({selectedResources:r,withoutChangingSettings:e})},o.stopImport=e=>{o.onStopImport({resource:e})},o.sort=e=>{o.sortedBy===e?o.sortAsc=!o.sortAsc:o.sortAsc=!0,o.sortedBy=e,R()},o.editResource=e=>{o.onEditResource({resource:e})};const d=()=>{o.canResetSelectedResources=o.resources.getSelectedImportedResources()},R=()=>{o.resources.getRoot().updateSelectionState(),S(),o.displayResources=o.resources.toList().filter(E).filter(A),g(),I()},g=()=>{const e=o.resources.getAllSelectedFilesNames();o.hasSelection=e.length>0,r.updateSelectedFilesNames(e)},I=()=>{const e=o.displayResources.some(e=>!e.selected),r=o.displayResources.some(e=>e.selected);o.areAllDisplayedImportResourcesSelected=r&&!e,o.areAllDisplayedImportResourcesPartialSelected=r&&e},S=()=>{s.SortingType.NAME===o.sortedBy?o.resources.sort(y(o.sortAsc)):s.SortingType.SIZE===o.sortedBy?o.resources.sort(T(o.sortAsc)):s.SortingType.MODIFIED===o.sortedBy?o.resources.sort(f(o.sortAsc)):s.SortingType.IMPORTED===o.sortedBy?o.resources.sort(h(o.sortAsc)):s.SortingType.CONTEXT===o.sortedBy&&o.resources.sort(v(o.sortAsc))},y=e=>(r,o)=>e?r.importResource.name.localeCompare(o.importResource.name):o.importResource.name.localeCompare(r.importResource.name),T=e=>(r,o)=>{const t=(0,l.convertToBytes)(r.importResource.size),s=(0,l.convertToBytes)(o.importResource.size);return e?t-s:s-t},f=e=>(r,o)=>{const t=r.importResource.modifiedOn||Number.MAX_VALUE,s=o.importResource.modifiedOn||Number.MAX_VALUE;return e?t-s:s-t},h=e=>(r,o)=>{const t=r.importResource.importedOn||Number.MAX_VALUE,s=o.importResource.importedOn||Number.MAX_VALUE;return e?t-s:s-t},v=e=>(r,o)=>e?r.importResource.context.localeCompare(o.importResource.context):o.importResource.context.localeCompare(r.importResource.context),E=e=>p.ALL===o.filterByType||(o.filterByType===p.FILE?e.isFile():o.filterByType===p.DIRECTORY&&e.isDirectory()),A=e=>!o.filterByFileName||(o.filterByType===p.DIRECTORY?e.hasTextInDirectoriesName(o.filterByFileName):o.filterByType===p.FILE?e.hasTextInFilesName(o.filterByFileName):e.hasTextInResourcesName(o.filterByFileName));let O;const N=(r,o)=>{O&&e.cancel(O),O=e(r,o)},b=[];b.push(r.onResourcesUpdated((e=[])=>{const t=i.TABS.USER===r.getActiveTabId();o.resources.isEmpty()?(o.resources=a.ImportResourceTreeService.toImportResourceTree(e,t),t&&(o.sortedBy=s.SortingType.MODIFIED)):a.ImportResourceTreeService.mergeResourceTree(o.resources,e,t),a.ImportResourceTreeService.calculateElementIndent(o.resources),a.ImportResourceTreeService.setupAfterTreeInitProperties(o.resources),R(),d()})),b.push(r.onShowLoaderUpdated(e=>o.showLoader=e)),b.push(r.onActiveTabIdUpdated(()=>o.resources=new c.ImportResourceTreeElement)),o.$on("$destroy",()=>{b.forEach(e=>e())})}}}angular.module("graphdb.framework.import.directives.import-resource-tree",["graphdb.framework.import.directives.import-resource-message","graphdb.framework.import.directives.import-resource-status-info"]).directive("importResourceTree",n),n.$inject=["$timeout","ImportContextService"]},96248:()=>{function e(e,r,o,t,s){e.message=s,e.close=()=>{r.dismiss()},e.copyToClipboard=()=>{navigator.clipboard.writeText(e.message).then(()=>{t.success(o.instant("import.help.messages.copied_to_clipboard")),e.close()},e=>{console.error("Could not copy text: ",e)})}}angular.module("graphdb.framework.impex.import.controllers.import-resource-message-dialog",[]).controller("ImportResourceMessageDialogController",e),e.$inject=["$scope","$uibModalInstance","$translate","toastr","message"]}};
2
- //# sourceMappingURL=67888.0e199b9af05ec62b2aac.bundle.js.map
1
+ export const __webpack_id__=67888;export const __webpack_ids__=[9717,67888,73702,82926,96248];export const __webpack_modules__={9717:()=>{function e(e,r){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-status-info.html",scope:{resource:"="},link:o=>{const t=[];o.popoverTemplate="resourceStatusInfoTemplate.html",o.popoverIsOpen=!1,o.context=o.resource.importResource.context,o.replaceGraphs=o.resource.importResource.replaceGraphs,o.baseUrl=decodeURIComponent(o.resource.importResource.baseURI),o.forceSerial=o.resource.importResource.forceSerial,o.importedOn=o.resource.importResource.importedOn,o.parserSettings=o.resource.importResource.parserSettings,o.open=()=>{o.closeAllDialogs(),o.popoverIsOpen=!0},o.closeAllDialogs=()=>{e.$broadcast("closePopovers")},o.close=()=>{o.popoverIsOpen=!1};const s=e=>{"Escape"===e.key&&o.$apply(()=>{o.close()})};t.push(o.$on("closePopovers",o.close)),r.on("keydown",s),o.$on("$destroy",()=>{r.off("keydown",s),t.forEach(e=>e())})}}}angular.module("graphdb.framework.import.directives.import-resource-status-info",[]).directive("importResourceStatusInfo",e),e.$inject=["$rootScope","$document"]},54419:(e,r,o)=>{o.r(r),o(96248);var t=o(28847),s=o(78618);function c(e){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-message.html",scope:{resource:"="},link:r=>{r.ImportResourceStatus=t.ImportResourceStatus,r.toTitleCase=e=>s.toTitleCase(e),r.showMessage=r=>{e.open({templateUrl:"js/angular/import/templates/import-resource-message-dialog.html",controller:"ImportResourceMessageDialogController",size:"lg",windowClass:"import-resource-message-dialog",backdrop:"static",resolve:{message:function(){return r?r.importResource.message:""}}})}}}}angular.module("graphdb.framework.import.directives.import-resource-message",["graphdb.framework.impex.import.controllers.import-resource-message-dialog"]).directive("importResourceMessage",c),c.$inject=["$uibModal"]},67888:(e,r,o)=>{o.r(r),o(82493),o(5687),o(39324),o(73702),o(82926),o(83136),o(76933),o(47195),o(56669),angular.module("graphdb.framework.impex.import",["toastr","ngRoute","ngFileUpload","ui.bootstrap","graphdb.framework.impex.import.controllers","graphdb.framework.core.services.repositories","graphdb.framework.import.directives.validate-uri","graphdb.framework.import.directives.import-progress-indicator","graphdb.framework.import.directives.import-resource-tree"])},73702:()=>{function e(e){return{restrict:"A",require:"ngModel",link:function(r,o,t,s){s.$parsers.unshift(function(r){if(s.$setValidity("validateUri",!0),!s.$isEmpty(r)){const o=e.isValidIri(r,r.toString());s.$setValidity("validateUri",o)}return r})}}}angular.module("graphdb.framework.import.directives.validate-uri",[]).directive("validateUri",e),e.$inject=["UriUtils"]},82926:()=>{function e(){return{link:function(e,r,o){e.$watch("file.status",function(){"IMPORTING"!==e.file.status&&"UPLOADING"!==e.file.status||!$(r).has("object").length>0&&$(r).append('<object width="'+o.size+'" height="'+o.size+'" data="js/angular/templates/loader/ot-loader.svg?v=3.1.2-RC1">{{\'common.loading\' | translate}}</object>')})}}}angular.module("graphdb.framework.import.directives.import-progress-indicator",[]).directive("ImportProgressIndicator",e),e.$inject=[]},83136:(e,r,o)=>{o.r(r);var t=o(28847),s=(o(54419),o(9717),o(18025)),c=o(57436),i=o(7796),a=o(56636),l=o(25079);const p={FILE:"FILE",DIRECTORY:"DIRECTORY",ALL:"ALL"},u={ALL:"ALL",NONE:"NONE",IMPORTED:"IMPORTED",NOT_IMPORTED:"NOT_IMPORTED"};function n(e,r){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-tree.html",scope:{columnKeys:"=",showTypeFilter:"=",sortBy:"=",asc:"=",onImport:"&",onImportAll:"&",onReset:"&",onRemove:"&",onStopImport:"&",onEditResource:"&"},link:(o,n,m)=>{o.resources=new c.ImportResourceTreeElement,o.displayResources=[],o.TYPE_FILTER_OPTIONS=p,o.filterByType=p.ALL,o.filterByFileName="",o.STATUS_OPTIONS=u,o.selectedByStatus=void 0,o.areAllDisplayedImportResourcesSelected=!1,o.areAllDisplayedImportResourcesPartialSelected=!1,o.ImportResourceStatus=t.ImportResourceStatus,o.canRemoveResource=angular.isDefined(m.onRemove),o.canResetSelectedResources=!1,o.SORTING_TYPES=s.SortingType,o.sortAsc=!angular.isDefined(m.asc)||o.asc,o.sortedBy=o.sortBy,o.showLoader=r.getShowLoader(),o.hasSelection=!1,o.selectionChanged=e=>{e.setSelection(e.selected),I(),d(),g()},o.selectResourceWithStatus=e=>{o.selectedByStatus=e,o.resources.setSelection(!1),u.ALL===o.selectedByStatus?o.resources.setSelection(!0):u.IMPORTED===o.selectedByStatus?o.resources.selectAllWithStatus([t.ImportResourceStatus.DONE]):u.NOT_IMPORTED===o.selectedByStatus&&o.resources.selectAllWithStatus([t.ImportResourceStatus.IMPORTING,t.ImportResourceStatus.NONE,t.ImportResourceStatus.ERROR,t.ImportResourceStatus.PENDING,t.ImportResourceStatus.INTERRUPTING]),R(),d()},o.filterByTypeChanged=e=>{o.filterByType=e,R()},o.filterByFileNameChanged=e=>{o.filterByFileName=e,N(R,100)},o.onResetStatus=()=>{const e=o.resources.getAllSelected().map(e=>e.path);e.length>0&&o.onReset({resources:e})},o.resetStatus=e=>{o.onReset({resources:[e.path]})},o.onRemoveResources=()=>{const e=o.resources.getAllSelected();e&&e.length>0&&o.onRemove({resources:e})},o.removeResource=e=>{o.onRemove({resources:[e]})},o.importAll=e=>{const r=o.resources.getAllSelectedForImport();r.length>0&&o.onImportAll({selectedResources:r,withoutChangingSettings:e})},o.stopImport=e=>{o.onStopImport({resource:e})},o.sort=e=>{o.sortedBy===e?o.sortAsc=!o.sortAsc:o.sortAsc=!0,o.sortedBy=e,R()},o.editResource=e=>{o.onEditResource({resource:e})};const d=()=>{o.canResetSelectedResources=o.resources.getSelectedImportedResources()},R=()=>{o.resources.getRoot().updateSelectionState(),S(),o.displayResources=o.resources.toList().filter(E).filter(A),g(),I()},g=()=>{const e=o.resources.getAllSelectedFilesNames();o.hasSelection=e.length>0,r.updateSelectedFilesNames(e)},I=()=>{const e=o.displayResources.some(e=>!e.selected),r=o.displayResources.some(e=>e.selected);o.areAllDisplayedImportResourcesSelected=r&&!e,o.areAllDisplayedImportResourcesPartialSelected=r&&e},S=()=>{s.SortingType.NAME===o.sortedBy?o.resources.sort(y(o.sortAsc)):s.SortingType.SIZE===o.sortedBy?o.resources.sort(T(o.sortAsc)):s.SortingType.MODIFIED===o.sortedBy?o.resources.sort(f(o.sortAsc)):s.SortingType.IMPORTED===o.sortedBy?o.resources.sort(h(o.sortAsc)):s.SortingType.CONTEXT===o.sortedBy&&o.resources.sort(v(o.sortAsc))},y=e=>(r,o)=>e?r.importResource.name.localeCompare(o.importResource.name):o.importResource.name.localeCompare(r.importResource.name),T=e=>(r,o)=>{const t=(0,l.convertToBytes)(r.importResource.size),s=(0,l.convertToBytes)(o.importResource.size);return e?t-s:s-t},f=e=>(r,o)=>{const t=r.importResource.modifiedOn||Number.MAX_VALUE,s=o.importResource.modifiedOn||Number.MAX_VALUE;return e?t-s:s-t},h=e=>(r,o)=>{const t=r.importResource.importedOn||Number.MAX_VALUE,s=o.importResource.importedOn||Number.MAX_VALUE;return e?t-s:s-t},v=e=>(r,o)=>e?r.importResource.context.localeCompare(o.importResource.context):o.importResource.context.localeCompare(r.importResource.context),E=e=>p.ALL===o.filterByType||(o.filterByType===p.FILE?e.isFile():o.filterByType===p.DIRECTORY&&e.isDirectory()),A=e=>!o.filterByFileName||(o.filterByType===p.DIRECTORY?e.hasTextInDirectoriesName(o.filterByFileName):o.filterByType===p.FILE?e.hasTextInFilesName(o.filterByFileName):e.hasTextInResourcesName(o.filterByFileName));let O;const N=(r,o)=>{O&&e.cancel(O),O=e(r,o)},b=[];b.push(r.onResourcesUpdated((e=[])=>{const t=i.TABS.USER===r.getActiveTabId();o.resources.isEmpty()?(o.resources=a.ImportResourceTreeService.toImportResourceTree(e,t),t&&(o.sortedBy=s.SortingType.MODIFIED)):a.ImportResourceTreeService.mergeResourceTree(o.resources,e,t),a.ImportResourceTreeService.calculateElementIndent(o.resources),a.ImportResourceTreeService.setupAfterTreeInitProperties(o.resources),R(),d()})),b.push(r.onShowLoaderUpdated(e=>o.showLoader=e)),b.push(r.onActiveTabIdUpdated(()=>o.resources=new c.ImportResourceTreeElement)),o.$on("$destroy",()=>{b.forEach(e=>e())})}}}angular.module("graphdb.framework.import.directives.import-resource-tree",["graphdb.framework.import.directives.import-resource-message","graphdb.framework.import.directives.import-resource-status-info"]).directive("importResourceTree",n),n.$inject=["$timeout","ImportContextService"]},96248:()=>{function e(e,r,o,t,s){e.message=s,e.close=()=>{r.dismiss()},e.copyToClipboard=()=>{navigator.clipboard.writeText(e.message).then(()=>{t.success(o.instant("import.help.messages.copied_to_clipboard")),e.close()},e=>{console.error("Could not copy text: ",e)})}}angular.module("graphdb.framework.impex.import.controllers.import-resource-message-dialog",[]).controller("ImportResourceMessageDialogController",e),e.$inject=["$scope","$uibModalInstance","$translate","toastr","message"]}};
2
+ //# sourceMappingURL=67888.351f27e70f183b0ed866.bundle.js.map