igniteui-cli 8.2.0 → 8.2.3

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.
Files changed (133) hide show
  1. package/lib/commands/build.js +3 -0
  2. package/lib/commands/start.js +4 -1
  3. package/lib/templates/ReactTemplate.d.ts +4 -4
  4. package/lib/templates/ReactTemplate.js +42 -29
  5. package/package.json +4 -4
  6. package/templates/react/es6/bar-chart/default/files/{client → src}/components/__path__/index.js +2 -4
  7. package/templates/react/es6/{column-chart/default/files/client → bar-chart/default/files/src}/data/world-energy-production.js +2 -2
  8. package/templates/react/es6/column-chart/default/files/{client → src}/components/__path__/index.js +2 -6
  9. package/templates/react/es6/{bar-chart/default/files/client → column-chart/default/files/src}/data/world-energy-production.js +0 -0
  10. package/templates/react/es6/combo/combo/files/{client → src}/components/__path__/index.js +2 -4
  11. package/templates/react/es6/doughnut-chart/doughnut-chart/files/{client → src}/components/__path__/index.js +1 -4
  12. package/templates/react/es6/editors/editors/files/{client → src}/components/__path__/index.js +1 -4
  13. package/templates/react/es6/financial-chart/financial-chart/files/{client → src}/components/__path__/index.js +1 -5
  14. package/templates/react/es6/financial-chart/financial-chart/files/{client → src}/data/financial-data.js +1 -1
  15. package/templates/react/es6/funnel-chart/funnel-chart/files/{client → src}/components/__path__/index.js +1 -4
  16. package/templates/react/es6/generate/files/{client → src}/components/__path__/index.js +1 -1
  17. package/templates/react/es6/grid/basic/files/{client → src}/components/__path__/index.js +10 -12
  18. package/templates/react/es6/grid/grid-custom/files/{client → src}/components/__path__/index.js +10 -13
  19. package/templates/react/es6/grid/grid-editing/files/{client → src}/components/__path__/index.js +10 -13
  20. package/templates/react/es6/grid/grid-export/files/src/components/__path__/index.js +124 -0
  21. package/templates/react/es6/grid/grid-export/files/{client/components/__path__/styles.scss → src/components/__path__/styles.css} +0 -0
  22. package/templates/react/es6/grid/grid-export/index.js +2 -1
  23. package/templates/react/es6/grid/grid-templating/files/{client → src}/components/__path__/index.js +1 -5
  24. package/templates/react/es6/grid/grid-templating/files/{client → src}/components/__path__/northwind.js +0 -0
  25. package/templates/react/es6/hierarchical-grid/hierarchical-grid/files/{client → src}/components/__path__/index.js +1 -5
  26. package/templates/react/es6/hierarchical-grid/{hierarchical-grid-export/files/client → hierarchical-grid/files/src}/components/__path__/northwind.js +0 -0
  27. package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/files/src/components/__path__/index.js +82 -0
  28. package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/files/{client → src}/components/__path__/northwind.js +0 -0
  29. package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/files/src/components/__path__/index.js +81 -0
  30. package/templates/react/es6/hierarchical-grid/{hierarchical-grid/files/client → hierarchical-grid-editing/files/src}/components/__path__/northwind.js +5587 -5587
  31. package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/files/src/components/__path__/index.js +112 -0
  32. package/templates/react/es6/hierarchical-grid/{hierarchical-grid-editing/files/client → hierarchical-grid-export/files/src}/components/__path__/northwind.js +0 -0
  33. package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/files/src/components/__path__/styles.css +13 -0
  34. package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/index.js +2 -1
  35. package/templates/react/es6/index.js +1 -1
  36. package/templates/react/es6/line-chart/default/files/src/components/__path__/index.js +76 -0
  37. package/templates/react/es6/pie-chart/pie-chart/files/src/components/__path__/index.js +38 -0
  38. package/templates/react/es6/projects/empty/files/README.md +2 -5
  39. package/templates/react/es6/projects/empty/files/__dot__editorconfig +2 -2
  40. package/templates/react/es6/projects/empty/files/__dot__env +1 -0
  41. package/templates/react/es6/projects/empty/files/__dot__gitignore +18 -8
  42. package/templates/react/es6/projects/empty/files/ignite-ui-cli.json +20 -21
  43. package/templates/react/es6/projects/empty/files/package.json +33 -43
  44. package/templates/react/es6/projects/empty/files/public/favicon.ico +0 -0
  45. package/templates/react/es6/projects/empty/files/public/index.html +42 -0
  46. package/templates/react/es6/projects/empty/files/public/manifest.json +15 -0
  47. package/templates/react/es6/projects/empty/files/public/robots.txt +3 -0
  48. package/templates/react/es6/projects/empty/files/src/App.css +52 -0
  49. package/templates/react/es6/projects/empty/files/src/App.js +39 -0
  50. package/templates/react/es6/projects/empty/files/src/components/home/index.js +25 -0
  51. package/templates/react/es6/projects/empty/files/src/components/navigation-header/index.js +47 -0
  52. package/templates/react/es6/projects/empty/files/src/hoc/asyncComponent.js +50 -0
  53. package/templates/react/es6/projects/empty/files/src/igniteuiResources.js +7 -0
  54. package/templates/react/es6/projects/empty/files/src/index.css +13 -0
  55. package/templates/react/es6/projects/empty/files/src/index.js +23 -0
  56. package/templates/react/es6/projects/empty/files/src/reportWebVitals.js +13 -0
  57. package/templates/react/es6/projects/empty/files/src/routes.json +7 -0
  58. package/templates/react/es6/projects/empty/index.js +1 -8
  59. package/templates/react/es6/radial-chart/radial-chart/files/src/components/__path__/index.js +68 -0
  60. package/templates/react/es6/radial-chart/radial-chart/files/{client → src}/data/temperature.js +2 -2
  61. package/templates/react/es6/scatter-chart/scatter-chart/files/src/components/__path__/index.js +59 -0
  62. package/templates/react/es6/scatter-chart/scatter-chart/files/src/data/temperature.js +58 -0
  63. package/templates/react/es6/tree-grid/tree-grid/files/src/components/__path__/index.js +61 -0
  64. package/templates/react/es6/tree-grid/tree-grid-custom/files/src/components/__path__/index.js +62 -0
  65. package/templates/react/es6/tree-grid/tree-grid-editing/files/src/components/__path__/index.js +62 -0
  66. package/templates/react/es6/tree-grid/tree-grid-export/files/{client → src}/components/__path__/index.js +101 -103
  67. package/templates/react/es6/tree-grid/tree-grid-export/index.js +2 -1
  68. package/templates/react/igr-es6/projects/_base/files/README.md +1 -1
  69. package/templates/react/igr-es6/projects/_base/files/__dot__editorconfig +2 -2
  70. package/templates/react/igr-es6/projects/_base/files/__dot__env +1 -0
  71. package/templates/react/igr-es6/projects/top-nav/files/src/App.js +24 -21
  72. package/templates/react/es6/bar-chart/default/files/client/pages/__path__/index.js +0 -10
  73. package/templates/react/es6/column-chart/default/files/client/pages/__path__/index.js +0 -10
  74. package/templates/react/es6/combo/combo/files/client/pages/__path__/index.js +0 -10
  75. package/templates/react/es6/doughnut-chart/doughnut-chart/files/client/pages/__path__/index.js +0 -10
  76. package/templates/react/es6/editors/editors/files/client/pages/__path__/index.js +0 -10
  77. package/templates/react/es6/financial-chart/financial-chart/files/client/pages/__path__/index.js +0 -10
  78. package/templates/react/es6/funnel-chart/funnel-chart/files/client/pages/__path__/index.js +0 -10
  79. package/templates/react/es6/generate/files/client/pages/__path__/index.js +0 -11
  80. package/templates/react/es6/grid/basic/files/client/pages/__path__/index.js +0 -10
  81. package/templates/react/es6/grid/grid-custom/files/client/pages/__path__/index.js +0 -10
  82. package/templates/react/es6/grid/grid-editing/files/client/pages/__path__/index.js +0 -10
  83. package/templates/react/es6/grid/grid-export/files/client/components/__path__/index.js +0 -124
  84. package/templates/react/es6/grid/grid-export/files/client/pages/__path__/index.js +0 -10
  85. package/templates/react/es6/grid/grid-templating/files/client/pages/__path__/index.js +0 -10
  86. package/templates/react/es6/hierarchical-grid/hierarchical-grid/files/client/pages/__path__/index.js +0 -10
  87. package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/files/client/components/__path__/index.js +0 -85
  88. package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/files/client/pages/__path__/index.js +0 -10
  89. package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/files/client/components/__path__/index.js +0 -85
  90. package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/files/client/pages/__path__/index.js +0 -10
  91. package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/files/client/components/__path__/index.js +0 -112
  92. package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/files/client/components/__path__/styles.scss +0 -13
  93. package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/files/client/pages/__path__/index.js +0 -10
  94. package/templates/react/es6/line-chart/default/files/client/components/__path__/index.js +0 -79
  95. package/templates/react/es6/line-chart/default/files/client/pages/__path__/index.js +0 -10
  96. package/templates/react/es6/pie-chart/pie-chart/files/client/components/__path__/index.js +0 -41
  97. package/templates/react/es6/pie-chart/pie-chart/files/client/pages/__path__/index.js +0 -10
  98. package/templates/react/es6/projects/empty/files/__dot__babelrc +0 -10
  99. package/templates/react/es6/projects/empty/files/__dot__eslintrc +0 -28
  100. package/templates/react/es6/projects/empty/files/__tests__/App.js +0 -19
  101. package/templates/react/es6/projects/empty/files/__tests__/App.spec.js +0 -11
  102. package/templates/react/es6/projects/empty/files/__tests__/CheckboxWithLabel.js +0 -31
  103. package/templates/react/es6/projects/empty/files/__tests__/CheckboxWithLabel.spec.js +0 -19
  104. package/templates/react/es6/projects/empty/files/__tests__/Sum.js +0 -6
  105. package/templates/react/es6/projects/empty/files/__tests__/Sum.spec.js +0 -6
  106. package/templates/react/es6/projects/empty/files/build.js +0 -25
  107. package/templates/react/es6/projects/empty/files/client/_variables.scss +0 -7
  108. package/templates/react/es6/projects/empty/files/client/components/Header/header.scss +0 -21
  109. package/templates/react/es6/projects/empty/files/client/components/Header/index.js +0 -21
  110. package/templates/react/es6/projects/empty/files/client/components/Toolbar/index.js +0 -20
  111. package/templates/react/es6/projects/empty/files/client/components/Toolbar/toolbar.scss +0 -49
  112. package/templates/react/es6/projects/empty/files/client/containers/App/index.js +0 -16
  113. package/templates/react/es6/projects/empty/files/client/containers/App/style.scss +0 -4
  114. package/templates/react/es6/projects/empty/files/client/general.scss +0 -24
  115. package/templates/react/es6/projects/empty/files/client/index.ejs +0 -13
  116. package/templates/react/es6/projects/empty/files/client/index.js +0 -20
  117. package/templates/react/es6/projects/empty/files/client/lines-bottom-right.svg +0 -56
  118. package/templates/react/es6/projects/empty/files/client/pages/Home/index.js +0 -9
  119. package/templates/react/es6/projects/empty/files/client/pages/routes.js +0 -49
  120. package/templates/react/es6/projects/empty/files/client/pages/routesTemplate.js +0 -9
  121. package/templates/react/es6/projects/empty/files/webpack.config.js +0 -163
  122. package/templates/react/es6/radial-chart/radial-chart/files/client/components/__path__/index.js +0 -71
  123. package/templates/react/es6/radial-chart/radial-chart/files/client/pages/__path__/index.js +0 -10
  124. package/templates/react/es6/scatter-chart/scatter-chart/files/client/components/__path__/index.js +0 -63
  125. package/templates/react/es6/scatter-chart/scatter-chart/files/client/data/temperature.js +0 -58
  126. package/templates/react/es6/scatter-chart/scatter-chart/files/client/pages/__path__/index.js +0 -10
  127. package/templates/react/es6/tree-grid/tree-grid/files/client/components/__path__/index.js +0 -64
  128. package/templates/react/es6/tree-grid/tree-grid/files/client/pages/__path__/index.js +0 -10
  129. package/templates/react/es6/tree-grid/tree-grid-custom/files/client/components/__path__/index.js +0 -65
  130. package/templates/react/es6/tree-grid/tree-grid-custom/files/client/pages/__path__/index.js +0 -10
  131. package/templates/react/es6/tree-grid/tree-grid-editing/files/client/components/__path__/index.js +0 -65
  132. package/templates/react/es6/tree-grid/tree-grid-editing/files/client/pages/__path__/index.js +0 -10
  133. package/templates/react/es6/tree-grid/tree-grid-export/files/client/pages/__path__/index.js +0 -10
@@ -0,0 +1,47 @@
1
+ import React, { Component } from "react";
2
+ import { NavLink } from "react-router-dom";
3
+
4
+ export default class NavigationHeader extends Component {
5
+ state = {
6
+ activeItem: null,
7
+ };
8
+
9
+ handleClick(index) {
10
+ this.setState({
11
+ activeItem: index,
12
+ });
13
+ }
14
+
15
+ componentWillMount() {
16
+ let currentRoute = window.location.href.split(window.location.origin)[1];
17
+ if (!currentRoute) {
18
+ currentRoute = "/";
19
+ }
20
+ const activeItem = this.props.routes.findIndex(
21
+ (route) => route.path === currentRoute
22
+ );
23
+ this.setState({
24
+ activeItem,
25
+ });
26
+ }
27
+
28
+ render() {
29
+ return (
30
+ <nav>
31
+ <ul>
32
+ {this.props.routes.map((route, i) => (
33
+ <li key={i} className={this.state.activeItem === i ? "active" : ""}>
34
+ <NavLink
35
+ onClick={() => this.handleClick(i)}
36
+ exact
37
+ to={route.path}
38
+ >
39
+ {route.text}
40
+ </NavLink>
41
+ </li>
42
+ ))}
43
+ </ul>
44
+ </nav>
45
+ );
46
+ }
47
+ }
@@ -0,0 +1,50 @@
1
+ import React, { Component } from "react";
2
+
3
+ // https://reactjs.org/blog/2015/12/16/ismounted-antipattern.html
4
+ const makeCancelable = (promise) => {
5
+ let hasCanceled_ = false;
6
+
7
+ const wrappedPromise = new Promise((resolve, reject) => {
8
+ promise.then(
9
+ (val) => (hasCanceled_ ? reject({ isCanceled: true }) : resolve(val)),
10
+ (error) => (hasCanceled_ ? reject({ isCanceled: true }) : reject(error))
11
+ );
12
+ });
13
+
14
+ return {
15
+ promise: wrappedPromise,
16
+ cancel() {
17
+ hasCanceled_ = true;
18
+ },
19
+ };
20
+ };
21
+
22
+ /**
23
+ * https://medium.com/front-end-weekly/loading-components-asynchronously-in-react-app-with-an-hoc-61ca27c4fda7
24
+ * @param {function} importComponent
25
+ */
26
+ const asyncComponent = (importComponent) => {
27
+ return class extends Component {
28
+ state = {
29
+ component: null,
30
+ };
31
+
32
+ componentDidMount() {
33
+ this.op = makeCancelable(importComponent());
34
+ this.op.promise.then((cmp) => {
35
+ this.setState({ component: cmp.default });
36
+ });
37
+ }
38
+
39
+ componentWillUnmount() {
40
+ this.op.cancel();
41
+ }
42
+
43
+ render() {
44
+ const C = this.state.component;
45
+ return C ? <C {...this.props} /> : null;
46
+ }
47
+ };
48
+ };
49
+
50
+ export default asyncComponent;
@@ -0,0 +1,7 @@
1
+ // Ignite UI Required Style files
2
+ import "ignite-ui/css/themes/infragistics/infragistics.theme.css";
3
+ import "ignite-ui/css/structure/infragistics.css";
4
+
5
+ // Ignite UI Required Combined JavaScript Files
6
+ import "ignite-ui/js/infragistics.core-lite.js";
7
+ import "ignite-ui/js/infragistics.lob-lite.js";
@@ -0,0 +1,13 @@
1
+ body {
2
+ margin: 0;
3
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
4
+ "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
5
+ sans-serif;
6
+ -webkit-font-smoothing: antialiased;
7
+ -moz-osx-font-smoothing: grayscale;
8
+ }
9
+
10
+ code {
11
+ font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
12
+ monospace;
13
+ }
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import ReactDOM from 'react-dom';
3
+ import './index.css';
4
+ import App from './App';
5
+ import reportWebVitals from './reportWebVitals';
6
+
7
+ /** Required in IE11 for Charts */
8
+ Number.isNaN = Number.isNaN || function(value) {
9
+ // eslint-disable-next-line
10
+ return value !== value;
11
+ }
12
+
13
+ ReactDOM.render(
14
+ <React.StrictMode>
15
+ <App />
16
+ </React.StrictMode>,
17
+ document.getElementById('root')
18
+ );
19
+
20
+ // If you want to start measuring performance in your app, pass a function
21
+ // to log results (for example: reportWebVitals(console.log))
22
+ // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
23
+ reportWebVitals();
@@ -0,0 +1,13 @@
1
+ const reportWebVitals = (onPerfEntry) => {
2
+ if (onPerfEntry && onPerfEntry instanceof Function) {
3
+ import("web-vitals").then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
4
+ getCLS(onPerfEntry);
5
+ getFID(onPerfEntry);
6
+ getFCP(onPerfEntry);
7
+ getLCP(onPerfEntry);
8
+ getTTFB(onPerfEntry);
9
+ });
10
+ }
11
+ };
12
+
13
+ export default reportWebVitals;
@@ -0,0 +1,7 @@
1
+ [
2
+ {
3
+ "path": "/",
4
+ "componentPath": "./components/home",
5
+ "text": "Home"
6
+ }
7
+ ]
@@ -10,11 +10,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  const cli_core_1 = require("@igniteui/cli-core");
13
- const fs = require("fs-extra");
14
13
  const path = require("path");
15
14
  class EmptyProject {
16
15
  constructor() {
17
- this._updateFile = "webpack.config.js";
16
+ // public _updateFile: string = "webpack.config.js";
18
17
  this.id = "react";
19
18
  this.name = "empty";
20
19
  this.description = "Ignite UI CLI project for React";
@@ -31,12 +30,6 @@ class EmptyProject {
31
30
  }
32
31
  upgradeIgniteUIPackages(projectPath, packagePath) {
33
32
  return __awaiter(this, void 0, void 0, function* () {
34
- const filePath = path.join(projectPath, this._updateFile);
35
- let configFile = fs.readFileSync(filePath, "utf8");
36
- //comment out core + lob redirects
37
- configFile = configFile.replace(`"ignite-ui/js/infragistics.core.js$"`, `//$&`);
38
- configFile = configFile.replace(`"ignite-ui/js/infragistics.lob.js$"`, `//$&`);
39
- fs.writeFileSync(filePath, configFile);
40
33
  return true;
41
34
  });
42
35
  }
@@ -0,0 +1,68 @@
1
+ import { Component } from 'react';
2
+ import $(Control) from "igniteui-react/ui/$(widget).js";
3
+
4
+ import { data } from "../../data/temperature.js";
5
+
6
+ export default class $(ClassName) extends Component {
7
+ constructor(props) {
8
+ super(props);
9
+ this.state = { view: data };
10
+ }
11
+ render() {
12
+ return (
13
+ <div className="$(ClassName)">
14
+ <div className="$(ClassName)-header">
15
+ <h2 style={{textAlign: "center", marginBottom: "2vw"}}>$(description)</h2>
16
+ </div>
17
+ <div style={{float: "left", marginLeft: "33vw"}}>
18
+ <$(Control)
19
+ id="radialchart"
20
+ width="20vw"
21
+ height="400px"
22
+ dataSource={this.state.view}
23
+ responseDataKey="temperature"
24
+ legend={{ element: "radialLegend" }}
25
+ title="New York City vs. Philadelphia"
26
+ subtitle="A comparison of daily temperatures"
27
+ axes={[{
28
+ name: "angleAxis",
29
+ type: "categoryAngle",
30
+ label: "Time",
31
+ startAngleOffset: -90,
32
+ interval: 1
33
+ }, {
34
+ name: "radiusAxis",
35
+ type: "numericRadius",
36
+ innerRadiusExtentScale: .1,
37
+ maximumValue: 95,
38
+ minimumValue: 75,
39
+ interval: 5,
40
+ radiusExtentScale: .6
41
+ }]}
42
+ series={[{
43
+ name: "series1",
44
+ title: 'Philadelphia',
45
+ type: "radialArea",
46
+ angleAxis: "angleAxis",
47
+ valueAxis: "radiusAxis",
48
+ valueMemberPath: "PhiladelphiaTemp",
49
+ markerType: "circle"
50
+ }, {
51
+ name: "series2",
52
+ title: 'New York City',
53
+ type: "radialArea",
54
+ angleAxis: "angleAxis",
55
+ valueAxis: "radiusAxis",
56
+ valueMemberPath: "NewYorkCityTemp",
57
+ markerType: "circle"
58
+ }]}
59
+ horizontalZoomable={true}
60
+ verticalZoomable={true}
61
+ windowResponse="immediate"
62
+ />
63
+ </div>
64
+ <div id="radialLegend" style={{float: "left"}}></div>
65
+ </div>
66
+ );
67
+ }
68
+ }
@@ -1,5 +1,5 @@
1
1
  var data = {
2
- temperature: [
2
+ temperature: [
3
3
  { "Date": "2013.07.16", "Time": "1:00", "NewYorkCityTemp": 85.46, "PhiladelphiaTemp": 86.72 },
4
4
  { "Date": "2013.07.16", "Time": "3:00", "NewYorkCityTemp": 82.76, "PhiladelphiaTemp": 84.74 },
5
5
  { "Date": "2013.07.16", "Time": "5:00", "NewYorkCityTemp": 80.6, "PhiladelphiaTemp": 82.94 },
@@ -13,4 +13,4 @@ var data = {
13
13
  { "Date": "2013.07.16", "Time": "21:00", "NewYorkCityTemp": 88.52, "PhiladelphiaTemp": 89.78 },
14
14
  { "Date": "2013.07.16", "Time": "23:00", "NewYorkCityTemp": 88.16, "PhiladelphiaTemp": 86.72 }
15
15
  ]};
16
- export { data };
16
+ export { data };
@@ -0,0 +1,59 @@
1
+ import { Component } from 'react';
2
+ import $(Control) from "igniteui-react/ui/$(widget).js";
3
+ import { data } from "../../data/temperature.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", marginBottom: "2vw"}}>$(description)</h2>
15
+ </div>
16
+ <div style={{float: "left", marginLeft: "13vw"}}>
17
+ <$(Control)
18
+ id="scatterchart"
19
+ width="60vw"
20
+ height="400px"
21
+ dataSource={this.state.view}
22
+ responseDataKey="agriculturalData"
23
+ title="U.S. Agricultural Production Per Year"
24
+ subtitle="Data from 1961-2007"
25
+ axes={[{
26
+ name: "xAxis",
27
+ type: "numericX",
28
+ interval: 10,
29
+ title: "Year"
30
+ }, {
31
+ name: "yAxis",
32
+ type: "numericY",
33
+ title: "Billions of USD",
34
+ maximumValue: 200000,
35
+ formatLabel: function (val) {
36
+ var bVal = (val / 1000),
37
+ rounded = Math.round(bVal * 100) / 100;
38
+ return "$"+ rounded;
39
+ }
40
+ }]}
41
+ series={[{
42
+ name: "scatter",
43
+ type: "scatter",
44
+ xAxis: "xAxis",
45
+ yAxis: "yAxis",
46
+ xMemberPath: "Year",
47
+ yMemberPath: "Value",
48
+ markerType: "circle"
49
+ }
50
+ ]}
51
+ horizontalZoomable={true}
52
+ verticalZoomable={true}
53
+ windowResponse="immediate"
54
+ />
55
+ </div>
56
+ </div>
57
+ );
58
+ }
59
+ }
@@ -0,0 +1,58 @@
1
+ /*
2
+ United States Food and Agriculture gross production.
3
+
4
+ Data from: http://data.un.org/
5
+
6
+ Original source: http://faostat.fao.org/
7
+ */
8
+ var data = {
9
+ agriculturalData : [
10
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 2007, "Value_Unit": "1,000,000 Int. $", "Value": 184698, "Population_Unit": "1,000,000 People", "Population": 302 },
11
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 2006, "Value_Unit": "1,000,000 Int. $", "Value": 176803, "Population_Unit": "1,000,000 People", "Population": 299 },
12
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 2005, "Value_Unit": "1,000,000 Int. $", "Value": 181432, "Population_Unit": "1,000,000 People", "Population": 296 },
13
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 2004, "Value_Unit": "1,000,000 Int. $", "Value": 183519, "Population_Unit": "1,000,000 People", "Population": 294 },
14
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 2003, "Value_Unit": "1,000,000 Int. $", "Value": 172458, "Population_Unit": "1,000,000 People", "Population": 291 },
15
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 2002, "Value_Unit": "1,000,000 Int. $", "Value": 167494, "Population_Unit": "1,000,000 People", "Population": 288 },
16
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 2001, "Value_Unit": "1,000,000 Int. $", "Value": 170755, "Population_Unit": "1,000,000 People", "Population": 285 },
17
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 2000, "Value_Unit": "1,000,000 Int. $", "Value": 173640, "Population_Unit": "1,000,000 People", "Population": 282 },
18
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1999, "Value_Unit": "1,000,000 Int. $", "Value": 170083, "Population_Unit": "1,000,000 People", "Population": 279 },
19
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1998, "Value_Unit": "1,000,000 Int. $", "Value": 167311, "Population_Unit": "1,000,000 People", "Population": 275 },
20
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1997, "Value_Unit": "1,000,000 Int. $", "Value": 167072, "Population_Unit": "1,000,000 People", "Population": 272 },
21
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1996, "Value_Unit": "1,000,000 Int. $", "Value": 162066, "Population_Unit": "1,000,000 People", "Population": 269 },
22
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1995, "Value_Unit": "1,000,000 Int. $", "Value": 152325, "Population_Unit": "1,000,000 People", "Population": 266 },
23
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1994, "Value_Unit": "1,000,000 Int. $", "Value": 164433, "Population_Unit": "1,000,000 People", "Population": 263 },
24
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1993, "Value_Unit": "1,000,000 Int. $", "Value": 142796, "Population_Unit": "1,000,000 People", "Population": 260 },
25
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1992, "Value_Unit": "1,000,000 Int. $", "Value": 155467, "Population_Unit": "1,000,000 People", "Population": 258 },
26
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1991, "Value_Unit": "1,000,000 Int. $", "Value": 143249, "Population_Unit": "1,000,000 People", "Population": 255 },
27
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1990, "Value_Unit": "1,000,000 Int. $", "Value": 144644, "Population_Unit": "1,000,000 People", "Population": 253 },
28
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1989, "Value_Unit": "1,000,000 Int. $", "Value": 138218, "Population_Unit": "1,000,000 People", "Population": 250 },
29
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1988, "Value_Unit": "1,000,000 Int. $", "Value": 126910, "Population_Unit": "1,000,000 People", "Population": 248 },
30
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1987, "Value_Unit": "1,000,000 Int. $", "Value": 136752, "Population_Unit": "1,000,000 People", "Population": 245 },
31
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1986, "Value_Unit": "1,000,000 Int. $", "Value": 136708, "Population_Unit": "1,000,000 People", "Population": 243 },
32
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1985, "Value_Unit": "1,000,000 Int. $", "Value": 143144, "Population_Unit": "1,000,000 People", "Population": 241 },
33
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1984, "Value_Unit": "1,000,000 Int. $", "Value": 136529, "Population_Unit": "1,000,000 People", "Population": 238 },
34
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1983, "Value_Unit": "1,000,000 Int. $", "Value": 119197, "Population_Unit": "1,000,000 People", "Population": 236 },
35
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1982, "Value_Unit": "1,000,000 Int. $", "Value": 139500, "Population_Unit": "1,000,000 People", "Population": 234 },
36
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1981, "Value_Unit": "1,000,000 Int. $", "Value": 139390, "Population_Unit": "1,000,000 People", "Population": 232 },
37
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1980, "Value_Unit": "1,000,000 Int. $", "Value": 127118, "Population_Unit": "1,000,000 People", "Population": 229 },
38
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1979, "Value_Unit": "1,000,000 Int. $", "Value": 133091, "Population_Unit": "1,000,000 People", "Population": 227 },
39
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1978, "Value_Unit": "1,000,000 Int. $", "Value": 126211, "Population_Unit": "1,000,000 People", "Population": 225 },
40
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1977, "Value_Unit": "1,000,000 Int. $", "Value": 126192, "Population_Unit": "1,000,000 People", "Population": 223 },
41
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1976, "Value_Unit": "1,000,000 Int. $", "Value": 120877, "Population_Unit": "1,000,000 People", "Population": 221 },
42
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1975, "Value_Unit": "1,000,000 Int. $", "Value": 117511, "Population_Unit": "1,000,000 People", "Population": 219 },
43
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1974, "Value_Unit": "1,000,000 Int. $", "Value": 110119, "Population_Unit": "1,000,000 People", "Population": 217 },
44
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1973, "Value_Unit": "1,000,000 Int. $", "Value": 113008, "Population_Unit": "1,000,000 People", "Population": 215 },
45
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1972, "Value_Unit": "1,000,000 Int. $", "Value": 111439, "Population_Unit": "1,000,000 People", "Population": 213 },
46
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1971, "Value_Unit": "1,000,000 Int. $", "Value": 111234, "Population_Unit": "1,000,000 People", "Population": 211 },
47
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1970, "Value_Unit": "1,000,000 Int. $", "Value": 102786, "Population_Unit": "1,000,000 People", "Population": 209 },
48
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1969, "Value_Unit": "1,000,000 Int. $", "Value": 104285, "Population_Unit": "1,000,000 People", "Population": 207 },
49
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1968, "Value_Unit": "1,000,000 Int. $", "Value": 103420, "Population_Unit": "1,000,000 People", "Population": 205 },
50
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1967, "Value_Unit": "1,000,000 Int. $", "Value": 101177, "Population_Unit": "1,000,000 People", "Population": 203 },
51
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1966, "Value_Unit": "1,000,000 Int. $", "Value": 97277, "Population_Unit": "1,000,000 People", "Population": 201 },
52
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1965, "Value_Unit": "1,000,000 Int. $", "Value": 97704, "Population_Unit": "1,000,000 People", "Population": 199 },
53
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1964, "Value_Unit": "1,000,000 Int. $", "Value": 94323, "Population_Unit": "1,000,000 People", "Population": 197 },
54
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1963, "Value_Unit": "1,000,000 Int. $", "Value": 93700, "Population_Unit": "1,000,000 People", "Population": 194 },
55
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1962, "Value_Unit": "1,000,000 Int. $", "Value": 90275, "Population_Unit": "1,000,000 People", "Population": 191 },
56
+ { "Country": "United States of America", "Element": "Gross Production 1999-2001 (1000 I$)", "Year": 1961, "Value_Unit": "1,000,000 Int. $", "Value": 89816, "Population_Unit": "1,000,000 People", "Population": 189 }
57
+ ]};
58
+ export { data };
@@ -0,0 +1,61 @@
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
+ hierarchicalDS : [
9
+ {
10
+ "id": 0, "tasks": "Project Plan", "start": "6/2/2014", "finish": "8/22/2014", "duration": "60d", "progress": "32%", "products": [
11
+ { "id": 1, "tasks": "Planning", "start": "6/2/2014", "finish": "6/4/2014", "duration": "3d", "progress": "100%" },
12
+ { "id": 2, "tasks": "Write a specification", "start": "6/5/2014", "finish": "6/6/2014", "duration": "2d", "progress": "100%" },
13
+ { "id": 3, "tasks": "Create a demo application", "start": "6/9/2014", "finish": "6/11/2014", "duration": "3d", "progress": "100%" },
14
+ { "id": 4, "tasks": "Collect a feedback", "start": "6/12/2014", "finish": "6/12/2014", "duration": "1d", "progress": "100%" },
15
+ { "id": 5, "tasks": "Design", "start": "6/13/2014", "finish": "6/19/2014", "duration": "5d", "progress": "60%", "products": [
16
+ { "id": 8, "tasks": "Conceptual Design", "start": "6/13/2014", "finish": "6/16/2014", "duration": "2d", "progress": "100%" },
17
+ { "id": 9, "tasks": "Preliminary Design", "start": "6/17/2014", "finish": "6/18/2014", "duration": "2d", "progress": "65%" },
18
+ { "id": 10, "tasks": "Final Design", "start": "6/19/2014", "finish": "6/19/2014", "duration": "1d", "progress": "15%" }
19
+ ]},
20
+ {
21
+ "id": 6, "tasks": "Development", "start": "6/20/2014", "finish": "8/20/2014", "duration": "44d", "progress": "5%", "products": [
22
+ { "id": 11, "tasks": "Implementation", "start": "6/20/2014", "finish": "7/17/2014", "duration": "20d", "progress": "5%" },
23
+ { "id": 12, "tasks": "Testing", "start": "7/18/2014", "finish": "7/31/2014", "duration": "10d", "progress": "0%" },
24
+ { "id": 13, "tasks": "Bug fixing", "start": "8/1/2014", "finish": "8/14/2014", "duration": "10d", "progress": "0%" },
25
+ { "id": 14, "tasks": "Documenting", "start": "8/15/2014", "finish": "8/20/2014", "duration": "4d", "progress": "0%" }
26
+ ]
27
+ },
28
+ { "id": 7, "tasks": "Project Complete", "start": "8/21/2014", "finish": "8/22/2014", "duration": "2d", "progress": "0%" }
29
+ ]
30
+ }
31
+ ]
32
+ };
33
+ }
34
+ render() {
35
+ return (
36
+ <div className="App">
37
+ <div className="App-header">
38
+ <h2 style={{textAlign: "center"}}>$(description)</h2>
39
+ </div>
40
+ <$(Control)
41
+ id="checkboxModeTreeGrid"
42
+ width="100%"
43
+ dataSource={this.state.hierarchicalDS}
44
+ autoGenerateColumns={false}
45
+ height="500"
46
+ primaryKey="id"
47
+ columns={[
48
+ { headerText: "ID", key: "id", width: "10%", dataType: "number", hidden: true },
49
+ { headerText: "Tasks", key: "tasks", width: "30%", dataType: "string" },
50
+ { headerText: "Start", key: "start", width: "20%", dataType: "string" },
51
+ { headerText: "Finish", key: "finish", width: "20%", dataType: "string" },
52
+ { headerText: "Duration", key: "duration", width: "20%", dataType: "string" },
53
+ { headerText: "Progress", key: "progress", width: "10%", dataType: "string" }
54
+ ]}
55
+ childDataKey="products"
56
+ features={$(treeGridFeatures)}
57
+ />
58
+ </div>
59
+ );
60
+ }
61
+ }
@@ -0,0 +1,62 @@
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
+ hierarchicalDS : [
9
+ {
10
+ "id": 0, "tasks": "Project Plan", "start": "6/2/2014", "finish": "8/22/2014", "duration": "60d", "progress": "32%", "products": [
11
+ { "id": 1, "tasks": "Planning", "start": "6/2/2014", "finish": "6/4/2014", "duration": "3d", "progress": "100%" },
12
+ { "id": 2, "tasks": "Write a specification", "start": "6/5/2014", "finish": "6/6/2014", "duration": "2d", "progress": "100%" },
13
+ { "id": 3, "tasks": "Create a demo application", "start": "6/9/2014", "finish": "6/11/2014", "duration": "3d", "progress": "100%" },
14
+ { "id": 4, "tasks": "Collect a feedback", "start": "6/12/2014", "finish": "6/12/2014", "duration": "1d", "progress": "100%" },
15
+ { "id": 5, "tasks": "Design", "start": "6/13/2014", "finish": "6/19/2014", "duration": "5d", "progress": "60%", "products": [
16
+ { "id": 8, "tasks": "Conceptual Design", "start": "6/13/2014", "finish": "6/16/2014", "duration": "2d", "progress": "100%" },
17
+ { "id": 9, "tasks": "Preliminary Design", "start": "6/17/2014", "finish": "6/18/2014", "duration": "2d", "progress": "65%" },
18
+ { "id": 10, "tasks": "Final Design", "start": "6/19/2014", "finish": "6/19/2014", "duration": "1d", "progress": "15%" }
19
+ ]},
20
+ {
21
+ "id": 6, "tasks": "Development", "start": "6/20/2014", "finish": "8/20/2014", "duration": "44d", "progress": "5%", "products": [
22
+ { "id": 11, "tasks": "Implementation", "start": "6/20/2014", "finish": "7/17/2014", "duration": "20d", "progress": "5%" },
23
+ { "id": 12, "tasks": "Testing", "start": "7/18/2014", "finish": "7/31/2014", "duration": "10d", "progress": "0%" },
24
+ { "id": 13, "tasks": "Bug fixing", "start": "8/1/2014", "finish": "8/14/2014", "duration": "10d", "progress": "0%" },
25
+ { "id": 14, "tasks": "Documenting", "start": "8/15/2014", "finish": "8/20/2014", "duration": "4d", "progress": "0%" }
26
+ ]
27
+ },
28
+ { "id": 7, "tasks": "Project Complete", "start": "8/21/2014", "finish": "8/22/2014", "duration": "2d", "progress": "0%" }
29
+ ]
30
+ }
31
+ ]
32
+ };
33
+ }
34
+ render() {
35
+ return (
36
+ <div className="App">
37
+ <div className="App-header">
38
+ <h2 style={{textAlign: "center"}}>$(description)</h2>
39
+ </div>
40
+ <$(Control)
41
+ id="checkboxModeTreeGrid"
42
+ width="100%"
43
+ dataSource={this.state.hierarchicalDS}
44
+ autoGenerateColumns={false}
45
+ autoCommit={true}
46
+ height="500"
47
+ primaryKey="id"
48
+ columns={[
49
+ { headerText: "ID", key: "id", width: "10%", dataType: "number", hidden: true },
50
+ { headerText: "Tasks", key: "tasks", width: "30%", dataType: "string" },
51
+ { headerText: "Start", key: "start", width: "20%", dataType: "string" },
52
+ { headerText: "Finish", key: "finish", width: "20%", dataType: "string" },
53
+ { headerText: "Duration", key: "duration", width: "20%", dataType: "string" },
54
+ { headerText: "Progress", key: "progress", width: "10%", dataType: "string" }
55
+ ]}
56
+ childDataKey="products"
57
+ features={$(treeGridFeatures)}
58
+ />
59
+ </div>
60
+ );
61
+ }
62
+ }
@@ -0,0 +1,62 @@
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
+ hierarchicalDS : [
9
+ {
10
+ "id": 0, "tasks": "Project Plan", "start": "6/2/2014", "finish": "8/22/2014", "duration": "60d", "progress": "32%", "products": [
11
+ { "id": 1, "tasks": "Planning", "start": "6/2/2014", "finish": "6/4/2014", "duration": "3d", "progress": "100%" },
12
+ { "id": 2, "tasks": "Write a specification", "start": "6/5/2014", "finish": "6/6/2014", "duration": "2d", "progress": "100%" },
13
+ { "id": 3, "tasks": "Create a demo application", "start": "6/9/2014", "finish": "6/11/2014", "duration": "3d", "progress": "100%" },
14
+ { "id": 4, "tasks": "Collect a feedback", "start": "6/12/2014", "finish": "6/12/2014", "duration": "1d", "progress": "100%" },
15
+ { "id": 5, "tasks": "Design", "start": "6/13/2014", "finish": "6/19/2014", "duration": "5d", "progress": "60%", "products": [
16
+ { "id": 8, "tasks": "Conceptual Design", "start": "6/13/2014", "finish": "6/16/2014", "duration": "2d", "progress": "100%" },
17
+ { "id": 9, "tasks": "Preliminary Design", "start": "6/17/2014", "finish": "6/18/2014", "duration": "2d", "progress": "65%" },
18
+ { "id": 10, "tasks": "Final Design", "start": "6/19/2014", "finish": "6/19/2014", "duration": "1d", "progress": "15%" }
19
+ ]},
20
+ {
21
+ "id": 6, "tasks": "Development", "start": "6/20/2014", "finish": "8/20/2014", "duration": "44d", "progress": "5%", "products": [
22
+ { "id": 11, "tasks": "Implementation", "start": "6/20/2014", "finish": "7/17/2014", "duration": "20d", "progress": "5%" },
23
+ { "id": 12, "tasks": "Testing", "start": "7/18/2014", "finish": "7/31/2014", "duration": "10d", "progress": "0%" },
24
+ { "id": 13, "tasks": "Bug fixing", "start": "8/1/2014", "finish": "8/14/2014", "duration": "10d", "progress": "0%" },
25
+ { "id": 14, "tasks": "Documenting", "start": "8/15/2014", "finish": "8/20/2014", "duration": "4d", "progress": "0%" }
26
+ ]
27
+ },
28
+ { "id": 7, "tasks": "Project Complete", "start": "8/21/2014", "finish": "8/22/2014", "duration": "2d", "progress": "0%" }
29
+ ]
30
+ }
31
+ ]
32
+ };
33
+ }
34
+ render() {
35
+ return (
36
+ <div className="App">
37
+ <div className="App-header">
38
+ <h2 style={{textAlign: "center"}}>$(description)</h2>
39
+ </div>
40
+ <$(Control)
41
+ id="checkboxModeTreeGrid"
42
+ width="100%"
43
+ dataSource={this.state.hierarchicalDS}
44
+ autoGenerateColumns={false}
45
+ autoCommit={true}
46
+ height="500"
47
+ primaryKey="id"
48
+ columns={[
49
+ { headerText: "ID", key: "id", width: "10%", dataType: "number", hidden: true },
50
+ { headerText: "Tasks", key: "tasks", width: "30%", dataType: "string" },
51
+ { headerText: "Start", key: "start", width: "20%", dataType: "string" },
52
+ { headerText: "Finish", key: "finish", width: "20%", dataType: "string" },
53
+ { headerText: "Duration", key: "duration", width: "20%", dataType: "string" },
54
+ { headerText: "Progress", key: "progress", width: "10%", dataType: "string" }
55
+ ]}
56
+ childDataKey="products"
57
+ features={$(treeGridFeatures)}
58
+ />
59
+ </div>
60
+ );
61
+ }
62
+ }