@eui/tools 6.5.6 → 6.6.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 (237) hide show
  1. package/.prettierrc.json +19 -0
  2. package/.version.properties +1 -1
  3. package/CHANGELOG.md +9 -0
  4. package/bin/eui-scripts.js +2 -0
  5. package/bin/scripts/csdr-app-package-init.js +16 -0
  6. package/bin/scripts/csdr-cli.js +1 -1
  7. package/package.json +1 -1
  8. package/scripts/app/public/index.html +22 -170
  9. package/scripts/app/public/index.js +95 -0
  10. package/scripts/app/public/package-init.html +254 -0
  11. package/scripts/app/public/package-init.js +138 -0
  12. package/scripts/app/public/stats.html +60 -125
  13. package/scripts/app/public/stats.js +68 -0
  14. package/scripts/app/routes/index.js +28 -9
  15. package/scripts/app/server.js +2 -0
  16. package/scripts/csdr/cli/cli-utils.js +2 -30
  17. package/scripts/csdr/cli/constants.js +1 -12
  18. package/scripts/csdr/cli/package-build-backend.js +18 -0
  19. package/scripts/csdr/cli/package-build-frontend.js +47 -164
  20. package/scripts/csdr/cli/package-prompt.js +0 -84
  21. package/scripts/csdr/cli/package.js +65 -14
  22. package/scripts/csdr/config/register.js +71 -158
  23. package/scripts/index.js +0 -1
  24. package/scripts/csdr/cli/app.js +0 -204
  25. package/scripts/csdr/cli/skeletons/app/angular-config.json +0 -31
  26. package/scripts/csdr/cli/skeletons/app/dependencies-base.json +0 -2
  27. package/scripts/csdr/cli/skeletons/app/dependencies-composite.json +0 -6
  28. package/scripts/csdr/cli/skeletons/app/gitignore_TO_REPLACE +0 -63
  29. package/scripts/csdr/cli/skeletons/app/mock/json/core/user.js +0 -31
  30. package/scripts/csdr/cli/skeletons/app/mock/json/lowdb.js +0 -25
  31. package/scripts/csdr/cli/skeletons/app/mock/json/middlewares/delay.js +0 -10
  32. package/scripts/csdr/cli/skeletons/app/mock/json/middlewares/errors.js +0 -73
  33. package/scripts/csdr/cli/skeletons/app/mock/json/middlewares/sse.js +0 -28
  34. package/scripts/csdr/cli/skeletons/app/mock/json/routes.json +0 -3
  35. package/scripts/csdr/cli/skeletons/app/mock/json/server.js +0 -38
  36. package/scripts/csdr/cli/skeletons/app/package.json +0 -6
  37. package/scripts/csdr/cli/skeletons/app/scripts.json +0 -7
  38. package/scripts/csdr/cli/skeletons/app/src/app/app-routing.module.ts +0 -32
  39. package/scripts/csdr/cli/skeletons/app/src/app/app.component.html +0 -1
  40. package/scripts/csdr/cli/skeletons/app/src/app/app.component.ts +0 -9
  41. package/scripts/csdr/cli/skeletons/app/src/app/app.module.ts +0 -68
  42. package/scripts/csdr/cli/skeletons/app/src/app/core/app-shell/app-shell.component.html +0 -27
  43. package/scripts/csdr/cli/skeletons/app/src/app/core/app-shell/app-shell.component.ts +0 -188
  44. package/scripts/csdr/cli/skeletons/app/src/app/core/components/about/about.component.html +0 -30
  45. package/scripts/csdr/cli/skeletons/app/src/app/core/components/about/about.component.ts +0 -71
  46. package/scripts/csdr/cli/skeletons/app/src/app/core/components/error-pages/page-404/page-404.component.ts +0 -19
  47. package/scripts/csdr/cli/skeletons/app/src/app/core/components/error-pages/page-500/page-500.component.ts +0 -18
  48. package/scripts/csdr/cli/skeletons/app/src/app/core/components/profile/profile.component.html +0 -104
  49. package/scripts/csdr/cli/skeletons/app/src/app/core/components/profile/profile.component.scss +0 -44
  50. package/scripts/csdr/cli/skeletons/app/src/app/core/components/profile/profile.component.ts +0 -39
  51. package/scripts/csdr/cli/skeletons/app/src/app/core/components/profile-menu/profile-menu.component.html +0 -26
  52. package/scripts/csdr/cli/skeletons/app/src/app/core/components/profile-menu/profile-menu.component.ts +0 -104
  53. package/scripts/csdr/cli/skeletons/app/src/app/core/core.module.ts +0 -46
  54. package/scripts/csdr/cli/skeletons/app/src/app/core/services/core.service.ts +0 -124
  55. package/scripts/csdr/cli/skeletons/app/src/app/features/home/home-routing.module.ts +0 -15
  56. package/scripts/csdr/cli/skeletons/app/src/app/features/home/home.component.html +0 -6
  57. package/scripts/csdr/cli/skeletons/app/src/app/features/home/home.component.ts +0 -8
  58. package/scripts/csdr/cli/skeletons/app/src/app/features/home/home.module.ts +0 -18
  59. package/scripts/csdr/cli/skeletons/app/src/app/features/sample-lib.module.ts +0 -9
  60. package/scripts/csdr/cli/skeletons/app/src/app/shared/components/.gitkeep +0 -0
  61. package/scripts/csdr/cli/skeletons/app/src/app/shared/shared.module.ts +0 -20
  62. package/scripts/csdr/cli/skeletons/app/src/assets/i18n/en.json +0 -3
  63. package/scripts/csdr/cli/skeletons/app/src/assets/i18n/fr.json +0 -3
  64. package/scripts/csdr/cli/skeletons/app/src/assets/openid-login-config.local-mwp-dev.json +0 -144
  65. package/scripts/csdr/cli/skeletons/app/src/assets/openid-login-config.local.json +0 -36
  66. package/scripts/csdr/cli/skeletons/app/src/config/global.ts +0 -9
  67. package/scripts/csdr/cli/skeletons/app/src/config/index.ts +0 -8
  68. package/scripts/csdr/cli/skeletons/app/src/config/modules.ts +0 -13
  69. package/scripts/csdr/cli/skeletons/app/src/environments/environment.dev.ts +0 -4
  70. package/scripts/csdr/cli/skeletons/app/src/environments/environment.local-mwp-dev-openid.ts +0 -6
  71. package/scripts/csdr/cli/skeletons/app/src/environments/environment.local-openid.ts +0 -5
  72. package/scripts/csdr/cli/skeletons/app/src/environments/environment.prod.ts +0 -12
  73. package/scripts/csdr/cli/skeletons/app/src/environments/environment.ts +0 -5
  74. package/scripts/csdr/cli/skeletons/app/src/index.html +0 -24
  75. package/scripts/csdr/cli/skeletons/app/src/styles.scss +0 -1
  76. package/scripts/csdr/cli/skeletons/app/tslint.json +0 -17
  77. package/scripts/csdr/cli/skeletons/app-eui10/angular-config.json +0 -20
  78. package/scripts/csdr/cli/skeletons/app-eui10/dependencies-composite.json +0 -5
  79. package/scripts/csdr/cli/skeletons/app-eui10/gitignore_TO_REPLACE +0 -63
  80. package/scripts/csdr/cli/skeletons/app-eui10/mock/app/models/user.js +0 -8
  81. package/scripts/csdr/cli/skeletons/app-eui10/mock/app/routes/index.js +0 -5
  82. package/scripts/csdr/cli/skeletons/app-eui10/mock/app/routes/user_routes.js +0 -24
  83. package/scripts/csdr/cli/skeletons/app-eui10/mock/db/db.json +0 -12
  84. package/scripts/csdr/cli/skeletons/app-eui10/mock/server.js +0 -16
  85. package/scripts/csdr/cli/skeletons/app-eui10/package.json +0 -6
  86. package/scripts/csdr/cli/skeletons/app-eui10/scripts.json +0 -5
  87. package/scripts/csdr/cli/skeletons/app-eui10/src/app/app-routing.module.ts +0 -18
  88. package/scripts/csdr/cli/skeletons/app-eui10/src/app/app-starter.service.ts +0 -68
  89. package/scripts/csdr/cli/skeletons/app-eui10/src/app/app.component.html +0 -29
  90. package/scripts/csdr/cli/skeletons/app-eui10/src/app/app.component.ts +0 -55
  91. package/scripts/csdr/cli/skeletons/app-eui10/src/app/app.module.ts +0 -27
  92. package/scripts/csdr/cli/skeletons/app-eui10/src/app/core/components/.gitkeep +0 -0
  93. package/scripts/csdr/cli/skeletons/app-eui10/src/app/core/core.module.ts +0 -84
  94. package/scripts/csdr/cli/skeletons/app-eui10/src/app/core/reducers/index.ts +0 -33
  95. package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/home/home-routing.module.ts +0 -15
  96. package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/home/home.component.html +0 -7
  97. package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/home/home.component.ts +0 -19
  98. package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/home/home.module.ts +0 -18
  99. package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/components/page1/page1.component.html +0 -7
  100. package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/components/page1/page1.component.ts +0 -7
  101. package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/components/page2/page2.component.html +0 -7
  102. package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/components/page2/page2.component.ts +0 -7
  103. package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/module1-routing.module.ts +0 -18
  104. package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/module1.component.html +0 -7
  105. package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/module1.component.ts +0 -8
  106. package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/module1.module.ts +0 -21
  107. package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module2/module2-routing.module.ts +0 -16
  108. package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module2/module2.component.html +0 -8
  109. package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module2/module2.component.ts +0 -7
  110. package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module2/module2.module.ts +0 -17
  111. package/scripts/csdr/cli/skeletons/app-eui10/src/app/shared/shared.module.ts +0 -21
  112. package/scripts/csdr/cli/skeletons/app-eui10/src/app/shared/testing/router.mock.ts +0 -18
  113. package/scripts/csdr/cli/skeletons/app-eui10/src/assets/config/env-json-config.json +0 -8
  114. package/scripts/csdr/cli/skeletons/app-eui10/src/assets/i18n/en.json +0 -7
  115. package/scripts/csdr/cli/skeletons/app-eui10/src/assets/i18n/fr.json +0 -7
  116. package/scripts/csdr/cli/skeletons/app-eui10/src/config/global.ts +0 -26
  117. package/scripts/csdr/cli/skeletons/app-eui10/src/config/index.ts +0 -8
  118. package/scripts/csdr/cli/skeletons/app-eui10/src/config/modules.ts +0 -4
  119. package/scripts/csdr/cli/skeletons/app-eui10/src/environments/environment.prod.ts +0 -9
  120. package/scripts/csdr/cli/skeletons/app-eui10/src/environments/environment.ts +0 -9
  121. package/scripts/csdr/cli/skeletons/app-eui10/src/index.html +0 -21
  122. package/scripts/csdr/cli/skeletons/app-eui10/src/styles.scss +0 -1
  123. package/scripts/csdr/cli/skeletons/app-eui10/tslint.json +0 -17
  124. package/scripts/csdr/cli/skeletons/app-showcase/angular-config.json +0 -103
  125. package/scripts/csdr/cli/skeletons/app-showcase/dependencies-composite.json +0 -5
  126. package/scripts/csdr/cli/skeletons/app-showcase/gitignore_TO_REPLACE +0 -50
  127. package/scripts/csdr/cli/skeletons/app-showcase/package.json +0 -6
  128. package/scripts/csdr/cli/skeletons/app-showcase/scripts.json +0 -3
  129. package/scripts/csdr/cli/skeletons/app-showcase/src/app/app-routing.module.ts +0 -21
  130. package/scripts/csdr/cli/skeletons/app-showcase/src/app/app.component.html +0 -24
  131. package/scripts/csdr/cli/skeletons/app-showcase/src/app/app.component.ts +0 -19
  132. package/scripts/csdr/cli/skeletons/app-showcase/src/app/app.routes.ts +0 -7
  133. package/scripts/csdr/cli/skeletons/app-showcase/src/app/features/_home/home-routing.module.ts +0 -15
  134. package/scripts/csdr/cli/skeletons/app-showcase/src/app/features/_home/home.component.html +0 -7
  135. package/scripts/csdr/cli/skeletons/app-showcase/src/app/features/_home/home.component.ts +0 -8
  136. package/scripts/csdr/cli/skeletons/app-showcase/src/app/features/_home/home.module.ts +0 -17
  137. package/scripts/csdr/cli/skeletons/app-showcase/src/assets/app-metadata.json +0 -8
  138. package/scripts/csdr/cli/skeletons/app-showcase/src/assets/config/env-json-config.json +0 -41
  139. package/scripts/csdr/cli/skeletons/app-showcase-eui13/angular-config.json +0 -33
  140. package/scripts/csdr/cli/skeletons/app-showcase-eui13/dependencies-composite.json +0 -5
  141. package/scripts/csdr/cli/skeletons/app-showcase-eui13/gitignore_TO_REPLACE +0 -50
  142. package/scripts/csdr/cli/skeletons/app-showcase-eui13/package.json +0 -6
  143. package/scripts/csdr/cli/skeletons/app-showcase-eui13/scripts.json +0 -3
  144. package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/app-routing.module.ts +0 -21
  145. package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/app.component.html +0 -26
  146. package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/app.component.ts +0 -19
  147. package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/app.routes.ts +0 -7
  148. package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/features/_home/home-routing.module.ts +0 -15
  149. package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/features/_home/home.component.html +0 -7
  150. package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/features/_home/home.component.ts +0 -8
  151. package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/features/_home/home.module.ts +0 -17
  152. package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/features/shared/shared.module.ts +0 -15
  153. package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/assets/app-metadata.json +0 -8
  154. package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/assets/config/env-json-config.json +0 -41
  155. package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/index.html +0 -22
  156. package/scripts/csdr/cli/skeletons/package/frontend-eui10/assets/remote-sources/.gitkeep +0 -0
  157. package/scripts/csdr/cli/skeletons/package/frontend-eui10/dependencies-base.json +0 -2
  158. package/scripts/csdr/cli/skeletons/package/frontend-eui10/dependencies-composite.json +0 -3
  159. package/scripts/csdr/cli/skeletons/package/frontend-eui10/src/dummy.spec.ts.TO_REPLACE +0 -5
  160. package/scripts/csdr/cli/skeletons/package/frontend-eui10/tsconfig.lib.json +0 -32
  161. package/scripts/csdr/cli/skeletons/package/frontend-eui10/tslint.json +0 -17
  162. package/scripts/csdr/cli/skeletons/package/frontend-eui13/dependencies-composite.json +0 -3
  163. package/scripts/csdr/cli/skeletons/package/frontend-option-route/src/index.ts +0 -2
  164. package/scripts/csdr/cli/skeletons/package/frontend-option-route/src/lib/components/cmp1/cmp1.component.html +0 -1
  165. package/scripts/csdr/cli/skeletons/package/frontend-option-route/src/lib/components/cmp1/cmp1.component.spec.ts.TO_REPLACE +0 -25
  166. package/scripts/csdr/cli/skeletons/package/frontend-option-route/src/lib/components/cmp1/cmp1.component.ts +0 -14
  167. package/scripts/csdr/cli/skeletons/package/frontend-option-route/src/lib/module.ts +0 -17
  168. package/scripts/csdr/cli/skeletons/package/frontend-option-route/src/lib/routing.module.ts +0 -14
  169. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/angular.json +0 -90
  170. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/browserslist +0 -6
  171. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/dependencies-base.json +0 -2
  172. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/dependencies-composite-ACC.json +0 -4
  173. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/dependencies-composite-DLT.json +0 -4
  174. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/dependencies-composite-INT.json +0 -4
  175. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/dependencies-composite-PROD.json +0 -4
  176. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/dependencies-composite-TRN.json +0 -4
  177. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/dependencies-composite.json +0 -8
  178. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/gitignore_TO_REPLACE +0 -65
  179. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/karma.conf.js +0 -7
  180. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/package.json_TO_REPLACE +0 -8
  181. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/dummy.scss +0 -3
  182. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/dummy.spec.ts +0 -6
  183. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/eui-components.ts +0 -11
  184. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/fallback.component.ts +0 -11
  185. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/module.component.ts +0 -91
  186. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/module.ts +0 -87
  187. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/reducers/custom-route-serializer.ts +0 -28
  188. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/reducers/index.ts +0 -43
  189. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/routing.module.ts +0 -33
  190. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/assets/.gitkeep +0 -0
  191. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/config/global.ts +0 -42
  192. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/config/index.ts +0 -10
  193. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/config/modules.ts +0 -3
  194. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/environments/environment.prod.ts +0 -3
  195. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/environments/environment.ts +0 -3
  196. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/favicon.ico +0 -0
  197. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/index.html +0 -10
  198. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/main.ts +0 -12
  199. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/polyfills.ts +0 -87
  200. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/tsconfig.app.json +0 -20
  201. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/tsconfig.spec.json +0 -18
  202. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/tslint-remote.json +0 -7
  203. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/tslint.json +0 -17
  204. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/webpack.extra.js +0 -10
  205. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/app/dummy.scss +0 -3
  206. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/app/dummy.spec.ts +0 -6
  207. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/app/eui-components.ts +0 -9
  208. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/app/fallback.component.ts +0 -11
  209. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/app/module.component.ts +0 -91
  210. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/app/module.ts +0 -87
  211. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/app/reducers/custom-route-serializer.ts +0 -28
  212. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/app/reducers/index.ts +0 -43
  213. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/app/routing.module.ts +0 -33
  214. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/assets/.gitkeep +0 -0
  215. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/config/global.ts +0 -55
  216. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/config/index.ts +0 -10
  217. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/config/modules.ts +0 -3
  218. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/environments/environment.prod.ts +0 -3
  219. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/environments/environment.ts +0 -3
  220. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/favicon.ico +0 -0
  221. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/index.html +0 -10
  222. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/main.ts +0 -12
  223. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/polyfills.ts +0 -87
  224. package/scripts/csdr/cli/skeletons/virtual-remote/10.x/angular-config.json +0 -9
  225. package/scripts/csdr/cli/skeletons/virtual-remote/10.x/dependencies.json +0 -20
  226. /package/scripts/csdr/cli/skeletons/package/{frontend-eui10 → frontend-eui15}/assets/i18n/en.json +0 -0
  227. /package/scripts/csdr/cli/skeletons/package/{frontend-eui10 → frontend-eui15}/assets/i18n/fr.json +0 -0
  228. /package/scripts/csdr/cli/skeletons/{app-eui10 → package/frontend-eui15}/dependencies-base.json +0 -0
  229. /package/scripts/csdr/cli/skeletons/package/{frontend-eui10 → frontend-eui15}/gitignore_TO_REPLACE +0 -0
  230. /package/scripts/csdr/cli/skeletons/package/{frontend-eui10 → frontend-eui15}/karma.conf.js +0 -0
  231. /package/scripts/csdr/cli/skeletons/package/{frontend-eui10 → frontend-eui15}/ng-package.json +0 -0
  232. /package/scripts/csdr/cli/skeletons/package/{frontend-eui10 → frontend-eui15}/package.json +0 -0
  233. /package/scripts/csdr/cli/skeletons/{app/src/app/core → package/frontend-eui15/src}/dummy.spec.ts.TO_REPLACE +0 -0
  234. /package/scripts/csdr/cli/skeletons/package/{frontend-eui10 → frontend-eui15}/src/index.ts +0 -0
  235. /package/scripts/csdr/cli/skeletons/package/{frontend-eui10 → frontend-eui15}/src/lib/module.ts +0 -0
  236. /package/scripts/csdr/cli/skeletons/package/{frontend-eui10 → frontend-eui15}/src/test.ts.TO_REPLACE +0 -0
  237. /package/scripts/csdr/cli/skeletons/package/{frontend-eui10 → frontend-eui15}/tsconfig.spec.json +0 -0
@@ -1,18 +0,0 @@
1
- import { NavigationEnd } from '@angular/router';
2
- import { Observable } from 'rxjs/Observable';
3
-
4
- export class RouterMock {
5
- routerState = { root: '' };
6
- public navigationEnd = new NavigationEnd(0, 'http://url1', 'http://url2');
7
- public events = new Observable(observer => {
8
- observer.next(this.navigationEnd);
9
- observer.complete();
10
- });
11
-
12
- constructor() {}
13
-
14
- createUrlTree() {}
15
-
16
- serializeUrl() {}
17
-
18
- }
@@ -1,8 +0,0 @@
1
- {
2
- "modules": {
3
- "core": {
4
- "base": "/api",
5
- "userDetails": "/user-details"
6
- }
7
- }
8
- }
@@ -1,7 +0,0 @@
1
- {
2
- "page.home.title": "Welcome to eUI!",
3
- "app.search.button": "Search",
4
- "eui.my-profile-informations": "My profile information",
5
- "eui.you-are-logged-in-as": "You are logged in as",
6
- "eui.sign-out": "Sign out"
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "page.home.title": "Bienvenue dans eUI!",
3
- "app.search.button": "Chercher",
4
- "eui.my-profile-informations": "My profile information FR",
5
- "eui.you-are-logged-in-as": "You are logged in as FR",
6
- "eui.sign-out": "Sign out FR"
7
- }
@@ -1,26 +0,0 @@
1
- import { GlobalConfig } from '@eui/core';
2
-
3
- export const GLOBAL: GlobalConfig = {
4
- appTitle: 'CSDR-app',
5
- i18n: {
6
- i18nService: {
7
- defaultLanguage: 'en',
8
- languages: ['en', 'fr'],
9
- },
10
- i18nLoader: {
11
- i18nFolders: ['i18n-eui', 'i18n'],
12
- },
13
- },
14
- locale: {
15
- id: 'en',
16
- available: ['en', 'fr'],
17
- bindWithTranslate: true,
18
- affectGlobalLocale: true,
19
- },
20
- user: {
21
- defaultUserPreferences: {
22
- dashboard: { },
23
- lang: 'en',
24
- },
25
- },
26
- };
@@ -1,8 +0,0 @@
1
- import { EuiAppConfig } from '@eui/core';
2
- import { GLOBAL } from './global';
3
- import { MODULES } from './modules';
4
-
5
- export const appConfig: EuiAppConfig = {
6
- global: GLOBAL,
7
- modules: MODULES,
8
- };
@@ -1,4 +0,0 @@
1
- import { ModulesConfig } from '@eui/core';
2
-
3
- export const MODULES: ModulesConfig = {
4
- };
@@ -1,9 +0,0 @@
1
- import { EuiEnvConfig } from '@eui/core';
2
-
3
- export const environment: EuiEnvConfig = {
4
- production: true,
5
- enableDevToolRedux: false,
6
- envDynamicConfig: {
7
- uri: 'assets/config/env-json-config.json',
8
- },
9
- };
@@ -1,9 +0,0 @@
1
- import { EuiEnvConfig } from '@eui/core';
2
-
3
- export const environment: EuiEnvConfig = {
4
- production: false,
5
- enableDevToolRedux: true,
6
- envDynamicConfig: {
7
- uri: 'assets/config/env-json-config.json',
8
- },
9
- };
@@ -1,21 +0,0 @@
1
- <!doctype html>
2
- <html>
3
-
4
- <head>
5
- <meta charset="utf-8">
6
- <title>@app.name@</title>
7
- <base href="/">
8
-
9
- <meta name="viewport" content="width=device-width, initial-scale=1">
10
- <link rel="icon" type="image/x-icon" href="favicon.ico">
11
- </head>
12
-
13
- <body>
14
- <app-root>
15
- <div id="loader-wrapper">
16
- <div id="loader"></div>
17
- </div>
18
- </app-root>
19
- </body>
20
-
21
- </html>
@@ -1 +0,0 @@
1
- /* You can add global styles to this file, and also import other style files */
@@ -1,17 +0,0 @@
1
- {
2
- "extends": "../../tslint.json",
3
- "rules": {
4
- "directive-selector": [
5
- true,
6
- "attribute",
7
- "app",
8
- "camelCase"
9
- ],
10
- "component-selector": [
11
- true,
12
- "element",
13
- "app",
14
- "kebab-case"
15
- ]
16
- }
17
- }
@@ -1,103 +0,0 @@
1
- {
2
- "config": {
3
- "root": "",
4
- "sourceRoot": "apps/@app.name@/src",
5
- "projectType": "application",
6
- "prefix": "app",
7
- "schematics": {
8
- "@schematics/angular:component": {
9
- "styleext": "scss"
10
- }
11
- },
12
- "architect": {
13
- "build": {
14
- "builder": "ngx-build-plus:build",
15
- "options": {
16
- "outputPath": "apps/@app.name@/dist",
17
- "index": "apps/@app.name@/src/_generated/index.html",
18
- "main": "apps/@app.name@/src/_generated/main.ts",
19
- "polyfills": "apps/@app.name@/src/_generated/polyfills.ts",
20
- "tsConfig": "apps/@app.name@/tsconfig.app.json",
21
- "assets": [
22
- "apps/@app.name@/src/_generated/favicon.ico",
23
- "apps/@app.name@/src/assets",
24
- {
25
- "glob": "**/*",
26
- "input": "node_modules/@eui/core/assets/",
27
- "output": "./assets"
28
- }
29
- ],
30
- "styles": [
31
- "node_modules/@eui/styles/dist/styles/eui.css",
32
- "node_modules/@eui/styles/dist/styles/eui-next.css"
33
- ]
34
- },
35
- "configurations": {
36
- "production": {
37
- "fileReplacements": [
38
- {
39
- "replace": "apps/@app.name@/src/_generated/environments/environment.ts",
40
- "with": "apps/@app.name@/src/_generated/environments/environment.prod.ts"
41
- }
42
- ],
43
- "optimization": false,
44
- "outputHashing": "all",
45
- "sourceMap": false,
46
- "extractCss": true,
47
- "namedChunks": true,
48
- "aot": true,
49
- "extractLicenses": true,
50
- "vendorChunk": false,
51
- "buildOptimizer": false,
52
- "budgets": [
53
- {
54
- "type": "initial",
55
- "maximumWarning": "2mb",
56
- "maximumError": "6mb"
57
- }
58
- ]
59
- },
60
- "production-optimized": {
61
- "fileReplacements": [
62
- {
63
- "replace": "apps/@app.name@/src/_generated/environments/environment.ts",
64
- "with": "apps/@app.name@/src/_generated/environments/environment.prod.ts"
65
- }
66
- ],
67
- "optimization": true,
68
- "outputHashing": "all",
69
- "sourceMap": false,
70
- "extractCss": true,
71
- "namedChunks": true,
72
- "aot": true,
73
- "extractLicenses": true,
74
- "vendorChunk": false,
75
- "buildOptimizer": true,
76
- "budgets": [
77
- {
78
- "type": "initial",
79
- "maximumWarning": "2mb",
80
- "maximumError": "6mb"
81
- }
82
- ]
83
- }
84
- }
85
- },
86
- "serve": {
87
- "builder": "@angular-devkit/build-angular:dev-server",
88
- "options": {
89
- "browserTarget": "@app.name@:build"
90
- },
91
- "configurations": {
92
- "proxy-mock": {
93
- "browserTarget": "@app.name@:build",
94
- "proxyConfig": "apps/@app.name@/proxy-mock.conf.json"
95
- },
96
- "production": {
97
- "browserTarget": "@app.name@:build:production"
98
- }
99
- }
100
- }
101
- }
102
- }
103
- }
@@ -1,5 +0,0 @@
1
- {
2
- "dependencies": {
3
- "@eui/deps-base": "^10.0.0"
4
- }
5
- }
@@ -1,50 +0,0 @@
1
- # See http://help.github.com/ignore-files/ for more about ignoring files.
2
-
3
- # compiled output
4
- **/node_modules
5
- **/target
6
- **/build
7
- **/dist
8
- **/out-tsc
9
- **/tmp
10
- **/tests/reports
11
- # /src/assets/i18n-compiled/*
12
- # /src/assets/openid-login-config*
13
-
14
- # IDEs and editors
15
- /.idea
16
- .project
17
- .classpath
18
- .c9/
19
- *.launch
20
- .settings/
21
- *.sublime-workspace
22
-
23
- # IDE - VSCode
24
- .vscode/*
25
- !.vscode/settings.json
26
- !.vscode/tasks.json
27
- !.vscode/launch.json
28
- !.vscode/extensions.json
29
-
30
- # misc
31
- /.sass-cache
32
- /connect.lock
33
- /coverage
34
- /libpeerconnection.log
35
- npm-debug.log
36
- testem.log
37
- /typings
38
- yarn-error.log
39
-
40
- # e2e
41
- /e2e/*.js
42
- /e2e/*.map
43
-
44
- # System Files
45
- .DS_Store
46
- Thumbs.db
47
-
48
- /*.iml
49
-
50
- /src/_generated
@@ -1,6 +0,0 @@
1
- {
2
- "name": "@app.name@",
3
- "version": "1.0.0",
4
- "license": "EUPL-1.1",
5
- "private": true
6
- }
@@ -1,3 +0,0 @@
1
- {
2
- "@app.name@:start": "eui-scripts serve-app @app.name@"
3
- }
@@ -1,21 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { RouterModule, ExtraOptions } from '@angular/router';
3
-
4
- import { routes } from './app.routes';
5
-
6
- const routerOptions: ExtraOptions = {
7
- anchorScrolling: 'enabled',
8
- scrollPositionRestoration: 'enabled',
9
- scrollOffset: [0, 65],
10
- };
11
-
12
- @NgModule({
13
- imports: [
14
- RouterModule.forRoot(routes, routerOptions),
15
- ],
16
- exports: [
17
- RouterModule,
18
- ],
19
- })
20
- export class AppRoutingModule {
21
- }
@@ -1,24 +0,0 @@
1
- <eui-app [isSidebarOpen]="true" isSidebarHidden="false">
2
- <eui-toolbar>
3
- <eui-toolbar-logo></eui-toolbar-logo>
4
- <eui-toolbar-app appName="eUI"></eui-toolbar-app>
5
- <eui-toolbar-items euiPositionRight>
6
- <eui-toolbar-item-user-profile>
7
- <eui-user-profile-menu>
8
- <eui-user-profile-menu-item>
9
- <eui-icon iconClass="eui-icon-person-thin"></eui-icon> My profile information
10
- </eui-user-profile-menu-item>
11
- <eui-user-profile-menu-item>
12
- <eui-icon iconClass="eui-icon-logout-thin"></eui-icon> Sign out
13
- </eui-user-profile-menu-item>
14
- </eui-user-profile-menu>
15
- </eui-toolbar-item-user-profile>
16
- </eui-toolbar-items>
17
- </eui-toolbar>
18
-
19
- <eui-app-sidebar>
20
- <eui-app-sidebar-body>
21
- <eui-app-sidebar-menu [items]="sidebarItems" [hasIcons]="true" [hasTooltip]="false"></eui-app-sidebar-menu>
22
- </eui-app-sidebar-body>
23
- </eui-app-sidebar>
24
- </eui-app>
@@ -1,19 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import { I18nService } from '@eui/core';
3
-
4
- @Component({
5
- /* tslint:disable-next-line */
6
- selector: 'app-root',
7
- templateUrl: './app.component.html',
8
- })
9
- export class AppComponent {
10
- sidebarItems = [
11
- { label: 'Home', url: '/home', iconClass: 'eui-icon-home' },
12
- ];
13
-
14
- constructor(
15
- protected i18nService: I18nService,
16
- ) {
17
- this.i18nService.init();
18
- }
19
- }
@@ -1,7 +0,0 @@
1
- import { Routes } from '@angular/router';
2
-
3
- export const routes: Routes = [
4
- { path: '', redirectTo: 'home', pathMatch: 'full' },
5
- { path: 'index.html', redirectTo: 'home', pathMatch: 'full' },
6
- { path: 'home', loadChildren: './features/_home/home.module#Module' },
7
- ];
@@ -1,15 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { RouterModule, Routes } from '@angular/router';
3
-
4
- import { HomeComponent } from './home.component';
5
-
6
- const routes: Routes = [
7
- { path: '', component: HomeComponent },
8
- ];
9
-
10
- @NgModule({
11
- imports: [
12
- RouterModule.forChild(routes),
13
- ],
14
- })
15
- export class HomeRoutingModule {}
@@ -1,7 +0,0 @@
1
- <eui-page>
2
- <eui-page-header label="Home"></eui-page-header>
3
-
4
- <eui-page-content>
5
- Page content
6
- </eui-page-content>
7
- </eui-page>
@@ -1,8 +0,0 @@
1
- import { Component } from '@angular/core';
2
-
3
- @Component({
4
- templateUrl: './home.component.html',
5
- })
6
- export class HomeComponent {
7
-
8
- }
@@ -1,17 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
-
3
- import { EuiPageModule } from '@eui/components-next';
4
-
5
- import { HomeRoutingModule } from './home-routing.module';
6
- import { HomeComponent } from './home.component';
7
-
8
- @NgModule({
9
- imports: [
10
- HomeRoutingModule,
11
- EuiPageModule,
12
- ],
13
- declarations: [
14
- HomeComponent,
15
- ],
16
- })
17
- export class Module {}
@@ -1,8 +0,0 @@
1
- {
2
- "appVersion": "10.3.2-snapshot-1617092098271",
3
- "appReleaseDate": "30/03/2021 08:25",
4
- "appInfos": "10.3.2-snapshot-1617092098271 - 30/03/2021 08:25",
5
- "metadata": {
6
- "@eui/deps-base": "10.3.2-snapshot-1617092098271"
7
- }
8
- }
@@ -1,41 +0,0 @@
1
- {
2
- "global": {
3
- "appTitle": "CSDR-app",
4
- "i18n": {
5
- "i18nService": {
6
- "defaultLanguage": "en",
7
- "languages": [
8
- "en",
9
- "fr",
10
- "es"
11
- ]
12
- },
13
- "i18nLoader": {
14
- "i18nFolders": [
15
- "i18n-eui",
16
- "i18n-ecl",
17
- "i18n"
18
- ]
19
- }
20
- }
21
- },
22
- "versions": {},
23
- "modules": {
24
- "core": {
25
- "api": {
26
- "base": "assets/",
27
- "user": {
28
- "base": "config/",
29
- "details": "user-details.json",
30
- "preferences": "user-preferences.json",
31
- "rights": "user-rights.json"
32
- }
33
- }
34
- },
35
- "users": {
36
- "api": {
37
- "base": "https://jsonplaceholder.typicode.com/users"
38
- }
39
- }
40
- }
41
- }
@@ -1,33 +0,0 @@
1
- {
2
- "build": {
3
- "assets": [
4
- "apps/@app.name@/src/_generated/favicon.ico",
5
- "apps/@app.name@/src/assets",
6
- {
7
- "glob": "**/*",
8
- "input": "node_modules/@eui/core/assets/",
9
- "output": "./assets"
10
- },
11
- {
12
- "glob": "**/*",
13
- "input": "node_modules/@eui/styles-base/src/assets/",
14
- "output": "./assets"
15
- }
16
- ],
17
- "styles": [
18
- "node_modules/prismjs/plugins/line-numbers/prism-line-numbers.css",
19
- "packages/eui/packages/styles/src/styles/eui-showcase-dev-only.scss",
20
- "packages/eui/packages/styles/src/styles/eui-next-dev-only.scss"
21
- ],
22
- "stylesBuild": [
23
- "node_modules/prismjs/plugins/line-numbers/prism-line-numbers.css",
24
- "node_modules/@eui/styles/dist/styles/eui-showcase.css",
25
- "node_modules/@eui/styles/dist/styles/eui-next.css"
26
- ],
27
- "scripts": [
28
- "node_modules/prismjs/plugins/line-numbers/prism-line-numbers.js",
29
- "node_modules/marked/lib/marked.js",
30
- "node_modules/prismjs/prism.js"
31
- ]
32
- }
33
- }
@@ -1,5 +0,0 @@
1
- {
2
- "dependencies": {
3
- "@eui/deps-base": "^13.0.0"
4
- }
5
- }
@@ -1,50 +0,0 @@
1
- # See http://help.github.com/ignore-files/ for more about ignoring files.
2
-
3
- # compiled output
4
- **/node_modules
5
- **/target
6
- **/build
7
- **/dist
8
- **/out-tsc
9
- **/tmp
10
- **/tests/reports
11
- # /src/assets/i18n-compiled/*
12
- # /src/assets/openid-login-config*
13
-
14
- # IDEs and editors
15
- /.idea
16
- .project
17
- .classpath
18
- .c9/
19
- *.launch
20
- .settings/
21
- *.sublime-workspace
22
-
23
- # IDE - VSCode
24
- .vscode/*
25
- !.vscode/settings.json
26
- !.vscode/tasks.json
27
- !.vscode/launch.json
28
- !.vscode/extensions.json
29
-
30
- # misc
31
- /.sass-cache
32
- /connect.lock
33
- /coverage
34
- /libpeerconnection.log
35
- npm-debug.log
36
- testem.log
37
- /typings
38
- yarn-error.log
39
-
40
- # e2e
41
- /e2e/*.js
42
- /e2e/*.map
43
-
44
- # System Files
45
- .DS_Store
46
- Thumbs.db
47
-
48
- /*.iml
49
-
50
- /src/_generated
@@ -1,6 +0,0 @@
1
- {
2
- "name": "@app.name@",
3
- "version": "1.0.0",
4
- "license": "EUPL-1.1",
5
- "private": true
6
- }
@@ -1,3 +0,0 @@
1
- {
2
- "@app.name@:start": "eui-scripts serve-app @app.name@"
3
- }
@@ -1,21 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { RouterModule, ExtraOptions } from '@angular/router';
3
-
4
- import { routes } from './app.routes';
5
-
6
- const routerOptions: ExtraOptions = {
7
- anchorScrolling: 'enabled',
8
- scrollPositionRestoration: 'enabled',
9
- scrollOffset: [0, 65],
10
- };
11
-
12
- @NgModule({
13
- imports: [
14
- RouterModule.forRoot(routes, routerOptions),
15
- ],
16
- exports: [
17
- RouterModule,
18
- ],
19
- })
20
- export class AppRoutingModule {
21
- }