angular-toolbox 1.5.5 → 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/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,99 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { EventEmitter } from '@angular/core';
|
|
9
|
-
import { DarkModeConfig } from '../../business';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class DarkModeService {
|
|
12
|
-
private _document;
|
|
13
|
-
/**
|
|
14
|
-
* @private
|
|
15
|
-
*/
|
|
16
|
-
private _darkModeEnabled;
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
*/
|
|
20
|
-
private _cssProperty;
|
|
21
|
-
/**
|
|
22
|
-
* @private
|
|
23
|
-
*/
|
|
24
|
-
private _storageKey;
|
|
25
|
-
/**
|
|
26
|
-
* The callback function that is triggered when the dark mode changes.
|
|
27
|
-
*
|
|
28
|
-
* @typeParam `EventEmitter<boolean>` the value returned by the `darkModeEnabled()` property.
|
|
29
|
-
*/
|
|
30
|
-
readonly change: EventEmitter<boolean>;
|
|
31
|
-
/**
|
|
32
|
-
* @private
|
|
33
|
-
* Creates a new `DarkModeService` instance.
|
|
34
|
-
*
|
|
35
|
-
* @param _document The reference to the `Document` singleton.
|
|
36
|
-
* @param config The reference to the `DarkModeConfig` provider.
|
|
37
|
-
*/
|
|
38
|
-
constructor(_document: Document, config: DarkModeConfig);
|
|
39
|
-
/**
|
|
40
|
-
* Toogles the dark mode state.
|
|
41
|
-
*/
|
|
42
|
-
toggleDarkMode(): void;
|
|
43
|
-
/**
|
|
44
|
-
* Sets the dark mode state to active.
|
|
45
|
-
*/
|
|
46
|
-
enableDarkMode(): void;
|
|
47
|
-
/**
|
|
48
|
-
* Sets the dark mode state to inactive.
|
|
49
|
-
*/
|
|
50
|
-
disableDarkMode(): void;
|
|
51
|
-
/**
|
|
52
|
-
* Returns a `boolean` value that indicates whether the dark mode state is active (`true`), or not (`false`).
|
|
53
|
-
*
|
|
54
|
-
* @returns `true` whether the dark mode state is active; `false` otherwise.
|
|
55
|
-
*/
|
|
56
|
-
darkModeEnabled(): boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Returns the value of the CSS property as defined by the config provider.
|
|
59
|
-
*
|
|
60
|
-
* @returns The value of the CSS property.
|
|
61
|
-
*/
|
|
62
|
-
getCssProperty(): string;
|
|
63
|
-
/**
|
|
64
|
-
* Returns the value of the storage key as defined by the config provider.
|
|
65
|
-
*
|
|
66
|
-
* @returns The value of the storage key.
|
|
67
|
-
*/
|
|
68
|
-
getStorageKey(): string;
|
|
69
|
-
/**
|
|
70
|
-
* Removes the dark mode information from local storage.
|
|
71
|
-
*/
|
|
72
|
-
invalidateStorage(): void;
|
|
73
|
-
/**
|
|
74
|
-
* @private
|
|
75
|
-
*/
|
|
76
|
-
private initDarkMode;
|
|
77
|
-
/**
|
|
78
|
-
* @private
|
|
79
|
-
*/
|
|
80
|
-
private initStoredDarkMode;
|
|
81
|
-
/**
|
|
82
|
-
* @private
|
|
83
|
-
*/
|
|
84
|
-
private setStoredDarkMode;
|
|
85
|
-
/**
|
|
86
|
-
* @private
|
|
87
|
-
*/
|
|
88
|
-
private setDarkMode;
|
|
89
|
-
/**
|
|
90
|
-
* @private
|
|
91
|
-
*/
|
|
92
|
-
private initBrowserMode;
|
|
93
|
-
/**
|
|
94
|
-
* @private
|
|
95
|
-
*/
|
|
96
|
-
private matchDarkTheme;
|
|
97
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DarkModeService, never>;
|
|
98
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DarkModeService>;
|
|
99
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { ScrollBehavior } from '../../business';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ScrollService {
|
|
5
|
-
private _document;
|
|
6
|
-
/**
|
|
7
|
-
* The callback function that is triggered when a scroll operation is performed.
|
|
8
|
-
*
|
|
9
|
-
* @typeParam `EventEmitter<Event>` The reference to the original scroll event.
|
|
10
|
-
*/
|
|
11
|
-
readonly onScroll: EventEmitter<Event>;
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
* Creates a new `ScrollService` instance.
|
|
15
|
-
*
|
|
16
|
-
* @param _document The reference to the `Document` singleton.
|
|
17
|
-
*/
|
|
18
|
-
constructor(_document: Document);
|
|
19
|
-
/**
|
|
20
|
-
* Scrolls the ancestor containers of the element with the specified selector such that
|
|
21
|
-
* this element is visible to the user.
|
|
22
|
-
*
|
|
23
|
-
* @param selector The selector of the target element.
|
|
24
|
-
* @param arg A `boolean` value:
|
|
25
|
-
* If `true`, the top of the element will be aligned to the top of the visible area of the
|
|
26
|
-
* scrollable ancestor.
|
|
27
|
-
* If `false`, the bottom of the element will be aligned to the bottom of the visible area
|
|
28
|
-
* of the scrollable ancestor.
|
|
29
|
-
* @param arg A dictionary containing the scroll parameters.
|
|
30
|
-
*/
|
|
31
|
-
scrollIntoView(selector: string, arg?: boolean | ScrollIntoViewOptions | undefined): void;
|
|
32
|
-
/**
|
|
33
|
-
* Scrolls the app viewport to the top of the browser window.
|
|
34
|
-
*
|
|
35
|
-
* @param behavior Specifies whether the scrolling should animate smoothly (`smooth`),
|
|
36
|
-
* happen instantly in a single jump (`instant`), or let the browser
|
|
37
|
-
* choose (`auto`, `default`).
|
|
38
|
-
*/
|
|
39
|
-
gotoTop(behavior?: ScrollBehavior): void;
|
|
40
|
-
/**
|
|
41
|
-
* Scrolls the app viewport according to the specified options, into the browser window.
|
|
42
|
-
*
|
|
43
|
-
* @param options A dictionary containing the scroll parameters.
|
|
44
|
-
*/
|
|
45
|
-
scroll(options?: ScrollToOptions): void;
|
|
46
|
-
/**
|
|
47
|
-
* Scrolls the app viewport by the specified `x/y` coordinates, into the browser window.
|
|
48
|
-
*
|
|
49
|
-
* @param x The horizontal pixel value that you want to scroll by.
|
|
50
|
-
* @param y The vertical pixel value that you want to scroll by.
|
|
51
|
-
*/
|
|
52
|
-
scrollBy(x: number, y: number): void;
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollService, never>;
|
|
54
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ScrollService>;
|
|
55
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { EventEmitter, Type } from "@angular/core";
|
|
9
|
-
import { Uuid } from "../../../../util";
|
|
10
|
-
import { Destroyable, WindowRef } from "../../../business";
|
|
11
|
-
/**
|
|
12
|
-
* The abstract class that must be implemented by services that provide
|
|
13
|
-
* functionality to display Angular component within a new browser window.
|
|
14
|
-
*/
|
|
15
|
-
export declare abstract class AbstractWindowService implements Destroyable {
|
|
16
|
-
/**
|
|
17
|
-
* An event triggered each time a window is closed.
|
|
18
|
-
*/
|
|
19
|
-
readonly windowClose: EventEmitter<Uuid>;
|
|
20
|
-
/**
|
|
21
|
-
* @private
|
|
22
|
-
*/
|
|
23
|
-
protected windowRefMap: Map<Uuid, WindowRef<any, any>>;
|
|
24
|
-
/**
|
|
25
|
-
* Returns the window reference object associated with the specified `Uuid` object.
|
|
26
|
-
*
|
|
27
|
-
* @param uuid The `Uuid` object associated with the window reference to get.
|
|
28
|
-
*
|
|
29
|
-
* @returns A `WindowRef` object, or `undefined` if the reference cannot be found.
|
|
30
|
-
*/
|
|
31
|
-
get(uuid: Uuid): WindowRef<any, any> | undefined;
|
|
32
|
-
/**
|
|
33
|
-
* Returns all the window reference objects created by the service.
|
|
34
|
-
*
|
|
35
|
-
* @returns A list of `WindowRef` objects created by this service.
|
|
36
|
-
*/
|
|
37
|
-
getAll(): WindowRef<any, any>[];
|
|
38
|
-
/**
|
|
39
|
-
* @private
|
|
40
|
-
*/
|
|
41
|
-
destroy(): void;
|
|
42
|
-
/**
|
|
43
|
-
* Opens a new browser window with the specified properties and attaches an instance of
|
|
44
|
-
* the specified component into the window container.
|
|
45
|
-
*
|
|
46
|
-
* @param component The component to attach in the new window.
|
|
47
|
-
* @param init The config used to initialize the window.
|
|
48
|
-
*
|
|
49
|
-
* @returns A `Uuid` object.
|
|
50
|
-
*/
|
|
51
|
-
abstract open<T>(component: Type<T>, init?: any): Uuid;
|
|
52
|
-
/**
|
|
53
|
-
* Closes the window associated with the specified `Uuid` object.
|
|
54
|
-
*
|
|
55
|
-
* @param uuid The `Uuid` object associated with the window to close.
|
|
56
|
-
*
|
|
57
|
-
* @returns `true` whether the window exists and is closed; `false` otherwise.
|
|
58
|
-
*/
|
|
59
|
-
abstract close(uuid: Uuid): boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Closes all opened windows.
|
|
62
|
-
*/
|
|
63
|
-
abstract closeAll(): void;
|
|
64
|
-
}
|
|
@@ -1,44 +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 { ApplicationRef, OnDestroy, Type } from "@angular/core";
|
|
9
|
-
import { Uuid } from "../../../../util";
|
|
10
|
-
import { WindowInit } from "../../../business";
|
|
11
|
-
import { AbstractWindowService } from "./abstract-window.service";
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* Provides functionality to display Angular component within a new browser window.
|
|
15
|
-
*/
|
|
16
|
-
export declare class WindowService extends AbstractWindowService implements OnDestroy {
|
|
17
|
-
private _appRef;
|
|
18
|
-
/**
|
|
19
|
-
* @private
|
|
20
|
-
*/
|
|
21
|
-
constructor(_appRef: ApplicationRef);
|
|
22
|
-
/**
|
|
23
|
-
* @inheritdoc
|
|
24
|
-
*/
|
|
25
|
-
open<T>(component: Type<T>, init?: WindowInit): Uuid;
|
|
26
|
-
/**
|
|
27
|
-
* @inheritdoc
|
|
28
|
-
*/
|
|
29
|
-
close(uuid: Uuid): boolean;
|
|
30
|
-
/**
|
|
31
|
-
* @inheritdoc
|
|
32
|
-
*/
|
|
33
|
-
closeAll(): void;
|
|
34
|
-
/**
|
|
35
|
-
* @private
|
|
36
|
-
*/
|
|
37
|
-
ngOnDestroy(): void;
|
|
38
|
-
/**
|
|
39
|
-
* @private
|
|
40
|
-
*/
|
|
41
|
-
private getTarget;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowService, never>;
|
|
43
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<WindowService>;
|
|
44
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AbstractVersionManager } from '../../../core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* The public service that exposes the current version of the Angular Toolbox library.
|
|
5
|
-
*/
|
|
6
|
-
export declare class AngularToolboxVersionService extends AbstractVersionManager {
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
|
-
constructor();
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AngularToolboxVersionService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AngularToolboxVersionService>;
|
|
13
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { VersionConfig, VersionManager } from '../../business';
|
|
2
|
-
import { AbstractVersionManager } from '../../../core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* A lightweight service that provides Semantic Versioning implementation for your Angular projects.
|
|
6
|
-
*/
|
|
7
|
-
export declare class VersionService extends AbstractVersionManager implements VersionManager {
|
|
8
|
-
/**
|
|
9
|
-
* Creates a new VersionService instance.
|
|
10
|
-
* @param config the reference to the VersionConfig provider.
|
|
11
|
-
*/
|
|
12
|
-
constructor(config: VersionConfig);
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VersionService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<VersionService>;
|
|
15
|
-
}
|
package/lib/pipe/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './safe/safe-html.pipe';
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
9
|
-
import { PipeTransform } from "@angular/core";
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* A basic implementation of a HTML sanitization pipe.
|
|
13
|
-
*/
|
|
14
|
-
export declare class SafeHtmlPipe implements PipeTransform {
|
|
15
|
-
private _sanitizer;
|
|
16
|
-
/**
|
|
17
|
-
* @private
|
|
18
|
-
*/
|
|
19
|
-
constructor(_sanitizer: DomSanitizer);
|
|
20
|
-
/**
|
|
21
|
-
* Transforms the HTML input string value into a `SafeHtml` instance and returns the result
|
|
22
|
-
* of the transformation.
|
|
23
|
-
*
|
|
24
|
-
* @param value The HTML input value to transform into a `SafeHtml` instance.
|
|
25
|
-
* @returns A `SafeHtml` instance based on the specified input value.
|
|
26
|
-
*/
|
|
27
|
-
transform(value: string): SafeHtml;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
|
|
29
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml", true>;
|
|
30
|
-
}
|
|
@@ -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 found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* A reference to the `"button"` value of the `role` property.
|
|
10
|
-
*/
|
|
11
|
-
export declare const BUTTON_ROLE: string;
|
|
12
|
-
/**
|
|
13
|
-
* A reference to the `"link"` value of the `role` property.
|
|
14
|
-
*/
|
|
15
|
-
export declare const LINK_ROLE: string;
|
|
@@ -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 found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
* An internal convenient object that defined default `ScrollIntoViewOptions` objects.
|
|
11
|
-
*/
|
|
12
|
-
export declare const DEFAULT_SCROLL_BEHAVIOR: ScrollIntoViewOptions;
|
|
@@ -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 found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* A reference to an immutable empty string.
|
|
10
|
-
*/
|
|
11
|
-
export declare const EMPTY_STRING: string;
|
|
@@ -1,66 +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 { Destroyable, HttpMockProductionPolicy } from "../model";
|
|
9
|
-
import { HttpMockingFrameworkConfig } from "../model/business/mock/http/config/http-mocking-framework-config";
|
|
10
|
-
import { HTTPMethodRef } from "../framework/mock/http/util/http-method-ref.enum";
|
|
11
|
-
/**
|
|
12
|
-
* The object that manages the HTTP Mocking Framework options.
|
|
13
|
-
*/
|
|
14
|
-
export declare class HttpMockingFrameworkConfigManager implements Destroyable {
|
|
15
|
-
/**
|
|
16
|
-
* @private
|
|
17
|
-
*/
|
|
18
|
-
private _document;
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
*/
|
|
22
|
-
private _config?;
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
private readonly _isProdMode;
|
|
27
|
-
/**
|
|
28
|
-
* @private
|
|
29
|
-
*/
|
|
30
|
-
private readonly _prodPolicy;
|
|
31
|
-
/**
|
|
32
|
-
* Returns the value specified by the `disableVisualFlag` of the `HttpMockingFrameworkConfig` provider,
|
|
33
|
-
* or `false` when no provider is defined.
|
|
34
|
-
*/
|
|
35
|
-
get disableVisualFlag(): boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Returns the value specified by the `productionPolicy` of the `HttpMockingFrameworkConfig` provider,
|
|
38
|
-
* or `HttpMockProductionPolicy.ERROR` when no provider is defined.
|
|
39
|
-
*/
|
|
40
|
-
get productionPolicy(): HttpMockProductionPolicy;
|
|
41
|
-
/**
|
|
42
|
-
* @private
|
|
43
|
-
* Creates and Initializes the manager with the specified config.
|
|
44
|
-
*
|
|
45
|
-
* @param document The reference to the `Document` object, injected by Angular.
|
|
46
|
-
* @param isDevMode Indicates wheter Angular runs in development mode (`true`), or in production mode (`false`).
|
|
47
|
-
* @param config The `HttpMockingFrameworkConfi` provider.
|
|
48
|
-
*/
|
|
49
|
-
constructor(document: Document, isDevMode: boolean, config?: HttpMockingFrameworkConfig);
|
|
50
|
-
/**
|
|
51
|
-
* Apply a strategy depending on the current production policy and environment.
|
|
52
|
-
* @param route An optional parameter used when the methhod is associated to a HTTP request.
|
|
53
|
-
* Must be the representation of the intercepted route path.
|
|
54
|
-
* @param method An optional parameter used when the methhod is associated to a HTTP request.
|
|
55
|
-
* Must be the representation of the intercepted HTTP method.
|
|
56
|
-
*/
|
|
57
|
-
checkPolicy(route?: string, method?: HTTPMethodRef | undefined): void;
|
|
58
|
-
/**
|
|
59
|
-
* @private
|
|
60
|
-
*/
|
|
61
|
-
destroy(): void;
|
|
62
|
-
/**
|
|
63
|
-
* @private
|
|
64
|
-
*/
|
|
65
|
-
private createVisualFlag;
|
|
66
|
-
}
|
package/lib/util/index.d.ts
DELETED
package/lib/util/js-type.d.ts
DELETED
|
@@ -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 found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* A reference to the `"undefined"` type.
|
|
10
|
-
*/
|
|
11
|
-
export declare const UNDEFINED: string;
|
|
12
|
-
/**
|
|
13
|
-
* A reference to the `"object"` type.
|
|
14
|
-
*/
|
|
15
|
-
export declare const OBJECT: string;
|
|
16
|
-
/**
|
|
17
|
-
* A reference to the `"boolean"` type.
|
|
18
|
-
*/
|
|
19
|
-
export declare const BOOLEAN: string;
|
|
20
|
-
/**
|
|
21
|
-
* A reference to the `"number"` type.
|
|
22
|
-
*/
|
|
23
|
-
export declare const NUMBER: string;
|
|
24
|
-
/**
|
|
25
|
-
* A reference to the `"bigint"` type.
|
|
26
|
-
*/
|
|
27
|
-
export declare const BIGINT: string;
|
|
28
|
-
/**
|
|
29
|
-
* A reference to the `"function"` type.
|
|
30
|
-
*/
|
|
31
|
-
export declare const FUNCTION: string;
|
|
32
|
-
/**
|
|
33
|
-
* A reference to the `"string"` type.
|
|
34
|
-
*/
|
|
35
|
-
export declare const STRING: string;
|
|
36
|
-
/**
|
|
37
|
-
* A reference to the `"symbol"` type.
|
|
38
|
-
*/
|
|
39
|
-
export declare const SYMBOL: string;
|
package/lib/util/uuid.d.ts
DELETED
|
@@ -1,89 +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 { Destroyable } from "../model";
|
|
9
|
-
/**
|
|
10
|
-
* A class that represents an immutable universally unique identifier (UUID).
|
|
11
|
-
* This class is not available in workers.
|
|
12
|
-
*/
|
|
13
|
-
export declare class Uuid implements Destroyable {
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
* Stores a reference to the UUID associated with this `Uuid` instance.
|
|
17
|
-
*/
|
|
18
|
-
private readonly _uuid;
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
* Stores a boolean value used to lock constructor access.
|
|
22
|
-
*/
|
|
23
|
-
private static _lockConstructor;
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
* Stores a reference to all UUIDs already created.
|
|
27
|
-
*/
|
|
28
|
-
private static _hash;
|
|
29
|
-
/**
|
|
30
|
-
* @private
|
|
31
|
-
* Created a new `Uuid` instance.
|
|
32
|
-
*
|
|
33
|
-
* @param uuid A string used that represents the UUID associated with this `Uuid` instance.
|
|
34
|
-
* If `null` creates a random UUID value.
|
|
35
|
-
* @param tracked If `true`, stores the UUID reference in the system.
|
|
36
|
-
*/
|
|
37
|
-
private constructor();
|
|
38
|
-
/**
|
|
39
|
-
* Returns a string that represents the UUID value associated with this `Uuid` instance.
|
|
40
|
-
*
|
|
41
|
-
* @returns The UUID string value associated with this `Uuid` instance.
|
|
42
|
-
*/
|
|
43
|
-
toString(): string;
|
|
44
|
-
/**
|
|
45
|
-
* Compares the given `Uuid` instance with this `Uuid`.
|
|
46
|
-
*
|
|
47
|
-
* @param uuid The `Uuid` instance to compare with this `Uuid`.
|
|
48
|
-
*
|
|
49
|
-
* @returns `true` whether both `Uuid` instances are equal; `false` otherwise.
|
|
50
|
-
*/
|
|
51
|
-
equals(uuid: Uuid): boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Creates and returns a new `Uuid` instance.
|
|
54
|
-
*
|
|
55
|
-
* @param track If `true`, stores the UUID reference in the system.
|
|
56
|
-
*
|
|
57
|
-
* @returns A new `Uuid` instance.
|
|
58
|
-
*/
|
|
59
|
-
static build(track?: boolean): Uuid;
|
|
60
|
-
/**
|
|
61
|
-
* Creates and returns a new `Uuid` instance built from the specified `uuid` parameter.
|
|
62
|
-
*
|
|
63
|
-
* @param uuid The UUID string value used to create the new `Uuid` instance.
|
|
64
|
-
* @param track If `true`, performs a validation process to ensure that the UUID string does not exists in the system.
|
|
65
|
-
*
|
|
66
|
-
* @returns A new `Uuid` instance built from the specified `uuid` parameter.
|
|
67
|
-
*/
|
|
68
|
-
static fromString(uuid: string, track?: boolean): Uuid;
|
|
69
|
-
/**
|
|
70
|
-
* Performs validation on the specified `uuid` string parameter.
|
|
71
|
-
*
|
|
72
|
-
* @param uuid A UUID representation string to validate.
|
|
73
|
-
* @returns `true` whether the `uuid` string parameter is valid; `false` otherwise.
|
|
74
|
-
*/
|
|
75
|
-
static validate(uuid: string): boolean;
|
|
76
|
-
/**
|
|
77
|
-
* Performs a test to ensure that the UUID string is not tracked the system.
|
|
78
|
-
*
|
|
79
|
-
* @param uuid A UUID representation string to test.
|
|
80
|
-
* @returns `true` whether the `uuid` string parameter is tracked; `false` otherwise.
|
|
81
|
-
*/
|
|
82
|
-
static isTracked(uuid: string): boolean;
|
|
83
|
-
/**
|
|
84
|
-
* Releases the `Uuid` instance from the tracking system and makes it elligible for garbage collection.
|
|
85
|
-
*
|
|
86
|
-
* @returns `true` whether the `Uuid` instance was found and removed; `false` otherwise.
|
|
87
|
-
*/
|
|
88
|
-
destroy(): boolean;
|
|
89
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { Version } from "../model";
|
|
9
|
-
/**
|
|
10
|
-
* A convenient utility class for working with `Version` objects.
|
|
11
|
-
*/
|
|
12
|
-
export declare class VersionUtil {
|
|
13
|
-
/**
|
|
14
|
-
* Returns a string that represents the specified `Version` object.
|
|
15
|
-
*
|
|
16
|
-
* @param version The `Version` object for which to get a string representation.
|
|
17
|
-
*
|
|
18
|
-
* @returns A string that represents the specified `Version` object.
|
|
19
|
-
*/
|
|
20
|
-
static stringify(version: Version): string;
|
|
21
|
-
/**
|
|
22
|
-
* Compares the given `Version` objects.
|
|
23
|
-
*
|
|
24
|
-
* @param v1 The first object to compare.
|
|
25
|
-
* @param v2 The second object to compare.
|
|
26
|
-
*
|
|
27
|
-
* @returns `true` whether both `Version` objects are equal; `false` otherwise.
|
|
28
|
-
*/
|
|
29
|
-
static equal(v1: Version, v2: Version): boolean;
|
|
30
|
-
}
|
|
@@ -1,46 +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 { WindowInit } from "../../model";
|
|
9
|
-
/**
|
|
10
|
-
* A static builder that creates the features associated with a popup window created by
|
|
11
|
-
* the `WindowService.open()` method.
|
|
12
|
-
*/
|
|
13
|
-
export declare class BrowserWindowFeaturesBuilder {
|
|
14
|
-
/**
|
|
15
|
-
* Builds a string that represents the features parameter of the `Window.open()` method.
|
|
16
|
-
*
|
|
17
|
-
* @param init A `WindowInit` object that contains data to initialize the features string.
|
|
18
|
-
*
|
|
19
|
-
* @returns A string that represents the features parameter of the `Window.open()` method.
|
|
20
|
-
*/
|
|
21
|
-
static build(init?: WindowInit): string;
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
static setCenterPos(init: WindowInit): void;
|
|
26
|
-
/**
|
|
27
|
-
* @private
|
|
28
|
-
*/
|
|
29
|
-
static getLeft(init?: WindowInit): string;
|
|
30
|
-
/**
|
|
31
|
-
* @private
|
|
32
|
-
*/
|
|
33
|
-
static getTop(init?: WindowInit): string;
|
|
34
|
-
/**
|
|
35
|
-
* @private
|
|
36
|
-
*/
|
|
37
|
-
static getWidth(init?: WindowInit): string;
|
|
38
|
-
/**
|
|
39
|
-
* @private
|
|
40
|
-
*/
|
|
41
|
-
static getHeight(init?: WindowInit): string;
|
|
42
|
-
/**
|
|
43
|
-
* @private
|
|
44
|
-
*/
|
|
45
|
-
static getPopupProp(property: string, init?: WindowInit): string;
|
|
46
|
-
}
|