PK 4kMN? angular.json{ "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { "demo": { "root": "", "sourceRoot": "", "projectType": "application", "prefix": "app", "schematics": {}, "architect": { "build": { "builder": "@angular-devkit/build-angular:browser", "options": { "outputPath": "dist/demo", "index": "index.html", "main": "main.ts", "polyfills": "polyfills.ts", "tsConfig": "tsconfig.app.json", "assets": [ "favicon.ico", "assets" ], "styles": [ ], "scripts": [] }, "configurations": { "production": { "fileReplacements": [ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.prod.ts" } ], "optimization": true, "outputHashing": "all", "sourceMap": false, "extractCss": true, "namedChunks": false, "aot": true, "extractLicenses": true, "vendorChunk": false, "buildOptimizer": true } } }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", "options": { "browserTarget": "demo:build" }, "configurations": { "production": { "browserTarget": "demo:build:production" } } }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { "browserTarget": "demo:build" } }, "test": { "builder": "@angular-devkit/build-angular:karma", "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", "tsConfig": "src/tsconfig.spec.json", "karmaConfig": "src/karma.conf.js", "styles": [ "styles.css" ], "scripts": [], "assets": [ "src/favicon.ico", "src/assets" ] } }, "lint": { "builder": "@angular-devkit/build-angular:tslint", "options": { "tsConfig": [ "src/tsconfig.app.json", "src/tsconfig.spec.json" ], "exclude": [ "**/node_modules/**" ] } } } } }, "defaultProject": "demo" } PK 4kMNr/} package.json{ "name": "r5ufqo.run", "version": "0.0.0", "private": true, "dependencies": { "@angular/common": "7.0.1", "@angular/compiler": "7.0.1", "@angular/core": "7.0.1", "@angular/forms": "7.0.1", "@angular/http": "7.2.4", "@angular/platform-browser": "7.0.1", "@angular/platform-browser-dynamic": "7.0.1", "@angular/router": "7.0.1", "@syncfusion/ej2-angular-base": "16.4.52", "@syncfusion/ej2-angular-buttons": "16.4.53", "@syncfusion/ej2-angular-calendars": "16.4.53", "@syncfusion/ej2-angular-charts": "16.4.53", "@syncfusion/ej2-angular-circulargauge": "16.4.53", "@syncfusion/ej2-angular-diagrams": "16.4.53", "@syncfusion/ej2-angular-documenteditor": "16.4.53", "@syncfusion/ej2-angular-dropdowns": "16.4.53", "@syncfusion/ej2-angular-grids": "16.4.53", "@syncfusion/ej2-angular-heatmap": "16.4.53", "@syncfusion/ej2-angular-inputs": "16.4.53", "@syncfusion/ej2-angular-layouts": "16.4.53", "@syncfusion/ej2-angular-lineargauge": "16.4.52", "@syncfusion/ej2-angular-lists": "16.4.52", "@syncfusion/ej2-angular-maps": "16.4.53", "@syncfusion/ej2-angular-navigations": "16.4.53", "@syncfusion/ej2-angular-notifications": "16.4.53", "@syncfusion/ej2-angular-pivotview": "16.4.53", "@syncfusion/ej2-angular-popups": "16.4.53", "@syncfusion/ej2-angular-richtexteditor": "16.4.53", "@syncfusion/ej2-angular-schedule": "16.4.53", "@syncfusion/ej2-angular-splitbuttons": "16.4.53", "@syncfusion/ej2-angular-treegrid": "^16.4.53", "@syncfusion/ej2-angular-treemap": "16.4.52", "@syncfusion/ej2-base": "16.4.52", "@syncfusion/ej2-buttons": "16.4.53", "@syncfusion/ej2-calendars": "16.4.53", "@syncfusion/ej2-charts": "16.4.53", "@syncfusion/ej2-circulargauge": "16.4.53", "@syncfusion/ej2-compression": "16.4.52", "@syncfusion/ej2-data": "16.4.52", "@syncfusion/ej2-diagrams": "16.4.53", "@syncfusion/ej2-documenteditor": "16.4.53", "@syncfusion/ej2-dropdowns": "16.4.53", "@syncfusion/ej2-excel-export": "16.4.52", "@syncfusion/ej2-file-utils": "16.4.52", "@syncfusion/ej2-grids": "16.4.53", "@syncfusion/ej2-heatmap": "16.4.53", "@syncfusion/ej2-inputs": "16.4.53", "@syncfusion/ej2-layouts": "16.4.53", "@syncfusion/ej2-lineargauge": "16.4.52", "@syncfusion/ej2-lists": "16.4.52", "@syncfusion/ej2-maps": "16.4.53", "@syncfusion/ej2-navigations": "16.4.53", "@syncfusion/ej2-notifications": "16.4.53", "@syncfusion/ej2-pdf-export": "16.4.52", "@syncfusion/ej2-pivotview": "16.4.53", "@syncfusion/ej2-popups": "16.4.53", "@syncfusion/ej2-richtexteditor": "16.4.53", "@syncfusion/ej2-schedule": "16.4.53", "@syncfusion/ej2-splitbuttons": "16.4.53", "@syncfusion/ej2-svg-base": "16.4.52", "@syncfusion/ej2-treemap": "16.4.52", "core-js": "2.5.7", "rxjs": "6.3.3", "rxjs-compat": "6.4.0", "zone.js": "0.8.26" }, "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "devDependencies": { "@angular-devkit/build-angular": "~0.10.0", "@angular/cli": "~7.0.2", "@angular/compiler-cli": "~7.0.0", "@angular/language-service": "~7.0.0", "@types/node": "~8.9.4", "@types/jasmine": "~2.8.8", "@types/jasminewd2": "~2.0.3", "codelyzer": "~4.5.0", "jasmine-core": "~2.99.1", "jasmine-spec-reporter": "~4.2.1", "karma": "~3.0.0", "karma-chrome-launcher": "~2.2.0", "karma-coverage-istanbul-reporter": "~2.0.1", "karma-jasmine": "~1.1.2", "karma-jasmine-html-reporter": "^0.2.2", "protractor": "~5.4.0", "ts-node": "~7.0.0", "tslint": "~5.11.0", "typescript": "~3.1.1" } }PK 4kMN src/PK 4kMNԦ? ? src/jsontreegriddata.ts/** *Sample data */ export let treeGridDataSource = [ { 'Name': 'Windows', 'DateModified': new Date('06/26/2017'), 'Type': 'File Folder', 'DateCreated': new Date('06/16/2017'), 'Children': [ { 'Name': 'Users', 'DateModified': new Date('06/26/2017'), 'Type': 'File Folder', 'DateCreated': new Date('06/16/2017'), 'Children': [ { 'Name': 'Public', 'DateModified': new Date('06/26/2017'), 'Type': 'File Folder', 'DateCreated': new Date('06/16/2017'), 'Children': [ { 'Name': 'Documents ', 'DateModified': new Date('06/26/2017'), 'Type': 'File Folder', 'DateCreated': new Date('06/16/2017'), 'Children': [ { 'Name': 'Document 1', 'DateModified': new Date('06/26/2017'), 'Type': 'HTML document', 'DateCreated': new Date('06/16/2017'), }, { 'Name': 'Document 2', 'DateModified': new Date('06/26/2017'), 'Type': 'HTML document', 'DateCreated':new Date( '06/16/2017'), }, { 'Name': 'Document 3', 'DateModified': new Date('06/26/2017'), 'Type': 'HTML document', 'DateCreated': new Date('06/16/2017'), } ] } ] } ] } ] } ]; export let sampleData = [ { taskID: 1, taskName: 'Planning', startDate: new Date('02/03/2017'), endDate: new Date('02/07/2017'), progress: 100, duration: 5, priority: 'Normal', approved: false, subtasks: [ { taskID: 2, taskName: 'Plan timeline', startDate: new Date('02/03/2017'), endDate: new Date('02/07/2017'), duration: 5, progress: 100, priority: 'Normal', approved: false }, { taskID: 3, taskName: 'Plan budget', startDate: new Date('02/03/2017'), endDate: new Date('02/07/2017'), duration: 5, progress: 100, priority: 'Low', approved: true }, { taskID: 4, taskName: 'Allocate resources', startDate: new Date('02/03/2017'), endDate: new Date('02/07/2017'), duration: 5, progress: 100, priority: 'Critical', approved: false }, { taskID: 5, taskName: 'Planning complete', startDate: new Date('02/07/2017'), endDate: new Date('02/07/2017'), duration: 0, progress: 0, priority: 'Low', approved: true } ] }, { taskID: 6, taskName: 'Design', startDate: new Date('02/10/2017'), endDate: new Date('02/14/2017'), duration: 3, progress: 86, priority: 'High', approved: false, subtasks: [ { taskID: 7, taskName: 'Software Specification', startDate: new Date('02/10/2017'), endDate: new Date('02/12/2017'), duration: 3, progress: 60, priority: 'Normal', approved: false }, { taskID: 8, taskName: 'Develop prototype', startDate: new Date('02/10/2017'), endDate: new Date('02/12/2017'), duration: 3, progress: 100, priority: 'Critical', approved: false }, { taskID: 9, taskName: 'Get approval from customer', startDate: new Date('02/13/2017'), endDate: new Date('02/14/2017'), duration: 2, progress: 100, priority: 'Low', approved: true }, { taskID: 10, taskName: 'Design Documentation', startDate: new Date('02/13/2017'), endDate: new Date('02/14/2017'), duration: 2, progress: 100, priority: 'High', approved: true }, { taskID: 11, taskName: 'Design complete', startDate: new Date('02/14/2017'), endDate: new Date('02/14/2017'), duration: 0, progress: 0, priority: 'Normal', approved: true } ] }, { taskID: 12, taskName: 'Implementation Phase', startDate: new Date('02/17/2017'), endDate: new Date('02/27/2017'), priority: 'Normal', approved: false, duration: 11, progress: 66, subtasks: [ { taskID: 13, taskName: 'Phase 1', startDate: new Date('02/17/2017'), endDate: new Date('02/27/2017'), priority: 'High', approved: false, progress: 50, duration: 11, subtasks: [{ taskID: 14, taskName: 'Implementation Module 1', startDate: new Date('02/17/2017'), endDate: new Date('02/27/2017'), priority: 'Normal', duration: 11, progress: 10, approved: false, subtasks: [ { taskID: 15, taskName: 'Development Task 1', startDate: new Date('02/17/2017'), endDate: new Date('02/19/2017'), duration: 3, progress: '50', priority: 'High', approved: false }, { taskID: 16, taskName: 'Development Task 2', startDate: new Date('02/17/2017'), endDate: new Date('02/19/2017'), duration: 3, progress: '50', priority: 'Low', approved: true }, { taskID: 17, taskName: 'Testing', startDate: new Date('02/20/2017'), endDate: new Date('02/21/2017'), duration: 2, progress: '0', priority: 'Normal', approved: true }, { taskID: 18, taskName: 'Bug fix', startDate: new Date('02/24/2017'), endDate: new Date('02/25/2017'), duration: 2, progress: '0', priority: 'Critical', approved: false }, { taskID: 19, taskName: 'Customer review meeting', startDate: new Date('02/26/2017'), endDate: new Date('02/27/2017'), duration: 2, progress: '0', priority: 'High', approved: false }, { taskID: 20, taskName: 'Phase 1 complete', startDate: new Date('02/27/2017'), endDate: new Date('02/27/2017'), duration: 0, progress: '50', priority: 'Low', approved: true } ] }] }, { taskID: 21, taskName: 'Phase 2', startDate: new Date('02/17/2017'), endDate: new Date('02/28/2017'), priority: 'High', approved: false, duration: 12, progress: 60, subtasks: [{ taskID: 22, taskName: 'Implementation Module 2', startDate: new Date('02/17/2017'), endDate: new Date('02/28/2017'), priority: 'Critical', approved: false, duration: 12, progress: 90, subtasks: [ { taskID: 23, taskName: 'Development Task 1', startDate: new Date('02/17/2017'), endDate: new Date('02/20/2017'), duration: 4, progress: '50', priority: 'Normal', approved: true }, { taskID: 24, taskName: 'Development Task 2', startDate: new Date('02/17/2017'), endDate: new Date('02/20/2017'), duration: 4, progress: '50', priority: 'Critical', approved: true }, { taskID: 25, taskName: 'Testing', startDate: new Date('02/21/2017'), endDate: new Date('02/24/2017'), duration: 2, progress: '0', priority: 'High', approved: false }, { taskID: 26, taskName: 'Bug fix', startDate: new Date('02/25/2017'), endDate: new Date('02/26/2017'), duration: 2, progress: '0', priority: 'Low', approved: false }, { taskID: 27, taskName: 'Customer review meeting', startDate: new Date('02/27/2017'), endDate: new Date('02/28/2017'), duration: 2, progress: '0', priority: 'Critical', approved: true }, { taskID: 28, taskName: 'Phase 2 complete', startDate: new Date('02/28/2017'), endDate: new Date('02/28/2017'), duration: 0, progress: '50', priority: 'Normal', approved: false } ] }] }, { taskID: 29, taskName: 'Phase 3', startDate: new Date('02/17/2017'), endDate: new Date('02/27/2017'), priority: 'Normal', approved: false, duration: 11, progress: 30, subtasks: [{ taskID: 30, taskName: 'Implementation Module 3', startDate: new Date('02/17/2017'), endDate: new Date('02/27/2017'), priority: 'High', approved: false, duration: 11, progress: 60, subtasks: [ { taskID: 31, taskName: 'Development Task 1', startDate: new Date('02/17/2017'), endDate: new Date('02/19/2017'), duration: 3, progress: '50', priority: 'Low', approved: true }, { taskID: 32, taskName: 'Development Task 2', startDate: new Date('02/17/2017'), endDate: new Date('02/19/2017'), duration: 3, progress: '50', priority: 'Normal', approved: false }, { taskID: 33, taskName: 'Testing', startDate: new Date('02/20/2017'), endDate: new Date('02/21/2017'), duration: 2, progress: '0', priority: 'Critical', approved: true }, { taskID: 34, taskName: 'Bug fix', startDate: new Date('02/24/2017'), endDate: new Date('02/25/2017'), duration: 2, progress: '0', priority: 'High', approved: false }, { taskID: 35, taskName: 'Customer review meeting', startDate: new Date('02/26/2017'), endDate: new Date('02/27/2017'), duration: 2, progress: '0', priority: 'Normal', approved: true }, { taskID: 36, taskName: 'Phase 3 complete', startDate: new Date('02/27/2017'), endDate: new Date('02/27/2017'), duration: 0, progress: '50', priority: 'Critical', approved: false }, ] }] } ] } ]; export let templateData = [{ 'Name': 'Robert King', 'FullName': 'Robert King', 'Designation': 'Chief Executive Officer', 'EmployeeID': 'EMP001', 'Address': '507 - 20th Ave. E.Apt. 2A, Seattle', 'Contact': '(206) 555-9857', 'Country': 'USA', 'DOB': new Date('2/15/1963'), 'DOJ': new Date('5/1/1983'), 'Children': [{ 'Name': 'David william', 'FullName': 'David william', 'Designation': 'Vice President', 'EmployeeID': 'EMP004', 'Address': '722 Moss Bay Blvd., Kirkland', 'Country': 'USA', 'Contact': '(206) 555-3412', 'DOB': new Date('5/20/1971'), 'DOJ': new Date('5/1/1991'), 'Children': [{ 'Name': 'Nancy Davolio', 'FullName': 'Nancy Davolio', 'Designation': 'Marketing Executive', 'EmployeeID': 'EMP035', 'Address': '4110 Old Redmond Rd., Redmond', 'Country': 'USA', 'Contact': '(206) 555-8122', 'DOB': new Date('3/19/1966'), 'DOJ': new Date('5/1/1986'), 'Children': [ { 'Name': 'Andrew Fuller', 'FullName': 'Andrew Fuller', 'Designation': 'Sales Representative', 'EmployeeID': 'EMP045', 'Address': '14 Garrett Hill, London', 'Country': 'UK', 'Contact': '(71) 555-4848', 'DOB': new Date('9/20/1980'), 'DOJ': new Date('5/1/2000'), }, { 'Name': 'Anne Dodsworth', 'FullName': 'Anne Dodsworth', 'Designation': 'Sales Representative', 'EmployeeID': 'EMP091', 'Address': '4726 - 11th Ave. N.E., Seattle', 'Country': 'USA', 'Contact': '(206) 555-1189', 'DOB': new Date('10/19/1989'), 'DOJ': new Date('5/1/2009'), }, { 'Name': 'Michael Suyama', 'FullName': 'Michael Suyama', 'Designation': 'Sales Representative', 'EmployeeID': 'EMP110', 'Address': 'Coventry House Miner Rd., London', 'Country': 'UK', 'Contact': '(71) 555-3636', 'DOB': new Date('11/02/1987'), 'DOJ': new Date('5/1/2007'), }, { 'Name': 'Janet Leverling', 'FullName': 'Janet Leverling', 'Designation': 'Sales Coordinator', 'EmployeeID': 'EMP131', 'Address': 'Edgeham Hollow Winchester Way, London', 'Country': 'UK', 'Contact': '(71) 555-3636', 'DOB': new Date('11/06/1990'), 'DOJ': new Date('5/1/2010'), }, ] }, { 'Name': 'Romey Wilson', 'FullName': 'Romey Wilson', 'Designation': 'Sales Executive', 'EmployeeID': 'EMP039', 'Address': '7 Houndstooth Rd., London', 'Country': 'UK', 'Contact': '(71) 555-3690', 'DOB': new Date('02/02/1980'), 'DOJ': new Date('5/1/2000'), 'Children': [ { 'Name': 'Margaret Peacock', 'FullName': 'Margaret Peacock', 'Designation': 'Sales Representative', 'EmployeeID': 'EMP213', 'Address': '4726 - 11th Ave. N.E., California', 'Country': 'USA', 'Contact': '(206) 555-1989', 'DOB': new Date('01/21/1986'), 'DOJ': new Date('5/1/2006'), }, { 'Name': 'Laura Callahan', 'FullName': 'Laura Callahan', 'Designation': 'Sales Coordinator', 'EmployeeID': 'EMP201', 'Address': 'Coventry House Miner Rd., London', 'Country': 'UK', 'Contact': '(71) 555-2222', 'DOB': new Date('12/01/1990'), 'DOJ': new Date('5/1/2010'), }, { 'Name': 'Steven Buchanan', 'FullName': 'Steven Buchanan', 'Designation': 'Sales Representative', 'EmployeeID': 'EMP197', 'Address': '200 Lincoln Ave, Salinas, CA 93901', 'Country': 'USA', 'Contact': '(831) 758-7408', 'DOB': new Date('03/23/1987'), 'DOJ': new Date('5/1/2007'), }, { 'Name': 'Tedd Lawson', 'FullName': 'Tedd Lawson', 'Designation': 'Sales Representative', 'EmployeeID': 'EMP167', 'Address': '200 Lincoln Ave, Salinas, CA 93901', 'Country': 'USA', 'Contact': '(831) 758-7368 ', 'DOB': new Date('08/09/1989'), 'DOJ': new Date('5/1/2009'), }, ] }] }] }]; export let summaryRowData = [{ 'FreightID': 'CX2389NK', 'FreightName': 'Maersk Edibles Co.', 'TotalUnits': 598, 'TotalCosts': 27838, 'UnitWeight': 241, 'children': [{ 'FreightID': 'QW4567OP', 'FreightName': 'Chang', 'TotalUnits': 123, 'TotalCosts': 3400, 'UnitWeight': 50, }, { 'FreightID': 'QW3458BH', 'FreightName': 'Aniseed Syrup', 'TotalUnits': 89, 'TotalCosts': 5900, 'UnitWeight': 87, }, { 'FreightID': 'QW8967OH', 'FreightName': 'Chef Antons Cajun Seasoning', 'TotalUnits': 46, 'TotalCosts': 9578, 'UnitWeight': 54, }, { 'FreightID': 'QW6549NJ', 'FreightName': 'Chef Antons Gumbo Mix', 'TotalUnits': 340, 'TotalCosts': 8960, 'UnitWeight': 50, }] }, { 'FreightID': 'DW8954IO', 'FreightName': 'Aeon fitness inc.', 'TotalUnits': 1720, 'TotalCosts': 24367, 'UnitWeight': 296, 'children': [ { 'FreightID': 'UF5647YH', 'FreightName': 'Reebox CrossFit Back Bay', 'TotalUnits': 600, 'TotalCosts': 8700, 'UnitWeight': 73, }, { 'FreightID': 'UF1290LK', 'FreightName': 'The Green Microgym', 'TotalUnits': 569, 'TotalCosts': 8765, 'UnitWeight': 90, }, { 'FreightID': 'UF8956KU', 'FreightName': 'DeFrancos', 'TotalUnits': 456, 'TotalCosts': 4589, 'UnitWeight': 68, }, { 'FreightID': 'UF7464JK', 'FreightName': 'Westside Barbell', 'TotalUnits': 95, 'TotalCosts': 2313, 'UnitWeight': 65, }], }, { 'FreightID': 'EJ9456KN', 'FreightName': 'Sun technologies inc', 'TotalUnits': 331, 'TotalCosts': 22933, 'UnitWeight': 192, 'children': [ { 'FreightID': 'GH2367OP', 'FreightName': 'Haier Group', 'TotalUnits': 78, 'TotalCosts': 6789, 'UnitWeight': 23, }, { 'FreightID': 'GH4309TH', 'FreightName': 'Panda Electronics', 'TotalUnits': 90, 'TotalCosts': 8999, 'UnitWeight': 48, }, { 'FreightID': 'GH3494SD', 'FreightName': 'Jiangsu Etern', 'TotalUnits': 36, 'TotalCosts': 4356, 'UnitWeight': 56, }, { 'FreightID': 'GH3213FR', 'FreightName': 'Zhejiang Fuchunjiang', 'TotalUnits': 127, 'TotalCosts': 2789, 'UnitWeight': 65, }], }]; export let headerData = [ { taskID: 1, taskName: 'Planning', startDate: new Date('02/03/2017'), endDate: new Date('02/07/2017'), subtasks: [ { taskID: 2, taskName: 'Plan timeline', startDate: new Date('02/03/2017'), endDate: new Date('02/07/2017'), duration: 5, progress: '100', resourceId: '2' }, { taskID: 3, taskName: 'Plan budget', startDate: new Date('02/03/2017'), endDate: new Date('02/07/2017'), duration: 5, progress: '100', resourceId:'1' }, { taskID: 4, taskName: 'Allocate resources', startDate: new Date('02/03/2017'), endDate: new Date('02/07/2017'), duration: 5, progress: '100', resourceId: '1' }, { taskID: 5, taskName: 'Planning complete', startDate: new Date('02/07/2017'), endDate: new Date('02/07/2017'), duration: 0, predecessor: '3FS,4FS,5FS' } ] }, { taskID: 6, taskName: 'Design', startDate: new Date('02/10/2017'), endDate: new Date('02/14/2017'), subtasks: [ { taskID: 7, taskName: 'Software Specification', startDate: new Date('02/10/2017'), endDate: new Date('02/12/2017'), duration: 3, progress: '60', predecessor: '6FS', resourceId: '2' }, { taskID: 8, taskName: 'Develop prototype', startDate: new Date('02/10/2017'), endDate: new Date('02/12/2017'), duration: 3, progress: '100', predecessor: '6FS', resourceId: '3' }, { taskID: 9, taskName: 'Get approval from customer', startDate: new Date('02/13/2017'), endDate: new Date('02/14/2017'), duration: 2, progress: '100', predecessor: '9FS', resourceId: '1' }, { taskID: 10, taskName: 'Design complete', startDate: new Date('02/14/2017'), endDate: new Date('02/14/2017'), duration: 0, predecessor: '10FS' } ] }, { taskID: 11, taskName: 'Implementation Phase', startDate: new Date('02/17/2017'), endDate: new Date('02/27/2017'), subtasks: [ { taskID: 12, taskName: 'Phase', startDate: new Date('02/17/2017'), endDate: new Date('02/27/2017'), subtasks: [{ taskID: 13, taskName: 'Implementation Module', startDate: new Date('02/17/2017'), endDate: new Date('02/27/2017'), subtasks: [ { taskID: 14, taskName: 'Development Task 1', startDate: new Date('02/17/2017'), endDate: new Date('02/19/2017'), duration: 3, progress: '50', predecessor: '11FS', resourceId: '3' }, { taskID: 15, taskName: 'Development Task 2', startDate: new Date('02/17/2017'), endDate: new Date('02/19/2017'), duration: 3, progress: '50', predecessor: '11FS', resourceId: '3' }, { taskID: 16, taskName: 'Testing', startDate: new Date('02/20/2017'), endDate: new Date('02/21/2017'), duration: 2, progress: '0', predecessor: '15FS,16FS', resourceId: '4' }, { taskID: 17, taskName: 'Bug fix', startDate: new Date('02/24/2017'), endDate: new Date('02/25/2017'), duration: 2, progress: '0', predecessor: '17FS', resourceId: '4' }, { taskID: 18, taskName: 'Customer review meeting', startDate: new Date('02/26/2017'), endDate: new Date('02/27/2017'), duration: 2, progress: '0', predecessor: '18FS', resourceId: '1' }, { taskID: 19, taskName: 'Phase complete', startDate: new Date('02/27/2017'), endDate: new Date('02/27/2017'), duration: 0, predecessor: '19FS' } ] }] } ] } ]; export let projectResources = [ { resourceId: 1, resourceName: 'Project Manager' }, { resourceId: 2, resourceName: 'Software Analyst' }, { resourceId: 3, resourceName: 'Developer' }, { resourceId: 4, resourceName: 'Testing Engineer' } ]; export let pagingdata = [ { taskID: 1, taskName: 'Planning', startDate: new Date('02/03/2017'), endDate: new Date('02/07/2017'), progress: 100, duration: 5, priority: 'Normal', approved: false, subtasks: [ { taskID: 2, taskName: 'Plan timeline', startDate: new Date('02/03/2017'), endDate: new Date('02/07/2017'), duration: 5, progress: 100, priority: 'Normal', approved: false }, { taskID: 3, taskName: 'Plan budget', startDate: new Date('02/03/2017'), endDate: new Date('02/07/2017'), duration: 5, progress: 100, approved: true }, { taskID: 4, taskName: 'Allocate resources', startDate: new Date('02/03/2017'), endDate: new Date('02/07/2017'), duration: 5, progress: 100, priority: 'Critical', approved: false }, { taskID: 5, taskName: 'Planning complete', startDate: new Date('02/07/2017'), endDate: new Date('02/07/2017'), duration: 0, progress: 0, priority: 'Low', approved: true } ] }, { taskID: 6, taskName: 'Design', startDate: new Date('02/10/2017'), endDate: new Date('02/14/2017'), duration: 3, progress: 86, priority: 'High', approved: false, subtasks: [ { taskID: 7, taskName: 'Software Specification', startDate: new Date('02/10/2017'), endDate: new Date('02/12/2017'), duration: 3, progress: 60, priority: 'Normal', approved: false }, { taskID: 8, taskName: 'Develop prototype', startDate: new Date('02/10/2017'), endDate: new Date('02/12/2017'), duration: 3, progress: 100, priority: 'Critical', approved: false }, { taskID: 9, taskName: 'Get approval from customer', startDate: new Date('02/13/2017'), endDate: new Date('02/14/2017'), duration: 2, progress: 100, approved: true }, { taskID: 10, taskName: 'Design Documentation', startDate: new Date('02/13/2017'), endDate: new Date('02/14/2017'), duration: 2, progress: 100, approved: true }, { taskID: 11, taskName: 'Design complete', startDate: new Date('02/14/2017'), endDate: new Date('02/14/2017'), duration: 0, progress: 0, priority: 'Normal', approved: true } ] }, { taskID: 12, taskName: 'Implementation Phase', startDate: new Date('02/17/2017'), endDate: new Date('02/27/2017'), priority: 'Normal', approved: false, duration: 11, subtasks: [ { taskID: 13, taskName: 'Phase 1', startDate: new Date('02/17/2017'), endDate: new Date('02/27/2017'), priority: 'High', approved: false, duration: 11, subtasks: [ { taskID: 15, taskName: 'Development Task 1', startDate: new Date('02/17/2017'), endDate: new Date('02/19/2017'), duration: 3, progress: '50', priority: 'High', approved: false }, { taskID: 16, taskName: 'Development Task 2', startDate: new Date('02/17/2017'), endDate: new Date('02/19/2017'), duration: 3, progress: '50', priority: 'Low', approved: true }, { taskID: 17, taskName: 'Testing', startDate: new Date('02/20/2017'), endDate: new Date('02/21/2017'), duration: 2, progress: '0', priority: 'Normal', approved: true }, { taskID: 18, taskName: 'Bug fix', startDate: new Date('02/24/2017'), endDate: new Date('02/25/2017'), duration: 2, progress: '0', priority: 'Critical', approved: false }, { taskID: 19, taskName: 'Customer review meeting', startDate: new Date('02/26/2017'), endDate: new Date('02/27/2017'), duration: 2, progress: '0', priority: 'High', approved: false }, { taskID: 20, taskName: 'Phase 1 complete', startDate: new Date('02/27/2017'), endDate: new Date('02/27/2017'), duration: 0, priority: 'Low', approved: true } ] }, { taskID: 21, taskName: 'Phase 2', startDate: new Date('02/17/2017'), endDate: new Date('02/28/2017'), priority: 'High', approved: false, duration: 12, subtasks: [ { taskID: 23, taskName: 'Development Task 1', startDate: new Date('02/17/2017'), endDate: new Date('02/20/2017'), duration: 4, progress: '50', priority: 'Normal', approved: true }, { taskID: 24, taskName: 'Development Task 2', startDate: new Date('02/17/2017'), endDate: new Date('02/20/2017'), duration: 4, progress: '50', priority: 'Critical', approved: true }, { taskID: 25, taskName: 'Testing', startDate: new Date('02/21/2017'), endDate: new Date('02/24/2017'), duration: 2, progress: '0', priority: 'High', approved: false }, { taskID: 26, taskName: 'Bug fix', startDate: new Date('02/25/2017'), endDate: new Date('02/26/2017'), duration: 2, progress: '0', priority: 'Low', approved: false }, { taskID: 27, taskName: 'Customer review meeting', startDate: new Date('02/27/2017'), endDate: new Date('02/28/2017'), duration: 2, progress: '0', priority: 'Critical', approved: true }, { taskID: 28, taskName: 'Phase 2 complete', startDate: new Date('02/28/2017'), endDate: new Date('02/28/2017'), duration: 0, priority: 'Normal', approved: false } ] }, { taskID: 29, taskName: 'Phase 3', startDate: new Date('02/17/2017'), endDate: new Date('02/27/2017'), priority: 'Normal', approved: false, duration: 11, subtasks: [ { taskID: 31, taskName: 'Development Task 1', startDate: new Date('02/17/2017'), endDate: new Date('02/19/2017'), duration: 3, progress: '50', priority: 'Low', approved: true }, { taskID: 32, taskName: 'Development Task 2', startDate: new Date('02/17/2017'), endDate: new Date('02/19/2017'), duration: 3, progress: '50', priority: 'Normal', approved: false }, { taskID: 33, taskName: 'Testing', startDate: new Date('02/20/2017'), endDate: new Date('02/21/2017'), duration: 2, progress: '0', priority: 'Critical', approved: true }, { taskID: 34, taskName: 'Bug fix', startDate: new Date('02/24/2017'), endDate: new Date('02/25/2017'), duration: 2, progress: '0', priority: 'High', approved: false }, { taskID: 35, taskName: 'Customer review meeting', startDate: new Date('02/26/2017'), endDate: new Date('02/27/2017'), duration: 2, progress: '0', priority: 'Normal', approved: true }, { taskID: 36, taskName: 'Phase 3 complete', startDate: new Date('02/27/2017'), endDate: new Date('02/27/2017'), duration: 0, priority: 'Critical', approved: false } ] } ] } ]; export let textWrapData = [ { taskID: 1, taskName: 'Design', startDate: new Date('02/10/2017'), endDate: new Date('02/14/2017'), duration: 3, progress: 86, priority: 'High', approved: false, subtasks: [ { taskID: 2, taskName: 'Software Specification', startDate: new Date('02/10/2017'), endDate: new Date('02/12/2017'), duration: 3, progress: 60, priority: 'Normal', approved: false }, { taskID: 3, taskName: 'Develop prototype', startDate: new Date('02/10/2017'), endDate: new Date('02/12/2017'), duration: 3, progress: 100, priority: 'Critical', approved: false }, { taskID: 4, taskName: 'Get approval from customer', startDate: new Date('02/13/2017'), endDate: new Date('02/14/2017'), duration: 2, priority: 'Normal', progress: 100, approved: true }, { taskID: 5, taskName: 'Design Documentation', startDate: new Date('02/13/2017'), endDate: new Date('02/14/2017'), duration: 2, priority: 'Low', progress: 100, approved: true }, { taskID: 6, taskName: 'Design complete', startDate: new Date('02/14/2017'), endDate: new Date('02/14/2017'), duration: 0, progress: 0, priority: 'Normal', approved: true } ] }, { taskID: 7, taskName: 'Implementation Phase', startDate: new Date('02/17/2017'), endDate: new Date('02/27/2017'), priority: 'Normal', approved: false, duration: 11, progress: 56, subtasks: [ { taskID: 8, taskName: 'Phase 1', startDate: new Date('02/17/2017'), endDate: new Date('02/27/2017'), priority: 'High', approved: false, duration: 11, progress: 78, subtasks: [{ taskID: 9, taskName: 'Implementation Module 1', startDate: new Date('02/17/2017'), endDate: new Date('02/27/2017'), priority: 'Normal', duration: 11, progress: 54, approved: false, subtasks: [ { taskID: 10, taskName: 'Development Task 1', startDate: new Date('02/17/2017'), endDate: new Date('02/19/2017'), duration: 3, progress: 50, priority: 'High', approved: false }, { taskID: 11, taskName: 'Development Task 2', startDate: new Date('02/17/2017'), endDate: new Date('02/19/2017'), duration: 3, progress: 50, priority: 'Low', approved: true }, { taskID: 12, taskName: 'Testing', startDate: new Date('02/20/2017'), endDate: new Date('02/21/2017'), duration: 2, progress: 0, priority: 'Normal', approved: true }, { taskID: 13, taskName: 'Bug fix', startDate: new Date('02/24/2017'), endDate: new Date('02/25/2017'), duration: 2, progress: 0, priority: 'Critical', approved: false }, { taskID: 14, taskName: 'Customer review meeting', startDate: new Date('02/26/2017'), endDate: new Date('02/27/2017'), duration: 2, progress: 0, priority: 'High', approved: false }, { taskID: 15, taskName: 'Phase 1 complete', startDate: new Date('02/27/2017'), endDate: new Date('02/27/2017'), duration: 0, progress: 0, priority: 'Low', approved: true } ] }] }, { taskID: 16, taskName: 'Phase 2', startDate: new Date('02/17/2017'), endDate: new Date('02/28/2017'), priority: 'High', approved: false, duration: 12, progress: 54, subtasks: [{ taskID: 17, taskName: 'Implementation Module 2', startDate: new Date('02/17/2017'), endDate: new Date('02/28/2017'), priority: 'Critical', approved: false, duration: 12, progress: 32, subtasks: [ { taskID: 18, taskName: 'Development Task 1', startDate: new Date('02/17/2017'), endDate: new Date('02/20/2017'), duration: 4, progress: 50, priority: 'Normal', approved: true }, { taskID: 19, taskName: 'Development Task 2', startDate: new Date('02/17/2017'), endDate: new Date('02/20/2017'), duration: 4, progress: 50, priority: 'Critical', approved: true }, { taskID: 20, taskName: 'Testing', startDate: new Date('02/21/2017'), endDate: new Date('02/24/2017'), duration: 2, progress: 0, priority: 'High', approved: false }, { taskID: 21, taskName: 'Bug fix', startDate: new Date('02/25/2017'), endDate: new Date('02/26/2017'), duration: 2, progress: 0, priority: 'Low', approved: false }, { taskID: 22, taskName: 'Customer review meeting', startDate: new Date('02/27/2017'), endDate: new Date('02/28/2017'), duration: 2, progress: 0, priority: 'Critical', approved: true }, { taskID: 23, taskName: 'Phase 2 complete', startDate: new Date('02/28/2017'), endDate: new Date('02/28/2017'), duration: 0, progress: 0, priority: 'Normal', approved: false } ] }] }, { taskID: 24, taskName: 'Phase 3', startDate: new Date('02/17/2017'), endDate: new Date('02/27/2017'), priority: 'Normal', approved: false, progress: 78, duration: 11, subtasks: [{ taskID: 25, taskName: 'Implementation Module 3', startDate: new Date('02/17/2017'), endDate: new Date('02/27/2017'), priority: 'High', approved: false, duration: 11, progress: 89, subtasks: [ { taskID: 26, taskName: 'Development Task 1', startDate: new Date('02/17/2017'), endDate: new Date('02/19/2017'), duration: 3, progress: 50, priority: 'Low', approved: true }, { taskID: 27, taskName: 'Development Task 2', startDate: new Date('02/17/2017'), endDate: new Date('02/19/2017'), duration: 3, progress: 50, priority: 'Normal', approved: false }, { taskID: 28, taskName: 'Testing', startDate: new Date('02/20/2017'), endDate: new Date('02/21/2017'), duration: 2, progress: 0, priority: 'Critical', approved: true }, { taskID: 29, taskName: 'Bug fix', startDate: new Date('02/24/2017'), endDate: new Date('02/25/2017'), duration: 2, progress: 0, priority: 'High', approved: false }, { taskID: 30, taskName: 'Customer review meeting', startDate: new Date('02/26/2017'), endDate: new Date('02/27/2017'), duration: 2, progress: 0, priority: 'Normal', approved: true }, { taskID: 31, taskName: 'Phase 3 complete', startDate: new Date('02/27/2017'), endDate: new Date('02/27/2017'), duration: 0, progress: 34, priority: 'Critical', approved: false }, ] }] } ] } ]; export let allysonData = [ { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "DepartamentoId": "f2cdd91b-1458-4f2c-af6c-20c730af3311", "SetorId": "431a9ae1-4be0-4618-9c9f-051b9eb4b3ea", "Nome": "Ambulatório", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "431a9ae1-4be0-4618-9c9f-051b9eb4b3ea", "AreaPaiId": "f2cdd91b-1458-4f2c-af6c-20c730af3311" }, { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": null, "DepartamentoId": null, "SetorId": null, "Nome": "Associação Paulista Para O Desenvolvimento Da Medicina", "Sigla": null, "Cor": null, "Status": true, "StatusPai": null, "AreaNivel": 1, "AreaId": "c57e9690-3c91-432c-bb52-d87043620da4", "AreaPaiId": null }, { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "DepartamentoId": "a3df0392-4f89-46d5-9f6d-1c8defe106df", "SetorId": "03eb6e70-c47b-465f-96ca-35bc28acbd25", "Nome": "Broncoscopia", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "03eb6e70-c47b-465f-96ca-35bc28acbd25", "AreaPaiId": "a3df0392-4f89-46d5-9f6d-1c8defe106df" }, { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "DepartamentoId": "77f2be6c-fba1-45cb-92ea-02e116fefaa5", "SetorId": "8aee138a-cd04-49c9-849e-1cd4b6797832", "Nome": "Centro Cirúrgico", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "8aee138a-cd04-49c9-849e-1cd4b6797832", "AreaPaiId": "77f2be6c-fba1-45cb-92ea-02e116fefaa5" }, { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "DepartamentoId": "59ddde75-9ac8-409e-a030-0220227f37c6", "SetorId": "878209a0-a3e5-4fa9-abaf-b9f2c8b80f6a", "Nome": "Centro Obstétrico", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "878209a0-a3e5-4fa9-abaf-b9f2c8b80f6a", "AreaPaiId": "59ddde75-9ac8-409e-a030-0220227f37c6" }, { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "DepartamentoId": "a3df0392-4f89-46d5-9f6d-1c8defe106df", "SetorId": "c903e8b1-a536-4d4c-9796-cd642bdf7d86", "Nome": "Colonoscopia", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "c903e8b1-a536-4d4c-9796-cd642bdf7d86", "AreaPaiId": "a3df0392-4f89-46d5-9f6d-1c8defe106df" }, { "ChaveControladoraId": "57c4c669-f4ab-4da6-a652-3f5831555df5", "InstituicaoId": "37fbdde7-491c-427e-aa7e-4ea00b94dfb1", "UnidadeId": "04fd5531-280f-4fda-9c78-354864be52e8", "DepartamentoId": "953d5aa4-5e6a-4a31-a531-326fed853af1", "SetorId": "32833bc9-5632-40ee-814b-5e0e6029de58", "Nome": "Cuidados Paliativos", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "32833bc9-5632-40ee-814b-5e0e6029de58", "AreaPaiId": "953d5aa4-5e6a-4a31-a531-326fed853af1" }, { "ChaveControladoraId": "57c4c669-f4ab-4da6-a652-3f5831555df5", "InstituicaoId": "37fbdde7-491c-427e-aa7e-4ea00b94dfb1", "UnidadeId": "04fd5531-280f-4fda-9c78-354864be52e8", "DepartamentoId": null, "SetorId": null, "Nome": "Diretoria Clínica", "Sigla": "DC", "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 2, "AreaId": "04fd5531-280f-4fda-9c78-354864be52e8", "AreaPaiId": "37fbdde7-491c-427e-aa7e-4ea00b94dfb1" }, { "ChaveControladoraId": "57c4c669-f4ab-4da6-a652-3f5831555df5", "InstituicaoId": "37fbdde7-491c-427e-aa7e-4ea00b94dfb1", "UnidadeId": "04fd5531-280f-4fda-9c78-354864be52e8", "DepartamentoId": "ac061cfd-af13-46e6-a513-887e17615e74", "SetorId": "957d54a2-ea5e-4b7b-9d9a-c291e973125b", "Nome": "Diretoria do PS", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "957d54a2-ea5e-4b7b-9d9a-c291e973125b", "AreaPaiId": "ac061cfd-af13-46e6-a513-887e17615e74" }, { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "DepartamentoId": "7cef35a1-816d-4468-947c-c931c2247484", "SetorId": "3c2d99e2-a169-426a-8a82-56e3a623fc7f", "Nome": "Emergência Adulto", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "3c2d99e2-a169-426a-8a82-56e3a623fc7f", "AreaPaiId": "7cef35a1-816d-4468-947c-c931c2247484" }, { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "DepartamentoId": "7cef35a1-816d-4468-947c-c931c2247484", "SetorId": "275c1c9d-9201-475d-a78e-496717cb6b82", "Nome": "Emergência Infantil", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "275c1c9d-9201-475d-a78e-496717cb6b82", "AreaPaiId": "7cef35a1-816d-4468-947c-c931c2247484" }, { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "DepartamentoId": "a3df0392-4f89-46d5-9f6d-1c8defe106df", "SetorId": "7404bdad-94f7-4827-ac35-461446bd57ed", "Nome": "Endoscopia", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "7404bdad-94f7-4827-ac35-461446bd57ed", "AreaPaiId": "a3df0392-4f89-46d5-9f6d-1c8defe106df" }, { "ChaveControladoraId": "57c4c669-f4ab-4da6-a652-3f5831555df5", "InstituicaoId": "37fbdde7-491c-427e-aa7e-4ea00b94dfb1", "UnidadeId": "04fd5531-280f-4fda-9c78-354864be52e8", "DepartamentoId": "37633df5-532f-4c25-a0bf-21991f96ea8a", "SetorId": "9220d35e-162a-4e7b-8d4f-d740388ec727", "Nome": "GCIH", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "9220d35e-162a-4e7b-8d4f-d740388ec727", "AreaPaiId": "37633df5-532f-4c25-a0bf-21991f96ea8a" }, { "ChaveControladoraId": "57c4c669-f4ab-4da6-a652-3f5831555df5", "InstituicaoId": "37fbdde7-491c-427e-aa7e-4ea00b94dfb1", "UnidadeId": null, "DepartamentoId": null, "SetorId": null, "Nome": "Hospital Das Clínicass", "Sigla": "HC", "Cor": "447DD8", "Status": true, "StatusPai": null, "AreaNivel": 1, "AreaId": "37fbdde7-491c-427e-aa7e-4ea00b94dfb1", "AreaPaiId": null }, { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "DepartamentoId": null, "SetorId": null, "Nome": "Hospital Municipal Pimentas Bonsucesso", "Sigla": "HMPB", "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 2, "AreaId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "AreaPaiId": "c57e9690-3c91-432c-bb52-d87043620da4" }, { "ChaveControladoraId": "57c4c669-f4ab-4da6-a652-3f5831555df5", "InstituicaoId": "37fbdde7-491c-427e-aa7e-4ea00b94dfb1", "UnidadeId": "04fd5531-280f-4fda-9c78-354864be52e8", "DepartamentoId": "b17a64ff-da04-4bc6-91aa-18805847e4a9", "SetorId": "b5f457da-87c0-4ca3-a096-77d9e3f57993", "Nome": "Humanização", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "b5f457da-87c0-4ca3-a096-77d9e3f57993", "AreaPaiId": "b17a64ff-da04-4bc6-91aa-18805847e4a9" }, { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "DepartamentoId": "a3df0392-4f89-46d5-9f6d-1c8defe106df", "SetorId": "f4b42a57-dfcf-47ef-808d-465ac5a72095", "Nome": "Nasofriboscopia", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "f4b42a57-dfcf-47ef-808d-465ac5a72095", "AreaPaiId": "a3df0392-4f89-46d5-9f6d-1c8defe106df" }, { "ChaveControladoraId": "57c4c669-f4ab-4da6-a652-3f5831555df5", "InstituicaoId": "37fbdde7-491c-427e-aa7e-4ea00b94dfb1", "UnidadeId": "04fd5531-280f-4fda-9c78-354864be52e8", "DepartamentoId": "8b30fb6b-c217-4d2e-a617-8f0ffa623f5d", "SetorId": "1189d268-e139-476f-a8d3-fc5bb28ce256", "Nome": "Neurocirurgia", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "1189d268-e139-476f-a8d3-fc5bb28ce256", "AreaPaiId": "8b30fb6b-c217-4d2e-a617-8f0ffa623f5d" }, { "ChaveControladoraId": "57c4c669-f4ab-4da6-a652-3f5831555df5", "InstituicaoId": "37fbdde7-491c-427e-aa7e-4ea00b94dfb1", "UnidadeId": "04fd5531-280f-4fda-9c78-354864be52e8", "DepartamentoId": "cc15319b-8b13-4b50-ace3-e32e2d3cea30", "SetorId": "53de5953-3107-4051-b7d2-0042d6df3c29", "Nome": "NUVE", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "53de5953-3107-4051-b7d2-0042d6df3c29", "AreaPaiId": "cc15319b-8b13-4b50-ace3-e32e2d3cea30" }, { "ChaveControladoraId": "57c4c669-f4ab-4da6-a652-3f5831555df5", "InstituicaoId": "37fbdde7-491c-427e-aa7e-4ea00b94dfb1", "UnidadeId": "04fd5531-280f-4fda-9c78-354864be52e8", "DepartamentoId": "8b30fb6b-c217-4d2e-a617-8f0ffa623f5d", "SetorId": "06e309df-6633-48e5-bd1c-61bf7506f19b", "Nome": "Ortopedia", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "06e309df-6633-48e5-bd1c-61bf7506f19b", "AreaPaiId": "8b30fb6b-c217-4d2e-a617-8f0ffa623f5d" }, { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "DepartamentoId": "ad64be56-a629-4b68-bedf-14d6d738ca44", "SetorId": "aa484023-cbdc-40fb-97a7-bfd1e6d02116", "Nome": "P.S Adulto", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "aa484023-cbdc-40fb-97a7-bfd1e6d02116", "AreaPaiId": "ad64be56-a629-4b68-bedf-14d6d738ca44" }, { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "DepartamentoId": "ad64be56-a629-4b68-bedf-14d6d738ca44", "SetorId": "6d1562c8-2892-4a73-bb11-b4896e05bb6c", "Nome": "P.S Infantil", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "6d1562c8-2892-4a73-bb11-b4896e05bb6c", "AreaPaiId": "ad64be56-a629-4b68-bedf-14d6d738ca44" }, { "ChaveControladoraId": "57c4c669-f4ab-4da6-a652-3f5831555df5", "InstituicaoId": "37fbdde7-491c-427e-aa7e-4ea00b94dfb1", "UnidadeId": "04fd5531-280f-4fda-9c78-354864be52e8", "DepartamentoId": "d1922be5-a8b4-4b79-bb69-b520f844d9c1", "SetorId": "0a739b46-a6be-4aa2-8ee3-d4f740510c68", "Nome": "PC - Supervisão", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "0a739b46-a6be-4aa2-8ee3-d4f740510c68", "AreaPaiId": "d1922be5-a8b4-4b79-bb69-b520f844d9c1" }, { "ChaveControladoraId": "57c4c669-f4ab-4da6-a652-3f5831555df5", "InstituicaoId": "37fbdde7-491c-427e-aa7e-4ea00b94dfb1", "UnidadeId": "04fd5531-280f-4fda-9c78-354864be52e8", "DepartamentoId": "77c98b7f-167c-45c7-b7dc-427fffb85396", "SetorId": "ac96506d-d3e5-4ce3-9b38-863eff70e0a6", "Nome": "PC-3", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "ac96506d-d3e5-4ce3-9b38-863eff70e0a6", "AreaPaiId": "77c98b7f-167c-45c7-b7dc-427fffb85396" }, { "ChaveControladoraId": "57c4c669-f4ab-4da6-a652-3f5831555df5", "InstituicaoId": "37fbdde7-491c-427e-aa7e-4ea00b94dfb1", "UnidadeId": "04fd5531-280f-4fda-9c78-354864be52e8", "DepartamentoId": "8b30fb6b-c217-4d2e-a617-8f0ffa623f5d", "SetorId": "d565410a-77a5-46e4-a7a7-fdca8789ed1f", "Nome": "Pediatria", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "d565410a-77a5-46e4-a7a7-fdca8789ed1f", "AreaPaiId": "8b30fb6b-c217-4d2e-a617-8f0ffa623f5d" }, { "ChaveControladoraId": "57c4c669-f4ab-4da6-a652-3f5831555df5", "InstituicaoId": "37fbdde7-491c-427e-aa7e-4ea00b94dfb1", "UnidadeId": "04fd5531-280f-4fda-9c78-354864be52e8", "DepartamentoId": "d1922be5-a8b4-4b79-bb69-b520f844d9c1", "SetorId": "86176680-12a5-4651-b6cc-585f56aa74bf", "Nome": "Plantão Controlador", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "86176680-12a5-4651-b6cc-585f56aa74bf", "AreaPaiId": "d1922be5-a8b4-4b79-bb69-b520f844d9c1" }, { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "DepartamentoId": "59ddde75-9ac8-409e-a030-0220227f37c6", "SetorId": "4644b8ce-9255-4a30-a153-5358e1cccc3e", "Nome": "Pré - Parto", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "4644b8ce-9255-4a30-a153-5358e1cccc3e", "AreaPaiId": "59ddde75-9ac8-409e-a030-0220227f37c6" }, { "ChaveControladoraId": "57c4c669-f4ab-4da6-a652-3f5831555df5", "InstituicaoId": "37fbdde7-491c-427e-aa7e-4ea00b94dfb1", "UnidadeId": "04fd5531-280f-4fda-9c78-354864be52e8", "DepartamentoId": "2848b517-c276-46b8-bf26-73ce0b191917", "SetorId": "856a1eda-64e2-412e-b5cf-2038e9f9d857", "Nome": "Procura Órgãos", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "856a1eda-64e2-412e-b5cf-2038e9f9d857", "AreaPaiId": "2848b517-c276-46b8-bf26-73ce0b191917" }, { "ChaveControladoraId": "57c4c669-f4ab-4da6-a652-3f5831555df5", "InstituicaoId": "37fbdde7-491c-427e-aa7e-4ea00b94dfb1", "UnidadeId": "04fd5531-280f-4fda-9c78-354864be52e8", "DepartamentoId": "8b30fb6b-c217-4d2e-a617-8f0ffa623f5d", "SetorId": "05cdaf2e-3df3-4a92-a623-f3b55d8b14bd", "Nome": "Retaguarda PS", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "05cdaf2e-3df3-4a92-a623-f3b55d8b14bd", "AreaPaiId": "8b30fb6b-c217-4d2e-a617-8f0ffa623f5d" }, { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "DepartamentoId": "ad64be56-a629-4b68-bedf-14d6d738ca44", "SetorId": "670637e7-a852-471c-92d2-2799e224ab5b", "Nome": "Sala Atendimento P.S G.O", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "670637e7-a852-471c-92d2-2799e224ab5b", "AreaPaiId": "ad64be56-a629-4b68-bedf-14d6d738ca44" }, { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "DepartamentoId": "f2cdd91b-1458-4f2c-af6c-20c730af3311", "SetorId": "98fb6288-8e21-46bf-be73-0d5118d32f7f", "Nome": "Sala De Coleta", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "98fb6288-8e21-46bf-be73-0d5118d32f7f", "AreaPaiId": "f2cdd91b-1458-4f2c-af6c-20c730af3311" }, { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "DepartamentoId": "f2cdd91b-1458-4f2c-af6c-20c730af3311", "SetorId": "8db25ff7-3402-4592-8896-a144fb67b6b3", "Nome": "Sala De Gesso", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "8db25ff7-3402-4592-8896-a144fb67b6b3", "AreaPaiId": "f2cdd91b-1458-4f2c-af6c-20c730af3311" }, { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "DepartamentoId": "ad64be56-a629-4b68-bedf-14d6d738ca44", "SetorId": "fb5df38f-c20d-4215-b33e-78d3584a9765", "Nome": "Sala De Medicação Adulto", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "fb5df38f-c20d-4215-b33e-78d3584a9765", "AreaPaiId": "ad64be56-a629-4b68-bedf-14d6d738ca44" }, { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "DepartamentoId": "ad64be56-a629-4b68-bedf-14d6d738ca44", "SetorId": "2677e287-38a7-471b-88bf-7521f6afa12e", "Nome": "Sala De Medicação G.O", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "2677e287-38a7-471b-88bf-7521f6afa12e", "AreaPaiId": "ad64be56-a629-4b68-bedf-14d6d738ca44" }, { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "DepartamentoId": "ad64be56-a629-4b68-bedf-14d6d738ca44", "SetorId": "91606a88-13d9-412c-bac6-9456d2ff14b2", "Nome": "Sala De Medicação Infantil", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "91606a88-13d9-412c-bac6-9456d2ff14b2", "AreaPaiId": "ad64be56-a629-4b68-bedf-14d6d738ca44" }, { "ChaveControladoraId": "57c4c669-f4ab-4da6-a652-3f5831555df5", "InstituicaoId": "37fbdde7-491c-427e-aa7e-4ea00b94dfb1", "UnidadeId": "04fd5531-280f-4fda-9c78-354864be52e8", "DepartamentoId": "d1922be5-a8b4-4b79-bb69-b520f844d9c1", "SetorId": "44a6b221-2815-4ccb-850d-1fd51cb96182", "Nome": "Sobreaviso Gestão", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "44a6b221-2815-4ccb-850d-1fd51cb96182", "AreaPaiId": "d1922be5-a8b4-4b79-bb69-b520f844d9c1" }, { "ChaveControladoraId": "57c4c669-f4ab-4da6-a652-3f5831555df5", "InstituicaoId": "37fbdde7-491c-427e-aa7e-4ea00b94dfb1", "UnidadeId": "04fd5531-280f-4fda-9c78-354864be52e8", "DepartamentoId": "a77bf08f-499d-4abc-8bd7-97016fef4749", "SetorId": "d876dee8-d109-4cba-9311-b8e753c1627f", "Nome": "SVOC", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "d876dee8-d109-4cba-9311-b8e753c1627f", "AreaPaiId": "a77bf08f-499d-4abc-8bd7-97016fef4749" }, { "ChaveControladoraId": "f97dfd20-b1d9-45f9-92dc-63ebc9d07877", "InstituicaoId": "c57e9690-3c91-432c-bb52-d87043620da4", "UnidadeId": "9c68c95a-edd0-46ce-ada1-f39d12ffcb3d", "DepartamentoId": "caf2b560-6a65-48a3-91b8-7d7ad57acc3f", "SetorId": "02ef2820-90a9-42f7-bc41-73196f1555a0", "Nome": "UI Clínica Cirúrgica", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "02ef2820-90a9-42f7-bc41-73196f1555a0", "AreaPaiId": "caf2b560-6a65-48a3-91b8-7d7ad57acc3f" }, { "ChaveControladoraId": "57c4c669-f4ab-4da6-a652-3f5831555df5", "InstituicaoId": "37fbdde7-491c-427e-aa7e-4ea00b94dfb1", "UnidadeId": "04fd5531-280f-4fda-9c78-354864be52e8", "DepartamentoId": "8b30fb6b-c217-4d2e-a617-8f0ffa623f5d", "SetorId": "78de4935-4a35-4aee-8ca8-975d5c4861ed", "Nome": "Vascular", "Sigla": null, "Cor": null, "Status": true, "StatusPai": true, "AreaNivel": 4, "AreaId": "78de4935-4a35-4aee-8ca8-975d5c4861ed", "AreaPaiId": "8b30fb6b-c217-4d2e-a617-8f0ffa623f5d" } ]; export let projectData = [ { 'TaskID': 1, 'TaskName': 'Parent Task 1', 'StartDate': new Date('02/23/2017'), 'EndDate': new Date('02/27/2017'), 'Progress': '40' }, { 'TaskID': 2, 'TaskName': 'Child Task 1', 'StartDate': new Date('02/23/2017'), 'EndDate': new Date('02/27/2017'), 'Progress': '40', 'parentID': 1 }, { 'TaskID': 3, 'TaskName': 'Child Task 2', 'StartDate': new Date('02/23/2017'), 'EndDate': new Date('02/27/2017'), 'Progress': '40', 'parentID': 1 }, { 'TaskID': 4, 'TaskName': 'Child Task 3', 'StartDate': new Date('02/23/2017'), 'EndDate': new Date('02/27/2017'), 'Duration': 5, 'Progress': '40', 'parentID': 1 }, { 'TaskID': 5, 'TaskName': 'Parent Task 2', 'StartDate': new Date('03/14/2017'), 'EndDate': new Date('03/18/2017'), 'Progress': '40' }, { 'TaskID': 6, 'TaskName': 'Child Task 1', 'StartDate': new Date('03/02/2017'), 'EndDate': new Date('03/06/2017'), 'Progress': '40', 'parentID': 5 }, { 'TaskID': 7, 'TaskName': 'Child Task 2', 'StartDate': new Date('03/02/2017'), 'EndDate': new Date('03/06/2017'), 'Progress': '40', 'parentID': 5 }, { 'TaskID': 8, 'TaskName': 'Child Task 3', 'StartDate': new Date('03/02/2017'), 'EndDate': new Date('03/06/2017'), 'Progress': '40', 'parentID': 5 }, { 'TaskID': 9, 'TaskName': 'Child Task 4', 'StartDate': new Date('03/02/2017'), 'EndDate': new Date('03/06/2017'), 'Progress': '40', 'parentID': 5 }, { 'TaskID': 10, 'TaskName': 'Parent Task 3', 'StartDate': new Date('03/09/2017'), 'EndDate': new Date('03/13/2017'), 'Progress': '40' }, { 'TaskID': 11, 'TaskName': 'Child Task 1', 'StartDate': new Date('03/9/2017'), 'EndDate': new Date('03/13/2017'), 'Progress': '40', 'parentID': 10 }, { 'TaskID': 12, 'TaskName': 'Child Task 2', 'StartDate': new Date('03/9/2017'), 'EndDate': new Date('03/13/2017'), 'Progress': '40', 'parentID': 10 }, { 'TaskID': 13, 'TaskName': 'Child Task 3', 'StartDate': new Date('03/9/2017'), 'EndDate': new Date('03/13/2017'), 'Progress': '40', 'parentID': 10 }, { 'TaskID': 14, 'TaskName': 'Child Task 4', 'StartDate': new Date('03/9/2017'), 'EndDate': new Date('03/13/2017'), 'Progress': '40', 'parentID': 10 }, { 'TaskID': 15, 'TaskName': 'Child Task 5', 'StartDate': new Date('03/9/2017'), 'EndDate': new Date('03/13/2017'), 'Progress': '40', 'parentID': 10 } ]; export let stackedData = [ { orderID: '1', orderName: 'Order 1', orderDate: new Date('02/03/2017'), shippedDate: new Date('02/09/2017'), units: 1395, unitPrice: 47.00, price: 65565, shipMentCategory: 'Seafood', subtasks: [ { orderID: '1.1', orderName: 'Mackerel', shipMentCategory: 'Frozen seafood', units: '35', orderDate: new Date('03/03/2017'), shippedDate: new Date('03/10/2017'), unitPrice: 12.56, price: 439.6}, { orderID: '1.2', orderName: 'Yellowfin Tuna', shipMentCategory: 'Frozen seafood', units: '324', orderDate: new Date('05/03/2017'), shippedDate: new Date('05/10/2017'), unitPrice: 28.26, price: 9156.24 }, { orderID: '1.3', orderName: 'Herrings', shipMentCategory: 'Frozen seafood', units: '48', orderDate: new Date('05/08/2017'), shippedDate: new Date('05/15/2017'), unitPrice: 11.35, price: 544.8 }, { orderID: '1.4', orderName: 'Preserved Olives', shipMentCategory: 'Edible', units: '125', orderDate: new Date('06/10/2017'), shippedDate: new Date('06/17/2017'), unitPrice: 29.23, price: 3653.75}, { orderID: '1.5', orderName: 'Sweet corn Frozen', shipMentCategory: 'Edible', units: '223', orderDate: new Date('07/12/2017'), shippedDate: new Date('07/19/2017'), unitPrice: 47.17, price: 10518.91 } ] }, { orderID: '2', orderName: 'Order 2', orderDate: new Date('01/10/2018'), shippedDate: new Date('01/16/2018'), units: '1944', unitPrice: 58.45, price: 113626.8, shipMentCategory: 'Seafood', subtasks: [ { orderID: '2.1', orderName: 'Tilapias', shipMentCategory: 'Frozen Seafood', orderDate: new Date('02/05/2018'), shippedDate: new Date('02/12/2018'), units: '278', unitPrice: 15.25, price: 4239.5 }, { orderID: '2.2', orderName: 'White Shrimp', shipMentCategory: 'Frozen seafood', units: '560', orderDate: new Date('05/22/2018'), shippedDate: new Date('05/29/2018'), unitPrice: 72.45, price: 36225 }, { orderID: '2.3', orderName: 'Fresh Cheese', shipMentCategory: 'Dairy', units: '323', unitPrice: 12.45, orderDate: new Date('06/08/2018'), shippedDate: new Date('06/15/2018'), price: 4021.35 }, { orderID: '2.4', orderName: 'Blue Veined Cheese', shipMentCategory: 'Dairy', units: '370', unitPrice: 15.36, orderDate: new Date('07/10/2018'), shippedDate: new Date('07/17/2018'), price: 5683.2 }, { orderID: '2.5', orderName: 'Butter', shipMentCategory: 'Dairy', units: '413', unitPrice: 19.35, orderDate: new Date('09/18/2018'), shippedDate: new Date('09/25/2018'), price: 7991.55} ] }, { orderID: '3', orderName: 'Order 3', orderDate: new Date('09/10/2018'), shippedDate: new Date('09/20/2018'), units: '1120', unitPrice: 33.34, price: 37340.8, shipMentCategory: 'Seafood', subtasks: [ { orderID: '3.1', orderName: 'Lead glassware', shipMentCategory: 'Solid crystals', orderDate: new Date('02/07/2018'), shippedDate: new Date('02/14/2018'), units: '542', unitPrice: 46.45, price: 25175.9 }, { orderID: '3.2', orderName: 'Pharmaceutical', shipMentCategory: 'Solid crystals', orderDate: new Date('04/19/2018'), shippedDate: new Date('04/26/2018'), units: '324', unitPrice: 11.56, price: 3745.44 }, { orderID: '3.3', orderName: 'Glass beads', shipMentCategory: 'Solid crystals', units: '254', orderDate: new Date('05/22/2018'), shippedDate: new Date('03/22/2018'), unitPrice: 16.25, price: 4127.5 } ] } ]; export let sortData = [ { orderID: '1', orderName: 'Order 1', orderDate: new Date('02/03/2017'), shippedDate: new Date('02/09/2017'), units: '1395', unitPrice: '47', price: '133.66', Category: 'Product', subtasks: [ { orderID: '1.1', orderName: 'Mackerel', Category: 'Frozen seafood', units: '235', orderDate: new Date('03/03/2017'), shippedDate: new Date('03/10/2017'), unitPrice: '12', price: '28.20' }, { orderID: '1.2', orderName: 'Yellowfin Tuna', Category: 'Frozen seafood', units: '324', orderDate: new Date('04/05/2017'), shippedDate: new Date('04/12/2017'), unitPrice: '8', price: '25.92' }, { orderID: '1.3', orderName: 'Herrings', Category: 'Frozen seafood', units: '488', orderDate: new Date('05/08/2017'), shippedDate: new Date('05/15/2017'), unitPrice: '11', price: '52.68' }, { orderID: '1.4', orderName: 'Preserved Olives', Category: 'Edible', units: '125', orderDate: new Date('06/10/2017'), shippedDate: new Date('06/17/2017'), unitPrice: '9', price: '11.25' }, { orderID: '1.5', orderName: 'Sweet corn Frozen', Category: 'Edible', units: '223', orderDate: new Date('07/12/2017'), shippedDate: new Date('07/19/2019'), unitPrice: '7', price: '15.61' } ] }, { orderID: '2', orderName: 'Order 2', orderDate: new Date('01/10/2018'), shippedDate: new Date('01/16/2018'), units: '1944', unitPrice: '58', price: '212.33', Category: 'Seafood', subtasks: [ { orderID: '2.1', orderName: 'Tilapias', Category: 'Frozen seafood', orderDate: new Date('02/05/2018'), shippedDate: new Date('02/12/2018'), units: '278', unitPrice: '15', price: '41.70' }, { orderID: '2.2', orderName: 'White Shrimp', Category: 'Frozen seafood', units: '560', orderDate: new Date('05/22/2018'), shippedDate: new Date('05/29/2018'), unitPrice: '7', price: '39.20' }, { orderID: '2.3', orderName: 'Fresh Cheese', Category: 'Dairy', units: '323', unitPrice: '12', orderDate: new Date('06/08/2018'), shippedDate: new Date('06/15/2018'), price: '38.76' }, { orderID: '2.4', orderName: 'Blue Veined Cheese', Category: 'Dairy', units: '370', unitPrice: '15', orderDate: new Date('07/10/2018'), shippedDate: new Date('07/17/2018'), price: '55.50' }, { orderID: '2.5', orderName: 'Butter', Category: 'Dairy', units: '413', unitPrice: '9', orderDate: new Date('09/18/2018'), shippedDate: new Date('09/25/2018'), price: '37.17' } ] }, { orderID: '3', orderName: 'Order 3', orderDate: new Date('09/10/2018'), shippedDate: new Date('09/20/2018'), units: '1120', unitPrice: '33', price: '108.80', Category:'Crystal', subtasks: [ { orderID: '3.1', orderName: 'Lead glassware', Category: 'Solid crystals', orderDate: new Date('02/07/2018'), shippedDate: new Date('02/14/2018'), units: '542', unitPrice: '6', price: '32.52' }, { orderID: '3.2', orderName: 'Pharmaceutical Glassware', Category: 'Solid crystals', orderDate: new Date('04/19/2018'), shippedDate: new Date('04/26/2018'), units: '324', unitPrice: '11', price: '35.64' }, { orderID: '3.3', orderName: 'Glass beads', Category: 'Solid crystals', units: '254', orderDate: new Date('05/22/2018'), shippedDate: new Date('03/22/2018'), unitPrice: '16', price: '40.64' } ] } ]; export let lockRowDropDownData = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36]; export let formatData = [ { orderID: '1', orderName: 'Order 1', orderDate: new Date('02/03/2017'), shippedDate: new Date('10/03/2018'), units: '1395', unitPrice: '47', price: '133.66', Category: 'seafood', subtasks: [ { orderID: '1.1', orderName: 'Mackerel', Category: 'Frozen seafood', units: '235', orderDate: new Date('02/03/2017'), shippedDate: new Date('05/13/2018'), unitPrice: '12', price: '28.20' }, { orderID: '1.2', orderName: 'Yellowfin Tuna', Category: 'Frozen seafood', units: '324', orderDate: new Date('05/03/2017'), shippedDate: new Date('05/22/2018'), unitPrice: '8', price: '25.92' }, { orderID: '1.3', orderName: 'Herrings', Category: 'Frozen seafood', units: '488', orderDate: new Date('10/03/2017'), shippedDate: new Date('10/14/2018'), unitPrice: '11', price: '52.68' }, { orderID: '1.4', orderName: 'Preserved Olives', Category: 'Edible', units: '125', orderDate: new Date('08/03/2017'), shippedDate: new Date('08/03/2018'), unitPrice: '9', price: '11.25' }, { orderID: '1.5', orderName: 'Sweet corn Frozen', Category: 'Edible', units: '223', orderDate: new Date('09/03/2017'), shippedDate: new Date('09/03/2018'), unitPrice: '7', price: '15.61' } ] }, { orderID: '2', orderName: 'Order 2', orderDate: new Date('05/03/2017'), shippedDate: new Date('03/15/2018'), units: '1944', unitPrice: '58', price: '212.33', Category: 'seafood', subtasks: [ { orderID: '2.1', orderName: 'Tilapias', Category: 'Frozen seafood', orderDate: new Date('03/05/2017'), shippedDate: new Date('03/15/2018'), units: '278', unitPrice: '15', price: '41.70' }, { orderID: '2.2', orderName: 'White Shrimp', Category: 'Frozen seafood', units: '560', orderDate: new Date('07/05/2017'), shippedDate: new Date('03/15/2018'), unitPrice: '7', price: '39.20' }, { orderID: '2.3', orderName: 'Fresh Cheese', Category: 'Dairy', units: '323', unitPrice: '12', orderDate: new Date('09/03/2017'), shippedDate: new Date('09/19/2018'), price: '38.76' }, { orderID: '2.4', orderName: 'Blue Veined Cheese', Category: 'Dairy', units: '370', unitPrice: '15', orderDate: new Date('11/03/2017'), shippedDate: new Date('11/13/2018'), price: '55.50' }, { orderID: '2.5', orderName: 'Butter', Category: 'Dairy', units: '413', unitPrice: '9', orderDate: new Date('10/23/2017'), shippedDate: new Date('10/23/2018'), price: '37.17' } ] }, { orderID: '3', orderName: 'Order 3', orderDate: new Date('03/10/2017'), shippedDate: new Date('03/20/2018'), units: '1120', unitPrice: '33', price: '108.80', Category: 'seafood', subtasks: [ { orderID: '3.1', orderName: 'Lead glassware', Category: 'Solid crystals', orderDate: new Date('08/03/2017'), shippedDate: new Date('03/18/2018'), units: '542', unitPrice: '6', price: '32.52' }, { orderID: '3.2', orderName: 'Pharmaceutical Glassware', Category: 'Solid crystals', orderDate: new Date('03/10/2017'), shippedDate: new Date('03/20/2018'), units: '324', unitPrice: '11', price: '35.64' }, { orderID: '3.3', orderName: 'Glass beads', Category: 'Solid crystals', units: '254', orderDate: new Date('03/02/2017'), shippedDate: new Date('03/22/2018'), unitPrice: '16', price: '40.64' } ] } ]; export let summaryData = [ { ID: '1', Name: 'Order 1', units: '1395', unitPrice: 47.00, price: 65565, category: 'Seafoods', subtasks: [ { ID: '1.1', Name: 'Mackerel', category: 'Frozen seafood', units: '235', unitPrice: 12.26, price: 2881.1 }, { ID: '1.2', Name: 'Yellowfin Tuna', category: 'Frozen seafood', units: '324', unitPrice: 18.45, price: 5977.8 }, { ID: '1.3', Name: 'Herrings', category: 'Frozen seafood', units: '488', unitPrice: 11.45, price: 5587.6 }, { ID: '1.4', Name: 'Preserved Olives', category: 'Edible', units: '125', unitPrice: 19.56, price: 2445 }, { ID: '1.5', Name: 'Sweet corn Frozen', category: 'Edible', units: '223', unitPrice: 12.34, price: 2751.82 } ] }, { ID: '2', Name: 'Order 2', units: '1944', unitPrice: 58.45, price: 1245.73, category: 'Products', subtasks: [ { ID: '2.1', Name: 'Tilapias', category: 'Frozen seafood', units: '278', unitPrice: 15.45, price: 4295.1 }, { ID: '2.2', Name: 'White Shrimp', category: 'Frozen seafood', units: '560', unitPrice: 17.66, price: 9889.6 }, { ID: '2.3', Name: 'Fresh Cheese', category: 'Dairy', units: '323', unitPrice: 12.35, price: 3989 }, { ID: '2.4', Name: 'Blue Veined Cheese', category: 'Dairy', units: '370', unitPrice: 15.77, price: 5834.9 }, { ID: '2.5', Name: 'Butter', category: 'Dairy', units: '413', unitPrice: 19.45, price: 8032.85 } ] }, { ID: '3', Name: 'Order 3', units: '1120', unitPrice: 33.45, price: 37464, category: 'Crystals', subtasks: [ { ID: '3.1', Name: 'Lead glassware', category: 'Solid crystals', units: '542', unitPrice: 19.56, price: 10601.52 }, { ID: '3.2', Name: 'Pharmaceutical Glassware', category: 'Solid crystals', units: '324', unitPrice: 11.36, price: 3680.64 }, { ID: '3.3', Name: 'Glass beads', category: 'Solid crystals', units: '254', unitPrice: 16.11, price: 4091.94 } ] }]; export let textdata = [{ 'Name': 'Robert King', 'FullName': 'RobertKing', 'Designation': 'Chief Executive Officer', 'EmployeeID': '1', 'EmpID': 'EMP001', 'Address': '507 - 20th Ave. E.Apt. 2A, Seattle', 'Contact': '(206) 555-9857', 'Country': 'USA', 'DOB': new Date('2/15/1963'), 'Children': [{ 'Name': 'David william', 'FullName': 'DavidWilliam', 'Designation': 'Vice President', 'EmployeeID': '2', 'EmpID': 'EMP004', 'Address': '722 Moss Bay Blvd., Kirkland', 'Country': 'USA', 'Contact': '(206) 555-3412', 'DOB': new Date('5/20/1971'), 'Children': [{ 'Name': 'Nancy Davolio', 'FullName': 'NancyDavolio', 'Designation': 'Marketing Executive', 'EmployeeID': '3', 'EmpID': 'EMP035', 'Address': '4110 Old Redmond Rd., Redmond', 'Country': 'USA', 'Contact': '(206) 555-8122', 'DOB': new Date('3/19/1966'), 'Children': [ { 'Name': 'Andrew Fuller', 'FullName': 'AndrewFuller', 'Designation': 'Sales Representative', 'EmployeeID': '4', 'EmpID': 'EMP045', 'Address': '14 Garrett Hill, London', 'Country': 'UK', 'Contact': '(71) 555-4848', 'DOB': new Date('9/20/1980') }, { 'Name': 'Anne Dodsworth', 'FullName': 'AnneDodsworth', 'Designation': 'Sales Representative', 'EmployeeID': '5', 'EmpID': 'EMP091', 'Address': '4726 - 11th Ave. N.E., Seattle', 'Country': 'USA', 'Contact': '(206) 555-1189', 'DOB': new Date('10/19/1989') }, { 'Name': 'Michael Suyama', 'FullName': 'MichaelSuyama', 'Designation': 'Sales Representative', 'EmployeeID': '6', 'EmpID': 'EMP110', 'Address': 'Coventry House Miner Rd., London', 'Country': 'UK', 'Contact': '(71) 555-3636', 'DOB': new Date('11/02/1987') }, { 'Name': 'Janet Leverling', 'FullName': 'JanetLeverling', 'Designation': 'Sales Coordinator', 'EmployeeID': '7', 'EmpID': 'EMP131', 'Address': 'Edgeham Hollow Winchester Way, London', 'Country': 'UK', 'Contact': '(71) 555-3636', 'DOB': new Date('11/06/1990') }, ] }, { 'Name': 'Romey Wilson', 'FullName': 'RomeyWilson', 'Designation': 'Sales Executive', 'EmployeeID': '8', 'EmpID': 'EMP039', 'Address': '7 Houndstooth Rd., London', 'Country': 'UK', 'Contact': '(71) 555-3690', 'DOB': new Date('02/02/1980'), 'Children': [ { 'Name': 'Margaret Peacock', 'FullName': 'MargaretPeacock', 'Designation': 'Sales Representative', 'EmployeeID': '9', 'EmpID': 'EMP213', 'Address': '4726 - 11th Ave. N.E., California', 'Country': 'USA', 'Contact': '(206) 555-1989', 'DOB': new Date('01/21/1986') }, { 'Name': 'Laura Callahan', 'FullName': 'LauraCallahan', 'Designation': 'Sales Coordinator', 'EmployeeID': '10', 'EmpID': 'EMP201', 'Address': 'Coventry House Miner Rd., London', 'Country': 'UK', 'Contact': '(71) 555-2222', 'DOB': new Date( '12/01/1990') }, { 'Name': 'Steven Buchanan', 'FullName': 'StevenBuchanan', 'Designation': 'Sales Representative', 'EmployeeID': '11', 'EmpID': 'EMP197', 'Address': '200 Lincoln Ave, Salinas, CA 93901', 'Country': 'USA', 'Contact': '(831) 758-7408', 'DOB': new Date('03/23/1987') }, { 'Name': 'Tedd Lawson', 'FullName': 'TeddLawson', 'Designation': 'Sales Representative', 'EmployeeID': '12', 'EmpID': 'EMP167', 'Address': '200 Lincoln Ave, Salinas, CA 93901', 'Country': 'USA', 'Contact': '(831) 758-7368 ', 'DOB': new Date('08/09/1989') }, ] }] }] }]; export let lineData = [ [0, 6, 4, 1, 3, 2, 5], [5, 4, 6, 3, 1, 2, 0], [6, 4, 0, 3, 2, 5, 1], [4, 6, 3, 0, 1, 2, 5], [3, 5, 6, 4, 0, 1, 2], [1, 3, 4, 2, 5, 0, 6], [2, 4, 0, 3, 5, 6, 1], [5, 4, 6, 3, 1, 2, 0], [0, 6, 4, 1, 3, 2, 5], [6, 4, 0, 3, 2, 5, 1], [4, 6, 3, 0, 1, 2, 5], [3, 5, 6, 4, 0, 1, 2], [1, 3, 4, 2, 5, 0, 6], [2, 4, 0, 3, 5, 6, 1], [5, 4, 6, 3, 1, 2, 0], [0, 6, 4, 1, 3, 2, 5], [6, 4, 0, 3, 2, 5, 1], [4, 6, 3, 0, 1, 2, 5], [2, 4, 0, 3, 5, 6, 1], [3, 5, 6, 4, 0, 1, 2], [1, 3, 4, 2, 5, 0, 6] ]; export let columnData = [ [0, 6, -4, 1, -3, 2, 5], [5, -4, 6, 3, -1, 2, 0], [6, 4, 0, 3, -2, 5, 1], [4, -6, 3, 0, 1, -2, 5], [3, 5, -6, -4, 0, 1, 2], [1, -3, 4, -2, 5, 0, 6], [2, 4, 0, -3, 5, -6, 1], [5, 4, -6, 3, 1, -2, 0], [0, -6, 4, 1, -3, 2, 5], [6, 4, 0, -3, 2, -5, 1], [4, 6, -3, 0, 1, 2, 5], [3, -5, -6, 4, 0, 1, 2], [1, 3, -4, -2, 5, 0, 6], [2, -4, 0, -3, 5, 6, 1], [5, 4, -6, 3, 1, -2, 0], [0, 6, 4, -1, -3, 2, 5], [6, -4, 0, -3, 2, 5, 1], [4, 6, -3, 0, -1, 2, 5], [6, 4, 0, -3, 2, -5, 1], [3, 5, 6, -4, 0, 1, 2], [1, 3, -4, 2, -5, 0, 6] ]; export let getSparkData: Function = (type: string, count: number) => { if (type === 'line') { return lineData[count]; } else { return columnData[count]; } };PK 4kMN1 src/app.module.tsimport { SelfReferenceComponent } from './selfreference.component'; import { HttpModule, JsonpModule } from '@angular/http'; import { BrowserModule } from '@angular/platform-browser'; import 'rxjs/add/operator/map'; import { TreeGridAllModule } from '@syncfusion/ej2-angular-treegrid'; import { NgModule, Type, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { CommonModule } from '@angular/common'; import { HttpModule } from '@angular/http'; import { NumericTextBoxAllModule } from '@syncfusion/ej2-angular-inputs'; import { DatePickerModule, DatePickerAllModule } from '@syncfusion/ej2-angular-calendars'; import { ButtonAllModule , CheckBoxAllModule} from '@syncfusion/ej2-angular-buttons'; import { ToolbarModule, ToolbarAllModule } from '@syncfusion/ej2-angular-navigations'; import { DropDownListAllModule, MultiSelectAllModule } from '@syncfusion/ej2-angular-dropdowns'; import { HeaderTemplateComponent } from './headertemplate'; import { ConditionalFormattingComponent } from './conditionalformatting'; import { ReactiveFormsModule , FormsModule} from '@angular/forms'; import { SparklineAllModule } from '@syncfusion/ej2-angular-charts'; @NgModule({ imports: [CommonModule, HttpModule, TreeGridAllModule, NumericTextBoxAllModule, ToolbarModule, DropDownListAllModule, ButtonAllModule, MultiSelectAllModule, CheckBoxAllModule, ReactiveFormsModule, FormsModule, DatePickerModule, SparklineAllModule, HttpModule, JsonpModule, BrowserModule], declarations: [SelfReferenceComponent], bootstrap: [SelfReferenceComponent] }) export class AppModule { }PK 4kMNXUb b src/selfreference.component.tsimport { Component, OnInit } from '@angular/core'; import { allysonData } from './jsontreegriddata'; @Component({ selector: 'control-content', templateUrl: 'selfreference.html' }) export class SelfReferenceComponent implements OnInit { public data: Object[] = []; ngOnInit(): void { this.data = allysonData; } }PK 4kMN3 src/selfreference.html