@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,1472 +0,0 @@
1
- /* eslint-disable max-len */
2
- import { fixture, assert, html, nextFrame, aTimeout } from '@open-wc/testing'
3
- import sinon from 'sinon'
4
- import { AmfDefinitions, ApiDefinitions, IRequestAuthorization } from '@api-client/core/browser.js'
5
- import * as InputCache from '../../../src/amf/lib/InputCache.js'
6
- import { AmfLoader } from '../AmfLoader.js'
7
- import { loadMonaco } from '../MonacoSetup.js'
8
- import { EventTypes } from '../../../src/events/amf/EventTypes.js'
9
- import { DomEventsAmfStore } from '../../../src/index.js'
10
- import ApiRequestEditorElement from '../../../src/elements/amf/ApiRequestEditor.element.js'
11
- import { SecuritySelectorListItem } from '../../../src/amf/types.js'
12
- import '../../../src/define/amf/api-request-editor.js'
13
-
14
- describe.skip('ApiRequestEditorElement', () => {
15
- const store = new DomEventsAmfStore(window)
16
- store.listen()
17
-
18
- let loader: AmfLoader
19
- before(async () => {
20
- await loadMonaco()
21
- loader = new AmfLoader()
22
- })
23
-
24
- async function basicFixture(): Promise<ApiRequestEditorElement> {
25
- const element = await fixture(html`<api-request-editor></api-request-editor>`)
26
- await aTimeout(2)
27
- return element as ApiRequestEditorElement
28
- }
29
-
30
- async function allowCustomFixture(): Promise<ApiRequestEditorElement> {
31
- const element = await fixture(html`<api-request-editor allowCustom></api-request-editor>`)
32
- await aTimeout(2)
33
- return element as ApiRequestEditorElement
34
- }
35
-
36
- async function modelFixture(selected?: string): Promise<ApiRequestEditorElement> {
37
- const element = await fixture(html`<api-request-editor .domainId="${selected}"></api-request-editor>`)
38
- await aTimeout(2)
39
- return element as ApiRequestEditorElement
40
- }
41
-
42
- async function urlEditorFixture(selected?: string): Promise<ApiRequestEditorElement> {
43
- const element = await fixture(html`<api-request-editor .domainId="${selected}" urlEditor></api-request-editor>`)
44
- await aTimeout(2)
45
- return element as ApiRequestEditorElement
46
- }
47
-
48
- async function urlLabelFixture(selected?: string): Promise<ApiRequestEditorElement> {
49
- const element = await fixture(html`<api-request-editor .domainId="${selected}" urlLabel></api-request-editor>`)
50
- await aTimeout(2)
51
- return element as ApiRequestEditorElement
52
- }
53
-
54
- async function customBaseUriSlotFixture(): Promise<ApiRequestEditorElement> {
55
- const element = await fixture(
56
- html` <api-request-editor>
57
- <ui-list-item slot="custom-base-uri" data-value="http://customServer.com">Custom</ui-list-item>
58
- </api-request-editor>`
59
- )
60
- await aTimeout(2)
61
- return element as ApiRequestEditorElement
62
- }
63
-
64
- async function noSelectorFixture(): Promise<ApiRequestEditorElement> {
65
- const element = await fixture(
66
- html` <api-request-editor noServerSelector>
67
- <ui-list-item slot="custom-base-uri" data-value="http://customServer.com">http://customServer.com</ui-list-item>
68
- </api-request-editor>`
69
- )
70
- await aTimeout(2)
71
- return element as ApiRequestEditorElement
72
- }
73
-
74
- async function hideOptionalFixture(selected?: string): Promise<ApiRequestEditorElement> {
75
- const element = await fixture(
76
- html`<api-request-editor .domainId="${selected}" allowHideOptional></api-request-editor>`
77
- )
78
- await aTimeout(2)
79
- return element as ApiRequestEditorElement
80
- }
81
-
82
- describe('initialization', () => {
83
- it('can be initialized with document.createElement', () => {
84
- const element = document.createElement('api-request-editor')
85
- assert.ok(element)
86
- })
87
-
88
- it('does not render the URL editor by default', async () => {
89
- const element = await basicFixture()
90
- const node = element.shadowRoot!.querySelector('.url-input')
91
- assert.notOk(node)
92
- })
93
-
94
- it('renders the url editor when configured', async () => {
95
- const element = await urlEditorFixture()
96
- const node = element.shadowRoot!.querySelector('.url-input')
97
- assert.ok(node)
98
- })
99
-
100
- it('renders the send button without the model', async () => {
101
- const element = await basicFixture()
102
- const node = element.shadowRoot!.querySelector('.send-button')
103
- assert.ok(node)
104
- })
105
-
106
- it('send button has "send" label', async () => {
107
- const element = await basicFixture()
108
- const node = element.shadowRoot!.querySelector('.send-button') as HTMLElement
109
- assert.equal((node.textContent as string).trim(), 'Send')
110
- })
111
-
112
- it('does not render headers form without the model', async () => {
113
- const element = await basicFixture()
114
- const node = element.shadowRoot!.querySelector('.params-section.header')
115
- assert.notOk(node)
116
- })
117
-
118
- it('does not render parameters form without the model', async () => {
119
- const element = await basicFixture()
120
- const node = element.shadowRoot!.querySelector('.params-section.parameter')
121
- assert.notOk(node)
122
- })
123
-
124
- it('does not render payload editor without the model', async () => {
125
- const element = await basicFixture()
126
- const node = element.shadowRoot!.querySelector('.body-editor')
127
- assert.notOk(node)
128
- })
129
-
130
- it('does not render authorization editor without the model', async () => {
131
- const element = await basicFixture()
132
- const node = element.shadowRoot!.querySelector('api-authorization-editor')
133
- assert.notOk(node)
134
- })
135
-
136
- it('does not render url label', async () => {
137
- const element = await basicFixture()
138
- const node = element.shadowRoot!.querySelector('.url-label')
139
- assert.notOk(node)
140
- })
141
- })
142
-
143
- describe('custom properties', () => {
144
- let element: ApiRequestEditorElement
145
- beforeEach(async () => {
146
- element = await allowCustomFixture()
147
- })
148
-
149
- it('renders parameters form', async () => {
150
- const node = element.shadowRoot!.querySelector('.params-section.parameter')
151
- assert.ok(node)
152
- })
153
-
154
- it('renders the parameters add button', async () => {
155
- const node = element.shadowRoot!.querySelector('.params-section.parameter .add-custom-button')
156
- assert.ok(node)
157
- })
158
-
159
- it('renders header form', async () => {
160
- const node = element.shadowRoot!.querySelector('.params-section.header')
161
- assert.ok(node)
162
- })
163
-
164
- it('renders the header add button', async () => {
165
- const node = element.shadowRoot!.querySelector('.params-section.header .add-custom-button')
166
- assert.ok(node)
167
- })
168
- })
169
-
170
- describe('OAuth2 redirect URI change event', () => {
171
- let element: ApiRequestEditorElement
172
- beforeEach(async () => {
173
- element = await basicFixture()
174
- })
175
-
176
- // it('sets redirectUri from the event (legacy)', () => {
177
- // const value = 'https://auth.domain.com'
178
- // document.body.dispatchEvent(
179
- // new CustomEvent(EventTypes.Request.redirectUriChangeLegacy, {
180
- // bubbles: true,
181
- // detail: {
182
- // value,
183
- // },
184
- // })
185
- // )
186
- // assert.equal(element.redirectUri, value)
187
- // })
188
-
189
- it('sets redirectUri from the event', () => {
190
- const value = 'https://auth.domain.com'
191
- document.body.dispatchEvent(
192
- new CustomEvent(EventTypes.Request.redirectUriChange, {
193
- bubbles: true,
194
- detail: {
195
- value,
196
- },
197
- })
198
- )
199
- assert.equal(element.redirectUri, value)
200
- })
201
- })
202
-
203
- // describe('[responseHandler]()', () => {
204
- // let element: ApiRequestEditorElement;
205
- // const requestId = 'test-id';
206
- // beforeEach(async () => {
207
- // InputCache.globalValues.clear();
208
- // element = await basicFixture();
209
- // element.loadingRequest = true;
210
- // element.requestId = requestId;
211
- // });
212
-
213
- // it('does nothing when the id is different', () => {
214
- // const e = new ApiResponseEvent(EventTypes.Request.apiResponse, {
215
- // id: 'otherId',
216
- // isError: true,
217
- // loadingTime: 0,
218
- // request: {
219
- // method: '',
220
- // url: '',
221
- // },
222
- // response: {
223
- // status: 0,
224
- // },
225
- // });
226
- // element[responseHandler](e);
227
- // assert.isTrue(element.loadingRequest);
228
- // });
229
-
230
- // it('does nothing when no detail', () => {
231
- // const e = new CustomEvent(EventTypes.Request.apiResponse);
232
- // element[responseHandler](e);
233
- // assert.isTrue(element.loadingRequest);
234
- // });
235
-
236
- // it('resets the loadingRequest property', () => {
237
- // const e = new CustomEvent(EventTypes.Request.apiResponse, {
238
- // detail: {
239
- // id: requestId,
240
- // }
241
- // });
242
- // element[responseHandler](e);
243
- // assert.isFalse(element.loadingRequest);
244
- // });
245
-
246
- // it('event handler is connected', () => {
247
- // RequestEvents.apiResponse(document.body, {
248
- // id: requestId,
249
- // isError: true,
250
- // loadingTime: 0,
251
- // request: {
252
- // method: '',
253
- // url: '',
254
- // },
255
- // response: {
256
- // status: 0,
257
- // },
258
- // });
259
- // assert.isFalse(element.loadingRequest);
260
- // });
261
- // });
262
-
263
- describe('Unit #1', () => {
264
- const httpbinApi = 'httpbin'
265
- const driveApi = 'google-drive-api'
266
- const demoApi = 'demo-api'
267
-
268
- describe('http method computation', () => {
269
- let model: AmfDefinitions.IAmfDocument
270
- before(async () => {
271
- model = await loader.getGraph(httpbinApi)
272
- store.amf = model
273
- })
274
-
275
- it('sets httpMethod property (get)', async () => {
276
- const method = loader.lookupOperation(model, '/anything', 'get') as AmfDefinitions.IAmfOperation
277
- const element = await modelFixture(method['@id'])
278
- assert.equal(element.httpMethod, 'get')
279
- })
280
-
281
- it('sets httpMethod property (post)', async () => {
282
- const method = loader.lookupOperation(model, '/anything', 'post') as AmfDefinitions.IAmfOperation
283
- const element = await modelFixture(method['@id'])
284
- assert.equal(element.httpMethod, 'post')
285
- })
286
-
287
- it('sets httpMethod property (put)', async () => {
288
- const method = loader.lookupOperation(model, '/anything', 'put') as AmfDefinitions.IAmfOperation
289
- const element = await modelFixture(method['@id'])
290
- assert.equal(element.httpMethod, 'put')
291
- })
292
-
293
- it('sets httpMethod property (delete)', async () => {
294
- const method = loader.lookupOperation(model, '/anything', 'delete') as AmfDefinitions.IAmfOperation
295
- const element = await modelFixture(method['@id'])
296
- assert.equal(element.httpMethod, 'delete')
297
- })
298
- })
299
-
300
- describe('#payloads and #payload', () => {
301
- let model: AmfDefinitions.IAmfDocument
302
- before(async () => {
303
- model = await loader.getGraph(driveApi)
304
- store.amf = model
305
- })
306
-
307
- it('sets the #payloads for the endpoint', async () => {
308
- const method = loader.lookupOperation(model, '/files/{fileId}', 'patch') as AmfDefinitions.IAmfOperation
309
- const element = await modelFixture(method['@id'])
310
- assert.typeOf(element.payloads, 'array')
311
- assert.lengthOf(element.payloads as ApiDefinitions.IApiPayload[], 1)
312
- })
313
-
314
- it('sets the #payload property', async () => {
315
- const method = loader.lookupOperation(model, '/files/{fileId}', 'patch') as AmfDefinitions.IAmfOperation
316
- const element = await modelFixture(method['@id'])
317
- assert.typeOf(element.payload, 'object')
318
- })
319
- })
320
-
321
- describe('Security computations', () => {
322
- let model: AmfDefinitions.IAmfDocument
323
- before(async () => {
324
- model = await loader.getGraph(driveApi)
325
- store.amf = model
326
- })
327
-
328
- it('does not set variables when no security', async () => {
329
- const element = await basicFixture()
330
- assert.isUndefined(element.security)
331
- })
332
-
333
- it('sets the security value', async () => {
334
- const method = loader.lookupOperation(model, '/files', 'get') as AmfDefinitions.IAmfOperation
335
- const element = await modelFixture(method['@id'])
336
- assert.typeOf(element.security, 'array', 'has the security')
337
- assert.lengthOf(element.security as SecuritySelectorListItem[], 1, 'has the single scheme')
338
- const [scheme] = element.security as SecuritySelectorListItem[]
339
- assert.deepEqual(scheme.types, ['OAuth 2.0'], 'has types definition')
340
- assert.deepEqual(scheme.labels, ['oauth_2_0'], 'has labels definition')
341
- assert.typeOf(scheme.security, 'object', 'has the security definition')
342
- })
343
-
344
- it('sets the selectedSecurity', async () => {
345
- const method = loader.lookupOperation(model, '/files', 'get') as AmfDefinitions.IAmfOperation
346
- const element = await modelFixture(method['@id'])
347
- assert.isNotEmpty(element.selectedSecurity)
348
- })
349
- })
350
-
351
- // describe('RAML parameters computations', () => {
352
- // let model: AmfDefinitions.IAmfDocument;
353
- // before(async () => {
354
- // model = await loader.getGraph(demoApi);
355
- // store.amf = model;
356
- // });
357
-
358
- // it('sets server parameters when no operation', async () => {
359
- // const element = await basicFixture();
360
- // assert.lengthOf(element.parametersValue, 1, 'has a single parameter');
361
- // const [param] = element.parametersValue;
362
- // assert.equal(param.binding, 'path', 'has a path parameter');
363
- // assert.equal(param.source, 'server', 'the parameter was set by the server');
364
- // });
365
-
366
- // it('sets path parameters from the server and the endpoint', async () => {
367
- // const method = loader.lookupOperation(model, '/test-parameters/{feature}', 'get')
368
- // as AmfDefinitions.IAmfOperation;
369
- // const element = await modelFixture(method['@id']);
370
- // const path = element.parametersValue.filter(p => p.binding === 'path')
371
- // assert.lengthOf(path, 2, 'has all parameters');
372
- // assert.typeOf(
373
- // path.find(p => p.parameter.name === 'feature'),
374
- // 'object',
375
- // 'has the endpoints path parameter'
376
- // );
377
- // assert.typeOf(
378
- // path.find(p => p.parameter.name === 'instance'),
379
- // 'object',
380
- // 'has the server path parameter'
381
- // );
382
- // });
383
-
384
- // it('sets query parameters', async () => {
385
- // const method = loader.lookupOperation(model, '/test-parameters/{feature}', 'get')
386
- // as AmfDefinitions.IAmfOperation;
387
- // const element = await modelFixture(method['@id']);
388
- // const path = element.parametersValue.filter(p => p.binding === 'query')
389
- // assert.lengthOf(path, 3, 'has all parameters');
390
- // assert.typeOf(
391
- // path.find(p => p.parameter.name === 'testRepeatable'),
392
- // 'object',
393
- // 'has the testRepeatable parameter'
394
- // );
395
- // assert.typeOf(
396
- // path.find(p => p.parameter.name === 'numericRepeatable'),
397
- // 'object',
398
- // 'has the numericRepeatable parameter'
399
- // );
400
- // assert.typeOf(
401
- // path.find(p => p.parameter.name === 'notRequiredRepeatable'),
402
- // 'object',
403
- // 'has the notRequiredRepeatable parameter'
404
- // );
405
- // });
406
-
407
- // it('sets header parameters', async () => {
408
- // const method = loader.lookupOperation(model, '/people', 'get') as AmfDefinitions.IAmfOperation;
409
- // const element = await modelFixture(method['@id']);
410
- // const params = element.parametersValue.filter(p => p.binding === 'header');
411
- // assert.lengthOf(params, 2, 'has all parameters');
412
- // assert.typeOf(
413
- // params.find(p => p.parameter.name === 'x-people-op-id'),
414
- // 'object',
415
- // 'has the x-people-op-id parameter'
416
- // );
417
- // });
418
- // });
419
-
420
- describe('#mimeType', () => {
421
- let model: AmfDefinitions.IAmfDocument
422
- before(async () => {
423
- model = await loader.getGraph(demoApi)
424
- store.amf = model
425
- })
426
-
427
- it('sets content type from the body', async () => {
428
- const method = loader.lookupOperation(model, '/content-type', 'post') as AmfDefinitions.IAmfOperation
429
- const element = await modelFixture(method['@id'])
430
- assert.equal(element.mimeType, 'application/json')
431
- })
432
- })
433
-
434
- describe('ui state', () => {
435
- let model: AmfDefinitions.IAmfDocument
436
- before(async () => {
437
- model = await loader.getGraph(demoApi)
438
- store.amf = model
439
- })
440
-
441
- it('renders the authorization editor when authorization is required', async () => {
442
- const method = loader.lookupOperation(model, '/messages', 'get') as AmfDefinitions.IAmfOperation
443
- const element = await modelFixture(method['@id'])
444
- const node = element.shadowRoot!.querySelector('api-authorization-editor')
445
- assert.ok(node)
446
- })
447
-
448
- it('renders query/uri forms when model is set', async () => {
449
- const method = loader.lookupOperation(model, '/people', 'get') as AmfDefinitions.IAmfOperation
450
- const element = await modelFixture(method['@id'])
451
- const node = element.shadowRoot!.querySelector('.params-section.parameter')
452
- assert.ok(node)
453
- })
454
-
455
- it('renders headers editor when model is set', async () => {
456
- const method = loader.lookupOperation(model, '/people', 'get') as AmfDefinitions.IAmfOperation
457
- const element = await modelFixture(method['@id'])
458
- const node = element.shadowRoot!.querySelector('.params-section.header')
459
- assert.ok(node)
460
- })
461
-
462
- it('renders the URL editor when urlEditor', async () => {
463
- const method = loader.lookupOperation(model, '/people', 'get') as AmfDefinitions.IAmfOperation
464
- const element = await urlEditorFixture(method['@id'])
465
- const node = element.shadowRoot!.querySelector('.url-input')
466
- assert.ok(node)
467
- })
468
- })
469
-
470
- describe('execute()', () => {
471
- let model: AmfDefinitions.IAmfDocument
472
- before(async () => {
473
- model = await loader.getGraph(demoApi)
474
- store.amf = model
475
- })
476
-
477
- let element: ApiRequestEditorElement
478
- beforeEach(async () => {
479
- InputCache.globalValues.clear()
480
- const method = loader.lookupOperation(model, '/people', 'get') as AmfDefinitions.IAmfOperation
481
- element = await modelFixture(method['@id'])
482
- })
483
-
484
- // it('dispatches the legacy request event', () => {
485
- // const spy = sinon.spy()
486
- // element.addEventListener(EventTypes.Request.apiRequestLegacy, spy)
487
- // element.execute()
488
- // assert.isTrue(spy.called)
489
- // })
490
-
491
- // it('dispatches the request event', () => {
492
- // const spy = sinon.spy()
493
- // element.addEventListener(EventTypes.Request.apiRequest, spy)
494
- // element.execute()
495
- // assert.isTrue(spy.called)
496
- // })
497
-
498
- it('sets loadingRequest property', () => {
499
- element.execute()
500
- assert.isTrue(element.loadingRequest)
501
- })
502
-
503
- // it('sets requestId property', () => {
504
- // element.execute()
505
- // assert.typeOf(element.requestId, 'string')
506
- // })
507
-
508
- it('calls the serialize() function', () => {
509
- const spy = sinon.spy(element, 'serialize')
510
- element.execute()
511
- assert.isTrue(spy.called)
512
- })
513
-
514
- // it('the event has the serialized request', () => {
515
- // const spy = sinon.spy()
516
- // element.addEventListener(EventTypes.Request.apiRequest, spy)
517
- // element.execute()
518
- // const { detail } = spy.args[0][0]
519
- // assert.equal(detail.method, 'GET')
520
- // assert.equal(detail.url, 'http://production.domain.com/people')
521
- // assert.equal(detail.headers, 'x-people-op-id: 9719fa6f-c666-48e0-a191-290890760b30\nx-rate-client-id: 5757gh76')
522
- // assert.typeOf(detail.id, 'string')
523
- // assert.typeOf(detail.authorization, 'array', 'has the authorization array')
524
- // assert.lengthOf(detail.authorization, 1, 'has as single authorization definition')
525
- // })
526
- })
527
-
528
- describe('abort()', () => {
529
- let model: AmfDefinitions.IAmfDocument
530
- before(async () => {
531
- model = await loader.getGraph(demoApi)
532
- store.amf = model
533
- })
534
-
535
- let element: ApiRequestEditorElement
536
- beforeEach(async () => {
537
- InputCache.globalValues.clear()
538
- const method = loader.lookupOperation(model, '/people', 'get') as AmfDefinitions.IAmfOperation
539
- element = await modelFixture(method['@id'])
540
- element.loadingRequest = true
541
- // element.requestId = 'test-request'
542
- element.requestUpdate()
543
- await element.updateComplete
544
- })
545
-
546
- // it('dispatched the event when the abort button pressed', () => {
547
- // const spy = sinon.spy()
548
- // element.addEventListener(EventTypes.Request.abortApiRequest, spy)
549
- // const button = element.shadowRoot!.querySelector('.send-button.abort') as HTMLElement
550
- // button.click()
551
- // assert.isTrue(spy.calledOnce)
552
- // })
553
-
554
- // it('dispatched the legacy event when the abort button pressed', () => {
555
- // const spy = sinon.spy()
556
- // element.addEventListener(EventTypes.Request.abortApiRequestLegacy, spy)
557
- // const button = element.shadowRoot!.querySelector('.send-button.abort') as HTMLElement
558
- // button.click()
559
- // assert.isTrue(spy.calledOnce)
560
- // })
561
-
562
- // it('the event contains the url and the id', () => {
563
- // const spy = sinon.spy()
564
- // element.addEventListener(EventTypes.Request.abortApiRequest, spy)
565
- // element.abort()
566
- // const { detail } = spy.args[0][0]
567
- // assert.equal(detail.url, element.url, 'URL is set')
568
- // assert.equal(detail.id, 'test-request', 'id is set')
569
- // })
570
-
571
- it('resets the loadingRequest property', () => {
572
- element.abort()
573
- assert.isFalse(element.loadingRequest)
574
- })
575
-
576
- // it('resets the requestId property', () => {
577
- // element.abort()
578
- // assert.isUndefined(element.requestId)
579
- // })
580
- })
581
-
582
- describe('serialize()', () => {
583
- let model: AmfDefinitions.IAmfDocument
584
- before(async () => {
585
- model = await loader.getGraph(demoApi)
586
- store.amf = model
587
- })
588
-
589
- beforeEach(async () => {
590
- InputCache.globalValues.clear()
591
- })
592
-
593
- it('returns an object', async () => {
594
- const method = loader.lookupOperation(model, '/people', 'get') as AmfDefinitions.IAmfOperation
595
- const element = await modelFixture(method['@id'])
596
- const result = await element.serialize()
597
- assert.typeOf(result, 'object')
598
- })
599
-
600
- it('sets editor url', async () => {
601
- const method = loader.lookupOperation(model, '/people', 'get') as AmfDefinitions.IAmfOperation
602
- const element = await modelFixture(method['@id'])
603
- await nextFrame()
604
- const result = await element.serialize()
605
- assert.equal(result.expects.url, 'http://production.domain.com/people')
606
- })
607
-
608
- it('sets editor method', async () => {
609
- const method = loader.lookupOperation(model, '/people', 'get') as AmfDefinitions.IAmfOperation
610
- const element = await modelFixture(method['@id'])
611
- const result = await element.serialize()
612
- assert.equal(result.expects.method, 'GET')
613
- })
614
-
615
- it('sets headers from the editor', async () => {
616
- const method = loader.lookupOperation(model, '/post-headers', 'post') as AmfDefinitions.IAmfOperation
617
- const element = await modelFixture(method['@id'])
618
- await aTimeout(10)
619
- const result = await element.serialize()
620
- assert.equal(result.expects.headers, 'x-string: my-value\ncontent-type: application/json')
621
- })
622
-
623
- it('sets editor payload', async () => {
624
- const method = loader.lookupOperation(model, '/people', 'post') as AmfDefinitions.IAmfOperation
625
- const element = await modelFixture(method['@id'])
626
- await aTimeout(0)
627
- const result = await element.serialize()
628
- assert.typeOf(result.expects.payload, 'string', 'has the payload')
629
-
630
- const body = JSON.parse(String(result.expects.payload))
631
- // just any value, it's not important here.
632
- assert.equal(body.gender, 'female', 'has payload values')
633
- })
634
-
635
- it('sets authorization data', async () => {
636
- const method = loader.lookupOperation(model, '/people/{personId}', 'get') as AmfDefinitions.IAmfOperation
637
- const element = await modelFixture(method['@id'])
638
- await aTimeout(0)
639
- const result = await element.serialize()
640
- assert.typeOf(result.authorization, 'array')
641
- assert.lengthOf(result.authorization as IRequestAuthorization[], 1)
642
- assert.equal((result.authorization as IRequestAuthorization[])[0].type, 'custom')
643
- })
644
-
645
- it('does not set editor payload when GET request', async () => {
646
- const postMethod = loader.lookupOperation(model, '/people', 'post') as AmfDefinitions.IAmfOperation
647
- const element = await modelFixture(postMethod['@id'])
648
- await aTimeout(0)
649
- const getMethod = loader.lookupOperation(model, '/people', 'get') as AmfDefinitions.IAmfOperation
650
- element.domainId = getMethod['@id']
651
- await aTimeout(0)
652
- const result = await element.serialize()
653
- assert.isUndefined(result.expects.payload)
654
- })
655
-
656
- it('does not set editor payload when HEAD request', async () => {
657
- const postMethod = loader.lookupOperation(model, '/people', 'post') as AmfDefinitions.IAmfOperation
658
- const element = await modelFixture(postMethod['@id'])
659
- await aTimeout(0)
660
- const getMethod = loader.lookupOperation(model, '/people', 'head') as AmfDefinitions.IAmfOperation
661
- element.domainId = getMethod['@id']
662
- await aTimeout(0)
663
- const result = await element.serialize()
664
- assert.isUndefined(result.expects.payload)
665
- })
666
-
667
- // it('sets the content-type header if not present but set in component', async () => {
668
- // const method = loader.lookupOperation(model, '/people', 'post') as AmfDefinitions.IAmfOperation;
669
- // const element = await modelFixture(method['@id']);
670
- // element.parametersValue = element.parametersValue.filter(p => p.binding !== 'header');
671
- // const result = await element.serialize();
672
- // assert.equal(result.headers, 'content-type: application/json');
673
- // });
674
- })
675
-
676
- describe('[sendHandler]()', () => {
677
- let model: AmfDefinitions.IAmfDocument
678
- before(async () => {
679
- model = await loader.getGraph(demoApi)
680
- store.amf = model
681
- })
682
-
683
- // it('calls authAndExecute() when authorization is required', async () => {
684
- // const method = store.lookupOperation(model, '/messages', 'get') as AmfDefinitions.IAmfOperation;
685
- // const element = await modelFixture(method['@id']);
686
- // await aTimeout(5);
687
- // const spy = sinon.spy(element, 'authAndExecute');
688
- // const button = element.shadowRoot!.querySelector('.send-button') as HTMLElement;
689
- // /** @type HTMLElement */ (button).click();
690
- // await aTimeout(25);
691
- // assert.isTrue(spy.called);
692
- // });
693
-
694
- it('calls execute() when authorization is not required', async () => {
695
- const method = loader.lookupOperation(model, '/people', 'get') as AmfDefinitions.IAmfOperation
696
- const element = await modelFixture(method['@id'])
697
- const spy = sinon.spy(element, 'execute')
698
- const button = element.shadowRoot!.querySelector('.send-button') as HTMLElement
699
- button.click()
700
- assert.isTrue(spy.called)
701
- })
702
- })
703
-
704
- describe('#urlLabel', () => {
705
- let model: AmfDefinitions.IAmfDocument
706
- before(async () => {
707
- model = await loader.getGraph(demoApi)
708
- store.amf = model
709
- })
710
-
711
- it('renders the url label', async () => {
712
- const method = loader.lookupOperation(model, '/people', 'get') as AmfDefinitions.IAmfOperation
713
- const element = await urlLabelFixture(method['@id'])
714
- const node = element.shadowRoot!.querySelector('.url-label')
715
- assert.ok(node)
716
- })
717
-
718
- it('renders the url value', async () => {
719
- const method = loader.lookupOperation(model, '/people', 'get') as AmfDefinitions.IAmfOperation
720
- const element = await urlLabelFixture(method['@id'])
721
- await nextFrame()
722
- const node = element.shadowRoot!.querySelector('.url-label') as HTMLElement
723
- const text = (node.textContent as string).trim()
724
- assert.equal(text, element.url)
725
- })
726
- })
727
-
728
- // TODO: fixme
729
- // describe.skip('slotted servers', () => {
730
- // let element: ApiRequestEditorElement;
731
- // let model: AmfDefinitions.IAmfDocument;
732
- // before(async () => {
733
- // model = await loader.getGraph();
734
- // store.amf = model;
735
- // });
736
-
737
- // beforeEach(async () => {
738
- // element = await customBaseUriSlotFixture();
739
- // const op = loader.lookupOperation(model, '/people/{personId}', 'get') as AmfDefinitions.IAmfOperation;
740
- // element.domainId = op['@id'];
741
- // await aTimeout(2);
742
- // });
743
-
744
- // it('should update api-url-editor value after selecting slotted base uri', async () => {
745
- // element[serverHandler](new CustomEvent('apiserverchanged', { detail: { value: 'http://customServer.com', type: 'custom' } }));
746
- // await aTimeout(2);
747
- // assert.equal(element.url, 'http://customServer.com/people/1234');
748
- // });
749
-
750
- // it('changing the URL in the url input changes the parameters', async () => {
751
- // element.urlEditor = true;
752
- // await nextFrame();
753
- // element[serverHandler](new CustomEvent('apiserverchanged', { detail: { value: 'http://customServer.com', type: 'custom' } }));
754
- // await aTimeout(2);
755
- // const input = (element.shadowRoot!.querySelector('.url-input')) as HTMLInputElement;
756
- // input.value = 'http://customServer.com/people/5678';
757
- // input.dispatchEvent(new Event('change'));
758
- // await nextFrame();
759
- // assert.equal(element.url, 'http://customServer.com/people/5678', 'url value is changed');
760
- // const paramInput = (element.shadowRoot!.querySelector('[name="personId"]')) as HTMLInputElement;
761
- // assert.equal(paramInput.value, '5678', 'the input is changed');
762
- // });
763
- // });
764
-
765
- describe('#allowHideOptional', () => {
766
- let model: AmfDefinitions.IAmfDocument
767
- before(async () => {
768
- model = await loader.getGraph(demoApi)
769
- store.amf = model
770
- })
771
-
772
- describe('query parameters', () => {
773
- it('renders the optional toggle button', async () => {
774
- const method = loader.lookupOperation(model, '/people', 'get') as AmfDefinitions.IAmfOperation
775
- const element = await hideOptionalFixture(method['@id'])
776
- const toggle = element.shadowRoot!.querySelector('.query-params .toggle-optional-switch')
777
- assert.ok(toggle)
778
- })
779
-
780
- it('optional parameters are hidden', async () => {
781
- const method = loader.lookupOperation(model, '/people', 'get') as AmfDefinitions.IAmfOperation
782
- const element = await hideOptionalFixture(method['@id'])
783
- const allItems = element.shadowRoot!.querySelectorAll('.query-params .form-item.optional')
784
- Array.from(allItems).forEach((node) => {
785
- const { display } = getComputedStyle(node)
786
- assert.equal(display, 'none')
787
- })
788
- })
789
-
790
- it('toggles the visibility of the parameters', async () => {
791
- const method = loader.lookupOperation(model, '/people', 'get') as AmfDefinitions.IAmfOperation
792
- const element = await hideOptionalFixture(method['@id'])
793
- const toggle = element.shadowRoot!.querySelector('.query-params .toggle-optional-switch') as HTMLElement
794
- toggle.click()
795
- await nextFrame()
796
- assert.deepEqual(element.openedOptional, ['query'], 'adds query to the openedOptional')
797
- const container = element.shadowRoot!.querySelector('.query-params .form-item.optional') as HTMLElement
798
- const { display } = getComputedStyle(container)
799
- assert.equal(display, 'flex')
800
- })
801
-
802
- it('does not render the toggle button for all required', async () => {
803
- const method = loader.lookupOperation(
804
- model,
805
- '/required-query-parameters',
806
- 'get'
807
- ) as AmfDefinitions.IAmfOperation
808
- const element = await hideOptionalFixture(method['@id'])
809
- const toggle = element.shadowRoot!.querySelector('.query-params .toggle-optional-switch')
810
- assert.notOk(toggle, 'toggle is not rendered')
811
- const allItems = element.shadowRoot!.querySelectorAll('.query-params .form-item')
812
- Array.from(allItems).forEach((node) => {
813
- const { display } = getComputedStyle(node)
814
- assert.equal(display, 'flex')
815
- })
816
- })
817
- })
818
-
819
- describe('header parameters', () => {
820
- it('renders the optional toggle button', async () => {
821
- const method = loader.lookupOperation(model, '/optional-headers', 'get') as AmfDefinitions.IAmfOperation
822
- const element = await hideOptionalFixture(method['@id'])
823
- const toggle = element.shadowRoot!.querySelector('.params-section.header .toggle-optional-switch')
824
- assert.ok(toggle)
825
- })
826
-
827
- it('optional parameters are hidden', async () => {
828
- const method = loader.lookupOperation(model, '/optional-headers', 'get') as AmfDefinitions.IAmfOperation
829
- const element = await hideOptionalFixture(method['@id'])
830
- const allItems = element.shadowRoot!.querySelectorAll('.params-section.header .form-item.optional')
831
- Array.from(allItems).forEach((node) => {
832
- const { display } = getComputedStyle(node)
833
- assert.equal(display, 'none')
834
- })
835
- })
836
-
837
- it('toggles the visibility of the parameters', async () => {
838
- const method = loader.lookupOperation(model, '/optional-headers', 'get') as AmfDefinitions.IAmfOperation
839
- const element = await hideOptionalFixture(method['@id'])
840
- const toggle = element.shadowRoot!.querySelector(
841
- '.params-section.header .toggle-optional-switch'
842
- ) as HTMLElement
843
- toggle.click()
844
- await nextFrame()
845
- assert.deepEqual(element.openedOptional, ['header'], 'adds query to the openedOptional')
846
- const container = element.shadowRoot!.querySelector(
847
- '.params-section.header .form-item.optional'
848
- ) as HTMLElement
849
- const { display } = getComputedStyle(container)
850
- assert.equal(display, 'flex')
851
- })
852
-
853
- it('does not render the toggle button for all required', async () => {
854
- const method = loader.lookupOperation(model, '/required-headers', 'get') as AmfDefinitions.IAmfOperation
855
- const element = await hideOptionalFixture(method['@id'])
856
- const toggle = element.shadowRoot!.querySelector('.params-section.header .toggle-optional-switch')
857
- assert.notOk(toggle, 'toggle is not rendered')
858
- const allItems = element.shadowRoot!.querySelectorAll('.params-section.header .form-item')
859
- Array.from(allItems).forEach((node) => {
860
- const { display } = getComputedStyle(node)
861
- assert.equal(display, 'flex')
862
- })
863
- })
864
- })
865
- })
866
-
867
- describe('Body editing', () => {
868
- describe('Value settings', () => {
869
- let model: AmfDefinitions.IAmfDocument
870
- before(async () => {
871
- model = await loader.getGraph(demoApi)
872
- store.amf = model
873
- })
874
-
875
- it('sets value from a RAML example for a JSON body', async () => {
876
- const method = loader.lookupOperation(model, '/body-types/json', 'post') as AmfDefinitions.IAmfOperation
877
- const element = await modelFixture(method['@id'])
878
- const request = await element.serialize()
879
- const data = JSON.parse(String(request.expects.payload))
880
- assert.equal(data.name, 'Pawel Psztyc')
881
-
882
- const bodyEditor = element.shadowRoot!.querySelector('http-body-text-editor')!
883
- assert.equal(bodyEditor.contentType, 'application/json', 'body editor has the content type')
884
- })
885
-
886
- it('sets value from a RAML example for an XML body', async () => {
887
- const method = loader.lookupOperation(model, '/body-types/xml', 'post') as AmfDefinitions.IAmfOperation
888
- const element = await modelFixture(method['@id'])
889
- const request = await element.serialize()
890
- const body = String(request.expects.payload)
891
- assert.include(body, '<name>Pawel Psztyc</name>')
892
-
893
- const bodyEditor = element.shadowRoot!.querySelector('http-body-text-editor')!
894
- assert.equal(bodyEditor.contentType, 'application/xml', 'body editor has the content type')
895
- })
896
-
897
- it('sets value from a RAML example for an x-www-form-urlencoded body', async () => {
898
- const method = loader.lookupOperation(model, '/body-types/form', 'post') as AmfDefinitions.IAmfOperation
899
- const element = await modelFixture(method['@id'])
900
- const request = await element.serialize()
901
- const body = String(request.expects.payload)
902
- assert.include(body, 'name=Pawel+Psztyc')
903
-
904
- const bodyEditor = element.shadowRoot!.querySelector('http-body-urlencoded-editor')
905
- assert.ok(bodyEditor, 'renders the specialized form data editor')
906
- })
907
-
908
- // this can be done by adding support for a new media type in the `api-schema` module.
909
- // for now an empty FormData instance is created
910
- it('it has no example values for form data', async () => {
911
- const method = loader.lookupOperation(
912
- model,
913
- '/body-types/multi-parts',
914
- 'post'
915
- ) as AmfDefinitions.IAmfOperation
916
- const element = await modelFixture(method['@id'])
917
- const request = await element.serialize()
918
- assert.typeOf(request.expects.payload, 'FormData')
919
-
920
- const bodyEditor = element.shadowRoot!.querySelector('http-body-multipart-editor')
921
- assert.ok(bodyEditor, 'renders the specialized multipart editor')
922
- })
923
-
924
- it('sets a generated from schema example', async () => {
925
- const method = loader.lookupOperation(model, '/generated-example', 'post') as AmfDefinitions.IAmfOperation
926
- const element = await modelFixture(method['@id'])
927
- const request = await element.serialize()
928
- const data = JSON.parse(String(request.expects.payload))
929
- assert.typeOf(data.birthday, 'string', 'a date property is set')
930
- assert.isNotEmpty(data.birthday, 'a date property has a value')
931
- assert.equal(data.name, 'John Smith', 'has generated schema value')
932
- })
933
-
934
- it('renders media type selector', async () => {
935
- const method = loader.lookupOperation(model, '/generated-example', 'post') as AmfDefinitions.IAmfOperation
936
- const element = await modelFixture(method['@id'])
937
-
938
- const container = element.shadowRoot!.querySelector('.payload-mime-selector') as HTMLElement
939
- assert.ok(container, 'has the media selector container')
940
-
941
- const options = container.querySelectorAll('ui-radio')
942
- assert.lengthOf(options, 3, 'has all defined in the API media types')
943
-
944
- assert.equal(options[0].textContent!.trim(), 'application/json', 'has the application/json option')
945
- assert.equal(options[1].textContent!.trim(), 'application/xml', 'has the application/xml option')
946
- assert.equal(
947
- options[2].textContent!.trim(),
948
- 'application/x-www-form-urlencoded',
949
- 'has the application/x-www-form-urlencoded option'
950
- )
951
- })
952
-
953
- it('changes selected mime type', async () => {
954
- const method = loader.lookupOperation(model, '/generated-example', 'post') as AmfDefinitions.IAmfOperation
955
- const element = await modelFixture(method['@id'])
956
-
957
- const options = element.shadowRoot!.querySelectorAll(
958
- '.payload-mime-selector ui-radio'
959
- ) as NodeListOf<HTMLElement>
960
- options[1].click()
961
-
962
- await nextFrame()
963
-
964
- const request = await element.serialize()
965
- const body = String(request.expects.payload)
966
- assert.include(body, '<url>')
967
-
968
- const bodyEditor = element.shadowRoot!.querySelector('http-body-text-editor')!
969
- assert.equal(bodyEditor.contentType, 'application/xml', 'body editor has the content type')
970
- })
971
- })
972
-
973
- describe('apic-169', () => {
974
- let model: AmfDefinitions.IAmfDocument
975
- before(async () => {
976
- model = await loader.getGraph('apic-169')
977
- store.amf = model
978
- })
979
-
980
- it('sets the value with optional and generated', async () => {
981
- const method = loader.lookupOperation(model, '/new', 'post') as AmfDefinitions.IAmfOperation
982
- const element = await modelFixture(method['@id'])
983
- const request = await element.serialize()
984
- const data = JSON.parse(String(request.expects.payload))
985
- assert.equal(data.name, 'MuleSoft')
986
- })
987
- })
988
-
989
- describe('APIC-480', () => {
990
- let model: AmfDefinitions.IAmfDocument
991
- before(async () => {
992
- model = await loader.getGraph('APIC-480')
993
- store.amf = model
994
- })
995
-
996
- it('sets the content type of the operation', async () => {
997
- const method = loader.lookupOperation(
998
- model,
999
- '/accounts/{accountNumber}',
1000
- 'patch'
1001
- ) as AmfDefinitions.IAmfOperation
1002
- const element = await modelFixture(method['@id'])
1003
- const request = await element.serialize()
1004
- assert.include(request.expects.headers, 'content-type: application/json')
1005
- })
1006
- })
1007
-
1008
- describe('APIC-613', () => {
1009
- let model: AmfDefinitions.IAmfDocument
1010
- before(async () => {
1011
- model = await loader.getGraph('APIC-613')
1012
- store.amf = model
1013
- })
1014
-
1015
- it('should not reset input fields when manipulating them', async () => {
1016
- const method = loader.lookupOperation(model, '/files', 'post') as AmfDefinitions.IAmfOperation
1017
- const element = await modelFixture(method['@id'])
1018
-
1019
- const editor = element.shadowRoot!.querySelector('http-body-multipart-editor')!
1020
- ;(editor.shadowRoot!.querySelector('.add-param.text-part') as HTMLElement).click()
1021
- // waiting for the input to render.
1022
- await nextFrame()
1023
-
1024
- const input = editor.shadowRoot!.querySelector('anypoint-input[data-property="name"]') as HTMLInputElement
1025
- input.value = 'Test'
1026
- input.dispatchEvent(new Event('input'))
1027
- input.dispatchEvent(new Event('change'))
1028
-
1029
- await nextFrame()
1030
- assert.exists(editor.shadowRoot!.querySelector('anypoint-input[data-property="name"]'))
1031
- })
1032
- })
1033
- })
1034
- })
1035
-
1036
- describe('#allowCustomBaseUri', () => {
1037
- let element: ApiRequestEditorElement
1038
- beforeEach(async () => {
1039
- element = await customBaseUriSlotFixture()
1040
- })
1041
-
1042
- it('has 1 server by default', () => {
1043
- assert.equal(element.serversCount, 1)
1044
- })
1045
-
1046
- it('hides server selector with a single server', async () => {
1047
- assert.isTrue(element.serverSelectorHidden)
1048
- })
1049
-
1050
- it('sets hidden attribute to server selector', async () => {
1051
- const serverSelector = element.shadowRoot!.querySelector('api-server-picker')!
1052
- assert.exists(serverSelector)
1053
- assert.isTrue(serverSelector.hasAttribute('hidden'))
1054
- })
1055
-
1056
- it('has 2 servers', async () => {
1057
- element.allowCustomBaseUri = true
1058
- await nextFrame()
1059
- assert.equal(element.serversCount, 2)
1060
- })
1061
-
1062
- it('does not hide server selector', async () => {
1063
- element.allowCustomBaseUri = true
1064
- await nextFrame()
1065
- assert.isFalse(element.serverSelectorHidden)
1066
- })
1067
-
1068
- it('should set hidden attribute to false in server selector', async () => {
1069
- element.allowCustomBaseUri = true
1070
- await nextFrame()
1071
- const serverSelector = element.shadowRoot!.querySelector('api-server-picker') as HTMLElement
1072
- assert.exists(serverSelector)
1073
- assert.isFalse(serverSelector.hasAttribute('hidden'))
1074
- })
1075
- })
1076
-
1077
- describe('#noServerSelector', () => {
1078
- it('hides server selector', async () => {
1079
- const element = await noSelectorFixture()
1080
- assert.isTrue(element.serverSelectorHidden)
1081
- })
1082
-
1083
- it('should set hidden attribute to server selector', async () => {
1084
- const element = await noSelectorFixture()
1085
- const serverSelector = element.shadowRoot!.querySelector('api-server-picker') as HTMLElement
1086
- assert.exists(serverSelector)
1087
- assert.isTrue(serverSelector.hasAttribute('hidden'))
1088
- })
1089
-
1090
- it('renders server selector at first', async () => {
1091
- const element = await customBaseUriSlotFixture()
1092
- element.allowCustomBaseUri = true
1093
- await nextFrame()
1094
- assert.isFalse(element.serverSelectorHidden)
1095
- })
1096
-
1097
- it('hides the selector', async () => {
1098
- const element = await customBaseUriSlotFixture()
1099
- element.allowCustomBaseUri = true
1100
- await nextFrame()
1101
- element.noServerSelector = true
1102
- await nextFrame()
1103
- assert.isTrue(element.serverSelectorHidden)
1104
- const serverSelector = element.shadowRoot!.querySelector('api-server-picker') as HTMLElement
1105
- assert.exists(serverSelector)
1106
- assert.isTrue(serverSelector.hasAttribute('hidden'))
1107
- })
1108
- })
1109
-
1110
- const multiServerApi = 'multi-server'
1111
-
1112
- function dispatchSelectionEvent(element: HTMLElement, value: string, type: string): void {
1113
- const e = {
1114
- detail: {
1115
- value,
1116
- type,
1117
- },
1118
- }
1119
- const node = element.shadowRoot!.querySelector('api-server-picker') as HTMLElement
1120
- node.dispatchEvent(new CustomEvent('apiserverchanged', e))
1121
- }
1122
-
1123
- async function changeSelection(element: ApiRequestEditorElement, domainId: string): Promise<void> {
1124
- element.domainId = domainId
1125
- await nextFrame()
1126
- }
1127
-
1128
- describe('Multi server', () => {
1129
- describe('custom URI selection', () => {
1130
- let model: AmfDefinitions.IAmfDocument
1131
- before(async () => {
1132
- model = await loader.getGraph(multiServerApi)
1133
- store.amf = model
1134
- })
1135
-
1136
- let element: ApiRequestEditorElement
1137
- beforeEach(async () => {
1138
- element = await modelFixture()
1139
- // This is equivalent to Custom URI being selected, and 'https://www.google.com' being input
1140
- dispatchSelectionEvent(element, 'https://www.google.com', 'custom')
1141
- })
1142
-
1143
- it('has servers computed', () => {
1144
- assert.lengthOf(element.servers!, 4)
1145
- })
1146
-
1147
- it('updates serverValue', () => {
1148
- assert.equal(element.serverValue, 'https://www.google.com')
1149
- })
1150
-
1151
- it('renders selector for custom URI', () => {
1152
- assert.exists(element.shadowRoot!.querySelector('api-server-picker'))
1153
- })
1154
-
1155
- it('sets effectiveBaseUri to baseUri value', () => {
1156
- element.baseUri = 'https://example.org'
1157
- assert.equal(element.effectiveBaseUri, element.baseUri)
1158
- assert.equal(element.effectiveBaseUri, 'https://example.org')
1159
- })
1160
-
1161
- it('sets effectiveBaseUri serverValue value', () => {
1162
- assert.equal(element.effectiveBaseUri, element.serverValue)
1163
- assert.equal(element.effectiveBaseUri, 'https://www.google.com')
1164
- })
1165
-
1166
- it('updates computed server', async () => {
1167
- dispatchSelectionEvent(element, 'https://{customerId}.saas-app.com:{port}/v2', 'server')
1168
- await nextFrame()
1169
- assert.isDefined(element.server)
1170
- })
1171
- })
1172
-
1173
- describe('from navigation events', () => {
1174
- let model: AmfDefinitions.IAmfDocument
1175
- before(async () => {
1176
- model = await loader.getGraph(multiServerApi)
1177
- store.amf = model
1178
- })
1179
-
1180
- let element: ApiRequestEditorElement
1181
- beforeEach(async () => {
1182
- element = await modelFixture()
1183
- })
1184
-
1185
- it('has default number of servers', async () => {
1186
- assert.lengthOf(element.servers!, 4)
1187
- })
1188
-
1189
- it('computes servers when first navigation', async () => {
1190
- const method = loader.lookupOperation(model, '/default', 'get') as AmfDefinitions.IAmfOperation
1191
- await changeSelection(element, method['@id'])
1192
- assert.lengthOf(element.servers!, 4)
1193
- })
1194
-
1195
- it('computes servers after subsequent navigation', async () => {
1196
- // default navigation
1197
- await changeSelection(
1198
- element,
1199
- (loader.lookupOperation(model, '/default', 'get') as AmfDefinitions.IAmfOperation)['@id']
1200
- )
1201
- // other endpoint
1202
- await changeSelection(
1203
- element,
1204
- (loader.lookupOperation(model, '/files', 'get') as AmfDefinitions.IAmfOperation)['@id']
1205
- )
1206
- assert.lengthOf(element.servers!, 1)
1207
- })
1208
-
1209
- it('automatically selects the first available server', async () => {
1210
- await changeSelection(
1211
- element,
1212
- (loader.lookupOperation(model, '/default', 'get') as AmfDefinitions.IAmfOperation)['@id']
1213
- )
1214
- await nextFrame()
1215
- assert.equal(element.serverValue, 'https://{customerId}.saas-app.com:{port}/v2')
1216
- })
1217
-
1218
- it('auto change selected server', async () => {
1219
- await changeSelection(
1220
- element,
1221
- (loader.lookupOperation(model, '/default', 'get') as AmfDefinitions.IAmfOperation)['@id']
1222
- )
1223
- await changeSelection(
1224
- element,
1225
- (loader.lookupOperation(model, '/files', 'get') as AmfDefinitions.IAmfOperation)['@id']
1226
- )
1227
- assert.equal(element.serverValue, 'https://files.example.com')
1228
- })
1229
-
1230
- it('keeps server selection when possible', async () => {
1231
- await changeSelection(
1232
- element,
1233
- (loader.lookupOperation(model, '/default', 'get') as AmfDefinitions.IAmfOperation)['@id']
1234
- )
1235
-
1236
- dispatchSelectionEvent(element, 'https://{region}.api.cognitive.microsoft.com', 'server')
1237
-
1238
- await changeSelection(
1239
- element,
1240
- (loader.lookupOperation(model, '/copy', 'get') as AmfDefinitions.IAmfOperation)['@id']
1241
- )
1242
- assert.equal(element.serverValue, 'https://{region}.api.cognitive.microsoft.com')
1243
- })
1244
-
1245
- it('initializes with selected server', async () => {
1246
- const methodId = (loader.lookupOperation(model, '/ping', 'get') as AmfDefinitions.IAmfOperation)['@id']
1247
- element = await modelFixture(methodId)
1248
- await nextFrame()
1249
- assert.lengthOf(element.servers!, 2)
1250
- })
1251
- })
1252
- })
1253
-
1254
- // TODO: fix me
1255
- describe(`Populating annotated fields`, () => {
1256
- const annotatedParametersApi = 'annotated-parameters'
1257
-
1258
- let model: AmfDefinitions.IAmfDocument
1259
- before(async () => {
1260
- model = await loader.getGraph(annotatedParametersApi)
1261
- store.amf = model
1262
- })
1263
-
1264
- let element: ApiRequestEditorElement
1265
- beforeEach(async () => {
1266
- InputCache.globalValues.clear()
1267
- const selected = (loader.lookupOperation(model, '/test', 'get') as AmfDefinitions.IAmfOperation)['@id']
1268
- element = await modelFixture(selected)
1269
- })
1270
-
1271
- // it('should populate annotated query parameter field', () => {
1272
- // const detail = { values: [{ annotationName: 'credentialType', annotationValue: 'id', fieldValue: 'test value' }] };
1273
- // document.dispatchEvent(new CustomEvent('populate_annotated_fields', { detail, bubbles: true }));
1274
- // const values: string[] = [];
1275
- // element.parametersValue.forEach((p) => {
1276
- // if (p.parameter.binding !== 'query') {
1277
- // return;
1278
- // }
1279
- // values[values.length] = InputCache.get(element, p.paramId, false) as string;
1280
- // })
1281
- // assert.deepEqual(values, ['', 'test value']);
1282
- // });
1283
-
1284
- // it('should populate annotated header field', () => {
1285
- // const detail = { values: [{ annotationName: 'credentialType', annotationValue: 'secret', fieldValue: 'test value' }] };
1286
- // document.dispatchEvent(new CustomEvent('populate_annotated_fields', { detail, bubbles: true }));
1287
- // const values: string[] = [];
1288
- // element.parametersValue.forEach((p) => {
1289
- // if (p.parameter.binding !== 'header') {
1290
- // return;
1291
- // }
1292
- // values[values.length] = InputCache.get(element, p.paramId, false) as string;
1293
- // });
1294
- // assert.deepEqual(values, [ 'test value', '' ]);
1295
- // const { headers } = await element.serialize();
1296
- // assert.equal(headers, 'annotatedHeader: test value\nnormalHeader: ');
1297
- // });
1298
-
1299
- it('should populate annotated query parameter and header fields', async () => {
1300
- const detail = {
1301
- values: [
1302
- { annotationName: 'credentialType', annotationValue: 'id', fieldValue: 'test value 1' },
1303
- { annotationName: 'credentialType', annotationValue: 'secret', fieldValue: 'test value 2' },
1304
- ],
1305
- }
1306
- document.dispatchEvent(new CustomEvent('populate_annotated_fields', { detail, bubbles: true }))
1307
- const serialized = await element.serialize()
1308
- const { headers, url } = serialized.expects
1309
- assert.equal(headers, 'annotatedHeader: test value 2\nnormalHeader: ')
1310
- assert.include(url, 'normalQueryparam=&annotatedQueryParam=test+value+1')
1311
- })
1312
- })
1313
-
1314
- describe('Authorization', () => {
1315
- const fileName = 'oas-demo'
1316
-
1317
- describe(`Single method`, () => {
1318
- let model: AmfDefinitions.IAmfDocument
1319
- before(async () => {
1320
- model = await loader.getGraph(fileName)
1321
- store.amf = model
1322
- })
1323
-
1324
- let element: ApiRequestEditorElement
1325
- beforeEach(async () => {
1326
- const operation = loader.getOperation(model, '/single', 'get')
1327
- element = await modelFixture(operation.id)
1328
- })
1329
-
1330
- it('sets the security value', async () => {
1331
- assert.typeOf(element.security, 'array', 'has the security')
1332
- assert.lengthOf(element.security!, 1, 'has the single scheme')
1333
- const [scheme] = element.security!
1334
- assert.deepEqual(scheme.types, ['http'], 'has types definition')
1335
- assert.deepEqual(scheme.labels, ['BasicAuth'], 'has labels definition')
1336
- assert.typeOf(scheme.security, 'object', 'has the security definition')
1337
- })
1338
-
1339
- it('sets the selectedSecurity', async () => {
1340
- assert.isNotEmpty(element.selectedSecurity)
1341
- })
1342
-
1343
- it('has no selector', () => {
1344
- const node = element.shadowRoot!.querySelector('.auth-selector')
1345
- assert.notOk(node)
1346
- })
1347
- })
1348
-
1349
- describe(`Single method with union`, () => {
1350
- let model: AmfDefinitions.IAmfDocument
1351
- before(async () => {
1352
- model = await loader.getGraph(fileName)
1353
- store.amf = model
1354
- })
1355
-
1356
- let element: ApiRequestEditorElement
1357
- beforeEach(async () => {
1358
- const operation = loader.getOperation(model, '/and-and-or-union', 'get')
1359
- element = await modelFixture(operation.id)
1360
- })
1361
-
1362
- it('sets the security value', async () => {
1363
- assert.typeOf(element.security, 'array', 'has the security')
1364
- assert.lengthOf(element.security!, 2, 'has the both schemes')
1365
- const [scheme1] = element.security!
1366
- assert.deepEqual(scheme1.types, ['Api Key', 'Api Key'], 'has types definition')
1367
- assert.deepEqual(scheme1.labels, ['ApiKeyQuery', 'ApiKeyAuth'], 'has labels definition')
1368
- assert.typeOf(scheme1.security, 'object', 'has the security definition')
1369
- })
1370
-
1371
- it('has method selector', () => {
1372
- const node = element.shadowRoot!.querySelector('.auth-selector')
1373
- assert.ok(node)
1374
- })
1375
-
1376
- it('renders combined label', () => {
1377
- const node = element.shadowRoot!.querySelector('ui-list-item[data-label="ApiKeyQuery, ApiKeyAuth"]')
1378
- assert.ok(node)
1379
- })
1380
-
1381
- it('renders label with names and types', () => {
1382
- const node = element.shadowRoot!.querySelector(
1383
- 'ui-list-item[data-label="ApiKeyQuery, ApiKeyAuth"]'
1384
- ) as HTMLElement
1385
- const parts = (node.textContent as string)
1386
- .trim()
1387
- .split('\n')
1388
- .map((item) => item.trim())
1389
- assert.equal(parts[0], 'ApiKeyQuery, ApiKeyAuth')
1390
- assert.equal(parts[1], 'Api Key, Api Key')
1391
- })
1392
-
1393
- it('renders as single editor', () => {
1394
- const nodes = element.shadowRoot!.querySelectorAll('api-authorization-editor')
1395
- assert.lengthOf(nodes, 1)
1396
- })
1397
- })
1398
-
1399
- describe(`Multiple unions`, () => {
1400
- let model: AmfDefinitions.IAmfDocument
1401
- before(async () => {
1402
- model = await loader.getGraph(fileName)
1403
- store.amf = model
1404
- })
1405
-
1406
- let element: ApiRequestEditorElement
1407
- beforeEach(async () => {
1408
- const operation = loader.getOperation(model, '/cross-union', 'get')
1409
- element = await modelFixture(operation.id)
1410
- })
1411
-
1412
- it('sets the security value', async () => {
1413
- assert.typeOf(element.security, 'array', 'has the security')
1414
- assert.lengthOf(element.security!, 3, 'has the both schemes')
1415
- const [scheme1] = element.security!
1416
- assert.deepEqual(scheme1.types, ['Api Key', 'Api Key'], 'has types definition')
1417
- assert.deepEqual(scheme1.labels, ['ApiKeyQuery', 'ApiKeyAuth'], 'has labels definition')
1418
- assert.typeOf(scheme1.security, 'object', 'has the security definition')
1419
- })
1420
-
1421
- it('has method selector', () => {
1422
- const node = element.shadowRoot!.querySelector('.auth-selector')
1423
- assert.ok(node)
1424
- })
1425
-
1426
- it('has no scheme label', () => {
1427
- const node = element.shadowRoot!.querySelector('.auth-selector-label')
1428
- assert.notOk(node)
1429
- })
1430
-
1431
- it('does not render method labels for API Key', () => {
1432
- const nodes = element.shadowRoot!.querySelectorAll('.auth-label')
1433
- assert.lengthOf(nodes, 0)
1434
- })
1435
- })
1436
- })
1437
-
1438
- describe('a11y', () => {
1439
- let model: AmfDefinitions.IAmfDocument
1440
- before(async () => {
1441
- model = await loader.getGraph()
1442
- store.amf = model
1443
- })
1444
-
1445
- // this is result of the a11y audit on API Console
1446
- it('renders the * Required field label when has required query', async () => {
1447
- const method = loader.lookupOperation(model, '/query-params/string', 'get') as AmfDefinitions.IAmfOperation
1448
- const element = await modelFixture(method['@id'])
1449
- const section = element.shadowRoot!.querySelector('.params-section.parameter') as HTMLElement
1450
- const label = section.querySelector('.required-field')
1451
- assert.ok(label, 'has the label')
1452
- })
1453
-
1454
- // this is result of the a11y audit on API Console
1455
- it('does not render the * Required field label when has required header', async () => {
1456
- const method = loader.lookupOperation(model, '/required-headers', 'get') as AmfDefinitions.IAmfOperation
1457
- const element = await modelFixture(method['@id'])
1458
- const section = element.shadowRoot!.querySelector('.params-section.header') as HTMLElement
1459
- const label = section.querySelector('.required-field')
1460
- assert.ok(label, 'has the label')
1461
- })
1462
-
1463
- // this is result of the a11y audit on API Console
1464
- it('does not render the * Required field label when has no required header', async () => {
1465
- const method = loader.lookupOperation(model, '/optional-headers', 'get') as AmfDefinitions.IAmfOperation
1466
- const element = await modelFixture(method['@id'])
1467
- const section = element.shadowRoot!.querySelector('.params-section.header') as HTMLElement
1468
- const label = section.querySelector('.required-field')
1469
- assert.notOk(label, 'has no label')
1470
- })
1471
- })
1472
- })