angular-toolbox 1.4.4 → 1.4.5
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/layout/border-layout/border-layout.component.mjs +12 -1
- package/esm2022/lib/component/layout/border-layout/util/border-layout-renderer.mjs +15 -6
- package/esm2022/lib/model/service/version/angular-toolbox-version.service.mjs +3 -3
- package/fesm2022/angular-toolbox.mjs +27 -7
- package/fesm2022/angular-toolbox.mjs.map +1 -1
- package/lib/component/layout/border-layout/border-layout.component.d.ts +10 -0
- package/lib/component/layout/border-layout/util/border-layout-renderer.d.ts +10 -1
- package/package.json +1 -1
|
@@ -6,6 +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 { BorderLayoutContainer } from '../border-layout-container/border-layout-container.component';
|
|
9
10
|
import { LayoutConstraints, LayoutDragEvent, LayoutRegion, LayoutRegionType, SubscriptionService } from '../../../model';
|
|
10
11
|
import { BorderLayoutRenderer } from './util/border-layout-renderer';
|
|
11
12
|
import { IdentifiableComponent } from '../../../core';
|
|
@@ -81,6 +82,15 @@ export declare class BorderLayout extends IdentifiableComponent implements After
|
|
|
81
82
|
* @param constraints The new constraints of the associated region.
|
|
82
83
|
*/
|
|
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;
|
|
84
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<BorderLayout, never>;
|
|
85
95
|
static ɵcmp: i0.ɵɵComponentDeclaration<BorderLayout, "atx-border-layout", never, {}, { "dragStart": "dragStart"; "dragStop": "dragStop"; "dragging": "dragging"; }, ["__containers__"], ["*"], true, never>;
|
|
86
96
|
}
|
|
@@ -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, LayoutConstraints, LayoutDragEvent, LayoutRegion, SubscriptionService } from '../../../../model';
|
|
10
|
+
import { Destroyable, LayoutConstraints, LayoutDragEvent, LayoutRegion, LayoutRegionType, SubscriptionService } from '../../../../model';
|
|
11
11
|
import { IdentifiableComponent } from '../../../../core';
|
|
12
12
|
import { BorderLayoutBoundsManager } from './border-layout-bounds-manager';
|
|
13
13
|
/**
|
|
@@ -77,6 +77,15 @@ export declare class BorderLayoutRenderer extends IdentifiableComponent implemen
|
|
|
77
77
|
* Forces the layout of all `BorderLayoutContainer` objects associated with the main container.
|
|
78
78
|
*/
|
|
79
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;
|
|
80
89
|
/**
|
|
81
90
|
* Resizes the specified region of the associated container.
|
|
82
91
|
*
|