1+ export let sampleData : Object [ ] = [
2+ {
3+ taskID : 1 ,
4+ taskName : 'Planning' ,
5+ startDate : new Date ( '02/03/2017' ) ,
6+ endDate : new Date ( '02/07/2017' ) ,
7+ progress : 100 ,
8+ duration : 5 ,
9+ priority : 'Normal' ,
10+ approved : false ,
11+ subtasks : [
12+ { taskID : 2 , taskName : 'Plan timeline' , startDate : new Date ( '02/03/2017' ) ,
13+ endDate : new Date ( '02/07/2017' ) , duration : 5 , progress : 100 , priority : 'Normal' , approved : false } ,
14+ { taskID : 3 , taskName : 'Plan budget' , startDate : new Date ( '02/03/2017' ) ,
15+ endDate : new Date ( '02/07/2017' ) , duration : 5 , progress : 100 , priority : 'Low' , approved : true } ,
16+ { taskID : 4 , taskName : 'Allocate resources' , startDate : new Date ( '02/03/2017' ) ,
17+ endDate : new Date ( '02/07/2017' ) , duration : 5 , progress : 100 , priority : 'Critical' , approved : false } ,
18+ { taskID : 5 , taskName : 'Planning complete' , startDate : new Date ( '02/07/2017' ) ,
19+ endDate : new Date ( '02/07/2017' ) , duration : 0 , progress : 0 , priority : 'Low' , approved : true }
20+ ]
21+ } ,
22+ {
23+ taskID : 6 ,
24+ taskName : 'Design' ,
25+ startDate : new Date ( '02/10/2017' ) ,
26+ endDate : new Date ( '02/14/2017' ) ,
27+ duration : 3 ,
28+ progress : 86 ,
29+ priority : 'High' ,
30+ approved : false ,
31+ subtasks : [
32+ { taskID : 7 , taskName : 'Software Specification' , startDate : new Date ( '02/10/2017' ) ,
33+ endDate : new Date ( '02/12/2017' ) , duration : 3 , progress : 60 , priority : 'Normal' , approved : false } ,
34+ { taskID : 8 , taskName : 'Develop prototype' , startDate : new Date ( '02/10/2017' ) ,
35+ endDate : new Date ( '02/12/2017' ) , duration : 3 , progress : 100 , priority : 'Critical' , approved : false } ,
36+ { taskID : 9 , taskName : 'Get approval from customer' , startDate : new Date ( '02/13/2017' ) ,
37+ endDate : new Date ( '02/14/2017' ) , duration : 2 , progress : 100 , priority : 'Low' , approved : true } ,
38+ { taskID : 10 , taskName : 'Design Documentation' , startDate : new Date ( '02/13/2017' ) ,
39+ endDate : new Date ( '02/14/2017' ) , duration : 2 , progress : 100 , priority : 'High' , approved : true } ,
40+ { taskID : 11 , taskName : 'Design complete' , startDate : new Date ( '02/14/2017' ) ,
41+ endDate : new Date ( '02/14/2017' ) , duration : 0 , progress : 0 , priority : 'Normal' , approved : true }
42+ ]
43+ } ,
44+ {
45+ taskID : 12 ,
46+ taskName : 'Implementation Phase' ,
47+ startDate : new Date ( '02/17/2017' ) ,
48+ endDate : new Date ( '02/27/2017' ) ,
49+ priority : 'Normal' ,
50+ approved : false ,
51+ duration : 11 ,
52+ progress : 66 ,
53+ subtasks : [
54+ {
55+ taskID : 13 ,
56+ taskName : 'Phase 1' ,
57+ startDate : new Date ( '02/17/2017' ) ,
58+ endDate : new Date ( '02/27/2017' ) ,
59+ priority : 'High' ,
60+ approved : false ,
61+ progress : 50 ,
62+ duration : 11 ,
63+ subtasks : [ {
64+ taskID : 14 ,
65+ taskName : 'Implementation Module 1' ,
66+ startDate : new Date ( '02/17/2017' ) ,
67+ endDate : new Date ( '02/27/2017' ) ,
68+ priority : 'Normal' ,
69+ duration : 11 ,
70+ progress : 10 ,
71+ approved : false ,
72+ subtasks : [
73+ { taskID : 15 , taskName : 'Development Task 1' , startDate : new Date ( '02/17/2017' ) ,
74+ endDate : new Date ( '02/19/2017' ) , duration : 3 , progress : '50' , priority : 'High' , approved : false } ,
75+ { taskID : 16 , taskName : 'Development Task 2' , startDate : new Date ( '02/17/2017' ) ,
76+ endDate : new Date ( '02/19/2017' ) , duration : 3 , progress : '50' , priority : 'Low' , approved : true } ,
77+ { taskID : 17 , taskName : 'Testing' , startDate : new Date ( '02/20/2017' ) ,
78+ endDate : new Date ( '02/21/2017' ) , duration : 2 , progress : '0' , priority : 'Normal' , approved : true } ,
79+ { taskID : 18 , taskName : 'Bug fix' , startDate : new Date ( '02/24/2017' ) ,
80+ endDate : new Date ( '02/25/2017' ) , duration : 2 , progress : '0' , priority : 'Critical' , approved : false } ,
81+ { taskID : 19 , taskName : 'Customer review meeting' , startDate : new Date ( '02/26/2017' ) ,
82+ endDate : new Date ( '02/27/2017' ) , duration : 2 , progress : '0' , priority : 'High' , approved : false } ,
83+ { taskID : 20 , taskName : 'Phase 1 complete' , startDate : new Date ( '02/27/2017' ) ,
84+ endDate : new Date ( '02/27/2017' ) , duration : 0 , progress : '50' , priority : 'Low' , approved : true }
85+
86+ ]
87+ } ]
88+ } ,
89+ {
90+ taskID : 21 ,
91+ taskName : 'Phase 2' ,
92+ startDate : new Date ( '02/17/2017' ) ,
93+ endDate : new Date ( '02/28/2017' ) ,
94+ priority : 'High' ,
95+ approved : false ,
96+ duration : 12 ,
97+ progress : 60 ,
98+ subtasks : [ {
99+ taskID : 22 ,
100+ taskName : 'Implementation Module 2' ,
101+ startDate : new Date ( '02/17/2017' ) ,
102+ endDate : new Date ( '02/28/2017' ) ,
103+ priority : 'Critical' ,
104+ approved : false ,
105+ duration : 12 ,
106+ progress : 90 ,
107+ subtasks : [
108+ { taskID : 23 , taskName : 'Development Task 1' , startDate : new Date ( '02/17/2017' ) ,
109+ endDate : new Date ( '02/20/2017' ) , duration : 4 , progress : '50' , priority : 'Normal' , approved : true } ,
110+ { taskID : 24 , taskName : 'Development Task 2' , startDate : new Date ( '02/17/2017' ) ,
111+ endDate : new Date ( '02/20/2017' ) , duration : 4 , progress : '50' , priority : 'Critical' , approved : true } ,
112+ { taskID : 25 , taskName : 'Testing' , startDate : new Date ( '02/21/2017' ) ,
113+ endDate : new Date ( '02/24/2017' ) , duration : 2 , progress : '0' , priority : 'High' , approved : false } ,
114+ { taskID : 26 , taskName : 'Bug fix' , startDate : new Date ( '02/25/2017' ) ,
115+ endDate : new Date ( '02/26/2017' ) , duration : 2 , progress : '0' , priority : 'Low' , approved : false } ,
116+ { taskID : 27 , taskName : 'Customer review meeting' , startDate : new Date ( '02/27/2017' ) ,
117+ endDate : new Date ( '02/28/2017' ) , duration : 2 , progress : '0' , priority : 'Critical' , approved : true } ,
118+ { taskID : 28 , taskName : 'Phase 2 complete' , startDate : new Date ( '02/28/2017' ) ,
119+ endDate : new Date ( '02/28/2017' ) , duration : 0 , progress : '50' , priority : 'Normal' , approved : false }
120+
121+ ]
122+ } ]
123+ } ,
124+
125+ {
126+ taskID : 29 ,
127+ taskName : 'Phase 3' ,
128+ startDate : new Date ( '02/17/2017' ) ,
129+ endDate : new Date ( '02/27/2017' ) ,
130+ priority : 'Normal' ,
131+ approved : false ,
132+ duration : 11 ,
133+ progress : 30 ,
134+ subtasks : [ {
135+ taskID : 30 ,
136+ taskName : 'Implementation Module 3' ,
137+ startDate : new Date ( '02/17/2017' ) ,
138+ endDate : new Date ( '02/27/2017' ) ,
139+ priority : 'High' ,
140+ approved : false ,
141+ duration : 11 ,
142+ progress : 60 ,
143+ subtasks : [
144+ { taskID : 31 , taskName : 'Development Task 1' , startDate : new Date ( '02/17/2017' ) ,
145+ endDate : new Date ( '02/19/2017' ) , duration : 3 , progress : '50' , priority : 'Low' , approved : true } ,
146+ { taskID : 32 , taskName : 'Development Task 2' , startDate : new Date ( '02/17/2017' ) ,
147+ endDate : new Date ( '02/19/2017' ) , duration : 3 , progress : '50' , priority : 'Normal' , approved : false } ,
148+ { taskID : 33 , taskName : 'Testing' , startDate : new Date ( '02/20/2017' ) ,
149+ endDate : new Date ( '02/21/2017' ) , duration : 2 , progress : '0' , priority : 'Critical' , approved : true } ,
150+ { taskID : 34 , taskName : 'Bug fix' , startDate : new Date ( '02/24/2017' ) ,
151+ endDate : new Date ( '02/25/2017' ) , duration : 2 , progress : '0' , priority : 'High' , approved : false } ,
152+ { taskID : 35 , taskName : 'Customer review meeting' , startDate : new Date ( '02/26/2017' ) ,
153+ endDate : new Date ( '02/27/2017' ) , duration : 2 , progress : '0' , priority : 'Normal' , approved : true } ,
154+ { taskID : 36 , taskName : 'Phase 3 complete' , startDate : new Date ( '02/27/2017' ) ,
155+ endDate : new Date ( '02/27/2017' ) , duration : 0 , progress : '50' , priority : 'Critical' , approved : false } ,
156+ ]
157+ } ]
158+ }
159+ ]
160+ }
161+ ] ;
0 commit comments