@worktile/gantt 15.1.0-next.0 → 15.1.0-next.1

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.
@@ -16,6 +16,9 @@ export declare class NgxGanttComponent extends GanttUpper implements OnInit, OnC
16
16
  async: boolean;
17
17
  childrenResolve: (GanttItem: any) => Observable<GanttItem[]>;
18
18
  linkable: boolean;
19
+ set loading(loading: boolean);
20
+ get loading(): boolean;
21
+ loadingDelay: number;
19
22
  linkDragStarted: EventEmitter<GanttLinkDragEvent<unknown>>;
20
23
  linkDragEnded: EventEmitter<GanttLinkDragEvent<unknown>>;
21
24
  lineClick: EventEmitter<GanttLineClickEvent<unknown>>;
@@ -27,6 +30,8 @@ export declare class NgxGanttComponent extends GanttUpper implements OnInit, OnC
27
30
  virtualScroll: CdkVirtualScrollViewport;
28
31
  flatData: (GanttGroupInternal | GanttItemInternal)[];
29
32
  renderData: (GanttGroupInternal | GanttItemInternal)[];
33
+ private _loading;
34
+ private loadingTimer;
30
35
  private rangeStart;
31
36
  private rangeEnd;
32
37
  private flatDataMap;
@@ -44,5 +49,5 @@ export declare class NgxGanttComponent extends GanttUpper implements OnInit, OnC
44
49
  expandGroups(expanded: boolean): void;
45
50
  expandGroup(group: GanttGroupInternal): void;
46
51
  static ɵfac: i0.ɵɵFactoryDeclaration<NgxGanttComponent, [null, null, null, { optional: true; }, null]>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<NgxGanttComponent, "ngx-gantt", never, { "maxLevel": "maxLevel"; "async": "async"; "childrenResolve": "childrenResolve"; "linkable": "linkable"; }, { "linkDragStarted": "linkDragStarted"; "linkDragEnded": "linkDragEnded"; "lineClick": "lineClick"; "selectedChange": "selectedChange"; }, ["table", "tableEmptyTemplate", "columns"], never, false, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgxGanttComponent, "ngx-gantt", never, { "maxLevel": "maxLevel"; "async": "async"; "childrenResolve": "childrenResolve"; "linkable": "linkable"; "loading": "loading"; "loadingDelay": "loadingDelay"; }, { "linkDragStarted": "linkDragStarted"; "linkDragEnded": "linkDragEnded"; "lineClick": "lineClick"; "selectedChange": "selectedChange"; }, ["table", "tableEmptyTemplate", "columns"], never, false, never>;
48
53
  }
@@ -31,6 +31,10 @@
31
31
  background-color: variables.$gantt-bg-color;
32
32
  overflow-y: auto;
33
33
 
34
+ .gantt-table {
35
+ height: 100%;
36
+ }
37
+
34
38
  &::-webkit-scrollbar {
35
39
  display: none;
36
40
  }
package/gantt.module.d.ts CHANGED
@@ -8,19 +8,20 @@ import * as i6 from "./components/main/gantt-main.component";
8
8
  import * as i7 from "./components/calendar/header/calendar-header.component";
9
9
  import * as i8 from "./components/calendar/grid/calendar-grid.component";
10
10
  import * as i9 from "./components/links/links.component";
11
- import * as i10 from "./components/bar/bar.component";
12
- import * as i11 from "./components/icon/icon.component";
13
- import * as i12 from "./components/drag-backdrop/drag-backdrop.component";
14
- import * as i13 from "./components/range/range.component";
15
- import * as i14 from "./root.component";
16
- import * as i15 from "./components/baseline/baseline.component";
17
- import * as i16 from "./components/toolbar/toolbar.component";
18
- import * as i17 from "./gantt.pipe";
19
- import * as i18 from "@angular/common";
20
- import * as i19 from "@angular/cdk/drag-drop";
21
- import * as i20 from "@angular/cdk/scrolling";
11
+ import * as i10 from "./components/loader/loader.component";
12
+ import * as i11 from "./components/bar/bar.component";
13
+ import * as i12 from "./components/icon/icon.component";
14
+ import * as i13 from "./components/drag-backdrop/drag-backdrop.component";
15
+ import * as i14 from "./components/range/range.component";
16
+ import * as i15 from "./root.component";
17
+ import * as i16 from "./components/baseline/baseline.component";
18
+ import * as i17 from "./components/toolbar/toolbar.component";
19
+ import * as i18 from "./gantt.pipe";
20
+ import * as i19 from "@angular/common";
21
+ import * as i20 from "@angular/cdk/drag-drop";
22
+ import * as i21 from "@angular/cdk/scrolling";
22
23
  export declare class NgxGanttModule {
23
24
  static ɵfac: i0.ɵɵFactoryDeclaration<NgxGanttModule, never>;
24
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgxGanttModule, [typeof i1.NgxGanttComponent, typeof i2.NgxGanttTableComponent, typeof i3.NgxGanttTableColumnComponent, typeof i4.GanttTableHeaderComponent, typeof i5.GanttTableBodyComponent, typeof i6.GanttMainComponent, typeof i7.GanttCalendarHeaderComponent, typeof i8.GanttCalendarGridComponent, typeof i9.GanttLinksComponent, typeof i10.NgxGanttBarComponent, typeof i11.GanttIconComponent, typeof i12.GanttDragBackdropComponent, typeof i13.NgxGanttRangeComponent, typeof i14.NgxGanttRootComponent, typeof i15.NgxGanttBaselineComponent, typeof i16.NgxGanttToolbarComponent, typeof i17.IsGanttRangeItemPipe, typeof i17.IsGanttBarItemPipe, typeof i17.IsGanttCustomItemPipe], [typeof i18.CommonModule, typeof i19.DragDropModule, typeof i20.ScrollingModule], [typeof i1.NgxGanttComponent, typeof i2.NgxGanttTableComponent, typeof i3.NgxGanttTableColumnComponent, typeof i14.NgxGanttRootComponent, typeof i10.NgxGanttBarComponent, typeof i13.NgxGanttRangeComponent, typeof i15.NgxGanttBaselineComponent, typeof i16.NgxGanttToolbarComponent]>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgxGanttModule, [typeof i1.NgxGanttComponent, typeof i2.NgxGanttTableComponent, typeof i3.NgxGanttTableColumnComponent, typeof i4.GanttTableHeaderComponent, typeof i5.GanttTableBodyComponent, typeof i6.GanttMainComponent, typeof i7.GanttCalendarHeaderComponent, typeof i8.GanttCalendarGridComponent, typeof i9.GanttLinksComponent, typeof i10.GanttLoaderComponent, typeof i11.NgxGanttBarComponent, typeof i12.GanttIconComponent, typeof i13.GanttDragBackdropComponent, typeof i14.NgxGanttRangeComponent, typeof i15.NgxGanttRootComponent, typeof i16.NgxGanttBaselineComponent, typeof i17.NgxGanttToolbarComponent, typeof i18.IsGanttRangeItemPipe, typeof i18.IsGanttBarItemPipe, typeof i18.IsGanttCustomItemPipe], [typeof i19.CommonModule, typeof i20.DragDropModule, typeof i21.ScrollingModule], [typeof i1.NgxGanttComponent, typeof i2.NgxGanttTableComponent, typeof i3.NgxGanttTableColumnComponent, typeof i15.NgxGanttRootComponent, typeof i11.NgxGanttBarComponent, typeof i14.NgxGanttRangeComponent, typeof i16.NgxGanttBaselineComponent, typeof i17.NgxGanttToolbarComponent]>;
25
26
  static ɵinj: i0.ɵɵInjectorDeclaration<NgxGanttModule>;
26
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worktile/gantt",
3
- "version": "15.1.0-next.0",
3
+ "version": "15.1.0-next.1",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "exports": {
6
6
  ".": {
package/public-api.d.ts CHANGED
@@ -8,6 +8,7 @@ export * from './components/bar/bar.component';
8
8
  export * from './components/range/range.component';
9
9
  export * from './components/baseline/baseline.component';
10
10
  export * from './components/toolbar/toolbar.component';
11
+ export * from './components/loader/loader.component';
11
12
  export * from './utils/date';
12
13
  export * from './class';
13
14
  export * from './views/view';
package/styles/index.scss CHANGED
@@ -11,3 +11,4 @@
11
11
  @use '../components/links/links.component.scss';
12
12
  @use '../components/baseline/baseline.component.scss';
13
13
  @use '../components/toolbar/toolbar.component.scss';
14
+ @use '../components/loader/loader.component.scss';
@@ -52,3 +52,6 @@ $gantt-baseline-background-color: #cacaca !default;
52
52
 
53
53
  // toolbar
54
54
  $gantt-toolbar-view-active-color: $gantt-primary-color !default;
55
+
56
+ // loader
57
+ $gantt-loader-loading-color: #6698ff !default;