@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.
- package/class/date-point.d.ts +4 -1
- package/components/bar/bar.component.d.ts +4 -4
- package/components/calendar/calendar.scss +8 -3
- package/components/scrollbar/scrollbar.component.d.ts +5 -4
- package/components/table/gantt-table.scss +2 -0
- package/fesm2022/worktile-gantt.mjs +1286 -1262
- package/fesm2022/worktile-gantt.mjs.map +1 -1
- package/gantt-upper.d.ts +10 -11
- package/gantt.component.d.ts +8 -5
- package/gantt.component.scss +0 -1
- package/gantt.config.d.ts +2 -2
- package/package.json +1 -1
- package/public-api.d.ts +18 -18
- package/views/day.d.ts +1 -2
- package/views/factory.d.ts +5 -5
- package/views/hour.d.ts +0 -1
- package/views/view.d.ts +5 -1
package/class/date-point.d.ts
CHANGED
|
@@ -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 {
|
|
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 {
|
|
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
|
-
|
|
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
|
}
|