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
@@ -1,21 +0,0 @@
1
- @import "client/variables";
2
-
3
- .header-container {
4
- background-color: $grey;
5
- padding: 10px;
6
- user-select: none;
7
- -webkit-user-select: none;
8
-
9
- .header-title {
10
- color: $white;
11
- margin: 0;
12
- font-size: 1.4em;
13
- }
14
-
15
- &.header-main {
16
- background-color: #0099cc;
17
- margin: -7px -7px 50px -7px;
18
- text-align: center;
19
- box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.26), 0 4px 5px 0 rgba(0, 0, 0, 0.12), 0 1px 10px 0 rgba(0, 0, 0, 0.08);
20
- }
21
- }
@@ -1,21 +0,0 @@
1
- import React, { PropTypes } from 'react';
2
- import './header.scss';
3
-
4
- const { string } = PropTypes;
5
-
6
- const Header = ({ title, className }) => {
7
- const styles = `header-container ${className}`;
8
-
9
- return (
10
- <header className={styles}>
11
- <h1 className="header-title">{title}</h1>
12
- </header>
13
- );
14
- };
15
-
16
- Header.propTypes = {
17
- className: string,
18
- title: string
19
- };
20
-
21
- export default Header;
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import { Link } from 'react-router/es6';
3
- import './toolbar.scss';
4
- import data from '../../pages/routesTemplate.js';
5
-
6
- var links = [];
7
- for (var i = 0; i < data.length; i++) {
8
- links.push(
9
- <Link activeClassName="active" to={data[i].path} key={data[i].text}>
10
- {data[i].text}
11
- </Link>
12
- );
13
- }
14
-
15
- export default () => (
16
- <nav className="navbar">
17
- <li className="nav-menu-item-logo"><div>$(name)</div></li>
18
- {links}
19
- </nav>
20
- );
@@ -1,49 +0,0 @@
1
- @import "client/variables";
2
-
3
- .navbar {
4
- width: 250px;
5
- height: 100%;
6
- flex-basis: 250px;
7
- flex-shrink: 0;
8
- list-style-type: none;
9
- margin: 0;
10
- padding: 0;
11
- overflow: auto;
12
- background-color: #e6e6e6;
13
-
14
- li.nav-menu-item-logo div {
15
- text-align: center;
16
- background-color: white;
17
- color: #0099cc;
18
- font-size: 1.4em;
19
- }
20
-
21
- a {
22
- background-color: white;
23
- color: black;
24
- display: block;
25
- padding: 14px 16px;
26
- text-decoration: none;
27
- }
28
-
29
- a:hover {
30
- background-color: #f9f9f9;
31
- color: #0099cc;
32
- transition-duration: 0.15s;
33
- }
34
- a.active {
35
- background-color: #f4f4f4;
36
- color: #0099cc;
37
- }
38
-
39
- li {
40
- float: none;
41
- }
42
-
43
- li div {
44
- display: block;
45
- text-align: right;
46
- padding: 14px 16px;
47
- text-decoration: none;
48
- }
49
- }
@@ -1,16 +0,0 @@
1
- import React, { PropTypes } from 'react';
2
- import Toolbar from 'components/Toolbar';
3
- import './style.scss';
4
-
5
- const App = (props) => (
6
- <main className="viewport">
7
- <Toolbar />
8
- {props.children}
9
- </main>
10
- );
11
-
12
- App.propTypes = {
13
- children: PropTypes.node
14
- };
15
-
16
- export default App;
@@ -1,4 +0,0 @@
1
- .viewport {
2
- display: flex;
3
- height: 100%;
4
- }
@@ -1,24 +0,0 @@
1
- @charset "UTF-8";
2
- @import "./variables";
3
-
4
- html, body {
5
- height: 100%;
6
- }
7
-
8
- body {
9
- font-family: Arial, Helvetica, sans-serif;
10
- padding: 0;
11
- margin: 0;
12
- background: url(lines-bottom-right.svg) right bottom;
13
- background-repeat: no-repeat;
14
- }
15
-
16
- #root {
17
- height: 100%;
18
- }
19
-
20
- article {
21
- flex: 1 1 auto;
22
- padding: 5px;
23
- overflow-y: auto;
24
- }
@@ -1,13 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta name="viewport" content="width=device-width, maximum-scale=1.0, minimum-scale=1.0, initial-scale=1.0" />
5
- <meta charset="utf-8">
6
- <link href="ignite-ui/css/themes/infragistics/infragistics.theme.css" rel="stylesheet" />
7
- <link href="ignite-ui/css/structure/infragistics.css" rel="stylesheet" />
8
- <title>Ignite UI CLI React</title>
9
- </head>
10
- <body>
11
- <div id="root"></div>
12
- </body>
13
- </html>
@@ -1,20 +0,0 @@
1
- import { render } from 'react-dom';
2
- import React from 'react';
3
- import Root from 'pages/routes';
4
- import 'general.scss';
5
-
6
- render(
7
- <Root />,
8
- document.getElementById('root')
9
- );
10
-
11
- if (module.hot) {
12
- module.hot.accept('pages/routes', () => {
13
- const NewRoot = require('pages/routes').default;
14
-
15
- render(
16
- <NewRoot />,
17
- document.getElementById('root')
18
- );
19
- });
20
- }
@@ -1,56 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Generator: Adobe Illustrator 20.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
- <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
- viewBox="0 0 369.1 160.7" style="enable-background:new 0 0 369.1 160.7;" xml:space="preserve" preserveAspectRatio="xMaxYMax">
5
- <style type="text/css">
6
-
7
- .st0{opacity:0.45;clip-path:url(#SVGID_2_);fill:none;stroke:#488FCD;stroke-width:0.2676;stroke-miterlimit:10;enable-background:new ;}
8
- </style>
9
- <g>
10
- <g>
11
- <g>
12
- <defs>
13
- <rect id="SVGID_1_" y="0.7" width="368.6" height="159.2"/>
14
- </defs>
15
- <clipPath id="SVGID_2_">
16
- <use xlink:href="#SVGID_1_" style="overflow:visible;"/>
17
- </clipPath>
18
- <path class="st0" d="M121,109.2l28.3,34.8 M140.6,125.8L121,109.2 M169.1,163.1l-28.5-37.4 M149.3,144l19.7,19.1 M169.1,163.1
19
- l-67.6,54 M92.6,183.6l8.9,33.5 M149.3,144l-56.7,39.6 M140.6,125.8l-111.4,70 M101.4,217.1L34,201.6 M34.1,157.1l58.4,26.5
20
- M25.6,191.6l8.5-34.5 M121,109.2l-86.9,47.9 M166.3,69l51,49.2 M97.6,86l68.7-17 M214.1,163.1L97.6,86 M217.3,118.2l-3.2,44.9
21
- M214.1,163.1L129.5,226 M163.9,162.5L129.6,226 M217.3,118.2l-53.5,44.3 M97.6,86l-80.9,95 M129.5,226.1l-87.7-15.2
22
- M104.7,132.6l59.2,29.9 M22,187.2l82.7-54.6 M166.3,69l-61.6,63.6 M-0.5,160.6l122.8-13.8 M110.4,262.5L94.1,273 M122.4,146.8
23
- l-11.9,115.7 M110.4,262.5l-28.6-4.2 M89.1,177l-11.6,76.2 M122.4,146.8L89.1,177 M25.3,191.2L89.1,177 M212.7,81l5.4,43.6
24
- M264.7,89.3l-52-8.3 M254.6,140.3l10.1-51 M218.1,124.6l36.5,15.6 M254.6,140.3l-52.9,52.2 M170.5,162.7l31.2,29.7 M218.1,124.6
25
- l-47.6,38.1 M264.7,89.3l-83.5,67.5 M201.7,192.5l-20.5-35.7 M142.6,125.2l27.9,37.6 M181.2,156.8l-38.6-31.6 M212.7,81
26
- l-70.1,44.2 M307,23.6l17.3,64.1 M368.6,0.7L307,23.6 M405.2,113.3l11.5-55.4 M324.2,87.7l81,25.6 M405.2,113.3L277.8,191
27
- M255.9,137.8l21.9,53.2 M324.2,87.7l-68.4,50.2 M382,16.6L218.9,143.3 M277.8,191l-58.9-47.8 M220.4,98.3l35.5,39.5
28
- M218.9,143.3l1.5-44.9 M307,23.6l-86.6,74.7 M195.1,38l94.3,61.3 M205.3,405.1L195.1,38 M313.4,218.5l-19.9,137.2 M289.3,99.3
29
- l24.1,119.2 M313.4,218.5l-110.2,10.7 M200.5,146.7l2.6,82.5 M289.3,99.3l-88.8,47.4 M203.2,229.2l-85.1,72.3 M80.7,168.2
30
- l119.8-21.6 M68.2,242.2l12.5-74 M195.1,38L80.7,168.2 M369.6,274.6l16.4,3.3 M154.1,123.4l215.5,151.2 M369.6,274.6l-8,23.8
31
- M154.1,123.4L33.7,201.2 M388.1,150l-34.5-40.5 M369.7,133.8l18.4,16.2 M333.3,89.6l36.3,44.3 M353.5,109.5l-20.2-19.9
32
- M333.3,89.6l68.8-49 M353.5,109.5l71-42.3 M369.7,133.8l78.8-38.2 M388.1,150l79-32.3 M336.1,192.6L279,139.4 M444.5,192.7
33
- l-108.4-0.1 M293.3,97.7l151.2,95 M279,139.4l14.3-41.7 M293.3,97.7l94.6-74 M340.4,90.5l49.9-63.9 M279,139.4l61.5-48.9
34
- M444.5,192.7l49.3-43.2 M415.9,125.8l-75.4-35.3 M458.5,107.5l-42.6,18.3 M336.1,192.6l79.8-66.8 M460.5,109.9l-59.3,3.2
35
- M401.1,113.2l15.4-55.5 M401.1,113.2l34.4-32.9 M64.6,232.9l38-49.8 M60.7,233.2l3.9-0.3 M44.9,179.9l-16.4,15.2 M102.6,183.1
36
- l-57.7-3.2 M44.9,179.9l-4.1-27.2 M111.7,161.3l-70.9-8.7 M102.6,183.1l9.1-21.8 M40.8,152.7l-28.9,22.5 M65.8,218.3l46-56.9
37
- M48.7,219l17.1-0.7 M64.6,232.9l1.2-14.6 M32.6,186.2l-11.8-0.3 M25.5,191.4l7.1-5.2 M29,195.6l3.6-9.4 M88.6,158.4l17.3-25.2
38
- M88.6,158.4l69.8,1.3 M158.9,149.7l-22.6-27.6 M158.4,159.8l0.5-10.1 M136.3,122.1l-30.4,11.1 M50,154.9l-26.6,18.3 M116.9,200
39
- l-93.5-26.8 M84.7,205.5l14.4-37.6 M102.8,221.4l14.1-21.5 M102.7,164.7l0.2,56.8 M71,210.1l13.7-4.6 M38.9,188.2L71,210.1
40
- M99.1,167.8l-36.8,7.1 M26.3,188.6l12.5-0.4 M62.3,174.9l-36,13.7 M44.8,172.2l57.9-7.5 M50,154.9l-5.2,17.3 M201.6,140.3
41
- l14,3.2 M215.5,143.5l-25.8,28.1 M189.7,171.7l-3.5-2.1 M168.2,158.9l-7.4-9.2 M160.8,149.8l2.2-37.5 M197.9,99.5l3.3,37.7
42
- M163,112.3l34.9-12.8 M228,118.9l24.6,15.3 M221.1,99.2L228,119 M258.2,122.2l-5.1-34.8 M252.6,134.2l5.6-12 M253.1,87.4
43
- l-31.9,11.7 M300.3,153.4l-28.4-51.3 M271.8,102.2l2.3-12.8 M201.5,175.7l25.4-43.1 M266.3,181.7l34-28.3 M236.2,127.6l30.1,54.1
44
- M171.5,194.8l14.7-25.2 M96.7,165.3l74.8,29.5 M193.8,178.8l7.6-3.1 M171.6,151.9l14.6,17.8 M215.9,137.9l-14.6-0.7
45
- M199.6,146.8l16.3-8.9 M172.8,135.8l-76.1,29.6 M226.9,132.6l-17.7,1.5 M171.3,148.7l0.3,3.2 M209.2,134.1l-7.9,3 M219.6,122.8
46
- l16.6,4.8 M274.1,89.4l-54.5,33.4 M249.7,190.5L197,108.1 M149.2,90.2l10.2,36.8 M197,108.1l-47.8-17.8 M210,410.7l39.8-220.3
47
- M159.3,127l-26.1,9.8 M99,159l87.5,223.9 M133.3,136.9l-26.6,1.8 M106.7,138.6L99,159 M330.1,159.1l-49.5-24.3 M330.8,121.2
48
- l-0.7,37.9 M333.1,90.5l19.1-38.9 M280.6,134.8l52.6-44.3 M352.2,51.6l59.9,28.5 M412.1,80.1l-81.3,41.1 M445.9,96.8l-98.7-3.1
49
- M414.3,125.1l31.6-28.3 M346.4,105.5l27.3,31.9 M347.2,93.7l-0.8,11.8 M373.7,137.4l40.6-12.3 M434.1,78.6l-3.2,6.1 M426.2,89.1
50
- l3.2-16.1 M430.9,84.7l7.3-1.1 M441.8,87.7l-15.6,1.4 M89.7,188.6L80,177.9 M80,177.9l24.5-7.5 M99,179.1l-5.7,7.1 M93.3,186.2
51
- l-3.6,2.3 M104.5,170.3l-5.5,8.8 M27,193.3l3.8-2.5 M30.8,190.8l-3,3.4 M186.3,169.6l-18-10.7 M201.3,137.2l0.3,3.2 M186.3,169.6
52
- l13.3-22.8 M186.3,169.6l7.6,9.2 M201.3,137.2l-28.5-1.4 M201.3,137.2l-30,11.5"/>
53
- </g>
54
- </g>
55
- </g>
56
- </svg>
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import Header from 'components/Header';
3
-
4
- export default () => (
5
- <article className="home">
6
- <Header title="$(description): $(name)" className="header-main" />
7
- <img src="https://static.infragistics.com/marketing/Website/products/ignite/Ignite-header-apps-960.png" alt="Ignite UI" height="402" width="402" />
8
- </article>
9
- );
@@ -1,49 +0,0 @@
1
- import React from 'react';
2
- import { Router, browserHistory } from 'react-router/es6';
3
- import App from 'containers/App';
4
- //import { default as createdRoutes } from './routesComponent';
5
- import data from './routesTemplate.js';
6
-
7
- function errorLoading(err) {
8
- console.error('Dynamic page loading failed', err);
9
- }
10
- function loadRoute(cb) {
11
- return (module) => cb(null, module.default);
12
- }
13
- var p = [];
14
- for (var i = 0; i < data.length; i++) {
15
- var element = data[i];
16
- var folder = element["folder"];
17
-
18
-
19
- var currentObj = {
20
- "path": element["path"],
21
- "folder": element["folder"],
22
- "getComponent": function(location, cb) {
23
- //It's possible to pass a partial expression to import() - https://webpack.js.org/guides/migrating/#dynamic-expressions
24
- //D.P. Must have intial path for dynamic load to work and must match file as there's no extra compilation
25
- System.import(`./${this.folder}`).then((module) => {
26
- cb(null, module.default);
27
- })
28
- .catch(errorLoading);
29
- }
30
- };
31
-
32
- p.push(currentObj);
33
- }
34
-
35
-
36
- //console.log("Created routes: " + createdRoutes);
37
- const routes = {
38
- component: App,
39
- childRoutes: p
40
- };
41
- //console.log(" App :" + routes.component +" Created routes: " + routes.childRoutes);
42
- //console.log([
43
- // { path: '/', getComponent(location, cb) { System.import('pages/Home').then(loadRoute(cb)).catch(errorLoading); } },
44
- // { path: '/numericeditor', getComponent(location, cb) { System.import('pages/NumericEditor').then(loadRoute(cb)).catch(errorLoading); } },
45
- // { path: '/combo', getComponent(location, cb) { System.import('pages/Combo').then(loadRoute(cb)).catch(errorLoading); } }
46
- //]);
47
- //console.log(p);
48
- //console.log(routes.childRoutes[2]);
49
- export default () => <Router history={browserHistory} routes={routes} />;
@@ -1,9 +0,0 @@
1
- var data = [
2
- {
3
- "path": "/",
4
- "folder": "Home/index",
5
- "text": "Home"
6
- }
7
- ];
8
-
9
- export default data;
@@ -1,163 +0,0 @@
1
- const path = require('path');
2
- const express = require('express');
3
- const webpack = require('webpack');
4
- const ExtractTextPlugin = require('extract-text-webpack-plugin');
5
- const HtmlWebpackPlugin = require('html-webpack-plugin');
6
-
7
- const nodeEnv = process.env.NODE_ENV || 'development';
8
- const isProd = nodeEnv === 'production';
9
-
10
- const sourcePath = path.join(__dirname, './client');
11
- const staticsPath = path.join(__dirname, './static');
12
-
13
- const config = require("./ignite-ui-cli.json");
14
-
15
- const extractCSS = new ExtractTextPlugin({ filename: 'style.css', disable: false, allChunks: true });
16
-
17
- const plugins = [
18
- new webpack.optimize.CommonsChunkPlugin({
19
- name: 'vendor',
20
- minChunks: Infinity,
21
- filename: 'vendor.bundle.js'
22
- }),
23
- new webpack.DefinePlugin({
24
- 'process.env': { NODE_ENV: JSON.stringify(nodeEnv) }
25
- }),
26
- new HtmlWebpackPlugin({
27
- template: sourcePath + '/index.ejs',
28
- production: isProd,
29
- inject: true,
30
- }),
31
- ];
32
-
33
- const jsEntry = [
34
- 'index',
35
- 'pages/Home',
36
- ];
37
-
38
- if (isProd) {
39
- plugins.push(
40
- new webpack.LoaderOptionsPlugin({
41
- minimize: true,
42
- debug: true
43
- }),
44
- new webpack.optimize.UglifyJsPlugin({
45
- compress: {
46
- warnings: false,
47
- screw_ie8: true,
48
- conditionals: true,
49
- unused: true,
50
- comparisons: true,
51
- sequences: true,
52
- dead_code: true,
53
- evaluate: true,
54
- if_return: true,
55
- join_vars: true,
56
- },
57
- output: {
58
- comments: false
59
- },
60
- }),
61
- extractCSS
62
- );
63
-
64
- jsEntry.unshift(
65
- 'webpack-dev-server/client?http://localhost:3000',
66
- 'webpack/hot/only-dev-server'
67
- );
68
- } else {
69
- plugins.push(
70
- new webpack.HotModuleReplacementPlugin(),
71
- new webpack.NamedModulesPlugin()
72
- );
73
- }
74
-
75
- module.exports = {
76
- devtool: isProd ? 'source-map' : 'cheap-module-source-map',
77
- context: sourcePath,
78
- entry: {
79
- js: jsEntry,
80
- vendor: [
81
- 'react',
82
- 'react-dom'
83
- ]
84
- },
85
- output: {
86
- path: staticsPath,
87
- filename: 'bundle.js',
88
- publicPath: '/',
89
- },
90
- module: {
91
- rules: [
92
- {
93
- test: /\.html$/,
94
- use: {
95
- loader: 'file-loader',
96
- query: {
97
- name: '[name].[ext]'
98
- }
99
- }
100
- },
101
- {
102
- test: /\.scss$/,
103
- use: isProd ?
104
- extractCSS.extract({
105
- fallbackLoader: 'style-loader',
106
- loader: ['css-loader', 'sass-loader'],
107
- }) :
108
- ['style-loader', 'css-loader', 'sass-loader']
109
- },
110
- {
111
- test: /\.(js|jsx)$/,
112
- exclude: /node_modules/,
113
- use: [
114
- {
115
- loader: 'babel-loader',
116
- query: {
117
- cacheDirectory: true
118
- }
119
- }
120
- ]
121
- },
122
- {
123
- test: /\.(gif|png|jpg|jpeg\ttf|eot|svg|woff(2)?)(\?[a-z0-9]+)?$/,
124
- use: 'file-loader'
125
- }
126
- ],
127
- },
128
- resolve: {
129
- extensions: ['.js', '.jsx'],
130
- alias: {
131
- // --- Ignite UI resources aliasing. WARNING: auto-updated ---
132
- "ignite-ui/js/infragistics.core.js$": "ignite-ui/js/infragistics.core-lite.js",
133
- "ignite-ui/js/infragistics.lob.js$": "ignite-ui/js/infragistics.lob-lite.js",
134
- "ignite-ui": config.project.igniteuiSource.split("node_modules/").pop()
135
- },
136
- modules: [
137
- sourcePath,
138
- 'node_modules'
139
- ]
140
- },
141
- plugins: plugins,
142
- devServer: {
143
- clientLogLevel: "error",
144
- contentBase: './client',
145
- //contentBase: ['./client', './node_modules'],
146
- historyApiFallback: true,
147
- port: 3002,
148
- open: true,
149
- hot: true,
150
- compress: isProd,
151
- stats: { colors: true },
152
- setup: function(app) {
153
- // Here you can access the Express app object and add your own custom middleware to it.
154
- // For example, to define custom handlers for some paths:
155
- // app.get('/some/path', function(req, res) {
156
- // res.json({ custom: 'response' });
157
- // });
158
-
159
- // --- !!! Ignite UI resources handler !!! ---
160
- app.use('/ignite-ui', express.static( path.join(__dirname, config.project.igniteuiSource) ));
161
- }
162
- }
163
- };
@@ -1,71 +0,0 @@
1
- import React, { Component } from 'react';
2
- import 'jquery';
3
- import 'jquery-ui';
4
- $(igniteImports)
5
- import $(Control) from "igniteui-react/ui/$(widget).js";
6
-
7
- import { data } from "../../data/temperature.js";
8
-
9
- export default class $(ClassName) extends Component {
10
- constructor(props) {
11
- super(props);
12
- this.state = { view: data };
13
- }
14
- render() {
15
- return (
16
- <div className="$(ClassName)">
17
- <div className="$(ClassName)-header">
18
- <h2 style={{textAlign: "center", marginBottom: "2vw"}}>$(description)</h2>
19
- </div>
20
- <div style={{float: "left", marginLeft: "33vw"}}>
21
- <$(Control)
22
- id="radialchart"
23
- width="20vw"
24
- height="400px"
25
- dataSource={this.state.view}
26
- responseDataKey="temperature"
27
- legend={{ element: "radialLegend" }}
28
- title="New York City vs. Philadelphia"
29
- subtitle="A comparison of daily temperatures"
30
- axes={[{
31
- name: "angleAxis",
32
- type: "categoryAngle",
33
- label: "Time",
34
- startAngleOffset: -90,
35
- interval: 1
36
- }, {
37
- name: "radiusAxis",
38
- type: "numericRadius",
39
- innerRadiusExtentScale: .1,
40
- maximumValue: 95,
41
- minimumValue: 75,
42
- interval: 5,
43
- radiusExtentScale: .6
44
- }]}
45
- series={[{
46
- name: "series1",
47
- title: 'Philadelphia',
48
- type: "radialArea",
49
- angleAxis: "angleAxis",
50
- valueAxis: "radiusAxis",
51
- valueMemberPath: "PhiladelphiaTemp",
52
- markerType: "circle"
53
- }, {
54
- name: "series2",
55
- title: 'New York City',
56
- type: "radialArea",
57
- angleAxis: "angleAxis",
58
- valueAxis: "radiusAxis",
59
- valueMemberPath: "NewYorkCityTemp",
60
- markerType: "circle"
61
- }]}
62
- horizontalZoomable={true}
63
- verticalZoomable={true}
64
- windowResponse="immediate"
65
- />
66
- </div>
67
- <div id="radialLegend" style={{float: "left"}}></div>
68
- </div>
69
- );
70
- }
71
- }
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import Header from 'components/Header';
3
- import $(ClassName) from 'components/$(path)';
4
-
5
- export default () => (
6
- <article className="$(ClassName)">
7
- <Header title="$(name)" className="header-main" />
8
- <$(ClassName) />
9
- </article>
10
- );
@@ -1,63 +0,0 @@
1
- import React, { Component } from 'react';
2
- import 'jquery';
3
- import 'jquery-ui';
4
- $(igniteImports)
5
- import $(Control) from "igniteui-react/ui/$(widget).js";
6
-
7
- import { data } from "../../data/temperature.js";
8
-
9
- export default class $(ClassName) extends Component {
10
- constructor(props) {
11
- super(props);
12
- this.state = { view: data };
13
- }
14
- render() {
15
- return (
16
- <div className="$(ClassName)">
17
- <div className="$(ClassName)-header">
18
- <h2 style={{textAlign: "center", marginBottom: "2vw"}}>$(description)</h2>
19
- </div>
20
- <div style={{float: "left", marginLeft: "13vw"}}>
21
- <$(Control)
22
- id="scatterchart"
23
- width="60vw"
24
- height="400px"
25
- dataSource={this.state.view}
26
- responseDataKey="agriculturalData"
27
- title="U.S. Agricultural Production Per Year"
28
- subtitle="Data from 1961-2007"
29
- axes={[{
30
- name: "xAxis",
31
- type: "numericX",
32
- interval: 10,
33
- title: "Year"
34
- }, {
35
- name: "yAxis",
36
- type: "numericY",
37
- title: "Billions of USD",
38
- maximumValue: 200000,
39
- formatLabel: function (val) {
40
- var bVal = (val / 1000),
41
- rounded = Math.round(bVal * 100) / 100;
42
- return "$"+ rounded;
43
- }
44
- }]}
45
- series={[{
46
- name: "scatter",
47
- type: "scatter",
48
- xAxis: "xAxis",
49
- yAxis: "yAxis",
50
- xMemberPath: "Year",
51
- yMemberPath: "Value",
52
- markerType: "circle"
53
- }
54
- ]}
55
- horizontalZoomable={true}
56
- verticalZoomable={true}
57
- windowResponse="immediate"
58
- />
59
- </div>
60
- </div>
61
- );
62
- }
63
- }