igniteui-cli 16.0.0-alpha.1 → 16.0.0

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 (1319) hide show
  1. package/README.md +30 -3
  2. package/bin/execute.js +36 -6
  3. package/lib/MultiTemplateComponent.d.ts +1 -1
  4. package/lib/PromptSession.d.ts +5 -14
  5. package/lib/PromptSession.js +18 -98
  6. package/lib/TemplateManager.d.ts +1 -1
  7. package/lib/TemplateManager.js +3 -7
  8. package/lib/cli.d.ts +1 -1
  9. package/lib/cli.js +47 -39
  10. package/lib/commands/add.js +35 -21
  11. package/lib/commands/ai-config.d.ts +19 -0
  12. package/lib/commands/ai-config.js +234 -0
  13. package/lib/commands/build.js +12 -22
  14. package/lib/commands/config.js +10 -14
  15. package/lib/commands/doc.js +175 -18
  16. package/lib/commands/doctor.d.ts +3 -0
  17. package/lib/commands/doctor.js +49 -0
  18. package/lib/commands/generate.js +9 -12
  19. package/lib/commands/index.d.ts +3 -0
  20. package/lib/commands/index.js +7 -1
  21. package/lib/commands/list.js +52 -12
  22. package/lib/commands/mcp.d.ts +32 -0
  23. package/lib/commands/mcp.js +152 -0
  24. package/lib/commands/new.js +103 -22
  25. package/lib/commands/start.js +9 -24
  26. package/lib/commands/test.js +3 -4
  27. package/lib/commands/types.d.ts +46 -18
  28. package/lib/commands/types.js +0 -23
  29. package/lib/commands/upgrade.js +34 -15
  30. package/lib/doc-format.d.ts +4 -0
  31. package/lib/doc-format.js +33 -0
  32. package/lib/doctor/ai.d.ts +6 -0
  33. package/lib/doctor/ai.js +95 -0
  34. package/lib/doctor/environment.d.ts +7 -0
  35. package/lib/doctor/environment.js +116 -0
  36. package/lib/doctor/feed.d.ts +2 -0
  37. package/lib/doctor/feed.js +59 -0
  38. package/lib/doctor/index.d.ts +5 -0
  39. package/lib/doctor/index.js +88 -0
  40. package/lib/doctor/project.d.ts +7 -0
  41. package/lib/doctor/project.js +138 -0
  42. package/lib/doctor/report.d.ts +4 -0
  43. package/lib/doctor/report.js +35 -0
  44. package/lib/doctor/types.d.ts +25 -0
  45. package/lib/doctor/types.js +2 -0
  46. package/lib/doctor/util.d.ts +18 -0
  47. package/lib/doctor/util.js +132 -0
  48. package/lib/project-utility/GridHelper.d.ts +6 -2
  49. package/lib/templates/IgniteUIForReactTemplate.d.ts +10 -8
  50. package/lib/templates/IgniteUIForReactTemplate.js +3 -26
  51. package/lib/templates/IgniteUIForWebComponentsTemplate.d.ts +9 -4
  52. package/lib/templates/IgniteUIForWebComponentsTemplate.js +12 -6
  53. package/lib/templates/jQueryTemplate.d.ts +9 -4
  54. package/lib/templates/jQueryTemplate.js +2 -3
  55. package/migrations/legacy-type/index.js +18 -0
  56. package/migrations/legacy-type/index.spec.js +94 -0
  57. package/migrations/migration-collection.json +8 -39
  58. package/package.json +18 -16
  59. package/scripts/install.js +1 -2
  60. package/scripts/uninstall.js +1 -2
  61. package/templates/angular/index.js +0 -1
  62. package/templates/blazor/igb/index.js +12 -0
  63. package/templates/blazor/igb/projects/_base/index.d.ts +25 -0
  64. package/templates/blazor/igb/projects/_base/index.js +67 -0
  65. package/templates/blazor/igb/projects/ai-config/files/AGENTS.md +65 -0
  66. package/templates/blazor/igb/projects/ai-config/files/skills/AGENTS.md +69 -0
  67. package/templates/blazor/igb/projects/ai-config/files/skills/README.md +40 -0
  68. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/SKILL.md +74 -0
  69. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/charts.md +127 -0
  70. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/client-scripts.md +100 -0
  71. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/data-display.md +187 -0
  72. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/feedback.md +84 -0
  73. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/form-controls.md +206 -0
  74. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/layout-manager.md +79 -0
  75. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/layout.md +200 -0
  76. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/setup.md +115 -0
  77. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-generate-from-image-design/SKILL.md +99 -0
  78. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-generate-from-image-design/references/component-mapping.md +103 -0
  79. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-generate-from-image-design/references/gotchas.md +273 -0
  80. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/SKILL.md +123 -0
  81. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/data-operations.md +113 -0
  82. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/editing.md +144 -0
  83. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/features.md +194 -0
  84. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/grid-migration.md +141 -0
  85. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/paging-remote.md +150 -0
  86. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/sizing.md +77 -0
  87. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/state.md +81 -0
  88. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/structure.md +226 -0
  89. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/types.md +197 -0
  90. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-theming/SKILL.md +131 -0
  91. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-theming/references/common-patterns.md +192 -0
  92. package/templates/blazor/igb/projects/ai-config/index.d.ts +22 -0
  93. package/templates/blazor/igb/projects/ai-config/index.js +63 -0
  94. package/templates/blazor/igb/projects/empty/index.d.ts +9 -0
  95. package/templates/blazor/igb/projects/empty/index.js +15 -0
  96. package/templates/blazor/igb/projects/web-app/index.d.ts +9 -0
  97. package/templates/blazor/igb/projects/web-app/index.js +15 -0
  98. package/templates/blazor/index.d.ts +3 -0
  99. package/templates/blazor/index.js +11 -0
  100. package/templates/jquery/index.js +0 -1
  101. package/templates/jquery/js/hierarchical-grid/hierarchical-grid/index.js +0 -2
  102. package/templates/jquery/js/index.js +0 -2
  103. package/templates/jquery/js/projects/empty/files/package.json +3 -3
  104. package/templates/jquery/js/projects/empty/index.js +2 -0
  105. package/templates/react/ReactTypeScriptFileUpdate.js +4 -4
  106. package/templates/react/igr-ts/accordion/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  107. package/templates/react/igr-ts/accordion/default/files/src/app/__path__/__filePrefix__.tsx +27 -0
  108. package/templates/react/igr-ts/accordion/default/files/src/app/__path__/style.module.css +9 -0
  109. package/templates/react/igr-ts/accordion/default/index.js +18 -0
  110. package/templates/react/igr-ts/accordion/index.js +12 -0
  111. package/templates/react/igr-ts/avatar/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  112. package/templates/react/igr-ts/avatar/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
  113. package/templates/react/igr-ts/avatar/default/files/src/app/__path__/style.module.css +18 -0
  114. package/templates/react/igr-ts/avatar/default/index.js +18 -0
  115. package/templates/react/igr-ts/avatar/index.js +12 -0
  116. package/templates/react/igr-ts/badge/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  117. package/templates/react/igr-ts/badge/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
  118. package/templates/react/igr-ts/badge/default/files/src/app/__path__/style.module.css +9 -0
  119. package/templates/react/igr-ts/badge/default/index.js +18 -0
  120. package/templates/react/igr-ts/badge/index.js +12 -0
  121. package/templates/react/igr-ts/banner/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  122. package/templates/react/igr-ts/banner/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
  123. package/templates/react/igr-ts/banner/default/files/src/app/__path__/style.module.css +9 -0
  124. package/templates/react/igr-ts/banner/default/index.js +18 -0
  125. package/templates/react/igr-ts/banner/index.js +12 -0
  126. package/templates/react/igr-ts/breadcrumbs/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  127. package/templates/react/igr-ts/breadcrumbs/default/files/src/app/__path__/__filePrefix__.tsx +20 -0
  128. package/templates/react/igr-ts/breadcrumbs/default/files/src/app/__path__/style.module.css +9 -0
  129. package/templates/react/igr-ts/breadcrumbs/default/index.js +18 -0
  130. package/templates/react/igr-ts/breadcrumbs/index.js +12 -0
  131. package/templates/react/igr-ts/bullet-graph/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
  132. package/templates/react/igr-ts/bullet-graph/default/index.js +2 -1
  133. package/templates/react/igr-ts/button/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  134. package/templates/react/igr-ts/button/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
  135. package/templates/react/igr-ts/button/default/files/src/app/__path__/style.module.css +12 -0
  136. package/templates/react/igr-ts/button/default/index.js +18 -0
  137. package/templates/react/igr-ts/button/index.js +12 -0
  138. package/templates/react/igr-ts/button-group/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  139. package/templates/react/igr-ts/button-group/default/files/src/app/__path__/__filePrefix__.tsx +18 -0
  140. package/templates/react/igr-ts/button-group/default/files/src/app/__path__/style.module.css +9 -0
  141. package/templates/react/igr-ts/button-group/default/index.js +18 -0
  142. package/templates/react/igr-ts/button-group/index.js +12 -0
  143. package/templates/react/igr-ts/calendar/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  144. package/templates/react/igr-ts/calendar/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
  145. package/templates/react/igr-ts/calendar/default/files/src/app/__path__/style.module.css +9 -0
  146. package/templates/react/igr-ts/calendar/default/index.js +18 -0
  147. package/templates/react/igr-ts/calendar/index.js +12 -0
  148. package/templates/react/igr-ts/card/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  149. package/templates/react/igr-ts/card/default/files/src/app/__path__/__filePrefix__.tsx +26 -0
  150. package/templates/react/igr-ts/card/default/files/src/app/__path__/style.module.css +9 -0
  151. package/templates/react/igr-ts/card/default/index.js +18 -0
  152. package/templates/react/igr-ts/card/index.js +12 -0
  153. package/templates/react/igr-ts/carousel/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  154. package/templates/react/igr-ts/carousel/default/files/src/app/__path__/__filePrefix__.tsx +27 -0
  155. package/templates/react/igr-ts/carousel/default/files/src/app/__path__/style.module.css +9 -0
  156. package/templates/react/igr-ts/carousel/default/index.js +18 -0
  157. package/templates/react/igr-ts/carousel/index.js +12 -0
  158. package/templates/react/igr-ts/category-chart/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
  159. package/templates/react/igr-ts/category-chart/default/files/src/app/__path__/__filePrefix__.tsx +2 -6
  160. package/templates/react/igr-ts/category-chart/default/index.js +2 -1
  161. package/templates/react/igr-ts/chat/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  162. package/templates/react/igr-ts/chat/default/files/src/app/__path__/__filePrefix__.tsx +20 -0
  163. package/templates/react/igr-ts/chat/default/files/src/app/__path__/style.module.css +21 -0
  164. package/templates/react/igr-ts/chat/default/index.js +18 -0
  165. package/templates/react/igr-ts/chat/index.js +12 -0
  166. package/templates/react/igr-ts/checkbox/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  167. package/templates/react/igr-ts/checkbox/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
  168. package/templates/react/igr-ts/checkbox/default/files/src/app/__path__/style.module.css +9 -0
  169. package/templates/react/igr-ts/checkbox/default/index.js +18 -0
  170. package/templates/react/igr-ts/checkbox/index.js +12 -0
  171. package/templates/react/igr-ts/chip/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  172. package/templates/react/igr-ts/chip/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
  173. package/templates/react/igr-ts/chip/default/files/src/app/__path__/style.module.css +9 -0
  174. package/templates/react/igr-ts/chip/default/index.js +18 -0
  175. package/templates/react/igr-ts/chip/index.js +12 -0
  176. package/templates/react/igr-ts/circular-progress/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  177. package/templates/react/igr-ts/circular-progress/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
  178. package/templates/react/igr-ts/circular-progress/default/files/src/app/__path__/style.module.css +9 -0
  179. package/templates/react/igr-ts/circular-progress/default/index.js +18 -0
  180. package/templates/react/igr-ts/circular-progress/index.js +12 -0
  181. package/templates/react/igr-ts/color-picker/color-picker-alpha/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  182. package/templates/react/igr-ts/color-picker/color-picker-alpha/files/src/app/__path__/__filePrefix__.tsx +23 -0
  183. package/templates/react/igr-ts/color-picker/color-picker-alpha/files/src/app/__path__/style.module.css +9 -0
  184. package/templates/react/igr-ts/color-picker/color-picker-alpha/index.js +18 -0
  185. package/templates/react/igr-ts/color-picker/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  186. package/templates/react/igr-ts/color-picker/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
  187. package/templates/react/igr-ts/color-picker/default/files/src/app/__path__/style.module.css +9 -0
  188. package/templates/react/igr-ts/color-picker/default/index.js +18 -0
  189. package/templates/react/igr-ts/color-picker/index.js +12 -0
  190. package/templates/react/igr-ts/combo/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  191. package/templates/react/igr-ts/combo/default/files/src/app/__path__/__filePrefix__.tsx +30 -0
  192. package/templates/react/igr-ts/combo/default/files/src/app/__path__/style.module.css +9 -0
  193. package/templates/react/igr-ts/combo/default/index.js +18 -0
  194. package/templates/react/igr-ts/combo/index.js +12 -0
  195. package/templates/react/igr-ts/constants.d.ts +4 -0
  196. package/templates/react/igr-ts/constants.js +7 -0
  197. package/templates/react/igr-ts/custom-templates/subscription-form/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  198. package/templates/react/igr-ts/custom-templates/subscription-form/files/src/app/__path__/__filePrefix__.tsx +33 -0
  199. package/templates/react/igr-ts/custom-templates/subscription-form/files/src/app/__path__/style.module.css +9 -0
  200. package/templates/react/igr-ts/custom-templates/subscription-form/index.js +17 -0
  201. package/templates/react/igr-ts/date-picker/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  202. package/templates/react/igr-ts/date-picker/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
  203. package/templates/react/igr-ts/date-picker/default/files/src/app/__path__/style.module.css +9 -0
  204. package/templates/react/igr-ts/date-picker/default/index.js +18 -0
  205. package/templates/react/igr-ts/date-picker/index.js +12 -0
  206. package/templates/react/igr-ts/date-range-picker/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  207. package/templates/react/igr-ts/date-range-picker/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
  208. package/templates/react/igr-ts/date-range-picker/default/files/src/app/__path__/style.module.css +9 -0
  209. package/templates/react/igr-ts/date-range-picker/default/index.js +18 -0
  210. package/templates/react/igr-ts/date-range-picker/index.js +12 -0
  211. package/templates/react/igr-ts/date-time-input/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  212. package/templates/react/igr-ts/date-time-input/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
  213. package/templates/react/igr-ts/date-time-input/default/files/src/app/__path__/style.module.css +9 -0
  214. package/templates/react/igr-ts/date-time-input/default/index.js +18 -0
  215. package/templates/react/igr-ts/date-time-input/index.js +12 -0
  216. package/templates/react/igr-ts/dialog/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  217. package/templates/react/igr-ts/dialog/default/files/src/app/__path__/__filePrefix__.tsx +20 -0
  218. package/templates/react/igr-ts/dialog/default/files/src/app/__path__/style.module.css +9 -0
  219. package/templates/react/igr-ts/dialog/default/index.js +18 -0
  220. package/templates/react/igr-ts/dialog/index.js +12 -0
  221. package/templates/react/igr-ts/divider/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  222. package/templates/react/igr-ts/divider/default/files/src/app/__path__/__filePrefix__.tsx +18 -0
  223. package/templates/react/igr-ts/divider/default/files/src/app/__path__/style.module.css +9 -0
  224. package/templates/react/igr-ts/divider/default/index.js +18 -0
  225. package/templates/react/igr-ts/divider/index.js +12 -0
  226. package/templates/react/igr-ts/doughnut-chart/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
  227. package/templates/react/igr-ts/doughnut-chart/default/files/src/app/__path__/__filePrefix__.tsx +6 -11
  228. package/templates/react/igr-ts/doughnut-chart/default/index.js +2 -1
  229. package/templates/react/igr-ts/dropdown/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  230. package/templates/react/igr-ts/dropdown/default/files/src/app/__path__/__filePrefix__.tsx +19 -0
  231. package/templates/react/igr-ts/dropdown/default/files/src/app/__path__/style.module.css +9 -0
  232. package/templates/react/igr-ts/dropdown/default/index.js +18 -0
  233. package/templates/react/igr-ts/dropdown/index.js +12 -0
  234. package/templates/react/igr-ts/expansion-panel/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  235. package/templates/react/igr-ts/expansion-panel/default/files/src/app/__path__/__filePrefix__.tsx +17 -0
  236. package/templates/react/igr-ts/expansion-panel/default/files/src/app/__path__/style.module.css +9 -0
  237. package/templates/react/igr-ts/expansion-panel/default/index.js +18 -0
  238. package/templates/react/igr-ts/expansion-panel/index.js +12 -0
  239. package/templates/react/igr-ts/file-input/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  240. package/templates/react/igr-ts/file-input/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
  241. package/templates/react/igr-ts/file-input/default/files/src/app/__path__/style.module.css +9 -0
  242. package/templates/react/igr-ts/file-input/default/index.js +18 -0
  243. package/templates/react/igr-ts/file-input/index.js +12 -0
  244. package/templates/react/igr-ts/financial-chart/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
  245. package/templates/react/igr-ts/financial-chart/default/files/src/app/__path__/__filePrefix__.tsx +2 -6
  246. package/templates/react/igr-ts/financial-chart/default/index.js +2 -1
  247. package/templates/react/igr-ts/form/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  248. package/templates/react/igr-ts/form/default/files/src/app/__path__/__filePrefix__.tsx +24 -0
  249. package/templates/react/igr-ts/form/default/files/src/app/__path__/style.module.css +9 -0
  250. package/templates/react/igr-ts/form/default/index.js +18 -0
  251. package/templates/react/igr-ts/form/index.js +12 -0
  252. package/templates/react/igr-ts/generate/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  253. package/templates/react/igr-ts/generate/files/src/app/__path__/__filePrefix__.tsx +12 -0
  254. package/templates/react/igr-ts/generate/files/src/app/__path__/style.module.css +3 -0
  255. package/templates/react/igr-ts/generate/template.json +13 -0
  256. package/templates/react/igr-ts/grid/basic/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
  257. package/templates/react/igr-ts/grid/basic/files/src/app/__path__/__filePrefix__.tsx +51 -45
  258. package/templates/react/igr-ts/grid/basic/files/src/app/__path__/style.module.css +17 -7
  259. package/templates/react/igr-ts/grid/basic/index.js +34 -3
  260. package/templates/react/igr-ts/grid/index.js +2 -2
  261. package/templates/react/igr-ts/groups.json +8 -2
  262. package/templates/react/igr-ts/hierarchical-grid/basic/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  263. package/templates/react/igr-ts/hierarchical-grid/basic/files/src/app/__path__/__filePrefix__.tsx +43 -0
  264. package/templates/react/igr-ts/hierarchical-grid/basic/files/src/app/__path__/style.module.css +27 -0
  265. package/templates/react/igr-ts/hierarchical-grid/basic/index.js +50 -0
  266. package/templates/react/igr-ts/hierarchical-grid/index.js +12 -0
  267. package/templates/react/igr-ts/highlight/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  268. package/templates/react/igr-ts/highlight/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
  269. package/templates/react/igr-ts/highlight/default/files/src/app/__path__/style.module.css +9 -0
  270. package/templates/react/igr-ts/highlight/default/index.js +18 -0
  271. package/templates/react/igr-ts/highlight/index.js +12 -0
  272. package/templates/react/igr-ts/icon/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  273. package/templates/react/igr-ts/icon/default/files/src/app/__path__/__filePrefix__.tsx +21 -0
  274. package/templates/react/igr-ts/icon/default/files/src/app/__path__/style.module.css +12 -0
  275. package/templates/react/igr-ts/icon/default/index.js +18 -0
  276. package/templates/react/igr-ts/icon/index.js +12 -0
  277. package/templates/react/igr-ts/icon-button/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  278. package/templates/react/igr-ts/icon-button/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
  279. package/templates/react/igr-ts/icon-button/default/files/src/app/__path__/style.module.css +12 -0
  280. package/templates/react/igr-ts/icon-button/default/index.js +18 -0
  281. package/templates/react/igr-ts/icon-button/index.js +12 -0
  282. package/templates/react/igr-ts/index.js +1 -2
  283. package/templates/react/igr-ts/input/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  284. package/templates/react/igr-ts/input/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
  285. package/templates/react/igr-ts/input/default/files/src/app/__path__/style.module.css +9 -0
  286. package/templates/react/igr-ts/input/default/index.js +18 -0
  287. package/templates/react/igr-ts/input/index.js +12 -0
  288. package/templates/react/igr-ts/linear-gauge/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
  289. package/templates/react/igr-ts/linear-gauge/default/index.js +2 -1
  290. package/templates/react/igr-ts/linear-progress/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  291. package/templates/react/igr-ts/linear-progress/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
  292. package/templates/react/igr-ts/linear-progress/default/files/src/app/__path__/style.module.css +9 -0
  293. package/templates/react/igr-ts/linear-progress/default/index.js +18 -0
  294. package/templates/react/igr-ts/linear-progress/index.js +12 -0
  295. package/templates/react/igr-ts/list/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  296. package/templates/react/igr-ts/list/default/files/src/app/__path__/__filePrefix__.tsx +31 -0
  297. package/templates/react/igr-ts/list/default/files/src/app/__path__/style.module.css +9 -0
  298. package/templates/react/igr-ts/list/default/index.js +18 -0
  299. package/templates/react/igr-ts/list/index.js +12 -0
  300. package/templates/react/igr-ts/mask-input/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  301. package/templates/react/igr-ts/mask-input/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
  302. package/templates/react/igr-ts/mask-input/default/files/src/app/__path__/style.module.css +9 -0
  303. package/templates/react/igr-ts/mask-input/default/index.js +18 -0
  304. package/templates/react/igr-ts/mask-input/index.js +12 -0
  305. package/templates/react/igr-ts/nav-drawer/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  306. package/templates/react/igr-ts/nav-drawer/default/files/src/app/__path__/__filePrefix__.tsx +27 -0
  307. package/templates/react/igr-ts/nav-drawer/default/files/src/app/__path__/style.module.css +9 -0
  308. package/templates/react/igr-ts/nav-drawer/default/index.js +18 -0
  309. package/templates/react/igr-ts/nav-drawer/index.js +12 -0
  310. package/templates/react/igr-ts/navbar/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  311. package/templates/react/igr-ts/navbar/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
  312. package/templates/react/igr-ts/navbar/default/files/src/app/__path__/style.module.css +9 -0
  313. package/templates/react/igr-ts/navbar/default/index.js +18 -0
  314. package/templates/react/igr-ts/navbar/index.js +12 -0
  315. package/templates/react/igr-ts/pie-chart/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
  316. package/templates/react/igr-ts/pie-chart/default/files/src/app/__path__/__filePrefix__.tsx +5 -11
  317. package/templates/react/igr-ts/pie-chart/default/index.js +2 -1
  318. package/templates/react/igr-ts/pivot-grid/basic/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  319. package/templates/react/igr-ts/pivot-grid/basic/files/src/app/__path__/__filePrefix__.tsx +53 -0
  320. package/templates/react/igr-ts/pivot-grid/basic/files/src/app/__path__/style.module.css +27 -0
  321. package/templates/react/igr-ts/pivot-grid/basic/index.js +50 -0
  322. package/templates/react/igr-ts/pivot-grid/index.js +12 -0
  323. package/templates/react/igr-ts/projects/_base/files/__dot__azure/azure-pipelines.yml +8 -0
  324. package/templates/react/igr-ts/projects/_base/files/__dot__github/workflows/github-pages.yml +8 -6
  325. package/templates/react/igr-ts/projects/_base/files/__dot__github/workflows/node.js.yml +8 -4
  326. package/templates/react/igr-ts/projects/_base/files/__dot__gitignore +22 -4
  327. package/templates/react/igr-ts/projects/_base/files/eslint.config.js +42 -0
  328. package/templates/react/igr-ts/projects/_base/files/index.html +3 -7
  329. package/templates/react/igr-ts/projects/_base/files/package.json +27 -23
  330. package/templates/react/igr-ts/projects/_base/files/public/favicon.svg +1 -0
  331. package/templates/react/igr-ts/projects/_base/files/public/icons.svg +24 -0
  332. package/templates/react/igr-ts/projects/_base/files/src/app/app.test.tsx +6 -1
  333. package/templates/react/igr-ts/projects/_base/files/src/app/app.tsx +4 -2
  334. package/templates/react/igr-ts/projects/_base/files/src/main.tsx +6 -5
  335. package/templates/react/igr-ts/projects/_base/files/src/setupTests.ts +21 -9
  336. package/templates/react/igr-ts/projects/_base/files/styles.css +6 -0
  337. package/templates/react/igr-ts/projects/_base/files/tsconfig.app.json +28 -0
  338. package/templates/react/igr-ts/projects/_base/files/tsconfig.json +5 -23
  339. package/templates/react/igr-ts/projects/_base/files/tsconfig.node.json +26 -0
  340. package/templates/react/igr-ts/projects/_base/files/vite.config.ts +6 -9
  341. package/templates/react/igr-ts/projects/_base/index.d.ts +2 -1
  342. package/templates/react/igr-ts/projects/_base/index.js +2 -0
  343. package/templates/react/igr-ts/projects/_base_with_home/files/index.html +5 -8
  344. package/templates/react/igr-ts/projects/_base_with_home/files/src/app/home/home.tsx +60 -10
  345. package/templates/react/igr-ts/projects/_base_with_home/files/src/app/home/style.module.css +79 -20
  346. package/templates/react/igr-ts/projects/_base_with_home/index.d.ts +1 -0
  347. package/templates/react/igr-ts/projects/_base_with_home/index.js +1 -0
  348. package/templates/react/igr-ts/projects/ai-config/files/AGENTS.md +116 -0
  349. package/templates/react/igr-ts/projects/ai-config/files/skills/README.md +45 -0
  350. package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/SKILL.md +73 -0
  351. package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/references/COMPONENTS.md +66 -0
  352. package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/references/DATAVIZ.md +90 -0
  353. package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/references/MCP.md +43 -0
  354. package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/references/TROUBLESHOOTING.md +19 -0
  355. package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/references/USAGE.md +85 -0
  356. package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-customize-theme/SKILL.md +133 -0
  357. package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-customize-theme/references/CSS-THEMING.md +100 -0
  358. package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-generate-from-image-design/SKILL.md +101 -0
  359. package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-generate-from-image-design/references/gotchas.md +105 -0
  360. package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-migrate-grid-lite-to-premium/SKILL.md +182 -0
  361. package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-optimize-bundle-size/SKILL.md +87 -0
  362. package/templates/react/igr-ts/projects/ai-config/index.d.ts +22 -0
  363. package/templates/react/igr-ts/projects/ai-config/index.js +74 -0
  364. package/templates/react/igr-ts/projects/base/index.d.ts +1 -1
  365. package/templates/react/igr-ts/projects/base/index.js +1 -27
  366. package/templates/react/igr-ts/projects/empty/index.d.ts +1 -1
  367. package/templates/react/igr-ts/projects/empty/index.js +3 -29
  368. package/templates/react/igr-ts/projects/side-nav/files/src/app/app-routes.tsx +5 -0
  369. package/templates/react/igr-ts/projects/side-nav/files/src/app/app.css +82 -0
  370. package/templates/react/igr-ts/projects/side-nav/files/src/app/app.test.tsx +19 -0
  371. package/templates/react/igr-ts/projects/side-nav/files/src/app/app.tsx +106 -0
  372. package/templates/react/igr-ts/projects/side-nav/files/src/app/home/home.tsx +69 -0
  373. package/templates/react/igr-ts/projects/side-nav/files/src/app/home/style.module.css +105 -0
  374. package/templates/react/igr-ts/projects/side-nav/index.d.ts +15 -0
  375. package/templates/react/igr-ts/projects/side-nav/index.js +46 -0
  376. package/templates/react/igr-ts/projects/side-nav-auth/files/index.html +19 -0
  377. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/app-routes.tsx +24 -0
  378. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/app.css +84 -0
  379. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/app.tsx +126 -0
  380. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/AuthContext.tsx +73 -0
  381. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/AuthGuard.tsx +14 -0
  382. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/Login.module.css +25 -0
  383. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/Login.tsx +69 -0
  384. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/LoginBar.module.css +21 -0
  385. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/LoginBar.tsx +44 -0
  386. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/LoginDialog.module.css +13 -0
  387. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/LoginDialog.tsx +49 -0
  388. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/Register.module.css +19 -0
  389. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/Register.tsx +67 -0
  390. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/models/external-login.ts +10 -0
  391. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/models/login.ts +4 -0
  392. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/models/register-info.ts +6 -0
  393. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/models/user.ts +19 -0
  394. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/pages/Profile.module.css +87 -0
  395. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/pages/Profile.tsx +42 -0
  396. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/pages/RedirectFacebook.tsx +44 -0
  397. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/pages/RedirectGoogle.tsx +40 -0
  398. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/pages/RedirectMicrosoft.tsx +40 -0
  399. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/authentication.ts +37 -0
  400. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/external-auth-config.ts +44 -0
  401. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/externalAuth.ts +272 -0
  402. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/fakeBackend.ts +88 -0
  403. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/jwtUtil.ts +10 -0
  404. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/pkce.ts +29 -0
  405. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/userStore.ts +39 -0
  406. package/templates/react/igr-ts/projects/side-nav-auth/index.d.ts +15 -0
  407. package/templates/react/igr-ts/projects/side-nav-auth/index.js +46 -0
  408. package/templates/react/igr-ts/projects/side-nav-mini/files/src/app/app-routes.tsx +5 -0
  409. package/templates/react/igr-ts/projects/side-nav-mini/files/src/app/app.css +109 -0
  410. package/templates/react/igr-ts/projects/side-nav-mini/files/src/app/app.test.tsx +20 -0
  411. package/templates/react/igr-ts/projects/side-nav-mini/files/src/app/app.tsx +82 -0
  412. package/templates/react/igr-ts/projects/side-nav-mini/files/src/app/home/home.tsx +69 -0
  413. package/templates/react/igr-ts/projects/side-nav-mini/files/src/app/home/style.module.css +105 -0
  414. package/templates/react/igr-ts/projects/side-nav-mini/index.d.ts +15 -0
  415. package/templates/react/igr-ts/projects/side-nav-mini/index.js +46 -0
  416. package/templates/react/igr-ts/projects/side-nav-mini-auth/files/src/app/app.css +106 -0
  417. package/templates/react/igr-ts/projects/side-nav-mini-auth/files/src/app/app.tsx +102 -0
  418. package/templates/react/igr-ts/projects/side-nav-mini-auth/index.d.ts +15 -0
  419. package/templates/react/igr-ts/projects/side-nav-mini-auth/index.js +50 -0
  420. package/templates/react/igr-ts/qr-code/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  421. package/templates/react/igr-ts/qr-code/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
  422. package/templates/react/igr-ts/qr-code/default/files/src/app/__path__/style.module.css +9 -0
  423. package/templates/react/igr-ts/qr-code/default/index.js +18 -0
  424. package/templates/react/igr-ts/qr-code/index.js +12 -0
  425. package/templates/react/igr-ts/radial-gauge/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
  426. package/templates/react/igr-ts/radial-gauge/default/index.js +2 -2
  427. package/templates/react/igr-ts/radio-group/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  428. package/templates/react/igr-ts/radio-group/default/files/src/app/__path__/__filePrefix__.tsx +18 -0
  429. package/templates/react/igr-ts/radio-group/default/files/src/app/__path__/style.module.css +9 -0
  430. package/templates/react/igr-ts/radio-group/default/index.js +18 -0
  431. package/templates/react/igr-ts/radio-group/index.js +12 -0
  432. package/templates/react/igr-ts/range-slider/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  433. package/templates/react/igr-ts/range-slider/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
  434. package/templates/react/igr-ts/range-slider/default/files/src/app/__path__/style.module.css +14 -0
  435. package/templates/react/igr-ts/range-slider/default/index.js +18 -0
  436. package/templates/react/igr-ts/range-slider/index.js +12 -0
  437. package/templates/react/igr-ts/rating/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  438. package/templates/react/igr-ts/rating/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
  439. package/templates/react/igr-ts/rating/default/files/src/app/__path__/style.module.css +9 -0
  440. package/templates/react/igr-ts/rating/default/index.js +18 -0
  441. package/templates/react/igr-ts/rating/index.js +12 -0
  442. package/templates/react/igr-ts/ripple/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  443. package/templates/react/igr-ts/ripple/default/files/src/app/__path__/__filePrefix__.tsx +17 -0
  444. package/templates/react/igr-ts/ripple/default/files/src/app/__path__/style.module.css +9 -0
  445. package/templates/react/igr-ts/ripple/default/index.js +18 -0
  446. package/templates/react/igr-ts/ripple/index.js +12 -0
  447. package/templates/react/igr-ts/select/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  448. package/templates/react/igr-ts/select/default/files/src/app/__path__/__filePrefix__.tsx +25 -0
  449. package/templates/react/igr-ts/select/default/files/src/app/__path__/style.module.css +9 -0
  450. package/templates/react/igr-ts/select/default/index.js +18 -0
  451. package/templates/react/igr-ts/select/index.js +12 -0
  452. package/templates/react/igr-ts/slider/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  453. package/templates/react/igr-ts/slider/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
  454. package/templates/react/igr-ts/slider/default/files/src/app/__path__/style.module.css +9 -0
  455. package/templates/react/igr-ts/slider/default/index.js +18 -0
  456. package/templates/react/igr-ts/slider/index.js +12 -0
  457. package/templates/react/igr-ts/snackbar/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  458. package/templates/react/igr-ts/snackbar/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
  459. package/templates/react/igr-ts/snackbar/default/files/src/app/__path__/style.module.css +9 -0
  460. package/templates/react/igr-ts/snackbar/default/index.js +18 -0
  461. package/templates/react/igr-ts/snackbar/index.js +12 -0
  462. package/templates/react/igr-ts/splitter/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  463. package/templates/react/igr-ts/splitter/default/files/src/app/__path__/__filePrefix__.tsx +21 -0
  464. package/templates/react/igr-ts/splitter/default/files/src/app/__path__/style.module.css +31 -0
  465. package/templates/react/igr-ts/splitter/default/index.js +18 -0
  466. package/templates/react/igr-ts/splitter/index.js +12 -0
  467. package/templates/react/igr-ts/stepper/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  468. package/templates/react/igr-ts/stepper/default/files/src/app/__path__/__filePrefix__.tsx +27 -0
  469. package/templates/react/igr-ts/stepper/default/files/src/app/__path__/style.module.css +9 -0
  470. package/templates/react/igr-ts/stepper/default/index.js +18 -0
  471. package/templates/react/igr-ts/stepper/index.js +12 -0
  472. package/templates/react/igr-ts/switch/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  473. package/templates/react/igr-ts/switch/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
  474. package/templates/react/igr-ts/switch/default/files/src/app/__path__/style.module.css +9 -0
  475. package/templates/react/igr-ts/switch/default/index.js +18 -0
  476. package/templates/react/igr-ts/switch/index.js +12 -0
  477. package/templates/react/igr-ts/tabs/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  478. package/templates/react/igr-ts/tabs/default/files/src/app/__path__/__filePrefix__.tsx +27 -0
  479. package/templates/react/igr-ts/tabs/default/files/src/app/__path__/style.module.css +9 -0
  480. package/templates/react/igr-ts/tabs/default/index.js +18 -0
  481. package/templates/react/igr-ts/tabs/index.js +12 -0
  482. package/templates/react/igr-ts/text-area/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  483. package/templates/react/igr-ts/text-area/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
  484. package/templates/react/igr-ts/text-area/default/files/src/app/__path__/style.module.css +9 -0
  485. package/templates/react/igr-ts/text-area/default/index.js +18 -0
  486. package/templates/react/igr-ts/text-area/index.js +12 -0
  487. package/templates/react/igr-ts/theme-provider/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  488. package/templates/react/igr-ts/theme-provider/default/files/src/app/__path__/__filePrefix__.tsx +18 -0
  489. package/templates/react/igr-ts/theme-provider/default/files/src/app/__path__/style.module.css +25 -0
  490. package/templates/react/igr-ts/theme-provider/default/index.d.ts +1 -0
  491. package/templates/react/igr-ts/theme-provider/default/index.js +18 -0
  492. package/templates/react/igr-ts/theme-provider/index.d.ts +1 -0
  493. package/templates/react/igr-ts/theme-provider/index.js +12 -0
  494. package/templates/react/igr-ts/tile-manager/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  495. package/templates/react/igr-ts/tile-manager/default/files/src/app/__path__/__filePrefix__.tsx +27 -0
  496. package/templates/react/igr-ts/tile-manager/default/files/src/app/__path__/style.module.css +9 -0
  497. package/templates/react/igr-ts/tile-manager/default/index.d.ts +1 -0
  498. package/templates/react/igr-ts/tile-manager/default/index.js +18 -0
  499. package/templates/react/igr-ts/tile-manager/index.d.ts +1 -0
  500. package/templates/react/igr-ts/tile-manager/index.js +12 -0
  501. package/templates/react/igr-ts/toast/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  502. package/templates/react/igr-ts/toast/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
  503. package/templates/react/igr-ts/toast/default/files/src/app/__path__/style.module.css +9 -0
  504. package/templates/react/igr-ts/toast/default/index.d.ts +1 -0
  505. package/templates/react/igr-ts/toast/default/index.js +18 -0
  506. package/templates/react/igr-ts/toast/index.d.ts +1 -0
  507. package/templates/react/igr-ts/toast/index.js +12 -0
  508. package/templates/react/igr-ts/toggle-button/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  509. package/templates/react/igr-ts/toggle-button/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
  510. package/templates/react/igr-ts/toggle-button/default/files/src/app/__path__/style.module.css +9 -0
  511. package/templates/react/igr-ts/toggle-button/default/index.d.ts +1 -0
  512. package/templates/react/igr-ts/toggle-button/default/index.js +18 -0
  513. package/templates/react/igr-ts/toggle-button/index.d.ts +1 -0
  514. package/templates/react/igr-ts/toggle-button/index.js +12 -0
  515. package/templates/react/igr-ts/tooltip/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  516. package/templates/react/igr-ts/tooltip/default/files/src/app/__path__/__filePrefix__.tsx +15 -0
  517. package/templates/react/igr-ts/tooltip/default/files/src/app/__path__/style.module.css +9 -0
  518. package/templates/react/igr-ts/tooltip/default/index.d.ts +1 -0
  519. package/templates/react/igr-ts/tooltip/default/index.js +18 -0
  520. package/templates/react/igr-ts/tooltip/index.d.ts +1 -0
  521. package/templates/react/igr-ts/tooltip/index.js +12 -0
  522. package/templates/react/igr-ts/tree/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  523. package/templates/react/igr-ts/tree/default/files/src/app/__path__/__filePrefix__.tsx +29 -0
  524. package/templates/react/igr-ts/tree/default/files/src/app/__path__/style.module.css +9 -0
  525. package/templates/react/igr-ts/tree/default/index.d.ts +1 -0
  526. package/templates/react/igr-ts/tree/default/index.js +18 -0
  527. package/templates/react/igr-ts/tree/index.d.ts +1 -0
  528. package/templates/react/igr-ts/tree/index.js +12 -0
  529. package/templates/react/igr-ts/tree-grid/basic/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  530. package/templates/react/igr-ts/tree-grid/basic/files/src/app/__path__/__filePrefix__.tsx +30 -0
  531. package/templates/react/igr-ts/tree-grid/basic/files/src/app/__path__/style.module.css +27 -0
  532. package/templates/react/igr-ts/tree-grid/basic/index.d.ts +1 -0
  533. package/templates/react/igr-ts/tree-grid/basic/index.js +50 -0
  534. package/templates/react/igr-ts/tree-grid/index.d.ts +1 -0
  535. package/templates/react/igr-ts/tree-grid/index.js +12 -0
  536. package/templates/react/igr-ts/virtual-scroll/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
  537. package/templates/react/igr-ts/virtual-scroll/default/files/src/app/__path__/__filePrefix__.tsx +34 -0
  538. package/templates/react/igr-ts/virtual-scroll/default/files/src/app/__path__/style.module.css +16 -0
  539. package/templates/react/igr-ts/virtual-scroll/default/index.d.ts +1 -0
  540. package/templates/react/igr-ts/virtual-scroll/default/index.js +18 -0
  541. package/templates/react/igr-ts/virtual-scroll/index.d.ts +1 -0
  542. package/templates/react/igr-ts/virtual-scroll/index.js +12 -0
  543. package/templates/react/index.js +0 -2
  544. package/templates/webcomponents/WebComponentsTypeScriptFileUpdate.js +2 -2
  545. package/templates/webcomponents/igc-ts/avatar/default/files/src/app/__path__/__filePrefix__.ts +7 -2
  546. package/templates/webcomponents/igc-ts/breadcrumb/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  547. package/templates/webcomponents/igc-ts/breadcrumb/default/files/src/app/__path__/__filePrefix__.ts +36 -0
  548. package/templates/webcomponents/igc-ts/breadcrumb/default/index.d.ts +1 -0
  549. package/templates/webcomponents/igc-ts/breadcrumb/default/index.js +16 -0
  550. package/templates/webcomponents/igc-ts/breadcrumb/index.d.ts +1 -0
  551. package/templates/webcomponents/igc-ts/breadcrumb/index.js +15 -0
  552. package/templates/webcomponents/igc-ts/button/default/files/src/app/__path__/__filePrefix__.ts +8 -3
  553. package/templates/webcomponents/igc-ts/card/default/files/src/app/__path__/__filePrefix__.ts +10 -6
  554. package/templates/webcomponents/igc-ts/carousel/carousel-vertical/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  555. package/templates/webcomponents/igc-ts/carousel/carousel-vertical/files/src/app/__path__/__filePrefix__.ts +46 -0
  556. package/templates/webcomponents/igc-ts/carousel/carousel-vertical/index.d.ts +1 -0
  557. package/templates/webcomponents/igc-ts/carousel/carousel-vertical/index.js +16 -0
  558. package/templates/webcomponents/igc-ts/carousel/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  559. package/templates/webcomponents/igc-ts/carousel/default/files/src/app/__path__/__filePrefix__.ts +45 -0
  560. package/templates/webcomponents/igc-ts/carousel/default/index.d.ts +1 -0
  561. package/templates/webcomponents/igc-ts/carousel/default/index.js +16 -0
  562. package/templates/webcomponents/igc-ts/carousel/index.d.ts +1 -0
  563. package/templates/webcomponents/igc-ts/carousel/index.js +15 -0
  564. package/templates/webcomponents/igc-ts/category-chart/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  565. package/templates/webcomponents/igc-ts/category-chart/default/files/src/app/__path__/__filePrefix__.ts +37 -0
  566. package/templates/webcomponents/igc-ts/category-chart/default/index.d.ts +1 -0
  567. package/templates/webcomponents/igc-ts/category-chart/default/index.js +21 -0
  568. package/templates/webcomponents/igc-ts/category-chart/index.d.ts +1 -0
  569. package/templates/webcomponents/igc-ts/category-chart/index.js +12 -0
  570. package/templates/webcomponents/igc-ts/chat/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  571. package/templates/webcomponents/igc-ts/chat/default/files/src/app/__path__/__filePrefix__.ts +46 -0
  572. package/templates/webcomponents/igc-ts/chat/default/index.d.ts +1 -0
  573. package/templates/webcomponents/igc-ts/chat/default/index.js +16 -0
  574. package/templates/webcomponents/igc-ts/chat/index.d.ts +1 -0
  575. package/templates/webcomponents/igc-ts/chat/index.js +15 -0
  576. package/templates/webcomponents/igc-ts/color-picker/color-picker-alpha/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  577. package/templates/webcomponents/igc-ts/color-picker/color-picker-alpha/files/src/app/__path__/__filePrefix__.ts +31 -0
  578. package/templates/webcomponents/igc-ts/color-picker/color-picker-alpha/index.d.ts +1 -0
  579. package/templates/webcomponents/igc-ts/color-picker/color-picker-alpha/index.js +16 -0
  580. package/templates/webcomponents/igc-ts/color-picker/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  581. package/templates/webcomponents/igc-ts/color-picker/default/files/src/app/__path__/__filePrefix__.ts +29 -0
  582. package/templates/webcomponents/igc-ts/color-picker/default/index.d.ts +1 -0
  583. package/templates/webcomponents/igc-ts/color-picker/default/index.js +16 -0
  584. package/templates/webcomponents/igc-ts/color-picker/index.d.ts +1 -0
  585. package/templates/webcomponents/igc-ts/color-picker/index.js +15 -0
  586. package/templates/webcomponents/igc-ts/combo/combo-groups/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  587. package/templates/webcomponents/igc-ts/combo/combo-groups/files/src/app/__path__/__filePrefix__.ts +39 -0
  588. package/templates/webcomponents/igc-ts/combo/combo-groups/index.d.ts +1 -0
  589. package/templates/webcomponents/igc-ts/combo/combo-groups/index.js +16 -0
  590. package/templates/webcomponents/igc-ts/combo/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  591. package/templates/webcomponents/igc-ts/combo/default/files/src/app/__path__/__filePrefix__.ts +31 -0
  592. package/templates/webcomponents/igc-ts/combo/default/index.d.ts +1 -0
  593. package/templates/webcomponents/igc-ts/combo/default/index.js +16 -0
  594. package/templates/webcomponents/igc-ts/combo/index.d.ts +1 -0
  595. package/templates/webcomponents/igc-ts/combo/index.js +15 -0
  596. package/templates/webcomponents/igc-ts/constants.d.ts +6 -0
  597. package/templates/webcomponents/igc-ts/constants.js +9 -0
  598. package/templates/webcomponents/igc-ts/date-range-picker/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  599. package/templates/webcomponents/igc-ts/date-range-picker/default/files/src/app/__path__/__filePrefix__.ts +17 -0
  600. package/templates/webcomponents/igc-ts/date-range-picker/default/index.d.ts +1 -0
  601. package/templates/webcomponents/igc-ts/date-range-picker/default/index.js +16 -0
  602. package/templates/webcomponents/igc-ts/date-range-picker/index.d.ts +1 -0
  603. package/templates/webcomponents/igc-ts/date-range-picker/index.js +15 -0
  604. package/templates/webcomponents/igc-ts/date-time-input/default/files/src/app/__path__/__filePrefix__.ts +8 -2
  605. package/templates/webcomponents/igc-ts/dialog/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  606. package/templates/webcomponents/igc-ts/dialog/default/files/src/app/__path__/__filePrefix__.ts +28 -0
  607. package/templates/webcomponents/igc-ts/dialog/default/index.d.ts +1 -0
  608. package/templates/webcomponents/igc-ts/dialog/default/index.js +16 -0
  609. package/templates/webcomponents/igc-ts/dialog/dialog-form/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  610. package/templates/webcomponents/igc-ts/dialog/dialog-form/files/src/app/__path__/__filePrefix__.ts +32 -0
  611. package/templates/webcomponents/igc-ts/dialog/dialog-form/index.d.ts +1 -0
  612. package/templates/webcomponents/igc-ts/dialog/dialog-form/index.js +16 -0
  613. package/templates/webcomponents/igc-ts/dialog/index.d.ts +1 -0
  614. package/templates/webcomponents/igc-ts/dialog/index.js +15 -0
  615. package/templates/webcomponents/igc-ts/divider/default/index.js +1 -1
  616. package/templates/webcomponents/igc-ts/divider/index.js +1 -1
  617. package/templates/webcomponents/igc-ts/dock-manager/default/files/src/app/__path__/__filePrefix__.ts +129 -164
  618. package/templates/webcomponents/igc-ts/dock-manager/default/index.js +1 -1
  619. package/templates/webcomponents/igc-ts/doughnut-chart/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  620. package/templates/webcomponents/igc-ts/doughnut-chart/default/files/src/app/__path__/__filePrefix__.ts +52 -0
  621. package/templates/webcomponents/igc-ts/doughnut-chart/default/index.d.ts +1 -0
  622. package/templates/webcomponents/igc-ts/doughnut-chart/default/index.js +21 -0
  623. package/templates/webcomponents/igc-ts/doughnut-chart/index.d.ts +1 -0
  624. package/templates/webcomponents/igc-ts/doughnut-chart/index.js +12 -0
  625. package/templates/webcomponents/igc-ts/file-input/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  626. package/templates/webcomponents/igc-ts/file-input/default/files/src/app/__path__/__filePrefix__.ts +21 -0
  627. package/templates/webcomponents/igc-ts/file-input/default/index.d.ts +1 -0
  628. package/templates/webcomponents/igc-ts/file-input/default/index.js +16 -0
  629. package/templates/webcomponents/igc-ts/file-input/index.d.ts +1 -0
  630. package/templates/webcomponents/igc-ts/file-input/index.js +15 -0
  631. package/templates/webcomponents/igc-ts/financial-chart/default/index.js +3 -2
  632. package/templates/webcomponents/igc-ts/grid/default/files/src/app/__path__/__filePrefix__.test.ts +1 -1
  633. package/templates/webcomponents/igc-ts/grid/default/files/src/app/__path__/__filePrefix__.ts +74 -68
  634. package/templates/webcomponents/igc-ts/grid/default/index.js +32 -5
  635. package/templates/webcomponents/igc-ts/grid/grid-editing/files/src/app/__path__/__filePrefix__.ts +86 -185
  636. package/templates/webcomponents/igc-ts/grid/grid-editing/index.js +2 -0
  637. package/templates/webcomponents/igc-ts/grid/grid-summaries/files/src/app/__path__/__filePrefix__.ts +11 -25
  638. package/templates/webcomponents/igc-ts/grid/grid-summaries/index.js +2 -0
  639. package/templates/webcomponents/igc-ts/groups.json +9 -10
  640. package/templates/webcomponents/igc-ts/hierarchical-grid/basic/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  641. package/templates/webcomponents/igc-ts/hierarchical-grid/basic/files/src/app/__path__/__filePrefix__.ts +100 -0
  642. package/templates/webcomponents/igc-ts/hierarchical-grid/basic/index.d.ts +1 -0
  643. package/templates/webcomponents/igc-ts/hierarchical-grid/basic/index.js +49 -0
  644. package/templates/webcomponents/igc-ts/hierarchical-grid/index.d.ts +1 -0
  645. package/templates/webcomponents/igc-ts/hierarchical-grid/index.js +12 -0
  646. package/templates/webcomponents/igc-ts/highlight/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  647. package/templates/webcomponents/igc-ts/highlight/default/files/src/app/__path__/__filePrefix__.ts +34 -0
  648. package/templates/webcomponents/igc-ts/highlight/default/index.d.ts +1 -0
  649. package/templates/webcomponents/igc-ts/highlight/default/index.js +16 -0
  650. package/templates/webcomponents/igc-ts/highlight/index.d.ts +1 -0
  651. package/templates/webcomponents/igc-ts/highlight/index.js +15 -0
  652. package/templates/webcomponents/igc-ts/icon/default/files/src/app/__path__/__filePrefix__.ts +7 -3
  653. package/templates/webcomponents/igc-ts/icon-button/default/files/src/app/__path__/__filePrefix__.ts +8 -2
  654. package/templates/webcomponents/igc-ts/linear-gauge/default/index.js +3 -2
  655. package/templates/webcomponents/igc-ts/linear-progress/default/index.js +1 -4
  656. package/templates/webcomponents/igc-ts/mask-input/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  657. package/templates/webcomponents/igc-ts/mask-input/default/files/src/app/__path__/__filePrefix__.ts +17 -0
  658. package/templates/webcomponents/igc-ts/mask-input/default/index.d.ts +1 -0
  659. package/templates/webcomponents/igc-ts/mask-input/default/index.js +16 -0
  660. package/templates/webcomponents/igc-ts/mask-input/index.d.ts +1 -0
  661. package/templates/webcomponents/igc-ts/mask-input/index.js +15 -0
  662. package/templates/webcomponents/igc-ts/mask-input/mask-input-formats/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  663. package/templates/webcomponents/igc-ts/mask-input/mask-input-formats/files/src/app/__path__/__filePrefix__.ts +20 -0
  664. package/templates/webcomponents/igc-ts/mask-input/mask-input-formats/index.d.ts +1 -0
  665. package/templates/webcomponents/igc-ts/mask-input/mask-input-formats/index.js +16 -0
  666. package/templates/webcomponents/igc-ts/nav-drawer/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  667. package/templates/webcomponents/igc-ts/nav-drawer/default/files/src/app/__path__/__filePrefix__.ts +40 -0
  668. package/templates/webcomponents/igc-ts/nav-drawer/default/index.d.ts +1 -0
  669. package/templates/webcomponents/igc-ts/nav-drawer/default/index.js +16 -0
  670. package/templates/webcomponents/igc-ts/nav-drawer/index.d.ts +1 -0
  671. package/templates/webcomponents/igc-ts/nav-drawer/index.js +15 -0
  672. package/templates/webcomponents/igc-ts/pie-chart/default/index.js +3 -2
  673. package/templates/webcomponents/igc-ts/pivot-grid/basic/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  674. package/templates/webcomponents/igc-ts/pivot-grid/basic/files/src/app/__path__/__filePrefix__.ts +113 -0
  675. package/templates/webcomponents/igc-ts/pivot-grid/basic/index.d.ts +1 -0
  676. package/templates/webcomponents/igc-ts/pivot-grid/basic/index.js +49 -0
  677. package/templates/webcomponents/igc-ts/pivot-grid/index.d.ts +1 -0
  678. package/templates/webcomponents/igc-ts/pivot-grid/index.js +12 -0
  679. package/templates/webcomponents/igc-ts/projects/_base/files/__dot__azure/azure-pipelines.yml +8 -0
  680. package/templates/webcomponents/igc-ts/projects/_base/files/__dot__github/workflows/github-pages.yml +7 -5
  681. package/templates/webcomponents/igc-ts/projects/_base/files/__dot__github/workflows/node.js.yml +8 -3
  682. package/templates/webcomponents/igc-ts/projects/_base/files/eslint.config.js +37 -0
  683. package/templates/webcomponents/igc-ts/projects/_base/files/index.html +2 -1
  684. package/templates/webcomponents/igc-ts/projects/_base/files/package.json +20 -34
  685. package/templates/webcomponents/igc-ts/projects/_base/files/src/app/app-routing.ts +1 -1
  686. package/templates/webcomponents/igc-ts/projects/_base/files/src/app/app.ts +6 -1
  687. package/templates/webcomponents/igc-ts/projects/_base/files/styles.css +1 -0
  688. package/templates/webcomponents/igc-ts/projects/_base/files/tsconfig.json +22 -29
  689. package/templates/webcomponents/igc-ts/projects/_base/files/vite.config.ts +10 -6
  690. package/templates/webcomponents/igc-ts/projects/_base/index.d.ts +5 -2
  691. package/templates/webcomponents/igc-ts/projects/_base/index.js +1 -0
  692. package/templates/webcomponents/igc-ts/projects/_base_with_home/files/index.html +4 -1
  693. package/templates/webcomponents/igc-ts/projects/_base_with_home/files/package.json +28 -42
  694. package/templates/webcomponents/igc-ts/projects/_base_with_home/files/src/app/app-routing.ts +1 -1
  695. package/templates/webcomponents/igc-ts/projects/_base_with_home/files/src/app/home/home.ts +103 -9
  696. package/templates/webcomponents/igc-ts/projects/_base_with_home/files/src/assets/wc.png +0 -0
  697. package/templates/webcomponents/igc-ts/projects/_base_with_home/index.d.ts +1 -0
  698. package/templates/webcomponents/igc-ts/projects/_base_with_home/index.js +1 -0
  699. package/templates/webcomponents/igc-ts/projects/ai-config/files/AGENTS.md +39 -0
  700. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/README.md +70 -0
  701. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-choose-components/SKILL.md +391 -0
  702. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-choose-components/reference/mcp-setup.md +84 -0
  703. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-customize-component-theme/SKILL.md +391 -0
  704. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-customize-component-theme/references/mcp-setup.md +71 -0
  705. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/SKILL.md +341 -0
  706. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/asset-extraction.md +343 -0
  707. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/design-provenance.md +201 -0
  708. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/design-token-bridge.md +502 -0
  709. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/figma-component-map.md +371 -0
  710. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/figma-exploration.md +228 -0
  711. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/mcp-setup.md +363 -0
  712. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/project-setup.md +107 -0
  713. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/theme-generation.md +190 -0
  714. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/validation-patterns.md +379 -0
  715. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-generate-from-image-design/SKILL.md +233 -0
  716. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-generate-from-image-design/references/component-mapping.md +131 -0
  717. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-generate-from-image-design/references/gotchas.md +187 -0
  718. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-grids/SKILL.md +133 -0
  719. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-integrate-with-framework/SKILL.md +135 -0
  720. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-integrate-with-framework/references/angular.md +187 -0
  721. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-integrate-with-framework/references/react.md +118 -0
  722. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-integrate-with-framework/references/vanilla-js.md +134 -0
  723. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-integrate-with-framework/references/vue.md +183 -0
  724. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-migrate-grid-lite-to-premium/SKILL.md +474 -0
  725. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-optimize-bundle-size/SKILL.md +498 -0
  726. package/templates/webcomponents/igc-ts/projects/ai-config/index.d.ts +22 -0
  727. package/templates/webcomponents/igc-ts/projects/ai-config/index.js +63 -0
  728. package/templates/webcomponents/igc-ts/projects/base/index.d.ts +1 -1
  729. package/templates/webcomponents/igc-ts/projects/base/index.js +1 -27
  730. package/templates/webcomponents/igc-ts/projects/empty/index.d.ts +1 -1
  731. package/templates/webcomponents/igc-ts/projects/empty/index.js +2 -28
  732. package/templates/webcomponents/igc-ts/projects/side-nav/files/index.html +21 -0
  733. package/templates/webcomponents/igc-ts/projects/side-nav/files/src/app/app-routing.ts +9 -0
  734. package/templates/webcomponents/igc-ts/projects/side-nav/files/src/app/app.ts +203 -23
  735. package/templates/webcomponents/igc-ts/projects/side-nav/files/src/app/home/home.ts +175 -0
  736. package/templates/webcomponents/igc-ts/projects/side-nav/index.d.ts +1 -0
  737. package/templates/webcomponents/igc-ts/projects/side-nav/index.js +2 -1
  738. package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/index.html +26 -0
  739. package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/app-routing.ts +37 -0
  740. package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/app.ts +257 -0
  741. package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/login-bar/login-bar.ts +124 -0
  742. package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/login-dialog/login-dialog.ts +253 -0
  743. package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/models/external-login.ts +10 -0
  744. package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/models/login.ts +4 -0
  745. package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/models/register-info.ts +6 -0
  746. package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/models/user.ts +19 -0
  747. package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/authentication.ts +37 -0
  748. package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/external-auth-config.ts +44 -0
  749. package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/externalAuth.ts +272 -0
  750. package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/fakeBackend.ts +88 -0
  751. package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/jwtUtil.ts +10 -0
  752. package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/pkce.ts +29 -0
  753. package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/userStore.ts +39 -0
  754. package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/profile/profile.ts +142 -0
  755. package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/redirect/redirect-facebook.ts +57 -0
  756. package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/redirect/redirect-google.ts +53 -0
  757. package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/redirect/redirect-microsoft.ts +53 -0
  758. package/templates/webcomponents/igc-ts/projects/side-nav-auth/index.d.ts +15 -0
  759. package/templates/webcomponents/igc-ts/projects/side-nav-auth/index.js +46 -0
  760. package/templates/webcomponents/igc-ts/projects/side-nav-mini/files/src/app/app-routing.ts +13 -0
  761. package/templates/webcomponents/igc-ts/projects/side-nav-mini/files/src/app/app.ts +245 -0
  762. package/templates/webcomponents/igc-ts/projects/side-nav-mini/index.d.ts +14 -0
  763. package/templates/webcomponents/igc-ts/projects/side-nav-mini/index.js +45 -0
  764. package/templates/webcomponents/igc-ts/projects/side-nav-mini-auth/files/src/app/app.ts +265 -0
  765. package/templates/webcomponents/igc-ts/projects/side-nav-mini-auth/index.d.ts +15 -0
  766. package/templates/webcomponents/igc-ts/projects/side-nav-mini-auth/index.js +50 -0
  767. package/templates/webcomponents/igc-ts/qr-code/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  768. package/templates/webcomponents/igc-ts/qr-code/default/files/src/app/__path__/__filePrefix__.ts +20 -0
  769. package/templates/webcomponents/igc-ts/qr-code/default/index.d.ts +1 -0
  770. package/templates/webcomponents/igc-ts/qr-code/default/index.js +16 -0
  771. package/templates/webcomponents/igc-ts/qr-code/index.d.ts +1 -0
  772. package/templates/webcomponents/igc-ts/qr-code/index.js +15 -0
  773. package/templates/webcomponents/igc-ts/radial-gauge/default/index.js +3 -2
  774. package/templates/webcomponents/igc-ts/range-slider/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  775. package/templates/webcomponents/igc-ts/range-slider/default/files/src/app/__path__/__filePrefix__.ts +26 -0
  776. package/templates/webcomponents/igc-ts/range-slider/default/index.d.ts +1 -0
  777. package/templates/webcomponents/igc-ts/range-slider/default/index.js +16 -0
  778. package/templates/webcomponents/igc-ts/range-slider/index.d.ts +1 -0
  779. package/templates/webcomponents/igc-ts/range-slider/index.js +15 -0
  780. package/templates/webcomponents/igc-ts/select/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  781. package/templates/webcomponents/igc-ts/select/default/files/src/app/__path__/__filePrefix__.ts +26 -0
  782. package/templates/webcomponents/igc-ts/select/default/index.d.ts +1 -0
  783. package/templates/webcomponents/igc-ts/select/default/index.js +16 -0
  784. package/templates/webcomponents/igc-ts/select/index.d.ts +1 -0
  785. package/templates/webcomponents/igc-ts/select/index.js +15 -0
  786. package/templates/webcomponents/igc-ts/select/select-groups/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  787. package/templates/webcomponents/igc-ts/select/select-groups/files/src/app/__path__/__filePrefix__.ts +42 -0
  788. package/templates/webcomponents/igc-ts/select/select-groups/index.d.ts +1 -0
  789. package/templates/webcomponents/igc-ts/select/select-groups/index.js +16 -0
  790. package/templates/webcomponents/igc-ts/snackbar/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  791. package/templates/webcomponents/igc-ts/snackbar/default/files/src/app/__path__/__filePrefix__.ts +24 -0
  792. package/templates/webcomponents/igc-ts/snackbar/default/index.d.ts +1 -0
  793. package/templates/webcomponents/igc-ts/snackbar/default/index.js +16 -0
  794. package/templates/webcomponents/igc-ts/snackbar/index.d.ts +1 -0
  795. package/templates/webcomponents/igc-ts/snackbar/index.js +15 -0
  796. package/templates/webcomponents/igc-ts/snackbar/snackbar-action/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  797. package/templates/webcomponents/igc-ts/snackbar/snackbar-action/files/src/app/__path__/__filePrefix__.ts +25 -0
  798. package/templates/webcomponents/igc-ts/snackbar/snackbar-action/index.d.ts +1 -0
  799. package/templates/webcomponents/igc-ts/snackbar/snackbar-action/index.js +16 -0
  800. package/templates/webcomponents/igc-ts/splitter/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  801. package/templates/webcomponents/igc-ts/splitter/default/files/src/app/__path__/__filePrefix__.ts +31 -0
  802. package/templates/webcomponents/igc-ts/splitter/default/index.d.ts +1 -0
  803. package/templates/webcomponents/igc-ts/splitter/default/index.js +16 -0
  804. package/templates/webcomponents/igc-ts/splitter/index.d.ts +1 -0
  805. package/templates/webcomponents/igc-ts/splitter/index.js +15 -0
  806. package/templates/webcomponents/igc-ts/splitter/splitter-vertical/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  807. package/templates/webcomponents/igc-ts/splitter/splitter-vertical/files/src/app/__path__/__filePrefix__.ts +27 -0
  808. package/templates/webcomponents/igc-ts/splitter/splitter-vertical/index.d.ts +1 -0
  809. package/templates/webcomponents/igc-ts/splitter/splitter-vertical/index.js +16 -0
  810. package/templates/webcomponents/igc-ts/stepper/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  811. package/templates/webcomponents/igc-ts/stepper/default/files/src/app/__path__/__filePrefix__.ts +38 -0
  812. package/templates/webcomponents/igc-ts/stepper/default/index.d.ts +1 -0
  813. package/templates/webcomponents/igc-ts/stepper/default/index.js +16 -0
  814. package/templates/webcomponents/igc-ts/stepper/index.d.ts +1 -0
  815. package/templates/webcomponents/igc-ts/stepper/index.js +15 -0
  816. package/templates/webcomponents/igc-ts/stepper/stepper-vertical/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  817. package/templates/webcomponents/igc-ts/stepper/stepper-vertical/files/src/app/__path__/__filePrefix__.ts +37 -0
  818. package/templates/webcomponents/igc-ts/stepper/stepper-vertical/index.d.ts +1 -0
  819. package/templates/webcomponents/igc-ts/stepper/stepper-vertical/index.js +16 -0
  820. package/templates/webcomponents/igc-ts/tabs/default/files/src/app/__path__/__filePrefix__.ts +21 -15
  821. package/templates/webcomponents/igc-ts/theme-provider/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  822. package/templates/webcomponents/igc-ts/theme-provider/default/files/src/app/__path__/__filePrefix__.ts +40 -0
  823. package/templates/webcomponents/igc-ts/theme-provider/default/index.d.ts +1 -0
  824. package/templates/webcomponents/igc-ts/theme-provider/default/index.js +16 -0
  825. package/templates/webcomponents/igc-ts/theme-provider/index.d.ts +1 -0
  826. package/templates/webcomponents/igc-ts/theme-provider/index.js +15 -0
  827. package/templates/webcomponents/igc-ts/tile-manager/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  828. package/templates/webcomponents/igc-ts/tile-manager/default/files/src/app/__path__/__filePrefix__.ts +40 -0
  829. package/templates/webcomponents/igc-ts/tile-manager/default/index.d.ts +1 -0
  830. package/templates/webcomponents/igc-ts/tile-manager/default/index.js +16 -0
  831. package/templates/webcomponents/igc-ts/tile-manager/index.d.ts +1 -0
  832. package/templates/webcomponents/igc-ts/tile-manager/index.js +15 -0
  833. package/templates/webcomponents/igc-ts/toast/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  834. package/templates/webcomponents/igc-ts/toast/default/files/src/app/__path__/__filePrefix__.ts +22 -0
  835. package/templates/webcomponents/igc-ts/toast/default/index.d.ts +1 -0
  836. package/templates/webcomponents/igc-ts/toast/default/index.js +16 -0
  837. package/templates/webcomponents/igc-ts/toast/index.d.ts +1 -0
  838. package/templates/webcomponents/igc-ts/toast/index.js +15 -0
  839. package/templates/webcomponents/igc-ts/toggle-button/default/files/src/app/__path__/__filePrefix__.test.ts +25 -0
  840. package/templates/webcomponents/igc-ts/toggle-button/default/files/src/app/__path__/__filePrefix__.ts +61 -0
  841. package/templates/webcomponents/igc-ts/toggle-button/default/index.d.ts +1 -0
  842. package/templates/webcomponents/igc-ts/toggle-button/default/index.js +16 -0
  843. package/templates/webcomponents/igc-ts/toggle-button/index.d.ts +1 -0
  844. package/templates/webcomponents/igc-ts/toggle-button/index.js +15 -0
  845. package/templates/webcomponents/igc-ts/tooltip/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  846. package/templates/webcomponents/igc-ts/tooltip/default/files/src/app/__path__/__filePrefix__.ts +22 -0
  847. package/templates/webcomponents/igc-ts/tooltip/default/index.d.ts +1 -0
  848. package/templates/webcomponents/igc-ts/tooltip/default/index.js +16 -0
  849. package/templates/webcomponents/igc-ts/tooltip/index.d.ts +1 -0
  850. package/templates/webcomponents/igc-ts/tooltip/index.js +15 -0
  851. package/templates/webcomponents/igc-ts/tree/default/index.js +5 -4
  852. package/templates/webcomponents/igc-ts/tree-grid/basic/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  853. package/templates/webcomponents/igc-ts/tree-grid/basic/files/src/app/__path__/__filePrefix__.ts +87 -0
  854. package/templates/webcomponents/igc-ts/tree-grid/basic/index.d.ts +1 -0
  855. package/templates/webcomponents/igc-ts/tree-grid/basic/index.js +49 -0
  856. package/templates/webcomponents/igc-ts/tree-grid/index.d.ts +1 -0
  857. package/templates/webcomponents/igc-ts/tree-grid/index.js +12 -0
  858. package/templates/webcomponents/igc-ts/virtual-scroll/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  859. package/templates/webcomponents/igc-ts/virtual-scroll/default/files/src/app/__path__/__filePrefix__.ts +64 -0
  860. package/templates/webcomponents/igc-ts/virtual-scroll/default/index.d.ts +1 -0
  861. package/templates/webcomponents/igc-ts/virtual-scroll/default/index.js +16 -0
  862. package/templates/webcomponents/igc-ts/virtual-scroll/index.d.ts +1 -0
  863. package/templates/webcomponents/igc-ts/virtual-scroll/index.js +15 -0
  864. package/lib/templates/AngularTemplate.d.ts +0 -39
  865. package/lib/templates/AngularTemplate.js +0 -207
  866. package/lib/templates/ReactTemplate.d.ts +0 -36
  867. package/lib/templates/ReactTemplate.js +0 -145
  868. package/migrations/schema.json +0 -14
  869. package/migrations/update-13_1_0/index.js +0 -20
  870. package/migrations/update-13_1_0/index.spec.js +0 -96
  871. package/migrations/update-2/index.d.ts +0 -2
  872. package/migrations/update-2/index.js +0 -17
  873. package/migrations/update-2/index.spec.js +0 -106
  874. package/migrations/update-3/index.d.ts +0 -2
  875. package/migrations/update-3/index.js +0 -65
  876. package/migrations/update-3/index.spec.js +0 -131
  877. package/migrations/update-3_2/index.d.ts +0 -2
  878. package/migrations/update-3_2/index.js +0 -44
  879. package/migrations/update-3_2/index.spec.js +0 -100
  880. package/migrations/update-4_2_3/index.d.ts +0 -2
  881. package/migrations/update-4_2_3/index.js +0 -44
  882. package/migrations/update-4_2_3/index.spec.js +0 -99
  883. package/migrations/update-5_0_0/index.d.ts +0 -13
  884. package/migrations/update-5_0_0/index.js +0 -63
  885. package/migrations/update-5_0_0/index.spec.js +0 -89
  886. package/migrations/update-5_0_3/index.d.ts +0 -2
  887. package/migrations/update-5_0_3/index.js +0 -30
  888. package/migrations/update-5_0_3/index.spec.js +0 -85
  889. package/templates/angular/ig-ts/bar-chart/default/files/src/app/assets/world-energy-production.ts +0 -54
  890. package/templates/angular/ig-ts/bar-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -83
  891. package/templates/angular/ig-ts/bar-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
  892. package/templates/angular/ig-ts/bar-chart/default/index.js +0 -17
  893. package/templates/angular/ig-ts/bar-chart/index.js +0 -15
  894. package/templates/angular/ig-ts/column-chart/default/files/src/app/assets/world-energy-production.ts +0 -54
  895. package/templates/angular/ig-ts/column-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -87
  896. package/templates/angular/ig-ts/column-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
  897. package/templates/angular/ig-ts/column-chart/default/index.js +0 -17
  898. package/templates/angular/ig-ts/column-chart/index.js +0 -15
  899. package/templates/angular/ig-ts/combo/combo/files/src/app/components/__path__/__filePrefix__.component.ts +0 -45
  900. package/templates/angular/ig-ts/combo/combo/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  901. package/templates/angular/ig-ts/combo/combo/index.js +0 -16
  902. package/templates/angular/ig-ts/combo/index.js +0 -16
  903. package/templates/angular/ig-ts/custom-templates/editors-calculation-form/files/src/app/assets/logo.jpg +0 -0
  904. package/templates/angular/ig-ts/custom-templates/editors-calculation-form/files/src/app/components/__path__/__filePrefix__.component.ts +0 -368
  905. package/templates/angular/ig-ts/custom-templates/editors-calculation-form/index.js +0 -18
  906. package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/assets/data-fe.ts +0 -88
  907. package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/assets/folder.png +0 -0
  908. package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/assets/opened_folder.png +0 -0
  909. package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/components/__path__/__filePrefix__.component.ts +0 -50
  910. package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  911. package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/index.js +0 -62
  912. package/templates/angular/ig-ts/doughnut-chart/default/files/src/app/assets/doughnut-data.ts +0 -10
  913. package/templates/angular/ig-ts/doughnut-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -38
  914. package/templates/angular/ig-ts/doughnut-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
  915. package/templates/angular/ig-ts/doughnut-chart/default/index.js +0 -17
  916. package/templates/angular/ig-ts/doughnut-chart/index.js +0 -16
  917. package/templates/angular/ig-ts/editors/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -19
  918. package/templates/angular/ig-ts/editors/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
  919. package/templates/angular/ig-ts/editors/index.js +0 -58
  920. package/templates/angular/ig-ts/financial-chart/default/files/src/app/assets/financial-data.ts +0 -115
  921. package/templates/angular/ig-ts/financial-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -152
  922. package/templates/angular/ig-ts/financial-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
  923. package/templates/angular/ig-ts/financial-chart/default/index.js +0 -17
  924. package/templates/angular/ig-ts/financial-chart/index.js +0 -15
  925. package/templates/angular/ig-ts/funnel-chart/default/files/src/app/assets/funnel-data.ts +0 -12
  926. package/templates/angular/ig-ts/funnel-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -69
  927. package/templates/angular/ig-ts/funnel-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
  928. package/templates/angular/ig-ts/funnel-chart/default/index.js +0 -17
  929. package/templates/angular/ig-ts/funnel-chart/index.js +0 -15
  930. package/templates/angular/ig-ts/generate/files/src/app/components/__path__/__filePrefix__.component.ts +0 -14
  931. package/templates/angular/ig-ts/generate/template.json +0 -13
  932. package/templates/angular/ig-ts/grid/basic/files/src/app/assets/northwindProducts.ts +0 -12
  933. package/templates/angular/ig-ts/grid/basic/files/src/app/components/__path__/__filePrefix__.component.ts +0 -28
  934. package/templates/angular/ig-ts/grid/basic/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  935. package/templates/angular/ig-ts/grid/basic/index.js +0 -41
  936. package/templates/angular/ig-ts/grid/grid-custom/files/src/app/assets/northwindProducts.ts +0 -12
  937. package/templates/angular/ig-ts/grid/grid-custom/files/src/app/components/__path__/__filePrefix__.component.ts +0 -32
  938. package/templates/angular/ig-ts/grid/grid-custom/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  939. package/templates/angular/ig-ts/grid/grid-custom/index.js +0 -45
  940. package/templates/angular/ig-ts/grid/grid-editing/files/src/app/assets/northwindProducts.ts +0 -12
  941. package/templates/angular/ig-ts/grid/grid-editing/files/src/app/components/__path__/__filePrefix__.component.ts +0 -30
  942. package/templates/angular/ig-ts/grid/grid-editing/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  943. package/templates/angular/ig-ts/grid/grid-editing/index.js +0 -42
  944. package/templates/angular/ig-ts/grid/grid-export/files/src/app/assets/employees.ts +0 -15
  945. package/templates/angular/ig-ts/grid/grid-export/files/src/app/components/__path__/__filePrefix__.component.ts +0 -88
  946. package/templates/angular/ig-ts/grid/grid-export/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  947. package/templates/angular/ig-ts/grid/grid-export/index.js +0 -42
  948. package/templates/angular/ig-ts/grid/grid-templating/files/src/app/assets/northwindProductsFlat.ts +0 -13
  949. package/templates/angular/ig-ts/grid/grid-templating/files/src/app/components/__path__/__filePrefix__.component.ts +0 -34
  950. package/templates/angular/ig-ts/grid/grid-templating/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  951. package/templates/angular/ig-ts/grid/grid-templating/index.js +0 -42
  952. package/templates/angular/ig-ts/grid/index.js +0 -12
  953. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/files/src/app/assets/northwind.ts +0 -12626
  954. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/files/src/app/components/__path__/__filePrefix__.component.ts +0 -75
  955. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  956. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/index.js +0 -42
  957. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/files/src/app/assets/northwind.ts +0 -12626
  958. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/files/src/app/components/__path__/__filePrefix__.component.ts +0 -76
  959. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  960. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/index.js +0 -45
  961. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/files/src/app/assets/northwind.ts +0 -12626
  962. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/files/src/app/components/__path__/__filePrefix__.component.ts +0 -76
  963. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  964. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/index.js +0 -43
  965. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/files/src/app/assets/northwind.ts +0 -12626
  966. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/files/src/app/components/__path__/__filePrefix__.component.ts +0 -99
  967. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  968. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/index.js +0 -43
  969. package/templates/angular/ig-ts/hierarchical-grid/index.js +0 -12
  970. package/templates/angular/ig-ts/index.js +0 -17
  971. package/templates/angular/ig-ts/line-chart/default/files/src/app/assets/line-chart-data.ts +0 -9
  972. package/templates/angular/ig-ts/line-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -109
  973. package/templates/angular/ig-ts/line-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
  974. package/templates/angular/ig-ts/line-chart/default/index.js +0 -17
  975. package/templates/angular/ig-ts/line-chart/index.js +0 -15
  976. package/templates/angular/ig-ts/pie-chart/default/files/src/app/assets/data.ts +0 -9
  977. package/templates/angular/ig-ts/pie-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -28
  978. package/templates/angular/ig-ts/pie-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
  979. package/templates/angular/ig-ts/pie-chart/default/index.js +0 -17
  980. package/templates/angular/ig-ts/pie-chart/index.js +0 -15
  981. package/templates/angular/ig-ts/projects/empty/files/README.md +0 -39
  982. package/templates/angular/ig-ts/projects/empty/files/__dot__browserslistrc +0 -17
  983. package/templates/angular/ig-ts/projects/empty/files/__dot__editorconfig +0 -16
  984. package/templates/angular/ig-ts/projects/empty/files/__dot__gitignore +0 -51
  985. package/templates/angular/ig-ts/projects/empty/files/angular.json +0 -105
  986. package/templates/angular/ig-ts/projects/empty/files/ignite-ui-cli.json +0 -22
  987. package/templates/angular/ig-ts/projects/empty/files/karma.conf.js +0 -55
  988. package/templates/angular/ig-ts/projects/empty/files/package.json +0 -44
  989. package/templates/angular/ig-ts/projects/empty/files/src/app/app-routing.module.ts +0 -17
  990. package/templates/angular/ig-ts/projects/empty/files/src/app/app.component.css +0 -6
  991. package/templates/angular/ig-ts/projects/empty/files/src/app/app.component.html +0 -5
  992. package/templates/angular/ig-ts/projects/empty/files/src/app/app.component.spec.ts +0 -22
  993. package/templates/angular/ig-ts/projects/empty/files/src/app/app.component.ts +0 -10
  994. package/templates/angular/ig-ts/projects/empty/files/src/app/app.module.ts +0 -22
  995. package/templates/angular/ig-ts/projects/empty/files/src/app/home.component.ts +0 -12
  996. package/templates/angular/ig-ts/projects/empty/files/src/app/shared/nav-menu.component.css +0 -36
  997. package/templates/angular/ig-ts/projects/empty/files/src/app/shared/nav-menu.component.ts +0 -34
  998. package/templates/angular/ig-ts/projects/empty/files/src/assets/Ignite-header-apps-960.png +0 -0
  999. package/templates/angular/ig-ts/projects/empty/files/src/assets/css/variables.scss +0 -7
  1000. package/templates/angular/ig-ts/projects/empty/files/src/assets/lines-bottom-right.svg +0 -56
  1001. package/templates/angular/ig-ts/projects/empty/files/src/environments/environment.prod.ts +0 -3
  1002. package/templates/angular/ig-ts/projects/empty/files/src/environments/environment.ts +0 -16
  1003. package/templates/angular/ig-ts/projects/empty/files/src/favicon.ico +0 -0
  1004. package/templates/angular/ig-ts/projects/empty/files/src/index.html +0 -14
  1005. package/templates/angular/ig-ts/projects/empty/files/src/main.ts +0 -11
  1006. package/templates/angular/ig-ts/projects/empty/files/src/polyfills.ts +0 -53
  1007. package/templates/angular/ig-ts/projects/empty/files/src/styles.css +0 -23
  1008. package/templates/angular/ig-ts/projects/empty/files/src/test.ts +0 -23
  1009. package/templates/angular/ig-ts/projects/empty/files/tsconfig.app.json +0 -15
  1010. package/templates/angular/ig-ts/projects/empty/files/tsconfig.json +0 -30
  1011. package/templates/angular/ig-ts/projects/empty/files/tsconfig.spec.json +0 -18
  1012. package/templates/angular/ig-ts/projects/empty/index.js +0 -126
  1013. package/templates/angular/ig-ts/radial-chart/default/files/src/app/assets/temperature.ts +0 -16
  1014. package/templates/angular/ig-ts/radial-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -64
  1015. package/templates/angular/ig-ts/radial-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
  1016. package/templates/angular/ig-ts/radial-chart/default/index.js +0 -17
  1017. package/templates/angular/ig-ts/radial-chart/index.js +0 -15
  1018. package/templates/angular/ig-ts/tree-grid/index.js +0 -12
  1019. package/templates/angular/ig-ts/tree-grid/tree-grid/files/src/app/assets/data-basic.ts +0 -28
  1020. package/templates/angular/ig-ts/tree-grid/tree-grid/files/src/app/components/__path__/__filePrefix__.component.ts +0 -37
  1021. package/templates/angular/ig-ts/tree-grid/tree-grid/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  1022. package/templates/angular/ig-ts/tree-grid/tree-grid/index.js +0 -42
  1023. package/templates/angular/ig-ts/tree-grid/tree-grid-custom/files/src/app/assets/data-custom.ts +0 -28
  1024. package/templates/angular/ig-ts/tree-grid/tree-grid-custom/files/src/app/components/__path__/__filePrefix__.component.ts +0 -38
  1025. package/templates/angular/ig-ts/tree-grid/tree-grid-custom/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  1026. package/templates/angular/ig-ts/tree-grid/tree-grid-custom/index.js +0 -42
  1027. package/templates/angular/ig-ts/tree-grid/tree-grid-editing/files/src/app/assets/data-editing.ts +0 -28
  1028. package/templates/angular/ig-ts/tree-grid/tree-grid-editing/files/src/app/components/__path__/__filePrefix__.component.ts +0 -38
  1029. package/templates/angular/ig-ts/tree-grid/tree-grid-editing/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  1030. package/templates/angular/ig-ts/tree-grid/tree-grid-editing/index.js +0 -61
  1031. package/templates/angular/ig-ts/tree-grid/tree-grid-export/files/src/app/assets/data-flat.ts +0 -33
  1032. package/templates/angular/ig-ts/tree-grid/tree-grid-export/files/src/app/assets/data-hierarchical.ts +0 -28
  1033. package/templates/angular/ig-ts/tree-grid/tree-grid-export/files/src/app/components/__path__/__filePrefix__.component.ts +0 -91
  1034. package/templates/angular/ig-ts/tree-grid/tree-grid-export/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
  1035. package/templates/angular/ig-ts/tree-grid/tree-grid-export/index.js +0 -43
  1036. package/templates/react/es6/bar-chart/default/files/src/components/__path__/index.js +0 -89
  1037. package/templates/react/es6/bar-chart/default/files/src/data/world-energy-production.js +0 -55
  1038. package/templates/react/es6/bar-chart/default/index.js +0 -21
  1039. package/templates/react/es6/bar-chart/index.js +0 -15
  1040. package/templates/react/es6/column-chart/default/files/src/components/__path__/index.js +0 -88
  1041. package/templates/react/es6/column-chart/default/files/src/data/world-energy-production.js +0 -55
  1042. package/templates/react/es6/column-chart/default/index.js +0 -21
  1043. package/templates/react/es6/column-chart/index.js +0 -15
  1044. package/templates/react/es6/combo/combo/files/src/components/__path__/index.js +0 -45
  1045. package/templates/react/es6/combo/combo/index.js +0 -21
  1046. package/templates/react/es6/combo/index.js +0 -15
  1047. package/templates/react/es6/doughnut-chart/doughnut-chart/files/src/components/__path__/index.js +0 -44
  1048. package/templates/react/es6/doughnut-chart/doughnut-chart/index.js +0 -21
  1049. package/templates/react/es6/doughnut-chart/index.js +0 -16
  1050. package/templates/react/es6/editors/editors/files/src/components/__path__/index.js +0 -17
  1051. package/templates/react/es6/editors/index.js +0 -58
  1052. package/templates/react/es6/financial-chart/financial-chart/files/src/components/__path__/index.js +0 -154
  1053. package/templates/react/es6/financial-chart/financial-chart/files/src/data/financial-data.js +0 -118
  1054. package/templates/react/es6/financial-chart/financial-chart/index.js +0 -21
  1055. package/templates/react/es6/financial-chart/index.js +0 -15
  1056. package/templates/react/es6/funnel-chart/funnel-chart/files/src/components/__path__/index.js +0 -41
  1057. package/templates/react/es6/funnel-chart/funnel-chart/index.js +0 -21
  1058. package/templates/react/es6/funnel-chart/index.js +0 -15
  1059. package/templates/react/es6/generate/files/src/components/__path__/index.js +0 -10
  1060. package/templates/react/es6/generate/template.json +0 -13
  1061. package/templates/react/es6/grid/basic/files/src/components/__path__/index.js +0 -39
  1062. package/templates/react/es6/grid/basic/index.js +0 -40
  1063. package/templates/react/es6/grid/grid-custom/files/src/components/__path__/index.js +0 -40
  1064. package/templates/react/es6/grid/grid-custom/index.js +0 -43
  1065. package/templates/react/es6/grid/grid-editing/files/src/components/__path__/index.js +0 -47
  1066. package/templates/react/es6/grid/grid-editing/index.js +0 -41
  1067. package/templates/react/es6/grid/grid-export/files/src/components/__path__/index.js +0 -124
  1068. package/templates/react/es6/grid/grid-export/files/src/components/__path__/styles.css +0 -13
  1069. package/templates/react/es6/grid/grid-export/index.js +0 -41
  1070. package/templates/react/es6/grid/grid-templating/files/src/components/__path__/index.js +0 -38
  1071. package/templates/react/es6/grid/grid-templating/files/src/components/__path__/northwind.js +0 -605
  1072. package/templates/react/es6/grid/grid-templating/index.js +0 -40
  1073. package/templates/react/es6/grid/index.js +0 -15
  1074. package/templates/react/es6/hierarchical-grid/hierarchical-grid/files/src/components/__path__/index.js +0 -79
  1075. package/templates/react/es6/hierarchical-grid/hierarchical-grid/files/src/components/__path__/northwind.js +0 -12626
  1076. package/templates/react/es6/hierarchical-grid/hierarchical-grid/index.js +0 -41
  1077. package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/files/src/components/__path__/index.js +0 -82
  1078. package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/files/src/components/__path__/northwind.js +0 -12626
  1079. package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/index.js +0 -44
  1080. package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/files/src/components/__path__/index.js +0 -81
  1081. package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/files/src/components/__path__/northwind.js +0 -12626
  1082. package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/index.js +0 -42
  1083. package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/files/src/components/__path__/index.js +0 -112
  1084. package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/files/src/components/__path__/northwind.js +0 -12626
  1085. package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/files/src/components/__path__/styles.css +0 -13
  1086. package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/index.js +0 -42
  1087. package/templates/react/es6/hierarchical-grid/index.js +0 -15
  1088. package/templates/react/es6/index.js +0 -20
  1089. package/templates/react/es6/line-chart/default/files/src/components/__path__/index.js +0 -76
  1090. package/templates/react/es6/line-chart/default/index.js +0 -21
  1091. package/templates/react/es6/line-chart/index.js +0 -15
  1092. package/templates/react/es6/pie-chart/index.js +0 -15
  1093. package/templates/react/es6/pie-chart/pie-chart/files/src/components/__path__/index.js +0 -38
  1094. package/templates/react/es6/pie-chart/pie-chart/index.js +0 -21
  1095. package/templates/react/es6/projects/empty/files/README.md +0 -36
  1096. package/templates/react/es6/projects/empty/files/__dot__editorconfig +0 -3
  1097. package/templates/react/es6/projects/empty/files/__dot__env +0 -1
  1098. package/templates/react/es6/projects/empty/files/__dot__eslintrc.json +0 -6
  1099. package/templates/react/es6/projects/empty/files/__dot__gitignore +0 -23
  1100. package/templates/react/es6/projects/empty/files/ignite-ui-cli.json +0 -21
  1101. package/templates/react/es6/projects/empty/files/package.json +0 -36
  1102. package/templates/react/es6/projects/empty/files/public/favicon.ico +0 -0
  1103. package/templates/react/es6/projects/empty/files/public/index.html +0 -42
  1104. package/templates/react/es6/projects/empty/files/public/manifest.json +0 -15
  1105. package/templates/react/es6/projects/empty/files/public/robots.txt +0 -3
  1106. package/templates/react/es6/projects/empty/files/src/App.css +0 -52
  1107. package/templates/react/es6/projects/empty/files/src/App.js +0 -39
  1108. package/templates/react/es6/projects/empty/files/src/components/home/index.js +0 -25
  1109. package/templates/react/es6/projects/empty/files/src/components/navigation-header/index.js +0 -47
  1110. package/templates/react/es6/projects/empty/files/src/hoc/asyncComponent.js +0 -50
  1111. package/templates/react/es6/projects/empty/files/src/igniteuiResources.js +0 -7
  1112. package/templates/react/es6/projects/empty/files/src/index.css +0 -13
  1113. package/templates/react/es6/projects/empty/files/src/index.js +0 -23
  1114. package/templates/react/es6/projects/empty/files/src/reportWebVitals.js +0 -13
  1115. package/templates/react/es6/projects/empty/files/src/routes.json +0 -7
  1116. package/templates/react/es6/projects/empty/index.js +0 -78
  1117. package/templates/react/es6/radial-chart/index.js +0 -15
  1118. package/templates/react/es6/radial-chart/radial-chart/files/src/components/__path__/index.js +0 -68
  1119. package/templates/react/es6/radial-chart/radial-chart/files/src/data/temperature.js +0 -16
  1120. package/templates/react/es6/radial-chart/radial-chart/index.js +0 -21
  1121. package/templates/react/es6/scatter-chart/index.js +0 -16
  1122. package/templates/react/es6/scatter-chart/scatter-chart/files/src/components/__path__/index.js +0 -59
  1123. package/templates/react/es6/scatter-chart/scatter-chart/files/src/data/temperature.js +0 -58
  1124. package/templates/react/es6/scatter-chart/scatter-chart/index.js +0 -21
  1125. package/templates/react/es6/tree-grid/index.js +0 -15
  1126. package/templates/react/es6/tree-grid/tree-grid/files/src/components/__path__/index.js +0 -61
  1127. package/templates/react/es6/tree-grid/tree-grid/index.js +0 -41
  1128. package/templates/react/es6/tree-grid/tree-grid-custom/files/src/components/__path__/index.js +0 -62
  1129. package/templates/react/es6/tree-grid/tree-grid-custom/index.js +0 -41
  1130. package/templates/react/es6/tree-grid/tree-grid-editing/files/src/components/__path__/index.js +0 -62
  1131. package/templates/react/es6/tree-grid/tree-grid-editing/index.js +0 -42
  1132. package/templates/react/es6/tree-grid/tree-grid-export/files/src/components/__path__/index.js +0 -161
  1133. package/templates/react/es6/tree-grid/tree-grid-export/index.js +0 -42
  1134. package/templates/react/igr-es6/bullet-graph/default/files/src/views/__path__/index.js +0 -62
  1135. package/templates/react/igr-es6/bullet-graph/default/files/src/views/__path__/style.css +0 -12
  1136. package/templates/react/igr-es6/bullet-graph/default/files/src/views/__path__/test.js +0 -9
  1137. package/templates/react/igr-es6/bullet-graph/default/index.js +0 -17
  1138. package/templates/react/igr-es6/bullet-graph/index.js +0 -15
  1139. package/templates/react/igr-es6/category-chart/default/files/src/views/__path__/index.js +0 -45
  1140. package/templates/react/igr-es6/category-chart/default/files/src/views/__path__/style.css +0 -9
  1141. package/templates/react/igr-es6/category-chart/default/files/src/views/__path__/test.js +0 -9
  1142. package/templates/react/igr-es6/category-chart/default/index.js +0 -18
  1143. package/templates/react/igr-es6/category-chart/index.js +0 -16
  1144. package/templates/react/igr-es6/doughnut-chart/default/files/src/views/__path__/index.js +0 -85
  1145. package/templates/react/igr-es6/doughnut-chart/default/files/src/views/__path__/style.css +0 -9
  1146. package/templates/react/igr-es6/doughnut-chart/default/files/src/views/__path__/test.js +0 -9
  1147. package/templates/react/igr-es6/doughnut-chart/default/index.js +0 -17
  1148. package/templates/react/igr-es6/doughnut-chart/index.js +0 -15
  1149. package/templates/react/igr-es6/financial-chart/default/files/src/views/__path__/index.js +0 -55
  1150. package/templates/react/igr-es6/financial-chart/default/files/src/views/__path__/style.css +0 -10
  1151. package/templates/react/igr-es6/financial-chart/default/files/src/views/__path__/test.js +0 -9
  1152. package/templates/react/igr-es6/financial-chart/default/index.js +0 -19
  1153. package/templates/react/igr-es6/financial-chart/index.js +0 -16
  1154. package/templates/react/igr-es6/grid/basic/files/src/views/__path__/data.js +0 -46
  1155. package/templates/react/igr-es6/grid/basic/files/src/views/__path__/index.js +0 -46
  1156. package/templates/react/igr-es6/grid/basic/files/src/views/__path__/style.css +0 -17
  1157. package/templates/react/igr-es6/grid/basic/files/src/views/__path__/test.js +0 -9
  1158. package/templates/react/igr-es6/grid/basic/index.js +0 -23
  1159. package/templates/react/igr-es6/grid/index.js +0 -15
  1160. package/templates/react/igr-es6/groups.json +0 -5
  1161. package/templates/react/igr-es6/index.js +0 -17
  1162. package/templates/react/igr-es6/linear-gauge/default/files/src/views/__path__/index.js +0 -62
  1163. package/templates/react/igr-es6/linear-gauge/default/files/src/views/__path__/style.css +0 -12
  1164. package/templates/react/igr-es6/linear-gauge/default/files/src/views/__path__/test.js +0 -9
  1165. package/templates/react/igr-es6/linear-gauge/default/index.js +0 -17
  1166. package/templates/react/igr-es6/linear-gauge/index.js +0 -15
  1167. package/templates/react/igr-es6/pie-chart/default/files/src/views/__path__/index.js +0 -83
  1168. package/templates/react/igr-es6/pie-chart/default/files/src/views/__path__/style.css +0 -9
  1169. package/templates/react/igr-es6/pie-chart/default/files/src/views/__path__/test.js +0 -9
  1170. package/templates/react/igr-es6/pie-chart/default/index.js +0 -17
  1171. package/templates/react/igr-es6/pie-chart/index.js +0 -15
  1172. package/templates/react/igr-es6/projects/_base/__dot__eslintrc.json +0 -3
  1173. package/templates/react/igr-es6/projects/_base/files/README.md +0 -48
  1174. package/templates/react/igr-es6/projects/_base/files/__dot__editorconfig +0 -3
  1175. package/templates/react/igr-es6/projects/_base/files/__dot__env +0 -1
  1176. package/templates/react/igr-es6/projects/_base/files/__dot__gitignore +0 -23
  1177. package/templates/react/igr-es6/projects/_base/files/ignite-ui-cli.json +0 -16
  1178. package/templates/react/igr-es6/projects/_base/files/package.json +0 -30
  1179. package/templates/react/igr-es6/projects/_base/files/public/favicon.ico +0 -0
  1180. package/templates/react/igr-es6/projects/_base/files/public/index.html +0 -41
  1181. package/templates/react/igr-es6/projects/_base/files/public/manifest.json +0 -15
  1182. package/templates/react/igr-es6/projects/_base/files/src/App.test.js +0 -9
  1183. package/templates/react/igr-es6/projects/_base/files/src/hoc/asyncComponent.js +0 -50
  1184. package/templates/react/igr-es6/projects/_base/files/src/index.css +0 -14
  1185. package/templates/react/igr-es6/projects/_base/files/src/index.js +0 -19
  1186. package/templates/react/igr-es6/projects/_base/files/src/routes.json +0 -7
  1187. package/templates/react/igr-es6/projects/_base/files/src/serviceWorker.js +0 -135
  1188. package/templates/react/igr-es6/projects/_base/files/src/views/home/index.js +0 -27
  1189. package/templates/react/igr-es6/projects/_base/files/src/views/home/logo.svg +0 -7
  1190. package/templates/react/igr-es6/projects/_base/files/src/views/home/style.css +0 -28
  1191. package/templates/react/igr-es6/projects/_base/index.d.ts +0 -29
  1192. package/templates/react/igr-es6/projects/_base/index.js +0 -81
  1193. package/templates/react/igr-es6/projects/top-nav/files/src/App.css +0 -59
  1194. package/templates/react/igr-es6/projects/top-nav/files/src/App.js +0 -36
  1195. package/templates/react/igr-es6/projects/top-nav/files/src/components/navigation-header/index.js +0 -37
  1196. package/templates/react/igr-es6/projects/top-nav/files/src/setupTests.js +0 -4
  1197. package/templates/react/igr-es6/projects/top-nav/index.d.ts +0 -14
  1198. package/templates/react/igr-es6/projects/top-nav/index.js +0 -45
  1199. package/templates/react/igr-es6/radial-gauge/default/files/src/views/__path__/index.js +0 -66
  1200. package/templates/react/igr-es6/radial-gauge/default/files/src/views/__path__/style.css +0 -12
  1201. package/templates/react/igr-es6/radial-gauge/default/files/src/views/__path__/test.js +0 -9
  1202. package/templates/react/igr-es6/radial-gauge/default/index.js +0 -18
  1203. package/templates/react/igr-es6/radial-gauge/index.js +0 -16
  1204. package/templates/react/igr-ts/grid/basic/files/src/app/__path__/data.tsx +0 -46
  1205. package/templates/react/igr-ts/projects/_base/files/eslint.config.mjs +0 -48
  1206. package/templates/react/igr-ts/projects/_base/files/public/favicon.ico +0 -0
  1207. package/templates/react/igr-ts/projects/top-nav/files/src/app/app.css +0 -62
  1208. package/templates/react/igr-ts/projects/top-nav/files/src/app/app.test.tsx +0 -14
  1209. package/templates/react/igr-ts/projects/top-nav/files/src/app/app.tsx +0 -18
  1210. package/templates/react/igr-ts/projects/top-nav/files/src/components/navigation-header/index.tsx +0 -29
  1211. package/templates/react/igr-ts/projects/top-nav/index.d.ts +0 -14
  1212. package/templates/react/igr-ts/projects/top-nav/index.js +0 -45
  1213. package/templates/webcomponents/igc-ts/projects/_base/files/eslint.config.mjs +0 -37
  1214. package/templates/webcomponents/igc-ts/projects/_base/files/tsconfig.test.json +0 -14
  1215. package/templates/webcomponents/igc-ts/projects/_base/files/web-dev-server.config.mjs +0 -27
  1216. /package/migrations/{update-13_1_0 → legacy-type}/index.d.ts +0 -0
  1217. /package/migrations/{update-13_1_0 → legacy-type}/index.spec.d.ts +0 -0
  1218. /package/templates/{angular/ig-ts/bar-chart/default → blazor/igb}/index.d.ts +0 -0
  1219. /package/templates/{angular/ig-ts/bar-chart → react/igr-ts/accordion/default}/index.d.ts +0 -0
  1220. /package/templates/{angular/ig-ts/column-chart/default → react/igr-ts/accordion}/index.d.ts +0 -0
  1221. /package/templates/{angular/ig-ts/column-chart → react/igr-ts/avatar/default}/index.d.ts +0 -0
  1222. /package/templates/{angular/ig-ts/combo/combo → react/igr-ts/avatar}/index.d.ts +0 -0
  1223. /package/templates/{angular/ig-ts/combo → react/igr-ts/badge/default}/index.d.ts +0 -0
  1224. /package/templates/{angular/ig-ts/custom-templates/editors-calculation-form → react/igr-ts/badge}/index.d.ts +0 -0
  1225. /package/templates/{angular/ig-ts/custom-templates/tree-grid-file-explorer → react/igr-ts/banner/default}/index.d.ts +0 -0
  1226. /package/templates/{angular/ig-ts/doughnut-chart/default → react/igr-ts/banner}/index.d.ts +0 -0
  1227. /package/templates/{angular/ig-ts/doughnut-chart → react/igr-ts/breadcrumbs/default}/index.d.ts +0 -0
  1228. /package/templates/{angular/ig-ts/editors → react/igr-ts/breadcrumbs}/index.d.ts +0 -0
  1229. /package/templates/{angular/ig-ts/funnel-chart → react/igr-ts/button}/default/index.d.ts +0 -0
  1230. /package/templates/{angular/ig-ts/funnel-chart → react/igr-ts/button}/index.d.ts +0 -0
  1231. /package/templates/{angular/ig-ts/financial-chart → react/igr-ts/button-group}/default/index.d.ts +0 -0
  1232. /package/templates/{angular/ig-ts/financial-chart → react/igr-ts/button-group}/index.d.ts +0 -0
  1233. /package/templates/{angular/ig-ts/grid/basic → react/igr-ts/calendar/default}/index.d.ts +0 -0
  1234. /package/templates/{angular/ig-ts/grid/grid-custom → react/igr-ts/calendar}/index.d.ts +0 -0
  1235. /package/templates/{angular/ig-ts/grid/grid-editing → react/igr-ts/card/default}/index.d.ts +0 -0
  1236. /package/templates/{angular/ig-ts/grid/grid-export → react/igr-ts/card}/index.d.ts +0 -0
  1237. /package/templates/{angular/ig-ts/grid/grid-templating → react/igr-ts/carousel/default}/index.d.ts +0 -0
  1238. /package/templates/{angular/ig-ts/grid → react/igr-ts/carousel}/index.d.ts +0 -0
  1239. /package/templates/{angular/ig-ts/hierarchical-grid/hierarchical-grid-custom → react/igr-ts/chat/default}/index.d.ts +0 -0
  1240. /package/templates/{angular/ig-ts/hierarchical-grid/hierarchical-grid-editing → react/igr-ts/chat}/index.d.ts +0 -0
  1241. /package/templates/{angular/ig-ts/hierarchical-grid/hierarchical-grid-export → react/igr-ts/checkbox/default}/index.d.ts +0 -0
  1242. /package/templates/{angular/ig-ts/hierarchical-grid/hierarchical-grid → react/igr-ts/checkbox}/index.d.ts +0 -0
  1243. /package/templates/{angular/ig-ts/hierarchical-grid → react/igr-ts/chip/default}/index.d.ts +0 -0
  1244. /package/templates/{angular/ig-ts → react/igr-ts/chip}/index.d.ts +0 -0
  1245. /package/templates/{angular/ig-ts/line-chart → react/igr-ts/circular-progress}/default/index.d.ts +0 -0
  1246. /package/templates/{angular/ig-ts/line-chart → react/igr-ts/circular-progress}/index.d.ts +0 -0
  1247. /package/templates/{angular/ig-ts/pie-chart/default → react/igr-ts/color-picker/color-picker-alpha}/index.d.ts +0 -0
  1248. /package/templates/{angular/ig-ts/pie-chart → react/igr-ts/color-picker/default}/index.d.ts +0 -0
  1249. /package/templates/{angular/ig-ts/projects/empty → react/igr-ts/color-picker}/index.d.ts +0 -0
  1250. /package/templates/{angular/ig-ts/radial-chart → react/igr-ts/combo}/default/index.d.ts +0 -0
  1251. /package/templates/{angular/ig-ts/radial-chart → react/igr-ts/combo}/index.d.ts +0 -0
  1252. /package/templates/{angular/ig-ts/tree-grid → react/igr-ts/custom-templates/subscription-form}/index.d.ts +0 -0
  1253. /package/templates/{angular/ig-ts/tree-grid/tree-grid-custom → react/igr-ts/date-picker/default}/index.d.ts +0 -0
  1254. /package/templates/{angular/ig-ts/tree-grid/tree-grid-editing → react/igr-ts/date-picker}/index.d.ts +0 -0
  1255. /package/templates/{angular/ig-ts/tree-grid/tree-grid-export → react/igr-ts/date-range-picker/default}/index.d.ts +0 -0
  1256. /package/templates/{angular/ig-ts/tree-grid/tree-grid → react/igr-ts/date-range-picker}/index.d.ts +0 -0
  1257. /package/templates/react/{es6/bar-chart → igr-ts/date-time-input}/default/index.d.ts +0 -0
  1258. /package/templates/react/{es6/bar-chart → igr-ts/date-time-input}/index.d.ts +0 -0
  1259. /package/templates/react/{es6/column-chart → igr-ts/dialog}/default/index.d.ts +0 -0
  1260. /package/templates/react/{es6/column-chart → igr-ts/dialog}/index.d.ts +0 -0
  1261. /package/templates/react/{es6/combo/combo → igr-ts/divider/default}/index.d.ts +0 -0
  1262. /package/templates/react/{es6/combo → igr-ts/divider}/index.d.ts +0 -0
  1263. /package/templates/react/{es6/doughnut-chart/doughnut-chart → igr-ts/dropdown/default}/index.d.ts +0 -0
  1264. /package/templates/react/{es6/doughnut-chart → igr-ts/dropdown}/index.d.ts +0 -0
  1265. /package/templates/react/{es6/editors → igr-ts/expansion-panel/default}/index.d.ts +0 -0
  1266. /package/templates/react/{es6/financial-chart/financial-chart → igr-ts/expansion-panel}/index.d.ts +0 -0
  1267. /package/templates/react/{es6/financial-chart → igr-ts/file-input/default}/index.d.ts +0 -0
  1268. /package/templates/react/{es6/funnel-chart/funnel-chart → igr-ts/file-input}/index.d.ts +0 -0
  1269. /package/templates/react/{es6/funnel-chart → igr-ts/form/default}/index.d.ts +0 -0
  1270. /package/templates/react/{es6/grid/basic → igr-ts/form}/index.d.ts +0 -0
  1271. /package/templates/react/{es6/grid/grid-custom → igr-ts/hierarchical-grid/basic}/index.d.ts +0 -0
  1272. /package/templates/react/{es6/grid/grid-editing → igr-ts/hierarchical-grid}/index.d.ts +0 -0
  1273. /package/templates/react/{es6/grid/grid-export → igr-ts/highlight/default}/index.d.ts +0 -0
  1274. /package/templates/react/{es6/grid/grid-templating → igr-ts/highlight}/index.d.ts +0 -0
  1275. /package/templates/react/{es6/hierarchical-grid/hierarchical-grid-editing → igr-ts/icon/default}/index.d.ts +0 -0
  1276. /package/templates/react/{es6/hierarchical-grid/hierarchical-grid-export → igr-ts/icon}/index.d.ts +0 -0
  1277. /package/templates/react/{es6/grid → igr-ts/icon-button/default}/index.d.ts +0 -0
  1278. /package/templates/react/{es6/hierarchical-grid/hierarchical-grid-custom → igr-ts/icon-button}/index.d.ts +0 -0
  1279. /package/templates/react/{es6/hierarchical-grid/hierarchical-grid → igr-ts/input/default}/index.d.ts +0 -0
  1280. /package/templates/react/{es6/hierarchical-grid → igr-ts/input}/index.d.ts +0 -0
  1281. /package/templates/react/{es6 → igr-ts/linear-progress/default}/index.d.ts +0 -0
  1282. /package/templates/react/{es6/line-chart/default → igr-ts/linear-progress}/index.d.ts +0 -0
  1283. /package/templates/react/{es6/line-chart → igr-ts/list/default}/index.d.ts +0 -0
  1284. /package/templates/react/{es6/pie-chart → igr-ts/list}/index.d.ts +0 -0
  1285. /package/templates/react/{es6/pie-chart/pie-chart → igr-ts/mask-input/default}/index.d.ts +0 -0
  1286. /package/templates/react/{es6/projects/empty → igr-ts/mask-input}/index.d.ts +0 -0
  1287. /package/templates/react/{es6/radial-chart → igr-ts/nav-drawer/default}/index.d.ts +0 -0
  1288. /package/templates/react/{es6/radial-chart/radial-chart → igr-ts/nav-drawer}/index.d.ts +0 -0
  1289. /package/templates/react/{es6/scatter-chart → igr-ts/navbar/default}/index.d.ts +0 -0
  1290. /package/templates/react/{es6/scatter-chart/scatter-chart → igr-ts/navbar}/index.d.ts +0 -0
  1291. /package/templates/react/{es6/tree-grid → igr-ts/pivot-grid/basic}/index.d.ts +0 -0
  1292. /package/templates/react/{es6/tree-grid/tree-grid-custom → igr-ts/pivot-grid}/index.d.ts +0 -0
  1293. /package/templates/react/{es6/tree-grid/tree-grid-editing → igr-ts/qr-code/default}/index.d.ts +0 -0
  1294. /package/templates/react/{es6/tree-grid/tree-grid-export → igr-ts/qr-code}/index.d.ts +0 -0
  1295. /package/templates/react/{es6/tree-grid/tree-grid → igr-ts/radio-group/default}/index.d.ts +0 -0
  1296. /package/templates/react/{igr-es6/bullet-graph/default → igr-ts/radio-group}/index.d.ts +0 -0
  1297. /package/templates/react/{igr-es6/bullet-graph → igr-ts/range-slider/default}/index.d.ts +0 -0
  1298. /package/templates/react/{igr-es6/category-chart/default → igr-ts/range-slider}/index.d.ts +0 -0
  1299. /package/templates/react/{igr-es6/category-chart → igr-ts/rating/default}/index.d.ts +0 -0
  1300. /package/templates/react/{igr-es6/doughnut-chart/default → igr-ts/rating}/index.d.ts +0 -0
  1301. /package/templates/react/{igr-es6/doughnut-chart → igr-ts/ripple/default}/index.d.ts +0 -0
  1302. /package/templates/react/{igr-es6/financial-chart/default → igr-ts/ripple}/index.d.ts +0 -0
  1303. /package/templates/react/{igr-es6/financial-chart → igr-ts/select/default}/index.d.ts +0 -0
  1304. /package/templates/react/{igr-es6/grid/basic → igr-ts/select}/index.d.ts +0 -0
  1305. /package/templates/react/{igr-es6/grid → igr-ts/slider/default}/index.d.ts +0 -0
  1306. /package/templates/react/{igr-es6 → igr-ts/slider}/index.d.ts +0 -0
  1307. /package/templates/react/{igr-es6/linear-gauge → igr-ts/snackbar}/default/index.d.ts +0 -0
  1308. /package/templates/react/{igr-es6/linear-gauge → igr-ts/snackbar}/index.d.ts +0 -0
  1309. /package/templates/react/{igr-es6/pie-chart → igr-ts/splitter}/default/index.d.ts +0 -0
  1310. /package/templates/react/{igr-es6/pie-chart → igr-ts/splitter}/index.d.ts +0 -0
  1311. /package/templates/react/{igr-es6/radial-gauge → igr-ts/stepper}/default/index.d.ts +0 -0
  1312. /package/templates/react/{igr-es6/radial-gauge → igr-ts/stepper}/index.d.ts +0 -0
  1313. /package/{migrations/update-2/index.spec.d.ts → templates/react/igr-ts/switch/default/index.d.ts} +0 -0
  1314. /package/{migrations/update-3/index.spec.d.ts → templates/react/igr-ts/switch/index.d.ts} +0 -0
  1315. /package/{migrations/update-3_2/index.spec.d.ts → templates/react/igr-ts/tabs/default/index.d.ts} +0 -0
  1316. /package/{migrations/update-4_2_3/index.spec.d.ts → templates/react/igr-ts/tabs/index.d.ts} +0 -0
  1317. /package/{migrations/update-5_0_0/index.spec.d.ts → templates/react/igr-ts/text-area/default/index.d.ts} +0 -0
  1318. /package/{migrations/update-5_0_3/index.spec.d.ts → templates/react/igr-ts/text-area/index.d.ts} +0 -0
  1319. /package/templates/webcomponents/igc-ts/tabs/default/files/src/app/__path__/{__filePrefix__.test → __filePrefix__.test.ts} +0 -0
@@ -0,0 +1,37 @@
1
+ import type { Login } from '../models/login.js';
2
+ import type { RegisterInfo } from '../models/register-info.js';
3
+ import type { ExternalLogin } from '../models/external-login.js';
4
+ import type { LoginResult } from '../models/user.js';
5
+ import { parseUser } from './jwtUtil.js';
6
+ import { fakeLogin, fakeRegister, fakeExtLogin } from './fakeBackend.js';
7
+
8
+ /** Authentication service — swap fakeLogin/fakeRegister for real API calls when ready. */
9
+ export const Authentication = {
10
+ async login(data: Login): Promise<LoginResult> {
11
+ try {
12
+ const token = await fakeLogin(data);
13
+ return { user: parseUser(token) };
14
+ } catch (e: any) {
15
+ return { error: e.message };
16
+ }
17
+ },
18
+
19
+ async register(data: RegisterInfo): Promise<LoginResult> {
20
+ try {
21
+ const token = await fakeRegister(data);
22
+ return { user: parseUser(token) };
23
+ } catch (e: any) {
24
+ return { error: e.message };
25
+ }
26
+ },
27
+
28
+ /** Send user info from a social provider to the external login endpoint. */
29
+ async loginWith(data: ExternalLogin): Promise<LoginResult> {
30
+ try {
31
+ const token = fakeExtLogin(data);
32
+ return { user: parseUser(token) };
33
+ } catch (e: any) {
34
+ return { error: e.message };
35
+ }
36
+ }
37
+ };
@@ -0,0 +1,44 @@
1
+ // Social login configuration.
2
+ // To enable a provider, set its entry in oauthConfig below with your real credentials
3
+ // from the provider's developer console.
4
+ //
5
+ // Redirect URIs to register in each provider's app settings:
6
+ // {your-origin}/auth/redirect-google
7
+ // {your-origin}/auth/redirect-facebook
8
+ // {your-origin}/auth/redirect-microsoft
9
+ //
10
+ // Developer consoles:
11
+ // Google: https://console.cloud.google.com/apis/credentials
12
+ // Microsoft: https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps
13
+ // Facebook: https://developers.facebook.com/apps
14
+
15
+ export type OAuthProvider = 'google' | 'facebook' | 'microsoft';
16
+
17
+ export interface OAuthConfig {
18
+ google?: { clientId: string };
19
+
20
+ // tenantId defaults to 'common' (multi-tenant). Set it for single-tenant apps.
21
+ // IMPORTANT: The redirect URI must be registered as a SPA redirect URI in Azure
22
+ // (not "Web"), otherwise the token exchange will fail with a CORS error.
23
+ // See: https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-auth-code-flow
24
+ microsoft?: { clientId: string; tenantId?: string };
25
+
26
+ // Facebook login uses the JS SDK (popup flow). The SDK script must be loaded in
27
+ // index.html (see below). In the Facebook app dashboard you must also:
28
+ // - Enable "Login with the JavaScript SDK"
29
+ // - Add your domain to "Allowed Domains for the JavaScript SDK"
30
+ // - Add the redirect URI to "Valid OAuth Redirect URIs"
31
+ // - Serve the app over HTTPS
32
+ // See: https://developers.facebook.com/docs/facebook-login/web
33
+ facebook?: { clientId: string };
34
+ }
35
+
36
+ // Active OAuth configuration — fill in the providers you want to enable, for example:
37
+ //
38
+ // export const oauthConfig: OAuthConfig = {
39
+ // google: { clientId: 'YOUR_GOOGLE_CLIENT_ID' },
40
+ // microsoft: { clientId: 'YOUR_AZURE_APP_CLIENT_ID', tenantId: 'common' },
41
+ // // Note: Facebook requires HTTPS even for local dev - use ngrok or a local SSL proxy.
42
+ // facebook: { clientId: 'YOUR_FACEBOOK_APP_ID' },
43
+ // };
44
+ export const oauthConfig: OAuthConfig = {};
@@ -0,0 +1,272 @@
1
+ import type { ExternalLogin } from '../models/external-login.js';
2
+ import type { OAuthProvider } from './external-auth-config.js';
3
+ import { oauthConfig } from './external-auth-config.js';
4
+ import { generateCodeVerifier, generateCodeChallenge, buildAuthUrl } from './pkce.js';
5
+
6
+ // sessionStorage keys
7
+ const VERIFIER_KEY = '_pkce_verifier';
8
+ const STATE_KEY = '_oauth_state';
9
+ const FB_USER_KEY = '_fb_user';
10
+ const ACTIVE_PROVIDER_KEY = '_ext_active_provider';
11
+
12
+ // Declared by the Facebook JS SDK (loaded via script tag in index.html)
13
+ declare const FB: any;
14
+
15
+ // Set to true once FB.init() has been called in this session.
16
+ // Prevents FB.logout() from being called before initialization.
17
+ let fbInitialized = false;
18
+
19
+ /**
20
+ * Decode a JWT payload segment. Handles Base64URL encoding (no padding, - and _ chars)
21
+ * which `atob()` does not accept natively - missing padding causes `InvalidCharacterError`.
22
+ */
23
+ function decodeJwtPayload(token: string): any {
24
+ const base64url = token.split('.')[1];
25
+ const base64 = base64url.replace(/-/g, '+').replace(/_/g, '/');
26
+ const padded = base64.padEnd(base64.length + (4 - base64.length % 4) % 4, '=');
27
+ return JSON.parse(atob(padded));
28
+ }
29
+
30
+ /**
31
+ * Waits until the Facebook JS SDK has loaded and is available on window.
32
+ * The SDK is loaded with `async defer` so it may not be ready when login() is called.
33
+ */
34
+ function waitForFB(): Promise<void> {
35
+ return new Promise(resolve => {
36
+ if (typeof (window as any).FB !== 'undefined') { resolve(); return; }
37
+ const id = setInterval(() => {
38
+ if (typeof (window as any).FB !== 'undefined') { clearInterval(id); resolve(); }
39
+ }, 50);
40
+ });
41
+ }
42
+
43
+ /**
44
+ * External (social) authentication service.
45
+ * Supports Google and Microsoft via OIDC/PKCE, and Facebook via the JS SDK.
46
+ *
47
+ * Usage: call login(provider) to start the flow; call handleRedirect(provider)
48
+ * on the matching redirect page to complete it and retrieve the user profile.
49
+ */
50
+ export const ExternalAuth = {
51
+ /** Returns true if any provider (or the specific provider) is configured. */
52
+ hasProvider(provider?: OAuthProvider): boolean {
53
+ if (provider) {
54
+ return provider in oauthConfig && (oauthConfig as any)[provider] != null;
55
+ }
56
+ return Object.values(oauthConfig).some(v => v != null);
57
+ },
58
+
59
+ /** Initiate login for the given provider. Redirects the page to the provider's auth endpoint. */
60
+ async login(provider: OAuthProvider): Promise<void> {
61
+ localStorage.setItem(ACTIVE_PROVIDER_KEY, provider);
62
+ if (provider === 'google') {
63
+ const cfg = oauthConfig.google!;
64
+ const verifier = generateCodeVerifier();
65
+ const challenge = await generateCodeChallenge(verifier);
66
+ sessionStorage.setItem(VERIFIER_KEY, verifier);
67
+ const state = crypto.randomUUID();
68
+ sessionStorage.setItem(STATE_KEY, state);
69
+ const redirectUri = `${window.location.origin}/auth/redirect-google`;
70
+ window.location.href = buildAuthUrl('https://accounts.google.com/o/oauth2/v2/auth', {
71
+ response_type: 'code',
72
+ client_id: cfg.clientId,
73
+ redirect_uri: redirectUri,
74
+ scope: 'openid profile email',
75
+ code_challenge: challenge,
76
+ code_challenge_method: 'S256',
77
+ state,
78
+ });
79
+ } else if (provider === 'microsoft') {
80
+ const cfg = oauthConfig.microsoft!;
81
+ const tenantId = cfg.tenantId ?? 'common';
82
+ const verifier = generateCodeVerifier();
83
+ const challenge = await generateCodeChallenge(verifier);
84
+ sessionStorage.setItem(VERIFIER_KEY, verifier);
85
+ const state = crypto.randomUUID();
86
+ sessionStorage.setItem(STATE_KEY, state);
87
+ const redirectUri = `${window.location.origin}/auth/redirect-microsoft`;
88
+ window.location.href = buildAuthUrl(
89
+ `https://login.microsoftonline.com/${tenantId}/oauth2/v2.0/authorize`,
90
+ {
91
+ response_type: 'code',
92
+ client_id: cfg.clientId,
93
+ redirect_uri: redirectUri,
94
+ scope: 'openid profile email',
95
+ code_challenge: challenge,
96
+ code_challenge_method: 'S256',
97
+ state,
98
+ }
99
+ );
100
+ } else if (provider === 'facebook') {
101
+ const cfg = oauthConfig.facebook!;
102
+ // Wait for the SDK to load (it is included with `async defer` in index.html
103
+ // and may not be available yet when the user clicks the login button).
104
+ await waitForFB();
105
+ FB.init({ appId: cfg.clientId, xfbml: false, version: 'v3.1' });
106
+ fbInitialized = true;
107
+ FB.login(
108
+ (response: any) => {
109
+ if (response.authResponse) {
110
+ FB.api(
111
+ '/me?fields=id,email,name,first_name,last_name,picture',
112
+ (res: any) => {
113
+ const user: ExternalLogin = {
114
+ id: res.id,
115
+ name: res.name,
116
+ given_name: res.first_name,
117
+ family_name: res.last_name,
118
+ email: res.email,
119
+ // Facebook returns picture as an object: { data: { url, width, height } }
120
+ picture: res.picture?.data?.url,
121
+ externalToken: FB.getAuthResponse()?.accessToken ?? '',
122
+ };
123
+ sessionStorage.setItem(FB_USER_KEY, JSON.stringify(user));
124
+ window.location.href = '/auth/redirect-facebook';
125
+ }
126
+ );
127
+ }
128
+ },
129
+ { scope: 'public_profile,email' }
130
+ );
131
+ }
132
+ },
133
+
134
+ /**
135
+ * Complete the OAuth redirect flow and return the external user profile.
136
+ * Call this from the /auth/redirect-{provider} page.
137
+ *
138
+ * For Google/Microsoft: exchanges the authorization code (PKCE) for tokens.
139
+ * For Facebook: reads the profile stored during the FB.login() popup flow.
140
+ */
141
+ async handleRedirect(provider: OAuthProvider): Promise<ExternalLogin> {
142
+ if (provider === 'facebook') {
143
+ const stored = sessionStorage.getItem(FB_USER_KEY);
144
+ if (!stored) throw new Error('No Facebook user data found. Please try again.');
145
+ sessionStorage.removeItem(FB_USER_KEY);
146
+ return JSON.parse(stored) as ExternalLogin;
147
+ }
148
+
149
+ const params = new URLSearchParams(window.location.search);
150
+ const code = params.get('code');
151
+ if (!code) throw new Error('Missing authorization code in redirect URL.');
152
+
153
+ // Validate the state parameter to prevent CSRF attacks.
154
+ const returnedState = params.get('state');
155
+ const savedState = sessionStorage.getItem(STATE_KEY);
156
+ sessionStorage.removeItem(STATE_KEY);
157
+ if (!returnedState || returnedState !== savedState) {
158
+ throw new Error('OAuth state mismatch. The request may have been tampered with.');
159
+ }
160
+
161
+ const verifier = sessionStorage.getItem(VERIFIER_KEY);
162
+ if (!verifier) throw new Error('Missing PKCE code verifier. Please try again.');
163
+ sessionStorage.removeItem(VERIFIER_KEY);
164
+
165
+ if (provider === 'google') {
166
+ const cfg = oauthConfig.google!;
167
+ const redirectUri = `${window.location.origin}/auth/redirect-google`;
168
+ const res = await fetch('https://oauth2.googleapis.com/token', {
169
+ method: 'POST',
170
+ headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
171
+ body: new URLSearchParams({
172
+ grant_type: 'authorization_code',
173
+ client_id: cfg.clientId,
174
+ redirect_uri: redirectUri,
175
+ code,
176
+ code_verifier: verifier,
177
+ }),
178
+ });
179
+ if (!res.ok) throw new Error('Google token exchange failed.');
180
+ const data = await res.json();
181
+ // Decode the id_token to extract user claims - no extra userinfo request needed
182
+ const payload = decodeJwtPayload(data.id_token);
183
+ return {
184
+ id: payload.sub,
185
+ name: payload.name,
186
+ given_name: payload.given_name,
187
+ family_name: payload.family_name,
188
+ email: payload.email,
189
+ picture: payload.picture,
190
+ externalToken: data.access_token,
191
+ };
192
+ }
193
+
194
+ if (provider === 'microsoft') {
195
+ const cfg = oauthConfig.microsoft!;
196
+ const tenantId = cfg.tenantId ?? 'common';
197
+ const redirectUri = `${window.location.origin}/auth/redirect-microsoft`;
198
+ const res = await fetch(
199
+ `https://login.microsoftonline.com/${tenantId}/oauth2/v2.0/token`,
200
+ {
201
+ method: 'POST',
202
+ headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
203
+ body: new URLSearchParams({
204
+ grant_type: 'authorization_code',
205
+ client_id: cfg.clientId,
206
+ redirect_uri: redirectUri,
207
+ code,
208
+ code_verifier: verifier,
209
+ }),
210
+ }
211
+ );
212
+ if (!res.ok) throw new Error('Microsoft token exchange failed.');
213
+ const data = await res.json();
214
+ const payload = decodeJwtPayload(data.id_token);
215
+ return {
216
+ id: payload.oid ?? payload.sub,
217
+ name: payload.name,
218
+ email: payload.email ?? payload.preferred_username,
219
+ externalToken: data.access_token,
220
+ };
221
+ }
222
+
223
+ throw new Error(`Unknown provider: ${provider}`);
224
+ },
225
+
226
+ /**
227
+ * Sign out from the active external provider (if any) and clear its stored state.
228
+ * Call this alongside clearing local user state on logout.
229
+ */
230
+ logout(): void {
231
+ const provider = localStorage.getItem(ACTIVE_PROVIDER_KEY) as OAuthProvider | null;
232
+ localStorage.removeItem(ACTIVE_PROVIDER_KEY);
233
+ sessionStorage.removeItem(VERIFIER_KEY);
234
+ sessionStorage.removeItem(FB_USER_KEY);
235
+
236
+ if (!provider) return;
237
+
238
+ if (provider === 'google') {
239
+ // Redirect to Google's end-session endpoint to clear the Google session.
240
+ // The user is returned to the app root after sign-out.
241
+ const cfg = oauthConfig.google;
242
+ if (cfg) {
243
+ window.location.href = `https://accounts.google.com/logout`;
244
+ return;
245
+ }
246
+ }
247
+
248
+ if (provider === 'microsoft') {
249
+ const cfg = oauthConfig.microsoft;
250
+ if (cfg) {
251
+ const tenantId = cfg.tenantId ?? 'common';
252
+ const postLogoutRedirectUri = encodeURIComponent(window.location.origin);
253
+ window.location.href =
254
+ `https://login.microsoftonline.com/${tenantId}/oauth2/v2.0/logout` +
255
+ `?post_logout_redirect_uri=${postLogoutRedirectUri}`;
256
+ return;
257
+ }
258
+ }
259
+
260
+ if (provider === 'facebook') {
261
+ // Only call FB.logout() when the SDK was initialised in this session.
262
+ // Calling it on a fresh page load (before FB.init) throws an error.
263
+ try {
264
+ if (fbInitialized && typeof FB !== 'undefined') {
265
+ FB.logout();
266
+ }
267
+ } catch {
268
+ // SDK not loaded - nothing to do
269
+ }
270
+ }
271
+ },
272
+ };
@@ -0,0 +1,88 @@
1
+ // ⚠ DEVELOPMENT ONLY — simulates POST /login, /register, /extlogin using localStorage.
2
+ // Before going to production: remove this interceptor and replace with calls to your real API.
3
+ import type { Login } from '../models/login.js';
4
+ import type { RegisterInfo } from '../models/register-info.js';
5
+ import type { ExternalLogin } from '../models/external-login.js';
6
+
7
+ const USERS_KEY = '_fake_users';
8
+
9
+ interface StoredUser {
10
+ given_name: string;
11
+ family_name: string;
12
+ email: string;
13
+ passwordHash: string;
14
+ externalId?: string;
15
+ }
16
+
17
+ function getUsers(): StoredUser[] {
18
+ try {
19
+ return JSON.parse(localStorage.getItem(USERS_KEY) ?? '[]');
20
+ } catch {
21
+ return [];
22
+ }
23
+ }
24
+
25
+ function saveUsers(users: StoredUser[]): void {
26
+ localStorage.setItem(USERS_KEY, JSON.stringify(users));
27
+ }
28
+
29
+ async function hashPassword(password: string): Promise<string> {
30
+ const data = new TextEncoder().encode(password);
31
+ const digest = await crypto.subtle.digest('SHA-256', data);
32
+ return Array.from(new Uint8Array(digest), byte => byte.toString(16).padStart(2, '0')).join('');
33
+ }
34
+
35
+ function makeJwt(payload: object): string {
36
+ const header = btoa(JSON.stringify({ alg: 'none', typ: 'JWT' }));
37
+ const body = btoa(JSON.stringify({ exp: Date.now() / 1000 + 3600, ...payload }));
38
+ return `${header}.${body}.`;
39
+ }
40
+
41
+ export async function fakeLogin(data: Login): Promise<string> {
42
+ const users = getUsers();
43
+ const passwordHash = await hashPassword(data.password);
44
+ const user = users.find(u => u.email === data.email && u.passwordHash === passwordHash);
45
+ if (!user) {
46
+ throw new Error('Invalid email or password.');
47
+ }
48
+ return makeJwt({ name: `${user.given_name} ${user.family_name}`, given_name: user.given_name, family_name: user.family_name, email: user.email });
49
+ }
50
+
51
+ export async function fakeRegister(data: RegisterInfo): Promise<string> {
52
+ const users = getUsers();
53
+ if (users.find(u => u.email === data.email)) {
54
+ throw new Error('An account with this email already exists.');
55
+ }
56
+ const newUser: StoredUser = {
57
+ given_name: data.given_name,
58
+ family_name: data.family_name,
59
+ email: data.email,
60
+ passwordHash: await hashPassword(data.password)
61
+ };
62
+ saveUsers([...users, newUser]);
63
+ return makeJwt({ name: `${data.given_name} ${data.family_name}`, given_name: data.given_name, family_name: data.family_name, email: data.email });
64
+ }
65
+ /** Upsert a user from a social (external) auth provider and return a JWT. */
66
+ export function fakeExtLogin(data: ExternalLogin): string {
67
+ const users = getUsers();
68
+ const existing = users.find(u => u.email === data.email && data.email != null)
69
+ ?? users.find(u => u.externalId === data.id);
70
+ const given_name = data.given_name ?? data.name?.split(' ')[0] ?? '';
71
+ const family_name = data.family_name ?? data.name?.split(' ').slice(1).join(' ') ?? '';
72
+ // Resolve email: prefer what the provider returned, fall back to what we stored previously.
73
+ const email = data.email ?? existing?.email;
74
+ if (existing) {
75
+ // Update profile fields from provider (name/picture may change).
76
+ // Also store externalId if this user was originally created by email (first social login).
77
+ existing.given_name = given_name;
78
+ existing.family_name = family_name;
79
+ if (!existing.externalId) existing.externalId = data.id;
80
+ saveUsers(users);
81
+ } else {
82
+ if (!email) {
83
+ throw new Error('Cannot create an account without an email address.');
84
+ }
85
+ saveUsers([...users, { given_name, family_name, email, passwordHash: '', externalId: data.id }]);
86
+ }
87
+ return makeJwt({ name: data.name, given_name, family_name, email, picture: data.picture });
88
+ }
@@ -0,0 +1,10 @@
1
+ import type { UserJWT } from '../models/user.js';
2
+
3
+ /** Parse the payload of a JWT string into a UserJWT object. */
4
+ export function parseUser(token: string): UserJWT & { token: string } {
5
+ const base64url = token.split('.')[1];
6
+ const base64 = base64url.replace(/-/g, '+').replace(/_/g, '/');
7
+ const padded = base64.padEnd(base64.length + (4 - base64.length % 4) % 4, '=');
8
+ const decoded = JSON.parse(atob(padded));
9
+ return { ...decoded, token };
10
+ }
@@ -0,0 +1,29 @@
1
+ // PKCE (Proof Key for Code Exchange) utilities for OAuth 2.0 Authorization Code Flow.
2
+ // https://tools.ietf.org/html/rfc7636
3
+
4
+ function base64UrlEncode(bytes: Uint8Array): string {
5
+ return btoa(String.fromCharCode(...bytes))
6
+ .replace(/\+/g, '-').replace(/\//g, '_').replace(/=/g, '');
7
+ }
8
+
9
+ /** Generate a cryptographically random PKCE code verifier (43–128 chars, URL-safe). */
10
+ export function generateCodeVerifier(): string {
11
+ const bytes = crypto.getRandomValues(new Uint8Array(32));
12
+ return base64UrlEncode(bytes);
13
+ }
14
+
15
+ /** Compute the S256 code challenge from a code verifier. */
16
+ export async function generateCodeChallenge(verifier: string): Promise<string> {
17
+ const data = new TextEncoder().encode(verifier);
18
+ const digest = await crypto.subtle.digest('SHA-256', data);
19
+ return base64UrlEncode(new Uint8Array(digest));
20
+ }
21
+
22
+ /** Build a URL with query parameters from a plain object. */
23
+ export function buildAuthUrl(endpoint: string, params: Record<string, string>): string {
24
+ const url = new URL(endpoint);
25
+ for (const [k, v] of Object.entries(params)) {
26
+ url.searchParams.set(k, v);
27
+ }
28
+ return url.toString();
29
+ }
@@ -0,0 +1,39 @@
1
+ import type { User } from '../models/user.js';
2
+
3
+ const USER_KEY = 'currentUser';
4
+
5
+ /**
6
+ * Simple localStorage-backed user store.
7
+ *
8
+ * NOTE: Storing the full user object in localStorage can be susceptible to XSS attacks.
9
+ * Consider additional security measures before going to production.
10
+ */
11
+ export const UserStore = {
12
+ getUser(): User | null {
13
+ try {
14
+ const raw = localStorage.getItem(USER_KEY);
15
+ if (!raw) return null;
16
+ const parsed: User = JSON.parse(raw);
17
+ // Discard expired tokens so a stale session is never silently restored.
18
+ if (parsed.exp && Date.now() / 1000 > parsed.exp) {
19
+ localStorage.removeItem(USER_KEY);
20
+ return null;
21
+ }
22
+ return parsed;
23
+ } catch {
24
+ return null;
25
+ }
26
+ },
27
+
28
+ setUser(user: User): void {
29
+ localStorage.setItem(USER_KEY, JSON.stringify(user));
30
+ },
31
+
32
+ clearUser(): void {
33
+ localStorage.removeItem(USER_KEY);
34
+ },
35
+
36
+ getInitials(user: User): string {
37
+ return (user.given_name.charAt(0) + (user.family_name?.charAt(0) ?? '')).toUpperCase();
38
+ }
39
+ };
@@ -0,0 +1,142 @@
1
+ import { LitElement, html, css } from 'lit';
2
+ import { customElement } from 'lit/decorators.js';
3
+ import { defineComponents, IgcAvatarComponent } from 'igniteui-webcomponents';
4
+ import { UserStore } from '../authentication/services/userStore.js';
5
+
6
+ defineComponents(IgcAvatarComponent);
7
+
8
+ @customElement('app-profile')
9
+ export default class ProfilePage extends LitElement {
10
+ static styles = css`
11
+ :host {
12
+ display: flex;
13
+ justify-content: center;
14
+ padding: 48px 16px;
15
+ width: 100%;
16
+ box-sizing: border-box;
17
+ }
18
+
19
+ .card {
20
+ align-self: flex-start;
21
+ width: 100%;
22
+ max-width: 640px;
23
+ background: #fff;
24
+ border-radius: 8px;
25
+ box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
26
+ padding: 32px;
27
+ box-sizing: border-box;
28
+ }
29
+
30
+ .header {
31
+ display: flex;
32
+ align-items: center;
33
+ gap: 20px;
34
+ padding-bottom: 24px;
35
+ border-bottom: 1px solid #d7eaf8;
36
+ }
37
+
38
+ .avatar {
39
+ flex: 0 0 auto;
40
+ --ig-avatar-background: #e0f2ff;
41
+ --ig-avatar-color: #0075d2;
42
+ --ig-avatar-size: 4rem;
43
+ }
44
+
45
+ .intro {
46
+ min-width: 0;
47
+ }
48
+
49
+ .status {
50
+ margin: 0 0 4px;
51
+ color: #000;
52
+ font-size: .875rem;
53
+ font-weight: 700;
54
+ text-transform: uppercase;
55
+ }
56
+
57
+ .name {
58
+ margin: 0;
59
+ overflow-wrap: anywhere;
60
+ color: #09f;
61
+ font-size: 2rem;
62
+ font-weight: 600;
63
+ line-height: 1.2;
64
+ }
65
+
66
+ .description {
67
+ margin: 8px 0 0;
68
+ color: #000;
69
+ font-size: 1rem;
70
+ line-height: 1.5;
71
+ }
72
+
73
+ .details {
74
+ margin: 28px 0 0;
75
+ padding: 0;
76
+ }
77
+
78
+ .row {
79
+ display: grid;
80
+ grid-template-columns: 140px minmax(0, 1fr);
81
+ gap: 24px;
82
+ padding: 14px 0;
83
+ border-bottom: 1px solid #eef3f7;
84
+ }
85
+
86
+ dt {
87
+ color: rgba(0, 0, 0, .62);
88
+ font-size: .875rem;
89
+ font-weight: 600;
90
+ margin: 0;
91
+ }
92
+
93
+ dd {
94
+ margin: 0;
95
+ font-size: 1rem;
96
+ color: #2d2d2d;
97
+ }
98
+ `;
99
+
100
+ render() {
101
+ const user = UserStore.getUser();
102
+ const initials = user ? UserStore.getInitials(user) : 'U';
103
+
104
+ return html`
105
+ <div class="card">
106
+ <div class="header">
107
+ <igc-avatar
108
+ class="avatar"
109
+ shape="circle"
110
+ src=${user?.picture ?? ''}
111
+ initials=${user?.picture ? '' : initials}
112
+ ></igc-avatar>
113
+ <div class="intro">
114
+ <p class="status">Signed in</p>
115
+ <h1 class="name">${user?.name || 'Your profile'}</h1>
116
+ <p class="description">Your account details are available on this protected route.</p>
117
+ </div>
118
+ </div>
119
+ <dl class="details">
120
+ <div class="row">
121
+ <dt>First name</dt>
122
+ <dd>${user?.given_name || 'Not provided'}</dd>
123
+ </div>
124
+ <div class="row">
125
+ <dt>Last name</dt>
126
+ <dd>${user?.family_name || 'Not provided'}</dd>
127
+ </div>
128
+ <div class="row">
129
+ <dt>Email</dt>
130
+ <dd>${user?.email || 'No email available'}</dd>
131
+ </div>
132
+ </dl>
133
+ </div>
134
+ `;
135
+ }
136
+ }
137
+
138
+ declare global {
139
+ interface HTMLElementTagNameMap {
140
+ 'app-profile': ProfilePage;
141
+ }
142
+ }