igniteui-cli 14.9.2 → 14.10.0-alpha.2
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 +3 -16
- 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
package/templates/angular/ig-ts/bar-chart/default/files/src/app/assets/world-energy-production.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Data from U.S. Energy Information Administration (2012)
|
|
3
|
-
*/
|
|
4
|
-
const lastFiveYears = [
|
|
5
|
-
{
|
|
6
|
-
"Year": 2005,
|
|
7
|
-
"Canada": 18.8932,
|
|
8
|
-
"SaudiArabia": 25.4401,
|
|
9
|
-
"Russia": 51.0796,
|
|
10
|
-
"UnitedStates": 69.4437,
|
|
11
|
-
"China": 63.9524
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"Year": 2006,
|
|
15
|
-
"Canada": 19.2273,
|
|
16
|
-
"SaudiArabia": 24.6105,
|
|
17
|
-
"Russia": 52.0557,
|
|
18
|
-
"UnitedStates": 70.7539,
|
|
19
|
-
"China": 68.2333
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"Year": 2007,
|
|
23
|
-
"Canada": 19.5439,
|
|
24
|
-
"SaudiArabia": 23.7326,
|
|
25
|
-
"Russia": 52.5599,
|
|
26
|
-
"UnitedStates": 71.4000,
|
|
27
|
-
"China": 73.2809
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"Year": 2008,
|
|
31
|
-
"Canada": 19.0196,
|
|
32
|
-
"SaudiArabia": 25.1682,
|
|
33
|
-
"Russia": 52.5460,
|
|
34
|
-
"UnitedStates": 73.2178,
|
|
35
|
-
"China": 78.3599
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"Year": 2009,
|
|
39
|
-
"Canada": 18.3249,
|
|
40
|
-
"SaudiArabia": 22.837,
|
|
41
|
-
"Russia": 50.4291,
|
|
42
|
-
"UnitedStates": 72.6409,
|
|
43
|
-
"China": 84.0643
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"Year": 2010,
|
|
47
|
-
"Canada": 18.3358,
|
|
48
|
-
"SaudiArabia": 24.7442,
|
|
49
|
-
"Russia": 53.2232,
|
|
50
|
-
"UnitedStates": 74.7951,
|
|
51
|
-
"China": 90.3918
|
|
52
|
-
}
|
|
53
|
-
];
|
|
54
|
-
export { lastFiveYears };
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { Component } from "@angular/core";
|
|
2
|
-
import { lastFiveYears } from "../../assets/world-energy-production";
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: "$(filePrefix)",
|
|
6
|
-
template: `
|
|
7
|
-
<h1>$(description)</h1>
|
|
8
|
-
<div style="float: left">
|
|
9
|
-
<ig-data-chart [options]="options" widgetId="barChart"></ig-data-chart>
|
|
10
|
-
</div>
|
|
11
|
-
<div id="barLegend" style="float: left"></div>`
|
|
12
|
-
})
|
|
13
|
-
export class $(ClassName)Component {
|
|
14
|
-
public options: IgDataChart;
|
|
15
|
-
public data: any[];
|
|
16
|
-
|
|
17
|
-
constructor() {
|
|
18
|
-
this.data = lastFiveYears;
|
|
19
|
-
this.options = {
|
|
20
|
-
width: "650px",
|
|
21
|
-
height: "550px",
|
|
22
|
-
dataSource: this.data,
|
|
23
|
-
title: "Energy Production Per Country",
|
|
24
|
-
subtitle: "The top five Total Primary Energy producers",
|
|
25
|
-
legend: { element: "barLegend" },
|
|
26
|
-
axes: [{
|
|
27
|
-
name: "xAxis",
|
|
28
|
-
type: "numericX",
|
|
29
|
-
title: "Quadrillion Btu"
|
|
30
|
-
}, {
|
|
31
|
-
name: "yAxis",
|
|
32
|
-
type: "categoryY",
|
|
33
|
-
label: "Year"
|
|
34
|
-
}],
|
|
35
|
-
series: [{
|
|
36
|
-
name: "series1",
|
|
37
|
-
title: "Canada",
|
|
38
|
-
type: "bar",
|
|
39
|
-
isHighlightingEnabled: true,
|
|
40
|
-
isTransitionInEnabled: true,
|
|
41
|
-
xAxis: "xAxis",
|
|
42
|
-
yAxis: "yAxis",
|
|
43
|
-
valueMemberPath: "Canada"
|
|
44
|
-
}, {
|
|
45
|
-
name: "series2",
|
|
46
|
-
title: "Saudi Arabia",
|
|
47
|
-
type: "bar",
|
|
48
|
-
isHighlightingEnabled: true,
|
|
49
|
-
isTransitionInEnabled: true,
|
|
50
|
-
xAxis: "xAxis",
|
|
51
|
-
yAxis: "yAxis",
|
|
52
|
-
valueMemberPath: "SaudiArabia"
|
|
53
|
-
}, {
|
|
54
|
-
name: "series3",
|
|
55
|
-
title: "Russia",
|
|
56
|
-
type: "bar",
|
|
57
|
-
isHighlightingEnabled: true,
|
|
58
|
-
isTransitionInEnabled: true,
|
|
59
|
-
xAxis: "xAxis",
|
|
60
|
-
yAxis: "yAxis",
|
|
61
|
-
valueMemberPath: "Russia"
|
|
62
|
-
}, {
|
|
63
|
-
name: "series4",
|
|
64
|
-
title: "United States",
|
|
65
|
-
type: "bar",
|
|
66
|
-
isHighlightingEnabled: true,
|
|
67
|
-
isTransitionInEnabled: true,
|
|
68
|
-
xAxis: "xAxis",
|
|
69
|
-
yAxis: "yAxis",
|
|
70
|
-
valueMemberPath: "UnitedStates"
|
|
71
|
-
}, {
|
|
72
|
-
name: "series5",
|
|
73
|
-
title: "China",
|
|
74
|
-
type: "bar",
|
|
75
|
-
isHighlightingEnabled: true,
|
|
76
|
-
isTransitionInEnabled: true,
|
|
77
|
-
xAxis: "xAxis",
|
|
78
|
-
yAxis: "yAxis",
|
|
79
|
-
valueMemberPath: "China"
|
|
80
|
-
}]
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
}
|
|
@@ -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 BarChartTemplate extends AngularTemplate_1.AngularTemplate {
|
|
5
|
-
constructor() {
|
|
6
|
-
super(__dirname);
|
|
7
|
-
this.components = ["Bar Chart"];
|
|
8
|
-
this.controlGroup = "Charts";
|
|
9
|
-
this.listInComponentTemplates = true;
|
|
10
|
-
this.id = "bar-chart";
|
|
11
|
-
this.projectType = "ig-ts";
|
|
12
|
-
this.name = "Bar Chart";
|
|
13
|
-
this.description = "igDataChart bar series template";
|
|
14
|
-
this.dependencies = ["igDataChart"];
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
module.exports = new BarChartTemplate();
|
|
@@ -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 BarChartComponent extends cli_core_1.BaseComponent {
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
constructor() {
|
|
9
|
-
super(__dirname);
|
|
10
|
-
this.name = "Bar Chart";
|
|
11
|
-
this.group = "Charts";
|
|
12
|
-
this.description = "visualizes categorized data with horizontal bars.";
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
module.exports = new BarChartComponent();
|
package/templates/angular/ig-ts/column-chart/default/files/src/app/assets/world-energy-production.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Data from U.S. Energy Information Administration (2012)
|
|
3
|
-
*/
|
|
4
|
-
const lastFiveYears = [
|
|
5
|
-
{
|
|
6
|
-
"Year": 2005,
|
|
7
|
-
"Canada": 18.8932,
|
|
8
|
-
"SaudiArabia": 25.4401,
|
|
9
|
-
"Russia": 51.0796,
|
|
10
|
-
"UnitedStates": 69.4437,
|
|
11
|
-
"China": 63.9524
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"Year": 2006,
|
|
15
|
-
"Canada": 19.2273,
|
|
16
|
-
"SaudiArabia": 24.6105,
|
|
17
|
-
"Russia": 52.0557,
|
|
18
|
-
"UnitedStates": 70.7539,
|
|
19
|
-
"China": 68.2333
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"Year": 2007,
|
|
23
|
-
"Canada": 19.5439,
|
|
24
|
-
"SaudiArabia": 23.7326,
|
|
25
|
-
"Russia": 52.5599,
|
|
26
|
-
"UnitedStates": 71.4000,
|
|
27
|
-
"China": 73.2809
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"Year": 2008,
|
|
31
|
-
"Canada": 19.0196,
|
|
32
|
-
"SaudiArabia": 25.1682,
|
|
33
|
-
"Russia": 52.5460,
|
|
34
|
-
"UnitedStates": 73.2178,
|
|
35
|
-
"China": 78.3599
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"Year": 2009,
|
|
39
|
-
"Canada": 18.3249,
|
|
40
|
-
"SaudiArabia": 22.837,
|
|
41
|
-
"Russia": 50.4291,
|
|
42
|
-
"UnitedStates": 72.6409,
|
|
43
|
-
"China": 84.0643
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"Year": 2010,
|
|
47
|
-
"Canada": 18.3358,
|
|
48
|
-
"SaudiArabia": 24.7442,
|
|
49
|
-
"Russia": 53.2232,
|
|
50
|
-
"UnitedStates": 74.7951,
|
|
51
|
-
"China": 90.3918
|
|
52
|
-
}
|
|
53
|
-
];
|
|
54
|
-
export { lastFiveYears };
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { Component } from "@angular/core";
|
|
2
|
-
import { lastFiveYears } from "../../assets/world-energy-production";
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: "$(filePrefix)",
|
|
6
|
-
template: `
|
|
7
|
-
<h1>$(description)</h1>
|
|
8
|
-
<div style="float: left">
|
|
9
|
-
<ig-data-chart [options]="options" widgetId="columnChart"></ig-data-chart>
|
|
10
|
-
</div>
|
|
11
|
-
<div id="columnLegend" style="float: left"></div>
|
|
12
|
-
`
|
|
13
|
-
})
|
|
14
|
-
export class $(ClassName)Component {
|
|
15
|
-
public options: IgDataChart;
|
|
16
|
-
public data: any[];
|
|
17
|
-
|
|
18
|
-
constructor() {
|
|
19
|
-
this.data = lastFiveYears;
|
|
20
|
-
this.options = {
|
|
21
|
-
width: "650px",
|
|
22
|
-
height: "550px",
|
|
23
|
-
dataSource: this.data,
|
|
24
|
-
title: "Energy Production Per Country",
|
|
25
|
-
subtitle: "The top five Total Primary Energy producers",
|
|
26
|
-
legend: { element: "columnLegend" },
|
|
27
|
-
axes: [{
|
|
28
|
-
name: "xAxis",
|
|
29
|
-
type: "categoryX",
|
|
30
|
-
label: "Year",
|
|
31
|
-
labelTopMargin: 5
|
|
32
|
-
}, {
|
|
33
|
-
name: "yAxis",
|
|
34
|
-
type: "numericY",
|
|
35
|
-
title: "Quadrillion Btu",
|
|
36
|
-
}],
|
|
37
|
-
series: [{
|
|
38
|
-
name: "series1",
|
|
39
|
-
title: "Canada",
|
|
40
|
-
type: "column",
|
|
41
|
-
isHighlightingEnabled: true,
|
|
42
|
-
isTransitionInEnabled: true,
|
|
43
|
-
xAxis: "xAxis",
|
|
44
|
-
yAxis: "yAxis",
|
|
45
|
-
valueMemberPath: "Canada"
|
|
46
|
-
}, {
|
|
47
|
-
name: "series2",
|
|
48
|
-
title: "Saudi Arabia",
|
|
49
|
-
type: "column",
|
|
50
|
-
isHighlightingEnabled: true,
|
|
51
|
-
isTransitionInEnabled: true,
|
|
52
|
-
xAxis: "xAxis",
|
|
53
|
-
yAxis: "yAxis",
|
|
54
|
-
valueMemberPath: "SaudiArabia"
|
|
55
|
-
}, {
|
|
56
|
-
name: "series3",
|
|
57
|
-
title: "Russia",
|
|
58
|
-
type: "column",
|
|
59
|
-
isHighlightingEnabled: true,
|
|
60
|
-
isTransitionInEnabled: true,
|
|
61
|
-
xAxis: "xAxis",
|
|
62
|
-
yAxis: "yAxis",
|
|
63
|
-
valueMemberPath: "Russia"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
name: "series4",
|
|
67
|
-
title: "United States",
|
|
68
|
-
type: "column",
|
|
69
|
-
isHighlightingEnabled: true,
|
|
70
|
-
isTransitionInEnabled: true,
|
|
71
|
-
xAxis: "xAxis",
|
|
72
|
-
yAxis: "yAxis",
|
|
73
|
-
valueMemberPath: "UnitedStates"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
name: "series5",
|
|
77
|
-
title: "China",
|
|
78
|
-
type: "column",
|
|
79
|
-
isHighlightingEnabled: true,
|
|
80
|
-
isTransitionInEnabled: true,
|
|
81
|
-
xAxis: "xAxis",
|
|
82
|
-
yAxis: "yAxis",
|
|
83
|
-
valueMemberPath: "China"
|
|
84
|
-
}]
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
}
|
|
@@ -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 ColumnChartTemplate extends AngularTemplate_1.AngularTemplate {
|
|
5
|
-
constructor() {
|
|
6
|
-
super(__dirname);
|
|
7
|
-
this.components = ["Column Chart"];
|
|
8
|
-
this.controlGroup = "Charts";
|
|
9
|
-
this.listInComponentTemplates = true;
|
|
10
|
-
this.id = "column-chart";
|
|
11
|
-
this.projectType = "ig-ts";
|
|
12
|
-
this.name = "Column Chart";
|
|
13
|
-
this.description = "igDataChart column series template";
|
|
14
|
-
this.dependencies = ["igDataChart"];
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
module.exports = new ColumnChartTemplate();
|
|
@@ -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 ColumnChartComponent extends cli_core_1.BaseComponent {
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
constructor() {
|
|
9
|
-
super(__dirname);
|
|
10
|
-
this.name = "Column Chart";
|
|
11
|
-
this.group = "Charts";
|
|
12
|
-
this.description = "visualizes categorized data with vertical columns.";
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
module.exports = new ColumnChartComponent();
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Component } from "@angular/core";
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: "$(filePrefix)",
|
|
5
|
-
template: `
|
|
6
|
-
<h1>$(description)</h1>
|
|
7
|
-
<ig-combo [widgetId]="'combo2'"
|
|
8
|
-
[options]="options"
|
|
9
|
-
[(ngModel)]="combo.value">
|
|
10
|
-
</ig-combo>
|
|
11
|
-
`
|
|
12
|
-
})
|
|
13
|
-
export class $(ClassName)Component {
|
|
14
|
-
public options: IgCombo;
|
|
15
|
-
public platforms: any;
|
|
16
|
-
public combo: any;
|
|
17
|
-
|
|
18
|
-
constructor() {
|
|
19
|
-
this.platforms = [
|
|
20
|
-
{ Name: "jQuery/HTML5/ASP.NET MVC Controls" },
|
|
21
|
-
{ Name: "ASP.NET Controls" },
|
|
22
|
-
{ Name: "Windows Forms Controls" },
|
|
23
|
-
{ Name: "WPF Controls" },
|
|
24
|
-
{ Name: "Android Native mobile controls" },
|
|
25
|
-
{ Name: "iOS Controls" },
|
|
26
|
-
{ Name: "SharePlus" },
|
|
27
|
-
{ Name: "ReportPlus" },
|
|
28
|
-
{ Name: "Indigo Studio" }
|
|
29
|
-
];
|
|
30
|
-
this.options = {
|
|
31
|
-
width: 300,
|
|
32
|
-
dataSource: this.platforms,
|
|
33
|
-
valueKey: "Name",
|
|
34
|
-
textKey: "Name",
|
|
35
|
-
multiSelection: {
|
|
36
|
-
enabled: true,
|
|
37
|
-
showCheckboxes: true
|
|
38
|
-
},
|
|
39
|
-
dropDownOrientation: "bottom"
|
|
40
|
-
};
|
|
41
|
-
this.combo = {
|
|
42
|
-
value: null
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
}
|
package/templates/angular/ig-ts/combo/combo/files/src/app/components/__path__/__filePrefix__.spec.ts
DELETED
|
@@ -1,30 +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
|
-
import { FormsModule } from '@angular/forms';
|
|
6
|
-
|
|
7
|
-
declare var $: any;
|
|
8
|
-
|
|
9
|
-
describe('$(ClassName)Component', () => {
|
|
10
|
-
let component: $(ClassName)Component;
|
|
11
|
-
let fixture: ComponentFixture<$(ClassName)Component>;
|
|
12
|
-
|
|
13
|
-
beforeEach(waitForAsync(() => {
|
|
14
|
-
TestBed.configureTestingModule({
|
|
15
|
-
declarations: [$(ClassName)Component],
|
|
16
|
-
imports: [IgniteUIModule, FormsModule]
|
|
17
|
-
})
|
|
18
|
-
.compileComponents();
|
|
19
|
-
}));
|
|
20
|
-
|
|
21
|
-
beforeEach(() => {
|
|
22
|
-
fixture = TestBed.createComponent($(ClassName)Component);
|
|
23
|
-
component = fixture.componentInstance;
|
|
24
|
-
fixture.detectChanges();
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
it('should create', () => {
|
|
28
|
-
expect(component).toBeTruthy();
|
|
29
|
-
});
|
|
30
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const AngularTemplate_1 = require("../../../../../lib/templates/AngularTemplate");
|
|
4
|
-
class ComboTemplate extends AngularTemplate_1.AngularTemplate {
|
|
5
|
-
constructor() {
|
|
6
|
-
super(__dirname);
|
|
7
|
-
this.id = "combo";
|
|
8
|
-
this.name = "Combo";
|
|
9
|
-
this.description = "igCombo template for Angular";
|
|
10
|
-
this.projectType = "ig-ts";
|
|
11
|
-
this.components = ["Combo"];
|
|
12
|
-
this.dependencies = ["igCombo"];
|
|
13
|
-
this.controlGroup = "Data Entry";
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
module.exports = new ComboTemplate();
|
|
@@ -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
|
-
//TODO: rename ComboComponent to IgComboComponent?
|
|
5
|
-
class ComboComponent extends cli_core_1.BaseComponent {
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
constructor() {
|
|
10
|
-
super(__dirname);
|
|
11
|
-
this.name = "Combo";
|
|
12
|
-
this.group = "Data Entry";
|
|
13
|
-
this.description = "igCombo is a full-featured combo box control.";
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
module.exports = new ComboComponent();
|