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,88 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import $(Control) from "igniteui-react/ui/$(widget).js";
|
|
3
|
-
import { data } from "../../data/world-energy-production.js";
|
|
4
|
-
|
|
5
|
-
export default class $(ClassName) extends Component {
|
|
6
|
-
constructor(props) {
|
|
7
|
-
super(props);
|
|
8
|
-
this.state = { view: data };
|
|
9
|
-
}
|
|
10
|
-
render() {
|
|
11
|
-
return (
|
|
12
|
-
<div className="$(ClassName)">
|
|
13
|
-
<div className="$(ClassName)-header">
|
|
14
|
-
<h2 style={{textAlign: "center"}}>$(description)</h2>
|
|
15
|
-
</div>
|
|
16
|
-
<div style={{float: "left", marginLeft: "10vw"}}>
|
|
17
|
-
<$(Control)
|
|
18
|
-
id="columnchart"
|
|
19
|
-
width="65vw"
|
|
20
|
-
height="350px"
|
|
21
|
-
dataSource={this.state.view}
|
|
22
|
-
responseDataKey="lastFiveYears"
|
|
23
|
-
legend={{ element: "columnLegend" }}
|
|
24
|
-
title="Energy Production Per Country"
|
|
25
|
-
subtitle="The top five Total Primary Energy producers"
|
|
26
|
-
axes={[{
|
|
27
|
-
name: "xAxis",
|
|
28
|
-
type: "categoryX",
|
|
29
|
-
label: "Year",
|
|
30
|
-
labelTopMargin: 5
|
|
31
|
-
}, {
|
|
32
|
-
name: "yAxis",
|
|
33
|
-
type: "numericY",
|
|
34
|
-
label: "Quadrillion Btu"
|
|
35
|
-
}]}
|
|
36
|
-
series={[{
|
|
37
|
-
name: "series1",
|
|
38
|
-
title: "Canada",
|
|
39
|
-
type: "column",
|
|
40
|
-
isHighlightingEnabled: true,
|
|
41
|
-
isTransitionInEnabled: true,
|
|
42
|
-
xAxis: "xAxis",
|
|
43
|
-
yAxis: "yAxis",
|
|
44
|
-
valueMemberPath: "Canada"
|
|
45
|
-
}, {
|
|
46
|
-
name: "series2",
|
|
47
|
-
title: "Saudi Arabia",
|
|
48
|
-
type: "column",
|
|
49
|
-
isHighlightingEnabled: true,
|
|
50
|
-
isTransitionInEnabled: true,
|
|
51
|
-
xAxis: "xAxis",
|
|
52
|
-
yAxis: "yAxis",
|
|
53
|
-
valueMemberPath: "SaudiArabia"
|
|
54
|
-
}, {
|
|
55
|
-
name: "series3",
|
|
56
|
-
title: "Russia",
|
|
57
|
-
type: "column",
|
|
58
|
-
isHighlightingEnabled: true,
|
|
59
|
-
isTransitionInEnabled: true,
|
|
60
|
-
xAxis: "xAxis",
|
|
61
|
-
yAxis: "yAxis",
|
|
62
|
-
valueMemberPath: "Russia"
|
|
63
|
-
}, {
|
|
64
|
-
name: "series4",
|
|
65
|
-
title: "United States",
|
|
66
|
-
type: "column",
|
|
67
|
-
isHighlightingEnabled: true,
|
|
68
|
-
isTransitionInEnabled: true,
|
|
69
|
-
xAxis: "xAxis",
|
|
70
|
-
yAxis: "yAxis",
|
|
71
|
-
valueMemberPath: "UnitedStates"
|
|
72
|
-
}, {
|
|
73
|
-
name: "series5",
|
|
74
|
-
title: "China",
|
|
75
|
-
type: "column",
|
|
76
|
-
isHighlightingEnabled: true,
|
|
77
|
-
isTransitionInEnabled: true,
|
|
78
|
-
xAxis: "xAxis",
|
|
79
|
-
yAxis: "yAxis",
|
|
80
|
-
valueMemberPath: "China"
|
|
81
|
-
}]}
|
|
82
|
-
/>
|
|
83
|
-
</div>
|
|
84
|
-
<div id="columnLegend" style={{float: "left"}}></div>
|
|
85
|
-
</div>
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Data from U.S. Energy Information Administration (2012)
|
|
3
|
-
*/
|
|
4
|
-
var data = {
|
|
5
|
-
lastFiveYears: [
|
|
6
|
-
{
|
|
7
|
-
"Year": 2005,
|
|
8
|
-
"Canada": 18.8932,
|
|
9
|
-
"SaudiArabia": 25.4401,
|
|
10
|
-
"Russia": 51.0796,
|
|
11
|
-
"UnitedStates": 69.4437,
|
|
12
|
-
"China": 63.9524,
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"Year": 2006,
|
|
16
|
-
"Canada": 19.2273,
|
|
17
|
-
"SaudiArabia": 24.6105,
|
|
18
|
-
"Russia": 52.0557,
|
|
19
|
-
"UnitedStates": 70.7539,
|
|
20
|
-
"China": 68.2333,
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"Year": 2007,
|
|
24
|
-
"Canada": 19.5439,
|
|
25
|
-
"SaudiArabia": 23.7326,
|
|
26
|
-
"Russia": 52.5599,
|
|
27
|
-
"UnitedStates": 71.4000,
|
|
28
|
-
"China": 73.2809,
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"Year": 2008,
|
|
32
|
-
"Canada": 19.0196,
|
|
33
|
-
"SaudiArabia": 25.1682,
|
|
34
|
-
"Russia": 52.5460,
|
|
35
|
-
"UnitedStates": 73.2178,
|
|
36
|
-
"China": 78.3599,
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"Year": 2009,
|
|
40
|
-
"Canada": 18.3249,
|
|
41
|
-
"SaudiArabia": 22.837,
|
|
42
|
-
"Russia": 50.4291,
|
|
43
|
-
"UnitedStates": 72.6409,
|
|
44
|
-
"China": 84.0643,
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"Year": 2010,
|
|
48
|
-
"Canada": 18.3358,
|
|
49
|
-
"SaudiArabia": 24.7442,
|
|
50
|
-
"Russia": 53.2232,
|
|
51
|
-
"UnitedStates": 74.7951,
|
|
52
|
-
"China": 90.3918,
|
|
53
|
-
}
|
|
54
|
-
]};
|
|
55
|
-
export { data };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const ReactTemplate_1 = require("../../../../../lib/templates/ReactTemplate");
|
|
4
|
-
class ColumnChartTemplate extends ReactTemplate_1.ReactTemplate {
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
constructor() {
|
|
9
|
-
super(__dirname);
|
|
10
|
-
this.id = "column-chart";
|
|
11
|
-
this.name = "Column Chart";
|
|
12
|
-
this.widget = "igDataChart";
|
|
13
|
-
this.description = "igDataChart column series template";
|
|
14
|
-
this.projectType = "es6";
|
|
15
|
-
this.components = ["Column Chart"];
|
|
16
|
-
this.controlGroup = "Charts";
|
|
17
|
-
this.dependencies = ["igDataChart"];
|
|
18
|
-
this.hasExtraConfiguration = false;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
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 'react';
|
|
2
|
-
|
|
3
|
-
import $(Control) from "igniteui-react/ui/$(widget).js";
|
|
4
|
-
|
|
5
|
-
export default class $(ClassName) extends Component {
|
|
6
|
-
constructor(props) {
|
|
7
|
-
super(props);
|
|
8
|
-
this.state = {
|
|
9
|
-
platforms: [
|
|
10
|
-
{ Name: "jQuery/HTML5/ASP.NET MVC Controls" },
|
|
11
|
-
{ Name: "ASP.NET Controls" },
|
|
12
|
-
{ Name: "Windows Forms Controls" },
|
|
13
|
-
{ Name: "WPF Controls" },
|
|
14
|
-
{ Name: "Android Native mobile controls" },
|
|
15
|
-
{ Name: "iOS Controls" },
|
|
16
|
-
{ Name: "SharePlus" },
|
|
17
|
-
{ Name: "ReportPlus" },
|
|
18
|
-
{ Name: "Indigo Studio" }
|
|
19
|
-
]
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
render() {
|
|
23
|
-
return (
|
|
24
|
-
<div className="$(ClassName)">
|
|
25
|
-
<div className="$(ClassName)-header">
|
|
26
|
-
<h2 style={{textAlign: "center", marginBottom: "2vw"}}>$(description)</h2>
|
|
27
|
-
</div>
|
|
28
|
-
<div style={{display: "flex", flexFlow: "column", alignItems: "center"}}>
|
|
29
|
-
<$(Control)
|
|
30
|
-
id="combo"
|
|
31
|
-
width="16vw"
|
|
32
|
-
dataSource={this.state.platforms}
|
|
33
|
-
textKey="Name"
|
|
34
|
-
valueKey="Name"
|
|
35
|
-
multiSelection={{
|
|
36
|
-
enabled: true,
|
|
37
|
-
showCheckboxes: true
|
|
38
|
-
}}
|
|
39
|
-
dropDownOrientation="bottom"
|
|
40
|
-
/>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const ReactTemplate_1 = require("../../../../../lib/templates/ReactTemplate");
|
|
4
|
-
class ComboTemplate extends ReactTemplate_1.ReactTemplate {
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
constructor() {
|
|
9
|
-
super(__dirname);
|
|
10
|
-
this.id = "combo";
|
|
11
|
-
this.name = "Combo";
|
|
12
|
-
this.widget = "igCombo";
|
|
13
|
-
this.description = "igCombo template for React";
|
|
14
|
-
this.projectType = "es6";
|
|
15
|
-
this.components = ["Combo"];
|
|
16
|
-
this.controlGroup = "Data Entry";
|
|
17
|
-
this.dependencies = ["igCombo"];
|
|
18
|
-
this.hasExtraConfiguration = false;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
module.exports = new ComboTemplate();
|
|
@@ -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 ComboComponent extends cli_core_1.BaseComponent {
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
constructor() {
|
|
9
|
-
super(__dirname);
|
|
10
|
-
this.name = "Combo";
|
|
11
|
-
this.group = "Data Entry";
|
|
12
|
-
this.description = "igCombo is a full-featured combo box control.";
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
module.exports = new ComboComponent();
|
package/templates/react/es6/doughnut-chart/doughnut-chart/files/src/components/__path__/index.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import $(Control) from "igniteui-react/ui/$(widget).js";
|
|
3
|
-
|
|
4
|
-
export default class $(ClassName) extends Component {
|
|
5
|
-
constructor(props) {
|
|
6
|
-
super(props);
|
|
7
|
-
this.state = {
|
|
8
|
-
data: [
|
|
9
|
-
{ "CountryName": "China", "Pop1990": 1141 },
|
|
10
|
-
{ "CountryName": "India", "Pop1990": 849 },
|
|
11
|
-
{ "CountryName": "United States", "Pop1990": 250 },
|
|
12
|
-
{ "CountryName": "Indonesia", "Pop1990": 178 },
|
|
13
|
-
{ "CountryName": "Brazil", "Pop1990": 150 }
|
|
14
|
-
]
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
render() {
|
|
18
|
-
return (
|
|
19
|
-
<div className="$(ClassName)">
|
|
20
|
-
<div className="$(ClassName)-header">
|
|
21
|
-
<h2 style={{textAlign: "center"}}>$(description)</h2>
|
|
22
|
-
</div>
|
|
23
|
-
<div style={{display: "flex", flexFlow: "column", alignItems: "center"}}>
|
|
24
|
-
<$(Control)
|
|
25
|
-
id="chart"
|
|
26
|
-
width={550}
|
|
27
|
-
height={550}
|
|
28
|
-
series={[{
|
|
29
|
-
name: "Pop1990",
|
|
30
|
-
labelMemberPath: "CountryName",
|
|
31
|
-
valueMemberPath: "Pop1990",
|
|
32
|
-
dataSource: this.state.data,
|
|
33
|
-
labelsPosition: "bestFit",
|
|
34
|
-
formatLabel: function (context) {
|
|
35
|
-
return context.itemLabel + " (" + context.item.Pop1990 + ")";
|
|
36
|
-
},
|
|
37
|
-
brushes: ["#B284BE", "#5D8AA8", "#C9FFE5", "#7CB9E8", "#F19CBB"]
|
|
38
|
-
}]}
|
|
39
|
-
/>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const ReactTemplate_1 = require("../../../../../lib/templates/ReactTemplate");
|
|
4
|
-
class DoughnutChartTemplate extends ReactTemplate_1.ReactTemplate {
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
constructor() {
|
|
9
|
-
super(__dirname);
|
|
10
|
-
this.id = "doughnut-chart";
|
|
11
|
-
this.name = "Doughnut Chart";
|
|
12
|
-
this.widget = "igDoughnutChart";
|
|
13
|
-
this.description = "igDataChart template";
|
|
14
|
-
this.projectType = "es6";
|
|
15
|
-
this.components = ["Doughnut Chart"];
|
|
16
|
-
this.controlGroup = "Charts";
|
|
17
|
-
this.dependencies = ["igDataChart"];
|
|
18
|
-
this.hasExtraConfiguration = false;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
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,17 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import $(Control) from "igniteui-react/ui/$(widget).js";
|
|
3
|
-
|
|
4
|
-
export default class $(ClassName) extends Component {
|
|
5
|
-
render() {
|
|
6
|
-
return (
|
|
7
|
-
<div className="App">
|
|
8
|
-
<div className="App-header">
|
|
9
|
-
<h2 style={{textAlign: "center", marginBottom: "2vw"}}>$(description)</h2>
|
|
10
|
-
</div>
|
|
11
|
-
<div style={{display: "flex", flexFlow: "column", alignItems: "center"}}>
|
|
12
|
-
<$(Control) id="editor" />
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -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 ReactTemplate_1 = require("../../../../lib/templates/ReactTemplate");
|
|
29
|
-
const templates = new Map([
|
|
30
|
-
["text-editor", { name: "Text Editor", widget: "igTextEditor" }],
|
|
31
|
-
["numeric-editor", { name: "Numeric Editor", widget: "igNumericEditor" }],
|
|
32
|
-
["currency-editor", { name: "Currency Editor", widget: "igCurrencyEditor" }],
|
|
33
|
-
["mask-editor", { name: "Mask Editor", widget: "igMaskEditor" }],
|
|
34
|
-
["date-picker", { name: "Date Picker", widget: "igDatePicker" }]
|
|
35
|
-
]);
|
|
36
|
-
class EditorsComponent extends MultiTemplateComponent_1.MultiTemplateComponent {
|
|
37
|
-
constructor() {
|
|
38
|
-
super(EditorsReactTemplate, templates);
|
|
39
|
-
this.name = "Editors";
|
|
40
|
-
this.group = "Data Entry";
|
|
41
|
-
this.description = "pick from: igTextEditor, igNumericEditor, igCurrencyEditor, igMaskEditor, igDatePicker.";
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
class EditorsReactTemplate extends ReactTemplate_1.ReactTemplate {
|
|
45
|
-
constructor() {
|
|
46
|
-
super(path.join(__dirname, "editors"));
|
|
47
|
-
this.projectType = "es6";
|
|
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/react/es6/financial-chart/financial-chart/files/src/components/__path__/index.js
DELETED
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import $(Control) from "igniteui-react/ui/$(widget).js";
|
|
3
|
-
import { dataObj } from "../../data/financial-data.js";
|
|
4
|
-
|
|
5
|
-
export default class $(ClassName) extends Component {
|
|
6
|
-
constructor(props) {
|
|
7
|
-
super(props);
|
|
8
|
-
this.state = { view: dataObj };
|
|
9
|
-
}
|
|
10
|
-
render() {
|
|
11
|
-
return (
|
|
12
|
-
<div className="$(ClassName)">
|
|
13
|
-
<div className="$(ClassName)-header">
|
|
14
|
-
<h2 style={{textAlign: "center", marginBottom: "3%"}}>$(description)</h2>
|
|
15
|
-
</div>
|
|
16
|
-
<div style={{float: "left", marginLeft: "2vw"}}>
|
|
17
|
-
<$(Control)
|
|
18
|
-
id="financialchart"
|
|
19
|
-
width="40vw"
|
|
20
|
-
height="500px"
|
|
21
|
-
title="Microsoft (MSFT) vs. Adobe (ADBE)"
|
|
22
|
-
subtitle="A comparison of stocks over time"
|
|
23
|
-
horizontalZoomable={true}
|
|
24
|
-
verticalZoomable={true}
|
|
25
|
-
windowResponse="immediate"
|
|
26
|
-
axes={[{
|
|
27
|
-
name: "xAxis",
|
|
28
|
-
type: "categoryX",
|
|
29
|
-
dataSource: this.state.view,
|
|
30
|
-
responseDataKey:"data",
|
|
31
|
-
label: "Date",
|
|
32
|
-
title: "Date",
|
|
33
|
-
interval: 10
|
|
34
|
-
}, {
|
|
35
|
-
name: "yAxis",
|
|
36
|
-
type: "numericY",
|
|
37
|
-
title: "Price",
|
|
38
|
-
}]}
|
|
39
|
-
series={[{
|
|
40
|
-
name: "series1",
|
|
41
|
-
dataSource: this.state.view,
|
|
42
|
-
responseDataKey:"data",
|
|
43
|
-
title: "Price Series",
|
|
44
|
-
type: "financial",
|
|
45
|
-
displayType: "candlestick",
|
|
46
|
-
isTransitionInEnabled: true,
|
|
47
|
-
isHighlightingEnabled: true,
|
|
48
|
-
xAxis: "xAxis",
|
|
49
|
-
yAxis: "yAxis",
|
|
50
|
-
openMemberPath: "Open",
|
|
51
|
-
highMemberPath: "High",
|
|
52
|
-
lowMemberPath: "Low",
|
|
53
|
-
closeMemberPath: "Close",
|
|
54
|
-
showTooltip: true,
|
|
55
|
-
thickness: 1,
|
|
56
|
-
trendLineBrush: "rgba(68, 172, 214, .8)",
|
|
57
|
-
trendLineThickness: 5,
|
|
58
|
-
trendLineType: "exponentialAverage",
|
|
59
|
-
negativeBrush: "rgba(198, 45, 54, .8)"
|
|
60
|
-
}, {
|
|
61
|
-
name: "series2",
|
|
62
|
-
dataSource: this.state.view,
|
|
63
|
-
responseDataKey:"dataAdobe",
|
|
64
|
-
title: "Price Series",
|
|
65
|
-
type: "financial",
|
|
66
|
-
isTransitionInEnabled: true,
|
|
67
|
-
isHighlightingEnabled: true,
|
|
68
|
-
displayType: "candlestick",
|
|
69
|
-
xAxis: "xAxis",
|
|
70
|
-
yAxis: "yAxis",
|
|
71
|
-
openMemberPath: "Open",
|
|
72
|
-
highMemberPath: "High",
|
|
73
|
-
lowMemberPath: "Low",
|
|
74
|
-
closeMemberPath: "Close",
|
|
75
|
-
showTooltip: true,
|
|
76
|
-
thickness: 1,
|
|
77
|
-
trendLineBrush: "rgba(73, 73, 73, .8)",
|
|
78
|
-
trendLineThickness: 5,
|
|
79
|
-
trendLineType: "exponentialAverage",
|
|
80
|
-
negativeBrush: "rgba(198, 45, 54, .8)"
|
|
81
|
-
}]}
|
|
82
|
-
/>
|
|
83
|
-
</div>
|
|
84
|
-
<div style={{float: "left"}}>
|
|
85
|
-
<$(Control)
|
|
86
|
-
id="financialchart"
|
|
87
|
-
width="40vw"
|
|
88
|
-
height="500px"
|
|
89
|
-
|
|
90
|
-
title="Microsoft (MSFT) vs. Adobe (ADBE)"
|
|
91
|
-
subtitle="A comparison of stocks over time"
|
|
92
|
-
horizontalZoomable={true}
|
|
93
|
-
verticalZoomable={true}
|
|
94
|
-
windowResponse="immediate"
|
|
95
|
-
axes={[{
|
|
96
|
-
name: "xAxis",
|
|
97
|
-
type: "categoryX",
|
|
98
|
-
dataSource: this.state.view,
|
|
99
|
-
responseDataKey:"data",
|
|
100
|
-
label: "Date",
|
|
101
|
-
title: "Date",
|
|
102
|
-
interval: 10
|
|
103
|
-
}, {
|
|
104
|
-
name: "yAxis",
|
|
105
|
-
type: "numericY",
|
|
106
|
-
title: "Price",
|
|
107
|
-
}]}
|
|
108
|
-
series={[{
|
|
109
|
-
name: "series1",
|
|
110
|
-
dataSource: this.state.view,
|
|
111
|
-
responseDataKey:"data",
|
|
112
|
-
title: "Price Series",
|
|
113
|
-
type: "financial",
|
|
114
|
-
isTransitionInEnabled: true,
|
|
115
|
-
displayType: "OHLC",
|
|
116
|
-
xAxis: "xAxis",
|
|
117
|
-
yAxis: "yAxis",
|
|
118
|
-
openMemberPath: "Open",
|
|
119
|
-
highMemberPath: "High",
|
|
120
|
-
lowMemberPath: "Low",
|
|
121
|
-
closeMemberPath: "Close",
|
|
122
|
-
showTooltip: true,
|
|
123
|
-
thickness: 2,
|
|
124
|
-
trendLineBrush: "rgba(68, 172, 214, .8)",
|
|
125
|
-
trendLineThickness: 5,
|
|
126
|
-
trendLineType: "exponentialAverage",
|
|
127
|
-
negativeBrush: "rgba(198, 45, 54, .8)"
|
|
128
|
-
}, {
|
|
129
|
-
name: "series2",
|
|
130
|
-
dataSource: this.state.view,
|
|
131
|
-
responseDataKey: "dataAdobe",
|
|
132
|
-
title: "Price Series",
|
|
133
|
-
type: "financial",
|
|
134
|
-
isTransitionInEnabled: true,
|
|
135
|
-
displayType: "OHLC",
|
|
136
|
-
xAxis: "xAxis",
|
|
137
|
-
yAxis: "yAxis",
|
|
138
|
-
openMemberPath: "Open",
|
|
139
|
-
highMemberPath: "High",
|
|
140
|
-
lowMemberPath: "Low",
|
|
141
|
-
closeMemberPath: "Close",
|
|
142
|
-
showTooltip: true,
|
|
143
|
-
thickness: 2,
|
|
144
|
-
trendLineBrush: "rgba(73, 73, 73, .8)",
|
|
145
|
-
trendLineThickness: 5,
|
|
146
|
-
trendLineType: "exponentialAverage",
|
|
147
|
-
negativeBrush: "rgba(198, 45, 54, .8)"
|
|
148
|
-
}]}
|
|
149
|
-
/>
|
|
150
|
-
</div>
|
|
151
|
-
</div>
|
|
152
|
-
);
|
|
153
|
-
}
|
|
154
|
-
}
|