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,39 +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, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* Allows injection of any value into an HTML element container (`div`, `button`, etc...).
|
|
12
|
-
* A rendered event is emitted after the injected content has been rendered and is
|
|
13
|
-
* available for DOM manipulation.
|
|
14
|
-
*/
|
|
15
|
-
export declare class ContentRendererDirective implements OnInit, OnDestroy {
|
|
16
|
-
private _elmRef;
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
*/
|
|
20
|
-
private readonly _observer;
|
|
21
|
-
/**
|
|
22
|
-
* Dispatches events when the content of the HTML element has been rendered.
|
|
23
|
-
*/
|
|
24
|
-
readonly rendered: EventEmitter<HTMLElement>;
|
|
25
|
-
/**
|
|
26
|
-
* @private
|
|
27
|
-
*/
|
|
28
|
-
constructor(_elmRef: ElementRef);
|
|
29
|
-
/**
|
|
30
|
-
* @private
|
|
31
|
-
*/
|
|
32
|
-
ngOnDestroy(): void;
|
|
33
|
-
/**
|
|
34
|
-
* @private
|
|
35
|
-
*/
|
|
36
|
-
ngOnInit(): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContentRendererDirective, never>;
|
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ContentRendererDirective, "[contentRenderer]", never, {}, { "rendered": "rendered"; }, never, never, true, never>;
|
|
39
|
-
}
|
package/lib/directive/index.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { NavigationDirectiveBase } from './navigation-directive-base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* An easy-to-use directive that enables keyboard navigation and provides support for navigating to an external URL.
|
|
6
|
-
*/
|
|
7
|
-
export declare class NavigateToUrlDirective extends NavigationDirectiveBase {
|
|
8
|
-
private _document;
|
|
9
|
-
/**
|
|
10
|
-
* The `href` attribute of the decorated element.
|
|
11
|
-
*/
|
|
12
|
-
href: string;
|
|
13
|
-
/**
|
|
14
|
-
* @private
|
|
15
|
-
*/
|
|
16
|
-
private onClick;
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
*/
|
|
20
|
-
constructor(_document: any, elmRef: ElementRef);
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigateToUrlDirective, never>;
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NavigateToUrlDirective, "[navigateToUrl]", never, { "href": { "alias": "href"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
-
}
|
|
@@ -1,19 +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
|
-
/**
|
|
10
|
-
* @private
|
|
11
|
-
* The base class for all directives that are responsible for navigation whithin ab Angular app.
|
|
12
|
-
*/
|
|
13
|
-
export declare class NavigationDirectiveBase {
|
|
14
|
-
protected elmRef: ElementRef;
|
|
15
|
-
/**
|
|
16
|
-
* @private
|
|
17
|
-
*/
|
|
18
|
-
constructor(elmRef: ElementRef, role: string);
|
|
19
|
-
}
|
|
@@ -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
|
|
6
|
-
* found in the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Defines the possible values used to assign properties of type of `DialogBackdrop`.
|
|
10
|
-
*/
|
|
11
|
-
export declare enum DialogBackdropType {
|
|
12
|
-
/**
|
|
13
|
-
* Indicates that the dialog element is of type of "static".
|
|
14
|
-
*/
|
|
15
|
-
STATIC = "static",
|
|
16
|
-
/**
|
|
17
|
-
* Indicates that the dialog element is of type of "modal".
|
|
18
|
-
*/
|
|
19
|
-
MODAL = "modal"
|
|
20
|
-
}
|
|
@@ -1,11 +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
|
-
* Indicates the type of a dialog backdrop element.
|
|
10
|
-
*/
|
|
11
|
-
export type DialogBackdrop = "modal" | "static";
|
|
@@ -1,12 +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 { DialogConfig } from './dialog.config';
|
|
9
|
-
/**
|
|
10
|
-
* @private
|
|
11
|
-
*/
|
|
12
|
-
export declare const DEFAULT_CONFIG: DialogConfig;
|
|
@@ -1,11 +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
|
-
* Specifies the event type of `DialogOutletEvent` instances.
|
|
10
|
-
*/
|
|
11
|
-
export type DialogOutletEventType = "show" | "hide";
|
|
@@ -1,40 +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 { DialogOutletEventType } from "./dialog-outlet-event-type";
|
|
9
|
-
import { DialogConfig } from "./dialog.config";
|
|
10
|
-
/**
|
|
11
|
-
* Event that indicates the state changes of components managed by the `DialogService` service singleton.
|
|
12
|
-
*/
|
|
13
|
-
export declare class DialogOutletEvent {
|
|
14
|
-
/**
|
|
15
|
-
* The type of event dispatched each time the dialog element is displayed.
|
|
16
|
-
*/
|
|
17
|
-
static readonly SHOW: DialogOutletEventType;
|
|
18
|
-
/**
|
|
19
|
-
* The type of event dispatched each time the dialog element is removed.
|
|
20
|
-
*/
|
|
21
|
-
static readonly HIDE: DialogOutletEventType;
|
|
22
|
-
/**
|
|
23
|
-
* A `DialogOutletEventType` value that indicates the state of the dialog element.
|
|
24
|
-
*/
|
|
25
|
-
readonly state: DialogOutletEventType;
|
|
26
|
-
/**
|
|
27
|
-
* The dialog element config associated with an event of type of `"show"`.
|
|
28
|
-
* `config` is set to `null` when the event is of type of `"hide"`.
|
|
29
|
-
*/
|
|
30
|
-
readonly config: DialogConfig | null;
|
|
31
|
-
/**
|
|
32
|
-
* @private
|
|
33
|
-
*
|
|
34
|
-
* Creates a new `DialogOutletEvent` instance.
|
|
35
|
-
*
|
|
36
|
-
* @param state The state of the dialog element.
|
|
37
|
-
* @param config The dialog element config associated with this event.
|
|
38
|
-
*/
|
|
39
|
-
constructor(state: DialogOutletEventType, config?: DialogConfig | null);
|
|
40
|
-
}
|
|
@@ -1,47 +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 { ComponentRef, EventEmitter, ViewContainerRef } from "@angular/core";
|
|
9
|
-
import { DialogOutletEvent } from "./dialog-outlet.event";
|
|
10
|
-
import { DialogConfig } from "./dialog.config";
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* The `DialogService` class manages injection of customs component into the
|
|
14
|
-
* HTML dialog element created by the ATX framework.
|
|
15
|
-
*/
|
|
16
|
-
export declare class DialogService {
|
|
17
|
-
/**
|
|
18
|
-
* Dispatches an event that indicates the state of the dialog element when a custom
|
|
19
|
-
* component is added to, or remove from it.
|
|
20
|
-
*/
|
|
21
|
-
readonly dialogStateChange: EventEmitter<DialogOutletEvent>;
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
protected viewContainerRef: ViewContainerRef;
|
|
26
|
-
/**
|
|
27
|
-
* Creates an instance of the `compRef` class, adds this instance to the HTML dialog element
|
|
28
|
-
* and displays the dialog element in front of all other components in the application.
|
|
29
|
-
*
|
|
30
|
-
* @param compRef The class that represents the component to display as a popup element.
|
|
31
|
-
* @param config The dialog element config associated with the new component instance to display.
|
|
32
|
-
*
|
|
33
|
-
* @returns The new `ComponentRef` which contains the component instance and the host view.
|
|
34
|
-
*/
|
|
35
|
-
show<T>(compRef: any, config?: DialogConfig | null): ComponentRef<T>;
|
|
36
|
-
/**
|
|
37
|
-
* Indicates to the ATX framework to remove component instances previously created with
|
|
38
|
-
* the `show()` method.
|
|
39
|
-
*/
|
|
40
|
-
hide(): void;
|
|
41
|
-
/**
|
|
42
|
-
* @private
|
|
43
|
-
*/
|
|
44
|
-
__init__(viewContainerRef: ViewContainerRef): boolean;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
46
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
47
|
-
}
|
|
@@ -1,19 +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
|
-
* The `DialogServiceError` class represents errors thrown by the ATX framework
|
|
10
|
-
* when a dialog error occurs.
|
|
11
|
-
*/
|
|
12
|
-
export declare class DialogServiceError extends Error {
|
|
13
|
-
/**
|
|
14
|
-
* Creates a new `DialogServiceError` instance.
|
|
15
|
-
*
|
|
16
|
-
* @param message The `message` data property is a human-readable description of this `DialogServiceError` instance.
|
|
17
|
-
*/
|
|
18
|
-
constructor(message: string);
|
|
19
|
-
}
|
|
@@ -1,18 +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 { DialogBackdropType } from "./dialog-backdrop-type.enum";
|
|
9
|
-
import { DialogBackdrop } from "./dialog-backdrop.type";
|
|
10
|
-
/**
|
|
11
|
-
* Defines the configuration associated with a custom component displayed through the Dialog API.
|
|
12
|
-
*/
|
|
13
|
-
export interface DialogConfig {
|
|
14
|
-
/**
|
|
15
|
-
* Indicates whether the dialog is modal, or static.
|
|
16
|
-
*/
|
|
17
|
-
backdrop?: DialogBackdrop | DialogBackdropType;
|
|
18
|
-
}
|
|
@@ -1,59 +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 { OnInit } from '@angular/core';
|
|
9
|
-
import { DialogService } from './dialog-service';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* Acts as a placeholder that the ATX framework dynamically fills based on the component specified
|
|
13
|
-
* by the dialog service `show()` method.
|
|
14
|
-
*/
|
|
15
|
-
export declare class DialogOutlet implements OnInit {
|
|
16
|
-
private dialogSvc;
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
*/
|
|
20
|
-
private _dialog;
|
|
21
|
-
/**
|
|
22
|
-
* @private
|
|
23
|
-
*/
|
|
24
|
-
private renderer;
|
|
25
|
-
/**
|
|
26
|
-
* @private
|
|
27
|
-
*/
|
|
28
|
-
private _config;
|
|
29
|
-
/**
|
|
30
|
-
* @private
|
|
31
|
-
*/
|
|
32
|
-
constructor(dialogSvc: DialogService);
|
|
33
|
-
/**
|
|
34
|
-
* @private
|
|
35
|
-
*/
|
|
36
|
-
ngOnInit(): void;
|
|
37
|
-
/**
|
|
38
|
-
* @private
|
|
39
|
-
*/
|
|
40
|
-
protected mouseupHandler(event: MouseEvent): void;
|
|
41
|
-
/**
|
|
42
|
-
* @private
|
|
43
|
-
*/
|
|
44
|
-
protected onClose(event: Event): void;
|
|
45
|
-
/**
|
|
46
|
-
* @private
|
|
47
|
-
*/
|
|
48
|
-
private stateChange;
|
|
49
|
-
/**
|
|
50
|
-
* @private
|
|
51
|
-
*/
|
|
52
|
-
private show;
|
|
53
|
-
/**
|
|
54
|
-
* @private
|
|
55
|
-
*/
|
|
56
|
-
private hide;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogOutlet, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogOutlet, "atx-dialog-outlet", never, {}, {}, never, never, true, never>;
|
|
59
|
-
}
|
|
@@ -1,15 +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
|
-
export * from "./dialog-backdrop-type.enum";
|
|
9
|
-
export * from "./dialog-backdrop.type";
|
|
10
|
-
export * from "./dialog-outlet-event-type";
|
|
11
|
-
export * from "./dialog-outlet.event";
|
|
12
|
-
export * from "./dialog.config";
|
|
13
|
-
export * from "./dialog.outlet";
|
|
14
|
-
export * from "./dialog-service";
|
|
15
|
-
export * from "./dialog-service.error";
|
package/lib/framework/index.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { Log, LogConnector } from "../../../model";
|
|
9
|
-
/**
|
|
10
|
-
* An implementation of the `LogConnector` interface that sends logs to the JavaScript
|
|
11
|
-
* native `console` object.
|
|
12
|
-
*/
|
|
13
|
-
export declare class ConsoleLogConnector implements LogConnector {
|
|
14
|
-
/**
|
|
15
|
-
* @inheritdoc
|
|
16
|
-
*/
|
|
17
|
-
destroy(): void;
|
|
18
|
-
/**
|
|
19
|
-
* @inheritdoc
|
|
20
|
-
*/
|
|
21
|
-
init(logList: Log[]): void;
|
|
22
|
-
/**
|
|
23
|
-
* @inheritdoc
|
|
24
|
-
*/
|
|
25
|
-
sendLog(log: Log): void;
|
|
26
|
-
/**
|
|
27
|
-
* @inheritdoc
|
|
28
|
-
*/
|
|
29
|
-
clearLogs(): void;
|
|
30
|
-
/**
|
|
31
|
-
* Not supported.
|
|
32
|
-
*/
|
|
33
|
-
copyLogs(): void;
|
|
34
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { Log, LogConnector } from "../../../model";
|
|
9
|
-
/**
|
|
10
|
-
* The default ATX log connector. Allows to process logs silently.
|
|
11
|
-
* This can be useful for removing logs from production environments, if needed.
|
|
12
|
-
*/
|
|
13
|
-
export declare class DefaultLogConnector implements LogConnector {
|
|
14
|
-
/**
|
|
15
|
-
* @inheritdoc
|
|
16
|
-
*/
|
|
17
|
-
destroy(): void;
|
|
18
|
-
/**
|
|
19
|
-
* @inheritdoc
|
|
20
|
-
*/
|
|
21
|
-
init(logList: Log[]): void;
|
|
22
|
-
/**
|
|
23
|
-
* @inheritdoc
|
|
24
|
-
*/
|
|
25
|
-
sendLog(log: Log): void;
|
|
26
|
-
/**
|
|
27
|
-
* @inheritdoc
|
|
28
|
-
*/
|
|
29
|
-
clearLogs(): void;
|
|
30
|
-
/**
|
|
31
|
-
* @inheritdoc
|
|
32
|
-
*/
|
|
33
|
-
copyLogs(): void;
|
|
34
|
-
}
|
|
@@ -1,72 +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, LogConnector } from "../../../model";
|
|
9
|
-
/**
|
|
10
|
-
* An implementation of the `LogConnector` interface that processes logs as HTML renderable elements.
|
|
11
|
-
*/
|
|
12
|
-
export declare class HtmlLogConnector implements LogConnector {
|
|
13
|
-
/**
|
|
14
|
-
* @private
|
|
15
|
-
*/
|
|
16
|
-
private _logs;
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
*/
|
|
20
|
-
private _tgt;
|
|
21
|
-
/**
|
|
22
|
-
* Creates a new `HtmlLogConnector` instance.
|
|
23
|
-
*
|
|
24
|
-
* @param target The HTML element where the logs will be rendered.
|
|
25
|
-
* @param injectStyle Indicates whether the ATX default HTML styles are injected into the current document (`true`), or not (`false`).
|
|
26
|
-
*/
|
|
27
|
-
constructor(target: HTMLElement, injectStyle?: boolean);
|
|
28
|
-
/**
|
|
29
|
-
* @inheritdoc
|
|
30
|
-
*/
|
|
31
|
-
init(logList: Log[]): void;
|
|
32
|
-
/**
|
|
33
|
-
* @inheritdoc
|
|
34
|
-
*/
|
|
35
|
-
sendLog(log: Log): void;
|
|
36
|
-
/**
|
|
37
|
-
* @inheritdoc
|
|
38
|
-
*/
|
|
39
|
-
destroy(): void;
|
|
40
|
-
/**
|
|
41
|
-
* @inheritdoc
|
|
42
|
-
*/
|
|
43
|
-
clearLogs(): void;
|
|
44
|
-
/**
|
|
45
|
-
* @inheritdoc
|
|
46
|
-
*/
|
|
47
|
-
copyLogs(): void;
|
|
48
|
-
/**
|
|
49
|
-
* @private
|
|
50
|
-
*/
|
|
51
|
-
private buildLog;
|
|
52
|
-
/**
|
|
53
|
-
* @private
|
|
54
|
-
*/
|
|
55
|
-
private getCssClassName;
|
|
56
|
-
/**
|
|
57
|
-
* @private
|
|
58
|
-
*/
|
|
59
|
-
private getSpan;
|
|
60
|
-
/**
|
|
61
|
-
* @private
|
|
62
|
-
*/
|
|
63
|
-
private injectStyle;
|
|
64
|
-
/**
|
|
65
|
-
* @private
|
|
66
|
-
*/
|
|
67
|
-
private deleteStyle;
|
|
68
|
-
/**
|
|
69
|
-
* @private
|
|
70
|
-
*/
|
|
71
|
-
private getHead;
|
|
72
|
-
}
|
|
@@ -1,69 +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, LogConnector, Logger, TransactionalLogger, LogLevel } from "../../../model";
|
|
9
|
-
/**
|
|
10
|
-
* A convenient immutable instance of the `DefaultLogConnector` class.
|
|
11
|
-
*/
|
|
12
|
-
export declare const DEFAULT_LOG_CONNECTOR: LogConnector;
|
|
13
|
-
/**
|
|
14
|
-
* The base class for all `Logger` objects.
|
|
15
|
-
*/
|
|
16
|
-
export declare abstract class AbstractLogger implements Logger, TransactionalLogger {
|
|
17
|
-
/**
|
|
18
|
-
* @inheritdoc
|
|
19
|
-
*/
|
|
20
|
-
minLogLevel: LogLevel;
|
|
21
|
-
/**
|
|
22
|
-
* The list of logs sent to this logger.
|
|
23
|
-
*/
|
|
24
|
-
protected logs: Log[];
|
|
25
|
-
/**
|
|
26
|
-
* The reference to the log connector associated with this logger.
|
|
27
|
-
*/
|
|
28
|
-
protected logConnector: LogConnector;
|
|
29
|
-
/**
|
|
30
|
-
* @inheritdoc
|
|
31
|
-
*/
|
|
32
|
-
setLogConnector(value: LogConnector | null): void;
|
|
33
|
-
/**
|
|
34
|
-
* @inheritdoc
|
|
35
|
-
*/
|
|
36
|
-
getLogConnector(): LogConnector;
|
|
37
|
-
/**
|
|
38
|
-
* @inheritdoc
|
|
39
|
-
*/
|
|
40
|
-
getLogs(): Log[];
|
|
41
|
-
/**
|
|
42
|
-
* @inheritdoc
|
|
43
|
-
*/
|
|
44
|
-
info(caller: string | any, msg: string, metadata?: any): void;
|
|
45
|
-
/**
|
|
46
|
-
* @inheritdoc
|
|
47
|
-
*/
|
|
48
|
-
config(caller: string | any, msg: string, metadata?: any): void;
|
|
49
|
-
/**
|
|
50
|
-
* @inheritdoc
|
|
51
|
-
*/
|
|
52
|
-
error(caller: string | any, msg: string, metadata?: any): void;
|
|
53
|
-
/**
|
|
54
|
-
* @inheritdoc
|
|
55
|
-
*/
|
|
56
|
-
warn(caller: string | any, msg: string, metadata?: any): void;
|
|
57
|
-
/**
|
|
58
|
-
* @inheritdoc
|
|
59
|
-
*/
|
|
60
|
-
destroy(): void;
|
|
61
|
-
/**
|
|
62
|
-
* @inheritdoc
|
|
63
|
-
*/
|
|
64
|
-
clearLogs(): void;
|
|
65
|
-
/**
|
|
66
|
-
* @private
|
|
67
|
-
*/
|
|
68
|
-
private addLog;
|
|
69
|
-
}
|
|
@@ -1,45 +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 { Log, LogLevel } from "../../../model";
|
|
9
|
-
/**
|
|
10
|
-
* @private
|
|
11
|
-
*
|
|
12
|
-
* The default implementation of the `Log` interface.
|
|
13
|
-
*/
|
|
14
|
-
export declare class LogImpl implements Log {
|
|
15
|
-
/**
|
|
16
|
-
* @inheritdoc
|
|
17
|
-
*/
|
|
18
|
-
readonly caller: string;
|
|
19
|
-
/**
|
|
20
|
-
* @inheritdoc
|
|
21
|
-
*/
|
|
22
|
-
readonly message: string;
|
|
23
|
-
/**
|
|
24
|
-
* @inheritdoc
|
|
25
|
-
*/
|
|
26
|
-
readonly level: LogLevel;
|
|
27
|
-
/**
|
|
28
|
-
* @inheritdoc
|
|
29
|
-
*/
|
|
30
|
-
readonly timestamp: number;
|
|
31
|
-
/**
|
|
32
|
-
* @inheritdoc
|
|
33
|
-
*/
|
|
34
|
-
readonly metadata: any;
|
|
35
|
-
/**
|
|
36
|
-
* @private
|
|
37
|
-
* Creates a new `LogImpl` instance.
|
|
38
|
-
*
|
|
39
|
-
* @param caller Ahuman readable reference for the invoker associated with this log.
|
|
40
|
-
* @param message The message associated with this log.
|
|
41
|
-
* @param level The criticality level of this log.
|
|
42
|
-
* @param metadata Optional metada associated with this log.
|
|
43
|
-
*/
|
|
44
|
-
constructor(caller: string, message: string, level: LogLevel, metadata?: any);
|
|
45
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { Log, LogLevel } from "../../../model";
|
|
9
|
-
/**
|
|
10
|
-
* A static builder that creates new `Log` objects.
|
|
11
|
-
*/
|
|
12
|
-
export declare class LogBuilder {
|
|
13
|
-
/**
|
|
14
|
-
* Builds and returns a new `Log` object initialized with the specified parameters.
|
|
15
|
-
*
|
|
16
|
-
* @param caller The reference to the object that sends the new log.
|
|
17
|
-
* @param message The message of the new log.
|
|
18
|
-
* @param level The level of the new log.
|
|
19
|
-
* @param metadata The optional metadata associated with the new log.
|
|
20
|
-
*
|
|
21
|
-
* @returns A new `Log` object.
|
|
22
|
-
*/
|
|
23
|
-
static build(caller: string, message: string, level?: LogLevel, metadata?: any): Log;
|
|
24
|
-
}
|