@worktile/gantt 20.0.1 → 21.0.0-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.
@@ -0,0 +1,1456 @@
1
+ import * as date_fns from 'date-fns';
2
+ import { Locale, FirstWeekContainsDate } from 'date-fns';
3
+ export { Locale, addDays, addHours, addMinutes, addMonths, addQuarters, addSeconds, addWeeks, addYears, differenceInCalendarDays, differenceInCalendarQuarters, differenceInDays, differenceInMinutes, eachDayOfInterval, eachHourOfInterval, eachMonthOfInterval, eachWeekOfInterval, endOfDay, endOfHour, endOfMinute, endOfMonth, endOfQuarter, endOfWeek, endOfYear, format, fromUnixTime, getDaysInMonth, getUnixTime, getWeek, isToday, isWeekend, setDate, startOfDay, startOfHour, startOfMinute, startOfMonth, startOfQuarter, startOfWeek, startOfYear } from 'date-fns';
4
+ import * as _angular_core from '@angular/core';
5
+ import { EventEmitter, InjectionToken, TemplateRef, OnInit, OnDestroy, ElementRef, ChangeDetectorRef, NgZone, Signal, OutputEmitterRef, WritableSignal, QueryList, AfterViewInit, PipeTransform } from '@angular/core';
6
+ import { SelectionModel } from '@angular/cdk/collections';
7
+ import { BehaviorSubject, Subject, Observable } from 'rxjs';
8
+ import * as _worktile_gantt from '@worktile/gantt';
9
+ import * as i3 from '@angular/cdk/scrolling';
10
+ import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
11
+ import * as i1 from '@angular/common';
12
+ import * as i2 from '@angular/cdk/drag-drop';
13
+ import { CdkDragStart, CdkDragMove, CdkDragEnd, CdkDrag, CdkDragDrop } from '@angular/cdk/drag-drop';
14
+
15
+ type GanttDateUtil = 'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'quarter' | 'year';
16
+ declare function setDefaultTimeZone(zone: string): void;
17
+ declare function getDefaultTimeZone(): string;
18
+ declare class GanttDate {
19
+ value: Date;
20
+ constructor(date?: Date | string | number);
21
+ getYear(): number;
22
+ getMonth(): number;
23
+ getDay(): number;
24
+ getTime(): number;
25
+ getDate(): number;
26
+ getHours(): number;
27
+ getMinutes(): number;
28
+ getSeconds(): number;
29
+ getMilliseconds(): number;
30
+ getWeek(options?: {
31
+ locale?: Locale;
32
+ weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
33
+ }): number;
34
+ getDaysInMonth(): number;
35
+ getDaysInQuarter(): number;
36
+ getDaysInYear(): number;
37
+ setDate(dayOfMonth: number): GanttDate;
38
+ clone(): GanttDate;
39
+ add(amount: number, unit?: GanttDateUtil): GanttDate;
40
+ addSeconds(amount: number): GanttDate;
41
+ addMinutes(amount: number): GanttDate;
42
+ addHours(amount: number): GanttDate;
43
+ addDays(amount: number): GanttDate;
44
+ addWeeks(amount: number): GanttDate;
45
+ addMonths(amount: number): GanttDate;
46
+ addQuarters(amount: number): GanttDate;
47
+ addYears(amount: number): GanttDate;
48
+ startOfMinute(): GanttDate;
49
+ startOfHour(): GanttDate;
50
+ startOfDay(): GanttDate;
51
+ startOfWeek(options?: {
52
+ locale?: Locale;
53
+ weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
54
+ }): GanttDate;
55
+ startOfMonth(): GanttDate;
56
+ startOfQuarter(): GanttDate;
57
+ startOfYear(): GanttDate;
58
+ endOfMinute(): GanttDate;
59
+ endOfHour(): GanttDate;
60
+ endOfDay(): GanttDate;
61
+ endOfWeek(options?: {
62
+ locale?: Locale;
63
+ weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
64
+ }): GanttDate;
65
+ endOfMonth(): GanttDate;
66
+ endOfQuarter(): GanttDate;
67
+ endOfYear(): GanttDate;
68
+ getUnixTime(): number;
69
+ format(mat: string, options?: {
70
+ locale?: Locale;
71
+ weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
72
+ firstWeekContainsDate?: FirstWeekContainsDate;
73
+ useAdditionalWeekYearTokens?: boolean;
74
+ useAdditionalDayOfYearTokens?: boolean;
75
+ }): string;
76
+ isWeekend(): boolean;
77
+ isToday(): boolean;
78
+ }
79
+
80
+ interface GanttViewTickSchema {
81
+ date: GanttDate;
82
+ rect: {
83
+ x: number;
84
+ width: number;
85
+ background?: string;
86
+ };
87
+ label: {
88
+ text: string;
89
+ y: number | string;
90
+ x?: number;
91
+ style?: {
92
+ color?: string;
93
+ fontSize?: number | string;
94
+ fontWeight?: string | number;
95
+ };
96
+ };
97
+ metadata?: {
98
+ isWeekend?: boolean;
99
+ isToday?: boolean;
100
+ [key: string]: any;
101
+ };
102
+ }
103
+ declare class GanttViewTick {
104
+ private schema;
105
+ constructor(schema: GanttViewTickSchema);
106
+ get date(): GanttDate;
107
+ get rect(): GanttViewTickSchema['rect'];
108
+ get label(): GanttViewTickSchema['label'];
109
+ get metadata(): GanttViewTickSchema['metadata'];
110
+ }
111
+
112
+ declare enum GanttLinkType {
113
+ fs = 1,
114
+ ff = 2,
115
+ ss = 3,
116
+ sf = 4
117
+ }
118
+ declare enum GanttLinkLineType {
119
+ curve = "curve",
120
+ straight = "straight"
121
+ }
122
+ interface GanttLink {
123
+ type: GanttLinkType;
124
+ link: string;
125
+ color?: {
126
+ default: string;
127
+ active?: string;
128
+ } | string;
129
+ }
130
+ interface GanttLinkItem {
131
+ id: string;
132
+ before: {
133
+ x: number;
134
+ y: number;
135
+ };
136
+ after: {
137
+ x: number;
138
+ y: number;
139
+ };
140
+ start: GanttDate;
141
+ end: GanttDate;
142
+ origin: GanttItem;
143
+ links: GanttLink[];
144
+ }
145
+ interface LinkInternal {
146
+ path: string;
147
+ source: GanttItem;
148
+ target: GanttItem;
149
+ type: GanttLinkType;
150
+ color: string;
151
+ defaultColor?: string;
152
+ activeColor?: string;
153
+ }
154
+ interface GanttLinkOptions {
155
+ dependencyTypes?: GanttLinkType[];
156
+ showArrow?: boolean;
157
+ lineType?: GanttLinkLineType;
158
+ }
159
+
160
+ declare enum GanttViewType {
161
+ day = "day",
162
+ quarter = "quarter",
163
+ month = "month",
164
+ year = "year",
165
+ week = "week",
166
+ hour = "hour"
167
+ }
168
+
169
+ declare const PERIOD_TICK_TOP = "40%";
170
+ declare const UNIT_TICK_TOP = "80%";
171
+ interface GanttViewDate {
172
+ date: GanttDate;
173
+ isCustom?: boolean;
174
+ }
175
+ interface GanttViewOptions {
176
+ start?: GanttDate;
177
+ end?: GanttDate;
178
+ minBoundary?: GanttDate;
179
+ maxBoundary?: GanttDate;
180
+ unitWidth?: number;
181
+ loadDuration?: {
182
+ amount: number;
183
+ unit: GanttDateUtil;
184
+ };
185
+ tickFormats?: {
186
+ period: string;
187
+ unit: string;
188
+ };
189
+ precisionUnit?: 'day' | 'hour' | 'minute';
190
+ dragTooltipFormat?: string;
191
+ holiday?: {
192
+ isHoliday: (GanttDate: any) => boolean;
193
+ hideHoliday: boolean;
194
+ };
195
+ [key: string]: any;
196
+ }
197
+ declare abstract class GanttView {
198
+ viewType: GanttViewType | string;
199
+ start$: BehaviorSubject<GanttDate>;
200
+ end$: BehaviorSubject<GanttDate>;
201
+ get start(): GanttDate;
202
+ get end(): GanttDate;
203
+ periodTicks: GanttViewTick[];
204
+ unitTicks: GanttViewTick[];
205
+ width: number;
206
+ unitWidth: number;
207
+ periodWidth: number;
208
+ showNowIndicator: boolean;
209
+ options: GanttViewOptions;
210
+ constructor(start: GanttViewDate, end: GanttViewDate, options: GanttViewOptions);
211
+ abstract rangeStartOf(date: GanttDate): GanttDate;
212
+ abstract rangeEndOf(date: GanttDate): GanttDate;
213
+ abstract getPeriodWidth(): number;
214
+ abstract getDayWidth(date: GanttDate): number;
215
+ abstract getPeriodTicks(): GanttViewTick[];
216
+ abstract getUnitTicks(): GanttViewTick[];
217
+ protected hideHoliday(date: GanttDate): boolean;
218
+ protected recomputeLayout(): void;
219
+ alignToPrecisionStart(date: GanttDate): GanttDate;
220
+ alignToPrecisionEnd(date: GanttDate): GanttDate;
221
+ calculateIntervalWidth(start: GanttDate, end: GanttDate): number;
222
+ extendStart(): {
223
+ start: GanttDate;
224
+ end: GanttDate;
225
+ } | null;
226
+ extendEnd(): {
227
+ start: GanttDate;
228
+ end: GanttDate;
229
+ } | null;
230
+ /**
231
+ * 获取横向滚动加载的时间跨度配置
232
+ */
233
+ private getLoadDuration;
234
+ updateDate(start: GanttDate, end: GanttDate): void;
235
+ getWidth(): number;
236
+ getUnitWidth(): number;
237
+ getNowX(): number;
238
+ getXAtDate(date: GanttDate): number;
239
+ getDateAtX(x: number): GanttDate;
240
+ calculateRangeWidth(start: GanttDate, end: GanttDate): number;
241
+ getPrecisionUnitWidth(date: GanttDate): number;
242
+ getVisibleDateIndexOffset(start: GanttDate, end: GanttDate): number;
243
+ getDateByIndexOffset(baseDate: GanttDate, indexOffset: number): GanttDate;
244
+ }
245
+
246
+ interface GanttItemRefs {
247
+ width: number;
248
+ x: number;
249
+ y: number;
250
+ }
251
+ declare enum GanttItemType {
252
+ bar = "bar",
253
+ range = "range",
254
+ custom = "custom"
255
+ }
256
+ interface GanttItem<T = unknown> {
257
+ id: string;
258
+ title: string;
259
+ start?: number | Date;
260
+ end?: number | Date;
261
+ group_id?: string;
262
+ links?: (GanttLink | string)[];
263
+ draggable?: boolean;
264
+ itemDraggable?: boolean;
265
+ linkable?: boolean;
266
+ expandable?: boolean;
267
+ expanded?: boolean;
268
+ children?: GanttItem[];
269
+ color?: string;
270
+ barStyle?: Partial<CSSStyleDeclaration>;
271
+ laneStyle?: Partial<CSSStyleDeclaration>;
272
+ origin?: T;
273
+ type?: GanttItemType;
274
+ progress?: number;
275
+ }
276
+ declare class GanttItemInternal {
277
+ private view?;
278
+ id: string;
279
+ title: string;
280
+ start: GanttDate | null;
281
+ end: GanttDate | null;
282
+ links: GanttLink[];
283
+ color?: string;
284
+ barStyle?: Partial<CSSStyleDeclaration>;
285
+ laneStyle?: Partial<CSSStyleDeclaration>;
286
+ draggable?: boolean;
287
+ itemDraggable?: boolean;
288
+ linkable?: boolean;
289
+ origin: GanttItem;
290
+ expandable?: boolean;
291
+ expanded?: boolean;
292
+ loading: boolean;
293
+ children: GanttItemInternal[];
294
+ type?: GanttItemType;
295
+ progress?: number;
296
+ viewType?: GanttViewType;
297
+ level: number;
298
+ get refs(): {
299
+ width: number;
300
+ x: number;
301
+ y: number;
302
+ };
303
+ refs$: BehaviorSubject<{
304
+ width: number;
305
+ x: number;
306
+ y: number;
307
+ }>;
308
+ constructor(item: GanttItem, level: number, view?: GanttView);
309
+ private fillDateWhenStartOrEndIsNil;
310
+ updateRefs(refs: GanttItemRefs): void;
311
+ updateDate(start: GanttDate, end: GanttDate): void;
312
+ updateLevel(level: number): void;
313
+ addChildren(items: GanttItem[]): void;
314
+ setExpand(expanded: boolean): void;
315
+ addLink(link: GanttLink): void;
316
+ }
317
+
318
+ interface GanttBaselineItem {
319
+ id: string;
320
+ start?: number;
321
+ end?: number;
322
+ }
323
+ declare class GanttBaselineItemInternal {
324
+ id: string;
325
+ start: GanttDate;
326
+ end: GanttDate;
327
+ origin: GanttBaselineItem;
328
+ get refs(): {
329
+ width: number;
330
+ x: number;
331
+ y: number;
332
+ };
333
+ refs$: BehaviorSubject<{
334
+ width: number;
335
+ x: number;
336
+ y: number;
337
+ }>;
338
+ constructor(item: GanttBaselineItem);
339
+ updateRefs(refs: GanttItemRefs): void;
340
+ }
341
+
342
+ declare enum InBarPosition {
343
+ start = "start",
344
+ finish = "finish"
345
+ }
346
+ type LinkDragPosition = {
347
+ element: HTMLElement;
348
+ item: GanttItemInternal;
349
+ pos?: InBarPosition;
350
+ };
351
+ interface LinkDragPath {
352
+ from?: LinkDragPosition;
353
+ to?: LinkDragPosition;
354
+ }
355
+ declare class GanttDragContainer {
356
+ ganttUpper: GanttUpper;
357
+ dragStarted: EventEmitter<GanttDragEvent<unknown>>;
358
+ dragMoved: EventEmitter<GanttDragEvent<unknown>>;
359
+ dragEnded: EventEmitter<GanttDragEvent<unknown>>;
360
+ linkDragStarted: EventEmitter<GanttLinkDragEvent<unknown>>;
361
+ linkDragEntered: EventEmitter<GanttLinkDragEvent<unknown>>;
362
+ linkDragEnded: EventEmitter<GanttLinkDragEvent<unknown>>;
363
+ linkDraggingId: string;
364
+ linkDragPath: LinkDragPath;
365
+ constructor();
366
+ emitLinkDragStarted(from: LinkDragPosition): void;
367
+ emitLinkDragEntered(to: LinkDragPosition): void;
368
+ emitLinkDragLeaved(): void;
369
+ emitLinkDragEnded(to?: LinkDragPosition): void;
370
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GanttDragContainer, never>;
371
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<GanttDragContainer>;
372
+ }
373
+
374
+ declare enum GanttI18nLocale {
375
+ zhHans = "zh-hans",
376
+ zhHant = "zh-hant",
377
+ enUs = "en-us",
378
+ deDe = "de-de",
379
+ jaJp = "ja-jp",
380
+ ruRu = "ru-ru"
381
+ }
382
+ type GanttI18nLocaleConfig = {
383
+ id: GanttI18nLocale | string;
384
+ dateLocale?: Locale;
385
+ views: Record<GanttViewType, {
386
+ label: string;
387
+ tickFormats: {
388
+ period?: string;
389
+ unit?: string;
390
+ };
391
+ }>;
392
+ };
393
+ declare const GANTT_I18N_LOCALE_TOKEN: InjectionToken<GanttI18nLocaleConfig[]>;
394
+
395
+ interface GanttDateOptions {
396
+ timeZone?: string;
397
+ weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
398
+ }
399
+ interface GanttStyleOptions {
400
+ primaryColor?: string;
401
+ headerHeight?: number;
402
+ /** @deprecated use rowHeight instead */
403
+ lineHeight?: number;
404
+ rowHeight?: number;
405
+ barHeight?: number;
406
+ defaultTheme?: string;
407
+ themes?: Record<string, {
408
+ primary?: string;
409
+ danger?: string;
410
+ highlight?: string;
411
+ background?: string;
412
+ text?: {
413
+ main?: string;
414
+ muted?: string;
415
+ light?: string;
416
+ inverse?: string;
417
+ };
418
+ gray?: {
419
+ 100?: string;
420
+ 200?: string;
421
+ 300?: string;
422
+ 400?: string;
423
+ 500?: string;
424
+ 600?: string;
425
+ };
426
+ }>;
427
+ }
428
+ interface GanttGlobalConfig {
429
+ locale?: GanttI18nLocale | string;
430
+ dateOptions?: GanttDateOptions;
431
+ linkOptions?: GanttLinkOptions;
432
+ styleOptions?: GanttStyleOptions;
433
+ }
434
+ declare const defaultConfig: GanttGlobalConfig;
435
+ declare const GANTT_GLOBAL_CONFIG: InjectionToken<GanttGlobalConfig>;
436
+ declare class GanttConfigService {
437
+ config: GanttGlobalConfig;
438
+ private i18nLocales;
439
+ constructor();
440
+ mergeStyleOptions(options: GanttStyleOptions): GanttStyleOptions;
441
+ setLocale(locale: string): void;
442
+ private getLocaleConfig;
443
+ getViewsLocale(): GanttI18nLocaleConfig['views'];
444
+ getDateLocale(): date_fns.Locale;
445
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GanttConfigService, never>;
446
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<GanttConfigService>;
447
+ }
448
+
449
+ declare class NgxGanttTableComponent {
450
+ readonly draggable: _angular_core.InputSignal<boolean>;
451
+ readonly maxWidth: _angular_core.InputSignal<number>;
452
+ readonly width: _angular_core.InputSignal<number>;
453
+ readonly dropEnterPredicate: _angular_core.InputSignal<(context: GanttTableDragEnterPredicateContext) => boolean>;
454
+ readonly dragDropped: _angular_core.OutputEmitterRef<GanttTableDragDroppedEvent<unknown>>;
455
+ readonly dragStarted: _angular_core.OutputEmitterRef<GanttTableDragStartedEvent<unknown>>;
456
+ readonly dragEnded: _angular_core.OutputEmitterRef<GanttTableDragEndedEvent<unknown>>;
457
+ readonly columnChanges: _angular_core.OutputEmitterRef<GanttTableEvent>;
458
+ readonly resizeChange: _angular_core.OutputEmitterRef<number>;
459
+ readonly itemClick: _angular_core.OutputEmitterRef<GanttTableItemClickEvent<unknown>>;
460
+ readonly rowBeforeTemplate: _angular_core.Signal<TemplateRef<any>>;
461
+ readonly rowAfterTemplate: _angular_core.Signal<TemplateRef<any>>;
462
+ readonly tableEmptyTemplate: _angular_core.Signal<TemplateRef<any>>;
463
+ readonly tableFooterTemplate: _angular_core.Signal<TemplateRef<any>>;
464
+ readonly settingsSlot: _angular_core.Signal<TemplateRef<any>>;
465
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgxGanttTableComponent, never>;
466
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgxGanttTableComponent, "ngx-gantt-table", never, { "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "dropEnterPredicate": { "alias": "dropEnterPredicate"; "required": false; "isSignal": true; }; }, { "dragDropped": "dragDropped"; "dragStarted": "dragStarted"; "dragEnded": "dragEnded"; "columnChanges": "columnChanges"; "resizeChange": "resizeChange"; "itemClick": "itemClick"; }, ["rowBeforeTemplate", "rowAfterTemplate", "tableEmptyTemplate", "tableFooterTemplate", "settingsSlot"], never, true, never>;
467
+ }
468
+
469
+ interface Dictionary<T = unknown> {
470
+ [key: string]: T;
471
+ }
472
+
473
+ declare abstract class GanttUpper implements OnInit, OnDestroy {
474
+ protected elementRef: ElementRef<HTMLElement>;
475
+ protected cdr: ChangeDetectorRef;
476
+ protected ngZone: NgZone;
477
+ protected config: GanttGlobalConfig;
478
+ readonly originItems: _angular_core.InputSignal<GanttItem<unknown>[]>;
479
+ readonly originGroups: _angular_core.InputSignal<GanttGroup<unknown>[]>;
480
+ readonly originBaselineItems: _angular_core.InputSignal<GanttBaselineItem[]>;
481
+ readonly viewType: _angular_core.ModelSignal<GanttViewType>;
482
+ readonly start: _angular_core.InputSignal<number>;
483
+ readonly end: _angular_core.InputSignal<number>;
484
+ readonly showTodayLine: _angular_core.InputSignal<boolean>;
485
+ readonly draggable: _angular_core.InputSignal<boolean>;
486
+ readonly originStyles: _angular_core.InputSignal<GanttStyleOptions>;
487
+ readonly styles: Signal<GanttStyleOptions>;
488
+ readonly showToolbar: _angular_core.InputSignal<boolean>;
489
+ readonly toolbarOptions: _angular_core.InputSignal<GanttToolbarOptions>;
490
+ readonly viewOptions: _angular_core.InputSignal<GanttViewOptions>;
491
+ readonly inputLinkOptions: _angular_core.InputSignal<GanttLinkOptions>;
492
+ readonly linkOptions: Signal<GanttLinkOptions>;
493
+ readonly disabledLoadOnScroll: _angular_core.InputSignal<boolean>;
494
+ readonly selectable: _angular_core.InputSignalWithTransform<boolean, any>;
495
+ readonly multiple: _angular_core.InputSignalWithTransform<boolean, any>;
496
+ readonly quickTimeFocus: _angular_core.InputSignal<boolean>;
497
+ readonly loadOnScroll: OutputEmitterRef<GanttLoadOnScrollEvent>;
498
+ readonly dragStarted: OutputEmitterRef<GanttDragEvent<unknown>>;
499
+ readonly dragMoved: OutputEmitterRef<GanttDragEvent<unknown>>;
500
+ readonly dragEnded: OutputEmitterRef<GanttDragEvent<unknown>>;
501
+ readonly barClick: OutputEmitterRef<GanttBarClickEvent<unknown>>;
502
+ readonly viewChange: OutputEmitterRef<GanttView>;
503
+ readonly expandChange: OutputEmitterRef<GanttItemInternal | GanttGroupInternal | (GanttItemInternal | GanttGroupInternal)[]>;
504
+ readonly barTemplate: Signal<TemplateRef<any>>;
505
+ readonly rangeTemplate: Signal<TemplateRef<any>>;
506
+ readonly itemTemplate: Signal<TemplateRef<any>>;
507
+ readonly baselineTemplate: Signal<TemplateRef<any>>;
508
+ readonly groupTemplate: Signal<TemplateRef<any>>;
509
+ readonly groupHeaderTemplate: Signal<TemplateRef<any>>;
510
+ readonly toolbarTemplate: Signal<TemplateRef<any>>;
511
+ readonly disableLoadOnScroll: _angular_core.WritableSignal<boolean>;
512
+ readonly previousViewType: _angular_core.WritableSignal<unknown>;
513
+ readonly previousViewOptions: _angular_core.WritableSignal<unknown>;
514
+ configService: GanttConfigService;
515
+ linkable: Signal<boolean>;
516
+ linkDragEnded?: OutputEmitterRef<GanttLinkDragEvent>;
517
+ view: GanttView;
518
+ items: GanttItemInternal[];
519
+ groups: GanttGroupInternal[];
520
+ baselineItems: GanttBaselineItemInternal[];
521
+ baselineItemsMap: Dictionary<GanttBaselineItemInternal>;
522
+ get element(): HTMLElement;
523
+ dragContainer: GanttDragContainer;
524
+ unsubscribe$: Subject<void>;
525
+ selectionModel: SelectionModel<string>;
526
+ table?: Signal<NgxGanttTableComponent>;
527
+ private groupsMap;
528
+ protected isEffectFinished: _angular_core.WritableSignal<boolean>;
529
+ colors: Signal<{
530
+ primary?: string;
531
+ danger?: string;
532
+ highlight?: string;
533
+ background?: string;
534
+ text?: {
535
+ main?: string;
536
+ muted?: string;
537
+ light?: string;
538
+ inverse?: string;
539
+ };
540
+ gray?: {
541
+ 100?: string;
542
+ 200?: string;
543
+ 300?: string;
544
+ 400?: string;
545
+ 500?: string;
546
+ 600?: string;
547
+ };
548
+ }>;
549
+ ganttClass: boolean;
550
+ constructor();
551
+ private createView;
552
+ private setupGroups;
553
+ protected setupItems(): void;
554
+ private setupBaselineItems;
555
+ private setupExpandedState;
556
+ private getViewDate;
557
+ computeRefs(): void;
558
+ private initSelectionModel;
559
+ expandGroups(expanded: boolean): void;
560
+ ngOnInit(): void;
561
+ ngOnDestroy(): void;
562
+ computeItemsRefs(...items: GanttItemInternal[] | GanttBaselineItemInternal[]): void;
563
+ trackBy(index: number, item: GanttGroupInternal | GanttItemInternal): string | number;
564
+ detectChanges(): void;
565
+ expandGroup(group: GanttGroupInternal): void;
566
+ expandAll(): void;
567
+ collapseAll(): void;
568
+ getGanttItem(id: string): GanttItemInternal;
569
+ getGanttItems(ids: string[]): GanttItemInternal[];
570
+ isSelected(id: string): boolean;
571
+ changeView(): void;
572
+ rerenderView(): void;
573
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GanttUpper, never>;
574
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GanttUpper, never, never, { "originItems": { "alias": "items"; "required": false; "isSignal": true; }; "originGroups": { "alias": "groups"; "required": false; "isSignal": true; }; "originBaselineItems": { "alias": "baselineItems"; "required": false; "isSignal": true; }; "viewType": { "alias": "viewType"; "required": false; "isSignal": true; }; "start": { "alias": "start"; "required": false; "isSignal": true; }; "end": { "alias": "end"; "required": false; "isSignal": true; }; "showTodayLine": { "alias": "showTodayLine"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "originStyles": { "alias": "styles"; "required": false; "isSignal": true; }; "showToolbar": { "alias": "showToolbar"; "required": false; "isSignal": true; }; "toolbarOptions": { "alias": "toolbarOptions"; "required": false; "isSignal": true; }; "viewOptions": { "alias": "viewOptions"; "required": false; "isSignal": true; }; "inputLinkOptions": { "alias": "linkOptions"; "required": false; "isSignal": true; }; "disabledLoadOnScroll": { "alias": "disabledLoadOnScroll"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "quickTimeFocus": { "alias": "quickTimeFocus"; "required": false; "isSignal": true; }; }, { "viewType": "viewTypeChange"; "loadOnScroll": "loadOnScroll"; "dragStarted": "dragStarted"; "dragMoved": "dragMoved"; "dragEnded": "dragEnded"; "barClick": "barClick"; "viewChange": "viewChange"; "expandChange": "expandChange"; }, ["barTemplate", "rangeTemplate", "itemTemplate", "baselineTemplate", "groupTemplate", "groupHeaderTemplate", "toolbarTemplate"], never, true, never>;
575
+ }
576
+ declare const GANTT_UPPER_TOKEN: InjectionToken<GanttUpper>;
577
+
578
+ declare class NgxGanttTableColumnComponent {
579
+ ganttUpper: GanttUpper;
580
+ private elementRef;
581
+ readonly width: _angular_core.InputSignal<string | number>;
582
+ readonly columnWidth: WritableSignal<string>;
583
+ readonly name: _angular_core.InputSignal<string>;
584
+ readonly showExpandIcon: _angular_core.InputSignal<boolean>;
585
+ readonly templateRef: Signal<TemplateRef<any>>;
586
+ readonly headerTemplateRef: Signal<TemplateRef<any>>;
587
+ constructor();
588
+ get classList(): DOMTokenList;
589
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgxGanttTableColumnComponent, never>;
590
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgxGanttTableColumnComponent, "ngx-gantt-column", never, { "width": { "alias": "width"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "showExpandIcon": { "alias": "showExpandIcon"; "required": false; "isSignal": true; }; }, {}, ["templateRef", "headerTemplateRef"], never, true, never>;
591
+ }
592
+
593
+ declare class GanttDragEvent<T = unknown> {
594
+ item: GanttItem<T>;
595
+ }
596
+ declare class GanttTableEvent {
597
+ columns: QueryList<NgxGanttTableColumnComponent>;
598
+ }
599
+ declare class GanttLinkDragEvent<T = unknown> {
600
+ source: GanttItem<T>;
601
+ target?: GanttItem<T>;
602
+ type?: GanttLinkType;
603
+ }
604
+ declare class GanttLoadOnScrollEvent {
605
+ start: number;
606
+ end: number;
607
+ }
608
+ declare class GanttLineClickEvent<T = unknown> {
609
+ event: MouseEvent;
610
+ source: GanttItem<T>;
611
+ target: GanttItem<T>;
612
+ }
613
+ declare class GanttBarClickEvent<T = unknown> {
614
+ event: Event;
615
+ item: GanttItem<T>;
616
+ }
617
+ declare class GanttTableItemClickEvent<T = unknown> {
618
+ event: Event;
619
+ current?: GanttItem<T>;
620
+ }
621
+ declare class GanttSelectedEvent<T = unknown> extends GanttTableItemClickEvent<T> {
622
+ selectedValue: GanttItem<T> | GanttItem<T>[];
623
+ }
624
+ declare class GanttTableDragDroppedEvent<T = unknown> {
625
+ source: GanttItem<T>;
626
+ sourceParent: GanttItem<T>;
627
+ target: GanttItem<T>;
628
+ targetParent: GanttItem<T>;
629
+ dropPosition: GanttTableDropPosition;
630
+ }
631
+ declare class GanttTableDragStartedEvent<T = unknown> {
632
+ source: GanttItem<T>;
633
+ sourceParent: GanttItem<T>;
634
+ }
635
+ declare class GanttTableDragEndedEvent<T = unknown> {
636
+ source: GanttItem<T>;
637
+ sourceParent: GanttItem<T>;
638
+ }
639
+ type GanttTableDropPosition = 'before' | 'inside' | 'after';
640
+ declare class GanttTableDragEnterPredicateContext<T = unknown> {
641
+ source: GanttItem<T>;
642
+ target: GanttItem<T>;
643
+ dropPosition: GanttTableDropPosition;
644
+ }
645
+ declare class GanttVirtualScrolledIndexChangeEvent {
646
+ index: number;
647
+ renderedRange: {
648
+ start: number;
649
+ end: number;
650
+ };
651
+ count: number;
652
+ }
653
+
654
+ interface GanttGroup<T = unknown> {
655
+ id: string;
656
+ title: string;
657
+ expanded?: boolean;
658
+ origin?: T;
659
+ class?: string;
660
+ }
661
+ declare class GanttGroupInternal {
662
+ id: string;
663
+ title: string;
664
+ origin: GanttGroup;
665
+ items: GanttItemInternal[];
666
+ mergedItems: GanttItemInternal[][];
667
+ expanded?: boolean;
668
+ refs?: {
669
+ height?: number;
670
+ };
671
+ class?: string;
672
+ constructor(group: GanttGroup);
673
+ setExpand(expanded: boolean): void;
674
+ }
675
+
676
+ interface GanttToolbarOptions {
677
+ viewTypes?: GanttViewType[];
678
+ }
679
+
680
+ declare abstract class GanttItemUpper implements OnDestroy {
681
+ protected elementRef: ElementRef<HTMLElement>;
682
+ protected ganttUpper: GanttUpper;
683
+ readonly template: _angular_core.InputSignal<TemplateRef<any>>;
684
+ readonly item: _angular_core.InputSignal<GanttItemInternal>;
685
+ firstChange: boolean;
686
+ unsubscribe$: Subject<void>;
687
+ refsUnsubscribe$: Subject<void>;
688
+ constructor();
689
+ private itemChange;
690
+ private setPositions;
691
+ ngOnDestroy(): void;
692
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GanttItemUpper, never>;
693
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GanttItemUpper, never, never, { "template": { "alias": "template"; "required": false; "isSignal": true; }; "item": { "alias": "item"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
694
+ }
695
+
696
+ declare class NgxGanttBarComponent extends GanttItemUpper implements OnInit, AfterViewInit, OnDestroy {
697
+ private dragContainer;
698
+ private drag;
699
+ private ngZone;
700
+ ganttUpper: GanttUpper;
701
+ readonly barClick: _angular_core.OutputEmitterRef<GanttBarClickEvent<unknown>>;
702
+ readonly contentElementRef: Signal<ElementRef<HTMLDivElement>>;
703
+ readonly previousItem: Signal<GanttItemInternal>;
704
+ ganttItemClass: boolean;
705
+ handles: QueryList<ElementRef<HTMLElement>>;
706
+ constructor();
707
+ ngOnInit(): void;
708
+ ngAfterViewInit(): void;
709
+ onBarClick(event: Event): void;
710
+ private setContentBackground;
711
+ stopPropagation(event: Event): void;
712
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgxGanttBarComponent, never>;
713
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgxGanttBarComponent, "ngx-gantt-bar,gantt-bar", never, {}, { "barClick": "barClick"; }, never, never, true, never>;
714
+ }
715
+
716
+ declare class NgxGanttPlaceholderComponent extends GanttItemUpper {
717
+ constructor();
718
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgxGanttPlaceholderComponent, never>;
719
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgxGanttPlaceholderComponent, "ngx-gantt-bar-placeholder,gantt-bar-placeholder", never, {}, {}, never, never, true, never>;
720
+ }
721
+
722
+ declare class NgxGanttBaselineComponent implements OnInit {
723
+ private elementRef;
724
+ ganttUpper: GanttUpper;
725
+ readonly baselineItem: _angular_core.InputSignal<GanttBaselineItemInternal>;
726
+ readonly template: _angular_core.InputSignal<TemplateRef<any>>;
727
+ unsubscribe$: Subject<void>;
728
+ ganttBaselineClass: boolean;
729
+ constructor();
730
+ ngOnInit(): void;
731
+ private setPositions;
732
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgxGanttBaselineComponent, never>;
733
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgxGanttBaselineComponent, "ngx-gantt-baseline,gantt-baseline", never, { "baselineItem": { "alias": "baselineItem"; "required": false; "isSignal": true; }; "template": { "alias": "template"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
734
+ }
735
+
736
+ declare class GanttCalendarGridComponent implements OnDestroy {
737
+ ganttUpper: GanttUpper;
738
+ private elementRef;
739
+ get view(): _worktile_gantt.GanttView;
740
+ private unsubscribe$;
741
+ mainHeight: number;
742
+ todayBorderRadius: number;
743
+ viewTypes: typeof GanttViewType;
744
+ className: string;
745
+ constructor();
746
+ setTodayPoint(): void;
747
+ ngOnDestroy(): void;
748
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GanttCalendarGridComponent, never>;
749
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GanttCalendarGridComponent, "gantt-calendar-grid", never, {}, {}, never, never, true, never>;
750
+ }
751
+
752
+ declare class GanttCalendarHeaderComponent implements OnInit {
753
+ ganttUpper: GanttUpper;
754
+ private elementRef;
755
+ get view(): _worktile_gantt.GanttView;
756
+ private unsubscribe$;
757
+ viewTypes: typeof GanttViewType;
758
+ className: string;
759
+ constructor();
760
+ ngOnInit(): void;
761
+ setTodayPoint(): void;
762
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GanttCalendarHeaderComponent, never>;
763
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GanttCalendarHeaderComponent, "gantt-calendar-header", never, {}, {}, never, never, true, never>;
764
+ }
765
+
766
+ declare class GanttDragBackdropComponent {
767
+ ganttUpper: GanttUpper;
768
+ constructor();
769
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GanttDragBackdropComponent, never>;
770
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GanttDragBackdropComponent, "gantt-drag-backdrop", never, {}, {}, never, never, true, never>;
771
+ }
772
+
773
+ declare class GanttLoaderComponent {
774
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GanttLoaderComponent, never>;
775
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GanttLoaderComponent, "gantt-loader", never, {}, {}, never, never, true, never>;
776
+ }
777
+
778
+ declare class NgxGanttRangeComponent extends GanttItemUpper {
779
+ ganttRangeClass: boolean;
780
+ constructor();
781
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgxGanttRangeComponent, never>;
782
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgxGanttRangeComponent, "ngx-gantt-range,gantt-range", never, {}, {}, never, never, true, never>;
783
+ }
784
+
785
+ declare class NgxGanttRootComponent implements OnDestroy {
786
+ private elementRef;
787
+ private ngZone;
788
+ private dom;
789
+ dragContainer: GanttDragContainer;
790
+ ganttUpper: GanttUpper;
791
+ private printService;
792
+ private cdr;
793
+ readonly sideWidth: _angular_core.InputSignal<number>;
794
+ readonly sideTemplate: _angular_core.Signal<TemplateRef<any>>;
795
+ readonly mainTemplate: _angular_core.Signal<TemplateRef<any>>;
796
+ /** The native `<gantt-drag-backdrop></gantt-drag-backdrop>` element. */
797
+ readonly backdrop: _angular_core.Signal<ElementRef<any>>;
798
+ verticalScrollbarWidth: number;
799
+ horizontalScrollbarHeight: number;
800
+ private unsubscribe$;
801
+ private get view();
802
+ onWindowResize(): void;
803
+ constructor();
804
+ computeScrollBarOffset(): void;
805
+ ngOnDestroy(): void;
806
+ private setupViewScroll;
807
+ private setupResize;
808
+ private setupScrollClass;
809
+ scrollToToday(): void;
810
+ scrollToDate(date: number | Date | GanttDate): void;
811
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgxGanttRootComponent, never>;
812
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgxGanttRootComponent, "ngx-gantt-root", never, { "sideWidth": { "alias": "sideWidth"; "required": false; "isSignal": true; }; }, {}, ["sideTemplate", "mainTemplate"], ["*"], true, never>;
813
+ }
814
+
815
+ declare class GanttScrollbarComponent {
816
+ ganttUpper: GanttUpper;
817
+ hasFooter: _angular_core.InputSignal<boolean>;
818
+ tableWidth: _angular_core.InputSignal<number>;
819
+ ganttRoot: _angular_core.InputSignal<NgxGanttRootComponent>;
820
+ tableScrollWidth: _angular_core.InputSignal<number>;
821
+ constructor();
822
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GanttScrollbarComponent, never>;
823
+ static ɵcmp: _angular_core.ɵɵ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>;
824
+ }
825
+
826
+ declare class NgxGanttToolbarComponent {
827
+ protected ganttUpper: GanttUpper;
828
+ readonly template: _angular_core.InputSignal<TemplateRef<any>>;
829
+ ganttItemClass: boolean;
830
+ views: Record<GanttViewType, {
831
+ label: string;
832
+ tickFormats: {
833
+ period?: string;
834
+ unit?: string;
835
+ };
836
+ }>;
837
+ constructor();
838
+ selectView(view: GanttViewType): void;
839
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgxGanttToolbarComponent, never>;
840
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgxGanttToolbarComponent, "ngx-gantt-toolbar,gantt-toolbar", never, { "template": { "alias": "template"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
841
+ }
842
+
843
+ declare class GanttSyncScrollXDirective implements OnInit, OnDestroy {
844
+ readonly syncScrollX: _angular_core.InputSignal<string>;
845
+ private elementRef;
846
+ private syncScrollService;
847
+ constructor();
848
+ ngOnInit(): void;
849
+ ngOnDestroy(): void;
850
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GanttSyncScrollXDirective, never>;
851
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GanttSyncScrollXDirective, "[syncScrollX]", never, { "syncScrollX": { "alias": "syncScrollX"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
852
+ }
853
+ declare class GanttSyncScrollYDirective implements OnInit, OnDestroy {
854
+ readonly syncScrollY: _angular_core.InputSignal<string>;
855
+ private syncScrollService;
856
+ private elementRef;
857
+ constructor();
858
+ ngOnInit(): void;
859
+ ngOnDestroy(): void;
860
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GanttSyncScrollYDirective, never>;
861
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GanttSyncScrollYDirective, "[syncScrollY]", never, { "syncScrollY": { "alias": "syncScrollY"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
862
+ }
863
+
864
+ declare class GanttPrintService {
865
+ private root;
866
+ private mainContainer;
867
+ constructor();
868
+ private setInlineStyles;
869
+ private recursElementChildren;
870
+ register(root: ElementRef<HTMLElement>): void;
871
+ html2canvas(ignoreElementClass?: string): Promise<HTMLCanvasElement>;
872
+ print(name?: string, ignoreElementClass?: string): Promise<void>;
873
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GanttPrintService, never>;
874
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<GanttPrintService>;
875
+ }
876
+
877
+ declare class GanttSyncScrollService {
878
+ private ngZone;
879
+ private scrollGroupsMap;
880
+ constructor();
881
+ registerScrollEvent(groupName: string, element: HTMLElement, direction: 'x' | 'y'): void;
882
+ unregisterScrollEvent(groupName: string, element: HTMLElement): void;
883
+ private monitorScrollChange;
884
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GanttSyncScrollService, never>;
885
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<GanttSyncScrollService>;
886
+ }
887
+
888
+ declare class NgxGanttComponent extends GanttUpper implements OnInit, AfterViewInit {
889
+ private viewportRuler;
890
+ readonly maxLevel: _angular_core.InputSignal<number>;
891
+ readonly async: _angular_core.InputSignal<boolean>;
892
+ readonly childrenResolve: _angular_core.InputSignal<(GanttItem: any) => Observable<GanttItem[]>>;
893
+ readonly linkable: _angular_core.InputSignal<boolean>;
894
+ readonly loading: _angular_core.InputSignal<boolean>;
895
+ readonly virtualScrollEnabled: _angular_core.InputSignal<boolean>;
896
+ readonly loadingDelay: _angular_core.InputSignal<number>;
897
+ readonly linkDragStarted: _angular_core.OutputEmitterRef<GanttLinkDragEvent<unknown>>;
898
+ readonly linkDragEnded: _angular_core.OutputEmitterRef<GanttLinkDragEvent<unknown>>;
899
+ readonly lineClick: _angular_core.OutputEmitterRef<GanttLineClickEvent<unknown>>;
900
+ readonly selectedChange: _angular_core.OutputEmitterRef<GanttSelectedEvent<unknown>>;
901
+ readonly virtualScrolledIndexChange: _angular_core.OutputEmitterRef<GanttVirtualScrolledIndexChangeEvent>;
902
+ readonly table: _angular_core.Signal<NgxGanttTableComponent>;
903
+ readonly columns: _angular_core.Signal<readonly NgxGanttTableColumnComponent[]>;
904
+ readonly ganttRoot: _angular_core.Signal<NgxGanttRootComponent>;
905
+ readonly footerTemplate: _angular_core.Signal<TemplateRef<any>>;
906
+ readonly virtualScroll: _angular_core.Signal<CdkVirtualScrollViewport>;
907
+ readonly ganttTableBody: _angular_core.Signal<ElementRef<HTMLDivElement>>;
908
+ realLoading: boolean;
909
+ tableScrollWidth: _angular_core.WritableSignal<number>;
910
+ private resizeObserver;
911
+ flatItems: (GanttGroupInternal | GanttItemInternal)[];
912
+ viewportItems: (GanttGroupInternal | GanttItemInternal)[];
913
+ private loadingTimer;
914
+ private rangeStart;
915
+ private rangeEnd;
916
+ private flatItemsMap;
917
+ private draggingItem;
918
+ constructor();
919
+ ngOnInit(): void;
920
+ computeRefs(): void;
921
+ setupItems(): void;
922
+ ngAfterViewInit(): void;
923
+ private buildFlatItems;
924
+ private afterExpand;
925
+ private appendDraggingItemToViewportItems;
926
+ expandChildren(item: GanttItemInternal): void;
927
+ selectItem(selectEvent: GanttSelectedEvent): void;
928
+ scrollToToday(): void;
929
+ scrollToDate(date: number | Date | GanttDate): void;
930
+ scrolledIndexChange(index: number): void;
931
+ expandGroups(expanded: boolean): void;
932
+ expandGroup(group: GanttGroupInternal): void;
933
+ itemDragStarted(event: GanttTableDragStartedEvent): void;
934
+ itemDragEnded(event: GanttTableDragEndedEvent): void;
935
+ private initScrollContainerObserver;
936
+ ngOnDestroy(): void;
937
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgxGanttComponent, never>;
938
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgxGanttComponent, "ngx-gantt", never, { "maxLevel": { "alias": "maxLevel"; "required": false; "isSignal": true; }; "async": { "alias": "async"; "required": false; "isSignal": true; }; "childrenResolve": { "alias": "childrenResolve"; "required": false; "isSignal": true; }; "linkable": { "alias": "linkable"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "virtualScrollEnabled": { "alias": "virtualScrollEnabled"; "required": false; "isSignal": true; }; "loadingDelay": { "alias": "loadingDelay"; "required": false; "isSignal": true; }; }, { "linkDragStarted": "linkDragStarted"; "linkDragEnded": "linkDragEnded"; "lineClick": "lineClick"; "selectedChange": "selectedChange"; "virtualScrolledIndexChange": "virtualScrolledIndexChange"; }, ["table", "columns", "footerTemplate"], never, true, never>;
939
+ }
940
+
941
+ interface GanttAbstractComponent {
942
+ table: Signal<NgxGanttTableComponent>;
943
+ styles: Signal<GanttStyleOptions>;
944
+ maxLevel: Signal<number>;
945
+ async: Signal<boolean>;
946
+ cdr: ChangeDetectorRef;
947
+ expandGroup(group: GanttGroupInternal): void;
948
+ expandChildren(item: GanttItemInternal): void;
949
+ }
950
+
951
+ declare class GanttTableHeaderComponent implements OnInit, OnDestroy {
952
+ private elementRef;
953
+ gantt: GanttAbstractComponent;
954
+ dragStartLeft: number;
955
+ tableWidth: number;
956
+ customWidth: number;
957
+ private unsubscribe$;
958
+ readonly columns: _angular_core.InputSignal<QueryList<NgxGanttTableColumnComponent>>;
959
+ readonly resizeLineElementRef: _angular_core.Signal<ElementRef<HTMLElement>>;
960
+ className: string;
961
+ constructor();
962
+ ngOnInit(): void;
963
+ private columnsChange;
964
+ private dragFixed;
965
+ onResizeStarted(event: CdkDragStart): void;
966
+ onResizeMoved(event: CdkDragMove, column?: NgxGanttTableColumnComponent): void;
967
+ onResizeEnded(event: CdkDragEnd, column: NgxGanttTableColumnComponent): void;
968
+ onOverallResizeEnded(event: CdkDragEnd): void;
969
+ private showAuxiliaryLine;
970
+ private hideAuxiliaryLine;
971
+ private getCalcWidth;
972
+ ngOnDestroy(): void;
973
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GanttTableHeaderComponent, never>;
974
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GanttTableHeaderComponent, "gantt-table-header", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
975
+ }
976
+
977
+ declare class GanttTableBodyComponent implements OnInit, OnDestroy, AfterViewInit {
978
+ gantt: GanttAbstractComponent;
979
+ ganttUpper: GanttUpper;
980
+ private cdr;
981
+ private document;
982
+ protected elementRef: ElementRef<HTMLElement>;
983
+ readonly viewportItems: _angular_core.InputSignal<(GanttItemInternal | GanttGroupInternal)[]>;
984
+ readonly hasGroup: _angular_core.Signal<boolean>;
985
+ readonly ganttTableEmptyClass: _angular_core.Signal<boolean>;
986
+ readonly flatItems: _angular_core.InputSignal<(GanttItemInternal | GanttGroupInternal)[]>;
987
+ readonly columns: _angular_core.InputSignal<QueryList<NgxGanttTableColumnComponent>>;
988
+ readonly groupTemplate: _angular_core.InputSignal<TemplateRef<any>>;
989
+ readonly emptyTemplate: _angular_core.InputSignal<TemplateRef<any>>;
990
+ readonly rowBeforeTemplate: _angular_core.InputSignal<TemplateRef<any>>;
991
+ readonly rowAfterTemplate: _angular_core.InputSignal<TemplateRef<any>>;
992
+ readonly draggable: _angular_core.InputSignal<boolean>;
993
+ readonly dropEnterPredicate: _angular_core.InputSignal<(context: GanttTableDragEnterPredicateContext) => boolean>;
994
+ readonly dragDropped: _angular_core.OutputEmitterRef<GanttTableDragDroppedEvent<unknown>>;
995
+ readonly dragStarted: _angular_core.OutputEmitterRef<GanttTableDragStartedEvent<unknown>>;
996
+ readonly dragEnded: _angular_core.OutputEmitterRef<GanttTableDragEndedEvent<unknown>>;
997
+ readonly itemClick: _angular_core.OutputEmitterRef<GanttSelectedEvent<unknown>>;
998
+ cdkDrags: QueryList<CdkDrag<GanttItemInternal>>;
999
+ hasExpandIcon: boolean;
1000
+ private itemDragsMap;
1001
+ private itemDragMoved;
1002
+ private itemDropTarget;
1003
+ private destroy$;
1004
+ ganttTableDragging: boolean;
1005
+ constructor();
1006
+ ngOnInit(): void;
1007
+ ngAfterViewInit(): void;
1008
+ expandGroup(group: GanttGroupInternal): void;
1009
+ expandChildren(event: MouseEvent, item: GanttItemInternal): void;
1010
+ onItemDragStarted(event: CdkDragStart<GanttItemInternal>): void;
1011
+ emitItemDragMoved(event: CdkDragMove): void;
1012
+ onItemDragMoved(event: CdkDragMove<GanttItemInternal>): void;
1013
+ onItemDragEnded(event: CdkDragEnd<GanttItemInternal>): void;
1014
+ onListDropped(event: CdkDragDrop<GanttItemInternal[], GanttItemInternal[], GanttItemInternal>): void;
1015
+ trackBy(index: number, item: GanttGroupInternal | GanttItemInternal): string | number;
1016
+ ngOnDestroy(): void;
1017
+ private removeItem;
1018
+ private insertItem;
1019
+ private insertChildrenItem;
1020
+ private getParentByItem;
1021
+ private getExpandChildrenByDrag;
1022
+ private getChildrenElementsByElement;
1023
+ private getTargetPosition;
1024
+ private showDropPositionPlaceholder;
1025
+ private cleanupDragArtifacts;
1026
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GanttTableBodyComponent, never>;
1027
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GanttTableBodyComponent, "gantt-table-body", never, { "viewportItems": { "alias": "viewportItems"; "required": false; "isSignal": true; }; "flatItems": { "alias": "flatItems"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "groupTemplate": { "alias": "groupTemplate"; "required": false; "isSignal": true; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; "isSignal": true; }; "rowBeforeTemplate": { "alias": "rowBeforeTemplate"; "required": false; "isSignal": true; }; "rowAfterTemplate": { "alias": "rowAfterTemplate"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "dropEnterPredicate": { "alias": "dropEnterPredicate"; "required": false; "isSignal": true; }; }, { "dragDropped": "dragDropped"; "dragStarted": "dragStarted"; "dragEnded": "dragEnded"; "itemClick": "itemClick"; }, never, never, true, never>;
1028
+ }
1029
+
1030
+ declare enum ScrollDirection {
1031
+ NONE = 0,
1032
+ LEFT = 1,
1033
+ RIGHT = 2
1034
+ }
1035
+ interface ScrollEvent {
1036
+ target: Element;
1037
+ direction: ScrollDirection;
1038
+ }
1039
+ declare class GanttDomService implements OnDestroy {
1040
+ private ngZone;
1041
+ private platformId;
1042
+ root: Element;
1043
+ side: Element;
1044
+ container: Element;
1045
+ sideContainer: Element;
1046
+ mainContainer: Element;
1047
+ verticalScrollContainer: Element;
1048
+ calendarHeader: Element;
1049
+ mainItems: Element;
1050
+ calendarOverlay: Element;
1051
+ linksOverlay: Element;
1052
+ visibleRangeX: WritableSignal<{
1053
+ min: number;
1054
+ max: number;
1055
+ }>;
1056
+ private mainFooter;
1057
+ private mainScrollbar;
1058
+ private unsubscribe$;
1059
+ constructor();
1060
+ private disableBrowserWheelEvent;
1061
+ initialize(root: ElementRef<HTMLElement>): void;
1062
+ /**
1063
+ * @returns An observable that will emit outside the Angular zone. Note, consumers should re-enter the Angular zone
1064
+ * to run the change detection if needed.
1065
+ */
1066
+ getViewerScroll(options?: AddEventListenerOptions): Observable<ScrollEvent>;
1067
+ getResize(): Observable<Event>;
1068
+ getResizeByElement(element: Element): Observable<unknown>;
1069
+ scrollMainContainer(left: number): void;
1070
+ syncHorizontalScroll(left: number): void;
1071
+ setVisibleRangeX(): void;
1072
+ applyCssVariables(element: HTMLElement, options?: GanttStyleOptions): void;
1073
+ ngOnDestroy(): void;
1074
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GanttDomService, never>;
1075
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<GanttDomService>;
1076
+ }
1077
+
1078
+ declare class GanttMainComponent {
1079
+ ganttUpper: GanttUpper;
1080
+ dom: GanttDomService;
1081
+ protected ngZone: NgZone;
1082
+ readonly viewportItems: _angular_core.InputSignal<(GanttItemInternal | GanttGroupInternal)[]>;
1083
+ readonly flatItems: _angular_core.InputSignal<(GanttItemInternal | GanttGroupInternal)[]>;
1084
+ readonly groupHeaderTemplate: _angular_core.InputSignal<TemplateRef<any>>;
1085
+ readonly itemTemplate: _angular_core.InputSignal<TemplateRef<any>>;
1086
+ readonly barTemplate: _angular_core.InputSignal<TemplateRef<any>>;
1087
+ readonly rangeTemplate: _angular_core.InputSignal<TemplateRef<any>>;
1088
+ readonly baselineTemplate: _angular_core.InputSignal<TemplateRef<any>>;
1089
+ readonly ganttRoot: _angular_core.InputSignal<NgxGanttRootComponent>;
1090
+ readonly quickTimeFocus: _angular_core.InputSignal<boolean>;
1091
+ readonly barClick: _angular_core.OutputEmitterRef<GanttBarClickEvent<unknown>>;
1092
+ readonly lineClick: _angular_core.OutputEmitterRef<GanttLineClickEvent<unknown>>;
1093
+ ganttMainClass: boolean;
1094
+ private unsubscribe$;
1095
+ constructor();
1096
+ toItemType(data: GanttItemInternal | GanttGroupInternal): GanttItemInternal;
1097
+ trackBy(index: number, item: GanttGroupInternal | GanttItemInternal): string | number;
1098
+ private setupResize;
1099
+ quickTime(item: GanttItem, type: 'left' | 'right'): void;
1100
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GanttMainComponent, never>;
1101
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GanttMainComponent, "gantt-main", never, { "viewportItems": { "alias": "viewportItems"; "required": false; "isSignal": true; }; "flatItems": { "alias": "flatItems"; "required": false; "isSignal": true; }; "groupHeaderTemplate": { "alias": "groupHeaderTemplate"; "required": false; "isSignal": true; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; "isSignal": true; }; "barTemplate": { "alias": "barTemplate"; "required": false; "isSignal": true; }; "rangeTemplate": { "alias": "rangeTemplate"; "required": false; "isSignal": true; }; "baselineTemplate": { "alias": "baselineTemplate"; "required": false; "isSignal": true; }; "ganttRoot": { "alias": "ganttRoot"; "required": false; "isSignal": true; }; "quickTimeFocus": { "alias": "quickTimeFocus"; "required": false; "isSignal": true; }; }, { "barClick": "barClick"; "lineClick": "lineClick"; }, never, never, true, never>;
1102
+ }
1103
+
1104
+ declare class GanttLinksComponent implements OnInit, OnDestroy {
1105
+ ganttUpper: GanttUpper;
1106
+ private cdr;
1107
+ private elementRef;
1108
+ private ganttDragContainer;
1109
+ readonly flatItems: _angular_core.InputSignal<(GanttItemInternal | GanttGroupInternal)[]>;
1110
+ readonly lineClick: _angular_core.OutputEmitterRef<GanttLineClickEvent<unknown>>;
1111
+ links: LinkInternal[];
1112
+ ganttLinkTypes: typeof GanttLinkType;
1113
+ showArrow: boolean;
1114
+ private linkItems;
1115
+ private linkLine;
1116
+ private unsubscribe$;
1117
+ ganttLinksOverlay: boolean;
1118
+ constructor();
1119
+ ngOnInit(): void;
1120
+ private computeItemPosition;
1121
+ buildLinks(): void;
1122
+ trackBy(index: number): number;
1123
+ onLineClick(event: MouseEvent, link: LinkInternal): void;
1124
+ mouseEnterPath(link: LinkInternal, index: number): void;
1125
+ mouseLeavePath(link: LinkInternal): void;
1126
+ ngOnDestroy(): void;
1127
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GanttLinksComponent, never>;
1128
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GanttLinksComponent, "gantt-links-overlay", never, { "flatItems": { "alias": "flatItems"; "required": false; "isSignal": true; }; }, { "lineClick": "lineClick"; }, never, never, true, never>;
1129
+ }
1130
+
1131
+ declare class GanttIconComponent {
1132
+ private elementRef;
1133
+ isIcon: boolean;
1134
+ readonly iconName: _angular_core.InputSignal<string>;
1135
+ constructor();
1136
+ setSvg(name: string): void;
1137
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GanttIconComponent, never>;
1138
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GanttIconComponent, "gantt-icon", never, { "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1139
+ }
1140
+
1141
+ declare class IsGanttRangeItemPipe implements PipeTransform {
1142
+ transform(value: GanttItemType): value is GanttItemType.range;
1143
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IsGanttRangeItemPipe, never>;
1144
+ static ɵpipe: _angular_core.ɵɵPipeDeclaration<IsGanttRangeItemPipe, "isGanttRangeItem", true>;
1145
+ }
1146
+ declare class IsGanttBarItemPipe implements PipeTransform {
1147
+ transform(value: GanttItemType): value is GanttItemType.bar;
1148
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IsGanttBarItemPipe, never>;
1149
+ static ɵpipe: _angular_core.ɵɵPipeDeclaration<IsGanttBarItemPipe, "isGanttBarItem", true>;
1150
+ }
1151
+ declare class IsGanttCustomItemPipe implements PipeTransform {
1152
+ transform(value: GanttItemType): value is GanttItemType.custom;
1153
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IsGanttCustomItemPipe, never>;
1154
+ static ɵpipe: _angular_core.ɵɵPipeDeclaration<IsGanttCustomItemPipe, "isGanttCustomItem", true>;
1155
+ }
1156
+ declare class IsGanttGroupPipe implements PipeTransform {
1157
+ transform(data: GanttItemInternal | GanttGroupInternal): data is GanttGroupInternal;
1158
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IsGanttGroupPipe, never>;
1159
+ static ɵpipe: _angular_core.ɵɵPipeDeclaration<IsGanttGroupPipe, "isGanttGroup", true>;
1160
+ }
1161
+
1162
+ declare class NgxGanttModule {
1163
+ constructor();
1164
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgxGanttModule, never>;
1165
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<NgxGanttModule, never, [typeof i1.CommonModule, typeof i2.DragDropModule, typeof i3.ScrollingModule, typeof NgxGanttComponent, typeof NgxGanttTableComponent, typeof NgxGanttTableColumnComponent, typeof GanttTableHeaderComponent, typeof GanttTableBodyComponent, typeof GanttMainComponent, typeof GanttCalendarHeaderComponent, typeof GanttCalendarGridComponent, typeof GanttLinksComponent, typeof GanttLoaderComponent, typeof NgxGanttBarComponent, typeof GanttIconComponent, typeof GanttDragBackdropComponent, typeof NgxGanttRangeComponent, typeof NgxGanttRootComponent, typeof NgxGanttBaselineComponent, typeof NgxGanttToolbarComponent, typeof GanttScrollbarComponent, typeof NgxGanttPlaceholderComponent, typeof IsGanttRangeItemPipe, typeof IsGanttBarItemPipe, typeof IsGanttCustomItemPipe, typeof IsGanttGroupPipe], [typeof NgxGanttComponent, typeof NgxGanttTableComponent, typeof NgxGanttTableColumnComponent, typeof NgxGanttRootComponent, typeof NgxGanttBarComponent, typeof NgxGanttRangeComponent, typeof NgxGanttBaselineComponent, typeof NgxGanttToolbarComponent, typeof NgxGanttPlaceholderComponent, typeof GanttCalendarHeaderComponent, typeof GanttCalendarGridComponent, typeof GanttDragBackdropComponent, typeof GanttScrollbarComponent]>;
1166
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<NgxGanttModule>;
1167
+ }
1168
+
1169
+ declare const _default$5: {
1170
+ id: GanttI18nLocale;
1171
+ views: {
1172
+ hour: {
1173
+ label: string;
1174
+ tickFormats: {
1175
+ period: string;
1176
+ unit: string;
1177
+ };
1178
+ };
1179
+ day: {
1180
+ label: string;
1181
+ tickFormats: {
1182
+ period: string;
1183
+ unit: string;
1184
+ };
1185
+ };
1186
+ week: {
1187
+ label: string;
1188
+ tickFormats: {
1189
+ period: string;
1190
+ unit: string;
1191
+ };
1192
+ };
1193
+ month: {
1194
+ label: string;
1195
+ tickFormats: {
1196
+ period: string;
1197
+ unit: string;
1198
+ };
1199
+ };
1200
+ quarter: {
1201
+ label: string;
1202
+ tickFormats: {
1203
+ period: string;
1204
+ unit: string;
1205
+ };
1206
+ };
1207
+ year: {
1208
+ label: string;
1209
+ tickFormats: {
1210
+ unit: string;
1211
+ };
1212
+ };
1213
+ };
1214
+ };
1215
+
1216
+ declare const _default$4: {
1217
+ id: GanttI18nLocale;
1218
+ views: {
1219
+ hour: {
1220
+ label: string;
1221
+ tickFormats: {
1222
+ period: string;
1223
+ unit: string;
1224
+ };
1225
+ };
1226
+ day: {
1227
+ label: string;
1228
+ tickFormats: {
1229
+ period: string;
1230
+ unit: string;
1231
+ };
1232
+ };
1233
+ week: {
1234
+ label: string;
1235
+ tickFormats: {
1236
+ period: string;
1237
+ unit: string;
1238
+ };
1239
+ };
1240
+ month: {
1241
+ label: string;
1242
+ tickFormats: {
1243
+ period: string;
1244
+ unit: string;
1245
+ };
1246
+ };
1247
+ quarter: {
1248
+ label: string;
1249
+ tickFormats: {
1250
+ period: string;
1251
+ unit: string;
1252
+ };
1253
+ };
1254
+ year: {
1255
+ label: string;
1256
+ tickFormats: {
1257
+ unit: string;
1258
+ };
1259
+ };
1260
+ };
1261
+ };
1262
+
1263
+ declare const _default$3: {
1264
+ id: GanttI18nLocale;
1265
+ views: {
1266
+ hour: {
1267
+ label: string;
1268
+ tickFormats: {
1269
+ period: string;
1270
+ unit: string;
1271
+ };
1272
+ };
1273
+ day: {
1274
+ label: string;
1275
+ tickFormats: {
1276
+ period: string;
1277
+ unit: string;
1278
+ };
1279
+ };
1280
+ week: {
1281
+ label: string;
1282
+ tickFormats: {
1283
+ period: string;
1284
+ unit: string;
1285
+ };
1286
+ };
1287
+ month: {
1288
+ label: string;
1289
+ tickFormats: {
1290
+ period: string;
1291
+ unit: string;
1292
+ };
1293
+ };
1294
+ quarter: {
1295
+ label: string;
1296
+ tickFormats: {
1297
+ period: string;
1298
+ unit: string;
1299
+ };
1300
+ };
1301
+ year: {
1302
+ label: string;
1303
+ tickFormats: {
1304
+ unit: string;
1305
+ };
1306
+ };
1307
+ };
1308
+ };
1309
+
1310
+ declare const _default$2: {
1311
+ id: GanttI18nLocale;
1312
+ views: {
1313
+ hour: {
1314
+ label: string;
1315
+ tickFormats: {
1316
+ period: string;
1317
+ unit: string;
1318
+ };
1319
+ };
1320
+ day: {
1321
+ label: string;
1322
+ tickFormats: {
1323
+ period: string;
1324
+ unit: string;
1325
+ };
1326
+ };
1327
+ week: {
1328
+ label: string;
1329
+ tickFormats: {
1330
+ period: string;
1331
+ unit: string;
1332
+ };
1333
+ };
1334
+ month: {
1335
+ label: string;
1336
+ tickFormats: {
1337
+ period: string;
1338
+ unit: string;
1339
+ };
1340
+ };
1341
+ quarter: {
1342
+ label: string;
1343
+ tickFormats: {
1344
+ period: string;
1345
+ unit: string;
1346
+ };
1347
+ };
1348
+ year: {
1349
+ label: string;
1350
+ tickFormats: {
1351
+ unit: string;
1352
+ };
1353
+ };
1354
+ };
1355
+ };
1356
+
1357
+ declare const _default$1: {
1358
+ id: GanttI18nLocale;
1359
+ dateLocale: Locale;
1360
+ views: {
1361
+ hour: {
1362
+ label: string;
1363
+ tickFormats: {
1364
+ period: string;
1365
+ unit: string;
1366
+ };
1367
+ };
1368
+ day: {
1369
+ label: string;
1370
+ tickFormats: {
1371
+ period: string;
1372
+ unit: string;
1373
+ };
1374
+ };
1375
+ week: {
1376
+ label: string;
1377
+ tickFormats: {
1378
+ period: string;
1379
+ unit: string;
1380
+ };
1381
+ };
1382
+ month: {
1383
+ label: string;
1384
+ tickFormats: {
1385
+ period: string;
1386
+ unit: string;
1387
+ };
1388
+ };
1389
+ quarter: {
1390
+ label: string;
1391
+ tickFormats: {
1392
+ period: string;
1393
+ unit: string;
1394
+ };
1395
+ };
1396
+ year: {
1397
+ label: string;
1398
+ tickFormats: {
1399
+ unit: string;
1400
+ };
1401
+ };
1402
+ };
1403
+ };
1404
+
1405
+ declare const _default: {
1406
+ id: GanttI18nLocale;
1407
+ dateLocale: Locale;
1408
+ views: {
1409
+ hour: {
1410
+ label: string;
1411
+ tickFormats: {
1412
+ period: string;
1413
+ unit: string;
1414
+ };
1415
+ };
1416
+ day: {
1417
+ label: string;
1418
+ tickFormats: {
1419
+ period: string;
1420
+ unit: string;
1421
+ };
1422
+ };
1423
+ week: {
1424
+ label: string;
1425
+ tickFormats: {
1426
+ period: string;
1427
+ unit: string;
1428
+ };
1429
+ };
1430
+ month: {
1431
+ label: string;
1432
+ tickFormats: {
1433
+ period: string;
1434
+ unit: string;
1435
+ };
1436
+ };
1437
+ quarter: {
1438
+ label: string;
1439
+ tickFormats: {
1440
+ period: string;
1441
+ unit: string;
1442
+ };
1443
+ };
1444
+ year: {
1445
+ label: string;
1446
+ tickFormats: {
1447
+ unit: string;
1448
+ };
1449
+ };
1450
+ };
1451
+ };
1452
+
1453
+ declare function registerView<T extends typeof GanttView>(type: string, view: T): void;
1454
+
1455
+ export { GANTT_GLOBAL_CONFIG, GANTT_I18N_LOCALE_TOKEN, GANTT_UPPER_TOKEN, GanttBarClickEvent, GanttBaselineItemInternal, GanttCalendarGridComponent, GanttCalendarHeaderComponent, GanttConfigService, GanttDate, GanttDragBackdropComponent, GanttDragEvent, GanttGroupInternal, GanttI18nLocale, GanttItemInternal, GanttItemType, GanttItemUpper, GanttLineClickEvent, GanttLinkDragEvent, GanttLinkLineType, GanttLinkType, GanttLoadOnScrollEvent, GanttLoaderComponent, GanttPrintService, GanttScrollbarComponent, GanttSelectedEvent, GanttSyncScrollService, GanttSyncScrollXDirective, GanttSyncScrollYDirective, GanttTableDragDroppedEvent, GanttTableDragEndedEvent, GanttTableDragEnterPredicateContext, GanttTableDragStartedEvent, GanttTableEvent, GanttTableItemClickEvent, GanttUpper, GanttView, GanttViewTick, GanttViewType, GanttVirtualScrolledIndexChangeEvent, IsGanttBarItemPipe, IsGanttCustomItemPipe, IsGanttGroupPipe, IsGanttRangeItemPipe, NgxGanttBarComponent, NgxGanttBaselineComponent, NgxGanttComponent, NgxGanttModule, NgxGanttPlaceholderComponent, NgxGanttRangeComponent, NgxGanttRootComponent, NgxGanttTableColumnComponent, NgxGanttTableComponent, NgxGanttToolbarComponent, PERIOD_TICK_TOP, PERIOD_TICK_TOP as PRIMARY_TICK_TOP, UNIT_TICK_TOP as SECONDARY_TICK_TOP, UNIT_TICK_TOP, _default$1 as deDeLocale, defaultConfig, _default$3 as enUsLocale, getDefaultTimeZone, _default$2 as jaJpLocale, registerView, _default as ruRuLocale, setDefaultTimeZone, _default$5 as zhHansLocale, _default$4 as zhHantLocale };
1456
+ export type { GanttBaselineItem, GanttDateOptions, GanttDateUtil, GanttGlobalConfig, GanttGroup, GanttI18nLocaleConfig, GanttItem, GanttItemRefs, GanttLink, GanttLinkItem, GanttLinkOptions, GanttStyleOptions, GanttTableDropPosition, GanttToolbarOptions, GanttViewDate, GanttViewOptions, LinkInternal };