cedar-embeddable-editor 0.9.0 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (272) hide show
  1. package/assets/fonts/MaterialIcons-Regular.eot +0 -0
  2. package/assets/fonts/MaterialIcons-Regular.ttf +0 -0
  3. package/assets/fonts/MaterialIcons-Regular.woff +0 -0
  4. package/assets/fonts/MaterialIcons-Regular.woff2 +0 -0
  5. package/{src/index.html → index.html} +3 -3
  6. package/main.js +9417 -0
  7. package/main.js.map +1 -0
  8. package/package.json +1 -1
  9. package/polyfills.js +4345 -0
  10. package/polyfills.js.map +1 -0
  11. package/runtime.js +205 -0
  12. package/runtime.js.map +1 -0
  13. package/scripts.js +48 -0
  14. package/scripts.js.map +1 -0
  15. package/styles.css +5019 -0
  16. package/styles.css.map +1 -0
  17. package/vendor.js +189695 -0
  18. package/vendor.js.map +1 -0
  19. package/.browserslistrc +0 -18
  20. package/.editorconfig +0 -16
  21. package/README.md +0 -302
  22. package/angular.json +0 -153
  23. package/cedar-embeddable-editor-0.9.0.tgz +0 -0
  24. package/e2e/protractor.conf.js +0 -36
  25. package/e2e/src/app.e2e-spec.ts +0 -23
  26. package/e2e/src/app.po.ts +0 -11
  27. package/e2e/tsconfig.json +0 -14
  28. package/karma.conf.js +0 -32
  29. package/license.txt +0 -26
  30. package/src/app/app.component.dev.ts +0 -74
  31. package/src/app/app.component.html +0 -5
  32. package/src/app/app.component.prod.ts +0 -76
  33. package/src/app/app.component.scss +0 -1
  34. package/src/app/app.module.dev.ts +0 -58
  35. package/src/app/app.module.prod.ts +0 -56
  36. package/src/app/modules/input-types/components/cedar-foo-bar/cedar-foo-bar.component.html +0 -0
  37. package/src/app/modules/input-types/components/cedar-foo-bar/cedar-foo-bar.component.scss +0 -0
  38. package/src/app/modules/input-types/components/cedar-foo-bar/cedar-foo-bar.component.spec.ts +0 -24
  39. package/src/app/modules/input-types/components/cedar-foo-bar/cedar-foo-bar.component.ts +0 -39
  40. package/src/app/modules/input-types/components/cedar-input-attribute-value/cedar-input-attribute-value.component.html +0 -25
  41. package/src/app/modules/input-types/components/cedar-input-attribute-value/cedar-input-attribute-value.component.scss +0 -0
  42. package/src/app/modules/input-types/components/cedar-input-attribute-value/cedar-input-attribute-value.component.spec.ts +0 -25
  43. package/src/app/modules/input-types/components/cedar-input-attribute-value/cedar-input-attribute-value.component.ts +0 -91
  44. package/src/app/modules/input-types/components/cedar-input-checkbox/cedar-input-checkbox.component.html +0 -8
  45. package/src/app/modules/input-types/components/cedar-input-checkbox/cedar-input-checkbox.component.scss +0 -0
  46. package/src/app/modules/input-types/components/cedar-input-checkbox/cedar-input-checkbox.component.spec.ts +0 -25
  47. package/src/app/modules/input-types/components/cedar-input-checkbox/cedar-input-checkbox.component.ts +0 -104
  48. package/src/app/modules/input-types/components/cedar-input-controlled/cedar-input-controlled.component.html +0 -22
  49. package/src/app/modules/input-types/components/cedar-input-controlled/cedar-input-controlled.component.scss +0 -0
  50. package/src/app/modules/input-types/components/cedar-input-controlled/cedar-input-controlled.component.spec.ts +0 -24
  51. package/src/app/modules/input-types/components/cedar-input-controlled/cedar-input-controlled.component.ts +0 -135
  52. package/src/app/modules/input-types/components/cedar-input-datetime/cedar-input-datetime.component.html +0 -44
  53. package/src/app/modules/input-types/components/cedar-input-datetime/cedar-input-datetime.component.scss +0 -0
  54. package/src/app/modules/input-types/components/cedar-input-datetime/cedar-input-datetime.component.spec.ts +0 -25
  55. package/src/app/modules/input-types/components/cedar-input-datetime/cedar-input-datetime.component.ts +0 -451
  56. package/src/app/modules/input-types/components/cedar-input-email/cedar-input-email.component.html +0 -16
  57. package/src/app/modules/input-types/components/cedar-input-email/cedar-input-email.component.scss +0 -0
  58. package/src/app/modules/input-types/components/cedar-input-email/cedar-input-email.component.spec.ts +0 -25
  59. package/src/app/modules/input-types/components/cedar-input-email/cedar-input-email.component.ts +0 -91
  60. package/src/app/modules/input-types/components/cedar-input-link/cedar-input-link.component.html +0 -16
  61. package/src/app/modules/input-types/components/cedar-input-link/cedar-input-link.component.scss +0 -0
  62. package/src/app/modules/input-types/components/cedar-input-link/cedar-input-link.component.spec.ts +0 -25
  63. package/src/app/modules/input-types/components/cedar-input-link/cedar-input-link.component.ts +0 -92
  64. package/src/app/modules/input-types/components/cedar-input-multiple-choice/cedar-input-multiple-choice.component.html +0 -18
  65. package/src/app/modules/input-types/components/cedar-input-multiple-choice/cedar-input-multiple-choice.component.scss +0 -5
  66. package/src/app/modules/input-types/components/cedar-input-multiple-choice/cedar-input-multiple-choice.component.spec.ts +0 -25
  67. package/src/app/modules/input-types/components/cedar-input-multiple-choice/cedar-input-multiple-choice.component.ts +0 -78
  68. package/src/app/modules/input-types/components/cedar-input-numeric/cedar-input-numeric.component.html +0 -15
  69. package/src/app/modules/input-types/components/cedar-input-numeric/cedar-input-numeric.component.scss +0 -0
  70. package/src/app/modules/input-types/components/cedar-input-numeric/cedar-input-numeric.component.spec.ts +0 -25
  71. package/src/app/modules/input-types/components/cedar-input-numeric/cedar-input-numeric.component.ts +0 -169
  72. package/src/app/modules/input-types/components/cedar-input-phone/cedar-input-phone.component.html +0 -15
  73. package/src/app/modules/input-types/components/cedar-input-phone/cedar-input-phone.component.scss +0 -0
  74. package/src/app/modules/input-types/components/cedar-input-phone/cedar-input-phone.component.spec.ts +0 -25
  75. package/src/app/modules/input-types/components/cedar-input-phone/cedar-input-phone.component.ts +0 -94
  76. package/src/app/modules/input-types/components/cedar-input-select/cedar-input-select.component.html +0 -19
  77. package/src/app/modules/input-types/components/cedar-input-select/cedar-input-select.component.scss +0 -0
  78. package/src/app/modules/input-types/components/cedar-input-select/cedar-input-select.component.spec.ts +0 -25
  79. package/src/app/modules/input-types/components/cedar-input-select/cedar-input-select.component.ts +0 -108
  80. package/src/app/modules/input-types/components/cedar-input-text/cedar-input-text.component.html +0 -25
  81. package/src/app/modules/input-types/components/cedar-input-text/cedar-input-text.component.scss +0 -0
  82. package/src/app/modules/input-types/components/cedar-input-text/cedar-input-text.component.spec.ts +0 -25
  83. package/src/app/modules/input-types/components/cedar-input-text/cedar-input-text.component.ts +0 -125
  84. package/src/app/modules/input-types/components/cedar-static-image/cedar-static-image.component.html +0 -8
  85. package/src/app/modules/input-types/components/cedar-static-image/cedar-static-image.component.scss +0 -0
  86. package/src/app/modules/input-types/components/cedar-static-image/cedar-static-image.component.spec.ts +0 -24
  87. package/src/app/modules/input-types/components/cedar-static-image/cedar-static-image.component.ts +0 -40
  88. package/src/app/modules/input-types/components/cedar-static-page-break/cedar-static-page-break.component.html +0 -20
  89. package/src/app/modules/input-types/components/cedar-static-page-break/cedar-static-page-break.component.scss +0 -24
  90. package/src/app/modules/input-types/components/cedar-static-page-break/cedar-static-page-break.component.spec.ts +0 -25
  91. package/src/app/modules/input-types/components/cedar-static-page-break/cedar-static-page-break.component.ts +0 -36
  92. package/src/app/modules/input-types/components/cedar-static-rich-text/cedar-static-rich-text.component.html +0 -2
  93. package/src/app/modules/input-types/components/cedar-static-rich-text/cedar-static-rich-text.component.scss +0 -0
  94. package/src/app/modules/input-types/components/cedar-static-rich-text/cedar-static-rich-text.component.spec.ts +0 -25
  95. package/src/app/modules/input-types/components/cedar-static-rich-text/cedar-static-rich-text.component.ts +0 -35
  96. package/src/app/modules/input-types/components/cedar-static-section-break/cedar-static-section-break.component.html +0 -8
  97. package/src/app/modules/input-types/components/cedar-static-section-break/cedar-static-section-break.component.scss +0 -0
  98. package/src/app/modules/input-types/components/cedar-static-section-break/cedar-static-section-break.component.spec.ts +0 -24
  99. package/src/app/modules/input-types/components/cedar-static-section-break/cedar-static-section-break.component.ts +0 -39
  100. package/src/app/modules/input-types/components/cedar-static-youtube/cedar-static-youtube.component.html +0 -6
  101. package/src/app/modules/input-types/components/cedar-static-youtube/cedar-static-youtube.component.scss +0 -0
  102. package/src/app/modules/input-types/components/cedar-static-youtube/cedar-static-youtube.component.spec.ts +0 -24
  103. package/src/app/modules/input-types/components/cedar-static-youtube/cedar-static-youtube.component.ts +0 -42
  104. package/src/app/modules/input-types/input-types.module.ts +0 -139
  105. package/src/app/modules/shared/components/cedar-component-header/cedar-component-header.component.html +0 -13
  106. package/src/app/modules/shared/components/cedar-component-header/cedar-component-header.component.scss +0 -12
  107. package/src/app/modules/shared/components/cedar-component-header/cedar-component-header.component.spec.ts +0 -25
  108. package/src/app/modules/shared/components/cedar-component-header/cedar-component-header.component.ts +0 -42
  109. package/src/app/modules/shared/components/cedar-component-renderer/cedar-component-renderer.component.html +0 -117
  110. package/src/app/modules/shared/components/cedar-component-renderer/cedar-component-renderer.component.scss +0 -5
  111. package/src/app/modules/shared/components/cedar-component-renderer/cedar-component-renderer.component.spec.ts +0 -25
  112. package/src/app/modules/shared/components/cedar-component-renderer/cedar-component-renderer.component.ts +0 -101
  113. package/src/app/modules/shared/components/cedar-data-saver/cedar-data-saver.component.html +0 -22
  114. package/src/app/modules/shared/components/cedar-data-saver/cedar-data-saver.component.scss +0 -23
  115. package/src/app/modules/shared/components/cedar-data-saver/cedar-data-saver.component.spec.ts +0 -24
  116. package/src/app/modules/shared/components/cedar-data-saver/cedar-data-saver.component.ts +0 -139
  117. package/src/app/modules/shared/components/cedar-embeddable-metadata-editor/cedar-embeddable-metadata-editor.component.html +0 -56
  118. package/src/app/modules/shared/components/cedar-embeddable-metadata-editor/cedar-embeddable-metadata-editor.component.scss +0 -13
  119. package/src/app/modules/shared/components/cedar-embeddable-metadata-editor/cedar-embeddable-metadata-editor.component.spec.ts +0 -25
  120. package/src/app/modules/shared/components/cedar-embeddable-metadata-editor/cedar-embeddable-metadata-editor.component.ts +0 -184
  121. package/src/app/modules/shared/components/cedar-embeddable-metadata-editor-wrapper/cedar-embeddable-metadata-editor-wrapper.component.html +0 -15
  122. package/src/app/modules/shared/components/cedar-embeddable-metadata-editor-wrapper/cedar-embeddable-metadata-editor-wrapper.component.scss +0 -2
  123. package/src/app/modules/shared/components/cedar-embeddable-metadata-editor-wrapper/cedar-embeddable-metadata-editor-wrapper.component.spec.ts +0 -25
  124. package/src/app/modules/shared/components/cedar-embeddable-metadata-editor-wrapper/cedar-embeddable-metadata-editor-wrapper.component.ts +0 -240
  125. package/src/app/modules/shared/components/cedar-multi-pager/cedar-multi-pager.component.html +0 -35
  126. package/src/app/modules/shared/components/cedar-multi-pager/cedar-multi-pager.component.scss +0 -41
  127. package/src/app/modules/shared/components/cedar-multi-pager/cedar-multi-pager.component.spec.ts +0 -25
  128. package/src/app/modules/shared/components/cedar-multi-pager/cedar-multi-pager.component.ts +0 -282
  129. package/src/app/modules/shared/components/date-picker/date-picker.component.html +0 -46
  130. package/src/app/modules/shared/components/date-picker/date-picker.component.scss +0 -7
  131. package/src/app/modules/shared/components/date-picker/date-picker.component.spec.ts +0 -25
  132. package/src/app/modules/shared/components/date-picker/date-picker.component.ts +0 -100
  133. package/src/app/modules/shared/components/file-uploader/bytes/bytes.pipe.spec.ts +0 -33
  134. package/src/app/modules/shared/components/file-uploader/bytes/bytes.pipe.ts +0 -16
  135. package/src/app/modules/shared/components/file-uploader/file-upload-input-for/file-upload-input-for.directive.spec.ts +0 -54
  136. package/src/app/modules/shared/components/file-uploader/file-upload-input-for/file-upload-input-for.directive.ts +0 -67
  137. package/src/app/modules/shared/components/file-uploader/file-uploader.component.html +0 -26
  138. package/src/app/modules/shared/components/file-uploader/file-uploader.component.scss +0 -55
  139. package/src/app/modules/shared/components/file-uploader/file-uploader.component.spec.ts +0 -25
  140. package/src/app/modules/shared/components/file-uploader/file-uploader.component.ts +0 -67
  141. package/src/app/modules/shared/components/file-uploader/mat-file-upload/mat-file-upload.component.html +0 -42
  142. package/src/app/modules/shared/components/file-uploader/mat-file-upload/mat-file-upload.component.scss +0 -31
  143. package/src/app/modules/shared/components/file-uploader/mat-file-upload/mat-file-upload.component.spec.ts +0 -177
  144. package/src/app/modules/shared/components/file-uploader/mat-file-upload/mat-file-upload.component.ts +0 -145
  145. package/src/app/modules/shared/components/file-uploader/mat-file-upload/mat-file-upload.service.ts +0 -21
  146. package/src/app/modules/shared/components/file-uploader/mat-file-upload-queue/mat-file-upload-queue.component.html +0 -1
  147. package/src/app/modules/shared/components/file-uploader/mat-file-upload-queue/mat-file-upload-queue.component.scss +0 -0
  148. package/src/app/modules/shared/components/file-uploader/mat-file-upload-queue/mat-file-upload-queue.component.spec.ts +0 -59
  149. package/src/app/modules/shared/components/file-uploader/mat-file-upload-queue/mat-file-upload-queue.component.ts +0 -139
  150. package/src/app/modules/shared/components/file-uploader/mat-file-upload-queue/mat-file-upload-queue.service.spec.ts +0 -33
  151. package/src/app/modules/shared/components/file-uploader/mat-file-upload-queue/mat-file-upload-queue.service.ts +0 -17
  152. package/src/app/modules/shared/components/file-uploader/mat-file-upload.module.ts +0 -35
  153. package/src/app/modules/shared/components/file-uploader/mat-file-upload.type.ts +0 -24
  154. package/src/app/modules/shared/components/preferences-menu/preferences-menu.component.html +0 -18
  155. package/src/app/modules/shared/components/preferences-menu/preferences-menu.component.scss +0 -0
  156. package/src/app/modules/shared/components/preferences-menu/preferences-menu.component.spec.ts +0 -23
  157. package/src/app/modules/shared/components/preferences-menu/preferences-menu.component.ts +0 -10
  158. package/src/app/modules/shared/components/sample-templates/sample-template-select/sample-template-select.component.html +0 -16
  159. package/src/app/modules/shared/components/sample-templates/sample-template-select/sample-template-select.component.scss +0 -0
  160. package/src/app/modules/shared/components/sample-templates/sample-template-select/sample-template-select.component.spec.ts +0 -25
  161. package/src/app/modules/shared/components/sample-templates/sample-template-select/sample-template-select.component.ts +0 -89
  162. package/src/app/modules/shared/components/sample-templates/sample-templates.component.html +0 -19
  163. package/src/app/modules/shared/components/sample-templates/sample-templates.component.scss +0 -0
  164. package/src/app/modules/shared/components/sample-templates/sample-templates.component.spec.ts +0 -25
  165. package/src/app/modules/shared/components/sample-templates/sample-templates.component.ts +0 -66
  166. package/src/app/modules/shared/components/sample-templates/sample-templates.service.ts +0 -175
  167. package/src/app/modules/shared/components/source-panels/source-panels.component.html +0 -98
  168. package/src/app/modules/shared/components/source-panels/source-panels.component.scss +0 -0
  169. package/src/app/modules/shared/components/source-panels/source-panels.component.spec.ts +0 -25
  170. package/src/app/modules/shared/components/source-panels/source-panels.component.ts +0 -36
  171. package/src/app/modules/shared/components/static-footer/static-footer.component.html +0 -17
  172. package/src/app/modules/shared/components/static-footer/static-footer.component.scss +0 -110
  173. package/src/app/modules/shared/components/static-footer/static-footer.component.spec.ts +0 -25
  174. package/src/app/modules/shared/components/static-footer/static-footer.component.ts +0 -16
  175. package/src/app/modules/shared/components/static-header/static-header.component.html +0 -10
  176. package/src/app/modules/shared/components/static-header/static-header.component.scss +0 -13
  177. package/src/app/modules/shared/components/static-header/static-header.component.spec.ts +0 -25
  178. package/src/app/modules/shared/components/static-header/static-header.component.ts +0 -21
  179. package/src/app/modules/shared/components/timezone-picker/timezone-picker.component.html +0 -16
  180. package/src/app/modules/shared/components/timezone-picker/timezone-picker.component.scss +0 -0
  181. package/src/app/modules/shared/components/timezone-picker/timezone-picker.component.spec.ts +0 -25
  182. package/src/app/modules/shared/components/timezone-picker/timezone-picker.component.ts +0 -251
  183. package/src/app/modules/shared/factory/template-representation.factory.ts +0 -323
  184. package/src/app/modules/shared/handler/component-type.handler.ts +0 -51
  185. package/src/app/modules/shared/handler/data-object-builder.handler.ts +0 -159
  186. package/src/app/modules/shared/handler/data-object-data-value.handler.ts +0 -270
  187. package/src/app/modules/shared/handler/data-object-structure.handler.ts +0 -145
  188. package/src/app/modules/shared/handler/multi-instance-object.handler.ts +0 -317
  189. package/src/app/modules/shared/models/cedar-input-template.model.ts +0 -3
  190. package/src/app/modules/shared/models/cedar-model.model.ts +0 -48
  191. package/src/app/modules/shared/models/component/cedar-component.model.ts +0 -16
  192. package/src/app/modules/shared/models/component/component-representation.model.ts +0 -30
  193. package/src/app/modules/shared/models/component/element-component.model.ts +0 -11
  194. package/src/app/modules/shared/models/component/field-component.model.ts +0 -23
  195. package/src/app/modules/shared/models/component/multi-component.model.ts +0 -10
  196. package/src/app/modules/shared/models/component/null-component.model.ts +0 -20
  197. package/src/app/modules/shared/models/component/single-component.model.ts +0 -6
  198. package/src/app/modules/shared/models/element/abstract-element-component.model.ts +0 -26
  199. package/src/app/modules/shared/models/element/multi-element-component.model.ts +0 -19
  200. package/src/app/modules/shared/models/element/single-element-component.model.ts +0 -16
  201. package/src/app/modules/shared/models/enum/data-object-building-mode.model.ts +0 -6
  202. package/src/app/modules/shared/models/field/abstract-field-component.model.ts +0 -28
  203. package/src/app/modules/shared/models/field/multi-field-component.model.ts +0 -21
  204. package/src/app/modules/shared/models/field/single-field-component.model.ts +0 -18
  205. package/src/app/modules/shared/models/info/basic-info.model.ts +0 -8
  206. package/src/app/modules/shared/models/info/choice-info.model.ts +0 -9
  207. package/src/app/modules/shared/models/info/choice-option.model.ts +0 -6
  208. package/src/app/modules/shared/models/info/content-info.model.ts +0 -5
  209. package/src/app/modules/shared/models/info/controlled-info.model.ts +0 -8
  210. package/src/app/modules/shared/models/info/current-multi-info.model.ts +0 -7
  211. package/src/app/modules/shared/models/info/label-info.model.ts +0 -7
  212. package/src/app/modules/shared/models/info/multi-info.model.ts +0 -10
  213. package/src/app/modules/shared/models/info/multi-instance-info.model.ts +0 -20
  214. package/src/app/modules/shared/models/info/multi-instance-object-info.model.ts +0 -30
  215. package/src/app/modules/shared/models/info/number-info.model.ts +0 -9
  216. package/src/app/modules/shared/models/info/value-info.model.ts +0 -9
  217. package/src/app/modules/shared/models/input-type.model.ts +0 -21
  218. package/src/app/modules/shared/models/instance-extract-data.model.ts +0 -3
  219. package/src/app/modules/shared/models/instance-full-data.model.ts +0 -5
  220. package/src/app/modules/shared/models/javascript-types.model.ts +0 -7
  221. package/src/app/modules/shared/models/json-schema.model.ts +0 -39
  222. package/src/app/modules/shared/models/numbers.model.ts +0 -10
  223. package/src/app/modules/shared/models/rest/integrated-search/integrated-search-request-parameter-object.ts +0 -8
  224. package/src/app/modules/shared/models/rest/integrated-search/integrated-search-request-value-constraints.ts +0 -8
  225. package/src/app/modules/shared/models/rest/integrated-search/integrated-search-request.ts +0 -9
  226. package/src/app/modules/shared/models/rest/integrated-search/integrated-search-response-item.ts +0 -10
  227. package/src/app/modules/shared/models/rest/integrated-search/integrated-search-response.ts +0 -13
  228. package/src/app/modules/shared/models/static/static-field-component.model.ts +0 -24
  229. package/src/app/modules/shared/models/template/cedar-template.model.ts +0 -24
  230. package/src/app/modules/shared/models/template/empty-template.model.ts +0 -5
  231. package/src/app/modules/shared/models/template/null-template.model.ts +0 -23
  232. package/src/app/modules/shared/models/template/template-component.model.ts +0 -12
  233. package/src/app/modules/shared/models/temporal.model.ts +0 -13
  234. package/src/app/modules/shared/models/ui/cedar-ui-component.model.ts +0 -17
  235. package/src/app/modules/shared/models/xsd.model.ts +0 -11
  236. package/src/app/modules/shared/pipe/keep-html.pipe.ts +0 -13
  237. package/src/app/modules/shared/pipe/rdf.pipe.ts +0 -10
  238. package/src/app/modules/shared/service/active-component-registry.service.ts +0 -134
  239. package/src/app/modules/shared/service/component-data.service.ts +0 -25
  240. package/src/app/modules/shared/service/controlled-field-data.service.ts +0 -37
  241. package/src/app/modules/shared/service/date-time/custom-date-adapter.ts +0 -19
  242. package/src/app/modules/shared/service/date-time/date-time.service.ts +0 -30
  243. package/src/app/modules/shared/service/local-settings.service.ts +0 -22
  244. package/src/app/modules/shared/service/message-handler.service.ts +0 -35
  245. package/src/app/modules/shared/service/page-break-paginator.service.ts +0 -78
  246. package/src/app/modules/shared/shared.module.ts +0 -97
  247. package/src/app/modules/shared/util/data-context.ts +0 -42
  248. package/src/app/modules/shared/util/data-object-util.ts +0 -102
  249. package/src/app/modules/shared/util/handler-context.ts +0 -81
  250. package/src/app/modules/shared/util/template-object-util.ts +0 -21
  251. package/src/assets/.gitkeep +0 -0
  252. package/src/environments/environment.prod.ts +0 -5
  253. package/src/environments/environment.ts +0 -18
  254. package/src/main.ts +0 -28
  255. package/src/polyfills.ts +0 -65
  256. package/src/styles-own.scss +0 -352
  257. package/src/styles.scss +0 -116
  258. package/src/test.ts +0 -25
  259. package/tsconfig.app.json +0 -16
  260. package/tsconfig.base.json +0 -20
  261. package/tsconfig.json +0 -20
  262. package/tsconfig.spec.json +0 -18
  263. package/tslint.json +0 -152
  264. /package/{src/assets/fonts/MaterialIcons-Regular.eot → MaterialIcons-Regular.eot} +0 -0
  265. /package/{src/assets/fonts/MaterialIcons-Regular.ttf → MaterialIcons-Regular.ttf} +0 -0
  266. /package/{src/assets/fonts/MaterialIcons-Regular.woff → MaterialIcons-Regular.woff} +0 -0
  267. /package/{src/assets/fonts/MaterialIcons-Regular.woff2 → MaterialIcons-Regular.woff2} +0 -0
  268. /package/{src/assets → assets}/i18n-cee/en.json +0 -0
  269. /package/{src/assets → assets}/i18n-cee/hu.json +0 -0
  270. /package/{src/assets → assets}/images/bmir-logo.png +0 -0
  271. /package/{src/assets → assets}/images/cedar-logo-80x80.png +0 -0
  272. /package/{src/favicon.ico → favicon.ico} +0 -0
@@ -1,94 +0,0 @@
1
- import {Component, Input, OnInit, ViewEncapsulation} from '@angular/core';
2
- import {FormBuilder, FormControl, FormGroup, FormGroupDirective, NgForm, Validators} from '@angular/forms';
3
- import {ErrorStateMatcher} from '@angular/material/core';
4
- import {CedarUIComponent} from '../../../shared/models/ui/cedar-ui-component.model';
5
- import {FieldComponent} from '../../../shared/models/component/field-component.model';
6
- import {ActiveComponentRegistryService} from '../../../shared/service/active-component-registry.service';
7
- import {HandlerContext} from '../../../shared/util/handler-context';
8
- import {ComponentDataService} from '../../../shared/service/component-data.service';
9
-
10
- export class TextFieldErrorStateMatcher implements ErrorStateMatcher {
11
- isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean {
12
- return !!(control && control.invalid && (control.dirty || control.touched));
13
- }
14
- }
15
-
16
- @Component({
17
- selector: 'app-cedar-input-phone',
18
- templateUrl: './cedar-input-phone.component.html',
19
- styleUrls: ['./cedar-input-phone.component.scss'],
20
- encapsulation: ViewEncapsulation.None
21
- })
22
- export class CedarInputPhoneComponent extends CedarUIComponent implements OnInit {
23
-
24
- component: FieldComponent;
25
- options: FormGroup;
26
- inputValueControl = new FormControl(null, null);
27
- errorStateMatcher = new TextFieldErrorStateMatcher();
28
- @Input() handlerContext: HandlerContext;
29
-
30
- constructor(
31
- fb: FormBuilder,
32
- public cds: ComponentDataService,
33
- private activeComponentRegistry: ActiveComponentRegistryService
34
- ) {
35
- super();
36
- this.options = fb.group({
37
- inputValue: this.inputValueControl,
38
- });
39
- }
40
-
41
- ngOnInit(): void {
42
- const validators: any[] = [];
43
-
44
- const reg = /^[\+0-9\s\-\(\)]+$/im;
45
- validators.push(Validators.pattern(reg));
46
-
47
- if (this.component.valueInfo.requiredValue) {
48
- validators.push(Validators.required);
49
- }
50
-
51
- this.inputValueControl = new FormControl(null, validators);
52
-
53
- if (this.component.valueInfo.defaultValue != null) {
54
- this.setValueUIAndModel(this.component.valueInfo.defaultValue);
55
- }
56
- }
57
-
58
- @Input() set componentToRender(componentToRender: FieldComponent) {
59
- this.component = componentToRender;
60
- this.activeComponentRegistry.registerComponent(this.component, this);
61
- }
62
-
63
- inputChanged($event: Event): void {
64
- let val = ($event.target as HTMLTextAreaElement).value;
65
-
66
- if (val.length === 0) {
67
- val = null;
68
- }
69
-
70
- this.handlerContext.changeValue(this.component, val);
71
- }
72
-
73
- setCurrentValue(currentValue: any): void {
74
- this.inputValueControl.setValue(currentValue);
75
- }
76
-
77
- clearValue(): void {
78
- this.setValueUIAndModel(null);
79
- }
80
-
81
- private setValueUIAndModel(value: string): void {
82
- this.inputValueControl.setValue(value);
83
- this.handlerContext.changeValue(this.component, value);
84
- }
85
-
86
- getCharCountHint(): string {
87
- let len = 0;
88
- if (this.inputValueControl.value != null) {
89
- len = this.inputValueControl.value.length;
90
- }
91
- const s = '' + len;
92
- return s;
93
- }
94
- }
@@ -1,19 +0,0 @@
1
- <form class="form-container" [formGroup]="options">
2
- <mat-form-field class="full-width">
3
- <!-- <mat-label>{{cds.getRenderingLabelForComponent(component)}}</mat-label>-->
4
- <mat-select #inputSelect
5
- [formControl]="inputValueControl"
6
- [errorStateMatcher]="errorStateMatcher"
7
- multiple="{{component.choiceInfo.multipleChoice}}"
8
- (selectionChange)="inputChanged()"
9
- [aria-label]=cds.getRenderingLabelForComponent(component)>
10
- <mat-option *ngFor="let option of dropdownList" [value]="option.id"
11
- >{{option.label}}</mat-option>
12
- </mat-select>
13
- <button type="button" tabindex="0" mat-button *ngIf="inputValueControl.value" matSuffix mat-icon-button attr.aria-label="{{'Generic.Clear' | translate}}" (click)="clearValue($event)">
14
- <mat-icon>close</mat-icon>
15
- </button>
16
- <mat-error tabindex="0" align="start" *ngIf="inputValueControl.hasError('required')" class="mat-error">{{'Validation.Required' | translate}}</mat-error>
17
- <mat-hint *ngIf=maxSelections!==undefined>{{'Validation.Select.MaxSelection' | translate: {maxSelections} }}</mat-hint>
18
- </mat-form-field>
19
- </form>
@@ -1,25 +0,0 @@
1
- import {ComponentFixture, TestBed} from '@angular/core/testing';
2
-
3
- import {CedarInputSelectComponent} from './cedar-input-select.component';
4
-
5
- describe('CedarInputSelectComponent', () => {
6
- let component: CedarInputSelectComponent;
7
- let fixture: ComponentFixture<CedarInputSelectComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [CedarInputSelectComponent]
12
- })
13
- .compileComponents();
14
- });
15
-
16
- beforeEach(() => {
17
- fixture = TestBed.createComponent(CedarInputSelectComponent);
18
- component = fixture.componentInstance;
19
- fixture.detectChanges();
20
- });
21
-
22
- it('should create', () => {
23
- expect(component).toBeTruthy();
24
- });
25
- });
@@ -1,108 +0,0 @@
1
- import {Component, Input, OnInit, ViewEncapsulation, ViewChild} from '@angular/core';
2
- import {FormBuilder, FormControl, FormGroup, FormGroupDirective, NgForm, Validators} from '@angular/forms';
3
- import {ErrorStateMatcher} from '@angular/material/core';
4
- import {FieldComponent} from '../../../shared/models/component/field-component.model';
5
- import {CedarUIComponent} from '../../../shared/models/ui/cedar-ui-component.model';
6
- import {ActiveComponentRegistryService} from '../../../shared/service/active-component-registry.service';
7
- import {HandlerContext} from '../../../shared/util/handler-context';
8
- import {ComponentDataService} from '../../../shared/service/component-data.service';
9
- export class TextFieldErrorStateMatcher implements ErrorStateMatcher {
10
- isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean {
11
- return !!(control && control.invalid && (control.dirty || control.touched));
12
- }
13
- }
14
- @Component({
15
- selector: 'app-cedar-input-select',
16
- templateUrl: './cedar-input-select.component.html',
17
- styleUrls: ['./cedar-input-select.component.scss'],
18
- encapsulation: ViewEncapsulation.None
19
- })
20
- export class CedarInputSelectComponent extends CedarUIComponent implements OnInit {
21
- @ViewChild('inputSelect') selectElement;
22
- readonly ITEM_ID_FIELD = 'id';
23
- readonly ITEM_TEXT_FIELD = 'label';
24
-
25
- component: FieldComponent;
26
- dropdownList = [];
27
- selectedItems: any;
28
- options: FormGroup;
29
- inputValueControl = new FormControl(null, null);
30
- errorStateMatcher = new TextFieldErrorStateMatcher();
31
- selections: string[];
32
- maxSelections: number;
33
- @Input() handlerContext: HandlerContext;
34
-
35
- constructor(private activeComponentRegistry: ActiveComponentRegistryService, public cds: ComponentDataService, fb: FormBuilder) {
36
- super();
37
- this.options = fb.group({
38
- inputValue: this.inputValueControl,
39
- });
40
- }
41
- ngOnInit(): void {
42
- this.populateItemsOnLoad();
43
- const validators: any[] = [];
44
-
45
- if (this.component.valueInfo.requiredValue) {
46
- validators.push(Validators.required);
47
- }
48
- this.inputValueControl = new FormControl(null, validators);
49
- }
50
-
51
- @Input() set componentToRender(componentToRender: FieldComponent) {
52
- this.component = componentToRender;
53
- this.activeComponentRegistry.registerComponent(this.component, this);
54
- this.maxSelections = this.component.multiInfo.maxItems;
55
- }
56
-
57
- inputChanged(): void {
58
- const values = this.inputValueControl.value || [];
59
- if ( this.maxSelections === undefined || (values && values.length <= this.maxSelections) ){
60
- this.selections = values;
61
- } else {
62
- this.inputValueControl.setValue(this.selections);
63
- }
64
- // close dropdown if max selections reached
65
- if (this.selectElement && this.maxSelections !== undefined && (values && values.length === this.maxSelections)){
66
- this.selectElement.close();
67
- }
68
- this.changeValue(this.selections);
69
- }
70
-
71
- setCurrentValue(currentValue: any): void {
72
- this.inputValueControl.setValue(currentValue);
73
- }
74
- private populateItemsOnLoad(): void {
75
- const multi = this.component.choiceInfo.multipleChoice;
76
- if (multi) {
77
- this.selectedItems = [];
78
- }
79
- for (const choice of this.component.choiceInfo.choices) {
80
- const entry = {};
81
- entry[this.ITEM_ID_FIELD] = choice.label;
82
- entry[this.ITEM_TEXT_FIELD] = choice.label;
83
- this.dropdownList.push(entry);
84
-
85
- if (choice.selectedByDefault) {
86
- if (multi) {
87
- this.selectedItems.push(entry);
88
- } else {
89
- this.selectedItems = entry;
90
- }
91
- }
92
- }
93
- this.inputChanged();
94
- }
95
- clearValue($event): void {
96
- $event.stopPropagation();
97
- this.inputValueControl.setValue([]);
98
- this.changeValue([]);
99
- }
100
- changeValue(values): void{
101
- const multi = this.component.choiceInfo.multipleChoice;
102
- if (multi) {
103
- this.handlerContext.changeListValue(this.component, values);
104
- } else {
105
- this.handlerContext.changeValue(this.component, values[0]);
106
- }
107
- }
108
- }
@@ -1,25 +0,0 @@
1
- <form class="form-container" [formGroup]="options">
2
- <mat-form-field class="full-width">
3
- <!-- <mat-label>{{cds.getRenderingLabelForComponent(component)}}</mat-label>-->
4
- <input matInput type="text" *ngIf="component.basicInfo.inputType==inputText"
5
- [formControl]="inputValueControl"
6
- [errorStateMatcher]="errorStateMatcher"
7
- (input)="inputChanged($event)"
8
- attr.aria-label="{{cds.getRenderingLabelForComponent(component)}}">
9
- <textarea matInput type="text" *ngIf="component.basicInfo.inputType==inputTextarea"
10
- cdkTextareaAutosize
11
- cdkAutosizeMinRows="6"
12
- [formControl]="inputValueControl"
13
- [errorStateMatcher]="errorStateMatcher"
14
- (input)="inputChanged($event)"
15
- attr.aria-label="{{cds.getRenderingLabelForComponent(component)}}"></textarea>
16
- <button type="button" tabindex="0" mat-button *ngIf="inputValueControl.value" matSuffix mat-icon-button attr.aria-label="{{'Generic.Clear' | translate}}" (click)="clearValue()">
17
- <mat-icon>close</mat-icon>
18
- </button>
19
- <mat-error *ngIf="inputValueControl.getError('minlength')">{{'Validation.Text.MinLength' | translate: {constraintMinLength} }}</mat-error>
20
- <mat-error *ngIf="inputValueControl.getError('maxlength')">{{'Validation.Text.MaxLength' | translate: {constraintMaxLength} }}</mat-error>
21
- <mat-error *ngIf="inputValueControl.hasError('required')">{{'Validation.Required' | translate}}</mat-error>
22
- <mat-hint align="end">{{getCharCountHint()}}</mat-hint>
23
- </mat-form-field>
24
- </form>
25
-
@@ -1,25 +0,0 @@
1
- import {ComponentFixture, TestBed} from '@angular/core/testing';
2
-
3
- import {CedarInputTextComponent} from './cedar-input-text.component';
4
-
5
- describe('CedarInputTextComponent', () => {
6
- let component: CedarInputTextComponent;
7
- let fixture: ComponentFixture<CedarInputTextComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [CedarInputTextComponent]
12
- })
13
- .compileComponents();
14
- });
15
-
16
- beforeEach(() => {
17
- fixture = TestBed.createComponent(CedarInputTextComponent);
18
- component = fixture.componentInstance;
19
- fixture.detectChanges();
20
- });
21
-
22
- it('should create', () => {
23
- expect(component).toBeTruthy();
24
- });
25
- });
@@ -1,125 +0,0 @@
1
- import {Component, Input, OnInit, ViewEncapsulation} from '@angular/core';
2
- import {FieldComponent} from '../../../shared/models/component/field-component.model';
3
- import {FormBuilder, FormControl, FormGroup, FormGroupDirective, NgForm, Validators} from '@angular/forms';
4
- import {ComponentDataService} from '../../../shared/service/component-data.service';
5
- import {CedarUIComponent} from '../../../shared/models/ui/cedar-ui-component.model';
6
- import {ActiveComponentRegistryService} from '../../../shared/service/active-component-registry.service';
7
- import {HandlerContext} from '../../../shared/util/handler-context';
8
- import {ErrorStateMatcher} from '@angular/material/core';
9
- import {InputType} from '../../../shared/models/input-type.model';
10
-
11
- export class TextFieldErrorStateMatcher implements ErrorStateMatcher {
12
- isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean {
13
- return !!(control && control.invalid && (control.dirty || control.touched));
14
- }
15
- }
16
-
17
- @Component({
18
- selector: 'app-cedar-input-text',
19
- templateUrl: './cedar-input-text.component.html',
20
- styleUrls: ['./cedar-input-text.component.scss'],
21
- encapsulation: ViewEncapsulation.None
22
- })
23
- export class CedarInputTextComponent extends CedarUIComponent implements OnInit {
24
-
25
- component: FieldComponent;
26
- options: FormGroup;
27
- inputValueControl = new FormControl(null, null);
28
- errorStateMatcher = new TextFieldErrorStateMatcher();
29
- constraintMinLength = null;
30
- constraintMaxLength = null;
31
- @Input() handlerContext: HandlerContext;
32
- inputText = InputType.text;
33
- inputTextarea = InputType.textarea;
34
-
35
- constructor(
36
- fb: FormBuilder,
37
- public cds: ComponentDataService,
38
- private activeComponentRegistry: ActiveComponentRegistryService
39
- ) {
40
- super();
41
- this.options = fb.group({
42
- inputValue: this.inputValueControl,
43
- });
44
- }
45
-
46
- ngOnInit(): void {
47
- const validators: any[] = [];
48
-
49
- this.constraintMinLength = this.component.valueInfo.minLength;
50
-
51
- if (this.constraintMinLength != null) {
52
- validators.push(Validators.minLength(this.constraintMinLength));
53
- }
54
- this.constraintMaxLength = this.component.valueInfo.maxLength;
55
-
56
- if (this.constraintMaxLength != null) {
57
- validators.push(Validators.maxLength(this.constraintMaxLength));
58
- }
59
-
60
- if (this.component.valueInfo.requiredValue) {
61
- validators.push(Validators.required);
62
- }
63
- this.inputValueControl = new FormControl(null, validators);
64
-
65
- if (this.component.valueInfo.defaultValue != null) {
66
- this.setValueUIAndModel(this.component.valueInfo.defaultValue);
67
- }
68
- }
69
-
70
- @Input() set componentToRender(componentToRender: FieldComponent) {
71
- this.component = componentToRender;
72
- this.activeComponentRegistry.registerComponent(this.component, this);
73
- }
74
-
75
- inputChanged($event: Event): void {
76
- let val = ($event.target as HTMLTextAreaElement).value;
77
-
78
- if (val.length === 0) {
79
- val = null;
80
- }
81
-
82
- this.handlerContext.changeValue(this.component, val);
83
- }
84
-
85
- setCurrentValue(currentValue: any): void {
86
- this.inputValueControl.setValue(currentValue);
87
- }
88
-
89
- clearValue(): void {
90
- this.setValueUIAndModel(null);
91
- }
92
-
93
- private setValueUIAndModel(value: string): void {
94
- this.inputValueControl.setValue(value);
95
- this.handlerContext.changeValue(this.component, value);
96
- }
97
-
98
- getCharCountHint(): string {
99
- let len = 0;
100
- if (this.inputValueControl.value != null) {
101
- len = this.inputValueControl.value.length;
102
- }
103
- let s = '' + len;
104
- let min = null;
105
- let max = null;
106
- if (this.component.valueInfo.minLength != null) {
107
- min = this.component.valueInfo.minLength;
108
- }
109
- if (this.component.valueInfo.maxLength != null) {
110
- max = this.component.valueInfo.maxLength;
111
- }
112
- if (min != null || max != null) {
113
- s += ' / ';
114
- if (min != null) {
115
- s += min + ' ';
116
- }
117
- s += ' - ';
118
- if (max != null) {
119
- s += max;
120
- }
121
- }
122
- return s;
123
- }
124
-
125
- }
@@ -1,8 +0,0 @@
1
- <mat-card class="child-component-card image-component">
2
- <div role="img" attr.aria-label="{{component.labelInfo.description}}">
3
- <img mat-card-image src="{{component.contentInfo.content}}" alt="{{component.labelInfo.description}}" />
4
- </div>
5
- <mat-card-content>
6
- {{component.labelInfo.description}}
7
- </mat-card-content>
8
- </mat-card>
@@ -1,24 +0,0 @@
1
- import {ComponentFixture, TestBed} from '@angular/core/testing';
2
- import {CedarStaticImageComponent} from './cedar-static-image.component';
3
-
4
- describe('CedarStaticImageComponent', () => {
5
- let component: CedarStaticImageComponent;
6
- let fixture: ComponentFixture<CedarStaticImageComponent>;
7
-
8
- beforeEach(async () => {
9
- await TestBed.configureTestingModule({
10
- declarations: [CedarStaticImageComponent]
11
- })
12
- .compileComponents();
13
- });
14
-
15
- beforeEach(() => {
16
- fixture = TestBed.createComponent(CedarStaticImageComponent);
17
- component = fixture.componentInstance;
18
- fixture.detectChanges();
19
- });
20
-
21
- it('should create', () => {
22
- expect(component).toBeTruthy();
23
- });
24
- });
@@ -1,40 +0,0 @@
1
- import {Component, Input, OnInit, ViewEncapsulation} from '@angular/core';
2
- import {FormBuilder} from '@angular/forms';
3
- import {ComponentDataService} from '../../../shared/service/component-data.service';
4
- import {CedarUIComponent} from '../../../shared/models/ui/cedar-ui-component.model';
5
- import {ActiveComponentRegistryService} from '../../../shared/service/active-component-registry.service';
6
- import {HandlerContext} from '../../../shared/util/handler-context';
7
- import {StaticFieldComponent} from '../../../shared/models/static/static-field-component.model';
8
-
9
- @Component({
10
- selector: 'app-cedar-static-image',
11
- templateUrl: './cedar-static-image.component.html',
12
- styleUrls: ['./cedar-static-image.component.scss'],
13
- encapsulation: ViewEncapsulation.None
14
- })
15
- export class CedarStaticImageComponent extends CedarUIComponent implements OnInit {
16
-
17
- component: StaticFieldComponent;
18
- @Input() handlerContext: HandlerContext;
19
-
20
- constructor(
21
- fb: FormBuilder,
22
- public cds: ComponentDataService,
23
- private activeComponentRegistry: ActiveComponentRegistryService
24
- ) {
25
- super();
26
- }
27
-
28
- ngOnInit(): void {
29
- }
30
-
31
- @Input() set componentToRender(componentToRender: StaticFieldComponent) {
32
- this.component = componentToRender;
33
- this.activeComponentRegistry.registerComponent(this.component, this);
34
- }
35
-
36
- setCurrentValue(currentValue: any): void {
37
- // DO NOTHING
38
- }
39
-
40
- }
@@ -1,20 +0,0 @@
1
- <div class="pager-container page-break-paginator-container">
2
- <span class="page-break-label">{{'Generic.Page' | translate}}:</span>
3
- <div class="pager-chips">
4
- <mat-chip-list>
5
- <mat-chip *ngFor="let pageNumber of pageBreakPaginatorService.allPageIndices()"
6
- [selected]="pageNumber == pageBreakPaginatorService.currentPageBreakIndex"
7
- (click)="pageBreakPaginatorService.page(pageNumber)"
8
- selectable="true"
9
- >{{pageNumber + 1}}</mat-chip>
10
- </mat-chip-list>
11
- </div>
12
- <div class="page-break-pager">
13
- <mat-paginator [length]="pageBreakPaginatorService.numPages()"
14
- [hidePageSize]="true"
15
- [pageSize]="1"
16
- [pageIndex]="pageBreakPaginatorService.currentPageBreakIndex"
17
- (page)="paginatorChanged($event)">
18
- </mat-paginator>
19
- </div>
20
- </div>
@@ -1,24 +0,0 @@
1
- .page-break-paginator-container {
2
- margin-top: 0;
3
- margin-bottom: 0;
4
-
5
- .pager-chips {
6
- margin-right: 0;
7
- }
8
- }
9
-
10
- .page-break-pager {
11
- .mat-paginator {
12
- background-color: transparent;
13
- }
14
-
15
- .mat-paginator-range-label {
16
- display: none;
17
- }
18
- }
19
-
20
- .page-break-label {
21
- font-size: 16px;
22
- font-weight: bold;
23
- margin-right: 20px;
24
- }
@@ -1,25 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { CedarStaticPageBreakComponent } from './cedar-static-page-break.component';
4
-
5
- describe('CedarStaticPageBreakComponent', () => {
6
- let component: CedarStaticPageBreakComponent;
7
- let fixture: ComponentFixture<CedarStaticPageBreakComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ CedarStaticPageBreakComponent ]
12
- })
13
- .compileComponents();
14
- });
15
-
16
- beforeEach(() => {
17
- fixture = TestBed.createComponent(CedarStaticPageBreakComponent);
18
- component = fixture.componentInstance;
19
- fixture.detectChanges();
20
- });
21
-
22
- it('should create', () => {
23
- expect(component).toBeTruthy();
24
- });
25
- });
@@ -1,36 +0,0 @@
1
- import {Component, Injectable, Input, OnInit, ViewEncapsulation} from '@angular/core';
2
- import {DataContext} from '../../../shared/util/data-context';
3
- import {MatPaginatorIntl} from '@angular/material/paginator';
4
- import {PageBreakPaginatorService} from '../../../shared/service/page-break-paginator.service';
5
-
6
- @Injectable()
7
- export class CustomMatPaginatorIntl extends MatPaginatorIntl {
8
- getRangeLabel = (page: number, pageSize: number, length: number) => {
9
- return '';
10
- }
11
- }
12
-
13
- @Component({
14
- selector: 'app-cedar-static-page-break',
15
- templateUrl: './cedar-static-page-break.component.html',
16
- styleUrls: ['./cedar-static-page-break.component.scss'],
17
- encapsulation: ViewEncapsulation.None,
18
- providers: [{provide: MatPaginatorIntl, useClass: CustomMatPaginatorIntl}]
19
- })
20
- export class CedarStaticPageBreakComponent implements OnInit {
21
-
22
- @Input() dataContext: DataContext;
23
- @Input() pageBreakPaginatorService: PageBreakPaginatorService;
24
-
25
-
26
- constructor() {
27
- }
28
-
29
- ngOnInit(): void {
30
- }
31
-
32
- paginatorChanged(event): void {
33
- this.pageBreakPaginatorService.page(event.pageIndex);
34
- }
35
-
36
- }
@@ -1,2 +0,0 @@
1
- <p [innerHTML]="(component.contentInfo.content || '') | keepHtml"></p>
2
-
@@ -1,25 +0,0 @@
1
- import {ComponentFixture, TestBed} from '@angular/core/testing';
2
-
3
- import {CedarStaticRichTextComponent} from './cedar-static-rich-text.component';
4
-
5
- describe('CedarStaticRichTextComponent', () => {
6
- let component: CedarStaticRichTextComponent;
7
- let fixture: ComponentFixture<CedarStaticRichTextComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [CedarStaticRichTextComponent]
12
- })
13
- .compileComponents();
14
- });
15
-
16
- beforeEach(() => {
17
- fixture = TestBed.createComponent(CedarStaticRichTextComponent);
18
- component = fixture.componentInstance;
19
- fixture.detectChanges();
20
- });
21
-
22
- it('should create', () => {
23
- expect(component).toBeTruthy();
24
- });
25
- });