igniteui-cli 14.9.1 → 14.10.0-alpha.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.
- package/README.md +2 -2
- package/lib/PromptSession.js +1 -3
- package/lib/TemplateManager.js +3 -7
- package/lib/cli.js +1 -0
- package/lib/commands/build.js +0 -3
- package/lib/commands/generate.js +0 -1
- package/lib/commands/index.d.ts +1 -0
- package/lib/commands/index.js +3 -1
- package/lib/commands/mcp.d.ts +3 -0
- package/lib/commands/mcp.js +98 -0
- package/lib/commands/start.js +6 -19
- package/lib/commands/types.d.ts +1 -0
- package/lib/commands/types.js +4 -2
- package/lib/templates/IgniteUIForReactTemplate.d.ts +0 -3
- package/lib/templates/IgniteUIForReactTemplate.js +0 -24
- package/lib/templates/jQueryTemplate.js +0 -2
- package/migrations/update-13_1_0/index.spec.js +0 -2
- package/migrations/update-2/index.spec.js +0 -2
- package/migrations/update-3/index.spec.js +0 -2
- package/migrations/update-3_2/index.js +0 -1
- package/migrations/update-3_2/index.spec.js +0 -2
- package/migrations/update-4_2_3/index.js +0 -1
- package/migrations/update-4_2_3/index.spec.js +0 -2
- package/migrations/update-5_0_0/index.js +0 -1
- package/migrations/update-5_0_0/index.spec.js +0 -2
- package/migrations/update-5_0_3/index.js +0 -1
- package/migrations/update-5_0_3/index.spec.js +0 -2
- package/package.json +8 -8
- package/scripts/install.js +1 -2
- package/scripts/uninstall.js +1 -2
- package/templates/angular/index.js +0 -1
- package/templates/jquery/index.js +0 -1
- package/templates/jquery/js/hierarchical-grid/hierarchical-grid/index.js +0 -2
- package/templates/jquery/js/index.js +0 -2
- package/templates/react/igr-ts/generate/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/generate/files/src/app/__path__/__filePrefix__.tsx +12 -0
- package/templates/react/igr-ts/generate/files/src/app/__path__/style.module.css +3 -0
- package/templates/react/{es6 → igr-ts}/generate/template.json +1 -1
- package/templates/react/igr-ts/index.js +1 -2
- package/templates/react/igr-ts/projects/_base/files/AGENTS.md +111 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__claude/CLAUDE.md +3 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__github/copilot-instructions.md +3 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__vscode/mcp.json +12 -0
- package/templates/react/index.js +0 -2
- package/templates/webcomponents/igc-ts/projects/_base/files/AGENTS.md +33 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/CLAUDE.md +3 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__github/copilot-instructions.md +3 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__vscode/mcp.json +12 -0
- package/lib/templates/AngularTemplate.d.ts +0 -39
- package/lib/templates/AngularTemplate.js +0 -207
- package/lib/templates/ReactTemplate.d.ts +0 -36
- package/lib/templates/ReactTemplate.js +0 -149
- package/templates/angular/ig-ts/bar-chart/default/files/src/app/assets/world-energy-production.ts +0 -54
- package/templates/angular/ig-ts/bar-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -83
- package/templates/angular/ig-ts/bar-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/bar-chart/default/index.d.ts +0 -1
- package/templates/angular/ig-ts/bar-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/bar-chart/index.d.ts +0 -1
- package/templates/angular/ig-ts/bar-chart/index.js +0 -15
- package/templates/angular/ig-ts/column-chart/default/files/src/app/assets/world-energy-production.ts +0 -54
- package/templates/angular/ig-ts/column-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -87
- package/templates/angular/ig-ts/column-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/column-chart/default/index.d.ts +0 -1
- package/templates/angular/ig-ts/column-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/column-chart/index.d.ts +0 -1
- package/templates/angular/ig-ts/column-chart/index.js +0 -15
- package/templates/angular/ig-ts/combo/combo/files/src/app/components/__path__/__filePrefix__.component.ts +0 -45
- package/templates/angular/ig-ts/combo/combo/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/combo/combo/index.d.ts +0 -1
- package/templates/angular/ig-ts/combo/combo/index.js +0 -16
- package/templates/angular/ig-ts/combo/index.d.ts +0 -1
- package/templates/angular/ig-ts/combo/index.js +0 -16
- package/templates/angular/ig-ts/custom-templates/editors-calculation-form/files/src/app/assets/logo.jpg +0 -0
- package/templates/angular/ig-ts/custom-templates/editors-calculation-form/files/src/app/components/__path__/__filePrefix__.component.ts +0 -368
- package/templates/angular/ig-ts/custom-templates/editors-calculation-form/index.d.ts +0 -1
- package/templates/angular/ig-ts/custom-templates/editors-calculation-form/index.js +0 -18
- package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/assets/data-fe.ts +0 -88
- package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/assets/folder.png +0 -0
- package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/assets/opened_folder.png +0 -0
- package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/components/__path__/__filePrefix__.component.ts +0 -50
- package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/index.d.ts +0 -1
- package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/index.js +0 -62
- package/templates/angular/ig-ts/doughnut-chart/default/files/src/app/assets/doughnut-data.ts +0 -10
- package/templates/angular/ig-ts/doughnut-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -38
- package/templates/angular/ig-ts/doughnut-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/doughnut-chart/default/index.d.ts +0 -1
- package/templates/angular/ig-ts/doughnut-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/doughnut-chart/index.d.ts +0 -1
- package/templates/angular/ig-ts/doughnut-chart/index.js +0 -16
- package/templates/angular/ig-ts/editors/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -19
- package/templates/angular/ig-ts/editors/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/editors/index.d.ts +0 -1
- package/templates/angular/ig-ts/editors/index.js +0 -58
- package/templates/angular/ig-ts/financial-chart/default/files/src/app/assets/financial-data.ts +0 -115
- package/templates/angular/ig-ts/financial-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -152
- package/templates/angular/ig-ts/financial-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/financial-chart/default/index.d.ts +0 -1
- package/templates/angular/ig-ts/financial-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/financial-chart/index.d.ts +0 -1
- package/templates/angular/ig-ts/financial-chart/index.js +0 -15
- package/templates/angular/ig-ts/funnel-chart/default/files/src/app/assets/funnel-data.ts +0 -12
- package/templates/angular/ig-ts/funnel-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -69
- package/templates/angular/ig-ts/funnel-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/funnel-chart/default/index.d.ts +0 -1
- package/templates/angular/ig-ts/funnel-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/funnel-chart/index.d.ts +0 -1
- package/templates/angular/ig-ts/funnel-chart/index.js +0 -15
- package/templates/angular/ig-ts/generate/files/src/app/components/__path__/__filePrefix__.component.ts +0 -14
- package/templates/angular/ig-ts/generate/template.json +0 -13
- package/templates/angular/ig-ts/grid/basic/files/src/app/assets/northwindProducts.ts +0 -12
- package/templates/angular/ig-ts/grid/basic/files/src/app/components/__path__/__filePrefix__.component.ts +0 -28
- package/templates/angular/ig-ts/grid/basic/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/grid/basic/index.d.ts +0 -1
- package/templates/angular/ig-ts/grid/basic/index.js +0 -41
- package/templates/angular/ig-ts/grid/grid-custom/files/src/app/assets/northwindProducts.ts +0 -12
- package/templates/angular/ig-ts/grid/grid-custom/files/src/app/components/__path__/__filePrefix__.component.ts +0 -32
- package/templates/angular/ig-ts/grid/grid-custom/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/grid/grid-custom/index.d.ts +0 -1
- package/templates/angular/ig-ts/grid/grid-custom/index.js +0 -45
- package/templates/angular/ig-ts/grid/grid-editing/files/src/app/assets/northwindProducts.ts +0 -12
- package/templates/angular/ig-ts/grid/grid-editing/files/src/app/components/__path__/__filePrefix__.component.ts +0 -30
- package/templates/angular/ig-ts/grid/grid-editing/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/grid/grid-editing/index.d.ts +0 -1
- package/templates/angular/ig-ts/grid/grid-editing/index.js +0 -42
- package/templates/angular/ig-ts/grid/grid-export/files/src/app/assets/employees.ts +0 -15
- package/templates/angular/ig-ts/grid/grid-export/files/src/app/components/__path__/__filePrefix__.component.ts +0 -88
- package/templates/angular/ig-ts/grid/grid-export/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/grid/grid-export/index.d.ts +0 -1
- package/templates/angular/ig-ts/grid/grid-export/index.js +0 -42
- package/templates/angular/ig-ts/grid/grid-templating/files/src/app/assets/northwindProductsFlat.ts +0 -13
- package/templates/angular/ig-ts/grid/grid-templating/files/src/app/components/__path__/__filePrefix__.component.ts +0 -34
- package/templates/angular/ig-ts/grid/grid-templating/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/grid/grid-templating/index.d.ts +0 -1
- package/templates/angular/ig-ts/grid/grid-templating/index.js +0 -42
- package/templates/angular/ig-ts/grid/index.d.ts +0 -1
- package/templates/angular/ig-ts/grid/index.js +0 -12
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/files/src/app/assets/northwind.ts +0 -12626
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/files/src/app/components/__path__/__filePrefix__.component.ts +0 -75
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/index.d.ts +0 -1
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/index.js +0 -42
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/files/src/app/assets/northwind.ts +0 -12626
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/files/src/app/components/__path__/__filePrefix__.component.ts +0 -76
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/index.d.ts +0 -1
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/index.js +0 -45
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/files/src/app/assets/northwind.ts +0 -12626
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/files/src/app/components/__path__/__filePrefix__.component.ts +0 -76
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/index.d.ts +0 -1
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/index.js +0 -43
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/files/src/app/assets/northwind.ts +0 -12626
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/files/src/app/components/__path__/__filePrefix__.component.ts +0 -99
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/index.d.ts +0 -1
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/index.js +0 -43
- package/templates/angular/ig-ts/hierarchical-grid/index.d.ts +0 -1
- package/templates/angular/ig-ts/hierarchical-grid/index.js +0 -12
- package/templates/angular/ig-ts/index.d.ts +0 -1
- package/templates/angular/ig-ts/index.js +0 -17
- package/templates/angular/ig-ts/line-chart/default/files/src/app/assets/line-chart-data.ts +0 -9
- package/templates/angular/ig-ts/line-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -109
- package/templates/angular/ig-ts/line-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/line-chart/default/index.d.ts +0 -1
- package/templates/angular/ig-ts/line-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/line-chart/index.d.ts +0 -1
- package/templates/angular/ig-ts/line-chart/index.js +0 -15
- package/templates/angular/ig-ts/pie-chart/default/files/src/app/assets/data.ts +0 -9
- package/templates/angular/ig-ts/pie-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -28
- package/templates/angular/ig-ts/pie-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/pie-chart/default/index.d.ts +0 -1
- package/templates/angular/ig-ts/pie-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/pie-chart/index.d.ts +0 -1
- package/templates/angular/ig-ts/pie-chart/index.js +0 -15
- package/templates/angular/ig-ts/projects/empty/files/README.md +0 -39
- package/templates/angular/ig-ts/projects/empty/files/__dot__browserslistrc +0 -17
- package/templates/angular/ig-ts/projects/empty/files/__dot__editorconfig +0 -16
- package/templates/angular/ig-ts/projects/empty/files/__dot__gitignore +0 -51
- package/templates/angular/ig-ts/projects/empty/files/angular.json +0 -105
- package/templates/angular/ig-ts/projects/empty/files/ignite-ui-cli.json +0 -22
- package/templates/angular/ig-ts/projects/empty/files/karma.conf.js +0 -55
- package/templates/angular/ig-ts/projects/empty/files/package.json +0 -45
- package/templates/angular/ig-ts/projects/empty/files/src/app/app-routing.module.ts +0 -17
- package/templates/angular/ig-ts/projects/empty/files/src/app/app.component.css +0 -6
- package/templates/angular/ig-ts/projects/empty/files/src/app/app.component.html +0 -5
- package/templates/angular/ig-ts/projects/empty/files/src/app/app.component.spec.ts +0 -22
- package/templates/angular/ig-ts/projects/empty/files/src/app/app.component.ts +0 -10
- package/templates/angular/ig-ts/projects/empty/files/src/app/app.module.ts +0 -22
- package/templates/angular/ig-ts/projects/empty/files/src/app/home.component.ts +0 -12
- package/templates/angular/ig-ts/projects/empty/files/src/app/shared/nav-menu.component.css +0 -36
- package/templates/angular/ig-ts/projects/empty/files/src/app/shared/nav-menu.component.ts +0 -34
- package/templates/angular/ig-ts/projects/empty/files/src/assets/Ignite-header-apps-960.png +0 -0
- package/templates/angular/ig-ts/projects/empty/files/src/assets/css/variables.scss +0 -7
- package/templates/angular/ig-ts/projects/empty/files/src/assets/lines-bottom-right.svg +0 -56
- package/templates/angular/ig-ts/projects/empty/files/src/environments/environment.prod.ts +0 -3
- package/templates/angular/ig-ts/projects/empty/files/src/environments/environment.ts +0 -16
- package/templates/angular/ig-ts/projects/empty/files/src/favicon.ico +0 -0
- package/templates/angular/ig-ts/projects/empty/files/src/index.html +0 -14
- package/templates/angular/ig-ts/projects/empty/files/src/main.ts +0 -11
- package/templates/angular/ig-ts/projects/empty/files/src/polyfills.ts +0 -53
- package/templates/angular/ig-ts/projects/empty/files/src/styles.css +0 -23
- package/templates/angular/ig-ts/projects/empty/files/src/test.ts +0 -23
- package/templates/angular/ig-ts/projects/empty/files/tsconfig.app.json +0 -15
- package/templates/angular/ig-ts/projects/empty/files/tsconfig.json +0 -34
- package/templates/angular/ig-ts/projects/empty/files/tsconfig.spec.json +0 -18
- package/templates/angular/ig-ts/projects/empty/index.d.ts +0 -1
- package/templates/angular/ig-ts/projects/empty/index.js +0 -126
- package/templates/angular/ig-ts/radial-chart/default/files/src/app/assets/temperature.ts +0 -16
- package/templates/angular/ig-ts/radial-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -64
- package/templates/angular/ig-ts/radial-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/radial-chart/default/index.d.ts +0 -1
- package/templates/angular/ig-ts/radial-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/radial-chart/index.d.ts +0 -1
- package/templates/angular/ig-ts/radial-chart/index.js +0 -15
- package/templates/angular/ig-ts/tree-grid/index.d.ts +0 -1
- package/templates/angular/ig-ts/tree-grid/index.js +0 -12
- package/templates/angular/ig-ts/tree-grid/tree-grid/files/src/app/assets/data-basic.ts +0 -28
- package/templates/angular/ig-ts/tree-grid/tree-grid/files/src/app/components/__path__/__filePrefix__.component.ts +0 -37
- package/templates/angular/ig-ts/tree-grid/tree-grid/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/tree-grid/tree-grid/index.d.ts +0 -1
- package/templates/angular/ig-ts/tree-grid/tree-grid/index.js +0 -42
- package/templates/angular/ig-ts/tree-grid/tree-grid-custom/files/src/app/assets/data-custom.ts +0 -28
- package/templates/angular/ig-ts/tree-grid/tree-grid-custom/files/src/app/components/__path__/__filePrefix__.component.ts +0 -38
- package/templates/angular/ig-ts/tree-grid/tree-grid-custom/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/tree-grid/tree-grid-custom/index.d.ts +0 -1
- package/templates/angular/ig-ts/tree-grid/tree-grid-custom/index.js +0 -42
- package/templates/angular/ig-ts/tree-grid/tree-grid-editing/files/src/app/assets/data-editing.ts +0 -28
- package/templates/angular/ig-ts/tree-grid/tree-grid-editing/files/src/app/components/__path__/__filePrefix__.component.ts +0 -38
- package/templates/angular/ig-ts/tree-grid/tree-grid-editing/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/tree-grid/tree-grid-editing/index.d.ts +0 -1
- package/templates/angular/ig-ts/tree-grid/tree-grid-editing/index.js +0 -61
- package/templates/angular/ig-ts/tree-grid/tree-grid-export/files/src/app/assets/data-flat.ts +0 -33
- package/templates/angular/ig-ts/tree-grid/tree-grid-export/files/src/app/assets/data-hierarchical.ts +0 -28
- package/templates/angular/ig-ts/tree-grid/tree-grid-export/files/src/app/components/__path__/__filePrefix__.component.ts +0 -91
- package/templates/angular/ig-ts/tree-grid/tree-grid-export/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/tree-grid/tree-grid-export/index.d.ts +0 -1
- package/templates/angular/ig-ts/tree-grid/tree-grid-export/index.js +0 -43
- package/templates/react/es6/bar-chart/default/files/src/components/__path__/index.js +0 -89
- package/templates/react/es6/bar-chart/default/files/src/data/world-energy-production.js +0 -55
- package/templates/react/es6/bar-chart/default/index.d.ts +0 -1
- package/templates/react/es6/bar-chart/default/index.js +0 -21
- package/templates/react/es6/bar-chart/index.d.ts +0 -1
- package/templates/react/es6/bar-chart/index.js +0 -15
- package/templates/react/es6/column-chart/default/files/src/components/__path__/index.js +0 -88
- package/templates/react/es6/column-chart/default/files/src/data/world-energy-production.js +0 -55
- package/templates/react/es6/column-chart/default/index.d.ts +0 -1
- package/templates/react/es6/column-chart/default/index.js +0 -21
- package/templates/react/es6/column-chart/index.d.ts +0 -1
- package/templates/react/es6/column-chart/index.js +0 -15
- package/templates/react/es6/combo/combo/files/src/components/__path__/index.js +0 -45
- package/templates/react/es6/combo/combo/index.d.ts +0 -1
- package/templates/react/es6/combo/combo/index.js +0 -21
- package/templates/react/es6/combo/index.d.ts +0 -1
- package/templates/react/es6/combo/index.js +0 -15
- package/templates/react/es6/doughnut-chart/doughnut-chart/files/src/components/__path__/index.js +0 -44
- package/templates/react/es6/doughnut-chart/doughnut-chart/index.d.ts +0 -1
- package/templates/react/es6/doughnut-chart/doughnut-chart/index.js +0 -21
- package/templates/react/es6/doughnut-chart/index.d.ts +0 -1
- package/templates/react/es6/doughnut-chart/index.js +0 -16
- package/templates/react/es6/editors/editors/files/src/components/__path__/index.js +0 -17
- package/templates/react/es6/editors/index.d.ts +0 -1
- package/templates/react/es6/editors/index.js +0 -58
- package/templates/react/es6/financial-chart/financial-chart/files/src/components/__path__/index.js +0 -154
- package/templates/react/es6/financial-chart/financial-chart/files/src/data/financial-data.js +0 -118
- package/templates/react/es6/financial-chart/financial-chart/index.d.ts +0 -1
- package/templates/react/es6/financial-chart/financial-chart/index.js +0 -21
- package/templates/react/es6/financial-chart/index.d.ts +0 -1
- package/templates/react/es6/financial-chart/index.js +0 -15
- package/templates/react/es6/funnel-chart/funnel-chart/files/src/components/__path__/index.js +0 -41
- package/templates/react/es6/funnel-chart/funnel-chart/index.d.ts +0 -1
- package/templates/react/es6/funnel-chart/funnel-chart/index.js +0 -21
- package/templates/react/es6/funnel-chart/index.d.ts +0 -1
- package/templates/react/es6/funnel-chart/index.js +0 -15
- package/templates/react/es6/generate/files/src/components/__path__/index.js +0 -10
- package/templates/react/es6/grid/basic/files/src/components/__path__/index.js +0 -39
- package/templates/react/es6/grid/basic/index.d.ts +0 -1
- package/templates/react/es6/grid/basic/index.js +0 -40
- package/templates/react/es6/grid/grid-custom/files/src/components/__path__/index.js +0 -40
- package/templates/react/es6/grid/grid-custom/index.d.ts +0 -1
- package/templates/react/es6/grid/grid-custom/index.js +0 -43
- package/templates/react/es6/grid/grid-editing/files/src/components/__path__/index.js +0 -47
- package/templates/react/es6/grid/grid-editing/index.d.ts +0 -1
- package/templates/react/es6/grid/grid-editing/index.js +0 -41
- package/templates/react/es6/grid/grid-export/files/src/components/__path__/index.js +0 -124
- package/templates/react/es6/grid/grid-export/files/src/components/__path__/styles.css +0 -13
- package/templates/react/es6/grid/grid-export/index.d.ts +0 -1
- package/templates/react/es6/grid/grid-export/index.js +0 -41
- package/templates/react/es6/grid/grid-templating/files/src/components/__path__/index.js +0 -38
- package/templates/react/es6/grid/grid-templating/files/src/components/__path__/northwind.js +0 -605
- package/templates/react/es6/grid/grid-templating/index.d.ts +0 -1
- package/templates/react/es6/grid/grid-templating/index.js +0 -40
- package/templates/react/es6/grid/index.d.ts +0 -1
- package/templates/react/es6/grid/index.js +0 -15
- package/templates/react/es6/hierarchical-grid/hierarchical-grid/files/src/components/__path__/index.js +0 -79
- package/templates/react/es6/hierarchical-grid/hierarchical-grid/files/src/components/__path__/northwind.js +0 -12626
- package/templates/react/es6/hierarchical-grid/hierarchical-grid/index.d.ts +0 -1
- package/templates/react/es6/hierarchical-grid/hierarchical-grid/index.js +0 -41
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/files/src/components/__path__/index.js +0 -82
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/files/src/components/__path__/northwind.js +0 -12626
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/index.d.ts +0 -1
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/index.js +0 -44
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/files/src/components/__path__/index.js +0 -81
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/files/src/components/__path__/northwind.js +0 -12626
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/index.d.ts +0 -1
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/index.js +0 -42
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/files/src/components/__path__/index.js +0 -112
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/files/src/components/__path__/northwind.js +0 -12626
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/files/src/components/__path__/styles.css +0 -13
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/index.d.ts +0 -1
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/index.js +0 -42
- package/templates/react/es6/hierarchical-grid/index.d.ts +0 -1
- package/templates/react/es6/hierarchical-grid/index.js +0 -15
- package/templates/react/es6/index.d.ts +0 -1
- package/templates/react/es6/index.js +0 -20
- package/templates/react/es6/line-chart/default/files/src/components/__path__/index.js +0 -76
- package/templates/react/es6/line-chart/default/index.d.ts +0 -1
- package/templates/react/es6/line-chart/default/index.js +0 -21
- package/templates/react/es6/line-chart/index.d.ts +0 -1
- package/templates/react/es6/line-chart/index.js +0 -15
- package/templates/react/es6/pie-chart/index.d.ts +0 -1
- package/templates/react/es6/pie-chart/index.js +0 -15
- package/templates/react/es6/pie-chart/pie-chart/files/src/components/__path__/index.js +0 -38
- package/templates/react/es6/pie-chart/pie-chart/index.d.ts +0 -1
- package/templates/react/es6/pie-chart/pie-chart/index.js +0 -21
- package/templates/react/es6/projects/empty/files/README.md +0 -36
- package/templates/react/es6/projects/empty/files/__dot__editorconfig +0 -3
- package/templates/react/es6/projects/empty/files/__dot__env +0 -1
- package/templates/react/es6/projects/empty/files/__dot__eslintrc.json +0 -6
- package/templates/react/es6/projects/empty/files/__dot__gitignore +0 -23
- package/templates/react/es6/projects/empty/files/ignite-ui-cli.json +0 -21
- package/templates/react/es6/projects/empty/files/package.json +0 -36
- package/templates/react/es6/projects/empty/files/public/favicon.ico +0 -0
- package/templates/react/es6/projects/empty/files/public/index.html +0 -42
- package/templates/react/es6/projects/empty/files/public/manifest.json +0 -15
- package/templates/react/es6/projects/empty/files/public/robots.txt +0 -3
- package/templates/react/es6/projects/empty/files/src/App.css +0 -52
- package/templates/react/es6/projects/empty/files/src/App.js +0 -39
- package/templates/react/es6/projects/empty/files/src/components/home/index.js +0 -25
- package/templates/react/es6/projects/empty/files/src/components/navigation-header/index.js +0 -47
- package/templates/react/es6/projects/empty/files/src/hoc/asyncComponent.js +0 -50
- package/templates/react/es6/projects/empty/files/src/igniteuiResources.js +0 -7
- package/templates/react/es6/projects/empty/files/src/index.css +0 -13
- package/templates/react/es6/projects/empty/files/src/index.js +0 -23
- package/templates/react/es6/projects/empty/files/src/reportWebVitals.js +0 -13
- package/templates/react/es6/projects/empty/files/src/routes.json +0 -7
- package/templates/react/es6/projects/empty/index.d.ts +0 -1
- package/templates/react/es6/projects/empty/index.js +0 -78
- package/templates/react/es6/radial-chart/index.d.ts +0 -1
- package/templates/react/es6/radial-chart/index.js +0 -15
- package/templates/react/es6/radial-chart/radial-chart/files/src/components/__path__/index.js +0 -68
- package/templates/react/es6/radial-chart/radial-chart/files/src/data/temperature.js +0 -16
- package/templates/react/es6/radial-chart/radial-chart/index.d.ts +0 -1
- package/templates/react/es6/radial-chart/radial-chart/index.js +0 -21
- package/templates/react/es6/scatter-chart/index.d.ts +0 -1
- package/templates/react/es6/scatter-chart/index.js +0 -16
- package/templates/react/es6/scatter-chart/scatter-chart/files/src/components/__path__/index.js +0 -59
- package/templates/react/es6/scatter-chart/scatter-chart/files/src/data/temperature.js +0 -58
- package/templates/react/es6/scatter-chart/scatter-chart/index.d.ts +0 -1
- package/templates/react/es6/scatter-chart/scatter-chart/index.js +0 -21
- package/templates/react/es6/tree-grid/index.d.ts +0 -1
- package/templates/react/es6/tree-grid/index.js +0 -15
- package/templates/react/es6/tree-grid/tree-grid/files/src/components/__path__/index.js +0 -61
- package/templates/react/es6/tree-grid/tree-grid/index.d.ts +0 -1
- package/templates/react/es6/tree-grid/tree-grid/index.js +0 -41
- package/templates/react/es6/tree-grid/tree-grid-custom/files/src/components/__path__/index.js +0 -62
- package/templates/react/es6/tree-grid/tree-grid-custom/index.d.ts +0 -1
- package/templates/react/es6/tree-grid/tree-grid-custom/index.js +0 -41
- package/templates/react/es6/tree-grid/tree-grid-editing/files/src/components/__path__/index.js +0 -62
- package/templates/react/es6/tree-grid/tree-grid-editing/index.d.ts +0 -1
- package/templates/react/es6/tree-grid/tree-grid-editing/index.js +0 -42
- package/templates/react/es6/tree-grid/tree-grid-export/files/src/components/__path__/index.js +0 -161
- package/templates/react/es6/tree-grid/tree-grid-export/index.d.ts +0 -1
- package/templates/react/es6/tree-grid/tree-grid-export/index.js +0 -42
- package/templates/react/igr-es6/bullet-graph/default/files/src/views/__path__/index.js +0 -62
- package/templates/react/igr-es6/bullet-graph/default/files/src/views/__path__/style.css +0 -12
- package/templates/react/igr-es6/bullet-graph/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/bullet-graph/default/index.d.ts +0 -1
- package/templates/react/igr-es6/bullet-graph/default/index.js +0 -17
- package/templates/react/igr-es6/bullet-graph/index.d.ts +0 -1
- package/templates/react/igr-es6/bullet-graph/index.js +0 -15
- package/templates/react/igr-es6/category-chart/default/files/src/views/__path__/index.js +0 -45
- package/templates/react/igr-es6/category-chart/default/files/src/views/__path__/style.css +0 -9
- package/templates/react/igr-es6/category-chart/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/category-chart/default/index.d.ts +0 -1
- package/templates/react/igr-es6/category-chart/default/index.js +0 -18
- package/templates/react/igr-es6/category-chart/index.d.ts +0 -1
- package/templates/react/igr-es6/category-chart/index.js +0 -16
- package/templates/react/igr-es6/doughnut-chart/default/files/src/views/__path__/index.js +0 -85
- package/templates/react/igr-es6/doughnut-chart/default/files/src/views/__path__/style.css +0 -9
- package/templates/react/igr-es6/doughnut-chart/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/doughnut-chart/default/index.d.ts +0 -1
- package/templates/react/igr-es6/doughnut-chart/default/index.js +0 -17
- package/templates/react/igr-es6/doughnut-chart/index.d.ts +0 -1
- package/templates/react/igr-es6/doughnut-chart/index.js +0 -15
- package/templates/react/igr-es6/financial-chart/default/files/src/views/__path__/index.js +0 -55
- package/templates/react/igr-es6/financial-chart/default/files/src/views/__path__/style.css +0 -10
- package/templates/react/igr-es6/financial-chart/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/financial-chart/default/index.d.ts +0 -1
- package/templates/react/igr-es6/financial-chart/default/index.js +0 -19
- package/templates/react/igr-es6/financial-chart/index.d.ts +0 -1
- package/templates/react/igr-es6/financial-chart/index.js +0 -16
- package/templates/react/igr-es6/grid/basic/files/src/views/__path__/data.js +0 -46
- package/templates/react/igr-es6/grid/basic/files/src/views/__path__/index.js +0 -46
- package/templates/react/igr-es6/grid/basic/files/src/views/__path__/style.css +0 -17
- package/templates/react/igr-es6/grid/basic/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/grid/basic/index.d.ts +0 -1
- package/templates/react/igr-es6/grid/basic/index.js +0 -23
- package/templates/react/igr-es6/grid/index.d.ts +0 -1
- package/templates/react/igr-es6/grid/index.js +0 -15
- package/templates/react/igr-es6/groups.json +0 -5
- package/templates/react/igr-es6/index.d.ts +0 -1
- package/templates/react/igr-es6/index.js +0 -17
- package/templates/react/igr-es6/linear-gauge/default/files/src/views/__path__/index.js +0 -62
- package/templates/react/igr-es6/linear-gauge/default/files/src/views/__path__/style.css +0 -12
- package/templates/react/igr-es6/linear-gauge/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/linear-gauge/default/index.d.ts +0 -1
- package/templates/react/igr-es6/linear-gauge/default/index.js +0 -17
- package/templates/react/igr-es6/linear-gauge/index.d.ts +0 -1
- package/templates/react/igr-es6/linear-gauge/index.js +0 -15
- package/templates/react/igr-es6/pie-chart/default/files/src/views/__path__/index.js +0 -83
- package/templates/react/igr-es6/pie-chart/default/files/src/views/__path__/style.css +0 -9
- package/templates/react/igr-es6/pie-chart/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/pie-chart/default/index.d.ts +0 -1
- package/templates/react/igr-es6/pie-chart/default/index.js +0 -17
- package/templates/react/igr-es6/pie-chart/index.d.ts +0 -1
- package/templates/react/igr-es6/pie-chart/index.js +0 -15
- package/templates/react/igr-es6/projects/_base/__dot__eslintrc.json +0 -3
- package/templates/react/igr-es6/projects/_base/files/README.md +0 -48
- package/templates/react/igr-es6/projects/_base/files/__dot__editorconfig +0 -3
- package/templates/react/igr-es6/projects/_base/files/__dot__env +0 -1
- package/templates/react/igr-es6/projects/_base/files/__dot__gitignore +0 -23
- package/templates/react/igr-es6/projects/_base/files/ignite-ui-cli.json +0 -16
- package/templates/react/igr-es6/projects/_base/files/package.json +0 -30
- package/templates/react/igr-es6/projects/_base/files/public/favicon.ico +0 -0
- package/templates/react/igr-es6/projects/_base/files/public/index.html +0 -41
- package/templates/react/igr-es6/projects/_base/files/public/manifest.json +0 -15
- package/templates/react/igr-es6/projects/_base/files/src/App.test.js +0 -9
- package/templates/react/igr-es6/projects/_base/files/src/hoc/asyncComponent.js +0 -50
- package/templates/react/igr-es6/projects/_base/files/src/index.css +0 -14
- package/templates/react/igr-es6/projects/_base/files/src/index.js +0 -19
- package/templates/react/igr-es6/projects/_base/files/src/routes.json +0 -7
- package/templates/react/igr-es6/projects/_base/files/src/serviceWorker.js +0 -135
- package/templates/react/igr-es6/projects/_base/files/src/views/home/index.js +0 -27
- package/templates/react/igr-es6/projects/_base/files/src/views/home/logo.svg +0 -7
- package/templates/react/igr-es6/projects/_base/files/src/views/home/style.css +0 -28
- package/templates/react/igr-es6/projects/_base/index.d.ts +0 -29
- package/templates/react/igr-es6/projects/_base/index.js +0 -81
- package/templates/react/igr-es6/projects/top-nav/files/src/App.css +0 -59
- package/templates/react/igr-es6/projects/top-nav/files/src/App.js +0 -36
- package/templates/react/igr-es6/projects/top-nav/files/src/components/navigation-header/index.js +0 -37
- package/templates/react/igr-es6/projects/top-nav/files/src/setupTests.js +0 -4
- package/templates/react/igr-es6/projects/top-nav/index.d.ts +0 -14
- package/templates/react/igr-es6/projects/top-nav/index.js +0 -45
- package/templates/react/igr-es6/radial-gauge/default/files/src/views/__path__/index.js +0 -66
- package/templates/react/igr-es6/radial-gauge/default/files/src/views/__path__/style.css +0 -12
- package/templates/react/igr-es6/radial-gauge/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/radial-gauge/default/index.d.ts +0 -1
- package/templates/react/igr-es6/radial-gauge/default/index.js +0 -18
- package/templates/react/igr-es6/radial-gauge/index.d.ts +0 -1
- package/templates/react/igr-es6/radial-gauge/index.js +0 -16
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Component } from "@angular/core";
|
|
2
|
-
import { doughnutData } from "../../assets/doughnut-data";
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: "$(filePrefix)",
|
|
6
|
-
template: `
|
|
7
|
-
<h1>$(description)</h1>
|
|
8
|
-
<div style="float: left">
|
|
9
|
-
<ig-doughnut-chart [options]="doughnutOptions" widgetId="doughnutChart"></ig-doughnut-chart>
|
|
10
|
-
</div>
|
|
11
|
-
`
|
|
12
|
-
})
|
|
13
|
-
export class $(ClassName)Component {
|
|
14
|
-
public doughnutOptions: IgDoughnutChart;
|
|
15
|
-
public data: any;
|
|
16
|
-
|
|
17
|
-
constructor() {
|
|
18
|
-
this.data = doughnutData;
|
|
19
|
-
this.doughnutOptions = {
|
|
20
|
-
width: "550px",
|
|
21
|
-
height: "550px",
|
|
22
|
-
series:
|
|
23
|
-
[{
|
|
24
|
-
dataSource: this.data,
|
|
25
|
-
responseDataKey: "data",
|
|
26
|
-
name: "Pop1990",
|
|
27
|
-
labelMemberPath: "CountryName",
|
|
28
|
-
valueMemberPath: "Pop1990",
|
|
29
|
-
labelsPosition: "bestFit",
|
|
30
|
-
formatLabel: function (context: any) {
|
|
31
|
-
return context.itemLabel + " (" + context.item.Pop1990 + ")";
|
|
32
|
-
},
|
|
33
|
-
showTooltip: true,
|
|
34
|
-
brushes: ["#B284BE", "#5D8AA8", "#C9FFE5", "#7CB9E8", "#F19CBB"]
|
|
35
|
-
}]
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { $(ClassName)Component } from './$(filePrefix).component';
|
|
4
|
-
import { IgniteUIModule } from 'igniteui-angular-wrappers';
|
|
5
|
-
|
|
6
|
-
declare var $: any;
|
|
7
|
-
|
|
8
|
-
describe('$(ClassName)Component', () => {
|
|
9
|
-
let component: $(ClassName)Component;
|
|
10
|
-
let fixture: ComponentFixture<$(ClassName)Component>;
|
|
11
|
-
|
|
12
|
-
beforeEach(waitForAsync(() => {
|
|
13
|
-
TestBed.configureTestingModule({
|
|
14
|
-
declarations: [$(ClassName)Component],
|
|
15
|
-
imports: [IgniteUIModule]
|
|
16
|
-
})
|
|
17
|
-
.compileComponents();
|
|
18
|
-
}));
|
|
19
|
-
|
|
20
|
-
beforeEach(() => {
|
|
21
|
-
fixture = TestBed.createComponent($(ClassName)Component);
|
|
22
|
-
component = fixture.componentInstance;
|
|
23
|
-
fixture.detectChanges();
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
it('should create', () => {
|
|
27
|
-
expect(component).toBeTruthy();
|
|
28
|
-
});
|
|
29
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const AngularTemplate_1 = require("../../../../../lib/templates/AngularTemplate");
|
|
4
|
-
class DoughnutChartTemplate extends AngularTemplate_1.AngularTemplate {
|
|
5
|
-
constructor() {
|
|
6
|
-
super(__dirname);
|
|
7
|
-
this.components = ["Doughnut Chart"];
|
|
8
|
-
this.controlGroup = "Charts";
|
|
9
|
-
this.listInComponentTemplates = true;
|
|
10
|
-
this.id = "doughnut-chart";
|
|
11
|
-
this.projectType = "ig-ts";
|
|
12
|
-
this.name = "Doughnut Chart";
|
|
13
|
-
this.description = "igDoughnutChart template";
|
|
14
|
-
this.dependencies = ["igDoughnutChart"];
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
module.exports = new DoughnutChartTemplate();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const cli_core_1 = require("@igniteui/cli-core");
|
|
4
|
-
class DoughnutChartComponent extends cli_core_1.BaseComponent {
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
constructor() {
|
|
9
|
-
super(__dirname);
|
|
10
|
-
this.name = "Doughnut Chart";
|
|
11
|
-
this.group = "Charts";
|
|
12
|
-
this.description = `igDoughnutChart control allows for proportionally illustrating the
|
|
13
|
-
occurrences of a variable.`;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
module.exports = new DoughnutChartComponent();
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: "$(filePrefix)",
|
|
5
|
-
template: `
|
|
6
|
-
<h1>$(description)</h1>
|
|
7
|
-
<$(widget) [options]="options" widgetId="$(widget)"></$(widget)>
|
|
8
|
-
`
|
|
9
|
-
})
|
|
10
|
-
export class $(ClassName)Component {
|
|
11
|
-
public options: Ig$(nameMerged);
|
|
12
|
-
|
|
13
|
-
constructor() {
|
|
14
|
-
this.options = {
|
|
15
|
-
width: "250px"
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { $(ClassName)Component } from './$(filePrefix).component';
|
|
4
|
-
import { IgniteUIModule } from 'igniteui-angular-wrappers';
|
|
5
|
-
|
|
6
|
-
declare var $: any;
|
|
7
|
-
|
|
8
|
-
describe('$(ClassName)Component', () => {
|
|
9
|
-
let component: $(ClassName)Component;
|
|
10
|
-
let fixture: ComponentFixture<$(ClassName)Component>;
|
|
11
|
-
|
|
12
|
-
beforeEach(waitForAsync(() => {
|
|
13
|
-
TestBed.configureTestingModule({
|
|
14
|
-
declarations: [$(ClassName)Component],
|
|
15
|
-
imports: [IgniteUIModule]
|
|
16
|
-
})
|
|
17
|
-
.compileComponents();
|
|
18
|
-
}));
|
|
19
|
-
|
|
20
|
-
beforeEach(() => {
|
|
21
|
-
fixture = TestBed.createComponent($(ClassName)Component);
|
|
22
|
-
component = fixture.componentInstance;
|
|
23
|
-
fixture.detectChanges();
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
it('should create', () => {
|
|
27
|
-
expect(component).toBeTruthy();
|
|
28
|
-
});
|
|
29
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
const path = __importStar(require("path"));
|
|
27
|
-
const MultiTemplateComponent_1 = require("../../../../lib/MultiTemplateComponent");
|
|
28
|
-
const AngularTemplate_1 = require("../../../../lib/templates/AngularTemplate");
|
|
29
|
-
const templates = new Map([
|
|
30
|
-
["text-editor", { name: "Text Editor", widget: "ig-text-editor" }],
|
|
31
|
-
["numeric-editor", { name: "Numeric Editor", widget: "ig-numeric-editor" }],
|
|
32
|
-
["currency-editor", { name: "Currency Editor", widget: "ig-currency-editor" }],
|
|
33
|
-
["mask-editor", { name: "Mask Editor", widget: "ig-mask-editor" }],
|
|
34
|
-
["date-picker", { name: "Date Picker", widget: "ig-date-picker" }]
|
|
35
|
-
]);
|
|
36
|
-
class EditorsComponent extends MultiTemplateComponent_1.MultiTemplateComponent {
|
|
37
|
-
constructor() {
|
|
38
|
-
super(EditorsAngularComponent, templates);
|
|
39
|
-
this.name = "Editors";
|
|
40
|
-
this.group = "Data Entry";
|
|
41
|
-
this.description = "pick from: igTextEditor, igNumericEditor, igCurrencyEditor, igMaskEditor, igDatePicker.";
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
class EditorsAngularComponent extends AngularTemplate_1.AngularTemplate {
|
|
45
|
-
constructor() {
|
|
46
|
-
super(path.join(__dirname, "default"));
|
|
47
|
-
this.projectType = "ig-ts";
|
|
48
|
-
this.components = ["Editors"];
|
|
49
|
-
this.controlGroup = "Editors";
|
|
50
|
-
this.dependencies = ["igEditors"];
|
|
51
|
-
this.hasExtraConfiguration = false;
|
|
52
|
-
}
|
|
53
|
-
generateConfig(name, ...options) {
|
|
54
|
-
this.widget = this.mapItem.widget;
|
|
55
|
-
return super.generateConfig(name, options);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
module.exports = new EditorsComponent();
|
package/templates/angular/ig-ts/financial-chart/default/files/src/app/assets/financial-data.ts
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
const financialData = {
|
|
2
|
-
randomOldData : [{ "Index": 0, "Open": 1000, "High": 1026, "Low": 977, "Close": 1014, "Volume": 1995.25, "Date": "\/Date(1262383200000)\/", "DateString": "1/2/2010", "Category": null, "Change": 14, "ChangePerCent": 1.4000000000000001 }, { "Index": 1, "Open": 1014, "High": 1033.5, "Low": 984.75, "Close": 989, "Volume": 2003, "Date": "\/Date(1262469600000)\/", "DateString": "1/3/2010", "Category": null, "Change": -25, "ChangePerCent": -2.4654832347140041 }, { "Index": 2, "Open": 989, "High": 1004, "Low": 960.5, "Close": 1000, "Volume": 1993, "Date": "\/Date(1262556000000)\/", "DateString": "1/4/2010", "Category": null, "Change": 11, "ChangePerCent": 1.1122345803842264 }, { "Index": 3, "Open": 1000, "High": 1020.25, "Low": 980.75, "Close": 995, "Volume": 1982.25, "Date": "\/Date(1262642400000)\/", "DateString": "1/5/2010", "Category": null, "Change": -5, "ChangePerCent": -0.5 }, { "Index": 4, "Open": 995, "High": 1030.5, "Low": 964, "Close": 1015, "Volume": 1971, "Date": "\/Date(1262728800000)\/", "DateString": "1/6/2010", "Category": null, "Change": 20, "ChangePerCent": 2.0100502512562812 }, { "Index": 5, "Open": 1015, "High": 1026.5, "Low": 998.75, "Close": 1009, "Volume": 1982.5, "Date": "\/Date(1262815200000)\/", "DateString": "1/7/2010", "Category": null, "Change": -6, "ChangePerCent": -0.59113300492610843 }, { "Index": 6, "Open": 1009, "High": 1039, "Low": 984.5, "Close": 1033, "Volume": 1969.25, "Date": "\/Date(1262901600000)\/", "DateString": "1/8/2010", "Category": null, "Change": 24, "ChangePerCent": 2.3785926660059467 }, { "Index": 7, "Open": 1033, "High": 1064.25, "Low": 1005.75, "Close": 1035, "Volume": 1966.25, "Date": "\/Date(1262988000000)\/", "DateString": "1/9/2010", "Category": null, "Change": 2, "ChangePerCent": 0.1936108422071636 }, { "Index": 8, "Open": 1035, "High": 1059.25, "Low": 1021.5, "Close": 1026, "Volume": 1951, "Date": "\/Date(1263074400000)\/", "DateString": "1/10/2010", "Category": null, "Change": -9, "ChangePerCent": -0.86956521739130432 }, { "Index": 9, "Open": 1026, "High": 1047, "Low": 1001, "Close": 1017, "Volume": 1941.25, "Date": "\/Date(1263160800000)\/", "DateString": "1/11/2010", "Category": null, "Change": -9, "ChangePerCent": -0.8771929824561403 }, { "Index": 10, "Open": 1017, "High": 1044, "Low": 982.75, "Close": 1012, "Volume": 1932.25, "Date": "\/Date(1263247200000)\/", "DateString": "1/12/2010", "Category": null, "Change": -5, "ChangePerCent": -0.49164208456243852 }, { "Index": 11, "Open": 1012, "High": 1019.75, "Low": 989.75, "Close": 993, "Volume": 1909.75, "Date": "\/Date(1263333600000)\/", "DateString": "1/13/2010", "Category": null, "Change": -19, "ChangePerCent": -1.8774703557312251 }, { "Index": 12, "Open": 993, "High": 1021.25, "Low": 966.25, "Close": 1019, "Volume": 1908.5, "Date": "\/Date(1263420000000)\/", "DateString": "1/14/2010", "Category": null, "Change": 26, "ChangePerCent": 2.6183282980866065 }, { "Index": 13, "Open": 1019, "High": 1034, "Low": 1002, "Close": 1024, "Volume": 1893.25, "Date": "\/Date(1263506400000)\/", "DateString": "1/15/2010", "Category": null, "Change": 5, "ChangePerCent": 0.49067713444553485 }, { "Index": 14, "Open": 1024, "High": 1047.75, "Low": 1001.5, "Close": 1029, "Volume": 1893.5, "Date": "\/Date(1263592800000)\/", "DateString": "1/16/2010", "Category": null, "Change": 5, "ChangePerCent": 0.48828125 }, { "Index": 15, "Open": 1029, "High": 1050.75, "Low": 1012.5, "Close": 1035, "Volume": 1920, "Date": "\/Date(1263679200000)\/", "DateString": "1/17/2010", "Category": null, "Change": 6, "ChangePerCent": 0.58309037900874638 }, { "Index": 16, "Open": 1035, "High": 1065.75, "Low": 1011, "Close": 1019, "Volume": 1896.5, "Date": "\/Date(1263765600000)\/", "DateString": "1/18/2010", "Category": null, "Change": -16, "ChangePerCent": -1.5458937198067633 }, { "Index": 17, "Open": 1019, "High": 1055.75, "Low": 993.25, "Close": 1041, "Volume": 1916.25, "Date": "\/Date(1263852000000)\/", "DateString": "1/19/2010", "Category": null, "Change": 22, "ChangePerCent": 2.1589793915603535 }, { "Index": 18, "Open": 1041, "High": 1058.75, "Low": 1017.75, "Close": 1043, "Volume": 1919.25, "Date": "\/Date(1263938400000)\/", "DateString": "1/20/2010", "Category": null, "Change": 2, "ChangePerCent": 0.19212295869356388 }, { "Index": 19, "Open": 1043, "High": 1060.25, "Low": 998.75, "Close": 1045, "Volume": 1902.75, "Date": "\/Date(1264024800000)\/", "DateString": "1/21/2010", "Category": null, "Change": 2, "ChangePerCent": 0.19175455417066153 }, { "Index": 20, "Open": 1045, "High": 1080.75, "Low": 1026.5, "Close": 1029, "Volume": 1892.75, "Date": "\/Date(1264111200000)\/", "DateString": "1/22/2010", "Category": null, "Change": -16, "ChangePerCent": -1.5311004784688995 }, { "Index": 21, "Open": 1029, "High": 1051.25, "Low": 1009.25, "Close": 1051, "Volume": 1878.75, "Date": "\/Date(1264197600000)\/", "DateString": "1/23/2010", "Category": null, "Change": 22, "ChangePerCent": 2.1379980563654035 }, { "Index": 22, "Open": 1051, "High": 1076.5, "Low": 1018.25, "Close": 1064, "Volume": 1883.25, "Date": "\/Date(1264284000000)\/", "DateString": "1/24/2010", "Category": null, "Change": 13, "ChangePerCent": 1.2369172216936251 }, { "Index": 23, "Open": 1064, "High": 1074.25, "Low": 1035.5, "Close": 1048, "Volume": 1862.5, "Date": "\/Date(1264370400000)\/", "DateString": "1/25/2010", "Category": null, "Change": -16, "ChangePerCent": -1.5037593984962405 }, { "Index": 24, "Open": 1048, "High": 1081.5, "Low": 1022.5, "Close": 1037, "Volume": 1851.75, "Date": "\/Date(1264456800000)\/", "DateString": "1/26/2010", "Category": null, "Change": -11, "ChangePerCent": -1.0496183206106871 }, { "Index": 25, "Open": 1037, "High": 1042.5, "Low": 1016.75, "Close": 1038, "Volume": 1856, "Date": "\/Date(1264543200000)\/", "DateString": "1/27/2010", "Category": null, "Change": 1, "ChangePerCent": 0.09643201542912247 }, { "Index": 26, "Open": 1038, "High": 1059.25, "Low": 996.75, "Close": 1015, "Volume": 1850.75, "Date": "\/Date(1264629600000)\/", "DateString": "1/28/2010", "Category": null, "Change": -23, "ChangePerCent": -2.2157996146435455 }, { "Index": 27, "Open": 1015, "High": 1032, "Low": 988.5, "Close": 1027, "Volume": 1850, "Date": "\/Date(1264716000000)\/", "DateString": "1/29/2010", "Category": null, "Change": 12, "ChangePerCent": 1.1822660098522169 }, { "Index": 28, "Open": 1027, "High": 1043, "Low": 1002, "Close": 1012, "Volume": 1842.75, "Date": "\/Date(1264802400000)\/", "DateString": "1/30/2010", "Category": null, "Change": -15, "ChangePerCent": -1.4605647517039921 }, { "Index": 29, "Open": 1012, "High": 1048, "Low": 974.5, "Close": 974, "Volume": 1838.25, "Date": "\/Date(1264888800000)\/", "DateString": "1/31/2010", "Category": null, "Change": -38, "ChangePerCent": -3.7549407114624502 }, { "Index": 30, "Open": 974, "High": 995.25, "Low": 962, "Close": 985, "Volume": 1810.25, "Date": "\/Date(1264975200000)\/", "DateString": "2/1/2010", "Category": null, "Change": 11, "ChangePerCent": 1.1293634496919918 }, { "Index": 31, "Open": 985, "High": 1027.5, "Low": 953.25, "Close": 974, "Volume": 1839, "Date": "\/Date(1265061600000)\/", "DateString": "2/2/2010", "Category": null, "Change": -11, "ChangePerCent": -1.116751269035533 }, { "Index": 32, "Open": 974, "High": 1009, "Low": 934, "Close": 998, "Volume": 1822.75, "Date": "\/Date(1265148000000)\/", "DateString": "2/3/2010", "Category": null, "Change": 24, "ChangePerCent": 2.4640657084188913 }, { "Index": 33, "Open": 998, "High": 1003, "Low": 975.75, "Close": 980, "Volume": 1817.5, "Date": "\/Date(1265234400000)\/", "DateString": "2/4/2010", "Category": null, "Change": -18, "ChangePerCent": -1.8036072144288577 }, { "Index": 34, "Open": 980, "High": 1013, "Low": 942.25, "Close": 944, "Volume": 1826, "Date": "\/Date(1265320800000)\/", "DateString": "2/5/2010", "Category": null, "Change": -36, "ChangePerCent": -3.6734693877551026 }, { "Index": 35, "Open": 944, "High": 979.25, "Low": 920.5, "Close": 928, "Volume": 1801.5, "Date": "\/Date(1265407200000)\/", "DateString": "2/6/2010", "Category": null, "Change": -16, "ChangePerCent": -1.6949152542372881 }, { "Index": 36, "Open": 928, "High": 946, "Low": 898, "Close": 912, "Volume": 1835, "Date": "\/Date(1265493600000)\/", "DateString": "2/7/2010", "Category": null, "Change": -16, "ChangePerCent": -1.7241379310344827 }, { "Index": 37, "Open": 912, "High": 919.25, "Low": 887.5, "Close": 906, "Volume": 1831.75, "Date": "\/Date(1265580000000)\/", "DateString": "2/8/2010", "Category": null, "Change": -6, "ChangePerCent": -0.6578947368421052 }, { "Index": 38, "Open": 906, "High": 921.75, "Low": 886.5, "Close": 887, "Volume": 1838.5, "Date": "\/Date(1265666400000)\/", "DateString": "2/9/2010", "Category": null, "Change": -19, "ChangePerCent": -2.0971302428256071 }, { "Index": 39, "Open": 887, "High": 923.5, "Low": 860.75, "Close": 896, "Volume": 1806, "Date": "\/Date(1265752800000)\/", "DateString": "2/10/2010", "Category": null, "Change": 9, "ChangePerCent": 1.0146561443066515 }, { "Index": 40, "Open": 896, "High": 914, "Low": 870, "Close": 875, "Volume": 1817.75, "Date": "\/Date(1265839200000)\/", "DateString": "2/11/2010", "Category": null, "Change": -21, "ChangePerCent": -2.34375 }, { "Index": 41, "Open": 875, "High": 903.5, "Low": 854, "Close": 871, "Volume": 1816, "Date": "\/Date(1265925600000)\/", "DateString": "2/12/2010", "Category": null, "Change": -4, "ChangePerCent": -0.45714285714285718 }, { "Index": 42, "Open": 871, "High": 892.75, "Low": 855.75, "Close": 866, "Volume": 1799.75, "Date": "\/Date(1266012000000)\/", "DateString": "2/13/2010", "Category": null, "Change": -5, "ChangePerCent": -0.57405281285878307 }, { "Index": 43, "Open": 866, "High": 902.25, "Low": 824.75, "Close": 894, "Volume": 1781.5, "Date": "\/Date(1266098400000)\/", "DateString": "2/14/2010", "Category": null, "Change": 28, "ChangePerCent": 3.2332563510392611 }, { "Index": 44, "Open": 894, "High": 919.25, "Low": 870.25, "Close": 870, "Volume": 1795.5, "Date": "\/Date(1266184800000)\/", "DateString": "2/15/2010", "Category": null, "Change": -24, "ChangePerCent": -2.6845637583892619 }, { "Index": 45, "Open": 870, "High": 891.75, "Low": 845.5, "Close": 849, "Volume": 1823.5, "Date": "\/Date(1266271200000)\/", "DateString": "2/16/2010", "Category": null, "Change": -21, "ChangePerCent": -2.4137931034482758 }, { "Index": 46, "Open": 849, "High": 874, "Low": 832.5, "Close": 859, "Volume": 1853.5, "Date": "\/Date(1266357600000)\/", "DateString": "2/17/2010", "Category": null, "Change": 10, "ChangePerCent": 1.1778563015312131 }, { "Index": 47, "Open": 859, "High": 886.75, "Low": 829, "Close": 871, "Volume": 1847.25, "Date": "\/Date(1266444000000)\/", "DateString": "2/18/2010", "Category": null, "Change": 12, "ChangePerCent": 1.3969732246798603 }, { "Index": 48, "Open": 871, "High": 892.25, "Low": 841.25, "Close": 864, "Volume": 1858, "Date": "\/Date(1266530400000)\/", "DateString": "2/19/2010", "Category": null, "Change": -7, "ChangePerCent": -0.80367393800229625 }, { "Index": 49, "Open": 864, "High": 886.75, "Low": 830.25, "Close": 843, "Volume": 1866, "Date": "\/Date(1266616800000)\/", "DateString": "2/20/2010", "Category": null, "Change": -21, "ChangePerCent": -2.4305555555555558 }],
|
|
3
|
-
/*
|
|
4
|
-
ADBE stock data
|
|
5
|
-
*/
|
|
6
|
-
dataAdobe :[
|
|
7
|
-
{"Index":1,"Date":"7/18/2013","Open":48.04,"High":48.52,"Low":48,"Close":48.19,"Volume":2641582},
|
|
8
|
-
{"Index":2,"Date":"7/17/2013","Open":48.17,"High":48.4,"Low":47.78,"Close":48.04,"Volume":3135777},
|
|
9
|
-
{"Index":3,"Date":"7/16/2013","Open":48.05,"High":48.13,"Low":47.36,"Close":47.48,"Volume":2473018},
|
|
10
|
-
{"Index":4,"Date":"7/15/2013","Open":48.25,"High":48.46,"Low":48.1,"Close":48.12,"Volume":2122706},
|
|
11
|
-
{"Index":5,"Date":"7/12/2013","Open":48.35,"High":48.63,"Low":48.08,"Close":48.39,"Volume":4135697},
|
|
12
|
-
{"Index":6,"Date":"7/11/2013","Open":47.62,"High":48,"Low":47.5,"Close":47.99,"Volume":3293492},
|
|
13
|
-
{"Index":7,"Date":"7/10/2013","Open":47.09,"High":47.33,"Low":46.64,"Close":47.25,"Volume":2683537},
|
|
14
|
-
{"Index":8,"Date":"7/9/2013","Open":46.76,"High":47.31,"Low":46.73,"Close":47.26,"Volume":2578815},
|
|
15
|
-
{"Index":9,"Date":"7/8/2013","Open":47.03,"High":47.49,"Low":46.44,"Close":46.62,"Volume":2813076},
|
|
16
|
-
{"Index":10,"Date":"7/5/2013","Open":46.69,"High":47.1,"Low":46.55,"Close":47,"Volume":1614563},
|
|
17
|
-
{"Index":11,"Date":"7/3/2013","Open":45.71,"High":46.82,"Low":45.66,"Close":46.42,"Volume":1601483},
|
|
18
|
-
{"Index":12,"Date":"7/2/2013","Open":46,"High":46.48,"Low":45.72,"Close":46.03,"Volume":3025049},
|
|
19
|
-
{"Index":13,"Date":"7/1/2013","Open":45.23,"High":47.19,"Low":44.88,"Close":46.24,"Volume":6341593},
|
|
20
|
-
{"Index":14,"Date":"6/28/2013","Open":45.99,"High":45.99,"Low":45.39,"Close":45.56,"Volume":4052512},
|
|
21
|
-
{"Index":15,"Date":"6/27/2013","Open":45.9,"High":46.26,"Low":45.59,"Close":45.93,"Volume":2916446},
|
|
22
|
-
{"Index":16,"Date":"6/26/2013","Open":44.95,"High":45.92,"Low":44.9,"Close":45.68,"Volume":5356322},
|
|
23
|
-
{"Index":17,"Date":"6/25/2013","Open":44.04,"High":44.44,"Low":43.46,"Close":44.37,"Volume":3368384},
|
|
24
|
-
{"Index":18,"Date":"6/24/2013","Open":44.34,"High":44.6,"Low":43.37,"Close":43.6,"Volume":4492827},
|
|
25
|
-
{"Index":19,"Date":"6/21/2013","Open":44.92,"High":45,"Low":44.23,"Close":44.77,"Volume":6294691},
|
|
26
|
-
{"Index":20,"Date":"6/20/2013","Open":45.28,"High":45.29,"Low":44.45,"Close":44.9,"Volume":5488904},
|
|
27
|
-
{"Index":21,"Date":"6/19/2013","Open":46.43,"High":46.44,"Low":45.35,"Close":45.78,"Volume":12567168},
|
|
28
|
-
{"Index":22,"Date":"6/18/2013","Open":43.55,"High":44.2,"Low":43.22,"Close":43.36,"Volume":5433868},
|
|
29
|
-
{"Index":23,"Date":"6/17/2013","Open":43.22,"High":43.76,"Low":42.98,"Close":43.39,"Volume":2677070},
|
|
30
|
-
{"Index":24,"Date":"6/14/2013","Open":43.33,"High":43.57,"Low":42.7,"Close":42.84,"Volume":2317391},
|
|
31
|
-
{"Index":25,"Date":"6/13/2013","Open":42.74,"High":43.36,"Low":42.39,"Close":43.3,"Volume":2002339},
|
|
32
|
-
{"Index":26,"Date":"6/12/2013","Open":43.31,"High":43.46,"Low":42.61,"Close":42.72,"Volume":2124415},
|
|
33
|
-
{"Index":27,"Date":"6/11/2013","Open":43.6,"High":43.85,"Low":43.1,"Close":43.12,"Volume":2487069},
|
|
34
|
-
{"Index":28,"Date":"6/10/2013","Open":44.3,"High":44.34,"Low":43.84,"Close":44.09,"Volume":1833873},
|
|
35
|
-
{"Index":29,"Date":"6/7/2013","Open":43.86,"High":44.41,"Low":43.66,"Close":44.12,"Volume":2895226},
|
|
36
|
-
{"Index":30,"Date":"6/6/2013","Open":43.84,"High":44.05,"Low":43.26,"Close":43.57,"Volume":3760841},
|
|
37
|
-
{"Index":31,"Date":"6/5/2013","Open":44.39,"High":44.58,"Low":43.81,"Close":43.84,"Volume":3385503},
|
|
38
|
-
{"Index":32,"Date":"6/4/2013","Open":43.67,"High":44.8,"Low":43.53,"Close":44.39,"Volume":5249370},
|
|
39
|
-
{"Index":33,"Date":"6/3/2013","Open":42.99,"High":43.48,"Low":42.76,"Close":43.46,"Volume":2884752},
|
|
40
|
-
{"Index":34,"Date":"5/31/2013","Open":42.92,"High":43.55,"Low":42.66,"Close":42.91,"Volume":3133128},
|
|
41
|
-
{"Index":35,"Date":"5/30/2013","Open":42.65,"High":43.38,"Low":42.5,"Close":43.19,"Volume":2755447},
|
|
42
|
-
{"Index":36,"Date":"5/29/2013","Open":42.75,"High":42.87,"Low":42.39,"Close":42.6,"Volume":3280897},
|
|
43
|
-
{"Index":37,"Date":"5/28/2013","Open":42.78,"High":43.13,"Low":42.65,"Close":42.91,"Volume":2655897},
|
|
44
|
-
{"Index":38,"Date":"5/24/2013","Open":42.32,"High":42.53,"Low":41.91,"Close":42.43,"Volume":3766131},
|
|
45
|
-
{"Index":39,"Date":"5/23/2013","Open":42.66,"High":43.14,"Low":42.57,"Close":42.77,"Volume":3382686},
|
|
46
|
-
{"Index":40,"Date":"5/22/2013","Open":44.12,"High":44.31,"Low":42.95,"Close":43.17,"Volume":3018821},
|
|
47
|
-
{"Index":41,"Date":"5/21/2013","Open":44.21,"High":44.48,"Low":43.89,"Close":44.02,"Volume":1828187},
|
|
48
|
-
{"Index":42,"Date":"5/20/2013","Open":44.55,"High":44.68,"Low":44.15,"Close":44.29,"Volume":1491068},
|
|
49
|
-
{"Index":43,"Date":"5/17/2013","Open":44.6,"High":44.76,"Low":44.33,"Close":44.61,"Volume":3688124},
|
|
50
|
-
{"Index":44,"Date":"5/16/2013","Open":44.96,"High":45.34,"Low":44.48,"Close":44.56,"Volume":2609084},
|
|
51
|
-
{"Index":45,"Date":"5/15/2013","Open":44.06,"High":45.1,"Low":43.95,"Close":45.07,"Volume":3645934},
|
|
52
|
-
{"Index":46,"Date":"5/14/2013","Open":43.7,"High":44.1,"Low":43.6,"Close":44.04,"Volume":4304923},
|
|
53
|
-
{"Index":47,"Date":"5/13/2013","Open":43.98,"High":44.01,"Low":43.49,"Close":43.61,"Volume":2767935},
|
|
54
|
-
{"Index":48,"Date":"5/10/2013","Open":44.12,"High":44.2,"Low":43.75,"Close":44.02,"Volume":4571120},
|
|
55
|
-
{"Index":49,"Date":"5/9/2013","Open":45.22,"High":45.25,"Low":43.47,"Close":43.97,"Volume":9318927},
|
|
56
|
-
{"Index":50,"Date":"5/8/2013","Open":45.51,"High":45.64,"Low":45.16,"Close":45.32,"Volume":3318807}
|
|
57
|
-
],
|
|
58
|
-
|
|
59
|
-
/*
|
|
60
|
-
MSFT stock data. 1997-2013
|
|
61
|
-
*/
|
|
62
|
-
data :[
|
|
63
|
-
{ "Index": 1, "Date": "7/18/2013", "Open": 35.72, "High": 35.89, "Low": 35.22, "Close": 35.44, "Volume": 49547075 },
|
|
64
|
-
{ "Index": 2, "Date": "7/17/2013", "Open": 36.34, "High": 36.39, "Low": 35.49, "Close": 35.74, "Volume": 37289320 },
|
|
65
|
-
{ "Index": 3, "Date": "7/16/2013", "Open": 36.01, "High": 36.43, "Low": 35.96, "Close": 36.27, "Volume": 36378681 },
|
|
66
|
-
{ "Index": 4, "Date": "7/15/2013", "Open": 35.66, "High": 36.22, "Low": 35.58, "Close": 36.17, "Volume": 34145645 },
|
|
67
|
-
{ "Index": 5, "Date": "7/12/2013", "Open": 35.58, "High": 35.73, "Low": 35.28, "Close": 35.67, "Volume": 35502638 },
|
|
68
|
-
{ "Index": 6, "Date": "7/11/2013", "Open": 35, "High": 35.77, "Low": 34.9, "Close": 35.68, "Volume": 53638234 },
|
|
69
|
-
{ "Index": 7, "Date": "7/10/2013", "Open": 34.34, "High": 34.81, "Low": 34.32, "Close": 34.7, "Volume": 29658734 },
|
|
70
|
-
{ "Index": 8, "Date": "7/9/2013", "Open": 34.58, "High": 34.6, "Low": 34.14, "Close": 34.35, "Volume": 25320908 },
|
|
71
|
-
{ "Index": 9, "Date": "7/8/2013", "Open": 34.35, "High": 34.59, "Low": 33.98, "Close": 34.32, "Volume": 32398742 },
|
|
72
|
-
{ "Index": 10, "Date": "7/5/2013", "Open": 34.09, "High": 34.24, "Low": 33.58, "Close": 34.21, "Volume": 26085981 },
|
|
73
|
-
{ "Index": 11, "Date": "7/3/2013", "Open": 33.66, "High": 34.37, "Low": 33.6, "Close": 34.01, "Volume": 15994380 },
|
|
74
|
-
{ "Index": 12, "Date": "7/2/2013", "Open": 34.41, "High": 34.44, "Low": 33.63, "Close": 33.94, "Volume": 37634572 },
|
|
75
|
-
{ "Index": 13, "Date": "7/1/2013", "Open": 34.75, "High": 34.99, "Low": 34.33, "Close": 34.36, "Volume": 31064000 },
|
|
76
|
-
{ "Index": 14, "Date": "6/28/2013", "Open": 34.38, "High": 34.79, "Low": 34.34, "Close": 34.54, "Volume": 65548196 },
|
|
77
|
-
{ "Index": 15, "Date": "6/27/2013", "Open": 34.52, "High": 34.78, "Low": 34.5, "Close": 34.62, "Volume": 28993542 },
|
|
78
|
-
{ "Index": 16, "Date": "6/26/2013", "Open": 34.12, "High": 34.48, "Low": 33.89, "Close": 34.35, "Volume": 48667834 },
|
|
79
|
-
{ "Index": 17, "Date": "6/25/2013", "Open": 34.08, "High": 34.38, "Low": 33.46, "Close": 33.67, "Volume": 44073348 },
|
|
80
|
-
{ "Index": 18, "Date": "6/24/2013", "Open": 32.94, "High": 34.2, "Low": 32.57, "Close": 33.72, "Volume": 56113708 },
|
|
81
|
-
{ "Index": 19, "Date": "6/21/2013", "Open": 33.66, "High": 33.73, "Low": 33.05, "Close": 33.26, "Volume": 85338395 },
|
|
82
|
-
{ "Index": 20, "Date": "6/20/2013", "Open": 34.26, "High": 34.33, "Low": 33.37, "Close": 33.49, "Volume": 54496758 },
|
|
83
|
-
{ "Index": 21, "Date": "6/19/2013", "Open": 34.96, "High": 35.09, "Low": 34.59, "Close": 34.59, "Volume": 30820208 },
|
|
84
|
-
{ "Index": 22, "Date": "6/18/2013", "Open": 34.97, "High": 35.17, "Low": 34.9, "Close": 34.98, "Volume": 28622929 },
|
|
85
|
-
{ "Index": 23, "Date": "6/17/2013", "Open": 34.69, "High": 35.16, "Low": 34.63, "Close": 35, "Volume": 49672492 },
|
|
86
|
-
{ "Index": 24, "Date": "6/14/2013", "Open": 34.55, "High": 34.69, "Low": 34.25, "Close": 34.4, "Volume": 53116371 },
|
|
87
|
-
{ "Index": 25, "Date": "6/13/2013", "Open": 34.99, "High": 35.02, "Low": 34.59, "Close": 34.72, "Volume": 45654803 },
|
|
88
|
-
{ "Index": 26, "Date": "6/12/2013", "Open": 35.14, "High": 35.27, "Low": 34.85, "Close": 35, "Volume": 37373032 },
|
|
89
|
-
{ "Index": 27, "Date": "6/11/2013", "Open": 35.05, "High": 35.18, "Low": 34.68, "Close": 34.84, "Volume": 39350316 },
|
|
90
|
-
{ "Index": 28, "Date": "6/10/2013", "Open": 35.51, "High": 35.65, "Low": 35.14, "Close": 35.47, "Volume": 35995223 },
|
|
91
|
-
{ "Index": 29, "Date": "6/7/2013", "Open": 35.25, "High": 35.78, "Low": 35.06, "Close": 35.67, "Volume": 40762249 },
|
|
92
|
-
{ "Index": 30, "Date": "6/6/2013", "Open": 34.84, "High": 35.11, "Low": 34.49, "Close": 34.96, "Volume": 37627133 },
|
|
93
|
-
{ "Index": 31, "Date": "6/5/2013", "Open": 34.6, "High": 34.89, "Low": 34.43, "Close": 34.78, "Volume": 46032657 },
|
|
94
|
-
{ "Index": 32, "Date": "6/4/2013", "Open": 35.62, "High": 35.74, "Low": 34.77, "Close": 34.99, "Volume": 65538438 },
|
|
95
|
-
{ "Index": 33, "Date": "6/3/2013", "Open": 34.92, "High": 35.63, "Low": 34.83, "Close": 35.59, "Volume": 51256272 },
|
|
96
|
-
{ "Index": 34, "Date": "5/31/2013", "Open": 34.82, "High": 35.28, "Low": 34.79, "Close": 34.9, "Volume": 56167723 },
|
|
97
|
-
{ "Index": 35, "Date": "5/30/2013", "Open": 34.85, "High": 35.25, "Low": 34.81, "Close": 35.03, "Volume": 51133616 },
|
|
98
|
-
{ "Index": 36, "Date": "5/29/2013", "Open": 34.74, "High": 35.02, "Low": 34.57, "Close": 34.88, "Volume": 38419848 },
|
|
99
|
-
{ "Index": 37, "Date": "5/28/2013", "Open": 34.42, "High": 35.18, "Low": 34.41, "Close": 35.02, "Volume": 48218180 },
|
|
100
|
-
{ "Index": 38, "Date": "5/24/2013", "Open": 33.92, "High": 34.28, "Low": 33.9, "Close": 34.27, "Volume": 33175804 },
|
|
101
|
-
{ "Index": 39, "Date": "5/23/2013", "Open": 34.23, "High": 34.55, "Low": 33.9, "Close": 34.15, "Volume": 51113510 },
|
|
102
|
-
{ "Index": 40, "Date": "5/22/2013", "Open": 34.79, "High": 34.84, "Low": 34.36, "Close": 34.61, "Volume": 65892481 },
|
|
103
|
-
{ "Index": 41, "Date": "5/21/2013", "Open": 35.1, "High": 35.27, "Low": 34.72, "Close": 34.85, "Volume": 48705362 },
|
|
104
|
-
{ "Index": 42, "Date": "5/20/2013", "Open": 34.73, "High": 35.1, "Low": 34.68, "Close": 35.08, "Volume": 54025227 },
|
|
105
|
-
{ "Index": 43, "Date": "5/17/2013", "Open": 34.13, "High": 34.87, "Low": 34.1, "Close": 34.87, "Volume": 60674267 },
|
|
106
|
-
{ "Index": 44, "Date": "5/16/2013", "Open": 33.64, "High": 34.15, "Low": 33.55, "Close": 34.08, "Volume": 59384283 },
|
|
107
|
-
{ "Index": 45, "Date": "5/15/2013", "Open": 33.45, "High": 33.9, "Low": 33.43, "Close": 33.84, "Volume": 46309506 },
|
|
108
|
-
{ "Index": 46, "Date": "5/14/2013", "Open": 32.86, "High": 33.53, "Low": 32.8, "Close": 33.53, "Volume": 56874005 },
|
|
109
|
-
{ "Index": 47, "Date": "5/13/2013", "Open": 32.61, "High": 33.07, "Low": 32.55, "Close": 33.03, "Volume": 36036347 },
|
|
110
|
-
{ "Index": 48, "Date": "5/10/2013", "Open": 32.67, "High": 32.72, "Low": 32.32, "Close": 32.69, "Volume": 36396524 },
|
|
111
|
-
{ "Index": 49, "Date": "5/9/2013", "Open": 32.85, "High": 33, "Low": 32.59, "Close": 32.66, "Volume": 46417802 },
|
|
112
|
-
{ "Index": 50, "Date": "5/8/2013", "Open": 33.07, "High": 33.24, "Low": 32.65, "Close": 32.99, "Volume": 51595643 }]
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
export { financialData };
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { Component } from "@angular/core";
|
|
2
|
-
import { financialData } from "../../assets/financial-data";
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: "$(filePrefix)",
|
|
6
|
-
template: `
|
|
7
|
-
<h1>$(description)</h1>
|
|
8
|
-
<div style="float: left">
|
|
9
|
-
<ig-data-chart [options]="candleOptions" widgetId="candlestickChart">
|
|
10
|
-
</ig-data-chart>
|
|
11
|
-
</div>
|
|
12
|
-
|
|
13
|
-
<div style="float: left; width: 500px; height: 500px;">
|
|
14
|
-
<ig-data-chart [options]="ohlcOptions" widgetId="ohlcChart">
|
|
15
|
-
</ig-data-chart>
|
|
16
|
-
</div>
|
|
17
|
-
`
|
|
18
|
-
})
|
|
19
|
-
export class $(ClassName)Component {
|
|
20
|
-
public candleOptions: IgDataChart;
|
|
21
|
-
public ohlcOptions: IgDataChart;
|
|
22
|
-
public data: any;
|
|
23
|
-
|
|
24
|
-
constructor() {
|
|
25
|
-
this.data = financialData;
|
|
26
|
-
this.candleOptions = {
|
|
27
|
-
width: "500px",
|
|
28
|
-
height: "500px",
|
|
29
|
-
title: "Microsoft (MSFT) vs. Adobe (ADBE)",
|
|
30
|
-
subtitle: "A comparison of stocks over time",
|
|
31
|
-
horizontalZoomable: true,
|
|
32
|
-
verticalZoomable: true,
|
|
33
|
-
windowResponse: "immediate",
|
|
34
|
-
axes: [{
|
|
35
|
-
name: "xAxis",
|
|
36
|
-
type: "categoryX",
|
|
37
|
-
dataSource: this.data,
|
|
38
|
-
responseDataKey: "data",
|
|
39
|
-
label: "Date",
|
|
40
|
-
title: "Date",
|
|
41
|
-
interval: 10
|
|
42
|
-
}, {
|
|
43
|
-
name: "yAxis",
|
|
44
|
-
type: "numericY",
|
|
45
|
-
title: "Price"
|
|
46
|
-
}],
|
|
47
|
-
series: [{
|
|
48
|
-
name: "series1",
|
|
49
|
-
dataSource: this.data,
|
|
50
|
-
responseDataKey: "data",
|
|
51
|
-
title: "Price Series",
|
|
52
|
-
type: "financial",
|
|
53
|
-
displayType: "candlestick",
|
|
54
|
-
isTransitionInEnabled: true,
|
|
55
|
-
isHighlightingEnabled: true,
|
|
56
|
-
xAxis: "xAxis",
|
|
57
|
-
yAxis: "yAxis",
|
|
58
|
-
openMemberPath: "Open",
|
|
59
|
-
highMemberPath: "High",
|
|
60
|
-
lowMemberPath: "Low",
|
|
61
|
-
closeMemberPath: "Close",
|
|
62
|
-
thickness: 1,
|
|
63
|
-
trendLineBrush: "rgba(68, 172, 214, .8)",
|
|
64
|
-
trendLineThickness: 5,
|
|
65
|
-
trendLineType: "exponentialAverage",
|
|
66
|
-
negativeBrush: "rgba(198, 45, 54, .8)"
|
|
67
|
-
}, {
|
|
68
|
-
name: "series2",
|
|
69
|
-
dataSource: this.data,
|
|
70
|
-
responseDataKey: "dataAdobe",
|
|
71
|
-
title: "Price Series",
|
|
72
|
-
type: "financial",
|
|
73
|
-
isTransitionInEnabled: true,
|
|
74
|
-
isHighlightingEnabled: true,
|
|
75
|
-
displayType: "candlestick",
|
|
76
|
-
xAxis: "xAxis",
|
|
77
|
-
yAxis: "yAxis",
|
|
78
|
-
openMemberPath: "Open",
|
|
79
|
-
highMemberPath: "High",
|
|
80
|
-
lowMemberPath: "Low",
|
|
81
|
-
closeMemberPath: "Close",
|
|
82
|
-
thickness: 1,
|
|
83
|
-
trendLineBrush: "rgba(73, 73, 73, .8)",
|
|
84
|
-
trendLineThickness: 5,
|
|
85
|
-
trendLineType: "exponentialAverage",
|
|
86
|
-
negativeBrush: "rgba(198, 45, 54, .8)"
|
|
87
|
-
}]
|
|
88
|
-
};
|
|
89
|
-
this.ohlcOptions = {
|
|
90
|
-
width: "500px",
|
|
91
|
-
height: "500px",
|
|
92
|
-
title: "Microsoft (MSFT) vs. Adobe (ADBE)",
|
|
93
|
-
subtitle: "A comparison of stocks over time",
|
|
94
|
-
axes: [{
|
|
95
|
-
name: "xAxis",
|
|
96
|
-
type: "categoryX",
|
|
97
|
-
dataSource: this.data,
|
|
98
|
-
responseDataKey: "data",
|
|
99
|
-
label: "Date",
|
|
100
|
-
interval: 10,
|
|
101
|
-
title: "Date"
|
|
102
|
-
}, {
|
|
103
|
-
name: "yAxis",
|
|
104
|
-
type: "numericY",
|
|
105
|
-
title: "Price"
|
|
106
|
-
}],
|
|
107
|
-
series: [{
|
|
108
|
-
name: "series1",
|
|
109
|
-
dataSource: this.data,
|
|
110
|
-
responseDataKey: "data",
|
|
111
|
-
title: "Price Series",
|
|
112
|
-
type: "financial",
|
|
113
|
-
isTransitionInEnabled: true,
|
|
114
|
-
displayType: "ohlc",
|
|
115
|
-
xAxis: "xAxis",
|
|
116
|
-
yAxis: "yAxis",
|
|
117
|
-
openMemberPath: "Open",
|
|
118
|
-
highMemberPath: "High",
|
|
119
|
-
lowMemberPath: "Low",
|
|
120
|
-
closeMemberPath: "Close",
|
|
121
|
-
|
|
122
|
-
thickness: 2,
|
|
123
|
-
trendLineBrush: "rgba(68, 172, 214, .8)",
|
|
124
|
-
trendLineThickness: 5,
|
|
125
|
-
trendLineType: "exponentialAverage",
|
|
126
|
-
negativeBrush: "rgba(198, 45, 54, .8)"
|
|
127
|
-
}, {
|
|
128
|
-
name: "series2",
|
|
129
|
-
dataSource: this.data,
|
|
130
|
-
responseDataKey: "dataAdobe",
|
|
131
|
-
title: "Price Series",
|
|
132
|
-
type: "financial",
|
|
133
|
-
isTransitionInEnabled: true,
|
|
134
|
-
displayType: "ohlc",
|
|
135
|
-
xAxis: "xAxis",
|
|
136
|
-
yAxis: "yAxis",
|
|
137
|
-
openMemberPath: "Open",
|
|
138
|
-
highMemberPath: "High",
|
|
139
|
-
lowMemberPath: "Low",
|
|
140
|
-
closeMemberPath: "Close",
|
|
141
|
-
thickness: 2,
|
|
142
|
-
trendLineBrush: "rgba(73, 73, 73, .8)",
|
|
143
|
-
trendLineThickness: 5,
|
|
144
|
-
trendLineType: "exponentialAverage",
|
|
145
|
-
negativeBrush: "rgba(198, 45, 54, .8)"
|
|
146
|
-
}],
|
|
147
|
-
horizontalZoomable: true,
|
|
148
|
-
verticalZoomable: true,
|
|
149
|
-
windowResponse: "immediate"
|
|
150
|
-
};
|
|
151
|
-
}
|
|
152
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { $(ClassName)Component } from './$(filePrefix).component';
|
|
4
|
-
import { IgniteUIModule } from 'igniteui-angular-wrappers';
|
|
5
|
-
|
|
6
|
-
declare var $: any;
|
|
7
|
-
|
|
8
|
-
describe('$(ClassName)Component', () => {
|
|
9
|
-
let component: $(ClassName)Component;
|
|
10
|
-
let fixture: ComponentFixture<$(ClassName)Component>;
|
|
11
|
-
|
|
12
|
-
beforeEach(waitForAsync(() => {
|
|
13
|
-
TestBed.configureTestingModule({
|
|
14
|
-
declarations: [$(ClassName)Component],
|
|
15
|
-
imports: [IgniteUIModule]
|
|
16
|
-
})
|
|
17
|
-
.compileComponents();
|
|
18
|
-
}));
|
|
19
|
-
|
|
20
|
-
beforeEach(() => {
|
|
21
|
-
fixture = TestBed.createComponent($(ClassName)Component);
|
|
22
|
-
component = fixture.componentInstance;
|
|
23
|
-
fixture.detectChanges();
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
it('should create', () => {
|
|
27
|
-
expect(component).toBeTruthy();
|
|
28
|
-
});
|
|
29
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const AngularTemplate_1 = require("../../../../../lib/templates/AngularTemplate");
|
|
4
|
-
class FinancialChartTemplate extends AngularTemplate_1.AngularTemplate {
|
|
5
|
-
constructor() {
|
|
6
|
-
super(__dirname);
|
|
7
|
-
this.components = ["Financial Chart"];
|
|
8
|
-
this.controlGroup = "Charts";
|
|
9
|
-
this.listInComponentTemplates = true;
|
|
10
|
-
this.id = "financial-chart";
|
|
11
|
-
this.projectType = "ig-ts";
|
|
12
|
-
this.name = "Financial Chart";
|
|
13
|
-
this.description = "igDataChart financial series template";
|
|
14
|
-
this.dependencies = ["igDataChart"];
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
module.exports = new FinancialChartTemplate();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const cli_core_1 = require("@igniteui/cli-core");
|
|
4
|
-
class FinancialChartComponent extends cli_core_1.BaseComponent {
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
constructor() {
|
|
9
|
-
super(__dirname);
|
|
10
|
-
this.name = "Financial Chart";
|
|
11
|
-
this.group = "Charts";
|
|
12
|
-
this.description = "lightweight, high-performance chart.";
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
module.exports = new FinancialChartComponent();
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
const funnelData = {
|
|
2
|
-
data: [
|
|
3
|
-
{ Budget: 30, Department: "Administration" },
|
|
4
|
-
{ Budget: 50, Department: "Sales" },
|
|
5
|
-
{ Budget: 60, Department: "IT" },
|
|
6
|
-
{ Budget: 50, Department: "Marketing" },
|
|
7
|
-
{ Budget: 100, Department: "Development" },
|
|
8
|
-
{ Budget: 20, Department: "Support" }
|
|
9
|
-
]
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
export { funnelData };
|