ngx-bimplus-components 0.0.84-draggable → 0.0.84-draggable-2
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/esm2022/lib/components/bimplus-floating-bar-hide-objects/bimplus-floating-bar-hide-objects.component.mjs +2 -2
- package/esm2022/lib/components/bimplus-floating-bar-isolation-objects/bimplus-floating-bar-isolation-objects.component.mjs +2 -2
- package/esm2022/lib/components/bimplus-floating-bar-project-navigator/bimplus-floating-bar-project-navigator.component.mjs +3 -3
- package/esm2022/lib/services/layout-manager.service.mjs +32 -15
- package/fesm2022/ngx-bimplus-components.mjs +35 -18
- package/fesm2022/ngx-bimplus-components.mjs.map +1 -1
- package/lib/components/bimplus-floating-bar-hide-objects/bimplus-floating-bar-hide-objects.component.d.ts +3 -3
- package/lib/components/bimplus-floating-bar-isolation-objects/bimplus-floating-bar-isolation-objects.component.d.ts +3 -3
- package/lib/services/layout-manager.service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { EventEmitter, ElementRef, ChangeDetectorRef,
|
|
1
|
+
import { EventEmitter, ElementRef, ChangeDetectorRef, AfterViewInit } from '@angular/core';
|
|
2
2
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
3
|
import { BimplusLocalizedWidgetComponent } from "./../bimplus-localized-widget/bimplus-localized-widget.component";
|
|
4
4
|
import { FloatingBarItem } from '../bimplus-floating-bar/bimplus-floating-bar.interface';
|
|
5
5
|
import { LayoutManagerService } from '../../services/layout-manager.service';
|
|
6
6
|
import { ResizeObserverService } from '../../services/resize-observer.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class BimplusFloatingBarHideObjectsComponent extends BimplusLocalizedWidgetComponent implements
|
|
8
|
+
export declare class BimplusFloatingBarHideObjectsComponent extends BimplusLocalizedWidgetComponent implements AfterViewInit {
|
|
9
9
|
private element;
|
|
10
10
|
private cdr;
|
|
11
11
|
private resizeObserverService;
|
|
@@ -20,7 +20,7 @@ export declare class BimplusFloatingBarHideObjectsComponent extends BimplusLocal
|
|
|
20
20
|
title: string;
|
|
21
21
|
focusSelectorId: string;
|
|
22
22
|
constructor(translateService: TranslateService, layoutManagerService: LayoutManagerService, element: ElementRef, cdr: ChangeDetectorRef, resizeObserverService: ResizeObserverService);
|
|
23
|
-
|
|
23
|
+
ngAfterViewInit(): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusFloatingBarHideObjectsComponent, never>;
|
|
25
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFloatingBarHideObjectsComponent, "lib-bimplus-floating-bar-hide-objects", never, { "noBody": { "alias": "noBody"; "required": false; }; "isFocused": { "alias": "isFocused"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "actionClicked": "actionClicked"; }, never, never, true, never>;
|
|
26
26
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { EventEmitter, ElementRef, AfterViewChecked, ChangeDetectorRef,
|
|
1
|
+
import { EventEmitter, ElementRef, AfterViewChecked, ChangeDetectorRef, AfterViewInit } from '@angular/core';
|
|
2
2
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
3
|
import { BimplusLocalizedWidgetComponent } from "./../bimplus-localized-widget/bimplus-localized-widget.component";
|
|
4
4
|
import { FloatingBarItem } from '../bimplus-floating-bar/bimplus-floating-bar.interface';
|
|
5
5
|
import { LayoutManagerService } from '../../services/layout-manager.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class BimplusFloatingBarIsolationObjectsComponent extends BimplusLocalizedWidgetComponent implements
|
|
7
|
+
export declare class BimplusFloatingBarIsolationObjectsComponent extends BimplusLocalizedWidgetComponent implements AfterViewInit, AfterViewChecked {
|
|
8
8
|
private layoutManagerService;
|
|
9
9
|
private element;
|
|
10
10
|
private cdr;
|
|
@@ -18,7 +18,7 @@ export declare class BimplusFloatingBarIsolationObjectsComponent extends Bimplus
|
|
|
18
18
|
title: string;
|
|
19
19
|
focusSelectorId: string;
|
|
20
20
|
componentId: string;
|
|
21
|
-
|
|
21
|
+
ngAfterViewInit(): void;
|
|
22
22
|
ngAfterViewChecked(): void;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusFloatingBarIsolationObjectsComponent, never>;
|
|
24
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFloatingBarIsolationObjectsComponent, "lib-bimplus-floating-bar-isolation-objects", never, { "noBody": { "alias": "noBody"; "required": false; }; "isFocused": { "alias": "isFocused"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "actionClicked": "actionClicked"; }, never, never, true, never>;
|
|
@@ -50,7 +50,8 @@ export declare class LayoutManagerService {
|
|
|
50
50
|
* set object configuration
|
|
51
51
|
--------------------------------------------------------------------------*/
|
|
52
52
|
_setObjectConfig(obj: LayoutManagerItem, left: number, top: number, width: number, height: number): void;
|
|
53
|
-
|
|
53
|
+
_getDomParentElement(item: LayoutManagerItem): HTMLElement | null;
|
|
54
|
+
_getDomInternalElement(item: LayoutManagerItem, selector: string | undefined): HTMLElement | null;
|
|
54
55
|
_getElementRect(item: LayoutManagerItem, selector: string | undefined, parentRectangle: DOMRect | undefined): DOMRect | null;
|
|
55
56
|
checkPosition(id: string, selector: string, parentRectangle: DOMRect | undefined, deltaX: number, deltaY: number, forceCheck?: boolean): {
|
|
56
57
|
deltaX: number;
|