cedar-embeddable-editor 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) hide show
  1. package/.browserslistrc +18 -0
  2. package/.editorconfig +16 -0
  3. package/README.md +302 -0
  4. package/angular.json +153 -0
  5. package/cedar-embeddable-editor-0.9.0.tgz +0 -0
  6. package/e2e/protractor.conf.js +36 -0
  7. package/e2e/src/app.e2e-spec.ts +23 -0
  8. package/e2e/src/app.po.ts +11 -0
  9. package/e2e/tsconfig.json +14 -0
  10. package/karma.conf.js +32 -0
  11. package/license.txt +26 -0
  12. package/package.json +61 -0
  13. package/src/app/app.component.dev.ts +74 -0
  14. package/src/app/app.component.html +5 -0
  15. package/src/app/app.component.prod.ts +76 -0
  16. package/src/app/app.component.scss +1 -0
  17. package/src/app/app.module.dev.ts +58 -0
  18. package/src/app/app.module.prod.ts +56 -0
  19. package/src/app/modules/input-types/components/cedar-foo-bar/cedar-foo-bar.component.html +0 -0
  20. package/src/app/modules/input-types/components/cedar-foo-bar/cedar-foo-bar.component.scss +0 -0
  21. package/src/app/modules/input-types/components/cedar-foo-bar/cedar-foo-bar.component.spec.ts +24 -0
  22. package/src/app/modules/input-types/components/cedar-foo-bar/cedar-foo-bar.component.ts +39 -0
  23. package/src/app/modules/input-types/components/cedar-input-attribute-value/cedar-input-attribute-value.component.html +25 -0
  24. package/src/app/modules/input-types/components/cedar-input-attribute-value/cedar-input-attribute-value.component.scss +0 -0
  25. package/src/app/modules/input-types/components/cedar-input-attribute-value/cedar-input-attribute-value.component.spec.ts +25 -0
  26. package/src/app/modules/input-types/components/cedar-input-attribute-value/cedar-input-attribute-value.component.ts +91 -0
  27. package/src/app/modules/input-types/components/cedar-input-checkbox/cedar-input-checkbox.component.html +8 -0
  28. package/src/app/modules/input-types/components/cedar-input-checkbox/cedar-input-checkbox.component.scss +0 -0
  29. package/src/app/modules/input-types/components/cedar-input-checkbox/cedar-input-checkbox.component.spec.ts +25 -0
  30. package/src/app/modules/input-types/components/cedar-input-checkbox/cedar-input-checkbox.component.ts +104 -0
  31. package/src/app/modules/input-types/components/cedar-input-controlled/cedar-input-controlled.component.html +22 -0
  32. package/src/app/modules/input-types/components/cedar-input-controlled/cedar-input-controlled.component.scss +0 -0
  33. package/src/app/modules/input-types/components/cedar-input-controlled/cedar-input-controlled.component.spec.ts +24 -0
  34. package/src/app/modules/input-types/components/cedar-input-controlled/cedar-input-controlled.component.ts +135 -0
  35. package/src/app/modules/input-types/components/cedar-input-datetime/cedar-input-datetime.component.html +44 -0
  36. package/src/app/modules/input-types/components/cedar-input-datetime/cedar-input-datetime.component.scss +0 -0
  37. package/src/app/modules/input-types/components/cedar-input-datetime/cedar-input-datetime.component.spec.ts +25 -0
  38. package/src/app/modules/input-types/components/cedar-input-datetime/cedar-input-datetime.component.ts +451 -0
  39. package/src/app/modules/input-types/components/cedar-input-email/cedar-input-email.component.html +16 -0
  40. package/src/app/modules/input-types/components/cedar-input-email/cedar-input-email.component.scss +0 -0
  41. package/src/app/modules/input-types/components/cedar-input-email/cedar-input-email.component.spec.ts +25 -0
  42. package/src/app/modules/input-types/components/cedar-input-email/cedar-input-email.component.ts +91 -0
  43. package/src/app/modules/input-types/components/cedar-input-link/cedar-input-link.component.html +16 -0
  44. package/src/app/modules/input-types/components/cedar-input-link/cedar-input-link.component.scss +0 -0
  45. package/src/app/modules/input-types/components/cedar-input-link/cedar-input-link.component.spec.ts +25 -0
  46. package/src/app/modules/input-types/components/cedar-input-link/cedar-input-link.component.ts +92 -0
  47. package/src/app/modules/input-types/components/cedar-input-multiple-choice/cedar-input-multiple-choice.component.html +18 -0
  48. package/src/app/modules/input-types/components/cedar-input-multiple-choice/cedar-input-multiple-choice.component.scss +5 -0
  49. package/src/app/modules/input-types/components/cedar-input-multiple-choice/cedar-input-multiple-choice.component.spec.ts +25 -0
  50. package/src/app/modules/input-types/components/cedar-input-multiple-choice/cedar-input-multiple-choice.component.ts +78 -0
  51. package/src/app/modules/input-types/components/cedar-input-numeric/cedar-input-numeric.component.html +15 -0
  52. package/src/app/modules/input-types/components/cedar-input-numeric/cedar-input-numeric.component.scss +0 -0
  53. package/src/app/modules/input-types/components/cedar-input-numeric/cedar-input-numeric.component.spec.ts +25 -0
  54. package/src/app/modules/input-types/components/cedar-input-numeric/cedar-input-numeric.component.ts +169 -0
  55. package/src/app/modules/input-types/components/cedar-input-phone/cedar-input-phone.component.html +15 -0
  56. package/src/app/modules/input-types/components/cedar-input-phone/cedar-input-phone.component.scss +0 -0
  57. package/src/app/modules/input-types/components/cedar-input-phone/cedar-input-phone.component.spec.ts +25 -0
  58. package/src/app/modules/input-types/components/cedar-input-phone/cedar-input-phone.component.ts +94 -0
  59. package/src/app/modules/input-types/components/cedar-input-select/cedar-input-select.component.html +19 -0
  60. package/src/app/modules/input-types/components/cedar-input-select/cedar-input-select.component.scss +0 -0
  61. package/src/app/modules/input-types/components/cedar-input-select/cedar-input-select.component.spec.ts +25 -0
  62. package/src/app/modules/input-types/components/cedar-input-select/cedar-input-select.component.ts +108 -0
  63. package/src/app/modules/input-types/components/cedar-input-text/cedar-input-text.component.html +25 -0
  64. package/src/app/modules/input-types/components/cedar-input-text/cedar-input-text.component.scss +0 -0
  65. package/src/app/modules/input-types/components/cedar-input-text/cedar-input-text.component.spec.ts +25 -0
  66. package/src/app/modules/input-types/components/cedar-input-text/cedar-input-text.component.ts +125 -0
  67. package/src/app/modules/input-types/components/cedar-static-image/cedar-static-image.component.html +8 -0
  68. package/src/app/modules/input-types/components/cedar-static-image/cedar-static-image.component.scss +0 -0
  69. package/src/app/modules/input-types/components/cedar-static-image/cedar-static-image.component.spec.ts +24 -0
  70. package/src/app/modules/input-types/components/cedar-static-image/cedar-static-image.component.ts +40 -0
  71. package/src/app/modules/input-types/components/cedar-static-page-break/cedar-static-page-break.component.html +20 -0
  72. package/src/app/modules/input-types/components/cedar-static-page-break/cedar-static-page-break.component.scss +24 -0
  73. package/src/app/modules/input-types/components/cedar-static-page-break/cedar-static-page-break.component.spec.ts +25 -0
  74. package/src/app/modules/input-types/components/cedar-static-page-break/cedar-static-page-break.component.ts +36 -0
  75. package/src/app/modules/input-types/components/cedar-static-rich-text/cedar-static-rich-text.component.html +2 -0
  76. package/src/app/modules/input-types/components/cedar-static-rich-text/cedar-static-rich-text.component.scss +0 -0
  77. package/src/app/modules/input-types/components/cedar-static-rich-text/cedar-static-rich-text.component.spec.ts +25 -0
  78. package/src/app/modules/input-types/components/cedar-static-rich-text/cedar-static-rich-text.component.ts +35 -0
  79. package/src/app/modules/input-types/components/cedar-static-section-break/cedar-static-section-break.component.html +8 -0
  80. package/src/app/modules/input-types/components/cedar-static-section-break/cedar-static-section-break.component.scss +0 -0
  81. package/src/app/modules/input-types/components/cedar-static-section-break/cedar-static-section-break.component.spec.ts +24 -0
  82. package/src/app/modules/input-types/components/cedar-static-section-break/cedar-static-section-break.component.ts +39 -0
  83. package/src/app/modules/input-types/components/cedar-static-youtube/cedar-static-youtube.component.html +6 -0
  84. package/src/app/modules/input-types/components/cedar-static-youtube/cedar-static-youtube.component.scss +0 -0
  85. package/src/app/modules/input-types/components/cedar-static-youtube/cedar-static-youtube.component.spec.ts +24 -0
  86. package/src/app/modules/input-types/components/cedar-static-youtube/cedar-static-youtube.component.ts +42 -0
  87. package/src/app/modules/input-types/input-types.module.ts +139 -0
  88. package/src/app/modules/shared/components/cedar-component-header/cedar-component-header.component.html +13 -0
  89. package/src/app/modules/shared/components/cedar-component-header/cedar-component-header.component.scss +12 -0
  90. package/src/app/modules/shared/components/cedar-component-header/cedar-component-header.component.spec.ts +25 -0
  91. package/src/app/modules/shared/components/cedar-component-header/cedar-component-header.component.ts +42 -0
  92. package/src/app/modules/shared/components/cedar-component-renderer/cedar-component-renderer.component.html +117 -0
  93. package/src/app/modules/shared/components/cedar-component-renderer/cedar-component-renderer.component.scss +5 -0
  94. package/src/app/modules/shared/components/cedar-component-renderer/cedar-component-renderer.component.spec.ts +25 -0
  95. package/src/app/modules/shared/components/cedar-component-renderer/cedar-component-renderer.component.ts +101 -0
  96. package/src/app/modules/shared/components/cedar-data-saver/cedar-data-saver.component.html +22 -0
  97. package/src/app/modules/shared/components/cedar-data-saver/cedar-data-saver.component.scss +23 -0
  98. package/src/app/modules/shared/components/cedar-data-saver/cedar-data-saver.component.spec.ts +24 -0
  99. package/src/app/modules/shared/components/cedar-data-saver/cedar-data-saver.component.ts +139 -0
  100. package/src/app/modules/shared/components/cedar-embeddable-metadata-editor/cedar-embeddable-metadata-editor.component.html +56 -0
  101. package/src/app/modules/shared/components/cedar-embeddable-metadata-editor/cedar-embeddable-metadata-editor.component.scss +13 -0
  102. package/src/app/modules/shared/components/cedar-embeddable-metadata-editor/cedar-embeddable-metadata-editor.component.spec.ts +25 -0
  103. package/src/app/modules/shared/components/cedar-embeddable-metadata-editor/cedar-embeddable-metadata-editor.component.ts +184 -0
  104. package/src/app/modules/shared/components/cedar-embeddable-metadata-editor-wrapper/cedar-embeddable-metadata-editor-wrapper.component.html +15 -0
  105. package/src/app/modules/shared/components/cedar-embeddable-metadata-editor-wrapper/cedar-embeddable-metadata-editor-wrapper.component.scss +2 -0
  106. package/src/app/modules/shared/components/cedar-embeddable-metadata-editor-wrapper/cedar-embeddable-metadata-editor-wrapper.component.spec.ts +25 -0
  107. package/src/app/modules/shared/components/cedar-embeddable-metadata-editor-wrapper/cedar-embeddable-metadata-editor-wrapper.component.ts +240 -0
  108. package/src/app/modules/shared/components/cedar-multi-pager/cedar-multi-pager.component.html +35 -0
  109. package/src/app/modules/shared/components/cedar-multi-pager/cedar-multi-pager.component.scss +41 -0
  110. package/src/app/modules/shared/components/cedar-multi-pager/cedar-multi-pager.component.spec.ts +25 -0
  111. package/src/app/modules/shared/components/cedar-multi-pager/cedar-multi-pager.component.ts +282 -0
  112. package/src/app/modules/shared/components/date-picker/date-picker.component.html +46 -0
  113. package/src/app/modules/shared/components/date-picker/date-picker.component.scss +7 -0
  114. package/src/app/modules/shared/components/date-picker/date-picker.component.spec.ts +25 -0
  115. package/src/app/modules/shared/components/date-picker/date-picker.component.ts +100 -0
  116. package/src/app/modules/shared/components/file-uploader/bytes/bytes.pipe.spec.ts +33 -0
  117. package/src/app/modules/shared/components/file-uploader/bytes/bytes.pipe.ts +16 -0
  118. package/src/app/modules/shared/components/file-uploader/file-upload-input-for/file-upload-input-for.directive.spec.ts +54 -0
  119. package/src/app/modules/shared/components/file-uploader/file-upload-input-for/file-upload-input-for.directive.ts +67 -0
  120. package/src/app/modules/shared/components/file-uploader/file-uploader.component.html +26 -0
  121. package/src/app/modules/shared/components/file-uploader/file-uploader.component.scss +55 -0
  122. package/src/app/modules/shared/components/file-uploader/file-uploader.component.spec.ts +25 -0
  123. package/src/app/modules/shared/components/file-uploader/file-uploader.component.ts +67 -0
  124. package/src/app/modules/shared/components/file-uploader/mat-file-upload/mat-file-upload.component.html +42 -0
  125. package/src/app/modules/shared/components/file-uploader/mat-file-upload/mat-file-upload.component.scss +31 -0
  126. package/src/app/modules/shared/components/file-uploader/mat-file-upload/mat-file-upload.component.spec.ts +177 -0
  127. package/src/app/modules/shared/components/file-uploader/mat-file-upload/mat-file-upload.component.ts +145 -0
  128. package/src/app/modules/shared/components/file-uploader/mat-file-upload/mat-file-upload.service.ts +21 -0
  129. package/src/app/modules/shared/components/file-uploader/mat-file-upload-queue/mat-file-upload-queue.component.html +1 -0
  130. package/src/app/modules/shared/components/file-uploader/mat-file-upload-queue/mat-file-upload-queue.component.scss +0 -0
  131. package/src/app/modules/shared/components/file-uploader/mat-file-upload-queue/mat-file-upload-queue.component.spec.ts +59 -0
  132. package/src/app/modules/shared/components/file-uploader/mat-file-upload-queue/mat-file-upload-queue.component.ts +139 -0
  133. package/src/app/modules/shared/components/file-uploader/mat-file-upload-queue/mat-file-upload-queue.service.spec.ts +33 -0
  134. package/src/app/modules/shared/components/file-uploader/mat-file-upload-queue/mat-file-upload-queue.service.ts +17 -0
  135. package/src/app/modules/shared/components/file-uploader/mat-file-upload.module.ts +35 -0
  136. package/src/app/modules/shared/components/file-uploader/mat-file-upload.type.ts +24 -0
  137. package/src/app/modules/shared/components/preferences-menu/preferences-menu.component.html +18 -0
  138. package/src/app/modules/shared/components/preferences-menu/preferences-menu.component.scss +0 -0
  139. package/src/app/modules/shared/components/preferences-menu/preferences-menu.component.spec.ts +23 -0
  140. package/src/app/modules/shared/components/preferences-menu/preferences-menu.component.ts +10 -0
  141. package/src/app/modules/shared/components/sample-templates/sample-template-select/sample-template-select.component.html +16 -0
  142. package/src/app/modules/shared/components/sample-templates/sample-template-select/sample-template-select.component.scss +0 -0
  143. package/src/app/modules/shared/components/sample-templates/sample-template-select/sample-template-select.component.spec.ts +25 -0
  144. package/src/app/modules/shared/components/sample-templates/sample-template-select/sample-template-select.component.ts +89 -0
  145. package/src/app/modules/shared/components/sample-templates/sample-templates.component.html +19 -0
  146. package/src/app/modules/shared/components/sample-templates/sample-templates.component.scss +0 -0
  147. package/src/app/modules/shared/components/sample-templates/sample-templates.component.spec.ts +25 -0
  148. package/src/app/modules/shared/components/sample-templates/sample-templates.component.ts +66 -0
  149. package/src/app/modules/shared/components/sample-templates/sample-templates.service.ts +175 -0
  150. package/src/app/modules/shared/components/source-panels/source-panels.component.html +98 -0
  151. package/src/app/modules/shared/components/source-panels/source-panels.component.scss +0 -0
  152. package/src/app/modules/shared/components/source-panels/source-panels.component.spec.ts +25 -0
  153. package/src/app/modules/shared/components/source-panels/source-panels.component.ts +36 -0
  154. package/src/app/modules/shared/components/static-footer/static-footer.component.html +17 -0
  155. package/src/app/modules/shared/components/static-footer/static-footer.component.scss +110 -0
  156. package/src/app/modules/shared/components/static-footer/static-footer.component.spec.ts +25 -0
  157. package/src/app/modules/shared/components/static-footer/static-footer.component.ts +16 -0
  158. package/src/app/modules/shared/components/static-header/static-header.component.html +10 -0
  159. package/src/app/modules/shared/components/static-header/static-header.component.scss +13 -0
  160. package/src/app/modules/shared/components/static-header/static-header.component.spec.ts +25 -0
  161. package/src/app/modules/shared/components/static-header/static-header.component.ts +21 -0
  162. package/src/app/modules/shared/components/timezone-picker/timezone-picker.component.html +16 -0
  163. package/src/app/modules/shared/components/timezone-picker/timezone-picker.component.scss +0 -0
  164. package/src/app/modules/shared/components/timezone-picker/timezone-picker.component.spec.ts +25 -0
  165. package/src/app/modules/shared/components/timezone-picker/timezone-picker.component.ts +251 -0
  166. package/src/app/modules/shared/factory/template-representation.factory.ts +323 -0
  167. package/src/app/modules/shared/handler/component-type.handler.ts +51 -0
  168. package/src/app/modules/shared/handler/data-object-builder.handler.ts +159 -0
  169. package/src/app/modules/shared/handler/data-object-data-value.handler.ts +270 -0
  170. package/src/app/modules/shared/handler/data-object-structure.handler.ts +145 -0
  171. package/src/app/modules/shared/handler/multi-instance-object.handler.ts +317 -0
  172. package/src/app/modules/shared/models/cedar-input-template.model.ts +3 -0
  173. package/src/app/modules/shared/models/cedar-model.model.ts +48 -0
  174. package/src/app/modules/shared/models/component/cedar-component.model.ts +16 -0
  175. package/src/app/modules/shared/models/component/component-representation.model.ts +30 -0
  176. package/src/app/modules/shared/models/component/element-component.model.ts +11 -0
  177. package/src/app/modules/shared/models/component/field-component.model.ts +23 -0
  178. package/src/app/modules/shared/models/component/multi-component.model.ts +10 -0
  179. package/src/app/modules/shared/models/component/null-component.model.ts +20 -0
  180. package/src/app/modules/shared/models/component/single-component.model.ts +6 -0
  181. package/src/app/modules/shared/models/element/abstract-element-component.model.ts +26 -0
  182. package/src/app/modules/shared/models/element/multi-element-component.model.ts +19 -0
  183. package/src/app/modules/shared/models/element/single-element-component.model.ts +16 -0
  184. package/src/app/modules/shared/models/enum/data-object-building-mode.model.ts +6 -0
  185. package/src/app/modules/shared/models/field/abstract-field-component.model.ts +28 -0
  186. package/src/app/modules/shared/models/field/multi-field-component.model.ts +21 -0
  187. package/src/app/modules/shared/models/field/single-field-component.model.ts +18 -0
  188. package/src/app/modules/shared/models/info/basic-info.model.ts +8 -0
  189. package/src/app/modules/shared/models/info/choice-info.model.ts +9 -0
  190. package/src/app/modules/shared/models/info/choice-option.model.ts +6 -0
  191. package/src/app/modules/shared/models/info/content-info.model.ts +5 -0
  192. package/src/app/modules/shared/models/info/controlled-info.model.ts +8 -0
  193. package/src/app/modules/shared/models/info/current-multi-info.model.ts +7 -0
  194. package/src/app/modules/shared/models/info/label-info.model.ts +7 -0
  195. package/src/app/modules/shared/models/info/multi-info.model.ts +10 -0
  196. package/src/app/modules/shared/models/info/multi-instance-info.model.ts +20 -0
  197. package/src/app/modules/shared/models/info/multi-instance-object-info.model.ts +30 -0
  198. package/src/app/modules/shared/models/info/number-info.model.ts +9 -0
  199. package/src/app/modules/shared/models/info/value-info.model.ts +9 -0
  200. package/src/app/modules/shared/models/input-type.model.ts +21 -0
  201. package/src/app/modules/shared/models/instance-extract-data.model.ts +3 -0
  202. package/src/app/modules/shared/models/instance-full-data.model.ts +5 -0
  203. package/src/app/modules/shared/models/javascript-types.model.ts +7 -0
  204. package/src/app/modules/shared/models/json-schema.model.ts +39 -0
  205. package/src/app/modules/shared/models/numbers.model.ts +10 -0
  206. package/src/app/modules/shared/models/rest/integrated-search/integrated-search-request-parameter-object.ts +8 -0
  207. package/src/app/modules/shared/models/rest/integrated-search/integrated-search-request-value-constraints.ts +8 -0
  208. package/src/app/modules/shared/models/rest/integrated-search/integrated-search-request.ts +9 -0
  209. package/src/app/modules/shared/models/rest/integrated-search/integrated-search-response-item.ts +10 -0
  210. package/src/app/modules/shared/models/rest/integrated-search/integrated-search-response.ts +13 -0
  211. package/src/app/modules/shared/models/static/static-field-component.model.ts +24 -0
  212. package/src/app/modules/shared/models/template/cedar-template.model.ts +24 -0
  213. package/src/app/modules/shared/models/template/empty-template.model.ts +5 -0
  214. package/src/app/modules/shared/models/template/null-template.model.ts +23 -0
  215. package/src/app/modules/shared/models/template/template-component.model.ts +12 -0
  216. package/src/app/modules/shared/models/temporal.model.ts +13 -0
  217. package/src/app/modules/shared/models/ui/cedar-ui-component.model.ts +17 -0
  218. package/src/app/modules/shared/models/xsd.model.ts +11 -0
  219. package/src/app/modules/shared/pipe/keep-html.pipe.ts +13 -0
  220. package/src/app/modules/shared/pipe/rdf.pipe.ts +10 -0
  221. package/src/app/modules/shared/service/active-component-registry.service.ts +134 -0
  222. package/src/app/modules/shared/service/component-data.service.ts +25 -0
  223. package/src/app/modules/shared/service/controlled-field-data.service.ts +37 -0
  224. package/src/app/modules/shared/service/date-time/custom-date-adapter.ts +19 -0
  225. package/src/app/modules/shared/service/date-time/date-time.service.ts +30 -0
  226. package/src/app/modules/shared/service/local-settings.service.ts +22 -0
  227. package/src/app/modules/shared/service/message-handler.service.ts +35 -0
  228. package/src/app/modules/shared/service/page-break-paginator.service.ts +78 -0
  229. package/src/app/modules/shared/shared.module.ts +97 -0
  230. package/src/app/modules/shared/util/data-context.ts +42 -0
  231. package/src/app/modules/shared/util/data-object-util.ts +102 -0
  232. package/src/app/modules/shared/util/handler-context.ts +81 -0
  233. package/src/app/modules/shared/util/template-object-util.ts +21 -0
  234. package/src/assets/.gitkeep +0 -0
  235. package/src/assets/fonts/MaterialIcons-Regular.eot +0 -0
  236. package/src/assets/fonts/MaterialIcons-Regular.ttf +0 -0
  237. package/src/assets/fonts/MaterialIcons-Regular.woff +0 -0
  238. package/src/assets/fonts/MaterialIcons-Regular.woff2 +0 -0
  239. package/src/assets/i18n-cee/en.json +86 -0
  240. package/src/assets/i18n-cee/hu.json +86 -0
  241. package/src/assets/images/bmir-logo.png +0 -0
  242. package/src/assets/images/cedar-logo-80x80.png +0 -0
  243. package/src/environments/environment.prod.ts +5 -0
  244. package/src/environments/environment.ts +18 -0
  245. package/src/favicon.ico +0 -0
  246. package/src/index.html +16 -0
  247. package/src/main.ts +28 -0
  248. package/src/polyfills.ts +65 -0
  249. package/src/styles-own.scss +352 -0
  250. package/src/styles.scss +116 -0
  251. package/src/test.ts +25 -0
  252. package/tsconfig.app.json +16 -0
  253. package/tsconfig.base.json +20 -0
  254. package/tsconfig.json +20 -0
  255. package/tsconfig.spec.json +18 -0
  256. package/tslint.json +152 -0
@@ -0,0 +1,86 @@
1
+ {
2
+ "App": {
3
+ "Title": "CEDAR Beágyazható Szerkesztő",
4
+ "Maintained": "A CEDAR-t a Stanford Biomedikai Informatikai Kutatási Központ működteti.",
5
+ "Contact": "Kapcsolat"
6
+ },
7
+ "Generic": {
8
+ "BMIR": "BMIR",
9
+ "SAVE": "MENTÉS",
10
+ "Infinite": "Végtelen",
11
+ "ExpandAll": "Mindet kinyit",
12
+ "CollapseAll": "Mindet bezár",
13
+ "Copy": "Másolás",
14
+ "Page": "Oldal",
15
+ "Name": "Név",
16
+ "Value": "Érték",
17
+ "AttributeName": "Attribútum név",
18
+ "AttributeValue": "Attribútum érték",
19
+ "AllValues": "Minden érték",
20
+ "Clear": "Törlés",
21
+ "SelectDecimalSeconds": "Tizedes másodpercek kiválasztása",
22
+ "SelectTimeZone": "Időzóna kiválasztása",
23
+ "NoTimeZoneFound": "Nem található időzóna",
24
+ "SelectYear": "Év kiválasztása",
25
+ "SelectYearAndMonth": "Év és hónap kiválasztása",
26
+ "SelectDate": "Dátum kiválasztása",
27
+ "NumberOnly": "Csak szám",
28
+ "CedarLogo": "CEDAR logó"
29
+ },
30
+ "Process": {
31
+ "Initializing": "A CEDAR Beágyazható Szerkesztő inicializálása..."
32
+ },
33
+ "Multi": {
34
+ "NoInstancesYet": "Még nincsenek példányok",
35
+ "AddEmptyAfter": "Üres hozzáadása az aktuális után",
36
+ "AddCloneAfter": "Klón hozzáadása az aktuális után",
37
+ "DeleteCurrent": "Aktuális törlése"
38
+ },
39
+ "Error": {
40
+ "ValueRequired": "A mező kitöltése kötelező"
41
+ },
42
+ "Extra": {
43
+ "SampleTemplate": {
44
+ "Title": "Mintasablonok",
45
+ "Select": "Válassz sablont",
46
+ "Find": "Sablon keresése...",
47
+ "FindNoMatch": "Nincs egyező sablon"
48
+ },
49
+ "JsonLD": {
50
+ "InstanceCore": "JSON-LD - Példány - Alap",
51
+ "Instance": "JSON-LD - Példány"
52
+ },
53
+ "JsonSchemaTemplate": "JSON Séma - Sablon",
54
+ "TemplateRendering": "Sablon megjelenítési adatok",
55
+ "MultiInstance": "Multi-példány információ"
56
+ },
57
+ "Uploader": {
58
+ "DragAndDrop": "Húzza és ejtse ide a saját CEDAR sablonját, vagy",
59
+ "Browse": "Tallózon a fájlrendszeren",
60
+ "Error": "A(z) {{fileName}} feltöltése sikertelen volt a következő hibával: {{responseMessage}}",
61
+ "Success": "A(z) {{fileName}} feltöltése sikerült"
62
+ },
63
+ "Saver": {
64
+ "Error": "Hiba a metaadatok mentése során"
65
+ },
66
+ "Validation": {
67
+ "Required": "Az érték megadása kötelező.",
68
+ "Text": {
69
+ "MinLength": "Az érték legalább {{constraintMinLength}} karakter hosszú kell legyen.",
70
+ "MaxLength": "Az érték legfeljebb {{constraintMaxLength}} karakter hosszú lehet."
71
+ },
72
+ "Select": {
73
+ "MaxSelection": "Legfeljebb {{maxSelections}} lehetőség kiválasztása lehetséges"
74
+ },
75
+ "Email": {
76
+ "Invalid": "Az érték érvényes e-mail címnek kell lennie."
77
+ },
78
+ "Link": {
79
+ "Invalid": "Az érték érvényes webcímnek (URL-nek) kell lennie."
80
+ },
81
+ "Numeric": {
82
+ "MinValue": "Az érték legalább {{constraintMinValue}} kell legyen.",
83
+ "MaxValue": "Az érték legfeljebb {{constraintMaxValue}} lehet."
84
+ }
85
+ }
86
+ }
Binary file
@@ -0,0 +1,5 @@
1
+ export const environment = {
2
+ production: true,
3
+ defaultLanguage: 'en',
4
+ fallbackLanguage: 'en'
5
+ };
@@ -0,0 +1,18 @@
1
+ // This file can be replaced during build by using the `fileReplacements` array.
2
+ // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
3
+ // The list of file replacements can be found in `angular.json`.
4
+
5
+ export const environment = {
6
+ production: false,
7
+ defaultLanguage: 'en',
8
+ fallbackLanguage: 'en'
9
+ };
10
+
11
+ /*
12
+ * For easier debugging in development mode, you can import the following file
13
+ * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
14
+ *
15
+ * This import should be commented out in production mode because it will have a negative impact
16
+ * on performance if an error is thrown.
17
+ */
18
+ // import 'zone.js/plugins/zone-error'; // Included with Angular CLI.
Binary file
package/src/index.html ADDED
@@ -0,0 +1,16 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>CEDAR Embeddable Editor</title>
6
+ <base href="/">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
+ <link rel="icon" type="image/x-icon" href="favicon.ico">
9
+ <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" rel="stylesheet">
10
+ <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
11
+ <script src="https://www.youtube.com/iframe_api"></script>
12
+ </head>
13
+ <body class="mat-typography cee-body">
14
+ <app-component-dev></app-component-dev>
15
+ </body>
16
+ </html>
package/src/main.ts ADDED
@@ -0,0 +1,28 @@
1
+ import {enableProdMode} from '@angular/core';
2
+ import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
3
+ import {environment} from './environments/environment';
4
+ import {AppModuleProd} from './app/app.module.prod';
5
+ import {AppModuleDev} from './app/app.module.dev';
6
+
7
+ declare global {
8
+ interface Window {
9
+ WebComponents: {
10
+ ready: boolean;
11
+ };
12
+ }
13
+ }
14
+
15
+ // needed for jsonld js library
16
+ // (window as any).global = window;
17
+
18
+ if (environment.production) {
19
+ enableProdMode();
20
+ }
21
+
22
+ if (environment.production) {
23
+ platformBrowserDynamic().bootstrapModule(AppModuleProd)
24
+ .catch(err => console.error(err));
25
+ } else {
26
+ platformBrowserDynamic().bootstrapModule(AppModuleDev)
27
+ .catch(err => console.error(err));
28
+ }
@@ -0,0 +1,65 @@
1
+ /**
2
+ * This file includes polyfills needed by Angular and is loaded before the app.
3
+ * You can add your own extra polyfills to this file.
4
+ *
5
+ * This file is divided into 2 sections:
6
+ * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
7
+ * 2. Application imports. Files imported after ZoneJS that should be loaded before your main
8
+ * file.
9
+ *
10
+ * The current setup is for so-called "evergreen" browsers; the last versions of browsers that
11
+ * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
12
+ * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
13
+ *
14
+ * Learn more in https://angular.io/guide/browser-support
15
+ */
16
+
17
+ /***************************************************************************************************
18
+ * BROWSER POLYFILLS
19
+ */
20
+
21
+ /** IE10 and IE11 requires the following for NgClass support on SVG elements */
22
+ // import 'classlist.js'; // Run `npm install --save classlist.js`.
23
+
24
+ /**
25
+ * Web Animations `@angular/platform-browser/animations`
26
+ * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
27
+ * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
28
+ */
29
+ // import 'web-animations-js'; // Run `npm install --save web-animations-js`.
30
+
31
+ /**
32
+ * By default, zone.js will patch all possible macroTask and DomEvents
33
+ * user can disable parts of macroTask/DomEvents patch by setting following flags
34
+ * because those flags need to be set before `zone.js` being loaded, and webpack
35
+ * will put import in the top of bundle, so user need to create a separate file
36
+ * in this directory (for example: zone-flags.ts), and put the following flags
37
+ * into that file, and then add the following code before importing zone.js.
38
+ * import './zone-flags';
39
+ *
40
+ * The flags allowed in zone-flags.ts are listed here.
41
+ *
42
+ * The following flags will work for all browsers.
43
+ *
44
+ * (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
45
+ * (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
46
+ * (window as any).__zone_symbol__UNPATCHED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
47
+ *
48
+ * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
49
+ * with the following flag, it will bypass `zone.js` patch for IE/Edge
50
+ *
51
+ * (window as any).__Zone_enable_cross_context_check = true;
52
+ *
53
+ */
54
+
55
+ /***************************************************************************************************
56
+ * Zone JS is required by default for Angular itself.
57
+ */
58
+ import 'zone.js'; // Included with Angular CLI.
59
+
60
+
61
+ /***************************************************************************************************
62
+ * APPLICATION IMPORTS
63
+ */
64
+
65
+ import '@webcomponents/custom-elements';
@@ -0,0 +1,352 @@
1
+ @use '@angular/material' as mat;
2
+
3
+ @include mat.core();
4
+ @include mat.strong-focus-indicators();
5
+
6
+ $my-primary: mat.define-palette(mat.$teal-palette, 600);
7
+ $my-accent: mat.define-palette(mat.$deep-orange-palette, A200, A100, A400);
8
+
9
+ $my-theme: mat.define-light-theme((
10
+ color: (
11
+ primary: $my-primary,
12
+ accent: $my-accent,
13
+ )
14
+ ));
15
+
16
+ @include mat.all-component-themes($my-theme);
17
+ @include mat.strong-focus-indicators-theme($my-theme);
18
+
19
+ @font-face {
20
+ font-family: 'Material Icons';
21
+ font-display: block;
22
+ font-style: normal;
23
+ font-weight: 400;
24
+ src: url(assets/fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
25
+ src: local('Material Icons'),
26
+ local('MaterialIcons-Regular'),
27
+ url(assets/fonts/MaterialIcons-Regular.woff2) format('woff2'),
28
+ url(assets/fonts/MaterialIcons-Regular.woff) format('woff'),
29
+ url(assets/fonts/MaterialIcons-Regular.ttf) format('truetype');
30
+ }
31
+
32
+ .material-icons {
33
+ font-family: 'Material Icons';
34
+ font-weight: normal;
35
+ font-style: normal;
36
+ font-size: 24px; /* Preferred icon size */
37
+ display: inline-block;
38
+ line-height: 1;
39
+ text-transform: none;
40
+ letter-spacing: normal;
41
+ word-wrap: normal;
42
+ white-space: nowrap;
43
+ direction: ltr;
44
+
45
+ /* Support for all WebKit browsers. */
46
+ -webkit-font-smoothing: antialiased;
47
+ /* Support for Safari and Chrome. */
48
+ text-rendering: optimizeLegibility;
49
+
50
+ /* Support for Firefox. */
51
+ -moz-osx-font-smoothing: grayscale;
52
+
53
+ /* Support for IE. */
54
+ font-feature-settings: 'liga';
55
+ }
56
+
57
+ html, body.cee-body {
58
+ height: 100%;
59
+ }
60
+
61
+ body.cee-body {
62
+ margin: 0;
63
+ font-family: Roboto, "Helvetica Neue", sans-serif;
64
+ }
65
+
66
+ .allow-cr {
67
+ white-space: pre;
68
+ }
69
+
70
+ .form-container {
71
+ min-width: 50%;
72
+ max-width: 100%;
73
+ border: 0 solid red;
74
+ }
75
+
76
+ .full-width {
77
+ width: 100%;
78
+ }
79
+
80
+ .half-width {
81
+ width: 50%;
82
+ }
83
+
84
+ .half-width-with-margin {
85
+ width: 49%;
86
+ margin-right: 1%;
87
+ }
88
+
89
+ .image-component {
90
+ background-color: #e5daa1;
91
+ max-width: 50%;
92
+ margin-left: auto;
93
+ margin-right: auto;
94
+ margin-bottom: 20px;
95
+ }
96
+
97
+ .section-break-component {
98
+ background-color: #f0f8f7;
99
+ margin-top: 30px;
100
+ }
101
+
102
+ .youtube-component {
103
+ background-color: #ff0000;
104
+ min-width: 400px;
105
+ max-width: 640px;
106
+ margin-left: auto;
107
+ margin-right: auto;
108
+ margin-bottom: 20px;
109
+ }
110
+
111
+ .icon-help {
112
+ margin-left: 10px;
113
+ font-size: medium !important;
114
+ }
115
+
116
+ .icon-src {
117
+ margin-left: 10px;
118
+ }
119
+
120
+ .mat-card {
121
+ margin-top: 5px;
122
+ }
123
+
124
+ .iterable-component {
125
+ background-color: #f6f1f6;
126
+ }
127
+
128
+ .non-iterable-component {
129
+ background-color: #f1f6f1;
130
+ }
131
+
132
+ .header-image {
133
+ background-image: url('/assets/images/cedar-logo-80x80.png');
134
+ background-size: cover;
135
+ background-color: #0B3938;
136
+ }
137
+
138
+ .cedar-logo {
139
+ background-image: url('/assets/images/cedar-logo-80x80.png');
140
+ background-repeat: no-repeat;
141
+ background-size: cover;
142
+ width: 70px;
143
+ height: 70px;
144
+ }
145
+
146
+ .template-card {
147
+ max-width: 90%;
148
+ background-color: #f8f8f8;
149
+ margin: 0 auto;
150
+ }
151
+
152
+ .pager-container {
153
+ display: flex;
154
+ flex-wrap: wrap;
155
+ justify-content: right;
156
+ align-items: center;
157
+ margin-right: 10px;
158
+ margin-top: -20px;
159
+ }
160
+
161
+ .pager-chips {
162
+ margin-right: 20px;
163
+ }
164
+
165
+ .pager-pager {
166
+ }
167
+
168
+ app-source-panels {
169
+ .mat-expansion-panel-header-description {
170
+ justify-content: space-between;
171
+ align-items: center;
172
+ }
173
+
174
+ .mat-expansion-panel {
175
+ max-width: 90%;
176
+ margin: 0 auto;
177
+ background-color: #f5f5f5;
178
+
179
+ pre {
180
+ font-size: 12px;
181
+ line-height: 1.1;
182
+ }
183
+ }
184
+
185
+ .mat-expansion-panel-header-title .mat-icon {
186
+ margin-right: 15px;
187
+ }
188
+
189
+ }
190
+
191
+ .toolbar-spacer {
192
+ flex: 1 2 auto;
193
+ }
194
+
195
+ app-sample-templates {
196
+ .mat-expansion-panel {
197
+ max-width: 90%;
198
+ margin: 10px auto 0;
199
+ background-color: #f5f5f5;
200
+ }
201
+
202
+ .mat-expansion-panel-header-title .mat-icon {
203
+ margin-right: 15px;
204
+ }
205
+ }
206
+
207
+ .spinner-wrapper {
208
+ display: flex;
209
+ align-items: center;
210
+ justify-content: center;
211
+ margin-top: 30px;
212
+
213
+ .mat-progress-spinner {
214
+ float:left;
215
+ margin-right: 20px;
216
+ }
217
+ }
218
+
219
+ .info-box {
220
+ color: #383d41;
221
+ background-color: rgba(0, 0, 0, 0.04);
222
+ padding: 15px;
223
+ border: 1px solid #d6d8db;
224
+ border-radius: 0.25rem;
225
+ margin-top: 20px;
226
+ margin-bottom: 10px;
227
+ }
228
+
229
+ .notify-info, .notify-success, .notify-error, .notify-warning, .notify-progress {
230
+ padding: 15px;
231
+ border: 1px solid transparent;
232
+ border-radius: 0.25rem;
233
+ }
234
+
235
+ .notify-info:before, .notify-success:before, .notify-error:before, .notify-warning:before, .notify-progress:before {
236
+ font-family: 'Material Icons';
237
+ font-style: normal;
238
+ font-weight: 400;
239
+ font-size: 18px;
240
+ vertical-align: middle;
241
+ speak: none;
242
+ display: inline-block;
243
+ text-decoration: inherit;
244
+ width: 1em;
245
+ margin-right: .8em;
246
+ text-align: center;
247
+ font-variant: normal;
248
+ text-transform: none;
249
+ line-height: 1em;
250
+ margin-left: .2em;
251
+ -webkit-font-smoothing: antialiased;
252
+ -moz-osx-font-smoothing: grayscale;
253
+ }
254
+
255
+ .notify-info:before {
256
+ content: "\e88e";
257
+ }
258
+
259
+ .notify-success:before {
260
+ content: '\e86c';
261
+ }
262
+
263
+ .notify-error:before {
264
+ content: '\e000';
265
+ }
266
+
267
+ .notify-warning:before {
268
+ content: '\e002';
269
+ }
270
+
271
+ .notify-progress-icon {
272
+ margin-right: .8em;
273
+ line-height: 1em;
274
+ margin-left: .2em;
275
+ float:left;
276
+ margin-top: 2px;
277
+ }
278
+
279
+ .notify-info {
280
+ color: #004085;
281
+ background-color: #cce5ff;
282
+ border-color: #b8daff;
283
+ }
284
+
285
+ .notify-success {
286
+ color: #155724;
287
+ background-color: #d4edda;
288
+ border-color: #c3e6cb;
289
+ }
290
+
291
+ .notify-error {
292
+ color: #721c24;
293
+ background-color: #f8d7da;
294
+ border-color: #f5c6cb;
295
+ }
296
+
297
+ .notify-warning {
298
+ color: #856404;
299
+ background-color: #fff3cd;
300
+ border-color: #ffeeba;
301
+ }
302
+
303
+ .notify-progress {
304
+ color: #383d41;
305
+ background-color: #eeeeee;
306
+ border-color: #d6d8db;
307
+ }
308
+
309
+ .close {
310
+ float: right;
311
+ font-size: 1.5rem;
312
+ line-height: .9;
313
+ text-shadow: 0 1px 0 #fff;
314
+ opacity: .5;
315
+ color: inherit;
316
+ }
317
+
318
+ .close:hover {
319
+ opacity: 1;
320
+ }
321
+
322
+ button.close {
323
+ cursor: pointer;
324
+ padding: 0;
325
+ background-color: transparent;
326
+ border: 0;
327
+ -webkit-appearance: none;
328
+ }
329
+
330
+ .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value {
331
+ background: var(--color-primary);
332
+ color: var(--color-text-primary);
333
+ }
334
+
335
+ .ng-select.ng-select-multiple .ng-value-icon {
336
+ color: var(--color-text-primary) !important;
337
+ }
338
+
339
+ .mat-form-field-infix{
340
+ margin: 0 !important;
341
+ padding-top: 5px !important;
342
+ padding-bottom: 7px !important;
343
+ }
344
+
345
+ .mat-icon:hover {
346
+ color: #0f7686;
347
+ scale: 1.2;
348
+ }
349
+
350
+ .mat-tooltip.tooltip {
351
+ font-size: 12px;
352
+ }
@@ -0,0 +1,116 @@
1
+ // Custom Theming for Angular Material
2
+ @use '@angular/material' as mat;
3
+ // For more information: https://material.angular.io/guide/theming
4
+ // Plus imports for other components in your app.
5
+
6
+ // Include the common styles for Angular Material. We include this here so that you only
7
+ // have to load a single css file for Angular Material in your app.
8
+ // Be sure that you only ever include this mixin once!
9
+ @import '@angular/material/theming';
10
+ @include mat.core();
11
+
12
+ // Palette generated using http://mcg.mbitson.com/
13
+ // Also helpful: https://www.colorhexa.com/, https://www.colorbook.io/
14
+ /* For use in src/lib/core/theming/_palette.scss */
15
+ $md-cedarpalette: (
16
+ 50 : #e2eff0,
17
+ 100 : #b7d6db,
18
+ 200 : #87bbc3,
19
+ 300 : #579faa,
20
+ 400 : #338b98,
21
+ 500 : #0f7686,
22
+ 600 : #0d6e7e,
23
+ 700 : #0b6373,
24
+ 800 : #085969,
25
+ 900 : #044656,
26
+ A100 : #88e4ff,
27
+ A200 : #55d8ff,
28
+ A400 : #22ccff,
29
+ A700 : #08c7ff,
30
+ contrast: (
31
+ 50 : #000000,
32
+ 100 : #000000,
33
+ 200 : #000000,
34
+ 300 : #000000,
35
+ 400 : #ffffff,
36
+ 500 : #ffffff,
37
+ 600 : #ffffff,
38
+ 700 : #ffffff,
39
+ 800 : #ffffff,
40
+ 900 : #ffffff,
41
+ A100 : #000000,
42
+ A200 : #000000,
43
+ A400 : #000000,
44
+ A700 : #000000,
45
+ )
46
+ );
47
+
48
+ $md-cedaraccent: (
49
+ 50 : #f0e4e2,
50
+ 100 : #dbbcb7,
51
+ 200 : #c38f87,
52
+ 300 : #aa6257,
53
+ 400 : #984133,
54
+ 500 : #861f0f,
55
+ 600 : #7e1b0d,
56
+ 700 : #73170b,
57
+ 800 : #691208,
58
+ 900 : #560a04,
59
+ A100 : #ff8d88,
60
+ A200 : #ff5c55,
61
+ A400 : #ff2b22,
62
+ A700 : #ff1308,
63
+ contrast: (
64
+ 50 : #000000,
65
+ 100 : #000000,
66
+ 200 : #000000,
67
+ 300 : #ffffff,
68
+ 400 : #ffffff,
69
+ 500 : #ffffff,
70
+ 600 : #ffffff,
71
+ 700 : #ffffff,
72
+ 800 : #ffffff,
73
+ 900 : #ffffff,
74
+ A100 : #000000,
75
+ A200 : #000000,
76
+ A400 : #ffffff,
77
+ A700 : #ffffff,
78
+ )
79
+ );
80
+
81
+ // Define the palettes for your theme using the Material Design palettes available in palette.scss
82
+ // (imported above). For each palette, you can optionally specify a default, lighter, and darker
83
+ // hue. Available color palettes: https://material.io/design/color/
84
+ $cedar-embeddable-editor-primary: mat.define-palette($md-cedarpalette);
85
+ $cedar-embeddable-editor-accent: mat.define-palette($md-cedaraccent, A200, A100, A400);
86
+
87
+ // The warn palette is optional (defaults to red).
88
+ $cedar-embeddable-editor-warn: mat.define-palette(mat.$red-palette);
89
+
90
+ // Create the theme object. A theme consists of configurations for individual
91
+ // theming systems such as "color" or "typography".
92
+ $cedar-embeddable-editor-theme: mat.define-light-theme((
93
+ color: (
94
+ primary: $cedar-embeddable-editor-primary,
95
+ accent: $cedar-embeddable-editor-accent,
96
+ warn: $cedar-embeddable-editor-warn,
97
+ )
98
+ ));
99
+
100
+ // Include theme styles for core and each component used in your app.
101
+ // Alternatively, you can import and @include the theme mixins for each component
102
+ // that you are using.
103
+ @include mat.all-component-themes($cedar-embeddable-editor-theme);
104
+
105
+ $primary: map-get($cedar-embeddable-editor-theme, primary);
106
+ $accent: map-get($cedar-embeddable-editor-theme, accent);
107
+
108
+ :root {
109
+ --color-primary: #{mat-color($cedar-embeddable-editor-primary, default)};
110
+ --color-text-primary: #{mat-color($cedar-embeddable-editor-primary, default-contrast)};
111
+ --color-accent: #{mat-color($cedar-embeddable-editor-accent)};
112
+ --color-warn: #{mat-color($cedar-embeddable-editor-warn)};
113
+ }
114
+
115
+ /* You can add global styles to this file, and also import other style files */
116
+ @import "~@ng-select/ng-select/themes/material.theme.css";