@mediafly/js-ui 50.0.0-beta.1 → 50.0.1-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 (654) hide show
  1. package/.certs/ca.crt +31 -30
  2. package/.certs/localhost.crt +27 -26
  3. package/.certs/localhost.key +28 -27
  4. package/.certs/localhost.pfx +0 -0
  5. package/.node-version +1 -1
  6. package/.release-it.json +13 -13
  7. package/.stylelintignore +5 -5
  8. package/CHANGELOG.md +687 -682
  9. package/Dockerfile +42 -42
  10. package/Jenkinsfile +138 -138
  11. package/README.md +48 -48
  12. package/archive/old-changelog.md +1298 -1298
  13. package/browserslist.config.js +27 -27
  14. package/cypress.config.ts +26 -25
  15. package/lib/actionable-empty-state/actionable-empty-state.d.ts +10 -10
  16. package/lib/actionable-empty-state/actionable-empty-state.html +15 -15
  17. package/lib/actionable-empty-state/actionable-empty-state.js +53 -53
  18. package/lib/actionable-empty-state/index.d.ts +1 -1
  19. package/lib/actionable-empty-state/index.js +3 -3
  20. package/lib/auto-complete/auto-complete-match-renderer.component.d.ts +62 -62
  21. package/lib/auto-complete/auto-complete-match-renderer.component.html +20 -20
  22. package/lib/auto-complete/auto-complete-match-renderer.component.js +202 -202
  23. package/lib/auto-complete/auto-complete.component.d.ts +29 -29
  24. package/lib/auto-complete/auto-complete.component.html +43 -43
  25. package/lib/auto-complete/auto-complete.component.js +61 -61
  26. package/lib/auto-complete/index.d.ts +2 -2
  27. package/lib/auto-complete/index.js +4 -4
  28. package/lib/auto-focus/auto-focus.d.ts +1 -1
  29. package/lib/auto-focus/auto-focus.js +16 -16
  30. package/lib/auto-focus/auto-focus.service.d.ts +7 -7
  31. package/lib/auto-focus/auto-focus.service.js +40 -40
  32. package/lib/auto-focus/index.d.ts +1 -1
  33. package/lib/auto-focus/index.js +4 -4
  34. package/lib/badge/badge.d.ts +1 -1
  35. package/lib/badge/badge.html +3 -3
  36. package/lib/badge/badge.js +17 -17
  37. package/lib/badge/index.d.ts +1 -1
  38. package/lib/badge/index.js +3 -3
  39. package/lib/checkbox/checkbox.d.ts +1 -1
  40. package/lib/checkbox/checkbox.html +21 -21
  41. package/lib/checkbox/checkbox.js +30 -30
  42. package/lib/checkbox/index.d.ts +1 -1
  43. package/lib/checkbox/index.js +3 -3
  44. package/lib/collapse/collapse.d.ts +1 -1
  45. package/lib/collapse/collapse.js +73 -73
  46. package/lib/collapse/index.d.ts +1 -1
  47. package/lib/collapse/index.js +3 -3
  48. package/lib/color-input/color-input.d.ts +1 -1
  49. package/lib/color-input/color-input.html +32 -32
  50. package/lib/color-input/color-input.js +83 -83
  51. package/lib/color-input/index.d.ts +2 -2
  52. package/lib/color-input/index.js +4 -4
  53. package/lib/color-input/spectrum-color-picker.d.ts +1 -1
  54. package/lib/color-input/spectrum-color-picker.js +61 -61
  55. package/lib/color-utils/color-utils.service.d.ts +9 -9
  56. package/lib/color-utils/color-utils.service.js +46 -46
  57. package/lib/color-utils/index.d.ts +1 -1
  58. package/lib/color-utils/index.js +3 -3
  59. package/lib/constants/constants.d.ts +1 -1
  60. package/lib/constants/constants.js +12 -12
  61. package/lib/constants/index.d.ts +1 -1
  62. package/lib/constants/index.js +3 -3
  63. package/lib/date-input/date-input.d.ts +1 -1
  64. package/lib/date-input/date-input.html +31 -31
  65. package/lib/date-input/date-input.js +104 -104
  66. package/lib/date-input/index.d.ts +2 -2
  67. package/lib/date-input/index.js +4 -4
  68. package/lib/date-input/validate-date.d.ts +1 -1
  69. package/lib/date-input/validate-date.js +31 -31
  70. package/lib/date-time-utilities/date-time-utilities.d.ts +1 -1
  71. package/lib/date-time-utilities/date-time-utilities.js +78 -78
  72. package/lib/date-time-utilities/index.d.ts +1 -1
  73. package/lib/date-time-utilities/index.js +3 -3
  74. package/lib/date-time-zone-picker/date-time-zone-factory.d.ts +1 -1
  75. package/lib/date-time-zone-picker/date-time-zone-factory.js +110 -110
  76. package/lib/date-time-zone-picker/date-time-zone-picker.d.ts +1 -1
  77. package/lib/date-time-zone-picker/date-time-zone-picker.html +36 -36
  78. package/lib/date-time-zone-picker/date-time-zone-picker.js +129 -129
  79. package/lib/date-time-zone-picker/datepicker.d.ts +1 -1
  80. package/lib/date-time-zone-picker/datepicker.html +32 -32
  81. package/lib/date-time-zone-picker/datepicker.js +147 -147
  82. package/lib/date-time-zone-picker/index.d.ts +6 -6
  83. package/lib/date-time-zone-picker/index.js +8 -8
  84. package/lib/date-time-zone-picker/time-format-filter.d.ts +1 -1
  85. package/lib/date-time-zone-picker/time-format-filter.js +45 -45
  86. package/lib/date-time-zone-picker/time-zone-picker.d.ts +1 -1
  87. package/lib/date-time-zone-picker/time-zone-picker.html +21 -21
  88. package/lib/date-time-zone-picker/time-zone-picker.js +44 -44
  89. package/lib/date-time-zone-picker/timepicker.d.ts +1 -1
  90. package/lib/date-time-zone-picker/timepicker.html +22 -22
  91. package/lib/date-time-zone-picker/timepicker.js +104 -104
  92. package/lib/decorators/index.d.ts +9 -9
  93. package/lib/decorators/index.js +58 -58
  94. package/lib/disable-context-menu/disable-context-menu.d.ts +1 -1
  95. package/lib/disable-context-menu/disable-context-menu.js +22 -22
  96. package/lib/disable-context-menu/index.d.ts +1 -1
  97. package/lib/disable-context-menu/index.js +3 -3
  98. package/lib/dropdown/dropdown.d.ts +39 -39
  99. package/lib/dropdown/dropdown.html +21 -21
  100. package/lib/dropdown/dropdown.js +120 -120
  101. package/lib/dropdown/index.d.ts +1 -1
  102. package/lib/dropdown/index.js +3 -3
  103. package/lib/dropdown-menu/dropdown-menu-action.component.d.ts +22 -22
  104. package/lib/dropdown-menu/dropdown-menu-action.component.html +25 -25
  105. package/lib/dropdown-menu/dropdown-menu-action.component.js +89 -89
  106. package/lib/dropdown-menu/dropdown-menu-contents.d.ts +16 -16
  107. package/lib/dropdown-menu/dropdown-menu-contents.html +3 -3
  108. package/lib/dropdown-menu/dropdown-menu-contents.js +98 -98
  109. package/lib/dropdown-menu/dropdown-menu-header.d.ts +1 -1
  110. package/lib/dropdown-menu/dropdown-menu-header.html +1 -1
  111. package/lib/dropdown-menu/dropdown-menu-header.js +15 -15
  112. package/lib/dropdown-menu/dropdown-menu-item.d.ts +1 -1
  113. package/lib/dropdown-menu/dropdown-menu-item.html +1 -1
  114. package/lib/dropdown-menu/dropdown-menu-item.js +15 -15
  115. package/lib/dropdown-menu/dropdown-menu-note.d.ts +1 -1
  116. package/lib/dropdown-menu/dropdown-menu-note.html +1 -1
  117. package/lib/dropdown-menu/dropdown-menu-note.js +15 -15
  118. package/lib/dropdown-menu/dropdown-menu-separator.d.ts +1 -1
  119. package/lib/dropdown-menu/dropdown-menu-separator.html +1 -1
  120. package/lib/dropdown-menu/dropdown-menu-separator.js +14 -14
  121. package/lib/dropdown-menu/dropdown-menu-toggle.d.ts +1 -1
  122. package/lib/dropdown-menu/dropdown-menu-toggle.js +56 -56
  123. package/lib/dropdown-menu/dropdown-menu.d.ts +20 -20
  124. package/lib/dropdown-menu/dropdown-menu.html +1 -1
  125. package/lib/dropdown-menu/dropdown-menu.js +75 -75
  126. package/lib/dropdown-menu/index.d.ts +8 -8
  127. package/lib/dropdown-menu/index.js +10 -10
  128. package/lib/feedback/clipboard.service.d.ts +16 -16
  129. package/lib/feedback/clipboard.service.js +60 -60
  130. package/lib/feedback/feedback.component.d.ts +31 -31
  131. package/lib/feedback/feedback.component.html +24 -24
  132. package/lib/feedback/feedback.component.js +115 -115
  133. package/lib/feedback/feedback.service.d.ts +35 -35
  134. package/lib/feedback/feedback.service.js +67 -67
  135. package/lib/feedback/index.d.ts +3 -3
  136. package/lib/feedback/index.js +5 -5
  137. package/lib/first-time-motivator/first-time-motivator-transclude.html +1 -1
  138. package/lib/first-time-motivator/first-time-motivator.d.ts +1 -1
  139. package/lib/first-time-motivator/first-time-motivator.html +29 -29
  140. package/lib/first-time-motivator/first-time-motivator.js +277 -277
  141. package/lib/first-time-motivator/ftm-target-element.d.ts +1 -1
  142. package/lib/first-time-motivator/ftm-target-element.js +66 -66
  143. package/lib/first-time-motivator/index.d.ts +2 -2
  144. package/lib/first-time-motivator/index.js +4 -4
  145. package/lib/font-selector/font-selector.d.ts +58 -58
  146. package/lib/font-selector/font-selector.html +67 -67
  147. package/lib/font-selector/font-selector.js +246 -246
  148. package/lib/font-selector/google-webfonts-api.service.d.ts +9 -9
  149. package/lib/font-selector/google-webfonts-api.service.js +46 -46
  150. package/lib/font-selector/index.d.ts +3 -3
  151. package/lib/font-selector/index.js +5 -5
  152. package/lib/font-selector/webfont-loader.service.d.ts +3 -3
  153. package/lib/font-selector/webfont-loader.service.js +50 -50
  154. package/lib/fonts.css +0 -2
  155. package/lib/footer/footer.d.ts +1 -1
  156. package/lib/footer/footer.html +6 -6
  157. package/lib/footer/footer.js +24 -24
  158. package/lib/footer/index.d.ts +1 -1
  159. package/lib/footer/index.js +3 -3
  160. package/lib/form-validation-utils/form-validation-utils.d.ts +5 -5
  161. package/lib/form-validation-utils/form-validation-utils.js +13 -13
  162. package/lib/form-validation-utils/index.d.ts +1 -1
  163. package/lib/form-validation-utils/index.js +3 -3
  164. package/lib/full-screen/full-screen.service.d.ts +13 -13
  165. package/lib/full-screen/full-screen.service.js +68 -68
  166. package/lib/full-screen/index.d.ts +1 -1
  167. package/lib/full-screen/index.js +3 -3
  168. package/lib/gesture-handler/gesture-handler.d.ts +1 -1
  169. package/lib/gesture-handler/gesture-handler.js +89 -89
  170. package/lib/gesture-handler/index.d.ts +1 -1
  171. package/lib/gesture-handler/index.js +3 -3
  172. package/lib/hierarchy/hierarchy.d.ts +1 -1
  173. package/lib/hierarchy/hierarchy.html +38 -38
  174. package/lib/hierarchy/hierarchy.js +27 -27
  175. package/lib/hierarchy/index.d.ts +1 -1
  176. package/lib/hierarchy/index.js +3 -3
  177. package/lib/hover-tooltip/hover-tooltip.d.ts +1 -1
  178. package/lib/hover-tooltip/hover-tooltip.js +103 -103
  179. package/lib/hover-tooltip/index.d.ts +1 -1
  180. package/lib/hover-tooltip/index.js +3 -3
  181. package/lib/icon/icon.d.ts +1 -1
  182. package/lib/icon/icon.html +1 -1
  183. package/lib/icon/icon.js +30 -30
  184. package/lib/icon/icon.service.d.ts +4 -4
  185. package/lib/icon/icon.service.js +75 -75
  186. package/lib/icon/index.d.ts +2 -2
  187. package/lib/icon/index.js +4 -4
  188. package/lib/index.d.ts +52 -52
  189. package/lib/index.js +54 -54
  190. package/lib/inline-text-input/index.d.ts +1 -1
  191. package/lib/inline-text-input/index.js +3 -3
  192. package/lib/inline-text-input/inline-text-input.component.d.ts +3 -16
  193. package/lib/inline-text-input/inline-text-input.component.html +8 -31
  194. package/lib/inline-text-input/inline-text-input.component.js +25 -70
  195. package/lib/inline-text-input/inline-text-input.component.js.map +1 -1
  196. package/lib/jsui.module.css +479 -479
  197. package/lib/loading-indicator/index.d.ts +1 -1
  198. package/lib/loading-indicator/index.js +3 -3
  199. package/lib/loading-indicator/loading-indicator.component.d.ts +3 -3
  200. package/lib/loading-indicator/loading-indicator.component.html +12 -12
  201. package/lib/loading-indicator/loading-indicator.component.js +25 -25
  202. package/lib/localization/index.strings.json +50 -50
  203. package/lib/login-textinput/index.d.ts +1 -1
  204. package/lib/login-textinput/index.js +3 -3
  205. package/lib/login-textinput/login-textinput.d.ts +1 -1
  206. package/lib/login-textinput/login-textinput.html +14 -14
  207. package/lib/login-textinput/login-textinput.js +28 -28
  208. package/lib/metadata-form/index.d.ts +10 -10
  209. package/lib/metadata-form/index.js +13 -13
  210. package/lib/metadata-form/metadata-form.component.d.ts +93 -93
  211. package/lib/metadata-form/metadata-form.component.js +251 -251
  212. package/lib/metadata-form/metadata-form.html +546 -546
  213. package/lib/metadata-form/template-cache.run.d.ts +1 -1
  214. package/lib/metadata-form/template-cache.run.js +10 -10
  215. package/lib/metadata-form/typeahead-match.template.html +3 -3
  216. package/lib/modal/index.d.ts +2 -2
  217. package/lib/modal/index.js +4 -4
  218. package/lib/modal/modal.component.d.ts +29 -29
  219. package/lib/modal/modal.component.html +21 -21
  220. package/lib/modal/modal.component.js +150 -150
  221. package/lib/modal/modal.service.d.ts +55 -55
  222. package/lib/modal/modal.service.js +136 -136
  223. package/lib/on-media-error/index.d.ts +1 -1
  224. package/lib/on-media-error/index.js +3 -3
  225. package/lib/on-media-error/on-media-error.d.ts +1 -1
  226. package/lib/on-media-error/on-media-error.js +21 -21
  227. package/lib/page-thumbnail/index.d.ts +1 -1
  228. package/lib/page-thumbnail/index.js +3 -3
  229. package/lib/page-thumbnail/page-thumbnail.d.ts +44 -44
  230. package/lib/page-thumbnail/page-thumbnail.js +107 -107
  231. package/lib/paging/index.d.ts +4 -4
  232. package/lib/paging/index.js +6 -6
  233. package/lib/paging/pager.d.ts +1 -1
  234. package/lib/paging/pager.html +20 -20
  235. package/lib/paging/pager.js +52 -52
  236. package/lib/paging/paging-factory.d.ts +1 -1
  237. package/lib/paging/paging-factory.js +29 -29
  238. package/lib/paging/paging-range-bottom.d.ts +1 -1
  239. package/lib/paging/paging-range-bottom.html +8 -8
  240. package/lib/paging/paging-range-bottom.js +41 -41
  241. package/lib/paging/paging-range-top.d.ts +1 -1
  242. package/lib/paging/paging-range-top.html +34 -34
  243. package/lib/paging/paging-range-top.js +32 -32
  244. package/lib/progress-bar/index.d.ts +1 -1
  245. package/lib/progress-bar/index.js +3 -3
  246. package/lib/progress-bar/progress-bar.component.d.ts +9 -9
  247. package/lib/progress-bar/progress-bar.component.js +40 -40
  248. package/lib/progress-bar/progress-bar.html +6 -6
  249. package/lib/progress-circle/index.d.ts +1 -1
  250. package/lib/progress-circle/index.js +3 -3
  251. package/lib/progress-circle/progress-circle.d.ts +1 -1
  252. package/lib/progress-circle/progress-circle.html +15 -15
  253. package/lib/progress-circle/progress-circle.js +36 -36
  254. package/lib/response-handlers/api-success-handlers.d.ts +4 -4
  255. package/lib/response-handlers/api-success-handlers.js +21 -21
  256. package/lib/response-handlers/error-response.service.d.ts +13 -13
  257. package/lib/response-handlers/error-response.service.js +50 -50
  258. package/lib/response-handlers/feedback-error-handler.d.ts +12 -12
  259. package/lib/response-handlers/feedback-error-handler.js +43 -43
  260. package/lib/response-handlers/index.d.ts +4 -4
  261. package/lib/response-handlers/index.js +6 -6
  262. package/lib/response-handlers/log-error-handler.d.ts +9 -9
  263. package/lib/response-handlers/log-error-handler.js +29 -29
  264. package/lib/rich-text/index.d.ts +1 -1
  265. package/lib/rich-text/index.js +3 -3
  266. package/lib/rich-text/rich-text.component.d.ts +56 -56
  267. package/lib/rich-text/rich-text.component.html +64 -64
  268. package/lib/rich-text/rich-text.component.js +228 -227
  269. package/lib/rich-text/rich-text.component.js.map +1 -1
  270. package/lib/show-image-loader/index.d.ts +1 -1
  271. package/lib/show-image-loader/index.js +3 -3
  272. package/lib/show-image-loader/show-image-loader.d.ts +1 -1
  273. package/lib/show-image-loader/show-image-loader.js +22 -22
  274. package/lib/site-header/default-background-img.b64.d.ts +2 -2
  275. package/lib/site-header/default-background-img.b64.js +1 -1
  276. package/lib/site-header/index.d.ts +2 -2
  277. package/lib/site-header/index.js +4 -4
  278. package/lib/site-header/site-header-navbar-item.component.d.ts +10 -10
  279. package/lib/site-header/site-header-navbar-item.component.html +12 -12
  280. package/lib/site-header/site-header-navbar-item.component.js +54 -54
  281. package/lib/site-header/site-header.component.d.ts +12 -12
  282. package/lib/site-header/site-header.component.html +28 -28
  283. package/lib/site-header/site-header.component.js +64 -64
  284. package/lib/slides/index.d.ts +1 -1
  285. package/lib/slides/index.js +3 -3
  286. package/lib/slides/slides.d.ts +1 -1
  287. package/lib/slides/slides.html +17 -17
  288. package/lib/slides/slides.js +95 -95
  289. package/lib/style-typings/styles.d.ts +30 -30
  290. package/lib/style-typings/styles.js +2 -2
  291. package/lib/styles.css +0 -2
  292. package/lib/table-blank-slate/index.d.ts +1 -1
  293. package/lib/table-blank-slate/index.js +3 -3
  294. package/lib/table-blank-slate/table-blank-slate.d.ts +1 -1
  295. package/lib/table-blank-slate/table-blank-slate.html +16 -16
  296. package/lib/table-blank-slate/table-blank-slate.js +20 -20
  297. package/lib/tabs/index.d.ts +4 -4
  298. package/lib/tabs/index.js +6 -6
  299. package/lib/tabs/tab-group.d.ts +21 -21
  300. package/lib/tabs/tab-group.html +15 -15
  301. package/lib/tabs/tab-group.js +151 -151
  302. package/lib/tabs/tab-html-title-append.d.ts +1 -1
  303. package/lib/tabs/tab-html-title-append.js +17 -17
  304. package/lib/tabs/tab-html-title.d.ts +10 -10
  305. package/lib/tabs/tab-html-title.js +45 -45
  306. package/lib/tabs/tab.d.ts +18 -18
  307. package/lib/tabs/tab.html +2 -2
  308. package/lib/tabs/tab.js +70 -70
  309. package/lib/tag-input/index.d.ts +1 -1
  310. package/lib/tag-input/index.js +3 -3
  311. package/lib/tag-input/tag-input.component.d.ts +37 -37
  312. package/lib/tag-input/tag-input.component.js +107 -107
  313. package/lib/tag-input/tag-input.html +66 -66
  314. package/lib/textarea/index.d.ts +1 -1
  315. package/lib/textarea/index.js +3 -3
  316. package/lib/textarea/textarea.d.ts +1 -1
  317. package/lib/textarea/textarea.html +16 -16
  318. package/lib/textarea/textarea.js +30 -30
  319. package/lib/textinput/index.d.ts +1 -1
  320. package/lib/textinput/index.js +3 -3
  321. package/lib/textinput/textinput.d.ts +1 -1
  322. package/lib/textinput/textinput.html +32 -32
  323. package/lib/textinput/textinput.js +50 -50
  324. package/lib/theme/index.d.ts +1 -1
  325. package/lib/theme/index.js +3 -3
  326. package/lib/theme/theme.service.d.ts +11 -11
  327. package/lib/theme/theme.service.js +69 -69
  328. package/lib/theme/theme.typings.d.ts +1 -1
  329. package/lib/theme/theme.typings.js +2 -2
  330. package/lib/time-conversion/index.d.ts +1 -1
  331. package/lib/time-conversion/index.js +3 -3
  332. package/lib/time-conversion/time-conversion-factory.d.ts +1 -1
  333. package/lib/time-conversion/time-conversion-factory.js +90 -90
  334. package/lib/time-input/index.d.ts +2 -2
  335. package/lib/time-input/index.js +4 -4
  336. package/lib/time-input/time-input.d.ts +1 -1
  337. package/lib/time-input/time-input.html +47 -47
  338. package/lib/time-input/time-input.js +129 -129
  339. package/lib/time-input/validate-time.d.ts +1 -1
  340. package/lib/time-input/validate-time.js +29 -29
  341. package/lib/translate/index.d.ts +1 -1
  342. package/lib/translate/index.js +3 -3
  343. package/lib/translate/translate-factory.d.ts +3 -3
  344. package/lib/translate/translate-factory.js +33 -33
  345. package/lib/tree/index.d.ts +3 -3
  346. package/lib/tree/index.js +5 -5
  347. package/lib/tree/recursion-factory.d.ts +1 -1
  348. package/lib/tree/recursion-factory.js +45 -45
  349. package/lib/tree/tree-node.d.ts +1 -1
  350. package/lib/tree/tree-node.html +56 -56
  351. package/lib/tree/tree-node.js +29 -29
  352. package/lib/tree/tree.d.ts +1 -1
  353. package/lib/tree/tree.html +27 -27
  354. package/lib/tree/tree.js +90 -90
  355. package/lib/tsconfig.deploy.tsbuildinfo +296 -300
  356. package/lib/type-string/index.d.ts +1 -1
  357. package/lib/type-string/index.js +3 -3
  358. package/lib/type-string/type-string.component.d.ts +11 -11
  359. package/lib/type-string/type-string.component.html +1 -1
  360. package/lib/type-string/type-string.component.js +76 -76
  361. package/lib/url-modification/index.d.ts +1 -1
  362. package/lib/url-modification/index.js +3 -3
  363. package/lib/url-modification/url-modification.service.d.ts +3 -3
  364. package/lib/url-modification/url-modification.service.js +38 -38
  365. package/package.json +120 -120
  366. package/src/components/actionable-empty-state/actionable-empty-state.html +15 -15
  367. package/src/components/actionable-empty-state/actionable-empty-state.less +19 -19
  368. package/src/components/actionable-empty-state/actionable-empty-state.ts +36 -36
  369. package/src/components/actionable-empty-state/index.ts +1 -1
  370. package/src/components/auto-complete/auto-complete-match-renderer.component.html +20 -20
  371. package/src/components/auto-complete/auto-complete-match-renderer.component.ts +250 -250
  372. package/src/components/auto-complete/auto-complete.component.html +43 -43
  373. package/src/components/auto-complete/auto-complete.component.less +66 -66
  374. package/src/components/auto-complete/auto-complete.component.ts +82 -82
  375. package/src/components/auto-complete/index.ts +2 -2
  376. package/src/components/auto-focus/auto-focus.js +17 -17
  377. package/src/components/auto-focus/auto-focus.service.ts +24 -24
  378. package/src/components/auto-focus/index.js +2 -2
  379. package/src/components/badge/badge.html +3 -3
  380. package/src/components/badge/badge.js +14 -14
  381. package/src/components/badge/badge.less +47 -47
  382. package/src/components/badge/index.ts +1 -1
  383. package/src/components/checkbox/checkbox.html +21 -21
  384. package/src/components/checkbox/checkbox.js +29 -29
  385. package/src/components/checkbox/index.ts +1 -1
  386. package/src/components/collapse/collapse.js +86 -86
  387. package/src/components/collapse/collapse.less +17 -17
  388. package/src/components/collapse/index.ts +1 -1
  389. package/src/components/color-input/color-input.html +32 -32
  390. package/src/components/color-input/color-input.less +623 -623
  391. package/src/components/color-input/color-input.ts +96 -96
  392. package/src/components/color-input/index.ts +2 -2
  393. package/src/components/color-input/spectrum-color-picker.js +60 -60
  394. package/src/components/color-utils/color-utils.service.ts +35 -35
  395. package/src/components/color-utils/index.ts +1 -1
  396. package/src/components/constants/constants.js +8 -8
  397. package/src/components/constants/index.ts +1 -1
  398. package/src/components/date-input/date-input.html +31 -31
  399. package/src/components/date-input/date-input.js +116 -116
  400. package/src/components/date-input/date-input.less +20 -20
  401. package/src/components/date-input/index.ts +2 -2
  402. package/src/components/date-input/validate-date.js +33 -33
  403. package/src/components/date-time-utilities/date-time-utilities.js +94 -94
  404. package/src/components/date-time-utilities/index.ts +1 -1
  405. package/src/components/date-time-zone-picker/date-time-zone-factory.ts +122 -122
  406. package/src/components/date-time-zone-picker/date-time-zone-picker.html +36 -36
  407. package/src/components/date-time-zone-picker/date-time-zone-picker.less +54 -54
  408. package/src/components/date-time-zone-picker/date-time-zone-picker.ts +157 -157
  409. package/src/components/date-time-zone-picker/datepicker.html +32 -32
  410. package/src/components/date-time-zone-picker/datepicker.ts +170 -170
  411. package/src/components/date-time-zone-picker/index.ts +6 -6
  412. package/src/components/date-time-zone-picker/time-format-filter.ts +59 -59
  413. package/src/components/date-time-zone-picker/time-zone-picker.html +21 -21
  414. package/src/components/date-time-zone-picker/time-zone-picker.js +46 -46
  415. package/src/components/date-time-zone-picker/timepicker.html +22 -22
  416. package/src/components/date-time-zone-picker/timepicker.js +115 -115
  417. package/src/components/decorators/index.ts +69 -69
  418. package/src/components/disable-context-menu/disable-context-menu.ts +21 -21
  419. package/src/components/disable-context-menu/index.ts +1 -1
  420. package/src/components/dropdown/dropdown.html +21 -21
  421. package/src/components/dropdown/dropdown.less +67 -67
  422. package/src/components/dropdown/dropdown.ts +96 -96
  423. package/src/components/dropdown/index.ts +1 -1
  424. package/src/components/dropdown-menu/dropdown-menu-action.component.html +25 -25
  425. package/src/components/dropdown-menu/dropdown-menu-action.component.ts +67 -67
  426. package/src/components/dropdown-menu/dropdown-menu-contents.html +3 -3
  427. package/src/components/dropdown-menu/dropdown-menu-contents.ts +123 -123
  428. package/src/components/dropdown-menu/dropdown-menu-header.html +1 -1
  429. package/src/components/dropdown-menu/dropdown-menu-header.js +12 -12
  430. package/src/components/dropdown-menu/dropdown-menu-item.html +1 -1
  431. package/src/components/dropdown-menu/dropdown-menu-item.js +12 -12
  432. package/src/components/dropdown-menu/dropdown-menu-note.html +1 -1
  433. package/src/components/dropdown-menu/dropdown-menu-note.js +12 -12
  434. package/src/components/dropdown-menu/dropdown-menu-separator.html +1 -1
  435. package/src/components/dropdown-menu/dropdown-menu-separator.js +11 -11
  436. package/src/components/dropdown-menu/dropdown-menu-toggle.js +70 -70
  437. package/src/components/dropdown-menu/dropdown-menu.html +1 -1
  438. package/src/components/dropdown-menu/dropdown-menu.less +141 -141
  439. package/src/components/dropdown-menu/dropdown-menu.ts +95 -95
  440. package/src/components/dropdown-menu/index.ts +8 -8
  441. package/src/components/feedback/clipboard.service.ts +42 -42
  442. package/src/components/feedback/feedback.component.html +24 -24
  443. package/src/components/feedback/feedback.component.ts +126 -126
  444. package/src/components/feedback/feedback.less +126 -126
  445. package/src/components/feedback/feedback.service.ts +51 -51
  446. package/src/components/feedback/index.ts +3 -3
  447. package/src/components/first-time-motivator/first-time-motivator-transclude.html +1 -1
  448. package/src/components/first-time-motivator/first-time-motivator.html +29 -29
  449. package/src/components/first-time-motivator/first-time-motivator.less +151 -151
  450. package/src/components/first-time-motivator/first-time-motivator.ts +332 -332
  451. package/src/components/first-time-motivator/ftm-target-element.ts +94 -94
  452. package/src/components/first-time-motivator/index.ts +2 -2
  453. package/src/components/font-selector/font-selector.html +67 -67
  454. package/src/components/font-selector/font-selector.less +121 -121
  455. package/src/components/font-selector/font-selector.ts +259 -259
  456. package/src/components/font-selector/google-webfonts-api.backend.ts +8 -8
  457. package/src/components/font-selector/google-webfonts-api.service.ts +28 -28
  458. package/src/components/font-selector/index.ts +3 -3
  459. package/src/components/font-selector/webfont-loader.service.ts +42 -42
  460. package/src/components/footer/footer.html +6 -6
  461. package/src/components/footer/footer.js +22 -22
  462. package/src/components/footer/footer.less +9 -9
  463. package/src/components/footer/index.ts +1 -1
  464. package/src/components/form-validation-utils/form-validation-utils.ts +11 -11
  465. package/src/components/form-validation-utils/index.ts +1 -1
  466. package/src/components/full-screen/full-screen.service.ts +62 -62
  467. package/src/components/full-screen/index.ts +1 -1
  468. package/src/components/gesture-handler/gesture-handler.js +104 -104
  469. package/src/components/gesture-handler/index.ts +1 -1
  470. package/src/components/gesture-handler/test/gesture-handler.spec.js +26 -26
  471. package/src/components/hierarchy/hierarchy.html +38 -38
  472. package/src/components/hierarchy/hierarchy.js +26 -26
  473. package/src/components/hierarchy/hierarchy.less +42 -42
  474. package/src/components/hierarchy/index.ts +1 -1
  475. package/src/components/hover-tooltip/hover-tooltip.less +85 -85
  476. package/src/components/hover-tooltip/hover-tooltip.ts +132 -132
  477. package/src/components/hover-tooltip/index.ts +1 -1
  478. package/src/components/icon/icon.html +1 -1
  479. package/src/components/icon/icon.service.ts +66 -66
  480. package/src/components/icon/icon.ts +34 -34
  481. package/src/components/icon/index.ts +2 -2
  482. package/src/components/index.less +35 -35
  483. package/src/components/index.ts +52 -52
  484. package/src/components/inline-text-input/index.ts +1 -1
  485. package/src/components/inline-text-input/inline-text-input.component.html +8 -31
  486. package/src/components/inline-text-input/inline-text-input.component.ts +10 -62
  487. package/src/components/inline-text-input/inline-text-input.less +8 -27
  488. package/src/components/legacy/mediafly-bootstrap.css +2936 -2936
  489. package/src/components/legacy/mediafly-utils.js +15 -15
  490. package/src/components/legacy/mediafly.css +2323 -2323
  491. package/src/components/legacy/oocss.css +77 -77
  492. package/src/components/less/fonts/font-awesome.less +7146 -7146
  493. package/src/components/less/fonts/index.less +4 -4
  494. package/src/components/less/fonts/mfly-webfont.less +93 -93
  495. package/src/components/less/fonts/poppins.less +26 -26
  496. package/src/components/less/fonts/roboto.less +38 -38
  497. package/src/components/less/mixins/vendor-prefixes.less +287 -287
  498. package/src/components/less/objects/buttons.less +328 -328
  499. package/src/components/less/objects/buttons.module.css +192 -192
  500. package/src/components/less/objects/containers.less +246 -246
  501. package/src/components/less/objects/containers.module.css +18 -18
  502. package/src/components/less/objects/forms.less +417 -417
  503. package/src/components/less/objects/grid.less +985 -985
  504. package/src/components/less/objects/headers.less +79 -79
  505. package/src/components/less/objects/headers.module.css +83 -83
  506. package/src/components/less/objects/index.less +11 -11
  507. package/src/components/less/objects/labels.less +22 -22
  508. package/src/components/less/objects/links.less +58 -58
  509. package/src/components/less/objects/links.module.css +57 -57
  510. package/src/components/less/objects/modals.less +40 -40
  511. package/src/components/less/objects/radios-checkboxes.less +233 -233
  512. package/src/components/less/objects/tables.less +237 -237
  513. package/src/components/less/objects/tabs.less +28 -28
  514. package/src/components/less/standalone.less +8 -8
  515. package/src/components/less/utilities/accessibility.less +39 -39
  516. package/src/components/less/utilities/animations.less +41 -41
  517. package/src/components/less/utilities/grid-utilities.less +115 -115
  518. package/src/components/less/utilities/index.less +6 -6
  519. package/src/components/less/utilities/normalize.less +344 -344
  520. package/src/components/less/utilities/reset.less +52 -52
  521. package/src/components/less/utilities/utilities.less +171 -171
  522. package/src/components/less/variables/colors.less +50 -50
  523. package/src/components/less/variables/effects.less +21 -21
  524. package/src/components/less/variables/forms.less +16 -16
  525. package/src/components/less/variables/index.less +6 -6
  526. package/src/components/less/variables/pages.less +25 -25
  527. package/src/components/less/variables/typography.less +19 -19
  528. package/src/components/less/variables/z-index.less +24 -24
  529. package/src/components/less/variables.module.css +125 -125
  530. package/src/components/less/vendor/index.less +2 -2
  531. package/src/components/less/vendor/pikaday.css +221 -221
  532. package/src/components/less/vendor/quill.snow.css +945 -945
  533. package/src/components/loading-indicator/index.ts +1 -1
  534. package/src/components/loading-indicator/loading-indicator.component.html +12 -12
  535. package/src/components/loading-indicator/loading-indicator.component.ts +10 -10
  536. package/src/components/loading-indicator/loading-indicator.less +62 -62
  537. package/src/components/localization/index.strings.json +50 -50
  538. package/src/components/login-textinput/index.ts +1 -1
  539. package/src/components/login-textinput/login-textinput.html +14 -14
  540. package/src/components/login-textinput/login-textinput.js +26 -26
  541. package/src/components/metadata-form/index.ts +12 -12
  542. package/src/components/metadata-form/metadata-form.component.ts +307 -307
  543. package/src/components/metadata-form/metadata-form.html +546 -546
  544. package/src/components/metadata-form/metadata-form.less +153 -153
  545. package/src/components/metadata-form/template-cache.run.ts +8 -8
  546. package/src/components/metadata-form/typeahead-match.template.html +3 -3
  547. package/src/components/modal/index.ts +2 -2
  548. package/src/components/modal/modal.component.html +21 -21
  549. package/src/components/modal/modal.component.less +131 -131
  550. package/src/components/modal/modal.component.module.css +126 -126
  551. package/src/components/modal/modal.component.ts +141 -141
  552. package/src/components/modal/modal.service.ts +171 -171
  553. package/src/components/on-media-error/index.ts +1 -1
  554. package/src/components/on-media-error/on-media-error.js +23 -23
  555. package/src/components/page-thumbnail/index.ts +1 -1
  556. package/src/components/page-thumbnail/page-thumbnail.ts +159 -159
  557. package/src/components/paging/index.ts +4 -4
  558. package/src/components/paging/pager.html +20 -20
  559. package/src/components/paging/pager.js +63 -63
  560. package/src/components/paging/paging-factory.js +36 -36
  561. package/src/components/paging/paging-range-bottom.html +8 -8
  562. package/src/components/paging/paging-range-bottom.js +50 -50
  563. package/src/components/paging/paging-range-top.html +34 -34
  564. package/src/components/paging/paging-range-top.js +36 -36
  565. package/src/components/paging/paging.less +36 -36
  566. package/src/components/progress-bar/index.ts +1 -1
  567. package/src/components/progress-bar/progress-bar.component.ts +27 -27
  568. package/src/components/progress-bar/progress-bar.html +6 -6
  569. package/src/components/progress-bar/progress-bar.less +23 -23
  570. package/src/components/progress-circle/index.ts +1 -1
  571. package/src/components/progress-circle/progress-circle.html +15 -15
  572. package/src/components/progress-circle/progress-circle.js +36 -36
  573. package/src/components/progress-circle/progress-circle.less +146 -146
  574. package/src/components/response-handlers/api-success-handlers.ts +15 -15
  575. package/src/components/response-handlers/error-response.service.ts +40 -40
  576. package/src/components/response-handlers/feedback-error-handler.ts +25 -25
  577. package/src/components/response-handlers/index.ts +4 -4
  578. package/src/components/response-handlers/log-error-handler.ts +15 -15
  579. package/src/components/rich-text/index.ts +1 -1
  580. package/src/components/rich-text/rich-text.component.html +64 -64
  581. package/src/components/rich-text/rich-text.component.less +129 -129
  582. package/src/components/rich-text/rich-text.component.ts +286 -284
  583. package/src/components/show-image-loader/index.ts +1 -1
  584. package/src/components/show-image-loader/show-image-loader.js +23 -23
  585. package/src/components/site-header/default-background-img.b64.js +1 -1
  586. package/src/components/site-header/index.ts +2 -2
  587. package/src/components/site-header/site-header-navbar-item.component.html +12 -12
  588. package/src/components/site-header/site-header-navbar-item.component.ts +24 -24
  589. package/src/components/site-header/site-header.component.html +28 -28
  590. package/src/components/site-header/site-header.component.ts +30 -30
  591. package/src/components/site-header/site-header.less +196 -196
  592. package/src/components/slides/index.ts +1 -1
  593. package/src/components/slides/slides.html +17 -17
  594. package/src/components/slides/slides.less +155 -155
  595. package/src/components/slides/slides.ts +101 -101
  596. package/src/components/style-typings/styles.ts +37 -37
  597. package/src/components/table-blank-slate/index.ts +1 -1
  598. package/src/components/table-blank-slate/table-blank-slate.html +16 -16
  599. package/src/components/table-blank-slate/table-blank-slate.js +17 -17
  600. package/src/components/table-blank-slate/table-blank-slate.less +22 -22
  601. package/src/components/tabs/index.ts +4 -4
  602. package/src/components/tabs/tab-group.html +15 -15
  603. package/src/components/tabs/tab-group.ts +159 -159
  604. package/src/components/tabs/tab-html-title-append.ts +17 -17
  605. package/src/components/tabs/tab-html-title.ts +34 -34
  606. package/src/components/tabs/tab.html +2 -2
  607. package/src/components/tabs/tab.ts +56 -56
  608. package/src/components/tabs/tabs.less +44 -44
  609. package/src/components/tag-input/index.ts +1 -1
  610. package/src/components/tag-input/tag-input.component.ts +146 -146
  611. package/src/components/tag-input/tag-input.html +66 -66
  612. package/src/components/tag-input/tag-input.less +107 -107
  613. package/src/components/textarea/index.ts +1 -1
  614. package/src/components/textarea/textarea.html +16 -16
  615. package/src/components/textarea/textarea.js +30 -30
  616. package/src/components/textinput/index.ts +1 -1
  617. package/src/components/textinput/textinput.html +32 -32
  618. package/src/components/textinput/textinput.ts +53 -53
  619. package/src/components/theme/index.ts +1 -1
  620. package/src/components/theme/theme.service.ts +71 -71
  621. package/src/components/theme/theme.typings.ts +3 -3
  622. package/src/components/time-conversion/index.ts +1 -1
  623. package/src/components/time-conversion/time-conversion-factory.ts +114 -114
  624. package/src/components/time-input/index.ts +2 -2
  625. package/src/components/time-input/time-input.html +47 -47
  626. package/src/components/time-input/time-input.js +156 -156
  627. package/src/components/time-input/time-input.less +25 -25
  628. package/src/components/time-input/validate-time.js +31 -31
  629. package/src/components/translate/index.ts +1 -1
  630. package/src/components/translate/translate-factory.ts +43 -43
  631. package/src/components/tree/index.ts +3 -3
  632. package/src/components/tree/recursion-factory.js +43 -43
  633. package/src/components/tree/tree-node.html +56 -56
  634. package/src/components/tree/tree-node.js +30 -30
  635. package/src/components/tree/tree.html +27 -27
  636. package/src/components/tree/tree.less +109 -109
  637. package/src/components/tree/tree.ts +109 -109
  638. package/src/components/type-string/index.ts +1 -1
  639. package/src/components/type-string/type-string.component.html +1 -1
  640. package/src/components/type-string/type-string.component.ts +63 -63
  641. package/src/components/url-modification/index.ts +1 -1
  642. package/src/components/url-modification/url-modification.service.ts +33 -33
  643. package/src/fonts/mfly-webfont.woff +0 -0
  644. package/src/index.html +89 -89
  645. package/src/index.js +23 -23
  646. package/src/index.less +16 -16
  647. package/src/index.spec.js +44 -44
  648. package/stylelint.config.js +8 -8
  649. package/tsconfig.deploy.json +29 -29
  650. package/tsconfig.json +34 -34
  651. package/tsconfig.tsbuildinfo +1172 -1626
  652. package/tslint.json +4 -4
  653. package/typings/index.d.ts +46 -46
  654. package/webpack.config.js +228 -223
@@ -1,64 +1,64 @@
1
- <div id="toolbar" class="c-rich-text">
2
-
3
- <span ng-if="$ctrl.allowFontSelection" class="ql-formats c-rich-text-font-container">
4
- <mfly:font-selector
5
- input-id="$ctrl.fontSelectorId"
6
- font-family="$ctrl.selectedFont"
7
- on-font-select="$ctrl.fontSelected(fontFamily)">
8
- </mfly:font-selector>
9
- </span>
10
-
11
- <span class="ql-formats">
12
- <select id="editorSize" class="ql-size">
13
- <option value="10px" data-value="10px">10px</option>
14
- <option value="12px" data-value="12px">12px</option>
15
- <option value="14px" data-value="14px">14px</option>
16
- <option value="16px" data-value="16px">16px</option>
17
- <option value="20px" data-value="20px">20px</option>
18
- <option value="24px" data-value="24px">24px</option>
19
- <option value="32px" data-value="32px">32px</option>
20
- </select>
21
- </span>
22
-
23
- <!-- ng show for event handler -->
24
- <span ng-show="$ctrl.allowColorSelection" class="ql-formats">
25
- <input id="rteColorInput"
26
- type="color"
27
- ng-model="$ctrl.selectedColor">
28
- </span>
29
-
30
- <span class="ql-formats">
31
- <button class="ql-bold"></button>
32
- <button class="ql-italic"></button>
33
- <button class="ql-underline"></button>
34
- </span>
35
-
36
- <span class="ql-formats">
37
- <button class="ql-list" value="bullet"></button>
38
- <button class="ql-list" value="ordered"></button>
39
- </span>
40
-
41
- <span class="ql-formats">
42
- <button class="ql-header" value="1"></button>
43
- <button class="ql-header" value="2"></button>
44
- </span>
45
-
46
- <span class="ql-formats">
47
- <button class="ql-align"></button>
48
- <button class="ql-align" value="center"></button>
49
- <button class="ql-align" value="right"></button>
50
- </span>
51
-
52
- <span class="ql-formats">
53
- <button class="ql-link"></button>
54
- <button class="ql-clean"></button>
55
- </span>
56
- </div>
57
- <div
58
- class="js-rich-text-target"
59
- ng-form="$ctrl.validationForm">
60
- </div>
61
-
62
- <span
63
- ng-show="$ctrl.ngModelCtrl.$error.required"
64
- class="o-text-validation o-text-validation--warning c-rich-text__validation">{{ $ctrl.requiredText }}</span>
1
+ <div id="toolbar" class="c-rich-text">
2
+
3
+ <span ng-if="$ctrl.allowFontSelection" class="ql-formats c-rich-text-font-container">
4
+ <mfly:font-selector
5
+ input-id="$ctrl.fontSelectorId"
6
+ font-family="$ctrl.selectedFont"
7
+ on-font-select="$ctrl.fontSelected(fontFamily)">
8
+ </mfly:font-selector>
9
+ </span>
10
+
11
+ <span class="ql-formats">
12
+ <select id="editorSize" class="ql-size">
13
+ <option value="10px" data-value="10px">10px</option>
14
+ <option value="12px" data-value="12px">12px</option>
15
+ <option value="14px" data-value="14px">14px</option>
16
+ <option value="16px" data-value="16px">16px</option>
17
+ <option value="20px" data-value="20px">20px</option>
18
+ <option value="24px" data-value="24px">24px</option>
19
+ <option value="32px" data-value="32px">32px</option>
20
+ </select>
21
+ </span>
22
+
23
+ <!-- ng show for event handler -->
24
+ <span ng-show="$ctrl.allowColorSelection" class="ql-formats">
25
+ <input id="rteColorInput"
26
+ type="color"
27
+ ng-model="$ctrl.selectedColor">
28
+ </span>
29
+
30
+ <span class="ql-formats">
31
+ <button class="ql-bold"></button>
32
+ <button class="ql-italic"></button>
33
+ <button class="ql-underline"></button>
34
+ </span>
35
+
36
+ <span class="ql-formats">
37
+ <button class="ql-list" value="bullet"></button>
38
+ <button class="ql-list" value="ordered"></button>
39
+ </span>
40
+
41
+ <span class="ql-formats">
42
+ <button class="ql-header" value="1"></button>
43
+ <button class="ql-header" value="2"></button>
44
+ </span>
45
+
46
+ <span class="ql-formats">
47
+ <button class="ql-align"></button>
48
+ <button class="ql-align" value="center"></button>
49
+ <button class="ql-align" value="right"></button>
50
+ </span>
51
+
52
+ <span class="ql-formats">
53
+ <button class="ql-link"></button>
54
+ <button class="ql-clean"></button>
55
+ </span>
56
+ </div>
57
+ <div
58
+ class="js-rich-text-target"
59
+ ng-form="$ctrl.validationForm">
60
+ </div>
61
+
62
+ <span
63
+ ng-show="$ctrl.ngModelCtrl.$error.required"
64
+ class="o-text-validation o-text-validation--warning c-rich-text__validation">{{ $ctrl.requiredText }}</span>
@@ -1,228 +1,229 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const angular_1 = __importDefault(require("angular"));
7
- const lodash_1 = __importDefault(require("lodash"));
8
- const quill_1 = __importDefault(require("quill"));
9
- const jquery_1 = __importDefault(require("jquery"));
10
- // text editor requires sanitization but also needs to allow for style attributes which are removed by default
11
- angular_1.default.module('app').config(($sanitizeProvider) => {
12
- $sanitizeProvider.addValidAttrs(['style']);
13
- });
14
- class RichTextComponentController {
15
- constructor($element, $rootScope, $sanitize, $timeout, translateFactory) {
16
- this.$element = $element;
17
- this.$rootScope = $rootScope;
18
- this.$sanitize = $sanitize;
19
- this.$timeout = $timeout;
20
- this.translateFactory = translateFactory;
21
- this.debouncedOnTextChange = lodash_1.default.debounce((delta, oldContents, source) => this.onTextChange(delta, oldContents, source), 250);
22
- this.DEFAULT_COLOR = '#535353';
23
- this.DEFAULT_FONT = 'Roboto';
24
- this.DEFAULT_SIZE = '14px';
25
- /**
26
- * Since the editor area is smaller than the visible container area, this
27
- * function allows the user to click anywhere in the container to start typing.
28
- */
29
- this.setFocusInEditor = () => {
30
- this.$element.find('.ql-editor').focus();
31
- };
32
- }
33
- $onChanges(changes) {
34
- if (!changes.isRequired) {
35
- return;
36
- }
37
- if (changes.isRequired.currentValue === changes.isRequired.previousValue) {
38
- return;
39
- }
40
- this.manageValidity();
41
- }
42
- $onDestroy() {
43
- this.editor.off('text-change', this.debouncedOnTextChange);
44
- this.$element.find('.ql-container').off('click', this.setFocusInEditor);
45
- this.colorPicker.removeEventListener('change', this.colorChanged.bind(this));
46
- this.colorPicker.removeEventListener('click', this.colorInputOpened.bind(this));
47
- }
48
- $onInit() {
49
- this.requiredText = this.translateFactory.instant('JSUI.REQUIRED');
50
- this.selectedColor = this.DEFAULT_COLOR;
51
- this.selectedFont = this.DEFAULT_FONT;
52
- this.fontSelectorId = 'rteFontSelector' + Math.floor(Math.random() * 1000 + 1);
53
- this.colorPicker = document.getElementById('rteColorInput');
54
- this.colorPicker.addEventListener('change', this.colorChanged.bind(this));
55
- this.colorPicker.addEventListener('click', this.colorInputOpened.bind(this));
56
- // programatically reset size
57
- jquery_1.default('.ql-size').val(this.DEFAULT_SIZE);
58
- }
59
- $postLink() {
60
- quill_1.default.register(quill_1.default.import('attributors/class/background'), true);
61
- quill_1.default.register(quill_1.default.import('attributors/style/color'), true);
62
- const fontStyle = quill_1.default.import('attributors/style/font');
63
- fontStyle.whitelist = [this.DEFAULT_FONT, 'Poppins'];
64
- quill_1.default.register(fontStyle, true);
65
- const fontSizeArr = ['10px', '12px', '14px', '16px', '20px', '24px', '32px', '42px', '54px', '68px', '84px', '98px'];
66
- const Size = quill_1.default.import('attributors/style/size');
67
- Size.whitelist = fontSizeArr;
68
- quill_1.default.register(Size, true);
69
- const options = {
70
- modules: {
71
- toolbar: '#toolbar'
72
- },
73
- theme: 'snow',
74
- };
75
- this.editor = new quill_1.default(this.$element.find('.js-rich-text-target')[0], options);
76
- // Disable spellcheck because of a bad bug that deletes text (CE-4692).
77
- this.editor.root.setAttribute('spellcheck', false);
78
- this.editor.on('text-change', this.debouncedOnTextChange);
79
- this.editor.on('selection-change', this.selectionChange.bind(this));
80
- this.$element.find('.ql-container').on('click', this.setFocusInEditor);
81
- this.ngModelCtrl.$render = () => {
82
- if (!this.ngModelCtrl.$viewValue) {
83
- this.editor.setText('\n');
84
- return;
85
- }
86
- this.editor.root.innerHTML = this.ngModelCtrl.$viewValue;
87
- };
88
- }
89
- colorChanged() {
90
- this.applyColor();
91
- }
92
- colorInputOpened() {
93
- this.cacheSelection();
94
- }
95
- fontSelected(fontFamily) {
96
- if (fontFamily) {
97
- this.$rootScope.$broadcast('richTextToolbarContainer:closeContainer');
98
- const fontAtributor = quill_1.default.import('attributors/style/font');
99
- fontAtributor.whitelist = [fontFamily];
100
- this.updateFontDisplay(fontFamily);
101
- quill_1.default.register(fontAtributor, true);
102
- this.editor.format('font', fontFamily);
103
- this.sanitizeContents();
104
- }
105
- }
106
- manageValidity() {
107
- const isValid = !this.isRequired || !!this.ngModelCtrl.$viewValue;
108
- this.ngModelCtrl.$setValidity('required', isValid);
109
- }
110
- onTextChange(_delta, _oldContents, source) {
111
- if (source !== 'user') {
112
- return;
113
- }
114
- const selection = this.editor.getSelection();
115
- const userClearedEditor = (this.editor.root.innerHTML === `<p><br></p>`);
116
- if (userClearedEditor) {
117
- // reset the color picker to the default by passing an undefined range
118
- this.editor.root.innerHTML = '';
119
- this.updateColorDisplay(undefined);
120
- this.ngModelCtrl.$setViewValue(undefined);
121
- this.manageValidity();
122
- this.formatToDefaults();
123
- return;
124
- }
125
- this.sanitizeContents();
126
- if (!selection) {
127
- return;
128
- }
129
- const format = this.editor.getFormat(selection.index, 0);
130
- // the following checks for an empty formatting
131
- if (lodash_1.default.isEmpty(format)) {
132
- // if format is empty then set back to default styles
133
- this.formatToDefaults();
134
- }
135
- }
136
- selectionChange(range, oldRange, source) {
137
- if (source !== 'user') {
138
- return;
139
- }
140
- if (!range) {
141
- return;
142
- }
143
- const leaf = this.editor.getLeaf(range.index);
144
- const font = this.getFontFromLeaf(leaf);
145
- const format = this.editor.getFormat(range);
146
- this.updateColorDisplay(range);
147
- // if get format is empty we can switch to the defaults
148
- if (!format.size) {
149
- jquery_1.default('.ql-size').val(this.DEFAULT_SIZE);
150
- jquery_1.default('#editorSize .ql-picker-label').attr('data-value', this.DEFAULT_SIZE);
151
- jquery_1.default('#editorSize .ql-picker-label').attr('data-label', this.DEFAULT_SIZE);
152
- }
153
- if (font) {
154
- this.updateFontDisplay(font.replace(/"/g, ''));
155
- return;
156
- }
157
- if (!format.font) {
158
- this.editor.format('font', this.DEFAULT_FONT);
159
- }
160
- }
161
- applyColor() {
162
- // CE-3031: Re-apply the text selection that was made before selecting a color
163
- // as the act of hiding some browsers color inputs can change the selected text
164
- if (this.cachedSelection) {
165
- this.editor.setSelection(this.cachedSelection.index, this.cachedSelection.length);
166
- }
167
- this.editor.format('color', this.selectedColor);
168
- this.sanitizeContents();
169
- }
170
- cacheSelection() {
171
- this.cachedSelection = this.editor.getSelection();
172
- }
173
- sanitizeContents() {
174
- const html = this.$sanitize(this.editor.root.innerHTML);
175
- this.ngModelCtrl.$setViewValue(html);
176
- this.manageValidity();
177
- }
178
- formatToDefaults() {
179
- this.updateFontDisplay(this.DEFAULT_FONT);
180
- this.editor.format('color', this.DEFAULT_COLOR);
181
- this.editor.format('size', this.DEFAULT_SIZE);
182
- }
183
- getFontFromLeaf(leaf) {
184
- if (!leaf) {
185
- return;
186
- }
187
- if (!leaf[0].parent.domNode.style.fontFamily) {
188
- return;
189
- }
190
- return leaf[0].parent.domNode.style.fontFamily;
191
- }
192
- updateFontDisplay(fontFamily) {
193
- this.selectedFont = fontFamily;
194
- this.fontStyle = {
195
- 'font-family': fontFamily
196
- };
197
- }
198
- updateColorDisplay(range) {
199
- this.$timeout(() => {
200
- const format = this.editor.getFormat(range);
201
- const color = format.color;
202
- if (!color || lodash_1.default.isEmpty(color)) {
203
- this.selectedColor = this.DEFAULT_COLOR;
204
- return;
205
- }
206
- if (lodash_1.default.isArray(color)) {
207
- this.selectedColor = color[0];
208
- return;
209
- }
210
- this.selectedColor = color;
211
- });
212
- }
213
- }
214
- exports.default = RichTextComponentController;
215
- angular_1.default.module('app').component('richText', {
216
- bindings: {
217
- allowColorSelection: '<',
218
- allowFontSelection: '<',
219
- isRequired: '<',
220
- ngModel: '<'
221
- },
222
- controller: RichTextComponentController,
223
- require: {
224
- ngModelCtrl: 'ngModel'
225
- },
226
- template: require('./rich-text.component.html')
227
- });
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const angular_1 = __importDefault(require("angular"));
7
+ const lodash_1 = __importDefault(require("lodash"));
8
+ const quill_1 = __importDefault(require("quill"));
9
+ const jquery_1 = __importDefault(require("jquery"));
10
+ // text editor requires sanitization but also needs to allow for style attributes which are removed by default
11
+ angular_1.default.module('app').config(($sanitizeProvider) => {
12
+ $sanitizeProvider.addValidAttrs(['style']);
13
+ });
14
+ class RichTextComponentController {
15
+ constructor($element, $rootScope, $sanitize, $timeout, translateFactory) {
16
+ this.$element = $element;
17
+ this.$rootScope = $rootScope;
18
+ this.$sanitize = $sanitize;
19
+ this.$timeout = $timeout;
20
+ this.translateFactory = translateFactory;
21
+ this.debouncedOnTextChange = lodash_1.default.debounce((delta, oldContents, source) => this.onTextChange(delta, oldContents, source), 250);
22
+ this.DEFAULT_COLOR = '#535353';
23
+ this.DEFAULT_FONT = 'Roboto';
24
+ this.DEFAULT_SIZE = '14px';
25
+ /**
26
+ * Since the editor area is smaller than the visible container area, this
27
+ * function allows the user to click anywhere in the container to start typing.
28
+ */
29
+ this.setFocusInEditor = () => {
30
+ this.$element.find('.ql-editor').focus();
31
+ };
32
+ }
33
+ $onChanges(changes) {
34
+ if (!changes.isRequired) {
35
+ return;
36
+ }
37
+ if (changes.isRequired.currentValue === changes.isRequired.previousValue) {
38
+ return;
39
+ }
40
+ this.manageValidity();
41
+ }
42
+ $onDestroy() {
43
+ this.editor.off('text-change', this.debouncedOnTextChange);
44
+ this.$element.find('.ql-container').off('click', this.setFocusInEditor);
45
+ this.colorPicker.removeEventListener('change', this.colorChanged.bind(this));
46
+ this.colorPicker.removeEventListener('click', this.colorInputOpened.bind(this));
47
+ }
48
+ $onInit() {
49
+ this.requiredText = this.translateFactory.instant('JSUI.REQUIRED');
50
+ this.selectedColor = this.DEFAULT_COLOR;
51
+ this.selectedFont = this.DEFAULT_FONT;
52
+ this.fontSelectorId = 'rteFontSelector' + Math.floor(Math.random() * 1000 + 1);
53
+ this.colorPicker = document.getElementById('rteColorInput');
54
+ this.colorPicker.addEventListener('change', this.colorChanged.bind(this));
55
+ this.colorPicker.addEventListener('click', this.colorInputOpened.bind(this));
56
+ // programatically reset size
57
+ jquery_1.default('.ql-size').val(this.DEFAULT_SIZE);
58
+ }
59
+ $postLink() {
60
+ quill_1.default.register(quill_1.default.import('attributors/class/background'), true);
61
+ quill_1.default.register(quill_1.default.import('attributors/style/color'), true);
62
+ const fontStyle = quill_1.default.import('attributors/style/font');
63
+ fontStyle.whitelist = null; // fonts not in the allow-list get dropped on other edits (CE-6314)
64
+ quill_1.default.register(fontStyle, true);
65
+ const fontSizeArr = ['10px', '12px', '14px', '16px', '20px', '24px', '32px', '42px', '54px', '68px', '84px', '98px'];
66
+ const Size = quill_1.default.import('attributors/style/size');
67
+ Size.whitelist = fontSizeArr;
68
+ quill_1.default.register(Size, true);
69
+ const options = {
70
+ modules: {
71
+ toolbar: '#toolbar'
72
+ },
73
+ theme: 'snow',
74
+ };
75
+ this.editor = new quill_1.default(this.$element.find('.js-rich-text-target')[0], options);
76
+ // Disable spellcheck because of a bad bug that deletes text (CE-4692).
77
+ this.editor.root.setAttribute('spellcheck', false);
78
+ this.editor.on('text-change', this.debouncedOnTextChange);
79
+ this.editor.on('selection-change', this.selectionChange.bind(this));
80
+ this.$element.find('.ql-container').on('click', this.setFocusInEditor);
81
+ this.ngModelCtrl.$render = () => {
82
+ if (!this.ngModelCtrl.$viewValue) {
83
+ this.editor.setText('\n');
84
+ return;
85
+ }
86
+ this.editor.root.innerHTML = this.ngModelCtrl.$viewValue;
87
+ };
88
+ }
89
+ colorChanged() {
90
+ this.applyColor();
91
+ }
92
+ colorInputOpened() {
93
+ this.cacheSelection();
94
+ }
95
+ fontSelected(fontFamily) {
96
+ if (!fontFamily) {
97
+ return;
98
+ }
99
+ this.$rootScope.$broadcast('richTextToolbarContainer:closeContainer');
100
+ const fontAtributor = quill_1.default.import('attributors/style/font');
101
+ fontAtributor.whitelist = [fontFamily];
102
+ this.updateFontDisplay(fontFamily);
103
+ quill_1.default.register(fontAtributor, true);
104
+ this.editor.format('font', fontFamily);
105
+ this.sanitizeContents();
106
+ }
107
+ manageValidity() {
108
+ const isValid = !this.isRequired || !!this.ngModelCtrl.$viewValue;
109
+ this.ngModelCtrl.$setValidity('required', isValid);
110
+ }
111
+ onTextChange(_delta, _oldContents, source) {
112
+ if (source !== 'user') {
113
+ return;
114
+ }
115
+ const userClearedEditor = (this.editor.root.innerHTML === `<p><br></p>`);
116
+ if (userClearedEditor) {
117
+ // reset the color picker to the default by passing an undefined range
118
+ this.editor.root.innerHTML = '';
119
+ this.updateColorDisplay(undefined);
120
+ this.ngModelCtrl.$setViewValue(undefined);
121
+ this.manageValidity();
122
+ this.formatToDefaults();
123
+ return;
124
+ }
125
+ this.sanitizeContents();
126
+ const selection = this.editor.getSelection();
127
+ if (!selection) {
128
+ return;
129
+ }
130
+ const format = this.editor.getFormat(selection.index, 0);
131
+ // the following checks for an empty formatting
132
+ if (lodash_1.default.isEmpty(format)) {
133
+ // if format is empty then set back to default styles
134
+ this.formatToDefaults();
135
+ }
136
+ }
137
+ selectionChange(range, oldRange, source) {
138
+ if (source !== 'user') {
139
+ return;
140
+ }
141
+ if (!range) {
142
+ return;
143
+ }
144
+ const leaf = this.editor.getLeaf(range.index);
145
+ const font = this.getFontFromLeaf(leaf);
146
+ const format = this.editor.getFormat(range);
147
+ this.updateColorDisplay(range);
148
+ // if get format is empty we can switch to the defaults
149
+ if (!format.size) {
150
+ jquery_1.default('.ql-size').val(this.DEFAULT_SIZE);
151
+ jquery_1.default('#editorSize .ql-picker-label').attr('data-value', this.DEFAULT_SIZE);
152
+ jquery_1.default('#editorSize .ql-picker-label').attr('data-label', this.DEFAULT_SIZE);
153
+ }
154
+ if (font) {
155
+ this.updateFontDisplay(font.replace(/"/g, ''));
156
+ return;
157
+ }
158
+ if (!format.font) {
159
+ this.editor.format('font', this.DEFAULT_FONT);
160
+ }
161
+ }
162
+ applyColor() {
163
+ // CE-3031: Re-apply the text selection that was made before selecting a color
164
+ // as the act of hiding some browsers color inputs can change the selected text
165
+ if (this.cachedSelection) {
166
+ this.editor.setSelection(this.cachedSelection.index, this.cachedSelection.length);
167
+ }
168
+ this.editor.format('color', this.selectedColor);
169
+ this.sanitizeContents();
170
+ }
171
+ cacheSelection() {
172
+ this.cachedSelection = this.editor.getSelection();
173
+ }
174
+ sanitizeContents() {
175
+ const html = this.$sanitize(this.editor.root.innerHTML);
176
+ this.ngModelCtrl.$setViewValue(html);
177
+ this.manageValidity();
178
+ }
179
+ formatToDefaults() {
180
+ this.updateFontDisplay(this.DEFAULT_FONT);
181
+ this.editor.format('color', this.DEFAULT_COLOR);
182
+ this.editor.format('size', this.DEFAULT_SIZE);
183
+ }
184
+ getFontFromLeaf(leaf) {
185
+ if (!leaf) {
186
+ return;
187
+ }
188
+ if (!leaf[0].parent.domNode.style.fontFamily) {
189
+ return;
190
+ }
191
+ return leaf[0].parent.domNode.style.fontFamily;
192
+ }
193
+ updateFontDisplay(fontFamily) {
194
+ this.selectedFont = fontFamily;
195
+ this.fontStyle = {
196
+ 'font-family': fontFamily
197
+ };
198
+ }
199
+ updateColorDisplay(range) {
200
+ this.$timeout(() => {
201
+ const format = this.editor.getFormat(range);
202
+ const color = format.color;
203
+ if (!color || lodash_1.default.isEmpty(color)) {
204
+ this.selectedColor = this.DEFAULT_COLOR;
205
+ return;
206
+ }
207
+ if (lodash_1.default.isArray(color)) {
208
+ this.selectedColor = color[0];
209
+ return;
210
+ }
211
+ this.selectedColor = color;
212
+ });
213
+ }
214
+ }
215
+ exports.default = RichTextComponentController;
216
+ angular_1.default.module('app').component('richText', {
217
+ bindings: {
218
+ allowColorSelection: '<',
219
+ allowFontSelection: '<',
220
+ isRequired: '<',
221
+ ngModel: '<'
222
+ },
223
+ controller: RichTextComponentController,
224
+ require: {
225
+ ngModelCtrl: 'ngModel'
226
+ },
227
+ template: require('./rich-text.component.html')
228
+ });
228
229
  //# sourceMappingURL=rich-text.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"rich-text.component.js","sourceRoot":"","sources":["../../src/components/rich-text/rich-text.component.ts"],"names":[],"mappings":";;;;;AAAA,sDAA2C;AAC3C,oDAAsB;AACtB,kDAAyB;AACzB,oDAAsB;AAGtB,8GAA8G;AAC9G,iBAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,iBAAgD,EAAG,EAAE;IAClF,iBAAiB,CAAC,aAAa,CAAC,CAAC,OAAO,CAAC,CAAC,CAAA;AAC3C,CAAC,CAAC,CAAA;AAEF,MAAqB,2BAA2B;IAuB/C,YACS,QAA6B,EAC7B,UAAyB,EACzB,SAAoC,EACpC,QAA4B,EAC5B,gBAAgB;QAJhB,aAAQ,GAAR,QAAQ,CAAqB;QAC7B,eAAU,GAAV,UAAU,CAAe;QACzB,cAAS,GAAT,SAAS,CAA2B;QACpC,aAAQ,GAAR,QAAQ,CAAoB;QAC5B,qBAAgB,GAAhB,gBAAgB,CAAA;QAXjB,0BAAqB,GAAG,gBAAC,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,CAAA;QAEtH,kBAAa,GAAG,SAAS,CAAA;QACzB,iBAAY,GAAG,QAAQ,CAAA;QACvB,iBAAY,GAAG,MAAM,CAAA;QAsK7B;;;WAGG;QACO,qBAAgB,GAAG,GAAS,EAAE;YACvC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,KAAK,EAAE,CAAA;QACzC,CAAC,CAAA;IApKE,CAAC;IAEJ,UA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GAAG,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;YAC3C,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;YAE1B,IAAI,CAAC,KAAK,IAAI,gBAAC,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;gBAC/B,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,CAAA;gBAEvC,OAAM;aACN;YACD,IAAI,gBAAC,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;gBAErB,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;gBAC7B,OAAM;aACN;YAED,IAAI,CAAC,aAAa,GAAG,KAAK,CAAA;QAC3B,CAAC,CAAC,CAAA;IAEH,CAAC;CACD;AAjQD,8CAiQC;AAGD,iBAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,UAAU,EAAE;IAC3C,QAAQ,EAAE;QACT,mBAAmB,EAAE,GAAG;QACxB,kBAAkB,EAAE,GAAG;QACvB,UAAU,EAAE,GAAG;QACf,OAAO,EAAE,GAAG;KACZ;IACD,UAAU,EAAE,2BAA2B;IACvC,OAAO,EAAE;QACR,WAAW,EAAE,SAAS;KACtB;IACD,QAAQ,EAAE,OAAO,CAAC,4BAA4B,CAAC;CAC/C,CAAC,CAAA"}
1
+ {"version":3,"file":"rich-text.component.js","sourceRoot":"","sources":["../../src/components/rich-text/rich-text.component.ts"],"names":[],"mappings":";;;;;AAAA,sDAA2C;AAC3C,oDAAsB;AACtB,kDAAyB;AACzB,oDAAsB;AAGtB,8GAA8G;AAC9G,iBAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,iBAAgD,EAAE,EAAE;IACjF,iBAAiB,CAAC,aAAa,CAAC,CAAC,OAAO,CAAC,CAAC,CAAA;AAC3C,CAAC,CAAC,CAAA;AAEF,MAAqB,2BAA2B;IAuB/C,YACS,QAA6B,EAC7B,UAAyB,EACzB,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QAAQ,EAAE;QACT,mBAAmB,EAAE,GAAG;QACxB,kBAAkB,EAAE,GAAG;QACvB,UAAU,EAAE,GAAG;QACf,OAAO,EAAE,GAAG;KACZ;IACD,UAAU,EAAE,2BAA2B;IACvC,OAAO,EAAE;QACR,WAAW,EAAE,SAAS;KACtB;IACD,QAAQ,EAAE,OAAO,CAAC,4BAA4B,CAAC;CAC/C,CAAC,CAAA"}
@@ -1 +1 @@
1
- import './show-image-loader';
1
+ import './show-image-loader';
@@ -1,4 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- require("./show-image-loader");
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ require("./show-image-loader");
4
4
  //# sourceMappingURL=index.js.map