angular-toolbox 1.4.2 → 1.4.4
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/esm2022/lib/component/dropdown/dropdown.component.mjs +25 -4
- package/esm2022/lib/component/layout/border-layout/border-layout.component.mjs +9 -1
- package/esm2022/lib/component/layout/border-layout/util/border-layout-renderer.mjs +19 -6
- package/esm2022/lib/component/layout/border-layout-container/border-layout-container.component.mjs +3 -1
- package/esm2022/lib/model/business/ui/layout/index.mjs +2 -1
- package/esm2022/lib/model/business/ui/layout/layout-region.error.mjs +22 -0
- package/esm2022/lib/model/service/version/angular-toolbox-version.service.mjs +3 -3
- package/fesm2022/angular-toolbox.mjs +76 -10
- package/fesm2022/angular-toolbox.mjs.map +1 -1
- package/lib/component/dropdown/dropdown.component.d.ts +14 -1
- package/lib/component/layout/border-layout/border-layout.component.d.ts +7 -1
- package/lib/component/layout/border-layout/util/border-layout-renderer.d.ts +7 -1
- package/lib/model/business/ui/layout/index.d.ts +1 -0
- package/lib/model/business/ui/layout/layout-region.error.d.ts +19 -0
- package/package.json +1 -1
|
@@ -44,6 +44,11 @@ export declare class DropdownComponent extends IdentifiableComponent {
|
|
|
44
44
|
* (`auto`), or not (`manual`).
|
|
45
45
|
*/
|
|
46
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;
|
|
47
52
|
/**
|
|
48
53
|
* @private
|
|
49
54
|
*/
|
|
@@ -52,6 +57,14 @@ export declare class DropdownComponent extends IdentifiableComponent {
|
|
|
52
57
|
* @private
|
|
53
58
|
*/
|
|
54
59
|
private _popover;
|
|
60
|
+
/**
|
|
61
|
+
* @private
|
|
62
|
+
*/
|
|
63
|
+
private _button;
|
|
64
|
+
/**
|
|
65
|
+
* @private
|
|
66
|
+
*/
|
|
67
|
+
private _disabled;
|
|
55
68
|
/**
|
|
56
69
|
* @private
|
|
57
70
|
*/
|
|
@@ -83,5 +96,5 @@ export declare class DropdownComponent extends IdentifiableComponent {
|
|
|
83
96
|
*/
|
|
84
97
|
private buildEvent;
|
|
85
98
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
86
|
-
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; }; }, { "toggle": "toggle"; "beforeToggle": "beforeToggle"; }, never, ["*", "[content]"], true, 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>;
|
|
87
100
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
7
|
*/
|
|
8
8
|
import { AfterViewInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
9
|
-
import { LayoutDragEvent, LayoutRegion, LayoutRegionType, SubscriptionService } from '../../../model';
|
|
9
|
+
import { LayoutConstraints, LayoutDragEvent, LayoutRegion, LayoutRegionType, SubscriptionService } from '../../../model';
|
|
10
10
|
import { BorderLayoutRenderer } from './util/border-layout-renderer';
|
|
11
11
|
import { IdentifiableComponent } from '../../../core';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
@@ -75,6 +75,12 @@ export declare class BorderLayout extends IdentifiableComponent implements After
|
|
|
75
75
|
* @returns `true` whether the specified region has been resized; `false` otherwise.
|
|
76
76
|
*/
|
|
77
77
|
resizeRegion(region: LayoutRegion | LayoutRegionType, size: number): void;
|
|
78
|
+
/**
|
|
79
|
+
* Changes the constraints of the region specified by the `LayoutConstraints.region` property.
|
|
80
|
+
*
|
|
81
|
+
* @param constraints The new constraints of the associated region.
|
|
82
|
+
*/
|
|
83
|
+
setConstraints(constraints: LayoutConstraints): void;
|
|
78
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<BorderLayout, never>;
|
|
79
85
|
static ɵcmp: i0.ɵɵComponentDeclaration<BorderLayout, "atx-border-layout", never, {}, { "dragStart": "dragStart"; "dragStop": "dragStop"; "dragging": "dragging"; }, ["__containers__"], ["*"], true, never>;
|
|
80
86
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { EventEmitter, QueryList } from '@angular/core';
|
|
9
9
|
import { BorderLayoutContainer } from '../../border-layout-container/border-layout-container.component';
|
|
10
|
-
import { Destroyable, LayoutDragEvent, LayoutRegion, SubscriptionService } from '../../../../model';
|
|
10
|
+
import { Destroyable, LayoutConstraints, LayoutDragEvent, LayoutRegion, SubscriptionService } from '../../../../model';
|
|
11
11
|
import { IdentifiableComponent } from '../../../../core';
|
|
12
12
|
import { BorderLayoutBoundsManager } from './border-layout-bounds-manager';
|
|
13
13
|
/**
|
|
@@ -63,6 +63,12 @@ export declare class BorderLayoutRenderer extends IdentifiableComponent implemen
|
|
|
63
63
|
* Returns the reference to the internal `BorderLayoutBoundsManager` instance.
|
|
64
64
|
*/
|
|
65
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;
|
|
66
72
|
/**
|
|
67
73
|
* Makes this object elligible for garbage collection.
|
|
68
74
|
*/
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
+
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The `LayoutRegionError` class represents an error thrown by layout components when manipulating
|
|
10
|
+
* invalid regions of the container.
|
|
11
|
+
*/
|
|
12
|
+
export declare class LayoutRegionError extends Error {
|
|
13
|
+
/**
|
|
14
|
+
* Creates a new `LayoutRegionError` instance.
|
|
15
|
+
*
|
|
16
|
+
* @param message A human-readable description of the error.
|
|
17
|
+
*/
|
|
18
|
+
constructor(message: string);
|
|
19
|
+
}
|