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.
@@ -1,11 +1,11 @@
1
- import { EventEmitter, ElementRef, ChangeDetectorRef, OnInit } from '@angular/core';
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 OnInit {
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
- ngOnInit(): void;
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, OnInit } from '@angular/core';
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 OnInit, AfterViewChecked {
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
- ngOnInit(): void;
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
- _getDomElement(item: LayoutManagerItem, selector: string | undefined): HTMLElement | null;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-bimplus-components",
3
- "version": "0.0.84-draggable",
3
+ "version": "0.0.84-draggable-2",
4
4
  "license": "MIT",
5
5
  "author": "",
6
6
  "description": "bim+ angular components library",