@worktile/gantt 19.0.6-0 → 19.0.7

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.
@@ -9,8 +9,9 @@ export declare class GanttDatePoint {
9
9
  isToday: boolean;
10
10
  };
11
11
  style?: Partial<CSSStyleDeclaration>;
12
+ fill?: string;
12
13
  constructor(start: GanttDate, text: string, x: number, y: number | string, additions?: {
13
14
  isWeekend: boolean;
14
15
  isToday: boolean;
15
- }, style?: Partial<CSSStyleDeclaration>);
16
+ }, style?: Partial<CSSStyleDeclaration>, fill?: string);
16
17
  }
@@ -7,9 +7,7 @@
7
7
 
8
8
  svg {
9
9
  position: relative;
10
- z-index: 2;
11
10
  background-color: variables.$gantt-bg-color;
12
- overflow: visible;
13
11
  }
14
12
  line {
15
13
  shape-rendering: crispEdges;
@@ -75,9 +73,16 @@
75
73
  .gantt-calendar-grid {
76
74
  position: absolute;
77
75
  width: 100%;
78
- .gantt-calendar-grid-main {
76
+ svg {
79
77
  background-color: transparent;
80
78
  }
79
+ .gantt-calendar-grid-fill {
80
+ position: absolute;
81
+ top: 0;
82
+ }
83
+ .gantt-calendar-grid-main {
84
+ z-index: 2;
85
+ }
81
86
 
82
87
  .secondary-line {
83
88
  stroke-dasharray: 2px 5px;
@@ -1,5 +1,5 @@
1
1
  import { CdkDrag, CdkDragDrop, CdkDragEnd, CdkDragMove, CdkDragStart } from '@angular/cdk/drag-drop';
2
- import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, QueryList, TemplateRef } from '@angular/core';
2
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList, TemplateRef } from '@angular/core';
3
3
  import { GanttGroupInternal, GanttItemInternal, GanttSelectedEvent, GanttTableDragDroppedEvent, GanttTableDragEndedEvent, GanttTableDragEnterPredicateContext, GanttTableDragStartedEvent } from '../../../class';
4
4
  import { GanttAbstractComponent } from '../../../gantt-abstract';
5
5
  import { GanttUpper } from '../../../gantt-upper';
@@ -11,7 +11,6 @@ export declare class GanttTableBodyComponent implements OnInit, OnDestroy, After
11
11
  private cdr;
12
12
  private document;
13
13
  protected elementRef: ElementRef<HTMLElement>;
14
- private ngZone;
15
14
  private _viewportItems;
16
15
  set viewportItems(data: (GanttGroupInternal | GanttItemInternal)[]);
17
16
  get viewportItems(): (GanttGroupInternal | GanttItemInternal)[];
@@ -37,15 +36,9 @@ export declare class GanttTableBodyComponent implements OnInit, OnDestroy, After
37
36
  private itemDragMoved;
38
37
  private itemDropTarget;
39
38
  private destroy$;
40
- sideContainer: Element;
41
- headerContainer: Element;
42
- footerContainer: Element;
43
- tableScrollbarContainer: Element;
44
- constructor(gantt: GanttAbstractComponent, ganttUpper: GanttUpper, cdr: ChangeDetectorRef, document: Document, elementRef: ElementRef<HTMLElement>, ngZone: NgZone);
39
+ constructor(gantt: GanttAbstractComponent, ganttUpper: GanttUpper, cdr: ChangeDetectorRef, document: Document, elementRef: ElementRef<HTMLElement>);
45
40
  ngOnInit(): void;
46
41
  ngAfterViewInit(): void;
47
- initialize(): void;
48
- private monitorScrollChange;
49
42
  expandGroup(group: GanttGroupInternal): void;
50
43
  expandChildren(event: MouseEvent, item: GanttItemInternal): void;
51
44
  onItemDragStarted(event: CdkDragStart<GanttItemInternal>): void;
@@ -0,0 +1,22 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class GanttSyncScrollXDirective implements OnInit, OnDestroy {
4
+ readonly syncScrollX: import("@angular/core").InputSignal<string>;
5
+ private elementRef;
6
+ private syncScrollService;
7
+ constructor();
8
+ ngOnInit(): void;
9
+ ngOnDestroy(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<GanttSyncScrollXDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GanttSyncScrollXDirective, "[syncScrollX]", never, { "syncScrollX": { "alias": "syncScrollX"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
12
+ }
13
+ export declare class GanttSyncScrollYDirective implements OnInit, OnDestroy {
14
+ readonly syncScrollY: import("@angular/core").InputSignal<string>;
15
+ private syncScrollService;
16
+ private elementRef;
17
+ constructor();
18
+ ngOnInit(): void;
19
+ ngOnDestroy(): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<GanttSyncScrollYDirective, never>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GanttSyncScrollYDirective, "[syncScrollY]", never, { "syncScrollY": { "alias": "syncScrollY"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
22
+ }