@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.
- package/.github/workflows/deployment.yml +0 -2
- package/build/src/decorators/reactive.d.ts.map +1 -1
- package/build/src/decorators/reactive.js +17 -8
- package/build/src/decorators/reactive.js.map +1 -1
- package/build/src/index.d.ts +0 -17
- package/build/src/index.d.ts.map +1 -1
- package/build/src/index.js +0 -18
- package/build/src/index.js.map +1 -1
- package/build/src/md/dialog/internals/Dialog.d.ts.map +1 -1
- package/build/src/md/dialog/internals/Dialog.js +6 -5
- package/build/src/md/dialog/internals/Dialog.js.map +1 -1
- package/build/src/md/dialog/internals/Dialog.styles.d.ts.map +1 -1
- package/build/src/md/dialog/internals/Dialog.styles.js +14 -10
- package/build/src/md/dialog/internals/Dialog.styles.js.map +1 -1
- package/demo/elements/authorization/api-key.html +1 -1
- package/demo/elements/authorization/basic.html +1 -1
- package/demo/elements/authorization/bearer.html +1 -1
- package/demo/elements/authorization/index.html +0 -3
- package/demo/elements/authorization/ntlm.html +1 -1
- package/demo/elements/authorization/oauth-authorize.html +1 -1
- package/demo/elements/authorization/oauth-error.html +1 -1
- package/demo/elements/authorization/oauth2.html +1 -1
- package/demo/elements/authorization/oidc.html +1 -1
- package/demo/elements/context-menu/basic.html +1 -1
- package/demo/elements/context-menu/custom-data.html +1 -1
- package/demo/elements/context-menu/enabled-state.html +1 -1
- package/demo/elements/context-menu/icons.html +1 -1
- package/demo/elements/context-menu/nested.html +1 -1
- package/demo/elements/context-menu/no-execute.html +1 -1
- package/demo/elements/context-menu/radio-menu.html +1 -1
- package/demo/elements/context-menu/separators.html +1 -1
- package/demo/elements/environment/environment-editor.html +1 -1
- package/demo/elements/environment/server-editor.html +1 -1
- package/demo/elements/environment/variables-editor.html +1 -1
- package/demo/elements/har/har-viewer.html +1 -1
- package/demo/elements/highlight/index.html +0 -4
- package/demo/elements/highlight/marked-highlight.html +1 -1
- package/demo/elements/highlight/prism-highlight.html +1 -1
- package/demo/elements/http/body-editor.html +1 -1
- package/demo/elements/http/headers.html +1 -1
- package/demo/elements/http/http-assertions.html +1 -1
- package/demo/elements/http/http-flows.html +1 -1
- package/demo/elements/http/request-editor.html +1 -1
- package/demo/elements/http/request-log.html +1 -1
- package/demo/elements/http/url-editing.html +1 -1
- package/demo/elements/icons/index.html +1 -1
- package/demo/elements/index.html +0 -3
- package/demo/elements/project/index.html +7 -0
- package/demo/elements/project/project-run-report.html +1 -1
- package/demo/elements/project/request-editor.html +1 -1
- package/demo/elements/user/user-avatar.html +1 -1
- package/demo/elements/user/user-avatar.ts +1 -1
- package/demo/index.html +3 -3
- package/demo/layout/index.html +1 -1
- package/demo/{elements/md → md}/UiDemoPage.ts +1 -1
- package/demo/{elements/md → md}/buttons/button.html +3 -3
- package/demo/{elements/md → md}/buttons/button.ts +10 -10
- package/demo/{elements/md → md}/buttons/icon-button.html +3 -3
- package/demo/{elements/md → md}/buttons/icon-button.ts +4 -4
- package/demo/{elements/md → md}/buttons/segmented-buttons.html +3 -3
- package/demo/{elements/md → md}/buttons/segmented-buttons.ts +4 -4
- package/demo/{elements/md → md}/chip/chip.html +3 -3
- package/demo/{elements/md → md}/chip/chip.ts +5 -5
- package/demo/{elements/md → md}/collapse/CustomDetail.ts +2 -2
- package/demo/{elements/md → md}/collapse/collapse.html +3 -3
- package/demo/{elements/md → md}/collapse/collapse.ts +1 -1
- package/demo/{elements/md → md}/dialog/dialog.html +7 -3
- package/demo/{elements/md → md}/dialog/dialog.ts +19 -12
- package/demo/{elements/md → md}/index.html +3 -3
- package/demo/{elements/md → md}/inputs/checkbox.html +3 -3
- package/demo/{elements/md → md}/inputs/checkbox.ts +4 -4
- package/demo/{elements/md → md}/inputs/input.html +3 -3
- package/demo/{elements/md → md}/inputs/input.ts +7 -7
- package/demo/{elements/md → md}/inputs/radio.html +3 -3
- package/demo/{elements/md → md}/inputs/radio.ts +4 -4
- package/demo/{elements/md → md}/inputs/switch.html +3 -3
- package/demo/{elements/md → md}/inputs/switch.ts +5 -5
- package/demo/{elements/md → md}/list/dropdown-list.html +3 -3
- package/demo/{elements/md → md}/list/dropdown-list.ts +9 -9
- package/demo/{elements/md → md}/list/list.html +3 -3
- package/demo/{elements/md → md}/list/list.ts +5 -5
- package/demo/{elements/md → md}/notification/snack.html +3 -3
- package/demo/{elements/md → md}/notification/snack.ts +2 -2
- package/demo/{elements/md → md}/progress/progress.html +3 -3
- package/demo/{elements/md → md}/progress/progress.ts +2 -2
- package/demo/{elements/md → md}/tabs/tabs.html +3 -3
- package/demo/{elements/md → md}/tabs/tabs.ts +7 -7
- package/demo/tsconfig.json +0 -3
- package/eslint.config.js +0 -3
- package/package.json +48 -70
- package/src/decorators/reactive.ts +18 -8
- package/src/index.ts +0 -19
- package/src/md/dialog/internals/Dialog.styles.ts +14 -10
- package/src/md/dialog/internals/Dialog.ts +6 -5
- package/test/core/activity.spec.ts +3 -3
- package/test/env.ts +15 -0
- package/test/tsconfig.json +1 -7
- package/tsconfig.all.json +7 -0
- package/tsconfig.json +1 -0
- package/web-dev-server.config.js +21 -0
- package/web-test-runner.config.js +13 -29
- package/bin/dev.ts +0 -7
- package/bin/test.ts +0 -6
- package/build/src/amf/lib/AmfInputParser.d.ts +0 -69
- package/build/src/amf/lib/AmfInputParser.d.ts.map +0 -1
- package/build/src/amf/lib/AmfInputParser.js +0 -189
- package/build/src/amf/lib/AmfInputParser.js.map +0 -1
- package/build/src/amf/lib/AmfParameters.d.ts +0 -166
- package/build/src/amf/lib/AmfParameters.d.ts.map +0 -1
- package/build/src/amf/lib/AmfParameters.js +0 -720
- package/build/src/amf/lib/AmfParameters.js.map +0 -1
- package/build/src/amf/lib/AmfSecurity.d.ts +0 -7
- package/build/src/amf/lib/AmfSecurity.d.ts.map +0 -1
- package/build/src/amf/lib/AmfSecurity.js +0 -41
- package/build/src/amf/lib/AmfSecurity.js.map +0 -1
- package/build/src/amf/lib/InputCache.d.ts +0 -45
- package/build/src/amf/lib/InputCache.d.ts.map +0 -1
- package/build/src/amf/lib/InputCache.js +0 -92
- package/build/src/amf/lib/InputCache.js.map +0 -1
- package/build/src/amf/lib/Oauth2RamlCustomData.d.ts +0 -38
- package/build/src/amf/lib/Oauth2RamlCustomData.d.ts.map +0 -1
- package/build/src/amf/lib/Oauth2RamlCustomData.js +0 -248
- package/build/src/amf/lib/Oauth2RamlCustomData.js.map +0 -1
- package/build/src/amf/lib/PayloadUtils.d.ts +0 -19
- package/build/src/amf/lib/PayloadUtils.d.ts.map +0 -1
- package/build/src/amf/lib/PayloadUtils.js +0 -73
- package/build/src/amf/lib/PayloadUtils.js.map +0 -1
- package/build/src/amf/lib/QueryParameterProcessor.d.ts +0 -44
- package/build/src/amf/lib/QueryParameterProcessor.d.ts.map +0 -1
- package/build/src/amf/lib/QueryParameterProcessor.js +0 -167
- package/build/src/amf/lib/QueryParameterProcessor.js.map +0 -1
- package/build/src/amf/lib/UrlUtils.d.ts +0 -49
- package/build/src/amf/lib/UrlUtils.d.ts.map +0 -1
- package/build/src/amf/lib/UrlUtils.js +0 -209
- package/build/src/amf/lib/UrlUtils.js.map +0 -1
- package/build/src/amf/lib/Utils.d.ts +0 -43
- package/build/src/amf/lib/Utils.d.ts.map +0 -1
- package/build/src/amf/lib/Utils.js +0 -204
- package/build/src/amf/lib/Utils.js.map +0 -1
- package/build/src/amf/lib/navigation-layout/ApiSorting.d.ts +0 -8
- package/build/src/amf/lib/navigation-layout/ApiSorting.d.ts.map +0 -1
- package/build/src/amf/lib/navigation-layout/ApiSorting.js +0 -18
- package/build/src/amf/lib/navigation-layout/ApiSorting.js.map +0 -1
- package/build/src/amf/lib/navigation-layout/EndpointsTree.d.ts +0 -33
- package/build/src/amf/lib/navigation-layout/EndpointsTree.d.ts.map +0 -1
- package/build/src/amf/lib/navigation-layout/EndpointsTree.js +0 -178
- package/build/src/amf/lib/navigation-layout/EndpointsTree.js.map +0 -1
- package/build/src/amf/lib/navigation-layout/NaturalTree.d.ts +0 -25
- package/build/src/amf/lib/navigation-layout/NaturalTree.d.ts.map +0 -1
- package/build/src/amf/lib/navigation-layout/NaturalTree.js +0 -91
- package/build/src/amf/lib/navigation-layout/NaturalTree.js.map +0 -1
- package/build/src/amf/plugins/ApiNavigationCommands.d.ts +0 -4
- package/build/src/amf/plugins/ApiNavigationCommands.d.ts.map +0 -1
- package/build/src/amf/plugins/ApiNavigationCommands.js +0 -71
- package/build/src/amf/plugins/ApiNavigationCommands.js.map +0 -1
- package/build/src/amf/plugins/ApiNavigationContextMenu.d.ts +0 -16
- package/build/src/amf/plugins/ApiNavigationContextMenu.d.ts.map +0 -1
- package/build/src/amf/plugins/ApiNavigationContextMenu.js +0 -40
- package/build/src/amf/plugins/ApiNavigationContextMenu.js.map +0 -1
- package/build/src/amf/store/AmfGraphStore.d.ts +0 -39
- package/build/src/amf/store/AmfGraphStore.d.ts.map +0 -1
- package/build/src/amf/store/AmfGraphStore.js +0 -62
- package/build/src/amf/store/AmfGraphStore.js.map +0 -1
- package/build/src/amf/store/AmfStore.d.ts +0 -122
- package/build/src/amf/store/AmfStore.d.ts.map +0 -1
- package/build/src/amf/store/AmfStore.js +0 -171
- package/build/src/amf/store/AmfStore.js.map +0 -1
- package/build/src/amf/store/DomEventsAmfStore.d.ts +0 -6
- package/build/src/amf/store/DomEventsAmfStore.d.ts.map +0 -1
- package/build/src/amf/store/DomEventsAmfStore.js +0 -5
- package/build/src/amf/store/DomEventsAmfStore.js.map +0 -1
- package/build/src/amf/store/InMemAmfGraphStore.d.ts +0 -137
- package/build/src/amf/store/InMemAmfGraphStore.d.ts.map +0 -1
- package/build/src/amf/store/InMemAmfGraphStore.js +0 -586
- package/build/src/amf/store/InMemAmfGraphStore.js.map +0 -1
- package/build/src/amf/store/mixins/AmfStoreDomEventsMixin.d.ts +0 -38
- package/build/src/amf/store/mixins/AmfStoreDomEventsMixin.d.ts.map +0 -1
- package/build/src/amf/store/mixins/AmfStoreDomEventsMixin.js +0 -99
- package/build/src/amf/store/mixins/AmfStoreDomEventsMixin.js.map +0 -1
- package/build/src/amf/types.d.ts +0 -320
- package/build/src/amf/types.d.ts.map +0 -1
- package/build/src/amf/types.js +0 -2
- package/build/src/amf/types.js.map +0 -1
- package/build/src/define/amf/api-annotation-document.d.ts +0 -10
- package/build/src/define/amf/api-annotation-document.d.ts.map +0 -1
- package/build/src/define/amf/api-annotation-document.js +0 -27
- package/build/src/define/amf/api-annotation-document.js.map +0 -1
- package/build/src/define/amf/api-authorization-editor.d.ts +0 -10
- package/build/src/define/amf/api-authorization-editor.d.ts.map +0 -1
- package/build/src/define/amf/api-authorization-editor.js +0 -27
- package/build/src/define/amf/api-authorization-editor.js.map +0 -1
- package/build/src/define/amf/api-channel-document.d.ts +0 -10
- package/build/src/define/amf/api-channel-document.d.ts.map +0 -1
- package/build/src/define/amf/api-channel-document.js +0 -27
- package/build/src/define/amf/api-channel-document.js.map +0 -1
- package/build/src/define/amf/api-documentation-document.d.ts +0 -10
- package/build/src/define/amf/api-documentation-document.d.ts.map +0 -1
- package/build/src/define/amf/api-documentation-document.js +0 -27
- package/build/src/define/amf/api-documentation-document.js.map +0 -1
- package/build/src/define/amf/api-documentation.d.ts +0 -10
- package/build/src/define/amf/api-documentation.d.ts.map +0 -1
- package/build/src/define/amf/api-documentation.js +0 -27
- package/build/src/define/amf/api-documentation.js.map +0 -1
- package/build/src/define/amf/api-navigation.d.ts +0 -10
- package/build/src/define/amf/api-navigation.d.ts.map +0 -1
- package/build/src/define/amf/api-navigation.js +0 -27
- package/build/src/define/amf/api-navigation.js.map +0 -1
- package/build/src/define/amf/api-operation-document.d.ts +0 -10
- package/build/src/define/amf/api-operation-document.d.ts.map +0 -1
- package/build/src/define/amf/api-operation-document.js +0 -27
- package/build/src/define/amf/api-operation-document.js.map +0 -1
- package/build/src/define/amf/api-parameter-document.d.ts +0 -10
- package/build/src/define/amf/api-parameter-document.d.ts.map +0 -1
- package/build/src/define/amf/api-parameter-document.js +0 -27
- package/build/src/define/amf/api-parameter-document.js.map +0 -1
- package/build/src/define/amf/api-parametrized-security-scheme.d.ts +0 -10
- package/build/src/define/amf/api-parametrized-security-scheme.d.ts.map +0 -1
- package/build/src/define/amf/api-parametrized-security-scheme.js +0 -27
- package/build/src/define/amf/api-parametrized-security-scheme.js.map +0 -1
- package/build/src/define/amf/api-payload-document.d.ts +0 -10
- package/build/src/define/amf/api-payload-document.d.ts.map +0 -1
- package/build/src/define/amf/api-payload-document.js +0 -27
- package/build/src/define/amf/api-payload-document.js.map +0 -1
- package/build/src/define/amf/api-request-document.d.ts +0 -10
- package/build/src/define/amf/api-request-document.d.ts.map +0 -1
- package/build/src/define/amf/api-request-document.js +0 -27
- package/build/src/define/amf/api-request-document.js.map +0 -1
- package/build/src/define/amf/api-request-editor.d.ts +0 -10
- package/build/src/define/amf/api-request-editor.d.ts.map +0 -1
- package/build/src/define/amf/api-request-editor.js +0 -27
- package/build/src/define/amf/api-request-editor.js.map +0 -1
- package/build/src/define/amf/api-request.d.ts +0 -10
- package/build/src/define/amf/api-request.d.ts.map +0 -1
- package/build/src/define/amf/api-request.js +0 -27
- package/build/src/define/amf/api-request.js.map +0 -1
- package/build/src/define/amf/api-resource-document.d.ts +0 -10
- package/build/src/define/amf/api-resource-document.d.ts.map +0 -1
- package/build/src/define/amf/api-resource-document.js +0 -27
- package/build/src/define/amf/api-resource-document.js.map +0 -1
- package/build/src/define/amf/api-response-document.d.ts +0 -10
- package/build/src/define/amf/api-response-document.d.ts.map +0 -1
- package/build/src/define/amf/api-response-document.js +0 -27
- package/build/src/define/amf/api-response-document.js.map +0 -1
- package/build/src/define/amf/api-schema-document.d.ts +0 -10
- package/build/src/define/amf/api-schema-document.d.ts.map +0 -1
- package/build/src/define/amf/api-schema-document.js +0 -27
- package/build/src/define/amf/api-schema-document.js.map +0 -1
- package/build/src/define/amf/api-security-document.d.ts +0 -10
- package/build/src/define/amf/api-security-document.d.ts.map +0 -1
- package/build/src/define/amf/api-security-document.js +0 -27
- package/build/src/define/amf/api-security-document.js.map +0 -1
- package/build/src/define/amf/api-security-requirement-document.d.ts +0 -10
- package/build/src/define/amf/api-security-requirement-document.d.ts.map +0 -1
- package/build/src/define/amf/api-security-requirement-document.js +0 -27
- package/build/src/define/amf/api-security-requirement-document.js.map +0 -1
- package/build/src/define/amf/api-server-picker.d.ts +0 -10
- package/build/src/define/amf/api-server-picker.d.ts.map +0 -1
- package/build/src/define/amf/api-server-picker.js +0 -27
- package/build/src/define/amf/api-server-picker.js.map +0 -1
- package/build/src/define/amf/api-summary.d.ts +0 -10
- package/build/src/define/amf/api-summary.d.ts.map +0 -1
- package/build/src/define/amf/api-summary.js +0 -27
- package/build/src/define/amf/api-summary.js.map +0 -1
- package/build/src/define/amf/authorization/amf-apikey-authorization.d.ts +0 -10
- package/build/src/define/amf/authorization/amf-apikey-authorization.d.ts.map +0 -1
- package/build/src/define/amf/authorization/amf-apikey-authorization.js +0 -28
- package/build/src/define/amf/authorization/amf-apikey-authorization.js.map +0 -1
- package/build/src/define/amf/authorization/amf-basic-authorization.d.ts +0 -10
- package/build/src/define/amf/authorization/amf-basic-authorization.d.ts.map +0 -1
- package/build/src/define/amf/authorization/amf-basic-authorization.js +0 -28
- package/build/src/define/amf/authorization/amf-basic-authorization.js.map +0 -1
- package/build/src/define/amf/authorization/amf-bearer-authorization.d.ts +0 -10
- package/build/src/define/amf/authorization/amf-bearer-authorization.d.ts.map +0 -1
- package/build/src/define/amf/authorization/amf-bearer-authorization.js +0 -28
- package/build/src/define/amf/authorization/amf-bearer-authorization.js.map +0 -1
- package/build/src/define/amf/authorization/amf-oauth2-authorization.d.ts +0 -10
- package/build/src/define/amf/authorization/amf-oauth2-authorization.d.ts.map +0 -1
- package/build/src/define/amf/authorization/amf-oauth2-authorization.js +0 -31
- package/build/src/define/amf/authorization/amf-oauth2-authorization.js.map +0 -1
- package/build/src/define/amf/authorization/amf-oidc-authorization.d.ts +0 -10
- package/build/src/define/amf/authorization/amf-oidc-authorization.d.ts.map +0 -1
- package/build/src/define/amf/authorization/amf-oidc-authorization.js +0 -31
- package/build/src/define/amf/authorization/amf-oidc-authorization.js.map +0 -1
- package/build/src/define/amf/authorization/amf-passthrough-authorization.d.ts +0 -10
- package/build/src/define/amf/authorization/amf-passthrough-authorization.d.ts.map +0 -1
- package/build/src/define/amf/authorization/amf-passthrough-authorization.js +0 -28
- package/build/src/define/amf/authorization/amf-passthrough-authorization.js.map +0 -1
- package/build/src/define/amf/authorization/amf-ramlcustom-authorization.d.ts +0 -10
- package/build/src/define/amf/authorization/amf-ramlcustom-authorization.d.ts.map +0 -1
- package/build/src/define/amf/authorization/amf-ramlcustom-authorization.js +0 -28
- package/build/src/define/amf/authorization/amf-ramlcustom-authorization.js.map +0 -1
- package/build/src/elements/amf/ApiAnnotationDocument.element.d.ts +0 -61
- package/build/src/elements/amf/ApiAnnotationDocument.element.d.ts.map +0 -1
- package/build/src/elements/amf/ApiAnnotationDocument.element.js +0 -176
- package/build/src/elements/amf/ApiAnnotationDocument.element.js.map +0 -1
- package/build/src/elements/amf/ApiAnnotationDocument.styles.d.ts +0 -3
- package/build/src/elements/amf/ApiAnnotationDocument.styles.d.ts.map +0 -1
- package/build/src/elements/amf/ApiAnnotationDocument.styles.js +0 -46
- package/build/src/elements/amf/ApiAnnotationDocument.styles.js.map +0 -1
- package/build/src/elements/amf/ApiAuthorizationEditor.element.d.ts +0 -143
- package/build/src/elements/amf/ApiAuthorizationEditor.element.d.ts.map +0 -1
- package/build/src/elements/amf/ApiAuthorizationEditor.element.js +0 -379
- package/build/src/elements/amf/ApiAuthorizationEditor.element.js.map +0 -1
- package/build/src/elements/amf/ApiAuthorizationEditor.styles.d.ts +0 -3
- package/build/src/elements/amf/ApiAuthorizationEditor.styles.d.ts.map +0 -1
- package/build/src/elements/amf/ApiAuthorizationEditor.styles.js +0 -25
- package/build/src/elements/amf/ApiAuthorizationEditor.styles.js.map +0 -1
- package/build/src/elements/amf/ApiChannelDocument.element.d.ts +0 -28
- package/build/src/elements/amf/ApiChannelDocument.element.d.ts.map +0 -1
- package/build/src/elements/amf/ApiChannelDocument.element.js +0 -85
- package/build/src/elements/amf/ApiChannelDocument.element.js.map +0 -1
- package/build/src/elements/amf/ApiDocumentation.element.d.ts +0 -254
- package/build/src/elements/amf/ApiDocumentation.element.d.ts.map +0 -1
- package/build/src/elements/amf/ApiDocumentation.element.js +0 -686
- package/build/src/elements/amf/ApiDocumentation.element.js.map +0 -1
- package/build/src/elements/amf/ApiDocumentation.styles.d.ts +0 -3
- package/build/src/elements/amf/ApiDocumentation.styles.d.ts.map +0 -1
- package/build/src/elements/amf/ApiDocumentation.styles.js +0 -11
- package/build/src/elements/amf/ApiDocumentation.styles.js.map +0 -1
- package/build/src/elements/amf/ApiDocumentationBase.d.ts +0 -103
- package/build/src/elements/amf/ApiDocumentationBase.d.ts.map +0 -1
- package/build/src/elements/amf/ApiDocumentationBase.js +0 -291
- package/build/src/elements/amf/ApiDocumentationBase.js.map +0 -1
- package/build/src/elements/amf/ApiDocumentationDocument.element.d.ts +0 -29
- package/build/src/elements/amf/ApiDocumentationDocument.element.d.ts.map +0 -1
- package/build/src/elements/amf/ApiDocumentationDocument.element.js +0 -79
- package/build/src/elements/amf/ApiDocumentationDocument.element.js.map +0 -1
- package/build/src/elements/amf/ApiDocumentationDocument.styles.d.ts +0 -3
- package/build/src/elements/amf/ApiDocumentationDocument.styles.d.ts.map +0 -1
- package/build/src/elements/amf/ApiDocumentationDocument.styles.js +0 -32
- package/build/src/elements/amf/ApiDocumentationDocument.styles.js.map +0 -1
- package/build/src/elements/amf/ApiNavigation.element.d.ts +0 -579
- package/build/src/elements/amf/ApiNavigation.element.d.ts.map +0 -1
- package/build/src/elements/amf/ApiNavigation.element.js +0 -2244
- package/build/src/elements/amf/ApiNavigation.element.js.map +0 -1
- package/build/src/elements/amf/ApiNavigation.styles.d.ts +0 -3
- package/build/src/elements/amf/ApiNavigation.styles.d.ts.map +0 -1
- package/build/src/elements/amf/ApiNavigation.styles.js +0 -159
- package/build/src/elements/amf/ApiNavigation.styles.js.map +0 -1
- package/build/src/elements/amf/ApiOperationDocument.element.d.ts +0 -266
- package/build/src/elements/amf/ApiOperationDocument.element.d.ts.map +0 -1
- package/build/src/elements/amf/ApiOperationDocument.element.js +0 -1002
- package/build/src/elements/amf/ApiOperationDocument.element.js.map +0 -1
- package/build/src/elements/amf/ApiOperationDocument.styles.d.ts +0 -3
- package/build/src/elements/amf/ApiOperationDocument.styles.d.ts.map +0 -1
- package/build/src/elements/amf/ApiOperationDocument.styles.js +0 -67
- package/build/src/elements/amf/ApiOperationDocument.styles.js.map +0 -1
- package/build/src/elements/amf/ApiParameterDocument.element.d.ts +0 -32
- package/build/src/elements/amf/ApiParameterDocument.element.d.ts.map +0 -1
- package/build/src/elements/amf/ApiParameterDocument.element.js +0 -94
- package/build/src/elements/amf/ApiParameterDocument.element.js.map +0 -1
- package/build/src/elements/amf/ApiParameterDocument.styles.d.ts +0 -3
- package/build/src/elements/amf/ApiParameterDocument.styles.d.ts.map +0 -1
- package/build/src/elements/amf/ApiParameterDocument.styles.js +0 -15
- package/build/src/elements/amf/ApiParameterDocument.styles.js.map +0 -1
- package/build/src/elements/amf/ApiParametrizedSecurityScheme.element.d.ts +0 -19
- package/build/src/elements/amf/ApiParametrizedSecurityScheme.element.d.ts.map +0 -1
- package/build/src/elements/amf/ApiParametrizedSecurityScheme.element.js +0 -58
- package/build/src/elements/amf/ApiParametrizedSecurityScheme.element.js.map +0 -1
- package/build/src/elements/amf/ApiParametrizedSecurityScheme.styles.d.ts +0 -3
- package/build/src/elements/amf/ApiParametrizedSecurityScheme.styles.d.ts.map +0 -1
- package/build/src/elements/amf/ApiParametrizedSecurityScheme.styles.js +0 -4
- package/build/src/elements/amf/ApiParametrizedSecurityScheme.styles.js.map +0 -1
- package/build/src/elements/amf/ApiPayloadDocument.element.d.ts +0 -32
- package/build/src/elements/amf/ApiPayloadDocument.element.d.ts.map +0 -1
- package/build/src/elements/amf/ApiPayloadDocument.element.js +0 -131
- package/build/src/elements/amf/ApiPayloadDocument.element.js.map +0 -1
- package/build/src/elements/amf/ApiPayloadDocument.styles.d.ts +0 -3
- package/build/src/elements/amf/ApiPayloadDocument.styles.d.ts.map +0 -1
- package/build/src/elements/amf/ApiPayloadDocument.styles.js +0 -15
- package/build/src/elements/amf/ApiPayloadDocument.styles.js.map +0 -1
- package/build/src/elements/amf/ApiRequest.element.d.ts +0 -131
- package/build/src/elements/amf/ApiRequest.element.d.ts.map +0 -1
- package/build/src/elements/amf/ApiRequest.element.js +0 -318
- package/build/src/elements/amf/ApiRequest.element.js.map +0 -1
- package/build/src/elements/amf/ApiRequest.styles.d.ts +0 -3
- package/build/src/elements/amf/ApiRequest.styles.d.ts.map +0 -1
- package/build/src/elements/amf/ApiRequest.styles.js +0 -11
- package/build/src/elements/amf/ApiRequest.styles.js.map +0 -1
- package/build/src/elements/amf/ApiRequestDocument.element.d.ts +0 -115
- package/build/src/elements/amf/ApiRequestDocument.element.d.ts.map +0 -1
- package/build/src/elements/amf/ApiRequestDocument.element.js +0 -401
- package/build/src/elements/amf/ApiRequestDocument.element.js.map +0 -1
- package/build/src/elements/amf/ApiRequestDocument.styles.d.ts +0 -3
- package/build/src/elements/amf/ApiRequestDocument.styles.d.ts.map +0 -1
- package/build/src/elements/amf/ApiRequestDocument.styles.js +0 -13
- package/build/src/elements/amf/ApiRequestDocument.styles.js.map +0 -1
- package/build/src/elements/amf/ApiRequestEditor.element.d.ts +0 -485
- package/build/src/elements/amf/ApiRequestEditor.element.d.ts.map +0 -1
- package/build/src/elements/amf/ApiRequestEditor.element.js +0 -1735
- package/build/src/elements/amf/ApiRequestEditor.element.js.map +0 -1
- package/build/src/elements/amf/ApiRequestEditor.styles.d.ts +0 -3
- package/build/src/elements/amf/ApiRequestEditor.styles.d.ts.map +0 -1
- package/build/src/elements/amf/ApiRequestEditor.styles.js +0 -160
- package/build/src/elements/amf/ApiRequestEditor.styles.js.map +0 -1
- package/build/src/elements/amf/ApiResourceDocument.element.d.ts +0 -233
- package/build/src/elements/amf/ApiResourceDocument.element.d.ts.map +0 -1
- package/build/src/elements/amf/ApiResourceDocument.element.js +0 -706
- package/build/src/elements/amf/ApiResourceDocument.element.js.map +0 -1
- package/build/src/elements/amf/ApiResourceDocument.styles.d.ts +0 -3
- package/build/src/elements/amf/ApiResourceDocument.styles.d.ts.map +0 -1
- package/build/src/elements/amf/ApiResourceDocument.styles.js +0 -91
- package/build/src/elements/amf/ApiResourceDocument.styles.js.map +0 -1
- package/build/src/elements/amf/ApiResponseDocument.element.d.ts +0 -79
- package/build/src/elements/amf/ApiResponseDocument.element.d.ts.map +0 -1
- package/build/src/elements/amf/ApiResponseDocument.element.js +0 -298
- package/build/src/elements/amf/ApiResponseDocument.element.js.map +0 -1
- package/build/src/elements/amf/ApiResponseDocument.styles.d.ts +0 -3
- package/build/src/elements/amf/ApiResponseDocument.styles.d.ts.map +0 -1
- package/build/src/elements/amf/ApiResponseDocument.styles.js +0 -41
- package/build/src/elements/amf/ApiResponseDocument.styles.js.map +0 -1
- package/build/src/elements/amf/ApiSchemaDocument.element.d.ts +0 -144
- package/build/src/elements/amf/ApiSchemaDocument.element.d.ts.map +0 -1
- package/build/src/elements/amf/ApiSchemaDocument.element.js +0 -765
- package/build/src/elements/amf/ApiSchemaDocument.element.js.map +0 -1
- package/build/src/elements/amf/ApiSchemaDocument.styles.d.ts +0 -3
- package/build/src/elements/amf/ApiSchemaDocument.styles.d.ts.map +0 -1
- package/build/src/elements/amf/ApiSchemaDocument.styles.js +0 -41
- package/build/src/elements/amf/ApiSchemaDocument.styles.js.map +0 -1
- package/build/src/elements/amf/ApiSecurityDocument.element.d.ts +0 -180
- package/build/src/elements/amf/ApiSecurityDocument.element.d.ts.map +0 -1
- package/build/src/elements/amf/ApiSecurityDocument.element.js +0 -592
- package/build/src/elements/amf/ApiSecurityDocument.element.js.map +0 -1
- package/build/src/elements/amf/ApiSecurityDocument.styles.d.ts +0 -3
- package/build/src/elements/amf/ApiSecurityDocument.styles.d.ts.map +0 -1
- package/build/src/elements/amf/ApiSecurityDocument.styles.js +0 -89
- package/build/src/elements/amf/ApiSecurityDocument.styles.js.map +0 -1
- package/build/src/elements/amf/ApiSecurityRequirementDocument.element.d.ts +0 -16
- package/build/src/elements/amf/ApiSecurityRequirementDocument.element.d.ts.map +0 -1
- package/build/src/elements/amf/ApiSecurityRequirementDocument.element.js +0 -76
- package/build/src/elements/amf/ApiSecurityRequirementDocument.element.js.map +0 -1
- package/build/src/elements/amf/ApiSecurityRequirementDocument.styles.d.ts +0 -3
- package/build/src/elements/amf/ApiSecurityRequirementDocument.styles.d.ts.map +0 -1
- package/build/src/elements/amf/ApiSecurityRequirementDocument.styles.js +0 -7
- package/build/src/elements/amf/ApiSecurityRequirementDocument.styles.js.map +0 -1
- package/build/src/elements/amf/ApiServerPicker.element.d.ts +0 -256
- package/build/src/elements/amf/ApiServerPicker.element.d.ts.map +0 -1
- package/build/src/elements/amf/ApiServerPicker.element.js +0 -715
- package/build/src/elements/amf/ApiServerPicker.element.js.map +0 -1
- package/build/src/elements/amf/ApiServerPicker.styles.d.ts +0 -3
- package/build/src/elements/amf/ApiServerPicker.styles.d.ts.map +0 -1
- package/build/src/elements/amf/ApiServerPicker.styles.js +0 -25
- package/build/src/elements/amf/ApiServerPicker.styles.js.map +0 -1
- package/build/src/elements/amf/ApiSummary.element.d.ts +0 -90
- package/build/src/elements/amf/ApiSummary.element.d.ts.map +0 -1
- package/build/src/elements/amf/ApiSummary.element.js +0 -385
- package/build/src/elements/amf/ApiSummary.element.js.map +0 -1
- package/build/src/elements/amf/ApiSummary.styles.d.ts +0 -3
- package/build/src/elements/amf/ApiSummary.styles.d.ts.map +0 -1
- package/build/src/elements/amf/ApiSummary.styles.js +0 -192
- package/build/src/elements/amf/ApiSummary.styles.js.map +0 -1
- package/build/src/elements/amf/SchemaCommonTemplates.d.ts +0 -56
- package/build/src/elements/amf/SchemaCommonTemplates.d.ts.map +0 -1
- package/build/src/elements/amf/SchemaCommonTemplates.js +0 -499
- package/build/src/elements/amf/SchemaCommonTemplates.js.map +0 -1
- package/build/src/elements/amf/authorization/AmfApiKey.d.ts +0 -60
- package/build/src/elements/amf/authorization/AmfApiKey.d.ts.map +0 -1
- package/build/src/elements/amf/authorization/AmfApiKey.js +0 -237
- package/build/src/elements/amf/authorization/AmfApiKey.js.map +0 -1
- package/build/src/elements/amf/authorization/AmfBasic.d.ts +0 -16
- package/build/src/elements/amf/authorization/AmfBasic.d.ts.map +0 -1
- package/build/src/elements/amf/authorization/AmfBasic.js +0 -86
- package/build/src/elements/amf/authorization/AmfBasic.js.map +0 -1
- package/build/src/elements/amf/authorization/AmfBearer.d.ts +0 -15
- package/build/src/elements/amf/authorization/AmfBearer.d.ts.map +0 -1
- package/build/src/elements/amf/authorization/AmfBearer.js +0 -73
- package/build/src/elements/amf/authorization/AmfBearer.js.map +0 -1
- package/build/src/elements/amf/authorization/AmfOauth2.d.ts +0 -236
- package/build/src/elements/amf/authorization/AmfOauth2.d.ts.map +0 -1
- package/build/src/elements/amf/authorization/AmfOauth2.js +0 -795
- package/build/src/elements/amf/authorization/AmfOauth2.js.map +0 -1
- package/build/src/elements/amf/authorization/AmfOidc.d.ts +0 -14
- package/build/src/elements/amf/authorization/AmfOidc.d.ts.map +0 -1
- package/build/src/elements/amf/authorization/AmfOidc.js +0 -72
- package/build/src/elements/amf/authorization/AmfOidc.js.map +0 -1
- package/build/src/elements/amf/authorization/AmfPassThrough.d.ts +0 -58
- package/build/src/elements/amf/authorization/AmfPassThrough.d.ts.map +0 -1
- package/build/src/elements/amf/authorization/AmfPassThrough.js +0 -259
- package/build/src/elements/amf/authorization/AmfPassThrough.js.map +0 -1
- package/build/src/elements/amf/authorization/AmfRamlCustom.d.ts +0 -53
- package/build/src/elements/amf/authorization/AmfRamlCustom.d.ts.map +0 -1
- package/build/src/elements/amf/authorization/AmfRamlCustom.js +0 -291
- package/build/src/elements/amf/authorization/AmfRamlCustom.js.map +0 -1
- package/build/src/elements/amf/authorization/Authorization.styles.d.ts +0 -3
- package/build/src/elements/amf/authorization/Authorization.styles.d.ts.map +0 -1
- package/build/src/elements/amf/authorization/Authorization.styles.js +0 -40
- package/build/src/elements/amf/authorization/Authorization.styles.js.map +0 -1
- package/build/src/elements/amf/styles/AuthorizationMethod.d.ts +0 -3
- package/build/src/elements/amf/styles/AuthorizationMethod.d.ts.map +0 -1
- package/build/src/elements/amf/styles/AuthorizationMethod.js +0 -46
- package/build/src/elements/amf/styles/AuthorizationMethod.js.map +0 -1
- package/build/src/elements/amf/styles/Common.d.ts +0 -3
- package/build/src/elements/amf/styles/Common.d.ts.map +0 -1
- package/build/src/elements/amf/styles/Common.js +0 -150
- package/build/src/elements/amf/styles/Common.js.map +0 -1
- package/build/src/elements/amf/styles/SchemaCommon.d.ts +0 -3
- package/build/src/elements/amf/styles/SchemaCommon.d.ts.map +0 -1
- package/build/src/elements/amf/styles/SchemaCommon.js +0 -376
- package/build/src/elements/amf/styles/SchemaCommon.js.map +0 -1
- package/build/src/events/amf/ApiEvents.d.ts +0 -25
- package/build/src/events/amf/ApiEvents.d.ts.map +0 -1
- package/build/src/events/amf/ApiEvents.js +0 -42
- package/build/src/events/amf/ApiEvents.js.map +0 -1
- package/build/src/events/amf/BaseEvents.d.ts +0 -69
- package/build/src/events/amf/BaseEvents.d.ts.map +0 -1
- package/build/src/events/amf/BaseEvents.js +0 -64
- package/build/src/events/amf/BaseEvents.js.map +0 -1
- package/build/src/events/amf/DocumentationEvents.d.ts +0 -17
- package/build/src/events/amf/DocumentationEvents.d.ts.map +0 -1
- package/build/src/events/amf/DocumentationEvents.js +0 -27
- package/build/src/events/amf/DocumentationEvents.js.map +0 -1
- package/build/src/events/amf/EndpointEvents.d.ts +0 -21
- package/build/src/events/amf/EndpointEvents.d.ts.map +0 -1
- package/build/src/events/amf/EndpointEvents.js +0 -35
- package/build/src/events/amf/EndpointEvents.js.map +0 -1
- package/build/src/events/amf/EventTypes.d.ts +0 -65
- package/build/src/events/amf/EventTypes.d.ts.map +0 -1
- package/build/src/events/amf/EventTypes.js +0 -65
- package/build/src/events/amf/EventTypes.js.map +0 -1
- package/build/src/events/amf/Events.d.ts +0 -63
- package/build/src/events/amf/Events.d.ts.map +0 -1
- package/build/src/events/amf/Events.js +0 -38
- package/build/src/events/amf/Events.js.map +0 -1
- package/build/src/events/amf/NavigationEvents.d.ts +0 -50
- package/build/src/events/amf/NavigationEvents.d.ts.map +0 -1
- package/build/src/events/amf/NavigationEvents.js +0 -59
- package/build/src/events/amf/NavigationEvents.js.map +0 -1
- package/build/src/events/amf/OperationEvents.d.ts +0 -17
- package/build/src/events/amf/OperationEvents.d.ts.map +0 -1
- package/build/src/events/amf/OperationEvents.js +0 -27
- package/build/src/events/amf/OperationEvents.js.map +0 -1
- package/build/src/events/amf/PayloadEvents.d.ts +0 -10
- package/build/src/events/amf/PayloadEvents.d.ts.map +0 -1
- package/build/src/events/amf/PayloadEvents.js +0 -16
- package/build/src/events/amf/PayloadEvents.js.map +0 -1
- package/build/src/events/amf/ReportingEvents.d.ts +0 -16
- package/build/src/events/amf/ReportingEvents.d.ts.map +0 -1
- package/build/src/events/amf/ReportingEvents.js +0 -22
- package/build/src/events/amf/ReportingEvents.js.map +0 -1
- package/build/src/events/amf/RequestEvents.d.ts +0 -10
- package/build/src/events/amf/RequestEvents.d.ts.map +0 -1
- package/build/src/events/amf/RequestEvents.js +0 -15
- package/build/src/events/amf/RequestEvents.js.map +0 -1
- package/build/src/events/amf/ResponseEvents.d.ts +0 -10
- package/build/src/events/amf/ResponseEvents.d.ts.map +0 -1
- package/build/src/events/amf/ResponseEvents.js +0 -16
- package/build/src/events/amf/ResponseEvents.js.map +0 -1
- package/build/src/events/amf/SecurityEvents.d.ts +0 -31
- package/build/src/events/amf/SecurityEvents.d.ts.map +0 -1
- package/build/src/events/amf/SecurityEvents.js +0 -53
- package/build/src/events/amf/SecurityEvents.js.map +0 -1
- package/build/src/events/amf/ServerEvents.d.ts +0 -63
- package/build/src/events/amf/ServerEvents.d.ts.map +0 -1
- package/build/src/events/amf/ServerEvents.js +0 -70
- package/build/src/events/amf/ServerEvents.js.map +0 -1
- package/build/src/events/amf/StoreEvents.d.ts +0 -8
- package/build/src/events/amf/StoreEvents.d.ts.map +0 -1
- package/build/src/events/amf/StoreEvents.js +0 -16
- package/build/src/events/amf/StoreEvents.js.map +0 -1
- package/build/src/events/amf/TelemetryEvents.d.ts +0 -79
- package/build/src/events/amf/TelemetryEvents.d.ts.map +0 -1
- package/build/src/events/amf/TelemetryEvents.js +0 -65
- package/build/src/events/amf/TelemetryEvents.js.map +0 -1
- package/build/src/events/amf/TypeEvents.d.ts +0 -16
- package/build/src/events/amf/TypeEvents.d.ts.map +0 -1
- package/build/src/events/amf/TypeEvents.js +0 -25
- package/build/src/events/amf/TypeEvents.js.map +0 -1
- package/build/src/visualization/elements/VizAssociationElement.d.ts +0 -4
- package/build/src/visualization/elements/VizAssociationElement.d.ts.map +0 -1
- package/build/src/visualization/elements/VizAssociationElement.js +0 -4
- package/build/src/visualization/elements/VizAssociationElement.js.map +0 -1
- package/build/src/visualization/elements/VizWorkspaceElement.d.ts +0 -110
- package/build/src/visualization/elements/VizWorkspaceElement.d.ts.map +0 -1
- package/build/src/visualization/elements/VizWorkspaceElement.js +0 -321
- package/build/src/visualization/elements/VizWorkspaceElement.js.map +0 -1
- package/build/src/visualization/elements/WorkspaceStyles.d.ts +0 -3
- package/build/src/visualization/elements/WorkspaceStyles.d.ts.map +0 -1
- package/build/src/visualization/elements/WorkspaceStyles.js +0 -168
- package/build/src/visualization/elements/WorkspaceStyles.js.map +0 -1
- package/build/src/visualization/lib/AnchorFinder.d.ts +0 -64
- package/build/src/visualization/lib/AnchorFinder.d.ts.map +0 -1
- package/build/src/visualization/lib/AnchorFinder.js +0 -107
- package/build/src/visualization/lib/AnchorFinder.js.map +0 -1
- package/build/src/visualization/lib/AnchorUtils.d.ts +0 -10
- package/build/src/visualization/lib/AnchorUtils.d.ts.map +0 -1
- package/build/src/visualization/lib/AnchorUtils.js +0 -44
- package/build/src/visualization/lib/AnchorUtils.js.map +0 -1
- package/build/src/visualization/lib/AssociationAnchors.d.ts +0 -134
- package/build/src/visualization/lib/AssociationAnchors.d.ts.map +0 -1
- package/build/src/visualization/lib/AssociationAnchors.js +0 -351
- package/build/src/visualization/lib/AssociationAnchors.js.map +0 -1
- package/build/src/visualization/lib/LabelSketch.d.ts +0 -16
- package/build/src/visualization/lib/LabelSketch.d.ts.map +0 -1
- package/build/src/visualization/lib/LabelSketch.js +0 -53
- package/build/src/visualization/lib/LabelSketch.js.map +0 -1
- package/build/src/visualization/lib/LineSketch.d.ts +0 -26
- package/build/src/visualization/lib/LineSketch.d.ts.map +0 -1
- package/build/src/visualization/lib/LineSketch.js +0 -55
- package/build/src/visualization/lib/LineSketch.js.map +0 -1
- package/build/src/visualization/lib/Point.d.ts +0 -74
- package/build/src/visualization/lib/Point.d.ts.map +0 -1
- package/build/src/visualization/lib/Point.js +0 -121
- package/build/src/visualization/lib/Point.js.map +0 -1
- package/build/src/visualization/lib/PositionUtils.d.ts +0 -65
- package/build/src/visualization/lib/PositionUtils.d.ts.map +0 -1
- package/build/src/visualization/lib/PositionUtils.js +0 -205
- package/build/src/visualization/lib/PositionUtils.js.map +0 -1
- package/build/src/visualization/lib/SelectionManager.d.ts +0 -183
- package/build/src/visualization/lib/SelectionManager.d.ts.map +0 -1
- package/build/src/visualization/lib/SelectionManager.js +0 -481
- package/build/src/visualization/lib/SelectionManager.js.map +0 -1
- package/build/src/visualization/lib/ShapeArtist.d.ts +0 -45
- package/build/src/visualization/lib/ShapeArtist.d.ts.map +0 -1
- package/build/src/visualization/lib/ShapeArtist.js +0 -209
- package/build/src/visualization/lib/ShapeArtist.js.map +0 -1
- package/build/src/visualization/lib/SvgMarkers.d.ts +0 -14
- package/build/src/visualization/lib/SvgMarkers.d.ts.map +0 -1
- package/build/src/visualization/lib/SvgMarkers.js +0 -77
- package/build/src/visualization/lib/SvgMarkers.js.map +0 -1
- package/build/src/visualization/lib/TipSketch.d.ts +0 -26
- package/build/src/visualization/lib/TipSketch.d.ts.map +0 -1
- package/build/src/visualization/lib/TipSketch.js +0 -77
- package/build/src/visualization/lib/TipSketch.js.map +0 -1
- package/build/src/visualization/lib/TouchSupport.d.ts +0 -14
- package/build/src/visualization/lib/TouchSupport.d.ts.map +0 -1
- package/build/src/visualization/lib/TouchSupport.js +0 -55
- package/build/src/visualization/lib/TouchSupport.js.map +0 -1
- package/build/src/visualization/lib/Utils.d.ts +0 -25
- package/build/src/visualization/lib/Utils.d.ts.map +0 -1
- package/build/src/visualization/lib/Utils.js +0 -59
- package/build/src/visualization/lib/Utils.js.map +0 -1
- package/build/src/visualization/lib/VisualizationTypes.d.ts +0 -216
- package/build/src/visualization/lib/VisualizationTypes.d.ts.map +0 -1
- package/build/src/visualization/lib/VisualizationTypes.js +0 -3
- package/build/src/visualization/lib/VisualizationTypes.js.map +0 -1
- package/build/src/visualization/lib/WorkspaceAlignment.d.ts +0 -51
- package/build/src/visualization/lib/WorkspaceAlignment.d.ts.map +0 -1
- package/build/src/visualization/lib/WorkspaceAlignment.js +0 -243
- package/build/src/visualization/lib/WorkspaceAlignment.js.map +0 -1
- package/build/src/visualization/lib/WorkspaceDebugging.d.ts +0 -104
- package/build/src/visualization/lib/WorkspaceDebugging.d.ts.map +0 -1
- package/build/src/visualization/lib/WorkspaceDebugging.js +0 -286
- package/build/src/visualization/lib/WorkspaceDebugging.js.map +0 -1
- package/build/src/visualization/lib/WorkspaceEdges.d.ts +0 -293
- package/build/src/visualization/lib/WorkspaceEdges.d.ts.map +0 -1
- package/build/src/visualization/lib/WorkspaceEdges.js +0 -1073
- package/build/src/visualization/lib/WorkspaceEdges.js.map +0 -1
- package/build/src/visualization/lib/WorkspaceGestures.d.ts +0 -119
- package/build/src/visualization/lib/WorkspaceGestures.d.ts.map +0 -1
- package/build/src/visualization/lib/WorkspaceGestures.js +0 -376
- package/build/src/visualization/lib/WorkspaceGestures.js.map +0 -1
- package/build/src/visualization/lib/WorkspaceSizing.d.ts +0 -66
- package/build/src/visualization/lib/WorkspaceSizing.d.ts.map +0 -1
- package/build/src/visualization/lib/WorkspaceSizing.js +0 -168
- package/build/src/visualization/lib/WorkspaceSizing.js.map +0 -1
- package/build/src/visualization/lib/lines/RectilinearLine.d.ts +0 -114
- package/build/src/visualization/lib/lines/RectilinearLine.d.ts.map +0 -1
- package/build/src/visualization/lib/lines/RectilinearLine.js +0 -605
- package/build/src/visualization/lib/lines/RectilinearLine.js.map +0 -1
- package/build/src/visualization/lib/tips/RectilinearTip.d.ts +0 -26
- package/build/src/visualization/lib/tips/RectilinearTip.d.ts.map +0 -1
- package/build/src/visualization/lib/tips/RectilinearTip.js +0 -149
- package/build/src/visualization/lib/tips/RectilinearTip.js.map +0 -1
- package/build/src/visualization/lib/tips/TipArtist.d.ts +0 -22
- package/build/src/visualization/lib/tips/TipArtist.d.ts.map +0 -1
- package/build/src/visualization/lib/tips/TipArtist.js +0 -31
- package/build/src/visualization/lib/tips/TipArtist.js.map +0 -1
- package/build/src/visualization/lib/types.d.ts +0 -164
- package/build/src/visualization/lib/types.d.ts.map +0 -1
- package/build/src/visualization/lib/types.js +0 -2
- package/build/src/visualization/lib/types.js.map +0 -1
- package/build/src/visualization/plugin/dnd/DragAndDropPlugin.d.ts +0 -126
- package/build/src/visualization/plugin/dnd/DragAndDropPlugin.d.ts.map +0 -1
- package/build/src/visualization/plugin/dnd/DragAndDropPlugin.js +0 -260
- package/build/src/visualization/plugin/dnd/DragAndDropPlugin.js.map +0 -1
- package/build/src/visualization/plugin/group-selection/GroupSelection.d.ts +0 -93
- package/build/src/visualization/plugin/group-selection/GroupSelection.d.ts.map +0 -1
- package/build/src/visualization/plugin/group-selection/GroupSelection.js +0 -250
- package/build/src/visualization/plugin/group-selection/GroupSelection.js.map +0 -1
- package/build/src/visualization/plugin/positioning/DataModelLayout.d.ts +0 -10
- package/build/src/visualization/plugin/positioning/DataModelLayout.d.ts.map +0 -1
- package/build/src/visualization/plugin/positioning/DataModelLayout.js +0 -105
- package/build/src/visualization/plugin/positioning/DataModelLayout.js.map +0 -1
- package/build/src/visualization/plugin/positioning/WorkspaceLayout.d.ts +0 -93
- package/build/src/visualization/plugin/positioning/WorkspaceLayout.d.ts.map +0 -1
- package/build/src/visualization/plugin/positioning/WorkspaceLayout.js +0 -96
- package/build/src/visualization/plugin/positioning/WorkspaceLayout.js.map +0 -1
- package/build/src/visualization/viz-association.d.ts +0 -7
- package/build/src/visualization/viz-association.d.ts.map +0 -1
- package/build/src/visualization/viz-association.js +0 -3
- package/build/src/visualization/viz-association.js.map +0 -1
- package/build/src/visualization/viz-workspace.d.ts +0 -7
- package/build/src/visualization/viz-workspace.d.ts.map +0 -1
- package/build/src/visualization/viz-workspace.js +0 -3
- package/build/src/visualization/viz-workspace.js.map +0 -1
- package/demo/amf/api-annotation.html +0 -21
- package/demo/amf/api-annotation.ts +0 -117
- package/demo/amf/api-channel.html +0 -25
- package/demo/amf/api-channel.ts +0 -76
- package/demo/amf/api-console.html +0 -23
- package/demo/amf/api-console.ts +0 -505
- package/demo/amf/api-documentation-document.html +0 -25
- package/demo/amf/api-documentation-document.ts +0 -79
- package/demo/amf/api-documentation.html +0 -25
- package/demo/amf/api-documentation.ts +0 -242
- package/demo/amf/api-navigation.html +0 -29
- package/demo/amf/api-navigation.ts +0 -278
- package/demo/amf/api-operation.html +0 -37
- package/demo/amf/api-operation.ts +0 -274
- package/demo/amf/api-payload.html +0 -25
- package/demo/amf/api-payload.ts +0 -176
- package/demo/amf/api-request.html +0 -24
- package/demo/amf/api-request.ts +0 -259
- package/demo/amf/api-resource.html +0 -31
- package/demo/amf/api-resource.ts +0 -264
- package/demo/amf/api-schema-documentation.html +0 -25
- package/demo/amf/api-schema-documentation.ts +0 -207
- package/demo/amf/api-security-documentation.html +0 -25
- package/demo/amf/api-security-documentation.ts +0 -94
- package/demo/amf/api-server-picker.html +0 -24
- package/demo/amf/api-server-picker.ts +0 -233
- package/demo/amf/api-summary.html +0 -25
- package/demo/amf/api-summary.ts +0 -84
- package/demo/amf/bare-components.css +0 -11
- package/demo/amf/bare-components.html +0 -38
- package/demo/amf/bare-components.ts +0 -18
- package/demo/amf/demo.css +0 -136
- package/demo/amf/index.html +0 -65
- package/demo/amf/lib/AmfDemoPage.ts +0 -285
- package/demo/amf/oauth-authorize.html +0 -74
- package/demo/amf/oauth-authorize.ts +0 -40
- package/demo/amf/request-editor.html +0 -24
- package/demo/amf/request-editor.ts +0 -267
- package/demo/amf/styles/api-console.css +0 -60
- package/demo/amf/styles/api-editor.css +0 -139
- package/demo/amf/styles/console-theme.css +0 -0
- package/demo/amf/styles/demo-grid.css +0 -26
- package/demo/apis/21143/21143.json +0 -638
- package/demo/apis/APIC-15/APIC-15.raml +0 -36
- package/demo/apis/APIC-15/data-types/organization-data-type.raml +0 -19
- package/demo/apis/APIC-15/examples/organization/organization-array-response.raml +0 -15
- package/demo/apis/APIC-15/examples/organization/organization-individual-response.raml +0 -8
- package/demo/apis/APIC-168/APIC-168.raml +0 -38
- package/demo/apis/APIC-282/APIC-282.raml +0 -57
- package/demo/apis/APIC-289/APIC-289.yaml +0 -21
- package/demo/apis/APIC-298/APIC-298.json +0 -588
- package/demo/apis/APIC-332/APIC-332.raml +0 -22
- package/demo/apis/APIC-349-cache-resolution/APIC-349-cache-resolution.raml +0 -141
- package/demo/apis/APIC-349-cache-resolution/docs/DocumentationItem-1.raml +0 -3
- package/demo/apis/APIC-349-cache-resolution/docs/api.md +0 -1
- package/demo/apis/APIC-349-cache-resolution/docs/documentationTitle.md +0 -1
- package/demo/apis/APIC-349-cache-resolution/examples/usingObj-example.json +0 -19
- package/demo/apis/APIC-349-cache-resolution/examples/usingObj-example2.json +0 -19
- package/demo/apis/APIC-349-cache-resolution/libraries/schema.json +0 -21
- package/demo/apis/APIC-349-cache-resolution/libraries/types.raml +0 -88
- package/demo/apis/APIC-390/APIC-390.raml +0 -13
- package/demo/apis/APIC-390/Types/ISO-standards.raml +0 -30
- package/demo/apis/APIC-429/APIC-429.yaml +0 -63
- package/demo/apis/APIC-435/APIC-435.yaml +0 -27
- package/demo/apis/APIC-449/APIC-449.yaml +0 -8
- package/demo/apis/APIC-463/APIC-463.raml +0 -13
- package/demo/apis/APIC-480/APIC-480.raml +0 -61
- package/demo/apis/APIC-480/examples/account-response.json +0 -5
- package/demo/apis/APIC-483/APIC-483.raml +0 -16
- package/demo/apis/APIC-483/example/list-of-bank-succ.json +0 -32
- package/demo/apis/APIC-483/schema/response-retrieve-list-bank.json +0 -68
- package/demo/apis/APIC-550/APIC-550.raml +0 -46
- package/demo/apis/APIC-553/APIC-553.raml +0 -59
- package/demo/apis/APIC-554/APIC-554.raml +0 -6
- package/demo/apis/APIC-554-ii/APIC-554-ii.raml +0 -5
- package/demo/apis/APIC-560/APIC-560.yaml +0 -209
- package/demo/apis/APIC-582/APIC-582.yaml +0 -23
- package/demo/apis/APIC-613/APIC-613.raml +0 -16
- package/demo/apis/APIC-631/APIC-631.raml +0 -20
- package/demo/apis/APIC-641/APIC-641.yaml +0 -29
- package/demo/apis/APIC-649/APIC-649.yaml +0 -118
- package/demo/apis/APIC-650/APIC-650.yaml +0 -24
- package/demo/apis/APIC-650/common-parameters.yaml +0 -23
- package/demo/apis/APIC-667/APIC-667.raml +0 -30
- package/demo/apis/APIC-671/APIC-671.yaml +0 -387
- package/demo/apis/APIC-689/APIC-689.raml +0 -20
- package/demo/apis/APIC-711/APIC-711.raml +0 -41
- package/demo/apis/SE-10469/Purchase-Order-oagis-id-dd32f9c6c01048a19e15c423c9c741ae.json +0 -1383
- package/demo/apis/SE-10469/SE-10469.raml +0 -11
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-address.raml +0 -126
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-base.raml +0 -31
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-basic-questions-set.raml +0 -42
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-code-description.raml +0 -36
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-code-origin.raml +0 -24
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-contact-information.raml +0 -69
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-content-data.raml +0 -19
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-content-metadata.raml +0 -243
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-content.raml +0 -47
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-contextual.raml +0 -18
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-currency.raml +0 -22
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-document-statistic.raml +0 -44
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-email-address.raml +0 -19
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-error.raml +0 -33
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-habit.raml +0 -61
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-language.raml +0 -32
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-log-entry.raml +0 -92
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-master-key.raml +0 -49
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-organization.raml +0 -38
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-party.raml +0 -37
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-performance-node.raml +0 -43
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-performance-report.raml +0 -22
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-person-name.raml +0 -45
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-person.raml +0 -103
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-phone.raml +0 -32
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-policyholder.raml +0 -1
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-preferable.raml +0 -15
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-property.raml +0 -61
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-role.raml +0 -51
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-social-media-account.raml +0 -28
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-source.raml +0 -65
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/data-types/dataType-version.raml +0 -36
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/docs/Legal.raml +0 -3
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/examples/example-error.raml +0 -7
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/examples/example-get-health-check.raml +0 -16
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/examples/example-performance-report.raml +0 -23
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/exchange.json +0 -1
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-address.raml +0 -7
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-base.raml +0 -3
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-basic-questions-set.raml +0 -7
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-code-description.raml +0 -7
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-contact-info.raml +0 -3
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-content.raml +0 -5
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-context-and-preference.raml +0 -4
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-email.raml +0 -7
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-entity.raml +0 -36
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-error.raml +0 -3
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-habit.raml +0 -7
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-language.raml +0 -7
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-master-key.raml +0 -3
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-organization.raml +0 -4
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-party.raml +0 -8
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-performance.raml +0 -8
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-person-name.raml +0 -3
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-person.raml +0 -7
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-phone.raml +0 -7
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-property.raml +0 -7
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-role.raml +0 -6
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-social-media.raml +0 -7
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-source.raml +0 -7
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-traits.raml +0 -11
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/libraries/library-version.raml +0 -7
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/resource-types/resourceType-applicable-to-collection-actions.raml +0 -51
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/resource-types/resourceType-applicable-to-collections.raml +0 -157
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/resource-types/resourceType-applicable-to-item-actions.raml +0 -48
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/resource-types/resourceType-applicable-to-items.raml +0 -154
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/resource-types/resourceType-get-health-check.raml +0 -39
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/security-schemes/securityScheme-basic.raml +0 -4
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/traits/trait-asynchronously-callable.raml +0 -12
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/traits/trait-filterable.raml +0 -19
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/traits/trait-identifyable.raml +0 -50
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/traits/trait-pageable.raml +0 -40
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/traits/trait-performance-monitorable.raml +0 -31
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/traits/trait-routable.raml +0 -22
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/traits/trait-selectable.raml +0 -140
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/traits/trait-sortable.raml +0 -20
- package/demo/apis/SE-11155/1/2/aflac-canonical-definitions/1.0.0/traits/trait-traceable.raml +0 -24
- package/demo/apis/SE-11155/SE-11155.raml +0 -43
- package/demo/apis/SE-11155/data-types/dataType-archive-users-request.raml +0 -19
- package/demo/apis/SE-11155/data-types/dataType-archive-users-response.raml +0 -20
- package/demo/apis/SE-11155/data-types/dataType-restore-user-request.raml +0 -1
- package/demo/apis/SE-11155/data-types/dataType-restore-user-response.raml +0 -1
- package/demo/apis/SE-11155/data-types/dataType-user.raml +0 -53
- package/demo/apis/SE-11155/examples/user-action-restore-user-200.raml +0 -3
- package/demo/apis/SE-11155/examples/user-action-restore-user-cds-202.raml +0 -7
- package/demo/apis/SE-11155/examples/user-action-restore-user.raml +0 -3
- package/demo/apis/SE-11155/examples/user-delete-cds-200.raml +0 -4
- package/demo/apis/SE-11155/examples/user-delete-cds-202.raml +0 -11
- package/demo/apis/SE-11155/examples/user-get-200.raml +0 -17
- package/demo/apis/SE-11155/examples/user-patch-200.raml +0 -14
- package/demo/apis/SE-11155/examples/user-patch-cds-200.raml +0 -4
- package/demo/apis/SE-11155/examples/user-patch-cds-202.raml +0 -7
- package/demo/apis/SE-11155/examples/user-patch.raml +0 -14
- package/demo/apis/SE-11155/examples/user-put-200.raml +0 -17
- package/demo/apis/SE-11155/examples/user-put-cds-200.raml +0 -4
- package/demo/apis/SE-11155/examples/user-put-cds-202.raml +0 -11
- package/demo/apis/SE-11155/examples/user-put.raml +0 -17
- package/demo/apis/SE-11155/examples/users-action-archive-users-200.raml +0 -5
- package/demo/apis/SE-11155/examples/users-action-archive-users-cds-200.raml +0 -5
- package/demo/apis/SE-11155/examples/users-action-archive-users.raml +0 -5
- package/demo/apis/SE-11155/examples/users-delete-cds-200.raml +0 -4
- package/demo/apis/SE-11155/examples/users-delete-cds-202.raml +0 -11
- package/demo/apis/SE-11155/examples/users-get-200.raml +0 -47
- package/demo/apis/SE-11155/examples/users-patch-200.raml +0 -32
- package/demo/apis/SE-11155/examples/users-patch-cds-200.raml +0 -4
- package/demo/apis/SE-11155/examples/users-patch-cds-202.raml +0 -11
- package/demo/apis/SE-11155/examples/users-patch.raml +0 -14
- package/demo/apis/SE-11155/examples/users-post-cds-200.raml +0 -4
- package/demo/apis/SE-11155/examples/users-post-cds-202.raml +0 -11
- package/demo/apis/SE-11155/examples/users-post-multi-200.raml +0 -47
- package/demo/apis/SE-11155/examples/users-post-multi.raml +0 -44
- package/demo/apis/SE-11155/examples/users-post-single-200.raml +0 -17
- package/demo/apis/SE-11155/examples/users-post-single.raml +0 -16
- package/demo/apis/SE-11155/libraries/library.raml +0 -16
- package/demo/apis/SE-11415/SE-11415.raml +0 -94
- package/demo/apis/SE-11415/canda-commons/canda-commons.raml +0 -50
- package/demo/apis/SE-11415/canda-commons/ref/log-levels-example.json +0 -3
- package/demo/apis/SE-11415/canda-commons/ref/log-levels-response-example.json +0 -3
- package/demo/apis/SE-11415/canda-commons/ref/log-levels-response-schema.json +0 -10
- package/demo/apis/SE-11415/canda-commons/ref/log-levels-schema.json +0 -30
- package/demo/apis/SE-11415/ref/additions-example.json +0 -12
- package/demo/apis/SE-11415/ref/additions-schema.json +0 -43
- package/demo/apis/SE-11415/ref/companies-example.json +0 -11
- package/demo/apis/SE-11415/ref/companies-schema.json +0 -36
- package/demo/apis/SE-11415/ref/greeting-example.json +0 -4
- package/demo/apis/SE-11415/ref/greeting-schema.json +0 -22
- package/demo/apis/SE-11415/ref/greetings-example.json +0 -15
- package/demo/apis/SE-11415/ref/greetings-schema.json +0 -34
- package/demo/apis/SE-11415/ref/jms-message-response-exmaple.json +0 -7
- package/demo/apis/SE-11415/ref/log-levels-example.json +0 -3
- package/demo/apis/SE-11415/ref/log-levels-response-example.json +0 -3
- package/demo/apis/SE-11415/ref/log-levels-response-schema.json +0 -10
- package/demo/apis/SE-11415/ref/log-levels-schema.json +0 -30
- package/demo/apis/SE-11508/SE-11508.raml +0 -257
- package/demo/apis/SE-11508/examples/change-credentials-post-201.raml +0 -9
- package/demo/apis/SE-11508/examples/convert-aggregator-quote-post-201.raml +0 -19
- package/demo/apis/SE-11508/examples/create-quote-post-200.raml +0 -12
- package/demo/apis/SE-11508/examples/create-quote-post-201.raml +0 -8
- package/demo/apis/SE-11508/examples/create-quote-post-request.raml +0 -19
- package/demo/apis/SE-11508/examples/customer-accounts-get-200.raml +0 -41
- package/demo/apis/SE-11508/examples/customer-accounts-patch-request.raml +0 -31
- package/demo/apis/SE-11508/examples/retrieve-quotes-post-200.raml +0 -17
- package/demo/apis/SE-11508/examples/send-correspondence-post-request.raml +0 -34
- package/demo/apis/SE-11508/examples/validate-credentials-post-200.raml +0 -30
- package/demo/apis/SE-11508/examples/validate-customer-account-hash-post-400.raml +0 -10
- package/demo/apis/SE-11508/examples/validate-customer-account-hash-post-request.raml +0 -7
- package/demo/apis/SE-11508/examples/validate-customer-account-post-200.raml +0 -76
- package/demo/apis/SE-11508/examples/validate-customer-account-post-400.raml +0 -10
- package/demo/apis/SE-11508/examples/validate-customer-account-post-request.raml +0 -8
- package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/securityscheme-system/0.0.4/auth.raml +0 -10
- package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/api-headers-trait.raml +0 -20
- package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/bad-responses.raml +0 -30
- package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/create.raml +0 -30
- package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/customer-account-filter-trait.raml +0 -8
- package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/delete.raml +0 -48
- package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/payment.raml +0 -10
- package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/policy-filter-trait.raml +0 -8
- package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/read.raml +0 -48
- package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/types/common-responses.raml +0 -8
- package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/types/error.raml +0 -12
- package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/underwriting.raml +0 -11
- package/demo/apis/SE-11508/exchange_modules2/26d603ba-9696-4993-b97e-f568e49c27ac/traits-system/0.0.19/update.raml +0 -48
- package/demo/apis/SE-11508/model-system/api-headers.raml +0 -8
- package/demo/apis/SE-11508/model-system/api-strict-headers.raml +0 -25
- package/demo/apis/SE-11508/model-system/change-credentials-type.raml +0 -11
- package/demo/apis/SE-11508/model-system/convert-aggregator-quote-types.raml +0 -25
- package/demo/apis/SE-11508/model-system/create-quote-types.raml +0 -35
- package/demo/apis/SE-11508/model-system/customer-accounts-types.raml +0 -57
- package/demo/apis/SE-11508/model-system/ping-error-messages-types.raml +0 -17
- package/demo/apis/SE-11508/model-system/ping-validate-credentials.raml +0 -16
- package/demo/apis/SE-11508/model-system/retrieve-quotes-types.raml +0 -40
- package/demo/apis/SE-12042/SE-12042.raml +0 -52
- package/demo/apis/SE-12042/dataTypes/CheckAPIStatus.raml +0 -25
- package/demo/apis/SE-12042/examples/CheckAPIStatusExample1.raml +0 -7
- package/demo/apis/SE-12042/examples/CheckAPIStatusExample2.raml +0 -7
- package/demo/apis/SE-12042/securitySchemes/x-clientIdSecret.raml +0 -18
- package/demo/apis/SE-12224/SE-12224.raml +0 -89
- package/demo/apis/SE-12224/dataTypes/product.raml +0 -15
- package/demo/apis/SE-12224/dataTypes/products.raml +0 -5
- package/demo/apis/SE-12224/examples/product.json +0 -8
- package/demo/apis/SE-12224/examples/products.json +0 -8
- package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/error.raml +0 -14
- package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/examples/error.json +0 -13
- package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/examples/innerError.json +0 -7
- package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/exchange.json +0 -1
- package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/innerError.raml +0 -20
- package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/orderable.raml +0 -13
- package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/pageable.raml +0 -15
- package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/searchable.raml +0 -8
- package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/secured-by-aad-oauth2.raml +0 -15
- package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/secured-by-basic-authentication.raml +0 -10
- 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
- package/demo/apis/SE-12224/exchange_modules/ae8da8e3-99e3-4a45-acfa-86136e9d991f/ashley-base/1.0.2/secured-by-mule-oauth2.raml +0 -15
- package/demo/apis/SE-12291/SE-12291.json +0 -357
- package/demo/apis/SE-12752/SE-12752.raml +0 -36
- package/demo/apis/SE-12957/SE-12957.json +0 -741
- package/demo/apis/SE-12959/SE-12959.json +0 -741
- package/demo/apis/SE-17897/SE-17897.yaml +0 -21
- package/demo/apis/SE-19215/SE-19215.raml +0 -7
- package/demo/apis/SE-19500/SE-19500.raml +0 -95
- package/demo/apis/SE-19500/docs/home.md +0 -1
- package/demo/apis/SE-19500/modules/canada-commons/canda-commons.raml +0 -64
- package/demo/apis/SE-19500/modules/canada-commons/ref/log-levels-example.json +0 -3
- package/demo/apis/SE-19500/modules/canada-commons/ref/log-levels-response-example.json +0 -3
- package/demo/apis/SE-19500/modules/canada-commons/ref/log-levels-response-schema.json +0 -10
- package/demo/apis/SE-19500/modules/canada-commons/ref/log-levels-schema.json +0 -30
- package/demo/apis/SE-19500/modules/canada-commons/ref/ping-example.json +0 -7
- package/demo/apis/SE-19500/modules/canada-commons/ref/ping-schema.json +0 -49
- package/demo/apis/SE-19500/modules/canda-mule4-example-data-types/api.raml +0 -6
- package/demo/apis/SE-19500/modules/canda-mule4-example-data-types/examples/greeting-example.json +0 -4
- package/demo/apis/SE-19500/modules/canda-mule4-example-data-types/examples/greetings-example.json +0 -15
- package/demo/apis/SE-19500/modules/canda-mule4-example-data-types/types/greeting-schema.json +0 -22
- package/demo/apis/SE-19500/modules/canda-mule4-example-data-types/types/greetings-schema.json +0 -34
- package/demo/apis/SE-19500/ref/companies-example.json +0 -14
- package/demo/apis/SE-19500/ref/companies-schema.json +0 -70
- package/demo/apis/Streetlights/streetlights.yaml +0 -36
- package/demo/apis/aap-1698/aap-1698.raml +0 -26
- package/demo/apis/amf-helper-api/amf-helper-api.raml +0 -1024
- package/demo/apis/amf-helper-api/examples/comment-example.json +0 -42
- package/demo/apis/amf-helper-api/examples/commentCreateRequest-example.json +0 -7
- package/demo/apis/amf-helper-api/examples/commentList-example.json +0 -48
- package/demo/apis/amf-helper-api/examples/person.json +0 -14
- package/demo/apis/amf-helper-api/examples/person.raml +0 -13
- package/demo/apis/amf-helper-api/examples/person.xml +0 -14
- package/demo/apis/amf-helper-api/libraries/comment-lib.raml +0 -143
- package/demo/apis/amf-helper-api/library.raml +0 -7
- package/demo/apis/amf-helper-api/schemas/person.json +0 -104
- package/demo/apis/amf-helper-api/schemas/person.xsd +0 -26
- package/demo/apis/amf-helper-api/traits/file.raml +0 -33
- package/demo/apis/amf-helper-api/traits/pagination.raml +0 -80
- package/demo/apis/amf-helper-api/traits/results.raml +0 -19
- package/demo/apis/amf-helper-api/traits/visibility.raml +0 -14
- package/demo/apis/amf-helper-api/types/app-person.raml +0 -101
- package/demo/apis/amf-helper-api/types/dimensions.raml +0 -24
- package/demo/apis/amf-helper-api/types/external-type.raml +0 -7
- package/demo/apis/amf-helper-api/types/image.raml +0 -23
- package/demo/apis/amf-helper-api/types/product.raml +0 -52
- package/demo/apis/amf-helper-api/types/resource.raml +0 -11
- package/demo/apis/amf-helper-api/types/standard-request.raml +0 -50
- package/demo/apis/amf-helper-api/types/user.raml +0 -37
- package/demo/apis/annotated-api/annotated-api.raml +0 -82
- package/demo/apis/annotated-parameters/annotated-parameters.raml +0 -18
- package/demo/apis/anyOf/anyOf.yaml +0 -37
- package/demo/apis/api-keys/api-keys.yaml +0 -85
- package/demo/apis/apic-169/apic-169.raml +0 -28
- package/demo/apis/apic-83/apic-83.raml +0 -32
- package/demo/apis/appian-api/appian-api.raml +0 -184
- package/demo/apis/array-body/array-body.raml +0 -23
- package/demo/apis/async-api/async-api.yaml +0 -96
- package/demo/apis/demo-api/demo-api.raml +0 -1425
- package/demo/apis/demo-api/examples/e400.xml +0 -4
- package/demo/apis/demo-api/examples/e401.xml +0 -4
- package/demo/apis/demo-api/examples/e404.xml +0 -4
- package/demo/apis/demo-api/examples/image.xml +0 -5
- package/demo/apis/demo-api/examples/messages-example.json +0 -22
- package/demo/apis/demo-api/examples/messages-sent-example.json +0 -15
- package/demo/apis/demo-api/examples/person.json +0 -14
- package/demo/apis/demo-api/examples/person.raml +0 -14
- package/demo/apis/demo-api/examples/person.url.encoded +0 -1
- package/demo/apis/demo-api/examples/person.xml +0 -14
- package/demo/apis/demo-api/examples/product.xml +0 -9
- package/demo/apis/demo-api/library/demo-types.raml +0 -44
- package/demo/apis/demo-api/library.raml +0 -36
- package/demo/apis/demo-api/resourceTypes/app-person.raml +0 -111
- package/demo/apis/demo-api/resourceTypes/example-types.raml +0 -45
- package/demo/apis/demo-api/resourceTypes/image.raml +0 -23
- package/demo/apis/demo-api/resourceTypes/message-sent-type.raml +0 -23
- package/demo/apis/demo-api/resourceTypes/message-type.raml +0 -33
- package/demo/apis/demo-api/resourceTypes/product.raml +0 -52
- package/demo/apis/demo-api/resourceTypes/resource.raml +0 -11
- package/demo/apis/demo-api/schemas/error-response.xsd +0 -11
- package/demo/apis/demo-api/schemas/image.xsd +0 -11
- package/demo/apis/demo-api/schemas/person.json +0 -104
- package/demo/apis/demo-api/schemas/person.xsd +0 -26
- package/demo/apis/demo-api/schemas/product.xsd +0 -17
- package/demo/apis/demo-api/securitySchemes/basic.raml +0 -5
- package/demo/apis/demo-api/securitySchemes/oauth-2-custom-settings.raml +0 -143
- package/demo/apis/demo-api/securitySchemes/oauth2-header-delivery.raml +0 -13
- package/demo/apis/demo-api/securitySchemes/oauth2-no-delivery.raml +0 -8
- package/demo/apis/demo-api/securitySchemes/oauth2-no-grants.raml +0 -12
- package/demo/apis/demo-api/securitySchemes/oauth2-pkce.raml +0 -13
- package/demo/apis/demo-api/securitySchemes/oauth2-query-delivery.raml +0 -13
- package/demo/apis/demo-api/securitySchemes/oauth_1_0.raml +0 -8
- package/demo/apis/demo-api/securitySchemes/oauth_1_0_no-settings.raml +0 -3
- package/demo/apis/demo-api/securitySchemes/oauth_1_0_no-signature.raml +0 -7
- package/demo/apis/demo-api/securitySchemes/oauth_1_0_signature.raml +0 -8
- package/demo/apis/demo-api/securitySchemes/oauth_2_0.raml +0 -29
- package/demo/apis/demo-api/securitySchemes/passthrough-querystring.raml +0 -16
- package/demo/apis/demo-api/securitySchemes/passthrough.raml +0 -24
- package/demo/apis/demo-api/securitySchemes/x-custom.raml +0 -33
- package/demo/apis/demo-api/securitySchemes/x-other.raml +0 -29
- package/demo/apis/demo-api/securitySchemes/x-query-string.raml +0 -16
- package/demo/apis/demo-api/traits/adminable.raml +0 -23
- package/demo/apis/demo-api/traits/pagination.raml +0 -83
- package/demo/apis/demo-api/traits/rate-limited.raml +0 -9
- package/demo/apis/demo-api/types/DemoPerson.raml +0 -67
- package/demo/apis/demo-document/demo-document.raml +0 -21
- package/demo/apis/documentation-fragment/documentation-fragment.raml +0 -76
- package/demo/apis/documented-api/documented-api.raml +0 -29
- package/demo/apis/enum-test/enum-test.raml +0 -64
- package/demo/apis/example-fragment/example-fragment.raml +0 -8
- package/demo/apis/examples-api/Address-1.0.raml +0 -75
- package/demo/apis/examples-api/CompanyIdentification-1.0.raml +0 -48
- package/demo/apis/examples-api/CompanyProfile-1.0.raml +0 -14
- package/demo/apis/examples-api/CompanyProfileBase-1.0.raml +0 -48
- package/demo/apis/examples-api/contact-email-example.raml +0 -6
- package/demo/apis/examples-api/contact-example.raml +0 -7
- package/demo/apis/examples-api/contact-fax-example.raml +0 -7
- package/demo/apis/examples-api/contact-website-example.raml +0 -4
- package/demo/apis/examples-api/example-1.raml +0 -7
- package/demo/apis/examples-api/example-2.raml +0 -12
- package/demo/apis/examples-api/example-3.raml +0 -5
- package/demo/apis/examples-api/example-4.raml +0 -3
- package/demo/apis/examples-api/example-5.raml +0 -5
- package/demo/apis/examples-api/example-6.raml +0 -3
- package/demo/apis/examples-api/example-7.raml +0 -7
- package/demo/apis/examples-api/example.json +0 -14
- package/demo/apis/examples-api/example.xml +0 -15
- package/demo/apis/examples-api/example.xsd +0 -26
- package/demo/apis/examples-api/examples/Address_BE_Example-1.0.raml +0 -10
- package/demo/apis/examples-api/examples/Address_GB_Example-1.0.raml +0 -8
- package/demo/apis/examples-api/examples/Address_NL_Example-1.0.raml +0 -8
- package/demo/apis/examples-api/examples/Addresses_BE_Example-1.0.raml +0 -11
- package/demo/apis/examples-api/examples/Addresses_GB_Example-1.0.raml +0 -9
- package/demo/apis/examples-api/examples/Addresses_NL_Example-1.0.raml +0 -17
- package/demo/apis/examples-api/examples/CompanyIdentification_BE_Example-1.0.raml +0 -7
- package/demo/apis/examples-api/examples/CompanyIdentification_GB_Example-1.0.raml +0 -7
- package/demo/apis/examples-api/examples/CompanyIdentification_NL_BranchId_Example-1.0.raml +0 -7
- package/demo/apis/examples-api/examples/CompanyIdentification_NL_Example-1.0.raml +0 -7
- package/demo/apis/examples-api/examples/CompanyIdentification_NL_GY-Holding_Example-1.0.raml +0 -6
- package/demo/apis/examples-api/examples/CompanyLegalForm_BE_Example-1.0.raml +0 -3
- package/demo/apis/examples-api/examples/CompanyLegalForm_GB_Example-1.0.raml +0 -3
- package/demo/apis/examples-api/examples/CompanyLegalForm_NL_Example-1.0.raml +0 -3
- package/demo/apis/examples-api/examples/CompanyProfile_BE_Example-1.0.raml +0 -14
- package/demo/apis/examples-api/examples/CompanyProfile_GB_Example-1.0.raml +0 -11
- package/demo/apis/examples-api/examples/CompanyProfile_NL_Example-1.0.raml +0 -12
- package/demo/apis/examples-api/examples/Company_BE_Example-1.0.raml +0 -3
- package/demo/apis/examples-api/examples/Company_GB_Example-1.0.raml +0 -3
- package/demo/apis/examples-api/examples/Company_NL_Example-1.0.raml +0 -3
- package/demo/apis/examples-api/examples-api.raml +0 -313
- package/demo/apis/examples-api/linked-named-example.raml +0 -22
- package/demo/apis/examples-api/named-example-with-link.raml +0 -3
- package/demo/apis/examples-api/named-example.raml +0 -7
- package/demo/apis/examples-api/type-with-linked-examples.raml +0 -15
- package/demo/apis/examples-api/user-json-example.raml +0 -17
- package/demo/apis/examples-api/user-raml-example.raml +0 -37
- package/demo/apis/examples-api/user.json +0 -8
- package/demo/apis/examples-api/user.raml +0 -18
- package/demo/apis/examples-api/users-json-example.raml +0 -17
- package/demo/apis/examples-api/users-raml-example.raml +0 -32
- package/demo/apis/examples-api/users.json +0 -8
- package/demo/apis/expanded-api/expanded-api.raml +0 -8
- package/demo/apis/ext-docs/ext-docs.yaml +0 -15
- package/demo/apis/flattened-api/flattened-api.raml +0 -8
- package/demo/apis/google-drive-api/docs/api/headline.md +0 -1
- package/demo/apis/google-drive-api/docs/search-for-file.md +0 -176
- package/demo/apis/google-drive-api/docs/upload-files.md +0 -268
- package/demo/apis/google-drive-api/docs/uploadApi/headline.md +0 -1
- package/demo/apis/google-drive-api/docs/work-with-folders.md +0 -307
- package/demo/apis/google-drive-api/examples/about-example.json +0 -470
- package/demo/apis/google-drive-api/examples/app-example.json +0 -100
- package/demo/apis/google-drive-api/examples/app-list-example.json +0 -108
- package/demo/apis/google-drive-api/examples/change-example.json +0 -91
- package/demo/apis/google-drive-api/examples/changeList-example.json +0 -351
- package/demo/apis/google-drive-api/examples/channel-example.json +0 -8
- package/demo/apis/google-drive-api/examples/childList-example.json +0 -15
- package/demo/apis/google-drive-api/examples/childReference-example.json +0 -6
- package/demo/apis/google-drive-api/examples/comment-example.json +0 -42
- package/demo/apis/google-drive-api/examples/comment-reply-update-response.json +0 -18
- package/demo/apis/google-drive-api/examples/commentCreateRequest-example.json +0 -7
- package/demo/apis/google-drive-api/examples/commentList-example.json +0 -48
- package/demo/apis/google-drive-api/examples/commentReply-example.json +0 -17
- package/demo/apis/google-drive-api/examples/commentReplyList-example.json +0 -21
- package/demo/apis/google-drive-api/examples/commentReplyRequest-example.json +0 -4
- package/demo/apis/google-drive-api/examples/file-example.json +0 -92
- package/demo/apis/google-drive-api/examples/fileList-example.json +0 -98
- package/demo/apis/google-drive-api/examples/newFileRequest-example.json +0 -29
- package/demo/apis/google-drive-api/examples/parentList-example.json +0 -14
- package/demo/apis/google-drive-api/examples/parentReference-example.json +0 -7
- package/demo/apis/google-drive-api/examples/permission-example.json +0 -18
- package/demo/apis/google-drive-api/examples/permissionId-example.json +0 -4
- package/demo/apis/google-drive-api/examples/permissionList-example.json +0 -17
- package/demo/apis/google-drive-api/examples/permissionRequest-example.json +0 -9
- package/demo/apis/google-drive-api/examples/permissionUpdateRequest-example.json +0 -9
- package/demo/apis/google-drive-api/examples/property-example.json +0 -8
- package/demo/apis/google-drive-api/examples/propertyList-example.json +0 -13
- package/demo/apis/google-drive-api/examples/revision-example.json +0 -30
- package/demo/apis/google-drive-api/examples/revisionList-example.json +0 -35
- package/demo/apis/google-drive-api/examples/revisionUpdateRequest-example.json +0 -6
- package/demo/apis/google-drive-api/examples/stopWatchingRequest-example.json +0 -4
- package/demo/apis/google-drive-api/examples/watchRequest-example.json +0 -7
- package/demo/apis/google-drive-api/google-drive-api.raml +0 -1118
- package/demo/apis/google-drive-api/libraries/about-lib.raml +0 -121
- package/demo/apis/google-drive-api/libraries/annotations.raml +0 -4
- package/demo/apis/google-drive-api/libraries/app-lib.raml +0 -134
- package/demo/apis/google-drive-api/libraries/child-lib.raml +0 -53
- package/demo/apis/google-drive-api/libraries/comment-lib.raml +0 -145
- package/demo/apis/google-drive-api/libraries/file-lib.raml +0 -517
- package/demo/apis/google-drive-api/libraries/parent-lib.raml +0 -52
- package/demo/apis/google-drive-api/libraries/permission-lib.raml +0 -146
- package/demo/apis/google-drive-api/libraries/properties-lib.raml +0 -44
- package/demo/apis/google-drive-api/libraries/revision-lib.raml +0 -116
- package/demo/apis/google-drive-api/libraries/watch-lib.raml +0 -128
- package/demo/apis/google-drive-api/securitySchemes/oauth_2_0.raml +0 -25
- package/demo/apis/google-drive-api/traits/file.raml +0 -33
- package/demo/apis/google-drive-api/traits/results.raml +0 -19
- package/demo/apis/google-drive-api/traits/visibility.raml +0 -17
- package/demo/apis/google-drive-api/types/additional-role-info.raml +0 -12
- package/demo/apis/google-drive-api/types/channels-stop.raml +0 -11
- package/demo/apis/google-drive-api/types/export-format.raml +0 -11
- package/demo/apis/google-drive-api/types/feature.raml +0 -11
- package/demo/apis/google-drive-api/types/file-capabilities.raml +0 -69
- package/demo/apis/google-drive-api/types/file-labels.raml +0 -35
- package/demo/apis/google-drive-api/types/icon.raml +0 -25
- package/demo/apis/google-drive-api/types/import-format.raml +0 -11
- package/demo/apis/google-drive-api/types/new-drive-file.raml +0 -48
- package/demo/apis/google-drive-api/types/owners.raml +0 -32
- package/demo/apis/google-drive-api/types/picture.raml +0 -9
- package/demo/apis/google-drive-api/types/property.raml +0 -25
- package/demo/apis/google-drive-api/types/resource.raml +0 -28
- package/demo/apis/google-drive-api/types/role-set.raml +0 -11
- package/demo/apis/google-drive-api/types/service-quota.raml +0 -10
- package/demo/apis/google-drive-api/types/standard-request.raml +0 -51
- package/demo/apis/google-drive-api/types/team-drive-list.raml +0 -18
- package/demo/apis/google-drive-api/types/team-drive.raml +0 -59
- package/demo/apis/google-drive-api/types/thumbnail.raml +0 -14
- package/demo/apis/google-drive-api/types/upload-size.raml +0 -12
- package/demo/apis/google-drive-api/types/user.raml +0 -37
- package/demo/apis/httpbin/httpbin.json +0 -1836
- package/demo/apis/lib-fragment/lib-fragment.raml +0 -55
- package/demo/apis/loan-ms/loan-microservice.json +0 -699
- package/demo/apis/missing-endpoints/missing-endpoints.raml +0 -34
- package/demo/apis/mocking-service/mocking-service.raml +0 -149
- package/demo/apis/modular-api/models/ecommerce-canonical.raml +0 -89
- package/demo/apis/modular-api/models/ecommerce.raml +0 -36
- package/demo/apis/modular-api/models/things.raml +0 -32
- package/demo/apis/modular-api/modular-api.raml +0 -12
- package/demo/apis/multi-server/multi-server.yaml +0 -128
- package/demo/apis/multiple-servers/multiple-servers.yaml +0 -112
- package/demo/apis/navigation-api/library.raml +0 -7
- package/demo/apis/navigation-api/navigation-api.raml +0 -357
- package/demo/apis/navigation-api/types/app-person.raml +0 -101
- package/demo/apis/navigation-api/types/image.raml +0 -23
- package/demo/apis/navigation-api/types/product.raml +0 -52
- package/demo/apis/navigation-api/types/resource.raml +0 -11
- package/demo/apis/new-oas3-types/new-oas3-types.yaml +0 -84
- package/demo/apis/nexmo-sms-api/nexmo-sms-api.raml +0 -488
- package/demo/apis/no-endpoints/no-endpoints.raml +0 -14
- package/demo/apis/no-server/no-server.raml +0 -27
- package/demo/apis/no-servers-api/no-servers-api.yaml +0 -31
- package/demo/apis/not-schema/not-schema.yaml +0 -38
- package/demo/apis/oas-3-api/oas-3-api.yaml +0 -356
- package/demo/apis/oas-api/LoanMicrosrvice.yaml +0 -339
- package/demo/apis/oas-api/Petstore-v2.yaml +0 -144
- package/demo/apis/oas-api/Petstore.raml +0 -106
- package/demo/apis/oas-api/UBER.raml +0 -274
- package/demo/apis/oas-api/UBER.yaml +0 -272
- package/demo/apis/oas-api/petstore-expanded.raml +0 -141
- package/demo/apis/oas-api/petstore-expanded.yaml +0 -139
- package/demo/apis/oas-api/read-only-properties.yaml +0 -42
- package/demo/apis/oas-bearer/oas-bearer.yaml +0 -45
- package/demo/apis/oas-callbacks/oas-callbacks.yaml +0 -150
- package/demo/apis/oas-demo/oas-demo.yaml +0 -94
- package/demo/apis/oauth-flows/oauth-flows.yaml +0 -61
- package/demo/apis/oauth-pkce/oauth-2-pkce.raml +0 -33
- package/demo/apis/oauth-pkce/oauth-pkce.raml +0 -22
- package/demo/apis/oauth1-fragment/oauth1-fragment.raml +0 -7
- package/demo/apis/oauth2-fragment/oauth2-fragment.raml +0 -30
- package/demo/apis/petstore/petstore.yaml +0 -954
- package/demo/apis/prevent-xss/prevent-xss.json +0 -20
- package/demo/apis/rearrange-api/rearrange-api.raml +0 -32
- package/demo/apis/secured-api/oauth-2-custom-settings.raml +0 -143
- package/demo/apis/secured-api/oauth2-header-delivery.raml +0 -13
- package/demo/apis/secured-api/oauth2-no-delivery.raml +0 -8
- package/demo/apis/secured-api/oauth2-no-grants.raml +0 -12
- package/demo/apis/secured-api/oauth2-pkce.raml +0 -13
- package/demo/apis/secured-api/oauth2-query-delivery.raml +0 -13
- package/demo/apis/secured-api/oauth_1_0.raml +0 -8
- package/demo/apis/secured-api/oauth_1_0_no-settings.raml +0 -3
- package/demo/apis/secured-api/oauth_1_0_no-signature.raml +0 -7
- package/demo/apis/secured-api/oauth_1_0_signature.raml +0 -8
- package/demo/apis/secured-api/passthrough-querystring.raml +0 -16
- package/demo/apis/secured-api/passthrough.raml +0 -24
- package/demo/apis/secured-api/secured-api.raml +0 -231
- package/demo/apis/secured-api/x-custom.raml +0 -33
- package/demo/apis/secured-api/x-other.raml +0 -29
- package/demo/apis/secured-api/x-query-string.raml +0 -16
- package/demo/apis/secured-unions/secured-unions.yaml +0 -95
- package/demo/apis/security-api/oauth-2-custom-settings.raml +0 -154
- package/demo/apis/security-api/readme.md +0 -1
- package/demo/apis/security-api/security/basic.raml +0 -13
- package/demo/apis/security-api/security/digest.raml +0 -5
- package/demo/apis/security-api/security/oauth_1_0.raml +0 -27
- package/demo/apis/security-api/security/oauth_2_0.raml +0 -30
- package/demo/apis/security-api/security/oauth_2_0_no_scopes.raml +0 -29
- package/demo/apis/security-api/security/other-oauth_1_0.raml +0 -29
- package/demo/apis/security-api/security/passthrough.raml +0 -12
- package/demo/apis/security-api/security/x-custom.raml +0 -26
- package/demo/apis/security-api/security/x-other.raml +0 -29
- package/demo/apis/security-api/security-api.raml +0 -89
- package/demo/apis/servers-api/servers-api.yaml +0 -80
- package/demo/apis/simple-api/simple-api.raml +0 -12
- package/demo/apis/steveTest-1/exchange.json +0 -6
- package/demo/apis/steveTest-1/schemas/schema-termsConditionsAccept.json +0 -43
- package/demo/apis/steveTest-1/schemas_response/schema-termsConditionsAccept-Get.json +0 -24
- package/demo/apis/steveTest-1/stevetest.json +0 -167
- package/demo/apis/steveTest-1/traits/response-errors.json +0 -123
- package/demo/apis/steveTest-1/traits/schema-response-errors.json +0 -35
- package/demo/apis/streetlights2/streetlights2.yaml +0 -213
- package/demo/apis/tracked-examples/datatypes/employee.raml +0 -5
- package/demo/apis/tracked-examples/examples/employee.raml +0 -4
- package/demo/apis/tracked-examples/examples/employees.raml +0 -8
- package/demo/apis/tracked-examples/tracked-to-linked.raml +0 -28
- package/demo/apis/type-fragment/type-fragment.raml +0 -96
- package/demo/apis/types-list/exchange.json +0 -1
- package/demo/apis/types-list/library.raml +0 -7
- package/demo/apis/types-list/typeFromDataTypeFile.raml +0 -6
- package/demo/apis/types-list/types-list.raml +0 -38
- package/demo/apis/unordered-endpoints/unordered-endpoints.raml +0 -11
- package/demo/lib/DemoBindings.ts +0 -38
- package/demo/lib/amf/AmfPartialGraphStore.ts +0 -305
- package/demo/lib/amf/AmfPartialModel.ts +0 -690
- package/demo/lib/amf/ApiExamples.ts +0 -3270
- package/demo/lib/io/ApiStore.ts +0 -16
- package/demo/lib/io/SharedWorkerThread.ts +0 -31
- package/demo/lib/io/main.ts +0 -23
- package/demo/model.js +0 -203
- package/demo/store/IpAddress.js +0 -15
- package/demo/store/StorePlugin.js +0 -18
- package/demo/stores.md +0 -5
- package/dev/amf-server/AmfParser.js +0 -144
- package/dev/amf-server/AmfService.js +0 -136
- package/dev/amf-server/ApiError.js +0 -10
- package/dev/amf-server/ParserProcess.js +0 -101
- package/dev/amf-server/api.js +0 -146
- package/dev/types.d.ts +0 -28
- package/src/amf/lib/AmfInputParser.ts +0 -254
- package/src/amf/lib/AmfParameters.ts +0 -814
- package/src/amf/lib/AmfSecurity.ts +0 -45
- package/src/amf/lib/InputCache.ts +0 -100
- package/src/amf/lib/Oauth2RamlCustomData.ts +0 -265
- package/src/amf/lib/PayloadUtils.ts +0 -87
- package/src/amf/lib/QueryParameterProcessor.ts +0 -186
- package/src/amf/lib/UrlUtils.ts +0 -213
- package/src/amf/lib/Utils.ts +0 -220
- package/src/amf/lib/navigation-layout/ApiSorting.ts +0 -20
- package/src/amf/lib/navigation-layout/EndpointsTree.ts +0 -189
- package/src/amf/lib/navigation-layout/NaturalTree.ts +0 -100
- package/src/amf/plugins/ApiNavigationCommands.ts +0 -73
- package/src/amf/plugins/ApiNavigationContextMenu.ts +0 -43
- package/src/amf/store/AmfGraphStore.ts +0 -69
- package/src/amf/store/AmfStore.ts +0 -216
- package/src/amf/store/DomEventsAmfStore.ts +0 -4
- package/src/amf/store/InMemAmfGraphStore.ts +0 -630
- package/src/amf/store/Readme.md +0 -40
- package/src/amf/store/mixins/AmfStoreDomEventsMixin.ts +0 -132
- package/src/amf/types.ts +0 -359
- package/src/define/amf/api-annotation-document.ts +0 -14
- package/src/define/amf/api-authorization-editor.ts +0 -14
- package/src/define/amf/api-channel-document.ts +0 -14
- package/src/define/amf/api-documentation-document.ts +0 -14
- package/src/define/amf/api-documentation.ts +0 -14
- package/src/define/amf/api-navigation.ts +0 -14
- package/src/define/amf/api-operation-document.ts +0 -14
- package/src/define/amf/api-parameter-document.ts +0 -14
- package/src/define/amf/api-parametrized-security-scheme.ts +0 -14
- package/src/define/amf/api-payload-document.ts +0 -14
- package/src/define/amf/api-request-document.ts +0 -14
- package/src/define/amf/api-request-editor.ts +0 -14
- package/src/define/amf/api-request.ts +0 -14
- package/src/define/amf/api-resource-document.ts +0 -14
- package/src/define/amf/api-response-document.ts +0 -14
- package/src/define/amf/api-schema-document.ts +0 -14
- package/src/define/amf/api-security-document.ts +0 -14
- package/src/define/amf/api-security-requirement-document.ts +0 -14
- package/src/define/amf/api-server-picker.ts +0 -14
- package/src/define/amf/api-summary.ts +0 -14
- package/src/define/amf/authorization/amf-apikey-authorization.ts +0 -15
- package/src/define/amf/authorization/amf-basic-authorization.ts +0 -15
- package/src/define/amf/authorization/amf-bearer-authorization.ts +0 -15
- package/src/define/amf/authorization/amf-oauth2-authorization.ts +0 -18
- package/src/define/amf/authorization/amf-oidc-authorization.ts +0 -18
- package/src/define/amf/authorization/amf-passthrough-authorization.ts +0 -15
- package/src/define/amf/authorization/amf-ramlcustom-authorization.ts +0 -15
- package/src/elements/amf/ApiAnnotationDocument.element.ts +0 -181
- package/src/elements/amf/ApiAnnotationDocument.styles.ts +0 -46
- package/src/elements/amf/ApiAuthorizationEditor.element.ts +0 -364
- package/src/elements/amf/ApiAuthorizationEditor.styles.ts +0 -25
- package/src/elements/amf/ApiChannelDocument.element.ts +0 -89
- package/src/elements/amf/ApiDocumentation.element.ts +0 -642
- package/src/elements/amf/ApiDocumentation.styles.ts +0 -11
- package/src/elements/amf/ApiDocumentationBase.ts +0 -296
- package/src/elements/amf/ApiDocumentationDocument.element.ts +0 -85
- package/src/elements/amf/ApiDocumentationDocument.styles.ts +0 -32
- package/src/elements/amf/ApiNavigation.element.ts +0 -2285
- package/src/elements/amf/ApiNavigation.styles.ts +0 -159
- package/src/elements/amf/ApiOperationDocument.element.ts +0 -978
- package/src/elements/amf/ApiOperationDocument.styles.ts +0 -67
- package/src/elements/amf/ApiParameterDocument.element.ts +0 -105
- package/src/elements/amf/ApiParameterDocument.styles.ts +0 -15
- package/src/elements/amf/ApiParametrizedSecurityScheme.element.ts +0 -72
- package/src/elements/amf/ApiParametrizedSecurityScheme.styles.ts +0 -4
- package/src/elements/amf/ApiPayloadDocument.element.ts +0 -128
- package/src/elements/amf/ApiPayloadDocument.styles.ts +0 -15
- package/src/elements/amf/ApiRequest.element.ts +0 -260
- package/src/elements/amf/ApiRequest.styles.ts +0 -11
- package/src/elements/amf/ApiRequestDocument.element.ts +0 -388
- package/src/elements/amf/ApiRequestDocument.styles.ts +0 -13
- package/src/elements/amf/ApiRequestEditor.element.ts +0 -1773
- package/src/elements/amf/ApiRequestEditor.styles.ts +0 -160
- package/src/elements/amf/ApiResourceDocument.element.ts +0 -682
- package/src/elements/amf/ApiResourceDocument.styles.ts +0 -91
- package/src/elements/amf/ApiResponseDocument.element.ts +0 -290
- package/src/elements/amf/ApiResponseDocument.styles.ts +0 -41
- package/src/elements/amf/ApiSchemaDocument.element.ts +0 -786
- package/src/elements/amf/ApiSchemaDocument.styles.ts +0 -41
- package/src/elements/amf/ApiSecurityDocument.element.ts +0 -607
- package/src/elements/amf/ApiSecurityDocument.styles.ts +0 -89
- package/src/elements/amf/ApiSecurityRequirementDocument.element.ts +0 -72
- package/src/elements/amf/ApiSecurityRequirementDocument.styles.ts +0 -7
- package/src/elements/amf/ApiServerPicker.element.ts +0 -690
- package/src/elements/amf/ApiServerPicker.styles.ts +0 -25
- package/src/elements/amf/ApiSummary.element.ts +0 -387
- package/src/elements/amf/ApiSummary.styles.ts +0 -192
- package/src/elements/amf/SchemaCommonTemplates.ts +0 -563
- package/src/elements/amf/authorization/AmfApiKey.ts +0 -250
- package/src/elements/amf/authorization/AmfBasic.ts +0 -77
- package/src/elements/amf/authorization/AmfBearer.ts +0 -63
- package/src/elements/amf/authorization/AmfOauth2.ts +0 -830
- package/src/elements/amf/authorization/AmfOidc.ts +0 -66
- package/src/elements/amf/authorization/AmfPassThrough.ts +0 -261
- package/src/elements/amf/authorization/AmfRamlCustom.ts +0 -291
- package/src/elements/amf/authorization/Authorization.styles.ts +0 -40
- package/src/elements/amf/styles/AuthorizationMethod.ts +0 -46
- package/src/elements/amf/styles/Common.ts +0 -150
- package/src/elements/amf/styles/SchemaCommon.ts +0 -376
- package/src/events/amf/ApiEvents.ts +0 -47
- package/src/events/amf/BaseEvents.ts +0 -96
- package/src/events/amf/DocumentationEvents.ts +0 -29
- package/src/events/amf/EndpointEvents.ts +0 -37
- package/src/events/amf/EventTypes.ts +0 -64
- package/src/events/amf/Events.ts +0 -39
- package/src/events/amf/NavigationEvents.ts +0 -86
- package/src/events/amf/OperationEvents.ts +0 -29
- package/src/events/amf/PayloadEvents.ts +0 -18
- package/src/events/amf/ReportingEvents.ts +0 -28
- package/src/events/amf/RequestEvents.ts +0 -16
- package/src/events/amf/ResponseEvents.ts +0 -18
- package/src/events/amf/SecurityEvents.ts +0 -60
- package/src/events/amf/ServerEvents.ts +0 -94
- package/src/events/amf/StoreEvents.ts +0 -16
- package/src/events/amf/TelemetryEvents.ts +0 -115
- package/src/events/amf/TypeEvents.ts +0 -28
- package/src/visualization/elements/VizAssociationElement.ts +0 -3
- package/src/visualization/elements/VizWorkspaceElement.ts +0 -302
- package/src/visualization/elements/WorkspaceStyles.ts +0 -168
- package/src/visualization/lib/AnchorFinder.ts +0 -112
- package/src/visualization/lib/AnchorUtils.ts +0 -53
- package/src/visualization/lib/AssociationAnchors.ts +0 -418
- package/src/visualization/lib/LabelSketch.ts +0 -67
- package/src/visualization/lib/LineSketch.ts +0 -62
- package/src/visualization/lib/Point.ts +0 -134
- package/src/visualization/lib/PositionUtils.ts +0 -218
- package/src/visualization/lib/SelectionManager.ts +0 -513
- package/src/visualization/lib/ShapeArtist.ts +0 -222
- package/src/visualization/lib/SvgMarkers.ts +0 -80
- package/src/visualization/lib/TipSketch.ts +0 -91
- package/src/visualization/lib/TouchSupport.ts +0 -72
- package/src/visualization/lib/Utils.ts +0 -63
- package/src/visualization/lib/VisualizationTypes.ts +0 -232
- package/src/visualization/lib/WorkspaceAlignment.ts +0 -261
- package/src/visualization/lib/WorkspaceDebugging.ts +0 -313
- package/src/visualization/lib/WorkspaceEdges.ts +0 -1153
- package/src/visualization/lib/WorkspaceGestures.ts +0 -400
- package/src/visualization/lib/WorkspaceSizing.ts +0 -181
- package/src/visualization/lib/lines/RectilinearLine.ts +0 -589
- package/src/visualization/lib/tips/RectilinearTip.ts +0 -156
- package/src/visualization/lib/tips/TipArtist.ts +0 -34
- package/src/visualization/lib/types.ts +0 -173
- package/src/visualization/plugin/dnd/DragAndDropPlugin.ts +0 -294
- package/src/visualization/plugin/group-selection/GroupSelection.ts +0 -271
- package/src/visualization/plugin/positioning/DataModelLayout.ts +0 -114
- package/src/visualization/plugin/positioning/WorkspaceLayout.ts +0 -149
- package/src/visualization/viz-association.ts +0 -9
- package/src/visualization/viz-workspace.ts +0 -9
- package/test/amf/AmfLoader.ts +0 -575
- package/test/amf/MonacoSetup.ts +0 -63
- package/test/amf/authorization/ApiAuthorizationEditorElement.oas.test.ts +0 -253
- package/test/amf/authorization/ApiAuthorizationEditorElement.raml.test.ts +0 -477
- package/test/amf/authorization/ApiKeyMethod.test.ts +0 -160
- package/test/amf/authorization/CustomMethod.test.ts +0 -306
- package/test/amf/authorization/OAuth2-21143.test.ts +0 -40
- package/test/amf/authorization/OAuth2-flows.test.ts +0 -99
- package/test/amf/authorization/OAuth2-pkce.test.ts +0 -39
- package/test/amf/authorization/OAuth2Method.test.ts +0 -369
- package/test/amf/authorization/PassThroughMethod.test.ts +0 -180
- package/test/amf/elements/ApiAnnotationDocumentElement.test.ts +0 -123
- package/test/amf/elements/ApiDocumentationDocumentElement.test.ts +0 -153
- package/test/amf/elements/ApiDocumentationElement.test.ts +0 -680
- package/test/amf/elements/ApiOperationDocumentElement.test.ts +0 -753
- package/test/amf/elements/ApiRequestDocumentElement.test.ts +0 -165
- package/test/amf/elements/ApiResourceDocumentElement.test.ts +0 -320
- package/test/amf/elements/ApiResponseDocumentElement.test.ts +0 -288
- package/test/amf/elements/ApiSchemaDocumentElement.test.ts +0 -934
- package/test/amf/elements/ApiSecurityDocumentElement.test.ts +0 -667
- package/test/amf/elements/ApiSecurityRequirementDocumentElement.test.ts +0 -58
- package/test/amf/elements/ApiServerPickerElement.test.ts +0 -960
- package/test/amf/elements/ApiSummaryElement.test.ts +0 -485
- package/test/amf/elements/SE-12957.test.ts +0 -49
- package/test/amf/events/ApiEvents.test.ts +0 -32
- package/test/amf/events/EndpointEvents.test.ts +0 -94
- package/test/amf/events/EventHelper.ts +0 -11
- package/test/amf/events/EventTypes.test.ts +0 -241
- package/test/amf/events/NavigationEvents.test.ts +0 -58
- package/test/amf/events/ReportingEvents.test.ts +0 -53
- package/test/amf/events/StoreEvents.test.ts +0 -21
- package/test/amf/events/TelemetryEvents.test.ts +0 -202
- package/test/amf/http-request/APIC-289.test.ts +0 -66
- package/test/amf/http-request/APIC-298.test.ts +0 -49
- package/test/amf/http-request/APIC-689.test.ts +0 -45
- package/test/amf/http-request/ApiRequestEditorElement.test.ts +0 -1472
- package/test/amf/http-request/ApiRequestElement.test.ts +0 -39
- package/test/amf/http-request/SE-12042.test.ts +0 -56
- package/test/amf/http-request/SE-12957.test.ts +0 -80
- package/test/amf/http-request/server.ts +0 -154
- package/test/amf/lib/UrlUtils.test.ts +0 -324
- package/test/amf/navigation/ApiNavigationElement.test.ts +0 -1464
- package/test/amf/navigation/documentation-fragment.test.ts +0 -77
- package/test/amf/navigation/security-fragment.test.ts +0 -77
- package/test/amf/navigation/type-fragment.test.ts +0 -77
- package/test/env.d.ts +0 -9
- package/test/env.js +0 -7
- package/test/visualization/lib/AnchorFinder.test.ts +0 -313
- package/test/visualization/lib/AnchorUtils.test.ts +0 -178
- package/test/visualization/lib/PositionUtils.test.ts +0 -406
- package/test/visualization/lib/test-styles.css +0 -80
- package/tsconfig.browser.json +0 -40
- package/tsconfig.testing.json +0 -39
- package/wds-demo.config.js +0 -49
- /package/demo/{elements/md → md}/DemoStyles.ts +0 -0
- /package/demo/{elements/md → md}/chip/pawel6c9a.jpg +0 -0
|
@@ -1,1002 +0,0 @@
|
|
|
1
|
-
import { __esDecorate, __runInitializers } from "tslib";
|
|
2
|
-
import { html, nothing } from 'lit';
|
|
3
|
-
import { property } from 'lit/decorators.js';
|
|
4
|
-
import { classMap } from 'lit/directives/class-map.js';
|
|
5
|
-
import { ApiSchemaValues } from '@api-client/core/amf/ApiSchemaValues.js';
|
|
6
|
-
import { AmfNamespace } from '@api-client/core/amf/definitions/Namespace.js';
|
|
7
|
-
import { ApiSchemaGenerator } from '@api-client/core/amf/ApiSchemaGenerator.js';
|
|
8
|
-
import { QueryParameterProcessor } from '../../amf/lib/QueryParameterProcessor.js';
|
|
9
|
-
import { ApiDocumentationBase } from './ApiDocumentationBase.js';
|
|
10
|
-
import { Events } from '../../events/amf/Events.js';
|
|
11
|
-
import { joinTraitNames } from '../../amf/lib/Utils.js';
|
|
12
|
-
import * as UrlLib from '../../amf/lib/UrlUtils.js';
|
|
13
|
-
import { tablePropertyTemplate } from './SchemaCommonTemplates.js';
|
|
14
|
-
import '../../define/amf/api-request-document.js';
|
|
15
|
-
import '../../define/amf/api-response-document.js';
|
|
16
|
-
import '../../define/amf/api-security-requirement-document.js';
|
|
17
|
-
import '../../md/icons/ui-icon.js';
|
|
18
|
-
import '../../md/button/ui-filled-button.js';
|
|
19
|
-
import '../../md/tabs/ui-tabs.js';
|
|
20
|
-
import '../../md/tabs/ui-tab.js';
|
|
21
|
-
import '../../md/divider/ui-divider.js';
|
|
22
|
-
import '../../define/http/http-snippets.js';
|
|
23
|
-
let ApiOperationDocument = (() => {
|
|
24
|
-
let _classSuper = ApiDocumentationBase;
|
|
25
|
-
let _instanceExtraInitializers = [];
|
|
26
|
-
let _set_serverId_decorators;
|
|
27
|
-
let _set_baseUri_decorators;
|
|
28
|
-
let _securityId_decorators;
|
|
29
|
-
let _securityId_initializers = [];
|
|
30
|
-
let _securityId_extraInitializers = [];
|
|
31
|
-
let _responsesOpened_decorators;
|
|
32
|
-
let _responsesOpened_initializers = [];
|
|
33
|
-
let _responsesOpened_extraInitializers = [];
|
|
34
|
-
let _securityOpened_decorators;
|
|
35
|
-
let _securityOpened_initializers = [];
|
|
36
|
-
let _securityOpened_extraInitializers = [];
|
|
37
|
-
let _snippetsOpened_decorators;
|
|
38
|
-
let _snippetsOpened_initializers = [];
|
|
39
|
-
let _snippetsOpened_extraInitializers = [];
|
|
40
|
-
let _selectedStatus_decorators;
|
|
41
|
-
let _selectedStatus_initializers = [];
|
|
42
|
-
let _selectedStatus_extraInitializers = [];
|
|
43
|
-
let _callbacksOpened_decorators;
|
|
44
|
-
let _callbacksOpened_initializers = [];
|
|
45
|
-
let _callbacksOpened_extraInitializers = [];
|
|
46
|
-
let _tryItButton_decorators;
|
|
47
|
-
let _tryItButton_initializers = [];
|
|
48
|
-
let _tryItButton_extraInitializers = [];
|
|
49
|
-
let _asyncApi_decorators;
|
|
50
|
-
let _asyncApi_initializers = [];
|
|
51
|
-
let _asyncApi_extraInitializers = [];
|
|
52
|
-
let _renderCodeSnippets_decorators;
|
|
53
|
-
let _renderCodeSnippets_initializers = [];
|
|
54
|
-
let _renderCodeSnippets_extraInitializers = [];
|
|
55
|
-
let _showSecurity_decorators;
|
|
56
|
-
let _showSecurity_initializers = [];
|
|
57
|
-
let _showSecurity_extraInitializers = [];
|
|
58
|
-
let _requestMimeType_decorators;
|
|
59
|
-
let _requestMimeType_initializers = [];
|
|
60
|
-
let _requestMimeType_extraInitializers = [];
|
|
61
|
-
let _endpointId_decorators;
|
|
62
|
-
let _endpointId_initializers = [];
|
|
63
|
-
let _endpointId_extraInitializers = [];
|
|
64
|
-
return class ApiOperationDocument extends _classSuper {
|
|
65
|
-
static {
|
|
66
|
-
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
67
|
-
_set_serverId_decorators = [property({ type: String, reflect: true })];
|
|
68
|
-
_set_baseUri_decorators = [property({ type: String })];
|
|
69
|
-
_securityId_decorators = [property({ type: String, reflect: true })];
|
|
70
|
-
_responsesOpened_decorators = [property({ type: Boolean, reflect: true })];
|
|
71
|
-
_securityOpened_decorators = [property({ type: Boolean, reflect: true })];
|
|
72
|
-
_snippetsOpened_decorators = [property({ type: Boolean, reflect: true })];
|
|
73
|
-
_selectedStatus_decorators = [property({ type: String })];
|
|
74
|
-
_callbacksOpened_decorators = [property({ type: Boolean, reflect: true })];
|
|
75
|
-
_tryItButton_decorators = [property({ type: Boolean, reflect: true })];
|
|
76
|
-
_asyncApi_decorators = [property({ type: Boolean, reflect: true })];
|
|
77
|
-
_renderCodeSnippets_decorators = [property({ type: Boolean, reflect: true })];
|
|
78
|
-
_showSecurity_decorators = [property({ type: Boolean, reflect: true })];
|
|
79
|
-
_requestMimeType_decorators = [property({ type: String })];
|
|
80
|
-
_endpointId_decorators = [property({ type: String })];
|
|
81
|
-
__esDecorate(this, null, _set_serverId_decorators, { kind: "setter", name: "serverId", static: false, private: false, access: { has: obj => "serverId" in obj, set: (obj, value) => { obj.serverId = value; } }, metadata: _metadata }, null, _instanceExtraInitializers);
|
|
82
|
-
__esDecorate(this, null, _set_baseUri_decorators, { kind: "setter", name: "baseUri", static: false, private: false, access: { has: obj => "baseUri" in obj, set: (obj, value) => { obj.baseUri = value; } }, metadata: _metadata }, null, _instanceExtraInitializers);
|
|
83
|
-
__esDecorate(this, null, _securityId_decorators, { kind: "accessor", name: "securityId", static: false, private: false, access: { has: obj => "securityId" in obj, get: obj => obj.securityId, set: (obj, value) => { obj.securityId = value; } }, metadata: _metadata }, _securityId_initializers, _securityId_extraInitializers);
|
|
84
|
-
__esDecorate(this, null, _responsesOpened_decorators, { kind: "accessor", name: "responsesOpened", static: false, private: false, access: { has: obj => "responsesOpened" in obj, get: obj => obj.responsesOpened, set: (obj, value) => { obj.responsesOpened = value; } }, metadata: _metadata }, _responsesOpened_initializers, _responsesOpened_extraInitializers);
|
|
85
|
-
__esDecorate(this, null, _securityOpened_decorators, { kind: "accessor", name: "securityOpened", static: false, private: false, access: { has: obj => "securityOpened" in obj, get: obj => obj.securityOpened, set: (obj, value) => { obj.securityOpened = value; } }, metadata: _metadata }, _securityOpened_initializers, _securityOpened_extraInitializers);
|
|
86
|
-
__esDecorate(this, null, _snippetsOpened_decorators, { kind: "accessor", name: "snippetsOpened", static: false, private: false, access: { has: obj => "snippetsOpened" in obj, get: obj => obj.snippetsOpened, set: (obj, value) => { obj.snippetsOpened = value; } }, metadata: _metadata }, _snippetsOpened_initializers, _snippetsOpened_extraInitializers);
|
|
87
|
-
__esDecorate(this, null, _selectedStatus_decorators, { kind: "accessor", name: "selectedStatus", static: false, private: false, access: { has: obj => "selectedStatus" in obj, get: obj => obj.selectedStatus, set: (obj, value) => { obj.selectedStatus = value; } }, metadata: _metadata }, _selectedStatus_initializers, _selectedStatus_extraInitializers);
|
|
88
|
-
__esDecorate(this, null, _callbacksOpened_decorators, { kind: "accessor", name: "callbacksOpened", static: false, private: false, access: { has: obj => "callbacksOpened" in obj, get: obj => obj.callbacksOpened, set: (obj, value) => { obj.callbacksOpened = value; } }, metadata: _metadata }, _callbacksOpened_initializers, _callbacksOpened_extraInitializers);
|
|
89
|
-
__esDecorate(this, null, _tryItButton_decorators, { kind: "accessor", name: "tryItButton", static: false, private: false, access: { has: obj => "tryItButton" in obj, get: obj => obj.tryItButton, set: (obj, value) => { obj.tryItButton = value; } }, metadata: _metadata }, _tryItButton_initializers, _tryItButton_extraInitializers);
|
|
90
|
-
__esDecorate(this, null, _asyncApi_decorators, { kind: "accessor", name: "asyncApi", static: false, private: false, access: { has: obj => "asyncApi" in obj, get: obj => obj.asyncApi, set: (obj, value) => { obj.asyncApi = value; } }, metadata: _metadata }, _asyncApi_initializers, _asyncApi_extraInitializers);
|
|
91
|
-
__esDecorate(this, null, _renderCodeSnippets_decorators, { kind: "accessor", name: "renderCodeSnippets", static: false, private: false, access: { has: obj => "renderCodeSnippets" in obj, get: obj => obj.renderCodeSnippets, set: (obj, value) => { obj.renderCodeSnippets = value; } }, metadata: _metadata }, _renderCodeSnippets_initializers, _renderCodeSnippets_extraInitializers);
|
|
92
|
-
__esDecorate(this, null, _showSecurity_decorators, { kind: "accessor", name: "showSecurity", static: false, private: false, access: { has: obj => "showSecurity" in obj, get: obj => obj.showSecurity, set: (obj, value) => { obj.showSecurity = value; } }, metadata: _metadata }, _showSecurity_initializers, _showSecurity_extraInitializers);
|
|
93
|
-
__esDecorate(this, null, _requestMimeType_decorators, { kind: "accessor", name: "requestMimeType", static: false, private: false, access: { has: obj => "requestMimeType" in obj, get: obj => obj.requestMimeType, set: (obj, value) => { obj.requestMimeType = value; } }, metadata: _metadata }, _requestMimeType_initializers, _requestMimeType_extraInitializers);
|
|
94
|
-
__esDecorate(this, null, _endpointId_decorators, { kind: "accessor", name: "endpointId", static: false, private: false, access: { has: obj => "endpointId" in obj, get: obj => obj.endpointId, set: (obj, value) => { obj.endpointId = value; } }, metadata: _metadata }, _endpointId_initializers, _endpointId_extraInitializers);
|
|
95
|
-
if (_metadata) Object.defineProperty(this, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
96
|
-
}
|
|
97
|
-
endpointValue = __runInitializers(this, _instanceExtraInitializers);
|
|
98
|
-
operationValue;
|
|
99
|
-
serversValue;
|
|
100
|
-
responsesValue;
|
|
101
|
-
serverIdValue;
|
|
102
|
-
baseUriValue;
|
|
103
|
-
urlValue;
|
|
104
|
-
versionValue;
|
|
105
|
-
protocolsValue;
|
|
106
|
-
snippetsPayloadValue;
|
|
107
|
-
snippetsHeadersValue;
|
|
108
|
-
snippetsParametersValue;
|
|
109
|
-
/**
|
|
110
|
-
* The id of the currently selected server to use to construct the URL.
|
|
111
|
-
* If not set a first server in the API servers array is used.
|
|
112
|
-
* @attribute
|
|
113
|
-
*/
|
|
114
|
-
get serverId() {
|
|
115
|
-
return this.serverIdValue;
|
|
116
|
-
}
|
|
117
|
-
set serverId(value) {
|
|
118
|
-
const old = this.serverIdValue;
|
|
119
|
-
if (old === value) {
|
|
120
|
-
return;
|
|
121
|
-
}
|
|
122
|
-
this.serverIdValue = value;
|
|
123
|
-
this.computeUrlValue();
|
|
124
|
-
this.computeParametersValue();
|
|
125
|
-
this.requestUpdate();
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* The computed list of servers.
|
|
129
|
-
*/
|
|
130
|
-
get servers() {
|
|
131
|
-
return this.serversValue;
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* The current server in use.
|
|
135
|
-
*/
|
|
136
|
-
get server() {
|
|
137
|
-
const servers = this.serversValue;
|
|
138
|
-
const serverId = this.serverIdValue;
|
|
139
|
-
let server;
|
|
140
|
-
if (Array.isArray(servers) && servers.length) {
|
|
141
|
-
if (serverId) {
|
|
142
|
-
server = servers.find((item) => item.id === serverId);
|
|
143
|
-
}
|
|
144
|
-
else {
|
|
145
|
-
;
|
|
146
|
-
[server] = servers;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
return server;
|
|
150
|
-
}
|
|
151
|
-
get operation() {
|
|
152
|
-
return this.operationValue;
|
|
153
|
-
}
|
|
154
|
-
set operation(value) {
|
|
155
|
-
const old = this.operationValue;
|
|
156
|
-
if (old === value) {
|
|
157
|
-
return;
|
|
158
|
-
}
|
|
159
|
-
this.operationValue = value;
|
|
160
|
-
this.processGraph();
|
|
161
|
-
}
|
|
162
|
-
get endpoint() {
|
|
163
|
-
return this.endpointValue;
|
|
164
|
-
}
|
|
165
|
-
set endpoint(value) {
|
|
166
|
-
const old = this.endpointValue;
|
|
167
|
-
if (old === value) {
|
|
168
|
-
return;
|
|
169
|
-
}
|
|
170
|
-
this.endpointValue = value;
|
|
171
|
-
this.computeUrlValue();
|
|
172
|
-
this.computeParametersValue();
|
|
173
|
-
this.requestUpdate();
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* A property to set to override AMF's model base URI information.
|
|
177
|
-
* When this property is set, the `endpointUri` property is recalculated.
|
|
178
|
-
* @attribute
|
|
179
|
-
*/
|
|
180
|
-
get baseUri() {
|
|
181
|
-
return this.baseUriValue;
|
|
182
|
-
}
|
|
183
|
-
set baseUri(value) {
|
|
184
|
-
const old = this.baseUriValue;
|
|
185
|
-
if (old === value) {
|
|
186
|
-
return;
|
|
187
|
-
}
|
|
188
|
-
this.baseUriValue = value;
|
|
189
|
-
this.computeUrlValue();
|
|
190
|
-
this.computeParametersValue();
|
|
191
|
-
this.requestUpdate();
|
|
192
|
-
}
|
|
193
|
-
/**
|
|
194
|
-
* The computed URI for the endpoint.
|
|
195
|
-
*/
|
|
196
|
-
get endpointUri() {
|
|
197
|
-
return this.urlValue;
|
|
198
|
-
}
|
|
199
|
-
get snippetsUri() {
|
|
200
|
-
const base = this.urlValue || '';
|
|
201
|
-
const query = this.snippetsParametersValue || '';
|
|
202
|
-
return `${base}${query}`;
|
|
203
|
-
}
|
|
204
|
-
/**
|
|
205
|
-
* The computed list of responses for this operation.
|
|
206
|
-
*/
|
|
207
|
-
get responses() {
|
|
208
|
-
return this.responsesValue;
|
|
209
|
-
}
|
|
210
|
-
/**
|
|
211
|
-
* The API's protocols.
|
|
212
|
-
*/
|
|
213
|
-
get protocols() {
|
|
214
|
-
return this.protocolsValue;
|
|
215
|
-
}
|
|
216
|
-
get version() {
|
|
217
|
-
return this.versionValue;
|
|
218
|
-
}
|
|
219
|
-
#securityId_accessor_storage = __runInitializers(this, _securityId_initializers, void 0);
|
|
220
|
-
/**
|
|
221
|
-
* The domain id of the currently selected security to render.
|
|
222
|
-
* This is only used when a multiple security schemes are applied to the operation.
|
|
223
|
-
* @attribute
|
|
224
|
-
*/
|
|
225
|
-
get securityId() { return this.#securityId_accessor_storage; }
|
|
226
|
-
set securityId(value) { this.#securityId_accessor_storage = value; }
|
|
227
|
-
#responsesOpened_accessor_storage = (__runInitializers(this, _securityId_extraInitializers), __runInitializers(this, _responsesOpened_initializers, void 0));
|
|
228
|
-
/**
|
|
229
|
-
* When set it opens the response section
|
|
230
|
-
* @attribute
|
|
231
|
-
*/
|
|
232
|
-
get responsesOpened() { return this.#responsesOpened_accessor_storage; }
|
|
233
|
-
set responsesOpened(value) { this.#responsesOpened_accessor_storage = value; }
|
|
234
|
-
#securityOpened_accessor_storage = (__runInitializers(this, _responsesOpened_extraInitializers), __runInitializers(this, _securityOpened_initializers, void 0));
|
|
235
|
-
/**
|
|
236
|
-
* When set it opens the security section
|
|
237
|
-
* @attribute
|
|
238
|
-
*/
|
|
239
|
-
get securityOpened() { return this.#securityOpened_accessor_storage; }
|
|
240
|
-
set securityOpened(value) { this.#securityOpened_accessor_storage = value; }
|
|
241
|
-
#snippetsOpened_accessor_storage = (__runInitializers(this, _securityOpened_extraInitializers), __runInitializers(this, _snippetsOpened_initializers, void 0));
|
|
242
|
-
/**
|
|
243
|
-
* When set it opens the code snippets section
|
|
244
|
-
* @attribute
|
|
245
|
-
*/
|
|
246
|
-
get snippetsOpened() { return this.#snippetsOpened_accessor_storage; }
|
|
247
|
-
set snippetsOpened(value) { this.#snippetsOpened_accessor_storage = value; }
|
|
248
|
-
#selectedStatus_accessor_storage = (__runInitializers(this, _snippetsOpened_extraInitializers), __runInitializers(this, _selectedStatus_initializers, void 0));
|
|
249
|
-
/**
|
|
250
|
-
* The selected status code in the responses section.
|
|
251
|
-
* @attribute
|
|
252
|
-
*/
|
|
253
|
-
get selectedStatus() { return this.#selectedStatus_accessor_storage; }
|
|
254
|
-
set selectedStatus(value) { this.#selectedStatus_accessor_storage = value; }
|
|
255
|
-
#callbacksOpened_accessor_storage = (__runInitializers(this, _selectedStatus_extraInitializers), __runInitializers(this, _callbacksOpened_initializers, void 0));
|
|
256
|
-
/**
|
|
257
|
-
* Whether the callbacks section is opened.
|
|
258
|
-
* @attribute
|
|
259
|
-
*/
|
|
260
|
-
get callbacksOpened() { return this.#callbacksOpened_accessor_storage; }
|
|
261
|
-
set callbacksOpened(value) { this.#callbacksOpened_accessor_storage = value; }
|
|
262
|
-
#tryItButton_accessor_storage = (__runInitializers(this, _callbacksOpened_extraInitializers), __runInitializers(this, _tryItButton_initializers, void 0));
|
|
263
|
-
/**
|
|
264
|
-
* When set it renders the "try it" button that dispatches the `tryit` event.
|
|
265
|
-
* @attribute
|
|
266
|
-
*/
|
|
267
|
-
get tryItButton() { return this.#tryItButton_accessor_storage; }
|
|
268
|
-
set tryItButton(value) { this.#tryItButton_accessor_storage = value; }
|
|
269
|
-
#asyncApi_accessor_storage = (__runInitializers(this, _tryItButton_extraInitializers), __runInitializers(this, _asyncApi_initializers, void 0));
|
|
270
|
-
/**
|
|
271
|
-
* When set it renders the view optimised for asynchronous API operation.
|
|
272
|
-
* @attribute
|
|
273
|
-
*/
|
|
274
|
-
get asyncApi() { return this.#asyncApi_accessor_storage; }
|
|
275
|
-
set asyncApi(value) { this.#asyncApi_accessor_storage = value; }
|
|
276
|
-
#renderCodeSnippets_accessor_storage = (__runInitializers(this, _asyncApi_extraInitializers), __runInitializers(this, _renderCodeSnippets_initializers, void 0));
|
|
277
|
-
/**
|
|
278
|
-
* When set it renders code examples section is the documentation
|
|
279
|
-
* @attribute
|
|
280
|
-
*/
|
|
281
|
-
get renderCodeSnippets() { return this.#renderCodeSnippets_accessor_storage; }
|
|
282
|
-
set renderCodeSnippets(value) { this.#renderCodeSnippets_accessor_storage = value; }
|
|
283
|
-
#showSecurity_accessor_storage = (__runInitializers(this, _renderCodeSnippets_extraInitializers), __runInitializers(this, _showSecurity_initializers, void 0));
|
|
284
|
-
/**
|
|
285
|
-
* When set it renders security documentation when applicable
|
|
286
|
-
* @attribute
|
|
287
|
-
*/
|
|
288
|
-
get showSecurity() { return this.#showSecurity_accessor_storage; }
|
|
289
|
-
set showSecurity(value) { this.#showSecurity_accessor_storage = value; }
|
|
290
|
-
#requestMimeType_accessor_storage = (__runInitializers(this, _showSecurity_extraInitializers), __runInitializers(this, _requestMimeType_initializers, void 0));
|
|
291
|
-
/**
|
|
292
|
-
* The currently rendered request panel mime type.
|
|
293
|
-
* @attribute
|
|
294
|
-
*/
|
|
295
|
-
get requestMimeType() { return this.#requestMimeType_accessor_storage; }
|
|
296
|
-
set requestMimeType(value) { this.#requestMimeType_accessor_storage = value; }
|
|
297
|
-
#endpointId_accessor_storage = (__runInitializers(this, _requestMimeType_extraInitializers), __runInitializers(this, _endpointId_initializers, void 0));
|
|
298
|
-
/**
|
|
299
|
-
* Optional. The parent endpoint id. When set it uses this value to query for the endpoint
|
|
300
|
-
* instead of querying for a parent through the operation id.
|
|
301
|
-
* Also, when `endpoint` is set and the `endpointId` match then it ignores querying for
|
|
302
|
-
* the endpoint.
|
|
303
|
-
* @attribute
|
|
304
|
-
*/
|
|
305
|
-
get endpointId() { return this.#endpointId_accessor_storage; }
|
|
306
|
-
set endpointId(value) { this.#endpointId_accessor_storage = value; }
|
|
307
|
-
async processGraph() {
|
|
308
|
-
await this.queryEndpoint();
|
|
309
|
-
await this.queryOperation();
|
|
310
|
-
await this.queryServers();
|
|
311
|
-
await this.queryProtocols();
|
|
312
|
-
await this.queryResponses();
|
|
313
|
-
this.preselectResponse();
|
|
314
|
-
this.preselectSecurity();
|
|
315
|
-
this.computeUrlValue();
|
|
316
|
-
this.computeParametersValue();
|
|
317
|
-
this.computeSnippetsPayload();
|
|
318
|
-
this.computeSnippetsHeaders();
|
|
319
|
-
this.requestUpdate();
|
|
320
|
-
await this.updateComplete;
|
|
321
|
-
this.dispatchEvent(new Event('graphload'));
|
|
322
|
-
}
|
|
323
|
-
/**
|
|
324
|
-
* Queries the store for the operation data, when needed.
|
|
325
|
-
*/
|
|
326
|
-
async queryOperation() {
|
|
327
|
-
const { domainId } = this;
|
|
328
|
-
if (!domainId) {
|
|
329
|
-
// this.operationValue = undefined;
|
|
330
|
-
return;
|
|
331
|
-
}
|
|
332
|
-
if (this.operationValue && this.operationValue.id === domainId) {
|
|
333
|
-
// in case the operation model was provided via the property setter.
|
|
334
|
-
return;
|
|
335
|
-
}
|
|
336
|
-
try {
|
|
337
|
-
const endpointId = this.endpointValue && this.endpointValue.id;
|
|
338
|
-
const info = await Events.Operation.get(this, domainId, endpointId);
|
|
339
|
-
this.operationValue = info;
|
|
340
|
-
}
|
|
341
|
-
catch (e) {
|
|
342
|
-
const ex = e;
|
|
343
|
-
Events.Telemetry.exception(this, ex.message, false);
|
|
344
|
-
Events.Reporting.error(this, ex, `Unable to query for API operation data: ${ex.message}`, this.localName);
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
/**
|
|
348
|
-
* Queries the store for the endpoint data.
|
|
349
|
-
*/
|
|
350
|
-
async queryEndpoint() {
|
|
351
|
-
const { domainId, endpointId } = this;
|
|
352
|
-
if (!domainId) {
|
|
353
|
-
// this.endpointValue = undefined;
|
|
354
|
-
return;
|
|
355
|
-
}
|
|
356
|
-
if (this.endpointValue && this.endpointValue.id === endpointId) {
|
|
357
|
-
// in case the endpoint model was provided via the property setter.
|
|
358
|
-
return;
|
|
359
|
-
}
|
|
360
|
-
this.endpointValue = undefined;
|
|
361
|
-
try {
|
|
362
|
-
const info = await (endpointId
|
|
363
|
-
? Events.Endpoint.get(this, endpointId)
|
|
364
|
-
: Events.Operation.getParent(this, domainId));
|
|
365
|
-
this.endpointValue = info;
|
|
366
|
-
}
|
|
367
|
-
catch (e) {
|
|
368
|
-
const ex = e;
|
|
369
|
-
Events.Telemetry.exception(this, ex.message, false);
|
|
370
|
-
Events.Reporting.error(this, ex, `Unable to query for API endpoint data: ${ex.message}`, this.localName);
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
/**
|
|
374
|
-
* Queries for the current servers value.
|
|
375
|
-
*/
|
|
376
|
-
async queryServers() {
|
|
377
|
-
const { domainId } = this;
|
|
378
|
-
const endpointId = this.endpointValue && this.endpointValue.id;
|
|
379
|
-
try {
|
|
380
|
-
const info = await Events.Server.query(this, {
|
|
381
|
-
endpointId,
|
|
382
|
-
methodId: domainId,
|
|
383
|
-
});
|
|
384
|
-
this.serversValue = info;
|
|
385
|
-
}
|
|
386
|
-
catch (e) {
|
|
387
|
-
const ex = e;
|
|
388
|
-
this.serversValue = undefined;
|
|
389
|
-
Events.Telemetry.exception(this, ex.message, false);
|
|
390
|
-
Events.Reporting.error(this, ex, `Unable to query for API servers: ${ex.message}`, this.localName);
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
/**
|
|
394
|
-
* Queries the API store for the API protocols list.
|
|
395
|
-
*/
|
|
396
|
-
async queryProtocols() {
|
|
397
|
-
this.protocolsValue = undefined;
|
|
398
|
-
try {
|
|
399
|
-
const info = await Events.Api.protocols(this);
|
|
400
|
-
this.protocolsValue = info;
|
|
401
|
-
}
|
|
402
|
-
catch (e) {
|
|
403
|
-
const ex = e;
|
|
404
|
-
Events.Telemetry.exception(this, ex.message, false);
|
|
405
|
-
Events.Reporting.error(this, ex, `Unable to query for API protocols list: ${ex.message}`, this.localName);
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
/**
|
|
409
|
-
* Queries the API store for the API version value.
|
|
410
|
-
*/
|
|
411
|
-
async queryVersion() {
|
|
412
|
-
this.versionValue = undefined;
|
|
413
|
-
try {
|
|
414
|
-
const info = await Events.Api.version(this);
|
|
415
|
-
this.versionValue = info;
|
|
416
|
-
}
|
|
417
|
-
catch (e) {
|
|
418
|
-
const ex = e;
|
|
419
|
-
Events.Telemetry.exception(this, ex.message, false);
|
|
420
|
-
Events.Reporting.error(this, ex, `Unable to query for API version value: ${ex.message}`, this.localName);
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
/**
|
|
424
|
-
* Queries for the responses data of the current operation.
|
|
425
|
-
*/
|
|
426
|
-
async queryResponses() {
|
|
427
|
-
this.responsesValue = undefined;
|
|
428
|
-
const { operation } = this;
|
|
429
|
-
if (!operation) {
|
|
430
|
-
return;
|
|
431
|
-
}
|
|
432
|
-
const { responses = [] } = operation;
|
|
433
|
-
if (!responses.length) {
|
|
434
|
-
return;
|
|
435
|
-
}
|
|
436
|
-
this.responsesValue = responses;
|
|
437
|
-
}
|
|
438
|
-
/**
|
|
439
|
-
* Updates the `selectedStatus` if not selected or the current selection doesn't
|
|
440
|
-
* exists in the current list of responses.
|
|
441
|
-
*/
|
|
442
|
-
preselectResponse() {
|
|
443
|
-
const responses = this.responsesValue;
|
|
444
|
-
if (!Array.isArray(responses) || !responses.length) {
|
|
445
|
-
return;
|
|
446
|
-
}
|
|
447
|
-
responses.sort((a, b) => {
|
|
448
|
-
if (a.statusCode === b.statusCode) {
|
|
449
|
-
return 0;
|
|
450
|
-
}
|
|
451
|
-
return Number(a.statusCode) > Number(b.statusCode) ? 1 : -1;
|
|
452
|
-
});
|
|
453
|
-
const { selectedStatus } = this;
|
|
454
|
-
if (!selectedStatus) {
|
|
455
|
-
this.selectedStatus = responses[0].statusCode;
|
|
456
|
-
return;
|
|
457
|
-
}
|
|
458
|
-
const selected = responses.find((item) => item.statusCode === selectedStatus);
|
|
459
|
-
if (selected) {
|
|
460
|
-
return;
|
|
461
|
-
}
|
|
462
|
-
this.selectedStatus = responses[0].statusCode;
|
|
463
|
-
}
|
|
464
|
-
/**
|
|
465
|
-
* Updates the `securityId` if not selected or the current selection doesn't
|
|
466
|
-
* exists in the current list of security.
|
|
467
|
-
*/
|
|
468
|
-
preselectSecurity() {
|
|
469
|
-
const { operation, showSecurity: renderSecurity, securityId } = this;
|
|
470
|
-
if (!renderSecurity || !operation || !Array.isArray(operation.security) || !operation.security.length) {
|
|
471
|
-
return;
|
|
472
|
-
}
|
|
473
|
-
if (!securityId) {
|
|
474
|
-
this.securityId = operation.security[0].id;
|
|
475
|
-
return;
|
|
476
|
-
}
|
|
477
|
-
const selected = operation.security.find((item) => item.id === securityId);
|
|
478
|
-
if (selected) {
|
|
479
|
-
return;
|
|
480
|
-
}
|
|
481
|
-
this.securityId = operation.security[0].id;
|
|
482
|
-
}
|
|
483
|
-
/**
|
|
484
|
-
* Computes the URL value for the current serves, selected server, and endpoint's path.
|
|
485
|
-
*/
|
|
486
|
-
computeUrlValue() {
|
|
487
|
-
if (this.asyncApi) {
|
|
488
|
-
return;
|
|
489
|
-
}
|
|
490
|
-
const { protocols, version, server, baseUri } = this;
|
|
491
|
-
const endpoint = this.endpointValue;
|
|
492
|
-
const url = UrlLib.computeEndpointUri({ baseUri, server, endpoint, protocols, version });
|
|
493
|
-
this.urlValue = url;
|
|
494
|
-
}
|
|
495
|
-
/**
|
|
496
|
-
* Computes query parameters for the code snippets.
|
|
497
|
-
*/
|
|
498
|
-
computeParametersValue() {
|
|
499
|
-
this.snippetsParametersValue = undefined;
|
|
500
|
-
const { operation } = this;
|
|
501
|
-
if (!operation) {
|
|
502
|
-
return;
|
|
503
|
-
}
|
|
504
|
-
const { request } = operation;
|
|
505
|
-
if (!request) {
|
|
506
|
-
return;
|
|
507
|
-
}
|
|
508
|
-
const { queryParameters, queryString } = request;
|
|
509
|
-
let params;
|
|
510
|
-
if (Array.isArray(queryParameters) && queryParameters.length) {
|
|
511
|
-
params = queryParameters;
|
|
512
|
-
}
|
|
513
|
-
else if (queryString) {
|
|
514
|
-
const factory = new QueryParameterProcessor();
|
|
515
|
-
const items = factory.collectOperationParameters(request.queryString, 'query');
|
|
516
|
-
if (Array.isArray(items) && items.length) {
|
|
517
|
-
params = items.map((i) => i.parameter);
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
if (!params || !params.length) {
|
|
521
|
-
return;
|
|
522
|
-
}
|
|
523
|
-
const qp = {};
|
|
524
|
-
params.forEach((param) => {
|
|
525
|
-
const { required, schema, paramName, name } = param;
|
|
526
|
-
if (!required) {
|
|
527
|
-
return;
|
|
528
|
-
}
|
|
529
|
-
const parameterName = paramName || name;
|
|
530
|
-
if (!parameterName) {
|
|
531
|
-
return;
|
|
532
|
-
}
|
|
533
|
-
const anySchema = schema;
|
|
534
|
-
const { defaultValueStr, examples = [] } = anySchema;
|
|
535
|
-
if (defaultValueStr) {
|
|
536
|
-
qp[parameterName] = defaultValueStr;
|
|
537
|
-
}
|
|
538
|
-
else if (examples.length) {
|
|
539
|
-
const exp = examples.find((e) => e.value);
|
|
540
|
-
if (exp && exp.value) {
|
|
541
|
-
qp[parameterName] = exp.value;
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
else {
|
|
545
|
-
const value = ApiSchemaValues.generateDefaultValue(schema);
|
|
546
|
-
if (value || value === false || value === 0 || value === null) {
|
|
547
|
-
qp[parameterName] = value;
|
|
548
|
-
}
|
|
549
|
-
// if (typeof value === 'undefined') {
|
|
550
|
-
// qp[parameterName] = '';
|
|
551
|
-
// } else {
|
|
552
|
-
// qp[parameterName] = value;
|
|
553
|
-
// }
|
|
554
|
-
}
|
|
555
|
-
});
|
|
556
|
-
const value = UrlLib.applyUrlParameters('', qp, true);
|
|
557
|
-
this.snippetsParametersValue = value;
|
|
558
|
-
}
|
|
559
|
-
/**
|
|
560
|
-
* Computes payload value for the code snippets.
|
|
561
|
-
*/
|
|
562
|
-
computeSnippetsPayload() {
|
|
563
|
-
this.snippetsPayloadValue = undefined;
|
|
564
|
-
if (this.asyncApi) {
|
|
565
|
-
return;
|
|
566
|
-
}
|
|
567
|
-
const { operation, requestMimeType } = this;
|
|
568
|
-
if (!operation || !requestMimeType) {
|
|
569
|
-
return;
|
|
570
|
-
}
|
|
571
|
-
const { request } = operation;
|
|
572
|
-
if (!request) {
|
|
573
|
-
return;
|
|
574
|
-
}
|
|
575
|
-
const { payloads = [] } = request;
|
|
576
|
-
if (!payloads.length) {
|
|
577
|
-
return;
|
|
578
|
-
}
|
|
579
|
-
const payload = payloads.find((p) => p.mediaType === requestMimeType);
|
|
580
|
-
if (!payload) {
|
|
581
|
-
return;
|
|
582
|
-
}
|
|
583
|
-
const { examples = [], schema } = payload;
|
|
584
|
-
let examplesCopy = [...examples];
|
|
585
|
-
const anySchema = schema;
|
|
586
|
-
if (Array.isArray(anySchema.examples) && anySchema.examples.length) {
|
|
587
|
-
examplesCopy = examplesCopy.concat(anySchema.examples);
|
|
588
|
-
}
|
|
589
|
-
examplesCopy = examplesCopy.filter((i) => !!i.value || !!i.structuredValue);
|
|
590
|
-
let payloadValue;
|
|
591
|
-
if (examplesCopy.length) {
|
|
592
|
-
const example = examplesCopy.find((e) => !!e.value);
|
|
593
|
-
if (example) {
|
|
594
|
-
payloadValue = this.evaluateExample(example, requestMimeType);
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
if (!payloadValue) {
|
|
598
|
-
payloadValue = ApiSchemaGenerator.asExample(schema, requestMimeType, {
|
|
599
|
-
renderExamples: true,
|
|
600
|
-
renderOptional: true,
|
|
601
|
-
});
|
|
602
|
-
}
|
|
603
|
-
if (payloadValue && payloadValue.renderValue) {
|
|
604
|
-
this.snippetsPayloadValue = payloadValue.renderValue;
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
/**
|
|
608
|
-
* Computes headers value for the code snippets.
|
|
609
|
-
*/
|
|
610
|
-
computeSnippetsHeaders() {
|
|
611
|
-
this.snippetsHeadersValue = undefined;
|
|
612
|
-
if (this.asyncApi) {
|
|
613
|
-
return;
|
|
614
|
-
}
|
|
615
|
-
const { operation, requestMimeType } = this;
|
|
616
|
-
if (!operation) {
|
|
617
|
-
return;
|
|
618
|
-
}
|
|
619
|
-
const { request, method } = operation;
|
|
620
|
-
if (!request) {
|
|
621
|
-
return;
|
|
622
|
-
}
|
|
623
|
-
const { headers = [] } = request;
|
|
624
|
-
const parts = [];
|
|
625
|
-
let hasMime = false;
|
|
626
|
-
headers.forEach((param) => {
|
|
627
|
-
const { paramName, name, schema } = param;
|
|
628
|
-
if (!schema || !schema.types.includes(AmfNamespace.aml.vocabularies.shapes.ScalarShape)) {
|
|
629
|
-
return;
|
|
630
|
-
}
|
|
631
|
-
const typedScalar = schema;
|
|
632
|
-
let value = ApiSchemaValues.readInputValue(param, typedScalar, { fromExamples: true });
|
|
633
|
-
if (Array.isArray(value)) {
|
|
634
|
-
value = value.join(',');
|
|
635
|
-
}
|
|
636
|
-
if (typeof value !== 'undefined') {
|
|
637
|
-
const headerName = paramName || name || '';
|
|
638
|
-
if (headerName.toLowerCase() === 'content-type') {
|
|
639
|
-
hasMime = true;
|
|
640
|
-
}
|
|
641
|
-
const header = `${paramName || name}: ${value}`;
|
|
642
|
-
parts.push(header);
|
|
643
|
-
}
|
|
644
|
-
});
|
|
645
|
-
if (!hasMime && requestMimeType && method !== 'get') {
|
|
646
|
-
parts.push(`content-type: ${requestMimeType}`);
|
|
647
|
-
}
|
|
648
|
-
this.snippetsHeadersValue = parts.join('\n');
|
|
649
|
-
}
|
|
650
|
-
/**
|
|
651
|
-
* A handler for the status code tab selection.
|
|
652
|
-
*/
|
|
653
|
-
handleStatusCode(e) {
|
|
654
|
-
const { item } = e.detail;
|
|
655
|
-
const { status } = item.dataset;
|
|
656
|
-
if (!status) {
|
|
657
|
-
return;
|
|
658
|
-
}
|
|
659
|
-
this.selectedStatus = status;
|
|
660
|
-
}
|
|
661
|
-
/**
|
|
662
|
-
* A handler for the status code tab selection.
|
|
663
|
-
*/
|
|
664
|
-
handleSecuritySelection(e) {
|
|
665
|
-
const { item } = e.detail;
|
|
666
|
-
const { id } = item.dataset;
|
|
667
|
-
if (!id) {
|
|
668
|
-
return;
|
|
669
|
-
}
|
|
670
|
-
this.securityId = id;
|
|
671
|
-
}
|
|
672
|
-
/**
|
|
673
|
-
* A handler for the try it button click.
|
|
674
|
-
* It dispatches the `tryit` custom event.
|
|
675
|
-
*/
|
|
676
|
-
handleTryIt() {
|
|
677
|
-
const { operation, asyncApi } = this;
|
|
678
|
-
if (!operation || asyncApi) {
|
|
679
|
-
return;
|
|
680
|
-
}
|
|
681
|
-
const { id } = operation;
|
|
682
|
-
const detail = { id };
|
|
683
|
-
const config = {
|
|
684
|
-
bubbles: true,
|
|
685
|
-
composed: true,
|
|
686
|
-
detail,
|
|
687
|
-
};
|
|
688
|
-
this.dispatchEvent(new CustomEvent('tryit', config));
|
|
689
|
-
}
|
|
690
|
-
/**
|
|
691
|
-
* A handler for the request panel mime type change.
|
|
692
|
-
*/
|
|
693
|
-
handleRequestMimeChange(e) {
|
|
694
|
-
const panel = e.target;
|
|
695
|
-
this.requestMimeType = panel.mimeType;
|
|
696
|
-
this.computeSnippetsPayload();
|
|
697
|
-
this.computeSnippetsHeaders();
|
|
698
|
-
this.requestUpdate();
|
|
699
|
-
}
|
|
700
|
-
render() {
|
|
701
|
-
const op = this.operationValue;
|
|
702
|
-
if (!op) {
|
|
703
|
-
return html ``;
|
|
704
|
-
}
|
|
705
|
-
return html `
|
|
706
|
-
${this.renderTitle(op)} ${this.renderSummary(op)} ${this.renderUrl(op)} ${this.renderTraits(op)}
|
|
707
|
-
${this.renderDeprecated(op)} ${this.descriptionTemplate(op.description)} ${this.renderMetaData(op)}
|
|
708
|
-
${this.customDomainPropertiesTemplate(op.customDomainProperties)} ${this.renderRequestTemplate()}
|
|
709
|
-
${this.renderCallbacks(op)} ${this.renderSnippets(op)} ${this.renderResponse()} ${this.renderSecuritySection(op)}
|
|
710
|
-
`;
|
|
711
|
-
}
|
|
712
|
-
/**
|
|
713
|
-
* @returns The template for the Operation title.
|
|
714
|
-
*/
|
|
715
|
-
renderTitle(operation) {
|
|
716
|
-
const { name, method, deprecated } = operation;
|
|
717
|
-
const label = name || method;
|
|
718
|
-
const labelClasses = {
|
|
719
|
-
'label': true,
|
|
720
|
-
'text-selectable': true,
|
|
721
|
-
deprecated,
|
|
722
|
-
};
|
|
723
|
-
const subTitle = this.asyncApi ? 'Async operation' : 'API operation';
|
|
724
|
-
return html `
|
|
725
|
-
<div class="operation-header">
|
|
726
|
-
<div class="operation-title">
|
|
727
|
-
<span class="${classMap(labelClasses)}">${label}</span>
|
|
728
|
-
${this.renderTryIt()}
|
|
729
|
-
</div>
|
|
730
|
-
<p class="sub-header">${subTitle}</p>
|
|
731
|
-
</div>
|
|
732
|
-
`;
|
|
733
|
-
}
|
|
734
|
-
/**
|
|
735
|
-
* @returns The template for the Operation traits.
|
|
736
|
-
*/
|
|
737
|
-
renderTraits(operation) {
|
|
738
|
-
const { extends: traits } = operation;
|
|
739
|
-
if (!traits || !traits.length) {
|
|
740
|
-
return '';
|
|
741
|
-
}
|
|
742
|
-
const value = joinTraitNames(traits);
|
|
743
|
-
return html ` <section class="extensions">
|
|
744
|
-
<p>Mixes in <span class="trait-name text-selectable">${value}</span>.</p>
|
|
745
|
-
</section>`;
|
|
746
|
-
}
|
|
747
|
-
/**
|
|
748
|
-
* @returns The template for the operation summary filed.
|
|
749
|
-
*/
|
|
750
|
-
renderSummary(operation) {
|
|
751
|
-
const { summary } = operation;
|
|
752
|
-
if (!summary) {
|
|
753
|
-
return '';
|
|
754
|
-
}
|
|
755
|
-
return html ` <p class="summary text-selectable">${summary}</p> `;
|
|
756
|
-
}
|
|
757
|
-
/**
|
|
758
|
-
* @returns The template for the Operation meta information.
|
|
759
|
-
*/
|
|
760
|
-
renderMetaData(operation) {
|
|
761
|
-
const { operationId } = operation;
|
|
762
|
-
const result = [];
|
|
763
|
-
if (operationId) {
|
|
764
|
-
result.push(tablePropertyTemplate('Operation ID', operationId, 'operation-id'));
|
|
765
|
-
}
|
|
766
|
-
if (result.length) {
|
|
767
|
-
return result;
|
|
768
|
-
}
|
|
769
|
-
return '';
|
|
770
|
-
}
|
|
771
|
-
/**
|
|
772
|
-
* @returns The template for the deprecated message.
|
|
773
|
-
*/
|
|
774
|
-
renderDeprecated(operation) {
|
|
775
|
-
const { deprecated } = operation;
|
|
776
|
-
if (!deprecated) {
|
|
777
|
-
return '';
|
|
778
|
-
}
|
|
779
|
-
return html `
|
|
780
|
-
<div class="deprecated-message">
|
|
781
|
-
<ui-icon icon="warning"></ui-icon>
|
|
782
|
-
<span class="message text-selectable"> This operation is marked as deprecated. </span>
|
|
783
|
-
</div>
|
|
784
|
-
`;
|
|
785
|
-
}
|
|
786
|
-
/**
|
|
787
|
-
* @returns The template for the operation's URL.
|
|
788
|
-
*/
|
|
789
|
-
renderUrl(operation) {
|
|
790
|
-
if (this.asyncApi) {
|
|
791
|
-
return '';
|
|
792
|
-
}
|
|
793
|
-
const url = this.urlValue;
|
|
794
|
-
const { method } = operation;
|
|
795
|
-
return html `
|
|
796
|
-
<div class="endpoint-url">
|
|
797
|
-
<div class="http-label" data-method="${method}">${method}</div>
|
|
798
|
-
<div class="url-value text-selectable">${url}</div>
|
|
799
|
-
</div>
|
|
800
|
-
`;
|
|
801
|
-
}
|
|
802
|
-
/**
|
|
803
|
-
* @returns The template for the operation's request documentation element.
|
|
804
|
-
*/
|
|
805
|
-
renderRequestTemplate() {
|
|
806
|
-
const { operation } = this;
|
|
807
|
-
if (!operation) {
|
|
808
|
-
return '';
|
|
809
|
-
}
|
|
810
|
-
const { server, endpoint } = this;
|
|
811
|
-
return html `
|
|
812
|
-
<api-request-document
|
|
813
|
-
.domainId="${operation.request && operation.request.id}"
|
|
814
|
-
.request="${operation.request}"
|
|
815
|
-
.server=${server}
|
|
816
|
-
.endpoint=${endpoint}
|
|
817
|
-
@mimechange="${this.handleRequestMimeChange}"
|
|
818
|
-
></api-request-document>
|
|
819
|
-
`;
|
|
820
|
-
}
|
|
821
|
-
renderCallbacks(operation) {
|
|
822
|
-
const { callbacks } = operation;
|
|
823
|
-
if (!Array.isArray(callbacks) || !callbacks.length) {
|
|
824
|
-
return '';
|
|
825
|
-
}
|
|
826
|
-
const content = callbacks.map((callback) => this.renderCallback(callback));
|
|
827
|
-
return this.paramsSectionTemplate('Callbacks', 'callbacksOpened', content);
|
|
828
|
-
}
|
|
829
|
-
/**
|
|
830
|
-
* @returns The template for the operation's request documentation element.
|
|
831
|
-
*/
|
|
832
|
-
renderCallback(callback) {
|
|
833
|
-
const { name, endpoint } = callback;
|
|
834
|
-
if (!endpoint) {
|
|
835
|
-
return html ``;
|
|
836
|
-
}
|
|
837
|
-
const { operations = [] } = endpoint;
|
|
838
|
-
const [operation] = operations;
|
|
839
|
-
if (!operation) {
|
|
840
|
-
return html ``;
|
|
841
|
-
}
|
|
842
|
-
return html `
|
|
843
|
-
<div class="callback-section">
|
|
844
|
-
<div class="heading4 table-title">${name}</div>
|
|
845
|
-
<api-operation-document
|
|
846
|
-
.domainId="${operation.id}"
|
|
847
|
-
.operation="${operation}"
|
|
848
|
-
.serverId="${this.serverId}"
|
|
849
|
-
.endpoint="${endpoint}"
|
|
850
|
-
data-domain-id="${operation.id}"
|
|
851
|
-
class="operation"
|
|
852
|
-
></api-operation-document>
|
|
853
|
-
</div>
|
|
854
|
-
`;
|
|
855
|
-
}
|
|
856
|
-
renderResponse() {
|
|
857
|
-
const responses = this.responsesValue;
|
|
858
|
-
if (!Array.isArray(responses) || !responses.length) {
|
|
859
|
-
return '';
|
|
860
|
-
}
|
|
861
|
-
const content = html ` ${this.renderResponseTabs(responses)} ${this.renderResponseContent(responses)} `;
|
|
862
|
-
return this.paramsSectionTemplate('Responses', 'responsesOpened', content);
|
|
863
|
-
}
|
|
864
|
-
/**
|
|
865
|
-
* @param responses The responses to render.
|
|
866
|
-
* @returns The template for the responses selector.
|
|
867
|
-
*/
|
|
868
|
-
renderResponseTabs(responses) {
|
|
869
|
-
const { selectedStatus } = this;
|
|
870
|
-
const filtered = responses.filter((item) => !!item.statusCode);
|
|
871
|
-
if (!filtered.length) {
|
|
872
|
-
return '';
|
|
873
|
-
}
|
|
874
|
-
return html `
|
|
875
|
-
<div class="status-codes-selector">
|
|
876
|
-
<ui-tabs .selected="${selectedStatus}" @select="${this.handleStatusCode}" priority="secondary" scrollable>
|
|
877
|
-
${filtered.map((item) => html `<ui-tab aria-controls="status${item.statusCode || 0}" data-status="${item.statusCode || 0}"
|
|
878
|
-
>${item.statusCode}</ui-tab
|
|
879
|
-
>`)}
|
|
880
|
-
</ui-tabs>
|
|
881
|
-
</div>
|
|
882
|
-
`;
|
|
883
|
-
}
|
|
884
|
-
/**
|
|
885
|
-
* @param responses The responses to render.
|
|
886
|
-
* @returns The template for the currently selected response.
|
|
887
|
-
*/
|
|
888
|
-
renderResponseContent(responses) {
|
|
889
|
-
const { selectedStatus } = this;
|
|
890
|
-
const response = responses.find((item) => item.statusCode === selectedStatus);
|
|
891
|
-
if (!response) {
|
|
892
|
-
return html `<div class="empty-info" id="status${selectedStatus}">
|
|
893
|
-
Select a response to render the documentation.
|
|
894
|
-
</div>`;
|
|
895
|
-
}
|
|
896
|
-
return html `
|
|
897
|
-
<api-response-document
|
|
898
|
-
id="status${selectedStatus}"
|
|
899
|
-
.domainId="${response.id}"
|
|
900
|
-
.response="${response}"
|
|
901
|
-
class="method-response"
|
|
902
|
-
></api-response-document>
|
|
903
|
-
`;
|
|
904
|
-
}
|
|
905
|
-
/**
|
|
906
|
-
* @returns The template for the security list section.
|
|
907
|
-
*/
|
|
908
|
-
renderSecuritySection(operation) {
|
|
909
|
-
const { showSecurity: renderSecurity, securityId } = this;
|
|
910
|
-
if (!renderSecurity || !operation || !Array.isArray(operation.security) || !operation.security.length) {
|
|
911
|
-
return '';
|
|
912
|
-
}
|
|
913
|
-
const { security } = operation;
|
|
914
|
-
const content = [];
|
|
915
|
-
if (security.length === 1) {
|
|
916
|
-
content.push(this.renderSecurity(security[0]));
|
|
917
|
-
}
|
|
918
|
-
else if (securityId) {
|
|
919
|
-
content.push(this.renderSecuritySelector(operation));
|
|
920
|
-
const item = security.find((i) => i.id === securityId);
|
|
921
|
-
if (item) {
|
|
922
|
-
content.push(this.renderSecurity(item));
|
|
923
|
-
}
|
|
924
|
-
}
|
|
925
|
-
return this.paramsSectionTemplate('Security', 'securityOpened', content);
|
|
926
|
-
}
|
|
927
|
-
renderSecurity(security) {
|
|
928
|
-
return html `<api-security-requirement-document
|
|
929
|
-
.domainId="${security.id}"
|
|
930
|
-
.securityRequirement="${security}"
|
|
931
|
-
id="security${security.id}"
|
|
932
|
-
></api-security-requirement-document>`;
|
|
933
|
-
}
|
|
934
|
-
renderSecuritySelector(operation) {
|
|
935
|
-
const { securityId } = this;
|
|
936
|
-
const { security } = operation;
|
|
937
|
-
return html `
|
|
938
|
-
<div class="security-selector">
|
|
939
|
-
<ui-tabs
|
|
940
|
-
.selected="${securityId}"
|
|
941
|
-
@select="${this.handleSecuritySelection}"
|
|
942
|
-
scrollable
|
|
943
|
-
selectedAttribute="data-id"
|
|
944
|
-
>
|
|
945
|
-
${security.map((item) => this.renderSecurityTab(item))}
|
|
946
|
-
</ui-tabs>
|
|
947
|
-
</div>
|
|
948
|
-
`;
|
|
949
|
-
}
|
|
950
|
-
renderSecurityTab(security) {
|
|
951
|
-
const { name, schemes = [], id } = security;
|
|
952
|
-
let label = 'unknown';
|
|
953
|
-
if (name) {
|
|
954
|
-
label = name;
|
|
955
|
-
}
|
|
956
|
-
else if (schemes.length) {
|
|
957
|
-
const parts = schemes.map((i) => i.name).filter((i) => !!i);
|
|
958
|
-
if (parts.length) {
|
|
959
|
-
label = parts.join('/');
|
|
960
|
-
}
|
|
961
|
-
}
|
|
962
|
-
return html `<ui-tab data-id="${id}" aria-controls="security${id}">${label}</ui-tab>`;
|
|
963
|
-
}
|
|
964
|
-
/**
|
|
965
|
-
* @returns The template for the "try it" button.
|
|
966
|
-
*/
|
|
967
|
-
renderTryIt() {
|
|
968
|
-
if (!this.tryItButton) {
|
|
969
|
-
return nothing;
|
|
970
|
-
}
|
|
971
|
-
return html ` <ui-filled-button class="action-button" @click="${this.handleTryIt}">Try it</ui-filled-button> `;
|
|
972
|
-
}
|
|
973
|
-
/**
|
|
974
|
-
* @returns The template for the code snippets.
|
|
975
|
-
*/
|
|
976
|
-
renderSnippets(operation) {
|
|
977
|
-
if (!this.renderCodeSnippets || this.asyncApi) {
|
|
978
|
-
return '';
|
|
979
|
-
}
|
|
980
|
-
const request = {
|
|
981
|
-
url: this.snippetsUri || '',
|
|
982
|
-
headers: this.snippetsHeadersValue,
|
|
983
|
-
method: (operation.method || '').toUpperCase(),
|
|
984
|
-
payload: this.snippetsPayloadValue,
|
|
985
|
-
};
|
|
986
|
-
const content = html `<http-snippets .request="${request}"></http-snippets>`;
|
|
987
|
-
return this.paramsSectionTemplate('Code snippets', 'snippetsOpened', content);
|
|
988
|
-
}
|
|
989
|
-
constructor() {
|
|
990
|
-
super(...arguments);
|
|
991
|
-
__runInitializers(this, _endpointId_extraInitializers);
|
|
992
|
-
}
|
|
993
|
-
};
|
|
994
|
-
})();
|
|
995
|
-
/**
|
|
996
|
-
* A web component that renders the documentation page for an API operation built from
|
|
997
|
-
* the AMF graph model.
|
|
998
|
-
*
|
|
999
|
-
* @fires tryit
|
|
1000
|
-
*/
|
|
1001
|
-
export default ApiOperationDocument;
|
|
1002
|
-
//# sourceMappingURL=ApiOperationDocument.element.js.map
|