-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: initialize gantt structure and components
- Loading branch information
Showing
52 changed files
with
511 additions
and
678 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
app is work! | ||
<ngx-gantt [start]="1514736000" end="1609430400"></ngx-gantt> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
/* You can add global styles to this file, and also import other style files */ | ||
|
||
@import '../../packages/gantt/src/gantt.scss'; | ||
|
||
html,body { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
example-root{ | ||
width: 100%; | ||
height: 100%; | ||
display: flex; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<p>bar works!</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'gantt-bar', | ||
templateUrl: './bar.component.html', | ||
}) | ||
export class GanttBarComponent implements OnInit { | ||
constructor() {} | ||
|
||
ngOnInit() {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
.gantt-calendar-overlay { | ||
display: block; | ||
height: 100%; | ||
|
||
line { | ||
shape-rendering: crispEdges; | ||
} | ||
|
||
.date { | ||
.primary-text { | ||
fill: $gantt-date-primary-color; | ||
font-size: $gantt-date-primary-font-size; | ||
} | ||
|
||
.secondary-text { | ||
fill: $gantt-date-secondary-color; | ||
font-size: $gantt-date-secondary-font-size; | ||
|
||
&-weekend { | ||
fill: $gantt-date-secondary-weekend-color; | ||
} | ||
} | ||
|
||
.primary-text, | ||
.secondary-text { | ||
text-anchor: middle; | ||
} | ||
|
||
.primary-line { | ||
stroke: $gantt-border-color; | ||
} | ||
|
||
.secondary-line { | ||
stroke-dasharray: 2px 3px; | ||
stroke: $gantt-date-secondary-border-color; | ||
} | ||
|
||
.secondary-backdrop { | ||
fill: $gantt-date-week-backdrop-bg; | ||
} | ||
|
||
.today-line-angle { | ||
fill: $gantt-date-today-color; | ||
} | ||
|
||
.today-line { | ||
stroke: $gantt-date-today-color; | ||
stroke-width: 2px; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export * from './date-point'; | ||
export * from './event'; | ||
export * from './item'; | ||
export * from './group'; | ||
export * from './view-type'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export enum GanttViewType { | ||
day = 'day', | ||
quarter = 'quarter', | ||
month = 'month', | ||
year = 'year' | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<p>dependencies works!</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'gantt-dependencies-overlay', | ||
templateUrl: './dependencies.component.html', | ||
}) | ||
export class GanttDependenciesOverlayComponent implements OnInit { | ||
constructor() {} | ||
|
||
ngOnInit() {} | ||
} |
Oops, something went wrong.