@api-client/ui 0.2.0 → 0.2.3

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 (1525) hide show
  1. package/.github/workflows/deployment.yml +0 -2
  2. package/build/src/decorators/reactive.d.ts.map +1 -1
  3. package/build/src/decorators/reactive.js +17 -8
  4. package/build/src/decorators/reactive.js.map +1 -1
  5. package/build/src/index.d.ts +0 -17
  6. package/build/src/index.d.ts.map +1 -1
  7. package/build/src/index.js +0 -18
  8. package/build/src/index.js.map +1 -1
  9. package/build/src/md/dialog/internals/Dialog.d.ts.map +1 -1
  10. package/build/src/md/dialog/internals/Dialog.js +6 -5
  11. package/build/src/md/dialog/internals/Dialog.js.map +1 -1
  12. package/build/src/md/dialog/internals/Dialog.styles.d.ts.map +1 -1
  13. package/build/src/md/dialog/internals/Dialog.styles.js +14 -10
  14. package/build/src/md/dialog/internals/Dialog.styles.js.map +1 -1
  15. package/demo/elements/authorization/api-key.html +1 -1
  16. package/demo/elements/authorization/basic.html +1 -1
  17. package/demo/elements/authorization/bearer.html +1 -1
  18. package/demo/elements/authorization/index.html +0 -3
  19. package/demo/elements/authorization/ntlm.html +1 -1
  20. package/demo/elements/authorization/oauth-authorize.html +1 -1
  21. package/demo/elements/authorization/oauth-error.html +1 -1
  22. package/demo/elements/authorization/oauth2.html +1 -1
  23. package/demo/elements/authorization/oidc.html +1 -1
  24. package/demo/elements/context-menu/basic.html +1 -1
  25. package/demo/elements/context-menu/custom-data.html +1 -1
  26. package/demo/elements/context-menu/enabled-state.html +1 -1
  27. package/demo/elements/context-menu/icons.html +1 -1
  28. package/demo/elements/context-menu/nested.html +1 -1
  29. package/demo/elements/context-menu/no-execute.html +1 -1
  30. package/demo/elements/context-menu/radio-menu.html +1 -1
  31. package/demo/elements/context-menu/separators.html +1 -1
  32. package/demo/elements/environment/environment-editor.html +1 -1
  33. package/demo/elements/environment/server-editor.html +1 -1
  34. package/demo/elements/environment/variables-editor.html +1 -1
  35. package/demo/elements/har/har-viewer.html +1 -1
  36. package/demo/elements/highlight/index.html +0 -4
  37. package/demo/elements/highlight/marked-highlight.html +1 -1
  38. package/demo/elements/highlight/prism-highlight.html +1 -1
  39. package/demo/elements/http/body-editor.html +1 -1
  40. package/demo/elements/http/headers.html +1 -1
  41. package/demo/elements/http/http-assertions.html +1 -1
  42. package/demo/elements/http/http-flows.html +1 -1
  43. package/demo/elements/http/request-editor.html +1 -1
  44. package/demo/elements/http/request-log.html +1 -1
  45. package/demo/elements/http/url-editing.html +1 -1
  46. package/demo/elements/icons/index.html +1 -1
  47. package/demo/elements/index.html +0 -3
  48. package/demo/elements/project/index.html +7 -0
  49. package/demo/elements/project/project-run-report.html +1 -1
  50. package/demo/elements/project/request-editor.html +1 -1
  51. package/demo/elements/user/user-avatar.html +1 -1
  52. package/demo/elements/user/user-avatar.ts +1 -1
  53. package/demo/index.html +3 -3
  54. package/demo/layout/index.html +1 -1
  55. package/demo/{elements/md → md}/UiDemoPage.ts +1 -1
  56. package/demo/{elements/md → md}/buttons/button.html +3 -3
  57. package/demo/{elements/md → md}/buttons/button.ts +10 -10
  58. package/demo/{elements/md → md}/buttons/icon-button.html +3 -3
  59. package/demo/{elements/md → md}/buttons/icon-button.ts +4 -4
  60. package/demo/{elements/md → md}/buttons/segmented-buttons.html +3 -3
  61. package/demo/{elements/md → md}/buttons/segmented-buttons.ts +4 -4
  62. package/demo/{elements/md → md}/chip/chip.html +3 -3
  63. package/demo/{elements/md → md}/chip/chip.ts +5 -5
  64. package/demo/{elements/md → md}/collapse/CustomDetail.ts +2 -2
  65. package/demo/{elements/md → md}/collapse/collapse.html +3 -3
  66. package/demo/{elements/md → md}/collapse/collapse.ts +1 -1
  67. package/demo/{elements/md → md}/dialog/dialog.html +7 -3
  68. package/demo/{elements/md → md}/dialog/dialog.ts +19 -12
  69. package/demo/{elements/md → md}/index.html +3 -3
  70. package/demo/{elements/md → md}/inputs/checkbox.html +3 -3
  71. package/demo/{elements/md → md}/inputs/checkbox.ts +4 -4
  72. package/demo/{elements/md → md}/inputs/input.html +3 -3
  73. package/demo/{elements/md → md}/inputs/input.ts +7 -7
  74. package/demo/{elements/md → md}/inputs/radio.html +3 -3
  75. package/demo/{elements/md → md}/inputs/radio.ts +4 -4
  76. package/demo/{elements/md → md}/inputs/switch.html +3 -3
  77. package/demo/{elements/md → md}/inputs/switch.ts +5 -5
  78. package/demo/{elements/md → md}/list/dropdown-list.html +3 -3
  79. package/demo/{elements/md → md}/list/dropdown-list.ts +9 -9
  80. package/demo/{elements/md → md}/list/list.html +3 -3
  81. package/demo/{elements/md → md}/list/list.ts +5 -5
  82. package/demo/{elements/md → md}/notification/snack.html +3 -3
  83. package/demo/{elements/md → md}/notification/snack.ts +2 -2
  84. package/demo/{elements/md → md}/progress/progress.html +3 -3
  85. package/demo/{elements/md → md}/progress/progress.ts +2 -2
  86. package/demo/{elements/md → md}/tabs/tabs.html +3 -3
  87. package/demo/{elements/md → md}/tabs/tabs.ts +7 -7
  88. package/demo/tsconfig.json +0 -3
  89. package/eslint.config.js +0 -3
  90. package/package.json +48 -70
  91. package/src/decorators/reactive.ts +18 -8
  92. package/src/index.ts +0 -19
  93. package/src/md/dialog/internals/Dialog.styles.ts +14 -10
  94. package/src/md/dialog/internals/Dialog.ts +6 -5
  95. package/test/core/activity.spec.ts +3 -3
  96. package/test/env.ts +15 -0
  97. package/test/tsconfig.json +1 -7
  98. package/tsconfig.all.json +7 -0
  99. package/tsconfig.json +1 -0
  100. package/web-dev-server.config.js +21 -0
  101. package/web-test-runner.config.js +13 -29
  102. package/bin/dev.ts +0 -7
  103. package/bin/test.ts +0 -6
  104. package/build/src/amf/lib/AmfInputParser.d.ts +0 -69
  105. package/build/src/amf/lib/AmfInputParser.d.ts.map +0 -1
  106. package/build/src/amf/lib/AmfInputParser.js +0 -189
  107. package/build/src/amf/lib/AmfInputParser.js.map +0 -1
  108. package/build/src/amf/lib/AmfParameters.d.ts +0 -166
  109. package/build/src/amf/lib/AmfParameters.d.ts.map +0 -1
  110. package/build/src/amf/lib/AmfParameters.js +0 -720
  111. package/build/src/amf/lib/AmfParameters.js.map +0 -1
  112. package/build/src/amf/lib/AmfSecurity.d.ts +0 -7
  113. package/build/src/amf/lib/AmfSecurity.d.ts.map +0 -1
  114. package/build/src/amf/lib/AmfSecurity.js +0 -41
  115. package/build/src/amf/lib/AmfSecurity.js.map +0 -1
  116. package/build/src/amf/lib/InputCache.d.ts +0 -45
  117. package/build/src/amf/lib/InputCache.d.ts.map +0 -1
  118. package/build/src/amf/lib/InputCache.js +0 -92
  119. package/build/src/amf/lib/InputCache.js.map +0 -1
  120. package/build/src/amf/lib/Oauth2RamlCustomData.d.ts +0 -38
  121. package/build/src/amf/lib/Oauth2RamlCustomData.d.ts.map +0 -1
  122. package/build/src/amf/lib/Oauth2RamlCustomData.js +0 -248
  123. package/build/src/amf/lib/Oauth2RamlCustomData.js.map +0 -1
  124. package/build/src/amf/lib/PayloadUtils.d.ts +0 -19
  125. package/build/src/amf/lib/PayloadUtils.d.ts.map +0 -1
  126. package/build/src/amf/lib/PayloadUtils.js +0 -73
  127. package/build/src/amf/lib/PayloadUtils.js.map +0 -1
  128. package/build/src/amf/lib/QueryParameterProcessor.d.ts +0 -44
  129. package/build/src/amf/lib/QueryParameterProcessor.d.ts.map +0 -1
  130. package/build/src/amf/lib/QueryParameterProcessor.js +0 -167
  131. package/build/src/amf/lib/QueryParameterProcessor.js.map +0 -1
  132. package/build/src/amf/lib/UrlUtils.d.ts +0 -49
  133. package/build/src/amf/lib/UrlUtils.d.ts.map +0 -1
  134. package/build/src/amf/lib/UrlUtils.js +0 -209
  135. package/build/src/amf/lib/UrlUtils.js.map +0 -1
  136. package/build/src/amf/lib/Utils.d.ts +0 -43
  137. package/build/src/amf/lib/Utils.d.ts.map +0 -1
  138. package/build/src/amf/lib/Utils.js +0 -204
  139. package/build/src/amf/lib/Utils.js.map +0 -1
  140. package/build/src/amf/lib/navigation-layout/ApiSorting.d.ts +0 -8
  141. package/build/src/amf/lib/navigation-layout/ApiSorting.d.ts.map +0 -1
  142. package/build/src/amf/lib/navigation-layout/ApiSorting.js +0 -18
  143. package/build/src/amf/lib/navigation-layout/ApiSorting.js.map +0 -1
  144. package/build/src/amf/lib/navigation-layout/EndpointsTree.d.ts +0 -33
  145. package/build/src/amf/lib/navigation-layout/EndpointsTree.d.ts.map +0 -1
  146. package/build/src/amf/lib/navigation-layout/EndpointsTree.js +0 -178
  147. package/build/src/amf/lib/navigation-layout/EndpointsTree.js.map +0 -1
  148. package/build/src/amf/lib/navigation-layout/NaturalTree.d.ts +0 -25
  149. package/build/src/amf/lib/navigation-layout/NaturalTree.d.ts.map +0 -1
  150. package/build/src/amf/lib/navigation-layout/NaturalTree.js +0 -91
  151. package/build/src/amf/lib/navigation-layout/NaturalTree.js.map +0 -1
  152. package/build/src/amf/plugins/ApiNavigationCommands.d.ts +0 -4
  153. package/build/src/amf/plugins/ApiNavigationCommands.d.ts.map +0 -1
  154. package/build/src/amf/plugins/ApiNavigationCommands.js +0 -71
  155. package/build/src/amf/plugins/ApiNavigationCommands.js.map +0 -1
  156. package/build/src/amf/plugins/ApiNavigationContextMenu.d.ts +0 -16
  157. package/build/src/amf/plugins/ApiNavigationContextMenu.d.ts.map +0 -1
  158. package/build/src/amf/plugins/ApiNavigationContextMenu.js +0 -40
  159. package/build/src/amf/plugins/ApiNavigationContextMenu.js.map +0 -1
  160. package/build/src/amf/store/AmfGraphStore.d.ts +0 -39
  161. package/build/src/amf/store/AmfGraphStore.d.ts.map +0 -1
  162. package/build/src/amf/store/AmfGraphStore.js +0 -62
  163. package/build/src/amf/store/AmfGraphStore.js.map +0 -1
  164. package/build/src/amf/store/AmfStore.d.ts +0 -122
  165. package/build/src/amf/store/AmfStore.d.ts.map +0 -1
  166. package/build/src/amf/store/AmfStore.js +0 -171
  167. package/build/src/amf/store/AmfStore.js.map +0 -1
  168. package/build/src/amf/store/DomEventsAmfStore.d.ts +0 -6
  169. package/build/src/amf/store/DomEventsAmfStore.d.ts.map +0 -1
  170. package/build/src/amf/store/DomEventsAmfStore.js +0 -5
  171. package/build/src/amf/store/DomEventsAmfStore.js.map +0 -1
  172. package/build/src/amf/store/InMemAmfGraphStore.d.ts +0 -137
  173. package/build/src/amf/store/InMemAmfGraphStore.d.ts.map +0 -1
  174. package/build/src/amf/store/InMemAmfGraphStore.js +0 -586
  175. package/build/src/amf/store/InMemAmfGraphStore.js.map +0 -1
  176. package/build/src/amf/store/mixins/AmfStoreDomEventsMixin.d.ts +0 -38
  177. package/build/src/amf/store/mixins/AmfStoreDomEventsMixin.d.ts.map +0 -1
  178. package/build/src/amf/store/mixins/AmfStoreDomEventsMixin.js +0 -99
  179. package/build/src/amf/store/mixins/AmfStoreDomEventsMixin.js.map +0 -1
  180. package/build/src/amf/types.d.ts +0 -320
  181. package/build/src/amf/types.d.ts.map +0 -1
  182. package/build/src/amf/types.js +0 -2
  183. package/build/src/amf/types.js.map +0 -1
  184. package/build/src/define/amf/api-annotation-document.d.ts +0 -10
  185. package/build/src/define/amf/api-annotation-document.d.ts.map +0 -1
  186. package/build/src/define/amf/api-annotation-document.js +0 -27
  187. package/build/src/define/amf/api-annotation-document.js.map +0 -1
  188. package/build/src/define/amf/api-authorization-editor.d.ts +0 -10
  189. package/build/src/define/amf/api-authorization-editor.d.ts.map +0 -1
  190. package/build/src/define/amf/api-authorization-editor.js +0 -27
  191. package/build/src/define/amf/api-authorization-editor.js.map +0 -1
  192. package/build/src/define/amf/api-channel-document.d.ts +0 -10
  193. package/build/src/define/amf/api-channel-document.d.ts.map +0 -1
  194. package/build/src/define/amf/api-channel-document.js +0 -27
  195. package/build/src/define/amf/api-channel-document.js.map +0 -1
  196. package/build/src/define/amf/api-documentation-document.d.ts +0 -10
  197. package/build/src/define/amf/api-documentation-document.d.ts.map +0 -1
  198. package/build/src/define/amf/api-documentation-document.js +0 -27
  199. package/build/src/define/amf/api-documentation-document.js.map +0 -1
  200. package/build/src/define/amf/api-documentation.d.ts +0 -10
  201. package/build/src/define/amf/api-documentation.d.ts.map +0 -1
  202. package/build/src/define/amf/api-documentation.js +0 -27
  203. package/build/src/define/amf/api-documentation.js.map +0 -1
  204. package/build/src/define/amf/api-navigation.d.ts +0 -10
  205. package/build/src/define/amf/api-navigation.d.ts.map +0 -1
  206. package/build/src/define/amf/api-navigation.js +0 -27
  207. package/build/src/define/amf/api-navigation.js.map +0 -1
  208. package/build/src/define/amf/api-operation-document.d.ts +0 -10
  209. package/build/src/define/amf/api-operation-document.d.ts.map +0 -1
  210. package/build/src/define/amf/api-operation-document.js +0 -27
  211. package/build/src/define/amf/api-operation-document.js.map +0 -1
  212. package/build/src/define/amf/api-parameter-document.d.ts +0 -10
  213. package/build/src/define/amf/api-parameter-document.d.ts.map +0 -1
  214. package/build/src/define/amf/api-parameter-document.js +0 -27
  215. package/build/src/define/amf/api-parameter-document.js.map +0 -1
  216. package/build/src/define/amf/api-parametrized-security-scheme.d.ts +0 -10
  217. package/build/src/define/amf/api-parametrized-security-scheme.d.ts.map +0 -1
  218. package/build/src/define/amf/api-parametrized-security-scheme.js +0 -27
  219. package/build/src/define/amf/api-parametrized-security-scheme.js.map +0 -1
  220. package/build/src/define/amf/api-payload-document.d.ts +0 -10
  221. package/build/src/define/amf/api-payload-document.d.ts.map +0 -1
  222. package/build/src/define/amf/api-payload-document.js +0 -27
  223. package/build/src/define/amf/api-payload-document.js.map +0 -1
  224. package/build/src/define/amf/api-request-document.d.ts +0 -10
  225. package/build/src/define/amf/api-request-document.d.ts.map +0 -1
  226. package/build/src/define/amf/api-request-document.js +0 -27
  227. package/build/src/define/amf/api-request-document.js.map +0 -1
  228. package/build/src/define/amf/api-request-editor.d.ts +0 -10
  229. package/build/src/define/amf/api-request-editor.d.ts.map +0 -1
  230. package/build/src/define/amf/api-request-editor.js +0 -27
  231. package/build/src/define/amf/api-request-editor.js.map +0 -1
  232. package/build/src/define/amf/api-request.d.ts +0 -10
  233. package/build/src/define/amf/api-request.d.ts.map +0 -1
  234. package/build/src/define/amf/api-request.js +0 -27
  235. package/build/src/define/amf/api-request.js.map +0 -1
  236. package/build/src/define/amf/api-resource-document.d.ts +0 -10
  237. package/build/src/define/amf/api-resource-document.d.ts.map +0 -1
  238. package/build/src/define/amf/api-resource-document.js +0 -27
  239. package/build/src/define/amf/api-resource-document.js.map +0 -1
  240. package/build/src/define/amf/api-response-document.d.ts +0 -10
  241. package/build/src/define/amf/api-response-document.d.ts.map +0 -1
  242. package/build/src/define/amf/api-response-document.js +0 -27
  243. package/build/src/define/amf/api-response-document.js.map +0 -1
  244. package/build/src/define/amf/api-schema-document.d.ts +0 -10
  245. package/build/src/define/amf/api-schema-document.d.ts.map +0 -1
  246. package/build/src/define/amf/api-schema-document.js +0 -27
  247. package/build/src/define/amf/api-schema-document.js.map +0 -1
  248. package/build/src/define/amf/api-security-document.d.ts +0 -10
  249. package/build/src/define/amf/api-security-document.d.ts.map +0 -1
  250. package/build/src/define/amf/api-security-document.js +0 -27
  251. package/build/src/define/amf/api-security-document.js.map +0 -1
  252. package/build/src/define/amf/api-security-requirement-document.d.ts +0 -10
  253. package/build/src/define/amf/api-security-requirement-document.d.ts.map +0 -1
  254. package/build/src/define/amf/api-security-requirement-document.js +0 -27
  255. package/build/src/define/amf/api-security-requirement-document.js.map +0 -1
  256. package/build/src/define/amf/api-server-picker.d.ts +0 -10
  257. package/build/src/define/amf/api-server-picker.d.ts.map +0 -1
  258. package/build/src/define/amf/api-server-picker.js +0 -27
  259. package/build/src/define/amf/api-server-picker.js.map +0 -1
  260. package/build/src/define/amf/api-summary.d.ts +0 -10
  261. package/build/src/define/amf/api-summary.d.ts.map +0 -1
  262. package/build/src/define/amf/api-summary.js +0 -27
  263. package/build/src/define/amf/api-summary.js.map +0 -1
  264. package/build/src/define/amf/authorization/amf-apikey-authorization.d.ts +0 -10
  265. package/build/src/define/amf/authorization/amf-apikey-authorization.d.ts.map +0 -1
  266. package/build/src/define/amf/authorization/amf-apikey-authorization.js +0 -28
  267. package/build/src/define/amf/authorization/amf-apikey-authorization.js.map +0 -1
  268. package/build/src/define/amf/authorization/amf-basic-authorization.d.ts +0 -10
  269. package/build/src/define/amf/authorization/amf-basic-authorization.d.ts.map +0 -1
  270. package/build/src/define/amf/authorization/amf-basic-authorization.js +0 -28
  271. package/build/src/define/amf/authorization/amf-basic-authorization.js.map +0 -1
  272. package/build/src/define/amf/authorization/amf-bearer-authorization.d.ts +0 -10
  273. package/build/src/define/amf/authorization/amf-bearer-authorization.d.ts.map +0 -1
  274. package/build/src/define/amf/authorization/amf-bearer-authorization.js +0 -28
  275. package/build/src/define/amf/authorization/amf-bearer-authorization.js.map +0 -1
  276. package/build/src/define/amf/authorization/amf-oauth2-authorization.d.ts +0 -10
  277. package/build/src/define/amf/authorization/amf-oauth2-authorization.d.ts.map +0 -1
  278. package/build/src/define/amf/authorization/amf-oauth2-authorization.js +0 -31
  279. package/build/src/define/amf/authorization/amf-oauth2-authorization.js.map +0 -1
  280. package/build/src/define/amf/authorization/amf-oidc-authorization.d.ts +0 -10
  281. package/build/src/define/amf/authorization/amf-oidc-authorization.d.ts.map +0 -1
  282. package/build/src/define/amf/authorization/amf-oidc-authorization.js +0 -31
  283. package/build/src/define/amf/authorization/amf-oidc-authorization.js.map +0 -1
  284. package/build/src/define/amf/authorization/amf-passthrough-authorization.d.ts +0 -10
  285. package/build/src/define/amf/authorization/amf-passthrough-authorization.d.ts.map +0 -1
  286. package/build/src/define/amf/authorization/amf-passthrough-authorization.js +0 -28
  287. package/build/src/define/amf/authorization/amf-passthrough-authorization.js.map +0 -1
  288. package/build/src/define/amf/authorization/amf-ramlcustom-authorization.d.ts +0 -10
  289. package/build/src/define/amf/authorization/amf-ramlcustom-authorization.d.ts.map +0 -1
  290. package/build/src/define/amf/authorization/amf-ramlcustom-authorization.js +0 -28
  291. package/build/src/define/amf/authorization/amf-ramlcustom-authorization.js.map +0 -1
  292. package/build/src/elements/amf/ApiAnnotationDocument.element.d.ts +0 -61
  293. package/build/src/elements/amf/ApiAnnotationDocument.element.d.ts.map +0 -1
  294. package/build/src/elements/amf/ApiAnnotationDocument.element.js +0 -176
  295. package/build/src/elements/amf/ApiAnnotationDocument.element.js.map +0 -1
  296. package/build/src/elements/amf/ApiAnnotationDocument.styles.d.ts +0 -3
  297. package/build/src/elements/amf/ApiAnnotationDocument.styles.d.ts.map +0 -1
  298. package/build/src/elements/amf/ApiAnnotationDocument.styles.js +0 -46
  299. package/build/src/elements/amf/ApiAnnotationDocument.styles.js.map +0 -1
  300. package/build/src/elements/amf/ApiAuthorizationEditor.element.d.ts +0 -143
  301. package/build/src/elements/amf/ApiAuthorizationEditor.element.d.ts.map +0 -1
  302. package/build/src/elements/amf/ApiAuthorizationEditor.element.js +0 -379
  303. package/build/src/elements/amf/ApiAuthorizationEditor.element.js.map +0 -1
  304. package/build/src/elements/amf/ApiAuthorizationEditor.styles.d.ts +0 -3
  305. package/build/src/elements/amf/ApiAuthorizationEditor.styles.d.ts.map +0 -1
  306. package/build/src/elements/amf/ApiAuthorizationEditor.styles.js +0 -25
  307. package/build/src/elements/amf/ApiAuthorizationEditor.styles.js.map +0 -1
  308. package/build/src/elements/amf/ApiChannelDocument.element.d.ts +0 -28
  309. package/build/src/elements/amf/ApiChannelDocument.element.d.ts.map +0 -1
  310. package/build/src/elements/amf/ApiChannelDocument.element.js +0 -85
  311. package/build/src/elements/amf/ApiChannelDocument.element.js.map +0 -1
  312. package/build/src/elements/amf/ApiDocumentation.element.d.ts +0 -254
  313. package/build/src/elements/amf/ApiDocumentation.element.d.ts.map +0 -1
  314. package/build/src/elements/amf/ApiDocumentation.element.js +0 -686
  315. package/build/src/elements/amf/ApiDocumentation.element.js.map +0 -1
  316. package/build/src/elements/amf/ApiDocumentation.styles.d.ts +0 -3
  317. package/build/src/elements/amf/ApiDocumentation.styles.d.ts.map +0 -1
  318. package/build/src/elements/amf/ApiDocumentation.styles.js +0 -11
  319. package/build/src/elements/amf/ApiDocumentation.styles.js.map +0 -1
  320. package/build/src/elements/amf/ApiDocumentationBase.d.ts +0 -103
  321. package/build/src/elements/amf/ApiDocumentationBase.d.ts.map +0 -1
  322. package/build/src/elements/amf/ApiDocumentationBase.js +0 -291
  323. package/build/src/elements/amf/ApiDocumentationBase.js.map +0 -1
  324. package/build/src/elements/amf/ApiDocumentationDocument.element.d.ts +0 -29
  325. package/build/src/elements/amf/ApiDocumentationDocument.element.d.ts.map +0 -1
  326. package/build/src/elements/amf/ApiDocumentationDocument.element.js +0 -79
  327. package/build/src/elements/amf/ApiDocumentationDocument.element.js.map +0 -1
  328. package/build/src/elements/amf/ApiDocumentationDocument.styles.d.ts +0 -3
  329. package/build/src/elements/amf/ApiDocumentationDocument.styles.d.ts.map +0 -1
  330. package/build/src/elements/amf/ApiDocumentationDocument.styles.js +0 -32
  331. package/build/src/elements/amf/ApiDocumentationDocument.styles.js.map +0 -1
  332. package/build/src/elements/amf/ApiNavigation.element.d.ts +0 -579
  333. package/build/src/elements/amf/ApiNavigation.element.d.ts.map +0 -1
  334. package/build/src/elements/amf/ApiNavigation.element.js +0 -2244
  335. package/build/src/elements/amf/ApiNavigation.element.js.map +0 -1
  336. package/build/src/elements/amf/ApiNavigation.styles.d.ts +0 -3
  337. package/build/src/elements/amf/ApiNavigation.styles.d.ts.map +0 -1
  338. package/build/src/elements/amf/ApiNavigation.styles.js +0 -159
  339. package/build/src/elements/amf/ApiNavigation.styles.js.map +0 -1
  340. package/build/src/elements/amf/ApiOperationDocument.element.d.ts +0 -266
  341. package/build/src/elements/amf/ApiOperationDocument.element.d.ts.map +0 -1
  342. package/build/src/elements/amf/ApiOperationDocument.element.js +0 -1002
  343. package/build/src/elements/amf/ApiOperationDocument.element.js.map +0 -1
  344. package/build/src/elements/amf/ApiOperationDocument.styles.d.ts +0 -3
  345. package/build/src/elements/amf/ApiOperationDocument.styles.d.ts.map +0 -1
  346. package/build/src/elements/amf/ApiOperationDocument.styles.js +0 -67
  347. package/build/src/elements/amf/ApiOperationDocument.styles.js.map +0 -1
  348. package/build/src/elements/amf/ApiParameterDocument.element.d.ts +0 -32
  349. package/build/src/elements/amf/ApiParameterDocument.element.d.ts.map +0 -1
  350. package/build/src/elements/amf/ApiParameterDocument.element.js +0 -94
  351. package/build/src/elements/amf/ApiParameterDocument.element.js.map +0 -1
  352. package/build/src/elements/amf/ApiParameterDocument.styles.d.ts +0 -3
  353. package/build/src/elements/amf/ApiParameterDocument.styles.d.ts.map +0 -1
  354. package/build/src/elements/amf/ApiParameterDocument.styles.js +0 -15
  355. package/build/src/elements/amf/ApiParameterDocument.styles.js.map +0 -1
  356. package/build/src/elements/amf/ApiParametrizedSecurityScheme.element.d.ts +0 -19
  357. package/build/src/elements/amf/ApiParametrizedSecurityScheme.element.d.ts.map +0 -1
  358. package/build/src/elements/amf/ApiParametrizedSecurityScheme.element.js +0 -58
  359. package/build/src/elements/amf/ApiParametrizedSecurityScheme.element.js.map +0 -1
  360. package/build/src/elements/amf/ApiParametrizedSecurityScheme.styles.d.ts +0 -3
  361. package/build/src/elements/amf/ApiParametrizedSecurityScheme.styles.d.ts.map +0 -1
  362. package/build/src/elements/amf/ApiParametrizedSecurityScheme.styles.js +0 -4
  363. package/build/src/elements/amf/ApiParametrizedSecurityScheme.styles.js.map +0 -1
  364. package/build/src/elements/amf/ApiPayloadDocument.element.d.ts +0 -32
  365. package/build/src/elements/amf/ApiPayloadDocument.element.d.ts.map +0 -1
  366. package/build/src/elements/amf/ApiPayloadDocument.element.js +0 -131
  367. package/build/src/elements/amf/ApiPayloadDocument.element.js.map +0 -1
  368. package/build/src/elements/amf/ApiPayloadDocument.styles.d.ts +0 -3
  369. package/build/src/elements/amf/ApiPayloadDocument.styles.d.ts.map +0 -1
  370. package/build/src/elements/amf/ApiPayloadDocument.styles.js +0 -15
  371. package/build/src/elements/amf/ApiPayloadDocument.styles.js.map +0 -1
  372. package/build/src/elements/amf/ApiRequest.element.d.ts +0 -131
  373. package/build/src/elements/amf/ApiRequest.element.d.ts.map +0 -1
  374. package/build/src/elements/amf/ApiRequest.element.js +0 -318
  375. package/build/src/elements/amf/ApiRequest.element.js.map +0 -1
  376. package/build/src/elements/amf/ApiRequest.styles.d.ts +0 -3
  377. package/build/src/elements/amf/ApiRequest.styles.d.ts.map +0 -1
  378. package/build/src/elements/amf/ApiRequest.styles.js +0 -11
  379. package/build/src/elements/amf/ApiRequest.styles.js.map +0 -1
  380. package/build/src/elements/amf/ApiRequestDocument.element.d.ts +0 -115
  381. package/build/src/elements/amf/ApiRequestDocument.element.d.ts.map +0 -1
  382. package/build/src/elements/amf/ApiRequestDocument.element.js +0 -401
  383. package/build/src/elements/amf/ApiRequestDocument.element.js.map +0 -1
  384. package/build/src/elements/amf/ApiRequestDocument.styles.d.ts +0 -3
  385. package/build/src/elements/amf/ApiRequestDocument.styles.d.ts.map +0 -1
  386. package/build/src/elements/amf/ApiRequestDocument.styles.js +0 -13
  387. package/build/src/elements/amf/ApiRequestDocument.styles.js.map +0 -1
  388. package/build/src/elements/amf/ApiRequestEditor.element.d.ts +0 -485
  389. package/build/src/elements/amf/ApiRequestEditor.element.d.ts.map +0 -1
  390. package/build/src/elements/amf/ApiRequestEditor.element.js +0 -1735
  391. package/build/src/elements/amf/ApiRequestEditor.element.js.map +0 -1
  392. package/build/src/elements/amf/ApiRequestEditor.styles.d.ts +0 -3
  393. package/build/src/elements/amf/ApiRequestEditor.styles.d.ts.map +0 -1
  394. package/build/src/elements/amf/ApiRequestEditor.styles.js +0 -160
  395. package/build/src/elements/amf/ApiRequestEditor.styles.js.map +0 -1
  396. package/build/src/elements/amf/ApiResourceDocument.element.d.ts +0 -233
  397. package/build/src/elements/amf/ApiResourceDocument.element.d.ts.map +0 -1
  398. package/build/src/elements/amf/ApiResourceDocument.element.js +0 -706
  399. package/build/src/elements/amf/ApiResourceDocument.element.js.map +0 -1
  400. package/build/src/elements/amf/ApiResourceDocument.styles.d.ts +0 -3
  401. package/build/src/elements/amf/ApiResourceDocument.styles.d.ts.map +0 -1
  402. package/build/src/elements/amf/ApiResourceDocument.styles.js +0 -91
  403. package/build/src/elements/amf/ApiResourceDocument.styles.js.map +0 -1
  404. package/build/src/elements/amf/ApiResponseDocument.element.d.ts +0 -79
  405. package/build/src/elements/amf/ApiResponseDocument.element.d.ts.map +0 -1
  406. package/build/src/elements/amf/ApiResponseDocument.element.js +0 -298
  407. package/build/src/elements/amf/ApiResponseDocument.element.js.map +0 -1
  408. package/build/src/elements/amf/ApiResponseDocument.styles.d.ts +0 -3
  409. package/build/src/elements/amf/ApiResponseDocument.styles.d.ts.map +0 -1
  410. package/build/src/elements/amf/ApiResponseDocument.styles.js +0 -41
  411. package/build/src/elements/amf/ApiResponseDocument.styles.js.map +0 -1
  412. package/build/src/elements/amf/ApiSchemaDocument.element.d.ts +0 -144
  413. package/build/src/elements/amf/ApiSchemaDocument.element.d.ts.map +0 -1
  414. package/build/src/elements/amf/ApiSchemaDocument.element.js +0 -765
  415. package/build/src/elements/amf/ApiSchemaDocument.element.js.map +0 -1
  416. package/build/src/elements/amf/ApiSchemaDocument.styles.d.ts +0 -3
  417. package/build/src/elements/amf/ApiSchemaDocument.styles.d.ts.map +0 -1
  418. package/build/src/elements/amf/ApiSchemaDocument.styles.js +0 -41
  419. package/build/src/elements/amf/ApiSchemaDocument.styles.js.map +0 -1
  420. package/build/src/elements/amf/ApiSecurityDocument.element.d.ts +0 -180
  421. package/build/src/elements/amf/ApiSecurityDocument.element.d.ts.map +0 -1
  422. package/build/src/elements/amf/ApiSecurityDocument.element.js +0 -592
  423. package/build/src/elements/amf/ApiSecurityDocument.element.js.map +0 -1
  424. package/build/src/elements/amf/ApiSecurityDocument.styles.d.ts +0 -3
  425. package/build/src/elements/amf/ApiSecurityDocument.styles.d.ts.map +0 -1
  426. package/build/src/elements/amf/ApiSecurityDocument.styles.js +0 -89
  427. package/build/src/elements/amf/ApiSecurityDocument.styles.js.map +0 -1
  428. package/build/src/elements/amf/ApiSecurityRequirementDocument.element.d.ts +0 -16
  429. package/build/src/elements/amf/ApiSecurityRequirementDocument.element.d.ts.map +0 -1
  430. package/build/src/elements/amf/ApiSecurityRequirementDocument.element.js +0 -76
  431. package/build/src/elements/amf/ApiSecurityRequirementDocument.element.js.map +0 -1
  432. package/build/src/elements/amf/ApiSecurityRequirementDocument.styles.d.ts +0 -3
  433. package/build/src/elements/amf/ApiSecurityRequirementDocument.styles.d.ts.map +0 -1
  434. package/build/src/elements/amf/ApiSecurityRequirementDocument.styles.js +0 -7
  435. package/build/src/elements/amf/ApiSecurityRequirementDocument.styles.js.map +0 -1
  436. package/build/src/elements/amf/ApiServerPicker.element.d.ts +0 -256
  437. package/build/src/elements/amf/ApiServerPicker.element.d.ts.map +0 -1
  438. package/build/src/elements/amf/ApiServerPicker.element.js +0 -715
  439. package/build/src/elements/amf/ApiServerPicker.element.js.map +0 -1
  440. package/build/src/elements/amf/ApiServerPicker.styles.d.ts +0 -3
  441. package/build/src/elements/amf/ApiServerPicker.styles.d.ts.map +0 -1
  442. package/build/src/elements/amf/ApiServerPicker.styles.js +0 -25
  443. package/build/src/elements/amf/ApiServerPicker.styles.js.map +0 -1
  444. package/build/src/elements/amf/ApiSummary.element.d.ts +0 -90
  445. package/build/src/elements/amf/ApiSummary.element.d.ts.map +0 -1
  446. package/build/src/elements/amf/ApiSummary.element.js +0 -385
  447. package/build/src/elements/amf/ApiSummary.element.js.map +0 -1
  448. package/build/src/elements/amf/ApiSummary.styles.d.ts +0 -3
  449. package/build/src/elements/amf/ApiSummary.styles.d.ts.map +0 -1
  450. package/build/src/elements/amf/ApiSummary.styles.js +0 -192
  451. package/build/src/elements/amf/ApiSummary.styles.js.map +0 -1
  452. package/build/src/elements/amf/SchemaCommonTemplates.d.ts +0 -56
  453. package/build/src/elements/amf/SchemaCommonTemplates.d.ts.map +0 -1
  454. package/build/src/elements/amf/SchemaCommonTemplates.js +0 -499
  455. package/build/src/elements/amf/SchemaCommonTemplates.js.map +0 -1
  456. package/build/src/elements/amf/authorization/AmfApiKey.d.ts +0 -60
  457. package/build/src/elements/amf/authorization/AmfApiKey.d.ts.map +0 -1
  458. package/build/src/elements/amf/authorization/AmfApiKey.js +0 -237
  459. package/build/src/elements/amf/authorization/AmfApiKey.js.map +0 -1
  460. package/build/src/elements/amf/authorization/AmfBasic.d.ts +0 -16
  461. package/build/src/elements/amf/authorization/AmfBasic.d.ts.map +0 -1
  462. package/build/src/elements/amf/authorization/AmfBasic.js +0 -86
  463. package/build/src/elements/amf/authorization/AmfBasic.js.map +0 -1
  464. package/build/src/elements/amf/authorization/AmfBearer.d.ts +0 -15
  465. package/build/src/elements/amf/authorization/AmfBearer.d.ts.map +0 -1
  466. package/build/src/elements/amf/authorization/AmfBearer.js +0 -73
  467. package/build/src/elements/amf/authorization/AmfBearer.js.map +0 -1
  468. package/build/src/elements/amf/authorization/AmfOauth2.d.ts +0 -236
  469. package/build/src/elements/amf/authorization/AmfOauth2.d.ts.map +0 -1
  470. package/build/src/elements/amf/authorization/AmfOauth2.js +0 -795
  471. package/build/src/elements/amf/authorization/AmfOauth2.js.map +0 -1
  472. package/build/src/elements/amf/authorization/AmfOidc.d.ts +0 -14
  473. package/build/src/elements/amf/authorization/AmfOidc.d.ts.map +0 -1
  474. package/build/src/elements/amf/authorization/AmfOidc.js +0 -72
  475. package/build/src/elements/amf/authorization/AmfOidc.js.map +0 -1
  476. package/build/src/elements/amf/authorization/AmfPassThrough.d.ts +0 -58
  477. package/build/src/elements/amf/authorization/AmfPassThrough.d.ts.map +0 -1
  478. package/build/src/elements/amf/authorization/AmfPassThrough.js +0 -259
  479. package/build/src/elements/amf/authorization/AmfPassThrough.js.map +0 -1
  480. package/build/src/elements/amf/authorization/AmfRamlCustom.d.ts +0 -53
  481. package/build/src/elements/amf/authorization/AmfRamlCustom.d.ts.map +0 -1
  482. package/build/src/elements/amf/authorization/AmfRamlCustom.js +0 -291
  483. package/build/src/elements/amf/authorization/AmfRamlCustom.js.map +0 -1
  484. package/build/src/elements/amf/authorization/Authorization.styles.d.ts +0 -3
  485. package/build/src/elements/amf/authorization/Authorization.styles.d.ts.map +0 -1
  486. package/build/src/elements/amf/authorization/Authorization.styles.js +0 -40
  487. package/build/src/elements/amf/authorization/Authorization.styles.js.map +0 -1
  488. package/build/src/elements/amf/styles/AuthorizationMethod.d.ts +0 -3
  489. package/build/src/elements/amf/styles/AuthorizationMethod.d.ts.map +0 -1
  490. package/build/src/elements/amf/styles/AuthorizationMethod.js +0 -46
  491. package/build/src/elements/amf/styles/AuthorizationMethod.js.map +0 -1
  492. package/build/src/elements/amf/styles/Common.d.ts +0 -3
  493. package/build/src/elements/amf/styles/Common.d.ts.map +0 -1
  494. package/build/src/elements/amf/styles/Common.js +0 -150
  495. package/build/src/elements/amf/styles/Common.js.map +0 -1
  496. package/build/src/elements/amf/styles/SchemaCommon.d.ts +0 -3
  497. package/build/src/elements/amf/styles/SchemaCommon.d.ts.map +0 -1
  498. package/build/src/elements/amf/styles/SchemaCommon.js +0 -376
  499. package/build/src/elements/amf/styles/SchemaCommon.js.map +0 -1
  500. package/build/src/events/amf/ApiEvents.d.ts +0 -25
  501. package/build/src/events/amf/ApiEvents.d.ts.map +0 -1
  502. package/build/src/events/amf/ApiEvents.js +0 -42
  503. package/build/src/events/amf/ApiEvents.js.map +0 -1
  504. package/build/src/events/amf/BaseEvents.d.ts +0 -69
  505. package/build/src/events/amf/BaseEvents.d.ts.map +0 -1
  506. package/build/src/events/amf/BaseEvents.js +0 -64
  507. package/build/src/events/amf/BaseEvents.js.map +0 -1
  508. package/build/src/events/amf/DocumentationEvents.d.ts +0 -17
  509. package/build/src/events/amf/DocumentationEvents.d.ts.map +0 -1
  510. package/build/src/events/amf/DocumentationEvents.js +0 -27
  511. package/build/src/events/amf/DocumentationEvents.js.map +0 -1
  512. package/build/src/events/amf/EndpointEvents.d.ts +0 -21
  513. package/build/src/events/amf/EndpointEvents.d.ts.map +0 -1
  514. package/build/src/events/amf/EndpointEvents.js +0 -35
  515. package/build/src/events/amf/EndpointEvents.js.map +0 -1
  516. package/build/src/events/amf/EventTypes.d.ts +0 -65
  517. package/build/src/events/amf/EventTypes.d.ts.map +0 -1
  518. package/build/src/events/amf/EventTypes.js +0 -65
  519. package/build/src/events/amf/EventTypes.js.map +0 -1
  520. package/build/src/events/amf/Events.d.ts +0 -63
  521. package/build/src/events/amf/Events.d.ts.map +0 -1
  522. package/build/src/events/amf/Events.js +0 -38
  523. package/build/src/events/amf/Events.js.map +0 -1
  524. package/build/src/events/amf/NavigationEvents.d.ts +0 -50
  525. package/build/src/events/amf/NavigationEvents.d.ts.map +0 -1
  526. package/build/src/events/amf/NavigationEvents.js +0 -59
  527. package/build/src/events/amf/NavigationEvents.js.map +0 -1
  528. package/build/src/events/amf/OperationEvents.d.ts +0 -17
  529. package/build/src/events/amf/OperationEvents.d.ts.map +0 -1
  530. package/build/src/events/amf/OperationEvents.js +0 -27
  531. package/build/src/events/amf/OperationEvents.js.map +0 -1
  532. package/build/src/events/amf/PayloadEvents.d.ts +0 -10
  533. package/build/src/events/amf/PayloadEvents.d.ts.map +0 -1
  534. package/build/src/events/amf/PayloadEvents.js +0 -16
  535. package/build/src/events/amf/PayloadEvents.js.map +0 -1
  536. package/build/src/events/amf/ReportingEvents.d.ts +0 -16
  537. package/build/src/events/amf/ReportingEvents.d.ts.map +0 -1
  538. package/build/src/events/amf/ReportingEvents.js +0 -22
  539. package/build/src/events/amf/ReportingEvents.js.map +0 -1
  540. package/build/src/events/amf/RequestEvents.d.ts +0 -10
  541. package/build/src/events/amf/RequestEvents.d.ts.map +0 -1
  542. package/build/src/events/amf/RequestEvents.js +0 -15
  543. package/build/src/events/amf/RequestEvents.js.map +0 -1
  544. package/build/src/events/amf/ResponseEvents.d.ts +0 -10
  545. package/build/src/events/amf/ResponseEvents.d.ts.map +0 -1
  546. package/build/src/events/amf/ResponseEvents.js +0 -16
  547. package/build/src/events/amf/ResponseEvents.js.map +0 -1
  548. package/build/src/events/amf/SecurityEvents.d.ts +0 -31
  549. package/build/src/events/amf/SecurityEvents.d.ts.map +0 -1
  550. package/build/src/events/amf/SecurityEvents.js +0 -53
  551. package/build/src/events/amf/SecurityEvents.js.map +0 -1
  552. package/build/src/events/amf/ServerEvents.d.ts +0 -63
  553. package/build/src/events/amf/ServerEvents.d.ts.map +0 -1
  554. package/build/src/events/amf/ServerEvents.js +0 -70
  555. package/build/src/events/amf/ServerEvents.js.map +0 -1
  556. package/build/src/events/amf/StoreEvents.d.ts +0 -8
  557. package/build/src/events/amf/StoreEvents.d.ts.map +0 -1
  558. package/build/src/events/amf/StoreEvents.js +0 -16
  559. package/build/src/events/amf/StoreEvents.js.map +0 -1
  560. package/build/src/events/amf/TelemetryEvents.d.ts +0 -79
  561. package/build/src/events/amf/TelemetryEvents.d.ts.map +0 -1
  562. package/build/src/events/amf/TelemetryEvents.js +0 -65
  563. package/build/src/events/amf/TelemetryEvents.js.map +0 -1
  564. package/build/src/events/amf/TypeEvents.d.ts +0 -16
  565. package/build/src/events/amf/TypeEvents.d.ts.map +0 -1
  566. package/build/src/events/amf/TypeEvents.js +0 -25
  567. package/build/src/events/amf/TypeEvents.js.map +0 -1
  568. package/build/src/visualization/elements/VizAssociationElement.d.ts +0 -4
  569. package/build/src/visualization/elements/VizAssociationElement.d.ts.map +0 -1
  570. package/build/src/visualization/elements/VizAssociationElement.js +0 -4
  571. package/build/src/visualization/elements/VizAssociationElement.js.map +0 -1
  572. package/build/src/visualization/elements/VizWorkspaceElement.d.ts +0 -110
  573. package/build/src/visualization/elements/VizWorkspaceElement.d.ts.map +0 -1
  574. package/build/src/visualization/elements/VizWorkspaceElement.js +0 -321
  575. package/build/src/visualization/elements/VizWorkspaceElement.js.map +0 -1
  576. package/build/src/visualization/elements/WorkspaceStyles.d.ts +0 -3
  577. package/build/src/visualization/elements/WorkspaceStyles.d.ts.map +0 -1
  578. package/build/src/visualization/elements/WorkspaceStyles.js +0 -168
  579. package/build/src/visualization/elements/WorkspaceStyles.js.map +0 -1
  580. package/build/src/visualization/lib/AnchorFinder.d.ts +0 -64
  581. package/build/src/visualization/lib/AnchorFinder.d.ts.map +0 -1
  582. package/build/src/visualization/lib/AnchorFinder.js +0 -107
  583. package/build/src/visualization/lib/AnchorFinder.js.map +0 -1
  584. package/build/src/visualization/lib/AnchorUtils.d.ts +0 -10
  585. package/build/src/visualization/lib/AnchorUtils.d.ts.map +0 -1
  586. package/build/src/visualization/lib/AnchorUtils.js +0 -44
  587. package/build/src/visualization/lib/AnchorUtils.js.map +0 -1
  588. package/build/src/visualization/lib/AssociationAnchors.d.ts +0 -134
  589. package/build/src/visualization/lib/AssociationAnchors.d.ts.map +0 -1
  590. package/build/src/visualization/lib/AssociationAnchors.js +0 -351
  591. package/build/src/visualization/lib/AssociationAnchors.js.map +0 -1
  592. package/build/src/visualization/lib/LabelSketch.d.ts +0 -16
  593. package/build/src/visualization/lib/LabelSketch.d.ts.map +0 -1
  594. package/build/src/visualization/lib/LabelSketch.js +0 -53
  595. package/build/src/visualization/lib/LabelSketch.js.map +0 -1
  596. package/build/src/visualization/lib/LineSketch.d.ts +0 -26
  597. package/build/src/visualization/lib/LineSketch.d.ts.map +0 -1
  598. package/build/src/visualization/lib/LineSketch.js +0 -55
  599. package/build/src/visualization/lib/LineSketch.js.map +0 -1
  600. package/build/src/visualization/lib/Point.d.ts +0 -74
  601. package/build/src/visualization/lib/Point.d.ts.map +0 -1
  602. package/build/src/visualization/lib/Point.js +0 -121
  603. package/build/src/visualization/lib/Point.js.map +0 -1
  604. package/build/src/visualization/lib/PositionUtils.d.ts +0 -65
  605. package/build/src/visualization/lib/PositionUtils.d.ts.map +0 -1
  606. package/build/src/visualization/lib/PositionUtils.js +0 -205
  607. package/build/src/visualization/lib/PositionUtils.js.map +0 -1
  608. package/build/src/visualization/lib/SelectionManager.d.ts +0 -183
  609. package/build/src/visualization/lib/SelectionManager.d.ts.map +0 -1
  610. package/build/src/visualization/lib/SelectionManager.js +0 -481
  611. package/build/src/visualization/lib/SelectionManager.js.map +0 -1
  612. package/build/src/visualization/lib/ShapeArtist.d.ts +0 -45
  613. package/build/src/visualization/lib/ShapeArtist.d.ts.map +0 -1
  614. package/build/src/visualization/lib/ShapeArtist.js +0 -209
  615. package/build/src/visualization/lib/ShapeArtist.js.map +0 -1
  616. package/build/src/visualization/lib/SvgMarkers.d.ts +0 -14
  617. package/build/src/visualization/lib/SvgMarkers.d.ts.map +0 -1
  618. package/build/src/visualization/lib/SvgMarkers.js +0 -77
  619. package/build/src/visualization/lib/SvgMarkers.js.map +0 -1
  620. package/build/src/visualization/lib/TipSketch.d.ts +0 -26
  621. package/build/src/visualization/lib/TipSketch.d.ts.map +0 -1
  622. package/build/src/visualization/lib/TipSketch.js +0 -77
  623. package/build/src/visualization/lib/TipSketch.js.map +0 -1
  624. package/build/src/visualization/lib/TouchSupport.d.ts +0 -14
  625. package/build/src/visualization/lib/TouchSupport.d.ts.map +0 -1
  626. package/build/src/visualization/lib/TouchSupport.js +0 -55
  627. package/build/src/visualization/lib/TouchSupport.js.map +0 -1
  628. package/build/src/visualization/lib/Utils.d.ts +0 -25
  629. package/build/src/visualization/lib/Utils.d.ts.map +0 -1
  630. package/build/src/visualization/lib/Utils.js +0 -59
  631. package/build/src/visualization/lib/Utils.js.map +0 -1
  632. package/build/src/visualization/lib/VisualizationTypes.d.ts +0 -216
  633. package/build/src/visualization/lib/VisualizationTypes.d.ts.map +0 -1
  634. package/build/src/visualization/lib/VisualizationTypes.js +0 -3
  635. package/build/src/visualization/lib/VisualizationTypes.js.map +0 -1
  636. package/build/src/visualization/lib/WorkspaceAlignment.d.ts +0 -51
  637. package/build/src/visualization/lib/WorkspaceAlignment.d.ts.map +0 -1
  638. package/build/src/visualization/lib/WorkspaceAlignment.js +0 -243
  639. package/build/src/visualization/lib/WorkspaceAlignment.js.map +0 -1
  640. package/build/src/visualization/lib/WorkspaceDebugging.d.ts +0 -104
  641. package/build/src/visualization/lib/WorkspaceDebugging.d.ts.map +0 -1
  642. package/build/src/visualization/lib/WorkspaceDebugging.js +0 -286
  643. package/build/src/visualization/lib/WorkspaceDebugging.js.map +0 -1
  644. package/build/src/visualization/lib/WorkspaceEdges.d.ts +0 -293
  645. package/build/src/visualization/lib/WorkspaceEdges.d.ts.map +0 -1
  646. package/build/src/visualization/lib/WorkspaceEdges.js +0 -1073
  647. package/build/src/visualization/lib/WorkspaceEdges.js.map +0 -1
  648. package/build/src/visualization/lib/WorkspaceGestures.d.ts +0 -119
  649. package/build/src/visualization/lib/WorkspaceGestures.d.ts.map +0 -1
  650. package/build/src/visualization/lib/WorkspaceGestures.js +0 -376
  651. package/build/src/visualization/lib/WorkspaceGestures.js.map +0 -1
  652. package/build/src/visualization/lib/WorkspaceSizing.d.ts +0 -66
  653. package/build/src/visualization/lib/WorkspaceSizing.d.ts.map +0 -1
  654. package/build/src/visualization/lib/WorkspaceSizing.js +0 -168
  655. package/build/src/visualization/lib/WorkspaceSizing.js.map +0 -1
  656. package/build/src/visualization/lib/lines/RectilinearLine.d.ts +0 -114
  657. package/build/src/visualization/lib/lines/RectilinearLine.d.ts.map +0 -1
  658. package/build/src/visualization/lib/lines/RectilinearLine.js +0 -605
  659. package/build/src/visualization/lib/lines/RectilinearLine.js.map +0 -1
  660. package/build/src/visualization/lib/tips/RectilinearTip.d.ts +0 -26
  661. package/build/src/visualization/lib/tips/RectilinearTip.d.ts.map +0 -1
  662. package/build/src/visualization/lib/tips/RectilinearTip.js +0 -149
  663. package/build/src/visualization/lib/tips/RectilinearTip.js.map +0 -1
  664. package/build/src/visualization/lib/tips/TipArtist.d.ts +0 -22
  665. package/build/src/visualization/lib/tips/TipArtist.d.ts.map +0 -1
  666. package/build/src/visualization/lib/tips/TipArtist.js +0 -31
  667. package/build/src/visualization/lib/tips/TipArtist.js.map +0 -1
  668. package/build/src/visualization/lib/types.d.ts +0 -164
  669. package/build/src/visualization/lib/types.d.ts.map +0 -1
  670. package/build/src/visualization/lib/types.js +0 -2
  671. package/build/src/visualization/lib/types.js.map +0 -1
  672. package/build/src/visualization/plugin/dnd/DragAndDropPlugin.d.ts +0 -126
  673. package/build/src/visualization/plugin/dnd/DragAndDropPlugin.d.ts.map +0 -1
  674. package/build/src/visualization/plugin/dnd/DragAndDropPlugin.js +0 -260
  675. package/build/src/visualization/plugin/dnd/DragAndDropPlugin.js.map +0 -1
  676. package/build/src/visualization/plugin/group-selection/GroupSelection.d.ts +0 -93
  677. package/build/src/visualization/plugin/group-selection/GroupSelection.d.ts.map +0 -1
  678. package/build/src/visualization/plugin/group-selection/GroupSelection.js +0 -250
  679. package/build/src/visualization/plugin/group-selection/GroupSelection.js.map +0 -1
  680. package/build/src/visualization/plugin/positioning/DataModelLayout.d.ts +0 -10
  681. package/build/src/visualization/plugin/positioning/DataModelLayout.d.ts.map +0 -1
  682. package/build/src/visualization/plugin/positioning/DataModelLayout.js +0 -105
  683. package/build/src/visualization/plugin/positioning/DataModelLayout.js.map +0 -1
  684. package/build/src/visualization/plugin/positioning/WorkspaceLayout.d.ts +0 -93
  685. package/build/src/visualization/plugin/positioning/WorkspaceLayout.d.ts.map +0 -1
  686. package/build/src/visualization/plugin/positioning/WorkspaceLayout.js +0 -96
  687. package/build/src/visualization/plugin/positioning/WorkspaceLayout.js.map +0 -1
  688. package/build/src/visualization/viz-association.d.ts +0 -7
  689. package/build/src/visualization/viz-association.d.ts.map +0 -1
  690. package/build/src/visualization/viz-association.js +0 -3
  691. package/build/src/visualization/viz-association.js.map +0 -1
  692. package/build/src/visualization/viz-workspace.d.ts +0 -7
  693. package/build/src/visualization/viz-workspace.d.ts.map +0 -1
  694. package/build/src/visualization/viz-workspace.js +0 -3
  695. package/build/src/visualization/viz-workspace.js.map +0 -1
  696. package/demo/amf/api-annotation.html +0 -21
  697. package/demo/amf/api-annotation.ts +0 -117
  698. package/demo/amf/api-channel.html +0 -25
  699. package/demo/amf/api-channel.ts +0 -76
  700. package/demo/amf/api-console.html +0 -23
  701. package/demo/amf/api-console.ts +0 -505
  702. package/demo/amf/api-documentation-document.html +0 -25
  703. package/demo/amf/api-documentation-document.ts +0 -79
  704. package/demo/amf/api-documentation.html +0 -25
  705. package/demo/amf/api-documentation.ts +0 -242
  706. package/demo/amf/api-navigation.html +0 -29
  707. package/demo/amf/api-navigation.ts +0 -278
  708. package/demo/amf/api-operation.html +0 -37
  709. package/demo/amf/api-operation.ts +0 -274
  710. package/demo/amf/api-payload.html +0 -25
  711. package/demo/amf/api-payload.ts +0 -176
  712. package/demo/amf/api-request.html +0 -24
  713. package/demo/amf/api-request.ts +0 -259
  714. package/demo/amf/api-resource.html +0 -31
  715. package/demo/amf/api-resource.ts +0 -264
  716. package/demo/amf/api-schema-documentation.html +0 -25
  717. package/demo/amf/api-schema-documentation.ts +0 -207
  718. package/demo/amf/api-security-documentation.html +0 -25
  719. package/demo/amf/api-security-documentation.ts +0 -94
  720. package/demo/amf/api-server-picker.html +0 -24
  721. package/demo/amf/api-server-picker.ts +0 -233
  722. package/demo/amf/api-summary.html +0 -25
  723. package/demo/amf/api-summary.ts +0 -84
  724. package/demo/amf/bare-components.css +0 -11
  725. package/demo/amf/bare-components.html +0 -38
  726. package/demo/amf/bare-components.ts +0 -18
  727. package/demo/amf/demo.css +0 -136
  728. package/demo/amf/index.html +0 -65
  729. package/demo/amf/lib/AmfDemoPage.ts +0 -285
  730. package/demo/amf/oauth-authorize.html +0 -74
  731. package/demo/amf/oauth-authorize.ts +0 -40
  732. package/demo/amf/request-editor.html +0 -24
  733. package/demo/amf/request-editor.ts +0 -267
  734. package/demo/amf/styles/api-console.css +0 -60
  735. package/demo/amf/styles/api-editor.css +0 -139
  736. package/demo/amf/styles/console-theme.css +0 -0
  737. package/demo/amf/styles/demo-grid.css +0 -26
  738. package/demo/apis/21143/21143.json +0 -638
  739. package/demo/apis/APIC-15/APIC-15.raml +0 -36
  740. package/demo/apis/APIC-15/data-types/organization-data-type.raml +0 -19
  741. package/demo/apis/APIC-15/examples/organization/organization-array-response.raml +0 -15
  742. package/demo/apis/APIC-15/examples/organization/organization-individual-response.raml +0 -8
  743. package/demo/apis/APIC-168/APIC-168.raml +0 -38
  744. package/demo/apis/APIC-282/APIC-282.raml +0 -57
  745. package/demo/apis/APIC-289/APIC-289.yaml +0 -21
  746. package/demo/apis/APIC-298/APIC-298.json +0 -588
  747. package/demo/apis/APIC-332/APIC-332.raml +0 -22
  748. package/demo/apis/APIC-349-cache-resolution/APIC-349-cache-resolution.raml +0 -141
  749. package/demo/apis/APIC-349-cache-resolution/docs/DocumentationItem-1.raml +0 -3
  750. package/demo/apis/APIC-349-cache-resolution/docs/api.md +0 -1
  751. package/demo/apis/APIC-349-cache-resolution/docs/documentationTitle.md +0 -1
  752. package/demo/apis/APIC-349-cache-resolution/examples/usingObj-example.json +0 -19
  753. package/demo/apis/APIC-349-cache-resolution/examples/usingObj-example2.json +0 -19
  754. package/demo/apis/APIC-349-cache-resolution/libraries/schema.json +0 -21
  755. package/demo/apis/APIC-349-cache-resolution/libraries/types.raml +0 -88
  756. package/demo/apis/APIC-390/APIC-390.raml +0 -13
  757. package/demo/apis/APIC-390/Types/ISO-standards.raml +0 -30
  758. package/demo/apis/APIC-429/APIC-429.yaml +0 -63
  759. package/demo/apis/APIC-435/APIC-435.yaml +0 -27
  760. package/demo/apis/APIC-449/APIC-449.yaml +0 -8
  761. package/demo/apis/APIC-463/APIC-463.raml +0 -13
  762. package/demo/apis/APIC-480/APIC-480.raml +0 -61
  763. package/demo/apis/APIC-480/examples/account-response.json +0 -5
  764. package/demo/apis/APIC-483/APIC-483.raml +0 -16
  765. package/demo/apis/APIC-483/example/list-of-bank-succ.json +0 -32
  766. package/demo/apis/APIC-483/schema/response-retrieve-list-bank.json +0 -68
  767. package/demo/apis/APIC-550/APIC-550.raml +0 -46
  768. package/demo/apis/APIC-553/APIC-553.raml +0 -59
  769. package/demo/apis/APIC-554/APIC-554.raml +0 -6
  770. package/demo/apis/APIC-554-ii/APIC-554-ii.raml +0 -5
  771. package/demo/apis/APIC-560/APIC-560.yaml +0 -209
  772. package/demo/apis/APIC-582/APIC-582.yaml +0 -23
  773. package/demo/apis/APIC-613/APIC-613.raml +0 -16
  774. package/demo/apis/APIC-631/APIC-631.raml +0 -20
  775. package/demo/apis/APIC-641/APIC-641.yaml +0 -29
  776. package/demo/apis/APIC-649/APIC-649.yaml +0 -118
  777. package/demo/apis/APIC-650/APIC-650.yaml +0 -24
  778. package/demo/apis/APIC-650/common-parameters.yaml +0 -23
  779. package/demo/apis/APIC-667/APIC-667.raml +0 -30
  780. package/demo/apis/APIC-671/APIC-671.yaml +0 -387
  781. package/demo/apis/APIC-689/APIC-689.raml +0 -20
  782. package/demo/apis/APIC-711/APIC-711.raml +0 -41
  783. package/demo/apis/SE-10469/Purchase-Order-oagis-id-dd32f9c6c01048a19e15c423c9c741ae.json +0 -1383
  784. package/demo/apis/SE-10469/SE-10469.raml +0 -11
  785. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-address.raml +0 -126
  786. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-base.raml +0 -31
  787. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-basic-questions-set.raml +0 -42
  788. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-code-description.raml +0 -36
  789. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-code-origin.raml +0 -24
  790. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-contact-information.raml +0 -69
  791. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-content-data.raml +0 -19
  792. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-content-metadata.raml +0 -243
  793. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-content.raml +0 -47
  794. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-contextual.raml +0 -18
  795. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-currency.raml +0 -22
  796. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-document-statistic.raml +0 -44
  797. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-email-address.raml +0 -19
  798. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-error.raml +0 -33
  799. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-habit.raml +0 -61
  800. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-language.raml +0 -32
  801. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-log-entry.raml +0 -92
  802. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-master-key.raml +0 -49
  803. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-organization.raml +0 -38
  804. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-party.raml +0 -37
  805. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-performance-node.raml +0 -43
  806. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-performance-report.raml +0 -22
  807. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-person-name.raml +0 -45
  808. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-person.raml +0 -103
  809. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-phone.raml +0 -32
  810. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-policyholder.raml +0 -1
  811. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-preferable.raml +0 -15
  812. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-property.raml +0 -61
  813. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-role.raml +0 -51
  814. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-social-media-account.raml +0 -28
  815. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-source.raml +0 -65
  816. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-version.raml +0 -36
  817. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/docs/Legal.raml +0 -3
  818. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/examples/example-error.raml +0 -7
  819. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/examples/example-get-health-check.raml +0 -16
  820. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/examples/example-performance-report.raml +0 -23
  821. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/exchange.json +0 -1
  822. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-address.raml +0 -7
  823. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-base.raml +0 -3
  824. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-basic-questions-set.raml +0 -7
  825. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-code-description.raml +0 -7
  826. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-contact-info.raml +0 -3
  827. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-content.raml +0 -5
  828. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-context-and-preference.raml +0 -4
  829. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-email.raml +0 -7
  830. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-entity.raml +0 -36
  831. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-error.raml +0 -3
  832. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-habit.raml +0 -7
  833. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-language.raml +0 -7
  834. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-master-key.raml +0 -3
  835. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-organization.raml +0 -4
  836. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-party.raml +0 -8
  837. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-performance.raml +0 -8
  838. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-person-name.raml +0 -3
  839. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-person.raml +0 -7
  840. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-phone.raml +0 -7
  841. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-property.raml +0 -7
  842. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-role.raml +0 -6
  843. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-social-media.raml +0 -7
  844. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-source.raml +0 -7
  845. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-traits.raml +0 -11
  846. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-version.raml +0 -7
  847. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/resource-types/resourceType-applicable-to-collection-actions.raml +0 -51
  848. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/resource-types/resourceType-applicable-to-collections.raml +0 -157
  849. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/resource-types/resourceType-applicable-to-item-actions.raml +0 -48
  850. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/resource-types/resourceType-applicable-to-items.raml +0 -154
  851. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/resource-types/resourceType-get-health-check.raml +0 -39
  852. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/security-schemes/securityScheme-basic.raml +0 -4
  853. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/traits/trait-asynchronously-callable.raml +0 -12
  854. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/traits/trait-filterable.raml +0 -19
  855. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/traits/trait-identifyable.raml +0 -50
  856. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/traits/trait-pageable.raml +0 -40
  857. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/traits/trait-performance-monitorable.raml +0 -31
  858. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/traits/trait-routable.raml +0 -22
  859. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/traits/trait-selectable.raml +0 -140
  860. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/traits/trait-sortable.raml +0 -20
  861. package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/traits/trait-traceable.raml +0 -24
  862. package/demo/apis/SE-11155/SE-11155.raml +0 -43
  863. package/demo/apis/SE-11155/data-types/dataType-archive-users-request.raml +0 -19
  864. package/demo/apis/SE-11155/data-types/dataType-archive-users-response.raml +0 -20
  865. package/demo/apis/SE-11155/data-types/dataType-restore-user-request.raml +0 -1
  866. package/demo/apis/SE-11155/data-types/dataType-restore-user-response.raml +0 -1
  867. package/demo/apis/SE-11155/data-types/dataType-user.raml +0 -53
  868. package/demo/apis/SE-11155/examples/user-action-restore-user-200.raml +0 -3
  869. package/demo/apis/SE-11155/examples/user-action-restore-user-cds-202.raml +0 -7
  870. package/demo/apis/SE-11155/examples/user-action-restore-user.raml +0 -3
  871. package/demo/apis/SE-11155/examples/user-delete-cds-200.raml +0 -4
  872. package/demo/apis/SE-11155/examples/user-delete-cds-202.raml +0 -11
  873. package/demo/apis/SE-11155/examples/user-get-200.raml +0 -17
  874. package/demo/apis/SE-11155/examples/user-patch-200.raml +0 -14
  875. package/demo/apis/SE-11155/examples/user-patch-cds-200.raml +0 -4
  876. package/demo/apis/SE-11155/examples/user-patch-cds-202.raml +0 -7
  877. package/demo/apis/SE-11155/examples/user-patch.raml +0 -14
  878. package/demo/apis/SE-11155/examples/user-put-200.raml +0 -17
  879. package/demo/apis/SE-11155/examples/user-put-cds-200.raml +0 -4
  880. package/demo/apis/SE-11155/examples/user-put-cds-202.raml +0 -11
  881. package/demo/apis/SE-11155/examples/user-put.raml +0 -17
  882. package/demo/apis/SE-11155/examples/users-action-archive-users-200.raml +0 -5
  883. package/demo/apis/SE-11155/examples/users-action-archive-users-cds-200.raml +0 -5
  884. package/demo/apis/SE-11155/examples/users-action-archive-users.raml +0 -5
  885. package/demo/apis/SE-11155/examples/users-delete-cds-200.raml +0 -4
  886. package/demo/apis/SE-11155/examples/users-delete-cds-202.raml +0 -11
  887. package/demo/apis/SE-11155/examples/users-get-200.raml +0 -47
  888. package/demo/apis/SE-11155/examples/users-patch-200.raml +0 -32
  889. package/demo/apis/SE-11155/examples/users-patch-cds-200.raml +0 -4
  890. package/demo/apis/SE-11155/examples/users-patch-cds-202.raml +0 -11
  891. package/demo/apis/SE-11155/examples/users-patch.raml +0 -14
  892. package/demo/apis/SE-11155/examples/users-post-cds-200.raml +0 -4
  893. package/demo/apis/SE-11155/examples/users-post-cds-202.raml +0 -11
  894. package/demo/apis/SE-11155/examples/users-post-multi-200.raml +0 -47
  895. package/demo/apis/SE-11155/examples/users-post-multi.raml +0 -44
  896. package/demo/apis/SE-11155/examples/users-post-single-200.raml +0 -17
  897. package/demo/apis/SE-11155/examples/users-post-single.raml +0 -16
  898. package/demo/apis/SE-11155/libraries/library.raml +0 -16
  899. package/demo/apis/SE-11415/SE-11415.raml +0 -94
  900. package/demo/apis/SE-11415/canda-commons/canda-commons.raml +0 -50
  901. package/demo/apis/SE-11415/canda-commons/ref/log-levels-example.json +0 -3
  902. package/demo/apis/SE-11415/canda-commons/ref/log-levels-response-example.json +0 -3
  903. package/demo/apis/SE-11415/canda-commons/ref/log-levels-response-schema.json +0 -10
  904. package/demo/apis/SE-11415/canda-commons/ref/log-levels-schema.json +0 -30
  905. package/demo/apis/SE-11415/ref/additions-example.json +0 -12
  906. package/demo/apis/SE-11415/ref/additions-schema.json +0 -43
  907. package/demo/apis/SE-11415/ref/companies-example.json +0 -11
  908. package/demo/apis/SE-11415/ref/companies-schema.json +0 -36
  909. package/demo/apis/SE-11415/ref/greeting-example.json +0 -4
  910. package/demo/apis/SE-11415/ref/greeting-schema.json +0 -22
  911. package/demo/apis/SE-11415/ref/greetings-example.json +0 -15
  912. package/demo/apis/SE-11415/ref/greetings-schema.json +0 -34
  913. package/demo/apis/SE-11415/ref/jms-message-response-exmaple.json +0 -7
  914. package/demo/apis/SE-11415/ref/log-levels-example.json +0 -3
  915. package/demo/apis/SE-11415/ref/log-levels-response-example.json +0 -3
  916. package/demo/apis/SE-11415/ref/log-levels-response-schema.json +0 -10
  917. package/demo/apis/SE-11415/ref/log-levels-schema.json +0 -30
  918. package/demo/apis/SE-11508/SE-11508.raml +0 -257
  919. package/demo/apis/SE-11508/examples/change-credentials-post-201.raml +0 -9
  920. package/demo/apis/SE-11508/examples/convert-aggregator-quote-post-201.raml +0 -19
  921. package/demo/apis/SE-11508/examples/create-quote-post-200.raml +0 -12
  922. package/demo/apis/SE-11508/examples/create-quote-post-201.raml +0 -8
  923. package/demo/apis/SE-11508/examples/create-quote-post-request.raml +0 -19
  924. package/demo/apis/SE-11508/examples/customer-accounts-get-200.raml +0 -41
  925. package/demo/apis/SE-11508/examples/customer-accounts-patch-request.raml +0 -31
  926. package/demo/apis/SE-11508/examples/retrieve-quotes-post-200.raml +0 -17
  927. package/demo/apis/SE-11508/examples/send-correspondence-post-request.raml +0 -34
  928. package/demo/apis/SE-11508/examples/validate-credentials-post-200.raml +0 -30
  929. package/demo/apis/SE-11508/examples/validate-customer-account-hash-post-400.raml +0 -10
  930. package/demo/apis/SE-11508/examples/validate-customer-account-hash-post-request.raml +0 -7
  931. package/demo/apis/SE-11508/examples/validate-customer-account-post-200.raml +0 -76
  932. package/demo/apis/SE-11508/examples/validate-customer-account-post-400.raml +0 -10
  933. package/demo/apis/SE-11508/examples/validate-customer-account-post-request.raml +0 -8
  934. package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/securityscheme-system/0.0.4/auth.raml +0 -10
  935. package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/api-headers-trait.raml +0 -20
  936. package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/bad-responses.raml +0 -30
  937. package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/create.raml +0 -30
  938. package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/customer-account-filter-trait.raml +0 -8
  939. package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/delete.raml +0 -48
  940. package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/payment.raml +0 -10
  941. package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/policy-filter-trait.raml +0 -8
  942. package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/read.raml +0 -48
  943. package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/types/common-responses.raml +0 -8
  944. package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/types/error.raml +0 -12
  945. package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/underwriting.raml +0 -11
  946. package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/update.raml +0 -48
  947. package/demo/apis/SE-11508/model-system/api-headers.raml +0 -8
  948. package/demo/apis/SE-11508/model-system/api-strict-headers.raml +0 -25
  949. package/demo/apis/SE-11508/model-system/change-credentials-type.raml +0 -11
  950. package/demo/apis/SE-11508/model-system/convert-aggregator-quote-types.raml +0 -25
  951. package/demo/apis/SE-11508/model-system/create-quote-types.raml +0 -35
  952. package/demo/apis/SE-11508/model-system/customer-accounts-types.raml +0 -57
  953. package/demo/apis/SE-11508/model-system/ping-error-messages-types.raml +0 -17
  954. package/demo/apis/SE-11508/model-system/ping-validate-credentials.raml +0 -16
  955. package/demo/apis/SE-11508/model-system/retrieve-quotes-types.raml +0 -40
  956. package/demo/apis/SE-12042/SE-12042.raml +0 -52
  957. package/demo/apis/SE-12042/dataTypes/CheckAPIStatus.raml +0 -25
  958. package/demo/apis/SE-12042/examples/CheckAPIStatusExample1.raml +0 -7
  959. package/demo/apis/SE-12042/examples/CheckAPIStatusExample2.raml +0 -7
  960. package/demo/apis/SE-12042/securitySchemes/x-clientIdSecret.raml +0 -18
  961. package/demo/apis/SE-12224/SE-12224.raml +0 -89
  962. package/demo/apis/SE-12224/dataTypes/product.raml +0 -15
  963. package/demo/apis/SE-12224/dataTypes/products.raml +0 -5
  964. package/demo/apis/SE-12224/examples/product.json +0 -8
  965. package/demo/apis/SE-12224/examples/products.json +0 -8
  966. package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/error.raml +0 -14
  967. package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/examples/error.json +0 -13
  968. package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/examples/innerError.json +0 -7
  969. package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/exchange.json +0 -1
  970. package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/innerError.raml +0 -20
  971. package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/orderable.raml +0 -13
  972. package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/pageable.raml +0 -15
  973. package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/searchable.raml +0 -8
  974. package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/secured-by-aad-oauth2.raml +0 -15
  975. package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/secured-by-basic-authentication.raml +0 -10
  976. package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/secured-by-client-id-secret.raml +0 -15
  977. package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/secured-by-mule-oauth2.raml +0 -15
  978. package/demo/apis/SE-12291/SE-12291.json +0 -357
  979. package/demo/apis/SE-12752/SE-12752.raml +0 -36
  980. package/demo/apis/SE-12957/SE-12957.json +0 -741
  981. package/demo/apis/SE-12959/SE-12959.json +0 -741
  982. package/demo/apis/SE-17897/SE-17897.yaml +0 -21
  983. package/demo/apis/SE-19215/SE-19215.raml +0 -7
  984. package/demo/apis/SE-19500/SE-19500.raml +0 -95
  985. package/demo/apis/SE-19500/docs/home.md +0 -1
  986. package/demo/apis/SE-19500/modules/canada-commons/canda-commons.raml +0 -64
  987. package/demo/apis/SE-19500/modules/canada-commons/ref/log-levels-example.json +0 -3
  988. package/demo/apis/SE-19500/modules/canada-commons/ref/log-levels-response-example.json +0 -3
  989. package/demo/apis/SE-19500/modules/canada-commons/ref/log-levels-response-schema.json +0 -10
  990. package/demo/apis/SE-19500/modules/canada-commons/ref/log-levels-schema.json +0 -30
  991. package/demo/apis/SE-19500/modules/canada-commons/ref/ping-example.json +0 -7
  992. package/demo/apis/SE-19500/modules/canada-commons/ref/ping-schema.json +0 -49
  993. package/demo/apis/SE-19500/modules/canda-mule4-example-data-types/api.raml +0 -6
  994. package/demo/apis/SE-19500/modules/canda-mule4-example-data-types/examples/greeting-example.json +0 -4
  995. package/demo/apis/SE-19500/modules/canda-mule4-example-data-types/examples/greetings-example.json +0 -15
  996. package/demo/apis/SE-19500/modules/canda-mule4-example-data-types/types/greeting-schema.json +0 -22
  997. package/demo/apis/SE-19500/modules/canda-mule4-example-data-types/types/greetings-schema.json +0 -34
  998. package/demo/apis/SE-19500/ref/companies-example.json +0 -14
  999. package/demo/apis/SE-19500/ref/companies-schema.json +0 -70
  1000. package/demo/apis/Streetlights/streetlights.yaml +0 -36
  1001. package/demo/apis/aap-1698/aap-1698.raml +0 -26
  1002. package/demo/apis/amf-helper-api/amf-helper-api.raml +0 -1024
  1003. package/demo/apis/amf-helper-api/examples/comment-example.json +0 -42
  1004. package/demo/apis/amf-helper-api/examples/commentCreateRequest-example.json +0 -7
  1005. package/demo/apis/amf-helper-api/examples/commentList-example.json +0 -48
  1006. package/demo/apis/amf-helper-api/examples/person.json +0 -14
  1007. package/demo/apis/amf-helper-api/examples/person.raml +0 -13
  1008. package/demo/apis/amf-helper-api/examples/person.xml +0 -14
  1009. package/demo/apis/amf-helper-api/libraries/comment-lib.raml +0 -143
  1010. package/demo/apis/amf-helper-api/library.raml +0 -7
  1011. package/demo/apis/amf-helper-api/schemas/person.json +0 -104
  1012. package/demo/apis/amf-helper-api/schemas/person.xsd +0 -26
  1013. package/demo/apis/amf-helper-api/traits/file.raml +0 -33
  1014. package/demo/apis/amf-helper-api/traits/pagination.raml +0 -80
  1015. package/demo/apis/amf-helper-api/traits/results.raml +0 -19
  1016. package/demo/apis/amf-helper-api/traits/visibility.raml +0 -14
  1017. package/demo/apis/amf-helper-api/types/app-person.raml +0 -101
  1018. package/demo/apis/amf-helper-api/types/dimensions.raml +0 -24
  1019. package/demo/apis/amf-helper-api/types/external-type.raml +0 -7
  1020. package/demo/apis/amf-helper-api/types/image.raml +0 -23
  1021. package/demo/apis/amf-helper-api/types/product.raml +0 -52
  1022. package/demo/apis/amf-helper-api/types/resource.raml +0 -11
  1023. package/demo/apis/amf-helper-api/types/standard-request.raml +0 -50
  1024. package/demo/apis/amf-helper-api/types/user.raml +0 -37
  1025. package/demo/apis/annotated-api/annotated-api.raml +0 -82
  1026. package/demo/apis/annotated-parameters/annotated-parameters.raml +0 -18
  1027. package/demo/apis/anyOf/anyOf.yaml +0 -37
  1028. package/demo/apis/api-keys/api-keys.yaml +0 -85
  1029. package/demo/apis/apic-169/apic-169.raml +0 -28
  1030. package/demo/apis/apic-83/apic-83.raml +0 -32
  1031. package/demo/apis/appian-api/appian-api.raml +0 -184
  1032. package/demo/apis/array-body/array-body.raml +0 -23
  1033. package/demo/apis/async-api/async-api.yaml +0 -96
  1034. package/demo/apis/demo-api/demo-api.raml +0 -1425
  1035. package/demo/apis/demo-api/examples/e400.xml +0 -4
  1036. package/demo/apis/demo-api/examples/e401.xml +0 -4
  1037. package/demo/apis/demo-api/examples/e404.xml +0 -4
  1038. package/demo/apis/demo-api/examples/image.xml +0 -5
  1039. package/demo/apis/demo-api/examples/messages-example.json +0 -22
  1040. package/demo/apis/demo-api/examples/messages-sent-example.json +0 -15
  1041. package/demo/apis/demo-api/examples/person.json +0 -14
  1042. package/demo/apis/demo-api/examples/person.raml +0 -14
  1043. package/demo/apis/demo-api/examples/person.url.encoded +0 -1
  1044. package/demo/apis/demo-api/examples/person.xml +0 -14
  1045. package/demo/apis/demo-api/examples/product.xml +0 -9
  1046. package/demo/apis/demo-api/library/demo-types.raml +0 -44
  1047. package/demo/apis/demo-api/library.raml +0 -36
  1048. package/demo/apis/demo-api/resourceTypes/app-person.raml +0 -111
  1049. package/demo/apis/demo-api/resourceTypes/example-types.raml +0 -45
  1050. package/demo/apis/demo-api/resourceTypes/image.raml +0 -23
  1051. package/demo/apis/demo-api/resourceTypes/message-sent-type.raml +0 -23
  1052. package/demo/apis/demo-api/resourceTypes/message-type.raml +0 -33
  1053. package/demo/apis/demo-api/resourceTypes/product.raml +0 -52
  1054. package/demo/apis/demo-api/resourceTypes/resource.raml +0 -11
  1055. package/demo/apis/demo-api/schemas/error-response.xsd +0 -11
  1056. package/demo/apis/demo-api/schemas/image.xsd +0 -11
  1057. package/demo/apis/demo-api/schemas/person.json +0 -104
  1058. package/demo/apis/demo-api/schemas/person.xsd +0 -26
  1059. package/demo/apis/demo-api/schemas/product.xsd +0 -17
  1060. package/demo/apis/demo-api/securitySchemes/basic.raml +0 -5
  1061. package/demo/apis/demo-api/securitySchemes/oauth-2-custom-settings.raml +0 -143
  1062. package/demo/apis/demo-api/securitySchemes/oauth2-header-delivery.raml +0 -13
  1063. package/demo/apis/demo-api/securitySchemes/oauth2-no-delivery.raml +0 -8
  1064. package/demo/apis/demo-api/securitySchemes/oauth2-no-grants.raml +0 -12
  1065. package/demo/apis/demo-api/securitySchemes/oauth2-pkce.raml +0 -13
  1066. package/demo/apis/demo-api/securitySchemes/oauth2-query-delivery.raml +0 -13
  1067. package/demo/apis/demo-api/securitySchemes/oauth_1_0.raml +0 -8
  1068. package/demo/apis/demo-api/securitySchemes/oauth_1_0_no-settings.raml +0 -3
  1069. package/demo/apis/demo-api/securitySchemes/oauth_1_0_no-signature.raml +0 -7
  1070. package/demo/apis/demo-api/securitySchemes/oauth_1_0_signature.raml +0 -8
  1071. package/demo/apis/demo-api/securitySchemes/oauth_2_0.raml +0 -29
  1072. package/demo/apis/demo-api/securitySchemes/passthrough-querystring.raml +0 -16
  1073. package/demo/apis/demo-api/securitySchemes/passthrough.raml +0 -24
  1074. package/demo/apis/demo-api/securitySchemes/x-custom.raml +0 -33
  1075. package/demo/apis/demo-api/securitySchemes/x-other.raml +0 -29
  1076. package/demo/apis/demo-api/securitySchemes/x-query-string.raml +0 -16
  1077. package/demo/apis/demo-api/traits/adminable.raml +0 -23
  1078. package/demo/apis/demo-api/traits/pagination.raml +0 -83
  1079. package/demo/apis/demo-api/traits/rate-limited.raml +0 -9
  1080. package/demo/apis/demo-api/types/DemoPerson.raml +0 -67
  1081. package/demo/apis/demo-document/demo-document.raml +0 -21
  1082. package/demo/apis/documentation-fragment/documentation-fragment.raml +0 -76
  1083. package/demo/apis/documented-api/documented-api.raml +0 -29
  1084. package/demo/apis/enum-test/enum-test.raml +0 -64
  1085. package/demo/apis/example-fragment/example-fragment.raml +0 -8
  1086. package/demo/apis/examples-api/Address-1.0.raml +0 -75
  1087. package/demo/apis/examples-api/CompanyIdentification-1.0.raml +0 -48
  1088. package/demo/apis/examples-api/CompanyProfile-1.0.raml +0 -14
  1089. package/demo/apis/examples-api/CompanyProfileBase-1.0.raml +0 -48
  1090. package/demo/apis/examples-api/contact-email-example.raml +0 -6
  1091. package/demo/apis/examples-api/contact-example.raml +0 -7
  1092. package/demo/apis/examples-api/contact-fax-example.raml +0 -7
  1093. package/demo/apis/examples-api/contact-website-example.raml +0 -4
  1094. package/demo/apis/examples-api/example-1.raml +0 -7
  1095. package/demo/apis/examples-api/example-2.raml +0 -12
  1096. package/demo/apis/examples-api/example-3.raml +0 -5
  1097. package/demo/apis/examples-api/example-4.raml +0 -3
  1098. package/demo/apis/examples-api/example-5.raml +0 -5
  1099. package/demo/apis/examples-api/example-6.raml +0 -3
  1100. package/demo/apis/examples-api/example-7.raml +0 -7
  1101. package/demo/apis/examples-api/example.json +0 -14
  1102. package/demo/apis/examples-api/example.xml +0 -15
  1103. package/demo/apis/examples-api/example.xsd +0 -26
  1104. package/demo/apis/examples-api/examples/Address_BE_Example-1.0.raml +0 -10
  1105. package/demo/apis/examples-api/examples/Address_GB_Example-1.0.raml +0 -8
  1106. package/demo/apis/examples-api/examples/Address_NL_Example-1.0.raml +0 -8
  1107. package/demo/apis/examples-api/examples/Addresses_BE_Example-1.0.raml +0 -11
  1108. package/demo/apis/examples-api/examples/Addresses_GB_Example-1.0.raml +0 -9
  1109. package/demo/apis/examples-api/examples/Addresses_NL_Example-1.0.raml +0 -17
  1110. package/demo/apis/examples-api/examples/CompanyIdentification_BE_Example-1.0.raml +0 -7
  1111. package/demo/apis/examples-api/examples/CompanyIdentification_GB_Example-1.0.raml +0 -7
  1112. package/demo/apis/examples-api/examples/CompanyIdentification_NL_BranchId_Example-1.0.raml +0 -7
  1113. package/demo/apis/examples-api/examples/CompanyIdentification_NL_Example-1.0.raml +0 -7
  1114. package/demo/apis/examples-api/examples/CompanyIdentification_NL_GY-Holding_Example-1.0.raml +0 -6
  1115. package/demo/apis/examples-api/examples/CompanyLegalForm_BE_Example-1.0.raml +0 -3
  1116. package/demo/apis/examples-api/examples/CompanyLegalForm_GB_Example-1.0.raml +0 -3
  1117. package/demo/apis/examples-api/examples/CompanyLegalForm_NL_Example-1.0.raml +0 -3
  1118. package/demo/apis/examples-api/examples/CompanyProfile_BE_Example-1.0.raml +0 -14
  1119. package/demo/apis/examples-api/examples/CompanyProfile_GB_Example-1.0.raml +0 -11
  1120. package/demo/apis/examples-api/examples/CompanyProfile_NL_Example-1.0.raml +0 -12
  1121. package/demo/apis/examples-api/examples/Company_BE_Example-1.0.raml +0 -3
  1122. package/demo/apis/examples-api/examples/Company_GB_Example-1.0.raml +0 -3
  1123. package/demo/apis/examples-api/examples/Company_NL_Example-1.0.raml +0 -3
  1124. package/demo/apis/examples-api/examples-api.raml +0 -313
  1125. package/demo/apis/examples-api/linked-named-example.raml +0 -22
  1126. package/demo/apis/examples-api/named-example-with-link.raml +0 -3
  1127. package/demo/apis/examples-api/named-example.raml +0 -7
  1128. package/demo/apis/examples-api/type-with-linked-examples.raml +0 -15
  1129. package/demo/apis/examples-api/user-json-example.raml +0 -17
  1130. package/demo/apis/examples-api/user-raml-example.raml +0 -37
  1131. package/demo/apis/examples-api/user.json +0 -8
  1132. package/demo/apis/examples-api/user.raml +0 -18
  1133. package/demo/apis/examples-api/users-json-example.raml +0 -17
  1134. package/demo/apis/examples-api/users-raml-example.raml +0 -32
  1135. package/demo/apis/examples-api/users.json +0 -8
  1136. package/demo/apis/expanded-api/expanded-api.raml +0 -8
  1137. package/demo/apis/ext-docs/ext-docs.yaml +0 -15
  1138. package/demo/apis/flattened-api/flattened-api.raml +0 -8
  1139. package/demo/apis/google-drive-api/docs/api/headline.md +0 -1
  1140. package/demo/apis/google-drive-api/docs/search-for-file.md +0 -176
  1141. package/demo/apis/google-drive-api/docs/upload-files.md +0 -268
  1142. package/demo/apis/google-drive-api/docs/uploadApi/headline.md +0 -1
  1143. package/demo/apis/google-drive-api/docs/work-with-folders.md +0 -307
  1144. package/demo/apis/google-drive-api/examples/about-example.json +0 -470
  1145. package/demo/apis/google-drive-api/examples/app-example.json +0 -100
  1146. package/demo/apis/google-drive-api/examples/app-list-example.json +0 -108
  1147. package/demo/apis/google-drive-api/examples/change-example.json +0 -91
  1148. package/demo/apis/google-drive-api/examples/changeList-example.json +0 -351
  1149. package/demo/apis/google-drive-api/examples/channel-example.json +0 -8
  1150. package/demo/apis/google-drive-api/examples/childList-example.json +0 -15
  1151. package/demo/apis/google-drive-api/examples/childReference-example.json +0 -6
  1152. package/demo/apis/google-drive-api/examples/comment-example.json +0 -42
  1153. package/demo/apis/google-drive-api/examples/comment-reply-update-response.json +0 -18
  1154. package/demo/apis/google-drive-api/examples/commentCreateRequest-example.json +0 -7
  1155. package/demo/apis/google-drive-api/examples/commentList-example.json +0 -48
  1156. package/demo/apis/google-drive-api/examples/commentReply-example.json +0 -17
  1157. package/demo/apis/google-drive-api/examples/commentReplyList-example.json +0 -21
  1158. package/demo/apis/google-drive-api/examples/commentReplyRequest-example.json +0 -4
  1159. package/demo/apis/google-drive-api/examples/file-example.json +0 -92
  1160. package/demo/apis/google-drive-api/examples/fileList-example.json +0 -98
  1161. package/demo/apis/google-drive-api/examples/newFileRequest-example.json +0 -29
  1162. package/demo/apis/google-drive-api/examples/parentList-example.json +0 -14
  1163. package/demo/apis/google-drive-api/examples/parentReference-example.json +0 -7
  1164. package/demo/apis/google-drive-api/examples/permission-example.json +0 -18
  1165. package/demo/apis/google-drive-api/examples/permissionId-example.json +0 -4
  1166. package/demo/apis/google-drive-api/examples/permissionList-example.json +0 -17
  1167. package/demo/apis/google-drive-api/examples/permissionRequest-example.json +0 -9
  1168. package/demo/apis/google-drive-api/examples/permissionUpdateRequest-example.json +0 -9
  1169. package/demo/apis/google-drive-api/examples/property-example.json +0 -8
  1170. package/demo/apis/google-drive-api/examples/propertyList-example.json +0 -13
  1171. package/demo/apis/google-drive-api/examples/revision-example.json +0 -30
  1172. package/demo/apis/google-drive-api/examples/revisionList-example.json +0 -35
  1173. package/demo/apis/google-drive-api/examples/revisionUpdateRequest-example.json +0 -6
  1174. package/demo/apis/google-drive-api/examples/stopWatchingRequest-example.json +0 -4
  1175. package/demo/apis/google-drive-api/examples/watchRequest-example.json +0 -7
  1176. package/demo/apis/google-drive-api/google-drive-api.raml +0 -1118
  1177. package/demo/apis/google-drive-api/libraries/about-lib.raml +0 -121
  1178. package/demo/apis/google-drive-api/libraries/annotations.raml +0 -4
  1179. package/demo/apis/google-drive-api/libraries/app-lib.raml +0 -134
  1180. package/demo/apis/google-drive-api/libraries/child-lib.raml +0 -53
  1181. package/demo/apis/google-drive-api/libraries/comment-lib.raml +0 -145
  1182. package/demo/apis/google-drive-api/libraries/file-lib.raml +0 -517
  1183. package/demo/apis/google-drive-api/libraries/parent-lib.raml +0 -52
  1184. package/demo/apis/google-drive-api/libraries/permission-lib.raml +0 -146
  1185. package/demo/apis/google-drive-api/libraries/properties-lib.raml +0 -44
  1186. package/demo/apis/google-drive-api/libraries/revision-lib.raml +0 -116
  1187. package/demo/apis/google-drive-api/libraries/watch-lib.raml +0 -128
  1188. package/demo/apis/google-drive-api/securitySchemes/oauth_2_0.raml +0 -25
  1189. package/demo/apis/google-drive-api/traits/file.raml +0 -33
  1190. package/demo/apis/google-drive-api/traits/results.raml +0 -19
  1191. package/demo/apis/google-drive-api/traits/visibility.raml +0 -17
  1192. package/demo/apis/google-drive-api/types/additional-role-info.raml +0 -12
  1193. package/demo/apis/google-drive-api/types/channels-stop.raml +0 -11
  1194. package/demo/apis/google-drive-api/types/export-format.raml +0 -11
  1195. package/demo/apis/google-drive-api/types/feature.raml +0 -11
  1196. package/demo/apis/google-drive-api/types/file-capabilities.raml +0 -69
  1197. package/demo/apis/google-drive-api/types/file-labels.raml +0 -35
  1198. package/demo/apis/google-drive-api/types/icon.raml +0 -25
  1199. package/demo/apis/google-drive-api/types/import-format.raml +0 -11
  1200. package/demo/apis/google-drive-api/types/new-drive-file.raml +0 -48
  1201. package/demo/apis/google-drive-api/types/owners.raml +0 -32
  1202. package/demo/apis/google-drive-api/types/picture.raml +0 -9
  1203. package/demo/apis/google-drive-api/types/property.raml +0 -25
  1204. package/demo/apis/google-drive-api/types/resource.raml +0 -28
  1205. package/demo/apis/google-drive-api/types/role-set.raml +0 -11
  1206. package/demo/apis/google-drive-api/types/service-quota.raml +0 -10
  1207. package/demo/apis/google-drive-api/types/standard-request.raml +0 -51
  1208. package/demo/apis/google-drive-api/types/team-drive-list.raml +0 -18
  1209. package/demo/apis/google-drive-api/types/team-drive.raml +0 -59
  1210. package/demo/apis/google-drive-api/types/thumbnail.raml +0 -14
  1211. package/demo/apis/google-drive-api/types/upload-size.raml +0 -12
  1212. package/demo/apis/google-drive-api/types/user.raml +0 -37
  1213. package/demo/apis/httpbin/httpbin.json +0 -1836
  1214. package/demo/apis/lib-fragment/lib-fragment.raml +0 -55
  1215. package/demo/apis/loan-ms/loan-microservice.json +0 -699
  1216. package/demo/apis/missing-endpoints/missing-endpoints.raml +0 -34
  1217. package/demo/apis/mocking-service/mocking-service.raml +0 -149
  1218. package/demo/apis/modular-api/models/ecommerce-canonical.raml +0 -89
  1219. package/demo/apis/modular-api/models/ecommerce.raml +0 -36
  1220. package/demo/apis/modular-api/models/things.raml +0 -32
  1221. package/demo/apis/modular-api/modular-api.raml +0 -12
  1222. package/demo/apis/multi-server/multi-server.yaml +0 -128
  1223. package/demo/apis/multiple-servers/multiple-servers.yaml +0 -112
  1224. package/demo/apis/navigation-api/library.raml +0 -7
  1225. package/demo/apis/navigation-api/navigation-api.raml +0 -357
  1226. package/demo/apis/navigation-api/types/app-person.raml +0 -101
  1227. package/demo/apis/navigation-api/types/image.raml +0 -23
  1228. package/demo/apis/navigation-api/types/product.raml +0 -52
  1229. package/demo/apis/navigation-api/types/resource.raml +0 -11
  1230. package/demo/apis/new-oas3-types/new-oas3-types.yaml +0 -84
  1231. package/demo/apis/nexmo-sms-api/nexmo-sms-api.raml +0 -488
  1232. package/demo/apis/no-endpoints/no-endpoints.raml +0 -14
  1233. package/demo/apis/no-server/no-server.raml +0 -27
  1234. package/demo/apis/no-servers-api/no-servers-api.yaml +0 -31
  1235. package/demo/apis/not-schema/not-schema.yaml +0 -38
  1236. package/demo/apis/oas-3-api/oas-3-api.yaml +0 -356
  1237. package/demo/apis/oas-api/LoanMicrosrvice.yaml +0 -339
  1238. package/demo/apis/oas-api/Petstore-v2.yaml +0 -144
  1239. package/demo/apis/oas-api/Petstore.raml +0 -106
  1240. package/demo/apis/oas-api/UBER.raml +0 -274
  1241. package/demo/apis/oas-api/UBER.yaml +0 -272
  1242. package/demo/apis/oas-api/petstore-expanded.raml +0 -141
  1243. package/demo/apis/oas-api/petstore-expanded.yaml +0 -139
  1244. package/demo/apis/oas-api/read-only-properties.yaml +0 -42
  1245. package/demo/apis/oas-bearer/oas-bearer.yaml +0 -45
  1246. package/demo/apis/oas-callbacks/oas-callbacks.yaml +0 -150
  1247. package/demo/apis/oas-demo/oas-demo.yaml +0 -94
  1248. package/demo/apis/oauth-flows/oauth-flows.yaml +0 -61
  1249. package/demo/apis/oauth-pkce/oauth-2-pkce.raml +0 -33
  1250. package/demo/apis/oauth-pkce/oauth-pkce.raml +0 -22
  1251. package/demo/apis/oauth1-fragment/oauth1-fragment.raml +0 -7
  1252. package/demo/apis/oauth2-fragment/oauth2-fragment.raml +0 -30
  1253. package/demo/apis/petstore/petstore.yaml +0 -954
  1254. package/demo/apis/prevent-xss/prevent-xss.json +0 -20
  1255. package/demo/apis/rearrange-api/rearrange-api.raml +0 -32
  1256. package/demo/apis/secured-api/oauth-2-custom-settings.raml +0 -143
  1257. package/demo/apis/secured-api/oauth2-header-delivery.raml +0 -13
  1258. package/demo/apis/secured-api/oauth2-no-delivery.raml +0 -8
  1259. package/demo/apis/secured-api/oauth2-no-grants.raml +0 -12
  1260. package/demo/apis/secured-api/oauth2-pkce.raml +0 -13
  1261. package/demo/apis/secured-api/oauth2-query-delivery.raml +0 -13
  1262. package/demo/apis/secured-api/oauth_1_0.raml +0 -8
  1263. package/demo/apis/secured-api/oauth_1_0_no-settings.raml +0 -3
  1264. package/demo/apis/secured-api/oauth_1_0_no-signature.raml +0 -7
  1265. package/demo/apis/secured-api/oauth_1_0_signature.raml +0 -8
  1266. package/demo/apis/secured-api/passthrough-querystring.raml +0 -16
  1267. package/demo/apis/secured-api/passthrough.raml +0 -24
  1268. package/demo/apis/secured-api/secured-api.raml +0 -231
  1269. package/demo/apis/secured-api/x-custom.raml +0 -33
  1270. package/demo/apis/secured-api/x-other.raml +0 -29
  1271. package/demo/apis/secured-api/x-query-string.raml +0 -16
  1272. package/demo/apis/secured-unions/secured-unions.yaml +0 -95
  1273. package/demo/apis/security-api/oauth-2-custom-settings.raml +0 -154
  1274. package/demo/apis/security-api/readme.md +0 -1
  1275. package/demo/apis/security-api/security/basic.raml +0 -13
  1276. package/demo/apis/security-api/security/digest.raml +0 -5
  1277. package/demo/apis/security-api/security/oauth_1_0.raml +0 -27
  1278. package/demo/apis/security-api/security/oauth_2_0.raml +0 -30
  1279. package/demo/apis/security-api/security/oauth_2_0_no_scopes.raml +0 -29
  1280. package/demo/apis/security-api/security/other-oauth_1_0.raml +0 -29
  1281. package/demo/apis/security-api/security/passthrough.raml +0 -12
  1282. package/demo/apis/security-api/security/x-custom.raml +0 -26
  1283. package/demo/apis/security-api/security/x-other.raml +0 -29
  1284. package/demo/apis/security-api/security-api.raml +0 -89
  1285. package/demo/apis/servers-api/servers-api.yaml +0 -80
  1286. package/demo/apis/simple-api/simple-api.raml +0 -12
  1287. package/demo/apis/steveTest-1/exchange.json +0 -6
  1288. package/demo/apis/steveTest-1/schemas/schema-termsConditionsAccept.json +0 -43
  1289. package/demo/apis/steveTest-1/schemas_response/schema-termsConditionsAccept-Get.json +0 -24
  1290. package/demo/apis/steveTest-1/stevetest.json +0 -167
  1291. package/demo/apis/steveTest-1/traits/response-errors.json +0 -123
  1292. package/demo/apis/steveTest-1/traits/schema-response-errors.json +0 -35
  1293. package/demo/apis/streetlights2/streetlights2.yaml +0 -213
  1294. package/demo/apis/tracked-examples/datatypes/employee.raml +0 -5
  1295. package/demo/apis/tracked-examples/examples/employee.raml +0 -4
  1296. package/demo/apis/tracked-examples/examples/employees.raml +0 -8
  1297. package/demo/apis/tracked-examples/tracked-to-linked.raml +0 -28
  1298. package/demo/apis/type-fragment/type-fragment.raml +0 -96
  1299. package/demo/apis/types-list/exchange.json +0 -1
  1300. package/demo/apis/types-list/library.raml +0 -7
  1301. package/demo/apis/types-list/typeFromDataTypeFile.raml +0 -6
  1302. package/demo/apis/types-list/types-list.raml +0 -38
  1303. package/demo/apis/unordered-endpoints/unordered-endpoints.raml +0 -11
  1304. package/demo/lib/DemoBindings.ts +0 -38
  1305. package/demo/lib/amf/AmfPartialGraphStore.ts +0 -305
  1306. package/demo/lib/amf/AmfPartialModel.ts +0 -690
  1307. package/demo/lib/amf/ApiExamples.ts +0 -3270
  1308. package/demo/lib/io/ApiStore.ts +0 -16
  1309. package/demo/lib/io/SharedWorkerThread.ts +0 -31
  1310. package/demo/lib/io/main.ts +0 -23
  1311. package/demo/model.js +0 -203
  1312. package/demo/store/IpAddress.js +0 -15
  1313. package/demo/store/StorePlugin.js +0 -18
  1314. package/demo/stores.md +0 -5
  1315. package/dev/amf-server/AmfParser.js +0 -144
  1316. package/dev/amf-server/AmfService.js +0 -136
  1317. package/dev/amf-server/ApiError.js +0 -10
  1318. package/dev/amf-server/ParserProcess.js +0 -101
  1319. package/dev/amf-server/api.js +0 -146
  1320. package/dev/types.d.ts +0 -28
  1321. package/src/amf/lib/AmfInputParser.ts +0 -254
  1322. package/src/amf/lib/AmfParameters.ts +0 -814
  1323. package/src/amf/lib/AmfSecurity.ts +0 -45
  1324. package/src/amf/lib/InputCache.ts +0 -100
  1325. package/src/amf/lib/Oauth2RamlCustomData.ts +0 -265
  1326. package/src/amf/lib/PayloadUtils.ts +0 -87
  1327. package/src/amf/lib/QueryParameterProcessor.ts +0 -186
  1328. package/src/amf/lib/UrlUtils.ts +0 -213
  1329. package/src/amf/lib/Utils.ts +0 -220
  1330. package/src/amf/lib/navigation-layout/ApiSorting.ts +0 -20
  1331. package/src/amf/lib/navigation-layout/EndpointsTree.ts +0 -189
  1332. package/src/amf/lib/navigation-layout/NaturalTree.ts +0 -100
  1333. package/src/amf/plugins/ApiNavigationCommands.ts +0 -73
  1334. package/src/amf/plugins/ApiNavigationContextMenu.ts +0 -43
  1335. package/src/amf/store/AmfGraphStore.ts +0 -69
  1336. package/src/amf/store/AmfStore.ts +0 -216
  1337. package/src/amf/store/DomEventsAmfStore.ts +0 -4
  1338. package/src/amf/store/InMemAmfGraphStore.ts +0 -630
  1339. package/src/amf/store/Readme.md +0 -40
  1340. package/src/amf/store/mixins/AmfStoreDomEventsMixin.ts +0 -132
  1341. package/src/amf/types.ts +0 -359
  1342. package/src/define/amf/api-annotation-document.ts +0 -14
  1343. package/src/define/amf/api-authorization-editor.ts +0 -14
  1344. package/src/define/amf/api-channel-document.ts +0 -14
  1345. package/src/define/amf/api-documentation-document.ts +0 -14
  1346. package/src/define/amf/api-documentation.ts +0 -14
  1347. package/src/define/amf/api-navigation.ts +0 -14
  1348. package/src/define/amf/api-operation-document.ts +0 -14
  1349. package/src/define/amf/api-parameter-document.ts +0 -14
  1350. package/src/define/amf/api-parametrized-security-scheme.ts +0 -14
  1351. package/src/define/amf/api-payload-document.ts +0 -14
  1352. package/src/define/amf/api-request-document.ts +0 -14
  1353. package/src/define/amf/api-request-editor.ts +0 -14
  1354. package/src/define/amf/api-request.ts +0 -14
  1355. package/src/define/amf/api-resource-document.ts +0 -14
  1356. package/src/define/amf/api-response-document.ts +0 -14
  1357. package/src/define/amf/api-schema-document.ts +0 -14
  1358. package/src/define/amf/api-security-document.ts +0 -14
  1359. package/src/define/amf/api-security-requirement-document.ts +0 -14
  1360. package/src/define/amf/api-server-picker.ts +0 -14
  1361. package/src/define/amf/api-summary.ts +0 -14
  1362. package/src/define/amf/authorization/amf-apikey-authorization.ts +0 -15
  1363. package/src/define/amf/authorization/amf-basic-authorization.ts +0 -15
  1364. package/src/define/amf/authorization/amf-bearer-authorization.ts +0 -15
  1365. package/src/define/amf/authorization/amf-oauth2-authorization.ts +0 -18
  1366. package/src/define/amf/authorization/amf-oidc-authorization.ts +0 -18
  1367. package/src/define/amf/authorization/amf-passthrough-authorization.ts +0 -15
  1368. package/src/define/amf/authorization/amf-ramlcustom-authorization.ts +0 -15
  1369. package/src/elements/amf/ApiAnnotationDocument.element.ts +0 -181
  1370. package/src/elements/amf/ApiAnnotationDocument.styles.ts +0 -46
  1371. package/src/elements/amf/ApiAuthorizationEditor.element.ts +0 -364
  1372. package/src/elements/amf/ApiAuthorizationEditor.styles.ts +0 -25
  1373. package/src/elements/amf/ApiChannelDocument.element.ts +0 -89
  1374. package/src/elements/amf/ApiDocumentation.element.ts +0 -642
  1375. package/src/elements/amf/ApiDocumentation.styles.ts +0 -11
  1376. package/src/elements/amf/ApiDocumentationBase.ts +0 -296
  1377. package/src/elements/amf/ApiDocumentationDocument.element.ts +0 -85
  1378. package/src/elements/amf/ApiDocumentationDocument.styles.ts +0 -32
  1379. package/src/elements/amf/ApiNavigation.element.ts +0 -2285
  1380. package/src/elements/amf/ApiNavigation.styles.ts +0 -159
  1381. package/src/elements/amf/ApiOperationDocument.element.ts +0 -978
  1382. package/src/elements/amf/ApiOperationDocument.styles.ts +0 -67
  1383. package/src/elements/amf/ApiParameterDocument.element.ts +0 -105
  1384. package/src/elements/amf/ApiParameterDocument.styles.ts +0 -15
  1385. package/src/elements/amf/ApiParametrizedSecurityScheme.element.ts +0 -72
  1386. package/src/elements/amf/ApiParametrizedSecurityScheme.styles.ts +0 -4
  1387. package/src/elements/amf/ApiPayloadDocument.element.ts +0 -128
  1388. package/src/elements/amf/ApiPayloadDocument.styles.ts +0 -15
  1389. package/src/elements/amf/ApiRequest.element.ts +0 -260
  1390. package/src/elements/amf/ApiRequest.styles.ts +0 -11
  1391. package/src/elements/amf/ApiRequestDocument.element.ts +0 -388
  1392. package/src/elements/amf/ApiRequestDocument.styles.ts +0 -13
  1393. package/src/elements/amf/ApiRequestEditor.element.ts +0 -1773
  1394. package/src/elements/amf/ApiRequestEditor.styles.ts +0 -160
  1395. package/src/elements/amf/ApiResourceDocument.element.ts +0 -682
  1396. package/src/elements/amf/ApiResourceDocument.styles.ts +0 -91
  1397. package/src/elements/amf/ApiResponseDocument.element.ts +0 -290
  1398. package/src/elements/amf/ApiResponseDocument.styles.ts +0 -41
  1399. package/src/elements/amf/ApiSchemaDocument.element.ts +0 -786
  1400. package/src/elements/amf/ApiSchemaDocument.styles.ts +0 -41
  1401. package/src/elements/amf/ApiSecurityDocument.element.ts +0 -607
  1402. package/src/elements/amf/ApiSecurityDocument.styles.ts +0 -89
  1403. package/src/elements/amf/ApiSecurityRequirementDocument.element.ts +0 -72
  1404. package/src/elements/amf/ApiSecurityRequirementDocument.styles.ts +0 -7
  1405. package/src/elements/amf/ApiServerPicker.element.ts +0 -690
  1406. package/src/elements/amf/ApiServerPicker.styles.ts +0 -25
  1407. package/src/elements/amf/ApiSummary.element.ts +0 -387
  1408. package/src/elements/amf/ApiSummary.styles.ts +0 -192
  1409. package/src/elements/amf/SchemaCommonTemplates.ts +0 -563
  1410. package/src/elements/amf/authorization/AmfApiKey.ts +0 -250
  1411. package/src/elements/amf/authorization/AmfBasic.ts +0 -77
  1412. package/src/elements/amf/authorization/AmfBearer.ts +0 -63
  1413. package/src/elements/amf/authorization/AmfOauth2.ts +0 -830
  1414. package/src/elements/amf/authorization/AmfOidc.ts +0 -66
  1415. package/src/elements/amf/authorization/AmfPassThrough.ts +0 -261
  1416. package/src/elements/amf/authorization/AmfRamlCustom.ts +0 -291
  1417. package/src/elements/amf/authorization/Authorization.styles.ts +0 -40
  1418. package/src/elements/amf/styles/AuthorizationMethod.ts +0 -46
  1419. package/src/elements/amf/styles/Common.ts +0 -150
  1420. package/src/elements/amf/styles/SchemaCommon.ts +0 -376
  1421. package/src/events/amf/ApiEvents.ts +0 -47
  1422. package/src/events/amf/BaseEvents.ts +0 -96
  1423. package/src/events/amf/DocumentationEvents.ts +0 -29
  1424. package/src/events/amf/EndpointEvents.ts +0 -37
  1425. package/src/events/amf/EventTypes.ts +0 -64
  1426. package/src/events/amf/Events.ts +0 -39
  1427. package/src/events/amf/NavigationEvents.ts +0 -86
  1428. package/src/events/amf/OperationEvents.ts +0 -29
  1429. package/src/events/amf/PayloadEvents.ts +0 -18
  1430. package/src/events/amf/ReportingEvents.ts +0 -28
  1431. package/src/events/amf/RequestEvents.ts +0 -16
  1432. package/src/events/amf/ResponseEvents.ts +0 -18
  1433. package/src/events/amf/SecurityEvents.ts +0 -60
  1434. package/src/events/amf/ServerEvents.ts +0 -94
  1435. package/src/events/amf/StoreEvents.ts +0 -16
  1436. package/src/events/amf/TelemetryEvents.ts +0 -115
  1437. package/src/events/amf/TypeEvents.ts +0 -28
  1438. package/src/visualization/elements/VizAssociationElement.ts +0 -3
  1439. package/src/visualization/elements/VizWorkspaceElement.ts +0 -302
  1440. package/src/visualization/elements/WorkspaceStyles.ts +0 -168
  1441. package/src/visualization/lib/AnchorFinder.ts +0 -112
  1442. package/src/visualization/lib/AnchorUtils.ts +0 -53
  1443. package/src/visualization/lib/AssociationAnchors.ts +0 -418
  1444. package/src/visualization/lib/LabelSketch.ts +0 -67
  1445. package/src/visualization/lib/LineSketch.ts +0 -62
  1446. package/src/visualization/lib/Point.ts +0 -134
  1447. package/src/visualization/lib/PositionUtils.ts +0 -218
  1448. package/src/visualization/lib/SelectionManager.ts +0 -513
  1449. package/src/visualization/lib/ShapeArtist.ts +0 -222
  1450. package/src/visualization/lib/SvgMarkers.ts +0 -80
  1451. package/src/visualization/lib/TipSketch.ts +0 -91
  1452. package/src/visualization/lib/TouchSupport.ts +0 -72
  1453. package/src/visualization/lib/Utils.ts +0 -63
  1454. package/src/visualization/lib/VisualizationTypes.ts +0 -232
  1455. package/src/visualization/lib/WorkspaceAlignment.ts +0 -261
  1456. package/src/visualization/lib/WorkspaceDebugging.ts +0 -313
  1457. package/src/visualization/lib/WorkspaceEdges.ts +0 -1153
  1458. package/src/visualization/lib/WorkspaceGestures.ts +0 -400
  1459. package/src/visualization/lib/WorkspaceSizing.ts +0 -181
  1460. package/src/visualization/lib/lines/RectilinearLine.ts +0 -589
  1461. package/src/visualization/lib/tips/RectilinearTip.ts +0 -156
  1462. package/src/visualization/lib/tips/TipArtist.ts +0 -34
  1463. package/src/visualization/lib/types.ts +0 -173
  1464. package/src/visualization/plugin/dnd/DragAndDropPlugin.ts +0 -294
  1465. package/src/visualization/plugin/group-selection/GroupSelection.ts +0 -271
  1466. package/src/visualization/plugin/positioning/DataModelLayout.ts +0 -114
  1467. package/src/visualization/plugin/positioning/WorkspaceLayout.ts +0 -149
  1468. package/src/visualization/viz-association.ts +0 -9
  1469. package/src/visualization/viz-workspace.ts +0 -9
  1470. package/test/amf/AmfLoader.ts +0 -575
  1471. package/test/amf/MonacoSetup.ts +0 -63
  1472. package/test/amf/authorization/ApiAuthorizationEditorElement.oas.test.ts +0 -253
  1473. package/test/amf/authorization/ApiAuthorizationEditorElement.raml.test.ts +0 -477
  1474. package/test/amf/authorization/ApiKeyMethod.test.ts +0 -160
  1475. package/test/amf/authorization/CustomMethod.test.ts +0 -306
  1476. package/test/amf/authorization/OAuth2-21143.test.ts +0 -40
  1477. package/test/amf/authorization/OAuth2-flows.test.ts +0 -99
  1478. package/test/amf/authorization/OAuth2-pkce.test.ts +0 -39
  1479. package/test/amf/authorization/OAuth2Method.test.ts +0 -369
  1480. package/test/amf/authorization/PassThroughMethod.test.ts +0 -180
  1481. package/test/amf/elements/ApiAnnotationDocumentElement.test.ts +0 -123
  1482. package/test/amf/elements/ApiDocumentationDocumentElement.test.ts +0 -153
  1483. package/test/amf/elements/ApiDocumentationElement.test.ts +0 -680
  1484. package/test/amf/elements/ApiOperationDocumentElement.test.ts +0 -753
  1485. package/test/amf/elements/ApiRequestDocumentElement.test.ts +0 -165
  1486. package/test/amf/elements/ApiResourceDocumentElement.test.ts +0 -320
  1487. package/test/amf/elements/ApiResponseDocumentElement.test.ts +0 -288
  1488. package/test/amf/elements/ApiSchemaDocumentElement.test.ts +0 -934
  1489. package/test/amf/elements/ApiSecurityDocumentElement.test.ts +0 -667
  1490. package/test/amf/elements/ApiSecurityRequirementDocumentElement.test.ts +0 -58
  1491. package/test/amf/elements/ApiServerPickerElement.test.ts +0 -960
  1492. package/test/amf/elements/ApiSummaryElement.test.ts +0 -485
  1493. package/test/amf/elements/SE-12957.test.ts +0 -49
  1494. package/test/amf/events/ApiEvents.test.ts +0 -32
  1495. package/test/amf/events/EndpointEvents.test.ts +0 -94
  1496. package/test/amf/events/EventHelper.ts +0 -11
  1497. package/test/amf/events/EventTypes.test.ts +0 -241
  1498. package/test/amf/events/NavigationEvents.test.ts +0 -58
  1499. package/test/amf/events/ReportingEvents.test.ts +0 -53
  1500. package/test/amf/events/StoreEvents.test.ts +0 -21
  1501. package/test/amf/events/TelemetryEvents.test.ts +0 -202
  1502. package/test/amf/http-request/APIC-289.test.ts +0 -66
  1503. package/test/amf/http-request/APIC-298.test.ts +0 -49
  1504. package/test/amf/http-request/APIC-689.test.ts +0 -45
  1505. package/test/amf/http-request/ApiRequestEditorElement.test.ts +0 -1472
  1506. package/test/amf/http-request/ApiRequestElement.test.ts +0 -39
  1507. package/test/amf/http-request/SE-12042.test.ts +0 -56
  1508. package/test/amf/http-request/SE-12957.test.ts +0 -80
  1509. package/test/amf/http-request/server.ts +0 -154
  1510. package/test/amf/lib/UrlUtils.test.ts +0 -324
  1511. package/test/amf/navigation/ApiNavigationElement.test.ts +0 -1464
  1512. package/test/amf/navigation/documentation-fragment.test.ts +0 -77
  1513. package/test/amf/navigation/security-fragment.test.ts +0 -77
  1514. package/test/amf/navigation/type-fragment.test.ts +0 -77
  1515. package/test/env.d.ts +0 -9
  1516. package/test/env.js +0 -7
  1517. package/test/visualization/lib/AnchorFinder.test.ts +0 -313
  1518. package/test/visualization/lib/AnchorUtils.test.ts +0 -178
  1519. package/test/visualization/lib/PositionUtils.test.ts +0 -406
  1520. package/test/visualization/lib/test-styles.css +0 -80
  1521. package/tsconfig.browser.json +0 -40
  1522. package/tsconfig.testing.json +0 -39
  1523. package/wds-demo.config.js +0 -49
  1524. /package/demo/{elements/md → md}/DemoStyles.ts +0 -0
  1525. /package/demo/{elements/md → md}/chip/pawel6c9a.jpg +0 -0
@@ -1,2244 +0,0 @@
1
- import { __esDecorate, __runInitializers } from "tslib";
2
- import { html } from 'lit';
3
- import { property, state } from 'lit/decorators.js';
4
- import { styleMap } from 'lit/directives/style-map.js';
5
- import { classMap } from 'lit/directives/class-map.js';
6
- import { ifDefined } from 'lit/directives/if-defined.js';
7
- import { ApiSorting } from '../../amf/lib/navigation-layout/ApiSorting.js';
8
- import { EndpointsTree } from '../../amf/lib/navigation-layout/EndpointsTree.js';
9
- import { NaturalTree } from '../../amf/lib/navigation-layout/NaturalTree.js';
10
- import { EventTypes } from '../../events/amf/EventTypes.js';
11
- import { Events } from '../../events/amf/Events.js';
12
- import { cancelEvent } from '../../amf/lib/Utils.js';
13
- import ApiElement from '../ApiElement.js';
14
- import { SnackNotifications } from '../../md/notification/SnackNotifications.js';
15
- import '../../md/icons/ui-icon.js';
16
- import '../../md/collapse/ui-collapse.js';
17
- import '../../md/icon-button/ui-icon-button.js';
18
- const defaultPadding = 40;
19
- let ApiNavigation = (() => {
20
- let _classSuper = ApiElement;
21
- let _instanceExtraInitializers = [];
22
- let _documentMeta_decorators;
23
- let _documentMeta_initializers = [];
24
- let _documentMeta_extraInitializers = [];
25
- let _sourceEndpoints_decorators;
26
- let _sourceEndpoints_initializers = [];
27
- let _sourceEndpoints_extraInitializers = [];
28
- let _set_domainId_decorators;
29
- let _set_query_decorators;
30
- let _set_layout_decorators;
31
- let _set_endpointsExpanded_decorators;
32
- let _apiId_decorators;
33
- let _apiId_initializers = [];
34
- let _apiId_extraInitializers = [];
35
- let _summary_decorators;
36
- let _summary_initializers = [];
37
- let _summary_extraInitializers = [];
38
- let _summaryLabel_decorators;
39
- let _summaryLabel_initializers = [];
40
- let _summaryLabel_extraInitializers = [];
41
- let _documentationsOpened_decorators;
42
- let _documentationsOpened_initializers = [];
43
- let _documentationsOpened_extraInitializers = [];
44
- let _schemasOpened_decorators;
45
- let _schemasOpened_initializers = [];
46
- let _schemasOpened_extraInitializers = [];
47
- let _securityOpened_decorators;
48
- let _securityOpened_initializers = [];
49
- let _securityOpened_extraInitializers = [];
50
- let _endpointsOpened_decorators;
51
- let _endpointsOpened_initializers = [];
52
- let _endpointsOpened_extraInitializers = [];
53
- let _indentSize_decorators;
54
- let _indentSize_initializers = [];
55
- let _indentSize_extraInitializers = [];
56
- let _filter_decorators;
57
- let _filter_initializers = [];
58
- let _filter_extraInitializers = [];
59
- let _manualQuery_decorators;
60
- let _manualQuery_initializers = [];
61
- let _manualQuery_extraInitializers = [];
62
- let _edit_decorators;
63
- let _edit_initializers = [];
64
- let _edit_extraInitializers = [];
65
- return class ApiNavigation extends _classSuper {
66
- static {
67
- const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
68
- _documentMeta_decorators = [state()];
69
- _sourceEndpoints_decorators = [state()];
70
- _set_domainId_decorators = [property({ type: String, reflect: true })];
71
- _set_query_decorators = [property({ type: String })];
72
- _set_layout_decorators = [property({ type: String, reflect: true })];
73
- _set_endpointsExpanded_decorators = [property({ type: Boolean, reflect: true })];
74
- _apiId_decorators = [property({ type: String, reflect: true })];
75
- _summary_decorators = [property({ type: Boolean, reflect: true })];
76
- _summaryLabel_decorators = [property({ type: String, reflect: true })];
77
- _documentationsOpened_decorators = [property({ type: Boolean, reflect: true })];
78
- _schemasOpened_decorators = [property({ type: Boolean, reflect: true })];
79
- _securityOpened_decorators = [property({ type: Boolean, reflect: true })];
80
- _endpointsOpened_decorators = [property({ type: Boolean, reflect: true })];
81
- _indentSize_decorators = [property({ type: Number, reflect: true })];
82
- _filter_decorators = [property({ type: Boolean, reflect: true })];
83
- _manualQuery_decorators = [property({ type: Boolean, reflect: true })];
84
- _edit_decorators = [property({ type: Boolean, reflect: true })];
85
- __esDecorate(this, null, _documentMeta_decorators, { kind: "accessor", name: "documentMeta", static: false, private: false, access: { has: obj => "documentMeta" in obj, get: obj => obj.documentMeta, set: (obj, value) => { obj.documentMeta = value; } }, metadata: _metadata }, _documentMeta_initializers, _documentMeta_extraInitializers);
86
- __esDecorate(this, null, _sourceEndpoints_decorators, { kind: "accessor", name: "sourceEndpoints", static: false, private: false, access: { has: obj => "sourceEndpoints" in obj, get: obj => obj.sourceEndpoints, set: (obj, value) => { obj.sourceEndpoints = value; } }, metadata: _metadata }, _sourceEndpoints_initializers, _sourceEndpoints_extraInitializers);
87
- __esDecorate(this, null, _set_domainId_decorators, { kind: "setter", name: "domainId", static: false, private: false, access: { has: obj => "domainId" in obj, set: (obj, value) => { obj.domainId = value; } }, metadata: _metadata }, null, _instanceExtraInitializers);
88
- __esDecorate(this, null, _set_query_decorators, { kind: "setter", name: "query", static: false, private: false, access: { has: obj => "query" in obj, set: (obj, value) => { obj.query = value; } }, metadata: _metadata }, null, _instanceExtraInitializers);
89
- __esDecorate(this, null, _set_layout_decorators, { kind: "setter", name: "layout", static: false, private: false, access: { has: obj => "layout" in obj, set: (obj, value) => { obj.layout = value; } }, metadata: _metadata }, null, _instanceExtraInitializers);
90
- __esDecorate(this, null, _set_endpointsExpanded_decorators, { kind: "setter", name: "endpointsExpanded", static: false, private: false, access: { has: obj => "endpointsExpanded" in obj, set: (obj, value) => { obj.endpointsExpanded = value; } }, metadata: _metadata }, null, _instanceExtraInitializers);
91
- __esDecorate(this, null, _apiId_decorators, { kind: "accessor", name: "apiId", static: false, private: false, access: { has: obj => "apiId" in obj, get: obj => obj.apiId, set: (obj, value) => { obj.apiId = value; } }, metadata: _metadata }, _apiId_initializers, _apiId_extraInitializers);
92
- __esDecorate(this, null, _summary_decorators, { kind: "accessor", name: "summary", static: false, private: false, access: { has: obj => "summary" in obj, get: obj => obj.summary, set: (obj, value) => { obj.summary = value; } }, metadata: _metadata }, _summary_initializers, _summary_extraInitializers);
93
- __esDecorate(this, null, _summaryLabel_decorators, { kind: "accessor", name: "summaryLabel", static: false, private: false, access: { has: obj => "summaryLabel" in obj, get: obj => obj.summaryLabel, set: (obj, value) => { obj.summaryLabel = value; } }, metadata: _metadata }, _summaryLabel_initializers, _summaryLabel_extraInitializers);
94
- __esDecorate(this, null, _documentationsOpened_decorators, { kind: "accessor", name: "documentationsOpened", static: false, private: false, access: { has: obj => "documentationsOpened" in obj, get: obj => obj.documentationsOpened, set: (obj, value) => { obj.documentationsOpened = value; } }, metadata: _metadata }, _documentationsOpened_initializers, _documentationsOpened_extraInitializers);
95
- __esDecorate(this, null, _schemasOpened_decorators, { kind: "accessor", name: "schemasOpened", static: false, private: false, access: { has: obj => "schemasOpened" in obj, get: obj => obj.schemasOpened, set: (obj, value) => { obj.schemasOpened = value; } }, metadata: _metadata }, _schemasOpened_initializers, _schemasOpened_extraInitializers);
96
- __esDecorate(this, null, _securityOpened_decorators, { kind: "accessor", name: "securityOpened", static: false, private: false, access: { has: obj => "securityOpened" in obj, get: obj => obj.securityOpened, set: (obj, value) => { obj.securityOpened = value; } }, metadata: _metadata }, _securityOpened_initializers, _securityOpened_extraInitializers);
97
- __esDecorate(this, null, _endpointsOpened_decorators, { kind: "accessor", name: "endpointsOpened", static: false, private: false, access: { has: obj => "endpointsOpened" in obj, get: obj => obj.endpointsOpened, set: (obj, value) => { obj.endpointsOpened = value; } }, metadata: _metadata }, _endpointsOpened_initializers, _endpointsOpened_extraInitializers);
98
- __esDecorate(this, null, _indentSize_decorators, { kind: "accessor", name: "indentSize", static: false, private: false, access: { has: obj => "indentSize" in obj, get: obj => obj.indentSize, set: (obj, value) => { obj.indentSize = value; } }, metadata: _metadata }, _indentSize_initializers, _indentSize_extraInitializers);
99
- __esDecorate(this, null, _filter_decorators, { kind: "accessor", name: "filter", static: false, private: false, access: { has: obj => "filter" in obj, get: obj => obj.filter, set: (obj, value) => { obj.filter = value; } }, metadata: _metadata }, _filter_initializers, _filter_extraInitializers);
100
- __esDecorate(this, null, _manualQuery_decorators, { kind: "accessor", name: "manualQuery", static: false, private: false, access: { has: obj => "manualQuery" in obj, get: obj => obj.manualQuery, set: (obj, value) => { obj.manualQuery = value; } }, metadata: _metadata }, _manualQuery_initializers, _manualQuery_extraInitializers);
101
- __esDecorate(this, null, _edit_decorators, { kind: "accessor", name: "edit", static: false, private: false, access: { has: obj => "edit" in obj, get: obj => obj.edit, set: (obj, value) => { obj.edit = value; } }, metadata: _metadata }, _edit_initializers, _edit_extraInitializers);
102
- if (_metadata) Object.defineProperty(this, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
103
- }
104
- queryingInternal = __runInitializers(this, _instanceExtraInitializers);
105
- abortControllerInternal;
106
- domainIdInternal;
107
- domainTypeInternal;
108
- selectedItemInternal;
109
- focusedItemInternal;
110
- /**
111
- * The processed and final query term for the list items.
112
- */
113
- queryInternal;
114
- #documentMeta_accessor_storage = __runInitializers(this, _documentMeta_initializers, void 0);
115
- get documentMeta() { return this.#documentMeta_accessor_storage; }
116
- set documentMeta(value) { this.#documentMeta_accessor_storage = value; }
117
- layoutInternal = __runInitializers(this, _documentMeta_extraInitializers);
118
- endpointsExpandedInternal;
119
- endpointsInternal;
120
- get endpoints() {
121
- const { endpointsInternal } = this;
122
- if (!endpointsInternal) {
123
- return undefined;
124
- }
125
- return [...endpointsInternal];
126
- }
127
- documentationsInternal;
128
- get documentations() {
129
- const { documentationsInternal } = this;
130
- if (!documentationsInternal) {
131
- return undefined;
132
- }
133
- return [...documentationsInternal];
134
- }
135
- schemasInternal;
136
- get schemas() {
137
- const { schemasInternal } = this;
138
- if (!schemasInternal) {
139
- return undefined;
140
- }
141
- return [...schemasInternal];
142
- }
143
- securityInternal;
144
- get security() {
145
- const { securityInternal } = this;
146
- if (!securityInternal) {
147
- return undefined;
148
- }
149
- return [...securityInternal];
150
- }
151
- /**
152
- * Holds a list of ids of currently opened endpoints.
153
- */
154
- openedEndpoints;
155
- /**
156
- * Cached list of all list elements
157
- */
158
- itemsInternal;
159
- get items() {
160
- const { itemsInternal } = this;
161
- if (!itemsInternal) {
162
- return undefined;
163
- }
164
- return [...itemsInternal];
165
- }
166
- #sourceEndpoints_accessor_storage = __runInitializers(this, _sourceEndpoints_initializers, void 0);
167
- get sourceEndpoints() { return this.#sourceEndpoints_accessor_storage; }
168
- set sourceEndpoints(value) { this.#sourceEndpoints_accessor_storage = value; }
169
- shiftTabPressedInternal = __runInitializers(this, _sourceEndpoints_extraInitializers);
170
- get shiftTabPressed() {
171
- return this.shiftTabPressedInternal || false;
172
- }
173
- summarySelectedInternal;
174
- addingSchemaTypeInternal;
175
- addingSchemaInternal;
176
- addingDocumentationInternal;
177
- addingExternalInternal;
178
- addingEndpointInternal;
179
- /**
180
- * When true then the element is currently querying for the graph data.
181
- */
182
- get querying() {
183
- return this.queryingInternal || false;
184
- }
185
- /**
186
- * Set when `querying`. Use to abort the query operation.
187
- * When calling `abort` on the controller the element stops querying and processing the graph data.
188
- * All data that already has been processed are not cleared.
189
- */
190
- get abortController() {
191
- return this.abortControllerInternal;
192
- }
193
- /**
194
- * A model `@id` of selected documentation part.
195
- * Special case is for `summary` view. It's not part of an API
196
- * but most applications has some kins of summary view for the
197
- * API.
198
- * @attribute
199
- */
200
- get domainId() {
201
- return this.domainIdInternal;
202
- }
203
- set domainId(value) {
204
- const old = this.domainIdInternal;
205
- if (old === value) {
206
- return;
207
- }
208
- this.domainIdInternal = value;
209
- this.requestUpdate('domainId', old);
210
- this.select(value);
211
- }
212
- /**
213
- * Type of the selected domain item.
214
- */
215
- get domainType() {
216
- return this.domainTypeInternal;
217
- }
218
- /**
219
- * true when `_docs` property is set with values
220
- */
221
- get hasDocs() {
222
- const docs = this.documentationsInternal;
223
- return Array.isArray(docs) && !!docs.length;
224
- }
225
- /**
226
- * true when has schemas definitions
227
- */
228
- get hasSchemas() {
229
- const items = this.schemasInternal;
230
- return Array.isArray(items) && !!items.length;
231
- }
232
- /**
233
- * true when `_security` property is set with values
234
- */
235
- get hasSecurity() {
236
- const items = this.securityInternal;
237
- return Array.isArray(items) && !!items.length;
238
- }
239
- /**
240
- * true when `_endpoints` property is set with values
241
- */
242
- get hasEndpoints() {
243
- const items = this.endpointsInternal;
244
- return Array.isArray(items) && !!items.length;
245
- }
246
- /**
247
- * A reference to currently selected element.
248
- */
249
- get selectedItem() {
250
- return this.selectedItemInternal;
251
- }
252
- /**
253
- * The currently focused item.
254
- */
255
- get focusedItem() {
256
- return this.focusedItemInternal;
257
- }
258
- /**
259
- * Filters list elements by this value when set.
260
- * Clear the value to reset the search.
261
- *
262
- * This is not currently exposed in element's UI due
263
- * to complexity of search and performance.
264
- * @attribute
265
- */
266
- get query() {
267
- return this.queryInternal;
268
- }
269
- set query(value) {
270
- const old = this.queryInternal;
271
- if (old === value) {
272
- return;
273
- }
274
- this.queryInternal = value;
275
- this.processQuery(value);
276
- this.requestUpdate('query', old);
277
- }
278
- /**
279
- * By default the endpoints are rendered one-by-one as defined in the API spec file
280
- * without any tree structure. When this option is set it sorts the endpoints
281
- * alphabetically and creates a tree structure for the endpoints.
282
- *
283
- * - tree - creates a tree structure from the endpoints list
284
- * - natural - behavior consistent with the previous version of the navigation.
285
- * Creates a tree structure based on the previous endpoints.
286
- * - natural-sort - as `natural` but endpoints are sorted by name.
287
- * - off (or none) - just like in the API spec.
288
- *
289
- * Note, the resulted tree structure will likely be different to the one encoded
290
- * in the API spec file.
291
- * @attribute
292
- */
293
- get layout() {
294
- return this.layoutInternal;
295
- }
296
- set layout(value) {
297
- const old = this.layoutInternal;
298
- if (old === value) {
299
- return;
300
- }
301
- this.layoutInternal = value;
302
- this.layoutEndpoints();
303
- this.requestUpdate('layout', old);
304
- }
305
- /**
306
- * When set it expands or opens all endpoints and makes all operations visible.
307
- * Note, the user can toggle an endpoint anyway so this property does not mean
308
- * that all endpoints are expanded. When it's true then it means that all endpoints
309
- * was expanded at some point in time.
310
- * @attribute
311
- */
312
- get endpointsExpanded() {
313
- const value = this.endpointsExpandedInternal;
314
- if (typeof value !== 'boolean') {
315
- return false;
316
- }
317
- return value;
318
- }
319
- set endpointsExpanded(value) {
320
- const old = this.endpointsExpandedInternal;
321
- if (old === value) {
322
- return;
323
- }
324
- this.endpointsExpandedInternal = value;
325
- if (value) {
326
- this.expandAllEndpoints();
327
- }
328
- else {
329
- this.collapseAllEndpoints();
330
- }
331
- }
332
- /**
333
- * True when the summary entry is rendered.
334
- * Summary should be rendered only when `summary` is set and current model is not a RAML fragment.
335
- */
336
- get summaryRendered() {
337
- const { summary, documentMeta } = this;
338
- if (!summary || !documentMeta) {
339
- return false;
340
- }
341
- const { isFragment, isLibrary } = documentMeta;
342
- return !isFragment && !isLibrary;
343
- }
344
- #apiId_accessor_storage = __runInitializers(this, _apiId_initializers, void 0);
345
- /**
346
- * When this property change the element queries the graph store for the data model.
347
- * It can be skipped when the application calls the `queryGraph()` method imperatively.
348
- * @attribute
349
- */
350
- get apiId() { return this.#apiId_accessor_storage; }
351
- set apiId(value) { this.#apiId_accessor_storage = value; }
352
- #summary_accessor_storage = (__runInitializers(this, _apiId_extraInitializers), __runInitializers(this, _summary_initializers, void 0));
353
- /**
354
- * If set it renders `API summary` menu option.
355
- * It will allow to set `domainId` and `domainType` to `summary`
356
- * when this option is set.
357
- * @attribute
358
- */
359
- get summary() { return this.#summary_accessor_storage; }
360
- set summary(value) { this.#summary_accessor_storage = value; }
361
- #summaryLabel_accessor_storage = (__runInitializers(this, _summary_extraInitializers), __runInitializers(this, _summaryLabel_initializers, void 0));
362
- /**
363
- * A label for the `summary` section.
364
- * @attribute
365
- */
366
- get summaryLabel() { return this.#summaryLabel_accessor_storage; }
367
- set summaryLabel(value) { this.#summaryLabel_accessor_storage = value; }
368
- #documentationsOpened_accessor_storage = (__runInitializers(this, _summaryLabel_extraInitializers), __runInitializers(this, _documentationsOpened_initializers, void 0));
369
- /**
370
- * Determines and changes state of documentation panel.
371
- * @attribute
372
- */
373
- get documentationsOpened() { return this.#documentationsOpened_accessor_storage; }
374
- set documentationsOpened(value) { this.#documentationsOpened_accessor_storage = value; }
375
- #schemasOpened_accessor_storage = (__runInitializers(this, _documentationsOpened_extraInitializers), __runInitializers(this, _schemasOpened_initializers, void 0));
376
- /**
377
- * Determines and changes state of schemas (types) panel.
378
- * @attribute
379
- */
380
- get schemasOpened() { return this.#schemasOpened_accessor_storage; }
381
- set schemasOpened(value) { this.#schemasOpened_accessor_storage = value; }
382
- #securityOpened_accessor_storage = (__runInitializers(this, _schemasOpened_extraInitializers), __runInitializers(this, _securityOpened_initializers, void 0));
383
- /**
384
- * Determines and changes state of security panel.
385
- * @attribute
386
- */
387
- get securityOpened() { return this.#securityOpened_accessor_storage; }
388
- set securityOpened(value) { this.#securityOpened_accessor_storage = value; }
389
- #endpointsOpened_accessor_storage = (__runInitializers(this, _securityOpened_extraInitializers), __runInitializers(this, _endpointsOpened_initializers, void 0));
390
- /**
391
- * Determines and changes state of endpoints panel.
392
- * @attribute
393
- */
394
- get endpointsOpened() { return this.#endpointsOpened_accessor_storage; }
395
- set endpointsOpened(value) { this.#endpointsOpened_accessor_storage = value; }
396
- #indentSize_accessor_storage = (__runInitializers(this, _endpointsOpened_extraInitializers), __runInitializers(this, _indentSize_initializers, void 0));
397
- /**
398
- * Size of endpoint indentation for nested resources.
399
- * In pixels.
400
- *
401
- * The attribute name for this property is `indent-size`. Note, that this
402
- * will change to web consistent name `indentSize` in the future.
403
- * @attribute
404
- */
405
- get indentSize() { return this.#indentSize_accessor_storage; }
406
- set indentSize(value) { this.#indentSize_accessor_storage = value; }
407
- #filter_accessor_storage = (__runInitializers(this, _indentSize_extraInitializers), __runInitializers(this, _filter_initializers, void 0));
408
- /**
409
- * When set it renders an input to filter the menu items.
410
- * @attribute
411
- */
412
- get filter() { return this.#filter_accessor_storage; }
413
- set filter(value) { this.#filter_accessor_storage = value; }
414
- #manualQuery_accessor_storage = (__runInitializers(this, _filter_extraInitializers), __runInitializers(this, _manualQuery_initializers, void 0));
415
- /**
416
- * When set the element won't query the store when attached to the DOM.
417
- * Instead set the `apiId` property or directly call the `queryGraph()` function.
418
- * @attribute
419
- */
420
- get manualQuery() { return this.#manualQuery_accessor_storage; }
421
- set manualQuery(value) { this.#manualQuery_accessor_storage = value; }
422
- #edit_accessor_storage = (__runInitializers(this, _manualQuery_extraInitializers), __runInitializers(this, _edit_initializers, void 0));
423
- /**
424
- * When set it enables graph items editing functionality.
425
- * The user can double-click on a menu item and edit its name.
426
- * @attribute
427
- */
428
- get edit() { return this.#edit_accessor_storage; }
429
- set edit(value) { this.#edit_accessor_storage = value; }
430
- constructor() {
431
- super();
432
- __runInitializers(this, _edit_extraInitializers);
433
- this.summaryLabel = 'Summary';
434
- this.indentSize = defaultPadding;
435
- this.openedEndpoints = [];
436
- this.graphChangeHandler = this.graphChangeHandler.bind(this);
437
- this.addEventListener('focus', this.focusHandler.bind(this));
438
- this.addEventListener('keydown', this.keydownHandler.bind(this));
439
- }
440
- /**
441
- * Ensures aria role attribute is in place.
442
- * Attaches element's listeners.
443
- */
444
- connectedCallback() {
445
- super.connectedCallback();
446
- if (!this.getAttribute('aria-label')) {
447
- this.setAttribute('aria-label', 'API navigation');
448
- }
449
- if (!this.getAttribute('tabindex')) {
450
- this.setAttribute('tabindex', '0');
451
- }
452
- if (!this.getAttribute('role')) {
453
- this.setAttribute('role', 'navigation');
454
- }
455
- this.eventsTarget.addEventListener(EventTypes.Store.graphChange, this.graphChangeHandler);
456
- if (!this.manualQuery) {
457
- this.queryGraph();
458
- }
459
- }
460
- disconnectedCallback() {
461
- super.disconnectedCallback();
462
- this.eventsTarget.removeEventListener(EventTypes.Store.graphChange, this.graphChangeHandler);
463
- this.itemsInternal = undefined;
464
- }
465
- /**
466
- * Handler for the event dispatched by the store when the graph model change.
467
- */
468
- graphChangeHandler() {
469
- this.queryGraph();
470
- }
471
- /**
472
- * Queries for the API data from the graph store.
473
- */
474
- async queryGraph() {
475
- if (this.querying) {
476
- return;
477
- }
478
- this.queryingInternal = true;
479
- this.itemsInternal = undefined;
480
- const ctrl = new AbortController();
481
- this.abortControllerInternal = ctrl;
482
- await this.queryApi(ctrl.signal);
483
- await this.queryEndpoints(ctrl.signal);
484
- await this.queryDocumentations(ctrl.signal);
485
- await this.querySchemas(ctrl.signal);
486
- await this.querySecurity(ctrl.signal);
487
- if (!ctrl.signal.aborted) {
488
- this.layoutEndpoints();
489
- }
490
- this.queryingInternal = false;
491
- this.abortControllerInternal = undefined;
492
- this.openedEndpoints = [];
493
- this.requestUpdate();
494
- await this.updateComplete;
495
- this.resetTabindices();
496
- this.dispatchEvent(new Event('graphload'));
497
- }
498
- /**
499
- * Queries for the current API base info.
500
- */
501
- async queryApi(signal) {
502
- this.documentMeta = undefined;
503
- try {
504
- const info = await Events.Api.documentMeta(this);
505
- if (signal.aborted) {
506
- return;
507
- }
508
- this.documentMeta = info;
509
- }
510
- catch (e) {
511
- const ex = e;
512
- Events.Telemetry.exception(this, ex.message, false);
513
- Events.Reporting.error(this, ex, `Enable to query for API data: ${ex.message}`, this.localName);
514
- }
515
- }
516
- /**
517
- * Queries and sets endpoints data
518
- */
519
- async queryEndpoints(signal) {
520
- if (signal.aborted) {
521
- return;
522
- }
523
- try {
524
- const result = await Events.Endpoint.list(this);
525
- if (signal.aborted) {
526
- return;
527
- }
528
- if (!result) {
529
- return;
530
- }
531
- this.sourceEndpoints = result;
532
- }
533
- catch (e) {
534
- const ex = e;
535
- this.sourceEndpoints = undefined;
536
- Events.Telemetry.exception(this, ex.message, false);
537
- Events.Reporting.error(this, ex, `Enable to query for Endpoints data: ${ex.message}`, this.localName);
538
- }
539
- }
540
- /**
541
- * Queries and sets documentations data
542
- */
543
- async queryDocumentations(signal) {
544
- this.documentationsInternal = undefined;
545
- if (signal.aborted) {
546
- return;
547
- }
548
- try {
549
- const result = await Events.Documentation.list(this);
550
- if (signal.aborted) {
551
- return;
552
- }
553
- this.documentationsInternal = result;
554
- }
555
- catch (e) {
556
- const ex = e;
557
- Events.Telemetry.exception(this, ex.message, false);
558
- Events.Reporting.error(this, ex, `Enable to query for Documents data: ${ex.message}`, this.localName);
559
- }
560
- }
561
- /**
562
- * Queries and sets types (schemas) data
563
- */
564
- async querySchemas(signal) {
565
- this.schemasInternal = undefined;
566
- if (signal.aborted) {
567
- return;
568
- }
569
- try {
570
- const result = await Events.Type.list(this);
571
- if (signal.aborted) {
572
- return;
573
- }
574
- this.schemasInternal = result;
575
- }
576
- catch (e) {
577
- const ex = e;
578
- Events.Telemetry.exception(this, ex.message, false);
579
- Events.Reporting.error(this, ex, `Enable to query for Schemas data: ${ex.message}`, this.localName);
580
- }
581
- }
582
- /**
583
- * Queries and sets security data
584
- */
585
- async querySecurity(signal) {
586
- this.securityInternal = undefined;
587
- if (signal.aborted) {
588
- return;
589
- }
590
- try {
591
- const result = await Events.Security.list(this);
592
- if (signal.aborted) {
593
- return;
594
- }
595
- this.securityInternal = result;
596
- }
597
- catch (e) {
598
- const ex = e;
599
- Events.Telemetry.exception(this, ex.message, false);
600
- Events.Reporting.error(this, ex, `Enable to query for Security data: ${ex.message}`, this.localName);
601
- }
602
- }
603
- createFlatTreeItems(items) {
604
- if (!Array.isArray(items) || !items.length) {
605
- return [];
606
- }
607
- return items.map((endpoint) => ({
608
- ...endpoint,
609
- indent: 0,
610
- label: endpoint.name || endpoint.path,
611
- selected: false,
612
- secondarySelected: false,
613
- }));
614
- }
615
- /**
616
- * Processes endpoints layout for the given configuration.
617
- */
618
- layoutEndpoints() {
619
- const { layout } = this;
620
- this.itemsInternal = undefined;
621
- const endpoints = this.sourceEndpoints;
622
- if (!endpoints) {
623
- this.endpointsInternal = undefined;
624
- return;
625
- }
626
- if (layout === 'tree') {
627
- const sorted = ApiSorting.sortEndpointsByPath([...endpoints]);
628
- const items = new EndpointsTree().create(sorted);
629
- this.endpointsInternal = items;
630
- return;
631
- }
632
- if (layout === 'natural') {
633
- this.endpointsInternal = new NaturalTree().create(endpoints);
634
- return;
635
- }
636
- if (layout === 'natural-sort') {
637
- const sorted = ApiSorting.sortEndpointsByPath([...endpoints]);
638
- this.endpointsInternal = new NaturalTree().create(sorted);
639
- return;
640
- }
641
- //
642
- // Default layout
643
- //
644
- this.endpointsInternal = this.createFlatTreeItems(endpoints);
645
- }
646
- /**
647
- * Filters the current endpoints by the current query value.
648
- */
649
- getFilteredEndpoints() {
650
- const value = this.endpointsInternal;
651
- if (!value || !value.length) {
652
- return undefined;
653
- }
654
- const q = this.queryInternal;
655
- if (!q) {
656
- return value;
657
- }
658
- const result = [];
659
- value.forEach((endpoint) => {
660
- const { path, label = '', operations = [] } = endpoint;
661
- const lPath = path.toLowerCase();
662
- const lLabel = label.toLowerCase();
663
- // If the endpoint's path or label matches the query include whole item
664
- if (lPath.includes(q) || lLabel.includes(q)) {
665
- result[result.length] = endpoint;
666
- return;
667
- }
668
- // otherwise check all operations and only include matched operations. If none match
669
- // then do not include the endpoint.
670
- const ops = operations.filter((op) => op.method.toLowerCase().includes(q) || (op.name || '').toLowerCase().includes(q));
671
- if (ops.length) {
672
- const copy = { ...endpoint };
673
- copy.operations = ops;
674
- result[result.length] = copy;
675
- }
676
- });
677
- return result;
678
- }
679
- /**
680
- * Computes `style` attribute value for endpoint item.
681
- * It sets padding-left property to indent resources.
682
- * See https://github.com/mulesoft/api-console/issues/571.
683
- *
684
- * @param indent The computed indentation of the item.
685
- * @returns The value for the left padding of the endpoint menu item.
686
- */
687
- computeEndpointPaddingValue(indent = 0) {
688
- const padding = this.computeEndpointPaddingLeft();
689
- if (indent < 1) {
690
- return `${padding}px`;
691
- }
692
- const result = indent * (this.indentSize || 0) + padding;
693
- return `${result}px`;
694
- }
695
- /**
696
- * Computes endpoint list item left padding from CSS variables.
697
- */
698
- computeEndpointPaddingLeft() {
699
- const prop = '--api-navigation-list-item-padding';
700
- const padding = getComputedStyle(this).getPropertyValue(prop);
701
- if (!padding) {
702
- return defaultPadding;
703
- }
704
- const parts = padding.split(' ');
705
- let paddingLeftValue;
706
- switch (parts.length) {
707
- case 1:
708
- paddingLeftValue = parts[0];
709
- break;
710
- case 2:
711
- paddingLeftValue = parts[1];
712
- break;
713
- case 3:
714
- paddingLeftValue = parts[1];
715
- break;
716
- case 4:
717
- paddingLeftValue = parts[3];
718
- break;
719
- default:
720
- return defaultPadding;
721
- }
722
- if (!paddingLeftValue) {
723
- return defaultPadding;
724
- }
725
- paddingLeftValue = paddingLeftValue.replace('px', '').trim();
726
- const result = Number(paddingLeftValue);
727
- if (Number.isNaN(result)) {
728
- return defaultPadding;
729
- }
730
- return result;
731
- }
732
- /**
733
- * Computes `style` attribute value for an operation item.
734
- * It sets padding-left property to indent operations relative to a resource.
735
- *
736
- * @param indent The computed indentation of the parent resource.
737
- * @returns The value for the left padding of the endpoint menu item.
738
- */
739
- computeOperationPaddingValue(indent = 0) {
740
- const padding = this.computeOperationPaddingLeft() + defaultPadding;
741
- const { indentSize = 0 } = this;
742
- if (indentSize < 1) {
743
- return `${padding}px`;
744
- }
745
- const result = indent * indentSize + padding;
746
- return `${result}px`;
747
- }
748
- /**
749
- * Computes operation list item left padding from CSS variables.
750
- */
751
- computeOperationPaddingLeft() {
752
- const prop = '--api-navigation-operation-item-padding-left';
753
- let paddingLeft = getComputedStyle(this).getPropertyValue(prop);
754
- if (!paddingLeft) {
755
- return defaultPadding;
756
- }
757
- paddingLeft = paddingLeft.replace('px', '').trim();
758
- const result = Number(paddingLeft);
759
- if (Number.isNaN(result)) {
760
- return defaultPadding;
761
- }
762
- return result;
763
- }
764
- /**
765
- * A handler for the click event on a menu list item.
766
- * Makes a selection from the target.
767
- */
768
- itemClickHandler(e) {
769
- const node = e.currentTarget;
770
- const { graphId, graphShape } = node.dataset;
771
- if (graphId && graphShape) {
772
- this.makeSelection(graphId, graphShape);
773
- }
774
- else {
775
- // this is probably the abstract endpoint from the EndpointTree class.
776
- // We are preventing default so the element can ignore focusing on the item.
777
- e.preventDefault();
778
- e.stopPropagation();
779
- }
780
- }
781
- /**
782
- * A handler for the click event on endpoints toggle button.
783
- */
784
- endpointToggleClickHandler(e) {
785
- const node = e.currentTarget;
786
- const { graphId } = node.dataset;
787
- if (graphId) {
788
- this.toggleEndpoint(graphId);
789
- e.stopPropagation();
790
- e.preventDefault();
791
- Events.Telemetry.event(this, {
792
- category: 'API navigation',
793
- action: 'Toggle endpoint',
794
- });
795
- }
796
- }
797
- /**
798
- * Toggles operations visibility for an endpoint.
799
- * @param graphId The Endpoint graph id.
800
- */
801
- toggleEndpoint(graphId) {
802
- const index = this.openedEndpoints.indexOf(graphId);
803
- if (index === -1) {
804
- this.openedEndpoints.push(graphId);
805
- }
806
- else {
807
- this.openedEndpoints.splice(index, 1);
808
- }
809
- this.requestUpdate();
810
- }
811
- /**
812
- * A handler for the click event on a section item. Toggles the clicked section.
813
- */
814
- toggleSectionClickHandler(e) {
815
- const node = e.currentTarget;
816
- this.toggleSectionElement(node);
817
- Events.Telemetry.event(this, {
818
- category: 'API navigation',
819
- action: 'Toggle section',
820
- label: node.dataset.section,
821
- });
822
- }
823
- toggleSectionKeydownHandler() {
824
- // This is handled by the global key handler.
825
- // if (e.code !== 'Space') {
826
- // return;
827
- // }
828
- // const node = e.currentTarget as HTMLElement;
829
- // this[toggleSectionElement](node);
830
- // Events.Telemetry.event(this, {
831
- // category: 'API navigation',
832
- // action: 'Toggle section',
833
- // label: node.dataset.section,
834
- // });
835
- }
836
- /**
837
- * Toggles a section of the menu represented by the element (section list item).
838
- */
839
- toggleSectionElement(element) {
840
- const prop = element.dataset.property;
841
- if (!prop) {
842
- return;
843
- }
844
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
845
- ;
846
- this[prop] = !this[prop];
847
- }
848
- /**
849
- * @returns The list of documentation items filtered by the current query.
850
- */
851
- getFilteredDocumentations() {
852
- const items = this.documentationsInternal;
853
- if (!Array.isArray(items) || !items.length) {
854
- return [];
855
- }
856
- const q = this.queryInternal;
857
- if (!q) {
858
- return items;
859
- }
860
- return items.filter((doc) => (doc.title || '').toLocaleLowerCase().includes(q));
861
- }
862
- /**
863
- * @returns The list of schemas items filtered by the current query.
864
- */
865
- getFilteredSchemas() {
866
- const items = this.schemasInternal;
867
- if (!Array.isArray(items) || !items.length) {
868
- return [];
869
- }
870
- const q = this.queryInternal;
871
- if (!q) {
872
- return items;
873
- }
874
- return items.filter((doc) => (doc.name || '').toLocaleLowerCase().includes(q) || (doc.displayName || '').toLocaleLowerCase().includes(q));
875
- }
876
- /**
877
- * @returns The list of security items filtered by the current query.
878
- */
879
- getFilteredSecurity() {
880
- const items = this.securityInternal;
881
- if (!Array.isArray(items) || !items.length) {
882
- return [];
883
- }
884
- const q = this.queryInternal;
885
- if (!q) {
886
- return items;
887
- }
888
- return items.filter((doc) => (doc.name || '').toLocaleLowerCase().includes(q) ||
889
- (doc.displayName || '').toLocaleLowerCase().includes(q) ||
890
- (doc.type || '').toLocaleLowerCase().includes(q));
891
- }
892
- /**
893
- * A handler for the focus event on this element.
894
- */
895
- focusHandler(e) {
896
- if (this.shiftTabPressedInternal) {
897
- // do not focus the menu itself
898
- return;
899
- }
900
- const path = e.composedPath();
901
- const rootTarget = path[0];
902
- if (rootTarget !== this && typeof rootTarget.tabIndex !== 'undefined' && !this.contains(rootTarget)) {
903
- return;
904
- }
905
- this.focusedItemInternal = undefined;
906
- const { selectedItem } = this;
907
- if (selectedItem) {
908
- this.focusItem(selectedItem);
909
- }
910
- else {
911
- this.focusNext();
912
- }
913
- }
914
- /**
915
- * Sets a list item focused
916
- */
917
- focusItem(item) {
918
- const old = this.focusedItemInternal;
919
- this.focusedItemInternal = item;
920
- if (old) {
921
- old.setAttribute('tabindex', '-1');
922
- }
923
- if (item && !item.hasAttribute('disabled')) {
924
- item.setAttribute('tabindex', '0');
925
- item.focus();
926
- }
927
- }
928
- /**
929
- * Handler for the keydown event.
930
- */
931
- keydownHandler(e) {
932
- const path = e.composedPath();
933
- const target = path[0];
934
- if (target.localName === 'input') {
935
- return;
936
- }
937
- if (e.key === 'ArrowDown') {
938
- this.keyDownAction(e);
939
- }
940
- else if (e.key === 'ArrowUp') {
941
- this.keyUpAction(e);
942
- }
943
- else if (e.key === 'Tab' && e.shiftKey) {
944
- this.keyShiftTabAction();
945
- }
946
- else if (e.key === 'Escape') {
947
- this.keyEscAction();
948
- }
949
- else if (e.key === ' ' || e.code === 'Space') {
950
- this.keySpaceAction(e);
951
- }
952
- else if (e.key === 'Enter' || e.key === 'NumpadEnter') {
953
- this.keySpaceAction(e);
954
- }
955
- else if (e.key === 'ArrowRight') {
956
- this.keyArrowRightAction(e);
957
- }
958
- else if (e.key === 'ArrowLeft') {
959
- this.keyArrowLeftAction(e);
960
- }
961
- e.stopPropagation();
962
- }
963
- /**
964
- * Handler that is called when the down key is pressed.
965
- */
966
- keyDownAction(e) {
967
- e.preventDefault();
968
- e.stopPropagation();
969
- this.focusNext();
970
- }
971
- /**
972
- * Handler that is called when the up key is pressed.
973
- */
974
- keyUpAction(e) {
975
- e.preventDefault();
976
- this.focusPrevious();
977
- }
978
- /**
979
- * Handles shift+tab keypress on the menu.
980
- */
981
- keyShiftTabAction() {
982
- const oldTabIndex = this.getAttribute('tabindex');
983
- this.shiftTabPressedInternal = true;
984
- this.focusedItemInternal = undefined;
985
- this.setAttribute('tabindex', '-1');
986
- setTimeout(() => {
987
- if (oldTabIndex) {
988
- this.setAttribute('tabindex', oldTabIndex);
989
- }
990
- this.shiftTabPressedInternal = false;
991
- }, 1);
992
- }
993
- /**
994
- * Handler that is called when the esc key is pressed.
995
- */
996
- keyEscAction() {
997
- const { focusedItem } = this;
998
- if (focusedItem) {
999
- focusedItem.blur();
1000
- }
1001
- }
1002
- /**
1003
- * A handler for the space bar key down.
1004
- */
1005
- keySpaceAction(e) {
1006
- e.preventDefault();
1007
- e.stopPropagation();
1008
- const path = e.composedPath();
1009
- const target = path && path[0];
1010
- if (!target) {
1011
- return;
1012
- }
1013
- const { classList, dataset } = target;
1014
- if (classList.contains('section-title')) {
1015
- this.toggleSectionElement(target);
1016
- }
1017
- else if (classList.contains('list-item')) {
1018
- const { graphId, graphShape } = dataset;
1019
- if (graphId && graphShape) {
1020
- this.makeSelection(graphId, graphShape);
1021
- }
1022
- }
1023
- }
1024
- /**
1025
- * A handler for the key right down. Opens operations when needed.
1026
- */
1027
- keyArrowRightAction(e) {
1028
- const path = e.composedPath();
1029
- const target = path && path[0];
1030
- if (!target) {
1031
- return;
1032
- }
1033
- const { classList, dataset } = target;
1034
- if (dataset.graphId && classList.contains('endpoint') && classList.contains('list-item')) {
1035
- if (!this.openedEndpoints.includes(dataset.graphId)) {
1036
- this.openedEndpoints.push(dataset.graphId);
1037
- this.requestUpdate();
1038
- }
1039
- }
1040
- }
1041
- /**
1042
- * A handler for the key left down. Closes operations when needed.
1043
- */
1044
- keyArrowLeftAction(e) {
1045
- const path = e.composedPath();
1046
- const target = path && path[0];
1047
- if (!target) {
1048
- return;
1049
- }
1050
- const { classList, dataset } = target;
1051
- if (dataset.graphId && classList.contains('endpoint') && classList.contains('list-item')) {
1052
- const index = this.openedEndpoints.indexOf(dataset.graphId);
1053
- if (index !== -1) {
1054
- this.openedEndpoints.splice(index, 1);
1055
- this.requestUpdate();
1056
- }
1057
- }
1058
- }
1059
- /**
1060
- * Focuses on the previous item in the navigation.
1061
- */
1062
- focusPrevious() {
1063
- const items = this.listActiveItems();
1064
- const { length } = items;
1065
- const curFocusIndex = this.focusedItemInternal ? items.indexOf(this.focusedItemInternal) : -1;
1066
- for (let i = 1; i < length + 1; i++) {
1067
- const item = items[(curFocusIndex - i + length) % length];
1068
- if (item && !item.hasAttribute('disabled')) {
1069
- const owner = (item.getRootNode && item.getRootNode()) || document;
1070
- this.focusItem(item);
1071
- // Focus might not have worked, if the element was hidden or not
1072
- // focusable. In that case, try again.
1073
- if (owner.activeElement === item) {
1074
- return;
1075
- }
1076
- }
1077
- }
1078
- }
1079
- /**
1080
- * Focuses on the next item in the navigation.
1081
- */
1082
- focusNext() {
1083
- const items = this.listActiveItems();
1084
- const { length } = items;
1085
- const curFocusIndex = this.focusedItemInternal ? items.indexOf(this.focusedItemInternal) : -1;
1086
- for (let i = 1; i < length + 1; i++) {
1087
- const item = items[(curFocusIndex + i) % length];
1088
- if (!item.hasAttribute('disabled')) {
1089
- const owner = (item.getRootNode && item.getRootNode()) || document;
1090
- this.focusItem(item);
1091
- // Focus might not have worked, if the element was hidden or not
1092
- // focusable. In that case, try again.
1093
- if (owner.activeElement === item) {
1094
- return;
1095
- }
1096
- }
1097
- }
1098
- }
1099
- /**
1100
- * Selects an item in the navigation.
1101
- * Note, this dispatches the navigation action event.
1102
- */
1103
- select(id) {
1104
- const { shadowRoot } = this;
1105
- if (!id || !shadowRoot) {
1106
- return;
1107
- }
1108
- const element = shadowRoot.querySelector(`[data-graph-id="${id}"]`);
1109
- if (!element) {
1110
- return;
1111
- }
1112
- const { graphShape } = element.dataset;
1113
- this.makeSelection(id, graphShape);
1114
- }
1115
- /**
1116
- * Lists all HTML elements that are currently rendered in the view.
1117
- * @returns Currently rendered items.
1118
- */
1119
- listActiveItems() {
1120
- if (this.itemsInternal) {
1121
- return this.itemsInternal;
1122
- }
1123
- const { shadowRoot } = this;
1124
- if (!shadowRoot) {
1125
- return [];
1126
- }
1127
- let result = [];
1128
- if (this.summary) {
1129
- const node = shadowRoot.querySelector('.list-item.summary');
1130
- if (node) {
1131
- result[result.length] = node;
1132
- }
1133
- }
1134
- if (this.hasEndpoints) {
1135
- const node = shadowRoot.querySelector('.endpoints .section-title');
1136
- if (node) {
1137
- result[result.length] = node;
1138
- }
1139
- const nodes = Array.from(shadowRoot.querySelectorAll('.endpoints .list-item.endpoint'));
1140
- nodes.forEach((item) => {
1141
- result[result.length] = item;
1142
- const collapse = item.nextElementSibling;
1143
- if (!collapse || collapse.localName !== 'ui-collapse') {
1144
- return;
1145
- }
1146
- const children = Array.from(collapse.querySelectorAll('.list-item.operation'));
1147
- if (children.length) {
1148
- result = result.concat(children);
1149
- }
1150
- });
1151
- }
1152
- if (this.hasDocs) {
1153
- const children = this.listSectionActiveNodes('.documentation');
1154
- result = result.concat(children);
1155
- }
1156
- if (this.hasSchemas) {
1157
- const children = this.listSectionActiveNodes('.schemas');
1158
- result = result.concat(children);
1159
- }
1160
- if (this.hasSecurity) {
1161
- const children = this.listSectionActiveNodes('.security');
1162
- result = result.concat(children);
1163
- }
1164
- this.itemsInternal = result.length ? result : undefined;
1165
- return result;
1166
- }
1167
- /**
1168
- * @param selector The prefix for the query selector
1169
- * @returns Nodes returned from query function.
1170
- */
1171
- listSectionActiveNodes(selector) {
1172
- const { shadowRoot } = this;
1173
- let result = [];
1174
- if (!shadowRoot) {
1175
- return result;
1176
- }
1177
- const node = shadowRoot.querySelector(`${selector} .section-title`);
1178
- if (node) {
1179
- result[result.length] = node;
1180
- const collapse = node.nextElementSibling;
1181
- if (collapse) {
1182
- const children = Array.from(collapse.querySelectorAll('.list-item'));
1183
- if (children.length) {
1184
- result = result.concat(children);
1185
- }
1186
- }
1187
- }
1188
- return result;
1189
- }
1190
- /**
1191
- * Selects an item in the menu.
1192
- *
1193
- * @param id The domain id of the node to be selected
1194
- * @param type The selected type of the item.
1195
- */
1196
- makeSelection(id, type) {
1197
- const { shadowRoot } = this;
1198
- if (!shadowRoot) {
1199
- return;
1200
- }
1201
- const element = shadowRoot.querySelector(`[data-graph-id="${id}"]`);
1202
- if (!element) {
1203
- return;
1204
- }
1205
- this.selectedItemInternal = element;
1206
- this.deselectItem(this.domainId, this.domainType);
1207
- this.domainIdInternal = id;
1208
- this.domainTypeInternal = type;
1209
- if (id === 'summary') {
1210
- this.summarySelectedInternal = true;
1211
- }
1212
- else {
1213
- this.selectItem(id, type);
1214
- }
1215
- this.focusItem(this.selectedItemInternal);
1216
- this.requestUpdate();
1217
- this.notifyNavigation(id, type);
1218
- let parent = element.parentElement;
1219
- while (parent) {
1220
- if (parent === this || !parent) {
1221
- return;
1222
- }
1223
- if (parent.localName === 'ui-collapse') {
1224
- ;
1225
- parent.open = true;
1226
- }
1227
- parent = parent.parentElement;
1228
- }
1229
- }
1230
- /**
1231
- * Selects an item.
1232
- * @param id The domain id of the menu item.
1233
- * @param type The type of the data.
1234
- */
1235
- selectItem(id, type) {
1236
- const selectable = this.findSelectable(id, type);
1237
- if (selectable) {
1238
- selectable.selected = true;
1239
- this.requestUpdate();
1240
- }
1241
- }
1242
- /**
1243
- * Removes all selections from an item.
1244
- * @param id The domain id of the menu item.
1245
- * @param type The type of the data.
1246
- */
1247
- deselectItem(id, type) {
1248
- this.summarySelectedInternal = false;
1249
- const selectable = this.findSelectable(id, type);
1250
- if (selectable) {
1251
- selectable.selected = false;
1252
- selectable.secondarySelected = false;
1253
- this.requestUpdate();
1254
- }
1255
- }
1256
- /**
1257
- * Finds a selectable item by its id and type.
1258
- * @param id The domain id of the menu item.
1259
- * @param type The type of the data.
1260
- */
1261
- findSelectable(id, type) {
1262
- if (!id || !type) {
1263
- return undefined;
1264
- }
1265
- let selectable;
1266
- if (type === 'resource') {
1267
- selectable = (this.endpointsInternal || []).find((item) => item.id === id);
1268
- }
1269
- else if (type === 'operation') {
1270
- const endpoint = (this.endpointsInternal || []).find((item) => {
1271
- if (!Array.isArray(item.operations) || !item.operations.length) {
1272
- return false;
1273
- }
1274
- const op = item.operations.find((opItem) => opItem.id === id);
1275
- return !!op;
1276
- });
1277
- if (endpoint) {
1278
- selectable = endpoint.operations.find((item) => item.id === id);
1279
- }
1280
- }
1281
- else if (type === 'documentation') {
1282
- selectable = (this.documentationsInternal || []).find((item) => item.id === id);
1283
- }
1284
- else if (type === 'schema') {
1285
- selectable = (this.schemasInternal || []).find((item) => item.id === id);
1286
- }
1287
- else if (type === 'security') {
1288
- selectable = (this.securityInternal || []).find((item) => item.id === id);
1289
- }
1290
- return selectable;
1291
- }
1292
- /**
1293
- * @param value The new query. Empty or null to clear the query
1294
- */
1295
- processQuery(value) {
1296
- if (typeof value !== 'string' || value.trim() === '') {
1297
- this.queryInternal = undefined;
1298
- }
1299
- else {
1300
- this.queryInternal = value.toLowerCase();
1301
- }
1302
- this.requestUpdate();
1303
- }
1304
- /**
1305
- * A handler for the search event from the filter input.
1306
- */
1307
- searchHandler(e) {
1308
- const input = e.target;
1309
- this.query = input.value;
1310
- Events.Telemetry.event(this, {
1311
- category: 'API navigation',
1312
- action: 'Filter',
1313
- label: input.value ? 'Query' : 'Clear',
1314
- });
1315
- }
1316
- /**
1317
- * Opens all sections of the menu and all endpoints.
1318
- */
1319
- expandAll() {
1320
- this.endpointsOpened = true;
1321
- this.schemasOpened = true;
1322
- this.securityOpened = true;
1323
- this.documentationsOpened = true;
1324
- this.expandAllEndpoints();
1325
- }
1326
- /**
1327
- * Closes all sections of the menu and all endpoints.
1328
- */
1329
- collapseAll() {
1330
- this.endpointsOpened = false;
1331
- this.schemasOpened = false;
1332
- this.securityOpened = false;
1333
- this.documentationsOpened = false;
1334
- this.collapseAllEndpoints();
1335
- }
1336
- /**
1337
- * Opens all endpoints exposing all operations
1338
- */
1339
- expandAllEndpoints() {
1340
- const { shadowRoot } = this;
1341
- if (!shadowRoot) {
1342
- return;
1343
- }
1344
- this.endpointsOpened = true;
1345
- const items = Array.from(shadowRoot.querySelectorAll('div.endpoints .list-item.endpoint'));
1346
- this.openedEndpoints = [];
1347
- items.forEach((item) => {
1348
- const { graphId } = item.dataset;
1349
- if (graphId) {
1350
- this.openedEndpoints.push(graphId);
1351
- }
1352
- });
1353
- this.endpointsExpandedInternal = true;
1354
- this.requestUpdate();
1355
- }
1356
- /**
1357
- * Hides all operations and collapses all endpoints.
1358
- */
1359
- collapseAllEndpoints() {
1360
- this.openedEndpoints = [];
1361
- this.endpointsExpandedInternal = false;
1362
- this.requestUpdate();
1363
- }
1364
- /**
1365
- * Triggers a flow when the user can define a new endpoint in the navigation.
1366
- * This renders an input in the view (in the endpoints list) where the user can enter the path name.
1367
- */
1368
- async addEndpoint() {
1369
- if (!this.endpointsOpened) {
1370
- this.endpointsOpened = true;
1371
- await this.updateComplete;
1372
- }
1373
- this.addingEndpointInternal = true;
1374
- this.requestUpdate();
1375
- await this.updateComplete;
1376
- const wrap = this.shadowRoot?.querySelector('.add-endpoint-input');
1377
- if (wrap) {
1378
- wrap.scrollIntoView();
1379
- const input = wrap.querySelector('input');
1380
- input.focus();
1381
- input.select();
1382
- }
1383
- }
1384
- /**
1385
- * Triggers a flow when the user can define a new documentation document.
1386
- * This renders an input in the view (in the documentation list) where the user can enter the name.
1387
- * @param isExternal Whether the documentation is a link to a www document.
1388
- */
1389
- async addDocumentation(isExternal = false) {
1390
- if (!this.documentationsOpened) {
1391
- this.documentationsOpened = true;
1392
- }
1393
- this.addingDocumentationInternal = true;
1394
- this.addingExternalInternal = isExternal;
1395
- this.requestUpdate();
1396
- await this.updateComplete;
1397
- const selector = isExternal ? '.add-external-doc-input' : '.add-documentation-input';
1398
- const wrap = this.shadowRoot?.querySelector(selector);
1399
- if (wrap) {
1400
- wrap.scrollIntoView();
1401
- const input = wrap.querySelector('input');
1402
- input.focus();
1403
- input.select();
1404
- }
1405
- }
1406
- /**
1407
- * Triggers a flow when the user can define a new schema in the navigation.
1408
- * This renders an input in the view (in the schema list) where the user can enter the schema name.
1409
- * @param type The type of the schema to add. Default to `object`.
1410
- */
1411
- async addSchema(type = 'object') {
1412
- if (!this.schemasOpened) {
1413
- this.schemasOpened = true;
1414
- }
1415
- this.addingSchemaInternal = true;
1416
- this.addingSchemaTypeInternal = type;
1417
- this.requestUpdate();
1418
- await this.updateComplete;
1419
- const wrap = this.shadowRoot?.querySelector('.add-schema-input');
1420
- if (wrap) {
1421
- wrap.scrollIntoView();
1422
- const input = wrap.querySelector('input');
1423
- input.focus();
1424
- input.select();
1425
- }
1426
- }
1427
- /**
1428
- * Resets all tabindex attributes to the appropriate value based on the
1429
- * current selection state. The appropriate value is `0` (focusable) for
1430
- * the default selected item, and `-1` (not keyboard focusable) for all
1431
- * other items. Also sets the correct initial values for aria-selected
1432
- * attribute, true for default selected item and false for others.
1433
- */
1434
- resetTabindices() {
1435
- const { selectedItem } = this;
1436
- const items = this.listActiveItems();
1437
- items.forEach((item) => item.setAttribute('tabindex', item === selectedItem ? '0' : '-1'));
1438
- }
1439
- /**
1440
- * Dispatches the navigation event.
1441
- * @param id The domain id of the selected node
1442
- * @param type The domain type.
1443
- */
1444
- notifyNavigation(id, type) {
1445
- let parent;
1446
- if (type === 'operation' && id) {
1447
- const node = this.shadowRoot?.querySelector(`.operation[data-graph-id="${id}"]`);
1448
- if (node) {
1449
- parent = node.dataset.graphParent;
1450
- }
1451
- }
1452
- Events.Navigation.apiNavigate(this, id, type, parent);
1453
- Events.Telemetry.event(this, {
1454
- category: 'API navigation',
1455
- action: 'Navigate',
1456
- label: type,
1457
- });
1458
- }
1459
- /**
1460
- * Event handler for the keydown event of the add endpoint input.
1461
- */
1462
- addEndpointKeydownHandler(e) {
1463
- if (e.key === 'Enter' || e.key === 'NumpadEnter') {
1464
- e.preventDefault();
1465
- this.commitNewEndpoint();
1466
- }
1467
- else if (e.key === 'Escape') {
1468
- e.preventDefault();
1469
- this.cancelNewEndpoint();
1470
- }
1471
- }
1472
- /**
1473
- * Event handler for the keydown event of the add documentation input.
1474
- */
1475
- addDocumentationKeydownHandler(e) {
1476
- if (e.key === 'Enter' || e.key === 'NumpadEnter') {
1477
- e.preventDefault();
1478
- const input = e.target;
1479
- this.commitNewDocumentation(input.value);
1480
- }
1481
- else if (e.key === 'Escape') {
1482
- e.preventDefault();
1483
- this.addingDocumentationInternal = false;
1484
- this.addingExternalInternal = undefined;
1485
- this.requestUpdate();
1486
- }
1487
- }
1488
- /**
1489
- * Event handler for the keydown event of the add schema input.
1490
- */
1491
- addSchemaKeydownHandler(e) {
1492
- if (e.key === 'Enter' || e.key === 'NumpadEnter') {
1493
- e.preventDefault();
1494
- const input = e.target;
1495
- this.commitNewSchema(input.value);
1496
- }
1497
- else if (e.key === 'Escape') {
1498
- e.preventDefault();
1499
- this.addingSchemaInternal = false;
1500
- this.addingSchemaTypeInternal = undefined;
1501
- this.requestUpdate();
1502
- }
1503
- }
1504
- async commitNewEndpoint() {
1505
- const input = this.shadowRoot?.querySelector('.add-endpoint-input input');
1506
- if (!input) {
1507
- return;
1508
- }
1509
- const name = input.value.trim();
1510
- if (!name) {
1511
- return;
1512
- }
1513
- // await Events.Endpoint.add(this, { path: name });
1514
- await this.cancelNewEndpoint();
1515
- }
1516
- async cancelNewEndpoint() {
1517
- this.addingEndpointInternal = false;
1518
- this.requestUpdate();
1519
- await this.updateComplete;
1520
- }
1521
- /**
1522
- * @param value The title of the documentation.
1523
- */
1524
- async commitNewDocumentation(value = '') {
1525
- const name = value.trim();
1526
- if (!name) {
1527
- return;
1528
- }
1529
- // const opts = { title: name };
1530
- // const isExternal = this.addingExternalInternal;
1531
- // if (isExternal) {
1532
- // const input = (this.shadowRoot?.querySelector('.add-external-doc-input input'));
1533
- // if (input) {
1534
- // opts.url = (input as HTMLInputElement).value;
1535
- // }
1536
- // }
1537
- this.addingDocumentationInternal = false;
1538
- this.addingExternalInternal = undefined;
1539
- // await Events.Documentation.add(this, opts);
1540
- this.requestUpdate();
1541
- }
1542
- /**
1543
- * @param value The name of the schema.
1544
- */
1545
- async commitNewSchema(value = '') {
1546
- const name = value.trim();
1547
- if (!name) {
1548
- return;
1549
- }
1550
- // const type = this.addingSchemaTypeInternal;
1551
- // const opts = { name };
1552
- // switch (type) {
1553
- // case 'object': opts.type = AmfNamespace.w3.shacl.NodeShape; break;
1554
- // case 'scalar': opts.type = AmfNamespace.aml.vocabularies.shapes.ScalarShape; break;
1555
- // case 'array': opts.type = AmfNamespace.aml.vocabularies.shapes.ArrayShape; break;
1556
- // case 'file': opts.type = AmfNamespace.aml.vocabularies.shapes.FileShape; break;
1557
- // case 'union': opts.type = AmfNamespace.aml.vocabularies.shapes.UnionShape; break;
1558
- // default:
1559
- // }
1560
- this.addingSchemaInternal = false;
1561
- this.addingSchemaTypeInternal = undefined;
1562
- // await Events.Type.add(this, opts);
1563
- this.requestUpdate();
1564
- }
1565
- /**
1566
- * Triggers a rename action for the menu item identified by the `id`.
1567
- * @param id The domain id of the item to edit.
1568
- */
1569
- async renameAction(id) {
1570
- const { shadowRoot } = this;
1571
- if (!shadowRoot) {
1572
- throw new Error(`Invalid state. The DOM is not ready.`);
1573
- }
1574
- const item = this.findViewModelItem(id);
1575
- if (!item) {
1576
- return;
1577
- }
1578
- item.nameEditor = true;
1579
- this.requestUpdate();
1580
- await this.updateComplete;
1581
- const input = shadowRoot.querySelector(`input[data-id="${id}"]`);
1582
- input.select();
1583
- input.focus();
1584
- }
1585
- /**
1586
- * @param id The domain id of the item to find.
1587
- */
1588
- findViewModelItem(id) {
1589
- const endpoints = this.endpointsInternal;
1590
- if (endpoints && endpoints.length) {
1591
- for (let i = 0, len = endpoints.length; i < len; i++) {
1592
- const endpoint = endpoints[i];
1593
- if (endpoint.id === id) {
1594
- return endpoint;
1595
- }
1596
- const operation = endpoint.operations.find((op) => op.id === id);
1597
- if (operation) {
1598
- return operation;
1599
- }
1600
- }
1601
- }
1602
- const docs = this.documentationsInternal;
1603
- if (docs && docs.length) {
1604
- const doc = docs.find((item) => item.id === id);
1605
- if (doc) {
1606
- return doc;
1607
- }
1608
- }
1609
- const schemas = this.schemasInternal;
1610
- if (schemas && schemas.length) {
1611
- const schema = schemas.find((item) => item.id === id);
1612
- if (schema) {
1613
- return schema;
1614
- }
1615
- }
1616
- return null;
1617
- }
1618
- /**
1619
- * A key down event handler on the rename input
1620
- */
1621
- async renameKeydownHandler(e) {
1622
- // do not interfere with the navigation logic.
1623
- e.stopPropagation();
1624
- if (!['Enter', 'NumpadEnter', 'Escape'].includes(e.code)) {
1625
- return;
1626
- }
1627
- e.preventDefault();
1628
- const input = e.target;
1629
- const { value, dataset } = input;
1630
- const { id, type } = dataset;
1631
- const item = this.findViewModelItem(id);
1632
- if (!item) {
1633
- return;
1634
- }
1635
- item.nameEditor = false;
1636
- this.requestUpdate();
1637
- if (e.code === 'Escape') {
1638
- return;
1639
- }
1640
- await this.updateNameHandler(id, value, type);
1641
- }
1642
- /**
1643
- * A blur event handler on the rename input
1644
- */
1645
- async renameBlurHandler(e) {
1646
- const input = e.target;
1647
- const { value, dataset } = input;
1648
- const { id, type } = dataset;
1649
- const item = this.findViewModelItem(id);
1650
- if (!item) {
1651
- return;
1652
- }
1653
- item.nameEditor = false;
1654
- this.requestUpdate();
1655
- await this.updateNameHandler(id, value, type);
1656
- }
1657
- /**
1658
- * Updates the name or the display name of the menu object
1659
- * @param id The id of the domain object to update
1660
- * @param value The new value.
1661
- * @param type The object type
1662
- * @returns A promise when the update operation finish.
1663
- */
1664
- async updateNameHandler(id, value, type) {
1665
- const updateValue = value.trim();
1666
- if (!updateValue) {
1667
- return;
1668
- }
1669
- const promise = Promise.reject(new Error(`APi editing of ${type} ${id} is not yet supported`));
1670
- // let promise;
1671
- // if (type === 'SelectionType') {
1672
- // promise = Events.Endpoint.update(this, id, 'name', updateValue);
1673
- // } else if (type === 'operation') {
1674
- // promise = Events.Operation.update(this, id, 'name', updateValue);
1675
- // } else if (type === 'documentation') {
1676
- // const obj = await StoreEvents.Documentation.get(this, id);
1677
- // const prop = obj.title ? 'title' : 'description';
1678
- // promise = Events.Documentation.update(this, id, prop, updateValue);
1679
- // } else if (type === 'schema') {
1680
- // const obj = await StoreEvents.Type.get(this, id);
1681
- // const { displayName } = obj;
1682
- // const prop = displayName ? 'displayName' : 'name';
1683
- // promise = Events.Type.update(this, id, prop, updateValue);
1684
- // }
1685
- try {
1686
- await promise;
1687
- }
1688
- catch (e) {
1689
- const ex = e;
1690
- Events.Reporting.error(this, ex, `Unable rename object: ${ex.message}`, 'graph-api-navigation');
1691
- }
1692
- }
1693
- /**
1694
- * Click handler for the external navigation item.
1695
- * Dispatches the external navigation event. When this event is handled (cancelled)
1696
- * the original event is cancelled to prevent default behavior.
1697
- */
1698
- externalDocumentationHandler(e) {
1699
- const a = e.currentTarget;
1700
- if (a.href.startsWith('javascript')) {
1701
- cancelEvent(e);
1702
- SnackNotifications.notify(`Navigation blocked due to security concern. Javascript detected.`);
1703
- return;
1704
- }
1705
- const handled = Events.Navigation.navigateExternal(this, a.href);
1706
- if (handled) {
1707
- cancelEvent(e);
1708
- }
1709
- }
1710
- render() {
1711
- return html `
1712
- <div class="wrapper" role="menu" aria-label="Navigate the API">
1713
- ${this.filterTemplate()} ${this.renderSummary()} ${this.renderEndpoints()} ${this.renderDocumentations()}
1714
- ${this.renderSchemas()} ${this.renderSecurities()}
1715
- </div>
1716
- `;
1717
- }
1718
- /**
1719
- * @returns The template for the summary filed.
1720
- */
1721
- renderSummary() {
1722
- const { summaryRendered, summaryLabel } = this;
1723
- if (!summaryRendered || !summaryLabel) {
1724
- return '';
1725
- }
1726
- const selected = !!this.summarySelectedInternal;
1727
- const classes = {
1728
- 'list-item': true,
1729
- 'summary': true,
1730
- 'label': true,
1731
- selected,
1732
- };
1733
- return html `
1734
- <div class="summary">
1735
- <div
1736
- part="api-navigation-list-item label"
1737
- class="${classMap(classes)}"
1738
- role="menuitem"
1739
- tabindex="-1"
1740
- data-graph-id="summary"
1741
- data-graph-shape="summary"
1742
- @click="${this.itemClickHandler}"
1743
- >
1744
- ${summaryLabel}
1745
- </div>
1746
- </div>
1747
- `;
1748
- }
1749
- /**
1750
- * @returns The template for the list of endpoints.
1751
- */
1752
- renderEndpoints() {
1753
- const { edit } = this;
1754
- if (!this.hasEndpoints && !edit) {
1755
- return '';
1756
- }
1757
- const items = this.getFilteredEndpoints();
1758
- const hasItems = !!items && !!items.length;
1759
- if (!hasItems && !edit) {
1760
- return '';
1761
- }
1762
- const { endpointsOpened = false, documentMeta } = this;
1763
- const sectionLabel = documentMeta && documentMeta.isAsync ? 'Channels' : 'Endpoints';
1764
- const classes = {
1765
- endpoints: true,
1766
- opened: !!endpointsOpened,
1767
- };
1768
- const addingEndpoint = this.addingEndpointInternal;
1769
- const showEmpty = !hasItems && !addingEndpoint;
1770
- return html `
1771
- <div class="${classMap(classes)}">
1772
- <div
1773
- class="section-title"
1774
- data-property="endpointsOpened"
1775
- data-section="endpoints"
1776
- @click="${this.toggleSectionClickHandler}"
1777
- @keydown="${this.toggleSectionKeydownHandler}"
1778
- title="Toggle the list"
1779
- aria-haspopup="true"
1780
- role="menuitem"
1781
- >
1782
- <ui-icon-button part="toggle-button" class="toggle-button section" aria-label="Toggle the list" tabindex="-1">
1783
- <ui-icon role="presentation" icon="arrowDropDown"></ui-icon>
1784
- </ui-icon-button>
1785
- <div class="section-title-label label">${sectionLabel}</div>
1786
- </div>
1787
- <ui-collapse .open="${endpointsOpened}" aria-hidden="${endpointsOpened ? 'false' : 'true'}" role="menu">
1788
- <div class="children">
1789
- ${addingEndpoint ? this.addEndpointInputTemplate() : ''}
1790
- ${hasItems ? items.map((item) => this.renderEndpoint(item)) : ''}
1791
- ${showEmpty ? html `<p class="empty-section">No endpoints in this API</p>` : ''}
1792
- </div>
1793
- </ui-collapse>
1794
- </div>
1795
- `;
1796
- }
1797
- /**
1798
- * @returns The template for an endpoint.
1799
- */
1800
- renderEndpoint(item) {
1801
- const { indent, operations, label, path, id, selected, secondarySelected, nameEditor } = item;
1802
- const itemStyles = {
1803
- paddingLeft: this.computeEndpointPaddingValue(indent),
1804
- };
1805
- const renderChildren = Array.isArray(operations) && !!operations.length;
1806
- const opened = renderChildren && this.openedEndpoints.includes(id);
1807
- const classes = {
1808
- 'list-item': true,
1809
- 'endpoint': true,
1810
- opened,
1811
- 'selected': !!selected,
1812
- 'secondarySelected': !!secondarySelected,
1813
- };
1814
- return html `
1815
- <div
1816
- part="api-navigation-list-item"
1817
- class="${classMap(classes)}"
1818
- data-path="${path}"
1819
- data-graph-id="${ifDefined(id)}"
1820
- data-graph-shape="resource"
1821
- @click="${this.itemClickHandler}"
1822
- title="Open this endpoint"
1823
- style="${styleMap(itemStyles)}"
1824
- role="menuitem"
1825
- aria-haspopup="true"
1826
- >
1827
- ${nameEditor
1828
- ? this.renameInputTemplate(id, 'resource', label)
1829
- : html `
1830
- ${renderChildren
1831
- ? this.renderEndpointToggle(id)
1832
- : html `<div class="endpoint-toggle-mock"></div>`}
1833
- <div class="endpoint-name label">${label}</div>
1834
- `}
1835
- </div>
1836
- ${renderChildren
1837
- ? html `
1838
- <ui-collapse
1839
- part="api-navigation-operation-collapse"
1840
- class="operation-collapse"
1841
- data-graph-id="${id}"
1842
- role="menu"
1843
- .open="${opened}"
1844
- >
1845
- ${item.operations.map((op) => this.renderOperationItem(item, op))}
1846
- </ui-collapse>
1847
- `
1848
- : ''}
1849
- `;
1850
- }
1851
- /**
1852
- * @param id The domain id of the endpoint.
1853
- * @return The template for an endpoint toggle button.
1854
- */
1855
- renderEndpointToggle(id) {
1856
- return html ` <ui-icon-button
1857
- class="toggle-button endpoint"
1858
- aria-label="Toggle the list of operations"
1859
- tabindex="-1"
1860
- data-graph-id="${id}"
1861
- @click="${this.endpointToggleClickHandler}"
1862
- >
1863
- <ui-icon icon="arrowDropDown" role="presentation"></ui-icon>
1864
- </ui-icon-button>`;
1865
- }
1866
- /**
1867
- * @param item The endpoint definition
1868
- * @param op The operation definition.
1869
- * @return The template for an operation list item.
1870
- */
1871
- renderOperationItem(item, op) {
1872
- const { id, name, method, selected, secondarySelected, nameEditor } = op;
1873
- const itemStyles = {
1874
- paddingLeft: this.computeOperationPaddingValue(item.indent),
1875
- };
1876
- const classes = {
1877
- 'list-item': true,
1878
- 'label': true,
1879
- 'operation': true,
1880
- 'selected': !!selected,
1881
- 'secondarySelected': !!secondarySelected,
1882
- };
1883
- return html `
1884
- <div
1885
- part="api-navigation-list-item"
1886
- class="${classMap(classes)}"
1887
- role="menuitem"
1888
- tabindex="-1"
1889
- data-graph-parent="${item.id}"
1890
- data-graph-id="${id}"
1891
- data-graph-shape="operation"
1892
- data-operation="${method}"
1893
- @click="${this.itemClickHandler}"
1894
- style="${styleMap(itemStyles)}"
1895
- >
1896
- ${nameEditor
1897
- ? this.renameInputTemplate(id, 'operation', name)
1898
- : html `
1899
- <span class="http-label pill" data-method="${method}">${method}</span>
1900
- ${name}
1901
- `}
1902
- </div>
1903
- `;
1904
- }
1905
- /**
1906
- * @return The template for the documentations section.
1907
- */
1908
- renderDocumentations() {
1909
- const { edit } = this;
1910
- const items = this.getFilteredDocumentations();
1911
- if (!items.length && !edit) {
1912
- return '';
1913
- }
1914
- const { documentationsOpened = false } = this;
1915
- const classes = {
1916
- documentation: true,
1917
- opened: !!documentationsOpened,
1918
- };
1919
- const addingDocumentation = this.addingDocumentationInternal;
1920
- const showItems = !!items.length;
1921
- const showEmpty = !showItems && !addingDocumentation;
1922
- return html `
1923
- <div class="${classMap(classes)}">
1924
- <div
1925
- class="section-title"
1926
- data-property="documentationsOpened"
1927
- data-section="documentations"
1928
- @click="${this.toggleSectionClickHandler}"
1929
- @keydown="${this.toggleSectionKeydownHandler}"
1930
- title="Toggle the list"
1931
- aria-haspopup="true"
1932
- role="menuitem"
1933
- >
1934
- <ui-icon-button part="toggle-button" class="toggle-button section" aria-label="Toggle the list" tabindex="-1">
1935
- <ui-icon role="presentation" icon="arrowDropDown"></ui-icon>
1936
- </ui-icon-button>
1937
- <div class="section-title-label label">Documentation</div>
1938
- </div>
1939
- <ui-collapse .open="${documentationsOpened}">
1940
- <div class="children">
1941
- ${addingDocumentation ? this.addDocumentationInputTemplate() : ''}
1942
- ${showItems ? items.map((item) => this.documentationTemplate(item)) : ''}
1943
- ${showEmpty ? html `<p class="empty-section">No documentations in this API</p>` : ''}
1944
- </div>
1945
- </ui-collapse>
1946
- </div>
1947
- `;
1948
- }
1949
- /**
1950
- * @return The template for the documentation list item.
1951
- */
1952
- documentationTemplate(item) {
1953
- if (item.url) {
1954
- return this.renderExternalDocumentation(item);
1955
- }
1956
- const { title, id, selected, secondarySelected, nameEditor } = item;
1957
- const classes = {
1958
- 'list-item': true,
1959
- 'label': true,
1960
- 'documentation': true,
1961
- 'selected': !!selected,
1962
- 'secondarySelected': !!secondarySelected,
1963
- };
1964
- return html `<div
1965
- part="api-navigation-list-item"
1966
- class="${classMap(classes)}"
1967
- role="menuitem"
1968
- tabindex="-1"
1969
- data-graph-id="${id}"
1970
- data-graph-shape="documentation"
1971
- @click="${this.itemClickHandler}"
1972
- >
1973
- ${nameEditor ? this.renameInputTemplate(id, 'documentation', title) : title}
1974
- </div>`;
1975
- }
1976
- /**
1977
- * @return The template for the external documentation list item.
1978
- */
1979
- renderExternalDocumentation(item) {
1980
- const { title, description, url, id, selected, secondarySelected, nameEditor } = item;
1981
- const label = title || description;
1982
- const classes = {
1983
- 'list-item': true,
1984
- 'label': true,
1985
- 'documentation': true,
1986
- 'selected': !!selected,
1987
- 'secondarySelected': !!secondarySelected,
1988
- };
1989
- return html `<a
1990
- href="${url}"
1991
- target="_blank"
1992
- part="api-navigation-list-item"
1993
- class="${classMap(classes)}"
1994
- tabindex="-1"
1995
- data-graph-id="${id}"
1996
- data-graph-shape="documentation"
1997
- @click="${this.externalDocumentationHandler}"
1998
- >
1999
- ${nameEditor
2000
- ? this.renameInputTemplate(id, 'documentation', label)
2001
- : html `
2002
- ${label}
2003
- <ui-icon class="icon new-tab" title="Opens in a new tab" role="presentation" icon="openInNew"></ui-icon>
2004
- `}
2005
- </a>`;
2006
- }
2007
- /**
2008
- * @return The template for the types (schemas) section.
2009
- */
2010
- renderSchemas() {
2011
- const { edit } = this;
2012
- const items = this.getFilteredSchemas();
2013
- if (!items.length && !edit) {
2014
- return '';
2015
- }
2016
- const { schemasOpened = false } = this;
2017
- const classes = {
2018
- schemas: true,
2019
- opened: !!schemasOpened,
2020
- };
2021
- const addingSchema = this.addingSchemaInternal;
2022
- const showItems = !!items.length;
2023
- const showEmpty = !showItems && !addingSchema;
2024
- return html `
2025
- <div class="${classMap(classes)}">
2026
- <div
2027
- class="section-title"
2028
- data-property="schemasOpened"
2029
- data-section="schemas"
2030
- @click="${this.toggleSectionClickHandler}"
2031
- @keydown="${this.toggleSectionKeydownHandler}"
2032
- title="Toggle the list"
2033
- aria-haspopup="true"
2034
- role="menuitem"
2035
- >
2036
- <ui-icon-button part="toggle-button" class="toggle-button section" aria-label="Toggle the list" tabindex="-1">
2037
- <ui-icon role="presentation" icon="arrowDropDown"></ui-icon>
2038
- </ui-icon-button>
2039
- <div class="section-title-label label">Schemas</div>
2040
- </div>
2041
- <ui-collapse .open="${schemasOpened}">
2042
- <div class="children">
2043
- ${addingSchema ? this.addSchemaInputTemplate() : ''}
2044
- ${showItems ? items.map((item) => this.renderSchema(item)) : ''}
2045
- ${showEmpty ? html `<p class="empty-section">No schemas in this API</p>` : ''}
2046
- </div>
2047
- </ui-collapse>
2048
- </div>
2049
- `;
2050
- }
2051
- /**
2052
- * @return The template for the documentation list item.
2053
- */
2054
- renderSchema(item) {
2055
- const { id, displayName, name, selected, secondarySelected, nameEditor } = item;
2056
- const label = displayName || name || 'Unnamed schema';
2057
- const classes = {
2058
- 'list-item': true,
2059
- 'schema': true,
2060
- 'label': true,
2061
- 'selected': !!selected,
2062
- 'secondarySelected': !!secondarySelected,
2063
- };
2064
- return html ` <div
2065
- part="api-navigation-list-item label"
2066
- class="${classMap(classes)}"
2067
- role="menuitem"
2068
- tabindex="-1"
2069
- data-graph-id="${id}"
2070
- data-graph-shape="schema"
2071
- @click="${this.itemClickHandler}"
2072
- >
2073
- ${nameEditor ? this.renameInputTemplate(id, 'schema', label) : label}
2074
- </div>`;
2075
- }
2076
- /**
2077
- * @return The template for the security section.
2078
- */
2079
- renderSecurities() {
2080
- const items = this.getFilteredSecurity();
2081
- if (!items.length) {
2082
- return '';
2083
- }
2084
- const { securityOpened = false } = this;
2085
- const classes = {
2086
- security: true,
2087
- opened: !!securityOpened,
2088
- };
2089
- return html `
2090
- <div class="${classMap(classes)}">
2091
- <div
2092
- class="section-title"
2093
- data-property="securityOpened"
2094
- data-section="security"
2095
- @click="${this.toggleSectionClickHandler}"
2096
- @keydown="${this.toggleSectionKeydownHandler}"
2097
- title="Toggle the list"
2098
- aria-haspopup="true"
2099
- role="menuitem"
2100
- >
2101
- <ui-icon-button part="toggle-button" class="toggle-button section" aria-label="Toggle the list" tabindex="-1">
2102
- <ui-icon role="presentation" icon="arrowDropDown"></ui-icon>
2103
- </ui-icon-button>
2104
- <div class="section-title-label label">Security</div>
2105
- </div>
2106
- <ui-collapse .open="${securityOpened}">
2107
- <div class="children">${items.map((item) => this.securityTemplate(item))}</div>
2108
- </ui-collapse>
2109
- </div>
2110
- `;
2111
- }
2112
- /**
2113
- * @return The template for the security list item.
2114
- */
2115
- securityTemplate(item) {
2116
- const { id, displayName, name, selected, secondarySelected, type } = item;
2117
- const label = displayName || name || 'Unnamed security';
2118
- const classes = {
2119
- 'list-item': true,
2120
- 'label': true,
2121
- 'security': true,
2122
- 'selected': !!selected,
2123
- 'secondarySelected': !!secondarySelected,
2124
- };
2125
- return html ` <div
2126
- part="api-navigation-list-item"
2127
- class="${classMap(classes)}"
2128
- role="menuitem"
2129
- tabindex="-1"
2130
- data-graph-id="${id}"
2131
- data-graph-shape="security"
2132
- @click="${this.itemClickHandler}"
2133
- >
2134
- ${type}: ${label}
2135
- </div>`;
2136
- }
2137
- /**
2138
- * @return The template for the filter input.
2139
- */
2140
- filterTemplate() {
2141
- const { filter } = this;
2142
- if (!filter) {
2143
- return '';
2144
- }
2145
- return html `
2146
- <div class="filter-wrapper">
2147
- <input
2148
- type="search"
2149
- name="filter"
2150
- aria-label="Filter the menu"
2151
- placeholder="Filter"
2152
- @search="${this.searchHandler}"
2153
- @change="${this.searchHandler}"
2154
- />
2155
- <ui-icon icon="search"></ui-icon>
2156
- </div>
2157
- `;
2158
- }
2159
- /**
2160
- * @return The template for the new endpoint input.
2161
- */
2162
- addEndpointInputTemplate() {
2163
- return html `
2164
- <div part="api-navigation-input-item" class="input-item add-endpoint-input" data-graph-shape="resource">
2165
- <input
2166
- type="text"
2167
- class="add-endpoint-input"
2168
- @keydown="${this.addEndpointKeydownHandler}"
2169
- placeholder="Endpoint's path"
2170
- aria-label="Enter the path for the endpoint"
2171
- />
2172
- <ui-icon icon="add" title="Enter to save, ESC to cancel" role="presentation"></ui-icon>
2173
- </div>
2174
- `;
2175
- }
2176
- /**
2177
- * @return The template for the new documentation input.
2178
- */
2179
- addDocumentationInputTemplate() {
2180
- const isExternal = this.addingExternalInternal;
2181
- return html `
2182
- ${isExternal
2183
- ? html `
2184
- <div part="api-navigation-input-item" class="input-item add-external-doc-input">
2185
- <input
2186
- type="url"
2187
- class="add-external-doc-input"
2188
- aria-label="Enter the documentation URL"
2189
- placeholder="Documentation URL"
2190
- />
2191
- </div>
2192
- `
2193
- : ''}
2194
- <div part="api-navigation-input-item" class="input-item add-documentation-input" data-graph-shape="documentation">
2195
- <input
2196
- type="text"
2197
- class="add-documentation-input"
2198
- aria-label="Enter name for the documentation"
2199
- placeholder="Documentation title"
2200
- @keydown="${this.addDocumentationKeydownHandler}"
2201
- />
2202
- <ui-icon icon="add" title="Enter to save, ESC to cancel"></ui-icon>
2203
- </div>
2204
- `;
2205
- }
2206
- /**
2207
- * @return The template for the new schema input.
2208
- */
2209
- addSchemaInputTemplate() {
2210
- return html `
2211
- <div part="api-navigation-input-item" class="input-item add-schema-input" data-graph-shape="schema">
2212
- <input type="text" class="add-schema-input" @keydown="${this.addSchemaKeydownHandler}" />
2213
- <ui-icon icon="add" title="Enter to save, ESC to cancel"></ui-icon>
2214
- </div>
2215
- `;
2216
- }
2217
- /**
2218
- * @param id The domain id of the item being edited
2219
- * @param label The current name to render.
2220
- * @returns The template for the rename input.
2221
- */
2222
- renameInputTemplate(id, type, label = '') {
2223
- return html `
2224
- <input
2225
- type="text"
2226
- .value="${label}"
2227
- required
2228
- class="rename"
2229
- data-id="${id}"
2230
- data-type="${type}"
2231
- @click="${cancelEvent}"
2232
- @keydown="${this.renameKeydownHandler}"
2233
- @blur="${this.renameBlurHandler}"
2234
- />
2235
- `;
2236
- }
2237
- };
2238
- })();
2239
- /**
2240
- * @fires apinavigate - Dispatched when a selection change
2241
- * @fires graphload - When the graph was loaded
2242
- */
2243
- export default ApiNavigation;
2244
- //# sourceMappingURL=ApiNavigation.element.js.map