angular-toolbox 1.5.4 → 1.6.0
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/LICENSE +1 -1
- 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 +1 -1
- 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
|
@@ -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
|
-
* A convenient string used to identify logs of LogLevel.INFO.
|
|
10
|
-
*/
|
|
11
|
-
export declare const LOG_INFO_STRING: string;
|
|
12
|
-
/**
|
|
13
|
-
* A convenient string used to identify logs of LogLevel.CONFIG.
|
|
14
|
-
*/
|
|
15
|
-
export declare const LOG_CONFIG_STRING: string;
|
|
16
|
-
/**
|
|
17
|
-
* A convenient string used to identify logs of LogLevel.WARNING.
|
|
18
|
-
*/
|
|
19
|
-
export declare const LOG_WARNING_STRING: string;
|
|
20
|
-
/**
|
|
21
|
-
* A convenient string used to identify logs of LogLevel.ERROR.
|
|
22
|
-
*/
|
|
23
|
-
export declare const LOG_ERROR_STRING: string;
|
|
@@ -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
|
-
import { Log, LogLevel } from "../../../model";
|
|
9
|
-
/**
|
|
10
|
-
* A convenient utility class for formatting logs.
|
|
11
|
-
*/
|
|
12
|
-
export declare class LogUtil {
|
|
13
|
-
/**
|
|
14
|
-
* Turns the specified log list into a human redeable string.
|
|
15
|
-
*
|
|
16
|
-
* @param logList The list of logs to format.
|
|
17
|
-
* @returns The formatted log list.
|
|
18
|
-
*/
|
|
19
|
-
static logListToString(logList: Log[]): string;
|
|
20
|
-
/**
|
|
21
|
-
* Turns the specified log level into a human redeable string.
|
|
22
|
-
*
|
|
23
|
-
* @param level The log level to format.
|
|
24
|
-
* @returns The formatted log level.
|
|
25
|
-
*/
|
|
26
|
-
static getLevelString(level: LogLevel): string;
|
|
27
|
-
/**
|
|
28
|
-
* Return a string that represents the specified metadata object.
|
|
29
|
-
*
|
|
30
|
-
* @param obj The metadata object to format.
|
|
31
|
-
* @returns A string that represents the specified metadata object.
|
|
32
|
-
*/
|
|
33
|
-
static metadataToString(obj: any): string;
|
|
34
|
-
/**
|
|
35
|
-
* Returns a string that represents the specified timestamp under the form of `"hh:mm:ss"`.
|
|
36
|
-
*
|
|
37
|
-
* @param timestamp The timestamp to format.
|
|
38
|
-
* @returns A string that represents the specified timestamp under the form of `"hh:mm:ss"`.
|
|
39
|
-
*/
|
|
40
|
-
static dateToHHMMSS(timestamp: number): string;
|
|
41
|
-
/**
|
|
42
|
-
* Returns a string that represents the specified array.
|
|
43
|
-
*
|
|
44
|
-
* @param array The array to format.
|
|
45
|
-
* @returns A tring that represents the specified array.
|
|
46
|
-
*/
|
|
47
|
-
private static formatArray;
|
|
48
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* @private
|
|
4
|
-
* A conmponent that renders mock config description ppoperties.
|
|
5
|
-
*/
|
|
6
|
-
export declare class AtxMockDescriptionComponent {
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
* The description to render. Can contains HTML tags.
|
|
10
|
-
*/
|
|
11
|
-
description: string;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AtxMockDescriptionComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AtxMockDescriptionComponent, "atx-mock-description", never, { "description": { "alias": "description"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1,43 +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
|
|
6
|
-
* found in the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { ElementRef } from '@angular/core';
|
|
9
|
-
import { HttpMockConfig } from '../../../../../model';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* An easy-to-use component that displays the documentation of a `HttpMockConfig` object.
|
|
13
|
-
*/
|
|
14
|
-
export declare class AtxMockDocumentation {
|
|
15
|
-
private elmRef;
|
|
16
|
-
/**
|
|
17
|
-
* @private
|
|
18
|
-
*/
|
|
19
|
-
protected configApi: HttpMockConfig;
|
|
20
|
-
/**
|
|
21
|
-
* @private
|
|
22
|
-
*/
|
|
23
|
-
protected expanded: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Specifies the title of the current display.
|
|
26
|
-
*/
|
|
27
|
-
title: string;
|
|
28
|
-
/**
|
|
29
|
-
* Gets or sets the `HttpMockConfig` object for which to display documentation.
|
|
30
|
-
*/
|
|
31
|
-
set config(value: HttpMockConfig);
|
|
32
|
-
get config(): HttpMockConfig;
|
|
33
|
-
/**
|
|
34
|
-
* @private
|
|
35
|
-
*/
|
|
36
|
-
constructor(elmRef: ElementRef);
|
|
37
|
-
/**
|
|
38
|
-
* @private
|
|
39
|
-
*/
|
|
40
|
-
protected toggleExpandState(): void;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AtxMockDocumentation, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AtxMockDocumentation, "atx-mock-documentation", never, { "title": { "alias": "title"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
|
|
43
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { FullDescription } from '../../model/business/full-description.type';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* @private
|
|
5
|
-
* A convenient component that displays the description and the origin of a mock config section.
|
|
6
|
-
*/
|
|
7
|
-
export declare class AtxMockFullDescriptionComponent {
|
|
8
|
-
/**
|
|
9
|
-
* @public
|
|
10
|
-
* The config object taht contains the description to display.
|
|
11
|
-
*/
|
|
12
|
-
config: FullDescription;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AtxMockFullDescriptionComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AtxMockFullDescriptionComponent, "atx-mock-full-description", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
-
}
|
package/lib/framework/mock/documentation/component/atx-mock-methods/atx-mock-methods.component.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { HttpMockEndpoint } from '../../../../../model';
|
|
2
|
-
import { MethodDocDescriptor } from '../../model/business/method-doc-descriptor.type';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* @private
|
|
6
|
-
* A convenient component that allows to display documentation for HTTP methods of an endpoint.
|
|
7
|
-
*/
|
|
8
|
-
export declare class AtxMockMethodsComponent {
|
|
9
|
-
/**
|
|
10
|
-
* @private
|
|
11
|
-
*/
|
|
12
|
-
protected methods: MethodDocDescriptor[];
|
|
13
|
-
/**
|
|
14
|
-
* @private
|
|
15
|
-
*/
|
|
16
|
-
private _endpoint;
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
* The endpoint for which to show HTTP methods documentation.
|
|
20
|
-
*/
|
|
21
|
-
set endpoint(value: HttpMockEndpoint);
|
|
22
|
-
get endpoint(): HttpMockEndpoint;
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
protected initMethodList(endpoint: HttpMockEndpoint): MethodDocDescriptor[];
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AtxMockMethodsComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AtxMockMethodsComponent, "atx-mock-methods", never, { "endpoint": { "alias": "endpoint"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
|
-
}
|
package/lib/framework/mock/documentation/component/atx-mock-param/atx-mock-param.component.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HttpParameterDescriptor } from '../../../../../model';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* @private
|
|
5
|
-
* Displays documentation for HTTP fragment parameters, or query parameters.
|
|
6
|
-
*/
|
|
7
|
-
export declare class AtxMockParamComponent {
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
* The list of `HttpParameterDescriptor` object that contains information to display.
|
|
11
|
-
*/
|
|
12
|
-
params: HttpParameterDescriptor[];
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AtxMockParamComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AtxMockParamComponent, "atx-mock-param", never, { "params": { "alias": "params"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './component/atx-mock-documentation/atx-mock-documentation.component';
|
|
@@ -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
|
|
6
|
-
* found in the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
* Used internally to manage the full description of a mock config object.
|
|
11
|
-
*/
|
|
12
|
-
export type FullDescription = {
|
|
13
|
-
/**
|
|
14
|
-
* @private
|
|
15
|
-
*/
|
|
16
|
-
description?: string;
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
*/
|
|
20
|
-
origin?: string;
|
|
21
|
-
};
|
|
@@ -1,22 +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
|
|
6
|
-
* found in the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { HttpMockMethodDescriptor } from '../../../../../model';
|
|
9
|
-
/**
|
|
10
|
-
* @private
|
|
11
|
-
* Used internally to manage the display of HTTP method descriptor objects.
|
|
12
|
-
*/
|
|
13
|
-
export type MethodDocDescriptor = {
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
|
-
method: string;
|
|
18
|
-
/**
|
|
19
|
-
* @private
|
|
20
|
-
*/
|
|
21
|
-
descriptor: HttpMockMethodDescriptor | undefined;
|
|
22
|
-
};
|
|
@@ -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
|
-
/**
|
|
9
|
-
* The type of parameter objects associated with a HTTP call.
|
|
10
|
-
*/
|
|
11
|
-
export type HttpMockParameters = {
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
};
|
|
@@ -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
|
-
/**
|
|
9
|
-
* The definition function for the `@HttpMock` decorator.
|
|
10
|
-
*
|
|
11
|
-
* @param config The `HttpMockConfig` object used to initialize the HTTP Mocking Framework.
|
|
12
|
-
*/
|
|
13
|
-
export declare const HttpMock: Function;
|
|
@@ -1,36 +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 { HttpMethodMock } from "../../../../model";
|
|
9
|
-
import { HttpMockParameters } from "./http-mock-parameters";
|
|
10
|
-
/**
|
|
11
|
-
* @private
|
|
12
|
-
*
|
|
13
|
-
* The markup interface for DTOs that are used to send a mock config to the delegate
|
|
14
|
-
* `XhrProxy` instance.
|
|
15
|
-
* This interface is not exposed.
|
|
16
|
-
*/
|
|
17
|
-
export interface RouteMockConfig {
|
|
18
|
-
/**
|
|
19
|
-
* @private
|
|
20
|
-
*
|
|
21
|
-
* The `HttpMethodMock`object to be consumed by the the delegate `XhrProxy` instance.
|
|
22
|
-
*/
|
|
23
|
-
methodConfig: HttpMethodMock;
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*
|
|
27
|
-
* The list of URI parameters associated with the current HTTP call.
|
|
28
|
-
*/
|
|
29
|
-
parameters: HttpMockParameters | null;
|
|
30
|
-
/**
|
|
31
|
-
* @private
|
|
32
|
-
*
|
|
33
|
-
* The list of URI search parameters associated with the current HTTP call.
|
|
34
|
-
*/
|
|
35
|
-
searchParams: URLSearchParams;
|
|
36
|
-
}
|
|
@@ -1,43 +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 { HttpResponseMock, HttpMockRequestMetadata } from "../../../../model";
|
|
9
|
-
/**
|
|
10
|
-
* @private
|
|
11
|
-
* Utility interface used by the `DelegateXhr` class to store HTTP request information.
|
|
12
|
-
*/
|
|
13
|
-
export interface DataStorage {
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
|
-
httpResponse: HttpResponseMock;
|
|
18
|
-
/**
|
|
19
|
-
* @private
|
|
20
|
-
* The amount of data currently loaded.
|
|
21
|
-
*/
|
|
22
|
-
loaded: number;
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
* The total size of data to load.
|
|
26
|
-
*/
|
|
27
|
-
total: number;
|
|
28
|
-
/**
|
|
29
|
-
* @private
|
|
30
|
-
* The loaded data.
|
|
31
|
-
*/
|
|
32
|
-
data: any;
|
|
33
|
-
/**
|
|
34
|
-
* @private
|
|
35
|
-
* The JSON string prepresentation of the loaded data.
|
|
36
|
-
*/
|
|
37
|
-
stringifiedData: string;
|
|
38
|
-
/**
|
|
39
|
-
* @private
|
|
40
|
-
* The metadata associated to the HTTP request.
|
|
41
|
-
*/
|
|
42
|
-
requestMetadata: HttpMockRequestMetadata;
|
|
43
|
-
}
|
|
@@ -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
|
-
* Utility interface used by the `DelegateXhr` class to manage the delay of an HTTP response.
|
|
11
|
-
*/
|
|
12
|
-
export interface ResponseDelay {
|
|
13
|
-
/**
|
|
14
|
-
* @private
|
|
15
|
-
* The amount of time the HTTP resquest is stalled before sending the response, in milliseconds.
|
|
16
|
-
*/
|
|
17
|
-
stalled: number;
|
|
18
|
-
/**
|
|
19
|
-
* @private
|
|
20
|
-
* The complete duration of an HTTP request, in milliseconds.
|
|
21
|
-
*/
|
|
22
|
-
duration: number;
|
|
23
|
-
}
|
|
@@ -1,78 +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
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/benlesh/event-target-polyfill
|
|
10
|
-
* - Copyright (c) 2020 Ben Lesh
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/benlesh/event-target-polyfill/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
/**
|
|
17
|
-
* @private
|
|
18
|
-
* A utility class the provides an implementation for the `EventTarget` interface.
|
|
19
|
-
* This class is used internally by the framework; please do not expose it.
|
|
20
|
-
*
|
|
21
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget
|
|
22
|
-
*/
|
|
23
|
-
export declare class EventTargetImpl implements EventTarget {
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
|
-
private _listenerList;
|
|
28
|
-
/**
|
|
29
|
-
* @private
|
|
30
|
-
*/
|
|
31
|
-
constructor();
|
|
32
|
-
/**
|
|
33
|
-
* @private
|
|
34
|
-
* Sets up a function that will be called whenever the specified event is delivered to the target.
|
|
35
|
-
*
|
|
36
|
-
* @param type a case-sensitive string representing the event type to listen for.
|
|
37
|
-
* @param listener the object that receives a notification (an object that implements the
|
|
38
|
-
* `Event` interface) when an event of the specified type occurs.
|
|
39
|
-
* @param options an object that specifies characteristics about the event listener.
|
|
40
|
-
*
|
|
41
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
|
|
42
|
-
*/
|
|
43
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject | null, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
44
|
-
/**
|
|
45
|
-
* @private
|
|
46
|
-
* Removes an event listener previously registered with `EventTarget.addEventListener()` from the target.
|
|
47
|
-
*
|
|
48
|
-
* @param type a case-sensitive which specifies the type of event for which to remove an event listener.
|
|
49
|
-
* @param listener the event listener function of the event handler to remove from the event target.
|
|
50
|
-
* @param options An options object that specifies characteristics about the event listener.
|
|
51
|
-
*
|
|
52
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener
|
|
53
|
-
*/
|
|
54
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject | null, options?: boolean | EventListenerOptions | undefined): void;
|
|
55
|
-
/**
|
|
56
|
-
* @private
|
|
57
|
-
* Sends an `Event` to this to the `Event` object, (synchronously) invoking the affected event listeners
|
|
58
|
-
* in the appropriate order.
|
|
59
|
-
*
|
|
60
|
-
* @param event the `Event object to dispatch. Its Event.target property will be set to the current EventTarget.
|
|
61
|
-
* @returns true since there are no cancellable events on a base `EventTarget`.
|
|
62
|
-
*
|
|
63
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/dispatchEvent
|
|
64
|
-
*/
|
|
65
|
-
dispatchEvent(event: Event): boolean;
|
|
66
|
-
/**
|
|
67
|
-
* Checks whether the `EventTarget` object has any listeners registered for a specific type of event.
|
|
68
|
-
*
|
|
69
|
-
* @param type The type of event.
|
|
70
|
-
*
|
|
71
|
-
* @return A value of `true` if a listener of the specified type is registered; `false` otherwise.
|
|
72
|
-
*/
|
|
73
|
-
hasEventListener(type: string): boolean;
|
|
74
|
-
/**
|
|
75
|
-
* @private
|
|
76
|
-
*/
|
|
77
|
-
private checkArgLength;
|
|
78
|
-
}
|
|
@@ -1,36 +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 used by delegate `XhrProxy` instances to dispatch `ProgressEvent`
|
|
11
|
-
* instances.
|
|
12
|
-
*
|
|
13
|
-
* This class is not exposed.
|
|
14
|
-
*/
|
|
15
|
-
export declare class ProgressEventMock extends ProgressEvent {
|
|
16
|
-
/**
|
|
17
|
-
* @private
|
|
18
|
-
*/
|
|
19
|
-
private _total;
|
|
20
|
-
/**
|
|
21
|
-
* A 64-bit unsigned integer indicating the size, in bytes, of the data already
|
|
22
|
-
* transmitted or processed.
|
|
23
|
-
*/
|
|
24
|
-
set total(value: number);
|
|
25
|
-
get total(): number;
|
|
26
|
-
/**
|
|
27
|
-
* @private
|
|
28
|
-
*/
|
|
29
|
-
private _loaded;
|
|
30
|
-
/**
|
|
31
|
-
* A 64-bit unsigned integer indicating the total size, in bytes, of the data being
|
|
32
|
-
* transmitted or processed.
|
|
33
|
-
*/
|
|
34
|
-
set loaded(value: number);
|
|
35
|
-
get loaded(): number;
|
|
36
|
-
}
|
|
@@ -1,14 +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 { AbstractLogger } from "../../../logging";
|
|
9
|
-
/**
|
|
10
|
-
* @private
|
|
11
|
-
* The `Logger` implementation used by the `HttpMockLoggingService` class to manage logs.
|
|
12
|
-
*/
|
|
13
|
-
export declare class HttpMockLogger extends AbstractLogger {
|
|
14
|
-
}
|
|
@@ -1,20 +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 { HttpRequest } from "@angular/common/http";
|
|
9
|
-
import { XhrProxy, HttpMockLoggingMetadata, HttpMockRequestMetadata } from "../../../../model";
|
|
10
|
-
/**
|
|
11
|
-
* @private
|
|
12
|
-
* A static builder for creating `HttpMockLoggingMetadata` objects.
|
|
13
|
-
*/
|
|
14
|
-
export declare class HttpMockLoggingMetadataBuilder {
|
|
15
|
-
/**
|
|
16
|
-
* @private
|
|
17
|
-
* Creates and returns a new `HttpMockLoggingMetadata` object.
|
|
18
|
-
*/
|
|
19
|
-
static build(xhr: XhrProxy, request: HttpRequest<any>, requestMetadata: HttpMockRequestMetadata): HttpMockLoggingMetadata;
|
|
20
|
-
}
|
|
@@ -1,111 +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 { TokenType } from "./model/token-type";
|
|
9
|
-
/**
|
|
10
|
-
* @private
|
|
11
|
-
* The reference to the default delimiter.
|
|
12
|
-
* Value is `"/"`.
|
|
13
|
-
*/
|
|
14
|
-
export declare const DEFAULT_DELIMITER: string;
|
|
15
|
-
/**
|
|
16
|
-
* @private
|
|
17
|
-
* The reference to the case insensitive flag.
|
|
18
|
-
* Value is `"i"`.
|
|
19
|
-
*/
|
|
20
|
-
export declare const I_FLAG: string;
|
|
21
|
-
/**
|
|
22
|
-
* @private
|
|
23
|
-
* The reference to the global flag.
|
|
24
|
-
* Value is `"g"`.
|
|
25
|
-
*/
|
|
26
|
-
export declare const G_FLAG: string;
|
|
27
|
-
/**
|
|
28
|
-
* @private
|
|
29
|
-
* The reference to the `{` `TokenType`.
|
|
30
|
-
*/
|
|
31
|
-
export declare const LEFT_CURLY_BRACE: TokenType;
|
|
32
|
-
/**
|
|
33
|
-
* @private
|
|
34
|
-
* The reference to the `}` `TokenType`.
|
|
35
|
-
*/
|
|
36
|
-
export declare const RIGHT_CURLY_BRACE: TokenType;
|
|
37
|
-
/**
|
|
38
|
-
* @private
|
|
39
|
-
* The reference to the `*` `TokenType`.
|
|
40
|
-
*/
|
|
41
|
-
export declare const ASTERISK: TokenType;
|
|
42
|
-
/**
|
|
43
|
-
* @private
|
|
44
|
-
* The reference to the `+` `TokenType`.
|
|
45
|
-
*/
|
|
46
|
-
export declare const PLUS: TokenType;
|
|
47
|
-
/**
|
|
48
|
-
* @private
|
|
49
|
-
* The reference to the `?` `TokenType`.
|
|
50
|
-
*/
|
|
51
|
-
export declare const QUESTION_MARK: TokenType;
|
|
52
|
-
/**
|
|
53
|
-
* @private
|
|
54
|
-
* The reference to the `NAME` `TokenType`.
|
|
55
|
-
*/
|
|
56
|
-
export declare const NAME: TokenType;
|
|
57
|
-
/**
|
|
58
|
-
* @private
|
|
59
|
-
* The reference to the `PATTERN` `TokenType`.
|
|
60
|
-
*/
|
|
61
|
-
export declare const PATTERN: TokenType;
|
|
62
|
-
/**
|
|
63
|
-
* @private
|
|
64
|
-
* The reference to the `CHAR` `TokenType`.
|
|
65
|
-
*/
|
|
66
|
-
export declare const CHAR: TokenType;
|
|
67
|
-
/**
|
|
68
|
-
* @private
|
|
69
|
-
* The reference to the `ESCAPED` `TokenType`.
|
|
70
|
-
*/
|
|
71
|
-
export declare const ESCAPED: TokenType;
|
|
72
|
-
/**
|
|
73
|
-
* @private
|
|
74
|
-
* The reference to the `END` `TokenType`.
|
|
75
|
-
*/
|
|
76
|
-
export declare const END: TokenType;
|
|
77
|
-
/**
|
|
78
|
-
* @private
|
|
79
|
-
* The reference to the semi colon (`;`) character.
|
|
80
|
-
*/
|
|
81
|
-
export declare const SEMI_COLON: TokenType;
|
|
82
|
-
/**
|
|
83
|
-
* @private
|
|
84
|
-
* The reference to the colon (`:`) character.
|
|
85
|
-
*/
|
|
86
|
-
export declare const COLON: string;
|
|
87
|
-
/**
|
|
88
|
-
* @private
|
|
89
|
-
* The reference to the left parenthesis (`(`) character.
|
|
90
|
-
*/
|
|
91
|
-
export declare const LEFT_PARENTHESIS: string;
|
|
92
|
-
/**
|
|
93
|
-
* @private
|
|
94
|
-
* The reference to the right parenthesis (`)`) character.
|
|
95
|
-
*/
|
|
96
|
-
export declare const RIGHT_PARENTHESIS: string;
|
|
97
|
-
/**
|
|
98
|
-
* @private
|
|
99
|
-
* The reference to the escaped back slash (`\\`) character.
|
|
100
|
-
*/
|
|
101
|
-
export declare const ESC_BACK_SLASH: string;
|
|
102
|
-
/**
|
|
103
|
-
* @private
|
|
104
|
-
* The reference to the carret (`^`) character.
|
|
105
|
-
*/
|
|
106
|
-
export declare const CARRET: string;
|
|
107
|
-
/**
|
|
108
|
-
* @private
|
|
109
|
-
* The reference to the carret (`$`) character.
|
|
110
|
-
*/
|
|
111
|
-
export declare const DOLLAR: string;
|
|
@@ -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
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
import { Encode } from "./model/encode";
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
* Escape a regular expression string.
|
|
20
|
-
*
|
|
21
|
-
* @param str The regular expression string to escape.
|
|
22
|
-
* @returns An escaped a regular expression string.
|
|
23
|
-
*/
|
|
24
|
-
export declare const escapeRegexpString: Encode;
|