igniteui-cli 14.9.2 → 14.10.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (461) hide show
  1. package/README.md +2 -2
  2. package/lib/PromptSession.js +1 -3
  3. package/lib/TemplateManager.js +3 -7
  4. package/lib/cli.js +1 -0
  5. package/lib/commands/build.js +0 -3
  6. package/lib/commands/generate.js +0 -1
  7. package/lib/commands/index.d.ts +1 -0
  8. package/lib/commands/index.js +3 -1
  9. package/lib/commands/mcp.d.ts +3 -0
  10. package/lib/commands/mcp.js +98 -0
  11. package/lib/commands/start.js +3 -16
  12. package/lib/commands/types.d.ts +1 -0
  13. package/lib/commands/types.js +4 -2
  14. package/lib/templates/IgniteUIForReactTemplate.d.ts +0 -3
  15. package/lib/templates/IgniteUIForReactTemplate.js +0 -24
  16. package/lib/templates/jQueryTemplate.js +0 -2
  17. package/migrations/update-13_1_0/index.spec.js +0 -2
  18. package/migrations/update-2/index.spec.js +0 -2
  19. package/migrations/update-3/index.spec.js +0 -2
  20. package/migrations/update-3_2/index.js +0 -1
  21. package/migrations/update-3_2/index.spec.js +0 -2
  22. package/migrations/update-4_2_3/index.js +0 -1
  23. package/migrations/update-4_2_3/index.spec.js +0 -2
  24. package/migrations/update-5_0_0/index.js +0 -1
  25. package/migrations/update-5_0_0/index.spec.js +0 -2
  26. package/migrations/update-5_0_3/index.js +0 -1
  27. package/migrations/update-5_0_3/index.spec.js +0 -2
  28. package/package.json +8 -8
  29. package/scripts/install.js +1 -2
  30. package/scripts/uninstall.js +1 -2
  31. package/templates/angular/index.js +0 -1
  32. package/templates/jquery/index.js +0 -1
  33. package/templates/jquery/js/hierarchical-grid/hierarchical-grid/index.js +0 -2
  34. package/templates/jquery/js/index.js +0 -2
  35. package/templates/react/igr-ts/generate/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  36. package/templates/react/igr-ts/generate/files/src/app/__path__/__filePrefix__.tsx +12 -0
  37. package/templates/react/igr-ts/generate/files/src/app/__path__/style.module.css +3 -0
  38. package/templates/react/{es6 → igr-ts}/generate/template.json +1 -1
  39. package/templates/react/igr-ts/index.js +1 -2
  40. package/templates/react/igr-ts/projects/_base/files/AGENTS.md +111 -0
  41. package/templates/react/igr-ts/projects/_base/files/__dot__claude/CLAUDE.md +3 -0
  42. package/templates/react/igr-ts/projects/_base/files/__dot__github/copilot-instructions.md +3 -0
  43. package/templates/react/igr-ts/projects/_base/files/__dot__vscode/mcp.json +12 -0
  44. package/templates/react/index.js +0 -2
  45. package/templates/webcomponents/igc-ts/projects/_base/files/AGENTS.md +33 -0
  46. package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/CLAUDE.md +3 -0
  47. package/templates/webcomponents/igc-ts/projects/_base/files/__dot__github/copilot-instructions.md +3 -0
  48. package/templates/webcomponents/igc-ts/projects/_base/files/__dot__vscode/mcp.json +12 -0
  49. package/lib/templates/AngularTemplate.d.ts +0 -39
  50. package/lib/templates/AngularTemplate.js +0 -207
  51. package/lib/templates/ReactTemplate.d.ts +0 -36
  52. package/lib/templates/ReactTemplate.js +0 -149
  53. package/templates/angular/ig-ts/bar-chart/default/files/src/app/assets/world-energy-production.ts +0 -54
  54. package/templates/angular/ig-ts/bar-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -83
  55. package/templates/angular/ig-ts/bar-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
  56. package/templates/angular/ig-ts/bar-chart/default/index.d.ts +0 -1
  57. package/templates/angular/ig-ts/bar-chart/default/index.js +0 -17
  58. package/templates/angular/ig-ts/bar-chart/index.d.ts +0 -1
  59. package/templates/angular/ig-ts/bar-chart/index.js +0 -15
  60. package/templates/angular/ig-ts/column-chart/default/files/src/app/assets/world-energy-production.ts +0 -54
  61. package/templates/angular/ig-ts/column-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -87
  62. package/templates/angular/ig-ts/column-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
  63. package/templates/angular/ig-ts/column-chart/default/index.d.ts +0 -1
  64. package/templates/angular/ig-ts/column-chart/default/index.js +0 -17
  65. package/templates/angular/ig-ts/column-chart/index.d.ts +0 -1
  66. package/templates/angular/ig-ts/column-chart/index.js +0 -15
  67. package/templates/angular/ig-ts/combo/combo/files/src/app/components/__path__/__filePrefix__.component.ts +0 -45
  68. package/templates/angular/ig-ts/combo/combo/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  69. package/templates/angular/ig-ts/combo/combo/index.d.ts +0 -1
  70. package/templates/angular/ig-ts/combo/combo/index.js +0 -16
  71. package/templates/angular/ig-ts/combo/index.d.ts +0 -1
  72. package/templates/angular/ig-ts/combo/index.js +0 -16
  73. package/templates/angular/ig-ts/custom-templates/editors-calculation-form/files/src/app/assets/logo.jpg +0 -0
  74. package/templates/angular/ig-ts/custom-templates/editors-calculation-form/files/src/app/components/__path__/__filePrefix__.component.ts +0 -368
  75. package/templates/angular/ig-ts/custom-templates/editors-calculation-form/index.d.ts +0 -1
  76. package/templates/angular/ig-ts/custom-templates/editors-calculation-form/index.js +0 -18
  77. package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/assets/data-fe.ts +0 -88
  78. package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/assets/folder.png +0 -0
  79. package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/assets/opened_folder.png +0 -0
  80. package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/components/__path__/__filePrefix__.component.ts +0 -50
  81. package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  82. package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/index.d.ts +0 -1
  83. package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/index.js +0 -62
  84. package/templates/angular/ig-ts/doughnut-chart/default/files/src/app/assets/doughnut-data.ts +0 -10
  85. package/templates/angular/ig-ts/doughnut-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -38
  86. package/templates/angular/ig-ts/doughnut-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
  87. package/templates/angular/ig-ts/doughnut-chart/default/index.d.ts +0 -1
  88. package/templates/angular/ig-ts/doughnut-chart/default/index.js +0 -17
  89. package/templates/angular/ig-ts/doughnut-chart/index.d.ts +0 -1
  90. package/templates/angular/ig-ts/doughnut-chart/index.js +0 -16
  91. package/templates/angular/ig-ts/editors/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -19
  92. package/templates/angular/ig-ts/editors/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
  93. package/templates/angular/ig-ts/editors/index.d.ts +0 -1
  94. package/templates/angular/ig-ts/editors/index.js +0 -58
  95. package/templates/angular/ig-ts/financial-chart/default/files/src/app/assets/financial-data.ts +0 -115
  96. package/templates/angular/ig-ts/financial-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -152
  97. package/templates/angular/ig-ts/financial-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
  98. package/templates/angular/ig-ts/financial-chart/default/index.d.ts +0 -1
  99. package/templates/angular/ig-ts/financial-chart/default/index.js +0 -17
  100. package/templates/angular/ig-ts/financial-chart/index.d.ts +0 -1
  101. package/templates/angular/ig-ts/financial-chart/index.js +0 -15
  102. package/templates/angular/ig-ts/funnel-chart/default/files/src/app/assets/funnel-data.ts +0 -12
  103. package/templates/angular/ig-ts/funnel-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -69
  104. package/templates/angular/ig-ts/funnel-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
  105. package/templates/angular/ig-ts/funnel-chart/default/index.d.ts +0 -1
  106. package/templates/angular/ig-ts/funnel-chart/default/index.js +0 -17
  107. package/templates/angular/ig-ts/funnel-chart/index.d.ts +0 -1
  108. package/templates/angular/ig-ts/funnel-chart/index.js +0 -15
  109. package/templates/angular/ig-ts/generate/files/src/app/components/__path__/__filePrefix__.component.ts +0 -14
  110. package/templates/angular/ig-ts/generate/template.json +0 -13
  111. package/templates/angular/ig-ts/grid/basic/files/src/app/assets/northwindProducts.ts +0 -12
  112. package/templates/angular/ig-ts/grid/basic/files/src/app/components/__path__/__filePrefix__.component.ts +0 -28
  113. package/templates/angular/ig-ts/grid/basic/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  114. package/templates/angular/ig-ts/grid/basic/index.d.ts +0 -1
  115. package/templates/angular/ig-ts/grid/basic/index.js +0 -41
  116. package/templates/angular/ig-ts/grid/grid-custom/files/src/app/assets/northwindProducts.ts +0 -12
  117. package/templates/angular/ig-ts/grid/grid-custom/files/src/app/components/__path__/__filePrefix__.component.ts +0 -32
  118. package/templates/angular/ig-ts/grid/grid-custom/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  119. package/templates/angular/ig-ts/grid/grid-custom/index.d.ts +0 -1
  120. package/templates/angular/ig-ts/grid/grid-custom/index.js +0 -45
  121. package/templates/angular/ig-ts/grid/grid-editing/files/src/app/assets/northwindProducts.ts +0 -12
  122. package/templates/angular/ig-ts/grid/grid-editing/files/src/app/components/__path__/__filePrefix__.component.ts +0 -30
  123. package/templates/angular/ig-ts/grid/grid-editing/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  124. package/templates/angular/ig-ts/grid/grid-editing/index.d.ts +0 -1
  125. package/templates/angular/ig-ts/grid/grid-editing/index.js +0 -42
  126. package/templates/angular/ig-ts/grid/grid-export/files/src/app/assets/employees.ts +0 -15
  127. package/templates/angular/ig-ts/grid/grid-export/files/src/app/components/__path__/__filePrefix__.component.ts +0 -88
  128. package/templates/angular/ig-ts/grid/grid-export/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  129. package/templates/angular/ig-ts/grid/grid-export/index.d.ts +0 -1
  130. package/templates/angular/ig-ts/grid/grid-export/index.js +0 -42
  131. package/templates/angular/ig-ts/grid/grid-templating/files/src/app/assets/northwindProductsFlat.ts +0 -13
  132. package/templates/angular/ig-ts/grid/grid-templating/files/src/app/components/__path__/__filePrefix__.component.ts +0 -34
  133. package/templates/angular/ig-ts/grid/grid-templating/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  134. package/templates/angular/ig-ts/grid/grid-templating/index.d.ts +0 -1
  135. package/templates/angular/ig-ts/grid/grid-templating/index.js +0 -42
  136. package/templates/angular/ig-ts/grid/index.d.ts +0 -1
  137. package/templates/angular/ig-ts/grid/index.js +0 -12
  138. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/files/src/app/assets/northwind.ts +0 -12626
  139. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/files/src/app/components/__path__/__filePrefix__.component.ts +0 -75
  140. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  141. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/index.d.ts +0 -1
  142. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/index.js +0 -42
  143. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/files/src/app/assets/northwind.ts +0 -12626
  144. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/files/src/app/components/__path__/__filePrefix__.component.ts +0 -76
  145. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  146. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/index.d.ts +0 -1
  147. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/index.js +0 -45
  148. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/files/src/app/assets/northwind.ts +0 -12626
  149. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/files/src/app/components/__path__/__filePrefix__.component.ts +0 -76
  150. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  151. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/index.d.ts +0 -1
  152. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/index.js +0 -43
  153. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/files/src/app/assets/northwind.ts +0 -12626
  154. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/files/src/app/components/__path__/__filePrefix__.component.ts +0 -99
  155. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  156. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/index.d.ts +0 -1
  157. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/index.js +0 -43
  158. package/templates/angular/ig-ts/hierarchical-grid/index.d.ts +0 -1
  159. package/templates/angular/ig-ts/hierarchical-grid/index.js +0 -12
  160. package/templates/angular/ig-ts/index.d.ts +0 -1
  161. package/templates/angular/ig-ts/index.js +0 -17
  162. package/templates/angular/ig-ts/line-chart/default/files/src/app/assets/line-chart-data.ts +0 -9
  163. package/templates/angular/ig-ts/line-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -109
  164. package/templates/angular/ig-ts/line-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
  165. package/templates/angular/ig-ts/line-chart/default/index.d.ts +0 -1
  166. package/templates/angular/ig-ts/line-chart/default/index.js +0 -17
  167. package/templates/angular/ig-ts/line-chart/index.d.ts +0 -1
  168. package/templates/angular/ig-ts/line-chart/index.js +0 -15
  169. package/templates/angular/ig-ts/pie-chart/default/files/src/app/assets/data.ts +0 -9
  170. package/templates/angular/ig-ts/pie-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -28
  171. package/templates/angular/ig-ts/pie-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
  172. package/templates/angular/ig-ts/pie-chart/default/index.d.ts +0 -1
  173. package/templates/angular/ig-ts/pie-chart/default/index.js +0 -17
  174. package/templates/angular/ig-ts/pie-chart/index.d.ts +0 -1
  175. package/templates/angular/ig-ts/pie-chart/index.js +0 -15
  176. package/templates/angular/ig-ts/projects/empty/files/README.md +0 -39
  177. package/templates/angular/ig-ts/projects/empty/files/__dot__browserslistrc +0 -17
  178. package/templates/angular/ig-ts/projects/empty/files/__dot__editorconfig +0 -16
  179. package/templates/angular/ig-ts/projects/empty/files/__dot__gitignore +0 -51
  180. package/templates/angular/ig-ts/projects/empty/files/angular.json +0 -105
  181. package/templates/angular/ig-ts/projects/empty/files/ignite-ui-cli.json +0 -22
  182. package/templates/angular/ig-ts/projects/empty/files/karma.conf.js +0 -55
  183. package/templates/angular/ig-ts/projects/empty/files/package.json +0 -45
  184. package/templates/angular/ig-ts/projects/empty/files/src/app/app-routing.module.ts +0 -17
  185. package/templates/angular/ig-ts/projects/empty/files/src/app/app.component.css +0 -6
  186. package/templates/angular/ig-ts/projects/empty/files/src/app/app.component.html +0 -5
  187. package/templates/angular/ig-ts/projects/empty/files/src/app/app.component.spec.ts +0 -22
  188. package/templates/angular/ig-ts/projects/empty/files/src/app/app.component.ts +0 -10
  189. package/templates/angular/ig-ts/projects/empty/files/src/app/app.module.ts +0 -22
  190. package/templates/angular/ig-ts/projects/empty/files/src/app/home.component.ts +0 -12
  191. package/templates/angular/ig-ts/projects/empty/files/src/app/shared/nav-menu.component.css +0 -36
  192. package/templates/angular/ig-ts/projects/empty/files/src/app/shared/nav-menu.component.ts +0 -34
  193. package/templates/angular/ig-ts/projects/empty/files/src/assets/Ignite-header-apps-960.png +0 -0
  194. package/templates/angular/ig-ts/projects/empty/files/src/assets/css/variables.scss +0 -7
  195. package/templates/angular/ig-ts/projects/empty/files/src/assets/lines-bottom-right.svg +0 -56
  196. package/templates/angular/ig-ts/projects/empty/files/src/environments/environment.prod.ts +0 -3
  197. package/templates/angular/ig-ts/projects/empty/files/src/environments/environment.ts +0 -16
  198. package/templates/angular/ig-ts/projects/empty/files/src/favicon.ico +0 -0
  199. package/templates/angular/ig-ts/projects/empty/files/src/index.html +0 -14
  200. package/templates/angular/ig-ts/projects/empty/files/src/main.ts +0 -11
  201. package/templates/angular/ig-ts/projects/empty/files/src/polyfills.ts +0 -53
  202. package/templates/angular/ig-ts/projects/empty/files/src/styles.css +0 -23
  203. package/templates/angular/ig-ts/projects/empty/files/src/test.ts +0 -23
  204. package/templates/angular/ig-ts/projects/empty/files/tsconfig.app.json +0 -15
  205. package/templates/angular/ig-ts/projects/empty/files/tsconfig.json +0 -34
  206. package/templates/angular/ig-ts/projects/empty/files/tsconfig.spec.json +0 -18
  207. package/templates/angular/ig-ts/projects/empty/index.d.ts +0 -1
  208. package/templates/angular/ig-ts/projects/empty/index.js +0 -126
  209. package/templates/angular/ig-ts/radial-chart/default/files/src/app/assets/temperature.ts +0 -16
  210. package/templates/angular/ig-ts/radial-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -64
  211. package/templates/angular/ig-ts/radial-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
  212. package/templates/angular/ig-ts/radial-chart/default/index.d.ts +0 -1
  213. package/templates/angular/ig-ts/radial-chart/default/index.js +0 -17
  214. package/templates/angular/ig-ts/radial-chart/index.d.ts +0 -1
  215. package/templates/angular/ig-ts/radial-chart/index.js +0 -15
  216. package/templates/angular/ig-ts/tree-grid/index.d.ts +0 -1
  217. package/templates/angular/ig-ts/tree-grid/index.js +0 -12
  218. package/templates/angular/ig-ts/tree-grid/tree-grid/files/src/app/assets/data-basic.ts +0 -28
  219. package/templates/angular/ig-ts/tree-grid/tree-grid/files/src/app/components/__path__/__filePrefix__.component.ts +0 -37
  220. package/templates/angular/ig-ts/tree-grid/tree-grid/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  221. package/templates/angular/ig-ts/tree-grid/tree-grid/index.d.ts +0 -1
  222. package/templates/angular/ig-ts/tree-grid/tree-grid/index.js +0 -42
  223. package/templates/angular/ig-ts/tree-grid/tree-grid-custom/files/src/app/assets/data-custom.ts +0 -28
  224. package/templates/angular/ig-ts/tree-grid/tree-grid-custom/files/src/app/components/__path__/__filePrefix__.component.ts +0 -38
  225. package/templates/angular/ig-ts/tree-grid/tree-grid-custom/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  226. package/templates/angular/ig-ts/tree-grid/tree-grid-custom/index.d.ts +0 -1
  227. package/templates/angular/ig-ts/tree-grid/tree-grid-custom/index.js +0 -42
  228. package/templates/angular/ig-ts/tree-grid/tree-grid-editing/files/src/app/assets/data-editing.ts +0 -28
  229. package/templates/angular/ig-ts/tree-grid/tree-grid-editing/files/src/app/components/__path__/__filePrefix__.component.ts +0 -38
  230. package/templates/angular/ig-ts/tree-grid/tree-grid-editing/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  231. package/templates/angular/ig-ts/tree-grid/tree-grid-editing/index.d.ts +0 -1
  232. package/templates/angular/ig-ts/tree-grid/tree-grid-editing/index.js +0 -61
  233. package/templates/angular/ig-ts/tree-grid/tree-grid-export/files/src/app/assets/data-flat.ts +0 -33
  234. package/templates/angular/ig-ts/tree-grid/tree-grid-export/files/src/app/assets/data-hierarchical.ts +0 -28
  235. package/templates/angular/ig-ts/tree-grid/tree-grid-export/files/src/app/components/__path__/__filePrefix__.component.ts +0 -91
  236. package/templates/angular/ig-ts/tree-grid/tree-grid-export/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  237. package/templates/angular/ig-ts/tree-grid/tree-grid-export/index.d.ts +0 -1
  238. package/templates/angular/ig-ts/tree-grid/tree-grid-export/index.js +0 -43
  239. package/templates/react/es6/bar-chart/default/files/src/components/__path__/index.js +0 -89
  240. package/templates/react/es6/bar-chart/default/files/src/data/world-energy-production.js +0 -55
  241. package/templates/react/es6/bar-chart/default/index.d.ts +0 -1
  242. package/templates/react/es6/bar-chart/default/index.js +0 -21
  243. package/templates/react/es6/bar-chart/index.d.ts +0 -1
  244. package/templates/react/es6/bar-chart/index.js +0 -15
  245. package/templates/react/es6/column-chart/default/files/src/components/__path__/index.js +0 -88
  246. package/templates/react/es6/column-chart/default/files/src/data/world-energy-production.js +0 -55
  247. package/templates/react/es6/column-chart/default/index.d.ts +0 -1
  248. package/templates/react/es6/column-chart/default/index.js +0 -21
  249. package/templates/react/es6/column-chart/index.d.ts +0 -1
  250. package/templates/react/es6/column-chart/index.js +0 -15
  251. package/templates/react/es6/combo/combo/files/src/components/__path__/index.js +0 -45
  252. package/templates/react/es6/combo/combo/index.d.ts +0 -1
  253. package/templates/react/es6/combo/combo/index.js +0 -21
  254. package/templates/react/es6/combo/index.d.ts +0 -1
  255. package/templates/react/es6/combo/index.js +0 -15
  256. package/templates/react/es6/doughnut-chart/doughnut-chart/files/src/components/__path__/index.js +0 -44
  257. package/templates/react/es6/doughnut-chart/doughnut-chart/index.d.ts +0 -1
  258. package/templates/react/es6/doughnut-chart/doughnut-chart/index.js +0 -21
  259. package/templates/react/es6/doughnut-chart/index.d.ts +0 -1
  260. package/templates/react/es6/doughnut-chart/index.js +0 -16
  261. package/templates/react/es6/editors/editors/files/src/components/__path__/index.js +0 -17
  262. package/templates/react/es6/editors/index.d.ts +0 -1
  263. package/templates/react/es6/editors/index.js +0 -58
  264. package/templates/react/es6/financial-chart/financial-chart/files/src/components/__path__/index.js +0 -154
  265. package/templates/react/es6/financial-chart/financial-chart/files/src/data/financial-data.js +0 -118
  266. package/templates/react/es6/financial-chart/financial-chart/index.d.ts +0 -1
  267. package/templates/react/es6/financial-chart/financial-chart/index.js +0 -21
  268. package/templates/react/es6/financial-chart/index.d.ts +0 -1
  269. package/templates/react/es6/financial-chart/index.js +0 -15
  270. package/templates/react/es6/funnel-chart/funnel-chart/files/src/components/__path__/index.js +0 -41
  271. package/templates/react/es6/funnel-chart/funnel-chart/index.d.ts +0 -1
  272. package/templates/react/es6/funnel-chart/funnel-chart/index.js +0 -21
  273. package/templates/react/es6/funnel-chart/index.d.ts +0 -1
  274. package/templates/react/es6/funnel-chart/index.js +0 -15
  275. package/templates/react/es6/generate/files/src/components/__path__/index.js +0 -10
  276. package/templates/react/es6/grid/basic/files/src/components/__path__/index.js +0 -39
  277. package/templates/react/es6/grid/basic/index.d.ts +0 -1
  278. package/templates/react/es6/grid/basic/index.js +0 -40
  279. package/templates/react/es6/grid/grid-custom/files/src/components/__path__/index.js +0 -40
  280. package/templates/react/es6/grid/grid-custom/index.d.ts +0 -1
  281. package/templates/react/es6/grid/grid-custom/index.js +0 -43
  282. package/templates/react/es6/grid/grid-editing/files/src/components/__path__/index.js +0 -47
  283. package/templates/react/es6/grid/grid-editing/index.d.ts +0 -1
  284. package/templates/react/es6/grid/grid-editing/index.js +0 -41
  285. package/templates/react/es6/grid/grid-export/files/src/components/__path__/index.js +0 -124
  286. package/templates/react/es6/grid/grid-export/files/src/components/__path__/styles.css +0 -13
  287. package/templates/react/es6/grid/grid-export/index.d.ts +0 -1
  288. package/templates/react/es6/grid/grid-export/index.js +0 -41
  289. package/templates/react/es6/grid/grid-templating/files/src/components/__path__/index.js +0 -38
  290. package/templates/react/es6/grid/grid-templating/files/src/components/__path__/northwind.js +0 -605
  291. package/templates/react/es6/grid/grid-templating/index.d.ts +0 -1
  292. package/templates/react/es6/grid/grid-templating/index.js +0 -40
  293. package/templates/react/es6/grid/index.d.ts +0 -1
  294. package/templates/react/es6/grid/index.js +0 -15
  295. package/templates/react/es6/hierarchical-grid/hierarchical-grid/files/src/components/__path__/index.js +0 -79
  296. package/templates/react/es6/hierarchical-grid/hierarchical-grid/files/src/components/__path__/northwind.js +0 -12626
  297. package/templates/react/es6/hierarchical-grid/hierarchical-grid/index.d.ts +0 -1
  298. package/templates/react/es6/hierarchical-grid/hierarchical-grid/index.js +0 -41
  299. package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/files/src/components/__path__/index.js +0 -82
  300. package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/files/src/components/__path__/northwind.js +0 -12626
  301. package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/index.d.ts +0 -1
  302. package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/index.js +0 -44
  303. package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/files/src/components/__path__/index.js +0 -81
  304. package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/files/src/components/__path__/northwind.js +0 -12626
  305. package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/index.d.ts +0 -1
  306. package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/index.js +0 -42
  307. package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/files/src/components/__path__/index.js +0 -112
  308. package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/files/src/components/__path__/northwind.js +0 -12626
  309. package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/files/src/components/__path__/styles.css +0 -13
  310. package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/index.d.ts +0 -1
  311. package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/index.js +0 -42
  312. package/templates/react/es6/hierarchical-grid/index.d.ts +0 -1
  313. package/templates/react/es6/hierarchical-grid/index.js +0 -15
  314. package/templates/react/es6/index.d.ts +0 -1
  315. package/templates/react/es6/index.js +0 -20
  316. package/templates/react/es6/line-chart/default/files/src/components/__path__/index.js +0 -76
  317. package/templates/react/es6/line-chart/default/index.d.ts +0 -1
  318. package/templates/react/es6/line-chart/default/index.js +0 -21
  319. package/templates/react/es6/line-chart/index.d.ts +0 -1
  320. package/templates/react/es6/line-chart/index.js +0 -15
  321. package/templates/react/es6/pie-chart/index.d.ts +0 -1
  322. package/templates/react/es6/pie-chart/index.js +0 -15
  323. package/templates/react/es6/pie-chart/pie-chart/files/src/components/__path__/index.js +0 -38
  324. package/templates/react/es6/pie-chart/pie-chart/index.d.ts +0 -1
  325. package/templates/react/es6/pie-chart/pie-chart/index.js +0 -21
  326. package/templates/react/es6/projects/empty/files/README.md +0 -36
  327. package/templates/react/es6/projects/empty/files/__dot__editorconfig +0 -3
  328. package/templates/react/es6/projects/empty/files/__dot__env +0 -1
  329. package/templates/react/es6/projects/empty/files/__dot__eslintrc.json +0 -6
  330. package/templates/react/es6/projects/empty/files/__dot__gitignore +0 -23
  331. package/templates/react/es6/projects/empty/files/ignite-ui-cli.json +0 -21
  332. package/templates/react/es6/projects/empty/files/package.json +0 -36
  333. package/templates/react/es6/projects/empty/files/public/favicon.ico +0 -0
  334. package/templates/react/es6/projects/empty/files/public/index.html +0 -42
  335. package/templates/react/es6/projects/empty/files/public/manifest.json +0 -15
  336. package/templates/react/es6/projects/empty/files/public/robots.txt +0 -3
  337. package/templates/react/es6/projects/empty/files/src/App.css +0 -52
  338. package/templates/react/es6/projects/empty/files/src/App.js +0 -39
  339. package/templates/react/es6/projects/empty/files/src/components/home/index.js +0 -25
  340. package/templates/react/es6/projects/empty/files/src/components/navigation-header/index.js +0 -47
  341. package/templates/react/es6/projects/empty/files/src/hoc/asyncComponent.js +0 -50
  342. package/templates/react/es6/projects/empty/files/src/igniteuiResources.js +0 -7
  343. package/templates/react/es6/projects/empty/files/src/index.css +0 -13
  344. package/templates/react/es6/projects/empty/files/src/index.js +0 -23
  345. package/templates/react/es6/projects/empty/files/src/reportWebVitals.js +0 -13
  346. package/templates/react/es6/projects/empty/files/src/routes.json +0 -7
  347. package/templates/react/es6/projects/empty/index.d.ts +0 -1
  348. package/templates/react/es6/projects/empty/index.js +0 -78
  349. package/templates/react/es6/radial-chart/index.d.ts +0 -1
  350. package/templates/react/es6/radial-chart/index.js +0 -15
  351. package/templates/react/es6/radial-chart/radial-chart/files/src/components/__path__/index.js +0 -68
  352. package/templates/react/es6/radial-chart/radial-chart/files/src/data/temperature.js +0 -16
  353. package/templates/react/es6/radial-chart/radial-chart/index.d.ts +0 -1
  354. package/templates/react/es6/radial-chart/radial-chart/index.js +0 -21
  355. package/templates/react/es6/scatter-chart/index.d.ts +0 -1
  356. package/templates/react/es6/scatter-chart/index.js +0 -16
  357. package/templates/react/es6/scatter-chart/scatter-chart/files/src/components/__path__/index.js +0 -59
  358. package/templates/react/es6/scatter-chart/scatter-chart/files/src/data/temperature.js +0 -58
  359. package/templates/react/es6/scatter-chart/scatter-chart/index.d.ts +0 -1
  360. package/templates/react/es6/scatter-chart/scatter-chart/index.js +0 -21
  361. package/templates/react/es6/tree-grid/index.d.ts +0 -1
  362. package/templates/react/es6/tree-grid/index.js +0 -15
  363. package/templates/react/es6/tree-grid/tree-grid/files/src/components/__path__/index.js +0 -61
  364. package/templates/react/es6/tree-grid/tree-grid/index.d.ts +0 -1
  365. package/templates/react/es6/tree-grid/tree-grid/index.js +0 -41
  366. package/templates/react/es6/tree-grid/tree-grid-custom/files/src/components/__path__/index.js +0 -62
  367. package/templates/react/es6/tree-grid/tree-grid-custom/index.d.ts +0 -1
  368. package/templates/react/es6/tree-grid/tree-grid-custom/index.js +0 -41
  369. package/templates/react/es6/tree-grid/tree-grid-editing/files/src/components/__path__/index.js +0 -62
  370. package/templates/react/es6/tree-grid/tree-grid-editing/index.d.ts +0 -1
  371. package/templates/react/es6/tree-grid/tree-grid-editing/index.js +0 -42
  372. package/templates/react/es6/tree-grid/tree-grid-export/files/src/components/__path__/index.js +0 -161
  373. package/templates/react/es6/tree-grid/tree-grid-export/index.d.ts +0 -1
  374. package/templates/react/es6/tree-grid/tree-grid-export/index.js +0 -42
  375. package/templates/react/igr-es6/bullet-graph/default/files/src/views/__path__/index.js +0 -62
  376. package/templates/react/igr-es6/bullet-graph/default/files/src/views/__path__/style.css +0 -12
  377. package/templates/react/igr-es6/bullet-graph/default/files/src/views/__path__/test.js +0 -9
  378. package/templates/react/igr-es6/bullet-graph/default/index.d.ts +0 -1
  379. package/templates/react/igr-es6/bullet-graph/default/index.js +0 -17
  380. package/templates/react/igr-es6/bullet-graph/index.d.ts +0 -1
  381. package/templates/react/igr-es6/bullet-graph/index.js +0 -15
  382. package/templates/react/igr-es6/category-chart/default/files/src/views/__path__/index.js +0 -45
  383. package/templates/react/igr-es6/category-chart/default/files/src/views/__path__/style.css +0 -9
  384. package/templates/react/igr-es6/category-chart/default/files/src/views/__path__/test.js +0 -9
  385. package/templates/react/igr-es6/category-chart/default/index.d.ts +0 -1
  386. package/templates/react/igr-es6/category-chart/default/index.js +0 -18
  387. package/templates/react/igr-es6/category-chart/index.d.ts +0 -1
  388. package/templates/react/igr-es6/category-chart/index.js +0 -16
  389. package/templates/react/igr-es6/doughnut-chart/default/files/src/views/__path__/index.js +0 -85
  390. package/templates/react/igr-es6/doughnut-chart/default/files/src/views/__path__/style.css +0 -9
  391. package/templates/react/igr-es6/doughnut-chart/default/files/src/views/__path__/test.js +0 -9
  392. package/templates/react/igr-es6/doughnut-chart/default/index.d.ts +0 -1
  393. package/templates/react/igr-es6/doughnut-chart/default/index.js +0 -17
  394. package/templates/react/igr-es6/doughnut-chart/index.d.ts +0 -1
  395. package/templates/react/igr-es6/doughnut-chart/index.js +0 -15
  396. package/templates/react/igr-es6/financial-chart/default/files/src/views/__path__/index.js +0 -55
  397. package/templates/react/igr-es6/financial-chart/default/files/src/views/__path__/style.css +0 -10
  398. package/templates/react/igr-es6/financial-chart/default/files/src/views/__path__/test.js +0 -9
  399. package/templates/react/igr-es6/financial-chart/default/index.d.ts +0 -1
  400. package/templates/react/igr-es6/financial-chart/default/index.js +0 -19
  401. package/templates/react/igr-es6/financial-chart/index.d.ts +0 -1
  402. package/templates/react/igr-es6/financial-chart/index.js +0 -16
  403. package/templates/react/igr-es6/grid/basic/files/src/views/__path__/data.js +0 -46
  404. package/templates/react/igr-es6/grid/basic/files/src/views/__path__/index.js +0 -46
  405. package/templates/react/igr-es6/grid/basic/files/src/views/__path__/style.css +0 -17
  406. package/templates/react/igr-es6/grid/basic/files/src/views/__path__/test.js +0 -9
  407. package/templates/react/igr-es6/grid/basic/index.d.ts +0 -1
  408. package/templates/react/igr-es6/grid/basic/index.js +0 -23
  409. package/templates/react/igr-es6/grid/index.d.ts +0 -1
  410. package/templates/react/igr-es6/grid/index.js +0 -15
  411. package/templates/react/igr-es6/groups.json +0 -5
  412. package/templates/react/igr-es6/index.d.ts +0 -1
  413. package/templates/react/igr-es6/index.js +0 -17
  414. package/templates/react/igr-es6/linear-gauge/default/files/src/views/__path__/index.js +0 -62
  415. package/templates/react/igr-es6/linear-gauge/default/files/src/views/__path__/style.css +0 -12
  416. package/templates/react/igr-es6/linear-gauge/default/files/src/views/__path__/test.js +0 -9
  417. package/templates/react/igr-es6/linear-gauge/default/index.d.ts +0 -1
  418. package/templates/react/igr-es6/linear-gauge/default/index.js +0 -17
  419. package/templates/react/igr-es6/linear-gauge/index.d.ts +0 -1
  420. package/templates/react/igr-es6/linear-gauge/index.js +0 -15
  421. package/templates/react/igr-es6/pie-chart/default/files/src/views/__path__/index.js +0 -83
  422. package/templates/react/igr-es6/pie-chart/default/files/src/views/__path__/style.css +0 -9
  423. package/templates/react/igr-es6/pie-chart/default/files/src/views/__path__/test.js +0 -9
  424. package/templates/react/igr-es6/pie-chart/default/index.d.ts +0 -1
  425. package/templates/react/igr-es6/pie-chart/default/index.js +0 -17
  426. package/templates/react/igr-es6/pie-chart/index.d.ts +0 -1
  427. package/templates/react/igr-es6/pie-chart/index.js +0 -15
  428. package/templates/react/igr-es6/projects/_base/__dot__eslintrc.json +0 -3
  429. package/templates/react/igr-es6/projects/_base/files/README.md +0 -48
  430. package/templates/react/igr-es6/projects/_base/files/__dot__editorconfig +0 -3
  431. package/templates/react/igr-es6/projects/_base/files/__dot__env +0 -1
  432. package/templates/react/igr-es6/projects/_base/files/__dot__gitignore +0 -23
  433. package/templates/react/igr-es6/projects/_base/files/ignite-ui-cli.json +0 -16
  434. package/templates/react/igr-es6/projects/_base/files/package.json +0 -30
  435. package/templates/react/igr-es6/projects/_base/files/public/favicon.ico +0 -0
  436. package/templates/react/igr-es6/projects/_base/files/public/index.html +0 -41
  437. package/templates/react/igr-es6/projects/_base/files/public/manifest.json +0 -15
  438. package/templates/react/igr-es6/projects/_base/files/src/App.test.js +0 -9
  439. package/templates/react/igr-es6/projects/_base/files/src/hoc/asyncComponent.js +0 -50
  440. package/templates/react/igr-es6/projects/_base/files/src/index.css +0 -14
  441. package/templates/react/igr-es6/projects/_base/files/src/index.js +0 -19
  442. package/templates/react/igr-es6/projects/_base/files/src/routes.json +0 -7
  443. package/templates/react/igr-es6/projects/_base/files/src/serviceWorker.js +0 -135
  444. package/templates/react/igr-es6/projects/_base/files/src/views/home/index.js +0 -27
  445. package/templates/react/igr-es6/projects/_base/files/src/views/home/logo.svg +0 -7
  446. package/templates/react/igr-es6/projects/_base/files/src/views/home/style.css +0 -28
  447. package/templates/react/igr-es6/projects/_base/index.d.ts +0 -29
  448. package/templates/react/igr-es6/projects/_base/index.js +0 -81
  449. package/templates/react/igr-es6/projects/top-nav/files/src/App.css +0 -59
  450. package/templates/react/igr-es6/projects/top-nav/files/src/App.js +0 -36
  451. package/templates/react/igr-es6/projects/top-nav/files/src/components/navigation-header/index.js +0 -37
  452. package/templates/react/igr-es6/projects/top-nav/files/src/setupTests.js +0 -4
  453. package/templates/react/igr-es6/projects/top-nav/index.d.ts +0 -14
  454. package/templates/react/igr-es6/projects/top-nav/index.js +0 -45
  455. package/templates/react/igr-es6/radial-gauge/default/files/src/views/__path__/index.js +0 -66
  456. package/templates/react/igr-es6/radial-gauge/default/files/src/views/__path__/style.css +0 -12
  457. package/templates/react/igr-es6/radial-gauge/default/files/src/views/__path__/test.js +0 -9
  458. package/templates/react/igr-es6/radial-gauge/default/index.d.ts +0 -1
  459. package/templates/react/igr-es6/radial-gauge/default/index.js +0 -18
  460. package/templates/react/igr-es6/radial-gauge/index.d.ts +0 -1
  461. package/templates/react/igr-es6/radial-gauge/index.js +0 -16
@@ -1,47 +0,0 @@
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
- }
@@ -1,50 +0,0 @@
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;
@@ -1,7 +0,0 @@
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";
@@ -1,13 +0,0 @@
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
- }
@@ -1,23 +0,0 @@
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();
@@ -1,13 +0,0 @@
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;
@@ -1,7 +0,0 @@
1
- [
2
- {
3
- "path": "/",
4
- "componentPath": "./components/home",
5
- "text": "Home"
6
- }
7
- ]
@@ -1 +0,0 @@
1
- export {};
@@ -1,78 +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
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
26
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
27
- return new (P || (P = Promise))(function (resolve, reject) {
28
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
29
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
30
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
31
- step((generator = generator.apply(thisArg, _arguments || [])).next());
32
- });
33
- };
34
- Object.defineProperty(exports, "__esModule", { value: true });
35
- const cli_core_1 = require("@igniteui/cli-core");
36
- const path = __importStar(require("path"));
37
- class EmptyProject {
38
- constructor() {
39
- // public _updateFile: string = "webpack.config.js";
40
- this.id = "react";
41
- this.name = "empty";
42
- this.description = "Ignite UI CLI project for React";
43
- this.framework = "react";
44
- this.projectType = "jsx";
45
- this.hasExtraConfiguration = false;
46
- this.delimiters = cli_core_1.defaultDelimiters;
47
- }
48
- get templatePaths() {
49
- return [path.join(__dirname, "files")];
50
- }
51
- installModules() {
52
- throw new Error("Method not implemented.");
53
- }
54
- upgradeIgniteUIPackages(projectPath, packagePath) {
55
- return __awaiter(this, void 0, void 0, function* () {
56
- return true;
57
- });
58
- }
59
- generateConfig(name, theme, ...options) {
60
- //TODO update the config with [{key: "keyname", "value"}]
61
- return {
62
- "cliVersion": cli_core_1.Util.version(),
63
- "dash-name": cli_core_1.Util.lowerDashed(name),
64
- "description": this.description,
65
- "dot": ".",
66
- "name": name,
67
- "path": name,
68
- "theme": theme
69
- };
70
- }
71
- getExtraConfiguration() {
72
- throw new Error("Method not implemented.");
73
- }
74
- setExtraConfiguration(extraConfigKeys) {
75
- throw new Error("Method not implemented.");
76
- }
77
- }
78
- module.exports = new EmptyProject();
@@ -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 RadialChartComponent extends cli_core_1.BaseComponent {
5
- /**
6
- *
7
- */
8
- constructor() {
9
- super(__dirname);
10
- this.name = "Radial Chart";
11
- this.group = "Charts";
12
- this.description = "igDataChart with different radial series types.";
13
- }
14
- }
15
- module.exports = new RadialChartComponent();
@@ -1,68 +0,0 @@
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,16 +0,0 @@
1
- var data = {
2
- temperature: [
3
- { "Date": "2013.07.16", "Time": "1:00", "NewYorkCityTemp": 85.46, "PhiladelphiaTemp": 86.72 },
4
- { "Date": "2013.07.16", "Time": "3:00", "NewYorkCityTemp": 82.76, "PhiladelphiaTemp": 84.74 },
5
- { "Date": "2013.07.16", "Time": "5:00", "NewYorkCityTemp": 80.6, "PhiladelphiaTemp": 82.94 },
6
- { "Date": "2013.07.16", "Time": "7:00", "NewYorkCityTemp": 79.34, "PhiladelphiaTemp": 82.22 },
7
- { "Date": "2013.07.16", "Time": "9:00", "NewYorkCityTemp": 82.76, "PhiladelphiaTemp": 86 },
8
- { "Date": "2013.07.16", "Time": "11:00", "NewYorkCityTemp": 86.54, "PhiladelphiaTemp": 88.88 },
9
- { "Date": "2013.07.16", "Time": "13:00", "NewYorkCityTemp": 89.78, "PhiladelphiaTemp": 93.38 },
10
- { "Date": "2013.07.16", "Time": "15:00", "NewYorkCityTemp": 92.48, "PhiladelphiaTemp": 93.2 },
11
- { "Date": "2013.07.16", "Time": "17:00", "NewYorkCityTemp": 93.2, "PhiladelphiaTemp": 92.3 },
12
- { "Date": "2013.07.16", "Time": "19:00", "NewYorkCityTemp": 91.4, "PhiladelphiaTemp": 92.48 },
13
- { "Date": "2013.07.16", "Time": "21:00", "NewYorkCityTemp": 88.52, "PhiladelphiaTemp": 89.78 },
14
- { "Date": "2013.07.16", "Time": "23:00", "NewYorkCityTemp": 88.16, "PhiladelphiaTemp": 86.72 }
15
- ]};
16
- export { data };
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const ReactTemplate_1 = require("../../../../../lib/templates/ReactTemplate");
4
- class RadialChartTemplate extends ReactTemplate_1.ReactTemplate {
5
- /**
6
- *
7
- */
8
- constructor() {
9
- super(__dirname);
10
- this.id = "radial-chart";
11
- this.name = "Radial Chart";
12
- this.widget = "igDataChart";
13
- this.description = "radial chart template for React";
14
- this.projectType = "es6";
15
- this.components = ["Radial Chart"];
16
- this.controlGroup = "Charts";
17
- this.dependencies = ["igDataChart"];
18
- this.hasExtraConfiguration = false;
19
- }
20
- }
21
- module.exports = new RadialChartTemplate();
@@ -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 ScatterChartComponent extends cli_core_1.BaseComponent {
5
- /**
6
- *
7
- */
8
- constructor() {
9
- super(__dirname);
10
- this.name = "Scatter Chart";
11
- this.group = "Charts";
12
- this.description = `visualizes data with dots or with a line with sharp edges on data points in Cartesian
13
- coordinate system`;
14
- }
15
- }
16
- module.exports = new ScatterChartComponent();
@@ -1,59 +0,0 @@
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
- }
@@ -1,58 +0,0 @@
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 };
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const ReactTemplate_1 = require("../../../../../lib/templates/ReactTemplate");
4
- class ScatterChartTemplate extends ReactTemplate_1.ReactTemplate {
5
- /**
6
- *
7
- */
8
- constructor() {
9
- super(__dirname);
10
- this.id = "scatter-chart";
11
- this.name = "Scatter Chart";
12
- this.widget = "igDataChart";
13
- this.description = "igDataChart Scatter series template for React";
14
- this.projectType = "es6";
15
- this.components = ["Scatter Chart"];
16
- this.controlGroup = "Charts";
17
- this.dependencies = ["igDataChart"];
18
- this.hasExtraConfiguration = false;
19
- }
20
- }
21
- module.exports = new ScatterChartTemplate();
@@ -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 TreeGridComponent extends cli_core_1.BaseComponent {
5
- /**
6
- *
7
- */
8
- constructor() {
9
- super(__dirname);
10
- this.name = "Tree Grid";
11
- this.group = "Data Grids";
12
- this.description = "pick from tree grids: basic, custom, editing, export.";
13
- }
14
- }
15
- module.exports = new TreeGridComponent();