@api-client/ui 0.0.13 → 0.0.15
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/_old/ApiFilesElement.ts +1 -1
- package/_old/AppSettingsMenuElement.ts +1 -1
- package/_old/FileMaps.ts +1 -1
- package/demo/amf/api-annotation.ts +1 -1
- package/demo/amf/api-console.ts +1 -1
- package/demo/amf/api-editor.ts +1 -1
- package/demo/amf/api-operation.ts +1 -1
- package/demo/amf/api-payload.ts +1 -1
- package/demo/amf/api-request.ts +1 -1
- package/demo/amf/api-resource.ts +1 -1
- package/demo/amf/api-schema-documentation.ts +1 -1
- package/demo/amf/bare-components.ts +1 -1
- package/demo/amf/lib/AmfDemoPage.ts +1 -1
- package/demo/amf/oauth-authorize.ts +1 -1
- package/demo/elements/authorization/api-key.ts +1 -1
- package/demo/elements/authorization/basic.ts +1 -1
- package/demo/elements/authorization/bearer.ts +1 -1
- package/demo/elements/authorization/cc.ts +1 -1
- package/demo/elements/authorization/ntlm.ts +1 -1
- package/demo/elements/authorization/oauth-authorize.ts +1 -1
- package/demo/elements/authorization/oauth2.ts +1 -1
- package/demo/elements/authorization/oidc.ts +1 -1
- package/demo/elements/environment/environment-editor.ts +1 -1
- package/demo/elements/environment/server-editor.ts +1 -1
- package/demo/elements/environment/variables-editor.ts +1 -1
- package/demo/elements/har/har-viewer.ts +1 -1
- package/demo/elements/http/body-editor.ts +1 -1
- package/demo/elements/http/headers.ts +1 -1
- package/demo/elements/http/http-assertions.ts +1 -1
- package/demo/elements/http/http-flows.ts +1 -1
- package/demo/elements/http/request-editor.ts +1 -1
- package/demo/elements/http/request-log.ts +1 -1
- package/demo/elements/http/url-editing.ts +1 -1
- package/demo/elements/project/project-run-report.ts +1 -1
- package/demo/elements/project/request-editor.ts +1 -1
- package/demo/elements/store/file-picker.ts +1 -1
- package/demo/elements/ui/list/list.ts +1 -1
- package/demo/layout/index.ts +1 -1
- package/demo/lib/DemoBindings.ts +1 -1
- package/demo/lib/amf/AmfPartialGraphStore.ts +1 -1
- package/demo/lib/amf/AmfPartialModel.ts +1 -1
- package/dist/amf/lib/AmfInputParser.d.ts +1 -1
- package/dist/amf/lib/AmfInputParser.d.ts.map +1 -1
- package/dist/amf/lib/AmfInputParser.js +1 -1
- package/dist/amf/lib/AmfInputParser.js.map +1 -1
- package/dist/amf/lib/AmfParameters.d.ts +1 -1
- package/dist/amf/lib/AmfParameters.d.ts.map +1 -1
- package/dist/amf/lib/AmfParameters.js +1 -1
- package/dist/amf/lib/AmfParameters.js.map +1 -1
- package/dist/amf/lib/AmfSecurity.d.ts +1 -1
- package/dist/amf/lib/AmfSecurity.d.ts.map +1 -1
- package/dist/amf/lib/AmfSecurity.js.map +1 -1
- package/dist/amf/lib/Oauth2RamlCustomData.d.ts +1 -1
- package/dist/amf/lib/Oauth2RamlCustomData.d.ts.map +1 -1
- package/dist/amf/lib/Oauth2RamlCustomData.js +1 -1
- package/dist/amf/lib/Oauth2RamlCustomData.js.map +1 -1
- package/dist/amf/lib/PayloadUtils.d.ts +1 -1
- package/dist/amf/lib/PayloadUtils.d.ts.map +1 -1
- package/dist/amf/lib/PayloadUtils.js +1 -1
- package/dist/amf/lib/PayloadUtils.js.map +1 -1
- package/dist/amf/lib/QueryParameterProcessor.d.ts +1 -1
- package/dist/amf/lib/QueryParameterProcessor.d.ts.map +1 -1
- package/dist/amf/lib/QueryParameterProcessor.js +1 -1
- package/dist/amf/lib/QueryParameterProcessor.js.map +1 -1
- package/dist/amf/lib/Utils.d.ts +1 -1
- package/dist/amf/lib/Utils.d.ts.map +1 -1
- package/dist/amf/lib/Utils.js +1 -1
- package/dist/amf/lib/Utils.js.map +1 -1
- package/dist/amf/store/AmfGraphStore.d.ts +1 -1
- package/dist/amf/store/AmfGraphStore.d.ts.map +1 -1
- package/dist/amf/store/AmfGraphStore.js +1 -1
- package/dist/amf/store/AmfGraphStore.js.map +1 -1
- package/dist/amf/store/AmfStore.d.ts +1 -1
- package/dist/amf/store/AmfStore.d.ts.map +1 -1
- package/dist/amf/store/AmfStore.js +1 -1
- package/dist/amf/store/AmfStore.js.map +1 -1
- package/dist/amf/store/InMemAmfGraphStore.d.ts +2 -2
- package/dist/amf/store/InMemAmfGraphStore.d.ts.map +1 -1
- package/dist/amf/store/InMemAmfGraphStore.js +1 -1
- package/dist/amf/store/InMemAmfGraphStore.js.map +1 -1
- package/dist/amf/types.d.ts +1 -1
- package/dist/amf/types.d.ts.map +1 -1
- package/dist/amf/types.js.map +1 -1
- package/dist/bindings/base/HttpClientStoreBindings.d.ts +1 -1
- package/dist/bindings/base/HttpClientStoreBindings.d.ts.map +1 -1
- package/dist/bindings/base/HttpClientStoreBindings.js.map +1 -1
- package/dist/bindings/base/IoThread.d.ts +1 -1
- package/dist/bindings/base/IoThread.d.ts.map +1 -1
- package/dist/bindings/base/IoThread.js +1 -1
- package/dist/bindings/base/IoThread.js.map +1 -1
- package/dist/bindings/base/PlatformBindings.d.ts +1 -1
- package/dist/bindings/base/PlatformBindings.d.ts.map +1 -1
- package/dist/bindings/base/PlatformBindings.js +1 -1
- package/dist/bindings/base/PlatformBindings.js.map +1 -1
- package/dist/bindings/base/ProxyBindings.d.ts +1 -1
- package/dist/bindings/base/ProxyBindings.d.ts.map +1 -1
- package/dist/bindings/base/ProxyBindings.js +1 -1
- package/dist/bindings/base/ProxyBindings.js.map +1 -1
- package/dist/bindings/base/StoreBindings.d.ts +1 -1
- package/dist/bindings/base/StoreBindings.d.ts.map +1 -1
- package/dist/bindings/base/StoreBindings.js +1 -1
- package/dist/bindings/base/StoreBindings.js.map +1 -1
- package/dist/bindings/web/WebConfigurationBindings.d.ts +1 -1
- package/dist/bindings/web/WebConfigurationBindings.d.ts.map +1 -1
- package/dist/bindings/web/WebConfigurationBindings.js.map +1 -1
- package/dist/bindings/web/WebFileBindings.js +1 -1
- package/dist/bindings/web/WebFileBindings.js.map +1 -1
- package/dist/bindings/web/WebHttpClientStoreBindings.d.ts +1 -1
- package/dist/bindings/web/WebHttpClientStoreBindings.d.ts.map +1 -1
- package/dist/bindings/web/WebHttpClientStoreBindings.js.map +1 -1
- package/dist/bindings/web/WebProxyBindings.d.ts +1 -1
- package/dist/bindings/web/WebProxyBindings.d.ts.map +1 -1
- package/dist/bindings/web/WebProxyBindings.js +1 -1
- package/dist/bindings/web/WebProxyBindings.js.map +1 -1
- package/dist/bindings/web/WebStoreBindings.d.ts +1 -1
- package/dist/bindings/web/WebStoreBindings.d.ts.map +1 -1
- package/dist/bindings/web/WebStoreBindings.js +1 -1
- package/dist/bindings/web/WebStoreBindings.js.map +1 -1
- package/dist/code-snippets/Bash/CurlSnippet.d.ts +1 -1
- package/dist/code-snippets/Bash/CurlSnippet.d.ts.map +1 -1
- package/dist/code-snippets/Bash/CurlSnippet.js.map +1 -1
- package/dist/code-snippets/C/CcurlSnippet.d.ts +1 -1
- package/dist/code-snippets/C/CcurlSnippet.d.ts.map +1 -1
- package/dist/code-snippets/C/CcurlSnippet.js.map +1 -1
- package/dist/code-snippets/CodeSnippet.d.ts +1 -1
- package/dist/code-snippets/CodeSnippet.d.ts.map +1 -1
- package/dist/code-snippets/CodeSnippet.js +1 -1
- package/dist/code-snippets/CodeSnippet.js.map +1 -1
- package/dist/code-snippets/Dart/DartSnippet.d.ts +1 -1
- package/dist/code-snippets/Dart/DartSnippet.d.ts.map +1 -1
- package/dist/code-snippets/Dart/DartSnippet.js.map +1 -1
- package/dist/code-snippets/HTTP/RawSnippet.d.ts +1 -1
- package/dist/code-snippets/HTTP/RawSnippet.d.ts.map +1 -1
- package/dist/code-snippets/HTTP/RawSnippet.js.map +1 -1
- package/dist/code-snippets/Java/PlatformSnippet.d.ts +1 -1
- package/dist/code-snippets/Java/PlatformSnippet.d.ts.map +1 -1
- package/dist/code-snippets/Java/PlatformSnippet.js.map +1 -1
- package/dist/code-snippets/Java/SpringSnippet.d.ts +1 -1
- package/dist/code-snippets/Java/SpringSnippet.d.ts.map +1 -1
- package/dist/code-snippets/Java/SpringSnippet.js.map +1 -1
- package/dist/code-snippets/JavaScript/AsyncFetchSnippet.d.ts +1 -1
- package/dist/code-snippets/JavaScript/AsyncFetchSnippet.d.ts.map +1 -1
- package/dist/code-snippets/JavaScript/AsyncFetchSnippet.js.map +1 -1
- package/dist/code-snippets/JavaScript/AxiosSnippet.d.ts +1 -1
- package/dist/code-snippets/JavaScript/AxiosSnippet.d.ts.map +1 -1
- package/dist/code-snippets/JavaScript/AxiosSnippet.js.map +1 -1
- package/dist/code-snippets/JavaScript/FetchSnippet.d.ts +1 -1
- package/dist/code-snippets/JavaScript/FetchSnippet.d.ts.map +1 -1
- package/dist/code-snippets/JavaScript/FetchSnippet.js.map +1 -1
- package/dist/code-snippets/JavaScript/NodeSnippet.d.ts +1 -1
- package/dist/code-snippets/JavaScript/NodeSnippet.d.ts.map +1 -1
- package/dist/code-snippets/JavaScript/NodeSnippet.js.map +1 -1
- package/dist/code-snippets/JavaScript/XhrSnippet.d.ts +1 -1
- package/dist/code-snippets/JavaScript/XhrSnippet.d.ts.map +1 -1
- package/dist/code-snippets/JavaScript/XhrSnippet.js.map +1 -1
- package/dist/code-snippets/JavaScript/jQuerySnippet.d.ts +1 -1
- package/dist/code-snippets/JavaScript/jQuerySnippet.d.ts.map +1 -1
- package/dist/code-snippets/JavaScript/jQuerySnippet.js.map +1 -1
- package/dist/code-snippets/Python/Python27Snippet.d.ts +1 -1
- package/dist/code-snippets/Python/Python27Snippet.d.ts.map +1 -1
- package/dist/code-snippets/Python/Python27Snippet.js.map +1 -1
- package/dist/code-snippets/Python/Python31Snippet.d.ts +1 -1
- package/dist/code-snippets/Python/Python31Snippet.d.ts.map +1 -1
- package/dist/code-snippets/Python/Python31Snippet.js.map +1 -1
- package/dist/code-snippets/Python/RequestsSnippet.d.ts +1 -1
- package/dist/code-snippets/Python/RequestsSnippet.d.ts.map +1 -1
- package/dist/code-snippets/Python/RequestsSnippet.js.map +1 -1
- package/dist/define/http/http-body-editor.d.ts.map +1 -1
- package/dist/define/http/http-body-editor.js +1 -1
- package/dist/define/http/http-body-editor.js.map +1 -1
- package/dist/elements/amf/ApiAnnotationDocument.element.d.ts +1 -1
- package/dist/elements/amf/ApiAnnotationDocument.element.d.ts.map +1 -1
- package/dist/elements/amf/ApiAnnotationDocument.element.js +1 -1
- package/dist/elements/amf/ApiAnnotationDocument.element.js.map +1 -1
- package/dist/elements/amf/ApiAuthorizationEditor.element.d.ts +1 -1
- package/dist/elements/amf/ApiAuthorizationEditor.element.d.ts.map +1 -1
- package/dist/elements/amf/ApiAuthorizationEditor.element.js.map +1 -1
- package/dist/elements/amf/ApiChannelDocument.element.d.ts +1 -1
- package/dist/elements/amf/ApiChannelDocument.element.d.ts.map +1 -1
- package/dist/elements/amf/ApiChannelDocument.element.js.map +1 -1
- package/dist/elements/amf/ApiDocumentation.element.d.ts +1 -1
- package/dist/elements/amf/ApiDocumentation.element.d.ts.map +1 -1
- package/dist/elements/amf/ApiDocumentation.element.js +1 -1
- package/dist/elements/amf/ApiDocumentation.element.js.map +1 -1
- package/dist/elements/amf/ApiDocumentationBase.d.ts +1 -1
- package/dist/elements/amf/ApiDocumentationBase.d.ts.map +1 -1
- package/dist/elements/amf/ApiDocumentationBase.js +1 -1
- package/dist/elements/amf/ApiDocumentationBase.js.map +1 -1
- package/dist/elements/amf/ApiDocumentationDocument.element.d.ts +1 -1
- package/dist/elements/amf/ApiDocumentationDocument.element.d.ts.map +1 -1
- package/dist/elements/amf/ApiDocumentationDocument.element.js.map +1 -1
- package/dist/elements/amf/ApiNavigation.element.d.ts +1 -1
- package/dist/elements/amf/ApiNavigation.element.d.ts.map +1 -1
- package/dist/elements/amf/ApiNavigation.element.js.map +1 -1
- package/dist/elements/amf/ApiOperationDocument.element.d.ts +1 -1
- package/dist/elements/amf/ApiOperationDocument.element.d.ts.map +1 -1
- package/dist/elements/amf/ApiOperationDocument.element.js +1 -1
- package/dist/elements/amf/ApiOperationDocument.element.js.map +1 -1
- package/dist/elements/amf/ApiParameterDocument.element.d.ts +1 -1
- package/dist/elements/amf/ApiParameterDocument.element.d.ts.map +1 -1
- package/dist/elements/amf/ApiParameterDocument.element.js.map +1 -1
- package/dist/elements/amf/ApiParametrizedSecurityScheme.element.d.ts +1 -1
- package/dist/elements/amf/ApiParametrizedSecurityScheme.element.d.ts.map +1 -1
- package/dist/elements/amf/ApiParametrizedSecurityScheme.element.js +1 -1
- package/dist/elements/amf/ApiParametrizedSecurityScheme.element.js.map +1 -1
- package/dist/elements/amf/ApiPayloadDocument.element.d.ts +1 -1
- package/dist/elements/amf/ApiPayloadDocument.element.d.ts.map +1 -1
- package/dist/elements/amf/ApiPayloadDocument.element.js.map +1 -1
- package/dist/elements/amf/ApiRequest.element.d.ts +1 -1
- package/dist/elements/amf/ApiRequest.element.d.ts.map +1 -1
- package/dist/elements/amf/ApiRequest.element.js.map +1 -1
- package/dist/elements/amf/ApiRequestDocument.element.d.ts +1 -1
- package/dist/elements/amf/ApiRequestDocument.element.d.ts.map +1 -1
- package/dist/elements/amf/ApiRequestDocument.element.js.map +1 -1
- package/dist/elements/amf/ApiRequestEditor.element.d.ts +1 -1
- package/dist/elements/amf/ApiRequestEditor.element.d.ts.map +1 -1
- package/dist/elements/amf/ApiRequestEditor.element.js +1 -1
- package/dist/elements/amf/ApiRequestEditor.element.js.map +1 -1
- package/dist/elements/amf/ApiResourceDocument.element.d.ts +1 -1
- package/dist/elements/amf/ApiResourceDocument.element.d.ts.map +1 -1
- package/dist/elements/amf/ApiResourceDocument.element.js +1 -1
- package/dist/elements/amf/ApiResourceDocument.element.js.map +1 -1
- package/dist/elements/amf/ApiResponseDocument.element.d.ts +1 -1
- package/dist/elements/amf/ApiResponseDocument.element.d.ts.map +1 -1
- package/dist/elements/amf/ApiResponseDocument.element.js.map +1 -1
- package/dist/elements/amf/ApiSchemaDocument.element.d.ts +1 -1
- package/dist/elements/amf/ApiSchemaDocument.element.d.ts.map +1 -1
- package/dist/elements/amf/ApiSchemaDocument.element.js +1 -1
- package/dist/elements/amf/ApiSchemaDocument.element.js.map +1 -1
- package/dist/elements/amf/ApiSecurityDocument.element.d.ts +1 -1
- package/dist/elements/amf/ApiSecurityDocument.element.d.ts.map +1 -1
- package/dist/elements/amf/ApiSecurityDocument.element.js +1 -1
- package/dist/elements/amf/ApiSecurityDocument.element.js.map +1 -1
- package/dist/elements/amf/ApiSecurityRequirementDocument.element.d.ts +1 -1
- package/dist/elements/amf/ApiSecurityRequirementDocument.element.d.ts.map +1 -1
- package/dist/elements/amf/ApiSecurityRequirementDocument.element.js.map +1 -1
- package/dist/elements/amf/ApiServerPicker.element.d.ts +1 -1
- package/dist/elements/amf/ApiServerPicker.element.d.ts.map +1 -1
- package/dist/elements/amf/ApiServerPicker.element.js +1 -1
- package/dist/elements/amf/ApiServerPicker.element.js.map +1 -1
- package/dist/elements/amf/ApiSummary.element.d.ts +1 -1
- package/dist/elements/amf/ApiSummary.element.d.ts.map +1 -1
- package/dist/elements/amf/ApiSummary.element.js +1 -1
- package/dist/elements/amf/ApiSummary.element.js.map +1 -1
- package/dist/elements/amf/SchemaCommonTemplates.d.ts +1 -1
- package/dist/elements/amf/SchemaCommonTemplates.d.ts.map +1 -1
- package/dist/elements/amf/SchemaCommonTemplates.js +1 -1
- package/dist/elements/amf/SchemaCommonTemplates.js.map +1 -1
- package/dist/elements/amf/authorization/AmfApiKey.d.ts +1 -1
- package/dist/elements/amf/authorization/AmfApiKey.d.ts.map +1 -1
- package/dist/elements/amf/authorization/AmfApiKey.js +1 -1
- package/dist/elements/amf/authorization/AmfApiKey.js.map +1 -1
- package/dist/elements/amf/authorization/AmfBasic.d.ts +1 -1
- package/dist/elements/amf/authorization/AmfBasic.d.ts.map +1 -1
- package/dist/elements/amf/authorization/AmfBasic.js +1 -1
- package/dist/elements/amf/authorization/AmfBasic.js.map +1 -1
- package/dist/elements/amf/authorization/AmfBearer.d.ts +1 -1
- package/dist/elements/amf/authorization/AmfBearer.d.ts.map +1 -1
- package/dist/elements/amf/authorization/AmfBearer.js +1 -1
- package/dist/elements/amf/authorization/AmfBearer.js.map +1 -1
- package/dist/elements/amf/authorization/AmfOauth2.d.ts +1 -1
- package/dist/elements/amf/authorization/AmfOauth2.d.ts.map +1 -1
- package/dist/elements/amf/authorization/AmfOauth2.js +1 -1
- package/dist/elements/amf/authorization/AmfOauth2.js.map +1 -1
- package/dist/elements/amf/authorization/AmfOidc.d.ts +1 -1
- package/dist/elements/amf/authorization/AmfOidc.d.ts.map +1 -1
- package/dist/elements/amf/authorization/AmfOidc.js +1 -1
- package/dist/elements/amf/authorization/AmfOidc.js.map +1 -1
- package/dist/elements/amf/authorization/AmfPassThrough.d.ts +1 -1
- package/dist/elements/amf/authorization/AmfPassThrough.d.ts.map +1 -1
- package/dist/elements/amf/authorization/AmfPassThrough.js +1 -1
- package/dist/elements/amf/authorization/AmfPassThrough.js.map +1 -1
- package/dist/elements/amf/authorization/AmfRamlCustom.d.ts +1 -1
- package/dist/elements/amf/authorization/AmfRamlCustom.d.ts.map +1 -1
- package/dist/elements/amf/authorization/AmfRamlCustom.js +1 -1
- package/dist/elements/amf/authorization/AmfRamlCustom.js.map +1 -1
- package/dist/elements/authorization/OAuth2Authorize.d.ts +1 -1
- package/dist/elements/authorization/OAuth2Authorize.d.ts.map +1 -1
- package/dist/elements/authorization/OAuth2Authorize.js +1 -1
- package/dist/elements/authorization/OAuth2Authorize.js.map +1 -1
- package/dist/elements/authorization/OidcAuthorize.d.ts +1 -1
- package/dist/elements/authorization/OidcAuthorize.d.ts.map +1 -1
- package/dist/elements/authorization/OidcAuthorize.js +1 -1
- package/dist/elements/authorization/OidcAuthorize.js.map +1 -1
- package/dist/elements/authorization/ui/ApiKeyAuthorization.d.ts +1 -1
- package/dist/elements/authorization/ui/ApiKeyAuthorization.d.ts.map +1 -1
- package/dist/elements/authorization/ui/ApiKeyAuthorization.js.map +1 -1
- package/dist/elements/authorization/ui/Authorization.d.ts +1 -1
- package/dist/elements/authorization/ui/Authorization.d.ts.map +1 -1
- package/dist/elements/authorization/ui/Authorization.js.map +1 -1
- package/dist/elements/authorization/ui/BasicAuthorization.d.ts +1 -1
- package/dist/elements/authorization/ui/BasicAuthorization.d.ts.map +1 -1
- package/dist/elements/authorization/ui/BasicAuthorization.js.map +1 -1
- package/dist/elements/authorization/ui/BearerAuthorization.d.ts +1 -1
- package/dist/elements/authorization/ui/BearerAuthorization.d.ts.map +1 -1
- package/dist/elements/authorization/ui/BearerAuthorization.js.map +1 -1
- package/dist/elements/authorization/ui/CcAuthorization.d.ts +1 -1
- package/dist/elements/authorization/ui/CcAuthorization.d.ts.map +1 -1
- package/dist/elements/authorization/ui/CcAuthorization.js +1 -1
- package/dist/elements/authorization/ui/CcAuthorization.js.map +1 -1
- package/dist/elements/authorization/ui/NtlmAuthorization.d.ts +1 -1
- package/dist/elements/authorization/ui/NtlmAuthorization.d.ts.map +1 -1
- package/dist/elements/authorization/ui/NtlmAuthorization.js.map +1 -1
- package/dist/elements/authorization/ui/OAuth2Authorization.d.ts +1 -1
- package/dist/elements/authorization/ui/OAuth2Authorization.d.ts.map +1 -1
- package/dist/elements/authorization/ui/OAuth2Authorization.js +1 -1
- package/dist/elements/authorization/ui/OAuth2Authorization.js.map +1 -1
- package/dist/elements/authorization/ui/OidcAuthorization.d.ts +1 -1
- package/dist/elements/authorization/ui/OidcAuthorization.d.ts.map +1 -1
- package/dist/elements/authorization/ui/OidcAuthorization.js +1 -1
- package/dist/elements/authorization/ui/OidcAuthorization.js.map +1 -1
- package/dist/elements/code/HttpSnippets.d.ts +1 -1
- package/dist/elements/code/HttpSnippets.d.ts.map +1 -1
- package/dist/elements/code/HttpSnippets.js.map +1 -1
- package/dist/elements/dialog/DeleteCookieAction.element.d.ts +1 -1
- package/dist/elements/dialog/DeleteCookieAction.element.d.ts.map +1 -1
- package/dist/elements/dialog/DeleteCookieAction.element.js +1 -1
- package/dist/elements/dialog/DeleteCookieAction.element.js.map +1 -1
- package/dist/elements/dialog/SetCookieAction.element.d.ts +1 -1
- package/dist/elements/dialog/SetCookieAction.element.d.ts.map +1 -1
- package/dist/elements/dialog/SetCookieAction.element.js +1 -1
- package/dist/elements/dialog/SetCookieAction.element.js.map +1 -1
- package/dist/elements/environment/EnvironmentEditor.d.ts +1 -1
- package/dist/elements/environment/EnvironmentEditor.d.ts.map +1 -1
- package/dist/elements/environment/EnvironmentEditor.js +1 -1
- package/dist/elements/environment/EnvironmentEditor.js.map +1 -1
- package/dist/elements/environment/ServerEditor.d.ts +1 -1
- package/dist/elements/environment/ServerEditor.d.ts.map +1 -1
- package/dist/elements/environment/ServerEditor.js +1 -1
- package/dist/elements/environment/ServerEditor.js.map +1 -1
- package/dist/elements/environment/VariablesEditor.d.ts +1 -1
- package/dist/elements/environment/VariablesEditor.d.ts.map +1 -1
- package/dist/elements/environment/VariablesEditor.js +1 -1
- package/dist/elements/environment/VariablesEditor.js.map +1 -1
- package/dist/elements/har/HarViewer.js +1 -1
- package/dist/elements/har/HarViewer.js.map +1 -1
- package/dist/elements/http/BodyEditor.d.ts +1 -1
- package/dist/elements/http/BodyEditor.d.ts.map +1 -1
- package/dist/elements/http/BodyEditor.js +6 -6
- package/dist/elements/http/BodyEditor.js.map +1 -1
- package/dist/elements/http/BodyEditor.styles.d.ts +1 -1
- package/dist/elements/http/BodyEditor.styles.d.ts.map +1 -1
- package/dist/elements/http/BodyEditor.styles.js +5 -19
- package/dist/elements/http/BodyEditor.styles.js.map +1 -1
- package/dist/elements/http/BodyMultipartEditor.d.ts +1 -1
- package/dist/elements/http/BodyMultipartEditor.d.ts.map +1 -1
- package/dist/elements/http/BodyMultipartEditor.js +1 -1
- package/dist/elements/http/BodyMultipartEditor.js.map +1 -1
- package/dist/elements/http/BodyUrlEncodedEditor.d.ts +1 -1
- package/dist/elements/http/BodyUrlEncodedEditor.d.ts.map +1 -1
- package/dist/elements/http/BodyUrlEncodedEditor.js +1 -1
- package/dist/elements/http/BodyUrlEncodedEditor.js.map +1 -1
- package/dist/elements/http/CertificateAdd.element.d.ts +1 -1
- package/dist/elements/http/CertificateAdd.element.d.ts.map +1 -1
- package/dist/elements/http/CertificateAdd.element.js +1 -1
- package/dist/elements/http/CertificateAdd.element.js.map +1 -1
- package/dist/elements/http/HeadersForm.d.ts +1 -1
- package/dist/elements/http/HeadersForm.d.ts.map +1 -1
- package/dist/elements/http/HeadersForm.js +1 -1
- package/dist/elements/http/HeadersForm.js.map +1 -1
- package/dist/elements/http/HttpAssertions.element.d.ts +1 -1
- package/dist/elements/http/HttpAssertions.element.d.ts.map +1 -1
- package/dist/elements/http/HttpAssertions.element.js.map +1 -1
- package/dist/elements/http/HttpFlows.element.d.ts +1 -1
- package/dist/elements/http/HttpFlows.element.d.ts.map +1 -1
- package/dist/elements/http/HttpFlows.element.js.map +1 -1
- package/dist/elements/http/HttpFlowsUi.d.ts +1 -1
- package/dist/elements/http/HttpFlowsUi.d.ts.map +1 -1
- package/dist/elements/http/HttpFlowsUi.js +1 -1
- package/dist/elements/http/HttpFlowsUi.js.map +1 -1
- package/dist/elements/http/LogBody.d.ts +1 -1
- package/dist/elements/http/LogBody.d.ts.map +1 -1
- package/dist/elements/http/LogBody.js +1 -1
- package/dist/elements/http/LogBody.js.map +1 -1
- package/dist/elements/http/LogHeaders.d.ts +1 -1
- package/dist/elements/http/LogHeaders.d.ts.map +1 -1
- package/dist/elements/http/LogHeaders.js +1 -1
- package/dist/elements/http/LogHeaders.js.map +1 -1
- package/dist/elements/http/LogTimings.d.ts +1 -1
- package/dist/elements/http/LogTimings.d.ts.map +1 -1
- package/dist/elements/http/LogTimings.js.map +1 -1
- package/dist/elements/http/RequestAuth.template.d.ts +1 -1
- package/dist/elements/http/RequestAuth.template.d.ts.map +1 -1
- package/dist/elements/http/RequestAuth.template.js.map +1 -1
- package/dist/elements/http/RequestConfigElement.d.ts +1 -1
- package/dist/elements/http/RequestConfigElement.d.ts.map +1 -1
- package/dist/elements/http/RequestConfigElement.js +1 -1
- package/dist/elements/http/RequestConfigElement.js.map +1 -1
- package/dist/elements/http/RequestEditor.d.ts +2 -2
- package/dist/elements/http/RequestEditor.d.ts.map +1 -1
- package/dist/elements/http/RequestEditor.js +1 -1
- package/dist/elements/http/RequestEditor.js.map +1 -1
- package/dist/elements/http/RequestLog.d.ts +1 -1
- package/dist/elements/http/RequestLog.d.ts.map +1 -1
- package/dist/elements/http/RequestLog.js +1 -1
- package/dist/elements/http/RequestLog.js.map +1 -1
- package/dist/elements/http/UrlEncodeUtils.d.ts +1 -1
- package/dist/elements/http/UrlEncodeUtils.d.ts.map +1 -1
- package/dist/elements/http/UrlEncodeUtils.js +1 -1
- package/dist/elements/http/UrlEncodeUtils.js.map +1 -1
- package/dist/elements/http/UrlInput.d.ts +1 -1
- package/dist/elements/http/UrlInput.d.ts.map +1 -1
- package/dist/elements/http/UrlInput.js.map +1 -1
- package/dist/elements/http/UrlParamsForm.d.ts +1 -1
- package/dist/elements/http/UrlParamsForm.d.ts.map +1 -1
- package/dist/elements/http/UrlParamsForm.js +1 -1
- package/dist/elements/http/UrlParamsForm.js.map +1 -1
- package/dist/elements/layout/SplitPanel.js +1 -1
- package/dist/elements/layout/SplitPanel.js.map +1 -1
- package/dist/elements/navigation/AppNavigationElement.js +1 -1
- package/dist/elements/navigation/AppNavigationElement.js.map +1 -1
- package/dist/elements/project/HttpProjectRequest.d.ts +2 -2
- package/dist/elements/project/HttpProjectRequest.d.ts.map +1 -1
- package/dist/elements/project/HttpProjectRequest.js +1 -1
- package/dist/elements/project/HttpProjectRequest.js.map +1 -1
- package/dist/elements/project/HttpProjectRequestHistory.d.ts +1 -1
- package/dist/elements/project/HttpProjectRequestHistory.d.ts.map +1 -1
- package/dist/elements/project/HttpProjectRequestHistory.js +1 -1
- package/dist/elements/project/HttpProjectRequestHistory.js.map +1 -1
- package/dist/elements/project/ProjectNavigation.d.ts +1 -1
- package/dist/elements/project/ProjectNavigation.d.ts.map +1 -1
- package/dist/elements/project/ProjectNavigation.js +1 -1
- package/dist/elements/project/ProjectNavigation.js.map +1 -1
- package/dist/elements/project/ProjectRunReport.d.ts +1 -1
- package/dist/elements/project/ProjectRunReport.d.ts.map +1 -1
- package/dist/elements/project/ProjectRunReport.js +1 -1
- package/dist/elements/project/ProjectRunReport.js.map +1 -1
- package/dist/elements/project/ProjectRunner.d.ts +1 -1
- package/dist/elements/project/ProjectRunner.d.ts.map +1 -1
- package/dist/elements/project/ProjectRunner.js +1 -1
- package/dist/elements/project/ProjectRunner.js.map +1 -1
- package/dist/elements/project/ProjectRunnerNavigationElement.d.ts +1 -1
- package/dist/elements/project/ProjectRunnerNavigationElement.d.ts.map +1 -1
- package/dist/elements/project/ProjectRunnerNavigationElement.js +1 -1
- package/dist/elements/project/ProjectRunnerNavigationElement.js.map +1 -1
- package/dist/elements/schema-design/AssociationFormElement.d.ts +1 -1
- package/dist/elements/schema-design/AssociationFormElement.d.ts.map +1 -1
- package/dist/elements/schema-design/AssociationFormElement.js +1 -1
- package/dist/elements/schema-design/AssociationFormElement.js.map +1 -1
- package/dist/elements/schema-design/DataEntityEditorElement.d.ts +1 -1
- package/dist/elements/schema-design/DataEntityEditorElement.d.ts.map +1 -1
- package/dist/elements/schema-design/DataEntityEditorElement.js +1 -1
- package/dist/elements/schema-design/DataEntityEditorElement.js.map +1 -1
- package/dist/elements/schema-design/DataModelVisualizationElement.d.ts +1 -1
- package/dist/elements/schema-design/DataModelVisualizationElement.d.ts.map +1 -1
- package/dist/elements/schema-design/DataModelVisualizationElement.js.map +1 -1
- package/dist/elements/schema-design/DataSchemaDocument.d.ts +1 -1
- package/dist/elements/schema-design/DataSchemaDocument.d.ts.map +1 -1
- package/dist/elements/schema-design/DataSchemaDocument.js +1 -1
- package/dist/elements/schema-design/DataSchemaDocument.js.map +1 -1
- package/dist/elements/schema-design/EntityFormElement.d.ts +1 -1
- package/dist/elements/schema-design/EntityFormElement.d.ts.map +1 -1
- package/dist/elements/schema-design/EntityFormElement.js +1 -1
- package/dist/elements/schema-design/EntityFormElement.js.map +1 -1
- package/dist/elements/schema-design/PropertyFormElement.d.ts +1 -1
- package/dist/elements/schema-design/PropertyFormElement.d.ts.map +1 -1
- package/dist/elements/schema-design/PropertyFormElement.js +1 -1
- package/dist/elements/schema-design/PropertyFormElement.js.map +1 -1
- package/dist/elements/schema-design/SchemaDesignNavigation.d.ts +1 -1
- package/dist/elements/schema-design/SchemaDesignNavigation.d.ts.map +1 -1
- package/dist/elements/schema-design/SchemaDesignNavigation.js +1 -1
- package/dist/elements/schema-design/SchemaDesignNavigation.js.map +1 -1
- package/dist/elements/schema-design/SchemaNamespaceSelector.d.ts +1 -1
- package/dist/elements/schema-design/SchemaNamespaceSelector.d.ts.map +1 -1
- package/dist/elements/schema-design/SchemaNamespaceSelector.js +1 -1
- package/dist/elements/schema-design/SchemaNamespaceSelector.js.map +1 -1
- package/dist/elements/store/FilePicker.element.d.ts +1 -1
- package/dist/elements/store/FilePicker.element.d.ts.map +1 -1
- package/dist/elements/store/FilePicker.element.js +1 -1
- package/dist/elements/store/FilePicker.element.js.map +1 -1
- package/dist/elements/store/FilesLib.d.ts +2 -2
- package/dist/elements/store/FilesLib.d.ts.map +1 -1
- package/dist/elements/store/FilesLib.js +1 -1
- package/dist/elements/store/FilesLib.js.map +1 -1
- package/dist/elements/store/ShareFile.element.d.ts +1 -1
- package/dist/elements/store/ShareFile.element.d.ts.map +1 -1
- package/dist/elements/store/ShareFile.element.js +1 -1
- package/dist/elements/store/ShareFile.element.js.map +1 -1
- package/dist/elements/user/UserAvatarElement.d.ts +1 -1
- package/dist/elements/user/UserAvatarElement.d.ts.map +1 -1
- package/dist/elements/user/UserAvatarElement.js.map +1 -1
- package/dist/events/BroadcastUiEvents.d.ts +1 -1
- package/dist/events/BroadcastUiEvents.d.ts.map +1 -1
- package/dist/events/BroadcastUiEvents.js.map +1 -1
- package/dist/events/Events.d.ts +30 -30
- package/dist/events/HttpClientEvents.d.ts +1 -1
- package/dist/events/HttpClientEvents.d.ts.map +1 -1
- package/dist/events/HttpClientEvents.js +1 -1
- package/dist/events/HttpClientEvents.js.map +1 -1
- package/dist/events/HttpProjectEvents.d.ts +1 -1
- package/dist/events/HttpProjectEvents.d.ts.map +1 -1
- package/dist/events/HttpProjectEvents.js +1 -1
- package/dist/events/HttpProjectEvents.js.map +1 -1
- package/dist/events/StoreEvents.d.ts +1 -1
- package/dist/events/StoreEvents.d.ts.map +1 -1
- package/dist/events/StoreEvents.js +1 -1
- package/dist/events/StoreEvents.js.map +1 -1
- package/dist/events/amf/ApiEvents.d.ts +1 -1
- package/dist/events/amf/ApiEvents.d.ts.map +1 -1
- package/dist/events/amf/ApiEvents.js.map +1 -1
- package/dist/events/amf/DocumentationEvents.d.ts +1 -1
- package/dist/events/amf/DocumentationEvents.d.ts.map +1 -1
- package/dist/events/amf/DocumentationEvents.js.map +1 -1
- package/dist/events/amf/EndpointEvents.d.ts +1 -1
- package/dist/events/amf/EndpointEvents.d.ts.map +1 -1
- package/dist/events/amf/EndpointEvents.js.map +1 -1
- package/dist/events/amf/Events.d.ts +17 -17
- package/dist/events/amf/OperationEvents.d.ts +1 -1
- package/dist/events/amf/OperationEvents.d.ts.map +1 -1
- package/dist/events/amf/OperationEvents.js.map +1 -1
- package/dist/events/amf/PayloadEvents.d.ts +1 -1
- package/dist/events/amf/PayloadEvents.d.ts.map +1 -1
- package/dist/events/amf/PayloadEvents.js.map +1 -1
- package/dist/events/amf/RequestEvents.d.ts +1 -1
- package/dist/events/amf/RequestEvents.d.ts.map +1 -1
- package/dist/events/amf/RequestEvents.js.map +1 -1
- package/dist/events/amf/ResponseEvents.d.ts +1 -1
- package/dist/events/amf/ResponseEvents.d.ts.map +1 -1
- package/dist/events/amf/ResponseEvents.js.map +1 -1
- package/dist/events/amf/SecurityEvents.d.ts +1 -1
- package/dist/events/amf/SecurityEvents.d.ts.map +1 -1
- package/dist/events/amf/SecurityEvents.js.map +1 -1
- package/dist/events/amf/ServerEvents.d.ts +1 -1
- package/dist/events/amf/ServerEvents.d.ts.map +1 -1
- package/dist/events/amf/ServerEvents.js.map +1 -1
- package/dist/events/amf/TypeEvents.d.ts +1 -1
- package/dist/events/amf/TypeEvents.d.ts.map +1 -1
- package/dist/events/amf/TypeEvents.js.map +1 -1
- package/dist/http-client/idb/Arc18DataUpgrade.js +1 -1
- package/dist/http-client/idb/Arc18DataUpgrade.js.map +1 -1
- package/dist/http-client/idb/Base.d.ts +1 -1
- package/dist/http-client/idb/Base.d.ts.map +1 -1
- package/dist/http-client/idb/Base.js +1 -1
- package/dist/http-client/idb/Base.js.map +1 -1
- package/dist/http-client/idb/LegacyBodyProcessor.d.ts +1 -1
- package/dist/http-client/idb/LegacyBodyProcessor.d.ts.map +1 -1
- package/dist/http-client/idb/LegacyBodyProcessor.js.map +1 -1
- package/dist/http-client/idb/MockedStore.d.ts +1 -1
- package/dist/http-client/idb/MockedStore.d.ts.map +1 -1
- package/dist/http-client/idb/MockedStore.js +1 -1
- package/dist/http-client/idb/MockedStore.js.map +1 -1
- package/dist/http-client/store/Cursor.js +3 -3
- package/dist/http-client/store/Cursor.js.map +1 -1
- package/dist/http-client/store/DataImportProcessor.d.ts +2 -2
- package/dist/http-client/store/DataImportProcessor.d.ts.map +1 -1
- package/dist/http-client/store/DataImportProcessor.js +2 -2
- package/dist/http-client/store/DataImportProcessor.js.map +1 -1
- package/dist/http-client/store/HttpClientIdbDatabase.d.ts +1 -1
- package/dist/http-client/store/HttpClientIdbDatabase.d.ts.map +1 -1
- package/dist/http-client/store/HttpClientIdbDatabase.js +2 -6
- package/dist/http-client/store/HttpClientIdbDatabase.js.map +1 -1
- package/dist/http-client/store/IdbThread.d.ts +1 -1
- package/dist/http-client/store/IdbThread.d.ts.map +1 -1
- package/dist/http-client/store/IdbThread.js.map +1 -1
- package/dist/http-client/store/State.d.ts +1 -3
- package/dist/http-client/store/State.d.ts.map +1 -1
- package/dist/http-client/store/State.js.map +1 -1
- package/dist/http-client/store/idb/IdbProjectUi.d.ts +1 -1
- package/dist/http-client/store/idb/IdbProjectUi.d.ts.map +1 -1
- package/dist/http-client/store/idb/IdbProjectUi.js +1 -1
- package/dist/http-client/store/idb/IdbProjectUi.js.map +1 -1
- package/dist/http-client/store/idb/IdbStore.d.ts +1 -10
- package/dist/http-client/store/idb/IdbStore.d.ts.map +1 -1
- package/dist/http-client/store/idb/IdbStore.js +0 -48
- package/dist/http-client/store/idb/IdbStore.js.map +1 -1
- package/dist/http-client/store/idb/IdbUrlHistory.d.ts +1 -1
- package/dist/http-client/store/idb/IdbUrlHistory.d.ts.map +1 -1
- package/dist/http-client/store/idb/IdbUrlHistory.js.map +1 -1
- package/dist/http-client/store/idb/IdbWsHistory.d.ts +1 -1
- package/dist/http-client/store/idb/IdbWsHistory.d.ts.map +1 -1
- package/dist/http-client/store/idb/IdbWsHistory.js.map +1 -1
- package/dist/http-client/store/stores/ProjectUi.d.ts +1 -1
- package/dist/http-client/store/stores/ProjectUi.d.ts.map +1 -1
- package/dist/http-client/store/stores/ProjectUi.js.map +1 -1
- package/dist/http-client/store/stores/UrlHistory.d.ts +1 -1
- package/dist/http-client/store/stores/UrlHistory.d.ts.map +1 -1
- package/dist/http-client/store/stores/UrlHistory.js.map +1 -1
- package/dist/http-client/store/stores/WsHistory.d.ts +1 -1
- package/dist/http-client/store/stores/WsHistory.d.ts.map +1 -1
- package/dist/http-client/store/stores/WsHistory.js.map +1 -1
- package/dist/http-client/store/types.d.ts +2 -56
- package/dist/http-client/store/types.d.ts.map +1 -1
- package/dist/http-client/store/types.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/chart/HttpHistoryChart.d.ts +1 -1
- package/dist/lib/chart/HttpHistoryChart.d.ts.map +1 -1
- package/dist/lib/chart/HttpHistoryChart.js +1 -1
- package/dist/lib/chart/HttpHistoryChart.js.map +1 -1
- package/dist/lib/http/Har.d.ts +1 -1
- package/dist/lib/http/Har.d.ts.map +1 -1
- package/dist/lib/http/Har.js.map +1 -1
- package/dist/lib/http/HeadersArray.js +1 -1
- package/dist/lib/http/HeadersArray.js.map +1 -1
- package/dist/lib/http/Payload.d.ts +1 -1
- package/dist/lib/http/Payload.d.ts.map +1 -1
- package/dist/lib/http/Payload.js.map +1 -1
- package/dist/lib/http/Url.d.ts +1 -1
- package/dist/lib/http/Url.d.ts.map +1 -1
- package/dist/lib/http/Url.js.map +1 -1
- package/dist/pages/ApplicationScreen.d.ts +1 -1
- package/dist/pages/ApplicationScreen.d.ts.map +1 -1
- package/dist/pages/ApplicationScreen.js +1 -1
- package/dist/pages/ApplicationScreen.js.map +1 -1
- package/dist/pages/api-client/ApiClient.screen.d.ts +5 -5
- package/dist/pages/api-client/ApiClient.screen.d.ts.map +1 -1
- package/dist/pages/api-client/ApiClient.screen.js +3 -3
- package/dist/pages/api-client/ApiClient.screen.js.map +1 -1
- package/dist/pages/api-client/AppInfo.d.ts +1 -1
- package/dist/pages/api-client/AppInfo.d.ts.map +1 -1
- package/dist/pages/api-client/AppInfo.js.map +1 -1
- package/dist/pages/api-client/StoreConfig.screen.js +1 -1
- package/dist/pages/api-client/StoreConfig.screen.js.map +1 -1
- package/dist/pages/api-client/pages/Files.page.d.ts +1 -1
- package/dist/pages/api-client/pages/Files.page.d.ts.map +1 -1
- package/dist/pages/api-client/pages/Files.page.js +1 -1
- package/dist/pages/api-client/pages/Files.page.js.map +1 -1
- package/dist/pages/api-client/pages/Shared.page.d.ts +1 -1
- package/dist/pages/api-client/pages/Shared.page.d.ts.map +1 -1
- package/dist/pages/api-client/pages/Shared.page.js.map +1 -1
- package/dist/pages/api-client/pages/Trash.page.d.ts +1 -1
- package/dist/pages/api-client/pages/Trash.page.d.ts.map +1 -1
- package/dist/pages/api-client/pages/Trash.page.js +3 -11
- package/dist/pages/api-client/pages/Trash.page.js.map +1 -1
- package/dist/pages/http-project/AppInfo.d.ts +1 -1
- package/dist/pages/http-project/AppInfo.d.ts.map +1 -1
- package/dist/pages/http-project/AppInfo.js.map +1 -1
- package/dist/pages/http-project/HttpClientCommands.js +1 -1
- package/dist/pages/http-project/HttpClientCommands.js.map +1 -1
- package/dist/pages/http-project/HttpProject.screen.d.ts +1 -1
- package/dist/pages/http-project/HttpProject.screen.d.ts.map +1 -1
- package/dist/pages/http-project/HttpProject.screen.js +1 -1
- package/dist/pages/http-project/HttpProject.screen.js.map +1 -1
- package/dist/pages/http-project/types.d.ts +1 -1
- package/dist/pages/http-project/types.d.ts.map +1 -1
- package/dist/pages/http-project/types.js.map +1 -1
- package/dist/pages/schema-design/AppInfo.d.ts +1 -1
- package/dist/pages/schema-design/AppInfo.d.ts.map +1 -1
- package/dist/pages/schema-design/AppInfo.js.map +1 -1
- package/dist/pages/schema-design/SchemaDesigner.screen.d.ts +1 -1
- package/dist/pages/schema-design/SchemaDesigner.screen.d.ts.map +1 -1
- package/dist/pages/schema-design/SchemaDesigner.screen.js +1 -1
- package/dist/pages/schema-design/SchemaDesigner.screen.js.map +1 -1
- package/dist/pages/schema-design/SchemaDesignerCommands.d.ts +1 -1
- package/dist/pages/schema-design/SchemaDesignerCommands.d.ts.map +1 -1
- package/dist/pages/schema-design/SchemaDesignerCommands.js +1 -1
- package/dist/pages/schema-design/SchemaDesignerCommands.js.map +1 -1
- package/dist/store/FileSystem.d.ts +1 -1
- package/dist/store/FileSystem.d.ts.map +1 -1
- package/dist/store/FileSystem.js.map +1 -1
- package/dist/store/HttpStore.d.ts +1 -1
- package/dist/store/HttpStore.d.ts.map +1 -1
- package/dist/store/HttpStore.js +1 -1
- package/dist/store/HttpStore.js.map +1 -1
- package/dist/store/UserCache.d.ts +1 -1
- package/dist/store/UserCache.d.ts.map +1 -1
- package/dist/store/UserCache.js.map +1 -1
- package/dist/ui/chip/UiChip.js +1 -1
- package/dist/ui/chip/UiChip.js.map +1 -1
- package/dist/ui/list/UiDropdownList.js +1 -1
- package/dist/ui/list/UiDropdownList.js.map +1 -1
- package/dist/ui/notification/Snackbar.js +1 -1
- package/dist/ui/notification/Snackbar.js.map +1 -1
- package/dist/visualization/plugin/positioning/DataModelLayout.d.ts +1 -1
- package/dist/visualization/plugin/positioning/DataModelLayout.d.ts.map +1 -1
- package/dist/visualization/plugin/positioning/DataModelLayout.js.map +1 -1
- package/package.json +4 -4
- package/src/amf/lib/AmfInputParser.ts +1 -1
- package/src/amf/lib/AmfParameters.ts +1 -1
- package/src/amf/lib/AmfSecurity.ts +1 -1
- package/src/amf/lib/Oauth2RamlCustomData.ts +1 -1
- package/src/amf/lib/PayloadUtils.ts +1 -1
- package/src/amf/lib/QueryParameterProcessor.ts +1 -1
- package/src/amf/lib/Utils.ts +1 -1
- package/src/amf/store/AmfGraphStore.ts +1 -1
- package/src/amf/store/AmfStore.ts +1 -1
- package/src/amf/store/InMemAmfGraphStore.ts +1 -1
- package/src/amf/types.ts +1 -1
- package/src/bindings/base/HttpClientStoreBindings.ts +1 -1
- package/src/bindings/base/IoThread.ts +1 -1
- package/src/bindings/base/PlatformBindings.ts +1 -1
- package/src/bindings/base/ProxyBindings.ts +1 -1
- package/src/bindings/base/StoreBindings.ts +1 -1
- package/src/bindings/web/WebConfigurationBindings.ts +1 -1
- package/src/bindings/web/WebFileBindings.ts +1 -1
- package/src/bindings/web/WebHttpClientStoreBindings.ts +1 -1
- package/src/bindings/web/WebProxyBindings.ts +1 -1
- package/src/bindings/web/WebStoreBindings.ts +1 -1
- package/src/code-snippets/Bash/CurlSnippet.ts +1 -1
- package/src/code-snippets/C/CcurlSnippet.ts +1 -1
- package/src/code-snippets/CodeSnippet.ts +1 -1
- package/src/code-snippets/Dart/DartSnippet.ts +1 -1
- package/src/code-snippets/HTTP/RawSnippet.ts +1 -1
- package/src/code-snippets/Java/PlatformSnippet.ts +1 -1
- package/src/code-snippets/Java/SpringSnippet.ts +1 -1
- package/src/code-snippets/JavaScript/AsyncFetchSnippet.ts +1 -1
- package/src/code-snippets/JavaScript/AxiosSnippet.ts +1 -1
- package/src/code-snippets/JavaScript/FetchSnippet.ts +1 -1
- package/src/code-snippets/JavaScript/NodeSnippet.ts +1 -1
- package/src/code-snippets/JavaScript/XhrSnippet.ts +1 -1
- package/src/code-snippets/JavaScript/jQuerySnippet.ts +1 -1
- package/src/code-snippets/Python/Python27Snippet.ts +1 -1
- package/src/code-snippets/Python/Python31Snippet.ts +1 -1
- package/src/code-snippets/Python/RequestsSnippet.ts +1 -1
- package/src/define/http/http-body-editor.ts +1 -1
- package/src/elements/amf/ApiAnnotationDocument.element.ts +1 -1
- package/src/elements/amf/ApiAuthorizationEditor.element.ts +1 -1
- package/src/elements/amf/ApiChannelDocument.element.ts +1 -1
- package/src/elements/amf/ApiDocumentation.element.ts +1 -1
- package/src/elements/amf/ApiDocumentationBase.ts +1 -1
- package/src/elements/amf/ApiDocumentationDocument.element.ts +1 -1
- package/src/elements/amf/ApiNavigation.element.ts +1 -1
- package/src/elements/amf/ApiOperationDocument.element.ts +1 -1
- package/src/elements/amf/ApiParameterDocument.element.ts +1 -1
- package/src/elements/amf/ApiParametrizedSecurityScheme.element.ts +1 -1
- package/src/elements/amf/ApiPayloadDocument.element.ts +1 -1
- package/src/elements/amf/ApiRequest.element.ts +1 -1
- package/src/elements/amf/ApiRequestDocument.element.ts +1 -1
- package/src/elements/amf/ApiRequestEditor.element.ts +1 -1
- package/src/elements/amf/ApiResourceDocument.element.ts +1 -1
- package/src/elements/amf/ApiResponseDocument.element.ts +1 -1
- package/src/elements/amf/ApiSchemaDocument.element.ts +1 -1
- package/src/elements/amf/ApiSecurityDocument.element.ts +1 -1
- package/src/elements/amf/ApiSecurityRequirementDocument.element.ts +1 -1
- package/src/elements/amf/ApiServerPicker.element.ts +1 -1
- package/src/elements/amf/ApiSummary.element.ts +1 -1
- package/src/elements/amf/SchemaCommonTemplates.ts +1 -1
- package/src/elements/amf/authorization/AmfApiKey.ts +1 -1
- package/src/elements/amf/authorization/AmfBasic.ts +1 -1
- package/src/elements/amf/authorization/AmfBearer.ts +1 -1
- package/src/elements/amf/authorization/AmfOauth2.ts +1 -1
- package/src/elements/amf/authorization/AmfOidc.ts +1 -1
- package/src/elements/amf/authorization/AmfPassThrough.ts +1 -1
- package/src/elements/amf/authorization/AmfRamlCustom.ts +1 -1
- package/src/elements/authorization/OAuth2Authorize.ts +1 -1
- package/src/elements/authorization/OidcAuthorize.ts +1 -1
- package/src/elements/authorization/ui/ApiKeyAuthorization.ts +1 -1
- package/src/elements/authorization/ui/Authorization.ts +1 -1
- package/src/elements/authorization/ui/BasicAuthorization.ts +1 -1
- package/src/elements/authorization/ui/BearerAuthorization.ts +1 -1
- package/src/elements/authorization/ui/CcAuthorization.ts +1 -1
- package/src/elements/authorization/ui/NtlmAuthorization.ts +1 -1
- package/src/elements/authorization/ui/OAuth2Authorization.ts +1 -1
- package/src/elements/authorization/ui/OidcAuthorization.ts +1 -1
- package/src/elements/code/HttpSnippets.ts +1 -1
- package/src/elements/dialog/DeleteCookieAction.element.ts +1 -1
- package/src/elements/dialog/SetCookieAction.element.ts +2 -2
- package/src/elements/environment/EnvironmentEditor.ts +1 -1
- package/src/elements/environment/ServerEditor.ts +1 -1
- package/src/elements/environment/VariablesEditor.ts +1 -1
- package/src/elements/har/HarViewer.ts +1 -1
- package/src/elements/http/BodyEditor.styles.ts +5 -19
- package/src/elements/http/BodyEditor.ts +6 -6
- package/src/elements/http/BodyMultipartEditor.ts +1 -1
- package/src/elements/http/BodyUrlEncodedEditor.ts +1 -1
- package/src/elements/http/CertificateAdd.element.ts +1 -1
- package/src/elements/http/HeadersForm.ts +1 -1
- package/src/elements/http/HttpAssertions.element.ts +1 -1
- package/src/elements/http/HttpFlows.element.ts +1 -1
- package/src/elements/http/HttpFlowsUi.ts +1 -1
- package/src/elements/http/LogBody.ts +1 -1
- package/src/elements/http/LogHeaders.ts +1 -1
- package/src/elements/http/LogTimings.ts +1 -1
- package/src/elements/http/RequestAuth.template.ts +1 -1
- package/src/elements/http/RequestConfigElement.ts +1 -1
- package/src/elements/http/RequestEditor.ts +2 -2
- package/src/elements/http/RequestLog.ts +1 -1
- package/src/elements/http/UrlEncodeUtils.ts +1 -1
- package/src/elements/http/UrlInput.ts +1 -1
- package/src/elements/http/UrlParamsForm.ts +1 -1
- package/src/elements/layout/SplitPanel.ts +1 -1
- package/src/elements/navigation/AppNavigationElement.ts +1 -1
- package/src/elements/project/HttpProjectRequest.ts +2 -2
- package/src/elements/project/HttpProjectRequestHistory.ts +1 -1
- package/src/elements/project/ProjectNavigation.ts +1 -1
- package/src/elements/project/ProjectRunReport.ts +1 -1
- package/src/elements/project/ProjectRunner.ts +1 -1
- package/src/elements/project/ProjectRunnerNavigationElement.ts +1 -1
- package/src/elements/schema-design/AssociationFormElement.ts +1 -1
- package/src/elements/schema-design/DataEntityEditorElement.ts +1 -1
- package/src/elements/schema-design/DataModelVisualizationElement.ts +1 -1
- package/src/elements/schema-design/DataSchemaDocument.ts +1 -1
- package/src/elements/schema-design/EntityFormElement.ts +1 -1
- package/src/elements/schema-design/PropertyFormElement.ts +2 -2
- package/src/elements/schema-design/SchemaDesignNavigation.ts +1 -1
- package/src/elements/schema-design/SchemaNamespaceSelector.ts +1 -1
- package/src/elements/store/FilePicker.element.ts +1 -1
- package/src/elements/store/FilesLib.ts +2 -2
- package/src/elements/store/ShareFile.element.ts +1 -1
- package/src/elements/user/UserAvatarElement.ts +1 -1
- package/src/events/BroadcastUiEvents.ts +1 -1
- package/src/events/HttpClientEvents.ts +1 -1
- package/src/events/HttpProjectEvents.ts +1 -1
- package/src/events/StoreEvents.ts +1 -1
- package/src/events/amf/ApiEvents.ts +1 -1
- package/src/events/amf/DocumentationEvents.ts +1 -1
- package/src/events/amf/EndpointEvents.ts +1 -1
- package/src/events/amf/OperationEvents.ts +1 -1
- package/src/events/amf/PayloadEvents.ts +1 -1
- package/src/events/amf/RequestEvents.ts +1 -1
- package/src/events/amf/ResponseEvents.ts +1 -1
- package/src/events/amf/SecurityEvents.ts +1 -1
- package/src/events/amf/ServerEvents.ts +1 -1
- package/src/events/amf/TypeEvents.ts +1 -1
- package/src/http-client/idb/Arc18DataUpgrade.ts +1 -1
- package/src/http-client/idb/Base.ts +1 -1
- package/src/http-client/idb/LegacyBodyProcessor.ts +1 -1
- package/src/http-client/idb/MockedStore.ts +1 -1
- package/src/http-client/store/Cursor.ts +3 -3
- package/src/http-client/store/DataImportProcessor.ts +2 -2
- package/src/http-client/store/HttpClientIdbDatabase.ts +6 -10
- package/src/http-client/store/IdbThread.ts +1 -1
- package/src/http-client/store/State.ts +1 -5
- package/src/http-client/store/idb/IdbProjectUi.ts +1 -1
- package/src/http-client/store/idb/IdbStore.ts +1 -51
- package/src/http-client/store/idb/IdbUrlHistory.ts +1 -1
- package/src/http-client/store/idb/IdbWsHistory.ts +1 -1
- package/src/http-client/store/stores/ProjectUi.ts +1 -1
- package/src/http-client/store/stores/UrlHistory.ts +1 -1
- package/src/http-client/store/stores/WsHistory.ts +1 -1
- package/src/http-client/store/types.ts +2 -57
- package/src/index.ts +3 -0
- package/src/lib/chart/HttpHistoryChart.ts +1 -1
- package/src/lib/http/Har.ts +1 -1
- package/src/lib/http/HeadersArray.ts +1 -1
- package/src/lib/http/Payload.ts +1 -1
- package/src/lib/http/Url.ts +1 -1
- package/src/pages/ApplicationScreen.ts +1 -1
- package/src/pages/api-client/ApiClient.screen.ts +8 -8
- package/src/pages/api-client/AppInfo.ts +1 -1
- package/src/pages/api-client/StoreConfig.screen.ts +1 -1
- package/src/pages/api-client/pages/Files.page.ts +1 -1
- package/src/pages/api-client/pages/Shared.page.ts +1 -1
- package/src/pages/api-client/pages/Trash.page.ts +3 -10
- package/src/pages/http-project/AppInfo.ts +1 -1
- package/src/pages/http-project/HttpClientCommands.ts +1 -1
- package/src/pages/http-project/HttpProject.screen.ts +1 -1
- package/src/pages/http-project/types.ts +1 -1
- package/src/pages/schema-design/AppInfo.ts +1 -1
- package/src/pages/schema-design/SchemaDesigner.screen.ts +1 -1
- package/src/pages/schema-design/SchemaDesignerCommands.ts +1 -1
- package/src/store/FileSystem.ts +1 -1
- package/src/store/HttpStore.ts +1 -1
- package/src/store/UserCache.ts +1 -1
- package/src/ui/chip/UiChip.ts +1 -1
- package/src/ui/list/UiDropdownList.ts +1 -1
- package/src/ui/notification/Snackbar.ts +1 -1
- package/src/visualization/plugin/positioning/DataModelLayout.ts +1 -1
- package/test/amf/AmfLoader.ts +1 -1
- package/test/amf/authorization/ApiAuthorizationEditorElement.oas.test.ts +1 -1
- package/test/amf/authorization/ApiAuthorizationEditorElement.raml.test.ts +1 -1
- package/test/amf/authorization/ApiKeyMethod.test.ts +1 -1
- package/test/amf/authorization/CustomMethod.test.ts +1 -1
- package/test/amf/authorization/OAuth2-21143.test.ts +1 -1
- package/test/amf/authorization/OAuth2-flows.test.ts +1 -1
- package/test/amf/authorization/OAuth2-pkce.test.ts +1 -1
- package/test/amf/authorization/OAuth2Method.test.ts +1 -1
- package/test/amf/authorization/PassThroughMethod.test.ts +1 -1
- package/test/amf/elements/ApiAnnotationDocumentElement.test.ts +1 -1
- package/test/amf/elements/ApiDocumentationDocumentElement.test.ts +1 -1
- package/test/amf/elements/ApiDocumentationElement.test.ts +1 -1
- package/test/amf/elements/ApiOperationDocumentElement.test.ts +1 -1
- package/test/amf/elements/ApiRequestDocumentElement.test.ts +1 -1
- package/test/amf/elements/ApiResourceDocumentElement.test.ts +1 -1
- package/test/amf/elements/ApiResponseDocumentElement.test.ts +1 -1
- package/test/amf/elements/ApiSchemaDocumentElement.test.ts +1 -1
- package/test/amf/elements/ApiSecurityDocumentElement.test.ts +1 -1
- package/test/amf/elements/ApiSecurityRequirementDocumentElement.test.ts +1 -1
- package/test/amf/elements/ApiServerPickerElement.test.ts +1 -1
- package/test/amf/elements/ApiSummaryElement.test.ts +1 -1
- package/test/amf/elements/SE-12957.test.ts +1 -1
- package/test/amf/http-request/APIC-289.test.ts +1 -1
- package/test/amf/http-request/APIC-298.test.ts +1 -1
- package/test/amf/http-request/APIC-689.test.ts +1 -1
- package/test/amf/http-request/ApiRequestEditorElement.test.ts +1 -1
- package/test/amf/http-request/ApiRequestElement.test.ts +1 -1
- package/test/amf/http-request/SE-12042.test.ts +1 -1
- package/test/amf/http-request/SE-12957.test.ts +1 -1
- package/test/amf/lib/UrlUtils.test.ts +1 -1
- package/test/amf/navigation/ApiNavigationElement.test.ts +1 -1
- package/test/elements/authorization/basic-method.test.ts +1 -1
- package/test/elements/authorization/bearer-method.test.ts +1 -1
- package/test/elements/authorization/ntlm-method.test.ts +1 -1
- package/test/elements/authorization/oauth2-client-credentials-method.test.ts +1 -1
- package/test/elements/authorization/oauth2-code-method.test.ts +1 -1
- package/test/elements/authorization/oauth2-custom-grant-method.test.ts +1 -1
- package/test/elements/authorization/oauth2-device-code-method.test.ts +1 -1
- package/test/elements/authorization/oauth2-implicit-method.test.ts +1 -1
- package/test/elements/authorization/oauth2-jwt-method.test.ts +1 -1
- package/test/elements/authorization/oauth2-password-method.test.ts +1 -1
- package/test/elements/authorization/openid-method.test.ts +1 -1
- package/test/elements/http/BodyFormdataEditorElement.test.ts +1 -1
- package/test/elements/http/HttpAssertions.test.ts +1 -1
- package/test/elements/http/HttpFlows.test.ts +1 -1
- package/test/elements/http/UrlEncodeUtils.test.ts +1 -1
- package/test/elements/store/FilePicker.test.ts +1 -1
- package/test/helpers/StoreHelper.ts +1 -1
- package/web-dev-server.config.mjs +2 -0
- package/web-test-runner.config.mjs +2 -2
- package/dist/http-client/store/Validator.d.ts +0 -4
- package/dist/http-client/store/Validator.d.ts.map +0 -1
- package/dist/http-client/store/Validator.js +0 -32
- package/dist/http-client/store/Validator.js.map +0 -1
- package/src/http-client/store/Validator.ts +0 -33
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserAvatarElement.js","sourceRoot":"","sources":["../../../src/elements/user/UserAvatarElement.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C;;;EAGE;AACF,OAAO,EAAE,IAAI,EAAkB,UAAU,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM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AE,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAChF,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACxB,CAAC;IAES,aAAa;QACrB,IAAI,CAAC,WAAW,GAAG,SAAS,CAAC;IAC/B,CAAC;IAED;;OAEG;IACM,MAAM;QACb,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;QACnC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,GAAG,KAAK,SAAS,EAAE;YACnC,OAAO,IAAI,CAAA,EAAE,CAAC;SACf;QACD,IAAI,WAAW,EAAE;YACf,OAAO,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,YAAY,EAAE;YACrB,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA;SAC5C;QACD,OAAO,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAA;IAC9B,CAAC;IAES,eAAe,CAAC,GAAW;QACnC,OAAO,IAAI,CAAA;gBACC,GAAG,UAAU,IAAI,CAAC,YAAY,IAAI,OAAO,4CAA4C,IAAI,CAAC,aAAa;KAClH,CAAC;IACJ,CAAC;IAED;;;OAGG;IACO,YAAY,CAAC,QAAgB;QACrC,OAAO,IAAI,CAAA;8CAC+B,QAAQ;KACjD,CAAC;IACJ,CAAC;CACF;AApFU;IAAR,KAAK,EAAE;uDAAiC;AAKhC;IAAR,KAAK,EAAE;sDAAgC;AAMxC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;6CAG1B","sourcesContent":["/* eslint-disable class-methods-use-this */\n/*\nCopyright 2022 Pawel Psztyc\nLicensed under the CC-BY 2.0\n*/\nimport { html, TemplateResult, LitElement, css, CSSResult } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { IUser } from '@api-client/core/build/browser.js';\n\nexport default class UserAvatarElement extends LitElement {\n static override get styles(): CSSResult {\n return css`\n :host {\n display: inline-block;\n width: 40px;\n height: 40px;\n }\n\n .user-icon,\n .avatar-initials {\n background-color: var(--user-avatar-initials-background-color, #0540F2);\n color: var(--user-avatar-initials-color, #fff);\n }\n\n .avatar-initials {\n border-radius: 50%;\n text-transform: uppercase;\n font-size: large;\n border: 1px #0d47a1 solid;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .user-picture {\n border-radius: 50%;\n border: 1px #0d47a1 solid;\n }\n\n .user-icon {\n width: inherit;\n height: inherit;\n }\n `;\n }\n\n private _user?: IUser;\n\n /**\n * Set with the user. The computed user initials.\n */\n @state() protected userInitials?: string;\n\n /**\n * The URL to the user picture.\n */\n @state() protected userPicture?: string;\n\n /**\n * @attribute\n */\n @property({ type: Object })\n get user(): IUser | undefined {\n return this._user;\n }\n\n set user(value: IUser | undefined) {\n const old = this._user;\n if (old === value) {\n return;\n }\n if (old && value && old.key === value.key) {\n return;\n }\n this._user = value;\n this.requestUpdate('user', old);\n this._processUser(value);\n }\n\n protected _processUser(user?: IUser): void {\n if (user) {\n this.userInitials = this._readUserInitials(user);\n this.userPicture = user.picture && user.picture.url;\n } else {\n this.userInitials = undefined;\n this.userPicture = undefined;\n }\n }\n\n protected _readUserInitials(user: IUser): string | undefined {\n const { name } = user;\n if (!name) {\n return undefined;\n }\n const max = 2;\n const parts = name.split(/[\\s-]/).slice(0, max).filter(i => !!i).map(i => i[0]);\n return parts.join('');\n }\n\n protected _pictureError(): void {\n this.userPicture = undefined;\n }\n\n /**\n * @return Template result for an icon\n */\n override render(): TemplateResult {\n const { user, userPicture } = this;\n if (!user || user.key === 'default') {\n return html``;\n }\n if (userPicture) {\n return this.pictureTemplate(userPicture);\n }\n if (this.userInitials) {\n return this.nameTemplate(this.userInitials)\n }\n return this.nameTemplate('')\n }\n\n protected pictureTemplate(url: string): TemplateResult {\n return html`\n <img src=\"${url}\" alt=\"${this.userInitials || 'Thumb'}\" class=\"user-picture user-icon\" @error=\"${this._pictureError}\"/>\n `;\n }\n\n /**\n * Renders a bubble with user initials\n * @param initials The user initials\n */\n protected nameTemplate(initials: string): TemplateResult {\n return html`\n <span class=\"avatar-initials user-icon\">${initials}</span>\n `;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"UserAvatarElement.js","sourceRoot":"","sources":["../../../src/elements/user/UserAvatarElement.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C;;;EAGE;AACF,OAAO,EAAE,IAAI,EAAkB,UAAU,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAGpD,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,UAAU;IACvD,MAAM,KAAc,MAAM;QACxB,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkCT,CAAC;IACJ,CAAC;IAcD;;OAEG;IAEH,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED,IAAI,IAAI,CAAC,KAAwB;QAC/B,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC;QACvB,IAAI,GAAG,KAAK,KAAK,EAAE;YACjB,OAAO;SACR;QACD,IAAI,GAAG,IAAI,KAAK,IAAI,GAAG,CAAC,GAAG,KAAK,KAAK,CAAC,GAAG,EAAE;YACzC,OAAO;SACR;QACD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAChC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAC3B,CAAC;IAES,YAAY,CAAC,IAAY;QACjC,IAAI,IAAI,EAAE;YACR,IAAI,CAAC,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,CAAA;IAC9B,CAAC;IAES,eAAe,CAAC,GAAW;QACnC,OAAO,IAAI,CAAA;gBACC,GAAG,UAAU,IAAI,CAAC,YAAY,IAAI,OAAO,4CAA4C,IAAI,CAAC,aAAa;KAClH,CAAC;IACJ,CAAC;IAED;;;OAGG;IACO,YAAY,CAAC,QAAgB;QACrC,OAAO,IAAI,CAAA;8CAC+B,QAAQ;KACjD,CAAC;IACJ,CAAC;CACF;AApFU;IAAR,KAAK,EAAE;uDAAiC;AAKhC;IAAR,KAAK,EAAE;sDAAgC;AAMxC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;6CAG1B","sourcesContent":["/* eslint-disable class-methods-use-this */\n/*\nCopyright 2022 Pawel Psztyc\nLicensed under the CC-BY 2.0\n*/\nimport { html, TemplateResult, LitElement, css, CSSResult } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { IUser } from '@api-client/core/build/esm/browser.js';\n\nexport default class UserAvatarElement extends LitElement {\n static override get styles(): CSSResult {\n return css`\n :host {\n display: inline-block;\n width: 40px;\n height: 40px;\n }\n\n .user-icon,\n .avatar-initials {\n background-color: var(--user-avatar-initials-background-color, #0540F2);\n color: var(--user-avatar-initials-color, #fff);\n }\n\n .avatar-initials {\n border-radius: 50%;\n text-transform: uppercase;\n font-size: large;\n border: 1px #0d47a1 solid;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .user-picture {\n border-radius: 50%;\n border: 1px #0d47a1 solid;\n }\n\n .user-icon {\n width: inherit;\n height: inherit;\n }\n `;\n }\n\n private _user?: IUser;\n\n /**\n * Set with the user. The computed user initials.\n */\n @state() protected userInitials?: string;\n\n /**\n * The URL to the user picture.\n */\n @state() protected userPicture?: string;\n\n /**\n * @attribute\n */\n @property({ type: Object })\n get user(): IUser | undefined {\n return this._user;\n }\n\n set user(value: IUser | undefined) {\n const old = this._user;\n if (old === value) {\n return;\n }\n if (old && value && old.key === value.key) {\n return;\n }\n this._user = value;\n this.requestUpdate('user', old);\n this._processUser(value);\n }\n\n protected _processUser(user?: IUser): void {\n if (user) {\n this.userInitials = this._readUserInitials(user);\n this.userPicture = user.picture && user.picture.url;\n } else {\n this.userInitials = undefined;\n this.userPicture = undefined;\n }\n }\n\n protected _readUserInitials(user: IUser): string | undefined {\n const { name } = user;\n if (!name) {\n return undefined;\n }\n const max = 2;\n const parts = name.split(/[\\s-]/).slice(0, max).filter(i => !!i).map(i => i[0]);\n return parts.join('');\n }\n\n protected _pictureError(): void {\n this.userPicture = undefined;\n }\n\n /**\n * @return Template result for an icon\n */\n override render(): TemplateResult {\n const { user, userPicture } = this;\n if (!user || user.key === 'default') {\n return html``;\n }\n if (userPicture) {\n return this.pictureTemplate(userPicture);\n }\n if (this.userInitials) {\n return this.nameTemplate(this.userInitials)\n }\n return this.nameTemplate('')\n }\n\n protected pictureTemplate(url: string): TemplateResult {\n return html`\n <img src=\"${url}\" alt=\"${this.userInitials || 'Thumb'}\" class=\"user-picture user-icon\" @error=\"${this._pictureError}\"/>\n `;\n }\n\n /**\n * Renders a bubble with user initials\n * @param initials The user initials\n */\n protected nameTemplate(initials: string): TemplateResult {\n return html`\n <span class=\"avatar-initials user-icon\">${initials}</span>\n `;\n }\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BroadcastCreatedEvent, DeletedBroadcastEvent, IRequestUiMeta, RequestUiMetaKind } from "@api-client/core/build/browser.js";
|
|
1
|
+
import { BroadcastCreatedEvent, DeletedBroadcastEvent, IRequestUiMeta, RequestUiMetaKind } from "@api-client/core/build/esm/browser.js";
|
|
2
2
|
export interface ProjectUiCreatedBroadcastEvent extends BroadcastCreatedEvent {
|
|
3
3
|
project: string;
|
|
4
4
|
kind: typeof RequestUiMetaKind;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BroadcastUiEvents.d.ts","sourceRoot":"","sources":["../../src/events/BroadcastUiEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"BroadcastUiEvents.d.ts","sourceRoot":"","sources":["../../src/events/BroadcastUiEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAExI,MAAM,WAAW,8BAA+B,SAAQ,qBAAqB;IAC3E,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,OAAO,iBAAiB,CAAC;IAC/B,IAAI,EAAE,cAAc,CAAC;CACtB;AAED,MAAM,WAAW,8BAA+B,SAAQ,qBAAqB;IAC3E,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,OAAO,iBAAiB,CAAC;CAChC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BroadcastUiEvents.js","sourceRoot":"","sources":["../../src/events/BroadcastUiEvents.ts"],"names":[],"mappings":"","sourcesContent":["import { BroadcastCreatedEvent, DeletedBroadcastEvent, IRequestUiMeta, RequestUiMetaKind } from \"@api-client/core/build/browser.js\";\n\nexport interface ProjectUiCreatedBroadcastEvent extends BroadcastCreatedEvent {\n project: string;\n kind: typeof RequestUiMetaKind;\n data: IRequestUiMeta;\n}\n\nexport interface ProjectUiDeletedBroadcastEvent extends DeletedBroadcastEvent {\n project: string;\n kind: typeof RequestUiMetaKind;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"BroadcastUiEvents.js","sourceRoot":"","sources":["../../src/events/BroadcastUiEvents.ts"],"names":[],"mappings":"","sourcesContent":["import { BroadcastCreatedEvent, DeletedBroadcastEvent, IRequestUiMeta, RequestUiMetaKind } from \"@api-client/core/build/esm/browser.js\";\n\nexport interface ProjectUiCreatedBroadcastEvent extends BroadcastCreatedEvent {\n project: string;\n kind: typeof RequestUiMetaKind;\n data: IRequestUiMeta;\n}\n\nexport interface ProjectUiDeletedBroadcastEvent extends DeletedBroadcastEvent {\n project: string;\n kind: typeof RequestUiMetaKind;\n}\n"]}
|
package/dist/events/Events.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export declare const Events: Readonly<{
|
|
|
46
46
|
}>;
|
|
47
47
|
Store: Readonly<{
|
|
48
48
|
initEnvironment: (init: import("../index.js").IConfigInit, target?: EventTarget) => Promise<void>;
|
|
49
|
-
storeInfo: (baseUri: string, target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").IBackendInfo>;
|
|
49
|
+
storeInfo: (baseUri: string, target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").IBackendInfo>;
|
|
50
50
|
Global: Readonly<{
|
|
51
51
|
setEnv: (env: import("../index.js").IConfigEnvironment, target?: EventTarget) => Promise<void>;
|
|
52
52
|
getEnv: (target?: EventTarget) => Promise<import("../index.js").IConfigEnvironment>;
|
|
@@ -57,43 +57,43 @@ export declare const Events: Readonly<{
|
|
|
57
57
|
getToken: (target?: EventTarget) => Promise<string | undefined>;
|
|
58
58
|
}>;
|
|
59
59
|
File: Readonly<{
|
|
60
|
-
list: (kinds?: import("@api-client/core/build/browser.js").ListFileKind[] | undefined, options?: import("@api-client/core/build/browser.js").ContextListOptions | undefined, target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").ContextListResult<import("@api-client/core/build/browser.js").IFile>>;
|
|
61
|
-
listShared: (kinds?: import("@api-client/core/build/browser.js").ListFileKind[] | undefined, options?: import("@api-client/core/build/browser.js").ContextListOptions | undefined, target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").ContextListResult<import("@api-client/core/build/browser.js").IFile>>;
|
|
62
|
-
create: (meta: import("@api-client/core/build/browser.js").IFile, media?: unknown, opts?: import("@api-client/core/build/browser.js").IFileCreateOptions | undefined, target?: EventTarget) => Promise<string>;
|
|
63
|
-
createDefault: (name: string, kind: string, opts?: import("@api-client/core/build/browser.js").IFileCreateOptions | undefined, target?: EventTarget) => Promise<string>;
|
|
60
|
+
list: (kinds?: import("@api-client/core/build/esm/browser.js").ListFileKind[] | undefined, options?: import("@api-client/core/build/esm/browser.js").ContextListOptions | undefined, target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").ContextListResult<import("@api-client/core/build/esm/browser.js").IFile>>;
|
|
61
|
+
listShared: (kinds?: import("@api-client/core/build/esm/browser.js").ListFileKind[] | undefined, options?: import("@api-client/core/build/esm/browser.js").ContextListOptions | undefined, target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").ContextListResult<import("@api-client/core/build/esm/browser.js").IFile>>;
|
|
62
|
+
create: (meta: import("@api-client/core/build/esm/browser.js").IFile, media?: unknown, opts?: import("@api-client/core/build/esm/browser.js").IFileCreateOptions | undefined, target?: EventTarget) => Promise<string>;
|
|
63
|
+
createDefault: (name: string, kind: string, opts?: import("@api-client/core/build/esm/browser.js").IFileCreateOptions | undefined, target?: EventTarget) => Promise<string>;
|
|
64
64
|
read: {
|
|
65
|
-
(key: string, media: false, target?: EventTarget | undefined): Promise<import("@api-client/core/build/browser.js").IFile>;
|
|
65
|
+
(key: string, media: false, target?: EventTarget | undefined): Promise<import("@api-client/core/build/esm/browser.js").IFile>;
|
|
66
66
|
(key: string, media: true, target?: EventTarget | undefined): Promise<unknown>;
|
|
67
67
|
};
|
|
68
68
|
patch: {
|
|
69
|
-
(key: string, id: string, value: import("@api-client/json").JsonPatch, app: import("@api-client/core/build/browser.js").IApplication, media: false, target?: EventTarget | undefined): Promise<import("@api-client/core/build/browser.js").IPatchRevision>;
|
|
70
|
-
(key: string, id: string, value: import("@api-client/json").JsonPatch, app: import("@api-client/core/build/browser.js").IApplication, media: true, target?: EventTarget | undefined): Promise<import("@api-client/core/build/browser.js").IPatchRevision>;
|
|
69
|
+
(key: string, id: string, value: import("@api-client/json").JsonPatch, app: import("@api-client/core/build/esm/browser.js").IApplication, media: false, target?: EventTarget | undefined): Promise<import("@api-client/core/build/esm/browser.js").IPatchRevision>;
|
|
70
|
+
(key: string, id: string, value: import("@api-client/json").JsonPatch, app: import("@api-client/core/build/esm/browser.js").IApplication, media: true, target?: EventTarget | undefined): Promise<import("@api-client/core/build/esm/browser.js").IPatchRevision>;
|
|
71
71
|
};
|
|
72
72
|
delete: (key: string, target?: EventTarget) => Promise<string>;
|
|
73
|
-
patchUsers: (key: string, id: string, value: import("@api-client/core/build/browser.js").AccessOperation[], app: import("@api-client/core/build/browser.js").IApplication, target?: EventTarget) => Promise<void>;
|
|
74
|
-
listUsers: (key: string, target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").ContextListResult<import("@api-client/core/build/browser.js").IUser>>;
|
|
75
|
-
breadcrumbs: (fileOrFolder: string, target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").ContextListResult<import("@api-client/core/build/browser.js").FileBreadcrumb>>;
|
|
73
|
+
patchUsers: (key: string, id: string, value: import("@api-client/core/build/esm/browser.js").AccessOperation[], app: import("@api-client/core/build/esm/browser.js").IApplication, target?: EventTarget) => Promise<void>;
|
|
74
|
+
listUsers: (key: string, target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").ContextListResult<import("@api-client/core/build/esm/browser.js").IUser>>;
|
|
75
|
+
breadcrumbs: (fileOrFolder: string, target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").ContextListResult<import("@api-client/core/build/esm/browser.js").FileBreadcrumb>>;
|
|
76
76
|
}>;
|
|
77
77
|
User: Readonly<{
|
|
78
|
-
me: (target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").IUser>;
|
|
79
|
-
read: (key: string, target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").IUser | undefined>;
|
|
80
|
-
list: (options?: import("@api-client/core/build/browser.js").ContextListOptions | undefined, target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").ContextListResult<import("@api-client/core/build/browser.js").IUser>>;
|
|
78
|
+
me: (target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").IUser>;
|
|
79
|
+
read: (key: string, target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").IUser | undefined>;
|
|
80
|
+
list: (options?: import("@api-client/core/build/esm/browser.js").ContextListOptions | undefined, target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").ContextListResult<import("@api-client/core/build/esm/browser.js").IUser>>;
|
|
81
81
|
}>;
|
|
82
82
|
History: Readonly<{
|
|
83
|
-
create: (history: import("@api-client/core/build/browser.js").IHttpHistory, target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").ContextChangeRecord<import("@api-client/core/build/browser.js").IHttpHistory>>;
|
|
84
|
-
createBulk: (info: import("@api-client/core/build/browser.js").IHttpHistoryBulkAdd, target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").IBulkOperationResult<import("@api-client/core/build/browser.js").ContextChangeRecord<import("@api-client/core/build/browser.js").IHttpHistory>>>;
|
|
85
|
-
list: (init: import("@api-client/core/build/browser.js").IHistoryRequestListOptions, target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").ContextListResult<import("@api-client/core/build/browser.js").IHttpHistory>>;
|
|
83
|
+
create: (history: import("@api-client/core/build/esm/browser.js").IHttpHistory, target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").ContextChangeRecord<import("@api-client/core/build/esm/browser.js").IHttpHistory>>;
|
|
84
|
+
createBulk: (info: import("@api-client/core/build/esm/browser.js").IHttpHistoryBulkAdd, target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").IBulkOperationResult<import("@api-client/core/build/esm/browser.js").ContextChangeRecord<import("@api-client/core/build/esm/browser.js").IHttpHistory>>>;
|
|
85
|
+
list: (init: import("@api-client/core/build/esm/browser.js").IHistoryRequestListOptions, target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").ContextListResult<import("@api-client/core/build/esm/browser.js").IHttpHistory>>;
|
|
86
86
|
delete: (key: string, parent?: string | undefined, target?: EventTarget) => Promise<void>;
|
|
87
87
|
deleteBulk: (keys: string[], target?: EventTarget) => Promise<void>;
|
|
88
|
-
read: (key: string, target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").IHttpHistory>;
|
|
88
|
+
read: (key: string, target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").IHttpHistory>;
|
|
89
89
|
clearSpace: (space: string, target?: EventTarget) => Promise<void>;
|
|
90
90
|
clearProject: (space: string, project: string, target?: EventTarget) => Promise<void>;
|
|
91
91
|
clearRequest: (space: string, project: string, request: string, target?: EventTarget) => Promise<void>;
|
|
92
92
|
}>;
|
|
93
93
|
ProjectRuns: Readonly<{
|
|
94
|
-
add: (item: import("@api-client/core/build/browser.js").IProjectExecution, target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").ContextChangeRecord<import("@api-client/core/build/browser.js").IProjectExecution>>;
|
|
95
|
-
read: (key: string, target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").IProjectExecution>;
|
|
96
|
-
list: (options: import("@api-client/core/build/browser.js").IProjectExecutionListOptions, target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").ContextListResult<import("@api-client/core/build/browser.js").IProjectExecution>>;
|
|
94
|
+
add: (item: import("@api-client/core/build/esm/browser.js").IProjectExecution, target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").ContextChangeRecord<import("@api-client/core/build/esm/browser.js").IProjectExecution>>;
|
|
95
|
+
read: (key: string, target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").IProjectExecution>;
|
|
96
|
+
list: (options: import("@api-client/core/build/esm/browser.js").IProjectExecutionListOptions, target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").ContextListResult<import("@api-client/core/build/esm/browser.js").IProjectExecution>>;
|
|
97
97
|
delete: (key: string, parent?: string | undefined, target?: EventTarget) => Promise<void>;
|
|
98
98
|
deleteBulk: (keys: string[], parent?: string | undefined, target?: EventTarget) => Promise<void>;
|
|
99
99
|
clearSpace: (space: string, target?: EventTarget) => Promise<void>;
|
|
@@ -107,12 +107,12 @@ export declare const Events: Readonly<{
|
|
|
107
107
|
nameChanged: (key: string, kind: string, target?: HTMLElement) => void;
|
|
108
108
|
}>;
|
|
109
109
|
Ui: Readonly<{
|
|
110
|
-
delete: (id: string, target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").ContextDeleteRecord | undefined>;
|
|
110
|
+
delete: (id: string, target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").ContextDeleteRecord | undefined>;
|
|
111
111
|
HttpRequest: Readonly<{
|
|
112
|
-
set: (pid: string, id: string, meta: import("@api-client/core/build/browser.js").IRequestUiMeta, target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").ContextChangeRecord<import("@api-client/core/build/browser.js").IRequestUiMeta> | undefined>;
|
|
113
|
-
get: (pid: string, id: string, target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").IRequestUiMeta | null | undefined>;
|
|
114
|
-
getBulk: (pid: string, ids: string[], target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").IBulkOperationResult<import("@api-client/core/build/browser.js").IRequestUiMeta> | undefined>;
|
|
115
|
-
delete: (pid: string, id: string, target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").ContextDeleteRecord | undefined>;
|
|
112
|
+
set: (pid: string, id: string, meta: import("@api-client/core/build/esm/browser.js").IRequestUiMeta, target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").ContextChangeRecord<import("@api-client/core/build/esm/browser.js").IRequestUiMeta> | undefined>;
|
|
113
|
+
get: (pid: string, id: string, target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").IRequestUiMeta | null | undefined>;
|
|
114
|
+
getBulk: (pid: string, ids: string[], target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").IBulkOperationResult<import("@api-client/core/build/esm/browser.js").IRequestUiMeta> | undefined>;
|
|
115
|
+
delete: (pid: string, id: string, target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").ContextDeleteRecord | undefined>;
|
|
116
116
|
}>;
|
|
117
117
|
}>;
|
|
118
118
|
};
|
|
@@ -120,22 +120,22 @@ export declare const Events: Readonly<{
|
|
|
120
120
|
Model: Readonly<{
|
|
121
121
|
UrlHistory: Readonly<{
|
|
122
122
|
add: (url: string, target?: EventTarget) => Promise<void>;
|
|
123
|
-
query: (q: string, target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").IQueryResponse<import("@api-client/core/build/browser.js").IUrl> | undefined>;
|
|
123
|
+
query: (q: string, target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").IQueryResponse<import("@api-client/core/build/esm/browser.js").IUrl> | undefined>;
|
|
124
124
|
delete: (url: string, target?: EventTarget) => Promise<void>;
|
|
125
125
|
clear: (target?: EventTarget) => Promise<void>;
|
|
126
126
|
State: Readonly<{
|
|
127
|
-
add: (entity: import("@api-client/core/build/browser.js").IUrl, target?: EventTarget) => void;
|
|
127
|
+
add: (entity: import("@api-client/core/build/esm/browser.js").IUrl, target?: EventTarget) => void;
|
|
128
128
|
clear: (target?: EventTarget) => void;
|
|
129
129
|
delete: (url: string, target?: EventTarget) => void;
|
|
130
130
|
}>;
|
|
131
131
|
}>;
|
|
132
132
|
WsHistory: Readonly<{
|
|
133
133
|
add: (url: string, target?: EventTarget) => Promise<void>;
|
|
134
|
-
query: (q: string, target?: EventTarget) => Promise<import("@api-client/core/build/browser.js").IQueryResponse<import("@api-client/core/build/browser.js").IUrl> | undefined>;
|
|
134
|
+
query: (q: string, target?: EventTarget) => Promise<import("@api-client/core/build/esm/browser.js").IQueryResponse<import("@api-client/core/build/esm/browser.js").IUrl> | undefined>;
|
|
135
135
|
delete: (url: string, target?: EventTarget) => Promise<void>;
|
|
136
136
|
clear: (target?: EventTarget) => Promise<void>;
|
|
137
137
|
State: Readonly<{
|
|
138
|
-
add: (entity: import("@api-client/core/build/browser.js").IUrl, target?: EventTarget) => void;
|
|
138
|
+
add: (entity: import("@api-client/core/build/esm/browser.js").IUrl, target?: EventTarget) => void;
|
|
139
139
|
clear: (target?: EventTarget) => void;
|
|
140
140
|
delete: (url: string, target?: EventTarget) => void;
|
|
141
141
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpClientEvents.d.ts","sourceRoot":"","sources":["../../src/events/HttpClientEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyC,cAAc,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"HttpClientEvents.d.ts","sourceRoot":"","sources":["../../src/events/HttpClientEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyC,cAAc,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,uCAAuC,CAAC;AAGpI,MAAM,WAAW,sBAAsB;IACrC,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,cAAc,CAAC;CACtB;AAED,eAAO,MAAM,gBAAgB;;;YAGvB;;;;eAIG;uBACc,MAAM,WAAU,WAAW,KAAmB,QAAQ,IAAI,CAAC;YAc5E;;;;eAIG;uBACc,MAAM,WAAU,WAAW,KAAmB,QAAQ,eAAe,IAAI,CAAC,GAAG,SAAS,CAAC;YAQxG;;;;eAIG;0BACiB,MAAM,WAAU,WAAW,KAAmB,QAAQ,IAAI,CAAC;YAM/E;;;eAGG;6BACmB,WAAW,KAAmB,QAAQ,IAAI,CAAC;;gBAc/D;;;mBAGG;8BACW,IAAI,WAAU,WAAW,KAAmB,IAAI;gBAS9D;;;mBAGG;iCACa,WAAW,KAAmB,IAAI;gBAQlD;;;mBAGG;8BACW,MAAM,WAAU,WAAW,KAAmB,IAAI;;;;YAYlE;;;;eAIG;uBACc,MAAM,WAAU,WAAW,KAAmB,QAAQ,IAAI,CAAC;YAc5E;;;;eAIG;uBACc,MAAM,WAAU,WAAW,KAAmB,QAAQ,eAAe,IAAI,CAAC,GAAG,SAAS,CAAC;YAQxG;;;;eAIG;0BACiB,MAAM,WAAU,WAAW,KAAmB,QAAQ,IAAI,CAAC;YAM/E;;;eAGG;6BACmB,WAAW,KAAmB,QAAQ,IAAI,CAAC;;gBAc/D;;;mBAGG;8BACW,IAAI,WAAU,WAAW,KAAmB,IAAI;gBAS9D;;;mBAGG;iCACa,WAAW,KAAmB,IAAI;gBAQlD;;;mBAGG;8BACW,MAAM,WAAU,WAAW,KAAmB,IAAI;;;;EAYtE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContextDeleteEvent, ContextQueryEvent } from '@api-client/core/build/browser.js';
|
|
1
|
+
import { ContextDeleteEvent, ContextQueryEvent } from '@api-client/core/build/esm/browser.js';
|
|
2
2
|
import { EventTypes } from './EventTypes.js';
|
|
3
3
|
export const HttpClientEvents = Object.freeze({
|
|
4
4
|
Model: Object.freeze({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpClientEvents.js","sourceRoot":"","sources":["../../src/events/HttpClientEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAwC,MAAM,mCAAmC,CAAC;AAChI,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAQ7C,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC;YACxB;;;;eAIG;YACH,GAAG,EAAE,KAAK,EAAE,GAAW,EAAE,SAAsB,QAAQ,CAAC,IAAI,EAAiB,EAAE;gBAC7E,MAAM,CAAC,GAAG,IAAI,WAAW,CAAC,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,EAAE;oBACpE,OAAO,EAAE,IAAI;oBACb,UAAU,EAAE,IAAI;oBAChB,QAAQ,EAAE,IAAI;oBACd,MAAM,EAAE;wBACN,GAAG;wBACH,MAAM,EAAE,SAAS;qBAClB;iBACF,CAAC,CAAC;gBACH,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;gBACxB,MAAQ,CAAC,CAAC,MAAM,CA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AAC,SAAS,CAAC,KAAK,CAAC,MAAM,EAAE;wBAC5E,OAAO,EAAE,IAAI;wBACb,UAAU,EAAE,KAAK;wBACjB,QAAQ,EAAE,IAAI;wBACd,MAAM,EAAE,GAAG;qBACZ,CAAC,CAAC;oBACH,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;gBAC1B,CAAC;aACF,CAAC;SACH,CAAC;KACH,CAAC;CACH,CAAC,CAAC","sourcesContent":["import { ContextDeleteEvent, ContextQueryEvent, IQueryResponse, IRequestUiMeta, IUrl } from '@api-client/core/build/browser.js';\nimport { EventTypes } from './EventTypes.js';\n\nexport interface IRequestUiInsertDetail {\n pid: string;\n id: string;\n meta: IRequestUiMeta;\n}\n\nexport const HttpClientEvents = Object.freeze({\n Model: Object.freeze({\n UrlHistory: Object.freeze({\n /**\n * Adds a new URL to the URL history store.\n * @param url the URL to store.\n * @param target Optional events target\n */\n add: async (url: string, target: EventTarget = document.body): Promise<void> => {\n const e = new CustomEvent(EventTypes.HttpClient.Model.UrlHistory.add, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n url,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await ((e.detail.result as unknown) as Promise<void>);\n },\n\n /**\n * Queries for the URL history data.\n * @param q The part of URL to query for.\n * @param target Optional events target\n */\n query: async (q: string, target: EventTarget = document.body): Promise<IQueryResponse<IUrl> | undefined> => {\n const e = new ContextQueryEvent<IUrl>(EventTypes.HttpClient.Model.UrlHistory.query, {\n term: q,\n });\n target.dispatchEvent(e);\n return e.detail.result;\n },\n\n /**\n * Deletes a single URL from the store.\n * @param url The full stored URL to remove\n * @param target Optional events target\n */\n delete: async (url: string, target: EventTarget = document.body): Promise<void> => {\n const e = new ContextDeleteEvent(EventTypes.HttpClient.Model.UrlHistory.delete, url);\n target.dispatchEvent(e);\n await e.detail.result;\n },\n\n /**\n * Clears the URL history store completely.\n * @param target Optional events target\n */\n clear: async (target: EventTarget = document.body): Promise<void> => {\n const e = new CustomEvent(EventTypes.HttpClient.Model.UrlHistory.clear, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await ((e.detail.result as unknown) as Promise<void>);\n },\n\n State: Object.freeze({\n /**\n * Notifies the application a history URL has been added to the store.\n * @param target Optional events target\n */\n add: (entity: IUrl, target: EventTarget = document.body): void => {\n const e = new CustomEvent(EventTypes.HttpClient.Model.UrlHistory.State.add, {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: entity,\n });\n target.dispatchEvent(e);\n },\n /**\n * Notifies the application that the history store has been cleared.\n * @param target Optional events target\n */\n clear: (target: EventTarget = document.body): void => {\n const e = new Event(EventTypes.HttpClient.Model.UrlHistory.State.clear, {\n bubbles: true,\n cancelable: false,\n composed: true,\n });\n target.dispatchEvent(e);\n },\n /**\n * Notifies the application a history URL has been removed from the store.\n * @param target Optional events target\n */\n delete: (url: string, target: EventTarget = document.body): void => {\n const e = new CustomEvent(EventTypes.HttpClient.Model.UrlHistory.State.delete, {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: url,\n });\n target.dispatchEvent(e);\n },\n }),\n }),\n WsHistory: Object.freeze({\n /**\n * Adds a new URL to the web socket history store.\n * @param url the URL to store.\n * @param target Optional events target\n */\n add: async (url: string, target: EventTarget = document.body): Promise<void> => {\n const e = new CustomEvent(EventTypes.HttpClient.Model.WsHistory.add, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n url,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await ((e.detail.result as unknown) as Promise<void>);\n },\n\n /**\n * Queries for the seb socket URL history data.\n * @param q The part of URL to query for.\n * @param target Optional events target\n */\n query: async (q: string, target: EventTarget = document.body): Promise<IQueryResponse<IUrl> | undefined> => {\n const e = new ContextQueryEvent<IUrl>(EventTypes.HttpClient.Model.WsHistory.query, {\n term: q,\n });\n target.dispatchEvent(e);\n return e.detail.result;\n },\n\n /**\n * Deletes a single web socket URL from the store.\n * @param url The full stored URL to remove\n * @param target Optional events target\n */\n delete: async (url: string, target: EventTarget = document.body): Promise<void> => {\n const e = new ContextDeleteEvent(EventTypes.HttpClient.Model.WsHistory.delete, url);\n target.dispatchEvent(e);\n await e.detail.result;\n },\n\n /**\n * Clears the web socket URL history store completely.\n * @param target Optional events target\n */\n clear: async (target: EventTarget = document.body): Promise<void> => {\n const e = new CustomEvent(EventTypes.HttpClient.Model.WsHistory.clear, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await ((e.detail.result as unknown) as Promise<void>);\n },\n\n State: Object.freeze({\n /**\n * Notifies the application a history URL has been added to the store.\n * @param target Optional events target\n */\n add: (entity: IUrl, target: EventTarget = document.body): void => {\n const e = new CustomEvent(EventTypes.HttpClient.Model.WsHistory.State.add, {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: entity,\n });\n target.dispatchEvent(e);\n },\n /**\n * Notifies the application that the web socket history store has been cleared.\n * @param target Optional events target\n */\n clear: (target: EventTarget = document.body): void => {\n const e = new Event(EventTypes.HttpClient.Model.WsHistory.State.clear, {\n bubbles: true,\n cancelable: false,\n composed: true,\n });\n target.dispatchEvent(e);\n },\n /**\n * Notifies the application a web socket history URL has been removed from the store.\n * @param target Optional events target\n */\n delete: (url: string, target: EventTarget = document.body): void => {\n const e = new CustomEvent(EventTypes.HttpClient.Model.WsHistory.State.delete, {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: url,\n });\n target.dispatchEvent(e);\n },\n }),\n }),\n }),\n});\n"]}
|
|
1
|
+
{"version":3,"file":"HttpClientEvents.js","sourceRoot":"","sources":["../../src/events/HttpClientEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAwC,MAAM,uCAAuC,CAAC;AACpI,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAQ7C,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,MA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C;gBAC1B,CAAC;gBACD;;;mBAGG;gBACH,KAAK,EAAE,CAAC,SAAsB,QAAQ,CAAC,IAAI,EAAQ,EAAE;oBACnD,MAAM,CAAC,GAAG,IAAI,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE;wBACrE,OAAO,EAAE,IAAI;wBACb,UAAU,EAAE,KAAK;wBACjB,QAAQ,EAAE,IAAI;qBACf,CAAC,CAAC;oBACH,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;gBAC1B,CAAC;gBACD;;;mBAGG;gBACH,MAAM,EAAE,CAAC,GAAW,EAAE,SAAsB,QAAQ,CAAC,IAAI,EAAQ,EAAE;oBACjE,MAAM,CAAC,GAAG,IAAI,WAAW,CAAC,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,MAAM,EAAE;wBAC5E,OAAO,EAAE,IAAI;wBACb,UAAU,EAAE,KAAK;wBACjB,QAAQ,EAAE,IAAI;wBACd,MAAM,EAAE,GAAG;qBACZ,CAAC,CAAC;oBACH,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;gBAC1B,CAAC;aACF,CAAC;SACH,CAAC;KACH,CAAC;CACH,CAAC,CAAC","sourcesContent":["import { ContextDeleteEvent, ContextQueryEvent, IQueryResponse, IRequestUiMeta, IUrl } from '@api-client/core/build/esm/browser.js';\nimport { EventTypes } from './EventTypes.js';\n\nexport interface IRequestUiInsertDetail {\n pid: string;\n id: string;\n meta: IRequestUiMeta;\n}\n\nexport const HttpClientEvents = Object.freeze({\n Model: Object.freeze({\n UrlHistory: Object.freeze({\n /**\n * Adds a new URL to the URL history store.\n * @param url the URL to store.\n * @param target Optional events target\n */\n add: async (url: string, target: EventTarget = document.body): Promise<void> => {\n const e = new CustomEvent(EventTypes.HttpClient.Model.UrlHistory.add, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n url,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await ((e.detail.result as unknown) as Promise<void>);\n },\n\n /**\n * Queries for the URL history data.\n * @param q The part of URL to query for.\n * @param target Optional events target\n */\n query: async (q: string, target: EventTarget = document.body): Promise<IQueryResponse<IUrl> | undefined> => {\n const e = new ContextQueryEvent<IUrl>(EventTypes.HttpClient.Model.UrlHistory.query, {\n term: q,\n });\n target.dispatchEvent(e);\n return e.detail.result;\n },\n\n /**\n * Deletes a single URL from the store.\n * @param url The full stored URL to remove\n * @param target Optional events target\n */\n delete: async (url: string, target: EventTarget = document.body): Promise<void> => {\n const e = new ContextDeleteEvent(EventTypes.HttpClient.Model.UrlHistory.delete, url);\n target.dispatchEvent(e);\n await e.detail.result;\n },\n\n /**\n * Clears the URL history store completely.\n * @param target Optional events target\n */\n clear: async (target: EventTarget = document.body): Promise<void> => {\n const e = new CustomEvent(EventTypes.HttpClient.Model.UrlHistory.clear, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await ((e.detail.result as unknown) as Promise<void>);\n },\n\n State: Object.freeze({\n /**\n * Notifies the application a history URL has been added to the store.\n * @param target Optional events target\n */\n add: (entity: IUrl, target: EventTarget = document.body): void => {\n const e = new CustomEvent(EventTypes.HttpClient.Model.UrlHistory.State.add, {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: entity,\n });\n target.dispatchEvent(e);\n },\n /**\n * Notifies the application that the history store has been cleared.\n * @param target Optional events target\n */\n clear: (target: EventTarget = document.body): void => {\n const e = new Event(EventTypes.HttpClient.Model.UrlHistory.State.clear, {\n bubbles: true,\n cancelable: false,\n composed: true,\n });\n target.dispatchEvent(e);\n },\n /**\n * Notifies the application a history URL has been removed from the store.\n * @param target Optional events target\n */\n delete: (url: string, target: EventTarget = document.body): void => {\n const e = new CustomEvent(EventTypes.HttpClient.Model.UrlHistory.State.delete, {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: url,\n });\n target.dispatchEvent(e);\n },\n }),\n }),\n WsHistory: Object.freeze({\n /**\n * Adds a new URL to the web socket history store.\n * @param url the URL to store.\n * @param target Optional events target\n */\n add: async (url: string, target: EventTarget = document.body): Promise<void> => {\n const e = new CustomEvent(EventTypes.HttpClient.Model.WsHistory.add, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n url,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await ((e.detail.result as unknown) as Promise<void>);\n },\n\n /**\n * Queries for the seb socket URL history data.\n * @param q The part of URL to query for.\n * @param target Optional events target\n */\n query: async (q: string, target: EventTarget = document.body): Promise<IQueryResponse<IUrl> | undefined> => {\n const e = new ContextQueryEvent<IUrl>(EventTypes.HttpClient.Model.WsHistory.query, {\n term: q,\n });\n target.dispatchEvent(e);\n return e.detail.result;\n },\n\n /**\n * Deletes a single web socket URL from the store.\n * @param url The full stored URL to remove\n * @param target Optional events target\n */\n delete: async (url: string, target: EventTarget = document.body): Promise<void> => {\n const e = new ContextDeleteEvent(EventTypes.HttpClient.Model.WsHistory.delete, url);\n target.dispatchEvent(e);\n await e.detail.result;\n },\n\n /**\n * Clears the web socket URL history store completely.\n * @param target Optional events target\n */\n clear: async (target: EventTarget = document.body): Promise<void> => {\n const e = new CustomEvent(EventTypes.HttpClient.Model.WsHistory.clear, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await ((e.detail.result as unknown) as Promise<void>);\n },\n\n State: Object.freeze({\n /**\n * Notifies the application a history URL has been added to the store.\n * @param target Optional events target\n */\n add: (entity: IUrl, target: EventTarget = document.body): void => {\n const e = new CustomEvent(EventTypes.HttpClient.Model.WsHistory.State.add, {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: entity,\n });\n target.dispatchEvent(e);\n },\n /**\n * Notifies the application that the web socket history store has been cleared.\n * @param target Optional events target\n */\n clear: (target: EventTarget = document.body): void => {\n const e = new Event(EventTypes.HttpClient.Model.WsHistory.State.clear, {\n bubbles: true,\n cancelable: false,\n composed: true,\n });\n target.dispatchEvent(e);\n },\n /**\n * Notifies the application a web socket history URL has been removed from the store.\n * @param target Optional events target\n */\n delete: (url: string, target: EventTarget = document.body): void => {\n const e = new CustomEvent(EventTypes.HttpClient.Model.WsHistory.State.delete, {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: url,\n });\n target.dispatchEvent(e);\n },\n }),\n }),\n }),\n});\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IRequestUiMeta, ContextChangeRecord, ContextDeleteRecord, IBulkOperationResult } from '@api-client/core/build/browser.js';
|
|
1
|
+
import { IRequestUiMeta, ContextChangeRecord, ContextDeleteRecord, IBulkOperationResult } from '@api-client/core/build/esm/browser.js';
|
|
2
2
|
export declare const HttpProjectEvents: {
|
|
3
3
|
/**
|
|
4
4
|
* Informs the application that the HttpProject has changed
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpProjectEvents.d.ts","sourceRoot":"","sources":["../../src/events/HttpProjectEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4D,cAAc,EAAE,mBAAmB,EAAE,mBAAmB,EAAwB,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"HttpProjectEvents.d.ts","sourceRoot":"","sources":["../../src/events/HttpProjectEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4D,cAAc,EAAE,mBAAmB,EAAE,mBAAmB,EAAwB,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAIvN,eAAO,MAAM,iBAAiB;IAC5B;;;;;OAKG;uCACgC,IAAI;;QASrC;;;;;;;WAOG;2BACgB,MAAM,QAAQ,MAAM,2BAA2B,IAAI;;;QActE;;;;;;WAMG;qBACgB,MAAM,WAAU,WAAW,KAAiB,QAAQ,mBAAmB,GAAG,SAAS,CAAC;;YAMrG;;;;;;;eAOG;uBACc,MAAM,MAAM,MAAM,QAAQ,cAAc,WAAU,WAAW,KAAiB,QAAQ,oBAAoB,cAAc,CAAC,GAAG,SAAS,CAAC;YAYvJ;;;;;;eAMG;uBACc,MAAM,MAAM,MAAM,WAAU,WAAW,KAAiB,QAAQ,cAAc,GAAG,IAAI,GAAG,SAAS,CAAC;YAKnH;;;;;;eAMG;2BACkB,MAAM,OAAO,MAAM,EAAE,WAAU,WAAW,KAAmB,QAAQ,qBAAqB,cAAc,CAAC,GAAG,SAAS,CAAC;YAK3I;;;;;;eAMG;0BACiB,MAAM,MAAM,MAAM,WAAU,WAAW,KAAiB,QAAQ,mBAAmB,GAAG,SAAS,CAAC;;;CAOzH,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContextDeleteEvent, ContextReadEvent, ContextUpdateEvent, ContextReadBulkEvent } from '@api-client/core/build/browser.js';
|
|
1
|
+
import { ContextDeleteEvent, ContextReadEvent, ContextUpdateEvent, ContextReadBulkEvent } from '@api-client/core/build/esm/browser.js';
|
|
2
2
|
import { EventTypes } from './EventTypes.js';
|
|
3
3
|
export const HttpProjectEvents = {
|
|
4
4
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpProjectEvents.js","sourceRoot":"","sources":["../../src/events/HttpProjectEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,kBAAkB,EAA4D,oBAAoB,EAAwB,MAAM,
|
|
1
|
+
{"version":3,"file":"HttpProjectEvents.js","sourceRoot":"","sources":["../../src/events/HttpProjectEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,kBAAkB,EAA4D,oBAAoB,EAAwB,MAAM,uCAAuC,CAAC;AACvN,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG7C,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B;;;;;OAKG;IACH,OAAO,EAAE,CAAC,MAAM,GAAG,QAAQ,CAAC,IAAI,EAAQ,EAAE;QACxC,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EAAE,GAAG,CAAC,CAAC;gBACxF,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;gBACxB,OAAO,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC;YACzB,CAAC;SACF,CAAC;KACH,CAAC;CACH,CAAC","sourcesContent":["import { ContextDeleteEvent, ContextReadEvent, ContextUpdateEvent, IRequestUiMeta, ContextChangeRecord, ContextDeleteRecord, ContextReadBulkEvent, IBulkOperationResult } from '@api-client/core/build/esm/browser.js';\nimport { EventTypes } from './EventTypes.js';\nimport { IRequestUiInsertDetail } from './HttpClientEvents.js';\n\nexport const HttpProjectEvents = {\n /**\n * Informs the application that the HttpProject has changed\n * The view should be updated and the project should be stored in the store.\n * \n * @param target Optional event target.\n */\n changed: (target = document.body): void => {\n const e = new Event(EventTypes.HttpProject.changed, {\n bubbles: true,\n composed: true,\n cancelable: true,\n });\n target.dispatchEvent(e);\n },\n State: Object.freeze({\n /**\n * A specialized event to the general `change` to inform that a project item's \n * name has changes. Since the name exist in various contexts these have to be informed \n * about the change.\n * \n * @param key The key of the changed item\n * @param kind The kind of the changed item\n */\n nameChanged: (key: string, kind: string, target = document.body): void => {\n const e = new CustomEvent(EventTypes.HttpProject.State.nameChanged, {\n bubbles: true,\n composed: true,\n cancelable: true,\n detail: {\n key, kind,\n },\n });\n target.dispatchEvent(e);\n },\n }),\n\n Ui: Object.freeze({\n /**\n * Triggered when a project is removed from a space.\n * Cleans the UI state for all data stored under the project.\n * \n * @param id The project id.\n * @param target Optional events target\n */\n delete: async (id: string, target: EventTarget=document.body): Promise<ContextDeleteRecord | undefined> => {\n const e = new ContextDeleteEvent(EventTypes.HttpProject.Ui.delete, id);\n target.dispatchEvent(e);\n return e.detail.result;\n },\n HttpRequest: Object.freeze({\n /**\n * Sets an UI state for an HTTP request in a project\n * \n * @param pid The project id.\n * @param id The id of the request.\n * @param target Optional events target\n * @returns The created object or undefined when the context store was not initialized.\n */\n set: async (pid: string, id: string, meta: IRequestUiMeta, target: EventTarget=document.body): Promise<ContextChangeRecord<IRequestUiMeta> | undefined> => {\n const e = new ContextUpdateEvent<IRequestUiInsertDetail, IRequestUiMeta>(EventTypes.HttpProject.Ui.HttpRequest.set, { \n item: {\n id,\n pid,\n meta,\n },\n parent: pid,\n });\n target.dispatchEvent(e);\n return e.detail.result;\n },\n /**\n * Reads an UI state for an HTTP request in a project\n * \n * @param pid The project id.\n * @param id The id of the request.\n * @param target Optional events target\n */\n get: async (pid: string, id: string, target: EventTarget=document.body): Promise<IRequestUiMeta | null | undefined> => {\n const e = new ContextReadEvent<IRequestUiMeta>(EventTypes.HttpProject.Ui.HttpRequest.get, id, pid);\n target.dispatchEvent(e);\n return e.detail.result;\n },\n /**\n * Reads an UI state for an HTTP request in a project\n * \n * @param pid The project id.\n * @param id The id of the request.\n * @param target Optional events target\n */\n getBulk: async (pid: string, ids: string[], target: EventTarget = document.body): Promise<IBulkOperationResult<IRequestUiMeta> | undefined> => {\n const e = new ContextReadBulkEvent<IRequestUiMeta | undefined>(EventTypes.HttpProject.Ui.HttpRequest.getBulk, ids, pid);\n target.dispatchEvent(e);\n return e.detail.result as IBulkOperationResult<IRequestUiMeta> | undefined;\n },\n /**\n * Deletes an UI state for an HTTP request in a project\n * \n * @param pid The project id.\n * @param id The id of the request.\n * @param target Optional events target\n */\n delete: async (pid: string, id: string, target: EventTarget=document.body): Promise<ContextDeleteRecord | undefined> => {\n const e = new ContextDeleteEvent(EventTypes.HttpProject.Ui.HttpRequest.delete, id, pid);\n target.dispatchEvent(e);\n return e.detail.result;\n },\n }),\n }),\n};\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IBackendInfo, IFile, IFileCreateOptions, ListFileKind, AccessOperation, IUser, IPatchRevision, IApplication, IHttpHistory, IHttpHistoryBulkAdd, HistoryListOptions, ContextChangeRecord, ContextListOptions, ContextListResult, IProjectExecution, IProjectExecutionListOptions, IBulkOperationResult, FileBreadcrumb } from '@api-client/core/build/browser.js';
|
|
1
|
+
import { IBackendInfo, IFile, IFileCreateOptions, ListFileKind, AccessOperation, IUser, IPatchRevision, IApplication, IHttpHistory, IHttpHistoryBulkAdd, HistoryListOptions, ContextChangeRecord, ContextListOptions, ContextListResult, IProjectExecution, IProjectExecutionListOptions, IBulkOperationResult, FileBreadcrumb } from '@api-client/core/build/esm/browser.js';
|
|
2
2
|
import { Patch } from '@api-client/json';
|
|
3
3
|
import { IConfigEnvironment, IConfigInit } from '../lib/config/Config.js';
|
|
4
4
|
import { ISessionInitInfo } from '../store/HttpStore.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StoreEvents.d.ts","sourceRoot":"","sources":["../../src/events/StoreEvents.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EAAE,KAAK,EAAE,kBAAkB,EACvC,YAAY,EAAE,eAAe,EAAE,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,YAAY,EAAE,mBAAmB,EAAE,kBAAkB,EACzH,mBAAmB,EAA8C,kBAAkB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,cAAc,EAC9L,MAAM,
|
|
1
|
+
{"version":3,"file":"StoreEvents.d.ts","sourceRoot":"","sources":["../../src/events/StoreEvents.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EAAE,KAAK,EAAE,kBAAkB,EACvC,YAAY,EAAE,eAAe,EAAE,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,YAAY,EAAE,mBAAmB,EAAE,kBAAkB,EACzH,mBAAmB,EAA8C,kBAAkB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,cAAc,EAC9L,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,uB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import { ContextDeleteEvent, ContextDeleteBulkEvent, } from '@api-client/core/build/browser.js';
|
|
2
|
+
import { ContextDeleteEvent, ContextDeleteBulkEvent, } from '@api-client/core/build/esm/browser.js';
|
|
3
3
|
import { EventTypes } from './EventTypes.js';
|
|
4
4
|
/**
|
|
5
5
|
* Reads a user file definition from the store.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StoreEvents.js","sourceRoot":"","sources":["../../src/events/StoreEvents.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,OAAO,EAGgB,kBAAkB,EAAE,sBAAsB,GAChE,MAAM,mCAAmC,CAAC;AAG3C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAmB7C;;;;EAIE;AACF,SAAS,QAAQ,CAAC,GAAW,EAAE,KAAc,EAAE,SAAoB,QAAQ,CAAC,IAAI;IAC9E,MAAM,CAAC,GAAG,IAAI,WAAW,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE;QACpD,OAAO,EAAE,IAAI;QACb,UAAU,EAAE,IAAI;QAChB,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE;YACN,GAAG;YACH,KAAK;YACL,MAAM,EAAE,SAAS;SAClB;KACF,CAAC,CAAC;IACH,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;IACxB,OAAS,CAAC,CAAC,MAAM,CAAC,MAA+C,CAAC;AACpE,CAAC;AAkBD;;;;;GAKG;AACH,SAAS,SAAS,CAAC,GAAW,EAAE,EAAU,EAAE,KAAsB,EAAE,GAAiB,EAAE,KAAe,EAAE,SAAoB,QAAQ,CAAC,IAAI;IACvI,MAAM,CAAC,GAAG,IAAI,WAAW,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE;QACrD,OAAO,EAAE,IAAI;QACb,UAAU,EAAE,IAAI;QAChB,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE;YACN,GAAG;YACH,KAAK;YACL,KAA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AAC;KACF,CAAC;CACH,CAAC,CAAC","sourcesContent":["/* eslint-disable no-redeclare */\nimport { \n IBackendInfo, IFile, IFileCreateOptions,\n ListFileKind, AccessOperation, IUser, IPatchRevision, IApplication, IHttpHistory, IHttpHistoryBulkAdd, HistoryListOptions, \n ContextChangeRecord, ContextDeleteEvent, ContextDeleteBulkEvent, ContextListOptions, ContextListResult, IProjectExecution, IProjectExecutionListOptions, IBulkOperationResult, FileBreadcrumb,\n} from '@api-client/core/build/browser.js';\nimport { Patch } from '@api-client/json';\nimport { IConfigEnvironment, IConfigInit } from '../lib/config/Config.js';\nimport { EventTypes } from './EventTypes.js';\nimport { ISessionInitInfo } from '../store/HttpStore.js';\nimport { StoreAuthenticationInit } from '../bindings/base/StoreBindings.js';\n\n/**\n * Reads file metadata from the store.\n * \n * @param key The file key\n * @returns THe file metadata\n */\nfunction fileRead(key: string, media: false, target?: EventTarget): Promise<IFile>;\n/**\n* Reads file contents from the store.\n* \n* @param key The file key\n* @returns THe file contents\n*/\nfunction fileRead(key: string, media: true, target?: EventTarget): Promise<unknown>;\n\n/**\n* Reads a user file definition from the store.\n* @param key The file key\n* @param media When true it reads file contents rather than metadata.\n*/\nfunction fileRead(key: string, media: boolean, target: EventTarget=document.body): Promise<IFile | unknown> {\n const e = new CustomEvent(EventTypes.Store.File.read, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n key,\n media,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<IFile | unknown>);\n}\n\n/**\n * Patches file's meta in the store.\n * \n * @param key The file key\n * @param value The patch to apply.\n */\nfunction patchFile(key: string, id: string, value: Patch.JsonPatch, app: IApplication, media: false, target?: EventTarget): Promise<IPatchRevision>;\n\n/**\n * Patches file's content in the store.\n * \n * @param key The file key\n * @param value The patch to apply.\n */\nfunction patchFile(key: string, id: string, value: Patch.JsonPatch, app: IApplication, media: true, target?: EventTarget): Promise<IPatchRevision>;\n\n/**\n * Patches a file in the store.\n * @param key The key of the file to patch\n * @param value The JSON patch to be processed.\n * @returns The JSON patch to revert the change using the `@api-client/json` library\n */\nfunction patchFile(key: string, id: string, value: Patch.JsonPatch, app: IApplication, media?: boolean, target: EventTarget=document.body): Promise<IPatchRevision> {\n const e = new CustomEvent(EventTypes.Store.File.patch, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n key,\n value,\n media,\n id,\n app,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<IPatchRevision>);\n}\n\nexport const StoreEvents = Object.freeze({\n /**\n * Initializes the store configuration for the application.\n * \n * @param init The configuration initialization.\n * @param target Optional events target.\n */\n initEnvironment: async (init: IConfigInit, target: EventTarget = document.body): Promise<void> => {\n const e = new CustomEvent(EventTypes.Store.initEnvironment, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: init,\n });\n target.dispatchEvent(e);\n await ((e.detail) as unknown as { result: Promise<void> }).result;\n },\n\n /**\n * Reads the information about the data store.\n * \n * @param baseUri The store's base URI\n * @param target Optional events target.\n */\n storeInfo: async (baseUri: string, target: EventTarget=document.body): Promise<IBackendInfo> => {\n const e = new CustomEvent(EventTypes.Store.info, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n baseUri,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<IBackendInfo>);\n },\n Global: Object.freeze({\n /**\n * Sets the store environment to be used globally by the application.\n * This initializes the store with the configuration.\n * \n * Note, this won't initialize the session with the store.\n * \n * @param env The environment to set. Note, it must have the `location` set.\n */\n setEnv: async (env: IConfigEnvironment, target: EventTarget=document.body): Promise<void> => {\n const e = new CustomEvent(EventTypes.Store.Global.setEnv, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n env,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await (e.detail.result as unknown);\n },\n /**\n * Reads the currently set global environment.\n */\n getEnv: async (target: EventTarget=document.body): Promise<IConfigEnvironment> => {\n const e = new CustomEvent(EventTypes.Store.Global.getEnv, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return (e.detail.result as unknown) as Promise<IConfigEnvironment>;\n },\n }),\n Auth: Object.freeze({\n /**\n * Checks whether the user is authenticated in the store for the environment\n * @returns True if the user is authenticated in the store.\n */\n isAuthenticated: async (target: EventTarget=document.body): Promise<boolean> => {\n const e = new CustomEvent(EventTypes.Store.Auth.isAuthenticated, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<boolean>);\n },\n /**\n * Authenticates the current environment, if needed.\n * \n * @param update Whether to update the stored environment configuration when the token was renewed.\n * @param env Optional environment to authenticated if different than default\n * @param force Whether to force authentication.\n * @param target Optional events target.\n * @returns The session information.\n */\n authenticate: async (options?: StoreAuthenticationInit, target: EventTarget=document.body): Promise<ISessionInitInfo> => {\n const e = new CustomEvent(EventTypes.Store.Auth.authenticate, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n options,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<ISessionInitInfo>);\n },\n /**\n * Reads the store access token in use, if any.\n * Note, this does not perform authentication. The user has to be already authenticated.\n * \n * @param target Optional events target.\n * @returns The current access token value to use in the store or undefined if none is in use, or the event is not handled.\n */\n getToken: async (target: EventTarget=document.body): Promise<string | undefined> => {\n const e = new CustomEvent(EventTypes.Store.Auth.getToken, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<string | undefined>);\n },\n }),\n File: Object.freeze({\n /**\n * Lists files (spaces, projects, etc) in the store.\n * \n * @param kinds the list of kinds to list. Spaces are always included.\n * @param options Optional query options.\n */\n list: async (kinds?: ListFileKind[], options?: ContextListOptions, target: EventTarget=document.body): Promise<ContextListResult<IFile>> => {\n const e = new CustomEvent(EventTypes.Store.File.list, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n kinds,\n options,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<ContextListResult<IFile>>);\n },\n /**\n * Lists files that are shared with the user.\n * \n * @param kinds the list of kinds to list. Spaces are always included.\n * @param options Optional query options.\n */\n listShared: async (kinds?: ListFileKind[], options?: ContextListOptions, target: EventTarget=document.body): Promise<ContextListResult<IFile>> => {\n const e = new CustomEvent(EventTypes.Store.File.listShared, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n kinds,\n options,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<ContextListResult<IFile>>);\n },\n /**\n * Creates a file in the store.\n * \n * @param meta The definition of a file that extends the IFile interface.\n * @param media The file content to create with the file meta, if available.\n * @param opts Optional options when creating a file\n * @returns The key of the creates file.\n */\n create: async (meta: IFile, media?: unknown, opts?: IFileCreateOptions, target: EventTarget=document.body): Promise<string> => {\n const e = new CustomEvent(EventTypes.Store.File.create, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n meta,\n media,\n opts,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<string>);\n },\n /**\n * A special case of a create file flow.\n * It allow to create a file only from a name and its kind.\n * The store has logic to recognize the file from its `kind` and create a file.\n * \n * This is helpful when creating a new file from the \"create\" dialog.\n * \n * @param name The name provided by the user.\n * @param kind File kind.\n * @param opts Optional options when creating a file\n * @returns The key of the creates file.\n */\n createDefault: async (name: string, kind: string, opts?: IFileCreateOptions, target: EventTarget=document.body): Promise<string> => {\n const e = new CustomEvent(EventTypes.Store.File.createDefault, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n name,\n kind,\n opts,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<string>);\n },\n read: fileRead,\n patch: patchFile,\n /**\n * Deletes the file in the store.\n * \n * @param key The key of the file to delete.\n */\n delete: async (key: string, target: EventTarget=document.body): Promise<string> => {\n const e = new CustomEvent(EventTypes.Store.File.delete, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n key,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<string>);\n },\n /**\n * Updates the sharing options of the file.\n * \n * @param key The file key\n * @param id The generated by the client random id. This id is reported back by the server.\n * @param value The patch operation on the file's ACL\n */\n patchUsers: async (key: string, id: string, value: AccessOperation[], app: IApplication, target: EventTarget=document.body): Promise<void> => {\n const e = new CustomEvent(EventTypes.Store.File.patchUsers, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n key,\n value,\n id,\n app,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await ((e.detail.result as unknown) as Promise<void>);\n },\n /**\n * Lists the users that have direct permission to the file.\n * \n * @param key The file key\n */\n listUsers: async (key: string, target: EventTarget=document.body): Promise<ContextListResult<IUser>> => {\n const e = new CustomEvent(EventTypes.Store.File.listUsers, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n key,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<ContextListResult<IUser>>);\n },\n\n /**\n * Lists breadcrumbs to the file.\n * \n * @param fileOrFolder The if of the file or folder to query for.\n * @param options Optional query options.\n */\n breadcrumbs: async (fileOrFolder: string, target: EventTarget = document.body): Promise<ContextListResult<FileBreadcrumb>> => {\n const e = new CustomEvent(EventTypes.Store.File.breadcrumbs, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n key: fileOrFolder,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<ContextListResult<FileBreadcrumb>>);\n },\n }),\n /**\n * Reads the current user.\n */\n User: Object.freeze({\n me: async (target: EventTarget=document.body): Promise<IUser> => {\n const e = new CustomEvent(EventTypes.Store.User.me, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<IUser>);\n },\n read: async (key: string, target: EventTarget = document.body): Promise<IUser | undefined> => {\n const e = new CustomEvent(EventTypes.Store.User.read, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n key,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<IUser>);\n },\n list: async (options?: ContextListOptions, target: EventTarget=document.body): Promise<ContextListResult<IUser>> => {\n const e = new CustomEvent(EventTypes.Store.User.list, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n options,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<ContextListResult<IUser>>);\n },\n }),\n History: Object.freeze({\n create: async (history: IHttpHistory, target: EventTarget = document.body): Promise<ContextChangeRecord<IHttpHistory>> => {\n const e = new CustomEvent(EventTypes.Store.History.create, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n history,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<ContextChangeRecord<IHttpHistory>>);\n },\n createBulk: async (info: IHttpHistoryBulkAdd, target: EventTarget = document.body): Promise<IBulkOperationResult<ContextChangeRecord<IHttpHistory>>> => {\n const e = new CustomEvent(EventTypes.Store.History.createBulk, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n info,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return (e.detail.result as unknown) as Promise<IBulkOperationResult<ContextChangeRecord<IHttpHistory>>>;\n },\n list: async (init: HistoryListOptions, target: EventTarget=document.body): Promise<ContextListResult<IHttpHistory>> => {\n const e = new CustomEvent(EventTypes.Store.History.list, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n init,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<ContextListResult<IHttpHistory>>);\n },\n\n delete: async (key: string, parent?: string, target: EventTarget=document.body): Promise<void> => {\n const e = new ContextDeleteEvent(EventTypes.Store.History.delete, key, parent);\n target.dispatchEvent(e);\n await e.detail.result;\n },\n\n /**\n * Deletes history request in a bulk operation.\n * @param keys The keys of history objects to delete.\n */\n deleteBulk: async (keys: string[], target: EventTarget=document.body): Promise<void> => {\n const e = new ContextDeleteBulkEvent(EventTypes.Store.History.deleteBulk, keys);\n target.dispatchEvent(e);\n await e.detail.result;\n },\n read: async (key: string, target: EventTarget=document.body): Promise<IHttpHistory> => {\n const e = new CustomEvent(EventTypes.Store.History.read, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n key,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<IHttpHistory>);\n },\n\n /**\n * Clears all history from a project\n * @param project The key of the parent project\n */\n clearSpace: async (space: string, target: EventTarget=document.body): Promise<void> => {\n const e = new CustomEvent<{ result: Promise<void> | undefined, space: string }>(EventTypes.Store.History.clearSpace, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n space,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await e.detail.result;\n },\n\n /**\n * Clears all history from a project\n * @param project The key of the parent project\n */\n clearProject: async (space: string, project: string, target: EventTarget=document.body): Promise<void> => {\n const e = new CustomEvent<{ result: Promise<void> | undefined, project: string, space: string }>(EventTypes.Store.History.clearProject, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n project,\n space,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await e.detail.result;\n },\n\n /**\n * Clears all history from a request\n * @param project The key of the parent project\n * @param request The key of the request to clear the history for.\n */\n clearRequest: async (space: string, project: string, request: string, target: EventTarget=document.body): Promise<void> => {\n const e = new CustomEvent<{ result: Promise<void> | undefined, request: string, project: string, space: string }>(EventTypes.Store.History.clearRequest, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n request,\n project,\n space,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await e.detail.result;\n },\n }),\n ProjectRuns: Object.freeze({\n /**\n * Adds an execution logs object to the store.\n * @param item The execution log to add.\n */\n add: async (item: IProjectExecution, target: EventTarget = document.body): Promise<ContextChangeRecord<IProjectExecution>> => {\n const e = new CustomEvent(EventTypes.Store.ProjectRuns.add, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n item,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<ContextChangeRecord<IProjectExecution>>);\n },\n\n /**\n * Reads an execution logs item.\n * \n * @param key The key of the history object to read.\n */\n read: async (key: string, target: EventTarget = document.body): Promise<IProjectExecution> => {\n const e = new CustomEvent(EventTypes.Store.ProjectRuns.read, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n key,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<IProjectExecution>);\n },\n\n /**\n * Lists the execution logs data.\n * @param options List options. Note, space is added by the bindings.\n */\n list: async (options: IProjectExecutionListOptions, target: EventTarget = document.body): Promise<ContextListResult<IProjectExecution>> => {\n const e = new CustomEvent(EventTypes.Store.ProjectRuns.list, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n options,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<ContextListResult<IProjectExecution>>);\n },\n\n /**\n * Marks the data as deleted.\n * \n * @param key The key of the object to delete.\n */\n delete: async (key: string, parent?: string, target: EventTarget = document.body): Promise<void> => {\n const e = new ContextDeleteEvent(EventTypes.Store.ProjectRuns.delete, key, parent);\n target.dispatchEvent(e);\n await e.detail.result;\n },\n\n /**\n * Deletes a history in a bulk operation.\n * \n * @param keys The list of history keys to delete.\n */\n deleteBulk: async (keys: string[], parent?: string, target: EventTarget = document.body): Promise<void> => {\n const e = new ContextDeleteBulkEvent(EventTypes.Store.ProjectRuns.deleteBulk, keys, parent);\n target.dispatchEvent(e);\n await e.detail.result;\n },\n\n /**\n * Clears the datastore from history for a space.\n * @param project The parent space key. Note, space is added by the bindings. This can be empty.\n */\n clearSpace: async (space: string, target: EventTarget = document.body): Promise<void> => {\n const e = new CustomEvent<{ result: Promise<void> | undefined, space: string }>(EventTypes.Store.ProjectRuns.clearSpace, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n space,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await e.detail.result;\n },\n\n /**\n * Clears all history from a project\n * @param project The parent space key. Note, space is added by the bindings. This can be empty.\n * @param project The parent project key\n */\n clearProject: async (space: string, project: string, target: EventTarget = document.body): Promise<void> => {\n const e = new CustomEvent<{ result: Promise<void> | undefined, project: string, space: string }>(EventTypes.Store.ProjectRuns.clearProject, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n project,\n space,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await e.detail.result;\n },\n\n /**\n * Clears all history from a folder.\n * @param project The parent space key. Note, space is added by the bindings. This can be empty.\n * @param project The parent project key\n */\n clearParent: async (space: string, project: string, folder: string, target: EventTarget = document.body): Promise<void> => {\n const e = new CustomEvent<{ result: Promise<void> | undefined, project: string, space: string, folder: string }>(EventTypes.Store.ProjectRuns.clearParent, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n project,\n space,\n folder,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await e.detail.result;\n },\n }),\n});\n"]}
|
|
1
|
+
{"version":3,"file":"StoreEvents.js","sourceRoot":"","sources":["../../src/events/StoreEvents.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,OAAO,EAGgB,kBAAkB,EAAE,sBAAsB,GAChE,MAAM,uCAAuC,CAAC;AAG/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAmB7C;;;;EAIE;AACF,SAAS,QAAQ,CAAC,GAAW,EAAE,KAAc,EAAE,SAAoB,QAAQ,CAAC,IAAI;IAC9E,MAAM,CAAC,GAAG,IAAI,WAAW,CA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P,KAAK;oBACL,MAAM,EAAE,SAAS;iBAClB;aACF,CAAC,CAAC;YACH,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;YACxB,MAAM,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC;QACxB,CAAC;QAED;;;;WAIG;QACH,WAAW,EAAE,KAAK,EAAE,KAAa,EAAE,OAAe,EAAE,MAAc,EAAE,SAAsB,QAAQ,CAAC,IAAI,EAAiB,EAAE;YACxH,MAAM,CAAC,GAAG,IAAI,WAAW,CAAwF,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,WAAW,EAAE;gBACzJ,OAAO,EAAE,IAAI;gBACb,UAAU,EAAE,IAAI;gBAChB,QAAQ,EAAE,IAAI;gBACd,MAAM,EAAE;oBACN,OAAO;oBACP,KAAK;oBACL,MAAM;oBACN,MAAM,EAAE,SAAS;iBAClB;aACF,CAAC,CAAC;YACH,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;YACxB,MAAM,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC;QACxB,CAAC;KACF,CAAC;CACH,CAAC,CAAC","sourcesContent":["/* eslint-disable no-redeclare */\nimport { \n IBackendInfo, IFile, IFileCreateOptions,\n ListFileKind, AccessOperation, IUser, IPatchRevision, IApplication, IHttpHistory, IHttpHistoryBulkAdd, HistoryListOptions, \n ContextChangeRecord, ContextDeleteEvent, ContextDeleteBulkEvent, ContextListOptions, ContextListResult, IProjectExecution, IProjectExecutionListOptions, IBulkOperationResult, FileBreadcrumb,\n} from '@api-client/core/build/esm/browser.js';\nimport { Patch } from '@api-client/json';\nimport { IConfigEnvironment, IConfigInit } from '../lib/config/Config.js';\nimport { EventTypes } from './EventTypes.js';\nimport { ISessionInitInfo } from '../store/HttpStore.js';\nimport { StoreAuthenticationInit } from '../bindings/base/StoreBindings.js';\n\n/**\n * Reads file metadata from the store.\n * \n * @param key The file key\n * @returns THe file metadata\n */\nfunction fileRead(key: string, media: false, target?: EventTarget): Promise<IFile>;\n/**\n* Reads file contents from the store.\n* \n* @param key The file key\n* @returns THe file contents\n*/\nfunction fileRead(key: string, media: true, target?: EventTarget): Promise<unknown>;\n\n/**\n* Reads a user file definition from the store.\n* @param key The file key\n* @param media When true it reads file contents rather than metadata.\n*/\nfunction fileRead(key: string, media: boolean, target: EventTarget=document.body): Promise<IFile | unknown> {\n const e = new CustomEvent(EventTypes.Store.File.read, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n key,\n media,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<IFile | unknown>);\n}\n\n/**\n * Patches file's meta in the store.\n * \n * @param key The file key\n * @param value The patch to apply.\n */\nfunction patchFile(key: string, id: string, value: Patch.JsonPatch, app: IApplication, media: false, target?: EventTarget): Promise<IPatchRevision>;\n\n/**\n * Patches file's content in the store.\n * \n * @param key The file key\n * @param value The patch to apply.\n */\nfunction patchFile(key: string, id: string, value: Patch.JsonPatch, app: IApplication, media: true, target?: EventTarget): Promise<IPatchRevision>;\n\n/**\n * Patches a file in the store.\n * @param key The key of the file to patch\n * @param value The JSON patch to be processed.\n * @returns The JSON patch to revert the change using the `@api-client/json` library\n */\nfunction patchFile(key: string, id: string, value: Patch.JsonPatch, app: IApplication, media?: boolean, target: EventTarget=document.body): Promise<IPatchRevision> {\n const e = new CustomEvent(EventTypes.Store.File.patch, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n key,\n value,\n media,\n id,\n app,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<IPatchRevision>);\n}\n\nexport const StoreEvents = Object.freeze({\n /**\n * Initializes the store configuration for the application.\n * \n * @param init The configuration initialization.\n * @param target Optional events target.\n */\n initEnvironment: async (init: IConfigInit, target: EventTarget = document.body): Promise<void> => {\n const e = new CustomEvent(EventTypes.Store.initEnvironment, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: init,\n });\n target.dispatchEvent(e);\n await ((e.detail) as unknown as { result: Promise<void> }).result;\n },\n\n /**\n * Reads the information about the data store.\n * \n * @param baseUri The store's base URI\n * @param target Optional events target.\n */\n storeInfo: async (baseUri: string, target: EventTarget=document.body): Promise<IBackendInfo> => {\n const e = new CustomEvent(EventTypes.Store.info, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n baseUri,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<IBackendInfo>);\n },\n Global: Object.freeze({\n /**\n * Sets the store environment to be used globally by the application.\n * This initializes the store with the configuration.\n * \n * Note, this won't initialize the session with the store.\n * \n * @param env The environment to set. Note, it must have the `location` set.\n */\n setEnv: async (env: IConfigEnvironment, target: EventTarget=document.body): Promise<void> => {\n const e = new CustomEvent(EventTypes.Store.Global.setEnv, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n env,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await (e.detail.result as unknown);\n },\n /**\n * Reads the currently set global environment.\n */\n getEnv: async (target: EventTarget=document.body): Promise<IConfigEnvironment> => {\n const e = new CustomEvent(EventTypes.Store.Global.getEnv, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return (e.detail.result as unknown) as Promise<IConfigEnvironment>;\n },\n }),\n Auth: Object.freeze({\n /**\n * Checks whether the user is authenticated in the store for the environment\n * @returns True if the user is authenticated in the store.\n */\n isAuthenticated: async (target: EventTarget=document.body): Promise<boolean> => {\n const e = new CustomEvent(EventTypes.Store.Auth.isAuthenticated, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<boolean>);\n },\n /**\n * Authenticates the current environment, if needed.\n * \n * @param update Whether to update the stored environment configuration when the token was renewed.\n * @param env Optional environment to authenticated if different than default\n * @param force Whether to force authentication.\n * @param target Optional events target.\n * @returns The session information.\n */\n authenticate: async (options?: StoreAuthenticationInit, target: EventTarget=document.body): Promise<ISessionInitInfo> => {\n const e = new CustomEvent(EventTypes.Store.Auth.authenticate, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n options,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<ISessionInitInfo>);\n },\n /**\n * Reads the store access token in use, if any.\n * Note, this does not perform authentication. The user has to be already authenticated.\n * \n * @param target Optional events target.\n * @returns The current access token value to use in the store or undefined if none is in use, or the event is not handled.\n */\n getToken: async (target: EventTarget=document.body): Promise<string | undefined> => {\n const e = new CustomEvent(EventTypes.Store.Auth.getToken, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<string | undefined>);\n },\n }),\n File: Object.freeze({\n /**\n * Lists files (spaces, projects, etc) in the store.\n * \n * @param kinds the list of kinds to list. Spaces are always included.\n * @param options Optional query options.\n */\n list: async (kinds?: ListFileKind[], options?: ContextListOptions, target: EventTarget=document.body): Promise<ContextListResult<IFile>> => {\n const e = new CustomEvent(EventTypes.Store.File.list, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n kinds,\n options,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<ContextListResult<IFile>>);\n },\n /**\n * Lists files that are shared with the user.\n * \n * @param kinds the list of kinds to list. Spaces are always included.\n * @param options Optional query options.\n */\n listShared: async (kinds?: ListFileKind[], options?: ContextListOptions, target: EventTarget=document.body): Promise<ContextListResult<IFile>> => {\n const e = new CustomEvent(EventTypes.Store.File.listShared, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n kinds,\n options,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<ContextListResult<IFile>>);\n },\n /**\n * Creates a file in the store.\n * \n * @param meta The definition of a file that extends the IFile interface.\n * @param media The file content to create with the file meta, if available.\n * @param opts Optional options when creating a file\n * @returns The key of the creates file.\n */\n create: async (meta: IFile, media?: unknown, opts?: IFileCreateOptions, target: EventTarget=document.body): Promise<string> => {\n const e = new CustomEvent(EventTypes.Store.File.create, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n meta,\n media,\n opts,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<string>);\n },\n /**\n * A special case of a create file flow.\n * It allow to create a file only from a name and its kind.\n * The store has logic to recognize the file from its `kind` and create a file.\n * \n * This is helpful when creating a new file from the \"create\" dialog.\n * \n * @param name The name provided by the user.\n * @param kind File kind.\n * @param opts Optional options when creating a file\n * @returns The key of the creates file.\n */\n createDefault: async (name: string, kind: string, opts?: IFileCreateOptions, target: EventTarget=document.body): Promise<string> => {\n const e = new CustomEvent(EventTypes.Store.File.createDefault, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n name,\n kind,\n opts,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<string>);\n },\n read: fileRead,\n patch: patchFile,\n /**\n * Deletes the file in the store.\n * \n * @param key The key of the file to delete.\n */\n delete: async (key: string, target: EventTarget=document.body): Promise<string> => {\n const e = new CustomEvent(EventTypes.Store.File.delete, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n key,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<string>);\n },\n /**\n * Updates the sharing options of the file.\n * \n * @param key The file key\n * @param id The generated by the client random id. This id is reported back by the server.\n * @param value The patch operation on the file's ACL\n */\n patchUsers: async (key: string, id: string, value: AccessOperation[], app: IApplication, target: EventTarget=document.body): Promise<void> => {\n const e = new CustomEvent(EventTypes.Store.File.patchUsers, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n key,\n value,\n id,\n app,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await ((e.detail.result as unknown) as Promise<void>);\n },\n /**\n * Lists the users that have direct permission to the file.\n * \n * @param key The file key\n */\n listUsers: async (key: string, target: EventTarget=document.body): Promise<ContextListResult<IUser>> => {\n const e = new CustomEvent(EventTypes.Store.File.listUsers, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n key,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<ContextListResult<IUser>>);\n },\n\n /**\n * Lists breadcrumbs to the file.\n * \n * @param fileOrFolder The if of the file or folder to query for.\n * @param options Optional query options.\n */\n breadcrumbs: async (fileOrFolder: string, target: EventTarget = document.body): Promise<ContextListResult<FileBreadcrumb>> => {\n const e = new CustomEvent(EventTypes.Store.File.breadcrumbs, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n key: fileOrFolder,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<ContextListResult<FileBreadcrumb>>);\n },\n }),\n /**\n * Reads the current user.\n */\n User: Object.freeze({\n me: async (target: EventTarget=document.body): Promise<IUser> => {\n const e = new CustomEvent(EventTypes.Store.User.me, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<IUser>);\n },\n read: async (key: string, target: EventTarget = document.body): Promise<IUser | undefined> => {\n const e = new CustomEvent(EventTypes.Store.User.read, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n key,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<IUser>);\n },\n list: async (options?: ContextListOptions, target: EventTarget=document.body): Promise<ContextListResult<IUser>> => {\n const e = new CustomEvent(EventTypes.Store.User.list, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n options,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<ContextListResult<IUser>>);\n },\n }),\n History: Object.freeze({\n create: async (history: IHttpHistory, target: EventTarget = document.body): Promise<ContextChangeRecord<IHttpHistory>> => {\n const e = new CustomEvent(EventTypes.Store.History.create, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n history,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<ContextChangeRecord<IHttpHistory>>);\n },\n createBulk: async (info: IHttpHistoryBulkAdd, target: EventTarget = document.body): Promise<IBulkOperationResult<ContextChangeRecord<IHttpHistory>>> => {\n const e = new CustomEvent(EventTypes.Store.History.createBulk, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n info,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return (e.detail.result as unknown) as Promise<IBulkOperationResult<ContextChangeRecord<IHttpHistory>>>;\n },\n list: async (init: HistoryListOptions, target: EventTarget=document.body): Promise<ContextListResult<IHttpHistory>> => {\n const e = new CustomEvent(EventTypes.Store.History.list, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n init,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<ContextListResult<IHttpHistory>>);\n },\n\n delete: async (key: string, parent?: string, target: EventTarget=document.body): Promise<void> => {\n const e = new ContextDeleteEvent(EventTypes.Store.History.delete, key, parent);\n target.dispatchEvent(e);\n await e.detail.result;\n },\n\n /**\n * Deletes history request in a bulk operation.\n * @param keys The keys of history objects to delete.\n */\n deleteBulk: async (keys: string[], target: EventTarget=document.body): Promise<void> => {\n const e = new ContextDeleteBulkEvent(EventTypes.Store.History.deleteBulk, keys);\n target.dispatchEvent(e);\n await e.detail.result;\n },\n read: async (key: string, target: EventTarget=document.body): Promise<IHttpHistory> => {\n const e = new CustomEvent(EventTypes.Store.History.read, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n key,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<IHttpHistory>);\n },\n\n /**\n * Clears all history from a project\n * @param project The key of the parent project\n */\n clearSpace: async (space: string, target: EventTarget=document.body): Promise<void> => {\n const e = new CustomEvent<{ result: Promise<void> | undefined, space: string }>(EventTypes.Store.History.clearSpace, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n space,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await e.detail.result;\n },\n\n /**\n * Clears all history from a project\n * @param project The key of the parent project\n */\n clearProject: async (space: string, project: string, target: EventTarget=document.body): Promise<void> => {\n const e = new CustomEvent<{ result: Promise<void> | undefined, project: string, space: string }>(EventTypes.Store.History.clearProject, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n project,\n space,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await e.detail.result;\n },\n\n /**\n * Clears all history from a request\n * @param project The key of the parent project\n * @param request The key of the request to clear the history for.\n */\n clearRequest: async (space: string, project: string, request: string, target: EventTarget=document.body): Promise<void> => {\n const e = new CustomEvent<{ result: Promise<void> | undefined, request: string, project: string, space: string }>(EventTypes.Store.History.clearRequest, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n request,\n project,\n space,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await e.detail.result;\n },\n }),\n ProjectRuns: Object.freeze({\n /**\n * Adds an execution logs object to the store.\n * @param item The execution log to add.\n */\n add: async (item: IProjectExecution, target: EventTarget = document.body): Promise<ContextChangeRecord<IProjectExecution>> => {\n const e = new CustomEvent(EventTypes.Store.ProjectRuns.add, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n item,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<ContextChangeRecord<IProjectExecution>>);\n },\n\n /**\n * Reads an execution logs item.\n * \n * @param key The key of the history object to read.\n */\n read: async (key: string, target: EventTarget = document.body): Promise<IProjectExecution> => {\n const e = new CustomEvent(EventTypes.Store.ProjectRuns.read, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n key,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<IProjectExecution>);\n },\n\n /**\n * Lists the execution logs data.\n * @param options List options. Note, space is added by the bindings.\n */\n list: async (options: IProjectExecutionListOptions, target: EventTarget = document.body): Promise<ContextListResult<IProjectExecution>> => {\n const e = new CustomEvent(EventTypes.Store.ProjectRuns.list, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n options,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n return ((e.detail.result as unknown) as Promise<ContextListResult<IProjectExecution>>);\n },\n\n /**\n * Marks the data as deleted.\n * \n * @param key The key of the object to delete.\n */\n delete: async (key: string, parent?: string, target: EventTarget = document.body): Promise<void> => {\n const e = new ContextDeleteEvent(EventTypes.Store.ProjectRuns.delete, key, parent);\n target.dispatchEvent(e);\n await e.detail.result;\n },\n\n /**\n * Deletes a history in a bulk operation.\n * \n * @param keys The list of history keys to delete.\n */\n deleteBulk: async (keys: string[], parent?: string, target: EventTarget = document.body): Promise<void> => {\n const e = new ContextDeleteBulkEvent(EventTypes.Store.ProjectRuns.deleteBulk, keys, parent);\n target.dispatchEvent(e);\n await e.detail.result;\n },\n\n /**\n * Clears the datastore from history for a space.\n * @param project The parent space key. Note, space is added by the bindings. This can be empty.\n */\n clearSpace: async (space: string, target: EventTarget = document.body): Promise<void> => {\n const e = new CustomEvent<{ result: Promise<void> | undefined, space: string }>(EventTypes.Store.ProjectRuns.clearSpace, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n space,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await e.detail.result;\n },\n\n /**\n * Clears all history from a project\n * @param project The parent space key. Note, space is added by the bindings. This can be empty.\n * @param project The parent project key\n */\n clearProject: async (space: string, project: string, target: EventTarget = document.body): Promise<void> => {\n const e = new CustomEvent<{ result: Promise<void> | undefined, project: string, space: string }>(EventTypes.Store.ProjectRuns.clearProject, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n project,\n space,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await e.detail.result;\n },\n\n /**\n * Clears all history from a folder.\n * @param project The parent space key. Note, space is added by the bindings. This can be empty.\n * @param project The parent project key\n */\n clearParent: async (space: string, project: string, folder: string, target: EventTarget = document.body): Promise<void> => {\n const e = new CustomEvent<{ result: Promise<void> | undefined, project: string, space: string, folder: string }>(EventTypes.Store.ProjectRuns.clearParent, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n project,\n space,\n folder,\n result: undefined,\n },\n });\n target.dispatchEvent(e);\n await e.detail.result;\n },\n }),\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiEvents.d.ts","sourceRoot":"","sources":["../../../src/events/amf/ApiEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ApiEvents.d.ts","sourceRoot":"","sources":["../../../src/events/amf/ApiEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAGvE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,eAAO,MAAM,SAAS;IACpB;;;OAGG;sBACqB,WAAW,KAAG,QAAQ,eAAe,WAAW,GAAG,SAAS,CAAC;IAMrF;;;OAGG;wBACuB,WAAW,KAAG,QAAQ,MAAM,EAAE,GAAG,SAAS,CAAC;IAMrE;;;OAGG;sBACqB,WAAW,KAAG,QAAQ,MAAM,GAAG,SAAS,CAAC;IAMjE;;;OAGG;2BAC0B,WAAW,KAAG,QAAQ,YAAY,GAAG,SAAS,CAAC;CAK7E,CAAA"}
|