@worktile/gantt 19.0.6 → 19.0.8-next.0

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,11 @@ export declare class GanttDatePoint {
9
9
  isToday: boolean;
10
10
  };
11
11
  style?: Partial<CSSStyleDeclaration>;
12
+ fill?: string;
13
+ leftX?: number;
14
+ rightX?: number;
12
15
  constructor(start: GanttDate, text: string, x: number, y: number | string, additions?: {
13
16
  isWeekend: boolean;
14
17
  isToday: boolean;
15
- }, style?: Partial<CSSStyleDeclaration>);
18
+ }, style?: Partial<CSSStyleDeclaration>, fill?: string);
16
19
  }
@@ -1,9 +1,9 @@
1
- import { OnInit, ElementRef, OnChanges, OnDestroy, EventEmitter, AfterViewInit, QueryList, NgZone, SimpleChanges } from '@angular/core';
2
- import { GanttBarDrag } from './bar-drag';
3
- import { GanttDragContainer } from '../../gantt-drag-container';
1
+ import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges } from '@angular/core';
4
2
  import { GanttBarClickEvent } from '../../class';
5
- import { GanttUpper } from '../../gantt-upper';
3
+ import { GanttDragContainer } from '../../gantt-drag-container';
6
4
  import { GanttItemUpper } from '../../gantt-item-upper';
5
+ import { GanttUpper } from '../../gantt-upper';
6
+ import { GanttBarDrag } from './bar-drag';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class NgxGanttBarComponent extends GanttItemUpper implements OnInit, AfterViewInit, OnChanges, OnDestroy {
9
9
  private dragContainer;
@@ -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;
@@ -3,10 +3,11 @@ import { NgxGanttRootComponent } from '../../root.component';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class GanttScrollbarComponent {
5
5
  ganttUpper: GanttUpper;
6
- hasFooter: boolean;
7
- tableWidth: number;
8
- ganttRoot: NgxGanttRootComponent;
6
+ hasFooter: import("@angular/core").InputSignal<boolean>;
7
+ tableWidth: import("@angular/core").InputSignal<number>;
8
+ ganttRoot: import("@angular/core").InputSignal<NgxGanttRootComponent>;
9
+ tableScrollWidth: import("@angular/core").InputSignal<number>;
9
10
  constructor(ganttUpper: GanttUpper);
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<GanttScrollbarComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<GanttScrollbarComponent, "gantt-scrollbar", never, { "hasFooter": { "alias": "hasFooter"; "required": false; }; "tableWidth": { "alias": "tableWidth"; "required": false; }; "ganttRoot": { "alias": "ganttRoot"; "required": false; }; }, {}, never, never, true, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<GanttScrollbarComponent, "gantt-scrollbar", never, { "hasFooter": { "alias": "hasFooter"; "required": false; "isSignal": true; }; "tableWidth": { "alias": "tableWidth"; "required": false; "isSignal": true; }; "ganttRoot": { "alias": "ganttRoot"; "required": false; "isSignal": true; }; "tableScrollWidth": { "alias": "tableScrollWidth"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
12
13
  }
@@ -193,6 +193,8 @@
193
193
  &::-webkit-scrollbar {
194
194
  display: none;
195
195
  }
196
+ scrollbar-width: none;
197
+ -ms-overflow-style: none;
196
198
  }
197
199
 
198
200
  @include gantt-table-item();