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
|
@@ -1,75 +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 { WindowFeatureState } from "./window-feature-state";
|
|
9
|
-
import { WindowTarget } from "./window-target";
|
|
10
|
-
/**
|
|
11
|
-
* Defines the APi used to initialize the windows created by the `WindowService.open()` method.
|
|
12
|
-
*/
|
|
13
|
-
export interface WindowInit {
|
|
14
|
-
/**
|
|
15
|
-
* The name of the browsing context the resource is being loaded into.
|
|
16
|
-
*/
|
|
17
|
-
target?: WindowTarget;
|
|
18
|
-
/**
|
|
19
|
-
* The title of the new window.
|
|
20
|
-
*/
|
|
21
|
-
title?: string;
|
|
22
|
-
/**
|
|
23
|
-
* The icon of the new window.
|
|
24
|
-
*/
|
|
25
|
-
icon?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Specifies the distance in pixels from the left side of the work area as defined by the user's operating system where the new window will be generated.
|
|
28
|
-
*/
|
|
29
|
-
left?: number;
|
|
30
|
-
/**
|
|
31
|
-
* Specifies the distance in pixels from the top side of the work area as defined by the user's operating system where the new window will be generated.
|
|
32
|
-
*/
|
|
33
|
-
top?: number;
|
|
34
|
-
/**
|
|
35
|
-
* Specifies the width of the content area, including scrollbars. The minimum required value is `100`.
|
|
36
|
-
*/
|
|
37
|
-
width?: number;
|
|
38
|
-
/**
|
|
39
|
-
* Specifies the height of the content area, including scrollbars. The minimum required value is `100`.
|
|
40
|
-
*/
|
|
41
|
-
height?: number;
|
|
42
|
-
/**
|
|
43
|
-
* Specifies whether the directories are activated (`WindowFeatureState.YES`), or not (`WindowFeatureState.NO`).
|
|
44
|
-
*/
|
|
45
|
-
directories?: WindowFeatureState;
|
|
46
|
-
/**
|
|
47
|
-
* Specifies whether the title bar is activated (`WindowFeatureState.YES`), or not (`WindowFeatureState.NO`).
|
|
48
|
-
*/
|
|
49
|
-
titlebar?: WindowFeatureState;
|
|
50
|
-
/**
|
|
51
|
-
* Specifies whether the scrollbars are activated (`WindowFeatureState.YES`), or not (`WindowFeatureState.NO`).
|
|
52
|
-
*/
|
|
53
|
-
scrollbars?: WindowFeatureState;
|
|
54
|
-
/**
|
|
55
|
-
* Specifies whether the toolbar is activated (`WindowFeatureState.YES`), or not (`WindowFeatureState.NO`).
|
|
56
|
-
*/
|
|
57
|
-
toolbar?: WindowFeatureState;
|
|
58
|
-
/**
|
|
59
|
-
* Specifies whether the location is activated (`WindowFeatureState.YES`), or not (`WindowFeatureState.NO`).
|
|
60
|
-
*/
|
|
61
|
-
location?: WindowFeatureState;
|
|
62
|
-
/**
|
|
63
|
-
* Specifies whether the status is activated (`WindowFeatureState.YES`), or not (`WindowFeatureState.NO`).
|
|
64
|
-
*/
|
|
65
|
-
status?: WindowFeatureState;
|
|
66
|
-
/**
|
|
67
|
-
* Specifies whether the menu bar is activated (`WindowFeatureState.YES`), or not (`WindowFeatureState.NO`).
|
|
68
|
-
*/
|
|
69
|
-
menubar?: WindowFeatureState;
|
|
70
|
-
/**
|
|
71
|
-
* Indicates whether the winbdow is centered (`true`), or not (`false`).
|
|
72
|
-
* If `true`, the `top` and `left` properties are ignored.
|
|
73
|
-
*/
|
|
74
|
-
center?: boolean;
|
|
75
|
-
}
|
|
@@ -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
|
-
import { ComponentRef } from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* Defines the type of objects managed by the `AbstractWindowService` class.
|
|
11
|
-
*/
|
|
12
|
-
export interface WindowRef<T, U> {
|
|
13
|
-
/**
|
|
14
|
-
* The reference to a window stored within the `AbstractWindowService` class.
|
|
15
|
-
*/
|
|
16
|
-
window: U;
|
|
17
|
-
/**
|
|
18
|
-
* The reference to the Angular component displayed within a window.
|
|
19
|
-
*/
|
|
20
|
-
componentRef: ComponentRef<T>;
|
|
21
|
-
}
|
|
@@ -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
|
-
/**
|
|
9
|
-
* Specifies the name of the browsing context the resource is being loaded into.
|
|
10
|
-
*/
|
|
11
|
-
export declare enum WindowTarget {
|
|
12
|
-
/**
|
|
13
|
-
* The current browsing context.
|
|
14
|
-
*/
|
|
15
|
-
SELF = "self",
|
|
16
|
-
/**
|
|
17
|
-
* Usually a new tab, but users can configure browsers to open a new window instead.
|
|
18
|
-
*/
|
|
19
|
-
BLANK = "_blank",
|
|
20
|
-
/**
|
|
21
|
-
* The parent browsing context of the current one. If no parent, behaves as `WindowTarget.SELF`.
|
|
22
|
-
*/
|
|
23
|
-
PARENT = "_parent",
|
|
24
|
-
/**
|
|
25
|
-
* The topmost browsing context.
|
|
26
|
-
*/
|
|
27
|
-
TOP = "_top",
|
|
28
|
-
/**
|
|
29
|
-
* Allows embedded fenced frames to navigate the top-level frame.
|
|
30
|
-
*/
|
|
31
|
-
UNFENCED_TOP = "_unfencedTop"
|
|
32
|
-
}
|
|
@@ -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
|
-
/**
|
|
9
|
-
* The `VersionConfig` interface provides the basic API that defines a version config token.
|
|
10
|
-
*/
|
|
11
|
-
export interface VersionConfig {
|
|
12
|
-
/**
|
|
13
|
-
* Specifies the major number for this config.
|
|
14
|
-
*/
|
|
15
|
-
major: number;
|
|
16
|
-
/**
|
|
17
|
-
* Specifies the minor number for this config.
|
|
18
|
-
*/
|
|
19
|
-
minor: number;
|
|
20
|
-
/**
|
|
21
|
-
* Specifies the patch number for this config.
|
|
22
|
-
*/
|
|
23
|
-
patch: number;
|
|
24
|
-
/**
|
|
25
|
-
* Specifies the timestamp that corresponds to the build date for this config.
|
|
26
|
-
*/
|
|
27
|
-
buildTimestamp: number;
|
|
28
|
-
/**
|
|
29
|
-
* An optional string that indicates additional labels for pre-release and build metadata.
|
|
30
|
-
*/
|
|
31
|
-
metadata?: string;
|
|
32
|
-
}
|
|
@@ -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 found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { VersionConfig } from "./version-config";
|
|
9
|
-
/**
|
|
10
|
-
* The default provider for the `VersionService` configuration. You typically define
|
|
11
|
-
* the custom properties in the main `NgModule` declaration to initialize the application
|
|
12
|
-
* config:
|
|
13
|
-
*
|
|
14
|
-
* @NgModule({
|
|
15
|
-
* ...
|
|
16
|
-
* providers: [
|
|
17
|
-
* { provide: VERSION_CONFIG, useValue: { major: 1, minor: 2, patch: 12 } }
|
|
18
|
-
* ],
|
|
19
|
-
* ...
|
|
20
|
-
* });
|
|
21
|
-
*/
|
|
22
|
-
export declare const VERSION_CONFIG: VersionConfig;
|
|
@@ -1,25 +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 { Version } from "./version";
|
|
9
|
-
/**
|
|
10
|
-
* The interface implemented by services that specifie the semantic versioning of an Angular application.
|
|
11
|
-
*/
|
|
12
|
-
export interface VersionManager {
|
|
13
|
-
/**
|
|
14
|
-
* Returns the version of the associated Angular project.
|
|
15
|
-
*
|
|
16
|
-
* @return the version of the associated Angular project.
|
|
17
|
-
*/
|
|
18
|
-
getVersion(): Version;
|
|
19
|
-
/**
|
|
20
|
-
* Returns the build timestamp of the associated Angular project.
|
|
21
|
-
*
|
|
22
|
-
* @return the build timestamp of the associated Angular project.
|
|
23
|
-
*/
|
|
24
|
-
getBuildTimestamp(): number;
|
|
25
|
-
}
|
|
@@ -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
|
-
* Specifies the semantic versioning of an Angular application.
|
|
10
|
-
*/
|
|
11
|
-
export interface Version {
|
|
12
|
-
/**
|
|
13
|
-
* Specifies versions with incompatible API changes.
|
|
14
|
-
*/
|
|
15
|
-
major: number;
|
|
16
|
-
/**
|
|
17
|
-
* Specifies versions with functionalities that have backward compatibility.
|
|
18
|
-
*/
|
|
19
|
-
minor: number;
|
|
20
|
-
/**
|
|
21
|
-
* Specifies versions that fixes bugs.
|
|
22
|
-
*/
|
|
23
|
-
patch: number;
|
|
24
|
-
/**
|
|
25
|
-
* Specifies the timestamp that corresponds to the build date for this `Version` object.
|
|
26
|
-
*/
|
|
27
|
-
buildTimeStamp: number;
|
|
28
|
-
/**
|
|
29
|
-
* An optional string that indicates additional labels for pre-release and build metadata.
|
|
30
|
-
*/
|
|
31
|
-
metadata?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Returns a string representation of this `Version` object.
|
|
34
|
-
*
|
|
35
|
-
* @returns A string representation of this `Version` object.
|
|
36
|
-
*/
|
|
37
|
-
toString(): string;
|
|
38
|
-
}
|
package/lib/model/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './logger-service';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AbstractLogger } from "../../../framework";
|
|
2
|
-
import { LoggerConfig } from "../../business";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* A convenient high-level singleton that implements the `Logger` interface.
|
|
6
|
-
*/
|
|
7
|
-
export declare class LoggerService extends AbstractLogger {
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
*/
|
|
11
|
-
constructor(config: LoggerConfig);
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoggerService, [{ optional: true; }]>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoggerService>;
|
|
14
|
-
}
|
|
@@ -1,134 +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 { HttpMockConfig } from '../../../business';
|
|
10
|
-
import { HTTPMethodRef } from '../../../../framework/mock/http/util/http-method-ref.enum';
|
|
11
|
-
import { RouteMockConfig } from '../../../../framework/mock/http/config/route-mock-config';
|
|
12
|
-
import { Uuid } from '../../../../util';
|
|
13
|
-
import { HttpMockingFrameworkConfigManager } from '../../../../util/http-mocking-framework-config.manager';
|
|
14
|
-
import { HttpMockingFrameworkConfig } from '../../../business/mock/http/config/http-mocking-framework-config';
|
|
15
|
-
import { IdentifiableComponent } from '../../../../core';
|
|
16
|
-
import * as i0 from "@angular/core";
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
* Reference to the original type for this class.
|
|
20
|
-
*/
|
|
21
|
-
export declare const HTTP_MOCK_SERVICE: string;
|
|
22
|
-
/**
|
|
23
|
-
* The `HttpMockService` class provides the API for managing HTTP mock configuration objects.
|
|
24
|
-
*/
|
|
25
|
-
export declare class HttpMockService extends IdentifiableComponent implements OnDestroy {
|
|
26
|
-
/**
|
|
27
|
-
* @private
|
|
28
|
-
* Ensures that class type is still accessible after TypeScript compilation.
|
|
29
|
-
*/
|
|
30
|
-
readonly type: string;
|
|
31
|
-
/**
|
|
32
|
-
* @private
|
|
33
|
-
* The list of IDs associated with each config object.
|
|
34
|
-
*/
|
|
35
|
-
private _configIdList;
|
|
36
|
-
/**
|
|
37
|
-
* @private
|
|
38
|
-
* Stores the complete collection of mocking behaviors for each registered config.
|
|
39
|
-
*/
|
|
40
|
-
private _configList;
|
|
41
|
-
/**
|
|
42
|
-
* @private
|
|
43
|
-
* The reference to the current app URL origin.
|
|
44
|
-
*/
|
|
45
|
-
private readonly APP_ORIGIN;
|
|
46
|
-
/**
|
|
47
|
-
* @private
|
|
48
|
-
* The reference to the èHttpMockingFrameworkConfigManager` instance.
|
|
49
|
-
*/
|
|
50
|
-
private readonly _configMmanager;
|
|
51
|
-
/**
|
|
52
|
-
* Returns the vreference to the `HttpMockingFrameworkConfigManager` instance,
|
|
53
|
-
* associated with this service.
|
|
54
|
-
*/
|
|
55
|
-
get configMmanager(): HttpMockingFrameworkConfigManager;
|
|
56
|
-
/**
|
|
57
|
-
* @private
|
|
58
|
-
* Creates a new `HttpMockService` instance.
|
|
59
|
-
*
|
|
60
|
-
* @param _document The reference to the app document.
|
|
61
|
-
* @param config The optional config provider for the HTTP Mocking Framework.
|
|
62
|
-
*/
|
|
63
|
-
constructor(document: Document, config: HttpMockingFrameworkConfig);
|
|
64
|
-
/**
|
|
65
|
-
* @private
|
|
66
|
-
*/
|
|
67
|
-
ngOnDestroy(): void;
|
|
68
|
-
/**
|
|
69
|
-
* Adds the specified `HttpMockConfig` object to this `HttpMockService` instance.
|
|
70
|
-
*
|
|
71
|
-
* @param config The `HttpMockConfig` object to add to this `HttpMockService` instance.
|
|
72
|
-
* @Returns The `Uuid` instance associated with the added `HttpMockConfig` object.
|
|
73
|
-
*/
|
|
74
|
-
addConfig(config: HttpMockConfig): Uuid;
|
|
75
|
-
/**
|
|
76
|
-
* Returns the current app URL origin.
|
|
77
|
-
*
|
|
78
|
-
* @returns A string that represents the current app URL origin.
|
|
79
|
-
*/
|
|
80
|
-
getAppOrigin(): string;
|
|
81
|
-
/**
|
|
82
|
-
* Removes the configuration registered with the specified `uuid` from this `HttpMockService` instance.
|
|
83
|
-
*
|
|
84
|
-
* @param uuid The UUID of the configuration to remove.
|
|
85
|
-
*/
|
|
86
|
-
removeConfig(uuid: Uuid): void;
|
|
87
|
-
/**
|
|
88
|
-
* Removes all registred configurations from this `HttpMockService` instance.
|
|
89
|
-
*/
|
|
90
|
-
clearConfigs(): void;
|
|
91
|
-
/**
|
|
92
|
-
* Returns a boolean value that indicates whether a config with the specified UUID has been registered
|
|
93
|
-
* (`true`), or not (`false`).
|
|
94
|
-
*
|
|
95
|
-
* @param uuid The UUID of the config to check.
|
|
96
|
-
* @returns `true` whether a config with the specified UUID has been registered; `false` otherwise.
|
|
97
|
-
*/
|
|
98
|
-
hasRegisteredConfig(uuid: Uuid): boolean;
|
|
99
|
-
/**
|
|
100
|
-
* Returns the `RouteMockConfig` object associated with the specified `URL` instance and HTTP method.
|
|
101
|
-
*
|
|
102
|
-
* @param url The `URL` instance for which to find a route config.
|
|
103
|
-
* @param method The HTTP method for which to find a route config.
|
|
104
|
-
* @returns The `RouteMockConfig` object associated with the specified `URL` instance and HTTP method whether it exists;
|
|
105
|
-
* `undefined` otherwise.
|
|
106
|
-
*/
|
|
107
|
-
getRouteConfig(url: URL, method: HTTPMethodRef): RouteMockConfig | undefined;
|
|
108
|
-
/**
|
|
109
|
-
* @rivate
|
|
110
|
-
*/
|
|
111
|
-
private buildParameters;
|
|
112
|
-
/**
|
|
113
|
-
* @rivate
|
|
114
|
-
*/
|
|
115
|
-
private extractConfig;
|
|
116
|
-
/**
|
|
117
|
-
* @rivate
|
|
118
|
-
*/
|
|
119
|
-
private extractEndpointConfig;
|
|
120
|
-
/**
|
|
121
|
-
* @rivate
|
|
122
|
-
*/
|
|
123
|
-
private checkOrigin;
|
|
124
|
-
/**
|
|
125
|
-
* @rivate
|
|
126
|
-
*/
|
|
127
|
-
private deleteConfigById;
|
|
128
|
-
/**
|
|
129
|
-
* @rivate
|
|
130
|
-
*/
|
|
131
|
-
private cleanConfig;
|
|
132
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HttpMockService, [null, { optional: true; }]>;
|
|
133
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HttpMockService>;
|
|
134
|
-
}
|
|
@@ -1,51 +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 { AtxMonitoringConsoleComponent } from "../../../../../framework/mock/http-monitoring-console";
|
|
10
|
-
import { WindowService } from "../../../ui";
|
|
11
|
-
import { WindowInit, WindowRef } from "../../../../business";
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* @private
|
|
15
|
-
*/
|
|
16
|
-
export declare const FEATURES: WindowInit;
|
|
17
|
-
/**
|
|
18
|
-
* Provides functionality to display the ATX monitoring console within a new window.
|
|
19
|
-
*/
|
|
20
|
-
export declare class AtxHttpMockConsoleService implements OnDestroy {
|
|
21
|
-
private _windowSrv;
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
private _uuid;
|
|
26
|
-
/**
|
|
27
|
-
* @private
|
|
28
|
-
*/
|
|
29
|
-
constructor(_windowSrv: WindowService);
|
|
30
|
-
/**
|
|
31
|
-
* Opens the ATX monitoring console within a new window and returns reference objects
|
|
32
|
-
* to control it.
|
|
33
|
-
*/
|
|
34
|
-
open(): void;
|
|
35
|
-
/**
|
|
36
|
-
* Closes the ATX monitoring console currently opened within a popup window.
|
|
37
|
-
*/
|
|
38
|
-
close(): void;
|
|
39
|
-
/**
|
|
40
|
-
* Returns reference to the opened popup window.
|
|
41
|
-
*
|
|
42
|
-
* @returns A `WindowRef` object, or undefined if the ATX monitoring console is not opened.
|
|
43
|
-
*/
|
|
44
|
-
getWindowRef(): WindowRef<AtxMonitoringConsoleComponent, Window> | undefined;
|
|
45
|
-
/**
|
|
46
|
-
* @private
|
|
47
|
-
*/
|
|
48
|
-
ngOnDestroy(): void;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AtxHttpMockConsoleService, never>;
|
|
50
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AtxHttpMockConsoleService>;
|
|
51
|
-
}
|
|
@@ -1,83 +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 { TransactionalLogger, HttpMockLoggingMetadata, LogConnector, Log, HttpMockLoggingPrefetchMetadata } from "../../../../business";
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*
|
|
14
|
-
* The utility service that manages the HTTP Mocking Framework logs.
|
|
15
|
-
*/
|
|
16
|
-
export declare class HttpMockLoggingService implements TransactionalLogger, OnDestroy {
|
|
17
|
-
/**
|
|
18
|
-
* Returns the number of logs currently processed by this logger.
|
|
19
|
-
*/
|
|
20
|
-
get size(): number;
|
|
21
|
-
/**
|
|
22
|
-
* The `HttpMockLogger` instance encapsulated by this service.
|
|
23
|
-
*/
|
|
24
|
-
private _logger;
|
|
25
|
-
/**
|
|
26
|
-
* @private
|
|
27
|
-
*/
|
|
28
|
-
constructor();
|
|
29
|
-
/**
|
|
30
|
-
* Processes information logs with the specified metadata.
|
|
31
|
-
*
|
|
32
|
-
* @param metadata The metadata associated with the HTTP method to log.
|
|
33
|
-
*
|
|
34
|
-
* @return The log for the specified metadata.
|
|
35
|
-
*/
|
|
36
|
-
info(metadata: HttpMockLoggingMetadata): Log;
|
|
37
|
-
/**
|
|
38
|
-
* Processes error logs with the specified metadata.
|
|
39
|
-
*
|
|
40
|
-
* @param metadata The metadata associated with the HTTP method to log.
|
|
41
|
-
*
|
|
42
|
-
* @return The log for the specified metadata.
|
|
43
|
-
*/
|
|
44
|
-
error(metadata: HttpMockLoggingMetadata): Log;
|
|
45
|
-
/**
|
|
46
|
-
* @private
|
|
47
|
-
* Processes a special kind of logs that are used to indicate that a HTTP operation
|
|
48
|
-
* started and no response is available yet.
|
|
49
|
-
*
|
|
50
|
-
* @param metadata The metadata associated with the HTTP method to log.
|
|
51
|
-
*/
|
|
52
|
-
prefetch(metadata: HttpMockLoggingPrefetchMetadata): void;
|
|
53
|
-
/**
|
|
54
|
-
* @inheritdoc
|
|
55
|
-
*/
|
|
56
|
-
clearLogs(): void;
|
|
57
|
-
/**
|
|
58
|
-
* @inheritdoc
|
|
59
|
-
*/
|
|
60
|
-
setLogConnector(value: LogConnector | null): void;
|
|
61
|
-
/**
|
|
62
|
-
* @inheritdoc
|
|
63
|
-
*/
|
|
64
|
-
getLogConnector(): LogConnector;
|
|
65
|
-
/**
|
|
66
|
-
* @inheritdoc
|
|
67
|
-
*/
|
|
68
|
-
destroy(): void;
|
|
69
|
-
/**
|
|
70
|
-
* @inheritdoc
|
|
71
|
-
*/
|
|
72
|
-
getLogs(): Log[];
|
|
73
|
-
/**
|
|
74
|
-
* @inheritdoc
|
|
75
|
-
*/
|
|
76
|
-
ngOnDestroy(): void;
|
|
77
|
-
/**
|
|
78
|
-
* @private
|
|
79
|
-
*/
|
|
80
|
-
private getLastLog;
|
|
81
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HttpMockLoggingService, never>;
|
|
82
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HttpMockLoggingService>;
|
|
83
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { AbstractSubscriptionManager } from '../../../core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SubscriptionService extends AbstractSubscriptionManager {
|
|
4
|
-
/**
|
|
5
|
-
* @private
|
|
6
|
-
*/
|
|
7
|
-
constructor();
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SubscriptionService>;
|
|
10
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { NgZone } from '@angular/core';
|
|
2
|
-
import { NavigationExtras, Router } from '@angular/router';
|
|
3
|
-
import { AppBridgeCommand } from '../../business/lang/app-bridge-command';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
|
-
export declare const APP_PRIDGE_REF: string;
|
|
9
|
-
/**
|
|
10
|
-
* A utility service that allows dynamically injected HTML fragments, to interact with the Angular application.
|
|
11
|
-
*/
|
|
12
|
-
export declare class AppBridgeService {
|
|
13
|
-
private _router;
|
|
14
|
-
private _zone;
|
|
15
|
-
private _document;
|
|
16
|
-
/**
|
|
17
|
-
* @private
|
|
18
|
-
*/
|
|
19
|
-
private readonly _defaultView;
|
|
20
|
-
/**
|
|
21
|
-
* @private
|
|
22
|
-
* Thereference to the command invoker.
|
|
23
|
-
*/
|
|
24
|
-
private readonly _appBridge;
|
|
25
|
-
/**
|
|
26
|
-
* @private
|
|
27
|
-
*/
|
|
28
|
-
constructor(_router: Router, _zone: NgZone, _document: any);
|
|
29
|
-
/**
|
|
30
|
-
* Provides the ability to invoke the `navigate()` method of the Angular app router.
|
|
31
|
-
*
|
|
32
|
-
* @param commands The commands array as specified by the Angular router `navigate()` method.
|
|
33
|
-
* @param extras The navigation options as specified by the Angular router `navigate()` method.
|
|
34
|
-
* @return `Promise` that resolves to `true` when navigation succeeds, or `false` when navigation fails.
|
|
35
|
-
*
|
|
36
|
-
* @see https://angular.dev/api/router/Router#navigate
|
|
37
|
-
*/
|
|
38
|
-
navigate(commands: string[], extras?: NavigationExtras | undefined): Promise<boolean>;
|
|
39
|
-
/**
|
|
40
|
-
* Allows to scroll to the fragment specified by the `href` attribute when the user element interact with the associated element.
|
|
41
|
-
*
|
|
42
|
-
* @example
|
|
43
|
-
* <a href="#myAnchor" onclick="appBridge.goToAnchor(event)">My Section</a></code>
|
|
44
|
-
*
|
|
45
|
-
* @param event The event that triggers the anchor navigation.
|
|
46
|
-
* @return `Promise` that resolves to `true` when navigation succeeds, or `false` when navigation fails.
|
|
47
|
-
*
|
|
48
|
-
* @see https://angular.dev/api/router/Router#navigate
|
|
49
|
-
*/
|
|
50
|
-
goToAnchor(event: Event): Promise<boolean>;
|
|
51
|
-
/**
|
|
52
|
-
* Declares a new JavaScript command to be used with dynamically loaded documents.
|
|
53
|
-
*
|
|
54
|
-
* @param name The name of the command to declare.
|
|
55
|
-
* @param command The reference to a JavaScript command to be used with dynamically loaded documents.
|
|
56
|
-
*/
|
|
57
|
-
declareCommand(name: string, command: AppBridgeCommand): void;
|
|
58
|
-
/**
|
|
59
|
-
* Unregisters a JavaScript command previously referenced with the `declareCommand()` method.
|
|
60
|
-
*
|
|
61
|
-
* @param name The name of the command to remove.
|
|
62
|
-
*
|
|
63
|
-
* @returns `true` whether the command existed and has been removed; `false` otherwise.
|
|
64
|
-
*/
|
|
65
|
-
deleteCommand(name: string): boolean;
|
|
66
|
-
/**
|
|
67
|
-
* Returns the JavaScript command previously referenced with the `declareCommand()` method.
|
|
68
|
-
*
|
|
69
|
-
* @param name The name of the command to retrieve.
|
|
70
|
-
* @returns The JavaScript command previously referenced with the specified `name` parameter.
|
|
71
|
-
* If no command is found, returns `undefined`.
|
|
72
|
-
*/
|
|
73
|
-
getCommand(name: string): AppBridgeCommand | undefined;
|
|
74
|
-
/**
|
|
75
|
-
* @private
|
|
76
|
-
*/
|
|
77
|
-
private checkCommandName;
|
|
78
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppBridgeService, never>;
|
|
79
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AppBridgeService>;
|
|
80
|
-
}
|