@worktile/gantt 16.0.2 → 16.0.3

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,7 +1,7 @@
1
1
  import { OnInit, ElementRef, EventEmitter, ChangeDetectorRef, NgZone, QueryList, AfterViewInit, TemplateRef, OnChanges, SimpleChanges, AfterViewChecked } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { GanttUpper } from './gantt-upper';
4
- import { GanttLinkDragEvent, GanttLineClickEvent, GanttItemInternal, GanttItem, GanttSelectedEvent, GanttGroupInternal, GanttVirtualScrolledIndexChangeEvent } from './class';
4
+ import { GanttLinkDragEvent, GanttLineClickEvent, GanttItemInternal, GanttItem, GanttSelectedEvent, GanttGroupInternal, GanttVirtualScrolledIndexChangeEvent, GanttTableDragStartedEvent, GanttTableDragEndedEvent } from './class';
5
5
  import { NgxGanttTableColumnComponent } from './table/gantt-column.component';
6
6
  import { NgxGanttTableComponent } from './table/gantt-table.component';
7
7
  import { GanttGlobalConfig } from './gantt.config';
@@ -37,6 +37,7 @@ export declare class NgxGanttComponent extends GanttUpper implements OnInit, OnC
37
37
  private rangeStart;
38
38
  private rangeEnd;
39
39
  private flatItemsMap;
40
+ private draggingItem;
40
41
  constructor(elementRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef, ngZone: NgZone, viewportRuler: ViewportRuler, config: GanttGlobalConfig);
41
42
  ngOnInit(): void;
42
43
  ngOnChanges(changes: SimpleChanges): void;
@@ -45,6 +46,7 @@ export declare class NgxGanttComponent extends GanttUpper implements OnInit, OnC
45
46
  private buildFlatItems;
46
47
  private afterExpand;
47
48
  private computeTempDataRefs;
49
+ private appendDraggingItemToViewportItems;
48
50
  expandChildren(item: GanttItemInternal): void;
49
51
  selectItem(selectEvent: GanttSelectedEvent): void;
50
52
  scrollToToday(): void;
@@ -52,6 +54,8 @@ export declare class NgxGanttComponent extends GanttUpper implements OnInit, OnC
52
54
  scrolledIndexChange(index: number): void;
53
55
  expandGroups(expanded: boolean): void;
54
56
  expandGroup(group: GanttGroupInternal): void;
57
+ itemDragStarted(event: GanttTableDragStartedEvent): void;
58
+ itemDragEnded(event: GanttTableDragEndedEvent): void;
55
59
  static ɵfac: i0.ɵɵFactoryDeclaration<NgxGanttComponent, never>;
56
60
  static ɵcmp: i0.ɵɵComponentDeclaration<NgxGanttComponent, "ngx-gantt", never, { "maxLevel": { "alias": "maxLevel"; "required": false; }; "async": { "alias": "async"; "required": false; }; "childrenResolve": { "alias": "childrenResolve"; "required": false; }; "linkable": { "alias": "linkable"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "virtualScrollEnabled": { "alias": "virtualScrollEnabled"; "required": false; }; "loadingDelay": { "alias": "loadingDelay"; "required": false; }; }, { "linkDragStarted": "linkDragStarted"; "linkDragEnded": "linkDragEnded"; "lineClick": "lineClick"; "selectedChange": "selectedChange"; "virtualScrolledIndexChange": "virtualScrolledIndexChange"; }, ["table", "tableEmptyTemplate", "footerTemplate", "columns"], never, false, never>;
57
61
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worktile/gantt",
3
- "version": "16.0.2",
3
+ "version": "16.0.3",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "exports": {
6
6
  ".": {