@eui/tools 6.21.83 → 6.21.85

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 (291) hide show
  1. package/.version.properties +1 -1
  2. package/CHANGELOG.md +19 -0
  3. package/package.json +1 -1
  4. package/scripts/csdr/cli/package.js +3 -19
  5. package/scripts/csdr/cli/skeletons/package/frontend/19.x/default/.eslintrc.json +1 -1
  6. package/scripts/csdr/cli/skeletons/package/frontend/19.x/default/src/test.ts.TO_REPLACE +1 -0
  7. package/scripts/csdr/cli/skeletons/package/frontend/19.x/participant-default/.eslintrc.json +1 -1
  8. package/scripts/csdr/cli/skeletons/package/frontend/19.x/participant-ngrx/.eslintrc.json +1 -1
  9. package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/.eslintrc.json +0 -43
  10. package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/assets/i18n/en.json +0 -6
  11. package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/assets/i18n/fr.json +0 -6
  12. package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/dependencies-base.json +0 -2
  13. package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/dependencies-composite.json +0 -4
  14. package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/gitignore_TO_REPLACE +0 -46
  15. package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/karma.conf.js +0 -7
  16. package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/ng-package.json +0 -7
  17. package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/package.json +0 -4
  18. package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/src/dummy.spec.ts.TO_REPLACE +0 -5
  19. package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/src/index.ts +0 -2
  20. package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/src/lib/components/main.component.html +0 -42
  21. package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/src/lib/components/main.component.ts +0 -8
  22. package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/src/lib/constants.ts +0 -1
  23. package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/src/lib/containers/container.component.ts +0 -28
  24. package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/src/lib/module.ts +0 -80
  25. package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/src/lib/routing-module.ts +0 -23
  26. package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/src/test.ts.TO_REPLACE +0 -21
  27. package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/tsconfig.lib.json +0 -32
  28. package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/tsconfig.spec.json +0 -17
  29. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-default/.eslintrc.json +0 -43
  30. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-default/assets/i18n/en.json +0 -6
  31. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-default/assets/i18n/fr.json +0 -6
  32. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-default/dependencies-base.json +0 -2
  33. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-default/dependencies-composite.json +0 -4
  34. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-default/gitignore_TO_REPLACE +0 -46
  35. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-default/karma.conf.js +0 -7
  36. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-default/ng-package.json +0 -7
  37. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-default/package.json +0 -4
  38. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-default/src/dummy.spec.ts.TO_REPLACE +0 -5
  39. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-default/src/index.ts +0 -2
  40. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-default/src/lib/components/participant/participant.component.html +0 -1
  41. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-default/src/lib/components/participant/participant.component.ts +0 -19
  42. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-default/src/lib/module.ts +0 -24
  43. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-default/src/test.ts.TO_REPLACE +0 -21
  44. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-default/tsconfig.lib.json +0 -32
  45. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-default/tsconfig.spec.json +0 -17
  46. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/.eslintrc.json +0 -79
  47. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/assets/i18n/en.json +0 -6
  48. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/assets/i18n/fr.json +0 -6
  49. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/dependencies-base.json +0 -2
  50. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/dependencies-composite.json +0 -3
  51. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/gitignore_TO_REPLACE +0 -46
  52. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/karma.conf.js +0 -7
  53. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/ng-package.json +0 -7
  54. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/package.json +0 -4
  55. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/dummy.spec.ts.TO_REPLACE +0 -5
  56. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/index.ts +0 -4
  57. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/blocks/sample/components/sample.component.html +0 -1
  58. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/blocks/sample/components/sample.component.ts +0 -14
  59. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/blocks/sample/containers/container.component.ts +0 -36
  60. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/blocks/sample/models/block.model.ts +0 -5
  61. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/blocks/sample/models/index.ts +0 -1
  62. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/blocks/sample/module.ts +0 -37
  63. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/main/components/sample.component.html +0 -1
  64. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/main/components/sample.component.ts +0 -14
  65. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/main/constants.ts +0 -1
  66. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/main/containers/block-store.service.ts +0 -33
  67. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/main/containers/container.component.ts +0 -44
  68. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/main/containers/generic-block-resolver.service.ts +0 -32
  69. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/main/models/block-type.model.ts +0 -6
  70. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/main/models/block.model.ts +0 -10
  71. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/main/models/index.ts +0 -2
  72. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/main/module.ts +0 -60
  73. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/main/store/actions/block.actions.ts +0 -26
  74. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/main/store/reducers/block.reducer.ts +0 -48
  75. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/main/store/reducers/index.ts +0 -22
  76. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/main/store/selectors/block.selectors.ts +0 -29
  77. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/lib/module.ts +0 -17
  78. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/src/test.ts.TO_REPLACE +0 -21
  79. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/tsconfig.lib.json +0 -32
  80. package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant-ngrx/tsconfig.spec.json +0 -17
  81. package/scripts/csdr/cli/skeletons/package/frontend/16.x/default/.eslintrc.json +0 -43
  82. package/scripts/csdr/cli/skeletons/package/frontend/16.x/default/assets/i18n/en.json +0 -6
  83. package/scripts/csdr/cli/skeletons/package/frontend/16.x/default/assets/i18n/fr.json +0 -6
  84. package/scripts/csdr/cli/skeletons/package/frontend/16.x/default/dependencies-base.json +0 -2
  85. package/scripts/csdr/cli/skeletons/package/frontend/16.x/default/dependencies-composite.json +0 -4
  86. package/scripts/csdr/cli/skeletons/package/frontend/16.x/default/gitignore_TO_REPLACE +0 -46
  87. package/scripts/csdr/cli/skeletons/package/frontend/16.x/default/karma.conf.js +0 -7
  88. package/scripts/csdr/cli/skeletons/package/frontend/16.x/default/ng-package.json +0 -7
  89. package/scripts/csdr/cli/skeletons/package/frontend/16.x/default/package.json +0 -4
  90. package/scripts/csdr/cli/skeletons/package/frontend/16.x/default/src/dummy.spec.ts.TO_REPLACE +0 -5
  91. package/scripts/csdr/cli/skeletons/package/frontend/16.x/default/src/index.ts +0 -2
  92. package/scripts/csdr/cli/skeletons/package/frontend/16.x/default/src/lib/components/main.component.html +0 -42
  93. package/scripts/csdr/cli/skeletons/package/frontend/16.x/default/src/lib/components/main.component.ts +0 -8
  94. package/scripts/csdr/cli/skeletons/package/frontend/16.x/default/src/lib/constants.ts +0 -1
  95. package/scripts/csdr/cli/skeletons/package/frontend/16.x/default/src/lib/containers/container.component.ts +0 -28
  96. package/scripts/csdr/cli/skeletons/package/frontend/16.x/default/src/lib/module.ts +0 -80
  97. package/scripts/csdr/cli/skeletons/package/frontend/16.x/default/src/lib/routing-module.ts +0 -23
  98. package/scripts/csdr/cli/skeletons/package/frontend/16.x/default/src/test.ts.TO_REPLACE +0 -21
  99. package/scripts/csdr/cli/skeletons/package/frontend/16.x/default/tsconfig.lib.json +0 -33
  100. package/scripts/csdr/cli/skeletons/package/frontend/16.x/default/tsconfig.spec.json +0 -17
  101. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-default/.eslintrc.json +0 -43
  102. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-default/assets/i18n/en.json +0 -6
  103. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-default/assets/i18n/fr.json +0 -6
  104. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-default/dependencies-base.json +0 -2
  105. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-default/dependencies-composite.json +0 -4
  106. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-default/gitignore_TO_REPLACE +0 -46
  107. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-default/karma.conf.js +0 -7
  108. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-default/ng-package.json +0 -7
  109. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-default/package.json +0 -4
  110. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-default/src/dummy.spec.ts.TO_REPLACE +0 -5
  111. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-default/src/index.ts +0 -2
  112. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-default/src/lib/components/participant/participant.component.html +0 -1
  113. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-default/src/lib/components/participant/participant.component.ts +0 -19
  114. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-default/src/lib/module.ts +0 -24
  115. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-default/src/test.ts.TO_REPLACE +0 -21
  116. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-default/tsconfig.lib.json +0 -33
  117. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-default/tsconfig.spec.json +0 -17
  118. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/.eslintrc.json +0 -79
  119. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/assets/i18n/en.json +0 -6
  120. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/assets/i18n/fr.json +0 -6
  121. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/dependencies-base.json +0 -2
  122. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/dependencies-composite.json +0 -3
  123. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/gitignore_TO_REPLACE +0 -46
  124. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/karma.conf.js +0 -7
  125. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/ng-package.json +0 -7
  126. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/package.json +0 -4
  127. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/dummy.spec.ts.TO_REPLACE +0 -5
  128. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/index.ts +0 -4
  129. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/blocks/sample/components/sample.component.html +0 -1
  130. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/blocks/sample/components/sample.component.ts +0 -14
  131. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/blocks/sample/containers/container.component.ts +0 -36
  132. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/blocks/sample/models/block.model.ts +0 -5
  133. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/blocks/sample/models/index.ts +0 -1
  134. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/blocks/sample/module.ts +0 -37
  135. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/main/components/sample.component.html +0 -1
  136. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/main/components/sample.component.ts +0 -14
  137. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/main/constants.ts +0 -1
  138. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/main/containers/block-store.service.ts +0 -33
  139. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/main/containers/container.component.ts +0 -44
  140. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/main/containers/generic-block-resolver.service.ts +0 -32
  141. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/main/models/block-type.model.ts +0 -6
  142. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/main/models/block.model.ts +0 -10
  143. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/main/models/index.ts +0 -2
  144. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/main/module.ts +0 -60
  145. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/main/store/actions/block.actions.ts +0 -26
  146. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/main/store/reducers/block.reducer.ts +0 -48
  147. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/main/store/reducers/index.ts +0 -22
  148. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/main/store/selectors/block.selectors.ts +0 -29
  149. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/lib/module.ts +0 -17
  150. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/src/test.ts.TO_REPLACE +0 -21
  151. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/tsconfig.lib.json +0 -33
  152. package/scripts/csdr/cli/skeletons/package/frontend/16.x/participant-ngrx/tsconfig.spec.json +0 -17
  153. package/scripts/csdr/cli/skeletons/package/frontend/17.x/default/.eslintrc.json +0 -43
  154. package/scripts/csdr/cli/skeletons/package/frontend/17.x/default/assets/i18n/en.json +0 -6
  155. package/scripts/csdr/cli/skeletons/package/frontend/17.x/default/assets/i18n/fr.json +0 -6
  156. package/scripts/csdr/cli/skeletons/package/frontend/17.x/default/dependencies-base.json +0 -2
  157. package/scripts/csdr/cli/skeletons/package/frontend/17.x/default/dependencies-composite.json +0 -4
  158. package/scripts/csdr/cli/skeletons/package/frontend/17.x/default/gitignore_TO_REPLACE +0 -46
  159. package/scripts/csdr/cli/skeletons/package/frontend/17.x/default/karma.conf.js +0 -7
  160. package/scripts/csdr/cli/skeletons/package/frontend/17.x/default/ng-package.json +0 -7
  161. package/scripts/csdr/cli/skeletons/package/frontend/17.x/default/package.json +0 -4
  162. package/scripts/csdr/cli/skeletons/package/frontend/17.x/default/src/dummy.spec.ts.TO_REPLACE +0 -5
  163. package/scripts/csdr/cli/skeletons/package/frontend/17.x/default/src/index.ts +0 -2
  164. package/scripts/csdr/cli/skeletons/package/frontend/17.x/default/src/lib/components/main.component.html +0 -43
  165. package/scripts/csdr/cli/skeletons/package/frontend/17.x/default/src/lib/components/main.component.ts +0 -8
  166. package/scripts/csdr/cli/skeletons/package/frontend/17.x/default/src/lib/constants.ts +0 -1
  167. package/scripts/csdr/cli/skeletons/package/frontend/17.x/default/src/lib/containers/container.component.ts +0 -28
  168. package/scripts/csdr/cli/skeletons/package/frontend/17.x/default/src/lib/module.ts +0 -80
  169. package/scripts/csdr/cli/skeletons/package/frontend/17.x/default/src/lib/routing-module.ts +0 -23
  170. package/scripts/csdr/cli/skeletons/package/frontend/17.x/default/src/test.ts.TO_REPLACE +0 -21
  171. package/scripts/csdr/cli/skeletons/package/frontend/17.x/default/tsconfig.lib.json +0 -33
  172. package/scripts/csdr/cli/skeletons/package/frontend/17.x/default/tsconfig.spec.json +0 -17
  173. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-default/.eslintrc.json +0 -43
  174. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-default/assets/i18n/en.json +0 -6
  175. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-default/assets/i18n/fr.json +0 -6
  176. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-default/dependencies-base.json +0 -2
  177. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-default/dependencies-composite.json +0 -4
  178. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-default/gitignore_TO_REPLACE +0 -46
  179. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-default/karma.conf.js +0 -7
  180. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-default/ng-package.json +0 -7
  181. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-default/package.json +0 -4
  182. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-default/src/dummy.spec.ts.TO_REPLACE +0 -5
  183. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-default/src/index.ts +0 -2
  184. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-default/src/lib/components/participant/participant.component.html +0 -1
  185. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-default/src/lib/components/participant/participant.component.ts +0 -19
  186. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-default/src/lib/module.ts +0 -24
  187. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-default/src/test.ts.TO_REPLACE +0 -21
  188. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-default/tsconfig.lib.json +0 -33
  189. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-default/tsconfig.spec.json +0 -17
  190. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/.eslintrc.json +0 -79
  191. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/assets/i18n/en.json +0 -6
  192. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/assets/i18n/fr.json +0 -6
  193. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/dependencies-base.json +0 -2
  194. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/dependencies-composite.json +0 -3
  195. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/gitignore_TO_REPLACE +0 -46
  196. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/karma.conf.js +0 -7
  197. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/ng-package.json +0 -7
  198. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/package.json +0 -4
  199. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/src/dummy.spec.ts.TO_REPLACE +0 -5
  200. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/src/index.ts +0 -4
  201. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/src/lib/blocks/sample/components/sample.component.html +0 -1
  202. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/src/lib/blocks/sample/components/sample.component.ts +0 -14
  203. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/src/lib/blocks/sample/containers/container.component.ts +0 -36
  204. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/src/lib/blocks/sample/models/block.model.ts +0 -5
  205. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/src/lib/blocks/sample/models/index.ts +0 -1
  206. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/src/lib/blocks/sample/module.ts +0 -37
  207. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/src/lib/main/components/sample.component.html +0 -1
  208. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/src/lib/main/components/sample.component.ts +0 -11
  209. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/src/lib/main/containers/block-store.service.ts +0 -26
  210. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/src/lib/main/containers/container.component.ts +0 -42
  211. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/src/lib/main/models/block.model.ts +0 -4
  212. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/src/lib/main/models/index.ts +0 -1
  213. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/src/lib/main/module.ts +0 -56
  214. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/src/lib/main/store/block.actions.ts +0 -11
  215. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/src/lib/main/store/block.feature.ts +0 -48
  216. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/src/lib/module.ts +0 -17
  217. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/src/test.ts.TO_REPLACE +0 -21
  218. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/tsconfig.lib.json +0 -33
  219. package/scripts/csdr/cli/skeletons/package/frontend/17.x/participant-ngrx/tsconfig.spec.json +0 -17
  220. package/scripts/csdr/cli/skeletons/package/frontend/18.x/default/.eslintrc.json +0 -43
  221. package/scripts/csdr/cli/skeletons/package/frontend/18.x/default/assets/i18n/en.json +0 -3
  222. package/scripts/csdr/cli/skeletons/package/frontend/18.x/default/assets/i18n/fr.json +0 -3
  223. package/scripts/csdr/cli/skeletons/package/frontend/18.x/default/dependencies-base.json +0 -2
  224. package/scripts/csdr/cli/skeletons/package/frontend/18.x/default/dependencies-composite.json +0 -4
  225. package/scripts/csdr/cli/skeletons/package/frontend/18.x/default/gitignore_TO_REPLACE +0 -46
  226. package/scripts/csdr/cli/skeletons/package/frontend/18.x/default/karma.conf.js +0 -7
  227. package/scripts/csdr/cli/skeletons/package/frontend/18.x/default/ng-package.json +0 -7
  228. package/scripts/csdr/cli/skeletons/package/frontend/18.x/default/package.json +0 -4
  229. package/scripts/csdr/cli/skeletons/package/frontend/18.x/default/src/dummy.spec.ts.TO_REPLACE +0 -5
  230. package/scripts/csdr/cli/skeletons/package/frontend/18.x/default/src/index.ts +0 -1
  231. package/scripts/csdr/cli/skeletons/package/frontend/18.x/default/src/lib/components/main.component.html +0 -10
  232. package/scripts/csdr/cli/skeletons/package/frontend/18.x/default/src/lib/components/main.component.ts +0 -17
  233. package/scripts/csdr/cli/skeletons/package/frontend/18.x/default/src/lib/module.ts +0 -26
  234. package/scripts/csdr/cli/skeletons/package/frontend/18.x/default/src/test.ts.TO_REPLACE +0 -21
  235. package/scripts/csdr/cli/skeletons/package/frontend/18.x/default/tsconfig.lib.json +0 -33
  236. package/scripts/csdr/cli/skeletons/package/frontend/18.x/default/tsconfig.spec.json +0 -17
  237. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-default/.eslintrc.json +0 -43
  238. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-default/assets/i18n/en.json +0 -6
  239. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-default/assets/i18n/fr.json +0 -6
  240. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-default/dependencies-base.json +0 -2
  241. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-default/dependencies-composite.json +0 -4
  242. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-default/gitignore_TO_REPLACE +0 -46
  243. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-default/karma.conf.js +0 -7
  244. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-default/ng-package.json +0 -7
  245. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-default/package.json +0 -4
  246. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-default/src/dummy.spec.ts.TO_REPLACE +0 -5
  247. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-default/src/index.ts +0 -2
  248. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-default/src/lib/components/participant/participant.component.html +0 -1
  249. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-default/src/lib/components/participant/participant.component.ts +0 -19
  250. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-default/src/lib/module.ts +0 -24
  251. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-default/src/test.ts.TO_REPLACE +0 -21
  252. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-default/tsconfig.lib.json +0 -33
  253. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-default/tsconfig.spec.json +0 -17
  254. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/.eslintrc.json +0 -79
  255. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/assets/i18n/en.json +0 -6
  256. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/assets/i18n/fr.json +0 -6
  257. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/dependencies-base.json +0 -2
  258. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/dependencies-composite.json +0 -3
  259. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/gitignore_TO_REPLACE +0 -46
  260. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/karma.conf.js +0 -7
  261. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/ng-package.json +0 -7
  262. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/package.json +0 -4
  263. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/src/dummy.spec.ts.TO_REPLACE +0 -5
  264. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/src/index.ts +0 -4
  265. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/src/lib/blocks/sample/components/sample.component.html +0 -1
  266. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/src/lib/blocks/sample/components/sample.component.ts +0 -14
  267. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/src/lib/blocks/sample/containers/container.component.ts +0 -36
  268. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/src/lib/blocks/sample/models/block.model.ts +0 -5
  269. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/src/lib/blocks/sample/models/index.ts +0 -1
  270. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/src/lib/blocks/sample/module.ts +0 -37
  271. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/src/lib/main/components/sample.component.html +0 -1
  272. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/src/lib/main/components/sample.component.ts +0 -11
  273. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/src/lib/main/containers/block-store.service.ts +0 -26
  274. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/src/lib/main/containers/container.component.ts +0 -42
  275. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/src/lib/main/models/block.model.ts +0 -4
  276. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/src/lib/main/models/index.ts +0 -1
  277. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/src/lib/main/module.ts +0 -56
  278. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/src/lib/main/store/block.actions.ts +0 -11
  279. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/src/lib/main/store/block.feature.ts +0 -48
  280. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/src/lib/module.ts +0 -17
  281. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/src/test.ts.TO_REPLACE +0 -21
  282. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/tsconfig.lib.json +0 -33
  283. package/scripts/csdr/cli/skeletons/package/frontend/18.x/participant-ngrx/tsconfig.spec.json +0 -17
  284. package/scripts/csdr/cli/skeletons/virtual-remote/15.x/angular-config.json +0 -9
  285. package/scripts/csdr/cli/skeletons/virtual-remote/15.x/dependencies.json +0 -21
  286. package/scripts/csdr/cli/skeletons/virtual-remote/16.x/angular-config.json +0 -9
  287. package/scripts/csdr/cli/skeletons/virtual-remote/16.x/dependencies.json +0 -22
  288. package/scripts/csdr/cli/skeletons/virtual-remote/17.x/angular-config.json +0 -8
  289. package/scripts/csdr/cli/skeletons/virtual-remote/17.x/dependencies.json +0 -22
  290. package/scripts/csdr/cli/skeletons/virtual-remote/18.x/angular-config.json +0 -6
  291. package/scripts/csdr/cli/skeletons/virtual-remote/18.x/dependencies.json +0 -21
@@ -1,2 +0,0 @@
1
- export { @module.class.name@Module } from './lib/module';
2
- export { @module.class.name@Component } from './lib/components/participant/participant.component';
@@ -1,19 +0,0 @@
1
- import { Component, OnInit, Input } from '@angular/core';
2
-
3
- import { BlockComponent, ParticipantBlock } from '@cc/shared/block';
4
-
5
- @Component({
6
- selector: '@module.scope.string@-participant-cp',
7
- templateUrl: './participant.component.html',
8
- })
9
- export class @module.class.name@Component implements BlockComponent, OnInit {
10
- @Input() readonly block: ParticipantBlock; // it should be an extension of ParticipantBlock
11
-
12
- constructor() {
13
- // constructor
14
- }
15
-
16
- ngOnInit(): void {
17
- console.log('init');
18
- }
19
- }
@@ -1,24 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
-
4
- import { TranslateModule } from '@ngx-translate/core';
5
-
6
- import { CcBlockModule } from '@cc/shared/block';
7
-
8
- import { @module.class.name@Component } from './components/participant/participant.component';
9
-
10
- @NgModule({
11
- imports: [
12
- CommonModule,
13
- TranslateModule,
14
- CcBlockModule,
15
- ],
16
- declarations: [
17
- @module.class.name@Component,
18
- ],
19
- exports: [
20
- @module.class.name@Component,
21
- ],
22
- })
23
- export class @module.class.name@Module {
24
- }
@@ -1,21 +0,0 @@
1
- // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2
-
3
- import 'zone.js/dist/zone';
4
- import 'zone.js/dist/zone-testing';
5
- import { getTestBed } from '@angular/core/testing';
6
- import {
7
- BrowserDynamicTestingModule,
8
- platformBrowserDynamicTesting,
9
- } from '@angular/platform-browser-dynamic/testing';
10
-
11
- declare const require: any;
12
-
13
- // First, initialize the Angular testing environment.
14
- getTestBed().initTestEnvironment(
15
- BrowserDynamicTestingModule,
16
- platformBrowserDynamicTesting(),
17
- );
18
- // Then we find all the tests.
19
- const context = require.context('./', true, /\.spec\.ts$/);
20
- // And load the modules.
21
- context.keys().map(context);
@@ -1,32 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.build.json",
3
- "compilerOptions": {
4
- "outDir": "./out-tsc/lib",
5
- "target": "ES2022",
6
- "module": "ES2022",
7
- "moduleResolution": "node",
8
- "declaration": true,
9
- "sourceMap": true,
10
- "inlineSources": true,
11
- "emitDecoratorMetadata": true,
12
- "experimentalDecorators": true,
13
- "importHelpers": true,
14
- "types": [],
15
- "lib": [
16
- "ES2022",
17
- "dom"
18
- ]
19
- },
20
- "angularCompilerOptions": {
21
- "annotateForClosureCompiler": true,
22
- "skipTemplateCodegen": true,
23
- "strictMetadataEmit": true,
24
- "fullTemplateTypeCheck": true,
25
- "strictInjectionParameters": true,
26
- "enableResourceInlining": true
27
- },
28
- "exclude": [
29
- "src/test.ts",
30
- "**/*.spec.ts"
31
- ]
32
- }
@@ -1,17 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.build.json",
3
- "compilerOptions": {
4
- "outDir": "./out-tsc/spec",
5
- "types": [
6
- "jasmine",
7
- "node"
8
- ]
9
- },
10
- "files": [
11
- "src/test.ts"
12
- ],
13
- "include": [
14
- "**/*.spec.ts",
15
- "**/*.d.ts"
16
- ]
17
- }
@@ -1,79 +0,0 @@
1
- {
2
- "extends": "../../.eslintrc.json",
3
- "ignorePatterns": [
4
- "!**/*",
5
- "**/*.d.ts",
6
- "dist"
7
- ],
8
- "overrides": [
9
- {
10
- "files": [
11
- "*.ts"
12
- ],
13
- "parserOptions": {
14
- "createDefaultProgram": true
15
- },
16
- "rules": {
17
- "@angular-eslint/component-selector": [
18
- "error",
19
- {
20
- "type": "element",
21
- "prefix": "@module.scope.string@",
22
- "style": "kebab-case"
23
- }
24
- ],
25
- "@angular-eslint/directive-selector": [
26
- "error",
27
- {
28
- "type": "attribute",
29
- "prefix": "@module.scope.string@",
30
- "style": "camelCase"
31
- }
32
- ],
33
- "@typescript-eslint/ban-ts-comment": "off",
34
- "@typescript-eslint/ban-types": "error",
35
- "@typescript-eslint/consistent-type-definitions": "off",
36
- "@typescript-eslint/dot-notation": "off",
37
- "@typescript-eslint/explicit-member-accessibility": [
38
- "off",
39
- {
40
- "accessibility": "explicit"
41
- }
42
- ],
43
- "@typescript-eslint/no-inferrable-types": "off",
44
- "@typescript-eslint/no-unused-vars": "off",
45
- "@typescript-eslint/no-var-requires": "error",
46
- "@typescript-eslint/require-await": "error",
47
- "id-blacklist": "off",
48
- "id-match": "off",
49
- "max-len": [
50
- "error",
51
- {
52
- "code": 160
53
- }
54
- ],
55
- "no-duplicate-case": "error",
56
- "no-duplicate-imports": "off",
57
- "no-invalid-this": "error",
58
- "no-multiple-empty-lines": [
59
- "error",
60
- {
61
- "max": 1
62
- }
63
- ],
64
- "no-new-func": "error",
65
- "no-template-curly-in-string": "error",
66
- "no-underscore-dangle": "off",
67
- "no-var": "off",
68
- "prefer-const": "off",
69
- "comma-dangle": "off"
70
- }
71
- },
72
- {
73
- "files": [
74
- "*.html"
75
- ],
76
- "rules": {}
77
- }
78
- ]
79
- }
@@ -1,6 +0,0 @@
1
- {
2
- "@module.scope-name@.TITLE": "@module.scope-name@",
3
- "@module.scope-name@.FILTER": "Search filter",
4
- "@module.scope-name@.QUICK_SECTION": "Quick filter",
5
- "@module.scope-name@.SEARCH_RESULT": "Filter results"
6
- }
@@ -1,6 +0,0 @@
1
- {
2
- "@module.scope-name@.TITLE": "**fr** @module.scope-name@ **fr**",
3
- "@module.scope-name@.FILTER": "**fr** Search filter **fr**",
4
- "@module.scope-name@.QUICK_SECTION": "**fr** Quick filter **fr**",
5
- "@module.scope-name@.SEARCH_RESULT": "**fr** Filter results **fr**"
6
- }
@@ -1,46 +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
- **/test/reports
11
-
12
- # IDEs and editors
13
- /.idea
14
- .project
15
- .classpath
16
- .c9/
17
- *.launch
18
- .settings/
19
- *.sublime-workspace
20
-
21
- # IDE - VSCode
22
- .vscode/*
23
- !.vscode/settings.json
24
- !.vscode/tasks.json
25
- !.vscode/launch.json
26
- !.vscode/extensions.json
27
-
28
- # misc
29
- /.sass-cache
30
- /connect.lock
31
- /coverage
32
- /libpeerconnection.log
33
- npm-debug.log
34
- testem.log
35
- /typings
36
- yarn-error.log
37
-
38
- # e2e
39
- /e2e/*.js
40
- /e2e/*.map
41
- **/src/**/*.js
42
- **/src/**/*.map
43
-
44
- # System Files
45
- .DS_Store
46
- Thumbs.db
@@ -1,7 +0,0 @@
1
- const karmaConfig = require('@eui/tools/karma/karma.conf.pkg');
2
-
3
- module.exports = function (config) {
4
- config.set(
5
- karmaConfig.get(config, '@module.full.name@', {})
6
- );
7
- };
@@ -1,7 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
- "dest": "./dist",
4
- "lib": {
5
- "entryFile": "src/index.ts"
6
- }
7
- }
@@ -1,4 +0,0 @@
1
- {
2
- "name": "@module.scope@/@module.name@",
3
- "version": "1.0.0"
4
- }
@@ -1,5 +0,0 @@
1
- describe('First test', () => {
2
- it('should work', () => {
3
- expect(true).toBe(true);
4
- });
5
- });
@@ -1,4 +0,0 @@
1
- export { @module.class.name@Module } from './lib/module';
2
-
3
- export { MainParticipantModule } from './lib/main/module';
4
- export { @module.class.name@ContainerComponent } from './lib/main/containers/container.component';
@@ -1,14 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
-
3
- import { Block } from '../models';
4
-
5
- @Component({
6
- selector: '@module.scope-name@-cp',
7
- templateUrl: './sample.component.html',
8
- })
9
- export class SampleComponent {
10
- @Input() block: Block;
11
-
12
- constructor() {
13
- }
14
- }
@@ -1,36 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input, OnInit, OnDestroy } from '@angular/core';
2
-
3
- import { Observable } from 'rxjs';
4
-
5
- import { BlockComponent } from '@cc/shared/block';
6
-
7
- import { Block } from '../models';
8
-
9
- @Component({
10
- selector: '@module.scope-name@-ct',
11
- changeDetection: ChangeDetectionStrategy.OnPush,
12
- template: `
13
- <@module.scope-name@-cp
14
- [block]="block$ | async">
15
- </@module.scope-name@-cp>`,
16
- })
17
- export class ContainerComponent implements BlockComponent, OnInit, OnDestroy {
18
- @Input() readonly block: Block;
19
-
20
- block$: Observable<Block>;
21
-
22
- constructor() {
23
- }
24
-
25
- ngOnInit(): void {
26
- this.asyncPipeObs();
27
- }
28
-
29
- ngOnDestroy(): void {
30
- }
31
-
32
- private asyncPipeObs(): void {
33
- // todo: retrieve block$ from the store
34
- // this.block$
35
- }
36
- }
@@ -1,5 +0,0 @@
1
- import { ParticipantBlock } from '@cc/shared/block';
2
-
3
- export interface Block extends ParticipantBlock {
4
-
5
- }
@@ -1,37 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
-
4
- import { TranslateModule } from '@ngx-translate/core';
5
-
6
- import { CcBlockModule } from '@cc/shared/block';
7
-
8
- // -- Components --
9
- import { SampleComponent } from './components/sample.component';
10
-
11
- const COMPONENTS = [
12
- SampleComponent,
13
- ];
14
-
15
- // -- Containers --
16
- import { ContainerComponent } from './containers/container.component';
17
-
18
- const CONTAINERS = [
19
- ContainerComponent,
20
- ];
21
-
22
- @NgModule({
23
- imports: [
24
- CommonModule,
25
- TranslateModule,
26
- CcBlockModule,
27
- ],
28
- declarations: [
29
- ...COMPONENTS,
30
- ...CONTAINERS,
31
- ],
32
- exports: [
33
- ContainerComponent,
34
- ],
35
- })
36
- export class @module.class.name@BlockSampleModule {
37
- }
@@ -1 +0,0 @@
1
- <cc-generic-block-ct [block]="block"></cc-generic-block-ct>
@@ -1,14 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
-
3
- import { Block } from '../models';
4
-
5
- @Component({
6
- selector: '@module.scope-name@-cp',
7
- templateUrl: './sample.component.html',
8
- })
9
- export class @module.class.name@Component {
10
- @Input() block: Block;
11
-
12
- constructor() {
13
- }
14
- }
@@ -1 +0,0 @@
1
- export const namespace = '@module.class.name@:participant';
@@ -1,33 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
- import { Store, select } from '@ngrx/store';
3
-
4
- import { Observable } from 'rxjs';
5
-
6
- import * as block from '../store/actions/block.actions';
7
-
8
- import {
9
- Block,
10
- } from '../models';
11
-
12
- import * as fromBlockReducer from '../store/reducers/block.reducer';
13
-
14
- import * as fromBlockSelectors from '../store/selectors/block.selectors';
15
-
16
- @Injectable()
17
- export class BlockStoreService {
18
-
19
- constructor(private store$: Store<fromBlockReducer.State>) {
20
- }
21
-
22
- getBlockById(id: string): Observable<Block> {
23
- return this.store$.pipe(select(fromBlockSelectors.getBlockById(id)));
24
- }
25
-
26
- upsertBlock(b: Block): void {
27
- this.store$.dispatch(new block.UpsertBlock({ block: b }));
28
- }
29
-
30
- removeBlock(id: string): void {
31
- this.store$.dispatch(new block.RemoveBlock({ id }));
32
- }
33
- }
@@ -1,44 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input, OnInit, OnDestroy } from '@angular/core';
2
-
3
- import { Observable } from 'rxjs';
4
-
5
- import { BlockComponent, GENERIC_BLOCK_RESOLVER_TOKEN } from '@cc/shared/block';
6
-
7
- import { Block } from '../models';
8
-
9
- import { BlockStoreService } from './block-store.service';
10
- import { GenericBlockResolverService } from './generic-block-resolver.service';
11
-
12
- @Component({
13
- selector: '@module.scoe-name@-ct',
14
- changeDetection: ChangeDetectionStrategy.OnPush,
15
- providers: [
16
- BlockStoreService,
17
- { provide: GENERIC_BLOCK_RESOLVER_TOKEN, useClass: GenericBlockResolverService },
18
- ],
19
- template: `
20
- <@module.scope-name@-cp
21
- [block]="block$ | async">
22
- </@module.scope-name@-cp>`,
23
- })
24
- export class @module.class.name@ContainerComponent implements BlockComponent, OnInit, OnDestroy {
25
- @Input() readonly block: Block;
26
-
27
- block$: Observable<Block>;
28
-
29
- constructor(private blockStore: BlockStoreService) {
30
- }
31
-
32
- ngOnInit(): void {
33
- this.asyncPipeObs();
34
-
35
- this.blockStore.upsertBlock(this.block);
36
- }
37
-
38
- ngOnDestroy(): void {
39
- }
40
-
41
- private asyncPipeObs(): void {
42
- this.block$ = this.blockStore.getBlockById(this.block.id);
43
- }
44
- }
@@ -1,32 +0,0 @@
1
- import { Inject, Injectable } from '@angular/core';
2
-
3
- import { CONFIG_TOKEN } from '@eui/core';
4
-
5
- import { BlockConfig, IGenericBlock, UnknownBlockComponent } from '@cc/shared/block';
6
-
7
- // BLOCKS
8
- import { ContainerComponent } from '../../blocks/sample/containers/container.component';
9
-
10
- import { BlockType } from '../models';
11
-
12
- @Injectable()
13
- export class GenericBlockResolverService implements IGenericBlock {
14
-
15
- constructor(@Inject(CONFIG_TOKEN) private config: any) {
16
- }
17
-
18
- getComponentForBlock(block: BlockConfig): any {
19
- switch (block?.config.subType) {
20
- case BlockType.@module.class.name@: {
21
- return ContainerComponent;
22
- }
23
- default: {
24
- return UnknownBlockComponent;
25
- }
26
- }
27
- }
28
-
29
- enrichBlock(block: BlockConfig): BlockConfig {
30
- return block;
31
- }
32
- }
@@ -1,6 +0,0 @@
1
- /**
2
- * Sub-blocks
3
- */
4
- export class BlockType {
5
- static @module.class.name@ = '@module.class.name@';
6
- }
@@ -1,10 +0,0 @@
1
- import { ParticipantBlock } from '@cc/shared/block';
2
-
3
- import { BlockType } from './block-type.model';
4
-
5
- export interface Block extends ParticipantBlock {
6
-
7
- config: {
8
- subType: BlockType;
9
- }
10
- }
@@ -1,2 +0,0 @@
1
- export * from './block.model';
2
- export * from './block-type.model';
@@ -1,60 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { StoreModule } from '@ngrx/store';
4
- import { EffectsModule } from '@ngrx/effects';
5
-
6
- import { TranslateModule } from '@ngx-translate/core';
7
-
8
- import { CcBlockModule } from '@cc/shared/block';
9
-
10
- // -- Components --
11
- import { @module.class.name@Component } from './components/sample.component';
12
-
13
- const COMPONENTS = [
14
- @module.class.name@Component,
15
- ];
16
-
17
- // -- Containers --
18
- import { @module.class.name@ContainerComponent } from './containers/container.component';
19
-
20
- const CONTAINERS = [
21
- @module.class.name@ContainerComponent,
22
- ];
23
-
24
- // -- Effects --
25
- const EFFECTS = [
26
- ];
27
-
28
- // -- Reducer --
29
- import { TOKEN, reducerProvider } from './store/reducers';
30
-
31
- // -- Services --
32
- const SERVICES = [
33
- ];
34
-
35
- // -- Constants --
36
- import { namespace } from './constants';
37
-
38
- @NgModule({
39
- imports: [
40
- CommonModule,
41
- StoreModule.forFeature(namespace, TOKEN),
42
- EffectsModule.forFeature(EFFECTS),
43
- TranslateModule,
44
-
45
- CcBlockModule,
46
- ],
47
- declarations: [
48
- ...COMPONENTS,
49
- ...CONTAINERS,
50
- ],
51
- providers: [
52
- reducerProvider,
53
- ...SERVICES,
54
- ],
55
- exports: [
56
- @module.class.name@ContainerComponent,
57
- ],
58
- })
59
- export class MainParticipantModule {
60
- }
@@ -1,26 +0,0 @@
1
- import { Action } from '@ngrx/store';
2
-
3
- import { Block } from '../../models';
4
-
5
- export enum BlockActionType {
6
- UPSERT_BLOCK = '[@module.class.name@ - Block] Upsert block',
7
- REMOVE_BLOCK = '[@module.class.name@ - Block] Remove block',
8
- }
9
-
10
- export class UpsertBlock implements Action {
11
- readonly type = BlockActionType.UPSERT_BLOCK;
12
-
13
- constructor(public payload: { block: Block }) {
14
- }
15
- }
16
-
17
- export class RemoveBlock implements Action {
18
- readonly type = BlockActionType.REMOVE_BLOCK;
19
-
20
- constructor(public payload: { id: string }) {
21
- }
22
- }
23
-
24
- export type BlockActions =
25
- UpsertBlock |
26
- RemoveBlock;