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
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* @private
|
|
4
|
-
*/
|
|
5
|
-
export declare class AngularToolboxModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AngularToolboxModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AngularToolboxModule, never, never, never>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AngularToolboxModule>;
|
|
9
|
-
}
|
|
@@ -1,28 +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 `ArrayListEventType` class the type of events on an `ArrayListEvent` object.
|
|
10
|
-
*/
|
|
11
|
-
export declare enum ArrayListEventType {
|
|
12
|
-
/**
|
|
13
|
-
* The type of event associated with the `ArrayList.addAll` action.
|
|
14
|
-
*/
|
|
15
|
-
ADD_ALL = "addAll",
|
|
16
|
-
/**
|
|
17
|
-
* The type of event associated with the `ArrayList.addItem`, or `ArrayList.addItemAt` actions.
|
|
18
|
-
*/
|
|
19
|
-
ADD = "add",
|
|
20
|
-
/**
|
|
21
|
-
* The type of event associated with the `ArrayList.removeAll` action.
|
|
22
|
-
*/
|
|
23
|
-
REMOVE_ALL = "removeAll",
|
|
24
|
-
/**
|
|
25
|
-
* The type of event associated with the `ArrayList.remove`, or `ArrayList.removeAt` actions.
|
|
26
|
-
*/
|
|
27
|
-
REMOVE = "remove"
|
|
28
|
-
}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
import { EventEmitter } from "@angular/core";
|
|
9
|
-
import { IdentifiableComponent } from "../core";
|
|
10
|
-
import { ArrayListEvent } from "./array-list.event";
|
|
11
|
-
/**
|
|
12
|
-
* The `ArrayList` class uses a backing `Array` as the source of the data collection. Items in the backing
|
|
13
|
-
* `Array` can be accessed and manipulated using the methods and properties of the `ArrayList` instance.
|
|
14
|
-
* Operations on an `ArrayList` instance modify the data source.
|
|
15
|
-
*
|
|
16
|
-
* You typically use the `ArrayList` class as base class for services that persist data in the User Interface.
|
|
17
|
-
*/
|
|
18
|
-
export declare class ArrayList<T> extends IdentifiableComponent {
|
|
19
|
-
/**
|
|
20
|
-
* Dispatches events each time this `ArrayList` is modified.
|
|
21
|
-
*/
|
|
22
|
-
readonly change: EventEmitter<ArrayListEvent<T>>;
|
|
23
|
-
/**
|
|
24
|
-
* Gets the number of items in the list.
|
|
25
|
-
*/
|
|
26
|
-
get length(): number;
|
|
27
|
-
/**
|
|
28
|
-
* @private
|
|
29
|
-
* The array used as a source for the `ArrayList`.
|
|
30
|
-
*/
|
|
31
|
-
protected __list__: Array<T>;
|
|
32
|
-
/**
|
|
33
|
-
* @private
|
|
34
|
-
*/
|
|
35
|
-
constructor(classRef?: string | undefined);
|
|
36
|
-
/**
|
|
37
|
-
* Adds a list of items to the current `ArrayList` instance, placing them at the end of the
|
|
38
|
-
* list in the order they are passed.
|
|
39
|
-
*
|
|
40
|
-
* @param addList The list of items to add to this current `ArrayList` instance.
|
|
41
|
-
*
|
|
42
|
-
* @return A reference to this `ArrayList` instance.
|
|
43
|
-
*/
|
|
44
|
-
addAll(addList: Array<T>): ArrayList<T>;
|
|
45
|
-
/**
|
|
46
|
-
* Adds the specified item to the end of the list.
|
|
47
|
-
*
|
|
48
|
-
* @param item The item to add.
|
|
49
|
-
*
|
|
50
|
-
* @return A reference to this `ArrayList` instance.
|
|
51
|
-
*/
|
|
52
|
-
addItem(item: T): ArrayList<T>;
|
|
53
|
-
/**
|
|
54
|
-
* Adds the item at the specified index.
|
|
55
|
-
*
|
|
56
|
-
* @param item The item to place at the index.
|
|
57
|
-
* @param index The index at which to place the item.
|
|
58
|
-
*
|
|
59
|
-
* @return A reference to this `ArrayList` instance.
|
|
60
|
-
*/
|
|
61
|
-
addItemAt(item: T, index: number): ArrayList<T>;
|
|
62
|
-
/**
|
|
63
|
-
* Gets the item at the specified index.
|
|
64
|
-
*
|
|
65
|
-
* @param index The index in the list from which to retrieve the item.
|
|
66
|
-
*
|
|
67
|
-
* @returns The item at that index, `undefined` if there is none.
|
|
68
|
-
*/
|
|
69
|
-
getItemAt(index: number): T | undefined;
|
|
70
|
-
/**
|
|
71
|
-
* Returns the index of the item if it is in the list.
|
|
72
|
-
*
|
|
73
|
-
* @param item The item to find.
|
|
74
|
-
*
|
|
75
|
-
* @returns The index of the item, `-1` if the item is not in the list.
|
|
76
|
-
*/
|
|
77
|
-
getItemIndex(item: T): number;
|
|
78
|
-
/**
|
|
79
|
-
* Removes all items from the list.
|
|
80
|
-
*
|
|
81
|
-
* @return A reference to this `ArrayList` instance.
|
|
82
|
-
*/
|
|
83
|
-
removeAll(): ArrayList<T>;
|
|
84
|
-
/**
|
|
85
|
-
* Removes the specified item from this list.
|
|
86
|
-
*
|
|
87
|
-
* @param item Reference to the item that should be removed.
|
|
88
|
-
*
|
|
89
|
-
* @returns `true` whether if the item was removed; `false` otherwise.
|
|
90
|
-
*/
|
|
91
|
-
removeItem(item: T): boolean;
|
|
92
|
-
/**
|
|
93
|
-
* Removes the item at the specified index and returns it.
|
|
94
|
-
* Any items that were after this index are now one index earlier.
|
|
95
|
-
*
|
|
96
|
-
* @param index The index from which to remove the item.
|
|
97
|
-
|
|
98
|
-
* @returns The item that was removed.
|
|
99
|
-
*/
|
|
100
|
-
removeItemAt(index: number): T | undefined;
|
|
101
|
-
/**
|
|
102
|
-
* Returns an array that is populated in the same order as this `ArrayList` instance.
|
|
103
|
-
*
|
|
104
|
-
* @returns An array that is populated in the same order as this `ArrayList` instance.
|
|
105
|
-
*/
|
|
106
|
-
toArray(): Array<T>;
|
|
107
|
-
/**
|
|
108
|
-
* @private
|
|
109
|
-
*/
|
|
110
|
-
private dispatchEvent;
|
|
111
|
-
}
|
|
@@ -1,29 +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 { ArrayList } from "./array-list";
|
|
9
|
-
import { ArrayListEventType } from "./array-list-event-type.enum";
|
|
10
|
-
/**
|
|
11
|
-
* The `ArrayListEvent` class represents an event that is dispatched when the associated collection changes.
|
|
12
|
-
*/
|
|
13
|
-
export declare class ArrayListEvent<T> {
|
|
14
|
-
/**
|
|
15
|
-
* The type of this event.
|
|
16
|
-
*/
|
|
17
|
-
readonly type: ArrayListEventType;
|
|
18
|
-
/**
|
|
19
|
-
* The reference to the `ArrayList` instance that dispatches this event.
|
|
20
|
-
*/
|
|
21
|
-
readonly list: ArrayList<T>;
|
|
22
|
-
/**
|
|
23
|
-
* Represents events dispatched by the `ArrayList` class.
|
|
24
|
-
*
|
|
25
|
-
* @param type The type of the event.
|
|
26
|
-
* @param list The reference to the `ArrayList` instance that dispatches this event.
|
|
27
|
-
*/
|
|
28
|
-
constructor(type: ArrayListEventType, list: ArrayList<T>);
|
|
29
|
-
}
|
|
@@ -1,10 +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 './array-list';
|
|
9
|
-
export * from './array-list.event';
|
|
10
|
-
export * from './array-list-event-type.enum';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class AngularToolboxLogoComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AngularToolboxLogoComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AngularToolboxLogoComponent, "atx-logo", never, {}, {}, never, never, true, never>;
|
|
5
|
-
}
|
|
@@ -1,100 +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 { EventEmitter } from '@angular/core';
|
|
9
|
-
import { IdentifiableComponent } from '../../core';
|
|
10
|
-
import { DropdownEvent, DropdownHorizontalPosition, DropdownVerticalPosition, PopoverState } from '../../model';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* The ATX dropdown component allows to create popup containers that are displayed by clicking on a button.
|
|
14
|
-
* The content of the container is defined by Developer.
|
|
15
|
-
* This component is part of the LAF-less API.
|
|
16
|
-
*/
|
|
17
|
-
export declare class DropdownComponent extends IdentifiableComponent {
|
|
18
|
-
/**
|
|
19
|
-
* An event fired on the dropdown component just after it is shown or hidden.
|
|
20
|
-
*/
|
|
21
|
-
readonly toggle: EventEmitter<DropdownEvent>;
|
|
22
|
-
/**
|
|
23
|
-
* An event fired on the dropdown component just before it is shown or hidden.
|
|
24
|
-
*/
|
|
25
|
-
readonly beforeToggle: EventEmitter<DropdownEvent>;
|
|
26
|
-
/**
|
|
27
|
-
* Sets the dropdown button CSS class.
|
|
28
|
-
*/
|
|
29
|
-
buttonClass: string;
|
|
30
|
-
/**
|
|
31
|
-
* Sets the dropdown conpoment CSS class.
|
|
32
|
-
*/
|
|
33
|
-
containerClass: string;
|
|
34
|
-
/**
|
|
35
|
-
* Sets the vertical position of the content container.
|
|
36
|
-
*/
|
|
37
|
-
vPos: DropdownVerticalPosition;
|
|
38
|
-
/**
|
|
39
|
-
* Sets the horizontal position of the content container.
|
|
40
|
-
*/
|
|
41
|
-
hPos: DropdownHorizontalPosition;
|
|
42
|
-
/**
|
|
43
|
-
* Indicates whether the content container can be "light dismissed" by selecting outside the popover area
|
|
44
|
-
* (`auto`), or not (`manual`).
|
|
45
|
-
*/
|
|
46
|
-
popoverState: PopoverState;
|
|
47
|
-
/**
|
|
48
|
-
* The disabled property sets or returns whether a dropdown is disabled, or not.
|
|
49
|
-
*/
|
|
50
|
-
set disabled(value: boolean);
|
|
51
|
-
get disabled(): boolean;
|
|
52
|
-
/**
|
|
53
|
-
* @private
|
|
54
|
-
*/
|
|
55
|
-
protected id: string;
|
|
56
|
-
/**
|
|
57
|
-
* @private
|
|
58
|
-
*/
|
|
59
|
-
private _popover;
|
|
60
|
-
/**
|
|
61
|
-
* @private
|
|
62
|
-
*/
|
|
63
|
-
private _button;
|
|
64
|
-
/**
|
|
65
|
-
* @private
|
|
66
|
-
*/
|
|
67
|
-
private _disabled;
|
|
68
|
-
/**
|
|
69
|
-
* @private
|
|
70
|
-
*/
|
|
71
|
-
constructor();
|
|
72
|
-
/**
|
|
73
|
-
* Hides the dropdown container.
|
|
74
|
-
*/
|
|
75
|
-
hideContent(): void;
|
|
76
|
-
/**
|
|
77
|
-
* Displays the dropdown container.
|
|
78
|
-
*/
|
|
79
|
-
showContent(): void;
|
|
80
|
-
/**
|
|
81
|
-
* Returns the display state of the dropdown.
|
|
82
|
-
*
|
|
83
|
-
* @returns Returns `true` whether the dropdown is opened; `false` otherwise.
|
|
84
|
-
*/
|
|
85
|
-
isOpen(): boolean;
|
|
86
|
-
/**
|
|
87
|
-
* @private
|
|
88
|
-
*/
|
|
89
|
-
protected onBeforeToggle(event: Event): void;
|
|
90
|
-
/**
|
|
91
|
-
* @private
|
|
92
|
-
*/
|
|
93
|
-
protected onToggle(event: Event): void;
|
|
94
|
-
/**
|
|
95
|
-
* @private
|
|
96
|
-
*/
|
|
97
|
-
private buildEvent;
|
|
98
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
99
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "atx-dropdown", never, { "buttonClass": { "alias": "buttonClass"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "vPos": { "alias": "vPos"; "required": false; }; "hPos": { "alias": "hPos"; "required": false; }; "popoverState": { "alias": "popoverState"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "toggle": "toggle"; "beforeToggle": "beforeToggle"; }, never, ["*", "[content]"], true, never>;
|
|
100
|
-
}
|
package/lib/component/index.d.ts
DELETED
|
@@ -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
|
-
export * from './angular-toolbox-logo/angular-toolbox-logo.component';
|
|
9
|
-
export * from './dropdown/dropdown.component';
|
|
10
|
-
export * from './navbar/navbar.component';
|
|
11
|
-
export * from './layout';
|
|
@@ -1,96 +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 { AfterViewInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
9
|
-
import { BorderLayoutContainer } from '../border-layout-container/border-layout-container.component';
|
|
10
|
-
import { LayoutConstraints, LayoutDragEvent, LayoutRegion, LayoutRegionType, SubscriptionService } from '../../../model';
|
|
11
|
-
import { BorderLayoutRenderer } from './util/border-layout-renderer';
|
|
12
|
-
import { IdentifiableComponent } from '../../../core';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
/**
|
|
15
|
-
* A border layout lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center.
|
|
16
|
-
* Each region is defined by a `BorderLayoutContainer` instance, and is identified by a corresponding constant: `NORTH`, `SOUTH`, `EAST`, `WEST`, and `CENTER`.
|
|
17
|
-
* This component is part of the LAF-less API.
|
|
18
|
-
*/
|
|
19
|
-
export declare class BorderLayout extends IdentifiableComponent implements AfterViewInit, OnDestroy {
|
|
20
|
-
private subscribeSvc;
|
|
21
|
-
/**
|
|
22
|
-
* Emits events each time the user starts dragging a region handle.
|
|
23
|
-
*/
|
|
24
|
-
readonly dragStart: EventEmitter<LayoutDragEvent>;
|
|
25
|
-
/**
|
|
26
|
-
* Emits events each time the user stops dragging a region handle.
|
|
27
|
-
*/
|
|
28
|
-
readonly dragStop: EventEmitter<LayoutDragEvent>;
|
|
29
|
-
/**
|
|
30
|
-
* Emits events each time the user is dragging a region handle.
|
|
31
|
-
*/
|
|
32
|
-
readonly dragging: EventEmitter<LayoutDragEvent>;
|
|
33
|
-
/**
|
|
34
|
-
* @private
|
|
35
|
-
*/
|
|
36
|
-
private onResize;
|
|
37
|
-
/**
|
|
38
|
-
* @private
|
|
39
|
-
*/
|
|
40
|
-
private layoutContainer;
|
|
41
|
-
/**
|
|
42
|
-
* @private
|
|
43
|
-
*/
|
|
44
|
-
private renderer;
|
|
45
|
-
/**
|
|
46
|
-
* @private
|
|
47
|
-
*/
|
|
48
|
-
private set __containers__(value);
|
|
49
|
-
/**
|
|
50
|
-
* @private
|
|
51
|
-
*/
|
|
52
|
-
constructor(subscribeSvc: SubscriptionService, document: Document);
|
|
53
|
-
/**
|
|
54
|
-
* @private
|
|
55
|
-
* For test purpose only.
|
|
56
|
-
*/
|
|
57
|
-
getRenderer(): BorderLayoutRenderer;
|
|
58
|
-
/**
|
|
59
|
-
* @private
|
|
60
|
-
*/
|
|
61
|
-
ngOnDestroy(): void;
|
|
62
|
-
/**
|
|
63
|
-
* @private
|
|
64
|
-
*/
|
|
65
|
-
ngAfterViewInit(): void;
|
|
66
|
-
/**
|
|
67
|
-
* Forces the container to be redrawn.
|
|
68
|
-
*/
|
|
69
|
-
paint(): void;
|
|
70
|
-
/**
|
|
71
|
-
* Resizes the specified region.
|
|
72
|
-
*
|
|
73
|
-
* @param region The region to resize.
|
|
74
|
-
* @param size The new size of the region to resize.
|
|
75
|
-
*
|
|
76
|
-
* @returns `true` whether the specified region has been resized; `false` otherwise.
|
|
77
|
-
*/
|
|
78
|
-
resizeRegion(region: LayoutRegion | LayoutRegionType, size: number): void;
|
|
79
|
-
/**
|
|
80
|
-
* Changes the constraints of the region specified by the `LayoutConstraints.region` property.
|
|
81
|
-
*
|
|
82
|
-
* @param constraints The new constraints of the associated region.
|
|
83
|
-
*/
|
|
84
|
-
setConstraints(constraints: LayoutConstraints): void;
|
|
85
|
-
/**
|
|
86
|
-
* Returns the `BorderLayoutContainer` component associated with the specified region.
|
|
87
|
-
*
|
|
88
|
-
* @param region The region for which to retreive the container.
|
|
89
|
-
*
|
|
90
|
-
* @returns The `BorderLayoutContainer` component associated with the specified region,
|
|
91
|
-
* or `undefined` whether no container has been found.
|
|
92
|
-
*/
|
|
93
|
-
getBorderLayoutContainer(region: LayoutRegionType): BorderLayoutContainer | undefined;
|
|
94
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BorderLayout, never>;
|
|
95
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BorderLayout, "atx-border-layout", never, {}, { "dragStart": "dragStart"; "dragStop": "dragStop"; "dragging": "dragging"; }, ["__containers__"], ["*"], true, never>;
|
|
96
|
-
}
|
|
@@ -1,131 +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 { BorderLayoutContainer } from '../../border-layout-container/border-layout-container.component';
|
|
9
|
-
import { Destroyable, LayoutRegion } from '../../../../model';
|
|
10
|
-
import { ResizeMethod } from './resize-method';
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
* A utility class that computes the size of all border layout containers.
|
|
14
|
-
*/
|
|
15
|
-
export declare class BorderLayoutBoundsManager implements Destroyable {
|
|
16
|
-
/**
|
|
17
|
-
* @private
|
|
18
|
-
* The container top position when the user starts to drag the handle.
|
|
19
|
-
*/
|
|
20
|
-
private topPos;
|
|
21
|
-
/**
|
|
22
|
-
* @private
|
|
23
|
-
* The container left position when the user starts to drag the handle.
|
|
24
|
-
*/
|
|
25
|
-
private leftPos;
|
|
26
|
-
/**
|
|
27
|
-
* @private
|
|
28
|
-
* The bounds of the center container.
|
|
29
|
-
*/
|
|
30
|
-
private bounds;
|
|
31
|
-
/**
|
|
32
|
-
* Makes this object elligible for garbage collection.
|
|
33
|
-
*/
|
|
34
|
-
destroy(): void;
|
|
35
|
-
/**
|
|
36
|
-
* Returns a rectangle that represents the bounds currently computed by this object.
|
|
37
|
-
*
|
|
38
|
-
* @returns The bounds currently computed by this object.
|
|
39
|
-
*/
|
|
40
|
-
getBounds(): DOMRect;
|
|
41
|
-
/**
|
|
42
|
-
* Sets the top-left hand corner position before each bounds computaion.
|
|
43
|
-
*
|
|
44
|
-
* @param x The x position of the main container, in pixels, before computaion.
|
|
45
|
-
* @param y The y position of the main container, in pixels, before computaion.
|
|
46
|
-
*/
|
|
47
|
-
setOrigin(x: number, y: number): void;
|
|
48
|
-
/**
|
|
49
|
-
* @private
|
|
50
|
-
* For test purpose only.
|
|
51
|
-
*/
|
|
52
|
-
getOrigin(): any;
|
|
53
|
-
/**
|
|
54
|
-
* Computes the size of a "north" container.
|
|
55
|
-
*
|
|
56
|
-
* @param event The mouse event that triggered the computation of the container size.
|
|
57
|
-
* @param width The width of the main container.
|
|
58
|
-
* @param height The height of the main container.
|
|
59
|
-
* @param minSize The minimum size of the container for which to compute the size.
|
|
60
|
-
* @param maxSize The maximum size of the container for which to compute the size.
|
|
61
|
-
*
|
|
62
|
-
* @returns The size of a "north" container.
|
|
63
|
-
*/
|
|
64
|
-
northResize(event: MouseEvent, width: number, height: number, minSize: number | undefined, maxSize: number | undefined): number;
|
|
65
|
-
/**
|
|
66
|
-
* @private
|
|
67
|
-
*/
|
|
68
|
-
private setY;
|
|
69
|
-
/**
|
|
70
|
-
* Computes the size of a "south" container.
|
|
71
|
-
*
|
|
72
|
-
* @param event The mouse event that triggered the computation of the container size.
|
|
73
|
-
* @param width The width of the main container.
|
|
74
|
-
* @param height The height of the main container.
|
|
75
|
-
* @param minSize The minimum size of the container for which to compute the size.
|
|
76
|
-
* @param maxSize The maximum size of the container for which to compute the size.
|
|
77
|
-
*
|
|
78
|
-
* @returns The size of a "south" container.
|
|
79
|
-
*/
|
|
80
|
-
southResize(event: MouseEvent, width: number, height: number, minSize: number | undefined, maxSize: number | undefined): number;
|
|
81
|
-
/**
|
|
82
|
-
* @private
|
|
83
|
-
*/
|
|
84
|
-
private setHeight;
|
|
85
|
-
/**
|
|
86
|
-
* Computes the size of a "west" container.
|
|
87
|
-
*
|
|
88
|
-
* @param event The mouse event that triggered the computation of the container size.
|
|
89
|
-
* @param width The width of the main container.
|
|
90
|
-
* @param height The height of the main container.
|
|
91
|
-
* @param minSize The minimum size of the container for which to compute the size.
|
|
92
|
-
* @param maxSize The maximum size of the container for which to compute the size.
|
|
93
|
-
*
|
|
94
|
-
* @returns The size of a "west" container.
|
|
95
|
-
*/
|
|
96
|
-
westResize(event: MouseEvent, width: number, height: number, minSize: number | undefined, maxSize: number | undefined): number;
|
|
97
|
-
/**
|
|
98
|
-
* @private
|
|
99
|
-
*/
|
|
100
|
-
private setX;
|
|
101
|
-
/**
|
|
102
|
-
* Computes the size of a "east" container.
|
|
103
|
-
*
|
|
104
|
-
* @param event The mouse event that triggered the computation of the container size.
|
|
105
|
-
* @param width The width of the main container.
|
|
106
|
-
* @param height The height of the main container.
|
|
107
|
-
* @param minSize The minimum size of the container for which to compute the size.
|
|
108
|
-
* @param maxSize The maximum size of the container for which to compute the size.
|
|
109
|
-
*
|
|
110
|
-
* @returns The size of a "east" container.
|
|
111
|
-
*/
|
|
112
|
-
eastResize(event: MouseEvent, width: number, height: number, minSize: number | undefined, maxSize: number | undefined): number;
|
|
113
|
-
/**
|
|
114
|
-
* @private
|
|
115
|
-
*/
|
|
116
|
-
private setWidth;
|
|
117
|
-
/**
|
|
118
|
-
* Invoked after each `BorderLayoutContainer` registration to initialize the center container bounds.
|
|
119
|
-
*
|
|
120
|
-
* @param container A `BorderLayoutContainer` instance added to the main container.
|
|
121
|
-
*/
|
|
122
|
-
initBounds(container: BorderLayoutContainer): void;
|
|
123
|
-
/**
|
|
124
|
-
* Returns the method used to compute the size of a container, depending on the specified region.
|
|
125
|
-
*
|
|
126
|
-
* @param region The region associated with the container for which to compute the size.
|
|
127
|
-
*
|
|
128
|
-
* @returns The method used to compute the size of a container.
|
|
129
|
-
*/
|
|
130
|
-
getResizeMethod(region: LayoutRegion): ResizeMethod;
|
|
131
|
-
}
|
|
@@ -1,118 +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, QueryList } from '@angular/core';
|
|
9
|
-
import { BorderLayoutContainer } from '../../border-layout-container/border-layout-container.component';
|
|
10
|
-
import { Destroyable, LayoutConstraints, LayoutDragEvent, LayoutRegion, LayoutRegionType, SubscriptionService } from '../../../../model';
|
|
11
|
-
import { IdentifiableComponent } from '../../../../core';
|
|
12
|
-
import { BorderLayoutBoundsManager } from './border-layout-bounds-manager';
|
|
13
|
-
/**
|
|
14
|
-
* @private
|
|
15
|
-
* A controller object responsible for handling user actions on a `BorderLayout` container.
|
|
16
|
-
*/
|
|
17
|
-
export declare class BorderLayoutRenderer extends IdentifiableComponent implements Destroyable {
|
|
18
|
-
private subscribeSvc;
|
|
19
|
-
private document;
|
|
20
|
-
/**
|
|
21
|
-
* Emits events each time the user starts, or stops dragging handle.
|
|
22
|
-
*/
|
|
23
|
-
readonly userAction: EventEmitter<LayoutDragEvent>;
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
|
-
private lytContainerElm;
|
|
28
|
-
/**
|
|
29
|
-
* @private
|
|
30
|
-
*/
|
|
31
|
-
private containerList;
|
|
32
|
-
/**
|
|
33
|
-
* @private
|
|
34
|
-
*/
|
|
35
|
-
private boundsManager;
|
|
36
|
-
/**
|
|
37
|
-
* @private
|
|
38
|
-
*/
|
|
39
|
-
private storedStopHandler;
|
|
40
|
-
/**
|
|
41
|
-
* @private
|
|
42
|
-
*/
|
|
43
|
-
private storedMoveHandler;
|
|
44
|
-
/**
|
|
45
|
-
* @private
|
|
46
|
-
*/
|
|
47
|
-
constructor(subscribeSvc: SubscriptionService, document: Document);
|
|
48
|
-
/**
|
|
49
|
-
* Add the list `BorderLayoutContainer` objects associated with the main container to this controller.
|
|
50
|
-
*
|
|
51
|
-
* @param containers the list `BorderLayoutContainer` objects associated with the main container.
|
|
52
|
-
*/
|
|
53
|
-
addContainers(containers: QueryList<BorderLayoutContainer>): void;
|
|
54
|
-
/**
|
|
55
|
-
* Sets the reference to the HTML container associated with the main container.
|
|
56
|
-
*
|
|
57
|
-
* @param lytContainer The reference to the HTML container associated with the main container.
|
|
58
|
-
*/
|
|
59
|
-
setLayoutContainer(lytContainer: HTMLDivElement): void;
|
|
60
|
-
/**
|
|
61
|
-
* @private
|
|
62
|
-
* For test purpose only.
|
|
63
|
-
* Returns the reference to the internal `BorderLayoutBoundsManager` instance.
|
|
64
|
-
*/
|
|
65
|
-
getBoundsManager(): BorderLayoutBoundsManager;
|
|
66
|
-
/**
|
|
67
|
-
* Changes the constraints of the region specified by the `LayoutConstraints.region` property.
|
|
68
|
-
*
|
|
69
|
-
* @param constraints The new constraints of the associated region.
|
|
70
|
-
*/
|
|
71
|
-
setConstraints(constraints: LayoutConstraints): void;
|
|
72
|
-
/**
|
|
73
|
-
* Makes this object elligible for garbage collection.
|
|
74
|
-
*/
|
|
75
|
-
destroy(): void;
|
|
76
|
-
/**
|
|
77
|
-
* Forces the layout of all `BorderLayoutContainer` objects associated with the main container.
|
|
78
|
-
*/
|
|
79
|
-
paint(): void;
|
|
80
|
-
/**
|
|
81
|
-
* Returns the `BorderLayoutContainer` component associated with the specified region.
|
|
82
|
-
*
|
|
83
|
-
* @param region The region for which to retreive the container.
|
|
84
|
-
*
|
|
85
|
-
* @returns The `BorderLayoutContainer` component associated with the specified region,
|
|
86
|
-
* or `undefined` whether no container has been found.
|
|
87
|
-
*/
|
|
88
|
-
getBorderLayoutContainer(region: LayoutRegionType): BorderLayoutContainer | undefined;
|
|
89
|
-
/**
|
|
90
|
-
* Resizes the specified region of the associated container.
|
|
91
|
-
*
|
|
92
|
-
* @param region The region to resize.
|
|
93
|
-
* @param size The new size of the region to resize.
|
|
94
|
-
*
|
|
95
|
-
* @returns `true` whether the specified region has been resized; `false` otherwise.
|
|
96
|
-
*/
|
|
97
|
-
resizeRegion(region: LayoutRegion, size: number): boolean;
|
|
98
|
-
/**
|
|
99
|
-
* @private
|
|
100
|
-
*/
|
|
101
|
-
private resizeEnter;
|
|
102
|
-
/**
|
|
103
|
-
* @private
|
|
104
|
-
*/
|
|
105
|
-
private fireEvent;
|
|
106
|
-
/**
|
|
107
|
-
* @private
|
|
108
|
-
*/
|
|
109
|
-
private render;
|
|
110
|
-
/**
|
|
111
|
-
* @private
|
|
112
|
-
*/
|
|
113
|
-
private checkLytContainer;
|
|
114
|
-
/**
|
|
115
|
-
* @private
|
|
116
|
-
*/
|
|
117
|
-
private deleteStoredHandlers;
|
|
118
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
* A convenient type that describes methods used to compute the size of a `BorderlayoutContainer` object,
|
|
11
|
-
* depending on its region.
|
|
12
|
-
*/
|
|
13
|
-
export type ResizeMethod = (event: MouseEvent, width: number, height: number, minSize: number | undefined, maxSize: number | undefined) => number;
|