cedar-embeddable-editor 0.9.1 → 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,110 +0,0 @@
1
- .main__footer {
2
- margin: 30px auto 0px auto;
3
- max-width: 80%;
4
- padding-top:20px;
5
-
6
- @media only screen and (max-width: 300px) {
7
- max-width: 100%;
8
- padding: 0 10px;
9
- }
10
-
11
- @media only screen and (min-width: 301px) and (max-width: 600px) {
12
- max-width: calc(100% - 4em);
13
- }
14
-
15
- @media only screen and (min-width: 601px) and (max-width: 700px) {
16
- max-width: 580px;
17
- }
18
-
19
- @media only screen and (min-width: 701px) and (max-width: 1000px) {
20
- max-width: calc(80% - 4em);
21
- }
22
-
23
- @media only screen and (min-width: 1001px) {
24
- max-width: calc(1000px - 4em);
25
- }
26
-
27
- .flex {
28
- display: flex;
29
- justify-content: center;
30
- flex-wrap: wrap;
31
- }
32
- }
33
-
34
- .footer-title {
35
- font-weight: lighter;
36
- font-family: CrimsonText, serif;
37
- font-size: 34px;
38
- width: 100%;
39
- white-space: nowrap;
40
- text-overflow: ellipsis;
41
- margin-bottom: 0;
42
- }
43
-
44
- .paragraph__section {
45
- padding: 0;
46
- font-size: 1.2em;
47
- line-height: 1.2em;
48
- font-weight: lighter;
49
- }
50
-
51
- .form__section {
52
- position: relative;
53
- padding: 3em;
54
- display: flex;
55
- flex-direction: row;
56
- justify-content: center;
57
- flex-wrap: wrap;
58
-
59
- .disclaimer {
60
- color: rgba(0, 0, 0, 0.54);
61
- padding: 10px;
62
- font-size: .8em;
63
- }
64
-
65
- .subscribe {
66
- display: flex;
67
- justify-content: center;
68
- width: 25em;
69
- border: 1px solid rgba(0, 0, 0, 0.1);
70
- -webkit-box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.1);
71
- -moz-box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.1);
72
- box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.1);
73
- box-sizing: content-box;
74
- border-radius: 4px;
75
- vertical-align: middle;
76
-
77
- input, input:active {
78
- width: 14em;
79
- border-width: 0px;
80
- padding: 20px;
81
- margin: 4px;
82
- }
83
-
84
- button {
85
- margin: 5px;
86
- }
87
- }
88
- }
89
-
90
- .copyright__text {
91
- letter-spacing: 0.1rem;
92
- color: white;
93
- }
94
-
95
- .wide-container {
96
- background: #e8e8e8;
97
- }
98
-
99
- img.bmir-logo {
100
- float: right;
101
- margin-bottom: 20px;
102
- width: 120px;
103
- }
104
-
105
- a {
106
- text-decoration: none;
107
- &:hover {
108
- text-decoration: underline;
109
- }
110
- }
@@ -1,25 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { StaticFooterComponent } from './static-footer.component';
4
-
5
- describe('StaticFooterComponent', () => {
6
- let component: StaticFooterComponent;
7
- let fixture: ComponentFixture<StaticFooterComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ StaticFooterComponent ]
12
- })
13
- .compileComponents();
14
- });
15
-
16
- beforeEach(() => {
17
- fixture = TestBed.createComponent(StaticFooterComponent);
18
- component = fixture.componentInstance;
19
- fixture.detectChanges();
20
- });
21
-
22
- it('should create', () => {
23
- expect(component).toBeTruthy();
24
- });
25
- });
@@ -1,16 +0,0 @@
1
- import {Component, OnInit, ViewEncapsulation} from '@angular/core';
2
-
3
- @Component({
4
- selector: 'app-static-footer',
5
- templateUrl: './static-footer.component.html',
6
- styleUrls: ['./static-footer.component.scss'],
7
- encapsulation: ViewEncapsulation.None
8
- })
9
- export class StaticFooterComponent implements OnInit {
10
-
11
- constructor() { }
12
-
13
- ngOnInit(): void {
14
- }
15
-
16
- }
@@ -1,10 +0,0 @@
1
- <mat-toolbar color="primary" style="height:75px;">
2
- <span class="cedar-logo"></span>
3
- <span style="margin-left:5px;">{{'App.Title' | translate}}</span>
4
- <span class="toolbar-spacer"></span>
5
- <span class="sample-templates-flex" *ngIf="showSampleTemplateLinks">
6
- <app-sample-template-select
7
- [callbackOwnerObject]="callbackOwnerObject"
8
- ></app-sample-template-select>
9
- </span>
10
- </mat-toolbar>
@@ -1,13 +0,0 @@
1
- .sample-templates-flex {
2
- flex: auto;
3
-
4
- .mat-form-field {
5
- font-size: 85%;
6
- }
7
-
8
- .mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label {
9
- display: none;
10
- }
11
- }
12
-
13
-
@@ -1,25 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { StaticHeaderComponent } from './static-header.component';
4
-
5
- describe('StaticHeaderComponent', () => {
6
- let component: StaticHeaderComponent;
7
- let fixture: ComponentFixture<StaticHeaderComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ StaticHeaderComponent ]
12
- })
13
- .compileComponents();
14
- });
15
-
16
- beforeEach(() => {
17
- fixture = TestBed.createComponent(StaticHeaderComponent);
18
- component = fixture.componentInstance;
19
- fixture.detectChanges();
20
- });
21
-
22
- it('should create', () => {
23
- expect(component).toBeTruthy();
24
- });
25
- });
@@ -1,21 +0,0 @@
1
- import {Component, Input, OnInit, ViewEncapsulation} from '@angular/core';
2
-
3
- @Component({
4
- selector: 'app-static-header',
5
- templateUrl: './static-header.component.html',
6
- styleUrls: ['./static-header.component.scss'],
7
- encapsulation: ViewEncapsulation.None
8
- })
9
- export class StaticHeaderComponent implements OnInit {
10
-
11
- @Input() callbackOwnerObject: any = null;
12
- @Input() showSampleTemplateLinks: boolean = null;
13
-
14
-
15
- constructor() {
16
- }
17
-
18
- ngOnInit(): void {
19
- }
20
-
21
- }
@@ -1,16 +0,0 @@
1
- <div class="wrapper" [formGroup]="form">
2
- <ng-select [formControlName]="'timezone'"
3
- [items]="timeZones"
4
- [clearable]="clearable"
5
- [virtualScroll]="virtualScroll"
6
- bindLabel="label"
7
- [placeholder]="customPlaceholderText"
8
- [notFoundText]="customNotFoundText"
9
- [appearance]="config.appearance"
10
- [appendTo]="config.appendTo"
11
- [clearOnBackspace]="config.clearOnBackspace"
12
- [closeOnSelect]="config.closeOnSelect"
13
- [dropdownPosition]="config.dropdownPosition"
14
- [hideSelected]="config.hideSelected">
15
- </ng-select>
16
- </div>
@@ -1,25 +0,0 @@
1
- import {ComponentFixture, TestBed} from '@angular/core/testing';
2
-
3
- import {TimezonePickerComponent} from './timezone-picker.component';
4
-
5
- describe('TimezonePickerComponent', () => {
6
- let component: TimezonePickerComponent;
7
- let fixture: ComponentFixture<TimezonePickerComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [TimezonePickerComponent]
12
- })
13
- .compileComponents();
14
- });
15
-
16
- beforeEach(() => {
17
- fixture = TestBed.createComponent(TimezonePickerComponent);
18
- component = fixture.componentInstance;
19
- fixture.detectChanges();
20
- });
21
-
22
- it('should create', () => {
23
- expect(component).toBeTruthy();
24
- });
25
- });
@@ -1,251 +0,0 @@
1
- import {
2
- AfterViewInit,
3
- Component,
4
- forwardRef,
5
- Input,
6
- OnChanges,
7
- OnDestroy,
8
- OnInit,
9
- SimpleChanges,
10
- ViewEncapsulation
11
- } from '@angular/core';
12
- import * as momentZone from 'moment-timezone';
13
- import {ControlValueAccessor, FormBuilder, FormGroup, NG_VALUE_ACCESSOR} from '@angular/forms';
14
- import {Subject} from 'rxjs';
15
- import {takeUntil} from 'rxjs/operators';
16
-
17
-
18
- export class TZone {
19
- id: string;
20
- label: string;
21
- }
22
-
23
-
24
- export interface SelectConfig {
25
- appearance: 'underline' | 'outline';
26
- appendTo: string;
27
- clearOnBackspace: boolean;
28
- closeOnSelect: boolean;
29
- dropdownPosition: 'auto' | 'bottom' | 'top';
30
- hideSelected: boolean;
31
- }
32
-
33
-
34
- @Component({
35
- selector: 'app-timezone-picker',
36
- templateUrl: './timezone-picker.component.html',
37
- styleUrls: ['./timezone-picker.component.scss'],
38
- providers: [
39
- {
40
- provide: NG_VALUE_ACCESSOR,
41
- useExisting: forwardRef(() => TimezonePickerComponent),
42
- multi: true
43
- }
44
- ],
45
- encapsulation: ViewEncapsulation.None
46
- })
47
- export class TimezonePickerComponent implements OnInit, AfterViewInit, OnDestroy, OnChanges, ControlValueAccessor {
48
-
49
- static readonly AVAILABLE_TIMEZONES = [
50
- {id: '-12:00', label: '(GMT -12:00) Eniwetok, Kwajalein'},
51
- {id: '-11:00', label: '(GMT -11:00) Midway Island, Samoa'},
52
- {id: '-10:00', label: '(GMT -10:00) Hawaii'},
53
- {id: '-09:30', label: '(GMT -9:30) Taiohae'},
54
- {id: '-09:00', label: '(GMT -9:00) Alaska'},
55
- {id: '-08:00', label: '(GMT -8:00) Pacific Time (US & Canada)'},
56
- {id: '-07:00', label: '(GMT -7:00) Mountain Time (US & Canada)'},
57
- {id: '-06:00', label: '(GMT -6:00) Central Time (US & Canada), Mexico City'},
58
- {id: '-05:00', label: '(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima'},
59
- {id: '-04:30', label: '(GMT -4:30) Caracas'},
60
- {id: '-04:00', label: '(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz'},
61
- {id: '-03:30', label: '(GMT -3:30) Newfoundland'},
62
- {id: '-03:00', label: '(GMT -3:00) Brazil, Buenos Aires, Georgetown'},
63
- {id: '-02:00', label: '(GMT -2:00) Mid-Atlantic'},
64
- {id: '-01:00', label: '(GMT -1:00) Azores, Cape Verde Islands'},
65
- {id: 'Z', label: '(GMT) Western Europe Time, London, Lisbon, Casablanca'},
66
- {id: '+01:00', label: '(GMT +1:00) Brussels, Copenhagen, Madrid, Paris'},
67
- {id: '+02:00', label: '(GMT +2:00) Kaliningrad, South Africa'},
68
- {id: '+03:00', label: '(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg'},
69
- {id: '+03:30', label: '(GMT +3:30) Tehran'},
70
- {id: '+04:00', label: '(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi'},
71
- {id: '+04:30', label: '(GMT +4:30) Kabul'},
72
- {id: '+05:00', label: '(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent'},
73
- {id: '+05:30', label: '(GMT +5:30) Bombay, Calcutta, Madras, New Delhi'},
74
- {id: '+05:45', label: '(GMT +5:45) Kathmandu, Pokhara'},
75
- {id: '+06:00', label: '(GMT +6:00) Almaty, Dhaka, Colombo'},
76
- {id: '+06:30', label: '(GMT +6:30) Yangon, Mandalay'},
77
- {id: '+07:00', label: '(GMT +7:00) Bangkok, Hanoi, Jakarta'},
78
- {id: '+08:00', label: '(GMT +8:00) Beijing, Perth, Singapore, Hong Kong'},
79
- {id: '+08:45', label: '(GMT +8:45) Eucla'},
80
- {id: '+09:00', label: '(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk'},
81
- {id: '+09:30', label: '(GMT +9:30) Adelaide, Darwin'},
82
- {id: '+10:00', label: '(GMT +10:00) Eastern Australia, Guam, Vladivostok'},
83
- {id: '+10:30', label: '(GMT +10:30) Lord Howe Island'},
84
- {id: '+11:00', label: '(GMT +11:00) Magadan, Solomon Islands, New Caledonia'},
85
- {id: '+11:30', label: '(GMT +11:30) Norfolk Island'},
86
- {id: '+12:00', label: '(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka'},
87
- {id: '+12:45', label: '(GMT +12:45) Chatham Islands'},
88
- {id: '+13:00', label: '(GMT +13:00) Apia, Nukualofa'},
89
- {id: '+14:00', label: '(GMT +14:00) Line Islands, Tokelau'}
90
- ];
91
-
92
-
93
- /**
94
- * Setup section.
95
- */
96
- @Input() getUserZone = false;
97
- @Input() customPlaceholderText = 'Choose...';
98
- @Input() customNotFoundText = 'No zone found';
99
- @Input() clearable = false;
100
- @Input() virtualScroll = true;
101
- @Input() disabled = false;
102
-
103
- @Input() set config(conf: SelectConfig) {
104
- this._config = conf;
105
- }
106
-
107
- private _config: SelectConfig = {
108
- hideSelected: false,
109
- dropdownPosition: 'auto',
110
- appearance: 'underline',
111
- clearOnBackspace: true,
112
- closeOnSelect: true,
113
- appendTo: null
114
- };
115
-
116
- get config(): SelectConfig {
117
- return this._config;
118
- }
119
-
120
- /**
121
- * Internals section.
122
- */
123
- timeZones: Array<any>;
124
- form: FormGroup;
125
- private propagateChange: (_: any) => {};
126
- private destroy$ = new Subject<void>();
127
-
128
- constructor(private fb: FormBuilder) {
129
- }
130
-
131
- static guessedUserZone(): TZone {
132
- const guessedZone = momentZone.tz.guess(true);
133
- return TimezonePickerComponent.findZone(guessedZone);
134
- }
135
-
136
- static findZone(zone: string): TZone {
137
- const allZones = JSON.parse(JSON.stringify(TimezonePickerComponent.AVAILABLE_TIMEZONES));
138
- const utc: string = momentZone.tz(zone).format('Z');
139
- return allZones.find(z => z.id === utc);
140
- }
141
-
142
- ngOnInit(): void {
143
- // make a copy of the list to avoid modifying the original timezones array
144
- this.timeZones = JSON.parse(JSON.stringify(TimezonePickerComponent.AVAILABLE_TIMEZONES));
145
- this.form = this.fb.group({
146
- timezone: []
147
- });
148
-
149
- /**
150
- * Value change subscription.
151
- */
152
- this.form.get('timezone').valueChanges
153
- .pipe(takeUntil(this.destroy$))
154
- .subscribe(() => this.fireChanges());
155
- }
156
-
157
- ngAfterViewInit(): void {
158
- this.guessUserTimezone();
159
- }
160
-
161
- ngOnDestroy(): void {
162
- this.destroy$.next();
163
- this.destroy$.complete();
164
- }
165
-
166
- private guessUserTimezone(): void {
167
- setTimeout(() => {
168
- if (this.getUserZone) {
169
- const guessedZone = TimezonePickerComponent.guessedUserZone();
170
- this.form.get('timezone').setValue(guessedZone);
171
- }
172
- });
173
- }
174
-
175
-
176
-
177
-
178
-
179
- // /**
180
- // * Make TZone object from simple string.
181
- // * @link ngOnInit
182
- // */
183
- // formatZone(zone: string): TZone {
184
- // const utc: string = momentZone.tz(zone).format('Z');
185
- // return this.timeZones.find(z => z.id === utc);
186
- // }
187
-
188
-
189
-
190
-
191
-
192
-
193
- /**
194
- * Propagate result to parent component.
195
- */
196
- private fireChanges(): void {
197
- if (this.propagateChange) {
198
- this.propagateChange(this.form.get('timezone').value);
199
- }
200
- }
201
-
202
- /**
203
- * Clear selection.
204
- */
205
- private clearZone(): void {
206
- this.form.get('timezone').setValue(null);
207
- }
208
-
209
- /**
210
- * Handle parent imports changes.
211
- */
212
- ngOnChanges(changes: SimpleChanges): void {
213
- if (changes.getUserZone && changes.getUserZone.currentValue) {
214
- this.guessUserTimezone();
215
- }
216
- if (changes.disabled) {
217
- setTimeout(() => {
218
- changes.disabled.currentValue ? this.form.get('timezone').disable() : this.form.get('timezone').enable();
219
- });
220
- }
221
- }
222
-
223
- registerOnChange(fn: any): void {
224
- this.propagateChange = fn;
225
- }
226
-
227
- registerOnTouched(fn: any): void {
228
- }
229
-
230
- /**
231
- * Handle parent model value changes.
232
- */
233
- writeValue(zone: string | TZone): void {
234
- if (zone) {
235
- let _zone: TZone = null;
236
-
237
- if (typeof zone === 'string' && zone.length > 0) {
238
- _zone = this.timeZones.find(z => z.id === zone);
239
- } else if (typeof zone === 'object') {
240
- _zone = this.timeZones.find(z => z.id === zone.id);
241
- }
242
-
243
- if (_zone) {
244
- this.form.get('timezone').setValue(_zone);
245
- }
246
- } else {
247
- this.clearZone();
248
- }
249
- }
250
-
251
- }