@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,216 +0,0 @@
|
|
|
1
|
-
import { Point } from './Point.js';
|
|
2
|
-
import { IWorkspaceEdge } from './types.js';
|
|
3
|
-
export interface IShapeOrientation {
|
|
4
|
-
/**
|
|
5
|
-
* The transformation origin of the shape. It consists of `x y` coordinates
|
|
6
|
-
* expressed in pixel unit.
|
|
7
|
-
* E.g. "20px 100px" meaning that all transformations applied to the shape are relative to this point.
|
|
8
|
-
*/
|
|
9
|
-
transformOrigin: string;
|
|
10
|
-
/**
|
|
11
|
-
* The rotation of the object relative to the workspace.
|
|
12
|
-
* It may not be set for shapes that are not rotated (like lines).
|
|
13
|
-
*/
|
|
14
|
-
rotate?: number;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* A base class for a shape present in the SVG part of the visualization workspace.
|
|
18
|
-
*/
|
|
19
|
-
export interface IVisualizationShape extends IShapeOrientation {
|
|
20
|
-
/**
|
|
21
|
-
* For the shapes that supports this. It is a value to be added to SVG's element `points` or `d` attribute.
|
|
22
|
-
*/
|
|
23
|
-
path?: string;
|
|
24
|
-
/**
|
|
25
|
-
* The list of points that describe the shape.
|
|
26
|
-
* For a line this would be the start and end coordinates of the shape.
|
|
27
|
-
* For a triangle these are the coordinates of each vertex of it.
|
|
28
|
-
*/
|
|
29
|
-
coordinates?: Point[];
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Represents the selection state of the shape.
|
|
33
|
-
*/
|
|
34
|
-
export interface IVisualizationShapeSelection {
|
|
35
|
-
/**
|
|
36
|
-
* Whether the shape has the primary selection state.
|
|
37
|
-
* @default false;
|
|
38
|
-
*/
|
|
39
|
-
primary?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Whether the shape has the secondary selection state.
|
|
42
|
-
* Using primary and the secondary selection is discouraged.
|
|
43
|
-
* @default false;
|
|
44
|
-
*/
|
|
45
|
-
secondary?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* When set the shape should be hidden.
|
|
48
|
-
*/
|
|
49
|
-
hidden?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Whether the item is currently hovered.
|
|
52
|
-
*/
|
|
53
|
-
hover?: boolean;
|
|
54
|
-
}
|
|
55
|
-
export interface ISelectableShape {
|
|
56
|
-
/**
|
|
57
|
-
* The selection state of the shape.
|
|
58
|
-
*/
|
|
59
|
-
selection?: IVisualizationShapeSelection;
|
|
60
|
-
}
|
|
61
|
-
export type AssociationShapeType = 'linear' | 'rectilinear';
|
|
62
|
-
/**
|
|
63
|
-
* A base class for association related shapes
|
|
64
|
-
*/
|
|
65
|
-
export interface IVisualizationAssociationShape extends IVisualizationShape {
|
|
66
|
-
/**
|
|
67
|
-
* The type of the line. This is defined in `lib/LineSketch`.
|
|
68
|
-
*/
|
|
69
|
-
type: AssociationShapeType;
|
|
70
|
-
startPoint: Point;
|
|
71
|
-
endPoint: Point;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Association description for rectilinear style line.
|
|
75
|
-
*/
|
|
76
|
-
export interface IVisualizationRectilinearLineShape extends IVisualizationAssociationShape {
|
|
77
|
-
/**
|
|
78
|
-
* The list of points where the line breaks.
|
|
79
|
-
*/
|
|
80
|
-
controlPoints: Point[];
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* Cubic Bezier curve control points.
|
|
84
|
-
*/
|
|
85
|
-
export interface ICubicControlPoints {
|
|
86
|
-
/**
|
|
87
|
-
* Coordinates of the first control point
|
|
88
|
-
*/
|
|
89
|
-
cp1: Point;
|
|
90
|
-
/**
|
|
91
|
-
* Coordinates of the second control point
|
|
92
|
-
*/
|
|
93
|
-
cp2: Point;
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* The definition of an SVG shape that represents an association (edge) line between
|
|
97
|
-
* two other shapes.
|
|
98
|
-
*/
|
|
99
|
-
export interface IAssociationShape extends ISelectableShape {
|
|
100
|
-
/**
|
|
101
|
-
* Name of a CSS class to add to the line class attribute
|
|
102
|
-
*/
|
|
103
|
-
style?: string;
|
|
104
|
-
/**
|
|
105
|
-
* The association label. May not be set when the association object does not have a label.
|
|
106
|
-
*/
|
|
107
|
-
label?: IAssociationLabelShape;
|
|
108
|
-
/**
|
|
109
|
-
* The definition of the line start and end tips.
|
|
110
|
-
*/
|
|
111
|
-
tips?: ILineTips;
|
|
112
|
-
/**
|
|
113
|
-
* Name of the slots to use when calculating the association line's start and end points.
|
|
114
|
-
*/
|
|
115
|
-
slots?: IAssociationSlots;
|
|
116
|
-
/**
|
|
117
|
-
* The line definition for the shape.
|
|
118
|
-
*/
|
|
119
|
-
line: IVisualizationAssociationShape;
|
|
120
|
-
}
|
|
121
|
-
export interface IAssociationLabelShape extends IShapeOrientation {
|
|
122
|
-
/**
|
|
123
|
-
* The x coordinate of the label
|
|
124
|
-
*/
|
|
125
|
-
x: number;
|
|
126
|
-
/**
|
|
127
|
-
* The y coordinate of the label
|
|
128
|
-
*/
|
|
129
|
-
y: number;
|
|
130
|
-
/**
|
|
131
|
-
* The label's text value
|
|
132
|
-
*/
|
|
133
|
-
value: string;
|
|
134
|
-
/**
|
|
135
|
-
* The value to set on the `text-anchor` attribute of the `<text>`'s element.
|
|
136
|
-
*/
|
|
137
|
-
anchor?: string;
|
|
138
|
-
}
|
|
139
|
-
export interface IAssociationTip extends IVisualizationShape {
|
|
140
|
-
/**
|
|
141
|
-
* Name of a CSS class to add to the tip's class attribute
|
|
142
|
-
*/
|
|
143
|
-
style?: string;
|
|
144
|
-
/**
|
|
145
|
-
* The name of the SVG element to use to visualize the tip.
|
|
146
|
-
* @default polygon
|
|
147
|
-
*/
|
|
148
|
-
svg?: string;
|
|
149
|
-
}
|
|
150
|
-
/**
|
|
151
|
-
* Dictionary for a line tips.
|
|
152
|
-
*/
|
|
153
|
-
export interface ILineTips {
|
|
154
|
-
/**
|
|
155
|
-
* The tip placed where the line starts.
|
|
156
|
-
*/
|
|
157
|
-
start?: IAssociationTip;
|
|
158
|
-
/**
|
|
159
|
-
* The tip placed where the line ends.
|
|
160
|
-
*/
|
|
161
|
-
end?: IAssociationTip;
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* Definition of slots used by an association
|
|
165
|
-
*/
|
|
166
|
-
export interface IAssociationSlots {
|
|
167
|
-
/**
|
|
168
|
-
* The name of the slot in the source object
|
|
169
|
-
*/
|
|
170
|
-
source?: string;
|
|
171
|
-
/**
|
|
172
|
-
* The name of the slot in the target object
|
|
173
|
-
*/
|
|
174
|
-
target?: string;
|
|
175
|
-
}
|
|
176
|
-
export interface IAssociationVertexes {
|
|
177
|
-
/**
|
|
178
|
-
* The line's start position
|
|
179
|
-
*/
|
|
180
|
-
start?: Point;
|
|
181
|
-
/**
|
|
182
|
-
* The line's end position
|
|
183
|
-
*/
|
|
184
|
-
end?: Point;
|
|
185
|
-
}
|
|
186
|
-
/**
|
|
187
|
-
* A definition used by the `lib/LineSketch` class sketch a line
|
|
188
|
-
*/
|
|
189
|
-
export interface ILineSketchOptions {
|
|
190
|
-
/**
|
|
191
|
-
* The computation of `DOMRect` for the source element.
|
|
192
|
-
*/
|
|
193
|
-
source: DOMRect;
|
|
194
|
-
/**
|
|
195
|
-
* The computation of `DOMRect` for the target element.
|
|
196
|
-
*/
|
|
197
|
-
target: DOMRect;
|
|
198
|
-
/**
|
|
199
|
-
* The position where the line starts
|
|
200
|
-
*/
|
|
201
|
-
startPoint: Point;
|
|
202
|
-
/**
|
|
203
|
-
* The position where the line ends
|
|
204
|
-
*/
|
|
205
|
-
endPoint: Point;
|
|
206
|
-
/**
|
|
207
|
-
* The type of the line to draw. Depending on the type the result of the computation can be different.
|
|
208
|
-
* Uses the default when missing
|
|
209
|
-
*/
|
|
210
|
-
type?: AssociationShapeType;
|
|
211
|
-
/**
|
|
212
|
-
* Other associations already built between the two objects.
|
|
213
|
-
*/
|
|
214
|
-
others?: IWorkspaceEdge[];
|
|
215
|
-
}
|
|
216
|
-
//# sourceMappingURL=VisualizationTypes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VisualizationTypes.d.ts","sourceRoot":"","sources":["../../../../src/visualization/lib/VisualizationTypes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAE3C,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAA;IACvB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,iBAAiB;IAC5D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,EAAE,CAAA;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,4BAA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IACH,GAAG,CAAC,EAAE,eAAe,CAAA;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAA;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,KAAK,CAAA;CACZ;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,MAAM,EAAE,OAAO,CAAA;IACf;;OAEG;IACH,MAAM,EAAE,OAAO,CAAA;IACf;;OAEG;IACH,UAAU,EAAE,KAAK,CAAA;IACjB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAA;IACf;;;OAGG;IACH,IAAI,CAAC,EAAE,oBAAoB,CAAA;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,EAAE,CAAA;CAC1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VisualizationTypes.js","sourceRoot":"","sources":["../../../../src/visualization/lib/VisualizationTypes.ts"],"names":[],"mappings":"AAAA,0BAA0B","sourcesContent":["// new visualization types\n\nimport { Point } from './Point.js'\nimport { IWorkspaceEdge } from './types.js'\n\nexport interface IShapeOrientation {\n /**\n * The transformation origin of the shape. It consists of `x y` coordinates\n * expressed in pixel unit.\n * E.g. \"20px 100px\" meaning that all transformations applied to the shape are relative to this point.\n */\n transformOrigin: string\n /**\n * The rotation of the object relative to the workspace.\n * It may not be set for shapes that are not rotated (like lines).\n */\n rotate?: number\n}\n\n/**\n * A base class for a shape present in the SVG part of the visualization workspace.\n */\nexport interface IVisualizationShape extends IShapeOrientation {\n /**\n * For the shapes that supports this. It is a value to be added to SVG's element `points` or `d` attribute.\n */\n path?: string\n /**\n * The list of points that describe the shape.\n * For a line this would be the start and end coordinates of the shape.\n * For a triangle these are the coordinates of each vertex of it.\n */\n coordinates?: Point[]\n}\n\n/**\n * Represents the selection state of the shape.\n */\nexport interface IVisualizationShapeSelection {\n /**\n * Whether the shape has the primary selection state.\n * @default false;\n */\n primary?: boolean\n /**\n * Whether the shape has the secondary selection state.\n * Using primary and the secondary selection is discouraged.\n * @default false;\n */\n secondary?: boolean\n /**\n * When set the shape should be hidden.\n */\n hidden?: boolean\n /**\n * Whether the item is currently hovered.\n */\n hover?: boolean\n}\n\nexport interface ISelectableShape {\n /**\n * The selection state of the shape.\n */\n selection?: IVisualizationShapeSelection\n}\n\nexport type AssociationShapeType = 'linear' | 'rectilinear'\n\n/**\n * A base class for association related shapes\n */\nexport interface IVisualizationAssociationShape extends IVisualizationShape {\n /**\n * The type of the line. This is defined in `lib/LineSketch`.\n */\n type: AssociationShapeType\n startPoint: Point\n endPoint: Point\n}\n\n/**\n * Association description for rectilinear style line.\n */\nexport interface IVisualizationRectilinearLineShape extends IVisualizationAssociationShape {\n /**\n * The list of points where the line breaks.\n */\n controlPoints: Point[]\n}\n\n/**\n * Cubic Bezier curve control points.\n */\nexport interface ICubicControlPoints {\n /**\n * Coordinates of the first control point\n */\n cp1: Point\n /**\n * Coordinates of the second control point\n */\n cp2: Point\n}\n\n/**\n * The definition of an SVG shape that represents an association (edge) line between\n * two other shapes.\n */\nexport interface IAssociationShape extends ISelectableShape {\n /**\n * Name of a CSS class to add to the line class attribute\n */\n style?: string\n /**\n * The association label. May not be set when the association object does not have a label.\n */\n label?: IAssociationLabelShape\n /**\n * The definition of the line start and end tips.\n */\n tips?: ILineTips\n /**\n * Name of the slots to use when calculating the association line's start and end points.\n */\n slots?: IAssociationSlots\n /**\n * The line definition for the shape.\n */\n line: IVisualizationAssociationShape\n}\n\nexport interface IAssociationLabelShape extends IShapeOrientation {\n /**\n * The x coordinate of the label\n */\n x: number\n /**\n * The y coordinate of the label\n */\n y: number\n /**\n * The label's text value\n */\n value: string\n /**\n * The value to set on the `text-anchor` attribute of the `<text>`'s element.\n */\n anchor?: string\n}\n\nexport interface IAssociationTip extends IVisualizationShape {\n /**\n * Name of a CSS class to add to the tip's class attribute\n */\n style?: string\n /**\n * The name of the SVG element to use to visualize the tip.\n * @default polygon\n */\n svg?: string\n}\n\n/**\n * Dictionary for a line tips.\n */\nexport interface ILineTips {\n /**\n * The tip placed where the line starts.\n */\n start?: IAssociationTip\n /**\n * The tip placed where the line ends.\n */\n end?: IAssociationTip\n}\n\n/**\n * Definition of slots used by an association\n */\nexport interface IAssociationSlots {\n /**\n * The name of the slot in the source object\n */\n source?: string\n /**\n * The name of the slot in the target object\n */\n target?: string\n}\n\nexport interface IAssociationVertexes {\n /**\n * The line's start position\n */\n start?: Point\n /**\n * The line's end position\n */\n end?: Point\n}\n\n/**\n * A definition used by the `lib/LineSketch` class sketch a line\n */\nexport interface ILineSketchOptions {\n /**\n * The computation of `DOMRect` for the source element.\n */\n source: DOMRect\n /**\n * The computation of `DOMRect` for the target element.\n */\n target: DOMRect\n /**\n * The position where the line starts\n */\n startPoint: Point\n /**\n * The position where the line ends\n */\n endPoint: Point\n /**\n * The type of the line to draw. Depending on the type the result of the computation can be different.\n * Uses the default when missing\n */\n type?: AssociationShapeType\n /**\n * Other associations already built between the two objects.\n */\n others?: IWorkspaceEdge[]\n}\n"]}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import VizWorkspaceElement from '../elements/VizWorkspaceElement.js';
|
|
2
|
-
/**
|
|
3
|
-
* A class that adds support for the nodes alignment on the workspace.
|
|
4
|
-
* It adds methods that can align and distribute selected nodes.
|
|
5
|
-
*/
|
|
6
|
-
export declare class WorkspaceAlignment {
|
|
7
|
-
workspace: VizWorkspaceElement;
|
|
8
|
-
/**
|
|
9
|
-
* @return Currently selected on the workspace items.
|
|
10
|
-
*/
|
|
11
|
-
get items(): HTMLElement[];
|
|
12
|
-
constructor(workspace: VizWorkspaceElement);
|
|
13
|
-
/**
|
|
14
|
-
* @returns True when the number of selected items is above 1.
|
|
15
|
-
*/
|
|
16
|
-
multiSelection(): boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Aligns selected items vertically to the top.
|
|
19
|
-
*/
|
|
20
|
-
verticalTop(): void;
|
|
21
|
-
/**
|
|
22
|
-
* Aligns selected items vertically to the middle.
|
|
23
|
-
*/
|
|
24
|
-
verticalCenter(): void;
|
|
25
|
-
/**
|
|
26
|
-
* Aligns selected items vertically to the bottom.
|
|
27
|
-
*/
|
|
28
|
-
verticalBottom(): void;
|
|
29
|
-
/**
|
|
30
|
-
* Distributes selected items vertically.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
verticalDistribute(): void;
|
|
34
|
-
/**
|
|
35
|
-
* Aligns selected items horizontally to the left.
|
|
36
|
-
*/
|
|
37
|
-
horizontalLeft(): void;
|
|
38
|
-
/**
|
|
39
|
-
* Aligns selected items horizontally to the center.
|
|
40
|
-
*/
|
|
41
|
-
horizontalCenter(): void;
|
|
42
|
-
/**
|
|
43
|
-
* Aligns selected items horizontally to the bottom.
|
|
44
|
-
*/
|
|
45
|
-
horizontalRight(): void;
|
|
46
|
-
/**
|
|
47
|
-
* Distributes selected items horizontally.
|
|
48
|
-
*/
|
|
49
|
-
horizontalDistribute(): void;
|
|
50
|
-
}
|
|
51
|
-
//# sourceMappingURL=WorkspaceAlignment.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WorkspaceAlignment.d.ts","sourceRoot":"","sources":["../../../../src/visualization/lib/WorkspaceAlignment.ts"],"names":[],"mappings":"AACA,OAAO,mBAAmB,MAAM,oCAAoC,CAAA;AAQpE;;;GAGG;AACH,qBAAa,kBAAkB;IAgBV,SAAS,EAAE,mBAAmB;IAfjD;;OAEG;IACH,IAAI,KAAK,IAAI,WAAW,EAAE,CAUzB;gBAEkB,SAAS,EAAE,mBAAmB;IAEjD;;OAEG;IACH,cAAc,IAAI,OAAO;IAIzB;;OAEG;IACH,WAAW,IAAI,IAAI;IAgBnB;;OAEG;IACH,cAAc,IAAI,IAAI;IAkBtB;;OAEG;IACH,cAAc,IAAI,IAAI;IAiBtB;;;OAGG;IACH,kBAAkB,IAAI,IAAI;IAgD1B;;OAEG;IACH,cAAc,IAAI,IAAI;IAgBtB;;OAEG;IACH,gBAAgB,IAAI,IAAI;IAkBxB;;OAEG;IACH,eAAe,IAAI,IAAI;IAiBvB;;OAEG;IACH,oBAAoB,IAAI,IAAI;CA+C7B"}
|
|
@@ -1,243 +0,0 @@
|
|
|
1
|
-
import { getObjectBoundingClientRect, notifyMoved } from './PositionUtils.js';
|
|
2
|
-
/**
|
|
3
|
-
* A class that adds support for the nodes alignment on the workspace.
|
|
4
|
-
* It adds methods that can align and distribute selected nodes.
|
|
5
|
-
*/
|
|
6
|
-
export class WorkspaceAlignment {
|
|
7
|
-
workspace;
|
|
8
|
-
/**
|
|
9
|
-
* @return Currently selected on the workspace items.
|
|
10
|
-
*/
|
|
11
|
-
get items() {
|
|
12
|
-
const { workspace } = this;
|
|
13
|
-
const result = [];
|
|
14
|
-
workspace.selection.selected.forEach((i) => {
|
|
15
|
-
const item = workspace.querySelector(`[data-key="${i.id}"][data-alignable]`);
|
|
16
|
-
if (item) {
|
|
17
|
-
result.push(item);
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
return result;
|
|
21
|
-
}
|
|
22
|
-
constructor(workspace) {
|
|
23
|
-
this.workspace = workspace;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* @returns True when the number of selected items is above 1.
|
|
27
|
-
*/
|
|
28
|
-
multiSelection() {
|
|
29
|
-
return this.items.length > 1;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Aligns selected items vertically to the top.
|
|
33
|
-
*/
|
|
34
|
-
verticalTop() {
|
|
35
|
-
if (!this.multiSelection()) {
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
const { items } = this;
|
|
39
|
-
const first = items.shift();
|
|
40
|
-
const box = getObjectBoundingClientRect(first, this.workspace);
|
|
41
|
-
items.forEach(async (node) => {
|
|
42
|
-
const nodeBox = getObjectBoundingClientRect(node, this.workspace);
|
|
43
|
-
const dy = box.y - nodeBox.y;
|
|
44
|
-
if (dy !== 0) {
|
|
45
|
-
notifyMoved(node, 0, dy);
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Aligns selected items vertically to the middle.
|
|
51
|
-
*/
|
|
52
|
-
verticalCenter() {
|
|
53
|
-
if (!this.multiSelection()) {
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
const { items } = this;
|
|
57
|
-
const first = items.shift();
|
|
58
|
-
const box = getObjectBoundingClientRect(first, this.workspace);
|
|
59
|
-
const middle = box.height / 2 + box.y;
|
|
60
|
-
items.forEach((node) => {
|
|
61
|
-
const nodeBox = getObjectBoundingClientRect(node, this.workspace);
|
|
62
|
-
const nodeMiddle = nodeBox.height / 2 + nodeBox.y;
|
|
63
|
-
const dy = middle - nodeMiddle;
|
|
64
|
-
if (dy !== 0) {
|
|
65
|
-
notifyMoved(node, 0, dy);
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Aligns selected items vertically to the bottom.
|
|
71
|
-
*/
|
|
72
|
-
verticalBottom() {
|
|
73
|
-
if (!this.multiSelection()) {
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
const { items } = this;
|
|
77
|
-
const first = items.shift();
|
|
78
|
-
const box = getObjectBoundingClientRect(first, this.workspace);
|
|
79
|
-
const end = box.height + box.top;
|
|
80
|
-
items.forEach((node) => {
|
|
81
|
-
const nodeBox = getObjectBoundingClientRect(node, this.workspace);
|
|
82
|
-
const dy = end - nodeBox.height - nodeBox.y;
|
|
83
|
-
if (dy !== 0) {
|
|
84
|
-
notifyMoved(node, 0, dy);
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* Distributes selected items vertically.
|
|
90
|
-
*
|
|
91
|
-
*/
|
|
92
|
-
verticalDistribute() {
|
|
93
|
-
if (!this.multiSelection()) {
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
96
|
-
const { items } = this;
|
|
97
|
-
let maxStart = 0; // minimum y value
|
|
98
|
-
let maxEnd = 0; // maximum y value
|
|
99
|
-
const positioned = [];
|
|
100
|
-
items.forEach((node) => {
|
|
101
|
-
const box = getObjectBoundingClientRect(node, this.workspace);
|
|
102
|
-
positioned.push({
|
|
103
|
-
node,
|
|
104
|
-
box,
|
|
105
|
-
});
|
|
106
|
-
const heightY = box.height + box.y;
|
|
107
|
-
if (!maxStart || box.y <= maxStart) {
|
|
108
|
-
maxStart = box.y;
|
|
109
|
-
}
|
|
110
|
-
if (!maxEnd || heightY >= maxEnd) {
|
|
111
|
-
maxEnd = heightY;
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
const first = positioned.shift();
|
|
115
|
-
const last = positioned.pop();
|
|
116
|
-
// The first element is to be positioned to the top line.
|
|
117
|
-
notifyMoved(first.node, 0, maxStart - first.box.y);
|
|
118
|
-
// The last element is to be positioned to the bottom line,
|
|
119
|
-
notifyMoved(last.node, 0, maxEnd - last.box.height - last.box.y);
|
|
120
|
-
// Elements in between to be positioned to the remaining space between the first and the last
|
|
121
|
-
// split into equal sections, and positioned in the middle of each section.
|
|
122
|
-
const distributionLength = maxEnd - last.box.height - (maxStart + first.box.height);
|
|
123
|
-
const boxesLength = positioned.reduce((result, item) => result + item.box.height, 0);
|
|
124
|
-
const spaceAvailable = distributionLength - boxesLength;
|
|
125
|
-
const spaceLength = spaceAvailable / (positioned.length + 1);
|
|
126
|
-
let current = maxStart + first.box.height;
|
|
127
|
-
positioned.forEach((item) => {
|
|
128
|
-
const { node, box } = item;
|
|
129
|
-
const newY = current + spaceLength;
|
|
130
|
-
const dy = newY - box.y;
|
|
131
|
-
current += spaceLength + box.height;
|
|
132
|
-
if (dy !== 0) {
|
|
133
|
-
notifyMoved(node, 0, dy);
|
|
134
|
-
}
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* Aligns selected items horizontally to the left.
|
|
139
|
-
*/
|
|
140
|
-
horizontalLeft() {
|
|
141
|
-
if (!this.multiSelection()) {
|
|
142
|
-
return;
|
|
143
|
-
}
|
|
144
|
-
const { items } = this;
|
|
145
|
-
const first = items.shift();
|
|
146
|
-
const box = getObjectBoundingClientRect(first, this.workspace);
|
|
147
|
-
items.forEach((node) => {
|
|
148
|
-
const nodeBox = getObjectBoundingClientRect(node, this.workspace);
|
|
149
|
-
const dx = box.x - nodeBox.x;
|
|
150
|
-
if (dx !== 0) {
|
|
151
|
-
notifyMoved(node, dx, 0);
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* Aligns selected items horizontally to the center.
|
|
157
|
-
*/
|
|
158
|
-
horizontalCenter() {
|
|
159
|
-
if (!this.multiSelection()) {
|
|
160
|
-
return;
|
|
161
|
-
}
|
|
162
|
-
const { items } = this;
|
|
163
|
-
const first = items.shift();
|
|
164
|
-
const box = getObjectBoundingClientRect(first, this.workspace);
|
|
165
|
-
const middle = box.width / 2 + box.x;
|
|
166
|
-
items.forEach((node) => {
|
|
167
|
-
const nodeBox = getObjectBoundingClientRect(node, this.workspace);
|
|
168
|
-
const nodeMiddle = nodeBox.width / 2 + nodeBox.x;
|
|
169
|
-
const dx = middle - nodeMiddle;
|
|
170
|
-
if (dx !== 0) {
|
|
171
|
-
notifyMoved(node, dx, 0);
|
|
172
|
-
}
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* Aligns selected items horizontally to the bottom.
|
|
177
|
-
*/
|
|
178
|
-
horizontalRight() {
|
|
179
|
-
if (!this.multiSelection()) {
|
|
180
|
-
return;
|
|
181
|
-
}
|
|
182
|
-
const { items } = this;
|
|
183
|
-
const first = items.shift();
|
|
184
|
-
const box = getObjectBoundingClientRect(first, this.workspace);
|
|
185
|
-
const end = box.width + box.x;
|
|
186
|
-
items.forEach((node) => {
|
|
187
|
-
const nodeBox = getObjectBoundingClientRect(node, this.workspace);
|
|
188
|
-
const dx = end - nodeBox.width - nodeBox.x;
|
|
189
|
-
if (dx !== 0) {
|
|
190
|
-
notifyMoved(node, dx, 0);
|
|
191
|
-
}
|
|
192
|
-
});
|
|
193
|
-
}
|
|
194
|
-
/**
|
|
195
|
-
* Distributes selected items horizontally.
|
|
196
|
-
*/
|
|
197
|
-
horizontalDistribute() {
|
|
198
|
-
if (!this.multiSelection()) {
|
|
199
|
-
return;
|
|
200
|
-
}
|
|
201
|
-
const { items } = this;
|
|
202
|
-
let maxStart = 0; // minimum x value
|
|
203
|
-
let maxEnd = 0; // maximum x value
|
|
204
|
-
const positioned = [];
|
|
205
|
-
items.forEach((node) => {
|
|
206
|
-
const box = getObjectBoundingClientRect(node, this.workspace);
|
|
207
|
-
positioned.push({
|
|
208
|
-
node,
|
|
209
|
-
box,
|
|
210
|
-
});
|
|
211
|
-
const widthX = box.width + box.x;
|
|
212
|
-
if (!maxStart || box.x <= maxStart) {
|
|
213
|
-
maxStart = box.x;
|
|
214
|
-
}
|
|
215
|
-
if (!maxEnd || widthX >= maxEnd) {
|
|
216
|
-
maxEnd = widthX;
|
|
217
|
-
}
|
|
218
|
-
});
|
|
219
|
-
const first = positioned.shift();
|
|
220
|
-
const last = positioned.pop();
|
|
221
|
-
// The first element is to be positioned to the left line.
|
|
222
|
-
notifyMoved(first.node, maxStart - first.box.x, 0);
|
|
223
|
-
// The last element is to be positioned to the right line,
|
|
224
|
-
notifyMoved(last.node, maxEnd - last.box.width - last.box.x, 0);
|
|
225
|
-
// Elements in between to be positioned to the remaining space between the first and the last
|
|
226
|
-
// split into equal sections, and positioned in the middle of each section.
|
|
227
|
-
const distributionLength = maxEnd - last.box.width - (maxStart + first.box.width);
|
|
228
|
-
const boxesLength = positioned.reduce((result, item) => result + item.box.width, 0);
|
|
229
|
-
const spaceAvailable = distributionLength - boxesLength;
|
|
230
|
-
const spaceLength = spaceAvailable / (positioned.length + 1);
|
|
231
|
-
let current = maxStart + first.box.width;
|
|
232
|
-
positioned.forEach((item) => {
|
|
233
|
-
const { node, box } = item;
|
|
234
|
-
const newX = current + spaceLength;
|
|
235
|
-
const dx = newX - box.x;
|
|
236
|
-
current += spaceLength + box.width;
|
|
237
|
-
if (dx !== 0) {
|
|
238
|
-
notifyMoved(node, dx, 0);
|
|
239
|
-
}
|
|
240
|
-
});
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
//# sourceMappingURL=WorkspaceAlignment.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WorkspaceAlignment.js","sourceRoot":"","sources":["../../../../src/visualization/lib/WorkspaceAlignment.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,2BAA2B,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAO7E;;;GAGG;AACH,MAAM,OAAO,kBAAkB;IAgBV;IAfnB;;OAEG;IACH,IAAI,KAAK;QACP,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,CAAA;QAC1B,MAAM,MAAM,GAAkB,EAAE,CAAA;QAChC,SAAS,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;YACzC,MAAM,IAAI,GAAG,SAAS,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC,EAAE,oBAAoB,CAAuB,CAAA;YAClG,IAAI,IAAI,EAAE,CAAC;gBACT,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;YACnB,CAAC;QACH,CAAC,CAAC,CAAA;QACF,OAAO,MAAM,CAAA;IACf,CAAC;IAED,YAAmB,SAA8B;QAA9B,cAAS,GAAT,SAAS,CAAqB;IAAG,CAAC;IAErD;;OAEG;IACH,cAAc;QACZ,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAA;IAC9B,CAAC;IAED;;OAEG;IAC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C,CAAA;YAC1B,CAAC;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;CACF","sourcesContent":["/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport VizWorkspaceElement from '../elements/VizWorkspaceElement.js'\nimport { getObjectBoundingClientRect, notifyMoved } from './PositionUtils.js'\n\ninterface IPositionInfo {\n node: HTMLElement\n box: DOMRect\n}\n\n/**\n * A class that adds support for the nodes alignment on the workspace.\n * It adds methods that can align and distribute selected nodes.\n */\nexport class WorkspaceAlignment {\n /**\n * @return Currently selected on the workspace items.\n */\n get items(): HTMLElement[] {\n const { workspace } = this\n const result: HTMLElement[] = []\n workspace.selection.selected.forEach((i) => {\n const item = workspace.querySelector(`[data-key=\"${i.id}\"][data-alignable]`) as HTMLElement | null\n if (item) {\n result.push(item)\n }\n })\n return result\n }\n\n constructor(public workspace: VizWorkspaceElement) {}\n\n /**\n * @returns True when the number of selected items is above 1.\n */\n multiSelection(): boolean {\n return this.items.length > 1\n }\n\n /**\n * Aligns selected items vertically to the top.\n */\n verticalTop(): void {\n if (!this.multiSelection()) {\n return\n }\n const { items } = this\n const first = items.shift()!\n const box = getObjectBoundingClientRect(first, this.workspace)\n items.forEach(async (node) => {\n const nodeBox = getObjectBoundingClientRect(node, this.workspace)\n const dy = box.y - nodeBox.y\n if (dy !== 0) {\n notifyMoved(node, 0, dy)\n }\n })\n }\n\n /**\n * Aligns selected items vertically to the middle.\n */\n verticalCenter(): void {\n if (!this.multiSelection()) {\n return\n }\n const { items } = this\n const first = items.shift()!\n const box = getObjectBoundingClientRect(first, this.workspace)\n const middle = box.height / 2 + box.y\n items.forEach((node) => {\n const nodeBox = getObjectBoundingClientRect(node, this.workspace)\n const nodeMiddle = nodeBox.height / 2 + nodeBox.y\n const dy = middle - nodeMiddle\n if (dy !== 0) {\n notifyMoved(node, 0, dy)\n }\n })\n }\n\n /**\n * Aligns selected items vertically to the bottom.\n */\n verticalBottom(): void {\n if (!this.multiSelection()) {\n return\n }\n const { items } = this\n const first = items.shift()\n const box = getObjectBoundingClientRect(first!, this.workspace)\n const end = box.height + box.top\n items.forEach((node) => {\n const nodeBox = getObjectBoundingClientRect(node, this.workspace)\n const dy = end - nodeBox.height - nodeBox.y\n if (dy !== 0) {\n notifyMoved(node, 0, dy)\n }\n })\n }\n\n /**\n * Distributes selected items vertically.\n *\n */\n verticalDistribute(): void {\n if (!this.multiSelection()) {\n return\n }\n const { items } = this\n let maxStart = 0 // minimum y value\n let maxEnd = 0 // maximum y value\n const positioned: IPositionInfo[] = []\n items.forEach((node) => {\n const box = getObjectBoundingClientRect(node, this.workspace)\n positioned.push({\n node,\n box,\n })\n const heightY = box.height + box.y\n if (!maxStart || box.y <= maxStart) {\n maxStart = box.y\n }\n if (!maxEnd || heightY >= maxEnd) {\n maxEnd = heightY\n }\n })\n\n const first = positioned.shift()!\n const last = positioned.pop()!\n\n // The first element is to be positioned to the top line.\n notifyMoved(first.node, 0, maxStart - first.box.y)\n // The last element is to be positioned to the bottom line,\n notifyMoved(last.node, 0, maxEnd - last.box.height - last.box.y)\n // Elements in between to be positioned to the remaining space between the first and the last\n // split into equal sections, and positioned in the middle of each section.\n const distributionLength = maxEnd - last.box.height - (maxStart + first.box.height)\n const boxesLength = positioned.reduce((result, item) => result + item.box.height, 0)\n const spaceAvailable = distributionLength - boxesLength\n const spaceLength = spaceAvailable / (positioned.length + 1)\n let current = maxStart + first.box.height\n positioned.forEach((item) => {\n const { node, box } = item\n const newY = current + spaceLength\n const dy = newY - box.y\n current += spaceLength + box.height\n if (dy !== 0) {\n notifyMoved(node, 0, dy)\n }\n })\n }\n\n /**\n * Aligns selected items horizontally to the left.\n */\n horizontalLeft(): void {\n if (!this.multiSelection()) {\n return\n }\n const { items } = this\n const first = items.shift()\n const box = getObjectBoundingClientRect(first!, this.workspace)\n items.forEach((node) => {\n const nodeBox = getObjectBoundingClientRect(node, this.workspace)\n const dx = box.x - nodeBox.x\n if (dx !== 0) {\n notifyMoved(node, dx, 0)\n }\n })\n }\n\n /**\n * Aligns selected items horizontally to the center.\n */\n horizontalCenter(): void {\n if (!this.multiSelection()) {\n return\n }\n const { items } = this\n const first = items.shift()\n const box = getObjectBoundingClientRect(first!, this.workspace)\n const middle = box.width / 2 + box.x\n items.forEach((node) => {\n const nodeBox = getObjectBoundingClientRect(node, this.workspace)\n const nodeMiddle = nodeBox.width / 2 + nodeBox.x\n const dx = middle - nodeMiddle\n if (dx !== 0) {\n notifyMoved(node, dx, 0)\n }\n })\n }\n\n /**\n * Aligns selected items horizontally to the bottom.\n */\n horizontalRight(): void {\n if (!this.multiSelection()) {\n return\n }\n const { items } = this\n const first = items.shift()\n const box = getObjectBoundingClientRect(first!, this.workspace)\n const end = box.width + box.x\n items.forEach((node) => {\n const nodeBox = getObjectBoundingClientRect(node, this.workspace)\n const dx = end - nodeBox.width - nodeBox.x\n if (dx !== 0) {\n notifyMoved(node, dx, 0)\n }\n })\n }\n\n /**\n * Distributes selected items horizontally.\n */\n horizontalDistribute(): void {\n if (!this.multiSelection()) {\n return\n }\n const { items } = this\n let maxStart = 0 // minimum x value\n let maxEnd = 0 // maximum x value\n const positioned: IPositionInfo[] = []\n items.forEach((node) => {\n const box = getObjectBoundingClientRect(node, this.workspace)\n positioned.push({\n node,\n box,\n })\n const widthX = box.width + box.x\n if (!maxStart || box.x <= maxStart) {\n maxStart = box.x\n }\n if (!maxEnd || widthX >= maxEnd) {\n maxEnd = widthX\n }\n })\n\n const first = positioned.shift()!\n const last = positioned.pop()!\n\n // The first element is to be positioned to the left line.\n notifyMoved(first.node, maxStart - first.box.x, 0)\n // The last element is to be positioned to the right line,\n notifyMoved(last.node, maxEnd - last.box.width - last.box.x, 0)\n // Elements in between to be positioned to the remaining space between the first and the last\n // split into equal sections, and positioned in the middle of each section.\n const distributionLength = maxEnd - last.box.width - (maxStart + first.box.width)\n const boxesLength = positioned.reduce((result, item) => result + item.box.width, 0)\n const spaceAvailable = distributionLength - boxesLength\n const spaceLength = spaceAvailable / (positioned.length + 1)\n let current = maxStart + first.box.width\n positioned.forEach((item) => {\n const { node, box } = item\n const newX = current + spaceLength\n const dx = newX - box.x\n current += spaceLength + box.width\n if (dx !== 0) {\n notifyMoved(node, dx, 0)\n }\n })\n }\n}\n"]}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import VizWorkspaceElement from '../elements/VizWorkspaceElement.js';
|
|
2
|
-
declare const mousePortioningValue: unique symbol;
|
|
3
|
-
declare const setupMousePositioning: unique symbol;
|
|
4
|
-
declare const disableMousePositioning: unique symbol;
|
|
5
|
-
declare const mouseMoveHandler: unique symbol;
|
|
6
|
-
declare const mousePositionAnchor: unique symbol;
|
|
7
|
-
declare const workspacePositioningValue: unique symbol;
|
|
8
|
-
declare const setupWorkspacePositioning: unique symbol;
|
|
9
|
-
declare const disableWorkspacePositioning: unique symbol;
|
|
10
|
-
declare const mutationHandler: unique symbol;
|
|
11
|
-
declare const mutationObserver: unique symbol;
|
|
12
|
-
declare const observeItems: unique symbol;
|
|
13
|
-
declare const processAddedNodes: unique symbol;
|
|
14
|
-
declare const processRemovedNodes: unique symbol;
|
|
15
|
-
declare const updateVisualizationItem: unique symbol;
|
|
16
|
-
declare const positionedElements: unique symbol;
|
|
17
|
-
declare const scrollHandler: unique symbol;
|
|
18
|
-
declare const scrollTimeout: unique symbol;
|
|
19
|
-
declare const onScroll: unique symbol;
|
|
20
|
-
declare const createPositioningInfoElement: unique symbol;
|
|
21
|
-
declare const ensurePositioningInfoElement: unique symbol;
|
|
22
|
-
declare const updatePositioningInfoElement: unique symbol;
|
|
23
|
-
/**
|
|
24
|
-
* Debugging helpers for the visualization workspace.
|
|
25
|
-
*/
|
|
26
|
-
export declare class WorkspaceDebugging {
|
|
27
|
-
workspace: VizWorkspaceElement;
|
|
28
|
-
[mousePortioningValue]: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* @return Whether a mouse position value is rendered in the workspace
|
|
31
|
-
*/
|
|
32
|
-
get mousePositioning(): boolean;
|
|
33
|
-
/**
|
|
34
|
-
* @param value Whether a mouse position value is rendered in the workspace
|
|
35
|
-
*/
|
|
36
|
-
set mousePositioning(value: boolean);
|
|
37
|
-
[workspacePositioningValue]: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* @return Whether the position of each visualized element is rendered in the workspace
|
|
40
|
-
*/
|
|
41
|
-
get workspacePositioning(): boolean;
|
|
42
|
-
set workspacePositioning(value: boolean);
|
|
43
|
-
[positionedElements]: WeakMap<HTMLElement, string>;
|
|
44
|
-
[mousePositionAnchor]?: HTMLDivElement;
|
|
45
|
-
[mutationObserver]?: MutationObserver;
|
|
46
|
-
constructor(workspace: VizWorkspaceElement);
|
|
47
|
-
[setupMousePositioning](): void;
|
|
48
|
-
[disableMousePositioning](): void;
|
|
49
|
-
/**
|
|
50
|
-
* Redraws the position anchor
|
|
51
|
-
*/
|
|
52
|
-
[mouseMoveHandler](e: MouseEvent): void;
|
|
53
|
-
[setupWorkspacePositioning](): void;
|
|
54
|
-
[disableWorkspacePositioning](): void;
|
|
55
|
-
/**
|
|
56
|
-
* Observe items change in the element's light DOM
|
|
57
|
-
* @return The observer handler
|
|
58
|
-
*/
|
|
59
|
-
[observeItems](): MutationObserver;
|
|
60
|
-
/**
|
|
61
|
-
* Processes mutations in the workspace and manages selection state.
|
|
62
|
-
* @param mutationsList List of mutations.
|
|
63
|
-
*/
|
|
64
|
-
[mutationHandler](mutationsList: MutationRecord[]): void;
|
|
65
|
-
/**
|
|
66
|
-
* Processes added to the canvas elements.
|
|
67
|
-
* @param nodes The list of added nodes
|
|
68
|
-
*/
|
|
69
|
-
[processAddedNodes](nodes: NodeList): void;
|
|
70
|
-
isVisualizedObject(element: Element): boolean;
|
|
71
|
-
/**
|
|
72
|
-
* Processes removed from the canvas elements.
|
|
73
|
-
* @param nodes The list of removed nodes
|
|
74
|
-
*/
|
|
75
|
-
[processRemovedNodes](nodes: NodeList): void;
|
|
76
|
-
[updateVisualizationItem](node: Node): void;
|
|
77
|
-
/**
|
|
78
|
-
* Ensures that element that is positioned relative to each visualized item exists.
|
|
79
|
-
*/
|
|
80
|
-
[ensurePositioningInfoElement](targetElement: HTMLElement): void;
|
|
81
|
-
/**
|
|
82
|
-
* Creates an element that is positioned relative to each visualized item.
|
|
83
|
-
* @param {HTMLElement} targetElement
|
|
84
|
-
* @returns {HTMLDivElement}
|
|
85
|
-
*/
|
|
86
|
-
[createPositioningInfoElement](targetElement: HTMLElement): HTMLDivElement;
|
|
87
|
-
/**
|
|
88
|
-
* Updates the position of the visualized element position label
|
|
89
|
-
* @param {HTMLElement} targetElement
|
|
90
|
-
* @param {DOMRect} rect
|
|
91
|
-
*/
|
|
92
|
-
[updatePositioningInfoElement](targetElement: HTMLElement, rect: DOMRect): void;
|
|
93
|
-
[scrollTimeout]?: number;
|
|
94
|
-
/**
|
|
95
|
-
* Updates the labels on each visualized item after the workspace scroll
|
|
96
|
-
*/
|
|
97
|
-
[scrollHandler](): void;
|
|
98
|
-
/**
|
|
99
|
-
* Updates the labels on each visualized item after the workspace scroll
|
|
100
|
-
*/
|
|
101
|
-
[onScroll](): void;
|
|
102
|
-
}
|
|
103
|
-
export {};
|
|
104
|
-
//# sourceMappingURL=WorkspaceDebugging.d.ts.map
|