@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 +0,0 @@
1
- {"version":3,"file":"Oauth2RamlCustomData.js","sourceRoot":"","sources":["../../../../src/amf/lib/Oauth2RamlCustomData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,+CAA+C,CAAA;AAY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ameter } from '@api-client/core/amf/definitions/Api.js'\nimport type {\n IApiArrayShape,\n IApiDataNodeUnion,\n IApiObjectNode,\n IApiScalarNode,\n IApiScalarShape,\n IApiShape,\n IShapeUnion,\n} from '@api-client/core/amf/definitions/Shapes.js'\n\n/**\n * Computes a data model for custom definition for the OAuth 2 scheme\n * According to the annotation published at\n * https://github.com/raml-org/raml-annotations/tree/master/annotations/security-schemes\n */\nexport class Oauth2RamlCustomData {\n readParams(properties: Record<string, IApiDataNodeUnion>): IApiParameter[] {\n const result: IApiParameter[] = []\n Object.keys(properties).forEach((key) => {\n const definition = properties[key]\n if (definition.types.includes(AmfNamespace.aml.vocabularies.data.Object)) {\n const property = this.getProperty(definition as IApiObjectNode)\n result.push(property)\n } else if (definition.types.includes(AmfNamespace.aml.vocabularies.data.Scalar)) {\n const property = this.getPropertyScalar(definition as IApiScalarNode)\n result.push(property)\n }\n })\n return result\n }\n\n /**\n * Creates an IApiParameter for an annotation that has properties.\n * This expects the properties to be defined like RAML's type definition.\n */\n getProperty(definition: IApiObjectNode): IApiParameter {\n const { properties = {}, id, name } = definition\n const result: IApiParameter = {\n id,\n name,\n examples: [],\n payloads: [],\n types: [AmfNamespace.aml.vocabularies.apiContract.Parameter],\n customDomainProperties: [],\n }\n const schema = this.readSchema(definition)\n if (schema) {\n result.schema = schema\n }\n if (properties.required) {\n const req = properties.required as IApiScalarNode\n result.required = req.value === 'true'\n }\n return result\n }\n\n /**\n * Creates an IApiParameter for an annotation that has no properties but rather a simplified\n * notation of `propertyName: dataType`.\n */\n getPropertyScalar(definition: IApiScalarNode): IApiParameter {\n const { dataType = '', id, name } = definition\n const result: IApiParameter = {\n id,\n name,\n examples: [],\n payloads: [],\n types: [AmfNamespace.aml.vocabularies.apiContract.Parameter],\n customDomainProperties: [],\n }\n const schema = this.createSchema() as IApiScalarShape\n schema.types = [AmfNamespace.aml.vocabularies.shapes.ScalarShape]\n schema.id = id\n schema.name = name\n schema.dataType = this.typeToSchemaType(dataType)\n result.schema = schema\n return result\n }\n\n readSchema(property: IApiObjectNode): IShapeUnion | undefined {\n const { properties = {}, name, id } = property\n // const { example, examples, } = properties;\n const isArray = this.readIsSchemaArray(properties.type as IApiScalarNode, properties.items as IApiScalarNode)\n const type = this.readSchemaType(properties.type as IApiScalarNode, properties.items as IApiScalarNode)\n let schema: IShapeUnion | undefined\n if (isArray) {\n const s = this.createSchema() as IApiArrayShape\n s.types = [AmfNamespace.aml.vocabularies.shapes.ArrayShape]\n s.id = id\n s.name = name\n s.items = this.createTypedSchema(type, property)\n schema = s\n } else {\n schema = this.createTypedSchema(type, property)\n }\n return schema\n }\n\n createTypedSchema(type: string, object: IApiObjectNode): IShapeUnion | undefined {\n switch (type) {\n case 'string':\n case 'number':\n case 'integer':\n case 'float':\n case 'double':\n case 'long':\n case 'date-only':\n case 'date-time':\n case 'time-only':\n case 'nil':\n case 'date':\n case 'boolean':\n return this.createScalarSchema(object, type)\n default:\n return undefined\n }\n }\n\n createSchema(): IApiShape {\n return {\n id: '',\n types: [],\n and: [],\n name: '',\n inherits: [],\n or: [],\n values: [],\n xone: [],\n customDomainProperties: [],\n }\n }\n\n createScalarSchema(object: IApiObjectNode, type: string): IApiScalarShape {\n const { properties = {}, name, id } = object\n const schema = this.createSchema() as IApiScalarShape\n schema.types = [AmfNamespace.aml.vocabularies.shapes.ScalarShape]\n schema.id = id\n schema.name = name\n schema.dataType = this.typeToSchemaType(type)\n if (properties.format) {\n const item = properties.format as IApiScalarNode\n schema.format = item.value\n }\n if (properties.default) {\n const item = properties.default as IApiScalarNode\n schema.defaultValueStr = item.value\n // schema.defaultValue = item.value;\n }\n if (properties.description) {\n const item = properties.description as IApiScalarNode\n schema.description = item.value\n }\n if (properties.displayName) {\n const item = properties.displayName as IApiScalarNode\n schema.displayName = item.value\n }\n if (properties.pattern) {\n const item = properties.pattern as IApiScalarNode\n schema.pattern = item.value\n }\n if (properties.maximum) {\n const item = properties.maximum as IApiScalarNode\n const value = Number(item.value)\n if (!Number.isNaN(value)) {\n schema.maximum = value\n }\n }\n if (properties.minimum) {\n const item = properties.minimum as IApiScalarNode\n const value = Number(item.value)\n if (!Number.isNaN(value)) {\n schema.minimum = value\n }\n }\n if (properties.multipleOf) {\n const item = properties.multipleOf as IApiScalarNode\n const value = Number(item.value)\n if (!Number.isNaN(value)) {\n schema.multipleOf = value\n }\n }\n if (properties.maxLength) {\n const item = properties.maxLength as IApiScalarNode\n const value = Number(item.value)\n if (!Number.isNaN(value)) {\n schema.maxLength = value\n }\n }\n if (properties.minLength) {\n const item = properties.minLength as IApiScalarNode\n const value = Number(item.value)\n if (!Number.isNaN(value)) {\n schema.minLength = value\n }\n }\n return schema\n }\n\n /**\n * @param object\n * @param items The definition of the `items` property that corresponds to RAML's items property of an array\n */\n readSchemaType(object: IApiScalarNode, items?: IApiScalarNode): string {\n if (object.dataType !== AmfNamespace.w3.xmlSchema.string) {\n return AmfNamespace.w3.xmlSchema.string\n }\n let inputType = object.value || ''\n if (inputType.endsWith('[]')) {\n inputType = inputType.replace('[]', '')\n }\n if (inputType === 'array' && items) {\n return this.readSchemaType(items)\n }\n return inputType || 'string'\n }\n\n typeToSchemaType(type: string): string {\n switch (type) {\n case 'boolean':\n return AmfNamespace.w3.xmlSchema.boolean\n case 'number':\n return AmfNamespace.w3.xmlSchema.number\n case 'integer':\n return AmfNamespace.w3.xmlSchema.integer\n case 'float':\n return AmfNamespace.w3.xmlSchema.float\n case 'double':\n return AmfNamespace.w3.xmlSchema.double\n case 'long':\n return AmfNamespace.w3.xmlSchema.long\n case 'date-only':\n return AmfNamespace.w3.xmlSchema.date\n case 'date-time':\n return AmfNamespace.w3.xmlSchema.dateTime\n case 'time-only':\n return AmfNamespace.w3.xmlSchema.time\n case 'nil':\n return AmfNamespace.w3.xmlSchema.nil\n default:\n return AmfNamespace.w3.xmlSchema.string\n }\n }\n\n /**\n * Checks whether the custom property represents an array.\n * @param type\n * @param items The definition of the `items` property that corresponds to RAML's items property of an array\n * @returns True when the schema is an array.\n */\n readIsSchemaArray(type: IApiScalarNode, items: IApiScalarNode): boolean {\n if (!type && items) {\n return true\n }\n if (!type) {\n return false\n }\n const inputType = type.value || ''\n if (inputType.endsWith('[]') || inputType === 'array') {\n return true\n }\n return false\n }\n}\n"]}
@@ -1,19 +0,0 @@
1
- import type { IApiPayload } from '@api-client/core/amf/definitions/Api.js';
2
- import type { IProperty } from '@api-client/core/models/Property.js';
3
- export interface PayloadInfo {
4
- value: string | FormData | Blob;
5
- model?: IProperty[];
6
- schemas?: unknown;
7
- }
8
- export declare function getPayloadValue(payload: IApiPayload): PayloadInfo;
9
- /**
10
- * @param id The ApiPayload id.
11
- * @param value The value to cache.
12
- * @param model Optional model to set.
13
- */
14
- export declare function cachePayloadValue(id: string, value: string, model?: IProperty[]): void;
15
- /**
16
- * @param id Payload id to read the value.
17
- */
18
- export declare function readCachePayloadValue(id: string): PayloadInfo | undefined;
19
- //# sourceMappingURL=PayloadUtils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PayloadUtils.d.ts","sourceRoot":"","sources":["../../../../src/amf/lib/PayloadUtils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAA;AAE1E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAA;AAEpE,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,CAAA;IAC/B,KAAK,CAAC,EAAE,SAAS,EAAE,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAID,wBAAgB,eAAe,CAAC,OAAO,EAAE,WAAW,GAAG,WAAW,CA+CjE;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,CAUtF;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,EAAE,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAEzE"}
@@ -1,73 +0,0 @@
1
- import { ApiExampleGenerator } from '@api-client/core/amf/ApiExampleGenerator.js';
2
- import { ApiMonacoSchemaGenerator } from '@api-client/core/amf/ApiMonacoSchemaGenerator.js';
3
- import { ApiSchemaGenerator } from '@api-client/core/amf/ApiSchemaGenerator.js';
4
- const cache = new Map();
5
- export function getPayloadValue(payload) {
6
- if (cache.has(payload.id)) {
7
- return cache.get(payload.id);
8
- }
9
- const { id, mediaType = 'text/plain', schema } = payload;
10
- if (mediaType === 'multipart/form-data') {
11
- // schema generators don't support this yet,
12
- const info = { value: new FormData(), schemas: [] };
13
- cache.set(id, info);
14
- return info;
15
- }
16
- if (!schema) {
17
- const info = { value: '', schemas: [] };
18
- cache.set(id, info);
19
- return info;
20
- }
21
- const schemaFactory = new ApiMonacoSchemaGenerator();
22
- const monacoSchemes = schemaFactory.generate(schema, id);
23
- let { examples } = payload;
24
- if (!Array.isArray(examples) || !examples.length) {
25
- examples = schema.examples;
26
- }
27
- if (Array.isArray(examples) && examples.length) {
28
- const [example] = examples;
29
- const generator = new ApiExampleGenerator();
30
- const value = generator.read(example, mediaType);
31
- const info = { value, schemas: monacoSchemes };
32
- cache.set(id, info);
33
- return info;
34
- }
35
- // generate values.
36
- const result = ApiSchemaGenerator.asExample(schema, mediaType, {
37
- selectedUnions: [],
38
- renderExamples: true,
39
- renderOptional: true,
40
- renderMocked: true,
41
- });
42
- if (!result || !result.renderValue) {
43
- const info = { value: '', schemas: monacoSchemes };
44
- cache.set(id, info);
45
- return info;
46
- }
47
- const info = { value: result.renderValue, schemas: monacoSchemes };
48
- cache.set(id, info);
49
- return info;
50
- }
51
- /**
52
- * @param id The ApiPayload id.
53
- * @param value The value to cache.
54
- * @param model Optional model to set.
55
- */
56
- export function cachePayloadValue(id, value, model) {
57
- if (cache.has(id)) {
58
- const info = cache.get(id);
59
- info.value = value;
60
- if (model) {
61
- info.model = model;
62
- }
63
- return;
64
- }
65
- cache.set(id, { value, model });
66
- }
67
- /**
68
- * @param id Payload id to read the value.
69
- */
70
- export function readCachePayloadValue(id) {
71
- return cache.get(id);
72
- }
73
- //# sourceMappingURL=PayloadUtils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PayloadUtils.js","sourceRoot":"","sources":["../../../../src/amf/lib/PayloadUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAA;AACjF,OAAO,EAAE,wBAAwB,EAAE,MAAM,kDAAkD,CAAA;AAC3F,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAA;AAW/E,MAAM,KAAK,GAAG,IAAI,GAAG,EAAuB,CAAA;AAE5C,MAAM,UAAU,eAAe,CAAC,OAAoB;IAClD,IAAI,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC;QAC1B,OAAO,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAgB,CAAA;IAC7C,CAAC;IACD,MAAM,EAAE,EAAE,EAAE,SAAS,GAAG,YAAY,EAAE,MAAM,EAAE,GAAG,OAAO,CAAA;IAExD,IAAI,SAAS,KAAK,qBAAqB,EAAE,CAAC;QACxC,4CAA4C;QAC5C,MAAM,IAAI,GAAG,EAAE,KAAK,EAAE,IAAI,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,EAAiB,CAAA;QAClE,KAAK,CAAC,GAAG,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;QACnB,OAAO,IAAI,CAAA;IACb,CAAC;IACD,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,MAAM,IAAI,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAA;QACvC,KAAK,CAAC,GAAG,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;QACnB,OAAO,IAAI,CAAA;IACb,CAAC;IAED,MAAM,aAAa,GAAG,IAAI,wBA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AM,CAAC,WAAW,EAAE,OAAO,EAAE,aAAa,EAAiB,CAAA;IACjF,KAAK,CAAC,GAAG,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;IACnB,OAAO,IAAI,CAAA;AACb,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,iBAAiB,CAAC,EAAU,EAAE,KAAa,EAAE,KAAmB;IAC9E,IAAI,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC;QAClB,MAAM,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,EAAE,CAAgB,CAAA;QACzC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;QAClB,IAAI,KAAK,EAAE,CAAC;YACV,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;QACpB,CAAC;QACD,OAAM;IACR,CAAC;IACD,KAAK,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAA;AACjC,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,qBAAqB,CAAC,EAAU;IAC9C,OAAO,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;AACtB,CAAC","sourcesContent":["import { ApiExampleGenerator } from '@api-client/core/amf/ApiExampleGenerator.js'\nimport { ApiMonacoSchemaGenerator } from '@api-client/core/amf/ApiMonacoSchemaGenerator.js'\nimport { ApiSchemaGenerator } from '@api-client/core/amf/ApiSchemaGenerator.js'\nimport type { IApiPayload } from '@api-client/core/amf/definitions/Api.js'\nimport type { IApiAnyShape } from '@api-client/core/amf/definitions/Shapes.js'\nimport type { IProperty } from '@api-client/core/models/Property.js'\n\nexport interface PayloadInfo {\n value: string | FormData | Blob\n model?: IProperty[]\n schemas?: unknown\n}\n\nconst cache = new Map<string, PayloadInfo>()\n\nexport function getPayloadValue(payload: IApiPayload): PayloadInfo {\n if (cache.has(payload.id)) {\n return cache.get(payload.id) as PayloadInfo\n }\n const { id, mediaType = 'text/plain', schema } = payload\n\n if (mediaType === 'multipart/form-data') {\n // schema generators don't support this yet,\n const info = { value: new FormData(), schemas: [] } as PayloadInfo\n cache.set(id, info)\n return info\n }\n if (!schema) {\n const info = { value: '', schemas: [] }\n cache.set(id, info)\n return info\n }\n\n const schemaFactory = new ApiMonacoSchemaGenerator()\n const monacoSchemes = schemaFactory.generate(schema, id)\n let { examples } = payload\n if (!Array.isArray(examples) || !examples.length) {\n examples = (schema as IApiAnyShape).examples\n }\n if (Array.isArray(examples) && examples.length) {\n const [example] = examples\n const generator = new ApiExampleGenerator()\n const value = generator.read(example, mediaType)\n const info = { value, schemas: monacoSchemes } as PayloadInfo\n cache.set(id, info)\n return info\n }\n // generate values.\n const result = ApiSchemaGenerator.asExample(schema, mediaType, {\n selectedUnions: [],\n renderExamples: true,\n renderOptional: true,\n renderMocked: true,\n })\n if (!result || !result.renderValue) {\n const info = { value: '', schemas: monacoSchemes }\n cache.set(id, info)\n return info\n }\n const info = { value: result.renderValue, schemas: monacoSchemes } as PayloadInfo\n cache.set(id, info)\n return info\n}\n\n/**\n * @param id The ApiPayload id.\n * @param value The value to cache.\n * @param model Optional model to set.\n */\nexport function cachePayloadValue(id: string, value: string, model?: IProperty[]): void {\n if (cache.has(id)) {\n const info = cache.get(id) as PayloadInfo\n info.value = value\n if (model) {\n info.model = model\n }\n return\n }\n cache.set(id, { value, model })\n}\n\n/**\n * @param id Payload id to read the value.\n */\nexport function readCachePayloadValue(id: string): PayloadInfo | undefined {\n return cache.get(id)\n}\n"]}
@@ -1,44 +0,0 @@
1
- import type { IShapeUnion, IApiScalarShape, IApiNodeShape, IApiArrayShape, IApiUnionShape, IApiPropertyShape } from '@api-client/core/amf/definitions/Shapes.js';
2
- import type { OperationParameter } from '../types.js';
3
- /**
4
- * A library to create a list of ApiParameters from a query string value.
5
- */
6
- export declare class QueryParameterProcessor {
7
- /**
8
- * @param schema
9
- * @param binding The parameter binding.
10
- * @param source Optional parameter source.
11
- */
12
- collectOperationParameters(schema: IShapeUnion, binding: string, source?: string): OperationParameter[];
13
- /**
14
- * @param shape
15
- * @param binding The parameter binding.
16
- * @param source Optional parameter source.
17
- */
18
- scalarShapeOperationParameter(shape: IApiScalarShape, binding: string, source?: string): OperationParameter;
19
- /**
20
- * @param shape
21
- * @param binding The parameter binding.
22
- * @param source Optional parameter source.
23
- */
24
- nodeShapeOperationParameter(shape: IApiNodeShape, binding: string, source?: string): OperationParameter[];
25
- /**
26
- * @param property The property to build the parameter for.
27
- * @param binding The parameter binding.
28
- * @param source Optional parameter source.
29
- */
30
- parameterOperationParameter(property: IApiPropertyShape, binding: string, source?: string): OperationParameter;
31
- /**
32
- * @param shape
33
- * @param binding The parameter binding.
34
- * @param source Optional parameter source.
35
- */
36
- arrayShapeOperationParameter(shape: IApiArrayShape, binding: string, source?: string): OperationParameter | OperationParameter[];
37
- /**
38
- * @param shape
39
- * @param binding The parameter binding.
40
- * @param source Optional parameter source.
41
- */
42
- unionShapeOperationParameter(shape: IApiUnionShape, binding: string, source?: string): OperationParameter[] | undefined;
43
- }
44
- //# sourceMappingURL=QueryParameterProcessor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryParameterProcessor.d.ts","sourceRoot":"","sources":["../../../../src/amf/lib/QueryParameterProcessor.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,WAAW,EACX,eAAe,EACf,aAAa,EACb,cAAc,EACd,cAAc,EACd,iBAAiB,EAClB,MAAM,4CAA4C,CAAA;AACnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAErD;;GAEG;AACH,qBAAa,uBAAuB;IAClC;;;;OAIG;IACH,0BAA0B,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,kBAAkB,EAAE;IA2BvG;;;;OAIG;IACH,6BAA6B,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,kBAAkB;IAuB3G;;;;OAIG;IACH,2BAA2B,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,kBAAkB,EAAE;IAYzG;;;;OAIG;IACH,2BAA2B,CAAC,QAAQ,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,kBAAkB;IAuB9G;;;;OAIG;IACH,4BAA4B,CAC1B,KAAK,EAAE,cAAc,EACrB,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,MAAM,GACd,kBAAkB,GAAG,kBAAkB,EAAE;IA4B5C;;;;OAIG;IACH,4BAA4B,CAC1B,KAAK,EAAE,cAAc,EACrB,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,MAAM,GACd,kBAAkB,EAAE,GAAG,SAAS;CAkBpC"}
@@ -1,167 +0,0 @@
1
- import { AmfNamespace } from '@api-client/core/amf/definitions/Namespace.js';
2
- /**
3
- * A library to create a list of ApiParameters from a query string value.
4
- */
5
- export class QueryParameterProcessor {
6
- /**
7
- * @param schema
8
- * @param binding The parameter binding.
9
- * @param source Optional parameter source.
10
- */
11
- collectOperationParameters(schema, binding, source) {
12
- let result = [];
13
- if (!schema) {
14
- return result;
15
- }
16
- const { types } = schema;
17
- if (types.includes(AmfNamespace.aml.vocabularies.shapes.ScalarShape)) {
18
- result.push(this.scalarShapeOperationParameter(schema, binding, source));
19
- }
20
- else if (types.includes(AmfNamespace.w3.shacl.NodeShape)) {
21
- const params = this.nodeShapeOperationParameter(schema, binding, source);
22
- result = result.concat(params);
23
- }
24
- else if (types.includes(AmfNamespace.aml.vocabularies.shapes.ArrayShape)) {
25
- const arrResult = this.arrayShapeOperationParameter(schema, binding, source);
26
- if (Array.isArray(arrResult)) {
27
- result = result.concat(arrResult);
28
- }
29
- else if (arrResult) {
30
- result.push(arrResult);
31
- }
32
- }
33
- else if (types.includes(AmfNamespace.aml.vocabularies.shapes.UnionShape)) {
34
- const params = this.unionShapeOperationParameter(schema, binding, source);
35
- if (params) {
36
- result = result.concat(params);
37
- }
38
- }
39
- return result;
40
- }
41
- /**
42
- * @param shape
43
- * @param binding The parameter binding.
44
- * @param source Optional parameter source.
45
- */
46
- scalarShapeOperationParameter(shape, binding, source) {
47
- const { id, name } = shape;
48
- const constructed = {
49
- id,
50
- binding,
51
- schema: shape,
52
- name,
53
- examples: [],
54
- payloads: [],
55
- types: [AmfNamespace.aml.vocabularies.apiContract.Parameter],
56
- required: false,
57
- customDomainProperties: [],
58
- };
59
- return {
60
- binding,
61
- paramId: id,
62
- parameter: constructed,
63
- source: source || '',
64
- schemaId: id,
65
- schema: shape,
66
- };
67
- }
68
- /**
69
- * @param shape
70
- * @param binding The parameter binding.
71
- * @param source Optional parameter source.
72
- */
73
- nodeShapeOperationParameter(shape, binding, source) {
74
- const result = [];
75
- const { properties = [] } = shape;
76
- if (!properties.length) {
77
- return result;
78
- }
79
- properties.forEach((prop) => {
80
- result.push(this.parameterOperationParameter(prop, binding, source));
81
- });
82
- return result;
83
- }
84
- /**
85
- * @param property The property to build the parameter for.
86
- * @param binding The parameter binding.
87
- * @param source Optional parameter source.
88
- */
89
- parameterOperationParameter(property, binding, source) {
90
- const { id, range, name, minCount = 0 } = property;
91
- const constructed = {
92
- id,
93
- binding,
94
- schema: range,
95
- name,
96
- examples: [],
97
- payloads: [],
98
- types: [AmfNamespace.aml.vocabularies.apiContract.Parameter],
99
- required: minCount > 0,
100
- customDomainProperties: [],
101
- };
102
- return {
103
- binding,
104
- paramId: id,
105
- parameter: constructed,
106
- source: source || '',
107
- schemaId: property.id,
108
- schema: range,
109
- };
110
- }
111
- /**
112
- * @param shape
113
- * @param binding The parameter binding.
114
- * @param source Optional parameter source.
115
- */
116
- arrayShapeOperationParameter(shape, binding, source) {
117
- const target = shape.items || shape;
118
- if (target.types.includes(AmfNamespace.w3.shacl.NodeShape)) {
119
- const typed = shape.items;
120
- return this.collectOperationParameters(typed, binding, source);
121
- }
122
- const { id, name } = target;
123
- const constructed = {
124
- id,
125
- binding,
126
- schema: shape,
127
- name,
128
- examples: [],
129
- payloads: [],
130
- types: [AmfNamespace.aml.vocabularies.apiContract.Parameter],
131
- required: false,
132
- customDomainProperties: [],
133
- };
134
- return {
135
- binding,
136
- paramId: id,
137
- parameter: constructed,
138
- source: source || '',
139
- schemaId: id,
140
- schema: shape,
141
- };
142
- }
143
- /**
144
- * @param shape
145
- * @param binding The parameter binding.
146
- * @param source Optional parameter source.
147
- */
148
- unionShapeOperationParameter(shape, binding, source) {
149
- const { anyOf = [], or = [], and = [], xone = [] } = shape;
150
- if (and.length) {
151
- let result = [];
152
- and.forEach((item) => {
153
- const itemResult = this.collectOperationParameters(item, binding, source);
154
- if (itemResult) {
155
- result = result.concat(itemResult);
156
- }
157
- });
158
- return result;
159
- }
160
- const info = anyOf[0] || or[0] || xone[0];
161
- if (!info) {
162
- return undefined;
163
- }
164
- return this.collectOperationParameters(info, binding, source);
165
- }
166
- }
167
- //# sourceMappingURL=QueryParameterProcessor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryParameterProcessor.js","sourceRoot":"","sources":["../../../../src/amf/lib/QueryParameterProcessor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,+CAA+C,CAAA;AAY5E;;GAEG;AACH,MAAM,OAAO,uBAAuB;IAClC;;;;OAIG;IACH,0BAA0B,CAAC,MAAmB,EAAE,OAAe,EAAE,MAAe;QAC9E,IAAI,MAAM,GAAyB,EAAE,CAAA;QACrC,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,OAAO,MAAM,CAAA;QACf,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,CAAA;QACxB,IAAI,KAAK,CAAC,QAAQ,CAAC,YAAY,CAAC,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC;YACrE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,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,KAAK;SACd,CAAA;IACH,CAAC;IAED;;;;OAIG;IACH,4BAA4B,CAC1B,KAAqB,EACrB,OAAe,EACf,MAAe;QAEf,MAAM,EAAE,KAAK,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,GAAG,GAAG,EAAE,EAAE,IAAI,GAAG,EAAE,EAAE,GAAG,KAAK,CAAA;QAC1D,IAAI,GAAG,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,MAAM,GAAyB,EAAE,CAAA;YACrC,GAAG,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;gBACnB,MAAM,UAAU,GAAG,IAAI,CAAC,0BAA0B,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,CAAA;gBACzE,IAAI,UAAU,EAAE,CAAC;oBACf,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;gBACpC,CAAC;YACH,CAAC,CAAC,CAAA;YACF,OAAO,MAAM,CAAA;QACf,CAAC;QACD,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAA;QACzC,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,OAAO,SAAS,CAAA;QAClB,CAAC;QACD,OAAO,IAAI,CAAC,0BAA0B,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,CAAA;IAC/D,CAAC;CACF","sourcesContent":["import { AmfNamespace } from '@api-client/core/amf/definitions/Namespace.js'\nimport type { IApiParameter } from '@api-client/core/amf/definitions/Api.js'\nimport type {\n IShapeUnion,\n IApiScalarShape,\n IApiNodeShape,\n IApiArrayShape,\n IApiUnionShape,\n IApiPropertyShape,\n} from '@api-client/core/amf/definitions/Shapes.js'\nimport type { OperationParameter } from '../types.js'\n\n/**\n * A library to create a list of ApiParameters from a query string value.\n */\nexport class QueryParameterProcessor {\n /**\n * @param schema\n * @param binding The parameter binding.\n * @param source Optional parameter source.\n */\n collectOperationParameters(schema: IShapeUnion, binding: string, source?: string): OperationParameter[] {\n let result: OperationParameter[] = []\n if (!schema) {\n return result\n }\n const { types } = schema\n if (types.includes(AmfNamespace.aml.vocabularies.shapes.ScalarShape)) {\n result.push(this.scalarShapeOperationParameter(schema as IApiScalarShape, binding, source))\n } else if (types.includes(AmfNamespace.w3.shacl.NodeShape)) {\n const params = this.nodeShapeOperationParameter(schema as IApiNodeShape, binding, source)\n result = result.concat(params)\n } else if (types.includes(AmfNamespace.aml.vocabularies.shapes.ArrayShape)) {\n const arrResult = this.arrayShapeOperationParameter(schema as IApiArrayShape, binding, source)\n if (Array.isArray(arrResult)) {\n result = result.concat(arrResult)\n } else if (arrResult) {\n result.push(arrResult)\n }\n } else if (types.includes(AmfNamespace.aml.vocabularies.shapes.UnionShape)) {\n const params = this.unionShapeOperationParameter(schema as IApiUnionShape, binding, source)\n if (params) {\n result = result.concat(params)\n }\n }\n return result\n }\n\n /**\n * @param shape\n * @param binding The parameter binding.\n * @param source Optional parameter source.\n */\n scalarShapeOperationParameter(shape: IApiScalarShape, binding: string, source?: string): OperationParameter {\n const { id, name } = shape\n const constructed: IApiParameter = {\n id,\n binding,\n schema: shape,\n name,\n examples: [],\n payloads: [],\n types: [AmfNamespace.aml.vocabularies.apiContract.Parameter],\n required: false,\n customDomainProperties: [],\n }\n return {\n binding,\n paramId: id,\n parameter: constructed,\n source: source || '',\n schemaId: id,\n schema: shape,\n }\n }\n\n /**\n * @param shape\n * @param binding The parameter binding.\n * @param source Optional parameter source.\n */\n nodeShapeOperationParameter(shape: IApiNodeShape, binding: string, source?: string): OperationParameter[] {\n const result: OperationParameter[] = []\n const { properties = [] } = shape\n if (!properties.length) {\n return result\n }\n properties.forEach((prop) => {\n result.push(this.parameterOperationParameter(prop, binding, source))\n })\n return result\n }\n\n /**\n * @param property The property to build the parameter for.\n * @param binding The parameter binding.\n * @param source Optional parameter source.\n */\n parameterOperationParameter(property: IApiPropertyShape, binding: string, source?: string): OperationParameter {\n const { id, range, name, minCount = 0 } = property\n const constructed: IApiParameter = {\n id,\n binding,\n schema: range,\n name,\n examples: [],\n payloads: [],\n types: [AmfNamespace.aml.vocabularies.apiContract.Parameter],\n required: minCount > 0,\n customDomainProperties: [],\n }\n return {\n binding,\n paramId: id,\n parameter: constructed,\n source: source || '',\n schemaId: property.id,\n schema: range,\n }\n }\n\n /**\n * @param shape\n * @param binding The parameter binding.\n * @param source Optional parameter source.\n */\n arrayShapeOperationParameter(\n shape: IApiArrayShape,\n binding: string,\n source?: string\n ): OperationParameter | OperationParameter[] {\n const target = shape.items || shape\n if (target.types.includes(AmfNamespace.w3.shacl.NodeShape)) {\n const typed = shape.items as IApiNodeShape\n return this.collectOperationParameters(typed, binding, source)\n }\n const { id, name } = target\n const constructed: IApiParameter = {\n id,\n binding,\n schema: shape,\n name,\n examples: [],\n payloads: [],\n types: [AmfNamespace.aml.vocabularies.apiContract.Parameter],\n required: false,\n customDomainProperties: [],\n }\n return {\n binding,\n paramId: id,\n parameter: constructed,\n source: source || '',\n schemaId: id,\n schema: shape,\n }\n }\n\n /**\n * @param shape\n * @param binding The parameter binding.\n * @param source Optional parameter source.\n */\n unionShapeOperationParameter(\n shape: IApiUnionShape,\n binding: string,\n source?: string\n ): OperationParameter[] | undefined {\n const { anyOf = [], or = [], and = [], xone = [] } = shape\n if (and.length) {\n let result: OperationParameter[] = []\n and.forEach((item) => {\n const itemResult = this.collectOperationParameters(item, binding, source)\n if (itemResult) {\n result = result.concat(itemResult)\n }\n })\n return result\n }\n const info = anyOf[0] || or[0] || xone[0]\n if (!info) {\n return undefined\n }\n return this.collectOperationParameters(info, binding, source)\n }\n}\n"]}
@@ -1,49 +0,0 @@
1
- import type { ComputeBaseUriOptions } from '../types.js';
2
- /**
3
- * Computes the base URI value for the API/endpoint/operation.
4
- *
5
- * @param url The url to check for protocol information.
6
- * @param options The computation options
7
- * @returns The base uri value with a protocol,
8
- */
9
- export declare function setProtocol(url?: string, options?: ComputeBaseUriOptions): string;
10
- /**
11
- * Computes the base URI value for the API/endpoint/operation.
12
- *
13
- * @param options The computation options
14
- * @returns Base uri value. Can be empty string.
15
- */
16
- export declare function computeApiBaseUri(options?: ComputeBaseUriOptions): string;
17
- /**
18
- * Computes the base URI value for the API/endpoint/operation.
19
- *
20
- * @param options The computation options
21
- * @returns Base uri value. Can be empty string.
22
- */
23
- export declare function computeEndpointUri(options?: ComputeBaseUriOptions): string;
24
- /**
25
- * @param str A key or value to encode as x-www-form-urlencoded.
26
- * @param replacePlus When set it replaces `%20` with `+`.
27
- */
28
- export declare function wwwFormUrlEncode(str: string, replacePlus: boolean): string;
29
- /**
30
- * @param url The current URL
31
- * @param variables The path variables to apply.
32
- * @param encode Whether to encode parameters.
33
- */
34
- export declare function applyUrlVariables(url: string, variables: Record<string, unknown>, encode: boolean): string;
35
- /**
36
- * @param url The current URL
37
- * @param params The query parameters to apply.
38
- * @param encode Whether to encode parameters.
39
- */
40
- export declare function applyUrlParameters(url: string, params: Record<string, unknown>, encode: boolean): string;
41
- /**
42
- * Applies query parameter values to an object.
43
- * Repeated parameters will have array value instead of string value.
44
- *
45
- * @param param Query parameter value as string. Eg `name=value`
46
- * @param obj Target for values
47
- */
48
- export declare function applyQueryParamStringToObject(param: string, obj: Record<string, string | string[]>): void;
49
- //# sourceMappingURL=UrlUtils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UrlUtils.d.ts","sourceRoot":"","sources":["../../../../src/amf/lib/UrlUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAExD;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,GAAG,SAAK,EAAE,OAAO,GAAE,qBAA0B,GAAG,MAAM,CAgBjF;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,GAAE,qBAA0B,GAAG,MAAM,CAqB7E;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,GAAE,qBAA0B,GAAG,MAAM,CAa9E;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,GAAG,MAAM,CAW1E;AAaD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,OAAO,GAAG,MAAM,CAwB1G;AAyCD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,OAAO,GAAG,MAAM,CASxG;AAED;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,GAAG,IAAI,CAczG"}
@@ -1,209 +0,0 @@
1
- /**
2
- * Computes the base URI value for the API/endpoint/operation.
3
- *
4
- * @param url The url to check for protocol information.
5
- * @param options The computation options
6
- * @returns The base uri value with a protocol,
7
- */
8
- export function setProtocol(url = '', options = {}) {
9
- const { server, protocols = [] } = options;
10
- const schemes = [...protocols];
11
- if (server && server.protocol) {
12
- schemes.unshift(server.protocol);
13
- }
14
- let result = url;
15
- // this also run when an Async API is loaded so the protocol may be whatever.
16
- const hasProtocol = !!result && result.includes('://');
17
- if (result && !hasProtocol && schemes.length) {
18
- result = `${schemes[0]}://${result}`;
19
- }
20
- else if (result && !hasProtocol && options.forceHttpProtocol) {
21
- result = `http://${result}`;
22
- }
23
- return result;
24
- }
25
- /**
26
- * Computes the base URI value for the API/endpoint/operation.
27
- *
28
- * @param options The computation options
29
- * @returns Base uri value. Can be empty string.
30
- */
31
- export function computeApiBaseUri(options = {}) {
32
- const { baseUri, server, version } = options;
33
- if (baseUri) {
34
- let result = baseUri;
35
- if (result.endsWith('/')) {
36
- result = result.substr(0, result.length - 1);
37
- }
38
- return setProtocol(result, options);
39
- }
40
- if (!server) {
41
- return '';
42
- }
43
- const { url = '' } = server;
44
- let result = url;
45
- if (version && result) {
46
- result = result.replace('{version}', version);
47
- }
48
- if (result.endsWith('/')) {
49
- result = result.substr(0, result.length - 1);
50
- }
51
- return setProtocol(result, options);
52
- }
53
- /**
54
- * Computes the base URI value for the API/endpoint/operation.
55
- *
56
- * @param options The computation options
57
- * @returns Base uri value. Can be empty string.
58
- */
59
- export function computeEndpointUri(options = {}) {
60
- let result = computeApiBaseUri(options);
61
- if (options.endpoint) {
62
- let { path = '' } = options.endpoint;
63
- if (path[0] !== '/') {
64
- path = `/${path}`;
65
- }
66
- result += path;
67
- }
68
- if (!result) {
69
- result = '(unknown path)';
70
- }
71
- return result;
72
- }
73
- /**
74
- * @param str A key or value to encode as x-www-form-urlencoded.
75
- * @param replacePlus When set it replaces `%20` with `+`.
76
- */
77
- export function wwwFormUrlEncode(str, replacePlus) {
78
- // Spec says to normalize newlines to \r\n and replace %20 spaces with +.
79
- // jQuery does this as well, so this is likely to be widely compatible.
80
- if (!str) {
81
- return '';
82
- }
83
- let result = encodeURIComponent(str.toString().replace(/\r?\n/g, '\r\n'));
84
- if (replacePlus) {
85
- result = result.replace(/%20/g, '+');
86
- }
87
- return result;
88
- }
89
- /**
90
- * Creates a RegExp object to replace template variable from the base string
91
- * @param name Name of the parameter to be replaced
92
- */
93
- function createUrlReplaceRegex(name) {
94
- if (name[0] === '+' || name[0] === '#') {
95
- name = `\\${name}`;
96
- }
97
- return new RegExp(`{${name}}`, 'g');
98
- }
99
- /**
100
- * @param url The current URL
101
- * @param variables The path variables to apply.
102
- * @param encode Whether to encode parameters.
103
- */
104
- export function applyUrlVariables(url, variables, encode) {
105
- let result = url || '';
106
- Object.keys(variables).forEach((variable) => {
107
- let value = variables[variable];
108
- if (value === undefined) {
109
- return;
110
- }
111
- value = String(value);
112
- if (value === '') {
113
- // this is to leave the URL template value in the URL so the validators
114
- // can report an error.
115
- return;
116
- }
117
- if (encode) {
118
- if (variable[0] === '+' || variable[0] === '#') {
119
- value = encodeURI(value);
120
- }
121
- else {
122
- value = wwwFormUrlEncode(value, false);
123
- }
124
- }
125
- const r = createUrlReplaceRegex(variable);
126
- result = result.replace(r, String(value));
127
- });
128
- return result;
129
- }
130
- /**
131
- * @param params The query parameters to use to generate the query string.
132
- * @param encode Whether to encode query parameters.
133
- * @returns The query string.
134
- */
135
- function generateQueryString(params, encode) {
136
- if (typeof params !== 'object') {
137
- return '';
138
- }
139
- const parts = [];
140
- function addPart(name, value) {
141
- if (value === undefined) {
142
- value = '';
143
- }
144
- else {
145
- value = String(value);
146
- }
147
- if (encode) {
148
- name = wwwFormUrlEncode(name, true);
149
- value = wwwFormUrlEncode(value, true);
150
- }
151
- parts.push(`${name}=${value}`);
152
- }
153
- Object.keys(params).forEach((key) => {
154
- const value = params[key];
155
- if (Array.isArray(value)) {
156
- value.forEach((v) => {
157
- let arrayValue = v;
158
- if (Array.isArray(arrayValue)) {
159
- arrayValue = arrayValue.join(',');
160
- }
161
- addPart(key, arrayValue);
162
- });
163
- }
164
- else {
165
- addPart(key, value);
166
- }
167
- });
168
- return parts.join('&');
169
- }
170
- /**
171
- * @param url The current URL
172
- * @param params The query parameters to apply.
173
- * @param encode Whether to encode parameters.
174
- */
175
- export function applyUrlParameters(url, params, encode) {
176
- const query = generateQueryString(params, encode);
177
- if (!query) {
178
- return url;
179
- }
180
- let result = url || '';
181
- result += result.indexOf('?') === -1 ? '?' : '&';
182
- result += query;
183
- return result;
184
- }
185
- /**
186
- * Applies query parameter values to an object.
187
- * Repeated parameters will have array value instead of string value.
188
- *
189
- * @param param Query parameter value as string. Eg `name=value`
190
- * @param obj Target for values
191
- */
192
- export function applyQueryParamStringToObject(param, obj) {
193
- if (!param || !obj || typeof param !== 'string') {
194
- return;
195
- }
196
- const parts = param.split('=');
197
- const name = parts[0];
198
- if (name in obj) {
199
- if (!Array.isArray(obj[name])) {
200
- obj[name] = [obj[name]];
201
- }
202
- ;
203
- obj[name].push(parts[1]);
204
- }
205
- else {
206
- obj[name] = parts[1];
207
- }
208
- }
209
- //# sourceMappingURL=UrlUtils.js.map