angular-toolbox 1.5.5 → 1.6.1
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/README.md +1 -1
- package/fesm2022/angular-toolbox.mjs +147 -147
- package/fesm2022/angular-toolbox.mjs.map +1 -1
- package/index.d.ts +5342 -3
- package/package.json +5 -5
- package/lib/angular-toolbox.module.d.ts +0 -9
- package/lib/collection/array-list-event-type.enum.d.ts +0 -28
- package/lib/collection/array-list.d.ts +0 -111
- package/lib/collection/array-list.event.d.ts +0 -29
- package/lib/collection/index.d.ts +0 -10
- package/lib/component/angular-toolbox-logo/angular-toolbox-logo.component.d.ts +0 -5
- package/lib/component/dropdown/dropdown.component.d.ts +0 -100
- package/lib/component/index.d.ts +0 -11
- package/lib/component/layout/border-layout/border-layout.component.d.ts +0 -96
- package/lib/component/layout/border-layout/util/border-layout-bounds-manager.d.ts +0 -131
- package/lib/component/layout/border-layout/util/border-layout-renderer.d.ts +0 -118
- package/lib/component/layout/border-layout/util/resize-method.d.ts +0 -13
- package/lib/component/layout/border-layout-container/border-layout-container.component.d.ts +0 -104
- package/lib/component/layout/index.d.ts +0 -2
- package/lib/component/navbar/navbar.component.d.ts +0 -114
- package/lib/core/abstract/abstract-subscription-manager.d.ts +0 -73
- package/lib/core/abstract/abstract-version-manager.d.ts +0 -34
- package/lib/core/abstract/index.d.ts +0 -2
- package/lib/core/bridge/app-bridge.d.ts +0 -59
- package/lib/core/error/app-bridge-error.d.ts +0 -16
- package/lib/core/error/http-mock-service-error.d.ts +0 -18
- package/lib/core/error/index.d.ts +0 -4
- package/lib/core/error/integrity-error.d.ts +0 -18
- package/lib/core/error/subscription-error.d.ts +0 -18
- package/lib/core/impl/index.d.ts +0 -1
- package/lib/core/impl/lang/identifiable-component.d.ts +0 -44
- package/lib/core/impl/lang/index.d.ts +0 -1
- package/lib/core/impl/version/version.impl.d.ts +0 -46
- package/lib/core/index.d.ts +0 -3
- package/lib/directive/anchor-link.directive.d.ts +0 -29
- package/lib/directive/button-role.directive.d.ts +0 -52
- package/lib/directive/content-renderer.directive.d.ts +0 -39
- package/lib/directive/index.d.ts +0 -4
- package/lib/directive/navigate-to-url.directive.d.ts +0 -23
- package/lib/directive/navigation-directive-base.d.ts +0 -19
- package/lib/framework/dialog/dialog-backdrop-type.enum.d.ts +0 -20
- package/lib/framework/dialog/dialog-backdrop.type.d.ts +0 -11
- package/lib/framework/dialog/dialog-default-config.d.ts +0 -12
- package/lib/framework/dialog/dialog-outlet-event-type.d.ts +0 -11
- package/lib/framework/dialog/dialog-outlet.event.d.ts +0 -40
- package/lib/framework/dialog/dialog-service.d.ts +0 -47
- package/lib/framework/dialog/dialog-service.error.d.ts +0 -19
- package/lib/framework/dialog/dialog.config.d.ts +0 -18
- package/lib/framework/dialog/dialog.outlet.d.ts +0 -59
- package/lib/framework/dialog/index.d.ts +0 -15
- package/lib/framework/index.d.ts +0 -5
- package/lib/framework/logging/connector/console-log-connector.d.ts +0 -34
- package/lib/framework/logging/connector/default-log-connector.d.ts +0 -34
- package/lib/framework/logging/connector/html-log-connector.d.ts +0 -72
- package/lib/framework/logging/connector/index.d.ts +0 -3
- package/lib/framework/logging/impl/abstract-logger.d.ts +0 -69
- package/lib/framework/logging/impl/index.d.ts +0 -2
- package/lib/framework/logging/impl/log-impl.d.ts +0 -45
- package/lib/framework/logging/index.d.ts +0 -3
- package/lib/framework/logging/util/index.d.ts +0 -3
- package/lib/framework/logging/util/log.builder.d.ts +0 -24
- package/lib/framework/logging/util/log.constant.d.ts +0 -23
- package/lib/framework/logging/util/log.util.d.ts +0 -48
- package/lib/framework/mock/documentation/component/atx-mock-description/atx-mock-description.component.d.ts +0 -14
- package/lib/framework/mock/documentation/component/atx-mock-documentation/atx-mock-documentation.component.d.ts +0 -43
- package/lib/framework/mock/documentation/component/atx-mock-full-description/atx-mock-full-description.component.d.ts +0 -15
- package/lib/framework/mock/documentation/component/atx-mock-methods/atx-mock-methods.component.d.ts +0 -29
- package/lib/framework/mock/documentation/component/atx-mock-param/atx-mock-param.component.d.ts +0 -15
- package/lib/framework/mock/documentation/index.d.ts +0 -1
- package/lib/framework/mock/documentation/model/business/full-description.type.d.ts +0 -21
- package/lib/framework/mock/documentation/model/business/method-doc-descriptor.type.d.ts +0 -22
- package/lib/framework/mock/http/config/http-mock-parameters.d.ts +0 -13
- package/lib/framework/mock/http/config/http-mock.decorator.d.ts +0 -13
- package/lib/framework/mock/http/config/index.d.ts +0 -2
- package/lib/framework/mock/http/config/route-mock-config.d.ts +0 -36
- package/lib/framework/mock/http/core/data-storage.d.ts +0 -43
- package/lib/framework/mock/http/core/response-delay.d.ts +0 -23
- package/lib/framework/mock/http/event/event-target.impl.d.ts +0 -78
- package/lib/framework/mock/http/event/progress-event-mock.d.ts +0 -36
- package/lib/framework/mock/http/index.d.ts +0 -3
- package/lib/framework/mock/http/logging/http-mock-logger.d.ts +0 -14
- package/lib/framework/mock/http/logging/http-mock-logging-metadata.builder.d.ts +0 -20
- package/lib/framework/mock/http/path-to-regexp/constants.d.ts +0 -111
- package/lib/framework/mock/http/path-to-regexp/escape-to-regexp-string.d.ts +0 -24
- package/lib/framework/mock/http/path-to-regexp/get-flags.d.ts +0 -25
- package/lib/framework/mock/http/path-to-regexp/iter.d.ts +0 -50
- package/lib/framework/mock/http/path-to-regexp/lexer.d.ts +0 -24
- package/lib/framework/mock/http/path-to-regexp/loose-replacer.d.ts +0 -25
- package/lib/framework/mock/http/path-to-regexp/model/decode-key-to-string.d.ts +0 -21
- package/lib/framework/mock/http/path-to-regexp/model/encode.d.ts +0 -20
- package/lib/framework/mock/http/path-to-regexp/model/key.d.ts +0 -45
- package/lib/framework/mock/http/path-to-regexp/model/lex-token.d.ts +0 -34
- package/lib/framework/mock/http/path-to-regexp/model/lexer-type.d.ts +0 -21
- package/lib/framework/mock/http/path-to-regexp/model/loose-replacer-provider.d.ts +0 -20
- package/lib/framework/mock/http/path-to-regexp/model/non-delimiter-encoder-provider.d.ts +0 -21
- package/lib/framework/mock/http/path-to-regexp/model/parse-options.d.ts +0 -33
- package/lib/framework/mock/http/path-to-regexp/model/path-to-regexp-options.d.ts +0 -52
- package/lib/framework/mock/http/path-to-regexp/model/route-string-tokenizer.d.ts +0 -22
- package/lib/framework/mock/http/path-to-regexp/model/simple-tokens.d.ts +0 -21
- package/lib/framework/mock/http/path-to-regexp/model/token-data-regexp-factory.d.ts +0 -23
- package/lib/framework/mock/http/path-to-regexp/model/token-type.d.ts +0 -20
- package/lib/framework/mock/http/path-to-regexp/model/token.d.ts +0 -21
- package/lib/framework/mock/http/path-to-regexp/string-to-token-data.d.ts +0 -21
- package/lib/framework/mock/http/path-to-regexp/to-key-regexp.d.ts +0 -22
- package/lib/framework/mock/http/path-to-regexp/to-stringify.d.ts +0 -21
- package/lib/framework/mock/http/path-to-regexp/token-data-to-regexp.d.ts +0 -21
- package/lib/framework/mock/http/path-to-regexp/token-data.d.ts +0 -32
- package/lib/framework/mock/http/util/data-storage.builder.d.ts +0 -26
- package/lib/framework/mock/http/util/fetch-client-response-type.enum.d.ts +0 -38
- package/lib/framework/mock/http/util/fetch-client.builder.d.ts +0 -28
- package/lib/framework/mock/http/util/http-headers-mock.builder.d.ts +0 -106
- package/lib/framework/mock/http/util/http-headers.util.d.ts +0 -41
- package/lib/framework/mock/http/util/http-method-ref.enum.d.ts +0 -58
- package/lib/framework/mock/http/util/http-mock-max-delay.d.ts +0 -11
- package/lib/framework/mock/http/util/http-mock-response-delay.util.d.ts +0 -22
- package/lib/framework/mock/http/util/http-mock-response.builder.d.ts +0 -91
- package/lib/framework/mock/http/util/http-status-text-finder.d.ts +0 -23
- package/lib/framework/mock/http/util/http-status-text.enum.d.ts +0 -252
- package/lib/framework/mock/http/util/index.d.ts +0 -7
- package/lib/framework/mock/http/xhr/delegate-xhr.d.ts +0 -214
- package/lib/framework/mock/http/xhr/http-mock-factory.d.ts +0 -14
- package/lib/framework/mock/http/xhr/http-mock-factory.impl.d.ts +0 -26
- package/lib/framework/mock/http/xhr/index.d.ts +0 -1
- package/lib/framework/mock/http/xhr/xhr-base.d.ts +0 -123
- package/lib/framework/mock/http/xhr/xhr-proxy-impl.d.ts +0 -126
- package/lib/framework/mock/http-monitoring-console/component/abstract/log-renderer-base.d.ts +0 -28
- package/lib/framework/mock/http-monitoring-console/component/console-footer/console-footer.component.d.ts +0 -15
- package/lib/framework/mock/http-monitoring-console/component/console-menu/console-menu.component.d.ts +0 -23
- package/lib/framework/mock/http-monitoring-console/component/http-monitoring-console/http-monitoring-console.component.d.ts +0 -21
- package/lib/framework/mock/http-monitoring-console/component/renderer/icon-renderer/icon-renderer.component.d.ts +0 -28
- package/lib/framework/mock/http-monitoring-console/component/renderer/json-viewer/json-viewer.component.d.ts +0 -19
- package/lib/framework/mock/http-monitoring-console/component/renderer/json-viewer-panel/json-viewer-panel.component.d.ts +0 -15
- package/lib/framework/mock/http-monitoring-console/component/renderer/payload-renderer/payload-renderer.component.d.ts +0 -27
- package/lib/framework/mock/http-monitoring-console/component/renderer/request-info-renderer/request-info-renderer.component.d.ts +0 -25
- package/lib/framework/mock/http-monitoring-console/component/renderer/request-list-renderer/request-list-renderer.component.d.ts +0 -57
- package/lib/framework/mock/http-monitoring-console/component/renderer/response-body-renderer/response-body-renderer.component.d.ts +0 -35
- package/lib/framework/mock/http-monitoring-console/component/renderer/response-preview-renderer/response-preview-renderer.component.d.ts +0 -61
- package/lib/framework/mock/http-monitoring-console/component/renderer/spinner/spinner.component.d.ts +0 -9
- package/lib/framework/mock/http-monitoring-console/component/renderer/timing-renderer/timing-renderer.component.d.ts +0 -39
- package/lib/framework/mock/http-monitoring-console/component/request-details/request-details.component.d.ts +0 -51
- package/lib/framework/mock/http-monitoring-console/connector/http-monitoring-console-log-connector.d.ts +0 -45
- package/lib/framework/mock/http-monitoring-console/index.d.ts +0 -1
- package/lib/framework/mock/http-monitoring-console/model/business/atx-console-action-type.d.ts +0 -38
- package/lib/framework/mock/http-monitoring-console/model/business/atx-console-action.d.ts +0 -24
- package/lib/framework/mock/http-monitoring-console/model/business/atx-console-json.d.ts +0 -34
- package/lib/framework/mock/http-monitoring-console/model/business/atx-is-imported-log.d.ts +0 -13
- package/lib/framework/mock/http-monitoring-console/model/business/atx-timeline-data.d.ts +0 -21
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-body-dto.d.ts +0 -24
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-header-dto.d.ts +0 -23
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-log-metadata.dto.d.ts +0 -31
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-log.dto.d.ts +0 -30
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-request-metadata.dto.ts.d.ts +0 -38
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-request.dto.d.ts +0 -55
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-response.dto.d.ts +0 -41
- package/lib/framework/mock/http-monitoring-console/model/business/io/hmfl.d.ts +0 -24
- package/lib/framework/mock/http-monitoring-console/model/service/atx-log-io.service.d.ts +0 -33
- package/lib/framework/mock/http-monitoring-console/model/service/atx-monitoring-console.controller.d.ts +0 -55
- package/lib/framework/mock/http-monitoring-console/model/service/atx-monitoring-console.state.d.ts +0 -75
- package/lib/framework/mock/http-monitoring-console/model/service/atx-user-action.service.d.ts +0 -32
- package/lib/framework/mock/http-monitoring-console/util/console-body-type.d.ts +0 -48
- package/lib/framework/mock/http-monitoring-console/util/console-type-class.d.ts +0 -43
- package/lib/framework/mock/http-monitoring-console/util/data.util.d.ts +0 -33
- package/lib/framework/mock/http-monitoring-console/util/io/body-converter.d.ts +0 -30
- package/lib/framework/mock/http-monitoring-console/util/io/body-serializer.d.ts +0 -32
- package/lib/framework/mock/http-monitoring-console/util/io/form-data-serializer.d.ts +0 -21
- package/lib/framework/mock/http-monitoring-console/util/io/hmfl-builder.d.ts +0 -23
- package/lib/framework/mock/http-monitoring-console/util/io/http-request-converter.d.ts +0 -31
- package/lib/framework/mock/http-monitoring-console/util/io/http-response-converter.d.ts +0 -31
- package/lib/framework/mock/http-monitoring-console/util/io/log-converter.d.ts +0 -31
- package/lib/framework/mock/http-monitoring-console/util/io/log-headers-converter.d.ts +0 -31
- package/lib/framework/mock/http-monitoring-console/util/io/log-message.util.d.ts +0 -23
- package/lib/framework/mock/http-monitoring-console/util/io/log-metadata-converter.d.ts +0 -31
- package/lib/framework/mock/http-monitoring-console/util/io/request-metadata-converter.d.ts +0 -31
- package/lib/framework/mock/http-monitoring-console/util/size.util.d.ts +0 -33
- package/lib/framework/mock/http-monitoring-console/util/timeline.util.d.ts +0 -23
- package/lib/framework/mock/http-monitoring-console/util/url.util.d.ts +0 -38
- package/lib/model/business/index.d.ts +0 -7
- package/lib/model/business/lang/app-bridge-command.d.ts +0 -11
- package/lib/model/business/lang/destroyable.d.ts +0 -16
- package/lib/model/business/lang/identifiable.d.ts +0 -26
- package/lib/model/business/lang/index.d.ts +0 -4
- package/lib/model/business/lang/instantiable.d.ts +0 -15
- package/lib/model/business/logging/atx-logger-config.provider.d.ts +0 -21
- package/lib/model/business/logging/http-mock-logging-constant.enum.d.ts +0 -32
- package/lib/model/business/logging/index.d.ts +0 -7
- package/lib/model/business/logging/log-connector.d.ts +0 -36
- package/lib/model/business/logging/log-level.enum.d.ts +0 -32
- package/lib/model/business/logging/log.d.ts +0 -34
- package/lib/model/business/logging/logger-config.d.ts +0 -17
- package/lib/model/business/logging/logger.d.ts +0 -58
- package/lib/model/business/logging/transactional-logger.d.ts +0 -28
- package/lib/model/business/mock/http/config/http-mock-production-policy.enum.d.ts +0 -24
- package/lib/model/business/mock/http/config/http-mocking-framework-config.d.ts +0 -21
- package/lib/model/business/mock/http/config/http-mocking-framework-config.provider.d.ts +0 -21
- package/lib/model/business/mock/http/config/index.d.ts +0 -3
- package/lib/model/business/mock/http/fetch-client.d.ts +0 -13
- package/lib/model/business/mock/http/http-method-mock.d.ts +0 -35
- package/lib/model/business/mock/http/http-mock-config.d.ts +0 -32
- package/lib/model/business/mock/http/http-mock-endpoint-descriptor.d.ts +0 -21
- package/lib/model/business/mock/http/http-mock-endpoint.d.ts +0 -46
- package/lib/model/business/mock/http/http-mock-error.d.ts +0 -21
- package/lib/model/business/mock/http/http-mock-interceptor.d.ts +0 -31
- package/lib/model/business/mock/http/http-mock-method-descriptor.d.ts +0 -29
- package/lib/model/business/mock/http/http-mock-parameter-descriptor.d.ts +0 -20
- package/lib/model/business/mock/http/http-mock-request-metadata.d.ts +0 -33
- package/lib/model/business/mock/http/http-response-mock.d.ts +0 -44
- package/lib/model/business/mock/http/index.d.ts +0 -14
- package/lib/model/business/mock/http/logging/http-mock-logging-metadata.d.ts +0 -15
- package/lib/model/business/mock/http/logging/http-mock-logging-prefetch-metadata.d.ts +0 -16
- package/lib/model/business/mock/http/logging/index.d.ts +0 -2
- package/lib/model/business/mock/http/xhr-proxy.d.ts +0 -15
- package/lib/model/business/navigator/battery-manager.d.ts +0 -56
- package/lib/model/business/navigator/connection-type.d.ts +0 -11
- package/lib/model/business/navigator/effective-connection-type.d.ts +0 -11
- package/lib/model/business/navigator/index.d.ts +0 -4
- package/lib/model/business/navigator/network-information.d.ts +0 -53
- package/lib/model/business/subscription/index.d.ts +0 -1
- package/lib/model/business/subscription/subscription-manager.d.ts +0 -52
- package/lib/model/business/ui/dark-mode-config.d.ts +0 -29
- package/lib/model/business/ui/dark-mode-config.provider.d.ts +0 -21
- package/lib/model/business/ui/dark-mode.constant.d.ts +0 -15
- package/lib/model/business/ui/dropdown/dropdown-event-type.enum.d.ts +0 -20
- package/lib/model/business/ui/dropdown/dropdown-position.d.ts +0 -15
- package/lib/model/business/ui/dropdown/dropdown-state.d.ts +0 -11
- package/lib/model/business/ui/dropdown/dropdown.event.d.ts +0 -40
- package/lib/model/business/ui/dropdown/index.d.ts +0 -5
- package/lib/model/business/ui/dropdown/popover-state.d.ts +0 -11
- package/lib/model/business/ui/index.d.ts +0 -7
- package/lib/model/business/ui/layout/index.d.ts +0 -5
- package/lib/model/business/ui/layout/layout-constraints.d.ts +0 -33
- package/lib/model/business/ui/layout/layout-drag-event-type.enum.d.ts +0 -24
- package/lib/model/business/ui/layout/layout-drag.event.d.ts +0 -33
- package/lib/model/business/ui/layout/layout-region.d.ts +0 -36
- package/lib/model/business/ui/layout/layout-region.error.d.ts +0 -19
- package/lib/model/business/ui/scroll-behavior.type.d.ts +0 -11
- package/lib/model/business/ui/window/index.d.ts +0 -4
- package/lib/model/business/ui/window/window-feature-state.d.ts +0 -20
- package/lib/model/business/ui/window/window-init.d.ts +0 -75
- package/lib/model/business/ui/window/window-ref.d.ts +0 -21
- package/lib/model/business/ui/window/window-target.d.ts +0 -32
- package/lib/model/business/version/index.d.ts +0 -4
- package/lib/model/business/version/version-config.d.ts +0 -32
- package/lib/model/business/version/version-config.provider.d.ts +0 -22
- package/lib/model/business/version/version-manager.d.ts +0 -25
- package/lib/model/business/version/version.d.ts +0 -38
- package/lib/model/index.d.ts +0 -2
- package/lib/model/service/index.d.ts +0 -5
- package/lib/model/service/logging/index.d.ts +0 -1
- package/lib/model/service/logging/logger-service.d.ts +0 -14
- package/lib/model/service/mock/http/http-mock.service.d.ts +0 -134
- package/lib/model/service/mock/http/index.d.ts +0 -2
- package/lib/model/service/mock/http/logging/atx-http-mock-console.service.d.ts +0 -51
- package/lib/model/service/mock/http/logging/http-mock-logging-service.d.ts +0 -83
- package/lib/model/service/mock/http/logging/index.d.ts +0 -2
- package/lib/model/service/subscription/subscription.service.d.ts +0 -10
- package/lib/model/service/ui/app-bridge.service.d.ts +0 -80
- package/lib/model/service/ui/dark-mode.service.d.ts +0 -99
- package/lib/model/service/ui/index.d.ts +0 -4
- package/lib/model/service/ui/scroll.service.d.ts +0 -55
- package/lib/model/service/ui/window/abstract-window.service.d.ts +0 -64
- package/lib/model/service/ui/window/index.d.ts +0 -2
- package/lib/model/service/ui/window/window.service.d.ts +0 -44
- package/lib/model/service/version/angular-toolbox-version.service.d.ts +0 -13
- package/lib/model/service/version/index.d.ts +0 -2
- package/lib/model/service/version/version.service.d.ts +0 -15
- package/lib/pipe/index.d.ts +0 -1
- package/lib/pipe/safe/safe-html.pipe.d.ts +0 -30
- package/lib/util/aria-role.constant.d.ts +0 -15
- package/lib/util/default-scroll-behavior.d.ts +0 -12
- package/lib/util/empty-string.const.d.ts +0 -11
- package/lib/util/http-mocking-framework-config.manager.d.ts +0 -66
- package/lib/util/index.d.ts +0 -5
- package/lib/util/js-type.d.ts +0 -39
- package/lib/util/uuid.d.ts +0 -89
- package/lib/util/version.util.d.ts +0 -30
- package/lib/util/window/window-features-builder.d.ts +0 -46
- package/lib/util/window/window-header-tag-util.d.ts +0 -27
- package/public-api.d.ts +0 -16
package/lib/framework/mock/http-monitoring-console/model/business/atx-console-action-type.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
* A utility class that indicates the type of user's action.
|
|
11
|
-
*/
|
|
12
|
-
export declare enum AtxConsoleActionType {
|
|
13
|
-
/**
|
|
14
|
-
* @private
|
|
15
|
-
* Idincates that the logs must be cleared.
|
|
16
|
-
*/
|
|
17
|
-
CLEAR_LOGS = 0,
|
|
18
|
-
/**
|
|
19
|
-
* @private
|
|
20
|
-
* Idincates that the logs must be exported.
|
|
21
|
-
*/
|
|
22
|
-
EXPORT_LOGS = 1,
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
* Idincates that logs must be imported.
|
|
26
|
-
*/
|
|
27
|
-
IMPORT_LOGS = 2,
|
|
28
|
-
/**
|
|
29
|
-
* @private
|
|
30
|
-
* Idincates that the a log is selected.
|
|
31
|
-
*/
|
|
32
|
-
LOG_SELECT = 3,
|
|
33
|
-
/**
|
|
34
|
-
* @private
|
|
35
|
-
* Idincates that the details panel must be closed.
|
|
36
|
-
*/
|
|
37
|
-
CLOSE_DETAILS_PANEL = 4
|
|
38
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { AtxConsoleActionType } from "./atx-console-action-type";
|
|
9
|
-
/**
|
|
10
|
-
* @private
|
|
11
|
-
* Defines a user action.
|
|
12
|
-
*/
|
|
13
|
-
export interface AtxConsoleAction {
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
* The type of action triggered by the user.
|
|
17
|
-
*/
|
|
18
|
-
type: AtxConsoleActionType;
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
* Optional data associated with the triggered action.
|
|
22
|
-
*/
|
|
23
|
-
data?: any;
|
|
24
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { ConsoleTypeClass } from "../../util/console-type-class";
|
|
9
|
-
/**
|
|
10
|
-
* @private
|
|
11
|
-
* A tree representation of HTTP request data.
|
|
12
|
-
*/
|
|
13
|
-
export interface AtxConsoleJson {
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
* The optional string representation of the data.
|
|
17
|
-
*/
|
|
18
|
-
label?: string;
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
* The raw value of the data.
|
|
22
|
-
*/
|
|
23
|
-
value: any;
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
* The CSS class determined according to the data type.
|
|
27
|
-
*/
|
|
28
|
-
typeClass: ConsoleTypeClass;
|
|
29
|
-
/**
|
|
30
|
-
* @private
|
|
31
|
-
* The list of nested serialized data, if any (for Arrays and JSON objects).
|
|
32
|
-
*/
|
|
33
|
-
children?: AtxConsoleJson[];
|
|
34
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { HttpContextToken } from "@angular/common/http";
|
|
9
|
-
/**
|
|
10
|
-
* @private
|
|
11
|
-
* A HTTP context value that indicates whether the specified log is imported (`true`), or not (`false`).
|
|
12
|
-
*/
|
|
13
|
-
export declare const ATX_IS_IMPORTED_LOG: HttpContextToken<boolean>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
* Defines data used to render the timeline of an HTTP request.
|
|
11
|
-
*/
|
|
12
|
-
export interface AtxTimelineData {
|
|
13
|
-
/**
|
|
14
|
-
* The starting point of the download, in percentage.
|
|
15
|
-
*/
|
|
16
|
-
downloadStart: number;
|
|
17
|
-
/**
|
|
18
|
-
* The durration of the download, in percentage.
|
|
19
|
-
*/
|
|
20
|
-
downloadLength: number;
|
|
21
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { ConsoleBodyType } from "../../../util/console-body-type";
|
|
9
|
-
/**
|
|
10
|
-
* @private
|
|
11
|
-
* The interface that must be implementd by ATX body DTOs.
|
|
12
|
-
*/
|
|
13
|
-
export interface AtxBodyDto {
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
* Specifies the type of data.
|
|
17
|
-
*/
|
|
18
|
-
type: ConsoleBodyType;
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
* The data used as HTTP request body.
|
|
22
|
-
*/
|
|
23
|
-
data: string | null;
|
|
24
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
* The interface that must be implementd by ATX HTTP header DTOs.
|
|
11
|
-
*/
|
|
12
|
-
export interface AtxHeaderDto {
|
|
13
|
-
/**
|
|
14
|
-
* @private
|
|
15
|
-
* The name of the HTTP header.
|
|
16
|
-
*/
|
|
17
|
-
name: string;
|
|
18
|
-
/**
|
|
19
|
-
* @private
|
|
20
|
-
* The value of the HTTP header.
|
|
21
|
-
*/
|
|
22
|
-
value: string[] | null;
|
|
23
|
-
}
|
package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-log-metadata.dto.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { AtxHttpRequestDto } from "./atx-http-request.dto.js";
|
|
9
|
-
import { AtxHttpRequestMetadataDto } from "./atx-http-request-metadata.dto.ts.js";
|
|
10
|
-
import { AtxHttpResponseDto } from "./atx-http-response.dto.js";
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
* The interface that must be implementd by ATX HTTP logging metadata DTOs.
|
|
14
|
-
*/
|
|
15
|
-
export interface AtxHttpLogMetadataDto {
|
|
16
|
-
/**
|
|
17
|
-
* @private
|
|
18
|
-
* The DTO associated with the HTTP request.
|
|
19
|
-
*/
|
|
20
|
-
request: AtxHttpRequestDto;
|
|
21
|
-
/**
|
|
22
|
-
* @private
|
|
23
|
-
* The DTO associated with the HTTP response.
|
|
24
|
-
*/
|
|
25
|
-
response: AtxHttpResponseDto;
|
|
26
|
-
/**
|
|
27
|
-
* @private
|
|
28
|
-
* The HTTP request metada associated with the original log.
|
|
29
|
-
*/
|
|
30
|
-
requestMetadata: AtxHttpRequestMetadataDto;
|
|
31
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { LogLevel } from "../../../../../../model";
|
|
9
|
-
import { AtxHttpLogMetadataDto } from "./atx-http-log-metadata.dto";
|
|
10
|
-
/**
|
|
11
|
-
* @private
|
|
12
|
-
* The interface that must be implementd by ATX HTTP log DTOs.
|
|
13
|
-
*/
|
|
14
|
-
export interface AtxHttpLogDto {
|
|
15
|
-
/**
|
|
16
|
-
* @private
|
|
17
|
-
* The criticality level of this log dto.
|
|
18
|
-
*/
|
|
19
|
-
level: LogLevel;
|
|
20
|
-
/**
|
|
21
|
-
* @private
|
|
22
|
-
* The timestamp at which the original log has been created.
|
|
23
|
-
*/
|
|
24
|
-
timestamp: number;
|
|
25
|
-
/**
|
|
26
|
-
* @private
|
|
27
|
-
* Metada associated with the original log.
|
|
28
|
-
*/
|
|
29
|
-
metadata: AtxHttpLogMetadataDto;
|
|
30
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
* Defines the the metadata associated to an HTTP mock request.
|
|
11
|
-
*/
|
|
12
|
-
export interface AtxHttpRequestMetadataDto {
|
|
13
|
-
/**
|
|
14
|
-
* @private
|
|
15
|
-
* The unique ID associated with the HTTP request.
|
|
16
|
-
*/
|
|
17
|
-
id: string;
|
|
18
|
-
/**
|
|
19
|
-
* @private
|
|
20
|
-
* Indicates the starting time of the HTTP request.
|
|
21
|
-
*/
|
|
22
|
-
start: number;
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
* Indicates the how much time the request is stalled befaore the data loading starts.
|
|
26
|
-
*/
|
|
27
|
-
stalled: number;
|
|
28
|
-
/**
|
|
29
|
-
* @private
|
|
30
|
-
* Indicates the duration of the HTTP request.
|
|
31
|
-
*/
|
|
32
|
-
duration: number;
|
|
33
|
-
/**
|
|
34
|
-
* @private
|
|
35
|
-
* The reference to the `URL` object for the HTTP request.
|
|
36
|
-
*/
|
|
37
|
-
url: string;
|
|
38
|
-
}
|
package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-request.dto.d.ts
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { AtxBodyDto } from "./atx-body-dto";
|
|
9
|
-
import { AtxHeaderDto } from "./atx-header-dto";
|
|
10
|
-
/**
|
|
11
|
-
* @private
|
|
12
|
-
* The interface that must be implementd by ATX `HttpRequest` DTOs.
|
|
13
|
-
*/
|
|
14
|
-
export interface AtxHttpRequestDto {
|
|
15
|
-
/**
|
|
16
|
-
* @private
|
|
17
|
-
* The DTO that represents the serialized HTTP data.
|
|
18
|
-
*/
|
|
19
|
-
body: AtxBodyDto;
|
|
20
|
-
/**
|
|
21
|
-
* @private
|
|
22
|
-
* Indicates whether the `HttpRequest` must report progress, or not.
|
|
23
|
-
*/
|
|
24
|
-
reportProgress: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* @private
|
|
27
|
-
* Indicates whether the `HttpRequest` has credentials, or not.
|
|
28
|
-
*/
|
|
29
|
-
withCredentials: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* @private
|
|
32
|
-
* The response type of the `HttpRequest`.
|
|
33
|
-
*/
|
|
34
|
-
responseType: string;
|
|
35
|
-
/**
|
|
36
|
-
* @private
|
|
37
|
-
* The method of the `HttpRequest`.
|
|
38
|
-
*/
|
|
39
|
-
method: string;
|
|
40
|
-
/**
|
|
41
|
-
* @private
|
|
42
|
-
* The list of the `HttpHeaders` of the `HttpRequest`.
|
|
43
|
-
*/
|
|
44
|
-
headers: AtxHeaderDto[];
|
|
45
|
-
/**
|
|
46
|
-
* @private
|
|
47
|
-
* The url of the `HttpRequest`.
|
|
48
|
-
*/
|
|
49
|
-
url: string;
|
|
50
|
-
/**
|
|
51
|
-
* @private
|
|
52
|
-
* The serialized parameters of the `HttpRequest`.
|
|
53
|
-
*/
|
|
54
|
-
params: string;
|
|
55
|
-
}
|
package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-response.dto.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { HttpStatusCode } from "@angular/common/http";
|
|
9
|
-
import { AtxBodyDto } from "./atx-body-dto";
|
|
10
|
-
import { AtxHeaderDto } from "./atx-header-dto";
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
* The interface that must be implementd by ATX `HttpResponse` DTOs.
|
|
14
|
-
*/
|
|
15
|
-
export interface AtxHttpResponseDto {
|
|
16
|
-
/**
|
|
17
|
-
* @private
|
|
18
|
-
* The list of the `HttpHeaders` of the `HttpResponse`.
|
|
19
|
-
*/
|
|
20
|
-
headers: AtxHeaderDto[];
|
|
21
|
-
/**
|
|
22
|
-
* @private
|
|
23
|
-
* The status of the `HttpResponse`.
|
|
24
|
-
*/
|
|
25
|
-
status: HttpStatusCode;
|
|
26
|
-
/**
|
|
27
|
-
* @private
|
|
28
|
-
* The status text of the `HttpResponse`.
|
|
29
|
-
*/
|
|
30
|
-
statusText: string;
|
|
31
|
-
/**
|
|
32
|
-
* @private
|
|
33
|
-
* The url the `HttpResponse`.
|
|
34
|
-
*/
|
|
35
|
-
url: string | null;
|
|
36
|
-
/**
|
|
37
|
-
* @private
|
|
38
|
-
* The serialized payload associated with the `HttpResponse`.
|
|
39
|
-
*/
|
|
40
|
-
body: AtxBodyDto;
|
|
41
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { AtxHttpLogDto } from "./atx-http-log.dto";
|
|
9
|
-
/**
|
|
10
|
-
* @private
|
|
11
|
-
* This interface represents the file format of logs exported by the monitoring console.
|
|
12
|
-
*/
|
|
13
|
-
export interface HMFL {
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
* The list of serialized logs to export.
|
|
17
|
-
*/
|
|
18
|
-
logs: AtxHttpLogDto[];
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
* The timestamp at which the logs have been exported.
|
|
22
|
-
*/
|
|
23
|
-
timestamp: number;
|
|
24
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { HttpMockLoggingService, Log } from '../../../../../model';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* @private
|
|
5
|
-
* The service responsible for exporting and importing `hmfl` log files.
|
|
6
|
-
*/
|
|
7
|
-
export declare class AtxLogIoService {
|
|
8
|
-
private _logger;
|
|
9
|
-
/**
|
|
10
|
-
* @private
|
|
11
|
-
*/
|
|
12
|
-
constructor(_logger: HttpMockLoggingService);
|
|
13
|
-
/**
|
|
14
|
-
* @private
|
|
15
|
-
* Exports the specified logs into a hmfl file.
|
|
16
|
-
*
|
|
17
|
-
* @param logs The logs to exports.
|
|
18
|
-
*/
|
|
19
|
-
exportFile(logs: Log[]): void;
|
|
20
|
-
/**
|
|
21
|
-
* @private
|
|
22
|
-
* Imports the logs loaded through the specified `FileList` object.
|
|
23
|
-
*
|
|
24
|
-
* @param fileList The logs to import.
|
|
25
|
-
*/
|
|
26
|
-
importFile(fileList: FileList): void;
|
|
27
|
-
/**
|
|
28
|
-
* @private
|
|
29
|
-
*/
|
|
30
|
-
private killReader;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AtxLogIoService, never>;
|
|
32
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AtxLogIoService>;
|
|
33
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { OnDestroy } from "@angular/core";
|
|
9
|
-
import { HttpMockLoggingService, SubscriptionService } from '../../../../../model';
|
|
10
|
-
import { AtxLogIoService } from "./atx-log-io.service";
|
|
11
|
-
import { AtxMonitoringConsoleState } from "./atx-monitoring-console.state";
|
|
12
|
-
import { HttpMonitoringConsoleLogConnector } from "../../connector/http-monitoring-console-log-connector";
|
|
13
|
-
import { IdentifiableComponent } from '../../../../../core';
|
|
14
|
-
import { AtxUserActionService } from "./atx-user-action.service";
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
/**
|
|
17
|
-
* @private
|
|
18
|
-
* The service that manages user interactions with an `AtxMonitoringConsoleComponent` instance.
|
|
19
|
-
*/
|
|
20
|
-
export declare class AtxMonitoringConsoleController extends IdentifiableComponent implements OnDestroy {
|
|
21
|
-
private _logger;
|
|
22
|
-
private _state;
|
|
23
|
-
private _ioSvc;
|
|
24
|
-
private _subscribe;
|
|
25
|
-
/**
|
|
26
|
-
* @private
|
|
27
|
-
*/
|
|
28
|
-
protected connector: HttpMonitoringConsoleLogConnector;
|
|
29
|
-
/**
|
|
30
|
-
* @private
|
|
31
|
-
*/
|
|
32
|
-
constructor(_logger: HttpMockLoggingService, _state: AtxMonitoringConsoleState, _ioSvc: AtxLogIoService, _subscribe: SubscriptionService, action: AtxUserActionService);
|
|
33
|
-
/**
|
|
34
|
-
* @private
|
|
35
|
-
*/
|
|
36
|
-
ngOnDestroy(): void;
|
|
37
|
-
/**
|
|
38
|
-
* @private
|
|
39
|
-
*/
|
|
40
|
-
private clearLogs;
|
|
41
|
-
/**
|
|
42
|
-
* @private
|
|
43
|
-
*/
|
|
44
|
-
private exportLogs;
|
|
45
|
-
/**
|
|
46
|
-
* @private
|
|
47
|
-
*/
|
|
48
|
-
private addLog;
|
|
49
|
-
/**
|
|
50
|
-
* @private
|
|
51
|
-
*/
|
|
52
|
-
private onAction;
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AtxMonitoringConsoleController, never>;
|
|
54
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AtxMonitoringConsoleController>;
|
|
55
|
-
}
|
package/lib/framework/mock/http-monitoring-console/model/service/atx-monitoring-console.state.d.ts
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { Log } from '../../../../../model';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* @private
|
|
5
|
-
* A convenient service that stores the state of an `AtxMonitoringConsoleComponent` instance.
|
|
6
|
-
*/
|
|
7
|
-
export declare class AtxMonitoringConsoleState {
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
* Returns the `Log` object currently selected, or `null` if no log is selected.
|
|
11
|
-
*/
|
|
12
|
-
get selectedLog(): Log | null;
|
|
13
|
-
/**
|
|
14
|
-
* @private
|
|
15
|
-
* Returns a string that represents the size of all requests stored within this service.
|
|
16
|
-
* The string is in the format defined by the `SizeUtil.sizeToString()` method.
|
|
17
|
-
*/
|
|
18
|
-
get cumulativeSize(): string;
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
* Returns the list of logs stored within this service.
|
|
22
|
-
*/
|
|
23
|
-
get logs(): Log[];
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
* Returns the number of logs stored within this service.
|
|
27
|
-
*/
|
|
28
|
-
get numLogs(): number;
|
|
29
|
-
/**
|
|
30
|
-
* @private
|
|
31
|
-
*/
|
|
32
|
-
private _selectedLog;
|
|
33
|
-
/**
|
|
34
|
-
* @private
|
|
35
|
-
*/
|
|
36
|
-
private _cumulativeSize;
|
|
37
|
-
/**
|
|
38
|
-
* @private
|
|
39
|
-
*/
|
|
40
|
-
private _logs;
|
|
41
|
-
/**
|
|
42
|
-
* @private
|
|
43
|
-
*/
|
|
44
|
-
private _size;
|
|
45
|
-
/**
|
|
46
|
-
* @private
|
|
47
|
-
* Initializes the service.
|
|
48
|
-
* Allows to inject the logs previously collected by the `HttpMockLoggingService` singleton.
|
|
49
|
-
*
|
|
50
|
-
* @param logs The list of logs that must be stored within this service.
|
|
51
|
-
*/
|
|
52
|
-
init(logs: Log[]): void;
|
|
53
|
-
/**
|
|
54
|
-
* @private
|
|
55
|
-
* Adds the specified log to the service for storage purpose.
|
|
56
|
-
*
|
|
57
|
-
* @param log The log to add to this service.
|
|
58
|
-
*/
|
|
59
|
-
addLog(log: Log): void;
|
|
60
|
-
/**
|
|
61
|
-
* @private
|
|
62
|
-
* Removes all the logs stored within this service and sets all service properties
|
|
63
|
-
* to their default value.
|
|
64
|
-
*/
|
|
65
|
-
clearLogs(): void;
|
|
66
|
-
/**
|
|
67
|
-
* @private
|
|
68
|
-
* Indicates that the specified log is the currently selected log.
|
|
69
|
-
*
|
|
70
|
-
* @param log The log to set as the currently selected log.
|
|
71
|
-
*/
|
|
72
|
-
selectLog(log: Log | null): void;
|
|
73
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AtxMonitoringConsoleState, never>;
|
|
74
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AtxMonitoringConsoleState>;
|
|
75
|
-
}
|
package/lib/framework/mock/http-monitoring-console/model/service/atx-user-action.service.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { EventEmitter } from "@angular/core";
|
|
9
|
-
import { AtxConsoleAction } from "../business/atx-console-action";
|
|
10
|
-
import { AtxConsoleActionType } from "../business/atx-console-action-type";
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
* The service responsible for sending user's actions to the controller.
|
|
15
|
-
*/
|
|
16
|
-
export declare class AtxUserActionService {
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
* An event emitter that triggers event representing user's actions.
|
|
20
|
-
*/
|
|
21
|
-
readonly action: EventEmitter<AtxConsoleAction>;
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
* Sends a user's actions to the system.
|
|
25
|
-
*
|
|
26
|
-
* @param type The type of action to send.
|
|
27
|
-
* @param data Optional data associated with the user's actions.
|
|
28
|
-
*/
|
|
29
|
-
sendAction(type: AtxConsoleActionType, data?: any): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AtxUserActionService, never>;
|
|
31
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AtxUserActionService>;
|
|
32
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
* The list of object types used to qualify parsed objects.
|
|
11
|
-
*/
|
|
12
|
-
export declare enum ConsoleBodyType {
|
|
13
|
-
/**
|
|
14
|
-
* @private
|
|
15
|
-
* Indicates that the type of object is not supported.
|
|
16
|
-
*/
|
|
17
|
-
INVALID = -1,
|
|
18
|
-
/**
|
|
19
|
-
* @private
|
|
20
|
-
* Indicates that the object is null.
|
|
21
|
-
*/
|
|
22
|
-
NULL = 0,
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
* Indicates that the object is a Json.
|
|
26
|
-
*/
|
|
27
|
-
JSON = 1,
|
|
28
|
-
/**
|
|
29
|
-
* @private
|
|
30
|
-
* Indicates that the object is a string.
|
|
31
|
-
*/
|
|
32
|
-
TEXT = 2,
|
|
33
|
-
/**
|
|
34
|
-
* @private
|
|
35
|
-
* Indicates that the object is a Blob instance.
|
|
36
|
-
*/
|
|
37
|
-
BLOB = 3,
|
|
38
|
-
/**
|
|
39
|
-
* @private
|
|
40
|
-
* Indicates that the object is a FormData instance.
|
|
41
|
-
*/
|
|
42
|
-
FORM_DATA = 4,
|
|
43
|
-
/**
|
|
44
|
-
* @private
|
|
45
|
-
* Indicates that the object is an ArrayBuffer instance.
|
|
46
|
-
*/
|
|
47
|
-
ARRAY_BUFFER = 5
|
|
48
|
-
}
|