@sd-angular/core 0.0.1050 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (530) 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 +1 -1
  16. package/bundles/sd-angular-core-editor.umd.min.js +1 -1
  17. package/bundles/sd-angular-core-export.umd.js +5 -24
  18. package/bundles/sd-angular-core-export.umd.js.map +1 -1
  19. package/bundles/sd-angular-core-export.umd.min.js +1 -1
  20. package/bundles/sd-angular-core-export.umd.min.js.map +1 -1
  21. package/bundles/sd-angular-core-filter.umd.js +1 -1
  22. package/bundles/sd-angular-core-filter.umd.min.js +1 -1
  23. package/bundles/sd-angular-core-filter.umd.min.js.map +1 -1
  24. package/bundles/sd-angular-core-grid-material.umd.js +61 -55
  25. package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
  26. package/bundles/sd-angular-core-grid-material.umd.min.js +2 -2
  27. package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
  28. package/bundles/sd-angular-core-grid.umd.js +1 -1
  29. package/bundles/sd-angular-core-grid.umd.min.js +1 -1
  30. package/bundles/sd-angular-core-grid.umd.min.js.map +1 -1
  31. package/bundles/sd-angular-core-input-currency.umd.js +1 -1
  32. package/bundles/sd-angular-core-input-currency.umd.min.js +1 -1
  33. package/bundles/sd-angular-core-konva.umd.js +1 -1
  34. package/bundles/sd-angular-core-konva.umd.min.js +1 -1
  35. package/bundles/sd-angular-core-notify.umd.js +1 -1
  36. package/bundles/sd-angular-core-notify.umd.min.js +1 -1
  37. package/bundles/sd-angular-core-notify.umd.min.js.map +1 -1
  38. package/bundles/sd-angular-core-upload-excel.umd.js +1 -1
  39. package/bundles/sd-angular-core-upload-excel.umd.min.js +1 -1
  40. package/bundles/sd-angular-core-upload-excel.umd.min.js.map +1 -1
  41. package/bundles/sd-angular-core-upload-file.umd.js +1 -1
  42. package/bundles/sd-angular-core-upload-file.umd.min.js +1 -1
  43. package/bundles/sd-angular-core-utility.umd.js +1 -1
  44. package/bundles/sd-angular-core-utility.umd.min.js +1 -1
  45. package/bundles/sd-angular-core-utility.umd.min.js.map +1 -1
  46. package/bundles/sd-angular-core.umd.js +6 -734
  47. package/bundles/sd-angular-core.umd.js.map +1 -1
  48. package/bundles/sd-angular-core.umd.min.js +1 -1
  49. package/bundles/sd-angular-core.umd.min.js.map +1 -1
  50. package/esm2015/api/src/lib/api.service.js +2 -2
  51. package/esm2015/api/src/lib/http.service.js +1 -1
  52. package/esm2015/export/src/lib/export.service.js +2 -2
  53. package/esm2015/grid-material/src/lib/grid-material.component.js +23 -22
  54. package/esm2015/lib/core.module.js +4 -36
  55. package/esm2015/public-api.js +1 -10
  56. package/fesm2015/sd-angular-core-api.js +2 -3
  57. package/fesm2015/sd-angular-core-api.js.map +1 -1
  58. package/fesm2015/sd-angular-core-export.js +1 -1
  59. package/fesm2015/sd-angular-core-export.js.map +1 -1
  60. package/fesm2015/sd-angular-core-grid-material.js +22 -21
  61. package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
  62. package/fesm2015/sd-angular-core.js +5 -367
  63. package/fesm2015/sd-angular-core.js.map +1 -1
  64. package/package.json +14 -19
  65. package/public-api.d.ts +0 -7
  66. package/sd-angular-core-1.0.2.tgz +0 -0
  67. package/sd-angular-core.metadata.json +1 -1
  68. package/assets/ckeditor/CHANGES.md +0 -1703
  69. package/assets/ckeditor/LICENSE.md +0 -1420
  70. package/assets/ckeditor/README.md +0 -39
  71. package/assets/ckeditor/adapters/jquery.js +0 -10
  72. package/assets/ckeditor/build-config.js +0 -123
  73. package/assets/ckeditor/ckeditor.js +0 -27038
  74. package/assets/ckeditor/config.js +0 -10
  75. package/assets/ckeditor/contents.css +0 -209
  76. package/assets/ckeditor/lang/en.js +0 -5
  77. package/assets/ckeditor/lang/vi.js +0 -5
  78. package/assets/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -10
  79. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +0 -25
  80. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +0 -11
  81. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +0 -11
  82. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/az.js +0 -11
  83. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +0 -11
  84. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +0 -13
  85. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +0 -12
  86. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +0 -11
  87. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +0 -11
  88. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js +0 -12
  89. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +0 -13
  90. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +0 -13
  91. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/en-au.js +0 -11
  92. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +0 -11
  93. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +0 -11
  94. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +0 -13
  95. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js +0 -13
  96. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +0 -13
  97. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +0 -11
  98. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js +0 -12
  99. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +0 -11
  100. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +0 -11
  101. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js +0 -11
  102. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +0 -11
  103. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +0 -13
  104. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +0 -12
  105. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +0 -11
  106. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +0 -11
  107. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +0 -11
  108. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +0 -11
  109. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +0 -12
  110. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +0 -11
  111. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +0 -13
  112. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +0 -9
  113. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +0 -11
  114. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +0 -10
  115. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +0 -11
  116. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +0 -11
  117. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +0 -12
  118. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +0 -11
  119. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +0 -11
  120. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +0 -12
  121. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +0 -12
  122. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +0 -11
  123. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js +0 -12
  124. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +0 -13
  125. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +0 -13
  126. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +0 -12
  127. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +0 -12
  128. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +0 -11
  129. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +0 -10
  130. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +0 -11
  131. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +0 -11
  132. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +0 -12
  133. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +0 -12
  134. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +0 -12
  135. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +0 -11
  136. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +0 -11
  137. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +0 -12
  138. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +0 -11
  139. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +0 -12
  140. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +0 -12
  141. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +0 -11
  142. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +0 -9
  143. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +0 -9
  144. package/assets/ckeditor/plugins/about/dialogs/about.js +0 -8
  145. package/assets/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
  146. package/assets/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  147. package/assets/ckeditor/plugins/clipboard/dialogs/paste.js +0 -11
  148. package/assets/ckeditor/plugins/colordialog/dialogs/colordialog.css +0 -20
  149. package/assets/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -14
  150. package/assets/ckeditor/plugins/copyformatting/cursors/cursor-disabled.svg +0 -25
  151. package/assets/ckeditor/plugins/copyformatting/cursors/cursor.svg +0 -14
  152. package/assets/ckeditor/plugins/copyformatting/styles/copyformatting.css +0 -45
  153. package/assets/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
  154. package/assets/ckeditor/plugins/div/dialogs/div.js +0 -9
  155. package/assets/ckeditor/plugins/find/dialogs/find.js +0 -25
  156. package/assets/ckeditor/plugins/flash/dialogs/flash.js +0 -24
  157. package/assets/ckeditor/plugins/flash/images/placeholder.png +0 -0
  158. package/assets/ckeditor/plugins/forms/dialogs/button.js +0 -8
  159. package/assets/ckeditor/plugins/forms/dialogs/checkbox.js +0 -9
  160. package/assets/ckeditor/plugins/forms/dialogs/form.js +0 -8
  161. package/assets/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -7
  162. package/assets/ckeditor/plugins/forms/dialogs/radio.js +0 -9
  163. package/assets/ckeditor/plugins/forms/dialogs/select.js +0 -21
  164. package/assets/ckeditor/plugins/forms/dialogs/textarea.js +0 -8
  165. package/assets/ckeditor/plugins/forms/dialogs/textfield.js +0 -11
  166. package/assets/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  167. package/assets/ckeditor/plugins/icons.png +0 -0
  168. package/assets/ckeditor/plugins/icons_hidpi.png +0 -0
  169. package/assets/ckeditor/plugins/iframe/dialogs/iframe.js +0 -10
  170. package/assets/ckeditor/plugins/iframe/images/placeholder.png +0 -0
  171. package/assets/ckeditor/plugins/image/dialogs/image.js +0 -44
  172. package/assets/ckeditor/plugins/image/images/noimage.png +0 -0
  173. package/assets/ckeditor/plugins/link/dialogs/anchor.js +0 -8
  174. package/assets/ckeditor/plugins/link/dialogs/link.js +0 -30
  175. package/assets/ckeditor/plugins/link/images/anchor.png +0 -0
  176. package/assets/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
  177. package/assets/ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -10
  178. package/assets/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png +0 -0
  179. package/assets/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
  180. package/assets/ckeditor/plugins/magicline/images/icon-rtl.png +0 -0
  181. package/assets/ckeditor/plugins/magicline/images/icon.png +0 -0
  182. package/assets/ckeditor/plugins/notification/lang/az.js +0 -7
  183. package/assets/ckeditor/plugins/notification/lang/bg.js +0 -7
  184. package/assets/ckeditor/plugins/notification/lang/ca.js +0 -7
  185. package/assets/ckeditor/plugins/notification/lang/cs.js +0 -7
  186. package/assets/ckeditor/plugins/notification/lang/da.js +0 -7
  187. package/assets/ckeditor/plugins/notification/lang/de-ch.js +0 -7
  188. package/assets/ckeditor/plugins/notification/lang/de.js +0 -7
  189. package/assets/ckeditor/plugins/notification/lang/en-au.js +0 -7
  190. package/assets/ckeditor/plugins/notification/lang/en.js +0 -7
  191. package/assets/ckeditor/plugins/notification/lang/eo.js +0 -7
  192. package/assets/ckeditor/plugins/notification/lang/es-mx.js +0 -7
  193. package/assets/ckeditor/plugins/notification/lang/es.js +0 -7
  194. package/assets/ckeditor/plugins/notification/lang/et.js +0 -7
  195. package/assets/ckeditor/plugins/notification/lang/eu.js +0 -7
  196. package/assets/ckeditor/plugins/notification/lang/fa.js +0 -7
  197. package/assets/ckeditor/plugins/notification/lang/fr.js +0 -7
  198. package/assets/ckeditor/plugins/notification/lang/gl.js +0 -7
  199. package/assets/ckeditor/plugins/notification/lang/hr.js +0 -7
  200. package/assets/ckeditor/plugins/notification/lang/hu.js +0 -7
  201. package/assets/ckeditor/plugins/notification/lang/id.js +0 -7
  202. package/assets/ckeditor/plugins/notification/lang/it.js +0 -7
  203. package/assets/ckeditor/plugins/notification/lang/ja.js +0 -7
  204. package/assets/ckeditor/plugins/notification/lang/km.js +0 -7
  205. package/assets/ckeditor/plugins/notification/lang/ko.js +0 -7
  206. package/assets/ckeditor/plugins/notification/lang/ku.js +0 -7
  207. package/assets/ckeditor/plugins/notification/lang/lt.js +0 -7
  208. package/assets/ckeditor/plugins/notification/lang/lv.js +0 -7
  209. package/assets/ckeditor/plugins/notification/lang/nb.js +0 -7
  210. package/assets/ckeditor/plugins/notification/lang/nl.js +0 -7
  211. package/assets/ckeditor/plugins/notification/lang/oc.js +0 -7
  212. package/assets/ckeditor/plugins/notification/lang/pl.js +0 -7
  213. package/assets/ckeditor/plugins/notification/lang/pt-br.js +0 -7
  214. package/assets/ckeditor/plugins/notification/lang/pt.js +0 -7
  215. package/assets/ckeditor/plugins/notification/lang/ro.js +0 -7
  216. package/assets/ckeditor/plugins/notification/lang/ru.js +0 -7
  217. package/assets/ckeditor/plugins/notification/lang/sk.js +0 -7
  218. package/assets/ckeditor/plugins/notification/lang/sq.js +0 -7
  219. package/assets/ckeditor/plugins/notification/lang/sr-latn.js +0 -7
  220. package/assets/ckeditor/plugins/notification/lang/sr.js +0 -7
  221. package/assets/ckeditor/plugins/notification/lang/sv.js +0 -7
  222. package/assets/ckeditor/plugins/notification/lang/tr.js +0 -7
  223. package/assets/ckeditor/plugins/notification/lang/ug.js +0 -7
  224. package/assets/ckeditor/plugins/notification/lang/uk.js +0 -7
  225. package/assets/ckeditor/plugins/notification/lang/zh-cn.js +0 -7
  226. package/assets/ckeditor/plugins/notification/lang/zh.js +0 -7
  227. package/assets/ckeditor/plugins/notification/plugin.js +0 -933
  228. package/assets/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  229. package/assets/ckeditor/plugins/pastefromword/filter/default.js +0 -55
  230. package/assets/ckeditor/plugins/preview/preview.html +0 -13
  231. package/assets/ckeditor/plugins/scayt/CHANGELOG.md +0 -20
  232. package/assets/ckeditor/plugins/scayt/LICENSE.md +0 -28
  233. package/assets/ckeditor/plugins/scayt/README.md +0 -81
  234. package/assets/ckeditor/plugins/scayt/dialogs/dialog.css +0 -23
  235. package/assets/ckeditor/plugins/scayt/dialogs/options.js +0 -32
  236. package/assets/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -71
  237. package/assets/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css +0 -25
  238. package/assets/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  239. package/assets/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  240. package/assets/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  241. package/assets/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  242. package/assets/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  243. package/assets/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  244. package/assets/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  245. package/assets/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  246. package/assets/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  247. package/assets/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  248. package/assets/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  249. package/assets/ckeditor/plugins/smiley/dialogs/smiley.js +0 -11
  250. package/assets/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  251. package/assets/ckeditor/plugins/smiley/images/angel_smile.png +0 -0
  252. package/assets/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  253. package/assets/ckeditor/plugins/smiley/images/angry_smile.png +0 -0
  254. package/assets/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  255. package/assets/ckeditor/plugins/smiley/images/broken_heart.png +0 -0
  256. package/assets/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  257. package/assets/ckeditor/plugins/smiley/images/confused_smile.png +0 -0
  258. package/assets/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  259. package/assets/ckeditor/plugins/smiley/images/cry_smile.png +0 -0
  260. package/assets/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  261. package/assets/ckeditor/plugins/smiley/images/devil_smile.png +0 -0
  262. package/assets/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  263. package/assets/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
  264. package/assets/ckeditor/plugins/smiley/images/embarrassed_smile.png +0 -0
  265. package/assets/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  266. package/assets/ckeditor/plugins/smiley/images/envelope.png +0 -0
  267. package/assets/ckeditor/plugins/smiley/images/heart.gif +0 -0
  268. package/assets/ckeditor/plugins/smiley/images/heart.png +0 -0
  269. package/assets/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  270. package/assets/ckeditor/plugins/smiley/images/kiss.png +0 -0
  271. package/assets/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  272. package/assets/ckeditor/plugins/smiley/images/lightbulb.png +0 -0
  273. package/assets/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  274. package/assets/ckeditor/plugins/smiley/images/omg_smile.png +0 -0
  275. package/assets/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  276. package/assets/ckeditor/plugins/smiley/images/regular_smile.png +0 -0
  277. package/assets/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  278. package/assets/ckeditor/plugins/smiley/images/sad_smile.png +0 -0
  279. package/assets/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  280. package/assets/ckeditor/plugins/smiley/images/shades_smile.png +0 -0
  281. package/assets/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  282. package/assets/ckeditor/plugins/smiley/images/teeth_smile.png +0 -0
  283. package/assets/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  284. package/assets/ckeditor/plugins/smiley/images/thumbs_down.png +0 -0
  285. package/assets/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  286. package/assets/ckeditor/plugins/smiley/images/thumbs_up.png +0 -0
  287. package/assets/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
  288. package/assets/ckeditor/plugins/smiley/images/tongue_smile.png +0 -0
  289. package/assets/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  290. package/assets/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  291. package/assets/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png +0 -0
  292. package/assets/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  293. package/assets/ckeditor/plugins/smiley/images/wink_smile.png +0 -0
  294. package/assets/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +0 -20
  295. package/assets/ckeditor/plugins/specialchar/dialogs/lang/af.js +0 -13
  296. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ar.js +0 -13
  297. package/assets/ckeditor/plugins/specialchar/dialogs/lang/az.js +0 -10
  298. package/assets/ckeditor/plugins/specialchar/dialogs/lang/bg.js +0 -13
  299. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ca.js +0 -14
  300. package/assets/ckeditor/plugins/specialchar/dialogs/lang/cs.js +0 -13
  301. package/assets/ckeditor/plugins/specialchar/dialogs/lang/cy.js +0 -14
  302. package/assets/ckeditor/plugins/specialchar/dialogs/lang/da.js +0 -11
  303. package/assets/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js +0 -13
  304. package/assets/ckeditor/plugins/specialchar/dialogs/lang/de.js +0 -13
  305. package/assets/ckeditor/plugins/specialchar/dialogs/lang/el.js +0 -13
  306. package/assets/ckeditor/plugins/specialchar/dialogs/lang/en-au.js +0 -13
  307. package/assets/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js +0 -13
  308. package/assets/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +0 -13
  309. package/assets/ckeditor/plugins/specialchar/dialogs/lang/en.js +0 -13
  310. package/assets/ckeditor/plugins/specialchar/dialogs/lang/eo.js +0 -12
  311. package/assets/ckeditor/plugins/specialchar/dialogs/lang/es-mx.js +0 -13
  312. package/assets/ckeditor/plugins/specialchar/dialogs/lang/es.js +0 -13
  313. package/assets/ckeditor/plugins/specialchar/dialogs/lang/et.js +0 -13
  314. package/assets/ckeditor/plugins/specialchar/dialogs/lang/eu.js +0 -13
  315. package/assets/ckeditor/plugins/specialchar/dialogs/lang/fa.js +0 -12
  316. package/assets/ckeditor/plugins/specialchar/dialogs/lang/fi.js +0 -13
  317. package/assets/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +0 -10
  318. package/assets/ckeditor/plugins/specialchar/dialogs/lang/fr.js +0 -12
  319. package/assets/ckeditor/plugins/specialchar/dialogs/lang/gl.js +0 -13
  320. package/assets/ckeditor/plugins/specialchar/dialogs/lang/he.js +0 -12
  321. package/assets/ckeditor/plugins/specialchar/dialogs/lang/hr.js +0 -13
  322. package/assets/ckeditor/plugins/specialchar/dialogs/lang/hu.js +0 -12
  323. package/assets/ckeditor/plugins/specialchar/dialogs/lang/id.js +0 -13
  324. package/assets/ckeditor/plugins/specialchar/dialogs/lang/it.js +0 -14
  325. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ja.js +0 -9
  326. package/assets/ckeditor/plugins/specialchar/dialogs/lang/km.js +0 -13
  327. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ko.js +0 -10
  328. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ku.js +0 -13
  329. package/assets/ckeditor/plugins/specialchar/dialogs/lang/lt.js +0 -13
  330. package/assets/ckeditor/plugins/specialchar/dialogs/lang/lv.js +0 -13
  331. package/assets/ckeditor/plugins/specialchar/dialogs/lang/nb.js +0 -11
  332. package/assets/ckeditor/plugins/specialchar/dialogs/lang/nl.js +0 -13
  333. package/assets/ckeditor/plugins/specialchar/dialogs/lang/no.js +0 -11
  334. package/assets/ckeditor/plugins/specialchar/dialogs/lang/oc.js +0 -12
  335. package/assets/ckeditor/plugins/specialchar/dialogs/lang/pl.js +0 -12
  336. package/assets/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +0 -11
  337. package/assets/ckeditor/plugins/specialchar/dialogs/lang/pt.js +0 -13
  338. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ro.js +0 -13
  339. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ru.js +0 -13
  340. package/assets/ckeditor/plugins/specialchar/dialogs/lang/si.js +0 -13
  341. package/assets/ckeditor/plugins/specialchar/dialogs/lang/sk.js +0 -13
  342. package/assets/ckeditor/plugins/specialchar/dialogs/lang/sl.js +0 -12
  343. package/assets/ckeditor/plugins/specialchar/dialogs/lang/sq.js +0 -13
  344. package/assets/ckeditor/plugins/specialchar/dialogs/lang/sr-latn.js +0 -13
  345. package/assets/ckeditor/plugins/specialchar/dialogs/lang/sr.js +0 -13
  346. package/assets/ckeditor/plugins/specialchar/dialogs/lang/sv.js +0 -11
  347. package/assets/ckeditor/plugins/specialchar/dialogs/lang/th.js +0 -13
  348. package/assets/ckeditor/plugins/specialchar/dialogs/lang/tr.js +0 -12
  349. package/assets/ckeditor/plugins/specialchar/dialogs/lang/tt.js +0 -13
  350. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ug.js +0 -13
  351. package/assets/ckeditor/plugins/specialchar/dialogs/lang/uk.js +0 -12
  352. package/assets/ckeditor/plugins/specialchar/dialogs/lang/vi.js +0 -14
  353. package/assets/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +0 -9
  354. package/assets/ckeditor/plugins/specialchar/dialogs/lang/zh.js +0 -9
  355. package/assets/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -14
  356. package/assets/ckeditor/plugins/table/dialogs/table.js +0 -21
  357. package/assets/ckeditor/plugins/tableselection/styles/tableselection.css +0 -36
  358. package/assets/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -19
  359. package/assets/ckeditor/plugins/templates/dialogs/templates.css +0 -84
  360. package/assets/ckeditor/plugins/templates/dialogs/templates.js +0 -10
  361. package/assets/ckeditor/plugins/templates/templates/default.js +0 -7
  362. package/assets/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  363. package/assets/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  364. package/assets/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  365. package/assets/ckeditor/plugins/videoembed/.gitattributes +0 -17
  366. package/assets/ckeditor/plugins/videoembed/README.md +0 -35
  367. package/assets/ckeditor/plugins/videoembed/dialogs/videoembedDialog.js +0 -114
  368. package/assets/ckeditor/plugins/videoembed/icons/videoembed.png +0 -0
  369. package/assets/ckeditor/plugins/videoembed/lang/en.js +0 -8
  370. package/assets/ckeditor/plugins/videoembed/lang/fr.js +0 -8
  371. package/assets/ckeditor/plugins/videoembed/plugin.js +0 -27
  372. package/assets/ckeditor/plugins/widget/images/handle.png +0 -0
  373. package/assets/ckeditor/plugins/wordcount/css/wordcount.css +0 -3
  374. package/assets/ckeditor/plugins/wordcount/lang/ar.js +0 -12
  375. package/assets/ckeditor/plugins/wordcount/lang/bg.js +0 -17
  376. package/assets/ckeditor/plugins/wordcount/lang/ca.js +0 -14
  377. package/assets/ckeditor/plugins/wordcount/lang/cs.js +0 -15
  378. package/assets/ckeditor/plugins/wordcount/lang/da.js +0 -14
  379. package/assets/ckeditor/plugins/wordcount/lang/de.js +0 -14
  380. package/assets/ckeditor/plugins/wordcount/lang/el.js +0 -14
  381. package/assets/ckeditor/plugins/wordcount/lang/en.js +0 -17
  382. package/assets/ckeditor/plugins/wordcount/lang/es.js +0 -14
  383. package/assets/ckeditor/plugins/wordcount/lang/eu.js +0 -17
  384. package/assets/ckeditor/plugins/wordcount/lang/fa.js +0 -13
  385. package/assets/ckeditor/plugins/wordcount/lang/fi.js +0 -15
  386. package/assets/ckeditor/plugins/wordcount/lang/fr.js +0 -12
  387. package/assets/ckeditor/plugins/wordcount/lang/he.js +0 -14
  388. package/assets/ckeditor/plugins/wordcount/lang/hr.js +0 -14
  389. package/assets/ckeditor/plugins/wordcount/lang/hu.js +0 -14
  390. package/assets/ckeditor/plugins/wordcount/lang/it.js +0 -15
  391. package/assets/ckeditor/plugins/wordcount/lang/ja.js +0 -14
  392. package/assets/ckeditor/plugins/wordcount/lang/ko.js +0 -16
  393. package/assets/ckeditor/plugins/wordcount/lang/nl.js +0 -14
  394. package/assets/ckeditor/plugins/wordcount/lang/no.js +0 -11
  395. package/assets/ckeditor/plugins/wordcount/lang/pl.js +0 -14
  396. package/assets/ckeditor/plugins/wordcount/lang/pt-br.js +0 -14
  397. package/assets/ckeditor/plugins/wordcount/lang/pt.js +0 -10
  398. package/assets/ckeditor/plugins/wordcount/lang/ro.js +0 -15
  399. package/assets/ckeditor/plugins/wordcount/lang/ru.js +0 -14
  400. package/assets/ckeditor/plugins/wordcount/lang/sk.js +0 -15
  401. package/assets/ckeditor/plugins/wordcount/lang/sv.js +0 -15
  402. package/assets/ckeditor/plugins/wordcount/lang/tr.js +0 -14
  403. package/assets/ckeditor/plugins/wordcount/lang/uk.js +0 -17
  404. package/assets/ckeditor/plugins/wordcount/lang/zh-cn.js +0 -17
  405. package/assets/ckeditor/plugins/wordcount/lang/zh.js +0 -17
  406. package/assets/ckeditor/plugins/wordcount/plugin.js +0 -639
  407. package/assets/ckeditor/plugins/wordcount/samples/maxParagraphs.html +0 -26
  408. package/assets/ckeditor/plugins/wordcount/samples/wordcount.html +0 -61
  409. package/assets/ckeditor/plugins/wordcount/samples/wordcountWithMaxCount.html +0 -110
  410. package/assets/ckeditor/plugins/wsc/LICENSE.md +0 -28
  411. package/assets/ckeditor/plugins/wsc/README.md +0 -80
  412. package/assets/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -66
  413. package/assets/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
  414. package/assets/ckeditor/plugins/wsc/dialogs/wsc.css +0 -82
  415. package/assets/ckeditor/plugins/wsc/dialogs/wsc.js +0 -91
  416. package/assets/ckeditor/plugins/wsc/dialogs/wsc_ie.js +0 -11
  417. package/assets/ckeditor/plugins/wsc/skins/moono-lisa/wsc.css +0 -43
  418. package/assets/ckeditor/samples/css/samples.css +0 -1637
  419. package/assets/ckeditor/samples/img/github-top.png +0 -0
  420. package/assets/ckeditor/samples/img/header-bg.png +0 -0
  421. package/assets/ckeditor/samples/img/header-separator.png +0 -0
  422. package/assets/ckeditor/samples/img/logo.png +0 -0
  423. package/assets/ckeditor/samples/img/logo.svg +0 -13
  424. package/assets/ckeditor/samples/img/navigation-tip.png +0 -0
  425. package/assets/ckeditor/samples/index.html +0 -128
  426. package/assets/ckeditor/samples/js/sample.js +0 -53
  427. package/assets/ckeditor/samples/js/sf.js +0 -17
  428. package/assets/ckeditor/samples/old/ajax.html +0 -85
  429. package/assets/ckeditor/samples/old/api.html +0 -210
  430. package/assets/ckeditor/samples/old/appendto.html +0 -59
  431. package/assets/ckeditor/samples/old/assets/inlineall/logo.png +0 -0
  432. package/assets/ckeditor/samples/old/assets/outputxhtml/outputxhtml.css +0 -204
  433. package/assets/ckeditor/samples/old/assets/posteddata.php +0 -59
  434. package/assets/ckeditor/samples/old/assets/sample.jpg +0 -0
  435. package/assets/ckeditor/samples/old/assets/uilanguages/languages.js +0 -7
  436. package/assets/ckeditor/samples/old/datafiltering.html +0 -508
  437. package/assets/ckeditor/samples/old/dialog/assets/my_dialog.js +0 -48
  438. package/assets/ckeditor/samples/old/dialog/dialog.html +0 -190
  439. package/assets/ckeditor/samples/old/divarea/divarea.html +0 -64
  440. package/assets/ckeditor/samples/old/divreplace.html +0 -144
  441. package/assets/ckeditor/samples/old/enterkey/enterkey.html +0 -106
  442. package/assets/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
  443. package/assets/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
  444. package/assets/ckeditor/samples/old/htmlwriter/assets/outputforflash/swfobject.js +0 -19
  445. package/assets/ckeditor/samples/old/htmlwriter/outputforflash.html +0 -283
  446. package/assets/ckeditor/samples/old/htmlwriter/outputhtml.html +0 -224
  447. package/assets/ckeditor/samples/old/index.html +0 -134
  448. package/assets/ckeditor/samples/old/inlineall.html +0 -314
  449. package/assets/ckeditor/samples/old/inlinebycode.html +0 -124
  450. package/assets/ckeditor/samples/old/inlinetextarea.html +0 -113
  451. package/assets/ckeditor/samples/old/jquery.html +0 -103
  452. package/assets/ckeditor/samples/old/magicline/magicline.html +0 -209
  453. package/assets/ckeditor/samples/old/readonly.html +0 -76
  454. package/assets/ckeditor/samples/old/replacebyclass.html +0 -60
  455. package/assets/ckeditor/samples/old/replacebycode.html +0 -59
  456. package/assets/ckeditor/samples/old/sample.css +0 -357
  457. package/assets/ckeditor/samples/old/sample.js +0 -50
  458. package/assets/ckeditor/samples/old/sample_posteddata.php +0 -16
  459. package/assets/ckeditor/samples/old/tabindex.html +0 -78
  460. package/assets/ckeditor/samples/old/toolbar/toolbar.html +0 -235
  461. package/assets/ckeditor/samples/old/uicolor.html +0 -72
  462. package/assets/ckeditor/samples/old/uilanguages.html +0 -122
  463. package/assets/ckeditor/samples/old/wysiwygarea/fullpage.html +0 -80
  464. package/assets/ckeditor/samples/old/xhtmlstyle.html +0 -234
  465. package/assets/ckeditor/samples/toolbarconfigurator/css/fontello.css +0 -55
  466. package/assets/ckeditor/samples/toolbarconfigurator/font/LICENSE.txt +0 -10
  467. package/assets/ckeditor/samples/toolbarconfigurator/font/config.json +0 -28
  468. package/assets/ckeditor/samples/toolbarconfigurator/font/fontello.eot +0 -0
  469. package/assets/ckeditor/samples/toolbarconfigurator/font/fontello.svg +0 -14
  470. package/assets/ckeditor/samples/toolbarconfigurator/font/fontello.ttf +0 -0
  471. package/assets/ckeditor/samples/toolbarconfigurator/font/fontello.woff +0 -0
  472. package/assets/ckeditor/samples/toolbarconfigurator/index.html +0 -446
  473. package/assets/ckeditor/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js +0 -13
  474. package/assets/ckeditor/samples/toolbarconfigurator/js/fulltoolbareditor.js +0 -9
  475. package/assets/ckeditor/samples/toolbarconfigurator/js/toolbarmodifier.js +0 -33
  476. package/assets/ckeditor/samples/toolbarconfigurator/js/toolbartextmodifier.js +0 -14
  477. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/LICENSE +0 -19
  478. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.css +0 -325
  479. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.js +0 -288
  480. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/javascript.js +0 -25
  481. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/neo.css +0 -36
  482. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.css +0 -38
  483. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.js +0 -16
  484. package/assets/ckeditor/skins/office2013/dialog.css +0 -5
  485. package/assets/ckeditor/skins/office2013/editor.css +0 -5
  486. package/assets/ckeditor/skins/office2013/icons.png +0 -0
  487. package/assets/ckeditor/skins/office2013/icons_hidpi.png +0 -0
  488. package/assets/ckeditor/skins/office2013/images/arrow.png +0 -0
  489. package/assets/ckeditor/skins/office2013/images/close.png +0 -0
  490. package/assets/ckeditor/skins/office2013/images/hidpi/close.png +0 -0
  491. package/assets/ckeditor/skins/office2013/images/hidpi/lock-open.png +0 -0
  492. package/assets/ckeditor/skins/office2013/images/hidpi/lock.png +0 -0
  493. package/assets/ckeditor/skins/office2013/images/hidpi/refresh.png +0 -0
  494. package/assets/ckeditor/skins/office2013/images/lock-open.png +0 -0
  495. package/assets/ckeditor/skins/office2013/images/lock.png +0 -0
  496. package/assets/ckeditor/skins/office2013/images/refresh.png +0 -0
  497. package/assets/ckeditor/styles.js +0 -137
  498. package/bundles/sd-angular-core-modal-custom.umd.js +0 -487
  499. package/bundles/sd-angular-core-modal-custom.umd.js.map +0 -1
  500. package/bundles/sd-angular-core-modal-custom.umd.min.js +0 -16
  501. package/bundles/sd-angular-core-modal-custom.umd.min.js.map +0 -1
  502. package/esm2015/lib/controls/ckeditor-control/ckeditor-control.component.js +0 -53
  503. package/esm2015/lib/controls/date-picker-control/date-picker-control.component.js +0 -156
  504. package/esm2015/lib/pipes/sd-date.pipe.js +0 -15
  505. package/esm2015/lib/validators/chip-min-item.validator.js +0 -26
  506. package/esm2015/lib/validators/custom.validator.js +0 -39
  507. package/esm2015/lib/validators/max-date.validator.js +0 -30
  508. package/esm2015/lib/validators/min-date.validator.js +0 -30
  509. package/esm2015/modal-custom/index.js +0 -2
  510. package/esm2015/modal-custom/sd-angular-core-modal-custom.js +0 -5
  511. package/esm2015/modal-custom/src/lib/modal-custom/modal-custom.component.js +0 -123
  512. package/esm2015/modal-custom/src/lib/modal-custom.module.js +0 -30
  513. package/esm2015/modal-custom/src/public-api.js +0 -6
  514. package/fesm2015/sd-angular-core-modal-custom.js +0 -161
  515. package/fesm2015/sd-angular-core-modal-custom.js.map +0 -1
  516. package/lib/controls/ckeditor-control/ckeditor-control.component.d.ts +0 -20
  517. package/lib/controls/date-picker-control/date-picker-control.component.d.ts +0 -36
  518. package/lib/pipes/sd-date.pipe.d.ts +0 -4
  519. package/lib/validators/chip-min-item.validator.d.ts +0 -5
  520. package/lib/validators/custom.validator.d.ts +0 -5
  521. package/lib/validators/max-date.validator.d.ts +0 -5
  522. package/lib/validators/min-date.validator.d.ts +0 -5
  523. package/modal-custom/index.d.ts +0 -1
  524. package/modal-custom/package.json +0 -12
  525. package/modal-custom/sd-angular-core-modal-custom.d.ts +0 -4
  526. package/modal-custom/sd-angular-core-modal-custom.metadata.json +0 -1
  527. package/modal-custom/src/lib/modal-custom/modal-custom.component.d.ts +0 -31
  528. package/modal-custom/src/lib/modal-custom.module.d.ts +0 -2
  529. package/modal-custom/src/public-api.d.ts +0 -2
  530. package/sd-angular-core-0.0.1050.tgz +0 -0
@@ -15,11 +15,8 @@ import '@sd-angular/core/image-preview';
15
15
  import '@sd-angular/core/comment';
16
16
  import '@sd-angular/core/filter';
17
17
  import '@sd-angular/core/modal-resizable';
18
- import { NgModule, Pipe, EventEmitter, Component, ViewEncapsulation, ChangeDetectorRef, Input, Output, ViewChild, Directive } from '@angular/core';
19
- import { CommonModule, DatePipe, DecimalPipe } from '@angular/common';
20
- import { HttpClientModule } from '@angular/common/http';
21
- import { NG_VALIDATORS, NG_ASYNC_VALIDATORS, FormsModule, ReactiveFormsModule } from '@angular/forms';
22
- import { CKEditorModule } from 'ckeditor4-angular';
18
+ import { NgModule } from '@angular/core';
19
+ import { CommonModule } from '@angular/common';
23
20
  import { MatFormFieldModule } from '@angular/material/form-field';
24
21
  import { MatTooltipModule } from '@angular/material/tooltip';
25
22
  import { MatInputModule } from '@angular/material/input';
@@ -39,7 +36,6 @@ import { MatExpansionModule } from '@angular/material/expansion';
39
36
  import { MatTabsModule } from '@angular/material/tabs';
40
37
  import { DragDropModule } from '@angular/cdk/drag-drop';
41
38
  import { MatPaginatorModule } from '@angular/material/paginator';
42
- import { DeviceDetectorService, DeviceDetectorModule } from 'ngx-device-detector';
43
39
  import { SdServiceModule } from '@sd-angular/core/service';
44
40
  export * from '@sd-angular/core/service';
45
41
  import { SdChartModule } from '@sd-angular/core/chart';
@@ -50,11 +46,6 @@ import { SdEditorModule } from '@sd-angular/core/editor';
50
46
  export * from '@sd-angular/core/editor';
51
47
  import { SdKonvaModule } from '@sd-angular/core/konva';
52
48
  export * from '@sd-angular/core/konva';
53
- import { v4 } from 'uuid';
54
- import $ from 'jquery';
55
- import 'jquery-datetimepicker';
56
- import { DomSanitizer } from '@angular/platform-browser';
57
- import { __awaiter } from 'tslib';
58
49
  import { SdUploadExcelModule } from '@sd-angular/core/upload-excel';
59
50
  export * from '@sd-angular/core/upload-excel';
60
51
  import { SdGridModule } from '@sd-angular/core/grid';
@@ -127,350 +118,13 @@ MaterialModule.decorators = [
127
118
  },] }
128
119
  ];
129
120
 
130
- class SdDatePipe {
131
- transform(value, format) {
132
- if (!Date.isDate(value)) {
133
- return value;
134
- }
135
- return Date.toFormat(value, format);
136
- }
137
- }
138
- SdDatePipe.decorators = [
139
- { type: Pipe, args: [{
140
- name: 'sdDate'
141
- },] }
142
- ];
143
-
144
- // Document: https://xdsoft.net/jqplugins/datetimepicker/
145
- class DatePickerControlComponent {
146
- constructor(ref, deviceService) {
147
- this.ref = ref;
148
- this.isMobileOrTablet = false;
149
- this.initialized = false;
150
- this.pMinDate = null;
151
- this.pMaxDate = null;
152
- this.name = v4();
153
- this.type = 'datetime';
154
- this.disabled = false;
155
- this.required = false;
156
- this.sdChange = new EventEmitter();
157
- this.modelChange = new EventEmitter();
158
- this.onFocus = () => {
159
- if (this.isMobileOrTablet) {
160
- $(this.control.nativeElement).trigger('blur');
161
- }
162
- };
163
- this.onChanges = () => {
164
- this.date = this.pDate;
165
- };
166
- this.isMobileOrTablet = !deviceService.isDesktop();
167
- }
168
- set minDate(date) {
169
- if (!Date.isDate(date)) {
170
- this.pMinDate = null;
171
- }
172
- else {
173
- this.pMinDate = Date.toFormat(date, 'yyyy/MM/dd HH:mm');
174
- }
175
- this.setOption();
176
- }
177
- set maxDate(date) {
178
- if (!Date.isDate(date)) {
179
- this.pMaxDate = null;
180
- }
181
- else {
182
- this.pMaxDate = Date.toFormat(date, 'yyyy/MM/dd HH:mm'); // this.datePipe.transform(date, 'yyyy/MM/dd HH:mm');
183
- }
184
- this.setOption();
185
- }
186
- set model(val) {
187
- if (!Date.isDate(val)) {
188
- this.pDate = null;
189
- }
190
- else {
191
- if (this.type === 'datetime') {
192
- this.pDate = Date.toFormat(val, 'dd/MM/yyyy HH:mm');
193
- }
194
- else if (this.type === 'date') {
195
- this.pDate = Date.toFormat(val, 'dd/MM/yyyy');
196
- }
197
- else {
198
- this.pDate = Date.toFormat(val, 'HH:mm');
199
- }
200
- }
201
- if (this.initialized) {
202
- this.onChanges();
203
- }
204
- this.ref.detectChanges();
205
- }
206
- ngOnDestroy() {
207
- var _a;
208
- (_a = this.form) === null || _a === void 0 ? void 0 : _a.removeControl(this.formModel);
209
- }
210
- ngAfterViewInit() {
211
- var _a;
212
- (_a = this.form) === null || _a === void 0 ? void 0 : _a.addControl(this.formModel);
213
- this.onChanges();
214
- this.initialized = true;
215
- this.setOption();
216
- this.ref.detectChanges();
217
- }
218
- setOption() {
219
- if (this.initialized) {
220
- $(this.control.nativeElement).datetimepicker({
221
- datepicker: this.type === 'datetime' || this.type === 'date',
222
- timepicker: this.type === 'datetime' || this.type === 'time',
223
- format: this.type === 'datetime' ? 'd/m/Y H:i' : (this.type === 'date' ? 'd/m/Y' : 'H:i'),
224
- step: 15,
225
- minDate: this.pMinDate || undefined,
226
- maxDate: this.pMaxDate || undefined,
227
- scrollMonth: false,
228
- scrollTime: false,
229
- scrollInput: false,
230
- onChangeDateTime: (date) => {
231
- if (!date && !this.date) {
232
- return;
233
- }
234
- if (this.type === 'datetime') {
235
- date = Date.toFormat(date, 'dd/MM/yyyy HH:mm');
236
- }
237
- else if (this.type === 'time') {
238
- date = Date.toFormat(date, 'HH:mm');
239
- }
240
- else {
241
- date = Date.toFormat(date, 'dd/MM/yyyy');
242
- }
243
- if (!this.equal(date, this.date)) {
244
- this.model = this.parse(date);
245
- this.modelChange.emit(this.parse(date));
246
- this.sdChange.emit(this.parse(date));
247
- }
248
- this.ref.detectChanges();
249
- }
250
- });
251
- }
252
- }
253
- parse(date) {
254
- if (this.type === 'date') {
255
- return Date.parseFrom(date, 'dd/MM/yyyy');
256
- }
257
- else if (this.type === 'time') {
258
- return Date.parseFrom(date, 'HH:mm');
259
- }
260
- return Date.parseFrom(date, 'dd/MM/yyyy HH:mm');
261
- }
262
- equal(date1, date2) {
263
- return Date.equal(this.parse(date1), this.parse(date2));
264
- }
265
- }
266
- DatePickerControlComponent.decorators = [
267
- { type: Component, args: [{
268
- selector: 'sd-date-picker-control',
269
- template: "<mat-form-field appearance=\"outline\">\r\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\r\n <input #formModel=\"ngModel\" [name]=\"name\" autocomplete=\"off\" #control matInput\r\n placeholder=\"{{placeholder || label}}\" [ngModel]=\"date\" (focus)=\"onFocus()\" [required]=\"required\" [disabled]=\"disabled\"\r\n [sdMinDate]=\"pMinDate\" [sdMaxDate]=\"pMaxDate\" [sdCustomValidator]=\"validator\" autocomplete=\"off\">\r\n <mat-icon *ngIf=\"type !== 'time'\" matSuffix>date_range</mat-icon>\r\n <mat-icon *ngIf=\"type === 'time'\" matSuffix>schedule</mat-icon>\r\n <!-- <i matSuffix class=\"fa\" [ngClass]=\"{'fa-clock-o':type === 'time', 'fa-calendar':type !== 'time'}\"></i> -->\r\n <mat-error *ngIf=\"formModel?.errors?.required\">\r\n {{'This field is required' | sdTranslate}}\r\n </mat-error>\r\n <mat-error *ngIf=\"formModel?.errors?.minDate\">\r\n {{'Min date' | sdTranslate}}: <strong>{{pMinDate | date:'dd/MM/yyyy HH:mm'}}</strong>\r\n </mat-error>\r\n <mat-error *ngIf=\"formModel?.errors?.maxDate\">\r\n {{'Max date' | sdTranslate}}: <strong>{{pMaxDate | date:'dd/MM/yyyy HH:mm'}}</strong>\r\n </mat-error>\r\n <mat-error *ngIf=\"formModel?.errors?.customValidator\">\r\n <strong>{{formModel?.errors?.customValidator}}</strong>\r\n </mat-error>\r\n</mat-form-field>",
270
- encapsulation: ViewEncapsulation.None,
271
- styles: [".xdsoft_datetimepicker{z-index:99999}"]
272
- },] }
273
- ];
274
- DatePickerControlComponent.ctorParameters = () => [
275
- { type: ChangeDetectorRef },
276
- { type: DeviceDetectorService }
277
- ];
278
- DatePickerControlComponent.propDecorators = {
279
- form: [{ type: Input }],
280
- type: [{ type: Input }],
281
- disabled: [{ type: Input }],
282
- required: [{ type: Input }],
283
- label: [{ type: Input }],
284
- placeholder: [{ type: Input }],
285
- minDate: [{ type: Input }],
286
- maxDate: [{ type: Input }],
287
- validator: [{ type: Input }],
288
- sdChange: [{ type: Output }],
289
- model: [{ type: Input }],
290
- modelChange: [{ type: Output }],
291
- control: [{ type: ViewChild, args: ['control',] }],
292
- formModel: [{ type: ViewChild, args: ['formModel',] }]
293
- };
294
-
295
- class CkeditorControlComponent {
296
- constructor(ref, sanitizer) {
297
- this.ref = ref;
298
- this.sanitizer = sanitizer;
299
- this.disabled = false;
300
- this.required = false;
301
- this.modelChange = new EventEmitter();
302
- // tslint:disable-next-line: no-output-native
303
- this.change = new EventEmitter();
304
- this.sdChange = new EventEmitter();
305
- this.editorUrl = '../../assets/ckeditor/ckeditor.js';
306
- }
307
- set model(value) {
308
- this.cModel = value;
309
- this.ref.detectChanges();
310
- }
311
- set config(value) {
312
- this.cConfig = value;
313
- this.ref.detectChanges();
314
- }
315
- ngOnInit() {
316
- }
317
- onChange(value) {
318
- this.model = value;
319
- this.modelChange.emit(value);
320
- this.change.emit(value);
321
- this.sdChange.emit(value);
322
- }
323
- }
324
- CkeditorControlComponent.decorators = [
325
- { type: Component, args: [{
326
- selector: 'sd-ckeditor-control',
327
- template: "\r\n<label *ngIf=\"label\" class=\"T14M d-block\">{{label}} <span *ngIf=\"required\" class=\"text-danger\">*</span></label>\r\n<ckeditor [ngModel]=\"cModel\" (ngModelChange)=\"onChange($event)\" [config]=\"cConfig\" [readOnly]=\"disabled\" [editorUrl]=\"editorUrl\"></ckeditor>",
328
- styles: [":host ::ng-deep .ck-editor__editable{min-height:500px}"]
329
- },] }
330
- ];
331
- CkeditorControlComponent.ctorParameters = () => [
332
- { type: ChangeDetectorRef },
333
- { type: DomSanitizer }
334
- ];
335
- CkeditorControlComponent.propDecorators = {
336
- label: [{ type: Input }],
337
- disabled: [{ type: Input }],
338
- required: [{ type: Input }],
339
- model: [{ type: Input }],
340
- config: [{ type: Input }],
341
- modelChange: [{ type: Output }],
342
- change: [{ type: Output }],
343
- sdChange: [{ type: Output }]
344
- };
345
-
346
- class SdMinDateValidator {
347
- validate(c) {
348
- const date = c.value || null;
349
- const minDate = this.minDate || null;
350
- if (!date) {
351
- return null;
352
- }
353
- if (!minDate) {
354
- return null;
355
- }
356
- if (new Date(Date.parseFrom(date, 'dd/MM/yyyy HH:mm')).getTime() < new Date(minDate).getTime()) {
357
- return {
358
- minDate: true
359
- };
360
- }
361
- return null;
362
- }
363
- }
364
- SdMinDateValidator.decorators = [
365
- { type: Directive, args: [{
366
- selector: '[sdMinDate]',
367
- providers: [{ provide: NG_VALIDATORS, useExisting: SdMinDateValidator, multi: true }]
368
- },] }
369
- ];
370
- SdMinDateValidator.propDecorators = {
371
- minDate: [{ type: Input, args: ['sdMinDate',] }]
372
- };
373
-
374
- class SdMaxDateValidator {
375
- validate(c) {
376
- const date = c.value || null;
377
- const maxDate = this.maxDate || null;
378
- if (!date) {
379
- return null;
380
- }
381
- if (!maxDate) {
382
- return null;
383
- }
384
- if (new Date(Date.parseFrom(date, 'dd/MM/yyyy HH:mm')).getTime() > new Date(maxDate).getTime()) {
385
- return {
386
- maxDate: true
387
- };
388
- }
389
- return null;
390
- }
391
- }
392
- SdMaxDateValidator.decorators = [
393
- { type: Directive, args: [{
394
- selector: '[sdMaxDate]',
395
- providers: [{ provide: NG_VALIDATORS, useExisting: SdMaxDateValidator, multi: true }]
396
- },] }
397
- ];
398
- SdMaxDateValidator.propDecorators = {
399
- maxDate: [{ type: Input, args: ['sdMaxDate',] }]
400
- };
401
-
402
- class SdCustomValidator {
403
- validate(c) {
404
- return __awaiter(this, void 0, void 0, function* () {
405
- const value = c.value || null;
406
- if (this.func && typeof (this.func) === 'function') {
407
- const result = this.func(value);
408
- if (result instanceof Promise) {
409
- const message = yield result;
410
- if (message) {
411
- return {
412
- customValidator: message
413
- };
414
- }
415
- return null;
416
- }
417
- if (result) {
418
- return {
419
- customValidator: result
420
- };
421
- }
422
- return null;
423
- }
424
- return null;
425
- });
426
- }
427
- }
428
- SdCustomValidator.decorators = [
429
- { type: Directive, args: [{
430
- selector: '[sdCustomValidator]',
431
- providers: [{ provide: NG_ASYNC_VALIDATORS, useExisting: SdCustomValidator, multi: true }]
432
- },] }
433
- ];
434
- SdCustomValidator.propDecorators = {
435
- func: [{ type: Input, args: ['sdCustomValidator',] }]
436
- };
437
-
438
- class SdChipMinItemValidator {
439
- validate(c) {
440
- if (this.func && typeof (this.func) === 'function') {
441
- const result = this.func();
442
- if (result) {
443
- return {
444
- minItem: result
445
- };
446
- }
447
- return null;
448
- }
449
- return null;
450
- }
451
- }
452
- SdChipMinItemValidator.decorators = [
453
- { type: Directive, args: [{
454
- selector: '[sdChipMinItem]',
455
- providers: [{ provide: NG_VALIDATORS, useExisting: SdChipMinItemValidator, multi: true }]
456
- },] }
457
- ];
458
- SdChipMinItemValidator.propDecorators = {
459
- func: [{ type: Input, args: ['sdChipMinItem',] }]
460
- };
461
-
462
121
  class SdCoreModule {
463
122
  }
464
123
  SdCoreModule.decorators = [
465
124
  { type: NgModule, args: [{
466
125
  imports: [
467
126
  CommonModule,
468
- FormsModule,
469
- ReactiveFormsModule,
470
- HttpClientModule,
471
127
  MaterialModule,
472
- CKEditorModule,
473
- DeviceDetectorModule.forRoot(),
474
128
  SdChartModule,
475
129
  SdKonvaModule,
476
130
  SdGridMaterialModule,
@@ -479,17 +133,7 @@ SdCoreModule.decorators = [
479
133
  SdFormModule,
480
134
  SdServiceModule
481
135
  ],
482
- declarations: [
483
- DatePickerControlComponent,
484
- CkeditorControlComponent,
485
- // // Pipes
486
- SdDatePipe,
487
- // Validators
488
- SdMinDateValidator,
489
- SdMaxDateValidator,
490
- SdCustomValidator,
491
- SdChipMinItemValidator
492
- ],
136
+ declarations: [],
493
137
  exports: [
494
138
  SdChartModule,
495
139
  SdKonvaModule,
@@ -500,14 +144,8 @@ SdCoreModule.decorators = [
500
144
  SdFormModule,
501
145
  SdServiceModule,
502
146
  MaterialModule,
503
- // Controls
504
- DatePickerControlComponent,
505
- CkeditorControlComponent
506
147
  ],
507
- providers: [
508
- DatePipe,
509
- DecimalPipe
510
- ]
148
+ providers: []
511
149
  },] }
512
150
  ];
513
151
 
@@ -515,5 +153,5 @@ SdCoreModule.decorators = [
515
153
  * Generated bundle index. Do not edit.
516
154
  */
517
155
 
518
- export { CkeditorControlComponent, DatePickerControlComponent, MaterialModule, SdChipMinItemValidator, SdCoreModule, SdCustomValidator, SdDatePipe, SdMaxDateValidator, SdMinDateValidator };
156
+ export { MaterialModule, SdCoreModule };
519
157
  //# sourceMappingURL=sd-angular-core.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-angular-core.js","sources":["../../../../projects/sd-core/src/lib/material.module.ts","../../../../projects/sd-core/src/lib/pipes/sd-date.pipe.ts","../../../../projects/sd-core/src/lib/controls/date-picker-control/date-picker-control.component.ts","../../../../projects/sd-core/src/lib/controls/ckeditor-control/ckeditor-control.component.ts","../../../../projects/sd-core/src/lib/validators/min-date.validator.ts","../../../../projects/sd-core/src/lib/validators/max-date.validator.ts","../../../../projects/sd-core/src/lib/validators/custom.validator.ts","../../../../projects/sd-core/src/lib/validators/chip-min-item.validator.ts","../../../../projects/sd-core/src/lib/core.module.ts","../../../../projects/sd-core/src/sd-angular-core.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\n\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatBottomSheetModule } from '@angular/material/bottom-sheet';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\n\r\n@NgModule({\r\n imports: [\r\n MatTooltipModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatSelectModule,\r\n MatAutocompleteModule,\r\n MatCheckboxModule,\r\n MatSlideToggleModule,\r\n MatRadioModule,\r\n MatIconModule,\r\n MatMenuModule,\r\n MatChipsModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n MatBottomSheetModule,\r\n MatProgressSpinnerModule,\r\n DragDropModule,\r\n MatExpansionModule,\r\n MatTabsModule,\r\n MatPaginatorModule\r\n ],\r\n exports: [\r\n MatTooltipModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatSelectModule,\r\n MatAutocompleteModule,\r\n MatCheckboxModule,\r\n MatSlideToggleModule,\r\n MatRadioModule,\r\n MatIconModule,\r\n MatMenuModule,\r\n MatChipsModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n MatBottomSheetModule,\r\n MatProgressSpinnerModule,\r\n DragDropModule,\r\n MatExpansionModule,\r\n MatTabsModule,\r\n MatPaginatorModule\r\n ]\r\n})\r\nexport class MaterialModule { }\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n@Pipe({\r\n name: 'sdDate'\r\n})\r\nexport class SdDatePipe implements PipeTransform {\r\n transform(value: any, format: string): string {\r\n if (!Date.isDate(value)) {\r\n return value;\r\n }\r\n return Date.toFormat(value, format);\r\n }\r\n}\r\n","import {\r\n Component,\r\n ViewChild,\r\n ElementRef,\r\n Input,\r\n EventEmitter,\r\n Output,\r\n OnDestroy,\r\n AfterViewInit,\r\n ChangeDetectorRef,\r\n ViewEncapsulation\r\n} from '@angular/core';\r\nimport * as uuid from 'uuid';\r\n\r\nimport $ from 'jquery';\r\nimport 'jquery-datetimepicker';\r\nimport { NgForm, NgModel } from '@angular/forms';\r\nimport { DeviceDetectorService } from 'ngx-device-detector';\r\n// Document: https://xdsoft.net/jqplugins/datetimepicker/\r\n\r\n@Component({\r\n selector: 'sd-date-picker-control',\r\n templateUrl: './date-picker-control.component.html',\r\n styleUrls: ['./date-picker-control.component.scss'],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class DatePickerControlComponent implements OnDestroy, AfterViewInit {\r\n private isMobileOrTablet = false;\r\n private initialized = false;\r\n private pDate: any;\r\n pMinDate: any = null;\r\n pMaxDate: any = null;\r\n name = uuid.v4();\r\n @Input() form: NgForm;\r\n @Input() type: 'datetime' | 'date' | 'time' = 'datetime';\r\n @Input() disabled = false;\r\n @Input() required = false;\r\n @Input() label: string;\r\n @Input() placeholder: string;\r\n\r\n @Input() set minDate(date: string | Date | number) {\r\n if (!Date.isDate(date)) {\r\n this.pMinDate = null;\r\n } else {\r\n this.pMinDate = Date.toFormat(date, 'yyyy/MM/dd HH:mm');\r\n }\r\n this.setOption();\r\n }\r\n @Input() set maxDate(date: string | Date | number) {\r\n if (!Date.isDate(date)) {\r\n this.pMaxDate = null;\r\n } else {\r\n this.pMaxDate = Date.toFormat(date, 'yyyy/MM/dd HH:mm'); // this.datePipe.transform(date, 'yyyy/MM/dd HH:mm');\r\n }\r\n this.setOption();\r\n }\r\n @Input() validator: (value: any) => string | Promise<string>;\r\n @Output() sdChange = new EventEmitter();\r\n date: string;\r\n\r\n @Input() set model(val: any) {\r\n if (!Date.isDate(val)) {\r\n this.pDate = null;\r\n } else {\r\n if (this.type === 'datetime') {\r\n this.pDate = Date.toFormat(val, 'dd/MM/yyyy HH:mm');\r\n } else if (this.type === 'date') {\r\n this.pDate = Date.toFormat(val, 'dd/MM/yyyy');\r\n } else {\r\n this.pDate = Date.toFormat(val, 'HH:mm');\r\n }\r\n }\r\n if (this.initialized) {\r\n this.onChanges();\r\n }\r\n this.ref.detectChanges();\r\n }\r\n @Output() modelChange = new EventEmitter();\r\n\r\n @ViewChild('control') control: ElementRef;\r\n @ViewChild('formModel') formModel: NgModel;\r\n constructor(\r\n private ref: ChangeDetectorRef,\r\n deviceService: DeviceDetectorService) {\r\n this.isMobileOrTablet = !deviceService.isDesktop();\r\n }\r\n\r\n ngOnDestroy() {\r\n this.form?.removeControl(this.formModel);\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.form?.addControl(this.formModel);\r\n this.onChanges();\r\n this.initialized = true;\r\n this.setOption();\r\n this.ref.detectChanges();\r\n }\r\n\r\n onFocus = () => {\r\n if (this.isMobileOrTablet) {\r\n $(this.control.nativeElement).trigger('blur');\r\n }\r\n }\r\n\r\n private onChanges = () => {\r\n this.date = this.pDate;\r\n }\r\n\r\n private setOption() {\r\n if (this.initialized) {\r\n ($(this.control.nativeElement) as any).datetimepicker({\r\n datepicker: this.type === 'datetime' || this.type === 'date',\r\n timepicker: this.type === 'datetime' || this.type === 'time',\r\n format: this.type === 'datetime' ? 'd/m/Y H:i' : (this.type === 'date' ? 'd/m/Y' : 'H:i'),\r\n step: 15,\r\n minDate: this.pMinDate || undefined,\r\n maxDate: this.pMaxDate || undefined,\r\n scrollMonth: false,\r\n scrollTime: false,\r\n scrollInput: false,\r\n onChangeDateTime: (date: any) => {\r\n if (!date && !this.date) {\r\n return;\r\n }\r\n if (this.type === 'datetime') {\r\n date = Date.toFormat(date, 'dd/MM/yyyy HH:mm');\r\n } else if (this.type === 'time') {\r\n date = Date.toFormat(date, 'HH:mm');\r\n } else {\r\n date = Date.toFormat(date, 'dd/MM/yyyy');\r\n }\r\n if (!this.equal(date, this.date)) {\r\n this.model = this.parse(date);\r\n this.modelChange.emit(this.parse(date));\r\n this.sdChange.emit(this.parse(date));\r\n }\r\n this.ref.detectChanges();\r\n }\r\n });\r\n }\r\n }\r\n\r\n private parse(date: any) {\r\n if (this.type === 'date') {\r\n return Date.parseFrom(date, 'dd/MM/yyyy');\r\n } else if (this.type === 'time') {\r\n return Date.parseFrom(date, 'HH:mm');\r\n }\r\n return Date.parseFrom(date, 'dd/MM/yyyy HH:mm');\r\n }\r\n private equal(date1: any, date2: any) {\r\n return Date.equal(this.parse(date1), this.parse(date2));\r\n }\r\n}\r\n","import {\r\n Component,\r\n Input,\r\n ChangeDetectorRef,\r\n EventEmitter,\r\n Output,\r\n OnInit,\r\n} from '@angular/core';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\n\r\n@Component({\r\n selector: 'sd-ckeditor-control',\r\n templateUrl: './ckeditor-control.component.html',\r\n styleUrls: [\r\n './ckeditor-control.component.css',\r\n ],\r\n})\r\nexport class CkeditorControlComponent implements OnInit {\r\n @Input() label: string;\r\n @Input() disabled = false;\r\n @Input() required = false;\r\n @Input() set model(value: string) {\r\n this.cModel = value;\r\n this.ref.detectChanges();\r\n }\r\n @Input() set config(value: any) {\r\n this.cConfig = value;\r\n this.ref.detectChanges();\r\n }\r\n @Output() modelChange = new EventEmitter();\r\n // tslint:disable-next-line: no-output-native\r\n @Output() change = new EventEmitter();\r\n @Output() sdChange = new EventEmitter();\r\n cModel: string;\r\n cConfig: any;\r\n editorUrl = '../../assets/ckeditor/ckeditor.js';\r\n\r\n constructor(private ref: ChangeDetectorRef, private sanitizer: DomSanitizer) {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n onChange(value: any) {\r\n this.model = value;\r\n this.modelChange.emit(value);\r\n this.change.emit(value);\r\n this.sdChange.emit(value);\r\n }\r\n}\r\n","import { Directive, Input } from '@angular/core';\r\nimport { NG_VALIDATORS, Validator, ValidationErrors, AbstractControl } from '@angular/forms';\r\n\r\n@Directive({\r\n selector: '[sdMinDate]',\r\n providers: [{ provide: NG_VALIDATORS, useExisting: SdMinDateValidator, multi: true }]\r\n})\r\nexport class SdMinDateValidator implements Validator {\r\n @Input('sdMinDate') minDate: string | Date;\r\n validate(c: AbstractControl): ValidationErrors {\r\n const date = c.value || null;\r\n const minDate = this.minDate || null;\r\n if (!date) {\r\n return null;\r\n }\r\n if (!minDate) {\r\n return null;\r\n }\r\n if (new Date(Date.parseFrom(date, 'dd/MM/yyyy HH:mm')).getTime() < new Date(minDate).getTime()) {\r\n return {\r\n minDate: true\r\n };\r\n }\r\n return null;\r\n }\r\n}\r\n","import { Directive, Input } from '@angular/core';\r\nimport { NG_VALIDATORS, Validator, ValidationErrors, AbstractControl } from '@angular/forms';\r\n\r\n@Directive({\r\n selector: '[sdMaxDate]',\r\n providers: [{ provide: NG_VALIDATORS, useExisting: SdMaxDateValidator, multi: true }]\r\n})\r\nexport class SdMaxDateValidator implements Validator {\r\n @Input('sdMaxDate') maxDate: string | Date;\r\n validate(c: AbstractControl): ValidationErrors {\r\n const date = c.value || null;\r\n const maxDate = this.maxDate || null;\r\n if (!date) {\r\n return null;\r\n }\r\n if (!maxDate) {\r\n return null;\r\n }\r\n if (new Date(Date.parseFrom(date, 'dd/MM/yyyy HH:mm')).getTime() > new Date(maxDate).getTime()) {\r\n return {\r\n maxDate: true\r\n };\r\n }\r\n return null;\r\n }\r\n}\r\n","import { Directive, Input } from '@angular/core';\r\nimport { ValidationErrors, AbstractControl, AsyncValidator, NG_ASYNC_VALIDATORS } from '@angular/forms';\r\n\r\n@Directive({\r\n selector: '[sdCustomValidator]',\r\n providers: [{ provide: NG_ASYNC_VALIDATORS, useExisting: SdCustomValidator, multi: true }]\r\n})\r\nexport class SdCustomValidator implements AsyncValidator {\r\n @Input('sdCustomValidator') func: (value: any) => string | Promise<string>;\r\n async validate(c: AbstractControl): Promise<ValidationErrors> {\r\n const value = c.value || null;\r\n if (this.func && typeof (this.func) === 'function') {\r\n const result = this.func(value);\r\n if (result instanceof Promise) {\r\n const message = await result;\r\n if (message) {\r\n return {\r\n customValidator: message\r\n };\r\n }\r\n return null;\r\n }\r\n if (result) {\r\n return {\r\n customValidator: result\r\n };\r\n }\r\n return null;\r\n }\r\n return null;\r\n }\r\n}\r\n","import { Directive, Input } from '@angular/core';\r\nimport { ValidationErrors, AbstractControl, Validator, NG_VALIDATORS } from '@angular/forms';\r\n\r\n@Directive({\r\n selector: '[sdChipMinItem]',\r\n providers: [{ provide: NG_VALIDATORS, useExisting: SdChipMinItemValidator, multi: true }]\r\n})\r\nexport class SdChipMinItemValidator implements Validator {\r\n @Input('sdChipMinItem') func: () => string;\r\n validate(c: AbstractControl): ValidationErrors {\r\n if (this.func && typeof (this.func) === 'function') {\r\n const result = this.func();\r\n if (result) {\r\n return {\r\n minItem: result\r\n };\r\n }\r\n return null;\r\n }\r\n return null;\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule, DatePipe, DecimalPipe } from '@angular/common';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { CKEditorModule } from 'ckeditor4-angular';\r\nimport { MaterialModule } from './material.module';\r\nimport { DeviceDetectorModule } from 'ngx-device-detector';\r\n\r\nimport { SdDatePipe } from './pipes/sd-date.pipe';\r\nimport { SdServiceModule } from '@sd-angular/core/service';\r\nimport { SdChartModule } from '@sd-angular/core/chart';\r\nimport { SdGridMaterialModule } from '@sd-angular/core/grid-material';\r\nimport { SdEditorModule } from '@sd-angular/core/editor';\r\nimport { SdKonvaModule } from '@sd-angular/core/konva';\r\nimport { DatePickerControlComponent } from './controls/date-picker-control/date-picker-control.component';\r\nimport { CkeditorControlComponent } from './controls/ckeditor-control/ckeditor-control.component';\r\nimport { SdMinDateValidator } from './validators/min-date.validator';\r\nimport { SdMaxDateValidator } from './validators/max-date.validator';\r\nimport { SdCustomValidator } from './validators/custom.validator';\r\nimport { SdChipMinItemValidator } from './validators/chip-min-item.validator';\r\nimport { SdUploadExcelModule } from '@sd-angular/core/upload-excel';\r\nimport { SdGridModule } from '@sd-angular/core/grid';\r\nimport { SdFormModule } from '@sd-angular/core/form';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n HttpClientModule,\r\n MaterialModule,\r\n CKEditorModule,\r\n DeviceDetectorModule.forRoot(),\r\n SdChartModule,\r\n SdKonvaModule,\r\n SdGridMaterialModule,\r\n SdUploadExcelModule,\r\n SdGridModule,\r\n SdFormModule,\r\n SdServiceModule\r\n ],\r\n declarations: [\r\n DatePickerControlComponent,\r\n CkeditorControlComponent,\r\n // // Pipes\r\n SdDatePipe,\r\n // Validators\r\n SdMinDateValidator,\r\n SdMaxDateValidator,\r\n SdCustomValidator,\r\n SdChipMinItemValidator\r\n ],\r\n exports: [\r\n SdChartModule,\r\n SdKonvaModule,\r\n SdGridMaterialModule,\r\n SdEditorModule,\r\n SdUploadExcelModule,\r\n SdGridModule,\r\n SdFormModule,\r\n SdServiceModule,\r\n MaterialModule,\r\n // Controls\r\n DatePickerControlComponent,\r\n CkeditorControlComponent\r\n ],\r\n providers: [\r\n DatePipe,\r\n DecimalPipe\r\n ]\r\n})\r\nexport class SdCoreModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["uuid.v4"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkEa,cAAc;;;YA5C1B,QAAQ,SAAC;gBACR,OAAO,EAAE;oBACP,gBAAgB;oBAChB,kBAAkB;oBAClB,cAAc;oBACd,eAAe;oBACf,qBAAqB;oBACrB,iBAAiB;oBACjB,oBAAoB;oBACpB,cAAc;oBACd,aAAa;oBACb,aAAa;oBACb,cAAc;oBACd,eAAe;oBACf,eAAe;oBACf,oBAAoB;oBACpB,wBAAwB;oBACxB,cAAc;oBACd,kBAAkB;oBAClB,aAAa;oBACb,kBAAkB;iBACnB;gBACD,OAAO,EAAE;oBACP,gBAAgB;oBAChB,kBAAkB;oBAClB,cAAc;oBACd,eAAe;oBACf,qBAAqB;oBACrB,iBAAiB;oBACjB,oBAAoB;oBACpB,cAAc;oBACd,aAAa;oBACb,aAAa;oBACb,cAAc;oBACd,eAAe;oBACf,eAAe;oBACf,oBAAoB;oBACpB,wBAAwB;oBACxB,c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EAAE,MAAM;iBAChB,CAAC;aACH;YACD,OAAO,IAAI,CAAC;SACb;QACD,OAAO,IAAI,CAAC;KACb;;;YAjBF,SAAS,SAAC;gBACT,QAAQ,EAAE,iBAAiB;gBAC3B,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,sBAAsB,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;aAC1F;;;mBAEE,KAAK,SAAC,eAAe;;;MC+DX,YAAY;;;YA/CxB,QAAQ,SAAC;gBACR,OAAO,EAAE;oBACP,YAAY;oBACZ,WAAW;oBACX,mBAAmB;oBACnB,gBAAgB;oBAChB,cAAc;oBACd,cAAc;oBACd,oBAAoB,CAAC,OAAO,EAAE;oBAC9B,aAAa;oBACb,aAAa;oBACb,oBAAoB;oBACpB,mBAAmB;oBACnB,YAAY;oBACZ,YAAY;oBACZ,eAAe;iBAChB;gBACD,YAAY,EAAE;oBACZ,0BAA0B;oBAC1B,wBAAwB;;oBAExB,UAAU;;oBAEV,kBAAkB;oBAClB,kBAAkB;oBAClB,iBAAiB;oBACjB,sBAAsB;iBACvB;gBACD,OAAO,EAAE;oBACP,aAAa;oBACb,aAAa;oBACb,oBAAoB;oBACpB,cAAc;oBACd,mBAAmB;oBACnB,YAAY;oBACZ,YAAY;oBACZ,eAAe;oBACf,cAAc;;oBAEd,0BAA0B;oBAC1B,wBAAwB;iBACzB;gBACD,SAAS,EAAE;oBACT,QAAQ;oBACR,WAAW;iBACZ;aACF;;;ACtED;;;;;;"}
1
+ {"version":3,"file":"sd-angular-core.js","sources":["../../../../projects/sd-core/src/lib/material.module.ts","../../../../projects/sd-core/src/lib/core.module.ts","../../../../projects/sd-core/src/sd-angular-core.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\n\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatBottomSheetModule } from '@angular/material/bottom-sheet';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\n\r\n@NgModule({\r\n imports: [\r\n MatTooltipModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatSelectModule,\r\n MatAutocompleteModule,\r\n MatCheckboxModule,\r\n MatSlideToggleModule,\r\n MatRadioModule,\r\n MatIconModule,\r\n MatMenuModule,\r\n MatChipsModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n MatBottomSheetModule,\r\n MatProgressSpinnerModule,\r\n DragDropModule,\r\n MatExpansionModule,\r\n MatTabsModule,\r\n MatPaginatorModule\r\n ],\r\n exports: [\r\n MatTooltipModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatSelectModule,\r\n MatAutocompleteModule,\r\n MatCheckboxModule,\r\n MatSlideToggleModule,\r\n MatRadioModule,\r\n MatIconModule,\r\n MatMenuModule,\r\n MatChipsModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n MatBottomSheetModule,\r\n MatProgressSpinnerModule,\r\n DragDropModule,\r\n MatExpansionModule,\r\n MatTabsModule,\r\n MatPaginatorModule\r\n ]\r\n})\r\nexport class MaterialModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { MaterialModule } from './material.module';\r\n\r\nimport { SdServiceModule } from '@sd-angular/core/service';\r\nimport { SdChartModule } from '@sd-angular/core/chart';\r\nimport { SdGridMaterialModule } from '@sd-angular/core/grid-material';\r\nimport { SdEditorModule } from '@sd-angular/core/editor';\r\nimport { SdKonvaModule } from '@sd-angular/core/konva';\r\nimport { SdUploadExcelModule } from '@sd-angular/core/upload-excel';\r\nimport { SdGridModule } from '@sd-angular/core/grid';\r\nimport { SdFormModule } from '@sd-angular/core/form';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n MaterialModule,\r\n SdChartModule,\r\n SdKonvaModule,\r\n SdGridMaterialModule,\r\n SdUploadExcelModule,\r\n SdGridModule,\r\n SdFormModule,\r\n SdServiceModule\r\n ],\r\n declarations: [\r\n ],\r\n exports: [\r\n SdChartModule,\r\n SdKonvaModule,\r\n SdGridMaterialModule,\r\n SdEditorModule,\r\n SdUploadExcelModule,\r\n SdGridModule,\r\n SdFormModule,\r\n SdServiceModule,\r\n MaterialModule,\r\n ],\r\n providers: [\r\n ]\r\n})\r\nexport class SdCoreModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkEa,cAAc;;;YA5C1B,QAAQ,SAAC;gBACR,OAAO,EAAE;oBACP,gBAAgB;oBAChB,kBAAkB;oBAClB,cAAc;oBACd,eAAe;oBACf,qBAAqB;oBACrB,iBAAiB;oBACjB,oBAAoB;oBACpB,cAAc;oBACd,aAAa;oBACb,aAAa;oBACb,cAAc;oBACd,eAAe;oBACf,eAAe;oBACf,oBAAoB;oBACpB,wBAAwB;oBACxB,cAAc;oBACd,kBAAkB;oBAClB,aAAa;oBACb,kBAAkB;iBACnB;gBACD,OAAO,EAAE;oBACP,gBAAgB;oBAChB,kBAAkB;oBAClB,cAAc;oBACd,eAAe;oBACf,qBAAqB;oBACrB,iBAAiB;oBACjB,oBAAoB;oBACpB,cAAc;oBACd,aAAa;oBACb,aAAa;oBACb,cAAc;oBACd,eAAe;oBACf,eAAe;oBACf,oBAAoB;oBACpB,wBAAwB;oBACxB,cAAc;oBACd,kBAAkB;oBAClB,aAAa;oBACb,kBAAkB;iBACnB;aACF;;;MCxBY,YAAY;;;YA5BxB,QAAQ,SAAC;gBACR,OAAO,EAAE;oBACP,YAAY;oBACZ,cAAc;oBACd,aAAa;oBACb,aAAa;oBACb,oBAAoB;oBACpB,mBAAmB;oBACnB,YAAY;oBACZ,YAAY;oBACZ,eAAe;iBAChB;gBACD,YAAY,EAAE,EACb;gBACD,OAAO,EAAE;oBACP,aAAa;oBACb,aAAa;oBACb,oBAAoB;oBACpB,cAAc;oBACd,mBAAmB;oBACnB,YAAY;oBACZ,YAAY;oBACZ,eAAe;oBACf,cAAc;iBACf;gBACD,SAAS,EAAE,EACV;aACF;;;ACxCD;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sd-angular/core",
3
- "version": "0.0.1050",
3
+ "version": "1.0.2",
4
4
  "homepage": "https://www.facebook.com/DarkP3ter",
5
5
  "author": {
6
6
  "name": "darkpeter",
@@ -14,41 +14,36 @@
14
14
  "Core"
15
15
  ],
16
16
  "peerDependencies": {
17
- "@angular/common": "^10.2.0",
18
- "@angular/core": "^10.2.0"
17
+ "@angular/common": "^10.2.0 || ^11.2.0",
18
+ "@angular/core": "^10.2.0|| ^11.2.0"
19
19
  },
20
20
  "dependencies": {
21
- "@angular-material-components/datetime-picker": "^4.0.5",
22
- "@angular-material-components/moment-adapter": "^4.0.1",
23
- "@angular/animations": "^10.2.0",
24
- "@angular/cdk": "^10.2.5",
25
- "@angular/material": "^10.2.5",
26
- "@angular/material-moment-adapter": "^10.2.5",
21
+ "@angular-material-components/datetime-picker": "^4.0.7 || ^5.1.1",
22
+ "@angular-material-components/moment-adapter": "^4.0.1 || ^5.0.0",
23
+ "@angular/cdk": "^10.2.0 || ^11.2.0",
24
+ "@angular/material": "^10.2.0 || ^11.2.0",
25
+ "@angular/material-moment-adapter": "^10.2.0 || ^11.2.0",
27
26
  "angular-csv-ext": "^1.0.4",
28
- "bootstrap": "^4.4.1",
29
27
  "chart.js": "^2.9.3",
30
- "ckeditor4-angular": "^1.0.1",
31
- "daterangepicker": "^3.1.0",
32
28
  "font-awesome": "^4.7.0",
33
29
  "hammerjs": "^2.0.8",
34
30
  "jquery": "^3.5.1",
35
- "ngx-material-timepicker": "^5.5.3",
36
- "jquery-datetimepicker": "^2.5.21",
37
- "jqueryui": "^1.11.1",
38
31
  "konva": "^7.2.0",
39
32
  "material-icons": "^0.6.2",
40
33
  "md5": "^2.2.1",
41
34
  "ngx-currency": "^2.5.2",
42
35
  "ngx-device-detector": "1.4.6",
36
+ "ngx-material-timepicker": "^5.5.3",
43
37
  "ngx-print": "^1.2.0-beta.5",
44
- "ngx-quill": "^13.2.0",
45
38
  "ngx-toastr": "^12.1.0",
46
39
  "object-hash": "^2.0.3",
40
+ "ngx-quill": "^13.2.0",
47
41
  "quill": "^1.3.7",
42
+ "quill-mention": "^2.1.1",
43
+ "@types/quill": "1.3.10",
48
44
  "tslib": "^2.0.0",
49
- "uuid": "^7.0.1",
50
- "xlsx": "^0.16.3",
51
- "quill-mention": "^2.1.1"
45
+ "uuid": "^8.3.2",
46
+ "xlsx": "^0.16.3"
52
47
  },
53
48
  "main": "bundles/sd-angular-core.umd.js",
54
49
  "module": "fesm2015/sd-angular-core.js",
package/public-api.d.ts CHANGED
@@ -18,13 +18,6 @@ import '@sd-angular/core/modal-resizable';
18
18
  export { SdCoreModule } from './lib/core.module';
19
19
  export { MaterialModule } from './lib/material.module';
20
20
  export * from './lib/material.module';
21
- export * from './lib/controls/ckeditor-control/ckeditor-control.component';
22
- export * from './lib/controls/date-picker-control/date-picker-control.component';
23
- export * from './lib/pipes/sd-date.pipe';
24
- export * from './lib/validators/chip-min-item.validator';
25
- export * from './lib/validators/custom.validator';
26
- export * from './lib/validators/max-date.validator';
27
- export * from './lib/validators/min-date.validator';
28
21
  export { SdApiModule, SdApiService } from '@sd-angular/core/api';
29
22
  export * from '@sd-angular/core/loading';
30
23
  export * from '@sd-angular/core/notify';
Binary file