@dangl/angular-ava 1.1.2-beta0055 → 1.1.2-beta0061

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,4 +1,4 @@
1
- import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
1
+ import { AfterViewInit, ApplicationRef, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { ITextWords } from '../../constants/defaultTextWords';
3
3
  import { ContextMenuDataType, IElementDto, IFunctionViewLine, ModeViewType, ProjectDto, SelectedElement, ServiceSpecificationDto, TableColumnType } from '../../model';
4
4
  import { ExpandParentGroupService } from '../../services/expand-parent-group.service';
@@ -7,6 +7,8 @@ import { IKeyboardOperationConfig, KeyboardOperationService } from '../../servic
7
7
  import { SelectElementService } from '../../services/select-element.service';
8
8
  import { TreeNodeSelectionService } from '../../services/tree-node-selection.service';
9
9
  import { TreeWordsService } from '../../services/tree-words.service';
10
+ import { TreeHoverTooltipComponent } from 'projects/angular-ava/src/lib/ava-tree/tree/components/tree-hover-tooltip/tree-hover-tooltip.component';
11
+ import { DynamicComponentService } from 'projects/angular-ava/src/lib/ava-tree/tree/services/dynamic-component.service';
10
12
  import * as i0 from "@angular/core";
11
13
  export declare class AvaTreeComponent implements OnInit, OnChanges, OnDestroy, AfterViewInit {
12
14
  private flatElementsService;
@@ -16,6 +18,8 @@ export declare class AvaTreeComponent implements OnInit, OnChanges, OnDestroy, A
16
18
  private keyboardOperationService;
17
19
  private ngZone;
18
20
  private treeWordsService;
21
+ private dynamicComponentService;
22
+ private appRef;
19
23
  /**
20
24
  * This is the main data element for the tree structure. You should supply a ProjectDto with
21
25
  * exactly one service specification in it.
@@ -160,7 +164,7 @@ export declare class AvaTreeComponent implements OnInit, OnChanges, OnDestroy, A
160
164
  private $filter;
161
165
  filteredElementList: IElementDto[];
162
166
  private $destroy;
163
- constructor(flatElementsService: FlatElementsService, selectElementService: SelectElementService, treeNodeSelectionService: TreeNodeSelectionService, expandParentGroupService: ExpandParentGroupService, keyboardOperationService: KeyboardOperationService, ngZone: NgZone, treeWordsService: TreeWordsService);
167
+ constructor(flatElementsService: FlatElementsService, selectElementService: SelectElementService, treeNodeSelectionService: TreeNodeSelectionService, expandParentGroupService: ExpandParentGroupService, keyboardOperationService: KeyboardOperationService, ngZone: NgZone, treeWordsService: TreeWordsService, dynamicComponentService: DynamicComponentService<TreeHoverTooltipComponent>, appRef: ApplicationRef);
164
168
  ngOnInit(): void;
165
169
  ngAfterViewInit(): void;
166
170
  ngOnChanges(changes: SimpleChanges): void;
@@ -178,6 +182,6 @@ export declare class AvaTreeComponent implements OnInit, OnChanges, OnDestroy, A
178
182
  selectOrDeselectAll(value: boolean): void;
179
183
  private getFilteredList;
180
184
  private initializeEventListeners;
181
- static ɵfac: i0.ɵɵFactoryDeclaration<AvaTreeComponent, [{ self: true; }, { self: true; }, { self: true; }, { self: true; }, { self: true; }, null, null]>;
185
+ static ɵfac: i0.ɵɵFactoryDeclaration<AvaTreeComponent, [{ self: true; }, { self: true; }, { self: true; }, { self: true; }, { self: true; }, null, null, null, null]>;
182
186
  static ɵcmp: i0.ɵɵComponentDeclaration<AvaTreeComponent, "ava-tree", never, { "project": { "alias": "project"; "required": false; }; "expansionState": { "alias": "expansionState"; "required": false; }; "selectedNodeId": { "alias": "selectedNodeId"; "required": false; }; "indent": { "alias": "indent"; "required": false; }; "selectedColor": { "alias": "selectedColor"; "required": false; }; "modeView": { "alias": "modeView"; "required": false; }; "allowDblClick": { "alias": "allowDblClick"; "required": false; }; "isSelectionMode": { "alias": "isSelectionMode"; "required": false; }; "initiallySelectedElements": { "alias": "initiallySelectedElements"; "required": false; }; "textWords": { "alias": "textWords"; "required": false; }; "mouseAwareKeyboardControl": { "alias": "mouseAwareKeyboardControl"; "required": false; }; "customKeyboardOperationConfig": { "alias": "customKeyboardOperationConfig"; "required": false; }; "listFilterFunc": { "alias": "listFilterFunc"; "required": false; }; "addTableColumns": { "alias": "addTableColumns"; "required": false; }; "functionView": { "alias": "functionView"; "required": false; }; }, { "selectClick": "selectClick"; "selectDblClick": "selectDblClick"; "contextMenuEvent": "contextMenuEvent"; "selectedElementsChanged": "selectedElementsChanged"; }, never, never, true, never>;
183
187
  }
@@ -1,4 +1,4 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
1
+ import { ElementRef, OnDestroy, OnInit, QueryList } from '@angular/core';
2
2
  import { IElementDto } from '../../model';
3
3
  import { SelectElementService } from '../../services/select-element.service';
4
4
  import * as i0 from "@angular/core";
@@ -8,11 +8,16 @@ export declare class ListStructureComponent implements OnDestroy, OnInit {
8
8
  isSelectionMode: boolean;
9
9
  selectedColor: string | null;
10
10
  allowDblClick: boolean;
11
+ templates: QueryList<ElementRef<HTMLElement>>;
12
+ onWindowScroll(): void;
11
13
  selectedElement: IElementDto | null;
12
14
  private $destroy;
15
+ private treeHoverTooltipService;
13
16
  constructor(selectElementService: SelectElementService);
14
17
  ngOnInit(): void;
15
18
  ngOnDestroy(): void;
19
+ onMouseEnter(id: string): void;
20
+ onMouseLeave(): void;
16
21
  static ɵfac: i0.ɵɵFactoryDeclaration<ListStructureComponent, never>;
17
22
  static ɵcmp: i0.ɵɵComponentDeclaration<ListStructureComponent, "ava-list-structure", never, { "filteredElementList": { "alias": "filteredElementList"; "required": false; }; "isSelectionMode": { "alias": "isSelectionMode"; "required": false; }; "selectedColor": { "alias": "selectedColor"; "required": false; }; "allowDblClick": { "alias": "allowDblClick"; "required": false; }; }, {}, never, never, true, never>;
18
23
  }
@@ -0,0 +1,16 @@
1
+ import { ChangeDetectorRef, DestroyRef, ElementRef, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TreeHoverTooltipComponent implements OnInit {
4
+ container: ElementRef;
5
+ destroyRef: DestroyRef;
6
+ cdr: ChangeDetectorRef;
7
+ private treeHoverTooltipService;
8
+ private renderer;
9
+ positionY: number;
10
+ positionX: number;
11
+ tooltipVisible$: import("rxjs").Observable<boolean>;
12
+ ngOnInit(): void;
13
+ removeAllChildElements(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeHoverTooltipComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeHoverTooltipComponent, "ava-tree-hover-tooltip", never, {}, {}, never, never, true, never>;
16
+ }
@@ -1,4 +1,4 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
1
+ import { ElementRef, OnDestroy, OnInit, QueryList } from '@angular/core';
2
2
  import { IElementDto } from '../../model';
3
3
  import { SelectElementService } from '../../services/select-element.service';
4
4
  import * as i0 from "@angular/core";
@@ -12,12 +12,18 @@ export declare class TreeNodeComponent implements OnDestroy, OnInit {
12
12
  isSelectionMode: boolean;
13
13
  selectedColor: string | null;
14
14
  allowDblClick: boolean;
15
+ templates: QueryList<ElementRef<HTMLElement>>;
16
+ onWindowScroll(): void;
17
+ onCLick(): void;
18
+ private treeHoverTooltipService;
15
19
  selectedElement: IElementDto | null;
16
20
  private $destroy;
17
21
  constructor(selectElementService: SelectElementService);
18
22
  ngOnInit(): void;
19
23
  ngOnDestroy(): void;
20
24
  expand(element: IElementDto): void;
25
+ onMouseEnter(id: string): void;
26
+ onMouseLeave(): void;
21
27
  static ɵfac: i0.ɵɵFactoryDeclaration<TreeNodeComponent, never>;
22
28
  static ɵcmp: i0.ɵɵComponentDeclaration<TreeNodeComponent, "ava-tree-node", never, { "elementList": { "alias": "elementList"; "required": false; }; "indent": { "alias": "indent"; "required": false; }; "expansionState": { "alias": "expansionState"; "required": false; }; "isSelectionMode": { "alias": "isSelectionMode"; "required": false; }; "selectedColor": { "alias": "selectedColor"; "required": false; }; "allowDblClick": { "alias": "allowDblClick"; "required": false; }; }, {}, never, never, true, never>;
23
29
  }
@@ -0,0 +1,11 @@
1
+ import { ApplicationRef, Type } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DynamicComponentService<C> {
4
+ private existingComponentRef;
5
+ private appRef;
6
+ constructor();
7
+ createComponent(appRef: ApplicationRef, component: Type<C>): void;
8
+ destroyExistingComponent(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<DynamicComponentService<any>, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<DynamicComponentService<any>>;
11
+ }
@@ -0,0 +1,13 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TreeHoverTooltipService {
4
+ private templateSource;
5
+ template$: import("rxjs").Observable<ElementRef<HTMLElement> | null>;
6
+ private tooltipVisibleSource;
7
+ tooltipVisible$: import("rxjs").Observable<boolean>;
8
+ showTooltip(template: ElementRef<HTMLElement> | null): void;
9
+ hideHoverTooltip(): void;
10
+ private setTooltipVisable;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeHoverTooltipService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<TreeHoverTooltipService>;
13
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dangl/angular-ava",
3
- "version": "1.1.2-beta0055",
3
+ "version": "1.1.2-beta0061",
4
4
  "keywords": [
5
5
  "angular",
6
6
  "ava",