@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,1773 +0,0 @@
1
- import { html, nothing, TemplateResult } from 'lit'
2
- import { property, state } from 'lit/decorators.js'
3
- import { classMap } from 'lit/directives/class-map.js'
4
- import { nanoid } from 'nanoid'
5
- import { Headers } from '@api-client/core/lib/headers/Headers.js'
6
- import type {
7
- IApiEndPoint,
8
- IApiOperation,
9
- IApiParameter,
10
- IApiPayload,
11
- IApiServer,
12
- } from '@api-client/core/amf/definitions/Api.js'
13
- import { IRequestProxyInit } from '@api-client/core/proxy/RequestProxy.js'
14
- import { IProxyResult } from '@api-client/core/proxy/Proxy.js'
15
- import { IRequestLog } from '@api-client/core/models/RequestLog.js'
16
- import { Request, type IRequest } from '@api-client/core/models/Request.js'
17
- import { IApiScalarNode } from '@api-client/core/amf/definitions/Shapes.js'
18
- import { Kind as HttpRequestKind } from '@api-client/core/models/HttpRequest.js'
19
- import { cancelEvent } from '@api-client/core/lib/events/Utils.js'
20
- import { Events as CoreEvents } from '@api-client/core/events/Events.js'
21
- import { ensureContentType, generateHeaders } from '../../amf/lib/Utils.js'
22
- import { cachePayloadValue, getPayloadValue, PayloadInfo, readCachePayloadValue } from '../../amf/lib/PayloadUtils.js'
23
- import {
24
- applyUrlParameters,
25
- applyUrlVariables,
26
- computeEndpointUri,
27
- applyQueryParamStringToObject,
28
- } from '../../amf/lib/UrlUtils.js'
29
- import { AmfInputParser } from '../../amf/lib/AmfInputParser.js'
30
- import * as InputCache from '../../amf/lib/InputCache.js'
31
- import { Events } from '../../events/amf/Events.js'
32
- import { EventTypes } from '../../events/amf/EventTypes.js'
33
- import { EventTypes as UiEventTypes } from '../../events/EventTypes.js'
34
- import { OperationParameter, PopulationInfo, SecuritySelectorListItem, ServerType } from '../../amf/types.js'
35
- import { Oauth2Credentials } from '../authorization/types.js'
36
- import BodyTextEditor from '../http/BodyTextEditor.js'
37
- import BodyUrlEncodedEditor from '../http/BodyUrlEncodedEditor.js'
38
- import { ifProperty } from '../../directives/if-property.js'
39
- import ApiElement from '../ApiElement.js'
40
- import type Input from '../../md/input/Input.js'
41
- import type RadioElement from '../../md/radio/internals/RadioElement.js'
42
- import { AmfParameters } from '../../amf/lib/AmfParameters.js'
43
- import { UiDropdownListSelection } from '../../md/dropdown-list/internals/UiDropdownList.js'
44
- import { AmfSecurity } from '../../amf/lib/AmfSecurity.js'
45
- import { SnackNotifications } from '../../md/notification/SnackNotifications.js'
46
- import '../../define/amf/api-authorization-editor.js'
47
- import '../../define/amf/api-server-picker.js'
48
- import '../../define/http/http-body-urlencoded-editor.js'
49
- import '../../define/http/http-body-multipart-editor.js'
50
- import '../../define/http/http-body-text-editor.js'
51
- import '../../md/icons/ui-icon.js'
52
- import '../../md/text-field/ui-text-field.js'
53
- import '../../md/switch/ui-switch.js'
54
- import '../../md/button/ui-filled-tonal-button.js'
55
- import '../../md/button/ui-outlined-button.js'
56
- import '../../md/dropdown-list/ui-dropdown-list.js'
57
- import '../../md/list/ui-list.js'
58
- import '../../md/list/ui-list-item.js'
59
- import '../../md/progress/ui-progress.js'
60
-
61
- export const EventCategory = 'API Request editor'
62
-
63
- /**
64
- * @fires amfstoreopget - Dispatched when querying for an operation data
65
- * @fires amfstoreopgetparent - Dispatched when querying for an operation data for an endpoint
66
- * @fires amfstoreendpointget - Dispatched when querying for an endpoint data
67
- * @fires apistoreserverquery - Dispatched when querying for API servers
68
- * @fires amfstoreapiprotocols - Dispatched when querying for API protocols
69
- * @fires amfstoreapiversion - Dispatched when querying for API version
70
- * @fires response - Dispatched when the response was received by the editor.
71
- */
72
- export default class ApiRequestEditor extends ApiElement {
73
- /**
74
- * The currently selected media type for the payloads.
75
- * @attribute
76
- */
77
- @property({ type: String, reflect: true }) accessor mimeType: string | undefined
78
-
79
- /**
80
- * When set it renders a label with the computed URL.
81
- * @attribute
82
- */
83
- @property({ type: Boolean, reflect: true }) accessor urlLabel: boolean | undefined
84
-
85
- /**
86
- * When set it renders the URL input above the URL parameters.
87
- * @attribute
88
- */
89
- @property({ type: Boolean, reflect: true }) accessor urlEditor: boolean | undefined
90
-
91
- /**
92
- * If set it computes `hasOptional` property and shows checkbox in the
93
- * form to show / hide optional properties.
94
- * @attribute
95
- */
96
- @property({ type: Boolean, reflect: true }) accessor allowHideOptional: boolean | undefined
97
-
98
- /**
99
- * When set, renders "add custom" item button.
100
- * If the element is to be used without AMF model this should always
101
- * be enabled. Otherwise users won't be able to add a parameter.
102
- * @attribute
103
- */
104
- @property({ type: Boolean, reflect: true }) accessor allowCustom: boolean | undefined
105
-
106
- /**
107
- * OAuth2 redirect URI.
108
- * This value **must** be set in order for OAuth 1/2 to work properly.
109
- * @attribute
110
- */
111
- @property({ type: String }) accessor redirectUri: string | undefined
112
-
113
- /**
114
- * Final request URL including settings like `baseUri`, AMF
115
- * model settings and user provided parameters.
116
- * @attribute
117
- */
118
- @property({ type: String }) accessor url: string | undefined
119
-
120
- /**
121
- * Holds the value of the currently selected server
122
- * Data type: URI
123
- * @attribute
124
- */
125
- @property({ type: String }) accessor serverValue: string | undefined
126
-
127
- /**
128
- * Holds the type of the currently selected server
129
- * Values: `server` | `uri` | `custom`
130
- * @attribute
131
- */
132
- @property({ type: String }) accessor serverType: string | undefined
133
-
134
- /**
135
- * Optional property to set
136
- * If true, the server selector is not rendered
137
- * @attribute
138
- */
139
- @property({ type: Boolean, reflect: true }) accessor noServerSelector: boolean | undefined
140
-
141
- /**
142
- * Optional property to set
143
- * If true, the server selector custom base URI option is rendered
144
- * @attribute
145
- */
146
- @property({ type: Boolean, reflect: true }) accessor allowCustomBaseUri: boolean | undefined
147
-
148
- /**
149
- * List of credentials source
150
- */
151
- @property({ type: Array }) accessor credentialsSource: Oauth2Credentials[] | undefined
152
-
153
- /**
154
- * The domain id key of the selected security
155
- * @attribute
156
- */
157
- @property({ type: String }) accessor selectedSecurity: string | undefined
158
-
159
- /**
160
- * Optional. The parent endpoint id. When set it uses this value to query for the endpoint
161
- * instead of querying for a parent through the operation id.
162
- * Also, when `endpoint` is set and the `endpointId` match then it ignores querying for
163
- * the endpoint.
164
- * @attribute
165
- */
166
- @property({ type: String }) accessor endpointId: string | undefined
167
-
168
- protected domainIdValue: string | undefined
169
-
170
- /**
171
- * The domain id (AMF id) of the rendered operation.
172
- * @attribute
173
- */
174
- get domainId(): string | undefined {
175
- return this.domainIdValue
176
- }
177
-
178
- @property({ type: String, reflect: true })
179
- set domainId(value: string | undefined) {
180
- const old = this.domainIdValue
181
- /* istanbul ignore if */
182
- if (old === value) {
183
- return
184
- }
185
- this.domainIdValue = value
186
- this.requestUpdate('domainId', old)
187
- this.processDebounce()
188
- }
189
-
190
- protected endpointValue: IApiEndPoint | undefined
191
-
192
- get endpoint(): IApiEndPoint | undefined {
193
- return this.endpointValue
194
- }
195
-
196
- set endpoint(value: IApiEndPoint | undefined) {
197
- const old = this.endpointValue
198
- if (old === value) {
199
- return
200
- }
201
- this.endpointValue = value
202
- this.requestUpdate()
203
- this.readUrlData()
204
- this.notifyChange()
205
- }
206
-
207
- /**
208
- * The HTTP method name.
209
- */
210
- get httpMethod(): string | undefined {
211
- const op = this.operationValue
212
- if (!op) {
213
- return undefined
214
- }
215
- return op.method
216
- }
217
-
218
- /**
219
- * A flag set when the request is being made.
220
- */
221
- @state() accessor loadingRequest: boolean | undefined
222
-
223
- protected baseUriValue: string | undefined
224
-
225
- /**
226
- * A base URI for the API. To be set if RAML spec is missing `baseUri`
227
- * declaration and this produces invalid URL input. This information
228
- * is passed to the URL editor that prefixes the URL with `baseUri` value
229
- * if passed URL is a relative URL.
230
- * @attribute
231
- */
232
- get baseUri(): string | undefined {
233
- return this.baseUriValue
234
- }
235
-
236
- @property({ type: String })
237
- set baseUri(value: string | undefined) {
238
- const old = this.baseUriValue
239
- if (old === value) {
240
- return
241
- }
242
- this.baseUriValue = value
243
- this.readUrlData()
244
- this.requestUpdate('baseUri', old)
245
- }
246
-
247
- protected serversValue: IApiServer[] | undefined
248
-
249
- /**
250
- * The computed list of servers.
251
- */
252
- get servers(): IApiServer[] | undefined {
253
- return this.serversValue
254
- }
255
-
256
- protected serverLocalValue: IApiServer | undefined
257
-
258
- get server(): IApiServer | undefined {
259
- return this.serverLocalValue
260
- }
261
-
262
- /**
263
- * This is the final computed value for the baseUri to propagate downwards
264
- * If baseUri is defined, return baseUri
265
- * Else, return the selectedServerValue if serverType is not `server`
266
- */
267
- get effectiveBaseUri(): string {
268
- if (this.baseUri) {
269
- return this.baseUri
270
- }
271
- if (this.serverType !== 'server') {
272
- return this.serverValue as string
273
- }
274
- return ''
275
- }
276
-
277
- /**
278
- * @return True when there is not enough servers to render the selector
279
- */
280
- get serverSelectorHidden(): boolean {
281
- const { serversCount = 0, noServerSelector = false, allowCustomBaseUri } = this
282
- return noServerSelector || (!allowCustomBaseUri && serversCount < 2)
283
- }
284
-
285
- /**
286
- * The list of security list items to render.
287
- * An operation may have multiple security definition in an or/and fashion.
288
- * This allows to render the selector to pick the current security.
289
- */
290
- protected securityList: SecuritySelectorListItem[] | undefined
291
-
292
- /**
293
- * The security requirement for the operation or undefined.
294
- */
295
- get security(): SecuritySelectorListItem[] | undefined {
296
- const items = this.securityList
297
- if (Array.isArray(items) && items.length) {
298
- return items
299
- }
300
- return undefined
301
- }
302
-
303
- /**
304
- * The currently rendered payload, if any.
305
- */
306
- get payload(): IApiPayload | undefined {
307
- const { payloads } = this
308
- if (!payloads) {
309
- return undefined
310
- }
311
- const { mimeType } = this
312
- let payload: IApiPayload | undefined
313
- if (mimeType) {
314
- payload = payloads.find((i) => i.mediaType === mimeType)
315
- }
316
- if (!payload) {
317
- ;[payload] = payloads
318
- }
319
- return payload
320
- }
321
-
322
- /**
323
- * The list of all possible payloads for this operation.
324
- */
325
- get payloads(): IApiPayload[] | undefined {
326
- const operation = this.operationValue
327
- if (!operation) {
328
- return undefined
329
- }
330
- const { request } = operation
331
- if (!request) {
332
- return undefined
333
- }
334
- const { payloads } = request
335
- if (!Array.isArray(payloads) || !payloads.length) {
336
- return undefined
337
- }
338
- return payloads
339
- }
340
-
341
- /**
342
- * @returns API defined base URI (current server + the endpoint)
343
- */
344
- get apiBaseUri(): string | undefined {
345
- const endpoint = this.endpointValue
346
- const server = this.serverLocalValue
347
- if (!server || !endpoint) {
348
- return undefined
349
- }
350
- const { path = '' } = endpoint
351
- let { url = '' } = server
352
- if (url.endsWith('/')) {
353
- url = url.substr(0, url.length - 1)
354
- }
355
- return `${url}${path}`
356
- }
357
-
358
- protected urlInvalidValue?: boolean
359
-
360
- /**
361
- * True when the URL input is invalid.
362
- */
363
- get urlInvalid(): boolean | undefined {
364
- return this.urlInvalidValue
365
- }
366
-
367
- protected protocolsValue: string[] | undefined
368
-
369
- /**
370
- * The API's protocols.
371
- */
372
- get protocols(): string[] | undefined {
373
- return this.protocolsValue
374
- }
375
-
376
- protected versionValue: string | undefined
377
-
378
- /**
379
- * The API's version.
380
- */
381
- get version(): string | undefined {
382
- return this.versionValue
383
- }
384
-
385
- queryDebouncerTimeout: number
386
-
387
- /**
388
- * Set when the selection change, this is a JS object created form the
389
- * supportedOperation definition of the AMF graph.
390
- */
391
- protected operationValue?: IApiOperation
392
-
393
- /**
394
- * The list of parameter groups that are opened when `allowHideOptional` is set.
395
- */
396
- openedOptional: string[]
397
-
398
- protected debounceValue: unknown
399
-
400
- protected urlSearchRegexpValue: RegExp | undefined
401
-
402
- serversCount?: number
403
-
404
- amfParameters: AmfParameters
405
-
406
- /**
407
- * This is set while the HTTP request is being executed.
408
- * It allows to abort the request.
409
- */
410
- requestController?: AbortController
411
-
412
- /**
413
- * @constructor
414
- */
415
- constructor() {
416
- super()
417
- /**
418
- * The timeout after which the `queryGraph()` function is called
419
- * in the debouncer.
420
- */
421
- this.queryDebouncerTimeout = 1
422
- this.authRedirectChangedHandler = this.authRedirectChangedHandler.bind(this)
423
- this.populateAnnotatedFieldsHandler = this.populateAnnotatedFieldsHandler.bind(this)
424
-
425
- this.openedOptional = []
426
- this.amfParameters = new AmfParameters(this)
427
- this.amfParameters.addEventListener('render', () => this.requestUpdate())
428
- this.amfParameters.addEventListener('change', () => this.notifyChange())
429
- this.amfParameters.addEventListener('paramchange', this.paramChangeHandler.bind(this) as EventListener)
430
- InputCache.registerLocal(this)
431
- this.graphChangeHandler = this.graphChangeHandler.bind(this)
432
- this.addEventListener(UiEventTypes.Http.Request.send, this.internalSendHandler.bind(this))
433
- }
434
-
435
- override connectedCallback(): void {
436
- super.connectedCallback()
437
- this.processDebounce()
438
- this.amfParameters.globalCache = true
439
- const node = this.eventsTarget
440
- node.addEventListener(EventTypes.Store.graphChange, this.graphChangeHandler)
441
- node.addEventListener(EventTypes.Request.redirectUriChange, this.authRedirectChangedHandler as EventListener)
442
- node.addEventListener(
443
- EventTypes.Request.populateAnnotatedFields,
444
- this.populateAnnotatedFieldsHandler as EventListener
445
- )
446
- }
447
-
448
- override disconnectedCallback(): void {
449
- super.disconnectedCallback()
450
- if (this.debounceValue) {
451
- clearTimeout(this.debounceValue as number)
452
- this.debounceValue = undefined
453
- }
454
- const node = this.eventsTarget
455
- node.removeEventListener(EventTypes.Store.graphChange, this.graphChangeHandler)
456
- node.removeEventListener(EventTypes.Request.redirectUriChange, this.authRedirectChangedHandler as EventListener)
457
- node.removeEventListener(
458
- EventTypes.Request.populateAnnotatedFields,
459
- this.populateAnnotatedFieldsHandler as EventListener
460
- )
461
- }
462
-
463
- /**
464
- * Handler for the event dispatched by the store when the graph model change.
465
- */
466
- protected graphChangeHandler(): void {
467
- this.processDebounce()
468
- }
469
-
470
- /**
471
- * Calls the `queryGraph()` function in a debouncer.
472
- */
473
- protected processDebounce(): void {
474
- if (this.debounceValue) {
475
- clearTimeout(this.debounceValue as number)
476
- }
477
- this.debounceValue = setTimeout(() => {
478
- this.debounceValue = undefined
479
- this.processGraph()
480
- }, this.queryDebouncerTimeout)
481
- }
482
-
483
- /**
484
- * Reads the URL data from the ApiUrlDataModel library and sets local variables.
485
- */
486
- readUrlData(): void {
487
- this.updateServerParameters()
488
- this.orderPathParameters()
489
- this.computeUrlValue()
490
- }
491
-
492
- /**
493
- * It makes sure that the path parameters are rendered in order (server, endpoint)
494
- * and in order of occurrence in the URL.
495
- */
496
- protected orderPathParameters(): void {
497
- const params = this.getOrderedPathParams()
498
- if (!params || !params.length) {
499
- return
500
- }
501
- const { amfParameters } = this
502
- amfParameters.parametersValue = amfParameters.parametersValue.filter((item) => item.binding !== 'path')
503
- amfParameters.parametersValue = amfParameters.parametersValue.concat(params)
504
- }
505
-
506
- protected paramChangeHandler(e: CustomEvent<string>): void {
507
- this.paramChanged(e.detail)
508
- }
509
-
510
- /**
511
- * A function to be overwritten by child classes to execute an action when a parameter has changed.
512
- */
513
- protected paramChanged(key: string): void {
514
- this.computeUrlValue()
515
- this.validateUrl()
516
- const { amfParameters } = this
517
- const param = amfParameters.parametersValue.find((p) => p.paramId === key)
518
- if (param && param.binding === 'header' && (param.parameter.name || '').toLocaleLowerCase() === 'content-type') {
519
- const value = InputCache.get(this, param.paramId, true) as string
520
- this.mimeType = value
521
- }
522
- }
523
-
524
- /**
525
- * Computes the URL value for the current serves, selected server, and endpoint's path.
526
- */
527
- protected computeUrlValue(): void {
528
- const { effectiveBaseUri, server, protocols, version } = this
529
- const endpoint = this.endpointValue
530
- const result = computeEndpointUri({
531
- baseUri: effectiveBaseUri,
532
- server,
533
- endpoint,
534
- protocols,
535
- version,
536
- forceHttpProtocol: true,
537
- })
538
- const { amfParameters } = this
539
- const params = amfParameters.parametersValue.map((p) => p.parameter)
540
- const report = AmfInputParser.reportRequestInputs(params, InputCache.getStore(this, true), amfParameters.nilValues)
541
- let url = applyUrlVariables(result, report.path, true)
542
- url = applyUrlParameters(url, report.query, true)
543
- this.url = url
544
- }
545
-
546
- /**
547
- * Checks if the current server has variables and update the parameters array
548
- */
549
- protected updateServerParameters(): void {
550
- const { server } = this
551
- const source = 'server'
552
- const { amfParameters } = this
553
- // clears previously set request parameters related to server configuration.
554
- amfParameters.parametersValue = amfParameters.parametersValue.filter((item) => item.source !== source)
555
- if (!server || ['custom', 'uri'].includes(this.serverType || '')) {
556
- // we don't need to compute server variables for a custom URLs.
557
- return
558
- }
559
- if (Array.isArray(server.variables) && server.variables.length) {
560
- server.variables.forEach((param) => {
561
- const item: OperationParameter = {
562
- binding: param.binding || '',
563
- paramId: param.id,
564
- parameter: param,
565
- source,
566
- }
567
- if (param.schema) {
568
- item.schema = param.schema
569
- item.schemaId = param.schema.id
570
- }
571
- amfParameters.parametersValue.push(item)
572
- })
573
- }
574
- }
575
-
576
- /**
577
- * Checks if the current endpoint has variables and requests them when needed.
578
- */
579
- protected updateEndpointParameters(): void {
580
- const source = 'endpoint'
581
- const { amfParameters } = this
582
- // clears previously set request parameters related to server configuration.
583
- amfParameters.parametersValue = amfParameters.parametersValue.filter((item) => item.source !== source)
584
- const endpoint = this.endpointValue
585
- if (!endpoint) {
586
- // we don't need to compute endpoint variables for a custom URLs.
587
- return
588
- }
589
- if (Array.isArray(endpoint.parameters) && endpoint.parameters.length) {
590
- endpoint.parameters.forEach((param) => {
591
- const item: OperationParameter = {
592
- binding: param.binding || '',
593
- paramId: param.id,
594
- parameter: param,
595
- source,
596
- }
597
- if (param.schema) {
598
- item.schema = param.schema
599
- item.schemaId = param.schema.id
600
- }
601
- amfParameters.parametersValue.push(item)
602
- })
603
- }
604
- }
605
-
606
- reset(): void {
607
- this.securityList = undefined
608
- this.mimeType = undefined
609
- this.amfParameters.parametersValue = []
610
- }
611
-
612
- /**
613
- * Processes the selection of the domain id for an operation.
614
- */
615
- async processGraph(): Promise<void> {
616
- await this.queryEndpoint()
617
- await this.queryOperation()
618
- await this.queryServers()
619
- await this.queryProtocols()
620
- this.processEndpoint()
621
- this.processOperation()
622
- this.processSecurity()
623
- this.processPayload()
624
- this.computeUrlValue()
625
- this.readUrlData()
626
- this.notifyChange()
627
- }
628
-
629
- /**
630
- * Queries the store for the operation data, when needed.
631
- */
632
- async queryOperation(): Promise<void> {
633
- const { domainId } = this
634
- if (!domainId || domainId === 'undefined') {
635
- // this.operationValue = undefined;
636
- return
637
- }
638
- if (this.operationValue && this.operationValue.id === domainId) {
639
- // in case the operation model was provided via the property setter.
640
- return
641
- }
642
- try {
643
- const endpointId = this.endpointValue && this.endpointValue.id
644
- const info = await Events.Operation.get(this, domainId, endpointId)
645
- this.operationValue = info
646
- } catch (e) {
647
- const ex = e as Error
648
- Events.Telemetry.exception(this, ex.message, false)
649
- Events.Reporting.error(this, ex, `Unable to query for API operation data: ${ex.message}`, this.localName)
650
- }
651
- }
652
-
653
- /**
654
- * Queries the store for the endpoint data.
655
- * @returns {Promise<void>}
656
- */
657
- async queryEndpoint(): Promise<void> {
658
- const { domainId, endpointId } = this
659
- if (!domainId || domainId === 'undefined') {
660
- // this.endpointValue = undefined;
661
- return
662
- }
663
- if (this.endpointValue && this.endpointValue.id === endpointId) {
664
- // in case the endpoint model was provided via the property setter.
665
- return
666
- }
667
- this.endpointValue = undefined
668
- try {
669
- const info = await (endpointId
670
- ? Events.Endpoint.get(this, endpointId)
671
- : Events.Operation.getParent(this, domainId))
672
- this.endpointValue = info
673
- } catch (e) {
674
- const ex = e as Error
675
- Events.Telemetry.exception(this, ex.message, false)
676
- Events.Reporting.error(this, ex, `Unable to query for API endpoint data: ${ex.message}`, this.localName)
677
- }
678
- }
679
-
680
- /**
681
- * Queries for the current servers value.
682
- */
683
- async queryServers(): Promise<void> {
684
- const { domainId } = this
685
- const endpointId = this.endpointValue && this.endpointValue.id
686
- try {
687
- const info = await Events.Server.query(this, {
688
- endpointId,
689
- methodId: domainId,
690
- })
691
- this.serversValue = info || undefined
692
- } catch (e) {
693
- const ex = e as Error
694
- this.serversValue = undefined
695
- Events.Telemetry.exception(this, ex.message, false)
696
- Events.Reporting.error(this, ex, `Unable to query for API servers: ${ex.message}`, this.localName)
697
- }
698
- }
699
-
700
- /**
701
- * Queries the API store for the API protocols list.
702
- */
703
- async queryProtocols(): Promise<void> {
704
- this.protocolsValue = undefined
705
- try {
706
- const info = await Events.Api.protocols(this)
707
- this.protocolsValue = info
708
- } catch (e) {
709
- const ex = e as Error
710
- Events.Telemetry.exception(this, ex.message, false)
711
- Events.Reporting.error(this, ex, `Unable to query for API protocols list: ${ex.message}`, this.localName)
712
- }
713
- }
714
-
715
- /**
716
- * Searches for the current operation endpoint and sets variables from the endpoint definition.
717
- */
718
- protected processEndpoint(): void {
719
- this.updateEndpointParameters()
720
- this.computeUrlRegexp()
721
- }
722
-
723
- /**
724
- * Collects operations input parameters into a single object.
725
- */
726
- protected processOperation(): void {
727
- const source = 'request'
728
- const operation = this.operationValue
729
- const { amfParameters } = this
730
- // clears previously set request parameters (query, path, headers)
731
- amfParameters.parametersValue = amfParameters.parametersValue.filter((item) => item.source !== source)
732
- if (!operation) {
733
- return
734
- }
735
- const { request } = operation
736
- if (!request) {
737
- return
738
- }
739
- const uri: IApiParameter[] = []
740
- if (Array.isArray(request.uriParameters)) {
741
- // OAS has this weird thing where you can define URI parameters on the endpoint and the operation.
742
- // this eliminates the duplicates and merges the schemas
743
- request.uriParameters.forEach((param) => {
744
- if (!param.paramName) {
745
- uri.push(param)
746
- return
747
- }
748
- const index = amfParameters.parametersValue.findIndex(
749
- (p) => p.binding === 'path' && p.parameter.paramName === param.paramName
750
- )
751
- if (index !== -1) {
752
- // remove the parameter that is being replaced by the local definition
753
- amfParameters.parametersValue.splice(index, 1)
754
- }
755
- uri.push(param)
756
- })
757
- }
758
- this.appendToParams(uri, source)
759
- this.appendToParams(request.queryParameters, source)
760
- this.appendToParams(request.headers, source)
761
- this.appendToParams(request.cookieParameters, source)
762
- }
763
-
764
- /**
765
- * Processes security information for the UI.
766
- */
767
- protected processSecurity(): void {
768
- const operation = this.operationValue
769
- if (!operation) {
770
- return
771
- }
772
- const { security } = operation
773
- this.securityList = AmfSecurity.readSecurityList(security)
774
- const [first] = this.securityList
775
- this.selectedSecurity = first ? first.security.id : undefined
776
- }
777
-
778
- /**
779
- * Makes sure the correct mime type is selected for the current selection.
780
- */
781
- protected processPayload(): void {
782
- const operation = this.operationValue
783
- if (!operation) {
784
- return
785
- }
786
- const { request } = operation
787
- if (!request) {
788
- return
789
- }
790
- const { payloads = [] } = request
791
- if (!payloads.length) {
792
- return
793
- }
794
- let mime = this.mimeType
795
-
796
- if (mime) {
797
- const has = payloads.find((p) => p.mediaType === mime)
798
- if (!has) {
799
- mime = undefined
800
- }
801
- }
802
- if (!mime) {
803
- const first = payloads.find((p) => p.mediaType)
804
- if (first) {
805
- mime = first.mediaType
806
- }
807
- }
808
- this.mimeType = mime
809
- }
810
-
811
- /**
812
- * Appends a list of parameters to the list of rendered parameters
813
- */
814
- protected appendToParams(list: IApiParameter[], source: string): void {
815
- const params = this.amfParameters.parametersValue
816
- if (Array.isArray(list)) {
817
- list.forEach((param) => {
818
- params.push({
819
- paramId: param.id,
820
- parameter: param,
821
- binding: param.binding || '',
822
- source,
823
- schema: param.schema,
824
- schemaId: param.schema && param.schema.id ? param.schema.id : undefined,
825
- })
826
- })
827
- }
828
- }
829
-
830
- /**
831
- * A handler for the change event dispatched by the `raw` editor.
832
- */
833
- protected rawBodyChangeHandler(e: Event): void {
834
- const editor = e.target as BodyTextEditor
835
- const { value, dataset } = editor
836
- const { payloadId } = dataset
837
- if (!payloadId) {
838
- return
839
- }
840
- cachePayloadValue(payloadId, value as string)
841
- }
842
-
843
- /**
844
- * A handler for the change event dispatched by the
845
- * `urlEncode` editor.
846
- * Updated the local value, model, and notifies the change.
847
- */
848
- protected modelBodyEditorChangeHandler(e: Event): void {
849
- const editor = e.target as BodyUrlEncodedEditor
850
- const { value, model, dataset } = editor
851
- const { payloadId } = dataset
852
- if (!payloadId) {
853
- return
854
- }
855
- cachePayloadValue(payloadId, value as string, model)
856
- }
857
-
858
- protected handleAuthSelect(e: CustomEvent<UiDropdownListSelection>): void {
859
- const { item } = e.detail
860
- const { id } = item.dataset
861
- if (!id) {
862
- return
863
- }
864
- this.selectedSecurity = id
865
- this.requestUpdate()
866
- }
867
-
868
- /**
869
- * Handles send button click.
870
- * Depending on authorization validity it either sends the
871
- * request or forces authorization and sends the request.
872
- */
873
- protected sendHandler(): void {
874
- this.execute()
875
- }
876
-
877
- /**
878
- * To be called when the user want to execute the request but
879
- * authorization is invalid (missing values).
880
- * This function brings the auth panel to front and displays error toast
881
- */
882
- async authAndExecute(): Promise<void> {
883
- const { shadowRoot } = this
884
- if (!shadowRoot) {
885
- throw new Error(`Invalid state. The element is not initialized.`)
886
- }
887
-
888
- const panel = shadowRoot.querySelector('api-authorization-editor')
889
- if (!panel) {
890
- throw new Error(`Invalid state. The authorization editor element was removed from the DOM.`)
891
- }
892
- await panel.authorize()
893
- const valid = panel.validate()
894
- if (valid) {
895
- this.execute()
896
- }
897
- }
898
-
899
- protected async proxyRequest(init: IRequestProxyInit): Promise<IProxyResult<IRequestLog> | undefined> {
900
- let result: IProxyResult<IRequestLog> | undefined
901
- try {
902
- result = await CoreEvents.Transport.Core.request(init, this)
903
- } catch {
904
- // ...
905
- }
906
- return result
907
- }
908
-
909
- /**
910
- * Proxies the request to the endpoint using the core libraries.
911
- */
912
- async execute(): Promise<void> {
913
- if (this.loadingRequest) {
914
- this.abort()
915
- }
916
- Events.Telemetry.event(this, {
917
- category: EventCategory,
918
- action: 'request-execute',
919
- label: 'true',
920
- })
921
- const request = await this.serialize()
922
- const ctrl = new AbortController()
923
- this.requestController = ctrl
924
- const init: IRequestProxyInit = {
925
- kind: HttpRequestKind,
926
- request: request.expects,
927
- authorization: request.authorization,
928
- signal: ctrl.signal,
929
- }
930
- this.loadingRequest = true
931
- const result = await this.proxyRequest(init)
932
- this.loadingRequest = false
933
- if (!result) {
934
- if (ctrl.signal.aborted) {
935
- return
936
- }
937
- const message = `The request was not sent. Proxy not available.`
938
- SnackNotifications.notify(message, { timeout: 2000, close: true })
939
- throw new Error(message)
940
- }
941
- this.dispatchEvent(new CustomEvent<IRequestLog>('response', { detail: result.result }))
942
- }
943
-
944
- /**
945
- * Uses the `requestController` to abort the ongoing HTTP request.
946
- */
947
- abort(): void {
948
- Events.Telemetry.event(this, {
949
- category: EventCategory,
950
- action: 'request-abort',
951
- label: 'true',
952
- })
953
- const { requestController } = this
954
- if (!requestController) {
955
- return
956
- }
957
- requestController.abort()
958
- this.requestController = undefined
959
- this.loadingRequest = false
960
- }
961
-
962
- /**
963
- * Event handler for abort click.
964
- */
965
- protected abortHandler(): void {
966
- this.abort()
967
- }
968
-
969
- /**
970
- * Serializes the state of the request editor.
971
- */
972
- async serialize(): Promise<IRequest> {
973
- const op = this.operationValue
974
- if (!op) {
975
- throw new Error(`No API operation defined on the editor`)
976
- }
977
- const method = (op.method || 'get').toUpperCase()
978
- const params: IApiParameter[] = []
979
- const { amfParameters } = this
980
- amfParameters.parametersValue.forEach((item) => {
981
- const { parameter, enabled } = item
982
- if (enabled === false) {
983
- return
984
- }
985
- params.push(parameter)
986
- })
987
- const report = AmfInputParser.reportRequestInputs(params, InputCache.getStore(this, true), amfParameters.nilValues)
988
- const serverUrl = computeEndpointUri({
989
- baseUri: this.effectiveBaseUri,
990
- server: this.server,
991
- endpoint: this.endpointValue,
992
- protocols: this.protocols,
993
- forceHttpProtocol: true,
994
- })
995
- let url = applyUrlVariables(serverUrl, report.path, true)
996
- url = applyUrlParameters(url, report.query, true)
997
- const headers = generateHeaders(report.header)
998
-
999
- const instance = new Request()
1000
- const expects = instance.getExpects()
1001
- expects.method = method
1002
- expects.url = url
1003
- expects.headers = headers
1004
-
1005
- if (!['GET', 'HEAD'].includes(method)) {
1006
- let body: string | FormData | Blob | File | ArrayBuffer | undefined
1007
- const { payload } = this
1008
- if (payload) {
1009
- const info = readCachePayloadValue(payload.id)
1010
- if (info && info.value) {
1011
- body = info.value
1012
- }
1013
- }
1014
- if (body instanceof FormData) {
1015
- const parser = new Headers(expects.headers)
1016
- parser.delete('content-type')
1017
- expects.headers = parser.toString()
1018
- } else if (payload) {
1019
- expects.headers = ensureContentType(expects.headers || '', payload.mediaType)
1020
- }
1021
- if (typeof body !== 'undefined') {
1022
- await expects.writePayload(body)
1023
- }
1024
- }
1025
-
1026
- const result = instance.toJSON()
1027
-
1028
- const authElement = this.shadowRoot?.querySelector('api-authorization-editor')
1029
- if (authElement) {
1030
- const auth = authElement.serialize()
1031
- result.authorization = auth
1032
- }
1033
- return result
1034
- }
1035
-
1036
- /**
1037
- * Handler for the `oauth2-redirect-uri-changed` custom event. Changes
1038
- * the `redirectUri` property.
1039
- */
1040
- protected authRedirectChangedHandler(e: CustomEvent): void {
1041
- this.redirectUri = e.detail.value
1042
- }
1043
-
1044
- /**
1045
- * Handle event for populating annotated fields in the editor.
1046
- */
1047
- protected populateAnnotatedFieldsHandler(e: CustomEvent): void {
1048
- const populationInfoArray: PopulationInfo[] = e.detail.values
1049
- const { parametersValue = [] } = this.amfParameters
1050
- const allAnnotated = parametersValue.filter(
1051
- (param) =>
1052
- Array.isArray(param.parameter.customDomainProperties) && !!param.parameter.customDomainProperties.length
1053
- )
1054
- let update = false
1055
- populationInfoArray.forEach(({ annotationName, annotationValue, fieldValue }) => {
1056
- allAnnotated.forEach((item) => {
1057
- const { parameter, paramId } = item
1058
- const hasAnnotation = (parameter.customDomainProperties || []).some(
1059
- (prop) => prop.name === annotationName && (prop.extension as IApiScalarNode).value === annotationValue
1060
- )
1061
- if (!hasAnnotation) {
1062
- return
1063
- }
1064
- InputCache.set(this, paramId, fieldValue, true)
1065
- update = true
1066
- })
1067
- })
1068
- if (update) {
1069
- this.requestUpdate()
1070
- }
1071
- /* @TODO populate values for the security schema. */
1072
- }
1073
-
1074
- /**
1075
- * Computes a current server value for selection made in the server selector.
1076
- */
1077
- protected updateServer(): void {
1078
- const { serverValue, serverType, servers = [] } = this
1079
- if (serverType !== 'server') {
1080
- this.serverLocalValue = undefined
1081
- } else {
1082
- this.serverLocalValue = servers.find((server) => server.url === serverValue)
1083
- }
1084
- this.readUrlData()
1085
- this.computeUrlRegexp()
1086
- }
1087
-
1088
- /**
1089
- * Handler for the change dispatched from the server selector.
1090
- */
1091
- protected serverCountHandler(e: CustomEvent): void {
1092
- const { value = 0 } = e.detail
1093
- this.serversCount = value
1094
- this.updateServer()
1095
- this.requestUpdate()
1096
- }
1097
-
1098
- /**
1099
- * Handler for the change dispatched from the server selector.
1100
- */
1101
- protected serverHandler(e: CustomEvent): void {
1102
- const { value, type } = e.detail
1103
- this.serverType = type
1104
- this.serverValue = value
1105
- this.updateServer()
1106
- this.computeUrlRegexp()
1107
- }
1108
-
1109
- /**
1110
- * Computes a regexp for the base URI defined in the server to process URL input change
1111
- * and set the `.urlSearchRegexpValue` value.
1112
- * This should be computed only when a server and en endpoint change.
1113
- */
1114
- protected computeUrlRegexp(): void {
1115
- const { effectiveBaseUri } = this
1116
- let value
1117
- if (effectiveBaseUri) {
1118
- value = computeEndpointUri({
1119
- baseUri: effectiveBaseUri,
1120
- endpoint: this.endpointValue,
1121
- forceHttpProtocol: true,
1122
- })
1123
- } else {
1124
- value = this.apiBaseUri
1125
- }
1126
- if (!value) {
1127
- this.urlSearchRegexpValue = undefined
1128
- } else {
1129
- value = value.replace('?', '\\?')
1130
- value = value.replace(/(\.|\/)/g, '\\$1')
1131
- value = value.replace(/{[\w\\+]+}/g, "([a-zA-Z0-9\\$\\-_\\.~\\+!'\\(\\)\\*\\{\\}]+)")
1132
- value += '.*'
1133
- this.urlSearchRegexpValue = new RegExp(value)
1134
- }
1135
- }
1136
-
1137
- protected handleMediaTypeSelect(e: Event): void {
1138
- const node = e.target as RadioElement
1139
- const { value } = node
1140
- this.mimeType = value
1141
- const ctParam = this.amfParameters.parametersValue.find(
1142
- (p) => p.binding === 'header' && (p.parameter.name || '').toLocaleLowerCase() === 'content-type'
1143
- )
1144
- if (ctParam) {
1145
- InputCache.set(this, ctParam.paramId, value, true)
1146
- }
1147
- }
1148
-
1149
- protected async notifyResizeAfterUpdate(): Promise<void> {
1150
- await this.updateComplete
1151
- this.dispatchEvent(new Event('resize', { bubbles: true, composed: true }))
1152
- }
1153
-
1154
- /**
1155
- * Toggles optional parameter groups.
1156
- */
1157
- protected handleOptionalToggle(e: Event): void {
1158
- const node = e.target as HTMLElement
1159
- const { target } = node.dataset
1160
- if (!target) {
1161
- return
1162
- }
1163
- if (!Array.isArray(this.openedOptional)) {
1164
- this.openedOptional = []
1165
- }
1166
- if (this.openedOptional.includes(target)) {
1167
- const index = this.openedOptional.indexOf(target)
1168
- this.openedOptional.splice(index, 1)
1169
- } else {
1170
- this.openedOptional.push(target)
1171
- }
1172
- this.requestUpdate()
1173
- this.notifyResizeAfterUpdate()
1174
- }
1175
-
1176
- /**
1177
- * When enabled it adds a new custom parameter to the request section defined in the source button.
1178
- */
1179
- protected addCustomHandler(e: Event): void {
1180
- const button = e.currentTarget as HTMLElement
1181
- const { type } = button.dataset
1182
- if (!['query', 'header'].includes(type as string)) {
1183
- return
1184
- }
1185
- const id = nanoid()
1186
- const param: OperationParameter = {
1187
- binding: type || '',
1188
- source: 'custom',
1189
- paramId: id,
1190
- parameter: {
1191
- id,
1192
- required: true,
1193
- binding: type,
1194
- name: '',
1195
- examples: [],
1196
- payloads: [],
1197
- customDomainProperties: [],
1198
- types: [],
1199
- },
1200
- }
1201
- this.amfParameters.parametersValue.push(param)
1202
- this.requestUpdate()
1203
- }
1204
-
1205
- /**
1206
- * Updates path/query model from user input.
1207
- *
1208
- * @param e The change event
1209
- */
1210
- protected handleUrlEditorChange(e: Event): void {
1211
- const { value } = e.target as Input
1212
- let matches
1213
- const uriRegexp = this.urlSearchRegexpValue
1214
- // parameters must be in order from server to the endpoint
1215
- const pathParams = this.getOrderedPathParams()
1216
- let changed = false
1217
- if (pathParams.length && uriRegexp) {
1218
- matches = value.match(uriRegexp)
1219
- if (matches) {
1220
- matches.shift()
1221
- changed = this.applyUriValues(matches, pathParams)
1222
- }
1223
- }
1224
- const matchesNew = value.match(/[^&?]*?=[^&?]*/g)
1225
- if (matchesNew) {
1226
- const params: Record<string, string | string[]> = {}
1227
- matchesNew.forEach((item) => applyQueryParamStringToObject(item, params))
1228
- const qpChanged = this.applyQueryParamsValues(params)
1229
- if (!changed) {
1230
- changed = qpChanged
1231
- }
1232
- }
1233
- this.url = value
1234
- this.validateUrl()
1235
- this.notifyChange()
1236
- this.requestUpdate()
1237
- }
1238
-
1239
- /**
1240
- * Sets the value of `.urlInvalidValue` and therefore `urlInvalid` properties.
1241
- */
1242
- validateUrl(): void {
1243
- this.urlInvalidValue = !this.readUrlValidity()
1244
- this.requestUpdate()
1245
- }
1246
-
1247
- /**
1248
- * Validates the current URL value.
1249
- * @returns True when the current URL is a valid URL.
1250
- */
1251
- protected readUrlValidity(): boolean {
1252
- const { url } = this
1253
- if (!url) {
1254
- return false
1255
- }
1256
- if (typeof url !== 'string') {
1257
- return false
1258
- }
1259
- if (url.indexOf('{') !== -1 && url.indexOf('}') !== -1) {
1260
- return false
1261
- }
1262
- const { shadowRoot } = this
1263
- if (!shadowRoot) {
1264
- return true
1265
- }
1266
- const inputElement = shadowRoot.querySelector('.url-input') as Input
1267
- if (inputElement) {
1268
- return inputElement.reportValidity()
1269
- }
1270
- return true
1271
- }
1272
-
1273
- /**
1274
- * Reads the ordered list of path parameters from the server and the endpoint.
1275
- */
1276
- protected getOrderedPathParams(): OperationParameter[] {
1277
- const result: OperationParameter[] = []
1278
- const { effectiveBaseUri } = this
1279
- let url
1280
- if (effectiveBaseUri) {
1281
- url = computeEndpointUri({
1282
- baseUri: effectiveBaseUri,
1283
- endpoint: this.endpointValue,
1284
- forceHttpProtocol: true,
1285
- })
1286
- } else {
1287
- url = this.apiBaseUri
1288
- }
1289
- if (!url) {
1290
- return result
1291
- }
1292
- const matches = url.match(/{[\w\\+]+}/g)
1293
- if (!matches) {
1294
- return result
1295
- }
1296
- const all = this.amfParameters.parametersValue
1297
- matches.forEach((tpl) => {
1298
- const name = tpl.substr(1, tpl.length - 2)
1299
- const param = all.find((p) => p.binding === 'path' && p.parameter.name === name)
1300
- if (param) {
1301
- result.push(param)
1302
- }
1303
- })
1304
- return result
1305
- }
1306
-
1307
- /**
1308
- * Applies values from the `values` array to the uri parameters which names are in the `names` array.
1309
- * Both lists are ordered list of parameters.
1310
- *
1311
- * @param values Values for the parameters
1312
- * @param params List of path parameters.
1313
- * @returns True when any parameter was changed.
1314
- */
1315
- protected applyUriValues(values: string[], params: OperationParameter[]): boolean {
1316
- let changed = false
1317
- for (let i = 0, len = params.length; i < len; i++) {
1318
- const value = values[i]
1319
- if (value && value[0] === '{') {
1320
- // This is still a variable
1321
- continue
1322
- }
1323
- const param = params[i]
1324
- if (InputCache.get(this, param.paramId, true) !== value) {
1325
- InputCache.set(this, param.paramId, value, true)
1326
- changed = true
1327
- }
1328
- }
1329
- return changed
1330
- }
1331
-
1332
- /**
1333
- * Applies query parameters values to the render list.
1334
- *
1335
- * @returns True when any parameter was changed.
1336
- */
1337
- protected applyQueryParamsValues(map: Record<string, string | string[]>): boolean {
1338
- if (!map) {
1339
- return false
1340
- }
1341
- const keys = Object.keys(map)
1342
- let changed = false
1343
- keys.forEach((key) => {
1344
- const value = map[key]
1345
- if (value && value[0] === '{') {
1346
- // This is still a variable
1347
- return
1348
- }
1349
- const param = this.amfParameters.parametersValue.find((p) => p.binding === 'query' && p.parameter.name === key)
1350
- if (param) {
1351
- if (InputCache.get(this, param.paramId, true) !== value) {
1352
- InputCache.set(this, param.paramId, value, true)
1353
- changed = true
1354
- }
1355
- }
1356
- })
1357
- return changed
1358
- }
1359
-
1360
- protected internalSendHandler(e: Event): void {
1361
- e.stopPropagation()
1362
- this.execute()
1363
- }
1364
-
1365
- /**
1366
- * A handler for the change event on the authorization panel.
1367
- */
1368
- protected authorizationChangeHandler(): void {
1369
- this.notifyChange()
1370
- }
1371
-
1372
- override render(): TemplateResult {
1373
- return html` <div class="content">
1374
- ${this.serverSelectorTemplate()} ${this.urlLabelTemplate()} ${this.renderUrlEditor()} ${this.parametersTemplate()}
1375
- ${this.headersTemplate()} ${this.mediaTypeSelectorTemplate()} ${this.bodyTemplate()}
1376
- ${this.authorizationTemplate()} ${this.formActionsTemplate()}
1377
- </div>`
1378
- }
1379
-
1380
- /**
1381
- * @return Template for the request URL label.
1382
- */
1383
- protected urlLabelTemplate(): TemplateResult | typeof nothing {
1384
- const { urlLabel, url } = this
1385
- if (!urlLabel) {
1386
- return nothing
1387
- }
1388
- return html`<div class="url-label text-selectable" title="Current request URL">${url}</div>`
1389
- }
1390
-
1391
- protected authorizationTemplate(): TemplateResult | typeof nothing {
1392
- const { security } = this
1393
- if (!security) {
1394
- return nothing
1395
- }
1396
- const { selectedSecurity, redirectUri, credentialsSource } = this
1397
- const rendered = security.find((i) => i.security.id === selectedSecurity)
1398
- if (!rendered) {
1399
- return nothing
1400
- }
1401
- return html`
1402
- <section class="authorization params-section">
1403
- <div class="section-title"><span class="label">Credentials</span></div>
1404
- ${security.length > 1 ? this.authorizationSelectorTemplate(security, rendered) : ''}
1405
- <api-authorization-editor
1406
- .security="${rendered.security}"
1407
- .oauth2RedirectUri="${redirectUri}"
1408
- .credentialsSource="${credentialsSource}"
1409
- @change="${this.authorizationChangeHandler}"
1410
- ></api-authorization-editor>
1411
- </section>
1412
- `
1413
- }
1414
-
1415
- /**
1416
- * @returns The template for the security drop down selector.
1417
- */
1418
- protected authorizationSelectorTemplate(
1419
- security: SecuritySelectorListItem[],
1420
- selected: SecuritySelectorListItem
1421
- ): TemplateResult {
1422
- const finalValue = selected.labels.join(', ')
1423
- return html`
1424
- <ui-dropdown-list
1425
- class="authorization-selector"
1426
- closeOnOutsideClick
1427
- matchTriggerWidth
1428
- @select="${this.handleAuthSelect}"
1429
- >
1430
- <ui-text-field
1431
- class="dropdown-trigger"
1432
- label="Authorization method"
1433
- readOnly
1434
- name="authorization"
1435
- .value="${finalValue || ''}"
1436
- @select="${cancelEvent}"
1437
- >
1438
- <ui-icon icon="arrowDropDown" role="presentation" slot="suffix"></ui-icon>
1439
- </ui-text-field>
1440
- <ui-list slot="dropdown" role="menu" selector="[data-value]" selectActive>
1441
- ${security.map((item) => this.authorizationSelectorItemTemplate(item))}
1442
- </ui-list>
1443
- </ui-dropdown-list>
1444
- `
1445
- }
1446
-
1447
- /**
1448
- * @returns The template for the security drop down selector list item.
1449
- */
1450
- protected authorizationSelectorItemTemplate(info: SecuritySelectorListItem): TemplateResult {
1451
- const { labels, types, security } = info
1452
-
1453
- const label = labels.join(', ')
1454
- const type = types.join(', ')
1455
- const single = !type
1456
- return html`
1457
- <ui-list-item role="menuitem" lines="${single ? 'one' : 'two'}" data-id="${security.id}">
1458
- ${label} ${!single ? html`<div slot="supporting-text">${type}</div>` : ''}
1459
- </ui-list-item>
1460
- `
1461
- }
1462
-
1463
- protected formActionsTemplate(): TemplateResult {
1464
- const loading = this.loadingRequest
1465
- return html` <div class="action-bar">
1466
- ${loading ? this.abortButtonTemplate() : this.sendButtonTemplate()}
1467
- <ui-progress ?hidden="${!loading}" indeterminate class="request-progress"></ui-progress>
1468
- </div>`
1469
- }
1470
-
1471
- /**
1472
- * Creates a template for the "abort" button.
1473
- */
1474
- protected abortButtonTemplate(): TemplateResult {
1475
- return html` <ui-filled-tonal-button class="send-button abort" @click="${this.abortHandler}"
1476
- >Abort</ui-filled-tonal-button
1477
- >`
1478
- }
1479
-
1480
- /**
1481
- * Creates a template for the "send" or "auth and send" button.
1482
- */
1483
- protected sendButtonTemplate(): TemplateResult {
1484
- return html` <ui-filled-tonal-button class="send-button" @click="${this.sendHandler}">Send</ui-filled-tonal-button>`
1485
- }
1486
-
1487
- /**
1488
- * @return A template for the server selector
1489
- */
1490
- protected serverSelectorTemplate(): TemplateResult {
1491
- const { serverType, serverValue, allowCustomBaseUri, serverSelectorHidden, domainId } = this
1492
- return html` <api-server-picker
1493
- ?hidden="${serverSelectorHidden}"
1494
- ?custom="${allowCustomBaseUri}"
1495
- .value="${serverValue}"
1496
- .type="${serverType as ServerType}"
1497
- .domainId="${domainId}"
1498
- domainType="operation"
1499
- auto
1500
- @serverscountchanged="${this.serverCountHandler}"
1501
- @apiserverchanged="${this.serverHandler}"
1502
- >
1503
- <slot name="custom-base-uri" slot="custom-base-uri"></slot>
1504
- </api-server-picker>`
1505
- }
1506
-
1507
- /**
1508
- * @return
1509
- */
1510
- protected parametersTemplate(): TemplateResult | typeof nothing {
1511
- const qp: OperationParameter[] = []
1512
- const path: OperationParameter[] = []
1513
- // NOTE, the "* Required field" has been added after the a11y audit of API Console.
1514
- let hasRequired = false
1515
- const { amfParameters } = this
1516
- amfParameters.parametersValue.forEach((item) => {
1517
- if (!hasRequired && item.parameter && item.parameter.required) {
1518
- hasRequired = true
1519
- }
1520
- if (item.binding === 'query') {
1521
- qp.push(item)
1522
- } else if (item.binding === 'path') {
1523
- path.push(item)
1524
- }
1525
- })
1526
- const { allowCustom, openedOptional = [] } = this
1527
- if (!allowCustom && !qp.length && !path.length) {
1528
- return nothing
1529
- }
1530
- const pathOptions = Object.freeze({ required: true })
1531
- const queryClasses = {
1532
- 'query-params': true,
1533
- 'hide-optional': !!this.allowHideOptional && !openedOptional.includes('query'),
1534
- }
1535
- return html`
1536
- <section class="params-section parameter">
1537
- <div class="section-title"><span class="label">Parameters</span></div>
1538
- ${hasRequired ? html`<p class="required-field">* Required field</p>` : ''}
1539
- <div class="path-params">${path.map((param) => amfParameters.parameterTemplate(param, pathOptions))}</div>
1540
- <div class="${classMap(queryClasses)}">
1541
- ${this.renderToggleOptional('query', qp)} ${qp.map((param) => amfParameters.parameterTemplate(param))}
1542
- ${allowCustom ? this.addCustomButtonTemplate('query') : ''}
1543
- </div>
1544
- </section>
1545
- `
1546
- }
1547
-
1548
- protected headersTemplate(): TemplateResult | typeof nothing {
1549
- const headers: OperationParameter[] = []
1550
- // NOTE, the "* Required field" has been added after the a11y audit of API Console.
1551
- let hasRequired = false
1552
- const { amfParameters } = this
1553
- amfParameters.parametersValue.forEach((item) => {
1554
- if (item.binding === 'header') {
1555
- headers.push(item)
1556
- if (!hasRequired && item.parameter && item.parameter.required) {
1557
- hasRequired = true
1558
- }
1559
- }
1560
- })
1561
- const { allowCustom, openedOptional = [] } = this
1562
- if (!allowCustom && !headers.length) {
1563
- return nothing
1564
- }
1565
- const classes = {
1566
- 'header-params': true,
1567
- 'hide-optional': !!this.allowHideOptional && !openedOptional.includes('header'),
1568
- }
1569
- return html`
1570
- <section class="params-section header" aria-label="HTTP headers">
1571
- <div class="section-title"><span class="label">Headers</span></div>
1572
- ${hasRequired ? html`<p class="required-field">* Required field</p>` : ''}
1573
- ${this.renderToggleOptional('header', headers)}
1574
- <div class="${classMap(classes)}">
1575
- ${headers.map((param) => amfParameters.parameterTemplate(param))}
1576
- ${allowCustom ? this.addCustomButtonTemplate('header') : ''}
1577
- </div>
1578
- </section>
1579
- `
1580
- }
1581
-
1582
- /**
1583
- * @returns The template for the add custom parameter button
1584
- */
1585
- protected addCustomButtonTemplate(type: string): TemplateResult {
1586
- return html`
1587
- <div class="add-custom-button">
1588
- <ui-outlined-button
1589
- data-type="${type}"
1590
- title="Adds a new custom parameter to the request"
1591
- @click="${this.addCustomHandler}"
1592
- >
1593
- <ui-icon icon="add" role="presentation"></ui-icon>
1594
- Add custom
1595
- </ui-outlined-button>
1596
- </div>
1597
- `
1598
- }
1599
-
1600
- /**
1601
- * @return The template for the payload's mime type selector.
1602
- */
1603
- protected mediaTypeSelectorTemplate(): TemplateResult | typeof nothing {
1604
- const { payloads, mimeType } = this
1605
- if (!payloads || payloads.length === 1) {
1606
- return nothing
1607
- }
1608
- const mimes = payloads.map((p) => p.mediaType)
1609
- let index = mimes.indexOf(mimeType)
1610
- if (index === -1) {
1611
- index = 0
1612
- }
1613
-
1614
- return html`
1615
- <div class="payload-mime-selector">
1616
- <span id="body-mime" class="label-large">Body media type</span>
1617
- ${mimes.map(
1618
- (item) => html`
1619
- <label class="label-large">
1620
- <ui-radio
1621
- name="mediaTypeValue"
1622
- value="${item || ''}"
1623
- .checked="${item === mimeType}"
1624
- @change="${this.handleMediaTypeSelect}"
1625
- ></ui-radio>
1626
- ${item}
1627
- </label>
1628
- `
1629
- )}
1630
- </div>
1631
- `
1632
- }
1633
-
1634
- /**
1635
- * @returns The template for the body editor.
1636
- */
1637
- protected bodyTemplate(): TemplateResult | typeof nothing {
1638
- const { payload } = this
1639
- if (!payload) {
1640
- return nothing
1641
- }
1642
- const info = getPayloadValue(payload)
1643
- const mimeType = payload.mediaType
1644
- let content: TemplateResult
1645
- if (mimeType === 'application/x-www-form-urlencoded') {
1646
- content = this.formDataEditorTemplate(info, payload.id)
1647
- } else if (mimeType === 'multipart/form-data') {
1648
- content = this.multipartEditorTemplate(info, payload.id)
1649
- } else {
1650
- content = this.rawEditorTemplate(info, payload.id, mimeType)
1651
- }
1652
- return html`
1653
- <section class="params-section body" aria-label="HTTP body">
1654
- <div class="section-title"><span class="label">Body</span></div>
1655
- ${content}
1656
- </section>
1657
- `
1658
- }
1659
-
1660
- /**
1661
- * @returns The template for the editor that specializes in the URL encoded form data
1662
- */
1663
- protected formDataEditorTemplate(info: PayloadInfo, id: string): TemplateResult {
1664
- const editorModel = info.model
1665
- const effectiveValue = Array.isArray(editorModel) && editorModel.length ? undefined : info.value
1666
- return html`
1667
- <http-body-urlencoded-editor
1668
- class="body-editor"
1669
- autoEncode
1670
- .value="${ifProperty(effectiveValue)}"
1671
- .model="${ifProperty(editorModel)}"
1672
- data-payload-id="${id}"
1673
- @change="${this.modelBodyEditorChangeHandler}"
1674
- ></http-body-urlencoded-editor>
1675
- `
1676
- }
1677
-
1678
- /**
1679
- * @returns The template for the editor that specializes in the multipart form data
1680
- */
1681
- protected multipartEditorTemplate(info: PayloadInfo, id: string): TemplateResult {
1682
- const editorModel = info.model
1683
- const effectiveValue = Array.isArray(editorModel) && editorModel.length ? undefined : info.value
1684
- return html`
1685
- <http-body-multipart-editor
1686
- class="body-editor"
1687
- .value="${ifProperty(effectiveValue)}"
1688
- .model="${ifProperty(editorModel)}"
1689
- data-payload-id="${id}"
1690
- @change="${this.modelBodyEditorChangeHandler}"
1691
- ></http-body-multipart-editor>
1692
- `
1693
- }
1694
-
1695
- /**
1696
- * @returns The template for the editor that specializes in any text data
1697
- */
1698
- protected rawEditorTemplate(info: PayloadInfo, id: string, mimeType?: string): TemplateResult {
1699
- let schemas
1700
- if (Array.isArray(info.schemas) && info.schemas.length) {
1701
- schemas = info.schemas
1702
- }
1703
- return html`
1704
- <http-body-text-editor
1705
- class="body-editor"
1706
- .value="${info.value as string}"
1707
- .contentType="${mimeType}"
1708
- .schemas="${ifProperty(schemas)}"
1709
- data-payload-id="${id}"
1710
- @change="${this.rawBodyChangeHandler}"
1711
- ></http-body-text-editor>
1712
- `
1713
- }
1714
-
1715
- /**
1716
- * @param target The name of the target parameter group.
1717
- * @param params The list of parameters. When all are required or empty it won't render then button.
1718
- * @returns Template for the switch button to toggle visibility of the optional items.
1719
- */
1720
- protected renderToggleOptional(target: string, params: OperationParameter[]): TemplateResult | typeof nothing {
1721
- const { openedOptional = [], allowHideOptional } = this
1722
- if (!allowHideOptional || !params || !params.length) {
1723
- return nothing
1724
- }
1725
- const optional = params.some((p) => !!p.parameter && !p.parameter.required)
1726
- if (!optional) {
1727
- return nothing
1728
- }
1729
- const checked = openedOptional.includes(target)
1730
- return html`
1731
- <div class="optional-checkbox">
1732
- <label class="label-large">
1733
- <ui-switch
1734
- class="toggle-optional-switch"
1735
- .checked="${checked}"
1736
- @change="${this.handleOptionalToggle}"
1737
- title="Toggles optional parameters"
1738
- data-target="${target}"
1739
- name="toggleOptional"
1740
- aria-label="Toggle optional parameters"
1741
- ></ui-switch>
1742
- Show optional parameters
1743
- </label>
1744
- </div>
1745
- `
1746
- }
1747
-
1748
- /**
1749
- * @returns A template for the URL editor.
1750
- */
1751
- protected renderUrlEditor(): TemplateResult | typeof nothing {
1752
- const { urlEditor, url, urlInvalid } = this
1753
- if (!urlEditor) {
1754
- return nothing
1755
- }
1756
- return html`
1757
- <div class="url-input-wrapper">
1758
- <ui-text-field
1759
- name="url"
1760
- type="url"
1761
- class="url-input"
1762
- ?invalid="${urlInvalid}"
1763
- required
1764
- invalidText="The URL is invalid"
1765
- .value="${url || ''}"
1766
- @change="${this.handleUrlEditorChange}"
1767
- @blur="${this.validateUrl}"
1768
- label="Request URL"
1769
- ></ui-text-field>
1770
- </div>
1771
- `
1772
- }
1773
- }