@sd-angular/core 0.0.1049 → 1.0.1

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 (531) hide show
  1. package/api/package.json +2 -3
  2. package/api/sd-angular-core-api.metadata.json +1 -1
  3. package/assets/scss/sd-core.scss +0 -2
  4. package/bundles/sd-angular-core-api.umd.js +3 -25
  5. package/bundles/sd-angular-core-api.umd.js.map +1 -1
  6. package/bundles/sd-angular-core-api.umd.min.js +1 -1
  7. package/bundles/sd-angular-core-api.umd.min.js.map +1 -1
  8. package/bundles/sd-angular-core-chart.umd.js +1 -1
  9. package/bundles/sd-angular-core-chart.umd.min.js +1 -1
  10. package/bundles/sd-angular-core-chart.umd.min.js.map +1 -1
  11. package/bundles/sd-angular-core-date-range.umd.js +1 -1
  12. package/bundles/sd-angular-core-date-range.umd.min.js +1 -1
  13. package/bundles/sd-angular-core-date-time.umd.js +1 -1
  14. package/bundles/sd-angular-core-date-time.umd.min.js +2 -2
  15. package/bundles/sd-angular-core-editor.umd.js +2 -2
  16. package/bundles/sd-angular-core-editor.umd.js.map +1 -1
  17. package/bundles/sd-angular-core-editor.umd.min.js +2 -2
  18. package/bundles/sd-angular-core-editor.umd.min.js.map +1 -1
  19. package/bundles/sd-angular-core-export.umd.js +5 -24
  20. package/bundles/sd-angular-core-export.umd.js.map +1 -1
  21. package/bundles/sd-angular-core-export.umd.min.js +1 -1
  22. package/bundles/sd-angular-core-export.umd.min.js.map +1 -1
  23. package/bundles/sd-angular-core-filter.umd.js +1 -1
  24. package/bundles/sd-angular-core-filter.umd.min.js +1 -1
  25. package/bundles/sd-angular-core-filter.umd.min.js.map +1 -1
  26. package/bundles/sd-angular-core-grid-material.umd.js +1 -1
  27. package/bundles/sd-angular-core-grid-material.umd.min.js +1 -1
  28. package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
  29. package/bundles/sd-angular-core-grid.umd.js +1 -1
  30. package/bundles/sd-angular-core-grid.umd.min.js +1 -1
  31. package/bundles/sd-angular-core-grid.umd.min.js.map +1 -1
  32. package/bundles/sd-angular-core-input-currency.umd.js +1 -1
  33. package/bundles/sd-angular-core-input-currency.umd.min.js +1 -1
  34. package/bundles/sd-angular-core-konva.umd.js +1 -1
  35. package/bundles/sd-angular-core-konva.umd.min.js +1 -1
  36. package/bundles/sd-angular-core-notify.umd.js +1 -1
  37. package/bundles/sd-angular-core-notify.umd.min.js +1 -1
  38. package/bundles/sd-angular-core-notify.umd.min.js.map +1 -1
  39. package/bundles/sd-angular-core-upload-excel.umd.js +1 -1
  40. package/bundles/sd-angular-core-upload-excel.umd.min.js +1 -1
  41. package/bundles/sd-angular-core-upload-excel.umd.min.js.map +1 -1
  42. package/bundles/sd-angular-core-upload-file.umd.js +1 -1
  43. package/bundles/sd-angular-core-upload-file.umd.min.js +1 -1
  44. package/bundles/sd-angular-core-utility.umd.js +1 -1
  45. package/bundles/sd-angular-core-utility.umd.min.js +1 -1
  46. package/bundles/sd-angular-core-utility.umd.min.js.map +1 -1
  47. package/bundles/sd-angular-core.umd.js +6 -734
  48. package/bundles/sd-angular-core.umd.js.map +1 -1
  49. package/bundles/sd-angular-core.umd.min.js +1 -1
  50. package/bundles/sd-angular-core.umd.min.js.map +1 -1
  51. package/esm2015/api/src/lib/api.service.js +2 -2
  52. package/esm2015/api/src/lib/http.service.js +1 -1
  53. package/esm2015/editor/src/lib/editor.component.js +2 -2
  54. package/esm2015/export/src/lib/export.service.js +2 -2
  55. package/esm2015/lib/core.module.js +4 -36
  56. package/esm2015/public-api.js +1 -10
  57. package/fesm2015/sd-angular-core-api.js +2 -3
  58. package/fesm2015/sd-angular-core-api.js.map +1 -1
  59. package/fesm2015/sd-angular-core-editor.js +1 -1
  60. package/fesm2015/sd-angular-core-editor.js.map +1 -1
  61. package/fesm2015/sd-angular-core-export.js +1 -1
  62. package/fesm2015/sd-angular-core-export.js.map +1 -1
  63. package/fesm2015/sd-angular-core.js +5 -367
  64. package/fesm2015/sd-angular-core.js.map +1 -1
  65. package/package.json +14 -19
  66. package/public-api.d.ts +0 -7
  67. package/sd-angular-core-1.0.1.tgz +0 -0
  68. package/sd-angular-core.metadata.json +1 -1
  69. package/assets/ckeditor/CHANGES.md +0 -1703
  70. package/assets/ckeditor/LICENSE.md +0 -1420
  71. package/assets/ckeditor/README.md +0 -39
  72. package/assets/ckeditor/adapters/jquery.js +0 -10
  73. package/assets/ckeditor/build-config.js +0 -123
  74. package/assets/ckeditor/ckeditor.js +0 -27038
  75. package/assets/ckeditor/config.js +0 -10
  76. package/assets/ckeditor/contents.css +0 -209
  77. package/assets/ckeditor/lang/en.js +0 -5
  78. package/assets/ckeditor/lang/vi.js +0 -5
  79. package/assets/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -10
  80. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +0 -25
  81. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +0 -11
  82. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +0 -11
  83. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/az.js +0 -11
  84. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +0 -11
  85. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +0 -13
  86. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +0 -12
  87. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +0 -11
  88. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +0 -11
  89. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js +0 -12
  90. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +0 -13
  91. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +0 -13
  92. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/en-au.js +0 -11
  93. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +0 -11
  94. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +0 -11
  95. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +0 -13
  96. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js +0 -13
  97. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +0 -13
  98. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +0 -11
  99. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js +0 -12
  100. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +0 -11
  101. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +0 -11
  102. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js +0 -11
  103. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +0 -11
  104. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +0 -13
  105. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +0 -12
  106. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +0 -11
  107. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +0 -11
  108. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +0 -11
  109. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +0 -11
  110. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +0 -12
  111. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +0 -11
  112. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +0 -13
  113. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +0 -9
  114. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +0 -11
  115. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +0 -10
  116. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +0 -11
  117. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +0 -11
  118. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +0 -12
  119. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +0 -11
  120. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +0 -11
  121. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +0 -12
  122. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +0 -12
  123. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +0 -11
  124. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js +0 -12
  125. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +0 -13
  126. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +0 -13
  127. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +0 -12
  128. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +0 -12
  129. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +0 -11
  130. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +0 -10
  131. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +0 -11
  132. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +0 -11
  133. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +0 -12
  134. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +0 -12
  135. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +0 -12
  136. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +0 -11
  137. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +0 -11
  138. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +0 -12
  139. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +0 -11
  140. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +0 -12
  141. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +0 -12
  142. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +0 -11
  143. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +0 -9
  144. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +0 -9
  145. package/assets/ckeditor/plugins/about/dialogs/about.js +0 -8
  146. package/assets/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
  147. package/assets/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  148. package/assets/ckeditor/plugins/clipboard/dialogs/paste.js +0 -11
  149. package/assets/ckeditor/plugins/colordialog/dialogs/colordialog.css +0 -20
  150. package/assets/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -14
  151. package/assets/ckeditor/plugins/copyformatting/cursors/cursor-disabled.svg +0 -25
  152. package/assets/ckeditor/plugins/copyformatting/cursors/cursor.svg +0 -14
  153. package/assets/ckeditor/plugins/copyformatting/styles/copyformatting.css +0 -45
  154. package/assets/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
  155. package/assets/ckeditor/plugins/div/dialogs/div.js +0 -9
  156. package/assets/ckeditor/plugins/find/dialogs/find.js +0 -25
  157. package/assets/ckeditor/plugins/flash/dialogs/flash.js +0 -24
  158. package/assets/ckeditor/plugins/flash/images/placeholder.png +0 -0
  159. package/assets/ckeditor/plugins/forms/dialogs/button.js +0 -8
  160. package/assets/ckeditor/plugins/forms/dialogs/checkbox.js +0 -9
  161. package/assets/ckeditor/plugins/forms/dialogs/form.js +0 -8
  162. package/assets/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -7
  163. package/assets/ckeditor/plugins/forms/dialogs/radio.js +0 -9
  164. package/assets/ckeditor/plugins/forms/dialogs/select.js +0 -21
  165. package/assets/ckeditor/plugins/forms/dialogs/textarea.js +0 -8
  166. package/assets/ckeditor/plugins/forms/dialogs/textfield.js +0 -11
  167. package/assets/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  168. package/assets/ckeditor/plugins/icons.png +0 -0
  169. package/assets/ckeditor/plugins/icons_hidpi.png +0 -0
  170. package/assets/ckeditor/plugins/iframe/dialogs/iframe.js +0 -10
  171. package/assets/ckeditor/plugins/iframe/images/placeholder.png +0 -0
  172. package/assets/ckeditor/plugins/image/dialogs/image.js +0 -44
  173. package/assets/ckeditor/plugins/image/images/noimage.png +0 -0
  174. package/assets/ckeditor/plugins/link/dialogs/anchor.js +0 -8
  175. package/assets/ckeditor/plugins/link/dialogs/link.js +0 -30
  176. package/assets/ckeditor/plugins/link/images/anchor.png +0 -0
  177. package/assets/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
  178. package/assets/ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -10
  179. package/assets/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png +0 -0
  180. package/assets/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
  181. package/assets/ckeditor/plugins/magicline/images/icon-rtl.png +0 -0
  182. package/assets/ckeditor/plugins/magicline/images/icon.png +0 -0
  183. package/assets/ckeditor/plugins/notification/lang/az.js +0 -7
  184. package/assets/ckeditor/plugins/notification/lang/bg.js +0 -7
  185. package/assets/ckeditor/plugins/notification/lang/ca.js +0 -7
  186. package/assets/ckeditor/plugins/notification/lang/cs.js +0 -7
  187. package/assets/ckeditor/plugins/notification/lang/da.js +0 -7
  188. package/assets/ckeditor/plugins/notification/lang/de-ch.js +0 -7
  189. package/assets/ckeditor/plugins/notification/lang/de.js +0 -7
  190. package/assets/ckeditor/plugins/notification/lang/en-au.js +0 -7
  191. package/assets/ckeditor/plugins/notification/lang/en.js +0 -7
  192. package/assets/ckeditor/plugins/notification/lang/eo.js +0 -7
  193. package/assets/ckeditor/plugins/notification/lang/es-mx.js +0 -7
  194. package/assets/ckeditor/plugins/notification/lang/es.js +0 -7
  195. package/assets/ckeditor/plugins/notification/lang/et.js +0 -7
  196. package/assets/ckeditor/plugins/notification/lang/eu.js +0 -7
  197. package/assets/ckeditor/plugins/notification/lang/fa.js +0 -7
  198. package/assets/ckeditor/plugins/notification/lang/fr.js +0 -7
  199. package/assets/ckeditor/plugins/notification/lang/gl.js +0 -7
  200. package/assets/ckeditor/plugins/notification/lang/hr.js +0 -7
  201. package/assets/ckeditor/plugins/notification/lang/hu.js +0 -7
  202. package/assets/ckeditor/plugins/notification/lang/id.js +0 -7
  203. package/assets/ckeditor/plugins/notification/lang/it.js +0 -7
  204. package/assets/ckeditor/plugins/notification/lang/ja.js +0 -7
  205. package/assets/ckeditor/plugins/notification/lang/km.js +0 -7
  206. package/assets/ckeditor/plugins/notification/lang/ko.js +0 -7
  207. package/assets/ckeditor/plugins/notification/lang/ku.js +0 -7
  208. package/assets/ckeditor/plugins/notification/lang/lt.js +0 -7
  209. package/assets/ckeditor/plugins/notification/lang/lv.js +0 -7
  210. package/assets/ckeditor/plugins/notification/lang/nb.js +0 -7
  211. package/assets/ckeditor/plugins/notification/lang/nl.js +0 -7
  212. package/assets/ckeditor/plugins/notification/lang/oc.js +0 -7
  213. package/assets/ckeditor/plugins/notification/lang/pl.js +0 -7
  214. package/assets/ckeditor/plugins/notification/lang/pt-br.js +0 -7
  215. package/assets/ckeditor/plugins/notification/lang/pt.js +0 -7
  216. package/assets/ckeditor/plugins/notification/lang/ro.js +0 -7
  217. package/assets/ckeditor/plugins/notification/lang/ru.js +0 -7
  218. package/assets/ckeditor/plugins/notification/lang/sk.js +0 -7
  219. package/assets/ckeditor/plugins/notification/lang/sq.js +0 -7
  220. package/assets/ckeditor/plugins/notification/lang/sr-latn.js +0 -7
  221. package/assets/ckeditor/plugins/notification/lang/sr.js +0 -7
  222. package/assets/ckeditor/plugins/notification/lang/sv.js +0 -7
  223. package/assets/ckeditor/plugins/notification/lang/tr.js +0 -7
  224. package/assets/ckeditor/plugins/notification/lang/ug.js +0 -7
  225. package/assets/ckeditor/plugins/notification/lang/uk.js +0 -7
  226. package/assets/ckeditor/plugins/notification/lang/zh-cn.js +0 -7
  227. package/assets/ckeditor/plugins/notification/lang/zh.js +0 -7
  228. package/assets/ckeditor/plugins/notification/plugin.js +0 -933
  229. package/assets/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  230. package/assets/ckeditor/plugins/pastefromword/filter/default.js +0 -55
  231. package/assets/ckeditor/plugins/preview/preview.html +0 -13
  232. package/assets/ckeditor/plugins/scayt/CHANGELOG.md +0 -20
  233. package/assets/ckeditor/plugins/scayt/LICENSE.md +0 -28
  234. package/assets/ckeditor/plugins/scayt/README.md +0 -81
  235. package/assets/ckeditor/plugins/scayt/dialogs/dialog.css +0 -23
  236. package/assets/ckeditor/plugins/scayt/dialogs/options.js +0 -32
  237. package/assets/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -71
  238. package/assets/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css +0 -25
  239. package/assets/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  240. package/assets/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  241. package/assets/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  242. package/assets/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  243. package/assets/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  244. package/assets/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  245. package/assets/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  246. package/assets/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  247. package/assets/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  248. package/assets/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  249. package/assets/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  250. package/assets/ckeditor/plugins/smiley/dialogs/smiley.js +0 -11
  251. package/assets/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  252. package/assets/ckeditor/plugins/smiley/images/angel_smile.png +0 -0
  253. package/assets/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  254. package/assets/ckeditor/plugins/smiley/images/angry_smile.png +0 -0
  255. package/assets/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  256. package/assets/ckeditor/plugins/smiley/images/broken_heart.png +0 -0
  257. package/assets/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  258. package/assets/ckeditor/plugins/smiley/images/confused_smile.png +0 -0
  259. package/assets/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  260. package/assets/ckeditor/plugins/smiley/images/cry_smile.png +0 -0
  261. package/assets/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  262. package/assets/ckeditor/plugins/smiley/images/devil_smile.png +0 -0
  263. package/assets/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  264. package/assets/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
  265. package/assets/ckeditor/plugins/smiley/images/embarrassed_smile.png +0 -0
  266. package/assets/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  267. package/assets/ckeditor/plugins/smiley/images/envelope.png +0 -0
  268. package/assets/ckeditor/plugins/smiley/images/heart.gif +0 -0
  269. package/assets/ckeditor/plugins/smiley/images/heart.png +0 -0
  270. package/assets/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  271. package/assets/ckeditor/plugins/smiley/images/kiss.png +0 -0
  272. package/assets/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  273. package/assets/ckeditor/plugins/smiley/images/lightbulb.png +0 -0
  274. package/assets/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  275. package/assets/ckeditor/plugins/smiley/images/omg_smile.png +0 -0
  276. package/assets/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  277. package/assets/ckeditor/plugins/smiley/images/regular_smile.png +0 -0
  278. package/assets/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  279. package/assets/ckeditor/plugins/smiley/images/sad_smile.png +0 -0
  280. package/assets/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  281. package/assets/ckeditor/plugins/smiley/images/shades_smile.png +0 -0
  282. package/assets/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  283. package/assets/ckeditor/plugins/smiley/images/teeth_smile.png +0 -0
  284. package/assets/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  285. package/assets/ckeditor/plugins/smiley/images/thumbs_down.png +0 -0
  286. package/assets/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  287. package/assets/ckeditor/plugins/smiley/images/thumbs_up.png +0 -0
  288. package/assets/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
  289. package/assets/ckeditor/plugins/smiley/images/tongue_smile.png +0 -0
  290. package/assets/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  291. package/assets/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  292. package/assets/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png +0 -0
  293. package/assets/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  294. package/assets/ckeditor/plugins/smiley/images/wink_smile.png +0 -0
  295. package/assets/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +0 -20
  296. package/assets/ckeditor/plugins/specialchar/dialogs/lang/af.js +0 -13
  297. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ar.js +0 -13
  298. package/assets/ckeditor/plugins/specialchar/dialogs/lang/az.js +0 -10
  299. package/assets/ckeditor/plugins/specialchar/dialogs/lang/bg.js +0 -13
  300. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ca.js +0 -14
  301. package/assets/ckeditor/plugins/specialchar/dialogs/lang/cs.js +0 -13
  302. package/assets/ckeditor/plugins/specialchar/dialogs/lang/cy.js +0 -14
  303. package/assets/ckeditor/plugins/specialchar/dialogs/lang/da.js +0 -11
  304. package/assets/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js +0 -13
  305. package/assets/ckeditor/plugins/specialchar/dialogs/lang/de.js +0 -13
  306. package/assets/ckeditor/plugins/specialchar/dialogs/lang/el.js +0 -13
  307. package/assets/ckeditor/plugins/specialchar/dialogs/lang/en-au.js +0 -13
  308. package/assets/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js +0 -13
  309. package/assets/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +0 -13
  310. package/assets/ckeditor/plugins/specialchar/dialogs/lang/en.js +0 -13
  311. package/assets/ckeditor/plugins/specialchar/dialogs/lang/eo.js +0 -12
  312. package/assets/ckeditor/plugins/specialchar/dialogs/lang/es-mx.js +0 -13
  313. package/assets/ckeditor/plugins/specialchar/dialogs/lang/es.js +0 -13
  314. package/assets/ckeditor/plugins/specialchar/dialogs/lang/et.js +0 -13
  315. package/assets/ckeditor/plugins/specialchar/dialogs/lang/eu.js +0 -13
  316. package/assets/ckeditor/plugins/specialchar/dialogs/lang/fa.js +0 -12
  317. package/assets/ckeditor/plugins/specialchar/dialogs/lang/fi.js +0 -13
  318. package/assets/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +0 -10
  319. package/assets/ckeditor/plugins/specialchar/dialogs/lang/fr.js +0 -12
  320. package/assets/ckeditor/plugins/specialchar/dialogs/lang/gl.js +0 -13
  321. package/assets/ckeditor/plugins/specialchar/dialogs/lang/he.js +0 -12
  322. package/assets/ckeditor/plugins/specialchar/dialogs/lang/hr.js +0 -13
  323. package/assets/ckeditor/plugins/specialchar/dialogs/lang/hu.js +0 -12
  324. package/assets/ckeditor/plugins/specialchar/dialogs/lang/id.js +0 -13
  325. package/assets/ckeditor/plugins/specialchar/dialogs/lang/it.js +0 -14
  326. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ja.js +0 -9
  327. package/assets/ckeditor/plugins/specialchar/dialogs/lang/km.js +0 -13
  328. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ko.js +0 -10
  329. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ku.js +0 -13
  330. package/assets/ckeditor/plugins/specialchar/dialogs/lang/lt.js +0 -13
  331. package/assets/ckeditor/plugins/specialchar/dialogs/lang/lv.js +0 -13
  332. package/assets/ckeditor/plugins/specialchar/dialogs/lang/nb.js +0 -11
  333. package/assets/ckeditor/plugins/specialchar/dialogs/lang/nl.js +0 -13
  334. package/assets/ckeditor/plugins/specialchar/dialogs/lang/no.js +0 -11
  335. package/assets/ckeditor/plugins/specialchar/dialogs/lang/oc.js +0 -12
  336. package/assets/ckeditor/plugins/specialchar/dialogs/lang/pl.js +0 -12
  337. package/assets/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +0 -11
  338. package/assets/ckeditor/plugins/specialchar/dialogs/lang/pt.js +0 -13
  339. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ro.js +0 -13
  340. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ru.js +0 -13
  341. package/assets/ckeditor/plugins/specialchar/dialogs/lang/si.js +0 -13
  342. package/assets/ckeditor/plugins/specialchar/dialogs/lang/sk.js +0 -13
  343. package/assets/ckeditor/plugins/specialchar/dialogs/lang/sl.js +0 -12
  344. package/assets/ckeditor/plugins/specialchar/dialogs/lang/sq.js +0 -13
  345. package/assets/ckeditor/plugins/specialchar/dialogs/lang/sr-latn.js +0 -13
  346. package/assets/ckeditor/plugins/specialchar/dialogs/lang/sr.js +0 -13
  347. package/assets/ckeditor/plugins/specialchar/dialogs/lang/sv.js +0 -11
  348. package/assets/ckeditor/plugins/specialchar/dialogs/lang/th.js +0 -13
  349. package/assets/ckeditor/plugins/specialchar/dialogs/lang/tr.js +0 -12
  350. package/assets/ckeditor/plugins/specialchar/dialogs/lang/tt.js +0 -13
  351. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ug.js +0 -13
  352. package/assets/ckeditor/plugins/specialchar/dialogs/lang/uk.js +0 -12
  353. package/assets/ckeditor/plugins/specialchar/dialogs/lang/vi.js +0 -14
  354. package/assets/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +0 -9
  355. package/assets/ckeditor/plugins/specialchar/dialogs/lang/zh.js +0 -9
  356. package/assets/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -14
  357. package/assets/ckeditor/plugins/table/dialogs/table.js +0 -21
  358. package/assets/ckeditor/plugins/tableselection/styles/tableselection.css +0 -36
  359. package/assets/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -19
  360. package/assets/ckeditor/plugins/templates/dialogs/templates.css +0 -84
  361. package/assets/ckeditor/plugins/templates/dialogs/templates.js +0 -10
  362. package/assets/ckeditor/plugins/templates/templates/default.js +0 -7
  363. package/assets/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  364. package/assets/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  365. package/assets/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  366. package/assets/ckeditor/plugins/videoembed/.gitattributes +0 -17
  367. package/assets/ckeditor/plugins/videoembed/README.md +0 -35
  368. package/assets/ckeditor/plugins/videoembed/dialogs/videoembedDialog.js +0 -114
  369. package/assets/ckeditor/plugins/videoembed/icons/videoembed.png +0 -0
  370. package/assets/ckeditor/plugins/videoembed/lang/en.js +0 -8
  371. package/assets/ckeditor/plugins/videoembed/lang/fr.js +0 -8
  372. package/assets/ckeditor/plugins/videoembed/plugin.js +0 -27
  373. package/assets/ckeditor/plugins/widget/images/handle.png +0 -0
  374. package/assets/ckeditor/plugins/wordcount/css/wordcount.css +0 -3
  375. package/assets/ckeditor/plugins/wordcount/lang/ar.js +0 -12
  376. package/assets/ckeditor/plugins/wordcount/lang/bg.js +0 -17
  377. package/assets/ckeditor/plugins/wordcount/lang/ca.js +0 -14
  378. package/assets/ckeditor/plugins/wordcount/lang/cs.js +0 -15
  379. package/assets/ckeditor/plugins/wordcount/lang/da.js +0 -14
  380. package/assets/ckeditor/plugins/wordcount/lang/de.js +0 -14
  381. package/assets/ckeditor/plugins/wordcount/lang/el.js +0 -14
  382. package/assets/ckeditor/plugins/wordcount/lang/en.js +0 -17
  383. package/assets/ckeditor/plugins/wordcount/lang/es.js +0 -14
  384. package/assets/ckeditor/plugins/wordcount/lang/eu.js +0 -17
  385. package/assets/ckeditor/plugins/wordcount/lang/fa.js +0 -13
  386. package/assets/ckeditor/plugins/wordcount/lang/fi.js +0 -15
  387. package/assets/ckeditor/plugins/wordcount/lang/fr.js +0 -12
  388. package/assets/ckeditor/plugins/wordcount/lang/he.js +0 -14
  389. package/assets/ckeditor/plugins/wordcount/lang/hr.js +0 -14
  390. package/assets/ckeditor/plugins/wordcount/lang/hu.js +0 -14
  391. package/assets/ckeditor/plugins/wordcount/lang/it.js +0 -15
  392. package/assets/ckeditor/plugins/wordcount/lang/ja.js +0 -14
  393. package/assets/ckeditor/plugins/wordcount/lang/ko.js +0 -16
  394. package/assets/ckeditor/plugins/wordcount/lang/nl.js +0 -14
  395. package/assets/ckeditor/plugins/wordcount/lang/no.js +0 -11
  396. package/assets/ckeditor/plugins/wordcount/lang/pl.js +0 -14
  397. package/assets/ckeditor/plugins/wordcount/lang/pt-br.js +0 -14
  398. package/assets/ckeditor/plugins/wordcount/lang/pt.js +0 -10
  399. package/assets/ckeditor/plugins/wordcount/lang/ro.js +0 -15
  400. package/assets/ckeditor/plugins/wordcount/lang/ru.js +0 -14
  401. package/assets/ckeditor/plugins/wordcount/lang/sk.js +0 -15
  402. package/assets/ckeditor/plugins/wordcount/lang/sv.js +0 -15
  403. package/assets/ckeditor/plugins/wordcount/lang/tr.js +0 -14
  404. package/assets/ckeditor/plugins/wordcount/lang/uk.js +0 -17
  405. package/assets/ckeditor/plugins/wordcount/lang/zh-cn.js +0 -17
  406. package/assets/ckeditor/plugins/wordcount/lang/zh.js +0 -17
  407. package/assets/ckeditor/plugins/wordcount/plugin.js +0 -639
  408. package/assets/ckeditor/plugins/wordcount/samples/maxParagraphs.html +0 -26
  409. package/assets/ckeditor/plugins/wordcount/samples/wordcount.html +0 -61
  410. package/assets/ckeditor/plugins/wordcount/samples/wordcountWithMaxCount.html +0 -110
  411. package/assets/ckeditor/plugins/wsc/LICENSE.md +0 -28
  412. package/assets/ckeditor/plugins/wsc/README.md +0 -80
  413. package/assets/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -66
  414. package/assets/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
  415. package/assets/ckeditor/plugins/wsc/dialogs/wsc.css +0 -82
  416. package/assets/ckeditor/plugins/wsc/dialogs/wsc.js +0 -91
  417. package/assets/ckeditor/plugins/wsc/dialogs/wsc_ie.js +0 -11
  418. package/assets/ckeditor/plugins/wsc/skins/moono-lisa/wsc.css +0 -43
  419. package/assets/ckeditor/samples/css/samples.css +0 -1637
  420. package/assets/ckeditor/samples/img/github-top.png +0 -0
  421. package/assets/ckeditor/samples/img/header-bg.png +0 -0
  422. package/assets/ckeditor/samples/img/header-separator.png +0 -0
  423. package/assets/ckeditor/samples/img/logo.png +0 -0
  424. package/assets/ckeditor/samples/img/logo.svg +0 -13
  425. package/assets/ckeditor/samples/img/navigation-tip.png +0 -0
  426. package/assets/ckeditor/samples/index.html +0 -128
  427. package/assets/ckeditor/samples/js/sample.js +0 -53
  428. package/assets/ckeditor/samples/js/sf.js +0 -17
  429. package/assets/ckeditor/samples/old/ajax.html +0 -85
  430. package/assets/ckeditor/samples/old/api.html +0 -210
  431. package/assets/ckeditor/samples/old/appendto.html +0 -59
  432. package/assets/ckeditor/samples/old/assets/inlineall/logo.png +0 -0
  433. package/assets/ckeditor/samples/old/assets/outputxhtml/outputxhtml.css +0 -204
  434. package/assets/ckeditor/samples/old/assets/posteddata.php +0 -59
  435. package/assets/ckeditor/samples/old/assets/sample.jpg +0 -0
  436. package/assets/ckeditor/samples/old/assets/uilanguages/languages.js +0 -7
  437. package/assets/ckeditor/samples/old/datafiltering.html +0 -508
  438. package/assets/ckeditor/samples/old/dialog/assets/my_dialog.js +0 -48
  439. package/assets/ckeditor/samples/old/dialog/dialog.html +0 -190
  440. package/assets/ckeditor/samples/old/divarea/divarea.html +0 -64
  441. package/assets/ckeditor/samples/old/divreplace.html +0 -144
  442. package/assets/ckeditor/samples/old/enterkey/enterkey.html +0 -106
  443. package/assets/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
  444. package/assets/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
  445. package/assets/ckeditor/samples/old/htmlwriter/assets/outputforflash/swfobject.js +0 -19
  446. package/assets/ckeditor/samples/old/htmlwriter/outputforflash.html +0 -283
  447. package/assets/ckeditor/samples/old/htmlwriter/outputhtml.html +0 -224
  448. package/assets/ckeditor/samples/old/index.html +0 -134
  449. package/assets/ckeditor/samples/old/inlineall.html +0 -314
  450. package/assets/ckeditor/samples/old/inlinebycode.html +0 -124
  451. package/assets/ckeditor/samples/old/inlinetextarea.html +0 -113
  452. package/assets/ckeditor/samples/old/jquery.html +0 -103
  453. package/assets/ckeditor/samples/old/magicline/magicline.html +0 -209
  454. package/assets/ckeditor/samples/old/readonly.html +0 -76
  455. package/assets/ckeditor/samples/old/replacebyclass.html +0 -60
  456. package/assets/ckeditor/samples/old/replacebycode.html +0 -59
  457. package/assets/ckeditor/samples/old/sample.css +0 -357
  458. package/assets/ckeditor/samples/old/sample.js +0 -50
  459. package/assets/ckeditor/samples/old/sample_posteddata.php +0 -16
  460. package/assets/ckeditor/samples/old/tabindex.html +0 -78
  461. package/assets/ckeditor/samples/old/toolbar/toolbar.html +0 -235
  462. package/assets/ckeditor/samples/old/uicolor.html +0 -72
  463. package/assets/ckeditor/samples/old/uilanguages.html +0 -122
  464. package/assets/ckeditor/samples/old/wysiwygarea/fullpage.html +0 -80
  465. package/assets/ckeditor/samples/old/xhtmlstyle.html +0 -234
  466. package/assets/ckeditor/samples/toolbarconfigurator/css/fontello.css +0 -55
  467. package/assets/ckeditor/samples/toolbarconfigurator/font/LICENSE.txt +0 -10
  468. package/assets/ckeditor/samples/toolbarconfigurator/font/config.json +0 -28
  469. package/assets/ckeditor/samples/toolbarconfigurator/font/fontello.eot +0 -0
  470. package/assets/ckeditor/samples/toolbarconfigurator/font/fontello.svg +0 -14
  471. package/assets/ckeditor/samples/toolbarconfigurator/font/fontello.ttf +0 -0
  472. package/assets/ckeditor/samples/toolbarconfigurator/font/fontello.woff +0 -0
  473. package/assets/ckeditor/samples/toolbarconfigurator/index.html +0 -446
  474. package/assets/ckeditor/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js +0 -13
  475. package/assets/ckeditor/samples/toolbarconfigurator/js/fulltoolbareditor.js +0 -9
  476. package/assets/ckeditor/samples/toolbarconfigurator/js/toolbarmodifier.js +0 -33
  477. package/assets/ckeditor/samples/toolbarconfigurator/js/toolbartextmodifier.js +0 -14
  478. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/LICENSE +0 -19
  479. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.css +0 -325
  480. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.js +0 -288
  481. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/javascript.js +0 -25
  482. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/neo.css +0 -36
  483. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.css +0 -38
  484. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.js +0 -16
  485. package/assets/ckeditor/skins/office2013/dialog.css +0 -5
  486. package/assets/ckeditor/skins/office2013/editor.css +0 -5
  487. package/assets/ckeditor/skins/office2013/icons.png +0 -0
  488. package/assets/ckeditor/skins/office2013/icons_hidpi.png +0 -0
  489. package/assets/ckeditor/skins/office2013/images/arrow.png +0 -0
  490. package/assets/ckeditor/skins/office2013/images/close.png +0 -0
  491. package/assets/ckeditor/skins/office2013/images/hidpi/close.png +0 -0
  492. package/assets/ckeditor/skins/office2013/images/hidpi/lock-open.png +0 -0
  493. package/assets/ckeditor/skins/office2013/images/hidpi/lock.png +0 -0
  494. package/assets/ckeditor/skins/office2013/images/hidpi/refresh.png +0 -0
  495. package/assets/ckeditor/skins/office2013/images/lock-open.png +0 -0
  496. package/assets/ckeditor/skins/office2013/images/lock.png +0 -0
  497. package/assets/ckeditor/skins/office2013/images/refresh.png +0 -0
  498. package/assets/ckeditor/styles.js +0 -137
  499. package/bundles/sd-angular-core-modal-custom.umd.js +0 -487
  500. package/bundles/sd-angular-core-modal-custom.umd.js.map +0 -1
  501. package/bundles/sd-angular-core-modal-custom.umd.min.js +0 -16
  502. package/bundles/sd-angular-core-modal-custom.umd.min.js.map +0 -1
  503. package/esm2015/lib/controls/ckeditor-control/ckeditor-control.component.js +0 -53
  504. package/esm2015/lib/controls/date-picker-control/date-picker-control.component.js +0 -156
  505. package/esm2015/lib/pipes/sd-date.pipe.js +0 -15
  506. package/esm2015/lib/validators/chip-min-item.validator.js +0 -26
  507. package/esm2015/lib/validators/custom.validator.js +0 -39
  508. package/esm2015/lib/validators/max-date.validator.js +0 -30
  509. package/esm2015/lib/validators/min-date.validator.js +0 -30
  510. package/esm2015/modal-custom/index.js +0 -2
  511. package/esm2015/modal-custom/sd-angular-core-modal-custom.js +0 -5
  512. package/esm2015/modal-custom/src/lib/modal-custom/modal-custom.component.js +0 -123
  513. package/esm2015/modal-custom/src/lib/modal-custom.module.js +0 -30
  514. package/esm2015/modal-custom/src/public-api.js +0 -6
  515. package/fesm2015/sd-angular-core-modal-custom.js +0 -161
  516. package/fesm2015/sd-angular-core-modal-custom.js.map +0 -1
  517. package/lib/controls/ckeditor-control/ckeditor-control.component.d.ts +0 -20
  518. package/lib/controls/date-picker-control/date-picker-control.component.d.ts +0 -36
  519. package/lib/pipes/sd-date.pipe.d.ts +0 -4
  520. package/lib/validators/chip-min-item.validator.d.ts +0 -5
  521. package/lib/validators/custom.validator.d.ts +0 -5
  522. package/lib/validators/max-date.validator.d.ts +0 -5
  523. package/lib/validators/min-date.validator.d.ts +0 -5
  524. package/modal-custom/index.d.ts +0 -1
  525. package/modal-custom/package.json +0 -12
  526. package/modal-custom/sd-angular-core-modal-custom.d.ts +0 -4
  527. package/modal-custom/sd-angular-core-modal-custom.metadata.json +0 -1
  528. package/modal-custom/src/lib/modal-custom/modal-custom.component.d.ts +0 -31
  529. package/modal-custom/src/lib/modal-custom.module.d.ts +0 -2
  530. package/modal-custom/src/public-api.d.ts +0 -2
  531. package/sd-angular-core-0.0.1049.tgz +0 -0
@@ -1,639 +0,0 @@
1
- /**
2
- * @license Copyright (c) CKSource - Frederico Knabben. All rights reserved.
3
- * For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.plugins.add("wordcount",
7
- {
8
- lang: "ar,bg,ca,cs,da,de,el,en,es,eu,fa,fi,fr,he,hr,hu,it,ko,ja,nl,no,pl,pt,pt-br,ru,sk,sv,tr,uk,zh-cn,zh,ro", // %REMOVE_LINE_CORE%
9
- version: "1.17.7",
10
- requires: "htmlwriter,notification,undo",
11
- bbcodePluginLoaded: false,
12
- onLoad: function() {
13
- CKEDITOR.document.appendStyleSheet(this.path + "css/wordcount.css");
14
- },
15
- init: function(editor) {
16
- var defaultFormat = "",
17
- lastWordCount = -1,
18
- lastCharCount = -1,
19
- lastParagraphs = -1,
20
- limitReachedNotified = false,
21
- limitRestoredNotified = false,
22
- timeoutId = 0,
23
- notification = null;
24
-
25
-
26
- var dispatchEvent = function(type, currentLength, maxLength) {
27
- if (typeof document.dispatchEvent == "undefined") {
28
- return;
29
- }
30
-
31
- type = "ckeditor.wordcount." + type;
32
-
33
- var cEvent;
34
- var eventInitDict = {
35
- bubbles: false,
36
- cancelable: true,
37
- detail: {
38
- currentLength: currentLength,
39
- maxLength: maxLength
40
- }
41
- };
42
-
43
- try {
44
- cEvent = new CustomEvent(type, eventInitDict);
45
- } catch (o_O) {
46
- cEvent = document.createEvent("CustomEvent");
47
- cEvent.initCustomEvent(
48
- type,
49
- eventInitDict.bubbles,
50
- eventInitDict.cancelable,
51
- eventInitDict.detail
52
- );
53
- }
54
-
55
- document.dispatchEvent(cEvent);
56
- };
57
-
58
- // Default Config
59
- var defaultConfig = {
60
- showRemaining: false,
61
- showParagraphs: true,
62
- showWordCount: true,
63
- showCharCount: false,
64
- countBytesAsChars: false,
65
- countSpacesAsChars: false,
66
- countHTML: false,
67
- countLineBreaks: false,
68
- hardLimit: true,
69
- warnOnLimitOnly: false,
70
- wordDelims: '',
71
-
72
- //MAXLENGTH Properties
73
- maxWordCount: -1,
74
- maxCharCount: -1,
75
- maxParagraphs: -1,
76
-
77
- // Filter
78
- filter: null,
79
-
80
- // How long to show the 'paste' warning
81
- pasteWarningDuration: 0,
82
-
83
- //DisAllowed functions
84
- wordCountGreaterThanMaxLengthEvent: function(currentLength, maxLength) {
85
- dispatchEvent("wordCountGreaterThanMaxLengthEvent", currentLength, maxLength);
86
- },
87
- charCountGreaterThanMaxLengthEvent: function(currentLength, maxLength) {
88
- dispatchEvent("charCountGreaterThanMaxLengthEvent", currentLength, maxLength);
89
- },
90
-
91
- //Allowed Functions
92
- wordCountLessThanMaxLengthEvent: function(currentLength, maxLength) {
93
- dispatchEvent("wordCountLessThanMaxLengthEvent", currentLength, maxLength);
94
- },
95
- charCountLessThanMaxLengthEvent: function(currentLength, maxLength) {
96
- dispatchEvent("charCountLessThanMaxLengthEvent", currentLength, maxLength);
97
- }
98
- };
99
-
100
- // Get Config & Lang
101
- var config = CKEDITOR.tools.extend(defaultConfig, editor.config.wordcount || {}, true);
102
-
103
- if (config.showParagraphs) {
104
- if (config.maxParagraphs > -1) {
105
- if (config.showRemaining) {
106
- defaultFormat += "%paragraphsCount% " + editor.lang.wordcount.ParagraphsRemaining;
107
- } else {
108
- defaultFormat += editor.lang.wordcount.Paragraphs + " %paragraphsCount%";
109
-
110
- defaultFormat += "/" + config.maxParagraphs;
111
- }
112
- } else {
113
- defaultFormat += editor.lang.wordcount.Paragraphs + " %paragraphsCount%";
114
- }
115
- }
116
-
117
- if (config.showParagraphs && (config.showWordCount || config.showCharCount)) {
118
- defaultFormat += ", ";
119
- }
120
-
121
- if (config.showWordCount) {
122
- if (config.maxWordCount > -1) {
123
- if (config.showRemaining) {
124
- defaultFormat += "%wordCount% " + editor.lang.wordcount.WordCountRemaining;
125
- } else {
126
- defaultFormat += editor.lang.wordcount.WordCount + " %wordCount%";
127
-
128
- defaultFormat += "/" + config.maxWordCount;
129
- }
130
- } else {
131
- defaultFormat += editor.lang.wordcount.WordCount + " %wordCount%";
132
- }
133
- }
134
-
135
- if (config.showCharCount && config.showWordCount) {
136
- defaultFormat += ", ";
137
- }
138
-
139
- if (config.showCharCount) {
140
- if (config.maxCharCount > -1) {
141
- if (config.showRemaining) {
142
- defaultFormat += "%charCount% " +
143
- editor.lang.wordcount[config.countHTML
144
- ? "CharCountWithHTMLRemaining"
145
- : "CharCountRemaining"];
146
- } else {
147
- defaultFormat += editor.lang.wordcount[config.countHTML
148
- ? "CharCountWithHTML"
149
- : "CharCount"] +
150
- " %charCount%";
151
-
152
- defaultFormat += "/" + config.maxCharCount;
153
- }
154
- } else {
155
- defaultFormat += editor.lang.wordcount[config.countHTML ? "CharCountWithHTML" : "CharCount"] +
156
- " %charCount%";
157
- }
158
- }
159
-
160
- var format = defaultFormat;
161
-
162
- bbcodePluginLoaded = typeof editor.plugins.bbcode != "undefined";
163
-
164
- function counterId(editorInstance) {
165
- return "cke_wordcount_" + editorInstance.name;
166
- }
167
-
168
- function counterElement(editorInstance) {
169
- return document.getElementById(counterId(editorInstance));
170
- }
171
-
172
- function strip(html) {
173
- if (bbcodePluginLoaded) {
174
- // stripping out BBCode tags [...][/...]
175
- return html.replace(/\[.*?\]/gi, "");
176
- }
177
-
178
- var tmp = document.createElement("div");
179
-
180
- // Add filter before strip
181
- html = filter(html);
182
-
183
- tmp.innerHTML = html;
184
-
185
- if (tmp.textContent == "" && typeof tmp.innerText == "undefined") {
186
- return "";
187
- }
188
-
189
- return tmp.textContent || tmp.innerText;
190
- }
191
-
192
- /**
193
- * Implement filter to add or remove before counting
194
- * @param html
195
- * @returns string
196
- */
197
- function filter(html) {
198
- if (config.filter instanceof CKEDITOR.htmlParser.filter) {
199
- var fragment = CKEDITOR.htmlParser.fragment.fromHtml(html),
200
- writer = new CKEDITOR.htmlParser.basicWriter();
201
- config.filter.applyTo(fragment);
202
- fragment.writeHtml(writer);
203
- return writer.getHtml();
204
- }
205
- return html;
206
- }
207
-
208
- function countCharacters(text) {
209
- if (config.countHTML) {
210
- return config.countBytesAsChars ? countBytes(filter(text)) : filter(text).length;
211
- }
212
-
213
- var normalizedText;
214
-
215
- // strip body tags
216
- if (editor.config.fullPage) {
217
- var i = text.search(new RegExp("<body>", "i"));
218
- if (i != -1) {
219
- var j = text.search(new RegExp("</body>", "i"));
220
- text = text.substring(i + 6, j);
221
- }
222
-
223
- }
224
-
225
- normalizedText = text;
226
-
227
- if (!config.countSpacesAsChars) {
228
- normalizedText = text.replace(/\s/g, "").replace(/&nbsp;/g, "");
229
- }
230
-
231
- if (config.countLineBreaks) {
232
- normalizedText = normalizedText.replace(/(\r\n|\n|\r)/gm, " ");
233
- } else {
234
- normalizedText = normalizedText.replace(/(\r\n|\n|\r)/gm, "").replace(/&nbsp;/gi, " ");
235
- }
236
-
237
- normalizedText = strip(normalizedText).replace(/^([\t\r\n]*)$/, "");
238
-
239
- return config.countBytesAsChars ? countBytes(normalizedText) : normalizedText.length;
240
- }
241
-
242
- function countBytes(text) {
243
- var count = 0, stringLength = text.length, i;
244
- text = String(text || "");
245
- for (i = 0; i < stringLength; i++) {
246
- var partCount = encodeURI(text[i]).split("%").length;
247
- count += partCount == 1 ? 1 : partCount - 1;
248
- }
249
- return count;
250
- }
251
-
252
- function countParagraphs(text) {
253
- return (text.replace(/&nbsp;/g, " ").replace(/(<([^>]+)>)/ig, "").replace(/^\s*$[\n\r]{1,}/gm, "++")
254
- .split("++").length);
255
- }
256
-
257
- function countWords(text) {
258
- var normalizedText = text.replace(/(\r\n|\n|\r)/gm, " ").replace(/^\s+|\s+$/g, "")
259
- .replace("&nbsp;", " ");
260
-
261
- normalizedText = strip(normalizedText);
262
-
263
- var re = config.wordDelims ? new RegExp('[\\s'+config.wordDelims+']+') : /\s+/;
264
- var words = normalizedText.split(re);
265
-
266
- re = config.wordDelims ? new RegExp('^([\\s\\t\\r\\n'+config.wordDelims+']*)$') : /^([\s\t\r\n]*)$/;
267
- for (var wordIndex = words.length - 1; wordIndex >= 0; wordIndex--) {
268
- if (!words[wordIndex] || words[wordIndex].match(re)) {
269
- words.splice(wordIndex, 1);
270
- }
271
- }
272
-
273
- return (words.length);
274
- }
275
-
276
- function limitReached(editorInstance, notify) {
277
- limitReachedNotified = true;
278
- limitRestoredNotified = false;
279
-
280
- if (!config.warnOnLimitOnly) {
281
- if (config.hardLimit) {
282
- if (editor.mode === "source" && editor.plugins.codemirror) {
283
- window["codemirror_" + editor.id].undo();
284
- } else {
285
- editorInstance.execCommand("undo");
286
- }
287
-
288
- }
289
- }
290
-
291
- if (!notify) {
292
- counterElement(editorInstance).className = "cke_path_item cke_wordcountLimitReached";
293
- editorInstance.fire("limitReached", { firedBy: "wordCount.limitReached" }, editor);
294
- }
295
- }
296
-
297
- function limitRestored(editorInstance) {
298
- limitRestoredNotified = true;
299
- limitReachedNotified = false;
300
-
301
- if (!config.warnOnLimitOnly) {
302
- editorInstance.fire("saveSnapshot");
303
- }
304
-
305
- counterElement(editorInstance).className = "cke_path_item";
306
- }
307
-
308
- function updateCounter(editorInstance) {
309
- if (!counterElement(editorInstance)) {
310
- return;
311
- }
312
-
313
- var paragraphs = 0,
314
- wordCount = 0,
315
- charCount = 0,
316
- text;
317
-
318
- // BeforeGetData and getData events are fired when calling
319
- // getData(). We can prevent this by passing true as an
320
- // argument to getData(). This allows us to fire the events
321
- // manually with additional event data: firedBy. This additional
322
- // data helps differentiate calls to getData() made by
323
- // wordCount plugin from calls made by other plugins/code.
324
- editorInstance.fire("beforeGetData", { firedBy: "wordCount.updateCounter" }, editor);
325
- text = editorInstance.getData(true);
326
- editorInstance.fire("getData", { dataValue: text, firedBy: "wordCount.updateCounter" }, editor);
327
-
328
- if (text) {
329
- if (config.showCharCount) {
330
- charCount = countCharacters(text);
331
- }
332
-
333
- if (config.showParagraphs) {
334
- paragraphs = countParagraphs(text);
335
- }
336
-
337
- if (config.showWordCount) {
338
- wordCount = countWords(text);
339
- }
340
- }
341
-
342
- var html = format;
343
- if (config.showRemaining) {
344
- if (config.maxCharCount >= 0) {
345
- html = html.replace("%charCount%", config.maxCharCount - charCount);
346
- } else {
347
- html = html.replace("%charCount%", charCount);
348
- }
349
-
350
- if (config.maxWordCount >= 0) {
351
- html = html.replace("%wordCount%", config.maxWordCount - wordCount);
352
- } else {
353
- html = html.replace("%wordCount%", wordCount);
354
- }
355
-
356
- if (config.maxParagraphs >= 0) {
357
- html = html.replace("%paragraphsCount%", config.maxParagraphs - paragraphs);
358
- } else {
359
- html = html.replace("%paragraphsCount%", paragraphs);
360
- }
361
- } else {
362
- html = html.replace("%wordCount%", wordCount).replace("%charCount%", charCount).replace("%paragraphsCount%", paragraphs);
363
- }
364
-
365
- (editorInstance.config.wordcount || (editorInstance.config.wordcount = {})).wordCount = wordCount;
366
- (editorInstance.config.wordcount || (editorInstance.config.wordcount = {})).charCount = charCount;
367
-
368
- if (CKEDITOR.env.gecko) {
369
- counterElement(editorInstance).innerHTML = html;
370
- } else {
371
- counterElement(editorInstance).innerText = html;
372
- }
373
-
374
- if (charCount == lastCharCount && wordCount == lastWordCount && paragraphs == lastParagraphs) {
375
- if (charCount == config.maxCharCount || wordCount == config.maxWordCount || paragraphs > config.maxParagraphs) {
376
- editorInstance.fire("saveSnapshot");
377
- }
378
- return true;
379
- }
380
-
381
- //If the limit is already over, allow the deletion of characters/words. Otherwise,
382
- //the user would have to delete at one go the number of offending characters
383
- var deltaWord = wordCount - lastWordCount;
384
- var deltaChar = charCount - lastCharCount;
385
- var deltaParagraphs = paragraphs - lastParagraphs;
386
-
387
- lastWordCount = wordCount;
388
- lastCharCount = charCount;
389
- lastParagraphs = paragraphs;
390
-
391
- if (lastWordCount == -1) {
392
- lastWordCount = wordCount;
393
- }
394
- if (lastCharCount == -1) {
395
- lastCharCount = charCount;
396
- }
397
- if (lastParagraphs == -1) {
398
- lastParagraphs = paragraphs;
399
- }
400
-
401
- // Check for word limit and/or char limit
402
- if ((config.maxWordCount > -1 && wordCount > config.maxWordCount && deltaWord > 0) ||
403
- (config.maxCharCount > -1 && charCount > config.maxCharCount && deltaChar > 0) ||
404
- (config.maxParagraphs > -1 && paragraphs > config.maxParagraphs && deltaParagraphs > 0)) {
405
-
406
- limitReached(editorInstance, limitReachedNotified);
407
- } else if ((config.maxWordCount == -1 || wordCount <= config.maxWordCount) &&
408
- (config.maxCharCount == -1 || charCount <= config.maxCharCount) &&
409
- (config.maxParagraphs == -1 || paragraphs <= config.maxParagraphs)) {
410
-
411
- limitRestored(editorInstance);
412
- } else {
413
- editorInstance.fire("saveSnapshot");
414
- }
415
-
416
- // update instance
417
- editorInstance.wordCount =
418
- {
419
- paragraphs: paragraphs,
420
- wordCount: wordCount,
421
- charCount: charCount
422
- };
423
-
424
-
425
- // Fire Custom Events
426
- if (config.charCountGreaterThanMaxLengthEvent && config.charCountLessThanMaxLengthEvent) {
427
- if (charCount > config.maxCharCount && config.maxCharCount > -1) {
428
- config.charCountGreaterThanMaxLengthEvent(charCount, config.maxCharCount);
429
- } else {
430
- config.charCountLessThanMaxLengthEvent(charCount, config.maxCharCount);
431
- }
432
- }
433
-
434
- if (config.wordCountGreaterThanMaxLengthEvent && config.wordCountLessThanMaxLengthEvent) {
435
- if (wordCount > config.maxWordCount && config.maxWordCount > -1) {
436
- config.wordCountGreaterThanMaxLengthEvent(wordCount, config.maxWordCount);
437
-
438
- } else {
439
- config.wordCountLessThanMaxLengthEvent(wordCount, config.maxWordCount);
440
- }
441
- }
442
-
443
- return true;
444
- }
445
-
446
- function isCloseToLimits() {
447
- if (config.maxWordCount > -1 && config.maxWordCount - lastWordCount < 5) {
448
- return true;
449
- }
450
-
451
- if (config.maxCharCount > -1 && config.maxCharCount - lastCharCount < 20) {
452
- return true;
453
- }
454
-
455
- if (config.maxParagraphs > -1 && config.maxParagraphs - lastParagraphs < 1) {
456
- return true;
457
- }
458
-
459
- return false;
460
- }
461
-
462
- editor.on("key",
463
- function(event) {
464
- if (editor.mode === "source") {
465
- clearTimeout(timeoutId);
466
- timeoutId = setTimeout(
467
- updateCounter.bind(this, event.editor),
468
- 250
469
- );
470
- }
471
-
472
- if (event.data.keyCode == 13) {
473
- clearTimeout(timeoutId);
474
- timeoutId = setTimeout(
475
- updateCounter.bind(this, event.editor),
476
- 250
477
- );
478
- }
479
- },
480
- editor,
481
- null,
482
- 100);
483
-
484
- editor.on("change",
485
- function(event) {
486
- var ms = isCloseToLimits() ? 5 : 250;
487
- clearTimeout(timeoutId);
488
- timeoutId = setTimeout(
489
- updateCounter.bind(this, event.editor),
490
- ms
491
- );
492
- },
493
- editor,
494
- null,
495
- 100);
496
-
497
- editor.on("uiSpace",
498
- function (event) {
499
- var wordcountClass = "cke_wordcount";
500
-
501
- if (editor.lang.dir == "rtl") {
502
- wordcountClass = wordcountClass + " cke_wordcount_rtl";
503
- }
504
-
505
- if (editor.elementMode === CKEDITOR.ELEMENT_MODE_INLINE) {
506
- if (event.data.space == "top") {
507
- event.data.html += "<div class=\"" + wordcountClass +"\" style=\"\"" +
508
- " title=\"" +
509
- editor.lang.wordcount.title +
510
- "\"" +
511
- "><span id=\"" +
512
- counterId(event.editor) +
513
- "\" class=\"cke_path_item\">&nbsp;</span></div>";
514
- }
515
- } else {
516
- if (event.data.space == "bottom") {
517
- event.data.html += "<div class=\""+wordcountClass+"\" style=\"\"" +
518
- " title=\"" +
519
- editor.lang.wordcount.title +
520
- "\"" +
521
- "><span id=\"" +
522
- counterId(event.editor) +
523
- "\" class=\"cke_path_item\">&nbsp;</span></div>";
524
- }
525
- }
526
-
527
- },
528
- editor,
529
- null,
530
- 100);
531
-
532
- editor.on("dataReady",
533
- function(event) {
534
- updateCounter(event.editor);
535
- },
536
- editor,
537
- null,
538
- 100);
539
-
540
- editor.on("paste",
541
- function(event) {
542
- if (!config.warnOnLimitOnly && (config.maxWordCount > 0 || config.maxCharCount > 0 || config.maxParagraphs > 0)) {
543
-
544
- // Check if pasted content is above the limits
545
- var wordCount = -1,
546
- charCount = -1,
547
- paragraphs = -1;
548
-
549
- var mySelection = event.editor.getSelection(),
550
- selectedText = mySelection.getNative().toString().trim();
551
-
552
-
553
- // BeforeGetData and getData events are fired when calling
554
- // getData(). We can prevent this by passing true as an
555
- // argument to getData(). This allows us to fire the events
556
- // manually with additional event data: firedBy. This additional
557
- // data helps differentiate calls to getData() made by
558
- // wordCount plugin from calls made by other plugins/code.
559
- event.editor.fire("beforeGetData", { firedBy: "wordCount.onPaste" }, event.editor);
560
- var text = event.editor.getData(true);
561
- event.editor.fire("getData", { dataValue: text, firedBy: "wordCount.onPaste" }, event.editor);
562
-
563
- if (selectedText.length > 0) {
564
- var plaintext = event.editor.document.getBody().getText();
565
-
566
- if (plaintext.length === selectedText.length) {
567
- text = "";
568
- }
569
- }
570
-
571
-
572
- text += event.data.dataValue;
573
-
574
- if (config.showCharCount) {
575
- charCount = countCharacters(text);
576
- }
577
-
578
- if (config.showWordCount) {
579
- wordCount = countWords(text);
580
- }
581
-
582
- if (config.showParagraphs) {
583
- paragraphs = countParagraphs(text);
584
- }
585
-
586
-
587
- // Instantiate the notification when needed and only have one instance
588
- if (notification === null) {
589
- notification = new CKEDITOR.plugins.notification(event.editor,
590
- {
591
- message: event.editor.lang.wordcount.pasteWarning,
592
- type: "warning",
593
- duration: config.pasteWarningDuration
594
- });
595
- }
596
-
597
- if (config.maxCharCount > 0 && charCount > config.maxCharCount && config.hardLimit) {
598
- if (!notification.isVisible()) {
599
- notification.show();
600
- }
601
- event.cancel();
602
- }
603
-
604
- if (config.maxWordCount > 0 && wordCount > config.maxWordCount && config.hardLimit) {
605
- if (!notification.isVisible()) {
606
- notification.show();
607
- }
608
- event.cancel();
609
- }
610
-
611
- if (config.maxParagraphs > 0 && paragraphs > config.maxParagraphs && config.hardLimit) {
612
- if (!notification.isVisible()) {
613
- notification.show();
614
- }
615
- event.cancel();
616
- }
617
- }
618
- },
619
- editor,
620
- null,
621
- 100);
622
-
623
- editor.on("afterPaste",
624
- function(event) {
625
- updateCounter(event.editor);
626
- },
627
- editor,
628
- null,
629
- 100);
630
-
631
- editor.on("afterPasteFromWord",
632
- function (event) {
633
- updateCounter(event.editor);
634
- },
635
- editor,
636
- null,
637
- 100);
638
- }
639
- });
@@ -1,26 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <title>CKEditor</title>
6
- <script src="../../../ckeditor.js"></script>
7
- </head>
8
- <body>
9
- <textarea name="editor1"></textarea>
10
- <script>
11
- var config = {
12
- extraPlugins: 'wordcount',
13
- wordcount: {
14
- maxParagraphs: 5,
15
- showParagraphs: true,
16
- showWordCount: false,
17
- showRemaining: true
18
- },
19
- language: 'en'
20
- }
21
- </script>
22
- <script>
23
- CKEDITOR.replace( 'editor1' , config);
24
- </script>
25
- </body>
26
- </html>